1/*! For license information please see 2.dd79a3a6.chunk.js.LICENSE.txt */ 2(this["webpackJsonpdemo-web"]=this["webpackJsonpdemo-web"]||[]).push([[2],[function(e,t,r){e.exports=r(226)()},function(e,t,r){"use strict";e.exports=r(202)},function(e,t,r){"use strict";r.d(t,"c",(function(){return i})),r.d(t,"a",(function(){return o})),r.d(t,"d",(function(){return a})),r.d(t,"b",(function(){return s})),r.d(t,"f",(function(){return u})),r.d(t,"e",(function(){return l}));var n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)};function i(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var o=function(){return(o=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function a(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]])}return r}function s(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{u(n.next(e))}catch(t){o(t)}}function s(e){try{u(n.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}u((n=n.apply(e,t||[])).next())}))}Object.create;function u(e){var t="function"===typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"===typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function c(e,t){var r="function"===typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(s){i={error:s}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a}function l(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(c(arguments[t]));return e}Object.create},function(e,t){"function"===typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}}},function(e,t,r){e.exports=r(207)},function(e,t,r){var n=r(10),i=n.Buffer;function o(e,t){for(var r in e)t[r]=e[r]}function a(e,t,r){return i(e,t,r)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=n:(o(n,t),t.Buffer=a),a.prototype=Object.create(i.prototype),o(i,a),a.from=function(e,t,r){if("number"===typeof e)throw new TypeError("Argument must not be a number");return i(e,t,r)},a.alloc=function(e,t,r){if("number"!==typeof e)throw new TypeError("Argument must be a number");var n=i(e);return void 0!==t?"string"===typeof r?n.fill(t,r):n.fill(t):n.fill(0),n},a.allocUnsafe=function(e){if("number"!==typeof e)throw new TypeError("Argument must be a number");return i(e)},a.allocUnsafeSlow=function(e){if("number"!==typeof e)throw new TypeError("Argument must be a number");return n.SlowBuffer(e)}},function(e,t,r){"use strict";(function(e){r.d(t,"d",(function(){return a})),r.d(t,"g",(function(){return s})),r.d(t,"b",(function(){return u})),r.d(t,"a",(function(){return c})),r.d(t,"h",(function(){return l})),r.d(t,"c",(function(){return h})),r.d(t,"i",(function(){return d})),r.d(t,"f",(function(){return p})),r.d(t,"e",(function(){return y}));var n=r(394),i=(r(21),r(7)),o=/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/i,a="undefined"!==typeof e&&!!e.version&&!!e.versions&&!!e.versions.node;function s(e){return o.test(e)}function u(){return Object(n.a)()}function c(e,t){return new Promise((function(r){return setTimeout((function(){return r(t)}),e)}))}function l(e,t,r,n){var o,a,s;if(Array.isArray(e)||(e=[e]),!r||!n)return(o={})[t]=e,o;var u=((a={})[t]=e,a);return u[i.a]=((s={})[r]=n,s),u}var f=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function h(e){return f.test(e)}function d(e,t,r){return e&&t?e.split(t).join(r||""):e}function p(e){return"object"!==typeof e&&"function"!==typeof e||null===e}function y(e){return"object"===typeof e&&null!==e&&!Array.isArray(e)&&!(e instanceof RegExp)&&!(e instanceof Date)}}).call(this,r(8))},function(e,t,r){"use strict";r.d(t,"a",(function(){return n})),r.d(t,"b",(function(){return i}));var n="$",i="_"},function(e,t){var r,n,i=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(e){if(r===setTimeout)return setTimeout(e,0);if((r===o||!r)&&setTimeout)return r=setTimeout,setTimeout(e,0);try{return r(e,0)}catch(t){try{return r.call(null,e,0)}catch(t){return r.call(this,e,0)}}}!function(){try{r="function"===typeof setTimeout?setTimeout:o}catch(e){r=o}try{n="function"===typeof clearTimeout?clearTimeout:a}catch(e){n=a}}();var u,c=[],l=!1,f=-1;function h(){l&&u&&(l=!1,u.length?c=u.concat(c):f=-1,c.length&&d())}function d(){if(!l){var e=s(h);l=!0;for(var t=c.length;t;){for(u=c,c=[];++f<t;)u&&u[f].run();f=-1,t=c.length}u=null,l=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===a||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function p(e,t){this.fun=e,this.array=t}function y(){}i.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];c.push(new p(e,t)),1!==c.length||l||s(d)},p.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=y,i.addListener=y,i.once=y,i.off=y,i.removeListener=y,i.removeAllListeners=y,i.emit=y,i.prependListener=y,i.prependOnceListener=y,i.listeners=function(e){return[]},i.binding=function(e){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},function(e,t,r){"use strict";e.exports=r(247)},function(e,t,r){"use strict";(function(e){var n=r(249),i=r(250),o=r(122);function a(){return u.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function s(e,t){if(a()<t)throw new RangeError("Invalid typed array length");return u.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=u.prototype:(null===e&&(e=new u(t)),e.length=t),e}function u(e,t,r){if(!u.TYPED_ARRAY_SUPPORT&&!(this instanceof u))return new u(e,t,r);if("number"===typeof e){if("string"===typeof t)throw new Error("If encoding is specified then the first argument must be a string");return f(this,e)}return c(this,e,t,r)}function c(e,t,r,n){if("number"===typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!==typeof ArrayBuffer&&t instanceof ArrayBuffer?function(e,t,r,n){if(t.byteLength,r<0||t.byteLength<r)throw new RangeError("'offset' is out of bounds");if(t.byteLength<r+(n||0))throw new RangeError("'length' is out of bounds");t=void 0===r&&void 0===n?new Uint8Array(t):void 0===n?new Uint8Array(t,r):new Uint8Array(t,r,n);u.TYPED_ARRAY_SUPPORT?(e=t).__proto__=u.prototype:e=h(e,t);return e}(e,t,r,n):"string"===typeof t?function(e,t,r){"string"===typeof r&&""!==r||(r="utf8");if(!u.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var n=0|p(t,r),i=(e=s(e,n)).write(t,r);i!==n&&(e=e.slice(0,i));return e}(e,t,r):function(e,t){if(u.isBuffer(t)){var r=0|d(t.length);return 0===(e=s(e,r)).length||t.copy(e,0,0,r),e}if(t){if("undefined"!==typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!==typeof t.length||(n=t.length)!==n?s(e,0):h(e,t);if("Buffer"===t.type&&o(t.data))return h(e,t.data)}var n;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function l(e){if("number"!==typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function f(e,t){if(l(t),e=s(e,t<0?0:0|d(t)),!u.TYPED_ARRAY_SUPPORT)for(var r=0;r<t;++r)e[r]=0;return e}function h(e,t){var r=t.length<0?0:0|d(t.length);e=s(e,r);for(var n=0;n<r;n+=1)e[n]=255&t[n];return e}function d(e){if(e>=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|e}function p(e,t){if(u.isBuffer(e))return e.length;if("undefined"!==typeof ArrayBuffer&&"function"===typeof ArrayBuffer.isView&&
vendor: 9,417 bytes, line 2
2(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!==typeof e&&(e=""+e);var r=e.length;if(0===r)return 0;for(var n=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return z(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return F(e).length;default:if(n)return z(e).length;t=(""+t).toLowerCase(),n=!0}}function y(e,t,r){var n=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return A(this,t,r);case"utf8":case"utf-8":return k(this,t,r);case"ascii":return T(this,t,r);case"latin1":case"binary":return P(this,t,r);case"base64":return E(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return R(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function m(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function b(e,t,r,n,i){if(0===e.length)return-1;if("string"===typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return-1;r=e.length-1}else if(r<0){if(!i)return-1;r=0}if("string"===typeof t&&(t=u.from(t,n)),u.isBuffer(t))return 0===t.length?-1:v(e,t,r,n,i);if("number"===typeof t)return t&=255,u.TYPED_ARRAY_SUPPORT&&"function"===typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):v(e,[t],r,n,i);throw new TypeError("val must be string, number or Buffer")}function v(e,t,r,n,i){var o,a=1,s=e.length,u=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return-1;a=2,s/=2,u/=2,r/=2}function c(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){var l=-1;for(o=r;o<s;o++)if(c(e,o)===c(t,-1===l?0:o-l)){if(-1===l&&(l=o),o-l+1===u)return l*a}else-1!==l&&(o-=o-l),l=-1}else for(r+u>s&&(r=s-u),o=r;o>=0;o--){for(var f=!0,h=0;h<u;h++)if(c(e,o+h)!==c(t,h)){f=!1;break}if(f)return o}return-1}function g(e,t,r,n){r=Number(r)||0;var i=e.length-r;n?(n=Number(n))>i&&(n=i):n=i;var o=t.length;if(o%2!==0)throw new TypeError("Invalid hex string");n>o/2&&(n=o/2);for(var a=0;a<n;++a){var s=parseInt(t.substr(2*a,2),16);if(isNaN(s))return a;e[r+a]=s}return a}function _(e,t,r,n){return H(z(t,e.length-r),e,r,n)}function w(e,t,r,n){return H(function(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}(t),e,r,n)}function S(e,t,r,n){return w(e,t,r,n)}function M(e,t,r,n){return H(F(t),e,r,n)}function x(e,t,r,n){return H(function(e,t){for(var r,n,i,o=[],a=0;a<e.length&&!((t-=2)<0);++a)n=(r=e.charCodeAt(a))>>8,i=r%256,o.push(i),o.push(n);return o}(t,e.length-r),e,r,n)}function E(e,t,r){return 0===t&&r===e.length?n.fromByteArray(e):n.fromByteArray(e.slice(t,r))}function k(e,t,r){r=Math.min(e.length,r);for(var n=[],i=t;i<r;){var o,a,s,u,c=e[i],l=null,f=c>239?4:c>223?3:c>191?2:1;if(i+f<=r)switch(f){case 1:c<128&&(l=c);break;case 2:128===(192&(o=e[i+1]))&&(u=(31&c)<<6|63&o)>127&&(l=u);break;case 3:o=e[i+1],a=e[i+2],128===(192&o)&&128===(192&a)&&(u=(15&c)<<12|(63&o)<<6|63&a)>2047&&(u<55296||u>57343)&&(l=u);break;case 4:o=e[i+1],a=e[i+2],s=e[i+3],128===(192&o)&&128===(192&a)&&128===(192&s)&&(u=(15&c)<<18|(63&o)<<12|(63&a)<<6|63&s)>65535&&u<1114112&&(l=u)}null===l?(l=65533,f=1):l>65535&&(l-=65536,n.push(l>>>10&1023|55296),l=56320|1023&l),n.push(l),i+=f}return function(e){var t=e.length;if(t<=O)return String.fromCharCode.apply(String,e);var r="",n=0;for(;n<t;)r+=String.fromCharCode.apply(String,e.slice(n,n+=O));return r}(n)}t.Buffer=u,t.SlowBuffer=function(e){+e!=e&&(e=0);return u.alloc(+e)},t.INSPECT_MAX_BYTES=50,u.TYPED_ARRAY_SUPPORT=void 0!==e.TYPED_ARRAY_SUPPORT?e.TYPED_ARRAY_SUPPORT:function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"===typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(t){return!1}}(),t.kMaxLength=a(),u.poolSize=8192,u._augment=function(e){return e.__proto__=u.prototype,e},u.from=function(e,t,r){return c(null,e,t,r)},u.TYPED_ARRAY_SUPPORT&&(u.prototype.__proto__=Uint8Array.prototype,u.__proto__=Uint8Array,"undefined"!==typeof Symbol&&Symbol.species&&u[Symbol.species]===u&&Object.defineProperty(u,Symbol.species,{value:null,configurable:!0})),u.alloc=function(e,t,r){return function(e,t,r,n){return l(t),t<=0?s(e,t):void 0!==r?"string"===typeof n?s(e,t).fill(r,n):s(e,t).fill(r):s(e,t)}(null,e,t,r)},u.allocUnsafe=function(e){return f(null,e)},u.allocUnsafeSlow=function(e){return f(null,e)},u.isBuffer=function(e){return!(null==e||!e._isBuffer)},u.compare=function(e,t){if(!u.isBuffer(e)||!u.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var r=e.length,n=t.length,i=0,o=Math.min(r,n);i<o;++i)if(e[i]!==t[i]){r=e[i],n=t[i];break}return r<n?-1:n<r?1:0},u.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},u.concat=function(e,t){if(!o(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return u.alloc(0);var r;if(void 0===t)for(t=0,r=0;r<e.length;++r)t+=e[r].length;var n=u.allocUnsafe(t),i=0;for(r=0;r<e.length;++r){var a=e[r];if(!u.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(n,i),i+=a.length}return n},u.byteLength=p,u.prototype._isBuffer=!0,u.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)m(this,t,t+1);return this},u.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)m(this,t,t+3),m(this,t+1,t+2);return this},u.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)m(this,t,t+7),m(this,t+1,t+6),m(this,t+2,t+5),m(this,t+3,t+4);return this},u.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?k(this,0,e):y.apply(this,arguments)},u.prototype.equals=function(e){if(!u.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===u.compare(this,e)},u.prototype.inspect=function(){var e="",r=t.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,r).match(/.{2}/g).join(" "),this.length>r&&(e+=" ... ")),"<Buffer "+e+">"},u.prototype.compare=function(e,t,r,n,i){if(!u.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),t<0||r>e.length||n<0||i>this.length)throw new RangeError("out of range index");if(n>=i&&t>=r)return 0;if(n>=i)return-1;if(t>=r)return 1;if(this===e)return 0;for(var o=(i>>>=0)-(n>>>=0),a=(r>>>=0)-(t>>>=0),s=Math.min(o,a),c=this.slice(n,i),l=e.slice(t,r),f=0;f<s;++f)if(c[f]!==l[f]){o=c[f],a=l[f];break}return o<a?-1:a<o?1:0},u.prototype.includes=function(e,t,r){return-1!==this.indexOf(e,t,r)},u.prototype.indexOf=function(e,t,r){return b(this,e,t,r,!0)},u.prototype.lastIndexOf=function(e,t,r){return b(this,e,t,r,!1)},u.prototype.write=function(e,t,r,n){if(void 0===t)n="utf8",r=this.length,t=0;else if(void 0===r&&"string"===typeof t)n=t,r=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(r)?(r|=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var i=this.length-t;if((void 0===r||r>i)&&(r=i),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var o=!1;;)switch(n){case"hex":return g(this,e,t,r);case"utf8":case"utf-8":return _(this,e,t,r);case"ascii":return w(this,e,t,r);case"latin1":case"binary":return S(this,e,t,r);case"base64":return M(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return x(this,e,t,r);default:if(o)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),o=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var O=4096;function T(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(127&e[i]);return n}function P(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(e[i]);return n}function A(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);for(var i="",o=t;o<r;++o)i+=U(e[o]);return i}function R(e,t,r){for(var n=e.slice(t,r),i="",o=0;o<n.length;o+=2)i+=String.fromCharCode(n[o]+256*n[o+1]);return i}function j(e,t,r){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}function C(e,t,r,n,i,o){if(!u.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<o)throw new RangeError('"value" argument is out of bounds');if(r+n>e.length)throw new RangeError("Index out of range")}function N(e,t,r,n){t<0&&(t=65535+t+1);for(var i=0,o=Math.min(e.length-r,2);i<o;++i)e[r+i]=(t&255<<8*(n?i:1-i))>>>8*(n?i:1-i)}function I(e,t,r,n){t<0&&(t=4294967295+t+1);for(var i=0,o=Math.min(e.length-r,4);i<o;++i)e[r+i]=t>>
vendor: 7,078 bytes, line 2
2>8*(n?i:3-i)&255}function L(e,t,r,n,i,o){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function D(e,t,r,n,o){return o||L(e,0,r,4),i.write(e,t,r,n,23,4),r+4}function B(e,t,r,n,o){return o||L(e,0,r,8),i.write(e,t,r,n,52,8),r+8}u.prototype.slice=function(e,t){var r,n=this.length;if((e=~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),t<e&&(t=e),u.TYPED_ARRAY_SUPPORT)(r=this.subarray(e,t)).__proto__=u.prototype;else{var i=t-e;r=new u(i,void 0);for(var o=0;o<i;++o)r[o]=this[o+e]}return r},u.prototype.readUIntLE=function(e,t,r){e|=0,t|=0,r||j(e,t,this.length);for(var n=this[e],i=1,o=0;++o<t&&(i*=256);)n+=this[e+o]*i;return n},u.prototype.readUIntBE=function(e,t,r){e|=0,t|=0,r||j(e,t,this.length);for(var n=this[e+--t],i=1;t>0&&(i*=256);)n+=this[e+--t]*i;return n},u.prototype.readUInt8=function(e,t){return t||j(e,1,this.length),this[e]},u.prototype.readUInt16LE=function(e,t){return t||j(e,2,this.length),this[e]|this[e+1]<<8},u.prototype.readUInt16BE=function(e,t){return t||j(e,2,this.length),this[e]<<8|this[e+1]},u.prototype.readUInt32LE=function(e,t){return t||j(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},u.prototype.readUInt32BE=function(e,t){return t||j(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},u.prototype.readIntLE=function(e,t,r){e|=0,t|=0,r||j(e,t,this.length);for(var n=this[e],i=1,o=0;++o<t&&(i*=256);)n+=this[e+o]*i;return n>=(i*=128)&&(n-=Math.pow(2,8*t)),n},u.prototype.readIntBE=function(e,t,r){e|=0,t|=0,r||j(e,t,this.length);for(var n=t,i=1,o=this[e+--n];n>0&&(i*=256);)o+=this[e+--n]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},u.prototype.readInt8=function(e,t){return t||j(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},u.prototype.readInt16LE=function(e,t){t||j(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},u.prototype.readInt16BE=function(e,t){t||j(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},u.prototype.readInt32LE=function(e,t){return t||j(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},u.prototype.readInt32BE=function(e,t){return t||j(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},u.prototype.readFloatLE=function(e,t){return t||j(e,4,this.length),i.read(this,e,!0,23,4)},u.prototype.readFloatBE=function(e,t){return t||j(e,4,this.length),i.read(this,e,!1,23,4)},u.prototype.readDoubleLE=function(e,t){return t||j(e,8,this.length),i.read(this,e,!0,52,8)},u.prototype.readDoubleBE=function(e,t){return t||j(e,8,this.length),i.read(this,e,!1,52,8)},u.prototype.writeUIntLE=function(e,t,r,n){(e=+e,t|=0,r|=0,n)||C(this,e,t,r,Math.pow(2,8*r)-1,0);var i=1,o=0;for(this[t]=255&e;++o<r&&(i*=256);)this[t+o]=e/i&255;return t+r},u.prototype.writeUIntBE=function(e,t,r,n){(e=+e,t|=0,r|=0,n)||C(this,e,t,r,Math.pow(2,8*r)-1,0);var i=r-1,o=1;for(this[t+i]=255&e;--i>=0&&(o*=256);)this[t+i]=e/o&255;return t+r},u.prototype.writeUInt8=function(e,t,r){return e=+e,t|=0,r||C(this,e,t,1,255,0),u.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},u.prototype.writeUInt16LE=function(e,t,r){return e=+e,t|=0,r||C(this,e,t,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):N(this,e,t,!0),t+2},u.prototype.writeUInt16BE=function(e,t,r){return e=+e,t|=0,r||C(this,e,t,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):N(this,e,t,!1),t+2},u.prototype.writeUInt32LE=function(e,t,r){return e=+e,t|=0,r||C(this,e,t,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):I(this,e,t,!0),t+4},u.prototype.writeUInt32BE=function(e,t,r){return e=+e,t|=0,r||C(this,e,t,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):I(this,e,t,!1),t+4},u.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t|=0,!n){var i=Math.pow(2,8*r-1);C(this,e,t,r,i-1,-i)}var o=0,a=1,s=0;for(this[t]=255&e;++o<r&&(a*=256);)e<0&&0===s&&0!==this[t+o-1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+r},u.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t|=0,!n){var i=Math.pow(2,8*r-1);C(this,e,t,r,i-1,-i)}var o=r-1,a=1,s=0;for(this[t+o]=255&e;--o>=0&&(a*=256);)e<0&&0===s&&0!==this[t+o+1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+r},u.prototype.writeInt8=function(e,t,r){return e=+e,t|=0,r||C(this,e,t,1,127,-128),u.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},u.prototype.writeInt16LE=function(e,t,r){return e=+e,t|=0,r||C(this,e,t,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):N(this,e,t,!0),t+2},u.prototype.writeInt16BE=function(e,t,r){return e=+e,t|=0,r||C(this,e,t,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):N(this,e,t,!1),t+2},u.prototype.writeInt32LE=function(e,t,r){return e=+e,t|=0,r||C(this,e,t,4,2147483647,-2147483648),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):I(this,e,t,!0),t+4},u.prototype.writeInt32BE=function(e,t,r){return e=+e,t|=0,r||C(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):I(this,e,t,!1),t+4},u.prototype.writeFloatLE=function(e,t,r){return D(this,e,t,!0,r)},u.prototype.writeFloatBE=function(e,t,r){return D(this,e,t,!1,r)},u.prototype.writeDoubleLE=function(e,t,r){return B(this,e,t,!0,r)},u.prototype.writeDoubleBE=function(e,t,r){return B(this,e,t,!1,r)},u.prototype.copy=function(e,t,r,n){if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);var i,o=n-r;if(this===e&&r<t&&t<n)for(i=o-1;i>=0;--i)e[i+t]=this[i+r];else if(o<1e3||!u.TYPED_ARRAY_SUPPORT)for(i=0;i<o;++i)e[i+t]=this[i+r];else Uint8Array.prototype.set.call(e,this.subarray(r,r+o),t);return o},u.prototype.fill=function(e,t,r,n){if("string"===typeof e){if("string"===typeof t?(n=t,t=0,r=this.length):"string"===typeof r&&(n=r,r=this.length),1===e.length){var i=e.charCodeAt(0);i<256&&(e=i)}if(void 0!==n&&"string"!==typeof n)throw new TypeError("encoding must be a string");if("string"===typeof n&&!u.isEncoding(n))throw new TypeError("Unknown encoding: "+n)}else"number"===typeof e&&(e&=255);if(t<0||this.length<t||this.length<r)throw new RangeError("Out of range index");if(r<=t)return this;var o;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"===typeof e)for(o=t;o<r;++o)this[o]=e;else{var a=u.isBuffer(e)?e:z(new u(e,n).toString()),s=a.length;for(o=0;o<r-t;++o)this[o+t]=a[o%s]}return this};var q=/[^+\/0-9A-Za-z-_]/g;function U(e){return e<16?"0"+e.toString(16):e.toString(16)}function z(e,t){var r;t=t||1/0;for(var n=e.length,i=null,o=[],a=0;a<n;++a){if((r=e.charCodeAt(a))>55295&&r<57344){if(!i){if(r>56319){(t-=3)>
vendor: 5,385 bytes, line 2
2-1&&o.push(239,191,189);continue}if(a+1===n){(t-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&o.push(239,191,189),i=r;continue}r=65536+(i-55296<<10|r-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;o.push(r)}else if(r<2048){if((t-=2)<0)break;o.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;o.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return o}function F(e){return n.toByteArray(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(q,"")).length<2)return"";for(;e.length%4!==0;)e+="=";return e}(e))}function H(e,t,r,n){for(var i=0;i<n&&!(i+r>=t.length||i>=e.length);++i)t[i+r]=e[i];return i}}).call(this,r(11))},function(e,t){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(n){"object"===typeof window&&(r=window)}e.exports=r},function(e,t,r){(function(e){!function(e,t){"use strict";function n(e,t){if(!e)throw new Error(t||"Assertion failed")}function i(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}function o(e,t,r){if(o.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,null!==e&&("le"!==t&&"be"!==t||(r=t,t=10),this._init(e||0,t||10,r||"be"))}var a;"object"===typeof e?e.exports=o:t.BN=o,o.BN=o,o.wordSize=26;try{a=r(296).Buffer}catch(x){}function s(e,t,r){for(var n=0,i=Math.min(e.length,r),o=t;o<i;o++){var a=e.charCodeAt(o)-48;n<<=4,n|=a>=49&&a<=54?a-49+10:a>=17&&a<=22?a-17+10:15&a}return n}function u(e,t,r,n){for(var i=0,o=Math.min(e.length,r),a=t;a<o;a++){var s=e.charCodeAt(a)-48;i*=n,i+=s>=49?s-49+10:s>=17?s-17+10:s}return i}o.isBN=function(e){return e instanceof o||null!==e&&"object"===typeof e&&e.constructor.wordSize===o.wordSize&&Array.isArray(e.words)},o.max=function(e,t){return e.cmp(t)>0?e:t},o.min=function(e,t){return e.cmp(t)<0?e:t},o.prototype._init=function(e,t,r){if("number"===typeof e)return this._initNumber(e,t,r);if("object"===typeof e)return this._initArray(e,t,r);"hex"===t&&(t=16),n(t===(0|t)&&t>=2&&t<=36);var i=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&i++,16===t?this._parseHex(e,i):this._parseBase(e,t,i),"-"===e[0]&&(this.negative=1),this.strip(),"le"===r&&this._initArray(this.toArray(),t,r)},o.prototype._initNumber=function(e,t,r){e<0&&(this.negative=1,e=-e),e<67108864?(this.words=[67108863&e],this.length=1):e<4503599627370496?(this.words=[67108863&e,e/67108864&67108863],this.length=2):(n(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),"le"===r&&this._initArray(this.toArray(),t,r)},o.prototype._initArray=function(e,t,r){if(n("number"===typeof e.length),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var o,a,s=0;if("be"===r)for(i=e.length-1,o=0;i>=0;i-=3)a=e[i]|e[i-1]<<8|e[i-2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);else if("le"===r)for(i=0,o=0;i<e.length;i+=3)a=e[i]|e[i+1]<<8|e[i+2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);return this.strip()},o.prototype._parseHex=function(e,t){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var r=0;r<this.length;r++)this.words[r]=0;var n,i,o=0;for(r=e.length-6,n=0;r>=t;r-=6)i=s(e,r,r+6),this.words[n]|=i<<o&67108863,this.words[n+1]|=i>>>26-o&4194303,(o+=24)>=26&&(o-=26,n++);r+6!==t&&(i=s(e,t,r+6),this.words[n]|=i<<o&67108863,this.words[n+1]|=i>>>26-o&4194303),this.strip()},o.prototype._parseBase=function(e,t,r){this.words=[0],this.length=1;for(var n=0,i=1;i<=67108863;i*=t)n++;n--,i=i/t|0;for(var o=e.length-r,a=o%n,s=Math.min(o,o-a)+r,c=0,l=r;l<s;l+=n)c=u(e,l,l+n,t),this.imuln(i),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c);if(0!==a){var f=1;for(c=u(e,l,e.length,t),l=0;l<a;l++)f*=t;this.imuln(f),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c)}},o.prototype.copy=function(e){e.words=new Array(this.length);for(var t=0;t<this.length;t++)e.words[t]=this.words[t];e.length=this.length,e.negative=this.negative,e.red=this.red},o.prototype.clone=function(){var e=new o(null);return this.copy(e),e},o.prototype._expand=function(e){for(;this.length<e;)this.words[this.length++]=0;return this},o.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},o.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var c=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],l=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],f=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16
vendor: 4,350 bytes, line 2
2777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function h(e,t,r){r.negative=t.negative^e.negative;var n=e.length+t.length|0;r.length=n,n=n-1|0;var i=0|e.words[0],o=0|t.words[0],a=i*o,s=67108863&a,u=a/67108864|0;r.words[0]=s;for(var c=1;c<n;c++){for(var l=u>>>26,f=67108863&u,h=Math.min(c,t.length-1),d=Math.max(0,c-e.length+1);d<=h;d++){var p=c-d|0;l+=(a=(i=0|e.words[p])*(o=0|t.words[d])+f)/67108864|0,f=67108863&a}r.words[c]=0|f,u=0|l}return 0!==u?r.words[c]=0|u:r.length--,r.strip()}o.prototype.toString=function(e,t){var r;if(t=0|t||1,16===(e=e||10)||"hex"===e){r="";for(var i=0,o=0,a=0;a<this.length;a++){var s=this.words[a],u=(16777215&(s<<i|o)).toString(16);r=0!==(o=s>>>24-i&16777215)||a!==this.length-1?c[6-u.length]+u+r:u+r,(i+=2)>=26&&(i-=26,a--)}for(0!==o&&(r=o.toString(16)+r);r.length%t!==0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}if(e===(0|e)&&e>=2&&e<=36){var h=l[e],d=f[e];r="";var p=this.clone();for(p.negative=0;!p.isZero();){var y=p.modn(d).toString(e);r=(p=p.idivn(d)).isZero()?y+r:c[h-y.length]+y+r}for(this.isZero()&&(r="0"+r);r.length%t!==0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}n(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},o.prototype.toJSON=function(){return this.toString(16)},o.prototype.toBuffer=function(e,t){return n("undefined"!==typeof a),this.toArrayLike(a,e,t)},o.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)},o.prototype.toArrayLike=function(e,t,r){var i=this.byteLength(),o=r||Math.max(1,i);n(i<=o,"byte array longer than desired length"),n(o>0,"Requested array length <= 0"),this.strip();var a,s,u="le"===t,c=new e(o),l=this.clone();if(u){for(s=0;!l.isZero();s++)a=l.andln(255),l.iushrn(8),c[s]=a;for(;s<o;s++)c[s]=0}else{for(s=0;s<o-i;s++)c[s]=0;for(s=0;!l.isZero();s++)a=l.andln(255),l.iushrn(8),c[o-s-1]=a}return c},Math.clz32?o.prototype._countBits=function(e){return 32-Math.clz32(e)}:o.prototype._countBits=function(e){var t=e,r=0;return t>=4096&&(r+=13,t>>>=13),t>=64&&(r+=7,t>>>=7),t>=8&&(r+=4,t>>>=4),t>=2&&(r+=2,t>>>=2),r+t},o.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,r=0;return 0===(8191&t)&&(r+=13,t>>>=13),0===(127&t)&&(r+=7,t>>>=7),0===(15&t)&&(r+=4,t>>>=4),0===(3&t)&&(r+=2,t>>>=2),0===(1&t)&&r++,r},o.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;t<this.length;t++){var r=this._zeroBits(this.words[t]);if(e+=r,26!==r)break}return e},o.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},o.prototype.toTwos=function(e){return 0!==this.negative?this.abs().inotn(e).iaddn(1):this.clone()},o.prototype.fromTwos=function(e){return this.testn(e-1)?this.notn(e).iaddn(1).ineg():this.clone()},o.prototype.isNeg=function(){return 0!==this.negative},o.prototype.neg=function(){return this.clone().ineg()},o.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},o.prototype.iuor=function(e){for(;this.length<e.length;)this.words[this.length++]=0;for(var t=0;t<e.length;t++)this.words[t]=this.words[t]|e.words[t];return this.strip()},o.prototype.ior=function(e){return n(0===(this.negative|e.negative)),this.iuor(e)},o.prototype.or=function(e){return this.length>e.length?this.clone().ior(e):e.clone().ior(this)},o.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},o.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var r=0;r<t.length;r++)this.words[r]=this.words[r]&e.words[r];return this.length=t.length,this.strip()},o.prototype.iand=function(e){return n(0===(this.negative|e.negative)),this.iuand(e)},o.prototype.and=function(e){return this.length>e.length?this.clone().iand(e):e.clone().iand(this)},o.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},o.prototype.iuxor=function(e){var t,r;this.length>e.length?(t=this,r=e):(t=e,r=this);for(var n=0;n<r.length;
vendor: 7,406 bytes, line 2
2n++)this.words[n]=t.words[n]^r.words[n];if(this!==t)for(;n<t.length;n++)this.words[n]=t.words[n];return this.length=t.length,this.strip()},o.prototype.ixor=function(e){return n(0===(this.negative|e.negative)),this.iuxor(e)},o.prototype.xor=function(e){return this.length>e.length?this.clone().ixor(e):e.clone().ixor(this)},o.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},o.prototype.inotn=function(e){n("number"===typeof e&&e>=0);var t=0|Math.ceil(e/26),r=e%26;this._expand(t),r>0&&t--;for(var i=0;i<t;i++)this.words[i]=67108863&~this.words[i];return r>0&&(this.words[i]=~this.words[i]&67108863>>26-r),this.strip()},o.prototype.notn=function(e){return this.clone().inotn(e)},o.prototype.setn=function(e,t){n("number"===typeof e&&e>=0);var r=e/26|0,i=e%26;return this._expand(r+1),this.words[r]=t?this.words[r]|1<<i:this.words[r]&~(1<<i),this.strip()},o.prototype.iadd=function(e){var t,r,n;if(0!==this.negative&&0===e.negative)return this.negative=0,t=this.isub(e),this.negative^=1,this._normSign();if(0===this.negative&&0!==e.negative)return e.negative=0,t=this.isub(e),e.negative=1,t._normSign();this.length>e.length?(r=this,n=e):(r=e,n=this);for(var i=0,o=0;o<n.length;o++)t=(0|r.words[o])+(0|n.words[o])+i,this.words[o]=67108863&t,i=t>>>26;for(;0!==i&&o<r.length;o++)t=(0|r.words[o])+i,this.words[o]=67108863&t,i=t>>>26;if(this.length=r.length,0!==i)this.words[this.length]=i,this.length++;else if(r!==this)for(;o<r.length;o++)this.words[o]=r.words[o];return this},o.prototype.add=function(e){var t;return 0!==e.negative&&0===this.negative?(e.negative=0,t=this.sub(e),e.negative^=1,t):0===e.negative&&0!==this.negative?(this.negative=0,t=e.sub(this),this.negative=1,t):this.length>e.length?this.clone().iadd(e):e.clone().iadd(this)},o.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t=this.iadd(e);return e.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var r,n,i=this.cmp(e);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(r=this,n=e):(r=e,n=this);for(var o=0,a=0;a<n.length;a++)o=(t=(0|r.words[a])-(0|n.words[a])+o)>>26,this.words[a]=67108863&t;for(;0!==o&&a<r.length;a++)o=(t=(0|r.words[a])+o)>>26,this.words[a]=67108863&t;if(0===o&&a<r.length&&r!==this)for(;a<r.length;a++)this.words[a]=r.words[a];return this.length=Math.max(this.length,a),r!==this&&(this.negative=1),this.strip()},o.prototype.sub=function(e){return this.clone().isub(e)};var d=function(e,t,r){var n,i,o,a=e.words,s=t.words,u=r.words,c=0,l=0|a[0],f=8191&l,h=l>>>13,d=0|a[1],p=8191&d,y=d>>>13,m=0|a[2],b=8191&m,v=m>>>13,g=0|a[3],_=8191&g,w=g>>>13,S=0|a[4],M=8191&S,x=S>>>13,E=0|a[5],k=8191&E,O=E>>>13,T=0|a[6],P=8191&T,A=T>>>13,R=0|a[7],j=8191&R,C=R>>>13,N=0|a[8],I=8191&N,L=N>>>13,D=0|a[9],B=8191&D,q=D>>>13,U=0|s[0],z=8191&U,F=U>>>13,H=0|s[1],V=8191&H,W=H>>>13,G=0|s[2],K=8191&G,Y=G>>>13,X=0|s[3],$=8191&X,Z=X>>>13,J=0|s[4],Q=8191&J,ee=J>>>13,te=0|s[5],re=8191&te,ne=te>>>13,ie=0|s[6],oe=8191&ie,ae=ie>>>13,se=0|s[7],ue=8191&se,ce=se>>>13,le=0|s[8],fe=8191&le,he=le>>>13,de=0|s[9],pe=8191&de,ye=de>>>13;r.negative=e.negative^t.negative,r.length=19;var me=(c+(n=Math.imul(f,z))|0)+((8191&(i=(i=Math.imul(f,F))+Math.imul(h,z)|0))<<13)|0;c=((o=Math.imul(h,F))+(i>>>13)|0)+(me>>>26)|0,me&=67108863,n=Math.imul(p,z),i=(i=Math.imul(p,F))+Math.imul(y,z)|0,o=Math.imul(y,F);var be=(c+(n=n+Math.imul(f,V)|0)|0)+((8191&(i=(i=i+Math.imul(f,W)|0)+Math.imul(h,V)|0))<<13)|0;c=((o=o+Math.imul(h,W)|0)+(i>>>13)|0)+(be>>>26)|0,be&=67108863,n=Math.imul(b,z),i=(i=Math.imul(b,F))+Math.imul(v,z)|0,o=Math.imul(v,F),n=n+Math.imul(p,V)|0,i=(i=i+Math.imul(p,W)|0)+Math.imul(y,V)|0,o=o+Math.imul(y,W)|0;var ve=(c+(n=n+Math.imul(f,K)|0)|0)+((8191&(i=(i=i+Math.imul(f,Y)|0)+Math.imul(h,K)|0))<<13)|0;c=((o=o+Math.imul(h,Y)|0)+(i>>>13)|0)+(ve>>>26)|0,ve&=67108863,n=Math.imul(_,z),i=(i=Math.imul(_,F))+Math.imul(w,z)|0,o=Math.imul(w,F),n=n+Math.imul(b,V)|0,i=(i=i+Math.imul(b,W)|0)+Math.imul(v,V)|0,o=o+Math.imul(v,W)|0,n=n+Math.imul(p,K)|0,i=(i=i+Math.imul(p,Y)|0)+Math.imul(y,K)|0,o=o+Math.imul(y,Y)|0;var ge=(c+(n=n+Math.imul(f,$)|0)|0)+((8191&(i=(i=i+Math.imul(f,Z)|0)+Math.imul(h,$)|0))<<13)|0;c=((o=o+Math.imul(h,Z)|0)+(i>>>13)|0)+(ge>>>26)|0,ge&=67108863,n=Math.imul(M,z),i=(i=Math.imul(M,F))+Math.imul(x,z)|0,o=Math.imul(x,F),n=n+Math.imul(_,V)|0,i=(i=i+Math.imul(_,W)|0)+Math.imul(w,V)|0,o=o+Math.imul(w,W)|0,n=n+Math.imul(b,K)|0,i=(i=i+Math.imul(b,Y)|0)+Math.imul(v,K)|0,o=o+Math.imul(v,Y)|0,n=n+Math.imul(p,$)|0,i=(i=i+Math.imul(p,Z)|0)+Math.imul(y,$)|0,o=o+Math.imul(y,Z)|0;var _e=(c+(n=n+Math.imul(f,Q)|0)|0)+((8191&(i=(i=i+Math.imul(f,ee)|0)+Math.imul(h,Q)|0))<<13)|0;c=((o=o+Math.imul(h,ee)|0)+(i>>>13)|0)+(_e>>>26)|0,_e&=67108863,n=Math.imul(k,z),i=(i=Math.imul(k,F))+Math.imul(O,z)|0,o=Math.imul(O,F),n=n+Math.imul(M,V)|0,i=(i=i+Math.imul(M,W)|0)+Math.imul(x,V)|0,o=o+Math.imul(x,W)|0,n=n+Math.imul(_,K)|0,i=(i=i+Math.imul(_,Y)|0)+Math.imul(w,K)|0,o=o+Math.imul(w,Y)|0,n=n+Math.imul(b,$)|0,i=(i=i+Math.imul(b,Z)|0)+Math.imul(v,$)|0,o=o+Math.imul(v,Z)|0,n=n+Math.imul(p,Q)|0,i=(i=i+Math.imul(p,ee)|0)+Math.imul(y,Q)|0,o=o+Math.imul(y,ee)|0;var we=(c+(n=n+Math.imul(f,re)|0)|0)+((8191&(i=(i=i+Math.imul(f,ne)|0)+Math.imul(h,re)|0))<<13)|0;c=((o=o+Math.imul(h,ne)|0)+(i>>>13)|0)+(we>>>26)|0,we&=67108863,n=Math.imul(P,z),i=(i=Math.imul(P,F))+Math.imul(A,z)|0,o=Math.imul(A,F),n=n+Math.imul(k,V)|0,i=(i=i+Math.imul(k,W)|0)+Math.imul(O,V)|0,o=o+Math.imul(O,W)|0,n=n+Math.imul(M,K)|0,i=(i=i+Math.imul(M,Y)|0)+Math.imul(x,K)|0,o=o+Math.imul(x,Y)|0,n=n+Math.imul(_,$)|0,i=(i=i+Math.imul(_,Z)|0)+Math.imul(w,$)|0,o=o+Math.imul(w,Z)|0,n=n+Math.imul(b,Q)|0,i=(i=i+Math.imul(b,ee)|0)+Math.imul(v,Q)|0,o=o+Math.imul(v,ee)|0,n=n+Math.imul(p,re)|0,i=(i=i+Math.imul(p,ne)|0)+Math.imul(y,re)|0,o=o+Math.imul(y,ne)|0;var Se=(c+(n=n+Math.imul(f,oe)|0)|0)+((8191&(i=(i=i+Math.imul(f,ae)|0)+Math.imul(h,oe)|0))<<13)|0;c=((o=o+Math.imul(h,ae)|0)+(i>>>13)|0)+(Se>>>26)|0,Se&=67108863,n=Math.imul(j,z),i=(i=Math.imul(j,F))+Math.imul(C,z)|0,o=Math.imul(C,F),n=n+Math.imul(P,V)|0,i=(i=i+Math.imul(P,W)|0)+Math.imul(A,V)|0,o=o+Math.imul(A,W)|0,n=n+Math.imul(k,K)|0,i=(i=i+Math.imul(k,Y)|0)+Math.imul(O,K)|0,o=o+Math.imul(O,Y)|0,n=n+Math.imul(M,$)|0,i=(i=i+Math.imul(M,Z)|0)+Math.imul(x,$)|0,o=o+Math.imul(x,Z)|0,n=n+Math.imul(_,Q)|0,i=(i=i+Math.imul(_,ee)|0)+Math.imul(w,Q)|0,o=o+Math.imul(w,ee)|0,n=n+Math.imul(b,re)|0,i=(i=i+Math.imul(b,ne)|0)+Math.imul(v,re)|0,o=o+Math.imul(v,ne)|0,n=n+Math.imul(p,oe)|0,i=(i=i+Math.imul(p,ae)|0)+Math.imul(y,oe)|0,o=o+Math.imul(y,ae)|0;var Me=(c+(n=n+Math.imul(f,ue)|0)|0)+((8191&(i=(i=i+Math.imul(f,ce)|0)+Math.imul(h,ue)|0))<<13)|0;c=((o=o+Math.imul(h,ce)|0)+(i>>>13)|0)+(Me>>>26)|0,Me&=67108863,n=Math.imul(I,z),i=(i=Math.imul(I,F))+Math.imul(L,z)|0,o=Math.imul(L,F),n=n+Math.imul(j,V)|0,i=(i=i+Math.imul(j,W)|0)+Math.imul(C,V)|0,o=o+Math.imul(C,W)|0,n=n+Math.imul(P,K)|0,i=(i=i+Math.imul(P,Y)|0)+Math.imul(A,K)|0,o=o+Math.imul(A,Y)|0,n=n+Math.imul(k,$)|0,i=(i=i+Math.imul(k,Z)|0)+Math.imul(O,$)|0,o=o+Math.imul(O,Z)|0,n=n+Math.imul(M,Q)|0,i=(i=i+Math.imul(M,ee)|0)+Math.imul(x,Q)|0,o=o+Math.imul(x,ee)|0,n=n+Math.imul(_,re)|0,i=(i=i+Math.imul(_,ne)|0)+Math.imul(w,re)|0,o=o+Math.imul(w,ne)|0,n=n+Math.imul(b,oe)|0,i=(i=i+Math.imul(b,ae)|0)+Math.imul(v,oe)|0,o=o+Math.imul(v,ae)|0,n=n+Math.imul(p,ue)|0,i=(i=i+Math.imul(p,ce)|0)+Math.imul(y,ue)|0,o=o+Math.imul(y,
vendor: 4,377 bytes, line 2
2ce)|0;var xe=(c+(n=n+Math.imul(f,fe)|0)|0)+((8191&(i=(i=i+Math.imul(f,he)|0)+Math.imul(h,fe)|0))<<13)|0;c=((o=o+Math.imul(h,he)|0)+(i>>>13)|0)+(xe>>>26)|0,xe&=67108863,n=Math.imul(B,z),i=(i=Math.imul(B,F))+Math.imul(q,z)|0,o=Math.imul(q,F),n=n+Math.imul(I,V)|0,i=(i=i+Math.imul(I,W)|0)+Math.imul(L,V)|0,o=o+Math.imul(L,W)|0,n=n+Math.imul(j,K)|0,i=(i=i+Math.imul(j,Y)|0)+Math.imul(C,K)|0,o=o+Math.imul(C,Y)|0,n=n+Math.imul(P,$)|0,i=(i=i+Math.imul(P,Z)|0)+Math.imul(A,$)|0,o=o+Math.imul(A,Z)|0,n=n+Math.imul(k,Q)|0,i=(i=i+Math.imul(k,ee)|0)+Math.imul(O,Q)|0,o=o+Math.imul(O,ee)|0,n=n+Math.imul(M,re)|0,i=(i=i+Math.imul(M,ne)|0)+Math.imul(x,re)|0,o=o+Math.imul(x,ne)|0,n=n+Math.imul(_,oe)|0,i=(i=i+Math.imul(_,ae)|0)+Math.imul(w,oe)|0,o=o+Math.imul(w,ae)|0,n=n+Math.imul(b,ue)|0,i=(i=i+Math.imul(b,ce)|0)+Math.imul(v,ue)|0,o=o+Math.imul(v,ce)|0,n=n+Math.imul(p,fe)|0,i=(i=i+Math.imul(p,he)|0)+Math.imul(y,fe)|0,o=o+Math.imul(y,he)|0;var Ee=(c+(n=n+Math.imul(f,pe)|0)|0)+((8191&(i=(i=i+Math.imul(f,ye)|0)+Math.imul(h,pe)|0))<<13)|0;c=((o=o+Math.imul(h,ye)|0)+(i>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,n=Math.imul(B,V),i=(i=Math.imul(B,W))+Math.imul(q,V)|0,o=Math.imul(q,W),n=n+Math.imul(I,K)|0,i=(i=i+Math.imul(I,Y)|0)+Math.imul(L,K)|0,o=o+Math.imul(L,Y)|0,n=n+Math.imul(j,$)|0,i=(i=i+Math.imul(j,Z)|0)+Math.imul(C,$)|0,o=o+Math.imul(C,Z)|0,n=n+Math.imul(P,Q)|0,i=(i=i+Math.imul(P,ee)|0)+Math.imul(A,Q)|0,o=o+Math.imul(A,ee)|0,n=n+Math.imul(k,re)|0,i=(i=i+Math.imul(k,ne)|0)+Math.imul(O,re)|0,o=o+Math.imul(O,ne)|0,n=n+Math.imul(M,oe)|0,i=(i=i+Math.imul(M,ae)|0)+Math.imul(x,oe)|0,o=o+Math.imul(x,ae)|0,n=n+Math.imul(_,ue)|0,i=(i=i+Math.imul(_,ce)|0)+Math.imul(w,ue)|0,o=o+Math.imul(w,ce)|0,n=n+Math.imul(b,fe)|0,i=(i=i+Math.imul(b,he)|0)+Math.imul(v,fe)|0,o=o+Math.imul(v,he)|0;var ke=(c+(n=n+Math.imul(p,pe)|0)|0)+((8191&(i=(i=i+Math.imul(p,ye)|0)+Math.imul(y,pe)|0))<<13)|0;c=((o=o+Math.imul(y,ye)|0)+(i>>>13)|0)+(ke>>>26)|0,ke&=67108863,n=Math.imul(B,K),i=(i=Math.imul(B,Y))+Math.imul(q,K)|0,o=Math.imul(q,Y),n=n+Math.imul(I,$)|0,i=(i=i+Math.imul(I,Z)|0)+Math.imul(L,$)|0,o=o+Math.imul(L,Z)|0,n=n+Math.imul(j,Q)|0,i=(i=i+Math.imul(j,ee)|0)+Math.imul(C,Q)|0,o=o+Math.imul(C,ee)|0,n=n+Math.imul(P,re)|0,i=(i=i+Math.imul(P,ne)|0)+Math.imul(A,re)|0,o=o+Math.imul(A,ne)|0,n=n+Math.imul(k,oe)|0,i=(i=i+Math.imul(k,ae)|0)+Math.imul(O,oe)|0,o=o+Math.imul(O,ae)|0,n=n+Math.imul(M,ue)|0,i=(i=i+Math.imul(M,ce)|0)+Math.imul(x,ue)|0,o=o+Math.imul(x,ce)|0,n=n+Math.imul(_,fe)|0,i=(i=i+Math.imul(_,he)|0)+Math.imul(w,fe)|0,o=o+Math.imul(w,he)|0;var Oe=(c+(n=n+Math.imul(b,pe)|0)|0)+((8191&(i=(i=i+Math.imul(b,ye)|0)+Math.imul(v,pe)|0))<<13)|0;c=((o=o+Math.imul(v,ye)|0)+(i>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,n=Math.imul(B,$),i=(i=Math.imul(B,Z))+Math.imul(q,$)|0,o=Math.imul(q,Z),n=n+Math.imul(I,Q)|0,i=(i=i+Math.imul(I,ee)|0)+Math.imul(L,Q)|0,o=o+Math.imul(L,ee)|0,n=n+Math.imul(j,re)|0,i=(i=i+Math.imul(j,ne)|0)+Math.imul(C,re)|0,o=o+Math.imul(C,ne)|0,n=n+Math.imul(P,oe)|0,i=(i=i+Math.imul(P,ae)|0)+Math.imul(A,oe)|0,o=o+Math.imul(A,ae)|0,n=n+Math.imul(k,ue)|0,i=(i=i+Math.imul(k,ce)|0)+Math.imul(O,ue)|0,o=o+Math.imul(O,ce)|0,n=n+Math.imul(M,fe)|0,i=(i=i+Math.imul(M,he)|0)+Math.imul(x,fe)|0,o=o+Math.imul(x,he)|0;var Te=(c+(n=n+Math.imul(_,pe)|0)|0)+((8191&(i=(i=i+Math.imul(_,ye)|0)+Math.imul(w,pe)|0))<<13)|0;c=((o=o+Math.imul(w,ye)|0)+(i>>>13)|0)+(Te>>>26)|0,Te&=67108863,n=Math.imul(B,Q),i=(i=Math.imul(B,ee))+Math.imul(q,Q)|0,o=Math.imul(q,ee),n=n+Math.imul(I,re)|0,i=(i=i+Math.imul(I,ne)|0)+Math.imul(L,re)|0,o=o+Math.imul(L,ne)|0,n=n+Math.imul(j,oe)|0,i=(i=i+Math.imul(j,ae)|0)+Math.imul(C,oe)|0,o=o+Math.imul(C,ae)|0,n=n+Math.imul(P,ue)|0,i=(i=i+Math.imul(P,ce)|0)+Math.imul(A,ue)|0,o=o+Math.imul(A,ce)|0,n=n+Math.imul(k,fe)|0,i=(i=i+Math.imul(k,he)|0)+Math.imul(O,fe)|0,o=o+Math.imul(O,he)|0;var Pe=(c+(n=n+Math.imul(M,pe)|0)|0)+((8191&(i=(i=i+Math.imul(M,ye)|0)+Math.imul(x,pe)|0))<<13)|0;c=((o=o+Math.imul(x,ye)|0)+(i>>>13)|0)+(Pe>>>26)|0,Pe&=67108863,n=Math.imul(B,re),i=(i=Math.imul(B,ne))+Math.imul(q,re)|0,o=Math.imul(q,ne),n=n+Math.imul(I,oe)|0,i=(i=i+Math.imul(I,ae)|0)+Math.imul(L,oe)|0,o=o+Math.imul(L,ae)|0,n=n+Math.imul(j,ue)|0,i=(i=i+Math.imul(j,ce)|0)+Math.imul(C,ue)|0,o=o+Math.imul(C,ce)|0,n=n+Math.imul(P,fe)|0,i=(i=i+Math.imul(P,he)|0)+Math.imul(A,fe)|0,o=o+Math.imul(A,he)|0;var Ae=(c+(n=n+Math.imul(k,pe)|0)|0)+((8191&(i=(i=i+Math.imul(k,ye)|0)+Math.imul(O,pe)|0)
vendor: 9,516 bytes, line 2
2)<<13)|0;c=((o=o+Math.imul(O,ye)|0)+(i>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,n=Math.imul(B,oe),i=(i=Math.imul(B,ae))+Math.imul(q,oe)|0,o=Math.imul(q,ae),n=n+Math.imul(I,ue)|0,i=(i=i+Math.imul(I,ce)|0)+Math.imul(L,ue)|0,o=o+Math.imul(L,ce)|0,n=n+Math.imul(j,fe)|0,i=(i=i+Math.imul(j,he)|0)+Math.imul(C,fe)|0,o=o+Math.imul(C,he)|0;var Re=(c+(n=n+Math.imul(P,pe)|0)|0)+((8191&(i=(i=i+Math.imul(P,ye)|0)+Math.imul(A,pe)|0))<<13)|0;c=((o=o+Math.imul(A,ye)|0)+(i>>>13)|0)+(Re>>>26)|0,Re&=67108863,n=Math.imul(B,ue),i=(i=Math.imul(B,ce))+Math.imul(q,ue)|0,o=Math.imul(q,ce),n=n+Math.imul(I,fe)|0,i=(i=i+Math.imul(I,he)|0)+Math.imul(L,fe)|0,o=o+Math.imul(L,he)|0;var je=(c+(n=n+Math.imul(j,pe)|0)|0)+((8191&(i=(i=i+Math.imul(j,ye)|0)+Math.imul(C,pe)|0))<<13)|0;c=((o=o+Math.imul(C,ye)|0)+(i>>>13)|0)+(je>>>26)|0,je&=67108863,n=Math.imul(B,fe),i=(i=Math.imul(B,he))+Math.imul(q,fe)|0,o=Math.imul(q,he);var Ce=(c+(n=n+Math.imul(I,pe)|0)|0)+((8191&(i=(i=i+Math.imul(I,ye)|0)+Math.imul(L,pe)|0))<<13)|0;c=((o=o+Math.imul(L,ye)|0)+(i>>>13)|0)+(Ce>>>26)|0,Ce&=67108863;var Ne=(c+(n=Math.imul(B,pe))|0)+((8191&(i=(i=Math.imul(B,ye))+Math.imul(q,pe)|0))<<13)|0;return c=((o=Math.imul(q,ye))+(i>>>13)|0)+(Ne>>>26)|0,Ne&=67108863,u[0]=me,u[1]=be,u[2]=ve,u[3]=ge,u[4]=_e,u[5]=we,u[6]=Se,u[7]=Me,u[8]=xe,u[9]=Ee,u[10]=ke,u[11]=Oe,u[12]=Te,u[13]=Pe,u[14]=Ae,u[15]=Re,u[16]=je,u[17]=Ce,u[18]=Ne,0!==c&&(u[19]=c,r.length++),r};function p(e,t,r){return(new y).mulp(e,t,r)}function y(e,t){this.x=e,this.y=t}Math.imul||(d=h),o.prototype.mulTo=function(e,t){var r=this.length+e.length;return 10===this.length&&10===e.length?d(this,e,t):r<63?h(this,e,t):r<1024?function(e,t,r){r.negative=t.negative^e.negative,r.length=e.length+t.length;for(var n=0,i=0,o=0;o<r.length-1;o++){var a=i;i=0;for(var s=67108863&n,u=Math.min(o,t.length-1),c=Math.max(0,o-e.length+1);c<=u;c++){var l=o-c,f=(0|e.words[l])*(0|t.words[c]),h=67108863&f;s=67108863&(h=h+s|0),i+=(a=(a=a+(f/67108864|0)|0)+(h>>>26)|0)>>>26,a&=67108863}r.words[o]=s,n=a,a=i}return 0!==n?r.words[o]=n:r.length--,r.strip()}(this,e,t):p(this,e,t)},y.prototype.makeRBT=function(e){for(var t=new Array(e),r=o.prototype._countBits(e)-1,n=0;n<e;n++)t[n]=this.revBin(n,r,e);return t},y.prototype.revBin=function(e,t,r){if(0===e||e===r-1)return e;for(var n=0,i=0;i<t;i++)n|=(1&e)<<t-i-1,e>>=1;return n},y.prototype.permute=function(e,t,r,n,i,o){for(var a=0;a<o;a++)n[a]=t[e[a]],i[a]=r[e[a]]},y.prototype.transform=function(e,t,r,n,i,o){this.permute(o,e,t,r,n,i);for(var a=1;a<i;a<<=1)for(var s=a<<1,u=Math.cos(2*Math.PI/s),c=Math.sin(2*Math.PI/s),l=0;l<i;l+=s)for(var f=u,h=c,d=0;d<a;d++){var p=r[l+d],y=n[l+d],m=r[l+d+a],b=n[l+d+a],v=f*m-h*b;b=f*b+h*m,m=v,r[l+d]=p+m,n[l+d]=y+b,r[l+d+a]=p-m,n[l+d+a]=y-b,d!==s&&(v=u*f-c*h,h=u*h+c*f,f=v)}},y.prototype.guessLen13b=function(e,t){var r=1|Math.max(t,e),n=1&r,i=0;for(r=r/2|0;r;r>>>=1)i++;return 1<<i+1+n},y.prototype.conjugate=function(e,t,r){if(!(r<=1))for(var n=0;n<r/2;n++){var i=e[n];e[n]=e[r-n-1],e[r-n-1]=i,i=t[n],t[n]=-t[r-n-1],t[r-n-1]=-i}},y.prototype.normalize13b=function(e,t){for(var r=0,n=0;n<t/2;n++){var i=8192*Math.round(e[2*n+1]/t)+Math.round(e[2*n]/t)+r;e[n]=67108863&i,r=i<67108864?0:i/67108864|0}return e},y.prototype.convert13b=function(e,t,r,i){for(var o=0,a=0;a<t;a++)o+=0|e[a],r[2*a]=8191&o,o>>>=13,r[2*a+1]=8191&o,o>>>=13;for(a=2*t;a<i;++a)r[a]=0;n(0===o),n(0===(-8192&o))},y.prototype.stub=function(e){for(var t=new Array(e),r=0;r<e;r++)t[r]=0;return t},y.prototype.mulp=function(e,t,r){var n=2*this.guessLen13b(e.length,t.length),i=this.makeRBT(n),o=this.stub(n),a=new Array(n),s=new Array(n),u=new Array(n),c=new Array(n),l=new Array(n),f=new Array(n),h=r.words;h.length=n,this.convert13b(e.words,e.length,a,n),this.convert13b(t.words,t.length,c,n),this.transform(a,o,s,u,n,i),this.transform(c,o,l,f,n,i);for(var d=0;d<n;d++){var p=s[d]*l[d]-u[d]*f[d];u[d]=s[d]*f[d]+u[d]*l[d],s[d]=p}return this.conjugate(s,u,n),this.transform(s,u,h,o,n,i),this.conjugate(h,o,n),this.normalize13b(h,n),r.negative=e.negative^t.negative,r.length=e.length+t.length,r.strip()},o.prototype.mul=function(e){var t=new o(null);return t.words=new Array(this.length+e.length),this.mulTo(e,t)},o.prototype.mulf=function(e){var t=new o(null);return t.words=new Array(this.length+e.length),p(this,e,t)},o.prototype.imul=function(e){return this.clone().mulTo(e,this)},o.prototype.imuln=function(e){n("number"===typeof e),n(e<67108864);for(var t=0,r=0;r<this.length;r++){var i=(0|this.words[r])*e,o=(67108863&i)+(67108863&t);t>>=26,t+=i/67108864|0,t+=o>>>26,this.words[r]=67108863&o}return 0!==t&&(this.words[r]=t,this.length++),this},o.prototype.muln=function(e){return this.clone().imuln(e)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(e){var t=function(e){for(var t=new Array(e.bitLength()),r=0;r<t.length;r++){var n=r/26|0,i=r%26;t[r]=(e.words[n]&1<<i)>>>i}return t}(e);if(0===t.length)return new o(1);for(var r=this,n=0;n<t.length&&0===t[n];n++,r=r.sqr());if(++n<t.length)for(var i=r.sqr();n<t.length;n++,i=i.sqr())0!==t[n]&&(r=r.mul(i));return r},o.prototype.iushln=function(e){n("number"===typeof e&&e>=0);var t,r=e%26,i=(e-r)/26,o=67108863>>>26-r<<26-r;if(0!==r){var a=0;for(t=0;t<this.length;t++){var s=this.words[t]&o,u=(0|this.words[t])-s<<r;this.words[t]=u|a,a=s>>>26-r}a&&(this.words[t]=a,this.length++)}if(0!==i){for(t=this.length-1;t>=0;t--)this.words[t+i]=this.words[t];for(t=0;t<i;t++)this.words[t]=0;this.length+=i}return this.strip()},o.prototype.ishln=function(e){return n(0===this.negative),this.iushln(e)},o.prototype.iushrn=function(e,t,r){var i;n("number"===typeof e&&e>=0),i=t?(t-t%26)/26:0;var o=e%26,a=Math.min((e-o)/26,this.length),s=67108863^67108863>>>o<<o,u=r;if(i-=a,i=Math.max(0,i),u){for(var c=0;c<a;c++)u.words[c]=this.words[c];u.length=a}if(0===a);else if(this.length>a)for(this.length-=a,c=0;c<this.length;c++)this.words[c]=this.words[c+a];else this.words[0]=0,this.length=1;var l=0;for(c=this.length-1;c>=0&&(0!==l||c>=i);c--){var f=0|this.words[c];this.words[c]=l<<26-o|f>>>o,l=f&s}return u&&0!==l&&(u.words[u.length++]=l),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.ishrn=function(e,t,r){return n(0===this.negative),this.iushrn(e,t,r)},o.prototype.shln=function(e){return this.clone().ishln(e)},o.prototype.ushln=function(e){return this.clone().iushln(e)},o.prototype.shrn=function(e){return this.clone().ishrn(e)},o.prototype.ushrn=function(e){return this.clone().iushrn(e)},o.prototype.testn=function(e){n("number"===typeof e&&e>=0);var t=e%26,r=(e-t)/26,i=1<<t;return!(this.length<=r)&&!!(this.words[r]&i)},o.prototype.imaskn=function(e){n("number"===typeof e&&e>=0);var t=e%26,r=(e-t)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=r)return this;if(0!==t&&r++,this.length=Math.min(r,this.length),0!==t){var i=67108863^67108863>>>t<<t;this.words[this.length-1]&=i}return this.strip()},o.prototype.maskn=function(e){return this.clone().imaskn(e)},o.prototype.iaddn=function(e){return n("number"===typeof e),n(e<67108864),e<0?this.isubn(-e):0!==this.negative?1===this.length&&(0|this.words[0])<e?(this.words[0]=e-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(e),this.negative=1,this):this._iaddn(e)},o.prototype._iaddn=function(e){this.words[0]+=e;for(var t=0;t<this.length&&this.words[t]>=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},o.prototype.isubn=function(e){if(n("number"===typeof e),n(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t<this.length&&this.words[t]<0;t++)this.words[t]+=67108864,this.words[t+1]-=1;return this.strip()},o.prototype.addn=function(e){return this.clone().iaddn(e)},o.prototype.subn=function(e){return this.clone().isubn(e)},o.prototype.iabs=function(){return this.negative=0,this},o.prototype.abs=function(){return this.clone().iabs()},o.prototype._ishlnsubmul=function(e,t,r){var i,o,a=e.length+r;this._expand(a);var s=0;for(i=0;i<e.length;i++){o=(0|this.words[i+r])+s;var u=(0|e.words[i])*t;s=((o-=67108863&u)>>26)-(u/67108864|0),this.words[i+r]=67108863&o}for(;i<this.length-r;i++)s=(o=(0|this.words[i+r])+s)>>26,this.words[i+r]=67108863&o;if(0===s)return this.strip();for(n(-1===s),s=0,i=0;i<this.length;i++)s=(o=-(0|this.words[i])+s)>>26,this.words[i]=67108863&o;return this.negative=1,this.strip()},o.prototype._wordDiv=function(e,t){var r=(this.length,e.length),n=this.clone(),i=e,a=0|i.words[i.length-1];0!==(r=26-this._countBits(a))&&(i=i.ushln(r),n.iushln(r),a=0|i.words[i.length-1]);var s,u=n.length-i.length;if("mod"!==t){(s=new o(null)).length=u+1,s.words=new Array(s.length);for(var c=0;c<s.length;c++)s.words[c]=0}var l=n.clone()._ishlnsubmul(i,1,u);0===l.negative&&(n=l,s&&(s.words[u]=1));for(var f=u-1;f>=0;f--){var h=67108864*(0|n.words[i.length+f])+(0|n.words[i.length+f-1]);for(h=Math.min(h/a|0,67108863),n._ishlnsubmul(i,h,f);0!==n.negative;)h--,n.negative=0,n._ishlnsubmul(i,1,f),n.isZero()||(n.negative^=1);s&&(s.words[f]=h)}return s&&s.strip(),n.strip(),"div"!==t&&0!==r&&n.iushrn(r),{div:s||null,mod:n}},o.prototype.divmod=function(e,t,r){return n(!e.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===e.negative?(s=this.neg().divmod(e,t),"mod"!==t&&(i=s.div.neg()),"div"!==t&&(
vendor: 13,986 bytes, line 2
2a=s.mod.neg(),r&&0!==a.negative&&a.iadd(e)),{div:i,mod:a}):0===this.negative&&0!==e.negative?(s=this.divmod(e.neg(),t),"mod"!==t&&(i=s.div.neg()),{div:i,mod:s.mod}):0!==(this.negative&e.negative)?(s=this.neg().divmod(e.neg(),t),"div"!==t&&(a=s.mod.neg(),r&&0!==a.negative&&a.isub(e)),{div:s.div,mod:a}):e.length>this.length||this.cmp(e)<0?{div:new o(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new o(this.modn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new o(this.modn(e.words[0]))}:this._wordDiv(e,t);var i,a,s},o.prototype.div=function(e){return this.divmod(e,"div",!1).div},o.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},o.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},o.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var r=0!==t.div.negative?t.mod.isub(e):t.mod,n=e.ushrn(1),i=e.andln(1),o=r.cmp(n);return o<0||1===i&&0===o?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},o.prototype.modn=function(e){n(e<=67108863);for(var t=(1<<26)%e,r=0,i=this.length-1;i>=0;i--)r=(t*r+(0|this.words[i]))%e;return r},o.prototype.idivn=function(e){n(e<=67108863);for(var t=0,r=this.length-1;r>=0;r--){var i=(0|this.words[r])+67108864*t;this.words[r]=i/e|0,t=i%e}return this.strip()},o.prototype.divn=function(e){return this.clone().idivn(e)},o.prototype.egcd=function(e){n(0===e.negative),n(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var i=new o(1),a=new o(0),s=new o(0),u=new o(1),c=0;t.isEven()&&r.isEven();)t.iushrn(1),r.iushrn(1),++c;for(var l=r.clone(),f=t.clone();!t.isZero();){for(var h=0,d=1;0===(t.words[0]&d)&&h<26;++h,d<<=1);if(h>0)for(t.iushrn(h);h-- >0;)(i.isOdd()||a.isOdd())&&(i.iadd(l),a.isub(f)),i.iushrn(1),a.iushrn(1);for(var p=0,y=1;0===(r.words[0]&y)&&p<26;++p,y<<=1);if(p>0)for(r.iushrn(p);p-- >0;)(s.isOdd()||u.isOdd())&&(s.iadd(l),u.isub(f)),s.iushrn(1),u.iushrn(1);t.cmp(r)>=0?(t.isub(r),i.isub(s),a.isub(u)):(r.isub(t),s.isub(i),u.isub(a))}return{a:s,b:u,gcd:r.iushln(c)}},o.prototype._invmp=function(e){n(0===e.negative),n(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var i,a=new o(1),s=new o(0),u=r.clone();t.cmpn(1)>0&&r.cmpn(1)>0;){for(var c=0,l=1;0===(t.words[0]&l)&&c<26;++c,l<<=1);if(c>0)for(t.iushrn(c);c-- >0;)a.isOdd()&&a.iadd(u),a.iushrn(1);for(var f=0,h=1;0===(r.words[0]&h)&&f<26;++f,h<<=1);if(f>0)for(r.iushrn(f);f-- >0;)s.isOdd()&&s.iadd(u),s.iushrn(1);t.cmp(r)>=0?(t.isub(r),a.isub(s)):(r.isub(t),s.isub(a))}return(i=0===t.cmpn(1)?a:s).cmpn(0)<0&&i.iadd(e),i},o.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),r=e.clone();t.negative=0,r.negative=0;for(var n=0;t.isEven()&&r.isEven();n++)t.iushrn(1),r.iushrn(1);for(;;){for(;t.isEven();)t.iushrn(1);for(;r.isEven();)r.iushrn(1);var i=t.cmp(r);if(i<0){var o=t;t=r,r=o}else if(0===i||0===r.cmpn(1))break;t.isub(r)}return r.iushln(n)},o.prototype.invm=function(e){return this.egcd(e).a.umod(e)},o.prototype.isEven=function(){return 0===(1&this.words[0])},o.prototype.isOdd=function(){return 1===(1&this.words[0])},o.prototype.andln=function(e){return this.words[0]&e},o.prototype.bincn=function(e){n("number"===typeof e);var t=e%26,r=(e-t)/26,i=1<<t;if(this.length<=r)return this._expand(r+1),this.words[r]|=i,this;for(var o=i,a=r;0!==o&&a<this.length;a++){var s=0|this.words[a];o=(s+=o)>>>26,s&=67108863,this.words[a]=s}return 0!==o&&(this.words[a]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(e){var t,r=e<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this.strip(),this.length>1)t=1;else{r&&(e=-e),n(e<=67108863,"Number is too big");var i=0|this.words[0];t=i===e?0:i<e?-1:1}return 0!==this.negative?0|-t:t},o.prototype.cmp=function(e){if(0!==this.negative&&0===e.negative)return-1;if(0===this.negative&&0!==e.negative)return 1;var t=this.ucmp(e);return 0!==this.negative?0|-t:t},o.prototype.ucmp=function(e){if(this.length>e.length)return 1;if(this.length<e.length)return-1;for(var t=0,r=this.length-1;r>=0;r--){var n=0|this.words[r],i=0|e.words[r];if(n!==i){n<i?t=-1:n>i&&(t=1);break}}return t},o.prototype.gtn=function(e){return 1===this.cmpn(e)},o.prototype.gt=function(e){return 1===this.cmp(e)},o.prototype.gten=function(e){return this.cmpn(e)>=0},o.prototype.gte=function(e){return this.cmp(e)>=0},o.prototype.ltn=function(e){return-1===this.cmpn(e)},o.prototype.lt=function(e){return-1===this.cmp(e)},o.prototype.lten=function(e){return this.cmpn(e)<=0},o.prototype.lte=function(e){return this.cmp(e)<=0},o.prototype.eqn=function(e){return 0===this.cmpn(e)},o.prototype.eq=function(e){return 0===this.cmp(e)},o.red=function(e){return new S(e)},o.prototype.toRed=function(e){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},o.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(e){return this.red=e,this},o.prototype.forceRed=function(e){return n(!this.red,"Already a number in reduction context"),this._forceRed(e)},o.prototype.redAdd=function(e){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},o.prototype.redIAdd=function(e){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},o.prototype.redSub=function(e){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},o.prototype.redISub=function(e){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},o.prototype.redShl=function(e){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},o.prototype.redMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},o.prototype.redIMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},o.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(e){return n(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var m={k256:null,p224:null,p192:null,p25519:null};function b(e,t){this.name=e,this.p=new o(t,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function v(){b.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function g(){b.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function _(){b.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function w(){b.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function S(e){if("string"===typeof e){var t=o._prime(e);this.m=t.p,this.prime=t}else n(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function M(e){S.call(this,e),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new o(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}b.prototype._tmp=function(){var e=new o(null);return e.words=new Array(Math.ceil(this.n/13)),e},b.prototype.ireduce=function(e){var t,r=e;do{this.split(r,this.tmp),t=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(t>this.n);var n=t<this.n?-1:r.ucmp(this.p);return 0===n?(r.words[0]=0,r.length=1):n>0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},b.prototype.split=function(e,t){e.iushrn(this.n,0,t)},b.prototype.imulK=function(e){return e.imul(this.k)},i(v,b),v.prototype.split=function(e,t){for(var r=4194303,n=Math.min(e.length,9),i=0;i<n;i++)t.words[i]=e.words[i];if(t.length=n,e.length<=9)return e.words[0]=0,void(e.length=1);var o=e.words[9];for(t.words[t.length++]=o&r,i=10;i<e.length;i++){var a=0|e.words[i];e.words[i-10]=(a&r)<<4|o>>>22,o=a}o>>>=22,e.words[i-10]=o,0===o&&e.length>10?e.length-=10:e.length-=9},v.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,r=0;r<e.length;r++){var n=0|e.words[r];t+=977*n,e.words[r]=67108863&t,t=64*n+(t/67108864|0)}return 0===e.words[e.length-1]&&(e.length--,0===e.words[e.length-1]&&e.length--),e},i(g,b),i(_,b),i(w,b),w.prototype.imulK=function(e){for(var t=0,r=0;r<e.length;r++){var n=19*(0|e.words[r])+t,i=67108863&n;n>>>=26,e.words[r]=i,t=n}return 0!==t&&(e.words[e.length++]=t),e},o._prime=function(e){if(m[e])return m[e];var t;if("k256"===e)t=new v;else if("p224"===e)t=new g;else if("p192"===e)t=new _;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new w}return m[e]=t,t},S.prototype._verify1=function(e){n(0===e.negative,"red works only with positives"),n(e.red,"red works only with red numbers")},S.prototype._verify2=function(e,t){n(0===(e.negative|t.negative),"red works only with positives"),n(e.red&&e.red===t.red,"red works only with red numbers")},S.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):e.umod(this.m)._forceRed(this)},S.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},S.prototype.add=function(e,t){this._verify2(e,t);var r=e.add(t);return r.cmp(this.m)>=0&&r.isub(this.m),r._forceRed(this)},S.prototype.iadd=function(e,t){this._verify2(e,t);var r=e.iadd(t);return r.cmp(this.m)>=0&&r.isub(this.m),r},S.prototype.sub=function(e,t){this._verify2(e,t);var r=e.sub(t);return r.cmpn(0)<0&&r.iadd(this.m),r._forceRed(this)},S.prototype.isub=function(e,t){this._verify2(e,t);var r=e.isub(t);return r.cmpn(0)<0&&r.iadd(this.m),r},S.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},S.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},S.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},S.prototype.isqr=function(e){return this.imul(e,e.clone())},S.prototype.sqr=function(e){return this.mul(e,e)},S.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(n(t%2===1),3===t){var r=this.m.add(new o(1)).iushrn(2);return this.pow(e,r)}for(var i=this.m.subn(1),a=0;!i.isZero()&&0===i.andln(1);)a++,i.iushrn(1);n(!i.isZero());var s=new o(1).toRed(this),u=s.redNeg(),c=this.m.subn(1).iushrn(1),l=this.m.bitLength();for(l=new o(2*l*l).toRed(this);0!==this.pow(l,c).cmp(u);)l.redIAdd(u);for(var f=this.pow(l,i),h=this.pow(e,i.addn(1).iushrn(1)),d=this.pow(e,i),p=a;0!==d.cmp(s);){for(var y=d,m=0;0!==y.cmp(s);m++)y=y.redSqr();n(m<p);var b=this.pow(f,new o(1).iushln(p-m-1));h=h.redMul(b),f=b.redSqr(),d=d.redMul(f),p=m}return h},S.prototype.invm=function(e){var t=e._invmp(this.m);return 0!==t.negative?(t.negative=0,this.imod(t).redNeg()):this.imod(t)},S.prototype.pow=function(e,t){if(t.isZero())return new o(1).toRed(this);if(0===t.cmpn(1))return e.clone();var r=new Array(16);r[0]=new o(1).toRed(this),r[1]=e;for(var n=2;n<r.length;n++)r[n]=this.mul(r[n-1],e);var i=r[0],a=0,s=0,u=t.bitLength()%26;for(0===u&&(u=26),n=t.length-1;n>=0;n--){for(var c=t.words[n],l=u-1;l>=0;l--){var f=c>>l&1;i!==r[0]&&(i=this.sqr(i)),0!==f||0!==a?(a<<=1,a|=f,(4===++s||0===n&&0===l)&&(i=this.mul(i,r[a]),s=0,a=0)):s=0}u=26}return i},S.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},S.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},o.mont=function(e){return new M(e)},i(M,S),M.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},M.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},M.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var r=e.imul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},M.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new o(0)._forceRed(this);var r=e.mul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),a=i;return i.cmp(this.m)>=0?a=i.isub(this.m):i.cmpn(0)<0&&(a=i.iadd(this.m)),a._forceRed(this)},M.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}}(e,this)}).call(this,r(84)(e))},function(e,t,r){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}r.d(t,"a",(function(){return n}))},function(e,t,r){"use strict";var n=r(103),i=Object.prototype.toString;function o(e){return"[object Array]"===i.call(e)}function a(e){return"undefined"===typeof e}function s(e){return null!==e&&"object"===typeof e}function u(e){if("[object Object]"!==i.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function c(e){return"[object Function]"===i.call(e)}function l(e,t){if(null!==e&&"undefined"!==typeof e)if("object"!==typeof e&&(e=[e]),o(e))for(var r=0,n=e.length;r<n;r++)t.call(null,e[r],r,e);else for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.call(null,e[i],i,e)}e.exports={isArray:o,isArrayBuffer:function(e){return"[object ArrayBuffer]"===i.call(e)},isBuffer:function(e){return null!==e&&!a(e)&&null!==e.constructor&&!
2a(e.constructor)&&"function"===typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){return"undefined"!==typeof FormData&&e instanceof FormData},isArrayBufferView:function(e){return"undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer},isString:function(e){return"string"===typeof e},isNumber:function(e){return"number"===typeof e},isObject:s,isPlainObject:u,isUndefined:a,isDate:function(e){return"[object Date]"===i.call(e)},isFile:function(e){return"[object File]"===i.call(e)},isBlob:function(e){return"[object Blob]"===i.call(e)},isFunction:c,isStream:function(e){return s(e)&&c(e.pipe)},isURLSearchParams:function(e){return"undefined"!==typeof URLSearchParams&&e instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"===typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!==typeof window&&"undefined"!==typeof document)},forEach:l,merge:function e(){var t={};function r(r,n){u(t[n])&&u(r)?t[n]=e(t[n],r):u(r)?t[n]=e({},r):o(r)?t[n]=r.slice():t[n]=r}for(var n=0,i=arguments.length;n<i;n++)l(arguments[n],r);return t},extend:function(e,t,r){return l(t,(function(t,i){e[i]=r&&"function"===typeof t?n(t,r):t})),e},trim:function(e){return e.replace(/^\s*/,"").replace(/\s*$/,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e}}},function(e,t){function r(e,t){if(!e)throw new Error(t||"Assertion failed")}e.exports=r,r.equal=function(e,t,r){if(e!=t)throw new Error(r||"Assertion failed: "+e+" != "+t)}},function(e,t,r){"use strict";var n=t,i=r(12),o=r(15),a=r(161);n.assert=o,n.toArray=a.toArray,n.zero2=a.zero2,n.toHex=a.toHex,n.encode=a.encode,n.getNAF=function(e,t,r){var n=new Array(Math.max(e.bitLength(),r)+1);n.fill(0);for(var i=1<<t+1,o=e.clone(),a=0;a<n.length;a++){var s,u=o.andln(i-1);o.isOdd()?(s=u>(i>>1)-1?(i>>1)-u:u,o.isubn(s)):s=0,n[a]=s,o.iushrn(1)}return n},n.getJSF=function(e,t){var r=[[],[]];e=e.clone(),t=t.clone();for(var n,i=0,o=0;e.cmpn(-i)>0||t.cmpn(-o)>0;){var a,s,u=e.andln(3)+i&3,c=t.andln(3)+o&3;3===u&&(u=-1),3===c&&(c=-1),a=0===(1&u)?0:3!==(n=e.andln(7)+i&7)&&5!==n||2!==c?u:-u,r[0].push(a),s=0===(1&c)?0:3!==(n=t.andln(7)+o&7)&&5!==n||2!==u?c:-c,r[1].push(s),2*i===a+1&&(i=1-i),2*o===s+1&&(o=1-o),e.iushrn(1),t.iushrn(1)}return r},n.cachedProperty=function(e,t,r){var n="_"+t;e.prototype[t]=function(){return void 0!==this[n]?this[n]:this[n]=r.call(this)}},n.parseBytes=function(e){return"string"===typeof e?n.toArray(e,"hex"):e},n.intFromLE=function(e){return new i(e,"hex","le")}},function(e,t,r){"use strict";function n(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function i(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}r.d(t,"a",(function(){return i}))},function(e,t,r){"use strict";var n=r(15),i=r(3);function o(e,t){return 55296===(64512&e.charCodeAt(t))&&(!(t<0||t+1>=e.length)&&56320===(64512&e.charCodeAt(t+1)))}function a(e){return(e>>>24|e>>>8&65280|e<<8&16711680|(255&e)<<24)>>>0}function s(e){return 1===e.length?"0"+e:e}function u(e){return 7===e.length?"0"+e:6===e.length?"00"+e:5===e.length?"000"+e:4===e.length?"0000"+e:3===e.length?"00000"+e:2===e.length?"000000"+e:1===e.length?"0000000"+e:e}t.inherits=i,t.toArray=function(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var r=[];if("string"===typeof e)if(t){if("hex"===t)for((e=e.replace(/[^a-z0-9]+/gi,"")).length%2!==0&&(e="0"+e),i=0;i<e.length;i+=2)r.push(parseInt(e[i]+e[i+1],16))}else for(var n=0,i=0;i<e.length;i++){var a=e.charCodeAt(i);a<128?r[n++]=a:a<2048?(r[n++]=a>>6|192,r[n++]=63&a|128):o(e,i)?(a=65536+((1023&a)<<10)+(1023&e.charCodeAt(++i)),r[n++]=a>>18|240,r[n++]=a>>12&63|128,r[n++]=a>>6&63|128,r[n++]=63&a|128):(r[n++]=a>>12|224,r[n++]=a>>6&63|128,r[n++]=63&a|128)}else for(i=0;i<e.length;i++)r[i]=0|e[i];return r},t.toHex=function(e){for(var t="",r=0;r<e.length;r++)t+=s(e[r].toString(16));return t},t.htonl=a,t.toHex32=function(e,t){for(var r="",n=0;n<e.length;n++){var i=e[n];"little"===t&&(i=a(i)),r+=u(i.toString(16))}return r},t.zero2=s,t.zero8=u,t.join32=function(e,t,r,i){var o=r-t;n(o%4===0);for(var a=new Array(o/4),s=0,u=t;s<a.length;s++,u+=4){var c;c="big"===i?e[u]<<24|e[u+1]<<16|e[u+2]<<8|e[u+3]:e[u+3]<<24|e[u+2]<<16|e[u+1]<<8|e[u],a[s]=c>>>0}return a},t.split32=function(e,t){for(var r=new Array(4*e.length),n=0,i=0;n<e.length;n++,i+=4){var o=e[n];"big"===t?(r[i]=o>>>24,r[i+1]=o>>>16&255,r[i+2]=o>>>8&255,r[i+3]=255&o):(r[i+3]=o>>>24,r[i+2]=o>>>16&255,r[i+1]=o>>>8&255,r[i]=255&o)}return r},t.rotr32=function(e,t){return e>>>t|e<<32-t},t.rotl32=function(e,t){return e<<t|e>>>32-t},t.sum32=function(e,t){return e+t>>>0},t.sum32_3=function(e,t,r){return e+t+r>>>0},t.sum32_4=function(e,t,r,n){return e+t+r+n>>>0},t.sum32_5=function(e,t,r,n,i){return e+t+r+n+i>>>0},t.sum64=function(e,t,r,n){var i=e[t],o=n+e[t+1]>>>0,a=(o<n?1:0)+r+i;e[t]=a>>>
20,e[t+1]=o},t.sum64_hi=function(e,t,r,n){return(t+n>>>0<t?1:0)+e+r>>>0},t.sum64_lo=function(e,t,r,n){return t+n>>>0},t.sum64_4_hi=function(e,t,r,n,i,o,a,s){var u=0,c=t;return u+=(c=c+n>>>0)<t?1:0,u+=(c=c+o>>>0)<o?1:0,e+r+i+a+(u+=(c=c+s>>>0)<s?1:0)>>>0},t.sum64_4_lo=function(e,t,r,n,i,o,a,s){return t+n+o+s>>>0},t.sum64_5_hi=function(e,t,r,n,i,o,a,s,u,c){var l=0,f=t;return l+=(f=f+n>>>0)<t?1:0,l+=(f=f+o>>>0)<o?1:0,l+=(f=f+s>>>0)<s?1:0,e+r+i+a+u+(l+=(f=f+c>>>0)<c?1:0)>>>0},t.sum64_5_lo=function(e,t,r,n,i,o,a,s,u,c){return t+n+o+s+c>>>0},t.rotr64_hi=function(e,t,r){return(t<<32-r|e>>>r)>>>0},t.rotr64_lo=function(e,t,r){return(e<<32-r|t>>>r)>>>0},t.shr64_hi=function(e,t,r){return e>>>r},t.shr64_lo=function(e,t,r){return(e<<32-r|t>>>r)>>>0}},function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return u})),r.d(t,"b",(function(){return f}));var n=r(1),i=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var r=[],n=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(u){i=!0,o=u}finally{try{!n&&s.return&&s.return()}finally{if(i)throw o}}return r}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}(r.n(n).a.version.split("."),2),o=i[0],a=i[1],s=Number(a)>13||Number(o)>13,u=function(e){return s?e:e&&e.getDOMNode()},c={},l=!0;function f(t){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];e.process&&l||r&&c[t]||(console.warn(t),c[t]=!0)}}).call(this,r(11))},,function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var n={coreHttpVersion:"1.2.6",HTTP:"http:",HTTPS:"https:",HTTP_PROXY:"HTTP_PROXY",HTTPS_PROXY:"HTTPS_PROXY",NO_PROXY:"NO_PROXY",ALL_PROXY:"ALL_PROXY",HttpConstants:{HttpVerbs:{PUT:"PUT",GET:"GET",DELETE:"DELETE",POST:"POST",MERGE:"MERGE",HEAD:"HEAD",PATCH:"PATCH"},StatusCodes:{TooManyRequests:429}},HeaderConstants:{AUTHORIZATION:"authorization",AUTHORIZATION_SCHEME:"Bearer",RETRY_AFTER:"Retry-After",USER_AGENT:"User-Agent"}}},function(e,t,r){var n=r(5).Buffer,i=r(53).Transform,o=r(28).StringDecoder;function a(e){i.call(this),this.hashMode="string"===typeof e,this.hashMode?this[e]=this._finalOrDigest:this.final=this._finalOrDigest,this._final&&(this.__final=this._final,this._final=null),this._decoder=null,this._encoding=null}r(3)(a,i),a.prototype.update=function(e,t,r){"string"===typeof e&&(e=n.from(e,t));var i=this._update(e);return this.hashMode?this:(r&&(i=this._toString(i,r)),i)},a.prototype.setAutoPadding=function(){},a.prototype.getAuthTag=function(){throw new Error("trying to get auth tag in unsupported state")},a.prototype.setAuthTag=function(){throw new Error("trying to set auth tag in unsupported state")},a.prototype.setAAD=function(){throw new Error("trying to set aad in unsupported state")},a.prototype._transform=function(e,t,r){var n;try{this.hashMode?this._update(e):this.push(this._update(e))}catch(i){n=i}finally{r(n)}},a.prototype._flush=function(e){var t;try{this.push(this.__final())}catch(r){t=r}e(t)},a.prototype._finalOrDigest=function(e){var t=this.__final()||n.alloc(0);return e&&(t=this._toString(t,e,!0)),t},a.prototype._toString=function(e,t,r){if(this._decoder||(this._decoder=new o(t),this._encoding=t),this._encoding!==t)throw new Error("can't switch encodings");var n=this._decoder.write(e);return r&&(n+=this._decoder.end()),n},e.exports=a},function(e,t,r){"use strict";function n(e){return(n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function i(e){return(i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}r.d(t,"a",(function(){return s}));var o=r(46);function a(e,t){return!t||"object"!==i(t)&&"function"!==typeof t?Object(o.a)(e):t}function s(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,i=n(e);if(t){var o=n(this).constructor;r=Reflect.construct(i,arguments,o)}else r=i.apply(this,arguments);return a(this,r)}}},function(e,t,r){"use strict";
2function n(e,t){return(n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function i(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&n(e,t)}r.d(t,"a",(function(){return i}))},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e.default:e}t.__esModule=!0;var i=r(228);t.Motion=n(i);var o=r(230);t.StaggeredMotion=n(o);var a=r(231);t.TransitionMotion=n(a);var s=r(233);t.spring=n(s);var u=r(111);t.presets=n(u);var c=r(52);t.stripStyle=n(c);var l=r(234);t.reorderKeys=n(l)},function(e,t,r){"use strict";var n,i="object"===typeof Reflect?Reflect:null,o=i&&"function"===typeof i.apply?i.apply:function(e,t,r){return Function.prototype.apply.call(e,t,r)};n=i&&"function"===typeof i.ownKeys?i.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var a=Number.isNaN||function(e){return e!==e};function s(){s.init.call(this)}e.exports=s,e.exports.once=function(e,t){return new Promise((function(r,n){function i(){void 0!==o&&e.removeListener("error",o),r([].slice.call(arguments))}var o;"error"!==t&&(o=function(r){e.removeListener(t,i),n(r)},e.once("error",o)),e.once(t,i)}))},s.EventEmitter=s,s.prototype._events=void 0,s.prototype._eventsCount=0,s.prototype._maxListeners=void 0;var u=10;function c(e){if("function"!==typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function l(e){return void 0===e._maxListeners?s.defaultMaxListeners:e._maxListeners}function f(e,t,r,n){var i,o,a,s;if(c(r),void 0===(o=e._events)?(o=e._events=Object.create(null),e._eventsCount=0):(void 0!==o.newListener&&(e.emit("newListener",t,r.listener?r.listener:r),o=e._events),a=o[t]),void 0===a)a=o[t]=r,++e._eventsCount;else if("function"===typeof a?a=o[t]=n?[r,a]:[a,r]:n?a.unshift(r):a.push(r),(i=l(e))>0&&a.length>i&&!a.warned){a.warned=!0;var u=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");u.name="MaxListenersExceededWarning",u.emitter=e,u.type=t,u.count=a.length,s=u,console&&console.warn&&console.warn(s)}return e}function h(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function d(e,t,r){var n={fired:!1,wrapFn:void 0,target:e,type:t,listener:r},i=h.bind(n);return i.listener=r,n.wrapFn=i,i}function p(e,t,r){var n=e._events;if(void 0===n)return[];var i=n[t];return void 0===i?[]:"function"===typeof i?r?[i.listener||i]:[i]:r?function(e){for(var t=new Array(e.length),r=0;r<t.length;++r)t[r]=e[r].listener||e[r];return t}(i):m(i,i.length)}function y(e){var t=this._events;if(void 0!==t){var r=t[e];if("function"===typeof r)return 1;if(void 0!==r)return r.length}return 0}function m(e,t){for(var r=new Array(t),n=0;n<t;++n)r[n]=e[n];return r}Object.defineProperty(s,"defaultMaxListeners",{enumerable:!0,get:function(){return u},set:function(e){if("number"!==typeof e||e<0||a(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");u=e}}),s.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},s.prototype.setMaxListeners=function(e){if("number"!==typeof e||e<0||a(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},s.prototype.getMaxListeners=function(){return l(this)},s.prototype.emit=function(e){for(var t=[],r=1;r<arguments.length;r++)t.push(arguments[r]);var n="error"===e,i=this._events;if(void 0!==i)n=n&&void 0===i.error;else if(!n)return!1;if(n){var a;if(t.length>0&&(a=t[0]),a instanceof Error)throw a;var s=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw s.context=a,s}var u=i[e];if(void 0===u)return!1;if("function"===typeof u)o(u,this,t);else{var c=u.length,l=m(u,c);for(r=0;r<c;++r)o(l[r],this,t)}return!0},s.prototype.addListener=function(e,t){return f(this,e,t,!1)},s.prototype.on=s.prototype.addListener,s.prototype.prependListener=function(e,t){return f(this,e,t,!0)},s.prototype.once=function(e,t){return c(t),this.on(e,d(this,e,t)),this},s.prototype.prependOnceListener=function(e,t){return c(t),this.prependListener(e,d(this,e,t)),this},s.prototype.removeListener=function(e,t){var r,n,i,o,a;if(c(t),void 0===(n=this._events))return this;if(void 0===(r=n[e]))return this;if(r===t||r.listener===t)0===--this._eventsCount?this._events=Object.create(null):(delete n[e],n.removeListener&&this.emit
vendor: 6,589 bytes, line 2
2("removeListener",e,r.listener||t));else if("function"!==typeof r){for(i=-1,o=r.length-1;o>=0;o--)if(r[o]===t||r[o].listener===t){a=r[o].listener,i=o;break}if(i<0)return this;0===i?r.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(r,i),1===r.length&&(n[e]=r[0]),void 0!==n.removeListener&&this.emit("removeListener",e,a||t)}return this},s.prototype.off=s.prototype.removeListener,s.prototype.removeAllListeners=function(e){var t,r,n;if(void 0===(r=this._events))return this;if(void 0===r.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==r[e]&&(0===--this._eventsCount?this._events=Object.create(null):delete r[e]),this;if(0===arguments.length){var i,o=Object.keys(r);for(n=0;n<o.length;++n)"removeListener"!==(i=o[n])&&this.removeAllListeners(i);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"===typeof(t=r[e]))this.removeListener(e,t);else if(void 0!==t)for(n=t.length-1;n>=0;n--)this.removeListener(e,t[n]);return this},s.prototype.listeners=function(e){return p(this,e,!0)},s.prototype.rawListeners=function(e){return p(this,e,!1)},s.listenerCount=function(e,t){return"function"===typeof e.listenerCount?e.listenerCount(t):y.call(e,t)},s.prototype.listenerCount=y,s.prototype.eventNames=function(){return this._eventsCount>0?n(this._events):[]}},function(e,t,r){"use strict";var n=r(54),i=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};e.exports=f;var o=Object.create(r(41));o.inherits=r(3);var a=r(124),s=r(75);o.inherits(f,a);for(var u=i(s.prototype),c=0;c<u.length;c++){var l=u[c];f.prototype[l]||(f.prototype[l]=s.prototype[l])}function f(e){if(!(this instanceof f))return new f(e);a.call(this,e),s.call(this,e),e&&!1===e.readable&&(this.readable=!1),e&&!1===e.writable&&(this.writable=!1),this.allowHalfOpen=!0,e&&!1===e.allowHalfOpen&&(this.allowHalfOpen=!1),this.once("end",h)}function h(){this.allowHalfOpen||this._writableState.ended||n.nextTick(d,this)}function d(e){e.end()}Object.defineProperty(f.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(f.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed&&this._writableState.destroyed)},set:function(e){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}}),f.prototype._destroy=function(e,t){this.push(null),this.end(),n.nextTick(t,e)}},function(e,t,r){"use strict";var n=r(5).Buffer,i=n.isEncoding||function(e){switch((e=""+e)&&e.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}};function o(e){var t;switch(this.encoding=function(e){var t=function(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!==typeof t&&(n.isEncoding===i||!i(e)))throw new Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=u,this.end=c,t=4;break;case"utf8":this.fillLast=s,t=4;break;case"base64":this.text=l,this.end=f,t=3;break;default:return this.write=h,void(this.end=d)}this.lastNeed=0,this.lastTotal=0,this.lastChar=n.allocUnsafe(t)}function a(e){return e<=127?0:e>>5===6?2:e>>4===14?3:e>>3===30?4:e>>6===2?-1:-2}function s(e){var t=this.lastTotal-this.lastNeed,r=function(e,t,r){if(128!==(192&t[0]))return e.lastNeed=0,"\ufffd";if(e.lastNeed>1&&t.length>1){if(128!==(192&t[1]))return e.lastNeed=1,"\ufffd";if(e.lastNeed>2&&t.length>2&&128!==(192&t[2]))return e.lastNeed=2,"\ufffd"}}(this,e);return void 0!==r?r:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function u(e,t){if((e.length-t)%2===0){var r=e.toString("utf16le",t);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function c(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,r)}return t}function l(e,t){var r=(e.length-t)%3;return 0===r?e.toString("base64",t):(this.lastNeed=3-r,this.lastTotal=3,1===r?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-r))}function f(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function h(e){return e.toString(this.encoding)}function d(e){return e&&e.length?this.write(e):""}t.StringDecoder=o,o.prototype.write=function(e){if(0===e.length)return"";var t,r;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r<e.length?t?t+this.text(e,r):this.text(e,r):t||""},o.prototype.end=function(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"\ufffd":t},o.prototype.text=function(e,t){var r=function(e,t,r){var n=t.length-1;if(n<r)return 0;var i=a(t[n]);if(i>=0)return i>0&&(e.lastNeed=i-1),i;if(--n<r||-2===i)return 0;if((i=a(t[n]))>=0)return i>0&&(e.lastNeed=i-2),i;if(--n<r||-2===i)return 0;if((i=a(t[n]))>=0)return i>0&&(2===i?i=0:e.lastNeed=i-3),i;return 0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=r;var n=e.length-(r-this.lastNeed);return e.copy(this.lastChar,0,n),e.toString("utf8",t,n)},o.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};
2Object.defineProperty(t,"__esModule",{value:!0}),t.diag=t.propagation=t.trace=t.context=t.isValidSpanId=t.isValidTraceId=t.isSpanContextValid=t.INVALID_SPAN_CONTEXT=t.INVALID_TRACEID=t.INVALID_SPANID=void 0,i(r(360),t),i(r(365),t),i(r(366),t),i(r(367),t),i(r(181),t),i(r(182),t),i(r(369),t),i(r(370),t),i(r(371),t),i(r(372),t),i(r(96),t),i(r(185),t),i(r(186),t),i(r(187),t),i(r(373),t),i(r(374),t),i(r(375),t),i(r(376),t),i(r(377),t),i(r(378),t),i(r(379),t),i(r(380),t),i(r(184),t),i(r(381),t),i(r(382),t),i(r(383),t);var o=r(61);Object.defineProperty(t,"INVALID_SPANID",{enumerable:!0,get:function(){return o.INVALID_SPANID}}),Object.defineProperty(t,"INVALID_TRACEID",{enumerable:!0,get:function(){return o.INVALID_TRACEID}}),Object.defineProperty(t,"INVALID_SPAN_CONTEXT",{enumerable:!0,get:function(){return o.INVALID_SPAN_CONTEXT}}),Object.defineProperty(t,"isSpanContextValid",{enumerable:!0,get:function(){return o.isSpanContextValid}}),Object.defineProperty(t,"isValidTraceId",{enumerable:!0,get:function(){return o.isValidTraceId}}),Object.defineProperty(t,"isValidSpanId",{enumerable:!0,get:function(){return o.isValidSpanId}}),i(r(97),t),i(r(188),t),i(r(384),t);var a=r(385);t.context=a.ContextAPI.getInstance();var s=r(389);t.trace=s.TraceAPI.getInstance();var u=r(390);t.propagation=u.PropagationAPI.getInstance();var c=r(391);t.diag=c.DiagAPI.instance(),t.default={trace:t.trace,context:t.context,propagation:t.propagation,diag:t.diag}},function(e,t,r){"use strict";(function(e){var n,i=r(2),o=r(193),a="undefined"!==typeof e&&Object({NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0})&&Object({NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}).DEBUG||void 0,s=[],u=[],c=[];a&&f(a);var l=Object.assign((function(e){return d(e)}),{enable:f,enabled:h,disable:function(){var e=n||"";return f(""),e},log:o.a});function f(e){var t,r,o,a;n=e,s=[],u=[];var l=/\*/g,f=e.split(",").map((function(e){return e.trim().replace(l,".*?")}));try{for(var d=Object(i.f)(f),p=d.next();!p.done;p=d.next()){var y=p.value;y.startsWith("-")?u.push(new RegExp("^"+y.substr(1)+"$")):s.push(new RegExp("^"+y+"$"))}}catch(g){t={error:g}}finally{try{p&&!p.done&&(r=d.return)&&r.call(d)}finally{if(t)throw t.error}}try{for(var m=Object(i.f)(c),b=m.next();!b.done;b=m.next()){var v=b.value;v.enabled=h(v.namespace)}}catch(_){o={error:_}}finally{try{b&&!b.done&&(a=m.return)&&a.call(m)}finally{if(o)throw o.error}}}function h(e){var t,r,n,o;if(e.endsWith("*"))return!0;try{for(var a=Object(i.f)(u),c=a.next();!c.done;c=a.next()){if(c.value.test(e))return!1}}catch(h){t={error:h}}finally{try{c&&!c.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}try{for(var l=Object(i.f)(s),f=l.next();!f.done;f=l.next()){if(f.value.test(e))return!0}}catch(d){n={error:d}}finally{try{f&&!f.done&&(o=l.return)&&o.call(l)}finally{if(n)throw n.error}}return!1}function d(e){var t=Object.assign((function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];if(!t.enabled)return;r.length>0&&(r[0]=e+" "+r[0]);t.log.apply(t,Object(i.e)(r))}),{enabled:h(e),destroy:p,log:l.log,namespace:e,extend:y});return c.push(t),t}function p(){var e=c.indexOf(this);return e>=0&&(c.splice(e,1),!0)}function y(e){var t=d(this.namespace+":"+e);return t.log=this.log,t}t.a=l}).call(this,r(8))},,,function(e,t,r){"use strict";(function(t,n){var i=65536,o=4294967295;var a=r(5).Buffer,s=t.crypto||t.msCrypto;s&&s.getRandomValues?e.exports=function(e,t){if(e>o)throw new RangeError("requested too many random bytes");var r=a.allocUnsafe(e);if(e>0)if(e>i)for(var u=0;u<e;u+=i)s.getRandomValues(r.slice(u,u+i));else s.getRandomValues(r);if("function"===typeof t)return n.nextTick((function(){t(null,r)}));return r}:e.exports=function(){throw new Error("Secure random number generation is not supported by this browser.\nUse Chrome, Firefox or Internet Explorer 11")}}).call(this,r(11),r(8))},function(e,t,r){"use strict";var n={};function i(e,t,r){r||(r=Error);var i=function(e){var r,n;function i(r,n,i){return e.call(this,function(e,r,n){return"string"===typeof t?t:t(e,r,n)}(r,n,i))||this}return n=e,(r=i).prototype=Object.create(n.prototype),r.prototype.constructor=r,r.__proto__=n,i}(r);i.prototype.name=r.name,i.prototype.code=e,n[e]=i}function o(e,t){if(Array.isArray(e)){var r=e.length;return e=e.map((function(e){return String(e)})),r>2?"one of ".concat(t," ").concat(e.slice(0,r-1).join(", "),", or ")+e[r-1]:2===r?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}return"of ".concat(t," ").concat(String(e))}i("ERR_INVALID_OPT_VALUE",(function(e,t){return'The value "'+t+'" is invali
2d for option "'+e+'"'}),TypeError),i("ERR_INVALID_ARG_TYPE",(function(e,t,r){var n,i,a,s;if("string"===typeof t&&(i="not ",t.substr(!a||a<0?0:+a,i.length)===i)?(n="must not be",t=t.replace(/^not /,"")):n="must be",function(e,t,r){return(void 0===r||r>e.length)&&(r=e.length),e.substring(r-t.length,r)===t}(e," argument"))s="The ".concat(e," ").concat(n," ").concat(o(t,"type"));else{var u=function(e,t,r){return"number"!==typeof r&&(r=0),!(r+t.length>e.length)&&-1!==e.indexOf(t,r)}(e,".")?"property":"argument";s='The "'.concat(e,'" ').concat(u," ").concat(n," ").concat(o(t,"type"))}return s+=". Received type ".concat(typeof r)}),TypeError),i("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),i("ERR_METHOD_NOT_IMPLEMENTED",(function(e){return"The "+e+" method is not implemented"})),i("ERR_STREAM_PREMATURE_CLOSE","Premature close"),i("ERR_STREAM_DESTROYED",(function(e){return"Cannot call "+e+" after a stream was destroyed"})),i("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),i("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),i("ERR_STREAM_WRITE_AFTER_END","write after end"),i("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),i("ERR_UNKNOWN_ENCODING",(function(e){return"Unknown encoding: "+e}),TypeError),i("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),e.exports.codes=n},function(e,t,r){"use strict";(function(t){var n=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};e.exports=c;var i=r(130),o=r(134);r(3)(c,i);for(var a=n(o.prototype),s=0;s<a.length;s++){var u=a[s];c.prototype[u]||(c.prototype[u]=o.prototype[u])}function c(e){if(!(this instanceof c))return new c(e);i.call(this,e),o.call(this,e),this.allowHalfOpen=!0,e&&(!1===e.readable&&(this.readable=!1),!1===e.writable&&(this.writable=!1),!1===e.allowHalfOpen&&(this.allowHalfOpen=!1,this.once("end",l)))}function l(){this._writableState.ended||t.nextTick(f,this)}function f(e){e.end()}Object.defineProperty(c.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(c.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(c.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(c.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed&&this._writableState.destroyed)},set:function(e){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}})}).call(this,r(8))},function(e,t,r){var n=r(5).Buffer;function i(e,t){this._block=n.alloc(e),this._finalSize=t,this._blockSize=e,this._len=0}i.prototype.update=function(e,t){"string"===typeof e&&(t=t||"utf8",e=n.from(e,t));for(var r=this._block,i=this._blockSize,o=e.length,a=this._len,s=0;s<o;){for(var u=a%i,c=Math.min(o-s,i-u),l=0;l<c;l++)r[u+l]=e[s+l];s+=c,(a+=c)%i===0&&this._update(r)}return this._len+=o,this},i.prototype.digest=function(e){var t=this._len%this._blockSize;this._block[t]=128,this._block.fill(0,t+1),t>=this._finalSize&&(this._update(this._block),this._block.fill(0));var r=8*this._len;if(r<=4294967295)this._block.writeUInt32BE(r,this._blockSize-4);else{var n=(4294967295&r)>>>0,i=(r-n)/4294967296;this._block.writeUInt32BE(i,this._blockSize-8),this._block.writeUInt32BE(n,this._blockSize-4)}this._update(this._block);var o=this._hash();return e?o.toString(e):o},i.prototype._update=function(){throw new Error("_update must be implemented by subclass")},e.exports=i},function(e,t,r){"use strict";var n={};function i(e,t,r){r||(r=Error);var i=function(e){var r,n;function i(r,n,i){return e.call(this,function(e,r,n){return"string"===typeof t?t:t(e,r,n)}(r,n,i))||this}return n=e,(r=i).prototype=Object.create(n.prototype),r.prototype.constructor=r,r.__proto__=n,i}(r);i.prototype.name=r.name,i.prototype.code=e,n[e]=i}function o(e,t){if(Array.isArray(e)){var r=e.length;return e=e.map((function(e){return String(e)})),r>2?"one of ".concat(t," ").concat(e.slice(0,r-1).join(", "),", or ")+e[r-1]:2===r?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}return"of ".concat(t," ").concat(String(e))}i("ERR_INVALID_OPT_VALUE",(function(e,t){return'The value "'+t+'" is invali
2d for option "'+e+'"'}),TypeError),i("ERR_INVALID_ARG_TYPE",(function(e,t,r){var n,i,a,s;if("string"===typeof t&&(i="not ",t.substr(!a||a<0?0:+a,i.length)===i)?(n="must not be",t=t.replace(/^not /,"")):n="must be",function(e,t,r){return(void 0===r||r>e.length)&&(r=e.length),e.substring(r-t.length,r)===t}(e," argument"))s="The ".concat(e," ").concat(n," ").concat(o(t,"type"));else{var u=function(e,t,r){return"number"!==typeof r&&(r=0),!(r+t.length>e.length)&&-1!==e.indexOf(t,r)}(e,".")?"property":"argument";s='The "'.concat(e,'" ').concat(u," ").concat(n," ").concat(o(t,"type"))}return s+=". Received type ".concat(typeof r)}),TypeError),i("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),i("ERR_METHOD_NOT_IMPLEMENTED",(function(e){return"The "+e+" method is not implemented"})),i("ERR_STREAM_PREMATURE_CLOSE","Premature close"),i("ERR_STREAM_DESTROYED",(function(e){return"Cannot call "+e+" after a stream was destroyed"})),i("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),i("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),i("ERR_STREAM_WRITE_AFTER_END","write after end"),i("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),i("ERR_UNKNOWN_ENCODING",(function(e){return"Unknown encoding: "+e}),TypeError),i("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),e.exports.codes=n},function(e,t,r){"use strict";(function(t){var n=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};e.exports=c;var i=r(155),o=r(159);r(3)(c,i);for(var a=n(o.prototype),s=0;s<a.length;s++){var u=a[s];c.prototype[u]||(c.prototype[u]=o.prototype[u])}function c(e){if(!(this instanceof c))return new c(e);i.call(this,e),o.call(this,e),this.allowHalfOpen=!0,e&&(!1===e.readable&&(this.readable=!1),!1===e.writable&&(this.writable=!1),!1===e.allowHalfOpen&&(this.allowHalfOpen=!1,this.once("end",l)))}function l(){this._writableState.ended||t.nextTick(f,this)}function f(e){e.end()}Object.defineProperty(c.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(c.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(c.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(c.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed&&this._writableState.destroyed)},set:function(e){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}})}).call(this,r(8))},function(e,t,r){(function(t){var r;r="undefined"!==typeof window?window:"undefined"!==typeof t?t:"undefined"!==typeof self?self:{},e.exports=r}).call(this,r(11))},function(e,t,r){"use strict";var n=r(112),i="function"===typeof Symbol&&"symbol"===typeof Symbol("foo"),o=Object.prototype.toString,a=Array.prototype.concat,s=Object.defineProperty,u=s&&function(){var e={};try{for(var t in s(e,"x",{enumerable:!1,value:e}),e)return!1;return e.x===e}catch(r){return!1}}(),c=function(e,t,r,n){var i;(!(t in e)||"function"===typeof(i=n)&&"[object Function]"===o.call(i)&&n())&&(u?s(e,t,{configurable:!0,enumerable:!1,value:r,writable:!0}):e[t]=r)},l=function(e,t){var r=arguments.length>2?arguments[2]:{},o=n(t);i&&(o=a.call(o,Object.getOwnPropertySymbols(t)));for(var s=0;s<o.length;s+=1)c(e,o[s],t[o[s]],r[o[s]])};l.supportsDescriptors=!!u,e.exports=l},function(e,t,r){(function(e){function r(e){return Object.prototype.toString.call(e)}t.isArray=function(e){return Array.isArray?Array.isArray(e):"[object Array]"===r(e)},t.isBoolean=function(e){return"boolean"===typeof e},t.isNull=function(e){return null===e},t.isNullOrUndefined=function(e){return null==e},t.isNumber=function(e){return"number"===typeof e},t.isString=function(e){return"string"===typeof e},t.isSymbol=function(e){return"symbol"===typeof e},t.isUndefined=function(e){return void 0===e},t.isRegExp=function(e){return"[object RegExp]"===r(e)},t.isObject=function(e){return"object"===typeof e&&null!==e},t.isDate=function(e){return"[object Date]"===r(e)},t.isError=function(e){return"[object Error]"===r(e)||e instanceof Error},t.isFunction=function(e){return"function"===typeof e},t.isPrimitive=function(e){return null===e||"boolean"===typeof e||"number"===typeof e||"string"===typeof e||"symbol"===typeof e||"undefined"===typeof e},t.isBuffer=e.isBuffer}).call(this,r(10).Buffer)},function(e,t,r){"use strict";var n=r(3),i=r(77),o=r(79),a=r(80),s=r(22);function u(e){s.call(this,"digest"),this._hash=e}n(u,s),u.prototype._update=function(e){this._hash.update(e)},u.prototype._final=function(){return this._hash.digest()},e.exports=function(e){return"md5"===(e=e.toLowerCase())?new i:"rmd160"===e||"ripemd160"===e?new o:new u(a(e))}},function(e,t,r){(function(t){e.exports=function(e,r){for(var n=Math.min(e.length,r.length),i=new t(n),o=0;o<n;++o)i[o]=e[o]^r[o];return i}}).call(this,r(10).Buffer)},function(e,t,r){"use strict";var n=r(18),i=r(15);function o(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}
2t.BlockHash=o,o.prototype.update=function(e,t){if(e=n.toArray(e,t),this.pending?this.pending=this.pending.concat(e):this.pending=e,this.pendingTotal+=e.length,this.pending.length>=this._delta8){var r=(e=this.pending).length%this._delta8;this.pending=e.slice(e.length-r,e.length),0===this.pending.length&&(this.pending=null),e=n.join32(e,0,e.length-r,this.endian);for(var i=0;i<e.length;i+=this._delta32)this._update(e,i,i+this._delta32)}return this},o.prototype.digest=function(e){return this.update(this._pad()),i(null===this.pending),this._digest(e)},o.prototype._pad=function(){var e=this.pendingTotal,t=this._delta8,r=t-(e+this.padLength)%t,n=new Array(r+this.padLength);n[0]=128;for(var i=1;i<r;i++)n[i]=0;if(e<<=3,"big"===this.endian){for(var o=8;o<this.padLength;o++)n[i++]=0;n[i++]=0,n[i++]=0,n[i++]=0,n[i++]=0,n[i++]=e>>>24&255,n[i++]=e>>>16&255,n[i++]=e>>>8&255,n[i++]=255&e}else for(n[i++]=255&e,n[i++]=e>>>8&255,n[i++]=e>>>16&255,n[i++]=e>>>24&255,n[i++]=0,n[i++]=0,n[i++]=0,n[i++]=0,o=8;o<this.padLength;o++)n[i++]=0;return n}},function(e,t,r){"use strict";var n=r(3),i=r(93).Reporter,o=r(91).Buffer;function a(e,t){i.call(this,t),o.isBuffer(e)?(this.base=e,this.offset=0,this.length=e.length):this.error("Input not Buffer")}function s(e,t){if(Array.isArray(e))this.length=0,this.value=e.map((function(e){return s.isEncoderBuffer(e)||(e=new s(e,t)),this.length+=e.length,e}),this);else if("number"===typeof e){if(!(0<=e&&e<=255))return t.error("non-byte EncoderBuffer value");this.value=e,this.length=1}else if("string"===typeof e)this.value=e,this.length=o.byteLength(e);else{if(!o.isBuffer(e))return t.error("Unsupported type: "+typeof e);this.value=e,this.length=e.length}}n(a,i),t.DecoderBuffer=a,a.isDecoderBuffer=function(e){return e instanceof a||"object"===typeof e&&o.isBuffer(e.base)&&"DecoderBuffer"===e.constructor.name&&"number"===typeof e.offset&&"number"===typeof e.length&&"function"===typeof e.save&&"function"===typeof e.restore&&"function"===typeof e.isEmpty&&"function"===typeof e.readUInt8&&"function"===typeof e.skip&&"function"===typeof e.raw},a.prototype.save=function(){return{offset:this.offset,reporter:i.prototype.save.call(this)}},a.prototype.restore=function(e){var t=new a(this.base);return t.offset=e.offset,t.length=this.offset,this.offset=e.offset,i.prototype.restore.call(this,e.reporter),t},a.prototype.isEmpty=function(){return this.offset===this.length},a.prototype.readUInt8=function(e){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(e||"DecoderBuffer overrun")},a.prototype.skip=function(e,t){if(!(this.offset+e<=this.length))return this.error(t||"DecoderBuffer overrun");var r=new a(this.base);return r._reporterState=this._reporterState,r.offset=this.offset,r.length=this.offset+e,this.offset+=e,r},a.prototype.raw=function(e){return this.base.slice(e?e.offset:this.offset,this.length)},t.EncoderBuffer=s,s.isEncoderBuffer=function(e){return e instanceof s||"object"===typeof e&&"EncoderBuffer"===e.constructor.name&&"number"===typeof e.length&&"function"===typeof e.join},s.prototype.join=function(e,t){return e||(e=o.alloc(this.length)),t||(t=0),0===this.length||(Array.isArray(this.value)?this.value.forEach((function(r){r.join(e,t),t+=r.length})):("number"===typeof this.value?e[t]=this.value:"string"===typeof this.value?e.write(this.value,t):o.isBuffer(this.value)&&this.value.copy(e,t),t+=this.length)),e}},function(e,t,r){"use strict";function n(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}r.d(t,"a",(function(){return n}))},function(e,t,r){e.exports={decode:r(121),verify:r(349),sign:r(352),JsonWebTokenError:r(60),NotBeforeError:r(177),TokenExpiredError:r(178)}},function(e,t,r){"use strict";function n(e,t,r,n,i,o,a){try{var s=e[o](a),u=s.value}catch(c){return void r(c)}s.done?t(u):Promise.resolve(u).then(n,i)}function i(e){return function(){var t=this,r=arguments;return new Promise((function(i,o){var a=e.apply(t,r);function s(e){n(a,i,o,s,u,"next",e)}function u(e){n(a,i,o,s,u,"throw",e)}s(void 0)}))}}r.d(t,"a",(function(){return i}))},function(e,t,r){"use strict";r.d(t,"a",(function(){return _d})),r.d(t,"c",(function(){return oy})),r.d(t,"b",(function(){return tm})),r.d(t,"d",(function(){return um}));var n={};r.r(n),r.d(n,"arc",(function(){return La})),r.d(n,"area",(function(){return $a})),r.d(n,"line",(function(){return Xa})),r.d(n,"pie",(function(){return Qa})),r.d(n,"areaRadial",(function(){return os})),r.d(n,"radialArea",(function(){return os})),r.d(n,"lineRadial",(function(){return is})),r.d(n,"radialLine",(function(){return is})),r.d(n,"pointRadial",(function(){return as})),r.d(n,"linkHorizontal",(function(){return ps})),r.d(n,"linkVertical",(function(){return ys})),r.d(n,"linkRadial",(function(){return ms})),r.d(n,"symbol",(function(){return Is})),r.d(n,"symbols",(function(){return Ns})),r.d(n,"symbolCircle",(function(){return bs})),r.d(n,"symbolCross",(function(){return vs})),r.d(n,"symbolDiamond",(function(){return ws})),r.d(n,"symbolSquare",(function(){return ks})),r.d(n,"symbolStar",(function(){return Es})),r.d(n,"symbolTriangle",(function(){return Ts})),r.d(n,"symbolWye",(function(){return Cs})),r.d(n,"curveBasisClosed",(function(){return zs})),r.d(n,"curveBasisOpen",(function(){return Hs})),r.d(n,"curveBasis",(function(){return qs})),r.d(n,"curveBundle",(function(){return Ws})),r.d(n,"curveCardinalClosed",(function(){return $s})),r.d(n,"curveCardinalOpen",(function(){return Js})),r.d(n,"curveCardinal",(function(){return Ys})),r.d(n,"curveCatmullRomClosed",(function(){return nu})),r.d(n,"curveCatmullRomOpen",(function(){return ou})),r.d(n,"curveCatmullRom",(function(){return tu})),r.d(n,"curveLinearClosed",(function(){return su})),r.d(n,"curveLinear",(function(){return Ga})),r.d(n,"curveMonotoneX",(function(){return yu})),r.d(n,"curveMonotoneY",(function(){return mu})),r.d(n,"curveNatural",(function(){return gu})),r.d(n,"curveStep",(function(){return wu})),r.d(n,"curveStepAfter",(function(){return Mu})),r.d(n,"curveStepBefore",(function(){return Su})),r.d(n,"stack",(function(){return Ou})),r.d(n,"stackOffsetExpand",(function(){return Tu})),r.d(n,"stackOffsetDiverging",(function(){return Pu})),r.d(n,"stackOffsetNone",(function(){return xu})),r.d(n,"stackOffsetSilhouette",(function(){return Au})),r.d(n,"stackOffsetWiggle",(function(){return Ru})),r.d(n,"stackOrderAppearance",(function(){return ju})),r.d(n,"stackOrderAscending",(function(){return Nu})),r.d(n,"stackOrderDescending",(function(){return Lu})),r.d(n,"stackOrderInsideOut",(function(){return Du})),r.d(n,"stackOrderNone",(function(){return Eu})),r.d(n,"stackOrderReverse",(function(){return Bu}));var i=r(0),o=r.n(i),a=function(e){return function(){return e}};function s(e){return e[0]}function u(e){return e[1]}function c(){this._=null}function l(e){e.U=e.C=e.L=e.R=e.P=e.N=null}function f(e,t){var r=t,n=t.R,i=r.U;i?i.L===r?i.L=n:i.R=n:e._=n,n.U=i,r.U=n,r.R=n.L,r.R&&(r.R.U=r),n.L=r}function h(e,t){var r=t,n=t.L,i=r.U;i?i.L===r?i.L=n:i.R=n:e._=n,n.U=i,r.U=n,r.L=n.R,r.L&&(r.L.U=r),n.R=r}function d(e){for(;e.L;)e=e.L;return e}c.prototype={constructor:c,insert:function(e,t){var r,n,i;if(e){if(t.P=e,t.N=e.N,e.N&&(e.N.P=t),e.N=t,e.R){for(e=e.R;e.L;)e=e.L;e.L=t}else e.R=t;r=e}else this._?(e=d(this._),t.P=null,t.N=e,e.P=e.L=t,r=e):(t.P=t.N=null,this._=t,r=null);for(t.L=t.R=null,t.U=r,t.C=!0,e=t;r&&r.C;)r===(n=r.U).L?(i=n.R)&&i.C?(r.C=i.C=!1,n.C=!0,e=n):(e===r.R&&(f(this,r),r=(e=r).U),r.C=!1,n.C=!0,h(this,n)):(i=n.L)&&i.C?(r.C=i.C=!1,n.C=!0,e=n):(e===r.L&&(h(this,r),r=(e=r).U),r.C=!1,n.C=!0,f(this,n)),r=e.U;this._.C=!1},remove:function(e){e.N&&(e.N.P=e.P),e.P&&(e.P.N=e.N),e.N=e.P=null;var t,r,n,i=e.U,o=e.L,a=e.R;if(r=o?a?d(a):o:a,i?i.L===e?i.L=r:i.R=r:this._=r,o&&a?(n=r.C,r.C=e.C,r.L=o,o.U=r,r!==a?(i=r.U,r.U=e.U,e=r.R,i.L=e,r.R=a,a.U=r):(r.U=i,i=r,e=r.R)):(n=e.C,e=r),e&&(e.U=i),!n)if(e&&e.C)e.C=!1;else{do{if(e===this._)break;
vendor: 4,457 bytes, line 2
2if(e===i.L){if((t=i.R).C&&(t.C=!1,i.C=!0,f(this,i),t=i.R),t.L&&t.L.C||t.R&&t.R.C){t.R&&t.R.C||(t.L.C=!1,t.C=!0,h(this,t),t=i.R),t.C=i.C,i.C=t.R.C=!1,f(this,i),e=this._;break}}else if((t=i.L).C&&(t.C=!1,i.C=!0,h(this,i),t=i.L),t.L&&t.L.C||t.R&&t.R.C){t.L&&t.L.C||(t.R.C=!1,t.C=!0,f(this,t),t=i.L),t.C=i.C,i.C=t.L.C=!1,h(this,i),e=this._;break}t.C=!0,e=i,i=i.U}while(!e.C);e&&(e.C=!1)}}};var p=c;function y(e,t,r,n){var i=[null,null],o=q.push(i)-1;return i.left=e,i.right=t,r&&b(i,e,t,r),n&&b(i,t,e,n),D[e.index].halfedges.push(o),D[t.index].halfedges.push(o),i}function m(e,t,r){var n=[t,r];return n.left=e,n}function b(e,t,r,n){e[0]||e[1]?e.left===r?e[1]=n:e[0]=n:(e[0]=n,e.left=t,e.right=r)}function v(e,t,r,n,i){var o,a=e[0],s=e[1],u=a[0],c=a[1],l=0,f=1,h=s[0]-u,d=s[1]-c;if(o=t-u,h||!(o>0)){if(o/=h,h<0){if(o<l)return;o<f&&(f=o)}else if(h>0){if(o>f)return;o>l&&(l=o)}if(o=n-u,h||!(o<0)){if(o/=h,h<0){if(o>f)return;o>l&&(l=o)}else if(h>0){if(o<l)return;o<f&&(f=o)}if(o=r-c,d||!(o>0)){if(o/=d,d<0){if(o<l)return;o<f&&(f=o)}else if(d>0){if(o>f)return;o>l&&(l=o)}if(o=i-c,d||!(o<0)){if(o/=d,d<0){if(o>f)return;o>l&&(l=o)}else if(d>0){if(o<l)return;o<f&&(f=o)}return!(l>0||f<1)||(l>0&&(e[0]=[u+l*h,c+l*d]),f<1&&(e[1]=[u+f*h,c+f*d]),!0)}}}}}function g(e,t,r,n,i){var o=e[1];if(o)return!0;var a,s,u=e[0],c=e.left,l=e.right,f=c[0],h=c[1],d=l[0],p=l[1],y=(f+d)/2,m=(h+p)/2;if(p===h){if(y<t||y>=n)return;if(f>d){if(u){if(u[1]>=i)return}else u=[y,r];o=[y,i]}else{if(u){if(u[1]<r)return}else u=[y,i];o=[y,r]}}else if(s=m-(a=(f-d)/(p-h))*y,a<-1||a>1)if(f>d){if(u){if(u[1]>=i)return}else u=[(r-s)/a,r];o=[(i-s)/a,i]}else{if(u){if(u[1]<r)return}else u=[(i-s)/a,i];o=[(r-s)/a,r]}else if(h<p){if(u){if(u[0]>=n)return}else u=[t,a*t+s];o=[n,a*n+s]}else{if(u){if(u[0]<t)return}else u=[n,a*n+s];o=[t,a*t+s]}return e[0]=u,e[1]=o,!0}function _(e,t){var r=e.site,n=t.left,i=t.right;return r===i&&(i=n,n=r),i?Math.atan2(i[1]-n[1],i[0]-n[0]):(r===n?(n=t[1],i=t[0]):(n=t[0],i=t[1]),Math.atan2(n[0]-i[0],i[1]-n[1]))}function w(e,t){return t[+(t.left!==e.site)]}function S(e,t){return t[+(t.left===e.site)]}var M,x=[];function E(){l(this),this.x=this.y=this.arc=this.site=this.cy=null}function k(e){var t=e.P,r=e.N;if(t&&r){var n=t.site,i=e.site,o=r.site;if(n!==o){var a=i[0],s=i[1],u=n[0]-a,c=n[1]-s,l=o[0]-a,f=o[1]-s,h=2*(u*f-c*l);if(!(h>=-z)){var d=u*u+c*c,p=l*l+f*f,y=(f*d-c*p)/h,m=(u*p-l*d)/h,b=x.pop()||new E;b.arc=e,b.site=i,b.x=y+a,b.y=(b.cy=m+s)+Math.sqrt(y*y+m*m),e.circle=b;for(var v=null,g=B._;g;)if(b.y<g.y||b.y===g.y&&b.x<=g.x){if(!g.L){v=g.P;break}g=g.L}else{if(!g.R){v=g;break}g=g.R}B.insert(v,b),v||(M=b)}}}}function O(e){var t=e.circle;t&&(t.P||(M=t.N),B.remove(t),x.push(t),l(t),e.circle=null)}var T=[];function P(){l(this),this.edge=this.site=this.circle=null}function A(e){var t=T.pop()||new P;return t.site=e,t}function R(e){O(e),L.remove(e),T.push(e),l(e)}function j(e){var t=e.circle,r=t.x,n=t.cy,i=[r,n],o=e.P,a=e.N,s=[e];R(e);for(var u=o;u.circle&&Math.abs(r-u.circle.x)<U&&Math.abs(n-u.circle.cy)<U;)o=u.P,s.unshift(u),R(u),u=o;s.unshift(u),O(u);for(var c=a;c.circle&&Math.abs(r-c.circle.x)<U&&Math.abs(n-c.circle.cy)<U;)a=c.N,s.push(c),R(c),c=a;s.push(c),O(c);var l,f=s.length;for(l=1;l<f;++l)c=s[l],u=s[l-1],b(c.edge,u.site,c.site,i);u=s[0],(c=s[f-1]).edge=y(u.site,c.site,null,i),k(u),k(c)}function C(e){for(var t,r,n,i,o=e[0],a=e[1],s=L._;s;)if((n=N(s,a)-o)>U)s=s.L;else{if(!((i=o-I(s,a))>U)){n>-U?(t=s.P,r=s):i>-U?(t=s,r=s.N):t=r=s;break}if(!s.R){t=s;break}s=s.R}!function(e){D[e.index]={site:e,halfedges:[]}}(e);var u=A(e);if(L.insert(t,u),t||r){if(t===r)return O(t),r=A(t.site),L.insert(u,r),u.edge=r.edge=y(t.site,u.site),k(t),void k(r);if(r){O(t),O(r);var c=t.site,l=c[0],f=c[1],h=e[0]-l,d=e[1]-f,p=r.site,m=p[0]-l,v=p[1]-f,g=2*(h*v-d*m),_=h*h+d*d,w=m*m+v*v,S=[(v*_-d*w)/g+l,(h*w-m*_)/g+f];b(r.edge,c,p,S),u.edge=y(c,e,null,S),r.edge=y(e,p,null,S),k(t),k(r)}else u.edge=y(t.site,u.site)}}function N(e,t){var r=e.site,n=r[0],i=r[1],o=i-t;if(!o)return n;var a=e.P;if(!a)return-1/0;var s=(r=a.site)[0],u=r[1],c=u-t;if(!c)return s;var l=s-n,f=1/o-1/c,h=l/c;return f?(-h+Math.sqrt(h*h-2*f*(l*l/(-2*c)-u+c/2+i-o/2)))/f+n:(n+s)/2}function I(e,t){var r=e.N;if(r)return N(r,t);var n=e.site;return n[1]===t?n[0]:1/0}var L,D,B,q,U=1e-6,z=1e-12;function F(e,t){return t[1]-e[1]||t[0]-e[0]}function H(e,t){var r,n,i,o=e.sort(F).pop();for(q=[],D=new Array(e.length),L=new p,B=new p;;)if(i=M,o&&(!i||o[1]<i.y||o[1]===i.y&&o[0]<i.x))o[0]===r&&o[1]===n||(C(o),r=o[
vendor: 2,249 bytes, line 2
20],n=o[1]),o=e.pop();else{if(!i)break;j(i.arc)}if(function(){for(var e,t,r,n,i=0,o=D.length;i<o;++i)if((e=D[i])&&(n=(t=e.halfedges).length)){var a=new Array(n),s=new Array(n);for(r=0;r<n;++r)a[r]=r,s[r]=_(e,q[t[r]]);for(a.sort((function(e,t){return s[t]-s[e]})),r=0;r<n;++r)s[r]=t[a[r]];for(r=0;r<n;++r)t[r]=s[r]}}(),t){var a=+t[0][0],s=+t[0][1],u=+t[1][0],c=+t[1][1];!function(e,t,r,n){for(var i,o=q.length;o--;)g(i=q[o],e,t,r,n)&&v(i,e,t,r,n)&&(Math.abs(i[0][0]-i[1][0])>U||Math.abs(i[0][1]-i[1][1])>U)||delete q[o]}(a,s,u,c),function(e,t,r,n){var i,o,a,s,u,c,l,f,h,d,p,y,b=D.length,v=!0;for(i=0;i<b;++i)if(o=D[i]){for(a=o.site,s=(u=o.halfedges).length;s--;)q[u[s]]||u.splice(s,1);for(s=0,c=u.length;s<c;)p=(d=S(o,q[u[s]]))[0],y=d[1],f=(l=w(o,q[u[++s%c]]))[0],h=l[1],(Math.abs(p-f)>U||Math.abs(y-h)>U)&&(u.splice(s,0,q.push(m(a,d,Math.abs(p-e)<U&&n-y>U?[e,Math.abs(f-e)<U?h:n]:Math.abs(y-n)<U&&r-p>U?[Math.abs(h-n)<U?f:r,n]:Math.abs(p-r)<U&&y-t>U?[r,Math.abs(f-r)<U?h:t]:Math.abs(y-t)<U&&p-e>U?[Math.abs(h-t)<U?f:e,t]:null))-1),++c);c&&(v=!1)}if(v){var g,_,M,x=1/0;for(i=0,v=null;i<b;++i)(o=D[i])&&(M=(g=(a=o.site)[0]-e)*g+(_=a[1]-t)*_)<x&&(x=M,v=o);if(v){var E=[e,t],k=[e,n],O=[r,n],T=[r,t];v.halfedges.push(q.push(m(a=v.site,E,k))-1,q.push(m(a,k,O))-1,q.push(m(a,O,T))-1,q.push(m(a,T,E))-1)}}for(i=0;i<b;++i)(o=D[i])&&(o.halfedges.length||delete D[i])}(a,s,u,c)}this.edges=q,this.cells=D,L=B=q=D=null}H.prototype={constructor:H,polygons:function(){var e=this.edges;return this.cells.map((function(t){var r=t.halfedges.map((function(r){return w(t,e[r])}));return r.data=t.site.data,r}))},triangles:function(){var e=[],t=this.edges;return this.cells.forEach((function(r,n){if(o=(i=r.halfedges).length)for(var i,o,a,s,u,c,l=r.site,f=-1,h=t[i[o-1]],d=h.left===l?h.right:h.left;++f<o;)a=d,d=(h=t[i[f]]).left===l?h.right:h.left,a&&d&&n<a.index&&n<d.index&&(u=a,c=d,((s=l)[0]-c[0])*(u[1]-s[1])-(s[0]-u[0])*(c[1]-s[1])<0)&&e.push([l.data,a.data,d.data])})),e},links:function(){return this.edges.filter((function(e){return e.right})).map((function(e){return{source:e.left.data,target:e.right.data}}))},find:function(e,t,r){for(var n,i,o=this,a=o._found||0,s=o.cells.length;!(i=o.cells[a]);)if(++a>=s)return null;var u=e-i.site[0],c=t-i.site[1],l=u*u+c*c;
2do{i=o.cells[n=a],a=null,i.halfedges.forEach((function(r){var n=o.edges[r],s=n.left;if(s!==i.site&&s||(s=n.right)){var u=e-s[0],c=t-s[1],f=u*u+c*c;f<l&&(l=f,a=s.index)}}))}while(null!==a);return o._found=n,null==r||l<=r*r?i.site:null}};var V=function(){var e=s,t=u,r=null;function n(n){return new H(n.map((function(r,i){var o=[Math.round(e(r,i,n)/U)*U,Math.round(t(r,i,n)/U)*U];return o.index=i,o.data=r,o})),r)}return n.polygons=function(e){return n(e).polygons()},n.links=function(e){return n(e).links()},n.triangles=function(e){return n(e).triangles()},n.x=function(t){return arguments.length?(e="function"===typeof t?t:a(+t),n):e},n.y=function(e){return arguments.length?(t="function"===typeof e?e:a(+e),n):t},n.extent=function(e){return arguments.length?(r=null==e?null:[[+e[0][0],+e[0][1]],[+e[1][0],+e[1][1]]],n):r&&[[r[0][0],r[0][1]],[r[1][0],r[1][1]]]},n.size=function(e){return arguments.length?(r=null==e?null:[[0,0],[+e[0],+e[1]]],n):r&&[r[1][0]-r[0][0],r[1][1]-r[0][1]]},n},W=r(1),G=r.n(W),K=function(e,t,r){e.prototype=t.prototype=r,r.constructor=e};function Y(e,t){var r=Object.create(e.prototype);for(var n in t)r[n]=t[n];return r}function X(){}var $=.7,Z=1/$,J="\\s*([+-]?\\d+)\\s*",Q="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",ee="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",te=/^#([0-9a-f]{3,8})$/,re=new RegExp("^rgb\\("+[J,J,J]+"\\)$"),ne=new RegExp("^rgb\\("+[ee,ee,ee]+"\\)$"),ie=new RegExp("^rgba\\("+[J,J,J,Q]+"\\)$"),oe=new RegExp("^rgba\\("+[ee,ee,ee,Q]+"\\)$"),ae=new RegExp("^hsl\\("+[Q,ee,ee]+"\\)$"),se=new RegExp("^hsla\\("+[Q,ee,ee,Q]+"\\)$"),ue={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function ce(){return this.rgb().formatHex()}function le(){return this.rgb().formatRgb()}function fe(e){var t,r;return e=(e+"").trim().toLowerCase(),(t=te.exec(e))?(r=t[1].length,t=parseInt(t[1],16),6===r?he(t):3===r?new me(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===r?de(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===r?de(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=re.exec(e))?new me(t[1],t[2],t[3],1):(t=ne.exec(e))?new me(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=ie.exec(e))?de(t[1],t[2],t[3],t[4]):(t=oe.exec(e))?de(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=ae.exec(e))?_e(t[1],t[2]/100,t[3]/100,1):(t=se.exec(e))?_e(t[1],t[2]/100,t[3]/100,t[4]):ue.hasOwnProperty(e)?he(ue[e]):"transparent"===e?new me(NaN,NaN,NaN,0):null}function he(e){return new me(e>>16&255,e>>8&255,255&e,1)}function de(e,t,r,n){return n<=0&&(e=t=r=NaN),new me(e,t,r,n)}function pe(e){return e instanceof X||(e=fe(e)),e?new me((e=e.rgb()).r,e.g,e.b,e.opacity):new me}function ye(e,t,r,n){return 1===arguments.length?pe(e):new me(e,t,r,null==n?1:n)}function me(e,t,r,n){this.r=+e,this.g=+t,this.b=+r,this.opacity=+n}function be(){return"#"+ge(this.r)+ge(this.g)+ge(this.b)}function ve(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||
vendor: 5,653 bytes, line 2
20))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===e?")":", "+e+")")}function ge(e){return((e=Math.max(0,Math.min(255,Math.round(e)||0)))<16?"0":"")+e.toString(16)}function _e(e,t,r,n){return n<=0?e=t=r=NaN:r<=0||r>=1?e=t=NaN:t<=0&&(e=NaN),new Me(e,t,r,n)}function we(e){if(e instanceof Me)return new Me(e.h,e.s,e.l,e.opacity);if(e instanceof X||(e=fe(e)),!e)return new Me;if(e instanceof Me)return e;var t=(e=e.rgb()).r/255,r=e.g/255,n=e.b/255,i=Math.min(t,r,n),o=Math.max(t,r,n),a=NaN,s=o-i,u=(o+i)/2;return s?(a=t===o?(r-n)/s+6*(r<n):r===o?(n-t)/s+2:(t-r)/s+4,s/=u<.5?o+i:2-o-i,a*=60):s=u>0&&u<1?0:a,new Me(a,s,u,e.opacity)}function Se(e,t,r,n){return 1===arguments.length?we(e):new Me(e,t,r,null==n?1:n)}function Me(e,t,r,n){this.h=+e,this.s=+t,this.l=+r,this.opacity=+n}function xe(e,t,r){return 255*(e<60?t+(r-t)*e/60:e<180?r:e<240?t+(r-t)*(240-e)/60:t)}function Ee(e,t,r,n,i){var o=e*e,a=o*e;return((1-3*e+3*o-a)*t+(4-6*o+3*a)*r+(1+3*e+3*o-3*a)*n+a*i)/6}K(X,fe,{copy:function(e){return Object.assign(new this.constructor,this,e)},displayable:function(){return this.rgb().displayable()},hex:ce,formatHex:ce,formatHsl:function(){return we(this).formatHsl()},formatRgb:le,toString:le}),K(me,ye,Y(X,{brighter:function(e){return e=null==e?Z:Math.pow(Z,e),new me(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=null==e?$:Math.pow($,e),new me(this.r*e,this.g*e,this.b*e,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:be,formatHex:be,formatRgb:ve,toString:ve})),K(Me,Se,Y(X,{brighter:function(e){return e=null==e?Z:Math.pow(Z,e),new Me(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?$:Math.pow($,e),new Me(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,r=this.l,n=r+(r<.5?r:1-r)*t,i=2*r-n;return new me(xe(e>=240?e-240:e+120,i,n),xe(e,i,n),xe(e<120?e+240:e-120,i,n),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===e?")":", "+e+")")}}));var ke=function(e){return function(){return e}};function Oe(e,t){return function(r){return e+r*t}}function Te(e){return 1===(e=+e)?Pe:function(t,r){return r-t?function(e,t,r){return e=Math.pow(e,r),t=Math.pow(t,r)-e,r=1/r,function(n){return Math.pow(e+n*t,r)}}(t,r,e):ke(isNaN(t)?r:t)}}function Pe(e,t){var r=t-e;return r?Oe(e,r):ke(isNaN(e)?t:e)}var Ae=function e(t){var r=Te(t);function n(e,t){var n=r((e=ye(e)).r,(t=ye(t)).r),i=r(e.g,t.g),o=r(e.b,t.b),a=Pe(e.opacity,t.opacity);return function(t){return e.r=n(t),e.g=i(t),e.b=o(t),e.opacity=a(t),e+""}}return n.gamma=e,n}(1);function Re(e){return function(t){var r,n,i=t.length,o=new Array(i),a=new Array(i),s=new Array(i);for(r=0;r<i;++r)n=ye(t[r]),o[r]=n.r||0,a[r]=n.g||0,s[r]=n.b||0;return o=e(o),a=e(a),s=e(s),n.opacity=1,function(e){return n.r=o(e),n.g=a(e),n.b=s(e),n+""}}}Re((function(e){var t=e.length-1;return function(r){var n=r<=0?r=0:r>=1?(r=1,t-1):Math.floor(r*t),i=e[n],o=e[n+1],a=n>0?e[n-1]:2*i-o,s=n<t-1?e[n+2]:2*o-i;return Ee((r-n/t)*t,a,i,o,s)}})),Re((function(e){var t=e.length;return function(r){var n=Math.floor(((r%=1)<0?++r:r)*t),i=e[(n+t-1)%t],o=e[n%t],a=e[(n+1)%t],s=e[(n+2)%t];return Ee((r-n/t)*t,i,o,a,s)}}));var je=function(e,t){t||(t=[]);var r,n=e?Math.min(t.length,e.length):0,i=t.slice();return function(o){for(r=0;r<n;++r)i[r]=e[r]*(1-o)+t[r]*o;return i}};function Ce(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}function Ne(e,t){var r,n=t?t.length:0,i=e?Math.min(n,e.length):0,o=new Array(i),a=new Array(n);for(r=0;r<i;++r)o[r]=ze(e[r],t[r]);for(;r<n;++r)a[r]=t[r];return function(e){for(r=0;r<i;++r)a[r]=o[r](e);return a}}var Ie=function(e,t){var r=new Date;return e=+e,t=+t,function(n){return r.setTime(e*(1-n)+t*n),r}},Le=function(e,t){return e=+e,t=+t,function(r){return e*(1-r)+t*r}},De=function(e,t){var r,n={},i={};for(r in null!==e&&"object"===typeof e||(e={}),null!==t&&"object"===typeof t||(t={}),t)r in e?n[r]=ze(e[r],t[r]):i[r]=t[r];return function(e){for(r in n)i[r]=n[r](e);return i}},Be=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,qe=new RegExp(Be.source,"g");var Ue=function(e,t){var r,n,i,o=Be.lastIndex=qe.lastIndex=0,a=-1,s=[],u=[];for(e+="",t+="";(r=Be.exec(e))&&(n=qe.exec(t));)(i=n.index)>o&&(i=t.slice(o,i),s[a]?s[a]+=i:s[++a]=i),(r=r[0])===(n=n[0])?s[a]?s[a]+=n:s[++a]=n:(s[++a]=null,u.push({i:a,x:Le(r,n)})),o=qe.lastIndex;return o<t.length&&(i=t.slice(o),s[a]?s[a]+=i:s[++a]=i),s.length<2?u[0]?function(e){return function(t){return e(t)+""}}(u[0].x):function(e){return function(){return e}}(t):(t=u.length,function(e){for(var r,n=0;n<t;++n)s[(r=u[n]).i]=r.x(e);return s.join("")})},ze=function(e,t){var r,n=typeof t;return null==t||"boolean"===n?ke(t):("number"===n?Le:"string"===n?(r=fe(t))?(t=r,Ae):Ue:t instanceof fe?Ae:t instanceof Date?Ie:Ce(t)?je:Array.isArray(t)?Ne:"function"!==typeof t.valueOf&&"function"!==typeof t.toString||isNaN(t)?De:Le)(e,t)},Fe=r(25),He=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),Ve=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];
2for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e};var We=o.a.oneOfType([o.a.string,o.a.shape({stiffness:o.a.number,nonAnimatedProps:o.a.arrayOf(o.a.string),damping:o.a.number}),o.a.bool]),Ge={animatedProps:o.a.arrayOf(o.a.string).isRequired,animation:We,onStart:o.a.func,onEnd:o.a.func};function Ke(e){var t=e.animatedProps,r=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}(e,["animatedProps"]);return t.reduce((function(e,t){return r.hasOwnProperty(t)&&(e[t]=r[t]),e}),{})}var Ye=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return r._motionEndHandler=function(){r.props.onEnd&&r.props.onEnd()},r._renderChildren=function(e){var t=e.i,n=r.props.children,i=r._interpolator,o=G.a.Children.only(n),a=i?i(t):i,s=a&&a.data||null;return s&&o.props._data&&(s=s.map((function(e,t){var r=o.props._data[t];return Ve({},e,{parent:r.parent,children:r.children})}))),G.a.cloneElement(o,Ve({},o.props,a,{data:s||o.props.data||null,_animation:Math.random()}))},r._updateInterpolator(e),r}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),He(t,[{key:"componentWillUpdate",value:function(e){this._updateInterpolator(this.props,e),e.onStart&&e.onStart()}},{key:"_updateInterpolator",value:function(e,t){this._interpolator=ze(Ke(e),t?Ke(t):null)}},{key:"render",value:function(){var e=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Fe.presets.noWobble;if("string"===typeof e)return Fe.presets[e]||Fe.presets.noWobble;var t=e.damping,r=e.stiffness;return Ve({damping:t||Fe.presets.noWobble.damping,stiffness:r||Fe.presets.noWobble.stiffness},e)}(this.props.animation),t={i:Object(Fe.spring)(1,e)},r=Math.random();return G.a.createElement(Fe.Motion,Ve({defaultStyle:{i:0},style:t,key:r},{onRest:this._motionEndHandler}),this._renderChildren)}}]),t}(W.PureComponent);Ye.propTypes=Ge,Ye.displayName="Animation";var Xe=Ye,$e=We,Ze=function(e,t){return e<t?-1:e>t?1:e>=t?0:NaN},Je=function(e){var t;return 1===e.length&&(t=e,e=function(e,r){return Ze(t(e),r)}),{left:function(t,r,n,i){for(null==n&&(n=0),null==i&&(i=t.length);n<i;){var o=n+i>>>1;e(t[o],r)<0?n=o+1:i=o}return n},right:function(t,r,n,i){for(null==n&&(n=0),null==i&&(i=t.length);n<i;){var o=n+i>>>1;e(t[o],r)>0?i=o:n=o+1}return n}}};var Qe=Je(Ze),et=Qe.right,tt=(Qe.left,et);var rt=function(e,t){var r,n,i,o=e.length,a=-1;if(null==t){for(;++a<o;)if(null!=(r=e[a])&&r>=r)for(n=i=r;++a<o;)null!=(r=e[a])&&(n>r&&(n=r),i<r&&(i=r))}else for(;++a<o;)if(null!=(r=t(e[a],a,e))&&r>=r)for(n=i=r;++a<o;)null!=(r=t(e[a],a,e))&&(n>r&&(n=r),i<r&&(i=r));return[n,i]},nt=Array.prototype,it=(nt.slice,nt.map,function(e,t,r){e=+e,t=+t,r=(i=arguments.length)<2?(t=e,e=0,1):i<3?1:+r;for(var n=-1,i=0|Math.max(0,Math.ceil((t-e)/r)),o=new Array(i);++n<i;)o[n]=e+n*r;return o}),ot=Math.sqrt(50),at=Math.sqrt(10),st=Math.sqrt(2),ut=function(e,t,r){var n,i,o,a,s=-1;if(r=+r,(e=+e)===(t=+t)&&r>0)return[e];if((n=t<e)&&(i=e,e=t,t=i),0===(a=ct(e,t,r))||!isFinite(a))return[];if(a>0)for(e=Math.ceil(e/a),t=Math.floor(t/a),o=new Array(i=Math.ceil(t-e+1));++s<i;)o[s]=(e+s)*a;else for(e=Math.floor(e*a),t=Math.ceil(t*a),o=new Array(i=Math.ceil(e-t+1));++s<i;)o[s]=(e-s)/a;return n&&o.reverse(),o};function ct(e,t,r){var n=(t-e)/Math.max(0,r),i=Math.floor(Math.log(n)/Math.LN10),o=n/Math.pow(10,i);return i>=0?(o>=ot?10:o>=at?5:o>=st?2:1)*Math.pow(10,i):-Math.pow(10,-i)/(o>=ot?10:o>=at?5:o>=st?2:1)}function lt(e,t,r){var n=Math.abs(t-e)/Math.max(0,r),i=Math.pow(10,Math.floor(Math.log(n)/Math.LN10)),o=n/i;return o>=ot?i*=10:o>=at?i*=5:o>=st&&(i*=2),t<e?-i:i}var ft=function(e){return Math.ceil(Math.log(e.length)/Math.LN2)+1},ht=function(e,t){var r,n,i=e.length,o=-1;if(null==t){for(;++o<i;)if(null!=(r=e[o])&&r>=r)for(n=r;++o<i;)null!=(r=e[o])&&n>r&&(n=r)}else for(;++o<i;)if(null!=(r=t(e[o],o,e))&&r>=r)for(n=r;++o<i;)null!=(r=t(e[o],o,e))&&n>r&&(n=r);return n},dt=function(e,t){var r,n=e.length,i=-1,o=0;if(null==t)for(;++i<n;)(r=+e[i])&&(o+=r);else for(;++i<n;)(r=+t(e[i],i,e))&&(o+=r);return o};var pt="$";function yt(){}function mt(e,t){var r=new yt;if(e instanceof yt)e.each((function(e,t){r.set(t,e)}));else if(Array.isArray(e)){var n,i=-1,o=e.length;if(null==t)for(;++i<o;)r.set(i,e[i]);else for(;++i<o;
2)r.set(t(n=e[i],i,e),n)}else if(e)for(var a in e)r.set(a,e[a]);return r}yt.prototype=mt.prototype={constructor:yt,has:function(e){return pt+e in this},get:function(e){return this[pt+e]},set:function(e,t){return this[pt+e]=t,this},remove:function(e){var t=pt+e;return t in this&&delete this[t]},clear:function(){for(var e in this)e[0]===pt&&delete this[e]},keys:function(){var e=[];for(var t in this)t[0]===pt&&e.push(t.slice(1));return e},values:function(){var e=[];for(var t in this)t[0]===pt&&e.push(this[t]);return e},entries:function(){var e=[];for(var t in this)t[0]===pt&&e.push({key:t.slice(1),value:this[t]});return e},size:function(){var e=0;for(var t in this)t[0]===pt&&++e;return e},empty:function(){for(var e in this)if(e[0]===pt)return!1;return!0},each:function(e){for(var t in this)t[0]===pt&&e(this[t],t.slice(1),this)}};var bt=mt,vt=function(){var e,t,r,n=[],i=[];function o(r,i,a,s){if(i>=n.length)return null!=e&&r.sort(e),null!=t?t(r):r;for(var u,c,l,f=-1,h=r.length,d=n[i++],p=bt(),y=a();++f<h;)(l=p.get(u=d(c=r[f])+""))?l.push(c):p.set(u,[c]);return p.each((function(e,t){s(y,t,o(e,i,a,s))})),y}function a(e,r){if(++r>n.length)return e;var o,s=i[r-1];return null!=t&&r>=n.length?o=e.entries():(o=[],e.each((function(e,t){o.push({key:t,values:a(e,r)})}))),null!=s?o.sort((function(e,t){return s(e.key,t.key)})):o}return r={object:function(e){return o(e,0,gt,_t)},map:function(e){return o(e,0,wt,St)},entries:function(e){return a(o(e,0,wt,St),0)},key:function(e){return n.push(e),r},sortKeys:function(e){return i[n.length-1]=e,r},sortValues:function(t){return e=t,r},rollup:function(e){return t=e,r}}};function gt(){return{}}function _t(e,t,r){e[t]=r}function wt(){return bt()}function St(e,t,r){e.set(t,r)}function Mt(){}var xt=bt.prototype;function Et(e,t){var r=new Mt;if(e instanceof Mt)e.each((function(e){r.add(e)}));else if(e){var n=-1,i=e.length;if(null==t)for(;++n<i;)r.add(e[n]);else for(;++n<i;)r.add(t(e[n],n,e))}return r}Mt.prototype=Et.prototype={constructor:Mt,has:xt.has,add:function(e){return this[pt+(e+="")]=e,this},remove:xt.remove,clear:xt.clear,values:xt.keys,size:xt.size,empty:xt.empty,each:xt.each};var kt=Et,Ot=Array.prototype,Tt=Ot.map,Pt=Ot.slice,At={name:"implicit"};function Rt(e){var t=bt(),r=[],n=At;function i(i){var o=i+"",a=t.get(o);if(!a){if(n!==At)return n;t.set(o,a=r.push(i))}return e[(a-1)%e.length]}return e=null==e?[]:Pt.call(e),i.domain=function(e){if(!arguments.length)return r.slice();r=[],t=bt();for(var n,o,a=-1,s=e.length;++a<s;)t.has(o=(n=e[a])+"")||t.set(o,r.push(n));return i},i.range=function(t){return arguments.length?(e=Pt.call(t),i):e.slice()},i.unknown=function(e){return arguments.length?(n=e,i):n},i.copy=function(){return Rt().domain(r).range(e).unknown(n)},i}function jt(){var e,t,r=Rt().unknown(void 0),n=r.domain,i=r.range,o=[0,1],a=!1,s=0,u=0,c=.5;function l(){var r=n().length,l=o[1]<o[0],f=o[l-0],h=o[1-l];e=(h-f)/Math.max(1,r-s+2*u),a&&(e=Math.floor(e)),f+=(h-f-e*(r-s))*c,t=e*(1-s),a&&(f=Math.round(f),t=Math.round(t));var d=it(r).map((function(t){return f+e*t}));return i(l?d.reverse():d)}return delete r.unknown,r.domain=function(e){return arguments.length?(n(e),l()):n()},r.range=function(e){return arguments.length?(o=[+e[0],+e[1]],l()):o.slice()},r.rangeRound=function(e){return o=[+e[0],+e[1]],a=!0,l()},r.bandwidth=function(){return t},r.step=function(){return e},r.round=function(e){return arguments.length?(a=!!e,l()):a},r.padding=function(e){return arguments.length?(s=u=Math.max(0,Math.min(1,e)),l()):s},r.paddingInner=function(e){return arguments.length?(s=Math.max(0,Math.min(1,e)),l()):s},r.paddingOuter=function(e){return arguments.length?(u=Math.max(0,Math.min(1,e)),l()):u},r.align=function(e){return arguments.length?(c=Math.max(0,Math.min(1,e)),l()):c},r.copy=function(){return jt().domain(n()).range(o).round(a).paddingInner(s).paddingOuter(u).align(c)},l()}function Ct(e){var t=e.copy;return e.padding=e.paddingOuter,delete e.paddingInner,delete e.paddingOuter,e.copy=function(){return Ct(t())},e}var Nt=function(e,t){return e=+e,t=+t,function(r){return Math.round(e*(1-r)+t*r)}},It=function(e){return function(){return e}},Lt=function(e){return+e},Dt=[0,1];function Bt(e,t){return(t-=e=+e)?function(r){return(r-e)/t}:It(t)}function qt(e,t,r,n){var i=e[0],o=e[1],a=t[0],s=t[1];return o<i?(i=r(o,i),a=n(s,a)):(i=r(i,o),a=n(a,s)),function(e){return a(i(e))}}function Ut(e,t,r,n){var i=Math.min(e.length,t.length)-1,o=new Array(i),a=new Array(i),s=-1;for(e[i]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++s<i;)o[s]=r(e[s],e[s+1]),a[s]=n(t[s],t[s+1]);return function(t){var r=tt(e,t,1,i)-1;return a[r](o[r](t))}}function zt(e,t){return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp())}function Ft(e,t){var r,n,i,o=Dt,a=Dt,s=ze,u=!1;function c(){return r=Math.min(o.length,a.length)>2?Ut:qt,n=i=null,l}
vendor: 25,173 bytes, line 2
2function l(t){return(n||(n=r(o,a,u?function(e){return function(t,r){var n=e(t=+t,r=+r);return function(e){return e<=t?0:e>=r?1:n(e)}}}(e):e,s)))(+t)}return l.invert=function(e){return(i||(i=r(a,o,Bt,u?function(e){return function(t,r){var n=e(t=+t,r=+r);return function(e){return e<=0?t:e>=1?r:n(e)}}}(t):t)))(+e)},l.domain=function(e){return arguments.length?(o=Tt.call(e,Lt),c()):o.slice()},l.range=function(e){return arguments.length?(a=Pt.call(e),c()):a.slice()},l.rangeRound=function(e){return a=Pt.call(e),s=Nt,c()},l.clamp=function(e){return arguments.length?(u=!!e,c()):u},l.interpolate=function(e){return arguments.length?(s=e,c()):s},c()}var Ht=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Vt(e){if(!(t=Ht.exec(e)))throw new Error("invalid format: "+e);var t;return new Wt({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}function Wt(e){this.fill=void 0===e.fill?" ":e.fill+"",this.align=void 0===e.align?">":e.align+"",this.sign=void 0===e.sign?"-":e.sign+"",this.symbol=void 0===e.symbol?"":e.symbol+"",this.zero=!!e.zero,this.width=void 0===e.width?void 0:+e.width,this.comma=!!e.comma,this.precision=void 0===e.precision?void 0:+e.precision,this.trim=!!e.trim,this.type=void 0===e.type?"":e.type+""}Vt.prototype=Wt.prototype,Wt.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};function Gt(e,t){if((r=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var r,n=e.slice(0,r);return[n.length>1?n[0]+n.slice(2):n,+e.slice(r+1)]}var Kt,Yt,Xt,$t,Zt=function(e){return(e=Gt(Math.abs(e)))?e[1]:NaN},Jt=function(e,t){var r=Gt(e,t);if(!r)return e+"";var n=r[0],i=r[1];return i<0?"0."+new Array(-i).join("0")+n:n.length>i+1?n.slice(0,i+1)+"."+n.slice(i+1):n+new Array(i-n.length+2).join("0")},Qt={"%":function(e,t){return(100*e).toFixed(t)},b:function(e){return Math.round(e).toString(2)},c:function(e){return e+""},d:function(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)},e:function(e,t){return e.toExponential(t)},f:function(e,t){return e.toFixed(t)},g:function(e,t){return e.toPrecision(t)},o:function(e){return Math.round(e).toString(8)},p:function(e,t){return Jt(100*e,t)},r:Jt,s:function(e,t){var r=Gt(e,t);if(!r)return e+"";var n=r[0],i=r[1],o=i-(Kt=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,a=n.length;return o===a?n:o>a?n+new Array(o-a+1).join("0"):o>0?n.slice(0,o)+"."+n.slice(o):"0."+new Array(1-o).join("0")+Gt(e,Math.max(0,t+o-1))[0]},X:function(e){return Math.round(e).toString(16).toUpperCase()},x:function(e){return Math.round(e).toString(16)}},er=function(e){return e},tr=Array.prototype.map,rr=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"];Yt=function(e){var t,r,n=void 0===e.grouping||void 0===e.thousands?er:(t=tr.call(e.grouping,Number),r=e.thousands+"",function(e,n){for(var i=e.length,o=[],a=0,s=t[0],u=0;i>0&&s>0&&(u+s+1>n&&(s=Math.max(1,n-u)),o.push(e.substring(i-=s,i+s)),!((u+=s+1)>n));)s=t[a=(a+1)%t.length];return o.reverse().join(r)}),i=void 0===e.currency?"":e.currency[0]+"",o=void 0===e.currency?"":e.currency[1]+"",a=void 0===e.decimal?".":e.decimal+"",s=void 0===e.numerals?er:function(e){return function(t){return t.replace(/[0-9]/g,(function(t){return e[+t]}))}}(tr.call(e.numerals,String)),u=void 0===e.percent?"%":e.percent+"",c=void 0===e.minus?"-":e.minus+"",l=void 0===e.nan?"NaN":e.nan+"";function f(e){var t=(e=Vt(e)).fill,r=e.align,f=e.sign,h=e.symbol,d=e.zero,p=e.width,y=e.comma,m=e.precision,b=e.trim,v=e.type;"n"===v?(y=!0,v="g"):Qt[v]||(void 0===m&&(m=12),b=!0,v="g"),(d||"0"===t&&"="===r)&&(d=!0,t="0",r="=");var g="$"===h?i:"#"===h&&/[boxX]/.test(v)?"0"+v.toLowerCase():"",_="$"===h?o:/[%p]/.test(v)?u:"",w=Qt[v],S=/[defgprs%]/.test(v);function M(e){var i,o,u,h=g,M=_;if("c"===v)M=w(e)+M,e="";else{var x=(e=+e)<0||1/e<0;if(e=isNaN(e)?l:w(Math.abs(e),m),b&&(e=function(e){e:for(var t,r=e.length,n=1,i=-1;n<r;++n)switch(e[n]){case".":i=t=n;break;case"0":0===i&&(i=n),t=n;break;default:if(!+e[n])break e;i>0&&(i=0)}return i>0?e.slice(0,i)+e.slice(t+1):e}(e)),x&&0===+e&&"+"!==f&&(x=!1),h=(x?"("===f?f:c:"-"===f||"("===f?"":f)+h,M=("s"===v?rr[8+Kt/3]:"")+M+(x&&"("===f?")":""),S)for(i=-1,o=e.length;++i<o;)if(48>(u=e.charCodeAt(i))||u>57){M=(46===u?a+e.slice(i+1):e.slice(i))+M,e=e.slice(0,i);break}}y&&!d&&(e=n(e,1/0));var E=h.length+e.length+M.length,k=E<p?new Array(p-E+1).join(t):"";switch(y&&d&&(e=n(k+e,k.length?p-M.length:1/0),k=""),r){case"<":e=h+e+M+k;break;case"=":e=h+k+e+M;break;case"^":e=k.slice(0,E=k.length>>1)+h+e+M+k.slice(E);break;default:e=k+h+e+M}return s(e)}return m=void 0===m?6:/[gprs]/.test(v)?Math.max(1,Math.min(21,m)):Math.max(0,Math.min(20,m)),M.toString=function(){return e+""},M}return{format:f,formatPrefix:function(e,t){var r=f(((e=Vt(e)).type="f",e)),n=3*Math.max(-8,Math.min(8,Math.floor(Zt(t)/3))),i=Math.pow(10,-n),o=rr[8+n/3];return function(e){return r(i*e)+o}}}}({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"}),Xt=Yt.format,$t=Yt.formatPrefix;var nr=function(e,t,r){var n,i=e[0],o=e[e.length-1],a=lt(i,o,null==t?10:t);switch((r=Vt(null==r?",f":r)).type){case"s":var s=Math.max(Math.abs(i),Math.abs(o));return null!=r.precision||isNaN(n=function(e,t){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(Zt(t)/3)))-Zt(Math.abs(e)))}(a,s))||(r.precision=n),$t(r,s);case"":case"e":case"g":case"p":case"r":null!=r.precision||isNaN(n=function(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,Zt(t)-Zt(e))+1}(a,Math.max(Math.abs(i),Math.abs(o))))||(r.precision=n-("e"===r.type));break;case"f":case"%":null!=r.precision||isNaN(n=function(e){return Math.max(0,-Zt(Math.abs(e)))}(a))||(r.precision=n-2*("%"===r.type))}return Xt(r)};function ir(e){var t=e.domain;return e.ticks=function(e){var r=t();return ut(r[0],r[r.length-1],null==e?10:e)},e.tickFormat=function(e,r){return nr(t(),e,r)},e.nice=function(r){null==r&&(r=10);var n,i=t(),o=0,a=i.length-1,s=i[o],u=i[a];return u<s&&(n=s,s=u,u=n,n=o,o=a,a=n),(n=ct(s,u,r))>0?n=ct(s=Math.floor(s/n)*n,u=Math.ceil(u/n)*n,r):n<0&&(n=ct(s=Math.ceil(s*n)/n,u=Math.floor(u*n)/n,r)),n>0?(i[o]=Math.floor(s/n)*n,i[a]=Math.ceil(u/n)*n,t(i)):n<0&&(i[o]=Math.ceil(s*n)/n,i[a]=Math.floor(u*n)/n,t(i)),e},e}function or(){var e=Ft(Bt,Le);return e.copy=function(){return zt(e,or())},ir(e)}var ar=function(e,t){var r,n=0,i=(e=e.slice()).length-1,o=e[n],a=e[i];return a<o&&(r=n,n=i,i=r,r=o,o=a,a=r),e[n]=t.floor(o),e[i]=t.ceil(a),e};function sr(e,t){return(t=Math.log(t/e))?function(r){return Math.log(r/e)/t}:It(t)}function ur(e,t){return e<0?function(r){return-Math.pow(-t,r)*Math.pow(-e,1-r)}:function(r){return Math.pow(t,r)*Math.pow(e,1-r)}}function cr(e){return isFinite(e)?+("1e"+e):e<0?0:e}function lr(e){return 10===e?cr:e===Math.E?Math.exp:function(t){return Math.pow(e,t)}}function fr(e){return e===Math.E?Math.log:10===e&&Math.log10||2===e&&Math.log2||(e=Math.log(e),function(t){return Math.log(t)/e})}function hr(e){return function(t){return-e(-t)}}function dr(e,t){return e<0?-Math.pow(-e,t):Math.pow(e,t)}function pr(){var e=1,t=Ft((function(t,r){return(r=dr(r,e)-(t=dr(t,e)))?function(n){return(dr(n,e)-t)/r}:It(r)}),(function(t,r){return r=dr(r,e)-(t=dr(t,e)),function(n){return dr(t+r*n,1/e)}})),r=t.domain;return t.exponent=function(t){return arguments.length?(e=+t,r(r())):e},t.copy=function(){return zt(t,pr().exponent(e))},ir(t)}function yr(){return pr().exponent(.5)}var mr=new Date,br=new Date;function vr(e,t,r,n){function i(t){return e(t=0===arguments.length?new Date:new Date(+t)),t}return i.floor=function(t){return e(t=new Date(+t)),t},i.ceil=function(r){return e(r=new Date(r-1)),t(r,1),e(r),r},i.round=function(e){var t=i(e),r=i.ceil(e);return e-t<r-e?t:r},i.offset=function(e,r){return t(e=new Date(+e),null==r?1:Math.floor(r)),e},i.range=function(r,n,o){var a,s=[];if(r=i.ceil(r),o=null==o?1:Math.floor(o),!(r<n)||!(o>0))return s;do{s.push(a=new Date(+r)),t(r,o),e(r)}while(a<r&&r<n);return s},i.filter=function(r){return vr((function(t){if(t>=t)for(;e(t),!r(t);)t.setTime(t-1)}),(function(e,n){if(e>=e)if(n<0)for(;++n<=0;)for(;t(e,-1),!r(e););else for(;--n>=0;)for(;t(e,1),!r(e););}))},r&&(i.count=function(t,n){return mr.setTime(+t),br.setTime(+n),e(mr),e(br),Math.floor(r(mr,br))},i.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?i.filter(n?function(t){return n(t)%e===0}:function(t){return i.count(0,t)%e===0}):i:null}),i}var gr=vr((function(e){e.setMonth(0,1),e.setHours(0,0,0,0)}),(function(e,t){e.setFullYear(e.getFullYear()+t)}),(function(e,t){return t.getFullYear()-e.getFullYear()}),(function(e){return e.getFullYear()}));gr.every=function(e){return isFinite(e=Math.floor(e))&&e>0?vr((function(t){t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)}),(function(t,r){t.setFullYear(t.getFullYear()+r*e)})):null};var _r=gr,wr=(gr.range,vr((function(e){e.setDate(1),e.setHours(0,0,0,0)}),(function(e,t){e.setMonth(e.getMonth()+t)}),(function(e,t){return t.getMonth()-e.getMonth()+12*(t.getFullYear()-e.getFullYear())}),(function(e){return e.getMonth()}))),Sr=wr,Mr=(wr.range,1e3),xr=6e4,Er=36e5,kr=864e5,Or=6048e5;function Tr(e){return vr((function(t){t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)}),(function(e,t){e.setDate(e.getDate()+7*t)}),(function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*xr)/Or}))}var Pr=Tr(0),Ar=Tr(1),Rr=Tr(2),jr=Tr(3),Cr=Tr(4),Nr=Tr(5),Ir=Tr(6),Lr=(Pr.range,Ar.range,Rr.range,jr.range,Cr.range,Nr.range,Ir.range,vr((function(e){e.setHours(0,0,0,0)}),(function(e,t){e.setDate(e.getDate()+t)}),(function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*xr)/kr}),(function(e){return e.getDate()-1}))),Dr=Lr,Br=(Lr.range,vr((function(e){e.setTime(e-e.getMilliseconds()-e.getSeconds()*Mr-e.getMinutes()*xr)}),(function(e,t){e.setTime(+e+t*Er)}),(function(e,t){return(t-e)/Er}),(function(e){return e.getHours()}))),qr=Br,Ur=(Br.range,vr((function(e){e.setTime(e-e.getMilliseconds()-e.getSeconds()*Mr)}),(function(e,t){e.setTime(+e+t*xr)}),(function(e,t){return(t-e)/xr}),(function(e){return e.getMinutes()}))),zr=Ur,Fr=(Ur.range,vr((function(e){e.setTime(e-e.getMilliseconds())}),(function(e,t){e.setTime(+e+t*Mr)}),(function(e,t){return(t-e)/Mr}),(function(e){return e.getUTCSeconds()}))),Hr=Fr,Vr=(Fr.range,vr((function(){}),(function(e,t){e.setTime(+e+t)}),(function(e,t){return t-e})));Vr.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?vr((function(t){t.setTime(Math.floor(t/e)*e)}),(function(t,r){t.setTime(+t+r*e)}),(function(t,r){return(r-t)/e})):Vr:null};var Wr=Vr;Vr.range;function Gr(e){return vr((function(t){t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCDate(e.getUTCDate()+7*t)}),(function(e,t){return(t-e)/Or}))}var Kr=Gr(0),Yr=Gr(1),Xr=Gr(2),$r=Gr(3),Zr=Gr(4),Jr=Gr(5),Qr=Gr(6),en=(Kr.range,Yr.range,Xr.range,$r.range,Zr.range,Jr.range,Qr.range,vr((function(e){e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCDate(e.getUTCDate()+t)}),(function(e,t){return(t-e)/kr}),(function(e){return e.getUTCDate()-1}))),tn=en,rn=(en.range,vr((function(e){e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCFullYear(e.getUTCFullYear()+t)}),(function(e,t){return t.getUTCFullYear()-e.getUTCFullYear()}),(function(e){return e.getUTCFullYear()})));rn.every=function(e){return isFinite(e=Math.floor(e))&&e>0?vr((function(t){t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),(function(t,r){t.setUTCFullYear(t.getUTCFullYear()+r*e)})):null};var nn=rn;rn.range;function on(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function an(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function sn(e,t,r){return{y:e,m:t,d:r,H:0,M:0,S:0,L:0}}var un,cn,ln,fn={"-":"",_:" ",0:"0"},hn=/^\s*\d+/,dn=/^%/,pn=/[\\^$*+?|[\]().{}]/g;function yn(e,t,r){var n=e<0?"-":"",i=(n?-e:e)+"",o=i.length;return n+(o<r?new Array(r-o+1).join(t)+i:i)}function mn(e){return e.replace(pn,"\\$&")}function bn(e){return new RegExp("^(?:"+e.map(mn).join("|")+")","i")}function vn(e){for(var t={},r=-1,n=e.length;++r<n;)t[e[r].toLowerCase()]=r;return t}function gn(e,t,r){var n=hn.exec(t.slice(r,r+1));return n?(e.w=+n[0],r+n[0].length):-1}function _n(e,t,r){var n=hn.exec(t.slice(r,r+1));return n?(e.u=+n[0],r+n[0].length):-1}function wn(e,t,r){var n=hn.exec(t.slice(r,r+2));return n?(e.U=+n[0],r+n[0].length):-1}function Sn(e,t,r){var n=hn.exec(t.slice(r,r+2));return n?(e.V=+n[0],r+n[0].length):-1}function Mn(e,t,r){var n=hn.exec(t.slice(r,r+2));return n?(e.W=+n[0],r+n[0].length):-1}function xn(e,t,r){var n=hn.exec(t.slice(r,r+4));return n?(e.y=+n[0],r+n[0].length):-1}function En(e,t,r){var n=hn.exec(t.slice(r,r+2));return n?(e.y=+n[0]+(+n[0]>68?1900:2e3),r+n[0].length):-1}function kn(e,t,r){var n=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(r,r+6));return n?(e.Z=n[1]?0:-(n[2]+(n[3]||"00")),r+n[0].length):-1}function On(e,t,r){var n=hn.exec(t.slice(r,r+1));return n?(e.q=3*n[0]-3,r+n[0].length):-1}function Tn(e,t,r){var n=hn.exec(t.slice(r,r+2));return n?(e.m=n[0]-1,r+n[0].length):-1}function Pn(e,t,r){var n=hn.exec(t.slice(r,r+2));return n?(e.d=+n[0],r+n[0].length):-1}function An(e,t,r){var n=hn.exec(t.slice(r,r+3));return n?(e.m=0,e.d=+n[0],r+n[0].length):-1}function Rn(e,t,r){var n=hn.exec(t.slice(r,r+2));return n?(e.H=+n[0],r+n[0].length):-1}function jn(e,t,r){var n=hn.exec(t.slice(r,r+2));return n?(e.M=+n[0],r+n[0].length):-1}function Cn(e,t,r){var n=hn.exec(t.slice(r,r+2));return n?(e.S=+n[0],r+n[0].length):-1}function Nn(e,t,r){var n=hn.exec(t.slice(r,r+3));return n?(e.L=+n[0],r+n[0].length):-1}function In(e,t,r){var n=hn.exec(t.slice(r,r+6));return n?(e.L=Math.floor(n[0]/1e3),r+n[0].length):-1}function Ln(e,t,r){var n=dn.exec(t.slice(r,r+1));return n?r+n[0].length:-1}function Dn(e,t,r){var n=hn.exec(t.slice(r));return n?(e.Q=+n[0],r+n[0].length):-1}function Bn(e,t,r){var n=hn.exec(t.slice(r));return n?(e.s=+n[0],r+n[0].length):-1}function qn(e,t){return yn(e.getDate(),t,2)}function Un(e,t){return yn(e.getHours(),t,2)}function zn(e,t){return yn(e.getHours()%12||12,t,2)}function Fn(e,t){return yn(1+Dr.count(_r(e),e),t,3)}function Hn(e,t){return yn(e.getMilliseconds(),t,3)}function Vn(e,t){return Hn(e,t)+"000"}function Wn(e,t){return yn(e.getMonth()+1,t,2)}function Gn(e,t){return yn(e.getMinutes(),t,2)}function Kn(e,t){return yn(e.getSeconds(),t,2)}function Yn(e){var t=e.getDay();return 0===t?7:t}function Xn(e,t){return yn(Pr.count(_r(e)-1,e),t,2)}function $n(e){var t=e.getDay();return t>=4||0===t?Cr(e):Cr.ceil(e)}function Zn(e,t){return e=$n(e),yn(Cr.count(_r(e),e)+(4===_r(e).getDay()),t,2)}function Jn(e){return e.getDay()}function Qn(e,t){return yn(Ar.count(_r(e)-1,e),t,2)}function ei(e,t){return yn(e.getFullYear()%100,t,2)}function ti(e,t){return yn((e=$n(e)).getFullYear()%100,t,2)}function ri(e,t){return yn(e.getFullYear()%1e4,t,4)}function ni(e,t){var r=e.getDay();return yn((e=r>=4||0===r?Cr(e):Cr.ceil(e)).getFullYear()%1e4,t,4)}function ii(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+yn(t/60|0,"0",2)+yn(t%60,"0",2)}function oi(e,t){return yn(e.getUTCDate(),t,2)}function ai(e,t){return yn(e.getUTCHours(),t,2)}function si(e,t){return yn(e.getUTCHours()%12||12,t,2)}function ui(e,t){return yn(1+tn.count(nn(e),e),t,3)}function ci(e,t){return yn(e.getUTCMilliseconds(),t,3)}function li(e,t){return ci(e,t)+"000"}function fi(e,t){return yn(e.getUTCMonth()+1,t,2)}function hi(e,t){return yn(e.getUTCMinutes(),t,2)}function di(e,t){return yn(e.getUTCSeconds(),t,2)}function pi(e){var t=e.getUTCDay();return 0===t?7:t}function yi(e,t){return yn(Kr.count(nn(e)-1,e),t,2)}function mi(e){var t=e.getUTCDay();return t>=4||0===t?Zr(e):Zr.ceil(e)}function bi(e,t){return e=mi(e),yn(Zr.count(nn(e),e)+(4===nn(e).getUTCDay()),t,2)}function vi(e){return e.getUTCDay()}function gi(e,t){return yn(Yr.count(nn(e)-1,e),t,2)}function _i(e,t){return yn(e.getUTCFullYear()%100,t,2)}function wi(e,t){return yn((e=mi(e)).getUTCFullYear()%100,t,2)}function Si(e,t){return yn(e.getUTCFullYear()%1e4,t,4)}function Mi(e,t){var r=e.getUTCDay();return yn((e=r>=4||0===r?Zr(e):Zr.ceil(e)).getUTCFullYear()%1e4,t,4)}function xi(){return"+0000"}function Ei(){return"%"}function ki(e){return+e}function Oi(e){return Math.floor(+e/1e3)}!function(e){un=function(e){var t=e.dateTime,r=e.date,n=e.time,i=e.periods,o=e.days,a=e.shortDays,s=e.months,u=e.shortMonths,c=bn(i),l=vn(i),f=bn(o),h=vn(o),d=bn(a),p=vn(a),y=bn(s),m=vn(s),b=bn(u),v=vn(u),g={a:function(e){return a[e.getDay()]},A:function(e){return o[e.getDay()]},b:function(e){return u[e.getMonth()]},B:function(e){return s[e.getMonth()]},c:null,d:qn,e:qn,f:Vn,g:ti,G:ni,H:Un,I:zn,j:Fn,L:Hn,m:Wn,M:Gn,p:function(e){return i[+(e.getHours()>=12)]},q:function(e){return 1+~~(e.getMonth()/3)},Q:ki,s:Oi,S:Kn,u:Yn,U:Xn,V:Zn,w:Jn,W:Qn,x:null,X:null,y:ei,Y:ri,Z:ii,"%":Ei},_={a:function(e){return a[e.getUTCDay()]},A:function(e){return o[e.getUTCDay()]},b:function(e){return u[e.getUTCMonth()]},B:function(e){return s[e.getUTCMonth()]},c:null,d:oi,e:oi,f:li,g:wi,G:Mi,H:ai,I:si,j:ui,L:ci,m:fi,M:hi,p:function(e){return i[+(e.getUTCHours()>=12)]},q:function(e){return 1+~~(e.getUTCMonth()/3)},Q:ki,s:Oi,S:di,u:pi,U:yi,V:bi,w:vi,W:gi,x:null,X:null,y:_i,Y:Si,Z:xi,"%":Ei},w={a:function(e,t,r){var n=d.exec(t.slice(r));return n?(e.w=p[n[0].toLowerCase()],r+n[0].length):-1},A:function(e,t,r){var n=f.exec(t.slice(r));return n?(e.w=h[n[0].toLowerCase()],r+n[0].length):-1},b:function(e,t,r){var n=b.exec(t.slice(r));return n?(e.m=v[n[0].toLowerCase()],r+n[0].length):-1},B:function(e,t,r){var n=y.exec(t.slice(r));return n?(e.m=m[n[0].toLowerCase()],r+n[0].length):-1},c:function(e,r,n){return x(e,t,r,n)},d:Pn,e:Pn,f:In,g:En,G:xn,H:Rn,I:Rn,j:An,L:Nn,m:Tn,M:jn,p:function(e,t,r){var n=c.exec(t.slice(r));return n?(e.p=l[n[0].toLowerCase()],r+n[0].length):-1},q:On,Q:Dn,s:Bn,S:Cn,u:_n,U:wn,V:Sn,w:gn,W:Mn,x:function(e,t,n){return x(e,r,t,n)},X:function(e,t,r){return x(e,n,t,r)},y:En,Y:xn,Z:kn,"%":Ln};function S(e,t){return function(r){var n,i,o,a=[],s=-1,u=0,c=e.length;for(r instanceof Date||(r=new Date(+r));++s<c;)37===e.charCodeAt(s)&&(a.push(e.slice(u,s)),null!=(i=fn[n=e.charAt(++s)])?n=e.charAt(++s):i="e"===n?" ":"0",(o=t[n])&&(n=o(r,i)),a.push(n),u=s+1);return a.push(e.slice(u,s)),a.join("")}}function M(e,t){return function(r){var n,i,o=sn(1900,void 0,1);if(x(o,e,r+="",0)!=r.length)return null;if("Q"in o)return new Date(o.Q);if("s"in o)return new Date(1e3*o.s+("L"in o?o.L:0));if(t&&!("Z"in o)&&(o.Z=0),"p"in o&&(o.H=o.H%12+12*o.p),void 0===o.m&&(o.m="q"in o?o.q:0),"V"in o){if(o.V<1||o.V>53)return null;"w"in o||(o.w=1),"Z"in o?(i=(n=an(sn(o.y,0,1))).getUTCDay(),n=i>4||0===i?Yr.ceil(n):Yr(n),n=tn.offset(n,7*(o.V-1)),o.y=n.getUTCFullYear(),o.m=n.getUTCMonth(),o.d=n.getUTCDate()+(o.w+6)%7):(i=(n=on(sn(o.y,0,1))).getDay(),n=i>4||0===i?Ar.ceil(n):Ar(n),n=Dr.offset(n,7*(o.V-1)),o.y=n.getFullYear(),o.m=n.getMonth(),o.d=n.getDate()+(o.w+6)%7)}else("W"in o||"U"in o)&&("w"in o||(o.w="u"in o?o.u%7:"W"in o?1:0),i="Z"in o?an(sn(o.y,0,1)).getUTCDay():on(sn(o.y,0,1)).getDay(),o.m=0,o.d="W"in o?(o.w+6)%7+7*o.W-(i+5)%7:o.w+7*o.U-(i+6)%7);return"Z"in o?(o.H+=o.Z/100|0,o.M+=o.Z%100,an(o)):on(o)}}function x(e,t,r,n){for(var i,o,a=0,s=t.length,u=r.length;a<s;){if(n>=u)return-1;if(37===(i=t.charCodeAt(a++))){if(i=t.charAt(a++),!(o=w[i in fn?t.charAt(a++):i])||(n=o(e,r,n))<0)return-1}else if(i!=r.charCodeAt(n++))return-1}return n}return g.x=S(r,g),g.X=S(n,g),g.c=S(t,g),_.x=S(r,_),_.X=S(n,_),_.c=S(t,_),{format:function(e){var t=S(e+="",g);return t.toString=function(){return e},t},parse:function(e){var t=M(e+="",!1);return t.toString=function(){return e},t},utcFormat:function(e){var t=S(e+="",_);return t.toString=function(){return e},t},utcParse:function(e){var t=M(e+="",!0);return t.toString=function(){return e},t}}}(e),cn=un.format,un.parse,ln=un.utcFormat,un.utcParse}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});var Ti=1e3,Pi=6e4,Ai=36e5,Ri=864e5,ji=2592e6,Ci=31536e6;function Ni(e){return new Date(e)}function Ii(e){return e instanceof Date?+e:+new Date(+e)}function Li(e,t,r,n,i,o,a,s,u){var c=Ft(Bt,Le),l=c.invert,f=c.domain,h=u(".%L"),d=u(":%S"),p=u("%I:%M"),y=u("%I %p"),m=u("%a %d"),b=u("%b %d"),v=u("%B"),g=u("%Y"),_=[[a,1,Ti],[a,5,5e3],[a,15,15e3],[a,30,3e4],[o,1,Pi],[o,5,3e5],[o,15,9e5],[o,30,18e5],[i,1,Ai],[i,3,108e5],[i,6,216e5],[i,12,432e5],[n,1,Ri],[n,2,1728e5],[r,1,6048e5],[t,1,ji],[t,3,7776e6],[e,1,Ci]];function w(s){return(a(s)<s?h:o(s)<s?d:i(s)<s?p:n(s)<s?y:t(s)<s?r(s)<s?m:b:e(s)<s?v:g)(s)}function S(t,r,n,i){if(null==t&&(t=10),"number"===typeof t){var o=Math.abs(n-r)/t,a=Je((function(e){return e[2]})).right(_,o);a===_.length?(i=lt(r/Ci,n/Ci,t),t=e):a?(i=(a=_[o/_[a-1][2]<_[a][2]/o?a-1:a])[1],t=a[0]):(i=Math.max(lt(r,n,t),1),t=s)}return null==i?t:t.every(i)}return c.invert=function(e){return new Date(l(e))},c.domain=function(e){return arguments.length?f(Tt.call(e,Ii)):f().map(Ni)},c.ticks=function(e,t){var r,n=f(),i=n[0],o=n[n.length-1],a=o<i;return a&&(r=i,i=o,o=r),r=(r=S(e,i,o,t))?r.range(i,o+1):[],a?r.reverse():r},c.tickFormat=function(e,t){return null==t?w:u(t)},c.nice=function(e,t){var r=f();return(e=S(e,r[0],r[r.length-1],t))?f(ar(r,e)):c},c.copy=function(){return zt(c,Li(e,t,r,n,i,o,a,s,u))},c}var Di=vr((function(e){e.setUTCDate(1),e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCMonth(e.getUTCMonth()+t)}),(function(e,t){return t.getUTCMonth()-e.getUTCMonth()+12*(t.getUTCFullYear()-e.getUTCFullYear())}),(function(e){return e.getUTCMonth()})),Bi=Di,qi=(Di.range,vr((function(e){e.setUTCMinutes(0,0,0)}),(function(e,t){e.setTime(+e+t*Er)}),(function(e,t){return(t-e)/Er}),(function(e){return e.getUTCHours()}))),Ui=qi,zi=(qi.range,vr((function(e){e.setUTCSeconds(0,0)}),(function(e,t){e.setTime(+e+t*xr)}),(function(e,t){return(t-e)/xr}),(function(e){return e.getUTCMinutes()}))),Fi=zi,Hi=(zi.range,function(e){return e.match(/.{6}/g).map((function(e){return"#"+e}))}),Vi=(Hi("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf"),Hi("393b795254a36b6ecf9c9ede6379398ca252b5cf6bcedb9c8c6d31bd9e39e7ba52e7cb94843c39ad494ad6616be7969c7b4173a55194ce6dbdde9ed6"),Hi("3182bd6baed69ecae1c6dbefe6550dfd8d3cfdae6bfdd0a231a35474c476a1d99bc7e9c0756bb19e9ac8bcbddcdadaeb636363969696bdbdbdd9d9d9"),Hi("1f77b4aec7e8ff7f0effbb782ca02c98df8ad62728ff98969467bdc5b0d58c564bc49c94e377c2f7b6d27f7f7fc7c7c7bcbd22dbdb8d17becf9edae5"),Math.PI/180),Wi=180/Math.PI,Gi=-.14861,Ki=1.78277,Yi=-.29227,Xi=-.90649,$i=1.97294,Zi=-1.7884503806,Ji=3.5172982438,Qi=-.6557636667999999;function eo(e){if(e instanceof ro)return new ro(e.h,e.s,e.l,e.opacity);e instanceof me||(e=pe(e));var t=e.r/255,r=e.g/255,n=e.b/255,i=(Qi*n+Zi*t-Ji*r)/(Qi+Zi-Ji),o=n-i,a=($i*(r-i)-Yi*o)/Xi,s=Math.sqrt(a*a+o*o)/($i*i*(1-i)),u=s?Math.atan2(a,o)*Wi-120:NaN;return new ro(u<0?u+360:u,s,i,e.opacity)}function to(e,t,r,n){return 1===arguments.length?eo(e):new ro(e,t,r,null==n?1:n)}function ro(e,t,r,n){this.h=+e,this.s=+t,this.l=+r,this.opacity=+n}function no(e){return function t(r){function n(t,n){var i=e((t=to(t)).h,(n=to(n)).h),o=Pe(t.s,n.s),a=Pe(t.l,n.l),s=Pe(t.opacity,n.opacity);return function(e){return t.h=i(e),t.s=o(e),t.l=a(Math.pow(e,r)),t.opacity=s(e),t+""}}return r=+r,n.gamma=t,n}(1)}K(ro,to,Y(X,{brighter:function(e){return e=null==e?Z:Math.pow(Z,e),new ro(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?$:Math.pow($,e),new ro(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=isNaN(this.h)?0:(this.h+120)*Vi,t=+this.l,r=isNaN(this.s)?0:this.s*t*(1-t),n=Math.cos(e),i=Math.sin(e);return new me(255*(t+r*(Gi*n+Ki*i)),255*(t+r*(Yi*n+Xi*i)),255*(t+r*($i*n)),this.opacity)}}));no((function(e,t){var r=t-e;return r?Oe(e,r>180||r<-180?r-360*Math.round(r/360):r):ke(isNaN(e)?t:e)}));var io=no(Pe);io(to(300,.5,0),to(-240,.5,1)),io(to(-100,.75,.35),to(80,1.5,.8)),io(to(260,.75,.35),to(80,1.5,.8)),to();function oo(e){var t=e.length;return function(r){return e[Math.max(0,Math.min(t-1,Math.floor(r*t)))]}}oo(Hi("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588
2c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725")),oo(Hi("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),oo(Hi("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),oo(Hi("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0a
2a58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921"));var ao=r(19);function so(e){return"[object Date]"===Object.prototype.toString.call(e)?e.toDateString():e}var uo,co=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},lo=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var r=[],n=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(u){i=!0,o=u}finally{try{!n&&s.return&&s.return()}finally{if(i)throw o}}return r}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};function fo(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t<e.length;t++)r[t]=e[t];return r}return Array.from(e)}function ho(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var po="linear",yo="ordinal",mo="category",bo="literal",vo="time",go=(ho(uo={},po,or),ho(uo,yo,(function(){return Ct(jt().paddingInner(1))})),ho(uo,mo,Rt),ho(uo,bo,Lo),ho(uo,"log",(function e(){var t=Ft(sr,ur).domain([1,10]),r=t.domain,n=10,i=fr(10),o=lr(10);function a(){return i=fr(n),o=lr(n),r()[0]<0&&(i=hr(i),o=hr(o)),t}return t.base=function(e){return arguments.length?(n=+e,a()):n},t.domain=function(e){return arguments.length?(r(e),a()):r()},t.ticks=function(e){var t,a=r(),s=a[0],u=a[a.length-1];(t=u<s)&&(h=s,s=u,u=h);var c,l,f,h=i(s),d=i(u),p=null==e?10:+e,y=[];if(!(n%1)&&d-h<p){if(h=Math.round(h)-1,d=Math.round(d)+1,s>0){for(;h<d;++h)for(l=1,c=o(h);l<n;++l)if(!((f=c*l)<s)){if(f>u)break;y.push(f)}}else for(;h<d;++h)for(l=n-1,c=o(h);l>=1;--l)if(!((f=c*l)<s)){if(f>u)break;y.push(f)}}else y=ut(h,d,Math.min(d-h,p)).map(o);return t?y.reverse():y},t.tickFormat=function(e,r){if(null==r&&(r=10===n?".0e":","),"function"!==typeof r&&(r=Xt(r)),e===1/0)return r;null==e&&(e=10);var a=Math.max(1,n*e/t.ticks().length);return function(e){var t=e/o(Math.round(i(e)));return t*n<n-.5&&(t*=n),t<=a?r(e):""}},t.nice=function(){return r(ar(r(),{floor:function(e){return o(Math.floor(i(e)))},ceil:function(e){return o(Math.ceil(i(e)))}}))},t.copy=function(){return zt(t,e().base(n))},t})),ho(uo,vo,(function(){return Li(_r,Sr,Pr,Dr,qr,zr,Hr,Wr,cn).domain([new Date(2e3,0,1),new Date(2e3,0,2)])})),ho(uo,"time-utc",(function(){return Li(nn,Bi,Kr,tn,Ui,Fi,Hr,Wr,ln).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)])})),uo),_o=["color","fill","opacity","stroke"];function wo(e){return""+e[0].toUpperCase()+e.slice(1)}function So(e){if(!e)return null;var t=e.type,r=e.domain,n=e.range,i=r[0]===r[1]?0===r[0]?[-1,0]:[-r[0],r[0]]:r;if(t===bo)return Lo(n[0]);var o=go[t]().domain(i).range(n);return t===yo&&(o.padding(.5),function(e){e.invert||(e.invert=function(t){var r=e.range(),n=lo(r,2),i=n[0],o=n[1],a=Math.min(i,o),s=Math.max(i,o);if(t<a+e.padding()*e.step())return e.domain()[0];if(t>s-e.padding()*e.step())return e.domain()[e.domain().length-1];var u=Math.floor((t-a-e.padding()*e.step())/e.step());return e.domain()[u]})}(o)),o}function Mo(e,t,r,n){var i=e.reduce((function(e,n){var i=t(n),o=r(n);return Po(i)&&e.push(i),Po(o)&&e.push(o),e}),[]);return i.length?n!==yo&&n!==mo?rt(i):kt(i).values():[]}function xo(e,t,r,n,i){return r===bo?{type:bo,domain:[],range:[t],distance:0,attr:e,baseValue:void 0,isValue:!0,accessor:n,accessor0:i}:"undefined"===typeof t?null:{type:mo,range:[t],domain:[],distance:0,attr:e,baseValue:void 0,isValue:!0,accessor:n,accessor0:i}}function Eo(e,t){var r=t.domain,n=t.type,i=t.accessor,o=t.accessor0,a=function(e,t,r,n){return n===vo&&1===t.length?[r(e[0])].concat(fo(t)):t}(e,function(e,t){var r=new Set(e.map(t));return Array.from(r)}(e,i),o,n),s=function(e,t){var r=So(t),n=0;if(r)for(var i=void 0,o=r(e[0]),a=1/0,s=void 0,u=1;u<e.length;u++)i=r(e[u]),(s=Math.abs(i-o))<a&&(a=s,n=u),o=i;return n}(a,t),u=[].concat(r);u[0]-=function(e){return e.length>1?(e[1]-e[0])/2:1===e.length?e[0]-.5:0}(a),u[r.length-1]+=function(e){return e.length>1?(e[e.length-1]-e[e.length-2])/2:1===e.length?e[0]-.5:0}
2(a),"log"===n&&r[0]<=0&&(u[0]=Math.min(r[1]/10,1));var c=function(e,t,r,n){if(e.length>1){var i=Math.max(r,1);return Math.abs(n(e[i])-n(e[i-1]))}return 1===e.length?Math.abs(n(t[1])-n(t[0])):0}(a,u,s,So(co({},t,{domain:u})));return{domain0:u[0],domainN:u[u.length-1],distance:c}}function ko(e,t){var r=function(e,t){var r,n=e[t],i=e["_"+t+"Value"],o=e[t+"Range"],a=e[t+"Distance"],s=void 0===a?0:a,u=e[t+"BaseValue"],c=e[t+"Type"],l=void 0===c?po:c,f=e[t+"NoFallBack"],h=e["get"+wo(t)],d=void 0===h?function(e){return e[t]}:h,p=e["get"+wo(t)+"0"],y=void 0===p?function(e){return e[t+"0"]}:p,m=e[t+"Domain"];return f||"undefined"===typeof n?("undefined"!==typeof u&&(m=function(e,t){var r=[].concat(e);return r[0]>t&&(r[0]=t),r[r.length-1]<t&&(r[r.length-1]=t),r}(m,u)),o&&m&&m.length?{domain:(r={domain:m,range:o,type:l,distance:s,attr:t,baseValue:u,accessor:d,accessor0:y}).domain,range:r.range,type:r.type,distance:r.distance,attr:r.attr,baseValue:r.baseValue,isValue:!1,accessor:r.accessor,accessor0:r.accessor0}:xo(t,i,e[t+"Type"],d,y)):xo(t,n,e[t+"Type"],d,y)}(e,t);if(!r)return null;if(!function(e,t){var r=t.attr,n=e._adjustBy,i=void 0===n?[]:n,o=e._adjustWhat;return(void 0===o?[]:o).length&&i.length&&-1!==i.indexOf(r)}(e,r))return r;var n=r.type;return n===yo||n===mo?function(e){var t=So(e),r=e.domain,n=e.range;return r.length>1?e.distance=Math.abs(t(r[1])-t(r[0])):e.distance=Math.abs(n[1]-n[0]),e}(r):function(e,t){var r=e._allData,n=e._adjustWhat,i=void 0===n?[]:n,o=t.domain.length,a=t.domain,s=a[0],u=a[o-1],c=t.distance;return r.forEach((function(e,r){if(-1!==i.indexOf(r)&&e&&e.length){var n=Eo(e,t),o=n.domain0,a=n.domainN,l=n.distance;s=Math.min(s,o),u=Math.max(u,a),c=Math.max(c,l)}})),t.domain=[s].concat(fo(a.slice(1,-1)),[u]),t.distance=c,t}(e,r)}function Oo(e,t){return So(ko(e,t))}function To(e,t){return t(e.data?e.data:e)}function Po(e){return"undefined"!==typeof e}function Ao(e,t){var r=ko(e,t);if(r){var n=So(r);return function(e){return n(To(e,r.accessor))}}return null}function Ro(e,t){var r=ko(e,t);if(r){var n=r.domain,i=r.baseValue,o=void 0===i?n[0]:i,a=So(r);return function(e){var t=To(e,r.accessor0);return a(Po(t)?t:o)}}return null}function jo(e,t){var r=ko(e,t);return r?(r.isValue||void 0!==e["_"+t+"Value"]||Object(ao.b)("[React-vis] Cannot use data defined "+t+" for this series type. Using fallback value instead."),e["_"+t+"Value"]||r.range[0]):null}function Co(e){var t;return ho(t={},"_"+e+"Value",o.a.any),ho(t,e+"Domain",o.a.array),ho(t,"get"+wo(e),o.a.func),ho(t,"get"+wo(e)+"0",o.a.func),ho(t,e+"Range",o.a.array),ho(t,e+"Type",o.a.oneOf(Object.keys(go))),ho(t,e+"Distance",o.a.number),ho(t,e+"BaseValue",o.a.any),t}function No(e,t){var r={};return Object.keys(e).forEach((function(n){t.find((function(e){var t=0===n.indexOf(e),r=0===n.indexOf("_"+e),i=0===n.indexOf("get"+wo(e));return t||r||i}))&&(r[n]=e[n])})),r}function Io(e,t,r){var n={};return r.forEach((function(r){e["get"+wo(r)]||(n["get"+wo(r)]=function(e){return e[r]}),e["get"+wo(r)+"0"]||(n["get"+wo(r)+"0"]=function(e){return e[r+"0"]}
2),e[r+"Domain"]||(n[r+"Domain"]=Mo(t,e["get"+wo(r)]||n["get"+wo(r)],e["get"+wo(r)+"0"]||n["get"+wo(r)+"0"],e[r+"Type"]),e[r+"Padding"]&&(n[r+"Domain"]=function(e,t){if(!e)return e;if(isNaN(parseFloat(e[0]))||isNaN(parseFloat(e[1])))return e;var r=lo(e,2),n=r[0],i=r[1],o=.01*t*(i-n);return[n-o,i+o]}(n[r+"Domain"],e[r+"Padding"])))})),n}function Lo(e){function t(t){return void 0===t?e:t}function r(){return t}return t.domain=r,t.range=r,t.unknown=r,t.copy=r,t}function Do(e){return e?Se(e).l>.57?"#222":"#fff":null}function Bo(e,t){var r=_o.reduce((function(t,r){var n=e[r+"Domain"],i=e[r+"Range"],o=e[r+"Type"];return n&&i&&o?co({},t,ho({},r,go[o]().domain(n).range(i))):t}),{});return t.map((function(e){return _o.reduce((function(t,n){if(e.props&&void 0!==e.props[n]){var i=e.props[n],o=r[n],a=o?o(i):i;return co({},t,ho({},"_"+n+"Value",a))}return t}),{})}))}var qo=["Padding"].map((function(e){return new RegExp(e+"$","i")}));function Uo(e){return Object.keys(e).reduce((function(t,r){return qo.every((function(e){return!r.match(e)}))||(t[r]=e[r]),t}),{})}var zo=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();function Fo(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ho(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var Vo=(Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e})({},Co("x"),Co("y"),Co("size"),Co("opacity"),Co("color"),{width:o.a.number,height:o.a.number,data:o.a.arrayOf(o.a.oneOfType([o.a.object,o.a.array])),onValueMouseOver:o.a.func,onValueMouseOut:o.a.func,onValueClick:o.a.func,onValueRightClick:o.a.func,onSeriesMouseOver:o.a.func,onSeriesMouseOut:o.a.func,onSeriesClick:o.a.func,onSeriesRightClick:o.a.func,onNearestX:o.a.func,onNearestXY:o.a.func,style:o.a.object,animation:$e,stack:o.a.bool}),Wo=function(e){function t(){var e,r,n;Fo(this,t);for(var i=arguments.length,o=Array(i),a=0;a<i;a++)o[a]=arguments[a];return r=n=Ho(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(o))),n._seriesClickHandler=function(e){var t=n.props.onSeriesClick;t&&t({event:e})},n._seriesMouseOutHandler=function(e){var t=n.props.onSeriesMouseOut;t&&t({event:e})},n._seriesMouseOverHandler=function(e){var t=n.props.onSeriesMouseOver;t&&t({event:e})},n._seriesRightClickHandler=function(e){var t=n.props.onSeriesRightClick;t&&t({event:e})},n._valueClickHandler=function(e,t){var r=n.props,i=r.onValueClick,o=r.onSeriesClick;i&&i(e,{event:t}),o&&o({event:t})},n._valueMouseOutHandler=function(e,t){var r=n.props,i=r.onValueMouseOut,o=r.onSeriesMouseOut;i&&i(e,{event:t}),o&&o({event:t})},n._valueMouseOverHandler=function(e,t){var r=n.props,i=r.onValueMouseOver,o=r.onSeriesMouseOver;i&&i(e,{event:t}),o&&o({event:t})},n._valueRightClickHandler=function(e,t){var r=n.props,i=r.onValueRightClick,o=r.onSeriesRightClick;i&&i(e,{event:t}),o&&o({event:t})},Ho(n,r)}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),zo(t,[{key:"onParentMouseMove",value:function(e){var t=this.props,r=t.onNearestX,n=t.onNearestXY,i=t.data;(r||n)&&i&&(n?this._handleNearestXY(e):this._handleNearestX(e))}},{key:"onParentTouchMove",value:function(e){e.preventDefault(),this.onParentMouseMove(e)}},{key:"onParentTouchStart",value:function(e){e.preventDefault()}},{key:"_getAttr0Functor",value:function(e){return Ro(this.props,e)}},{key:"_getAttributeFunctor",value:function(e){return Ao(this.props,e)}},{key:"_getAttributeValue",value:function(e){return jo(this.props,e)}},{key:"_getScaleDistance",value:function(e){var t=ko(this.props,e);return t?t.distance:0}},{key:"_getXYCoordinateInContainer",value:function(e){var t=this.props,r=t.marginTop,n=void 0===r?0:r,i=t.marginLeft,o=void 0===i?0:i,a=e.nativeEvent,s=e.currentTarget,u=s.getBoundingClientRect(),c=a.clientX,l=a.clientY;return"touchmove"===a.type&&(c=a.touches[0].pageX,l=a.touches[0].pageY),{x:c-u.left-s.clientLeft-o,y:l-u.top-s.clientTop-n}}},{key:"_handleNearestX",value:function(e){var t=this.props,r=t.onNearestX,n=t.data,i=Number.POSITIVE_INFINITY,o=null,a=null,s=this._getXYCoordinateInContainer(e),u=this._getAttributeFunctor("x");
2n.forEach((function(e,t){var r=u(e),n=Math.abs(s.x-r);n<i&&(i=n,o=e,a=t)})),o&&r(o,{innerX:u(o),index:a,event:e.nativeEvent})}},{key:"_handleNearestXY",value:function(e){var t=this.props,r=t.onNearestXY,n=t.data,i=this._getXYCoordinateInContainer(e),o=this._getAttributeFunctor("x"),a=this._getAttributeFunctor("y"),s=V().x(o).y(a)(n).find(i.x,i.y),u=s.data;u&&r(u,{innerX:s[0],innerY:s[1],index:s.index,event:e.nativeEvent})}}],[{key:"getParentConfig",value:function(){return{}}},{key:"requiresSVG",get:function(){return!0}}]),t}(W.PureComponent);Wo.displayName="AbstractSeries",Wo.propTypes=Vo,Wo.defaultProps={className:"",stack:!1,style:{}};var Go=Wo,Ko=["#12939A","#79C7E3","#1A3177","#FF9833","#EF5D28"],Yo=["#19CDD7","#DDB27C","#88572C","#FF991F","#F15C17","#223F9A","#DA70BF","#125C77","#4DC19C","#776E57","#12939A","#17B8BE","#F6D18A","#B7885E","#FFCB99","#F89570","#829AE3","#E79FD5","#1E96BE","#89DAC1","#B3AD9E"],Xo=["#EF5D28","#FF9833"],$o=[1,10],Zo="literal",Jo=Ko[0],Qo=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e};function ea(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ta(e){return e.type.prototype instanceof Go}function ra(e){return G.a.Children.toArray(e).filter((function(e){return e&&ta(e)}))}function na(e,t){var r=e.some((function(e){return e&&e.props.stack})),n={};return e.reduce((function(e,i,o){if(!i)return e.push(null),e;var a=i.type.displayName,s=i.props,u=s.data,c=s.cluster,l=void 0===c?"default":c,f=s.stack,h=function(e){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return!!e&&e.some((function(e){return e.radius&&e.angle}))}(e)?e.map((function(e){return Qo({},e,{x:e.radius*Math.cos(e.angle),y:e.radius*Math.sin(e.angle)})})):e}(u);if(!t||!h||!h.length||r&&!f)return e.push(h),e;var d=t+"0",p="y"===t?"x":"y";return e.push(h.map((function(e,r){var i,o;n[l]||(n[l]={}),n[l][a]||(n[l][a]={});var s,u=n[l][a][e[p]];if(!u)return n[l][a][e[p]]=(ea(s={},d,e[d]),ea(s,t,e[t]),s),Qo({},e);var c=Qo({},e,(ea(i={},d,u[t]),ea(i,t,u[t]+e[t]-(e[d]||0)),i));return n[l][a][e[p]]=(ea(o={},d,c[d]),ea(o,t,c[t]),o),c}))),e}),[])}function ia(e){var t=[],r=function(e){var t={};return e.filter(ta).forEach((function(e){var r=e.type.displayName,n=e.props.cluster;t[r]||(t[r]={sameTypeTotal:0,sameTypeIndex:0,clusters:new Set}),t[r].clusters.add(n),t[r].sameTypeTotal++})),t}(e),n=0;return e.forEach((function(e){var i=void 0;if(ta(e)){var o=r[e.type.displayName];i=Qo({},o,{seriesIndex:n,_colorValue:Ko[n%Ko.length],_opacityValue:1}),o.sameTypeIndex++,n++,e.props.cluster&&(i.cluster=e.props.cluster,i.clusters=Array.from(o.clusters),i.sameTypeTotal=i.clusters.length,i.sameTypeIndex=i.clusters.indexOf(e.props.cluster))}t.push(i)})),t}function oa(e){return e.reduce((function(e,t){return Math.max(t.radius,e)}),0)}var aa=["xRange","xDomain","x","yRange","yDomain","y","colorRange","colorDomain","color","opacityRange","opacityDomain","opacity","strokeRange","strokeDomain","stroke","fillRange","fillDomain","fill","width","height","marginLeft","marginTop","marginRight","marginBottom","data","angleDomain","angleRange","angle","radiusDomain","radiusRange","radius","innerRadiusDomain","innerRadiusRange","innerRadius"];function sa(e){var t=e._stackBy,r=e.valuePosAttr,n=e.cluster,i=e.sameTypeTotal,o=void 0===i?1:i,a=e.sameTypeIndex,s=void 0===a?0:a;return t!==r||n||(o=1,s=0),{sameTypeTotal:o,sameTypeIndex:s}}var ua=Math.PI,ca=2*ua,la=1e-6,fa=ca-la;function ha(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function da(){return new ha}ha.prototype=da.prototype={constructor:ha,moveTo:function(e,t){this._+="M"+(this._x0=this._x1=+e)+","+(this._y0=this._y1=+t)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(e,t){this._+="L"+(this._x1=+e)+","+(this._y1=+t)},quadraticCurveTo:function(e,t,r,n){this._+="Q"+ +e+","+ +t+","+(this._x1=+r)+","+(this._y1=+n)},bezierCurveTo:function(e,t,r,n,i,o){this._+="C"+ +e+","+ +t+","+ +r+","+ +n+","+(this._x1=+i)+","+(this._y1=+o)},arcTo:function(e,t,r,n,i){e=+e,t=+t,r=+r,n=+n,i=+i;var o=this._x1,a=this._y1,s=r-e,u=n-t,c=o-e,l=a-t,f=c*c+l*l;if(i<0)throw new Error("negative radius: "+i);if(null===this._x1)this._+="M"+(this._x1=e)+","+(this._y1=t);else if(f>la)if(Math.abs(l*s-u*c)>la&&i){var h=r-o,d=n-a,p=s*s+u*u,y=h*h+d*d,m=Math.sqrt(p),b=Math.sqrt(f),v=i*Math.tan((ua-Math.acos((p+f-y)/(2*m*b)))/2),g=v/b,_=v/m;Math.abs(g-1)>la&&(this._+="L"+(e+g*c)+","+(t+g*l)),this._+="A"+i+","+i+",0,0,"+ +(l*h>c*d)+","+(this._x1=e+_*s)+","+(this._y1=t+_*u)}else this._+="L"+(this._x1=e)+","+(this._y1=t);else;},arc:function(e,t,r,n,i,o){e=+e,t=+t,o=!!o;var a=(r=+r)*Math.cos(n),s=r*Math.sin(n),u=e+a,c=t+s,l=1^o,f=o?n-i:i-n;if(r<0)throw new Error("negative radius: "+r);null===this._x1?this._+="M"+u+","+c:(Math.abs(this._x1-u)>la||Math.abs(this._y1-c)>la)&&(this._+="L"+u+","+c),r&&(f<0&&(f=f%ca+ca),f>fa?this._+="A"+r+","+r+",0,1,"+l+","+(e-a)+","+(t-s)+"A"+r+","+r+",0,1,"+l+","+(this._x1=u)+","+(this._y1=c):f>la&&(this._+="A"+r+","+r+",0,"+ +(f>=ua)+","+l+","+(this._x1=e+r*Math.cos(i))+","+(this._y1=t+r*Math.sin(i))))},rect:function(e,t,r,n){this._+="M"+(this._x0=this._x1=+e)+","+(this._y0=this._y1=+t)+"h"+ +r+"v"+ +n+"h"+-r+"Z"},toString:function(){return this._}};var pa=da,ya=function(e){return function(){return e}},ma=Math.abs,ba=Math.atan2,va=Math.cos,ga=Math.max,_a=Math.min,wa=Math.sin,Sa=Math.sqrt,Ma=1e-12,xa=Math.PI,Ea=xa/2,ka=2*xa;function Oa(e){return e>1?0:e<-1?xa:Math.acos(e)}function Ta(e){return e>=1?Ea:e<=-1?-Ea:Math.asin(e)}function Pa(e){return e.innerRadius}function Aa(e){return e.outerRadius}function Ra(e){return e.startAngle}function ja(e){return e.endAngle}function Ca(e){return e&&e.padAngle}function Na(e,t,r,n,i,o,a,s){var u=r-e,c=n-t,l=a-i,f=s-o,h=f*u-l*c;if(!(h*h<Ma))return[e+(h=(l*(t-o)-f*(e-i))/h)*u,t+h*c]}function Ia(e,t,r,n,i,o,a){var s=e-r,u=t-n,c=(a?o:-o)/Sa(s*s+u*u),l=c*u,f=-c*s,h=e+l,d=t+f,p=r+l,y=n+f,m=(h+p)/2,b=(d+y)/2,v=p-h,g=y-d,_=v*v+g*g,w=i-o,S=h*y-p*d,M=(g<0?-1:1)*Sa(ga(0,w*w*_-S*S)),x=(S*g-v*M)/_,E=(-S*v-g*M)/_,k=(S*g+v*M)/_,O=(-S*v+g*M)/_,T=x-m,P=E-b,A=k-m,R=O-b;return T*T+P*P>
2A*A+R*R&&(x=k,E=O),{cx:x,cy:E,x01:-l,y01:-f,x11:x*(i/w-1),y11:E*(i/w-1)}}var La=function(){var e=Pa,t=Aa,r=ya(0),n=null,i=Ra,o=ja,a=Ca,s=null;function u(){var u,c,l=+e.apply(this,arguments),f=+t.apply(this,arguments),h=i.apply(this,arguments)-Ea,d=o.apply(this,arguments)-Ea,p=ma(d-h),y=d>h;if(s||(s=u=pa()),f<l&&(c=f,f=l,l=c),f>Ma)if(p>ka-Ma)s.moveTo(f*va(h),f*wa(h)),s.arc(0,0,f,h,d,!y),l>Ma&&(s.moveTo(l*va(d),l*wa(d)),s.arc(0,0,l,d,h,y));else{var m,b,v=h,g=d,_=h,w=d,S=p,M=p,x=a.apply(this,arguments)/2,E=x>Ma&&(n?+n.apply(this,arguments):Sa(l*l+f*f)),k=_a(ma(f-l)/2,+r.apply(this,arguments)),O=k,T=k;if(E>Ma){var P=Ta(E/l*wa(x)),A=Ta(E/f*wa(x));(S-=2*P)>Ma?(_+=P*=y?1:-1,w-=P):(S=0,_=w=(h+d)/2),(M-=2*A)>Ma?(v+=A*=y?1:-1,g-=A):(M=0,v=g=(h+d)/2)}var R=f*va(v),j=f*wa(v),C=l*va(w),N=l*wa(w);if(k>Ma){var I,L=f*va(g),D=f*wa(g),B=l*va(_),q=l*wa(_);if(p<xa&&(I=Na(R,j,B,q,L,D,C,N))){var U=R-I[0],z=j-I[1],F=L-I[0],H=D-I[1],V=1/wa(Oa((U*F+z*H)/(Sa(U*U+z*z)*Sa(F*F+H*H)))/2),W=Sa(I[0]*I[0]+I[1]*I[1]);O=_a(k,(l-W)/(V-1)),T=_a(k,(f-W)/(V+1))}}M>Ma?T>Ma?(m=Ia(B,q,R,j,f,T,y),b=Ia(L,D,C,N,f,T,y),s.moveTo(m.cx+m.x01,m.cy+m.y01),T<k?s.arc(m.cx,m.cy,T,ba(m.y01,m.x01),ba(b.y01,b.x01),!y):(s.arc(m.cx,m.cy,T,ba(m.y01,m.x01),ba(m.y11,m.x11),!y),s.arc(0,0,f,ba(m.cy+m.y11,m.cx+m.x11),ba(b.cy+b.y11,b.cx+b.x11),!y),s.arc(b.cx,b.cy,T,ba(b.y11,b.x11),ba(b.y01,b.x01),!y))):(s.moveTo(R,j),s.arc(0,0,f,v,g,!y)):s.moveTo(R,j),l>Ma&&S>Ma?O>Ma?(m=Ia(C,N,L,D,l,-O,y),b=Ia(R,j,B,q,l,-O,y),s.lineTo(m.cx+m.x01,m.cy+m.y01),O<k?s.arc(m.cx,m.cy,O,ba(m.y01,m.x01),ba(b.y01,b.x01),!y):(s.arc(m.cx,m.cy,O,ba(m.y01,m.x01),ba(m.y11,m.x11),!y),s.arc(0,0,l,ba(m.cy+m.y11,m.cx+m.x11),ba(b.cy+b.y11,b.cx+b.x11),y),s.arc(b.cx,b.cy,O,ba(b.y11,b.x11),ba(b.y01,b.x01),!y))):s.arc(0,0,l,w,_,y):s.lineTo(C,N)}else s.moveTo(0,0);if(s.closePath(),u)return s=null,u+""||null}return u.centroid=function(){var r=(+e.apply(this,arguments)+ +t.apply(this,arguments))/2,n=(+i.apply(this,arguments)+ +o.apply(this,arguments))/2-xa/2;return[va(n)*r,wa(n)*r]},u.innerRadius=function(t){return arguments.length?(e="function"===typeof t?t:ya(+t),u):e},u.outerRadius=function(e){return arguments.length?(t="function"===typeof e?e:ya(+e),u):t},u.cornerRadius=function(e){return arguments.length?(r="function"===typeof e?e:ya(+e),u):r},u.padRadius=function(e){return arguments.length?(n=null==e?null:"function"===typeof e?e:ya(+e),u):n},u.startAngle=function(e){return arguments.length?(i="function"===typeof e?e:ya(+e),u):i},u.endAngle=function(e){return arguments.length?(o="function"===typeof e?e:ya(+e),u):o},u.padAngle=function(e){return arguments.length?(a="function"===typeof e?e:ya(+e),u):a},u.context=function(e){return arguments.length?(s=null==e?null:e,u):s},u},Da=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),Ba=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e};var qa="rv-xy-plot__series rv-xy-plot__series--arc",Ua=["radius","angle"],za=Ba({},Go.defaultProps,{center:{x:0,y:0},arcClassName:"",className:"",style:{},padAngle:0});function Fa(e){var t=e.radius,r=e.angle,n=e.angle0,i=-1*r+Math.PI/2,o=-1*n+Math.PI/2;return Ba({},e,{x:t*Math.cos(i),y:t*Math.sin(i),angle:i,angle0:o})}var Ha=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e)),n=r._getAllScaleProps(e);return r.state={scaleProps:n},r}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}
2(t,e),Da(t,[{key:"componentWillReceiveProps",value:function(e){this.setState({scaleProps:this._getAllScaleProps(e)})}},{key:"_getAllScaleProps",value:function(e){var t=this._getDefaultScaleProps(e),r=No(e,Ua),n=Io(Ba({},t,r),e.data,Ua);return Ba({},t,r,n)}},{key:"_getDefaultScaleProps",value:function(e){var t=e.innerWidth,r=e.innerHeight,n=Math.min(t/2,r/2);return{radiusRange:[0,n],_radiusValue:n,angleType:"literal"}}},{key:"render",value:function(){var e=this,r=this.props,n=r.arcClassName,i=r.animation,o=r.className,a=r.center,s=r.data,u=r.disableSeries,c=r.hideSeries,l=r.marginLeft,f=r.marginTop,h=r.padAngle,d=r.style;if(!s)return null;if(i){var p=s.map((function(e){return Ba({},e)}));return G.a.createElement("g",{className:"rv-xy-plot__series--arc__animation-wrapper"},G.a.createElement(Xe,Ba({},this.props,{animatedProps:aa,data:p}),G.a.createElement(t,Ba({},this.props,{animation:null,disableSeries:!0,data:p}))),G.a.createElement(t,Ba({},this.props,{animation:null,hideSeries:!0,style:{stroke:"red"}})))}var y=this.state.scaleProps,m=y.radiusDomain,b=Ao(y,"radius"),v=Ro(y,"radius"),g=Ao(y,"angle"),_=Ro(y,"angle"),w=this._getAttributeFunctor("fill")||this._getAttributeFunctor("color"),S=this._getAttributeFunctor("stroke")||this._getAttributeFunctor("color"),M=this._getAttributeFunctor("opacity"),x=this._getAttributeFunctor("x"),E=this._getAttributeFunctor("y");return G.a.createElement("g",{className:qa+" "+o,onMouseOver:this._seriesMouseOverHandler,onMouseOut:this._seriesMouseOutHandler,onClick:this._seriesClickHandler,onContextMenu:this._seriesRightClickHandler,opacity:c?0:1,pointerEvents:u?"none":"all",transform:"translate("+(l+x(a))+","+(f+E(a))+")"},s.map((function(t,r){var i={innerRadius:m[1]===m[0]?0:v(t),outerRadius:b(t),startAngle:_(t)||0,endAngle:g(t)},o=La().padAngle(h),a=t.style||{},s=t.className||"";return G.a.createElement("path",{style:Ba({opacity:M&&M(t),stroke:S&&S(t),fill:w&&w(t)},d,a),onClick:function(r){return e._valueClickHandler(Fa(t),r)},onContextMenu:function(r){return e._valueRightClickHandler(Fa(t),r)},onMouseOver:function(r){return e._valueMouseOverHandler(Fa(t),r)},onMouseOut:function(r){return e._valueMouseOutHandler(Fa(t),r)},key:r,className:qa+"-path "+n+" "+s,d:o(i)})})))}}]),t}(Go);Ha.propTypes=Ba({},Go.propTypes,Co("radius"),Co("angle"),{center:o.a.shape({x:o.a.number,y:o.a.number}),arcClassName:o.a.string,padAngle:o.a.oneOfType([o.a.func,o.a.number])}),Ha.defaultProps=za,Ha.displayName="ArcSeries";var Va=Ha;function Wa(e){this._context=e}Wa.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._context.lineTo(e,t)}}};var Ga=function(e){return new Wa(e)};function Ka(e){return e[0]}function Ya(e){return e[1]}var Xa=function(){var e=Ka,t=Ya,r=ya(!0),n=null,i=Ga,o=null;function a(a){var s,u,c,l=a.length,f=!1;for(null==n&&(o=i(c=pa())),s=0;s<=l;++s)!(s<l&&r(u=a[s],s,a))===f&&((f=!f)?o.lineStart():o.lineEnd()),f&&o.point(+e(u,s,a),+t(u,s,a));if(c)return o=null,c+""||null}return a.x=function(t){return arguments.length?(e="function"===typeof t?t:ya(+t),a):e},a.y=function(e){return arguments.length?(t="function"===typeof e?e:ya(+e),a):t},a.defined=function(e){return arguments.length?(r="function"===typeof e?e:ya(!!e),a):r},a.curve=function(e){return arguments.length?(i=e,null!=n&&(o=i(n)),a):i},a.context=function(e){return arguments.length?(null==e?n=o=null:o=i(n=e),a):n},a},$a=function(){var e=Ka,t=null,r=ya(0),n=Ya,i=ya(!0),o=null,a=Ga,s=null;function u(u){var c,l,f,h,d,p=u.length,y=!1,m=new Array(p),b=new Array(p);for(null==o&&(s=a(d=pa())),c=0;c<=p;++c){if(!(c<p&&i(h=u[c],c,u))===y)if(y=!y)l=c,s.areaStart(),s.lineStart();else{for(s.lineEnd(),s.lineStart(),f=c-1;f>=l;--f)s.point(m[f],b[f]);s.lineEnd(),s.areaEnd()}y&&(m[c]=+e(h,c,u),b[c]=+r(h,c,u),s.point(t?+t(h,c,u):m[c],n?+n(h,c,u):b[c]))}if(d)return s=null,d+""||null}function c(){return Xa().defined(i).curve(a).context(o)}return u.x=function(r){return arguments.length?(e="function"===typeof r?r:ya(+r),t=null,u):e},u.x0=function(t){return arguments.length?(e="function"===typeof t?t:ya(+t),u):e},u.x1=function(e){return arguments.length?(t=null==e?null:"function"===typeof e?e:ya(+e),u):t},u.y=function(e){return arguments.length?(r="function"===typeof e?e:ya(+e),n=null,u):r},u.y0=function(e){return arguments.length?(r="function"===typeof e?e:ya(+e),u):r},u.y1=function(e){return arguments.length?(n=null==e?null:"function"===typeof e?e:ya(+e),u):n},u.lineX0=u.lineY0=function(){return c().x(e).y(r)},u.lineY1=function(){return c().x(e).y(n)},u.lineX1=function(){return c().x(t).y(r)},u.defined=function(e){return arguments.length?(i="function"===typeof e?e:ya(!!e),u):i},u.curve=function(e){return arguments.length?(a=e,null!=o&&(s=a(o)),u):a},u.context=function(e){return arguments.length?(null==e?o=s=null:s=a(o=e),u):o},u},Za=function(e,t){return t<e?-1:t>e?1:t>=e?0:NaN},Ja=function(e){return e},Qa=function(){var e=Ja,t=Za,r=null,n=ya(0),i=ya(ka),o=ya(0);function a(a){var s,u,c,l,f,h=a.length,d=0,p=new Array(h),y=new Array(h),m=+n.apply(this,arguments),b=Math.min(ka,Math.max(-ka,i.apply(this,arguments)-m)),v=Math.min(Math.abs(b)/h,o.apply(this,arguments)),g=v*(b<0?-1:1);for(s=0;s<h;
vendor: 4,431 bytes, line 2
2++s)(f=y[p[s]=s]=+e(a[s],s,a))>0&&(d+=f);for(null!=t?p.sort((function(e,r){return t(y[e],y[r])})):null!=r&&p.sort((function(e,t){return r(a[e],a[t])})),s=0,c=d?(b-h*g)/d:0;s<h;++s,m=l)u=p[s],l=m+((f=y[u])>0?f*c:0)+g,y[u]={data:a[u],index:s,value:f,startAngle:m,endAngle:l,padAngle:v};return y}return a.value=function(t){return arguments.length?(e="function"===typeof t?t:ya(+t),a):e},a.sortValues=function(e){return arguments.length?(t=e,r=null,a):t},a.sort=function(e){return arguments.length?(r=e,t=null,a):r},a.startAngle=function(e){return arguments.length?(n="function"===typeof e?e:ya(+e),a):n},a.endAngle=function(e){return arguments.length?(i="function"===typeof e?e:ya(+e),a):i},a.padAngle=function(e){return arguments.length?(o="function"===typeof e?e:ya(+e),a):o},a},es=rs(Ga);function ts(e){this._curve=e}function rs(e){function t(t){return new ts(e(t))}return t._curve=e,t}function ns(e){var t=e.curve;return e.angle=e.x,delete e.x,e.radius=e.y,delete e.y,e.curve=function(e){return arguments.length?t(rs(e)):t()._curve},e}ts.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(e,t){this._curve.point(t*Math.sin(e),t*-Math.cos(e))}};var is=function(){return ns(Xa().curve(es))},os=function(){var e=$a().curve(es),t=e.curve,r=e.lineX0,n=e.lineX1,i=e.lineY0,o=e.lineY1;return e.angle=e.x,delete e.x,e.startAngle=e.x0,delete e.x0,e.endAngle=e.x1,delete e.x1,e.radius=e.y,delete e.y,e.innerRadius=e.y0,delete e.y0,e.outerRadius=e.y1,delete e.y1,e.lineStartAngle=function(){return ns(r())},delete e.lineX0,e.lineEndAngle=function(){return ns(n())},delete e.lineX1,e.lineInnerRadius=function(){return ns(i())},delete e.lineY0,e.lineOuterRadius=function(){return ns(o())},delete e.lineY1,e.curve=function(e){return arguments.length?t(rs(e)):t()._curve},e},as=function(e,t){return[(t=+t)*Math.cos(e-=Math.PI/2),t*Math.sin(e)]},ss=Array.prototype.slice;function us(e){return e.source}function cs(e){return e.target}function ls(e){var t=us,r=cs,n=Ka,i=Ya,o=null;function a(){var a,s=ss.call(arguments),u=t.apply(this,s),c=r.apply(this,s);if(o||(o=a=pa()),e(o,+n.apply(this,(s[0]=u,s)),+i.apply(this,s),+n.apply(this,(s[0]=c,s)),+i.apply(this,s)),a)return o=null,a+""||null}return a.source=function(e){return arguments.length?(t=e,a):t},a.target=function(e){return arguments.length?(r=e,a):r},a.x=function(e){return arguments.length?(n="function"===typeof e?e:ya(+e),a):n},a.y=function(e){return arguments.length?(i="function"===typeof e?e:ya(+e),a):i},a.context=function(e){return arguments.length?(o=null==e?null:e,a):o},a}function fs(e,t,r,n,i){e.moveTo(t,r),e.bezierCurveTo(t=(t+n)/2,r,t,i,n,i)}function hs(e,t,r,n,i){e.moveTo(t,r),e.bezierCurveTo(t,r=(r+i)/2,n,r,n,i)}function ds(e,t,r,n,i){var o=as(t,r),a=as(t,r=(r+i)/2),s=as(n,r),u=as(n,i);e.moveTo(o[0],o[1]),e.bezierCurveTo(a[0],a[1],s[0],s[1],u[0],u[1])}function ps(){return ls(fs)}function ys(){return ls(hs)}function ms(){var e=ls(ds);return e.angle=e.x,delete e.x,e.radius=e.y,delete e.y,e}var bs={draw:function(e,t){var r=Math.sqrt(t/xa);e.moveTo(r,0),e.arc(0,0,r,0,ka)}},vs={draw:function(e,t){var r=Math.sqrt(t/5)/2;e.moveTo(-3*r,-r),e.lineTo(-r,-r),e.lineTo(-r,-3*r),e.lineTo(r,-3*r),e.lineTo(r,-r),e.lineTo(3*r,-r),e.lineTo(3*r,r),e.lineTo(r,r),e.lineTo(r,3*r),e.lineTo(-r,3*r),e.lineTo(-r,r),e.lineTo(-3*r,r),e.closePath()}},gs=Math.sqrt(1/3),_s=2*gs,ws={draw:function(e,t){var r=Math.sqrt(t/_s),n=r*gs;e.moveTo(0,-r),e.lineTo(n,0),e.lineTo(0,r),e.lineTo(-n,0),e.closePath()}},Ss=Math.sin(xa/10)/Math.sin(7*xa/10),Ms=Math.sin(ka/10)*Ss,xs=-Math.cos(ka/10)*Ss,Es={draw:function(e,t){var r=Math.sqrt(.8908130915292852*t),n=Ms*r,i=xs*r;e.moveTo(0,-r),e.lineTo(n,i);for(var o=1;o<5;++o){var a=ka*o/5,s=Math.cos(a),u=Math.sin(a);e.lineTo(u*r,-s*r),e.lineTo(s*n-u*i,u*n+s*i)}e.closePath()}},ks={draw:function(e,t){var r=Math.sqrt(t),n=-r/2;e.rect(n,n,r,r)}},Os=Math.sqrt(3),Ts={draw:function(e,t){var r=-Math.sqrt(t/(3*Os));e.moveTo(0,2*r),e.lineTo(-Os*r,-r),e.lineTo(Os*r,-r),e.closePath()}},Ps=-.5,As=Math.sqrt(3)/2,Rs=1/Math.sqrt(12),js=3*(Rs/2+1),Cs={draw:function(e,t){var r=Math.sqrt(t/js),n=r/2,i=r*Rs,o=n,a=r*Rs+r,s=-o,u=a;e.moveTo(n,i),e.lineTo(o,a),e.lineTo(s,u),e.lineTo(Ps*n-As*i,As*n+Ps*i),e.lineTo(Ps*o-As*a,As*o+Ps*a),e.lineTo(Ps*s-As*u,As*s+Ps*u),e.lineTo(Ps*n+As*i,Ps*i-As*n),e.lineTo(Ps*o+As*a,Ps*
vendor: 16,066 bytes, line 2
2a-As*o),e.lineTo(Ps*s+As*u,Ps*u-As*s),e.closePath()}},Ns=[bs,vs,ws,ks,Es,Ts,Cs],Is=function(){var e=ya(bs),t=ya(64),r=null;function n(){var n;if(r||(r=n=pa()),e.apply(this,arguments).draw(r,+t.apply(this,arguments)),n)return r=null,n+""||null}return n.type=function(t){return arguments.length?(e="function"===typeof t?t:ya(t),n):e},n.size=function(e){return arguments.length?(t="function"===typeof e?e:ya(+e),n):t},n.context=function(e){return arguments.length?(r=null==e?null:e,n):r},n},Ls=function(){};function Ds(e,t,r){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+t)/6,(e._y0+4*e._y1+r)/6)}function Bs(e){this._context=e}Bs.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:Ds(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:Ds(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};var qs=function(e){return new Bs(e)};function Us(e){this._context=e}Us.prototype={areaStart:Ls,areaEnd:Ls,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x2=e,this._y2=t;break;case 1:this._point=2,this._x3=e,this._y3=t;break;case 2:this._point=3,this._x4=e,this._y4=t,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+t)/6);break;default:Ds(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};var zs=function(e){return new Us(e)};function Fs(e){this._context=e}Fs.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var r=(this._x0+4*this._x1+e)/6,n=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(r,n):this._context.moveTo(r,n);break;case 3:this._point=4;default:Ds(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};var Hs=function(e){return new Fs(e)};function Vs(e,t){this._basis=new Bs(e),this._beta=t}Vs.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var e=this._x,t=this._y,r=e.length-1;if(r>0)for(var n,i=e[0],o=t[0],a=e[r]-i,s=t[r]-o,u=-1;++u<=r;)n=u/r,this._basis.point(this._beta*e[u]+(1-this._beta)*(i+n*a),this._beta*t[u]+(1-this._beta)*(o+n*s));this._x=this._y=null,this._basis.lineEnd()},point:function(e,t){this._x.push(+e),this._y.push(+t)}};var Ws=function e(t){function r(e){return 1===t?new Bs(e):new Vs(e,t)}return r.beta=function(t){return e(+t)},r}(.85);function Gs(e,t,r){e._context.bezierCurveTo(e._x1+e._k*(e._x2-e._x0),e._y1+e._k*(e._y2-e._y0),e._x2+e._k*(e._x1-t),e._y2+e._k*(e._y1-r),e._x2,e._y2)}function Ks(e,t){this._context=e,this._k=(1-t)/6}Ks.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:Gs(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2,this._x1=e,this._y1=t;break;case 2:this._point=3;default:Gs(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var Ys=function e(t){function r(e){return new Ks(e,t)}return r.tension=function(t){return e(+t)},r}(0);function Xs(e,t){this._context=e,this._k=(1-t)/6}Xs.prototype={areaStart:Ls,areaEnd:Ls,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:Gs(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var $s=function e(t){function r(e){return new Xs(e,t)}return r.tension=function(t){return e(+t)},r}(0);function Zs(e,t){this._context=e,this._k=(1-t)/6}Zs.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Gs(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var Js=function e(t){function r(e){return new Zs(e,t)}return r.tension=function(t){return e(+t)},r}(0);function Qs(e,t,r){var n=e._x1,i=e._y1,o=e._x2,a=e._y2;if(e._l01_a>Ma){var s=2*e._l01_2a+3*e._l01_a*e._l12_a+e._l12_2a,u=3*e._l01_a*(e._l01_a+e._l12_a);n=(n*s-e._x0*e._l12_2a+e._x2*e._l01_2a)/u,i=(i*s-e._y0*e._l12_2a+e._y2*e._l01_2a)/u}if(e._l23_a>Ma){var c=2*e._l23_2a+3*e._l23_a*e._l12_a+e._l12_2a,l=3*e._l23_a*(e._l23_a+e._l12_a);o=(o*c+e._x1*e._l23_2a-t*e._l12_2a)/l,a=(a*c+e._y1*e._l23_2a-r*e._l12_2a)/l}e._context.bezierCurveTo(n,i,o,a,e._x2,e._y2)}function eu(e,t){this._context=e,this._alpha=t}eu.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var r=this._x2-e,n=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(r*r+n*n,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3;default:Qs(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var tu=function e(t){function r(e){return t?new eu(e,t):new Ks(e,0)}return r.alpha=function(t){return e(+t)},r}(.5);function ru(e,t){this._context=e,this._alpha=t}ru.prototype={areaStart:Ls,areaEnd:Ls,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(e,t){if(e=+e,t=+t,this._point){var r=this._x2-e,n=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(r*r+n*n,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:Qs(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var nu=function e(t){function r(e){return t?new ru(e,t):new Xs(e,0)}return r.alpha=function(t){return e(+t)},r}(.5);function iu(e,t){this._context=e,this._alpha=t}iu.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var r=this._x2-e,n=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(r*r+n*n,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Qs(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var ou=function e(t){function r(e){return t?new iu(e,t):new Zs(e,0)}return r.alpha=function(t){return e(+t)},r}(.5);function au(e){this._context=e}au.prototype={areaStart:Ls,areaEnd:Ls,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,t){e=+e,t=+t,this._point?this._context.lineTo(e,t):(this._point=1,this._context.moveTo(e,t))}};var su=function(e){return new au(e)};function uu(e){return e<0?-1:1}function cu(e,t,r){var n=e._x1-e._x0,i=t-e._x1,o=(e._y1-e._y0)/(n||i<0&&-0),a=(r-e._y1)/(i||n<0&&-0),s=(o*i+a*n)/(n+i);return(uu(o)+uu(a))*Math.min(Math.abs(o),Math.abs(a),.5*Math.abs(s))||0}function lu(e,t){var r=e._x1-e._x0;return r?(3*(e._y1-e._y0)/r-t)/2:t}function fu(e,t,r){var n=e._x0,i=e._y0,o=e._x1,a=e._y1,s=(o-n)/3;e._context.bezierCurveTo(n+s,i+s*t,o-s,a-s*r,o,a)}function hu(e){this._context=e}function du(e){this._context=new pu(e)}function pu(e){this._context=e}function yu(e){return new hu(e)}function mu(e){return new du(e)}function bu(e){this._context=e}function vu(e){var t,r,n=e.length-1,i=new Array(n),o=new Array(n),a=new Array(n);for(i[0]=0,o[0]=2,a[0]=e[0]+2*e[1],t=1;t<n-1;++t)i[t]=1,o[t]=4,a[t]=4*e[t]+2*e[t+1];for(i[n-1]=2,o[n-1]=7,a[n-1]=8*e[n-1]+e[n],t=1;t<n;++t)r=i[t]/o[t-1],o[t]-=r,a[t]-=r*a[t-1];for(i[n-1]=a[n-1]/o[n-1],t=n-2;t>=0;--t)i[t]=(a[t]-i[t+1])/o[t];for(o[n-1]=(e[n]+i[n-1])/2,t=0;t<n-1;++t)o[t]=2*e[t+1]-i[t+1];return[i,o]}hu.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:fu(this,this._t0,lu(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){var r=NaN;if(t=+t,(e=+e)!==this._x1||t!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,fu(this,lu(this,r=cu(this,e,t)),r);break;default:fu(this,this._t0,r=cu(this,e,t))}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=r}}},(du.prototype=Object.create(hu.prototype)).point=function(e,t){hu.prototype.point.call(this,t,e)},pu.prototype={moveTo:function(e,t){this._context.moveTo(t,e)},closePath:function(){this._context.closePath()},lineTo:function(e,t){this._context.lineTo(t,e)},bezierCurveTo:function(e,t,r,n,i,o){this._context.bezierCurveTo(t,e,n,r,o,i)}},bu.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var e=this._x,t=this._y,r=e.length;if(r)if(this._line?this._context.lineTo(e[0],t[0]):this._context.moveTo(e[0],t[0]),2===r)this._context.lineTo(e[1],t[1]);else for(var n=vu(e),i=vu(t),o=0,a=1;a<r;++o,++a)this._context.bezierCurveTo(n[0][o],i[0][o],n[1][o],i[1][o],e[a],t[a]);(this._line||0!==this._line&&1===r)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(e,t){this._x.push(+e),this._y.push(+t)}};var gu=function(e){return new bu(e)};function _u(e,t){this._context=e,this._t=t}_u.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&2===this._point&&this._context.lineTo(this._x,this._y),(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var r=this._x*(1-this._t)+e*this._t;this._context.lineTo(r,this._y),this._context.lineTo(r,t)}}this._x=e,this._y=t}};var wu=function(e){return new _u(e,.5)};function Su(e){return new _u(e,0)}function Mu(e){return new _u(e,1)}var xu=function(e,t){if((i=e.length)>1)for(var r,n,i,o=1,a=e[t[0]],s=a.length;o<i;++o)for(n=a,a=e[t[o]],r=0;r<s;++r)a[r][1]+=a[r][0]=isNaN(n[r][1])?n[r][0]:n[r][1]},Eu=function(e){for(var t=e.length,r=new Array(t);--t>=0;)r[t]=t;return r};function ku(e,t){return e[t]}var Ou=function(){var e=ya([]),t=Eu,r=xu,n=ku;function i(i){var o,a,s=e.apply(this,arguments),u=i.length,c=s.length,l=new Array(c);for(o=0;o<c;++o){for(var f,h=s[o],d=l[o]=new Array(u),p=0;p<u;++p)d[p]=f=[0,+n(i[p],h,p,i)],f.data=i[p];d.key=h}for(o=0,a=t(l);o<c;++o)l[a[o]].index=o;return r(l,a),l}return i.keys=function(t){return arguments.length?(e="function"===typeof t?t:ya(ss.call(t)),i):e},i.value=function(e){return arguments.length?(n="function"===typeof e?e:ya(+e),i):n},i.order=function(e){return arguments.length?(t=null==e?Eu:"function"===typeof e?e:ya(ss.call(e)),i):t},i.offset=function(e){return arguments.length?(r=null==e?xu:e,i):r},i},Tu=function(e,t){if((n=e.length)>0){for(var r,n,i,o=0,a=e[0].length;o<a;++o){for(i=r=0;r<n;++r)i+=e[r][o][1]||0;if(i)for(r=0;r<n;++r)e[r][o][1]/=i}xu(e,t)}},Pu=function(e,t){if((s=e.length)>0)for(var r,n,i,o,a,s,u=0,c=e[t[0]].length;u<c;++u)for(o=a=0,r=0;r<s;++r)(i=(n=e[t[r]][u])[1]-n[0])>0?(n[0]=o,n[1]=o+=i):i<0?(n[1]=a,n[0]=a+=i):(n[0]=0,n[1]=i)},Au=function(e,t){if((r=e.length)>0){for(var r,n=0,i=e[t[0]],o=i.length;n<o;++n){for(var a=0,s=0;a<r;++a)s+=e[a][n][1]||0;i[n][1]+=i[n][0]=-s/2}xu(e,t)}},Ru=function(e,t){if((i=e.length)>0&&(n=(r=e[t[0]]).length)>0){for(var r,n,i,o=0,a=1;a<n;++a){for(var s=0,u=0,c=0;s<i;++s){for(var l=e[t[s]],f=l[a][1]||0,h=(f-(l[a-1][1]||0))/2,d=0;d<s;++d){var p=e[t[d]];
2h+=(p[a][1]||0)-(p[a-1][1]||0)}u+=f,c+=h*f}r[a-1][1]+=r[a-1][0]=o,u&&(o-=c/u)}r[a-1][1]+=r[a-1][0]=o,xu(e,t)}},ju=function(e){var t=e.map(Cu);return Eu(e).sort((function(e,r){return t[e]-t[r]}))};function Cu(e){for(var t,r=-1,n=0,i=e.length,o=-1/0;++r<i;)(t=+e[r][1])>o&&(o=t,n=r);return n}var Nu=function(e){var t=e.map(Iu);return Eu(e).sort((function(e,r){return t[e]-t[r]}))};function Iu(e){for(var t,r=0,n=-1,i=e.length;++n<i;)(t=+e[n][1])&&(r+=t);return r}var Lu=function(e){return Nu(e).reverse()},Du=function(e){var t,r,n=e.length,i=e.map(Iu),o=ju(e),a=0,s=0,u=[],c=[];for(t=0;t<n;++t)r=o[t],a<s?(a+=i[r],u.push(r)):(s+=i[r],c.push(r));return c.reverse().concat(u)},Bu=function(e){return Eu(e).reverse()},qu=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Uu=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();function zu(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Fu(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var Hu=function(e){function t(){return zu(this,t),Fu(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),Uu(t,[{key:"_renderArea",value:function(e,t,r,i,o,a){var s=$a();return null!==o&&("string"===typeof o&&n[o]?s=s.curve(n[o]):"function"===typeof o&&(s=s.curve(o))),(s=(s=s.defined(a)).x(t).y0(r).y1(i))(e)}},{key:"render",value:function(){var e=this.props,r=e.animation,n=e.className,i=e.curve,o=e.data,a=e.marginLeft,s=e.marginTop,u=e.style;if(this.props.nullAccessor&&Object(ao.b)("nullAccessor has been renamed to getNull",!0),!o)return null;if(r)return G.a.createElement(Xe,qu({},this.props,{animatedProps:aa}),G.a.createElement(t,qu({},this.props,{animation:null})));var c=this._getAttributeFunctor("x"),l=this._getAttributeFunctor("y"),f=this._getAttr0Functor("y"),h=this._getAttributeValue("stroke")||this._getAttributeValue("color"),d=this._getAttributeValue("fill")||this._getAttributeValue("color"),p=this._getAttributeValue("opacity"),y=Number.isFinite(p)?p:1,m=this.props.nullAccessor||this.props.getNull,b=this._renderArea(o,c,f,l,i,m);return G.a.createElement("path",{d:b,className:"rv-xy-plot__series rv-xy-plot__series--line "+n,transform:"translate("+a+","+s+")",onMouseOver:this._seriesMouseOverHandler,onMouseOut:this._seriesMouseOutHandler,onClick:this._seriesClickHandler,onContextMenu:this._seriesRightClickHandler,style:qu({opacity:y,stroke:h,fill:d},u)})}}]),t}(Go);Hu.displayName="AreaSeries",Hu.propTypes=qu({},Go.propTypes,{getNull:o.a.func}),Hu.defaultProps=qu({},Go.defaultProps,{getNull:function(){return!0}});var Vu=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Wu={style:o.a.shape({bottom:o.a.object,left:o.a.object,right:o.a.object,top:o.a.object}),marginTop:o.a.number,marginBottom:o.a.number,marginLeft:o.a.number,marginRight:o.a.number,innerWidth:o.a.number,innerHeight:o.a.number},Gu="rv-xy-plot__borders-bottom",Ku="rv-xy-plot__borders",Yu="rv-xy-plot__borders-left",Xu="rv-xy-plot__borders-right",$u="rv-xy-plot__borders-top";function Zu(e){var t=e.marginTop,r=e.marginBottom,n=e.marginLeft,i=e.marginRight,o=e.innerWidth,a=e.innerHeight,s=e.style,u=e.className,c=a+t+r,l=o+n+i;return G.a.createElement("g",{className:Ku+" "+u},G.a.createElement("rect",{className:Gu+" "+u+"-bottom",style:Vu({},s.all,s.bottom),x:0,y:c-r,width:l,height:r}),G.a.createElement("rect",{className:Yu+" "+u+"-left",style:Vu({},s.all,s.left),x:0,y:0,width:n,height:c}),G.a.createElement("rect",{className:Xu+" "+u+"-right",style:Vu({},s.all,s.right),x:l-i,y:0,width:i,height:c}),G.a.createElement("rect",{className:$u+" "+u+"-top",style:Vu({},s.all,s.top),x:0,y:0,width:l,height:t}))}Zu.displayName="Borders",Zu.defaultProps={className:"",style:{all:{},bottom:{},left:{},right:{},top:{}}},Zu.propTypes=Wu,Zu.requiresSVG=!0;var Ju=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();function Qu(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ec(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var tc=function(e){function t(){return Qu(this,t),ec(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),Ju(t,[{key:"render",value:function(){var e=this.props,t=e.innerHe
2ight,r=e.innerWidth,n=e.marginBottom,i=e.marginLeft,o=e.marginRight,a=e.marginTop,s=e.className,u=e.includeMargin,c=e.style,l=e.text,f=(r+(u?i+o:0))*e.xPercent+(u?0:i),h=(t+(u?a+n:0))*e.yPercent+(u?i:0);return G.a.createElement("g",{transform:"translate("+f+", "+h+")",className:"rv-xy-plot__axis__title "+s},G.a.createElement("text",c,l))}}],[{key:"requiresSVG",get:function(){return!0}}]),t}(G.a.PureComponent);tc.displayName="ChartLabel",tc.propTypes={className:o.a.string,includeMargin:o.a.bool,style:o.a.object,text:o.a.string.isRequired,xPercent:o.a.number.isRequired,yPercent:o.a.number.isRequired},tc.defaultProps={className:"",includeMargin:!0,text:"",xPercent:0,yPercent:0,style:{}};var rc={TOP:"top",LEFT:"left",RIGHT:"right",BOTTOM:"bottom",VERTICAL:"vertical",HORIZONTAL:"horizontal"},nc={VERTICAL:"vertical",HORIZONTAL:"horizontal"};function ic(e){return e<700?e>300?10:5:20}function oc(e,t,r){return r||(e.ticks?e.ticks(t):e.domain())}var ac=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},sc=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();function uc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cc(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var lc=["xRange","yRange","xDomain","yDomain","width","height","marginLeft","marginTop","marginRight","marginBottom","tickTotal"],fc=function(e){function t(){return uc(this,t),cc(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),sc(t,[{key:"_getDefaultProps",value:function(){var e=this.props,t=e.innerWidth,r=e.innerHeight,n=e.marginTop;return{left:e.marginLeft,top:n,width:t,height:r,style:{},tickTotal:ic(Math.min(t,r))}}},{key:"render",value:function(){var e=this.props,r=e.animation,n=e.centerX,i=e.centerY;if(r)return G.a.createElement(Xe,ac({},this.props,{animatedProps:lc}),G.a.createElement(t,ac({},this.props,{animation:null})));var o=ac({},this._getDefaultProps(),this.props),a=o.tickTotal,s=o.tickValues,u=o.marginLeft,c=o.marginTop,l=o.rRange,f=o.style,h=Oo(o,"x"),d=Oo(o,"y"),p=oc(h,a,s);return G.a.createElement("g",{transform:"translate("+(h(n)+u)+","+(d(i)+c)+")",className:"rv-xy-plot__circular-grid-lines"},p.reduce((function(e,t,r){var n=h(t);return l&&(n<l[0]||n>l[1])?e:e.concat([G.a.createElement("circle",ac({cx:0,cy:0,r:n},{key:r,className:"rv-xy-plot__circular-grid-lines__line",style:f}))])}),[]))}}]),t}(W.PureComponent);fc.displayName="CircularGridLines",fc.propTypes={centerX:o.a.number,centerY:o.a.number,width:o.a.number,height:o.a.number,top:o.a.number,left:o.a.number,rRange:o.a.arrayOf(o.a.number),style:o.a.object,tickValues:o.a.arrayOf(o.a.number),tickTotal:o.a.number,animation:$e,marginTop:o.a.number,marginBottom:o.a.number,marginLeft:o.a.number,marginRight:o.a.number,innerWidth:o.a.number,innerHeight:o.a.number},fc.defaultProps={centerX:0,centerY:0},fc.requiresSVG=!0;var hc=Array.prototype.slice,dc=function(e,t){return e-t},pc=function(e){return function(){return e}},yc=function(e,t){for(var r,n=-1,i=t.length;++n<i;)if(r=mc(e,t[n]))return r;return 0};function mc(e,t){for(var r=t[0],n=t[1],i=-1,o=0,a=e.length,s=a-1;o<a;s=o++){var u=e[o],c=u[0],l=u[1],f=e[s],h=f[0],d=f[1];if(bc(u,f,t))return 0;l>n!==d>n&&r<(h-c)*(n-l)/(d-l)+c&&(i=-i)}return i}function bc(e,t,r){var n,i,o,a;return function(e,t,r){return(t[0]-e[0])*(r[1]-e[1])===(r[0]-e[0])*(t[1]-e[1])}(e,t,r)&&(i=e[n=+(e[0]===t[0])],o=r[n],a=t[n],i<=o&&o<=a||a<=o&&o<=i)}var vc=function(){},gc=[[],[[[1,1.5],[.5,1]]],[[[1.5,1],[1,1.5]]],[[[1.5,1],[.5,1]]],[[[1,.5],[1.5,1]]],[[[1,1.5],[.5,1]],[[1,.5],[1.5,1]]],[[[1,.5],[1,1.5]]],[[[1,.5],[.5,1]]],[[[.5,1],[1,.5]]],[[[1,1.5],[1,.5]]],[[[.5,1],[1,.5]],[[1.5,1],[1,1.5]]],[[[1.5,1],[1,.5]]],[[[.5,1],[1.5,1]]],[[[1,1.5],[1.5,1]]],[[[.5,1],[1,1.5]]],[]],_c=function(){var e=1,t=1,r=ft,n=s;function i(e){var t=r(e);if(Array.isArray(t))t=t.slice().sort(dc);else{var n=rt(e),i=n[0],a=n[1];t=lt(i,a,t),t=it(Math.floor(i/t)*t,Math.floor(a/t)*t,t)}return t.map((function(t){return o(e,t)}))}function o(r,i){var o=[],s=[];return function(r,n,i){var o,s,u,c,l,f,h=new Array,d=new Array;
2o=s=-1,c=r[0]>=n,gc[c<<1].forEach(p);for(;++o<e-1;)u=c,c=r[o+1]>=n,gc[u|c<<1].forEach(p);gc[c<<0].forEach(p);for(;++s<t-1;){for(o=-1,c=r[s*e+e]>=n,l=r[s*e]>=n,gc[c<<1|l<<2].forEach(p);++o<e-1;)u=c,c=r[s*e+e+o+1]>=n,f=l,l=r[s*e+o+1]>=n,gc[u|c<<1|l<<2|f<<3].forEach(p);gc[c|l<<3].forEach(p)}o=-1,l=r[s*e]>=n,gc[l<<2].forEach(p);for(;++o<e-1;)f=l,l=r[s*e+o+1]>=n,gc[l<<2|f<<3].forEach(p);function p(e){var t,r,n=[e[0][0]+o,e[0][1]+s],u=[e[1][0]+o,e[1][1]+s],c=a(n),l=a(u);(t=d[c])?(r=h[l])?(delete d[t.end],delete h[r.start],t===r?(t.ring.push(u),i(t.ring)):h[t.start]=d[r.end]={start:t.start,end:r.end,ring:t.ring.concat(r.ring)}):(delete d[t.end],t.ring.push(u),d[t.end=l]=t):(t=h[l])?(r=d[c])?(delete h[t.start],delete d[r.end],t===r?(t.ring.push(u),i(t.ring)):h[r.start]=d[t.end]={start:r.start,end:t.end,ring:r.ring.concat(t.ring)}):(delete h[t.start],t.ring.unshift(n),h[t.start=c]=t):h[c]=d[l]={start:c,end:l,ring:[n,u]}}gc[l<<3].forEach(p)}(r,i,(function(e){n(e,r,i),function(e){for(var t=0,r=e.length,n=e[r-1][1]*e[0][0]-e[r-1][0]*e[0][1];++t<r;)n+=e[t-1][1]*e[t][0]-e[t-1][0]*e[t][1];return n}(e)>0?o.push([e]):s.push(e)})),s.forEach((function(e){for(var t,r=0,n=o.length;r<n;++r)if(-1!==yc((t=o[r])[0],e))return void t.push(e)})),{type:"MultiPolygon",value:i,coordinates:o}}function a(t){return 2*t[0]+t[1]*(e+1)*4}function s(r,n,i){r.forEach((function(r){var o,a=r[0],s=r[1],u=0|a,c=0|s,l=n[c*e+u];a>0&&a<e&&u===a&&(o=n[c*e+u-1],r[0]=a+(i-o)/(l-o)-.5),s>0&&s<t&&c===s&&(o=n[(c-1)*e+u],r[1]=s+(i-o)/(l-o)-.5)}))}return i.contour=o,i.size=function(r){if(!arguments.length)return[e,t];var n=Math.ceil(r[0]),o=Math.ceil(r[1]);if(!(n>0)||!(o>0))throw new Error("invalid size");return e=n,t=o,i},i.thresholds=function(e){return arguments.length?(r="function"===typeof e?e:Array.isArray(e)?pc(hc.call(e)):pc(e),i):r},i.smooth=function(e){return arguments.length?(n=e?s:vc,i):n===s},i};function wc(e,t,r){for(var n=e.width,i=e.height,o=1+(r<<1),a=0;a<i;++a)for(var s=0,u=0;s<n+r;++s)s<n&&(u+=e.data[s+a*n]),s>=r&&(s>=o&&(u-=e.data[s-o+a*n]),t.data[s-r+a*n]=u/Math.min(s+1,n-1+o-s,o))}function Sc(e,t,r){for(var n=e.width,i=e.height,o=1+(r<<1),a=0;a<n;++a)for(var s=0,u=0;s<i+r;++s)s<i&&(u+=e.data[a+s*n]),s>=r&&(s>=o&&(u-=e.data[a+(s-o)*n]),t.data[a+(s-r)*n]=u/Math.min(s+1,i-1+o-s,o))}function Mc(e){return e[0]}function xc(e){return e[1]}function Ec(){return 1}var kc=function(e){return e};function Oc(e,t){e&&Pc.hasOwnProperty(e.type)&&Pc[e.type](e,t)}var Tc={Feature:function(e,t){Oc(e.geometry,t)},FeatureCollection:function(e,t){for(var r=e.features,n=-1,i=r.length;++n<i;)Oc(r[n].geometry,t)}},Pc={Sphere:function(e,t){t.sphere()},Point:function(e,t){e=e.coordinates,t.point(e[0],e[1],e[2])},MultiPoint:function(e,t){for(var r=e.coordinates,n=-1,i=r.length;++n<i;)e=r[n],t.point(e[0],e[1],e[2])},LineString:function(e,t){Ac(e.coordinates,t,0)},MultiLineString:function(e,t){for(var r=e.coordinates,n=-1,i=r.length;++n<i;)Ac(r[n],t,0)},Polygon:function(e,t){Rc(e.coordinates,t)},MultiPolygon:function(e,t){for(var r=e.coordinates,n=-1,i=r.length;++n<i;)Rc(r[n],t)},GeometryCollection:function(e,t){for(var r=e.geometries,n=-1,i=r.length;++n<i;)Oc(r[n],t)}};function Ac(e,t,r){var n,i=-1,o=e.length-r;for(t.lineStart();++i<o;)n=e[i],t.point(n[0],n[1],n[2]);t.lineEnd()}function Rc(e,t){var r=-1,n=e.length;for(t.polygonStart();++r<n;)Ac(e[r],t,1);t.polygonEnd()}var jc=function(e,t){e&&Tc.hasOwnProperty(e.type)?Tc[e.type](e,t):Oc(e,t)},Cc=function(){return new Nc};function Nc(){this.reset()}Nc.prototype={constructor:Nc,reset:function(){this.s=this.t=0},add:function(e){Lc(Ic,e,this.t),Lc(this,Ic.s,this.s),this.s?this.t+=Ic.t:this.s=Ic.t},valueOf:function(){return this.s}};var Ic=new Nc;function Lc(e,t,r){var n=e.s=t+r,i=n-t,o=n-i;e.t=t-o+(r-i)}var Dc=Math.PI,Bc=2*Dc,qc=Math.abs,Uc=(Math.atan,Math.atan2,Math.cos,Math.ceil,Math.exp,Math.floor,Math.log,Math.pow,Math.sin,Math.sign,Math.sqrt);Math.tan;function zc(){}var Fc,Hc,Vc,Wc,Gc=Cc(),Kc=Cc(),Yc={point:zc,lineStart:zc,lineEnd:zc,polygonStart:function(){Yc.lineStart=Xc,Yc.lineEnd=Jc},polygonEnd:function(){Yc.lineStart=Yc.lineEnd=Yc.point=zc,Gc.add(qc(Kc)),Kc.reset()},result:function(){var e=Gc/2;return Gc.reset(),e}};function Xc(){Yc.point=$c}function $c(e,t){Yc.point=Zc,Fc=Vc=e,Hc=Wc=t}function Zc(e,t){Kc.add(Wc*e-Vc*t),Vc=e,Wc=t}
2function Jc(){Zc(Fc,Hc)}var Qc=Yc,el=1/0,tl=el,rl=-el,nl=rl;var il,ol,al,sl,ul={point:function(e,t){e<el&&(el=e);e>rl&&(rl=e);t<tl&&(tl=t);t>nl&&(nl=t)},lineStart:zc,lineEnd:zc,polygonStart:zc,polygonEnd:zc,result:function(){var e=[[el,tl],[rl,nl]];return rl=nl=-(tl=el=1/0),e}},cl=0,ll=0,fl=0,hl=0,dl=0,pl=0,yl=0,ml=0,bl=0,vl={point:gl,lineStart:_l,lineEnd:Ml,polygonStart:function(){vl.lineStart=xl,vl.lineEnd=El},polygonEnd:function(){vl.point=gl,vl.lineStart=_l,vl.lineEnd=Ml},result:function(){var e=bl?[yl/bl,ml/bl]:pl?[hl/pl,dl/pl]:fl?[cl/fl,ll/fl]:[NaN,NaN];return cl=ll=fl=hl=dl=pl=yl=ml=bl=0,e}};function gl(e,t){cl+=e,ll+=t,++fl}function _l(){vl.point=wl}function wl(e,t){vl.point=Sl,gl(al=e,sl=t)}function Sl(e,t){var r=e-al,n=t-sl,i=Uc(r*r+n*n);hl+=i*(al+e)/2,dl+=i*(sl+t)/2,pl+=i,gl(al=e,sl=t)}function Ml(){vl.point=gl}function xl(){vl.point=kl}function El(){Ol(il,ol)}function kl(e,t){vl.point=Ol,gl(il=al=e,ol=sl=t)}function Ol(e,t){var r=e-al,n=t-sl,i=Uc(r*r+n*n);hl+=i*(al+e)/2,dl+=i*(sl+t)/2,pl+=i,yl+=(i=sl*e-al*t)*(al+e),ml+=i*(sl+t),bl+=3*i,gl(al=e,sl=t)}var Tl=vl;function Pl(e){this._context=e}Pl.prototype={_radius:4.5,pointRadius:function(e){return this._radius=e,this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._context.closePath(),this._point=NaN},point:function(e,t){switch(this._point){case 0:this._context.moveTo(e,t),this._point=1;break;case 1:this._context.lineTo(e,t);break;default:this._context.moveTo(e+this._radius,t),this._context.arc(e,t,this._radius,0,Bc)}},result:zc};var Al,Rl,jl,Cl,Nl,Il=Cc(),Ll={point:zc,lineStart:function(){Ll.point=Dl},lineEnd:function(){Al&&Bl(Rl,jl),Ll.point=zc},polygonStart:function(){Al=!0},polygonEnd:function(){Al=null},result:function(){var e=+Il;return Il.reset(),e}};function Dl(e,t){Ll.point=Bl,Rl=Cl=e,jl=Nl=t}function Bl(e,t){Cl-=e,Nl-=t,Il.add(Uc(Cl*Cl+Nl*Nl)),Cl=e,Nl=t}var ql=Ll;function Ul(){this._string=[]}function zl(e){return"m0,"+e+"a"+e+","+e+" 0 1,1 0,"+-2*e+"a"+e+","+e+" 0 1,1 0,"+2*e+"z"}Ul.prototype={_radius:4.5,_circle:zl(4.5),pointRadius:function(e){return(e=+e)!==this._radius&&(this._radius=e,this._circle=null),this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._string.push("Z"),this._point=NaN},point:function(e,t){switch(this._point){case 0:this._string.push("M",e,",",t),this._point=1;break;case 1:this._string.push("L",e,",",t);break;default:null==this._circle&&(this._circle=zl(this._radius)),this._string.push("M",e,",",t,this._circle)}},result:function(){if(this._string.length){var e=this._string.join("");return this._string=[],e}return null}};var Fl=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Hl=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();function Vl(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Wl(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var Gl=function(e){function t(){return Vl(this,t),Wl(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),Hl(t,[{key:"render",value:function(){var e=this.props,r=e.animation,n=e.bandwidth,i=e.className,o=e.colorRange,a=e.data,s=e.innerHeight,u=e.innerWidth,c=e.marginLeft,l=e.marginTop,f=e.style;if(!a||!u||!s)return null;if(r)return G.a.createElement(Xe,Fl({},this.props,{animatedProps:aa}),G.a.createElement(t,Fl({},this.props,{animation:null})));var h=this._getAttributeFunctor("x"),d=this._getAttributeFunctor("y"),p=function(){var e=Mc,t=xc,r=Ec,n=960,i=500,o=20,a=2,s=3*o,u=n+2*s>>a,c=i+2*s>>a,l=pc(20);function f(n){var i=new Float32Array(u*c),f=new Float32Array(u*c);
2n.forEach((function(n,o,l){var f=+e(n,o,l)+s>>a,h=+t(n,o,l)+s>>a,d=+r(n,o,l);f>=0&&f<u&&h>=0&&h<c&&(i[f+h*u]+=d)})),wc({width:u,height:c,data:i},{width:u,height:c,data:f},o>>a),Sc({width:u,height:c,data:f},{width:u,height:c,data:i},o>>a),wc({width:u,height:c,data:i},{width:u,height:c,data:f},o>>a),Sc({width:u,height:c,data:f},{width:u,height:c,data:i},o>>a),wc({width:u,height:c,data:i},{width:u,height:c,data:f},o>>a),Sc({width:u,height:c,data:f},{width:u,height:c,data:i},o>>a);var d=l(i);if(!Array.isArray(d)){var p=function(e,t){var r,n,i=e.length,o=-1;if(null==t){for(;++o<i;)if(null!=(r=e[o])&&r>=r)for(n=r;++o<i;)null!=(r=e[o])&&r>n&&(n=r)}else for(;++o<i;)if(null!=(r=t(e[o],o,e))&&r>=r)for(n=r;++o<i;)null!=(r=t(e[o],o,e))&&r>n&&(n=r);return n}(i);d=lt(0,p,d),(d=it(0,Math.floor(p/d)*d,d)).shift()}return _c().thresholds(d).size([u,c])(i).map(h)}function h(e){return e.value*=Math.pow(2,-2*a),e.coordinates.forEach(d),e}function d(e){e.forEach(p)}function p(e){e.forEach(y)}function y(e){e[0]=e[0]*Math.pow(2,a)-s,e[1]=e[1]*Math.pow(2,a)-s}function m(){return u=n+2*(s=3*o)>>a,c=i+2*s>>a,f}return f.x=function(t){return arguments.length?(e="function"===typeof t?t:pc(+t),f):e},f.y=function(e){return arguments.length?(t="function"===typeof e?e:pc(+e),f):t},f.weight=function(e){return arguments.length?(r="function"===typeof e?e:pc(+e),f):r},f.size=function(e){if(!arguments.length)return[n,i];var t=Math.ceil(e[0]),r=Math.ceil(e[1]);if(!(t>=0)&&!(t>=0))throw new Error("invalid size");return n=t,i=r,m()},f.cellSize=function(e){if(!arguments.length)return 1<<a;if(!((e=+e)>=1))throw new Error("invalid cell size");return a=Math.floor(Math.log(e)/Math.LN2),m()},f.thresholds=function(e){return arguments.length?(l="function"===typeof e?e:Array.isArray(e)?pc(hc.call(e)):pc(e),f):l},f.bandwidth=function(e){if(!arguments.length)return Math.sqrt(o*(o+1));if(!((e=+e)>=0))throw new Error("invalid bandwidth");return o=Math.round((Math.sqrt(4*e*e+1)-1)/2),m()},f}().x((function(e){return h(e)})).y((function(e){return d(e)})).size([u,s]).bandwidth(n)(a),y=function(e,t){var r,n,i=4.5;function o(e){return e&&("function"===typeof i&&n.pointRadius(+i.apply(this,arguments)),jc(e,r(n))),n.result()}return o.area=function(e){return jc(e,r(Qc)),Qc.result()},o.measure=function(e){return jc(e,r(ql)),ql.result()},o.bounds=function(e){return jc(e,r(ul)),ul.result()},o.centroid=function(e){return jc(e,r(Tl)),Tl.result()},o.projection=function(t){return arguments.length?(r=null==t?(e=null,kc):(e=t).stream,o):e},o.context=function(e){return arguments.length?(n=null==e?(t=null,new Ul):new Pl(t=e),"function"!==typeof i&&n.pointRadius(i),o):t},o.pointRadius=function(e){return arguments.length?(i="function"===typeof e?e:(n.pointRadius(+e),+e),o):i},o.projection(e).context(t)}(),m=function(e){return e.reduce((function(e,t){return{min:Math.min(e.min,t.value),max:Math.max(e.max,t.value)}}),{min:1/0,max:-1/0})}(p),b=m.min,v=m.max,g=or().domain([b,v]).range(o||Xo);return G.a.createElement("g",{className:"rv-xy-plot__series rv-xy-plot__series--contour "+i,transform:"translate("+c+","+l+")"},p.map((function(e,t){return G.a.createElement("path",{className:"rv-xy-plot__series--contour-line",key:"rv-xy-plot__series--contour-line-"+t,d:y(e),style:Fl({fill:g(e.value)},f)})})))}}]),t}(Go);Gl.propTypes=Fl({},Go.propTypes,{animation:o.a.bool,bandwidth:o.a.number,className:o.a.string,marginLeft:o.a.number,marginTop:o.a.number,style:o.a.object}),Gl.defaultProps=Fl({},Go.defaultProps,{bandwidth:40,style:{}});var Kl=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Yl=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();function Xl(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $l(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function Zl(e){var t=Ql(e);if(t)return{title:"x",value:so(t.x)}}function Jl(e){return e.map((function(e,t){if(e)return{value:e.y,title:t}}))}function Ql(e){return(e||[]).find((function(e){return Boolean(e)}))}var ef=function(e){function t(){return Xl(this,t),$l(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),Yl(t,[{key:"_renderCrosshairItems",value:function(){var e=this.props,t=e.values,r=(0,e.itemsFormat)(t);
2return r?r.filter((function(e){return e})).map((function(e,t){return G.a.createElement("div",{className:"rv-crosshair__item",key:"item"+t},G.a.createElement("span",{className:"rv-crosshair__item__title"},e.title),": ",G.a.createElement("span",{className:"rv-crosshair__item__value"},e.value))})):null}},{key:"_renderCrosshairTitle",value:function(){var e=this.props,t=e.values,r=e.titleFormat,n=e.style,i=r(t);return i?G.a.createElement("div",{className:"rv-crosshair__title",key:"title",style:n.title},G.a.createElement("span",{className:"rv-crosshair__title__title"},i.title),": ",G.a.createElement("span",{className:"rv-crosshair__title__value"},i.value)):null}},{key:"render",value:function(){var e=this.props,t=e.children,r=e.className,n=e.values,i=e.marginTop,o=e.marginLeft,a=e.innerWidth,s=e.innerHeight,u=e.style,c=Ql(n);if(!c)return null;var l=Ao(this.props,"x")(c),f=this.props.orientation,h=o+l,d=i,p="rv-crosshair__inner rv-crosshair__inner--"+(void 0===f?l>a/2?"left":"right":f);return G.a.createElement("div",{className:"rv-crosshair "+r,style:{left:h+"px",top:d+"px"}},G.a.createElement("div",{className:"rv-crosshair__line",style:Kl({height:s+"px"},u.line)}),G.a.createElement("div",{className:p},t||G.a.createElement("div",{className:"rv-crosshair__inner__content",style:u.box},G.a.createElement("div",null,this._renderCrosshairTitle(),this._renderCrosshairItems()))))}}],[{key:"defaultProps",get:function(){return{titleFormat:Zl,itemsFormat:Jl,style:{line:{},title:{},box:{}}}}},{key:"propTypes",get:function(){return{className:o.a.string,values:o.a.arrayOf(o.a.oneOfType([o.a.number,o.a.string,o.a.object])),series:o.a.object,innerWidth:o.a.number,innerHeight:o.a.number,marginLeft:o.a.number,marginTop:o.a.number,orientation:o.a.oneOf(["left","right"]),itemsFormat:o.a.func,titleFormat:o.a.func,style:o.a.shape({line:o.a.object,title:o.a.object,box:o.a.object})}}}]),t}(W.PureComponent);ef.displayName="Crosshair";var tf=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),rf=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e};function nf(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function of(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function af(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t<e.length;t++)r[t]=e[t];return r}return Array.from(e)}var sf={stroke:"blue",fill:"blue"};function uf(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:sf;switch(e){case"diamond":return G.a.createElement("polygon",{style:r,points:"0 0 "+t/2+" "+t/2+" 0 "+t+" "+-t/2+" "+t/2+" 0 0"});case"star":var n=[].concat(af(new Array(5))).map((function(e,r){var n=r/5*Math.PI*2,i=n+Math.PI/10,o=n-Math.PI/10,a=t/2.61;return"\n "+Math.cos(o)*t+" "+Math.sin(o)*t+"\n "+Math.cos(i)*a+" "+Math.sin(i)*a+"\n "})).join(" ");return G.a.createElement("polygon",{points:n,x:"0",y:"0",height:t,width:t,style:r});case"square":return G.a.createElement("rect",{x:""+-t/2,y:""+-t/2,height:t,width:t,style:r});default:case"circle":return G.a.createElement("circle",{cx:"0",cy:"0",r:t/2,style:r})}}var cf=function(e){function t(){return nf(this,t),of(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),tf(t,[{key:"render",value:function(){var e=this,r=this.props,n=r.animation,i=r.className,o=r.customComponent,a=r.data,s=r.innerHe
2ight,u=r.innerWidth,c=r.marginLeft,l=r.marginTop,f=r.style,h=r.size;if(!a||!u||!s)return null;if(n)return G.a.createElement(Xe,rf({},this.props,{animatedProps:aa}),G.a.createElement(t,rf({},this.props,{animation:!1})));var d=this._getAttributeFunctor("x"),p=this._getAttributeFunctor("y"),y=a.map((function(t,r){var n={x:d(t),y:p(t)},i=function(e){var t=e.customComponent,r=e.defaultType,n=e.positionInPixels,i=(e.positionFunctions,e.style),o=e.propsSize,a=t.size,s=rf({},i,t.style||{}),u=t.customComponent;return u||"string"!==typeof r?u?"string"===typeof u?uf(u||r,a,s):u(t,n,s):r(t,n,s):uf(r,a||o,s)}({customComponent:t,positionInPixels:n,defaultType:o,positionFunctions:{x:d,y:p},style:f,propsSize:h});return G.a.createElement("g",{className:"rv-xy-plot__series--custom-svg",key:"rv-xy-plot__series--custom-svg-"+r,transform:"translate("+n.x+","+n.y+")",onMouseEnter:function(r){return e._valueMouseOverHandler(t,r)},onMouseLeave:function(r){return e._valueMouseOutHandler(t,r)}},i)}));return G.a.createElement("g",{className:"rv-xy-plot__series rv-xy-plot__series--custom-svg-wrapper "+i,transform:"translate("+c+","+l+")"},y)}}]),t}(Go);cf.propTypes={animation:o.a.bool,className:o.a.string,customComponent:o.a.oneOfType([o.a.string,o.a.func]),data:o.a.arrayOf(o.a.shape({x:o.a.oneOfType([o.a.string,o.a.number]).isRequired,y:o.a.oneOfType([o.a.string,o.a.number]).isRequired})).isRequired,marginLeft:o.a.number,marginTop:o.a.number,style:o.a.object,size:o.a.number,onValueMouseOver:o.a.func,onValueMouseOut:o.a.func},cf.defaultProps=rf({},Go.defaultProps,{animation:!1,customComponent:"circle",style:{},size:2});var lf=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e};function ff(e){var t=e.axisDomain,r=e.numberOfTicks,n=e.axisStart,i=e.axisEnd,o=e.tickValue,a=e.tickSize,s=e.style,u=function(e){var t=e.axisStart,r=e.axisEnd,n=e.numberOfTicks,i=e.axisDomain,o=function(e,t){if(e.x===t.x)return{left:e.y,right:t.y,slope:0,offset:e.x};var r=(e.y-t.y)/(e.x-t.x);return{left:e.x,right:t.x,slope:r,offset:e.y-r*e.x}}(t,r),a=o.left,s=o.right,u=o.slope,c=o.offset,l=(s-a)/n,f=or().domain([a,s]).range(i),h=t.x===r.x;return{slope:h?1/0:u,points:it(a,s+l,l).map((function(e){return h?{y:e,x:u*e+c,text:f(e)}:{x:e,y:u*e+c,text:f(e)}})).slice(0,n+1)}}({axisStart:n,axisEnd:i,numberOfTicks:r,axisDomain:t}).points,c=function(e,t){return e.x===t.x?t.y>e.y?Math.PI/2:3*Math.PI/2:Math.atan((t.y-e.y)/(t.x-e.x))}(n,i)+Math.PI/2;return u.map((function(e,t){var r=lf({x1:0,y1:0,x2:a*Math.cos(c),y2:a*Math.sin(c)},s.ticks),n=lf({x:a*Math.cos(c),y:a*Math.sin(c),textAnchor:"start"},s.text);return G.a.createElement("g",{key:t,transform:"translate("+e.x+", "+e.y+")",className:"rv-xy-plot__axis__tick"},G.a.createElement("line",lf({},r,{className:"rv-xy-plot__axis__tick__line"})),G.a.createElement("text",lf({},n,{className:"rv-xy-plot__axis__tick__text"}),o(e.text)))}))}var hf=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},df=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();function pf(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yf(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var mf=["xRange","yRange","xDomain","yDomain","width","height","marginLeft","marginTop","marginRight","marginBottom","tickSize","tickTotal","tickSizeInner","tickSizeOuter"],bf=function(e){function t(){return pf(this,t),yf(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),df(t,[{key:"render",value:function(){var e=this.props,r=e.animation,n=e.className,i=e.marginLeft,o=e.marginTop,a=e.axisStart,s=e.axisEnd,u=e.axisDomain,c=e.numberOfTicks,l=e.tickValue,f=e.tickSize,h=e.style;if(r)return G.a.createElement(Xe,hf({},this.props,{animatedProps:mf}),G.a.createElement(t,hf({},this.props,{animation:null})));var d=this._getAttributeFunctor("x"),p=this._getAttributeFunctor("y");return G.a.createElement("g",{className:"rv-xy-manipulable-axis rv-xy-plot__axis "+n,transform:"translate("+i+","+o+")"},G.a.createElement("line",hf({},hf({x1:d({x:a.x}),x2:d({x:s.x}),y1:p({y:a.y}),y2:p({y:s.y})},h.line),{className:"rv-xy-plot__axis__line"})),G.a.createElement("g",{className:"rv-xy-manipulable-axis__ticks"},ff({axisDomain:u,axisEnd:{x:d(s),y:p(s)},axisStart:{x:d(a),y:p(a)},numberOfTicks:c,tickValue:l,tickSize:f,style:h})))}}]),t}(Go),vf=Xt(".2r");bf.defaultProps={className:"",numberOfTicks:10,tickValue:function(e){return vf(e)},tickSize:5,style:{line:{strokeWidth:1},ticks:{strokeWidth:2},text:{}}},bf.propTypes=hf({},Go.propTypes,{axisDomain:o.a.arrayOf(o.a.number).isRequired,axisEnd:o.a.shape({x:o.a.oneOfType([o.a.number,o.a.string]),y:o.a.oneOfType([o.a.number,o.a.string])}
2).isRequired,axisStart:o.a.shape({x:o.a.oneOfType([o.a.number,o.a.string]),y:o.a.oneOfType([o.a.number,o.a.string])}).isRequired,className:o.a.string,numberOfTicks:o.a.number,tickValue:o.a.func,tickSize:o.a.number,style:o.a.shape({line:o.a.object,ticks:o.a.object,text:o.a.object})}),bf.displayName="DecorativeAxis";var gf=bf;function _f(e){var t=e.className;return G.a.createElement("defs",{className:"rv-gradient-defs "+t},e.children)}_f.displayName="GradientDefs",_f.requiresSVG=!0,_f.propTypes={className:o.a.string},_f.defaultProps={className:""};var wf=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Sf=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();function Mf(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xf(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ef(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var kf=nc.VERTICAL,Of=nc.HORIZONTAL,Tf={direction:o.a.oneOf([kf,Of]),attr:o.a.string.isRequired,width:o.a.number,height:o.a.number,top:o.a.number,left:o.a.number,style:o.a.object,tickValues:o.a.arrayOf(o.a.oneOfType([o.a.number,o.a.string])),tickTotal:o.a.number,animation:$e,marginTop:o.a.number,marginBottom:o.a.number,marginLeft:o.a.number,marginRight:o.a.number,innerWidth:o.a.number,innerHeight:o.a.number},Pf={direction:kf},Af=["xRange","yRange","xDomain","yDomain","width","height","marginLeft","marginTop","marginRight","marginBottom","tickTotal"],Rf=function(e){function t(){return xf(this,t),Ef(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),Sf(t,[{key:"_getDefaultProps",value:function(){var e=this.props,t=e.innerWidth,r=e.innerHeight,n=e.marginTop;return{left:e.marginLeft,top:n,width:t,height:r,tickTotal:ic(e.direction===kf?t:r)}}},{key:"render",value:function(){var e=this.props,r=e.animation,n=e.className;if(r)return G.a.createElement(Xe,wf({},this.props,{animatedProps:Af}),G.a.createElement(t,wf({},this.props,{animation:null})));var i=wf({},this._getDefaultProps(),this.props),o=i.attr,a=i.direction,s=i.width,u=i.height,c=i.style,l=i.tickTotal,f=i.tickValues,h=i.top,d=i.left,p=a===kf,y=p?"y":"x",m=p?"x":"y",b=p?u:s,v=Oo(i,o),g=oc(v,l,f);return G.a.createElement("g",{transform:"translate("+d+","+h+")",className:"rv-xy-plot__grid-lines "+n},g.map((function(e,t){var r,n=v(e),i=(Mf(r={},m+"1",n),Mf(r,m+"2",n),Mf(r,y+"1",0),Mf(r,y+"2",b),r);return G.a.createElement("line",wf({},i,{key:t,className:"rv-xy-plot__grid-lines__line",style:c}))})))}}]),t}(W.PureComponent);Rf.displayName="GridLines",Rf.defaultProps=Pf,Rf.propTypes=Tf,Rf.requiresSVG=!0;var jf=Rf,Cf=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Nf=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();function If(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Lf(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var Df=function(e){function t(){return If(this,t),Lf(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),Nf(t,[{key:"render",value:function(){var e=this,r=this.props,n=r.animation,i=r.className,o=r.data,a=r.marginLeft,s=r.marginTop,u=r.style;if(!o)return null;if(n)return G.a.createElement(Xe,Cf({},this.props,{animatedProps:aa}),G.a.createElement(t,Cf({},this.props,{animation:null})));var c=Cf({rectStyle:{}},u).rectStyle,l=this._getAttributeFunctor("x"),f=this._getAttributeFunctor("y"),h=this._getAttributeFunctor("op
2acity"),d=this._getAttributeFunctor("fill")||this._getAttributeFunctor("color"),p=this._getAttributeFunctor("stroke")||this._getAttributeFunctor("color"),y=this._getScaleDistance("x"),m=this._getScaleDistance("y");return G.a.createElement("g",{className:"rv-xy-plot__series rv-xy-plot__series--heatmap "+i,transform:"translate("+a+","+s+")"},o.map((function(t,r){var n=Cf({style:Cf({stroke:p&&p(t),fill:d&&d(t),opacity:h&&h(t)},u)},c,{x:l(t)-y/2,y:f(t)-m/2,width:y,height:m,key:r,onClick:function(r){return e._valueClickHandler(t,r)},onContextMenu:function(r){return e._valueRightClickHandler(t,r)},onMouseOver:function(r){return e._valueMouseOverHandler(t,r)},onMouseOut:function(r){return e._valueMouseOutHandler(t,r)}});return G.a.createElement("rect",n)})))}}],[{key:"getParentConfig",value:function(e){return{isDomainAdjustmentNeeded:"x"===e||"y"===e}}}]),t}(Go);Df.propTypes=Cf({},Go.propTypes),Df.displayName="HeatmapSeries";var Bf=Math.PI/3,qf=[0,Bf,2*Bf,3*Bf,4*Bf,5*Bf];function Uf(e){return e[0]}function zf(e){return e[1]}var Ff=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Hf=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();function Vf(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Wf(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function Gf(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t<e.length;t++)r[t]=e[t];return r}return Array.from(e)}var Kf=function(e){function t(){return Vf(this,t),Wf(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),Hf(t,[{key:"render",value:function(){var e=this,r=this.props,n=r.animation,i=r.className,o=r.colorRange,a=r.data,s=r.innerHeight,u=r.innerWidth,c=r.marginLeft,l=r.marginTop,f=r.radius,h=r.sizeHexagonsWithCount,d=r.style,p=r.xOffset,y=r.yOffset;if(!a)return null;if(n)return G.a.createElement(Xe,Ff({},this.props,{animatedProps:aa}),G.a.createElement(t,Ff({},this.props,{animation:null})));var m=this._getAttributeFunctor("x"),b=this._getAttributeFunctor("y"),v=function(){var e,t,r,n=0,i=0,o=1,a=1,s=Uf,u=zf;function c(e){var n,i={},o=[],a=e.length;for(n=0;n<a;++n)if(!isNaN(l=+s.call(null,c=e[n],n,e))&&!isNaN(f=+u.call(null,c,n,e))){var c,l,f,h=Math.round(f/=r),d=Math.round(l=l/t-(1&h)/2),p=f-h;if(3*Math.abs(p)>1){var y=l-d,m=d+(l<d?-1:1)/2,b=h+(f<h?-1:1),v=l-m,g=f-b;y*y+p*p>v*v+g*g&&(d=m+(1&h?1:-1)/2,h=b)}var _=d+"-"+h,w=i[_];w?w.push(c):(o.push(w=i[_]=[c]),w.x=(d+(1&h)/2)*t,w.y=h*r)}return o}function l(e){var t=0,r=0;return qf.map((function(n){var i=Math.sin(n)*e,o=-Math.cos(n)*e,a=i-t,s=o-r;return t=i,r=o,[a,s]}))}return c.hexagon=function(t){return"m"+l(null==t?e:+t).join("l")+"z"},c.centers=function(){for(var s=[],u=Math.round(i/r),c=Math.round(n/t),l=u*r;l<a+e;l+=r,++u)for(var f=c*t+(1&u)*t/2;f<o+t/2;f+=t)s.push([f,l]);return s},c.mesh=function(){var t=l(e).slice(0,4).join("l");return c.centers().map((function(e){return"M"+e+"m"+t})).join("")},c.x=function(e){return arguments.length?(s=e,c):s},c.y=function(e){return arguments.length?(u=e,c):u},c.radius=function(n){return arguments.length?(t=2*(e=+n)*Math.sin(Bf),r=1.5*e,c):e},c.size=function(e){return arguments.length?(n=i=0,o=+e[0],a=+e[1],c):[o-n,a-i]},c.extent=function(e){return arguments.length?(n=+e[0][0],i=+e[0][1],o=+e[1][0],a=+e[1][1],c):[[n,i],[o,a]]},c.radius(1)}().x((function(e){return m(e)+p})).y((function(e){return b(e)+y})).radius(f).size([u,s]),g=v.hexagon(),_=v(a),w=function(e,t){return e.countDomain||[0,Math.max.apply(Math,Gf(t.map((function(e){return e.length}))))]}(this.props,_),S=or().domain(w).range(o),M=or().domain(w).range([0,f]);return G.a.createElement("g",{className:"rv-xy-plot__series rv-xy-plot__series--hexbin "+i,transform:"translate("+c+","+l+")"},_.map((function(t,r){var n={style:d,d:h?v.hexagon(M(t.length)):g,fill:S(t.length),transform:"translate("+t.x+", "+t.y+")",key:r,onClick:function(r){return e._valueClickHandler(t,r)},onContextMenu:function(r){return e._valueRightClickHandler(t,r)},onMouseOver:function(r){return e._valueMouseOverHandler(t,r)},onMouseOut:function(r){return e._valueMouseOutHandler(t,r)}};return G.a.createElement("path",n)})))}}]),t}(Go);Kf.propTypes=Ff({},Go.propTypes,{radius:o.a.number}),Kf.defaultProps={radius:20,colorRange:Xo,xOffset:0,yOffset:0},Kf.displayName="HexbinSeries";var Yf=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];
2for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Xf=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();function $f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Zf(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function Jf(e){return{xLoc:"touchstart"===e.type?e.pageX:e.offsetX,yLoc:"touchstart"===e.type?e.pageY:e.offsetY}}var Qf=function(e){function t(){var e,r,n;$f(this,t);for(var i=arguments.length,o=Array(i),a=0;a<i;a++)o[a]=arguments[a];return r=n=Zf(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(o))),n.state={dragging:!1,brushArea:{top:0,right:0,bottom:0,left:0},brushing:!1,startLocX:0,startLocY:0,dragArea:null},Zf(n,r)}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),Xf(t,[{key:"_getDrawArea",value:function(e,t){var r=this.state,n=r.startLocX,i=r.startLocY,o=this.props,a=o.enableX,s=o.enableY,u=o.highlightWidth,c=o.highlightHeight,l=o.innerWidth,f=o.innerHeight,h=o.marginLeft,d=o.marginRight,p=o.marginBottom,y=o.marginTop,m=u||l+h+d,b=c||f+y+p;return{bottom:s?Math.max(i,t):b,right:a?Math.max(n,e):m,left:a?Math.min(e,n):0,top:s?Math.min(t,i):0}}},{key:"_getDragArea",value:function(e,t){var r=this.props,n=r.enableX,i=r.enableY,o=this.state,a=o.startLocX,s=o.startLocY,u=o.dragArea;return{bottom:u.bottom+(i?t-s:0),left:u.left+(n?e-a:0),right:u.right+(n?e-a:0),top:u.top+(i?t-s:0)}}},{key:"_clickedOutsideDrag",value:function(e,t){var r=this.props,n=r.enableX,i=r.enableY,o=this.state,a=o.dragArea,s=o.brushArea,u=s.left,c=s.right,l=s.top,f=s.bottom,h=a&&(e<u||e>c),d=a&&(t<l||t>f);return n&&i?h||d:n?h:!i||d}},{key:"_convertAreaToCoordinates",value:function(e){var t=this.props,r=t.enableX,n=t.enableY,i=t.marginLeft,o=t.marginTop,a=Oo(this.props,"x"),s=Oo(this.props,"y");return r&&n?{bottom:s.invert(e.bottom),left:a.invert(e.left-i),right:a.invert(e.right-i),top:s.invert(e.top)}:n?{bottom:s.invert(e.bottom-o),top:s.invert(e.top-o)}:r?{left:a.invert(e.left-i),right:a.invert(e.right-i)}:{}}},{key:"startBrushing",value:function(e){var t=this,r=this.props,n=r.onBrushStart,i=r.onDragStart,o=r.drag,a=this.state.dragArea,s=Jf(e.nativeEvent),u=s.xLoc,c=s.yLoc,l=function(e,r){var n={bottom:c,left:u,right:u,top:c};t.setState({dragging:e,brushArea:a&&!r?a:n,brushing:!e,startLocX:u,startLocY:c})},f=this._clickedOutsideDrag(u,c);if(o&&!a||!o||f)return l(!1,f),void(n&&n(e));o&&a&&(l(!0,f),i&&i(e))}},{key:"stopBrushing",value:function(e){var t=this.state,r=t.brushing,n=t.dragging,i=t.brushArea;if(r||n){var o=this.props,a=o.onBrushEnd,s=o.onDragEnd,u=o.drag,c=Math.abs(i.right-i.left)<5,l=Math.abs(i.top-i.bottom)<5||c;this.setState({brushing:!1,dragging:!1,brushArea:u?i:{top:0,right:0,bottom:0,left:0},startLocX:0,startLocY:0,dragArea:u&&!l&&i}),r&&a&&a(l?null:this._convertAreaToCoordinates(i)),u&&s&&s(l?null:this._convertAreaToCoordinates(i))}}},{key:"onBrush",value:function(e){var t=this.props,r=t.onBrush,n=t.onDrag,i=t.drag,o=this.state,a=o.brushing,s=o.dragging,u=Jf(e.nativeEvent),c=u.xLoc,l=u.yLoc;if(a){var f=this._getDrawArea(c,l);this.setState({brushArea:f}),r&&r(this._convertAreaToCoordinates(f))}if(i&&s){var h=this._getDragArea(c,l);this.setState({brushArea:h}),n&&n(this._convertAreaToCoordinates(h))}}},{key:"render",value:function(){var e=this,t=this.props,r=t.color,n=t.className,i=t.highlightHeight,o=t.highlightWidth,a=t.highlightX,s=t.highlightY,u=t.innerWidth,c=t.innerHeight,l=t.marginLeft,f=t.marginRight,h=t.marginTop,d=t.marginBottom,p=t.opacity,y=this.state.brushArea,m=y.left,b=y.right,v=y.top,g=y.bottom,_=0;a&&(_=Oo(this.props,"x")(a));var w=0;s&&(w=Oo(this.props,"y")(s));var S=o||l+f+u,M=i||h+d+c;return G.a.createElement("g",{transform:"translate("+_+", "+w+")",className:n+" rv-highlight-container"},G.a.createElement("rect",{className:"rv-mouse-target",fill:"black",opacity:"0",x:"0",y:"0",width:Math.max(S,0),height:Math.max(M,0),onMouseDown:function(t){return e.startBrushing(t)},onMouseMove:function(t){return e.onBrush(t)},onMouseUp:function(t){return e.stopBrushing(t)},onMouseLeave:function(t){return e.stopBrushing(t)},onTouchEnd:function(t){t.preventDefault(),e.stopBrushing(t)},onTouchCancel:function(t){t.preventDefault(),e.stopBrushing(t)},onContextMenu:function(e){return e.preventDefault()},onContextMenuCapture:function(e){return e.preventDefault()}}),G.a.createElement("rect",{className:"rv-highlight",pointerEvents:"none",opacity:p,fill:r,x:m,y:v,width:Math.min(Math.max(0,b-m),S),height:Math.min(Math.max(0,g-v),M)}))}}]),t}(Go);Qf.displayName="HighlightOverlay",Qf.defaultProps={color:"rgb(77, 182, 172)",className:"",enableX:!0,enableY:!0,opacity:.3},Qf.propTypes=Yf({},Go.propTypes,{enableX:o.a.bool,enableY:o.a.bool,highlightHeight:o.a.number,highlightWidth:o.a.number,highlightX:o.a.oneOfType([o.a.string,o.a.number]),highlightY:o.a.oneOfType([o.a.string,o.a.number]),onBrushStart:o.a.func,onDragStart:o.a.func,onBrush:o.a.func,onDrag:o.a.func,onBrushEnd:o.a.func,onDragEnd:o.a.func});var eh=Qf,th=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];
2for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},rh=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();function nh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ih(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var oh={AUTO:"auto",LEFT:"left",RIGHT:"right",LEFT_EDGE:"leftEdge",RIGHT_EDGE:"rightEdge",BOTTOM:"bottom",TOP:"top",BOTTOM_EDGE:"bottomEdge",TOP_EDGE:"topEdge"},ah={BOTTOM_LEFT:"bottomleft",BOTTOM_RIGHT:"bottomright",TOP_LEFT:"topleft",TOP_RIGHT:"topright"};function sh(e){return Object.keys(e).map((function(t){return{title:t,value:so(e[t])}}))}var uh=function(e){function t(){return nh(this,t),ih(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),rh(t,[{key:"_getAlign",value:function(e,t){var r=this.props,n=r.innerWidth,i=r.innerHeight,o=r.orientation,a=r.align,s=a.horizontal,u=a.vertical,c=o?this._mapOrientationToAlign(o):{horizontal:s,vertical:u};return s===oh.AUTO&&(c.horizontal=e>n/2?oh.LEFT:oh.RIGHT),u===oh.AUTO&&(c.vertical=t>i/2?oh.TOP:oh.BOTTOM),c}},{key:"_getAlignClassNames",value:function(e){var t=this.props.orientation;return(t?"rv-hint--orientation-"+t:"")+" rv-hint--horizontalAlign-"+e.horizontal+"\n rv-hint--verticalAlign-"+e.vertical}},{key:"_getAlignStyle",value:function(e,t,r){return th({},this._getXCSS(e.horizontal,t),this._getYCSS(e.vertical,r))}},{key:"_getCSSBottom",value:function(e){if(void 0===e||null===e)return{bottom:0};var t=this.props,r=t.innerHeight;return{bottom:t.marginBottom+r-e}}},{key:"_getCSSLeft",value:function(e){return void 0===e||null===e?{left:0}:{left:this.props.marginLeft+e}}},{key:"_getCSSRight",value:function(e){if(void 0===e||null===e)return{right:0};var t=this.props,r=t.innerWidth;return{right:t.marginRight+r-e}}},{key:"_getCSSTop",value:function(e){return void 0===e||null===e?{top:0}:{top:this.props.marginTop+e}}},{key:"_getPositionInfo",value:function(){var e=this.props,t=e.value,r=e.getAlignStyle,n=Ao(this.props,"x")(t),i=Ao(this.props,"y")(t),o=this._getAlign(n,i);return{position:r?r(o,n,i):this._getAlignStyle(o,n,i),positionClassName:this._getAlignClassNames(o)}}},{key:"_getXCSS",value:function(e,t){switch(e){case oh.LEFT_EDGE:return this._getCSSLeft(null);
2case oh.RIGHT_EDGE:return this._getCSSRight(null);case oh.LEFT:return this._getCSSRight(t);case oh.RIGHT:default:return this._getCSSLeft(t)}}},{key:"_getYCSS",value:function(e,t){switch(e){case oh.TOP_EDGE:return this._getCSSTop(null);case oh.BOTTOM_EDGE:return this._getCSSBottom(null);case oh.BOTTOM:return this._getCSSTop(t);case oh.TOP:default:return this._getCSSBottom(t)}}},{key:"_mapOrientationToAlign",value:function(e){switch(e){case ah.BOTTOM_LEFT:return{horizontal:oh.LEFT,vertical:oh.BOTTOM};case ah.BOTTOM_RIGHT:return{horizontal:oh.RIGHT,vertical:oh.BOTTOM};case ah.TOP_LEFT:return{horizontal:oh.LEFT,vertical:oh.TOP};case ah.TOP_RIGHT:return{horizontal:oh.RIGHT,vertical:oh.TOP}}}},{key:"render",value:function(){var e=this.props,t=e.value,r=e.format,n=e.children,i=e.style,o=e.className,a=this._getPositionInfo(),s=a.position,u=a.positionClassName;return G.a.createElement("div",{className:"rv-hint "+u+" "+o,style:th({},i,s,{position:"absolute"})},n||G.a.createElement("div",{className:"rv-hint__content",style:i.content},r(t).map((function(e,t){return G.a.createElement("div",{key:"rv-hint"+t,style:i.row},G.a.createElement("span",{className:"rv-hint__title",style:i.title},e.title),": ",G.a.createElement("span",{className:"rv-hint__value",style:i.value},e.value))}))))}}],[{key:"defaultProps",get:function(){return{format:sh,align:{horizontal:oh.AUTO,vertical:oh.AUTO},style:{}}}},{key:"propTypes",get:function(){return{marginTop:o.a.number,marginLeft:o.a.number,innerWidth:o.a.number,innerHeight:o.a.number,scales:o.a.object,value:o.a.object,format:o.a.func,style:o.a.object,className:o.a.string,align:o.a.shape({horizontal:o.a.oneOf([oh.AUTO,oh.LEFT,oh.RIGHT,oh.LEFT_EDGE,oh.RIGHT_EDGE]),vertical:o.a.oneOf([oh.AUTO,oh.BOTTOM,oh.TOP,oh.BOTTOM_EDGE,oh.TOP_EDGE])}),getAlignStyle:o.a.func,orientation:o.a.oneOf([ah.BOTTOM_LEFT,ah.BOTTOM_RIGHT,ah.TOP_LEFT,ah.TOP_RIGHT])}}}]),t}(W.PureComponent);uh.displayName="Hint",uh.ORIENTATION=ah,uh.ALIGN=oh;var ch=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},lh=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();function fh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function hh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dh(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var ph=function(e){function t(){return hh(this,t),dh(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),lh(t,[{key:"render",value:function(){var e=this,r=this.props,n=r.animation,i=r.className,o=r.data,a=r.linePosAttr,s=r.lineSizeAttr,u=r.marginLeft,c=r.marginTop,l=r.style,f=r.valuePosAttr,h=r.valueSizeAttr,d=r.barWidth;if(!o)return null;if(n)return G.a.createElement(Xe,ch({},this.props,{animatedProps:aa}),G.a.createElement(t,ch({},this.props,{animation:null})));var p=sa(this.props),y=p.sameTypeTotal,m=p.sameTypeIndex,b=this._getScaleDistance(a),v=this._getAttributeFunctor(a),g=this._getAttributeFunctor(f),_=this._getAttr0Functor(f),w=this._getAttributeFunctor("fill")||this._getAttributeFunctor("color"),S=this._getAttributeFunctor("stroke")||this._getAttributeFunctor("color"),M=this._getAttributeFunctor("opacity"),x=b/2*d;return G.a.createElement("g",{className:"rv-xy-plot__series rv-xy-plot__series--bar "+i,transform:"translate("+u+","+c+")"},o.map((function(t,r){var n,i=2*x,o=v(t),u=i/y-(y-1)/y,c=o-x+u*m+m,d=(fh(n={style:ch({opacity:M&&M(t),stroke:S&&S(t),fill:w&&w(t)},l)},a,c),fh(n,s,u),fh(n,f,Math.min(_(t),g(t))),fh(n,h,Math.abs(-_(t)+g(t))),fh(n,"onClick",(function(r){return e._valueClickHandler(t,r)})),fh(n,"onContextMenu",(function(r){return e._valueRightClickHandler(t,r)})),fh(n,"onMouseOver",(function(r){return e._valueMouseOverHandler(t,r)})),fh(n,"onMouseOut",(function(r){return e._valueMouseOutHandler(t,r)})),fh(n,"key",r),n);return G.a.createElement("rect",d)})))}}],[{key:"propTypes",get:function(){return ch({},Go.propTypes,{linePosAttr:o.a.string,valuePosAttr:o.a.string,lineSizeAttr:o.a.string,valueSizeAttr:o.a.string,cluster:o.a.string,barWidth:o.a.number})}},{key:"defaultProps",get:function(){return{barWidth:.85}}}]),t}(Go);ph.displayName="BarSeries";var yh=ph,mh=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];
2for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},bh=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();function vh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gh(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var _h=function(e){function t(){return vh(this,t),gh(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),bh(t,[{key:"render",value:function(){return G.a.createElement(yh,mh({},this.props,{linePosAttr:"y",valuePosAttr:"x",lineSizeAttr:"height",valueSizeAttr:"width"}))}}],[{key:"getParentConfig",value:function(e){return{isDomainAdjustmentNeeded:"y"===e,zeroBaseValue:"x"===e}}}]),t}(Go);_h.displayName="HorizontalBarSeries";var wh=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Sh=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();function Mh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xh(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var Eh=function(e){function t(){return Mh(this,t),xh(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),Sh(t,[{key:"render",value:function(){return null}}],[{key:"renderLayer",value:function(e,t){var r=e.data,n=e.linePosAttr,i=e.lineSizeAttr,o=e.valuePosAttr,a=e.marginTop,s=e.marginBottom;if(r&&0!==r.length){var u=function(e,t){var r=ko(e,t);return r?r.distance:0}(e,n),c=Ao(e,n),l=Ao(e,o),f=Ro(e,o),h=Ao(e,"fill")||Ao(e,"color"),d=Ao(e,"stroke")||Ao(e,"color"),p=Ao(e,"opacity"),y=u/2*.85,m=2*y,b=sa(e),v=b.sameTypeTotal,g=b.sameTypeIndex;r.forEach((function(e){var r=c(e)-y,n=m/v-(v-1)/v,u=ye(h(e)),b=ye(d(e)),_=p(e)||1,w=r+n*g+g,S=Math.min(f(e),l(e)),M="x"===o?S:w,x="y"===o?S:w,E=Math.abs(-f(e)+l(e)),k="height"===i?n:E,O="width"===i?n:E;t.beginPath(),t.rect(M+s,x+a,O,k),t.fillStyle="rgba("+u.r+", "+u.g+", "+u.b+", "+_+")",t.fill(),t.strokeStyle="rgba("+b.r+", "+b.g+", "+b.b+", "+_+")",t.stroke()}))}}},{key:"requiresSVG",get:function(){return!1}},{key:"isCanvas",get:function(){return!0}}]),t}(Go);Eh.displayName="BarSeriesCanvas",Eh.defaultProps=wh({},Go.defaultProps,{linePosAttr:o.a.string.isRequired,valuePosAttr:o.a.string.isRequired,lineSizeAttr:o.a.string.isRequired,valueSizeAttr:o.a.string.isRequired}),Eh.propTypes=wh({},Go.propTypes);var kh=Eh,Oh=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Th=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();function Ph(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ah(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var Rh=function(e){function t(){return Ph(this,t),Ah(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),Th(t,[{key:"render",value:function(){return null}}],[{key:"getParentConfig",value:function(e){return{isDomainAdjustmentNeeded:"y"===e,zeroBaseValue:"x"===e}}},{key:"renderLayer",value:function(e,t){kh.renderLayer(Oh({},e,{linePosAttr:"y",valuePosAttr:"x",lineSizeAttr:"height",valueSizeAttr:"width"}),t)}},{key:"requiresSVG",get:function(){return!1}},{key:"isCanvas",get:function(){return!0}}]),t}(Go);Rh.displayName="HorizontalBarSeriesCanvas",Rh.propTypes=Oh({},Go.propTypes);var jh=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];
2for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Ch=nc.HORIZONTAL,Nh=jh({},jf.propTypes,{direction:o.a.oneOf([Ch])}),Ih={direction:Ch,attr:"y"};function Lh(e){return G.a.createElement(jf,e)}Lh.displayName="HorizontalGridLines",Lh.propTypes=Nh,Lh.defaultProps=Ih,Lh.requiresSVG=!0;var Dh=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Bh=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();function qh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Uh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zh(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var Fh=function(e){function t(){return Uh(this,t),zh(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),Bh(t,[{key:"render",value:function(){var e=this,r=this.props,n=r.animation,i=r.className,o=r.data,a=r.linePosAttr,s=r.lineSizeAttr,u=r.marginLeft,c=r.marginTop,l=r.style,f=r.valuePosAttr,h=r.valueSizeAttr;if(!o)return null;if(n)return G.a.createElement(Xe,Dh({},this.props,{animatedProps:aa}),G.a.createElement(t,Dh({},this.props,{animation:null})));var d=this._getAttributeFunctor(a),p=this._getAttr0Functor(a),y=this._getAttributeFunctor(f),m=this._getAttr0Functor(f),b=this._getAttributeFunctor("fill")||this._getAttributeFunctor("color"),v=this._getAttributeFunctor("stroke")||this._getAttributeFunctor("color"),g=this._getAttributeFunctor("opacity");return G.a.createElement("g",{className:"rv-xy-plot__series rv-xy-plot__series--rect "+i,transform:"translate("+u+","+c+")"},o.map((function(t,r){var n,i=(qh(n={style:Dh({opacity:g&&g(t),stroke:v&&v(t),fill:b&&b(t)},l)},a,p(t)),qh(n,s,Math.abs(d(t)-p(t))),qh(n,f,Math.min(m(t),y(t))),qh(n,h,Math.abs(-m(t)+y(t))),qh(n,"onClick",(function(r){return e._valueClickHandler(t,r)})),qh(n,"onContextMenu",(function(r){return e._valueRightClickHandler(t,r)})),qh(n,"onMouseOver",(function(r){return e._valueMouseOverHandler(t,r)})),qh(n,"onMouseOut",(function(r){return e._valueMouseOutHandler(t,r)})),qh(n,"key",r),n);return G.a.createElement("rect",i)})))}}],[{key:"propTypes",get:function(){return Dh({},Go.propTypes,{linePosAttr:o.a.string,valuePosAttr:o.a.string,lineSizeAttr:o.a.string,valueSizeAttr:o.a.string})}}]),t}(Go);Fh.displayName="RectSeries";var Hh=Fh,Vh=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Wh=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();function Gh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Kh(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var Yh=function(e){function t(){return Gh(this,t),Kh(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),Wh(t,[{key:"render",value:function(){return G.a.createElement(Hh,Vh({},this.props,{linePosAttr:"y",valuePosAttr:"x",lineSizeAttr:"height",valueSizeAttr:"width"}))}}],[{key:"getParentConfig",value:function(e){return{isDomainAdjustmentNeeded:!1,zeroBaseValue:"x"===e}}}]),t}(Go);Yh.displayName="HorizontalRectSeries";var Xh=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];
2for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},$h=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();function Zh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Jh(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var Qh=function(e){function t(){return Zh(this,t),Jh(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),$h(t,[{key:"render",value:function(){return null}}],[{key:"renderLayer",value:function(e,t){var r=e.data,n=e.linePosAttr,i=e.lineSizeAttr,o=e.marginLeft,a=e.marginTop,s=e.valuePosAttr;if(r&&0!==r.length){var u=Ao(e,n),c=Ro(e,n),l=Ao(e,s),f=Ro(e,s),h=Ao(e,"fill")||Ao(e,"color"),d=Ao(e,"stroke")||Ao(e,"color"),p=Ao(e,"opacity");r.forEach((function(e){var r=ye(h(e)),n=ye(d(e)),y=p(e)||1,m=c(e),b=Math.min(f(e),l(e)),v="x"===s?b:m,g="y"===s?b:m,_=Math.abs(u(e)-c(e)),w=Math.abs(-f(e)+l(e)),S="height"===i?_:w,M="width"===i?_:w;t.beginPath(),t.rect(v+o,g+a,M,S),t.fillStyle="rgba("+r.r+", "+r.g+", "+r.b+", "+y+")",t.fill(),t.strokeStyle="rgba("+n.r+", "+n.g+", "+n.b+", "+y+")",t.stroke()}))}}},{key:"requiresSVG",get:function(){return!1}},{key:"isCanvas",get:function(){return!0}}]),t}(Go);Qh.displayName="RectSeriesCanvas",Qh.defaultProps=Xh({},Go.defaultProps,{linePosAttr:o.a.string.isRequired,valuePosAttr:o.a.string.isRequired,lineSizeAttr:o.a.string.isRequired,valueSizeAttr:o.a.string.isRequired}),Qh.propTypes=Xh({},Go.propTypes);var ed=Qh,td=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},rd=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();function nd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function id(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var od=function(e){function t(){return nd(this,t),id(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),rd(t,[{key:"render",value:function(){return null}}],[{key:"getParentConfig",value:function(e){return{isDomainAdjustmentNeeded:!1,zeroBaseValue:"x"===e}}},{key:"renderLayer",value:function(e,t){ed.renderLayer(td({},e,{linePosAttr:"y",valuePosAttr:"x",lineSizeAttr:"height",valueSizeAttr:"width"}),t)}},{key:"requiresSVG",get:function(){return!1}},{key:"isCanvas",get:function(){return!0}}]),t}(Go);od.displayName="HorizontalRectSeriesCanvas",od.propTypes=td({},Go.propTypes);var ad=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},sd=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();function ud(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cd(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var ld=function(e,t){return e||(t?"start":"end")},fd=function(e,t){return e||(t?"text-before-edge":"text-after-edge")},hd=function(e){function t(){return ud(this,t),cd(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),sd(t,[{key:"render",value:function(){var e=this,r=this.props,n=r.animation,i=r.allowOffsetToBeReversed,o=r.className,a=r.data,s=r._data,u=r.getLabel,c=r.marginLeft,l=r.marginTop,f=r.rotation,h=r.style,d=r.xRange,p=r.yRange,y=r.labelAnchorX,m=r.labelAnchorY;if(!a)return null;if(n)return G.a.createElement(Xe,ad({},this.props,{animatedProps:aa}),G.a.createElement(t,ad({},this.props,{animation:null,_data:a})));var b=this._getAttributeFunctor("x"),v=this._getAttributeFunctor("y");return G.a.createElement("g",{className:"rv-xy-plot__series rv-xy-plot__series--label "+o,transform:"translate("+c+","+l+")",
2style:h},a.reduce((function(t,r,n){var o=r.style,a=r.xOffset,c=r.yOffset;if(!u(r))return t;var l=b(r),h=v(r),g=l<(d[1]-d[0])/2,_=h<Math.abs(p[1]-p[0])/2,w=l+(i&&g?-1:1)*(a||0),S=h+(i&&_?-1:1)*(c||0),M=0===r.rotation||r.rotation?r.rotation:f,x=ad({dominantBaseline:fd(m,_),className:"rv-xy-plot__series--label-text",key:n,onClick:function(t){return e._valueClickHandler(r,t)},onContextMenu:function(t){return e._valueRightClickHandler(r,t)},onMouseOver:function(t){return e._valueMouseOverHandler(r,t)},onMouseOut:function(t){return e._valueMouseOutHandler(r,t)},textAnchor:ld(y,g),x:w,y:S,transform:"rotate("+M+","+w+","+S+")"},o),E=u(s?s[n]:r);return t.concat([G.a.createElement("text",x,E)])}),[]))}}]),t}(Go);hd.propTypes={animation:o.a.bool,allowOffsetToBeReversed:o.a.bool,className:o.a.string,data:o.a.arrayOf(o.a.shape({x:o.a.oneOfType([o.a.number,o.a.string]),y:o.a.oneOfType([o.a.number,o.a.string]),angle:o.a.number,radius:o.a.number,label:o.a.string,xOffset:o.a.number,yOffset:o.a.number,style:o.a.object})).isRequired,marginLeft:o.a.number,marginTop:o.a.number,rotation:o.a.number,style:o.a.object,xRange:o.a.arrayOf(o.a.number),yRange:o.a.arrayOf(o.a.number),labelAnchorX:o.a.string,labelAnchorY:o.a.string},hd.defaultProps=ad({},Go.defaultProps,{animation:!1,rotation:0,getLabel:function(e){return e.label}}),hd.displayName="LabelSeries";var dd=hd,pd=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},yd=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();function md(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bd(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var vd={dashed:"6, 2",solid:null},gd=function(e){function t(){return md(this,t),bd(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),yd(t,[{key:"_renderLine",value:function(e,t,r,i,o){var a=Xa();return null!==i&&("string"===typeof i&&n[i]?a=a.curve(n[i]):"function"===typeof i&&(a=a.curve(i))),(a=(a=a.defined(o)).x(t).y(r))(e)}},{key:"render",value:function(){var e=this.props,r=e.animation,n=e.className,i=e.data;if(this.props.nullAccessor&&Object(ao.b)("nullAccessor has been renamed to getNull",!0),!i)return null;if(r)return G.a.createElement(Xe,pd({},this.props,{animatedProps:aa}),G.a.createElement(t,pd({},this.props,{animation:null})));var o=this.props,a=o.curve,s=o.marginLeft,u=o.marginTop,c=o.strokeDasharray,l=o.strokeStyle,f=o.strokeWidth,h=o.style,d=this._getAttributeFunctor("x"),p=this._getAttributeFunctor("y"),y=this._getAttributeValue("stroke")||this._getAttributeValue("color"),m=this._getAttributeValue("opacity"),b=Number.isFinite(m)?m:1,v=this.props.nullAccessor||this.props.getNull,g=this._renderLine(i,d,p,a,v);return G.a.createElement("path",{d:g,className:"rv-xy-plot__series rv-xy-plot__series--line "+n,transform:"translate("+s+","+u+")",onMouseOver:this._seriesMouseOverHandler,onMouseOut:this._seriesMouseOutHandler,onClick:this._seriesClickHandler,onContextMenu:this._seriesRightClickHandler,style:pd({opacity:b,strokeDasharray:vd[l]||c,strokeWidth:f,stroke:y},h)})}}]),t}(Go);gd.displayName="LineSeries",gd.propTypes=pd({},Go.propTypes,{strokeStyle:o.a.oneOf(Object.keys(vd)),curve:o.a.oneOfType([o.a.string,o.a.func]),getNull:o.a.func}),gd.defaultProps=pd({},Go.defaultProps,{strokeStyle:"solid",style:{},opacity:1,curve:null,className:"",getNull:function(){return!0}});var _d=gd,wd=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];
2for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Sd=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();function Md(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xd(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var Ed=function(e){function t(){return Md(this,t),xd(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),Sd(t,[{key:"_renderCircle",value:function(e,t,r,n,i){var o=this,a=i.fill,s=i.opacity,u=i.size,c=i.stroke,l=i.x,f=i.y,h={r:u?u(e):5,cx:l(e),cy:f(e),style:wd({opacity:s?s(e):1,stroke:c&&c(e),fill:a&&a(e),strokeWidth:r||1},n),key:t,onClick:function(t){return o._valueClickHandler(e,t)},onContextMenu:function(t){return o._valueRightClickHandler(e,t)},onMouseOver:function(t){return o._valueMouseOverHandler(e,t)},onMouseOut:function(t){return o._valueMouseOutHandler(e,t)}};return G.a.createElement("circle",h)}},{key:"render",value:function(){var e=this,r=this.props,n=r.animation,i=r.className,o=r.data,a=r.marginLeft,s=r.marginTop,u=r.strokeWidth,c=r.style;this.props.nullAccessor&&Object(ao.b)("nullAccessor has been renamed to getNull",!0);var l=this.props.nullAccessor||this.props.getNull;if(!o)return null;if(n)return G.a.createElement(Xe,wd({},this.props,{animatedProps:aa}),G.a.createElement(t,wd({},this.props,{animation:null})));var f={fill:this._getAttributeFunctor("fill")||this._getAttributeFunctor("color"),opacity:this._getAttributeFunctor("opacity"),size:this._getAttributeFunctor("size"),stroke:this._getAttributeFunctor("stroke")||this._getAttributeFunctor("color"),x:this._getAttributeFunctor("x"),y:this._getAttributeFunctor("y")};return G.a.createElement("g",{className:"rv-xy-plot__series rv-xy-plot__series--mark "+i,transform:"translate("+a+","+s+")"},o.map((function(t,r){return l(t)&&e._renderCircle(t,r,u,c,f)})))}}]),t}(Go);Ed.displayName="MarkSeries",Ed.propTypes=wd({},Go.propTypes,{getNull:o.a.func,strokeWidth:o.a.number}),Ed.defaultProps={getNull:function(){return!0}};var kd=Ed,Od=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),Td=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e};function Pd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ad(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var Rd=Td({},_d.propTypes,{lineStyle:o.a.object,markStyle:o.a.object}),jd=function(e){function t(){return Pd(this,t),Ad(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),Od(t,[{key:"render",value:function(){var e=this.props,t=e.lineStyle,r=e.markStyle,n=e.style;return G.a.createElement("g",{className:"rv-xy-plot__series rv-xy-plot__series--linemark"},G.a.createElement(_d,Td({},this.props,{style:Td({},n,t)})),G.a.createElement(kd,Td({},this.props,{style:Td({},n,r)})))}}],[{key:"defaultProps",get:function(){return Td({},_d.defaultProps,{lineStyle:{},markStyle:{}})}}]),t}(Go);jd.displayName="LineMarkSeries",jd.propTypes=Rd;var Cd=jd,Nd=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];
2for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Id=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();function Ld(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Dd(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var Bd=function(e){function t(){return Ld(this,t),Dd(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),Id(t,[{key:"render",value:function(){return null}}],[{key:"renderLayer",value:function(e,t){var r=e.data,n=e.marginLeft,i=e.marginTop,o=Ao(e,"x"),a=Ao(e,"y"),s=Ao(e,"size")||function(e){return 5},u=Ao(e,"fill")||Ao(e,"color"),c=Ao(e,"stroke")||Ao(e,"color"),l=Ao(e,"opacity");r.forEach((function(e){var r=ye(u(e)),f=ye(c(e)),h=l(e)||1;t.beginPath(),t.arc(o(e)+n,a(e)+i,s(e),0,2*Math.PI),t.fillStyle="rgba("+r.r+", "+r.g+", "+r.b+", "+h+")",t.fill(),t.strokeStyle="rgba("+f.r+", "+f.g+", "+f.b+", "+h+")",t.stroke()}))}},{key:"requiresSVG",get:function(){return!1}},{key:"isCanvas",get:function(){return!0}}]),t}(Go);Bd.displayName="MarkSeriesCanvas",Bd.propTypes=Nd({},Go.propTypes);var qd=Bd,Ud=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},zd=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();function Fd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hd(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var Vd=function(e){function t(){return Fd(this,t),Hd(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),zd(t,[{key:"render",value:function(){return G.a.createElement("div",null)}}],[{key:"renderLayer",value:function(e,t){var r=e.curve,i=e.data,o=e.marginLeft,a=e.marginTop,s=e.strokeWidth,u=e.strokeDasharray;if(i&&0!==i.length){var c=Ao(e,"x"),l=Ao(e,"y"),f=ye(jo(e,"stroke")||jo(e,"color")),h=jo(e,"opacity"),d=Number.isFinite(h)?h:1,p=Xa().x((function(e){return c(e)+o})).y((function(e){return l(e)+a}));"string"===typeof r&&n[r]?p=p.curve(n[r]):"function"===typeof r&&(p=p.curve(r)),t.beginPath(),t.strokeStyle="rgba("+f.r+", "+f.g+", "+f.b+", "+d+")",t.lineWidth=s,u&&t.setLineDash(u),p.context(t)(i),t.stroke(),t.closePath(),t.lineWidth=1,t.setLineDash([])}}},{key:"requiresSVG",get:function(){return!1}},{key:"isCanvas",get:function(){return!0}}]),t}(Go);Vd.displayName="LineSeriesCanvas",Vd.defaultProps=Ud({},Go.defaultProps,{strokeWidth:2}),Vd.propTypes=Ud({},Go.propTypes,{strokeWidth:o.a.number});var Wd=Vd,Gd=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Kd=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();function Yd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xd(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}
2var $d=function(e){function t(){return Yd(this,t),Xd(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),Kd(t,[{key:"render",value:function(){return null}}],[{key:"renderLayer",value:function(e,t){Wd.renderLayer(e,t),qd.renderLayer(e,t)}},{key:"requiresSVG",get:function(){return!1}},{key:"isCanvas",get:function(){return!0}}]),t}(Go);$d.displayName="LineMarkSeriesCanvas",$d.propTypes=Gd({},Go.propTypes);var Zd=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Jd=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();function Qd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ep(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var tp=function(e,t,r){return e.reduce((function(e,n,i){return e+" "+(i?"L":"M")+t(n)+" "+r(n)}),"")+" Z"},rp=function(e){function t(){return Qd(this,t),ep(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),Jd(t,[{key:"render",value:function(){var e=this,r=this.props,n=r.animation,i=r.color,o=r.className,a=r.data,s=r.marginLeft,u=r.marginTop,c=r.style;if(!a)return null;if(n)return G.a.createElement(Xe,Zd({},this.props,{animatedProps:aa}),G.a.createElement(t,Zd({},this.props,{animation:null})));var l=this._getAttributeFunctor("x"),f=this._getAttributeFunctor("y");return G.a.createElement("path",{className:"rv-xy-plot__series rv-xy-plot__series--polygon "+o,onMouseOver:function(t){return e._seriesMouseOverHandler(a,t)},onMouseOut:function(t){return e._seriesMouseOutHandler(a,t)},onClick:this._seriesClickHandler,onContextMenu:this._seriesRightClickHandler,fill:i||"#12939A",style:c,d:tp(a,l,f),transform:"translate("+s+","+u+")"})}}],[{key:"propTypes",get:function(){return Zd({},Go.propTypes)}}]),t}(Go);rp.displayName="PolygonSeries";var np=rp,ip=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},op=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();function ap(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sp(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var up=function(e){function t(){return ap(this,t),sp(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),op(t,[{key:"render",value:function(){return G.a.createElement(yh,ip({},this.props,{linePosAttr:"x",valuePosAttr:"y",lineSizeAttr:"width",valueSizeAttr:"height"}))}}],[{key:"getParentConfig",value:function(e){return{isDomainAdjustmentNeeded:"x"===e,zeroBaseValue:"y"===e}}}]),t}(Go);up.displayName="VerticalBarSeries";var cp=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];
2for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},lp=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();function fp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hp(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var dp=function(e){function t(){return fp(this,t),hp(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),lp(t,[{key:"render",value:function(){return null}}],[{key:"getParentConfig",value:function(e){return{isDomainAdjustmentNeeded:"x"===e,zeroBaseValue:"y"===e}}},{key:"renderLayer",value:function(e,t){kh.renderLayer(cp({},e,{linePosAttr:"x",valuePosAttr:"y",lineSizeAttr:"width",valueSizeAttr:"height"}),t)}},{key:"requiresSVG",get:function(){return!1}},{key:"isCanvas",get:function(){return!0}}]),t}(Go);dp.displayName="HorizontalBarSeriesCanvas",dp.propTypes=cp({},Go.propTypes);var pp=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},yp=nc.VERTICAL,mp=pp({},jf.propTypes,{direction:o.a.oneOf([yp])}),bp={direction:yp,attr:"x"};function vp(e){return G.a.createElement(jf,e)}vp.displayName="VerticalGridLines",vp.propTypes=mp,vp.defaultProps=bp,vp.requiresSVG=!0;var gp=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},_p=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();function wp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Sp(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var Mp=function(e){function t(){return wp(this,t),Sp(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),_p(t,[{key:"render",value:function(){return G.a.createElement(Hh,gp({},this.props,{linePosAttr:"x",valuePosAttr:"y",lineSizeAttr:"width",valueSizeAttr:"height"}))}}],[{key:"getParentConfig",value:function(e){return{isDomainAdjustmentNeeded:!1,zeroBaseValue:"y"===e}}}]),t}(Go);Mp.displayName="VerticalRectSeries";var xp=Mp,Ep=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},kp=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();function Op(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Tp(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var Pp=function(e){function t(){return Op(this,t),Tp(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),kp(t,[{key:"render",value:function(){return null}}],[{key:"getParentConfig",value:function(e){return{isDomainAdjustmentNeeded:!1,zeroBaseValue:"y"===e}}},{key:"renderLayer",value:function(e,t){ed.renderLayer(Ep({},e,{linePosAttr:"x",valuePosAttr:"y",lineSizeAttr:"width",valueSizeAttr:"height"}),t)}},{key:"requiresSVG",get:function(){return!1}},{key:"isCanvas",get:function(){return!0}}]),t}(Go);Pp.displayName="HorizontalRectSeriesCanvas",Pp.propTypes=Ep({},Go.propTypes);var Ap=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];
2for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Rp=function(e){return e};function jp(e){var t=e.className,r=e.extent,n=e.nodes,i=e.onBlur,o=e.onClick,a=e.onMouseUp,s=e.onMouseDown,u=e.onHover,c=e.polygonStyle,l=e.style,f=e.x,h=e.y,d=V().x(f||Ao(e,"x")).y(h||Ao(e,"y")).extent(r||function(e){var t=e.innerWidth,r=e.innerHeight,n=e.marginLeft,i=e.marginTop;return[[n,i],[t+n,r+i]]}(e)).polygons(n),p=function(e){return function(t){t.preventDefault();var r=function(e){var t=e.nativeEvent,r=t.pageX,n=t.pageY,i=document.elementFromPoint(r,n);if(!i)return-1;var o=i.parentNode;return Array.prototype.indexOf.call(o.childNodes,i)}(t);if(r>-1&&r<d.length){var n=d[r];e(n.data)}}};return G.a.createElement("g",{className:t+" rv-voronoi",style:l,onTouchEnd:p(a),onTouchStart:p(s),onTouchMove:p(u),onTouchCancel:p(i)},d.map((function(e,t){return G.a.createElement("path",{className:"rv-voronoi__cell "+(e.data&&e.data.className||""),d:"M"+e.join("L")+"Z",onClick:function(){return o(e.data)},onMouseUp:function(){return a(e.data)},onMouseDown:function(){return s(e.data)},onMouseOver:function(){return u(e.data)},onMouseOut:function(){return i(e.data)},fill:"none",style:Ap({pointerEvents:"all"},c,e.data&&e.data.style),key:t})})))}jp.requiresSVG=!0,jp.displayName="Voronoi",jp.defaultProps={className:"",onBlur:Rp,onClick:Rp,onHover:
2Rp,onMouseDown:Rp,onMouseUp:Rp},jp.propTypes={className:o.a.string,extent:o.a.arrayOf(o.a.arrayOf(o.a.number)),nodes:o.a.arrayOf(o.a.object).isRequired,onBlur:o.a.func,onClick:o.a.func,onHover:o.a.func,onMouseDown:o.a.func,onMouseUp:o.a.func,x:o.a.func,y:o.a.func};var Cp=jp,Np=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),Ip=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e};function Lp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Dp(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var Bp=function(e){function t(){return Lp(this,t),Dp(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),Np(t,[{key:"render",value:function(){var e=this.props,r=e.animation,n=e.className,i=e.crossBarWidth,o=e.data,a=e.marginLeft,s=e.marginTop,u=e.strokeWidth,c=e.style;if(!o)return null;if(r)return G.a.createElement(Xe,Ip({},this.props,{animatedProps:aa}),G.a.createElement(t,Ip({},this.props,{animation:null})));var l={crossBarWidth:i,opacityFunctor:this._getAttributeFunctor("opacity"),sizeFunctor:this._getAttributeFunctor("size"),strokeFunctor:this._getAttributeFunctor("stroke")||this._getAttributeFunctor("color"),strokeWidth:u,style:c,xFunctor:this._getAttributeFunctor("x"),yFunctor:this._getAttributeFunctor("y"),valueClickHandler:this._valueClickHandler,valueRightClickHandler:this._valueRightClickHandler,valueMouseOverHandler:this._valueMouseOverHandler,valueMouseOutHandler:this._valueMouseOutHandler};return G.a.createElement("g",{className:"rv-xy-plot__series rv-xy-plot__series--whisker "+n,transform:"translate("+a+","+s+")"},o.map(function(e){return function(t,r){var n=e.crossBarWidth,i=e.opacityFunctor,o=e.sizeFunctor,a=e.strokeFunctor,s=e.strokeWidth,u=e.style,c=e.valueClickHandler,l=e.valueMouseOutHandler,f=e.valueMouseOverHandler,h=e.valueRightClickHandler,d=e.xFunctor,p=e.yFunctor,y=o?o(t):0,m=d(t),b=p(t),v=d({x:t.x+t.xVariance/2}),g=d({x:t.x-t.xVariance/2}),_=p({y:t.y+t.yVariance/2}),w=p({y:t.y-t.yVariance/2}),S=v&&m+y<v,M=_&&b-y>_;if(!S&&!M)return null;var x=Ip({opacity:i?i(t):1,stroke:a&&a(t),strokeWidth:s||1},u),E=n/2,k={x1:m+y,y1:b,x2:v,y2:b,style:x},O={x1:m-y,y1:b,x2:g,y2:b,style:x},T={x1:v,y1:b-E,x2:v,y2:b+E,style:x},P={x1:g,y1:b-E,x2:g,y2:b+E,style:x},A={x1:m,y1:b-y,x2:m,y2:_,style:x},R={x1:m,y1:b+y,x2:m,y2:w,style:x},j={x1:m-E,y1:_,x2:m+E,y2:_,style:x},C={x1:m-E,y1:w,x2:m+E,y2:w,style:x};return G.a.createElement("g",{className:"mark-whiskers",key:r,onClick:function(e){return c(t,e)},onContextMenu:function(e){return h(t,e)},onMouseOver:function(e){return f(t,e)},onMouseOut:function(e){return l(t,e)}},S?G.a.createElement("g",{className:"x-whiskers"},G.a.createElement("line",k),G.a.createElement("line",O),G.a.createElement("line",T),G.a.createElement("line",P)):null,M?G.a.createElement("g",{className:"y-whiskers"},G.a.createElement("line",A),G.a.createElement("line",R),G.a.createElement("line",j),G.a.createElement("line",C)):null)}}(l)))}}]),t}(Go);Bp.displayName="WhiskerSeries",Bp.propTypes=Ip({},Go.propTypes,{strokeWidth:o.a.number}),Bp.defaultProps=Ip({},Go.defaultProps,{crossBarWidth:6,size:0,strokeWidth:1});var qp=r(192),Up=r.n(qp),zp=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e};
2function Fp(e,t){var r=e.margin,n=e.width,i=e.height,o=zp({},t,"number"===typeof r?{left:r,right:r,top:r,bottom:r}:r),a=o.left,s=void 0===a?0:a,u=o.top,c=void 0===u?0:u,l=o.right,f=void 0===l?0:l,h=o.bottom,d=void 0===h?0:h;return{marginLeft:s,marginTop:c,marginRight:f,marginBottom:d,innerHeight:i-d-c,innerWidth:n-s-f}}function Hp(e,t,r){var n=e/2-r,i=t/2-r;return{bottom:i,left:n,right:n,top:i}}var Vp=o.a.oneOfType([o.a.shape({left:o.a.number,top:o.a.number,right:o.a.number,bottom:o.a.number}),o.a.number]),Wp={left:40,right:10,top:10,bottom:40},Gp=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),Kp=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e};function Yp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xp(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function $p(e,t,r,n,i){e.clearRect(0,0,r,t),n.forEach((function(t){var r=t.interpolator,n=t.newProps,o=t.animation?r?r(i/30):r:function(){return{}};t.renderLayer(Kp({},n,o),e)}))}var Zp=function(e){function t(){return Yp(this,t),Xp(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}
2(t,e),Gp(t,[{key:"componentDidMount",value:function(){var e=this.canvas.getContext("2d");if(e){var t=this.props.pixelRatio;e&&(e.scale(t,t),this.drawChildren(null,this.props,e))}}},{key:"componentDidUpdate",value:function(e){this.drawChildren(e,this.props,this.canvas.getContext("2d"))}},{key:"drawChildren",value:function(e,t,r){var n=t.children,i=t.innerHeight,o=t.innerWidth,a=t.marginBottom,s=t.marginLeft,u=t.marginRight,c=t.marginTop;if(r){var l,f,h=n.find((function(e){return e.props.animation})),d=i+c+a,p=o+s+u,y=(l=t.children,f=e?e.children:[],l.map((function(e,t){var r=f[t]?f[t].props:{},n=e.props,i=Ke(Kp({},r,{animatedProps:aa})),o=n?Ke(Kp({},n,{animatedProps:aa})):null,a=ze(i,o);return{renderLayer:e.type.renderLayer,newProps:e.props,animation:e.props.animation,interpolator:a}})));h?function(e,t,r,n){var i=0,o=setInterval((function(){e?($p(e,t,r,n,i),i>30&&clearInterval(o),i+=1):clearInterval(o)}),1)}(r,d,p,y):$p(r,d,p,y)}}},{key:"render",value:function(){var e=this,t=this.props,r=t.innerHeight,n=t.innerWidth,i=t.marginBottom,o=t.marginLeft,a=t.marginRight,s=t.marginTop,u=t.pixelRatio,c=r+s+i,l=n+o+a;return G.a.createElement("div",{style:{left:0,top:0},className:"rv-xy-canvas"},G.a.createElement("canvas",{className:"rv-xy-canvas-element",height:c*u,width:l*u,style:{height:c+"px",width:l+"px"},ref:function(t){return e.canvas=t}}),this.props.children)}}],[{key:"defaultProps",get:function(){return{pixelRatio:window&&window.devicePixelRatio||1}}}]),t}(W.Component);Zp.displayName="CanvasWrapper",Zp.propTypes={marginBottom:o.a.number.isRequired,marginLeft:o.a.number.isRequired,marginRight:o.a.number.isRequired,marginTop:o.a.number.isRequired,innerHeight:o.a.number.isRequired,innerWidth:o.a.number.isRequired,pixelRatio:o.a.number.isRequired};var Jp=Zp,Qp=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),ey=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e};var ty=["x","y","radius","angle","color","fill","stroke","opacity","size"];function ry(e){return e.map((function(e){return Array.isArray(e)?e.map((function(e){return ey({},e,{parent:null})})):e}))}var ny=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));iy.call(r);var n=e.stackBy,i=na(ra(e.children),n);return r.state={scaleMixins:r._getScaleMixins(i,e),data:i},r}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),Qp(t,null,[{key:"defaultProps",get:function(){return{className:""}}},{key:"propTypes",get:function(){return{animation:$e,className:o.a.string,dontCheckIfEmpty:o.a.bool,height:o.a.number.isRequired,margin:Vp,onClick:o.a.func,onDoubleClick:o.a.func,onMouseDown:o.a.func,onMouseUp:o.a.func,onMouseEnter:o.a.func,onMouseLeave:o.a.func,onMouseMove:o.a.func,onTouchStart:o.a.func,onTouchMove:o.a.func,onTouchEnd:o.a.func,onTouchCancel:o.a.func,onWheel:o.a.func,stackBy:o.a.oneOf(ty),style:o.a.object,width:o.a.number.isRequired}}}]),Qp(t,[{key:"componentWillReceiveProps",value:function(e){var t=na(ra(e.children),e.stackBy),r=this.state.scaleMixins,n=this._getScaleMixins(t,e);(function(e,t,r){var n=ey({},e,{_allData:r?ry(e._allData):e._allData}),i=ey({},t,{_allData:r?ry(t._allData):t._allData});return Up()(n,i)})(n,r,e.hasTreeStructure)||this.setState({scaleMixins:n,data:t})}},{key:"_getClonedChildComponents",value:function(){var e=this,t=this.props,r=this.props.animation,n=this.state,i=n.scaleMixins,o=n.data,a=Fp(this.props,Wp),s=G.a.Children.toArray(this.props.children),u=ia(s),c=Bo(t,s);return s.map((function(t,n){var s=null;if(u[n]){var l=u[n].seriesIndex;s={data:o[l]}}return G.a.cloneElement(t,ey({},a,{animation:r},s&&t.type.prototype&&t.type.prototype.render?{ref:function(t){return e["series"+u[n].seriesIndex]=t}}:{}
2,u[n],i,t.props,c[n],s))}))}},{key:"_getDefaultScaleProps",value:function(e){var t=Fp(e,Wp),r=t.innerWidth,n=t.innerHeight,i=["color","fill","stroke"].reduce((function(t,r){var n,i,o,a="category"===e[r+"Type"]?Yo:Xo;return ey({},t,(o=a,(i=r+"Range")in(n={})?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o,n))}),{});return ey({xRange:[0,r],yRange:[n,0]},i,{opacityType:Zo,sizeRange:$o})}},{key:"_getScaleMixins",value:function(e,t){var r,n=e.filter((function(e){return e})),i=(r=[]).concat.apply(r,function(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t<e.length;t++)r[t]=e[t];return r}return Array.from(e)}(n)),o=this._getDefaultScaleProps(t),a=Uo(t),s=No(t,ty),u=Io(ey({},o,a,s),i,ty),c=ra(t.children),l={},f=new Set,h=new Set;return c.forEach((function(r,n){r&&e[n]&&ty.forEach((function(e){var i=r.type.getParentConfig(e,r.props),o=i.isDomainAdjustmentNeeded,a=i.zeroBaseValue;if(o&&(f.add(e),h.add(n)),a){var s=t[e+"Domain"];l[e+"BaseValue"]=s?s[0]:0}}))})),ey({},o,l,s,u,{_allData:e,_adjustBy:Array.from(f),_adjustWhat:Array.from(h),_stackBy:t.stackBy})}},{key:"_isPlotEmpty",value:function(){var e=this.state.data;return!e||!e.length||!e.some((function(e){return e&&e.some((function(e){return e}))}))}},{key:"renderCanvasComponents",value:function(e,t){var r=e.filter((function(e){return e&&!e.type.requiresSVG&&e.type.isCanvas}));if(0===r.length)return null;var n=r[0].props,i=n.marginLeft,o=n.marginTop,a=n.marginBottom,s=n.marginRight,u=n.innerHeight,c=n.innerWidth;return G.a.createElement(Jp,{innerHeight:u,innerWidth:c,marginLeft:i,marginTop:o,marginBottom:a,marginRight:s},r)}},{key:"render",value:function(){var e=this.props,t=e.className,r=e.dontCheckIfEmpty,n=e.style,i=e.width,o=e.height;if(!r&&this._isPlotEmpty())return G.a.createElement("div",{className:"rv-xy-plot "+t,style:ey({width:i+"px",height:o+"px"},this.props.style)});var a=this._getClonedChildComponents();return G.a.createElement("div",{style:{width:i+"px",height:o+"px"},className:"rv-xy-plot "+t},G.a.createElement("svg",{className:"rv-xy-plot__inner",width:i,height:o,style:n,onClick:this._clickHandler,onDoubleClick:this._doubleClickHandler,onMouseDown:this._mouseDownHandler,onMouseUp:this._mouseUpHandler,onMouseMove:this._mouseMoveHandler,onMouseLeave:this._mouseLeaveHandler,onMouseEnter:this._mouseEnterHandler,onTouchStart:this._mouseDownHandler,onTouchMove:this._touchMoveHandler,onTouchEnd:this._touchEndHandler,onTouchCancel:this._touchCancelHandler,onWheel:this._wheelHandler},a.filter((function(e){return e&&e.type.requiresSVG}))),this.renderCanvasComponents(a,this.props),a.filter((function(e){return e&&!e.type.requiresSVG&&!e.type.isCanvas})))}}]),t}(G.a.Component),iy=function(){var e=this;this._clickHandler=function(t){var r=e.props.onClick;r&&r(t)},this._doubleClickHandler=function(t){var r=e.props.onDoubleClick;r&&r(t)},this._mouseDownHandler=function(t){var r=e.props,n=r.onMouseDown,i=r.children;n&&n(t),ra(i).forEach((function(r,n){var i=e["series"+n];i&&i.onParentMouseDown&&i.onParentMouseDown(t)}))},this._mouseEnterHandler=function(t){var r=e.props,n=r.onMouseEnter,i=r.children;n&&n(t),ra(i).forEach((function(r,n){var i=e["series"+n];i&&i.onParentMouseEnter&&i.onParentMouseEnter(t)}))},this._mouseLeaveHandler=function(t){var r=e.props,n=r.onMouseLeave,i=r.children;n&&n(t),ra(i).forEach((function(r,n){var i=e["series"+n];i&&i.onParentMouseLeave&&i.onParentMouseLeave(t)}))},this._mouseMoveHandler=function(t){var r=e.props,n=r.onMouseMove,i=r.children;n&&n(t),ra(i).forEach((function(r,n){var i=e["series"+n];i&&i.onParentMouseMove&&i.onParentMouseMove(t)}))},this._mouseUpHandler=function(t){var r=e.props,n=r.onMouseUp,i=r.children;n&&n(t),ra(i).forEach((function(r,n){var i=e["series"+n];i&&i.onParentMouseUp&&i.onParentMouseUp(t)}))},this._touchCancelHandler=function(t){var r=e.props.onTouchCancel;r&&r(t)},this._touchEndHandler=function(t){var r=e.props.onTouchEnd;r&&r(t)},this._touchMoveHandler=function(t){var r=e.props,n=r.onTouchMove,i=r.children;n&&n(t),ra(i).forEach((function(r,n){var i=e["series"+n];i&&i.onParentTouchMove&&i.onParentTouchMove(t)}))},this._touchStartHandler=function(t){var r=e.props,n=r.onTouchStart,i=r.children;
2n&&n(t),ra(i).forEach((function(r,n){var i=e["series"+n];i&&i.onParentTouchStart&&i.onParentTouchStart(t)}))},this._wheelHandler=function(t){var r=e.props.onWheel;r&&r(t)}};ny.displayName="XYPlot";var oy=ny,ay=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},sy=rc.LEFT,uy=rc.RIGHT,cy=rc.TOP,ly=rc.BOTTOM,fy={height:o.a.number.isRequired,style:o.a.object,orientation:o.a.oneOf([sy,uy,cy,ly]).isRequired,width:o.a.number.isRequired};function hy(e){var t=e.orientation,r=e.width,n=e.height,i=e.style,o=void 0;return o=t===sy?{x1:r,x2:r,y1:0,y2:n}:t===uy?{x1:0,x2:0,y1:0,y2:n}:t===cy?{x1:0,x2:r,y1:n,y2:n}:{x1:0,x2:r,y1:0,y2:0},G.a.createElement("line",ay({},o,{className:"rv-xy-plot__axis__line",style:i}))}hy.defaultProps={style:{}},hy.displayName="AxisLine",hy.propTypes=fy;var dy=hy,py=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},yy=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();function my(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function by(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vy(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var gy=rc.LEFT,_y=rc.RIGHT,wy=rc.TOP,Sy=rc.BOTTOM,My={height:o.a.number.isRequired,orientation:o.a.oneOf([gy,_y,wy,Sy]).isRequired,style:o.a.object,width:o.a.number.isRequired};var xy=function(e){function t(){return by(this,t),vy(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),yy(t,[{key:"_areTicksWrapped",value:function(){var e=this.props.orientation;return e===gy||e===wy}},{key:"_getTickContainerPropsGetterFn",value:function(){return this._isAxisVertical()?function(e){return{transform:"translate(0, "+e+")"}}:function(e){return{transform:"translate("+e+", 0)"}}}},{key:"_getTickLabelProps",value:function(){var e=this.props,t=e.orientation,r=e.tickLabelAngle,n=e.tickSize,i=e.tickSizeOuter,o=void 0===i?n:i,a=e.tickPadding,s=void 0===a?n:a,u=void 0;u=t===gy||t===Sy&&r?"end":t===_y||t===wy&&r?"start":"middle";var c=this._isAxisVertical(),l=(this._areTicksWrapped()?-1:1)*(o+s);return{textAnchor:u,dy:t===wy||r?"0":t===Sy?"0.72em":"0.32em",transform:(c?"translate("+l+", 0)":"translate(0, "+l+")")+(r?" rotate("+r+")":"")}}},{key:"_getTickLineProps",value:function(){var e,t=this.props,r=t.tickSize,n=t.tickSizeOuter,i=void 0===n?r:n,o=t.tickSizeInner,a=void 0===o?r:o,s=this._isAxisVertical(),u=s?"y":"x",c=s?"x":"y",l=this._areTicksWrapped()?-1:1;return my(e={},u+"1",0),my(e,u+"2",0),my(e,c+"1",-l*a),my(e,c+"2",l*i),e}},{key:"_isAxisVertical",value:function(){var e=this.props.orientation;return e===gy||e===_y}},{key:"render",value:function(){var e=this.props,t=e.attr,r=e.orientation,n=e.width,i=e.height,o=e.style,a=e.tickFormat,s=e.tickTotal,u=e.tickValues,c=r===gy?n:0,l=r===wy?i:0,f=Oo(this.props,t),h=oc(f,s,u),d=function(e,t,r){return r||(e.tickFormat?e.tickFormat(t):function(e){return e})}(f,s,a),p=this._getTickContainerPropsGetterFn(),y=this._getTickLineProps(),m=this._getTickLabelProps(),b=h.map((function(e,t){var r=f(e),i=d(e,t,f,s),a=G.a.isValidElement(i)&&!["tspan","textPath"].includes(i.type),u=i&&"string"!==typeof i.type;return G.a.createElement("g",py({key:t},p(r,0),{className:"rv-xy-plot__axis__tick",style:o}),G.a.createElement("line",py({},y,{className:"rv-xy-plot__axis__tick__line",style:py({},o,o.line)})),a?G.a.cloneElement(i,u?py({},m,{containerWidth:n,tickCount:h.length}):void 0):G.a.createElement("text",py({},m,{className:"rv-xy-plot__axis__tick__text",style:py({},o,o.text)}),i))}));return G.a.createElement("g",{transform:"translate("+c+", "+l+")",className:"rv-xy-plot__axis__ticks"},b)}}]),t}(G.a.Component);xy.defaultProps={style:{}},xy.displayName="AxisTicks",xy.propTypes=My,xy.requiresSVG=!0;var Ey=xy,ky=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];
2for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e};function Oy(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Ty=16,Py=rc.LEFT,Ay=rc.RIGHT,Ry=rc.TOP,jy=rc.BOTTOM,Cy={width:o.a.number.isRequired,height:o.a.number.isRequired,orientation:o.a.oneOf([Py,Ay,Ry,jy]).isRequired,style:o.a.object,title:o.a.string.isRequired};function Ny(e){var t=e.orientation,r=e.position,n=e.width,i=e.height,o=e.style,a=e.title,s="translate("+(t===Py?n:0)+", "+(t===Ry?i:0)+")",u=function(e,t){var r;return Oy(r={},Py,{end:{x:Ty,y:6,rotation:-90,textAnchor:"end"},middle:{x:Ty,y:t/2-6,rotation:-90,textAnchor:"middle"},start:{x:Ty,y:t-6,rotation:-90,textAnchor:"start"}}),Oy(r,Ay,{end:{x:-8,y:6,rotation:-90,textAnchor:"end"},middle:{x:-8,y:t/2-6,rotation:-90,textAnchor:"middle"},start:{x:-8,y:t-6,rotation:-90,textAnchor:"start"}}),Oy(r,Ry,{start:{x:6,y:Ty,rotation:0,textAnchor:"start"},middle:{x:e/2-6,y:Ty,rotation:0,textAnchor:"middle"},end:{x:e-6,y:Ty,rotation:0,textAnchor:"end"}}),Oy(r,jy,{start:{x:6,y:-6,rotation:0,textAnchor:"start"},middle:{x:e/2-6,y:-6,rotation:0,textAnchor:"middle"},end:{x:e-6,y:-6,rotation:0,textAnchor:"end"}}),r}(n,i)[t][r],c=u.x,l=u.y,f=u.rotation,h=u.textAnchor,d="translate("+c+", "+l+") rotate("+f+")";return G.a.createElement("g",{transform:s,className:"rv-xy-plot__axis__title"},G.a.createElement("g",{style:ky({textAnchor:h},o),transform:d},G.a.createElement("text",{style:o},a)))}Ny.displayName="AxisTitle",Ny.propTypes=Cy,Ny.defaultProps={position:"end"};var Iy=Ny,Ly=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Dy=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();function By(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qy(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var Uy=["xRange","yRange","xDomain","yDomain","width","height","marginLeft","marginTop","marginRight","marginBottom","tickSize","tickTotal","tickSizeInner","tickSizeOuter"],zy=rc.LEFT,Fy=rc.RIGHT,Hy=rc.TOP,Vy=rc.BOTTOM,Wy={orientation:o.a.oneOf([zy,Fy,Hy,Vy]),attr:o.a.string.isRequired,attrAxis:o.a.string,width:o.a.number,height:o.a.number,top:o.a.number,left:o.a.number,title:o.a.string,style:o.a.object,className:o.a.string,hideTicks:o.a.bool,hideLine:o.a.bool,on0:o.a.bool,tickLabelAngle:o.a.number,tickSize:o.a.number,tickSizeInner:o.a.number,tickSizeOuter:o.a.number,tickPadding:o.a.number,tickValues:o.a.arrayOf(o.a.oneOfType([o.a.number,o.a.string])),tickFormat:o.a.func,tickTotal:o.a.number,marginTop:o.a.number,marginBottom:o.a.number,marginLeft:o.a.number,marginRight:o.a.number,innerWidth:o.a.number,innerHeight:o.a.number},Gy={className:"",on0:!1,style:{},tickSize:6,tickPadding:8,orientation:Vy},Ky=function(e){function t(){return By(this,t),qy(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),Dy(t,[{key:"_getDefaultAxisProps",value:function(){var e=this.props,t=e.innerWidth,r=e.innerHeight,n=e.marginTop,i=e.marginBottom,o=e.marginLeft,a=e.marginRight,s=e.orientation;return s===Vy?{tickTotal:ic(t),top:r+n,left:o,width:t,height:i}:s===Hy?{tickTotal:ic(t),top:0,left:o,width:t,height:n}:s===zy?{tickTotal:ic(r),top:n,left:0,width:o,height:r}:{tickTotal:ic(r),top:n,left:o+t,width:a,height:r}}},{key:"render",value:function(){var e=this.props.animation;if(e){var r=e.nonAnimatedProps?Uy.filter((function(t){return e.nonAnimatedProps.indexOf(t)<0})):Uy;return G.a.createElement(Xe,Ly({},this.props,{animatedProps:r}),G.a.createElement(t,Ly({},this.props,{animation:null})))}var n=Ly({},this._getDefaultAxisProps(),this.props),i=n.attrAxis,o=n.className,a=n.height,s=n.hideLine,u=n.hideTicks,c=n.left,l=n.marginTop,f=n.on0,h=n.orientation,d=n.position,p=n.style,y=n.title,m=n.top,b=n.width,v=[zy,Fy].indexOf(h)>-1,g=v?"rv-xy-plot__axis--vertical":"rv-xy-plot__axis--horizontal",_=c,w=m;if(f){var S=Oo(n,i);v?_=S(0):w=l+S(0)}return G.a.createElement("g",{transform:"translate("+_+","+w+")",className:"rv-xy-plot__axis "+g+" "+o,style:p},!s&&G.a.createElement(dy,{height:a,width:b,orientation:h,style:Ly({},p,p.line)}),!u&&G.a.createElement(Ey,Ly({},n,{style:Ly({},p,p.ticks)})),y?G.a.createElement(Iy,{position:d,title:y,height:a,width:b,style:Ly({},p,p.title),orientation:h}):null)}}]),t}(W.PureComponent);Ky.displayName="Axis",Ky.propTypes=Wy,Ky.defaultProps=Gy,Ky.requiresSVG=!0;var Yy=Ky,Xy=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];
2for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},$y=rc.TOP,Zy=rc.BOTTOM,Jy=Xy({},Yy.propTypes,{orientation:o.a.oneOf([$y,Zy])}),Qy={orientation:Zy,attr:"x",attrAxis:"y"};function em(e){return G.a.createElement(Yy,e)}em.displayName="XAxis",em.propTypes=Jy,em.defaultProps=Qy,em.requiresSVG=!0;var tm=em,rm=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},nm=rc.LEFT,im=rc.RIGHT,om=rm({},Yy.propTypes,{orientation:o.a.oneOf([nm,im])}),am={orientation:nm,attr:"y",attrAxis:"x"};function sm(e){return G.a.createElement(Yy,e)}sm.displayName="YAxis",sm.propTypes=om,sm.defaultProps=am,sm.requiresSVG=!0;var um=sm,cm={className:o.a.string,height:o.a.number,endColor:o.a.string,endTitle:o.a.oneOfType([o.a.number,o.a.string]).isRequired,midColor:o.a.string,midTitle:o.a.oneOfType([o.a.number,o.a.string]),startColor:o.a.string,startTitle:o.a.oneOfType([o.a.number,o.a.string]).isRequired,width:o.a.number},lm={className:"",startColor:Xo[0],endColor:Xo[1]};function fm(e){var t=e.startColor,r=e.midColor,n=e.endColor,i=e.startTitle,o=e.midTitle,a=e.endTitle,s=e.height,u=e.width,c=e.className,l=[t];return r&&l.push(r),l.push(n),G.a.createElement("div",{className:"rv-continuous-color-legend "+c,style:{width:u,height:s}},G.a.createElement("div",{className:"rv-gradient",style:{background:"linear-gradient(to right, "+l.join(",")+")"}}),G.a.createElement("div",{className:"rv-legend-titles"},G.a.createElement("span",{className:"rv-legend-titles__left"},i),G.a.createElement("span",{className:"rv-legend-titles__right"},a),o?G.a.createElement("span",{className:"rv-legend-titles__center"},o):null))}fm.displayName="ContinuousColorLegend",fm.propTypes=cm,fm.defaultProps=lm;var hm={className:o.a.string,circlesTotal:o.a.number,endSize:o.a.number,endTitle:o.a.oneOfType([o.a.number,o.a.string]).isRequired,height:o.a.number,startSize:o.a.number,startTitle:o.a.oneOfType([o.a.number,o.a.string]).isRequired,width:o.a.number};function dm(e){for(var t=e.startTitle,r=e.endTitle,n=e.startSize,i=e.endSize,o=e.circlesTotal,a=e.height,s=e.width,u=e.className,c=[],l=(i-n)/(o-1),f=0;f<o;f++){var h=l*f+n;c.push(G.a.createElement("div",{key:f,className:"rv-bubble",style:{width:h,height:h,borderRadius:h/2}})),c.push(" ")}return G.a.createElement("div",{className:"rv-continuous-size-legend "+u,style:{width:s,height:a}},G.a.createElement("div",{className:"rv-bubbles",style:{height:i}},c,G.a.createElement("div",{className:"rv-spacer"})),G.a.createElement("div",{className:"rv-legend-titles"},G.a.createElement("span",{className:"rv-legend-titles__left"},t),G.a.createElement("span",{className:"rv-legend-titles__right"},r)))}dm.displayName="ContinuousSizeLegend",dm.propTypes=hm,dm.defaultProps={circlesTotal:10,className:"",endSize:20,startSize:2};var pm=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ym={dashed:"6, 2",solid:null};function mm(e){var t=e.color,r=e.strokeDasharray,n=e.strokeStyle,i=e.strokeWidth,o=e.disabled,a=e.onClick,s=e.orientation,u=e.onMouseEnter,c=e.onMouseLeave,l=e.title,f="rv-discrete-color-legend-item "+s;o&&(f+=" disabled"),a&&(f+=" clickable");var h=ym[n]||r;return G.a.createElement("div",{className:f,onClick:a,onMouseEnter:u,onMouseLeave:c},G.a.createElement("svg",{className:"rv-discrete-color-legend-item__color",height:2,width:14},G.a.createElement("path",{className:"rv-discrete-color-legend-item__color__path",d:"M 0, 1 L 14, 1",style:pm({},i?{strokeWidth:i}:{},h?{strokeDasharray:h}:{},{stroke:o?null:t})})),G.a.createElement("span",{className:"rv-discrete-color-legend-item__title"},l))}mm.propTypes={color:o.a.string.isRequired,disabled:o.a.bool,title:o.a.oneOfType([o.a.string,o.a.element]).isRequired,onClick:o.a.func,onMouseEnter:o.a.func,onMouseLeave:o.a.func,orientation:o.a.oneOf(["vertical","horizontal"]).isRequired,strokeDasharray:o.a.string,strokeWidth:o.a.number,strokeStyle:o.a.oneOf(Object.keys(ym))},mm.defaultProps={disabled:!1,strokeStyle:"solid"},mm.displayName="DiscreteColorLegendItem";var bm=mm,vm=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];
2for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e};function gm(e){var t=e.className,r=e.colors,n=e.height,i=e.items,o=e.onItemClick,a=e.onItemMouseEnter,s=e.onItemMouseLeave,u=e.orientation,c=e.style,l=e.width;return G.a.createElement("div",{className:"rv-discrete-color-legend "+u+" "+t,style:vm({width:l,height:n},c)},i.map((function(e,t){return G.a.createElement(bm,{title:e.title?e.title:e,color:e.color?e.color:r[t%r.length],strokeDasharray:e.strokeDasharray,strokeStyle:e.strokeStyle,strokeWidth:e.strokeWidth,disabled:Boolean(e.disabled),orientation:u,key:t,onClick:o?function(r){return o(e,t,r)}:null,onMouseEnter:a?function(r){return a(e,t,r)}:null,onMouseLeave:a?function(r){return s(e,t,r)}:null})})))}gm.displayName="DiscreteColorLegendItem",gm.propTypes={className:o.a.string,items:o.a.arrayOf(o.a.oneOfType([o.a.shape({title:o.a.oneOfType([o.a.string,o.a.element]).isRequired,color:o.a.string,disabled:o.a.bool}),o.a.string.isRequired,o.a.element])).isRequired,onItemClick:o.a.func,onItemMouseEnter:o.a.func,onItemMouseLeave:o.a.func,height:o.a.number,width:o.a.number,orientation:o.a.oneOf(["vertical","horizontal"])},gm.defaultProps={className:"",colors:Ko,orientation:"vertical"};var _m=gm,wm=(Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e})({},_m.propTypes,{searchText:o.a.string,onSearchChange:o.a.func,searchPlaceholder:o.a.string,searchFn:o.a.func}),Sm={className:"",searchText:"",searchFn:function(e,t){return e.filter((function(e){return-1!==String(e.title||e).toLowerCase().indexOf(t)}))}};function Mm(e){var t=e.className,r=e.colors,n=e.height,i=e.items,o=e.onItemClick,a=e.onSearchChange,s=e.orientation,u=e.searchFn,c=e.searchPlaceholder,l=e.searchText,f=e.width,h=a?function(e){var t=e.target.value;return a(t)}:null,d=u(i,l);return G.a.createElement("div",{className:"rv-search-wrapper "+t,style:{width:f,height:n}},G.a.createElement("form",{className:"rv-search-wrapper__form"},G.a.createElement("input",{type:"search",placeholder:c,className:"rv-search-wrapper__form__input",value:l,onChange:h})),G.a.createElement("div",{className:"rv-search-wrapper__contents"},G.a.createElement(_m,{colors:r,items:d,onItemClick:o,orientation:s})))}Mm.propTypes=wm,Mm.defaultProps=Sm,Mm.displayName="SearchableDiscreteColorLegend";var xm=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),Em=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e};function km(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Om(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var Tm="rv-parallel-coordinates-chart",Pm=Xt(".2r");function Am(e){var t=e.domains,r=e.style;return t.map((function(e,t){return{x:e.name,y:1.1,label:e.name,style:r}}))}var Rm=function(e){function t(){var e,r,n;km(this,t);for(var i=arguments.length,o=Array(i),a=0;a<i;a++)o[a]=arguments[a];return r=n=Om(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(o))),n.state={brushFilters:{}},Om(n,r)}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),xm(t,[{key:"render",value:function(){var e=this,t=this.state.brushFilters,r=this.props,n=r.animation,i=r.brushing,o=r.className,a=r.children,s=r.colorRange,u=r.data,c=r.domains,l=r.height,f=r.hideInnerMostValues,h=r.margin,d=r.onMouseLeave,p=r.onMouseEnter,y=r.showMarks,m=r.style,b=r.tickFormat,v=r.
2width,g=function(e){var t=e.animation,r=e.domains,n=e.style,i=e.tickFormat;return r.map((function(e,r){var o=e.domain;return G.a.createElement(gf,{animation:t,key:r+"-axis",axisStart:{x:e.name,y:0},axisEnd:{x:e.name,y:1},axisDomain:o,numberOfTicks:5,tickValue:function(t){return e.tickFormat?e.tickFormat(t):i(t)},style:n.axes})}))}({domains:c,animation:n,hideInnerMostValues:f,style:m,tickFormat:b}),_=function(e){var t=e.animation,r=e.brushFilters,n=e.colorRange,i=e.domains,o=e.data,a=e.style,s=e.showMarks,u=i.reduce((function(e,t){var r=t.domain;return e[t.name]=or().domain(r).range([0,1]),e}),{});return o.map((function(e,o){var c=!0,l=i.map((function(t,n){var i=t.getValue,o=t.name,a=u[o](i?i(e):e[o]),s=r[o];return s&&(a<s.min||a>s.max)&&(c=!1),{x:o,y:a}})),f={animation:t,className:c?"rv-parallel-coordinates-chart-line":"rv-parallel-coordinates-chart-line rv-parallel-coordinates-chart-line-unselected",key:o+"-polygon",data:l,color:e.color||n[o%n.length],style:Em({},a.lines,e.style||{})};return c||(f.style=Em({},f.style,a.deselectedLineStyle)),s?G.a.createElement(Cd,f):G.a.createElement(_d,f)}))}({animation:n,brushFilters:t,colorRange:s,domains:c,data:u,showMarks:y,style:m}),w=G.a.createElement(dd,{animation:!0,key:o,className:"rv-parallel-coordinates-chart-label",data:Am({domains:c,style:m.labels})}),S=Fp(this.props,Wp),M=S.marginLeft,x=S.marginRight;return G.a.createElement(oy,{height:l,width:v,margin:h,dontCheckIfEmpty:!0,className:o+" "+Tm,onMouseLeave:d,onMouseEnter:p,xType:"ordinal",yDomain:[0,1]},a,g.concat(_).concat(w),i&&c.map((function(r){var n=function(n){var i,o,a;e.setState({brushFilters:Em({},t,(i={},o=r.name,a=n?{min:n.bottom,max:n.top}:null,o in i?Object.defineProperty(i,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):i[o]=a,i))})};return G.a.createElement(eh,{key:r.name,drag:!0,highlightX:r.name,onBrushEnd:n,onDragEnd:n,highlightWidth:(v-M-x)/c.length,enableX:!1})})))}}]),t}(W.Component);Rm.displayName="ParallelCoordinates",Rm.propTypes={animation:$e,brushing:o.a.bool,className:o.a.string,colorType:o.a.string,colorRange:o.a.arrayOf(o.a.string),data:o.a.arrayOf(o.a.object).isRequired,domains:o.a.arrayOf(o.a.shape({name:o.a.string.isRequired,domain:o.a.arrayOf(o.a.number).isRequired,tickFormat:o.a.func})).isRequired,height:o.a.number.isRequired,margin:Vp,style:o.a.shape({axes:o.a.object,labels:o.a.object,lines:o.a.object}),showMarks:o.a.bool,tickFormat:o.a.func,width:o.a.number.isRequired},Rm.defaultProps={className:"",colorType:"category",colorRange:Ko,style:{axes:{line:{},ticks:{},text:{}},labels:{fontSize:10,textAnchor:"middle"},lines:{strokeWidth:1,strokeOpacity:1},deselectedLineStyle:{strokeOpacity:.1}},tickFormat:Pm};var jm=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Cm="rv-radar-chart",Nm=Xt(".2r");function Im(e){var t=1e-12;return Math.abs(e)<=t?e=0:e>0?Math.abs(e-.5)<=t&&(e=.5):e<0&&Math.abs(e+.5)<=t&&(e=-.5),e}function Lm(e){var t=e.domains,r=e.startingAngle,n=e.style;return t.map((function(e,i){var o=e.name,a=i/t.length*Math.PI*2+r;return{x:1.2*Math.cos(a),y:1.2*Math.sin(a),label:o,style:n}}))}function Dm(e){var t=e.animation,r=e.className,n=e.children,i=e.colorRange,o=e.data,a=e.domains,s=e.height,u=e.hideInnerMostValues,c=e.margin,l=e.onMouseLeave,f=e.onMouseEnter,h=e.startingAngle,d=e.style,p=e.tickFormat,y=e.width,m=e.renderAxesOverPolygons,b=e.onValueMouseOver,v=e.onValueMouseOut,g=e.onSeriesMouseOver,_=e.onSeriesMouseOut,w=function(e){var t=e.animation,r=e.domains,n=e.startingAngle,i=e.style,o=e.tickFormat,a=e.hideInnerMostValues;return r.map((function(e,s){var u=s/r.length*Math.PI*2+n,c=e.domain;return G.a.createElement(gf,{animation:t,key:s+"-axis",axisStart:{x:0,y:0},axisEnd:{x:Im(Math.cos(u)),y:Im(Math.sin(u))},axisDomain:c,numberOfTicks:5,tickValue:function(t){return a&&t===c[0]?"":e.tickFormat?e.tickFormat(t):o(t)},style:i.axes})}))}({domains:a,animation:t,hideInnerMostValues:u,startingAngle:h,style:d,tickFormat:p}),S=function(e){var t=e.animation,r=e.colorRange,n=e.domains,i=e.data,o=e.style,a=e.startingAngle,s=e.onSeriesM
2ouseOver,u=e.onSeriesMouseOut,c=n.reduce((function(e,t){var r=t.domain;return e[t.name]=or().domain(r).range([0,1]),e}),{});return i.map((function(e,i){var l=n.map((function(t,r){var i=t.name,o=t.getValue,s=o?o(e):e[i],u=r/n.length*Math.PI*2+a,l=Math.max(c[i](s),0);return{x:l*Math.cos(u),y:l*Math.sin(u),name:e.name}}));return G.a.createElement(np,{animation:t,className:"rv-radar-chart-polygon",key:i+"-polygon",data:l,style:jm({stroke:e.color||e.stroke||r[i%r.length],fill:e.color||e.fill||r[i%r.length]},o.polygons),onSeriesMouseOver:s,onSeriesMouseOut:u})}))}({animation:t,colorRange:i,domains:a,data:o,startingAngle:h,style:d,onSeriesMouseOver:g,onSeriesMouseOut:_}),M=function(e){var t=e.animation,r=e.domains,n=e.data,i=e.startingAngle,o=e.style,a=e.onValueMouseOver,s=e.onValueMouseOut;if(a){var u=r.reduce((function(e,t){var r=t.domain;return e[t.name]=or().domain(r).range([0,1]),e}),{});return n.map((function(e,n){var c=r.map((function(t,n){var o=t.name,a=t.getValue,s=a?a(e):e[o],c=n/r.length*Math.PI*2+i,l=Math.max(u[o](s),0);return{x:l*Math.cos(c),y:l*Math.sin(c),domain:o,value:s,dataName:e.name}}));return G.a.createElement(kd,{animation:t,className:"rv-radar-chart-polygonPoint",key:n+"-polygonPoint",data:c,size:10,style:jm({},o.polygons,{fill:"transparent",stroke:"transparent"}),onValueMouseOver:a,onValueMouseOut:s})}))}}({animation:t,colorRange:i,domains:a,data:o,startingAngle:h,style:d,onValueMouseOver:b,onValueMouseOut:v}),x=G.a.createElement(dd,{animation:t,key:r,className:"rv-radar-chart-label",data:Lm({domains:a,style:d.labels,startingAngle:h})});return G.a.createElement(oy,{height:s,width:y,margin:c,dontCheckIfEmpty:!0,className:r+" "+Cm,onMouseLeave:l,onMouseEnter:f,xDomain:[-1,1],yDomain:[-1,1]},n,!m&&w.concat(S).concat(x).concat(M),m&&S.concat(x).concat(w).c
2oncat(M))}Dm.displayName="RadarChart",Dm.propTypes={animation:$e,className:o.a.string,colorType:o.a.string,colorRange:o.a.arrayOf(o.a.string),data:o.a.arrayOf(o.a.object).isRequired,domains:o.a.arrayOf(o.a.shape({name:o.a.string.isRequired,domain:o.a.arrayOf(o.a.number).isRequired,tickFormat:o.a.func})).isRequired,height:o.a.number.isRequired,hideInnerMostValues:o.a.bool,margin:Vp,startingAngle:o.a.number,style:o.a.shape({axes:o.a.object,labels:o.a.object,polygons:o.a.object}),tickFormat:o.a.func,width:o.a.number.isRequired,renderAxesOverPolygons:o.a.bool,onValueMouseOver:o.a.func,onValueMouseOut:o.a.func,onSeriesMouseOver:o.a.func,onSeriesMouseOut:o.a.func},Dm.defaultProps={className:"",colorType:"category",colorRange:Ko,hideInnerMostValues:!0,startingAngle:Math.PI/2,style:{axes:{line:{},ticks:{},text:{}},labels:{fontSize:10,textAnchor:"middle"},polygons:{strokeWidth:.5,strokeOpacity:1,fillOpacity:.1}},tickFormat:Nm,renderAxesOverPolygons:!1};var Bm=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e};function qm(e){var t=e.animation,r=e.className,n=e.children,i=e.colorType,o=e.data,a=e.getAngle,s=e.getLabel,u=e.getSubLabel,c=e.height,l=e.hideRootNode,f=e.innerRadius,h=e.labelsAboveChildren,d=e.labelsRadiusMultiplier,p=e.labelsStyle,y=e.margin,m=e.onMouseLeave,b=e.onMouseEnter,v=e.radius,g=e.showLabels,_=e.style,w=e.width,S=function(e){var t=e.data,r=e.getAngle;return Qa().sort(null).value(r)(t).reverse().map((function(e,t){return Bm({},e.data,{angle0:e.startAngle,angle:e.endAngle,radius0:e.data.innerRadius||0,radius:e.data.radius||1,color:e.data.color||t})}))}({data:o,height:c,hideRootNode:l,width:w,getAngle:a}),M=oa(S),x=Bm({colorType:i},e,{animation:t,radiusDomain:[0,M],data:S,radiusNoFallBack:!0,style:_,arcClassName:"rv-radial-chart__series--pie__slice"});v&&(x.radiusDomain=[0,1],x.radiusRange=[f||0,v],x.radiusType="linear");var E=Hp(w,c,v||function(e,t){return Math.min(e,t)/2-15}(w,c)),k=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1.1,n=t.getLabel,i=t.getSubLabel;return e.reduce((function(e,t){var o=t.angle,a=t.angle0,s=t.radius,u=(o+a)/2*-1+Math.PI/2,c=[];return n(t)&&c.push({angle:u,radius:s*r,label:n(t)}),i(t)&&c.push({angle:u,radius:s*r,label:i(t),style:{fontSize:10},yOffset:12}),e.concat(c)}),[])}(S,{getLabel:s,getSubLabel:u},d);return G.a.createElement(oy,{height:c,width:w,margin:Bm({},y,E),className:r+" rv-radial-chart",onMouseLeave:m,onMouseEnter:b,xDomain:[-M,M],yDomain:[-M,M]},G.a.createElement(Va,Bm({},x,{getAngle:function(e){return e.angle}})),g&&!h&&G.a.createElement(dd,{data:k,style:p}),n,g&&h&&G.a.createElement(dd,{data:k,style:p}))}qm.displayName="RadialChart",qm.propTypes={animation:$e,className:o.a.string,colorType:o.a.string,data:o.a.arrayOf(o.a.shape({angle:o.a.number,className:o.a.string,label:o.a.string,radius:o.a.number,style:o.a.object})).isRequired,getAngle:o.a.func,getAngle0:o.a.func,padAngle:o.a.oneOfType([o.a.func,o.a.number]),getRadius:o.a.func,getRadius0:o.a.func,getLabel:o.a.func,height:o.a.number.isRequired,labelsAboveChildren:o.a.bool,labelsStyle:o.a.object,margin:Vp,onValueClick:o.a.func,onValueMouseOver:o.a.func,onValueMouseOut:o.a.func,showLabels:o.a.bool,style:o.a.object,subLabel:o.a.func,width:o.a.number.isRequired},qm.defaultProps={className:"",colorType:"category",colorRange:Ko,padAngle:0,getAngle:function(e){return e.angle},getAngle0:function(e){return e.angle0},getRadius:function(e){return e.radius},getRadius0:function(e){return e.radius0},getLabel:function(e){return e.label},getSubLabel:function(e){return e.subLabel}};function Um(e){return e.target.depth}function zm(e,t){return e.sourceLinks.length?e.depth:t-1}function Fm(e){return function(){return e}}function Hm(e,t){return Wm(e.source,t.source)||e.index-t.index}function Vm(e,t){return Wm(e.target,t.target)||e.index-t.index}function Wm(e,t){return e.y0-t.y0}function Gm(e){return e.value}function Km(e){return(e.y0+e.y1)/2}function Ym(e){return Km(e.source)*e.value}function Xm(e){return Km(e.target)*e.value}function $m(e){return e.index}
2function Zm(e){return e.nodes}function Jm(e){return e.links}function Qm(e,t){var r=e.get(t);if(!r)throw new Error("missing: "+t);return r}function eb(e){return[e.source.x1,e.y0]}function tb(e){return[e.target.x0,e.y1]}var rb=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},nb=Ko[1];function ib(e){var t=e.animation,r=e.data,n=e.node,i=e.opacity,o=e.color,a=e.strokeWidth,s=e.style,u=e.onLinkClick,c=e.onLinkMouseOver,l=e.onLinkMouseOut;return t?G.a.createElement(Xe,rb({},e,{animatedProps:aa}),G.a.createElement(ib,rb({},e,{animation:null}))):G.a.createElement("path",rb({d:r},s,{className:"rv-sankey__link",opacity:Number.isFinite(i)?i:.7,stroke:o||nb,onClick:function(e){return u(n,e)},onMouseOver:function(e){return c(n,e)},onMouseOut:function(e){return l(n,e)},strokeWidth:a,fill:"none"}))}ib.displayName="SankeyLink",ib.requiresSVG=!0;var ob=ib,ab=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e};function sb(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t<e.length;t++)r[t]=e[t];return r}return Array.from(e)}var ub=function(e){return e},cb={justify:zm,center:function(e){return e.targetLinks.length?e.depth:e.sourceLinks.length?ht(e.sourceLinks,Um)-1:0},left:function(e){return e.depth},right:function(e,t){return t-1-e.height}},lb={top:20,left:20,right:20,bottom:20};function fb(e){var t=e.align,r=e.animation,n=e.children,i=e.className,o=e.hasVoronoi,a=e.height,s=e.hideLabels,u=e.labelRotation,c=e.layout,l=e.links,f=e.linkOpacity,h=e.margin,d=e.nodePadding,p=e.nodes,y=e.nodeWidth,m=e.onValueClick,b=e.onValueMouseOver,v=e.onValueMouseOut,g=e.onLinkClick,_=e.onLinkMouseOver,w=e.onLinkMouseOut,S=e.style,M=e.width,x=[].concat(sb(new Array(p.length))).map((function(e,t){return ab({},p[t])})),E=[].concat(sb(new Array(l.length))).map((function(e,t){return ab({},l[t])})),k=Fp({margin:h,height:a,width:M},lb),O=k.marginLeft,T=k.marginTop,P=k.marginRight,A=k.marginBottom,R=function(){var e=0,t=0,r=1,n=1,i=24,o=8,a=$m,s=zm,u=Zm,c=Jm,l=32;function f(){var e={nodes:u.apply(null,arguments),links:c.apply(null,arguments)};return h(e),d(e),p(e),y(e),m(e),e}function h(e){e.nodes.forEach((function(e,t){e.index=t,e.sourceLinks=[],e.targetLinks=[]}));var t=bt(e.nodes,a);e.links.forEach((function(e,r){e.index=r;var n=e.source,i=e.target;"object"!==typeof n&&(n=e.source=Qm(t,n)),"object"!==typeof i&&(i=e.target=Qm(t,i)),n.sourceLinks.push(e),i.targetLinks.push(e)}))}function d(e){e.nodes.forEach((function(e){e.value=Math.max(dt(e.sourceLinks,Gm),dt(e.targetLinks,Gm))}))}function p(t){var n,o,a;for(n=t.nodes,o=[],a=0;n.length;++a,n=o,o=[])n.forEach((function(e){e.depth=a,e.sourceLinks.forEach((function(e){o.indexOf(e.target)<0&&o.push(e.target)}))}));for(n=t.nodes,o=[],a=0;n.length;++a,n=o,o=[])n.forEach((function(e){e.height=a,e.targetLinks.forEach((function(e){o.indexOf(e.source)<0&&o.push(e.source)}))}));var u=(r-e-i)/(a-1);t.nodes.forEach((function(t){t.x1=(t.x0=e+Math.max(0,Math.min(a-1,Math.floor(s.call(null,t,a))))*u)+i}))}function y(e){var r=vt().key((function(e){return e.x0})).sortKeys(Ze).entries(e.nodes).map((function(e){return e.values}));!function(){var i=ht(r,(function(e){return(n-t-(e.length-1)*o)/dt(e,Gm)}));r.forEach((function(e){e.forEach((function(e,t){e.y1=(e.y0=t)+e.value*i}))})),e.links.forEach((function(e){e.width=e.value*i}))}(),c();for(var i=1,a=l;a>0;--a)u(i*=.99),c(),s(i),c();function s(e){r.forEach((function(t){t.forEach((function(t){if(t.targetLinks.length){var r=(dt(t.targetLinks,Ym)/dt(t.targetLinks,Gm)-Km(t))*e;t.y0+=r,t.y1+=r}}))}))}function u(e){r.slice().reverse().forEach((function(t){t.forEach((function(t){if(t.sourceLinks.length){var r=(dt(t.sourceLinks,Xm)/dt(t.sourceLinks,Gm)-Km(t))*e;t.y0+=r,t.y1+=r}}))}))}function c(){r.forEach((function(e){var r,i,a,s=t,u=e.length;for(e.sort(Wm),a=0;a<u;++a)(i=s-(r=e[a]).y0)>0&&(r.y0+=i,r.y1+=i),s=r.y1+o;if((i=s-o-n)>0)for(s=r.y0-=i,r.y1-=i,a=u-2;a>=0;--a)(i=(r=e[a]).y1+o-s)>0&&(r.y0-=i,r.y1-=i),s=r.y0}))}}
2function m(e){e.nodes.forEach((function(e){e.sourceLinks.sort(Vm),e.targetLinks.sort(Hm)})),e.nodes.forEach((function(e){var t=e.y0,r=t;e.sourceLinks.forEach((function(e){e.y0=t+e.width/2,t+=e.width})),e.targetLinks.forEach((function(e){e.y1=r+e.width/2,r+=e.width}))}))}return f.update=function(e){return m(e),e},f.nodeId=function(e){return arguments.length?(a="function"===typeof e?e:Fm(e),f):a},f.nodeAlign=function(e){return arguments.length?(s="function"===typeof e?e:Fm(e),f):s},f.nodeWidth=function(e){return arguments.length?(i=+e,f):i},f.nodePadding=function(e){return arguments.length?(o=+e,f):o},f.nodes=function(e){return arguments.length?(u="function"===typeof e?e:Fm(e),f):u},f.links=function(e){return arguments.length?(c="function"===typeof e?e:Fm(e),f):c},f.size=function(i){return arguments.length?(e=t=0,r=+i[0],n=+i[1],f):[r-e,n-t]},f.extent=function(i){return arguments.length?(e=+i[0][0],r=+i[1][0],t=+i[0][1],n=+i[1][1],f):[[e,t],[r,n]]},f.iterations=function(e){return arguments.length?(l=+e,f):l},f}().extent([[O,T],[M-P,a-A-T]]).nodeWidth(y).nodePadding(d).nodes(x).links(E).nodeAlign(cb[t]).iterations(c);R(x);var j=R.nodeWidth(),C=ps().source(eb).target(tb);return G.a.createElement(oy,ab({},e,{yType:"literal",className:"rv-sankey "+i}),E.map((function(e,t){return G.a.createElement(ob,{style:S.links,data:C(e),opacity:e.opacity||f,color:e.color,onLinkClick:g,onLinkMouseOver:_,onLinkMouseOut:w,strokeWidth:Math.max(e.width,1),node:e,nWidth:j,key:"link-"+t})})),G.a.createElement(xp,{animation:r,className:i+" rv-sankey__node",data:x.map((function(e){return ab({},e,{y:e.y1-T,y0:e.y0-T,x:e.x1,x0:e.x0,color:e.color||Ko[0],sourceLinks:null,targetLinks:null})})),style:S.rects,onValueClick:m,onValueMouseOver:b,onValueMouseOut:v,colorType:"literal"}),!s&&G.a.createElement(dd,{animation:r,className:i,rotation:u,labelAnchorY:"text-before-edge",data:x.map((function(e,t){return ab({x:e.x0+(e.x0<M/2?j+10:-10),y:(e.y0+e.y1)/2-T,label:e.name,style:ab({textAnchor:e.x0<M/2?"start":"end",dy:"-.5em"},S.labels)},p[t])}))}),o&&G.a.createElement(Cp,{className:"rv-sankey__voronoi",extent:[[-O,-T],[M+P,a+A]],nodes:x,onClick:m,onHover:b,onBlur:v,x:function(e){return e.x0+(e.x1-e.x0)/2},y:function(e){return e.y0+(e.y1-e.y0)/2}}),n)}fb.defaultProps={align:"justify",className:"",hasVoronoi:!1,hideLabels:!1,labelRotation:0,layout:50,margin:lb,nodePadding:10,nodeWidth:10,onValueMouseOver:ub,onValueClick:ub,onValueMouseOut:ub,onLinkClick:ub,onLinkMouseOver:ub,onLinkMouseOut:ub,style:{links:{},rects:{},labels:{}}},fb.propTypes={align:o.a.oneOf(["justify","left","right","center"]),className:o.a.string,hasVoronoi:o.a.bool,height:o.a.number.isRequired,hideLabels:o.a.bool,labelRotation:o.a.number,layout:o.a.number,links:o.a.arrayOf(o.a.shape({source:o.a.oneOfType([o.a.number,o.a.object]).isRequired,target:o.a.oneOfType([o.a.number,o.a.object]).isRequired})).isRequired,margin:Vp,nodePadding:o.a.number,nodes:o.a.arrayOf(o.a.object).isRequired,nodeWidth:o.a.number,onValueMouseOver:o.a.func,onValueClick:o.a.func,onValueMouseOut:o.a.func,onLinkClick:o.a.func,onLinkMouseOver:o.a.func,onLinkMouseOut:o.a.func,style:o.a.shape({links:o.a.object,rects:o.a.object,labels:o.a.object}),width:o.a.number.isRequired};var hb=function(e){e.x0=Math.round(e.x0),e.y0=Math.round(e.y0),e.x1=Math.round(e.x1),e.y1=Math.round(e.y1)},db=function(e,t,r,n,i){for(var o,a=e.children,s=-1,u=a.length,c=e.value&&(n-t)/e.value;++s<u;)(o=a[s]).y0=r,o.y1=i,o.x0=t,o.x1=t+=o.value*c},pb=function(){var e=1,t=1,r=0,n=!1;function i(i){var o=i.height+1;return i.x0=i.y0=r,i.x1=e,i.y1=t/o,i.eachBefore(function(e,t){return function(n){n.children&&db(n,n.x0,e*(n.depth+1)/t,n.x1,e*(n.depth+2)/t);var i=n.x0,o=n.y0,a=n.x1-r,s=n.y1-r;a<i&&(i=a=(i+a)/2),s<o&&(o=s=(o+s)/2),n.x0=i,n.y0=o,n.x1=a,n.y1=s}}(t,o)),n&&i.eachBefore(hb),i}return i.round=function(e){return arguments.length?(n=!!e,i):n},i.size=function(r){return arguments.length?(e=+r[0],t=+r[1],i):[e,t]},i.padding=function(e){return arguments.length?(r=+e,i):r},i};function yb(e){var t=0,r=e.children,n=r&&r.length;if(n)for(;--n>=0;)t+=r[n].value;else t=1;e.value=t}function mb(e,t){var r,n,i,o,a,s=new _b(e),u=+e.value&&(s.value=e.value),c=[s];for(null==t&&(t=bb);r=c.pop();)if(u&&(r.value=+r.data.value),(i=t(r.data))&&(a=i.length))for(r.children=new Array(a),o=a-1;o>=0;--o)c.push(n=r.children[o]=new _b(i[o])),n.parent=r,n.depth=r.depth+1;return s.eachBefore(gb)}function bb(e){return e.children}function vb(e){e.data=e.data.data}function gb(e){var t=0;do{e.height=t}while((e=e.parent)&&e.height<++t)}function _b(e){this.data=e,this.depth=this.height=0,this.parent=null}_b.prototype=mb.prototype={constructor:_b,count:function(){return this.eachAfter(yb)},each:function(e){var t,r,n,i,o=this,a=[o];do{for(t=a.reverse(),a=[];o=t.pop();)if(e(o),r=o.children)for(n=0,i=r.length;n<i;++n)a.push(r[n])}while(a.length);return this},eachAfter:function(e){for(var t,r,n,i=this,o=[i],a=[];i=o.pop();)if(a.push(i),t=i.children)for(r=0,n=t.length;r<n;++r)o.push(t[r]);for(;i=a.pop();)e(i);return this},eachBefore:function(e){for(var t,r,n=this,i=[n];n=i.pop();)if(e(n),t=n.children)for(r=t.length-1;r>=0;--r)i.push(t[r]);return this},sum:function(e){return this.eachAfter((function(t){for(var r=+e(t.data)||0,n=t.children,i=n&&n.length;--i>=0;)r+=n[i].value;t.value=r}))},sort:function(e){return this.eachBefore((function(t){t.children&&t.children.sort(e)}))},path:function(e){for(var t=this,r=function(e,t){if(e===t)return e;var r=e.ancestors(),n=t.ancestors(),i=null;e=r.pop(),t=n.pop();for(;e===t;)i=e,e=r.pop(),t=n.pop();return i}(t,e),n=[t];t!==r;)t=t.parent,n.push(t);for(var i=n.length;e!==r;)n.splice(i,0,e),e=e.parent;return n},ancestors:function(){for(var e=this,t=[e];e=e.parent;)t.push(e);return t},descendants:function(){var e=[];return this.each((function(t){e.push(t)})),e},leaves:function(){var e=[];return this.eachBefore((function(t){t.children||e.push(t)})),e},links:function(){var e=this,t=[];return e.each((function(r){r!==e&&t.push({source:r.parent,target:r})})),t},copy:function(){return mb(this).eachBefore(vb)}};var wb=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];
2for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Sb=["onValueMouseOver","onValueMouseOut","onValueClick","onValueRightClick","onSeriesMouseOver","onSeriesMouseOut","onSeriesClick","onSeriesRightClick"];var Mb=function(){};function xb(e){var t=e.getAngle,r=e.getAngle0,n=e.animation,i=e.className,o=e.children,a=e.data,s=e.height,u=e.hideRootNode,c=e.getLabel,l=e.width,f=e.getSize,h=e.colorType,d=function(e){var t=e.data,r=e.height,n=e.hideRootNode,i=e.width,o=e.getSize,a=pb(),s=mb(t).sum(o),u=Math.min(i,r)/2-10,c=or().range([0,2*Math.PI]),l=yr().range([0,u]);return a(s).descendants().reduce((function(e,t,r){return n&&0===r?e:e.concat([wb({angle0:Math.max(0,Math.min(2*Math.PI,c(t.x0))),angle:Math.max(0,Math.min(2*Math.PI,c(t.x1))),radius0:Math.max(0,l(t.y0)),radius:Math.max(0,l(t.y1)),depth:t.depth,parent:t.parent},t.data)])}),[])}({data:a,height:s,hideRootNode:u,width:l,getSize:f}),p=oa(d),y=Hp(l,s,p),m=function(e,t){var r=t.getAngle,n=t.getAngle0,i=t.getLabel,o=t.getRadius0;return e.filter(i).map((function(e){var t=-1*r(e)+Math.PI/2,i=(-1*n(e)+Math.PI/2+t)/2,a=!e.dontRotateLabel,s=-i/(2*Math.PI)*360;return wb({},e,{children:null,angle:null,radius:null,x:o(e)*Math.cos(i),y:o(e)*Math.sin(i),style:wb({textAnchor:s>90?"end":"start"},e.labelStyle),rotation:a?s>90?s+180:90===s?90:s:null})}))}(d,{getAngle:t,getAngle0:r,getLabel:c,getRadius0:function(e){return e.radius0}});return G.a.createElement(oy,{height:s,hasTreeStructure:!0,width:l,className:"rv-sunburst "+i,margin:y,xDomain:[-p,p],yDomain:[-p,p]},G.a.createElement(Va,wb({colorType:h},e,{animation:n,radiusDomain:[0,p],data:n?d.map((function(e,t){return wb({},e,{parent:null,children:null,index:t})})):d,_data:n?d:null,arcClassName:"rv-sunburst__series--radial__arc"},Sb.reduce((function(t,r){var i,o=e[r];return t[r]=n?(i=o,function(e,t){return i?i(d[e.index],t):Mb}):o,t}),{}))),m.length>0&&G.a.createElement(dd,{data:m,getLabel:c}),o)}xb.displayName="Sunburst",xb.propTypes={animation:$e,getAngle:o.a.func,getAngle0:o.a.func,className:o.a.string,colorType:o.a.string,data:o.a.object.isRequired,height:o.a.number.isRequired,hideRootNode:o.a.bool,getLabel:o.a.func,onValueClick:o.a.func,onValueMouseOver:o.a.func,onValueMouseOut:o.a.func,getSize:o.a.func,width:o.a.number.isRequired,padAngle:o.a.oneOfType([o.a.func,o.a.number])},xb.defaultProps={getAngle:function(e){return e.angle},getAngle0:function(e){return e.angle0},className:"",colorType:"literal",getColor:function(e){return e.color},hideRootNode:!1,getLabel:function(e){return e.label},getSize:function(e){return e.size},padAngle:0};var Eb=function(e,t,r,n,i){for(var o,a=e.children,s=-1,u=a.length,c=e.value&&(i-r)/e.value;++s<u;)(o=a[s]).x0=t,o.x1=n,o.y0=r,o.y1=r+=o.value*c},kb=(1+Math.sqrt(5))/2;function Ob(e,t,r,n,i,o){for(var a,s,u,c,l,f,h,d,p,y,m,b=[],v=t.children,g=0,_=0,w=v.length,S=t.value;g<w;){u=i-r,c=o-n;do{l=v[_++].value}while(!l&&_<w);for(f=h=l,m=l*l*(y=Math.max(c/u,u/c)/(S*e)),p=Math.max(h/m,m/f);_<w;++_){if(l+=s=v[_].value,s<f&&(f=s),s>h&&(h=s),m=l*l*y,(d=Math.max(h/m,m/f))>p){l-=s;break}p=d}b.push(a={value:l,dice:u<c,children:v.slice(g,_)}),a.dice?db(a,r,n,i,S?n+=c*l/S:o):Eb(a,r,n,S?r+=u*l/S:i,o),S-=l,g=_}return b}var Tb=function e(t){function r(e,r,n,i,o){Ob(t,e,r,n,i,o)}return r.ratio=function(t){return e((t=+t)>1?t:1)},r}(kb),Pb=function e(t){function r(e,r,n,i,o){if((a=e._squarify)&&a.ratio===t)for(var a,s,u,c,l,f=-1,h=a.length,d=e.value;++f<h;){for(u=(s=a[f]).children,c=s.value=0,l=u.length;c<l;++c)s.value+=u[c].value;s.dice?db(s,r,n,i,n+=(o-n)*s.value/d):Eb(s,r,n,r+=(i-r)*s.value/d,o),d-=s.value}else e._squarify=a=Ob(t,e,r,n,i,o),a.ratio=t}return r.ratio=function(t){return e((t=+t)>1?t:1)},r}(kb),Ab=Array.prototype.slice;var Rb=function(e){for(var t,r,n=0,i=(e=function(e){for(var t,r,n=e.length;n;)r=Math.random()*n--|0,t=e[n],e[n]=e[r],e[r]=t;return e}(Ab.call(e))).length,o=[];n<i;)t=e[n],r&&Nb(r,t)?++n:(r=Lb(o=jb(o,t)),n=0);return r};function jb(e,t){var r,n;if(Ib(t,e))return[t];for(r=0;r<e.length;++r)if(Cb(t,e[r])&&Ib(Db(e[r],t),e))return[e[r],t];for(r=0;r<e.length-1;++r)for(n=r+1;n<e.length;++n)if(Cb(Db(e[r],e[n]),t)&&Cb(Db(e[r],t),e[n])&&Cb(Db(e[n],t),e[r])&&Ib(Bb(e[r],e[n],t),e))return[e[r],e[n],t];throw new Error}function Cb(e,t){var r=e.r-t.r,n=t.x-e.x,i=t.y-e.y;return r<0||r*r<n*n+i*i}function Nb(e,t){var r=e.r-t.r+1e-6,n=t.x-e.x,i=t.y-e.y;return r>0&&r*r>n*n+i*i}function Ib(e,t){for(var r=0;r<t.length;++r)if(!Nb(e,t[r]))return!1;return!0}
2function Lb(e){switch(e.length){case 1:return{x:(t=e[0]).x,y:t.y,r:t.r};case 2:return Db(e[0],e[1]);case 3:return Bb(e[0],e[1],e[2])}var t}function Db(e,t){var r=e.x,n=e.y,i=e.r,o=t.x,a=t.y,s=t.r,u=o-r,c=a-n,l=s-i,f=Math.sqrt(u*u+c*c);return{x:(r+o+u/f*l)/2,y:(n+a+c/f*l)/2,r:(f+i+s)/2}}function Bb(e,t,r){var n=e.x,i=e.y,o=e.r,a=t.x,s=t.y,u=t.r,c=r.x,l=r.y,f=r.r,h=n-a,d=n-c,p=i-s,y=i-l,m=u-o,b=f-o,v=n*n+i*i-o*o,g=v-a*a-s*s+u*u,_=v-c*c-l*l+f*f,w=d*p-h*y,S=(p*_-y*g)/(2*w)-n,M=(y*m-p*b)/w,x=(d*g-h*_)/(2*w)-i,E=(h*b-d*m)/w,k=M*M+E*E-1,O=2*(o+S*M+x*E),T=S*S+x*x-o*o,P=-(k?(O+Math.sqrt(O*O-4*k*T))/(2*k):T/O);return{x:n+S+M*P,y:i+x+E*P,r:P}}function qb(e,t,r){var n,i,o,a,s=e.x-t.x,u=e.y-t.y,c=s*s+u*u;c?(i=t.r+r.r,i*=i,a=e.r+r.r,i>(a*=a)?(n=(c+a-i)/(2*c),o=Math.sqrt(Math.max(0,a/c-n*n)),r.x=e.x-n*s-o*u,r.y=e.y-n*u+o*s):(n=(c+i-a)/(2*c),o=Math.sqrt(Math.max(0,i/c-n*n)),r.x=t.x+n*s-o*u,r.y=t.y+n*u+o*s)):(r.x=t.x+r.r,r.y=t.y)}function Ub(e,t){var r=e.r+t.r-1e-6,n=t.x-e.x,i=t.y-e.y;return r>0&&r*r>n*n+i*i}function zb(e){var t=e._,r=e.next._,n=t.r+r.r,i=(t.x*r.r+r.x*t.r)/n,o=(t.y*r.r+r.y*t.r)/n;return i*i+o*o}function Fb(e){this._=e,this.next=null,this.previous=null}function Hb(e){if(!(i=e.length))return 0;var t,r,n,i,o,a,s,u,c,l,f;if((t=e[0]).x=0,t.y=0,!(i>1))return t.r;if(r=e[1],t.x=-r.r,r.x=t.r,r.y=0,!(i>2))return t.r+r.r;qb(r,t,n=e[2]),t=new Fb(t),r=new Fb(r),n=new Fb(n),t.next=n.previous=r,r.next=t.previous=n,n.next=r.previous=t;e:for(s=3;s<i;++s){qb(t._,r._,n=e[s]),n=new Fb(n),u=r.next,c=t.previous,l=r._.r,f=t._.r;do{if(l<=f){if(Ub(u._,n._)){r=u,t.next=r,r.previous=t,--s;continue e}l+=u._.r,u=u.next}else{if(Ub(c._,n._)){(t=c).next=r,r.previous=t,--s;continue e}f+=c._.r,c=c.previous}}while(u!==c.next);for(n.previous=t,n.next=r,t.next=r.previous=r=n,o=zb(t);(n=n.next)!==r;)(a=zb(n))<o&&(t=n,o=a);r=t.next}for(t=[r._],n=r;(n=n.next)!==r;)t.push(n._);for(n=Rb(t),s=0;s<i;++s)(t=e[s]).x-=n.x,t.y-=n.y;return n.r}function Vb(e){return null==e?null:Wb(e)}function Wb(e){if("function"!==typeof e)throw new Error;return e}function Gb(){return 0}var Kb=function(e){return function(){return e}};function Yb(e){return Math.sqrt(e.value)}function Xb(e){return function(t){t.children||(t.r=Math.max(0,+e(t)||0))}}function $b(e,t){return function(r){if(n=r.children){var n,i,o,a=n.length,s=e(r)*t||0;if(s)for(i=0;i<a;++i)n[i].r+=s;if(o=Hb(n),s)for(i=0;i<a;++i)n[i].r-=s;r.r=o+s}}}function Zb(e){return function(t){var r=t.parent;t.r*=e,r&&(t.x=r.x+e*t.x,t.y=r.y+e*t.y)}}var Jb=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Qb=["colorRange","colorDomain","color","opacityRange","opacityDomain","opacity","x0","x1","y0","y1","r"];function ev(e){var t=e.animation,r=e.getLabel,n=e.mode,i=e.node,o=e.onLeafClick,a=e.onLeafMouseOver,s=e.onLeafMouseOut,u=e.r,c=e.scales,l=e.x0,f=e.x1,h=e.y0,d=e.y1,p=e.style;if(t)return G.a.createElement(Xe,Jb({},e,{animatedProps:Qb}),G.a.createElement(ev,Jb({},e,{animation:null})));var y="circlePack"===n,m=c.color(i),b=c.opacity(i),v=Do(m),g=r(i.data),_=Jb({top:y?h-u:h,left:y?l-u:l,width:y?2*u:f-l,height:y?2*u:d-h,background:m,opacity:b,color:v},p,i.data.style);return G.a.createElement("div",{className:"rv-treemap__leaf "+(y?"rv-treemap__leaf--circle":""),onMouseEnter:function(e){return a(i,e)},onMouseLeave:function(e){return s(i,e)},onClick:function(e){return o(i,e)},style:_},G.a.createElement("div",{className:"rv-treemap__leaf__content"},g))}ev.propTypes={animation:$e,height:o.a.number.isRequired,mode:o.a.string,node:o.a.object.isRequired,onLeafClick:o.a.func,onLeafMouseOver:o.a.func,onLeafMouseOut:o.a.func,scales:o.a.object.isRequired,width:o.a.number.isRequired,r:o.a.number.isRequired,x0:o.a.number.isRequired,x1:o.a.number.isRequired,y0:o.a.number.isRequired,y1:o.a.number.isRequired};var tv=ev,rv=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e};function nv(e){var t=e.animation,r=e.className,n=e.height,i=e.hideRootNode,o=e.getLabel,a=e.mode,s=e.nodes,u=e.width,c=e.scales,l=e.style,f="circlePack"===a;return G.a.createElement("div",{className:"rv-treemap "+(f?"rv-treemap-circle-packed":"")+" "+r,style:{height:n,width:u}},s.map((function(r,n){if(i&&!n)return null;var a=rv({animation:t,node:r,getLabel:o},e,{x0:f?r.x:r.x0,x1:f?r.x:r.x1,y0:f?r.y:r.y0,y1:f?r.y:r.y1,r:f?r.r:1,scales:c,style:l});return G.a.createElement(tv,rv({},a,{key:"leaf-"+n}))}
2)))}nv.displayName="TreemapDOM";var iv=nv,ov=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},av=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();function sv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function uv(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var cv=function(e){function t(){return sv(this,t),uv(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),av(t,[{key:"getCircularNodes",value:function(){var e=this.props,t=e.animation,r=e.hideRootNode,n=e.nodes,i=e.onLeafMouseOver,o=e.onLeafMouseOut,a=e.onLeafClick,s=e.scales,u=e.style,c=n.reduce((function(e,t,n){if(!n&&r)return e;var i=t.x,o=t.y,a=t.r;return{maxY:Math.max(o+a,e.maxY),minY:Math.min(o-a,e.minY),maxX:Math.max(i+1.2*a,e.maxX),minX:Math.min(i-1.2*a,e.minX),rows:e.rows.concat([{x:i,y:o,size:a,color:s.color(t)}])}}),{rows:[],maxY:-1/0,minY:1/0,maxX:-1/0,minX:1/0}),l=c.rows,f=c.minY,h=c.maxY,d=c.minX,p=c.maxX;return{updatedNodes:G.a.createElement(kd,{animation:t,className:"rv-treemap__leaf rv-treemap__leaf--circle",onSeriesMouseEnter:i,onSeriesMouseLeave:o,onSeriesClick:a,data:l,colorType:"literal",getColor:function(e){return e.color},sizeType:"literal",getSize:function(e){return e.size},style:u}),minY:f,maxY:h,minX:d,maxX:p}}},{key:"getNonCircularNodes",value:function(){var e=this.props,t=e.animation,r=e.hideRootNode,n=e.nodes,i=e.onLeafMouseOver,o=e.onLeafMouseOut,a=e.onLeafClick,s=e.scales,u=e.style,c=s.color;return n.reduce((function(e,n,s){if(!s&&r)return e;var l=n.x0,f=n.x1,h=n.y1,d=n.y0,p=l,y=d,m=h-d,b=f-l;e.maxY=Math.max(y+m,e.maxY),e.minY=Math.min(y,e.minY),e.maxX=Math.max(p+b,e.maxX),e.minX=Math.min(p,e.minX);var v=[{x:p,y:y},{x:p,y:y+m},{x:p+b,y:y+m},{x:p+b,y:y}];return e.updatedNodes=e.updatedNodes.concat([G.a.createElement(np,{animation:t,className:"rv-treemap__leaf",key:s,color:c(n),type:"literal",onSeriesMouseEnter:i,onSeriesMouseLeave:o,onSeriesClick:a,data:v,style:ov({},u,n.style)})]),e}),{updatedNodes:[],maxY:-1/0,minY:1/0,maxX:-1/0,minX:1/0})}},{key:"render",value:function(){var e=this.props,t=e.className,r=e.height,n=e.mode,i=e.nodes,o=e.width,a="circlePack"===n,s=a?this.getCircularNodes():this.getNonCircularNodes(),u=s.minY,c=s.maxY,l=s.minX,f=s.maxX,h=s.updatedNodes,d=i.reduce((function(e,t){return t.data.title?e.concat(ov({},t.data,{x:t.x0||t.x,y:t.y0||t.y,label:""+t.data.title})):e}),[]);return G.a.createElement(oy,ov({className:"rv-treemap "+(a?"rv-treemap-circle-packed":"")+" "+t,width:o,height:r,yDomain:[c,u],xDomain:[l,f],colorType:"literal",hasTreeStructure:!0},this.props),h,G.a.createElement(dd,{data:d}))}}]),t}(G.a.Component);cv.displayName="TreemapSVG";var lv=cv,fv=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),hv=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e};var dv={squarify:Tb,resquarify:Pb,slice:Eb,dice:db,slicedice:function(e,t,r,n,i){(1&e.depth?Eb:db)(e,t,r,n,i)},binary:function(e,t,r,n,i){var o,a,s=e.children,u=s.length,c=new Array(u+1);for(c[0]=a=o=0;o<u;++o)c[o+1]=a+=s[o].value;!function e(t,r,n,i,o,a,u){if(t>=r-1){var l=s[t];return l.x0=i,l.y0=o,l.x1=a,void(l.y1=u)}var f=c[t],h=n/2+f,d=t+1,p=r-1;for(;d<p;){var y=d+p>>>1;c[y]<h?d=y+1:p=y}h-c[d-1]<c[d]-h&&t+1<d&&--d;var m=c[d]-f,b=n-m;if(a-i>u-o){var v=(i*b+a*m)/n;e(t,d,m,i,o,v,u),e(d,r,b,v,o,a,u)}else{var g=(o*b+u*m)/n;e(t,d,m,i,o,a,g),e(d,r,b,i,g,a,u)}}(0,u,e.value,t,r,n,i)}},pv=function(e){return e},yv=["opacity","color"];function mv(e){var t=e.data.children||[],r=hv({},e,Io(e,t,yv),{_allData:t});return{opacity:Ao(r,"opacity"),color:Ao(r,"color")}}var bv=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return r.state=hv({scales:mv(e)},Fp(e,e.margin)),r}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}
2(t,e),fv(t,[{key:"componentWillReceiveProps",value:function(e){this.setState(hv({scales:mv(e)},Fp(e,e.margin)))}},{key:"_getNodesToRender",value:function(){var e=this.state,t=e.innerWidth,r=e.innerHeight,n=this.props,i=n.data,o=n.mode,a=n.padding,s=n.sortFunction,u=n.getSize;if(!i)return[];if("partition"===o||"partition-pivot"===o){var c=pb().size("partition-pivot"===o?[r,t]:[t,r]).padding(a)(mb(i).sum(u).sort((function(e,t){return s(e,t,u)}))).descendants();return"partition-pivot"===o?c.map((function(e){return hv({},e,{x0:e.y0,x1:e.y1,y0:e.x0,y1:e.x1})})):c}if("circlePack"===o)return function(){var e=null,t=1,r=1,n=Gb;function i(i){return i.x=t/2,i.y=r/2,e?i.eachBefore(Xb(e)).eachAfter($b(n,.5)).eachBefore(Zb(1)):i.eachBefore(Xb(Yb)).eachAfter($b(Gb,1)).eachAfter($b(n,i.r/Math.min(t,r))).eachBefore(Zb(Math.min(t,r)/(2*i.r))),i}return i.radius=function(t){return arguments.length?(e=Vb(t),i):e},i.size=function(e){return arguments.length?(t=+e[0],r=+e[1],i):[t,r]},i.padding=function(e){return arguments.length?(n="function"===typeof e?e:Kb(+e),i):n},i}().size([t,r]).padding(a)(mb(i).sum(u).sort((function(e,t){return s(e,t,u)}))).descendants();var l=dv[o];return function(){var e=Tb,t=!1,r=1,n=1,i=[0],o=Gb,a=Gb,s=Gb,u=Gb,c=Gb;function l(e){return e.x0=e.y0=0,e.x1=r,e.y1=n,e.eachBefore(f),i=[0],t&&e.eachBefore(hb),e}function f(t){var r=i[t.depth],n=t.x0+r,l=t.y0+r,f=t.x1-r,h=t.y1-r;f<n&&(n=f=(n+f)/2),h<l&&(l=h=(l+h)/2),t.x0=n,t.y0=l,t.x1=f,t.y1=h,t.children&&(r=i[t.depth+1]=o(t)/2,n+=c(t)-r,l+=a(t)-r,(f-=s(t)-r)<n&&(n=f=(n+f)/2),(h-=u(t)-r)<l&&(l=h=(l+h)/2),e(t,n,l,f,h))}return l.round=function(e){return arguments.length?(t=!!e,l):t},l.size=function(e){return arguments.length?(r=+e[0],n=+e[1],l):[r,n]},l.tile=function(t){return arguments.length?(e=Wb(t),l):e},l.padding=function(e){return arguments.length?l.paddingInner(e).paddingOuter(e):l.paddingInner()},l.paddingInner=function(e){return arguments.length?(o="function"===typeof e?e:Kb(+e),l):o},l.paddingOuter=function(e){return arguments.length?l.paddingTop(e).paddingRight(e).paddingBottom(e).paddingLeft(e):l.paddingTop()},l.paddingTop=function(e){return arguments.length?(a="function"===typeof e?e:Kb(+e),l):a},l.paddingRight=function(e){return arguments.length?(s="function"===typeof e?e:Kb(+e),l):s},l.paddingBottom=function(e){return arguments.length?(u="function"===typeof e?e:Kb(+e),l):u},l.paddingLeft=function(e){return arguments.length?(c="function"===typeof e?e:Kb(+e),l):c},l}().tile(l).size([t,r]).padding(a)(mb(i).sum(u).sort((function(e,t){return s(e,t,u)}))).descendants()}},{key:"render",value:function(){var e=this.props.renderMode,t=this.state.scales,r=this._getNodesToRender(),n="SVG"===e?lv:iv;return G.a.createElement(n,hv({},this.props,{nodes:r,scales:t}))}}]),t}(G.a.Component);bv.displayName="Treemap",bv.propTypes={animation:$e,className:o.a.string,data:o.a.object.isRequired,height:o.a.number.isRequired,hideRootNode:o.a.bool,margin:Vp,mode:o.a.oneOf(Object.keys(dv).concat(["circlePack","partition","partition-pivot"])),onLeafClick:o.a.func,onLeafMouseOver:o.a.func,onLeafMouseOut:o.a.func,useCirclePacking:o.a.bool,padding:o.a.number.isRequired,sortFunction:o.a.func,width:o.a.number.isRequired,getSize:o.a.func,getColor:o.a.func},bv.defaultProps={className:"",colorRange:Xo,_colorValue:Jo,data:{children:[]},hideRootNode:!1,margin:{left:40,right:10,top:10,bottom:40},mode:"squarify",onLeafClick:pv,onLeafMouseOver:pv,onLeafMouseOut:pv,opacityType:Zo,_opacityValue:1,padding:1,sortFunction:function(e,t,r){return r?r(e)-r(t):0},getSize:function(e){return e.size},getColor:function(e){return e.color},getLabel:function(e){return e.title}};var vv=r(39),gv=r.n(vv),_v=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},wv=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();var Sv=[],Mv=null;
2function xv(){gv.a.clearTimeout(Mv),Mv=gv.a.setTimeout(Ev,100)}function Ev(){Sv.forEach((function(e){return e()}))}function kv(e){return Sv.push(e),1===Sv.length&&gv.a.addEventListener("resize",xv),function(){!function(e){var t=Sv.indexOf(e);t>-1&&Sv.splice(t,1)}(e),0===Sv.length&&(gv.a.clearTimeout(Mv),gv.a.removeEventListener("resize",xv))}}function Ov(e,t,r){var n=function(n){function i(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,(i.__proto__||Object.getPrototypeOf(i)).call(this,e));return t._onResize=function(){var e=Object(ao.a)(t.container),r=e.offsetHeight,n=e.offsetWidth,i=t.state.height===r?{}:{height:r},o=t.state.width===n?{}:{width:n};t.setState(_v({},i,o))},t.state={height:0,width:0},t}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(i,n),wv(i,null,[{key:"propTypes",get:function(){var t=e.propTypes;t.height,t.width;return function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}(t,["height","width"])}}]),wv(i,[{key:"componentDidMount",value:function(){this._onResize(),this.cancelSubscription=kv(this._onResize)}},{key:"componentWillReceiveProps",value:function(){this._onResize()}},{key:"componentWillUnmount",value:function(){this.cancelSubscription()}},{key:"render",value:function(){var n=this,i=this.state,o=i.height,a=i.width,s=_v({},this.props,{animation:0===o&&0===a?null:this.props.animation}),u=_v({},r?{height:o}:{},t?{width:a}:{});return G.a.createElement("div",{ref:function(e){return n.container=e},style:{width:"100%",height:"100%"}},G.a.createElement(e,_v({},u,s)))}}]),i}(G.a.Component);return n.displayName="Flexible"+function(e){return e.displayName||e.name||"Component"}(e),n}Ov(oy,!0,!1),function(e){Ov(e,!1,!0)}(oy),function(e){Ov(e,!0,!0)}(oy)},,,function(e,t,r){"use strict";t.__esModule=!0,t.default=function(e){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]="number"===typeof e[r]?e[r]:e[r].val);return t},e.exports=t.default},function(e,t,r){e.exports=i;var n=r(26).EventEmitter;function i(){n.call(this)}r(3)(i,n),i.Readable=r(73),i.Writable=r(257),i.Duplex=r(258),i.Transform=r(259),i.PassThrough=r(260),i.Stream=i,i.prototype.pipe=function(e,t){var r=this;function i(t){e.writable&&!1===e.write(t)&&r.pause&&r.pause()}function o(){r.readable&&r.resume&&r.resume()}r.on("data",i),e.on("drain",o),e._isStdio||t&&!1===t.end||(r.on("end",s),r.on("close",u));var a=!1;function s(){a||(a=!0,e.end())}function u(){a||(a=!0,"function"===typeof e.destroy&&e.destroy())}function c(e){if(l(),0===n.listenerCount(this,"error"))throw e}function l(){r.removeListener("data",i),e.removeListener("drain",o),r.removeListener("end",s),r.removeListener("close",u),r.removeListener("error",c),e.removeListener("error",c),r.removeListener("end",l),r.removeListener("close",l),e.removeListener("close",l)}return r.on("error",c),e.on("error",c),r.on("end",l),r.on("close",l),e.on("close",l),e.emit("pipe",r),e}},function(e,t,r){"use strict";(function(t){"undefined"===typeof t||!t.version||0===t.version.indexOf("v0.")||0===t.version.indexOf("v1.")&&0!==t.version.indexOf("v1.8.")?e.exports={nextTick:function(e,r,n,i){if("function"!==typeof e)throw new TypeError('"callback" argument must be a function');var o,a,s=arguments.length;switch(s){case 0:case 1:return t.nextTick(e);case 2:return t.nextTick((function(){e.call(null,r)}));case 3:return t.nextTick((function(){e.call(null,r,n)}));case 4:return t.nextTick((function(){e.call(null,r,n,i)}));default:for(o=new Array(s-1),a=0;a<o.length;)o[a++]=arguments[a];return t.nextTick((function(){e.apply(null,o)}))}}}:e.exports=t}).call(this,r(8))},function(e,t,r){(function(e){var n=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),r={},n=0;n<t.length;n++)r[t[n]]=Object.getOwnPropertyDescriptor(e,t[n]);return r},i=/%[sdj%]/g;t.format=function(e){if(!b(e)){for(var t=[],r=0;r<arguments.length;r++)t.push(s(arguments[r]));return t.join(" ")}r=1;for(var n=arguments,o=n.length,a=String(e).replace(i,(function(e){if("%%"===e)return"%";if(r>=o)return e;switch(e){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch(t){return"[Circular]"}default:return e}})),u=n[r];r<o;u=n[++r])y(u)||!_(u)?a+=" "+u:a+=" "+s(u);return a},t.deprecate=function(r,n){if("undefined"!==typeof e&&!0===e.noDeprecation)return r;if("undefined"===typeof e)return function(){return t.deprecate(r,n).apply(this,arguments)};var i=!1;return function(){if(!i){if(e.throwDeprecation)throw new Error(n);e.traceDeprecation?console.trace(n):console.error(n),i=!0}return r.apply(this,arguments)}};var o,a={};function s(e,r){var n={seen:[],stylize:c};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),p(r)?n.showHidden=r:r&&t._extend(n,r),v(n.showHidden)&&(n.showHidden=!1),v(n.depth)&&(n.depth=2),v(n.colors)&&(n.colors=!1),v(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=u),l(n,e,n.depth)}function u(e,t){var r=s.styles[t];return r?"\x1b["+s.colors[r][0]+"m"+e+"\x1b["+s.colors[r][1]+"m":e}function c(e,t){return e}function l(e,r,n){if(e.customInspect&&r&&M(r.inspect)&&r.inspect!==t.inspect&&(!r.constructor||r.constructor.prototype!==r)){var i=r.inspect(n,e);return b(i)||(i=l(e,i,n)),i}var o=function(e,t){if(v(t))return e.stylize("undefined","undefined");if(b(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";
vendor: 5,073 bytes, line 2
2return e.stylize(r,"string")}if(m(t))return e.stylize(""+t,"number");if(p(t))return e.stylize(""+t,"boolean");if(y(t))return e.stylize("null","null")}(e,r);if(o)return o;var a=Object.keys(r),s=function(e){var t={};return e.forEach((function(e,r){t[e]=!0})),t}(a);if(e.showHidden&&(a=Object.getOwnPropertyNames(r)),S(r)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return f(r);if(0===a.length){if(M(r)){var u=r.name?": "+r.name:"";return e.stylize("[Function"+u+"]","special")}if(g(r))return e.stylize(RegExp.prototype.toString.call(r),"regexp");if(w(r))return e.stylize(Date.prototype.toString.call(r),"date");if(S(r))return f(r)}var c,_="",x=!1,E=["{","}"];(d(r)&&(x=!0,E=["[","]"]),M(r))&&(_=" [Function"+(r.name?": "+r.name:"")+"]");return g(r)&&(_=" "+RegExp.prototype.toString.call(r)),w(r)&&(_=" "+Date.prototype.toUTCString.call(r)),S(r)&&(_=" "+f(r)),0!==a.length||x&&0!=r.length?n<0?g(r)?e.stylize(RegExp.prototype.toString.call(r),"regexp"):e.stylize("[Object]","special"):(e.seen.push(r),c=x?function(e,t,r,n,i){for(var o=[],a=0,s=t.length;a<s;++a)T(t,String(a))?o.push(h(e,t,r,n,String(a),!0)):o.push("");return i.forEach((function(i){i.match(/^\d+$/)||o.push(h(e,t,r,n,i,!0))})),o}(e,r,n,s,a):a.map((function(t){return h(e,r,n,s,t,x)})),e.seen.pop(),function(e,t,r){if(e.reduce((function(e,t){return t.indexOf("\n")>=0&&0,e+t.replace(/\u001b\[\d\d?m/g,"").length+1}),0)>60)return r[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+r[1];return r[0]+t+" "+e.join(", ")+" "+r[1]}(c,_,E)):E[0]+_+E[1]}function f(e){return"["+Error.prototype.toString.call(e)+"]"}function h(e,t,r,n,i,o){var a,s,u;if((u=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]}).get?s=u.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):u.set&&(s=e.stylize("[Setter]","special")),T(n,i)||(a="["+i+"]"),s||(e.seen.indexOf(u.value)<0?(s=y(r)?l(e,u.value,null):l(e,u.value,r-1)).indexOf("\n")>-1&&(s=o?s.split("\n").map((function(e){return" "+e})).join("\n").substr(2):"\n"+s.split("\n").map((function(e){return" "+e})).join("\n")):s=e.stylize("[Circular]","special")),v(a)){if(o&&i.match(/^\d+$/))return s;(a=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.substr(1,a.length-2),a=e.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=e.stylize(a,"string"))}return a+": "+s}function d(e){return Array.isArray(e)}function p(e){return"boolean"===typeof e}function y(e){return null===e}function m(e){return"number"===typeof e}function b(e){return"string"===typeof e}function v(e){return void 0===e}function g(e){return _(e)&&"[object RegExp]"===x(e)}function _(e){return"object"===typeof e&&null!==e}function w(e){return _(e)&&"[object Date]"===x(e)}function S(e){return _(e)&&("[object Error]"===x(e)||e instanceof Error)}function M(e){return"function"===typeof e}function x(e){return Object.prototype.toString.call(e)}function E(e){return e<10?"0"+e.toString(10):e.toString(10)}t.debuglog=function(r){if(v(o)&&(o=Object({NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}).NODE_DEBUG||""),r=r.toUpperCase(),!a[r])if(new RegExp("\\b"+r+"\\b","i").test(o)){var n=e.pid;a[r]=function(){var e=t.format.apply(t,arguments);console.error("%s %d: %s",r,n,e)}}else a[r]=function(){};return a[r]},t.inspect=s,s.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},s.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},t.isArray=d,t.isBoolean=p,t.isNull=y,t.isNullOrUndefined=function(e){return null==e},t.isNumber=m,t.isString=b,t.isSymbol=function(e){return"symbol"===typeof e},t.isUndefined=v,t.isRegExp=g,t.isObject=_,t.isDate=w,t.isError=S,t.isFunction=M,t.isPrimitive=function(e){return null===e||"boolean"===typeof e||"number"===typeof e||"string"===typeof e||"symbol"===typeof e||"undefined"===typeof e},t.isBuffer=r(261);var k=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function O(){var e=new Date,t=[E(e.getHours()),E(e.getMinutes()),E(e.getSeconds())].join(":");return[e.getDate(),k[e.getMonth()],t].join(" ")}function T(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.log=function(){console.log("%s - %s",O(),t.format.apply(t,arguments))},t.inherits=r(262),t._extend=function(e,t){if(!t||!_(t))return e;for(var r=Object.keys(t),n=r.length;n--;)e[r[n]]=t[r[n]];return e};var P="undefined"!==typeof Symbol?Symbol("util.promisify.custom"):void 0;function A(e,t){if(!e){var r=new Error("Promise was rejected with a falsy value");r.reason=e,e=r}return t(e)}t.promisify=function(e){if("function"!==typeof e)throw new TypeError('The "original" argument must be of type Function');if(P&&e[P]){var t;if("function"!==typeof(t=e[P]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,P,{value:t,enumerable:!1,writable:!1,
vendor: 5,033 bytes, line 2
2configurable:!0}),t}function t(){for(var t,r,n=new Promise((function(e,n){t=e,r=n})),i=[],o=0;o<arguments.length;o++)i.push(arguments[o]);i.push((function(e,n){e?r(e):t(n)}));try{e.apply(this,i)}catch(a){r(a)}return n}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),P&&Object.defineProperty(t,P,{value:t,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(t,n(e))},t.promisify.custom=P,t.callbackify=function(t){if("function"!==typeof t)throw new TypeError('The "original" argument must be of type Function');function r(){for(var r=[],n=0;n<arguments.length;n++)r.push(arguments[n]);var i=r.pop();if("function"!==typeof i)throw new TypeError("The last argument must be of type Function");var o=this,a=function(){return i.apply(o,arguments)};t.apply(this,r).then((function(t){e.nextTick(a,null,t)}),(function(t){e.nextTick(A,t,a)}))}return Object.setPrototypeOf(r,Object.getPrototypeOf(t)),Object.defineProperties(r,n(t)),r}}).call(this,r(8))},function(e,t,r){var n=r(5).Buffer;function i(e){n.isBuffer(e)||(e=n.from(e));for(var t=e.length/4|0,r=new Array(t),i=0;i<t;i++)r[i]=e.readUInt32BE(4*i);return r}function o(e){for(;0<e.length;e++)e[0]=0}function a(e,t,r,n,i){for(var o,a,s,u,c=r[0],l=r[1],f=r[2],h=r[3],d=e[0]^t[0],p=e[1]^t[1],y=e[2]^t[2],m=e[3]^t[3],b=4,v=1;v<i;v++)o=c[d>>>24]^l[p>>>16&255]^f[y>>>8&255]^h[255&m]^t[b++],a=c[p>>>24]^l[y>>>16&255]^f[m>>>8&255]^h[255&d]^t[b++],s=c[y>>>24]^l[m>>>16&255]^f[d>>>8&255]^h[255&p]^t[b++],u=c[m>>>24]^l[d>>>16&255]^f[p>>>8&255]^h[255&y]^t[b++],d=o,p=a,y=s,m=u;return o=(n[d>>>24]<<24|n[p>>>16&255]<<16|n[y>>>8&255]<<8|n[255&m])^t[b++],a=(n[p>>>24]<<24|n[y>>>16&255]<<16|n[m>>>8&255]<<8|n[255&d])^t[b++],s=(n[y>>>24]<<24|n[m>>>16&255]<<16|n[d>>>8&255]<<8|n[255&p])^t[b++],u=(n[m>>>24]<<24|n[d>>>16&255]<<16|n[p>>>8&255]<<8|n[255&y])^t[b++],[o>>>=0,a>>>=0,s>>>=0,u>>>=0]}var s=[0,1,2,4,8,16,32,64,128,27,54],u=function(){for(var e=new Array(256),t=0;t<256;t++)e[t]=t<128?t<<1:t<<1^283;for(var r=[],n=[],i=[[],[],[],[]],o=[[],[],[],[]],a=0,s=0,u=0;u<256;++u){var c=s^s<<1^s<<2^s<<3^s<<4;c=c>>>8^255&c^99,r[a]=c,n[c]=a;var l=e[a],f=e[l],h=e[f],d=257*e[c]^16843008*c;i[0][a]=d<<24|d>>>8,i[1][a]=d<<16|d>>>16,i[2][a]=d<<8|d>>>24,i[3][a]=d,d=16843009*h^65537*f^257*l^16843008*a,o[0][c]=d<<24|d>>>8,o[1][c]=d<<16|d>>>16,o[2][c]=d<<8|d>>>24,o[3][c]=d,0===a?a=s=1:(a=l^e[e[e[h^l]]],s^=e[e[s]])}return{SBOX:r,INV_SBOX:n,SUB_MIX:i,INV_SUB_MIX:o}}();function c(e){this._key=i(e),this._reset()}c.blockSize=16,c.keySize=32,c.prototype.blockSize=c.blockSize,c.prototype.keySize=c.keySize,c.prototype._reset=function(){for(var e=this._key,t=e.length,r=t+6,n=4*(r+1),i=[],o=0;o<t;o++)i[o]=e[o];for(o=t;o<n;o++){var a=i[o-1];o%t===0?(a=a<<8|a>>>24,a=u.SBOX[a>>>24]<<24|u.SBOX[a>>>16&255]<<16|u.SBOX[a>>>8&255]<<8|u.SBOX[255&a],a^=s[o/t|0]<<24):t>6&&o%t===4&&(a=u.SBOX[a>>>24]<<24|u.SBOX[a>>>16&255]<<16|u.SBOX[a>>>8&255]<<8|u.SBOX[255&a]),i[o]=i[o-t]^a}for(var c=[],l=0;l<n;l++){var f=n-l,h=i[f-(l%4?0:4)];c[l]=l<4||f<=4?h:u.INV_SUB_MIX[0][u.SBOX[h>>>24]]^u.INV_SUB_MIX[1][u.SBOX[h>>>16&255]]^u.INV_SUB_MIX[2][u.SBOX[h>>>8&255]]^u.INV_SUB_MIX[3][u.SBOX[255&h]]}this._nRounds=r,this._keySchedule=i,this._invKeySchedule=c},c.prototype.encryptBlockRaw=function(e){return a(e=i(e),this._keySchedule,u.SUB_MIX,u.SBOX,this._nRounds)},c.prototype.encryptBlock=function(e){var t=this.encryptBlockRaw(e),r=n.allocUnsafe(16);return r.writeUInt32BE(t[0],0),r.writeUInt32BE(t[1],4),r.writeUInt32BE(t[2],8),r.writeUInt32BE(t[3],12),r},c.prototype.decryptBlock=function(e){var t=(e=i(e))[1];e[1]=e[3],e[3]=t;var r=a(e,this._invKeySchedule,u.INV_SUB_MIX,u.INV_SBOX,this._nRounds),o=n.allocUnsafe(16);return o.writeUInt32BE(r[0],0),o.writeUInt32BE(r[3],4),o.writeUInt32BE(r[2],8),o.writeUInt32BE(r[1],12),o},c.prototype.scrub=function(){o(this._keySchedule),o(this._invKeySchedule),o(this._key)},e.exports.AES=c},function(e,t,r){var n=r(5).Buffer,i=r(77);e.exports=function(e,t,r,o){if(n.isBuffer(e)||(e=n.from(e,"binary")),t&&(n.isBuffer(t)||(t=n.from(t,"binary")),8!==t.length))throw new RangeError("salt should be Buffer with 8 byte length");for(var a=r/8,s=n.alloc(a),u=n.alloc(o||0),c=n.alloc(0);a>0||o>0;){var l=new i;l.update(c),l.update(e),t&&l.update(t),c=l.digest();var f=0;if(a>0){var h=s.length-a;f=Math.min(a,c.length),c.copy(s,h,0,f),a-=f}if(f<c.length&&o>0){var d=u.length-o,p=Math.min(o,c.length-f);c.copy(u,d,f,f+p),o-=p}}return c.fill(0),{key:s,iv:u}}},function(e,t,r){"use strict";var n=r(12),i=r(16),o=i.getNAF,a=i.getJSF,s=i.assert;function u(e,t){this.type=e,this.p=new n(t.p,16),this.red=t.prime?n.red(t.prime):n.mont(this.p),this.zero=new n(0).toRed(this.red),this.one=new n(1).toRed(this.red),this.two=new n(2).toRed(this.red),this.n=t.n&&new n(t.n,16),this.g=t.g&&this.pointFromJSON(t.g,t.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4),this._bitLength=this.n?this.n.bitLength():0;var r=this.n&&this.p.div(this.n);!r||r.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}
vendor: 1,779 bytes, line 2
2function c(e,t){this.curve=e,this.type=t,this.precomputed=null}e.exports=u,u.prototype.point=function(){throw new Error("Not implemented")},u.prototype.validate=function(){throw new Error("Not implemented")},u.prototype._fixedNafMul=function(e,t){s(e.precomputed);var r=e._getDoubles(),n=o(t,1,this._bitLength),i=(1<<r.step+1)-(r.step%2===0?2:1);i/=3;var a,u,c=[];for(a=0;a<n.length;a+=r.step){u=0;for(var l=a+r.step-1;l>=a;l--)u=(u<<1)+n[l];c.push(u)}for(var f=this.jpoint(null,null,null),h=this.jpoint(null,null,null),d=i;d>0;d--){for(a=0;a<c.length;a++)(u=c[a])===d?h=h.mixedAdd(r.points[a]):u===-d&&(h=h.mixedAdd(r.points[a].neg()));f=f.add(h)}return f.toP()},u.prototype._wnafMul=function(e,t){var r=4,n=e._getNAFPoints(r);r=n.wnd;for(var i=n.points,a=o(t,r,this._bitLength),u=this.jpoint(null,null,null),c=a.length-1;c>=0;c--){for(var l=0;c>=0&&0===a[c];c--)l++;if(c>=0&&l++,u=u.dblp(l),c<0)break;var f=a[c];s(0!==f),u="affine"===e.type?f>0?u.mixedAdd(i[f-1>>1]):u.mixedAdd(i[-f-1>>1].neg()):f>0?u.add(i[f-1>>1]):u.add(i[-f-1>>1].neg())}return"affine"===e.type?u.toP():u},u.prototype._wnafMulAdd=function(e,t,r,n,i){var s,u,c,l=this._wnafT1,f=this._wnafT2,h=this._wnafT3,d=0;for(s=0;s<n;s++){var p=(c=t[s])._getNAFPoints(e);l[s]=p.wnd,f[s]=p.points}for(s=n-1;s>=1;s-=2){var y=s-1,m=s;if(1===l[y]&&1===l[m]){var b=[t[y],null,null,t[m]];0===t[y].y.cmp(t[m].y)?(b[1]=t[y].add(t[m]),b[2]=t[y].toJ().mixedAdd(t[m].neg())):0===t[y].y.cmp(t[m].y.redNeg())?(b[1]=t[y].toJ().mixedAdd(t[m]),b[2]=t[y].add(t[m].neg())):(b[1]=t[y].toJ().mixedAdd(t[m]),b[2]=t[y].toJ().mixedAdd(t[m].neg()));var v=[-3,-1,-5,-7,0,7,5,1,3],g=a(r[y],r[m]);for(d=Math.max(g[0].length,d),h[y]=new Array(d),h[m]=new Array(d),u=0;u<d;u++){var _=0|g[0][u],w=0|g[1][u];h[y][u]=v[3*(_+1)+(w+1)],h[m][u]=0,f[y]=b}}
vendor: 4,364 bytes, line 2
2else h[y]=o(r[y],l[y],this._bitLength),h[m]=o(r[m],l[m],this._bitLength),d=Math.max(h[y].length,d),d=Math.max(h[m].length,d)}var S=this.jpoint(null,null,null),M=this._wnafT4;for(s=d;s>=0;s--){for(var x=0;s>=0;){var E=!0;for(u=0;u<n;u++)M[u]=0|h[u][s],0!==M[u]&&(E=!1);if(!E)break;x++,s--}if(s>=0&&x++,S=S.dblp(x),s<0)break;for(u=0;u<n;u++){var k=M[u];0!==k&&(k>0?c=f[u][k-1>>1]:k<0&&(c=f[u][-k-1>>1].neg()),S="affine"===c.type?S.mixedAdd(c):S.add(c))}}for(s=0;s<n;s++)f[s]=null;return i?S:S.toP()},u.BasePoint=c,c.prototype.eq=function(){throw new Error("Not implemented")},c.prototype.validate=function(){return this.curve.validate(this)},u.prototype.decodePoint=function(e,t){e=i.toArray(e,t);var r=this.p.byteLength();if((4===e[0]||6===e[0]||7===e[0])&&e.length-1===2*r)return 6===e[0]?s(e[e.length-1]%2===0):7===e[0]&&s(e[e.length-1]%2===1),this.point(e.slice(1,1+r),e.slice(1+r,1+2*r));if((2===e[0]||3===e[0])&&e.length-1===r)return this.pointFromX(e.slice(1,1+r),3===e[0]);throw new Error("Unknown point format")},c.prototype.encodeCompressed=function(e){return this.encode(e,!0)},c.prototype._encode=function(e){var t=this.curve.p.byteLength(),r=this.getX().toArray("be",t);return e?[this.getY().isEven()?2:3].concat(r):[4].concat(r,this.getY().toArray("be",t))},c.prototype.encode=function(e,t){return i.encode(this._encode(t),e)},c.prototype.precompute=function(e){if(this.precomputed)return this;var t={doubles:null,naf:null,beta:null};return t.naf=this._getNAFPoints(8),t.doubles=this._getDoubles(4,e),t.beta=this._getBeta(),this.precomputed=t,this},c.prototype._hasDoubles=function(e){if(!this.precomputed)return!1;var t=this.precomputed.doubles;return!!t&&t.points.length>=Math.ceil((e.bitLength()+1)/t.step)},c.prototype._getDoubles=function(e,t){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var r=[this],n=this,i=0;i<t;i+=e){for(var o=0;o<e;o++)n=n.dbl();r.push(n)}return{step:e,points:r}},c.prototype._getNAFPoints=function(e){if(this.precomputed&&this.precomputed.naf)return this.precomputed.naf;for(var t=[this],r=(1<<e)-1,n=1===r?null:this.dbl(),i=1;i<r;i++)t[i]=t[i-1].add(n);return{wnd:e,points:t}},c.prototype._getBeta=function(){return null},c.prototype.dblp=function(e){for(var t=this,r=0;r<e;r++)t=t.dbl();return t}},function(e,t,r){var n=r(331),i=r(338),o=r(339),a=r(82),s=r(141),u=r(5).Buffer;function c(e){var t;"object"!==typeof e||u.isBuffer(e)||(t=e.passphrase,e=e.key),"string"===typeof e&&(e=u.from(e));var r,c,l=o(e,t),f=l.tag,h=l.data;switch(f){case"CERTIFICATE":c=n.certificate.decode(h,"der").tbsCertificate.subjectPublicKeyInfo;case"PUBLIC KEY":switch(c||(c=n.PublicKey.decode(h,"der")),r=c.algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return n.RSAPublicKey.decode(c.subjectPublicKey.data,"der");case"1.2.840.10045.2.1":return c.subjectPrivateKey=c.subjectPublicKey,{type:"ec",data:c};case"1.2.840.10040.4.1":return c.algorithm.params.pub_key=n.DSAparam.decode(c.subjectPublicKey.data,"der"),{type:"dsa",data:c.algorithm.params};default:throw new Error("unknown key id "+r)}case"ENCRYPTED PRIVATE KEY":h=function(e,t){var r=e.algorithm.decrypt.kde.kdeparams.salt,n=parseInt(e.algorithm.decrypt.kde.kdeparams.iters.toString(),10),o=i[e.algorithm.decrypt.cipher.algo.join(".")],c=e.algorithm.decrypt.cipher.iv,l=e.subjectPrivateKey,f=parseInt(o.split("-")[1],10)/8,h=s.pbkdf2Sync(t,r,n,f,"sha1"),d=a.createDecipheriv(o,h,c),p=[];return p.push(d.update(l)),p.push(d.final()),u.concat(p)}(h=n.EncryptedPrivateKey.decode(h,"der"),t);case"PRIVATE KEY":switch(r=(c=n.PrivateKey.decode(h,"der")).algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return n.RSAPrivateKey.decode(c.subjectPrivateKey,"der");case"1.2.840.10045.2.1":return{curve:c.algorithm.curve,privateKey:n.ECPrivateKey.decode(c.subjectPrivateKey,"der").privateKey};case"1.2.840.10040.4.1":return c.algorithm.params.priv_key=n.DSAparam.decode(c.subjectPrivateKey,"der"),{type:"dsa",params:c.algorithm.params};default:throw new Error("unknown key id "+r)}case"RSA PUBLIC KEY":return n.RSAPublicKey.decode(h,"der");case"RSA PRIVATE KEY":return n.RSAPrivateKey.decode(h,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:n.DSAPrivateKey.decode(h,"der")};case"EC PRIVATE KEY":return{curve:(h=n.ECPrivateKey.decode(h,"der")).parameters.value,privateKey:h.privateKey};default:throw new Error("unknown key type "+f)}
2}e.exports=c,c.signature=n.signature},function(e,t){var r=function(e,t){Error.call(this,e),Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor),this.name="JsonWebTokenError",this.message=e,t&&(this.inner=t)};(r.prototype=Object.create(Error.prototype)).constructor=r,e.exports=r},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isSpanContextValid=t.isValidSpanId=t.isValidTraceId=t.INVALID_SPAN_CONTEXT=t.INVALID_TRACEID=t.INVALID_SPANID=void 0;var n=r(184),i=/^([0-9a-f]{32})$/i,o=/^[0-9a-f]{16}$/i;function a(e){return i.test(e)&&e!==t.INVALID_TRACEID}function s(e){return o.test(e)&&e!==t.INVALID_SPANID}t.INVALID_SPANID="0000000000000000",t.INVALID_TRACEID="00000000000000000000000000000000",t.INVALID_SPAN_CONTEXT={traceId:t.INVALID_TRACEID,spanId:t.INVALID_SPANID,traceFlags:n.TraceFlags.NONE},t.isValidTraceId=a,t.isValidSpanId=s,t.isSpanContextValid=function(e){return a(e.traceId)&&s(e.spanId)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.unregisterGlobal=t.getGlobal=t.registerGlobal=void 0;var n=r(29),i=r(386),o=r(189),a=r(388),s=o.VERSION.split(".")[0],u=Symbol.for("io.opentelemetry.js.api."+s),c=i._globalThis;t.registerGlobal=function(e,t,r){var i;void 0===r&&(r=!1),c[u]=null!==(i=c[u])&&void 0!==i?i:{version:o.VERSION};var a=c[u];if(r||!a[e])if(a.version===o.VERSION)a[e]=t;else{s=new Error("@opentelemetry/api: All API registration versions must match");n.diag.error(s.stack||s.message)}else{var s=new Error("@opentelemetry/api: Attempted duplicate registration of API: "+e);n.diag.error(s.stack||s.message)}},t.getGlobal=function(e){var t,r,n=null===(t=c[u])||void 0===t?void 0:t.version;if(n&&a.isCompatible(n))return null===(r=c[u])||void 0===r?void 0:r[e]},t.unregisterGlobal=function(e){var t=c[u];t&&delete t[e]}},function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return f}));var n,i=r(2),o=r(30),a=new Set,s="undefined"!==typeof e&&Object({NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0})&&Object({NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}).AZURE_LOG_LEVEL||void 0,u=Object(o.a)("azure");u.log=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];o.a.log.apply(o.a,Object(i.e)(e))};var c=["verbose","info","warning","error"];
2s&&(y(s)?function(e){var t,r;if(e&&!y(e))throw new Error("Unknown log level '"+e+"'. Acceptable values: "+c.join(","));n=e;var s=[];try{for(var u=Object(i.f)(a),l=u.next();!l.done;l=u.next()){var f=l.value;p(f)&&s.push(f.namespace)}}catch(h){t={error:h}}finally{try{l&&!l.done&&(r=u.return)&&r.call(u)}finally{if(t)throw t.error}}o.a.enable(s.join(","))}(s):console.error("AZURE_LOG_LEVEL set to unknown log level '"+s+"'; logging is not enabled. Acceptable values: "+c.join(", ")+"."));var l={verbose:400,info:300,warning:200,error:100};function f(e){var t=u.extend(e);return h(u,t),{error:d(t,"error"),warning:d(t,"warning"),info:d(t,"info"),verbose:d(t,"verbose")}}function h(e,t){t.log=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];e.log.apply(e,Object(i.e)(t))}}function d(e,t){var r=Object.assign(e.extend(t),{level:t});if(h(e,r),p(r)){var n=o.a.disable();o.a.enable(n+","+r.namespace)}return a.add(r),r}function p(e){return!!(n&&l[e.level]<=l[n])}function y(e){return c.includes(e)}}).call(this,r(8))},function(e,t,r){"use strict";var n=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable;function a(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach((function(e){n[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(i){return!1}}()?Object.assign:function(e,t){for(var r,s,u=a(e),c=1;c<arguments.length;c++){for(var l in r=Object(arguments[c]))i.call(r,l)&&(u[l]=r[l]);if(n){s=n(r);for(var f=0;f<s.length;f++)o.call(r,s[f])&&(u[s[f]]=r[s[f]])}}return u}},function(e,t,r){"use strict";t.__esModule=!0,t.default=function(e){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=0);return t},e.exports=t.default},function(e,t,r){"use strict";t.__esModule=!0,t.default=function(e,t,r,i,o,a,s){var u=r+(-o*(t-i)+-a*r)*e,c=t+u*e;if(Math.abs(u)<s&&Math.abs(c-i)<s)return n[0]=i,n[1]=0,n;return n[0]=c,n[1]=u,n};var n=[0,0];e.exports=t.default},function(e,t,r){(function(t){(function(){var r,n,i;"undefined"!==typeof performance&&null!==performance&&performance.now?e.exports=function(){return performance.now()}:"undefined"!==typeof t&&null!==t&&t.hrtime?(e.exports=function(){return(r()-i)/1e6},n=t.hrtime,i=(r=function(){var e;return 1e9*(e=n())[0]+e[1]})()):Date.now?(e.exports=function(){return Date.now()-i},i=Date.now()):(e.exports=function(){return(new Date).getTime()-i},i=(new Date).getTime())}).call(this)}).call(this,r(8))},function(e,t,r){(function(t){for(var n=r(229),i="undefined"===typeof window?t:window,o=["moz","webkit"],a="AnimationFrame",s=i["request"+a],u=i["cancel"+a]||i["cancelRequest"+a],c=0;!s&&c<o.length;c++)s=i[o[c]+"Request"+a],u=i[o[c]+"Cancel"+a]||i[o[c]+"CancelRequest"+a];if(!s||!u){var l=0,f=0,h=[];s=function(e){if(0===h.length){var t=n(),r=Math.max(0,16.666666666666668-(t-l));l=r+t,setTimeout((function(){var e=h.slice(0);h.length=0;for(var t=0;t<e.length;t++)if(!e[t].cancelled)try{e[t].callback(l)}catch(r){setTimeout((function(){throw r}),0)}}),Math.round(r))}return h.push({handle:++f,callback:e,cancelled:!1}),f},u=function(e){for(var t=0;t<h.length;t++)h[t].handle===e&&(h[t].cancelled=!0)}}e.exports=function(e){return s.call(i,e)},e.exports.cancel=function(){u.apply(i,arguments)},e.exports.polyfill=function(e){e||(e=i),e.requestAnimationFrame=s,e.cancelAnimationFrame=u}}).call(this,r(11))},function(e,t,r){"use strict";t.__esModule=!0,t.default=function(e,t,r){for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(0!==r[n])return!1;var i="number"===typeof t[n]?t[n]:t[n].val;if(e[n]!==i)return!1}return!0},e.exports=t.default},function(e,t,r){"use strict";var n=r(238);e.exports=Function.prototype.bind||n},function(e,t,r){"use strict";var n=r(70),i=r(115),o=i("%Function.prototype.apply%"),a=i("%Function.prototype.call%"),s=i("%Reflect.apply%",!0)||n.call(a,o),u=i("%Object.getOwnPropertyDescriptor%",!0),c=i("%Object.defineProperty%",!0),l=i("%Math.max%");if(c)try{c({},"a",{value:1})}catch(h){c=null}e.exports=function(e){var t=s(n,a,arguments);if(u&&c){var r=u(t,"length");r.configurable&&c(t,"length",{value:1+l(0,e.length-(arguments.length-1))})}return t};var f=function(){return s(n,o,arguments)};c?c(e.exports,"apply",{value:f}):e.exports.apply=f},function(e,t,r){var n=r(248),i=r(348);t.ALGORITHMS=["HS256","HS384","HS512","RS256","RS384","RS512","PS256","PS384","PS512","ES256","ES384","ES512"],t.sign=n.sign,t.verify=i.verify,t.decode=i.decode,t.isValid=i.isValid,t.createSign=function(e){return new n(e)},t.createVerify=function(e){return new i(e)}},function(e,t,r){(t=e.exports=r(124)).Stream=t,t.Readable=t,t.Writable=r(75),t.Duplex=r(27),t.Transform=r(127),t.PassThrough=r(256)},function(e,t,r){var n=r(10),i=n.Buffer;function o(e,t){for(var r in e)t[r]=e[r]}function a(e,t,r){return i(e,t,r)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=n:(o(n,t),t.Buffer=a),o(i,a),a.from=function(e,t,r){if("number"===typeof e)throw new TypeError("Argument must not be a number");return i(e,t,r)},a.alloc=function(e,t,r){if("number"!==typeof e)throw new TypeError("Argument must be a number");var n=i(e);return void 0!==t?"string"===typeof r?n.fill(t,r):n.fill(t):n.fill(0),n},a.allocUnsafe=function(e){if("number"!==typeof e)throw new TypeError("Argument must be a number");return i(e)},a.allocUnsafeSlow=function(e){if("number"!==typeof e)throw new TypeError("Argument must be a number");return n.SlowBuffer(e)}},function(e,t,r){"use strict";(function(t,n,i){var o=r(54);function a(e){var t=this;this.next=null,this.entry=null,this.finish=function(){!function(e,t,r){var n=e.entry;e.entry=null;for(;n;){var i=n.callback;t.pendingcb--,i(r),n=n.next}t.corkedRequestsFree?t.corkedRequestsFree.next=e:t.corkedRequestsFree=e}(t,e)}}
vendor: 13,144 bytes, line 2
2e.exports=v;var s,u=!t.browser&&["v0.10","v0.9."].indexOf(t.version.slice(0,5))>-1?n:o.nextTick;v.WritableState=b;var c=Object.create(r(41));c.inherits=r(3);var l={deprecate:r(76)},f=r(125),h=r(74).Buffer,d=i.Uint8Array||function(){};var p,y=r(126);function m(){}function b(e,t){s=s||r(27),e=e||{};var n=t instanceof s;this.objectMode=!!e.objectMode,n&&(this.objectMode=this.objectMode||!!e.writableObjectMode);var i=e.highWaterMark,c=e.writableHighWaterMark,l=this.objectMode?16:16384;this.highWaterMark=i||0===i?i:n&&(c||0===c)?c:l,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var f=!1===e.decodeStrings;this.decodeStrings=!f,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var r=e._writableState,n=r.sync,i=r.writecb;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(r),t)!function(e,t,r,n,i){--t.pendingcb,r?(o.nextTick(i,n),o.nextTick(x,e,t),e._writableState.errorEmitted=!0,e.emit("error",n)):(i(n),e._writableState.errorEmitted=!0,e.emit("error",n),x(e,t))}(e,r,n,t,i);else{var a=S(r);a||r.corked||r.bufferProcessing||!r.bufferedRequest||w(e,r),n?u(_,e,r,a,i):_(e,r,a,i)}}(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new a(this)}function v(e){if(s=s||r(27),!p.call(v,this)&&!(this instanceof s))return new v(e);this._writableState=new b(e,this),this.writable=!0,e&&("function"===typeof e.write&&(this._write=e.write),"function"===typeof e.writev&&(this._writev=e.writev),"function"===typeof e.destroy&&(this._destroy=e.destroy),"function"===typeof e.final&&(this._final=e.final)),f.call(this)}function g(e,t,r,n,i,o,a){t.writelen=n,t.writecb=a,t.writing=!0,t.sync=!0,r?e._writev(i,t.onwrite):e._write(i,o,t.onwrite),t.sync=!1}function _(e,t,r,n){r||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,n(),x(e,t)}function w(e,t){t.bufferProcessing=!0;var r=t.bufferedRequest;if(e._writev&&r&&r.next){var n=t.bufferedRequestCount,i=new Array(n),o=t.corkedRequestsFree;o.entry=r;for(var s=0,u=!0;r;)i[s]=r,r.isBuf||(u=!1),r=r.next,s+=1;i.allBuffers=u,g(e,t,!0,t.length,i,"",o.finish),t.pendingcb++,t.lastBufferedRequest=null,o.next?(t.corkedRequestsFree=o.next,o.next=null):t.corkedRequestsFree=new a(t),t.bufferedRequestCount=0}else{for(;r;){var c=r.chunk,l=r.encoding,f=r.callback;if(g(e,t,!1,t.objectMode?1:c.length,c,l,f),r=r.next,t.bufferedRequestCount--,t.writing)break}null===r&&(t.lastBufferedRequest=null)}t.bufferedRequest=r,t.bufferProcessing=!1}function S(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function M(e,t){e._final((function(r){t.pendingcb--,r&&e.emit("error",r),t.prefinished=!0,e.emit("prefinish"),x(e,t)}))}function x(e,t){var r=S(t);return r&&(!function(e,t){t.prefinished||t.finalCalled||("function"===typeof e._final?(t.pendingcb++,t.finalCalled=!0,o.nextTick(M,e,t)):(t.prefinished=!0,e.emit("prefinish")))}(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"))),r}c.inherits(v,f),b.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(b.prototype,"buffer",{get:l.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"===typeof Symbol&&Symbol.hasInstance&&"function"===typeof Function.prototype[Symbol.hasInstance]?(p=Function.prototype[Symbol.hasInstance],Object.defineProperty(v,Symbol.hasInstance,{value:function(e){return!!p.call(this,e)||this===v&&(e&&e._writableState instanceof b)}})):p=function(e){return e instanceof this},v.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},v.prototype.write=function(e,t,r){var n,i=this._writableState,a=!1,s=!i.objectMode&&(n=e,h.isBuffer(n)||n instanceof d);return s&&!h.isBuffer(e)&&(e=function(e){return h.from(e)}(e)),"function"===typeof t&&(r=t,t=null),s?t="buffer":t||(t=i.defaultEncoding),"function"!==typeof r&&(r=m),i.ended?function(e,t){var r=new Error("write after end");e.emit("error",r),o.nextTick(t,r)}(this,r):(s||function(e,t,r,n){var i=!0,a=!1;return null===r?a=new TypeError("May not write null values to stream"):"string"===typeof r||void 0===r||t.objectMode||(a=new TypeError("Invalid non-string/buffer chunk")),a&&(e.emit("error",a),o.nextTick(n,a),i=!1),i}(this,i,e,r))&&(i.pendingcb++,a=function(e,t,r,n,i,o){if(!r){var a=function(e,t,r){e.objectMode||!1===e.decodeStrings||"string"!==typeof t||(t=h.from(t,r));return t}(t,n,i);n!==a&&(r=!0,i="buffer",n=a)}var s=t.objectMode?1:n.length;t.length+=s;var u=t.length<t.highWaterMark;u||(t.needDrain=!0);if(t.writing||t.corked){var c=t.lastBufferedRequest;t.lastBufferedRequest={chunk:n,encoding:i,isBuf:r,callback:o,next:null},c?c.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else g(e,t,!1,s,n,i,o);return u}(this,i,s,e,t,r)),a},v.prototype.cork=function(){this._writableState.corked++},v.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.finished||e.bufferProcessing||!e.bufferedRequest||w(this,e))},v.prototype.setDefaultEncoding=function(e){if("string"===typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(v.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),v.prototype._write=function(e,t,r){r(new Error("_write() is not implemented"))},v.prototype._writev=null,v.prototype.end=function(e,t,r){var n=this._writableState;"function"===typeof e?(r=e,e=null,t=null):"function"===typeof t&&(r=t,t=null),null!==e&&void 0!==e&&this.write(e,t),n.corked&&(n.corked=1,this.uncork()),n.ending||n.finished||function(e,t,r){t.ending=!0,x(e,t),r&&(t.finished?o.nextTick(r):e.once("finish",r));t.ended=!0,e.writable=!1}(this,n,r)},Object.defineProperty(v.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),v.prototype.destroy=y.destroy,v.prototype._undestroy=y.undestroy,v.prototype._destroy=function(e,t){this.end(),t(e)}}).call(this,r(8),r(254).setImmediate,r(11))},function(e,t,r){(function(t){function r(e){try{if(!t.localStorage)return!1}catch(n){return!1}var r=t.localStorage[e];return null!=r&&"true"===String(r).toLowerCase()}e.exports=function(e,t){if(r("noDeprecation"))return e;var n=!1;return function(){if(!n){if(r("throwDeprecation"))throw new Error(t);r("traceDeprecation")?console.trace(t):console.warn(t),n=!0}return e.apply(this,arguments)}}}).call(this,r(11))},function(e,t,r){"use strict";var n=r(3),i=r(129),o=r(5).Buffer,a=new Array(16);function s(){i.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}function u(e,t){return e<<t|e>>>32-t}function c(e,t,r,n,i,o,a){return u(e+(t&r|~t&n)+i+o|0,a)+t|0}function l(e,t,r,n,i,o,a){return u(e+(t&n|r&~n)+i+o|0,a)+t|0}function f(e,t,r,n,i,o,a){return u(e+(t^r^n)+i+o|0,a)+t|0}function h(e,t,r,n,i,o,a){return u(e+(r^(t|~n))+i+o|0,a)+t|0}n(s,i),s.prototype._update=function(){for(var e=a,t=0;t<16;++t)e[t]=this._block.readInt32LE(4*t);var r=this._a,n=this._b,i=this._c,o=this._d;r=c(r,n,i,o,e[0],3614090360,7),o=c(o,r,n,i,e[1],3905402710,12),i=c(i,o,r,n,e[2],606105819,17),n=c(n,i,o,r,e[3],3250441966,22),r=c(r,n,i,o,e[4],4118548399,7),o=c(o,r,n,i,e[5],1200080426,12),i=c(i,o,r,n,e[6],2821735955,17),n=c(n,i,o,r,e[7],4249261313,22),r=c(r,n,i,o,e[8],1770035416,7),o=c(o,r,n,i,e[9],2336552879,12),i=c(i,o,r,n,e[10],4294925233,17),n=c(n,i,o,r,e[11],2304563134,22),r=c(r,n,i,o,e[12],1804603682,7),o=c(o,r,n,i,e[13],4254626195,12),i=c(i,o,r,n,e[14],2792965006,17),r=l(r,n=c(n,i,o,r,e[15],1236535329,22),i,o,e[1],4129170786,5),o=l(o,r,n,i,e[6],3225465664,9),i=l(i,o,r,n,e[11],643717713,14),n=l(n,i,o,r,e[0],3921069994,20),r=l(r,n,i,o,e[5],3593408605,5),o=l(o,r,n,i,e[10],38016083,9),i=l(i,o,r,n,e[15],3634488961,14),n=l(n,i,o,r,e[4],3889429448,20),r=l(r,n,i,o,e[9],568446438,5),o=l(o,r,n,i,e[14],3275163606,9),i=l(i,o,r,n,e[3],4107603335,14),n=l(n,i,o,r,e[8],1163531501,20),r=l(r,n,i,o,e[13],2850285829,5),o=l(o,r,n,i,e[2],4243563512,9),i=l(i,o,r,n,e[7],1735328473,14),r=f(r,n=l(n,i,o,r,e[12],2368359562,20),i,o,e[5],4294588738,4),o=f(o,r,n,i,e[8],2272392833,11),i=f(i,o,r,n,e[11],1839030562,16),n=f(n,i,o,r,e[14],4259657740,23),r=f(r,n,i,o,e[1],2763975236,4),o=f(o,r,n,i,e[4],1272893353,11),i=f(i,o,r,n,e[7],4139469664,16),n=f(n,i,o,r,e[10],3200236656,23),r=f(r,n,i,o,e[13],681279174,4),o=f(o,r,n,i,e[0],3936430074,11),i=f(i,o,r,n,e[3],3572445317,16),n=f(n,i,o,r,e[6],76029189,23),r=f(r,n,i,o,e[9],3654602809,4),o=f(o,r,n,i,e[12],3873151461,11),i=f(i,o,r,n,e[15],530742520,16),r=h(r,n=f(n,i,o,r,e[2],3299628645,23),i,o,e[0],4096336452,6),o=h(o,r,n,i,e[7],1126891415,10),i=h(i,o,r,n,e[14],2878612391,15),n=h(n,i,o,r,e[5],4237533241,21),r=h(r,n,i,o,e[12],1700485571,6),o=h(o,r,n,i,e[3],2399980690,10),i=h(i,o,r,n,e[10],4293915773,15),n=h(n,i,o,r,e[1],2240044497,21),r=h(r,n,i,o,e[8],1873313359,6),o=h(o,r,n,i,e[15],4264355552,10),i=h(i,o,r,n,e[6],2734768916,15),n=h(n,i,o,r,e[13],1309151649,21),r=h(r,n,i,o,e[4],4149444226,6),o=h(o,r,n,i,e[11],3174756917,10),i=h(i,o,r,n,e[2],718787259,15),n=h(n,i,o,r,e[9],3951481745,21),this._a=this._a+r|0,this._b=this._b+n|0,this._c=this._c+i|0,this._d=this._d+o|0},s.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var e=o.allocUnsafe(16);return e.writeInt32LE(this._a,0),e.writeInt32LE(this._b,4),e.writeInt32LE(this._c,8),e.writeInt32LE(this._d,12),e},e.exports=s},function(e,t,r){"use strict";var n=r(34).codes.ERR_STREAM_PREMATURE_CLOSE;function i(){}e.exports=function e(t,r,o){if("function"===typeof r)return e(t,null,r);r||(r={}),o=function(e){var t=!1;return function(){if(!t){t=!0;for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];e.apply(this,n)}}}(o||i);var a=r.readable||!1!==r.readable&&t.readable,s=r.writable||!1!==r.writable&&t.writable,u=function(){t.writable||l()},c=t._writableState&&t._writableState.finished,l=function(){s=!1,c=!0,a||o.call(t)},f=t._readableState&&t._readableState.endEmitted,h=function(){a=!1,f=!0,s||o.call(t)},d=function(e){o.call(t,e)},p=function(){var e;return a&&!f?(t._readableState&&t._readableState.ended||(e=new n),o.call(t,e)):s&&!c?(t._writableState&&t._writableState.ended||(e=new n),o.call(t,e)):void 0},y=function(){t.req.on("finish",l)};return!function(e){return e.setHeader&&"function"===typeof e.abort}(t)?s&&!t._writableState&&(t.on("end",u),t.on("close",u)):(t.on("complete",l),t.on("abort",p),t.req?y():t.on("request",y)),t.on("end",h),t.on("finish",l),!1!==r.error&&t.on("error",d),t.on("close",p),function(){t.removeListener("complete",l),t.removeListener("abort",p),t.removeListener("request",y),t.req&&t.req.removeListener("finish",l),t.removeListener("end",u),t.removeListener("close",u),t.removeListener("finish",l),t.removeListener("end",h),t.removeListener("error",d),t.removeListener("close",p)}}},function(e,t,r){"use strict";var n=r(10).Buffer,i=r(3),o=r(129),a=new Array(16),s=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],u=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],c=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],l=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11],f=[0,1518500249,1859775393,2400959708,2840853838],h=[1352829926,1548603684,1836072691,2053994217,0];function d(){o.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}function p(e,t){return e<<t|e>>>32-t}function y(e,t,r,n,i,o,a,s){return p(e+(t^r^n)+o+a|0,s)+i|0}function m(e,t,r,n,i,o,a,s){return p(e+(t&r|~t&n)+o+a|0,s)+i|0}function b(e,t,r,n,i,o,a,s){return p(e+((t|~r)^n)+o+a|0,s)+i|0}function v(e,t,r,n,i,o,a,s){return p(e+(t&n|r&~n)+o+a|0,s)+i|0}
vendor: 12,299 bytes, line 2
2function g(e,t,r,n,i,o,a,s){return p(e+(t^(r|~n))+o+a|0,s)+i|0}i(d,o),d.prototype._update=function(){for(var e=a,t=0;t<16;++t)e[t]=this._block.readInt32LE(4*t);for(var r=0|this._a,n=0|this._b,i=0|this._c,o=0|this._d,d=0|this._e,_=0|this._a,w=0|this._b,S=0|this._c,M=0|this._d,x=0|this._e,E=0;E<80;E+=1){var k,O;E<16?(k=y(r,n,i,o,d,e[s[E]],f[0],c[E]),O=g(_,w,S,M,x,e[u[E]],h[0],l[E])):E<32?(k=m(r,n,i,o,d,e[s[E]],f[1],c[E]),O=v(_,w,S,M,x,e[u[E]],h[1],l[E])):E<48?(k=b(r,n,i,o,d,e[s[E]],f[2],c[E]),O=b(_,w,S,M,x,e[u[E]],h[2],l[E])):E<64?(k=v(r,n,i,o,d,e[s[E]],f[3],c[E]),O=m(_,w,S,M,x,e[u[E]],h[3],l[E])):(k=g(r,n,i,o,d,e[s[E]],f[4],c[E]),O=y(_,w,S,M,x,e[u[E]],h[4],l[E])),r=d,d=o,o=p(i,10),i=n,n=k,_=x,x=M,M=p(S,10),S=w,w=O}var T=this._b+i+M|0;this._b=this._c+o+x|0,this._c=this._d+d+_|0,this._d=this._e+r+w|0,this._e=this._a+n+S|0,this._a=T},d.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var e=n.alloc?n.alloc(20):new n(20);return e.writeInt32LE(this._a,0),e.writeInt32LE(this._b,4),e.writeInt32LE(this._c,8),e.writeInt32LE(this._d,12),e.writeInt32LE(this._e,16),e},e.exports=d},function(e,t,r){(t=e.exports=function(e){e=e.toLowerCase();var r=t[e];if(!r)throw new Error(e+" is not supported (we accept pull requests)");return new r}).sha=r(273),t.sha1=r(274),t.sha224=r(275),t.sha256=r(136),t.sha384=r(276),t.sha512=r(137)},function(e,t,r){"use strict";var n=r(15);function i(e){this.options=e,this.type=this.options.type,this.blockSize=8,this._init(),this.buffer=new Array(this.blockSize),this.bufferOff=0}e.exports=i,i.prototype._init=function(){},i.prototype.update=function(e){return 0===e.length?[]:"decrypt"===this.type?this._updateDecrypt(e):this._updateEncrypt(e)},i.prototype._buffer=function(e,t){for(var r=Math.min(this.buffer.length-this.bufferOff,e.length-t),n=0;n<r;n++)this.buffer[this.bufferOff+n]=e[t+n];return this.bufferOff+=r,r},i.prototype._flushBuffer=function(e,t){return this._update(this.buffer,0,e,t),this.bufferOff=0,this.blockSize},i.prototype._updateEncrypt=function(e){var t=0,r=0,n=(this.bufferOff+e.length)/this.blockSize|0,i=new Array(n*this.blockSize);0!==this.bufferOff&&(t+=this._buffer(e,t),this.bufferOff===this.buffer.length&&(r+=this._flushBuffer(i,r)));for(var o=e.length-(e.length-t)%this.blockSize;t<o;t+=this.blockSize)this._update(e,t,i,r),r+=this.blockSize;for(;t<e.length;t++,this.bufferOff++)this.buffer[this.bufferOff]=e[t];return i},i.prototype._updateDecrypt=function(e){for(var t=0,r=0,n=Math.ceil((this.bufferOff+e.length)/this.blockSize)-1,i=new Array(n*this.blockSize);n>0;n--)t+=this._buffer(e,t),r+=this._flushBuffer(i,r);return t+=this._buffer(e,t),i},i.prototype.final=function(e){var t,r;return e&&(t=this.update(e)),r="encrypt"===this.type?this._finalEncrypt():this._finalDecrypt(),t?t.concat(r):r},i.prototype._pad=function(e,t){if(0===t)return!1;for(;t<e.length;)e[t++]=0;return!0},i.prototype._finalEncrypt=function(){if(!this._pad(this.buffer,this.bufferOff))return[];var e=new Array(this.blockSize);return this._update(this.buffer,0,e,0),e},i.prototype._unpad=function(e){return e},i.prototype._finalDecrypt=function(){n.equal(this.bufferOff,this.blockSize,"Not enough data to decrypt");var e=new Array(this.blockSize);return this._flushBuffer(e,0),this._unpad(e)}},function(e,t,r){var n=r(285),i=r(293),o=r(150);t.createCipher=t.Cipher=n.createCipher,t.createCipheriv=t.Cipheriv=n.createCipheriv,t.createDecipher=t.Decipher=i.createDecipher,t.createDecipheriv=t.Decipheriv=i.createDecipheriv,t.listCiphers=t.getCiphers=function(){return Object.keys(o)}},function(e,t,r){var n={ECB:r(286),CBC:r(287),CFB:r(288),CFB8:r(289),CFB1:r(290),OFB:r(291),CTR:r(148),GCM:r(148)},i=r(150);for(var o in i)i[o].module=n[i[o].mode];e.exports=i},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,r){var n;function i(e){this.rand=e}if(e.exports=function(e){return n||(n=new i(null)),n.generate(e)},e.exports.Rand=i,i.prototype.generate=function(e){return this._rand(e)},i.prototype._rand=function(e){if(this.rand.getBytes)return this.rand.getBytes(e);for(var t=new Uint8Array(e),r=0;r<t.length;r++)t[r]=this.rand.getByte();return t},"object"===typeof self)self.crypto&&self.crypto.getRandomValues?i.prototype._rand=function(e){var t=new Uint8Array(e);return self.crypto.getRandomValues(t),t}:self.msCrypto&&self.msCrypto.getRandomValues?i.prototype._rand=function(e){var t=new Uint8Array(e);return self.msCrypto.getRandomValues(t),t}:"object"===typeof window&&(i.prototype._rand=function(){throw new Error("Not implemented yet")});else try{var o=r(297);if("function"!==typeof o.randomBytes)throw new Error("Not supported");i.prototype._rand=function(e){return o.randomBytes(e)}}catch(a){}},function(e,t,r){"use strict";var n=r(37).codes.ERR_STREAM_PREMATURE_CLOSE;function i(){}e.exports=function e(t,r,o){if("function"===typeof r)return e(t,null,r);r||(r={}),o=function(e){var t=!1;return function(){if(!t){t=!0;for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];e.apply(this,n)}}}(o||i);var a=r.readable||!1!==r.readable&&t.readable,s=r.writable||!1!==r.writable&&t.writable,u=function(){t.writable||l()},c=t._writableState&&t._writableState.finished,l=function(){s=!1,c=!0,a||o.call(t)},f=t._readableState&&t._readableState.endEmitted,h=function(){a=!1,f=!0,s||o.call(t)},d=function(e){o.call(t,e)},p=function(){var e;return a&&!f?(t._readableState&&t._readableState.ended||(e=new n),o.call(t,e)):s&&!c?(t._writableState&&t._writableState.ended||(e=new n),o.call(t,e)):void 0},y=function(){t.req.on("finish",l)};return!function(e){return e.setHeader&&"function"===typeof e.abort}(t)?s&&!t._writableState&&(t.on("end",u),t.on("close",u)):(t.on("complete",l),t.on("abort",p),t.req?y():t.on("request",y)),t.on("end",h),t.on("finish",l),!1!==r.error&&t.on("error",d),t.on("close",p),function(){t.removeListener("complete",l),t.removeListener("abort",p),t.removeListener("request",y),t.req&&t.req.removeListener("finish",l),t.removeListener("end",u),t.removeListener("close",u),t.removeListener("finish",l),t.removeListener("end",h),t.removeListener("error",d),t.removeListener("close",p)}}},function(e,t,r){(function(t){var n=r(310),i=r(33);function o(e){var t,r=e.modulus.byteLength();do{t=new n(i(r))}while(t.cmp(e.modulus)>=0||!t.umod(e.prime1)||!t.umod(e.prime2));return t}function a(e,r){var i=function(e){var t=o(e);return{blinder:t.toRed(n.mont(e.modulus)).redPow(new n(e.publicExponent)).fromRed(),unblinder:t.invm(e.modulus)}}(r),a=r.modulus.byteLength(),s=new n(e).mul(i.blinder).umod(r.modulus),u=s.toRed(n.mont(r.prime1)),c=s.toRed(n.mont(r.prime2)),l=r.coefficient,f=r.prime1,h=r.prime2,d=u.redPow(r.exponent1).fromRed(),p=c.redPow(r.exponent2).fromRed(),y=d.isub(p).imul(l).umod(f).imul(h);return p.iadd(y).imul(i.unblinder).umod(r.modulus).toArrayLike(t,"be",a)}a.getr=o,e.exports=a}).call(this,r(10).Buffer)},function(e,t,r){"use strict";var n=t;n.version=r(312).version,n.utils=r(16),n.rand=r(85),n.curve=r(162),n.curves=r(89),n.ec=r(323),n.eddsa=r(327)},function(e,t,r){"use strict";var n,i=t,o=r(90),a=r(162),s=r(16).assert;function u(e){"short"===e.type?this.curve=new a.short(e):"edwards"===e.type?this.curve=new a.edwards(e):this.curve=new a.mont(e),this.g=this.curve.g,this.n=this.curve.n,this.hash=e.hash,s(this.g.validate(),"Invalid curve"),s(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function c(e,t){Object.defineProperty(i,e,{configurable:!0,enumerable:!0,get:function(){var r=new u(t);return Object.defineProperty(i,e,{configurable:!0,enumerable:!0,value:r}),r}})}i.PresetCurve=u,c("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:o.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),c("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:o.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),c("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:o.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),c("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:o.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),c("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:o.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),c("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:o.sha256,gRed:!1,g:["9"]}),c("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:o.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{n=r(322)}catch(l){n=void 0}c("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:o.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"}
2,{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",n]})},function(e,t,r){var n=t;n.utils=r(18),n.common=r(44),n.sha=r(316),n.ripemd=r(320),n.hmac=r(321),n.sha1=n.sha.sha1,n.sha256=n.sha.sha256,n.sha224=n.sha.sha224,n.sha384=n.sha.sha384,n.sha512=n.sha.sha512,n.ripemd160=n.ripemd.ripemd160},function(e,t,r){"use strict";(function(t){var n,i=r(10),o=i.Buffer,a={};for(n in i)i.hasOwnProperty(n)&&"SlowBuffer"!==n&&"Buffer"!==n&&(a[n]=i[n]);var s=a.Buffer={};for(n in o)o.hasOwnProperty(n)&&"allocUnsafe"!==n&&"allocUnsafeSlow"!==n&&(s[n]=o[n]);if(a.Buffer.prototype=o.prototype,s.from&&s.from!==Uint8Array.from||(s.from=function(e,t,r){if("number"===typeof e)throw new TypeError('The "value" argument must not be of type number. Received type '+typeof e);if(e&&"undefined"===typeof e.length)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);return o(e,t,r)}),s.alloc||(s.alloc=function(e,t,r){if("number"!==typeof e)throw new TypeError('The "size" argument must be of type number. Received type '+typeof e);if(e<0||e>=2*(1<<30))throw new RangeError('The value "'+e+'" is invalid for option "size"');var n=o(e);return t&&0!==t.length?"string"===typeof r?n.fill(t,r):n.fill(t):n.fill(0),n}),!a.kStringMaxLength)try{a.kStringMaxLength=t.binding("buffer").kStringMaxLength}catch(u){}a.constants||(a.constants={MAX_LENGTH:a.kMaxLength},a.kStringMaxLength&&(a.constants.MAX_STRING_LENGTH=a.kStringMaxLength)),e.exports=a}).call(this,r(8))},function(e,t,r){"use strict";var n=r(93).Reporter,i=r(45).EncoderBuffer,o=r(45).DecoderBuffer,a=r(15),s=["seq","seqof","set","setof","objid","bool","gentime","utctime","null_","enum","int","objDesc","bitstr","bmpstr","charstr","genstr","graphstr","ia5str","iso646str","numstr","octstr","printstr","t61str","unistr","utf8str","videostr"],u=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(s);function c(e,t,r){var n={};this._baseState=n,n.name=r,n.enc=e,n.parent=t||null,n.children=null,n.tag=null,n.args=null,n.reverseArgs=null,n.choice=null,n.optional=!1,n.any=!1,n.obj=!1,n.use=null,n.useDecoder=null,n.key=null,n.default=null,n.explicit=null,n.implicit=null,n.contains=null,n.parent||(n.children=[],this._wrap())}e.exports=c;var l=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];c.prototype.clone=function(){var e=this._baseState,t={};l.forEach((function(r){t[r]=e[r]}));var r=new this.constructor(t.parent);return r._baseState=t,r},c.prototype._wrap=function(){var e=this._baseState;u.forEach((function(t){this[t]=function(){var r=new this.constructor(this);return e.children.push(r),r[t].apply(r,arguments)}}),this)},c.prototype._init=function(e){var t=this._baseState;a(null===t.parent),e.call(this),t.children=t.children.filter((function(e){return e._baseState.parent===this}),this),a.equal(t.children.length,1,"Root node can have only one child")},c.prototype._useArgs=function(e){var t=this._baseState,r=e.filter((function(e){return e instanceof this.constructor}),this);e=e.filter((function(e){return!(e instanceof this.constructor)}),this),0!==r.length&&(a(null===t.children),t.children=r,r.forEach((function(e){e._baseState.parent=this}),this)),0!==e.length&&(a(null===t.args),t.args=e,t.reverseArgs=e.map((function(e){if("object"!==typeof e||e.constructor!==Object)return e;var t={};return Object.keys(e).forEach((function(r){r==(0|r)&&(r|=0);var n=e[r];t[n]=r})),t})))},["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"].forEach((function(e){c.prototype[e]=function(){var t=this._baseState;throw new Error(e+" not implemented for encoding: "+t.enc)}}
vendor: 5,050 bytes, line 2
2)),s.forEach((function(e){c.prototype[e]=function(){var t=this._baseState,r=Array.prototype.slice.call(arguments);return a(null===t.tag),t.tag=e,this._useArgs(r),this}})),c.prototype.use=function(e){a(e);var t=this._baseState;return a(null===t.use),t.use=e,this},c.prototype.optional=function(){return this._baseState.optional=!0,this},c.prototype.def=function(e){var t=this._baseState;return a(null===t.default),t.default=e,t.optional=!0,this},c.prototype.explicit=function(e){var t=this._baseState;return a(null===t.explicit&&null===t.implicit),t.explicit=e,this},c.prototype.implicit=function(e){var t=this._baseState;return a(null===t.explicit&&null===t.implicit),t.implicit=e,this},c.prototype.obj=function(){var e=this._baseState,t=Array.prototype.slice.call(arguments);return e.obj=!0,0!==t.length&&this._useArgs(t),this},c.prototype.key=function(e){var t=this._baseState;return a(null===t.key),t.key=e,this},c.prototype.any=function(){return this._baseState.any=!0,this},c.prototype.choice=function(e){var t=this._baseState;return a(null===t.choice),t.choice=e,this._useArgs(Object.keys(e).map((function(t){return e[t]}))),this},c.prototype.contains=function(e){var t=this._baseState;return a(null===t.use),t.contains=e,this},c.prototype._decode=function(e,t){var r=this._baseState;if(null===r.parent)return e.wrapResult(r.children[0]._decode(e,t));var n,i=r.default,a=!0,s=null;if(null!==r.key&&(s=e.enterKey(r.key)),r.optional){var u=null;if(null!==r.explicit?u=r.explicit:null!==r.implicit?u=r.implicit:null!==r.tag&&(u=r.tag),null!==u||r.any){if(a=this._peekTag(e,u,r.any),e.isError(a))return a}else{var c=e.save();try{null===r.choice?this._decodeGeneric(r.tag,e,t):this._decodeChoice(e,t),a=!0}catch(y){a=!1}e.restore(c)}}if(r.obj&&a&&(n=e.enterObject()),a){if(null!==r.explicit){var l=this._decodeTag(e,r.explicit);if(e.isError(l))return l;e=l}var f=e.offset;if(null===r.use&&null===r.choice){var h;r.any&&(h=e.save());var d=this._decodeTag(e,null!==r.implicit?r.implicit:r.tag,r.any);if(e.isError(d))return d;r.any?i=e.raw(h):e=d}if(t&&t.track&&null!==r.tag&&t.track(e.path(),f,e.length,"tagged"),t&&t.track&&null!==r.tag&&t.track(e.path(),e.offset,e.length,"content"),r.any||(i=null===r.choice?this._decodeGeneric(r.tag,e,t):this._decodeChoice(e,t)),e.isError(i))return i;if(r.any||null!==r.choice||null===r.children||r.children.forEach((function(r){r._decode(e,t)})),r.contains&&("octstr"===r.tag||"bitstr"===r.tag)){var p=new o(i);i=this._getUse(r.contains,e._reporterState.obj)._decode(p,t)}}return r.obj&&a&&(i=e.leaveObject(n)),null===r.key||null===i&&!0!==a?null!==s&&e.exitKey(s):e.leaveKey(s,r.key,i),i},c.prototype._decodeGeneric=function(e,t,r){var n=this._baseState;return"seq"===e||"set"===e?null:"seqof"===e||"setof"===e?this._decodeList(t,e,n.args[0],r):/str$/.test(e)?this._decodeStr(t,e,r):"objid"===e&&n.args?this._decodeObjid(t,n.args[0],n.args[1],r):"objid"===e?this._decodeObjid(t,null,null,r):"gentime"===e||"utctime"===e?this._decodeTime(t,e,r):"null_"===e?this._decodeNull(t,r):"bool"===e?this._decodeBool(t,r):"objDesc"===e?this._decodeStr(t,e,r):"int"===e||"enum"===e?this._decodeInt(t,n.args&&n.args[0],r):null!==n.use?this._getUse(n.use,t._reporterState.obj)._decode(t,r):t.error("unknown tag: "+e)},c.prototype._getUse=function(e,t){var r=this._baseState;return r.useDecoder=this._use(e,t),a(null===r.useDecoder._baseState.parent),r.useDecoder=r.useDecoder._baseState.children[0],r.implicit!==r.useDecoder._baseState.implicit&&(r.useDecoder=r.useDecoder.clone(),r.useDecoder._baseState.implicit=r.implicit),r.useDecoder},c.prototype._decodeChoice=function(e,t){var r=this._baseState,n=null,i=!1;return Object.keys(r.choice).some((function(o){var a=e.save(),s=r.choice[o];try{var u=s._decode(e,t);if(e.isError(u))return!1;n={type:o,value:u},i=!0}catch(c){return e.restore(a),!1}return!0}),this),i?n:e.error("Choice not matched")},c.prototype._createEncoderBuffer=function(e){return new i(e,this.reporter)},c.prototype._encode=function(e,t,r){var n=this._baseState;if(null===n.default||n.default!==e){var i=this._encodeValue(e,t,r);if(void 0!==i&&!this._skipDefault(i,t,r))return i}},c.prototype._encodeValue=function(e,t,r){var i=this._baseState;if(null===i.parent)return i.children[0]._encode(e,t||new n);var o=null;if(this.reporter=t,i.optional&&void 0===e){if(null===i.default)return;e=i.default}var a=null,s=!1;if(i.any)o=this._createEncoderBuffer(e);else if(i.choice)o=this._encodeChoice(e,t);else if(i.contains)a=this._getUse(i.contains,r)._encode(e,t),s=!0;else if(i.children)a=i.children.map((function(r){if("null_"===r._baseState.tag)return r._encode(null,t,e);if(null===r._baseState.key)return t.error("Child should have a key");var n=t.enterKey(r._baseState.key);if("object"!==typeof e)return t.error("Child expected, but input is not object");var i=r._encode(e[r._baseState.key],t,e);return t.leaveKey(n),i}),this).filter((function(e){return e})),a=this._createEncoderBuffer(a);else if("seqof"===i.tag||"setof"===i.tag){if(!i.args||1!==i.args.length)return t.error("Too many args for : "+i.tag);
2if(!Array.isArray(e))return t.error("seqof/setof, but data is not Array");var u=this.clone();u._baseState.implicit=null,a=this._createEncoderBuffer(e.map((function(r){var n=this._baseState;return this._getUse(n.args[0],e)._encode(r,t)}),u))}else null!==i.use?o=this._getUse(i.use,r)._encode(e,t):(a=this._encodePrimitive(i.tag,e),s=!0);if(!i.any&&null===i.choice){var c=null!==i.implicit?i.implicit:i.tag,l=null===i.implicit?"universal":"context";null===c?null===i.use&&t.error("Tag could be omitted only for .use()"):null===i.use&&(o=this._encodeComposite(c,s,l,a))}return null!==i.explicit&&(o=this._encodeComposite(i.explicit,!1,"context",o)),o},c.prototype._encodeChoice=function(e,t){var r=this._baseState,n=r.choice[e.type];return n||a(!1,e.type+" not found in "+JSON.stringify(Object.keys(r.choice))),n._encode(e.value,t)},c.prototype._encodePrimitive=function(e,t){var r=this._baseState;if(/str$/.test(e))return this._encodeStr(t,e);if("objid"===e&&r.args)return this._encodeObjid(t,r.reverseArgs[0],r.args[1]);if("objid"===e)return this._encodeObjid(t,null,null);if("gentime"===e||"utctime"===e)return this._encodeTime(t,e);if("null_"===e)return this._encodeNull();if("int"===e||"enum"===e)return this._encodeInt(t,r.args&&r.reverseArgs[0]);if("bool"===e)return this._encodeBool(t);if("objDesc"===e)return this._encodeStr(t,e);throw new Error("Unsupported tag: "+e)},c.prototype._isNumstr=function(e){return/^[0-9 ]*$/.test(e)},c.prototype._isPrintstr=function(e){return/^[A-Za-z0-9 '()+,-./:=?]*$/.test(e)}},function(e,t,r){"use strict";var n=r(3);function i(e){this._reporterState={obj:null,path:[],options:e||{},errors:[]}}function o(e,t){this.path=e,this.rethrow(t)}t.Reporter=i,i.prototype.isError=function(e){return e instanceof o},i.prototype.save=function(){var e=this._reporterState;return{obj:e.obj,pathLen:e.path.length}},i.prototype.restore=function(e){var t=this._reporterState;t.obj=e.obj,t.path=t.path.slice(0,e.pathLen)},i.prototype.enterKey=function(e){return this._reporterState.path.push(e)},i.prototype.exitKey=function(e){var t=this._reporterState;t.path=t.path.slice(0,e-1)},i.prototype.leaveKey=function(e,t,r){var n=this._reporterState;this.exitKey(e),null!==n.obj&&(n.obj[t]=r)},i.prototype.path=function(){return this._reporterState.path.join("/")},i.prototype.enterObject=function(){var e=this._reporterState,t=e.obj;return e.obj={},t},i.prototype.leaveObject=function(e){var t=this._reporterState,r=t.obj;return t.obj=e,r},i.prototype.error=function(e){var t,r=this._reporterState,n=e instanceof o;if(t=n?e:new o(r.path.map((function(e){return"["+JSON.stringify(e)+"]"})).join(""),e.message||e,e.stack),!r.options.partial)throw t;return n||r.errors.push(t),t},i.prototype.wrapResult=function(e){var t=this._reporterState;return t.options.partial?{result:this.isError(e)?null:e,errors:t.errors}:e},n(o,Error),o.prototype.rethrow=function(e){if(this.message=e+" at: "+(this.path||"(shallow)"),Error.captureStackTrace&&Error.captureStackTrace(this,o),!this.stack)try{throw new Error(this.message)}catch(t){this.stack=t.stack}return this}},function(e,t,r){"use strict";function n(e){var t={};return Object.keys(e).forEach((function(r){(0|r)==r&&(r|=0);var n=e[r];t[n]=r})),t}t.tagClass={0:"universal",1:"application",2:"context",3:"private"},t.tagClassByName=n(t.tagClass),t.tag={0:"end",1:"bool",2:"int",3:"bitstr",4:"octstr",5:"null_",6:"objid",7:"objDesc",8:"external",9:"real",10:"enum",11:"embed",12:"utf8str",13:"relativeOid",16:"seq",17:"set",18:"numstr",19:"printstr",20:"t61str",21:"videostr",22:"ia5str",23:"utctime",24:"gentime",25:"graphstr",26:"iso646str",27:"genstr",28:"unistr",29:"charstr",30:"bmpstr"},t.tagByName=n(t.tag)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DiagLogLevel=void 0,function(e){e[e.NONE=0]="NONE",e[e.ERROR=30]="ERROR",e[e.WARN=50]="WARN",e[e.INFO=60]="INFO",e[e.DEBUG=70]="DEBUG",e[e.VERBOSE=80]="VERBOSE",e[e.ALL=9999]="ALL"}(t.DiagLogLevel||(t.DiagLogLevel={}))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NOOP_TRACER=t.NoopTracer=void 0;var n=r(97),i=r(183),o=r(61),a=function(){function e(){}return e.prototype.startSpan=function(e,t,r){if(Boolean(null===t||void 0===t?void 0:t.root))return new i.NoopSpan;var a,s=r&&n.getSpanContext(r);return"object"===typeof(a=s)&&"string"===typeof a.spanId&&"string"===typeof a.traceId&&"number"===typeof a.traceFlags&&o.isSpanContextValid(s)?new i.NoopSpan(s):new i.NoopSpan},e}();t.NoopTracer=a,t.NOOP_TRACER=new a},function(e,t,r){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0}),t.ROOT_CONTEXT=t.createContextKey=t.setBaggage=t.getBaggage=t.isInstrumentationSuppressed=t.unsuppressInstrumentation=t.suppressInstrumentation=t.getSpanContext=t.setSpanContext=t.setSpan=t.getSpan=void 0;var n=r(183),i=c("OpenTelemetry Context Key SPAN"),o=c("OpenTelemetry Context Key SUPPRESS_INSTRUMENTATION"),a=c("OpenTelemetry Baggage Key");function s(e){return e.getValue(i)||void 0}function u(e,t){return e.setValue(i,t)}function c(e){return Symbol.for(e)}t.getSpan=s,t.setSpan=u,t.setSpanContext=function(e,t){return u(e,new n.NoopSpan(t))},t.getSpanContext=function(e){var t;return null===(t=s(e))||void 0===t?void 0:t.context()},t.suppressInstrumentation=function(e){return e.setValue(o,!0)},t.unsuppressInstrumentation=function(e){return e.setValue(o,!1)},t.isInstrumentationSuppressed=function(e){return Boolean(e.getValue(o))},t.getBaggage=function(e){return e.getValue(a)||void 0},t.setBaggage=function(e,t){return e.setValue(a,t)},t.createContextKey=c;var l=function e(t){var r=this;r._currentContext=t?new Map(t):new Map,r.getValue=function(e){return r._currentContext.get(e)},r.setValue=function(t,n){var i=new e(r._currentContext);return i._currentContext.set(t,n),i},r.deleteValue=function(t){var n=new e(r._currentContext);return n._currentContext.delete(t),n}};t.ROOT_CONTEXT=new l},function(e,t,r){var n;!function(){"use strict";var r={}.hasOwnProperty;function i(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var o=typeof n;if("string"===o||"number"===o)e.push(n);else if(Array.isArray(n)){if(n.length){var a=i.apply(null,n);a&&e.push(a)}}else if("object"===o)if(n.toString===Object.prototype.toString)for(var s in n)r.call(n,s)&&n[s]&&e.push(s);else e.push(n.toString())}}return e.join(" ")}e.exports?(i.default=i,e.exports=i):void 0===(n=function(){return i}.apply(t,[]))||(e.exports=n)}()},function(e,t,r){(function(e){(function(){"use strict";var t;function r(e){var t=0;return function(){return t<e.length?{done:!1,value:e[t++]}:{done:!0}}}var n="function"==typeof Object.defineProperties?Object.defineProperty:function(e,t,r){return e==Array.prototype||e==Object.prototype||(e[t]=r.value),e};var i,o=function(t){t=["object"==typeof globalThis&&globalThis,t,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof e&&e];for(var r=0;r<t.length;++r){var n=t[r];if(n&&n.Math==Math)return n}throw Error("Cannot find global object")}(this);function a(e,t){if(t)e:{var r=o;e=e.split(".");for(var i=0;i<e.length-1;i++){var a=e[i];if(!(a in r))break e;r=r[a]}(t=t(i=r[e=e[e.length-1]]))!=i&&null!=t&&n(r,e,{configurable:!0,writable:!0,value:t})}}function s(e){return(e={next:e})[Symbol.iterator]=function(){return this},e}function u(e){var t="undefined"!=typeof Symbol&&Symbol.iterator&&e[Symbol.iterator];return t?t.call(e):{next:r(e)}}function c(e){if(!(e instanceof Array)){e=u(e);for(var t,r=[];!(t=e.next()).done;)r.push(t.value);e=r}return e}if(a("Symbol",(function(e){function t(e,t){this.g=e,n(this,"description",{configurable:!0,writable:!0,value:t})}if(e)return e;t.prototype.toString=function(){return this.g};var r="jscomp_symbol_"+(1e9*Math.random()>>>0)+"_",i=0;return function e(n){if(this instanceof e)throw new TypeError("Symbol is not a constructor");return new t(r+(n||"")+"_"+i++,n)}})),a("Symbol.iterator",(function(e){if(e)return e;e=Symbol("Symbol.iterator");for(var t="Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array".split(" "),i=0;i<t.length;i++){var a=o[t[i]];"function"===typeof a&&"function"!=typeof a.prototype[e]&&n(a.prototype,e,{configurable:!0,writable:!0,value:function(){return s(r(this))}})}return e})),"function"==typeof Object.setPrototypeOf)i=Object.setPrototypeOf;else{var l;e:{var f={};try{f.__proto__={a:!0},l=f.a;break e}catch(H){}l=!1}i=l?function(e,t){if(e.__proto__=t,e.__proto__!==t)throw new TypeError(e+" is not extensible");return e}:null}var h=i;function d(){this.l=!1,this.i=null,this.h=void 0,this.g=1,this.s=this.m=0,this.j=null}function p(e){if(e.l)throw new TypeError("Generator is already running");e.l=!0}function y(e,t){e.j={S:t,T:!0},e.g=e.m||e.s}function m(e,t,r){return e.g=r,{value:t}}function b(e){this.g=new d,this.h=e}function v(e,t,r,n){try{var i=t.call(e.g.i,r);if(!(i instanceof Object))throw new TypeError("Iterator result "+i+" is not an object");
vendor: 6,733 bytes, line 2
2if(!i.done)return e.g.l=!1,i;var o=i.value}catch(a){return e.g.i=null,y(e.g,a),g(e)}return e.g.i=null,n.call(e.g,o),g(e)}function g(e){for(;e.g.g;)try{var t=e.h(e.g);if(t)return e.g.l=!1,{value:t.value,done:!1}}catch(r){e.g.h=void 0,y(e.g,r)}if(e.g.l=!1,e.g.j){if(t=e.g.j,e.g.j=null,t.T)throw t.S;return{value:t.return,done:!0}}return{value:void 0,done:!0}}function _(e){this.next=function(t){return p(e.g),e.g.i?t=v(e,e.g.i.next,t,e.g.o):(e.g.o(t),t=g(e)),t},this.throw=function(t){return p(e.g),e.g.i?t=v(e,e.g.i.throw,t,e.g.o):(y(e.g,t),t=g(e)),t},this.return=function(t){return function(e,t){p(e.g);var r=e.g.i;return r?v(e,"return"in r?r.return:function(e){return{value:e,done:!0}},t,e.g.return):(e.g.return(t),g(e))}(e,t)},this[Symbol.iterator]=function(){return this}}function w(e,t){return t=new _(new b(t)),h&&e.prototype&&h(t,e.prototype),t}d.prototype.o=function(e){this.h=e},d.prototype.return=function(e){this.j={return:e},this.g=this.s};var S="function"==typeof Object.assign?Object.assign:function(e,t){for(var r=1;r<arguments.length;r++){var n=arguments[r];if(n)for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e};a("Object.assign",(function(e){return e||S})),a("Promise",(function(e){function t(e){this.h=0,this.i=void 0,this.g=[],this.o=!1;var t=this.j();try{e(t.resolve,t.reject)}catch(r){t.reject(r)}}function r(){this.g=null}function n(e){return e instanceof t?e:new t((function(t){t(e)}))}if(e)return e;r.prototype.h=function(e){if(null==this.g){this.g=[];var t=this;this.i((function(){t.l()}))}this.g.push(e)};var i=o.setTimeout;r.prototype.i=function(e){i(e,0)},r.prototype.l=function(){for(;this.g&&this.g.length;){var e=this.g;this.g=[];for(var t=0;t<e.length;++t){var r=e[t];e[t]=null;try{r()}catch(n){this.j(n)}}}this.g=null},r.prototype.j=function(e){this.i((function(){throw e}))},t.prototype.j=function(){function e(e){return function(n){r||(r=!0,e.call(t,n))}}var t=this,r=!1;return{resolve:e(this.B),reject:e(this.l)}},t.prototype.B=function(e){if(e===this)this.l(new TypeError("A Promise cannot resolve to itself"));else if(e instanceof t)this.D(e);else{e:switch(typeof e){case"object":var r=null!=e;break e;case"function":r=!0;break e;default:r=!1}r?this.A(e):this.m(e)}},t.prototype.A=function(e){var t=void 0;try{t=e.then}catch(r){return void this.l(r)}"function"==typeof t?this.F(t,e):this.m(e)},t.prototype.l=function(e){this.s(2,e)},t.prototype.m=function(e){this.s(1,e)},t.prototype.s=function(e,t){if(0!=this.h)throw Error("Cannot settle("+e+", "+t+"): Promise already settled in state"+this.h);this.h=e,this.i=t,2===this.h&&this.C(),this.u()},t.prototype.C=function(){var e=this;i((function(){if(e.v()){var t=o.console;"undefined"!==typeof t&&t.error(e.i)}}),1)},t.prototype.v=function(){if(this.o)return!1;var e=o.CustomEvent,t=o.Event,r=o.dispatchEvent;return"undefined"===typeof r||("function"===typeof e?e=new e("unhandledrejection",{cancelable:!0}):"function"===typeof t?e=new t("unhandledrejection",{cancelable:!0}):(e=o.document.createEvent("CustomEvent")).initCustomEvent("unhandledrejection",!1,!0,e),e.promise=this,e.reason=this.i,r(e))},t.prototype.u=function(){if(null!=this.g){for(var e=0;e<this.g.length;++e)a.h(this.g[e]);this.g=null}};var a=new r;return t.prototype.D=function(e){var t=this.j();e.I(t.resolve,t.reject)},t.prototype.F=function(e,t){var r=this.j();try{e.call(t,r.resolve,r.reject)}catch(n){r.reject(n)}},t.prototype.then=function(e,r){function n(e,t){return"function"==typeof e?function(t){try{i(e(t))}catch(r){o(r)}}:t}var i,o,a=new t((function(e,t){i=e,o=t}));return this.I(n(e,i),n(r,o)),a},t.prototype.catch=function(e){return this.then(void 0,e)},t.prototype.I=function(e,t){function r(){switch(n.h){case 1:e(n.i);break;case 2:t(n.i);break;default:throw Error("Unexpected state: "+n.h)}}var n=this;null==this.g?a.h(r):this.g.push(r),this.o=!0},t.resolve=n,t.reject=function(e){return new t((function(t,r){r(e)}))},t.race=function(e){return new t((function(t,r){for(var i=u(e),o=i.next();!o.done;o=i.next())n(o.value).I(t,r)}))},t.all=function(e){var r=u(e),i=r.next();return i.done?n([]):new t((function(e,t){function o(t){return function(r){a[t]=r,0==--s&&e(a)}}var a=[],s=0;do{a.push(void 0),s++,n(i.value).I(o(a.length-1),t),i=r.next()}while(!i.done)}))},t})),a("Array.prototype.keys",(function(e){return e||function(){return function(e,t){e instanceof String&&(e+="");var r=0,n=!1,i={next:function(){if(!n&&r<e.length){var i=r++;return{value:t(i,e[i]),done:!1}}return n=!0,{done:!0,value:void 0}}};return i[Symbol.iterator]=function(){return i},i}(this,(function(e){return e}))}}));var M=this||self;function x(e,t){e=e.split(".");var r,n=M;e[0]in n||"undefined"==typeof n.execScript||n.execScript("var "+e[0]);for(;e.length&&(r=e.shift());)e.length||void 0===t?n=n[r]&&n[r]!==Object.prototype[r]?n[r]:n[r]={}:n[r]=t}function E(e,t){var r=void 0;return new(r||(r=Promise))((function(n,i){function o(e){try{s(t.next(e))}catch(r){i(r)}}function a(e){try{s(t.throw(e))}catch(r){i(r)}}function s(e){e.done?n(e.value):new r((function(t){t(e.value)})).then(o,a)}s((t=t.apply(e,void 0)).next())}))}function k(e,t,r){if(r=e.createShader(0===r?e.VERTEX_SHADER:e.FRAGMENT_SHADER),e.shaderSource(r,t),e.compileShader(r),!e.getShaderParameter(r,e.COMPILE_STATUS))throw Error("Could not compile WebGL shader.\n\n"+e.getShaderInfoLog(r));return r}function O(e,t,r){this.h=e,this.g=t,this.u=r,this.l=0}function T(e){return"function"===typeof e.g.canvas.transferToImageBitmap?Promise.resolve(e.g.canvas.transferToImageBitmap()):e.u?Promise.resolve(e.g.canvas):"function"===typeof createImageBitmap?createImageBitmap(e.g.canvas):(void 0===e.j&&(e.j=document.createElement("img")),new Promise((function(t){e.j.onload=function(){requestAnimationFrame((function(){t(e.j)}))},e.j.src=e.g.canvas.toDataURL()})))}function P(e,t){var r=e.g;if(void 0===e.m){var n=k(r,"\n attribute vec2 aVertex;\n attribute vec2 aTex;\n varying vec2 vTex;\n void main(void) {\n gl_Position = vec4(aVertex, 0.0, 1.0);\n vTex = aTex;\n }",0),i=k(r,"\n precision mediump float;\n varying vec2 vTex;\n uniform sampler2D sampler0;\n void main(){\n gl_FragColor = texture2D(sampler0, vTex);\n }",1),o=r.createProgram();if(r.attachShader(o,n),r.attachShader(o,i),r.linkProgram(o),!r.getProgramParameter(o,r.LINK_STATUS))throw Error("Could not compile WebGL program.\n\n"+r.getProgramInfoLog(o));n=e.m=o,r.useProgram(n),i=r.getUniformLocation(n,"sampler0"),e.i={H:r.getAttribLocation(n,"aVertex"),G:r.getAttribLocation(n,"aTex"),V:i},e.s=r.createBuffer(),r.bindBuffer(r.ARRAY_BUFFER,e.s),r.enableVertexAttribArray(e.i.H),r.vertexAttribPointer(e.i.H,2,r.FLOAT,!1,0,0),r.bufferData(r.ARRAY_BUFFER,new Float32Array([-1,-1,-1,1,1,1,1,-1]),r.STATIC_DRAW),r.b
2indBuffer(r.ARRAY_BUFFER,null),e.o=r.createBuffer(),r.bindBuffer(r.ARRAY_BUFFER,e.o),r.enableVertexAttribArray(e.i.G),r.vertexAttribPointer(e.i.G,2,r.FLOAT,!1,0,0),r.bufferData(r.ARRAY_BUFFER,new Float32Array([0,1,0,0,1,0,1,1]),r.STATIC_DRAW),r.bindBuffer(r.ARRAY_BUFFER,null),r.uniform1i(i,0)}n=e.i,r.useProgram(e.m),r.canvas.width=t.width,r.canvas.height=t.height,r.viewport(0,0,t.width,t.height),r.activeTexture(r.TEXTURE0),e.h.bindTexture2d(t.glName),r.enableVertexAttribArray(n.H),r.bindBuffer(r.ARRAY_BUFFER,e.s),r.vertexAttribPointer(n.H,2,r.FLOAT,!1,0,0),r.enableVertexAttribArray(n.G),r.bindBuffer(r.ARRAY_BUFFER,e.o),r.vertexAttribPointer(n.G,2,r.FLOAT,!1,0,0),r.bindFramebuffer(r.DRAW_FRAMEBUFFER?r.DRAW_FRAMEBUFFER:r.FRAMEBUFFER,null),r.clearColor(0,0,0,0),r.clear(r.COLOR_BUFFER_BIT),r.colorMask(!0,!0,!0,!0),r.drawArrays(r.TRIANGLE_FAN,0,4),r.disableVertexAttribArray(n.H),r.disableVertexAttribArray(n.G),r.bindBuffer(r.ARRAY_BUFFER,null),e.h.bindTexture2d(0)}function A(e){this.g=e}var R=new Uint8Array([0,97,115,109,1,0,0,0,1,4,1,96,0,0,3,2,1,0,10,9,1,7,0,65,0,253,15,26,11]);function j(e,t){return t+e}function C(e,t){window[e]=t}function N(e){for(var t=[],r=e.size(),n=0;n<r;++n){var i=e.get(n);t.push({x:i.x,y:i.y,z:i.z,visibility:i.hasVisibility?i.visibility:void 0}),i.delete()}return t}function I(e){for(var t=[],r=e.size(),n=0;n<r;++n){var i=e.get(n);t.push({index:i.index,score:i.score,label:i.hasLabel?i.label:void 0,displayName:i.hasDisplayName?i.displayName:void 0})}return t}function L(e){if(this.g=e,this.listeners={},this.l={},this.B={},this.m={},this.s={},this.v=this.o=this.O=!0,this.F=Promise.resolve(),this.N="",this.u={},this.locateFile=e&&e.locateFile||j,"object"===typeof window)e=window.location.pathname.toString().substring(0,window.location.pathname.toString().lastIndexOf("/"))+"/";else{if("undefined"===typeof location)throw Error("solutions can only be loaded on a web page or in a web worker");e=location.pathname.toString().substring(0,location.pathname.toString().lastIndexOf("/"))+"/"}this.P=e}function D(e){return E(e,(function e(){var t,r,n,i,o,a,s,u,l,f,h,d=this;return w(e,(function(e){switch(e.g){case 1:return t=d,d.O?(r=function(e,t){return void 0===e.g.files?[]:"function"===typeof e.g.files?e.g.files(t):e.g.files}(d,d.l),m(e,function(){return E(this,(function e(){return w(e,(function(e){switch(e.g){case 1:return e.m=2,m(e,WebAssembly.instantiate(R),4);case 4:e.g=3,e.m=0;break;case 2:return e.m=0,e.j=null,e.return(!1);case 3:return e.return(!0)}}))}))}(),2)):e.return();case 2:if(n=e.h,"object"===typeof window)return C("createMediapipeSolutionsWasm",{locateFile:d.locateFile}),C("createMediapipeSolutionsPackedAssets",{locateFile:d.locateFile}),a=r.filter((function(e){return void 0!==e.data})),s=r.filter((function(e){return void 0===e.data})),u=Promise.all(a.map((function(e){return B(t,e.url)}))),l=Promise.all(s.map((function(e){return void 0===e.simd||e.simd&&n||!e.simd&&!n?function(e){var t=document.createElement("script");return t.setAttribute("src",e),t.setAttribute("crossorigin","anonymous"),document.body.appendChild(t),new Promise((function(e){t.addEventListener("load",(function(){e()}),!1)}))}(t.locateFile(e.url,t.P)):Promise.resolve()}))).then((function(){return E(t,(function e(){var t,r,n=this;return w(e,(function(e){if(1==e.g)return t=window.createMediapipeSolutionsWasm,r=window.createMediapipeSolutionsPackedAssets,m(e,t(r),2);n.h=e.h,e.g=0}))}))})),f=E(t,(function e(){var t=this;return w(e,(function(e){return t.g.graph&&t.g.graph.url?e=m(e,B(t,t.g.graph.url),0):(e.g=0,e=void 0),e}))})),m(e,Promise.all([l,u,f]),7);if("function"!==typeof importScripts)throw Error("solutions can only be loaded on a web page or in a web worker");return i=r.filter((function(e){return void 0===e.simd||e.simd&&n||!e.simd&&!n})).map((function(e){return t.locateFile(e.url,t.P)})),importScripts.apply(null,c(i)),m(e,createMediapipeSolutionsWasm(Module),6);case 6:d.h=e.h,d.j=new OffscreenCanvas(1,1),d.h.canvas=d.j,o=d.h.GL.createContext(d.j,{antialias:!1,alpha:!1,U:"undefined"!==typeof WebGL2RenderingContext?2:1}),d.h.GL.makeContextCurrent(o),e.g=4;break;case 7:if(d.j=document.createElement("canvas"),!(h=d.j.getContext("webgl2",{}))&&!(h=d.j.getContext("webgl",{})))return alert("Failed to create WebGL canvas context when passing video frame."),e.return();d.A=h,d.h.canvas=d.j,d.h.createContext(d.j,!0,!0,{});case 4:d.i=new d.h.SolutionWasm,d.O=!1,e.g=0}}))}))}function B(e,t){return E(e,(function e(){var r,n,i=this;return w(e,(function(e){return t in i.B?e.return(i.B[t]):(r=i.locateFile(t,""),n=fetch(r).then((function(e){return e.arrayBuffer()})),i.B[t]=n,e.return(n))}))}))}function q(e,t,r){return E(e,(function e(){var n,i,o,a,s,c,l,f,h,d,p,y,b,v,g,_,S,M,x,k=this;return w(e,(function(e){switch(e.g){case 1:if(!r)return e.return(t);for(n={},i=0,o=u(Object.keys(r)),a=o.next();!a.done;a=o.next())s=a.value,"string"!==typeof(c=r[s])&&"texture"===c.type&&++i;1<i&&(k.v=!1),l=u(Object.keys(r)),a=l.next();case 2:if(a.done){e.g=4;break}if(f=a.value,"string"===typeof(h=r[f]))return M=n,x=f,m(e,function(e,t,r){return E(e,(function e(){var n,i=this;return w(e,(function(e){if(r.isNumber())return e.return(r.getNumber());if(r.isRect())return e.return(r.getRect());if(r.isLandmarks())return e.return(r.getLandmarks());if(r.isLandmarksList())return e.return(r.getLandmarksList());if(r.isClassificationsList())return e.return(r.getClassificationsList());if(r.isObjectDetectionList())return e.return(r.getObjectDetectionList());if(r.isTexture2d()){(n=i.s[t])||(n=new O(i.h,i.A,i.v),i.s[t]=n);var o=e.return,a=n;return P(a,r.getTexture2d()),a=T(a),o.call(e,a)}return e.return(void 0)}))}))}(k,f,t[h]),15);if(void 0===(d=t[h.stream])){e.g=3;break}if("detection_list"===h.type){var A=d.getRectList(),R=d.getLandmarksList(),j=d.getClassificationsList(),C=[];if(A)for(var L=0;L<A.size();++L){var D={R:A.get(L),M:N(R.get(L)),L:I(j.get(L))};C.push(D)}n[f]=C,e.g=7;break}if("landmarks"===h.type){p=d.getLandmarks(),n[f]=p?N(p):void 0,e.g=7;break}if("landmarks_list"===h.type){if(y=d.getLandmarksList())for(A=[],R=y.size(),j=0;j<R;++j)C=y.get(j),A.push(N(C)),C.delete();else A=void 0;n[f]=A,e.g=7;break}if("rect_list"===h.type){if(b=d.getRectList())for(A=[],R=b.size(),j=0;j<R;++j)C=b.get(j),A.push(C);else A=void 0;n[f]=A,e.g=7;break}if("classifications_list"===h.type){if(v=d.getClassificationsList())for(A=[],R=v.size(),j=0;j<R;++j)C=v.get(j),A.push(I(C));else A=void 0;n[f]=A,e.g=7;break}if("object_detection_list"===h.type){if(g=d.getObjectDetectionList())for(A=[],R=g.size(),j=0;j<R;++j){C=g.get(j),D=(L=A).push;for(var B=C.id,q=C.keypoints,U=[],z=q.size(),F=0;F<z;++F){var H=q.get(F);U.push({id:H.id,point3d:{x:H.point3d.x,y:H.point3d.y,z:H.point3d.z},point2d:{x:H.point2d.x,y:H.point2d.y,depth:H.point2d.depth}})}D.call(L,{id:B,keypoints:U,visibility:C.visibility})}else A=void 0;n[f]=A,e.g=7;break}if("texture"!==h.type)throw Error("Unknown output config type: '"+h.type+"'");return(_=k.s[f])||(_=new O(k.h,k.A,k.v),k.s[f]=_),P(A=_,R=d.getTexture2d()),m(e,A=T(A),14);case 14:S=e.h,n[f]=S;case 7:h.transform&&n[f]&&(n[f]=h.transform(n[f])),e.g=3;break;case 15:M[x]=e.h;case 3:a=l.next(),e.g=2;break;case 4:return e.return(n)}}))}))}
2function U(e,t){for(var r=t.name||"$",n=[].concat(c(t.wants)),i=new e.h.StringList,o=u(t.wants),a=o.next();!a.done;a=o.next())i.push_back(a.value);o=e.h.PacketListener.implement({onResults:function(i){return E(e,(function e(){var o,a,s,u,c,l=this;return w(e,(function(e){for(o=l,a={},s=0;s<t.wants.length;++s)a[n[s]]=i.get(s);if(u=q(l,a,t.outs),c=l.listeners[r])return e.return(l.F.then((function(){return u})).then((function(e){return E(o,(function r(){var i,o,s=this;return w(r,(function(r){for(i=c(e),o=0;o<t.wants.length;++o)a[n[o]].delete();if(i)return s.F=i,r.return(i);r.g=0}))}))})));e.g=0}))}))}}),e.i.attachMultiListener(i,o),i.delete()}function z(e){switch(void 0===e&&(e=0),e){case 1:return"pose_landmark_full.tflite";case 2:return"pose_landmark_heavy.tflite";default:return"pose_landmark_lite.tflite"}}function F(e){var t=this;e=e||{},this.g=new L({locateFile:e.locateFile,files:function(e){return[{url:"pose_solution_packed_assets_loader.js"},{simd:!1,url:"pose_solution_wasm_bin.js"},{simd:!0,url:"pose_solution_simd_wasm_bin.js"},{data:!0,url:z(e.modelComplexity)}]},graph:{url:"pose_web.binarypb"},listeners:[{wants:["pose_landmarks","world_landmarks","image_transformed"],outs:{image:"image_transformed",poseLandmarks:{type:"landmarks",stream:"pose_landmarks"},poseWorldLandmarks:{type:"landmarks",stream:"world_landmarks"}}}],inputs:{image:{type:"video",stream:"input_frames_gpu"}},options:{selfieMode:{type:1,graphOptionXref:{calculatorType:"GlScalerCalculator",calculatorIndex:1,fieldName:"flip_horizontal"}},modelComplexity:{type:0,graphOptionXref:{calculatorType:"ConstantSidePacketCalculator",calculatorName:"ConstantSidePacketCalculatorModelComplexity",fieldName:"int_value"},onChange:function(e){return E(t,(function t(){var r,n,i,o=this;return w(t,(function(t){return 1==t.g?(r=z(e),n="third_party/mediapipe/modules/pose_landmark/"+r,m(t,B(o.g,r),2)):(i=t.h,o.g.overrideFile(n,i),t.return(!0))}))}))}},smoothLandmarks:{type:1,graphOptionXref:{calculatorType:"ConstantSidePacketCalculator",calculatorName:"ConstantSidePacketCalculatorSmoothLandmarks",fieldName:"bool_value"}},minDetectionConfidence:{type:0,graphOptionXref:{calculatorType:"TensorsToDetectionsCalculator",calculatorName:"poselandmarkgpu__posedetectiongpu__TensorsToDetectionsCalculator",fieldName:"min_score_thresh"}},minTrackingConfidence:{type:0,graphOptionXref:{calculatorType:"ThresholdingCalculator",calculatorName:"poselandmarkgpu__poselandmarkbyroigpu__poselandmarkbyroipostprocessing__ThresholdingCalculator",fieldName:"threshold"}}}})}(t=L.prototype).close=function(){return this.i&&this.i.delete(),Promise.resolve()},t.reset=function(){return E(this,(function e(){var t=this;return w(e,(function(e){t.i&&(t.i.reset(),t.m={},t.s={}),e.g=0}))}))},t.setOptions=function(e){var t=this;if(this.g.options){for(var r=[],n=[],i={},o=u(Object.keys(e)),a=o.next();!a.done;i={J:i.J,K:i.K},a=o.next()){var s=a.value;(!(s in this.l)||this.l[s]!==e[s])&&(this.l[s]=e[s],a=this.g.options[s])&&(a.onChange&&(i.J=a.onChange,i.K=e[s],r.push(function(e){return function(){return E(t,(function t(){var r=this;return w(t,(function(t){if(1==t.g)return m(t,e.J(e.K),2);!0===t.h&&(r.o=!0),t.g=0}))}))}}(i))),a.graphOptionXref&&(s={valueNumber:0===a.type?e[s]:0,valueBoolean:1===a.type&&e[s]},a=Object.assign(Object.assign(Object.assign({},{calculatorName:"",calculatorIndex:0}),a.graphOptionXref),s),n.push(a)))}0===r.length&&0===n.length||(this.o=!0,this.C=n,this.D=r)}},t.initialize=function(){return E(this,(function e(){var t=this;return w(e,(function(e){return 1==e.g?m(e,D(t),2):3!=e.g?m(e,E(t,(function e(){var t,r,n,i,o,a,s,c,l=this;return w(e,(function(e){if(1==e.g)return l.g.graph&&l.g.graph.url&&l.N===l.g.graph.url?e.return():(l.o=!0,l.g.graph&&l.g.graph.url?(l.N=l.g.graph.url,m(e,B(l,l.g.graph.url),3)):void(e.g=2));for(2!=e.g&&(t=e.h,l.i.loadGraph(t)),r=u(Object.keys(l.u)),n=r.next();!n.done;n=r.next())i=n.value,l.i.overrideFile(i,l.u[i]);if(l.u={},l.g.listeners)for(o=u(l.g.listeners),a=o.next();!a.done;a=o.next())s=a.value,U(l,s);c=l.l,l.l={},l.setOptions(c),e.g=0}))})),3):m(e,function(e){return E(e,(function e(){var t,r,n,i,o,a,s=this;return w(e,(function(e){switch(e.g){case 1:if(!s.o)return e.return();if(!s.D){e.g=2;break}t=u(s.D),r=t.next();case 3:if(r.done){e.g=5;break}return m(e,(0,r.value)(),4);case 4:r=t.next(),e.g=3;break;case 5:s.D=void 0;case 2:if(s.C){for(n=new s.h.GraphOptionChangeRequestList,i=u(s.C),o=i.next();!o.done;o=i.next())a=o.value,n.push_back(a);s.i.changeOptions(n),n.delete(),s.C=void 0}s.o=!1,e.g=0}}))}))}(t),0)}))}))},t.overrideFile=function(e,t){this.i?this.i.overrideFile(e,t):this.u[e]=t},t.clearOverriddenFiles=function(){this.u={},this.i&&this.i.clearOverriddenFiles()},t.send=function(e,t){return E(this,(function r(){var n,i,o,a,s,c,l,f,h,d=this;
2return w(r,(function(r){if(1==r.g)return d.g.inputs?(n=1e3*(void 0===t||null===t?performance.now():t),m(r,d.F,2)):r.return();if(3!=r.g)return m(r,d.initialize(),3);for(i=new d.h.PacketDataList,o=u(Object.keys(e)),a=o.next();!a.done;a=o.next())if(s=a.value,c=d.g.inputs[s]){e:{var p=d,y=e[s];switch(c.type){case"video":var b=p.m[c.stream];if(b||(b=new O(p.h,p.A,p.v),p.m[c.stream]=b),0===(p=b).l&&(p.l=p.h.createTexture()),"undefined"!==typeof HTMLVideoElement&&y instanceof HTMLVideoElement){var v=y.videoWidth;b=y.videoHeight}else"undefined"!==typeof HTMLImageElement&&y instanceof HTMLImageElement?(v=y.naturalWidth,b=y.naturalHeight):(v=y.width,b=y.height);b={glName:p.l,width:v,height:b},(v=p.g).canvas.width=b.width,v.canvas.height=b.height,v.activeTexture(v.TEXTURE0),p.h.bindTexture2d(p.l),v.texImage2D(v.TEXTURE_2D,0,v.RGBA,v.RGBA,v.UNSIGNED_BYTE,y),p.h.bindTexture2d(0),p=b;break e;case"detections":for((b=p.m[c.stream])||(b=new A(p.h),p.m[c.stream]=b),(p=b).data||(p.data=new p.g.DetectionListData),p.data.reset(y.length),b=0;b<y.length;++b){if(v=y[b],p.data.setBoundingBox(b,v.R),v.M)for(var g=0;g<v.M.length;++g){var _=v.M[g],w=!!_.visibility;p.data.addNormalizedLandmark(b,Object.assign(Object.assign({},_),{hasVisibility:w,visibility:w?_.visibility:0}))}if(v.L)for(g=0;g<v.L.length;++g){w=!!(_=v.L[g]).index;var S=!!_.label,M=!!_.displayName;p.data.addClassification(b,{score:_.score,hasIndex:w,index:w?_.index:-1,hasLabel:S,label:S?_.label:"",hasDisplayName:M,displayName:M?_.displayName:""})}}p=p.data;break e;default:p={}}}switch(l=p,f=c.stream,c.type){case"video":i.pushTexture2d(Object.assign(Object.assign({},l),{stream:f,timestamp:n}));break;case"detections":(h=l).stream=f,h.timestamp=n,i.pushDetectionList(h);break;default:throw Error("Unknown input config type: '"+c.type+"'")}}d.i.send(i),i.delete(),r.g=0}))}))},t.onResults=function(e,t){this.listeners[t||"$"]=e},x("Solution",L),x("OptionType",{NUMBER:0,BOOL:1,0:"NUMBER",1:"BOOL"}),(t=F.prototype).reset=function(){this.g.reset()},t.close=function(){return this.g.close(),Promise.resolve()},t.onResults=function(e){this.g.onResults(e)},t.initialize=function(){return E(this,(function e(){var t=this;return w(e,(function(e){return m(e,t.g.initialize(),0)}))}))},t.send=function(e,t){return E(this,(function r(){var n=this;return w(r,(function(r){return m(r,n.g.send(e,t),0)}))}))},t.setOptions=function(e){this.g.setOptions(e)},x("Pose",F),x("POSE_CONNECTIONS",[[0,1],[1,2],[2,3],[3,7],[0,4],[4,5],[5,6],[6,8],[9,10],[11,12],[11,13],[13,15],[15,17],[15,19],[15,21],[17,19],[12,14],[14,16],[16,18],[16,20],[16,22],[18,20],[11,23],[12,24],[23,24],[23,25],[24,26],[25,27],[26,28],[27,29],[28,30],[29,31],[30,32],[27,31],[28,32]]),x("POSE_LANDMARKS",{NOSE:0,LEFT_EYE_INNER:1,LEFT_EYE:2,LEFT_EYE_OUTER:3,RIGHT_EYE_INNER:4,RIGHT_EYE:5,RIGHT_EYE_OUTER:6,LEFT_EAR:7,RIGHT_EAR:8,LEFT_RIGHT:9,RIGHT_LEFT:10,LEFT_SHOULDER:11,RIGHT_SHOULDER:12,LEFT_ELBOW:13,RIGHT_ELBOW:14,LEFT_WRIST:15,RIGHT_WRIST:16,LEFT_PINKY:17,RIGHT_PINKY:18,LEFT_INDEX:19,RIGHT_INDEX:20,LEFT_THUMB:21,RIGHT_THUMB:22,LEFT_HIP:23,RIGHT_HIP:24,LEFT_KNEE:25,RIGHT_KNEE:26,LEFT_ANKLE:27,RIGHT_ANKLE:28,LEFT_HEEL:29,RIGHT_HEEL:30,LEFT_FOOT_INDEX:31,RIGHT_FOOT_INDEX:32}),x("POSE_LANDMARKS_LEFT",{LEFT_EYE_INNER:1,LEFT_EYE:2,LEFT_EYE_OUTER:3,LEFT_EAR:7,LEFT_RIGHT:9,LEFT_SHOULDER:11,LEFT_ELBOW:13,LEFT_WRIST:15,LEFT_PINKY:17,LEFT_INDEX:19,LEFT_THUMB:21,LEFT_HIP:23,LEFT_KNEE:25,LEFT_ANKLE:27,LEFT_HEEL:29,LEFT_FOOT_INDEX:31}),x("POSE_LANDMARKS_RIGHT",{RIGHT_EYE_INNER:4,RIGHT_EYE:5,RIGHT_EYE_OUTER:6,RIGHT_EAR:8,RIGHT_LEFT:10,RIGHT_SHOULDER:12,RIGHT_ELBOW:14,RIGHT_WRIST:16,RIGHT_PINKY:18,RIGHT_INDEX:20,RIGHT_THUMB:22,RIGHT_HIP:24,RIGHT_KNEE:26,RIGHT_ANKLE:28,RIGHT_HEEL:30,RIGHT_FOOT_INDEX:32}),x("POSE_LANDMARKS_NEUTRAL",{NOSE:0})}).call(this)}).call(this,r(11))},function(e,t,r){(function(e){(function(){"use strict";function t(e){var t=0;return function(){return t<e.length?{done:!1,value:e[t++]}:{done:!0}}}var r="function"==typeof Object.defineProperties?Object.defineProperty:function(e,t,r){return e==Array.prototype||e==Object.prototype||(e[t]=r.value),e};var n=function(t){t=["object"==typeof globalThis&&globalThis,t,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof e&&e];for(var r=0;r<t.length;++r){var n=t[r];
2if(n&&n.Math==Math)return n}throw Error("Cannot find global object")}(this);function i(e,t){if(t)e:{var i=n;e=e.split(".");for(var o=0;o<e.length-1;o++){var a=e[o];if(!(a in i))break e;i=i[a]}(t=t(o=i[e=e[e.length-1]]))!=o&&null!=t&&r(i,e,{configurable:!0,writable:!0,value:t})}}function o(e){var r="undefined"!=typeof Symbol&&Symbol.iterator&&e[Symbol.iterator];return r?r.call(e):{next:t(e)}}var a="function"==typeof Object.assign?Object.assign:function(e,t){for(var r=1;r<arguments.length;r++){var n=arguments[r];if(n)for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e};function s(e){return e||Array.prototype.fill}i("Object.assign",(function(e){return e||a})),i("Array.prototype.fill",(function(e){return e||function(e,t,r){var n=this.length||0;for(0>t&&(t=Math.max(0,n+t)),(null==r||r>n)&&(r=n),0>(r=Number(r))&&(r=Math.max(0,n+r)),t=Number(t||0);t<r;t++)this[t]=e;return this}})),i("Int8Array.prototype.fill",s),i("Uint8Array.prototype.fill",s),i("Uint8ClampedArray.prototype.fill",s),i("Int16Array.prototype.fill",s),i("Uint16Array.prototype.fill",s),i("Int32Array.prototype.fill",s),i("Uint32Array.prototype.fill",s),i("Float32Array.prototype.fill",s),i("Float64Array.prototype.fill",s);var u=this||self;function c(e,t){e=e.split(".");var r,n=u;e[0]in n||"undefined"==typeof n.execScript||n.execScript("var "+e[0]);for(;e.length&&(r=e.shift());)e.length||void 0===t?n=n[r]&&n[r]!==Object.prototype[r]?n[r]:n[r]={}:n[r]=t}var l={color:"white",lineWidth:4,radius:6,visibilityMin:.5};function f(e){return e=e||{},Object.assign(Object.assign(Object.assign({},l),{fillColor:e.color}),e)}function h(e,t){return e instanceof Function?e(t):e}function d(e,t,r){return Math.max(Math.min(t,r),Math.min(Math.max(t,r),e))}c("clamp",d),c("drawLandmarks",(function(e,t,r){if(t){r=f(r),e.save();for(var n=e.canvas,i=0,a=(t=o(t)).next();!a.done;a=t.next())if(void 0!==(a=a.value)&&(void 0===a.visibility||a.visibility>r.visibilityMin)){e.fillStyle=h(r.fillColor,{index:i,from:a}),e.strokeStyle=h(r.color,{index:i,from:a}),e.lineWidth=h(r.lineWidth,{index:i,from:a});var s=new Path2D;s.arc(a.x*n.width,a.y*n.height,h(r.radius,{index:i,from:a}),0,2*Math.PI),e.fill(s),e.stroke(s),++i}e.restore()}})),c("drawConnectors",(function(e,t,r,n){if(t&&r){n=f(n),e.save();for(var i=e.canvas,a=0,s=(r=o(r)).next();!s.done;s=r.next()){var u=s.value;e.beginPath(),s=t[u[0]],u=t[u[1]],s&&u&&(void 0===s.visibility||s.visibility>n.visibilityMin)&&(void 0===u.visibility||u.visibility>n.visibilityMin)&&(e.strokeStyle=h(n.color,{index:a,from:s,to:u}),e.lineWidth=h(n.lineWidth,{index:a,from:s,to:u}),e.moveTo(s.x*i.width,s.y*i.height),e.lineTo(u.x*i.width,u.y*i.height)),++a,e.stroke()}e.restore()}})),c("drawRectangle",(function(e,t,r){r=f(r),e.save();var n=e.canvas;e.beginPath(),e.lineWidth=h(r.lineWidth,{}),e.strokeStyle=h(r.color,{}),e.fillStyle=h(r.fillColor,{}),e.translate(t.xCenter*n.width,t.yCenter*n.height),e.rotate(t.rotation*Math.PI/180),e.rect(-t.width/2*n.width,-t.height/2*n.height,t.width*n.width,t.height*n.height),e.translate(-t.xCenter*n.width,-t.yCenter*n.height),e.stroke(),e.fill(),e.restore()})),c("lerp",(function(e,t,r,n,i){return d(n*(1-(e-t)/(r-t))+i*(1-(r-e)/(r-t)),n,i)}))}).call(this)}).call(this,r(11))},function(e,t,r){"use strict";function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){n(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}r.d(t,"a",(function(){return o}))},,function(e,t,r){"use strict";e.exports=function(e,t){return function(){for(var r=new Array(arguments.length),n=0;n<r.length;n++)r[n]=arguments[n];return e.apply(t,r)}}},function(e,t,r){"use strict";var n=r(14);function i(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,r){if(!t)return e;var o;if(r)o=r(t);else if(n.isURLSearchParams(t))o=t.toString();else{var a=[];
2n.forEach(t,(function(e,t){null!==e&&"undefined"!==typeof e&&(n.isArray(e)?t+="[]":e=[e],n.forEach(e,(function(e){n.isDate(e)?e=e.toISOString():n.isObject(e)&&(e=JSON.stringify(e)),a.push(i(t)+"="+i(e))})))})),o=a.join("&")}if(o){var s=e.indexOf("#");-1!==s&&(e=e.slice(0,s)),e+=(-1===e.indexOf("?")?"?":"&")+o}return e}},function(e,t,r){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},function(e,t,r){"use strict";(function(t){var n=r(14),i=r(214),o={"Content-Type":"application/x-www-form-urlencoded"};function a(e,t){!n.isUndefined(e)&&n.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var s={adapter:function(){var e;return("undefined"!==typeof XMLHttpRequest||"undefined"!==typeof t&&"[object process]"===Object.prototype.toString.call(t))&&(e=r(107)),e}(),transformRequest:[function(e,t){return i(t,"Accept"),i(t,"Content-Type"),n.isFormData(e)||n.isArrayBuffer(e)||n.isBuffer(e)||n.isStream(e)||n.isFile(e)||n.isBlob(e)?e:n.isArrayBufferView(e)?e.buffer:n.isURLSearchParams(e)?(a(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):n.isObject(e)?(a(t,"application/json;charset=utf-8"),JSON.stringify(e)):e}],transformResponse:[function(e){if("string"===typeof e)try{e=JSON.parse(e)}catch(t){}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};n.forEach(["delete","get","head"],(function(e){s.headers[e]={}})),n.forEach(["post","put","patch"],(function(e){s.headers[e]=n.merge(o)})),e.exports=s}).call(this,r(8))},function(e,t,r){"use strict";var n=r(14),i=r(215),o=r(217),a=r(104),s=r(218),u=r(221),c=r(222),l=r(108);e.exports=function(e){return new Promise((function(t,r){var f=e.data,h=e.headers;n.isFormData(f)&&delete h["Content-Type"];var d=new XMLHttpRequest;if(e.auth){var p=e.auth.username||"",y=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";h.Authorization="Basic "+btoa(p+":"+y)}var m=s(e.baseURL,e.url);if(d.open(e.method.toUpperCase(),a(m,e.params,e.paramsSerializer),!0),d.timeout=e.timeout,d.onreadystatechange=function(){if(d&&4===d.readyState&&(0!==d.status||d.responseURL&&0===d.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in d?u(d.getAllResponseHeaders()):null,o={data:e.responseType&&"text"!==e.responseType?d.response:d.responseText,status:d.status,statusText:d.statusText,headers:n,config:e,request:d};i(t,r,o),d=null}},d.onabort=function(){d&&(r(l("Request aborted",e,"ECONNABORTED",d)),d=null)},d.onerror=function(){r(l("Network Error",e,null,d)),d=null},d.ontimeout=function(){var t="timeout of "+e.timeout+"ms exceeded";e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),r(l(t,e,"ECONNABORTED",d)),d=null},n.isStandardBrowserEnv()){var b=(e.withCredentials||c(m))&&e.xsrfCookieName?o.read(e.xsrfCookieName):void 0;b&&(h[e.xsrfHeaderName]=b)}if("setRequestHeader"in d&&n.forEach(h,(function(e,t){"undefined"===typeof f&&"content-type"===t.toLowerCase()?delete h[t]:d.setRequestHeader(t,e)})),n.isUndefined(e.withCredentials)||(d.withCredentials=!!e.withCredentials),e.responseType)try{d.responseType=e.responseType}catch(v){if("json"!==e.responseType)throw v}"function"===typeof e.onDownloadProgress&&d.addEventListener("progress",e.onDownloadProgress),"function"===typeof e.onUploadProgress&&d.upload&&d.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then((function(e){d&&(d.abort(),r(e),d=null)})),f||(f=null),d.send(f)}))}},function(e,t,r){"use strict";var n=r(216);e.exports=function(e,t,r,i,o){var a=new Error(e);return n(a,t,r,i,o)}},function(e,t,r){"use strict";var n=r(14);e.exports=function(e,t){t=t||{};var r={},i=["url","method","data"],o=["headers","auth","proxy","params"],a=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],s=["validateStatus"];function u(e,t){return n.isPlainObject(e)&&n.isPlainObject(t)?n.merge(e,t):n.isPlainObject(t)?n.merge({},t):n.isArray(t)?t.slice():t}function c(i){n.isUndefined(t[i])?n.isUndefined(e[i])||(r[i]=u(void 0,e[i])):r[i]=u(e[i],t[i])}n.forEach(i,(function(e){n.isUndefined(t[e])||(r[e]=u(void 0,t[e]))}
2)),n.forEach(o,c),n.forEach(a,(function(i){n.isUndefined(t[i])?n.isUndefined(e[i])||(r[i]=u(void 0,e[i])):r[i]=u(void 0,t[i])})),n.forEach(s,(function(n){n in t?r[n]=u(e[n],t[n]):n in e&&(r[n]=u(void 0,e[n]))}));var l=i.concat(o).concat(a).concat(s),f=Object.keys(e).concat(Object.keys(t)).filter((function(e){return-1===l.indexOf(e)}));return n.forEach(f,c),r}},function(e,t,r){"use strict";function n(e){this.message=e}n.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},n.prototype.__CANCEL__=!0,e.exports=n},function(e,t,r){"use strict";t.__esModule=!0,t.default={noWobble:{stiffness:170,damping:26},gentle:{stiffness:120,damping:14},wobbly:{stiffness:180,damping:12},stiff:{stiffness:210,damping:20}},e.exports=t.default},function(e,t,r){"use strict";var n=Array.prototype.slice,i=r(113),o=Object.keys,a=o?function(e){return o(e)}:r(235),s=Object.keys;a.shim=function(){Object.keys?function(){var e=Object.keys(arguments);return e&&e.length===arguments.length}(1,2)||(Object.keys=function(e){return i(e)?s(n.call(e)):s(e)}):Object.keys=a;return Object.keys||a},e.exports=a},function(e,t,r){"use strict";var n=Object.prototype.toString;e.exports=function(e){var t=n.call(e),r="[object Arguments]"===t;return r||(r="[object Array]"!==t&&null!==e&&"object"===typeof e&&"number"===typeof e.length&&e.length>=0&&"[object Function]"===n.call(e.callee)),r}},function(e,t,r){"use strict";var n=r(115),i=r(71),o=i(n("String.prototype.indexOf"));e.exports=function(e,t){var r=n(e,!!t);return"function"===typeof r&&o(e,".prototype.")>-1?i(r):r}},function(e,t,r){"use strict";var n,i=SyntaxError,o=Function,a=TypeError,s=function(e){try{return o('"use strict"; return ('+e+").constructor;")()}catch(t){}},u=Object.getOwnPropertyDescriptor;if(u)try{u({},"")}catch(T){u=null}var c=function(){throw new a},l=u?function(){try{return c}catch(e){try{return u(arguments,"callee").get}catch(t){return c}}}():c,f=r(116)(),h=Object.getPrototypeOf||function(e){return e.__proto__},d={},p="undefined"===typeof Uint8Array?n:h(Uint8Array),y={"%AggregateError%":"undefined"===typeof AggregateError?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"===typeof ArrayBuffer?n:ArrayBuffer,"%ArrayIteratorPrototype%":f?h([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":d,"%AsyncGenerator%":d,"%AsyncGeneratorFunction%":d,"%AsyncIteratorPrototype%":d,"%Atomics%":"undefined"===typeof Atomics?n:Atomics,"%BigInt%":"undefined"===typeof BigInt?n:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"===typeof DataView?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"===typeof Float32Array?n:Float32Array,"%Float64Array%":"undefined"===typeof Float64Array?n:Float64Array,"%FinalizationRegistry%":"undefined"===typeof FinalizationRegistry?n:FinalizationRegistry,"%Function%":o,"%GeneratorFunction%":d,"%Int8Array%":"undefined"===typeof Int8Array?n:Int8Array,"%Int16Array%":"undefined"===typeof Int16Array?n:Int16Array,"%Int32Array%":"undefined"===typeof Int32Array?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%
2IteratorPrototype%":f?h(h([][Symbol.iterator]())):n,"%JSON%":"object"===typeof JSON?JSON:n,"%Map%":"undefined"===typeof Map?n:Map,"%MapIteratorPrototype%":"undefined"!==typeof Map&&f?h((new Map)[Symbol.iterator]()):n,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"===typeof Promise?n:Promise,"%Proxy%":"undefined"===typeof Proxy?n:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"===typeof Reflect?n:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"===typeof Set?n:Set,"%SetIteratorPrototype%":"undefined"!==typeof Set&&f?h((new Set)[Symbol.iterator]()):n,"%SharedArrayBuffer%":"undefined"===typeof SharedArrayBuffer?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":f?h(""[Symbol.iterator]()):n,"%Symbol%":f?Symbol:n,"%SyntaxError%":i,"%ThrowTypeError%":l,"%TypedArray%":p,"%TypeError%":a,"%Uint8Array%":"undefined"===typeof Uint8Array?n:Uint8Array,"%Uint8ClampedArray%":"undefined"===typeof Uint8ClampedArray?n:Uint8ClampedArray,"%Uint16Array%":"undefined"===typeof Uint16Array?n:Uint16Array,"%Uint32Array%":"undefined"===typeof Uint32Array?n:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"===typeof WeakMap?n:WeakMap,"%WeakRef%":"undefined"===typeof WeakRef?n:WeakRef,"%WeakSet%":"undefined"===typeof WeakSet?n:WeakSet},m=function e(t){var r;if("%AsyncFunction%"===t)r=s("async function () {}");else if("%GeneratorFunction%"===t)r=s("function* () {}");else if("%AsyncGeneratorFunction%"===t)r=s("async function* () {}");else if("%AsyncGenerator%"===t){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===t){var i=e("%AsyncGenerator%");i&&(r=h(i.prototype))}return y[t]=r,r},b={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},v=r(70),g=r(239),_=v.call(Function.call,Array.prototype.concat),w=v.call(Function.apply,Array.prototype.splice),S=v.call(Function.call,String.prototype.replace),M=v.call(Function.call,String.prototype.slice),x=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,E=/\\(\\)?/g,k=function(e){var t=M(e,0,1),r=M(e,-1);if("%"===t&&"%"!==r)throw new i("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==t)throw new i("invalid intrinsic syntax, expected opening `%`");var n=[];return S(e,x,(function(e,t,r,i){n[n.length]=r?S(i,E,"$1"):t||e})),n},O=function(e,t){var r,n=e;if(g(b,n)&&(n="%"+(r=b[n])[0]+"%"),g(y,n)){var o=y[n];if(o===d&&(o=m(n)),"undefined"===typeof o&&!t)throw new a("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:o}}throw new i("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!==typeof e||0===e.length)throw new a("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!==typeof t)throw new a('"allowMissing" argument must be a boolean');var r=k(e),n=r.length>0?r[0]:"",o=O("%"+n+"%",t),s=o.name,c=o.value,l=!1,f=o.alias;f&&(n=f[0],w(r,_([0,1],f)));for(var h=1,d=!0;h<r.length;
2h+=1){var p=r[h],m=M(p,0,1),b=M(p,-1);if(('"'===m||"'"===m||"`"===m||'"'===b||"'"===b||"`"===b)&&m!==b)throw new i("property names with quotes must have matching quotes");if("constructor"!==p&&d||(l=!0),g(y,s="%"+(n+="."+p)+"%"))c=y[s];else if(null!=c){if(!(p in c)){if(!t)throw new a("base intrinsic for "+e+" exists, but the property is not available.");return}if(u&&h+1>=r.length){var v=u(c,p);c=(d=!!v)&&"get"in v&&!("originalValue"in v.get)?v.get:c[p]}else d=g(c,p),c=c[p];d&&!l&&(y[s]=c)}}return c}},function(e,t,r){"use strict";(function(t){var n=t.Symbol,i=r(237);e.exports=function(){return"function"===typeof n&&("function"===typeof Symbol&&("symbol"===typeof n("foo")&&("symbol"===typeof Symbol("bar")&&i())))}}).call(this,r(11))},function(e,t,r){"use strict";var n=function(e){return e!==e};e.exports=function(e,t){return 0===e&&0===t?1/e===1/t:e===t||!(!n(e)||!n(t))}},function(e,t,r){"use strict";var n=r(117);e.exports=function(){return"function"===typeof Object.is?Object.is:n}},function(e,t,r){"use strict";var n=Object,i=TypeError;e.exports=function(){if(null!=this&&this!==n(this))throw new i("RegExp.prototype.flags getter called on non-object");var e="";return this.global&&(e+="g"),this.ignoreCase&&(e+="i"),this.multiline&&(e+="m"),this.dotAll&&(e+="s"),this.unicode&&(e+="u"),this.sticky&&(e+="y"),e}},function(e,t,r){"use strict";var n=r(119),i=r(40).supportsDescriptors,o=Object.getOwnPropertyDescriptor,a=TypeError;e.exports=function(){if(!i)throw new a("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");if("gim"===/a/gim.flags){var e=o(RegExp.prototype,"flags");if(e&&"function"===typeof e.get&&"boolean"===typeof/a/.dotAll)return e.get}return n}},function(e,t,r){var n=r(72);e.exports=function(e,t){t=t||{};var r=n.decode(e,t);if(!r)return null;var i=r.payload;if("string"===typeof i)try{var o=JSON.parse(i);null!==o&&"object"===typeof o&&(i=o)}catch(a){}return!0===t.complete?{header:r.header,payload:i,signature:r.signature}:i}},function(e,t){var r={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==r.call(e)}},function(e,t,r){(function(t){var n=r(5).Buffer,i=r(53);function o(e){if(this.buffer=null,this.writable=!0,this.readable=!0,!e)return this.buffer=n.alloc(0),this;if("function"===typeof e.pipe)return this.buffer=n.alloc(0),e.pipe(this),this;if(e.length||"object"===typeof e)return this.buffer=e,this.writable=!1,t.nextTick(function(){this.emit("end",e),this.readable=!1,this.emit("close")}.bind(this)),this;throw new TypeError("Unexpected data type ("+typeof e+")")}r(55).inherits(o,i),o.prototype.write=function(e){this.buffer=n.concat([this.buffer,n.from(e)]),this.emit("data",e)},o.prototype.end=function(e){e&&this.write(e),this.emit("end",e),this.emit("close"),this.writable=!1,this.readable=!1},e.exports=o}).call(this,r(8))},function(e,t,r){"use strict";(function(t,n){var i=r(54);e.exports=g;var o,a=r(122);g.ReadableState=v;r(26).EventEmitter;var s=function(e,t){return e.listeners(t).length},u=r(125),c=r(74).Buffer,l=t.Uint8Array||function(){};var f=Object.create(r(41));f.inherits=r(3);var h=r(251),d=void 0;d=h&&h.debuglog?h.debuglog("stream"):function(){};var p,y=r(252),m=r(126);f.inherits(g,u);var b=["error","close","destroy","pause","resume"];function v(e,t){e=e||{};var n=t instanceof(o=o||r(27));this.objectMode=!!e.objectMode,n&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var i=e.highWaterMark,a=e.readableHighWaterMark,s=this.objectMode?16:16384;this.highWaterMark=i||0===i?i:n&&(a||0===a)?a:s,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new y,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(p||(p=r(28).StringDecoder),this.decoder=new p(e.encoding),this.encoding=e.encoding)}function g(e){if(o=o||r(27),!(this instanceof g))return new g(e);this._readableState=new v(e,this),this.readable=!0,e&&("function"===typeof e.read&&(this._read=e.read),"function"===typeof e.destroy&&(this._destroy=e.destroy)),u.call(this)}function _(e,t,r,n,i){var o,a=e._readableState;null===t?(a.reading=!1,function(e,t){if(t.ended)return;if(t.decoder){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,x(e)}(e,a)):(i||(o=function(e,t){var r;n=t,c.isBuffer(n)||n instanceof l||"string"===typeof t||void 0===t||e.objectMode||(r=new TypeError("Invalid non-string/buffer chunk"));var n;return r}(a,t)),o?e.emit("error",o):a.objectMode||t&&t.length>0?("string"===typeof t||a.objectMode||Object.getPrototypeOf(t)===c.prototype||(t=function(e){return c.from(e)}(t)),n?a.endEmitted?e.emit("error",new Error("stream.unshift() after end event")):w(e,a,t,!0):a.ended?e.emit("error",new Error("stream.push() after EOF")):(a.reading=!1,a.decoder&&!r?(t=a.decoder.write(t),a.objectMode||0!==t.length?w(e,a,t,!1):k(e,a)):w(e,a,t,!1))
vendor: 4,255 bytes, line 2
2):n||(a.reading=!1));return function(e){return!e.ended&&(e.needReadable||e.length<e.highWaterMark||0===e.length)}(a)}function w(e,t,r,n){t.flowing&&0===t.length&&!t.sync?(e.emit("data",r),e.read(0)):(t.length+=t.objectMode?1:r.length,n?t.buffer.unshift(r):t.buffer.push(r),t.needReadable&&x(e)),k(e,t)}Object.defineProperty(g.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),g.prototype.destroy=m.destroy,g.prototype._undestroy=m.undestroy,g.prototype._destroy=function(e,t){this.push(null),t(e)},g.prototype.push=function(e,t){var r,n=this._readableState;return n.objectMode?r=!0:"string"===typeof e&&((t=t||n.defaultEncoding)!==n.encoding&&(e=c.from(e,t),t=""),r=!0),_(this,e,t,!1,r)},g.prototype.unshift=function(e){return _(this,e,null,!0,!1)},g.prototype.isPaused=function(){return!1===this._readableState.flowing},g.prototype.setEncoding=function(e){return p||(p=r(28).StringDecoder),this._readableState.decoder=new p(e),this._readableState.encoding=e,this};var S=8388608;function M(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!==e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=function(e){return e>=S?e=S:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function x(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(d("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?i.nextTick(E,e):E(e))}function E(e){d("emit readable"),e.emit("readable"),A(e)}function k(e,t){t.readingMore||(t.readingMore=!0,i.nextTick(O,e,t))}function O(e,t){for(var r=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark&&(d("maybeReadMore read 0"),e.read(0),r!==t.length);)r=t.length;t.readingMore=!1}function T(e){d("readable nexttick read 0"),e.read(0)}function P(e,t){t.reading||(d("resume read 0"),e.read(0)),t.resumeScheduled=!1,t.awaitDrain=0,e.emit("resume"),A(e),t.flowing&&!t.reading&&e.read(0)}function A(e){var t=e._readableState;for(d("flow",t.flowing);t.flowing&&null!==e.read(););}function R(e,t){return 0===t.length?null:(t.objectMode?r=t.buffer.shift():!e||e>=t.length?(r=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.head.data:t.buffer.concat(t.length),t.buffer.clear()):r=function(e,t,r){var n;e<t.head.data.length?(n=t.head.data.slice(0,e),t.head.data=t.head.data.slice(e)):n=e===t.head.data.length?t.shift():r?function(e,t){var r=t.head,n=1,i=r.data;e-=i.length;for(;r=r.next;){var o=r.data,a=e>o.length?o.length:e;if(a===o.length?i+=o:i+=o.slice(0,e),0===(e-=a)){a===o.length?(++n,r.next?t.head=r.next:t.head=t.tail=null):(t.head=r,r.data=o.slice(a));break}++n}return t.length-=n,i}(e,t):function(e,t){var r=c.allocUnsafe(e),n=t.head,i=1;n.data.copy(r),e-=n.data.length;for(;n=n.next;){var o=n.data,a=e>o.length?o.length:e;if(o.copy(r,r.length-e,0,a),0===(e-=a)){a===o.length?(++i,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n,n.data=o.slice(a));break}++i}return t.length-=i,r}(e,t);return n}(e,t.buffer,t.decoder),r);var r}function j(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,i.nextTick(C,t,e))}function C(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function N(e,t){for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}g.prototype.read=function(e){d("read",e),e=parseInt(e,10);var t=this._readableState,r=e;if(0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&(t.length>=t.highWaterMark||t.ended))return d("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?j(this):x(this),null;if(0===(e=M(e,t))&&t.ended)return 0===t.length&&j(this),null;var n,i=t.needReadable;return d("need readable",i),(0===t.length||t.length-e<t.highWaterMark)&&d("length less than watermark",i=!0),t.ended||t.reading?d("reading or ended",i=!1):i&&(d("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=M(r,t))),null===(n=e>0?R(e,t):null)?(t.needReadable=!0,e=0):t.length-=e,0===t.length&&(t.ended||(t.needReadable=!0),r!==e&&t.ended&&j(this)),null!==n&&this.emit
vendor: 1,629 bytes, line 2
2("data",n),n},g.prototype._read=function(e){this.emit("error",new Error("_read() is not implemented"))},g.prototype.pipe=function(e,t){var r=this,o=this._readableState;switch(o.pipesCount){case 0:o.pipes=e;break;case 1:o.pipes=[o.pipes,e];break;default:o.pipes.push(e)}o.pipesCount+=1,d("pipe count=%d opts=%j",o.pipesCount,t);var u=(!t||!1!==t.end)&&e!==n.stdout&&e!==n.stderr?l:g;function c(t,n){d("onunpipe"),t===r&&n&&!1===n.hasUnpiped&&(n.hasUnpiped=!0,d("cleanup"),e.removeListener("close",b),e.removeListener("finish",v),e.removeListener("drain",f),e.removeListener("error",m),e.removeListener("unpipe",c),r.removeListener("end",l),r.removeListener("end",g),r.removeListener("data",y),h=!0,!o.awaitDrain||e._writableState&&!e._writableState.needDrain||f())}function l(){d("onend"),e.end()}o.endEmitted?i.nextTick(u):r.once("end",u),e.on("unpipe",c);var f=function(e){return function(){var t=e._readableState;d("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&s(e,"data")&&(t.flowing=!0,A(e))}}(r);e.on("drain",f);var h=!1;var p=!1;function y(t){d("ondata"),p=!1,!1!==e.write(t)||p||((1===o.pipesCount&&o.pipes===e||o.pipesCount>1&&-1!==N(o.pipes,e))&&!h&&(d("false write response, pause",r._readableState.awaitDrain),r._readableState.awaitDrain++,p=!0),r.pause())}function m(t){d("onerror",t),g(),e.removeListener("error",m),0===s(e,"error")&&e.emit("error",t)}function b(){e.removeListener("finish",v),g()}function v(){d("onfinish"),e.removeListener("close",b),g()}function g(){d("unpipe"),r.unpipe(e)}return r.on("data",y),function(e,t,r){if("function"===typeof e.prependListener)return e.prepe
2ndListener(t,r);e._events&&e._events[t]?a(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]:e.on(t,r)}(e,"error",m),e.once("close",b),e.once("finish",v),e.emit("pipe",r),o.flowing||(d("pipe resume"),r.resume()),e},g.prototype.unpipe=function(e){var t=this._readableState,r={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,r)),this;if(!e){var n=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;o<i;o++)n[o].emit("unpipe",this,r);return this}var a=N(t.pipes,e);return-1===a||(t.pipes.splice(a,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,r)),this},g.prototype.on=function(e,t){var r=u.prototype.on.call(this,e,t);if("data"===e)!1!==this._readableState.flowing&&this.resume();else if("readable"===e){var n=this._readableState;n.endEmitted||n.readableListening||(n.readableListening=n.needReadable=!0,n.emittedReadable=!1,n.reading?n.length&&x(this):i.nextTick(T,this))}return r},g.prototype.addListener=g.prototype.on,g.prototype.resume=function(){var e=this._readableState;return e.flowing||(d("resume"),e.flowing=!0,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,i.nextTick(P,e,t))}(this,e)),this},g.prototype.pause=function(){return d("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(d("pause"),this._readableState.flowing=!1,this.emit("pause")),this},g.prototype.wrap=function(e){var t=this,r=this._readableState,n=!1;for(var i in e.on("end",(function(){if(d("wrapped end"),r.decoder&&!r.ended){var e=r.decoder.end();e&&e.length&&t.push(e)}t.push(null)})),e.on("data",(function(i){(d("wrapped data"),r.decoder&&(i=r.decoder.write(i)),!r.objectMode||null!==i&&void 0!==i)&&((r.objectMode||i&&i.length)&&(t.push(i)||(n=!0,e.pause())))})),e)void 0===this[i]&&"function"===typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));for(var o=0;o<b.length;o++)e.on(b[o],this.emit.bind(this,b[o]));return this._read=function(t){d("wrapped _read",t),n&&(n=!1,e.resume())},this},Object.defineProperty(g.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),g._fromList=R}).call(this,r(11),r(8))},function(e,t,r){e.exports=r(26).EventEmitter},function(e,t,r){"use strict";var n=r(54);function i(e,t){e.emit("error",t)}e.exports={destroy:function(e,t){var r=this,o=this._readableState&&this._readableState.destroyed,a=this._writableState&&this._writableState.destroyed;return o||a?(t?t(e):!e||this._writableState&&this._writableState.errorEmitted||n.nextTick(i,this,e),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,(function(e){!t&&e?(n.nextTick(i,r,e),r._writableState&&(r._writableState.errorEmitted=!0)):t&&t(e)})),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}}},function(e,t,r){"use strict";e.exports=a;var n=r(27),i=Object.create(r(41));function o(e,t){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(!n)return this.emit("error",new Error("write callback called multiple times"));r.writechunk=null,r.writecb=null,null!=t&&this.push(t),n(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function a(e){if(!(this instanceof a))return new a(e);n.call(this,e),this._transformState={afterTransform:o.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"===typeof e.transform&&(this._transform=e.transform),"function"===typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",s)}function s(){var e=this;"function"===typeof this._flush?this._flush((function(t,r){u(e,t,r)})):u(this,null,null)}function u(e,t,r){if(t)return e.emit("error",t);if(null!=r&&e.push(r),e._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(e._transformState.transforming)throw new Error("Calling transform done when still transforming");return e.push(null)}i.inherits=r(3),i.inherits(a,n),a.prototype.push=function(e,t){return this._transformState.needTransform=!1,n.prototype.push.call(this,e,t)},a.prototype._transform=function(e,t,r){throw new Error("_transform() is not implemented")},a.prototype._write=function(e,t,r){var n=this._transformState;if(n.writecb=r,n.writechunk=e,n.writeencoding=t,!n.transforming){var i=this._readableState;(n.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},a.prototype._read=function(e){var t=this._transformState;null!==t.writechunk&&t.writecb&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0},a.prototype._destroy=function(e,t){var r=this;n.prototype._destroy.call(this,e,(function(e){t(e),r.emit("close")}))}},function(e,t,r){var n=r(263),i=r(5).Buffer,o=r(264),a=r(346),s=r(55),u="secret must be a string or buffer",c="key must be a string or a buffer",l="function"===typeof o.createPublicKey;function f(e){if(!i.isBuffer(e)&&"string"!==typeof e){if(!l)throw y(c);if("object"!==typeof e)throw y(c);if("string"!==typeof e.type)throw y(c);if("string"!==typeof e.asymmetricKeyType)throw y(c);if("function"!==typeof e.export)throw y(c)}}function h(e){if(!i.isBuffer(e)&&"string"!==typeof e&&"object"!==typeof e)throw y("key must be a string, a buffer or an object")}function d(e){return e.replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function p(e){var t=4-(e=e.toString()).length%4;if(4!==t)for(var r=0;r<t;++r)e+="=";return e.replace(/\-/g,"+").replace(/_/g,"/")}
2function y(e){var t=[].slice.call(arguments,1),r=s.format.bind(s,e).apply(null,t);return new TypeError(r)}function m(e){var t;return t=e,i.isBuffer(t)||"string"===typeof t||(e=JSON.stringify(e)),e}function b(e){return function(t,r){!function(e){if(!i.isBuffer(e)){if("string"===typeof e)return e;if(!l)throw y(u);if("object"!==typeof e)throw y(u);if("secret"!==e.type)throw y(u);if("function"!==typeof e.export)throw y(u)}}(r),t=m(t);var n=o.createHmac("sha"+e,r);return d((n.update(t),n.digest("base64")))}}function v(e){return function(t,r,o){var a=b(e)(t,o);return n(i.from(r),i.from(a))}}function g(e){return function(t,r){h(r),t=m(t);var n=o.createSign("RSA-SHA"+e);return d((n.update(t),n.sign(r,"base64")))}}function _(e){return function(t,r,n){f(n),t=m(t),r=p(r);var i=o.createVerify("RSA-SHA"+e);return i.update(t),i.verify(n,r,"base64")}}function w(e){return function(t,r){h(r),t=m(t);var n=o.createSign("RSA-SHA"+e);return d((n.update(t),n.sign({key:r,padding:o.constants.RSA_PKCS1_PSS_PADDING,saltLength:o.constants.RSA_PSS_SALTLEN_DIGEST},"base64")))}}function S(e){return function(t,r,n){f(n),t=m(t),r=p(r);var i=o.createVerify("RSA-SHA"+e);return i.update(t),i.verify({key:n,padding:o.constants.RSA_PKCS1_PSS_PADDING,saltLength:o.constants.RSA_PSS_SALTLEN_DIGEST},r,"base64")}}function M(e){var t=g(e);return function(){var r=t.apply(null,arguments);return r=a.derToJose(r,"ES"+e)}}function x(e){var t=_(e);return function(r,n,i){return n=a.joseToDer(n,"ES"+e).toString("base64"),t(r,n,i)}}function E(){return function(){return""}}function k(){return function(e,t){return""===t}}l&&(c+=" or a KeyObject",u+="or a KeyObject"),e.exports=function(e){var t={hs:b,rs:g,ps:w,es:M,none:E},r={hs:v,rs:_,ps:S,es:x,none:k},n=e.match(/^(RS|PS|ES|HS)(256|384|512)$|^(none)$/i);if(!n)throw y('"%s" is not a valid algorithm.\n Supported algorithms are:\n "HS256", "HS384", "HS512", "RS256", "RS384", "RS512", "PS256", "PS384", "PS512", "ES256", "ES384", "ES512" and "none".',e);var i=(n[1]||n[3]).toLowerCase(),o=n[2];return{sign:t[i](o),verify:r[i](o)}}},function(e,t,r){"use strict";var n=r(5).Buffer,i=r(265).Transform;function o(e){i.call(this),this._block=n.allocUnsafe(e),this._blockSize=e,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}r(3)(o,i),o.prototype._transform=function(e,t,r){var n=null;try{this.update(e,t)}catch(i){n=i}r(n)},o.prototype._flush=function(e){var t=null;try{this.push(this.digest())}catch(r){t=r}e(t)},o.prototype.update=function(e,t){if(function(e,t){if(!n.isBuffer(e)&&"string"!==typeof e)throw new TypeError(t+" must be a string or a buffer")}(e,"Data"),this._finalized)throw new Error("Digest already called");n.isBuffer(e)||(e=n.from(e,t));for(var r=this._block,i=0;this._blockOffset+e.length-i>=this._blockSize;){for(var o=this._blockOffset;o<this._blockSize;)r[o++]=e[i++];this._update(),this._blockOffset=0}for(;i<e.length;)r[this._blockOffset++]=e[i++];for(var a=0,s=8*e.length;s>0;++a)this._length[a]+=s,(s=this._length[a]/4294967296|0)>0&&(this._length[a]-=4294967296*s);return this},o.prototype._update=function(){throw new Error("_update is not implemented")},o.prototype.digest=function(e){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var t=this._digest();void 0!==e&&(t=t.toString(e)),this._block.fill(0),this._blockOffset=0;for(var r=0;r<4;++r)this._length[r]=0;return t},o.prototype._digest=function(){throw new Error("_digest is not implemented")},e.exports=o},function(e,t,r){"use strict";(function(t,n){var i;e.exports=E,E.ReadableState=x;r(26).EventEmitter;var o=function(e,t){return e.listeners(t).length},a=r(131),s=r(10).Buffer,u=t.Uint8Array||function(){};var c,l=r(266);c=l&&l.debuglog?l.debuglog("stream"):function(){};var f,h,d,p=r(267),y=r(132),m=r(133).getHighWaterMark,b=r(34).codes,v=b.ERR_INVALID_ARG_TYPE,g=b.ERR_STREAM_PUSH_AFTER_EOF,_=b.ERR_METHOD_NOT_IMPLEMENTED,w=b.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;r(3)(E,a);var S=y.errorOrDestroy,M=["error","close","destroy","pause","resume"];function x(e,t,n){i=i||r(35),e=e||{},"boolean"!==typeof n&&(n=t instanceof i),this.objectMode=!!e.objectMode,n&&(this.objectMode=this.objectMode||!!e.readableObjectMode),this.highWaterMark=m(this,e,"readableHighWaterMark",n),this.buffer=new p,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(f||(f=r(28).StringDecoder),this.decoder=new f(e.encoding),this.encoding=e.encoding)}function E(e){if(i=i||r(35),!(this instanceof E))return new E(e);var t=this instanceof i;this._readableState=new x(e,this,t),this.readable=!0,e&&("function"===typeof e.read&&(this._read=e.read),"function"===typeof e.destroy&&(this._destroy=e.destroy)),a.call(this)}function k(e,t,r,n,i){c("readableAddChunk",t);var o,a=e._readableState;if(null===t)a.reading=!1,function(e,t){if(c("onEofChunk"),t.ended)return;if(t.decoder){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,t.sync?A(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,R(e)))}(e,a);else if(i||(o=function(e,t){var r;n=t,s.isBuffer(n)||n instanceof u||"string"===typeof t||void 0===t||e.objectMode||(r=new v("chunk",["string","Buffer","Uint8Array"],t));var n;return r}(a,t)),o)S(e,o);else if(a.objectMode||t&&t.length>0)if("string"===typeof t||a.objectMode||Object.getPrototypeOf(t)===s.prototype||(t=function(e){return s.from(e)}(t)),n)a.endEmitted?S(e,new w):O(e,a,t,!0);else if(a.ended)S(e,new g);else{if(a.destroyed)return!1;a.reading=!1,a.decoder&&!r?(t=a.decoder.write(t),a.objectMode||0!==t.length?O(e,a,t,!1):j(e,a)):O(e,a,t,!1)}else n||(a.reading=!1,j(e,a));return!a.ended&&(a.length<a.highWaterMark||0===a.length)}function O(e,t,r,n){t.flowing&&0===t.length&&!t.sync?(t.awaitDrain=0,e.emit("data",r)):(t.length+=t.objectMode?1:r.length,n?t.buffer.unshift(r):t.buffer.push(r),t.needReadable&&A(e)),j(e,t)}Object.defineProperty(E.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),E.prototype.destroy=y.destroy,E.prototype._undestroy=y.undestroy,E.prototype._destroy=function(e,t){t(e)},E.prototype.push=function(e,t){var r,n=this._readableState;return n.objectMode?r=!0:"string"===typeof e&&((t=t||n.defaultEncoding)!==n.encoding&&(e=s.from(e,t),t=""),r=!0),k(this,e,t,!1,r)},E.prototype.unshift=function(e){return k(this,e,null,!0,!1)},E.prototype.isPaused=function(){return!1===this._readableState.flowing},E.prototype.setEncoding=function(e){f||(f=r(28).StringDecoder);var t=new f(e);this._readableState.decoder=t,this._readableState.encoding=this._readableState.decoder.encoding;
vendor: 4,742 bytes, line 2
2for(var n=this._readableState.buffer.head,i="";null!==n;)i+=t.write(n.data),n=n.next;return this._readableState.buffer.clear(),""!==i&&this._readableState.buffer.push(i),this._readableState.length=i.length,this};var T=1073741824;function P(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!==e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=function(e){return e>=T?e=T:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function A(e){var t=e._readableState;c("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(c("emitReadable",t.flowing),t.emittedReadable=!0,n.nextTick(R,e))}function R(e){var t=e._readableState;c("emitReadable_",t.destroyed,t.length,t.ended),t.destroyed||!t.length&&!t.ended||(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,D(e)}function j(e,t){t.readingMore||(t.readingMore=!0,n.nextTick(C,e,t))}function C(e,t){for(;!t.reading&&!t.ended&&(t.length<t.highWaterMark||t.flowing&&0===t.length);){var r=t.length;if(c("maybeReadMore read 0"),e.read(0),r===t.length)break}t.readingMore=!1}function N(e){var t=e._readableState;t.readableListening=e.listenerCount("readable")>0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function I(e){c("readable nexttick read 0"),e.read(0)}function L(e,t){c("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),D(e),t.flowing&&!t.reading&&e.read(0)}function D(e){var t=e._readableState;for(c("flow",t.flowing);t.flowing&&null!==e.read(););}function B(e,t){return 0===t.length?null:(t.objectMode?r=t.buffer.shift():!e||e>=t.length?(r=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):r=t.buffer.consume(e,t.decoder),r);var r}function q(e){var t=e._readableState;c("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,n.nextTick(U,t,e))}function U(e,t){if(c("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&0===e.length&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)){var r=t._writableState;(!r||r.autoDestroy&&r.finished)&&t.destroy()}}function z(e,t){for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}E.prototype.read=function(e){c("read",e),e=parseInt(e,10);var t=this._readableState,r=e;if(0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&((0!==t.highWaterMark?t.length>=t.highWaterMark:t.length>0)||t.ended))return c("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?q(this):A(this),null;if(0===(e=P(e,t))&&t.ended)return 0===t.length&&q(this),null;var n,i=t.needReadable;return c("need readable",i),(0===t.length||t.length-e<t.highWaterMark)&&c("length less than watermark",i=!0),t.ended||t.reading?c("reading or ended",i=!1):i&&(c("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=P(r,t))),null===(n=e>0?B(e,t):null)?(t.needReadable=t.length<=t.highWaterMark,e=0):(t.length-=e,t.awaitDrain=0),0===t.length&&(t.ended||(t.needReadable=!0),r!==e&&t.ended&&q(this)),null!==n&&this.emit("data",n),n},E.prototype._read=function(e){S(this,new _("_read()"))},E.prototype.pipe=function(e,t){var r=this,i=this._readableState;switch(i.pipesCount){case 0:i.pipes=e;break;case 1:i.pipes=[i.pipes,e];break;default:i.pipes.push(e)}i.pipesCount+=1,c("pipe count=%d opts=%j",i.pipesCount,t);var a=(!t||!1!==t.end)&&e!==n.stdout&&e!==n.stderr?u:m;function s(t,n){c("onunpipe"),t===r&&n&&!1===n.hasUnpiped&&(n.hasUnpiped=!0,c("cleanup"),e.removeListener("close",p),e.removeListener("finish",y),e.removeListener("drain",l),e.removeListener("error",d),e.removeListener("unpipe",s),r.removeListener("end",u),r.removeListener("end",m),r.removeListener("data",h),f=!0,!i.awaitDrain||e._writableState&&!e._writableState.needDrain||l())}function u(){c("onend"),e.end()}i.endEmitted?n.nextTick(a):r.once("end",a),e.on("unpipe",s);var l=function(e){return function(){var t=e._readableState;c("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&o(e,"data")&&(t.flowing=!0,D(e))}}(r);e.on("drain",l);var f=!1;function h(t){c("ondata");var n=e.write(t);c("dest.write",n),!1===n&&((1===i.pipesCount&&i.pipes===e||i.pipesCount>1&&-1!==z(i.pipes,e))&&!f&&(c("false write response, pause",i.awaitDrain),i.awaitDrain++),r.pause())}function d(t){c("onerror",t),m(),e.removeListener("error",d),0===o(e,"error")&&S(e,t)}function p(){e.removeListener("finish",y),m()}function y(){c("onfinish"),e.removeListener("close",p),m()}function m(){c("unpipe"),r.unpipe(e)}return r.on("data",h),function(e,t,r){if("function"===typeof e.prependListener)return e.prepe
vendor: 15,206 bytes, line 2
2ndListener(t,r);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]:e.on(t,r)}(e,"error",d),e.once("close",p),e.once("finish",y),e.emit("pipe",r),i.flowing||(c("pipe resume"),r.resume()),e},E.prototype.unpipe=function(e){var t=this._readableState,r={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,r)),this;if(!e){var n=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;o<i;o++)n[o].emit("unpipe",this,{hasUnpiped:!1});return this}var a=z(t.pipes,e);return-1===a||(t.pipes.splice(a,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,r)),this},E.prototype.on=function(e,t){var r=a.prototype.on.call(this,e,t),i=this._readableState;return"data"===e?(i.readableListening=this.listenerCount("readable")>0,!1!==i.flowing&&this.resume()):"readable"===e&&(i.endEmitted||i.readableListening||(i.readableListening=i.needReadable=!0,i.flowing=!1,i.emittedReadable=!1,c("on readable",i.length,i.reading),i.length?A(this):i.reading||n.nextTick(I,this))),r},E.prototype.addListener=E.prototype.on,E.prototype.removeListener=function(e,t){var r=a.prototype.removeListener.call(this,e,t);return"readable"===e&&n.nextTick(N,this),r},E.prototype.removeAllListeners=function(e){var t=a.prototype.removeAllListeners.apply(this,arguments);return"readable"!==e&&void 0!==e||n.nextTick(N,this),t},E.prototype.resume=function(){var e=this._readableState;return e.flowing||(c("resume"),e.flowing=!e.readableListening,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,n.nextTick(L,e,t))}(this,e)),e.paused=!1,this},E.prototype.pause=function(){return c("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(c("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},E.prototype.wrap=function(e){var t=this,r=this._readableState,n=!1;for(var i in e.on("end",(function(){if(c("wrapped end"),r.decoder&&!r.ended){var e=r.decoder.end();e&&e.length&&t.push(e)}t.push(null)})),e.on("data",(function(i){(c("wrapped data"),r.decoder&&(i=r.decoder.write(i)),!r.objectMode||null!==i&&void 0!==i)&&((r.objectMode||i&&i.length)&&(t.push(i)||(n=!0,e.pause())))})),e)void 0===this[i]&&"function"===typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));for(var o=0;o<M.length;o++)e.on(M[o],this.emit.bind(this,M[o]));return this._read=function(t){c("wrapped _read",t),n&&(n=!1,e.resume())},this},"function"===typeof Symbol&&(E.prototype[Symbol.asyncIterator]=function(){return void 0===h&&(h=r(269)),h(this)}),Object.defineProperty(E.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(E.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(E.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(e){this._readableState&&(this._readableState.flowing=e)}}),E._fromList=B,Object.defineProperty(E.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"===typeof Symbol&&(E.from=function(e,t){return void 0===d&&(d=r(270)),d(E,e,t)})}).call(this,r(11),r(8))},function(e,t,r){e.exports=r(26).EventEmitter},function(e,t,r){"use strict";(function(t){function r(e,t){i(e,t),n(e)}function n(e){e._writableState&&!e._writableState.emitClose||e._readableState&&!e._readableState.emitClose||e.emit("close")}function i(e,t){e.emit("error",t)}e.exports={destroy:function(e,o){var a=this,s=this._readableState&&this._readableState.destroyed,u=this._writableState&&this._writableState.destroyed;return s||u?(o?o(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,t.nextTick(i,this,e)):t.nextTick(i,this,e)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,(function(e){!o&&e?a._writableState?a._writableState.errorEmitted?t.nextTick(n,a):(a._writableState.errorEmitted=!0,t.nextTick(r,a,e)):t.nextTick(r,a,e):o?(t.nextTick(n,a),o(e)):t.nextTick(n,a)})),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function(e,t){var r=e._readableState,n=e._writableState;r&&r.autoDestroy||n&&n.autoDestroy?e.destroy(t):e.emit("error",t)}}}).call(this,r(8))},function(e,t,r){"use strict";var n=r(34).codes.ERR_INVALID_OPT_VALUE;e.exports={getHighWaterMark:function(e,t,r,i){var o=function(e,t,r){return null!=e.highWaterMark?e.highWaterMark:t?e[r]:null}(t,i,r);if(null!=o){if(!isFinite(o)||Math.floor(o)!==o||o<0)throw new n(i?r:"highWaterMark",o);return Math.floor(o)}return e.objectMode?16:16384}}},function(e,t,r){"use strict";(function(t,n){function i(e){var t=this;this.next=null,this.entry=null,this.finish=function(){!function(e,t,r){var n=e.entry;e.entry=null;for(;n;){var i=n.callback;t.pendingcb--,i(r),n=n.next}t.corkedRequestsFree.next=e}(t,e)}}var o;e.exports=E,E.WritableState=x;var a={deprecate:r(76)},s=r(131),u=r(10).Buffer,c=t.Uint8Array||function(){};var l,f=r(132),h=r(133).getHighWaterMark,d=r(34).codes,p=d.ERR_INVALID_ARG_TYPE,y=d.ERR_METHOD_NOT_IMPLEMENTED,m=d.ERR_MULTIPLE_CALLBACK,b=d.ERR_STREAM_CANNOT_PIPE,v=d.ERR_STREAM_DESTROYED,g=d.ERR_STREAM_NULL_VALUES,_=d.ERR_STREAM_WRITE_AFTER_END,w=d.ERR_UNKNOWN_ENCODING,S=f.errorOrDestroy;function M(){}function x(e,t,a){o=o||r(35),e=e||{},"boolean"!==typeof a&&(a=t instanceof o),this.objectMode=!!e.objectMode,a&&(this.objectMode=this.objectMode||!!e.writableObjectMode),this.highWaterMark=h(this,e,"writableHighWaterMark",a),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var s=!1===e.decodeStrings;this.decodeStrings=!s,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var r=e._writableState,i=r.sync,o=r.writecb;if("function"!==typeof o)throw new m;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(r),t)!function(e,t,r,i,o){--t.pendingcb,r?(n.nextTick(o,i),n.nextTick(R,e,t),e._writableState.errorEmitted=!0,S(e,i)):(o(i),e._writableState.errorEmitted=!0,S(e,i),R(e,t))}(e,r,i,t,o);else{var a=P(r)||e.destroyed;a||r.corked||r.bufferProcessing||!r.bufferedRequest||T(e,r),i?n.nextTick(O,e,r,a,o):O(e,r,a,o)}}(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new i(this)}function E(e){var t=this instanceof(o=o||r(35));if(!t&&!l.call(E,this))return new E(e);this._writableState=new x(e,this,t),this.writable=!0,e&&("function"===typeof e.write&&(this._write=e.write),"function"===typeof e.writev&&(this._writev=e.writev),"function"===typeof e.destroy&&(this._destroy=e.destroy),"function"===typeof e.final&&(this._final=e.final)),s.call(this)}function k(e,t,r,n,i,o,a){t.writelen=n,t.writecb=a,t.writing=!0,t.sync=!0,t.destroyed?t.onwrite(new v("write")):r?e._writev(i,t.onwrite):e._write(i,o,t.onwrite),t.sync=!1}function O(e,t,r,n){r||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,n(),R(e,t)}function T(e,t){t.bufferProcessing=!0;var r=t.bufferedRequest;if(e._writev&&r&&r.next){var n=t.bufferedRequestCount,o=new Array(n),a=t.corkedRequestsFree;a.entry=r;for(var s=0,u=!0;r;)o[s]=r,r.isBuf||(u=!1),r=r.next,s+=1;o.allBuffers=u,k(e,t,!0,t.length,o,"",a.finish),t.pendingcb++,t.lastBufferedRequest=null,a.next?(t.corkedRequestsFree=a.next,a.next=null):t.corkedRequestsFree=new i(t),t.bufferedRequestCount=0}else{for(;r;){var c=r.chunk,l=r.encoding,f=r.callback;if(k(e,t,!1,t.objectMode?1:c.length,c,l,f),r=r.next,t.bufferedRequestCount--,t.writing)break}null===r&&(t.lastBufferedRequest=null)}t.bufferedRequest=r,t.bufferProcessing=!1}function P(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function A(e,t){e._final((function(r){t.pendingcb--,r&&S(e,r),t.prefinished=!0,e.emit("prefinish"),R(e,t)}))}function R(e,t){var r=P(t);if(r&&(function(e,t){t.prefinished||t.finalCalled||("function"!==typeof e._final||t.destroyed?(t.prefinished=!0,e.emit("prefinish")):(t.pendingcb++,t.finalCalled=!0,n.nextTick(A,e,t)))}(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"),t.autoDestroy))){var i=e._readableState;(!i||i.autoDestroy&&i.endEmitted)&&e.destroy()}return r}r(3)(E,s),x.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(x.prototype,"buffer",{get:a.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"===typeof Symbol&&Symbol.hasInstance&&"function"===typeof Function.prototype[Symbol.hasInstance]?(l=Function.prototype[Symbol.hasInstance],Object.defineProperty(E,Symbol.hasInstance,{value:function(e){return!!l.call(this,e)||this===E&&(e&&e._writableState instanceof x)}})):l=function(e){return e instanceof this},E.prototype.pipe=function(){S(this,new b)},E.prototype.write=function(e,t,r){var i,o=this._writableState,a=!1,s=!o.objectMode&&(i=e,u.isBuffer(i)||i instanceof c);return s&&!u.isBuffer(e)&&(e=function(e){return u.from(e)}(e)),"function"===typeof t&&(r=t,t=null),s?t="buffer":t||(t=o.defaultEncoding),"function"!==typeof r&&(r=M),o.ending?function(e,t){var r=new _;S(e,r),n.nextTick(t,r)}(this,r):(s||function(e,t,r,i){var o;return null===r?o=new g:"string"===typeof r||t.objectMode||(o=new p("chunk",["string","Buffer"],r)),!o||(S(e,o),n.nextTick(i,o),!1)}(this,o,e,r))&&(o.pendingcb++,a=function(e,t,r,n,i,o){if(!r){var a=function(e,t,r){e.objectMode||!1===e.decodeStrings||"string"!==typeof t||(t=u.from(t,r));return t}(t,n,i);n!==a&&(r=!0,i="buffer",n=a)}var s=t.objectMode?1:n.length;t.length+=s;var c=t.length<t.highWaterMark;c||(t.needDrain=!0);if(t.writing||t.corked){var l=t.lastBufferedRequest;t.lastBufferedRequest={chunk:n,encoding:i,isBuf:r,callback:o,next:null},l?l.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else k(e,t,!1,s,n,i,o);return c}(this,o,s,e,t,r)),a},E.prototype.cork=function(){this._writableState.corked++},E.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.bufferProcessing||!e.bufferedRequest||T(this,e))},E.prototype.setDefaultEncoding=function(e){if("string"===typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new w(e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(E.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(E.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),E.prototype._write=function(e,t,r){r(new y("_write()"))},E.prototype._writev=null,E.prototype.end=function(e,t,r){var i=this._writableState;return"function"===typeof e?(r=e,e=null,t=null):"function"===typeof t&&(r=t,t=null),null!==e&&void 0!==e&&this.write(e,t),i.corked&&(i.corked=1,this.uncork()),i.ending||function(e,t,r){t.ending=!0,R(e,t),r&&(t.finished?n.nextTick(r):e.once("finish",r));t.ended=!0,e.writable=!1}(this,i,r),this},Object.defineProperty(E.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(E.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),E.prototype.destroy=f.destroy,E.prototype._undestroy=f.undestroy,E.prototype._destroy=function(e,t){t(e)}}).call(this,r(11),r(8))},function(e,t,r){"use strict";e.exports=l;var n=r(34).codes,i=n.ERR_METHOD_NOT_IMPLEMENTED,o=n.ERR_MULTIPLE_CALLBACK,a=n.ERR_TRANSFORM_ALREADY_TRANSFORMING,s=n.ERR_TRANSFORM_WITH_LENGTH_0,u=r(35);function c(e,t){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(null===n)return this.emit("error",new o);r.writechunk=null,r.writecb=null,null!=t&&this.push(t),n(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function l(e){if(!(this instanceof l))return new l(e);u.call(this,e),this._transformState={afterTransform:c.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"===typeof e.transform&&(this._transform=e.transform),"function"===typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",f)}function f(){var e=this;"function"!==typeof this._flush||this._readableState.destroyed?h(this,null,null):this._flush((function(t,r){h(e,t,r)}))}function h(e,t,r){if(t)return e.emit("error",t);if(null!=r&&e.push(r),e._writableState.length)throw new s;if(e._transformState.transforming)throw new a;return e.push(null)}r(3)(l,u),l.prototype.push=function(e,t){return this._transformState.needTransform=!1,u.prototype.push.call(this,e,t)},l.prototype._transform=function(e,t,r){r(new i("_transform()"))},l.prototype._write=function(e,t,r){var n=this._transformState;if(n.writecb=r,n.writechunk=e,n.writeencoding=t,!n.transforming){var i=this._readableState;(n.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},l.prototype._read=function(e){var t=this._transformState;null===t.writechunk||t.transforming?t.needTransform=!0:(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform))},l.prototype._destroy=function(e,t){u.prototype._destroy.call(this,e,(function(e){t(e)}))}},function(e,t,r){var n=r(3),i=r(36),o=r(5).Buffer,a=[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,2756
vendor: 14,853 bytes, line 2
2734187,3204031479,3329325298],s=new Array(64);function u(){this.init(),this._w=s,i.call(this,64,56)}function c(e,t,r){return r^e&(t^r)}function l(e,t,r){return e&t|r&(e|t)}function f(e){return(e>>>2|e<<30)^(e>>>13|e<<19)^(e>>>22|e<<10)}function h(e){return(e>>>6|e<<26)^(e>>>11|e<<21)^(e>>>25|e<<7)}function d(e){return(e>>>7|e<<25)^(e>>>18|e<<14)^e>>>3}n(u,i),u.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},u.prototype._update=function(e){for(var t,r=this._w,n=0|this._a,i=0|this._b,o=0|this._c,s=0|this._d,u=0|this._e,p=0|this._f,y=0|this._g,m=0|this._h,b=0;b<16;++b)r[b]=e.readInt32BE(4*b);for(;b<64;++b)r[b]=0|(((t=r[b-2])>>>17|t<<15)^(t>>>19|t<<13)^t>>>10)+r[b-7]+d(r[b-15])+r[b-16];for(var v=0;v<64;++v){var g=m+h(u)+c(u,p,y)+a[v]+r[v]|0,_=f(n)+l(n,i,o)|0;m=y,y=p,p=u,u=s+g|0,s=o,o=i,i=n,n=g+_|0}this._a=n+this._a|0,this._b=i+this._b|0,this._c=o+this._c|0,this._d=s+this._d|0,this._e=u+this._e|0,this._f=p+this._f|0,this._g=y+this._g|0,this._h=m+this._h|0},u.prototype._hash=function(){var e=o.allocUnsafe(32);return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e.writeInt32BE(this._h,28),e},e.exports=u},function(e,t,r){var n=r(3),i=r(36),o=r(5).Buffer,a=[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],s=new Array(160);function u(){this.init(),this._w=s,i.call(this,128,112)}function c(e,t,r){return r^e&(t^r)}function l(e,t,r){return e&t|r&(e|t)}function f(e,t){return(e>>>28|t<<4)^(t>>>2|e<<30)^(t>>>7|e<<25)}function h(e,t){return(e>>>14|t<<18)^(e>>>18|t<<14)^(t>>>9|e<<23)}function d(e,t){return(e>>>1|t<<31)^(e>>>8|t<<24)^e>>>7}function p(e,t){return(e>>>1|t<<31)^(e>>>8|t<<24)^(e>>>7|t<<25)}function y(e,t){return(e>>>19|t<<13)^(t>>>29|e<<3)^e>>>6}function m(e,t){return(e>>>19|t<<13)^(t>>>29|e<<3)^(e>>>6|t<<26)}function b(e,t){return e>>>0<t>>>0?1:0}n(u,i),u.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},u.prototype._update=function(e){for(var t=this._w,r=0|this._ah,n=0|this._bh,i=0|this._ch,o=0|this._dh,s=0|this._eh,u=0|this._fh,v=0|this._gh,g=0|this._hh,_=0|this._al,w=0|this._bl,S=0|this._cl,M=0|this._dl,x=0|this._el,E=0|this._fl,k=0|this._gl,O=0|this._hl,T=0;T<32;T+=2)t[T]=e.readInt32BE(4*T),t[T+1]=e.readInt32BE(4*T+4);for(;T<160;T+=2){var P=t[T-30],A=t[T-30+1],R=d(P,A),j=p(A,P),C=y(P=t[T-4],A=t[T-4+1]),N=m(A,P),I=t[T-14],L=t[T-14+1],D=t[T-32],B=t[T-32+1],q=j+L|0,U=R+I+b(q,j)|0;U=(U=U+C+b(q=q+N|0,N)|0)+D+b(q=q+B|0,B)|0,t[T]=U,t[T+1]=q}for(var z=0;z<160;z+=2){U=t[z],q=t[z+1];var F=l(r,n,i),H=l(_,w,S),V=f(r,_),W=f(_,r),G=h(s,x),K=h(x,s),Y=a[z],X=a[z+1],$=c(s,u,v),Z=c(x,E,k),J=O+K|0,Q=g+G+b(J,O)|0;Q=(Q=(Q=Q+$+b(J=J+Z|0,Z)|0)+Y+b(J=J+X|0,X)|0)+U+b(J=J+q|0,q)|0;var ee=W+H|0,te=V+F+b(ee,W)|0;g=v,O=k,v=u,k=E,u=s,E=x,s=o+Q+b(x=M+J|0,M)|0,o=i,M=S,i=n,S=w,n=r,w=_,r=Q+te+b(_=J+ee|0,J)|0}this._al=this._al+_|0,this._bl=this._bl+w|0,this._cl=this._cl+S|0,this._dl=this._dl+M|0,this._el=this._el+x|0,this._fl=this._fl+E|0,this._gl=this._gl+k|0,this._hl=this._hl+O|0,this._ah=this._ah+r+b(this._al,_)|0,this._bh=this._bh+n+b(this._bl,w)|0,this._ch=this._ch+i+b(this._cl,S)|0,this._dh=this._dh+o+b(this._dl,M)|0,this._eh=this._eh+s+b(this._el,x)|0,this._fh=this._fh+u+b(this._fl,E)|0,this._gh=this._gh+v+b(this._gl,k)|0,this._hh=this._hh+g+b(this._hl,O)|0},u.prototype._hash=function(){var e=o.allocUnsafe(64);function t(t,r,n){e.writeInt32BE(t,n),e.writeInt32BE(r,n+4)}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),e},e.exports=u},function(e,t,r){"use strict";var n=r(3),i=r(277),o=r(22),a=r(5).Buffer,s=r(139),u=r(79),c=r(80),l=a.alloc(128);function f(e,t){o.call(this,"digest"),"string"===typeof t&&(t=a.from(t));var r="sha512"===e||"sha384"===e?128:64;(this._alg=e,this._key=t,t.length>r)?t=("rmd160"===e?new u:c(e)).update(t).digest():t.length<r&&(t=a.concat([t,l],r));for(var n=this._ipad=a.allocUnsafe(r),i=this._opad=a.allocUnsafe(r),s=0;s<r;s++)n[s]=54^t[s],i[s]=92^t[s];this._hash="rmd160"===e?new u:c(e),this._hash.update(n)}n(f,o),f.prototype._update=function(e){this._hash.update(e)},f.prototype._final=function(){var e=this._hash.digest();return("rmd160"===this._alg?new u:c(this._alg)).update(this._opad).update(e).digest()},e.exports=function(e,t){return"rmd160"===(e=e.toLowerCase())||"ripemd160"===e?new f("rmd160",t):"md5"===e?new i(s,t):new f(e,t)}},function(e,t,r){var n=r(77);e.exports=function(e){return(new n).update(e).digest()}},function(e){e.exports=JSON.parse('{"sha224WithRSAEncryption":{"sign":"rsa","hash":"sha224","id":"302d300d06096086480165030402040500041c"},"RSA-SHA224":{"sign":"ecdsa/rsa","hash":"sha224","id":"302d300d06096086480165030402040500041c"},"sha256WithRSAEncryption":{"sign":"rsa","hash":"sha256","id":"3031300d060960864801650304020105000420"},"RSA-SHA256":{"sign":"ecdsa/rsa","hash":"sha256","id":"3031300d060960864801650304020105000420"},"sha384WithRSAEncryption":{"sign":"rsa","hash":"sha384","id":"3041300d060960864801650304020205000430"},"RSA-SHA384":{"sign":"ecdsa/rsa","hash":"sha384","id":"3041300d060960864801650304020205000430"},"sha512WithRSAEncryption":{"sign":"rsa","hash":"sha512","id":"3051300d060960864801650304020305000440"},"RSA-SHA512":{"sign":"ecdsa/rsa","hash":"sha512","id":"3051300d060960864801650304020305000440"},"RSA-SHA1":{"sign":"rsa","hash":"sha1","id":"3021300906052b0e03021a05000414"},"ecdsa-with-SHA1":{"sign":"ecdsa","hash":"sha1","id":""},"sha256":{"sign":"ecdsa","hash":"sha256","id":""},"sha224":{"sign":"ecdsa","hash":"sha224","id":""},"sha384":{"sign":"ecdsa","hash":"sha384","id":""},"sha512":{"sign":"ecdsa","hash":"sha512","id":""},"DSA-SHA":{"sign":"dsa","hash":"sha1","id":""},"DSA-SHA1":{"sign":"dsa","hash":"sha1","id":""},"DSA":{"sign":"dsa","hash":"sha1","id":""},"DSA-WITH-SHA224":{"sign":"dsa","hash":"sha224","id":""},"DSA-SHA224":{"sign":"dsa","hash":"sha224","id":""},"DSA-WITH-SHA256":{"sign":"dsa","hash":"sha256","id":""},"DSA-SHA256":{"sign":"dsa","hash":"sha256","id":""},"DSA-WITH-SHA384":{"sign":"dsa","hash":"sha384","id":""},"DSA-SHA384":{"sign":"dsa","hash":"sha384","id":""},"DSA-WITH-SHA512":{"sign":"dsa","hash":"sha512","id":""},"DSA-SHA512":{"sign":"dsa","hash":"sha512","id":""},"DSA-RIPEMD160":{"sign":"dsa","hash":"rmd160","id":""},"ripemd160WithRSA":{"sign":"rsa","hash":"rmd160","id":"3021300906052b2403020105000414"},"RSA-RIPEMD160":{"sign":"rsa","hash":"rmd160","id":"3021300906052b2403020105000414"},"md5WithRSAEncryption":{"sign":"rsa","hash":"md5","id":"3020300c06082a864886f70d020505000410"},"RSA-MD5":{"sign":"rsa","hash":"md5","id":"3020300c06082a864886f70d020505000410"}}')},function(e,t,r){t.pbkdf2=r(279),t.pbkdf2Sync=r(144)},function(e,t){var r=Math.pow(2,30)-1;e.exports=function(e,t){if("number"!==typeof e)throw new TypeError("Iterations not a number");if(e<0)throw new TypeError("Bad iterations");if("number"!==typeof t)throw new TypeError("Key length not a number");if(t<0||t>r||t!==t)throw new TypeError("Bad key length")}},function(e,t,r){(function(t){var r;if(t.browser)r="utf-8";else if(t.version){r=parseInt(t.version.split(".")[0].slice(1),10)>=6?"utf-8":"binary"}else r="utf-8";e.exports=r}).call(this,r(8))},function(e,t,r){var n=r(139),i=r(79),o=r(80),a=r(5).Buffer,s=r(142),u=r(143),c=r(145),l=a.alloc(128),f={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,rmd160:20,ripemd160:20};function h(e,t,r){var s=function(e){function t(t){return o(e).update(t).digest()}function r(e){return(new i).update(e).digest()}return"rmd160"===e||"ripemd160"===e?r:"md5"===e?n:t}(e),u="sha512"===e||"sha384"===e?128:64;t.length>u?t=s(t):t.length<u&&(t=a.concat([t,l],u));for(var c=a.allocUnsafe(u+f[e]),h=a.allocUnsafe(u+f[e]),d=0;d<u;d++)c[d]=54^t[d],h[d]=92^t[d];var p=a.allocUnsafe(u+r+4);c.copy(p,0,0,u),this.ipad1=p,this.ipad2=c,this.opad=h,this.alg=e,this.blocksize=u,this.hash=s,this.size=f[e]}h.prototype.run=function(e,t){return e.copy(t,this.blocksize),this.hash(t).copy(this.opad,this.blocksize),this.hash(this.opad)},e.exports=function(e,t,r,n,i){s(r,n);var o=new h(i=i||"sha1",e=c(e,u,"Password"),(t=c(t,u,"Salt")).length),l=a.allocUnsafe(n),d=a.allocUnsafe(t.length+4);t.copy(d,0,0,t.length);for(var p=0,y=f[i],m=Math.ceil(n/y),b=1;b<=m;b++){d.writeUInt32BE(b,t.length);for(var v=o.run(d,o.ipad1),g=v,_=1;_<r;_++){g=o.run(g,o.ipad2);for(var w=0;w<y;w++)v[w]^=g[w]}v.copy(l,p),p+=y}return l}},function(e,t,r){var n=r(5).Buffer;e.exports=function(e,t,r){if(n.isBuffer(e))return e;if("string"===typeof e)return n.from(e,t);if(ArrayBuffer.isView(e))return n.from(e.buffer);throw new TypeError(r+" must be a string, a Buffer, a typed array or a DataView")}},function(e,t,r){"use strict";t.readUInt32BE=function(e,t){return(e[0+t]<<24|e[1+t]<<16|e[2+t]<<8|e[3+t])>>>0},t.writeUInt32BE=function(e,t,r){e[0+r]=t>>>24,e[1+r]=t>>>16&255,e[2+r]=t>>>8&255,e[3+r]=255&t},t.ip=function(e,t,r,n){for(var i=0,o=0,a=6;a>=0;a-=2){for(var s=0;s<=24;s+=8)i<<=1,i|=t>>>s+a&1;for(s=0;s<=24;s+=8)i<<=1,i|=e>>>s+a&1}for(a=6;a>=0;a-=2){for(s=1;s<=25;s+=8)o<<=1,o|=t>>>s+a&1;for(s=1;s<=25;s+=8)o<<=1,o|=e>>>s+a&1}r[n+0]=i>>>0,r[n+1]=o>>>0},t.rip=function(e,t,r,n){for(var i=0,o=0,a=0;a<4;a++)for(var s=24;s>=0;s-=8)i<<=1,i|=t>>>s+a&1,i<<=1,i|=e>>>s+a&1;for(a=4;a<8;a++)for(s=24;s>=0;s-=8)o<<=1,o|=t>>>s+a&1,o<<=1,o|=e>>>s+a&1;r[n+0]=i>>>0,r[n+1]=o>>>0},t.pc1=function(e,t,r,n){for(var i=0,o=0,a=7;a>=5;a--){for(var s=0;s<=24;s+=8)i<<=1,i|=t>>s+a&1;for(s=0;s<=24;s+=8)i<<=1,i|=e>>s+a&1}for(s=0;s<=24;s+=8)i<<=1,i|=t>>s+a&1;for(a=1;a<=3;a++){for(s=0;s<=24;s+=8)o<<=1,o|=t>>s+a&1;for(s=0;s<=24;s+=8)o<<=1,o|=e>>s+a&1}for(s=0;s<=24;s+=8)o<<=1,o|=e>>s+a&1;r[n+0]=i>>>0,r[n+1]=o>>>0},t.r28shl=function(e,t){return e<<t&268435455|e>>>28-t};var n=[14,11,17,4,27,23,25,0,13,22,7,18,5,9,16,24,2,20,12,21,1,8,15,26,15,4,25,19,9,1,26,16,5,11,23,8,12,7,17,0,22,3,10,14,6,20,27,24];t.pc2=function(e,t,r,i){for(var o=0,a=0,s=n.length>>>1,u=0;u<s;u++)o<<=1,o|=e>>>n[u]&1;for(u=s;u<n.length;u++)a<<=1,a|=t>>>n[u]&1;r[i+0]=o>>>0,r[i+1]=a>>>0},t.expand=function(e,t,r){var n=0,i=0;n=(1&e)<<5|e>>>27;for(var o=23;o>=15;o-=4)n<<=6,n|=e>>>o&63;for(o=11;o>=3;o-=4)i|=e>>>o&63,i<<=6;i|=(31&e)<<1|e>>>31,t[r+0]=n>>>0,t[r+1]=i>>>0};var i=[14,0,4,15,13,7,1,4,2,14,15,2,11,13,8,1,3,10,10,6,6,12,12,11,5,9,9,5,0,3,7,8,4,15,1,12,14,8,8,2,13,4,6,9,2,1,11,7,15,5,12,11,9,3,7,14,3,10,10,0,5,6,0,13,15,3,1,13,8,4,14,7,6,15,11,2,3,8,4,14,9,12,7,0,2,1,13,10,12,6,0,9,5,11,10,5,0,13,14,8,7,10,11,1,10,3,4,15,13,4,1,2,5,11,8,6,12,7,6,12,9,0,3,5,2,14,15,9,10,13,0,7,9,0,14,9,6,3,3,4,15,6,5,10,1,2,13,8,12,5,7,14,11,12,4,11,2,15,8,1,13,1,6,10,4,13,9,0,8,6,15,9,3,8,0,7,11,4,1,15,2,14,12,3,5,11,10,5,14,2,7,12,7,13,13,8,14,11,3,5,0,6,6,15,9,0,10,3,1,4,2,7,8,2,5,12,11,1,12,10,4,14,15,9,10,3,6,15,9,0,0,6,12,10,11,1,7,13,13,8,15,9,1,4,3,5,14,11,5,12,2,7,8,2,4,14,2,14,12,11,4,2,1,12,7,4,10,7,11,13,6,1,8,5,5,0,3,15,15,10,13,3,0,9,14,8,9,6,4,11,2,8,1,12,11,7,10,1,13,14,7,2,8,13,15,6,9,15,12,0,5,9,6,10,3,4,0,5,14,3,12,10,1,15,10,4,15,2,9,7,2,12,6,9,8,5,0,6,13,1,3,13,4,14,14,0,7,11,5,3,11,8,9,4,14,3,15,2,5,12,2,9,8,5,12,15,3,10,7,11,0,14,4,1,10,7,1,6,13,0,11,8,6,13,4,13,11,0,2,11,14,7,15,4,0,9,8,1,13,10,3,14,12,3,9,5,7,12,5,2,10,15,6,8,1,6,1,6,4,11,11,13,13,8,12,1,3,4,7,10,14,7,10,9,15,5,6,0,8,15,0,14,5,2,9,3,2,12,13,1,2,15,8,13,4,8,6,10,15,3,11,7,1,4,10,12,9,5,3,6,14,11,5,0,0,14,12,9,7,2,7,2,11,1,4,14,1,7,9,4,12,10,14,8,2,13,0,15,6,12,10,9,13,0,15,3,3,5,5,6,8,11];t.substitute=function(e,t){for(var r=0,n=0;n<4;n++){r<<=4,r|=i[64*n+(e>>>18-6*n&63)]}for(n=0;n<4;n++){r<<=4,r|=i[256+64*n+(t>>>18-6*n&63)]}return r>>>0};var o=[16,25,12,11,3,20,4,15,31,17,9,6,27,14,1,22,30,24,8,18,0,5,29,23,13,19,2,26,10,21,28,7];t.permute=function(e){for(var t=0,r=0;r<o.length;r++)t<<=1,t|=e>>>o[r]&1;return t>>>0},t.padSplit=function(e,t,r){for(var n=e.toString(2);n.length<t;)n="0"+n;for(var i=[],o=0;o<t;o+=r)i.push(n.slice(o,o+r));return i.join(" ")}},function(e,t,r){"use strict";var n=r(15),i=r(3),o=r(146),a=r(81);function s(){this.tmp=new Array(2),this.keys=null}function u(e){a.call(this,e);var t=new s;this._desState=t,this.deriveKeys(t,e.key)}i(u,a),e.exports=u,u.create=function(e){return new u(e)};var c=[1,1,2,2,2,2,2,2,1,2,2,2,2,2,2,1];u.prototype.deriveKeys=function(e,t){e.keys=new Array(32),n.equal(t.length,this.blockSize,"Invalid key length");var r=o.readUInt32BE(t,0),i=o.readUInt32BE(t,4);o.pc1(r,i,e.tmp,0),r=e.tmp[0],i=e.tmp[1];for(var a=0;a<e.keys.length;a+=2){var s=c[a>>>1];r=o.r28shl(r,s),i=o.r28shl(i,s),o.pc2(r,i,e.keys,a)}},u.prototype._update=function(e,t,r,n){var i=this._desState,a=o.readUInt32BE(e,t),s=o.readUInt32BE(e,t+4);o.ip(a,s,i.tmp,0),a=i.tmp[0],s=i.tmp[1],"encrypt"===this.type?this._encrypt
vendor: 5,965 bytes, line 2
2(i,a,s,i.tmp,0):this._decrypt(i,a,s,i.tmp,0),a=i.tmp[0],s=i.tmp[1],o.writeUInt32BE(r,a,n),o.writeUInt32BE(r,s,n+4)},u.prototype._pad=function(e,t){for(var r=e.length-t,n=t;n<e.length;n++)e[n]=r;return!0},u.prototype._unpad=function(e){for(var t=e[e.length-1],r=e.length-t;r<e.length;r++)n.equal(e[r],t);return e.slice(0,e.length-t)},u.prototype._encrypt=function(e,t,r,n,i){for(var a=t,s=r,u=0;u<e.keys.length;u+=2){var c=e.keys[u],l=e.keys[u+1];o.expand(s,e.tmp,0),c^=e.tmp[0],l^=e.tmp[1];var f=o.substitute(c,l),h=s;s=(a^o.permute(f))>>>0,a=h}o.rip(s,a,n,i)},u.prototype._decrypt=function(e,t,r,n,i){for(var a=r,s=t,u=e.keys.length-2;u>=0;u-=2){var c=e.keys[u],l=e.keys[u+1];o.expand(a,e.tmp,0),c^=e.tmp[0],l^=e.tmp[1];var f=o.substitute(c,l),h=a;a=(s^o.permute(f))>>>0,s=h}o.rip(a,s,n,i)}},function(e,t,r){var n=r(43),i=r(5).Buffer,o=r(149);function a(e){var t=e._cipher.encryptBlockRaw(e._prev);return o(e._prev),t}t.encrypt=function(e,t){var r=Math.ceil(t.length/16),o=e._cache.length;e._cache=i.concat([e._cache,i.allocUnsafe(16*r)]);for(var s=0;s<r;s++){var u=a(e),c=o+16*s;e._cache.writeUInt32BE(u[0],c+0),e._cache.writeUInt32BE(u[1],c+4),e._cache.writeUInt32BE(u[2],c+8),e._cache.writeUInt32BE(u[3],c+12)}var l=e._cache.slice(0,t.length);return e._cache=e._cache.slice(t.length),n(t,l)}},function(e,t){e.exports=function(e){for(var t,r=e.length;r--;){if(255!==(t=e.readUInt8(r))){t++,e.writeUInt8(t,r);break}e.writeUInt8(0,r)}}},function(e){e.exports=JSON.parse('{"aes-128-ecb":{"cipher":"AES","key":128,"iv":0,"mode":"ECB","type":"block"},"aes-192-ecb":{"cipher":"AES","key":192,"iv":0,"mode":"ECB","type":"block"},"aes-256-ecb":{"cipher":"AES","key":256,"iv":0,"mode":"ECB","type":"block"},"aes-128-cbc":{"cipher":"AES","key":128,"iv":16,"mode":"CBC","type":"block"},"aes-192-cbc":{"cipher":"AES","key":192,"iv":16,"mode":"CBC","type":"block"},"aes-256-cbc":{"cipher":"AES","key":256,"iv":16,"mode":"CBC","type":"block"},"aes128":{"cipher":"AES","key":128,"iv":16,"mode":"CBC","type":"block"},"aes192":{"cipher":"AES","key":192,"iv":16,"mode":"CBC","type":"block"},"aes256":{"cipher":"AES","key":256,"iv":16,"mode":"CBC","type":"block"},"aes-128-cfb":{"cipher":"AES","key":128,"iv":16,"mode":"CFB","type":"stream"},"aes-192-cfb":{"cipher":"AES","key":192,"iv":16,"mode":"CFB","type":"stream"},"aes-256-cfb":{"cipher":"AES","key":256,"iv":16,"mode":"CFB","type":"stream"},"aes-128-cfb8":{"cipher":"AES","key":128,"iv":16,"mode":"CFB8","type":"stream"},"aes-192-cfb8":{"cipher":"AES","key":192,"iv":16,"mode":"CFB8","type":"stream"},"aes-256-cfb8":{"cipher":"AES","key":256,"iv":16,"mode":"CFB8","type":"stream"},"aes-128-cfb1":{"cipher":"AES","key":128,"iv":16,"mode":"CFB1","type":"stream"},"aes-192-cfb1":{"cipher":"AES","key":192,"iv":16,"mode":"CFB1","type":"stream"},"aes-256-cfb1":{"cipher":"AES","key":256,"iv":16,"mode":"CFB1","type":"stream"},"aes-128-ofb":{"cipher":"AES","key":128,"iv":16,"mode":"OFB","type":"stream"},"aes-192-ofb":{"cipher":"AES","key":192,"iv":16,"mode":"OFB","type":"stream"},"aes-256-ofb":{"cipher":"AES","key":256,"iv":16,"mode":"OFB","type":"stream"},"aes-128-ctr":{"cipher":"AES","key":128,"iv":16,"mode":"CTR","type":"stream"},"aes-192-ctr":{"cipher":"AES","key":192,"iv":16,"mode":"CTR","type":"stream"},"aes-256-ctr":{"cipher":"AES","key":256,"iv":16,"mode":"CTR","type":"stream"},"aes-128-gcm":{"cipher":"AES","key":128,"iv":12,"mode":"GCM","type":"auth"},"aes-192-gcm":{"cipher":"AES","key":192,"iv":12,"mode":"GCM","type":"auth"},"aes-256-gcm":{"cipher":"AES","key":256,"iv":12,"mode":"GCM","type":"auth"}}')},function(e,t,r){var n=r(56),i=r(5).Buffer,o=r(22),a=r(3),s=r(292),u=r(43),c=r(149);function l(e,t,r,a){o.call(this);var u=i.alloc(4,0);this._cipher=new n.AES(t);var l=this._cipher.encryptBlock(u);this._ghash=new s(l),r=function(e,t,r){if(12===t.length)return e._finID=i.concat([t,i.from([0,0,0,1])]),i.concat([t,i.from([0,0,0,2])]);var n=new s(r),o=t.length,a=o%16;n.update(t),a&&(a=16-a,n.update(i.alloc(a,0))),n.update(i.alloc(8,0));var u=8*o,l=i.alloc(8);l.writeUIntBE(u,0,8),n.update(l),e._finID=n.state;var f=i.from(e._finID);return c(f),f}(this,r,l),this._prev=i.from(r),this._cache=i.allocUnsafe(0),this._secCache=i.allocUnsafe(0),this._decrypt=a,this._alen=0,this._len=0,this._mode=e,this._authTag=null,this._called=!1}a(l,o),l.prototype._update=function(e){if(!this._called&&this._alen){var t=16-this._alen%16;t<16&&(t=i.alloc(t,0),this._ghash.update(t))}this._called=!0;var r=this._mode.encrypt(this,e);return this._decrypt?this._ghash.update(e):this._ghash.update(r),this._len+=e.length,r},l.prototype._final=function(){if(this._decrypt&&!this._authTag)throw new Error("Unsupported state or unable to authenticate data");var e=u(this._ghash.final(8*this._alen,8*this._len),this._cipher.encryptBlock(this._finID));if(this._decrypt&&function(e,t){var r=0;e.length!==t.length&&r++;for(var n=Math.min(e.length,t.length),i=0;i<n;++i)r+=e[i]^t[i];return r}(e,this._authTag))throw new Error("Unsupported state or unable to authenticate data");this._authTag=e,this._cipher.scrub()},l.prototype.getAuthTag=function(){if(this._decrypt||!i.isBuffer(this._authTag))throw new Error("Attempting to get auth tag in unsupported state");return this._authTag},l.prototype.setAuthTag=function(e){if(!this._decrypt)throw new Error("Attempting to set auth tag in unsupported state");this._authTag=e},l.prototype.setAAD=function(e){if(this._called)throw new Error("Attempting to set AAD in unsupported state");this._ghash.update(e),this._alen+=e.length},e.exports=l},function(e,t,r){var n=r(56),i=r(5).Buffer,o=r(22);function a(e,t,r,a){o.call(this),this._cipher=new n.AES(t),this._prev=i.from(r),this._cache=i.allocUnsafe(0),this._secCache=i.allocUnsafe(0),this._decrypt=a,this._mode=e}r(3)(a,o),a.prototype._update=function(e){return this._mode.encrypt(this,e,this._decrypt)},a.prototype._final=function(){this._cipher.scrub()},e.exports=a},function(e,t,r){var n=r(33);e.exports=v,v.simpleSieve=m,v.fermatTest=b;
vendor: 5,745 bytes, line 2
2var i=r(12),o=new i(24),a=new(r(154)),s=new i(1),u=new i(2),c=new i(5),l=(new i(16),new i(8),new i(10)),f=new i(3),h=(new i(7),new i(11)),d=new i(4),p=(new i(12),null);function y(){if(null!==p)return p;var e=[];e[0]=2;for(var t=1,r=3;r<1048576;r+=2){for(var n=Math.ceil(Math.sqrt(r)),i=0;i<t&&e[i]<=n&&r%e[i]!==0;i++);t!==i&&e[i]<=n||(e[t++]=r)}return p=e,e}function m(e){for(var t=y(),r=0;r<t.length;r++)if(0===e.modn(t[r]))return 0===e.cmpn(t[r]);return!0}function b(e){var t=i.mont(e);return 0===u.toRed(t).redPow(e.subn(1)).fromRed().cmpn(1)}function v(e,t){if(e<16)return new i(2===t||5===t?[140,123]:[140,39]);var r,p;for(t=new i(t);;){for(r=new i(n(Math.ceil(e/8)));r.bitLength()>e;)r.ishrn(1);if(r.isEven()&&r.iadd(s),r.testn(1)||r.iadd(u),t.cmp(u)){if(!t.cmp(c))for(;r.mod(l).cmp(f);)r.iadd(d)}else for(;r.mod(o).cmp(h);)r.iadd(d);if(m(p=r.shrn(1))&&m(r)&&b(p)&&b(r)&&a.test(p)&&a.test(r))return r}}},function(e,t,r){var n=r(12),i=r(85);function o(e){this.rand=e||new i.Rand}e.exports=o,o.create=function(e){return new o(e)},o.prototype._randbelow=function(e){var t=e.bitLength(),r=Math.ceil(t/8);do{var i=new n(this.rand.generate(r))}while(i.cmp(e)>=0);return i},o.prototype._randrange=function(e,t){var r=t.sub(e);return e.add(this._randbelow(r))},o.prototype.test=function(e,t,r){var i=e.bitLength(),o=n.mont(e),a=new n(1).toRed(o);t||(t=Math.max(1,i/48|0));for(var s=e.subn(1),u=0;!s.testn(u);u++);for(var c=e.shrn(u),l=s.toRed(o);t>0;t--){var f=this._randrange(new n(2),s);r&&r(f);var h=f.toRed(o).redPow(c);if(0!==h.cmp(a)&&0!==h.cmp(l)){for(var d=1;d<u;d++){if(0===(h=h.redSqr()).cmp(a))return!1;if(0===h.cmp(l))break}if(d===u)return!1}}return!0},o.prototype.getDivisor=function(e,t){var r=e.bitLength(),i=n.mont(e),o=new n(1).toRed(i);t||(t=Math.max(1,r/48|0));for(var a=e.subn(1),s=0;!a.testn(s);s++);for(var u=e.shrn(s),c=a.toRed(i);t>0;t--){var l=this._randrange(new n(2),a),f=e.gcd(l);if(0!==f.cmpn(1))return f;var h=l.toRed(i).redPow(u);if(0!==h.cmp(o)&&0!==h.cmp(c)){for(var d=1;d<s;d++){if(0===(h=h.redSqr()).cmp(o))return h.fromRed().subn(1).gcd(e);if(0===h.cmp(c))break}if(d===s)return(h=h.redSqr()).fromRed().subn(1).gcd(e)}}return!1}},function(e,t,r){"use strict";(function(t,n){var i;e.exports=E,E.ReadableState=x;r(26).EventEmitter;var o=function(e,t){return e.listeners(t).length},a=r(156),s=r(10).Buffer,u=t.Uint8Array||function(){};var c,l=r(302);c=l&&l.debuglog?l.debuglog("stream"):function(){};var f,h,d,p=r(303),y=r(157),m=r(158).getHighWaterMark,b=r(37).codes,v=b.ERR_INVALID_ARG_TYPE,g=b.ERR_STREAM_PUSH_AFTER_EOF,_=b.ERR_METHOD_NOT_IMPLEMENTED,w=b.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;r(3)(E,a);var S=y.errorOrDestroy,M=["error","close","destroy","pause","resume"];function x(e,t,n){i=i||r(38),e=e||{},"boolean"!==typeof n&&(n=t instanceof i),this.objectMode=!!e.objectMode,n&&(this.objectMode=this.objectMode||!!e.readableObjectMode),this.highWaterMark=m(this,e,"readableHighWaterMark",n),this.buffer=new p,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(f||(f=r(28).StringDecoder),this.decoder=new f(e.encoding),this.encoding=e.encoding)}function E(e){if(i=i||r(38),!(this instanceof E))return new E(e);var t=this instanceof i;this._readableState=new x(e,this,t),this.readable=!0,e&&("function"===typeof e.read&&(this._read=e.read),"function"===typeof e.destroy&&(this._destroy=e.destroy)),a.call(this)}function k(e,t,r,n,i){c("readableAddChunk",t);var o,a=e._readableState;if(null===t)a.reading=!1,function(e,t){if(c("onEofChunk"),t.ended)return;if(t.decoder){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,t.sync?A(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,R(e)))}(e,a);else if(i||(o=function(e,t){var r;n=t,s.isBuffer(n)||n instanceof u||"string"===typeof t||void 0===t||e.objectMode||(r=new v("chunk",["string","Buffer","Uint8Array"],t));var n;return r}(a,t)),o)S(e,o);else if(a.objectMode||t&&t.length>0)if("string"===typeof t||a.objectMode||Object.getPrototypeOf(t)===s.prototype||(t=function(e){return s.from(e)}(t)),n)a.endEmitted?S(e,new w):O(e,a,t,!0);else if(a.ended)S(e,new g);else{if(a.destroyed)return!1;a.reading=!1,a.decoder&&!r?(t=a.decoder.write(t),a.objectMode||0!==t.length?O(e,a,t,!1):j(e,a)):O(e,a,t,!1)}else n||(a.reading=!1,j(e,a));return!a.ended&&(a.length<a.highWaterMark||0===a.length)}function O(e,t,r,n){t.flowing&&0===t.length&&!t.sync?(t.awaitDrain=0,e.emit("data",r)):(t.length+=t.objectMode?1:r.length,n?t.buffer.unshift(r):t.buffer.push(r),t.needReadable&&A(e)),j(e,t)}Object.defineProperty(E.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),E.prototype.destroy=y.destroy,E.prototype._undestroy=y.undestroy,E.prototype._destroy=function(e,t){t(e)},E.prototype.push=function(e,t){var r,n=this._readableState;return n.objectMode?r=!0:"string"===typeof e&&((t=t||n.defaultEncoding)!==n.encoding&&(e=s.from(e,t),t=""),r=!0),k(this,e,t,!1,r)},E.prototype.unshift=function(e){return k(this,e,null,!0,!1)},E.prototype.isPaused=function(){return!1===this._readableState.flowing},E.prototype.setEncoding=function(e){f||(f=r(28).StringDecoder);var t=new f(e);this._readableState.decoder=t,this._readableState.encoding=this._readableState.decoder.encoding;
vendor: 4,742 bytes, line 2
2for(var n=this._readableState.buffer.head,i="";null!==n;)i+=t.write(n.data),n=n.next;return this._readableState.buffer.clear(),""!==i&&this._readableState.buffer.push(i),this._readableState.length=i.length,this};var T=1073741824;function P(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!==e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=function(e){return e>=T?e=T:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function A(e){var t=e._readableState;c("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(c("emitReadable",t.flowing),t.emittedReadable=!0,n.nextTick(R,e))}function R(e){var t=e._readableState;c("emitReadable_",t.destroyed,t.length,t.ended),t.destroyed||!t.length&&!t.ended||(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,D(e)}function j(e,t){t.readingMore||(t.readingMore=!0,n.nextTick(C,e,t))}function C(e,t){for(;!t.reading&&!t.ended&&(t.length<t.highWaterMark||t.flowing&&0===t.length);){var r=t.length;if(c("maybeReadMore read 0"),e.read(0),r===t.length)break}t.readingMore=!1}function N(e){var t=e._readableState;t.readableListening=e.listenerCount("readable")>0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function I(e){c("readable nexttick read 0"),e.read(0)}function L(e,t){c("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),D(e),t.flowing&&!t.reading&&e.read(0)}function D(e){var t=e._readableState;for(c("flow",t.flowing);t.flowing&&null!==e.read(););}function B(e,t){return 0===t.length?null:(t.objectMode?r=t.buffer.shift():!e||e>=t.length?(r=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):r=t.buffer.consume(e,t.decoder),r);var r}function q(e){var t=e._readableState;c("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,n.nextTick(U,t,e))}function U(e,t){if(c("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&0===e.length&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)){var r=t._writableState;(!r||r.autoDestroy&&r.finished)&&t.destroy()}}function z(e,t){for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}E.prototype.read=function(e){c("read",e),e=parseInt(e,10);var t=this._readableState,r=e;if(0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&((0!==t.highWaterMark?t.length>=t.highWaterMark:t.length>0)||t.ended))return c("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?q(this):A(this),null;if(0===(e=P(e,t))&&t.ended)return 0===t.length&&q(this),null;var n,i=t.needReadable;return c("need readable",i),(0===t.length||t.length-e<t.highWaterMark)&&c("length less than watermark",i=!0),t.ended||t.reading?c("reading or ended",i=!1):i&&(c("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=P(r,t))),null===(n=e>0?B(e,t):null)?(t.needReadable=t.length<=t.highWaterMark,e=0):(t.length-=e,t.awaitDrain=0),0===t.length&&(t.ended||(t.needReadable=!0),r!==e&&t.ended&&q(this)),null!==n&&this.emit("data",n),n},E.prototype._read=function(e){S(this,new _("_read()"))},E.prototype.pipe=function(e,t){var r=this,i=this._readableState;switch(i.pipesCount){case 0:i.pipes=e;break;case 1:i.pipes=[i.pipes,e];break;default:i.pipes.push(e)}i.pipesCount+=1,c("pipe count=%d opts=%j",i.pipesCount,t);var a=(!t||!1!==t.end)&&e!==n.stdout&&e!==n.stderr?u:m;function s(t,n){c("onunpipe"),t===r&&n&&!1===n.hasUnpiped&&(n.hasUnpiped=!0,c("cleanup"),e.removeListener("close",p),e.removeListener("finish",y),e.removeListener("drain",l),e.removeListener("error",d),e.removeListener("unpipe",s),r.removeListener("end",u),r.removeListener("end",m),r.removeListener("data",h),f=!0,!i.awaitDrain||e._writableState&&!e._writableState.needDrain||l())}function u(){c("onend"),e.end()}i.endEmitted?n.nextTick(a):r.once("end",a),e.on("unpipe",s);var l=function(e){return function(){var t=e._readableState;c("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&o(e,"data")&&(t.flowing=!0,D(e))}}(r);e.on("drain",l);var f=!1;function h(t){c("ondata");var n=e.write(t);c("dest.write",n),!1===n&&((1===i.pipesCount&&i.pipes===e||i.pipesCount>1&&-1!==z(i.pipes,e))&&!f&&(c("false write response, pause",i.awaitDrain),i.awaitDrain++),r.pause())}function d(t){c("onerror",t),m(),e.removeListener("error",d),0===o(e,"error")&&S(e,t)}function p(){e.removeListener("finish",y),m()}function y(){c("onfinish"),e.removeListener("close",p),m()}function m(){c("unpipe"),r.unpipe(e)}return r.on("data",h),function(e,t,r){if("function"===typeof e.prependListener)return e.prepe
vendor: 19,358 bytes, line 2
2ndListener(t,r);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]:e.on(t,r)}(e,"error",d),e.once("close",p),e.once("finish",y),e.emit("pipe",r),i.flowing||(c("pipe resume"),r.resume()),e},E.prototype.unpipe=function(e){var t=this._readableState,r={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,r)),this;if(!e){var n=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;o<i;o++)n[o].emit("unpipe",this,{hasUnpiped:!1});return this}var a=z(t.pipes,e);return-1===a||(t.pipes.splice(a,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,r)),this},E.prototype.on=function(e,t){var r=a.prototype.on.call(this,e,t),i=this._readableState;return"data"===e?(i.readableListening=this.listenerCount("readable")>0,!1!==i.flowing&&this.resume()):"readable"===e&&(i.endEmitted||i.readableListening||(i.readableListening=i.needReadable=!0,i.flowing=!1,i.emittedReadable=!1,c("on readable",i.length,i.reading),i.length?A(this):i.reading||n.nextTick(I,this))),r},E.prototype.addListener=E.prototype.on,E.prototype.removeListener=function(e,t){var r=a.prototype.removeListener.call(this,e,t);return"readable"===e&&n.nextTick(N,this),r},E.prototype.removeAllListeners=function(e){var t=a.prototype.removeAllListeners.apply(this,arguments);return"readable"!==e&&void 0!==e||n.nextTick(N,this),t},E.prototype.resume=function(){var e=this._readableState;return e.flowing||(c("resume"),e.flowing=!e.readableListening,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,n.nextTick(L,e,t))}(this,e)),e.paused=!1,this},E.prototype.pause=function(){return c("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(c("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},E.prototype.wrap=function(e){var t=this,r=this._readableState,n=!1;for(var i in e.on("end",(function(){if(c("wrapped end"),r.decoder&&!r.ended){var e=r.decoder.end();e&&e.length&&t.push(e)}t.push(null)})),e.on("data",(function(i){(c("wrapped data"),r.decoder&&(i=r.decoder.write(i)),!r.objectMode||null!==i&&void 0!==i)&&((r.objectMode||i&&i.length)&&(t.push(i)||(n=!0,e.pause())))})),e)void 0===this[i]&&"function"===typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));for(var o=0;o<M.length;o++)e.on(M[o],this.emit.bind(this,M[o]));return this._read=function(t){c("wrapped _read",t),n&&(n=!1,e.resume())},this},"function"===typeof Symbol&&(E.prototype[Symbol.asyncIterator]=function(){return void 0===h&&(h=r(305)),h(this)}),Object.defineProperty(E.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(E.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(E.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(e){this._readableState&&(this._readableState.flowing=e)}}),E._fromList=B,Object.defineProperty(E.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"===typeof Symbol&&(E.from=function(e,t){return void 0===d&&(d=r(306)),d(E,e,t)})}).call(this,r(11),r(8))},function(e,t,r){e.exports=r(26).EventEmitter},function(e,t,r){"use strict";(function(t){function r(e,t){i(e,t),n(e)}function n(e){e._writableState&&!e._writableState.emitClose||e._readableState&&!e._readableState.emitClose||e.emit("close")}function i(e,t){e.emit("error",t)}e.exports={destroy:function(e,o){var a=this,s=this._readableState&&this._readableState.destroyed,u=this._writableState&&this._writableState.destroyed;return s||u?(o?o(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,t.nextTick(i,this,e)):t.nextTick(i,this,e)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,(function(e){!o&&e?a._writableState?a._writableState.errorEmitted?t.nextTick(n,a):(a._writableState.errorEmitted=!0,t.nextTick(r,a,e)):t.nextTick(r,a,e):o?(t.nextTick(n,a),o(e)):t.nextTick(n,a)})),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function(e,t){var r=e._readableState,n=e._writableState;r&&r.autoDestroy||n&&n.autoDestroy?e.destroy(t):e.emit("error",t)}}}).call(this,r(8))},function(e,t,r){"use strict";var n=r(37).codes.ERR_INVALID_OPT_VALUE;e.exports={getHighWaterMark:function(e,t,r,i){var o=function(e,t,r){return null!=e.highWaterMark?e.highWaterMark:t?e[r]:null}(t,i,r);if(null!=o){if(!isFinite(o)||Math.floor(o)!==o||o<0)throw new n(i?r:"highWaterMark",o);return Math.floor(o)}return e.objectMode?16:16384}}},function(e,t,r){"use strict";(function(t,n){function i(e){var t=this;this.next=null,this.entry=null,this.finish=function(){!function(e,t,r){var n=e.entry;e.entry=null;for(;n;){var i=n.callback;t.pendingcb--,i(r),n=n.next}t.corkedRequestsFree.next=e}(t,e)}}var o;e.exports=E,E.WritableState=x;var a={deprecate:r(76)},s=r(156),u=r(10).Buffer,c=t.Uint8Array||function(){};var l,f=r(157),h=r(158).getHighWaterMark,d=r(37).codes,p=d.ERR_INVALID_ARG_TYPE,y=d.ERR_METHOD_NOT_IMPLEMENTED,m=d.ERR_MULTIPLE_CALLBACK,b=d.ERR_STREAM_CANNOT_PIPE,v=d.ERR_STREAM_DESTROYED,g=d.ERR_STREAM_NULL_VALUES,_=d.ERR_STREAM_WRITE_AFTER_END,w=d.ERR_UNKNOWN_ENCODING,S=f.errorOrDestroy;function M(){}function x(e,t,a){o=o||r(38),e=e||{},"boolean"!==typeof a&&(a=t instanceof o),this.objectMode=!!e.objectMode,a&&(this.objectMode=this.objectMode||!!e.writableObjectMode),this.highWaterMark=h(this,e,"writableHighWaterMark",a),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var s=!1===e.decodeStrings;this.decodeStrings=!s,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var r=e._writableState,i=r.sync,o=r.writecb;if("function"!==typeof o)throw new m;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(r),t)!function(e,t,r,i,o){--t.pendingcb,r?(n.nextTick(o,i),n.nextTick(R,e,t),e._writableState.errorEmitted=!0,S(e,i)):(o(i),e._writableState.errorEmitted=!0,S(e,i),R(e,t))}(e,r,i,t,o);else{var a=P(r)||e.destroyed;a||r.corked||r.bufferProcessing||!r.bufferedRequest||T(e,r),i?n.nextTick(O,e,r,a,o):O(e,r,a,o)}}(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new i(this)}function E(e){var t=this instanceof(o=o||r(38));if(!t&&!l.call(E,this))return new E(e);this._writableState=new x(e,this,t),this.writable=!0,e&&("function"===typeof e.write&&(this._write=e.write),"function"===typeof e.writev&&(this._writev=e.writev),"function"===typeof e.destroy&&(this._destroy=e.destroy),"function"===typeof e.final&&(this._final=e.final)),s.call(this)}function k(e,t,r,n,i,o,a){t.writelen=n,t.writecb=a,t.writing=!0,t.sync=!0,t.destroyed?t.onwrite(new v("write")):r?e._writev(i,t.onwrite):e._write(i,o,t.onwrite),t.sync=!1}function O(e,t,r,n){r||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,n(),R(e,t)}function T(e,t){t.bufferProcessing=!0;var r=t.bufferedRequest;if(e._writev&&r&&r.next){var n=t.bufferedRequestCount,o=new Array(n),a=t.corkedRequestsFree;a.entry=r;for(var s=0,u=!0;r;)o[s]=r,r.isBuf||(u=!1),r=r.next,s+=1;o.allBuffers=u,k(e,t,!0,t.length,o,"",a.finish),t.pendingcb++,t.lastBufferedRequest=null,a.next?(t.corkedRequestsFree=a.next,a.next=null):t.corkedRequestsFree=new i(t),t.bufferedRequestCount=0}else{for(;r;){var c=r.chunk,l=r.encoding,f=r.callback;if(k(e,t,!1,t.objectMode?1:c.length,c,l,f),r=r.next,t.bufferedRequestCount--,t.writing)break}null===r&&(t.lastBufferedRequest=null)}t.bufferedRequest=r,t.bufferProcessing=!1}function P(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function A(e,t){e._final((function(r){t.pendingcb--,r&&S(e,r),t.prefinished=!0,e.emit("prefinish"),R(e,t)}))}function R(e,t){var r=P(t);if(r&&(function(e,t){t.prefinished||t.finalCalled||("function"!==typeof e._final||t.destroyed?(t.prefinished=!0,e.emit("prefinish")):(t.pendingcb++,t.finalCalled=!0,n.nextTick(A,e,t)))}(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"),t.autoDestroy))){var i=e._readableState;(!i||i.autoDestroy&&i.endEmitted)&&e.destroy()}return r}r(3)(E,s),x.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(x.prototype,"buffer",{get:a.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"===typeof Symbol&&Symbol.hasInstance&&"function"===typeof Function.prototype[Symbol.hasInstance]?(l=Function.prototype[Symbol.hasInstance],Object.defineProperty(E,Symbol.hasInstance,{value:function(e){return!!l.call(this,e)||this===E&&(e&&e._writableState instanceof x)}})):l=function(e){return e instanceof this},E.prototype.pipe=function(){S(this,new b)},E.prototype.write=function(e,t,r){var i,o=this._writableState,a=!1,s=!o.objectMode&&(i=e,u.isBuffer(i)||i instanceof c);return s&&!u.isBuffer(e)&&(e=function(e){return u.from(e)}(e)),"function"===typeof t&&(r=t,t=null),s?t="buffer":t||(t=o.defaultEncoding),"function"!==typeof r&&(r=M),o.ending?function(e,t){var r=new _;S(e,r),n.nextTick(t,r)}(this,r):(s||function(e,t,r,i){var o;return null===r?o=new g:"string"===typeof r||t.objectMode||(o=new p("chunk",["string","Buffer"],r)),!o||(S(e,o),n.nextTick(i,o),!1)}(this,o,e,r))&&(o.pendingcb++,a=function(e,t,r,n,i,o){if(!r){var a=function(e,t,r){e.objectMode||!1===e.decodeStrings||"string"!==typeof t||(t=u.from(t,r));return t}(t,n,i);n!==a&&(r=!0,i="buffer",n=a)}var s=t.objectMode?1:n.length;t.length+=s;var c=t.length<t.highWaterMark;c||(t.needDrain=!0);if(t.writing||t.corked){var l=t.lastBufferedRequest;t.lastBufferedRequest={chunk:n,encoding:i,isBuf:r,callback:o,next:null},l?l.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else k(e,t,!1,s,n,i,o);return c}(this,o,s,e,t,r)),a},E.prototype.cork=function(){this._writableState.corked++},E.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.bufferProcessing||!e.bufferedRequest||T(this,e))},E.prototype.setDefaultEncoding=function(e){if("string"===typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new w(e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(E.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(E.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),E.prototype._write=function(e,t,r){r(new y("_write()"))},E.prototype._writev=null,E.prototype.end=function(e,t,r){var i=this._writableState;return"function"===typeof e?(r=e,e=null,t=null):"function"===typeof t&&(r=t,t=null),null!==e&&void 0!==e&&this.write(e,t),i.corked&&(i.corked=1,this.uncork()),i.ending||function(e,t,r){t.ending=!0,R(e,t),r&&(t.finished?n.nextTick(r):e.once("finish",r));t.ended=!0,e.writable=!1}(this,i,r),this},Object.defineProperty(E.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(E.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),E.prototype.destroy=f.destroy,E.prototype._undestroy=f.undestroy,E.prototype._destroy=function(e,t){t(e)}}).call(this,r(11),r(8))},function(e,t,r){"use strict";e.exports=l;var n=r(37).codes,i=n.ERR_METHOD_NOT_IMPLEMENTED,o=n.ERR_MULTIPLE_CALLBACK,a=n.ERR_TRANSFORM_ALREADY_TRANSFORMING,s=n.ERR_TRANSFORM_WITH_LENGTH_0,u=r(38);function c(e,t){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(null===n)return this.emit("error",new o);r.writechunk=null,r.writecb=null,null!=t&&this.push(t),n(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function l(e){if(!(this instanceof l))return new l(e);u.call(this,e),this._transformState={afterTransform:c.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"===typeof e.transform&&(this._transform=e.transform),"function"===typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",f)}function f(){var e=this;"function"!==typeof this._flush||this._readableState.destroyed?h(this,null,null):this._flush((function(t,r){h(e,t,r)}))}function h(e,t,r){if(t)return e.emit("error",t);if(null!=r&&e.push(r),e._writableState.length)throw new s;if(e._transformState.transforming)throw new a;return e.push(null)}r(3)(l,u),l.prototype.push=function(e,t){return this._transformState.needTransform=!1,u.prototype.push.call(this,e,t)},l.prototype._transform=function(e,t,r){r(new i("_transform()"))},l.prototype._write=function(e,t,r){var n=this._transformState;if(n.writecb=r,n.writechunk=e,n.writeencoding=t,!n.transforming){var i=this._readableState;(n.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},l.prototype._read=function(e){var t=this._transformState;null===t.writechunk||t.transforming?t.needTransform=!0:(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform))},l.prototype._destroy=function(e,t){u.prototype._destroy.call(this,e,(function(e){t(e)}))}},function(e,t,r){"use strict";var n=t;function i(e){return 1===e.length?"0"+e:e}function o(e){for(var t="",r=0;r<e.length;r++)t+=i(e[r].toString(16));return t}n.toArray=function(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var r=[];if("string"!==typeof e){for(var n=0;n<e.length;n++)r[n]=0|e[n];return r}if("hex"===t){(e=e.replace(/[^a-z0-9]+/gi,"")).length%2!==0&&(e="0"+e);for(n=0;n<e.length;n+=2)r.push(parseInt(e[n]+e[n+1],16))}else for(n=0;n<e.length;n++){var i=e.charCodeAt(n),o=i>>8,a=255&i;o?r.push(o,a):r.push(a)}return r},n.zero2=i,n.toHex=o,n.encode=function(e,t){return"hex"===t?o(e):e}},function(e,t,r){"use strict";var n=t;n.base=r(58),n.short=r(313),n.mont=r(314),n.edwards=r(315)},function(e,t,r){"use strict";var n=r(18).rotr32;function i(e,t,r){return e&t^~e&r}function o(e,t,r){return e&t^e&r^t&r}function a(e,t,r){return e^t^r}t.ft_1=function(e,t,r,n){return 0===e?i(t,r,n):1===e||3===e?a(t,r,n):2===e?o(t,r,n):void 0},t.ch32=i,t.maj32=o,t.p32=a,t.s0_256=function(e){return n(e,2)^n(e,13)^n(e,22)},t.s1_256=function(e){return n(e,6)^n(e,11)^n(e,25)},t.g0_256=function(e){return n(e,7)^n(e,18)^e>>>3},t.g1_256=function(e){return n(e,17)^n(e,19)^e>>>10}},function(e,t,r){"use strict";var n=r(18),i=r(44),o=r(163),a=r(15),s=n.sum32,u=n.sum32_4,c=n.sum32_5,l=o.ch32,f=o.maj32,h=o.s0_256,d=o.s1_256,p=o.g0_256,y=o.g1_256,m=i.BlockHash,b=[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];function v(){if(!(this instanceof v))return new v;m.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=b,this.W=new Array(64)}n.inherits(v,m),e.exports=v,v.blockSize=512,v.outSize=256,v.hmacStrength=192,v.padLength=64,v.prototype._update=function(e,t){for(var r=this.W,n=0;n<16;n++)r[n]=e[t+n];for(;n<r.length;n++)r[n]=u(y(r[n-2]),r[n-7],p(r[n-15]),r[n-16]);var i=this.h[0],o=this.h[1],m=this.h[2],b=this.h[3],v=this.h[4],g=this.h[5],_=this.h[6],w=this.h[7];for(a(this.k.length===r.length),n=0;n<r.length;n++){var S=c(w,d(v),l(v,g,_),this.k[n],r[n]),M=s(h(i),f(i,o,m));w=_,_=g,g=v,v=s(b,S),b=m,m=o,o=i,i=s(S,M)}this.h[0]=s(this.h[0],i),this.h[1]=s(this.h[1],o),this.h[2]=s(this.h[2],m),this.h[3]=s(this.h[3],b),this.h[4]=s(this.h[4],v),this.h[5]=s(this.h[5],g),this.h[6]=s(this.h[6],_),this.h[7]=s(this.h[7],w)},v.prototype._digest=function(e){return"hex"===e?n.toHex32(this.h,"big"):n.split32(this.h,"big")}},function(e,t,r){"use strict";var n=r(18),i=r(44),o=r(15),a=n.rotr64_hi,s=n.rotr64_lo,u=n.shr64_hi,c=n.shr64_lo,l=n.sum64,f=n.sum64_hi,h=n.sum64_lo,d=n.sum64_4_hi,p=n.sum64_4_lo,y=n.sum64_5_hi,m=n.sum64_5_lo,b=i.BlockHash,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,
vendor: 3,276 bytes, line 2
21126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591];function g(){if(!(this instanceof g))return new g;b.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=v,this.W=new Array(160)}function _(e,t,r,n,i){var o=e&r^~e&i;return o<0&&(o+=4294967296),o}function w(e,t,r,n,i,o){var a=t&n^~t&o;return a<0&&(a+=4294967296),a}function S(e,t,r,n,i){var o=e&r^e&i^r&i;return o<0&&(o+=4294967296),o}function M(e,t,r,n,i,o){var a=t&n^t&o^n&o;return a<0&&(a+=4294967296),a}function x(e,t){var r=a(e,t,28)^a(t,e,2)^a(t,e,7);return r<0&&(r+=4294967296),r}function E(e,t){var r=s(e,t,28)^s(t,e,2)^s(t,e,7);return r<0&&(r+=4294967296),r}function k(e,t){var r=a(e,t,14)^a(e,t,18)^a(t,e,9);return r<0&&(r+=4294967296),r}function O(e,t){var r=s(e,t,14)^s(e,t,18)^s(t,e,9);return r<0&&(r+=4294967296),r}function T(e,t){var r=a(e,t,1)^a(e,t,8)^u(e,t,7);return r<0&&(r+=4294967296),r}function P(e,t){var r=s(e,t,1)^s(e,t,8)^c(e,t,7);return r<0&&(r+=4294967296),r}function A(e,t){var r=a(e,t,19)^a(t,e,29)^u(e,t,6);return r<0&&(r+=4294967296),r}function R(e,t){var r=s(e,t,19)^s(t,e,29)^c(e,t,6);return r<0&&(r+=4294967296),r}n.inherits(g,b),e.exports=g,g.blockSize=1024,g.outSize=512,g.hmacStrength=192,g.padLength=128,g.prototype._prepareBlock=function(e,t){for(var r=this.W,n=0;n<32;n++)r[n]=e[t+n];for(;n<r.length;n+=2){var i=A(r[n-4],r[n-3]),o=R(r[n-4],r[n-3]),a=r[n-14],s=r[n-13],u=T(r[n-30],r[n-29]),c=P(r[n-30],r[n-29]),l=r[n-32],f=r[n-31];r[n]=d(i,o,a,s,u,c,l,f),r[n+1]=p(i,o,a,s,u,c,l,f)}},g.prototype._update=function(e,t){this._prepareBlock(e,t);var r=this.W,n=this.h[0],i=this.h[1],a=this.h[2],s=this.h[3],u=this.h[4],c=this.h[5],d=this.h[6],p=this.h[7],b=this.h[8],v=this.h[9],g=this.h[10],T=this.h[11],P=this.h[12],A=this.h[13],R=this.h[14],j=this.h[15];o(this.k.length===r.length);for(var C=0;C<r.length;C+=2){var N=R,I=j,L=k(b,v),D=O(b,v),B=_(b,v,g,T,P),q=w(b,v,g,T,P,A),U=this.k[C],z=this.k[C+1],F=r[C],H=r[C+1],V=y(N,I,L,D,B,q,U,z,F,H),W=m(N,I,L,D,B,q,U,z,F,H);N=x(n,i),I=E(n,i),L=S(n,i,a,s,u),D=M(n,i,a,s,u,c);var G=f(N,I,L,D),K=h(N,I,L,D);R=P,j=A,P=g,A=T,g=b,T=v,b=f(d,p,V,W),v=h(p,p,V,W),d=u,p=c,u=a,c=s,a=n,s=i,n=f(V,W,G,K),i=h(V,W,G,K)}l(this.h,0,n,i),l(this.h,2,a,s),l(this.h,4,u,c),l(this.h,6,d,p),l(this.h,8,b,v),l(this.h,10,g,T),l(this.h,12,P,A),l(this.h,14,R,j)},g.prototype._digest=function(e){return"hex"===e?n.toHex32(this.h,"big"):n.split32(this.h,"big")}},function(e,t,r){(function(e){!function(e,t){"use strict";function n(e,t){if(!e)throw new Error(t||"Assertion failed")}function i(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}function o(e,t,r){if(o.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,null!==e&&("le"!==t&&"be"!==t||(r=t,t=10),this._init(e||0,t||10,r||"be"))}var a;"object"===typeof e?e.exports=o:t.BN=o,o.BN=o,o.wordSize=26;try{a=r(330).Buffer}catch(O){}function s(e,t,r){for(var i=0,o=Math.min(e.length,r),a=0,s=t;s<o;s++){var u,c=e.charCodeAt(s)-48;i<<=4,i|=u=c>=49&&c<=54?c-49+10:c>=17&&c<=22?c-17+10:c,a|=u}return n(!(240&a),"Invalid character in "+e),i}
vendor: 4,159 bytes, line 2
2function u(e,t,r,i){for(var o=0,a=0,s=Math.min(e.length,r),u=t;u<s;u++){var c=e.charCodeAt(u)-48;o*=i,a=c>=49?c-49+10:c>=17?c-17+10:c,n(c>=0&&a<i,"Invalid character"),o+=a}return o}function c(e,t){e.words=t.words,e.length=t.length,e.negative=t.negative,e.red=t.red}if(o.isBN=function(e){return e instanceof o||null!==e&&"object"===typeof e&&e.constructor.wordSize===o.wordSize&&Array.isArray(e.words)},o.max=function(e,t){return e.cmp(t)>0?e:t},o.min=function(e,t){return e.cmp(t)<0?e:t},o.prototype._init=function(e,t,r){if("number"===typeof e)return this._initNumber(e,t,r);if("object"===typeof e)return this._initArray(e,t,r);"hex"===t&&(t=16),n(t===(0|t)&&t>=2&&t<=36);var i=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&i++,16===t?this._parseHex(e,i):this._parseBase(e,t,i),"-"===e[0]&&(this.negative=1),this._strip(),"le"===r&&this._initArray(this.toArray(),t,r)},o.prototype._initNumber=function(e,t,r){e<0&&(this.negative=1,e=-e),e<67108864?(this.words=[67108863&e],this.length=1):e<4503599627370496?(this.words=[67108863&e,e/67108864&67108863],this.length=2):(n(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),"le"===r&&this._initArray(this.toArray(),t,r)},o.prototype._initArray=function(e,t,r){if(n("number"===typeof e.length),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var o,a,s=0;if("be"===r)for(i=e.length-1,o=0;i>=0;i-=3)a=e[i]|e[i-1]<<8|e[i-2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);else if("le"===r)for(i=0,o=0;i<e.length;i+=3)a=e[i]|e[i+1]<<8|e[i+2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);return this._strip()},o.prototype._parseHex=function(e,t){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var r=0;r<this.length;r++)this.words[r]=0;var n,i,o=0;for(r=e.length-6,n=0;r>=t;r-=6)i=s(e,r,r+6),this.words[n]|=i<<o&67108863,this.words[n+1]|=i>>>26-o&4194303,(o+=24)>=26&&(o-=26,n++);r+6!==t&&(i=s(e,t,r+6),this.words[n]|=i<<o&67108863,this.words[n+1]|=i>>>26-o&4194303),this._strip()},o.prototype._parseBase=function(e,t,r){this.words=[0],this.length=1;for(var n=0,i=1;i<=67108863;i*=t)n++;n--,i=i/t|0;for(var o=e.length-r,a=o%n,s=Math.min(o,o-a)+r,c=0,l=r;l<s;l+=n)c=u(e,l,l+n,t),this.imuln(i),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c);if(0!==a){var f=1;for(c=u(e,l,e.length,t),l=0;l<a;l++)f*=t;this.imuln(f),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c)}},o.prototype.copy=function(e){e.words=new Array(this.length);for(var t=0;t<this.length;t++)e.words[t]=this.words[t];e.length=this.length,e.negative=this.negative,e.red=this.red},o.prototype._move=function(e){c(e,this)},o.prototype.clone=function(){var e=new o(null);return this.copy(e),e},o.prototype._expand=function(e){for(;this.length<e;)this.words[this.length++]=0;return this},o.prototype._strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},"undefined"!==typeof Symbol&&"function"===typeof Symbol.for)try{o.prototype[Symbol.for("nodejs.util.inspect.custom")]=l}catch(O){o.prototype.inspect=l}else o.prototype.inspect=l;function l(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"}var f=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],h=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],d=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,143489
vendor: 4,710 bytes, line 2
207,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];o.prototype.toString=function(e,t){var r;if(t=0|t||1,16===(e=e||10)||"hex"===e){r="";for(var i=0,o=0,a=0;a<this.length;a++){var s=this.words[a],u=(16777215&(s<<i|o)).toString(16);r=0!==(o=s>>>24-i&16777215)||a!==this.length-1?f[6-u.length]+u+r:u+r,(i+=2)>=26&&(i-=26,a--)}for(0!==o&&(r=o.toString(16)+r);r.length%t!==0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}if(e===(0|e)&&e>=2&&e<=36){var c=h[e],l=d[e];r="";var p=this.clone();for(p.negative=0;!p.isZero();){var y=p.modrn(l).toString(e);r=(p=p.idivn(l)).isZero()?y+r:f[c-y.length]+y+r}for(this.isZero()&&(r="0"+r);r.length%t!==0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}n(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},o.prototype.toJSON=function(){return this.toString(16,2)},a&&(o.prototype.toBuffer=function(e,t){return this.toArrayLike(a,e,t)}),o.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)};function p(e,t,r){r.negative=t.negative^e.negative;var n=e.length+t.length|0;r.length=n,n=n-1|0;var i=0|e.words[0],o=0|t.words[0],a=i*o,s=67108863&a,u=a/67108864|0;r.words[0]=s;for(var c=1;c<n;c++){for(var l=u>>>26,f=67108863&u,h=Math.min(c,t.length-1),d=Math.max(0,c-e.length+1);d<=h;d++){var p=c-d|0;l+=(a=(i=0|e.words[p])*(o=0|t.words[d])+f)/67108864|0,f=67108863&a}r.words[c]=0|f,u=0|l}return 0!==u?r.words[c]=0|u:r.length--,r._strip()}o.prototype.toArrayLike=function(e,t,r){this._strip();var i=this.byteLength(),o=r||Math.max(1,i);n(i<=o,"byte array longer than desired length"),n(o>0,"Requested array length <= 0");var a=function(e,t){return e.allocUnsafe?e.allocUnsafe(t):new e(t)}(e,o);return this["_toArrayLike"+("le"===t?"LE":"BE")](a,i),a},o.prototype._toArrayLikeLE=function(e,t){for(var r=0,n=0,i=0,o=0;i<this.length;i++){var a=this.words[i]<<o|n;e[r++]=255&a,r<e.length&&(e[r++]=a>>8&255),r<e.length&&(e[r++]=a>>16&255),6===o?(r<e.length&&(e[r++]=a>>24&255),n=0,o=0):(n=a>>>24,o+=2)}if(r<e.length)for(e[r++]=n;r<e.length;)e[r++]=0},o.prototype._toArrayLikeBE=function(e,t){for(var r=e.length-1,n=0,i=0,o=0;i<this.length;i++){var a=this.words[i]<<o|n;e[r--]=255&a,r>=0&&(e[r--]=a>>8&255),r>=0&&(e[r--]=a>>16&255),6===o?(r>=0&&(e[r--]=a>>24&255),n=0,o=0):(n=a>>>24,o+=2)}if(r>=0)for(e[r--]=n;r>=0;)e[r--]=0},Math.clz32?o.prototype._countBits=function(e){return 32-Math.clz32(e)}:o.prototype._countBits=function(e){var t=e,r=0;return t>=4096&&(r+=13,t>>>=13),t>=64&&(r+=7,t>>>=7),t>=8&&(r+=4,t>>>=4),t>=2&&(r+=2,t>>>=2),r+t},o.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,r=0;return 0===(8191&t)&&(r+=13,t>>>=13),0===(127&t)&&(r+=7,t>>>=7),0===(15&t)&&(r+=4,t>>>=4),0===(3&t)&&(r+=2,t>>>=2),0===(1&t)&&r++,r},o.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;t<this.length;t++){var r=this._zeroBits(this.words[t]);if(e+=r,26!==r)break}return e},o.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},o.prototype.toTwos=function(e){return 0!==this.negative?this.abs().inotn(e).iaddn(1):this.clone()},o.prototype.fromTwos=function(e){return this.testn(e-1)?this.notn(e).iaddn(1).ineg():this.clone()},o.prototype.isNeg=function(){return 0!==this.negative},o.prototype.neg=function(){return this.clone().ineg()},o.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},o.prototype.iuor=function(e){for(;this.length<e.length;)this.words[this.length++]=0;for(var t=0;t<e.length;t++)this.words[t]=this.words[t]|e.words[t];return this._strip()},o.prototype.ior=function(e){return n(0===(this.negative|e.negative)),this.iuor(e)},o.prototype.or=function(e){return this.length>e.length?this.clone().ior(e):e.clone().ior(this)},o.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},o.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var r=0;r<t.length;r++)this.words[r]=this.words[r]&e.words[r];return this.length=t.length,this._strip()},o.prototype.iand=function(e){return n(0===(this.negative|e.negative)),this.iuand(e)},o.prototype.and=function(e){return this.length>e.length?this.clone().iand(e):e.clone().iand(this)},o.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},o.prototype.iuxor=function(e){var t,r;this.length>e.length?(t=this,r=e):(t=e,r=this);for(var n=0;n<r.length;
vendor: 7,410 bytes, line 2
2n++)this.words[n]=t.words[n]^r.words[n];if(this!==t)for(;n<t.length;n++)this.words[n]=t.words[n];return this.length=t.length,this._strip()},o.prototype.ixor=function(e){return n(0===(this.negative|e.negative)),this.iuxor(e)},o.prototype.xor=function(e){return this.length>e.length?this.clone().ixor(e):e.clone().ixor(this)},o.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},o.prototype.inotn=function(e){n("number"===typeof e&&e>=0);var t=0|Math.ceil(e/26),r=e%26;this._expand(t),r>0&&t--;for(var i=0;i<t;i++)this.words[i]=67108863&~this.words[i];return r>0&&(this.words[i]=~this.words[i]&67108863>>26-r),this._strip()},o.prototype.notn=function(e){return this.clone().inotn(e)},o.prototype.setn=function(e,t){n("number"===typeof e&&e>=0);var r=e/26|0,i=e%26;return this._expand(r+1),this.words[r]=t?this.words[r]|1<<i:this.words[r]&~(1<<i),this._strip()},o.prototype.iadd=function(e){var t,r,n;if(0!==this.negative&&0===e.negative)return this.negative=0,t=this.isub(e),this.negative^=1,this._normSign();if(0===this.negative&&0!==e.negative)return e.negative=0,t=this.isub(e),e.negative=1,t._normSign();this.length>e.length?(r=this,n=e):(r=e,n=this);for(var i=0,o=0;o<n.length;o++)t=(0|r.words[o])+(0|n.words[o])+i,this.words[o]=67108863&t,i=t>>>26;for(;0!==i&&o<r.length;o++)t=(0|r.words[o])+i,this.words[o]=67108863&t,i=t>>>26;if(this.length=r.length,0!==i)this.words[this.length]=i,this.length++;else if(r!==this)for(;o<r.length;o++)this.words[o]=r.words[o];return this},o.prototype.add=function(e){var t;return 0!==e.negative&&0===this.negative?(e.negative=0,t=this.sub(e),e.negative^=1,t):0===e.negative&&0!==this.negative?(this.negative=0,t=e.sub(this),this.negative=1,t):this.length>e.length?this.clone().iadd(e):e.clone().iadd(this)},o.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t=this.iadd(e);return e.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var r,n,i=this.cmp(e);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(r=this,n=e):(r=e,n=this);for(var o=0,a=0;a<n.length;a++)o=(t=(0|r.words[a])-(0|n.words[a])+o)>>26,this.words[a]=67108863&t;for(;0!==o&&a<r.length;a++)o=(t=(0|r.words[a])+o)>>26,this.words[a]=67108863&t;if(0===o&&a<r.length&&r!==this)for(;a<r.length;a++)this.words[a]=r.words[a];return this.length=Math.max(this.length,a),r!==this&&(this.negative=1),this._strip()},o.prototype.sub=function(e){return this.clone().isub(e)};var y=function(e,t,r){var n,i,o,a=e.words,s=t.words,u=r.words,c=0,l=0|a[0],f=8191&l,h=l>>>13,d=0|a[1],p=8191&d,y=d>>>13,m=0|a[2],b=8191&m,v=m>>>13,g=0|a[3],_=8191&g,w=g>>>13,S=0|a[4],M=8191&S,x=S>>>13,E=0|a[5],k=8191&E,O=E>>>13,T=0|a[6],P=8191&T,A=T>>>13,R=0|a[7],j=8191&R,C=R>>>13,N=0|a[8],I=8191&N,L=N>>>13,D=0|a[9],B=8191&D,q=D>>>13,U=0|s[0],z=8191&U,F=U>>>13,H=0|s[1],V=8191&H,W=H>>>13,G=0|s[2],K=8191&G,Y=G>>>13,X=0|s[3],$=8191&X,Z=X>>>13,J=0|s[4],Q=8191&J,ee=J>>>13,te=0|s[5],re=8191&te,ne=te>>>13,ie=0|s[6],oe=8191&ie,ae=ie>>>13,se=0|s[7],ue=8191&se,ce=se>>>13,le=0|s[8],fe=8191&le,he=le>>>13,de=0|s[9],pe=8191&de,ye=de>>>13;r.negative=e.negative^t.negative,r.length=19;var me=(c+(n=Math.imul(f,z))|0)+((8191&(i=(i=Math.imul(f,F))+Math.imul(h,z)|0))<<13)|0;c=((o=Math.imul(h,F))+(i>>>13)|0)+(me>>>26)|0,me&=67108863,n=Math.imul(p,z),i=(i=Math.imul(p,F))+Math.imul(y,z)|0,o=Math.imul(y,F);var be=(c+(n=n+Math.imul(f,V)|0)|0)+((8191&(i=(i=i+Math.imul(f,W)|0)+Math.imul(h,V)|0))<<13)|0;c=((o=o+Math.imul(h,W)|0)+(i>>>13)|0)+(be>>>26)|0,be&=67108863,n=Math.imul(b,z),i=(i=Math.imul(b,F))+Math.imul(v,z)|0,o=Math.imul(v,F),n=n+Math.imul(p,V)|0,i=(i=i+Math.imul(p,W)|0)+Math.imul(y,V)|0,o=o+Math.imul(y,W)|0;var ve=(c+(n=n+Math.imul(f,K)|0)|0)+((8191&(i=(i=i+Math.imul(f,Y)|0)+Math.imul(h,K)|0))<<13)|0;c=((o=o+Math.imul(h,Y)|0)+(i>>>13)|0)+(ve>>>26)|0,ve&=67108863,n=Math.imul(_,z),i=(i=Math.imul(_,F))+Math.imul(w,z)|0,o=Math.imul(w,F),n=n+Math.imul(b,V)|0,i=(i=i+Math.imul(b,W)|0)+Math.imul(v,V)|0,o=o+Math.imul(v,W)|0,n=n+Math.imul(p,K)|0,i=(i=i+Math.imul(p,Y)|0)+Math.imul(y,K)|0,o=o+Math.imul(y,Y)|0;var ge=(c+(n=n+Math.imul(f,$)|0)|0)+((8191&(i=(i=i+Math.imul(f,Z)|0)+Math.imul(h,$)|0))<<13)|0;c=((o=o+Math.imul(h,Z)|0)+(i>>>13)|0)+(ge>>>26)|0,ge&=67108863,n=Math.imul(M,z),i=(i=Math.imul(M,F))+Math.imul(x,z)|0,o=Math.imul(x,F),n=n+Math.imul(_,V)|0,i=(i=i+Math.imul(_,W)|0)+Math.imul(w,V)|0,o=o+Math.imul(w,W)|0,n=n+Math.imul(b,K)|0,i=(i=i+Math.imul(b,Y)|0)+Math.imul(v,K)|0,o=o+Math.imul(v,Y)|0,n=n+Math.imul(p,$)|0,i=(i=i+Math.imul(p,Z)|0)+Math.imul(y,$)|0,o=o+Math.imul(y,Z)|0;var _e=(c+(n=n+Math.imul(f,Q)|0)|0)+((8191&(i=(i=i+Math.imul(f,ee)|0)+Math.imul(h,Q)|0))<<13)|0;c=((o=o+Math.imul(h,ee)|0)+(i>>>13)|0)+(_e>>>26)|0,_e&=67108863,n=Math.imul(k,z),i=(i=Math.imul(k,F))+Math.imul(O,z)|0,o=Math.imul(O,F),n=n+Math.imul(M,V)|0,i=(i=i+Math.imul(M,W)|0)+Math.imul(x,V)|0,o=o+Math.imul(x,W)|0,n=n+Math.imul(_,K)|0,i=(i=i+Math.imul(_,Y)|0)+Math.imul(w,K)|0,o=o+Math.imul(w,Y)|0,n=n+Math.imul(b,$)|0,i=(i=i+Math.imul(b,Z)|0)+Math.imul(v,$)|0,o=o+Math.imul(v,Z)|0,n=n+Math.imul(p,Q)|0,i=(i=i+Math.imul(p,ee)|0)+Math.imul(y,Q)|0,o=o+Math.imul(y,ee)|0;var we=(c+(n=n+Math.imul(f,re)|0)|0)+((8191&(i=(i=i+Math.imul(f,ne)|0)+Math.imul(h,re)|0))<<13)|0;c=((o=o+Math.imul(h,ne)|0)+(i>>>13)|0)+(we>>>26)|0,we&=67108863,n=Math.imul(P,z),i=(i=Math.imul(P,F))+Math.imul(A,z)|0,o=Math.imul(A,F),n=n+Math.imul(k,V)|0,i=(i=i+Math.imul(k,W)|0)+Math.imul(O,V)|0,o=o+Math.imul(O,W)|0,n=n+Math.imul(M,K)|0,i=(i=i+Math.imul(M,Y)|0)+Math.imul(x,K)|0,o=o+Math.imul(x,Y)|0,n=n+Math.imul(_,$)|0,i=(i=i+Math.imul(_,Z)|0)+Math.imul(w,$)|0,o=o+Math.imul(w,Z)|0,n=n+Math.imul(b,Q)|0,i=(i=i+Math.imul(b,ee)|0)+Math.imul(v,Q)|0,o=o+Math.imul(v,ee)|0,n=n+Math.imul(p,re)|0,i=(i=i+Math.imul(p,ne)|0)+Math.imul(y,re)|0,o=o+Math.imul(y,ne)|0;var Se=(c+(n=n+Math.imul(f,oe)|0)|0)+((8191&(i=(i=i+Math.imul(f,ae)|0)+Math.imul(h,oe)|0))<<13)|0;c=((o=o+Math.imul(h,ae)|0)+(i>>>13)|0)+(Se>>>26)|0,Se&=67108863,n=Math.imul(j,z),i=(i=Math.imul(j,F))+Math.imul(C,z)|0,o=Math.imul(C,F),n=n+Math.imul(P,V)|0,i=(i=i+Math.imul(P,W)|0)+Math.imul(A,V)|0,o=o+Math.imul(A,W)|0,n=n+Math.imul(k,K)|0,i=(i=i+Math.imul(k,Y)|0)+Math.imul(O,K)|0,o=o+Math.imul(O,Y)|0,n=n+Math.imul(M,$)|0,i=(i=i+Math.imul(M,Z)|0)+Math.imul(x,$)|0,o=o+Math.imul(x,Z)|0,n=n+Math.imul(_,Q)|0,i=(i=i+Math.imul(_,ee)|0)+Math.imul(w,Q)|0,o=o+Math.imul(w,ee)|0,n=n+Math.imul(b,re)|0,i=(i=i+Math.imul(b,ne)|0)+Math.imul(v,re)|0,o=o+Math.imul(v,ne)|0,n=n+Math.imul(p,oe)|0,i=(i=i+Math.imul(p,ae)|0)+Math.imul(y,oe)|0,o=o+Math.imul(y,ae)|0;var Me=(c+(n=n+Math.imul(f,ue)|0)|0)+((8191&(i=(i=i+Math.imul(f,ce)|0)+Math.imul(h,ue)|0))<<13)|0;c=((o=o+Math.imul(h,ce)|0)+(i>>>13)|0)+(Me>>>26)|0,Me&=67108863,n=Math.imul(I,z),i=(i=Math.imul(I,F))+Math.imul(L,z)|0,o=Math.imul(L,F),n=n+Math.imul(j,V)|0,i=(i=i+Math.imul(j,W)|0)+Math.imul(C,V)|0,o=o+Math.imul(C,W)|0,n=n+Math.imul(P,K)|0,i=(i=i+Math.imul(P,Y)|0)+Math.imul(A,K)|0,o=o+Math.imul(A,Y)|0,n=n+Math.imul(k,$)|0,i=(i=i+Math.imul(k,Z)|0)+Math.imul(O,$)|0,o=o+Math.imul(O,Z)|0,n=n+Math.imul(M,Q)|0,i=(i=i+Math.imul(M,ee)|0)+Math.imul(x,Q)|0,o=o+Math.imul(x,ee)|0,n=n+Math.imul(_,re)|0,i=(i=i+Math.imul(_,ne)|0)+Math.imul(w,re)|0,o=o+Math.imul(w,ne)|0,n=n+Math.imul(b,oe)|0,i=(i=i+Math.imul(b,ae)|0)+Math.imul(v,oe)|0,o=o+Math.imul(v,ae)|0,n=n+Math.imul(p,ue)|0,i=(i=i+Math.imul(p,ce)|0)+Math.imul(y,ue)|0,o=o+Math.imul(y,
vendor: 4,377 bytes, line 2
2ce)|0;var xe=(c+(n=n+Math.imul(f,fe)|0)|0)+((8191&(i=(i=i+Math.imul(f,he)|0)+Math.imul(h,fe)|0))<<13)|0;c=((o=o+Math.imul(h,he)|0)+(i>>>13)|0)+(xe>>>26)|0,xe&=67108863,n=Math.imul(B,z),i=(i=Math.imul(B,F))+Math.imul(q,z)|0,o=Math.imul(q,F),n=n+Math.imul(I,V)|0,i=(i=i+Math.imul(I,W)|0)+Math.imul(L,V)|0,o=o+Math.imul(L,W)|0,n=n+Math.imul(j,K)|0,i=(i=i+Math.imul(j,Y)|0)+Math.imul(C,K)|0,o=o+Math.imul(C,Y)|0,n=n+Math.imul(P,$)|0,i=(i=i+Math.imul(P,Z)|0)+Math.imul(A,$)|0,o=o+Math.imul(A,Z)|0,n=n+Math.imul(k,Q)|0,i=(i=i+Math.imul(k,ee)|0)+Math.imul(O,Q)|0,o=o+Math.imul(O,ee)|0,n=n+Math.imul(M,re)|0,i=(i=i+Math.imul(M,ne)|0)+Math.imul(x,re)|0,o=o+Math.imul(x,ne)|0,n=n+Math.imul(_,oe)|0,i=(i=i+Math.imul(_,ae)|0)+Math.imul(w,oe)|0,o=o+Math.imul(w,ae)|0,n=n+Math.imul(b,ue)|0,i=(i=i+Math.imul(b,ce)|0)+Math.imul(v,ue)|0,o=o+Math.imul(v,ce)|0,n=n+Math.imul(p,fe)|0,i=(i=i+Math.imul(p,he)|0)+Math.imul(y,fe)|0,o=o+Math.imul(y,he)|0;var Ee=(c+(n=n+Math.imul(f,pe)|0)|0)+((8191&(i=(i=i+Math.imul(f,ye)|0)+Math.imul(h,pe)|0))<<13)|0;c=((o=o+Math.imul(h,ye)|0)+(i>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,n=Math.imul(B,V),i=(i=Math.imul(B,W))+Math.imul(q,V)|0,o=Math.imul(q,W),n=n+Math.imul(I,K)|0,i=(i=i+Math.imul(I,Y)|0)+Math.imul(L,K)|0,o=o+Math.imul(L,Y)|0,n=n+Math.imul(j,$)|0,i=(i=i+Math.imul(j,Z)|0)+Math.imul(C,$)|0,o=o+Math.imul(C,Z)|0,n=n+Math.imul(P,Q)|0,i=(i=i+Math.imul(P,ee)|0)+Math.imul(A,Q)|0,o=o+Math.imul(A,ee)|0,n=n+Math.imul(k,re)|0,i=(i=i+Math.imul(k,ne)|0)+Math.imul(O,re)|0,o=o+Math.imul(O,ne)|0,n=n+Math.imul(M,oe)|0,i=(i=i+Math.imul(M,ae)|0)+Math.imul(x,oe)|0,o=o+Math.imul(x,ae)|0,n=n+Math.imul(_,ue)|0,i=(i=i+Math.imul(_,ce)|0)+Math.imul(w,ue)|0,o=o+Math.imul(w,ce)|0,n=n+Math.imul(b,fe)|0,i=(i=i+Math.imul(b,he)|0)+Math.imul(v,fe)|0,o=o+Math.imul(v,he)|0;var ke=(c+(n=n+Math.imul(p,pe)|0)|0)+((8191&(i=(i=i+Math.imul(p,ye)|0)+Math.imul(y,pe)|0))<<13)|0;c=((o=o+Math.imul(y,ye)|0)+(i>>>13)|0)+(ke>>>26)|0,ke&=67108863,n=Math.imul(B,K),i=(i=Math.imul(B,Y))+Math.imul(q,K)|0,o=Math.imul(q,Y),n=n+Math.imul(I,$)|0,i=(i=i+Math.imul(I,Z)|0)+Math.imul(L,$)|0,o=o+Math.imul(L,Z)|0,n=n+Math.imul(j,Q)|0,i=(i=i+Math.imul(j,ee)|0)+Math.imul(C,Q)|0,o=o+Math.imul(C,ee)|0,n=n+Math.imul(P,re)|0,i=(i=i+Math.imul(P,ne)|0)+Math.imul(A,re)|0,o=o+Math.imul(A,ne)|0,n=n+Math.imul(k,oe)|0,i=(i=i+Math.imul(k,ae)|0)+Math.imul(O,oe)|0,o=o+Math.imul(O,ae)|0,n=n+Math.imul(M,ue)|0,i=(i=i+Math.imul(M,ce)|0)+Math.imul(x,ue)|0,o=o+Math.imul(x,ce)|0,n=n+Math.imul(_,fe)|0,i=(i=i+Math.imul(_,he)|0)+Math.imul(w,fe)|0,o=o+Math.imul(w,he)|0;var Oe=(c+(n=n+Math.imul(b,pe)|0)|0)+((8191&(i=(i=i+Math.imul(b,ye)|0)+Math.imul(v,pe)|0))<<13)|0;c=((o=o+Math.imul(v,ye)|0)+(i>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,n=Math.imul(B,$),i=(i=Math.imul(B,Z))+Math.imul(q,$)|0,o=Math.imul(q,Z),n=n+Math.imul(I,Q)|0,i=(i=i+Math.imul(I,ee)|0)+Math.imul(L,Q)|0,o=o+Math.imul(L,ee)|0,n=n+Math.imul(j,re)|0,i=(i=i+Math.imul(j,ne)|0)+Math.imul(C,re)|0,o=o+Math.imul(C,ne)|0,n=n+Math.imul(P,oe)|0,i=(i=i+Math.imul(P,ae)|0)+Math.imul(A,oe)|0,o=o+Math.imul(A,ae)|0,n=n+Math.imul(k,ue)|0,i=(i=i+Math.imul(k,ce)|0)+Math.imul(O,ue)|0,o=o+Math.imul(O,ce)|0,n=n+Math.imul(M,fe)|0,i=(i=i+Math.imul(M,he)|0)+Math.imul(x,fe)|0,o=o+Math.imul(x,he)|0;var Te=(c+(n=n+Math.imul(_,pe)|0)|0)+((8191&(i=(i=i+Math.imul(_,ye)|0)+Math.imul(w,pe)|0))<<13)|0;c=((o=o+Math.imul(w,ye)|0)+(i>>>13)|0)+(Te>>>26)|0,Te&=67108863,n=Math.imul(B,Q),i=(i=Math.imul(B,ee))+Math.imul(q,Q)|0,o=Math.imul(q,ee),n=n+Math.imul(I,re)|0,i=(i=i+Math.imul(I,ne)|0)+Math.imul(L,re)|0,o=o+Math.imul(L,ne)|0,n=n+Math.imul(j,oe)|0,i=(i=i+Math.imul(j,ae)|0)+Math.imul(C,oe)|0,o=o+Math.imul(C,ae)|0,n=n+Math.imul(P,ue)|0,i=(i=i+Math.imul(P,ce)|0)+Math.imul(A,ue)|0,o=o+Math.imul(A,ce)|0,n=n+Math.imul(k,fe)|0,i=(i=i+Math.imul(k,he)|0)+Math.imul(O,fe)|0,o=o+Math.imul(O,he)|0;var Pe=(c+(n=n+Math.imul(M,pe)|0)|0)+((8191&(i=(i=i+Math.imul(M,ye)|0)+Math.imul(x,pe)|0))<<13)|0;c=((o=o+Math.imul(x,ye)|0)+(i>>>13)|0)+(Pe>>>26)|0,Pe&=67108863,n=Math.imul(B,re),i=(i=Math.imul(B,ne))+Math.imul(q,re)|0,o=Math.imul(q,ne),n=n+Math.imul(I,oe)|0,i=(i=i+Math.imul(I,ae)|0)+Math.imul(L,oe)|0,o=o+Math.imul(L,ae)|0,n=n+Math.imul(j,ue)|0,i=(i=i+Math.imul(j,ce)|0)+Math.imul(C,ue)|0,o=o+Math.imul(C,ce)|0,n=n+Math.imul(P,fe)|0,i=(i=i+Math.imul(P,he)|0)+Math.imul(A,fe)|0,o=o+Math.imul(A,he)|0;var Ae=(c+(n=n+Math.imul(k,pe)|0)|0)+((8191&(i=(i=i+Math.imul(k,ye)|0)+Math.imul(O,pe)|0)
vendor: 9,549 bytes, line 2
2)<<13)|0;c=((o=o+Math.imul(O,ye)|0)+(i>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,n=Math.imul(B,oe),i=(i=Math.imul(B,ae))+Math.imul(q,oe)|0,o=Math.imul(q,ae),n=n+Math.imul(I,ue)|0,i=(i=i+Math.imul(I,ce)|0)+Math.imul(L,ue)|0,o=o+Math.imul(L,ce)|0,n=n+Math.imul(j,fe)|0,i=(i=i+Math.imul(j,he)|0)+Math.imul(C,fe)|0,o=o+Math.imul(C,he)|0;var Re=(c+(n=n+Math.imul(P,pe)|0)|0)+((8191&(i=(i=i+Math.imul(P,ye)|0)+Math.imul(A,pe)|0))<<13)|0;c=((o=o+Math.imul(A,ye)|0)+(i>>>13)|0)+(Re>>>26)|0,Re&=67108863,n=Math.imul(B,ue),i=(i=Math.imul(B,ce))+Math.imul(q,ue)|0,o=Math.imul(q,ce),n=n+Math.imul(I,fe)|0,i=(i=i+Math.imul(I,he)|0)+Math.imul(L,fe)|0,o=o+Math.imul(L,he)|0;var je=(c+(n=n+Math.imul(j,pe)|0)|0)+((8191&(i=(i=i+Math.imul(j,ye)|0)+Math.imul(C,pe)|0))<<13)|0;c=((o=o+Math.imul(C,ye)|0)+(i>>>13)|0)+(je>>>26)|0,je&=67108863,n=Math.imul(B,fe),i=(i=Math.imul(B,he))+Math.imul(q,fe)|0,o=Math.imul(q,he);var Ce=(c+(n=n+Math.imul(I,pe)|0)|0)+((8191&(i=(i=i+Math.imul(I,ye)|0)+Math.imul(L,pe)|0))<<13)|0;c=((o=o+Math.imul(L,ye)|0)+(i>>>13)|0)+(Ce>>>26)|0,Ce&=67108863;var Ne=(c+(n=Math.imul(B,pe))|0)+((8191&(i=(i=Math.imul(B,ye))+Math.imul(q,pe)|0))<<13)|0;return c=((o=Math.imul(q,ye))+(i>>>13)|0)+(Ne>>>26)|0,Ne&=67108863,u[0]=me,u[1]=be,u[2]=ve,u[3]=ge,u[4]=_e,u[5]=we,u[6]=Se,u[7]=Me,u[8]=xe,u[9]=Ee,u[10]=ke,u[11]=Oe,u[12]=Te,u[13]=Pe,u[14]=Ae,u[15]=Re,u[16]=je,u[17]=Ce,u[18]=Ne,0!==c&&(u[19]=c,r.length++),r};function m(e,t,r){r.negative=t.negative^e.negative,r.length=e.length+t.length;for(var n=0,i=0,o=0;o<r.length-1;o++){var a=i;i=0;for(var s=67108863&n,u=Math.min(o,t.length-1),c=Math.max(0,o-e.length+1);c<=u;c++){var l=o-c,f=(0|e.words[l])*(0|t.words[c]),h=67108863&f;s=67108863&(h=h+s|0),i+=(a=(a=a+(f/67108864|0)|0)+(h>>>26)|0)>>>26,a&=67108863}r.words[o]=s,n=a,a=i}return 0!==n?r.words[o]=n:r.length--,r._strip()}function b(e,t,r){return m(e,t,r)}function v(e,t){this.x=e,this.y=t}Math.imul||(y=p),o.prototype.mulTo=function(e,t){var r=this.length+e.length;return 10===this.length&&10===e.length?y(this,e,t):r<63?p(this,e,t):r<1024?m(this,e,t):b(this,e,t)},v.prototype.makeRBT=function(e){for(var t=new Array(e),r=o.prototype._countBits(e)-1,n=0;n<e;n++)t[n]=this.revBin(n,r,e);return t},v.prototype.revBin=function(e,t,r){if(0===e||e===r-1)return e;for(var n=0,i=0;i<t;i++)n|=(1&e)<<t-i-1,e>>=1;return n},v.prototype.permute=function(e,t,r,n,i,o){for(var a=0;a<o;a++)n[a]=t[e[a]],i[a]=r[e[a]]},v.prototype.transform=function(e,t,r,n,i,o){this.permute(o,e,t,r,n,i);for(var a=1;a<i;a<<=1)for(var s=a<<1,u=Math.cos(2*Math.PI/s),c=Math.sin(2*Math.PI/s),l=0;l<i;l+=s)for(var f=u,h=c,d=0;d<a;d++){var p=r[l+d],y=n[l+d],m=r[l+d+a],b=n[l+d+a],v=f*m-h*b;b=f*b+h*m,m=v,r[l+d]=p+m,n[l+d]=y+b,r[l+d+a]=p-m,n[l+d+a]=y-b,d!==s&&(v=u*f-c*h,h=u*h+c*f,f=v)}},v.prototype.guessLen13b=function(e,t){var r=1|Math.max(t,e),n=1&r,i=0;for(r=r/2|0;r;r>>>=1)i++;return 1<<i+1+n},v.prototype.conjugate=function(e,t,r){if(!(r<=1))for(var n=0;n<r/2;n++){var i=e[n];e[n]=e[r-n-1],e[r-n-1]=i,i=t[n],t[n]=-t[r-n-1],t[r-n-1]=-i}},v.prototype.normalize13b=function(e,t){for(var r=0,n=0;n<t/2;n++){var i=8192*Math.round(e[2*n+1]/t)+Math.round(e[2*n]/t)+r;e[n]=67108863&i,r=i<67108864?0:i/67108864|0}return e},v.prototype.convert13b=function(e,t,r,i){for(var o=0,a=0;a<t;a++)o+=0|e[a],r[2*a]=8191&o,o>>>=13,r[2*a+1]=8191&o,o>>>=13;for(a=2*t;a<i;++a)r[a]=0;n(0===o),n(0===(-8192&o))},v.prototype.stub=function(e){for(var t=new Array(e),r=0;r<e;r++)t[r]=0;return t},v.prototype.mulp=function(e,t,r){var n=2*this.guessLen13b(e.length,t.length),i=this.makeRBT(n),o=this.stub(n),a=new Array(n),s=new Array(n),u=new Array(n),c=new Array(n),l=new Array(n),f=new Array(n),h=r.words;h.length=n,this.convert13b(e.words,e.length,a,n),this.convert13b(t.words,t.length,c,n),this.transform(a,o,s,u,n,i),this.transform(c,o,l,f,n,i);for(var d=0;d<n;d++){var p=s[d]*l[d]-u[d]*f[d];u[d]=s[d]*f[d]+u[d]*l[d],s[d]=p}return this.conjugate(s,u,n),this.transform(s,u,h,o,n,i),this.conjugate(h,o,n),this.normalize13b(h,n),r.negative=e.negative^t.negative,r.length=e.length+t.length,r._strip()},o.prototype.mul=function(e){var t=new o(null);return t.words=new Array(this.length+e.length),this.mulTo(e,t)},o.prototype.mulf=function(e){var t=new o(null);return t.words=new Array(this.length+e.length),b(this,e,t)},o.prototype.imul=function(e){return this.clone().mulTo(e,this)},o.prototype.imuln=function(e){var t=e<0;t&&(e=-e),n("number"===typeof e),n(e<67108864);for(var r=0,i=0;i<this.length;i++){var o=(0|this.words[i])*e,a=(67108863&o)+(67108863&r);r>>=26,r+=o/67108864|0,r+=a>>>26,this.words[i]=67108863&a}return 0!==r&&(this.words[i]=r,this.length++),t?this.ineg():this},o.prototype.muln=function(e){return this.clone().imuln(e)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(e){var t=function(e){for(var t=new Array(e.bitLength()),r=0;r<t.length;r++){var n=r/26|0,i=r%26;t[r]=e.words[n]>>>i&1}return t}(e);if(0===t.length)return new o(1);for(var r=this,n=0;n<t.length&&0===t[n];n++,r=r.sqr());if(++n<t.length)for(var i=r.sqr();n<t.length;n++,i=i.sqr())0!==t[n]&&(r=r.mul(i));return r},o.prototype.iushln=function(e){n("number"===typeof e&&e>=0);var t,r=e%26,i=(e-r)/26,o=67108863>>>26-r<<26-r;if(0!==r){var a=0;for(t=0;t<this.length;t++){var s=this.words[t]&o,u=(0|this.words[t])-s<<r;this.words[t]=u|a,a=s>>>26-r}a&&(this.words[t]=a,this.length++)}if(0!==i){for(t=this.length-1;t>=0;t--)this.words[t+i]=this.words[t];for(t=0;t<i;t++)this.words[t]=0;this.length+=i}return this._strip()},o.prototype.ishln=function(e){return n(0===this.negative),this.iushln(e)},o.prototype.iushrn=function(e,t,r){var i;n("number"===typeof e&&e>=0),i=t?(t-t%26)/26:0;var o=e%26,a=Math.min((e-o)/26,this.length),s=67108863^67108863>>>o<<o,u=r;if(i-=a,i=Math.max(0,i),u){for(var c=0;c<a;c++)u.words[c]=this.words[c];u.length=a}if(0===a);else if(this.length>a)for(this.length-=a,c=0;c<this.length;c++)this.words[c]=this.words[c+a];else this.words[0]=0,this.length=1;var l=0;for(c=this.length-1;c>=0&&(0!==l||c>=i);c--){var f=0|this.words[c];this.words[c]=l<<26-o|f>>>o,l=f&s}return u&&0!==l&&(u.words[u.length++]=l),0===this.length&&(this.words[0]=0,this.length=1),this._strip()},o.prototype.ishrn=function(e,t,r){return n(0===this.negative),this.iushrn(e,t,r)},o.prototype.shln=function(e){return this.clone().ishln(e)},o.prototype.ushln=function(e){return this.clone().iushln(e)},o.prototype.shrn=function(e){return this.clone().ishrn(e)},o.prototype.ushrn=function(e){return this.clone().iushrn(e)},o.prototype.testn=function(e){n("number"===typeof e&&e>=0);var t=e%26,r=(e-t)/26,i=1<<t;return!(this.length<=r)&&!!(this.words[r]&i)},o.prototype.imaskn=function(e){n("number"===typeof e&&e>=0);var t=e%26,r=(e-t)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=r)return this;if(0!==t&&r++,this.length=Math.min(r,this.length),0!==t){var i=67108863^67108863>>>t<<t;this.words[this.length-1]&=i}return this._strip()},o.prototype.maskn=function(e){return this.clone().imaskn(e)},o.prototype.iaddn=function(e){return n("number"===typeof e),n(e<67108864),e<0?this.isubn(-e):0!==this.negative?1===this.length&&(0|this.words[0])<=e?(this.words[0]=e-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(e),this.negative=1,this):this._iaddn(e)},o.prototype._iaddn=function(e){this.words[0]+=e;for(var t=0;t<this.length&&this.words[t]>=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},o.prototype.isubn=function(e){if(n("number"===typeof e),n(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t<this.length&&this.words[t]<0;t++)this.words[t]+=67108864,this.words[t+1]-=1;return this._strip()},o.prototype.addn=function(e){return this.clone().iaddn(e)},o.prototype.subn=function(e){return this.clone().isubn(e)},o.prototype.iabs=function(){return this.negative=0,this},o.prototype.abs=function(){return this.clone().iabs()},o.prototype._ishlnsubmul=function(e,t,r){var i,o,a=e.length+r;this._expand(a);var s=0;for(i=0;i<e.length;i++){o=(0|this.words[i+r])+s;var u=(0|e.words[i])*t;s=((o-=67108863&u)>>26)-(u/67108864|0),this.words[i+r]=67108863&o}for(;i<this.length-r;i++)s=(o=(0|this.words[i+r])+s)>>26,this.words[i+r]=67108863&o;if(0===s)return this._strip();for(n(-1===s),s=0,i=0;i<this.length;i++)s=(o=-(0|this.words[i])+s)>>26,this.words[i]=67108863&o;return this.negative=1,this._strip()},o.prototype._wordDiv=function(e,t){var r=(this.length,e.length),n=this.clone(),i=e,a=0|i.words[i.length-1];0!==(r=26-this._countBits(a))&&(i=i.ushln(r),n.iushln(r),a=0|i.words[i.length-1]);var s,u=n.length-i.length;if("mod"!==t){(s=new o(null)).length=u+1,s.words=new Array(s.length);for(var c=0;c<s.length;c++)s.words[c]=0}var l=n.clone()._ishlnsubmul(i,1,u);0===l.negative&&(n=l,s&&(s.words[u]=1));for(var f=u-1;f>=0;f--){var h=67108864*(0|n.words[i.length+f])+(0|n.words[i.length+f-1]);for(h=Math.min(h/a|0,67108863),n._ishlnsubmul(i,h,f);0!==n.negative;)h--,n.negative=0,n._ishlnsubmul(i,1,f),n.isZero()||(n.negative^=1);s&&(s.words[f]=h)}return s&&s._strip(),n._strip(),"div"!==t&&0!==r&&n.iushrn(r),{div:s||null,mod:n}},o.prototype.divmod=function(e,t,r){return n(!e.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===e.negative?(s=this.neg().divmod(e,t),"mod"!==t&&(i=s.div.neg()),"div"!==t&&(
vendor: 16,384 bytes, line 2
2a=s.mod.neg(),r&&0!==a.negative&&a.iadd(e)),{div:i,mod:a}):0===this.negative&&0!==e.negative?(s=this.divmod(e.neg(),t),"mod"!==t&&(i=s.div.neg()),{div:i,mod:s.mod}):0!==(this.negative&e.negative)?(s=this.neg().divmod(e.neg(),t),"div"!==t&&(a=s.mod.neg(),r&&0!==a.negative&&a.isub(e)),{div:s.div,mod:a}):e.length>this.length||this.cmp(e)<0?{div:new o(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new o(this.modrn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new o(this.modrn(e.words[0]))}:this._wordDiv(e,t);var i,a,s},o.prototype.div=function(e){return this.divmod(e,"div",!1).div},o.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},o.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},o.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var r=0!==t.div.negative?t.mod.isub(e):t.mod,n=e.ushrn(1),i=e.andln(1),o=r.cmp(n);return o<0||1===i&&0===o?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},o.prototype.modrn=function(e){var t=e<0;t&&(e=-e),n(e<=67108863);for(var r=(1<<26)%e,i=0,o=this.length-1;o>=0;o--)i=(r*i+(0|this.words[o]))%e;return t?-i:i},o.prototype.modn=function(e){return this.modrn(e)},o.prototype.idivn=function(e){var t=e<0;t&&(e=-e),n(e<=67108863);for(var r=0,i=this.length-1;i>=0;i--){var o=(0|this.words[i])+67108864*r;this.words[i]=o/e|0,r=o%e}return this._strip(),t?this.ineg():this},o.prototype.divn=function(e){return this.clone().idivn(e)},o.prototype.egcd=function(e){n(0===e.negative),n(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var i=new o(1),a=new o(0),s=new o(0),u=new o(1),c=0;t.isEven()&&r.isEven();)t.iushrn(1),r.iushrn(1),++c;for(var l=r.clone(),f=t.clone();!t.isZero();){for(var h=0,d=1;0===(t.words[0]&d)&&h<26;++h,d<<=1);if(h>0)for(t.iushrn(h);h-- >0;)(i.isOdd()||a.isOdd())&&(i.iadd(l),a.isub(f)),i.iushrn(1),a.iushrn(1);for(var p=0,y=1;0===(r.words[0]&y)&&p<26;++p,y<<=1);if(p>0)for(r.iushrn(p);p-- >0;)(s.isOdd()||u.isOdd())&&(s.iadd(l),u.isub(f)),s.iushrn(1),u.iushrn(1);t.cmp(r)>=0?(t.isub(r),i.isub(s),a.isub(u)):(r.isub(t),s.isub(i),u.isub(a))}return{a:s,b:u,gcd:r.iushln(c)}},o.prototype._invmp=function(e){n(0===e.negative),n(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var i,a=new o(1),s=new o(0),u=r.clone();t.cmpn(1)>0&&r.cmpn(1)>0;){for(var c=0,l=1;0===(t.words[0]&l)&&c<26;++c,l<<=1);if(c>0)for(t.iushrn(c);c-- >0;)a.isOdd()&&a.iadd(u),a.iushrn(1);for(var f=0,h=1;0===(r.words[0]&h)&&f<26;++f,h<<=1);if(f>0)for(r.iushrn(f);f-- >0;)s.isOdd()&&s.iadd(u),s.iushrn(1);t.cmp(r)>=0?(t.isub(r),a.isub(s)):(r.isub(t),s.isub(a))}return(i=0===t.cmpn(1)?a:s).cmpn(0)<0&&i.iadd(e),i},o.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),r=e.clone();t.negative=0,r.negative=0;for(var n=0;t.isEven()&&r.isEven();n++)t.iushrn(1),r.iushrn(1);for(;;){for(;t.isEven();)t.iushrn(1);for(;r.isEven();)r.iushrn(1);var i=t.cmp(r);if(i<0){var o=t;t=r,r=o}else if(0===i||0===r.cmpn(1))break;t.isub(r)}return r.iushln(n)},o.prototype.invm=function(e){return this.egcd(e).a.umod(e)},o.prototype.isEven=function(){return 0===(1&this.words[0])},o.prototype.isOdd=function(){return 1===(1&this.words[0])},o.prototype.andln=function(e){return this.words[0]&e},o.prototype.bincn=function(e){n("number"===typeof e);var t=e%26,r=(e-t)/26,i=1<<t;if(this.length<=r)return this._expand(r+1),this.words[r]|=i,this;for(var o=i,a=r;0!==o&&a<this.length;a++){var s=0|this.words[a];o=(s+=o)>>>26,s&=67108863,this.words[a]=s}return 0!==o&&(this.words[a]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(e){var t,r=e<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this._strip(),this.length>1)t=1;else{r&&(e=-e),n(e<=67108863,"Number is too big");var i=0|this.words[0];t=i===e?0:i<e?-1:1}return 0!==this.negative?0|-t:t},o.prototype.cmp=function(e){if(0!==this.negative&&0===e.negative)return-1;if(0===this.negative&&0!==e.negative)return 1;var t=this.ucmp(e);return 0!==this.negative?0|-t:t},o.prototype.ucmp=function(e){if(this.length>e.length)return 1;if(this.length<e.length)return-1;for(var t=0,r=this.length-1;r>=0;r--){var n=0|this.words[r],i=0|e.words[r];if(n!==i){n<i?t=-1:n>i&&(t=1);break}}return t},o.prototype.gtn=function(e){return 1===this.cmpn(e)},o.prototype.gt=function(e){return 1===this.cmp(e)},o.prototype.gten=function(e){return this.cmpn(e)>=0},o.prototype.gte=function(e){return this.cmp(e)>=0},o.prototype.ltn=function(e){return-1===this.cmpn(e)},o.prototype.lt=function(e){return-1===this.cmp(e)},o.prototype.lten=function(e){return this.cmpn(e)<=0},o.prototype.lte=function(e){return this.cmp(e)<=0},o.prototype.eqn=function(e){return 0===this.cmpn(e)},o.prototype.eq=function(e){return 0===this.cmp(e)},o.red=function(e){return new E(e)},o.prototype.toRed=function(e){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},o.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(e){return this.red=e,this},o.prototype.forceRed=function(e){return n(!this.red,"Already a number in reduction context"),this._forceRed(e)},o.prototype.redAdd=function(e){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},o.prototype.redIAdd=function(e){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},o.prototype.redSub=function(e){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},o.prototype.redISub=function(e){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},o.prototype.redShl=function(e){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},o.prototype.redMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},o.prototype.redIMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},o.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(e){return n(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var g={k256:null,p224:null,p192:null,p25519:null};function _(e,t){this.name=e,this.p=new o(t,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function w(){_.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function S(){_.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function M(){_.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function x(){_.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function E(e){if("string"===typeof e){var t=o._prime(e);this.m=t.p,this.prime=t}else n(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function k(e){E.call(this,e),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new o(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}_.prototype._tmp=function(){var e=new o(null);return e.words=new Array(Math.ceil(this.n/13)),e},_.prototype.ireduce=function(e){var t,r=e;do{this.split(r,this.tmp),t=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(t>this.n);var n=t<this.n?-1:r.ucmp(this.p);return 0===n?(r.words[0]=0,r.length=1):n>0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},_.prototype.split=function(e,t){e.iushrn(this.n,0,t)},_.prototype.imulK=function(e){return e.imul(this.k)},i(w,_),w.prototype.split=function(e,t){for(var r=4194303,n=Math.min(e.length,9),i=0;i<n;i++)t.words[i]=e.words[i];if(t.length=n,e.length<=9)return e.words[0]=0,void(e.length=1);var o=e.words[9];for(t.words[t.length++]=o&r,i=10;i<e.length;i++){var a=0|e.words[i];e.words[i-10]=(a&r)<<4|o>>>22,o=a}o>>>=22,e.words[i-10]=o,0===o&&e.length>10?e.length-=10:e.length-=9},w.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,r=0;r<e.length;r++){var n=0|e.words[r];t+=977*n,e.words[r]=67108863&t,t=64*n+(t/67108864|0)}return 0===e.words[e.length-1]&&(e.length--,0===e.words[e.length-1]&&e.length--),e},i(S,_),i(M,_),i(x,_),x.prototype.imulK=function(e){for(var t=0,r=0;r<e.length;r++){var n=19*(0|e.words[r])+t,i=67108863&n;n>>>=26,e.words[r]=i,t=n}return 0!==t&&(e.words[e.length++]=t),e},o._prime=function(e){if(g[e])return g[e];var t;if("k256"===e)t=new w;else if("p224"===e)t=new S;else if("p192"===e)t=new M;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new x}return g[e]=t,t},E.prototype._verify1=function(e){n(0===e.negative,"red works only with positives"),n(e.red,"red works only with red numbers")},E.prototype._verify2=function(e,t){n(0===(e.negative|t.negative),"red works only with positives"),n(e.red&&e.red===t.red,"red works only with red numbers")},E.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):(c(e,e.umod(this.m)._forceRed(this)),e)},E.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},E.prototype.add=function(e,t){this._verify2(e,t);var r=e.add(t);return r.cmp(this.m)>=0&&r.isub(this.m),r._forceRed(this)},E.prototype.iadd=function(e,t){this._verify2(e,t);var r=e.iadd(t);return r.cmp(this.m)>=0&&r.isub(this.m),r},E.prototype.sub=function(e,t){this._verify2(e,t);var r=e.sub(t);return r.cmpn(0)<0&&r.iadd(this.m),r._forceRed(this)},E.prototype.isub=function(e,t){this._verify2(e,t);var r=e.isub(t);return r.cmpn(0)<0&&r.iadd(this.m),r},E.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},E.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},E.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},E.prototype.isqr=function(e){return this.imul(e,e.clone())},E.prototype.sqr=function(e){return this.mul(e,e)},E.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(n(t%2===1),3===t){var r=this.m.add(new o(1)).iushrn(2);return this.pow(e,r)}for(var i=this.m.subn(1),a=0;!i.isZero()&&0===i.andln(1);)a++,i.iushrn(1);n(!i.isZero());var s=new o(1).toRed(this),u=s.redNeg(),c=this.m.subn(1).iushrn(1),l=this.m.bitLength();for(l=new o(2*l*l).toRed(this);0!==this.pow(l,c).cmp(u);)l.redIAdd(u);for(var f=this.pow(l,i),h=this.pow(e,i.addn(1).iushrn(1)),d=this.pow(e,i),p=a;0!==d.cmp(s);){for(var y=d,m=0;0!==y.cmp(s);m++)y=y.redSqr();n(m<p);var b=this.pow(f,new o(1).iushln(p-m-1));h=h.redMul(b),f=b.redSqr(),d=d.redMul(f),p=m}return h},E.prototype.invm=function(e){var t=e._invmp(this.m);return 0!==t.negative?(t.negative=0,this.imod(t).redNeg()):this.imod(t)},E.prototype.pow=function(e,t){if(t.isZero())return new o(1).toRed(this);if(0===t.cmpn(1))return e.clone();var r=new Array(16);r[0]=new o(1).toRed(this),r[1]=e;for(var n=2;n<r.length;n++)r[n]=this.mul(r[n-1],e);var i=r[0],a=0,s=0,u=t.bitLength()%26;for(0===u&&(u=26),n=t.length-1;n>=0;n--){for(var c=t.words[n],l=u-1;l>=0;l--){var f=c>>l&1;i!==r[0]&&(i=this.sqr(i)),0!==f||0!==a?(a<<=1,a|=f,(4===++s||0===n&&0===l)&&(i=this.mul(i,r[a]),s=0,a=0)):s=0}u=26}return i},E.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},E.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},o.mont=function(e){return new k(e)},i(k,E),k.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},k.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},k.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var r=e.imul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},k.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new o(0)._forceRed(this);var r=e.mul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),a=i;return i.cmp(this.m)>=0?a=i.isub(this.m):i.cmpn(0)<0&&(a=i.iadd(this.m)),a._forceRed(this)},k.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}}(e,this)}).call(this,r(84)(e))},function(e,t,r){"use strict";var n=t;n.bignum=r(12),n.define=r(332).define,n.base=r(335),n.constants=r(336),n.decoders=r(170),n.encoders=r(168)},function(e,t,r){"use strict";var n=t;n.der=r(169),n.pem=r(333)},function(e,t,r){"use strict";var n=r(3),i=r(91).Buffer,o=r(92),a=r(94);function s(e){this.enc="der",this.name=e.name,this.entity=e,this.tree=new u,this.tree._init(e.body)}function u(e){o.call(this,"der",e)}function c(e){return e<10?"0"+e:e}e.exports=s,s.prototype.encode=function(e,t){return this.tree._encode(e,t).join()},n(u,o),u.prototype._encodeComposite=function(e,t,r,n){var o=function(e,t,r,n){var i;"seqof"===e?e="seq":"setof"===e&&(e="set");if(a.tagByName.hasOwnProperty(e))i=a.tagByName[e];else{if("number"!==typeof e||(0|e)!==e)return n.error("Unknown tag: "+e);i=e}if(i>=31)return n.error("Multi-octet tag encoding unsupported");t||(i|=32);return i|=a.tagClassByName[r||"universal"]<<6}(e,t,r,this.reporter);if(n.length<128){var s=i.alloc(2);return s[0]=o,s[1]=n.length,this._createEncoderBuffer([s,n])}for(var u=1,c=n.length;c>=256;c>>=8)u++;var l=i.alloc(2+u);l[0]=o,l[1]=128|u;for(var f=1+u,h=n.length;h>0;f--,h>>=8)l[f]=255&h;return this._createEncoderBuffer([l,n])},u.prototype._encodeStr=function(e,t){if("bitstr"===t)return this._createEncoderBuffer([0|e.unused,e.data]);if("bmpstr"===t){for(var r=i.alloc(2*e.length),n=0;n<e.length;n++)r.writeUInt16BE(e.charCodeAt(n),2*n);return this._createEncoderBuffer(r)}return"numstr"===t?this._isNumstr(e)?this._createEncoderBuffer(e):this.reporter.error("Encoding of string type: numstr supports only digits and space"):"printstr"===t?this._isPrintstr(e)?this._createEncoderBuffer(e):this.reporter.error("Encoding of string type: printstr supports only latin upper and lower case letters, digits, space, apostrophe, left and rigth parenthesis, plus sign, comma, hyphen, dot, slash, colon, equal sign, question mark"):/str$/.test(t)||"objDesc"===t?this._createEncoderBuffer(e):this.reporter.error("Encoding of string type: "+t+" unsupported")},u.prototype._encodeObjid=function(e,t,r){if("string"===typeof e){if(!t)return this.reporter.error("string objid given, but no values map found");if(!t.hasOwnProperty(e))return this.reporter.error("objid not found in values map");e=t[e].split(/[\s.]+/g);for(var n=0;n<e.length;n++)e[n]|=0}else if(Array.isArray(e)){e=e.slice();for(var o=0;o<e.length;o++)e[o]|=0}if(!Array.isArray(e))return this.reporter.error("objid() should be either array or string, got: "+JSON.stringify(e));if(!r){if(e[1]>=40)return this.reporter.error("Second objid identifier OOB");e.splice(0,2,40*e[0]+e[1])}for(var a=0,s=0;s<e.length;s++){var u=e[s];for(a++;u>=128;u>>=7)a++}for(var c=i.alloc(a),l=c.length-1,f=e.length-1;f>=0;f--){var h=e[f];for(c[l--]=127&h;(h>>=7)>0;)c[l--]=128|127&h}return this._createEncoderBuffer(c)},u.prototype._encodeTime=function(e,t){var r,n=new Date(e);return"gentime"===t?r=[c(n.getUTCFullYear()),c(n.getUTCMonth()+1),c(n.getUTCDate()),c(n.getUTCHours()),c(n.getUTCMinutes()),c(n.getUTCSeconds()),"Z"].join(""):"utctime"===t?r=[c(n.getUTCFullYear()%100),c(n.getUTCMonth()+1),c(n.getUTCDate()),c(n.getUTCHours()),c(n.getUTCMinutes()),c(n.getUTCSeconds()),"Z"].join(""):this.reporter.
2error("Encoding "+t+" time is not supported yet"),this._encodeStr(r,"octstr")},u.prototype._encodeNull=function(){return this._createEncoderBuffer("")},u.prototype._encodeInt=function(e,t){if("string"===typeof e){if(!t)return this.reporter.error("String int or enum given, but no values map");if(!t.hasOwnProperty(e))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(e));e=t[e]}if("number"!==typeof e&&!i.isBuffer(e)){var r=e.toArray();!e.sign&&128&r[0]&&r.unshift(0),e=i.from(r)}if(i.isBuffer(e)){var n=e.length;0===e.length&&n++;var o=i.alloc(n);return e.copy(o),0===e.length&&(o[0]=0),this._createEncoderBuffer(o)}if(e<128)return this._createEncoderBuffer(e);if(e<256)return this._createEncoderBuffer([0,e]);for(var a=1,s=e;s>=256;s>>=8)a++;for(var u=new Array(a),c=u.length-1;c>=0;c--)u[c]=255&e,e>>=8;return 128&u[0]&&u.unshift(0),this._createEncoderBuffer(i.from(u))},u.prototype._encodeBool=function(e){return this._createEncoderBuffer(e?255:0)},u.prototype._use=function(e,t){return"function"===typeof e&&(e=e(t)),e._getEncoder("der").tree},u.prototype._skipDefault=function(e,t,r){var n,i=this._baseState;if(null===i.default)return!1;var o=e.join();if(void 0===i.defaultBuffer&&(i.defaultBuffer=this._encodeValue(i.default,t,r).join()),o.length!==i.defaultBuffer.length)return!1;for(n=0;n<o.length;n++)if(o[n]!==i.defaultBuffer[n])return!1;return!0}},function(e,t,r){"use strict";var n=t;n.der=r(171),n.pem=r(334)},function(e,t,r){"use strict";var n=r(3),i=r(12),o=r(45).DecoderBuffer,a=r(92),s=r(94);function u(e){this.enc="der",this.name=e.name,this.entity=e,this.tree=new c,this.tree._init(e.body)}function c(e){a.call(this,"der",e)}function l(e,t){var r=e.readUInt8(t);if(e.isError(r))return r;var n=s.tagClass[r>>6],i=0===(32&r);if(31===(31&r)){var o=r;for(r=0;128===(128&o);){if(o=e.readUInt8(t),e.isError(o))return o;r<<=7,r|=127&o}}else r&=31;return{cls:n,primitive:i,tag:r,tagStr:s.tag[r]}}function f(e,t,r){var n=e.readUInt8(r);if(e.isError(n))return n;if(!t&&128===n)return null;if(0===(128&n))return n;var i=127&n;if(i>4)return e.error("length octect is too long");n=0;for(var o=0;o<i;o++){n<<=8;var a=e.readUInt8(r);if(e.isError(a))return a;n|=a}return n}e.exports=u,u.prototype.decode=function(e,t){return o.isDecoderBuffer(e)||(e=new o(e,t)),this.tree._decode(e,t)},n(c,a),c.prototype._peekTag=function(e,t,r){if(e.isEmpty())return!1;var n=e.save(),i=l(e,'Failed to peek tag: "'+t+'"');return e.isError(i)?i:(e.restore(n),i.tag===t||i.tagStr===t||i.tagStr+"of"===t||r)},c.prototype._decodeTag=function(e,t,r){var n=l(e,'Failed to decode tag of "'+t+'"');if(e.isError(n))return n;var i=f(e,n.primitive,'Failed to get length of "'+t+'"');if(e.isError(i))return i;if(!r&&n.tag!==t&&n.tagStr!==t&&n.tagStr+"of"!==t)return e.error('Failed to match tag: "'+t+'"');if(n.primitive||null!==i)return e.skip(i,'Failed to match body of: "'+t+'"');var o=e.save(),a=this._skipUntilEnd(e,'Failed to skip indefinite length body: "'+this.tag+'"');return e.isError(a)?a:(i=e.offset-o.offset,e.restore(o),e.skip(i,'Failed to match body of: "'+t+'"'))},c.prototype._skipUntilEnd=function(e,t){for(;;){var r=l(e,t);if(e.isError(r))return r;var n=f(e,r.primitive,t);if(e.isError(n))return n;var i=void 0;if(i=r.primitive||null!==n?e.skip(n):this._skipUntilEnd(e,t),e.isError(i))return i;if("end"===r.tagStr)break}},c.prototype._decodeList=function(e,t,r,n){for(var i=[];!e.isEmpty();){var o=this._peekTag(e,"end");if(e.isError(o))return o;var a=r.decode(e,"der",n);if(e.isError(a)&&o)break;i.push(a)}return i},c.prototype._decodeStr=function(e,t){if("bitstr"===t){var r=e.readUInt8();return e.isError(r)?r:{unused:r,data:e.raw()}}if("bmpstr"===t){var n=e.raw();if(n.length%2===1)return e.error("Decoding of string type: bmpstr length mismatch");for(var i="",o=0;o<n.length/2;o++)i+=String.fromCharCode(n.readUInt16BE(2*o));return i}if("numstr"===t){var a=e.raw().toString("ascii");return this._isNumstr(a)?a:e.error("Decoding of string type: numstr unsupported characters")}if("octstr"===t)return e.raw();if("objDesc"===t)return e.raw();if("printstr"===t){var s=e.raw().toString("ascii");return this._isPrintstr(s)?s:e.error("Decoding of string type: printstr unsupported characters")}return/str$/.test(t)?e.raw().toString():e.error("Decoding of string type: "+t+" unsupported")},c.prototype._decodeObjid=function(e,t,r){for(var n,i=[],o=0,a=0;!e.isEmpty();)o<<=7,o|=127&(a=e.readUInt8()),0===(128&a)&&(i.push(o),o=0);128&a&&i.push(o);var s=i[0]/40|0,u=i[0]%40;if(n=r?i:[s,u].concat(i.slice(1)),t){var c=t[n.join(" ")];void 0===c&&(c=t[n.join(".")]),void 0!==c&&(n=c)}return n},c.prototype._decodeTime=function(e,t){var r,n,i,o,a,s,u=e.raw().toString();if("gentime"===t)r=0|u.slice(0,4),n=0|u.slice(4,6),i=0|u.slice(6,8),o=0|u.slice(8,10),a=0|u.slice(10,12),s=0|u.slice(12,14);else{if("utctime"!==t)return e.error("Decoding "+t+" time is not supported yet");r=0|u.slice(0,2),n=0|u.slice(2,4),i=0|u.slice(4,6),o=0|u.slice(6,8),a=0|u.slice(8,10),s=0|u.slice(10,12),r=r<70?2e3+r:1900+r}return Date.UTC(r,n-1,i,o,a,s,0)},c.prototype._decodeNull=function(){return null},c.prototype._decodeBool=function(e){var t=e.readUInt8();return e.isError(t)?t:0!==t},c.prototype._decodeInt=function(e,t){var r=e.raw(),n=new i(r);return t&&(n=t[n.toString(10)]||n),n},c.prototype._use=function(e,t){return"function"===typeof e&&(e=e(t)),e._getDecoder("der").tree}},function(e){e.exports=JSON.parse('{"1.3.132.0.10":"secp256k1","1.3.132.0.33":"p224","1.2.840.10045.3.1.1":"p192","1.2.840.10045.3.1.7":"p256","1.3.132.0.34":"p384","1.3.132.0.35":"p521"}')},function(e,t,r){var n=r(42),i=r(5).Buffer;function o(e){var t=i.allocUnsafe(4);return t.writeUInt32BE(e,0),t}e.exports=function(e,t){for(var r,a=i.alloc(0),s=0;a.length<t;)r=o(s++),a=i.concat([a,n("sha1").update(e).update(r).digest()]);return a.slice(0,t)}},function(e,t){e.exports=function(e,t){for(var r=e.length,n=-1;++n<r;)e[n]^=t[n];return e}},function(e,t,r){var n=r(12),i=r(5).Buffer;e.exports=function(e,t){return i.from(e.toRed(n.mont(t.modulus)).redPow(new n(t.publicExponent)).fromRed().toArray())}},function(e,t,r){var n=r(10).Buffer;e.exports=function(e){return"string"===typeof e?e:"number"===typeof e||n.isBuffer(e)?e.toString():JSON.stringify(e)}},function(e,t,r){var n=r(60),i=function(e,t){n.call(this,e),this.name="NotBeforeError",this.date=t};(i.prototype=Object.create(n.prototype)).constructor=i,e.exports=i},function(e,t,r){var n=r(60),i=function(e,t){n.call(this,e),this.name="TokenExpiredError",this.expiredAt=t};(i.prototype=Object.create(n.prototype)).constructor=i,e.exports=i},function(e,t,r){var n=r(350);e.exports=function(e,t){var r=t||Math.floor(Date.now()/1e3);if("string"===typeof e){var i=n(e);if("undefined"===typeof i)return;return Math.floor(r+i/1e3)}return"number"===typeof e?r+e:void 0}},function(e,t,r){(function(t){var n=r(351);e.exports=n.satisfies(t.version,"^6.12.0 || >=8.0.0")}).call(this,r(8))},function(e,t,r){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0}),t.NOOP_TEXT_MAP_PROPAGATOR=t.NoopTextMapPropagator=void 0;var n=function(){function e(){}return e.prototype.inject=function(e,t){},e.prototype.extract=function(e,t){return e},e.prototype.fields=function(){return[]},e}();t.NoopTextMapPropagator=n,t.NOOP_TEXT_MAP_PROPAGATOR=new n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultTextMapSetter=t.defaultTextMapGetter=void 0,t.defaultTextMapGetter={get:function(e,t){if(null!=e)return e[t]},keys:function(e){return null==e?[]:Object.keys(e)}},t.defaultTextMapSetter={set:function(e,t,r){null!=e&&(e[t]=r)}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NoopSpan=void 0;var n=r(61),i=function(){function e(e){void 0===e&&(e=n.INVALID_SPAN_CONTEXT),this._spanContext=e}return e.prototype.context=function(){return this._spanContext},e.prototype.setAttribute=function(e,t){return this},e.prototype.setAttributes=function(e){return this},e.prototype.addEvent=function(e,t){return this},e.prototype.setStatus=function(e){return this},e.prototype.updateName=function(e){return this},e.prototype.end=function(e){},e.prototype.isRecording=function(){return!1},e.prototype.recordException=function(e,t){},e}();t.NoopSpan=i},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TraceFlags=void 0,function(e){e[e.NONE=0]="NONE",e[e.SAMPLED=1]="SAMPLED"}(t.TraceFlags||(t.TraceFlags={}))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NOOP_TRACER_PROVIDER=t.NoopTracerProvider=void 0;var n=r(96),i=function(){function e(){}return e.prototype.getTracer=function(e,t){return n.NOOP_TRACER},e}();t.NoopTracerProvider=i,t.NOOP_TRACER_PROVIDER=new i},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ProxyTracer=void 0;var n=r(96),i=function(){function e(e,t,r){this._provider=e,this.name=t,this.version=r}return e.prototype.startSpan=function(e,t,r){return this._getTracer().startSpan(e,t,r)},e.prototype._getTracer=function(){if(this._delegate)return this._delegate;var e=this._provider.getDelegateTracer(this.name,this.version);return e?(this._delegate=e,this._delegate):n.NOOP_TRACER},e}();t.ProxyTracer=i},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ProxyTracerProvider=void 0;var n=r(186),i=r(185),o=function(){function e(){}return e.prototype.getTracer=function(e,t){var r;return null!==(r=this.getDelegateTracer(e,t))&&void 0!==r?r:new n.ProxyTracer(this,e,t)},e.prototype.getDelegate=function(){var e;return null!==(e=this._delegate)&&void 0!==e?e:i.NOOP_TRACER_PROVIDER},e.prototype.setDelegate=function(e){this._delegate=e},e.prototype.getDelegateTracer=function(e,t){var r;return null===(r=this._delegate)||void 0===r?void 0:r.getTracer(e,t)},e}();t.ProxyTracerProvider=o},function(e,t,r){"use strict";var n=this&&this.__spreadArrays||function(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;var n=Array(e),i=0;for(t=0;t<r;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)n[i]=o[a];return n};Object.defineProperty(t,"__esModule",{value:!0}),t.NoopContextManager=void 0;var i=r(97),o=function(){function e(){}return e.prototype.active=function(){return i.ROOT_CONTEXT},e.prototype.with=function(e,t,r){for(var i=[],o=3;o<arguments.length;o++)i[o-3]=arguments[o];return t.call.apply(t,n([r],i))},e.prototype.bind=function(e,t){return e},e.prototype.enable=function(){return this},e.prototype.disable=function(){return this},e}();t.NoopContextManager=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.VERSION=void 0,t.VERSION="1.0.0-rc.0"},function(e,t,r){"use strict";!function e(){if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}(),e.exports=r(203)},function(e,t,r){e.exports=r(209)},function(e,t,r){var n=r(112),i=r(236),o=r(240),a=r(242),s=r(243),u=r(245),c=Date.prototype.getTime;function l(e,t,r){var d=r||{};return!!(d.strict?o(e,t):e===t)||(!e||!t||"object"!==typeof e&&"object"!==typeof t?d.strict?o(e,t):e==t:function(e,t,r){var o,d;if(typeof e!==typeof t)return!1;if(f(e)||f(t))return!1;if(e.prototype!==t.prototype)return!1;if(i(e)!==i(t))return!1;var p=a(e),y=a(t);if(p!==y)return!1;if(p||y)return e.source===t.source&&s(e)===s(t);if(u(e)&&u(t))return c.call(e)===c.call(t);var m=h(e),b=h(t);if(m!==b)return!1;if(m||b){if(e.length!==t.length)return!1;for(o=0;o<e.length;o++)if(e[o]!==t[o])return!1;return!0}if(typeof e!==typeof t)return!1;try{var v=n(e),g=n(t)}catch(_){return!1}if(v.length!==g.length)return!1;for(v.sort(),g.sort(),o=v.length-1;o>=0;o--)if(v[o]!=g[o])return!1;for(o=v.length-1;o>=0;o--)if(!l(e[d=v[o]],t[d],r))return!1;return!0}(e,t,d))}function f(e){return null===e||void 0===e}function h(e){return!(!e||"object"!==typeof e||"number"!==typeof e.length)&&("function"===typeof e.copy&&"function"===typeof e.slice&&!(e.length>0&&"number"!==typeof e[0]))}
2e.exports=l},function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));var n=r(2);function i(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(e.length>0){var r=String(e[0]);r.includes(":error")?console.error.apply(console,Object(n.e)(e)):r.includes(":warning")?console.warn.apply(console,Object(n.e)(e)):r.includes(":info")?console.info.apply(console,Object(n.e)(e)):(r.includes(":verbose"),console.debug.apply(console,Object(n.e)(e)))}}},function(e){e.exports=JSON.parse('{"a":"0.4.1624666670"}')},function(e,t,r){(function(e){(function(){"use strict";var t="function"==typeof Object.defineProperties?Object.defineProperty:function(e,t,r){return e==Array.prototype||e==Object.prototype||(e[t]=r.value),e};var r=function(t){t=["object"==typeof globalThis&&globalThis,t,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof e&&e];for(var r=0;r<t.length;++r){var n=t[r];if(n&&n.Math==Math)return n}throw Error("Cannot find global object")}(this);var n="function"==typeof Object.assign?Object.assign:function(e,t){for(var r=1;r<arguments.length;r++){var n=arguments[r];if(n)for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e};!function(e,n){if(n)e:{var i=r;e=e.split(".");for(var o=0;o<e.length-1;o++){var a=e[o];if(!(a in i))break e;i=i[a]}(n=n(o=i[e=e[e.length-1]]))!=o&&null!=n&&t(i,e,{configurable:!0,writable:!0,value:n})}}("Object.assign",(function(e){return e||n}));var i=this||self,o={facingMode:"user",width:640,height:480};function a(e,t){this.video=e,this.h=0,this.g=Object.assign(Object.assign({},o),t)}function s(e){window.requestAnimationFrame((function(){!function(e){var t=null;e.video.paused||e.video.currentTime===e.h||(e.h=e.video.currentTime,t=e.g.onFrame()),t?t.then((function(){s(e)})):s(e)}(e)}))}a.prototype.start=function(){var e=this;navigator.mediaDevices&&navigator.mediaDevices.getUserMedia||alert("No navigator.mediaDevices.getUserMedia exists.");var t=this.g;return navigator.mediaDevices.getUserMedia({video:{facingMode:t.facingMode,width:t.width,height:t.height}}).then((function(t){!function(e,t){e.video.srcObject=t,e.video.onloadedmetadata=function(){e.video.play(),s(e)}}(e,t)})).catch((function(e){throw console.error("Failed to acquire camera feed: "+e),alert("Failed to acquire camera feed: "+e),e}))};var u,c=["Camera"],l=i;c[0]in l||"undefined"==typeof l.execScript||l.execScript("var "+c[0]);for(;c.length&&(u=c.shift());)c.length||void 0===a?l=l[u]&&l[u]!==Object.prototype[u]?l[u]:l[u]={}:l[u]=a}).call(this)}).call(this,r(11))},function(e,t,r){"use strict";function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function i(e){return function(e){if(Array.isArray(e))return n(e)}(e)||function(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(e){if("string"===typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}r.d(t,"a",(function(){return i}))},,,,,,function(e,t,r){"use strict";var n=r(64),i=60103,o=60106;t.Fragment=60107,t.StrictMode=60108,t.Profiler=60114;var a=60109,s=60110,u=60112;t.Suspense=60113;var c=60115,l=60116;if("function"===typeof Symbol&&Symbol.for){var f=Symbol.for;i=f("react.element"),o=f("react.portal"),t.Fragment=f("react.fragment"),t.StrictMode=f("react.strict_mode"),t.Profiler=f("react.profiler"),a=f("react.provider"),s=f("react.context"),u=f("react.forward_ref"),t.Suspense=f("react.suspense"),c=f("react.memo"),l=f("react.lazy")}var h="function"===typeof Symbol&&Symbol.iterator;function d(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var p={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},y={};function m(e,t,r){this.props=e,this.context=t,this.refs=y,this.updater=r||p}function b(){}function v(e,t,r){this.props=e,this.context=t,this.refs=y,this.updater=r||p}m.prototype.isReactComponent={},m.prototype.setState=function(e,t){if("object"!==typeof e&&"function"!==typeof e&&null!=e)throw Error(d(85));this.updater.enqueueSetState(this,e,t,"setState")},m.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},b.prototype=m.prototype;var g=v.prototype=new b;g.constructor=v,n(g,m.prototype),g.isPureReactComponent=!0;var _={current:null},w=Object.prototype.hasOwnProperty,S={key:!0,ref:!0,__self:!0,__source:!0};function M(e,t,r){var n,o={},a=null,s=null;if(null!=t)for(n in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(a=""+t.key),t)w.call(t,n)&&!S.hasOwnProperty(n)&&(o[n]=t[n]);var u=arguments.length-2;if(1===u)o.children=r;else if(1<u){for(var c=Array(u),l=0;l<u;l++)c[l]=arguments[l+2];o.children=c}if(e&&e.defaultProps)for(n in u=e.defaultProps)void 0===o[n]&&(o[n]=u[n]);return{$$typeof:i,type:e,key:a,ref:s,props:o,_owner:_.current}}function x(e){return"object"===typeof e&&null!==e&&e.$$typeof===i}var E=/\/+/g;function k(e,t){return"object"===typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function O(e,t,r,n,a){var s=typeof e;"undefined"!==s&&"boolean"!==s||(e=null);var u=!1;if(null===e)u=!0;else switch(s){case"string":case"number":u=!0;break;case"object":switch(e.$$typeof){case i:case o:u=!0}}if(u)return a=a(u=e),e=""===n?"."+k(u,0):n,Array.isArray(a)?(r="",null!=e&&(r=e.replace(E,"$&/")+"/"),O(a,t,r,"",(function(e){return e}))):null!=a&&(x(a)&&(a=function(e,t){return{$$typeof:i,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(a,r+(!a.key||u&&u.key===a.key?"":(""+a.key).replace(E,"$&/")+"/")+e)),t.push(a)),1;if(u=0,n=""===n?".":n+":",Array.isArray(e))for(var c=0;c<e.length;c++){var l=n+k(s=e[c],c);u+=O(s,t,r,l,a)}else if("function"===typeof(l=function(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=h&&e[h]||e["@@iterator"])?e:null}(e)))for(e=l.call(e),c=0;!(s=e.next()).done;)u+=O(s=s.value,t,r,l=n+k(s,c++),a);else if("object"===s)throw t=""+e,Error(d(31,"[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t));return u}function T(e,t,r){if(null==e)return e;var n=[],i=0;return O(e,n,"","",(function(e){return t.call(r,e,i++)})),n}function P(e){if(-1===e._status){var t=e._result;t=t(),e._status=0,e._result=t,t.then((function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)}),(function(t){0===e._status&&(e._status=2,e._result=t)}))}if(1===e._status)return e._result;throw e._result}var A={current:null};function R(){var e=A.current;if(null===e)throw Error(d(321));return e}var j={ReactCurrentDispatcher:A,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:_,IsSomeRendererActing:{current:!1},assign:n};t.Children={map:T,forEach:function(e,t,r){T(e,(function(){t.apply(this,arguments)}),r)},count:function(e){var t=0;return T(e,(function(){t++})),t},toArray:function(e){return T(e,(function(e){return e}))||[]},only:function(e){if(!x(e))throw Error(d(143));return e}}
vendor: 4,222 bytes, line 2
2,t.Component=m,t.PureComponent=v,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=j,t.cloneElement=function(e,t,r){if(null===e||void 0===e)throw Error(d(267,e));var o=n({},e.props),a=e.key,s=e.ref,u=e._owner;if(null!=t){if(void 0!==t.ref&&(s=t.ref,u=_.current),void 0!==t.key&&(a=""+t.key),e.type&&e.type.defaultProps)var c=e.type.defaultProps;for(l in t)w.call(t,l)&&!S.hasOwnProperty(l)&&(o[l]=void 0===t[l]&&void 0!==c?c[l]:t[l])}var l=arguments.length-2;if(1===l)o.children=r;else if(1<l){c=Array(l);for(var f=0;f<l;f++)c[f]=arguments[f+2];o.children=c}return{$$typeof:i,type:e.type,key:a,ref:s,props:o,_owner:u}},t.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:s,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:a,_context:e},e.Consumer=e},t.createElement=M,t.createFactory=function(e){var t=M.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:u,render:e}},t.isValidElement=x,t.lazy=function(e){return{$$typeof:l,_payload:{_status:-1,_result:e},_init:P}},t.memo=function(e,t){return{$$typeof:c,type:e,compare:void 0===t?null:t}},t.useCallback=function(e,t){return R().useCallback(e,t)},t.useContext=function(e,t){return R().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return R().useEffect(e,t)},t.useImperativeHandle=function(e,t,r){return R().useImperativeHandle(e,t,r)},t.useLayoutEffect=function(e,t){return R().useLayoutEffect(e,t)},t.useMemo=function(e,t){return R().useMemo(e,t)},t.useReducer=function(e,t,r){return R().useReducer(e,t,r)},t.useRef=function(e){return R().useRef(e)},t.useState=function(e){return R().useState(e)},t.version="17.0.2"},function(e,t,r){"use strict";var n=r(1),i=r(64),o=r(204);function a(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!n)throw Error(a(227));var s=new Set,u={};function c(e,t){l(e,t),l(e+"Capture",t)}function l(e,t){for(u[e]=t,e=0;e<t.length;e++)s.add(t[e])}var f=!("undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement),h=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,d=Object.prototype.hasOwnProperty,p={},y={};function m(e,t,r,n,i,o,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=n,this.attributeNamespace=i,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=a}var b={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){b[e]=new m(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];b[t]=new m(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){b[e]=new m(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){b[e]=new m(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){b[e]=new m(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){b[e]=new m(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){b[e]=new m(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){b[e]=new m(e,6,!1,e,null,!1,!1)}
vendor: 7,986 bytes, line 2
2)),["rowSpan","start"].forEach((function(e){b[e]=new m(e,5,!1,e.toLowerCase(),null,!1,!1)}));var v=/[\-:]([a-z])/g;function g(e){return e[1].toUpperCase()}function _(e,t,r,n){var i=b.hasOwnProperty(t)?b[t]:null;(null!==i?0===i.type:!n&&(2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1])))||(function(e,t,r,n){if(null===t||"undefined"===typeof t||function(e,t,r,n){if(null!==r&&0===r.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!n&&(null!==r?!r.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,r,n))return!0;if(n)return!1;if(null!==r)switch(r.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,r,i,n)&&(r=null),n||null===i?function(e){return!!d.call(y,e)||!d.call(p,e)&&(h.test(e)?y[e]=!0:(p[e]=!0,!1))}(t)&&(null===r?e.removeAttribute(t):e.setAttribute(t,""+r)):i.mustUseProperty?e[i.propertyName]=null===r?3!==i.type&&"":r:(t=i.attributeName,n=i.attributeNamespace,null===r?e.removeAttribute(t):(r=3===(i=i.type)||4===i&&!0===r?"":""+r,n?e.setAttributeNS(n,t,r):e.setAttribute(t,r))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(v,g);b[t]=new m(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(v,g);b[t]=new m(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(v,g);b[t]=new m(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){b[e]=new m(e,1,!1,e.toLowerCase(),null,!1,!1)})),b.xlinkHref=new m("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){b[e]=new m(e,1,!1,e.toLowerCase(),null,!0,!0)}));var w=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,S=60103,M=60106,x=60107,E=60108,k=60114,O=60109,T=60110,P=60112,A=60113,R=60120,j=60115,C=60116,N=60121,I=60128,L=60129,D=60130,B=60131;if("function"===typeof Symbol&&Symbol.for){var q=Symbol.for;S=q("react.element"),M=q("react.portal"),x=q("react.fragment"),E=q("react.strict_mode"),k=q("react.profiler"),O=q("react.provider"),T=q("react.context"),P=q("react.forward_ref"),A=q("react.suspense"),R=q("react.suspense_list"),j=q("react.memo"),C=q("react.lazy"),N=q("react.block"),q("react.scope"),I=q("react.opaque.id"),L=q("react.debug_trace_mode"),D=q("react.offscreen"),B=q("react.legacy_hidden")}var U,z="function"===typeof Symbol&&Symbol.iterator;function F(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=z&&e[z]||e["@@iterator"])?e:null}function H(e){if(void 0===U)try{throw Error()}catch(r){var t=r.stack.trim().match(/\n( *(at )?)/);U=t&&t[1]||""}return"\n"+U+e}var V=!1;function W(e,t){if(!e||V)return"";V=!0;var r=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"===typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(u){var n=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){n=u}e.call(t.prototype)}else{try{throw Error()}catch(u){n=u}e()}}catch(u){if(u&&n&&"string"===typeof u.stack){for(var i=u.stack.split("\n"),o=n.stack.split("\n"),a=i.length-1,s=o.length-1;1<=a&&0<=s&&i[a]!==o[s];)s--;for(;1<=a&&0<=s;a--,s--)if(i[a]!==o[s]){if(1!==a||1!==s)do{if(a--,0>--s||i[a]!==o[s])return"\n"+i[a].replace(" at new "," at ")}while(1<=a&&0<=s);break}}}finally{V=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?H(e):""}function G(e){switch(e.tag){case 5:return H(e.type);case 16:return H("Lazy");case 13:return H("Suspense");case 19:return H("SuspenseList");case 0:case 2:case 15:return e=W(e.type,!1);case 11:return e=W(e.type.render,!1);case 22:return e=W(e.type._render,!1);case 1:return e=W(e.type,!0);default:return""}}function K(e){if(null==e)return null;if("function"===typeof e)return e.displayName||e.name||null;if("string"===typeof e)return e;switch(e){case x:return"Fragment";case M:return"Portal";case k:return"Profiler";case E:return"StrictMode";case A:return"Suspense";case R:return"SuspenseList"}if("object"===typeof e)switch(e.$$typeof){case T:return(e.displayName||"Context")+".Consumer";case O:return(e._context.displayName||"Context")+".Provider";case P:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case j:return K(e.type);case N:return K(e._render);case C:t=e._payload,e=e._init;try{return K(e(t))}catch(r){}}return null}function Y(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function X(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function $(e){e._valueTracker||(e._valueTracker=function(e){var t=X(e)?"checked":"value",r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),n=""+e[t];if(!e.hasOwnProperty(t)&&"undefined"!==typeof r&&"function"===typeof r.get&&"function"===typeof r.set){var i=r.get,o=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){n=""+e,o.call(this,e)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(e){n=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function Z(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),n="";return e&&(n=X(e)?e.checked?"true":"false":e.value),(e=n)!==r&&(t.setValue(e),!0)}function J(e){if("undefined"===typeof(e=e||("undefined"!==typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function Q(e,t){var r=t.checked;return i({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=r?r:e._wrapperState.initialChecked})}function ee(e,t){var r=null==t.defaultValue?"":t.defaultValue,n=null!=t.checked?t.checked:t.defaultChecked;r=Y(null!=t.value?t.value:r),e._wrapperState={initialChecked:n,initialValue:r,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function te(e,t){null!=(t=t.checked)&&_(e,"checked",t,!1)}function re(e,t){te(e,t);var r=Y(t.value),n=t.type;if(null!=r)"number"===n?(0===r&&""===e.value||e.value!=r)&&(e.value=""+r):e.value!==""+r&&(e.value=""+r);else if("submit"===n||"reset"===n)return void e.removeAttribute("value");t.hasOwnProperty("value")?ie(e,t.type,r):t.hasOwnProperty("defaultValue")&&ie(e,t.type,Y(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function ne(e,t,r){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var n=t.type;if(!("submit"!==n&&"reset"!==n||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,r||t===e.value||(e.value=t),e.defaultValue=t}
vendor: 4,447 bytes, line 2
2""!==(r=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==r&&(e.name=r)}function ie(e,t,r){"number"===t&&J(e.ownerDocument)===e||(null==r?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}function oe(e,t){return e=i({children:void 0},t),(t=function(e){var t="";return n.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(t.children))&&(e.children=t),e}function ae(e,t,r,n){if(e=e.options,t){t={};for(var i=0;i<r.length;i++)t["$"+r[i]]=!0;for(r=0;r<e.length;r++)i=t.hasOwnProperty("$"+e[r].value),e[r].selected!==i&&(e[r].selected=i),i&&n&&(e[r].defaultSelected=!0)}else{for(r=""+Y(r),t=null,i=0;i<e.length;i++){if(e[i].value===r)return e[i].selected=!0,void(n&&(e[i].defaultSelected=!0));null!==t||e[i].disabled||(t=e[i])}null!==t&&(t.selected=!0)}}function se(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(a(91));return i({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function ue(e,t){var r=t.value;if(null==r){if(r=t.children,t=t.defaultValue,null!=r){if(null!=t)throw Error(a(92));if(Array.isArray(r)){if(!(1>=r.length))throw Error(a(93));r=r[0]}t=r}null==t&&(t=""),r=t}e._wrapperState={initialValue:Y(r)}}function ce(e,t){var r=Y(t.value),n=Y(t.defaultValue);null!=r&&((r=""+r)!==e.value&&(e.value=r),null==t.defaultValue&&e.defaultValue!==r&&(e.defaultValue=r)),null!=n&&(e.defaultValue=""+n)}function le(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}var fe="http://www.w3.org/1999/xhtml",he="http://www.w3.org/2000/svg";function de(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function pe(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?de(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var ye,me,be=(me=function(e,t){if(e.namespaceURI!==he||"innerHTML"in e)e.innerHTML=t;else{for((ye=ye||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ye.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!==typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,r,n){MSApp.execUnsafeLocalFunction((function(){return me(e,t)}))}:me);function ve(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&3===r.nodeType)return void(r.nodeValue=t)}e.textContent=t}var ge={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},_e=["Webkit","ms","Moz","O"];function we(e,t,r){return null==t||"boolean"===typeof t||""===t?"":r||"number"!==typeof t||0===t||ge.hasOwnProperty(e)&&ge[e]?(""+t).trim():t+"px"}function Se(e,t){for(var r in e=e.style,t)if(t.hasOwnProperty(r)){var n=0===r.indexOf("--"),i=we(r,t[r],n);"float"===r&&(r="cssFloat"),n?e.setProperty(r,i):e[r]=i}}Object.keys(ge).forEach((function(e){_e.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),ge[t]=ge[e]}))}));var Me=i({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function xe(e,t){if(t){if(Me[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(a(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(a(60));if("object"!==typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(a(61))}if(null!=t.style&&"object"!==typeof t.style)throw Error(a(62))}}function Ee(e,t){if(-1===e.indexOf("-"))return"string"===typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function ke(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.n
vendor: 5,242 bytes, line 2
2odeType?e.parentNode:e}var Oe=null,Te=null,Pe=null;function Ae(e){if(e=ei(e)){if("function"!==typeof Oe)throw Error(a(280));var t=e.stateNode;t&&(t=ri(t),Oe(e.stateNode,e.type,t))}}function Re(e){Te?Pe?Pe.push(e):Pe=[e]:Te=e}function je(){if(Te){var e=Te,t=Pe;if(Pe=Te=null,Ae(e),t)for(e=0;e<t.length;e++)Ae(t[e])}}function Ce(e,t){return e(t)}function Ne(e,t,r,n,i){return e(t,r,n,i)}function Ie(){}var Le=Ce,De=!1,Be=!1;function qe(){null===Te&&null===Pe||(Ie(),je())}function Ue(e,t){var r=e.stateNode;if(null===r)return null;var n=ri(r);if(null===n)return null;r=n[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(n=!n.disabled)||(n=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!n;break e;default:e=!1}if(e)return null;if(r&&"function"!==typeof r)throw Error(a(231,t,typeof r));return r}var ze=!1;if(f)try{var Fe={};Object.defineProperty(Fe,"passive",{get:function(){ze=!0}}),window.addEventListener("test",Fe,Fe),window.removeEventListener("test",Fe,Fe)}catch(me){ze=!1}function He(e,t,r,n,i,o,a,s,u){var c=Array.prototype.slice.call(arguments,3);try{t.apply(r,c)}catch(l){this.onError(l)}}var Ve=!1,We=null,Ge=!1,Ke=null,Ye={onError:function(e){Ve=!0,We=e}};function Xe(e,t,r,n,i,o,a,s,u){Ve=!1,We=null,He.apply(Ye,arguments)}function $e(e){var t=e,r=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!==(1026&(t=e).flags)&&(r=t.return),e=t.return}while(e)}return 3===t.tag?r:null}function Ze(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function Je(e){if($e(e)!==e)throw Error(a(188))}function Qe(e){if(!(e=function(e){var t=e.alternate;if(!t){if(null===(t=$e(e)))throw Error(a(188));return t!==e?null:e}for(var r=e,n=t;;){var i=r.return;if(null===i)break;var o=i.alternate;if(null===o){if(null!==(n=i.return)){r=n;continue}break}if(i.child===o.child){for(o=i.child;o;){if(o===r)return Je(i),e;if(o===n)return Je(i),t;o=o.sibling}throw Error(a(188))}if(r.return!==n.return)r=i,n=o;else{for(var s=!1,u=i.child;u;){if(u===r){s=!0,r=i,n=o;break}if(u===n){s=!0,n=i,r=o;break}u=u.sibling}if(!s){for(u=o.child;u;){if(u===r){s=!0,r=o,n=i;break}if(u===n){s=!0,n=o,r=i;break}u=u.sibling}if(!s)throw Error(a(189))}}if(r.alternate!==n)throw Error(a(190))}if(3!==r.tag)throw Error(a(188));return r.stateNode.current===r?e:t}(e)))return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function et(e,t){for(var r=e.alternate;null!==t;){if(t===e||t===r)return!0;t=t.return}return!1}var tt,rt,nt,it,ot=!1,at=[],st=null,ut=null,ct=null,lt=new Map,ft=new Map,ht=[],dt="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function pt(e,t,r,n,i){return{blockedOn:e,domEventName:t,eventSystemFlags:16|r,nativeEvent:i,targetContainers:[n]}}function yt(e,t){switch(e){case"focusin":case"focusout":st=null;break;case"dragenter":case"dragleave":ut=null;break;case"mouseover":case"mouseout":ct=null;break;case"pointerover":case"pointerout":lt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":ft.delete(t.pointerId)}}function mt(e,t,r,n,i,o){return null===e||e.nativeEvent!==o?(e=pt(t,r,n,i,o),null!==t&&(null!==(t=ei(t))&&rt(t)),e):(e.eventSystemFlags|=n,t=e.targetContainers,null!==i&&-1===t.indexOf(i)&&t.push(i),e)}function bt(e){var t=Qn(e.target);if(null!==t){var r=$e(t);if(null!==r)if(13===(t=r.tag)){if(null!==(t=Ze(r)))return e.blockedOn=t,void it(e.lanePriority,(function(){o.unstable_runWithPriority(e.priority,(function(){nt(r)}))}))}else if(3===t&&r.stateNode.hydrate)return void(e.blockedOn=3===r.tag?r.stateNode.containerInfo:null)}e.blockedOn=null}function vt(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var r=Qt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==r)return null!==(t=ei(r))&&rt(t),e.blockedOn=r,!1;t.shift()}return!0}function gt(e,t,r){vt(e)&&r.delete(t)}function _t(){for(ot=!1;0<at.length;){var e=at[0];if(null!==e.blockedOn){null!==(e=ei(e.blockedOn))&&tt(e);break}for(var t=e.targetContainers;0<t.length;){var r=Qt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==r){e.blockedOn=r;break}t.shift()}null===e.blockedOn&&at.shift()}null!==st&&vt(st)&&(st=null),null!==ut&&vt(ut)&&(ut=null),null!==ct&&vt(ct)&&(ct=null),lt.forEach(gt),ft.forEach(gt)}function wt(e,t){e.blockedOn===t&&(e.blockedOn=null,ot||(ot=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,_t)))}function St(e){function t(t){return wt(t,e)}if(0<at.length){wt(at[0],e);for(var r=1;r<at.length;r++){var n=at[r];n.blockedOn===e&&(n.blockedOn=null)}}for(null!==st&&wt(st,e),null!==ut&&wt(ut,e),null!==ct&&wt(ct,e),lt.forEach(t),ft.forEach(t),r=0;r<ht.length;
vendor: 4,136 bytes, line 2
2r++)(n=ht[r]).blockedOn===e&&(n.blockedOn=null);for(;0<ht.length&&null===(r=ht[0]).blockedOn;)bt(r),null===r.blockedOn&&ht.shift()}function Mt(e,t){var r={};return r[e.toLowerCase()]=t.toLowerCase(),r["Webkit"+e]="webkit"+t,r["Moz"+e]="moz"+t,r}var xt={animationend:Mt("Animation","AnimationEnd"),animationiteration:Mt("Animation","AnimationIteration"),animationstart:Mt("Animation","AnimationStart"),transitionend:Mt("Transition","TransitionEnd")},Et={},kt={};function Ot(e){if(Et[e])return Et[e];if(!xt[e])return e;var t,r=xt[e];for(t in r)if(r.hasOwnProperty(t)&&t in kt)return Et[e]=r[t];return e}f&&(kt=document.createElement("div").style,"AnimationEvent"in window||(delete xt.animationend.animation,delete xt.animationiteration.animation,delete xt.animationstart.animation),"TransitionEvent"in window||delete xt.transitionend.transition);var Tt=Ot("animationend"),Pt=Ot("animationiteration"),At=Ot("animationstart"),Rt=Ot("transitionend"),jt=new Map,Ct=new Map,Nt=["abort","abort",Tt,"animationEnd",Pt,"animationIteration",At,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",Rt,"transitionEnd","waiting","waiting"];function It(e,t){for(var r=0;r<e.length;r+=2){var n=e[r],i=e[r+1];i="on"+(i[0].toUpperCase()+i.slice(1)),Ct.set(n,t),jt.set(n,i),c(i,[n])}}(0,o.unstable_now)();var Lt=8;function Dt(e){if(0!==(1&e))return Lt=15,1;if(0!==(2&e))return Lt=14,2;if(0!==(4&e))return Lt=13,4;var t=24&e;return 0!==t?(Lt=12,t):0!==(32&e)?(Lt=11,32):0!==(t=192&e)?(Lt=10,t):0!==(256&e)?(Lt=9,256):0!==(t=3584&e)?(Lt=8,t):0!==(4096&e)?(Lt=7,4096):0!==(t=4186112&e)?(Lt=6,t):0!==(t=62914560&e)?(Lt=5,t):67108864&e?(Lt=4,67108864):0!==(134217728&e)?(Lt=3,134217728):0!==(t=805306368&e)?(Lt=2,t):0!==(1073741824&e)?(Lt=1,1073741824):(Lt=8,e)}function Bt(e,t){var r=e.pendingLanes;if(0===r)return Lt=0;var n=0,i=0,o=e.expiredLanes,a=e.suspendedLanes,s=e.pingedLanes;if(0!==o)n=o,i=Lt=15;else if(0!==(o=134217727&r)){var u=o&~a;0!==u?(n=Dt(u),i=Lt):0!==(s&=o)&&(n=Dt(s),i=Lt)}else 0!==(o=r&~a)?(n=Dt(o),i=Lt):0!==s&&(n=Dt(s),i=Lt);if(0===n)return 0;if(n=r&((0>(n=31-Vt(n))?0:1<<n)<<1)-1,0!==t&&t!==n&&0===(t&a)){if(Dt(t),i<=Lt)return t;Lt=i}if(0!==(t=e.entangledLanes))for(e=e.entanglements,t&=n;0<t;)i=1<<(r=31-Vt(t)),n|=e[r],t&=~i;return n}function qt(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function Ut(e,t){switch(e){case 15:return 1;case 14:return 2;case 12:return 0===(e=zt(24&~t))?Ut(10,t):e;case 10:return 0===(e=zt(192&~t))?Ut(8,t):e;case 8:return 0===(e=zt(3584&~t))&&(0===(e=zt(4186112&~t))&&(e=512)),e;case 2:return 0===(t=zt(805306368&~t))&&(t=268435456),t}throw Error(a(358,e))}function zt(e){return e&-e}function Ft(e){for(var t=[],r=0;31>r;r++)t.push(e);return t}function Ht(e,t,r){e.pendingLanes|=t;var n=t-1;e.suspendedLanes&=n,e.pingedLanes&=n,(e=e.eventTimes)[t=31-Vt(t)]=r}var Vt=Math.clz32?Math.clz32:function(e){return 0===e?32:31-(Wt(e)/Gt|0)|0},Wt=Math.log,Gt=Math.LN2;var Kt=o.unstable_UserBlockingPriority,Yt=o.unstable_runWithPriority,Xt=!0;function $t(e,t,r,n){De||Ie();var i=Jt,o=De;De=!0;try{Ne(i,e,t,r,n)}finally{(De=o)||qe()}}function Zt(e,t,r,n){Yt(Kt,Jt.bind(null,e,t,r,n))}function Jt(e,t,r,n){var i;if(Xt)if((i=0===(4&t))&&0<at.length&&-1<dt.indexOf(e))e=pt(null,e,t,r,n),at.push(e);else{var o=Qt(e,t,r,n);if(null===o)i&&yt(e,n);else{if(i){if(-1<dt.indexOf(e))return e=pt(o,e,t,r,n),void at.push(e);if(function(e,t,r,n,i){switch(t){case"focusin":return st=mt(st,e,t,r,n,i),!0;case"dragenter":return ut=mt(ut,e,t,r,n,i),!0;case"mouseover":return ct=mt(ct,e,t,r,n,i),!0;case"pointerover":var o=i.pointerId;return lt.set(o,mt(lt.get(o)||null,e,t,r,n,i)),!0;case"gotpointercapture":return o=i.pointerId,ft.set(o,mt(ft.get(o)||null,e,t,r,n,i)
vendor: 6,364 bytes, line 2
2),!0}return!1}(o,e,t,r,n))return;yt(e,n)}jn(e,t,n,null,r)}}}function Qt(e,t,r,n){var i=ke(n);if(null!==(i=Qn(i))){var o=$e(i);if(null===o)i=null;else{var a=o.tag;if(13===a){if(null!==(i=Ze(o)))return i;i=null}else if(3===a){if(o.stateNode.hydrate)return 3===o.tag?o.stateNode.containerInfo:null;i=null}else o!==i&&(i=null)}}return jn(e,t,n,i,r),null}var er=null,tr=null,rr=null;function nr(){if(rr)return rr;var e,t,r=tr,n=r.length,i="value"in er?er.value:er.textContent,o=i.length;for(e=0;e<n&&r[e]===i[e];e++);var a=n-e;for(t=1;t<=a&&r[n-t]===i[o-t];t++);return rr=i.slice(e,1<t?1-t:void 0)}function ir(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function or(){return!0}function ar(){return!1}function sr(e){function t(t,r,n,i,o){for(var a in this._reactName=t,this._targetInst=n,this.type=r,this.nativeEvent=i,this.target=o,this.currentTarget=null,e)e.hasOwnProperty(a)&&(t=e[a],this[a]=t?t(i):i[a]);return this.isDefaultPrevented=(null!=i.defaultPrevented?i.defaultPrevented:!1===i.returnValue)?or:ar,this.isPropagationStopped=ar,this}return i(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!==typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=or)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!==typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=or)},persist:function(){},isPersistent:or}),t}var ur,cr,lr,fr={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},hr=sr(fr),dr=i({},fr,{view:0,detail:0}),pr=sr(dr),yr=i({},dr,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:kr,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==lr&&(lr&&"mousemove"===e.type?(ur=e.screenX-lr.screenX,cr=e.screenY-lr.screenY):cr=ur=0,lr=e),ur)},movementY:function(e){return"movementY"in e?e.movementY:cr}}),mr=sr(yr),br=sr(i({},yr,{dataTransfer:0})),vr=sr(i({},dr,{relatedTarget:0})),gr=sr(i({},fr,{animationName:0,elapsedTime:0,pseudoElement:0})),_r=sr(i({},fr,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}})),wr=sr(i({},fr,{data:0})),Sr={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Mr={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},xr={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Er(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=xr[e])&&!!t[e]}function kr(){return Er}var Or=sr(i({},dr,{key:function(e){if(e.key){var t=Sr[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=ir(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?Mr[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:kr,charCode:function(e){return"keypress"===e.type?ir(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?ir(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}})),Tr=sr(i({},yr,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Pr=sr(i({},dr,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:kr})),Ar=sr(i({},fr,{propertyName:0,elapsedTime:0,pseudoElement:0})),Rr=sr(i({},yr,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0})),jr=[9,13,27,32],Cr=f&&"CompositionEvent"in window,Nr=null;f&&"documentMode"in document&&(Nr=document.documentMode);var Ir=f&&"TextEvent"in window&&!Nr,Lr=f&&(!Cr||Nr&&8<Nr&&11>=Nr),Dr=String.fromCharCode(32),Br=!1;function qr(e,t){switch(e){case"keyup":return-1!==jr.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Ur(e){return"object"===typeof(e=e.detail)&&"data"in e?e.data:null}var zr=!1;var Fr={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Hr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Fr[e.type]:"textarea"===t}function Vr(e,t,r,n){Re(n),0<(t=Nn(t,"onChange")).length&&(r=new hr("onChange","change",null,r,n),e.push({event:r,listeners:t}))}var Wr=null,Gr=null;function Kr(e){kn(e,0)}function Yr(e){if(Z(ti(e)))return e}function Xr(e,t){if("change"===e)return t}var $r=!1;if(f){var Zr;if(f){var Jr="oninput"in document;if(!Jr){var Qr=document.createElement("div");Qr.setAttribute("oninput","return;"),Jr="function"===typeof Qr.oninput}Zr=Jr}else Zr=!1;$r=Zr&&(!document.documentMode||9<document.documentMode)}function en(){Wr&&(Wr.detachEvent("onpropertychange",tn),Gr=Wr=null)}function tn(e){if("value"===e.propertyName&&Yr(Gr)){var t=[];if(Vr(t,Gr,e,ke(e)),e=Kr,De)e(t);else{De=!0;try{Ce(e,t)}finally{De=!1,qe()}}}}function rn(e,t,r){"focusin"===e?(en(),Gr=r,(Wr=t).attachEvent("onpropertychange",tn)):"focusout"===e&&en()}function nn(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Yr(Gr)}function on(e,t){if("click"===e)return Yr(t)}function an(e,t){if("input"===e||"change"===e)return Yr(t)}var sn="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t},un=Object.prototype.hasOwnProperty;function cn(e,t){if(sn(e,t))return!0;
vendor: 4,593 bytes, line 2
2if("object"!==typeof e||null===e||"object"!==typeof t||null===t)return!1;var r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(n=0;n<r.length;n++)if(!un.call(t,r[n])||!sn(e[r[n]],t[r[n]]))return!1;return!0}function ln(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function fn(e,t){var r,n=ln(e);for(e=0;n;){if(3===n.nodeType){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=ln(n)}}function hn(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?hn(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function dn(){for(var e=window,t=J();t instanceof e.HTMLIFrameElement;){try{var r="string"===typeof t.contentWindow.location.href}catch(n){r=!1}if(!r)break;t=J((e=t.contentWindow).document)}return t}function pn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var yn=f&&"documentMode"in document&&11>=document.documentMode,mn=null,bn=null,vn=null,gn=!1;function _n(e,t,r){var n=r.window===r?r.document:9===r.nodeType?r:r.ownerDocument;gn||null==mn||mn!==J(n)||("selectionStart"in(n=mn)&&pn(n)?n={start:n.selectionStart,end:n.selectionEnd}:n={anchorNode:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset},vn&&cn(vn,n)||(vn=n,0<(n=Nn(bn,"onSelect")).length&&(t=new hr("onSelect","select",null,t,r),e.push({event:t,listeners:n}),t.target=mn)))}It("cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focusin focus focusout blur input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),It("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),It(Nt,2);for(var wn="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),Sn=0;Sn<wn.length;Sn++)Ct.set(wn[Sn],0);l("onMouseEnter",["mouseout","mouseover"]),l("onMouseLeave",["mouseout","mouseover"]),l("onPointerEnter",["pointerout","pointerover"]),l("onPointerLeave",["pointerout","pointerover"]),c("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),c("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),c("onBeforeInput",["compositionend","keypress","textInput","paste"]),c("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),c("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),c("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Mn="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),xn=new Set("cancel close invalid load scroll toggle".split(" ").concat(Mn));function En(e,t,r){var n=e.type||"unknown-event";e.currentTarget=r,function(e,t,r,n,i,o,s,u,c){if(Xe.apply(this,arguments),Ve){if(!Ve)throw Error(a(198));var l=We;Ve=!1,We=null,Ge||(Ge=!0,Ke=l)}}(n,t,void 0,e),e.currentTarget=null}function kn(e,t){t=0!==(4&t);for(var r=0;r<e.length;r++){var n=e[r],i=n.event;n=n.listeners;e:{var o=void 0;if(t)for(var a=n.length-1;0<=a;a--){var s=n[a],u=s.instance,c=s.currentTarget;if(s=s.listener,u!==o&&i.isPropagationStopped())break e;En(i,s,c),o=u}else for(a=0;a<n.length;a++){if(u=(s=n[a]).instance,c=s.currentTarget,s=s.listener,u!==o&&i.isPropagationStopped())break e;En(i,s,c),o=u}}}if(Ge)throw e=Ke,Ge=!1,Ke=null,e}function On(e,t){var r=ni(t),n=e+"__bubble";r.has(n)||(Rn(t,e,2,!1),r.add(n))}var Tn="_reactListening"+Math.random().toString(36).slice(2);
vendor: 8,533 bytes, line 2
2function Pn(e){e[Tn]||(e[Tn]=!0,s.forEach((function(t){xn.has(t)||An(t,!1,e,null),An(t,!0,e,null)})))}function An(e,t,r,n){var i=4<arguments.length&&void 0!==arguments[4]?arguments[4]:0,o=r;if("selectionchange"===e&&9!==r.nodeType&&(o=r.ownerDocument),null!==n&&!t&&xn.has(e)){if("scroll"!==e)return;i|=2,o=n}var a=ni(o),s=e+"__"+(t?"capture":"bubble");a.has(s)||(t&&(i|=4),Rn(o,e,i,t),a.add(s))}function Rn(e,t,r,n){var i=Ct.get(t);switch(void 0===i?2:i){case 0:i=$t;break;case 1:i=Zt;break;default:i=Jt}r=i.bind(null,t,r,e),i=void 0,!ze||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(i=!0),n?void 0!==i?e.addEventListener(t,r,{capture:!0,passive:i}):e.addEventListener(t,r,!0):void 0!==i?e.addEventListener(t,r,{passive:i}):e.addEventListener(t,r,!1)}function jn(e,t,r,n,i){var o=n;if(0===(1&t)&&0===(2&t)&&null!==n)e:for(;;){if(null===n)return;var a=n.tag;if(3===a||4===a){var s=n.stateNode.containerInfo;if(s===i||8===s.nodeType&&s.parentNode===i)break;if(4===a)for(a=n.return;null!==a;){var u=a.tag;if((3===u||4===u)&&((u=a.stateNode.containerInfo)===i||8===u.nodeType&&u.parentNode===i))return;a=a.return}for(;null!==s;){if(null===(a=Qn(s)))return;if(5===(u=a.tag)||6===u){n=o=a;continue e}s=s.parentNode}}n=n.return}!function(e,t,r){if(Be)return e(t,r);Be=!0;try{Le(e,t,r)}finally{Be=!1,qe()}}((function(){var n=o,i=ke(r),a=[];e:{var s=jt.get(e);if(void 0!==s){var u=hr,c=e;switch(e){case"keypress":if(0===ir(r))break e;case"keydown":case"keyup":u=Or;break;case"focusin":c="focus",u=vr;break;case"focusout":c="blur",u=vr;break;case"beforeblur":case"afterblur":u=vr;break;case"click":if(2===r.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":u=mr;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":u=br;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":u=Pr;break;case Tt:case Pt:case At:u=gr;break;case Rt:u=Ar;break;case"scroll":u=pr;break;case"wheel":u=Rr;break;case"copy":case"cut":case"paste":u=_r;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":u=Tr}var l=0!==(4&t),f=!l&&"scroll"===e,h=l?null!==s?s+"Capture":null:s;l=[];for(var d,p=n;null!==p;){var y=(d=p).stateNode;if(5===d.tag&&null!==y&&(d=y,null!==h&&(null!=(y=Ue(p,h))&&l.push(Cn(p,y,d)))),f)break;p=p.return}0<l.length&&(s=new u(s,c,null,r,i),a.push({event:s,listeners:l}))}}if(0===(7&t)){if(u="mouseout"===e||"pointerout"===e,(!(s="mouseover"===e||"pointerover"===e)||0!==(16&t)||!(c=r.relatedTarget||r.fromElement)||!Qn(c)&&!c[Zn])&&(u||s)&&(s=i.window===i?i:(s=i.ownerDocument)?s.defaultView||s.parentWindow:window,u?(u=n,null!==(c=(c=r.relatedTarget||r.toElement)?Qn(c):null)&&(c!==(f=$e(c))||5!==c.tag&&6!==c.tag)&&(c=null)):(u=null,c=n),u!==c)){if(l=mr,y="onMouseLeave",h="onMouseEnter",p="mouse","pointerout"!==e&&"pointerover"!==e||(l=Tr,y="onPointerLeave",h="onPointerEnter",p="pointer"),f=null==u?s:ti(u),d=null==c?s:ti(c),(s=new l(y,p+"leave",u,r,i)).target=f,s.relatedTarget=d,y=null,Qn(i)===n&&((l=new l(h,p+"enter",c,r,i)).target=d,l.relatedTarget=f,y=l),f=y,u&&c)e:{for(h=c,p=0,d=l=u;d;d=In(d))p++;for(d=0,y=h;y;y=In(y))d++;for(;0<p-d;)l=In(l),p--;for(;0<d-p;)h=In(h),d--;for(;p--;){if(l===h||null!==h&&l===h.alternate)break e;l=In(l),h=In(h)}l=null}else l=null;null!==u&&Ln(a,s,u,l,!1),null!==c&&null!==f&&Ln(a,f,c,l,!0)}if("select"===(u=(s=n?ti(n):window).nodeName&&s.nodeName.toLowerCase())||"input"===u&&"file"===s.type)var m=Xr;else if(Hr(s))if($r)m=an;else{m=nn;var b=rn}else(u=s.nodeName)&&"input"===u.toLowerCase()&&("checkbox"===s.type||"radio"===s.type)&&(m=on);switch(m&&(m=m(e,n))?Vr(a,m,r,i):(b&&b(e,s,n),"focusout"===e&&(b=s._wrapperState)&&b.controlled&&"number"===s.type&&ie(s,"number",s.value)),b=n?ti(n):window,e){case"focusin":(Hr(b)||"true"===b.contentEditable)&&(mn=b,bn=n,vn=null);break;case"focusout":vn=bn=mn=null;break;case"mousedown":gn=!0;break;case"contextmenu":case"mouseup":case"dragend":gn=!1,_n(a,r,i);break;case"selectionchange":if(yn)break;case"keydown":case"keyup":_n(a,r,i)}var v;if(Cr)e:{switch(e){case"compositionstart":var g="onCompositionStart";break e;case"compositionend":g="onCompositionEnd";break e;case"compositionupdate":g="onCompositionUpdate";break e}g=void 0}else zr?qr(e,r)&&(g="onCompositionEnd"):"keydown"===e&&229===r.keyCode&&(g="onCompositionStart");g&&(Lr&&"ko"!==r.locale&&(zr||"onCompositionStart"!==g?"onCompositionEnd"===g&&zr&&(v=nr()):(tr="value"in(er=i)?er.value:er.textContent,zr=!0)),0<(b=Nn(n,g)).length&&(g=new wr(g,e,null,r,i),a.push({event:g,listeners:b}),v?g.data=v:null!==(v=Ur(r))&&(g.data=v))),(v=Ir?function(e,t){switch(e){case"compositionend":return Ur(t);case"keypress":return 32!==t.which?null:(Br=!0,Dr);case"textInput":return(e=t.data)===Dr&&Br?null:e;default:return null}}(e,r):function(e,t){if(zr)return"compositionend"===e||!Cr&&qr(e,t)?(e=nr(),rr=tr=er=null,zr=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Lr&&"ko"!==t.locale?null:t.data;default:return null}}(e,r))&&(0<(n=Nn(n,"onBeforeInput")).length&&(i=new wr("onBeforeInput","beforeinput",null,r,i),a.push({event:i,listeners:n}),i.data=v))}kn(a,t)}))}function Cn(e,t,r){return{instance:e,listener:t,currentTarget:r}}function Nn(e,t){for(var r=t+"Capture",n=[];null!==e;){var i=e,o=i.stateNode;5===i.tag&&null!==o&&(i=o,null!=(o=Ue(e,r))&&n.unshift(Cn(e,o,i)),null!=(o=Ue(e,t))&&n.push(Cn(e,o,i))),e=e.return}return n}function In(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Ln(e,t,r,n,i){for(var o=t._reactName,a=[];null!==r&&r!==n;){var s=r,u=s.alternate,c=s.stateNode;if(null!==u&&u===n)break;5===s.tag&&null!==c&&(s=c,i?null!=(u=Ue(r,o))&&a.unshift(Cn(r,u,s)):i||null!=(u=Ue(r,o))&&a.push(Cn(r,u,s))),r=r.return}0!==a.length&&e.push({event:t,listeners:a})}function Dn(){}var Bn=null,qn=null;function Un(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function zn(e,t){return"textarea"===e||"option"===e||"noscript"===e||"string"===typeof t.children||"number"===typeof t.children||"object"===typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var Fn="function"===typeof setTimeout?setTimeout:void 0,Hn="function"===typeof clearTimeout?clearTimeout:void 0;function Vn(e){1===e.nodeType?e.textContent="":9===e.nodeType&&(null!=(e=e.body)&&(e.textContent=""))}function Wn(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break}return e}function Gn(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var r=e.data;if("$"===r||"$!"===r||"$?"===r){if(0===t)return e;t--}else"/$"===r&&t++}e=e.previousSibling}return null}var Kn=0;var Yn=Math.random().toString(36).slice(2),Xn="__reactFiber$"+Yn,$n="__reactProps$"+Yn,Zn="__reactContainer$"+Yn,Jn="__reactEvents$"+Yn;function Qn(e){var t=e[Xn];if(t)return t;for(var r=e.parentNode;r;){if(t=r[Zn]||r[Xn]){if(r=t.alternate,null!==t.child||null!==r&&null!==r.child)for(e=Gn(e);null!==e;){if(r=e[Xn])return r;e=Gn(e)}return t}r=(e=r).parentNode}return null}function ei(e){return!(e=e[Xn]||e[Zn])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function ti(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(a(33))}function ri(e){return e[$n]||null}function ni(e){var t=e[Jn];return void 0===t&&(t=e[Jn]=new Set),t}var ii=[],oi=-1;function ai(e){return{current:e}}function si(e){0>oi||(e.current=ii[oi],ii[oi]=null,oi--)}function ui(e,t){oi++,ii[oi]=e.current,e.current=t}var ci={},li=ai(ci),fi=ai(!1),hi=ci;function di(e,t){var r=e.type.contextTypes;if(!r)return ci;var n=e.stateNode;if(n&&n.__reactInternalMemoizedUnmaskedChildContext===t)return n.__reactInternalMemoizedMaskedChildContext;var i,o={};for(i in r)o[i]=t[i];return n&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function pi(e){return null!==(e=e.childContextTypes)&&void 0!==e}function yi(){si(fi),si(li)}function mi(e,t,r){if(li.current!==ci)throw Error(a(168));ui(li,t),ui(fi,r)}function bi(e,t,r){var n=e.stateNode;if(e=t.childContextTypes,"function"!==typeof n.getChildContext)return r;for(var o in n=n.getChildContext())if(!(o in e))throw Error(a(108,
vendor: 4,124 bytes, line 2
2K(t)||"Unknown",o));return i({},r,n)}function vi(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||ci,hi=li.current,ui(li,e),ui(fi,fi.current),!0}function gi(e,t,r){var n=e.stateNode;if(!n)throw Error(a(169));r?(e=bi(e,t,hi),n.__reactInternalMemoizedMergedChildContext=e,si(fi),si(li),ui(li,e)):si(fi),ui(fi,r)}var _i=null,wi=null,Si=o.unstable_runWithPriority,Mi=o.unstable_scheduleCallback,xi=o.unstable_cancelCallback,Ei=o.unstable_shouldYield,ki=o.unstable_requestPaint,Oi=o.unstable_now,Ti=o.unstable_getCurrentPriorityLevel,Pi=o.unstable_ImmediatePriority,Ai=o.unstable_UserBlockingPriority,Ri=o.unstable_NormalPriority,ji=o.unstable_LowPriority,Ci=o.unstable_IdlePriority,Ni={},Ii=void 0!==ki?ki:function(){},Li=null,Di=null,Bi=!1,qi=Oi(),Ui=1e4>qi?Oi:function(){return Oi()-qi};function zi(){switch(Ti()){case Pi:return 99;case Ai:return 98;case Ri:return 97;case ji:return 96;case Ci:return 95;default:throw Error(a(332))}}function Fi(e){switch(e){case 99:return Pi;case 98:return Ai;case 97:return Ri;case 96:return ji;case 95:return Ci;default:throw Error(a(332))}}function Hi(e,t){return e=Fi(e),Si(e,t)}function Vi(e,t,r){return e=Fi(e),Mi(e,t,r)}function Wi(){if(null!==Di){var e=Di;Di=null,xi(e)}Gi()}function Gi(){if(!Bi&&null!==Li){Bi=!0;var e=0;try{var t=Li;Hi(99,(function(){for(;e<t.length;e++){var r=t[e];do{r=r(!0)}while(null!==r)}})),Li=null}catch(r){throw null!==Li&&(Li=Li.slice(e+1)),Mi(Pi,Wi),r}finally{Bi=!1}}}var Ki=w.ReactCurrentBatchConfig;function Yi(e,t){if(e&&e.defaultProps){for(var r in t=i({},t),e=e.defaultProps)void 0===t[r]&&(t[r]=e[r]);return t}return t}var Xi=ai(null),$i=null,Zi=null,Ji=null;function Qi(){Ji=Zi=$i=null}function eo(e){var t=Xi.current;si(Xi),e.type._context._currentValue=t}function to(e,t){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)===t){if(null===r||(r.childLanes&t)===t)break;r.childLanes|=t}else e.childLanes|=t,null!==r&&(r.childLanes|=t);e=e.return}}function ro(e,t){$i=e,Ji=Zi=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!==(e.lanes&t)&&(Na=!0),e.firstContext=null)}function no(e,t){if(Ji!==e&&!1!==t&&0!==t)if("number"===typeof t&&1073741823!==t||(Ji=e,t=1073741823),t={context:e,observedBits:t,next:null},null===Zi){if(null===$i)throw Error(a(308));Zi=t,$i.dependencies={lanes:0,firstContext:t,responders:null}}else Zi=Zi.next=t;return e._currentValue}var io=!1;function oo(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}function ao(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function so(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function uo(e,t){if(null!==(e=e.updateQueue)){var r=(e=e.shared).pending;null===r?t.next=t:(t.next=r.next,r.next=t),e.pending=t}}function co(e,t){var r=e.updateQueue,n=e.alternate;if(null!==n&&r===(n=n.updateQueue)){var i=null,o=null;if(null!==(r=r.firstBaseUpdate)){do{var a={eventTime:r.eventTime,lane:r.lane,tag:r.tag,payload:r.payload,callback:r.callback,next:null};null===o?i=o=a:o=o.next=a,r=r.next}while(null!==r);null===o?i=o=t:o=o.next=t}else i=o=t;return r={baseState:n.baseState,firstBaseUpdate:i,lastBaseUpdate:o,shared:n.shared,effects:n.effects},void(e.updateQueue=r)}null===(e=r.lastBaseUpdate)?r.firstBaseUpdate=t:e.next=t,r.lastBaseUpdate=t}function lo(e,t,r,n){var o=e.updateQueue;io=!1;var a=o.firstBaseUpdate,s=o.lastBaseUpdate,u=o.shared.pending;if(null!==u){o.shared.pending=null;var c=u,l=c.next;c.next=null,null===s?a=l:s.next=l,s=c;var f=e.alternate;if(null!==f){var h=(f=f.updateQueue).lastBaseUpdate;h!==s&&(null===h?f.firstBaseUpdate=l:h.next=l,f.lastBaseUpdate=c)}}if(null!==a){for(h=o.baseState,s=0,f=l=c=null;;){u=a.lane;var d=a.eventTime;if((n&u)===u){null!==f&&(f=f.next={eventTime:d,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var p=e,y=a;switch(u=t,d=r,y.tag){case 1:if("function"===typeof(p=y.payload)){h=p.call(d,h,u);break e}h=p;break e;case 3:p.flags=-4097&p.flags|64;
2case 0:if(null===(u="function"===typeof(p=y.payload)?p.call(d,h,u):p)||void 0===u)break e;h=i({},h,u);break e;case 2:io=!0}}null!==a.callback&&(e.flags|=32,null===(u=o.effects)?o.effects=[a]:u.push(a))}else d={eventTime:d,lane:u,tag:a.tag,payload:a.payload,callback:a.callback,next:null},null===f?(l=f=d,c=h):f=f.next=d,s|=u;if(null===(a=a.next)){if(null===(u=o.shared.pending))break;a=u.next,u.next=null,o.lastBaseUpdate=u,o.shared.pending=null}}null===f&&(c=h),o.baseState=c,o.firstBaseUpdate=l,o.lastBaseUpdate=f,Bs|=s,e.lanes=s,e.memoizedState=h}}function fo(e,t,r){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var n=e[t],i=n.callback;if(null!==i){if(n.callback=null,n=r,"function"!==typeof i)throw Error(a(191,i));i.call(n)}}}var ho=(new n.Component).refs;function po(e,t,r,n){r=null===(r=r(n,t=e.memoizedState))||void 0===r?t:i({},t,r),e.memoizedState=r,0===e.lanes&&(e.updateQueue.baseState=r)}var yo={isMounted:function(e){return!!(e=e._reactInternals)&&$e(e)===e},enqueueSetState:function(e,t,r){e=e._reactInternals;var n=cu(),i=lu(e),o=so(n,i);o.payload=t,void 0!==r&&null!==r&&(o.callback=r),uo(e,o),fu(e,i,n)},enqueueReplaceState:function(e,t,r){e=e._reactInternals;var n=cu(),i=lu(e),o=so(n,i);o.tag=1,o.payload=t,void 0!==r&&null!==r&&(o.callback=r),uo(e,o),fu(e,i,n)},enqueueForceUpdate:function(e,t){e=e._reactInternals;var r=cu(),n=lu(e),i=so(r,n);i.tag=2,void 0!==t&&null!==t&&(i.callback=t),uo(e,i),fu(e,n,r)}};function mo(e,t,r,n,i,o,a){return"function"===typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(n,o,a):!t.prototype||!t.prototype.isPureReactComponent||(!cn(r,n)||!cn(i,o))}function bo(e,t,r){var n=!1,i=ci,o=t.contextType;return"object"===typeof o&&null!==o?o=no(o):(i=pi(t)?hi:li.current,o=(n=null!==(n=t.contextTypes)&&void 0!==n)?di(e,i):ci),t=new t(r,o),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=yo,e.stateNode=t,t._reactInternals=e,n&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=o),t}function vo(e,t,r,n){e=t.state,"function"===typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(r,n),"function"===typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(r,n),t.state!==e&&yo.enqueueReplaceState(t,t.state,null)}function go(e,t,r,n){var i=e.stateNode;i.props=r,i.state=e.memoizedState,i.refs=ho,oo(e);var o=t.contextType;"object"===typeof o&&null!==o?i.context=no(o):(o=pi(t)?hi:li.current,i.context=di(e,o)),lo(e,r,i,n),i.state=e.memoizedState,"function"===typeof(o=t.getDerivedStateFromProps)&&(po(e,t,o,r),i.state=e.memoizedState),"function"===typeof t.getDerivedStateFromProps||"function"===typeof i.getSnapshotBeforeUpdate||"function"!==typeof i.UNSAFE_componentWillMount&&"function"!==typeof i.componentWillMount||(t=i.state,"function"===typeof i.componentWillMount&&i.componentWillMount(),"function"===typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount(),t!==i.state&&yo.enqueueReplaceState(i,i.state,null),lo(e,r,i,n),i.state=e.memoizedState),"function"===typeof i.componentDidMount&&(e.flags|=4)}var _o=Array.isArray;function wo(e,t,r){if(null!==(e=r.ref)&&"function"!==typeof e&&"object"!==typeof e){if(r._owner){if(r=r._owner){if(1!==r.tag)throw Error(a(309));var n=r.stateNode}if(!n)throw Error(a(147,e));var i=""+e;return null!==t&&null!==t.ref&&"function"===typeof t.ref&&t.ref._stringRef===i?t.ref:((t=function(e){var t=n.refs;t===ho&&(t=n.refs={}),null===e?delete t[i]:t[i]=e})._stringRef=i,t)}if("string"!==typeof e)throw Error(a(284));if(!r._owner)throw Error(a(290,e))}return e}function So(e,t){if("textarea"!==e.type)throw Error(a(31,"[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t))}function Mo(e){function t(t,r){if(e){var n=t.lastEffect;null!==n?(n.nextEffect=r,t.lastEffect=r):t.firstEffect=t.lastEffect=r,r.nextEffect=null,r.flags=8}}function r(r,n){if(!e)return null;for(;null!==n;)t(r,n),n=n.sibling;return null}function n(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function i(e,t){return(e=Hu(e,t)).index=0,e.sibling=null,e}function o(t,r,n){return t.index=n,e?null!==(n=t.alternate)?(n=n.index)<r?(t.flags=2,r):n:(t.flags=2,r):r}function s(t){return e&&null===t.alternate&&(t.flags=2),t}function u(e,t,r,n){return null===t||6!==t.tag?((t=Ku(r,e.mode,n)).return=e,t):((t=i(t,r)).return=e,t)}function c(e,t,r,n){return null!==t&&t.elementType===r.type?((n=i(t,r.props)).ref=wo(e,t,r),n.return=e,n):((n=Vu(r.type,r.key,r.props,null,e.mode,n)).ref=wo(e,t,r),n.return=e,n)}function l(e,t,r,n){return null===t||4!==t.tag||t.stateNode.containerInfo!==r.containerInfo||t.stateNode.implementation!==r.implementation?((t=Yu(r,e.mode,n)).return=e,t):((t=i(t,r.children||[])).return=e,t)}function f(e,t,r,n,o){return null===t||7!==t.tag?((t=Wu(r,e.mode,n,o)).return=e,t):((t=i(t,r)).return=e,t)}function h(e,t,r){if("string"===typeof t||"number"===typeof t)return(t=Ku(""+t,e.mode,r)).return=e,t;if("object"===typeof t&&null!==t){switch(t.$$typeof){case S:return(r=Vu(t.type,t.key,t.props,null,e.mode,r)).ref=wo(e,null,t),r.return=e,r;case M:return(t=Yu(t,e.mode,r)).return=e,t}if(_o(t)||F(t))return(t=Wu(t,e.mode,r,null)).return=e,t;So(e,t)}return null}function d(e,t,r,n){var i=null!==t?t.key:null;if("string"===typeof r||"number"===typeof r)return null!==i?null:u(e,t,""+r,n);if("object"===typeof r&&null!==r){switch(r.$$typeof){case S:return r.key===i?r.type===x?f(e,t,r.props.children,n,i):c(e,t,r,n):null;case M:return r.key===i?l(e,t,r,n):null}if(_o(r)||F(r))return null!==i?null:f(e,t,r,n,null);So(e,r)}return null}function p(e,t,r,n,i){if("string"===typeof n||"number"===typeof n)return u(t,e=e.get(r)||null,""+n,i);if("object"===typeof n&&null!==n){switch(n.$$typeof){case S:return e=e.get(null===n.key?r:n.key)||null,n.type===x?f(t,e,n.props.children,i,n.key):c(t,e,n,i);case M:return l(t,e=e.get(null===n.key?r:n.key)||null,n,i)}
vendor: 4,844 bytes, line 2
2if(_o(n)||F(n))return f(t,e=e.get(r)||null,n,i,null);So(t,n)}return null}function y(i,a,s,u){for(var c=null,l=null,f=a,y=a=0,m=null;null!==f&&y<s.length;y++){f.index>y?(m=f,f=null):m=f.sibling;var b=d(i,f,s[y],u);if(null===b){null===f&&(f=m);break}e&&f&&null===b.alternate&&t(i,f),a=o(b,a,y),null===l?c=b:l.sibling=b,l=b,f=m}if(y===s.length)return r(i,f),c;if(null===f){for(;y<s.length;y++)null!==(f=h(i,s[y],u))&&(a=o(f,a,y),null===l?c=f:l.sibling=f,l=f);return c}for(f=n(i,f);y<s.length;y++)null!==(m=p(f,i,y,s[y],u))&&(e&&null!==m.alternate&&f.delete(null===m.key?y:m.key),a=o(m,a,y),null===l?c=m:l.sibling=m,l=m);return e&&f.forEach((function(e){return t(i,e)})),c}function m(i,s,u,c){var l=F(u);if("function"!==typeof l)throw Error(a(150));if(null==(u=l.call(u)))throw Error(a(151));for(var f=l=null,y=s,m=s=0,b=null,v=u.next();null!==y&&!v.done;m++,v=u.next()){y.index>m?(b=y,y=null):b=y.sibling;var g=d(i,y,v.value,c);if(null===g){null===y&&(y=b);break}e&&y&&null===g.alternate&&t(i,y),s=o(g,s,m),null===f?l=g:f.sibling=g,f=g,y=b}if(v.done)return r(i,y),l;if(null===y){for(;!v.done;m++,v=u.next())null!==(v=h(i,v.value,c))&&(s=o(v,s,m),null===f?l=v:f.sibling=v,f=v);return l}for(y=n(i,y);!v.done;m++,v=u.next())null!==(v=p(y,i,m,v.value,c))&&(e&&null!==v.alternate&&y.delete(null===v.key?m:v.key),s=o(v,s,m),null===f?l=v:f.sibling=v,f=v);return e&&y.forEach((function(e){return t(i,e)})),l}return function(e,n,o,u){var c="object"===typeof o&&null!==o&&o.type===x&&null===o.key;c&&(o=o.props.children);var l="object"===typeof o&&null!==o;if(l)switch(o.$$typeof){case S:e:{for(l=o.key,c=n;null!==c;){if(c.key===l){switch(c.tag){case 7:if(o.type===x){r(e,c.sibling),(n=i(c,o.props.children)).return=e,e=n;break e}break;default:if(c.elementType===o.type){r(e,c.sibling),(n=i(c,o.props)).ref=wo(e,c,o),n.return=e,e=n;break e}}r(e,c);break}t(e,c),c=c.sibling}o.type===x?((n=Wu(o.props.children,e.mode,u,o.key)).return=e,e=n):((u=Vu(o.type,o.key,o.props,null,e.mode,u)).ref=wo(e,n,o),u.return=e,e=u)}return s(e);case M:e:{for(c=o.key;null!==n;){if(n.key===c){if(4===n.tag&&n.stateNode.containerInfo===o.containerInfo&&n.stateNode.implementation===o.implementation){r(e,n.sibling),(n=i(n,o.children||[])).return=e,e=n;break e}r(e,n);break}t(e,n),n=n.sibling}(n=Yu(o,e.mode,u)).return=e,e=n}return s(e)}if("string"===typeof o||"number"===typeof o)return o=""+o,null!==n&&6===n.tag?(r(e,n.sibling),(n=i(n,o)).return=e,e=n):(r(e,n),(n=Ku(o,e.mode,u)).return=e,e=n),s(e);if(_o(o))return y(e,n,o,u);if(F(o))return m(e,n,o,u);if(l&&So(e,o),"undefined"===typeof o&&!c)switch(e.tag){case 1:case 22:case 0:case 11:case 15:throw Error(a(152,K(e.type)||"Component"))}return r(e,n)}}var xo=Mo(!0),Eo=Mo(!1),ko={},Oo=ai(ko),To=ai(ko),Po=ai(ko);function Ao(e){if(e===ko)throw Error(a(174));return e}function Ro(e,t){switch(ui(Po,t),ui(To,e),ui(Oo,ko),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:pe(null,"");break;default:t=pe(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}si(Oo),ui(Oo,t)}function jo(){si(Oo),si(To),si(Po)}function Co(e){Ao(Po.current);var t=Ao(Oo.current),r=pe(t,e.type);t!==r&&(ui(To,e),ui(Oo,r))}function No(e){To.current===e&&(si(Oo),si(To))}var Io=ai(0);function Lo(e){for(var t=e;null!==t;){if(13===t.tag){var r=t.memoizedState;if(null!==r&&(null===(r=r.dehydrated)||"$?"===r.data||"$!"===r.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!==(64&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Do=null,Bo=null,qo=!1;function Uo(e,t){var r=zu(5,null,null,0);r.elementType="DELETED",r.type="DELETED",r.stateNode=t,r.return=e,r.flags=8,null!==e.lastEffect?(e.lastEffect.nextEffect=r,e.lastEffect=r):e.firstEffect=e.lastEffect=r}function zo(e,t){switch(e.tag){case 5:var r=e.type;return null!==(t=1!==t.nodeType||r.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);case 13:default:return!1}}function Fo(e){if(qo){var t=Bo;if(t){var r=t;if(!zo(e,t)){if(!(t=Wn(r.nextSibling))||!zo(e,t))return e.flags=-1025&e.flags|2,qo=!1,void(Do=e);Uo(Do,r)}Do=e,Bo=Wn(t.firstChild)}else e.flags=-1025&e.flags|2,qo=!1,Do=e}}function Ho(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;Do=e}function Vo(e){if(e!==Do)return!1;if(!qo)return Ho(e),qo=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!zn(t,e.memoizedProps))for(t=Bo;t;)Uo(e,t),t=Wn(t.nextSibling);if(Ho(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(a(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var r=e.data;if("/$"===r){if(0===t){Bo=Wn(e.nextSibling);break e}t--}
vendor: 6,862 bytes, line 2
2else"$"!==r&&"$!"!==r&&"$?"!==r||t++}e=e.nextSibling}Bo=null}}else Bo=Do?Wn(e.stateNode.nextSibling):null;return!0}function Wo(){Bo=Do=null,qo=!1}var Go=[];function Ko(){for(var e=0;e<Go.length;e++)Go[e]._workInProgressVersionPrimary=null;Go.length=0}var Yo=w.ReactCurrentDispatcher,Xo=w.ReactCurrentBatchConfig,$o=0,Zo=null,Jo=null,Qo=null,ea=!1,ta=!1;function ra(){throw Error(a(321))}function na(e,t){if(null===t)return!1;for(var r=0;r<t.length&&r<e.length;r++)if(!sn(e[r],t[r]))return!1;return!0}function ia(e,t,r,n,i,o){if($o=o,Zo=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Yo.current=null===e||null===e.memoizedState?Aa:Ra,e=r(n,i),ta){o=0;do{if(ta=!1,!(25>o))throw Error(a(301));o+=1,Qo=Jo=null,t.updateQueue=null,Yo.current=ja,e=r(n,i)}while(ta)}if(Yo.current=Pa,t=null!==Jo&&null!==Jo.next,$o=0,Qo=Jo=Zo=null,ea=!1,t)throw Error(a(300));return e}function oa(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===Qo?Zo.memoizedState=Qo=e:Qo=Qo.next=e,Qo}function aa(){if(null===Jo){var e=Zo.alternate;e=null!==e?e.memoizedState:null}else e=Jo.next;var t=null===Qo?Zo.memoizedState:Qo.next;if(null!==t)Qo=t,Jo=e;else{if(null===e)throw Error(a(310));e={memoizedState:(Jo=e).memoizedState,baseState:Jo.baseState,baseQueue:Jo.baseQueue,queue:Jo.queue,next:null},null===Qo?Zo.memoizedState=Qo=e:Qo=Qo.next=e}return Qo}function sa(e,t){return"function"===typeof t?t(e):t}function ua(e){var t=aa(),r=t.queue;if(null===r)throw Error(a(311));r.lastRenderedReducer=e;var n=Jo,i=n.baseQueue,o=r.pending;if(null!==o){if(null!==i){var s=i.next;i.next=o.next,o.next=s}n.baseQueue=i=o,r.pending=null}if(null!==i){i=i.next,n=n.baseState;var u=s=o=null,c=i;do{var l=c.lane;if(($o&l)===l)null!==u&&(u=u.next={lane:0,action:c.action,eagerReducer:c.eagerReducer,eagerState:c.eagerState,next:null}),n=c.eagerReducer===e?c.eagerState:e(n,c.action);else{var f={lane:l,action:c.action,eagerReducer:c.eagerReducer,eagerState:c.eagerState,next:null};null===u?(s=u=f,o=n):u=u.next=f,Zo.lanes|=l,Bs|=l}c=c.next}while(null!==c&&c!==i);null===u?o=n:u.next=s,sn(n,t.memoizedState)||(Na=!0),t.memoizedState=n,t.baseState=o,t.baseQueue=u,r.lastRenderedState=n}return[t.memoizedState,r.dispatch]}function ca(e){var t=aa(),r=t.queue;if(null===r)throw Error(a(311));r.lastRenderedReducer=e;var n=r.dispatch,i=r.pending,o=t.memoizedState;if(null!==i){r.pending=null;var s=i=i.next;do{o=e(o,s.action),s=s.next}while(s!==i);sn(o,t.memoizedState)||(Na=!0),t.memoizedState=o,null===t.baseQueue&&(t.baseState=o),r.lastRenderedState=o}return[o,n]}function la(e,t,r){var n=t._getVersion;n=n(t._source);var i=t._workInProgressVersionPrimary;if(null!==i?e=i===n:(e=e.mutableReadLanes,(e=($o&e)===e)&&(t._workInProgressVersionPrimary=n,Go.push(t))),e)return r(t._source);throw Go.push(t),Error(a(350))}function fa(e,t,r,n){var i=As;if(null===i)throw Error(a(349));var o=t._getVersion,s=o(t._source),u=Yo.current,c=u.useState((function(){return la(i,t,r)})),l=c[1],f=c[0];c=Qo;var h=e.memoizedState,d=h.refs,p=d.getSnapshot,y=h.source;h=h.subscribe;var m=Zo;return e.memoizedState={refs:d,source:t,subscribe:n},u.useEffect((function(){d.getSnapshot=r,d.setSnapshot=l;var e=o(t._source);if(!sn(s,e)){e=r(t._source),sn(f,e)||(l(e),e=lu(m),i.mutableReadLanes|=e&i.pendingLanes),e=i.mutableReadLanes,i.entangledLanes|=e;for(var n=i.entanglements,a=e;0<a;){var u=31-Vt(a),c=1<<u;n[u]|=e,a&=~c}}}),[r,t,n]),u.useEffect((function(){return n(t._source,(function(){var e=d.getSnapshot,r=d.setSnapshot;try{r(e(t._source));var n=lu(m);i.mutableReadLanes|=n&i.pendingLanes}catch(o){r((function(){throw o}))}}))}),[t,n]),sn(p,r)&&sn(y,t)&&sn(h,n)||((e={pending:null,dispatch:null,lastRenderedReducer:sa,lastRenderedState:f}).dispatch=l=Ta.bind(null,Zo,e),c.queue=e,c.baseQueue=null,f=la(i,t,r),c.memoizedState=c.baseState=f),f}function ha(e,t,r){return fa(aa(),e,t,r)}function da(e){var t=oa();return"function"===typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={pending:null,dispatch:null,lastRenderedReducer:sa,lastRenderedState:e}).dispatch=Ta.bind(null,Zo,e),[t.memoizedState,e]}function pa(e,t,r,n){return e={tag:e,create:t,destroy:r,deps:n,next:null},null===(t=Zo.updateQueue)?(t={lastEffect:null},Zo.updateQueue=t,t.lastEffect=e.next=e):null===(r=t.lastEffect)?t.lastEffect=e.next=e:(n=r.next,r.next=e,e.next=n,t.lastEffect=e),e}function ya(e){return e={current:e},oa().memoizedState=e}function ma(){return aa().memoizedState}function ba(e,t,r,n){var i=oa();Zo.flags|=e,i.memoizedState=pa(1|t,r,void 0,void 0===n?null:n)}function va(e,t,r,n){var i=aa();n=void 0===n?null:n;var o=void 0;if(null!==Jo){var a=Jo.memoizedState;if(o=a.destroy,null!==n&&na(n,a.deps))return void pa(t,r,o,n)}Zo.flags|=e,i.memoizedState=pa(1|t,r,o,n)}function ga(e,t){return ba(516,4,e,t)}function _a(e,t){return va(516,4,e,t)}function wa(e,t){return va(4,2,e,t)}function Sa(e,t){return"function"===typeof t?(e=e(),t(e),function(){t(null)}):null!==t&&void 0!==t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Ma(e,t,r){return r=null!==r&&void 0!==r?r.concat([e]):null,va(4,2,Sa.bind(null,t,e),r)}function xa(){}function Ea(e,t){var r=aa();t=void 0===t?null:t;var n=r.memoizedState;return null!==n&&null!==t&&na(t,n[1])?n[0]:(r.memoizedState=[e,t],e)}function ka(e,t){var r=aa();t=void 0===t?null:t;var n=r.memoizedState;return null!==n&&null!==t&&na(t,n[1])?n[0]:(e=e(),r.memoizedState=[e,t],e)}function Oa(e,t){var r=zi();Hi(98>r?98:r,(function(){e(!0)})),Hi(97<r?97:r,(function(){var r=Xo.transition;Xo.transition=1;try{e(!1),t()}finally{Xo.transition=r}}))}function Ta(e,t,r){var n=cu(),i=lu(e),o={lane:i,action:r,eagerReducer:null,eagerState:null,next:null},a=t.pending;if(null===a?o.next=o:(o.next=a.next,a.next=o),t.pending=o,a=e.alternate,e===Zo||null!==a&&a===Zo)ta=ea=!0;else{if(0===e.lanes&&(null===a||0===a.lanes)&&null!==(a=t.lastRenderedReducer))try{var s=t.lastRenderedState,u=a(s,r);if(o.eagerReducer=a,o.eagerState=u,sn(u,s))return}catch(c){}fu(e,i,n)}}var Pa={readContext:no,useCallback:ra,useContext:ra,useEffect:ra,useImperativeHandle:ra,useLayoutEffect:ra,useMemo:ra,useReducer:ra,useRef:ra,useState:ra,useDebugValue:ra,useDeferredValue:ra,useTransition:ra,useMutableSource:ra,useOpaqueIdentifier:ra,unstable_isNewReconciler:!1},Aa={readContext:no,useCallback:function(e,t){return oa().memoizedState=[e,void 0===t?null:t],e},useContext:no,useEffect:ga,useImperativeHandle:function(e,t,r){return r=null!==r&&void 0!==r?r.concat([e]):null,ba(4,2,Sa.bind(null,t,e),r)},useLayoutEffect:function(e,t){return ba(4,2,e,t)},useMemo:function(e,t){var r=oa();return t=void 0===t?null:t,e=e(),r.memoizedState=[e,t],e},useReducer:function(e,t,r){var n=oa();return t=void 0!==r?r(t):t,n.memoizedState=n.baseState=t,e=(e=n.queue={pending:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t}).dispatch=Ta.bind(null,Zo,e),[n.memoizedState,e]}
2,useRef:ya,useState:da,useDebugValue:xa,useDeferredValue:function(e){var t=da(e),r=t[0],n=t[1];return ga((function(){var t=Xo.transition;Xo.transition=1;try{n(e)}finally{Xo.transition=t}}),[e]),r},useTransition:function(){var e=da(!1),t=e[0];return ya(e=Oa.bind(null,e[1])),[e,t]},useMutableSource:function(e,t,r){var n=oa();return n.memoizedState={refs:{getSnapshot:t,setSnapshot:null},source:e,subscribe:r},fa(n,e,t,r)},useOpaqueIdentifier:function(){if(qo){var e=!1,t=function(e){return{$$typeof:I,toString:e,valueOf:e}}((function(){throw e||(e=!0,r("r:"+(Kn++).toString(36))),Error(a(355))})),r=da(t)[1];return 0===(2&Zo.mode)&&(Zo.flags|=516,pa(5,(function(){r("r:"+(Kn++).toString(36))}),void 0,null)),t}return da(t="r:"+(Kn++).toString(36)),t},unstable_isNewReconciler:!1},Ra={readContext:no,useCallback:Ea,useContext:no,useEffect:_a,useImperativeHandle:Ma,useLayoutEffect:wa,useMemo:ka,useReducer:ua,useRef:ma,useState:function(){return ua(sa)},useDebugValue:xa,useDeferredValue:function(e){var t=ua(sa),r=t[0],n=t[1];return _a((function(){var t=Xo.transition;Xo.transition=1;try{n(e)}finally{Xo.transition=t}}),[e]),r},useTransition:function(){var e=ua(sa)[0];return[ma().current,e]},useMutableSource:ha,useOpaqueIdentifier:function(){return ua(sa)[0]},unstable_isNewReconciler:!1},ja={readContext:no,useCallback:Ea,useContext:no,useEffect:_a,useImperativeHandle:Ma,useLayoutEffect:wa,useMemo:ka,useReducer:ca,useRef:ma,useState:function(){return ca(sa)},useDebugValue:xa,useDeferredValue:function(e){var t=ca(sa),r=t[0],n=t[1];return _a((function(){var t=Xo.transition;Xo.transition=1;try{n(e)}finally{Xo.transition=t}}),[e]),r},useTransition:function(){var e=ca(sa)[0];return[ma().current,e]},useMutableSource:ha,useOpaqueIdentifier:function(){return ca(sa)[0]},unstable_isNewReconciler:!1},Ca=w.ReactCurrentOwner,Na=!1;function Ia(e,t,r,n){t.child=null===e?Eo(t,null,r,n):xo(t,e.child,r,n)}function La(e,t,r,n,i){r=r.render;var o=t.ref;return ro(t,i),n=ia(e,t,r,n,o,i),null===e||Na?(t.flags|=1,Ia(e,t,n,i),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~i,rs(e,t,i))}function Da(e,t,r,n,i,o){if(null===e){var a=r.type;return"function"!==typeof a||Fu(a)||void 0!==a.defaultProps||null!==r.compare||void 0!==r.defaultProps?((e=Vu(r.type,null,n,t,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,Ba(e,t,a,n,i,o))}return a=e.child,0===(i&o)&&(i=a.memoizedProps,(r=null!==(r=r.compare)?r:cn)(i,n)&&e.ref===t.ref)?rs(e,t,o):(t.flags|=1,(e=Hu(a,n)).ref=t.ref,e.return=t,t.child=e)}function Ba(e,t,r,n,i,o){if(null!==e&&cn(e.memoizedProps,n)&&e.ref===t.ref){if(Na=!1,0===(o&i))return t.lanes=e.lanes,rs(e,t,o);0!==(16384&e.flags)&&(Na=!0)}return za(e,t,r,n,o)}function qa(e,t,r){var n=t.pendingProps,i=n.children,o=null!==e?e.memoizedState:null;if("hidden"===n.mode||"unstable-defer-without-hiding"===n.mode)if(0===(4&t.mode))t.memoizedState={baseLanes:0},gu(t,r);else{if(0===(1073741824&r))return e=null!==o?o.baseLanes|r:r,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e},gu(t,e),null;t.memoizedState={baseLanes:0},gu(t,null!==o?o.baseLanes:r)}else null!==o?(n=o.baseLanes|r,t.memoizedState=null):n=r,gu(t,n);return Ia(e,t,i,r),t.child}function Ua(e,t){var r=t.ref;(null===e&&null!==r||null!==e&&e.ref!==r)&&(t.flags|=128)}function za(e,t,r,n,i){var o=pi(r)?hi:li.current;return o=di(t,o),ro(t,i),r=ia(e,t,r,n,o,i),null===e||Na?(t.flags|=1,Ia(e,t,r,i),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~i,rs(e,t,i))}function Fa(e,t,r,n,i){if(pi(r)){var o=!0;vi(t)}else o=!1;if(ro(t,i),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),bo(t,r,n),go(t,r,n,i),n=!0;else if(null===e){var a=t.stateNode,s=t.memoizedProps;a.props=s;var u=a.context,c=r.contextType;"object"===typeof c&&null!==c?c=no(c):c=di(t,c=pi(r)?hi:li.current);var l=r.getDerivedStateFromProps,f="function"===typeof l||"function"===typeof a.getSnapshotBeforeUpdate;f||"function"!==typeof a.UNSAFE_componentWillReceiveProps&&"function"!==typeof a.componentWillReceiveProps||(s!==n||u!==c)&&vo(t,a,n,c),io=!1;var h=t.memoizedState;a.state=h,lo(t,n,a,i),u=t.memoizedState,s!==n||h!==u||fi.current||io?("function"===typeof l&&(po(t,r,l,n),u=t.memoizedState),(s=io||mo(t,r,s,n,h,u,c))?(f||"function"!==typeof a.UNSAFE_componentWillMount&&"function"!==typeof a.componentWillMount||("function"===typeof a.componentWillMount&&a.componentWillMount(),"function"===typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"===typeof a.componentDidMount&&(t.flags|=4)):("function"===typeof a.componentDidMount&&(t.flags|=4),t.memoizedProps=n,t.memoizedState=u),a.props=n,a.state=u,a.context=c,n=s):("function"===typeof a.componentDidMount&&(t.flags|=4),n=!1)}else{a=t.stateNode,ao(e,t),s=t.memoizedProps,c=t.type===t.elementType?s:Yi(t.type,s),a.props=c,f=t.pen
2dingProps,h=a.context,"object"===typeof(u=r.contextType)&&null!==u?u=no(u):u=di(t,u=pi(r)?hi:li.current);var d=r.getDerivedStateFromProps;(l="function"===typeof d||"function"===typeof a.getSnapshotBeforeUpdate)||"function"!==typeof a.UNSAFE_componentWillReceiveProps&&"function"!==typeof a.componentWillReceiveProps||(s!==f||h!==u)&&vo(t,a,n,u),io=!1,h=t.memoizedState,a.state=h,lo(t,n,a,i);var p=t.memoizedState;s!==f||h!==p||fi.current||io?("function"===typeof d&&(po(t,r,d,n),p=t.memoizedState),(c=io||mo(t,r,c,n,h,p,u))?(l||"function"!==typeof a.UNSAFE_componentWillUpdate&&"function"!==typeof a.componentWillUpdate||("function"===typeof a.componentWillUpdate&&a.componentWillUpdate(n,p,u),"function"===typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(n,p,u)),"function"===typeof a.componentDidUpdate&&(t.flags|=4),"function"===typeof a.getSnapshotBeforeUpdate&&(t.flags|=256)):("function"!==typeof a.componentDidUpdate||s===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),"function"!==typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&h===e.memoizedState||(t.flags|=256),t.memoizedProps=n,t.memoizedState=p),a.props=n,a.state=p,a.context=u,n=c):("function"!==typeof a.componentDidUpdate||s===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),"function"!==typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&h===e.memoizedState||(t.flags|=256),n=!1)}return Ha(e,t,r,n,o,i)}function Ha(e,t,r,n,i,o){Ua(e,t);var a=0!==(64&t.flags);if(!n&&!a)return i&&gi(t,r,!1),rs(e,t,o);n=t.stateNode,Ca.current=t;var s=a&&"function"!==typeof r.getDerivedStateFromError?null:n.render();return t.flags|=1,null!==e&&a?(t.child=xo(t,e.child,null,o),t.child=xo(t,null,s,o)):Ia(e,t,s,o),t.memoizedState=n.state,i&&gi(t,r,!0),t.child}function Va(e){var t=e.stateNode;t.pendingContext?mi(0,t.pendingContext,t.pendingContext!==t.context):t.context&&mi(0,t.context,!1),Ro(e,t.containerInfo)}var Wa,Ga,Ka,Ya={dehydrated:null,retryLane:0};function Xa(e,t,r){var n,i=t.pendingProps,o=Io.current,a=!1;return(n=0!==(64&t.flags))||(n=(null===e||null!==e.memoizedState)&&0!==(2&o)),n?(a=!0,t.flags&=-65):null!==e&&null===e.memoizedState||void 0===i.fallback||!0===i.unstable_avoidThisFallback||(o|=1),ui(Io,1&o),null===e?(void 0!==i.fallback&&Fo(t),e=i.children,o=i.fallback,a?(e=$a(t,e,o,r),t.child.memoizedState={baseLanes:r},t.memoizedState=Ya,e):"number"===typeof i.unstable_expectedLoadTime?(e=$a(t,e,o,r),t.child.memoizedState={baseLanes:r},t.memoizedState=Ya,t.lanes=33554432,e):((r=Gu({mode:"visible",children:e},t.mode,r,null)).return=t,t.child=r)):(e.memoizedState,a?(i=Ja(e,t,i.children,i.fallback,r),a=t.child,o=e.child.memoizedState,a.memoizedState=null===o?{baseLanes:r}:{baseLanes:o.baseLanes|r},a.childLanes=e.childLanes&~r,t.memoizedState=Ya,i):(r=Za(e,t,i.children,r),t.memoizedState=null,r))}function $a(e,t,r,n){var i=e.mode,o=e.child;return t={mode:"hidden",children:t},0===(2&i)&&null!==o?(o.childLanes=0,o.pendingProps=t):o=Gu(t,i,0,null),r=Wu(r,i,n,null),o.return=e,r.return=e,o.sibling=r,e.child=o,r}function Za(e,t,r,n){var i=e.child;return e=i.sibling,r=Hu(i,{mode:"visible",children:r}),0===(2&t.mode)&&(r.lanes=n),r.return=t,r.sibling=null,null!==e&&(e.nextEffect=null,e.flags=8,t.firstEffect=t.lastEffect=e),t.child=r}function Ja(e,t,r,n,i){var o=t.mode,a=e.child;e=a.sibling;var s={mode:"hidden",children:r};return 0===(2&o)&&t.child!==a?((r=t.child).childLanes=0,r.pendingProps=s,null!==(a=r.lastEffect)?(t.firstEffect=r.firstEffect,t.lastEffect=a,a.nextEffect=null):t.firstEffect=t.lastEffect=null):r=Hu(a,s),null!==e?n=Hu(e,n):(n=Wu(n,o,i,null)).flags|=2,n.return=t,r.return=t,r.sibling=n,t.child=r,n}function Qa(e,t){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),to(e.return,t)}function es(e,t,r,n,i,o){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:n,tail:r,tailMode:i,lastEffect:o}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=n,a.tail=r,a.tailMode=i,a.lastEffect=o)}function ts(e,t,r){var n=t.pendingProps,i=n.revealOrder,o=n.tail;if(Ia(e,t,n.children,r),0!==(2&(n=Io.current)))n=1&n|2,t.flags|=64;else{if(null!==e&&0!==(64&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Qa(e,r);else if(19===e.tag)Qa(e,r);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}n&=1}if(ui(Io,n),0===(2&t.mode))t.memoizedState=null;else switch(i){case"forwards":for(r=t.child,i=null;null!==r;)null!==(e=r.alternate)&&null===Lo(e)&&(i=r),r=r.sibling;null===(r=i)?(i=t.child,t.child=null):(i=r.sibling,r.sibling=null),es(t,!1,i,r,o,t.lastEffect);break;case"backwards":for(r=null,i=t.child,t.child=null;null!==i;){if(null!==(e=i.alternate)&&null===Lo(e)){t.child=i;break}e=i.sibling,i.sibling=r,r=i,i=e}es(t,!0,r,null,o,t.lastEffect);break;case"together":es(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function rs(e,t,r){if(null!==e&&(t.dependencies=e.dependencies),Bs|=t.lanes,0!==(r&t.childLanes)){if(null!==e&&t.child!==e.child)throw Error(a(153));if(null!==t.child){for(r=Hu(e=t.child,e.pendingProps),t.child=r,r.return=t;null!==e.sibling;
2)e=e.sibling,(r=r.sibling=Hu(e,e.pendingProps)).return=t;r.sibling=null}return t.child}return null}function ns(e,t){if(!qo)switch(e.tailMode){case"hidden":t=e.tail;for(var r=null;null!==t;)null!==t.alternate&&(r=t),t=t.sibling;null===r?e.tail=null:r.sibling=null;break;case"collapsed":r=e.tail;for(var n=null;null!==r;)null!==r.alternate&&(n=r),r=r.sibling;null===n?t||null===e.tail?e.tail=null:e.tail.sibling=null:n.sibling=null}}function is(e,t,r){var n=t.pendingProps;switch(t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:return pi(t.type)&&yi(),null;case 3:return jo(),si(fi),si(li),Ko(),(n=t.stateNode).pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),null!==e&&null!==e.child||(Vo(t)?t.flags|=4:n.hydrate||(t.flags|=256)),null;case 5:No(t);var o=Ao(Po.current);if(r=t.type,null!==e&&null!=t.stateNode)Ga(e,t,r,n),e.ref!==t.ref&&(t.flags|=128);else{if(!n){if(null===t.stateNode)throw Error(a(166));return null}if(e=Ao(Oo.current),Vo(t)){n=t.stateNode,r=t.type;var s=t.memoizedProps;switch(n[Xn]=t,n[$n]=s,r){case"dialog":On("cancel",n),On("close",n);break;case"iframe":case"object":case"embed":On("load",n);break;case"video":case"audio":for(e=0;e<Mn.length;e++)On(Mn[e],n);break;case"source":On("error",n);break;case"img":case"image":case"link":On("error",n),On("load",n);break;case"details":On("toggle",n);break;case"input":ee(n,s),On("invalid",n);break;case"select":n._wrapperState={wasMultiple:!!s.multiple},On("invalid",n);break;case"textarea":ue(n,s),On("invalid",n)}for(var c in xe(r,s),e=null,s)s.hasOwnProperty(c)&&(o=s[c],"children"===c?"string"===typeof o?n.textContent!==o&&(e=["children",o]):"number"===typeof o&&n.textContent!==""+o&&(e=["children",""+o]):u.hasOwnProperty(c)&&null!=o&&"onScroll"===c&&On("scroll",n));switch(r){case"input":$(n),ne(n,s,!0);break;case"textarea":$(n),le(n);break;case"select":case"option":break;default:"function"===typeof s.onClick&&(n.onclick=Dn)}n=e,t.updateQueue=n,null!==n&&(t.flags|=4)}else{switch(c=9===o.nodeType?o:o.ownerDocument,e===fe&&(e=de(r)),e===fe?"script"===r?((e=c.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"===typeof n.is?e=c.createElement(r,{is:n.is}):(e=c.createElement(r),"select"===r&&(c=e,n.multiple?c.multiple=!0:n.size&&(c.size=n.size))):e=c.createElementNS(e,r),e[Xn]=t,e[$n]=n,Wa(e,t),t.stateNode=e,c=Ee(r,n),r){case"dialog":On("cancel",e),On("close",e),o=n;break;case"iframe":case"object":case"embed":On("load",e),o=n;break;case"video":case"audio":for(o=0;o<Mn.length;o++)On(Mn[o],e);o=n;break;case"source":On("error",e),o=n;break;case"img":case"image":case"link":On("error",e),On("load",e),o=n;break;case"details":On("toggle",e),o=n;break;case"input":ee(e,n),o=Q(e,n),On("invalid",e);break;case"option":o=oe(e,n);break;case"select":e._wrapperState={wasMultiple:!!n.multiple},o=i({},n,{value:void 0}),On("invalid",e);break;case"textarea":ue(e,n),o=se(e,n),On("invalid",e);break;default:o=n}xe(r,o);var l=o;for(s in l)if(l.hasOwnProperty(s)){var f=l[s];"style"===s?Se(e,f):"dangerouslySetInnerHTML"===s?null!=(f=f?f.__html:void 0)&&be(e,f):"children"===s?"string"===typeof f?("textarea"!==r||""!==f)&&ve(e,f):"number"===typeof f&&ve(e,""+f):"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&"autoFocus"!==s&&(u.hasOwnProperty(s)?null!=f&&"onScroll"===s&&On("scroll",e):null!=f&&_(e,s,f,c))}switch(r){case"input":$(e),ne(e,n,!1);break;case"textarea":$(e),le(e);break;case"option":null!=n.value&&e.setAttribute("value",""+Y(n.value));break;case"select":e.multiple=!!n.multiple,null!=(s=n.value)?ae(e,!!n.multiple,s,!1):null!=n.defaultValue&&ae(e,!!n.multiple,n.defaultValue,!0);break;default:"function"===typeof o.onClick&&(e.onclick=Dn)}Un(r,n)&&(t.flags|=4)}null!==t.ref&&(t.flags|=128)}return null;case 6:if(e&&null!=t.stateNode)Ka(0,t,e.memoizedProps,n);else{if("string"!==typeof n&&null===t.stateNode)throw Error(a(166));r=Ao(Po.current),Ao(Oo.current),Vo(t)?(n=t.stateNode,r=t.memoizedProps,n[Xn]=t,n.nodeValue!==r&&(t.flags|=4)):((n=(9===r.nodeType?r:r.ownerDocument).createTextNode(n))[Xn]=t,t.stateNode=n)}return null;case 13:return si(Io),n=t.memoizedState,0!==(64&t.flags)?(t.lanes=r,t):(n=null!==n,r=!1,null===e?void 0!==t.memoizedProps.fallback&&Vo(t):r=null!==e.memoizedState,n&&!r&&0!==(2&t.mode)&&(null===e&&!0!==t.memoizedProps.unstable_avoidThisFallback||0!==(1&Io.current)?0===Is&&(Is=3):(0!==Is&&3!==Is||(Is=4),null===As||0===(134217727&Bs)&&0===(134217727&qs)||yu(As,js))),(n||r)&&(t.flags|=4),null);case 4:return jo(),null===e&&Pn(t.stateNode.containerInfo),null;case 10:return eo(t),null;case 17:return pi(t.type)&&yi(),null;case 19:if(si(Io),null===(n=t.memoizedState))return null;if(s=0!==(64&t.flags),null===(c=n.rendering))if(s)ns(n,!1);else{if(0!==Is||null!==e&&0!==(64&e.flags))for(e=t.child;null!==e;){if(null!==(c=Lo(e))){for(t.flags|=64,ns(n,!1),null!==(s=c.updateQueue)&&(t.updateQueue=s,t.flags|=4),null===n.lastEffect&&(t.firstEffect=null),t.lastEffect=n.lastEffect,n=r,r=t.child;null!==r;)e=n,(s=r).flags&=2,s.nextEffect=null,s.firstEffect=null,s.lastEffect=null,null===(c=s.alternate)?(s.childLanes=0,s.lanes=e,s.child=null,s.memoizedProps=null,s.memoizedState=null,s.updateQueue=null,s.dependencies=null,
vendor: 4,843 bytes, line 2
2s.stateNode=null):(s.childLanes=c.childLanes,s.lanes=c.lanes,s.child=c.child,s.memoizedProps=c.memoizedProps,s.memoizedState=c.memoizedState,s.updateQueue=c.updateQueue,s.type=c.type,e=c.dependencies,s.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),r=r.sibling;return ui(Io,1&Io.current|2),t.child}e=e.sibling}null!==n.tail&&Ui()>Hs&&(t.flags|=64,s=!0,ns(n,!1),t.lanes=33554432)}else{if(!s)if(null!==(e=Lo(c))){if(t.flags|=64,s=!0,null!==(r=e.updateQueue)&&(t.updateQueue=r,t.flags|=4),ns(n,!0),null===n.tail&&"hidden"===n.tailMode&&!c.alternate&&!qo)return null!==(t=t.lastEffect=n.lastEffect)&&(t.nextEffect=null),null}else 2*Ui()-n.renderingStartTime>Hs&&1073741824!==r&&(t.flags|=64,s=!0,ns(n,!1),t.lanes=33554432);n.isBackwards?(c.sibling=t.child,t.child=c):(null!==(r=n.last)?r.sibling=c:t.child=c,n.last=c)}return null!==n.tail?(r=n.tail,n.rendering=r,n.tail=r.sibling,n.lastEffect=t.lastEffect,n.renderingStartTime=Ui(),r.sibling=null,t=Io.current,ui(Io,s?1&t|2:1&t),r):null;case 23:case 24:return _u(),null!==e&&null!==e.memoizedState!==(null!==t.memoizedState)&&"unstable-defer-without-hiding"!==n.mode&&(t.flags|=4),null}throw Error(a(156,t.tag))}function os(e){switch(e.tag){case 1:pi(e.type)&&yi();var t=e.flags;return 4096&t?(e.flags=-4097&t|64,e):null;case 3:if(jo(),si(fi),si(li),Ko(),0!==(64&(t=e.flags)))throw Error(a(285));return e.flags=-4097&t|64,e;case 5:return No(e),null;case 13:return si(Io),4096&(t=e.flags)?(e.flags=-4097&t|64,e):null;case 19:return si(Io),null;case 4:return jo(),null;case 10:return eo(e),null;case 23:case 24:return _u(),null;default:return null}}function as(e,t){try{var r="",n=t;do{r+=G(n),n=n.return}while(n);var i=r}catch(o){i="\nError generating stack: "+o.message+"\n"+o.stack}return{value:e,source:t,stack:i}}function ss(e,t){try{console.error(t.value)}catch(r){setTimeout((function(){throw r}))}}Wa=function(e,t){for(var r=t.child;null!==r;){if(5===r.tag||6===r.tag)e.appendChild(r.stateNode);else if(4!==r.tag&&null!==r.child){r.child.return=r,r=r.child;continue}if(r===t)break;for(;null===r.sibling;){if(null===r.return||r.return===t)return;r=r.return}r.sibling.return=r.return,r=r.sibling}},Ga=function(e,t,r,n){var o=e.memoizedProps;if(o!==n){e=t.stateNode,Ao(Oo.current);var a,s=null;switch(r){case"input":o=Q(e,o),n=Q(e,n),s=[];break;case"option":o=oe(e,o),n=oe(e,n),s=[];break;case"select":o=i({},o,{value:void 0}),n=i({},n,{value:void 0}),s=[];break;case"textarea":o=se(e,o),n=se(e,n),s=[];break;default:"function"!==typeof o.onClick&&"function"===typeof n.onClick&&(e.onclick=Dn)}for(f in xe(r,n),r=null,o)if(!n.hasOwnProperty(f)&&o.hasOwnProperty(f)&&null!=o[f])if("style"===f){var c=o[f];for(a in c)c.hasOwnProperty(a)&&(r||(r={}),r[a]="")}else"dangerouslySetInnerHTML"!==f&&"children"!==f&&"suppressContentEditableWarning"!==f&&"suppressHydrationWarning"!==f&&"autoFocus"!==f&&(u.hasOwnProperty(f)?s||(s=[]):(s=s||[]).push(f,null));for(f in n){var l=n[f];if(c=null!=o?o[f]:void 0,n.hasOwnProperty(f)&&l!==c&&(null!=l||null!=c))if("style"===f)if(c){for(a in c)!c.hasOwnProperty(a)||l&&l.hasOwnProperty(a)||(r||(r={}),r[a]="");for(a in l)l.hasOwnProperty(a)&&c[a]!==l[a]&&(r||(r={}),r[a]=l[a])}else r||(s||(s=[]),s.push(f,r)),r=l;else"dangerouslySetInnerHTML"===f?(l=l?l.__html:void 0,c=c?c.__html:void 0,null!=l&&c!==l&&(s=s||[]).push(f,l)):"children"===f?"string"!==typeof l&&"number"!==typeof l||(s=s||[]).push(f,""+l):"suppressContentEditableWarning"!==f&&"suppressHydrationWarning"!==f&&(u.hasOwnProperty(f)?(null!=l&&"onScroll"===f&&On("scroll",e),s||c===l||(s=[])):"object"===typeof l&&null!==l&&l.$$typeof===I?l.toString():(s=s||[]).push(f,l))}r&&(s=s||[]).push("style",r);var f=s;(t.updateQueue=f)&&(t.flags|=4)}},Ka=function(e,t,r,n){r!==n&&(t.flags|=4)};var us="function"===typeof WeakMap?WeakMap:Map;function cs(e,t,r){(r=so(-1,r)).tag=3,r.payload={element:null};var n=t.value;return r.callback=function(){Ks||(Ks=!0,Ys=n),ss(0,t)},r}function ls(e,t,r){(r=so(-1,r)).tag=3;var n=e.type.getDerivedStateFromError;if("function"===typeof n){var i=t.value;r.payload=function(){return ss(0,t),n(i)}}var o=e.stateNode;return null!==o&&"function"===typeof o.componentDidCatch&&(r.callback=function(){"function"!==typeof n&&(null===Xs?Xs=new Set([this]):Xs.add(this),ss(0,t));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),r}var fs="function"===typeof WeakSet?WeakSet:Set;function hs(e){var t=e.ref;if(null!==t)if("function"===typeof t)try{t(null)}catch(r){Du(e,r)}else t.current=null}function ds(e,t){switch(t.tag){case 0:case 11:case 15:case 22:return;case 1:if(256&t.flags&&null!==e){var r=e.memoizedProps,n=e.memoizedState;t=(e=t.stateNode).getSnapshotBeforeUpdate(t.elementType===t.type?r:Yi(t.type,r),n),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:return void(256&t.flags&&Vn(t.stateNode.containerInfo));
vendor: 5,754 bytes, line 2
2case 5:case 6:case 4:case 17:return}throw Error(a(163))}function ps(e,t,r){switch(r.tag){case 0:case 11:case 15:case 22:if(null!==(t=null!==(t=r.updateQueue)?t.lastEffect:null)){e=t=t.next;do{if(3===(3&e.tag)){var n=e.create;e.destroy=n()}e=e.next}while(e!==t)}if(null!==(t=null!==(t=r.updateQueue)?t.lastEffect:null)){e=t=t.next;do{var i=e;n=i.next,0!==(4&(i=i.tag))&&0!==(1&i)&&(Nu(r,e),Cu(r,e)),e=n}while(e!==t)}return;case 1:return e=r.stateNode,4&r.flags&&(null===t?e.componentDidMount():(n=r.elementType===r.type?t.memoizedProps:Yi(r.type,t.memoizedProps),e.componentDidUpdate(n,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate))),void(null!==(t=r.updateQueue)&&fo(r,t,e));case 3:if(null!==(t=r.updateQueue)){if(e=null,null!==r.child)switch(r.child.tag){case 5:e=r.child.stateNode;break;case 1:e=r.child.stateNode}fo(r,t,e)}return;case 5:return e=r.stateNode,void(null===t&&4&r.flags&&Un(r.type,r.memoizedProps)&&e.focus());case 6:case 4:case 12:return;case 13:return void(null===r.memoizedState&&(r=r.alternate,null!==r&&(r=r.memoizedState,null!==r&&(r=r.dehydrated,null!==r&&St(r)))));case 19:case 17:case 20:case 21:case 23:case 24:return}throw Error(a(163))}function ys(e,t){for(var r=e;;){if(5===r.tag){var n=r.stateNode;if(t)"function"===typeof(n=n.style).setProperty?n.setProperty("display","none","important"):n.display="none";else{n=r.stateNode;var i=r.memoizedProps.style;i=void 0!==i&&null!==i&&i.hasOwnProperty("display")?i.display:null,n.style.display=we("display",i)}}else if(6===r.tag)r.stateNode.nodeValue=t?"":r.memoizedProps;else if((23!==r.tag&&24!==r.tag||null===r.memoizedState||r===e)&&null!==r.child){r.child.return=r,r=r.child;continue}if(r===e)break;for(;null===r.sibling;){if(null===r.return||r.return===e)return;r=r.return}r.sibling.return=r.return,r=r.sibling}}function ms(e,t){if(wi&&"function"===typeof wi.onCommitFiberUnmount)try{wi.onCommitFiberUnmount(_i,t)}catch(o){}switch(t.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(e=t.updateQueue)&&null!==(e=e.lastEffect)){var r=e=e.next;do{var n=r,i=n.destroy;if(n=n.tag,void 0!==i)if(0!==(4&n))Nu(t,r);else{n=t;try{i()}catch(o){Du(n,o)}}r=r.next}while(r!==e)}break;case 1:if(hs(t),"function"===typeof(e=t.stateNode).componentWillUnmount)try{e.props=t.memoizedProps,e.state=t.memoizedState,e.componentWillUnmount()}catch(o){Du(t,o)}break;case 5:hs(t);break;case 4:Ss(e,t)}}function bs(e){e.alternate=null,e.child=null,e.dependencies=null,e.firstEffect=null,e.lastEffect=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.return=null,e.updateQueue=null}function vs(e){return 5===e.tag||3===e.tag||4===e.tag}function gs(e){e:{for(var t=e.return;null!==t;){if(vs(t))break e;t=t.return}throw Error(a(160))}var r=t;switch(t=r.stateNode,r.tag){case 5:var n=!1;break;case 3:case 4:t=t.containerInfo,n=!0;break;default:throw Error(a(161))}16&r.flags&&(ve(t,""),r.flags&=-17);e:t:for(r=e;;){for(;null===r.sibling;){if(null===r.return||vs(r.return)){r=null;break e}r=r.return}for(r.sibling.return=r.return,r=r.sibling;5!==r.tag&&6!==r.tag&&18!==r.tag;){if(2&r.flags)continue t;if(null===r.child||4===r.tag)continue t;r.child.return=r,r=r.child}if(!(2&r.flags)){r=r.stateNode;break e}}n?_s(e,r,t):ws(e,r,t)}function _s(e,t,r){var n=e.tag,i=5===n||6===n;if(i)e=i?e.stateNode:e.stateNode.instance,t?8===r.nodeType?r.parentNode.insertBefore(e,t):r.insertBefore(e,t):(8===r.nodeType?(t=r.parentNode).insertBefore(e,r):(t=r).appendChild(e),null!==(r=r._reactRootContainer)&&void 0!==r||null!==t.onclick||(t.onclick=Dn));else if(4!==n&&null!==(e=e.child))for(_s(e,t,r),e=e.sibling;null!==e;)_s(e,t,r),e=e.sibling}function ws(e,t,r){var n=e.tag,i=5===n||6===n;if(i)e=i?e.stateNode:e.stateNode.instance,t?r.insertBefore(e,t):r.appendChild(e);else if(4!==n&&null!==(e=e.child))for(ws(e,t,r),e=e.sibling;null!==e;)ws(e,t,r),e=e.sibling}function Ss(e,t){for(var r,n,i=t,o=!1;;){if(!o){o=i.return;e:for(;;){if(null===o)throw Error(a(160));switch(r=o.stateNode,o.tag){case 5:n=!1;break e;case 3:case 4:r=r.containerInfo,n=!0;break e}o=o.return}o=!0}if(5===i.tag||6===i.tag){e:for(var s=e,u=i,c=u;;)if(ms(s,c),null!==c.child&&4!==c.tag)c.child.return=c,c=c.child;else{if(c===u)break e;for(;null===c.sibling;){if(null===c.return||c.return===u)break e;c=c.return}c.sibling.return=c.return,c=c.sibling}n?(s=r,u=i.stateNode,8===s.nodeType?s.parentNode.removeChild(u):s.removeChild(u)):r.removeChild(i.stateNode)}else if(4===i.tag){if(null!==i.child){r=i.stateNode.containerInfo,n=!0,i.child.return=i,i=i.child;continue}}else if(ms(e,i),null!==i.child){i.child.return=i,i=i.child;continue}if(i===t)break;for(;null===i.sibling;){if(null===i.return||i.return===t)return;4===(i=i.return).tag&&(o=!1)}i.sibling.return=i.return,i=i.sibling}}function Ms(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var n=r=r.next;do{3===(3&n.tag)&&(e=n.destroy,n.destroy=void 0,void 0!==e&&e()),n=n.next}while(n!==r)}return;case 1:return;case 5:if(null!=(r=t.stateNode)){n=t.memoizedProps;var i=null!==e?e.memoizedProps:n;e=t.type;var o=t.updateQueue;if(t.updateQueue=null,null!==o){for(r[$n]=n,"input"===e&&"radio"===n.type&&null!=n.name&&te(r,n),Ee(e,i),t=Ee(e,n),i=0;i<o.length;i+=2){var s=o[i],u=o[i+1];"style"===s?Se(r,u):"dangerouslySetInnerHTML"===s?be(r,u):"children"===s?ve(r,u):_(r,s,u,t)}switch(e){case"input":re(r,n);break;case"textarea":ce(r,n);break;case"select":e=r._wrapperState.wasMultiple,r._wrapperState.wasMultiple=!!n.multiple,null!=(o=n.value)?ae(r,!!n.multiple,o,!1):e!==!!n.multiple&&(null!=n.defaultValue?ae(r,!!n.multiple,n.defaultValue,!0):ae(r,!!n.multiple,n.multiple?[]:"",!1))}}}return;case 6:if(null===t.stateNode)throw Error(a(162));return void(t.stateNode.nodeValue=t.memoizedProps);
vendor: 5,356 bytes, line 2
2case 3:return void((r=t.stateNode).hydrate&&(r.hydrate=!1,St(r.containerInfo)));case 12:return;case 13:return null!==t.memoizedState&&(Fs=Ui(),ys(t.child,!0)),void xs(t);case 19:return void xs(t);case 17:return;case 23:case 24:return void ys(t,null!==t.memoizedState)}throw Error(a(163))}function xs(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var r=e.stateNode;null===r&&(r=e.stateNode=new fs),t.forEach((function(t){var n=qu.bind(null,e,t);r.has(t)||(r.add(t),t.then(n,n))}))}}function Es(e,t){return null!==e&&(null===(e=e.memoizedState)||null!==e.dehydrated)&&(null!==(t=t.memoizedState)&&null===t.dehydrated)}var ks=Math.ceil,Os=w.ReactCurrentDispatcher,Ts=w.ReactCurrentOwner,Ps=0,As=null,Rs=null,js=0,Cs=0,Ns=ai(0),Is=0,Ls=null,Ds=0,Bs=0,qs=0,Us=0,zs=null,Fs=0,Hs=1/0;function Vs(){Hs=Ui()+500}var Ws,Gs=null,Ks=!1,Ys=null,Xs=null,$s=!1,Zs=null,Js=90,Qs=[],eu=[],tu=null,ru=0,nu=null,iu=-1,ou=0,au=0,su=null,uu=!1;function cu(){return 0!==(48&Ps)?Ui():-1!==iu?iu:iu=Ui()}function lu(e){if(0===(2&(e=e.mode)))return 1;if(0===(4&e))return 99===zi()?1:2;if(0===ou&&(ou=Ds),0!==Ki.transition){0!==au&&(au=null!==zs?zs.pendingLanes:0),e=ou;var t=4186112&~au;return 0===(t&=-t)&&(0===(t=(e=4186112&~e)&-e)&&(t=8192)),t}return e=zi(),0!==(4&Ps)&&98===e?e=Ut(12,ou):e=Ut(e=function(e){switch(e){case 99:return 15;case 98:return 10;case 97:case 96:return 8;case 95:return 2;default:return 0}}(e),ou),e}function fu(e,t,r){if(50<ru)throw ru=0,nu=null,Error(a(185));if(null===(e=hu(e,t)))return null;Ht(e,t,r),e===As&&(qs|=t,4===Is&&yu(e,js));var n=zi();1===t?0!==(8&Ps)&&0===(48&Ps)?mu(e):(du(e,r),0===Ps&&(Vs(),Wi())):(0===(4&Ps)||98!==n&&99!==n||(null===tu?tu=new Set([e]):tu.add(e)),du(e,r)),zs=e}function hu(e,t){e.lanes|=t;var r=e.alternate;for(null!==r&&(r.lanes|=t),r=e,e=e.return;null!==e;)e.childLanes|=t,null!==(r=e.alternate)&&(r.childLanes|=t),r=e,e=e.return;return 3===r.tag?r.stateNode:null}function du(e,t){for(var r=e.callbackNode,n=e.suspendedLanes,i=e.pingedLanes,o=e.expirationTimes,s=e.pendingLanes;0<s;){var u=31-Vt(s),c=1<<u,l=o[u];if(-1===l){if(0===(c&n)||0!==(c&i)){l=t,Dt(c);var f=Lt;o[u]=10<=f?l+250:6<=f?l+5e3:-1}}else l<=t&&(e.expiredLanes|=c);s&=~c}if(n=Bt(e,e===As?js:0),t=Lt,0===n)null!==r&&(r!==Ni&&xi(r),e.callbackNode=null,e.callbackPriority=0);else{if(null!==r){if(e.callbackPriority===t)return;r!==Ni&&xi(r)}15===t?(r=mu.bind(null,e),null===Li?(Li=[r],Di=Mi(Pi,Gi)):Li.push(r),r=Ni):14===t?r=Vi(99,mu.bind(null,e)):r=Vi(r=function(e){switch(e){case 15:case 14:return 99;case 13:case 12:case 11:case 10:return 98;case 9:case 8:case 7:case 6:case 4:case 5:return 97;case 3:case 2:case 1:return 95;case 0:return 90;default:throw Error(a(358,e))}}(t),pu.bind(null,e)),e.callbackPriority=t,e.callbackNode=r}}function pu(e){if(iu=-1,au=ou=0,0!==(48&Ps))throw Error(a(327));var t=e.callbackNode;if(ju()&&e.callbackNode!==t)return null;var r=Bt(e,e===As?js:0);if(0===r)return null;var n=r,i=Ps;Ps|=16;var o=Mu();for(As===e&&js===n||(Vs(),wu(e,n));;)try{ku();break}catch(u){Su(e,u)}if(Qi(),Os.current=o,Ps=i,null!==Rs?n=0:(As=null,js=0,n=Is),0!==(Ds&qs))wu(e,0);else if(0!==n){if(2===n&&(Ps|=64,e.hydrate&&(e.hydrate=!1,Vn(e.containerInfo)),0!==(r=qt(e))&&(n=xu(e,r))),1===n)throw t=Ls,wu(e,0),yu(e,r),du(e,Ui()),t;switch(e.finishedWork=e.current.alternate,e.finishedLanes=r,n){case 0:case 1:throw Error(a(345));case 2:Pu(e);break;case 3:if(yu(e,r),(62914560&r)===r&&10<(n=Fs+500-Ui())){if(0!==Bt(e,0))break;if(((i=e.suspendedLanes)&r)!==r){cu(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=Fn(Pu.bind(null,e),n);break}Pu(e);break;case 4:if(yu(e,r),(4186112&r)===r)break;for(n=e.eventTimes,i=-1;0<r;){var s=31-Vt(r);o=1<<s,(s=n[s])>i&&(i=s),r&=~o}if(r=i,10<(r=(120>(r=Ui()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*ks(r/1960))-r)){e.timeoutHandle=Fn(Pu.bind(null,e),r);break}Pu(e);break;case 5:Pu(e);break;default:throw Error(a(329))}}return du(e,Ui()),e.callbackNode===t?pu.bind(null,e):null}function yu(e,t){for(t&=~Us,t&=~qs,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var r=31-Vt(t),n=1<<r;e[r]=-1,t&=~n}}function mu(e){if(0!==(48&Ps))throw Error(a(327));if(ju(),e===As&&0!==(e.expiredLanes&js)){var t=js,r=xu(e,t);0!==(Ds&qs)&&(r=xu(e,t=Bt(e,t)))}else r=xu(e,t=Bt(e,0));if(0!==e.tag&&2===r&&(Ps|=64,e.hydrate&&(e.hydrate=!1,Vn(e.containerInfo)),0!==(t=qt(e))&&(r=xu(e,t))),1===r)throw r=Ls,wu(e,0),yu(e,t),du(e,Ui()),r;return e.finishedWork=e.current.alternate,e.finishedLanes=t,Pu(e),du(e,Ui()),null}function bu(e,t){var r=Ps;Ps|=1;try{return e(t)}finally{0===(Ps=r)&&(Vs(),Wi())}}function vu(e,t){var r=Ps;Ps&=-2,Ps|=8;try{return e(t)}finally{0===(Ps=r)&&(Vs(),Wi())}}function gu(e,t){ui(Ns,Cs),Cs|=t,Ds|=t}function _u(){Cs=Ns.current,si(Ns)}function wu(e,t){e.finishedWork=null,e.finishedLanes=0;var r=e.timeoutHandle;if(-1!==r&&(e.timeoutHandle=-1,Hn(r)),null!==Rs)for(r=Rs.return;null!==r;){var n=r;switch(n.tag){case 1:null!==(n=n.type.childContextTypes)&&void 0!==n&&yi();break;case 3:jo(),si(fi),si(li),Ko();break;case 5:No(n);break;case 4:jo();break;case 13:case 19:si(Io);break;case 10:eo(n);break;case 23:case 24:_u()}r=r.return}As=e,Rs=Hu(e.current,null),js=Cs=Ds=t,Is=0,Ls=null,Us=qs=Bs=0}function Su(e,t){for(;;){var r=Rs;try{if(Qi(),Yo.current=Pa,ea){for(var n=Zo.memoizedState;null!==n;){var i=n.queue;null!==i&&(i.pending=null),n=n.next}ea=!1}
vendor: 4,314 bytes, line 2
2if($o=0,Qo=Jo=Zo=null,ta=!1,Ts.current=null,null===r||null===r.return){Is=1,Ls=t,Rs=null;break}e:{var o=e,a=r.return,s=r,u=t;if(t=js,s.flags|=2048,s.firstEffect=s.lastEffect=null,null!==u&&"object"===typeof u&&"function"===typeof u.then){var c=u;if(0===(2&s.mode)){var l=s.alternate;l?(s.updateQueue=l.updateQueue,s.memoizedState=l.memoizedState,s.lanes=l.lanes):(s.updateQueue=null,s.memoizedState=null)}var f=0!==(1&Io.current),h=a;do{var d;if(d=13===h.tag){var p=h.memoizedState;if(null!==p)d=null!==p.dehydrated;else{var y=h.memoizedProps;d=void 0!==y.fallback&&(!0!==y.unstable_avoidThisFallback||!f)}}if(d){var m=h.updateQueue;if(null===m){var b=new Set;b.add(c),h.updateQueue=b}else m.add(c);if(0===(2&h.mode)){if(h.flags|=64,s.flags|=16384,s.flags&=-2981,1===s.tag)if(null===s.alternate)s.tag=17;else{var v=so(-1,1);v.tag=2,uo(s,v)}s.lanes|=1;break e}u=void 0,s=t;var g=o.pingCache;if(null===g?(g=o.pingCache=new us,u=new Set,g.set(c,u)):void 0===(u=g.get(c))&&(u=new Set,g.set(c,u)),!u.has(s)){u.add(s);var _=Bu.bind(null,o,c,s);c.then(_,_)}h.flags|=4096,h.lanes=t;break e}h=h.return}while(null!==h);u=Error((K(s.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.")}5!==Is&&(Is=2),u=as(u,s),h=a;do{switch(h.tag){case 3:o=u,h.flags|=4096,t&=-t,h.lanes|=t,co(h,cs(0,o,t));break e;case 1:o=u;var w=h.type,S=h.stateNode;if(0===(64&h.flags)&&("function"===typeof w.getDerivedStateFromError||null!==S&&"function"===typeof S.componentDidCatch&&(null===Xs||!Xs.has(S)))){h.flags|=4096,t&=-t,h.lanes|=t,co(h,ls(h,o,t));break e}}h=h.return}while(null!==h)}Tu(r)}catch(M){t=M,Rs===r&&null!==r&&(Rs=r=r.return);continue}break}}function Mu(){var e=Os.current;return Os.current=Pa,null===e?Pa:e}function xu(e,t){var r=Ps;Ps|=16;var n=Mu();for(As===e&&js===t||wu(e,t);;)try{Eu();break}catch(i){Su(e,i)}if(Qi(),Ps=r,Os.current=n,null!==Rs)throw Error(a(261));return As=null,js=0,Is}function Eu(){for(;null!==Rs;)Ou(Rs)}function ku(){for(;null!==Rs&&!Ei();)Ou(Rs)}function Ou(e){var t=Ws(e.alternate,e,Cs);e.memoizedProps=e.pendingProps,null===t?Tu(e):Rs=t,Ts.current=null}function Tu(e){var t=e;do{var r=t.alternate;if(e=t.return,0===(2048&t.flags)){if(null!==(r=is(r,t,Cs)))return void(Rs=r);if(24!==(r=t).tag&&23!==r.tag||null===r.memoizedState||0!==(1073741824&Cs)||0===(4&r.mode)){for(var n=0,i=r.child;null!==i;)n|=i.lanes|i.childLanes,i=i.sibling;r.childLanes=n}null!==e&&0===(2048&e.flags)&&(null===e.firstEffect&&(e.firstEffect=t.firstEffect),null!==t.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=t.firstEffect),e.lastEffect=t.lastEffect),1<t.flags&&(null!==e.lastEffect?e.lastEffect.nextEffect=t:e.firstEffect=t,e.lastEffect=t))}else{if(null!==(r=os(t)))return r.flags&=2047,void(Rs=r);null!==e&&(e.firstEffect=e.lastEffect=null,e.flags|=2048)}if(null!==(t=t.sibling))return void(Rs=t);Rs=t=e}while(null!==t);0===Is&&(Is=5)}function Pu(e){var t=zi();return Hi(99,Au.bind(null,e,t)),null}function Au(e,t){do{ju()}while(null!==Zs);if(0!==(48&Ps))throw Error(a(327));var r=e.finishedWork;if(null===r)return null;if(e.finishedWork=null,e.finishedLanes=0,r===e.current)throw Error(a(177));e.callbackNode=null;var n=r.lanes|r.childLanes,i=n,o=e.pendingLanes&~i;e.pendingLanes=i,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=i,e.mutableReadLanes&=i,e.entangledLanes&=i,i=e.entanglements;for(var s=e.eventTimes,u=e.expirationTimes;0<o;){var c=31-Vt(o),l=1<<c;i[c]=0,s[c]=-1,u[c]=-1,o&=~l}if(null!==tu&&0===(24&n)&&tu.has(e)&&tu.delete(e),e===As&&(Rs=As=null,js=0),1<r.flags?null!==r.lastEffect?(r.lastEffect.nextEffect=r,n=r.firstEffect):n=r:n=r.firstEffect,null!==n){if(i=Ps,Ps|=32,Ts.current=null,Bn=Xt,pn(s=dn())){if("selectionStart"in s)u={start:s.selectionStart,end:s.selectionEnd};else e:if(u=(u=s.ownerDocument)&&u.defaultView||window,(l=u.getSelection&&u.getSelection())&&0!==l.rangeCount){u=l.anchorNode,o=l.anchorOffset,c=l.focusNode,l=l.focusOffset;try{u.nodeType,c.nodeType}catch(k){u=null;break e}var f=0,h=-1,d=-1,p=0,y=0,m=s,b=null;t:for(;;){for(var v;m!==u||0!==o&&3!==m.nodeType||(h=f+o),m!==c||0!==l&&3!==m.nodeType||(d=f+l),3===m.nodeType&&(f+=m.nodeValue.length),null!==(v=m.firstChild);)b=m,m=v;for(;;){if(m===s)break t;
2if(b===u&&++p===o&&(h=f),b===c&&++y===l&&(d=f),null!==(v=m.nextSibling))break;b=(m=b).parentNode}m=v}u=-1===h||-1===d?null:{start:h,end:d}}else u=null;u=u||{start:0,end:0}}else u=null;qn={focusedElem:s,selectionRange:u},Xt=!1,su=null,uu=!1,Gs=n;do{try{Ru()}catch(k){if(null===Gs)throw Error(a(330));Du(Gs,k),Gs=Gs.nextEffect}}while(null!==Gs);su=null,Gs=n;do{try{for(s=e;null!==Gs;){var g=Gs.flags;if(16&g&&ve(Gs.stateNode,""),128&g){var _=Gs.alternate;if(null!==_){var w=_.ref;null!==w&&("function"===typeof w?w(null):w.current=null)}}switch(1038&g){case 2:gs(Gs),Gs.flags&=-3;break;case 6:gs(Gs),Gs.flags&=-3,Ms(Gs.alternate,Gs);break;case 1024:Gs.flags&=-1025;break;case 1028:Gs.flags&=-1025,Ms(Gs.alternate,Gs);break;case 4:Ms(Gs.alternate,Gs);break;case 8:Ss(s,u=Gs);var S=u.alternate;bs(u),null!==S&&bs(S)}Gs=Gs.nextEffect}}catch(k){if(null===Gs)throw Error(a(330));Du(Gs,k),Gs=Gs.nextEffect}}while(null!==Gs);if(w=qn,_=dn(),g=w.focusedElem,s=w.selectionRange,_!==g&&g&&g.ownerDocument&&hn(g.ownerDocument.documentElement,g)){null!==s&&pn(g)&&(_=s.start,void 0===(w=s.end)&&(w=_),"selectionStart"in g?(g.selectionStart=_,g.selectionEnd=Math.min(w,g.value.length)):(w=(_=g.ownerDocument||document)&&_.defaultView||window).getSelection&&(w=w.getSelection(),u=g.textContent.length,S=Math.min(s.start,u),s=void 0===s.end?S:Math.min(s.end,u),!w.extend&&S>s&&(u=s,s=S,S=u),u=fn(g,S),o=fn(g,s),u&&o&&(1!==w.rangeCount||w.anchorNode!==u.node||w.anchorOffset!==u.offset||w.focusNode!==o.node||w.focusOffset!==o.offset)&&((_=_.createRange()).setStart(u.node,u.offset),w.removeAllRanges(),S>s?(w.addRange(_),w.extend(o.node,o.offset)):(_.setEnd(o.node,o.offset),w.addRange(_))))),_=[];for(w=g;w=w.parentNode;)1===w.nodeType&&_.push({element:w,left:w.scrollLeft,top:w.scrollTop});for("function"===typeof g.focus&&g.focus(),g=0;g<_.length;g++)(w=_[g]).element.scrollLeft=w.left,w.element.scrollTop=w.top}Xt=!!Bn,qn=Bn=null,e.current=r,Gs=n;do{try{for(g=e;null!==Gs;){var M=Gs.flags;if(36&M&&ps(g,Gs.alternate,Gs),128&M){_=void 0;var x=Gs.ref;if(null!==x){var E=Gs.stateNode;switch(Gs.tag){case 5:_=E;break;default:_=E}"function"===typeof x?x(_):x.current=_}}Gs=Gs.nextEffect}}catch(k){if(null===Gs)throw Error(a(330));Du(Gs,k),Gs=Gs.nextEffect}}while(null!==Gs);Gs=null,Ii(),Ps=i}else e.current=r;if($s)$s=!1,Zs=e,Js=t;else for(Gs=n;null!==Gs;)t=Gs.nextEffect,Gs.nextEffect=null,8&Gs.flags&&((M=Gs).sibling=null,M.stateNode=null),Gs=t;if(0===(n=e.pendingLanes)&&(Xs=null),1===n?e===nu?ru++:(ru=0,nu=e):ru=0,r=r.stateNode,wi&&"function"===typeof wi.onCommitFiberRoot)try{wi.onCommitFiberRoot(_i,r,void 0,64===(64&r.current.flags))}catch(k){}if(du(e,Ui()),Ks)throw Ks=!1,e=Ys,Ys=null,e;return 0!==(8&Ps)||Wi(),null}function Ru(){for(;null!==Gs;){var e=Gs.alternate;uu||null===su||(0!==(8&Gs.flags)?et(Gs,su)&&(uu=!0):13===Gs.tag&&Es(e,Gs)&&et(Gs,su)&&(uu=!0));var t=Gs.flags;0!==(256&t)&&ds(e,Gs),0===(512&t)||$s||($s=!0,Vi(97,(function(){return ju(),null}))),Gs=Gs.nextEffect}}function ju(){if(90!==Js){var e=97<Js?97:Js;return Js=90,Hi(e,Iu)}return!1}function Cu(e,t){Qs.push(t,e),$s||($s=!0,Vi(97,(function(){return ju(),null})))}function Nu(e,t){eu.push(t,e),$s||($s=!0,Vi(97,(function(){return ju(),null})))}function Iu(){if(null===Zs)return!1;var e=Zs;if(Zs=null,0!==(48&Ps))throw Error(a(331));var t=Ps;Ps|=32;var r=eu;eu=[];for(var n=0;n<r.length;n+=2){var i=r[n],o=r[n+1],s=i.destroy;if(i.destroy=void 0,"function"===typeof s)try{s()}catch(c){if(null===o)throw Error(a(330));Du(o,c)}}for(r=Qs,Qs=[],n=0;n<r.length;n+=2){i=r[n],o=r[n+1];try{var u=i.create;i.destroy=u()}catch(c){if(null===o)throw Error(a(330));Du(o,c)}}for(u=e.current.firstEffect;null!==u;)e=u.nextEffect,u.nextEffect=null,8&u.flags&&(u.sibling=null,u.stateNode=null),u=e;return Ps=t,Wi(),!0}function Lu(e,t,r){uo(e,t=cs(0,t=as(r,t),1)),t=cu(),null!==(e=hu(e,1))&&(Ht(e,1,t),du(e,t))}function Du(e,t){if(3===e.tag)Lu(e,e,t);else for(var r=e.return;null!==r;){if(3===r.tag){Lu(r,e,t);break}if(1===r.tag){var n=r.stateNode;if("function"===typeof r.type.getDerivedStateFromError||"function"===typeof n.componentDidCatch&&(null===Xs||!Xs.has(n))){var i=ls(r,e=as(t,e),1);if(uo(r,i),i=cu(),null!==(r=hu(r,1)))Ht(r,1,i),du(r,i);else if("function"===typeof n.componentDidCatch&&(null===Xs||!Xs.has(n)))try{n.componentDidCatch(t,e)}catch(o){}break}}r=r.return}}function Bu(e,t,r){var n=e.pingCache;null!==n&&n.delete(t),t=cu(),e.pingedLanes|=e.suspendedLanes&r,As===e&&(js&r)===r&&(4===Is||3===Is&&(62914560&js)===js&&500>Ui()-Fs?wu(e,0):Us|=r),du(e,t)}function qu(e,t){var r=e.stateNode;null!==r&&r.delete(t),0===(t=0)&&(0===(2&(t=e.mode))?t=1:0===(4&t)?t=99===zi()?1:2:(0===ou&&(ou=Ds),0===(t=zt(62914560&~ou))&&(t=4194304))),r=cu(),null!==(e=hu(e,t))&&(Ht(e,t,r),du(e,r))}function Uu(e,t,r,n){this.tag=e,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.t
vendor: 8,298 bytes, line 2
2ype=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=n,this.flags=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childLanes=this.lanes=0,this.alternate=null}function zu(e,t,r,n){return new Uu(e,t,r,n)}function Fu(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Hu(e,t){var r=e.alternate;return null===r?((r=zu(e.tag,t,e.key,e.mode)).elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.type=e.type,r.flags=0,r.nextEffect=null,r.firstEffect=null,r.lastEffect=null),r.childLanes=e.childLanes,r.lanes=e.lanes,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,t=e.dependencies,r.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r}function Vu(e,t,r,n,i,o){var s=2;if(n=e,"function"===typeof e)Fu(e)&&(s=1);else if("string"===typeof e)s=5;else e:switch(e){case x:return Wu(r.children,i,o,t);case L:s=8,i|=16;break;case E:s=8,i|=1;break;case k:return(e=zu(12,r,t,8|i)).elementType=k,e.type=k,e.lanes=o,e;case A:return(e=zu(13,r,t,i)).type=A,e.elementType=A,e.lanes=o,e;case R:return(e=zu(19,r,t,i)).elementType=R,e.lanes=o,e;case D:return Gu(r,i,o,t);case B:return(e=zu(24,r,t,i)).elementType=B,e.lanes=o,e;default:if("object"===typeof e&&null!==e)switch(e.$$typeof){case O:s=10;break e;case T:s=9;break e;case P:s=11;break e;case j:s=14;break e;case C:s=16,n=null;break e;case N:s=22;break e}throw Error(a(130,null==e?e:typeof e,""))}return(t=zu(s,r,t,i)).elementType=e,t.type=n,t.lanes=o,t}function Wu(e,t,r,n){return(e=zu(7,e,n,t)).lanes=r,e}function Gu(e,t,r,n){return(e=zu(23,e,n,t)).elementType=D,e.lanes=r,e}function Ku(e,t,r){return(e=zu(6,e,null,t)).lanes=r,e}function Yu(e,t,r){return(t=zu(4,null!==e.children?e.children:[],e.key,t)).lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Xu(e,t,r){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=r,this.callbackNode=null,this.callbackPriority=0,this.eventTimes=Ft(0),this.expirationTimes=Ft(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ft(0),this.mutableSourceEagerHydrationData=null}function $u(e,t,r){var n=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:M,key:null==n?null:""+n,children:e,containerInfo:t,implementation:r}}function Zu(e,t,r,n){var i=t.current,o=cu(),s=lu(i);e:if(r){t:{if($e(r=r._reactInternals)!==r||1!==r.tag)throw Error(a(170));var u=r;do{switch(u.tag){case 3:u=u.stateNode.context;break t;case 1:if(pi(u.type)){u=u.stateNode.__reactInternalMemoizedMergedChildContext;break t}}u=u.return}while(null!==u);throw Error(a(171))}if(1===r.tag){var c=r.type;if(pi(c)){r=bi(r,c,u);break e}}r=u}else r=ci;return null===t.context?t.context=r:t.pendingContext=r,(t=so(o,s)).payload={element:e},null!==(n=void 0===n?null:n)&&(t.callback=n),uo(i,t),fu(i,s,o),s}function Ju(e){if(!(e=e.current).child)return null;switch(e.child.tag){case 5:default:return e.child.stateNode}}function Qu(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var r=e.retryLane;e.retryLane=0!==r&&r<t?r:t}}function ec(e,t){Qu(e,t),(e=e.alternate)&&Qu(e,t)}function tc(e,t,r){var n=null!=r&&null!=r.hydrationOptions&&r.hydrationOptions.mutableSources||null;if(r=new Xu(e,t,null!=r&&!0===r.hydrate),t=zu(3,null,null,2===t?7:1===t?3:0),r.current=t,t.stateNode=r,oo(t),e[Zn]=r.current,Pn(8===e.nodeType?e.parentNode:e),n)for(e=0;e<n.length;e++){var i=(t=n[e])._getVersion;i=i(t._source),null==r.mutableSourceEagerHydrationData?r.mutableSourceEagerHydrationData=[t,i]:r.mutableSourceEagerHydrationData.push(t,i)}this._internalRoot=r}function rc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function nc(e,t,r,n,i){var o=r._reactRootContainer;if(o){var a=o._internalRoot;if("function"===typeof i){var s=i;i=function(){var e=Ju(a);s.call(e)}}Zu(t,a,e,i)}else{if(o=r._reactRootContainer=function(e,t){if(t||(t=!(!(t=e?9===e.nodeType?e.documentElement:e.firstChild:null)||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var r;r=e.lastChild;)e.removeChild(r);return new tc(e,0,t?{hydrate:!0}:void 0)}(r,n),a=o._internalRoot,"function"===typeof i){var u=i;i=function(){var e=Ju(a);u.call(e)}}vu((function(){Zu(t,a,e,i)}))}return Ju(a)}function ic(e,t){var r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!rc(t))throw Error(a(200));return $u(e,t,null,r)}Ws=function(e,t,r){var n=t.lanes;if(null!==e)if(e.memoizedProps!==t.pendingProps||fi.current)Na=!0;else{if(0===(r&n)){switch(Na=!1,t.tag){case 3:Va(t),Wo();break;case 5:Co(t);break;case 1:pi(t.type)&&vi(t);break;case 4:Ro(t,t.stateNode.containerInfo);break;case 10:n=t.memoizedProps.value;var i=t.type._context;ui(Xi,i._currentValue),i._currentValue=n;break;case 13:if(null!==t.memoizedState)return 0!==(r&t.child.childLanes)?Xa(e,t,r):(ui(Io,1&Io.current),null!==(t=rs(e,t,r))?t.sibling:null);ui(Io,1&Io.current);break;case 19:if(n=0!==(r&t.childLanes),0!==(64&e.flags)){if(n)return ts(e,t,r);t.flags|=64}if(null!==(i=t.memoizedState)&&(i.rendering=null,i.tail=null,i.lastEffect=null),ui(Io,Io.current),n)break;return null;case 23:case 24:return t.lanes=0,qa(e,t,r)}return rs(e,t,r)}Na=0!==(16384&e.flags)}else Na=!1;switch(t.lanes=0,t.tag){case 2:if(n=t.type,null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,i=di(t,li.current),ro(t,r),i=ia(null,t,n,e,i,r),t.flags|=1,"object"===typeof i&&null!==i&&"function"===typeof i.render&&void 0===i.$$typeof){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,pi(n)){var o=!0;vi(t)}else o=!1;t.memoizedState=null!==i.state&&void 0!==i.state?i.state:null,oo(t);var s=n.getDerivedStateFromProps;"function"===typeof s&&po(t,n,s,e),i.updater=yo,t.stateNode=i,i._reactInternals=t,go(t,n,e,r),t=Ha(null,t,n,!0,o,r)}else t.tag=0,Ia(null,t,i,r),t=t.child;return t;case 16:i=t.elementType;e:{switch(null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,i=(o=i._init)(i._payload),t.type=i,o=t.tag=function(e){if("function"===typeof e)return Fu(e)?1:0;if(void 0!==e&&null!==e){if((e=e.$$typeof)===P)return 11;if(e===j)return 14}return 2}(i),e=Yi(i,e),o){case 0:t=za(null,t,i,e,r);break e;case 1:t=Fa(null,t,i,e,r);break e;case 11:t=La(null,t,i,e,r);break e;case 14:t=Da(null,t,i,Yi(i.type,e),n,r);break e}throw Error(a(306,i,""))}return t;case 0:return n=t.type,i=t.pendingProps,za(e,t,n,i=t.elementType===n?i:Yi(n,i),r);case 1:return n=t.type,i=t.pendingProps,Fa(e,t,n,i=t.elementType===n?i:Yi(n,i),r);case 3:if(Va(t),n=t.updateQueue,null===e||null===n)throw Error(a(282));if(n=t.pendingProps,i=null!==(i=t.memoizedState)?i.element:null,ao(e,t),lo(t,n,null,r),(n=t.memoizedState.element)===i)Wo(),t=rs(e,t,r);else{if((o=(i=t.stateNode).hydrate)&&(Bo=Wn(t.stateNode.containerInfo.firstChild),Do=t,o=qo=!0),o){if(null!=(e=i.mutableSourceEagerHydrationData))for(i=0;i<e.length;i+=2)(o=e[i])._workInProgressVersionPrimary=e[i+1],Go.push(o);for(r=Eo(t,null,n,r),t.child=r;r;)r.flags=-3&r.flags|1024,r=r.sibling}else Ia(e,t,n,r),Wo();t=t.child}return t;case 5:return Co(t),null===e&&Fo(t),n=t.type,i=t.pendingProps,o=null!==e?e.memoizedProps:null,s=i.children,zn(n,i)?s=null:null!==o&&zn(n,o)&&(t.flags|=16),Ua(e,t),Ia(e,t,s,r),t.child;case 6:return null===e&&Fo(t),null;case 13:return Xa(e,t,r);case 4:return Ro(t,t.stateNode.containerInfo),n=t.pendingProps,null===e?t.child=xo(t,null,n,r):Ia(e,t,n,r),t.child;case 11:return n=t.type,i=t.pendingProps,La(e,t,n,i=t.elementType===n?i:Yi(n,i),r);case 7:return Ia(e,t,t.pendingProps,r),t.child;case 8:case 12:return Ia(e,t,t.pendingProps.children,r),t.child;case 10:e:{n=t.type._context,i=t.pendingProps,s=t.memoizedProps,o=i.value;var u=t.type._context;if(ui(Xi,u._currentValue),u._currentValue=o,null!==s)if(u=s.value,0===(o=sn(u,o)?0:0|("function"===typeof n._calculateChangedBits?n._calculateChangedBits(u,o):1073741823))){if
vendor: 6,374 bytes, line 2
2(s.children===i.children&&!fi.current){t=rs(e,t,r);break e}}else for(null!==(u=t.child)&&(u.return=t);null!==u;){var c=u.dependencies;if(null!==c){s=u.child;for(var l=c.firstContext;null!==l;){if(l.context===n&&0!==(l.observedBits&o)){1===u.tag&&((l=so(-1,r&-r)).tag=2,uo(u,l)),u.lanes|=r,null!==(l=u.alternate)&&(l.lanes|=r),to(u.return,r),c.lanes|=r;break}l=l.next}}else s=10===u.tag&&u.type===t.type?null:u.child;if(null!==s)s.return=u;else for(s=u;null!==s;){if(s===t){s=null;break}if(null!==(u=s.sibling)){u.return=s.return,s=u;break}s=s.return}u=s}Ia(e,t,i.children,r),t=t.child}return t;case 9:return i=t.type,n=(o=t.pendingProps).children,ro(t,r),n=n(i=no(i,o.unstable_observedBits)),t.flags|=1,Ia(e,t,n,r),t.child;case 14:return o=Yi(i=t.type,t.pendingProps),Da(e,t,i,o=Yi(i.type,o),n,r);case 15:return Ba(e,t,t.type,t.pendingProps,n,r);case 17:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:Yi(n,i),null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),t.tag=1,pi(n)?(e=!0,vi(t)):e=!1,ro(t,r),bo(t,n,i),go(t,n,i,r),Ha(null,t,n,!0,e,r);case 19:return ts(e,t,r);case 23:case 24:return qa(e,t,r)}throw Error(a(156,t.tag))},tc.prototype.render=function(e){Zu(e,this._internalRoot,null,null)},tc.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;Zu(null,e,null,(function(){t[Zn]=null}))},tt=function(e){13===e.tag&&(fu(e,4,cu()),ec(e,4))},rt=function(e){13===e.tag&&(fu(e,67108864,cu()),ec(e,67108864))},nt=function(e){if(13===e.tag){var t=cu(),r=lu(e);fu(e,r,t),ec(e,r)}},it=function(e,t){return t()},Oe=function(e,t,r){switch(t){case"input":if(re(e,r),t=r.name,"radio"===r.type&&null!=t){for(r=e;r.parentNode;)r=r.parentNode;for(r=r.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<r.length;t++){var n=r[t];if(n!==e&&n.form===e.form){var i=ri(n);if(!i)throw Error(a(90));Z(n),re(n,i)}}}break;case"textarea":ce(e,r);break;case"select":null!=(t=r.value)&&ae(e,!!r.multiple,t,!1)}},Ce=bu,Ne=function(e,t,r,n,i){var o=Ps;Ps|=4;try{return Hi(98,e.bind(null,t,r,n,i))}finally{0===(Ps=o)&&(Vs(),Wi())}},Ie=function(){0===(49&Ps)&&(function(){if(null!==tu){var e=tu;tu=null,e.forEach((function(e){e.expiredLanes|=24&e.pendingLanes,du(e,Ui())}))}Wi()}(),ju())},Le=function(e,t){var r=Ps;Ps|=2;try{return e(t)}finally{0===(Ps=r)&&(Vs(),Wi())}};var oc={Events:[ei,ti,ri,Re,je,ju,{current:!1}]},ac={findFiberByHostInstance:Qn,bundleType:0,version:"17.0.2",rendererPackageName:"react-dom"},sc={bundleType:ac.bundleType,version:ac.version,rendererPackageName:ac.rendererPackageName,rendererConfig:ac.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:w.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=Qe(e))?null:e.stateNode},findFiberByHostInstance:ac.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null};if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var uc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!uc.isDisabled&&uc.supportsFiber)try{_i=uc.inject(sc),wi=uc}catch(me){}}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=oc,t.createPortal=ic,t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"===typeof e.render)throw Error(a(188));throw Error(a(268,Object.keys(e)))}return e=null===(e=Qe(t))?null:e.stateNode},t.flushSync=function(e,t){var r=Ps;if(0!==(48&r))return e(t);Ps|=1;try{if(e)return Hi(99,e.bind(null,t))}finally{Ps=r,Wi()}},t.hydrate=function(e,t,r){if(!rc(t))throw Error(a(200));return nc(null,e,t,!0,r)},t.render=function(e,t,r){if(!rc(t))throw Error(a(200));return nc(null,e,t,!1,r)},t.unmountComponentAtNode=function(e){if(!rc(e))throw Error(a(40));return!!e._reactRootContainer&&(vu((function(){nc(null,null,e,!1,(function(){e._reactRootContainer=null,e[Zn]=null}))})),!0)},t.unstable_batchedUpdates=bu,t.unstable_createPortal=function(e,t){return ic(e,t,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)},t.unstable_renderSubtreeIntoContainer=function(e,t,r,n){if(!rc(r))throw Error(a(200));if(null==e||void 0===e._reactInternals)throw Error(a(38));return nc(e,t,r,!1,n)},t.version="17.0.2"},function(e,t,r){"use strict";e.exports=r(205)},function(e,t,r){"use strict";var n,i,o,a;if("object"===typeof performance&&"function"===typeof performance.now){var s=performance;t.unstable_now=function(){return s.now()}}else{var u=Date,c=u.now();t.unstable_now=function(){return u.now()-c}}if("undefined"===typeof window||"function"!==typeof MessageChannel){var l=null,f=null,h=function e(){if(null!==l)try{var r=t.unstable_now();l(!0,r),l=null}catch(n){throw setTimeout(e,0),n}};n=function(e){null!==l?setTimeout(n,0,e):(l=e,setTimeout(h,0))},i=function(e,t){f=setTimeout(e,t)},o=function(){clearTimeout(f)},t.unstable_shouldYield=function(){return!1},a=t.unstable_forceFrameRate=function(){}}else{var d=window.setTimeout,p=window.clearTimeout;if("undefined"!==typeof console){var y=window.cancelAnimationFrame;"function"!==typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),"function"!==typeof y&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")}var m=!1,b=null,v=-1,g=5,_=0;t.unstable_shouldYield=function(){return t.unstable_now()>=_},a=function(){},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):g=0<e?Math.floor(1e3/e):5};var w=new MessageChannel,S=w.port2;w.port1.onmessage=function(){if(null!==b){var e=t.unstable_now();_=e+g;try{b(!0,e)?S.postMessage(null):(m=!1,b=null)}catch(r){throw S.postMessage(null),r}}else m=!1},n=function(e){b=e,m||(m=!0,S.postMessage(null))},i=function(e,r){v=d((function(){e(t.unstable_now())}),r)},o=function(){p(v),v=-1}}function M(e,t){var r=e.length;e.push(t);e:for(;;){var n=r-1>>>1,i=e[n];if(!(void 0!==i&&0<k(i,t)))break e;e[n]=t,e[r]=i,r=n}
vendor: 4,631 bytes, line 2
2}function x(e){return void 0===(e=e[0])?null:e}function E(e){var t=e[0];if(void 0!==t){var r=e.pop();if(r!==t){e[0]=r;e:for(var n=0,i=e.length;n<i;){var o=2*(n+1)-1,a=e[o],s=o+1,u=e[s];if(void 0!==a&&0>k(a,r))void 0!==u&&0>k(u,a)?(e[n]=u,e[s]=r,n=s):(e[n]=a,e[o]=r,n=o);else{if(!(void 0!==u&&0>k(u,r)))break e;e[n]=u,e[s]=r,n=s}}}return t}return null}function k(e,t){var r=e.sortIndex-t.sortIndex;return 0!==r?r:e.id-t.id}var O=[],T=[],P=1,A=null,R=3,j=!1,C=!1,N=!1;function I(e){for(var t=x(T);null!==t;){if(null===t.callback)E(T);else{if(!(t.startTime<=e))break;E(T),t.sortIndex=t.expirationTime,M(O,t)}t=x(T)}}function L(e){if(N=!1,I(e),!C)if(null!==x(O))C=!0,n(D);else{var t=x(T);null!==t&&i(L,t.startTime-e)}}function D(e,r){C=!1,N&&(N=!1,o()),j=!0;var n=R;try{for(I(r),A=x(O);null!==A&&(!(A.expirationTime>r)||e&&!t.unstable_shouldYield());){var a=A.callback;if("function"===typeof a){A.callback=null,R=A.priorityLevel;var s=a(A.expirationTime<=r);r=t.unstable_now(),"function"===typeof s?A.callback=s:A===x(O)&&E(O),I(r)}else E(O);A=x(O)}if(null!==A)var u=!0;else{var c=x(T);null!==c&&i(L,c.startTime-r),u=!1}return u}finally{A=null,R=n,j=!1}}var B=a;t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){C||j||(C=!0,n(D))},t.unstable_getCurrentPriorityLevel=function(){return R},t.unstable_getFirstCallbackNode=function(){return x(O)},t.unstable_next=function(e){switch(R){case 1:case 2:case 3:var t=3;break;default:t=R}var r=R;R=t;try{return e()}finally{R=r}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=B,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var r=R;R=e;try{return t()}finally{R=r}},t.unstable_scheduleCallback=function(e,r,a){var s=t.unstable_now();switch("object"===typeof a&&null!==a?a="number"===typeof(a=a.delay)&&0<a?s+a:s:a=s,e){case 1:var u=-1;break;case 2:u=250;break;case 5:u=1073741823;break;case 4:u=1e4;break;default:u=5e3}return e={id:P++,callback:r,priorityLevel:e,startTime:a,expirationTime:u=a+u,sortIndex:-1},a>s?(e.sortIndex=a,M(T,e),null===x(O)&&e===x(T)&&(N?o():N=!0,i(L,a-s))):(e.sortIndex=u,M(O,e),C||j||(C=!0,n(D))),e},t.unstable_wrapCallback=function(e){var t=R;return function(){var r=R;R=t;try{return e.apply(this,arguments)}finally{R=r}}}},,function(e,t,r){var n=function(e){"use strict";var t,r=Object.prototype,n=r.hasOwnProperty,i="function"===typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function u(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(R){u=function(e,t,r){return e[t]=r}}function c(e,t,r,n){var i=t&&t.prototype instanceof m?t:m,o=Object.create(i.prototype),a=new T(n||[]);return o._invoke=function(e,t,r){var n=f;return function(i,o){if(n===d)throw new Error("Generator is already running");if(n===p){if("throw"===i)throw o;return A()}for(r.method=i,r.arg=o;;){var a=r.delegate;if(a){var s=E(a,r);if(s){if(s===y)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===f)throw n=p,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=d;var u=l(e,t,r);if("normal"===u.type){if(n=r.done?p:h,u.arg===y)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n=p,r.method="throw",r.arg=u.arg)}}}(e,r,a),o}function l(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(R){return{type:"throw",arg:R}}}e.wrap=c;var f="suspendedStart",h="suspendedYield",d="executing",p="completed",y={};function m(){}function b(){}function v(){}var g={};g[o]=function(){return this};var _=Object.getPrototypeOf,w=_&&_(_(P([])));w&&w!==r&&n.call(w,o)&&(g=w);var S=v.prototype=m.prototype=Object.create(g);function M(e){["next","throw","return"].forEach((function(t){u(e,t,(function(e){return this._invoke(t,e)}))}))}function x(e,t){function r(i,o,a,s){var u=l(e[i],e,o);if("throw"!==u.type){var c=u.arg,f=c.value;return f&&"object"===typeof f&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,a,s)}),(function(e){r("throw",e,a,s)})):t.resolve(f).then((function(e){c.value=e,a(c)}),(function(e){return r("throw",e,a,s)}))}s(u.arg)}var i;this._invoke=function(e,n){function o(){return new t((function(t,i){r(e,n,t,i)}))}return i=i?i.then(o,o):o()}}function E(e,r){var n=e.iterator[r.method];if(n===t){if(r.delegate=null,"throw"===r.method){if(e.iterator.return&&
vendor: 5,451 bytes, line 2
2(r.method="return",r.arg=t,E(e,r),"throw"===r.method))return y;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return y}var i=l(n,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,y;var o=i.arg;return o?o.done?(r[e.resultName]=o.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):o:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function O(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function T(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function P(e){if(e){var r=e[o];if(r)return r.call(e);if("function"===typeof e.next)return e;if(!isNaN(e.length)){var i=-1,a=function r(){for(;++i<e.length;)if(n.call(e,i))return r.value=e[i],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}return{next:A}}function A(){return{value:t,done:!0}}return b.prototype=S.constructor=v,v.constructor=b,b.displayName=u(v,s,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"===typeof e&&e.constructor;return!!t&&(t===b||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,u(e,s,"GeneratorFunction")),e.prototype=Object.create(S),e},e.awrap=function(e){return{__await:e}},M(x.prototype),x.prototype[a]=function(){return this},e.AsyncIterator=x,e.async=function(t,r,n,i,o){void 0===o&&(o=Promise);var a=new x(c(t,r,n,i),o);return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},M(S),u(S,s,"Generator"),S[o]=function(){return this},S.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=P,T.prototype={constructor:T,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(O),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function i(n,i){return s.type="throw",s.arg=e,r.next=n,i&&(r.method="next",r.arg=t),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(u&&c){if(this.prev<a.catchLoc)return i(a.catchLoc,!0);if(this.prev<a.finallyLoc)return i(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return i(a.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return i(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,y):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),y},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),O(r),y}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var i=n.arg;O(r)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:P(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}(e.exports);try{regeneratorRuntime=n}catch(i){Function("r","regeneratorRuntime = r")(n)}},,function(e,t,r){"use strict";var n=r(14),i=r(103),o=r(210),a=r(109);function s(e){var t=new o(e),r=i(o.prototype.request,t);return n.extend(r,o.prototype,t),n.extend(r,t),r}var u=s(r(106));u.Axios=o,u.create=function(e){return s(a(u.defaults,e))},u.Cancel=r(110),u.CancelToken=r(223),u.isCancel=r(105),u.all=function(e){return Promise.all(e)},u.spread=r(224),u.isAxiosError=r(225),e.exports=u,e.exports.default=u},function(e,t,r){"use strict";var n=r(14),i=r(104),o=r(211),a=r(212),s=r(109);function u(e){this.defaults=e,this.interceptors={request:new o,response:new o}}u.prototype.request=function(e){"string"===typeof e?(e=arguments[1]||{}).url=arguments[0]:e=e||{},(e=s(this.defaults,e)).method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var t=[a,void 0],r=Promise.resolve(e);for(this.interceptors.request.forEach((function(e){t.unshift(e.fulfilled,e.rejected)})),this.interceptors.response.forEach((function(e){t.push(e.fulfilled,e.rejected)}));t.length;)r=r.then(t.shift(),t.shift());return r},u.prototype.getUri=function(e){return e=s(this.defaults,e),i(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")}
vendor: 5,327 bytes, line 2
2,n.forEach(["delete","get","head","options"],(function(e){u.prototype[e]=function(t,r){return this.request(s(r||{},{method:e,url:t,data:(r||{}).data}))}})),n.forEach(["post","put","patch"],(function(e){u.prototype[e]=function(t,r,n){return this.request(s(n||{},{method:e,url:t,data:r}))}})),e.exports=u},function(e,t,r){"use strict";var n=r(14);function i(){this.handlers=[]}i.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},i.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},i.prototype.forEach=function(e){n.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=i},function(e,t,r){"use strict";var n=r(14),i=r(213),o=r(105),a=r(106);function s(e){e.cancelToken&&e.cancelToken.throwIfRequested()}e.exports=function(e){return s(e),e.headers=e.headers||{},e.data=i(e.data,e.headers,e.transformRequest),e.headers=n.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),n.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||a.adapter)(e).then((function(t){return s(e),t.data=i(t.data,t.headers,e.transformResponse),t}),(function(t){return o(t)||(s(e),t&&t.response&&(t.response.data=i(t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},function(e,t,r){"use strict";var n=r(14);e.exports=function(e,t,r){return n.forEach(r,(function(r){e=r(e,t)})),e}},function(e,t,r){"use strict";var n=r(14);e.exports=function(e,t){n.forEach(e,(function(r,n){n!==t&&n.toUpperCase()===t.toUpperCase()&&(e[t]=r,delete e[n])}))}},function(e,t,r){"use strict";var n=r(108);e.exports=function(e,t,r){var i=r.config.validateStatus;r.status&&i&&!i(r.status)?t(n("Request failed with status code "+r.status,r.config,null,r.request,r)):e(r)}},function(e,t,r){"use strict";e.exports=function(e,t,r,n,i){return e.config=t,r&&(e.code=r),e.request=n,e.response=i,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},e}},function(e,t,r){"use strict";var n=r(14);e.exports=n.isStandardBrowserEnv()?{write:function(e,t,r,i,o,a){var s=[];s.push(e+"="+encodeURIComponent(t)),n.isNumber(r)&&s.push("expires="+new Date(r).toGMTString()),n.isString(i)&&s.push("path="+i),n.isString(o)&&s.push("domain="+o),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},function(e,t,r){"use strict";var n=r(219),i=r(220);e.exports=function(e,t){return e&&!n(t)?i(e,t):t}},function(e,t,r){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},function(e,t,r){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},function(e,t,r){"use strict";var n=r(14),i=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,r,o,a={};return e?(n.forEach(e.split("\n"),(function(e){if(o=e.indexOf(":"),t=n.trim(e.substr(0,o)).toLowerCase(),r=n.trim(e.substr(o+1)),t){if(a[t]&&i.indexOf(t)>=0)return;a[t]="set-cookie"===t?(a[t]?a[t]:[]).concat([r]):a[t]?a[t]+", "+r:r}})),a):a}},function(e,t,r){"use strict";var n=r(14);e.exports=n.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function i(e){var n=e;return t&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return e=i(window.location.href),function(t){var r=n.isString(t)?i(t):t;return r.protocol===e.protocol&&r.host===e.host}}():function(){return!0}},function(e,t,r){"use strict";var n=r(110);function i(e){if("function"!==typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var r=this;e((function(e){r.reason||(r.reason=new n(e),t(r.reason))}))}i.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},i.source=function(){var e;return{token:new i((function(t){e=t})),cancel:e}},e.exports=i},function(e,t,r){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},function(e,t,r){"use strict";e.exports=function(e){return"object"===typeof e&&!0===e.isAxiosError}},function(e,t,r){"use strict";var n=r(227);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,r,i,o,a){if(a!==n){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;
2var r={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:i};return r.PropTypes=r,r}},function(e,t,r){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,r){"use strict";t.__esModule=!0;var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();function o(e){return e&&e.__esModule?e:{default:e}}var a=o(r(65)),s=o(r(52)),u=o(r(66)),c=o(r(67)),l=o(r(68)),f=o(r(69)),h=o(r(1)),d=o(r(0)),p=1e3/60,y=function(e){function t(r){var i=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),e.call(this,r),this.wasAnimating=!1,this.animationID=null,this.prevTime=0,this.accumulatedTime=0,this.unreadPropStyle=null,this.clearUnreadPropStyle=function(e){var t=!1,r=i.state,o=r.currentStyle,a=r.currentVelocity,s=r.lastIdealStyle,u=r.lastIdealVelocity;for(var c in e)if(Object.prototype.hasOwnProperty.call(e,c)){var l=e[c];"number"===typeof l&&(t||(t=!0,o=n({},o),a=n({},a),s=n({},s),u=n({},u)),o[c]=l,a[c]=0,s[c]=l,u[c]=0)}t&&i.setState({currentStyle:o,currentVelocity:a,lastIdealStyle:s,lastIdealVelocity:u})},this.startAnimationIfNecessary=function(){i.animationID=l.default((function(e){var t=i.props.style;if(f.default(i.state.currentStyle,t,i.state.currentVelocity))return i.wasAnimating&&i.props.onRest&&i.props.onRest(),i.animationID=null,i.wasAnimating=!1,void(i.accumulatedTime=0);i.wasAnimating=!0;var r=e||c.default(),n=r-i.prevTime;if(i.prevTime=r,i.accumulatedTime=i.accumulatedTime+n,i.accumulatedTime>10*p&&(i.accumulatedTime=0),0===i.accumulatedTime)return i.animationID=null,void i.startAnimationIfNecessary();var o=(i.accumulatedTime-Math.floor(i.accumulatedTime/p)*p)/p,a=Math.floor(i.accumulatedTime/p),s={},l={},h={},d={};for(var y in t)if(Object.prototype.hasOwnProperty.call(t,y)){var m=t[y];if("number"===typeof m)h[y]=m,d[y]=0,s[y]=m,l[y]=0;else{for(var b=i.state.lastIdealStyle[y],v=i.state.lastIdealVelocity[y],g=0;g<a;g++){var _=u.default(p/1e3,b,v,m.val,m.stiffness,m.damping,m.precision);b=_[0],v=_[1]}var w=u.default(p/1e3,b,v,m.val,m.stiffness,m.damping,m.precision),S=w[0],M=w[1];h[y]=b+(S-b)*o,d[y]=v+(M-v)*o,s[y]=b,l[y]=v}}i.animationID=null,i.accumulatedTime-=a*p,i.setState({currentStyle:h,currentVelocity:d,lastIdealStyle:s,lastIdealVelocity:l}),i.unreadPropStyle=null,i.startAnimationIfNecessary()}))},this.state=this.defaultState()}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,null,[{key:"propTypes",value:{defaultStyle:d.default.objectOf(d.default.number),style:d.default.objectOf(d.default.oneOfType([d.default.number,d.default.object])).isRequired,children:d.default.func.isRequired,onRest:d.default.func},enumerable:!0}]),t.prototype.defaultState=function(){var e=this.props,t=e.defaultStyle,r=e.style,n=t||s.default(r),i=a.default(n);return{currentStyle:n,currentVelocity:i,lastIdealStyle:n,lastIdealVelocity:i}},t.prototype.componentDidMount=function(){this.prevTime=c.default(),this.startAnimationIfNecessary()},t.prototype.componentWillReceiveProps=function(e){null!=this.unreadPropStyle&&this.clearUnreadPropStyle(this.unreadPropStyle),this.unreadPropStyle=e.style,null==this.animationID&&(this.prevTime=c.default(),this.startAnimationIfNecessary())},t.prototype.componentWillUnmount=function(){null!=this.animationID&&(l.default.cancel(this.animationID),this.animationID=null)},t.prototype.render=function(){var e=this.props.children(this.state.currentStyle);return e&&h.default.Children.only(e)},t}(h.default.Component);t.default=y,e.exports=t.default},function(e,t,r){(function(t){(function(){var r,n,i,o,a,s;"undefined"!==typeof performance&&null!==performance&&performance.now?e.exports=function(){return performance.now()}:"undefined"!==typeof t&&null!==t&&t.hrtime?(e.exports=function(){return(r()-a)/1e6},n=t.hrtime,o=(r=function(){var e;return 1e9*(e=n())[0]+e[1]}
2)(),s=1e9*t.uptime(),a=o-s):Date.now?(e.exports=function(){return Date.now()-i},i=Date.now()):(e.exports=function(){return(new Date).getTime()-i},i=(new Date).getTime())}).call(this)}).call(this,r(8))},function(e,t,r){"use strict";t.__esModule=!0;var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();function o(e){return e&&e.__esModule?e:{default:e}}var a=o(r(65)),s=o(r(52)),u=o(r(66)),c=o(r(67)),l=o(r(68)),f=o(r(69)),h=o(r(1)),d=o(r(0)),p=1e3/60;var y=function(e){function t(r){var i=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),e.call(this,r),this.animationID=null,this.prevTime=0,this.accumulatedTime=0,this.unreadPropStyles=null,this.clearUnreadPropStyle=function(e){for(var t=i.state,r=t.currentStyles,o=t.currentVelocities,a=t.lastIdealStyles,s=t.lastIdealVelocities,u=!1,c=0;c<e.length;c++){var l=e[c],f=!1;for(var h in l)if(Object.prototype.hasOwnProperty.call(l,h)){var d=l[h];"number"===typeof d&&(f||(f=!0,u=!0,r[c]=n({},r[c]),o[c]=n({},o[c]),a[c]=n({},a[c]),s[c]=n({},s[c])),r[c][h]=d,o[c][h]=0,a[c][h]=d,s[c][h]=0)}}u&&i.setState({currentStyles:r,currentVelocities:o,lastIdealStyles:a,lastIdealVelocities:s})},this.startAnimationIfNecessary=function(){i.animationID=l.default((function(e){var t=i.props.styles(i.state.lastIdealStyles);if(function(e,t,r){for(var n=0;n<e.length;n++)if(!f.default(e[n],t[n],r[n]))return!1;return!0}(i.state.currentStyles,t,i.state.currentVelocities))return i.animationID=null,void(i.accumulatedTime=0);var r=e||c.default(),n=r-i.prevTime;if(i.prevTime=r,i.accumulatedTime=i.accumulatedTime+n,i.accumulatedTime>10*p&&(i.accumulatedTime=0),0===i.accumulatedTime)return i.animationID=null,void i.startAnimationIfNecessary();for(var o=(i.accumulatedTime-Math.floor(i.accumulatedTime/p)*p)/p,a=Math.floor(i.accumulatedTime/p),s=[],l=[],h=[],d=[],y=0;y<t.length;y++){var m=t[y],b={},v={},g={},_={};for(var w in m)if(Object.prototype.hasOwnProperty.call(m,w)){var S=m[w];if("number"===typeof S)b[w]=S,v[w]=0,g[w]=S,_[w]=0;else{for(var M=i.state.lastIdealStyles[y][w],x=i.state.lastIdealVelocities[y][w],E=0;E<a;E++){var k=u.default(p/1e3,M,x,S.val,S.stiffness,S.damping,S.precision);M=k[0],x=k[1]}var O=u.default(p/1e3,M,x,S.val,S.stiffness,S.damping,S.precision),T=O[0],P=O[1];b[w]=M+(T-M)*o,v[w]=x+(P-x)*o,g[w]=M,_[w]=x}}h[y]=b,d[y]=v,s[y]=g,l[y]=_}i.animationID=null,i.accumulatedTime-=a*p,i.setState({currentStyles:h,currentVelocities:d,lastIdealStyles:s,lastIdealVelocities:l}),i.unreadPropStyles=null,i.startAnimationIfNecessary()}))},this.state=this.defaultState()}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,null,[{key:"propTypes",value:{defaultStyles:d.default.arrayOf(d.default.objectOf(d.default.number)),styles:d.default.func.isRequired,children:d.default.func.isRequired},enumerable:!0}]),t.prototype.defaultState=function(){var e=this.props,t=e.defaultStyles,r=e.styles,n=t||r().map(s.default),i=n.map((function(e){return a.default(e)}));return{currentStyles:n,currentVelocities:i,lastIdealStyles:n,lastIdealVelocities:i}},t.prototype.componentDidMount=function(){this.prevTime=c.default(),this.startAnimationIfNecessary()},t.prototype.componentWillReceiveProps=function(e){null!=this.unreadPropStyles&&this.clearUnreadPropStyle(this.unreadPropStyles),this.unreadPropStyles=e.styles(this.state.lastIdealStyles),null==this.animationID&&(this.prevTime=c.default(),this.startAnimationIfNecessary())},t.prototype.componentWillUnmount=function(){null!=this.animationID&&(l.default.cancel(this.animationID),this.animationID=null)},t.prototype.render=function(){var e=this.props.children(this.state.currentStyles);return e&&h.default.Children.only(e)},t}(h.default.Component);t.default=y,e.exports=t.default},function(e,t,r){"use strict";t.__esModule=!0;var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];
vendor: 4,916 bytes, line 2
2for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();function o(e){return e&&e.__esModule?e:{default:e}}var a=o(r(65)),s=o(r(52)),u=o(r(66)),c=o(r(232)),l=o(r(67)),f=o(r(68)),h=o(r(69)),d=o(r(1)),p=o(r(0)),y=1e3/60;function m(e,t,r){var n=t;return null==n?e.map((function(e,t){return{key:e.key,data:e.data,style:r[t]}})):e.map((function(e,t){for(var i=0;i<n.length;i++)if(n[i].key===e.key)return{key:n[i].key,data:n[i].data,style:r[t]};return{key:e.key,data:e.data,style:r[t]}}))}function b(e,t,r,n,i,o,s,u,l){for(var f=c.default(n,i,(function(e,n){var i=t(n);return null==i||h.default(o[e],i,s[e])?(r({key:n.key,data:n.data}),null):{key:n.key,data:n.data,style:i}})),d=[],p=[],y=[],m=[],b=0;b<f.length;b++){for(var v=f[b],g=null,_=0;_<n.length;_++)if(n[_].key===v.key){g=_;break}if(null==g){var w=e(v);d[b]=w,y[b]=w;var S=a.default(v.style);p[b]=S,m[b]=S}else d[b]=o[g],y[b]=u[g],p[b]=s[g],m[b]=l[g]}return[f,d,p,y,m]}var v=function(e){function t(r){var i=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),e.call(this,r),this.unmounting=!1,this.animationID=null,this.prevTime=0,this.accumulatedTime=0,this.unreadPropStyles=null,this.clearUnreadPropStyle=function(e){for(var t=b(i.props.willEnter,i.props.willLeave,i.props.didLeave,i.state.mergedPropsStyles,e,i.state.currentStyles,i.state.currentVelocities,i.state.lastIdealStyles,i.state.lastIdealVelocities),r=t[0],o=t[1],a=t[2],s=t[3],u=t[4],c=0;c<e.length;c++){var l=e[c].style,f=!1;for(var h in l)if(Object.prototype.hasOwnProperty.call(l,h)){var d=l[h];"number"===typeof d&&(f||(f=!0,o[c]=n({},o[c]),a[c]=n({},a[c]),s[c]=n({},s[c]),u[c]=n({},u[c]),r[c]={key:r[c].key,data:r[c].data,style:n({},r[c].style)}),o[c][h]=d,a[c][h]=0,s[c][h]=d,u[c][h]=0,r[c].style[h]=d)}}i.setState({currentStyles:o,currentVelocities:a,mergedPropsStyles:r,lastIdealStyles:s,lastIdealVelocities:u})},this.startAnimationIfNecessary=function(){i.unmounting||(i.animationID=f.default((function(e){if(!i.unmounting){var t=i.props.styles,r="function"===typeof t?t(m(i.state.mergedPropsStyles,i.unreadPropStyles,i.state.lastIdealStyles)):t;if(function(e,t,r,n){if(n.length!==t.length)return!1;for(var i=0;i<n.length;i++)if(n[i].key!==t[i].key)return!1;for(i=0;i<n.length;i++)if(!h.default(e[i],t[i].style,r[i]))return!1;return!0}(i.state.currentStyles,r,i.state.currentVelocities,i.state.mergedPropsStyles))return i.animationID=null,void(i.accumulatedTime=0);var n=e||l.default(),o=n-i.prevTime;if(i.prevTime=n,i.accumulatedTime=i.accumulatedTime+o,i.accumulatedTime>10*y&&(i.accumulatedTime=0),0===i.accumulatedTime)return i.animationID=null,void i.startAnimationIfNecessary();for(var a=(i.accumulatedTime-Math.floor(i.accumulatedTime/y)*y)/y,s=Math.floor(i.accumulatedTime/y),c=b(i.props.willEnter,i.props.willLeave,i.props.didLeave,i.state.mergedPropsStyles,r,i.state.currentStyles,i.state.currentVelocities,i.state.lastIdealStyles,i.state.lastIdealVelocities),f=c[0],d=c[1],p=c[2],v=c[3],g=c[4],_=0;_<f.length;_++){var w=f[_].style,S={},M={},x={},E={};for(var k in w)if(Object.prototype.hasOwnProperty.call(w,k)){var O=w[k];if("number"===typeof O)S[k]=O,M[k]=0,x[k]=O,E[k]=0;else{for(var T=v[_][k],P=g[_][k],A=0;A<s;A++){var R=u.default(y/1e3,T,P,O.val,O.stiffness,O.damping,O.precision);T=R[0],P=R[1]}var j=u.default(y/1e3,T,P,O.val,O.stiffness,O.damping,O.precision),C=j[0],N=j[1];S[k]=T+(C-T)*a,M[k]=P+(N-P)*a,x[k]=T,E[k]=P}}v[_]=x,g[_]=E,d[_]=S,p[_]=M}i.animationID=null,i.accumulatedTime-=s*y,i.setState({currentStyles:d,currentVelocities:p,lastIdealStyles:v,lastIdealVelocities:g,mergedPropsStyles:f}),i.unreadPropStyles=null,i.startAnimationIfNecessary()}})))},this.state=this.defaultState()}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,null,[{key:"propTypes",value:{defaultStyles:p.default.arrayOf(p.default.shape({key:p.default.string.isRequired,data:p.default.any,style:p.default.objectOf(p.default.number).isRequired})),styles:p.default.oneOfType([p.default.func,p.default.arrayOf(p.default.shape({key:p.default.string.isRequired,data:p.default.any,style:p.default.objectOf(p.default.oneOfType([p.default.number,p.default.object])).isRequired}))]).isRequired,children:p.default.func.isRequired,willEnter:p.default.func,willLeave:p.default.func,didLeave:p.default.func},enumerable:!0},{key:"defaultProps",value:{willEnter:function(e){return s.default(e.style)}
2,willLeave:function(){return null},didLeave:function(){}},enumerable:!0}]),t.prototype.defaultState=function(){var e=this.props,t=e.defaultStyles,r=e.styles,n=e.willEnter,i=e.willLeave,o=e.didLeave,u="function"===typeof r?r(t):r,c=void 0;c=null==t?u:t.map((function(e){for(var t=0;t<u.length;t++)if(u[t].key===e.key)return u[t];return e}));var l=null==t?u.map((function(e){return s.default(e.style)})):t.map((function(e){return s.default(e.style)})),f=null==t?u.map((function(e){return a.default(e.style)})):t.map((function(e){return a.default(e.style)})),h=b(n,i,o,c,u,l,f,l,f),d=h[0];return{currentStyles:h[1],currentVelocities:h[2],lastIdealStyles:h[3],lastIdealVelocities:h[4],mergedPropsStyles:d}},t.prototype.componentDidMount=function(){this.prevTime=l.default(),this.startAnimationIfNecessary()},t.prototype.componentWillReceiveProps=function(e){this.unreadPropStyles&&this.clearUnreadPropStyle(this.unreadPropStyles);var t=e.styles;this.unreadPropStyles="function"===typeof t?t(m(this.state.mergedPropsStyles,this.unreadPropStyles,this.state.lastIdealStyles)):t,null==this.animationID&&(this.prevTime=l.default(),this.startAnimationIfNecessary())},t.prototype.componentWillUnmount=function(){this.unmounting=!0,null!=this.animationID&&(f.default.cancel(this.animationID),this.animationID=null)},t.prototype.render=function(){var e=m(this.state.mergedPropsStyles,this.unreadPropStyles,this.state.currentStyles),t=this.props.children(e);return t&&d.default.Children.only(t)},t}(d.default.Component);t.default=v,e.exports=t.default},function(e,t,r){"use strict";t.__esModule=!0,t.default=function(e,t,r){for(var n={},i=0;i<e.length;i++)n[e[i].key]=i;var o={};for(i=0;i<t.length;i++)o[t[i].key]=i;var a=[];for(i=0;i<t.length;i++)a[i]=t[i];for(i=0;i<e.length;i++)if(!Object.prototype.hasOwnProperty.call(o,e[i].key)){var s=r(i,e[i]);null!=s&&a.push(s)}return a.sort((function(e,r){var i=o[e.key],a=o[r.key],s=n[e.key],u=n[r.key];if(null!=i&&null!=a)return o[e.key]-o[r.key];if(null!=s&&null!=u)return n[e.key]-n[r.key];if(null!=i){for(var c=0;c<t.length;c++){var l=t[c].key;if(Object.prototype.hasOwnProperty.call(n,l)){if(i<o[l]&&u>n[l])return-1;if(i>o[l]&&u<n[l])return 1}}return 1}for(c=0;c<t.length;c++){l=t[c].key;if(Object.prototype.hasOwnProperty.call(n,l)){if(a<o[l]&&s>n[l])return 1;if(a>o[l]&&s<n[l])return-1}}return-1}))},e.exports=t.default},function(e,t,r){"use strict";t.__esModule=!0;var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e};t.default=function(e,t){return n({},s,t,{val:e})};var i,o=r(111),a=(i=o)&&i.__esModule?i:{default:i},s=n({},a.default.noWobble,{precision:.01});e.exports=t.default},function(e,t,r){"use strict";t.__esModule=!0,t.default=function(){0};e.exports=t.default},function(e,t,r){"use strict";var n;if(!Object.keys){var i=Object.prototype.hasOwnProperty,o=Object.prototype.toString,a=r(113),s=Object.prototype.propertyIsEnumerable,u=!s.call({toString:null},"toString"),c=s.call((function(){}),"prototype"),l=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],f=function(e){var t=e.constructor;return t&&t.prototype===e},h={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},d=function(){if("undefined"===typeof window)return!1;for(var e in window)try{if(!h["$"+e]&&i.call(window,e)&&null!==window[e]&&"object"===typeof window[e])try{f(window[e])}catch(t){return!0}}catch(t){return!0}return!1}();n=function(e){var t=null!==e&&"object"===typeof e,r="[object Function]"===o.call(e),n=a(e),s=t&&"[object String]"===o.call(e),h=[];if(!t&&!r&&!n)throw new TypeError("Object.keys called on a non-object");var p=c&&r;if(s&&e.length>0&&!i.call(e,0))for(var y=0;y<e.length;++y)h.push(String(y));if(n&&e.length>0)for(var m=0;m<e.length;++m)h.push(String(m));else for(var b in e)p&&"prototype"===b||!i.call(e,b)||h.push(String(b));if(u)for(var v=function(e){if("undefined"===typeof window||!d)return f(e);try{return f(e)}catch(t){return!1}}(e),g=0;g<l.length;++g)v&&"constructor"===l[g]||!i.call(e,l[g])||h.push(l[g]);return h}}
2e.exports=n},function(e,t,r){"use strict";var n="function"===typeof Symbol&&"symbol"===typeof Symbol.toStringTag,i=r(114)("Object.prototype.toString"),o=function(e){return!(n&&e&&"object"===typeof e&&Symbol.toStringTag in e)&&"[object Arguments]"===i(e)},a=function(e){return!!o(e)||null!==e&&"object"===typeof e&&"number"===typeof e.length&&e.length>=0&&"[object Array]"!==i(e)&&"[object Function]"===i(e.callee)},s=function(){return o(arguments)}();o.isLegacyArguments=a,e.exports=s?o:a},function(e,t,r){"use strict";e.exports=function(){if("function"!==typeof Symbol||"function"!==typeof Object.getOwnPropertySymbols)return!1;if("symbol"===typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),r=Object(t);if("string"===typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(t in e[t]=42,e)return!1;if("function"===typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"===typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var n=Object.getOwnPropertySymbols(e);if(1!==n.length||n[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"===typeof Object.getOwnPropertyDescriptor){var i=Object.getOwnPropertyDescriptor(e,t);if(42!==i.value||!0!==i.enumerable)return!1}return!0}},function(e,t,r){"use strict";var n="Function.prototype.bind called on incompatible ",i=Array.prototype.slice,o=Object.prototype.toString,a="[object Function]";e.exports=function(e){var t=this;if("function"!==typeof t||o.call(t)!==a)throw new TypeError(n+t);for(var r,s=i.call(arguments,1),u=function(){if(this instanceof r){var n=t.apply(this,s.concat(i.call(arguments)));return Object(n)===n?n:this}return t.apply(e,s.concat(i.call(arguments)))},c=Math.max(0,t.length-s.length),l=[],f=0;f<c;f++)l.push("$"+f);if(r=Function("binder","return function ("+l.join(",")+"){ return binder.apply(this,arguments); }")(u),t.prototype){var h=function(){};h.prototype=t.prototype,r.prototype=new h,h.prototype=null}return r}},function(e,t,r){"use strict";var n=r(70);e.exports=n.call(Function.call,Object.prototype.hasOwnProperty)},function(e,t,r){"use strict";var n=r(40),i=r(71),o=r(117),a=r(118),s=r(241),u=i(a(),Object);n(u,{getPolyfill:a,implementation:o,shim:s}),e.exports=u},function(e,t,r){"use strict";var n=r(118),i=r(40);e.exports=function(){var e=n();return i(Object,{is:e},{is:function(){return Object.is!==e}}),e}},function(e,t,r){"use strict";var n,i,o,a,s=r(114),u=r(116)()&&"symbol"===typeof Symbol.toStringTag;if(u){n=s("Object.prototype.hasOwnProperty"),i=s("RegExp.prototype.exec"),o={};var c=function(){throw o};a={toString:c,valueOf:c},"symbol"===typeof Symbol.toPrimitive&&(a[Symbol.toPrimitive]=c)}var l=s("Object.prototype.toString"),f=Object.getOwnPropertyDescriptor;e.exports=u?function(e){if(!e||"object"!==typeof e)return!1;var t=f(e,"lastIndex");if(!(t&&n(t,"value")))return!1;try{i(e,a)}catch(r){return r===o}}:function(e){return!(!e||"object"!==typeof e&&"function"!==typeof e)&&"[object RegExp]"===l(e)}},function(e,t,r){"use strict";var n=r(40),i=r(71),o=r(119),a=r(120),s=r(244),u=i(o);n(u,{getPolyfill:a,implementation:o,shim:s}),e.exports=u},function(e,t,r){"use strict";var n=r(40).supportsDescriptors,i=r(120),o=Object.getOwnPropertyDescriptor,a=Object.defineProperty,s=TypeError,u=Object.getPrototypeOf,c=/a/;e.exports=function(){if(!n||!u)throw new s("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");var e=i(),t=u(c),r=o(t,"flags");return r&&r.get===e||a(t,"flags",{configurable:!0,enumerable:!1,get:e}),e}},function(e,t,r){"use strict";var n=Date.prototype.getDay,i=Object.prototype.toString,o="function"===typeof Symbol&&"symbol"===typeof Symbol.toStringTag;e.exports=function(e){return"object"===typeof e&&null!==e&&(o?function(e){try{return n.call(e),!0}catch(t){return!1}}(e):"[object Date]"===i.call(e))}},function(e,t,r){},function(e,t,r){"use strict";r(64);var n=r(1),i=60103;if(t.Fragment=60107,"function"===typeof Symbol&&Symbol.for){var o=Symbol.for;i=o("react.element"),t.Fragment=o("react.fragment")}
2var a=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s=Object.prototype.hasOwnProperty,u={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,r){var n,o={},c=null,l=null;for(n in void 0!==r&&(c=""+r),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(l=t.ref),t)s.call(t,n)&&!u.hasOwnProperty(n)&&(o[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps)void 0===o[n]&&(o[n]=t[n]);return{$$typeof:i,type:e,key:c,ref:l,props:o,_owner:a.current}}t.jsx=c,t.jsxs=c},function(e,t,r){var n=r(5).Buffer,i=r(123),o=r(128),a=r(53),s=r(176),u=r(55);function c(e,t){return n.from(e,t).toString("base64").replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function l(e){var t=e.header,r=e.payload,n=e.secret||e.privateKey,i=e.encoding,a=o(t.alg),l=function(e,t,r){r=r||"utf8";var n=c(s(e),"binary"),i=c(s(t),r);return u.format("%s.%s",n,i)}(t,r,i),f=a.sign(l,n);return u.format("%s.%s",l,f)}function f(e){var t=e.secret||e.privateKey||e.key,r=new i(t);this.readable=!0,this.header=e.header,this.encoding=e.encoding,this.secret=this.privateKey=this.key=r,this.payload=new i(e.payload),this.secret.once("close",function(){!this.payload.writable&&this.readable&&this.sign()}.bind(this)),this.payload.once("close",function(){!this.secret.writable&&this.readable&&this.sign()}.bind(this))}u.inherits(f,a),f.prototype.sign=function(){try{var e=l({header:this.header,payload:this.payload.buffer,secret:this.secret.buffer,encoding:this.encoding});return this.emit("done",e),this.emit("data",e),this.emit("end"),this.readable=!1,e}catch(t){this.readable=!1,this.emit("error",t),this.emit("close")}},f.sign=l,e.exports=f},function(e,t,r){"use strict";t.byteLength=function(e){var t=c(e),r=t[0],n=t[1];return 3*(r+n)/4-n},t.toByteArray=function(e){var t,r,n=c(e),a=n[0],s=n[1],u=new o(function(e,t,r){return 3*(t+r)/4-r}(0,a,s)),l=0,f=s>0?a-4:a;for(r=0;r<f;r+=4)t=i[e.charCodeAt(r)]<<18|i[e.charCodeAt(r+1)]<<12|i[e.charCodeAt(r+2)]<<6|i[e.charCodeAt(r+3)],u[l++]=t>>16&255,u[l++]=t>>8&255,u[l++]=255&t;2===s&&(t=i[e.charCodeAt(r)]<<2|i[e.charCodeAt(r+1)]>>4,u[l++]=255&t);1===s&&(t=i[e.charCodeAt(r)]<<10|i[e.charCodeAt(r+1)]<<4|i[e.charCodeAt(r+2)]>>2,u[l++]=t>>8&255,u[l++]=255&t);return u},t.fromByteArray=function(e){for(var t,r=e.length,i=r%3,o=[],a=16383,s=0,u=r-i;s<u;s+=a)o.push(l(e,s,s+a>u?u:s+a));1===i?(t=e[r-1],o.push(n[t>>2]+n[t<<4&63]+"==")):2===i&&(t=(e[r-2]<<8)+e[r-1],o.push(n[t>>10]+n[t>>4&63]+n[t<<2&63]+"="));return o.join("")};for(var n=[],i=[],o="undefined"!==typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,u=a.length;s<u;++s)n[s]=a[s],i[a.charCodeAt(s)]=s;function c(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");return-1===r&&(r=t),[r,r===t?0:4-r%4]}function l(e,t,r){for(var i,o,a=[],s=t;s<r;s+=3)i=(e[s]<<16&16711680)+(e[s+1]<<8&65280)+(255&e[s+2]),a.push(n[(o=i)>>18&63]+n[o>>12&63]+n[o>>6&63]+n[63&o]);return a.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},function(e,t){t.read=function(e,t,r,n,i){var o,a,s=8*i-n-1,u=(1<<s)-1,c=u>>1,l=-7,f=r?i-1:0,h=r?-1:1,d=e[t+f];for(f+=h,o=d&(1<<-l)-1,d>>=-l,l+=s;l>0;o=256*o+e[t+f],f+=h,l-=8);for(a=o&(1<<-l)-1,o>>=-l,l+=n;l>0;a=256*a+e[t+f],f+=h,l-=8);if(0===o)o=1-c;else{if(o===u)return a?NaN:1/0*(d?-1:1);a+=Math.pow(2,n),o-=c}return(d?-1:1)*a*Math.pow(2,o-n)},t.write=function(e,t,r,n,i,o){var a,s,u,c=8*o-i-1,l=(1<<c)-1,f=l>>1,h=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,d=n?0:o-1,p=n?1:-1,y=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=l):(a=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-a))<1&&(a--,u*=2),(t+=a+f>=1?h/u:h*Math.pow(2,1-f))*u>=2&&(a++,u/=2),a+f>=l?(s=0,a=l):a+f>=1?(s=(t*u-1)*Math.pow(2,i),a+=f):(s=t*Math.pow(2,f-1)*Math.pow(2,i),a=0));i>=8;e[r+d]=255&s,d+=p,s/=256,i-=8);for(a=a<<i|s,c+=i;c>0;e[r+d]=255&a,d+=p,a/=256,c-=8);e[r+d-p]|=128*y}},,function(e,t,r){"use strict";var n=r(74).Buffer,i=r(253);e.exports=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.head=null,this.tail=null,this.length=0}return e.prototype.push=function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length},e.prototype.unshift=function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length},e.prototype.shift=function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}},e.prototype.clear=function(){this.head=this.tail=null,this.length=0},e.prototype.join=function(e){if(0===this.length)return"";for(var t=this.head,r=""+t.data;t=t.next;)r+=e+t.data;return r},e.prototype.concat=function(e){if(0===this.length)return n.alloc(0);if(1===this.length)return this.head.data;for(var t,r,i,o=n.allocUnsafe(e>>>0),a=this.head,s=0;a;)t=a.data,r=o,i=s,t.copy(r,i),s+=a.data.length,a=a.next;return o},e}(),i&&i.inspect&&i.inspect.custom&&(e.exports.prototype[i.inspect.custom]=function(){var e=i.inspect({length:this.length});return this.constructor.name+" "+e})},,function(e,t,r){(function(e){var n="undefined"!==typeof e&&e||"undefined"!==typeof self&&self||window,i=Function.prototype.apply;function o(e,t){this._id=e,this._clearFn=t}t.setTimeout=function(){return new o(i.call(setTimeout,n,arguments),clearTimeout)},t.setInterval=function(){return new o(i.call(setInterval,n,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},o.prototype.unref=o.prototype.ref=function(){},o.prototype.close=function(){this._clearFn.call(n,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout((function(){e._onTimeout&&e._onTimeout()}),t))},r(255),t.setImmediate="undefined"!==typeof self&&self.setImmediate||"undefined"!==typeof e&&e.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!==typeof self&&self.clearImmediate||"undefined"!==typeof e&&e.clearImmediate||this&&this.clearImmediate}).call(this,r(11))},function(e,t,r){(function(e,t){!function(e,r){"use strict";if(!e.setImmediate){var n,i=1,o={},a=!1,s=e.document,u=Object.getPrototypeOf&&Object.getPrototypeOf(e);u=u&&u.setTimeout?u:e,"[object process]"==={}.toString.call(e.process)?n=function(e){t.nextTick((function(){l(e)}))}:function(){if(e.postMessage&&!e.importScripts){var t=!0,r=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=r,t}}()?function(){var t="setImmediate$"+Math.random()+"$",r=function(r){r.source===e&&"string"===typeof r.data&&0===r.data.indexOf(t)&&l(+r.data.slice(t.length))};e.addEventListener?e.addEventListener("message",r,!1):e.attachEvent("onmessage",r),n=function(r){e.postMessage(t+r,"*")}}():e.MessageChannel?function(){var e=new MessageChannel;e.port1.onmessage=function(e){l(e.data)},n=function(t){e.port2.postMessage(t)}}():s&&"onreadystatechange"in s.createElement("script")?function(){var e=s.documentElement;n=function(t){var r=s.createElement("script");r.onreadystatechange=function(){l(t),r.onreadystatechange=null,e.removeChild(r),r=null},e.appendChild(r)}}():n=function(e){setTimeout(l,0,e)},u.setImmediate=function(e){"function"!==typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),r=0;r<t.length;r++)t[r]=arguments[r+1];var a={callback:e,args:t};return o[i]=a,n(i),i++},u.clearImmediate=c}function c(e){delete o[e]}function l(e){if(a)setTimeout(l,0,e);else{var t=o[e];if(t){a=!0;try{!function(e){var t=e.callback,r=e.args;switch(r.length){case 0:t();break;case 1:t(r[0]);break;case 2:t(r[0],r[1]);break;case 3:t(r[0],r[1],r[2]);break;default:t.apply(void 0,r)}}(t)}finally{c(e),a=!1}}}}}
2("undefined"===typeof self?"undefined"===typeof e?this:e:self)}).call(this,r(11),r(8))},function(e,t,r){"use strict";e.exports=o;var n=r(127),i=Object.create(r(41));function o(e){if(!(this instanceof o))return new o(e);n.call(this,e)}i.inherits=r(3),i.inherits(o,n),o.prototype._transform=function(e,t,r){r(null,e)}},function(e,t,r){e.exports=r(75)},function(e,t,r){e.exports=r(27)},function(e,t,r){e.exports=r(73).Transform},function(e,t,r){e.exports=r(73).PassThrough},function(e,t){e.exports=function(e){return e&&"object"===typeof e&&"function"===typeof e.copy&&"function"===typeof e.fill&&"function"===typeof e.readUInt8}},function(e,t){"function"===typeof Object.create?e.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:e.exports=function(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}},function(e,t,r){"use strict";var n=r(10).Buffer,i=r(10).SlowBuffer;function o(e,t){if(!n.isBuffer(e)||!n.isBuffer(t))return!1;if(e.length!==t.length)return!1;for(var r=0,i=0;i<e.length;i++)r|=e[i]^t[i];return 0===r}e.exports=o,o.install=function(){n.prototype.equal=i.prototype.equal=function(e){return o(this,e)}};var a=n.prototype.equal,s=i.prototype.equal;o.restore=function(){n.prototype.equal=a,i.prototype.equal=s}},function(e,t,r){"use strict";t.randomBytes=t.rng=t.pseudoRandomBytes=t.prng=r(33),t.createHash=t.Hash=r(42),t.createHmac=t.Hmac=r(138);var n=r(278),i=Object.keys(n),o=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(i);t.getHashes=function(){return o};var a=r(141);t.pbkdf2=a.pbkdf2,t.pbkdf2Sync=a.pbkdf2Sync;var s=r(280);t.Cipher=s.Cipher,t.createCipher=s.createCipher,t.Cipheriv=s.Cipheriv,t.createCipheriv=s.createCipheriv,t.Decipher=s.Decipher,t.createDecipher=s.createDecipher,t.Decipheriv=s.Decipheriv,t.createDecipheriv=s.createDecipheriv,t.getCiphers=s.getCiphers,t.listCiphers=s.listCiphers;var u=r(295);t.DiffieHellmanGroup=u.DiffieHellmanGroup,t.createDiffieHellmanGroup=u.createDiffieHellmanGroup,t.getDiffieHellman=u.getDiffieHellman,t.createDiffieHellman=u.createDiffieHellman,t.DiffieHellman=u.DiffieHellman;var c=r(300);t.createSign=c.createSign,t.Sign=c.Sign,t.createVerify=c.createVerify,t.Verify=c.Verify,t.createECDH=r(341);var l=r(342);t.publicEncrypt=l.publicEncrypt,t.privateEncrypt=l.privateEncrypt,t.publicDecrypt=l.publicDecrypt,t.privateDecrypt=l.privateDecrypt;var f=r(345);t.randomFill=f.randomFill,t.randomFillSync=f.randomFillSync,t.createCredentials=function(){throw new Error(["sorry, createCredentials is not implemented yet","we accept pull requests","https://github.com/crypto-browserify/crypto-browserify"].join("\n"))},t.constants={DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4,DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,ALPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6}},function(e,t,r){(t=e.exports=r(130)).Stream=t,t.Readable=t,t.Writable=r(134),t.Duplex=r(35),t.Transform=r(135),t.PassThrough=r(271),t.finished=r(78),t.pipeline=r(272)},,function(e,t,r){"use strict";function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var a=r(10).Buffer,s=r(268).inspect,u=s&&s.custom||"inspect";e.exports=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.head=null,this.tail=null,this.length=0}var t,r,c;return t=e,(r=[{key:"push",value:function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length}},{key:"unshift",value:function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length}},{key:"shift",value:function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(e){if(0===this.length)return"";for(var t=this.head,r=""+t.data;t=t.next;)r+=e+t.data;return r}},{key:"concat",value:function(e){if(0===this.length)return a.alloc(0);for(var t,r,n,i=a.allocUnsafe(e>>>0),o=this.head,s=0;o;)t=o.data,r=i,n=s,a.prototype.copy.call(t,r,n),s+=o.data.length,o=o.next;return i}},{key:"consume",value:function(e,t){var r;return e<this.head.data.length?(r=this.head.data.slice(0,e),this.head.data=this.head.data.slice(e)):r=e===this.head.data.length?this.shift():t?this._getString(e):this._getBuffer(e),r}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(e){var t=this.head,r=1,n=t.data;for(e-=n.length;t=t.next;){var i=t.data,o=e>i.length?i.length:e;if(o===i.length?n+=i:n+=i.slice(0,e),0===(e-=o)){o===i.length?(++r,t.next?this.head=t.next:this.head=this.tail=null):(this.head=t,t.data=i.slice(o));break}++r}return this.length-=r,n}},{key:"_getBuffer",value:function(e){var t=a.allocUnsafe(e),r=this.head,n=1;for(r.data.copy(t),e-=r.data.length;r=r.next;){var i=r.data,o=e>i.length?i.length:e;if(i.copy(t,t.length-e,0,o),0===(e-=o)){o===i.length?(++n,r.next?this.head=r.next:this.head=this.tail=null):(this.head=r,r.data=i.slice(o));break}++n}return this.length-=n,t}},{key:u,value:function(e,t){return s(this,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
vendor: 7,099 bytes, line 2
2t%2?n(Object(r),!0).forEach((function(t){i(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},t,{depth:0,customInspect:!1}))}}])&&o(t.prototype,r),c&&o(t,c),e}()},,function(e,t,r){"use strict";(function(t){var n;function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var o=r(78),a=Symbol("lastResolve"),s=Symbol("lastReject"),u=Symbol("error"),c=Symbol("ended"),l=Symbol("lastPromise"),f=Symbol("handlePromise"),h=Symbol("stream");function d(e,t){return{value:e,done:t}}function p(e){var t=e[a];if(null!==t){var r=e[h].read();null!==r&&(e[l]=null,e[a]=null,e[s]=null,t(d(r,!1)))}}function y(e){t.nextTick(p,e)}var m=Object.getPrototypeOf((function(){})),b=Object.setPrototypeOf((i(n={get stream(){return this[h]},next:function(){var e=this,r=this[u];if(null!==r)return Promise.reject(r);if(this[c])return Promise.resolve(d(void 0,!0));if(this[h].destroyed)return new Promise((function(r,n){t.nextTick((function(){e[u]?n(e[u]):r(d(void 0,!0))}))}));var n,i=this[l];if(i)n=new Promise(function(e,t){return function(r,n){e.then((function(){t[c]?r(d(void 0,!0)):t[f](r,n)}),n)}}(i,this));else{var o=this[h].read();if(null!==o)return Promise.resolve(d(o,!1));n=new Promise(this[f])}return this[l]=n,n}},Symbol.asyncIterator,(function(){return this})),i(n,"return",(function(){var e=this;return new Promise((function(t,r){e[h].destroy(null,(function(e){e?r(e):t(d(void 0,!0))}))}))})),n),m);e.exports=function(e){var t,r=Object.create(b,(i(t={},h,{value:e,writable:!0}),i(t,a,{value:null,writable:!0}),i(t,s,{value:null,writable:!0}),i(t,u,{value:null,writable:!0}),i(t,c,{value:e._readableState.endEmitted,writable:!0}),i(t,f,{value:function(e,t){var n=r[h].read();n?(r[l]=null,r[a]=null,r[s]=null,e(d(n,!1))):(r[a]=e,r[s]=t)},writable:!0}),t));return r[l]=null,o(e,(function(e){if(e&&"ERR_STREAM_PREMATURE_CLOSE"!==e.code){var t=r[s];return null!==t&&(r[l]=null,r[a]=null,r[s]=null,t(e)),void(r[u]=e)}var n=r[a];null!==n&&(r[l]=null,r[a]=null,r[s]=null,n(d(void 0,!0))),r[c]=!0})),e.on("readable",y.bind(null,r)),r}}).call(this,r(8))},function(e,t){e.exports=function(){throw new Error("Readable.from is not available in the browser")}},function(e,t,r){"use strict";e.exports=i;var n=r(135);function i(e){if(!(this instanceof i))return new i(e);n.call(this,e)}r(3)(i,n),i.prototype._transform=function(e,t,r){r(null,e)}},function(e,t,r){"use strict";var n;var i=r(34).codes,o=i.ERR_MISSING_ARGS,a=i.ERR_STREAM_DESTROYED;function s(e){if(e)throw e}function u(e,t,i,o){o=function(e){var t=!1;return function(){t||(t=!0,e.apply(void 0,arguments))}}(o);var s=!1;e.on("close",(function(){s=!0})),void 0===n&&(n=r(78)),n(e,{readable:t,writable:i},(function(e){if(e)return o(e);s=!0,o()}));var u=!1;return function(t){if(!s&&!u)return u=!0,function(e){return e.setHeader&&"function"===typeof e.abort}(e)?e.abort():"function"===typeof e.destroy?e.destroy():void o(t||new a("pipe"))}}function c(e){e()}function l(e,t){return e.pipe(t)}function f(e){return e.length?"function"!==typeof e[e.length-1]?s:e.pop():s}e.exports=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n,i=f(t);if(Array.isArray(t[0])&&(t=t[0]),t.length<2)throw new o("streams");var a=t.map((function(e,r){var o=r<t.length-1;return u(e,o,r>0,(function(e){n||(n=e),e&&a.forEach(c),o||(a.forEach(c),i(n))}))}));return t.reduce(l)}},function(e,t,r){var n=r(3),i=r(36),o=r(5).Buffer,a=[1518500249,1859775393,-1894007588,-899497514],s=new Array(80);function u(){this.init(),this._w=s,i.call(this,64,56)}function c(e){return e<<30|e>>>2}function l(e,t,r,n){return 0===e?t&r|~t&n:2===e?t&r|t&n|r&n:t^r^n}n(u,i),u.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},u.prototype._update=function(e){for(var t,r=this._w,n=0|this._a,i=0|this._b,o=0|this._c,s=0|this._d,u=0|this._e,f=0;f<16;++f)r[f]=e.readInt32BE(4*f);for(;f<80;++f)r[f]=r[f-3]^r[f-8]^r[f-14]^r[f-16];for(var h=0;h<80;++h){var d=~~(h/20),p=0|((t=n)<<5|t>>>27)+l(d,i,o,s)+u+r[h]+a[d];u=s,s=o,o=c(i),i=n,n=p}this._a=n+this._a|0,this._b=i+this._b|0,this._c=o+this._c|0,this._d=s+this._d|0,this._e=u+this._e|0},u.prototype._hash=function(){var e=o.allocUnsafe(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e},e.exports=u},function(e,t,r){var n=r(3),i=r(36),o=r(5).Buffer,a=[1518500249,1859775393,-1894007588,-899497514],s=new Array(80);function u(){this.init(),this._w=s,i.call(this,64,56)}function c(e){return e<<5|e>>>27}function l(e){return e<<30|e>>>2}function f(e,t,r,n){return 0===e?t&r|~t&n:2===e?t&r|t&n|r&n:t^r^n}n(u,i),u.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},u.prototype._update=function(e){for(var t,r=this._w,n=0|this._a,i=0|this._b,o=0|this._c,s=0|this._d,u=0|this._e,h=0;h<16;++h)r[h]=e.readInt32BE(4*h);for(;h<80;++h)r[h]=(t=r[h-3]^r[h-8]^r[h-14]^r[h-16])<<1|t>>>31;for(var d=0;d<80;++d){var p=~~(d/20),y=c(n)+f(p,i,o,s)+u+r[d]+a[p]|0;u=s,s=o,o=l(i),i=n,n=y}this._a=n+this._a|0,this._b=i+this._b|0,this._c=o+this._c|0,this._d=s+this._d|0,this._e=u+this._e|0},u.prototype._hash=function(){var e=o.allocUnsafe(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e},e.exports=u},function(e,t,r){var n=r(3),i=r(136),o=r(36),a=r(5).Buffer,s=new Array(64);function u(){this.init(),this._w=s,o.call(this,64,56)}n(u,i),u.prototype.init=function(){return this._a=3238371032,this._b=914150663,this._c=812702999,this._d=4144912697,this._e=4290775857,this._f=1750603025,this._g=1694076839,this._h=3204075428,this},u.prototype._hash=function(){var e=a.allocUnsafe(28);return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e},e.exports=u},function(e,t,r){var n=r(3),i=r(137),o=r(36),a=r(5).Buffer,s=new Array(160);function u(){this.init(),this._w=s,o.call(this,128,112)}n(u,i),u.prototype.init=function(){return this._ah=3418070365,this._bh=1654270250,this._ch=2438529370,this._dh=355462360,this._eh=1731405415,this._fh=2394180231,this._gh=3675008525,this._hh=1203062813,this._al=3238371032,this._bl=914150663,this._cl=812702999,this._dl=4144912697,this._el=4290775857,this._fl=1750603025,this._gl=1694076839,this._hl=3204075428,this},u.prototype._hash=function(){var e=a.allocUnsafe(48);function t(t,r,n){e.writeInt32BE(t,n),e.writeInt32BE(r,n+4)}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),e},e.exports=u},function(e,t,r){"use strict";var n=r(3),i=r(5).Buffer,o=r(22),a=i.alloc(128),s=64;
vendor: 4,664 bytes, line 2
2function u(e,t){o.call(this,"digest"),"string"===typeof t&&(t=i.from(t)),this._alg=e,this._key=t,t.length>s?t=e(t):t.length<s&&(t=i.concat([t,a],s));for(var r=this._ipad=i.allocUnsafe(s),n=this._opad=i.allocUnsafe(s),u=0;u<s;u++)r[u]=54^t[u],n[u]=92^t[u];this._hash=[r]}n(u,o),u.prototype._update=function(e){this._hash.push(e)},u.prototype._final=function(){var e=this._alg(i.concat(this._hash));return this._alg(i.concat([this._opad,e]))},e.exports=u},function(e,t,r){e.exports=r(140)},function(e,t,r){(function(t,n){var i,o=r(5).Buffer,a=r(142),s=r(143),u=r(144),c=r(145),l=t.crypto&&t.crypto.subtle,f={sha:"SHA-1","sha-1":"SHA-1",sha1:"SHA-1",sha256:"SHA-256","sha-256":"SHA-256",sha384:"SHA-384","sha-384":"SHA-384","sha-512":"SHA-512",sha512:"SHA-512"},h=[];function d(e,t,r,n,i){return l.importKey("raw",e,{name:"PBKDF2"},!1,["deriveBits"]).then((function(e){return l.deriveBits({name:"PBKDF2",salt:t,iterations:r,hash:{name:i}},e,n<<3)})).then((function(e){return o.from(e)}))}e.exports=function(e,r,p,y,m,b){"function"===typeof m&&(b=m,m=void 0);var v=f[(m=m||"sha1").toLowerCase()];if(!v||"function"!==typeof t.Promise)return n.nextTick((function(){var t;try{t=u(e,r,p,y,m)}catch(n){return b(n)}b(null,t)}));if(a(p,y),e=c(e,s,"Password"),r=c(r,s,"Salt"),"function"!==typeof b)throw new Error("No callback provided to pbkdf2");!function(e,t){e.then((function(e){n.nextTick((function(){t(null,e)}))}),(function(e){n.nextTick((function(){t(e)}))}))}(function(e){if(t.process&&!t.process.browser)return Promise.resolve(!1);if(!l||!l.importKey||!l.deriveBits)return Promise.resolve(!1);if(void 0!==h[e])return h[e];var r=d(i=i||o.alloc(8),i,10,128,e).then((function(){return!0})).catch((function(){return!1}));return h[e]=r,r}(v).then((function(t){return t?d(e,r,p,y,v):u(e,r,p,y,m)})),b)}}).call(this,r(11),r(8))},function(e,t,r){var n=r(281),i=r(82),o=r(83),a=r(294),s=r(57);function u(e,t,r){if(e=e.toLowerCase(),o[e])return i.createCipheriv(e,t,r);if(a[e])return new n({key:t,iv:r,mode:e});throw new TypeError("invalid suite type")}function c(e,t,r){if(e=e.toLowerCase(),o[e])return i.createDecipheriv(e,t,r);if(a[e])return new n({key:t,iv:r,mode:e,decrypt:!0});throw new TypeError("invalid suite type")}t.createCipher=t.Cipher=function(e,t){var r,n;if(e=e.toLowerCase(),o[e])r=o[e].key,n=o[e].iv;else{if(!a[e])throw new TypeError("invalid suite type");r=8*a[e].key,n=a[e].iv}var i=s(t,!1,r,n);return u(e,i.key,i.iv)},t.createCipheriv=t.Cipheriv=u,t.createDecipher=t.Decipher=function(e,t){var r,n;if(e=e.toLowerCase(),o[e])r=o[e].key,n=o[e].iv;else{if(!a[e])throw new TypeError("invalid suite type");r=8*a[e].key,n=a[e].iv}var i=s(t,!1,r,n);return c(e,i.key,i.iv)},t.createDecipheriv=t.Decipheriv=c,t.listCiphers=t.getCiphers=function(){return Object.keys(a).concat(i.getCiphers())}},function(e,t,r){var n=r(22),i=r(282),o=r(3),a=r(5).Buffer,s={"des-ede3-cbc":i.CBC.instantiate(i.EDE),"des-ede3":i.EDE,"des-ede-cbc":i.CBC.instantiate(i.EDE),"des-ede":i.EDE,"des-cbc":i.CBC.instantiate(i.DES),"des-ecb":i.DES};function u(e){n.call(this);var t,r=e.mode.toLowerCase(),i=s[r];t=e.decrypt?"decrypt":"encrypt";var o=e.key;a.isBuffer(o)||(o=a.from(o)),"des-ede"!==r&&"des-ede-cbc"!==r||(o=a.concat([o,o.slice(0,8)]));var u=e.iv;a.isBuffer(u)||(u=a.from(u)),this._des=i.create({key:o,iv:u,type:t})}s.des=s["des-cbc"],s.des3=s["des-ede3-cbc"],e.exports=u,o(u,n),u.prototype._update=function(e){return a.from(this._des.update(e))},u.prototype._final=function(){return a.from(this._des.final())}},function(e,t,r){"use strict";t.utils=r(146),t.Cipher=r(81),t.DES=r(147),t.CBC=r(283),t.EDE=r(284)},function(e,t,r){"use strict";var n=r(15),i=r(3),o={};function a(e){n.equal(e.length,8,"Invalid IV length"),this.iv=new Array(8);for(var t=0;t<this.iv.length;t++)this.iv[t]=e[t]}t.instantiate=function(e){function t(t){e.call(this,t),this._cbcInit()}i(t,e);for(var r=Object.keys(o),n=0;n<r.length;n++){var a=r[n];t.prototype[a]=o[a]}return t.create=function(e){return new t(e)},t},o._cbcInit=function(){var e=new a(this.options.iv);this._cbcState=e},o._update=function(e,t,r,n){var i=this._cbcState,o=this.constructor.super_.prototype,a=i.iv;if("encrypt"===this.type){for(var s=0;s<this.blockSize;s++)a[s]^=e[t+s];o._update.call(this,a,0,r,n);for(s=0;s<this.blockSize;s++)a[s]=r[n+s]}else{o._update.call(this,e,t,r,n);for(s=0;s<this.blockSize;s++)r[n+s]^=a[s];for(s=0;s<this.blockSize;s++)a[s]=e[t+s]}}},function(e,t,r){"use strict";var n=r(15),i=r(3),o=r(81),a=r(147);function s(e,t){n.equal(t.length,24,"Invalid key length");var r=t.slice(0,8),i=t.slice(8,16),o=t.slice(16,24);this.ciphers="encrypt"===e?[a.create({type:"encrypt",key:r}),a.create({type:"decrypt",key:i}
vendor: 12,382 bytes, line 2
2),a.create({type:"encrypt",key:o})]:[a.create({type:"decrypt",key:o}),a.create({type:"encrypt",key:i}),a.create({type:"decrypt",key:r})]}function u(e){o.call(this,e);var t=new s(this.type,this.options.key);this._edeState=t}i(u,o),e.exports=u,u.create=function(e){return new u(e)},u.prototype._update=function(e,t,r,n){var i=this._edeState;i.ciphers[0]._update(e,t,r,n),i.ciphers[1]._update(r,n,r,n),i.ciphers[2]._update(r,n,r,n)},u.prototype._pad=a.prototype._pad,u.prototype._unpad=a.prototype._unpad},function(e,t,r){var n=r(83),i=r(151),o=r(5).Buffer,a=r(152),s=r(22),u=r(56),c=r(57);function l(e,t,r){s.call(this),this._cache=new h,this._cipher=new u.AES(t),this._prev=o.from(r),this._mode=e,this._autopadding=!0}r(3)(l,s),l.prototype._update=function(e){var t,r;this._cache.add(e);for(var n=[];t=this._cache.get();)r=this._mode.encrypt(this,t),n.push(r);return o.concat(n)};var f=o.alloc(16,16);function h(){this.cache=o.allocUnsafe(0)}function d(e,t,r){var s=n[e.toLowerCase()];if(!s)throw new TypeError("invalid suite type");if("string"===typeof t&&(t=o.from(t)),t.length!==s.key/8)throw new TypeError("invalid key length "+t.length);if("string"===typeof r&&(r=o.from(r)),"GCM"!==s.mode&&r.length!==s.iv)throw new TypeError("invalid iv length "+r.length);return"stream"===s.type?new a(s.module,t,r):"auth"===s.type?new i(s.module,t,r):new l(s.module,t,r)}l.prototype._final=function(){var e=this._cache.flush();if(this._autopadding)return e=this._mode.encrypt(this,e),this._cipher.scrub(),e;if(!e.equals(f))throw this._cipher.scrub(),new Error("data not multiple of block length")},l.prototype.setAutoPadding=function(e){return this._autopadding=!!e,this},h.prototype.add=function(e){this.cache=o.concat([this.cache,e])},h.prototype.get=function(){if(this.cache.length>15){var e=this.cache.slice(0,16);return this.cache=this.cache.slice(16),e}return null},h.prototype.flush=function(){for(var e=16-this.cache.length,t=o.allocUnsafe(e),r=-1;++r<e;)t.writeUInt8(e,r);return o.concat([this.cache,t])},t.createCipheriv=d,t.createCipher=function(e,t){var r=n[e.toLowerCase()];if(!r)throw new TypeError("invalid suite type");var i=c(t,!1,r.key,r.iv);return d(e,i.key,i.iv)}},function(e,t){t.encrypt=function(e,t){return e._cipher.encryptBlock(t)},t.decrypt=function(e,t){return e._cipher.decryptBlock(t)}},function(e,t,r){var n=r(43);t.encrypt=function(e,t){var r=n(t,e._prev);return e._prev=e._cipher.encryptBlock(r),e._prev},t.decrypt=function(e,t){var r=e._prev;e._prev=t;var i=e._cipher.decryptBlock(t);return n(i,r)}},function(e,t,r){var n=r(5).Buffer,i=r(43);function o(e,t,r){var o=t.length,a=i(t,e._cache);return e._cache=e._cache.slice(o),e._prev=n.concat([e._prev,r?t:a]),a}t.encrypt=function(e,t,r){for(var i,a=n.allocUnsafe(0);t.length;){if(0===e._cache.length&&(e._cache=e._cipher.encryptBlock(e._prev),e._prev=n.allocUnsafe(0)),!(e._cache.length<=t.length)){a=n.concat([a,o(e,t,r)]);break}i=e._cache.length,a=n.concat([a,o(e,t.slice(0,i),r)]),t=t.slice(i)}return a}},function(e,t,r){var n=r(5).Buffer;function i(e,t,r){var i=e._cipher.encryptBlock(e._prev)[0]^t;return e._prev=n.concat([e._prev.slice(1),n.from([r?t:i])]),i}t.encrypt=function(e,t,r){for(var o=t.length,a=n.allocUnsafe(o),s=-1;++s<o;)a[s]=i(e,t[s],r);return a}},function(e,t,r){var n=r(5).Buffer;function i(e,t,r){for(var n,i,a=-1,s=0;++a<8;)n=t&1<<7-a?128:0,s+=(128&(i=e._cipher.encryptBlock(e._prev)[0]^n))>>a%8,e._prev=o(e._prev,r?n:i);return s}function o(e,t){var r=e.length,i=-1,o=n.allocUnsafe(e.length);for(e=n.concat([e,n.from([t])]);++i<r;)o[i]=e[i]<<1|e[i+1]>>7;return o}t.encrypt=function(e,t,r){for(var o=t.length,a=n.allocUnsafe(o),s=-1;++s<o;)a[s]=i(e,t[s],r);return a}},function(e,t,r){(function(e){var n=r(43);function i(e){return e._prev=e._cipher.encryptBlock(e._prev),e._prev}t.encrypt=function(t,r){for(;t._cache.length<r.length;)t._cache=e.concat([t._cache,i(t)]);var o=t._cache.slice(0,r.length);return t._cache=t._cache.slice(r.length),n(r,o)}}).call(this,r(10).Buffer)},function(e,t,r){var n=r(5).Buffer,i=n.alloc(16,0);function o(e){var t=n.allocUnsafe(16);return t.writeUInt32BE(e[0]>>>0,0),t.writeUInt32BE(e[1]>>>0,4),t.writeUInt32BE(e[2]>>>0,8),t.writeUInt32BE(e[3]>>>0,12),t}function a(e){this.h=e,this.state=n.alloc(16,0),this.cache=n.allocUnsafe(0)}a.prototype.ghash=function(e){for(var t=-1;++t<e.length;)this.state[t]^=e[t];this._multiply()},a.prototype._multiply=function(){for(var e,t,r,n=[(e=this.h).readUInt32BE(0),e.readUInt32BE(4),e.readUInt32BE(8),e.readUInt32BE(12)],i=[0,0,0,0],a=-1;++a<128;){for(0!==(this.state[~~(a/8)]&1<<7-a%8)&&(i[0]^=n[0],i[1]^=n[1],i[2]^=n[2],i[3]^=n[3]),r=0!==(1&n[3]),t=3;t>0;t--)n[t]=n[t]>>>1|(1&n[t-1])<<31;n[0]=n[0]>>>1,r&&(n[0]=n[0]^225<<24)}this.state=o(i)},a.prototype.update=function(e){var t;for(this.cache=n.concat([this.cache,e]);this.cache.length>=16;)t=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(t)},a.prototype.final=function(e,t){return this.cache.length&&this.ghash(n.concat([this.cache,i],16)),this.ghash(o([0,e,0,t])),this.state},e.exports=a},function(e,t,r){var n=r(151),i=r(5).Buffer,o=r(83),a=r(152),s=r(22),u=r(56),c=r(57);function l(e,t,r){s.call(this),this._cache=new f,this._last=void 0,this._cipher=new u.AES(t),this._prev=i.from(r),this._mode=e,this._autopadding=!0}function f(){this.cache=i.allocUnsafe(0)}function h(e,t,r){var s=o[e.toLowerCase()];if(!s)throw new TypeError("invalid suite type");if("string"===typeof r&&(r=i.from(r)),"GCM"!==s.mode&&r.length!==s.iv)throw new TypeError("invalid iv length "+r.length);if("string"===typeof t&&(t=i.from(t)),t.length!==s.key/8)throw new TypeError("invalid key length "+t.length);return"stream"===s.type?new a(s.module,t,r,!0):"auth"===s.type?new n(s.module,t,r,!0):new l(s.module,t,r)}r(3)(l,s),l.prototype._update=function(e){var t,r;this._cache.add(e);for(var n=[];t=this._cache.get(this._autopadding);)r=this._mode.decrypt(this,t),n.push(r);return i.concat(n)},l.prototype._final=function(){var e=this._cache.flush();if(this._autopadding)return function(e){var t=e[15];if(t<1||t>16)throw new Error("unable to decrypt data");var r=-1;for(;++r<t;)if(e[r+(16-t)]!==t)throw new Error("unable to decrypt data");if(16===t)return;return e.slice(0,16-t)}(this._mode.decrypt(this,e));if(e)throw new Error("data not multiple of block length")},l.prototype.setAutoPadding=function(e){return this._autopadding=!!e,this},f.prototype.add=function(e){this.cache=i.concat([this.cache,e])},f.prototype.get=function(e){var t;if(e){if(this.cache.length>16)return t=this.cache.slice(0,16),this.cache=this.cache.slice(16),t}else if(this.cache.length>=16)return t=this.cache.slice(0,16),this.cache=this.cache.slice(16),t;return null},f.prototype.flush=function(){if(this.cache.length)return this.cache},t.createDecipher=function(e,t){var r=o[e.toLowerCase()];if(!r)throw new TypeError("invalid suite type");var n=c(t,!1,r.key,r.iv);return h(e,n.key,n.iv)},t.createDecipheriv=h},function(e,t){t["des-ecb"]={key:8,iv:0},t["des-cbc"]=t.des={key:8,iv:8},t["des-ede3-cbc"]=t.des3={key:24,iv:8},t["des-ede3"]={key:24,iv:0},t["des-ede-cbc"]={key:16,iv:8},t["des-ede"]={key:16,iv:0}},function(e,t,r){(function(e){var n=r(153),i=r(298),o=r(299);var a={binary:!0,hex:!0,base64:!0};t.DiffieHellmanGroup=t.createDiffieHellmanGroup=t.getDiffieHellman=function(t){var r=new e(i[t].prime,"hex"),n=new e(i[t].gen,"hex");return new o(r,n)},t.createDiffieHellman=t.DiffieHellman=function t(r,i,s,u){return e.isBuffer(i)||void 0===a[i]?t(r,"binary",i,s):(i=i||"binary",u=u||"binary",s=s||new e([2]),e.isBuffer(s)||(s=new e(s,u)),"number"===typeof r?new o(n(r,s),s,!0):(e.isBuffer(r)||(r=new e(r,i)),new o(r,s,!0)))}}).call(this,r(10).Buffer)},,,function(e){e.exports=JSON.parse('{"modp1":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a63a3620ffffffffffffffff"},"modp2":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece65381ffffffffffffffff"},"modp5":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca237327ffffffffffffffff"},"modp14":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aacaa68ffffffffffffffff"},"modp15":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a93ad2caffffffffffffffff"},"modp16":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c934063199ffffffffffffffff"},"modp17":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd4
207b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dcc4024ffffffffffffffff"},"modp18":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dbe115974a3926f12fee5e438777cb6a932df8cd8bec4d073b931ba3bc832b68d9dd300741fa7bf8afc47ed2576f6936ba424663aab639c5ae4f5683423b4742bf1c978238f16cbe39d652de3fdb8befc848ad922222e04a4037c0713eb57a81a23f0c73473fc646cea306b4bcbc8862f8385ddfa9d4b7fa2c087e879683303ed5bdd3a062b3cf5b3a278a66d2a13f83f44f82ddf310ee074ab6a364597e899a0255dc164f31cc50846851df9ab48195ded7ea1b1d510bd7ee74d73faf36bc31ecfa268359046f4eb879f924009438b481c6cd7889a002ed5ee382bc9190da6fc026e479558e4475677e9aa9e3050e2765694dfc81f56e880b96e7160c980dd98edd3dfffffffffffffffff"}}')},function(e,t,r){(function(t){var n=r(12),i=new(r(154)),o=new n(24),a=new n(11),s=new n(10),u=new n(3),c=new n(7),l=r(153),f=r(33);function h(e,r){return r=r||"utf8",t.isBuffer(e)||(e=new t(e,r)),this._pub=new n(e),this}function d(e,r){return r=r||"utf8",t.isBuffer(e)||(e=new t(e,r)),this._priv=new n(e),this}e.exports=y;var p={};function y(e,t,r){this.setGenerator(t),this.__prime=new n(e),this._prime=n.mont(this.__prime),this._primeLen=e.length,this._pub=void 0,this._priv=void 0,this._primeCode=void 0,r?(this.setPublicKey=h,this.setPrivateKey=d):this._primeCode=8}function m(e,r){var n=new t(e.toArray());return r?n.toString(r):n}Object.defineProperty(y.prototype,"verifyError",{enumerable:!0,get:function(){return"number"!==typeof this._primeCode&&(this._primeCode=function(e,t){var r=t.toString("hex"),n=[r,e.toString(16)].join("_");if(n in p)return p[n];var f,h=0;if(e.isEven()||!l.simpleSieve||!l.fermatTest(e)||!i.test(e))return h+=1,h+="02"===r||"05"===r?8:4,p[n]=h,h;switch(i.test(e.shrn(1))||(h+=2),r){case"02":e.mod(o).cmp(a)&&(h+=8);break;case"05":(f=e.mod(s)).cmp(u)&&f.cmp(c)&&(h+=8);break;default:h+=4}return p[n]=h,h}(this.__prime,this.__gen)),this._primeCode}}),y.prototype.generateKeys=function(){return this._priv||(this._priv=new n(f(this._primeLen))),this._pub=this._gen.toRed(this._prime).redPow(this._priv).fromRed(),this.getPublicKey()},y.prototype.computeSecret=function(e){var r=(e=(e=new n(e)).toRed(this._prime)).redPow(this._priv).fromRed(),i=new t(r.toArray()),o=this.getPrime();if(i.length<o.length){var a=new t(o.length-i.length);a.fill(0),i=t.concat([a,i])}return i},y.prototype.getPublicKey=function(e){return m(this._pub,e)},y.prototype.getPrivateKey=function(e){return m(this._priv,e)},y.prototype.getPrime=function(e){return m(this.__prime,e)},y.prototype.getGenerator=function(e){return m(this._gen,e)},y.prototype.setGenerator=function(e,r){return r=r||"utf8",t.isBuffer(e)||(e=new t(e,r)),this.__gen=e,this._gen=new n(e),this}}).call(this,r(10).Buffer)},function(e,t,r){var n=r(5).Buffer,i=r(42),o=r(301),a=r(3),s=r(309),u=r(340),c=r(140);function l(e){o.Writable.call(this);var t=c[e];if(!t)throw new Error("Unknown message digest");
2this._hashType=t.hash,this._hash=i(t.hash),this._tag=t.id,this._signType=t.sign}function f(e){o.Writable.call(this);var t=c[e];if(!t)throw new Error("Unknown message digest");this._hash=i(t.hash),this._tag=t.id,this._signType=t.sign}function h(e){return new l(e)}function d(e){return new f(e)}Object.keys(c).forEach((function(e){c[e].id=n.from(c[e].id,"hex"),c[e.toLowerCase()]=c[e]})),a(l,o.Writable),l.prototype._write=function(e,t,r){this._hash.update(e),r()},l.prototype.update=function(e,t){return"string"===typeof e&&(e=n.from(e,t)),this._hash.update(e),this},l.prototype.sign=function(e,t){this.end();var r=this._hash.digest(),n=s(r,e,this._hashType,this._signType,this._tag);return t?n.toString(t):n},a(f,o.Writable),f.prototype._write=function(e,t,r){this._hash.update(e),r()},f.prototype.update=function(e,t){return"string"===typeof e&&(e=n.from(e,t)),this._hash.update(e),this},f.prototype.verify=function(e,t,r){"string"===typeof t&&(t=n.from(t,r)),this.end();var i=this._hash.digest();return u(t,i,e,this._signType,this._tag)},e.exports={Sign:h,Verify:d,createSign:h,createVerify:d}},function(e,t,r){(t=e.exports=r(155)).Stream=t,t.Readable=t,t.Writable=r(159),t.Duplex=r(38),t.Transform=r(160),t.PassThrough=r(307),t.finished=r(86),t.pipeline=r(308)},,function(e,t,r){"use strict";function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var a=r(10).Buffer,s=r(304).inspect,u=s&&s.custom||"inspect";e.exports=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.head=null,this.tail=null,this.length=0}var t,r,c;return t=e,(r=[{key:"push",value:function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length}},{key:"unshift",value:function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length}},{key:"shift",value:function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(e){if(0===this.length)return"";for(var t=this.head,r=""+t.data;t=t.next;)r+=e+t.data;return r}},{key:"concat",value:function(e){if(0===this.length)return a.alloc(0);for(var t,r,n,i=a.allocUnsafe(e>>>0),o=this.head,s=0;o;)t=o.data,r=i,n=s,a.prototype.copy.call(t,r,n),s+=o.data.length,o=o.next;return i}},{key:"consume",value:function(e,t){var r;return e<this.head.data.length?(r=this.head.data.slice(0,e),this.head.data=this.head.data.slice(e)):r=e===this.head.data.length?this.shift():t?this._getString(e):this._getBuffer(e),r}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(e){var t=this.head,r=1,n=t.data;for(e-=n.length;t=t.next;){var i=t.data,o=e>i.length?i.length:e;if(o===i.length?n+=i:n+=i.slice(0,e),0===(e-=o)){o===i.length?(++r,t.next?this.head=t.next:this.head=this.tail=null):(this.head=t,t.data=i.slice(o));break}++r}return this.length-=r,n}},{key:"_getBuffer",value:function(e){var t=a.allocUnsafe(e),r=this.head,n=1;for(r.data.copy(t),e-=r.data.length;r=r.next;){var i=r.data,o=e>i.length?i.length:e;if(i.copy(t,t.length-e,0,o),0===(e-=o)){o===i.length?(++n,r.next?this.head=r.next:this.head=this.tail=null):(this.head=r,r.data=i.slice(o));break}++n}return this.length-=n,t}},{key:u,value:function(e,t){return s(this,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?n(Object(r),!0).forEach((function(t){i(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEac
vendor: 2,078 bytes, line 2
2h((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},t,{depth:0,customInspect:!1}))}}])&&o(t.prototype,r),c&&o(t,c),e}()},,function(e,t,r){"use strict";(function(t){var n;function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var o=r(86),a=Symbol("lastResolve"),s=Symbol("lastReject"),u=Symbol("error"),c=Symbol("ended"),l=Symbol("lastPromise"),f=Symbol("handlePromise"),h=Symbol("stream");function d(e,t){return{value:e,done:t}}function p(e){var t=e[a];if(null!==t){var r=e[h].read();null!==r&&(e[l]=null,e[a]=null,e[s]=null,t(d(r,!1)))}}function y(e){t.nextTick(p,e)}var m=Object.getPrototypeOf((function(){})),b=Object.setPrototypeOf((i(n={get stream(){return this[h]},next:function(){var e=this,r=this[u];if(null!==r)return Promise.reject(r);if(this[c])return Promise.resolve(d(void 0,!0));if(this[h].destroyed)return new Promise((function(r,n){t.nextTick((function(){e[u]?n(e[u]):r(d(void 0,!0))}))}));var n,i=this[l];if(i)n=new Promise(function(e,t){return function(r,n){e.then((function(){t[c]?r(d(void 0,!0)):t[f](r,n)}),n)}}(i,this));else{var o=this[h].read();if(null!==o)return Promise.resolve(d(o,!1));n=new Promise(this[f])}return this[l]=n,n}},Symbol.asyncIterator,(function(){return this})),i(n,"return",(function(){var e=this;return new Promise((function(t,r){e[h].destroy(null,(function(e){e?r(e):t(d(void 0,!0))}))}))})),n),m);e.exports=function(e){var t,r=Object.create(b,(i(t={},h,{value:e,writable:!0}),i(t,a,{value:null,writable:!0}),i(t,s,{value:null,writable:!0}),i(t,u,{value:null,writable:!0}),i(t,c,{value:e._readableState.endEmitted,writable:!0}),i(t,f,{value:function(e,t){var n=r[h].read();n?(r[l]=null,r[a]=null,r[s]=null,e(d(n,!1))):(r[a]=e,r[s]=t)},writable:!0}),t));return r[l]=null,o(e,(function(e){if(e&&"ERR_STREAM_PREMATURE_CLOSE"!==e.code){var t=r[s];return null!==t&&(r[l]=null,r[a]=null,r[s]=null,t(e)),void(r[u]=e)}var n=r[a];null!==n&&(r[l]=null,r[a]=null,r[s]=null,n(d(void 0,!0))),r[c]=!0})),e.on("readable",y.bind(null,r)),r}}
vendor: 4,175 bytes, line 2
2).call(this,r(8))},function(e,t){e.exports=function(){throw new Error("Readable.from is not available in the browser")}},function(e,t,r){"use strict";e.exports=i;var n=r(160);function i(e){if(!(this instanceof i))return new i(e);n.call(this,e)}r(3)(i,n),i.prototype._transform=function(e,t,r){r(null,e)}},function(e,t,r){"use strict";var n;var i=r(37).codes,o=i.ERR_MISSING_ARGS,a=i.ERR_STREAM_DESTROYED;function s(e){if(e)throw e}function u(e,t,i,o){o=function(e){var t=!1;return function(){t||(t=!0,e.apply(void 0,arguments))}}(o);var s=!1;e.on("close",(function(){s=!0})),void 0===n&&(n=r(86)),n(e,{readable:t,writable:i},(function(e){if(e)return o(e);s=!0,o()}));var u=!1;return function(t){if(!s&&!u)return u=!0,function(e){return e.setHeader&&"function"===typeof e.abort}(e)?e.abort():"function"===typeof e.destroy?e.destroy():void o(t||new a("pipe"))}}function c(e){e()}function l(e,t){return e.pipe(t)}function f(e){return e.length?"function"!==typeof e[e.length-1]?s:e.pop():s}e.exports=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n,i=f(t);if(Array.isArray(t[0])&&(t=t[0]),t.length<2)throw new o("streams");var a=t.map((function(e,r){var o=r<t.length-1;return u(e,o,r>0,(function(e){n||(n=e),e&&a.forEach(c),o||(a.forEach(c),i(n))}))}));return t.reduce(l)}},function(e,t,r){var n=r(5).Buffer,i=r(138),o=r(87),a=r(88).ec,s=r(166),u=r(59),c=r(172);function l(e,t,r,o){if((e=n.from(e.toArray())).length<t.byteLength()){var a=n.alloc(t.byteLength()-e.length);e=n.concat([a,e])}var s=r.length,u=function(e,t){e=(e=f(e,t)).mod(t);var r=n.from(e.toArray());if(r.length<t.byteLength()){var i=n.alloc(t.byteLength()-r.length);r=n.concat([i,r])}return r}(r,t),c=n.alloc(s);c.fill(1);var l=n.alloc(s);return l=i(o,l).update(c).update(n.from([0])).update(e).update(u).digest(),c=i(o,l).update(c).digest(),{k:l=i(o,l).update(c).update(n.from([1])).update(e).update(u).digest(),v:c=i(o,l).update(c).digest()}}function f(e,t){var r=new s(e),n=(e.length<<3)-t.bitLength();return n>0&&r.ishrn(n),r}function h(e,t,r){var o,a;do{for(o=n.alloc(0);8*o.length<e.bitLength();)t.v=i(r,t.k).update(t.v).digest(),o=n.concat([o,t.v]);a=f(o,e),t.k=i(r,t.k).update(t.v).update(n.from([0])).digest(),t.v=i(r,t.k).update(t.v).digest()}while(-1!==a.cmp(e));return a}function d(e,t,r,n){return e.toRed(s.mont(r)).redPow(t).fromRed().mod(n)}e.exports=function(e,t,r,i,p){var y=u(t);if(y.curve){if("ecdsa"!==i&&"ecdsa/rsa"!==i)throw new Error("wrong private key type");return function(e,t){var r=c[t.curve.join(".")];if(!r)throw new Error("unknown curve "+t.curve.join("."));var i=new a(r).keyFromPrivate(t.privateKey).sign(e);return n.from(i.toDER())}(e,y)}if("dsa"===y.type){if("dsa"!==i)throw new Error("wrong private key type");return function(e,t,r){var i,o=t.params.priv_key,a=t.params.p,u=t.params.q,c=t.params.g,p=new s(0),y=f(e,u).mod(u),m=!1,b=l(o,u,e,r);for(;!1===m;)p=d(c,i=h(u,b,r),a,u),0===(m=i.invm(u).imul(y.add(o.mul(p))).mod(u)).cmpn(0)&&(m=!1,p=new s(0));return function(e,t){e=e.toArray(),t=t.toArray(),128&e[0]&&(e=[0].concat(e));128&t[0]&&(t=[0].concat(t));var r=[48,e.length+t.length+4,2,e.length];return r=r.concat(e,[2,t.length],t),n.from(r)}(p,m)}(e,y,r)}if("rsa"!==i&&"ecdsa/rsa"!==i)throw new Error("wrong private key type");e=n.concat([p,e]);for(var m=y.modulus.byteLength(),b=[0,1];e.length+b.length+1<m;)b.push(255);b.push(0);for(var v=-1;++v<e.length;)b.push(e[v]);return o(b,y)},e.exports.getKey=l,e.exports.makeKey=h},function(e,t,r){(function(e){!function(e,t){"use strict";function n(e,t){if(!e)throw new Error(t||"Assertion failed")}function i(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}function o(e,t,r){if(o.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,null!==e&&("le"!==t&&"be"!==t||(r=t,t=10),this._init(e||0,t||10,r||"be"))}var a;"object"===typeof e?e.exports=o:t.BN=o,o.BN=o,o.wordSize=26;try{a=r(311).Buffer}catch(O){}function s(e,t,r){for(var i=0,o=Math.min(e.length,r),a=0,s=t;s<o;s++){var u,c=e.charCodeAt(s)-48;i<<=4,i|=u=c>=49&&c<=54?c-49+10:c>=17&&c<=22?c-17+10:c,a|=u}return n(!(240&a),"Invalid character in "+e),i}
vendor: 4,159 bytes, line 2
2function u(e,t,r,i){for(var o=0,a=0,s=Math.min(e.length,r),u=t;u<s;u++){var c=e.charCodeAt(u)-48;o*=i,a=c>=49?c-49+10:c>=17?c-17+10:c,n(c>=0&&a<i,"Invalid character"),o+=a}return o}function c(e,t){e.words=t.words,e.length=t.length,e.negative=t.negative,e.red=t.red}if(o.isBN=function(e){return e instanceof o||null!==e&&"object"===typeof e&&e.constructor.wordSize===o.wordSize&&Array.isArray(e.words)},o.max=function(e,t){return e.cmp(t)>0?e:t},o.min=function(e,t){return e.cmp(t)<0?e:t},o.prototype._init=function(e,t,r){if("number"===typeof e)return this._initNumber(e,t,r);if("object"===typeof e)return this._initArray(e,t,r);"hex"===t&&(t=16),n(t===(0|t)&&t>=2&&t<=36);var i=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&i++,16===t?this._parseHex(e,i):this._parseBase(e,t,i),"-"===e[0]&&(this.negative=1),this._strip(),"le"===r&&this._initArray(this.toArray(),t,r)},o.prototype._initNumber=function(e,t,r){e<0&&(this.negative=1,e=-e),e<67108864?(this.words=[67108863&e],this.length=1):e<4503599627370496?(this.words=[67108863&e,e/67108864&67108863],this.length=2):(n(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),"le"===r&&this._initArray(this.toArray(),t,r)},o.prototype._initArray=function(e,t,r){if(n("number"===typeof e.length),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var o,a,s=0;if("be"===r)for(i=e.length-1,o=0;i>=0;i-=3)a=e[i]|e[i-1]<<8|e[i-2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);else if("le"===r)for(i=0,o=0;i<e.length;i+=3)a=e[i]|e[i+1]<<8|e[i+2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);return this._strip()},o.prototype._parseHex=function(e,t){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var r=0;r<this.length;r++)this.words[r]=0;var n,i,o=0;for(r=e.length-6,n=0;r>=t;r-=6)i=s(e,r,r+6),this.words[n]|=i<<o&67108863,this.words[n+1]|=i>>>26-o&4194303,(o+=24)>=26&&(o-=26,n++);r+6!==t&&(i=s(e,t,r+6),this.words[n]|=i<<o&67108863,this.words[n+1]|=i>>>26-o&4194303),this._strip()},o.prototype._parseBase=function(e,t,r){this.words=[0],this.length=1;for(var n=0,i=1;i<=67108863;i*=t)n++;n--,i=i/t|0;for(var o=e.length-r,a=o%n,s=Math.min(o,o-a)+r,c=0,l=r;l<s;l+=n)c=u(e,l,l+n,t),this.imuln(i),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c);if(0!==a){var f=1;for(c=u(e,l,e.length,t),l=0;l<a;l++)f*=t;this.imuln(f),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c)}},o.prototype.copy=function(e){e.words=new Array(this.length);for(var t=0;t<this.length;t++)e.words[t]=this.words[t];e.length=this.length,e.negative=this.negative,e.red=this.red},o.prototype._move=function(e){c(e,this)},o.prototype.clone=function(){var e=new o(null);return this.copy(e),e},o.prototype._expand=function(e){for(;this.length<e;)this.words[this.length++]=0;return this},o.prototype._strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},"undefined"!==typeof Symbol&&"function"===typeof Symbol.for)try{o.prototype[Symbol.for("nodejs.util.inspect.custom")]=l}catch(O){o.prototype.inspect=l}else o.prototype.inspect=l;function l(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"}var f=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],h=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],d=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,143489
vendor: 4,710 bytes, line 2
207,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];o.prototype.toString=function(e,t){var r;if(t=0|t||1,16===(e=e||10)||"hex"===e){r="";for(var i=0,o=0,a=0;a<this.length;a++){var s=this.words[a],u=(16777215&(s<<i|o)).toString(16);r=0!==(o=s>>>24-i&16777215)||a!==this.length-1?f[6-u.length]+u+r:u+r,(i+=2)>=26&&(i-=26,a--)}for(0!==o&&(r=o.toString(16)+r);r.length%t!==0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}if(e===(0|e)&&e>=2&&e<=36){var c=h[e],l=d[e];r="";var p=this.clone();for(p.negative=0;!p.isZero();){var y=p.modrn(l).toString(e);r=(p=p.idivn(l)).isZero()?y+r:f[c-y.length]+y+r}for(this.isZero()&&(r="0"+r);r.length%t!==0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}n(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},o.prototype.toJSON=function(){return this.toString(16,2)},a&&(o.prototype.toBuffer=function(e,t){return this.toArrayLike(a,e,t)}),o.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)};function p(e,t,r){r.negative=t.negative^e.negative;var n=e.length+t.length|0;r.length=n,n=n-1|0;var i=0|e.words[0],o=0|t.words[0],a=i*o,s=67108863&a,u=a/67108864|0;r.words[0]=s;for(var c=1;c<n;c++){for(var l=u>>>26,f=67108863&u,h=Math.min(c,t.length-1),d=Math.max(0,c-e.length+1);d<=h;d++){var p=c-d|0;l+=(a=(i=0|e.words[p])*(o=0|t.words[d])+f)/67108864|0,f=67108863&a}r.words[c]=0|f,u=0|l}return 0!==u?r.words[c]=0|u:r.length--,r._strip()}o.prototype.toArrayLike=function(e,t,r){this._strip();var i=this.byteLength(),o=r||Math.max(1,i);n(i<=o,"byte array longer than desired length"),n(o>0,"Requested array length <= 0");var a=function(e,t){return e.allocUnsafe?e.allocUnsafe(t):new e(t)}(e,o);return this["_toArrayLike"+("le"===t?"LE":"BE")](a,i),a},o.prototype._toArrayLikeLE=function(e,t){for(var r=0,n=0,i=0,o=0;i<this.length;i++){var a=this.words[i]<<o|n;e[r++]=255&a,r<e.length&&(e[r++]=a>>8&255),r<e.length&&(e[r++]=a>>16&255),6===o?(r<e.length&&(e[r++]=a>>24&255),n=0,o=0):(n=a>>>24,o+=2)}if(r<e.length)for(e[r++]=n;r<e.length;)e[r++]=0},o.prototype._toArrayLikeBE=function(e,t){for(var r=e.length-1,n=0,i=0,o=0;i<this.length;i++){var a=this.words[i]<<o|n;e[r--]=255&a,r>=0&&(e[r--]=a>>8&255),r>=0&&(e[r--]=a>>16&255),6===o?(r>=0&&(e[r--]=a>>24&255),n=0,o=0):(n=a>>>24,o+=2)}if(r>=0)for(e[r--]=n;r>=0;)e[r--]=0},Math.clz32?o.prototype._countBits=function(e){return 32-Math.clz32(e)}:o.prototype._countBits=function(e){var t=e,r=0;return t>=4096&&(r+=13,t>>>=13),t>=64&&(r+=7,t>>>=7),t>=8&&(r+=4,t>>>=4),t>=2&&(r+=2,t>>>=2),r+t},o.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,r=0;return 0===(8191&t)&&(r+=13,t>>>=13),0===(127&t)&&(r+=7,t>>>=7),0===(15&t)&&(r+=4,t>>>=4),0===(3&t)&&(r+=2,t>>>=2),0===(1&t)&&r++,r},o.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;t<this.length;t++){var r=this._zeroBits(this.words[t]);if(e+=r,26!==r)break}return e},o.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},o.prototype.toTwos=function(e){return 0!==this.negative?this.abs().inotn(e).iaddn(1):this.clone()},o.prototype.fromTwos=function(e){return this.testn(e-1)?this.notn(e).iaddn(1).ineg():this.clone()},o.prototype.isNeg=function(){return 0!==this.negative},o.prototype.neg=function(){return this.clone().ineg()},o.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},o.prototype.iuor=function(e){for(;this.length<e.length;)this.words[this.length++]=0;for(var t=0;t<e.length;t++)this.words[t]=this.words[t]|e.words[t];return this._strip()},o.prototype.ior=function(e){return n(0===(this.negative|e.negative)),this.iuor(e)},o.prototype.or=function(e){return this.length>e.length?this.clone().ior(e):e.clone().ior(this)},o.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},o.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var r=0;r<t.length;r++)this.words[r]=this.words[r]&e.words[r];return this.length=t.length,this._strip()},o.prototype.iand=function(e){return n(0===(this.negative|e.negative)),this.iuand(e)},o.prototype.and=function(e){return this.length>e.length?this.clone().iand(e):e.clone().iand(this)},o.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},o.prototype.iuxor=function(e){var t,r;this.length>e.length?(t=this,r=e):(t=e,r=this);for(var n=0;n<r.length;
vendor: 7,410 bytes, line 2
2n++)this.words[n]=t.words[n]^r.words[n];if(this!==t)for(;n<t.length;n++)this.words[n]=t.words[n];return this.length=t.length,this._strip()},o.prototype.ixor=function(e){return n(0===(this.negative|e.negative)),this.iuxor(e)},o.prototype.xor=function(e){return this.length>e.length?this.clone().ixor(e):e.clone().ixor(this)},o.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},o.prototype.inotn=function(e){n("number"===typeof e&&e>=0);var t=0|Math.ceil(e/26),r=e%26;this._expand(t),r>0&&t--;for(var i=0;i<t;i++)this.words[i]=67108863&~this.words[i];return r>0&&(this.words[i]=~this.words[i]&67108863>>26-r),this._strip()},o.prototype.notn=function(e){return this.clone().inotn(e)},o.prototype.setn=function(e,t){n("number"===typeof e&&e>=0);var r=e/26|0,i=e%26;return this._expand(r+1),this.words[r]=t?this.words[r]|1<<i:this.words[r]&~(1<<i),this._strip()},o.prototype.iadd=function(e){var t,r,n;if(0!==this.negative&&0===e.negative)return this.negative=0,t=this.isub(e),this.negative^=1,this._normSign();if(0===this.negative&&0!==e.negative)return e.negative=0,t=this.isub(e),e.negative=1,t._normSign();this.length>e.length?(r=this,n=e):(r=e,n=this);for(var i=0,o=0;o<n.length;o++)t=(0|r.words[o])+(0|n.words[o])+i,this.words[o]=67108863&t,i=t>>>26;for(;0!==i&&o<r.length;o++)t=(0|r.words[o])+i,this.words[o]=67108863&t,i=t>>>26;if(this.length=r.length,0!==i)this.words[this.length]=i,this.length++;else if(r!==this)for(;o<r.length;o++)this.words[o]=r.words[o];return this},o.prototype.add=function(e){var t;return 0!==e.negative&&0===this.negative?(e.negative=0,t=this.sub(e),e.negative^=1,t):0===e.negative&&0!==this.negative?(this.negative=0,t=e.sub(this),this.negative=1,t):this.length>e.length?this.clone().iadd(e):e.clone().iadd(this)},o.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t=this.iadd(e);return e.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var r,n,i=this.cmp(e);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(r=this,n=e):(r=e,n=this);for(var o=0,a=0;a<n.length;a++)o=(t=(0|r.words[a])-(0|n.words[a])+o)>>26,this.words[a]=67108863&t;for(;0!==o&&a<r.length;a++)o=(t=(0|r.words[a])+o)>>26,this.words[a]=67108863&t;if(0===o&&a<r.length&&r!==this)for(;a<r.length;a++)this.words[a]=r.words[a];return this.length=Math.max(this.length,a),r!==this&&(this.negative=1),this._strip()},o.prototype.sub=function(e){return this.clone().isub(e)};var y=function(e,t,r){var n,i,o,a=e.words,s=t.words,u=r.words,c=0,l=0|a[0],f=8191&l,h=l>>>13,d=0|a[1],p=8191&d,y=d>>>13,m=0|a[2],b=8191&m,v=m>>>13,g=0|a[3],_=8191&g,w=g>>>13,S=0|a[4],M=8191&S,x=S>>>13,E=0|a[5],k=8191&E,O=E>>>13,T=0|a[6],P=8191&T,A=T>>>13,R=0|a[7],j=8191&R,C=R>>>13,N=0|a[8],I=8191&N,L=N>>>13,D=0|a[9],B=8191&D,q=D>>>13,U=0|s[0],z=8191&U,F=U>>>13,H=0|s[1],V=8191&H,W=H>>>13,G=0|s[2],K=8191&G,Y=G>>>13,X=0|s[3],$=8191&X,Z=X>>>13,J=0|s[4],Q=8191&J,ee=J>>>13,te=0|s[5],re=8191&te,ne=te>>>13,ie=0|s[6],oe=8191&ie,ae=ie>>>13,se=0|s[7],ue=8191&se,ce=se>>>13,le=0|s[8],fe=8191&le,he=le>>>13,de=0|s[9],pe=8191&de,ye=de>>>13;r.negative=e.negative^t.negative,r.length=19;var me=(c+(n=Math.imul(f,z))|0)+((8191&(i=(i=Math.imul(f,F))+Math.imul(h,z)|0))<<13)|0;c=((o=Math.imul(h,F))+(i>>>13)|0)+(me>>>26)|0,me&=67108863,n=Math.imul(p,z),i=(i=Math.imul(p,F))+Math.imul(y,z)|0,o=Math.imul(y,F);var be=(c+(n=n+Math.imul(f,V)|0)|0)+((8191&(i=(i=i+Math.imul(f,W)|0)+Math.imul(h,V)|0))<<13)|0;c=((o=o+Math.imul(h,W)|0)+(i>>>13)|0)+(be>>>26)|0,be&=67108863,n=Math.imul(b,z),i=(i=Math.imul(b,F))+Math.imul(v,z)|0,o=Math.imul(v,F),n=n+Math.imul(p,V)|0,i=(i=i+Math.imul(p,W)|0)+Math.imul(y,V)|0,o=o+Math.imul(y,W)|0;var ve=(c+(n=n+Math.imul(f,K)|0)|0)+((8191&(i=(i=i+Math.imul(f,Y)|0)+Math.imul(h,K)|0))<<13)|0;c=((o=o+Math.imul(h,Y)|0)+(i>>>13)|0)+(ve>>>26)|0,ve&=67108863,n=Math.imul(_,z),i=(i=Math.imul(_,F))+Math.imul(w,z)|0,o=Math.imul(w,F),n=n+Math.imul(b,V)|0,i=(i=i+Math.imul(b,W)|0)+Math.imul(v,V)|0,o=o+Math.imul(v,W)|0,n=n+Math.imul(p,K)|0,i=(i=i+Math.imul(p,Y)|0)+Math.imul(y,K)|0,o=o+Math.imul(y,Y)|0;var ge=(c+(n=n+Math.imul(f,$)|0)|0)+((8191&(i=(i=i+Math.imul(f,Z)|0)+Math.imul(h,$)|0))<<13)|0;c=((o=o+Math.imul(h,Z)|0)+(i>>>13)|0)+(ge>>>26)|0,ge&=67108863,n=Math.imul(M,z),i=(i=Math.imul(M,F))+Math.imul(x,z)|0,o=Math.imul(x,F),n=n+Math.imul(_,V)|0,i=(i=i+Math.imul(_,W)|0)+Math.imul(w,V)|0,o=o+Math.imul(w,W)|0,n=n+Math.imul(b,K)|0,i=(i=i+Math.imul(b,Y)|0)+Math.imul(v,K)|0,o=o+Math.imul(v,Y)|0,n=n+Math.imul(p,$)|0,i=(i=i+Math.imul(p,Z)|0)+Math.imul(y,$)|0,o=o+Math.imul(y,Z)|0;var _e=(c+(n=n+Math.imul(f,Q)|0)|0)+((8191&(i=(i=i+Math.imul(f,ee)|0)+Math.imul(h,Q)|0))<<13)|0;c=((o=o+Math.imul(h,ee)|0)+(i>>>13)|0)+(_e>>>26)|0,_e&=67108863,n=Math.imul(k,z),i=(i=Math.imul(k,F))+Math.imul(O,z)|0,o=Math.imul(O,F),n=n+Math.imul(M,V)|0,i=(i=i+Math.imul(M,W)|0)+Math.imul(x,V)|0,o=o+Math.imul(x,W)|0,n=n+Math.imul(_,K)|0,i=(i=i+Math.imul(_,Y)|0)+Math.imul(w,K)|0,o=o+Math.imul(w,Y)|0,n=n+Math.imul(b,$)|0,i=(i=i+Math.imul(b,Z)|0)+Math.imul(v,$)|0,o=o+Math.imul(v,Z)|0,n=n+Math.imul(p,Q)|0,i=(i=i+Math.imul(p,ee)|0)+Math.imul(y,Q)|0,o=o+Math.imul(y,ee)|0;var we=(c+(n=n+Math.imul(f,re)|0)|0)+((8191&(i=(i=i+Math.imul(f,ne)|0)+Math.imul(h,re)|0))<<13)|0;c=((o=o+Math.imul(h,ne)|0)+(i>>>13)|0)+(we>>>26)|0,we&=67108863,n=Math.imul(P,z),i=(i=Math.imul(P,F))+Math.imul(A,z)|0,o=Math.imul(A,F),n=n+Math.imul(k,V)|0,i=(i=i+Math.imul(k,W)|0)+Math.imul(O,V)|0,o=o+Math.imul(O,W)|0,n=n+Math.imul(M,K)|0,i=(i=i+Math.imul(M,Y)|0)+Math.imul(x,K)|0,o=o+Math.imul(x,Y)|0,n=n+Math.imul(_,$)|0,i=(i=i+Math.imul(_,Z)|0)+Math.imul(w,$)|0,o=o+Math.imul(w,Z)|0,n=n+Math.imul(b,Q)|0,i=(i=i+Math.imul(b,ee)|0)+Math.imul(v,Q)|0,o=o+Math.imul(v,ee)|0,n=n+Math.imul(p,re)|0,i=(i=i+Math.imul(p,ne)|0)+Math.imul(y,re)|0,o=o+Math.imul(y,ne)|0;var Se=(c+(n=n+Math.imul(f,oe)|0)|0)+((8191&(i=(i=i+Math.imul(f,ae)|0)+Math.imul(h,oe)|0))<<13)|0;c=((o=o+Math.imul(h,ae)|0)+(i>>>13)|0)+(Se>>>26)|0,Se&=67108863,n=Math.imul(j,z),i=(i=Math.imul(j,F))+Math.imul(C,z)|0,o=Math.imul(C,F),n=n+Math.imul(P,V)|0,i=(i=i+Math.imul(P,W)|0)+Math.imul(A,V)|0,o=o+Math.imul(A,W)|0,n=n+Math.imul(k,K)|0,i=(i=i+Math.imul(k,Y)|0)+Math.imul(O,K)|0,o=o+Math.imul(O,Y)|0,n=n+Math.imul(M,$)|0,i=(i=i+Math.imul(M,Z)|0)+Math.imul(x,$)|0,o=o+Math.imul(x,Z)|0,n=n+Math.imul(_,Q)|0,i=(i=i+Math.imul(_,ee)|0)+Math.imul(w,Q)|0,o=o+Math.imul(w,ee)|0,n=n+Math.imul(b,re)|0,i=(i=i+Math.imul(b,ne)|0)+Math.imul(v,re)|0,o=o+Math.imul(v,ne)|0,n=n+Math.imul(p,oe)|0,i=(i=i+Math.imul(p,ae)|0)+Math.imul(y,oe)|0,o=o+Math.imul(y,ae)|0;var Me=(c+(n=n+Math.imul(f,ue)|0)|0)+((8191&(i=(i=i+Math.imul(f,ce)|0)+Math.imul(h,ue)|0))<<13)|0;c=((o=o+Math.imul(h,ce)|0)+(i>>>13)|0)+(Me>>>26)|0,Me&=67108863,n=Math.imul(I,z),i=(i=Math.imul(I,F))+Math.imul(L,z)|0,o=Math.imul(L,F),n=n+Math.imul(j,V)|0,i=(i=i+Math.imul(j,W)|0)+Math.imul(C,V)|0,o=o+Math.imul(C,W)|0,n=n+Math.imul(P,K)|0,i=(i=i+Math.imul(P,Y)|0)+Math.imul(A,K)|0,o=o+Math.imul(A,Y)|0,n=n+Math.imul(k,$)|0,i=(i=i+Math.imul(k,Z)|0)+Math.imul(O,$)|0,o=o+Math.imul(O,Z)|0,n=n+Math.imul(M,Q)|0,i=(i=i+Math.imul(M,ee)|0)+Math.imul(x,Q)|0,o=o+Math.imul(x,ee)|0,n=n+Math.imul(_,re)|0,i=(i=i+Math.imul(_,ne)|0)+Math.imul(w,re)|0,o=o+Math.imul(w,ne)|0,n=n+Math.imul(b,oe)|0,i=(i=i+Math.imul(b,ae)|0)+Math.imul(v,oe)|0,o=o+Math.imul(v,ae)|0,n=n+Math.imul(p,ue)|0,i=(i=i+Math.imul(p,ce)|0)+Math.imul(y,ue)|0,o=o+Math.imul(y,
vendor: 4,377 bytes, line 2
2ce)|0;var xe=(c+(n=n+Math.imul(f,fe)|0)|0)+((8191&(i=(i=i+Math.imul(f,he)|0)+Math.imul(h,fe)|0))<<13)|0;c=((o=o+Math.imul(h,he)|0)+(i>>>13)|0)+(xe>>>26)|0,xe&=67108863,n=Math.imul(B,z),i=(i=Math.imul(B,F))+Math.imul(q,z)|0,o=Math.imul(q,F),n=n+Math.imul(I,V)|0,i=(i=i+Math.imul(I,W)|0)+Math.imul(L,V)|0,o=o+Math.imul(L,W)|0,n=n+Math.imul(j,K)|0,i=(i=i+Math.imul(j,Y)|0)+Math.imul(C,K)|0,o=o+Math.imul(C,Y)|0,n=n+Math.imul(P,$)|0,i=(i=i+Math.imul(P,Z)|0)+Math.imul(A,$)|0,o=o+Math.imul(A,Z)|0,n=n+Math.imul(k,Q)|0,i=(i=i+Math.imul(k,ee)|0)+Math.imul(O,Q)|0,o=o+Math.imul(O,ee)|0,n=n+Math.imul(M,re)|0,i=(i=i+Math.imul(M,ne)|0)+Math.imul(x,re)|0,o=o+Math.imul(x,ne)|0,n=n+Math.imul(_,oe)|0,i=(i=i+Math.imul(_,ae)|0)+Math.imul(w,oe)|0,o=o+Math.imul(w,ae)|0,n=n+Math.imul(b,ue)|0,i=(i=i+Math.imul(b,ce)|0)+Math.imul(v,ue)|0,o=o+Math.imul(v,ce)|0,n=n+Math.imul(p,fe)|0,i=(i=i+Math.imul(p,he)|0)+Math.imul(y,fe)|0,o=o+Math.imul(y,he)|0;var Ee=(c+(n=n+Math.imul(f,pe)|0)|0)+((8191&(i=(i=i+Math.imul(f,ye)|0)+Math.imul(h,pe)|0))<<13)|0;c=((o=o+Math.imul(h,ye)|0)+(i>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,n=Math.imul(B,V),i=(i=Math.imul(B,W))+Math.imul(q,V)|0,o=Math.imul(q,W),n=n+Math.imul(I,K)|0,i=(i=i+Math.imul(I,Y)|0)+Math.imul(L,K)|0,o=o+Math.imul(L,Y)|0,n=n+Math.imul(j,$)|0,i=(i=i+Math.imul(j,Z)|0)+Math.imul(C,$)|0,o=o+Math.imul(C,Z)|0,n=n+Math.imul(P,Q)|0,i=(i=i+Math.imul(P,ee)|0)+Math.imul(A,Q)|0,o=o+Math.imul(A,ee)|0,n=n+Math.imul(k,re)|0,i=(i=i+Math.imul(k,ne)|0)+Math.imul(O,re)|0,o=o+Math.imul(O,ne)|0,n=n+Math.imul(M,oe)|0,i=(i=i+Math.imul(M,ae)|0)+Math.imul(x,oe)|0,o=o+Math.imul(x,ae)|0,n=n+Math.imul(_,ue)|0,i=(i=i+Math.imul(_,ce)|0)+Math.imul(w,ue)|0,o=o+Math.imul(w,ce)|0,n=n+Math.imul(b,fe)|0,i=(i=i+Math.imul(b,he)|0)+Math.imul(v,fe)|0,o=o+Math.imul(v,he)|0;var ke=(c+(n=n+Math.imul(p,pe)|0)|0)+((8191&(i=(i=i+Math.imul(p,ye)|0)+Math.imul(y,pe)|0))<<13)|0;c=((o=o+Math.imul(y,ye)|0)+(i>>>13)|0)+(ke>>>26)|0,ke&=67108863,n=Math.imul(B,K),i=(i=Math.imul(B,Y))+Math.imul(q,K)|0,o=Math.imul(q,Y),n=n+Math.imul(I,$)|0,i=(i=i+Math.imul(I,Z)|0)+Math.imul(L,$)|0,o=o+Math.imul(L,Z)|0,n=n+Math.imul(j,Q)|0,i=(i=i+Math.imul(j,ee)|0)+Math.imul(C,Q)|0,o=o+Math.imul(C,ee)|0,n=n+Math.imul(P,re)|0,i=(i=i+Math.imul(P,ne)|0)+Math.imul(A,re)|0,o=o+Math.imul(A,ne)|0,n=n+Math.imul(k,oe)|0,i=(i=i+Math.imul(k,ae)|0)+Math.imul(O,oe)|0,o=o+Math.imul(O,ae)|0,n=n+Math.imul(M,ue)|0,i=(i=i+Math.imul(M,ce)|0)+Math.imul(x,ue)|0,o=o+Math.imul(x,ce)|0,n=n+Math.imul(_,fe)|0,i=(i=i+Math.imul(_,he)|0)+Math.imul(w,fe)|0,o=o+Math.imul(w,he)|0;var Oe=(c+(n=n+Math.imul(b,pe)|0)|0)+((8191&(i=(i=i+Math.imul(b,ye)|0)+Math.imul(v,pe)|0))<<13)|0;c=((o=o+Math.imul(v,ye)|0)+(i>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,n=Math.imul(B,$),i=(i=Math.imul(B,Z))+Math.imul(q,$)|0,o=Math.imul(q,Z),n=n+Math.imul(I,Q)|0,i=(i=i+Math.imul(I,ee)|0)+Math.imul(L,Q)|0,o=o+Math.imul(L,ee)|0,n=n+Math.imul(j,re)|0,i=(i=i+Math.imul(j,ne)|0)+Math.imul(C,re)|0,o=o+Math.imul(C,ne)|0,n=n+Math.imul(P,oe)|0,i=(i=i+Math.imul(P,ae)|0)+Math.imul(A,oe)|0,o=o+Math.imul(A,ae)|0,n=n+Math.imul(k,ue)|0,i=(i=i+Math.imul(k,ce)|0)+Math.imul(O,ue)|0,o=o+Math.imul(O,ce)|0,n=n+Math.imul(M,fe)|0,i=(i=i+Math.imul(M,he)|0)+Math.imul(x,fe)|0,o=o+Math.imul(x,he)|0;var Te=(c+(n=n+Math.imul(_,pe)|0)|0)+((8191&(i=(i=i+Math.imul(_,ye)|0)+Math.imul(w,pe)|0))<<13)|0;c=((o=o+Math.imul(w,ye)|0)+(i>>>13)|0)+(Te>>>26)|0,Te&=67108863,n=Math.imul(B,Q),i=(i=Math.imul(B,ee))+Math.imul(q,Q)|0,o=Math.imul(q,ee),n=n+Math.imul(I,re)|0,i=(i=i+Math.imul(I,ne)|0)+Math.imul(L,re)|0,o=o+Math.imul(L,ne)|0,n=n+Math.imul(j,oe)|0,i=(i=i+Math.imul(j,ae)|0)+Math.imul(C,oe)|0,o=o+Math.imul(C,ae)|0,n=n+Math.imul(P,ue)|0,i=(i=i+Math.imul(P,ce)|0)+Math.imul(A,ue)|0,o=o+Math.imul(A,ce)|0,n=n+Math.imul(k,fe)|0,i=(i=i+Math.imul(k,he)|0)+Math.imul(O,fe)|0,o=o+Math.imul(O,he)|0;var Pe=(c+(n=n+Math.imul(M,pe)|0)|0)+((8191&(i=(i=i+Math.imul(M,ye)|0)+Math.imul(x,pe)|0))<<13)|0;c=((o=o+Math.imul(x,ye)|0)+(i>>>13)|0)+(Pe>>>26)|0,Pe&=67108863,n=Math.imul(B,re),i=(i=Math.imul(B,ne))+Math.imul(q,re)|0,o=Math.imul(q,ne),n=n+Math.imul(I,oe)|0,i=(i=i+Math.imul(I,ae)|0)+Math.imul(L,oe)|0,o=o+Math.imul(L,ae)|0,n=n+Math.imul(j,ue)|0,i=(i=i+Math.imul(j,ce)|0)+Math.imul(C,ue)|0,o=o+Math.imul(C,ce)|0,n=n+Math.imul(P,fe)|0,i=(i=i+Math.imul(P,he)|0)+Math.imul(A,fe)|0,o=o+Math.imul(A,he)|0;var Ae=(c+(n=n+Math.imul(k,pe)|0)|0)+((8191&(i=(i=i+Math.imul(k,ye)|0)+Math.imul(O,pe)|0)
vendor: 9,549 bytes, line 2
2)<<13)|0;c=((o=o+Math.imul(O,ye)|0)+(i>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,n=Math.imul(B,oe),i=(i=Math.imul(B,ae))+Math.imul(q,oe)|0,o=Math.imul(q,ae),n=n+Math.imul(I,ue)|0,i=(i=i+Math.imul(I,ce)|0)+Math.imul(L,ue)|0,o=o+Math.imul(L,ce)|0,n=n+Math.imul(j,fe)|0,i=(i=i+Math.imul(j,he)|0)+Math.imul(C,fe)|0,o=o+Math.imul(C,he)|0;var Re=(c+(n=n+Math.imul(P,pe)|0)|0)+((8191&(i=(i=i+Math.imul(P,ye)|0)+Math.imul(A,pe)|0))<<13)|0;c=((o=o+Math.imul(A,ye)|0)+(i>>>13)|0)+(Re>>>26)|0,Re&=67108863,n=Math.imul(B,ue),i=(i=Math.imul(B,ce))+Math.imul(q,ue)|0,o=Math.imul(q,ce),n=n+Math.imul(I,fe)|0,i=(i=i+Math.imul(I,he)|0)+Math.imul(L,fe)|0,o=o+Math.imul(L,he)|0;var je=(c+(n=n+Math.imul(j,pe)|0)|0)+((8191&(i=(i=i+Math.imul(j,ye)|0)+Math.imul(C,pe)|0))<<13)|0;c=((o=o+Math.imul(C,ye)|0)+(i>>>13)|0)+(je>>>26)|0,je&=67108863,n=Math.imul(B,fe),i=(i=Math.imul(B,he))+Math.imul(q,fe)|0,o=Math.imul(q,he);var Ce=(c+(n=n+Math.imul(I,pe)|0)|0)+((8191&(i=(i=i+Math.imul(I,ye)|0)+Math.imul(L,pe)|0))<<13)|0;c=((o=o+Math.imul(L,ye)|0)+(i>>>13)|0)+(Ce>>>26)|0,Ce&=67108863;var Ne=(c+(n=Math.imul(B,pe))|0)+((8191&(i=(i=Math.imul(B,ye))+Math.imul(q,pe)|0))<<13)|0;return c=((o=Math.imul(q,ye))+(i>>>13)|0)+(Ne>>>26)|0,Ne&=67108863,u[0]=me,u[1]=be,u[2]=ve,u[3]=ge,u[4]=_e,u[5]=we,u[6]=Se,u[7]=Me,u[8]=xe,u[9]=Ee,u[10]=ke,u[11]=Oe,u[12]=Te,u[13]=Pe,u[14]=Ae,u[15]=Re,u[16]=je,u[17]=Ce,u[18]=Ne,0!==c&&(u[19]=c,r.length++),r};function m(e,t,r){r.negative=t.negative^e.negative,r.length=e.length+t.length;for(var n=0,i=0,o=0;o<r.length-1;o++){var a=i;i=0;for(var s=67108863&n,u=Math.min(o,t.length-1),c=Math.max(0,o-e.length+1);c<=u;c++){var l=o-c,f=(0|e.words[l])*(0|t.words[c]),h=67108863&f;s=67108863&(h=h+s|0),i+=(a=(a=a+(f/67108864|0)|0)+(h>>>26)|0)>>>26,a&=67108863}r.words[o]=s,n=a,a=i}return 0!==n?r.words[o]=n:r.length--,r._strip()}function b(e,t,r){return m(e,t,r)}function v(e,t){this.x=e,this.y=t}Math.imul||(y=p),o.prototype.mulTo=function(e,t){var r=this.length+e.length;return 10===this.length&&10===e.length?y(this,e,t):r<63?p(this,e,t):r<1024?m(this,e,t):b(this,e,t)},v.prototype.makeRBT=function(e){for(var t=new Array(e),r=o.prototype._countBits(e)-1,n=0;n<e;n++)t[n]=this.revBin(n,r,e);return t},v.prototype.revBin=function(e,t,r){if(0===e||e===r-1)return e;for(var n=0,i=0;i<t;i++)n|=(1&e)<<t-i-1,e>>=1;return n},v.prototype.permute=function(e,t,r,n,i,o){for(var a=0;a<o;a++)n[a]=t[e[a]],i[a]=r[e[a]]},v.prototype.transform=function(e,t,r,n,i,o){this.permute(o,e,t,r,n,i);for(var a=1;a<i;a<<=1)for(var s=a<<1,u=Math.cos(2*Math.PI/s),c=Math.sin(2*Math.PI/s),l=0;l<i;l+=s)for(var f=u,h=c,d=0;d<a;d++){var p=r[l+d],y=n[l+d],m=r[l+d+a],b=n[l+d+a],v=f*m-h*b;b=f*b+h*m,m=v,r[l+d]=p+m,n[l+d]=y+b,r[l+d+a]=p-m,n[l+d+a]=y-b,d!==s&&(v=u*f-c*h,h=u*h+c*f,f=v)}},v.prototype.guessLen13b=function(e,t){var r=1|Math.max(t,e),n=1&r,i=0;for(r=r/2|0;r;r>>>=1)i++;return 1<<i+1+n},v.prototype.conjugate=function(e,t,r){if(!(r<=1))for(var n=0;n<r/2;n++){var i=e[n];e[n]=e[r-n-1],e[r-n-1]=i,i=t[n],t[n]=-t[r-n-1],t[r-n-1]=-i}},v.prototype.normalize13b=function(e,t){for(var r=0,n=0;n<t/2;n++){var i=8192*Math.round(e[2*n+1]/t)+Math.round(e[2*n]/t)+r;e[n]=67108863&i,r=i<67108864?0:i/67108864|0}return e},v.prototype.convert13b=function(e,t,r,i){for(var o=0,a=0;a<t;a++)o+=0|e[a],r[2*a]=8191&o,o>>>=13,r[2*a+1]=8191&o,o>>>=13;for(a=2*t;a<i;++a)r[a]=0;n(0===o),n(0===(-8192&o))},v.prototype.stub=function(e){for(var t=new Array(e),r=0;r<e;r++)t[r]=0;return t},v.prototype.mulp=function(e,t,r){var n=2*this.guessLen13b(e.length,t.length),i=this.makeRBT(n),o=this.stub(n),a=new Array(n),s=new Array(n),u=new Array(n),c=new Array(n),l=new Array(n),f=new Array(n),h=r.words;h.length=n,this.convert13b(e.words,e.length,a,n),this.convert13b(t.words,t.length,c,n),this.transform(a,o,s,u,n,i),this.transform(c,o,l,f,n,i);for(var d=0;d<n;d++){var p=s[d]*l[d]-u[d]*f[d];u[d]=s[d]*f[d]+u[d]*l[d],s[d]=p}return this.conjugate(s,u,n),this.transform(s,u,h,o,n,i),this.conjugate(h,o,n),this.normalize13b(h,n),r.negative=e.negative^t.negative,r.length=e.length+t.length,r._strip()},o.prototype.mul=function(e){var t=new o(null);return t.words=new Array(this.length+e.length),this.mulTo(e,t)},o.prototype.mulf=function(e){var t=new o(null);return t.words=new Array(this.length+e.length),b(this,e,t)},o.prototype.imul=function(e){return this.clone().mulTo(e,this)},o.prototype.imuln=function(e){var t=e<0;t&&(e=-e),n("number"===typeof e),n(e<67108864);for(var r=0,i=0;i<this.length;i++){var o=(0|this.words[i])*e,a=(67108863&o)+(67108863&r);r>>=26,r+=o/67108864|0,r+=a>>>26,this.words[i]=67108863&a}return 0!==r&&(this.words[i]=r,this.length++),t?this.ineg():this},o.prototype.muln=function(e){return this.clone().imuln(e)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(e){var t=function(e){for(var t=new Array(e.bitLength()),r=0;r<t.length;r++){var n=r/26|0,i=r%26;t[r]=e.words[n]>>>i&1}return t}(e);if(0===t.length)return new o(1);for(var r=this,n=0;n<t.length&&0===t[n];n++,r=r.sqr());if(++n<t.length)for(var i=r.sqr();n<t.length;n++,i=i.sqr())0!==t[n]&&(r=r.mul(i));return r},o.prototype.iushln=function(e){n("number"===typeof e&&e>=0);var t,r=e%26,i=(e-r)/26,o=67108863>>>26-r<<26-r;if(0!==r){var a=0;for(t=0;t<this.length;t++){var s=this.words[t]&o,u=(0|this.words[t])-s<<r;this.words[t]=u|a,a=s>>>26-r}a&&(this.words[t]=a,this.length++)}if(0!==i){for(t=this.length-1;t>=0;t--)this.words[t+i]=this.words[t];for(t=0;t<i;t++)this.words[t]=0;this.length+=i}return this._strip()},o.prototype.ishln=function(e){return n(0===this.negative),this.iushln(e)},o.prototype.iushrn=function(e,t,r){var i;n("number"===typeof e&&e>=0),i=t?(t-t%26)/26:0;var o=e%26,a=Math.min((e-o)/26,this.length),s=67108863^67108863>>>o<<o,u=r;if(i-=a,i=Math.max(0,i),u){for(var c=0;c<a;c++)u.words[c]=this.words[c];u.length=a}if(0===a);else if(this.length>a)for(this.length-=a,c=0;c<this.length;c++)this.words[c]=this.words[c+a];else this.words[0]=0,this.length=1;var l=0;for(c=this.length-1;c>=0&&(0!==l||c>=i);c--){var f=0|this.words[c];this.words[c]=l<<26-o|f>>>o,l=f&s}return u&&0!==l&&(u.words[u.length++]=l),0===this.length&&(this.words[0]=0,this.length=1),this._strip()},o.prototype.ishrn=function(e,t,r){return n(0===this.negative),this.iushrn(e,t,r)},o.prototype.shln=function(e){return this.clone().ishln(e)},o.prototype.ushln=function(e){return this.clone().iushln(e)},o.prototype.shrn=function(e){return this.clone().ishrn(e)},o.prototype.ushrn=function(e){return this.clone().iushrn(e)},o.prototype.testn=function(e){n("number"===typeof e&&e>=0);var t=e%26,r=(e-t)/26,i=1<<t;return!(this.length<=r)&&!!(this.words[r]&i)},o.prototype.imaskn=function(e){n("number"===typeof e&&e>=0);var t=e%26,r=(e-t)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=r)return this;if(0!==t&&r++,this.length=Math.min(r,this.length),0!==t){var i=67108863^67108863>>>t<<t;this.words[this.length-1]&=i}return this._strip()},o.prototype.maskn=function(e){return this.clone().imaskn(e)},o.prototype.iaddn=function(e){return n("number"===typeof e),n(e<67108864),e<0?this.isubn(-e):0!==this.negative?1===this.length&&(0|this.words[0])<=e?(this.words[0]=e-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(e),this.negative=1,this):this._iaddn(e)},o.prototype._iaddn=function(e){this.words[0]+=e;for(var t=0;t<this.length&&this.words[t]>=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},o.prototype.isubn=function(e){if(n("number"===typeof e),n(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t<this.length&&this.words[t]<0;t++)this.words[t]+=67108864,this.words[t+1]-=1;return this._strip()},o.prototype.addn=function(e){return this.clone().iaddn(e)},o.prototype.subn=function(e){return this.clone().isubn(e)},o.prototype.iabs=function(){return this.negative=0,this},o.prototype.abs=function(){return this.clone().iabs()},o.prototype._ishlnsubmul=function(e,t,r){var i,o,a=e.length+r;this._expand(a);var s=0;for(i=0;i<e.length;i++){o=(0|this.words[i+r])+s;var u=(0|e.words[i])*t;s=((o-=67108863&u)>>26)-(u/67108864|0),this.words[i+r]=67108863&o}for(;i<this.length-r;i++)s=(o=(0|this.words[i+r])+s)>>26,this.words[i+r]=67108863&o;if(0===s)return this._strip();for(n(-1===s),s=0,i=0;i<this.length;i++)s=(o=-(0|this.words[i])+s)>>26,this.words[i]=67108863&o;return this.negative=1,this._strip()},o.prototype._wordDiv=function(e,t){var r=(this.length,e.length),n=this.clone(),i=e,a=0|i.words[i.length-1];0!==(r=26-this._countBits(a))&&(i=i.ushln(r),n.iushln(r),a=0|i.words[i.length-1]);var s,u=n.length-i.length;if("mod"!==t){(s=new o(null)).length=u+1,s.words=new Array(s.length);for(var c=0;c<s.length;c++)s.words[c]=0}var l=n.clone()._ishlnsubmul(i,1,u);0===l.negative&&(n=l,s&&(s.words[u]=1));for(var f=u-1;f>=0;f--){var h=67108864*(0|n.words[i.length+f])+(0|n.words[i.length+f-1]);for(h=Math.min(h/a|0,67108863),n._ishlnsubmul(i,h,f);0!==n.negative;)h--,n.negative=0,n._ishlnsubmul(i,1,f),n.isZero()||(n.negative^=1);s&&(s.words[f]=h)}return s&&s._strip(),n._strip(),"div"!==t&&0!==r&&n.iushrn(r),{div:s||null,mod:n}},o.prototype.divmod=function(e,t,r){return n(!e.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===e.negative?(s=this.neg().divmod(e,t),"mod"!==t&&(i=s.div.neg()),"div"!==t&&(
vendor: 13,501 bytes, line 2
2a=s.mod.neg(),r&&0!==a.negative&&a.iadd(e)),{div:i,mod:a}):0===this.negative&&0!==e.negative?(s=this.divmod(e.neg(),t),"mod"!==t&&(i=s.div.neg()),{div:i,mod:s.mod}):0!==(this.negative&e.negative)?(s=this.neg().divmod(e.neg(),t),"div"!==t&&(a=s.mod.neg(),r&&0!==a.negative&&a.isub(e)),{div:s.div,mod:a}):e.length>this.length||this.cmp(e)<0?{div:new o(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new o(this.modrn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new o(this.modrn(e.words[0]))}:this._wordDiv(e,t);var i,a,s},o.prototype.div=function(e){return this.divmod(e,"div",!1).div},o.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},o.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},o.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var r=0!==t.div.negative?t.mod.isub(e):t.mod,n=e.ushrn(1),i=e.andln(1),o=r.cmp(n);return o<0||1===i&&0===o?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},o.prototype.modrn=function(e){var t=e<0;t&&(e=-e),n(e<=67108863);for(var r=(1<<26)%e,i=0,o=this.length-1;o>=0;o--)i=(r*i+(0|this.words[o]))%e;return t?-i:i},o.prototype.modn=function(e){return this.modrn(e)},o.prototype.idivn=function(e){var t=e<0;t&&(e=-e),n(e<=67108863);for(var r=0,i=this.length-1;i>=0;i--){var o=(0|this.words[i])+67108864*r;this.words[i]=o/e|0,r=o%e}return this._strip(),t?this.ineg():this},o.prototype.divn=function(e){return this.clone().idivn(e)},o.prototype.egcd=function(e){n(0===e.negative),n(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var i=new o(1),a=new o(0),s=new o(0),u=new o(1),c=0;t.isEven()&&r.isEven();)t.iushrn(1),r.iushrn(1),++c;for(var l=r.clone(),f=t.clone();!t.isZero();){for(var h=0,d=1;0===(t.words[0]&d)&&h<26;++h,d<<=1);if(h>0)for(t.iushrn(h);h-- >0;)(i.isOdd()||a.isOdd())&&(i.iadd(l),a.isub(f)),i.iushrn(1),a.iushrn(1);for(var p=0,y=1;0===(r.words[0]&y)&&p<26;++p,y<<=1);if(p>0)for(r.iushrn(p);p-- >0;)(s.isOdd()||u.isOdd())&&(s.iadd(l),u.isub(f)),s.iushrn(1),u.iushrn(1);t.cmp(r)>=0?(t.isub(r),i.isub(s),a.isub(u)):(r.isub(t),s.isub(i),u.isub(a))}return{a:s,b:u,gcd:r.iushln(c)}},o.prototype._invmp=function(e){n(0===e.negative),n(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var i,a=new o(1),s=new o(0),u=r.clone();t.cmpn(1)>0&&r.cmpn(1)>0;){for(var c=0,l=1;0===(t.words[0]&l)&&c<26;++c,l<<=1);if(c>0)for(t.iushrn(c);c-- >0;)a.isOdd()&&a.iadd(u),a.iushrn(1);for(var f=0,h=1;0===(r.words[0]&h)&&f<26;++f,h<<=1);if(f>0)for(r.iushrn(f);f-- >0;)s.isOdd()&&s.iadd(u),s.iushrn(1);t.cmp(r)>=0?(t.isub(r),a.isub(s)):(r.isub(t),s.isub(a))}return(i=0===t.cmpn(1)?a:s).cmpn(0)<0&&i.iadd(e),i},o.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),r=e.clone();t.negative=0,r.negative=0;for(var n=0;t.isEven()&&r.isEven();n++)t.iushrn(1),r.iushrn(1);for(;;){for(;t.isEven();)t.iushrn(1);for(;r.isEven();)r.iushrn(1);var i=t.cmp(r);if(i<0){var o=t;t=r,r=o}else if(0===i||0===r.cmpn(1))break;t.isub(r)}return r.iushln(n)},o.prototype.invm=function(e){return this.egcd(e).a.umod(e)},o.prototype.isEven=function(){return 0===(1&this.words[0])},o.prototype.isOdd=function(){return 1===(1&this.words[0])},o.prototype.andln=function(e){return this.words[0]&e},o.prototype.bincn=function(e){n("number"===typeof e);var t=e%26,r=(e-t)/26,i=1<<t;if(this.length<=r)return this._expand(r+1),this.words[r]|=i,this;for(var o=i,a=r;0!==o&&a<this.length;a++){var s=0|this.words[a];o=(s+=o)>>>26,s&=67108863,this.words[a]=s}return 0!==o&&(this.words[a]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(e){var t,r=e<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this._strip(),this.length>1)t=1;else{r&&(e=-e),n(e<=67108863,"Number is too big");var i=0|this.words[0];t=i===e?0:i<e?-1:1}return 0!==this.negative?0|-t:t},o.prototype.cmp=function(e){if(0!==this.negative&&0===e.negative)return-1;if(0===this.negative&&0!==e.negative)return 1;var t=this.ucmp(e);return 0!==this.negative?0|-t:t},o.prototype.ucmp=function(e){if(this.length>e.length)return 1;if(this.length<e.length)return-1;for(var t=0,r=this.length-1;r>=0;r--){var n=0|this.words[r],i=0|e.words[r];if(n!==i){n<i?t=-1:n>i&&(t=1);break}}return t},o.prototype.gtn=function(e){return 1===this.cmpn(e)},o.prototype.gt=function(e){return 1===this.cmp(e)},o.prototype.gten=function(e){return this.cmpn(e)>=0},o.prototype.gte=function(e){return this.cmp(e)>=0},o.prototype.ltn=function(e){return-1===this.cmpn(e)},o.prototype.lt=function(e){return-1===this.cmp(e)},o.prototype.lten=function(e){return this.cmpn(e)<=0},o.prototype.lte=function(e){return this.cmp(e)<=0},o.prototype.eqn=function(e){return 0===this.cmpn(e)},o.prototype.eq=function(e){return 0===this.cmp(e)},o.red=function(e){return new E(e)},o.prototype.toRed=function(e){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},o.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(e){return this.red=e,this},o.prototype.forceRed=function(e){return n(!this.red,"Already a number in reduction context"),this._forceRed(e)},o.prototype.redAdd=function(e){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},o.prototype.redIAdd=function(e){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},o.prototype.redSub=function(e){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},o.prototype.redISub=function(e){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},o.prototype.redShl=function(e){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},o.prototype.redMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},o.prototype.redIMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},o.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(e){return n(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var g={k256:null,p224:null,p192:null,p25519:null};function _(e,t){this.name=e,this.p=new o(t,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function w(){_.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function S(){_.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function M(){_.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function x(){_.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function E(e){if("string"===typeof e){var t=o._prime(e);this.m=t.p,this.prime=t}else n(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function k(e){E.call(this,e),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new o(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}_.prototype._tmp=function(){var e=new o(null);return e.words=new Array(Math.ceil(this.n/13)),e},_.prototype.ireduce=function(e){var t,r=e;do{this.split(r,this.tmp),t=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(t>this.n);var n=t<this.n?-1:r.ucmp(this.p);return 0===n?(r.words[0]=0,r.length=1):n>0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},_.prototype.split=function(e,t){e.iushrn(this.n,0,t)},_.prototype.imulK=function(e){return e.imul(this.k)},i(w,_),w.prototype.split=function(e,t){for(var r=4194303,n=Math.min(e.length,9),i=0;i<n;i++)t.words[i]=e.words[i];if(t.length=n,e.length<=9)return e.words[0]=0,void(e.length=1);var o=e.words[9];for(t.words[t.length++]=o&r,i=10;i<e.length;i++){var a=0|e.words[i];e.words[i-10]=(a&r)<<4|o>>>22,o=a}o>>>=22,e.words[i-10]=o,0===o&&e.length>10?e.length-=10:e.length-=9},w.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,r=0;r<e.length;r++){var n=0|e.words[r];t+=977*n,e.words[r]=67108863&t,t=64*n+(t/67108864|0)}return 0===e.words[e.length-1]&&(e.length--,0===e.words[e.length-1]&&e.length--),e},i(S,_),i(M,_),i(x,_),x.prototype.imulK=function(e){for(var t=0,r=0;r<e.length;r++){var n=19*(0|e.words[r])+t,i=67108863&n;n>>>=26,e.words[r]=i,t=n}return 0!==t&&(e.words[e.length++]=t),e},o._prime=function(e){if(g[e])return g[e];var t;if("k256"===e)t=new w;else if("p224"===e)t=new S;else if("p192"===e)t=new M;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new x}return g[e]=t,t},E.prototype._verify1=function(e){n(0===e.negative,"red works only with positives"),n(e.red,"red works only with red numbers")},E.prototype._verify2=function(e,t){n(0===(e.negative|t.negative),"red works only with positives"),n(e.red&&e.red===t.red,"red works only with red numbers")},E.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):(c(e,e.umod(this.m)._forceRed(this)),e)},E.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},E.prototype.add=function(e,t){this._verify2(e,t);var r=e.add(t);return r.cmp(this.m)>=0&&r.isub(this.m),r._forceRed(this)},E.prototype.iadd=function(e,t){this._verify2(e,t);var r=e.iadd(t);return r.cmp(this.m)>=0&&r.isub(this.m),r},E.prototype.sub=function(e,t){this._verify2(e,t);var r=e.sub(t);return r.cmpn(0)<0&&r.iadd(this.m),r._forceRed(this)},E.prototype.isub=function(e,t){this._verify2(e,t);var r=e.isub(t);return r.cmpn(0)<0&&r.iadd(this.m),r},E.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},E.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},E.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},E.prototype.isqr=function(e){return this.imul(e,e.clone())},E.prototype.sqr=function(e){return this.mul(e,e)},E.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(n(t%2===1),3===t){var r=this.m.add(new o(1)).iushrn(2);return this.pow(e,r)}for(var i=this.m.subn(1),a=0;!i.isZero()&&0===i.andln(1);)a++,i.iushrn(1);n(!i.isZero());var s=new o(1).toRed(this),u=s.redNeg(),c=this.m.subn(1).iushrn(1),l=this.m.bitLength();for(l=new o(2*l*l).toRed(this);0!==this.pow(l,c).cmp(u);)l.redIAdd(u);for(var f=this.pow(l,i),h=this.pow(e,i.addn(1).iushrn(1)),d=this.pow(e,i),p=a;0!==d.cmp(s);){for(var y=d,m=0;0!==y.cmp(s);m++)y=y.redSqr();n(m<p);var b=this.pow(f,new o(1).iushln(p-m-1));h=h.redMul(b),f=b.redSqr(),d=d.redMul(f),p=m}return h},E.prototype.invm=function(e){var t=e._invmp(this.m);return 0!==t.negative?(t.negative=0,this.imod(t).redNeg()):this.imod(t)},E.prototype.pow=function(e,t){if(t.isZero())return new o(1).toRed(this);if(0===t.cmpn(1))return e.clone();var r=new Array(16);r[0]=new o(1).toRed(this),r[1]=e;for(var n=2;n<r.length;n++)r[n]=this.mul(r[n-1],e);var i=r[0],a=0,s=0,u=t.bitLength()%26;for(0===u&&(u=26),n=t.length-1;n>=0;n--){for(var c=t.words[n],l=u-1;l>=0;l--){var f=c>>l&1;i!==r[0]&&(i=this.sqr(i)),0!==f||0!==a?(a<<=1,a|=f,(4===++s||0===n&&0===l)&&(i=this.mul(i,r[a]),s=0,a=0)):s=0}u=26}return i},E.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},E.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},o.mont=function(e){return new k(e)},i(k,E),k.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},k.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},k.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var r=e.imul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},k.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new o(0)._forceRed(this);var r=e.mul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),a=i;return i.cmp(this.m)>=0?a=i.isub(this.m):i.cmpn(0)<0&&(a=i.iadd(this.m)),a._forceRed(this)},k.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}}(e,this)}).call(this,r(84)(e))},,function(e){e.exports=JSON.parse('{"name":"elliptic","version":"6.5.4","description":"EC cryptography","main":"lib/elliptic.js","files":["lib"],"scripts":{"lint":"eslint lib test","lint:fix":"npm run lint -- --fix","unit":"istanbul test _mocha --reporter=spec test/index.js","test":"npm run lint && npm run unit","ver
2sion":"grunt dist && git add dist/"},"repository":{"type":"git","url":"[email protected]:indutny/elliptic"},"keywords":["EC","Elliptic","curve","Cryptography"],"author":"Fedor Indutny <[email protected]>","license":"MIT","bugs":{"url":"https://github.com/indutny/elliptic/issues"},"homepage":"https://github.com/indutny/elliptic","devDependencies":{"brfs":"^2.0.2","coveralls":"^3.1.0","eslint":"^7.6.0","grunt":"^1.2.1","grunt-browserify":"^5.3.0","grunt-cli":"^1.3.2","grunt-contrib-connect":"^3.0.0","grunt-contrib-copy":"^1.0.0","grunt-contrib-uglify":"^5.0.0","grunt-mocha-istanbul":"^5.0.2","grunt-saucelabs":"^9.0.1","istanbul":"^0.4.5","mocha":"^8.0.1"},"dependencies":{"bn.js":"^4.11.9","brorand":"^1.1.0","hash.js":"^1.0.0","hmac-drbg":"^1.0.1","inherits":"^2.0.4","minimalistic-assert":"^1.0.1","minimalistic-crypto-utils":"^1.0.1"}}')},function(e,t,r){"use strict";var n=r(16),i=r(12),o=r(3),a=r(58),s=n.assert;function u(e){a.call(this,"short",e),this.a=new i(e.a,16).toRed(this.red),this.b=new i(e.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=0===this.a.fromRed().cmpn(0),this.threeA=0===this.a.fromRed().sub(this.p).cmpn(-3),this.endo=this._getEndomorphism(e),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}function c(e,t,r,n){a.BasePoint.call(this,e,"affine"),null===t&&null===r?(this.x=null,this.y=null,this.inf=!0):(this.x=new i(t,16),this.y=new i(r,16),n&&(this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.inf=!1)}function l(e,t,r,n){a.BasePoint.call(this,e,"jacobian"),null===t&&null===r&&null===n?(this.x=this.curve.one,this.y=this.curve.one,this.z=new i(0)):(this.x=new i(t,16),this.y=new i(r,16),this.z=new i(n,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}o(u,a),e.exports=u,u.prototype._getEndomorphism=function(e){if(this.zeroA&&this.g&&this.n&&1===this.p.modn(3)){var t,r;if(e.beta)t=new i(e.beta,16).toRed(this.red);else{var n=this._getEndoRoots(this.p);t=(t=n[0].cmp(n[1])<0?n[0]:n[1]).toRed(this.red)}if(e.lambda)r=new i(e.lambda,16);else{var o=this._getEndoRoots(this.n);0===this.g.mul(o[0]).x.cmp(this.g.x.redMul(t))?r=o[0]:(r=o[1],s(0===this.g.mul(r).x.cmp(this.g.x.redMul(t))))}return{beta:t,lambda:r,basis:e.basis?e.basis.map((function(e){return{a:new i(e.a,16),b:new i(e.b,16)}})):this._getEndoBasis(r)}}},u.prototype._getEndoRoots=function(e){var t=e===this.p?this.red:i.mont(e),r=new i(2).toRed(t).redInvm(),n=r.redNeg(),o=new i(3).toRed(t).redNeg().redSqrt().redMul(r);return[n.redAdd(o).fromRed(),n.redSub(o).fromRed()]},u.prototype._getEndoBasis=function(e){for(var t,r,n,o,a,s,u,c,l,f=this.n.ushrn(Math.floor(this.n.bitLength()/2)),h=e,d=this.n.clone(),p=new i(1),y=new i(0),m=new i(0),b=new i(1),v=0;0!==h.cmpn(0);){var g=d.div(h);c=d.sub(g.mul(h)),l=m.sub(g.mul(p));var _=b.sub(g.mul(y));if(!n&&c.cmp(f)<0)t=u.neg(),r=p,n=c.neg(),o=l;else if(n&&2===++v)break;u=c,d=h,h=c,m=p,p=l,b=y,y=_}a=c.neg(),s=l;var w=n.sqr().add(o.sqr());return a.sqr().add(s.sqr()).cmp(w)>=0&&(a=t,s=r),n.negative&&(n=n.neg(),o=o.neg()),a.negative&&(a=a.neg(),s=s.neg()),[{a:n,b:o},{a:a,b:s}]},u.prototype._endoSplit=function(e){var t=this.endo.basis,r=t[0],n=t[1],i=n.b.mul(e).divRound(this.n),o=r.b.neg().mul(e).divRound(this.n),a=i.mul(r.a),s=o.mul(n.a),u=i.mul(r.b),c=o.mul(n.b);return{k1:e.sub(a).sub(s),k2:u.add(c).neg()}},u.prototype.pointFromX=function(e,t){(e=new i(e,16)).red||(e=e.toRed(this.red));var r=e.redSqr().redMul(e).redIAdd(e.redMul(this.a)).redIAdd(this.b),n=r.redSqrt();if(0!==n.redSqr().redSub(r).cmp(this.zero))throw new Error("invalid point");var o=n.fromRed().isOdd();return(t&&!o||!t&&o)&&(n=n.redNeg()),this.point(e,n)},u.prototype.validate=function(e){if(e.inf)return!0;var t=e.x,r=e.y,n=this.a.redMul(t),i=t.redSqr().redMul(t).redIAdd(n).redIAdd(this.b);return 0===r.redSqr().redISub(i).cmpn(0)},u.prototype._endoWnafMulAdd=function(e,t,r){for(var n=this._endoWnafT1,i=this._endoWnafT2,o=0;o<e.length;o++){var a=this._endoSplit(t[o]),s=e[o],u=s._getBeta();a.k1.negative&&(a.k1.ineg(),s=s.neg(!0)),a.k2.negative&&(a.k2.ineg(),u=u.neg(!0)),n[2*o]=s,n[2*o+1]=u,i[2*o]=a.k1,i[2*o+1]=a.k2}for(var c=this._wnafMulAdd(1,n,i,2*o,r),l=0;l<2*o;l++)n[l]=null,i[l]=null;return c},o(c,a.BasePoint),u.prototype.point=function(e,t,r){return new c(this,e,t,r)},u.prototype.pointFromJSON=function(e,t){return c.fromJSON(this,e,t)},c.prototype._getBeta=function(){if(this.curve.endo){var e=this.prec
vendor: 4,195 bytes, line 2
2omputed;if(e&&e.beta)return e.beta;var t=this.curve.point(this.x.redMul(this.curve.endo.beta),this.y);if(e){var r=this.curve,n=function(e){return r.point(e.x.redMul(r.endo.beta),e.y)};e.beta=t,t.precomputed={beta:null,naf:e.naf&&{wnd:e.naf.wnd,points:e.naf.points.map(n)},doubles:e.doubles&&{step:e.doubles.step,points:e.doubles.points.map(n)}}}return t}},c.prototype.toJSON=function(){return this.precomputed?[this.x,this.y,this.precomputed&&{doubles:this.precomputed.doubles&&{step:this.precomputed.doubles.step,points:this.precomputed.doubles.points.slice(1)},naf:this.precomputed.naf&&{wnd:this.precomputed.naf.wnd,points:this.precomputed.naf.points.slice(1)}}]:[this.x,this.y]},c.fromJSON=function(e,t,r){"string"===typeof t&&(t=JSON.parse(t));var n=e.point(t[0],t[1],r);if(!t[2])return n;function i(t){return e.point(t[0],t[1],r)}var o=t[2];return n.precomputed={beta:null,doubles:o.doubles&&{step:o.doubles.step,points:[n].concat(o.doubles.points.map(i))},naf:o.naf&&{wnd:o.naf.wnd,points:[n].concat(o.naf.points.map(i))}},n},c.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+">"},c.prototype.isInfinity=function(){return this.inf},c.prototype.add=function(e){if(this.inf)return e;if(e.inf)return this;if(this.eq(e))return this.dbl();if(this.neg().eq(e))return this.curve.point(null,null);if(0===this.x.cmp(e.x))return this.curve.point(null,null);var t=this.y.redSub(e.y);0!==t.cmpn(0)&&(t=t.redMul(this.x.redSub(e.x).redInvm()));var r=t.redSqr().redISub(this.x).redISub(e.x),n=t.redMul(this.x.redSub(r)).redISub(this.y);return this.curve.point(r,n)},c.prototype.dbl=function(){if(this.inf)return this;var e=this.y.redAdd(this.y);if(0===e.cmpn(0))return this.curve.point(null,null);var t=this.curve.a,r=this.x.redSqr(),n=e.redInvm(),i=r.redAdd(r).redIAdd(r).redIAdd(t).redMul(n),o=i.redSqr().redISub(this.x.redAdd(this.x)),a=i.redMul(this.x.redSub(o)).redISub(this.y);return this.curve.point(o,a)},c.prototype.getX=function(){return this.x.fromRed()},c.prototype.getY=function(){return this.y.fromRed()},c.prototype.mul=function(e){return e=new i(e,16),this.isInfinity()?this:this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve.endo?this.curve._endoWnafMulAdd([this],[e]):this.curve._wnafMul(this,e)},c.prototype.mulAdd=function(e,t,r){var n=[this,t],i=[e,r];return this.curve.endo?this.curve._endoWnafMulAdd(n,i):this.curve._wnafMulAdd(1,n,i,2)},c.prototype.jmulAdd=function(e,t,r){var n=[this,t],i=[e,r];return this.curve.endo?this.curve._endoWnafMulAdd(n,i,!0):this.curve._wnafMulAdd(1,n,i,2,!0)},c.prototype.eq=function(e){return this===e||this.inf===e.inf&&(this.inf||0===this.x.cmp(e.x)&&0===this.y.cmp(e.y))},c.prototype.neg=function(e){if(this.inf)return this;var t=this.curve.point(this.x,this.y.redNeg());if(e&&this.precomputed){var r=this.precomputed,n=function(e){return e.neg()};t.precomputed={naf:r.naf&&{wnd:r.naf.wnd,points:r.naf.points.map(n)},doubles:r.doubles&&{step:r.doubles.step,points:r.doubles.points.map(n)}}}return t},c.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},o(l,a.BasePoint),u.prototype.jpoint=function(e,t,r){return new l(this,e,t,r)},l.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var e=this.z.redInvm(),t=e.redSqr(),r=this.x.redMul(t),n=this.y.redMul(t).redMul(e);return this.curve.point(r,n)},l.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},l.prototype.add=function(e){if(this.isInfinity())return e;if(e.isInfinity())return this;var t=e.z.redSqr(),r=this.z.redSqr(),n=this.x.redMul(t),i=e.x.redMul(r),o=this.y.redMul(t.redMul(e.z)),a=e.y.redMul(r.redMul(this.z)),s=n.redSub(i),u=o.redSub(a);if(0===s.cmpn(0))return 0!==u.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var c=s.redSqr(),l=c.redMul(s),f=n.redMul(c),h=u.redSqr().redIAdd(l).redISub(f).redISub(f),d=u.redMul(f.redISub(h)).redISub(o.redMul(l)),p=this.z.redMul(e.z).redMul(s);return this.curve.jpoint(h,d,p)},l.prototype.mixedAdd=function(e){if(this.isInfinity())return e.toJ();if(e.isInfinity())return this;
vendor: 4,090 bytes, line 2
2var t=this.z.redSqr(),r=this.x,n=e.x.redMul(t),i=this.y,o=e.y.redMul(t).redMul(this.z),a=r.redSub(n),s=i.redSub(o);if(0===a.cmpn(0))return 0!==s.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var u=a.redSqr(),c=u.redMul(a),l=r.redMul(u),f=s.redSqr().redIAdd(c).redISub(l).redISub(l),h=s.redMul(l.redISub(f)).redISub(i.redMul(c)),d=this.z.redMul(a);return this.curve.jpoint(f,h,d)},l.prototype.dblp=function(e){if(0===e)return this;if(this.isInfinity())return this;if(!e)return this.dbl();var t;if(this.curve.zeroA||this.curve.threeA){var r=this;for(t=0;t<e;t++)r=r.dbl();return r}var n=this.curve.a,i=this.curve.tinv,o=this.x,a=this.y,s=this.z,u=s.redSqr().redSqr(),c=a.redAdd(a);for(t=0;t<e;t++){var l=o.redSqr(),f=c.redSqr(),h=f.redSqr(),d=l.redAdd(l).redIAdd(l).redIAdd(n.redMul(u)),p=o.redMul(f),y=d.redSqr().redISub(p.redAdd(p)),m=p.redISub(y),b=d.redMul(m);b=b.redIAdd(b).redISub(h);var v=c.redMul(s);t+1<e&&(u=u.redMul(h)),o=y,s=v,c=b}return this.curve.jpoint(o,c.redMul(i),s)},l.prototype.dbl=function(){return this.isInfinity()?this:this.curve.zeroA?this._zeroDbl():this.curve.threeA?this._threeDbl():this._dbl()},l.prototype._zeroDbl=function(){var e,t,r;if(this.zOne){var n=this.x.redSqr(),i=this.y.redSqr(),o=i.redSqr(),a=this.x.redAdd(i).redSqr().redISub(n).redISub(o);a=a.redIAdd(a);var s=n.redAdd(n).redIAdd(n),u=s.redSqr().redISub(a).redISub(a),c=o.redIAdd(o);c=(c=c.redIAdd(c)).redIAdd(c),e=u,t=s.redMul(a.redISub(u)).redISub(c),r=this.y.redAdd(this.y)}else{var l=this.x.redSqr(),f=this.y.redSqr(),h=f.redSqr(),d=this.x.redAdd(f).redSqr().redISub(l).redISub(h);d=d.redIAdd(d);var p=l.redAdd(l).redIAdd(l),y=p.redSqr(),m=h.redIAdd(h);m=(m=m.redIAdd(m)).redIAdd(m),e=y.redISub(d).redISub(d),t=p.redMul(d.redISub(e)).redISub(m),r=(r=this.y.redMul(this.z)).redIAdd(r)}return this.curve.jpoint(e,t,r)},l.prototype._threeDbl=function(){var e,t,r;if(this.zOne){var n=this.x.redSqr(),i=this.y.redSqr(),o=i.redSqr(),a=this.x.redAdd(i).redSqr().redISub(n).redISub(o);a=a.redIAdd(a);var s=n.redAdd(n).redIAdd(n).redIAdd(this.curve.a),u=s.redSqr().redISub(a).redISub(a);e=u;var c=o.redIAdd(o);c=(c=c.redIAdd(c)).redIAdd(c),t=s.redMul(a.redISub(u)).redISub(c),r=this.y.redAdd(this.y)}else{var l=this.z.redSqr(),f=this.y.redSqr(),h=this.x.redMul(f),d=this.x.redSub(l).redMul(this.x.redAdd(l));d=d.redAdd(d).redIAdd(d);var p=h.redIAdd(h),y=(p=p.redIAdd(p)).redAdd(p);e=d.redSqr().redISub(y),r=this.y.redAdd(this.z).redSqr().redISub(f).redISub(l);var m=f.redSqr();m=(m=(m=m.redIAdd(m)).redIAdd(m)).redIAdd(m),t=d.redMul(p.redISub(e)).redISub(m)}return this.curve.jpoint(e,t,r)},l.prototype._dbl=function(){var e=this.curve.a,t=this.x,r=this.y,n=this.z,i=n.redSqr().redSqr(),o=t.redSqr(),a=r.redSqr(),s=o.redAdd(o).redIAdd(o).redIAdd(e.redMul(i)),u=t.redAdd(t),c=(u=u.redIAdd(u)).redMul(a),l=s.redSqr().redISub(c.redAdd(c)),f=c.redISub(l),h=a.redSqr();h=(h=(h=h.redIAdd(h)).redIAdd(h)).redIAdd(h);var d=s.redMul(f).redISub(h),p=r.redAdd(r).redMul(n);return this.curve.jpoint(l,d,p)},l.prototype.trpl=function(){if(!this.curve.zeroA)return this.dbl().add(this);var e=this.x.redSqr(),t=this.y.redSqr(),r=this.z.redSqr(),n=t.redSqr(),i=e.redAdd(e).redIAdd(e),o=i.redSqr(),a=this.x.redAdd(t).redSqr().redISub(e).redISub(n),s=(a=(a=(a=a.redIAdd(a)).redAdd(a).redIAdd(a)).redISub(o)).redSqr(),u=n.redIAdd(n);u=(u=(u=u.redIAdd(u)).redIAdd(u)).redIAdd(u);var c=i.redIAdd(a).redSqr().redISub(o).redISub(s).redISub(u),l=t.redMul(c);l=(l=l.redIAdd(l)).redIAdd(l);var f=this.x.redMul(s).redISub(l);f=(f=f.redIAdd(f)).redIAdd(f);var h=this.y.redMul(c.redMul(u.redISub(c)).redISub(a.redMul(s)));h=(h=(h=h.redIAdd(h)).redIAdd(h)).redIAdd(h);var d=this.z.redAdd(a).redSqr().redISub(r).redISub(s);return this.curve.jpoint(f,h,d)},l.prototype.mul=function(e,t){return e=new i(e,t),this.curve._wnafMul(this,e)},l.prototype.eq=function(e){if("affine"===e.type)return this.eq(e.toJ());if(this===e)return!0;var t=this.z.redSqr(),r=e.z.redSqr();if(0!==this.x.redMul(r).redISub(e.x.redMul(t)).cmpn(0))return!1;var n=t.redMul(this.z),i=r.redMul(e.z);return 0===this.y.redMul(i).redISub(e.y.redMul(n)).cmpn(0)}
vendor: 13,859 bytes, line 2
2,l.prototype.eqXToP=function(e){var t=this.z.redSqr(),r=e.toRed(this.curve.red).redMul(t);if(0===this.x.cmp(r))return!0;for(var n=e.clone(),i=this.curve.redN.redMul(t);;){if(n.iadd(this.curve.n),n.cmp(this.curve.p)>=0)return!1;if(r.redIAdd(i),0===this.x.cmp(r))return!0}},l.prototype.inspect=function(){return this.isInfinity()?"<EC JPoint Infinity>":"<EC JPoint x: "+this.x.toString(16,2)+" y: "+this.y.toString(16,2)+" z: "+this.z.toString(16,2)+">"},l.prototype.isInfinity=function(){return 0===this.z.cmpn(0)}},function(e,t,r){"use strict";var n=r(12),i=r(3),o=r(58),a=r(16);function s(e){o.call(this,"mont",e),this.a=new n(e.a,16).toRed(this.red),this.b=new n(e.b,16).toRed(this.red),this.i4=new n(4).toRed(this.red).redInvm(),this.two=new n(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}function u(e,t,r){o.BasePoint.call(this,e,"projective"),null===t&&null===r?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new n(t,16),this.z=new n(r,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}i(s,o),e.exports=s,s.prototype.validate=function(e){var t=e.normalize().x,r=t.redSqr(),n=r.redMul(t).redAdd(r.redMul(this.a)).redAdd(t);return 0===n.redSqrt().redSqr().cmp(n)},i(u,o.BasePoint),s.prototype.decodePoint=function(e,t){return this.point(a.toArray(e,t),1)},s.prototype.point=function(e,t){return new u(this,e,t)},s.prototype.pointFromJSON=function(e){return u.fromJSON(this,e)},u.prototype.precompute=function(){},u.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},u.fromJSON=function(e,t){return new u(e,t[0],t[1]||e.one)},u.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},u.prototype.isInfinity=function(){return 0===this.z.cmpn(0)},u.prototype.dbl=function(){var e=this.x.redAdd(this.z).redSqr(),t=this.x.redSub(this.z).redSqr(),r=e.redSub(t),n=e.redMul(t),i=r.redMul(t.redAdd(this.curve.a24.redMul(r)));return this.curve.point(n,i)},u.prototype.add=function(){throw new Error("Not supported on Montgomery curve")},u.prototype.diffAdd=function(e,t){var r=this.x.redAdd(this.z),n=this.x.redSub(this.z),i=e.x.redAdd(e.z),o=e.x.redSub(e.z).redMul(r),a=i.redMul(n),s=t.z.redMul(o.redAdd(a).redSqr()),u=t.x.redMul(o.redISub(a).redSqr());return this.curve.point(s,u)},u.prototype.mul=function(e){for(var t=e.clone(),r=this,n=this.curve.point(null,null),i=[];0!==t.cmpn(0);t.iushrn(1))i.push(t.andln(1));for(var o=i.length-1;o>=0;o--)0===i[o]?(r=r.diffAdd(n,this),n=n.dbl()):(n=r.diffAdd(n,this),r=r.dbl());return n},u.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")},u.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")},u.prototype.eq=function(e){return 0===this.getX().cmp(e.getX())},u.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},u.prototype.getX=function(){return this.normalize(),this.x.fromRed()}},function(e,t,r){"use strict";var n=r(16),i=r(12),o=r(3),a=r(58),s=n.assert;function u(e){this.twisted=1!==(0|e.a),this.mOneA=this.twisted&&-1===(0|e.a),this.extended=this.mOneA,a.call(this,"edwards",e),this.a=new i(e.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new i(e.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new i(e.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),s(!this.twisted||0===this.c.fromRed().cmpn(1)),this.oneC=1===(0|e.c)}function c(e,t,r,n,o){a.BasePoint.call(this,e,"projective"),null===t&&null===r&&null===n?(this.x=this.curve.zero,this.y=this.curve.one,this.z=this.curve.one,this.t=this.curve.zero,this.zOne=!0):(this.x=new i(t,16),this.y=new i(r,16),this.z=n?new i(n,16):this.curve.one,this.t=o&&new i(o,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.t&&!this.t.red&&(this.t=this.t.toRed(this.curve.red)),this.zOne=this.z===this.curve.one,this.curve.extended&&!this.t&&(this.t=this.x.redMul(this.y),this.zOne||(this.t=this.t.redMul(this.z.redInvm()))))}o(u,a),e.exports=u,u.prototype._mulA=function(e){return this.mOneA?e.redNeg():this.a.redMul(e)},u.prototype._mulC=function(e){return this.oneC?e:this.c.redMul(e)},u.prototype.jpoint=function(e,t,r,n){return this.point(e,t,r,n)},u.prototype.pointFromX=function(e,t){(e=new i(e,16)).red||(e=e.toRed(this.red));var r=e.redSqr(),n=this.c2.redSub(this.a.redMul(r)),o=this.one.redSub(this.c2.redMul(this.d).redMul(r)),a=n.redMul(o.redInvm()),s=a.redSqrt();if(0!==s.redSqr().redSub(a).cmp(this.zero))throw new Error("invalid point");var u=s.fromRed().isOdd();return(t&&!u||!t&&u)&&(s=s.redNeg()),this.point(e,s)},u.prototype.pointFromY=function(e,t){(e=new i(e,16)).red||(e=e.toRed(this.red));var r=e.redSqr(),n=r.redSub(this.c2),o=r.redMul(this.d).redMul(this.c2).redSub(this.a),a=n.redMul(o.redInvm());if(0===a.cmp(this.zero)){if(t)throw new Error("invalid point");return this.point(this.zero,e)}var s=a.redSqrt();if(0!==s.redSqr().redSub(a).cmp(this.zero))throw new Error("invalid point");return s.fromRed().isOdd()!==t&&(s=s.redNeg()),this.point(s,e)},u.prototype.validate=function(e){if(e.isInfinity())return!0;e.normalize();var t=e.x.redSqr(),r=e.y.redSqr(),n=t.redMul(this.a).redAdd(r),i=this.c2.redMul(this.one.redAdd(this.d.redMul(t).redMul(r)));return 0===n.cmp(i)},o(c,a.BasePoint),u.prototype.pointFromJSON=function(e){return c.fromJSON(this,e)},u.prototype.point=function(e,t,r,n){return new c(this,e,t,r,n)},c.fromJSON=function(e,t){return new c(e,t[0],t[1],t[2])},c.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},c.prototype.isInfinity=function(){return 0===this.x.cmpn(0)&&(0===this.y.cmp(this.z)||this.zOne&&0===this.y.cmp(this.curve.c))},c.prototype._extDbl=function(){var e=this.x.redSqr(),t=this.y.redSqr(),r=this.z.redSqr();r=r.redIAdd(r);var n=this.curve._mulA(e),i=this.x.redAdd(this.y).redSqr().redISub(e).redISub(t),o=n.redAdd(t),a=o.redSub(r),s=n.redSub(t),u=i.redMul(a),c=o.redMul(s),l=i.redMul(s),f=a.redMul(o);return this.curve.point(u,c,f,l)},c.prototype._projDbl=function(){var e,t,r,n,i,o,a=this.x.redAdd(this.y).redSqr(),s=this.x.redSqr(),u=this.y.redSqr();if(this.curve.twisted){var c=(n=this.curve._mulA(s)).redAdd(u);this.zOne?(e=a.redSub(s).redSub(u).redMul(c.redSub(this.curve.two)),t=c.redMul(n.redSub(u)),r=c.redSqr().redSub(c).redSub(c)):(i=this.z.redSqr(),o=c.redSub(i).redISub(i),e=a.redSub(s).redISub(u).redMul(o),t=c.redMul(n.redSub(u)),r=c.redMul(o))}else n=s.redAdd(u),i=this.curve._mulC(this.z).redSqr(),o=n.redSub(i).redSub(i),e=this.curve._mulC(a.redISub(n)).redMul(o),t=this.curve._mulC(n).redMul(s.redISub(u)),r=n.redMul(o);return this.curve.point(e,t,r)},c.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},c.prototype._extAdd=function(e){var t=this.y.redSub(this.x).redMul(e.y.redSub(e.x)),r=this.y.redAdd(this.x).redMul(e.y.redAdd(e.x)),n=this.t.redMul(this.curve.dd).redMul(e.t),i=this.z.redMul(e.z.redAdd(e.z)),o=r.redSub(t),a=i.redSub(n),s=i.redAdd(n),u=r.redAdd(t),c=o.redMul(a),l=s.redMul(u),f=o.redMul(u),h=a.redMul(s);return this.curve.point(c,l,h,f)},c.prototype._projAdd=function(e){var t,r,n=this.z.redMul(e.z),i=n.redSqr(),o=this.x.redMul(e.x),a=this.y.redMul(e.y),s=this.curve.d.redMul(o).redMul(a),u=i.redSub(s),c=i.redAdd(s),l=this.x.redAdd(this.y).redMul(e.x.redAdd(e.y)).redISub(o).redISub(a),f=n.redMul(u).redMul(l);return this.curve.twisted?(t=n.redMul(c).redMul(a.redSub(this.curve._mulA(o))),r=u.redMul(c)):(t=n.redMul(c).redMul(a.redSub(o)),r=this.curve._mulC(u).redMul(c)),this.curve.point(f,t,r)},c.prototype.add=function(e){return this.isInfinity()?e:e.isInfinity()?this:this.curve.extended?this._extAdd(e):this._projAdd(e)},c.prototype.mul=function(e){return this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve._wnafMul(this,e)},c.prototype.mulAdd=function(e,t,r){return this.curve._wnafMulAdd(1,[this,t],[e,r],2,!1)},c.prototype.jmulAdd=function(e,t,r){return this.curve._wnafMulAdd(1,[this,t],[e,r],2,!0)},c.prototype.normalize=function(){if(this.zOne)return this;var e=this.z.redInvm();return this.x=this.x.redMul(e),this.y=this.y.redMul(e),this.t&&(this.t=this.t.redMul(e)),this.z=this.curve.one,this.zOne=!0,this},c.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},c.prototype.getX=function(){return this.normalize(),this.x.fromRed()},c.prototype.getY=function(){return this.normalize(),this.y.fromRed()},c.prototype.eq=function(e){return this===e||0===this.getX().cmp(e.getX())&&0===this.getY().cmp(e.getY())},c.prototype.eqXToP=function(e){var t=e.toRed(this.curve.red).redMul(this.z);if(0===this.x.cmp(t))return!0;for(var r=e.clone(),n=this.curve.redN.redMul(this.z);;){if(r.iadd(this.curve.n),r.cmp(this.curve.p)>=0)return!1;if(t.redIAdd(n),0===this.x.cmp(t))return!0}},c.prototype.toP=c.prototype.normalize,c.prototype.mixedAdd=c.prototype.add},function(e,t,r){"use strict";t.sha1=r(317),t.sha224=r(318),t.sha256=r(164),t.sha384=r(319),t.sha512=r(165)},function(e,t,r){"use strict";var n=r(18),i=r(44),o=r(163),a=n.rotl32,s=n.sum32,u=n.sum32_5,c=o.ft_1,l=i.BlockHash,f=[1518500249,1859775393,2400959708,3395469782];function h(){if(!(this instanceof h))return new h;l.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}n.inherits(h,l),e.exports=h,h.blockSize=512,h.outSize=160,h.hmacStrength=80,h.padLength=64,h.prototype._update=function(e,t){for(var r=this.W,n=0;n<16;n++)r[n]=e[t+n];for(;n<r.length;n++)r[n]=a(r[n-3]^r[n-8]^r[n-14]^r[n-16],1);var i=this.h[0],o=this.h[1],l=this.h[2],h=this.h[3],d=this.h[4];for(n=0;n<r.length;n++){var p=~~(n/20),y=u(a(i,5),c(p,o,l,h),d,r[n],f[p]);d=h,h=l,l=a(o,30),o=i,i=y}this.h[0]=s(this.h[0],i),this.h[1]=s(this.h[1],o),this.h[2]=s(this.h[2],l),this.h[3]=s(this.h[3],h),this.h[4]=s(this.h[4],d)},h.prototype._digest=function(e){return"hex"===e?n.toHex32(this.h,"big"):n.split32(this.h,"big")}},function(e,t,r){"use strict";var n=r(18),i=r(164);function o(){if(!(this instanceof o))return new o;i.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}n.inherits(o,i),e.exports=o,o.blockSize=512,o.outSize=224,o.hmacStrength=192,o.padLength=64,o.prototype._digest=function(e){return"hex"===e?n.toHex32(this.h.slice(0,7),"big"):n.split32(this.h.slice(0,7),"big")}},function(e,t,r){"use strict";var n=r(18),i=r(165);function o(){if(!(this instanceof o))return new o;i.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}n.inherits(o,i),e.exports=o,o.blockSize=1024,o.outSize=384,o.hmacStrength=192,o.padLength=128,o.prototype._digest=function(e){return"hex"===e?n.toHex32(this.h.slice(0,12),"big"):n.split32(this.h.slice(0,12),"big")}},function(e,t,r){"use strict";var n=r(18),i=r(44),o=n.rotl32,a=n.sum32,s=n.sum32_3,u=n.sum32_4,c=i.BlockHash;function l(){if(!(this instanceof l))return new l;c.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}function f(e,t,r,n){return e<=15?t^r^n:e<=31?t&r|~t&n:e<=47?(t|~r)^n:e<=63?t&n|r&~n:t^(r|~n)}function h(e){return e<=15?0:e<=31?1518500249:e<=47?1859775393:e<=63?2400959708:2840853838}function d(e){return e<=15?1352829926:e<=31?1548603684:e<=47?1836072691:e<=63?2053994217:0}n.inherits(l,c),t.ripemd160=l,l.blockSize=512,l.outSize=160,l.hmacStrength=192,l.padLength=64,l.prototype._update=function(e,t){for(var r=this.h[0],n=this.h[1],i=this.h[2],c=this.h[3],l=this.h[4],v=r,g=n,_=i,w=c,S=l,M=0;M<80;M++){var x=a(o(u(r,f(M,n,i,c),e[p[M]+t],h(M)),m[M]),l);r=l,l=c,c=o(i,10),i=n,n=x,x=a(o(u(v,f(79-M,g,_,w),e[y[M]+t],d(M)),b[M]),S),v=S,S=w,w=o(_,10),_=g,g=x}x=s(this.h[1],i,w),this.h[1]=s(this.h[2],c,S),this.h[2]=s(this.h[3],l,v),this.h[3]=s(this.h[4],r,g),this.h[4]=s(this.h[0],n,_),this.h[0]=x},l.prototype._digest=function(e){return"hex"===e?n.toHex32(this.h,"little"):n.split32(this.h,"little")};var p=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],y=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],m=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],b=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]},function(e,t,r){"use strict";var n=r(18),i=r(15);function o(e,t,r){if(!(this instanceof o))return new o(e,t,r);this.Hash=e,this.blockSize=e.blockSize/8,this.outSize=e.outSize/8,this.inner=null,this.outer=null,this._init(n.toArray(t,r))}e.exports=o,o.prototype._init=function(e){e.length>this.blockSize&&(e=(new this.Hash).update(e).digest()),i(e.length<=this.blockSize);for(var t=e.length;t<this.blockSize;t++)e.push(0);for(t=0;t<e.length;t++)e[t]^=54;for(this.inner=(new this.Hash).update(e),t=0;t<e.length;t++)e[t]^=106;this.outer=(new this.Hash).update(e)},o.prototype.update=function(e,t){return this.inner.update(e,t),this},o.prototype.digest=function(e){return this.outer.update(this.inner.digest()),this.outer.digest(e)}},function(e,t
vendor: 26,140 bytes, line 2
2){e.exports={doubles:{step:4,points:[["e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a","f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821"],["8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508","11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf"],["175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739","d3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695"],["363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640","4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9"],["8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c","4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36"],["723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda","96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f"],["eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa","5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999"],["100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0","cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09"],["e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d","9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d"],["feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d","e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088"],["da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1","9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d"],["53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0","5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8"],["8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047","10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a"],["385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862","283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453"],["6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7","7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160"],["3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd","56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0"],["85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83","7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6"],["948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a","53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589"],["6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8","bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17"],["e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d","4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda"],["e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725","7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd"],["213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754","4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2"],["4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c","17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6"],["fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6","6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f"],["76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39","c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01"],["c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891","893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3"],["d895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b","febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f"],["b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03","2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7"],["e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d","eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78"],["a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070","7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1"],["90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4","e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150"],["8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da","662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82"],["e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11","1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc"],["8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e","efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b"],["e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41","2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51"],["b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef","67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45"],["d68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8","db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120"],["324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d","648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84"],["4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96","35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d"],["9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd","ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d"],["6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5","9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8"],["a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266","40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8"],["7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71","34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac"],["928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac","c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f"],["85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751","1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962"],["ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e","493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907"],["827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241","c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec"],["eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3","be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d"],["e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f","4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414"],["1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19","aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd"],["146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be","b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0"],["fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9","6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811"],["da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2","8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1"],["a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13","7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c"],["174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c","ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73"],["959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba","2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd"],["d2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151","e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405"],["64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073","d99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589"],["8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458","38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e"],["13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b","69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27"],["bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366","d3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1"],["8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa","40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482"],["8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0","620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945"],["dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787","7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573"],["f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e","ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82"]]},naf:{wnd:7,points:[["f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9","388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672"],["2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4","d8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6"],["5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc","6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da"],["acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe","cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37"],["774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb","d984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b"],["f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8","ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81"],["d7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e","581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58"],["defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34","4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77"],["2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c","85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a"],["352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5","321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c"],["2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f","2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67"],["9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714","73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402"],["daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729","a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55"],["c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db","2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482"],["6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4","e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82"],["1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5","b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396"],["605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479","2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49"],["62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d","80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf"],["80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f","1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a"],["7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb","d0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7"],["d528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9","eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933"],["49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963","758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a"],["77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74","958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6"],["f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530","e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37"],["463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b","5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e"],["f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247","cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6"],["caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1","cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476"],["2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120","4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40"],["7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435","91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61"],["754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18","673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683"],["e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8","59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5"],["186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb","3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b"],["df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f","55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417"],["5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143","efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868"],["290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba","e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a"],["af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45","f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6"],["766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a","744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996"],["59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e","c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e"],["f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8","e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d"],["7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c","30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2"],["948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519","e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e"],["7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab","100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437"],["3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca","ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311"],["d3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf","8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4"],["1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610","68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575"],["733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4","f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d"],["15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c","d56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d"],["a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940","edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629"],["e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980","a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06"],["311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3","66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374"],["34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf","9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee"],["f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63","4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1"],["d7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448","fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b"],["32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf","5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661"],["7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5","8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6"],["ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6","8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e"],["16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5","5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d"],["eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99","f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc"],["78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51","f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4"],["494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5","42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c"],["a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5","204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b"],["c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997","4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913"],["841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881","73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154"],["5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5","39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865"],["36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66","d2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc"],["336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726","ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224"],["8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede","6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e"],["1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94","60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6"],["85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31","3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511"],["29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51","b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b"],["a0b1cae06b0a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252","ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2"],["4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5","cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c"],["d24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b","6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3"],["ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4","322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d"],["af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f","6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700"],["e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889","2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4"],["591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246","b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196"],["11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984","998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4"],["3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a","b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257"],["cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030","bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13"],["c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197","6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096"],["c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593","c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38"],["a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef","21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f"],["347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38","60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448"],["da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a","49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a"],["c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111","5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4"],["4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502","7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437"],["3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea","be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7"],["cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26","8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d"],["b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986","39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a"],["d4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e","62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54"],["48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4","25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77"],["dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda","ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517"],["6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859","cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10"],["e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f","f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125"],["eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c","6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e"],["13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942","fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1"],["ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a","1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2"],["b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80","5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423"],["ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d","438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8"],["8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1","cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758"],["52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63","c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375"],["e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352","6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d"],["7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193","ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec"],["5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00","9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0"],["32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58","ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c"],["e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7","d3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4"],["8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8","c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f"],["4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e","67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649"],["3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d","cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826"],["674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b","299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5"],["d32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f","f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87"],["30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6","462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b"],["be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297","62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc"],["93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a","7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c"],["b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c","ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f"],["d5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52","4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a"],["d3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb","bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46"],["463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065","bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f"],["7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917","603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03"],["74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9","cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08"],["30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3","553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8"],["9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57","712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373"],["176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66","ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3"],["75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8","9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8"],["809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721","9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1"],["1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180","4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9"]]}}},
vendor: 8,228 bytes, line 2
2function(e,t,r){"use strict";var n=r(12),i=r(324),o=r(16),a=r(89),s=r(85),u=o.assert,c=r(325),l=r(326);function f(e){if(!(this instanceof f))return new f(e);"string"===typeof e&&(u(Object.prototype.hasOwnProperty.call(a,e),"Unknown curve "+e),e=a[e]),e instanceof a.PresetCurve&&(e={curve:e}),this.curve=e.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=e.curve.g,this.g.precompute(e.curve.n.bitLength()+1),this.hash=e.hash||e.curve.hash}e.exports=f,f.prototype.keyPair=function(e){return new c(this,e)},f.prototype.keyFromPrivate=function(e,t){return c.fromPrivate(this,e,t)},f.prototype.keyFromPublic=function(e,t){return c.fromPublic(this,e,t)},f.prototype.genKeyPair=function(e){e||(e={});for(var t=new i({hash:this.hash,pers:e.pers,persEnc:e.persEnc||"utf8",entropy:e.entropy||s(this.hash.hmacStrength),entropyEnc:e.entropy&&e.entropyEnc||"utf8",nonce:this.n.toArray()}),r=this.n.byteLength(),o=this.n.sub(new n(2));;){var a=new n(t.generate(r));if(!(a.cmp(o)>0))return a.iaddn(1),this.keyFromPrivate(a)}},f.prototype._truncateToN=function(e,t){var r=8*e.byteLength()-this.n.bitLength();return r>0&&(e=e.ushrn(r)),!t&&e.cmp(this.n)>=0?e.sub(this.n):e},f.prototype.sign=function(e,t,r,o){"object"===typeof r&&(o=r,r=null),o||(o={}),t=this.keyFromPrivate(t,r),e=this._truncateToN(new n(e,16));for(var a=this.n.byteLength(),s=t.getPrivate().toArray("be",a),u=e.toArray("be",a),c=new i({hash:this.hash,entropy:s,nonce:u,pers:o.pers,persEnc:o.persEnc||"utf8"}),f=this.n.sub(new n(1)),h=0;;h++){var d=o.k?o.k(h):new n(c.generate(this.n.byteLength()));if(!((d=this._truncateToN(d,!0)).cmpn(1)<=0||d.cmp(f)>=0)){var p=this.g.mul(d);if(!p.isInfinity()){var y=p.getX(),m=y.umod(this.n);if(0!==m.cmpn(0)){var b=d.invm(this.n).mul(m.mul(t.getPrivate()).iadd(e));if(0!==(b=b.umod(this.n)).cmpn(0)){var v=(p.getY().isOdd()?1:0)|(0!==y.cmp(m)?2:0);return o.canonical&&b.cmp(this.nh)>0&&(b=this.n.sub(b),v^=1),new l({r:m,s:b,recoveryParam:v})}}}}}},f.prototype.verify=function(e,t,r,i){e=this._truncateToN(new n(e,16)),r=this.keyFromPublic(r,i);var o=(t=new l(t,"hex")).r,a=t.s;if(o.cmpn(1)<0||o.cmp(this.n)>=0)return!1;if(a.cmpn(1)<0||a.cmp(this.n)>=0)return!1;var s,u=a.invm(this.n),c=u.mul(e).umod(this.n),f=u.mul(o).umod(this.n);return this.curve._maxwellTrick?!(s=this.g.jmulAdd(c,r.getPublic(),f)).isInfinity()&&s.eqXToP(o):!(s=this.g.mulAdd(c,r.getPublic(),f)).isInfinity()&&0===s.getX().umod(this.n).cmp(o)},f.prototype.recoverPubKey=function(e,t,r,i){u((3&r)===r,"The recovery param is more than two bits"),t=new l(t,i);var o=this.n,a=new n(e),s=t.r,c=t.s,f=1&r,h=r>>1;if(s.cmp(this.curve.p.umod(this.curve.n))>=0&&h)throw new Error("Unable to find sencond key candinate");s=h?this.curve.pointFromX(s.add(this.curve.n),f):this.curve.pointFromX(s,f);var d=t.r.invm(o),p=o.sub(a).mul(d).umod(o),y=c.mul(d).umod(o);return this.g.mulAdd(p,s,y)},f.prototype.getKeyRecoveryParam=function(e,t,r,n){if(null!==(t=new l(t,n)).recoveryParam)return t.recoveryParam;for(var i=0;i<4;i++){var o;try{o=this.recoverPubKey(e,t,i)}catch(e){continue}if(o.eq(r))return i}throw new Error("Unable to find valid recovery factor")}},function(e,t,r){"use strict";var n=r(90),i=r(161),o=r(15);function a(e){if(!(this instanceof a))return new a(e);this.hash=e.hash,this.predResist=!!e.predResist,this.outLen=this.hash.outSize,this.minEntropy=e.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var t=i.toArray(e.entropy,e.entropyEnc||"hex"),r=i.toArray(e.nonce,e.nonceEnc||"hex"),n=i.toArray(e.pers,e.persEnc||"hex");o(t.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(t,r,n)}e.exports=a,a.prototype._init=function(e,t,r){var n=e.concat(t).concat(r);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var i=0;i<this.V.length;i++)this.K[i]=0,this.V[i]=1;this._update(n),this._reseed=1,this.reseedInterval=281474976710656},a.prototype._hmac=function(){return new n.hmac(this.hash,this.K)},a.prototype._update=function(e){var t=this._hmac().update(this.V).update([0]);e&&(t=t.update(e)),this.K=t.digest(),this.V=this._hmac().update(this.V).digest(),e&&(this.K=this._hmac().update(this.V).update([1]).update(e).digest(),this.V=this._hmac().update(this.V).digest())},a.prototype.reseed=function(e,t,r,n){"string"!==typeof t&&(n=r,r=t,t=null),e=i.toArray(e,t),r=i.toArray(r,n),o(e.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(e.concat(r||[])),this._reseed=1},a.prototype.generate=function(e,t,r,n){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");"string"!==typeof t&&(n=r,r=t,t=null),r&&(r=i.toArray(r,n||"hex"),this._update(r));for(var o=[];o.length<e;)this.V=this._hmac().update(this.V).digest(),o=o.concat(this.V);var a=o.slice(0,e);return this._update(r),this._reseed++,i.encode(a,t)}},function(e,t,r){"use strict";var n=r(12),i=r(16).assert;function o(e,t){this.ec=e,this.priv=null,this.pub=null,t.priv&&this._importPrivate(t.priv,t.privEnc),t.pub&&this._importPublic(t.pub,t.pubEnc)}e.exports=o,o.fromPublic=function(e,t,r){return t instanceof o?t:new o(e,{pub:t,pubEnc:r})},o.fromPrivate=function(e,t,r){return t instanceof o?t:new o(e,{priv:t,privEnc:r})},o.prototype.validate=function(){var e=this.getPublic();return e.isInfinity()?{result:!1,reason:"Invalid public key"}:e.validate()?e.mul(this.ec.curve.n).isInfinity()?{result:!0,reason:null}:{result:!1,reason:"Public key * N != O"}:{result:!1,reason:"Public key is not a point"}},o.prototype.getPublic=function(e,t){return"string"===typeof e&&(t=e,e=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),t?this.pub.encode(t,e):this.pub},o.prototype.getPrivate=function(e){return"hex"===e?this.priv.toString(16,2):this.priv},o.prototype._importPrivate=function(e,t){this.priv=new n(e,t||16),this.priv=this.priv.umod(this.ec.curve.n)},o.prototype._importPublic=function(e,t){if(e.x||e.y)return"mont"===this.ec.curve.type?i(e.x,"Need x coordinate"):"short"!==this.ec.curve.type&&"edwards"!==this.ec.curve.type||i(e.x&&e.y,"Need both x and y coordinate"),void(this.pub=this.ec.curve.point(e.x,e.y));this.pub=this.ec.curve.decodePoint(e,t)},o.prototype.derive=function(e){return e.validate()||i(e.validate(),"public point not validated"),e.mul(this.priv).getX()},o.prototype.sign=function(e,t,r){return this.ec.sign(e,this,t,r)},o.prototype.verify=function(e,t){return this.ec.verify(e,t,this)},o.prototype.inspect=function(){return"<Key priv: "+(this.priv&&this.priv.toString(16,2))+" pub: "+(this.pub&&this.pub.inspect())+" >"}},function(e,t,r){"use strict";var n=r(12),i=r(16),o=i.assert;function a(e,t){if(e instanceof a)return e;this._importDER(e,t)||(o(e.r&&e.s,"Signature without r or s"),this.r=new n(e.r,16),this.s=new n(e.s,16),void 0===e.recoveryParam?this.recoveryParam=null:this.recoveryParam=e.recoveryParam)}function s(){this.place=0}function u(e,t){var r=e[t.place++];if(!(128&r))return r;var n=15&r;if(0===n||n>4)return!1;for(var i=0,o=0,a=t.place;o<n;o++,a++)i<<=8,i|=e[a],i>>>=0;return!(i<=127)&&(t.place=a,i)}function c(e){for(var t=0,r=e.length-1;!e[t]&&!(128&e[t+1])&&t<r;)t++;return 0===t?e:e.slice(t)}function l(e,t){if(t<128)e.push(t);else{var r=1+(Math.log(t)/Math.LN2>>>3);for(e.push(128|r);--r;)e.push(t>>>(r<<3)&255);e.push(t)}}e.exports=a,a.prototype._importDER=function(e,t){e=i.toArray(e,t);var r=new s;if(48!==e[r.place++])return!1;var o=u(e,r);if(!1===o)return!1;if(o+r.place!==e.length)return!1;if(2!==e[r.place++])return!1;var a=u(e,r);if(!1===a)return!1;var c=e.slice(r.place,a+r.place);if(r.place+=a,2!==e[r.place++])return!1;var l=u(e,r);if(!1===l)return!1;if(e.length!==l+r.place)return!1;var f=e.slice(r.place,l+r.place);if(0===c[0]){if(!(128&c[1]))return!1;c=c.slice(1)}if(0===f[0]){if(!(128&f[1]))return!1;f=f.slice(1)}return this.r=new n(c),this.s=new n(f),this.recoveryParam=null,!0},a.prototype.toDER=function(e){var t=this.r.toArray(),r=this.s.toArray();for(128&t[0]&&(t=[0].concat(t)),128&r[0]&&(r=[0].concat(r)),t=c(t),r=c(r);!r[0]&&!(128&r[1]);)r=r.slice(1);var n=[2];l(n,t.length),(n=n.concat(t)).push(2),l(n,r.length);var o=n.concat(r),a=[48];return l(a,o.length),a=a.concat(o),i.encode(a,e)}},function(e,t,r){"use strict";
vendor: 7,650 bytes, line 2
2var n=r(90),i=r(89),o=r(16),a=o.assert,s=o.parseBytes,u=r(328),c=r(329);function l(e){if(a("ed25519"===e,"only tested with ed25519 so far"),!(this instanceof l))return new l(e);e=i[e].curve,this.curve=e,this.g=e.g,this.g.precompute(e.n.bitLength()+1),this.pointClass=e.point().constructor,this.encodingLength=Math.ceil(e.n.bitLength()/8),this.hash=n.sha512}e.exports=l,l.prototype.sign=function(e,t){e=s(e);var r=this.keyFromSecret(t),n=this.hashInt(r.messagePrefix(),e),i=this.g.mul(n),o=this.encodePoint(i),a=this.hashInt(o,r.pubBytes(),e).mul(r.priv()),u=n.add(a).umod(this.curve.n);return this.makeSignature({R:i,S:u,Rencoded:o})},l.prototype.verify=function(e,t,r){e=s(e),t=this.makeSignature(t);var n=this.keyFromPublic(r),i=this.hashInt(t.Rencoded(),n.pubBytes(),e),o=this.g.mul(t.S());return t.R().add(n.pub().mul(i)).eq(o)},l.prototype.hashInt=function(){for(var e=this.hash(),t=0;t<arguments.length;t++)e.update(arguments[t]);return o.intFromLE(e.digest()).umod(this.curve.n)},l.prototype.keyFromPublic=function(e){return u.fromPublic(this,e)},l.prototype.keyFromSecret=function(e){return u.fromSecret(this,e)},l.prototype.makeSignature=function(e){return e instanceof c?e:new c(this,e)},l.prototype.encodePoint=function(e){var t=e.getY().toArray("le",this.encodingLength);return t[this.encodingLength-1]|=e.getX().isOdd()?128:0,t},l.prototype.decodePoint=function(e){var t=(e=o.parseBytes(e)).length-1,r=e.slice(0,t).concat(-129&e[t]),n=0!==(128&e[t]),i=o.intFromLE(r);return this.curve.pointFromY(i,n)},l.prototype.encodeInt=function(e){return e.toArray("le",this.encodingLength)},l.prototype.decodeInt=function(e){return o.intFromLE(e)},l.prototype.isPoint=function(e){return e instanceof this.pointClass}},function(e,t,r){"use strict";var n=r(16),i=n.assert,o=n.parseBytes,a=n.cachedProperty;function s(e,t){this.eddsa=e,this._secret=o(t.secret),e.isPoint(t.pub)?this._pub=t.pub:this._pubBytes=o(t.pub)}s.fromPublic=function(e,t){return t instanceof s?t:new s(e,{pub:t})},s.fromSecret=function(e,t){return t instanceof s?t:new s(e,{secret:t})},s.prototype.secret=function(){return this._secret},a(s,"pubBytes",(function(){return this.eddsa.encodePoint(this.pub())})),a(s,"pub",(function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())})),a(s,"privBytes",(function(){var e=this.eddsa,t=this.hash(),r=e.encodingLength-1,n=t.slice(0,e.encodingLength);return n[0]&=248,n[r]&=127,n[r]|=64,n})),a(s,"priv",(function(){return this.eddsa.decodeInt(this.privBytes())})),a(s,"hash",(function(){return this.eddsa.hash().update(this.secret()).digest()})),a(s,"messagePrefix",(function(){return this.hash().slice(this.eddsa.encodingLength)})),s.prototype.sign=function(e){return i(this._secret,"KeyPair can only verify"),this.eddsa.sign(e,this)},s.prototype.verify=function(e,t){return this.eddsa.verify(e,t,this)},s.prototype.getSecret=function(e){return i(this._secret,"KeyPair is public only"),n.encode(this.secret(),e)},s.prototype.getPublic=function(e){return n.encode(this.pubBytes(),e)},e.exports=s},function(e,t,r){"use strict";var n=r(12),i=r(16),o=i.assert,a=i.cachedProperty,s=i.parseBytes;function u(e,t){this.eddsa=e,"object"!==typeof t&&(t=s(t)),Array.isArray(t)&&(t={R:t.slice(0,e.encodingLength),S:t.slice(e.encodingLength)}),o(t.R&&t.S,"Signature without R or S"),e.isPoint(t.R)&&(this._R=t.R),t.S instanceof n&&(this._S=t.S),this._Rencoded=Array.isArray(t.R)?t.R:t.Rencoded,this._Sencoded=Array.isArray(t.S)?t.S:t.Sencoded}a(u,"S",(function(){return this.eddsa.decodeInt(this.Sencoded())})),a(u,"R",(function(){return this.eddsa.decodePoint(this.Rencoded())})),a(u,"Rencoded",(function(){return this.eddsa.encodePoint(this.R())})),a(u,"Sencoded",(function(){return this.eddsa.encodeInt(this.S())})),u.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())},u.prototype.toHex=function(){return i.encode(this.toBytes(),"hex").toUpperCase()},e.exports=u},,function(e,t,r){"use strict";var n=r(167);t.certificate=r(337);var i=n.define("RSAPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("modulus").int(),this.key("publicExponent").int(),this.key("privateExponent").int(),this.key("prime1").int(),this.key("prime2").int(),this.key("exponent1").int(),this.key("exponent2").int(),this.key("coefficient").int())}));t.RSAPrivateKey=i;var o=n.define("RSAPublicKey",(function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())}));t.RSAPublicKey=o;var a=n.define("SubjectPublicKeyInfo",(function(){this.seq().obj(this.key("algorithm").use(s),this.key("subjectPublicKey").bitstr())}));t.PublicKey=a;var s=n.define("AlgorithmIdentifier",(function(){this.seq().obj(this.key("algorithm").objid(),this.key("none").null_().optional(),this.key("curve").objid().optional(),this.key("params").seq().obj(this.key("p").int(),this.key("q").int(),this.key("g").int()).optional())})),u=n.define("PrivateKeyInfo",(function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(s),this.key("subjectPrivateKey").octstr())}));t.PrivateKey=u;var c=n.define("EncryptedPrivateKeyInfo",(function(){this.seq().obj(this.key("algorithm").seq().obj(this.key("id").objid(),this.key("decrypt").seq().obj(this.key("kde").seq().obj(this.key("id").objid(),this.key("kdeparams").seq().obj(this.key("salt").octstr(),this.key("iters").int())),this.key("cipher").seq().obj(this.key("algo").objid(),this.key("iv").octstr()))),this.key("subjectPrivateKey").octstr())}));t.EncryptedPrivateKey=c;var l=n.define("DSAPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("p").int(),this.key("q").int(),this.key("g").int(),this.key("pub_key").int(),this.key("priv_key").int())}));t.DSAPrivateKey=l,t.DSAparam=n.define("DSAparam",(function(){this.int()}));var f=n.define("ECPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").optional().explicit(0).use(h),this.key("publicKey").optional().explicit(1).bitstr())}));t.ECPrivateKey=f;var h=n.define("ECParameters",(function(){this.choice({namedCurve:this.objid()})}));t.signature=n.define("signature",(function(){this.seq().obj(this.key("r").int(),this.key("s").int())}))},function(e,t,r){"use strict";var n=r(168),i=r(170),o=r(3);function a(e,t){this.name=e,this.body=t,this.decoders={},this.encoders={}}t.define=function(e,t){return new a(e,t)},a.prototype._createNamed=function(e){var t=this.name;function r(e){this._initNamed(e,t)}return o(r,e),r.prototype._initNamed=function(t,r){e.call(this,t,r)},new r(this)},a.prototype._getDecoder=function(e){return e=e||"der",this.decoders.hasOwnProperty(e)||(this.decoders[e]=this._createNamed(i[e])),this.decoders[e]},a.prototype.decode=function(e,t,r){return this._getDecoder(t).decode(e,r)},a.prototype._getEncoder=function(e){return e=e||"der",this.encoders.hasOwnProperty(e)||(this.encoders[e]=this._createNamed(n[e])),this.encoders[e]},a.prototype.encode=function(e,t,r){return this._getEncoder(t).encode(e,r)}},function(e,t,r){"use strict";var n=r(3),i=r(169);function o(e){i.call(this,e),this.enc="pem"}n(o,i),e.exports=o,o.prototype.encode=function(e,t){for(var r=i.prototype.encode.call(this,e).toString("base64"),n=["-----BEGIN "+t.label+"-----"],o=0;o<r.length;o+=64)n.push(r.slice(o,o+64));return n.push("-----END "+t.label+"-----"),n.join("\n")}},function(e,t,r){"use strict";var n=r(3),i=r(91).Buffer,o=r(171);function a(e){o.call(this,e),this.enc="pem"}n(a,o),e.exports=a,a.prototype.decode=function(e,t){for(var r=e.toString().split(/[\r\n]+/g),n=t.label.toUpperCase(),a=/^-----(BEGIN|END) ([^-]+)-----$/,s=-1,u=-1,c=0;c<r.length;c++){var l=r[c].match(a);
vendor: 4,210 bytes, line 2
2if(null!==l&&l[2]===n){if(-1!==s){if("END"!==l[1])break;u=c;break}if("BEGIN"!==l[1])break;s=c}}if(-1===s||-1===u)throw new Error("PEM section not found for: "+n);var f=r.slice(s+1,u).join("");f.replace(/[^a-z0-9+/=]+/gi,"");var h=i.from(f,"base64");return o.prototype.decode.call(this,h,t)}},function(e,t,r){"use strict";var n=t;n.Reporter=r(93).Reporter,n.DecoderBuffer=r(45).DecoderBuffer,n.EncoderBuffer=r(45).EncoderBuffer,n.Node=r(92)},function(e,t,r){"use strict";var n=t;n._reverse=function(e){var t={};return Object.keys(e).forEach((function(r){(0|r)==r&&(r|=0);var n=e[r];t[n]=r})),t},n.der=r(94)},function(e,t,r){"use strict";var n=r(167),i=n.define("Time",(function(){this.choice({utcTime:this.utctime(),generalTime:this.gentime()})})),o=n.define("AttributeTypeValue",(function(){this.seq().obj(this.key("type").objid(),this.key("value").any())})),a=n.define("AlgorithmIdentifier",(function(){this.seq().obj(this.key("algorithm").objid(),this.key("parameters").optional(),this.key("curve").objid().optional())})),s=n.define("SubjectPublicKeyInfo",(function(){this.seq().obj(this.key("algorithm").use(a),this.key("subjectPublicKey").bitstr())})),u=n.define("RelativeDistinguishedName",(function(){this.setof(o)})),c=n.define("RDNSequence",(function(){this.seqof(u)})),l=n.define("Name",(function(){this.choice({rdnSequence:this.use(c)})})),f=n.define("Validity",(function(){this.seq().obj(this.key("notBefore").use(i),this.key("notAfter").use(i))})),h=n.define("Extension",(function(){this.seq().obj(this.key("extnID").objid(),this.key("critical").bool().def(!1),this.key("extnValue").octstr())})),d=n.define("TBSCertificate",(function(){this.seq().obj(this.key("version").explicit(0).int().optional(),this.key("serialNumber").int(),this.key("signature").use(a),this.key("issuer").use(l),this.key("validity").use(f),this.key("subject").use(l),this.key("subjectPublicKeyInfo").use(s),this.key("issuerUniqueID").implicit(1).bitstr().optional(),this.key("subjectUniqueID").implicit(2).bitstr().optional(),this.key("extensions").explicit(3).seqof(h).optional())})),p=n.define("X509Certificate",(function(){this.seq().obj(this.key("tbsCertificate").use(d),this.key("signatureAlgorithm").use(a),this.key("signatureValue").bitstr())}));e.exports=p},function(e){e.exports=JSON.parse('{"2.16.840.1.101.3.4.1.1":"aes-128-ecb","2.16.840.1.101.3.4.1.2":"aes-128-cbc","2.16.840.1.101.3.4.1.3":"aes-128-ofb","2.16.840.1.101.3.4.1.4":"aes-128-cfb","2.16.840.1.101.3.4.1.21":"aes-192-ecb","2.16.840.1.101.3.4.1.22":"aes-192-cbc","2.16.840.1.101.3.4.1.23":"aes-192-ofb","2.16.840.1.101.3.4.1.24":"aes-192-cfb","2.16.840.1.101.3.4.1.41":"aes-256-ecb","2.16.840.1.101.3.4.1.42":"aes-256-cbc","2.16.840.1.101.3.4.1.43":"aes-256-ofb","2.16.840.1.101.3.4.1.44":"aes-256-cfb"}')},function(e,t,r){var n=/Proc-Type: 4,ENCRYPTED[\n\r]+DEK-Info: AES-((?:128)|(?:192)|(?:256))-CBC,([0-9A-H]+)[\n\r]+([0-9A-z\n\r+/=]+)[\n\r]+/m,i=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----/m,o=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----([0-9A-z\n\r+/=]+)-----END \1-----$/m,a=r(57),s=r(82),u=r(5).Buffer;e.exports=function(e,t){var r,c=e.toString(),l=c.match(n);if(l){var f="aes"+l[1],h=u.from(l[2],"hex"),d=u.from(l[3].replace(/[\r\n]/g,""),"base64"),p=a(t,h.slice(0,8),parseInt(l[1],10)).key,y=[],m=s.createDecipheriv(f,p,h);y.push(m.update(d)),y.push(m.final()),r=u.concat(y)}else{var b=c.match(o);r=u.from(b[2].replace(/[\r\n]/g,""),"base64")}return{tag:c.match(i)[1],data:r}}},function(e,t,r){var n=r(5).Buffer,i=r(166),o=r(88).ec,a=r(59),s=r(172);function u(e,t){if(e.cmpn(0)<=0)throw new Error("invalid sig");if(e.cmp(t)>=t)throw new Error("invalid sig")}e.exports=function(e,t,r,c,l){var f=a(r);if("ec"===f.type){if("ecdsa"!==c&&"ecdsa/rsa"!==c)throw new Error("wrong public key type");return function(e,t,r){var n=s[r.data.algorithm.curve.join(".")];if(!n)throw new Error("unknown curve "+r.data.algorithm.curve.join("."));var i=new o(n),a=r.data.subjectPrivateKey.data;return i.verify(t,e,a)}(e,t,f)}if("dsa"===f.type){if("dsa"!==c)throw new Error("wrong public key type");return function(e,t,r){var n=r.data.p,o=r.data.q,s=r.data.g,c=r.data.pub_key,l=a.signature.decode(e,"der"),f=l.s,h=l.r;u(f,o),u(h,o);var d=i.mont(n),p=f.invm(o);
vendor: 6,582 bytes, line 2
2return 0===s.toRed(d).redPow(new i(t).mul(p).mod(o)).fromRed().mul(c.toRed(d).redPow(h.mul(p).mod(o)).fromRed()).mod(n).mod(o).cmp(h)}(e,t,f)}if("rsa"!==c&&"ecdsa/rsa"!==c)throw new Error("wrong public key type");t=n.concat([l,t]);for(var h=f.modulus.byteLength(),d=[1],p=0;t.length+d.length+2<h;)d.push(255),p++;d.push(0);for(var y=-1;++y<t.length;)d.push(t[y]);d=n.from(d);var m=i.mont(f.modulus);e=(e=new i(e).toRed(m)).redPow(new i(f.publicExponent)),e=n.from(e.fromRed().toArray());var b=p<8?1:0;for(h=Math.min(e.length,d.length),e.length!==d.length&&(b=1),y=-1;++y<h;)b|=e[y]^d[y];return 0===b}},function(e,t,r){(function(t){var n=r(88),i=r(12);e.exports=function(e){return new a(e)};var o={secp256k1:{name:"secp256k1",byteLength:32},secp224r1:{name:"p224",byteLength:28},prime256v1:{name:"p256",byteLength:32},prime192v1:{name:"p192",byteLength:24},ed25519:{name:"ed25519",byteLength:32},secp384r1:{name:"p384",byteLength:48},secp521r1:{name:"p521",byteLength:66}};function a(e){this.curveType=o[e],this.curveType||(this.curveType={name:e}),this.curve=new n.ec(this.curveType.name),this.keys=void 0}function s(e,r,n){Array.isArray(e)||(e=e.toArray());var i=new t(e);if(n&&i.length<n){var o=new t(n-i.length);o.fill(0),i=t.concat([o,i])}return r?i.toString(r):i}o.p224=o.secp224r1,o.p256=o.secp256r1=o.prime256v1,o.p192=o.secp192r1=o.prime192v1,o.p384=o.secp384r1,o.p521=o.secp521r1,a.prototype.generateKeys=function(e,t){return this.keys=this.curve.genKeyPair(),this.getPublicKey(e,t)},a.prototype.computeSecret=function(e,r,n){return r=r||"utf8",t.isBuffer(e)||(e=new t(e,r)),s(this.curve.keyFromPublic(e).getPublic().mul(this.keys.getPrivate()).getX(),n,this.curveType.byteLength)},a.prototype.getPublicKey=function(e,t){var r=this.keys.getPublic("compressed"===t,!0);return"hybrid"===t&&(r[r.length-1]%2?r[0]=7:r[0]=6),s(r,e)},a.prototype.getPrivateKey=function(e){return s(this.keys.getPrivate(),e)},a.prototype.setPublicKey=function(e,r){return r=r||"utf8",t.isBuffer(e)||(e=new t(e,r)),this.keys._importPublic(e),this},a.prototype.setPrivateKey=function(e,r){r=r||"utf8",t.isBuffer(e)||(e=new t(e,r));var n=new i(e);return n=n.toString(16),this.keys=this.curve.genKeyPair(),this.keys._importPrivate(n),this}}).call(this,r(10).Buffer)},function(e,t,r){t.publicEncrypt=r(343),t.privateDecrypt=r(344),t.privateEncrypt=function(e,r){return t.publicEncrypt(e,r,!0)},t.publicDecrypt=function(e,r){return t.privateDecrypt(e,r,!0)}},function(e,t,r){var n=r(59),i=r(33),o=r(42),a=r(173),s=r(174),u=r(12),c=r(175),l=r(87),f=r(5).Buffer;e.exports=function(e,t,r){var h;h=e.padding?e.padding:r?1:4;var d,p=n(e);if(4===h)d=function(e,t){var r=e.modulus.byteLength(),n=t.length,c=o("sha1").update(f.alloc(0)).digest(),l=c.length,h=2*l;if(n>r-h-2)throw new Error("message too long");var d=f.alloc(r-n-h-2),p=r-l-1,y=i(l),m=s(f.concat([c,d,f.alloc(1,1),t],p),a(y,p)),b=s(y,a(m,l));return new u(f.concat([f.alloc(1),b,m],r))}(p,t);else if(1===h)d=function(e,t,r){var n,o=t.length,a=e.modulus.byteLength();if(o>a-11)throw new Error("message too long");n=r?f.alloc(a-o-3,255):function(e){var t,r=f.allocUnsafe(e),n=0,o=i(2*e),a=0;for(;n<e;)a===o.length&&(o=i(2*e),a=0),(t=o[a++])&&(r[n++]=t);return r}(a-o-3);return new u(f.concat([f.from([0,r?1:2]),n,f.alloc(1),t],a))}(p,t,r);else{if(3!==h)throw new Error("unknown padding");if((d=new u(t)).cmp(p.modulus)>=0)throw new Error("data too long for modulus")}return r?l(d,p):c(d,p)}},function(e,t,r){var n=r(59),i=r(173),o=r(174),a=r(12),s=r(87),u=r(42),c=r(175),l=r(5).Buffer;e.exports=function(e,t,r){var f;f=e.padding?e.padding:r?1:4;var h,d=n(e),p=d.modulus.byteLength();if(t.length>p||new a(t).cmp(d.modulus)>=0)throw new Error("decryption error");h=r?c(new a(t),d):s(t,d);var y=l.alloc(p-h.length);if(h=l.concat([y,h],p),4===f)return function(e,t){var r=e.modulus.byteLength(),n=u("sha1").update(l.alloc(0)).digest(),a=n.length;if(0!==t[0])throw new Error("decryption error");var s=t.slice(1,a+1),c=t.slice(a+1),f=o(s,i(c,a)),h=o(c,i(f,r-a-1));if(function(e,t){e=l.from(e),t=l.from(t);var r=0,n=e.length;e.length!==t.length&&(r++,n=Math.min(e.length,t.length));var i=-1;for(;++i<n;)r+=e[i]^t[i];return r}(n,h.slice(0,a)))throw new Error("decryption error");var d=a;for(;0===h[d];)d++;if(1!==h[d++])throw new Error("decryption error");return h.slice(d)}(d,h);if(1===f)return function(e,t,r){var n=t.slice(0,2),i=2,o=0;for(;0!==t[i++];)if(i>=t.length){o++;break}var a=t.slice(2,i-1);("0002"!==n.toString("hex")&&!r||"0001"!==n.toString("hex")&&r)&&o++;a.length<8&&o++;if(o)throw new Error("decryption error");return t.slice(i)}(0,h,r);if(3===f)return h;throw new Error("unknown padding")}},function(e,t,r){"use strict";(function(e,n){function i(){throw new Error("secure random number generation not supported by this browser\nuse chrome, FireFox or Internet Explorer 11")}var o=r(5),a=r(33),s=o.Buffer,u=o.kMaxLength,c=e.crypto||e.msCrypto,l=Math.pow(2,32)-1;function f(e,t){if("number"!==typeof e||e!==e)throw new TypeError("offset must be a number");if(e>l||e<0)throw new TypeError("offset must be a uint32");if(e>u||e>t)throw new RangeError("offset out of range")}function h(e,t,r){if("number"!==typeof e||e!==e)throw new TypeError("size must be a number");if(e>l||e<0)throw new TypeError("size must be a uint32");if(e+t>r||e>u)throw new RangeError("buffer too small")}function d(e,t,r,i){if(n.browser){var o=e.buffer,s=new Uint8Array(o,t,r);return c.getRandomValues(s),i?void n.nextTick((function(){i(null,e)})):e}if(!i)return a(r).copy(e,t),e;a(r,(function(r,n){if(r)return i(r);n.copy(e,t),i(null,e)}))}c&&c.getRandomValues||!n.browser?(t.randomFill=function(t,r,n,i){if(!s.isBuffer(t)&&!(t instanceof e.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');if("function"===typeof r)i=r,r=0,n=t.length;else if("function"===typeof n)i=n,n=t.length-r;else if("function"!==typeof i)throw new TypeError('"cb" argument must be a function');return f(r,t.length),h(n,r,t.length),d(t,r,n,i)},t.randomFillSync=function(t,r,n){"undefined"===typeof r&&(r=0);if(!s.isBuffer(t)&&!(t instanceof e.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');f(r,t.length),void 0===n&&(n=t.length-r);return h(n,r,t.length),d(t,r,n)}):(t.randomFill=i,t.randomFillSync=i)}).call(this,r(11),r(8))},function(e,t,r){"use strict";var n=r(5).Buffer,i=r(347),o=128;function a(e){if(n.isBuffer(e))return e;if("string"===typeof e)return n.from(e,"base64");throw new TypeError("ECDSA signature must be a Base64 string or a Buffer")}function s(e,t,r){for(var n=0;t+n<r&&0===e[t+n];)++n;return e[t+n]>=o&&--n,n}
2e.exports={derToJose:function(e,t){e=a(e);var r=i(t),o=r+1,s=e.length,u=0;if(48!==e[u++])throw new Error('Could not find expected "seq"');var c=e[u++];if(129===c&&(c=e[u++]),s-u<c)throw new Error('"seq" specified length of "'+c+'", only "'+(s-u)+'" remaining');if(2!==e[u++])throw new Error('Could not find expected "int" for "r"');var l=e[u++];if(s-u-2<l)throw new Error('"r" specified length of "'+l+'", only "'+(s-u-2)+'" available');if(o<l)throw new Error('"r" specified length of "'+l+'", max of "'+o+'" is acceptable');var f=u;if(u+=l,2!==e[u++])throw new Error('Could not find expected "int" for "s"');var h=e[u++];if(s-u!==h)throw new Error('"s" specified length of "'+h+'", expected "'+(s-u)+'"');if(o<h)throw new Error('"s" specified length of "'+h+'", max of "'+o+'" is acceptable');var d=u;if((u+=h)!==s)throw new Error('Expected to consume entire buffer, but "'+(s-u)+'" bytes remain');var p=r-l,y=r-h,m=n.allocUnsafe(p+l+y+h);for(u=0;u<p;++u)m[u]=0;e.copy(m,u,f+Math.max(-p,0),f+l);for(var b=u=r;u<b+y;++u)m[u]=0;return e.copy(m,u,d+Math.max(-y,0),d+h),m=(m=m.toString("base64")).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")},joseToDer:function(e,t){e=a(e);var r=i(t),u=e.length;if(u!==2*r)throw new TypeError('"'+t+'" signatures must be "'+2*r+'" bytes, saw "'+u+'"');var c=s(e,0,r),l=s(e,r,e.length),f=r-c,h=r-l,d=2+f+1+1+h,p=d<o,y=n.allocUnsafe((p?2:3)+d),m=0;return y[m++]=48,p?y[m++]=d:(y[m++]=129,y[m++]=255&d),y[m++]=2,y[m++]=f,c<0?(y[m++]=0,m+=e.copy(y,m,0,r)):m+=e.copy(y,m,c,r),y[m++]=2,y[m++]=h,l<0?(y[m++]=0,e.copy(y,m,r)):e.copy(y,m,r+l),y}}},function(e,t,r){"use strict";function n(e){return(e/8|0)+(e%8===0?0:1)}var i={ES256:n(256),ES384:n(384),ES512:n(521)};e.exports=function(e){var t=i[e];if(t)return t;throw new Error('Unknown algorithm "'+e+'"')}},function(e,t,r){var n=r(5).Buffer,i=r(123),o=r(128),a=r(53),s=r(176),u=r(55),c=/^[a-zA-Z0-9\-_]+?\.[a-zA-Z0-9\-_]+?\.([a-zA-Z0-9\-_]+)?$/;function l(e){if(function(e){return"[object Object]"===Object.prototype.toString.call(e)}(e))return e;try{return JSON.parse(e)}catch(t){return}}function f(e){var t=e.split(".",1)[0];return l(n.from(t,"base64").toString("binary"))}function h(e){return e.split(".")[2]}function d(e){return c.test(e)&&!!f(e)}function p(e,t,r){if(!t){var n=new Error("Missing algorithm parameter for jws.verify");throw n.code="MISSING_ALGORITHM",n}var i=h(e=s(e)),a=function(e){return e.split(".",2).join(".")}(e);return o(t).verify(a,i,r)}function y(e,t){if(t=t||{},!d(e=s(e)))return null;var r=f(e);if(!r)return null;var i=function(e,t){t=t||"utf8";var r=e.split(".")[1];return n.from(r,"base64").toString(t)}(e);return("JWT"===r.typ||t.json)&&(i=JSON.parse(i,t.encoding)),{header:r,payload:i,signature:h(e)}}function m(e){var t=(e=e||{}).secret||e.publicKey||e.key,r=new i(t);this.readable=!0,this.algorithm=e.algorithm,this.encoding=e.encoding,this.secret=this.publicKey=this.key=r,this.signature=new i(e.signature),this.secret.once("close",function(){!this.signature.writable&&this.readable&&this.verify()}.bind(this)),this.signature.once("close",function(){!this.secret.writable&&this.readable&&this.verify()}.bind(this))}u.inherits(m,a),m.prototype.verify=function(){try{var e=p(this.signature.buffer,this.algorithm,this.key.buffer),t=y(this.signature.buffer,this.encoding);return this.emit("done",e,t),this.emit("data",e),this.emit("end"),this.readable=!1,e}catch(r){this.readable=!1,this.emit("error",r),this.emit("close")}},m.decode=y,m.isValid=d,m.verify=p,e.exports=m},function(e,t,r){var n=r(60),i=r(177),o=r(178),a=r(121),s=r(179),u=r(180),c=r(72),l=["RS256","RS384","RS512","ES256","ES384","ES512"],f=["RS256","RS384","RS512"],h=["HS256","HS384","HS512"];u&&(l.splice(3,0,"PS256","PS384","PS512"),f.splice(3,0,"PS256","PS384","PS512")),e.exports=function(e,t,r,u){var d;if("function"!==typeof r||u||(u=r,r={}),r||(r={}),r=Object.assign({},r),d=u||function(e,t){if(e)throw e;return t},r.clockTimestamp&&"number"!==typeof r.clockTimestamp)return d(new n("clockTimestamp must be a number"));if(void 0!==r.nonce&&("string"!==typeof r.nonce||""===r.nonce.trim()))return d(new n("nonce must be a non-empty string"));var p=r.clockTimestamp||Math.floor(Date.now()/1e3);if(!e)return d(new n("jwt must be provided"));if("string"!==typeof e)return d(new n("jwt must be a string"));var y,m=e.split(".");if(3!==m.length)return d(new n("jwt malformed"));try{y=a(e,{complete:!0})}catch(g){return d(g)}if(!y)return d(new n("invalid token"));var b,v=y.header;if("function"===typeof t){if(!u)return d(new n("verify must be called asynchronous if secret or public key is provided as a callback"));b=t}else b=function(e,r){return r(null,t)};return b(v,(function(t,a){if(t)return d(new n("error in secret or public key callback: "+t.message));var u,b=""!==m[2].trim();if(!b&&a)return d(new n("jwt signature is required"));if(b&&!a)return d(new n("secret or public key must be provided"));if(b||r.algorithms||(r.algorithms=["none"]),r.algorithms||(r.algorithms=~a.toString().indexOf("BEGIN CERTIFICATE")||~a.toString().indexOf("BEGIN PUBLIC KEY")?l:~a.toString().indexOf("BEGIN RSA PUBLIC KEY")?f:h),!~r.algorithms.indexOf(y.header.alg))return d(new n("invalid algorithm"));try{u=c.verify(e,y.header.alg,a)}catch(M){return d(M)}if(!u)return d(new n("invalid signature"));var g=y.payload;if("undefined"!==typeof g.nbf&&!r.ignoreNotBefore){if("number"!==typeof g.nbf)return d(new n("invalid nbf value"));if(g.nbf>p+(r.clockTolerance||0))return d(new i("jwt not active",new Date(1e3*g.nbf)))}if("undefined"!==typeof g.exp&&!r.ignoreExpiration){if("number"!==typeof g.exp)return d(new n("invalid exp value"));if(p>=g.exp+(r.clockTolerance||0))return d(new o("jwt expired",new Date(1e3*g.exp)))}
2if(r.audience){var _=Array.isArray(r.audience)?r.audience:[r.audience];if(!(Array.isArray(g.aud)?g.aud:[g.aud]).some((function(e){return _.some((function(t){return t instanceof RegExp?t.test(e):t===e}))})))return d(new n("jwt audience invalid. expected: "+_.join(" or ")))}if(r.issuer&&("string"===typeof r.issuer&&g.iss!==r.issuer||Array.isArray(r.issuer)&&-1===r.issuer.indexOf(g.iss)))return d(new n("jwt issuer invalid. expected: "+r.issuer));if(r.subject&&g.sub!==r.subject)return d(new n("jwt subject invalid. expected: "+r.subject));if(r.jwtid&&g.jti!==r.jwtid)return d(new n("jwt jwtid invalid. expected: "+r.jwtid));if(r.nonce&&g.nonce!==r.nonce)return d(new n("jwt nonce invalid. expected: "+r.nonce));if(r.maxAge){if("number"!==typeof g.iat)return d(new n("iat required when maxAge is specified"));var w=s(r.maxAge,g.iat);if("undefined"===typeof w)return d(new n('"maxAge" should be a number of seconds or string representing a timespan eg: "1d", "20h", 60'));if(p>=w+(r.clockTolerance||0))return d(new o("maxAge exceeded",new Date(1e3*w)))}if(!0===r.complete){var S=y.signature;return d(null,{header:v,payload:g,signature:S})}return d(null,g)}))}},function(e,t){var r=1e3,n=60*r,i=60*n,o=24*i,a=7*o,s=365.25*o;function u(e,t,r,n){var i=t>=1.5*r;return Math.round(e/r)+" "+n+(i?"s":"")}e.exports=function(e,t){t=t||{};var c=typeof e;if("string"===c&&e.length>0)return function(e){if((e=String(e)).length>100)return;var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!t)return;var u=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return u*s;case"weeks":case"week":case"w":return u*a;case"days":case"day":case"d":return u*o;case"hours":case"hour":case"hrs":case"hr":case"h":return u*i;case"minutes":case"minute":case"mins":case"min":case"m":return u*n;case"seconds":case"second":case"secs":case"sec":case"s":return u*r;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return u;default:return}}(e);if("number"===c&&isFinite(e))return t.long?function(e){var t=Math.abs(e);if(t>=o)return u(e,t,o,"day");if(t>=i)return u(e,t,i,"hour");if(t>=n)return u(e,t,n,"minute");if(t>=r)return u(e,t,r,"second");return e+" ms"}(e):function(e){var t=Math.abs(e);if(t>=o)return Math.round(e/o)+"d";if(t>=i)return Math.round(e/i)+"h";if(t>=n)return Math.round(e/n)+"m";if(t>=r)return Math.round(e/r)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},function(e,t,r){(function(r){var n;t=e.exports=K,n="object"===typeof r&&Object({NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0})&&Object({NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}).NODE_DEBUG&&/\bsemver\b/i.test(Object({NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}).NODE_DEBUG)?function(){var e=Array.prototype.slice.call(arguments,0);e.unshift("SEMVER"),console.log.apply(console,e)}:function(){},t.SEMVER_SPEC_VERSION="2.0.0";var i=Number.MAX_SAFE_INTEGER||9007199254740991,o=t.re=[],a=t.src=[],s=0,u=s++;a[u]="0|[1-9]\\d*";var c=s++;a[c]="[0-9]+";var l=s++;a[l]="\\d*[a-zA-Z-][a-zA-Z0-9-]*";var f=s++;a[f]="("+a[u]+")\\.("+a[u]+")\\.("+a[u]+")";var h=s++;a[h]="("+a[c]+")\\.("+a[c]+")\\.("+a[c]+")";var d=s++;a[d]="(?:"+a[u]+"|"+a[l]+")";var p=s++;a[p]="(?:"+a[c]+"|"+a[l]+")";var y=s++;a[y]="(?:-("+a[d]+"(?:\\."+a[d]+")*))";var m=s++;a[m]="(?:-?("+a[p]+"(?:\\."+a[p]+")*))";var b=s++;a[b]="[0-9A-Za-z-]+";var v=s++;a[v]="(?:\\+("+a[b]+"(?:\\."+a[b]+")*))";var g=s++,_="v?"+a[f]+a[y]+"?"+a[v]+"?";a[g]="^"+_+"$";var w="[v=\\s]*"+a[h]+a[m]+"?"+a[v]+"?",S=s++;a[S]="^"+w+"$";var M=s++;a[M]="((?:<|>)?=?)";var x=s++;a[x]=a[c]+"|x|X|\\*";var E=s++;a[E]=a[u]+"|x|X|\\*";var k=s++;a[k]="[v=\\s]*("+a[E]+")(?:\\.("+a[E]+")(?:\\.("+a[E]+")(?:"+a[y]+")?"+a[v]+"?)?)?";var O=s++;a[O]="[v=\\s]*("+a[x]+")(?:\\.("+a[x]+")(?:\\.("+a[x]+")(?:"+a[m]+")?"+a[v]+"?)?)?";var T=s++;a[T]="^"+a[M]+"\\s*"+a[k]+"$";var P=s++;a[P]="^"+a[M]+"\\s*"+a[O]+"$";var A=s++;a[A]="(?:^|[^\\d])(\\d{1,16})(?:\\.(\\d{1,16}))?(?:\\.(\\d{1,16}))?(?:$|[^\\d])";var R=s++;a[R]="(?:~>?)";var j=s++;a[j]="(\\s*)"+a[R]+"\\s+",o[j]=new RegExp(a[j],"g");var C=s++;a[C]="^"+a[R]+a[k]+"$";var N=s++;a[N]="^"+a[R]+a[O]+"$";var I=s++;a[I]="(?:\\^)";var L=s++;a[L]="(\\s*)"+a[I]+"\\s+",o[L]=new RegExp(a[L],"g");var D=s++;a[D]="^"+a[I]+a[k]+"$";var B=s++;a[B]="^"+a[I]+a[O]+"$";var q=s++;a[q]="^"+a[M]+"\\s*("+w+")$|^$";var U=s++;a[U]="^"+a[M]+"\\s*("+_+")$|^$";var z=s++;a[z]="(\\s*)"+a[M]+"\\s*("+w+"|"+a[k]+")",o[z]=new RegExp(a[z],"g");var F=s++;a[F]="^\\s*("+a[k]+")\\s+-\\s+("+a[k]+")\\s*$";var H=s++;a[H]="^\\s*("+a[O]+")\\s+-\\s+("+a[O]+")\\s*$";var V=s++;a[V]="(<|>)?=?\\s*\\*";
vendor: 12,571 bytes, line 2
2for(var W=0;W<35;W++)n(W,a[W]),o[W]||(o[W]=new RegExp(a[W]));function G(e,t){if(t&&"object"===typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof K)return e;if("string"!==typeof e)return null;if(e.length>256)return null;if(!(t.loose?o[S]:o[g]).test(e))return null;try{return new K(e,t)}catch(r){return null}}function K(e,t){if(t&&"object"===typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof K){if(e.loose===t.loose)return e;e=e.version}else if("string"!==typeof e)throw new TypeError("Invalid Version: "+e);if(e.length>256)throw new TypeError("version is longer than 256 characters");if(!(this instanceof K))return new K(e,t);n("SemVer",e,t),this.options=t,this.loose=!!t.loose;var r=e.trim().match(t.loose?o[S]:o[g]);if(!r)throw new TypeError("Invalid Version: "+e);if(this.raw=e,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>i||this.major<0)throw new TypeError("Invalid major version");if(this.minor>i||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>i||this.patch<0)throw new TypeError("Invalid patch version");r[4]?this.prerelease=r[4].split(".").map((function(e){if(/^[0-9]+$/.test(e)){var t=+e;if(t>=0&&t<i)return t}return e})):this.prerelease=[],this.build=r[5]?r[5].split("."):[],this.format()}t.parse=G,t.valid=function(e,t){var r=G(e,t);return r?r.version:null},t.clean=function(e,t){var r=G(e.trim().replace(/^[=v]+/,""),t);return r?r.version:null},t.SemVer=K,K.prototype.format=function(){return this.version=this.major+"."+this.minor+"."+this.patch,this.prerelease.length&&(this.version+="-"+this.prerelease.join(".")),this.version},K.prototype.toString=function(){return this.version},K.prototype.compare=function(e){return n("SemVer.compare",this.version,this.options,e),e instanceof K||(e=new K(e,this.options)),this.compareMain(e)||this.comparePre(e)},K.prototype.compareMain=function(e){return e instanceof K||(e=new K(e,this.options)),X(this.major,e.major)||X(this.minor,e.minor)||X(this.patch,e.patch)},K.prototype.comparePre=function(e){if(e instanceof K||(e=new K(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;var t=0;do{var r=this.prerelease[t],i=e.prerelease[t];if(n("prerelease compare",t,r,i),void 0===r&&void 0===i)return 0;if(void 0===i)return 1;if(void 0===r)return-1;if(r!==i)return X(r,i)}while(++t)},K.prototype.inc=function(e,t){switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t),this.inc("pre",t);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",t),this.inc("pre",t);break;case"major":0===this.minor&&0===this.patch&&0!==this.prerelease.length||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":0===this.patch&&0!==this.prerelease.length||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":if(0===this.prerelease.length)this.prerelease=[0];else{for(var r=this.prerelease.length;--r>=0;)"number"===typeof this.prerelease[r]&&(this.prerelease[r]++,r=-2);-1===r&&this.prerelease.push(0)}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error("invalid increment argument: "+e)}return this.format(),this.raw=this.version,this},t.inc=function(e,t,r,n){"string"===typeof r&&(n=r,r=void 0);try{return new K(e,r).inc(t,n).version}catch(i){return null}},t.diff=function(e,t){if(Q(e,t))return null;var r=G(e),n=G(t),i="";if(r.prerelease.length||n.prerelease.length){i="pre";var o="prerelease"}for(var a in r)if(("major"===a||"minor"===a||"patch"===a)&&r[a]!==n[a])return i+a;return o},t.compareIdentifiers=X;var Y=/^[0-9]+$/;function X(e,t){var r=Y.test(e),n=Y.test(t);return r&&n&&(e=+e,t=+t),e===t?0:r&&!n?-1:n&&!r?1:e<t?-1:1}function $(e,t,r){return new K(e,r).compare(new K(t,r))}function Z(e,t,r){return $(e,t,r)>0}function J(e,t,r){return $(e,t,r)<0}function Q(e,t,r){return 0===$(e,t,r)}function ee(e,t,r){return 0!==$(e,t,r)}function te(e,t,r){return $(e,t,r)>=0}function re(e,t,r){return $(e,t,r)<=0}function ne(e,t,r,n){switch(t){case"===":return"object"===typeof e&&(e=e.version),"object"===typeof r&&(r=r.version),e===r;case"!==":return"object"===typeof e&&(e=e.version),"object"===typeof r&&(r=r.version),e!==r;case"":case"=":case"==":return Q(e,r,n);case"!=":return ee(e,r,n);case">":return Z(e,r,n);case">=":return te(e,r,n);case"<":return J(e,r,n);case"<=":return re(e,r,n);default:throw new TypeError("Invalid operator: "+t)}}function ie(e,t){if(t&&"object"===typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof ie){if(e.loose===!!t.loose)return e;e=e.value}if(!(this instanceof ie))return new ie(e,t);n("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===oe?this.value="":this.value=this.operator+this.semver.version,n("comp",this)}t.rcompareIdentifiers=function(e,t){return X(t,e)},t.major=function(e,t){return new K(e,t).major},t.minor=function(e,t){return new K(e,t).minor},t.patch=function(e,t){return new K(e,t).patch},t.compare=$,t.compareLoose=function(e,t){return $(e,t,!0)},t.rcompare=function(e,t,r){return $(t,e,r)},t.sort=function(e,r){return e.sort((function(e,n){return t.compare(e,n,r)}))},t.rsort=function(e,r){return e.sort((function(e,n){return t.rcompare(e,n,r)}))},t.gt=Z,t.lt=J,t.eq=Q,t.neq=ee,t.gte=te,t.lte=re,t.cmp=ne,t.Comparator=ie;var oe={};function ae(e,t){if(t&&"object"===typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof ae)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new ae(e.raw,t);if(e instanceof ie)return new ae(e.value,t);if(!(this instanceof ae))return new ae(e,t);if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e,this.set=e.split(/\s*\|\|\s*/).map((function(e){return this.parseRange(e.trim())}),this).filter((function(e){return e.length})),!this.set.length)throw new TypeError("Invalid SemVer Range: "+e);this.format()}function se(e){return!e||"x"===e.toLowerCase()||"*"===e}function ue(e,t,r,n,i,o,a,s,u,c,l,f,h){return((t=se(r)?"":se(n)?">="+r+".0.0":se(i)?">="+r+"."+n+".0":">="+t)+" "+(s=se(u)?"":se(c)?"<"+(+u+1)+".0.0":se(l)?"<"+u+"."+(+c+1)+".0":f?"<="+u+"."+c+"."+l+"-"+f:"<="+s)).trim()}function ce(e,t,r){for(var i=0;i<e.length;i++)if(!e[i].test(t))return!1;if(t.prerelease.length&&!r.includePrerelease){for(i=0;i<e.length;i++)if(n(e[i].semver),e[i].semver!==oe&&e[i].semver.prerelease.length>0){var o=e[i].semver;if(o.major===t.major&&o.minor===t.minor&&o.patch===t.patch)return!0}return!1}return!0}function le(e,t,r){try{t=new ae(t,r)}catch(n){return!1}return t.test(e)}function fe(e,t,r,n){var i,o,a,s,u;switch(e=new K(e,n),t=new ae(t,n),r){case">":i=Z,o=re,a=J,s=">",u=">=";break;case"<":i=J,o=te,a=Z,s="<",u="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(le(e,t,n))return!1;for(var c=0;c<t.set.length;++c){var l=t.set[c],f=null,h=null;if(l.forEach((function(e){e.semver===oe&&(e=new ie(">=0.0.0")),f=f||e,h=h||e,i(e.semver,f.semver,n)?f=e:a(e.semver,h.semver,n)&&(h=e)})),f.operator===s||f.operator===u)return!1;if((!h.operator||h.operator===s)&&o(e,h.semver))return!1;if(h.operator===u&&a(e,h.semver))return!1}return!0}ie.prototype.parse=function(e){var t=this.options.loose?o[q]:o[U],r=e.match(t);if(!r)throw new TypeError("Invalid comparator: "+e);this.operator=r[1],"="===this.operator&&(this.operator=""),r[2]?this.semver=new K(r[2],this.options.loose):this.semver=oe},ie.prototype.toString=function(){return this.value},ie.prototype.test=function(e){return n("Comparator.test",e,this.options.loose),this.semver===oe||("string"===typeof e&&(e=new K(e,this.options)),ne(e,this.operator,this.semver,this.options))},ie.prototype.intersects=function(e,t){if(!(e instanceof ie))throw new TypeError("a Comparator is required");var r;if(t&&"object"===typeof t||(t={loose:!!t,includePrerelease:!1}),""===this.operator)return r=new ae(e.value,t),le(this.value,r,t);if(""===e.operator)return r=new ae(this.value,t),le(e.semver,r,t);var n=(">="===this.operator||">"===this.operator)&&(">="===e.operator||">"===e.operator),i=("<="===this.operator||"<"===this.operator)&&("<="===e.operator||"<"===e.operator),o=this.semver.version===e.semver.version,a=(">="===this.operator||"<="===this.operator)&&(">="===e.operator||"<="===e.operator),s=ne(this.semver,"<",e.semver,t)&&(">="===this.operator||">"===this.operator)&&("<="===e.operator||"<"===e.operator),u=ne(this.semver,">",e.semver,t)&&("<="===this.operator||"<"===this.operator)&&(">="===e.operator||">"===e.operator);return n||i||o&&a||s||u},t.Range=ae,ae.prototype.format=function(){return this.range=this.set.map((function(e){return e.join(" ").trim()})).join("||").trim(),this.range},ae.prototype.toString=function(){return this.range},ae.prototype.parseRange=function(e){var t=this.options.loose;e=e.trim();var r=t?o[H]:o[F];e=e.replace(r,ue),n("hyphen replace",e),e=e.replace(o[z],"$1$2$3"),n("comparator trim",e,o[z]),e=(e=(e=e.replace(o[j],"$1~")).replace(o[L],"$1^")).split(/\s+/).join(" ");var i=t?o[q]:o[U],a=e.split(" ").map((function(e){return function(e,t){return n("comp",e,t),e=function(e,t){return e.trim().split(/\s+/).map((function(e){return function(e,t){n("caret",e,t);var r=t.loose?o[B]:o[D];return e.replace(r,(function(t,r,i,o,a){var s;return n("caret",e,t,r,i,o,a),se(r)?s="":se(i)?s=">="+r+".0.0 <"+(+r+1)+".0.0":se(o)?s="0"===r?">="+r+"."+i+".0 <"+r+"."+(+i+1)+".0":">="+r+"."+i+".0 <"+(+r+1)+".0.0":a?(n("replaceCaret pr",a),s="0"===r?"0"===i?">="+r+"."+i+"."+o+"-"+a+" <"+r+"."+i+"."+(+o+1):">="+r+"."+i+"."+o+"-"+a+" <"+r+"."+(+i+1)+".0":">="+r+"."+i+"."+o+"-"+a+" <"+(+r+1)+".0.0"):(n("no pr"),s="0"===r?"0"===i?">="+r+"."+i+"."+o+" <"+r+"."+i+"."+(+o+1):">="+r+"."+i+"."+o+" <"+r+"."+(+i+1)+".0":">="+r+"."+i+"."+o+" <"+(+r+1)+".0.0"),n("caret return",s),s}))}(e,t)})).join(" ")}(e,t),n("caret",e),e=function(e,t){return e.trim().split(/\s+/).map((function(e){return function(e,t){var r=t.loose?o[N]:o[C];return e.replace(r,(function(t,r,i,o,a){var s;return n("tilde",e,t,r,i,o,a),se(r)?s="":se(i)?s=">="+r+".0.0 <"+(+r+1)+".0.0":se(o)?s=">="+r+"."+i+".0 <"+r+"."+(+i+1)+".0":a?(n("replaceTilde pr",a),s=">="+r+"."+i+"."+o+"-"+a+" <"+r+"."+(+i+1)+".0"):s=">="+r+"."+i+"."+o+" <"+r+"."+(+i+1)+".0",n("tilde return",s),s}))}(e,t)})).join(" ")}(e,t),n("tildes",e),e=function(e,t){return n("replaceXRanges",e,t),e.split(/\s+/).map((function(e){return function(e,t){e=e.trim();var r=t.loose?o[P]:o[T];return e.replace(r,(function(t,r,i,o,a,s){n("xRange",e,t,r,i,o,a,s);var u=se(i),c=u||se(o),l=c||se(a);return"="===r&&l&&(r=""),u?t=">"===r||"<"===r?"<0.0.0":"*":r&&l?(c&&(o=0),a=0,">"===r?(r=">=",c?(i=+i+1,o=0,a=0):(o=+o+1,a=0)):"<="===r&&(r="<",c?i=+i+1:o=+o+1),t=r+i+"."+o+"."+a):c?t=">="+i+".0.0 <"+(+i+1)+".0.0":l&&(t=">="+i+"."+o+".0 <"+i+"."+(+o+1)+".0"),n("xRange return",t),t}))}(e,t)})).join(" ")}(e,t),n("xrange",e),e=function(e,t){return n("replaceStars",e,t),e.trim().replace(o[V],"")}(e,t),n("stars",e),e}(e,this.options)}),this).join(" ").split(/\s+/);return this.options.loose&&(a=a.filter((function(e){return!!e.match(i)}))),a=a.map((function(e){return new ie(e,this.options)}),this)},ae.prototype.intersects=function(e,t){if(!(e instanceof ae))throw new TypeError("a Range is required");return this.set.some((function(r){return r.every((function(r){return e.set.some((function(e){return e.every((function(e){return r.intersects(e,t)}))}))}))}))},t.toComparators=function(e,t){return new ae(e,t).set.map((function(e){return e.map((function(e){return e.value})).join(" ").trim().split(" ")}))},ae.prototype.test=function(e){if(!e)return!1;"string"===typeof e&&(e=new K(e,this.options));for(var t=0;t<this.set.length;t++)if(ce(this.set[t],e,this.options))return!0;return!1},t.satisfies=le,t.maxSatisfying=function(e,t,r){var n=null,i=null;try{var o=new ae(t,r)}catch(a){return null}return e.forEach((function(e){o.test(e)&&(n&&-1!==i.compare(e)||(i=new K(n=e,r)))})),n},t.minSatisfying=function(e,t,r){var n=null,i=null;try{var o=new ae(t,r)}catch(a){return null}return e.forEach((function(e){o.test(e)&&(n&&1!==i.compare(e)||(i=new K(n=e,r)))})),n},t.minVersion=function(e,t){e=new ae(e,t);var r=new K("0.0.0");if(e.test(r))return r;if(r=new K("0.0.0-0"),e.test(r))return r;r=null;for(var n=0;n<e.set.length;
2++n){e.set[n].forEach((function(e){var t=new K(e.semver.version);switch(e.operator){case">":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":r&&!Z(r,t)||(r=t);break;case"<":case"<=":break;default:throw new Error("Unexpected operation: "+e.operator)}}))}if(r&&e.test(r))return r;return null},t.validRange=function(e,t){try{return new ae(e,t).range||"*"}catch(r){return null}},t.ltr=function(e,t,r){return fe(e,t,"<",r)},t.gtr=function(e,t,r){return fe(e,t,">",r)},t.outside=fe,t.prerelease=function(e,t){var r=G(e,t);return r&&r.prerelease.length?r.prerelease:null},t.intersects=function(e,t,r){return e=new ae(e,r),t=new ae(t,r),e.intersects(t)},t.coerce=function(e){if(e instanceof K)return e;if("string"!==typeof e)return null;var t=e.match(o[A]);if(null==t)return null;return G(t[1]+"."+(t[2]||"0")+"."+(t[3]||"0"))}}).call(this,r(8))},function(e,t,r){(function(t){var n=r(179),i=r(180),o=r(72),a=r(353),s=r(354),u=r(355),c=r(356),l=r(357),f=r(358),h=r(359),d=["RS256","RS384","RS512","ES256","ES384","ES512","HS256","HS384","HS512","none"];i&&d.splice(3,0,"PS256","PS384","PS512");var p={expiresIn:{isValid:function(e){return u(e)||f(e)&&e},message:'"expiresIn" should be a number of seconds or string representing a timespan'},notBefore:{isValid:function(e){return u(e)||f(e)&&e},message:'"notBefore" should be a number of seconds or string representing a timespan'},audience:{isValid:function(e){return f(e)||Array.isArray(e)},message:'"audience" must be a string or array'},algorithm:{isValid:a.bind(null,d),message:'"algorithm" must be a valid string enum value'},header:{isValid:l,message:'"header" must be an object'},encoding:{isValid:f,message:'"encoding" must be a string'},issuer:{isValid:f,message:'"issuer" must be a string'},subject:{isValid:f,message:'"subject" must be a string'},jwtid:{isValid:f,message:'"jwtid" must be a string'},noTimestamp:{isValid:s,message:'"noTimestamp" must be a boolean'},keyid:{isValid:f,message:'"keyid" must be a string'},mutatePayload:{isValid:s,message:'"mutatePayload" must be a boolean'}},y={iat:{isValid:c,message:'"iat" should be a number of seconds'},exp:{isValid:c,message:'"exp" should be a number of seconds'},nbf:{isValid:c,message:'"nbf" should be a number of seconds'}};function m(e,t,r,n){if(!l(r))throw new Error('Expected "'+n+'" to be a plain object.');Object.keys(r).forEach((function(i){var o=e[i];if(o){if(!o.isValid(r[i]))throw new Error(o.message)}else if(!t)throw new Error('"'+i+'" is not allowed in "'+n+'"')}))}var b={audience:"aud",issuer:"iss",subject:"sub",jwtid:"jti"},v=["expiresIn","notBefore","noTimestamp","audience","issuer","subject","jwtid"];e.exports=function(e,r,i,a){"function"===typeof i?(a=i,i={}):i=i||{};var s="object"===typeof e&&!t.isBuffer(e),u=Object.assign({alg:i.algorithm||"HS256",typ:s?"JWT":void 0,kid:i.keyid},i.header);function c(e){if(a)return a(e);throw e}if(!r&&"none"!==i.algorithm)return c(new Error("secretOrPrivateKey must have a value"));if("undefined"===typeof e)return c(new Error("payload is required"));if(s){try{!function(e){m(y,!0,e,"payload")}(e)}catch(g){return c(g)}i.mutatePayload||(e=Object.assign({},e))}else{var l=v.filter((function(e){return"undefined"!==typeof i[e]}));if(l.length>0)return c(new Error("invalid "+l.join(",")+" option for "+typeof e+" payload"))}if("undefined"!==typeof e.exp&&"undefined"!==typeof i.expiresIn)return c(new Error('Bad "options.expiresIn" option the payload already has an "exp" property.'));if("undefined"!==typeof e.nbf&&"undefined"!==typeof i.notBefore)return c(new Error('Bad "options.notBefore" option the payload already has an "nbf" property.'));try{!function(e){m(p,!1,e,"options")}(i)}catch(g){return c(g)}var f=e.iat||Math.floor(Date.now()/1e3);if(i.noTimestamp?delete e.iat:s&&(e.iat=f),"undefined"!==typeof i.notBefore){try{e.nbf=n(i.notBefore,f)}catch(_){return c(_)}if("undefined"===typeof e.nbf)return c(new Error('"notBefore" should be a number of seconds or string representing a timespan eg: "1d", "20h", 60'))}if("undefined"!==typeof i.expiresIn&&"object"===typeof e){try{e.exp=n(i.expiresIn,f)}catch(_){return c(_)}
2if("undefined"===typeof e.exp)return c(new Error('"expiresIn" should be a number of seconds or string representing a timespan eg: "1d", "20h", 60'))}Object.keys(b).forEach((function(t){var r=b[t];if("undefined"!==typeof i[t]){if("undefined"!==typeof e[r])return c(new Error('Bad "options.'+t+'" option. The payload already has an "'+r+'" property.'));e[r]=i[t]}}));var d=i.encoding||"utf8";if("function"!==typeof a)return o.sign({header:u,payload:e,secret:r,encoding:d});a=a&&h(a),o.createSign({header:u,privateKey:r,payload:e,encoding:d}).once("error",a).once("done",(function(e){a(null,e)}))}}).call(this,r(10).Buffer)},function(e,t){var r=1/0,n=9007199254740991,i=17976931348623157e292,o=NaN,a="[object Arguments]",s="[object Function]",u="[object GeneratorFunction]",c="[object String]",l="[object Symbol]",f=/^\s+|\s+$/g,h=/^[-+]0x[0-9a-f]+$/i,d=/^0b[01]+$/i,p=/^0o[0-7]+$/i,y=/^(?:0|[1-9]\d*)$/,m=parseInt;function b(e){return e!==e}function v(e,t){return function(e,t){for(var r=-1,n=e?e.length:0,i=Array(n);++r<n;)i[r]=t(e[r],r,e);return i}(t,(function(t){return e[t]}))}var g,_,w=Object.prototype,S=w.hasOwnProperty,M=w.toString,x=w.propertyIsEnumerable,E=(g=Object.keys,_=Object,function(e){return g(_(e))}),k=Math.max;function O(e,t){var r=A(e)||function(e){return function(e){return C(e)&&R(e)}(e)&&S.call(e,"callee")&&(!x.call(e,"callee")||M.call(e)==a)}(e)?function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}(e.length,String):[],n=r.length,i=!!n;for(var o in e)!t&&!S.call(e,o)||i&&("length"==o||P(o,n))||r.push(o);return r}function T(e){if(!function(e){var t=e&&e.constructor,r="function"==typeof t&&t.prototype||w;return e===r}(e))return E(e);var t=[];for(var r in Object(e))S.call(e,r)&&"constructor"!=r&&t.push(r);return t}function P(e,t){return!!(t=null==t?n:t)&&("number"==typeof e||y.test(e))&&e>-1&&e%1==0&&e<t}var A=Array.isArray;function R(e){return null!=e&&function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=n}(e.length)&&!function(e){var t=j(e)?M.call(e):"";return t==s||t==u}(e)}function j(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function C(e){return!!e&&"object"==typeof e}e.exports=function(e,t,n,a){var s;e=R(e)?e:(s=e)?v(s,function(e){return R(e)?O(e):T(e)}(s)):[],n=n&&!a?function(e){var t=function(e){if(!e)return 0===e?e:0;if((e=function(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||C(e)&&M.call(e)==l}(e))return o;if(j(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=j(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(f,"");var r=d.test(e);return r||p.test(e)?m(e.slice(2),r?2:8):h.test(e)?o:+e}(e))===r||e===-1/0){return(e<0?-1:1)*i}return e===e?e:0}(e),n=t%1;return t===t?n?t-n:t:0}(n):0;var u=e.length;return n<0&&(n=k(u+n,0)),function(e){return"string"==typeof e||!A(e)&&C(e)&&M.call(e)==c}(e)?n<=u&&e.indexOf(t,n)>-1:!!u&&function(e,t,r){if(t!==t)return function(e,t,r,n){for(var i=e.length,o=r+(n?1:-1);n?o--:++o<i;)if(t(e[o],o,e))return o;return-1}(e,b,r);for(var n=r-1,i=e.length;++n<i;)if(e[n]===t)return n;return-1}(e,t,n)>-1}},function(e,t){var r=Object.prototype.toString;e.exports=function(e){return!0===e||!1===e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Boolean]"==r.call(e)}},function(e,t){var r=1/0,n=17976931348623157e292,i=NaN,o="[object Symbol]",a=/^\s+|\s+$/g,s=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,c=/^0o[0-7]+$/i,l=parseInt,f=Object.prototype.toString;function h(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}e.exports=function(e){return"number"==typeof e&&e==function(e){var t=function(e){if(!e)return 0===e?e:0;if((e=function(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&f.call(e)==o}(e))return i;if(h(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=h(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(a,"");var r=u.test(e);return r||c.test(e)?l(e.slice(2),r?2:8):s.test(e)?i:+e}(e))===r||e===-1/0){return(e<0?-1:1)*n}return e===e?e:0}(e),d=t%1;return t===t?d?t-d:t:0}(e)}},function(e,t){var r=Object.prototype.toString;e.exports=function(e){return"number"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Number]"==r.call(e)}},function(e,t){var r,n,i=Function.prototype,o=Object.prototype,a=i.toString,s=o.hasOwnProperty,u=a.call(Object),c=o.toString,l=(r=Object.getPrototypeOf,n=Object,function(e){return r(n(e))});e.exports=function(e){if(!function(e){return!!e&&"object"==typeof e}(e)||"[object Object]"!=c.call(e)||function(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(r){}return t}(e))return!1;var t=l(e);if(null===t)return!0;var r=s.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&a.call(r)==u}},function(e,t){var r=Object.prototype.toString,n=Array.isArray;e.exports=function(e){return"string"==typeof e||!n(e)&&function(e){return!!e&&"object"==typeof e}(e)&&"[object String]"==r.call(e)}},function(e,t){var r=1/0,n=17976931348623157e292,i=NaN,o="[object Symbol]",a=/^\s+|\s+$/g,s=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,c=/^0o[0-7]+$/i,l=parseInt,f=Object.prototype.toString;function h(e,t){var h;if("function"!=typeof t)throw new TypeError("Expected a function");return e=function(e){var t=function(e){if(!e)return 0===e?e:0;
2if((e=function(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&f.call(e)==o}(e))return i;if(d(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=d(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(a,"");var r=u.test(e);return r||c.test(e)?l(e.slice(2),r?2:8):s.test(e)?i:+e}(e))===r||e===-1/0){return(e<0?-1:1)*n}return e===e?e:0}(e),h=t%1;return t===t?h?t-h:t:0}(e),function(){return--e>0&&(h=t.apply(this,arguments)),e<=1&&(t=void 0),h}}function d(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}e.exports=function(e){return h(2,e)}},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),t.baggageEntryMetadataFromString=t.createBaggage=void 0;var o=r(361),a=r(362);i(r(363),t),i(r(364),t),t.createBaggage=function(e){return void 0===e&&(e={}),new o.BaggageImpl(new Map(Object.entries(e)))},t.baggageEntryMetadataFromString=function(e){return"string"!==typeof e&&(e=""),{__TYPE__:a.baggageEntryMetadataSymbol,toString:function(){return e}}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BaggageImpl=void 0;var n=function(){function e(e){this._entries=e?new Map(e):new Map}return e.prototype.getEntry=function(e){var t=this._entries.get(e);if(t)return Object.assign({},t)},e.prototype.getAllEntries=function(){return Array.from(this._entries.entries()).map((function(e){return[e[0],e[1]]}))},e.prototype.setEntry=function(t,r){var n=new e(this._entries);return n._entries.set(t,r),n},e.prototype.removeEntry=function(t){var r=new e(this._entries);return r._entries.delete(t),r},e.prototype.removeEntries=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];for(var n=new e(this._entries),i=0,o=t;i<o.length;i++){var a=o[i];n._entries.delete(a)}return n},e.prototype.clear=function(){return new e},e}();t.BaggageImpl=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.baggageEntryMetadataSymbol=void 0,t.baggageEntryMetadataSymbol=Symbol("BaggageEntryMetadata")},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),i(r(368),t),i(r(95),t)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DiagConsoleLogger=void 0;var n=[{n:"error",c:"error"},{n:"warn",c:"warn"},{n:"info",c:"info"},{n:"debug",c:"debug"},{n:"verbose",c:"trace"}],i=function(){function e(e){return function(){var t=arguments;if(console){var r=console[e];if("function"!==typeof r&&(r=console.log),"function"===typeof r)return r.apply(console,t)}}}for(var t=0;t<n.length;t++)this[n[t].n]=e(n[t].c)};t.DiagConsoleLogger=i},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SamplingDecision=void 0,function(e){e[e.NOT_RECORD=0]="NOT_RECORD",e[e.RECORD=1]="RECORD",e[e.RECORD_AND_SAMPLED=2]="RECORD_AND_SAMPLED"}
2(t.SamplingDecision||(t.SamplingDecision={}))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SpanKind=void 0,function(e){e[e.INTERNAL=0]="INTERNAL",e[e.SERVER=1]="SERVER",e[e.CLIENT=2]="CLIENT",e[e.PRODUCER=3]="PRODUCER",e[e.CONSUMER=4]="CONSUMER"}(t.SpanKind||(t.SpanKind={}))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SpanStatusCode=void 0,function(e){e[e.UNSET=0]="UNSET",e[e.OK=1]="OK",e[e.ERROR=2]="ERROR"}(t.SpanStatusCode||(t.SpanStatusCode={}))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,r){"use strict";var n=this&&this.__spreadArrays||function(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;var n=Array(e),i=0;for(t=0;t<r;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)n[i]=o[a];return n};Object.defineProperty(t,"__esModule",{value:!0}),t.ContextAPI=void 0;var i=r(188),o=r(62),a="context",s=new i.NoopContextManager,u=function(){function e(){}return e.getInstance=function(){return this._instance||(this._instance=new e),this._instance},e.prototype.setGlobalContextManager=function(e){return o.registerGlobal(a,e),e},e.prototype.active=function(){return this._getContextManager().active()},e.prototype.with=function(e,t,r){for(var i,o=[],a=3;a<arguments.length;a++)o[a-3]=arguments[a];return(i=this._getContextManager()).with.apply(i,n([e,t,r],o))},e.prototype.bind=function(e,t){return void 0===t&&(t=this.active()),this._getContextManager().bind(e,t)},e.prototype._getContextManager=function(){return o.getGlobal(a)||s},e.prototype.disable=function(){this._getContextManager().disable(),o.unregisterGlobal(a)},e}();t.ContextAPI=u},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),i(r(387),t)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._globalThis=void 0,t._globalThis="object"===typeof globalThis?globalThis:window},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isCompatible=t._makeCompatibilityCheck=void 0;var n=r(189),i=/^(\d+)\.(\d+)\.(\d+)(?:-(.*))?$/;function o(e){var t=new Set([e]),r=new Set,n=e.match(i);if(!n)return function(){return!1};var o=+n[1],a=+n[2],s=+n[3];function u(e){return r.add(e),!1}function c(e){return t.add(e),!0}return function(e){if(t.has(e))return!0;if(r.has(e))return!1;var n=e.match(i);if(!n)return u(e);var l=+n[1],f=+n[2],h=+n[3];return o!==l?u(e):0===o?a===f&&s<=h?c(e):u(e):a<=f?c(e):u(e)}}t._makeCompatibilityCheck=o,t.isCompatible=o(n.VERSION)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TraceAPI=void 0;var n=r(187),i=r(61),o=r(62),a="trace",s=function(){function e(){this._proxyTracerProvider=new n.ProxyTracerProvider,this.isSpanContextValid=i.isSpanContextValid}return e.getInstance=function(){return this._instance||(this._instance=new e),this._instance},e.prototype.setGlobalTracerProvider=function(e){return this._proxyTracerProvider.setDelegate(e),o.registerGlobal(a,this._proxyTracerProvider),this._proxyTracerProvider},e.prototype.getTracerProvider=function(){return o.getGlobal(a)||this._proxyTracerProvider},e.prototype.getTracer=function(e,t){return this.getTracerProvider().getTracer(e,t)},e.prototype.disable=function(){o.unregisterGlobal(a),this._proxyTracerProvider=new n.ProxyTracerProvider},e}();t.TraceAPI=s},function(e,t,r){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0}),t.PropagationAPI=void 0;var n=r(181),i=r(182),o=r(62),a="propagation",s=function(){function e(){}return e.getInstance=function(){return this._instance||(this._instance=new e),this._instance},e.prototype.setGlobalPropagator=function(e){return o.registerGlobal(a,e),e},e.prototype.inject=function(e,t,r){return void 0===r&&(r=i.defaultTextMapSetter),this._getGlobalPropagator().inject(e,t,r)},e.prototype.extract=function(e,t,r){return void 0===r&&(r=i.defaultTextMapGetter),this._getGlobalPropagator().extract(e,t,r)},e.prototype.fields=function(){return this._getGlobalPropagator().fields()},e.prototype.disable=function(){o.unregisterGlobal(a)},e.prototype._getGlobalPropagator=function(){return o.getGlobal(a)||n.NOOP_TEXT_MAP_PROPAGATOR},e}();t.PropagationAPI=s},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DiagAPI=void 0;var n=r(392),i=r(95),o=r(62),a=function(){function e(){function e(e){return function(){var t=o.getGlobal("diag");if(t)return t[e].apply(t,arguments)}}var t=this;t.setLogger=function(e,r){var a;if(void 0===r&&(r=i.DiagLogLevel.INFO),e!==t)o.registerGlobal("diag",n.createLogLevelDiagLogger(r,e),!0);else{var s=new Error("Cannot use diag as the logger for itself. Please use a DiagLogger implementation like ConsoleDiagLogger or a custom implementation");t.error(null!==(a=s.stack)&&void 0!==a?a:s.message)}},t.disable=function(){o.unregisterGlobal("diag")},t.verbose=e("verbose"),t.debug=e("debug"),t.info=e("info"),t.warn=e("warn"),t.error=e("error")}return e.instance=function(){return this._instance||(this._instance=new e),this._instance},e}();t.DiagAPI=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createLogLevelDiagLogger=void 0;var n=r(95);t.createLogLevelDiagLogger=function(e,t){function r(r,n){var i=t[r];return"function"===typeof i&&e>=n?i.bind(t):function(){}}return e<n.DiagLogLevel.NONE?e=n.DiagLogLevel.NONE:e>n.DiagLogLevel.ALL&&(e=n.DiagLogLevel.ALL),t=t||{},{error:r("error",n.DiagLogLevel.ERROR),warn:r("warn",n.DiagLogLevel.WARN),info:r("info",n.DiagLogLevel.INFO),debug:r("debug",n.DiagLogLevel.DEBUG),verbose:r("verbose",n.DiagLogLevel.VERBOSE)}}},,function(e,t,r){"use strict";var n,i=new Uint8Array(16);function o(){if(!n&&!(n="undefined"!==typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!==typeof msCrypto&&"function"===typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return n(i)}var a=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;for(var s=function(e){return"string"===typeof e&&a.test(e)},u=[],c=0;c<256;++c)u.push((c+256).toString(16).substr(1));var l=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=(u[e[t+0]]+u[e[t+1]]+u[e[t+2]]+u[e[t+3]]+"-"+u[e[t+4]]+u[e[t+5]]+"-"+u[e[t+6]]+u[e[t+7]]+"-"+u[e[t+8]]+u[e[t+9]]+"-"+u[e[t+10]]+u[e[t+11]]+u[e[t+12]]+u[e[t+13]]+u[e[t+14]]+u[e[t+15]]).toLowerCase();if(!s(r))throw TypeError("Stringified UUID is invalid");return r};t.a=function(e,t,r){var n=(e=e||{}).random||(e.rng||o)();if(n[6]=15&n[6]|64,n[8]=63&n[8]|128,t){r=r||0;for(var i=0;i<16;++i)t[r+i]=n[i];return t}return l(n)}},,,,,,function(e,t,r){"use strict";r.d(t,"a",(function(){return Dr}));var n=r(4),i=r.n(n),o=r(13),a=r(17),s=r(2),u=function(e,t){return(u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)};function c(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}u(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var l=function(){return(l=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function f(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{u(n.next(e))}catch(t){o(t)}}function s(e){try{u(n.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}u((n=n.apply(e,t||[])).next())}))}function h(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;
2function s(o){return function(s){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}}Object.create;var d;Object.create;!function(e){e[e.OFF=0]="OFF",e[e.ERROR=1]="ERROR",e[e.WARNING=2]="WARNING",e[e.INFO=3]="INFO"}(d||(d={}));var p=function(){function e(e,t){this._nextPolicy=e,this._options=t}return e.prototype.shouldLog=function(e){return this._options.shouldLog(e)},e.prototype.log=function(e,t){this._options.log(e,t)},e}(),y=function(){function e(e){this._logger=e}return e.prototype.shouldLog=function(e){return!!this._logger&&e!==d.OFF&&e<=this._logger.minimumLogLevel},e.prototype.log=function(e,t){this._logger&&this.shouldLog(e)&&this._logger.log(e,t)},e}(),m=r(63),b=Object(m.a)("core-http"),v=r(6),g=function(){function e(){this._rawQuery={}}return e.prototype.any=function(){return Object.keys(this._rawQuery).length>0},e.prototype.keys=function(){return Object.keys(this._rawQuery)},e.prototype.set=function(e,t){var r=t;if(e)if(void 0!==r&&null!==r){var n=Array.isArray(r)?r:r.toString();this._rawQuery[e]=n}else delete this._rawQuery[e]},e.prototype.get=function(e){return e?this._rawQuery[e]:void 0},e.prototype.toString=function(){var e="";for(var t in this._rawQuery){e&&(e+="&");var r=this._rawQuery[t];if(Array.isArray(r)){for(var n=[],i=0,o=r;i<o.length;i++){var a=o[i];n.push(t+"="+a)}e+=n.join("&")}else e+=t+"="+r}return e},e.parse=function(t){var r=new e;if(t){t.startsWith("?")&&(t=t.substring(1));for(var n="ParameterName",i="",o="",a=0;a<t.length;++a){var s=t[a];switch(n){case"ParameterName":switch(s){case"=":n="ParameterValue";break;case"&":i="",o="";break;default:i+=s}break;case"ParameterValue":switch(s){case"&":r.set(i,o),i="",o="",n="ParameterName";break;default:o+=s}break;default:throw new Error("Unrecognized URLQuery parse state: "+n)}}"ParameterValue"===n&&r.set(i,o)}return r},e}(),_=function(){function e(){}return e.prototype.setScheme=function(e){e?this.set(e,"SCHEME"):this._scheme=void 0},e.prototype.getScheme=function(){return this._scheme},e.prototype.setHost=function(e){e?this.set(e,"SCHEME_OR_HOST"):this._host=void 0},e.prototype.getHost=function(){return this._host},e.prototype.setPort=function(e){void 0===e||null===e||""===e?this._port=void 0:this.set(e.toString(),"PORT")},e.prototype.getPort=function(){return this._port},e.prototype.setPath=function(e){if(e){var t=e.indexOf("://");if(-1!==t){var r=e.lastIndexOf("/",t);this.set(-1===r?e:e.substr(r+1),"SCHEME")}else this.set(e,"PATH")}else this._path=void 0},e.prototype.appendPath=function(e){if(e){var t=this.getPath();t&&(t.endsWith("/")||(t+="/"),e.startsWith("/")&&(e=e.substring(1)),e=t+e),this.set(e,"PATH")}},e.prototype.getPath=function(){return this._path},e.prototype.setQuery=function(e){this._query=e?g.parse(e):void 0},e.prototype.setQueryParameter=function(e,t){e&&(this._query||(this._query=new g),this._query.set(e,t))},e.prototype.getQueryParameterValue=function(e){return this._query?this._query.get(e):void 0},e.prototype.getQuery=function(){return this._query?this._query.toString():void 0},e.prototype.set=function(e,t){for(var r=new S(e,t);r.next();){var n=r.current(),i=void 0;if(n)switch(n.type){case"SCHEME":this._scheme=n.text||void 0;break;case"HOST":this._host=n.text||void 0;break;case"PORT":this._port=n.text||void 0;break;case"PATH":i=n.text||void 0,this._path&&"/"!==this._path&&"/"===i||(this._path=i);break;case"QUERY":this._query=g.parse(n.text);break;default:throw new Error("Unrecognized URLTokenType: "+n.type)}}},e.prototype.toString=function(){var e="";return this._scheme&&(e+=this._scheme+"://"),this._host&&(e+=this._host),this._port&&(e+=":"+this._port),this._path&&(this._path.startsWith("/")||(e+="/"),e+=this._path),this._query&&this._query.any()&&(e+="?"+this._query.toString()),e},e.prototype.replaceAll=function(e,t){e&&(this.setScheme(Object(v.i)(this.getScheme(),e,t)),this.setHost(Object(v.i)(this.getHost(),e,t)),this.setPort(Object(v.i)(this.getPort(),e,t)),this.setPath(Object(v.i)(this.getPath(),e,t)),this.setQuery(Object(v.i)(this.getQuery(),e,t)))},e.parse=function(t){var r=new e;return r.set(t,"SCHEME_OR_HOST"),r},e}(),w=function(){function e(e,t){this.text=e,this.type=t}return e.scheme=function(t){return new e(t,"SCHEME")},e.host=function(t){return new e(t,"HOST")},e.port=function(t){return new e(t,"PORT")},e.path=function(t){return new e(t,"PATH")},e.query=function(t){return new e(t,"QUERY")},e}();var S=function(){function e(e,t){this._text=e,this._textLength=e?e.length:0,this._currentState=void 0!==t&&null!==t?t:"SCHEME_OR_HOST",this._currentIndex=0}return e.prototype.current=function(){return this._currentToken},e.prototype.next=function(){if(M(this))switch(this._currentState){case"SCHEME":!function(e){var t=function(e){return O(e,(function(e){return function(e){var t=e.charCodeAt(0);return 48<=t&&t<=57||65<=t&&t<=90||97<=t&&t<=122}(e)}))}(e);e._currentToken=w.scheme(t),M(e)?e._currentState="HOST":e._currentState="DONE"}(this);break;case"SCHEME_OR_HOST":!function(e){var t=T(e,":","/","?");M(e)?":"===x(e)?"://"===k(e,3)?(e._currentToken=w.scheme(t),e._currentState="HOST"):(e._currentToken=w.host(t),e._currentState="PORT"):(e._currentToken=w.host(t),"/"===x(e)?e._currentState="PATH":e._currentState="QUERY"):(e._currentToken=w.host(t),e._currentState="DONE")}(this);break;case"HOST":!function(e){"://"===k(e,3)&&E(e,3);var t=T(e,":","/","?");e._currentToken=w.host(t),M(e)?":"===x(e)?e._currentState="PORT":"/"===x(e)?e._currentState="PATH":e._currentState="QUERY":e._currentState="DONE"}(this);break;case"PORT":!function(e){":"===x(e)&&E(e);var t=T(e,"/","?");e._currentToken=w.port(t),M(e)?"/"===x(e)?e._currentState="PATH":e._currentState="QUERY":e._currentState="DONE"}(this);break;case"PATH":!function(e){var t=T(e,"?");e._currentToken=w.path(t),M(e)?e._currentState="QUERY":e._currentState="DONE"}(this);break;case"QUERY":!function(e){"?"===x(e)&&E(e);var t=function(e){var t="";e._currentIndex<e._textLength&&(t=e._text.substring(e._currentIndex),e._currentIndex=e._textLength);return t}(e);e._currentToken=w.query(t),e._currentState="DONE"}(this);break;default:throw new Error("Unrecognized URLTokenizerState: "+this._currentState)}else this._currentToken=void 0;return!!this._currentToken},e}();function M(e){return e._currentIndex<e._textLength}function x(e){return e._text[e._currentIndex]}function E(e,t){M(e)&&(t||(t=1),e._currentIndex+=t)}function k(e,t){var r=e._currentIndex+t;return e._textLength<r&&(r=e._textLength),e._text.substring(e._currentIndex,r)}function O(e,t){for(var r="";M(e);){var n=x(e);if(!t(n))break;r+=n,E(e)}return r}function T(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return O(e,(function(e){return-1===t.indexOf(e)}))}var P="REDACTED",A=["x-ms-client-request-id","x-ms-return-client-request-id","x-ms-useragent","x-ms-correlation-request-id","x-ms-request-id","client-request-id","ms-cv","return-client-request-id","traceparent","Access-Control-Allow-Credentials","Access-Control-Allow-Headers","Access-Control-Allow-Methods","Access-Control-Allow-Origin","Access-Control-Expose-Headers","Access-Control-Max-Age","Access-Control-Request-Headers","Access-Control-Request-Method","Origin","Accept","Accept-Encoding","Cache-Control","Connection","Content-Length","Content-Type","Date","ETag","Expires","If-Mat
2ch","If-Modified-Since","If-None-Match","If-Unmodified-Since","Last-Modified","Pragma","Request-Id","Retry-After","Server","Transfer-Encoding","User-Agent"],R=["api-version"],j=function(){function e(e){var t=void 0===e?{}:e,r=t.allowedHeaderNames,n=void 0===r?[]:r,i=t.allowedQueryParameters,o=void 0===i?[]:i;n=Array.isArray(n)?A.concat(n):A,o=Array.isArray(o)?R.concat(o):R,this.allowedHeaderNames=new Set(n.map((function(e){return e.toLowerCase()}))),this.allowedQueryParameters=new Set(o.map((function(e){return e.toLowerCase()})))}return e.prototype.sanitize=function(e){var t=this,r=new Set;return JSON.stringify(e,(function(e,n){if(n instanceof Error)return l(l({},n),{name:n.name,message:n.message});if("_headersMap"===e)return t.sanitizeHeaders(n);if("url"===e)return t.sanitizeUrl(n);if("query"===e)return t.sanitizeQuery(n);if("body"!==e&&"response"!==e&&"operationSpec"!==e){if(Array.isArray(n)||Object(v.e)(n)){if(r.has(n))return"[Circular]";r.add(n)}return n}}),2)},e.prototype.sanitizeHeaders=function(e){return this.sanitizeObject(e,this.allowedHeaderNames,(function(e,t){return e[t].value}))},e.prototype.sanitizeQuery=function(e){return this.sanitizeObject(e,this.allowedQueryParameters,(function(e,t){return e[t]}))},e.prototype.sanitizeObject=function(e,t,r){if("object"!==typeof e||null===e)return e;for(var n={},i=0,o=Object.keys(e);i<o.length;i++){var a=o[i];t.has(a.toLowerCase())?n[a]=r(e,a):n[a]=P}return n},e.prototype.sanitizeUrl=function(e){if("string"!==typeof e||null===e)return e;var t=_.parse(e),r=t.getQuery();if(!r)return e;for(var n=g.parse(r),i=0,o=n.keys();i<o.length;i++){var a=o[i];this.allowedQueryParameters.has(a.toLowerCase())||n.set(a,P)}return t.setQuery(n.toString()),t.toString()},e}();function C(e){return void 0===e&&(e={}),{create:function(t,r){return new N(t,r,e)}}}var N=function(e){function t(t,r,n){var i=void 0===n?{}:n,o=i.logger,a=void 0===o?b.info:o,s=i.allowedHeaderNames,u=void 0===s?[]:s,c=i.allowedQueryParameters,l=void 0===c?[]:c,f=e.call(this,t,r)||this;return f.logger=a,f.sanitizer=new j({allowedHeaderNames:u,allowedQueryParameters:l}),f}return c(t,e),Object.defineProperty(t.prototype,"allowedHeaderNames",{get:function(){return this.sanitizer.allowedHeaderNames},set:function(e){this.sanitizer.allowedHeaderNames=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"allowedQueryParameters",{get:function(){return this.sanitizer.allowedQueryParameters},set:function(e){this.sanitizer.allowedQueryParameters=e},enumerable:!1,configurable:!0}),t.prototype.sendRequest=function(e){var t=this;return this.logger.enabled?(this.logRequest(e),this._nextPolicy.sendRequest(e).then((function(e){return t.logResponse(e)}))):this._nextPolicy.sendRequest(e)},t.prototype.logRequest=function(e){this.logger("Request: "+this.sanitizer.sanitize(e))},t.prototype.logResponse=function(e){return this.logger("Response status code: "+e.status),this.logger("Headers: "+this.sanitizer.sanitize(e.headers)),e},t}(p);function I(e){return L(e.parameterPath,e.mapper)}function L(e,t){return"string"===typeof e?e:Array.isArray(e)?e.join("."):t.serializedName}function D(e){for(var t="",r=0;r<e.length;r++)t+=String.fromCharCode(e[r]);return btoa(t)}function B(e){for(var t=atob(e),r=new Uint8Array(t.length),n=0;n<t.length;n++)r[n]=t.charCodeAt(n);return r}var q=r(7),U=function(){function e(e,t){void 0===e&&(e={}),this.modelMappers=e,this.isXML=t}return e.prototype.validateConstraints=function(e,t,r){var n=function(e,n){throw new Error('"'+r+'" with value "'+t+'" should satisfy the constraint "'+e+'": '+n+".")};if(e.constraints&&void 0!=t){var i=t,o=e.constraints,a=o.ExclusiveMaximum,s=o.ExclusiveMinimum,u=o.InclusiveMaximum,c=o.InclusiveMinimum,l=o.MaxItems,f=o.MaxLength,h=o.MinItems,d=o.MinLength,p=o.MultipleOf,y=o.Pattern,m=o.UniqueItems;void 0!=a&&i>=a&&n("ExclusiveMaximum",a),void 0!=s&&i<=s&&n("ExclusiveMinimum",s),void 0!=u&&i>u&&n("InclusiveMaximum",u),void 0!=c&&i<c&&n("InclusiveMinimum",c);var b=t;if(void 0!=l&&b.length>l&&n("MaxItems",l),void 0!=f&&b.length>f&&n("MaxLength",f),void 0!=h&&b.length<h&&n("MinItems",h),void 0!=d&&b.length<d&&n("MinLength",d),void 0!=p&&i%p!==0&&n("MultipleOf",p),y){var v="string"===typeof y?new RegExp(y):y;"string"===typeof t&&null!==t.match(v)||n("Pattern",y)}m&&b.some((function(e,t,r){return r.indexOf(e)!==t}))&&n("UniqueItems",m)}},e.prototype.serialize=function(e,t,r,n){var i,o,a;void 0===n&&(n={});var s={rootName:null!==(i=n.rootName)&&void 0!==i?i:"",includeRoot:null!==(o=n.includeRoot)&&void 0!==o&&o,xmlCharKey:null!==(a=n.xmlCharKey)&&void 0!==a?a:q.b},u={}
2,c=e.type.name;r||(r=e.serializedName),null!==c.match(/^Sequence$/i)&&(u=[]),e.isConstant&&(t=e.defaultValue);var f=e.required,h=e.nullable;if(f&&h&&void 0===t)throw new Error(r+" cannot be undefined.");if(f&&!h&&void 0==t)throw new Error(r+" cannot be null or undefined.");if(!f&&!1===h&&null===t)throw new Error(r+" cannot be null.");if(void 0==t)u=t;else if(this.validateConstraints(e,t,r),null!==c.match(/^any$/i))u=t;else if(null!==c.match(/^(Number|String|Boolean|Object|Stream|Uuid)$/i))u=function(e,t,r){if(null!==r&&void 0!==r)if(null!==e.match(/^Number$/i)){if("number"!==typeof r)throw new Error(t+" with value "+r+" must be of type number.")}else if(null!==e.match(/^String$/i)){if("string"!==typeof r.valueOf())throw new Error(t+' with value "'+r+'" must be of type string.')}else if(null!==e.match(/^Uuid$/i)){if("string"!==typeof r.valueOf()||!v.g(r))throw new Error(t+' with value "'+r+'" must be of type string and a valid uuid.')}else if(null!==e.match(/^Boolean$/i)){if("boolean"!==typeof r)throw new Error(t+" with value "+r+" must be of type boolean.")}else if(null!==e.match(/^Stream$/i)){var n=typeof r;if("string"!==n&&"function"!==n&&!(r instanceof ArrayBuffer)&&!ArrayBuffer.isView(r)&&("function"!==typeof Blob&&"object"!==typeof Blob||!(r instanceof Blob)))throw new Error(t+" must be a string, Blob, ArrayBuffer, ArrayBufferView, or a function returning NodeJS.ReadableStream.")}return r}(c,r,t);else if(null!==c.match(/^Enum$/i)){u=function(e,t,r){if(!t)throw new Error("Please provide a set of allowedValues to validate "+e+" as an Enum Type.");if(!t.some((function(e){return"string"===typeof e.valueOf()?e.toLowerCase()===r.toLowerCase():e===r})))throw new Error(r+" is not a valid value for "+e+". The valid values are: "+JSON.stringify(t)+".");return r}(r,e.type.allowedValues,t)}else null!==c.match(/^(Date|DateTime|TimeSpan|DateTimeRfc1123|UnixTime)$/i)?u=function(e,t,r){if(void 0!=t)if(null!==e.match(/^Date$/i)){if(!(t instanceof Date||"string"===typeof t.valueOf()&&!isNaN(Date.parse(t))))throw new Error(r+" must be an instanceof Date or a string in ISO8601 format.");t=t instanceof Date?t.toISOString().substring(0,10):new Date(t).toISOString().substring(0,10)}else if(null!==e.match(/^DateTime$/i)){if(!(t instanceof Date||"string"===typeof t.valueOf()&&!isNaN(Date.parse(t))))throw new Error(r+" must be an instanceof Date or a string in ISO8601 format.");t=t instanceof Date?t.toISOString():new Date(t).toISOString()}else if(null!==e.match(/^DateTimeRfc1123$/i)){if(!(t instanceof Date||"string"===typeof t.valueOf()&&!isNaN(Date.parse(t))))throw new Error(r+" must be an instanceof Date or a string in RFC-1123 format.");t=t instanceof Date?t.toUTCString():new Date(t).toUTCString()}else if(null!==e.match(/^UnixTime$/i)){if(!(t instanceof Date||"string"===typeof t.valueOf()&&!isNaN(Date.parse(t))))throw new Error(r+" must be an instanceof Date or a string in RFC-1123/ISO8601 format for it to be serialized in UnixTime/Epoch format.");t=function(e){if(!e)return;"string"===typeof e.valueOf()&&(e=new Date(e));return Math.floor(e.getTime()/1e3)}(t)}else if(null!==e.match(/^TimeSpan$/i)&&!v.c(t))throw new Error(r+' must be a string in ISO 8601 format. Instead was "'+t+'".');return t}(c,t,r):null!==c.match(/^ByteArray$/i)?u=function(e,t){var r="";if(void 0!=t){if(!(t instanceof Uint8Array))throw new Error(e+" must be of type Uint8Array.");r=D(t)}return r}(r,t):null!==c.match(/^Base64Url$/i)?u=function(e,t){var r="";if(void 0!=t){if(!(t instanceof Uint8Array))throw new Error(e+" must be of type Uint8Array.");r=function(e){if(!e)return;if(!(e instanceof Uint8Array))throw new Error("Please provide an input of type Uint8Array for converting to Base64Url.");return function(e,t){var r=e.length;for(;r-1>=0&&e[r-1]===t;)--r;return e.substr(0,r)}(D(e),"=").replace(/\+/g,"-").replace(/\//g,"_")}(t)||""}return r}(r,t):null!==c.match(/^Sequence$/i)?u=function(e,t,r,n,i,o){var a,s;if(!Array.isArray(r))throw new Error(n+" must be of type Array.");var u=t.type.element;if(!u||"object"!==typeof u)throw new Error('element" metadata for an Array must be defined in the mapper and it must of type "object" in '+n+".");for(var c=[],f=0;f<r.length;f++){var h=e.serialize(u,r[f],n,o);if(i&&u.xmlNamespace){var d=u.xmlNamespacePrefix?"xmlns:"+u.xmlNamespacePrefix:"xmlns";
2"Composite"===u.type.name?(c[f]=l({},h),c[f][q.a]=((a={})[d]=u.xmlNamespace,a)):(c[f]={},c[f][o.xmlCharKey]=h,c[f][q.a]=((s={})[d]=u.xmlNamespace,s))}else c[f]=h}return c}(this,e,t,r,Boolean(this.isXML),s):null!==c.match(/^Dictionary$/i)?u=function(e,t,r,n,i,o){var a;if("object"!==typeof r)throw new Error(n+" must be of type object.");var s=t.type.value;if(!s||"object"!==typeof s)throw new Error('"value" metadata for a Dictionary must be defined in the mapper and it must of type "object" in '+n+".");for(var u={},c=0,l=Object.keys(r);c<l.length;c++){var f=l[c],h=e.serialize(s,r[f],n,o);u[f]=V(s,h,i,o)}if(i&&t.xmlNamespace){var d=t.xmlNamespacePrefix?"xmlns:"+t.xmlNamespacePrefix:"xmlns",p=u;return p[q.a]=((a={})[d]=t.xmlNamespace,a),p}return u}(this,e,t,r,Boolean(this.isXML),s):null!==c.match(/^Composite$/i)&&(u=function(e,t,r,n,i,o){var a,s;K(e,t)&&(t=G(e,t,r,"clientName"));if(void 0!=r){for(var u={},c=H(e,t,n),f=0,h=Object.keys(c);f<h.length;f++){var d=h[f],p=c[d];if(!p.readOnly){var y=void 0,m=u;if(e.isXML)y=p.xmlIsWrapped?p.xmlName:p.xmlElementName||p.xmlName;else{var b=z(p.serializedName);y=b.pop();for(var v=0,g=b;v<g.length;v++){var _=g[v];void 0!=m[_]||void 0==r[d]&&void 0===p.defaultValue||(m[_]={}),m=m[_]}}if(void 0!=m){if(i&&t.xmlNamespace){var w=t.xmlNamespacePrefix?"xmlns:"+t.xmlNamespacePrefix:"xmlns";m[q.a]=l(l({},m[q.a]),((a={})[w]=t.xmlNamespace,a))}var S=""!==p.serializedName?n+"."+p.serializedName:n,M=r[d],x=K(e,t);x&&x.clientName===d&&void 0==M&&(M=t.serializedName);var E=e.serialize(p,M,S,o);if(void 0!==E&&void 0!=y){var k=V(p,E,i,o);i&&p.xmlIsAttribute?(m[q.a]=m[q.a]||{},m[q.a][y]=E):i&&p.xmlIsWrapped?m[y]=((s={})[p.xmlElementName]=k,s):m[y]=k}}}}var O=function(e,t,r){var n=t.type.additionalProperties;if(!n&&t.type.className){var i=F(e,t,r);return null===i||void 0===i?void 0:i.type.additionalProperties}return n}(e,t,n);if(O){var T=Object.keys(c),P=function(t){T.every((function(e){return e!==t}))&&(u[t]=e.serialize(O,r[t],n+'["'+t+'"]',o))};for(var A in r)P(A)}return u}return r}(this,e,t,r,Boolean(this.isXML),s));return u},e.prototype.deserialize=function(e,t,r,n){var i,o,a;void 0===n&&(n={});var s,u={rootName:null!==(i=n.rootName)&&void 0!==i?i:"",includeRoot:null!==(o=n.includeRoot)&&void 0!==o&&o,xmlCharKey:null!==(a=n.xmlCharKey)&&void 0!==a?a:q.b};if(void 0==t)return this.isXML&&"Sequence"===e.type.name&&!e.xmlIsWrapped&&(t=[]),void 0!==e.defaultValue&&(t=e.defaultValue),t;var c=e.type.name;if(r||(r=e.serializedName),null!==c.match(/^Composite$/i))s=function(e,t,r,n,i){var o;K(e,t)&&(t=G(e,t,r,"serializedName"));for(var a=H(e,t,n),s={},u=[],c=0,l=Object.keys(a);c<l.length;c++){var f=l[c],h=a[f],d=z(a[f].serializedName);u.push(d[0]);var p=h.serializedName,y=h.xmlName,m=h.xmlElementName,b=n;""!==p&&void 0!==p&&(b=n+"."+p);var v=h.headerCollectionPrefix;if(v){for(var g={},_=0,w=Object.keys(r);_<w.length;_++){var S=w[_];S.startsWith(v)&&(g[S.substring(v.length)]=e.deserialize(h.type.value,r[S],b,i)),u.push(S)}s[f]=g}else if(e.isXML)if(h.xmlIsAttribute&&r[q.a])s[f]=e.deserialize(h,r[q.a][y],b,i);else{var M=m||y||p;if(h.xmlIsWrapped){var x=r[y],E=null!==(o=null===x||void 0===x?void 0:x[m])&&void 0!==o?o:[];s[f]=e.deserialize(h,E,b,i)}else{var k=r[M];s[f]=e.deserialize(h,k,b,i)}}else{for(var O=void 0,T=r,P=0,A=d;P<A.length;P++){var R=A[P];if(!T)break;T=T[R]}O=T;var j=t.type.polymorphicDiscriminator;j&&f===j.clientName&&void 0==O&&(O=t.serializedName);var C=void 0;if(Array.isArray(r[f])&&""===a[f].serializedName){O=r[f];for(var N=e.deserialize(h,O,b,i),I=0,L=Object.entries(s);I<L.length;I++){var D=L[I],B=D[0],U=D[1];Object.prototype.hasOwnProperty.call(N,B)||(N[B]=U)}s=N}else void 0===O&&void 0===h.defaultValue||(C=e.deserialize(h,O,b,i),s[f]=C)}}var F=t.type.additionalProperties;if(F){var V=function(e){for(var t in a){if(z(a[t].serializedName)[0]===e)return!1}return!0};for(var Y in r)V(Y)&&(s[Y]=e.deserialize(F,r[Y],n+'["'+Y+'"]',i))}else if(r)for(var X=0,$=Object.keys(r);X<$.length;X++){void 0!==s[f=$[X]]||u.includes(f)||W(f,i)||(s[f]=r[f])}return s}(this,e,t,r,u);else{if(this.isXML){var l=u.xmlCharKey,f=t;void 0!=f[q.a]&&void 0!=f[l]&&(t=f[l])}null!==c.match(/^Number$/i)?(s=parseFloat(t),isNaN(s)&&(s=t)):null!==c.match(/^Boolean$/i)?s="true"===t||"false"!==t&&t:null!==c.match(/^(String|Enum|Object|Stream|Uuid|TimeSpan|any)$/i)?s=t:null!==c.match(/^(Date|DateTime|DateTimeRfc1123)$/i)?s=new Date(t):null!==c.match(/^UnixTime$/i)?s=function(e){if(!e)return;return new Date(1e3*e)}(t):null!==c.match(/^ByteArray$/i)?s=B(t):null!==c.match(/^Base64Url$/i)?s=function(e){if(!e)return;if(e&&"string"!==typeof e.valueOf())throw new Error("Please provide an input of type string for converting to Uint8Array");return B(e=e.replace(/-/g,"+").replace(/_/g,"/"))}(t):null!==c.match(/^Sequence$/i)?s=function(e,t,r,n,i){var o=t.type.element;if(!o||"object"!==typeof o)throw new Error('element" metadata for an Array must be defined in the mapper and it must of type "object" in '+n);if(r){Array.isArray(r)||(r=[r]);for(var a=[],s=0;s<r.length;s++)a[s]=e.deserialize(o,r[s],n+"["+s+"]",i);return a}return r}(this,e,t,r,u):null!==c.match(/^Dictionary$/i)&&(s=function(e,t,r,n,i){var o=t.type.value;if(!o||"object"!==typeof o)throw new Error('"value" metadata for a Dictionary must be defined in the mapper and it must of type "object" in '+n);if(r){for(var a={},s=0,u=Object.keys(r);s<u.length;s++){var c=u[s];a[c]=e.deserialize(o,r[c],n,i)}return a}return r}(this,e,t,r,u))}return e.isConstant&&(s=e.defaultValue),s},e}();function z(e){var t=[],r="";if(e)for(var n=0,i=e.split(".");n<i.length;n++){var o=i[n];"\\"===o.charAt(o.length-1)?r+=o.substr(0,o.length-1)+".":(r+=o,t.push(r),r="")}return t}function F(e,t,r){var n=t.type.className;if(!n)throw new Error('Class name for model "'+r+'" is not provided in the mapper "'+JSON.stringify(t,void 0,2)+'".');return e.modelMappers[n]}function H(e,t,r){var n=t.type.modelProperties;if(!n){var i=F(e,t,r);if(!i)throw new Error('mapper() cannot be null or undefined for model "'+t.type.className+'".');if(!(n=null===i||void 0===i?void 0:i.type.modelProperties))throw new Error('modelProperties cannot be null or undefined in the mapper "'+JSON.stringify(i)+'" of type "'+t.type.className+'" for object "'+r+'".')}return n}function V(e,t,r,n){var i;if(!r||!e.xmlNamespace)return t;var o=((i={})[e.xmlNamespacePrefix?"xmlns:"+e.xmlNamespacePrefix:"xmlns"]=e.xmlNamespace,i);
2if(["Composite"].includes(e.type.name)){if(t[q.a])return t;var a=l({},t);return a[q.a]=o,a}var s={};return s[n.xmlCharKey]=t,s[q.a]=o,s}function W(e,t){return[q.a,t.xmlCharKey].includes(e)}function G(e,t,r,n){var i=K(e,t);if(i){var o=i[n];if(void 0!=o){var a=r[o];if(void 0!=a){var s=t.type.uberParent||t.type.className,u=a===s?a:s+"."+a,c=e.modelMappers.discriminators[u];c&&(t=c)}}}return t}function K(e,t){return t.type.polymorphicDiscriminator||Y(e,t.type.uberParent)||Y(e,t.type.className)}function Y(e,t){return t&&e.modelMappers[t]&&e.modelMappers[t].type.polymorphicDiscriminator}var X=function(e){for(var t={},r=0,n=e;r<n.length;r++){var i=n[r];t[i]=i}return t}(["Base64Url","Boolean","ByteArray","Composite","Date","DateTime","DateTimeRfc1123","Dictionary","Enum","Number","Object","Sequence","String","Stream","TimeSpan","UnixTime"]);var $={},Z=new j,J=function(e){function t(r,n,i,o,a){var s=e.call(this,r)||this;return s.name="RestError",s.code=n,s.statusCode=i,s.request=o,s.response=a,Object.setPrototypeOf(s,t.prototype),s}return c(t,e),t.prototype[$]=function(){return"RestError: "+this.message+" \n "+Z.sanitize(this)},t.REQUEST_SEND_ERROR="REQUEST_SEND_ERROR",t.PARSE_ERROR="PARSE_ERROR",t}(Error);if(!self.document||!self.DOMParser||!self.Node||!self.XMLSerializer)throw new Error('This library depends on the following DOM objects: ["document", "DOMParser", "Node", "XMLSerializer"] to parse XML, but some of these are undefined. You may provide a polyfill to make these globally available in order to support your environment. For more information, please refer to https://aka.ms/azsdk/js/web-workers. ');var Q,ee=document.implementation.createDocument(null,null,null),te=new DOMParser;function re(e,t){var r,n,i;void 0===t&&(t={});try{var o={rootName:null!==(r=t.rootName)&&void 0!==r?r:"",includeRoot:null!==(n=t.includeRoot)&&void 0!==n&&n,xmlCharKey:null!==(i=t.xmlCharKey)&&void 0!==i?i:q.b},a=te.parseFromString(e,"application/xml");!function(e){var t=e.getElementsByTagName("parsererror");if(t.length>0&&function(){var e;if(void 0===Q)try{Q=null!==(e=te.parseFromString("INVALID","text/xml").getElementsByTagName("parsererror")[0].namespaceURI)&&void 0!==e?e:""}catch(t){Q=""}return Q}())for(var r=0;r<t.length;r++)if(t[r].namespaceURI===Q)throw new Error(t[r].innerHTML)}(a);var s=void 0;return s=ne(o.includeRoot?a:a.childNodes[0],o),Promise.resolve(s)}catch(u){return Promise.reject(u)}}function ne(e,t){var r={},n=e.childNodes.length,i=e.childNodes[0],o=i&&1===n&&i.nodeType===Node.TEXT_NODE&&i.nodeValue||void 0,a=function(e){return function(e){return!!e.attributes}(e)&&e.hasAttributes()?e:void 0}(e);if(a){r[q.a]={};for(var s=0;s<a.attributes.length;s++){var u=a.attributes[s];r[q.a][u.nodeName]=u.nodeValue}o&&(r[t.xmlCharKey]=o)}else 0===n?r="":o&&(r=o);if(!o)for(s=0;s<n;s++){var c=e.childNodes[s];if(c.nodeType!==Node.TEXT_NODE){var l=ne(c,t);r[c.nodeName]?Array.isArray(r[c.nodeName])?r[c.nodeName].push(l):r[c.nodeName]=[r[c.nodeName],l]:r[c.nodeName]=l}}return r}var ie=new XMLSerializer;function oe(e,t){var r,n,i;void 0===t&&(t={});var o={rootName:null!==(r=t.rootName)&&void 0!==r?r:"root",includeRoot:null!==(n=t.includeRoot)&&void 0!==n&&n,xmlCharKey:null!==(i=t.xmlCharKey)&&void 0!==i?i:q.b},a=se(e,o.rootName,o)[0];return'<?xml version="1.0" encoding="UTF-8" standalone="yes"?>'+ie.serializeToString(a)}function ae(e){for(var t=[],r=0,n=Object.keys(e);r<n.length;r++){var i=n[r],o=ee.createAttribute(i);o.value=e[i].toString(),t.push(o)}return t}function se(e,t,r){if(void 0===e||null===e||"string"===typeof e||"number"===typeof e||"boolean"===typeof e)return(c=ee.createElement(t)).textContent=void 0===e||null===e?"":e.toString(),[c];if(Array.isArray(e)){for(var n=[],i=0,o=e;i<o.length;i++)for(var a=0,s=se(o[i],t,r);a<s.length;a++){var u=s[a];n.push(u)}return n}if("object"===typeof e){for(var c=ee.createElement(t),l=0,f=Object.keys(e);l<f.length;l++){var h=f[l];if(h===q.a)for(var d=0,p=ae(e[h]);d<p.length;d++){var y=p[d];c.attributes.setNamedItem(y)}else if(h===r.xmlCharKey)c.textContent=e[h].toString();else for(var m=0,b=se(e[h],h,r);m<b.length;m++){u=b[m];c.appendChild(u)}}return[c]}throw new Error("Illegal value passed to buildObject: "+e)}function ue(e,t){return{create:function(r,n){return new he(r,n,e,t)}}}var ce=["application/json","text/json"],le=["application/xml","application/atom+xml"],fe={expectedContentTypes:{json:ce,xml:le}},he=function(e){function t(t,r,n,i){var o;void 0===i&&(i={});var a=e.call(this,t,r)||this;return a.jsonContentTypes=n&&n.json||ce,a.xmlContentTypes=n&&n.xml||le,a.xmlCharKey=null!==(o=i.xmlCharKey)&&void 0!==o?o:q.b,a}return c(t,e),t.prototype.sendRequest=function(e){return f(this,void 0,void 0,(function(){var t=this;return h(this,(function(r){return[2,this._nextPolicy.sendRequest(e).then((function(e){return function(e,t,r,n){var i,o,a;void 0===n&&(n={});var s={rootName:null!==(i=n.rootName)&&void 0!==i?i:"",includeRoot:null!==(o=n.includeRoot)&&void 0!==o&&o,xmlCharKey:null!==(a=n.xmlCharKey)&&void 0!==a?a:q.b};return function(e,t,r,n){var i,o=function(e){var t='Error "'+e+'" occurred while parsing the response body - '+r.bodyAsText+".",n=e.code||J.PARSE_ERROR,i=new J(t,n,r.status,r.request,r);return Promise.reject(i)};if(!(null===(i=r.request.streamResponseStatusCodes)||void 0===i?void 0:i.has(r.status))&&!r.request.streamResponseBody&&r.bodyAsText){var a=r.bodyAsText,s=r.headers.get("Content-Type")||"",u=s?s.split(";").map((function(e){return e.toLowerCase()})):[];if(0===u.length||u.some((function(t){return-1!==e.indexOf(t)})))return new Promise((function(e){r.parsedBody=JSON.parse(a),e(r)})).catch(o);if(u.some((function(e){return-1!==t.indexOf(e)})))return re(a,n).then((function(e){return r.parsedBody=e,r})).catch(o)}return Promise.resolve(r)}(e,t,r,s).then((function(e){if(!function(e){var t,r=e.request.shouldDeserialize;t=void 0===r||("boolean"===typeof r?r:r(e));return t}(e))return e;var t=e.request.operationSpec;if(!t||!t.responses)return e;var i=function(e){var t,r=e.request,n=r.operationSpec;if(n){var i=r.operationResponseGetter;t=i?i(n,e):n.responses[e.status]}return t}(e),o=function(e,t,r){var n,i=200<=e.status&&e.status<300;if(function(e){var t=Object.keys(e.responses);return 0===t.length||1===t.length&&"default"===t[0]}(t)?i:r){if(!r)return{error:null,shouldReturnResponse:!1};if(!r.isError)return{error:null,shouldReturnResponse:!1}}var o=null!==r&&void 0!==r?r:t.responses.default,a=(null===(n=e.request.streamResponseStatusCodes)||void 0===n?void 0:n.has(e.status))||e.request.streamResponseBody?"Unexpected status code: "+e.status:e.bodyAsText,s=new J(a,void 0,e.status,e.request,e);if(!o)throw s;var u=o.bodyMapper,c=o.headersMapper;try{if(e.parsedBody){var l=e.parsedBody,f=void 0;if(u){var h=l;t.isXML&&u.type.name===X.Sequence&&(h="object"===typeof l?l[u.xmlElementName]:[]),f=t.serializer.deserialize(u,h,"error.response.parsedBody")}var d=l.error||f||l;s.code=d.code,d.message&&(s.message=d.message),u&&(s.response.parsedBody=f)}e.headers&&c&&(s.response.parsedHeaders=t.serializer.deserialize(c,e.headers.rawHeaders(),"operationRes.parsedHeaders"))}
2catch(p){s.message='Error "'+p.message+'" occurred in deserializing the responseBody - "'+e.bodyAsText+'" for the default response.'}return{error:s,shouldReturnResponse:!1}}(e,t,i),a=o.error,s=o.shouldReturnResponse;if(a)throw a;if(s)return e;if(i){if(i.bodyMapper){var u=e.parsedBody;t.isXML&&i.bodyMapper.type.name===X.Sequence&&(u="object"===typeof u?u[i.bodyMapper.xmlElementName]:[]);try{e.parsedBody=t.serializer.deserialize(i.bodyMapper,u,"operationRes.parsedBody",n)}catch(c){throw new J("Error "+c+" occurred in deserializing the responseBody - "+e.bodyAsText,void 0,e.status,e.request,e)}}else"HEAD"===t.httpMethod&&(e.parsedBody=r.status>=200&&r.status<300);i.headersMapper&&(e.parsedHeaders=t.serializer.deserialize(i.headersMapper,e.headers.rawHeaders(),"operationRes.parsedHeaders",n))}return e}))}(t.jsonContentTypes,t.xmlContentTypes,e,{xmlCharKey:t.xmlCharKey})}))]}))}))},t}(p);var de,pe=3e4,ye=9e4;function me(e){return"number"===typeof e}function be(e,t,r,n,i){return!!t(n,i)&&r.retryCount<e}function ve(e,t,r){void 0===t&&(t={retryCount:0,retryInterval:0}),r&&(t.error&&(r.innerError=t.error),t.error=r),t.retryCount++;var n=Math.pow(2,t.retryCount-1)-1;return n*=.8*e.retryInterval+Math.floor(Math.random()*(.4*e.retryInterval)),t.retryInterval=Math.min(e.minRetryInterval+n,e.maxRetryInterval),t}function ge(e,t,r){return{create:function(n,i){return new we(n,i,e,t,r)}}}!function(e){e[e.Exponential=0]="Exponential"}(de||(de={}));var _e={maxRetries:3,retryDelayInMs:pe,maxRetryDelayInMs:ye},we=function(e){function t(t,r,n,i,o){var a=e.call(this,t,r)||this;return a.retryCount=me(n)?n:3,a.retryInterval=me(i)?i:pe,a.maxRetryInterval=me(o)?o:ye,a}return c(t,e),t.prototype.sendRequest=function(e){var t=this;return this._nextPolicy.sendRequest(e.clone()).then((function(r){return Se(t,e,r)})).catch((function(r){return Se(t,e,r.response,void 0,r)}))},t}(p);function Se(e,t,r,n,i){return f(this,void 0,void 0,(function(){function o(e){var t=null===e||void 0===e?void 0:e.status;return!(void 0===t||t<500&&408!==t||501===t||505===t)}var a,s,u;return h(this,(function(c){switch(c.label){case 0:if(n=ve({retryInterval:e.retryInterval,minRetryInterval:0,maxRetryInterval:e.maxRetryInterval},n,i),(a=t.abortSignal&&t.abortSignal.aborted)||!be(e.retryCount,o,n,r))return[3,6];b.info("Retrying request in "+n.retryInterval),c.label=1;case 1:return c.trys.push([1,4,,5]),[4,v.a(n.retryInterval)];case 2:return c.sent(),[4,e._nextPolicy.sendRequest(t.clone())];case 3:return s=c.sent(),[2,Se(e,t,s,n)];case 4:return u=c.sent(),[2,Se(e,t,r,n,u)];case 5:return[3,7];case 6:if(a||i||!r)throw n.error||new J("Failed to send the request.",J.REQUEST_SEND_ERROR,r&&r.status,r&&r.request,r);return[2,r];case 7:return[2]}}
2))}))}function Me(e){return void 0===e&&(e="x-ms-client-request-id"),{create:function(t,r){return new xe(t,r,e)}}}var xe=function(e){function t(t,r,n){var i=e.call(this,t,r)||this;return i._requestIdHeaderName=n,i}return c(t,e),t.prototype.sendRequest=function(e){return e.headers.contains(this._requestIdHeaderName)||e.headers.set(this._requestIdHeaderName,e.requestId),this._nextPolicy.sendRequest(e)},t}(p);function Ee(e){return e.toLowerCase()}function ke(e){if(e&&"object"===typeof e){var t=e;if("function"===typeof t.rawHeaders&&"function"===typeof t.clone&&"function"===typeof t.get&&"function"===typeof t.set&&"function"===typeof t.contains&&"function"===typeof t.remove&&"function"===typeof t.headersArray&&"function"===typeof t.headerValues&&"function"===typeof t.headerNames&&"function"===typeof t.toJson)return!0}return!1}var Oe=function(){function e(e){if(this._headersMap={},e)for(var t in e)this.set(t,e[t])}return e.prototype.set=function(e,t){this._headersMap[Ee(e)]={name:e,value:t.toString()}},e.prototype.get=function(e){var t=this._headersMap[Ee(e)];return t?t.value:void 0},e.prototype.contains=function(e){return!!this._headersMap[Ee(e)]},e.prototype.remove=function(e){var t=this.contains(e);return delete this._headersMap[Ee(e)],t},e.prototype.rawHeaders=function(){var e={};for(var t in this._headersMap){var r=this._headersMap[t];e[r.name.toLowerCase()]=r.value}return e},e.prototype.headersArray=function(){var e=[];for(var t in this._headersMap)e.push(this._headersMap[t]);return e},e.prototype.headerNames=function(){for(var e=[],t=this.headersArray(),r=0;r<t.length;++r)e.push(t[r].name);return e},e.prototype.headerValues=function(){for(var e=[],t=this.headersArray(),r=0;r<t.length;++r)e.push(t[r].value);return e},e.prototype.toJson=function(){return this.rawHeaders()},e.prototype.toString=function(){return JSON.stringify(this.toJson())},e.prototype.clone=function(){return new e(this.rawHeaders())},e}(),Te=r(21);function Pe(){return"x-ms-useragent"}var Ae=Pe;function Re(){var e,t,r,n=[{key:"core-http",value:Te.a.coreHttpVersion}],i=function(){var e=self.navigator;return[{key:"OS",value:(e.oscpu||e.platform).replace(" ","")}]}();return e=n.concat(i),void 0===t&&(t=" "),void 0===r&&(r="/"),e.map((function(e){var t=e.value?""+r+e.value:"";return""+e.key+t})).join(t)}
2function je(e){var t=e&&void 0!==e.key&&null!==e.key?e.key:"x-ms-useragent",r=e&&void 0!==e.value&&null!==e.value?e.value:Re();return{create:function(e,n){return new Ce(e,n,t,r)}}}var Ce=function(e){function t(t,r,n,i){var o=e.call(this,t,r)||this;return o._nextPolicy=t,o._options=r,o.headerKey=n,o.headerValue=i,o}return c(t,e),t.prototype.sendRequest=function(e){return this.addUserAgentHeader(e),this._nextPolicy.sendRequest(e)},t.prototype.addUserAgentHeader=function(e){e.headers||(e.headers=new Oe),!e.headers.get(this.headerKey)&&this.headerValue&&e.headers.set(this.headerKey,this.headerValue)},t}(p),Ne=["GET","HEAD"],Ie={handleRedirects:!0,maxRetries:20};function Le(e){return void 0===e&&(e=20),{create:function(t,r){return new De(t,r,e)}}}var De=function(e){function t(t,r,n){void 0===n&&(n=20);var i=e.call(this,t,r)||this;return i.maxRetries=n,i}return c(t,e),t.prototype.sendRequest=function(e){var t=this;return this._nextPolicy.sendRequest(e).then((function(e){return Be(t,e,0)}))},t}(p);function Be(e,t,r){var n=t.request,i=t.status,o=t.headers.get("location");if(o&&(300===i||301===i&&Ne.includes(n.method)||302===i&&Ne.includes(n.method)||303===i&&"POST"===n.method||307===i)&&(!e.maxRetries||r<e.maxRetries)){var a=_.parse(n.url);return a.setPath(o),n.url=a.toString(),303===i&&(n.method="GET",delete n.body),e._nextPolicy.sendRequest(n).then((function(t){return Be(e,t,r+1)}))}return Promise.resolve(t)}var qe=function(e){function t(t,r,n){void 0===n&&(n=30);var i=e.call(this,t,r)||this;return i._retryTimeout=n,i}return c(t,e),t.prototype.sendRequest=function(e){var t=this;return this._nextPolicy.sendRequest(e.clone()).then((function(r){return function(e,t,r){if(409===r.status){var n=function(e){var t,r;if(e){try{r=JSON.parse(e)}catch(i){}if(r&&r.error&&r.error.message&&r.error.code&&"MissingSubscriptionRegistration"===r.error.code){var n=r.error.message.match(/.*'(.*)'/i);n&&(t=n.pop())}}return t}(r.bodyAsText);if(n){var i=function(e){var t,r=e.match(/.*\/subscriptions\/[a-f0-9-]+\//gi);if(!r||!r[0])throw new Error("Unable to extract subscriptionId from the given url - "+e+".");t=r[0];return t}(t.url);return function(e,t,r,n){var i=t+"providers/"+r+"/register?api-version=2016-02-01",o=t+"providers/"+r+"?api-version=2016-02-01",a=Ue(n);return a.method="POST",a.url=i,e._nextPolicy.sendRequest(a).then((function(t){if(200!==t.status)throw new Error("Autoregistration of "+r+" failed. Please try registering manually.");return ze(e,o,n)}))}(e,i,n,t).catch((function(){return!1})).then((function(n){return n?(t.headers.set("x-ms-client-request-id",v.b()),e._nextPolicy.sendRequest(t.clone())):r}))}}return Promise.resolve(r)}(t,e,r)}))},t}(p);function Ue(e,t){void 0===t&&(t=!1);var r=e.clone();return t&&(r.url=e.url),r.headers.set("x-ms-client-request-id",v.b()),r.headers.set("Content-Type","application/json; charset=utf-8"),r}function ze(e,t,r){var n=Ue(r);return n.url=t,n.method="GET",e._nextPolicy.sendRequest(n).then((function(n){var i=n.parsedBody;return!(!n.parsedBody||!i.registrationState||"Registered"!==i.registrationState)||v.a(1e3*e._retryTimeout).then((function(){return ze(e,t,r)}))}))}var Fe={forcedRefreshWindowInMs:1e3,retryIntervalInMs:3e3,refreshWindowInMs:12e4};function He(e,t,r){var n=this,i=null,o=null,a=l(l({},Fe),r),s={get isRefreshing(){return null!==i},get shouldRefresh(){var e;return!s.isRefreshing&&(null!==(e=null===o||void 0===o?void 0:o.expiresOnTimestamp)&&void 0!==e?e:0)-a.refreshWindowInMs<Date.now()},get mustRefresh(){return null===o||o.expiresOnTimestamp-a.forcedRefreshWindowInMs<Date.now()}};function u(r){var n;if(!s.isRefreshing){i=function(e,t,r){return f(this,void 0,void 0,(function(){function n(){return f(this,void 0,void 0,(function(){var t;return h(this,(function(n){switch(n.label){case 0:if(!(Date.now()<r))return[3,5];n.label=1;case 1:return n.trys.push([1,3,,4]),[4,e()];case 2:return[2,n.sent()];case 3:return n.sent(),[2,null];case 4:return[3,7];case 5:return[4,e()];case 6:if(null===(t=n.sent()))throw new Error("Failed to refresh access token.");return[2,t];case 7:return[2]}}
2))}))}var i;return h(this,(function(e){switch(e.label){case 0:return[4,n()];case 1:i=e.sent(),e.label=2;case 2:return null!==i?[3,5]:[4,Object(v.a)(t)];case 3:return e.sent(),[4,n()];case 4:return i=e.sent(),[3,2];case 5:return[2,i]}}))}))}((function(){return e.getToken(t,r)}),a.retryIntervalInMs,null!==(n=null===o||void 0===o?void 0:o.expiresOnTimestamp)&&void 0!==n?n:Date.now()).then((function(e){return i=null,o=e})).catch((function(e){throw i=null,o=null,e}))}return i}return function(e){return f(n,void 0,void 0,(function(){return h(this,(function(t){return s.mustRefresh?[2,u(e)]:(s.shouldRefresh&&u(e),[2,o])}))}))}}function Ve(e,t,r,n){return{create:function(i,o){return new Ge(i,o,e,t,r,n)}}}var We,Ge=function(e){function t(t,r,n,i,o,a){var s=e.call(this,t,r)||this;return s.retryCount=me(n)?n:3,s.retryInterval=me(i)?i:pe,s.minRetryInterval=me(o)?o:3e3,s.maxRetryInterval=me(a)?a:ye,s}return c(t,e),t.prototype.sendRequest=function(e){var t=this;return this._nextPolicy.sendRequest(e.clone()).catch((function(r){return Ke(t,e,r.response,r)}))},t}(p);function Ke(e,t,r,n,i){return f(this,void 0,void 0,(function(){function o(e,t){return!(!t||!t.code||"ETIMEDOUT"!==t.code&&"ESOCKETTIMEDOUT"!==t.code&&"ECONNREFUSED"!==t.code&&"ECONNRESET"!==t.code&&"ENOENT"!==t.code)}var a;return h(this,(function(s){switch(s.label){case 0:if(i=ve(e,i,n),!be(e.retryCount,o,i,r,n))return[3,5];s.label=1;case 1:return s.trys.push([1,3,,4]),[4,v.a(i.retryInterval)];case 2:return s.sent(),[2,e._nextPolicy.sendRequest(t.clone())];case 3:return a=s.sent(),[2,Ke(e,t,r,a,i)];case 4:return[3,6];case 5:return n?[2,Promise.reject(i.error)]:[2,r];case 6:return[2]}}
2))}))}!function(e){e.Csv=",",e.Ssv=" ",e.Tsv="\t",e.Pipes="|",e.Multi="Multi"}(We||(We={}));var Ye=function(){function e(e,t,r,n,i,o,a,s,u,c,l,f,h,d,p){this.streamResponseBody=o,this.streamResponseStatusCodes=p,this.url=e||"",this.method=t||"GET",this.headers=ke(i)?i:new Oe(i),this.body=r,this.query=n,this.formData=void 0,this.withCredentials=a||!1,this.abortSignal=s,this.timeout=u||0,this.onUploadProgress=c,this.onDownloadProgress=l,this.proxySettings=f,this.keepAlive=h,this.decompressResponse=d,this.requestId=this.headers.get("x-ms-client-request-id")||Object(v.b)()}return e.prototype.validateRequestProperties=function(){if(!this.method)throw new Error("WebResource.method is required.");if(!this.url)throw new Error("WebResource.url is required.")},e.prototype.prepare=function(e){if(!e)throw new Error("options object is required");if(void 0===e.method||null===e.method||"string"!==typeof e.method.valueOf())throw new Error("options.method must be a string.");if(e.url&&e.pathTemplate)throw new Error("options.url and options.pathTemplate are mutually exclusive. Please provide exactly one of them.");if((void 0===e.pathTemplate||null===e.pathTemplate||"string"!==typeof e.pathTemplate.valueOf())&&(void 0===e.url||null===e.url||"string"!==typeof e.url.valueOf()))throw new Error("Please provide exactly one of options.pathTemplate or options.url.");if(e.url){if("string"!==typeof e.url)throw new Error('options.url must be of type "string".');this.url=e.url}if(e.method){var t=["GET","PUT","HEAD","DELETE","OPTIONS","POST","PATCH","TRACE"];if(-1===t.indexOf(e.method.toUpperCase()))throw new Error('The provided method "'+e.method+'" is invalid. Supported HTTP methods are: '+JSON.stringify(t))}if(this.method=e.method.toUpperCase(),e.pathTemplate){var r=e.pathTemplate,n=e.pathParameters;if("string"!==typeof r)throw new Error('options.pathTemplate must be of type "string".');e.baseUrl||(e.baseUrl="https://management.azure.com");var i=e.baseUrl,o=i+(i.endsWith("/")?"":"/")+(r.startsWith("/")?r.slice(1):r),a=o.match(/({[\w-]*\s*[\w-]*})/gi);if(a&&a.length){if(!n)throw new Error("pathTemplate: "+r+" has been provided. Hence, options.pathParameters must also be provided.");a.forEach((function(e){var t=e.slice(1,-1),i=n[t];if(null===i||void 0===i||"string"!==typeof i&&"object"!==typeof i){var a=JSON.stringify(n,void 0,2);throw new Error("pathTemplate: "+r+" contains the path parameter "+t+" however, it is not present in parameters: "+a+'.The value of the path parameter can either be a "string" of the form { '+t+': "some sample value" } or it can be an "object" of the form { "'+t+'": { value: "some sample value", skipUrlEncoding: true } }.')}if("string"===typeof i.valueOf()&&(o=o.replace(e,encodeURIComponent(i))),"object"===typeof i.valueOf()){if(!i.value)throw new Error("options.pathParameters["+t+'] is of type "object" but it does not contain a "value" property.');o=i.skipUrlEncoding?o.replace(e,i.value):o.replace(e,encodeURIComponent(i.value))}}))}this.url=o}if(e.queryParameters){var s=e.queryParameters;if("object"!==typeof s)throw new Error('options.queryParameters must be of type object. It should be a JSON object of "query-parameter-name" as the key and the "query-parameter-value" as the value. The "query-parameter-value" may be fo type "string" or an "object" of the form { value: "query-parameter-value", skipUrlEncoding: true }.');this.url&&-1===this.url.indexOf("?")&&(this.url+="?");var u=[];for(var c in this.query={},s){var l=s[c];if(l)if("string"===typeof l)u.push(c+"="+encodeURIComponent(l)),this.query[c]=encodeURIComponent(l);else if("object"===typeof l){if(!l.value)throw new Error("options.queryParameters["+c+'] is of type "object" but it does not contain a "value" property.');l.skipUrlEncoding?(u.push(c+"="+l.value),this.query[c]=l.value):(u.push(c+"="+encodeURIComponent(l.value)),this.query[c]=encodeURIComponent(l.value))}}this.url+=u.join("&")}if(e.headers)for(var f=e.headers,h=0,d=Object.keys(e.headers);h<d.length;h++){var p=d[h];this.headers.set(p,f[p])}return this.headers.get("accept-language")||this.headers.set("accept-language","en-US"),this.headers.get("x-ms-client-request-id")||e.disableClientRequestId||this.headers.set("x-ms-client-request-id",this.requestId),this.headers.get("Content-Type")||this.headers.set("Content-Type","application/json; charset=utf-8"),this.body=e.body,void 0!==e.body&&null!==e.body&&(e.bodyIsStream?(this.headers.get("Transfer-Encoding")||this.headers.set("Transfer-Encoding","chunked"),"application/octet-stream"!==this.headers.get("Content-Type")&&this.headers.set("Content-Type","application/octet-stream")):(e.serializationMapper&&(this.body=new U(e.mappers).serialize(e.serializationMapper,e.body,"requestBody")),e.disableJsonStringifyOnBo
2dy||(this.body=JSON.stringify(e.body)))),e.spanOptions&&(this.spanOptions=e.spanOptions),e.tracingContext&&(this.tracingContext=e.tracingContext),this.abortSignal=e.abortSignal,this.onDownloadProgress=e.onDownloadProgress,this.onUploadProgress=e.onUploadProgress,this},e.prototype.clone=function(){var t=new e(this.url,this.method,this.body,this.query,this.headers&&this.headers.clone(),this.streamResponseBody,this.withCredentials,this.abortSignal,this.timeout,this.onUploadProgress,this.onDownloadProgress,this.proxySettings,this.keepAlive,this.decompressResponse,this.streamResponseStatusCodes);return this.formData&&(t.formData=this.formData),this.operationSpec&&(t.operationSpec=this.operationSpec),this.shouldDeserialize&&(t.shouldDeserialize=this.shouldDeserialize),this.operationResponseGetter&&(t.operationResponseGetter=this.operationResponseGetter),t},e}(),Xe=new Error("ProxyPolicy is not supported in browser environment");function $e(e){return{create:function(e,t){throw Xe}}}!function(e){function t(t,r){e.call(this,t,r);throw Xe}c(t,e),t.prototype.sendRequest=function(e){throw Xe}}(p);var Ze=Te.a.HttpConstants.StatusCodes;function Je(){return{create:function(e,t){return new Qe(e,t)}}}var Qe=function(e){function t(t,r,n){var i=e.call(this,t,r)||this;return i._handleResponse=n||i._defaultResponseHandler,i}return c(t,e),t.prototype.sendRequest=function(e){return f(this,void 0,void 0,(function(){var t=this;return h(this,(function(r){return[2,this._nextPolicy.sendRequest(e.clone()).then((function(r){return r.status!==Ze.TooManyRequests?r:t._handleResponse(e,r)}))]}))}))},t.prototype._defaultResponseHandler=function(e,r){return f(this,void 0,void 0,(function(){var n,i,o=this;return h(this,(function(a){return(n=r.headers.get(Te.a.HeaderConstants.RETRY_AFTER))&&(i=t.parseRetryAfterHeader(n))?[2,Object(v.a)(i).then((function(t){return o._nextPolicy.sendRequest(e)}))]:[2,r]}))}))},t.parseRetryAfterHeader=function(e){var r=Number(e);return Number.isNaN(r)?t.parseDateRetryAfterHeader(e):1e3*r},t.parseDateRetryAfterHeader=function(e){try{var t=Date.now(),r=Date.parse(e)-t;return Number.isNaN(r)?void 0:r}catch(n){return}},t}(p);var et=function(e){function t(t,r,n){var i=e.call(this,t,r)||this;return i.authenticationProvider=n,i}return c(t,e),t.prototype.signRequest=function(e){return this.authenticationProvider.signRequest(e)},t.prototype.sendRequest=function(e){var t=this;return this.signRequest(e).then((function(e){return t._nextPolicy.sendRequest(e)}))},t}(p),tt={enable:!0};var rt=function(e){function t(t,r,n){var i=e.call(this,t,r)||this;return i.keepAliveOptions=n,i}return c(t,e),t.prototype.sendRequest=function(e){return f(this,void 0,void 0,(function(){return h(this,(function(t){return e.keepAlive=this.keepAliveOptions.enable,[2,this._nextPolicy.sendRequest(e)]}))}))},t}(p),nt=function(){function e(){}return e.prototype.context=function(){return{spanId:"",traceId:"",traceFlags:0}},e.prototype.end=function(e){},e.prototype.setAttribute=function(e,t){return this},e.prototype.setAttributes=function(e){return this},e.prototype.addEvent=function(e,t){return this},e.prototype.setStatus=function(e){return this},e.prototype.updateName=function(e){return this},e.prototype.isRecording=function(){return!1},e.prototype.recordException=function(e,t){},e}(),it=function(){function e(){}return e.prototype.startSpan=function(e,t){return new nt},e.prototype.getCurrentSpan=function(){return new nt},e.prototype.withSpan=function(e,t){return t()},e.prototype.bind=function(e,t){return e},e}();var ot,at,st=Symbol.for("@azure/core-tracing.tracerCache3");function ut(){var e=self,t=e[st],r=!0;if(t)if(4===t.version)ot=t;else if(r=!1,t.tracer)throw new Error("Two incompatible versions of @azure/core-tracing have been loaded.\n This library is 4, existing is "+t.version+".");ot||(ot={tracer:void 0,version:4}),r&&(e[st]=ot)}function ct(){return ot||ut(),ot}function lt(){var e=ct();return e.tracer?e.tracer:(at||(at=new it),at)}var ft,ht=r(29);function dt(e,t){return Object(ht.setSpan)(e,t)}!function(e){e[e.INTERNAL=0]="INTERNAL",e[e.SERVER=1]="SERVER",e[e.CLIENT=2]="CLIENT",e[e.PRODUCER=3]="PRODUCER",e[e.CONSUMER=4]="CONSUMER"}(ft||(ft={}));var pt,yt=ht.context;function mt(e){return function(t,r){var n=lt(),i=(null===r||void 0===r?void 0:r.tracingOptions)||{},o=Object(s.a)({kind:ft.INTERNAL},i.spanOptions),a=e.packagePrefix?e.packagePrefix+"."+t:t,u=n.startSpan(a,o,i.tracingContext);e.namespace&&u.setAttribute("az.namespace",e.namespace);var c=i.spanOptions||{};u.isRecording()&&e.namespace&&(c=Object(s.a)(Object(s.a)({},i.spanOptions),{attributes:Object(s.a)(Object(s.a)({},o.attributes),{"az.namespace":e.namespace})}));var l=Object(s.a)(Object(s.a)({},i),{spanOptions:c,tracingContext:dt(i.tracingContext||yt.active(),u)});return{span:u,updatedOptions:Object(s.a)(Object(s.a)({},r),{tracingOptions:l})}}}!function(e){e[e.UNSET=0]="UNSET",e[e.OK=1]="OK",e[e.ERROR=2]="ERROR"}(pt||(pt={}));var bt=mt({packagePrefix:"",namespace:""});var vt=function(e){function t(t,r,n){var i=e.call(this,t,r)||this;return i.userAgent=n.userAgent,i}return c(t,e),t.prototype.sendRequest=function(e){return f(this,void 0,void 0,(function(){var t,r,n,i,o,a,s,u;return h(this,(function(c){switch(c.label){case 0:if(!e.tracingContext)return[2,this._nextPolicy.sendRequest(e)];t=_.parse(e.url).getPath()||"/",(r=bt(t,{tracingOptions:{spanOptions:l(l({},e.spanOptions),{kind:ft.CLIENT}),tracingContext:e.tracingContext}}).span).setAttributes({"http.method":e.method,"http.url":e.url,requestId:e.requestId}),this.userAgent&&r.setAttribute("http.user_agent",this.userAgent),c.label=1;case 1:return c.trys.push([1,3,4,5]),n=r.context(),(i=function(e){var t=[];
2if(e.traceId||t.push("traceId"),e.spanId||t.push("spanId"),!t.length){var r=(e.traceFlags||0).toString(16),n=1===r.length?"0"+r:r;return"00-"+e.traceId+"-"+e.spanId+"-"+n}}(n))&&(e.headers.set("traceparent",i),(o=n.traceState&&n.traceState.serialize())&&e.headers.set("tracestate",o)),[4,this._nextPolicy.sendRequest(e)];case 2:return a=c.sent(),r.setAttribute("http.status_code",a.status),(s=a.headers.get("x-ms-request-id"))&&r.setAttribute("serviceRequestId",s),r.setStatus({code:pt.OK}),[2,a];case 3:throw u=c.sent(),r.setStatus({code:pt.ERROR,message:u.message}),r.setAttribute("http.status_code",u.statusCode),u;case 4:return r.end(),[7];case 5:return[2]}}))}))},t}(p),gt=new Error("DisableResponseDecompressionPolicy is not supported in browser environment");!function(e){function t(t,r){e.call(this,t,r);throw gt}c(t,e),t.prototype.sendRequest=function(e){return f(this,void 0,void 0,(function(){return h(this,(function(e){throw gt}))}))}}(p);var _t=function(e){function t(t,r){return e.call(this,t,r)||this}return c(t,e),t.prototype.sendRequest=function(e){return f(this,void 0,void 0,(function(){var t;return h(this,(function(r){return"string"===typeof e.body&&e.body.startsWith("[")&&(t=JSON.parse(e.body),Array.isArray(t)&&(e.body=t.map((function(e){return JSON.stringify(e)+"\n"})).join(""))),[2,this._nextPolicy.sendRequest(e)]}))}))},t}(p),wt=URL,St=new WeakMap,Mt=new WeakMap,xt=function(){function e(){this.onabort=null,St.set(this,[]),Mt.set(this,!1)}return Object.defineProperty(e.prototype,"aborted",{get:function(){if(!Mt.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");return Mt.get(this)},enumerable:!1,configurable:!0}),Object.defineProperty(e,"none",{get:function(){return new e},enumerable:!1,configurable:!0}),e.prototype.addEventListener=function(e,t){if(!St.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");St.get(this).push(t)},e.prototype.removeEventListener=function(e,t){if(!St.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");var r=St.get(this),n=r.indexOf(t);n>-1&&r.splice(n,1)},e.prototype.dispatchEvent=function(e){throw new Error("This is a stub dispatchEvent implementation that should not be used. It only exists for type-checking purposes.")},e}();function Et(e){if(!e.aborted){e.onabort&&e.onabort.call(e);var t=St.get(e);t&&t.slice().forEach((function(t){t.call(e,{type:"abort"})})),Mt.set(e,!0)}}var kt,Ot=function(e){function t(t){var r=e.call(this,t)||this;return r.name="AbortError",r}return Object(s.c)(t,e),t}(Error),Tt=(function(){function e(e){var t=this;if(this._signal=new xt,e){Array.isArray(e)||(e=arguments);for(var r=0,n=e;r<n.length;r++){var i=n[r];i.aborted?this.abort():i.addEventListener("abort",(function(){t.abort()}))}}}Object.defineProperty(e.prototype,"signal",{get:function(){return this._signal},enumerable:!1,configurable:!0}),e.prototype.abort=function(){Et(this._signal)},e.timeout=function(e){var t=new xt,r=setTimeout(Et,e,t);return"function"===typeof r.unref&&r.unref(),t}}(),function(){function e(){}return e.prototype.sendRequest=function(e){var t,r=new XMLHttpRequest;if(e.proxySettings)throw new Error("HTTP proxy is not supported in browser environment");var n=e.abortSignal;if(n){if(n.aborted)return Promise.reject(new Ot("The operation was aborted."));var i=function(){r.abort()};n.addEventListener("abort",i),r.addEventListener("readystatechange",(function(){r.readyState===XMLHttpRequest.DONE&&n.removeEventListener("abort",i)}))}if(Pt(r.upload,e.onUploadProgress),Pt(r,e.onDownloadProgress),e.formData){for(var o=e.formData,a=new FormData,s=function(e,t){t&&Object.prototype.hasOwnProperty.call(t,"value")&&Object.prototype.hasOwnProperty.call(t,"options")?a.append(e,t.value,t.options):a.append(e,t)},u=0,c=Object.keys(o);u<c.length;u++){var l=c[u],f=o[l];if(Array.isArray(f))for(var h=0;h<f.length;h++)s(l,f[h]);else s(l,f)}e.body=a,e.formData=void 0;var d=e.headers.get("Content-Type");d&&-1!==d.indexOf("multipart/form-data")&&e.headers.remove("Content-Type")}r.open(e.method,e.url),r.timeout=e.timeout,r.withCredentials=e.withCredentials;for(var p=0,y=e.headers.headersArray();p<y.length;p++){var m=y[p];r.setRequestHeader(m.name,m.value)}return r.responseType=(null===(t=e.streamResponseStatusCodes)||void 0===t?void 0:t.size)||e.streamResponseBody?"blob":"text",r.send(void 0===e.body?null:e.body),"blob"===r.responseType?new Promise((function(t,n){!function(e,t,r,n){e.addEventListener("readystatechange",(function(){var i;if(e.readyState===XMLHttpRequest.HEADERS_RECEIVED)if(t.streamResponseBody||(null===(i=t.streamResponseStatusCodes)||void 0===i?void 0:i.has(e.status))){var o=new Promise((function(r,n){e.addEventListener("load",(function(){r(e.response)})),Rt(t,e,n)}
2));r({request:t,status:e.status,headers:At(e),blobBody:o})}else e.addEventListener("load",(function(){if(e.response){var i=new FileReader;i.onload=function(n){var i,o=null===(i=n.target)||void 0===i?void 0:i.result;r({request:t,status:e.status,headers:At(e),bodyAsText:o})},i.onerror=function(e){n(i.error)},i.readAsText(e.response,"UTF-8")}else r({request:t,status:e.status,headers:At(e)})}))}))}(r,e,t,n),Rt(e,r,n)})):new Promise((function(t,n){r.addEventListener("load",(function(){return t({request:e,status:r.status,headers:At(r),bodyAsText:r.responseText})})),Rt(e,r,n)}))},e}());function Pt(e,t){t&&e.addEventListener("progress",(function(e){return t({loadedBytes:e.loaded})}))}function At(e){for(var t=new Oe,r=0,n=e.getAllResponseHeaders().trim().split(/[\r\n]+/);r<n.length;r++){var i=n[r],o=i.indexOf(":"),a=i.slice(0,o),s=i.slice(o+2);t.set(a,s)}return t}function Rt(e,t,r){t.addEventListener("error",(function(){return r(new J("Failed to send request to "+e.url,J.REQUEST_SEND_ERROR,void 0,e))}));var n=new Ot("The operation was aborted.");t.addEventListener("abort",(function(){return r(n)})),t.addEventListener("timeout",(function(){return r(n)}))}var jt=function(){function e(e,t){var r,n,i=this;if(t||(t={}),this._withCredentials=t.withCredentials||!1,this._httpClient=t.httpClient||(kt||(kt=new Tt),kt),this._requestPolicyOptions=new y(t.httpPipelineLogger),Array.isArray(t.requestPolicyFactories))b.info("ServiceClient: using custom request policies"),r=t.requestPolicyFactories;else{var o=void 0;if(function(e){var t=e;return t&&"function"===typeof t.getToken&&(void 0===t.signRequest||t.getToken.length>0)}(e)){b.info("ServiceClient: creating bearer token authentication policy from provided credentials");o=function(){var r=void 0,n=i,o=t;return{create:function(t,i){var a=function(e,t){if(null===e||void 0===e?void 0:e.credentialScopes){var r=e.credentialScopes;return Array.isArray(r)?r.map((function(e){return new wt(e).toString()})):new wt(r).toString()}if(t)return t+"/.default";return}(o,n.baseUri);if(!a)throw new Error("When using credential, the ServiceClient must contain a baseUri or a credentialScopes in ServiceClientOptions. Unable to create a bearerTokenAuthenticationPolicy");return void 0!==r&&null!==r||(r=function(e,t){var r=He(e,t),n=function(e){function t(t,r){return e.call(this,t,r)||this}return c(t,e),t.prototype.sendRequest=function(e){return f(this,void 0,void 0,(function(){var t;return h(this,(function(n){switch(n.label){case 0:return[4,r({abortSignal:e.abortSignal,tracingOptions:{spanOptions:e.spanOptions,tracingContext:e.tracingContext}})];case 1:return t=n.sent().token,e.headers.set(Te.a.HeaderConstants.AUTHORIZATION,"Bearer "+t),[2,this._nextPolicy.sendRequest(e)]}}))}))},t}(p);return{create:function(e,t){return new n(e,t)}}}(e,a)),r.create(t,i)}}}()}else if(e&&"function"===typeof e.signRequest)b.info("ServiceClient: creating signing policy from provided credentials"),n=e,o={create:function(e,t){return new et(e,t,n)}};else if(void 0!==e&&null!==e)throw new Error("The credentials argument must implement the TokenCredential interface");if(b.info("ServiceClient: using default request policies"),r=function(e,t){var r=[];t.generateClientRequestIdHeader&&r.push(Me(t.clientRequestIdHeaderName));e&&r.push(e);var n=Ct(t.userAgentHeaderName,Ae),i=Ct(t.userAgent,Re);n&&i&&r.push(je({key:n,value:i}));r.push(Le()),r.push(function(e){return void 0===e&&(e=30),{create:function(t,r){return new qe(t,r,e)}}}(t.rpRegistrationRetryTimeout)),t.noRetryPolicy||(r.push(ge()),r.push(Ve()),r.push(Je()));r.push(ue(t.deserializationContentTypes)),v.d&&r.push($e(t.proxySettings));return r.push(C({logger:b.info})),r}(o,t),t.requestPolicyFactories){var a=t.requestPolicyFactories(r);a&&(r=a)}}this._requestPolicyFactories=r}return e.prototype.sendRequest=function(e){if(null===e||void 0===e||"object"!==typeof e)throw new Error("options cannot be null or undefined and it must be of type object.");var t;try{!function(e){if(e&&"object"===typeof e){var t=e;if("string"===typeof t.url&&"string"===typeof t.method&&"object"===typeof t.headers&&ke(t.headers)&&"function"===typeof t.validateRequestProperties&&"function"===typeof t.prepare&&"function"===typeof t.clone)return!0}return!1}(e)?t=(t=new Ye).prepare(e):(e.validateRequestProperties(),t=e)}catch(i){return Promise.reject(i)}
2var r=this._httpClient;if(this._requestPolicyFactories&&this._requestPolicyFactories.length>0)for(var n=this._requestPolicyFactories.length-1;n>=0;--n)r=this._requestPolicyFactories[n].create(r,this._requestPolicyOptions);return r.sendRequest(t)},e.prototype.sendOperationRequest=function(e,t,r){var n;return f(this,void 0,void 0,(function(){var i,o,a,s,u,c,l,f,d,p,y,m,b,g,w,S,M,x,E,k,O,T,P,A,R,j,C,N,L,D,B;return h(this,(function(h){switch(h.label){case 0:"function"===typeof e.options&&(r=e.options,e.options=void 0),i=null===(n=e.options)||void 0===n?void 0:n.serializerOptions,o=new Ye,h.label=1;case 1:if(h.trys.push([1,6,,7]),!(s=t.baseUrl||this.baseUri))throw new Error("If operationSpec.baseUrl is not specified, then the ServiceClient must have a baseUri string property that contains the base URL to use.");if(o.method=t.httpMethod,o.operationSpec=t,u=_.parse(s),t.path&&u.appendPath(t.path),t.urlParameters&&t.urlParameters.length>0)for(c=0,l=t.urlParameters;c<l.length;c++)f=l[c],d=It(this,e,f,t.serializer),d=t.serializer.serialize(f.mapper,d,I(f),i),f.skipEncoding||(d=encodeURIComponent(d)),u.replaceAll("{"+(f.mapper.serializedName||I(f))+"}",d);if(t.queryParameters&&t.queryParameters.length>0)for(p=0,y=t.queryParameters;p<y.length;p++)if(m=y[p],void 0!==(b=It(this,e,m,t.serializer))&&null!==b){if(b=t.serializer.serialize(m.mapper,b,I(m),i),void 0!==m.collectionFormat&&null!==m.collectionFormat)if(m.collectionFormat===We.Multi){if(0===b.length)continue;for(w in b)g=b[w],b[w]=void 0===g||null===g?"":g.toString()}else m.collectionFormat!==We.Ssv&&m.collectionFormat!==We.Tsv||(b=b.join(m.collectionFormat));if(!m.skipEncoding)if(Array.isArray(b))for(w in b)void 0!==b[w]&&null!==b[w]&&(b[w]=encodeURIComponent(b[w]));else b=encodeURIComponent(b);void 0!==m.collectionFormat&&null!==m.collectionFormat&&m.collectionFormat!==We.Multi&&m.collectionFormat!==We.Ssv&&m.collectionFormat!==We.Tsv&&(b=b.join(m.collectionFormat)),u.setQueryParameter(m.mapper.serializedName||I(m),b)}if(o.url=u.toString(),(S=t.contentType||this.requestContentType)&&t.requestBody&&o.headers.set("Content-Type",S),t.headerParameters)for(M=0,x=t.headerParameters;M<x.length;M++)if(E=x[M],void 0!==(k=It(this,e,E,t.serializer))&&null!==k)if(k=t.serializer.serialize(E.mapper,k,I(E),i),O=E.mapper.headerCollectionPrefix)for(T=0,P=Object.keys(k);T<P.length;T++)A=P[T],o.headers.set(O+A,k[A]);else o.headers.set(E.mapper.serializedName||I(E),k);if(R=e.options){if(R.customHeaders)for(j in R.customHeaders)o.headers.set(j,R.customHeaders[j]);R.abortSignal&&(o.abortSignal=R.abortSignal),R.timeout&&(o.timeout=R.timeout),R.onUploadProgress&&(o.onUploadProgress=R.onUploadProgress),R.onDownloadProgress&&(o.onDownloadProgress=R.onDownloadProgress),R.spanOptions&&(o.spanOptions=R.spanOptions),R.tracingContext&&(o.tracingContext=R.tracingContext),void 0!==R.shouldDeserialize&&null!==R.shouldDeserialize&&(o.shouldDeserialize=R.shouldDeserialize)}o.withCredentials=this._withCredentials,function(e,t,r,n){var i,o,a,s,u,c,l=null!==(o=null===(i=r.options)||void 0===i?void 0:i.serializerOptions)&&void 0!==o?o:{},f={rootName:null!==(a=l.rootName)&&void 0!==a?a:"",includeRoot:null!==(s=l.includeRoot)&&void 0!==s&&s,xmlCharKey:null!==(u=l.xmlCharKey)&&void 0!==u?u:q.b},h=l.xmlCharKey;if(n.requestBody&&n.requestBody.mapper){t.body=It(e,r,n.requestBody,n.serializer);var d=n.requestBody.mapper,p=d.required,y=d.xmlName,m=d.xmlElementName,b=d.serializedName,g=d.xmlNamespace,_=d.xmlNamespacePrefix,w=d.type.name;try{if(void 0!==t.body&&null!==t.body||p){var S=I(n.requestBody);t.body=n.serializer.serialize(d,t.body,S,f);var M=w===X.Stream;if(n.isXML){var x=_?"xmlns:"+_:"xmlns",E=function(e,t,r,n,i){var o;if(e&&!["Composite","Sequence","Dictionary"].includes(r)){var a={};return a[i.xmlCharKey]=n,a[q.a]=((o={})[t]=e,o),a}return n}(g,x,w,t.body,f);w===X.Sequence?t.body=oe(v.h(E,m||y||b,x,g),{rootName:y||b,xmlCharKey:h}):M||(t.body=oe(E,{rootName:y||b,xmlCharKey:h}))}else{if(w===X.String&&((null===(c=n.contentType)||void 0===c?void 0:c.match("text/plain"))||"text"===n.mediaType))return;M||(t.body=JSON.stringify(t.body))}}}catch(R){throw new Error('Error "'+R.message+'" occurred in serializing the payload - '+JSON.stringify(b,void 0," ")+".")}}else if(n.formDataParameters&&n.formDataParameters.length>0){t.formData={};for(var k=0,O=n.formDataParameters;k<O.length;k++){var T=O[k],P=It(e,r,T,n.serializer);if(void 0!==P&&null!==P){var A=T.mapper.serializedName||I(T);t.formData[A]=n.serializer.serialize(T.mapper,P,I(T),f)}}}}(this,o,e,t),void 0===o.streamResponseStatusCodes&&(o.streamResponseStatusCodes=function(e){var t=new Set;for(var r in e.responses){var n=e.responses[r];
2n.bodyMapper&&n.bodyMapper.type.name===X.Stream&&t.add(Number(r))}return t}(t)),C=void 0,N=void 0,h.label=2;case 2:return h.trys.push([2,4,,5]),[4,this.sendRequest(o)];case 3:return C=h.sent(),[3,5];case 4:return L=h.sent(),N=L,[3,5];case 5:return N?(N.response&&(N.details=Bt(N.response,t.responses[N.statusCode]||t.responses.default)),a=Promise.reject(N)):a=Promise.resolve(Bt(C,t.responses[C.status])),[3,7];case 6:return D=h.sent(),a=Promise.reject(D),[3,7];case 7:return(B=r)&&a.then((function(e){return B(null,e._response.parsedBody,e._response.request,e._response)})).catch((function(e){return B(e)})),[2,a]}}))}))},e}();function Ct(e,t){var r;return"string"===typeof e?r=e:(r=t(),"function"===typeof e&&(r=e(r))),r}function Nt(e,t){var r=[];e.sendStreamingJson&&r.push({create:function(e,t){return new _t(e,t)}});var n=void 0;if(e.userAgentOptions&&e.userAgentOptions.userAgentPrefix){var i=[];i.push(e.userAgentOptions.userAgentPrefix);var o=Re();-1===i.indexOf(o)&&i.push(o),n=i.join(" ")}var a=l(l({},tt),e.keepAliveOptions),s=l(l({},_e),e.retryOptions),u=l(l({},Ie),e.redirectOptions);v.d&&r.push($e(e.proxyOptions));var c,f=l(l({},fe),e.deserializationOptions),h=l({},e.loggingOptions);return r.push((void 0===(c={userAgent:n})&&(c={}),{create:function(e,t){return new vt(e,t,c)}}),function(e){return{create:function(t,r){return new rt(t,r,e||tt)}}}(a),je({value:n}),Me(),ue(f.expectedContentTypes),Je(),Ve(),ge(s.maxRetries,s.retryDelayInMs,s.maxRetryDelayInMs)),u.handleRedirects&&r.push(Le(u.maxRetries)),t&&r.push(t),r.push(C(h)),v.d&&!1===e.decompressResponse&&r.push({create:function(e,t){throw gt}}),{httpClient:e.httpClient,requestPolicyFactories:r}}function It(e,t,r,n){return Lt(e,t,r.parameterPath,r.mapper,n)}function Lt(e,t,r,n,i){var o,a;"string"===typeof r&&(r=[r]);var s=null===(o=t.options)||void 0===o?void 0:o.serializerOptions;if(Array.isArray(r)){if(r.length>0){if(n.isConstant)a=n.defaultValue;else{var u=Dt(t,r);u.propertyFound||(u=Dt(e,r));var c=!1;u.propertyFound||(c=n.required||"options"===r[0]&&2===r.length),a=c?n.defaultValue:u.propertyValue}var l=L(r,n);i.serialize(n,a,l,s)}}else for(var f in n.required&&(a={}),r){var h=n.type.modelProperties[f],d=r[f],p=Lt(e,t,d,h,i),y=L(d,h);i.serialize(h,p,y,s),void 0!==p&&null!==p&&(a||(a={}),a[f]=p)}return a}function Dt(e,t){for(var r={propertyFound:!1},n=0;n<t.length;++n){var i=t[n];if(void 0===e||null===e||!(i in e))break;e=e[i]}return n===t.length&&(r.propertyValue=e,r.propertyFound=!0),r}function Bt(e,t){var r=e.parsedHeaders,n=t&&t.bodyMapper,i=function(t){return Object.defineProperty(t,"_response",{value:e})};if(n){var o=n.type.name;if("Stream"===o)return i(l(l({},r),{blobBody:e.blobBody,readableStreamBody:e.readableStreamBody}));var a="Composite"===o&&n.type.modelProperties||{},s=Object.keys(a).some((function(e){return""===a[e].serializedName}));if("Sequence"===o||s){for(var u=function(e,t,r){if(r||2===arguments.length)for(var n,i=0,o=t.length;i<o;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||t)}([],e.parsedBody||[]),c=0,f=Object.keys(a);c<f.length;c++){var h=f[c];a[h].serializedName&&(u[h]=e.parsedBody[h])}if(r)for(var d=0,p=Object.keys(r);d<p.length;d++){u[h=p[d]]=r[h]}return i(u),u}if("Composite"===o||"Dictionary"===o)return i(l(l({},r),e.parsedBody))}return n||"HEAD"===e.request.method||v.f(e.parsedBody)?i(l(l({},r),{body:e.parsedBody})):i(l(l({},r),e.parsedBody))}var qt=r(46),Ut=r(24),zt=r(23);function Ft(e){var t=e.requestOptions,r=e.tracingOptions,n=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]])}return r}(e,["requestOptions","tracingOptions"]);return t&&(n=l(l({},n),t)),r&&(n.spanOptions=r.spanOptions,n.tracingContext=r.tracingContext),n}var Ht={parameterPath:"$host",mapper:{serializedName:"$host",required:!0,type:{name:"String"}},skipEncoding:!0},Vt={parameterPath:"apiVersion",mapper:{defaultValue:"2020-10-01",isConstant:!0,serializedName:"api-version",type:{name:"String"}}}
2,Wt={parameterPath:"contentType",mapper:{serializedName:"Content-Type",required:!0,type:{name:"Enum",allowedValues:["application/json","application/octet-stream"]}}},Gt={parameterPath:"message",mapper:{serializedName:"message",required:!0,type:{name:"Stream"}}},Kt={parameterPath:"contentType",mapper:{defaultValue:"text/plain",isConstant:!0,serializedName:"Content-Type",type:{name:"String"}}},Yt={parameterPath:"message",mapper:{serializedName:"message",required:!0,type:{name:"String"}}},Xt={parameterPath:"hub",mapper:{serializedName:"hub",required:!0,type:{name:"String"}}},$t={parameterPath:["options","excluded"],mapper:{serializedName:"excluded",type:{name:"Sequence",element:{type:{name:"String"}}}},collectionFormat:We.Multi},Zt={parameterPath:"connectionId",mapper:{serializedName:"connectionId",required:!0,type:{name:"String"}}},Jt={parameterPath:"group",mapper:{serializedName:"group",required:!0,type:{name:"String"}}},Qt={parameterPath:"userId",mapper:{serializedName:"userId",required:!0,type:{name:"String"}}},er={parameterPath:["options","targetName"],mapper:{serializedName:"targetName",type:{name:"String"}}},tr=function(){function e(t){Object(o.a)(this,e),this.client=t}return Object(a.a)(e,[{key:"getHealthStatus",value:function(e){var t={options:Ft(e||{})};return this.client.sendOperationRequest(t,rr)}}]),e}(),rr={path:"/api/health",httpMethod:"HEAD",responses:{200:{},default:{}},queryParameters:[Vt],urlParameters:[Ht],serializer:new U({},!1)},nr=function(){function e(t){Object(o.a)(this,e),this.client=t}return Object(a.a)(e,[{key:"sendToAll",value:function(){var e,t,r;if("application/json"===(arguments.length<=1?void 0:arguments[1])||"application/octet-stream"===(arguments.length<=1?void 0:arguments[1]))e=or,t={hub:arguments.length<=0?void 0:arguments[0],contentType:arguments.length<=1?void 0:arguments[1],message:arguments.length<=2?void 0:arguments[2],options:arguments.length<=3?void 0:arguments[3]},r=arguments.length<=3?void 0:arguments[3];else{if("text/plain"!==(arguments.length<=1?void 0:arguments[1]))throw new TypeError('"contentType" must be a valid value but instead was "'.concat(arguments.length<=1?void 0:arguments[1],'".'));e=ar,t={hub:arguments.length<=0?void 0:arguments[0],contentType:arguments.length<=1?void 0:arguments[1],message:arguments.length<=2?void 0:arguments[2],options:arguments.length<=3?void 0:arguments[3]},r=arguments.length<=3?void 0:arguments[3]}return t.options=Ft(r||{}),this.client.sendOperationRequest(t,e)}},{key:"connectionExists",value:function(e,t,r){var n={hub:e,connectionId:t,options:Ft(r||{})};return this.client.sendOperationRequest(n,sr)}},{key:"closeClientConnection",value:function(e,t,r){var n={hub:e,connectionId:t,options:Ft(r||{})};return this.client.sendOperationRequest(n,ur)}},{key:"sendToConnection",value:function(){var e,t,r;if("application/json"===(arguments.length<=2?void 0:arguments[2])||"application/octet-stream"===(arguments.length<=2?void 0:arguments[2]))e=cr,t={hub:arguments.length<=0?void 0:arguments[0],connectionId:arguments.length<=1?void 0:arguments[1],contentType:arguments.length<=2?void 0:arguments[2],message:arguments.length<=3?void 0:arguments[3],options:arguments.length<=4?void 0:arguments[4]},r=arguments.length<=4?void 0:arguments[4];else{if("text/plain"!==(arguments.length<=2?void 0:arguments[2]))throw new TypeError('"contentType" must be a valid value but instead was "'.concat(arguments.length<=2?void 0:arguments[2],'".'));e=lr,t={hub:arguments.length<=0?void 0:arguments[0],connectionId:arguments.length<=1?void 0:arguments[1],contentType:arguments.length<=2?void 0:arguments[2],message:arguments.length<=3?void 0:arguments[3],options:arguments.length<=4?void 0:arguments[4]},r=arguments.length<=4?void 0:arguments[4]}return t.options=Ft(r||{}),this.client.sendOperationRequest(t,e)}},{key:"groupExists",value:function(e,t,r){var n={hub:e,group:t,options:Ft(r||{})};return this.client.sendOperationRequest(n,fr)}},{key:"sendToGroup",value:function(){var e,t,r;if("application/json"===(arguments.length<=2?void 0:arguments[2])||"application/octet-stream"===(arguments.length<=2?void 0:arguments[2]))e=hr,t={hub:arguments.length<=0?void 0:arguments[0],group:arguments.length<=1?void 0:arguments[1],contentType:arguments.length<=2?void 0:arguments[2],message:arguments.length<=3?void 0:arguments[3],options:arguments.length<=4?void 0:arguments[4]},r=arguments.length<=4?void 0:arguments[4];else{if("text/plain"!==(arguments.length<=2?void 0:arguments[2]))throw new TypeError('"contentType" must be a valid value but instead was "'.concat(arguments.length<=2?void 0:arguments[2],'".'));e=dr,t={hub:arguments.length<=0?void 0:arguments[0],group:arguments.length<=1?void 0:arguments[1],contentType:arguments.length<=2?void 0:arguments[2],message:arguments.length<=3?void 0:arguments[3],options:arguments.length<=4?void 0:arguments[4]},r=arguments.length<=4?void 0:arguments[4]}return t.options=Ft(r||{}),this.client.sendOperationRequest(t,e)}},{key:"addConnectionToGroup",value:function(e,t,r,n){var i={hub:e,group:t,connectionId:r,options:Ft(n||{})};return this.client.sendOperationRequest(i,pr)}},{key:"removeConnectionFromGroup",value:function(e,t,r,n){var i={hub:e,group:t,connectionId:r,options:Ft(n||{})};return this.client.sendOperationRequest(i,yr)}},{key:"userExists",value:function(e,t,r){var n={hub:e,userId:t,options:Ft(r||{})};return this.client.sendOperationRequest(n,mr)}},{key:"sendToUser",value:function(){var e,t,r;if("application/json"===(arguments.length<=2?void 0:arguments[2])||"application/octet-stream"
2===(arguments.length<=2?void 0:arguments[2]))e=br,t={hub:arguments.length<=0?void 0:arguments[0],userId:arguments.length<=1?void 0:arguments[1],contentType:arguments.length<=2?void 0:arguments[2],message:arguments.length<=3?void 0:arguments[3],options:arguments.length<=4?void 0:arguments[4]},r=arguments.length<=4?void 0:arguments[4];else{if("text/plain"!==(arguments.length<=2?void 0:arguments[2]))throw new TypeError('"contentType" must be a valid value but instead was "'.concat(arguments.length<=2?void 0:arguments[2],'".'));e=vr,t={hub:arguments.length<=0?void 0:arguments[0],userId:arguments.length<=1?void 0:arguments[1],contentType:arguments.length<=2?void 0:arguments[2],message:arguments.length<=3?void 0:arguments[3],options:arguments.length<=4?void 0:arguments[4]},r=arguments.length<=4?void 0:arguments[4]}return t.options=Ft(r||{}),this.client.sendOperationRequest(t,e)}},{key:"userExistsInGroup",value:function(e,t,r,n){var i={hub:e,group:t,userId:r,options:Ft(n||{})};return this.client.sendOperationRequest(i,gr)}},{key:"addUserToGroup",value:function(e,t,r,n){var i={hub:e,group:t,userId:r,options:Ft(n||{})};return this.client.sendOperationRequest(i,_r)}},{key:"removeUserFromGroup",value:function(e,t,r,n){var i={hub:e,group:t,userId:r,options:Ft(n||{})};return this.client.sendOperationRequest(i,wr)}},{key:"removeUserFromAllGroups",value:function(e,t,r){var n={hub:e,userId:t,options:Ft(r||{})};return this.client.sendOperationRequest(n,Sr)}},{key:"grantPermission",value:function(e,t,r,n){var i={hub:e,permission:t,connectionId:r,options:Ft(n||{})};return this.client.sendOperationRequest(i,Mr)}},{key:"revokePermission",value:function(e,t,r,n){var i={hub:e,permission:t,connectionId:r,options:Ft(n||{})};return this.client.sendOperationRequest(i,xr)}},{key:"checkPermission",value:function(e,t,r,n){var i={hub:e,permission:t,connectionId:r,options:Ft(n||{})};return this.client.sendOperationRequest(i,Er)}}]),e}(),ir=new U({},!1),or={path:"/api/hubs/{hub}/:send",httpMethod:"POST",responses:{202:{},default:{}},requestBody:Gt,queryParameters:[Vt,$t],urlParameters:[Ht,Xt],headerParameters:[Wt],mediaType:"binary",serializer:ir},ar={path:"/api/hubs/{hub}/:send",httpMethod:"POST",responses:{202:{},default:{}},requestBody:Yt,queryParameters:[Vt,$t],urlParameters:[Ht,Xt],headerParameters:[Kt],mediaType:"text",serializer:ir},sr={path:"/api/hubs/{hub}/connections/{connectionId}",httpMethod:"HEAD",responses:{200:{},404:{},default:{}},queryParameters:[Vt],urlParameters:[Ht,Xt,Zt],serializer:ir},ur={path:"/api/hubs/{hub}/connections/{connectionId}",httpMethod:"DELETE",responses:{200:{},default:{}},queryParameters:[Vt,{parameterPath:["options","reason"],mapper:{serializedName:"reason",type:{name:"String"}}}],urlParameters:[Ht,Xt,Zt],serializer:ir},cr={path:"/api/hubs/{hub}/connections/{connectionId}/:send",httpMethod:"POST",responses:{202:{},default:{}},requestBody:Gt,queryParameters:[Vt],urlParameters:[Ht,Xt,Zt],headerParameters:[Wt],mediaType:"binary",serializer:ir},lr={path:"/api/hubs/{hub}/connections/{connectionId}/:send",httpMethod:"POST",responses:{202:{},default:{}},requestBody:Yt,queryParameters:[Vt],urlParameters:[Ht,Xt,Zt],headerParameters:[Kt],mediaType:"text",serializer:ir},fr={path:"/api/hubs/{hub}/groups/{group}",httpMethod:"HEAD",responses:{200:{},404:{},default:{}},queryParameters:[Vt],urlParameters:[Ht,Xt,Jt],serializer:ir},hr={path:"/api/hubs/{hub}/groups/{group}/:send",httpMethod:"POST",responses:{202:{},default:{}},requestBody:Gt,queryParameters:[Vt,$t],urlParameters:[Ht,Xt,Jt],headerParameters:[Wt],mediaType:"binary",serializer:ir},dr={path:"/api/hubs/{hub}/groups/{group}/:send",httpMethod:"POST",responses:{202:{},default:{}},requestBody:Yt,queryParameters:[Vt,$t],urlParameters:[Ht,Xt,Jt],headerParameters:[Kt],mediaType:"text",serializer:ir},pr={path:"/api/hubs/{hub}/groups/{group}/connections/{connectionId}",httpMethod:"PUT",responses:{200:{},404:{},default:{}},queryParameters:[Vt],urlParameters:[Ht,Xt,Zt,Jt],serializer:ir},yr={path:"/api/hubs/{hub}/groups/{group}/connections/{connectionId}",httpMethod:"DELETE",responses:{200:{},404:{},default:{}},queryParameters:[Vt],urlParameters:[Ht,Xt,Zt,Jt],serializer:ir},mr={path:"/api/hubs/{hub}/users/{userId}",httpMethod:"HEAD",responses:{200:{},404:{},default:{}},queryParameters:[Vt],urlParameters:[Ht,Xt,Qt],serializer:ir},br={path:"/api/hubs/{hub}/users/{userId}/:send",httpMethod:"POST",responses:{202:{},default:{}},requestBody:Gt,queryParameters:[Vt],urlParameters:[Ht,Xt,Qt],headerParameters:[Wt],mediaType:"binary",serializer:ir},vr={path:"/api/hubs/{hub}/users/{userId}/:send",httpMethod:"POST",responses:{202:{},default:{}},requestBody:Yt,queryParameters:[Vt],urlParameters:[Ht,Xt,Qt],headerParameters:[Kt],mediaType:"text",serializer:ir},gr={path:"/api/hubs/{hub}/users/{userId}/groups/{group}",httpMethod:"HEAD",responses:{200:{},404:{},default:{}},queryParameters:[Vt],urlParameters:[Ht,Xt,Jt,Qt],serializer:ir},_r={path:"/api/hubs/{hub}/users/{userId}/groups/{group}
2",httpMethod:"PUT",responses:{200:{},default:{}},queryParameters:[Vt],urlParameters:[Ht,Xt,Jt,Qt],serializer:ir},wr={path:"/api/hubs/{hub}/users/{userId}/groups/{group}",httpMethod:"DELETE",responses:{200:{},default:{}},queryParameters:[Vt],urlParameters:[Ht,Xt,Jt,Qt],serializer:ir},Sr={path:"/api/hubs/{hub}/users/{userId}/groups",httpMethod:"DELETE",responses:{200:{},default:{}},queryParameters:[Vt],urlParameters:[Ht,Xt,Qt],serializer:ir},Mr={path:"/api/hubs/{hub}/permissions/{permission}/connections/{connectionId}",httpMethod:"PUT",responses:{200:{},default:{}},queryParameters:[Vt,er],urlParameters:[Ht,Xt,Zt,{parameterPath:"permission",mapper:{serializedName:"permission",required:!0,type:{name:"String"}}}],serializer:ir},xr={path:"/api/hubs/{hub}/permissions/{permission}/connections/{connectionId}",httpMethod:"DELETE",responses:{200:{},default:{}},queryParameters:[Vt,er],urlParameters:[Ht,Xt,Zt,{parameterPath:"permission",mapper:{serializedName:"permission",required:!0,type:{name:"String"}}}],serializer:ir},Er={path:"/api/hubs/{hub}/permissions/{permission}/connections/{connectionId}",httpMethod:"HEAD",responses:{200:{},404:{},default:{}},queryParameters:[Vt,er],urlParameters:[Ht,Xt,Zt,{parameterPath:"permission",mapper:{serializedName:"permission",required:!0,type:{name:"String"}}}],serializer:ir},kr=function(e){Object(Ut.a)(r,e);var t=Object(zt.a)(r);function r(e,n){var i;return Object(o.a)(this,r),(i=t.call(this,e,n)).healthApi=new tr(Object(qt.a)(i)),i.webPubSub=new nr(Object(qt.a)(i)),i}return r}(function(e){Object(Ut.a)(r,e);var t=Object(zt.a)(r);function r(e,n){var i;if(Object(o.a)(this,r),void 0===e)throw new Error("'$host' cannot be null");if(n||(n={}),!n.userAgent){var a=Re();n.userAgent="".concat("WebPubSub","/").concat("1.0.0"," ").concat(a)}return(i=t.call(this,void 0,n)).requestContentType="application/json; charset=utf-8",i.baseUri=n.endpoint||"{$host}",i.$host=e,i.apiVersion=n.apiVersion||"2020-10-01",i}return r}(jt)),Or=mt({namespace:"Microsoft.WebPubSub",packagePrefix:"Azure.Messaging.WebPubSub"});function Tr(e){var t=e.excludedConnections,r=Object(s.d)(e,["excludedConnections"]);return Object.assign(Object.assign({},r),{excluded:t})}function Pr(e,t){if("text/plain"===(null===t||void 0===t?void 0:t.contentType)){if("string"!==typeof e)throw new TypeError("Message must be a string.");return"text/plain"}return"function"===typeof(r=e)||"object"===typeof r&&null!=r&&("ArrayBuffer"===r.constructor.name||"Blob"===r.constructor.name||ArrayBuffer.isView(r))?"application/octet-stream":"application/json";var r}var Ar=function(){function e(t,r,n){Object(o.a)(this,e),this.apiVersion="2020-10-01",this.client=t,this.groupName=n,this.hubName=r}return Object(a.a)(e,[{key:"addConnection",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object(s.b)(this,void 0,void 0,i.a.mark((function r(){var n,o,a,s;return i.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=Or("WebPubSubServiceClient-group-addConnection",t),o=n.span,a=n.updatedOptions,r.prev=1,r.next=4,this.client.webPubSub.addConnectionToGroup(this.hubName,this.groupName,e,a);case 4:if(404!==(s=r.sent)._response.status){r.next=7;break}throw new J("Connection id '".concat(e,"' doesn't exist"),void 0,s._response.status,s._response.request,s._response);case 7:return r.abrupt("return",s);case 8:return r.prev=8,o.end(),r.finish(8);case 11:case"end":return r.stop()}}),r,this,[[1,,8,11]])})))}},{key:"removeConnection",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object(s.b)(this,void 0,void 0,i.a.mark((function r(){var n,o,a,s;return i.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=Or("WebPubSubServiceClient-group-removeConnection",t),o=n.span,a=n.updatedOptions,r.prev=1,r.next=4,this.client.webPubSub.removeConnectionFromGroup(this.hubName,this.groupName,e,a);case 4:return s=r.sent,r.abrupt("return",s);case 6:return r.prev=6,o.end(),r.finish(6);case 9:case"end":return r.stop()}}),r,this,[[1,,6,9]])})))}},{key:"addUser",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object(s.b)(this,void 0,void 0,i.a.mark((function r(){var n,o,a;return i.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=Or("WebPubSubServiceClient-group-addUser",t),o=n.span,a=n.updatedOptions,r.prev=1,r.next=4,this.client.webPubSub.addUserToGroup(this.hubName,this.groupName,e,a);case 4:return r.abrupt("return",r.sent);case 5:return r.prev=5,o.end(),r.finish(5);case 8:case"end":return r.stop()}}),r,this,[[1,,5,8]])}
2)))}},{key:"hasUser",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object(s.b)(this,void 0,void 0,i.a.mark((function r(){var n,o,a,s;return i.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=Or("WebPubSubServiceClient-group-hasUser",t),o=n.span,a=n.updatedOptions,r.prev=1,r.next=4,this.client.webPubSub.userExistsInGroup(this.hubName,this.groupName,e,a);case 4:if(200!==(s=r.sent)._response.status){r.next=9;break}return r.abrupt("return",!0);case 9:if(404!==s._response.status){r.next=13;break}return r.abrupt("return",!1);case 13:throw new J(s._response.bodyAsText,void 0,s._response.status,s._response.request,s._response);case 14:return r.prev=14,o.end(),r.finish(14);case 17:case"end":return r.stop()}}),r,this,[[1,,14,17]])})))}},{key:"removeUser",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object(s.b)(this,void 0,void 0,i.a.mark((function r(){var n,o,a;return i.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=Or("WebPubSubServiceClient-group-removeUser",t),o=n.span,a=n.updatedOptions,r.prev=1,r.next=4,this.client.webPubSub.removeUserFromGroup(this.hubName,this.groupName,e,a);case 4:return r.abrupt("return",r.sent);case 5:return r.prev=5,o.end(),r.finish(5);case 8:case"end":return r.stop()}}),r,this,[[1,,5,8]])}
2)))}},{key:"sendToAll",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object(s.b)(this,void 0,void 0,i.a.mark((function r(){var n,o,a,s,u;return i.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=Tr(t),o=Or("WebPubSubServiceClient-group-sendToAll",n),a=o.span,s=o.updatedOptions,u=Pr(e,s),r.prev=3,r.next=6,this.client.webPubSub.sendToGroup(this.hubName,this.groupName,u,"application/json"===u?JSON.stringify(e):e,s);case 6:return r.abrupt("return",r.sent);case 7:return r.prev=7,a.end(),r.finish(7);case 10:case"end":return r.stop()}}),r,this,[[3,,7,10]])})))}}]),e}(),Rr=r(47),jr=r.n(Rr);var Cr=function(e){Object(Ut.a)(r,e);var t=Object(zt.a)(r);function r(e,n,i){var a;return Object(o.a)(this,r),(a=t.call(this,e,n)).credential=i,a}return Object(a.a)(r,[{key:"sendRequest",value:function(e){return e.headers.set("Authorization","Bearer "+jr.a.sign({},this.credential.key,{audience:e.url,expiresIn:"1h",algorithm:"HS256"})),this._nextPolicy.sendRequest(e)}}]),r}(p),Nr=Object(m.a)("web-pubsub"),Ir=function(){function e(e){if(!e)throw new Error("key must be a non-empty string");this._key=e}return Object.defineProperty(e.prototype,"key",{get:function(){return this._key},enumerable:!1,configurable:!0}),e.prototype.update=function(e){this._key=e},e}(),Lr=URL;var Dr=function(){function e(t,r,n,i){if(Object(o.a)(this,e),this.apiVersion="2020-10-01","object"===typeof r&&"key"in r)this.endpoint=t,this.credential=r,this.hubName=n,this.clientOptions=i;else{var a=function(e){var t={};e.split(";").forEach((function(e){var r=e.indexOf("=");if(-1!==r){var n=e.substring(0,r).toLowerCase(),i=e.substring(r+1);t[n]=i}}));var r=t.endpoint;if(!r)throw new TypeError("connection string missing endpoint");r.startsWith("http")||(r="https://".concat(r));var n=t.accesskey;if(!n)throw new TypeError("connection string missing access key");var i=new Ir(n),o=t.port,a=new Lr(r);a.port=o;var s=a.toString();return a.port="",{credential:i,endpoint:s}}(t);this.endpoint=a.endpoint,this.credential=a.credential,this.hubName=r,this.clientOptions=n}var s,u=Nt(Object.assign(Object.assign({},this.clientOptions),{loggingOptions:{logger:Nr.info}}),(s=this.credential,{create:function(e,t){return new Cr(e,t,s)}}));this.client=new kr(this.endpoint,u)}return Object(a.a)(e,[{key:"getAuthenticationToken",value:function(e){return Object(s.b)(this,void 0,void 0,i.a.mark((function t(){var r,n,o,a,s,u,c,l,f,h;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=this.endpoint.endsWith("/")?this.endpoint:this.endpoint+"/",n=this.credential.key,o=this.hubName,a=r.replace(/(http)(s?:\/\/)/gi,"ws$2"),s="".concat(a,"client/hubs/").concat(o),u="".concat(r,"client/hubs/").concat(o),c={role:null===e||void 0===e?void 0:e.roles},l={audience:u,expiresIn:void 0===(null===e||void 0===e?void 0:e.ttl)?"1h":"".concat(e.ttl,"m"),algorithm:"HS256"},(null===e||void 0===e?void 0:e.userId)&&(l.subject=null===e||void 0===e?void 0:e.userId),f=jr.a.sign(c,n,l),h="".concat(s,"?access_token=").concat(f),t.abrupt("return",{baseUrl:s,token:jr.a.sign(c,n,l),url:h});case 12:case"end":return t.stop()}}),t,this)})))}},{key:"group",value:function(e){return new Ar(this.client,this.hubName,e)}},{key:"sendToAll",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object(s.b)(this,void 0,void 0,i.a.mark((function r(){var n,o,a,s,u;return i.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=Tr(t),o=Or("WebPubSubServiceClient-hub-sendToAll",n),a=o.span,s=o.updatedOptions,u=Pr(e,s),r.prev=3,r.next=6,this.client.webPubSub.sendToAll(this.hubName,u,"application/json"===u?JSON.stringify(e):e,s);case 6:return r.abrupt("return",r.sent);case 7:return r.prev=7,a.end(),r.finish(7);case 10:case"end":return r.stop()}}),r,this,[[3,,7,10]])})))}},{key:"sendToUser",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return Object(s.b)(this,void 0,void 0,i.a.mark((function n(){var o,a,s,u;return i.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return o=Or("WebPubSubServiceClient-hub-sendToUser",r),a=o.span,s=o.updatedOptions,u=Pr(t,s),n.prev=2,n.next=5,this.client.webPubSub.sendToUser(this.hubName,e,u,"application/json"===u?JSON.stringify(t):t,s);case 5:return n.abrupt("return",n.sent);case 6:return n.prev=6,a.end(),n.finish(6);case 9:case"end":return n.stop()}}),n,this,[[2,,6,9]])})))}},{key:"sendToConnection",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return Object(s.b)(this,void 0,void 0,i.a.mark((function n(){var o,a,s,u;return i.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return o=Or("WebPubSubServiceClient-hub-sendToConnection",r),a=o.span,s=o.updatedOptions,u=Pr(t,s),n.prev=2,n.next=5,this.client.webPubSub.sendToConnection(this.hubName,e,u,"application/json"===u?JSON.stringify(t):t,s);case 5:return n.abrupt("return",n.sent);case 6:return n.prev=6,a.end(),n.finish(6);case 9:case"end":return n.stop()}}),n,this,[[2,,6,9]])})))}},{key:"hasConnection",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object(s.b)(this,void 0,void 0,i.a.mark((function r(){var n,o,a,s;return i.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=Or("WebPubSubServiceClient-hub-hasConnection",t),o=n.span,a=n.updatedOptions,r.prev=1,r.next=4,this.client.webPubSub.connectionExists(this.hubName,e,a);case 4:if(200!==(s=r.sent)._response.status){r.next=9;break}return r.abrupt("return",!0);case 9:if(404!==s._response.status){r.next=13;break}return r.abrupt("return",!1);case 13:throw new J(s._response.bodyAsText,void 0,s._response.status,s._response.request,s._response);case 14:return r.prev=14,o.end(),r.finish(14);case 17:case"end":return r.stop()}}),r,this,[[1,,14,17]])})))}},{key:"closeConnection",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object(s.b)(this,void 0,void 0,i.a.mark((function r(){var n,o,a;return i.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=Or("WebPubSubServiceClient-hub-removeC
2onnection",t),o=n.span,a=n.updatedOptions,r.prev=1,r.next=4,this.client.webPubSub.closeClientConnection(this.hubName,e,a);case 4:return r.abrupt("return",r.sent);case 5:return r.prev=5,o.end(),r.finish(5);case 8:case"end":return r.stop()}}),r,this,[[1,,5,8]])})))}},{key:"removeUserFromAllGroups",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object(s.b)(this,void 0,void 0,i.a.mark((function r(){var n,o,a;return i.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=Or("WebPubSubServiceClient-hub-removeUserFromAllGroups",t),o=n.span,a=n.updatedOptions,r.prev=1,r.next=4,this.client.webPubSub.removeUserFromAllGroups(this.hubName,e,a);case 4:return r.abrupt("return",r.sent);case 5:return r.prev=5,o.end(),r.finish(5);case 8:case"end":return r.stop()}}),r,this,[[1,,5,8]])})))}},{key:"hasGroup",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object(s.b)(this,void 0,void 0,i.a.mark((function r(){var n,o,a,s;return i.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=Or("WebPubSubServiceClient-hub-hasGroup",t),o=n.span,a=n.updatedOptions,r.prev=1,r.next=4,this.client.webPubSub.groupExists(this.hubName,e,a);case 4:if(200!==(s=r.sent)._response.status){r.next=9;break}return r.abrupt("return",!0);case 9:if(404!==s._response.status){r.next=13;break}return r.abrupt("return",!1);case 13:throw new J(s._response.bodyAsText,void 0,s._response.status,s._response.request,s._response);case 14:return r.prev=14,o.end(),r.finish(14);case 17:case"end":return r.stop()}}),r,this,[[1,,14,17]])})))}},{key:"hasUser",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object(s.b)(this,void 0,void 0,i.a.mark((function r(){var n,o,a,s;return i.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=Or("WebPubSubServiceClient-hub-hasUser",t),o=n.span,a=n.updatedOptions,r.prev=1,r.next=4,this.client.webPubSub.userExists(this.hubName,e,a);case 4:if(200!==(s=r.sent)._response.status){r.next=9;break}return r.abrupt("return",!0);case 9:if(404!==s._response.status){r.next=13;break}return r.abrupt("return",!1);case 13:throw new J(s._response.bodyAsText,void 0,s._response.status,s._response.request,s._response);case 14:return r.prev=14,o.end(),r.finish(14);case 17:case"end":return r.stop()}}),r,this,[[1,,14,17]])})))}},{key:"grantPermission",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return Object(s.b)(this,void 0,void 0,i.a.mark((function n(){var o,a,s;return i.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return o=Or("WebPubSubServiceClient-hub-grantPermission",r),a=o.span,s=o.updatedOptions,n.prev=1,n.next=4,this.client.webPubSub.grantPermission(this.hubName,t,e,s);case 4:return n.abrupt("return",n.sent);case 5:return n.prev=5,a.end(),n.finish(5);case 8:case"end":return n.stop()}}),n,this,[[1,,5,8]])}
2)))}},{key:"revokePermission",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return Object(s.b)(this,void 0,void 0,i.a.mark((function n(){var o,a,s;return i.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return o=Or("WebPubSubServiceClient-hub-revokePermission",r),a=o.span,s=o.updatedOptions,n.prev=1,n.next=4,this.client.webPubSub.revokePermission(this.hubName,t,e,s);case 4:return n.abrupt("return",n.sent);case 5:return n.prev=5,a.end(),n.finish(5);case 8:case"end":return n.stop()}}),n,this,[[1,,5,8]])})))}},{key:"hasPermission",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return Object(s.b)(this,void 0,void 0,i.a.mark((function n(){var o,a,s;return i.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return o=Or("WebPubSubServiceClient-hub-hasPermission",r),a=o.span,s=o.updatedOptions,n.prev=1,n.next=4,this.client.webPubSub.checkPermission(this.hubName,t,e,s);case 4:return n.abrupt("return",n.sent);case 5:return n.prev=5,a.end(),n.finish(5);case 8:case"end":return n.stop()}}),n,this,[[1,,5,8]])}
2)))}}]),e}()}]]); 3//# sourceMappingURL=2.dd79a3a6.chunk.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.