UNPKG

randomart-js

Version:

Generates a randomart image from a buffer or hexadecimal string

2 lines 116 kB
!function(r){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=r();else if("function"==typeof define&&define.amd)define([],r);else{var n;n="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,n.randomart=r()}}(function(){return function r(n,t,e){function i(u,a){if(!t[u]){if(!n[u]){var o="function"==typeof require&&require;if(!a&&o)return o(u,!0);if(c)return c(u,!0);var s=new Error("Cannot find module '"+u+"'");throw s.code="MODULE_NOT_FOUND",s}var l=t[u]={exports:{}};n[u][0].call(l.exports,function(r){var t=n[u][1][r];return i(t?t:r)},l,l.exports,r,n,t,e)}return t[u].exports}for(var c="function"==typeof require&&require,u=0;u<e.length;u++)i(e[u]);return i}({1:[function(r,n,t){"use strict";function e(r){var n=r.length;if(n%4>0)throw new Error("Invalid string. Length must be a multiple of 4");return"="===r[n-2]?2:"="===r[n-1]?1:0}function i(r){return 3*r.length/4-e(r)}function c(r){var n,t,i,c,u,a,o=r.length;u=e(r),a=new f(3*o/4-u),i=u>0?o-4:o;var s=0;for(n=0,t=0;n<i;n+=4,t+=3)c=l[r.charCodeAt(n)]<<18|l[r.charCodeAt(n+1)]<<12|l[r.charCodeAt(n+2)]<<6|l[r.charCodeAt(n+3)],a[s++]=c>>16&255,a[s++]=c>>8&255,a[s++]=255&c;return 2===u?(c=l[r.charCodeAt(n)]<<2|l[r.charCodeAt(n+1)]>>4,a[s++]=255&c):1===u&&(c=l[r.charCodeAt(n)]<<10|l[r.charCodeAt(n+1)]<<4|l[r.charCodeAt(n+2)]>>2,a[s++]=c>>8&255,a[s++]=255&c),a}function u(r){return s[r>>18&63]+s[r>>12&63]+s[r>>6&63]+s[63&r]}function a(r,n,t){for(var e,i=[],c=n;c<t;c+=3)e=(r[c]<<16)+(r[c+1]<<8)+r[c+2],i.push(u(e));return i.join("")}function o(r){for(var n,t=r.length,e=t%3,i="",c=[],u=16383,o=0,l=t-e;o<l;o+=u)c.push(a(r,o,o+u>l?l:o+u));return 1===e?(n=r[t-1],i+=s[n>>2],i+=s[n<<4&63],i+="=="):2===e&&(n=(r[t-2]<<8)+r[t-1],i+=s[n>>10],i+=s[n>>4&63],i+=s[n<<2&63],i+="="),c.push(i),c.join("")}t.byteLength=i,t.toByteArray=c,t.fromByteArray=o;for(var s=[],l=[],f="undefined"!=typeof Uint8Array?Uint8Array:Array,p="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",h=0,y=p.length;h<y;++h)s[h]=p[h],l[p.charCodeAt(h)]=h;l["-".charCodeAt(0)]=62,l["_".charCodeAt(0)]=63},{}],2:[function(r,n,t){(function(n){"use strict";function e(){try{var r=new Uint8Array(1);return r.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===r.foo()&&"function"==typeof r.subarray&&0===r.subarray(1,1).byteLength}catch(r){return!1}}function i(){return u.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function c(r,n){if(i()<n)throw new RangeError("Invalid typed array length");return u.TYPED_ARRAY_SUPPORT?(r=new Uint8Array(n),r.__proto__=u.prototype):(null===r&&(r=new u(n)),r.length=n),r}function u(r,n,t){if(!(u.TYPED_ARRAY_SUPPORT||this instanceof u))return new u(r,n,t);if("number"==typeof r){if("string"==typeof n)throw new Error("If encoding is specified then the first argument must be a string");return l(this,r)}return a(this,r,n,t)}function a(r,n,t,e){if("number"==typeof n)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&n instanceof ArrayBuffer?h(r,n,t,e):"string"==typeof n?f(r,n,t):y(r,n)}function o(r){if("number"!=typeof r)throw new TypeError('"size" argument must be a number');if(r<0)throw new RangeError('"size" argument must not be negative')}function s(r,n,t,e){return o(n),n<=0?c(r,n):void 0!==t?"string"==typeof e?c(r,n).fill(t,e):c(r,n).fill(t):c(r,n)}function l(r,n){if(o(n),r=c(r,n<0?0:0|_(n)),!u.TYPED_ARRAY_SUPPORT)for(var t=0;t<n;++t)r[t]=0;return r}function f(r,n,t){if("string"==typeof t&&""!==t||(t="utf8"),!u.isEncoding(t))throw new TypeError('"encoding" must be a valid string encoding');var e=0|v(n,t);r=c(r,e);var i=r.write(n,t);return i!==e&&(r=r.slice(0,i)),r}function p(r,n){var t=n.length<0?0:0|_(n.length);r=c(r,t);for(var e=0;e<t;e+=1)r[e]=255&n[e];return r}function h(r,n,t,e){if(n.byteLength,t<0||n.byteLength<t)throw new RangeError("'offset' is out of bounds");if(n.byteLength<t+(e||0))throw new RangeError("'length' is out of bounds");return n=void 0===t&&void 0===e?new Uint8Array(n):void 0===e?new Uint8Array(n,t):new Uint8Array(n,t,e),u.TYPED_ARRAY_SUPPORT?(r=n,r.__proto__=u.prototype):r=p(r,n),r}function y(r,n){if(u.isBuffer(n)){var t=0|_(n.length);return r=c(r,t),0===r.length?r:(n.copy(r,0,0,t),r)}if(n){if("undefined"!=typeof ArrayBuffer&&n.buffer instanceof ArrayBuffer||"length"in n)return"number"!=typeof n.length||H(n.length)?c(r,0):p(r,n);if("Buffer"===n.type&&Q(n.data))return p(r,n.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function _(r){if(r>=i())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+i().toString(16)+" bytes");return 0|r}function d(r){return+r!=r&&(r=0),u.alloc(+r)}function v(r,n){if(u.isBuffer(r))return r.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(r)||r instanceof ArrayBuffer))return r.byteLength;"string"!=typeof r&&(r=""+r);var t=r.length;if(0===t)return 0;for(var e=!1;;)switch(n){case"ascii":case"latin1":case"binary":return t;case"utf8":case"utf-8":case void 0:return K(r).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*t;case"hex":return t>>>1;case"base64":return Z(r).length;default:if(e)return K(r).length;n=(""+n).toLowerCase(),e=!0}}function g(r,n,t){var e=!1;if((void 0===n||n<0)&&(n=0),n>this.length)return"";if((void 0===t||t>this.length)&&(t=this.length),t<=0)return"";if(t>>>=0,n>>>=0,t<=n)return"";for(r||(r="utf8");;)switch(r){case"hex":return N(this,n,t);case"utf8":case"utf-8":return O(this,n,t);case"ascii":return j(this,n,t);case"latin1":case"binary":return T(this,n,t);case"base64":return P(this,n,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return I(this,n,t);default:if(e)throw new TypeError("Unknown encoding: "+r);r=(r+"").toLowerCase(),e=!0}}function x(r,n,t){var e=r[n];r[n]=r[t],r[t]=e}function m(r,n,t,e,i){if(0===r.length)return-1;if("string"==typeof t?(e=t,t=0):t>2147483647?t=2147483647:t<-2147483648&&(t=-2147483648),t=+t,isNaN(t)&&(t=i?0:r.length-1),t<0&&(t=r.length+t),t>=r.length){if(i)return-1;t=r.length-1}else if(t<0){if(!i)return-1;t=0}if("string"==typeof n&&(n=u.from(n,e)),u.isBuffer(n))return 0===n.length?-1:w(r,n,t,e,i);if("number"==typeof n)return n=255&n,u.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(r,n,t):Uint8Array.prototype.lastIndexOf.call(r,n,t):w(r,[n],t,e,i);throw new TypeError("val must be string, number or Buffer")}function w(r,n,t,e,i){function c(r,n){return 1===u?r[n]:r.readUInt16BE(n*u)}var u=1,a=r.length,o=n.length;if(void 0!==e&&(e=String(e).toLowerCase(),"ucs2"===e||"ucs-2"===e||"utf16le"===e||"utf-16le"===e)){if(r.length<2||n.length<2)return-1;u=2,a/=2,o/=2,t/=2}var s;if(i){var l=-1;for(s=t;s<a;s++)if(c(r,s)===c(n,l===-1?0:s-l)){if(l===-1&&(l=s),s-l+1===o)return l*u}else l!==-1&&(s-=s-l),l=-1}else for(t+o>a&&(t=a-o),s=t;s>=0;s--){for(var f=!0,p=0;p<o;p++)if(c(r,s+p)!==c(n,p)){f=!1;break}if(f)return s}return-1}function b(r,n,t,e){t=Number(t)||0;var i=r.length-t;e?(e=Number(e),e>i&&(e=i)):e=i;var c=n.length;if(c%2!==0)throw new TypeError("Invalid hex string");e>c/2&&(e=c/2);for(var u=0;u<e;++u){var a=parseInt(n.substr(2*u,2),16);if(isNaN(a))return u;r[t+u]=a}return u}function A(r,n,t,e){return $(K(n,r.length-t),r,t,e)}function E(r,n,t,e){return $(V(n),r,t,e)}function B(r,n,t,e){return E(r,n,t,e)}function S(r,n,t,e){return $(Z(n),r,t,e)}function k(r,n,t,e){return $(X(n,r.length-t),r,t,e)}function P(r,n,t){return 0===n&&t===r.length?J.fromByteArray(r):J.fromByteArray(r.slice(n,t))}function O(r,n,t){t=Math.min(r.length,t);for(var e=[],i=n;i<t;){var c=r[i],u=null,a=c>239?4:c>223?3:c>191?2:1;if(i+a<=t){var o,s,l,f;switch(a){case 1:c<128&&(u=c);break;case 2:o=r[i+1],128===(192&o)&&(f=(31&c)<<6|63&o,f>127&&(u=f));break;case 3:o=r[i+1],s=r[i+2],128===(192&o)&&128===(192&s)&&(f=(15&c)<<12|(63&o)<<6|63&s,f>2047&&(f<55296||f>57343)&&(u=f));break;case 4:o=r[i+1],s=r[i+2],l=r[i+3],128===(192&o)&&128===(192&s)&&128===(192&l)&&(f=(15&c)<<18|(63&o)<<12|(63&s)<<6|63&l,f>65535&&f<1114112&&(u=f))}}null===u?(u=65533,a=1):u>65535&&(u-=65536,e.push(u>>>10&1023|55296),u=56320|1023&u),e.push(u),i+=a}return R(e)}function R(r){var n=r.length;if(n<=rr)return String.fromCharCode.apply(String,r);for(var t="",e=0;e<n;)t+=String.fromCharCode.apply(String,r.slice(e,e+=rr));return t}function j(r,n,t){var e="";t=Math.min(r.length,t);for(var i=n;i<t;++i)e+=String.fromCharCode(127&r[i]);return e}function T(r,n,t){var e="";t=Math.min(r.length,t);for(var i=n;i<t;++i)e+=String.fromCharCode(r[i]);return e}function N(r,n,t){var e=r.length;(!n||n<0)&&(n=0),(!t||t<0||t>e)&&(t=e);for(var i="",c=n;c<t;++c)i+=z(r[c]);return i}function I(r,n,t){for(var e=r.slice(n,t),i="",c=0;c<e.length;c+=2)i+=String.fromCharCode(e[c]+256*e[c+1]);return i}function q(r,n,t){if(r%1!==0||r<0)throw new RangeError("offset is not uint");if(r+n>t)throw new RangeError("Trying to access beyond buffer length")}function W(r,n,t,e,i,c){if(!u.isBuffer(r))throw new TypeError('"buffer" argument must be a Buffer instance');if(n>i||n<c)throw new RangeError('"value" argument is out of bounds');if(t+e>r.length)throw new RangeError("Index out of range")}function L(r,n,t,e){n<0&&(n=65535+n+1);for(var i=0,c=Math.min(r.length-t,2);i<c;++i)r[t+i]=(n&255<<8*(e?i:1-i))>>>8*(e?i:1-i)}function U(r,n,t,e){n<0&&(n=4294967295+n+1);for(var i=0,c=Math.min(r.length-t,4);i<c;++i)r[t+i]=n>>>8*(e?i:3-i)&255}function C(r,n,t,e,i,c){if(t+e>r.length)throw new RangeError("Index out of range");if(t<0)throw new RangeError("Index out of range")}function M(r,n,t,e,i){return i||C(r,n,t,4,3.4028234663852886e38,-3.4028234663852886e38),G.write(r,n,t,e,23,4),t+4}function F(r,n,t,e,i){return i||C(r,n,t,8,1.7976931348623157e308,-1.7976931348623157e308),G.write(r,n,t,e,52,8),t+8}function Y(r){if(r=D(r).replace(nr,""),r.length<2)return"";for(;r.length%4!==0;)r+="=";return r}function D(r){return r.trim?r.trim():r.replace(/^\s+|\s+$/g,"")}function z(r){return r<16?"0"+r.toString(16):r.toString(16)}function K(r,n){n=n||1/0;for(var t,e=r.length,i=null,c=[],u=0;u<e;++u){if(t=r.charCodeAt(u),t>55295&&t<57344){if(!i){if(t>56319){(n-=3)>-1&&c.push(239,191,189);continue}if(u+1===e){(n-=3)>-1&&c.push(239,191,189);continue}i=t;continue}if(t<56320){(n-=3)>-1&&c.push(239,191,189),i=t;continue}t=(i-55296<<10|t-56320)+65536}else i&&(n-=3)>-1&&c.push(239,191,189);if(i=null,t<128){if((n-=1)<0)break;c.push(t)}else if(t<2048){if((n-=2)<0)break;c.push(t>>6|192,63&t|128)}else if(t<65536){if((n-=3)<0)break;c.push(t>>12|224,t>>6&63|128,63&t|128)}else{if(!(t<1114112))throw new Error("Invalid code point");if((n-=4)<0)break;c.push(t>>18|240,t>>12&63|128,t>>6&63|128,63&t|128)}}return c}function V(r){for(var n=[],t=0;t<r.length;++t)n.push(255&r.charCodeAt(t));return n}function X(r,n){for(var t,e,i,c=[],u=0;u<r.length&&!((n-=2)<0);++u)t=r.charCodeAt(u),e=t>>8,i=t%256,c.push(i),c.push(e);return c}function Z(r){return J.toByteArray(Y(r))}function $(r,n,t,e){for(var i=0;i<e&&!(i+t>=n.length||i>=r.length);++i)n[i+t]=r[i];return i}function H(r){return r!==r}var J=r("base64-js"),G=r("ieee754"),Q=r("isarray");t.Buffer=u,t.SlowBuffer=d,t.INSPECT_MAX_BYTES=50,u.TYPED_ARRAY_SUPPORT=void 0!==n.TYPED_ARRAY_SUPPORT?n.TYPED_ARRAY_SUPPORT:e(),t.kMaxLength=i(),u.poolSize=8192,u._augment=function(r){return r.__proto__=u.prototype,r},u.from=function(r,n,t){return a(null,r,n,t)},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(r,n,t){return s(null,r,n,t)},u.allocUnsafe=function(r){return l(null,r)},u.allocUnsafeSlow=function(r){return l(null,r)},u.isBuffer=function(r){return!(null==r||!r._isBuffer)},u.compare=function(r,n){if(!u.isBuffer(r)||!u.isBuffer(n))throw new TypeError("Arguments must be Buffers");if(r===n)return 0;for(var t=r.length,e=n.length,i=0,c=Math.min(t,e);i<c;++i)if(r[i]!==n[i]){t=r[i],e=n[i];break}return t<e?-1:e<t?1:0},u.isEncoding=function(r){switch(String(r).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(r,n){if(!Q(r))throw new TypeError('"list" argument must be an Array of Buffers');if(0===r.length)return u.alloc(0);var t;if(void 0===n)for(n=0,t=0;t<r.length;++t)n+=r[t].length;var e=u.allocUnsafe(n),i=0;for(t=0;t<r.length;++t){var c=r[t];if(!u.isBuffer(c))throw new TypeError('"list" argument must be an Array of Buffers');c.copy(e,i),i+=c.length}return e},u.byteLength=v,u.prototype._isBuffer=!0,u.prototype.swap16=function(){var r=this.length;if(r%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var n=0;n<r;n+=2)x(this,n,n+1);return this},u.prototype.swap32=function(){var r=this.length;if(r%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var n=0;n<r;n+=4)x(this,n,n+3),x(this,n+1,n+2);return this},u.prototype.swap64=function(){var r=this.length;if(r%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var n=0;n<r;n+=8)x(this,n,n+7),x(this,n+1,n+6),x(this,n+2,n+5),x(this,n+3,n+4);return this},u.prototype.toString=function(){var r=0|this.length;return 0===r?"":0===arguments.length?O(this,0,r):g.apply(this,arguments)},u.prototype.equals=function(r){if(!u.isBuffer(r))throw new TypeError("Argument must be a Buffer");return this===r||0===u.compare(this,r)},u.prototype.inspect=function(){var r="",n=t.INSPECT_MAX_BYTES;return this.length>0&&(r=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(r+=" ... ")),"<Buffer "+r+">"},u.prototype.compare=function(r,n,t,e,i){if(!u.isBuffer(r))throw new TypeError("Argument must be a Buffer");if(void 0===n&&(n=0),void 0===t&&(t=r?r.length:0),void 0===e&&(e=0),void 0===i&&(i=this.length),n<0||t>r.length||e<0||i>this.length)throw new RangeError("out of range index");if(e>=i&&n>=t)return 0;if(e>=i)return-1;if(n>=t)return 1;if(n>>>=0,t>>>=0,e>>>=0,i>>>=0,this===r)return 0;for(var c=i-e,a=t-n,o=Math.min(c,a),s=this.slice(e,i),l=r.slice(n,t),f=0;f<o;++f)if(s[f]!==l[f]){c=s[f],a=l[f];break}return c<a?-1:a<c?1:0},u.prototype.includes=function(r,n,t){return this.indexOf(r,n,t)!==-1},u.prototype.indexOf=function(r,n,t){return m(this,r,n,t,!0)},u.prototype.lastIndexOf=function(r,n,t){return m(this,r,n,t,!1)},u.prototype.write=function(r,n,t,e){if(void 0===n)e="utf8",t=this.length,n=0;else if(void 0===t&&"string"==typeof n)e=n,t=this.length,n=0;else{if(!isFinite(n))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");n=0|n,isFinite(t)?(t=0|t,void 0===e&&(e="utf8")):(e=t,t=void 0)}var i=this.length-n;if((void 0===t||t>i)&&(t=i),r.length>0&&(t<0||n<0)||n>this.length)throw new RangeError("Attempt to write outside buffer bounds");e||(e="utf8");for(var c=!1;;)switch(e){case"hex":return b(this,r,n,t);case"utf8":case"utf-8":return A(this,r,n,t);case"ascii":return E(this,r,n,t);case"latin1":case"binary":return B(this,r,n,t);case"base64":return S(this,r,n,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return k(this,r,n,t);default:if(c)throw new TypeError("Unknown encoding: "+e);e=(""+e).toLowerCase(),c=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var rr=4096;u.prototype.slice=function(r,n){var t=this.length;r=~~r,n=void 0===n?t:~~n,r<0?(r+=t,r<0&&(r=0)):r>t&&(r=t),n<0?(n+=t,n<0&&(n=0)):n>t&&(n=t),n<r&&(n=r);var e;if(u.TYPED_ARRAY_SUPPORT)e=this.subarray(r,n),e.__proto__=u.prototype;else{var i=n-r;e=new u(i,(void 0));for(var c=0;c<i;++c)e[c]=this[c+r]}return e},u.prototype.readUIntLE=function(r,n,t){r=0|r,n=0|n,t||q(r,n,this.length);for(var e=this[r],i=1,c=0;++c<n&&(i*=256);)e+=this[r+c]*i;return e},u.prototype.readUIntBE=function(r,n,t){r=0|r,n=0|n,t||q(r,n,this.length);for(var e=this[r+--n],i=1;n>0&&(i*=256);)e+=this[r+--n]*i;return e},u.prototype.readUInt8=function(r,n){return n||q(r,1,this.length),this[r]},u.prototype.readUInt16LE=function(r,n){return n||q(r,2,this.length),this[r]|this[r+1]<<8},u.prototype.readUInt16BE=function(r,n){return n||q(r,2,this.length),this[r]<<8|this[r+1]},u.prototype.readUInt32LE=function(r,n){return n||q(r,4,this.length),(this[r]|this[r+1]<<8|this[r+2]<<16)+16777216*this[r+3]},u.prototype.readUInt32BE=function(r,n){return n||q(r,4,this.length),16777216*this[r]+(this[r+1]<<16|this[r+2]<<8|this[r+3])},u.prototype.readIntLE=function(r,n,t){r=0|r,n=0|n,t||q(r,n,this.length);for(var e=this[r],i=1,c=0;++c<n&&(i*=256);)e+=this[r+c]*i;return i*=128,e>=i&&(e-=Math.pow(2,8*n)),e},u.prototype.readIntBE=function(r,n,t){r=0|r,n=0|n,t||q(r,n,this.length);for(var e=n,i=1,c=this[r+--e];e>0&&(i*=256);)c+=this[r+--e]*i;return i*=128,c>=i&&(c-=Math.pow(2,8*n)),c},u.prototype.readInt8=function(r,n){return n||q(r,1,this.length),128&this[r]?(255-this[r]+1)*-1:this[r]},u.prototype.readInt16LE=function(r,n){n||q(r,2,this.length);var t=this[r]|this[r+1]<<8;return 32768&t?4294901760|t:t},u.prototype.readInt16BE=function(r,n){n||q(r,2,this.length);var t=this[r+1]|this[r]<<8;return 32768&t?4294901760|t:t},u.prototype.readInt32LE=function(r,n){return n||q(r,4,this.length),this[r]|this[r+1]<<8|this[r+2]<<16|this[r+3]<<24},u.prototype.readInt32BE=function(r,n){return n||q(r,4,this.length),this[r]<<24|this[r+1]<<16|this[r+2]<<8|this[r+3]},u.prototype.readFloatLE=function(r,n){return n||q(r,4,this.length),G.read(this,r,!0,23,4)},u.prototype.readFloatBE=function(r,n){return n||q(r,4,this.length),G.read(this,r,!1,23,4)},u.prototype.readDoubleLE=function(r,n){return n||q(r,8,this.length),G.read(this,r,!0,52,8)},u.prototype.readDoubleBE=function(r,n){return n||q(r,8,this.length),G.read(this,r,!1,52,8)},u.prototype.writeUIntLE=function(r,n,t,e){if(r=+r,n=0|n,t=0|t,!e){var i=Math.pow(2,8*t)-1;W(this,r,n,t,i,0)}var c=1,u=0;for(this[n]=255&r;++u<t&&(c*=256);)this[n+u]=r/c&255;return n+t},u.prototype.writeUIntBE=function(r,n,t,e){if(r=+r,n=0|n,t=0|t,!e){var i=Math.pow(2,8*t)-1;W(this,r,n,t,i,0)}var c=t-1,u=1;for(this[n+c]=255&r;--c>=0&&(u*=256);)this[n+c]=r/u&255;return n+t},u.prototype.writeUInt8=function(r,n,t){return r=+r,n=0|n,t||W(this,r,n,1,255,0),u.TYPED_ARRAY_SUPPORT||(r=Math.floor(r)),this[n]=255&r,n+1},u.prototype.writeUInt16LE=function(r,n,t){return r=+r,n=0|n,t||W(this,r,n,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[n]=255&r,this[n+1]=r>>>8):L(this,r,n,!0),n+2},u.prototype.writeUInt16BE=function(r,n,t){return r=+r,n=0|n,t||W(this,r,n,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[n]=r>>>8,this[n+1]=255&r):L(this,r,n,!1),n+2},u.prototype.writeUInt32LE=function(r,n,t){return r=+r,n=0|n,t||W(this,r,n,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[n+3]=r>>>24,this[n+2]=r>>>16,this[n+1]=r>>>8,this[n]=255&r):U(this,r,n,!0),n+4},u.prototype.writeUInt32BE=function(r,n,t){return r=+r,n=0|n,t||W(this,r,n,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[n]=r>>>24,this[n+1]=r>>>16,this[n+2]=r>>>8,this[n+3]=255&r):U(this,r,n,!1),n+4},u.prototype.writeIntLE=function(r,n,t,e){if(r=+r,n=0|n,!e){var i=Math.pow(2,8*t-1);W(this,r,n,t,i-1,-i)}var c=0,u=1,a=0;for(this[n]=255&r;++c<t&&(u*=256);)r<0&&0===a&&0!==this[n+c-1]&&(a=1),this[n+c]=(r/u>>0)-a&255;return n+t},u.prototype.writeIntBE=function(r,n,t,e){if(r=+r,n=0|n,!e){var i=Math.pow(2,8*t-1);W(this,r,n,t,i-1,-i)}var c=t-1,u=1,a=0;for(this[n+c]=255&r;--c>=0&&(u*=256);)r<0&&0===a&&0!==this[n+c+1]&&(a=1),this[n+c]=(r/u>>0)-a&255;return n+t},u.prototype.writeInt8=function(r,n,t){return r=+r,n=0|n,t||W(this,r,n,1,127,-128),u.TYPED_ARRAY_SUPPORT||(r=Math.floor(r)),r<0&&(r=255+r+1),this[n]=255&r,n+1},u.prototype.writeInt16LE=function(r,n,t){return r=+r,n=0|n,t||W(this,r,n,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[n]=255&r,this[n+1]=r>>>8):L(this,r,n,!0),n+2},u.prototype.writeInt16BE=function(r,n,t){return r=+r,n=0|n,t||W(this,r,n,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[n]=r>>>8,this[n+1]=255&r):L(this,r,n,!1),n+2},u.prototype.writeInt32LE=function(r,n,t){return r=+r,n=0|n,t||W(this,r,n,4,2147483647,-2147483648),u.TYPED_ARRAY_SUPPORT?(this[n]=255&r,this[n+1]=r>>>8,this[n+2]=r>>>16,this[n+3]=r>>>24):U(this,r,n,!0),n+4},u.prototype.writeInt32BE=function(r,n,t){return r=+r,n=0|n,t||W(this,r,n,4,2147483647,-2147483648),r<0&&(r=4294967295+r+1),u.TYPED_ARRAY_SUPPORT?(this[n]=r>>>24,this[n+1]=r>>>16,this[n+2]=r>>>8,this[n+3]=255&r):U(this,r,n,!1),n+4},u.prototype.writeFloatLE=function(r,n,t){return M(this,r,n,!0,t)},u.prototype.writeFloatBE=function(r,n,t){return M(this,r,n,!1,t)},u.prototype.writeDoubleLE=function(r,n,t){return F(this,r,n,!0,t)},u.prototype.writeDoubleBE=function(r,n,t){return F(this,r,n,!1,t)},u.prototype.copy=function(r,n,t,e){if(t||(t=0),e||0===e||(e=this.length),n>=r.length&&(n=r.length),n||(n=0),e>0&&e<t&&(e=t),e===t)return 0;if(0===r.length||0===this.length)return 0;if(n<0)throw new RangeError("targetStart out of bounds");if(t<0||t>=this.length)throw new RangeError("sourceStart out of bounds");if(e<0)throw new RangeError("sourceEnd out of bounds");e>this.length&&(e=this.length),r.length-n<e-t&&(e=r.length-n+t);var i,c=e-t;if(this===r&&t<n&&n<e)for(i=c-1;i>=0;--i)r[i+n]=this[i+t];else if(c<1e3||!u.TYPED_ARRAY_SUPPORT)for(i=0;i<c;++i)r[i+n]=this[i+t];else Uint8Array.prototype.set.call(r,this.subarray(t,t+c),n);return c},u.prototype.fill=function(r,n,t,e){if("string"==typeof r){if("string"==typeof n?(e=n,n=0,t=this.length):"string"==typeof t&&(e=t,t=this.length),1===r.length){var i=r.charCodeAt(0);i<256&&(r=i)}if(void 0!==e&&"string"!=typeof e)throw new TypeError("encoding must be a string");if("string"==typeof e&&!u.isEncoding(e))throw new TypeError("Unknown encoding: "+e)}else"number"==typeof r&&(r=255&r);if(n<0||this.length<n||this.length<t)throw new RangeError("Out of range index");if(t<=n)return this;n>>>=0,t=void 0===t?this.length:t>>>0,r||(r=0);var c;if("number"==typeof r)for(c=n;c<t;++c)this[c]=r;else{var a=u.isBuffer(r)?r:K(new u(r,e).toString()),o=a.length;for(c=0;c<t-n;++c)this[c+n]=a[c%o]}return this};var nr=/[^+\/0-9A-Za-z-_]/g}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"base64-js":1,ieee754:3,isarray:4}],3:[function(r,n,t){t.read=function(r,n,t,e,i){var c,u,a=8*i-e-1,o=(1<<a)-1,s=o>>1,l=-7,f=t?i-1:0,p=t?-1:1,h=r[n+f];for(f+=p,c=h&(1<<-l)-1,h>>=-l,l+=a;l>0;c=256*c+r[n+f],f+=p,l-=8);for(u=c&(1<<-l)-1,c>>=-l,l+=e;l>0;u=256*u+r[n+f],f+=p,l-=8);if(0===c)c=1-s;else{if(c===o)return u?NaN:(h?-1:1)*(1/0);u+=Math.pow(2,e),c-=s}return(h?-1:1)*u*Math.pow(2,c-e)},t.write=function(r,n,t,e,i,c){var u,a,o,s=8*c-i-1,l=(1<<s)-1,f=l>>1,p=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,h=e?0:c-1,y=e?1:-1,_=n<0||0===n&&1/n<0?1:0;for(n=Math.abs(n),isNaN(n)||n===1/0?(a=isNaN(n)?1:0,u=l):(u=Math.floor(Math.log(n)/Math.LN2),n*(o=Math.pow(2,-u))<1&&(u--,o*=2),n+=u+f>=1?p/o:p*Math.pow(2,1-f),n*o>=2&&(u++,o/=2),u+f>=l?(a=0,u=l):u+f>=1?(a=(n*o-1)*Math.pow(2,i),u+=f):(a=n*Math.pow(2,f-1)*Math.pow(2,i),u=0));i>=8;r[t+h]=255&a,h+=y,a/=256,i-=8);for(u=u<<i|a,s+=i;s>0;r[t+h]=255&u,h+=y,u/=256,s-=8);r[t+h-y]|=128*_}},{}],4:[function(r,n,t){var e={}.toString;n.exports=Array.isArray||function(r){return"[object Array]"==e.call(r)}},{}],5:[function(r,n,t){n.exports={F:r("./src/F"),T:r("./src/T"),__:r("./src/__"),add:r("./src/add"),addIndex:r("./src/addIndex"),adjust:r("./src/adjust"),all:r("./src/all"),allPass:r("./src/allPass"),always:r("./src/always"),and:r("./src/and"),any:r("./src/any"),anyPass:r("./src/anyPass"),ap:r("./src/ap"),aperture:r("./src/aperture"),append:r("./src/append"),apply:r("./src/apply"),applySpec:r("./src/applySpec"),ascend:r("./src/ascend"),assoc:r("./src/assoc"),assocPath:r("./src/assocPath"),binary:r("./src/binary"),bind:r("./src/bind"),both:r("./src/both"),call:r("./src/call"),chain:r("./src/chain"),clamp:r("./src/clamp"),clone:r("./src/clone"),comparator:r("./src/comparator"),complement:r("./src/complement"),compose:r("./src/compose"),composeK:r("./src/composeK"),composeP:r("./src/composeP"),concat:r("./src/concat"),cond:r("./src/cond"),construct:r("./src/construct"),constructN:r("./src/constructN"),contains:r("./src/contains"),converge:r("./src/converge"),countBy:r("./src/countBy"),curry:r("./src/curry"),curryN:r("./src/curryN"),dec:r("./src/dec"),descend:r("./src/descend"),defaultTo:r("./src/defaultTo"),difference:r("./src/difference"),differenceWith:r("./src/differenceWith"),dissoc:r("./src/dissoc"),dissocPath:r("./src/dissocPath"),divide:r("./src/divide"),drop:r("./src/drop"),dropLast:r("./src/dropLast"),dropLastWhile:r("./src/dropLastWhile"),dropRepeats:r("./src/dropRepeats"),dropRepeatsWith:r("./src/dropRepeatsWith"),dropWhile:r("./src/dropWhile"),either:r("./src/either"),empty:r("./src/empty"),eqBy:r("./src/eqBy"),eqProps:r("./src/eqProps"),equals:r("./src/equals"),evolve:r("./src/evolve"),filter:r("./src/filter"),find:r("./src/find"),findIndex:r("./src/findIndex"),findLast:r("./src/findLast"),findLastIndex:r("./src/findLastIndex"),flatten:r("./src/flatten"),flip:r("./src/flip"),forEach:r("./src/forEach"),forEachObjIndexed:r("./src/forEachObjIndexed"),fromPairs:r("./src/fromPairs"),groupBy:r("./src/groupBy"),groupWith:r("./src/groupWith"),gt:r("./src/gt"),gte:r("./src/gte"),has:r("./src/has"),hasIn:r("./src/hasIn"),head:r("./src/head"),identical:r("./src/identical"),identity:r("./src/identity"),ifElse:r("./src/ifElse"),inc:r("./src/inc"),indexBy:r("./src/indexBy"),indexOf:r("./src/indexOf"),init:r("./src/init"),insert:r("./src/insert"),insertAll:r("./src/insertAll"),intersection:r("./src/intersection"),intersectionWith:r("./src/intersectionWith"),intersperse:r("./src/intersperse"),into:r("./src/into"),invert:r("./src/invert"),invertObj:r("./src/invertObj"),invoker:r("./src/invoker"),is:r("./src/is"),isArrayLike:r("./src/isArrayLike"),isEmpty:r("./src/isEmpty"),isNil:r("./src/isNil"),join:r("./src/join"),juxt:r("./src/juxt"),keys:r("./src/keys"),keysIn:r("./src/keysIn"),last:r("./src/last"),lastIndexOf:r("./src/lastIndexOf"),length:r("./src/length"),lens:r("./src/lens"),lensIndex:r("./src/lensIndex"),lensPath:r("./src/lensPath"),lensProp:r("./src/lensProp"),lift:r("./src/lift"),liftN:r("./src/liftN"),lt:r("./src/lt"),lte:r("./src/lte"),map:r("./src/map"),mapAccum:r("./src/mapAccum"),mapAccumRight:r("./src/mapAccumRight"),mapObjIndexed:r("./src/mapObjIndexed"),match:r("./src/match"),mathMod:r("./src/mathMod"),max:r("./src/max"),maxBy:r("./src/maxBy"),mean:r("./src/mean"),median:r("./src/median"),memoize:r("./src/memoize"),merge:r("./src/merge"),mergeAll:r("./src/mergeAll"),mergeWith:r("./src/mergeWith"),mergeWithKey:r("./src/mergeWithKey"),min:r("./src/min"),minBy:r("./src/minBy"),modulo:r("./src/modulo"),multiply:r("./src/multiply"),nAry:r("./src/nAry"),negate:r("./src/negate"),none:r("./src/none"),not:r("./src/not"),nth:r("./src/nth"),nthArg:r("./src/nthArg"),objOf:r("./src/objOf"),of:r("./src/of"),omit:r("./src/omit"),once:r("./src/once"),or:r("./src/or"),over:r("./src/over"),pair:r("./src/pair"),partial:r("./src/partial"),partialRight:r("./src/partialRight"),partition:r("./src/partition"),path:r("./src/path"),pathEq:r("./src/pathEq"),pathOr:r("./src/pathOr"),pathSatisfies:r("./src/pathSatisfies"),pick:r("./src/pick"),pickAll:r("./src/pickAll"),pickBy:r("./src/pickBy"),pipe:r("./src/pipe"),pipeK:r("./src/pipeK"),pipeP:r("./src/pipeP"),pluck:r("./src/pluck"),prepend:r("./src/prepend"),product:r("./src/product"),project:r("./src/project"),prop:r("./src/prop"),propEq:r("./src/propEq"),propIs:r("./src/propIs"),propOr:r("./src/propOr"),propSatisfies:r("./src/propSatisfies"),props:r("./src/props"),range:r("./src/range"),reduce:r("./src/reduce"),reduceBy:r("./src/reduceBy"),reduceRight:r("./src/reduceRight"),reduceWhile:r("./src/reduceWhile"),reduced:r("./src/reduced"),reject:r("./src/reject"),remove:r("./src/remove"),repeat:r("./src/repeat"),replace:r("./src/replace"),reverse:r("./src/reverse"),scan:r("./src/scan"),sequence:r("./src/sequence"),set:r("./src/set"),slice:r("./src/slice"),sort:r("./src/sort"),sortBy:r("./src/sortBy"),sortWith:r("./src/sortWith"),split:r("./src/split"),splitAt:r("./src/splitAt"),splitEvery:r("./src/splitEvery"),splitWhen:r("./src/splitWhen"),subtract:r("./src/subtract"),sum:r("./src/sum"),symmetricDifference:r("./src/symmetricDifference"),symmetricDifferenceWith:r("./src/symmetricDifferenceWith"),tail:r("./src/tail"),take:r("./src/take"),takeLast:r("./src/takeLast"),takeLastWhile:r("./src/takeLastWhile"),takeWhile:r("./src/takeWhile"),tap:r("./src/tap"),test:r("./src/test"),times:r("./src/times"),toLower:r("./src/toLower"),toPairs:r("./src/toPairs"),toPairsIn:r("./src/toPairsIn"),toString:r("./src/toString"),toUpper:r("./src/toUpper"),transduce:r("./src/transduce"),transpose:r("./src/transpose"),traverse:r("./src/traverse"),trim:r("./src/trim"),tryCatch:r("./src/tryCatch"),type:r("./src/type"),unapply:r("./src/unapply"),unary:r("./src/unary"),uncurryN:r("./src/uncurryN"),unfold:r("./src/unfold"),union:r("./src/union"),unionWith:r("./src/unionWith"),uniq:r("./src/uniq"),uniqBy:r("./src/uniqBy"),uniqWith:r("./src/uniqWith"),unless:r("./src/unless"),unnest:r("./src/unnest"),until:r("./src/until"),update:r("./src/update"),useWith:r("./src/useWith"),values:r("./src/values"),valuesIn:r("./src/valuesIn"),view:r("./src/view"),when:r("./src/when"),where:r("./src/where"),whereEq:r("./src/whereEq"),without:r("./src/without"),xprod:r("./src/xprod"),zip:r("./src/zip"),zipObj:r("./src/zipObj"),zipWith:r("./src/zipWith")}},{"./src/F":6,"./src/T":7,"./src/__":8,"./src/add":9,"./src/addIndex":10,"./src/adjust":11,"./src/all":12,"./src/allPass":13,"./src/always":14,"./src/and":15,"./src/any":16,"./src/anyPass":17,"./src/ap":18,"./src/aperture":19,"./src/append":20,"./src/apply":21,"./src/applySpec":22,"./src/ascend":23,"./src/assoc":24,"./src/assocPath":25,"./src/binary":26,"./src/bind":27,"./src/both":28,"./src/call":29,"./src/chain":30,"./src/clamp":31,"./src/clone":32,"./src/comparator":33,"./src/complement":34,"./src/compose":35,"./src/composeK":36,"./src/composeP":37,"./src/concat":38,"./src/cond":39,"./src/construct":40,"./src/constructN":41,"./src/contains":42,"./src/converge":43,"./src/countBy":44,"./src/curry":45,"./src/curryN":46,"./src/dec":47,"./src/defaultTo":48,"./src/descend":49,"./src/difference":50,"./src/differenceWith":51,"./src/dissoc":52,"./src/dissocPath":53,"./src/divide":54,"./src/drop":55,"./src/dropLast":56,"./src/dropLastWhile":57,"./src/dropRepeats":58,"./src/dropRepeatsWith":59,"./src/dropWhile":60,"./src/either":61,"./src/empty":62,"./src/eqBy":63,"./src/eqProps":64,"./src/equals":65,"./src/evolve":66,"./src/filter":67,"./src/find":68,"./src/findIndex":69,"./src/findLast":70,"./src/findLastIndex":71,"./src/flatten":72,"./src/flip":73,"./src/forEach":74,"./src/forEachObjIndexed":75,"./src/fromPairs":76,"./src/groupBy":77,"./src/groupWith":78,"./src/gt":79,"./src/gte":80,"./src/has":81,"./src/hasIn":82,"./src/head":83,"./src/identical":84,"./src/identity":85,"./src/ifElse":86,"./src/inc":87,"./src/indexBy":88,"./src/indexOf":89,"./src/init":90,"./src/insert":91,"./src/insertAll":92,"./src/intersection":163,"./src/intersectionWith":164,"./src/intersperse":165,"./src/into":166,"./src/invert":167,"./src/invertObj":168,"./src/invoker":169,"./src/is":170,"./src/isArrayLike":171,"./src/isEmpty":172,"./src/isNil":173,"./src/join":174,"./src/juxt":175,"./src/keys":176,"./src/keysIn":177,"./src/last":178,"./src/lastIndexOf":179,"./src/length":180,"./src/lens":181,"./src/lensIndex":182,"./src/lensPath":183,"./src/lensProp":184,"./src/lift":185,"./src/liftN":186,"./src/lt":187,"./src/lte":188,"./src/map":189,"./src/mapAccum":190,"./src/mapAccumRight":191,"./src/mapObjIndexed":192,"./src/match":193,"./src/mathMod":194,"./src/max":195,"./src/maxBy":196,"./src/mean":197,"./src/median":198,"./src/memoize":199,"./src/merge":200,"./src/mergeAll":201,"./src/mergeWith":202,"./src/mergeWithKey":203,"./src/min":204,"./src/minBy":205,"./src/modulo":206,"./src/multiply":207,"./src/nAry":208,"./src/negate":209, "./src/none":210,"./src/not":211,"./src/nth":212,"./src/nthArg":213,"./src/objOf":214,"./src/of":215,"./src/omit":216,"./src/once":217,"./src/or":218,"./src/over":219,"./src/pair":220,"./src/partial":221,"./src/partialRight":222,"./src/partition":223,"./src/path":224,"./src/pathEq":225,"./src/pathOr":226,"./src/pathSatisfies":227,"./src/pick":228,"./src/pickAll":229,"./src/pickBy":230,"./src/pipe":231,"./src/pipeK":232,"./src/pipeP":233,"./src/pluck":234,"./src/prepend":235,"./src/product":236,"./src/project":237,"./src/prop":238,"./src/propEq":239,"./src/propIs":240,"./src/propOr":241,"./src/propSatisfies":242,"./src/props":243,"./src/range":244,"./src/reduce":245,"./src/reduceBy":246,"./src/reduceRight":247,"./src/reduceWhile":248,"./src/reduced":249,"./src/reject":250,"./src/remove":251,"./src/repeat":252,"./src/replace":253,"./src/reverse":254,"./src/scan":255,"./src/sequence":256,"./src/set":257,"./src/slice":258,"./src/sort":259,"./src/sortBy":260,"./src/sortWith":261,"./src/split":262,"./src/splitAt":263,"./src/splitEvery":264,"./src/splitWhen":265,"./src/subtract":266,"./src/sum":267,"./src/symmetricDifference":268,"./src/symmetricDifferenceWith":269,"./src/tail":270,"./src/take":271,"./src/takeLast":272,"./src/takeLastWhile":273,"./src/takeWhile":274,"./src/tap":275,"./src/test":276,"./src/times":277,"./src/toLower":278,"./src/toPairs":279,"./src/toPairsIn":280,"./src/toString":281,"./src/toUpper":282,"./src/transduce":283,"./src/transpose":284,"./src/traverse":285,"./src/trim":286,"./src/tryCatch":287,"./src/type":288,"./src/unapply":289,"./src/unary":290,"./src/uncurryN":291,"./src/unfold":292,"./src/union":293,"./src/unionWith":294,"./src/uniq":295,"./src/uniqBy":296,"./src/uniqWith":297,"./src/unless":298,"./src/unnest":299,"./src/until":300,"./src/update":301,"./src/useWith":302,"./src/values":303,"./src/valuesIn":304,"./src/view":305,"./src/when":306,"./src/where":307,"./src/whereEq":308,"./src/without":309,"./src/xprod":310,"./src/zip":311,"./src/zipObj":312,"./src/zipWith":313}],6:[function(r,n,t){var e=r("./always");n.exports=e(!1)},{"./always":14}],7:[function(r,n,t){var e=r("./always");n.exports=e(!0)},{"./always":14}],8:[function(r,n,t){n.exports={"@@functional/placeholder":!0}},{}],9:[function(r,n,t){var e=r("./internal/_curry2");n.exports=e(function(r,n){return Number(r)+Number(n)})},{"./internal/_curry2":107}],10:[function(r,n,t){var e=r("./internal/_concat"),i=r("./internal/_curry1"),c=r("./curryN");n.exports=i(function(r){return c(r.length,function(){var n=0,t=arguments[0],i=arguments[arguments.length-1],c=Array.prototype.slice.call(arguments,0);return c[0]=function(){var r=t.apply(this,e(arguments,[n,i]));return n+=1,r},r.apply(this,c)})})},{"./curryN":46,"./internal/_concat":102,"./internal/_curry1":106}],11:[function(r,n,t){var e=r("./internal/_concat"),i=r("./internal/_curry3");n.exports=i(function(r,n,t){if(n>=t.length||n<-t.length)return t;var i=n<0?t.length:0,c=i+n,u=e(t);return u[c]=r(t[c]),u})},{"./internal/_concat":102,"./internal/_curry3":108}],12:[function(r,n,t){var e=r("./internal/_curry2"),i=r("./internal/_dispatchable"),c=r("./internal/_xall");n.exports=e(i(["all"],c,function(r,n){for(var t=0;t<n.length;){if(!r(n[t]))return!1;t+=1}return!0}))},{"./internal/_curry2":107,"./internal/_dispatchable":110,"./internal/_xall":143}],13:[function(r,n,t){var e=r("./internal/_curry1"),i=r("./curryN"),c=r("./max"),u=r("./pluck"),a=r("./reduce");n.exports=e(function(r){return i(a(c,0,u("length",r)),function(){for(var n=0,t=r.length;n<t;){if(!r[n].apply(this,arguments))return!1;n+=1}return!0})})},{"./curryN":46,"./internal/_curry1":106,"./max":195,"./pluck":234,"./reduce":245}],14:[function(r,n,t){var e=r("./internal/_curry1");n.exports=e(function(r){return function(){return r}})},{"./internal/_curry1":106}],15:[function(r,n,t){var e=r("./internal/_curry2");n.exports=e(function(r,n){return r&&n})},{"./internal/_curry2":107}],16:[function(r,n,t){var e=r("./internal/_curry2"),i=r("./internal/_dispatchable"),c=r("./internal/_xany");n.exports=e(i(["any"],c,function(r,n){for(var t=0;t<n.length;){if(r(n[t]))return!0;t+=1}return!1}))},{"./internal/_curry2":107,"./internal/_dispatchable":110,"./internal/_xany":144}],17:[function(r,n,t){var e=r("./internal/_curry1"),i=r("./curryN"),c=r("./max"),u=r("./pluck"),a=r("./reduce");n.exports=e(function(r){return i(a(c,0,u("length",r)),function(){for(var n=0,t=r.length;n<t;){if(r[n].apply(this,arguments))return!0;n+=1}return!1})})},{"./curryN":46,"./internal/_curry1":106,"./max":195,"./pluck":234,"./reduce":245}],18:[function(r,n,t){var e=r("./internal/_concat"),i=r("./internal/_curry2"),c=r("./internal/_reduce"),u=r("./map");n.exports=i(function(r,n){return"function"==typeof r.ap?r.ap(n):"function"==typeof r?function(t){return r(t)(n(t))}:c(function(r,t){return e(r,u(t,n))},[],r)})},{"./internal/_concat":102,"./internal/_curry2":107,"./internal/_reduce":138,"./map":189}],19:[function(r,n,t){var e=r("./internal/_aperture"),i=r("./internal/_curry2"),c=r("./internal/_dispatchable"),u=r("./internal/_xaperture");n.exports=i(c([],u,e))},{"./internal/_aperture":94,"./internal/_curry2":107,"./internal/_dispatchable":110,"./internal/_xaperture":145}],20:[function(r,n,t){var e=r("./internal/_concat"),i=r("./internal/_curry2");n.exports=i(function(r,n){return e(n,[r])})},{"./internal/_concat":102,"./internal/_curry2":107}],21:[function(r,n,t){var e=r("./internal/_curry2");n.exports=e(function(r,n){return r.apply(this,n)})},{"./internal/_curry2":107}],22:[function(r,n,t){var e=r("./internal/_curry1"),i=r("./apply"),c=r("./curryN"),u=r("./map"),a=r("./max"),o=r("./pluck"),s=r("./reduce"),l=r("./values");n.exports=e(function r(n){return n=u(function(n){return"function"==typeof n?n:r(n)},n),c(s(a,0,o("length",l(n))),function(){var r=arguments;return u(function(n){return i(n,r)},n)})})},{"./apply":21,"./curryN":46,"./internal/_curry1":106,"./map":189,"./max":195,"./pluck":234,"./reduce":245,"./values":303}],23:[function(r,n,t){var e=r("./internal/_curry3");n.exports=e(function(r,n,t){var e=r(n),i=r(t);return e<i?-1:e>i?1:0})},{"./internal/_curry3":108}],24:[function(r,n,t){var e=r("./internal/_curry3");n.exports=e(function(r,n,t){var e={};for(var i in t)e[i]=t[i];return e[r]=n,e})},{"./internal/_curry3":108}],25:[function(r,n,t){var e=r("./internal/_curry3"),i=r("./internal/_has"),c=r("./internal/_isArray"),u=r("./internal/_isInteger"),a=r("./assoc");n.exports=e(function r(n,t,e){if(0===n.length)return t;var o=n[0];if(n.length>1){var s=i(o,e)?e[o]:u(n[1])?[]:{};t=r(Array.prototype.slice.call(n,1),t,s)}if(u(o)&&c(e)){var l=[].concat(e);return l[o]=t,l}return a(o,t,e)})},{"./assoc":24,"./internal/_curry3":108,"./internal/_has":118,"./internal/_isArray":122,"./internal/_isInteger":124}],26:[function(r,n,t){var e=r("./internal/_curry1"),i=r("./nAry");n.exports=e(function(r){return i(2,r)})},{"./internal/_curry1":106,"./nAry":208}],27:[function(r,n,t){var e=r("./internal/_arity"),i=r("./internal/_curry2");n.exports=i(function(r,n){return e(r.length,function(){return r.apply(n,arguments)})})},{"./internal/_arity":95,"./internal/_curry2":107}],28:[function(r,n,t){var e=r("./internal/_curry2"),i=r("./internal/_isFunction"),c=r("./and"),u=r("./lift");n.exports=e(function(r,n){return i(r)?function(){return r.apply(this,arguments)&&n.apply(this,arguments)}:u(c)(r,n)})},{"./and":15,"./internal/_curry2":107,"./internal/_isFunction":123,"./lift":185}],29:[function(r,n,t){var e=r("./curry");n.exports=e(function(r){return r.apply(this,Array.prototype.slice.call(arguments,1))})},{"./curry":45}],30:[function(r,n,t){var e=r("./internal/_curry2"),i=r("./internal/_dispatchable"),c=r("./internal/_makeFlat"),u=r("./internal/_xchain"),a=r("./map");n.exports=e(i(["chain"],u,function(r,n){return"function"==typeof n?function(t){return r(n(t))(t)}:c(!1)(a(r,n))}))},{"./internal/_curry2":107,"./internal/_dispatchable":110,"./internal/_makeFlat":131,"./internal/_xchain":146,"./map":189}],31:[function(r,n,t){var e=r("./internal/_curry3");n.exports=e(function(r,n,t){if(r>n)throw new Error("min must not be greater than max in clamp(min, max, value)");return t<r?r:t>n?n:t})},{"./internal/_curry3":108}],32:[function(r,n,t){var e=r("./internal/_clone"),i=r("./internal/_curry1");n.exports=i(function(r){return null!=r&&"function"==typeof r.clone?r.clone():e(r,[],[],!0)})},{"./internal/_clone":99,"./internal/_curry1":106}],33:[function(r,n,t){var e=r("./internal/_curry1");n.exports=e(function(r){return function(n,t){return r(n,t)?-1:r(t,n)?1:0}})},{"./internal/_curry1":106}],34:[function(r,n,t){var e=r("./lift"),i=r("./not");n.exports=e(i)},{"./lift":185,"./not":211}],35:[function(r,n,t){var e=r("./pipe"),i=r("./reverse");n.exports=function(){if(0===arguments.length)throw new Error("compose requires at least one argument");return e.apply(this,i(arguments))}},{"./pipe":231,"./reverse":254}],36:[function(r,n,t){var e=r("./chain"),i=r("./compose"),c=r("./map");n.exports=function(){if(0===arguments.length)throw new Error("composeK requires at least one argument");var r=Array.prototype.slice.call(arguments),n=r.pop();return i(i.apply(this,c(e,r)),n)}},{"./chain":30,"./compose":35,"./map":189}],37:[function(r,n,t){var e=r("./pipeP"),i=r("./reverse");n.exports=function(){if(0===arguments.length)throw new Error("composeP requires at least one argument");return e.apply(this,i(arguments))}},{"./pipeP":233,"./reverse":254}],38:[function(r,n,t){var e=r("./internal/_curry2"),i=r("./internal/_isArray"),c=r("./internal/_isFunction"),u=r("./toString");n.exports=e(function(r,n){if(null==r||!c(r.concat))throw new TypeError(u(r)+' does not have a method named "concat"');if(i(r)&&!i(n))throw new TypeError(u(n)+" is not an array");return r.concat(n)})},{"./internal/_curry2":107,"./internal/_isArray":122,"./internal/_isFunction":123,"./toString":281}],39:[function(r,n,t){var e=r("./internal/_arity"),i=r("./internal/_curry1"),c=r("./map"),u=r("./max"),a=r("./reduce");n.exports=i(function(r){var n=a(u,0,c(function(r){return r[0].length},r));return e(n,function(){for(var n=0;n<r.length;){if(r[n][0].apply(this,arguments))return r[n][1].apply(this,arguments);n+=1}})})},{"./internal/_arity":95,"./internal/_curry1":106,"./map":189,"./max":195,"./reduce":245}],40:[function(r,n,t){var e=r("./internal/_curry1"),i=r("./constructN");n.exports=e(function(r){return i(r.length,r)})},{"./constructN":41,"./internal/_curry1":106}],41:[function(r,n,t){var e=r("./internal/_curry2"),i=r("./curry"),c=r("./nAry");n.exports=e(function(r,n){if(r>10)throw new Error("Constructor with greater than ten arguments");return 0===r?function(){return new n}:i(c(r,function(r,t,e,i,c,u,a,o,s,l){switch(arguments.length){case 1:return new n(r);case 2:return new n(r,t);case 3:return new n(r,t,e);case 4:return new n(r,t,e,i);case 5:return new n(r,t,e,i,c);case 6:return new n(r,t,e,i,c,u);case 7:return new n(r,t,e,i,c,u,a);case 8:return new n(r,t,e,i,c,u,a,o);case 9:return new n(r,t,e,i,c,u,a,o,s);case 10:return new n(r,t,e,i,c,u,a,o,s,l)}}))})},{"./curry":45,"./internal/_curry2":107,"./nAry":208}],42:[function(r,n,t){var e=r("./internal/_contains"),i=r("./internal/_curry2");n.exports=i(e)},{"./internal/_contains":103,"./internal/_curry2":107}],43:[function(r,n,t){var e=r("./internal/_curry2"),i=r("./internal/_map"),c=r("./curryN"),u=r("./max"),a=r("./pluck"),o=r("./reduce");n.exports=e(function(r,n){return c(o(u,0,a("length",n)),function(){var t=arguments,e=this;return r.apply(e,i(function(r){return r.apply(e,t)},n))})})},{"./curryN":46,"./internal/_curry2":107,"./internal/_map":132,"./max":195,"./pluck":234,"./reduce":245}],44:[function(r,n,t){var e=r("./reduceBy");n.exports=e(function(r,n){return r+1},0)},{"./reduceBy":246}],45:[function(r,n,t){var e=r("./internal/_curry1"),i=r("./curryN");n.exports=e(function(r){return i(r.length,r)})},{"./curryN":46,"./internal/_curry1":106}],46:[function(r,n,t){var e=r("./internal/_arity"),i=r("./internal/_curry1"),c=r("./internal/_curry2"),u=r("./internal/_curryN");n.exports=c(function(r,n){return 1===r?i(n):e(r,u(r,[],n))})},{"./internal/_arity":95,"./internal/_curry1":106,"./internal/_curry2":107,"./internal/_curryN":109}],47:[function(r,n,t){var e=r("./add");n.exports=e(-1)},{"./add":9}],48:[function(r,n,t){var e=r("./internal/_curry2");n.exports=e(function(r,n){return null==n||n!==n?r:n})},{"./internal/_curry2":107}],49:[function(r,n,t){var e=r("./internal/_curry3");n.exports=e(function(r,n,t){var e=r(n),i=r(t);return e>i?-1:e<i?1:0})},{"./internal/_curry3":108}],50:[function(r,n,t){var e=r("./internal/_contains"),i=r("./internal/_curry2");n.exports=i(function(r,n){for(var t=[],i=0,c=r.length;i<c;)e(r[i],n)||e(r[i],t)||(t[t.length]=r[i]),i+=1;return t})},{"./internal/_contains":103,"./internal/_curry2":107}],51:[function(r,n,t){var e=r("./internal/_containsWith"),i=r("./internal/_curry3");n.exports=i(function(r,n,t){for(var i=[],c=0,u=n.length;c<u;)e(r,n[c],t)||e(r,n[c],i)||i.push(n[c]),c+=1;return i})},{"./internal/_containsWith":104,"./internal/_curry3":108}],52:[function(r,n,t){var e=r("./internal/_curry2");n.exports=e(function(r,n){var t={};for(var e in n)t[e]=n[e];return delete t[r],t})},{"./internal/_curry2":107}],53:[function(r,n,t){var e=r("./internal/_curry2"),i=r("./assoc"),c=r("./dissoc");n.exports=e(function r(n,t){switch(n.length){case 0:return t;case 1:return c(n[0],t);default:var e=n[0],u=Array.prototype.slice.call(n,1);return null==t[e]?t:i(e,r(u,t[e]),t)}})},{"./assoc":24,"./dissoc":52,"./internal/_curry2":107}],54:[function(r,n,t){var e=r("./internal/_curry2");n.exports=e(function(r,n){return r/n})},{"./internal/_curry2":107}],55:[function(r,n,t){var e=r("./internal/_curry2"),i=r("./internal/_dispatchable"),c=r("./internal/_xdrop"),u=r("./slice");n.exports=e(i(["drop"],c,function(r,n){return u(Math.max(0,r),1/0,n)}))},{"./internal/_curry2":107,"./internal/_dispatchable":110,"./internal/_xdrop":147,"./slice":258}],56:[function(r,n,t){var e=r("./internal/_curry2"),i=r("./internal/_dispatchable"),c=r("./internal/_dropLast"),u=r("./internal/_xdropLast");n.exports=e(i([],u,c))},{"./internal/_curry2":107,"./internal/_dispatchable":110,"./internal/_dropLast":111,"./internal/_xdropLast":148}],57:[function(r,n,t){var e=r("./internal/_curry2"),i=r("./internal/_dispatchable"),c=r("./internal/_dropLastWhile"),u=r("./internal/_xdropLastWhile");n.exports=e(i([],u,c))},{"./internal/_curry2":107,"./internal/_dispatchable":110,"./internal/_dropLastWhile":112,"./internal/_xdropLastWhile":149}],58:[function(r,n,t){var e=r("./internal/_curry1"),i=r("./internal/_dispatchable"),c=r("./internal/_xdropRepeatsWith"),u=r("./dropRepeatsWith"),a=r("./equals");n.exports=e(i([],c(a),u(a)))},{"./dropRepeatsWith":59,"./equals":65,"./internal/_curry1":106,"./internal/_dispatchable":110,"./internal/_xdropRepeatsWith":150}],59:[function(r,n,t){var e=r("./internal/_curry2"),i=r("./internal/_dispatchable"),c=r("./internal/_xdropRepeatsWith"),u=r("./last");n.exports=e(i([],c,function(r,n){var t=[],e=1,i=n.length;if(0!==i)for(t[0]=n[0];e<i;)r(u(t),n[e])||(t[t.length]=n[e]),e+=1;return t}))},{"./internal/_curry2":107,"./internal/_dispatchable":110,"./internal/_xdropRepeatsWith":150,"./last":178}],60:[function(r,n,t){var e=r("./internal/_curry2"),i=r("./internal/_dispatchable"),c=r("./internal/_xdropWhile");n.exports=e(i(["dropWhile"],c,function(r,n){for(var t=0,e=n.length;t<e&&r(n[t]);)t+=1;return Array.prototype.slice.call(n,t)}))},{"./internal/_curry2":107,"./internal/_dispatchable":110,"./internal/_xdropWhile":151}],61:[function(r,n,t){var e=r("./internal/_curry2"),i=r("./internal/_isFunction"),c=r("./lift"),u=r("./or");n.exports=e(function(r,n){return i(r)?function(){return r.apply(this,arguments)||n.apply(this,arguments)}:c(u)(r,n)})},{"./internal/_curry2":107,"./internal/_isFunction":123,"./lift":185,"./or":218}],62:[function(r,n,t){var e=r("./internal/_curry1"),i=r("./internal/_isArguments"),c=r("./internal/_isArray"),u=r("./internal/_isObject"),a=r("./internal/_isString");n.exports=e(function(r){return null!=r&&"function"==typeof r.empty?r.empty():null!=r&&null!=r.constructor&&"function"==typeof r.constructor.empty?r.constructor.empty():c(r)?[]:a(r)?"":u(r)?{}:i(r)?function(){return arguments}():void 0})},{"./internal/_curry1":106,"./internal/_isArguments":121,"./internal/_isArray":122,"./internal/_isObject":126,"./internal/_isString":129}],63:[function(r,n,t){var e=r("./internal/_curry3"),i=r("./equals");n.exports=e(function(r,n,t){return i(r(n),r(t))})},{"./equals":65,"./internal/_curry3":108}],64:[function(r,n,t){var e=r("./internal/_curry3"),i=r("./equals");n.exports=e(function(r,n,t){return i(n[r],t[r])})},{"./equals":65,"./internal/_curry3":108}],65:[function(r,n,t){var e=r("./internal/_curry2"),i=r("./internal/_equals");n.exports=e(function(r,n){return i(r,n,[],[])})},{"./internal/_curry2":107,"./internal/_equals":113}],66:[function(r,n,t){var e=r("./internal/_curry2");n.exports=e(function r(n,t){var e,i,c,u={};for(i in t)e=n[i],c=typeof e,u[i]="function"===c?e(t[i]):e&&"object"===c?r(e,t[i]):t[i];return u})},{"./internal/_curry2":107}],67:[function(r,n,t){var e=r("./internal/_curry2"),i=r("./internal/_dispatchable"),c=r("./internal/_filter"),u=r("./internal/_isObject"),a=r("./internal/_reduce"),o=r("./internal/_xfilter"),s=r("./keys");n.exports=e(i(["filter"],o,function(r,n){return u(n)?a(function(t,e){return r(n[e])&&(t[e]=n[e]),t},{},s(n)):c(r,n)}))},{"./internal/_curry2":107,"./internal/_dispatchable":110,"./internal/_filter":114,"./internal/_isObject":126,"./internal/_reduce":138,"./internal/_xfilter":153,"./keys":176}],68:[function(r,n,t){var e=r("./internal/_curry2"),i=r("./internal/_dispatchable"),c=r("./internal/_xfind");n.exports=e(i(["find"],c,function(r,n){for(var t=0,e=n.length;t<e;){if(r(n[t]))return n[t];t+=1}}))},{"./internal/_curry2":107,"./internal/_dispatchable":110,"./internal/_xfind":154}],69:[function(r,n,t){var e=r("./internal/_curry2"),i=r("./internal/_dispatchable"),c=r("./internal/_xfindIndex");n.exports=e(i([],c,function(r,n){for(v