UNPKG

@the-grid/ed-userhtml

Version:
3 lines (2 loc) 45.9 kB
!function t(e,r,n){function i(a,s){if(!r[a]){if(!e[a]){var f="function"==typeof require&&require;if(!s&&f)return f(a,!0);if(o)return o(a,!0);var u=new Error("Cannot find module '"+a+"'");throw u.code="MODULE_NOT_FOUND",u}var h=r[a]={exports:{}};e[a][0].call(h.exports,function(t){var r=e[a][1][t];return i(r?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";function n(){for(var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",e=0,r=t.length;r>e;++e)f[e]=t[e],u[t.charCodeAt(e)]=e;u["-".charCodeAt(0)]=62,u["_".charCodeAt(0)]=63}function i(t){var e,r,n,i,o,a,s=t.length;if(s%4>0)throw new Error("Invalid string. Length must be a multiple of 4");o="="===t[s-2]?2:"="===t[s-1]?1:0,a=new h(3*s/4-o),n=o>0?s-4:s;var f=0;for(e=0,r=0;n>e;e+=4,r+=3)i=u[t.charCodeAt(e)]<<18|u[t.charCodeAt(e+1)]<<12|u[t.charCodeAt(e+2)]<<6|u[t.charCodeAt(e+3)],a[f++]=i>>16&255,a[f++]=i>>8&255,a[f++]=255&i;return 2===o?(i=u[t.charCodeAt(e)]<<2|u[t.charCodeAt(e+1)]>>4,a[f++]=255&i):1===o&&(i=u[t.charCodeAt(e)]<<10|u[t.charCodeAt(e+1)]<<4|u[t.charCodeAt(e+2)]>>2,a[f++]=i>>8&255,a[f++]=255&i),a}function o(t){return f[t>>18&63]+f[t>>12&63]+f[t>>6&63]+f[63&t]}function a(t,e,r){for(var n,i=[],a=e;r>a;a+=3)n=(t[a]<<16)+(t[a+1]<<8)+t[a+2],i.push(o(n));return i.join("")}function s(t){for(var e,r=t.length,n=r%3,i="",o=[],s=16383,u=0,h=r-n;h>u;u+=s)o.push(a(t,u,u+s>h?h:u+s));return 1===n?(e=t[r-1],i+=f[e>>2],i+=f[e<<4&63],i+="=="):2===n&&(e=(t[r-2]<<8)+t[r-1],i+=f[e>>10],i+=f[e>>4&63],i+=f[e<<2&63],i+="="),o.push(i),o.join("")}r.toByteArray=i,r.fromByteArray=s;var f=[],u=[],h="undefined"!=typeof Uint8Array?Uint8Array:Array;n()},{}],2:[function(t,e,r){(function(e){"use strict";function n(){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(e){return!1}}function i(){return a.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function o(t,e){if(i()<e)throw new RangeError("Invalid typed array length");return a.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e),t.__proto__=a.prototype):(null===t&&(t=new a(e)),t.length=e),t}function a(t,e,r){if(!(a.TYPED_ARRAY_SUPPORT||this instanceof a))return new a(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 h(this,t)}return s(this,t,e,r)}function s(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?d(t,e,r,n):"string"==typeof e?l(t,e,r):g(t,e)}function f(t){if("number"!=typeof t)throw new TypeError('"size" argument must be a number')}function u(t,e,r,n){return f(e),0>=e?o(t,e):void 0!==r?"string"==typeof n?o(t,e).fill(r,n):o(t,e).fill(r):o(t,e)}function h(t,e){if(f(e),t=o(t,0>e?0:0|p(e)),!a.TYPED_ARRAY_SUPPORT)for(var r=0;e>r;++r)t[r]=0;return t}function l(t,e,r){if(("string"!=typeof r||""===r)&&(r="utf8"),!a.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var n=0|b(e,r);return t=o(t,n),t.write(e,r),t}function c(t,e){var r=0|p(e.length);t=o(t,r);for(var n=0;r>n;n+=1)t[n]=255&e[n];return t}function d(t,e,r,n){if(e.byteLength,0>r||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");return e=void 0===r&&void 0===n?new Uint8Array(e):void 0===n?new Uint8Array(e,r):new Uint8Array(e,r,n),a.TYPED_ARRAY_SUPPORT?(t=e,t.__proto__=a.prototype):t=c(t,e),t}function g(t,e){if(a.isBuffer(e)){var r=0|p(e.length);return t=o(t,r),0===t.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||V(e.length)?o(t,0):c(t,e);if("Buffer"===e.type&&W(e.data))return c(t,e.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function p(t){if(t>=i())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+i().toString(16)+" bytes");return 0|t}function w(t){return+t!=t&&(t=0),a.alloc(+t)}function b(t,e){if(a.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"binary":case"raw":case"raws":return r;case"utf8":case"utf-8":case void 0:return j(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return X(t).length;default:if(n)return j(t).length;e=(""+e).toLowerCase(),n=!0}}function y(t,e,r){var n=!1;if((void 0===e||0>e)&&(e=0),e>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),0>=r)return"";if(r>>>=0,e>>>=0,e>=r)return"";for(t||(t="utf8");;)switch(t){case"hex":return I(this,e,r);case"utf8":case"utf-8":return S(this,e,r);case"ascii":return U(this,e,r);case"binary":return P(this,e,r);case"base64":return x(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return C(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}function m(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}function v(t,e,r,n){function i(t,e){return 1===o?t[e]:t.readUInt16BE(e*o)}var o=1,a=t.length,s=e.length;if(void 0!==n&&(n=String(n).toLowerCase(),"ucs2"===n||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||e.length<2)return-1;o=2,a/=2,s/=2,r/=2}for(var f=-1,u=r;a>u;++u)if(i(t,u)===i(e,-1===f?0:u-f)){if(-1===f&&(f=u),u-f+1===s)return f*o}else-1!==f&&(u-=u-f),f=-1;return-1}function _(t,e,r,n){r=Number(r)||0;var i=t.length-r;n?(n=Number(n),n>i&&(n=i)):n=i;var o=e.length;if(o%2!==0)throw new Error("Invalid hex string");n>o/2&&(n=o/2);for(var a=0;n>a;++a){var s=parseInt(e.substr(2*a,2),16);if(isNaN(s))return a;t[r+a]=s}return a}function k(t,e,r,n){return G(j(e,t.length-r),t,r,n)}function E(t,e,r,n){return G(K(e),t,r,n)}function A(t,e,r,n){return E(t,e,r,n)}function R(t,e,r,n){return G(X(e),t,r,n)}function B(t,e,r,n){return G(q(e,t.length-r),t,r,n)}function x(t,e,r){return 0===e&&r===t.length?$.fromByteArray(t):$.fromByteArray(t.slice(e,r))}function S(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;r>i;){var o=t[i],a=null,s=o>239?4:o>223?3:o>191?2:1;if(r>=i+s){var f,u,h,l;switch(s){case 1:128>o&&(a=o);break;case 2:f=t[i+1],128===(192&f)&&(l=(31&o)<<6|63&f,l>127&&(a=l));break;case 3:f=t[i+1],u=t[i+2],128===(192&f)&&128===(192&u)&&(l=(15&o)<<12|(63&f)<<6|63&u,l>2047&&(55296>l||l>57343)&&(a=l));break;case 4:f=t[i+1],u=t[i+2],h=t[i+3],128===(192&f)&&128===(192&u)&&128===(192&h)&&(l=(15&o)<<18|(63&f)<<12|(63&u)<<6|63&h,l>65535&&1114112>l&&(a=l))}}null===a?(a=65533,s=1):a>65535&&(a-=65536,n.push(a>>>10&1023|55296),a=56320|1023&a),n.push(a),i+=s}return T(n)}function T(t){var e=t.length;if(Q>=e)return String.fromCharCode.apply(String,t);for(var r="",n=0;e>n;)r+=String.fromCharCode.apply(String,t.slice(n,n+=Q));return r}function U(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;r>i;++i)n+=String.fromCharCode(127&t[i]);return n}function P(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;r>i;++i)n+=String.fromCharCode(t[i]);return n}function I(t,e,r){var n=t.length;(!e||0>e)&&(e=0),(!r||0>r||r>n)&&(r=n);for(var i="",o=e;r>o;++o)i+=H(t[o]);return i}function C(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 O(t,e,r){if(t%1!==0||0>t)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}function L(t,e,r,n,i,o){if(!a.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||o>e)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}function Y(t,e,r,n){0>e&&(e=65535+e+1);for(var i=0,o=Math.min(t.length-r,2);o>i;++i)t[r+i]=(e&255<<8*(n?i:1-i))>>>8*(n?i:1-i)}function D(t,e,r,n){0>e&&(e=4294967295+e+1);for(var i=0,o=Math.min(t.length-r,4);o>i;++i)t[r+i]=e>>>8*(n?i:3-i)&255}function Z(t,e,r,n,i,o){if(r+n>t.length)throw new RangeError("Index out of range");if(0>r)throw new RangeError("Index out of range")}function M(t,e,r,n,i){return i||Z(t,e,r,4,3.4028234663852886e38,-3.4028234663852886e38),J.write(t,e,r,n,23,4),r+4}function N(t,e,r,n,i){return i||Z(t,e,r,8,1.7976931348623157e308,-1.7976931348623157e308),J.write(t,e,r,n,52,8),r+8}function z(t){if(t=F(t).replace(tt,""),t.length<2)return"";for(;t.length%4!==0;)t+="=";return t}function F(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function H(t){return 16>t?"0"+t.toString(16):t.toString(16)}function j(t,e){e=e||1/0;for(var r,n=t.length,i=null,o=[],a=0;n>a;++a){if(r=t.charCodeAt(a),r>55295&&57344>r){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(56320>r){(e-=3)>-1&&o.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,128>r){if((e-=1)<0)break;o.push(r)}else if(2048>r){if((e-=2)<0)break;o.push(r>>6|192,63&r|128)}else if(65536>r){if((e-=3)<0)break;o.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(1114112>r))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 K(t){for(var e=[],r=0;r<t.length;++r)e.push(255&t.charCodeAt(r));return e}function q(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}function X(t){return $.toByteArray(z(t))}function G(t,e,r,n){for(var i=0;n>i&&!(i+r>=e.length||i>=t.length);++i)e[i+r]=t[i];return i}function V(t){return t!==t}var $=t("base64-js"),J=t("ieee754"),W=t("isarray");r.Buffer=a,r.SlowBuffer=w,r.INSPECT_MAX_BYTES=50,a.TYPED_ARRAY_SUPPORT=void 0!==e.TYPED_ARRAY_SUPPORT?e.TYPED_ARRAY_SUPPORT:n(),r.kMaxLength=i(),a.poolSize=8192,a._augment=function(t){return t.__proto__=a.prototype,t},a.from=function(t,e,r){return s(null,t,e,r)},a.TYPED_ARRAY_SUPPORT&&(a.prototype.__proto__=Uint8Array.prototype,a.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&a[Symbol.species]===a&&Object.defineProperty(a,Symbol.species,{value:null,configurable:!0})),a.alloc=function(t,e,r){return u(null,t,e,r)},a.allocUnsafe=function(t){return h(null,t)},a.allocUnsafeSlow=function(t){return h(null,t)},a.isBuffer=function(t){return!(null==t||!t._isBuffer)},a.compare=function(t,e){if(!a.isBuffer(t)||!a.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);o>i;++i)if(t[i]!==e[i]){r=t[i],n=e[i];break}return n>r?-1:r>n?1:0},a.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"raw":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},a.concat=function(t,e){if(!W(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return a.alloc(0);var r;if(void 0===e)for(e=0,r=0;r<t.length;++r)e+=t[r].length;var n=a.allocUnsafe(e),i=0;for(r=0;r<t.length;++r){var o=t[r];if(!a.isBuffer(o))throw new TypeError('"list" argument must be an Array of Buffers');o.copy(n,i),i+=o.length}return n},a.byteLength=b,a.prototype._isBuffer=!0,a.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;t>e;e+=2)m(this,e,e+1);return this},a.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;t>e;e+=4)m(this,e,e+3),m(this,e+1,e+2);return this},a.prototype.toString=function(){var t=0|this.length;return 0===t?"":0===arguments.length?S(this,0,t):y.apply(this,arguments)},a.prototype.equals=function(t){if(!a.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t?!0:0===a.compare(this,t)},a.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+">"},a.prototype.compare=function(t,e,r,n,i){if(!a.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),0>e||r>t.length||0>n||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(e>>>=0,r>>>=0,n>>>=0,i>>>=0,this===t)return 0;for(var o=i-n,s=r-e,f=Math.min(o,s),u=this.slice(n,i),h=t.slice(e,r),l=0;f>l;++l)if(u[l]!==h[l]){o=u[l],s=h[l];break}return s>o?-1:o>s?1:0},a.prototype.indexOf=function(t,e,r){if("string"==typeof e?(r=e,e=0):e>2147483647?e=2147483647:-2147483648>e&&(e=-2147483648),e>>=0,0===this.length)return-1;if(e>=this.length)return-1;if(0>e&&(e=Math.max(this.length+e,0)),"string"==typeof t&&(t=a.from(t,r)),a.isBuffer(t))return 0===t.length?-1:v(this,t,e,r);if("number"==typeof t)return a.TYPED_ARRAY_SUPPORT&&"function"===Uint8Array.prototype.indexOf?Uint8Array.prototype.indexOf.call(this,t,e):v(this,[t],e,r);throw new TypeError("val must be string, number or Buffer")},a.prototype.includes=function(t,e,r){return-1!==this.indexOf(t,e,r)},a.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|e,isFinite(r)?(r=0|r,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&&(0>r||0>e)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var o=!1;;)switch(n){case"hex":return _(this,t,e,r);case"utf8":case"utf-8":return k(this,t,e,r);case"ascii":return E(this,t,e,r);case"binary":return A(this,t,e,r);case"base64":return R(this,t,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return B(this,t,e,r);default:if(o)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),o=!0}},a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var Q=4096;a.prototype.slice=function(t,e){var r=this.length;t=~~t,e=void 0===e?r:~~e,0>t?(t+=r,0>t&&(t=0)):t>r&&(t=r),0>e?(e+=r,0>e&&(e=0)):e>r&&(e=r),t>e&&(e=t);var n;if(a.TYPED_ARRAY_SUPPORT)n=this.subarray(t,e),n.__proto__=a.prototype;else{var i=e-t;n=new a(i,void 0);for(var o=0;i>o;++o)n[o]=this[o+t]}return n},a.prototype.readUIntLE=function(t,e,r){t=0|t,e=0|e,r||O(t,e,this.length);for(var n=this[t],i=1,o=0;++o<e&&(i*=256);)n+=this[t+o]*i;return n},a.prototype.readUIntBE=function(t,e,r){t=0|t,e=0|e,r||O(t,e,this.length);for(var n=this[t+--e],i=1;e>0&&(i*=256);)n+=this[t+--e]*i;return n},a.prototype.readUInt8=function(t,e){return e||O(t,1,this.length),this[t]},a.prototype.readUInt16LE=function(t,e){return e||O(t,2,this.length),this[t]|this[t+1]<<8},a.prototype.readUInt16BE=function(t,e){return e||O(t,2,this.length),this[t]<<8|this[t+1]},a.prototype.readUInt32LE=function(t,e){return e||O(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},a.prototype.readUInt32BE=function(t,e){return e||O(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},a.prototype.readIntLE=function(t,e,r){t=0|t,e=0|e,r||O(t,e,this.length);for(var n=this[t],i=1,o=0;++o<e&&(i*=256);)n+=this[t+o]*i;return i*=128,n>=i&&(n-=Math.pow(2,8*e)),n},a.prototype.readIntBE=function(t,e,r){t=0|t,e=0|e,r||O(t,e,this.length);for(var n=e,i=1,o=this[t+--n];n>0&&(i*=256);)o+=this[t+--n]*i;return i*=128,o>=i&&(o-=Math.pow(2,8*e)),o},a.prototype.readInt8=function(t,e){return e||O(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},a.prototype.readInt16LE=function(t,e){e||O(t,2,this.length);var r=this[t]|this[t+1]<<8;return 32768&r?4294901760|r:r},a.prototype.readInt16BE=function(t,e){e||O(t,2,this.length);var r=this[t+1]|this[t]<<8;return 32768&r?4294901760|r:r},a.prototype.readInt32LE=function(t,e){return e||O(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},a.prototype.readInt32BE=function(t,e){return e||O(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},a.prototype.readFloatLE=function(t,e){return e||O(t,4,this.length),J.read(this,t,!0,23,4)},a.prototype.readFloatBE=function(t,e){return e||O(t,4,this.length),J.read(this,t,!1,23,4)},a.prototype.readDoubleLE=function(t,e){return e||O(t,8,this.length),J.read(this,t,!0,52,8)},a.prototype.readDoubleBE=function(t,e){return e||O(t,8,this.length),J.read(this,t,!1,52,8)},a.prototype.writeUIntLE=function(t,e,r,n){if(t=+t,e=0|e,r=0|r,!n){var i=Math.pow(2,8*r)-1;L(this,t,e,r,i,0)}var o=1,a=0;for(this[e]=255&t;++a<r&&(o*=256);)this[e+a]=t/o&255;return e+r},a.prototype.writeUIntBE=function(t,e,r,n){if(t=+t,e=0|e,r=0|r,!n){var i=Math.pow(2,8*r)-1;L(this,t,e,r,i,0)}var o=r-1,a=1;for(this[e+o]=255&t;--o>=0&&(a*=256);)this[e+o]=t/a&255;return e+r},a.prototype.writeUInt8=function(t,e,r){return t=+t,e=0|e,r||L(this,t,e,1,255,0),a.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},a.prototype.writeUInt16LE=function(t,e,r){return t=+t,e=0|e,r||L(this,t,e,2,65535,0),a.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):Y(this,t,e,!0),e+2},a.prototype.writeUInt16BE=function(t,e,r){return t=+t,e=0|e,r||L(this,t,e,2,65535,0),a.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):Y(this,t,e,!1),e+2},a.prototype.writeUInt32LE=function(t,e,r){return t=+t,e=0|e,r||L(this,t,e,4,4294967295,0),a.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):D(this,t,e,!0),e+4},a.prototype.writeUInt32BE=function(t,e,r){return t=+t,e=0|e,r||L(this,t,e,4,4294967295,0),a.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):D(this,t,e,!1),e+4},a.prototype.writeIntLE=function(t,e,r,n){if(t=+t,e=0|e,!n){var i=Math.pow(2,8*r-1);L(this,t,e,r,i-1,-i)}var o=0,a=1,s=0;for(this[e]=255&t;++o<r&&(a*=256);)0>t&&0===s&&0!==this[e+o-1]&&(s=1),this[e+o]=(t/a>>0)-s&255;return e+r},a.prototype.writeIntBE=function(t,e,r,n){if(t=+t,e=0|e,!n){var i=Math.pow(2,8*r-1);L(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);)0>t&&0===s&&0!==this[e+o+1]&&(s=1),this[e+o]=(t/a>>0)-s&255;return e+r},a.prototype.writeInt8=function(t,e,r){return t=+t,e=0|e,r||L(this,t,e,1,127,-128),a.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),0>t&&(t=255+t+1),this[e]=255&t,e+1},a.prototype.writeInt16LE=function(t,e,r){return t=+t,e=0|e,r||L(this,t,e,2,32767,-32768),a.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):Y(this,t,e,!0),e+2},a.prototype.writeInt16BE=function(t,e,r){return t=+t,e=0|e,r||L(this,t,e,2,32767,-32768),a.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):Y(this,t,e,!1),e+2},a.prototype.writeInt32LE=function(t,e,r){return t=+t,e=0|e,r||L(this,t,e,4,2147483647,-2147483648),a.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):D(this,t,e,!0),e+4},a.prototype.writeInt32BE=function(t,e,r){return t=+t,e=0|e,r||L(this,t,e,4,2147483647,-2147483648),0>t&&(t=4294967295+t+1),a.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):D(this,t,e,!1),e+4},a.prototype.writeFloatLE=function(t,e,r){return M(this,t,e,!0,r)},a.prototype.writeFloatBE=function(t,e,r){return M(this,t,e,!1,r)},a.prototype.writeDoubleLE=function(t,e,r){return N(this,t,e,!0,r)},a.prototype.writeDoubleBE=function(t,e,r){return N(this,t,e,!1,r)},a.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&&r>n&&(n=r),n===r)return 0;if(0===t.length||0===this.length)return 0;if(0>e)throw new RangeError("targetStart out of bounds");if(0>r||r>=this.length)throw new RangeError("sourceStart out of bounds");if(0>n)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&&e>r&&n>e)for(i=o-1;i>=0;--i)t[i+e]=this[i+r];else if(1e3>o||!a.TYPED_ARRAY_SUPPORT)for(i=0;o>i;++i)t[i+e]=this[i+r];else Uint8Array.prototype.set.call(t,this.subarray(r,r+o),e);return o},a.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);256>i&&(t=i)}if(void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!a.isEncoding(n))throw new TypeError("Unknown encoding: "+n)}else"number"==typeof t&&(t=255&t);if(0>e||this.length<e||this.length<r)throw new RangeError("Out of range index");if(e>=r)return this;e>>>=0,r=void 0===r?this.length:r>>>0,t||(t=0);var o;if("number"==typeof t)for(o=e;r>o;++o)this[o]=t;else{var s=a.isBuffer(t)?t:j(new a(t,n).toString()),f=s.length;for(o=0;r-e>o;++o)this[o+e]=s[o%f]}return this};var tt=/[^+\/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(t,e,r){r.read=function(t,e,r,n,i){var o,a,s=8*i-n-1,f=(1<<s)-1,u=f>>1,h=-7,l=r?i-1:0,c=r?-1:1,d=t[e+l];for(l+=c,o=d&(1<<-h)-1,d>>=-h,h+=s;h>0;o=256*o+t[e+l],l+=c,h-=8);for(a=o&(1<<-h)-1,o>>=-h,h+=n;h>0;a=256*a+t[e+l],l+=c,h-=8);if(0===o)o=1-u;else{if(o===f)return a?NaN:(d?-1:1)*(1/0);a+=Math.pow(2,n),o-=u}return(d?-1:1)*a*Math.pow(2,o-n)},r.write=function(t,e,r,n,i,o){var a,s,f,u=8*o-i-1,h=(1<<u)-1,l=h>>1,c=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,d=n?0:o-1,g=n?1:-1,p=0>e||0===e&&0>1/e?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*(f=Math.pow(2,-a))<1&&(a--,f*=2),e+=a+l>=1?c/f:c*Math.pow(2,1-l),e*f>=2&&(a++,f/=2),a+l>=h?(s=0,a=h):a+l>=1?(s=(e*f-1)*Math.pow(2,i),a+=l):(s=e*Math.pow(2,l-1)*Math.pow(2,i),a=0));i>=8;t[r+d]=255&s,d+=g,s/=256,i-=8);for(a=a<<i|s,u+=i;u>0;t[r+d]=255&a,d+=g,a/=256,u-=8);t[r+d-g]|=128*p}},{}],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){"use strict";function n(t){if(!(this instanceof n))return new n(t);this.options=s.assign({chunkSize:16384,windowBits:0,to:""},t||{});var e=this.options;e.raw&&e.windowBits>=0&&e.windowBits<16&&(e.windowBits=-e.windowBits,0===e.windowBits&&(e.windowBits=-15)),!(e.windowBits>=0&&e.windowBits<16)||t&&t.windowBits||(e.windowBits+=32),e.windowBits>15&&e.windowBits<48&&0===(15&e.windowBits)&&(e.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new l,this.strm.avail_out=0;var r=a.inflateInit2(this.strm,e.windowBits);if(r!==u.Z_OK)throw new Error(h[r]);this.header=new c,a.inflateGetHeader(this.strm,this.header)}function i(t,e){var r=new n(e);if(r.push(t,!0),r.err)throw r.msg;return r.result}function o(t,e){return e=e||{},e.raw=!0,i(t,e)}var a=t("./zlib/inflate"),s=t("./utils/common"),f=t("./utils/strings"),u=t("./zlib/constants"),h=t("./zlib/messages"),l=t("./zlib/zstream"),c=t("./zlib/gzheader"),d=Object.prototype.toString;n.prototype.push=function(t,e){var r,n,i,o,h,l,c=this.strm,g=this.options.chunkSize,p=this.options.dictionary,w=!1;if(this.ended)return!1;n=e===~~e?e:e===!0?u.Z_FINISH:u.Z_NO_FLUSH,"string"==typeof t?c.input=f.binstring2buf(t):"[object ArrayBuffer]"===d.call(t)?c.input=new Uint8Array(t):c.input=t,c.next_in=0,c.avail_in=c.input.length;do{if(0===c.avail_out&&(c.output=new s.Buf8(g),c.next_out=0,c.avail_out=g),r=a.inflate(c,u.Z_NO_FLUSH),r===u.Z_NEED_DICT&&p&&(l="string"==typeof p?f.string2buf(p):"[object ArrayBuffer]"===d.call(p)?new Uint8Array(p):p,r=a.inflateSetDictionary(this.strm,l)),r===u.Z_BUF_ERROR&&w===!0&&(r=u.Z_OK,w=!1),r!==u.Z_STREAM_END&&r!==u.Z_OK)return this.onEnd(r),this.ended=!0,!1;c.next_out&&(0===c.avail_out||r===u.Z_STREAM_END||0===c.avail_in&&(n===u.Z_FINISH||n===u.Z_SYNC_FLUSH))&&("string"===this.options.to?(i=f.utf8border(c.output,c.next_out),o=c.next_out-i,h=f.buf2string(c.output,i),c.next_out=o,c.avail_out=g-o,o&&s.arraySet(c.output,c.output,i,o,0),this.onData(h)):this.onData(s.shrinkBuf(c.output,c.next_out))),0===c.avail_in&&0===c.avail_out&&(w=!0)}while((c.avail_in>0||0===c.avail_out)&&r!==u.Z_STREAM_END);return r===u.Z_STREAM_END&&(n=u.Z_FINISH),n===u.Z_FINISH?(r=a.inflateEnd(this.strm),this.onEnd(r),this.ended=!0,r===u.Z_OK):n===u.Z_SYNC_FLUSH?(this.onEnd(u.Z_OK),c.avail_out=0,!0):!0},n.prototype.onData=function(t){this.chunks.push(t)},n.prototype.onEnd=function(t){t===u.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=s.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg},r.Inflate=n,r.inflate=i,r.inflateRaw=o,r.ungzip=i},{"./utils/common":6,"./utils/strings":7,"./zlib/constants":9,"./zlib/gzheader":11,"./zlib/inflate":13,"./zlib/messages":15,"./zlib/zstream":16}],6:[function(t,e,r){"use strict";var n="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;r.assign=function(t){for(var e=Array.prototype.slice.call(arguments,1);e.length;){var r=e.shift();if(r){if("object"!=typeof r)throw new TypeError(r+"must be non-object");for(var n in r)r.hasOwnProperty(n)&&(t[n]=r[n])}}return t},r.shrinkBuf=function(t,e){return t.length===e?t:t.subarray?t.subarray(0,e):(t.length=e,t)};var i={arraySet:function(t,e,r,n,i){if(e.subarray&&t.subarray)return void t.set(e.subarray(r,r+n),i);for(var o=0;n>o;o++)t[i+o]=e[r+o]},flattenChunks:function(t){var e,r,n,i,o,a;for(n=0,e=0,r=t.length;r>e;e++)n+=t[e].length;for(a=new Uint8Array(n),i=0,e=0,r=t.length;r>e;e++)o=t[e],a.set(o,i),i+=o.length;return a}},o={arraySet:function(t,e,r,n,i){for(var o=0;n>o;o++)t[i+o]=e[r+o]},flattenChunks:function(t){return[].concat.apply([],t)}};r.setTyped=function(t){t?(r.Buf8=Uint8Array,r.Buf16=Uint16Array,r.Buf32=Int32Array,r.assign(r,i)):(r.Buf8=Array,r.Buf16=Array,r.Buf32=Array,r.assign(r,o))},r.setTyped(n)},{}],7:[function(t,e,r){"use strict";function n(t,e){if(65537>e&&(t.subarray&&a||!t.subarray&&o))return String.fromCharCode.apply(null,i.shrinkBuf(t,e));for(var r="",n=0;e>n;n++)r+=String.fromCharCode(t[n]);return r}var i=t("./common"),o=!0,a=!0;try{String.fromCharCode.apply(null,[0])}catch(s){o=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(s){a=!1}for(var f=new i.Buf8(256),u=0;256>u;u++)f[u]=u>=252?6:u>=248?5:u>=240?4:u>=224?3:u>=192?2:1;f[254]=f[254]=1,r.string2buf=function(t){var e,r,n,o,a,s=t.length,f=0;for(o=0;s>o;o++)r=t.charCodeAt(o),55296===(64512&r)&&s>o+1&&(n=t.charCodeAt(o+1),56320===(64512&n)&&(r=65536+(r-55296<<10)+(n-56320),o++)),f+=128>r?1:2048>r?2:65536>r?3:4;for(e=new i.Buf8(f),a=0,o=0;f>a;o++)r=t.charCodeAt(o),55296===(64512&r)&&s>o+1&&(n=t.charCodeAt(o+1),56320===(64512&n)&&(r=65536+(r-55296<<10)+(n-56320),o++)),128>r?e[a++]=r:2048>r?(e[a++]=192|r>>>6,e[a++]=128|63&r):65536>r?(e[a++]=224|r>>>12,e[a++]=128|r>>>6&63,e[a++]=128|63&r):(e[a++]=240|r>>>18,e[a++]=128|r>>>12&63,e[a++]=128|r>>>6&63,e[a++]=128|63&r);return e},r.buf2binstring=function(t){return n(t,t.length)},r.binstring2buf=function(t){for(var e=new i.Buf8(t.length),r=0,n=e.length;n>r;r++)e[r]=t.charCodeAt(r);return e},r.buf2string=function(t,e){var r,i,o,a,s=e||t.length,u=new Array(2*s);for(i=0,r=0;s>r;)if(o=t[r++],128>o)u[i++]=o;else if(a=f[o],a>4)u[i++]=65533,r+=a-1;else{for(o&=2===a?31:3===a?15:7;a>1&&s>r;)o=o<<6|63&t[r++],a--;a>1?u[i++]=65533:65536>o?u[i++]=o:(o-=65536,u[i++]=55296|o>>10&1023,u[i++]=56320|1023&o)}return n(u,i)},r.utf8border=function(t,e){var r;for(e=e||t.length,e>t.length&&(e=t.length),r=e-1;r>=0&&128===(192&t[r]);)r--;return 0>r?e:0===r?e:r+f[t[r]]>e?r:e}},{"./common":6}],8:[function(t,e,r){"use strict";function n(t,e,r,n){for(var i=65535&t|0,o=t>>>16&65535|0,a=0;0!==r;){a=r>2e3?2e3:r,r-=a;do i=i+e[n++]|0,o=o+i|0;while(--a);i%=65521,o%=65521}return i|o<<16|0}e.exports=n},{}],9:[function(t,e,r){"use strict";e.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],10:[function(t,e,r){"use strict";function n(){for(var t,e=[],r=0;256>r;r++){t=r;for(var n=0;8>n;n++)t=1&t?3988292384^t>>>1:t>>>1;e[r]=t}return e}function i(t,e,r,n){var i=o,a=n+r;t^=-1;for(var s=n;a>s;s++)t=t>>>8^i[255&(t^e[s])];return-1^t}var o=n();e.exports=i},{}],11:[function(t,e,r){"use strict";function n(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}e.exports=n},{}],12:[function(t,e,r){"use strict";var n=30,i=12;e.exports=function(t,e){var r,o,a,s,f,u,h,l,c,d,g,p,w,b,y,m,v,_,k,E,A,R,B,x,S;r=t.state,o=t.next_in,x=t.input,a=o+(t.avail_in-5),s=t.next_out,S=t.output,f=s-(e-t.avail_out),u=s+(t.avail_out-257),h=r.dmax,l=r.wsize,c=r.whave,d=r.wnext,g=r.window,p=r.hold,w=r.bits,b=r.lencode,y=r.distcode,m=(1<<r.lenbits)-1,v=(1<<r.distbits)-1;t:do{15>w&&(p+=x[o++]<<w,w+=8,p+=x[o++]<<w,w+=8),_=b[p&m];e:for(;;){if(k=_>>>24,p>>>=k,w-=k,k=_>>>16&255,0===k)S[s++]=65535&_;else{if(!(16&k)){if(0===(64&k)){_=b[(65535&_)+(p&(1<<k)-1)];continue e}if(32&k){r.mode=i;break t}t.msg="invalid literal/length code",r.mode=n;break t}E=65535&_,k&=15,k&&(k>w&&(p+=x[o++]<<w,w+=8),E+=p&(1<<k)-1,p>>>=k,w-=k),15>w&&(p+=x[o++]<<w,w+=8,p+=x[o++]<<w,w+=8),_=y[p&v];r:for(;;){if(k=_>>>24,p>>>=k,w-=k,k=_>>>16&255,!(16&k)){if(0===(64&k)){_=y[(65535&_)+(p&(1<<k)-1)];continue r}t.msg="invalid distance code",r.mode=n;break t}if(A=65535&_,k&=15,k>w&&(p+=x[o++]<<w,w+=8,k>w&&(p+=x[o++]<<w,w+=8)),A+=p&(1<<k)-1,A>h){t.msg="invalid distance too far back",r.mode=n;break t}if(p>>>=k,w-=k,k=s-f,A>k){if(k=A-k,k>c&&r.sane){t.msg="invalid distance too far back",r.mode=n;break t}if(R=0,B=g,0===d){if(R+=l-k,E>k){E-=k;do S[s++]=g[R++];while(--k);R=s-A,B=S}}else if(k>d){if(R+=l+d-k,k-=d,E>k){E-=k;do S[s++]=g[R++];while(--k);if(R=0,E>d){k=d,E-=k;do S[s++]=g[R++];while(--k);R=s-A,B=S}}}else if(R+=d-k,E>k){E-=k;do S[s++]=g[R++];while(--k);R=s-A,B=S}for(;E>2;)S[s++]=B[R++],S[s++]=B[R++],S[s++]=B[R++],E-=3;E&&(S[s++]=B[R++],E>1&&(S[s++]=B[R++]))}else{R=s-A;do S[s++]=S[R++],S[s++]=S[R++],S[s++]=S[R++],E-=3;while(E>2);E&&(S[s++]=S[R++],E>1&&(S[s++]=S[R++]))}break}}break}}while(a>o&&u>s);E=w>>3,o-=E,w-=E<<3,p&=(1<<w)-1,t.next_in=o,t.next_out=s,t.avail_in=a>o?5+(a-o):5-(o-a),t.avail_out=u>s?257+(u-s):257-(s-u),r.hold=p,r.bits=w}},{}],13:[function(t,e,r){"use strict";function n(t){return(t>>>24&255)+(t>>>8&65280)+((65280&t)<<8)+((255&t)<<24)}function i(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new y.Buf16(320),this.work=new y.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function o(t){var e;return t&&t.state?(e=t.state,t.total_in=t.total_out=e.total=0,t.msg="",e.wrap&&(t.adler=1&e.wrap),e.mode=D,e.last=0,e.havedict=0,e.dmax=32768,e.head=null,e.hold=0,e.bits=0,e.lencode=e.lendyn=new y.Buf32(pt),e.distcode=e.distdyn=new y.Buf32(wt),e.sane=1,e.back=-1,T):I}function a(t){var e;return t&&t.state?(e=t.state,e.wsize=0,e.whave=0,e.wnext=0,o(t)):I}function s(t,e){var r,n;return t&&t.state?(n=t.state,0>e?(r=0,e=-e):(r=(e>>4)+1,48>e&&(e&=15)),e&&(8>e||e>15)?I:(null!==n.window&&n.wbits!==e&&(n.window=null),n.wrap=r,n.wbits=e,a(t))):I}function f(t,e){var r,n;return t?(n=new i,t.state=n,n.window=null,r=s(t,e),r!==T&&(t.state=null),r):I}function u(t){return f(t,yt)}function h(t){if(mt){var e;for(w=new y.Buf32(512),b=new y.Buf32(32), e=0;144>e;)t.lens[e++]=8;for(;256>e;)t.lens[e++]=9;for(;280>e;)t.lens[e++]=7;for(;288>e;)t.lens[e++]=8;for(k(A,t.lens,0,288,w,0,t.work,{bits:9}),e=0;32>e;)t.lens[e++]=5;k(R,t.lens,0,32,b,0,t.work,{bits:5}),mt=!1}t.lencode=w,t.lenbits=9,t.distcode=b,t.distbits=5}function l(t,e,r,n){var i,o=t.state;return null===o.window&&(o.wsize=1<<o.wbits,o.wnext=0,o.whave=0,o.window=new y.Buf8(o.wsize)),n>=o.wsize?(y.arraySet(o.window,e,r-o.wsize,o.wsize,0),o.wnext=0,o.whave=o.wsize):(i=o.wsize-o.wnext,i>n&&(i=n),y.arraySet(o.window,e,r-n,i,o.wnext),n-=i,n?(y.arraySet(o.window,e,r-n,n,0),o.wnext=n,o.whave=o.wsize):(o.wnext+=i,o.wnext===o.wsize&&(o.wnext=0),o.whave<o.wsize&&(o.whave+=i))),0}function c(t,e){var r,i,o,a,s,f,u,c,d,g,p,w,b,pt,wt,bt,yt,mt,vt,_t,kt,Et,At,Rt,Bt=0,xt=new y.Buf8(4),St=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!t||!t.state||!t.output||!t.input&&0!==t.avail_in)return I;r=t.state,r.mode===G&&(r.mode=V),s=t.next_out,o=t.output,u=t.avail_out,a=t.next_in,i=t.input,f=t.avail_in,c=r.hold,d=r.bits,g=f,p=u,Et=T;t:for(;;)switch(r.mode){case D:if(0===r.wrap){r.mode=V;break}for(;16>d;){if(0===f)break t;f--,c+=i[a++]<<d,d+=8}if(2&r.wrap&&35615===c){r.check=0,xt[0]=255&c,xt[1]=c>>>8&255,r.check=v(r.check,xt,2,0),c=0,d=0,r.mode=Z;break}if(r.flags=0,r.head&&(r.head.done=!1),!(1&r.wrap)||(((255&c)<<8)+(c>>8))%31){t.msg="incorrect header check",r.mode=ct;break}if((15&c)!==Y){t.msg="unknown compression method",r.mode=ct;break}if(c>>>=4,d-=4,kt=(15&c)+8,0===r.wbits)r.wbits=kt;else if(kt>r.wbits){t.msg="invalid window size",r.mode=ct;break}r.dmax=1<<kt,t.adler=r.check=1,r.mode=512&c?q:G,c=0,d=0;break;case Z:for(;16>d;){if(0===f)break t;f--,c+=i[a++]<<d,d+=8}if(r.flags=c,(255&r.flags)!==Y){t.msg="unknown compression method",r.mode=ct;break}if(57344&r.flags){t.msg="unknown header flags set",r.mode=ct;break}r.head&&(r.head.text=c>>8&1),512&r.flags&&(xt[0]=255&c,xt[1]=c>>>8&255,r.check=v(r.check,xt,2,0)),c=0,d=0,r.mode=M;case M:for(;32>d;){if(0===f)break t;f--,c+=i[a++]<<d,d+=8}r.head&&(r.head.time=c),512&r.flags&&(xt[0]=255&c,xt[1]=c>>>8&255,xt[2]=c>>>16&255,xt[3]=c>>>24&255,r.check=v(r.check,xt,4,0)),c=0,d=0,r.mode=N;case N:for(;16>d;){if(0===f)break t;f--,c+=i[a++]<<d,d+=8}r.head&&(r.head.xflags=255&c,r.head.os=c>>8),512&r.flags&&(xt[0]=255&c,xt[1]=c>>>8&255,r.check=v(r.check,xt,2,0)),c=0,d=0,r.mode=z;case z:if(1024&r.flags){for(;16>d;){if(0===f)break t;f--,c+=i[a++]<<d,d+=8}r.length=c,r.head&&(r.head.extra_len=c),512&r.flags&&(xt[0]=255&c,xt[1]=c>>>8&255,r.check=v(r.check,xt,2,0)),c=0,d=0}else r.head&&(r.head.extra=null);r.mode=F;case F:if(1024&r.flags&&(w=r.length,w>f&&(w=f),w&&(r.head&&(kt=r.head.extra_len-r.length,r.head.extra||(r.head.extra=new Array(r.head.extra_len)),y.arraySet(r.head.extra,i,a,w,kt)),512&r.flags&&(r.check=v(r.check,i,w,a)),f-=w,a+=w,r.length-=w),r.length))break t;r.length=0,r.mode=H;case H:if(2048&r.flags){if(0===f)break t;w=0;do kt=i[a+w++],r.head&&kt&&r.length<65536&&(r.head.name+=String.fromCharCode(kt));while(kt&&f>w);if(512&r.flags&&(r.check=v(r.check,i,w,a)),f-=w,a+=w,kt)break t}else r.head&&(r.head.name=null);r.length=0,r.mode=j;case j:if(4096&r.flags){if(0===f)break t;w=0;do kt=i[a+w++],r.head&&kt&&r.length<65536&&(r.head.comment+=String.fromCharCode(kt));while(kt&&f>w);if(512&r.flags&&(r.check=v(r.check,i,w,a)),f-=w,a+=w,kt)break t}else r.head&&(r.head.comment=null);r.mode=K;case K:if(512&r.flags){for(;16>d;){if(0===f)break t;f--,c+=i[a++]<<d,d+=8}if(c!==(65535&r.check)){t.msg="header crc mismatch",r.mode=ct;break}c=0,d=0}r.head&&(r.head.hcrc=r.flags>>9&1,r.head.done=!0),t.adler=r.check=0,r.mode=G;break;case q:for(;32>d;){if(0===f)break t;f--,c+=i[a++]<<d,d+=8}t.adler=r.check=n(c),c=0,d=0,r.mode=X;case X:if(0===r.havedict)return t.next_out=s,t.avail_out=u,t.next_in=a,t.avail_in=f,r.hold=c,r.bits=d,P;t.adler=r.check=1,r.mode=G;case G:if(e===x||e===S)break t;case V:if(r.last){c>>>=7&d,d-=7&d,r.mode=ut;break}for(;3>d;){if(0===f)break t;f--,c+=i[a++]<<d,d+=8}switch(r.last=1&c,c>>>=1,d-=1,3&c){case 0:r.mode=$;break;case 1:if(h(r),r.mode=rt,e===S){c>>>=2,d-=2;break t}break;case 2:r.mode=Q;break;case 3:t.msg="invalid block type",r.mode=ct}c>>>=2,d-=2;break;case $:for(c>>>=7&d,d-=7&d;32>d;){if(0===f)break t;f--,c+=i[a++]<<d,d+=8}if((65535&c)!==(c>>>16^65535)){t.msg="invalid stored block lengths",r.mode=ct;break}if(r.length=65535&c,c=0,d=0,r.mode=J,e===S)break t;case J:r.mode=W;case W:if(w=r.length){if(w>f&&(w=f),w>u&&(w=u),0===w)break t;y.arraySet(o,i,a,w,s),f-=w,a+=w,u-=w,s+=w,r.length-=w;break}r.mode=G;break;case Q:for(;14>d;){if(0===f)break t;f--,c+=i[a++]<<d,d+=8}if(r.nlen=(31&c)+257,c>>>=5,d-=5,r.ndist=(31&c)+1,c>>>=5,d-=5,r.ncode=(15&c)+4,c>>>=4,d-=4,r.nlen>286||r.ndist>30){t.msg="too many length or distance symbols",r.mode=ct;break}r.have=0,r.mode=tt;case tt:for(;r.have<r.ncode;){for(;3>d;){if(0===f)break t;f--,c+=i[a++]<<d,d+=8}r.lens[St[r.have++]]=7&c,c>>>=3,d-=3}for(;r.have<19;)r.lens[St[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,At={bits:r.lenbits},Et=k(E,r.lens,0,19,r.lencode,0,r.work,At),r.lenbits=At.bits,Et){t.msg="invalid code lengths set",r.mode=ct;break}r.have=0,r.mode=et;case et:for(;r.have<r.nlen+r.ndist;){for(;Bt=r.lencode[c&(1<<r.lenbits)-1],wt=Bt>>>24,bt=Bt>>>16&255,yt=65535&Bt,!(d>=wt);){if(0===f)break t;f--,c+=i[a++]<<d,d+=8}if(16>yt)c>>>=wt,d-=wt,r.lens[r.have++]=yt;else{if(16===yt){for(Rt=wt+2;Rt>d;){if(0===f)break t;f--,c+=i[a++]<<d,d+=8}if(c>>>=wt,d-=wt,0===r.have){t.msg="invalid bit length repeat",r.mode=ct;break}kt=r.lens[r.have-1],w=3+(3&c),c>>>=2,d-=2}else if(17===yt){for(Rt=wt+3;Rt>d;){if(0===f)break t;f--,c+=i[a++]<<d,d+=8}c>>>=wt,d-=wt,kt=0,w=3+(7&c),c>>>=3,d-=3}else{for(Rt=wt+7;Rt>d;){if(0===f)break t;f--,c+=i[a++]<<d,d+=8}c>>>=wt,d-=wt,kt=0,w=11+(127&c),c>>>=7,d-=7}if(r.have+w>r.nlen+r.ndist){t.msg="invalid bit length repeat",r.mode=ct;break}for(;w--;)r.lens[r.have++]=kt}}if(r.mode===ct)break;if(0===r.lens[256]){t.msg="invalid code -- missing end-of-block",r.mode=ct;break}if(r.lenbits=9,At={bits:r.lenbits},Et=k(A,r.lens,0,r.nlen,r.lencode,0,r.work,At),r.lenbits=At.bits,Et){t.msg="invalid literal/lengths set",r.mode=ct;break}if(r.distbits=6,r.distcode=r.distdyn,At={bits:r.distbits},Et=k(R,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,At),r.distbits=At.bits,Et){t.msg="invalid distances set",r.mode=ct;break}if(r.mode=rt,e===S)break t;case rt:r.mode=nt;case nt:if(f>=6&&u>=258){t.next_out=s,t.avail_out=u,t.next_in=a,t.avail_in=f,r.hold=c,r.bits=d,_(t,p),s=t.next_out,o=t.output,u=t.avail_out,a=t.next_in,i=t.input,f=t.avail_in,c=r.hold,d=r.bits,r.mode===G&&(r.back=-1);break}for(r.back=0;Bt=r.lencode[c&(1<<r.lenbits)-1],wt=Bt>>>24,bt=Bt>>>16&255,yt=65535&Bt,!(d>=wt);){if(0===f)break t;f--,c+=i[a++]<<d,d+=8}if(bt&&0===(240&bt)){for(mt=wt,vt=bt,_t=yt;Bt=r.lencode[_t+((c&(1<<mt+vt)-1)>>mt)],wt=Bt>>>24,bt=Bt>>>16&255,yt=65535&Bt,!(d>=mt+wt);){if(0===f)break t;f--,c+=i[a++]<<d,d+=8}c>>>=mt,d-=mt,r.back+=mt}if(c>>>=wt,d-=wt,r.back+=wt,r.length=yt,0===bt){r.mode=ft;break}if(32&bt){r.back=-1,r.mode=G;break}if(64&bt){t.msg="invalid literal/length code",r.mode=ct;break}r.extra=15&bt,r.mode=it;case it:if(r.extra){for(Rt=r.extra;Rt>d;){if(0===f)break t;f--,c+=i[a++]<<d,d+=8}r.length+=c&(1<<r.extra)-1,c>>>=r.extra,d-=r.extra,r.back+=r.extra}r.was=r.length,r.mode=ot;case ot:for(;Bt=r.distcode[c&(1<<r.distbits)-1],wt=Bt>>>24,bt=Bt>>>16&255,yt=65535&Bt,!(d>=wt);){if(0===f)break t;f--,c+=i[a++]<<d,d+=8}if(0===(240&bt)){for(mt=wt,vt=bt,_t=yt;Bt=r.distcode[_t+((c&(1<<mt+vt)-1)>>mt)],wt=Bt>>>24,bt=Bt>>>16&255,yt=65535&Bt,!(d>=mt+wt);){if(0===f)break t;f--,c+=i[a++]<<d,d+=8}c>>>=mt,d-=mt,r.back+=mt}if(c>>>=wt,d-=wt,r.back+=wt,64&bt){t.msg="invalid distance code",r.mode=ct;break}r.offset=yt,r.extra=15&bt,r.mode=at;case at:if(r.extra){for(Rt=r.extra;Rt>d;){if(0===f)break t;f--,c+=i[a++]<<d,d+=8}r.offset+=c&(1<<r.extra)-1,c>>>=r.extra,d-=r.extra,r.back+=r.extra}if(r.offset>r.dmax){t.msg="invalid distance too far back",r.mode=ct;break}r.mode=st;case st:if(0===u)break t;if(w=p-u,r.offset>w){if(w=r.offset-w,w>r.whave&&r.sane){t.msg="invalid distance too far back",r.mode=ct;break}w>r.wnext?(w-=r.wnext,b=r.wsize-w):b=r.wnext-w,w>r.length&&(w=r.length),pt=r.window}else pt=o,b=s-r.offset,w=r.length;w>u&&(w=u),u-=w,r.length-=w;do o[s++]=pt[b++];while(--w);0===r.length&&(r.mode=nt);break;case ft:if(0===u)break t;o[s++]=r.length,u--,r.mode=nt;break;case ut:if(r.wrap){for(;32>d;){if(0===f)break t;f--,c|=i[a++]<<d,d+=8}if(p-=u,t.total_out+=p,r.total+=p,p&&(t.adler=r.check=r.flags?v(r.check,o,p,s-p):m(r.check,o,p,s-p)),p=u,(r.flags?c:n(c))!==r.check){t.msg="incorrect data check",r.mode=ct;break}c=0,d=0}r.mode=ht;case ht:if(r.wrap&&r.flags){for(;32>d;){if(0===f)break t;f--,c+=i[a++]<<d,d+=8}if(c!==(4294967295&r.total)){t.msg="incorrect length check",r.mode=ct;break}c=0,d=0}r.mode=lt;case lt:Et=U;break t;case ct:Et=C;break t;case dt:return O;case gt:default:return I}return t.next_out=s,t.avail_out=u,t.next_in=a,t.avail_in=f,r.hold=c,r.bits=d,(r.wsize||p!==t.avail_out&&r.mode<ct&&(r.mode<ut||e!==B))&&l(t,t.output,t.next_out,p-t.avail_out)?(r.mode=dt,O):(g-=t.avail_in,p-=t.avail_out,t.total_in+=g,t.total_out+=p,r.total+=p,r.wrap&&p&&(t.adler=r.check=r.flags?v(r.check,o,p,t.next_out-p):m(r.check,o,p,t.next_out-p)),t.data_type=r.bits+(r.last?64:0)+(r.mode===G?128:0)+(r.mode===rt||r.mode===J?256:0),(0===g&&0===p||e===B)&&Et===T&&(Et=L),Et)}function d(t){if(!t||!t.state)return I;var e=t.state;return e.window&&(e.window=null),t.state=null,T}function g(t,e){var r;return t&&t.state?(r=t.state,0===(2&r.wrap)?I:(r.head=e,e.done=!1,T)):I}function p(t,e){var r,n,i,o=e.length;return t&&t.state?(r=t.state,0!==r.wrap&&r.mode!==X?I:r.mode===X&&(n=1,n=m(n,e,o,0),n!==r.check)?C:(i=l(t,e,o,o))?(r.mode=dt,O):(r.havedict=1,T)):I}var w,b,y=t("../utils/common"),m=t("./adler32"),v=t("./crc32"),_=t("./inffast"),k=t("./inftrees"),E=0,A=1,R=2,B=4,x=5,S=6,T=0,U=1,P=2,I=-2,C=-3,O=-4,L=-5,Y=8,D=1,Z=2,M=3,N=4,z=5,F=6,H=7,j=8,K=9,q=10,X=11,G=12,V=13,$=14,J=15,W=16,Q=17,tt=18,et=19,rt=20,nt=21,it=22,ot=23,at=24,st=25,ft=26,ut=27,ht=28,lt=29,ct=30,dt=31,gt=32,pt=852,wt=592,bt=15,yt=bt,mt=!0;r.inflateReset=a,r.inflateReset2=s,r.inflateResetKeep=o,r.inflateInit=u,r.inflateInit2=f,r.inflate=c,r.inflateEnd=d,r.inflateGetHeader=g,r.inflateSetDictionary=p,r.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":6,"./adler32":8,"./crc32":10,"./inffast":12,"./inftrees":14}],14:[function(t,e,r){"use strict";var n=t("../utils/common"),i=15,o=852,a=592,s=0,f=1,u=2,h=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],l=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],c=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],d=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];e.exports=function(t,e,r,g,p,w,b,y){var m,v,_,k,E,A,R,B,x,S=y.bits,T=0,U=0,P=0,I=0,C=0,O=0,L=0,Y=0,D=0,Z=0,M=null,N=0,z=new n.Buf16(i+1),F=new n.Buf16(i+1),H=null,j=0;for(T=0;i>=T;T++)z[T]=0;for(U=0;g>U;U++)z[e[r+U]]++;for(C=S,I=i;I>=1&&0===z[I];I--);if(C>I&&(C=I),0===I)return p[w++]=20971520,p[w++]=20971520,y.bits=1,0;for(P=1;I>P&&0===z[P];P++);for(P>C&&(C=P),Y=1,T=1;i>=T;T++)if(Y<<=1,Y-=z[T],0>Y)return-1;if(Y>0&&(t===s||1!==I))return-1;for(F[1]=0,T=1;i>T;T++)F[T+1]=F[T]+z[T];for(U=0;g>U;U++)0!==e[r+U]&&(b[F[e[r+U]]++]=U);if(t===s?(M=H=b,A=19):t===f?(M=h,N-=257,H=l,j-=257,A=256):(M=c,H=d,A=-1),Z=0,U=0,T=P,E=w,O=C,L=0,_=-1,D=1<<C,k=D-1,t===f&&D>o||t===u&&D>a)return 1;for(var K=0;;){K++,R=T-L,b[U]<A?(B=0,x=b[U]):b[U]>A?(B=H[j+b[U]],x=M[N+b[U]]):(B=96,x=0),m=1<<T-L,v=1<<O,P=v;do v-=m,p[E+(Z>>L)+v]=R<<24|B<<16|x|0;while(0!==v);for(m=1<<T-1;Z&m;)m>>=1;if(0!==m?(Z&=m-1,Z+=m):Z=0,U++,0===--z[T]){if(T===I)break;T=e[r+b[U]]}if(T>C&&(Z&k)!==_){for(0===L&&(L=C),E+=P,O=T-L,Y=1<<O;I>O+L&&(Y-=z[O+L],!(0>=Y));)O++,Y<<=1;if(D+=1<<O,t===f&&D>o||t===u&&D>a)return 1;_=Z&k,p[_]=C<<24|O<<16|E-w|0}}return 0!==Z&&(p[E+Z]=T-L<<24|64<<16|0),y.bits=C,0}},{"../utils/common":6}],15:[function(t,e,r){"use strict";e.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],16:[function(t,e,r){"use strict";function n(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}e.exports=n},{}],17:[function(t,e,r){e.exports=t("./lib/urlsafe-base64")},{"./lib/urlsafe-base64":18}],18:[function(t,e,r){(function(t){r.version="1.0.0",r.encode=function(t){return t.toString("base64").replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")},r.decode=function(e){return e+=Array(5-e.length%4).join("="),e=e.replace(/\-/g,"+").replace(/\_/g,"/"),new t(e,"base64")},r.validate=function(t){return/^[A-Za-z0-9\-_]+$/.test(t)}}).call(this,t("buffer").Buffer)},{buffer:2}],19:[function(t,e,r){function n(t){var e=h(t),r=u(e,{to:"string"});return r}function i(t){try{window.eval(t)}catch(e){console.warn("UserHTML error!",e,t)}}function o(t){g++,g===c.length&&d.forEach(i)}function a(t){console.warn("UserHTML external script error!",t)}function s(t){var e=document.querySelector("head"),r=document.createElement("script");r.type="text/javascript",r.onload=o,r.onerror=a,r.src=t,e.appendChild(r)}function f(t){l.innerHTML=t;for(var e=l.querySelectorAll("script"),r=0,n=e.length;n>r;r++){var o=e[r];o.src?c.push(o.src):o.textContent&&d.push(o.textContent)}c.length>0?c.forEach(s):0===c.length&&d.forEach(i)}var u=t("pako/lib/inflate").inflate,h=t("urlsafe-base64").decode,l=document.getElementById("userhtml"),c=[],d=[],g=0,p=window.location.href.split("?g=")[1];if(p){var w=n(p);f(w)}else f("This page intentionally (?) left blank.")},{"pako/lib/inflate":5,"urlsafe-base64":17}]},{},[19]);