-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbundle.min.js
1 lines (1 loc) · 34.6 KB
/
bundle.min.js
1
!function t(e,r,n){function i(a,s){if(!r[a]){if(!e[a]){var u="function"==typeof require&&require;if(!s&&u)return u(a,!0);if(o)return o(a,!0);var f=new Error("Cannot find module '"+a+"'");throw f.code="MODULE_NOT_FOUND",f}var h=r[a]={exports:{}};e[a][0].call(h.exports,function(t){var r=e[a][1][t];return i(r||t)},h,h.exports,t,e,r,n)}return r[a].exports}for(var o="function"==typeof require&&require,a=0;a<n.length;a++)i(n[a]);return i}({1:[function(t,e,r){"use strict";r.byteLength=function(t){return 3*t.length/4-f(t)},r.toByteArray=function(t){var e,r,n,a,s,u,h=t.length;s=f(t),u=new o(3*h/4-s),n=s>0?h-4:h;var c=0;for(e=0,r=0;e<n;e+=4,r+=3)a=i[t.charCodeAt(e)]<<18|i[t.charCodeAt(e+1)]<<12|i[t.charCodeAt(e+2)]<<6|i[t.charCodeAt(e+3)],u[c++]=a>>16&255,u[c++]=a>>8&255,u[c++]=255&a;2===s?(a=i[t.charCodeAt(e)]<<2|i[t.charCodeAt(e+1)]>>4,u[c++]=255&a):1===s&&(a=i[t.charCodeAt(e)]<<10|i[t.charCodeAt(e+1)]<<4|i[t.charCodeAt(e+2)]>>2,u[c++]=a>>8&255,u[c++]=255&a);return u},r.fromByteArray=function(t){for(var e,r=t.length,i=r%3,o="",a=[],s=0,u=r-i;s<u;s+=16383)a.push(h(t,s,s+16383>u?u:s+16383));1===i?(e=t[r-1],o+=n[e>>2],o+=n[e<<4&63],o+="=="):2===i&&(e=(t[r-2]<<8)+t[r-1],o+=n[e>>10],o+=n[e>>4&63],o+=n[e<<2&63],o+="=");return a.push(o),a.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 f(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");return"="===t[e-2]?2:"="===t[e-1]?1:0}function h(t,e,r){for(var i,o,a=[],s=e;s<r;s+=3)i=(t[s]<<16)+(t[s+1]<<8)+t[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},{}],2:[function(t,e,r){(function(e){"use strict";var n=t("base64-js"),i=t("ieee754"),o=t("isarray");function a(){return u.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function s(t,e){if(a()<e)throw new RangeError("Invalid typed array length");return u.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e)).__proto__=u.prototype:(null===t&&(t=new u(e)),t.length=e),t}function u(t,e,r){if(!(u.TYPED_ARRAY_SUPPORT||this instanceof u))return new u(t,e,r);if("number"==typeof t){if("string"==typeof e)throw new Error("If encoding is specified then the first argument must be a string");return c(this,t)}return f(this,t,e,r)}function f(t,e,r,n){if("number"==typeof e)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer?function(t,e,r,n){if(e.byteLength,r<0||e.byteLength<r)throw new RangeError("'offset' is out of bounds");if(e.byteLength<r+(n||0))throw new RangeError("'length' is out of bounds");e=void 0===r&&void 0===n?new Uint8Array(e):void 0===n?new Uint8Array(e,r):new Uint8Array(e,r,n);u.TYPED_ARRAY_SUPPORT?(t=e).__proto__=u.prototype:t=p(t,e);return t}(t,e,r,n):"string"==typeof e?function(t,e,r){"string"==typeof r&&""!==r||(r="utf8");if(!u.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var n=0|d(e,r),i=(t=s(t,n)).write(e,r);i!==n&&(t=t.slice(0,i));return t}(t,e,r):function(t,e){if(u.isBuffer(e)){var r=0|l(e.length);return 0===(t=s(t,r)).length?t:(e.copy(t,0,0,r),t)}if(e){if("undefined"!=typeof ArrayBuffer&&e.buffer instanceof ArrayBuffer||"length"in e)return"number"!=typeof e.length||(n=e.length)!=n?s(t,0):p(t,e);if("Buffer"===e.type&&o(e.data))return p(t,e.data)}var n;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(t,e)}function h(t){if("number"!=typeof t)throw new TypeError('"size" argument must be a number');if(t<0)throw new RangeError('"size" argument must not be negative')}function c(t,e){if(h(e),t=s(t,e<0?0:0|l(e)),!u.TYPED_ARRAY_SUPPORT)for(var r=0;r<e;++r)t[r]=0;return t}function p(t,e){var r=e.length<0?0:0|l(e.length);t=s(t,r);for(var n=0;n<r;n+=1)t[n]=255&e[n];return t}function l(t){if(t>=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|t}function d(t,e){if(u.isBuffer(t))return t.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!=typeof t&&(t=""+t);var r=t.length;if(0===r)return 0;for(var n=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return F(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return j(t).length;default:if(n)return F(t).length;e=(""+e).toLowerCase(),n=!0}}function g(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}function y(t,e,r,n,i){if(0===t.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:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(i)return-1;r=t.length-1}else if(r<0){if(!i)return-1;r=0}if("string"==typeof e&&(e=u.from(e,n)),u.isBuffer(e))return 0===e.length?-1:w(t,e,r,n,i);if("number"==typeof e)return e&=255,u.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):w(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function w(t,e,r,n,i){var o,a=1,s=t.length,u=e.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||e.length<2)return-1;a=2,s/=2,u/=2,r/=2}function f(t,e){return 1===a?t[e]:t.readUInt16BE(e*a)}if(i){var h=-1;for(o=r;o<s;o++)if(f(t,o)===f(e,-1===h?0:o-h)){if(-1===h&&(h=o),o-h+1===u)return h*a}else-1!==h&&(o-=o-h),h=-1}else for(r+u>s&&(r=s-u),o=r;o>=0;o--){for(var c=!0,p=0;p<u;p++)if(f(t,o+p)!==f(e,p)){c=!1;break}if(c)return o}return-1}function v(t,e,r,n){r=Number(r)||0;var i=t.length-r;n?(n=Number(n))>i&&(n=i):n=i;var o=e.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(e.substr(2*a,2),16);if(isNaN(s))return a;t[r+a]=s}return a}function b(t,e,r,n){return z(F(e,t.length-r),t,r,n)}function m(t,e,r,n){return z(function(t){for(var e=[],r=0;r<t.length;++r)e.push(255&t.charCodeAt(r));return e}(e),t,r,n)}function A(t,e,r,n){return m(t,e,r,n)}function E(t,e,r,n){return z(j(e),t,r,n)}function _(t,e,r,n){return z(function(t,e){for(var r,n,i,o=[],a=0;a<t.length&&!((e-=2)<0);++a)r=t.charCodeAt(a),n=r>>8,i=r%256,o.push(i),o.push(n);return o}(e,t.length-r),t,r,n)}function U(t,e,r){return 0===e&&r===t.length?n.fromByteArray(t):n.fromByteArray(t.slice(e,r))}function I(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;i<r;){var o,a,s,u,f=t[i],h=null,c=f>239?4:f>223?3:f>191?2:1;if(i+c<=r)switch(c){case 1:f<128&&(h=f);break;case 2:128==(192&(o=t[i+1]))&&(u=(31&f)<<6|63&o)>127&&(h=u);break;case 3:o=t[i+1],a=t[i+2],128==(192&o)&&128==(192&a)&&(u=(15&f)<<12|(63&o)<<6|63&a)>2047&&(u<55296||u>57343)&&(h=u);break;case 4:o=t[i+1],a=t[i+2],s=t[i+3],128==(192&o)&&128==(192&a)&&128==(192&s)&&(u=(15&f)<<18|(63&o)<<12|(63&a)<<6|63&s)>65535&&u<1114112&&(h=u)}null===h?(h=65533,c=1):h>65535&&(h-=65536,n.push(h>>>10&1023|55296),h=56320|1023&h),n.push(h),i+=c}return function(t){var e=t.length;if(e<=P)return String.fromCharCode.apply(String,t);var r="",n=0;for(;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=P));return r}(n)}r.Buffer=u,r.SlowBuffer=function(t){+t!=t&&(t=0);return u.alloc(+t)},r.INSPECT_MAX_BYTES=50,u.TYPED_ARRAY_SUPPORT=void 0!==e.TYPED_ARRAY_SUPPORT?e.TYPED_ARRAY_SUPPORT:function(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()&&"function"==typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(t){return!1}}(),r.kMaxLength=a(),u.poolSize=8192,u._augment=function(t){return t.__proto__=u.prototype,t},u.from=function(t,e,r){return f(null,t,e,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(t,e,r){return function(t,e,r,n){return h(e),e<=0?s(t,e):void 0!==r?"string"==typeof n?s(t,e).fill(r,n):s(t,e).fill(r):s(t,e)}(null,t,e,r)},u.allocUnsafe=function(t){return c(null,t)},u.allocUnsafeSlow=function(t){return c(null,t)},u.isBuffer=function(t){return!(null==t||!t._isBuffer)},u.compare=function(t,e){if(!u.isBuffer(t)||!u.isBuffer(e))throw new TypeError("Arguments must be Buffers");if(t===e)return 0;for(var r=t.length,n=e.length,i=0,o=Math.min(r,n);i<o;++i)if(t[i]!==e[i]){r=t[i],n=e[i];break}return r<n?-1:n<r?1:0},u.isEncoding=function(t){switch(String(t).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(t,e){if(!o(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return u.alloc(0);var r;if(void 0===e)for(e=0,r=0;r<t.length;++r)e+=t[r].length;var n=u.allocUnsafe(e),i=0;for(r=0;r<t.length;++r){var a=t[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=d,u.prototype._isBuffer=!0,u.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<t;e+=2)g(this,e,e+1);return this},u.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<t;e+=4)g(this,e,e+3),g(this,e+1,e+2);return this},u.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<t;e+=8)g(this,e,e+7),g(this,e+1,e+6),g(this,e+2,e+5),g(this,e+3,e+4);return this},u.prototype.toString=function(){var t=0|this.length;return 0===t?"":0===arguments.length?I(this,0,t):function(t,e,r){var n=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return S(this,e,r);case"utf8":case"utf-8":return I(this,e,r);case"ascii":return R(this,e,r);case"latin1":case"binary":return B(this,e,r);case"base64":return U(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return k(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}.apply(this,arguments)},u.prototype.equals=function(t){if(!u.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===u.compare(this,t)},u.prototype.inspect=function(){var t="",e=r.INSPECT_MAX_BYTES;return this.length>0&&(t=this.toString("hex",0,e).match(/.{2}/g).join(" "),this.length>e&&(t+=" ... ")),"<Buffer "+t+">"},u.prototype.compare=function(t,e,r,n,i){if(!u.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===r&&(r=t?t.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),e<0||r>t.length||n<0||i>this.length)throw new RangeError("out of range index");if(n>=i&&e>=r)return 0;if(n>=i)return-1;if(e>=r)return 1;if(this===t)return 0;for(var o=(i>>>=0)-(n>>>=0),a=(r>>>=0)-(e>>>=0),s=Math.min(o,a),f=this.slice(n,i),h=t.slice(e,r),c=0;c<s;++c)if(f[c]!==h[c]){o=f[c],a=h[c];break}return o<a?-1:a<o?1:0},u.prototype.includes=function(t,e,r){return-1!==this.indexOf(t,e,r)},u.prototype.indexOf=function(t,e,r){return y(this,t,e,r,!0)},u.prototype.lastIndexOf=function(t,e,r){return y(this,t,e,r,!1)},u.prototype.write=function(t,e,r,n){if(void 0===e)n="utf8",r=this.length,e=0;else if(void 0===r&&"string"==typeof e)n=e,r=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e|=0,isFinite(r)?(r|=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var i=this.length-e;if((void 0===r||r>i)&&(r=i),t.length>0&&(r<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var o=!1;;)switch(n){case"hex":return v(this,t,e,r);case"utf8":case"utf-8":return b(this,t,e,r);case"ascii":return m(this,t,e,r);case"latin1":case"binary":return A(this,t,e,r);case"base64":return E(this,t,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return _(this,t,e,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 P=4096;function R(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(127&t[i]);return n}function B(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]);return n}function S(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var i="",o=e;o<r;++o)i+=L(t[o]);return i}function k(t,e,r){for(var n=t.slice(e,r),i="",o=0;o<n.length;o+=2)i+=String.fromCharCode(n[o]+256*n[o+1]);return i}function T(t,e,r){if(t%1!=0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}function D(t,e,r,n,i,o){if(!u.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<o)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}function x(t,e,r,n){e<0&&(e=65535+e+1);for(var i=0,o=Math.min(t.length-r,2);i<o;++i)t[r+i]=(e&255<<8*(n?i:1-i))>>>8*(n?i:1-i)}function O(t,e,r,n){e<0&&(e=4294967295+e+1);for(var i=0,o=Math.min(t.length-r,4);i<o;++i)t[r+i]=e>>>8*(n?i:3-i)&255}function Y(t,e,r,n,i,o){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function N(t,e,r,n,o){return o||Y(t,0,r,4),i.write(t,e,r,n,23,4),r+4}function C(t,e,r,n,o){return o||Y(t,0,r,8),i.write(t,e,r,n,52,8),r+8}u.prototype.slice=function(t,e){var r,n=this.length;if((t=~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),(e=void 0===e?n:~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),e<t&&(e=t),u.TYPED_ARRAY_SUPPORT)(r=this.subarray(t,e)).__proto__=u.prototype;else{var i=e-t;r=new u(i,void 0);for(var o=0;o<i;++o)r[o]=this[o+t]}return r},u.prototype.readUIntLE=function(t,e,r){t|=0,e|=0,r||T(t,e,this.length);for(var n=this[t],i=1,o=0;++o<e&&(i*=256);)n+=this[t+o]*i;return n},u.prototype.readUIntBE=function(t,e,r){t|=0,e|=0,r||T(t,e,this.length);for(var n=this[t+--e],i=1;e>0&&(i*=256);)n+=this[t+--e]*i;return n},u.prototype.readUInt8=function(t,e){return e||T(t,1,this.length),this[t]},u.prototype.readUInt16LE=function(t,e){return e||T(t,2,this.length),this[t]|this[t+1]<<8},u.prototype.readUInt16BE=function(t,e){return e||T(t,2,this.length),this[t]<<8|this[t+1]},u.prototype.readUInt32LE=function(t,e){return e||T(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},u.prototype.readUInt32BE=function(t,e){return e||T(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},u.prototype.readIntLE=function(t,e,r){t|=0,e|=0,r||T(t,e,this.length);for(var n=this[t],i=1,o=0;++o<e&&(i*=256);)n+=this[t+o]*i;return n>=(i*=128)&&(n-=Math.pow(2,8*e)),n},u.prototype.readIntBE=function(t,e,r){t|=0,e|=0,r||T(t,e,this.length);for(var n=e,i=1,o=this[t+--n];n>0&&(i*=256);)o+=this[t+--n]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*e)),o},u.prototype.readInt8=function(t,e){return e||T(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},u.prototype.readInt16LE=function(t,e){e||T(t,2,this.length);var r=this[t]|this[t+1]<<8;return 32768&r?4294901760|r:r},u.prototype.readInt16BE=function(t,e){e||T(t,2,this.length);var r=this[t+1]|this[t]<<8;return 32768&r?4294901760|r:r},u.prototype.readInt32LE=function(t,e){return e||T(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},u.prototype.readInt32BE=function(t,e){return e||T(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},u.prototype.readFloatLE=function(t,e){return e||T(t,4,this.length),i.read(this,t,!0,23,4)},u.prototype.readFloatBE=function(t,e){return e||T(t,4,this.length),i.read(this,t,!1,23,4)},u.prototype.readDoubleLE=function(t,e){return e||T(t,8,this.length),i.read(this,t,!0,52,8)},u.prototype.readDoubleBE=function(t,e){return e||T(t,8,this.length),i.read(this,t,!1,52,8)},u.prototype.writeUIntLE=function(t,e,r,n){(t=+t,e|=0,r|=0,n)||D(this,t,e,r,Math.pow(2,8*r)-1,0);var i=1,o=0;for(this[e]=255&t;++o<r&&(i*=256);)this[e+o]=t/i&255;return e+r},u.prototype.writeUIntBE=function(t,e,r,n){(t=+t,e|=0,r|=0,n)||D(this,t,e,r,Math.pow(2,8*r)-1,0);var i=r-1,o=1;for(this[e+i]=255&t;--i>=0&&(o*=256);)this[e+i]=t/o&255;return e+r},u.prototype.writeUInt8=function(t,e,r){return t=+t,e|=0,r||D(this,t,e,1,255,0),u.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},u.prototype.writeUInt16LE=function(t,e,r){return t=+t,e|=0,r||D(this,t,e,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):x(this,t,e,!0),e+2},u.prototype.writeUInt16BE=function(t,e,r){return t=+t,e|=0,r||D(this,t,e,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):x(this,t,e,!1),e+2},u.prototype.writeUInt32LE=function(t,e,r){return t=+t,e|=0,r||D(this,t,e,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):O(this,t,e,!0),e+4},u.prototype.writeUInt32BE=function(t,e,r){return t=+t,e|=0,r||D(this,t,e,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):O(this,t,e,!1),e+4},u.prototype.writeIntLE=function(t,e,r,n){if(t=+t,e|=0,!n){var i=Math.pow(2,8*r-1);D(this,t,e,r,i-1,-i)}var o=0,a=1,s=0;for(this[e]=255&t;++o<r&&(a*=256);)t<0&&0===s&&0!==this[e+o-1]&&(s=1),this[e+o]=(t/a>>0)-s&255;return e+r},u.prototype.writeIntBE=function(t,e,r,n){if(t=+t,e|=0,!n){var i=Math.pow(2,8*r-1);D(this,t,e,r,i-1,-i)}var o=r-1,a=1,s=0;for(this[e+o]=255&t;--o>=0&&(a*=256);)t<0&&0===s&&0!==this[e+o+1]&&(s=1),this[e+o]=(t/a>>0)-s&255;return e+r},u.prototype.writeInt8=function(t,e,r){return t=+t,e|=0,r||D(this,t,e,1,127,-128),u.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},u.prototype.writeInt16LE=function(t,e,r){return t=+t,e|=0,r||D(this,t,e,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):x(this,t,e,!0),e+2},u.prototype.writeInt16BE=function(t,e,r){return t=+t,e|=0,r||D(this,t,e,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):x(this,t,e,!1),e+2},u.prototype.writeInt32LE=function(t,e,r){return t=+t,e|=0,r||D(this,t,e,4,2147483647,-2147483648),u.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):O(this,t,e,!0),e+4},u.prototype.writeInt32BE=function(t,e,r){return t=+t,e|=0,r||D(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),u.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):O(this,t,e,!1),e+4},u.prototype.writeFloatLE=function(t,e,r){return N(this,t,e,!0,r)},u.prototype.writeFloatBE=function(t,e,r){return N(this,t,e,!1,r)},u.prototype.writeDoubleLE=function(t,e,r){return C(this,t,e,!0,r)},u.prototype.writeDoubleBE=function(t,e,r){return C(this,t,e,!1,r)},u.prototype.copy=function(t,e,r,n){if(r||(r=0),n||0===n||(n=this.length),e>=t.length&&(e=t.length),e||(e=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===t.length||0===this.length)return 0;if(e<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),t.length-e<n-r&&(n=t.length-e+r);var i,o=n-r;if(this===t&&r<e&&e<n)for(i=o-1;i>=0;--i)t[i+e]=this[i+r];else if(o<1e3||!u.TYPED_ARRAY_SUPPORT)for(i=0;i<o;++i)t[i+e]=this[i+r];else Uint8Array.prototype.set.call(t,this.subarray(r,r+o),e);return o},u.prototype.fill=function(t,e,r,n){if("string"==typeof t){if("string"==typeof e?(n=e,e=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),1===t.length){var i=t.charCodeAt(0);i<256&&(t=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 t&&(t&=255);if(e<0||this.length<e||this.length<r)throw new RangeError("Out of range index");if(r<=e)return this;var o;if(e>>>=0,r=void 0===r?this.length:r>>>0,t||(t=0),"number"==typeof t)for(o=e;o<r;++o)this[o]=t;else{var a=u.isBuffer(t)?t:F(new u(t,n).toString()),s=a.length;for(o=0;o<r-e;++o)this[o+e]=a[o%s]}return this};var M=/[^+\/0-9A-Za-z-_]/g;function L(t){return t<16?"0"+t.toString(16):t.toString(16)}function F(t,e){var r;e=e||1/0;for(var n=t.length,i=null,o=[],a=0;a<n;++a){if((r=t.charCodeAt(a))>55295&&r<57344){if(!i){if(r>56319){(e-=3)>-1&&o.push(239,191,189);continue}if(a+1===n){(e-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(e-=3)>-1&&o.push(239,191,189),i=r;continue}r=65536+(i-55296<<10|r-56320)}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((e-=1)<0)break;o.push(r)}else if(r<2048){if((e-=2)<0)break;o.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=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((e-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return o}function j(t){return n.toByteArray(function(t){if((t=function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}(t).replace(M,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function z(t,e,r,n){for(var i=0;i<n&&!(i+r>=e.length||i>=t.length);++i)e[i+r]=t[i];return i}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"base64-js":1,ieee754:3,isarray:4}],3:[function(t,e,r){r.read=function(t,e,r,n,i){var o,a,s=8*i-n-1,u=(1<<s)-1,f=u>>1,h=-7,c=r?i-1:0,p=r?-1:1,l=t[e+c];for(c+=p,o=l&(1<<-h)-1,l>>=-h,h+=s;h>0;o=256*o+t[e+c],c+=p,h-=8);for(a=o&(1<<-h)-1,o>>=-h,h+=n;h>0;a=256*a+t[e+c],c+=p,h-=8);if(0===o)o=1-f;else{if(o===u)return a?NaN:1/0*(l?-1:1);a+=Math.pow(2,n),o-=f}return(l?-1:1)*a*Math.pow(2,o-n)},r.write=function(t,e,r,n,i,o){var a,s,u,f=8*o-i-1,h=(1<<f)-1,c=h>>1,p=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,l=n?0:o-1,d=n?1:-1,g=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,a=h):(a=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-a))<1&&(a--,u*=2),(e+=a+c>=1?p/u:p*Math.pow(2,1-c))*u>=2&&(a++,u/=2),a+c>=h?(s=0,a=h):a+c>=1?(s=(e*u-1)*Math.pow(2,i),a+=c):(s=e*Math.pow(2,c-1)*Math.pow(2,i),a=0));i>=8;t[r+l]=255&s,l+=d,s/=256,i-=8);for(a=a<<i|s,f+=i;f>0;t[r+l]=255&a,l+=d,a/=256,f-=8);t[r+l-d]|=128*g}},{}],4:[function(t,e,r){var n={}.toString;e.exports=Array.isArray||function(t){return"[object Array]"==n.call(t)}},{}],5:[function(t,e,r){(function(t){"use strict";class e{constructor(){}static get version(){return 1}static validateEntityObject(t){if("object"!=typeof t)return"Entity must be an object.";if(null==t.entity)return'"entity" property is required.';if("string"!=typeof t.entity)return'"entity" property must be a string.';for(var e in t)switch(e){case"entity":var r=t[e];if("api"!=r&&"p2p"!=r&&"peer"!=r)return'"'+r+'" is not a recognized entity type.';break;case"name":if("string"!=typeof t[e])return'"name" property must be a string.';break;case"description":if("string"!=typeof t[e])return'"description" property must be a string.';break;case"transport":switch(t[e]){case"http":case"wss":case"wsst":case"webrtc":break;default:return'"'+t[e]+'" is not a recognized transport.'}break;case"protocol":switch(t[e]){case"http":case"https":case"ws":case"wss":break;default:return'"'+t[e]+'" is not a recognized protocol.'}break;case"host":if("string"!=typeof t[e])return'"host" property must be a string.';break;case"port":if("number"!=typeof t[e])return'"port" must be a number.';break;case"parameters":if("string"!=typeof t[e])return'"parameters" property must be a string.'}return null}get data(){return null==this._data&&(this._data=null),this._data}get bin(){return null==this._bin&&(this._bin=null),this._bin}encode(r="base85",n=null){if(null==this.data)throw new Error("No SDB to encode.");for(var i=t.alloc(0),o=new Array,a=0;a<this.data.length;a++){var s=this.data[a];if("string"!=typeof s.entity)throw new Error('Missing or wrong type "+entity+" property.');var u=this.encodeEntity(s,a,o),f=i.length+u.length;i=t.concat([i,u],f)}var h=t.from([e.version]);return f=i.length+1,i=t.concat([h,i],f),this._bin=i,new Promise((t,e)=>{if(null!=n){var o=n(i);if(o instanceof Promise)o.then(e=>{if("base85"==r||"ascii85"==r)var n=this.bufferToBase85(e);else"base64"==r?n=e.toString(r):"none"==r&&(n=null);t(n)});else{if("base85"==r||"ascii85"==r)var a=this.bufferToBase85(i);else"base64"==r?a=i.toString(r):"none"==r&&(a=null);t(a)}}else{if("base85"==r||"ascii85"==r)a=this.bufferToBase85(i);else"base64"==r?a=i.toString(r):"none"==r&&(a=null);t(a)}})}decode(r,n=null,i=null){if(r instanceof Array)return this._data=r,new Promise((t,e)=>{this.encode("none").then(e=>{null!=i?i instanceof Promise?i(this.bin).then(e=>{t(this.bin)}):(i(this.bin),t(this.bin)):t(this.bin)})});if(r instanceof t)var o=r;else{if("string"!=typeof r)throw new Error("Data type not recognized.");r=r.trim(),o=r.indexOf("<~")>-1||"base85"==n||"ascii85"==n?this.base85ToBuffer(r):t.from(r,"base64")}return new Promise((t,r)=>{if(null!=i){var n=i(o);if(n instanceof Promise)n.then(t=>{var r=t.readUInt8(0);if(r!=e.version)throw new Error("SDB verion "+r+" does not match supported version "+e.version);this._data=new Array;for(var n=new Array,i=0,o=1;o<t.length;)try{var a=this.readEntity(t,o);o=a.nextOffset,this._data.push(this.decodeEntity(a,i,n)),i++}catch(e){o=t.length+1}}),t(!0);else{if((f=o.readUInt8(0))!=e.version)throw new Error("SDB verion "+f+" does not match supported version "+e.version);this._data=new Array;for(var a=new Array,s=0,u=1;u<o.length;)try{u=(h=this.readEntity(o,u)).nextOffset,this._data.push(this.decodeEntity(h,s,a)),s++}catch(t){u=o.length+1}t(!0)}}else{var f;if((f=o.readUInt8(0))!=e.version)throw new Error("SDB verion "+f+" does not match supported version "+e.version);this._data=new Array;for(a=new Array,s=0,u=1;u<o.length;)try{var h;u=(h=this.readEntity(o,u)).nextOffset,this._data.push(this.decodeEntity(h,s,a)),s++}catch(t){u=o.length+1}t(!0)}})}bufferToBase85(e,r=!0){var n=new Array;r&&(n.push(60),n.push(126));for(var i=0;i<e.length;i+=4){let r=t.alloc(4),s=4;for(var o=0;o<4;o++)i+o<e.length?r[o]=e[i+o]:(r[o]=0,s--);var a=this.getB85EncChunk(r,s);for(o=0;o<a.length;o++)n.push(a[o])}return r&&(n.push(126),n.push(62)),n=t.from(n).toString("ascii")}getB85EncChunk(e){var r=(e[0]<<24|e[1]<<16|e[2]<<8|e[3])>>>0;if(0===r){var n=t.alloc(1);n[0]=122}else{n=t.alloc(5);for(var i=4;i>=0;i--)i<=4&&(n[i]=r%85+33),r/=85}return n}uint32ToArray(e,r=4){var n=[24,16,8,0];let i=t.alloc(r);for(var o=0;o<r;o++)i[o]=e>>n[o]&255;return i}pushUint32Array(t,e,r){for(var n=this.uint32ToArray(t,e-1),i=0;i<n.length;i++)r.push(n[i])}base85ToBuffer(e){var r=[Math.pow(85,4),Math.pow(85,3),Math.pow(85,2),85,1],n=new Array,o=!1,a=0,s=0,u=0;if((e.startsWith("<~")&&e.length)>2)u=2;do{if(0!==e.charAt(u).trim().length){var f=e.charCodeAt(u);switch(f){case 122:if(0!=s)throw new Error("Unexpected 'z' character at position "+i);for(var h=0;h<4;h++)n.push(0);break;case 126:var c="";for(h=u+1;h<e.length&&0==c.trim().length;)c=e.charAt(h++);if(">"!=c)throw new Error("Broken EOD at position "+j);s&&(a+=r[s-1],this.pushUint32Array(a,s,n),a=s=0),o=!0;break;default:if(f<33||f>117)throw new Error("Unexpected character with code "+f+" at position "+u);a+=(f-33)*r[s++],s>=5&&(this.pushUint32Array(a,s,n),a=s=0)}}}while(u++<e.length&&0==o);return t.from(n)}readEntity(t,e){var r=t.readUInt8(e+0),n=t.readUInt8(e+1)<<24;n|=t.readUInt8(e+2)<<16,n|=t.readUInt8(e+3)<<8,n|=t.readUInt8(e+4);var i=t.slice(e+5,e+5+n),o=new Object;return o.offset=e,o.nextOffset=e+n+5,o.headerSize=5,o.dataSize=n,o.totalSize=n+5,o.type=r,o.data=i,o}decodeEntity(t,e,r){var n=new Object;switch(t.type){case 0:n.entity="api";break;case 1:n.entity="p2p";break;case 2:n.entity="peer"}for(var i=0,o=this.readEntityData(t.data,i);null!=o;){i=o.offset;var a=this.getEntPropHistory(o.name,o.value,r).entityIndex;if(a>-1)for(var s=0;s<r.length;s++){var u=r[s];u.propName==o.name&&u.entityIndex==a&&(o.value=u.propValue)}n[o.name]=o.value,this.addEntPropHistory(o.name,o.value,e,r),o=this.readEntityData(t.data,i)}return n}readEntityData(t,e){if(0==t.length)return null;if(e>=t.length)return null;var r=new Object,n=1;switch(t.readUInt8(e)){case 0:var i=t.readUInt8(e+1)<<8,o=(n+=2)+e,a=(i|=t.readUInt8(e+2))+n+e,s=t.slice(o,a);r.name="name",r.value=s.toString("utf8"),r.offset=e+s.length+n;break;case 1:i=t.readUInt8(e+1)<<8,o=(n+=2)+e,a=(i|=t.readUInt8(e+2))+n+e,s=t.slice(o,a),r.name="description",r.value=s.toString("utf8"),r.offset=e+i+n;break;case 2:var u=t.readUInt8(e+1);switch(n+=1,r.name="transport",u){case 0:r.value="http";break;case 1:r.value="wss";break;case 2:r.value="wsst";break;case 3:r.value="webrtc";break;default:r.value=""}r.offset=e+n;break;case 3:switch(r.name="protocol",n+=1,u=t.readUInt8(e+1)){case 0:r.value="http";break;case 1:r.value="htps";break;case 2:r.value="ws";break;case 3:r.value="wss";break;default:r.value=""}r.offset=e+n;break;case 4:switch(r.name="host",n+=1,u=t.readUInt8(e+1)){case 0:var f=String(t.readUInt8(e+2))+".";f+=String(t.readUInt8(e+3))+".",f+=String(t.readUInt8(e+4))+".",f+=String(t.readUInt8(e+5)),n+=4,r.value=f,r.offset=e+n;break;case 1:r.value="";break;case 2:i=t.readUInt8(e+2)<<8,o=(n+=2)+e,a=(i|=t.readUInt8(e+3))+n+e,s=t.slice(o,a),r.value=s.toString("utf8"),r.offset=e+i+n}break;case 5:r.name="port",s=t.readUInt8(e+1)<<8,s|=t.readUInt8(e+2),n+=2,r.value=s,r.offset=e+n;break;case 6:r.name="parameters",i=t.readUInt8(e+1)<<16,i|=t.readUInt8(e+2)<<8,o=(n+=3)+e,a=(i|=t.readUInt8(e+3))+n+e,s=t.slice(o,a),r.value=s.toString("utf8"),r.offset=e+i+n;break;case 7:r.name="name";t.readUInt8(e+1);t.readUInt8(e+2),n+=2,r.value=null,r.offset=e+n;break;case 8:r.name="description";t.readUInt8(e+1);t.readUInt8(e+2),n+=2,r.value=null,r.offset=e+n;break;case 9:r.name="host";t.readUInt8(e+1);t.readUInt8(e+2),n+=2,r.value=null,r.offset=e+n;break;case 10:r.name="port";t.readUInt8(e+1);t.readUInt8(e+2),n+=2,r.value=null,r.offset=e+n;break;case 11:r.name="parameters";t.readUInt8(e+1);t.readUInt8(e+2),n+=2,r.value=null,r.offset=e+n}return r}encodeEntity(e,r,n){var i=t.alloc(0),o=t.alloc(0);for(var a in e){var s=e[a];switch(a){case"entity":o=this.encodeSDBEntityData(a,s,r,n);break;case"url":var u=new URL(s),f=u.protocol;if(""==(f=f.split(":")[0]))throw new Error('Entity URL "'+s+'" uses an invalid protocol');var h=this.encodeSDBEntityData("protocol",f,r,n),c=i.length+h.length;i=t.concat([i,h],c);var p=u.hostname;p=p.split("[").join("").split("]").join(""),h=this.encodeSDBEntityData("host",p,r,n),c=i.length+h.length,i=t.concat([i,h],c);var l=Number(u.port);""!=l&&(h=this.encodeSDBEntityData("port",l,r,n),c=i.length+h.length,i=t.concat([i,h],c));var d=u.search;""!=d&&(h=this.encodeSDBEntityData("parameters",d,r,n),c=i.length+h.length,i=t.concat([i,h],c));break;default:h=this.encodeSDBEntityData(a,s,r,n);c=i.length+h.length,i=t.concat([i,h],c)}}var g=new Array;g.push((4278190080&i.length)>>24),g.push((16711680&i.length)>>16),g.push((65280&i.length)>>8),g.push(255&i.length);var y=t.from(g);return c=o.length+y.length,c=(o=t.concat([o,y],c)).length+i.length,i=t.concat([o,i],c)}encodeSDBEntityData(e,r,n,i){var o=this.getEntPropHistory(e,r,i);e=o.propName,r=o.propValue;var a=new Array;switch(e){case"entity":switch(r){case"api":a.push(0);break;case"p2p":a.push(1);break;case"peer":a.push(2)}break;case"name":a.push(0),(f=r.length)>65535&&(r=r.substring(0,65535)),a.push((65280&f)>>8),a.push(255&f);for(var s=0;s<r.length;s++)a.push(r.charCodeAt(s));break;case"description":for(a.push(1),(f=r.length)>65535&&(r=r.substring(0,65535)),a.push((65280&f)>>8),a.push(255&f),s=0;s<r.length;s++)a.push(r.charCodeAt(s));break;case"transport":switch(a.push(2),r){case"http":a.push(0);break;case"wss":a.push(1);break;case"wsst":a.push(2);break;case"webrtc":a.push(3)}break;case"protocol":switch(a.push(3),r){case"http":a.push(0);break;case"https":a.push(1);break;case"ws":a.push(2);break;case"wss":a.push(3)}break;case"host":if(a.push(4),this.isIPv4(r)){a.push(0);var u=r.split(".");for(s=0;s<u.length;s++)a.push(parseInt(u[s]))}else if(this.isIPv6(r));else{for(a.push(2),(f=r.length)>65535&&(r=r.substring(0,65535)),a.push((65280&f)>>8),a.push(255&f),s=0;s<r.length;s++)a.push(r.charCodeAt(s))}break;case"port":a.push(5),a.push((65280&r)>>8),a.push(255&r);break;case"parameters":var f;for(a.push(6),(f=r.length)>16777215&&(r=r.substring(0,16777215)),a.push((16711680&f)>>16),a.push((65280&f)>>8),a.push(255&f),s=0;s<r.length;s++)a.push(r.charCodeAt(s));break;case"_nameref":a.push(7),a.push((65280&r)>>8),a.push(255&r);break;case"_descref":a.push(8),a.push((65280&r)>>8),a.push(255&r);break;case"_hostref":a.push(9),a.push((65280&r)>>8),a.push(255&r);break;case"_portref":a.push(10),a.push((65280&r)>>8),a.push(255&r);break;case"_paramref":a.push(11),a.push((65280&r)>>8),a.push(255&r)}return this.addEntPropHistory(e,r,n,i),t.from(a)}addEntPropHistory(t,e,r,n){for(var i=0;i<n.length;i++){var o=n[i];if(o.propName==t&&o.propValue==e)return!1}return(o=new Object).propName=t,o.propValue=e,o.entityIndex=r,n.push(o),!0}getEntPropHistory(t,e,r){for(var n=new Object,i=0;i<r.length;i++){var o=r[i];if(o.propName==t&&(o.propValue==e||null==e))switch(o.propName){case"name":return n.propName="_nameref",n.oldPropName=o.propName,n.propValue=i,n.entityIndex=o.entityIndex,n;case"description":return n.propName="_descref",n.oldPropName=o.propName,n.propValue=i,n.entityIndex=o.entityIndex,n;case"host":return n.propName="_hostref",n.oldPropName=o.propName,n.propValue=i,n.entityIndex=o.entityIndex,n;case"port":return n.propName="_portref",n.oldPropName=o.propName,n.propValue=i,n.entityIndex=o.entityIndex,n;case"parameters":return n.propName="_paramref",n.oldPropName=o.propName,n.propValue=i,n.entityIndex=o.entityIndex,n}}return n.propName=t,n.oldPropName=null,n.propValue=e,n.entityIndex=-1,n}isIPv4(t){return!!/^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/.test(t)}isIPv6(t){return!!/^\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(%.+)?\s*$/.test(t)}}window.SDB=e}).call(this,t("buffer").Buffer)},{buffer:2}]},{},[5]);