@alicloud-emas/apm 1.0.0 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.js CHANGED
@@ -1,3 +1,3 @@
1
- module.exports=function(t){var e={};function r(n){if(e[n])return e[n].exports;var i=e[n]={i:n,l:!1,exports:{}};return t[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)r.d(n,i,function(e){return t[e]}.bind(null,i));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=78)}([function(t,e){var r=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=r)},function(t,e){var r=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=r)},function(t,e,r){var n=r(1),i=r(0),o=r(11),a=r(8),s=r(9),u=function(t,e,r){var c,l,f,h=t&u.F,d=t&u.G,p=t&u.S,_=t&u.P,v=t&u.B,w=t&u.W,g=d?i:i[e]||(i[e]={}),b=g.prototype,m=d?n:p?n[e]:(n[e]||{}).prototype;for(c in d&&(r=e),r)(l=!h&&m&&void 0!==m[c])&&s(g,c)||(f=l?m[c]:r[c],g[c]=d&&"function"!=typeof m[c]?r[c]:v&&l?o(f,n):w&&m[c]==f?function(t){var e=function(e,r,n){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,r)}return new t(e,r,n)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(f):_&&"function"==typeof f?o(Function.call,f):f,_&&((g.virtual||(g.virtual={}))[c]=f,t&u.R&&b&&!b[c]&&a(b,c,f)))};u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,t.exports=u},function(t,e,r){var n=r(33)("wks"),i=r(22),o=r(1).Symbol,a="function"==typeof o;(t.exports=function(t){return n[t]||(n[t]=a&&o[t]||(a?o:i)("Symbol."+t))}).store=n},function(t,e,r){var n=r(5),i=r(49),o=r(29),a=Object.defineProperty;e.f=r(7)?Object.defineProperty:function(t,e,r){if(n(t),e=o(e,!0),n(r),i)try{return a(t,e,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return"value"in r&&(t[e]=r.value),t}},function(t,e,r){var n=r(6);t.exports=function(t){if(!n(t))throw TypeError(t+" is not an object!");return t}},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,r){t.exports=!r(12)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(t,e,r){var n=r(4),i=r(14);t.exports=r(7)?function(t,e,r){return n.f(t,e,i(1,r))}:function(t,e,r){return t[e]=r,t}},function(t,e){var r={}.hasOwnProperty;t.exports=function(t,e){return r.call(t,e)}},function(t,e,r){t.exports=r(27)},function(t,e,r){var n=r(20);t.exports=function(t,e,r){if(n(t),void 0===e)return t;switch(r){case 1:return function(r){return t.call(e,r)};case 2:return function(r,n){return t.call(e,r,n)};case 3:return function(r,n,i){return t.call(e,r,n,i)}}return function(){return t.apply(e,arguments)}}},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,r){var n=r(84),i=r(26);t.exports=function(t){return n(i(t))}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e){t.exports=!0},function(t,e){var r={}.toString;t.exports=function(t){return r.call(t).slice(8,-1)}},function(t,e,r){var n=r(26);t.exports=function(t){return Object(n(t))}},function(t,e){t.exports={}},function(t,e,r){(function(e){var n;t.exports=(n=n||function(t,n){var i;if("undefined"!=typeof window&&window.crypto&&(i=window.crypto),"undefined"!=typeof self&&self.crypto&&(i=self.crypto),"undefined"!=typeof globalThis&&globalThis.crypto&&(i=globalThis.crypto),!i&&"undefined"!=typeof window&&window.msCrypto&&(i=window.msCrypto),!i&&void 0!==e&&e.crypto&&(i=e.crypto),!i)try{i=r(135)}catch(t){}var o=function(){if(i){if("function"==typeof i.getRandomValues)try{return i.getRandomValues(new Uint32Array(1))[0]}catch(t){}if("function"==typeof i.randomBytes)try{return i.randomBytes(4).readInt32LE()}catch(t){}}throw new Error("Native crypto module could not be used to get secure random number.")},a=Object.create||function(){function t(){}return function(e){var r;return t.prototype=e,r=new t,t.prototype=null,r}}(),s={},u=s.lib={},c=u.Base={extend:function(t){var e=a(this);return t&&e.mixIn(t),e.hasOwnProperty("init")&&this.init!==e.init||(e.init=function(){e.$super.init.apply(this,arguments)}),e.init.prototype=e,e.$super=this,e},create:function(){var t=this.extend();return t.init.apply(t,arguments),t},init:function(){},mixIn:function(t){for(var e in t)t.hasOwnProperty(e)&&(this[e]=t[e]);t.hasOwnProperty("toString")&&(this.toString=t.toString)},clone:function(){return this.init.prototype.extend(this)}},l=u.WordArray=c.extend({init:function(t,e){t=this.words=t||[],this.sigBytes=null!=e?e:4*t.length},toString:function(t){return(t||h).stringify(this)},concat:function(t){var e=this.words,r=t.words,n=this.sigBytes,i=t.sigBytes;if(this.clamp(),n%4)for(var o=0;o<i;o++){var a=r[o>>>2]>>>24-o%4*8&255;e[n+o>>>2]|=a<<24-(n+o)%4*8}else for(var s=0;s<i;s+=4)e[n+s>>>2]=r[s>>>2];return this.sigBytes+=i,this},clamp:function(){var e=this.words,r=this.sigBytes;e[r>>>2]&=4294967295<<32-r%4*8,e.length=t.ceil(r/4)},clone:function(){var t=c.clone.call(this);return t.words=this.words.slice(0),t},random:function(t){for(var e=[],r=0;r<t;r+=4)e.push(o());return new l.init(e,t)}}),f=s.enc={},h=f.Hex={stringify:function(t){for(var e=t.words,r=t.sigBytes,n=[],i=0;i<r;i++){var o=e[i>>>2]>>>24-i%4*8&255;n.push((o>>>4).toString(16)),n.push((15&o).toString(16))}return n.join("")},parse:function(t){for(var e=t.length,r=[],n=0;n<e;n+=2)r[n>>>3]|=parseInt(t.substr(n,2),16)<<24-n%8*4;return new l.init(r,e/2)}},d=f.Latin1={stringify:function(t){for(var e=t.words,r=t.sigBytes,n=[],i=0;i<r;i++){var o=e[i>>>2]>>>24-i%4*8&255;n.push(String.fromCharCode(o))}return n.join("")},parse:function(t){for(var e=t.length,r=[],n=0;n<e;n++)r[n>>>2]|=(255&t.charCodeAt(n))<<24-n%4*8;return new l.init(r,e)}},p=f.Utf8={stringify:function(t){try{return decodeURIComponent(escape(d.stringify(t)))}catch(t){throw new Error("Malformed UTF-8 data")}},parse:function(t){return d.parse(unescape(encodeURIComponent(t)))}},_=u.BufferedBlockAlgorithm=c.extend({reset:function(){this._data=new l.init,this._nDataBytes=0},_append:function(t){"string"==typeof t&&(t=p.parse(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes},_process:function(e){var r,n=this._data,i=n.words,o=n.sigBytes,a=this.blockSize,s=o/(4*a),u=(s=e?t.ceil(s):t.max((0|s)-this._minBufferSize,0))*a,c=t.min(4*u,o);if(u){for(var f=0;f<u;f+=a)this._doProcessBlock(i,f);r=i.splice(0,u),n.sigBytes-=c}return new l.init(r,c)},clone:function(){var t=c.clone.call(this);return t._data=this._data.clone(),t},_minBufferSize:0}),v=(u.Hasher=_.extend({cfg:c.extend(),init:function(t){this.cfg=this.cfg.extend(t),this.reset()},reset:function(){_.reset.call(this),this._doReset()},update:function(t){return this._append(t),this._process(),this},finalize:function(t){return t&&this._append(t),this._doFinalize()},blockSize:16,_createHelper:function(t){return function(e,r){return new t.init(r).finalize(e)}},_createHmacHelper:function(t){return function(e,r){return new v.HMAC.init(t,r).finalize(e)}}}),s.algo={});return s}(Math),n)}).call(this,r(134))},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e){t.exports=function(t){return t&&t.__esModule?t:{default:t}},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e){var r=0,n=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++r+n).toString(36))}},function(t,e,r){var n=r(4).f,i=r(9),o=r(3)("toStringTag");t.exports=function(t,e,r){t&&!i(t=r?t:t.prototype,o)&&n(t,o,{configurable:!0,value:e})}},function(t,e,r){e.f=r(3)},function(t,e,r){var n=r(51),i=r(38);t.exports=Object.keys||function(t){return n(t,i)}},function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,r){r(79);var n=r(0).Object;t.exports=function(t,e,r){return n.defineProperty(t,e,r)}},function(t,e,r){var n=r(6),i=r(1).document,o=n(i)&&n(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},function(t,e,r){var n=r(6);t.exports=function(t,e){if(!n(t))return t;var r,i;if(e&&"function"==typeof(r=t.toString)&&!n(i=r.call(t)))return i;if("function"==typeof(r=t.valueOf)&&!n(i=r.call(t)))return i;if(!e&&"function"==typeof(r=t.toString)&&!n(i=r.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},function(t,e,r){var n=r(80)();t.exports=n;try{regeneratorRuntime=n}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=n:Function("r","regeneratorRuntime = r")(n)}},function(t,e,r){var n=r(32),i=r(58);function o(e){return t.exports=o="function"==typeof n&&"symbol"==typeof i?function(t){return typeof t}:function(t){return t&&"function"==typeof n&&t.constructor===n&&t!==n.prototype?"symbol":typeof t},t.exports.__esModule=!0,t.exports.default=t.exports,o(e)}t.exports=o,t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,r){r(81),r(57),r(89),r(90),t.exports=r(0).Symbol},function(t,e,r){var n=r(0),i=r(1),o=i["__core-js_shared__"]||(i["__core-js_shared__"]={});(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:n.version,mode:r(15)?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},function(t,e,r){var n=r(1),i=r(0),o=r(15),a=r(24),s=r(4).f;t.exports=function(t){var e=i.Symbol||(i.Symbol=o?{}:n.Symbol||{});"_"==t.charAt(0)||t in e||s(e,t,{value:a.f(t)})}},function(t,e,r){var n=r(36),i=Math.min;t.exports=function(t){return t>0?i(n(t),9007199254740991):0}},function(t,e){var r=Math.ceil,n=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?n:r)(t)}},function(t,e,r){var n=r(33)("keys"),i=r(22);t.exports=function(t){return n[t]||(n[t]=i(t))}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e){e.f={}.propertyIsEnumerable},function(t,e,r){var n=r(5),i=r(87),o=r(38),a=r(37)("IE_PROTO"),s=function(){},u=function(){var t,e=r(28)("iframe"),n=o.length;for(e.style.display="none",r(54).appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),u=t.F;n--;)delete u.prototype[o[n]];return u()};t.exports=Object.create||function(t,e){var r;return null!==t?(s.prototype=n(t),r=new s,s.prototype=null,r[a]=t):r=u(),void 0===e?r:i(r,e)}},function(t,e,r){"use strict";var n=r(91)(!0);r(59)(String,"String",(function(t){this._t=String(t),this._i=0}),(function(){var t,e=this._t,r=this._i;return r>=e.length?{value:void 0,done:!0}:(t=n(e,r),this._i+=t.length,{value:t,done:!1})}))},function(t,e,r){r(57),r(41),r(61),r(103),r(111),r(112),t.exports=r(0).Promise},function(t,e,r){"use strict";var n=r(20);function i(t){var e,r;this.promise=new t((function(t,n){if(void 0!==e||void 0!==r)throw TypeError("Bad Promise constructor");e=t,r=n})),this.resolve=n(e),this.reject=n(r)}t.exports.f=function(t){return new i(t)}},function(t,e,r){var n=r(42);function i(t,e,r,i,o,a,s){try{var u=t[a](s),c=u.value}catch(t){return void r(t)}u.done?e(c):n.resolve(c).then(i,o)}t.exports=function(t){return function(){var e=this,r=arguments;return new n((function(n,o){var a=t.apply(e,r);function s(t){i(a,n,o,s,u,"next",t)}function u(t){i(a,n,o,s,u,"throw",t)}s(void 0)}))}},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,r){t.exports=r(113)},function(t,e,r){t.exports=r(116)},function(t,e,r){"use strict";var n=r(74),i=r(75),o=r(76),a=r(45),s=r(10),u=r(21);s(e,"__esModule",{value:!0}),e.apmSign=function(t,e,r){var n=t+(0,p.default)(function(t){for(var e=[],r=0;r<t.length;r+=4)e.push(t[r]<<24|t[r+1]<<16|t[r+2]<<8|t[r+3]);return v.default.lib.WordArray.create(e,t.length)}(r)).toString();return(0,_.default)(n,e).toString()},e.arrayIncludes=function(t,e){if("[object Array]"===Object.prototype.toString.call(t))for(var r=0;r<t.length;r++)if(t[r]===e)return!0;return!1},e.base64ToUint8Array=function(t){for(var e=atob(t),r=e.length,n=new Uint8Array(r),i=0;i<r;i++)n[i]=e.charCodeAt(i);return n},e.buildQueryString=function(t){return(0,f.default)(t).map((function(e){return encodeURIComponent(e)+"="+encodeURIComponent(t[e])})).join("&")},e.canRun=function(){var t=b();return 11===t||-1===t||"edge"===t},e.genUniqueId=function(){for(var t=(0,c.default)().toString(36),e=Math.random().toString(36).substring(2,15),r=[0,0,0,0,0,0,0,0,0,0].map((function(){return Math.random().toString(36).charAt(2)})).join(""),n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];var a=i.join("-")+"-"+t+"-"+e+"-"+r,s=btoa(encodeURIComponent(a));return s},e.getIEVersion=b,e.getNetworkInfo=function(){var t=navigator.connection||navigator.mozConnection||navigator.webkitConnection;return t?{effectiveType:t.effectiveType,downlink:t.downlink,rtt:t.rtt,saveData:t.saveData}:{}},e.getUAInfo=function(){return(new d.default).getResult()},e.getValueByPath=function(t,e){var r,s=e.split("."),u=t,c=function(t,e){var r=void 0!==i&&t[o]||t["@@iterator"];if(!r){if(a(t)||(r=function(t,e){if(t){if("string"==typeof t)return w(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?n(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?w(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var s=0,u=function(){};return{s:u,n:function(){return s>=t.length?{done:!0}:{done:!1,value:t[s++]}},e:function(t){throw t},f:u}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var c,l=!0,f=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return l=t.done,t},e:function(t){f=!0,c=t},f:function(){try{l||null==r.return||r.return()}finally{if(f)throw c}}}}(s);try{for(c.s();!(r=c.n()).done;){var l=r.value;if(void 0===u[l])return;u=u[l]}}catch(t){c.e(t)}finally{c.f()}return u},e.gzipEncode=function(t){var e;try{e=(0,l.default)(t)}catch(t){e=""}return r(139).gzip(e)},e.isInObjectInclude=function t(e,r){if(void 0===e||void 0===r)return!1;if(!g(e)||!g(r))return!1;for(var n in e)if(g(e[n])){if(!t(e[n],r[n]))return!1}else if(e[n]!==r[n])return!1;return!0},e.isObject=g,e.isRequiredFieldNotReady=function(t){return t.requiredFields.some((function(e){return void 0===t[e]}))},e.reqIdleCallback=function(t,e){"function"==typeof requestIdleCallback?requestIdleCallback(t,{timeout:e||1e3}):setTimeout(t,0)},e.sampleSign=function(t,e,r){var n="appId="+t+"@h5&timestamp="+r;return(0,_.default)(n,e).toString()},e.uint8ArrayToBase64=function(t){try{return btoa(String.fromCharCode.apply(null,t))}catch(t){return""}};var c=u(r(46)),l=u(r(72)),f=u(r(123)),h=u(r(126)),d=u(r(131)),p=u(r(133)),_=u(r(136)),v=u(r(19));function w(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function g(t){return"[object Object]"===Object.prototype.toString.call(t)}function b(){var t=navigator.userAgent,e=t.indexOf("compatible")>-1&&t.indexOf("MSIE")>-1,r=t.indexOf("Edge")>-1&&!e,n=t.indexOf("Trident")>-1&&t.indexOf("rv:11.0")>-1;if(e){new RegExp("MSIE (\\d+\\.\\d+);").test(t);var i=(0,h.default)(RegExp.$1);return 7==i?7:8==i?8:9==i?9:10==i?10:6}return r?"edge":n?11:-1}},function(t,e,r){"use strict";r(10)(e,"__esModule",{value:!0}),e.RATE_RETRY_INTERVAL=e.RATE_MAX_RETRY_COUNT=e.MAX_REQ_QUEUE_LENGTH=e.MAX_ERROR_QUEUE=e.MAX_CACHE_QUEUE=e.LOG_ERROR_RETRY_INTERVAL=e.LOG_ERROR_MAX_RETRY_COUNT=e.EVENTID=e.EMAS_RATE_NOTIC_KEY=e.EMAS_APM_WARN_LEVEL=e.EMAS_APM_VERSION=e.EMAS_APM_REQUEST_LOCALSTORAGE_KEY=e.EMAS_APM_PROTOCOL_VERSION=e.EMAS_APM_LOG_KEY=e.EMAS_APM_ENV=e.EMAS_APM_DEBUG_LEVEL=void 0;e.EMAS_APM_VERSION="1.0.0",e.EMAS_APM_PROTOCOL_VERSION="1.0.0",e.EMAS_APM_ENV="prod",e.EMAS_APM_DEBUG_LEVEL="DEBUG",e.EMAS_APM_WARN_LEVEL="WARN",e.EMAS_APM_LOG_KEY="emas-apm",e.MAX_CACHE_QUEUE=100,e.MAX_ERROR_QUEUE=100,e.MAX_REQ_QUEUE_LENGTH=500,e.EMAS_APM_REQUEST_LOCALSTORAGE_KEY="EMAS_APM_REQUEST",e.EMAS_RATE_NOTIC_KEY="EMAS_RATE_NOTIC_KEY",e.RATE_MAX_RETRY_COUNT=3,e.RATE_RETRY_INTERVAL=5e3,e.LOG_ERROR_MAX_RETRY_COUNT=5,e.LOG_ERROR_RETRY_INTERVAL=5e3,e.EVENTID={pv:"pv",jsError:"jsError",whiteScreen:"whiteScreen",request:"request",resource:"resource",performance:"performance"}},function(t,e,r){t.exports=!r(7)&&!r(12)((function(){return 7!=Object.defineProperty(r(28)("div"),"a",{get:function(){return 7}}).a}))},function(t,e,r){t.exports=r(8)},function(t,e,r){var n=r(9),i=r(13),o=r(85)(!1),a=r(37)("IE_PROTO");t.exports=function(t,e){var r,s=i(t),u=0,c=[];for(r in s)r!=a&&n(s,r)&&c.push(r);for(;e.length>u;)n(s,r=e[u++])&&(~o(c,r)||c.push(r));return c}},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,r){var n=r(16);t.exports=Array.isArray||function(t){return"Array"==n(t)}},function(t,e,r){var n=r(1).document;t.exports=n&&n.documentElement},function(t,e,r){var n=r(51),i=r(38).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,i)}},function(t,e,r){var n=r(39),i=r(14),o=r(13),a=r(29),s=r(9),u=r(49),c=Object.getOwnPropertyDescriptor;e.f=r(7)?c:function(t,e){if(t=o(t),e=a(e,!0),u)try{return c(t,e)}catch(t){}if(s(t,e))return i(!n.f.call(t,e),t[e])}},function(t,e){},function(t,e,r){r(41),r(61),t.exports=r(24).f("iterator")},function(t,e,r){"use strict";var n=r(15),i=r(2),o=r(50),a=r(8),s=r(18),u=r(92),c=r(23),l=r(60),f=r(3)("iterator"),h=!([].keys&&"next"in[].keys()),d=function(){return this};t.exports=function(t,e,r,p,_,v,w){u(r,e,p);var g,b,m,y=function(t){if(!h&&t in A)return A[t];switch(t){case"keys":case"values":return function(){return new r(this,t)}}return function(){return new r(this,t)}},x=e+" Iterator",E="values"==_,k=!1,A=t.prototype,S=A[f]||A["@@iterator"]||_&&A[_],O=S||y(_),R=_?E?y("entries"):O:void 0,M="Array"==e&&A.entries||S;if(M&&(m=l(M.call(new t)))!==Object.prototype&&m.next&&(c(m,x,!0),n||"function"==typeof m[f]||a(m,f,d)),E&&S&&"values"!==S.name&&(k=!0,O=function(){return S.call(this)}),n&&!w||!h&&!k&&A[f]||a(A,f,O),s[e]=O,s[x]=d,_)if(g={values:E?O:y("values"),keys:v?O:y("keys"),entries:R},w)for(b in g)b in A||o(A,b,g[b]);else i(i.P+i.F*(h||k),e,g);return g}},function(t,e,r){var n=r(9),i=r(17),o=r(37)("IE_PROTO"),a=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=i(t),n(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?a:null}},function(t,e,r){r(93);for(var n=r(1),i=r(8),o=r(18),a=r(3)("toStringTag"),s="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),u=0;u<s.length;u++){var c=s[u],l=n[c],f=l&&l.prototype;f&&!f[a]&&i(f,a,c),o[c]=o.Array}},function(t,e,r){var n=r(2),i=r(0),o=r(12);t.exports=function(t,e){var r=(i.Object||{})[t]||Object[t],a={};a[t]=e(r),n(n.S+n.F*o((function(){r(1)})),"Object",a)}},function(t,e,r){var n=r(16),i=r(3)("toStringTag"),o="Arguments"==n(function(){return arguments}());t.exports=function(t){var e,r,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),i))?r:o?n(e):"Object"==(a=n(e))&&"function"==typeof e.callee?"Arguments":a}},function(t,e,r){var n=r(5);t.exports=function(t,e,r,i){try{return i?e(n(r)[0],r[1]):e(r)}catch(e){var o=t.return;throw void 0!==o&&n(o.call(t)),e}}},function(t,e,r){var n=r(18),i=r(3)("iterator"),o=Array.prototype;t.exports=function(t){return void 0!==t&&(n.Array===t||o[i]===t)}},function(t,e,r){var n=r(63),i=r(3)("iterator"),o=r(18);t.exports=r(0).getIteratorMethod=function(t){if(null!=t)return t[i]||t["@@iterator"]||o[n(t)]}},function(t,e,r){var n=r(5),i=r(20),o=r(3)("species");t.exports=function(t,e){var r,a=n(t).constructor;return void 0===a||null==(r=n(a)[o])?e:i(r)}},function(t,e,r){var n,i,o,a=r(11),s=r(106),u=r(54),c=r(28),l=r(1),f=l.process,h=l.setImmediate,d=l.clearImmediate,p=l.MessageChannel,_=l.Dispatch,v=0,w={},g=function(){var t=+this;if(w.hasOwnProperty(t)){var e=w[t];delete w[t],e()}},b=function(t){g.call(t.data)};h&&d||(h=function(t){for(var e=[],r=1;arguments.length>r;)e.push(arguments[r++]);return w[++v]=function(){s("function"==typeof t?t:Function(t),e)},n(v),v},d=function(t){delete w[t]},"process"==r(16)(f)?n=function(t){f.nextTick(a(g,t,1))}:_&&_.now?n=function(t){_.now(a(g,t,1))}:p?(o=(i=new p).port2,i.port1.onmessage=b,n=a(o.postMessage,o,1)):l.addEventListener&&"function"==typeof postMessage&&!l.importScripts?(n=function(t){l.postMessage(t+"","*")},l.addEventListener("message",b,!1)):n="onreadystatechange"in c("script")?function(t){u.appendChild(c("script")).onreadystatechange=function(){u.removeChild(this),g.call(t)}}:function(t){setTimeout(a(g,t,1),0)}),t.exports={set:h,clear:d}},function(t,e){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},function(t,e,r){var n=r(5),i=r(6),o=r(43);t.exports=function(t,e){if(n(t),i(e)&&e.constructor===t)return e;var r=o.f(t);return(0,r.resolve)(e),r.promise}},function(t,e,r){var n=r(3)("iterator"),i=!1;try{var o=[7][n]();o.return=function(){i=!0},Array.from(o,(function(){throw 2}))}catch(t){}t.exports=function(t,e){if(!e&&!i)return!1;var r=!1;try{var o=[7],a=o[n]();a.next=function(){return{done:r=!0}},o[n]=function(){return a},t(o)}catch(t){}return r}},function(t,e,r){t.exports=r(115)},function(t,e,r){"use strict";var n=r(10),i=r(21);n(e,"__esModule",{value:!0}),e.EMAS_APM_SERVERS=void 0,e.getRate=function(t,e){return v.apply(this,arguments)},e.uploadLog=function(t,e){return _.apply(this,arguments)};var o=i(r(30)),a=i(r(44)),s=i(r(119)),u=i(r(46)),c=r(47),l=r(48),f=e.EMAS_APM_SERVERS={upload:{pre:"https://pre-apm-gateway.aliyuncs.com/log/upload",prod:"https://apm-gateway.aliyuncs.com/log/upload"},rate:{pre:"https://pre-setting-emas.aliyuncs.com/api/v1/sample",prod:"https://setting-emas.aliyuncs.com/api/v1/sample"}};function h(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return new s.default((function(n,i){var o=new XMLHttpRequest;for(var a in o.open("POST",t,!0),r)r.hasOwnProperty(a)&&o.setRequestHeader(a,r[a]);o.onreadystatechange=function(){4===o.readyState&&(200===o.status?n(!0):i(new Error("Request failed with status ".concat(o.status,": ").concat(o.statusText))))},o.onerror=function(){i(new Error("Network error"))},o.send(e)}))}function d(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=new Blob([e],{type:"application/octet-stream"}),i=(0,c.buildQueryString)(r),o=i?"".concat(t,"?").concat(i):t;return navigator.sendBeacon(o,n)}function p(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return new s.default((function(n,i){var o=new XMLHttpRequest,a=(0,c.buildQueryString)(e),s=a?"".concat(t,"?").concat(a):t;for(var u in o.open("GET",s,!0),r)r.hasOwnProperty(u)&&o.setRequestHeader(u,r[u]);o.onreadystatechange=function(){if(4===o.readyState)if(200==o.status)if(o.responseText)try{var t=JSON.parse(o.responseText);n(t)}catch(t){i(new Error("json parse error"))}else i(new Error("request failed no responseText"));else i(new Error("Request failed with status ".concat(o.status,": ").concat(o.statusText)))},o.onerror=function(){i(new Error("Network error"))},o.send()}))}function _(){return(_=(0,a.default)(o.default.mark((function t(e,r){var n,i,a,s;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=f.upload[l.EMAS_APM_ENV],i=r.appKey,a=r.appSecret,t.prev=2,!navigator.sendBeacon){t.next=7;break}s=d(n,e,{compression:"gzip",appKey:i,algorithm:"EMAS-HMAC-V1",signature:(0,c.apmSign)(i,a,e)}),t.next=10;break;case 7:return t.next=9,h(n,e,{"Content-Type":"application/octet-stream","x-apm-compression":"gzip","x-apm-app-key":i,"x-apm-signature-algorithm":"EMAS-HMAC-V1","x-apm-signature":(0,c.apmSign)(i,a,e)});case 9:s=t.sent;case 10:return t.abrupt("return",s);case 13:return t.prev=13,t.t0=t.catch(2),t.abrupt("return",!1);case 16:case"end":return t.stop()}}),t,null,[[2,13]])})))).apply(this,arguments)}function v(){return(v=(0,a.default)(o.default.mark((function t(e,r){var n,i,a,s,h,d;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=f.rate[l.EMAS_APM_ENV],i=(0,u.default)(),a=(0,c.sampleSign)(e,r,i),t.prev=3,t.next=6,p(n,{appId:e+"@h5",timestamp:i,sign:a});case 6:if(s=t.sent,d=(h=s||{}).data,!h.success||!d){t.next=12;break}return t.abrupt("return",{success:!0,data:d});case 12:return t.abrupt("return",{success:!1});case 13:t.next=18;break;case 15:return t.prev=15,t.t0=t.catch(3),t.abrupt("return",{success:!1});case 18:case"end":return t.stop()}}),t,null,[[3,15]])})))).apply(this,arguments)}},function(t,e,r){t.exports=r(120)},function(t,e,r){t.exports=r(32)},function(t,e,r){t.exports=r(58)},function(t,e){t.exports="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff"},function(t,e,r){"use strict";var n=r(10),i=r(21);n(e,"__esModule",{value:!0}),e.default=void 0;var o=i(r(30)),a=i(r(44)),s=i(r(45)),u=i(r(72)),c=i(r(46)),l=i(r(118)),f=r(73),h=i(r(140)),d=r(48),p=r(47);function _(t){var e=this;if((0,p.canRun)()){if(!(this instanceof _))return new _(t);var r=t||{},n=r.appKey,i=r.appSecret,o=r.appVersion,a=r.channel,u=r.userNick,c=r.userId,f=r.loggerLevel,v=void 0===f?"online":f,w=r.requiredFields,g=void 0===w?[]:w;if(this._logger=l.default.getInstance("debug"===v?d.EMAS_APM_DEBUG_LEVEL:d.EMAS_APM_WARN_LEVEL),this.printLog={debug:function(t,r){e._logger.debug("[".concat(t,"]: ").concat(r))},info:function(t,r){e._logger.info("[".concat(t,"]: ").concat(r))},warn:function(t,r){e._logger.warn("[".concat(t,"]: ").concat(r))},error:function(t,r){e._logger.error("[".concat(t,"]: ").concat(r))}},!n||!i)throw this.printLog.error(d.EMAS_APM_LOG_KEY,"AppKey and AppSecret cannot be null. Please check the parameters."),new Error("AppKey and AppSecret cannot be null. Please check the parameters.");var b=[];g&&(0,s.default)(g)&&g.length>0&&(this.printLog.debug(d.EMAS_APM_LOG_KEY,"setting requiredFields=".concat(g)),b=g),this._appConfig={appKey:n,appSecret:i,appVersion:o,channel:a,userNick:u,userId:c,requiredFields:b},this._errorQueryRetryCount=0,this._rate=h.default.getInstance(this.printLog),this._rate.init(this._appConfig.appKey,this._appConfig.appSecret),this._reqQueue=[],this._rateQueue=[],this._offlineQueue=[],this._errorQueue=[],this._plugins={};var m=navigator.connection||navigator.mozConnection||navigator.webkitConnection;if(m){m.addEventListener("change",(function(){navigator.onLine&&e._offlineQueue.length>0&&(e.printLog.debug(d.EMAS_APM_LOG_KEY,"network changed upload offline queue log"),e._offlineQueue.forEach((function(t){(0,p.reqIdleCallback)((function(){e.send(t)}))})),e._offlineQueue=[])}))}window.addEventListener("beforeunload",(function(){e._beforeunload()})),window.addEventListener(d.EMAS_RATE_NOTIC_KEY,(function(){e.printLog.debug(d.EMAS_APM_LOG_KEY,"sample rate is ready"),e._rateQueue.forEach((function(t){e.log.apply(e,t)})),e._rateQueue=[]})),this._watchErrorTimer=setInterval((function(){e._errorQueue.length>0&&(e._errorQueryRetryCount++,e.printLog.debug(d.EMAS_APM_LOG_KEY,"retry error logs in error queue. -----".concat(e._errorQueryRetryCount)),e._errorQueue.forEach((function(t){e.send(t)})),e._errorQueue=[],e._errorQueryRetryCount>=d.LOG_ERROR_MAX_RETRY_COUNT&&(e.printLog.debug(d.EMAS_APM_LOG_KEY,"over max retry counts, end error logs retry"),clearInterval(e._watchErrorTimer),e._watchErrorTimer=void 0))}),d.LOG_ERROR_RETRY_INTERVAL),this._uploadCache()}else console.info('"APM SDK does not support the current browser.')}_.prototype.setConfig=function(t,e){var r=this,n={};if(void 0!==e?n[t]=e:n=t,n.appKey&&delete n.appKey,n.appSecret&&delete n.appSecret,!(0,p.isInObjectInclude)(n,this._appConfig)){for(var i in n)(0,p.isObject)(n[i])?this._appConfig[i]=assign(this._appConfig[i]||{},n[i]):this._appConfig[i]=n[i];(0,p.isRequiredFieldNotReady)(this._appConfig)||(this.printLog.debug(d.EMAS_APM_LOG_KEY,"required field is ready, start send queue log"),this._reqQueue.forEach((function(t){r.log.apply(r,t)})),this._reqQueue=[])}},_.prototype.getInnerDomains=function(){var t=[];for(var e in f.EMAS_APM_SERVERS)if(f.EMAS_APM_SERVERS.hasOwnProperty(e)){var r=f.EMAS_APM_SERVERS[e];for(var n in r)r.hasOwnProperty(n)&&t.push(r[n])}return t},_.prototype.log=function(t,e){if(this.printLog.debug(d.EMAS_APM_LOG_KEY,"EMAS_APM LOG eventType:".concat(t,"; eventData:").concat((0,u.default)(e))),(0,p.isRequiredFieldNotReady)(this._appConfig))this.printLog.debug(d.EMAS_APM_LOG_KEY,"required field not ready"),this._reqQueue.push([t,e]),this._reqQueue.length>d.MAX_REQ_QUEUE_LENGTH&&this._reqQueue.shift();else if(this._rate.rateReady||t===d.EVENTID.pv){var r=(0,p.getUAInfo)(),n=r.browser,i=r.device,o=r.os,a=this._appConfig,s=a.appKey,l=a.appSecret,f=a.appVersion,h=a.channel,_=a.userNick,v=a.userId,w={platform:"h5",protocolVersion:d.EMAS_APM_PROTOCOL_VERSION,sessionId:(0,p.genUniqueId)(s,l),uuid:(0,p.genUniqueId)(t),sdk:{name:"mini",version:d.EMAS_APM_VERSION},app:{version:f,channel:h},device:{os:o.name,version:o.version||n.version,model:i.model,language:navigator.language,resolution:"".concat(window.screen.width,"x").concat(window.screen.height)},user:{nick:_,id:v},eventTime:e.eventTime||(0,c.default)(),clientTime:(0,c.default)(),uri:e.uri||location.href,network:{access:(0,p.getNetworkInfo)().effectiveType},eventId:t,payload:e};if(t!==d.EVENTID.pv){var g=this._rate.calcSample(t,w,this._appConfig);if(this.printLog.debug(d.EMAS_APM_LOG_KEY,"filter by sample rate. rate=[".concat(g,"]")),g<=0)return void this.printLog.debug(d.EMAS_APM_LOG_KEY,"log not upload");w.sampleRate=g}this.printLog.debug(d.EMAS_APM_LOG_KEY,"log payload: ".concat((0,u.default)(w)));var b=(0,p.gzipEncode)(w);this.send(b)}else this.printLog.debug(d.EMAS_APM_LOG_KEY,"sample rate is not ready"),this._rateQueue.push([t,e])},_.prototype.send=function(){var t=(0,a.default)(o.default.mark((function t(e){return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(this.printLog.debug(d.EMAS_APM_LOG_KEY,"begin send log....."),!navigator.onLine){t.next=9;break}return this.printLog.debug(d.EMAS_APM_LOG_KEY,"begin request log....."),t.next=5,(0,f.uploadLog)(e,this._appConfig);case 5:t.sent?this.printLog.debug(d.EMAS_APM_LOG_KEY,"request log success"):(this.printLog.debug(d.EMAS_APM_LOG_KEY,"request log failed log to error cache"),this._errorQueue.push(e),this._errorQueue.length>d.MAX_ERROR_QUEUE&&this._errorQueue.shift()),t.next=12;break;case 9:this.printLog.debug(d.EMAS_APM_LOG_KEY,"network offline log to offline cache"),this._offlineQueue.push(e),this._offlineQueue.length>d.MAX_CACHE_QUEUE&&this._offlineQueue.shift();case 12:case"end":return t.stop()}}),t,this)})));return function(e){return t.apply(this,arguments)}}(),_.prototype.addPlugin=function(t,e){var r=this;if((0,p.canRun)())return"[object Array]"===Object.prototype.toString.call(t)?t.map((function(t){if("[object Array]"===Object.prototype.toString.call(t)){var e=t[0],n=t[1];return r._plugins[e]||(r._plugins[e]=new e(r,n))}return r._plugins[t]||(r._plugins[t]=new t(r))})):this._plugins[t]||(this._plugins[t]=new t(this,e));console.info('"APM SDK does not support the current browser.')},_.prototype._beforeunload=function(){this._watchErrorTimer&&clearInterval(this._watchErrorTimer);var t=[];this._offlineQueue.forEach((function(e){if(e instanceof Uint8Array){var r=(0,p.uint8ArrayToBase64)(e);r&&t.push(r)}})),this._errorQueue.forEach((function(e){if(e instanceof Uint8Array){var r=(0,p.uint8ArrayToBase64)(e);r&&t.push(r)}}));var e=t.join("|");try{this.printLog.debug(d.EMAS_APM_LOG_KEY,"save log cache : ".concat(e)),localStorage.setItem(d.EMAS_APM_REQUEST_LOCALSTORAGE_KEY,e)}catch(t){}},_.prototype._uploadCache=function(){var t=this;this.printLog.debug(d.EMAS_APM_LOG_KEY,"upload cache......"),(0,p.reqIdleCallback)((function(){var e=localStorage.getItem(d.EMAS_APM_REQUEST_LOCALSTORAGE_KEY);e&&(e.split("|").forEach((function(e){"string"==typeof e&&t.send((0,p.base64ToUint8Array)(e))})),localStorage.removeItem(d.EMAS_APM_REQUEST_LOCALSTORAGE_KEY))}))},_.prototype.__testError=function(){_.prototype.__testError2()},_.prototype.__testError2=function(){throw new Error("test error")};e.default=_},function(t,e,r){var n=r(2);n(n.S+n.F*!r(7),"Object",{defineProperty:r(4).f})},function(t,e,r){var n=r(31).default,i=r(27),o=r(32),a=r(96),s=r(98),u=r(100),c=r(42);function l(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */t.exports=l=function(){return r},t.exports.__esModule=!0,t.exports.default=t.exports;var e,r={},f=Object.prototype,h=f.hasOwnProperty,d=i||function(t,e,r){t[e]=r.value},p="function"==typeof o?o:{},_=p.iterator||"@@iterator",v=p.asyncIterator||"@@asyncIterator",w=p.toStringTag||"@@toStringTag";function g(t,e,r){return i(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{g({},"")}catch(e){g=function(t,e,r){return t[e]=r}}function b(t,e,r,n){var i=e&&e.prototype instanceof A?e:A,o=a(i.prototype),s=new U(n||[]);return d(o,"_invoke",{value:P(t,r,s)}),o}function m(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}r.wrap=b;var y="suspendedStart",x="executing",E="completed",k={};function A(){}function S(){}function O(){}var R={};g(R,_,(function(){return this}));var M=s&&s(s(j([])));M&&M!==f&&h.call(M,_)&&(R=M);var T=O.prototype=A.prototype=a(R);function L(t){["next","throw","return"].forEach((function(e){g(t,e,(function(t){return this._invoke(e,t)}))}))}function z(t,e){function r(i,o,a,s){var u=m(t[i],t,o);if("throw"!==u.type){var c=u.arg,l=c.value;return l&&"object"==n(l)&&h.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,a,s)}),(function(t){r("throw",t,a,s)})):e.resolve(l).then((function(t){c.value=t,a(c)}),(function(t){return r("throw",t,a,s)}))}s(u.arg)}var i;d(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,i){r(t,n,e,i)}))}return i=i?i.then(o,o):o()}})}function P(t,r,n){var i=y;return function(o,a){if(i===x)throw Error("Generator is already running");if(i===E){if("throw"===o)throw a;return{value:e,done:!0}}for(n.method=o,n.arg=a;;){var s=n.delegate;if(s){var u=C(s,n);if(u){if(u===k)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===y)throw i=E,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=x;var c=m(t,r,n);if("normal"===c.type){if(i=n.done?E:"suspendedYield",c.arg===k)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(i=E,n.method="throw",n.arg=c.arg)}}}function C(t,r){var n=r.method,i=t.iterator[n];if(i===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,C(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),k;var o=m(i,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,k;var a=o.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,k):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,k)}function N(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function I(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function U(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(N,this),this.reset(!0)}function j(t){if(t||""===t){var r=t[_];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,o=function r(){for(;++i<t.length;)if(h.call(t,i))return r.value=t[i],r.done=!1,r;return r.value=e,r.done=!0,r};return o.next=o}}throw new TypeError(n(t)+" is not iterable")}return S.prototype=O,d(T,"constructor",{value:O,configurable:!0}),d(O,"constructor",{value:S,configurable:!0}),S.displayName=g(O,w,"GeneratorFunction"),r.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===S||"GeneratorFunction"===(e.displayName||e.name))},r.mark=function(t){return u?u(t,O):(t.__proto__=O,g(t,w,"GeneratorFunction")),t.prototype=a(T),t},r.awrap=function(t){return{__await:t}},L(z.prototype),g(z.prototype,v,(function(){return this})),r.AsyncIterator=z,r.async=function(t,e,n,i,o){void 0===o&&(o=c);var a=new z(b(t,e,n,i),o);return r.isGeneratorFunction(e)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},L(T),g(T,w,"Generator"),g(T,_,(function(){return this})),g(T,"toString",(function(){return"[object Generator]"})),r.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},r.values=j,U.prototype={constructor:U,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(I),!t)for(var r in this)"t"===r.charAt(0)&&h.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function n(n,i){return a.type="throw",a.arg=t,r.next=n,i&&(r.method="next",r.arg=e),!!i}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return n("end");if(o.tryLoc<=this.prev){var s=h.call(o,"catchLoc"),u=h.call(o,"finallyLoc");if(s&&u){if(this.prev<o.catchLoc)return n(o.catchLoc,!0);if(this.prev<o.finallyLoc)return n(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return n(o.catchLoc,!0)}else{if(!u)throw Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return n(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&h.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var o=i?i.completion:{};return o.type=t,o.arg=e,i?(this.method="next",this.next=i.finallyLoc,k):this.complete(o)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),k},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),I(r),k}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var i=n.arg;I(r)}return i}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:j(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),k}},r}t.exports=l,t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,r){"use strict";var n=r(1),i=r(9),o=r(7),a=r(2),s=r(50),u=r(82).KEY,c=r(12),l=r(33),f=r(23),h=r(22),d=r(3),p=r(24),_=r(34),v=r(83),w=r(53),g=r(5),b=r(6),m=r(17),y=r(13),x=r(29),E=r(14),k=r(40),A=r(88),S=r(56),O=r(52),R=r(4),M=r(25),T=S.f,L=R.f,z=A.f,P=n.Symbol,C=n.JSON,N=C&&C.stringify,I=d("_hidden"),U=d("toPrimitive"),j={}.propertyIsEnumerable,B=l("symbol-registry"),F=l("symbols"),D=l("op-symbols"),G=Object.prototype,K="function"==typeof P&&!!O.f,Z=n.QObject,Y=!Z||!Z.prototype||!Z.prototype.findChild,q=o&&c((function(){return 7!=k(L({},"a",{get:function(){return L(this,"a",{value:7}).a}})).a}))?function(t,e,r){var n=T(G,e);n&&delete G[e],L(t,e,r),n&&t!==G&&L(G,e,n)}:L,V=function(t){var e=F[t]=k(P.prototype);return e._k=t,e},H=K&&"symbol"==typeof P.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof P},Q=function(t,e,r){return t===G&&Q(D,e,r),g(t),e=x(e,!0),g(r),i(F,e)?(r.enumerable?(i(t,I)&&t[I][e]&&(t[I][e]=!1),r=k(r,{enumerable:E(0,!1)})):(i(t,I)||L(t,I,E(1,{})),t[I][e]=!0),q(t,e,r)):L(t,e,r)},X=function(t,e){g(t);for(var r,n=v(e=y(e)),i=0,o=n.length;o>i;)Q(t,r=n[i++],e[r]);return t},W=function(t){var e=j.call(this,t=x(t,!0));return!(this===G&&i(F,t)&&!i(D,t))&&(!(e||!i(this,t)||!i(F,t)||i(this,I)&&this[I][t])||e)},$=function(t,e){if(t=y(t),e=x(e,!0),t!==G||!i(F,e)||i(D,e)){var r=T(t,e);return!r||!i(F,e)||i(t,I)&&t[I][e]||(r.enumerable=!0),r}},J=function(t){for(var e,r=z(y(t)),n=[],o=0;r.length>o;)i(F,e=r[o++])||e==I||e==u||n.push(e);return n},tt=function(t){for(var e,r=t===G,n=z(r?D:y(t)),o=[],a=0;n.length>a;)!i(F,e=n[a++])||r&&!i(G,e)||o.push(F[e]);return o};K||(s((P=function(){if(this instanceof P)throw TypeError("Symbol is not a constructor!");var t=h(arguments.length>0?arguments[0]:void 0),e=function(r){this===G&&e.call(D,r),i(this,I)&&i(this[I],t)&&(this[I][t]=!1),q(this,t,E(1,r))};return o&&Y&&q(G,t,{configurable:!0,set:e}),V(t)}).prototype,"toString",(function(){return this._k})),S.f=$,R.f=Q,r(55).f=A.f=J,r(39).f=W,O.f=tt,o&&!r(15)&&s(G,"propertyIsEnumerable",W,!0),p.f=function(t){return V(d(t))}),a(a.G+a.W+a.F*!K,{Symbol:P});for(var et="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),rt=0;et.length>rt;)d(et[rt++]);for(var nt=M(d.store),it=0;nt.length>it;)_(nt[it++]);a(a.S+a.F*!K,"Symbol",{for:function(t){return i(B,t+="")?B[t]:B[t]=P(t)},keyFor:function(t){if(!H(t))throw TypeError(t+" is not a symbol!");for(var e in B)if(B[e]===t)return e},useSetter:function(){Y=!0},useSimple:function(){Y=!1}}),a(a.S+a.F*!K,"Object",{create:function(t,e){return void 0===e?k(t):X(k(t),e)},defineProperty:Q,defineProperties:X,getOwnPropertyDescriptor:$,getOwnPropertyNames:J,getOwnPropertySymbols:tt});var ot=c((function(){O.f(1)}));a(a.S+a.F*ot,"Object",{getOwnPropertySymbols:function(t){return O.f(m(t))}}),C&&a(a.S+a.F*(!K||c((function(){var t=P();return"[null]"!=N([t])||"{}"!=N({a:t})||"{}"!=N(Object(t))}))),"JSON",{stringify:function(t){for(var e,r,n=[t],i=1;arguments.length>i;)n.push(arguments[i++]);if(r=e=n[1],(b(e)||void 0!==t)&&!H(t))return w(e)||(e=function(t,e){if("function"==typeof r&&(e=r.call(this,t,e)),!H(e))return e}),n[1]=e,N.apply(C,n)}}),P.prototype[U]||r(8)(P.prototype,U,P.prototype.valueOf),f(P,"Symbol"),f(Math,"Math",!0),f(n.JSON,"JSON",!0)},function(t,e,r){var n=r(22)("meta"),i=r(6),o=r(9),a=r(4).f,s=0,u=Object.isExtensible||function(){return!0},c=!r(12)((function(){return u(Object.preventExtensions({}))})),l=function(t){a(t,n,{value:{i:"O"+ ++s,w:{}}})},f=t.exports={KEY:n,NEED:!1,fastKey:function(t,e){if(!i(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,n)){if(!u(t))return"F";if(!e)return"E";l(t)}return t[n].i},getWeak:function(t,e){if(!o(t,n)){if(!u(t))return!0;if(!e)return!1;l(t)}return t[n].w},onFreeze:function(t){return c&&f.NEED&&u(t)&&!o(t,n)&&l(t),t}}},function(t,e,r){var n=r(25),i=r(52),o=r(39);t.exports=function(t){var e=n(t),r=i.f;if(r)for(var a,s=r(t),u=o.f,c=0;s.length>c;)u.call(t,a=s[c++])&&e.push(a);return e}},function(t,e,r){var n=r(16);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==n(t)?t.split(""):Object(t)}},function(t,e,r){var n=r(13),i=r(35),o=r(86);t.exports=function(t){return function(e,r,a){var s,u=n(e),c=i(u.length),l=o(a,c);if(t&&r!=r){for(;c>l;)if((s=u[l++])!=s)return!0}else for(;c>l;l++)if((t||l in u)&&u[l]===r)return t||l||0;return!t&&-1}}},function(t,e,r){var n=r(36),i=Math.max,o=Math.min;t.exports=function(t,e){return(t=n(t))<0?i(t+e,0):o(t,e)}},function(t,e,r){var n=r(4),i=r(5),o=r(25);t.exports=r(7)?Object.defineProperties:function(t,e){i(t);for(var r,a=o(e),s=a.length,u=0;s>u;)n.f(t,r=a[u++],e[r]);return t}},function(t,e,r){var n=r(13),i=r(55).f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return a&&"[object Window]"==o.call(t)?function(t){try{return i(t)}catch(t){return a.slice()}}(t):i(n(t))}},function(t,e,r){r(34)("asyncIterator")},function(t,e,r){r(34)("observable")},function(t,e,r){var n=r(36),i=r(26);t.exports=function(t){return function(e,r){var o,a,s=String(i(e)),u=n(r),c=s.length;return u<0||u>=c?t?"":void 0:(o=s.charCodeAt(u))<55296||o>56319||u+1===c||(a=s.charCodeAt(u+1))<56320||a>57343?t?s.charAt(u):o:t?s.slice(u,u+2):a-56320+(o-55296<<10)+65536}}},function(t,e,r){"use strict";var n=r(40),i=r(14),o=r(23),a={};r(8)(a,r(3)("iterator"),(function(){return this})),t.exports=function(t,e,r){t.prototype=n(a,{next:i(1,r)}),o(t,e+" Iterator")}},function(t,e,r){"use strict";var n=r(94),i=r(95),o=r(18),a=r(13);t.exports=r(59)(Array,"Array",(function(t,e){this._t=a(t),this._i=0,this._k=e}),(function(){var t=this._t,e=this._k,r=this._i++;return!t||r>=t.length?(this._t=void 0,i(1)):i(0,"keys"==e?r:"values"==e?t[r]:[r,t[r]])}),"values"),o.Arguments=o.Array,n("keys"),n("values"),n("entries")},function(t,e){t.exports=function(){}},function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e,r){r(97);var n=r(0).Object;t.exports=function(t,e){return n.create(t,e)}},function(t,e,r){var n=r(2);n(n.S,"Object",{create:r(40)})},function(t,e,r){r(99),t.exports=r(0).Object.getPrototypeOf},function(t,e,r){var n=r(17),i=r(60);r(62)("getPrototypeOf",(function(){return function(t){return i(n(t))}}))},function(t,e,r){r(101),t.exports=r(0).Object.setPrototypeOf},function(t,e,r){var n=r(2);n(n.S,"Object",{setPrototypeOf:r(102).set})},function(t,e,r){var n=r(6),i=r(5),o=function(t,e){if(i(t),!n(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,n){try{(n=r(11)(Function.call,r(56).f(Object.prototype,"__proto__").set,2))(t,[]),e=!(t instanceof Array)}catch(t){e=!0}return function(t,r){return o(t,r),e?t.__proto__=r:n(t,r),t}}({},!1):void 0),check:o}},function(t,e,r){"use strict";var n,i,o,a,s=r(15),u=r(1),c=r(11),l=r(63),f=r(2),h=r(6),d=r(20),p=r(104),_=r(105),v=r(67),w=r(68).set,g=r(107)(),b=r(43),m=r(69),y=r(108),x=r(70),E=u.TypeError,k=u.process,A=k&&k.versions,S=A&&A.v8||"",O=u.Promise,R="process"==l(k),M=function(){},T=i=b.f,L=!!function(){try{var t=O.resolve(1),e=(t.constructor={})[r(3)("species")]=function(t){t(M,M)};return(R||"function"==typeof PromiseRejectionEvent)&&t.then(M)instanceof e&&0!==S.indexOf("6.6")&&-1===y.indexOf("Chrome/66")}catch(t){}}(),z=function(t){var e;return!(!h(t)||"function"!=typeof(e=t.then))&&e},P=function(t,e){if(!t._n){t._n=!0;var r=t._c;g((function(){for(var n=t._v,i=1==t._s,o=0,a=function(e){var r,o,a,s=i?e.ok:e.fail,u=e.resolve,c=e.reject,l=e.domain;try{s?(i||(2==t._h&&I(t),t._h=1),!0===s?r=n:(l&&l.enter(),r=s(n),l&&(l.exit(),a=!0)),r===e.promise?c(E("Promise-chain cycle")):(o=z(r))?o.call(r,u,c):u(r)):c(n)}catch(t){l&&!a&&l.exit(),c(t)}};r.length>o;)a(r[o++]);t._c=[],t._n=!1,e&&!t._h&&C(t)}))}},C=function(t){w.call(u,(function(){var e,r,n,i=t._v,o=N(t);if(o&&(e=m((function(){R?k.emit("unhandledRejection",i,t):(r=u.onunhandledrejection)?r({promise:t,reason:i}):(n=u.console)&&n.error&&n.error("Unhandled promise rejection",i)})),t._h=R||N(t)?2:1),t._a=void 0,o&&e.e)throw e.v}))},N=function(t){return 1!==t._h&&0===(t._a||t._c).length},I=function(t){w.call(u,(function(){var e;R?k.emit("rejectionHandled",t):(e=u.onrejectionhandled)&&e({promise:t,reason:t._v})}))},U=function(t){var e=this;e._d||(e._d=!0,(e=e._w||e)._v=t,e._s=2,e._a||(e._a=e._c.slice()),P(e,!0))},j=function(t){var e,r=this;if(!r._d){r._d=!0,r=r._w||r;try{if(r===t)throw E("Promise can't be resolved itself");(e=z(t))?g((function(){var n={_w:r,_d:!1};try{e.call(t,c(j,n,1),c(U,n,1))}catch(t){U.call(n,t)}})):(r._v=t,r._s=1,P(r,!1))}catch(t){U.call({_w:r,_d:!1},t)}}};L||(O=function(t){p(this,O,"Promise","_h"),d(t),n.call(this);try{t(c(j,this,1),c(U,this,1))}catch(t){U.call(this,t)}},(n=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=r(109)(O.prototype,{then:function(t,e){var r=T(v(this,O));return r.ok="function"!=typeof t||t,r.fail="function"==typeof e&&e,r.domain=R?k.domain:void 0,this._c.push(r),this._a&&this._a.push(r),this._s&&P(this,!1),r.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new n;this.promise=t,this.resolve=c(j,t,1),this.reject=c(U,t,1)},b.f=T=function(t){return t===O||t===a?new o(t):i(t)}),f(f.G+f.W+f.F*!L,{Promise:O}),r(23)(O,"Promise"),r(110)("Promise"),a=r(0).Promise,f(f.S+f.F*!L,"Promise",{reject:function(t){var e=T(this);return(0,e.reject)(t),e.promise}}),f(f.S+f.F*(s||!L),"Promise",{resolve:function(t){return x(s&&this===a?O:this,t)}}),f(f.S+f.F*!(L&&r(71)((function(t){O.all(t).catch(M)}))),"Promise",{all:function(t){var e=this,r=T(e),n=r.resolve,i=r.reject,o=m((function(){var r=[],o=0,a=1;_(t,!1,(function(t){var s=o++,u=!1;r.push(void 0),a++,e.resolve(t).then((function(t){u||(u=!0,r[s]=t,--a||n(r))}),i)})),--a||n(r)}));return o.e&&i(o.v),r.promise},race:function(t){var e=this,r=T(e),n=r.reject,i=m((function(){_(t,!1,(function(t){e.resolve(t).then(r.resolve,n)}))}));return i.e&&n(i.v),r.promise}})},function(t,e){t.exports=function(t,e,r,n){if(!(t instanceof e)||void 0!==n&&n in t)throw TypeError(r+": incorrect invocation!");return t}},function(t,e,r){var n=r(11),i=r(64),o=r(65),a=r(5),s=r(35),u=r(66),c={},l={};(e=t.exports=function(t,e,r,f,h){var d,p,_,v,w=h?function(){return t}:u(t),g=n(r,f,e?2:1),b=0;if("function"!=typeof w)throw TypeError(t+" is not iterable!");if(o(w)){for(d=s(t.length);d>b;b++)if((v=e?g(a(p=t[b])[0],p[1]):g(t[b]))===c||v===l)return v}else for(_=w.call(t);!(p=_.next()).done;)if((v=i(_,g,p.value,e))===c||v===l)return v}).BREAK=c,e.RETURN=l},function(t,e){t.exports=function(t,e,r){var n=void 0===r;switch(e.length){case 0:return n?t():t.call(r);case 1:return n?t(e[0]):t.call(r,e[0]);case 2:return n?t(e[0],e[1]):t.call(r,e[0],e[1]);case 3:return n?t(e[0],e[1],e[2]):t.call(r,e[0],e[1],e[2]);case 4:return n?t(e[0],e[1],e[2],e[3]):t.call(r,e[0],e[1],e[2],e[3])}return t.apply(r,e)}},function(t,e,r){var n=r(1),i=r(68).set,o=n.MutationObserver||n.WebKitMutationObserver,a=n.process,s=n.Promise,u="process"==r(16)(a);t.exports=function(){var t,e,r,c=function(){var n,i;for(u&&(n=a.domain)&&n.exit();t;){i=t.fn,t=t.next;try{i()}catch(n){throw t?r():e=void 0,n}}e=void 0,n&&n.enter()};if(u)r=function(){a.nextTick(c)};else if(!o||n.navigator&&n.navigator.standalone)if(s&&s.resolve){var l=s.resolve(void 0);r=function(){l.then(c)}}else r=function(){i.call(n,c)};else{var f=!0,h=document.createTextNode("");new o(c).observe(h,{characterData:!0}),r=function(){h.data=f=!f}}return function(n){var i={fn:n,next:void 0};e&&(e.next=i),t||(t=i,r()),e=i}}},function(t,e,r){var n=r(1).navigator;t.exports=n&&n.userAgent||""},function(t,e,r){var n=r(8);t.exports=function(t,e,r){for(var i in e)r&&t[i]?t[i]=e[i]:n(t,i,e[i]);return t}},function(t,e,r){"use strict";var n=r(1),i=r(0),o=r(4),a=r(7),s=r(3)("species");t.exports=function(t){var e="function"==typeof i[t]?i[t]:n[t];a&&e&&!e[s]&&o.f(e,s,{configurable:!0,get:function(){return this}})}},function(t,e,r){"use strict";var n=r(2),i=r(0),o=r(1),a=r(67),s=r(70);n(n.P+n.R,"Promise",{finally:function(t){var e=a(this,i.Promise||o.Promise),r="function"==typeof t;return this.then(r?function(r){return s(e,t()).then((function(){return r}))}:t,r?function(r){return s(e,t()).then((function(){throw r}))}:t)}})},function(t,e,r){"use strict";var n=r(2),i=r(43),o=r(69);n(n.S,"Promise",{try:function(t){var e=i.f(this),r=o(t);return(r.e?e.reject:e.resolve)(r.v),e.promise}})},function(t,e,r){r(114),t.exports=r(0).Array.isArray},function(t,e,r){var n=r(2);n(n.S,"Array",{isArray:r(53)})},function(t,e,r){var n=r(0),i=n.JSON||(n.JSON={stringify:JSON.stringify});t.exports=function(t){return i.stringify.apply(i,arguments)}},function(t,e,r){r(117),t.exports=r(0).Date.now},function(t,e,r){var n=r(2);n(n.S,"Date",{now:function(){return(new Date).getTime()}})},function(t,e,r){"use strict";function n(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"INFO";return this instanceof n?n.instance[t]?n.instance[t]:(this.levels=["TRACE","DEBUG","INFO","WARN","ERROR"],this.currentLevel=this.levels.indexOf(t),void(n.instance[t]=this)):new n(t)}r(10)(e,"__esModule",{value:!0}),e.default=void 0,n.instance={},n.getInstance=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"INFO";return n.instance[t]||(n.instance[t]=new n(t)),n.instance[t]},n.prototype.log=function(t,e){this.levels.indexOf(t)>=this.currentLevel&&"undefined"!=typeof console&&(console[t.toLowerCase()]?console[t.toLowerCase()](e):console.log(e))},n.prototype.trace=function(t){this.log("TRACE",t)},n.prototype.debug=function(t){this.log("DEBUG",t)},n.prototype.info=function(t){this.log("INFO",t)},n.prototype.warn=function(t){this.log("WARN",t)},n.prototype.error=function(t){this.log("ERROR",t)};e.default=n},function(t,e,r){t.exports=r(42)},function(t,e,r){r(41),r(121),t.exports=r(0).Array.from},function(t,e,r){"use strict";var n=r(11),i=r(2),o=r(17),a=r(64),s=r(65),u=r(35),c=r(122),l=r(66);i(i.S+i.F*!r(71)((function(t){Array.from(t)})),"Array",{from:function(t){var e,r,i,f,h=o(t),d="function"==typeof this?this:Array,p=arguments.length,_=p>1?arguments[1]:void 0,v=void 0!==_,w=0,g=l(h);if(v&&(_=n(_,p>2?arguments[2]:void 0,2)),null==g||d==Array&&s(g))for(r=new d(e=u(h.length));e>w;w++)c(r,w,v?_(h[w],w):h[w]);else for(f=g.call(h),r=new d;!(i=f.next()).done;w++)c(r,w,v?a(f,_,[i.value,w],!0):i.value);return r.length=w,r}})},function(t,e,r){"use strict";var n=r(4),i=r(14);t.exports=function(t,e,r){e in t?n.f(t,e,i(0,r)):t[e]=r}},function(t,e,r){t.exports=r(124)},function(t,e,r){r(125),t.exports=r(0).Object.keys},function(t,e,r){var n=r(17),i=r(25);r(62)("keys",(function(){return function(t){return i(n(t))}}))},function(t,e,r){t.exports=r(127)},function(t,e,r){r(128),t.exports=r(0).parseFloat},function(t,e,r){var n=r(2),i=r(129);n(n.G+n.F*(parseFloat!=i),{parseFloat:i})},function(t,e,r){var n=r(1).parseFloat,i=r(130).trim;t.exports=1/n(r(77)+"-0")!=-1/0?function(t){var e=i(String(t),3),r=n(e);return 0===r&&"-"==e.charAt(0)?-0:r}:n},function(t,e,r){var n=r(2),i=r(26),o=r(12),a=r(77),s="["+a+"]",u=RegExp("^"+s+s+"*"),c=RegExp(s+s+"*$"),l=function(t,e,r){var i={},s=o((function(){return!!a[t]()||"​…"!="​…"[t]()})),u=i[t]=s?e(f):a[t];r&&(i[r]=u),n(n.P+n.F*s,"String",i)},f=l.trim=function(t,e){return t=String(i(t)),1&e&&(t=t.replace(u,"")),2&e&&(t=t.replace(c,"")),t};t.exports=l},function(t,e,r){var n;!function(i,o){"use strict";var a="model",s="name",u="type",c="vendor",l="version",f="mobile",h="tablet",d="smarttv",p=function(t){for(var e={},r=0;r<t.length;r++)e[t[r].toUpperCase()]=t[r];return e},_=function(t,e){return"string"==typeof t&&-1!==v(e).indexOf(v(t))},v=function(t){return t.toLowerCase()},w=function(t,e){if("string"==typeof t)return t=t.replace(/^\s\s*/,""),void 0===e?t:t.substring(0,500)},g=function(t,e){for(var r,n,i,o,a,s,u=0;u<e.length&&!a;){var c=e[u],l=e[u+1];for(r=n=0;r<c.length&&!a&&c[r];)if(a=c[r++].exec(t))for(i=0;i<l.length;i++)s=a[++n],"object"==typeof(o=l[i])&&o.length>0?2===o.length?"function"==typeof o[1]?this[o[0]]=o[1].call(this,s):this[o[0]]=o[1]:3===o.length?"function"!=typeof o[1]||o[1].exec&&o[1].test?this[o[0]]=s?s.replace(o[1],o[2]):void 0:this[o[0]]=s?o[1].call(this,s,o[2]):void 0:4===o.length&&(this[o[0]]=s?o[3].call(this,s.replace(o[1],o[2])):void 0):this[o]=s||void 0;u+=2}},b=function(t,e){for(var r in e)if("object"==typeof e[r]&&e[r].length>0){for(var n=0;n<e[r].length;n++)if(_(e[r][n],t))return"?"===r?void 0:r}else if(_(e[r],t))return"?"===r?void 0:r;return e.hasOwnProperty("*")?e["*"]:t},m={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},y={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[l,[s,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[l,[s,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[s,l],[/opios[\/ ]+([\w\.]+)/i],[l,[s,"Opera Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[l,[s,"Opera GX"]],[/\bopr\/([\w\.]+)/i],[l,[s,"Opera"]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[l,[s,"Baidu"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim)\s?(?:browser)?[\/ ]?([\w\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio)\/([-\w\.]+)/i,/(heytap|ovi)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[s,l],[/quark(?:pc)?\/([-\w\.]+)/i],[l,[s,"Quark"]],[/\bddg\/([\w\.]+)/i],[l,[s,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[l,[s,"UCBrowser"]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[l,[s,"WeChat"]],[/konqueror\/([\w\.]+)/i],[l,[s,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[l,[s,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[l,[s,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[l,[s,"Smart Lenovo Browser"]],[/(avast|avg)\/([\w\.]+)/i],[[s,/(.+)/,"$1 Secure Browser"],l],[/\bfocus\/([\w\.]+)/i],[l,[s,"Firefox Focus"]],[/\bopt\/([\w\.]+)/i],[l,[s,"Opera Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[l,[s,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[l,[s,"Dolphin"]],[/coast\/([\w\.]+)/i],[l,[s,"Opera Coast"]],[/miuibrowser\/([\w\.]+)/i],[l,[s,"MIUI Browser"]],[/fxios\/([-\w\.]+)/i],[l,[s,"Firefox"]],[/\bqihu|(qi?ho?o?|360)browser/i],[[s,"360 Browser"]],[/\b(qq)\/([\w\.]+)/i],[[s,/(.+)/,"$1Browser"],l],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[s,/(.+)/,"$1 Browser"],l],[/samsungbrowser\/([\w\.]+)/i],[l,[s,"Samsung Internet"]],[/(comodo_dragon)\/([\w\.]+)/i],[[s,/_/g," "],l],[/metasr[\/ ]?([\d\.]+)/i],[l,[s,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[s,"Sogou Mobile"],l],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345Explorer)[\/ ]?([\w\.]+)/i],[s,l],[/(lbbrowser|rekonq)/i,/\[(linkedin)app\]/i],[s],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[s,"Facebook"],l],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(twitter)(?:and| f.+e\/([\w\.]+))/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[s,l],[/\bgsa\/([\w\.]+) .*safari\//i],[l,[s,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[l,[s,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[l,[s,"Chrome Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[s,"Chrome WebView"],l],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[l,[s,"Android Browser"]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[s,l],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[l,[s,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[l,s],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[s,[l,b,{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}]],[/(webkit|khtml)\/([\w\.]+)/i],[s,l],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[s,"Netscape"],l],[/(wolvic)\/([\w\.]+)/i],[s,l],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[l,[s,"Firefox Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i],[s,[l,/_/g,"."]],[/(cobalt)\/([\w\.]+)/i],[s,[l,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[["architecture","amd64"]],[/(ia32(?=;))/i],[["architecture",v]],[/((?:i[346]|x)86)[;\)]/i],[["architecture","ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[["architecture","arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[["architecture","armhf"]],[/windows (ce|mobile); ppc;/i],[["architecture","arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[["architecture",/ower/,"",v]],[/(sun4\w)[;\)]/i],[["architecture","sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[["architecture",v]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[a,[c,"Samsung"],[u,h]],[/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]((?!sm-[lr])[-\w]+)/i,/sec-(sgh\w+)/i],[a,[c,"Samsung"],[u,f]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[a,[c,"Apple"],[u,f]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[a,[c,"Apple"],[u,h]],[/(macintosh);/i],[a,[c,"Apple"]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[a,[c,"Sharp"],[u,f]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[a,[c,"Huawei"],[u,h]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[a,[c,"Huawei"],[u,f]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i],[[a,/_/g," "],[c,"Xiaomi"],[u,f]],[/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i,/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[a,/_/g," "],[c,"Xiaomi"],[u,h]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[a,[c,"OPPO"],[u,f]],[/\b(opd2\d{3}a?) bui/i],[a,[c,"OPPO"],[u,h]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[a,[c,"Vivo"],[u,f]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[a,[c,"Realme"],[u,f]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[a,[c,"Motorola"],[u,f]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[a,[c,"Motorola"],[u,h]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[a,[c,"LG"],[u,h]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[a,[c,"LG"],[u,f]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[a,[c,"Lenovo"],[u,h]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[a,/_/g," "],[c,"Nokia"],[u,f]],[/(pixel c)\b/i],[a,[c,"Google"],[u,h]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[a,[c,"Google"],[u,f]],[/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[a,[c,"Sony"],[u,f]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[a,"Xperia Tablet"],[c,"Sony"],[u,h]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[a,[c,"OnePlus"],[u,f]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[a,[c,"Amazon"],[u,h]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[a,/(.+)/g,"Fire Phone $1"],[c,"Amazon"],[u,f]],[/(playbook);[-\w\),; ]+(rim)/i],[a,c,[u,h]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[a,[c,"BlackBerry"],[u,f]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[a,[c,"ASUS"],[u,h]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[a,[c,"ASUS"],[u,f]],[/(nexus 9)/i],[a,[c,"HTC"],[u,h]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[c,[a,/_/g," "],[u,f]],[/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])\w*(\)| bui)/i],[a,[c,"TCL"],[u,h]],[/(itel) ((\w+))/i],[[c,v],a,[u,b,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[a,[c,"Acer"],[u,h]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[a,[c,"Meizu"],[u,f]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[a,[c,"Ulefone"],[u,f]],[/droid.+; (a(?:015|06[35]|142p?))/i],[a,[c,"Nothing"],[u,f]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[c,a,[u,f]],[/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[c,a,[u,h]],[/(surface duo)/i],[a,[c,"Microsoft"],[u,h]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[a,[c,"Fairphone"],[u,f]],[/(u304aa)/i],[a,[c,"AT&T"],[u,f]],[/\bsie-(\w*)/i],[a,[c,"Siemens"],[u,f]],[/\b(rct\w+) b/i],[a,[c,"RCA"],[u,h]],[/\b(venue[\d ]{2,7}) b/i],[a,[c,"Dell"],[u,h]],[/\b(q(?:mv|ta)\w+) b/i],[a,[c,"Verizon"],[u,h]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[a,[c,"Barnes & Noble"],[u,h]],[/\b(tm\d{3}\w+) b/i],[a,[c,"NuVision"],[u,h]],[/\b(k88) b/i],[a,[c,"ZTE"],[u,h]],[/\b(nx\d{3}j) b/i],[a,[c,"ZTE"],[u,f]],[/\b(gen\d{3}) b.+49h/i],[a,[c,"Swiss"],[u,f]],[/\b(zur\d{3}) b/i],[a,[c,"Swiss"],[u,h]],[/\b((zeki)?tb.*\b) b/i],[a,[c,"Zeki"],[u,h]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[c,"Dragon Touch"],a,[u,h]],[/\b(ns-?\w{0,9}) b/i],[a,[c,"Insignia"],[u,h]],[/\b((nxa|next)-?\w{0,9}) b/i],[a,[c,"NextBook"],[u,h]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[c,"Voice"],a,[u,f]],[/\b(lvtel\-)?(v1[12]) b/i],[[c,"LvTel"],a,[u,f]],[/\b(ph-1) /i],[a,[c,"Essential"],[u,f]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[a,[c,"Envizen"],[u,h]],[/\b(trio[-\w\. ]+) b/i],[a,[c,"MachSpeed"],[u,h]],[/\btu_(1491) b/i],[a,[c,"Rotor"],[u,h]],[/(shield[\w ]+) b/i],[a,[c,"Nvidia"],[u,h]],[/(sprint) (\w+)/i],[c,a,[u,f]],[/(kin\.[onetw]{3})/i],[[a,/\./g," "],[c,"Microsoft"],[u,f]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[a,[c,"Zebra"],[u,h]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[a,[c,"Zebra"],[u,f]],[/smart-tv.+(samsung)/i],[c,[u,d]],[/hbbtv.+maple;(\d+)/i],[[a,/^/,"SmartTV"],[c,"Samsung"],[u,d]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[c,"LG"],[u,d]],[/(apple) ?tv/i],[c,[a,"Apple TV"],[u,d]],[/crkey/i],[[a,"Chromecast"],[c,"Google"],[u,d]],[/droid.+aft(\w+)( bui|\))/i],[a,[c,"Amazon"],[u,d]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[a,[c,"Sharp"],[u,d]],[/(bravia[\w ]+)( bui|\))/i],[a,[c,"Sony"],[u,d]],[/(mitv-\w{5}) bui/i],[a,[c,"Xiaomi"],[u,d]],[/Hbbtv.*(technisat) (.*);/i],[c,a,[u,d]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[c,w],[a,w],[u,d]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[u,d]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[c,a,[u,"console"]],[/droid.+; (shield) bui/i],[a,[c,"Nvidia"],[u,"console"]],[/(playstation [345portablevi]+)/i],[a,[c,"Sony"],[u,"console"]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[a,[c,"Microsoft"],[u,"console"]],[/\b(sm-[lr]\d\d[05][fnuw]?s?)\b/i],[a,[c,"Samsung"],[u,"wearable"]],[/((pebble))app/i],[c,a,[u,"wearable"]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[a,[c,"Apple"],[u,"wearable"]],[/droid.+; (glass) \d/i],[a,[c,"Google"],[u,"wearable"]],[/droid.+; (wt63?0{2,3})\)/i],[a,[c,"Zebra"],[u,"wearable"]],[/(quest( \d| pro)?)/i],[a,[c,"Facebook"],[u,"wearable"]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[c,[u,"embedded"]],[/(aeobc)\b/i],[a,[c,"Amazon"],[u,"embedded"]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[a,[u,f]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[a,[u,h]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[u,h]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[u,f]],[/(android[-\w\. ]{0,9});.+buil/i],[a,[c,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[l,[s,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[l,[s,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[s,l],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[l,s]],os:[[/microsoft (windows) (vista|xp)/i],[s,l],[/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i],[s,[l,b,m]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[l,b,m],[s,"Windows"]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[l,/_/g,"."],[s,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[s,"Mac OS"],[l,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[l,s],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[s,l],[/\(bb(10);/i],[l,[s,"BlackBerry"]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[l,[s,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[l,[s,"Firefox OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[l,[s,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[l,[s,"watchOS"]],[/crkey\/([\d\.]+)/i],[l,[s,"Chromecast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[s,"Chromium OS"],l],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[s,l],[/(sunos) ?([\w\.\d]*)/i],[[s,"Solaris"],l],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[s,l]]},x=function(t,e){if("object"==typeof t&&(e=t,t=void 0),!(this instanceof x))return new x(t,e).getResult();var r=void 0!==i&&i.navigator?i.navigator:void 0,n=t||(r&&r.userAgent?r.userAgent:""),o=r&&r.userAgentData?r.userAgentData:void 0,c=e?function(t,e){var r={};for(var n in t)e[n]&&e[n].length%2==0?r[n]=e[n].concat(t[n]):r[n]=t[n];return r}(y,e):y,d=r&&r.userAgent==n;return this.getBrowser=function(){var t,e={};return e[s]=void 0,e[l]=void 0,g.call(e,n,c.browser),e.major="string"==typeof(t=e[l])?t.replace(/[^\d\.]/g,"").split(".")[0]:void 0,d&&r&&r.brave&&"function"==typeof r.brave.isBrave&&(e[s]="Brave"),e},this.getCPU=function(){var t={architecture:void 0};return g.call(t,n,c.cpu),t},this.getDevice=function(){var t={vendor:void 0,model:void 0,type:void 0};return g.call(t,n,c.device),d&&!t[u]&&o&&o.mobile&&(t[u]=f),d&&"Macintosh"==t[a]&&r&&void 0!==r.standalone&&r.maxTouchPoints&&r.maxTouchPoints>2&&(t[a]="iPad",t[u]=h),t},this.getEngine=function(){var t={name:void 0,version:void 0};return g.call(t,n,c.engine),t},this.getOS=function(){var t={name:void 0,version:void 0};return g.call(t,n,c.os),d&&!t[s]&&o&&o.platform&&"Unknown"!=o.platform&&(t[s]=o.platform.replace(/chrome os/i,"Chromium OS").replace(/macos/i,"Mac OS")),t},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return n},this.setUA=function(t){return n="string"==typeof t&&t.length>500?w(t,500):t,this},this.setUA(n),this};x.VERSION="1.0.39",x.BROWSER=p([s,l,"major"]),x.CPU=p(["architecture"]),x.DEVICE=p([a,c,u,"console",f,d,h,"wearable","embedded"]),x.ENGINE=x.OS=p([s,l]),void 0!==e?(void 0!==t&&t.exports&&(e=t.exports=x),e.UAParser=x):r(132)?void 0===(n=function(){return x}.call(e,r,e,t))||(t.exports=n):void 0!==i&&(i.UAParser=x);var E=void 0!==i&&(i.jQuery||i.Zepto);if(E&&!E.ua){var k=new x;E.ua=k.getResult(),E.ua.get=function(){return k.getUA()},E.ua.set=function(t){k.setUA(t);var e=k.getResult();for(var r in e)E.ua[r]=e[r]}}}("object"==typeof window?window:this)},function(t,e){(function(e){t.exports=e}).call(this,{})},function(t,e,r){var n;t.exports=(n=r(19),function(t){var e=n,r=e.lib,i=r.WordArray,o=r.Hasher,a=e.algo,s=[];!function(){for(var e=0;e<64;e++)s[e]=4294967296*t.abs(t.sin(e+1))|0}();var u=a.MD5=o.extend({_doReset:function(){this._hash=new i.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(t,e){for(var r=0;r<16;r++){var n=e+r,i=t[n];t[n]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8)}var o=this._hash.words,a=t[e+0],u=t[e+1],d=t[e+2],p=t[e+3],_=t[e+4],v=t[e+5],w=t[e+6],g=t[e+7],b=t[e+8],m=t[e+9],y=t[e+10],x=t[e+11],E=t[e+12],k=t[e+13],A=t[e+14],S=t[e+15],O=o[0],R=o[1],M=o[2],T=o[3];O=c(O,R,M,T,a,7,s[0]),T=c(T,O,R,M,u,12,s[1]),M=c(M,T,O,R,d,17,s[2]),R=c(R,M,T,O,p,22,s[3]),O=c(O,R,M,T,_,7,s[4]),T=c(T,O,R,M,v,12,s[5]),M=c(M,T,O,R,w,17,s[6]),R=c(R,M,T,O,g,22,s[7]),O=c(O,R,M,T,b,7,s[8]),T=c(T,O,R,M,m,12,s[9]),M=c(M,T,O,R,y,17,s[10]),R=c(R,M,T,O,x,22,s[11]),O=c(O,R,M,T,E,7,s[12]),T=c(T,O,R,M,k,12,s[13]),M=c(M,T,O,R,A,17,s[14]),O=l(O,R=c(R,M,T,O,S,22,s[15]),M,T,u,5,s[16]),T=l(T,O,R,M,w,9,s[17]),M=l(M,T,O,R,x,14,s[18]),R=l(R,M,T,O,a,20,s[19]),O=l(O,R,M,T,v,5,s[20]),T=l(T,O,R,M,y,9,s[21]),M=l(M,T,O,R,S,14,s[22]),R=l(R,M,T,O,_,20,s[23]),O=l(O,R,M,T,m,5,s[24]),T=l(T,O,R,M,A,9,s[25]),M=l(M,T,O,R,p,14,s[26]),R=l(R,M,T,O,b,20,s[27]),O=l(O,R,M,T,k,5,s[28]),T=l(T,O,R,M,d,9,s[29]),M=l(M,T,O,R,g,14,s[30]),O=f(O,R=l(R,M,T,O,E,20,s[31]),M,T,v,4,s[32]),T=f(T,O,R,M,b,11,s[33]),M=f(M,T,O,R,x,16,s[34]),R=f(R,M,T,O,A,23,s[35]),O=f(O,R,M,T,u,4,s[36]),T=f(T,O,R,M,_,11,s[37]),M=f(M,T,O,R,g,16,s[38]),R=f(R,M,T,O,y,23,s[39]),O=f(O,R,M,T,k,4,s[40]),T=f(T,O,R,M,a,11,s[41]),M=f(M,T,O,R,p,16,s[42]),R=f(R,M,T,O,w,23,s[43]),O=f(O,R,M,T,m,4,s[44]),T=f(T,O,R,M,E,11,s[45]),M=f(M,T,O,R,S,16,s[46]),O=h(O,R=f(R,M,T,O,d,23,s[47]),M,T,a,6,s[48]),T=h(T,O,R,M,g,10,s[49]),M=h(M,T,O,R,A,15,s[50]),R=h(R,M,T,O,v,21,s[51]),O=h(O,R,M,T,E,6,s[52]),T=h(T,O,R,M,p,10,s[53]),M=h(M,T,O,R,y,15,s[54]),R=h(R,M,T,O,u,21,s[55]),O=h(O,R,M,T,b,6,s[56]),T=h(T,O,R,M,S,10,s[57]),M=h(M,T,O,R,w,15,s[58]),R=h(R,M,T,O,k,21,s[59]),O=h(O,R,M,T,_,6,s[60]),T=h(T,O,R,M,x,10,s[61]),M=h(M,T,O,R,d,15,s[62]),R=h(R,M,T,O,m,21,s[63]),o[0]=o[0]+O|0,o[1]=o[1]+R|0,o[2]=o[2]+M|0,o[3]=o[3]+T|0},_doFinalize:function(){var e=this._data,r=e.words,n=8*this._nDataBytes,i=8*e.sigBytes;r[i>>>5]|=128<<24-i%32;var o=t.floor(n/4294967296),a=n;r[15+(i+64>>>9<<4)]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),r[14+(i+64>>>9<<4)]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),e.sigBytes=4*(r.length+1),this._process();for(var s=this._hash,u=s.words,c=0;c<4;c++){var l=u[c];u[c]=16711935&(l<<8|l>>>24)|4278255360&(l<<24|l>>>8)}return s},clone:function(){var t=o.clone.call(this);return t._hash=this._hash.clone(),t}});function c(t,e,r,n,i,o,a){var s=t+(e&r|~e&n)+i+a;return(s<<o|s>>>32-o)+e}function l(t,e,r,n,i,o,a){var s=t+(e&n|r&~n)+i+a;return(s<<o|s>>>32-o)+e}function f(t,e,r,n,i,o,a){var s=t+(e^r^n)+i+a;return(s<<o|s>>>32-o)+e}function h(t,e,r,n,i,o,a){var s=t+(r^(e|~n))+i+a;return(s<<o|s>>>32-o)+e}e.MD5=o._createHelper(u),e.HmacMD5=o._createHmacHelper(u)}(Math),n.MD5)},function(t,e){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(t){"object"==typeof window&&(r=window)}t.exports=r},function(t,e){},function(t,e,r){var n;t.exports=(n=r(19),r(137),r(138),n.HmacSHA1)},function(t,e,r){var n,i,o,a,s,u,c,l;t.exports=(l=r(19),i=(n=l).lib,o=i.WordArray,a=i.Hasher,s=n.algo,u=[],c=s.SHA1=a.extend({_doReset:function(){this._hash=new o.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(t,e){for(var r=this._hash.words,n=r[0],i=r[1],o=r[2],a=r[3],s=r[4],c=0;c<80;c++){if(c<16)u[c]=0|t[e+c];else{var l=u[c-3]^u[c-8]^u[c-14]^u[c-16];u[c]=l<<1|l>>>31}var f=(n<<5|n>>>27)+s+u[c];f+=c<20?1518500249+(i&o|~i&a):c<40?1859775393+(i^o^a):c<60?(i&o|i&a|o&a)-1894007588:(i^o^a)-899497514,s=a,a=o,o=i<<30|i>>>2,i=n,n=f}r[0]=r[0]+n|0,r[1]=r[1]+i|0,r[2]=r[2]+o|0,r[3]=r[3]+a|0,r[4]=r[4]+s|0},_doFinalize:function(){var t=this._data,e=t.words,r=8*this._nDataBytes,n=8*t.sigBytes;return e[n>>>5]|=128<<24-n%32,e[14+(n+64>>>9<<4)]=Math.floor(r/4294967296),e[15+(n+64>>>9<<4)]=r,t.sigBytes=4*e.length,this._process(),this._hash},clone:function(){var t=a.clone.call(this);return t._hash=this._hash.clone(),t}}),n.SHA1=a._createHelper(c),n.HmacSHA1=a._createHmacHelper(c),l.SHA1)},function(t,e,r){var n,i,o,a;t.exports=(n=r(19),o=(i=n).lib.Base,a=i.enc.Utf8,void(i.algo.HMAC=o.extend({init:function(t,e){t=this._hasher=new t.init,"string"==typeof e&&(e=a.parse(e));var r=t.blockSize,n=4*r;e.sigBytes>n&&(e=t.finalize(e)),e.clamp();for(var i=this._oKey=e.clone(),o=this._iKey=e.clone(),s=i.words,u=o.words,c=0;c<r;c++)s[c]^=1549556828,u[c]^=909522486;i.sigBytes=o.sigBytes=n,this.reset()},reset:function(){var t=this._hasher;t.reset(),t.update(this._iKey)},update:function(t){return this._hasher.update(t),this},finalize:function(t){var e=this._hasher,r=e.finalize(t);return e.reset(),e.finalize(this._oKey.clone().concat(r))}})))},function(t,e,r){
1
+ module.exports=function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=85)}([function(t,e){var n=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=n)},function(t,e,n){t.exports=n(43)},function(t,e,n){var r=n(3),i=n(0),o=n(17),a=n(13),s=n(12),u=function(t,e,n){var c,l,f,d=t&u.F,h=t&u.G,p=t&u.S,v=t&u.P,_=t&u.B,g=t&u.W,m=h?i:i[e]||(i[e]={}),w=m.prototype,b=h?r:p?r[e]:(r[e]||{}).prototype;for(c in h&&(n=e),n)(l=!d&&b&&void 0!==b[c])&&s(m,c)||(f=l?b[c]:n[c],m[c]=h&&"function"!=typeof b[c]?n[c]:_&&l?o(f,r):g&&b[c]==f?function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(f):v&&"function"==typeof f?o(Function.call,f):f,v&&((m.virtual||(m.virtual={}))[c]=f,t&u.R&&w&&!w[c]&&a(w,c,f)))};u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,t.exports=u},function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(t,e,n){var r=n(35)("wks"),i=n(25),o=n(3).Symbol,a="function"==typeof o;(t.exports=function(t){return r[t]||(r[t]=a&&o[t]||(a?o:i)("Symbol."+t))}).store=r},function(t,e){t.exports=function(t){return t&&t.__esModule?t:{default:t}},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,n){var r=n(11);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,e,n){t.exports=!n(14)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(t,e,n){var r=n(6),i=n(57),o=n(39),a=Object.defineProperty;e.f=n(7)?Object.defineProperty:function(t,e,n){if(r(t),e=o(e,!0),r(n),i)try{return a(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){t.exports=n(137)},function(t,e,n){var r=n(56),i=n(24);t.exports=function(t){return r(i(t))}},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){var r=n(8),i=n(21);t.exports=n(7)?function(t,e,n){return r.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,n){t.exports=n(136)},function(t,e,n){var r=n(24);t.exports=function(t){return Object(r(t))}},function(t,e,n){var r=n(26);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}}},function(t,e,n){var r=n(55),i=n(36);t.exports=Object.keys||function(t){return r(t,i)}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e){t.exports=!0},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e){t.exports={}},function(t,e,n){(function(e){var r;t.exports=(r=r||function(t,r){var i;if("undefined"!=typeof window&&window.crypto&&(i=window.crypto),"undefined"!=typeof self&&self.crypto&&(i=self.crypto),"undefined"!=typeof globalThis&&globalThis.crypto&&(i=globalThis.crypto),!i&&"undefined"!=typeof window&&window.msCrypto&&(i=window.msCrypto),!i&&void 0!==e&&e.crypto&&(i=e.crypto),!i)try{i=n(152)}catch(t){}var o=function(){if(i){if("function"==typeof i.getRandomValues)try{return i.getRandomValues(new Uint32Array(1))[0]}catch(t){}if("function"==typeof i.randomBytes)try{return i.randomBytes(4).readInt32LE()}catch(t){}}throw new Error("Native crypto module could not be used to get secure random number.")},a=Object.create||function(){function t(){}return function(e){var n;return t.prototype=e,n=new t,t.prototype=null,n}}(),s={},u=s.lib={},c=u.Base={extend:function(t){var e=a(this);return t&&e.mixIn(t),e.hasOwnProperty("init")&&this.init!==e.init||(e.init=function(){e.$super.init.apply(this,arguments)}),e.init.prototype=e,e.$super=this,e},create:function(){var t=this.extend();return t.init.apply(t,arguments),t},init:function(){},mixIn:function(t){for(var e in t)t.hasOwnProperty(e)&&(this[e]=t[e]);t.hasOwnProperty("toString")&&(this.toString=t.toString)},clone:function(){return this.init.prototype.extend(this)}},l=u.WordArray=c.extend({init:function(t,e){t=this.words=t||[],this.sigBytes=null!=e?e:4*t.length},toString:function(t){return(t||d).stringify(this)},concat:function(t){var e=this.words,n=t.words,r=this.sigBytes,i=t.sigBytes;if(this.clamp(),r%4)for(var o=0;o<i;o++){var a=n[o>>>2]>>>24-o%4*8&255;e[r+o>>>2]|=a<<24-(r+o)%4*8}else for(var s=0;s<i;s+=4)e[r+s>>>2]=n[s>>>2];return this.sigBytes+=i,this},clamp:function(){var e=this.words,n=this.sigBytes;e[n>>>2]&=4294967295<<32-n%4*8,e.length=t.ceil(n/4)},clone:function(){var t=c.clone.call(this);return t.words=this.words.slice(0),t},random:function(t){for(var e=[],n=0;n<t;n+=4)e.push(o());return new l.init(e,t)}}),f=s.enc={},d=f.Hex={stringify:function(t){for(var e=t.words,n=t.sigBytes,r=[],i=0;i<n;i++){var o=e[i>>>2]>>>24-i%4*8&255;r.push((o>>>4).toString(16)),r.push((15&o).toString(16))}return r.join("")},parse:function(t){for(var e=t.length,n=[],r=0;r<e;r+=2)n[r>>>3]|=parseInt(t.substr(r,2),16)<<24-r%8*4;return new l.init(n,e/2)}},h=f.Latin1={stringify:function(t){for(var e=t.words,n=t.sigBytes,r=[],i=0;i<n;i++){var o=e[i>>>2]>>>24-i%4*8&255;r.push(String.fromCharCode(o))}return r.join("")},parse:function(t){for(var e=t.length,n=[],r=0;r<e;r++)n[r>>>2]|=(255&t.charCodeAt(r))<<24-r%4*8;return new l.init(n,e)}},p=f.Utf8={stringify:function(t){try{return decodeURIComponent(escape(h.stringify(t)))}catch(t){throw new Error("Malformed UTF-8 data")}},parse:function(t){return h.parse(unescape(encodeURIComponent(t)))}},v=u.BufferedBlockAlgorithm=c.extend({reset:function(){this._data=new l.init,this._nDataBytes=0},_append:function(t){"string"==typeof t&&(t=p.parse(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes},_process:function(e){var n,r=this._data,i=r.words,o=r.sigBytes,a=this.blockSize,s=o/(4*a),u=(s=e?t.ceil(s):t.max((0|s)-this._minBufferSize,0))*a,c=t.min(4*u,o);if(u){for(var f=0;f<u;f+=a)this._doProcessBlock(i,f);n=i.splice(0,u),r.sigBytes-=c}return new l.init(n,c)},clone:function(){var t=c.clone.call(this);return t._data=this._data.clone(),t},_minBufferSize:0}),_=(u.Hasher=v.extend({cfg:c.extend(),init:function(t){this.cfg=this.cfg.extend(t),this.reset()},reset:function(){v.reset.call(this),this._doReset()},update:function(t){return this._append(t),this._process(),this},finalize:function(t){return t&&this._append(t),this._doFinalize()},blockSize:16,_createHelper:function(t){return function(e,n){return new t.init(n).finalize(e)}},_createHmacHelper:function(t){return function(e,n){return new _.HMAC.init(t,n).finalize(e)}}}),s.algo={});return s}(Math),r)}).call(this,n(151))},function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e,n){var r=n(8).f,i=n(12),o=n(4)("toStringTag");t.exports=function(t,e,n){t&&!i(t=n?t:t.prototype,o)&&r(t,o,{configurable:!0,value:e})}},function(t,e,n){e.f=n(4)},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e){e.f={}.propertyIsEnumerable},function(t,e,n){var r=n(30),i=n(21),o=n(10),a=n(39),s=n(12),u=n(57),c=Object.getOwnPropertyDescriptor;e.f=n(7)?c:function(t,e){if(t=o(t),e=a(e,!0),u)try{return c(t,e)}catch(t){}if(s(t,e))return i(!r.f.call(t,e),t[e])}},function(t,e,n){var r=n(33),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},function(t,e,n){var r=n(35)("keys"),i=n(25);t.exports=function(t){return r[t]||(r[t]=i(t))}},function(t,e,n){var r=n(0),i=n(3),o=i["__core-js_shared__"]||(i["__core-js_shared__"]={});(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n(20)?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e,n){var r=n(2),i=n(0),o=n(14);t.exports=function(t,e){var n=(i.Object||{})[t]||Object[t],a={};a[t]=e(n),r(r.S+r.F*o((function(){n(1)})),"Object",a)}},function(t,e,n){var r=n(11),i=n(3).document,o=r(i)&&r(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},function(t,e,n){var r=n(11);t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},function(t,e,n){var r=n(3),i=n(0),o=n(20),a=n(28),s=n(8).f;t.exports=function(t){var e=i.Symbol||(i.Symbol=o?{}:r.Symbol||{});"_"==t.charAt(0)||t in e||s(e,t,{value:a.f(t)})}},function(t,e,n){var r=n(6),i=n(61),o=n(36),a=n(34)("IE_PROTO"),s=function(){},u=function(){var t,e=n(38)("iframe"),r=o.length;for(e.style.display="none",n(62).appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),u=t.F;r--;)delete u.prototype[o[r]];return u()};t.exports=Object.create||function(t,e){var n;return null!==t?(s.prototype=r(t),n=new s,s.prototype=null,n[a]=t):n=u(),void 0===e?n:i(n,e)}},function(t,e,n){var r=n(55),i=n(36).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},function(t,e,n){n(105);var r=n(0).Object;t.exports=function(t,e,n){return r.defineProperty(t,e,n)}},function(t,e,n){var r=n(106)();t.exports=r;try{regeneratorRuntime=r}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}},function(t,e,n){var r=n(46),i=n(65);function o(e){return t.exports=o="function"==typeof r&&"symbol"==typeof i?function(t){return typeof t}:function(t){return t&&"function"==typeof r&&t.constructor===r&&t!==r.prototype?"symbol":typeof t},t.exports.__esModule=!0,t.exports.default=t.exports,o(e)}t.exports=o,t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,n){n(58),n(64),n(107),n(108),t.exports=n(0).Symbol},function(t,e,n){"use strict";var r=n(109)(!0);n(66)(String,"String",(function(t){this._t=String(t),this._i=0}),(function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})}))},function(t,e,n){n(64),n(47),n(68),n(121),n(129),n(130),t.exports=n(0).Promise},function(t,e,n){"use strict";var r=n(26);function i(t){var e,n;this.promise=new t((function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r})),this.resolve=r(e),this.reject=r(n)}t.exports.f=function(t){return new i(t)}},function(t,e,n){var r=n(48);function i(t,e,n,i,o,a,s){try{var u=t[a](s),c=u.value}catch(t){return void n(t)}u.done?e(c):r.resolve(c).then(i,o)}t.exports=function(t){return function(){var e=this,n=arguments;return new r((function(r,o){var a=t.apply(e,n);function s(t){i(a,r,o,s,u,"next",t)}function u(t){i(a,r,o,s,u,"throw",t)}s(void 0)}))}},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,n){t.exports=n(134)},function(t,e,n){"use strict";var r=n(80),i=n(81),o=n(82),a=n(51),s=n(1),u=n(5);s(e,"__esModule",{value:!0}),e.apmSign=function(t,e,n){var r=t+(0,p.default)(function(t){for(var e=[],n=0;n<t.length;n+=4)e.push(t[n]<<24|t[n+1]<<16|t[n+2]<<8|t[n+3]);return _.default.lib.WordArray.create(e,t.length)}(n)).toString();return(0,v.default)(r,e).toString()},e.arrayIncludes=function(t,e){if("[object Array]"===Object.prototype.toString.call(t))for(var n=0;n<t.length;n++)if(t[n]===e)return!0;return!1},e.base64ToUint8Array=function(t){for(var e=atob(t),n=e.length,r=new Uint8Array(n),i=0;i<n;i++)r[i]=e.charCodeAt(i);return r},e.buildQueryString=function(t){return(0,f.default)(t).map((function(e){return encodeURIComponent(e)+"="+encodeURIComponent(t[e])})).join("&")},e.canRun=function(){var t=w();return 11===t||-1===t||"edge"===t},e.genUniqueId=function(){for(var t=(0,c.default)().toString(36),e=Math.random().toString(36).substring(2,15),n=[0,0,0,0,0,0,0,0,0,0].map((function(){return Math.random().toString(36).charAt(2)})).join(""),r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];var a=i.join("-")+"-"+t+"-"+e+"-"+n,s=btoa(encodeURIComponent(a));return s},e.getIEVersion=w,e.getNetworkInfo=function(){var t=navigator.connection||navigator.mozConnection||navigator.webkitConnection;return t?{effectiveType:t.effectiveType,downlink:t.downlink,rtt:t.rtt,saveData:t.saveData}:{}},e.getUAInfo=function(){return(new h.default).getResult()},e.getValueByPath=function(t,e){if(null==t)return;if("string"!=typeof e||""===e.trim())return;var n,s=e.split("."),u=t,c=function(t,e){var n=void 0!==i&&t[o]||t["@@iterator"];if(!n){if(a(t)||(n=function(t,e){if(t){if("string"==typeof t)return g(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?r(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?g(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var s=0,u=function(){};return{s:u,n:function(){return s>=t.length?{done:!0}:{done:!1,value:t[s++]}},e:function(t){throw t},f:u}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var c,l=!0,f=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return l=t.done,t},e:function(t){f=!0,c=t},f:function(){try{l||null==n.return||n.return()}finally{if(f)throw c}}}}(s);try{for(c.s();!(n=c.n()).done;){var l=n.value;if(void 0===u[l])return;u=u[l]}}catch(t){c.e(t)}finally{c.f()}return u},e.gzipEncode=function(t){var e;try{e=(0,l.default)(t)}catch(t){e=""}return n(156).gzip(e)},e.isInObjectInclude=function t(e,n){if(void 0===e||void 0===n)return!1;if(!m(e)||!m(n))return!1;for(var r in e)if(m(e[r])){if(!t(e[r],n[r]))return!1}else if(e[r]!==n[r])return!1;return!0},e.isObject=m,e.isRequiredFieldNotReady=function(t){return t.requiredFields.some((function(e){return void 0===t[e]}))},e.reqIdleCallback=function(t,e){"function"==typeof requestIdleCallback?requestIdleCallback(t,{timeout:e||1e3}):setTimeout(t,0)},e.sampleSign=function(t,e,n){var r="appId="+t+"@h5&timestamp="+n;return(0,v.default)(r,e).toString()},e.uint8ArrayToBase64=function(t){try{return btoa(String.fromCharCode.apply(null,t))}catch(t){return""}};var c=u(n(9)),l=u(n(15)),f=u(n(54)),d=u(n(143)),h=u(n(148)),p=u(n(150)),v=u(n(153)),_=u(n(23));function g(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function m(t){return"[object Object]"===Object.prototype.toString.call(t)}function w(){var t=navigator.userAgent,e=t.indexOf("compatible")>-1&&t.indexOf("MSIE")>-1,n=t.indexOf("Edge")>-1&&!e,r=t.indexOf("Trident")>-1&&t.indexOf("rv:11.0")>-1;if(e){new RegExp("MSIE (\\d+\\.\\d+);").test(t);var i=(0,d.default)(RegExp.$1);return 7==i?7:8==i?8:9==i?9:10==i?10:6}return n?"edge":r?11:-1}},function(t,e,n){"use strict";n(1)(e,"__esModule",{value:!0}),e.RATE_RETRY_INTERVAL=e.RATE_MAX_RETRY_COUNT=e.MAX_REQ_QUEUE_LENGTH=e.MAX_ERROR_QUEUE=e.MAX_CACHE_QUEUE=e.LOG_ERROR_RETRY_INTERVAL=e.LOG_ERROR_MAX_RETRY_COUNT=e.EVENTID=e.EMAS_RATE_NOTIC_KEY=e.EMAS_APM_WARN_LEVEL=e.EMAS_APM_VERSION=e.EMAS_APM_REQUEST_LOCALSTORAGE_KEY=e.EMAS_APM_PROTOCOL_VERSION=e.EMAS_APM_LOG_KEY=e.EMAS_APM_ENV=e.EMAS_APM_DEBUG_LEVEL=void 0;e.EMAS_APM_VERSION="1.0.2",e.EMAS_APM_PROTOCOL_VERSION="1.0.0";var r="prod";try{r="pre"===localStorage.getItem("emas_apm_env_debug")?"pre":"prod"}catch(t){}e.EMAS_APM_ENV=r,e.EMAS_APM_DEBUG_LEVEL="DEBUG",e.EMAS_APM_WARN_LEVEL="WARN",e.EMAS_APM_LOG_KEY="emas-apm",e.MAX_CACHE_QUEUE=100,e.MAX_ERROR_QUEUE=100,e.MAX_REQ_QUEUE_LENGTH=500,e.EMAS_APM_REQUEST_LOCALSTORAGE_KEY="EMAS_APM_REQUEST",e.EMAS_RATE_NOTIC_KEY="EMAS_RATE_NOTIC_KEY",e.RATE_MAX_RETRY_COUNT=3,e.RATE_RETRY_INTERVAL=5e3,e.LOG_ERROR_MAX_RETRY_COUNT=5,e.LOG_ERROR_RETRY_INTERVAL=5e3,e.EVENTID={pv:"pv",jsError:"jsError",whiteScreen:"whiteScreen",request:"request",resource:"resource",performance:"performance"}},function(t,e,n){t.exports=n(86)},function(t,e,n){var r=n(12),i=n(10),o=n(88)(!1),a=n(34)("IE_PROTO");t.exports=function(t,e){var n,s=i(t),u=0,c=[];for(n in s)n!=a&&r(s,n)&&c.push(n);for(;e.length>u;)r(s,n=e[u++])&&(~o(c,n)||c.push(n));return c}},function(t,e,n){var r=n(19);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,e,n){t.exports=!n(7)&&!n(14)((function(){return 7!=Object.defineProperty(n(38)("div"),"a",{get:function(){return 7}}).a}))},function(t,e,n){"use strict";var r=n(3),i=n(12),o=n(7),a=n(2),s=n(59),u=n(92).KEY,c=n(14),l=n(35),f=n(27),d=n(25),h=n(4),p=n(28),v=n(40),_=n(93),g=n(60),m=n(6),w=n(11),b=n(16),y=n(10),E=n(39),x=n(21),S=n(41),A=n(94),k=n(31),M=n(29),O=n(8),T=n(18),R=k.f,L=O.f,P=A.f,j=r.Symbol,C=r.JSON,z=C&&C.stringify,N=h("_hidden"),I=h("toPrimitive"),U={}.propertyIsEnumerable,B=l("symbol-registry"),F=l("symbols"),D=l("op-symbols"),q=Object.prototype,H="function"==typeof j&&!!M.f,G=r.QObject,K=!G||!G.prototype||!G.prototype.findChild,Z=o&&c((function(){return 7!=S(L({},"a",{get:function(){return L(this,"a",{value:7}).a}})).a}))?function(t,e,n){var r=R(q,e);r&&delete q[e],L(t,e,n),r&&t!==q&&L(q,e,r)}:L,V=function(t){var e=F[t]=S(j.prototype);return e._k=t,e},Y=H&&"symbol"==typeof j.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof j},Q=function(t,e,n){return t===q&&Q(D,e,n),m(t),e=E(e,!0),m(n),i(F,e)?(n.enumerable?(i(t,N)&&t[N][e]&&(t[N][e]=!1),n=S(n,{enumerable:x(0,!1)})):(i(t,N)||L(t,N,x(1,{})),t[N][e]=!0),Z(t,e,n)):L(t,e,n)},X=function(t,e){m(t);for(var n,r=_(e=y(e)),i=0,o=r.length;o>i;)Q(t,n=r[i++],e[n]);return t},W=function(t){var e=U.call(this,t=E(t,!0));return!(this===q&&i(F,t)&&!i(D,t))&&(!(e||!i(this,t)||!i(F,t)||i(this,N)&&this[N][t])||e)},$=function(t,e){if(t=y(t),e=E(e,!0),t!==q||!i(F,e)||i(D,e)){var n=R(t,e);return!n||!i(F,e)||i(t,N)&&t[N][e]||(n.enumerable=!0),n}},J=function(t){for(var e,n=P(y(t)),r=[],o=0;n.length>o;)i(F,e=n[o++])||e==N||e==u||r.push(e);return r},tt=function(t){for(var e,n=t===q,r=P(n?D:y(t)),o=[],a=0;r.length>a;)!i(F,e=r[a++])||n&&!i(q,e)||o.push(F[e]);return o};H||(s((j=function(){if(this instanceof j)throw TypeError("Symbol is not a constructor!");var t=d(arguments.length>0?arguments[0]:void 0),e=function(n){this===q&&e.call(D,n),i(this,N)&&i(this[N],t)&&(this[N][t]=!1),Z(this,t,x(1,n))};return o&&K&&Z(q,t,{configurable:!0,set:e}),V(t)}).prototype,"toString",(function(){return this._k})),k.f=$,O.f=Q,n(42).f=A.f=J,n(30).f=W,M.f=tt,o&&!n(20)&&s(q,"propertyIsEnumerable",W,!0),p.f=function(t){return V(h(t))}),a(a.G+a.W+a.F*!H,{Symbol:j});for(var et="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),nt=0;et.length>nt;)h(et[nt++]);for(var rt=T(h.store),it=0;rt.length>it;)v(rt[it++]);a(a.S+a.F*!H,"Symbol",{for:function(t){return i(B,t+="")?B[t]:B[t]=j(t)},keyFor:function(t){if(!Y(t))throw TypeError(t+" is not a symbol!");for(var e in B)if(B[e]===t)return e},useSetter:function(){K=!0},useSimple:function(){K=!1}}),a(a.S+a.F*!H,"Object",{create:function(t,e){return void 0===e?S(t):X(S(t),e)},defineProperty:Q,defineProperties:X,getOwnPropertyDescriptor:$,getOwnPropertyNames:J,getOwnPropertySymbols:tt});var ot=c((function(){M.f(1)}));a(a.S+a.F*ot,"Object",{getOwnPropertySymbols:function(t){return M.f(b(t))}}),C&&a(a.S+a.F*(!H||c((function(){var t=j();return"[null]"!=z([t])||"{}"!=z({a:t})||"{}"!=z(Object(t))}))),"JSON",{stringify:function(t){for(var e,n,r=[t],i=1;arguments.length>i;)r.push(arguments[i++]);if(n=e=r[1],(w(e)||void 0!==t)&&!Y(t))return g(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!Y(e))return e}),r[1]=e,z.apply(C,r)}}),j.prototype[I]||n(13)(j.prototype,I,j.prototype.valueOf),f(j,"Symbol"),f(Math,"Math",!0),f(r.JSON,"JSON",!0)},function(t,e,n){t.exports=n(13)},function(t,e,n){var r=n(19);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,e,n){var r=n(8),i=n(6),o=n(18);t.exports=n(7)?Object.defineProperties:function(t,e){i(t);for(var n,a=o(e),s=a.length,u=0;s>u;)r.f(t,n=a[u++],e[n]);return t}},function(t,e,n){var r=n(3).document;t.exports=r&&r.documentElement},function(t,e,n){"use strict";var r=n(8),i=n(21);t.exports=function(t,e,n){e in t?r.f(t,e,i(0,n)):t[e]=n}},function(t,e){},function(t,e,n){n(47),n(68),t.exports=n(28).f("iterator")},function(t,e,n){"use strict";var r=n(20),i=n(2),o=n(59),a=n(13),s=n(22),u=n(110),c=n(27),l=n(67),f=n(4)("iterator"),d=!([].keys&&"next"in[].keys()),h=function(){return this};t.exports=function(t,e,n,p,v,_,g){u(n,e,p);var m,w,b,y=function(t){if(!d&&t in A)return A[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},E=e+" Iterator",x="values"==v,S=!1,A=t.prototype,k=A[f]||A["@@iterator"]||v&&A[v],M=k||y(v),O=v?x?y("entries"):M:void 0,T="Array"==e&&A.entries||k;if(T&&(b=l(T.call(new t)))!==Object.prototype&&b.next&&(c(b,E,!0),r||"function"==typeof b[f]||a(b,f,h)),x&&k&&"values"!==k.name&&(S=!0,M=function(){return k.call(this)}),r&&!g||!d&&!S&&A[f]||a(A,f,M),s[e]=M,s[E]=h,v)if(m={values:x?M:y("values"),keys:_?M:y("keys"),entries:O},g)for(w in m)w in A||o(A,w,m[w]);else i(i.P+i.F*(d||S),e,m);return m}},function(t,e,n){var r=n(12),i=n(16),o=n(34)("IE_PROTO"),a=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=i(t),r(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?a:null}},function(t,e,n){n(111);for(var r=n(3),i=n(13),o=n(22),a=n(4)("toStringTag"),s="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),u=0;u<s.length;u++){var c=s[u],l=r[c],f=l&&l.prototype;f&&!f[a]&&i(f,a,c),o[c]=o.Array}},function(t,e,n){var r=n(19),i=n(4)("toStringTag"),o="Arguments"==r(function(){return arguments}());t.exports=function(t){var e,n,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),i))?n:o?r(e):"Object"==(a=r(e))&&"function"==typeof e.callee?"Arguments":a}},function(t,e,n){var r=n(6);t.exports=function(t,e,n,i){try{return i?e(r(n)[0],n[1]):e(n)}catch(e){var o=t.return;throw void 0!==o&&r(o.call(t)),e}}},function(t,e,n){var r=n(22),i=n(4)("iterator"),o=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||o[i]===t)}},function(t,e,n){var r=n(69),i=n(4)("iterator"),o=n(22);t.exports=n(0).getIteratorMethod=function(t){if(null!=t)return t[i]||t["@@iterator"]||o[r(t)]}},function(t,e,n){var r=n(6),i=n(26),o=n(4)("species");t.exports=function(t,e){var n,a=r(t).constructor;return void 0===a||null==(n=r(a)[o])?e:i(n)}},function(t,e,n){var r,i,o,a=n(17),s=n(124),u=n(62),c=n(38),l=n(3),f=l.process,d=l.setImmediate,h=l.clearImmediate,p=l.MessageChannel,v=l.Dispatch,_=0,g={},m=function(){var t=+this;if(g.hasOwnProperty(t)){var e=g[t];delete g[t],e()}},w=function(t){m.call(t.data)};d&&h||(d=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return g[++_]=function(){s("function"==typeof t?t:Function(t),e)},r(_),_},h=function(t){delete g[t]},"process"==n(19)(f)?r=function(t){f.nextTick(a(m,t,1))}:v&&v.now?r=function(t){v.now(a(m,t,1))}:p?(o=(i=new p).port2,i.port1.onmessage=w,r=a(o.postMessage,o,1)):l.addEventListener&&"function"==typeof postMessage&&!l.importScripts?(r=function(t){l.postMessage(t+"","*")},l.addEventListener("message",w,!1)):r="onreadystatechange"in c("script")?function(t){u.appendChild(c("script")).onreadystatechange=function(){u.removeChild(this),m.call(t)}}:function(t){setTimeout(a(m,t,1),0)}),t.exports={set:d,clear:h}},function(t,e){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},function(t,e,n){var r=n(6),i=n(11),o=n(49);t.exports=function(t,e){if(r(t),i(e)&&e.constructor===t)return e;var n=o.f(t);return(0,n.resolve)(e),n.promise}},function(t,e,n){var r=n(4)("iterator"),i=!1;try{var o=[7][r]();o.return=function(){i=!0},Array.from(o,(function(){throw 2}))}catch(t){}t.exports=function(t,e){if(!e&&!i)return!1;var n=!1;try{var o=[7],a=o[r]();a.next=function(){return{done:n=!0}},o[r]=function(){return a},t(o)}catch(t){}return n}},function(t,e,n){var r=n(43),i=n(131);t.exports=function(t,e,n){return(e=i(e))in t?r(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,n){"use strict";var r=n(1),i=n(5);r(e,"__esModule",{value:!0}),e.EMAS_APM_SERVERS=void 0,e.getRate=function(t,e){return g.apply(this,arguments)},e.uploadLog=function(t,e){return _.apply(this,arguments)};var o=i(n(44)),a=i(n(50)),s=i(n(140)),u=i(n(9)),c=n(52),l=n(53),f=e.EMAS_APM_SERVERS={upload:{pre:"https://pre-apm-gateway.aliyuncs.com/log/upload",prod:"https://apm-gateway.aliyuncs.com/log/upload"},rate:{pre:"https://pre-setting-emas.aliyuncs.com/api/v1/sample",prod:"https://setting-emas.aliyuncs.com/api/v1/sample"}};function d(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return new s.default((function(r,i){var o=new XMLHttpRequest;for(var a in o.open("POST",t,!0),n)n.hasOwnProperty(a)&&o.setRequestHeader(a,n[a]);o.onreadystatechange=function(){4===o.readyState&&(200===o.status?r(!0):i(new Error("Request failed with status ".concat(o.status,": ").concat(o.statusText))))},o.onerror=function(){i(new Error("Network error"))},o.send(e)}))}function h(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=new Blob([e],{type:"application/octet-stream"}),i=(0,c.buildQueryString)(n),o=i?"".concat(t,"?").concat(i):t;return navigator.sendBeacon(o,r)}function p(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return new s.default((function(r,i){var o=new XMLHttpRequest,a=(0,c.buildQueryString)(e),s=a?"".concat(t,"?").concat(a):t;for(var u in o.open("GET",s,!0),n)n.hasOwnProperty(u)&&o.setRequestHeader(u,n[u]);o.onreadystatechange=function(){if(4===o.readyState)if(200==o.status)if(o.responseText)try{var t=JSON.parse(o.responseText);r(t)}catch(t){i(new Error("json parse error"))}else i(new Error("request failed no responseText"));else i(new Error("Request failed with status ".concat(o.status,": ").concat(o.statusText)))},o.onerror=function(){i(new Error("Network error"))},o.send()}))}var v={open:!0,errorTime:0};function _(){return(_=(0,a.default)(o.default.mark((function t(e,n){var r,i,a,s;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=f.upload[l.EMAS_APM_ENV],i=n.appKey,a=n.appSecret,t.prev=2,!navigator.sendBeacon||!v.open){t.next=7;break}s=h(r,e,{compression:"gzip",appKey:i,algorithm:"EMAS-HMAC-V1",signature:(0,c.apmSign)(i,a,e)}),t.next=10;break;case 7:return t.next=9,d(r,e,{"Content-Type":"application/octet-stream","x-apm-compression":"gzip","x-apm-app-key":i,"x-apm-signature-algorithm":"EMAS-HMAC-V1","x-apm-signature":(0,c.apmSign)(i,a,e)});case 9:s=t.sent;case 10:return t.abrupt("return",s);case 13:return t.prev=13,t.t0=t.catch(2),navigator.sendBeacon&&v.open&&(v.errorTime+=1,v.errorTime>=3&&(v.open=!1)),console.error("[".concat(l.EMAS_APM_LOG_KEY,"]: upload request error ="),t.t0),t.abrupt("return",!1);case 18:case"end":return t.stop()}}),t,null,[[2,13]])})))).apply(this,arguments)}function g(){return(g=(0,a.default)(o.default.mark((function t(e,n){var r,i,a,s,d,h;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=f.rate[l.EMAS_APM_ENV],i=(0,u.default)(),a=(0,c.sampleSign)(e,n,i),t.prev=3,t.next=6,p(r,{appId:e+"@h5",timestamp:i,sign:a});case 6:if(s=t.sent,h=(d=s||{}).data,!d.success||!h){t.next=12;break}return t.abrupt("return",{success:!0,data:h});case 12:return t.abrupt("return",{success:!1});case 13:t.next=18;break;case 15:return t.prev=15,t.t0=t.catch(3),t.abrupt("return",{success:!1});case 18:case"end":return t.stop()}}),t,null,[[3,15]])})))).apply(this,arguments)}},function(t,e,n){t.exports=n(141)},function(t,e,n){t.exports=n(46)},function(t,e,n){t.exports=n(65)},function(t,e){t.exports="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff"},function(t,e,n){"use strict";function r(t,e){return(void 0===e||e>=200&&e<300)&&(void 0!==t.success?!0===t.success||"true"===t.success:void 0!==t.isSuccess?!0===t.isSuccess||"true"===t.isSuccess:void 0!==t.isOk?!0===t.isOk||"true"===t.isOk:!0===t.ok||"true"===t.ok?!0===t.ok||"true"===t.ok:isNaN(t.status)?!!isNaN(t.code)||200===t.code:200===t.status)}n(1)(e,"__esModule",{value:!0}),e.getCustomCode=function(t,e,n,r){var i=r.rule;if(i)return i(t,e,n);return""},e.getRequestBody=function(t,e){if(e=e.toUpperCase(),!t||"POST"!==e&&"PUT"!==e)return;if("string"==typeof t)return t;if(window.FormData&&t instanceof window.FormData){var n=[];return t.forEach((function(t,e){n.push("".concat(e,"=").concat("string"==typeof t?t:Object.prototype.toString.call(t)))})),n.join("&")}return window.URLSearchParams&&t instanceof window.URLSearchParams?t.toString():window.Request&&t instanceof window.Request?t.clone().text():Object.prototype.toString.call(t)},e.getRequestHeaders=function(t){if(window.Headers&&t instanceof window.Headers){var e={};return t.forEach((function(t,n){e[n]=t})),e}if("[object Object]"===Object.prototype.toString.call(t))return t},e.getResponseBody=function(t,e){var n,r;if(e.originResopnse)return t;if("jsonp"===e.method)return t.text();var i=null===(n=t.headers)||void 0===n||null===(r=n.get)||void 0===r?void 0:r.call(n,"content-type");if(!i||-1!==i.toLowerCase().indexOf("json")||-1!==i.toLowerCase().indexOf("text"))return t.text();return"[".concat(i,"]")},e.isIgnoredUrl=function(t,e){var n,r=e.EMAS_APM.getInnerDomains();n="[object Request]"===Object.prototype.toString.call(t)?t.url:t;if(/^data:[a-zA-Z]+\/[a-zA-Z0-9\-\+\.]+;base64,/.test(n))return!0;for(var i=0;i<r.length;i++)if(-1!==n.indexOf(r[i])||-1!==r[i].indexOf(n))return!0;return!n},e.isSuccess=r,e.parseResponse=function(t,e,n,i){var o,a=t;"string"==typeof a&&(a=JSON.parse(a));o="[object Object]"===Object.prototype.toString.call(a)?{msg:a.msg||a.message||a.errMsg||a.errorMessage||a.errorMsg,code:a.code||a.errorCode||a.errCode,success:r(a,e)}:{success:void 0===e||e>=200&&e<300};if("function"==typeof i.parseResponse)try{var s=i.parseResponse(a,e,n)||{};for(var u in s)o[u]=s[u]}catch(t){console.error(t)}return o}},function(t,e,n){"use strict";var r=n(54),i=n(90),o=n(95),a=n(98),s=n(102),u=n(1),c=n(5);u(e,"__esModule",{value:!0}),e.default=void 0;var l=c(n(44)),f=c(n(50)),d=c(n(78)),h=c(n(51)),p=c(n(15)),v=c(n(9)),_=c(n(139)),g=n(79),m=c(n(157)),w=n(53),b=n(52),y=c(n(158)),E=c(n(160)),x=c(n(163)),S=c(n(166)),A=c(n(168)),k=c(n(176));function M(t,e){var n=r(t);if(i){var a=i(t);e&&(a=a.filter((function(e){return o(t,e).enumerable}))),n.push.apply(n,a)}return n}function O(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?M(Object(n),!0).forEach((function(e){(0,d.default)(t,e,n[e])})):a?s(t,a(n)):M(Object(n)).forEach((function(e){u(t,e,o(n,e))}))}return t}function T(t){var e=this;if((0,b.canRun)()){if(!(this instanceof T))return new T(t);var n=t||{},r=n.appKey,i=n.appSecret,o=n.appVersion,a=n.channel,s=n.userNick,u=n.userId,c=n.loggerLevel,l=void 0===c?"online":c,f=n.requiredFields,d=void 0===f?[]:f,p="";try{p=localStorage.getItem("emas_apm_log_debug")}catch(t){}if(this._logger=_.default.getInstance("debug"===l||"debug"===p?w.EMAS_APM_DEBUG_LEVEL:w.EMAS_APM_WARN_LEVEL),this.printLog={debug:function(t,n){e._logger.debug("[".concat(t,"]: ").concat(n))},info:function(t,n){e._logger.info("[".concat(t,"]: ").concat(n))},warn:function(t,n){e._logger.warn("[".concat(t,"]: ").concat(n))},error:function(t,n){e._logger.error("[".concat(t,"]: ").concat(n))}},!r||!i)throw this.printLog.error(w.EMAS_APM_LOG_KEY,"AppKey and AppSecret cannot be null. Please check the parameters."),new Error("AppKey and AppSecret cannot be null. Please check the parameters.");var v=[];d&&(0,h.default)(d)&&d.length>0&&(this.printLog.debug(w.EMAS_APM_LOG_KEY,"setting requiredFields=".concat(d)),v=d),this._appConfig={appKey:r,appSecret:i,appVersion:o,channel:a,userNick:s,userId:u,requiredFields:v},this._errorQueryRetryCount=0,this._rate=m.default.getInstance(this.printLog),this._rate.init(this._appConfig.appKey,this._appConfig.appSecret),this._reqQueue=[],this._rateQueue=[],this._offlineQueue=[],this._errorQueue=[],this._plugins={},window.addEventListener("online",(function(){navigator.onLine&&e._offlineQueue.length>0&&(e.printLog.debug(w.EMAS_APM_LOG_KEY,"network changed upload offline queue log"),e._offlineQueue.forEach((function(t){(0,b.reqIdleCallback)((function(){e.send(t)}))})),e._offlineQueue=[])})),window.addEventListener("beforeunload",(function(){e._beforeunload()})),window.addEventListener(w.EMAS_RATE_NOTIC_KEY,(function(){e.printLog.debug(w.EMAS_APM_LOG_KEY,"sample rate is ready"),e._rateQueue.forEach((function(t){e.log.apply(e,t)})),e._rateQueue=[]})),this._watchErrorTimer=setInterval((function(){e._errorQueue.length>0&&(e._errorQueryRetryCount++,e.printLog.debug(w.EMAS_APM_LOG_KEY,"retry error logs in error queue. -----".concat(e._errorQueryRetryCount)),e._errorQueue.forEach((function(t){e.send(t)})),e._errorQueue=[],e._errorQueryRetryCount>=w.LOG_ERROR_MAX_RETRY_COUNT&&(e.printLog.debug(w.EMAS_APM_LOG_KEY,"over max retry counts, end error logs retry"),clearInterval(e._watchErrorTimer),e._watchErrorTimer=void 0))}),w.LOG_ERROR_RETRY_INTERVAL),this._uploadCache()}else console.info('"APM SDK does not support the current browser.')}T.prototype.start=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!(0,b.canRun)())return console.info('"APM SDK does not support the current browser.'),{};var e={},n=t||{},r=n.pv,i=void 0===r?{}:r,o=n.performance,a=void 0===o?{}:o,s=n.request,u=void 0===s?{}:s,c=n.resource,l=void 0===c?{}:c,f=n.whiteScreen,d=void 0===f?{}:f,p=n.jsError,v=void 0===p?{}:p,_=i||{},g=_.autoPV,m=void 0===g||g,w=(_.autoLeave,_.enableHistory),M=void 0!==w&&w,T=_.enableHash,R=void 0!==T&&T,L=this._addPlugin(y.default,{autoPV:m,enableHistory:M,enableHash:R});e.pv=L;var P=v||{},j=P.disable,C=void 0!==j&&j,z=P.disableError,N=void 0!==z&&z,I=P.disableUnhandledRejection,U=void 0!==I&&I,B=P.ignoreList,F=void 0===B?[]:B;if(!C){var D=this._addPlugin(E.default,{disableError:N,disableUnhandledRejection:U,ignoreList:F});e.jsError=D}var q=u||{},H=q.disable,G=void 0!==H&&H,K=q.disableFetch,Z=void 0!==K&&K,V=q.disableXHR,Y=void 0!==V&&V,Q=q.ignoreList,X=void 0===Q?[]:Q;if(!G){var W=this._addPlugin(x.default,{disable:!1,disableFetch:Z,disableXHR:Y,ignoreList:X});e.request=W}var $=l||{},J=$.disable,tt=void 0!==J&&J,et=$.ignoreList,nt=void 0===et?[]:et;if(!tt){var rt=this._addPlugin(S.default,{ignoreList:nt});e.resource=rt}var it=a||{},ot=it.disable,at=void 0!==ot&&ot,st=it.disableCLS,ut=void 0!==st&&st,ct=it.disableLCP,lt=void 0!==ct&&ct,ft=it.disableINP,dt=void 0!==ft&&ft,ht=it.disableFCP,pt=void 0!==ht&&ht,vt=it.disableFP,_t=void 0!==vt&&vt,gt=it.disableTTFB,mt=void 0!==gt&&gt,wt=it.disableNavigationTiming,bt=void 0!==wt&&wt;if(!at){var yt=this._addPlugin(A.default,{cls:!ut,lcp:!lt,inp:!dt,fcp:!pt,fp:!_t,ttfb:!mt,navigationtiming:!bt});e.performance=yt}var Et=d||{},xt=Et.disable,St=void 0!==xt&&xt,At=Et.when,kt=Et.timeout,Mt=void 0===kt?3e3:kt;if(!St){var Ot=this._addPlugin(k.default,O(O({},(0,h.default)(At)&&{when:At}),{},{timeout:Mt}));e.whiteScreen=Ot}return e},T.prototype.setConfig=function(t,e){var n=this,r={};if(void 0!==e?r[t]=e:r=t,r.appKey&&delete r.appKey,r.appSecret&&delete r.appSecret,!(0,b.isInObjectInclude)(r,this._appConfig)){for(var i in r)(0,b.isObject)(r[i])?this._appConfig[i]=assign(this._appConfig[i]||{},r[i]):this._appConfig[i]=r[i];(0,b.isRequiredFieldNotReady)(this._appConfig)||(this.printLog.debug(w.EMAS_APM_LOG_KEY,"required field is ready, start send queue log"),this._reqQueue.forEach((function(t){n.log.apply(n,t)})),this._reqQueue=[])}},T.prototype.getInnerDomains=function(){var t=[];for(var e in g.EMAS_APM_SERVERS)if(g.EMAS_APM_SERVERS.hasOwnProperty(e)){var n=g.EMAS_APM_SERVERS[e];for(var r in n)n.hasOwnProperty(r)&&t.push(n[r])}return t},T.prototype.log=function(t,e){if(this.printLog.debug(w.EMAS_APM_LOG_KEY,"EMAS_APM LOG eventType:".concat(t,"; eventData:").concat((0,p.default)(e))),(0,b.isRequiredFieldNotReady)(this._appConfig))this.printLog.debug(w.EMAS_APM_LOG_KEY,"required field not ready"),this._reqQueue.push([t,e]),this._reqQueue.length>w.MAX_REQ_QUEUE_LENGTH&&this._reqQueue.shift();else if(this._rate.rateReady||t===w.EVENTID.pv){var n=(0,b.getUAInfo)(),r=n.browser,i=n.device,o=n.os,a=this._appConfig,s=a.appKey,u=a.appSecret,c=a.appVersion,l=a.channel,f=a.userNick,d=a.userId,h={platform:"h5",protocolVersion:w.EMAS_APM_PROTOCOL_VERSION,sessionId:(0,b.genUniqueId)(s,u),uuid:(0,b.genUniqueId)(t),sdk:{name:"mini",version:w.EMAS_APM_VERSION},app:{version:c,channel:l},device:{os:o.name,version:o.version||r.version,model:i.model,language:navigator.language,resolution:"".concat(window.screen.width,"x").concat(window.screen.height)},user:{nick:f,id:d},eventTime:e.eventTime||(0,v.default)(),clientTime:(0,v.default)(),uri:e.uri||location.href,network:{access:(0,b.getNetworkInfo)().effectiveType},eventId:t,payload:e};if(t!==w.EVENTID.pv){var _=this._rate.calcSample(t,h,this._appConfig);if(this.printLog.debug(w.EMAS_APM_LOG_KEY,"filter by sample rate. rate=[".concat(_,"]")),_<=0)return void this.printLog.debug(w.EMAS_APM_LOG_KEY,"log not upload");h.sampleRate=_}this.printLog.debug(w.EMAS_APM_LOG_KEY,"log payload: ".concat((0,p.default)(h)));var g=(0,b.gzipEncode)(h);this.send(g)}else this.printLog.debug(w.EMAS_APM_LOG_KEY,"sample rate is not ready"),this._rateQueue.push([t,e])},T.prototype.send=function(){var t=(0,f.default)(l.default.mark((function t(e){return l.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(this.printLog.debug(w.EMAS_APM_LOG_KEY,"begin send log....."),!navigator.onLine){t.next=9;break}return this.printLog.debug(w.EMAS_APM_LOG_KEY,"begin request log....."),t.next=5,(0,g.uploadLog)(e,this._appConfig);case 5:t.sent?this.printLog.debug(w.EMAS_APM_LOG_KEY,"request log success"):(this.printLog.debug(w.EMAS_APM_LOG_KEY,"request log failed log to error cache"),this._errorQueue.push(e),this._errorQueue.length>w.MAX_ERROR_QUEUE&&this._errorQueue.shift()),t.next=12;break;case 9:this.printLog.debug(w.EMAS_APM_LOG_KEY,"network offline log to offline cache"),this._offlineQueue.push(e),this._offlineQueue.length>w.MAX_CACHE_QUEUE&&this._offlineQueue.shift();case 12:case"end":return t.stop()}}),t,this)})));return function(e){return t.apply(this,arguments)}}(),T.prototype._addPlugin=function(t,e){var n=this;if((0,b.canRun)())return"[object Array]"===Object.prototype.toString.call(t)?t.map((function(t){if("[object Array]"===Object.prototype.toString.call(t)){var e=t[0],r=t[1];return n._plugins[e]||(n._plugins[e]=new e(n,r))}return n._plugins[t]||(n._plugins[t]=new t(n))})):this._plugins[t]||(this._plugins[t]=new t(this,e));console.info('"APM SDK does not support the current browser.')},T.prototype._beforeunload=function(){this._watchErrorTimer&&clearInterval(this._watchErrorTimer);var t=[];this._offlineQueue.forEach((function(e){if(e instanceof Uint8Array){var n=(0,b.uint8ArrayToBase64)(e);n&&t.push(n)}})),this._errorQueue.forEach((function(e){if(e instanceof Uint8Array){var n=(0,b.uint8ArrayToBase64)(e);n&&t.push(n)}}));var e=t.join("|");try{this.printLog.debug(w.EMAS_APM_LOG_KEY,"save log cache : ".concat(e)),localStorage.setItem(w.EMAS_APM_REQUEST_LOCALSTORAGE_KEY,e)}catch(t){}},T.prototype._uploadCache=function(){var t=this;this.printLog.debug(w.EMAS_APM_LOG_KEY,"upload cache......"),(0,b.reqIdleCallback)((function(){var e=localStorage.getItem(w.EMAS_APM_REQUEST_LOCALSTORAGE_KEY);e&&(e.split("|").forEach((function(e){"string"==typeof e&&t.send((0,b.base64ToUint8Array)(e))})),localStorage.removeItem(w.EMAS_APM_REQUEST_LOCALSTORAGE_KEY))}))};e.default=T},function(t,e,n){n(87),t.exports=n(0).Object.keys},function(t,e,n){var r=n(16),i=n(18);n(37)("keys",(function(){return function(t){return i(r(t))}}))},function(t,e,n){var r=n(10),i=n(32),o=n(89);t.exports=function(t){return function(e,n,a){var s,u=r(e),c=i(u.length),l=o(a,c);if(t&&n!=n){for(;c>l;)if((s=u[l++])!=s)return!0}else for(;c>l;l++)if((t||l in u)&&u[l]===n)return t||l||0;return!t&&-1}}},function(t,e,n){var r=n(33),i=Math.max,o=Math.min;t.exports=function(t,e){return(t=r(t))<0?i(t+e,0):o(t,e)}},function(t,e,n){t.exports=n(91)},function(t,e,n){n(58),t.exports=n(0).Object.getOwnPropertySymbols},function(t,e,n){var r=n(25)("meta"),i=n(11),o=n(12),a=n(8).f,s=0,u=Object.isExtensible||function(){return!0},c=!n(14)((function(){return u(Object.preventExtensions({}))})),l=function(t){a(t,r,{value:{i:"O"+ ++s,w:{}}})},f=t.exports={KEY:r,NEED:!1,fastKey:function(t,e){if(!i(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,r)){if(!u(t))return"F";if(!e)return"E";l(t)}return t[r].i},getWeak:function(t,e){if(!o(t,r)){if(!u(t))return!0;if(!e)return!1;l(t)}return t[r].w},onFreeze:function(t){return c&&f.NEED&&u(t)&&!o(t,r)&&l(t),t}}},function(t,e,n){var r=n(18),i=n(29),o=n(30);t.exports=function(t){var e=r(t),n=i.f;if(n)for(var a,s=n(t),u=o.f,c=0;s.length>c;)u.call(t,a=s[c++])&&e.push(a);return e}},function(t,e,n){var r=n(10),i=n(42).f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return a&&"[object Window]"==o.call(t)?function(t){try{return i(t)}catch(t){return a.slice()}}(t):i(r(t))}},function(t,e,n){t.exports=n(96)},function(t,e,n){n(97);var r=n(0).Object;t.exports=function(t,e){return r.getOwnPropertyDescriptor(t,e)}},function(t,e,n){var r=n(10),i=n(31).f;n(37)("getOwnPropertyDescriptor",(function(){return function(t,e){return i(r(t),e)}}))},function(t,e,n){t.exports=n(99)},function(t,e,n){n(100),t.exports=n(0).Object.getOwnPropertyDescriptors},function(t,e,n){var r=n(2),i=n(101),o=n(10),a=n(31),s=n(63);r(r.S,"Object",{getOwnPropertyDescriptors:function(t){for(var e,n,r=o(t),u=a.f,c=i(r),l={},f=0;c.length>f;)void 0!==(n=u(r,e=c[f++]))&&s(l,e,n);return l}})},function(t,e,n){var r=n(42),i=n(29),o=n(6),a=n(3).Reflect;t.exports=a&&a.ownKeys||function(t){var e=r.f(o(t)),n=i.f;return n?e.concat(n(t)):e}},function(t,e,n){t.exports=n(103)},function(t,e,n){n(104);var r=n(0).Object;t.exports=function(t,e){return r.defineProperties(t,e)}},function(t,e,n){var r=n(2);r(r.S+r.F*!n(7),"Object",{defineProperties:n(61)})},function(t,e,n){var r=n(2);r(r.S+r.F*!n(7),"Object",{defineProperty:n(8).f})},function(t,e,n){var r=n(45).default,i=n(43),o=n(46),a=n(114),s=n(116),u=n(118),c=n(48);function l(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */t.exports=l=function(){return n},t.exports.__esModule=!0,t.exports.default=t.exports;var e,n={},f=Object.prototype,d=f.hasOwnProperty,h=i||function(t,e,n){t[e]=n.value},p="function"==typeof o?o:{},v=p.iterator||"@@iterator",_=p.asyncIterator||"@@asyncIterator",g=p.toStringTag||"@@toStringTag";function m(t,e,n){return i(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{m({},"")}catch(e){m=function(t,e,n){return t[e]=n}}function w(t,e,n,r){var i=e&&e.prototype instanceof A?e:A,o=a(i.prototype),s=new I(r||[]);return h(o,"_invoke",{value:j(t,n,s)}),o}function b(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}n.wrap=w;var y="suspendedStart",E="executing",x="completed",S={};function A(){}function k(){}function M(){}var O={};m(O,v,(function(){return this}));var T=s&&s(s(U([])));T&&T!==f&&d.call(T,v)&&(O=T);var R=M.prototype=A.prototype=a(O);function L(t){["next","throw","return"].forEach((function(e){m(t,e,(function(t){return this._invoke(e,t)}))}))}function P(t,e){function n(i,o,a,s){var u=b(t[i],t,o);if("throw"!==u.type){var c=u.arg,l=c.value;return l&&"object"==r(l)&&d.call(l,"__await")?e.resolve(l.__await).then((function(t){n("next",t,a,s)}),(function(t){n("throw",t,a,s)})):e.resolve(l).then((function(t){c.value=t,a(c)}),(function(t){return n("throw",t,a,s)}))}s(u.arg)}var i;h(this,"_invoke",{value:function(t,r){function o(){return new e((function(e,i){n(t,r,e,i)}))}return i=i?i.then(o,o):o()}})}function j(t,n,r){var i=y;return function(o,a){if(i===E)throw Error("Generator is already running");if(i===x){if("throw"===o)throw a;return{value:e,done:!0}}for(r.method=o,r.arg=a;;){var s=r.delegate;if(s){var u=C(s,r);if(u){if(u===S)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(i===y)throw i=x,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);i=E;var c=b(t,n,r);if("normal"===c.type){if(i=r.done?x:"suspendedYield",c.arg===S)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(i=x,r.method="throw",r.arg=c.arg)}}}function C(t,n){var r=n.method,i=t.iterator[r];if(i===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,C(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),S;var o=b(i,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,S;var a=o.arg;return a?a.done?(n[t.resultName]=a.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,S):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,S)}function z(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function N(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(z,this),this.reset(!0)}function U(t){if(t||""===t){var n=t[v];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,o=function n(){for(;++i<t.length;)if(d.call(t,i))return n.value=t[i],n.done=!1,n;return n.value=e,n.done=!0,n};return o.next=o}}throw new TypeError(r(t)+" is not iterable")}return k.prototype=M,h(R,"constructor",{value:M,configurable:!0}),h(M,"constructor",{value:k,configurable:!0}),k.displayName=m(M,g,"GeneratorFunction"),n.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===k||"GeneratorFunction"===(e.displayName||e.name))},n.mark=function(t){return u?u(t,M):(t.__proto__=M,m(t,g,"GeneratorFunction")),t.prototype=a(R),t},n.awrap=function(t){return{__await:t}},L(P.prototype),m(P.prototype,_,(function(){return this})),n.AsyncIterator=P,n.async=function(t,e,r,i,o){void 0===o&&(o=c);var a=new P(w(t,e,r,i),o);return n.isGeneratorFunction(e)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},L(R),m(R,g,"Generator"),m(R,v,(function(){return this})),m(R,"toString",(function(){return"[object Generator]"})),n.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},n.values=U,I.prototype={constructor:I,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(N),!t)for(var n in this)"t"===n.charAt(0)&&d.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function r(r,i){return a.type="throw",a.arg=t,n.next=r,i&&(n.method="next",n.arg=e),!!i}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var s=d.call(o,"catchLoc"),u=d.call(o,"finallyLoc");if(s&&u){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!u)throw Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&d.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var o=i?i.completion:{};return o.type=t,o.arg=e,i?(this.method="next",this.next=i.finallyLoc,S):this.complete(o)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),S},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),N(n),S}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;N(n)}return i}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:U(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),S}},n}t.exports=l,t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,n){n(40)("asyncIterator")},function(t,e,n){n(40)("observable")},function(t,e,n){var r=n(33),i=n(24);t.exports=function(t){return function(e,n){var o,a,s=String(i(e)),u=r(n),c=s.length;return u<0||u>=c?t?"":void 0:(o=s.charCodeAt(u))<55296||o>56319||u+1===c||(a=s.charCodeAt(u+1))<56320||a>57343?t?s.charAt(u):o:t?s.slice(u,u+2):a-56320+(o-55296<<10)+65536}}},function(t,e,n){"use strict";var r=n(41),i=n(21),o=n(27),a={};n(13)(a,n(4)("iterator"),(function(){return this})),t.exports=function(t,e,n){t.prototype=r(a,{next:i(1,n)}),o(t,e+" Iterator")}},function(t,e,n){"use strict";var r=n(112),i=n(113),o=n(22),a=n(10);t.exports=n(66)(Array,"Array",(function(t,e){this._t=a(t),this._i=0,this._k=e}),(function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,i(1)):i(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])}),"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},function(t,e){t.exports=function(){}},function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e,n){n(115);var r=n(0).Object;t.exports=function(t,e){return r.create(t,e)}},function(t,e,n){var r=n(2);r(r.S,"Object",{create:n(41)})},function(t,e,n){n(117),t.exports=n(0).Object.getPrototypeOf},function(t,e,n){var r=n(16),i=n(67);n(37)("getPrototypeOf",(function(){return function(t){return i(r(t))}}))},function(t,e,n){n(119),t.exports=n(0).Object.setPrototypeOf},function(t,e,n){var r=n(2);r(r.S,"Object",{setPrototypeOf:n(120).set})},function(t,e,n){var r=n(11),i=n(6),o=function(t,e){if(i(t),!r(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,r){try{(r=n(17)(Function.call,n(31).f(Object.prototype,"__proto__").set,2))(t,[]),e=!(t instanceof Array)}catch(t){e=!0}return function(t,n){return o(t,n),e?t.__proto__=n:r(t,n),t}}({},!1):void 0),check:o}},function(t,e,n){"use strict";var r,i,o,a,s=n(20),u=n(3),c=n(17),l=n(69),f=n(2),d=n(11),h=n(26),p=n(122),v=n(123),_=n(73),g=n(74).set,m=n(125)(),w=n(49),b=n(75),y=n(126),E=n(76),x=u.TypeError,S=u.process,A=S&&S.versions,k=A&&A.v8||"",M=u.Promise,O="process"==l(S),T=function(){},R=i=w.f,L=!!function(){try{var t=M.resolve(1),e=(t.constructor={})[n(4)("species")]=function(t){t(T,T)};return(O||"function"==typeof PromiseRejectionEvent)&&t.then(T)instanceof e&&0!==k.indexOf("6.6")&&-1===y.indexOf("Chrome/66")}catch(t){}}(),P=function(t){var e;return!(!d(t)||"function"!=typeof(e=t.then))&&e},j=function(t,e){if(!t._n){t._n=!0;var n=t._c;m((function(){for(var r=t._v,i=1==t._s,o=0,a=function(e){var n,o,a,s=i?e.ok:e.fail,u=e.resolve,c=e.reject,l=e.domain;try{s?(i||(2==t._h&&N(t),t._h=1),!0===s?n=r:(l&&l.enter(),n=s(r),l&&(l.exit(),a=!0)),n===e.promise?c(x("Promise-chain cycle")):(o=P(n))?o.call(n,u,c):u(n)):c(r)}catch(t){l&&!a&&l.exit(),c(t)}};n.length>o;)a(n[o++]);t._c=[],t._n=!1,e&&!t._h&&C(t)}))}},C=function(t){g.call(u,(function(){var e,n,r,i=t._v,o=z(t);if(o&&(e=b((function(){O?S.emit("unhandledRejection",i,t):(n=u.onunhandledrejection)?n({promise:t,reason:i}):(r=u.console)&&r.error&&r.error("Unhandled promise rejection",i)})),t._h=O||z(t)?2:1),t._a=void 0,o&&e.e)throw e.v}))},z=function(t){return 1!==t._h&&0===(t._a||t._c).length},N=function(t){g.call(u,(function(){var e;O?S.emit("rejectionHandled",t):(e=u.onrejectionhandled)&&e({promise:t,reason:t._v})}))},I=function(t){var e=this;e._d||(e._d=!0,(e=e._w||e)._v=t,e._s=2,e._a||(e._a=e._c.slice()),j(e,!0))},U=function(t){var e,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw x("Promise can't be resolved itself");(e=P(t))?m((function(){var r={_w:n,_d:!1};try{e.call(t,c(U,r,1),c(I,r,1))}catch(t){I.call(r,t)}})):(n._v=t,n._s=1,j(n,!1))}catch(t){I.call({_w:n,_d:!1},t)}}};L||(M=function(t){p(this,M,"Promise","_h"),h(t),r.call(this);try{t(c(U,this,1),c(I,this,1))}catch(t){I.call(this,t)}},(r=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=n(127)(M.prototype,{then:function(t,e){var n=R(_(this,M));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=O?S.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&j(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new r;this.promise=t,this.resolve=c(U,t,1),this.reject=c(I,t,1)},w.f=R=function(t){return t===M||t===a?new o(t):i(t)}),f(f.G+f.W+f.F*!L,{Promise:M}),n(27)(M,"Promise"),n(128)("Promise"),a=n(0).Promise,f(f.S+f.F*!L,"Promise",{reject:function(t){var e=R(this);return(0,e.reject)(t),e.promise}}),f(f.S+f.F*(s||!L),"Promise",{resolve:function(t){return E(s&&this===a?M:this,t)}}),f(f.S+f.F*!(L&&n(77)((function(t){M.all(t).catch(T)}))),"Promise",{all:function(t){var e=this,n=R(e),r=n.resolve,i=n.reject,o=b((function(){var n=[],o=0,a=1;v(t,!1,(function(t){var s=o++,u=!1;n.push(void 0),a++,e.resolve(t).then((function(t){u||(u=!0,n[s]=t,--a||r(n))}),i)})),--a||r(n)}));return o.e&&i(o.v),n.promise},race:function(t){var e=this,n=R(e),r=n.reject,i=b((function(){v(t,!1,(function(t){e.resolve(t).then(n.resolve,r)}))}));return i.e&&r(i.v),n.promise}})},function(t,e){t.exports=function(t,e,n,r){if(!(t instanceof e)||void 0!==r&&r in t)throw TypeError(n+": incorrect invocation!");return t}},function(t,e,n){var r=n(17),i=n(70),o=n(71),a=n(6),s=n(32),u=n(72),c={},l={};(e=t.exports=function(t,e,n,f,d){var h,p,v,_,g=d?function(){return t}:u(t),m=r(n,f,e?2:1),w=0;if("function"!=typeof g)throw TypeError(t+" is not iterable!");if(o(g)){for(h=s(t.length);h>w;w++)if((_=e?m(a(p=t[w])[0],p[1]):m(t[w]))===c||_===l)return _}else for(v=g.call(t);!(p=v.next()).done;)if((_=i(v,m,p.value,e))===c||_===l)return _}).BREAK=c,e.RETURN=l},function(t,e){t.exports=function(t,e,n){var r=void 0===n;switch(e.length){case 0:return r?t():t.call(n);case 1:return r?t(e[0]):t.call(n,e[0]);case 2:return r?t(e[0],e[1]):t.call(n,e[0],e[1]);case 3:return r?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return r?t(e[0],e[1],e[2],e[3]):t.call(n,e[0],e[1],e[2],e[3])}return t.apply(n,e)}},function(t,e,n){var r=n(3),i=n(74).set,o=r.MutationObserver||r.WebKitMutationObserver,a=r.process,s=r.Promise,u="process"==n(19)(a);t.exports=function(){var t,e,n,c=function(){var r,i;for(u&&(r=a.domain)&&r.exit();t;){i=t.fn,t=t.next;try{i()}catch(r){throw t?n():e=void 0,r}}e=void 0,r&&r.enter()};if(u)n=function(){a.nextTick(c)};else if(!o||r.navigator&&r.navigator.standalone)if(s&&s.resolve){var l=s.resolve(void 0);n=function(){l.then(c)}}else n=function(){i.call(r,c)};else{var f=!0,d=document.createTextNode("");new o(c).observe(d,{characterData:!0}),n=function(){d.data=f=!f}}return function(r){var i={fn:r,next:void 0};e&&(e.next=i),t||(t=i,n()),e=i}}},function(t,e,n){var r=n(3).navigator;t.exports=r&&r.userAgent||""},function(t,e,n){var r=n(13);t.exports=function(t,e,n){for(var i in e)n&&t[i]?t[i]=e[i]:r(t,i,e[i]);return t}},function(t,e,n){"use strict";var r=n(3),i=n(0),o=n(8),a=n(7),s=n(4)("species");t.exports=function(t){var e="function"==typeof i[t]?i[t]:r[t];a&&e&&!e[s]&&o.f(e,s,{configurable:!0,get:function(){return this}})}},function(t,e,n){"use strict";var r=n(2),i=n(0),o=n(3),a=n(73),s=n(76);r(r.P+r.R,"Promise",{finally:function(t){var e=a(this,i.Promise||o.Promise),n="function"==typeof t;return this.then(n?function(n){return s(e,t()).then((function(){return n}))}:t,n?function(n){return s(e,t()).then((function(){throw n}))}:t)}})},function(t,e,n){"use strict";var r=n(2),i=n(49),o=n(75);r(r.S,"Promise",{try:function(t){var e=i.f(this),n=o(t);return(n.e?e.reject:e.resolve)(n.v),e.promise}})},function(t,e,n){var r=n(45).default,i=n(132);t.exports=function(t){var e=i(t,"string");return"symbol"==r(e)?e:e+""},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,n){var r=n(133),i=n(45).default;t.exports=function(t,e){if("object"!=i(t)||!t)return t;var n=t[r];if(void 0!==n){var o=n.call(t,e||"default");if("object"!=i(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,n){t.exports=n(28).f("toPrimitive")},function(t,e,n){n(135),t.exports=n(0).Array.isArray},function(t,e,n){var r=n(2);r(r.S,"Array",{isArray:n(60)})},function(t,e,n){var r=n(0),i=r.JSON||(r.JSON={stringify:JSON.stringify});t.exports=function(t){return i.stringify.apply(i,arguments)}},function(t,e,n){n(138),t.exports=n(0).Date.now},function(t,e,n){var r=n(2);r(r.S,"Date",{now:function(){return(new Date).getTime()}})},function(t,e,n){"use strict";function r(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"INFO";return this instanceof r?r.instance[t]?r.instance[t]:(this.levels=["TRACE","DEBUG","INFO","WARN","ERROR"],this.currentLevel=this.levels.indexOf(t),void(r.instance[t]=this)):new r(t)}n(1)(e,"__esModule",{value:!0}),e.default=void 0,r.instance={},r.getInstance=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"INFO";return r.instance[t]||(r.instance[t]=new r(t)),r.instance[t]},r.prototype.log=function(t,e){this.levels.indexOf(t)>=this.currentLevel&&"undefined"!=typeof console&&(console[t.toLowerCase()]?console[t.toLowerCase()](e):console.log(e))},r.prototype.trace=function(t){this.log("TRACE",t)},r.prototype.debug=function(t){this.log("DEBUG",t)},r.prototype.info=function(t){this.log("INFO",t)},r.prototype.warn=function(t){this.log("WARN",t)},r.prototype.error=function(t){this.log("ERROR",t)};e.default=r},function(t,e,n){t.exports=n(48)},function(t,e,n){n(47),n(142),t.exports=n(0).Array.from},function(t,e,n){"use strict";var r=n(17),i=n(2),o=n(16),a=n(70),s=n(71),u=n(32),c=n(63),l=n(72);i(i.S+i.F*!n(77)((function(t){Array.from(t)})),"Array",{from:function(t){var e,n,i,f,d=o(t),h="function"==typeof this?this:Array,p=arguments.length,v=p>1?arguments[1]:void 0,_=void 0!==v,g=0,m=l(d);if(_&&(v=r(v,p>2?arguments[2]:void 0,2)),null==m||h==Array&&s(m))for(n=new h(e=u(d.length));e>g;g++)c(n,g,_?v(d[g],g):d[g]);else for(f=m.call(d),n=new h;!(i=f.next()).done;g++)c(n,g,_?a(f,v,[i.value,g],!0):i.value);return n.length=g,n}})},function(t,e,n){t.exports=n(144)},function(t,e,n){n(145),t.exports=n(0).parseFloat},function(t,e,n){var r=n(2),i=n(146);r(r.G+r.F*(parseFloat!=i),{parseFloat:i})},function(t,e,n){var r=n(3).parseFloat,i=n(147).trim;t.exports=1/r(n(83)+"-0")!=-1/0?function(t){var e=i(String(t),3),n=r(e);return 0===n&&"-"==e.charAt(0)?-0:n}:r},function(t,e,n){var r=n(2),i=n(24),o=n(14),a=n(83),s="["+a+"]",u=RegExp("^"+s+s+"*"),c=RegExp(s+s+"*$"),l=function(t,e,n){var i={},s=o((function(){return!!a[t]()||"​…"!="​…"[t]()})),u=i[t]=s?e(f):a[t];n&&(i[n]=u),r(r.P+r.F*s,"String",i)},f=l.trim=function(t,e){return t=String(i(t)),1&e&&(t=t.replace(u,"")),2&e&&(t=t.replace(c,"")),t};t.exports=l},function(t,e,n){var r;!function(i,o){"use strict";var a="model",s="name",u="type",c="vendor",l="version",f="mobile",d="tablet",h="smarttv",p=function(t){for(var e={},n=0;n<t.length;n++)e[t[n].toUpperCase()]=t[n];return e},v=function(t,e){return"string"==typeof t&&-1!==_(e).indexOf(_(t))},_=function(t){return t.toLowerCase()},g=function(t,e){if("string"==typeof t)return t=t.replace(/^\s\s*/,""),void 0===e?t:t.substring(0,500)},m=function(t,e){for(var n,r,i,o,a,s,u=0;u<e.length&&!a;){var c=e[u],l=e[u+1];for(n=r=0;n<c.length&&!a&&c[n];)if(a=c[n++].exec(t))for(i=0;i<l.length;i++)s=a[++r],"object"==typeof(o=l[i])&&o.length>0?2===o.length?"function"==typeof o[1]?this[o[0]]=o[1].call(this,s):this[o[0]]=o[1]:3===o.length?"function"!=typeof o[1]||o[1].exec&&o[1].test?this[o[0]]=s?s.replace(o[1],o[2]):void 0:this[o[0]]=s?o[1].call(this,s,o[2]):void 0:4===o.length&&(this[o[0]]=s?o[3].call(this,s.replace(o[1],o[2])):void 0):this[o]=s||void 0;u+=2}},w=function(t,e){for(var n in e)if("object"==typeof e[n]&&e[n].length>0){for(var r=0;r<e[n].length;r++)if(v(e[n][r],t))return"?"===n?void 0:n}else if(v(e[n],t))return"?"===n?void 0:n;return e.hasOwnProperty("*")?e["*"]:t},b={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},y={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[l,[s,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[l,[s,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[s,l],[/opios[\/ ]+([\w\.]+)/i],[l,[s,"Opera Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[l,[s,"Opera GX"]],[/\bopr\/([\w\.]+)/i],[l,[s,"Opera"]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[l,[s,"Baidu"]],[/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i],[l,[s,"Maxthon"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim(?:browser|boat|jet))[\/ ]?([\d\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio|(?=comodo_)?dragon)\/([-\w\.]+)/i,/(heytap|ovi|115)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[s,l],[/quark(?:pc)?\/([-\w\.]+)/i],[l,[s,"Quark"]],[/\bddg\/([\w\.]+)/i],[l,[s,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[l,[s,"UCBrowser"]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[l,[s,"WeChat"]],[/konqueror\/([\w\.]+)/i],[l,[s,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[l,[s,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[l,[s,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[l,[s,"Smart Lenovo Browser"]],[/(avast|avg)\/([\w\.]+)/i],[[s,/(.+)/,"$1 Secure Browser"],l],[/\bfocus\/([\w\.]+)/i],[l,[s,"Firefox Focus"]],[/\bopt\/([\w\.]+)/i],[l,[s,"Opera Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[l,[s,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[l,[s,"Dolphin"]],[/coast\/([\w\.]+)/i],[l,[s,"Opera Coast"]],[/miuibrowser\/([\w\.]+)/i],[l,[s,"MIUI Browser"]],[/fxios\/([\w\.-]+)/i],[l,[s,"Firefox"]],[/\bqihoobrowser\/?([\w\.]*)/i],[l,[s,"360"]],[/\b(qq)\/([\w\.]+)/i],[[s,/(.+)/,"$1Browser"],l],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[s,/(.+)/,"$1 Browser"],l],[/samsungbrowser\/([\w\.]+)/i],[l,[s,"Samsung Internet"]],[/metasr[\/ ]?([\d\.]+)/i],[l,[s,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[s,"Sogou Mobile"],l],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i],[s,l],[/(lbbrowser|rekonq)/i,/\[(linkedin)app\]/i],[s],[/ome\/([\w\.]+) \w* ?(iron) saf/i,/ome\/([\w\.]+).+qihu (360)[es]e/i],[l,s],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[s,"Facebook"],l],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(twitter)(?:and| f.+e\/([\w\.]+))/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[s,l],[/\bgsa\/([\w\.]+) .*safari\//i],[l,[s,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[l,[s,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[l,[s,"Chrome Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[s,"Chrome WebView"],l],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[l,[s,"Android Browser"]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[s,l],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[l,[s,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[l,s],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[s,[l,w,{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}]],[/(webkit|khtml)\/([\w\.]+)/i],[s,l],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[s,"Netscape"],l],[/(wolvic|librewolf)\/([\w\.]+)/i],[s,l],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[l,[s,"Firefox Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i],[s,[l,/_/g,"."]],[/(cobalt)\/([\w\.]+)/i],[s,[l,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[["architecture","amd64"]],[/(ia32(?=;))/i],[["architecture",_]],[/((?:i[346]|x)86)[;\)]/i],[["architecture","ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[["architecture","arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[["architecture","armhf"]],[/windows (ce|mobile); ppc;/i],[["architecture","arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[["architecture",/ower/,"",_]],[/(sun4\w)[;\)]/i],[["architecture","sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[["architecture",_]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[a,[c,"Samsung"],[u,d]],[/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]((?!sm-[lr])[-\w]+)/i,/sec-(sgh\w+)/i],[a,[c,"Samsung"],[u,f]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[a,[c,"Apple"],[u,f]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[a,[c,"Apple"],[u,d]],[/(macintosh);/i],[a,[c,"Apple"]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[a,[c,"Sharp"],[u,f]],[/(?:honor)([-\w ]+)[;\)]/i],[a,[c,"Honor"],[u,f]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[a,[c,"Huawei"],[u,d]],[/(?:huawei)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[a,[c,"Huawei"],[u,f]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i],[[a,/_/g," "],[c,"Xiaomi"],[u,f]],[/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i,/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[a,/_/g," "],[c,"Xiaomi"],[u,d]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[a,[c,"OPPO"],[u,f]],[/\b(opd2\d{3}a?) bui/i],[a,[c,"OPPO"],[u,d]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[a,[c,"Vivo"],[u,f]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[a,[c,"Realme"],[u,f]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[a,[c,"Motorola"],[u,f]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[a,[c,"Motorola"],[u,d]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[a,[c,"LG"],[u,d]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[a,[c,"LG"],[u,f]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[a,[c,"Lenovo"],[u,d]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[a,/_/g," "],[c,"Nokia"],[u,f]],[/(pixel c)\b/i],[a,[c,"Google"],[u,d]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[a,[c,"Google"],[u,f]],[/droid.+; (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[a,[c,"Sony"],[u,f]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[a,"Xperia Tablet"],[c,"Sony"],[u,d]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[a,[c,"OnePlus"],[u,f]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[a,[c,"Amazon"],[u,d]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[a,/(.+)/g,"Fire Phone $1"],[c,"Amazon"],[u,f]],[/(playbook);[-\w\),; ]+(rim)/i],[a,c,[u,d]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[a,[c,"BlackBerry"],[u,f]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[a,[c,"ASUS"],[u,d]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[a,[c,"ASUS"],[u,f]],[/(nexus 9)/i],[a,[c,"HTC"],[u,d]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[c,[a,/_/g," "],[u,f]],[/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])\w*(\)| bui)/i],[a,[c,"TCL"],[u,d]],[/(itel) ((\w+))/i],[[c,_],a,[u,w,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[a,[c,"Acer"],[u,d]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[a,[c,"Meizu"],[u,f]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[a,[c,"Ulefone"],[u,f]],[/; (energy ?\w+)(?: bui|\))/i,/; energizer ([\w ]+)(?: bui|\))/i],[a,[c,"Energizer"],[u,f]],[/; cat (b35);/i,/; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i],[a,[c,"Cat"],[u,f]],[/((?:new )?andromax[\w- ]+)(?: bui|\))/i],[a,[c,"Smartfren"],[u,f]],[/droid.+; (a(?:015|06[35]|142p?))/i],[a,[c,"Nothing"],[u,f]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno|micromax|advan)[-_ ]?([-\w]*)/i,/; (imo) ((?!tab)[\w ]+?)(?: bui|\))/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[c,a,[u,f]],[/(imo) (tab \w+)/i,/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[c,a,[u,d]],[/(surface duo)/i],[a,[c,"Microsoft"],[u,d]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[a,[c,"Fairphone"],[u,f]],[/(u304aa)/i],[a,[c,"AT&T"],[u,f]],[/\bsie-(\w*)/i],[a,[c,"Siemens"],[u,f]],[/\b(rct\w+) b/i],[a,[c,"RCA"],[u,d]],[/\b(venue[\d ]{2,7}) b/i],[a,[c,"Dell"],[u,d]],[/\b(q(?:mv|ta)\w+) b/i],[a,[c,"Verizon"],[u,d]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[a,[c,"Barnes & Noble"],[u,d]],[/\b(tm\d{3}\w+) b/i],[a,[c,"NuVision"],[u,d]],[/\b(k88) b/i],[a,[c,"ZTE"],[u,d]],[/\b(nx\d{3}j) b/i],[a,[c,"ZTE"],[u,f]],[/\b(gen\d{3}) b.+49h/i],[a,[c,"Swiss"],[u,f]],[/\b(zur\d{3}) b/i],[a,[c,"Swiss"],[u,d]],[/\b((zeki)?tb.*\b) b/i],[a,[c,"Zeki"],[u,d]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[c,"Dragon Touch"],a,[u,d]],[/\b(ns-?\w{0,9}) b/i],[a,[c,"Insignia"],[u,d]],[/\b((nxa|next)-?\w{0,9}) b/i],[a,[c,"NextBook"],[u,d]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[c,"Voice"],a,[u,f]],[/\b(lvtel\-)?(v1[12]) b/i],[[c,"LvTel"],a,[u,f]],[/\b(ph-1) /i],[a,[c,"Essential"],[u,f]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[a,[c,"Envizen"],[u,d]],[/\b(trio[-\w\. ]+) b/i],[a,[c,"MachSpeed"],[u,d]],[/\btu_(1491) b/i],[a,[c,"Rotor"],[u,d]],[/(shield[\w ]+) b/i],[a,[c,"Nvidia"],[u,d]],[/(sprint) (\w+)/i],[c,a,[u,f]],[/(kin\.[onetw]{3})/i],[[a,/\./g," "],[c,"Microsoft"],[u,f]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[a,[c,"Zebra"],[u,d]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[a,[c,"Zebra"],[u,f]],[/smart-tv.+(samsung)/i],[c,[u,h]],[/hbbtv.+maple;(\d+)/i],[[a,/^/,"SmartTV"],[c,"Samsung"],[u,h]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[c,"LG"],[u,h]],[/(apple) ?tv/i],[c,[a,"Apple TV"],[u,h]],[/crkey/i],[[a,"Chromecast"],[c,"Google"],[u,h]],[/droid.+aft(\w+)( bui|\))/i],[a,[c,"Amazon"],[u,h]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[a,[c,"Sharp"],[u,h]],[/(bravia[\w ]+)( bui|\))/i],[a,[c,"Sony"],[u,h]],[/(mitv-\w{5}) bui/i],[a,[c,"Xiaomi"],[u,h]],[/Hbbtv.*(technisat) (.*);/i],[c,a,[u,h]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[c,g],[a,g],[u,h]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[u,h]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[c,a,[u,"console"]],[/droid.+; (shield) bui/i],[a,[c,"Nvidia"],[u,"console"]],[/(playstation [345portablevi]+)/i],[a,[c,"Sony"],[u,"console"]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[a,[c,"Microsoft"],[u,"console"]],[/\b(sm-[lr]\d\d[05][fnuw]?s?)\b/i],[a,[c,"Samsung"],[u,"wearable"]],[/((pebble))app/i],[c,a,[u,"wearable"]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[a,[c,"Apple"],[u,"wearable"]],[/droid.+; (glass) \d/i],[a,[c,"Google"],[u,"wearable"]],[/droid.+; (wt63?0{2,3})\)/i],[a,[c,"Zebra"],[u,"wearable"]],[/droid.+; (glass) \d/i],[a,[c,"Google"],[u,"wearable"]],[/(pico) (4|neo3(?: link|pro)?)/i],[c,a,[u,"wearable"]],[/; (quest( \d| pro)?)/i],[a,[c,"Facebook"],[u,"wearable"]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[c,[u,"embedded"]],[/(aeobc)\b/i],[a,[c,"Amazon"],[u,"embedded"]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[a,[u,f]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[a,[u,d]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[u,d]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[u,f]],[/(android[-\w\. ]{0,9});.+buil/i],[a,[c,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[l,[s,"EdgeHTML"]],[/(arkweb)\/([\w\.]+)/i],[s,l],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[l,[s,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna|servo)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[s,l],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[l,s]],os:[[/microsoft (windows) (vista|xp)/i],[s,l],[/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i],[s,[l,w,b]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[l,w,b],[s,"Windows"]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[l,/_/g,"."],[s,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[s,"Mac OS"],[l,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[l,s],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish|openharmony)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[s,l],[/\(bb(10);/i],[l,[s,"BlackBerry"]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[l,[s,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[l,[s,"Firefox OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[l,[s,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[l,[s,"watchOS"]],[/crkey\/([\d\.]+)/i],[l,[s,"Chromecast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[s,"Chromium OS"],l],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[s,l],[/(sunos) ?([\w\.\d]*)/i],[[s,"Solaris"],l],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[s,l]]},E=function(t,e){if("object"==typeof t&&(e=t,t=void 0),!(this instanceof E))return new E(t,e).getResult();var n=void 0!==i&&i.navigator?i.navigator:void 0,r=t||(n&&n.userAgent?n.userAgent:""),o=n&&n.userAgentData?n.userAgentData:void 0,c=e?function(t,e){var n={};for(var r in t)e[r]&&e[r].length%2==0?n[r]=e[r].concat(t[r]):n[r]=t[r];return n}(y,e):y,h=n&&n.userAgent==r;return this.getBrowser=function(){var t,e={};return e[s]=void 0,e[l]=void 0,m.call(e,r,c.browser),e.major="string"==typeof(t=e[l])?t.replace(/[^\d\.]/g,"").split(".")[0]:void 0,h&&n&&n.brave&&"function"==typeof n.brave.isBrave&&(e[s]="Brave"),e},this.getCPU=function(){var t={architecture:void 0};return m.call(t,r,c.cpu),t},this.getDevice=function(){var t={vendor:void 0,model:void 0,type:void 0};return m.call(t,r,c.device),h&&!t[u]&&o&&o.mobile&&(t[u]=f),h&&"Macintosh"==t[a]&&n&&void 0!==n.standalone&&n.maxTouchPoints&&n.maxTouchPoints>2&&(t[a]="iPad",t[u]=d),t},this.getEngine=function(){var t={name:void 0,version:void 0};return m.call(t,r,c.engine),t},this.getOS=function(){var t={name:void 0,version:void 0};return m.call(t,r,c.os),h&&!t[s]&&o&&o.platform&&"Unknown"!=o.platform&&(t[s]=o.platform.replace(/chrome os/i,"Chromium OS").replace(/macos/i,"Mac OS")),t},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return r},this.setUA=function(t){return r="string"==typeof t&&t.length>500?g(t,500):t,this},this.setUA(r),this};E.VERSION="1.0.40",E.BROWSER=p([s,l,"major"]),E.CPU=p(["architecture"]),E.DEVICE=p([a,c,u,"console",f,h,d,"wearable","embedded"]),E.ENGINE=E.OS=p([s,l]),void 0!==e?(void 0!==t&&t.exports&&(e=t.exports=E),e.UAParser=E):n(149)?void 0===(r=function(){return E}.call(e,n,e,t))||(t.exports=r):void 0!==i&&(i.UAParser=E);var x=void 0!==i&&(i.jQuery||i.Zepto);if(x&&!x.ua){var S=new E;x.ua=S.getResult(),x.ua.get=function(){return S.getUA()},x.ua.set=function(t){S.setUA(t);var e=S.getResult();for(var n in e)x.ua[n]=e[n]}}}("object"==typeof window?window:this)},function(t,e){(function(e){t.exports=e}).call(this,{})},function(t,e,n){var r;t.exports=(r=n(23),function(t){var e=r,n=e.lib,i=n.WordArray,o=n.Hasher,a=e.algo,s=[];!function(){for(var e=0;e<64;e++)s[e]=4294967296*t.abs(t.sin(e+1))|0}();var u=a.MD5=o.extend({_doReset:function(){this._hash=new i.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(t,e){for(var n=0;n<16;n++){var r=e+n,i=t[r];t[r]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8)}var o=this._hash.words,a=t[e+0],u=t[e+1],h=t[e+2],p=t[e+3],v=t[e+4],_=t[e+5],g=t[e+6],m=t[e+7],w=t[e+8],b=t[e+9],y=t[e+10],E=t[e+11],x=t[e+12],S=t[e+13],A=t[e+14],k=t[e+15],M=o[0],O=o[1],T=o[2],R=o[3];M=c(M,O,T,R,a,7,s[0]),R=c(R,M,O,T,u,12,s[1]),T=c(T,R,M,O,h,17,s[2]),O=c(O,T,R,M,p,22,s[3]),M=c(M,O,T,R,v,7,s[4]),R=c(R,M,O,T,_,12,s[5]),T=c(T,R,M,O,g,17,s[6]),O=c(O,T,R,M,m,22,s[7]),M=c(M,O,T,R,w,7,s[8]),R=c(R,M,O,T,b,12,s[9]),T=c(T,R,M,O,y,17,s[10]),O=c(O,T,R,M,E,22,s[11]),M=c(M,O,T,R,x,7,s[12]),R=c(R,M,O,T,S,12,s[13]),T=c(T,R,M,O,A,17,s[14]),M=l(M,O=c(O,T,R,M,k,22,s[15]),T,R,u,5,s[16]),R=l(R,M,O,T,g,9,s[17]),T=l(T,R,M,O,E,14,s[18]),O=l(O,T,R,M,a,20,s[19]),M=l(M,O,T,R,_,5,s[20]),R=l(R,M,O,T,y,9,s[21]),T=l(T,R,M,O,k,14,s[22]),O=l(O,T,R,M,v,20,s[23]),M=l(M,O,T,R,b,5,s[24]),R=l(R,M,O,T,A,9,s[25]),T=l(T,R,M,O,p,14,s[26]),O=l(O,T,R,M,w,20,s[27]),M=l(M,O,T,R,S,5,s[28]),R=l(R,M,O,T,h,9,s[29]),T=l(T,R,M,O,m,14,s[30]),M=f(M,O=l(O,T,R,M,x,20,s[31]),T,R,_,4,s[32]),R=f(R,M,O,T,w,11,s[33]),T=f(T,R,M,O,E,16,s[34]),O=f(O,T,R,M,A,23,s[35]),M=f(M,O,T,R,u,4,s[36]),R=f(R,M,O,T,v,11,s[37]),T=f(T,R,M,O,m,16,s[38]),O=f(O,T,R,M,y,23,s[39]),M=f(M,O,T,R,S,4,s[40]),R=f(R,M,O,T,a,11,s[41]),T=f(T,R,M,O,p,16,s[42]),O=f(O,T,R,M,g,23,s[43]),M=f(M,O,T,R,b,4,s[44]),R=f(R,M,O,T,x,11,s[45]),T=f(T,R,M,O,k,16,s[46]),M=d(M,O=f(O,T,R,M,h,23,s[47]),T,R,a,6,s[48]),R=d(R,M,O,T,m,10,s[49]),T=d(T,R,M,O,A,15,s[50]),O=d(O,T,R,M,_,21,s[51]),M=d(M,O,T,R,x,6,s[52]),R=d(R,M,O,T,p,10,s[53]),T=d(T,R,M,O,y,15,s[54]),O=d(O,T,R,M,u,21,s[55]),M=d(M,O,T,R,w,6,s[56]),R=d(R,M,O,T,k,10,s[57]),T=d(T,R,M,O,g,15,s[58]),O=d(O,T,R,M,S,21,s[59]),M=d(M,O,T,R,v,6,s[60]),R=d(R,M,O,T,E,10,s[61]),T=d(T,R,M,O,h,15,s[62]),O=d(O,T,R,M,b,21,s[63]),o[0]=o[0]+M|0,o[1]=o[1]+O|0,o[2]=o[2]+T|0,o[3]=o[3]+R|0},_doFinalize:function(){var e=this._data,n=e.words,r=8*this._nDataBytes,i=8*e.sigBytes;n[i>>>5]|=128<<24-i%32;var o=t.floor(r/4294967296),a=r;n[15+(i+64>>>9<<4)]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),n[14+(i+64>>>9<<4)]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),e.sigBytes=4*(n.length+1),this._process();for(var s=this._hash,u=s.words,c=0;c<4;c++){var l=u[c];u[c]=16711935&(l<<8|l>>>24)|4278255360&(l<<24|l>>>8)}return s},clone:function(){var t=o.clone.call(this);return t._hash=this._hash.clone(),t}});function c(t,e,n,r,i,o,a){var s=t+(e&n|~e&r)+i+a;return(s<<o|s>>>32-o)+e}function l(t,e,n,r,i,o,a){var s=t+(e&r|n&~r)+i+a;return(s<<o|s>>>32-o)+e}function f(t,e,n,r,i,o,a){var s=t+(e^n^r)+i+a;return(s<<o|s>>>32-o)+e}function d(t,e,n,r,i,o,a){var s=t+(n^(e|~r))+i+a;return(s<<o|s>>>32-o)+e}e.MD5=o._createHelper(u),e.HmacMD5=o._createHmacHelper(u)}(Math),r.MD5)},function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e){},function(t,e,n){var r;t.exports=(r=n(23),n(154),n(155),r.HmacSHA1)},function(t,e,n){var r,i,o,a,s,u,c,l;t.exports=(l=n(23),i=(r=l).lib,o=i.WordArray,a=i.Hasher,s=r.algo,u=[],c=s.SHA1=a.extend({_doReset:function(){this._hash=new o.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(t,e){for(var n=this._hash.words,r=n[0],i=n[1],o=n[2],a=n[3],s=n[4],c=0;c<80;c++){if(c<16)u[c]=0|t[e+c];else{var l=u[c-3]^u[c-8]^u[c-14]^u[c-16];u[c]=l<<1|l>>>31}var f=(r<<5|r>>>27)+s+u[c];f+=c<20?1518500249+(i&o|~i&a):c<40?1859775393+(i^o^a):c<60?(i&o|i&a|o&a)-1894007588:(i^o^a)-899497514,s=a,a=o,o=i<<30|i>>>2,i=r,r=f}n[0]=n[0]+r|0,n[1]=n[1]+i|0,n[2]=n[2]+o|0,n[3]=n[3]+a|0,n[4]=n[4]+s|0},_doFinalize:function(){var t=this._data,e=t.words,n=8*this._nDataBytes,r=8*t.sigBytes;return e[r>>>5]|=128<<24-r%32,e[14+(r+64>>>9<<4)]=Math.floor(n/4294967296),e[15+(r+64>>>9<<4)]=n,t.sigBytes=4*e.length,this._process(),this._hash},clone:function(){var t=a.clone.call(this);return t._hash=this._hash.clone(),t}}),r.SHA1=a._createHelper(c),r.HmacSHA1=a._createHmacHelper(c),l.SHA1)},function(t,e,n){var r,i,o,a;t.exports=(r=n(23),o=(i=r).lib.Base,a=i.enc.Utf8,void(i.algo.HMAC=o.extend({init:function(t,e){t=this._hasher=new t.init,"string"==typeof e&&(e=a.parse(e));var n=t.blockSize,r=4*n;e.sigBytes>r&&(e=t.finalize(e)),e.clamp();for(var i=this._oKey=e.clone(),o=this._iKey=e.clone(),s=i.words,u=o.words,c=0;c<n;c++)s[c]^=1549556828,u[c]^=909522486;i.sigBytes=o.sigBytes=r,this.reset()},reset:function(){var t=this._hasher;t.reset(),t.update(this._iKey)},update:function(t){return this._hasher.update(t),this},finalize:function(t){var e=this._hasher,n=e.finalize(t);return e.reset(),e.finalize(this._oKey.clone().concat(n))}})))},function(t,e,n){
2
2
  /*! pako 2.1.0 https://github.com/nodeca/pako @license (MIT AND Zlib) */
3
- !function(t){"use strict";function e(t){for(var e=t.length;--e>=0;)t[e]=0}var r=new Uint8Array([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0]),n=new Uint8Array([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13]),i=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),o=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),a=new Array(576);e(a);var s=new Array(60);e(s);var u=new Array(512);e(u);var c=new Array(256);e(c);var l=new Array(29);e(l);var f,h,d,p=new Array(30);function _(t,e,r,n,i){this.static_tree=t,this.extra_bits=e,this.extra_base=r,this.elems=n,this.max_length=i,this.has_stree=t&&t.length}function v(t,e){this.dyn_tree=t,this.max_code=0,this.stat_desc=e}e(p);var w=function(t){return t<256?u[t]:u[256+(t>>>7)]},g=function(t,e){t.pending_buf[t.pending++]=255&e,t.pending_buf[t.pending++]=e>>>8&255},b=function(t,e,r){t.bi_valid>16-r?(t.bi_buf|=e<<t.bi_valid&65535,g(t,t.bi_buf),t.bi_buf=e>>16-t.bi_valid,t.bi_valid+=r-16):(t.bi_buf|=e<<t.bi_valid&65535,t.bi_valid+=r)},m=function(t,e,r){b(t,r[2*e],r[2*e+1])},y=function(t,e){var r=0;do{r|=1&t,t>>>=1,r<<=1}while(--e>0);return r>>>1},x=function(t,e,r){var n,i,o=new Array(16),a=0;for(n=1;n<=15;n++)a=a+r[n-1]<<1,o[n]=a;for(i=0;i<=e;i++){var s=t[2*i+1];0!==s&&(t[2*i]=y(o[s]++,s))}},E=function(t){var e;for(e=0;e<286;e++)t.dyn_ltree[2*e]=0;for(e=0;e<30;e++)t.dyn_dtree[2*e]=0;for(e=0;e<19;e++)t.bl_tree[2*e]=0;t.dyn_ltree[512]=1,t.opt_len=t.static_len=0,t.sym_next=t.matches=0},k=function(t){t.bi_valid>8?g(t,t.bi_buf):t.bi_valid>0&&(t.pending_buf[t.pending++]=t.bi_buf),t.bi_buf=0,t.bi_valid=0},A=function(t,e,r,n){var i=2*e,o=2*r;return t[i]<t[o]||t[i]===t[o]&&n[e]<=n[r]},S=function(t,e,r){for(var n=t.heap[r],i=r<<1;i<=t.heap_len&&(i<t.heap_len&&A(e,t.heap[i+1],t.heap[i],t.depth)&&i++,!A(e,n,t.heap[i],t.depth));)t.heap[r]=t.heap[i],r=i,i<<=1;t.heap[r]=n},O=function(t,e,i){var o,a,s,u,f=0;if(0!==t.sym_next)do{o=255&t.pending_buf[t.sym_buf+f++],o+=(255&t.pending_buf[t.sym_buf+f++])<<8,a=t.pending_buf[t.sym_buf+f++],0===o?m(t,a,e):(s=c[a],m(t,s+256+1,e),0!==(u=r[s])&&(a-=l[s],b(t,a,u)),o--,s=w(o),m(t,s,i),0!==(u=n[s])&&(o-=p[s],b(t,o,u)))}while(f<t.sym_next);m(t,256,e)},R=function(t,e){var r,n,i,o=e.dyn_tree,a=e.stat_desc.static_tree,s=e.stat_desc.has_stree,u=e.stat_desc.elems,c=-1;for(t.heap_len=0,t.heap_max=573,r=0;r<u;r++)0!==o[2*r]?(t.heap[++t.heap_len]=c=r,t.depth[r]=0):o[2*r+1]=0;for(;t.heap_len<2;)o[2*(i=t.heap[++t.heap_len]=c<2?++c:0)]=1,t.depth[i]=0,t.opt_len--,s&&(t.static_len-=a[2*i+1]);for(e.max_code=c,r=t.heap_len>>1;r>=1;r--)S(t,o,r);i=u;do{r=t.heap[1],t.heap[1]=t.heap[t.heap_len--],S(t,o,1),n=t.heap[1],t.heap[--t.heap_max]=r,t.heap[--t.heap_max]=n,o[2*i]=o[2*r]+o[2*n],t.depth[i]=(t.depth[r]>=t.depth[n]?t.depth[r]:t.depth[n])+1,o[2*r+1]=o[2*n+1]=i,t.heap[1]=i++,S(t,o,1)}while(t.heap_len>=2);t.heap[--t.heap_max]=t.heap[1],function(t,e){var r,n,i,o,a,s,u=e.dyn_tree,c=e.max_code,l=e.stat_desc.static_tree,f=e.stat_desc.has_stree,h=e.stat_desc.extra_bits,d=e.stat_desc.extra_base,p=e.stat_desc.max_length,_=0;for(o=0;o<=15;o++)t.bl_count[o]=0;for(u[2*t.heap[t.heap_max]+1]=0,r=t.heap_max+1;r<573;r++)(o=u[2*u[2*(n=t.heap[r])+1]+1]+1)>p&&(o=p,_++),u[2*n+1]=o,n>c||(t.bl_count[o]++,a=0,n>=d&&(a=h[n-d]),s=u[2*n],t.opt_len+=s*(o+a),f&&(t.static_len+=s*(l[2*n+1]+a)));if(0!==_){do{for(o=p-1;0===t.bl_count[o];)o--;t.bl_count[o]--,t.bl_count[o+1]+=2,t.bl_count[p]--,_-=2}while(_>0);for(o=p;0!==o;o--)for(n=t.bl_count[o];0!==n;)(i=t.heap[--r])>c||(u[2*i+1]!==o&&(t.opt_len+=(o-u[2*i+1])*u[2*i],u[2*i+1]=o),n--)}}(t,e),x(o,c,t.bl_count)},M=function(t,e,r){var n,i,o=-1,a=e[1],s=0,u=7,c=4;for(0===a&&(u=138,c=3),e[2*(r+1)+1]=65535,n=0;n<=r;n++)i=a,a=e[2*(n+1)+1],++s<u&&i===a||(s<c?t.bl_tree[2*i]+=s:0!==i?(i!==o&&t.bl_tree[2*i]++,t.bl_tree[32]++):s<=10?t.bl_tree[34]++:t.bl_tree[36]++,s=0,o=i,0===a?(u=138,c=3):i===a?(u=6,c=3):(u=7,c=4))},T=function(t,e,r){var n,i,o=-1,a=e[1],s=0,u=7,c=4;for(0===a&&(u=138,c=3),n=0;n<=r;n++)if(i=a,a=e[2*(n+1)+1],!(++s<u&&i===a)){if(s<c)do{m(t,i,t.bl_tree)}while(0!=--s);else 0!==i?(i!==o&&(m(t,i,t.bl_tree),s--),m(t,16,t.bl_tree),b(t,s-3,2)):s<=10?(m(t,17,t.bl_tree),b(t,s-3,3)):(m(t,18,t.bl_tree),b(t,s-11,7));s=0,o=i,0===a?(u=138,c=3):i===a?(u=6,c=3):(u=7,c=4)}},L=!1,z=function(t,e,r,n){b(t,0+(n?1:0),3),k(t),g(t,r),g(t,~r),r&&t.pending_buf.set(t.window.subarray(e,e+r),t.pending),t.pending+=r},P=function(t){L||(function(){var t,e,o,v,w,g=new Array(16);for(o=0,v=0;v<28;v++)for(l[v]=o,t=0;t<1<<r[v];t++)c[o++]=v;for(c[o-1]=v,w=0,v=0;v<16;v++)for(p[v]=w,t=0;t<1<<n[v];t++)u[w++]=v;for(w>>=7;v<30;v++)for(p[v]=w<<7,t=0;t<1<<n[v]-7;t++)u[256+w++]=v;for(e=0;e<=15;e++)g[e]=0;for(t=0;t<=143;)a[2*t+1]=8,t++,g[8]++;for(;t<=255;)a[2*t+1]=9,t++,g[9]++;for(;t<=279;)a[2*t+1]=7,t++,g[7]++;for(;t<=287;)a[2*t+1]=8,t++,g[8]++;for(x(a,287,g),t=0;t<30;t++)s[2*t+1]=5,s[2*t]=y(t,5);f=new _(a,r,257,286,15),h=new _(s,n,0,30,15),d=new _(new Array(0),i,0,19,7)}(),L=!0),t.l_desc=new v(t.dyn_ltree,f),t.d_desc=new v(t.dyn_dtree,h),t.bl_desc=new v(t.bl_tree,d),t.bi_buf=0,t.bi_valid=0,E(t)},C=z,N=function(t,e,r,n){var i,u,c=0;t.level>0?(2===t.strm.data_type&&(t.strm.data_type=function(t){var e,r=4093624447;for(e=0;e<=31;e++,r>>>=1)if(1&r&&0!==t.dyn_ltree[2*e])return 0;if(0!==t.dyn_ltree[18]||0!==t.dyn_ltree[20]||0!==t.dyn_ltree[26])return 1;for(e=32;e<256;e++)if(0!==t.dyn_ltree[2*e])return 1;return 0}(t)),R(t,t.l_desc),R(t,t.d_desc),c=function(t){var e;for(M(t,t.dyn_ltree,t.l_desc.max_code),M(t,t.dyn_dtree,t.d_desc.max_code),R(t,t.bl_desc),e=18;e>=3&&0===t.bl_tree[2*o[e]+1];e--);return t.opt_len+=3*(e+1)+5+5+4,e}(t),i=t.opt_len+3+7>>>3,(u=t.static_len+3+7>>>3)<=i&&(i=u)):i=u=r+5,r+4<=i&&-1!==e?z(t,e,r,n):4===t.strategy||u===i?(b(t,2+(n?1:0),3),O(t,a,s)):(b(t,4+(n?1:0),3),function(t,e,r,n){var i;for(b(t,e-257,5),b(t,r-1,5),b(t,n-4,4),i=0;i<n;i++)b(t,t.bl_tree[2*o[i]+1],3);T(t,t.dyn_ltree,e-1),T(t,t.dyn_dtree,r-1)}(t,t.l_desc.max_code+1,t.d_desc.max_code+1,c+1),O(t,t.dyn_ltree,t.dyn_dtree)),E(t),n&&k(t)},I=function(t,e,r){return t.pending_buf[t.sym_buf+t.sym_next++]=e,t.pending_buf[t.sym_buf+t.sym_next++]=e>>8,t.pending_buf[t.sym_buf+t.sym_next++]=r,0===e?t.dyn_ltree[2*r]++:(t.matches++,e--,t.dyn_ltree[2*(c[r]+256+1)]++,t.dyn_dtree[2*w(e)]++),t.sym_next===t.sym_end},U=function(t){b(t,2,3),m(t,256,a),function(t){16===t.bi_valid?(g(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):t.bi_valid>=8&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)}(t)},j=function(t,e,r,n){for(var i=65535&t|0,o=t>>>16&65535|0,a=0;0!==r;){r-=a=r>2e3?2e3:r;do{o=o+(i=i+e[n++]|0)|0}while(--a);i%=65521,o%=65521}return i|o<<16|0},B=new Uint32Array(function(){for(var t,e=[],r=0;r<256;r++){t=r;for(var n=0;n<8;n++)t=1&t?3988292384^t>>>1:t>>>1;e[r]=t}return e}()),F=function(t,e,r,n){var i=B,o=n+r;t^=-1;for(var a=n;a<o;a++)t=t>>>8^i[255&(t^e[a])];return-1^t},D={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"},G={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_MEM_ERROR:-4,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},K=P,Z=C,Y=N,q=I,V=U,H=G.Z_NO_FLUSH,Q=G.Z_PARTIAL_FLUSH,X=G.Z_FULL_FLUSH,W=G.Z_FINISH,$=G.Z_BLOCK,J=G.Z_OK,tt=G.Z_STREAM_END,et=G.Z_STREAM_ERROR,rt=G.Z_DATA_ERROR,nt=G.Z_BUF_ERROR,it=G.Z_DEFAULT_COMPRESSION,ot=G.Z_FILTERED,at=G.Z_HUFFMAN_ONLY,st=G.Z_RLE,ut=G.Z_FIXED,ct=G.Z_UNKNOWN,lt=G.Z_DEFLATED,ft=262,ht=function(t,e){return t.msg=D[e],e},dt=function(t){return 2*t-(t>4?9:0)},pt=function(t){for(var e=t.length;--e>=0;)t[e]=0},_t=function(t){var e,r,n,i=t.w_size;n=e=t.hash_size;do{r=t.head[--n],t.head[n]=r>=i?r-i:0}while(--e);n=e=i;do{r=t.prev[--n],t.prev[n]=r>=i?r-i:0}while(--e)},vt=function(t,e,r){return(e<<t.hash_shift^r)&t.hash_mask},wt=function(t){var e=t.state,r=e.pending;r>t.avail_out&&(r=t.avail_out),0!==r&&(t.output.set(e.pending_buf.subarray(e.pending_out,e.pending_out+r),t.next_out),t.next_out+=r,e.pending_out+=r,t.total_out+=r,t.avail_out-=r,e.pending-=r,0===e.pending&&(e.pending_out=0))},gt=function(t,e){Y(t,t.block_start>=0?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,wt(t.strm)},bt=function(t,e){t.pending_buf[t.pending++]=e},mt=function(t,e){t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=255&e},yt=function(t,e,r,n){var i=t.avail_in;return i>n&&(i=n),0===i?0:(t.avail_in-=i,e.set(t.input.subarray(t.next_in,t.next_in+i),r),1===t.state.wrap?t.adler=j(t.adler,e,i,r):2===t.state.wrap&&(t.adler=F(t.adler,e,i,r)),t.next_in+=i,t.total_in+=i,i)},xt=function(t,e){var r,n,i=t.max_chain_length,o=t.strstart,a=t.prev_length,s=t.nice_match,u=t.strstart>t.w_size-ft?t.strstart-(t.w_size-ft):0,c=t.window,l=t.w_mask,f=t.prev,h=t.strstart+258,d=c[o+a-1],p=c[o+a];t.prev_length>=t.good_match&&(i>>=2),s>t.lookahead&&(s=t.lookahead);do{if(c[(r=e)+a]===p&&c[r+a-1]===d&&c[r]===c[o]&&c[++r]===c[o+1]){o+=2,r++;do{}while(c[++o]===c[++r]&&c[++o]===c[++r]&&c[++o]===c[++r]&&c[++o]===c[++r]&&c[++o]===c[++r]&&c[++o]===c[++r]&&c[++o]===c[++r]&&c[++o]===c[++r]&&o<h);if(n=258-(h-o),o=h-258,n>a){if(t.match_start=e,a=n,n>=s)break;d=c[o+a-1],p=c[o+a]}}}while((e=f[e&l])>u&&0!=--i);return a<=t.lookahead?a:t.lookahead},Et=function(t){var e,r,n,i=t.w_size;do{if(r=t.window_size-t.lookahead-t.strstart,t.strstart>=i+(i-ft)&&(t.window.set(t.window.subarray(i,i+i-r),0),t.match_start-=i,t.strstart-=i,t.block_start-=i,t.insert>t.strstart&&(t.insert=t.strstart),_t(t),r+=i),0===t.strm.avail_in)break;if(e=yt(t.strm,t.window,t.strstart+t.lookahead,r),t.lookahead+=e,t.lookahead+t.insert>=3)for(n=t.strstart-t.insert,t.ins_h=t.window[n],t.ins_h=vt(t,t.ins_h,t.window[n+1]);t.insert&&(t.ins_h=vt(t,t.ins_h,t.window[n+3-1]),t.prev[n&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=n,n++,t.insert--,!(t.lookahead+t.insert<3)););}while(t.lookahead<ft&&0!==t.strm.avail_in)},kt=function(t,e){var r,n,i,o=t.pending_buf_size-5>t.w_size?t.w_size:t.pending_buf_size-5,a=0,s=t.strm.avail_in;do{if(r=65535,i=t.bi_valid+42>>3,t.strm.avail_out<i)break;if(i=t.strm.avail_out-i,r>(n=t.strstart-t.block_start)+t.strm.avail_in&&(r=n+t.strm.avail_in),r>i&&(r=i),r<o&&(0===r&&e!==W||e===H||r!==n+t.strm.avail_in))break;a=e===W&&r===n+t.strm.avail_in?1:0,Z(t,0,0,a),t.pending_buf[t.pending-4]=r,t.pending_buf[t.pending-3]=r>>8,t.pending_buf[t.pending-2]=~r,t.pending_buf[t.pending-1]=~r>>8,wt(t.strm),n&&(n>r&&(n=r),t.strm.output.set(t.window.subarray(t.block_start,t.block_start+n),t.strm.next_out),t.strm.next_out+=n,t.strm.avail_out-=n,t.strm.total_out+=n,t.block_start+=n,r-=n),r&&(yt(t.strm,t.strm.output,t.strm.next_out,r),t.strm.next_out+=r,t.strm.avail_out-=r,t.strm.total_out+=r)}while(0===a);return(s-=t.strm.avail_in)&&(s>=t.w_size?(t.matches=2,t.window.set(t.strm.input.subarray(t.strm.next_in-t.w_size,t.strm.next_in),0),t.strstart=t.w_size,t.insert=t.strstart):(t.window_size-t.strstart<=s&&(t.strstart-=t.w_size,t.window.set(t.window.subarray(t.w_size,t.w_size+t.strstart),0),t.matches<2&&t.matches++,t.insert>t.strstart&&(t.insert=t.strstart)),t.window.set(t.strm.input.subarray(t.strm.next_in-s,t.strm.next_in),t.strstart),t.strstart+=s,t.insert+=s>t.w_size-t.insert?t.w_size-t.insert:s),t.block_start=t.strstart),t.high_water<t.strstart&&(t.high_water=t.strstart),a?4:e!==H&&e!==W&&0===t.strm.avail_in&&t.strstart===t.block_start?2:(i=t.window_size-t.strstart,t.strm.avail_in>i&&t.block_start>=t.w_size&&(t.block_start-=t.w_size,t.strstart-=t.w_size,t.window.set(t.window.subarray(t.w_size,t.w_size+t.strstart),0),t.matches<2&&t.matches++,i+=t.w_size,t.insert>t.strstart&&(t.insert=t.strstart)),i>t.strm.avail_in&&(i=t.strm.avail_in),i&&(yt(t.strm,t.window,t.strstart,i),t.strstart+=i,t.insert+=i>t.w_size-t.insert?t.w_size-t.insert:i),t.high_water<t.strstart&&(t.high_water=t.strstart),i=t.bi_valid+42>>3,o=(i=t.pending_buf_size-i>65535?65535:t.pending_buf_size-i)>t.w_size?t.w_size:i,((n=t.strstart-t.block_start)>=o||(n||e===W)&&e!==H&&0===t.strm.avail_in&&n<=i)&&(r=n>i?i:n,a=e===W&&0===t.strm.avail_in&&r===n?1:0,Z(t,t.block_start,r,a),t.block_start+=r,wt(t.strm)),a?3:1)},At=function(t,e){for(var r,n;;){if(t.lookahead<ft){if(Et(t),t.lookahead<ft&&e===H)return 1;if(0===t.lookahead)break}if(r=0,t.lookahead>=3&&(t.ins_h=vt(t,t.ins_h,t.window[t.strstart+3-1]),r=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),0!==r&&t.strstart-r<=t.w_size-ft&&(t.match_length=xt(t,r)),t.match_length>=3)if(n=q(t,t.strstart-t.match_start,t.match_length-3),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=3){t.match_length--;do{t.strstart++,t.ins_h=vt(t,t.ins_h,t.window[t.strstart+3-1]),r=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart}while(0!=--t.match_length);t.strstart++}else t.strstart+=t.match_length,t.match_length=0,t.ins_h=t.window[t.strstart],t.ins_h=vt(t,t.ins_h,t.window[t.strstart+1]);else n=q(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(n&&(gt(t,!1),0===t.strm.avail_out))return 1}return t.insert=t.strstart<2?t.strstart:2,e===W?(gt(t,!0),0===t.strm.avail_out?3:4):t.sym_next&&(gt(t,!1),0===t.strm.avail_out)?1:2},St=function(t,e){for(var r,n,i;;){if(t.lookahead<ft){if(Et(t),t.lookahead<ft&&e===H)return 1;if(0===t.lookahead)break}if(r=0,t.lookahead>=3&&(t.ins_h=vt(t,t.ins_h,t.window[t.strstart+3-1]),r=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),t.prev_length=t.match_length,t.prev_match=t.match_start,t.match_length=2,0!==r&&t.prev_length<t.max_lazy_match&&t.strstart-r<=t.w_size-ft&&(t.match_length=xt(t,r),t.match_length<=5&&(t.strategy===ot||3===t.match_length&&t.strstart-t.match_start>4096)&&(t.match_length=2)),t.prev_length>=3&&t.match_length<=t.prev_length){i=t.strstart+t.lookahead-3,n=q(t,t.strstart-1-t.prev_match,t.prev_length-3),t.lookahead-=t.prev_length-1,t.prev_length-=2;do{++t.strstart<=i&&(t.ins_h=vt(t,t.ins_h,t.window[t.strstart+3-1]),r=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart)}while(0!=--t.prev_length);if(t.match_available=0,t.match_length=2,t.strstart++,n&&(gt(t,!1),0===t.strm.avail_out))return 1}else if(t.match_available){if((n=q(t,0,t.window[t.strstart-1]))&&gt(t,!1),t.strstart++,t.lookahead--,0===t.strm.avail_out)return 1}else t.match_available=1,t.strstart++,t.lookahead--}return t.match_available&&(n=q(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<2?t.strstart:2,e===W?(gt(t,!0),0===t.strm.avail_out?3:4):t.sym_next&&(gt(t,!1),0===t.strm.avail_out)?1:2};function Ot(t,e,r,n,i){this.good_length=t,this.max_lazy=e,this.nice_length=r,this.max_chain=n,this.func=i}var Rt=[new Ot(0,0,0,0,kt),new Ot(4,4,8,4,At),new Ot(4,5,16,8,At),new Ot(4,6,32,32,At),new Ot(4,4,16,16,St),new Ot(8,16,32,32,St),new Ot(8,16,128,128,St),new Ot(8,32,128,256,St),new Ot(32,128,258,1024,St),new Ot(32,258,258,4096,St)];function Mt(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=lt,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Uint16Array(1146),this.dyn_dtree=new Uint16Array(122),this.bl_tree=new Uint16Array(78),pt(this.dyn_ltree),pt(this.dyn_dtree),pt(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(16),this.heap=new Uint16Array(573),pt(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(573),pt(this.depth),this.sym_buf=0,this.lit_bufsize=0,this.sym_next=0,this.sym_end=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}var Tt=function(t){if(!t)return 1;var e=t.state;return!e||e.strm!==t||42!==e.status&&57!==e.status&&69!==e.status&&73!==e.status&&91!==e.status&&103!==e.status&&113!==e.status&&666!==e.status?1:0},Lt=function(t){if(Tt(t))return ht(t,et);t.total_in=t.total_out=0,t.data_type=ct;var e=t.state;return e.pending=0,e.pending_out=0,e.wrap<0&&(e.wrap=-e.wrap),e.status=2===e.wrap?57:e.wrap?42:113,t.adler=2===e.wrap?0:1,e.last_flush=-2,K(e),J},zt=function(t){var e,r=Lt(t);return r===J&&((e=t.state).window_size=2*e.w_size,pt(e.head),e.max_lazy_match=Rt[e.level].max_lazy,e.good_match=Rt[e.level].good_length,e.nice_match=Rt[e.level].nice_length,e.max_chain_length=Rt[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=2,e.match_available=0,e.ins_h=0),r},Pt=function(t,e,r,n,i,o){if(!t)return et;var a=1;if(e===it&&(e=6),n<0?(a=0,n=-n):n>15&&(a=2,n-=16),i<1||i>9||r!==lt||n<8||n>15||e<0||e>9||o<0||o>ut||8===n&&1!==a)return ht(t,et);8===n&&(n=9);var s=new Mt;return t.state=s,s.strm=t,s.status=42,s.wrap=a,s.gzhead=null,s.w_bits=n,s.w_size=1<<s.w_bits,s.w_mask=s.w_size-1,s.hash_bits=i+7,s.hash_size=1<<s.hash_bits,s.hash_mask=s.hash_size-1,s.hash_shift=~~((s.hash_bits+3-1)/3),s.window=new Uint8Array(2*s.w_size),s.head=new Uint16Array(s.hash_size),s.prev=new Uint16Array(s.w_size),s.lit_bufsize=1<<i+6,s.pending_buf_size=4*s.lit_bufsize,s.pending_buf=new Uint8Array(s.pending_buf_size),s.sym_buf=s.lit_bufsize,s.sym_end=3*(s.lit_bufsize-1),s.level=e,s.strategy=o,s.method=r,zt(t)},Ct=Pt,Nt=function(t,e){return Tt(t)||2!==t.state.wrap?et:(t.state.gzhead=e,J)},It=function(t,e){if(Tt(t)||e>$||e<0)return t?ht(t,et):et;var r=t.state;if(!t.output||0!==t.avail_in&&!t.input||666===r.status&&e!==W)return ht(t,0===t.avail_out?nt:et);var n=r.last_flush;if(r.last_flush=e,0!==r.pending){if(wt(t),0===t.avail_out)return r.last_flush=-1,J}else if(0===t.avail_in&&dt(e)<=dt(n)&&e!==W)return ht(t,nt);if(666===r.status&&0!==t.avail_in)return ht(t,nt);if(42===r.status&&0===r.wrap&&(r.status=113),42===r.status){var i=lt+(r.w_bits-8<<4)<<8;if(i|=(r.strategy>=at||r.level<2?0:r.level<6?1:6===r.level?2:3)<<6,0!==r.strstart&&(i|=32),mt(r,i+=31-i%31),0!==r.strstart&&(mt(r,t.adler>>>16),mt(r,65535&t.adler)),t.adler=1,r.status=113,wt(t),0!==r.pending)return r.last_flush=-1,J}if(57===r.status)if(t.adler=0,bt(r,31),bt(r,139),bt(r,8),r.gzhead)bt(r,(r.gzhead.text?1:0)+(r.gzhead.hcrc?2:0)+(r.gzhead.extra?4:0)+(r.gzhead.name?8:0)+(r.gzhead.comment?16:0)),bt(r,255&r.gzhead.time),bt(r,r.gzhead.time>>8&255),bt(r,r.gzhead.time>>16&255),bt(r,r.gzhead.time>>24&255),bt(r,9===r.level?2:r.strategy>=at||r.level<2?4:0),bt(r,255&r.gzhead.os),r.gzhead.extra&&r.gzhead.extra.length&&(bt(r,255&r.gzhead.extra.length),bt(r,r.gzhead.extra.length>>8&255)),r.gzhead.hcrc&&(t.adler=F(t.adler,r.pending_buf,r.pending,0)),r.gzindex=0,r.status=69;else if(bt(r,0),bt(r,0),bt(r,0),bt(r,0),bt(r,0),bt(r,9===r.level?2:r.strategy>=at||r.level<2?4:0),bt(r,3),r.status=113,wt(t),0!==r.pending)return r.last_flush=-1,J;if(69===r.status){if(r.gzhead.extra){for(var o=r.pending,a=(65535&r.gzhead.extra.length)-r.gzindex;r.pending+a>r.pending_buf_size;){var s=r.pending_buf_size-r.pending;if(r.pending_buf.set(r.gzhead.extra.subarray(r.gzindex,r.gzindex+s),r.pending),r.pending=r.pending_buf_size,r.gzhead.hcrc&&r.pending>o&&(t.adler=F(t.adler,r.pending_buf,r.pending-o,o)),r.gzindex+=s,wt(t),0!==r.pending)return r.last_flush=-1,J;o=0,a-=s}var u=new Uint8Array(r.gzhead.extra);r.pending_buf.set(u.subarray(r.gzindex,r.gzindex+a),r.pending),r.pending+=a,r.gzhead.hcrc&&r.pending>o&&(t.adler=F(t.adler,r.pending_buf,r.pending-o,o)),r.gzindex=0}r.status=73}if(73===r.status){if(r.gzhead.name){var c,l=r.pending;do{if(r.pending===r.pending_buf_size){if(r.gzhead.hcrc&&r.pending>l&&(t.adler=F(t.adler,r.pending_buf,r.pending-l,l)),wt(t),0!==r.pending)return r.last_flush=-1,J;l=0}c=r.gzindex<r.gzhead.name.length?255&r.gzhead.name.charCodeAt(r.gzindex++):0,bt(r,c)}while(0!==c);r.gzhead.hcrc&&r.pending>l&&(t.adler=F(t.adler,r.pending_buf,r.pending-l,l)),r.gzindex=0}r.status=91}if(91===r.status){if(r.gzhead.comment){var f,h=r.pending;do{if(r.pending===r.pending_buf_size){if(r.gzhead.hcrc&&r.pending>h&&(t.adler=F(t.adler,r.pending_buf,r.pending-h,h)),wt(t),0!==r.pending)return r.last_flush=-1,J;h=0}f=r.gzindex<r.gzhead.comment.length?255&r.gzhead.comment.charCodeAt(r.gzindex++):0,bt(r,f)}while(0!==f);r.gzhead.hcrc&&r.pending>h&&(t.adler=F(t.adler,r.pending_buf,r.pending-h,h))}r.status=103}if(103===r.status){if(r.gzhead.hcrc){if(r.pending+2>r.pending_buf_size&&(wt(t),0!==r.pending))return r.last_flush=-1,J;bt(r,255&t.adler),bt(r,t.adler>>8&255),t.adler=0}if(r.status=113,wt(t),0!==r.pending)return r.last_flush=-1,J}if(0!==t.avail_in||0!==r.lookahead||e!==H&&666!==r.status){var d=0===r.level?kt(r,e):r.strategy===at?function(t,e){for(var r;;){if(0===t.lookahead&&(Et(t),0===t.lookahead)){if(e===H)return 1;break}if(t.match_length=0,r=q(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,r&&(gt(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,e===W?(gt(t,!0),0===t.strm.avail_out?3:4):t.sym_next&&(gt(t,!1),0===t.strm.avail_out)?1:2}(r,e):r.strategy===st?function(t,e){for(var r,n,i,o,a=t.window;;){if(t.lookahead<=258){if(Et(t),t.lookahead<=258&&e===H)return 1;if(0===t.lookahead)break}if(t.match_length=0,t.lookahead>=3&&t.strstart>0&&(n=a[i=t.strstart-1])===a[++i]&&n===a[++i]&&n===a[++i]){o=t.strstart+258;do{}while(n===a[++i]&&n===a[++i]&&n===a[++i]&&n===a[++i]&&n===a[++i]&&n===a[++i]&&n===a[++i]&&n===a[++i]&&i<o);t.match_length=258-(o-i),t.match_length>t.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=3?(r=q(t,1,t.match_length-3),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(r=q(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),r&&(gt(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,e===W?(gt(t,!0),0===t.strm.avail_out?3:4):t.sym_next&&(gt(t,!1),0===t.strm.avail_out)?1:2}(r,e):Rt[r.level].func(r,e);if(3!==d&&4!==d||(r.status=666),1===d||3===d)return 0===t.avail_out&&(r.last_flush=-1),J;if(2===d&&(e===Q?V(r):e!==$&&(Z(r,0,0,!1),e===X&&(pt(r.head),0===r.lookahead&&(r.strstart=0,r.block_start=0,r.insert=0))),wt(t),0===t.avail_out))return r.last_flush=-1,J}return e!==W?J:r.wrap<=0?tt:(2===r.wrap?(bt(r,255&t.adler),bt(r,t.adler>>8&255),bt(r,t.adler>>16&255),bt(r,t.adler>>24&255),bt(r,255&t.total_in),bt(r,t.total_in>>8&255),bt(r,t.total_in>>16&255),bt(r,t.total_in>>24&255)):(mt(r,t.adler>>>16),mt(r,65535&t.adler)),wt(t),r.wrap>0&&(r.wrap=-r.wrap),0!==r.pending?J:tt)},Ut=function(t){if(Tt(t))return et;var e=t.state.status;return t.state=null,113===e?ht(t,rt):J},jt=function(t,e){var r=e.length;if(Tt(t))return et;var n=t.state,i=n.wrap;if(2===i||1===i&&42!==n.status||n.lookahead)return et;if(1===i&&(t.adler=j(t.adler,e,r,0)),n.wrap=0,r>=n.w_size){0===i&&(pt(n.head),n.strstart=0,n.block_start=0,n.insert=0);var o=new Uint8Array(n.w_size);o.set(e.subarray(r-n.w_size,r),0),e=o,r=n.w_size}var a=t.avail_in,s=t.next_in,u=t.input;for(t.avail_in=r,t.next_in=0,t.input=e,Et(n);n.lookahead>=3;){var c=n.strstart,l=n.lookahead-2;do{n.ins_h=vt(n,n.ins_h,n.window[c+3-1]),n.prev[c&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=c,c++}while(--l);n.strstart=c,n.lookahead=2,Et(n)}return n.strstart+=n.lookahead,n.block_start=n.strstart,n.insert=n.lookahead,n.lookahead=0,n.match_length=n.prev_length=2,n.match_available=0,t.next_in=s,t.input=u,t.avail_in=a,n.wrap=i,J};function Bt(t){return(Bt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var Ft=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},Dt=function(t){for(var e=Array.prototype.slice.call(arguments,1);e.length;){var r=e.shift();if(r){if("object"!==Bt(r))throw new TypeError(r+"must be non-object");for(var n in r)Ft(r,n)&&(t[n]=r[n])}}return t},Gt=function(t){for(var e=0,r=0,n=t.length;r<n;r++)e+=t[r].length;for(var i=new Uint8Array(e),o=0,a=0,s=t.length;o<s;o++){var u=t[o];i.set(u,a),a+=u.length}return i},Kt=!0;try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(t){Kt=!1}for(var Zt=new Uint8Array(256),Yt=0;Yt<256;Yt++)Zt[Yt]=Yt>=252?6:Yt>=248?5:Yt>=240?4:Yt>=224?3:Yt>=192?2:1;Zt[254]=Zt[254]=1;var qt=function(t){if("function"==typeof TextEncoder&&TextEncoder.prototype.encode)return(new TextEncoder).encode(t);var e,r,n,i,o,a=t.length,s=0;for(i=0;i<a;i++)55296==(64512&(r=t.charCodeAt(i)))&&i+1<a&&56320==(64512&(n=t.charCodeAt(i+1)))&&(r=65536+(r-55296<<10)+(n-56320),i++),s+=r<128?1:r<2048?2:r<65536?3:4;for(e=new Uint8Array(s),o=0,i=0;o<s;i++)55296==(64512&(r=t.charCodeAt(i)))&&i+1<a&&56320==(64512&(n=t.charCodeAt(i+1)))&&(r=65536+(r-55296<<10)+(n-56320),i++),r<128?e[o++]=r:r<2048?(e[o++]=192|r>>>6,e[o++]=128|63&r):r<65536?(e[o++]=224|r>>>12,e[o++]=128|r>>>6&63,e[o++]=128|63&r):(e[o++]=240|r>>>18,e[o++]=128|r>>>12&63,e[o++]=128|r>>>6&63,e[o++]=128|63&r);return e},Vt=function(t,e){var r,n,i=e||t.length;if("function"==typeof TextDecoder&&TextDecoder.prototype.decode)return(new TextDecoder).decode(t.subarray(0,e));var o=new Array(2*i);for(n=0,r=0;r<i;){var a=t[r++];if(a<128)o[n++]=a;else{var s=Zt[a];if(s>4)o[n++]=65533,r+=s-1;else{for(a&=2===s?31:3===s?15:7;s>1&&r<i;)a=a<<6|63&t[r++],s--;s>1?o[n++]=65533:a<65536?o[n++]=a:(a-=65536,o[n++]=55296|a>>10&1023,o[n++]=56320|1023&a)}}}return function(t,e){if(e<65534&&t.subarray&&Kt)return String.fromCharCode.apply(null,t.length===e?t:t.subarray(0,e));for(var r="",n=0;n<e;n++)r+=String.fromCharCode(t[n]);return r}(o,n)},Ht=function(t,e){(e=e||t.length)>t.length&&(e=t.length);for(var r=e-1;r>=0&&128==(192&t[r]);)r--;return r<0||0===r?e:r+Zt[t[r]]>e?r:e},Qt=function(){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},Xt=Object.prototype.toString,Wt=G.Z_NO_FLUSH,$t=G.Z_SYNC_FLUSH,Jt=G.Z_FULL_FLUSH,te=G.Z_FINISH,ee=G.Z_OK,re=G.Z_STREAM_END,ne=G.Z_DEFAULT_COMPRESSION,ie=G.Z_DEFAULT_STRATEGY,oe=G.Z_DEFLATED;function ae(t){this.options=Dt({level:ne,method:oe,chunkSize:16384,windowBits:15,memLevel:8,strategy:ie},t||{});var e=this.options;e.raw&&e.windowBits>0?e.windowBits=-e.windowBits:e.gzip&&e.windowBits>0&&e.windowBits<16&&(e.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Qt,this.strm.avail_out=0;var r=Ct(this.strm,e.level,e.method,e.windowBits,e.memLevel,e.strategy);if(r!==ee)throw new Error(D[r]);if(e.header&&Nt(this.strm,e.header),e.dictionary){var n;if(n="string"==typeof e.dictionary?qt(e.dictionary):"[object ArrayBuffer]"===Xt.call(e.dictionary)?new Uint8Array(e.dictionary):e.dictionary,(r=jt(this.strm,n))!==ee)throw new Error(D[r]);this._dict_set=!0}}function se(t,e){var r=new ae(e);if(r.push(t,!0),r.err)throw r.msg||D[r.err];return r.result}ae.prototype.push=function(t,e){var r,n,i=this.strm,o=this.options.chunkSize;if(this.ended)return!1;for(n=e===~~e?e:!0===e?te:Wt,"string"==typeof t?i.input=qt(t):"[object ArrayBuffer]"===Xt.call(t)?i.input=new Uint8Array(t):i.input=t,i.next_in=0,i.avail_in=i.input.length;;)if(0===i.avail_out&&(i.output=new Uint8Array(o),i.next_out=0,i.avail_out=o),(n===$t||n===Jt)&&i.avail_out<=6)this.onData(i.output.subarray(0,i.next_out)),i.avail_out=0;else{if((r=It(i,n))===re)return i.next_out>0&&this.onData(i.output.subarray(0,i.next_out)),r=Ut(this.strm),this.onEnd(r),this.ended=!0,r===ee;if(0!==i.avail_out){if(n>0&&i.next_out>0)this.onData(i.output.subarray(0,i.next_out)),i.avail_out=0;else if(0===i.avail_in)break}else this.onData(i.output)}return!0},ae.prototype.onData=function(t){this.chunks.push(t)},ae.prototype.onEnd=function(t){t===ee&&(this.result=Gt(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg};var ue=ae,ce=se,le=function(t,e){return(e=e||{}).raw=!0,se(t,e)},fe=function(t,e){return(e=e||{}).gzip=!0,se(t,e)},he=16209,de=function(t,e){var r,n,i,o,a,s,u,c,l,f,h,d,p,_,v,w,g,b,m,y,x,E,k,A,S=t.state;r=t.next_in,k=t.input,n=r+(t.avail_in-5),i=t.next_out,A=t.output,o=i-(e-t.avail_out),a=i+(t.avail_out-257),s=S.dmax,u=S.wsize,c=S.whave,l=S.wnext,f=S.window,h=S.hold,d=S.bits,p=S.lencode,_=S.distcode,v=(1<<S.lenbits)-1,w=(1<<S.distbits)-1;t:do{d<15&&(h+=k[r++]<<d,d+=8,h+=k[r++]<<d,d+=8),g=p[h&v];e:for(;;){if(h>>>=b=g>>>24,d-=b,0==(b=g>>>16&255))A[i++]=65535&g;else{if(!(16&b)){if(0==(64&b)){g=p[(65535&g)+(h&(1<<b)-1)];continue e}if(32&b){S.mode=16191;break t}t.msg="invalid literal/length code",S.mode=he;break t}m=65535&g,(b&=15)&&(d<b&&(h+=k[r++]<<d,d+=8),m+=h&(1<<b)-1,h>>>=b,d-=b),d<15&&(h+=k[r++]<<d,d+=8,h+=k[r++]<<d,d+=8),g=_[h&w];r:for(;;){if(h>>>=b=g>>>24,d-=b,!(16&(b=g>>>16&255))){if(0==(64&b)){g=_[(65535&g)+(h&(1<<b)-1)];continue r}t.msg="invalid distance code",S.mode=he;break t}if(y=65535&g,d<(b&=15)&&(h+=k[r++]<<d,(d+=8)<b&&(h+=k[r++]<<d,d+=8)),(y+=h&(1<<b)-1)>s){t.msg="invalid distance too far back",S.mode=he;break t}if(h>>>=b,d-=b,y>(b=i-o)){if((b=y-b)>c&&S.sane){t.msg="invalid distance too far back",S.mode=he;break t}if(x=0,E=f,0===l){if(x+=u-b,b<m){m-=b;do{A[i++]=f[x++]}while(--b);x=i-y,E=A}}else if(l<b){if(x+=u+l-b,(b-=l)<m){m-=b;do{A[i++]=f[x++]}while(--b);if(x=0,l<m){m-=b=l;do{A[i++]=f[x++]}while(--b);x=i-y,E=A}}}else if(x+=l-b,b<m){m-=b;do{A[i++]=f[x++]}while(--b);x=i-y,E=A}for(;m>2;)A[i++]=E[x++],A[i++]=E[x++],A[i++]=E[x++],m-=3;m&&(A[i++]=E[x++],m>1&&(A[i++]=E[x++]))}else{x=i-y;do{A[i++]=A[x++],A[i++]=A[x++],A[i++]=A[x++],m-=3}while(m>2);m&&(A[i++]=A[x++],m>1&&(A[i++]=A[x++]))}break}}break}}while(r<n&&i<a);r-=m=d>>3,h&=(1<<(d-=m<<3))-1,t.next_in=r,t.next_out=i,t.avail_in=r<n?n-r+5:5-(r-n),t.avail_out=i<a?a-i+257:257-(i-a),S.hold=h,S.bits=d},pe=new Uint16Array([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]),_e=new Uint8Array([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]),ve=new Uint16Array([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]),we=new Uint8Array([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]),ge=function(t,e,r,n,i,o,a,s){var u,c,l,f,h,d,p,_,v,w=s.bits,g=0,b=0,m=0,y=0,x=0,E=0,k=0,A=0,S=0,O=0,R=null,M=new Uint16Array(16),T=new Uint16Array(16),L=null;for(g=0;g<=15;g++)M[g]=0;for(b=0;b<n;b++)M[e[r+b]]++;for(x=w,y=15;y>=1&&0===M[y];y--);if(x>y&&(x=y),0===y)return i[o++]=20971520,i[o++]=20971520,s.bits=1,0;for(m=1;m<y&&0===M[m];m++);for(x<m&&(x=m),A=1,g=1;g<=15;g++)if(A<<=1,(A-=M[g])<0)return-1;if(A>0&&(0===t||1!==y))return-1;for(T[1]=0,g=1;g<15;g++)T[g+1]=T[g]+M[g];for(b=0;b<n;b++)0!==e[r+b]&&(a[T[e[r+b]]++]=b);if(0===t?(R=L=a,d=20):1===t?(R=pe,L=_e,d=257):(R=ve,L=we,d=0),O=0,b=0,g=m,h=o,E=x,k=0,l=-1,f=(S=1<<x)-1,1===t&&S>852||2===t&&S>592)return 1;for(;;){p=g-k,a[b]+1<d?(_=0,v=a[b]):a[b]>=d?(_=L[a[b]-d],v=R[a[b]-d]):(_=96,v=0),u=1<<g-k,m=c=1<<E;do{i[h+(O>>k)+(c-=u)]=p<<24|_<<16|v|0}while(0!==c);for(u=1<<g-1;O&u;)u>>=1;if(0!==u?(O&=u-1,O+=u):O=0,b++,0==--M[g]){if(g===y)break;g=e[r+a[b]]}if(g>x&&(O&f)!==l){for(0===k&&(k=x),h+=m,A=1<<(E=g-k);E+k<y&&!((A-=M[E+k])<=0);)E++,A<<=1;if(S+=1<<E,1===t&&S>852||2===t&&S>592)return 1;i[l=O&f]=x<<24|E<<16|h-o|0}}return 0!==O&&(i[h+O]=g-k<<24|64<<16|0),s.bits=x,0},be=G.Z_FINISH,me=G.Z_BLOCK,ye=G.Z_TREES,xe=G.Z_OK,Ee=G.Z_STREAM_END,ke=G.Z_NEED_DICT,Ae=G.Z_STREAM_ERROR,Se=G.Z_DATA_ERROR,Oe=G.Z_MEM_ERROR,Re=G.Z_BUF_ERROR,Me=G.Z_DEFLATED,Te=16180,Le=16190,ze=16191,Pe=16199,Ce=16200,Ne=16209,Ie=function(t){return(t>>>24&255)+(t>>>8&65280)+((65280&t)<<8)+((255&t)<<24)};function Ue(){this.strm=null,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 Uint16Array(320),this.work=new Uint16Array(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}var je,Be,Fe=function(t){if(!t)return 1;var e=t.state;return!e||e.strm!==t||e.mode<Te||e.mode>16211?1:0},De=function(t){if(Fe(t))return Ae;var e=t.state;return t.total_in=t.total_out=e.total=0,t.msg="",e.wrap&&(t.adler=1&e.wrap),e.mode=Te,e.last=0,e.havedict=0,e.flags=-1,e.dmax=32768,e.head=null,e.hold=0,e.bits=0,e.lencode=e.lendyn=new Int32Array(852),e.distcode=e.distdyn=new Int32Array(592),e.sane=1,e.back=-1,xe},Ge=function(t){if(Fe(t))return Ae;var e=t.state;return e.wsize=0,e.whave=0,e.wnext=0,De(t)},Ke=function(t,e){var r;if(Fe(t))return Ae;var n=t.state;return e<0?(r=0,e=-e):(r=5+(e>>4),e<48&&(e&=15)),e&&(e<8||e>15)?Ae:(null!==n.window&&n.wbits!==e&&(n.window=null),n.wrap=r,n.wbits=e,Ge(t))},Ze=function(t,e){if(!t)return Ae;var r=new Ue;t.state=r,r.strm=t,r.window=null,r.mode=Te;var n=Ke(t,e);return n!==xe&&(t.state=null),n},Ye=!0,qe=function(t){if(Ye){je=new Int32Array(512),Be=new Int32Array(32);for(var e=0;e<144;)t.lens[e++]=8;for(;e<256;)t.lens[e++]=9;for(;e<280;)t.lens[e++]=7;for(;e<288;)t.lens[e++]=8;for(ge(1,t.lens,0,288,je,0,t.work,{bits:9}),e=0;e<32;)t.lens[e++]=5;ge(2,t.lens,0,32,Be,0,t.work,{bits:5}),Ye=!1}t.lencode=je,t.lenbits=9,t.distcode=Be,t.distbits=5},Ve=function(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 Uint8Array(o.wsize)),n>=o.wsize?(o.window.set(e.subarray(r-o.wsize,r),0),o.wnext=0,o.whave=o.wsize):((i=o.wsize-o.wnext)>n&&(i=n),o.window.set(e.subarray(r-n,r-n+i),o.wnext),(n-=i)?(o.window.set(e.subarray(r-n,r),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},He=Ge,Qe=Ze,Xe=function(t,e){var r,n,i,o,a,s,u,c,l,f,h,d,p,_,v,w,g,b,m,y,x,E,k,A,S=0,O=new Uint8Array(4),R=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if(Fe(t)||!t.output||!t.input&&0!==t.avail_in)return Ae;(r=t.state).mode===ze&&(r.mode=16192),a=t.next_out,i=t.output,u=t.avail_out,o=t.next_in,n=t.input,s=t.avail_in,c=r.hold,l=r.bits,f=s,h=u,E=xe;t:for(;;)switch(r.mode){case Te:if(0===r.wrap){r.mode=16192;break}for(;l<16;){if(0===s)break t;s--,c+=n[o++]<<l,l+=8}if(2&r.wrap&&35615===c){0===r.wbits&&(r.wbits=15),r.check=0,O[0]=255&c,O[1]=c>>>8&255,r.check=F(r.check,O,2,0),c=0,l=0,r.mode=16181;break}if(r.head&&(r.head.done=!1),!(1&r.wrap)||(((255&c)<<8)+(c>>8))%31){t.msg="incorrect header check",r.mode=Ne;break}if((15&c)!==Me){t.msg="unknown compression method",r.mode=Ne;break}if(l-=4,x=8+(15&(c>>>=4)),0===r.wbits&&(r.wbits=x),x>15||x>r.wbits){t.msg="invalid window size",r.mode=Ne;break}r.dmax=1<<r.wbits,r.flags=0,t.adler=r.check=1,r.mode=512&c?16189:ze,c=0,l=0;break;case 16181:for(;l<16;){if(0===s)break t;s--,c+=n[o++]<<l,l+=8}if(r.flags=c,(255&r.flags)!==Me){t.msg="unknown compression method",r.mode=Ne;break}if(57344&r.flags){t.msg="unknown header flags set",r.mode=Ne;break}r.head&&(r.head.text=c>>8&1),512&r.flags&&4&r.wrap&&(O[0]=255&c,O[1]=c>>>8&255,r.check=F(r.check,O,2,0)),c=0,l=0,r.mode=16182;case 16182:for(;l<32;){if(0===s)break t;s--,c+=n[o++]<<l,l+=8}r.head&&(r.head.time=c),512&r.flags&&4&r.wrap&&(O[0]=255&c,O[1]=c>>>8&255,O[2]=c>>>16&255,O[3]=c>>>24&255,r.check=F(r.check,O,4,0)),c=0,l=0,r.mode=16183;case 16183:for(;l<16;){if(0===s)break t;s--,c+=n[o++]<<l,l+=8}r.head&&(r.head.xflags=255&c,r.head.os=c>>8),512&r.flags&&4&r.wrap&&(O[0]=255&c,O[1]=c>>>8&255,r.check=F(r.check,O,2,0)),c=0,l=0,r.mode=16184;case 16184:if(1024&r.flags){for(;l<16;){if(0===s)break t;s--,c+=n[o++]<<l,l+=8}r.length=c,r.head&&(r.head.extra_len=c),512&r.flags&&4&r.wrap&&(O[0]=255&c,O[1]=c>>>8&255,r.check=F(r.check,O,2,0)),c=0,l=0}else r.head&&(r.head.extra=null);r.mode=16185;case 16185:if(1024&r.flags&&((d=r.length)>s&&(d=s),d&&(r.head&&(x=r.head.extra_len-r.length,r.head.extra||(r.head.extra=new Uint8Array(r.head.extra_len)),r.head.extra.set(n.subarray(o,o+d),x)),512&r.flags&&4&r.wrap&&(r.check=F(r.check,n,d,o)),s-=d,o+=d,r.length-=d),r.length))break t;r.length=0,r.mode=16186;case 16186:if(2048&r.flags){if(0===s)break t;d=0;do{x=n[o+d++],r.head&&x&&r.length<65536&&(r.head.name+=String.fromCharCode(x))}while(x&&d<s);if(512&r.flags&&4&r.wrap&&(r.check=F(r.check,n,d,o)),s-=d,o+=d,x)break t}else r.head&&(r.head.name=null);r.length=0,r.mode=16187;case 16187:if(4096&r.flags){if(0===s)break t;d=0;do{x=n[o+d++],r.head&&x&&r.length<65536&&(r.head.comment+=String.fromCharCode(x))}while(x&&d<s);if(512&r.flags&&4&r.wrap&&(r.check=F(r.check,n,d,o)),s-=d,o+=d,x)break t}else r.head&&(r.head.comment=null);r.mode=16188;case 16188:if(512&r.flags){for(;l<16;){if(0===s)break t;s--,c+=n[o++]<<l,l+=8}if(4&r.wrap&&c!==(65535&r.check)){t.msg="header crc mismatch",r.mode=Ne;break}c=0,l=0}r.head&&(r.head.hcrc=r.flags>>9&1,r.head.done=!0),t.adler=r.check=0,r.mode=ze;break;case 16189:for(;l<32;){if(0===s)break t;s--,c+=n[o++]<<l,l+=8}t.adler=r.check=Ie(c),c=0,l=0,r.mode=Le;case Le:if(0===r.havedict)return t.next_out=a,t.avail_out=u,t.next_in=o,t.avail_in=s,r.hold=c,r.bits=l,ke;t.adler=r.check=1,r.mode=ze;case ze:if(e===me||e===ye)break t;case 16192:if(r.last){c>>>=7&l,l-=7&l,r.mode=16206;break}for(;l<3;){if(0===s)break t;s--,c+=n[o++]<<l,l+=8}switch(r.last=1&c,l-=1,3&(c>>>=1)){case 0:r.mode=16193;break;case 1:if(qe(r),r.mode=Pe,e===ye){c>>>=2,l-=2;break t}break;case 2:r.mode=16196;break;case 3:t.msg="invalid block type",r.mode=Ne}c>>>=2,l-=2;break;case 16193:for(c>>>=7&l,l-=7&l;l<32;){if(0===s)break t;s--,c+=n[o++]<<l,l+=8}if((65535&c)!=(c>>>16^65535)){t.msg="invalid stored block lengths",r.mode=Ne;break}if(r.length=65535&c,c=0,l=0,r.mode=16194,e===ye)break t;case 16194:r.mode=16195;case 16195:if(d=r.length){if(d>s&&(d=s),d>u&&(d=u),0===d)break t;i.set(n.subarray(o,o+d),a),s-=d,o+=d,u-=d,a+=d,r.length-=d;break}r.mode=ze;break;case 16196:for(;l<14;){if(0===s)break t;s--,c+=n[o++]<<l,l+=8}if(r.nlen=257+(31&c),c>>>=5,l-=5,r.ndist=1+(31&c),c>>>=5,l-=5,r.ncode=4+(15&c),c>>>=4,l-=4,r.nlen>286||r.ndist>30){t.msg="too many length or distance symbols",r.mode=Ne;break}r.have=0,r.mode=16197;case 16197:for(;r.have<r.ncode;){for(;l<3;){if(0===s)break t;s--,c+=n[o++]<<l,l+=8}r.lens[R[r.have++]]=7&c,c>>>=3,l-=3}for(;r.have<19;)r.lens[R[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,k={bits:r.lenbits},E=ge(0,r.lens,0,19,r.lencode,0,r.work,k),r.lenbits=k.bits,E){t.msg="invalid code lengths set",r.mode=Ne;break}r.have=0,r.mode=16198;case 16198:for(;r.have<r.nlen+r.ndist;){for(;w=(S=r.lencode[c&(1<<r.lenbits)-1])>>>16&255,g=65535&S,!((v=S>>>24)<=l);){if(0===s)break t;s--,c+=n[o++]<<l,l+=8}if(g<16)c>>>=v,l-=v,r.lens[r.have++]=g;else{if(16===g){for(A=v+2;l<A;){if(0===s)break t;s--,c+=n[o++]<<l,l+=8}if(c>>>=v,l-=v,0===r.have){t.msg="invalid bit length repeat",r.mode=Ne;break}x=r.lens[r.have-1],d=3+(3&c),c>>>=2,l-=2}else if(17===g){for(A=v+3;l<A;){if(0===s)break t;s--,c+=n[o++]<<l,l+=8}l-=v,x=0,d=3+(7&(c>>>=v)),c>>>=3,l-=3}else{for(A=v+7;l<A;){if(0===s)break t;s--,c+=n[o++]<<l,l+=8}l-=v,x=0,d=11+(127&(c>>>=v)),c>>>=7,l-=7}if(r.have+d>r.nlen+r.ndist){t.msg="invalid bit length repeat",r.mode=Ne;break}for(;d--;)r.lens[r.have++]=x}}if(r.mode===Ne)break;if(0===r.lens[256]){t.msg="invalid code -- missing end-of-block",r.mode=Ne;break}if(r.lenbits=9,k={bits:r.lenbits},E=ge(1,r.lens,0,r.nlen,r.lencode,0,r.work,k),r.lenbits=k.bits,E){t.msg="invalid literal/lengths set",r.mode=Ne;break}if(r.distbits=6,r.distcode=r.distdyn,k={bits:r.distbits},E=ge(2,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,k),r.distbits=k.bits,E){t.msg="invalid distances set",r.mode=Ne;break}if(r.mode=Pe,e===ye)break t;case Pe:r.mode=Ce;case Ce:if(s>=6&&u>=258){t.next_out=a,t.avail_out=u,t.next_in=o,t.avail_in=s,r.hold=c,r.bits=l,de(t,h),a=t.next_out,i=t.output,u=t.avail_out,o=t.next_in,n=t.input,s=t.avail_in,c=r.hold,l=r.bits,r.mode===ze&&(r.back=-1);break}for(r.back=0;w=(S=r.lencode[c&(1<<r.lenbits)-1])>>>16&255,g=65535&S,!((v=S>>>24)<=l);){if(0===s)break t;s--,c+=n[o++]<<l,l+=8}if(w&&0==(240&w)){for(b=v,m=w,y=g;w=(S=r.lencode[y+((c&(1<<b+m)-1)>>b)])>>>16&255,g=65535&S,!(b+(v=S>>>24)<=l);){if(0===s)break t;s--,c+=n[o++]<<l,l+=8}c>>>=b,l-=b,r.back+=b}if(c>>>=v,l-=v,r.back+=v,r.length=g,0===w){r.mode=16205;break}if(32&w){r.back=-1,r.mode=ze;break}if(64&w){t.msg="invalid literal/length code",r.mode=Ne;break}r.extra=15&w,r.mode=16201;case 16201:if(r.extra){for(A=r.extra;l<A;){if(0===s)break t;s--,c+=n[o++]<<l,l+=8}r.length+=c&(1<<r.extra)-1,c>>>=r.extra,l-=r.extra,r.back+=r.extra}r.was=r.length,r.mode=16202;case 16202:for(;w=(S=r.distcode[c&(1<<r.distbits)-1])>>>16&255,g=65535&S,!((v=S>>>24)<=l);){if(0===s)break t;s--,c+=n[o++]<<l,l+=8}if(0==(240&w)){for(b=v,m=w,y=g;w=(S=r.distcode[y+((c&(1<<b+m)-1)>>b)])>>>16&255,g=65535&S,!(b+(v=S>>>24)<=l);){if(0===s)break t;s--,c+=n[o++]<<l,l+=8}c>>>=b,l-=b,r.back+=b}if(c>>>=v,l-=v,r.back+=v,64&w){t.msg="invalid distance code",r.mode=Ne;break}r.offset=g,r.extra=15&w,r.mode=16203;case 16203:if(r.extra){for(A=r.extra;l<A;){if(0===s)break t;s--,c+=n[o++]<<l,l+=8}r.offset+=c&(1<<r.extra)-1,c>>>=r.extra,l-=r.extra,r.back+=r.extra}if(r.offset>r.dmax){t.msg="invalid distance too far back",r.mode=Ne;break}r.mode=16204;case 16204:if(0===u)break t;if(d=h-u,r.offset>d){if((d=r.offset-d)>r.whave&&r.sane){t.msg="invalid distance too far back",r.mode=Ne;break}d>r.wnext?(d-=r.wnext,p=r.wsize-d):p=r.wnext-d,d>r.length&&(d=r.length),_=r.window}else _=i,p=a-r.offset,d=r.length;d>u&&(d=u),u-=d,r.length-=d;do{i[a++]=_[p++]}while(--d);0===r.length&&(r.mode=Ce);break;case 16205:if(0===u)break t;i[a++]=r.length,u--,r.mode=Ce;break;case 16206:if(r.wrap){for(;l<32;){if(0===s)break t;s--,c|=n[o++]<<l,l+=8}if(h-=u,t.total_out+=h,r.total+=h,4&r.wrap&&h&&(t.adler=r.check=r.flags?F(r.check,i,h,a-h):j(r.check,i,h,a-h)),h=u,4&r.wrap&&(r.flags?c:Ie(c))!==r.check){t.msg="incorrect data check",r.mode=Ne;break}c=0,l=0}r.mode=16207;case 16207:if(r.wrap&&r.flags){for(;l<32;){if(0===s)break t;s--,c+=n[o++]<<l,l+=8}if(4&r.wrap&&c!==(4294967295&r.total)){t.msg="incorrect length check",r.mode=Ne;break}c=0,l=0}r.mode=16208;case 16208:E=Ee;break t;case Ne:E=Se;break t;case 16210:return Oe;default:return Ae}return t.next_out=a,t.avail_out=u,t.next_in=o,t.avail_in=s,r.hold=c,r.bits=l,(r.wsize||h!==t.avail_out&&r.mode<Ne&&(r.mode<16206||e!==be))&&Ve(t,t.output,t.next_out,h-t.avail_out),f-=t.avail_in,h-=t.avail_out,t.total_in+=f,t.total_out+=h,r.total+=h,4&r.wrap&&h&&(t.adler=r.check=r.flags?F(r.check,i,h,t.next_out-h):j(r.check,i,h,t.next_out-h)),t.data_type=r.bits+(r.last?64:0)+(r.mode===ze?128:0)+(r.mode===Pe||16194===r.mode?256:0),(0===f&&0===h||e===be)&&E===xe&&(E=Re),E},We=function(t){if(Fe(t))return Ae;var e=t.state;return e.window&&(e.window=null),t.state=null,xe},$e=function(t,e){if(Fe(t))return Ae;var r=t.state;return 0==(2&r.wrap)?Ae:(r.head=e,e.done=!1,xe)},Je=function(t,e){var r,n=e.length;return Fe(t)||0!==(r=t.state).wrap&&r.mode!==Le?Ae:r.mode===Le&&j(1,e,n,0)!==r.check?Se:Ve(t,e,n,n)?(r.mode=16210,Oe):(r.havedict=1,xe)},tr=function(){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},er=Object.prototype.toString,rr=G.Z_NO_FLUSH,nr=G.Z_FINISH,ir=G.Z_OK,or=G.Z_STREAM_END,ar=G.Z_NEED_DICT,sr=G.Z_STREAM_ERROR,ur=G.Z_DATA_ERROR,cr=G.Z_MEM_ERROR;function lr(t){this.options=Dt({chunkSize:65536,windowBits:15,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 Qt,this.strm.avail_out=0;var r=Qe(this.strm,e.windowBits);if(r!==ir)throw new Error(D[r]);if(this.header=new tr,$e(this.strm,this.header),e.dictionary&&("string"==typeof e.dictionary?e.dictionary=qt(e.dictionary):"[object ArrayBuffer]"===er.call(e.dictionary)&&(e.dictionary=new Uint8Array(e.dictionary)),e.raw&&(r=Je(this.strm,e.dictionary))!==ir))throw new Error(D[r])}function fr(t,e){var r=new lr(e);if(r.push(t),r.err)throw r.msg||D[r.err];return r.result}lr.prototype.push=function(t,e){var r,n,i,o=this.strm,a=this.options.chunkSize,s=this.options.dictionary;if(this.ended)return!1;for(n=e===~~e?e:!0===e?nr:rr,"[object ArrayBuffer]"===er.call(t)?o.input=new Uint8Array(t):o.input=t,o.next_in=0,o.avail_in=o.input.length;;){for(0===o.avail_out&&(o.output=new Uint8Array(a),o.next_out=0,o.avail_out=a),(r=Xe(o,n))===ar&&s&&((r=Je(o,s))===ir?r=Xe(o,n):r===ur&&(r=ar));o.avail_in>0&&r===or&&o.state.wrap>0&&0!==t[o.next_in];)He(o),r=Xe(o,n);switch(r){case sr:case ur:case ar:case cr:return this.onEnd(r),this.ended=!0,!1}if(i=o.avail_out,o.next_out&&(0===o.avail_out||r===or))if("string"===this.options.to){var u=Ht(o.output,o.next_out),c=o.next_out-u,l=Vt(o.output,u);o.next_out=c,o.avail_out=a-c,c&&o.output.set(o.output.subarray(u,u+c),0),this.onData(l)}else this.onData(o.output.length===o.next_out?o.output:o.output.subarray(0,o.next_out));if(r!==ir||0!==i){if(r===or)return r=We(this.strm),this.onEnd(r),this.ended=!0,!0;if(0===o.avail_in)break}}return!0},lr.prototype.onData=function(t){this.chunks.push(t)},lr.prototype.onEnd=function(t){t===ir&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=Gt(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg};var hr=lr,dr=fr,pr=function(t,e){return(e=e||{}).raw=!0,fr(t,e)},_r=fr,vr=ue,wr=ce,gr=le,br=fe,mr=hr,yr=dr,xr=pr,Er=_r,kr=G,Ar={Deflate:vr,deflate:wr,deflateRaw:gr,gzip:br,Inflate:mr,inflate:yr,inflateRaw:xr,ungzip:Er,constants:kr};t.Deflate=vr,t.Inflate=mr,t.constants=kr,t.default=Ar,t.deflate=wr,t.deflateRaw=gr,t.gzip=br,t.inflate=yr,t.inflateRaw=xr,t.ungzip=Er,Object.defineProperty(t,"__esModule",{value:!0})}(e)},function(t,e,r){"use strict";var n=r(74),i=r(75),o=r(76),a=r(45),s=r(10),u=r(21);s(e,"__esModule",{value:!0}),e.default=void 0;var c=u(r(30)),l=u(r(141)),f=u(r(44)),h=r(48),d=r(73),p=r(47);function _(t,e){var r=void 0!==i&&t[o]||t["@@iterator"];if(!r){if(a(t)||(r=function(t,e){if(t){if("string"==typeof t)return v(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?n(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?v(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var s=0,u=function(){};return{s:u,n:function(){return s>=t.length?{done:!0}:{done:!1,value:t[s++]}},e:function(t){throw t},f:u}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var c,l=!0,f=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return l=t.done,t},e:function(t){f=!0,c=t},f:function(){try{l||null==r.return||r.return()}finally{if(f)throw c}}}}function v(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function w(){return this instanceof w?w.instance?w.instance:(this.retryCount=0,this.appKey="",this.appSecret="",this.rateReady=!1,this.fullSampleUsers=[],this.sampleRate=0,this.rules={},this._logger=void 0,void(w.instance=this)):new w}w.instance=null,w.getInstance=function(t){return w.instance||(w.instance=new w,w.instance._logger=t),w.instance},w.prototype.init=function(t,e){t&&e&&(this._logger.debug(h.EMAS_APM_LOG_KEY,"rate module init...."),this.appKey=t,this.appSecret=e,this._getRate())},w.prototype.calcSample=function(t,e,r){var n=this._filter(t,e,r);return n<=0?0:n>=1?1:Math.random()<=n?n:0},w.prototype._filter=function(t,e,r){if(this._logger.debug(h.EMAS_APM_LOG_KEY,"sample rate filter"),(0,p.arrayIncludes)(this.fullSampleUsers,r.userId))return this._logger.debug(h.EMAS_APM_LOG_KEY,"current userId is in full sample user."),1;var n=this.rules[t];if(n){var i=n.enable,o=void 0!==i&&i,a=n.sampleRate,s=n.conditional;if(o){var u,c=_(void 0===s?[]:s);try{for(c.s();!(u=c.n()).done;){var l=u.value;if(this._evaluateCondition(l.filter,e))return this._logger.debug(h.EMAS_APM_LOG_KEY,"event=[".concat(t,"] aciton is hit, rate = ").concat(l.sampleRate)),l.sampleRate}}catch(t){c.e(t)}finally{c.f()}return this._logger.debug(h.EMAS_APM_LOG_KEY,"event=[".concat(t,"] action is not hit, use current event rule base sample rate. rate = ").concat(a)),a}return this._logger.debug(h.EMAS_APM_LOG_KEY,"event=[".concat(t,"] is not enable")),0}return this._logger.debug(h.EMAS_APM_LOG_KEY,"no rules match event=[".concat(t,"]. use base sample rate.")),this.sampleRate},w.prototype._evaluateCondition=function(t,e){var r=this,n=t||{},i=n.op,o=void 0===i?"":i,a=n.filters,s=void 0===a?[]:a;switch(o){case"and":return s.every((function(t){return r._evaluateCondition(t,e)}));case"or":return s.some((function(t){return r._evaluateCondition(t,e)}));case"=":case"!=":case"in":case"not_in":case">":case">=":case"<":case"<=":case"regex":case"not_regex":return this._operation(t,e);default:return!1}},w.prototype._operation=function(t,e){var r=t.op,n=t.values,i=void 0===n?[]:n,o=t.key,a=void 0===o?"":o,s=(0,p.getValueByPath)(e,a);switch(r){case"=":return s==i[0];case"!=":return s!=i[0];case"in":return i.some((function(t){return s===t}));case"not_in":return i.every((function(t){return s!==t}));case">":return s>i[0];case">=":return s>=i[0];case"<":return s<i[0];case"<=":return s<=i[0];case"regex":try{return new RegExp(i[0]).test(s)}catch(t){return!1}case"not_regex":try{return!new RegExp(i[0]).test(s)}catch(t){return!1}default:return!1}},w.prototype._getRate=(0,f.default)(c.default.mark((function t(){var e,r,n,i,o,a,s,u,l,f,p,_,v=this;return c.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this._logger.debug(h.EMAS_APM_LOG_KEY,"begin to get sample rate......"),t.next=3,(0,d.getRate)(this.appKey,this.appSecret);case 3:if(e=t.sent,r=e.success,n=e.data,r){for(this._logger.debug(h.EMAS_APM_LOG_KEY,"get sample rate success"),i=n.sampleRate,o=n.fullSampleUsers,a=void 0===o?[]:o,s=n.rules,u=void 0===s?[]:s,this.fullSampleUsers=a,this.sampleRate=i,l=0;l<u.length;l++)f=u[l],p=(f||{}).eventId,(_=void 0===p?"":p)&&(this.rules[_]=f);this._finishCallBack()}else this._logger.debug(h.EMAS_APM_LOG_KEY,"get sample rate failed"),this.retryCount<h.RATE_MAX_RETRY_COUNT?setTimeout((function(){v.retryCount++,v._logger.debug(h.EMAS_APM_LOG_KEY,"retry get sample rate. -----".concat(v.retryCount)),v._getRate()}),h.RATE_RETRY_INTERVAL):(this._logger.debug(h.EMAS_APM_LOG_KEY,"use local sample rate"),this._safeguard());case 7:case"end":return t.stop()}}),t,this)}))),w.prototype._finishCallBack=function(){var t;this.rateReady=!0;try{t=new Event(h.EMAS_RATE_NOTIC_KEY)}catch(e){11===(0,p.getIEVersion)()&&(t=document.createEvent("Event")).initEvent(h.EMAS_RATE_NOTIC_KEY,!1,!1)}t&&window.dispatchEvent(t)},w.prototype._safeguard=function(){this._logger.debug(h.EMAS_APM_LOG_KEY,"get sample rate by safeguard"),this.fullSampleUsers=[],this.sampleRate=1,this.rules=(0,l.default)((0,l.default)((0,l.default)((0,l.default)((0,l.default)({},h.EVENTID.jsError,{eventId:"jsError",conditional:[],enable:!0,sampleRate:1}),h.EVENTID.whiteScreen,{eventId:"whiteScreen",conditional:[],enable:!0,sampleRate:1}),h.EVENTID.request,{eventId:"request",conditional:[],enable:!0,sampleRate:.2}),h.EVENTID.resource,{eventId:"resource",conditional:[],enable:!0,sampleRate:.2}),h.EVENTID.performance,{eventId:"performance",conditional:[],enable:!0,sampleRate:.1}),this._finishCallBack()};e.default=w},function(t,e,r){var n=r(27),i=r(142);t.exports=function(t,e,r){return(e=i(e))in t?n(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,r){var n=r(31).default,i=r(143);t.exports=function(t){var e=i(t,"string");return"symbol"==n(e)?e:e+""},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,r){var n=r(144),i=r(31).default;t.exports=function(t,e){if("object"!=i(t)||!t)return t;var r=t[n];if(void 0!==r){var o=r.call(t,e||"default");if("object"!=i(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,r){t.exports=r(24).f("toPrimitive")}]);
3
+ !function(t){"use strict";function e(t){for(var e=t.length;--e>=0;)t[e]=0}var n=new Uint8Array([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0]),r=new Uint8Array([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13]),i=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),o=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),a=new Array(576);e(a);var s=new Array(60);e(s);var u=new Array(512);e(u);var c=new Array(256);e(c);var l=new Array(29);e(l);var f,d,h,p=new Array(30);function v(t,e,n,r,i){this.static_tree=t,this.extra_bits=e,this.extra_base=n,this.elems=r,this.max_length=i,this.has_stree=t&&t.length}function _(t,e){this.dyn_tree=t,this.max_code=0,this.stat_desc=e}e(p);var g=function(t){return t<256?u[t]:u[256+(t>>>7)]},m=function(t,e){t.pending_buf[t.pending++]=255&e,t.pending_buf[t.pending++]=e>>>8&255},w=function(t,e,n){t.bi_valid>16-n?(t.bi_buf|=e<<t.bi_valid&65535,m(t,t.bi_buf),t.bi_buf=e>>16-t.bi_valid,t.bi_valid+=n-16):(t.bi_buf|=e<<t.bi_valid&65535,t.bi_valid+=n)},b=function(t,e,n){w(t,n[2*e],n[2*e+1])},y=function(t,e){var n=0;do{n|=1&t,t>>>=1,n<<=1}while(--e>0);return n>>>1},E=function(t,e,n){var r,i,o=new Array(16),a=0;for(r=1;r<=15;r++)a=a+n[r-1]<<1,o[r]=a;for(i=0;i<=e;i++){var s=t[2*i+1];0!==s&&(t[2*i]=y(o[s]++,s))}},x=function(t){var e;for(e=0;e<286;e++)t.dyn_ltree[2*e]=0;for(e=0;e<30;e++)t.dyn_dtree[2*e]=0;for(e=0;e<19;e++)t.bl_tree[2*e]=0;t.dyn_ltree[512]=1,t.opt_len=t.static_len=0,t.sym_next=t.matches=0},S=function(t){t.bi_valid>8?m(t,t.bi_buf):t.bi_valid>0&&(t.pending_buf[t.pending++]=t.bi_buf),t.bi_buf=0,t.bi_valid=0},A=function(t,e,n,r){var i=2*e,o=2*n;return t[i]<t[o]||t[i]===t[o]&&r[e]<=r[n]},k=function(t,e,n){for(var r=t.heap[n],i=n<<1;i<=t.heap_len&&(i<t.heap_len&&A(e,t.heap[i+1],t.heap[i],t.depth)&&i++,!A(e,r,t.heap[i],t.depth));)t.heap[n]=t.heap[i],n=i,i<<=1;t.heap[n]=r},M=function(t,e,i){var o,a,s,u,f=0;if(0!==t.sym_next)do{o=255&t.pending_buf[t.sym_buf+f++],o+=(255&t.pending_buf[t.sym_buf+f++])<<8,a=t.pending_buf[t.sym_buf+f++],0===o?b(t,a,e):(s=c[a],b(t,s+256+1,e),0!==(u=n[s])&&(a-=l[s],w(t,a,u)),o--,s=g(o),b(t,s,i),0!==(u=r[s])&&(o-=p[s],w(t,o,u)))}while(f<t.sym_next);b(t,256,e)},O=function(t,e){var n,r,i,o=e.dyn_tree,a=e.stat_desc.static_tree,s=e.stat_desc.has_stree,u=e.stat_desc.elems,c=-1;for(t.heap_len=0,t.heap_max=573,n=0;n<u;n++)0!==o[2*n]?(t.heap[++t.heap_len]=c=n,t.depth[n]=0):o[2*n+1]=0;for(;t.heap_len<2;)o[2*(i=t.heap[++t.heap_len]=c<2?++c:0)]=1,t.depth[i]=0,t.opt_len--,s&&(t.static_len-=a[2*i+1]);for(e.max_code=c,n=t.heap_len>>1;n>=1;n--)k(t,o,n);i=u;do{n=t.heap[1],t.heap[1]=t.heap[t.heap_len--],k(t,o,1),r=t.heap[1],t.heap[--t.heap_max]=n,t.heap[--t.heap_max]=r,o[2*i]=o[2*n]+o[2*r],t.depth[i]=(t.depth[n]>=t.depth[r]?t.depth[n]:t.depth[r])+1,o[2*n+1]=o[2*r+1]=i,t.heap[1]=i++,k(t,o,1)}while(t.heap_len>=2);t.heap[--t.heap_max]=t.heap[1],function(t,e){var n,r,i,o,a,s,u=e.dyn_tree,c=e.max_code,l=e.stat_desc.static_tree,f=e.stat_desc.has_stree,d=e.stat_desc.extra_bits,h=e.stat_desc.extra_base,p=e.stat_desc.max_length,v=0;for(o=0;o<=15;o++)t.bl_count[o]=0;for(u[2*t.heap[t.heap_max]+1]=0,n=t.heap_max+1;n<573;n++)(o=u[2*u[2*(r=t.heap[n])+1]+1]+1)>p&&(o=p,v++),u[2*r+1]=o,r>c||(t.bl_count[o]++,a=0,r>=h&&(a=d[r-h]),s=u[2*r],t.opt_len+=s*(o+a),f&&(t.static_len+=s*(l[2*r+1]+a)));if(0!==v){do{for(o=p-1;0===t.bl_count[o];)o--;t.bl_count[o]--,t.bl_count[o+1]+=2,t.bl_count[p]--,v-=2}while(v>0);for(o=p;0!==o;o--)for(r=t.bl_count[o];0!==r;)(i=t.heap[--n])>c||(u[2*i+1]!==o&&(t.opt_len+=(o-u[2*i+1])*u[2*i],u[2*i+1]=o),r--)}}(t,e),E(o,c,t.bl_count)},T=function(t,e,n){var r,i,o=-1,a=e[1],s=0,u=7,c=4;for(0===a&&(u=138,c=3),e[2*(n+1)+1]=65535,r=0;r<=n;r++)i=a,a=e[2*(r+1)+1],++s<u&&i===a||(s<c?t.bl_tree[2*i]+=s:0!==i?(i!==o&&t.bl_tree[2*i]++,t.bl_tree[32]++):s<=10?t.bl_tree[34]++:t.bl_tree[36]++,s=0,o=i,0===a?(u=138,c=3):i===a?(u=6,c=3):(u=7,c=4))},R=function(t,e,n){var r,i,o=-1,a=e[1],s=0,u=7,c=4;for(0===a&&(u=138,c=3),r=0;r<=n;r++)if(i=a,a=e[2*(r+1)+1],!(++s<u&&i===a)){if(s<c)do{b(t,i,t.bl_tree)}while(0!=--s);else 0!==i?(i!==o&&(b(t,i,t.bl_tree),s--),b(t,16,t.bl_tree),w(t,s-3,2)):s<=10?(b(t,17,t.bl_tree),w(t,s-3,3)):(b(t,18,t.bl_tree),w(t,s-11,7));s=0,o=i,0===a?(u=138,c=3):i===a?(u=6,c=3):(u=7,c=4)}},L=!1,P=function(t,e,n,r){w(t,0+(r?1:0),3),S(t),m(t,n),m(t,~n),n&&t.pending_buf.set(t.window.subarray(e,e+n),t.pending),t.pending+=n},j=function(t){L||(function(){var t,e,o,_,g,m=new Array(16);for(o=0,_=0;_<28;_++)for(l[_]=o,t=0;t<1<<n[_];t++)c[o++]=_;for(c[o-1]=_,g=0,_=0;_<16;_++)for(p[_]=g,t=0;t<1<<r[_];t++)u[g++]=_;for(g>>=7;_<30;_++)for(p[_]=g<<7,t=0;t<1<<r[_]-7;t++)u[256+g++]=_;for(e=0;e<=15;e++)m[e]=0;for(t=0;t<=143;)a[2*t+1]=8,t++,m[8]++;for(;t<=255;)a[2*t+1]=9,t++,m[9]++;for(;t<=279;)a[2*t+1]=7,t++,m[7]++;for(;t<=287;)a[2*t+1]=8,t++,m[8]++;for(E(a,287,m),t=0;t<30;t++)s[2*t+1]=5,s[2*t]=y(t,5);f=new v(a,n,257,286,15),d=new v(s,r,0,30,15),h=new v(new Array(0),i,0,19,7)}(),L=!0),t.l_desc=new _(t.dyn_ltree,f),t.d_desc=new _(t.dyn_dtree,d),t.bl_desc=new _(t.bl_tree,h),t.bi_buf=0,t.bi_valid=0,x(t)},C=P,z=function(t,e,n,r){var i,u,c=0;t.level>0?(2===t.strm.data_type&&(t.strm.data_type=function(t){var e,n=4093624447;for(e=0;e<=31;e++,n>>>=1)if(1&n&&0!==t.dyn_ltree[2*e])return 0;if(0!==t.dyn_ltree[18]||0!==t.dyn_ltree[20]||0!==t.dyn_ltree[26])return 1;for(e=32;e<256;e++)if(0!==t.dyn_ltree[2*e])return 1;return 0}(t)),O(t,t.l_desc),O(t,t.d_desc),c=function(t){var e;for(T(t,t.dyn_ltree,t.l_desc.max_code),T(t,t.dyn_dtree,t.d_desc.max_code),O(t,t.bl_desc),e=18;e>=3&&0===t.bl_tree[2*o[e]+1];e--);return t.opt_len+=3*(e+1)+5+5+4,e}(t),i=t.opt_len+3+7>>>3,(u=t.static_len+3+7>>>3)<=i&&(i=u)):i=u=n+5,n+4<=i&&-1!==e?P(t,e,n,r):4===t.strategy||u===i?(w(t,2+(r?1:0),3),M(t,a,s)):(w(t,4+(r?1:0),3),function(t,e,n,r){var i;for(w(t,e-257,5),w(t,n-1,5),w(t,r-4,4),i=0;i<r;i++)w(t,t.bl_tree[2*o[i]+1],3);R(t,t.dyn_ltree,e-1),R(t,t.dyn_dtree,n-1)}(t,t.l_desc.max_code+1,t.d_desc.max_code+1,c+1),M(t,t.dyn_ltree,t.dyn_dtree)),x(t),r&&S(t)},N=function(t,e,n){return t.pending_buf[t.sym_buf+t.sym_next++]=e,t.pending_buf[t.sym_buf+t.sym_next++]=e>>8,t.pending_buf[t.sym_buf+t.sym_next++]=n,0===e?t.dyn_ltree[2*n]++:(t.matches++,e--,t.dyn_ltree[2*(c[n]+256+1)]++,t.dyn_dtree[2*g(e)]++),t.sym_next===t.sym_end},I=function(t){w(t,2,3),b(t,256,a),function(t){16===t.bi_valid?(m(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):t.bi_valid>=8&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)}(t)},U=function(t,e,n,r){for(var i=65535&t|0,o=t>>>16&65535|0,a=0;0!==n;){n-=a=n>2e3?2e3:n;do{o=o+(i=i+e[r++]|0)|0}while(--a);i%=65521,o%=65521}return i|o<<16|0},B=new Uint32Array(function(){for(var t,e=[],n=0;n<256;n++){t=n;for(var r=0;r<8;r++)t=1&t?3988292384^t>>>1:t>>>1;e[n]=t}return e}()),F=function(t,e,n,r){var i=B,o=r+n;t^=-1;for(var a=r;a<o;a++)t=t>>>8^i[255&(t^e[a])];return-1^t},D={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"},q={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_MEM_ERROR:-4,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},H=j,G=C,K=z,Z=N,V=I,Y=q.Z_NO_FLUSH,Q=q.Z_PARTIAL_FLUSH,X=q.Z_FULL_FLUSH,W=q.Z_FINISH,$=q.Z_BLOCK,J=q.Z_OK,tt=q.Z_STREAM_END,et=q.Z_STREAM_ERROR,nt=q.Z_DATA_ERROR,rt=q.Z_BUF_ERROR,it=q.Z_DEFAULT_COMPRESSION,ot=q.Z_FILTERED,at=q.Z_HUFFMAN_ONLY,st=q.Z_RLE,ut=q.Z_FIXED,ct=q.Z_UNKNOWN,lt=q.Z_DEFLATED,ft=262,dt=function(t,e){return t.msg=D[e],e},ht=function(t){return 2*t-(t>4?9:0)},pt=function(t){for(var e=t.length;--e>=0;)t[e]=0},vt=function(t){var e,n,r,i=t.w_size;r=e=t.hash_size;do{n=t.head[--r],t.head[r]=n>=i?n-i:0}while(--e);r=e=i;do{n=t.prev[--r],t.prev[r]=n>=i?n-i:0}while(--e)},_t=function(t,e,n){return(e<<t.hash_shift^n)&t.hash_mask},gt=function(t){var e=t.state,n=e.pending;n>t.avail_out&&(n=t.avail_out),0!==n&&(t.output.set(e.pending_buf.subarray(e.pending_out,e.pending_out+n),t.next_out),t.next_out+=n,e.pending_out+=n,t.total_out+=n,t.avail_out-=n,e.pending-=n,0===e.pending&&(e.pending_out=0))},mt=function(t,e){K(t,t.block_start>=0?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,gt(t.strm)},wt=function(t,e){t.pending_buf[t.pending++]=e},bt=function(t,e){t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=255&e},yt=function(t,e,n,r){var i=t.avail_in;return i>r&&(i=r),0===i?0:(t.avail_in-=i,e.set(t.input.subarray(t.next_in,t.next_in+i),n),1===t.state.wrap?t.adler=U(t.adler,e,i,n):2===t.state.wrap&&(t.adler=F(t.adler,e,i,n)),t.next_in+=i,t.total_in+=i,i)},Et=function(t,e){var n,r,i=t.max_chain_length,o=t.strstart,a=t.prev_length,s=t.nice_match,u=t.strstart>t.w_size-ft?t.strstart-(t.w_size-ft):0,c=t.window,l=t.w_mask,f=t.prev,d=t.strstart+258,h=c[o+a-1],p=c[o+a];t.prev_length>=t.good_match&&(i>>=2),s>t.lookahead&&(s=t.lookahead);do{if(c[(n=e)+a]===p&&c[n+a-1]===h&&c[n]===c[o]&&c[++n]===c[o+1]){o+=2,n++;do{}while(c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&o<d);if(r=258-(d-o),o=d-258,r>a){if(t.match_start=e,a=r,r>=s)break;h=c[o+a-1],p=c[o+a]}}}while((e=f[e&l])>u&&0!=--i);return a<=t.lookahead?a:t.lookahead},xt=function(t){var e,n,r,i=t.w_size;do{if(n=t.window_size-t.lookahead-t.strstart,t.strstart>=i+(i-ft)&&(t.window.set(t.window.subarray(i,i+i-n),0),t.match_start-=i,t.strstart-=i,t.block_start-=i,t.insert>t.strstart&&(t.insert=t.strstart),vt(t),n+=i),0===t.strm.avail_in)break;if(e=yt(t.strm,t.window,t.strstart+t.lookahead,n),t.lookahead+=e,t.lookahead+t.insert>=3)for(r=t.strstart-t.insert,t.ins_h=t.window[r],t.ins_h=_t(t,t.ins_h,t.window[r+1]);t.insert&&(t.ins_h=_t(t,t.ins_h,t.window[r+3-1]),t.prev[r&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=r,r++,t.insert--,!(t.lookahead+t.insert<3)););}while(t.lookahead<ft&&0!==t.strm.avail_in)},St=function(t,e){var n,r,i,o=t.pending_buf_size-5>t.w_size?t.w_size:t.pending_buf_size-5,a=0,s=t.strm.avail_in;do{if(n=65535,i=t.bi_valid+42>>3,t.strm.avail_out<i)break;if(i=t.strm.avail_out-i,n>(r=t.strstart-t.block_start)+t.strm.avail_in&&(n=r+t.strm.avail_in),n>i&&(n=i),n<o&&(0===n&&e!==W||e===Y||n!==r+t.strm.avail_in))break;a=e===W&&n===r+t.strm.avail_in?1:0,G(t,0,0,a),t.pending_buf[t.pending-4]=n,t.pending_buf[t.pending-3]=n>>8,t.pending_buf[t.pending-2]=~n,t.pending_buf[t.pending-1]=~n>>8,gt(t.strm),r&&(r>n&&(r=n),t.strm.output.set(t.window.subarray(t.block_start,t.block_start+r),t.strm.next_out),t.strm.next_out+=r,t.strm.avail_out-=r,t.strm.total_out+=r,t.block_start+=r,n-=r),n&&(yt(t.strm,t.strm.output,t.strm.next_out,n),t.strm.next_out+=n,t.strm.avail_out-=n,t.strm.total_out+=n)}while(0===a);return(s-=t.strm.avail_in)&&(s>=t.w_size?(t.matches=2,t.window.set(t.strm.input.subarray(t.strm.next_in-t.w_size,t.strm.next_in),0),t.strstart=t.w_size,t.insert=t.strstart):(t.window_size-t.strstart<=s&&(t.strstart-=t.w_size,t.window.set(t.window.subarray(t.w_size,t.w_size+t.strstart),0),t.matches<2&&t.matches++,t.insert>t.strstart&&(t.insert=t.strstart)),t.window.set(t.strm.input.subarray(t.strm.next_in-s,t.strm.next_in),t.strstart),t.strstart+=s,t.insert+=s>t.w_size-t.insert?t.w_size-t.insert:s),t.block_start=t.strstart),t.high_water<t.strstart&&(t.high_water=t.strstart),a?4:e!==Y&&e!==W&&0===t.strm.avail_in&&t.strstart===t.block_start?2:(i=t.window_size-t.strstart,t.strm.avail_in>i&&t.block_start>=t.w_size&&(t.block_start-=t.w_size,t.strstart-=t.w_size,t.window.set(t.window.subarray(t.w_size,t.w_size+t.strstart),0),t.matches<2&&t.matches++,i+=t.w_size,t.insert>t.strstart&&(t.insert=t.strstart)),i>t.strm.avail_in&&(i=t.strm.avail_in),i&&(yt(t.strm,t.window,t.strstart,i),t.strstart+=i,t.insert+=i>t.w_size-t.insert?t.w_size-t.insert:i),t.high_water<t.strstart&&(t.high_water=t.strstart),i=t.bi_valid+42>>3,o=(i=t.pending_buf_size-i>65535?65535:t.pending_buf_size-i)>t.w_size?t.w_size:i,((r=t.strstart-t.block_start)>=o||(r||e===W)&&e!==Y&&0===t.strm.avail_in&&r<=i)&&(n=r>i?i:r,a=e===W&&0===t.strm.avail_in&&n===r?1:0,G(t,t.block_start,n,a),t.block_start+=n,gt(t.strm)),a?3:1)},At=function(t,e){for(var n,r;;){if(t.lookahead<ft){if(xt(t),t.lookahead<ft&&e===Y)return 1;if(0===t.lookahead)break}if(n=0,t.lookahead>=3&&(t.ins_h=_t(t,t.ins_h,t.window[t.strstart+3-1]),n=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),0!==n&&t.strstart-n<=t.w_size-ft&&(t.match_length=Et(t,n)),t.match_length>=3)if(r=Z(t,t.strstart-t.match_start,t.match_length-3),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=3){t.match_length--;do{t.strstart++,t.ins_h=_t(t,t.ins_h,t.window[t.strstart+3-1]),n=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart}while(0!=--t.match_length);t.strstart++}else t.strstart+=t.match_length,t.match_length=0,t.ins_h=t.window[t.strstart],t.ins_h=_t(t,t.ins_h,t.window[t.strstart+1]);else r=Z(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(r&&(mt(t,!1),0===t.strm.avail_out))return 1}return t.insert=t.strstart<2?t.strstart:2,e===W?(mt(t,!0),0===t.strm.avail_out?3:4):t.sym_next&&(mt(t,!1),0===t.strm.avail_out)?1:2},kt=function(t,e){for(var n,r,i;;){if(t.lookahead<ft){if(xt(t),t.lookahead<ft&&e===Y)return 1;if(0===t.lookahead)break}if(n=0,t.lookahead>=3&&(t.ins_h=_t(t,t.ins_h,t.window[t.strstart+3-1]),n=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),t.prev_length=t.match_length,t.prev_match=t.match_start,t.match_length=2,0!==n&&t.prev_length<t.max_lazy_match&&t.strstart-n<=t.w_size-ft&&(t.match_length=Et(t,n),t.match_length<=5&&(t.strategy===ot||3===t.match_length&&t.strstart-t.match_start>4096)&&(t.match_length=2)),t.prev_length>=3&&t.match_length<=t.prev_length){i=t.strstart+t.lookahead-3,r=Z(t,t.strstart-1-t.prev_match,t.prev_length-3),t.lookahead-=t.prev_length-1,t.prev_length-=2;do{++t.strstart<=i&&(t.ins_h=_t(t,t.ins_h,t.window[t.strstart+3-1]),n=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart)}while(0!=--t.prev_length);if(t.match_available=0,t.match_length=2,t.strstart++,r&&(mt(t,!1),0===t.strm.avail_out))return 1}else if(t.match_available){if((r=Z(t,0,t.window[t.strstart-1]))&&mt(t,!1),t.strstart++,t.lookahead--,0===t.strm.avail_out)return 1}else t.match_available=1,t.strstart++,t.lookahead--}return t.match_available&&(r=Z(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<2?t.strstart:2,e===W?(mt(t,!0),0===t.strm.avail_out?3:4):t.sym_next&&(mt(t,!1),0===t.strm.avail_out)?1:2};function Mt(t,e,n,r,i){this.good_length=t,this.max_lazy=e,this.nice_length=n,this.max_chain=r,this.func=i}var Ot=[new Mt(0,0,0,0,St),new Mt(4,4,8,4,At),new Mt(4,5,16,8,At),new Mt(4,6,32,32,At),new Mt(4,4,16,16,kt),new Mt(8,16,32,32,kt),new Mt(8,16,128,128,kt),new Mt(8,32,128,256,kt),new Mt(32,128,258,1024,kt),new Mt(32,258,258,4096,kt)];function Tt(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=lt,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Uint16Array(1146),this.dyn_dtree=new Uint16Array(122),this.bl_tree=new Uint16Array(78),pt(this.dyn_ltree),pt(this.dyn_dtree),pt(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(16),this.heap=new Uint16Array(573),pt(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(573),pt(this.depth),this.sym_buf=0,this.lit_bufsize=0,this.sym_next=0,this.sym_end=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}var Rt=function(t){if(!t)return 1;var e=t.state;return!e||e.strm!==t||42!==e.status&&57!==e.status&&69!==e.status&&73!==e.status&&91!==e.status&&103!==e.status&&113!==e.status&&666!==e.status?1:0},Lt=function(t){if(Rt(t))return dt(t,et);t.total_in=t.total_out=0,t.data_type=ct;var e=t.state;return e.pending=0,e.pending_out=0,e.wrap<0&&(e.wrap=-e.wrap),e.status=2===e.wrap?57:e.wrap?42:113,t.adler=2===e.wrap?0:1,e.last_flush=-2,H(e),J},Pt=function(t){var e,n=Lt(t);return n===J&&((e=t.state).window_size=2*e.w_size,pt(e.head),e.max_lazy_match=Ot[e.level].max_lazy,e.good_match=Ot[e.level].good_length,e.nice_match=Ot[e.level].nice_length,e.max_chain_length=Ot[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=2,e.match_available=0,e.ins_h=0),n},jt=function(t,e,n,r,i,o){if(!t)return et;var a=1;if(e===it&&(e=6),r<0?(a=0,r=-r):r>15&&(a=2,r-=16),i<1||i>9||n!==lt||r<8||r>15||e<0||e>9||o<0||o>ut||8===r&&1!==a)return dt(t,et);8===r&&(r=9);var s=new Tt;return t.state=s,s.strm=t,s.status=42,s.wrap=a,s.gzhead=null,s.w_bits=r,s.w_size=1<<s.w_bits,s.w_mask=s.w_size-1,s.hash_bits=i+7,s.hash_size=1<<s.hash_bits,s.hash_mask=s.hash_size-1,s.hash_shift=~~((s.hash_bits+3-1)/3),s.window=new Uint8Array(2*s.w_size),s.head=new Uint16Array(s.hash_size),s.prev=new Uint16Array(s.w_size),s.lit_bufsize=1<<i+6,s.pending_buf_size=4*s.lit_bufsize,s.pending_buf=new Uint8Array(s.pending_buf_size),s.sym_buf=s.lit_bufsize,s.sym_end=3*(s.lit_bufsize-1),s.level=e,s.strategy=o,s.method=n,Pt(t)},Ct=jt,zt=function(t,e){return Rt(t)||2!==t.state.wrap?et:(t.state.gzhead=e,J)},Nt=function(t,e){if(Rt(t)||e>$||e<0)return t?dt(t,et):et;var n=t.state;if(!t.output||0!==t.avail_in&&!t.input||666===n.status&&e!==W)return dt(t,0===t.avail_out?rt:et);var r=n.last_flush;if(n.last_flush=e,0!==n.pending){if(gt(t),0===t.avail_out)return n.last_flush=-1,J}else if(0===t.avail_in&&ht(e)<=ht(r)&&e!==W)return dt(t,rt);if(666===n.status&&0!==t.avail_in)return dt(t,rt);if(42===n.status&&0===n.wrap&&(n.status=113),42===n.status){var i=lt+(n.w_bits-8<<4)<<8;if(i|=(n.strategy>=at||n.level<2?0:n.level<6?1:6===n.level?2:3)<<6,0!==n.strstart&&(i|=32),bt(n,i+=31-i%31),0!==n.strstart&&(bt(n,t.adler>>>16),bt(n,65535&t.adler)),t.adler=1,n.status=113,gt(t),0!==n.pending)return n.last_flush=-1,J}if(57===n.status)if(t.adler=0,wt(n,31),wt(n,139),wt(n,8),n.gzhead)wt(n,(n.gzhead.text?1:0)+(n.gzhead.hcrc?2:0)+(n.gzhead.extra?4:0)+(n.gzhead.name?8:0)+(n.gzhead.comment?16:0)),wt(n,255&n.gzhead.time),wt(n,n.gzhead.time>>8&255),wt(n,n.gzhead.time>>16&255),wt(n,n.gzhead.time>>24&255),wt(n,9===n.level?2:n.strategy>=at||n.level<2?4:0),wt(n,255&n.gzhead.os),n.gzhead.extra&&n.gzhead.extra.length&&(wt(n,255&n.gzhead.extra.length),wt(n,n.gzhead.extra.length>>8&255)),n.gzhead.hcrc&&(t.adler=F(t.adler,n.pending_buf,n.pending,0)),n.gzindex=0,n.status=69;else if(wt(n,0),wt(n,0),wt(n,0),wt(n,0),wt(n,0),wt(n,9===n.level?2:n.strategy>=at||n.level<2?4:0),wt(n,3),n.status=113,gt(t),0!==n.pending)return n.last_flush=-1,J;if(69===n.status){if(n.gzhead.extra){for(var o=n.pending,a=(65535&n.gzhead.extra.length)-n.gzindex;n.pending+a>n.pending_buf_size;){var s=n.pending_buf_size-n.pending;if(n.pending_buf.set(n.gzhead.extra.subarray(n.gzindex,n.gzindex+s),n.pending),n.pending=n.pending_buf_size,n.gzhead.hcrc&&n.pending>o&&(t.adler=F(t.adler,n.pending_buf,n.pending-o,o)),n.gzindex+=s,gt(t),0!==n.pending)return n.last_flush=-1,J;o=0,a-=s}var u=new Uint8Array(n.gzhead.extra);n.pending_buf.set(u.subarray(n.gzindex,n.gzindex+a),n.pending),n.pending+=a,n.gzhead.hcrc&&n.pending>o&&(t.adler=F(t.adler,n.pending_buf,n.pending-o,o)),n.gzindex=0}n.status=73}if(73===n.status){if(n.gzhead.name){var c,l=n.pending;do{if(n.pending===n.pending_buf_size){if(n.gzhead.hcrc&&n.pending>l&&(t.adler=F(t.adler,n.pending_buf,n.pending-l,l)),gt(t),0!==n.pending)return n.last_flush=-1,J;l=0}c=n.gzindex<n.gzhead.name.length?255&n.gzhead.name.charCodeAt(n.gzindex++):0,wt(n,c)}while(0!==c);n.gzhead.hcrc&&n.pending>l&&(t.adler=F(t.adler,n.pending_buf,n.pending-l,l)),n.gzindex=0}n.status=91}if(91===n.status){if(n.gzhead.comment){var f,d=n.pending;do{if(n.pending===n.pending_buf_size){if(n.gzhead.hcrc&&n.pending>d&&(t.adler=F(t.adler,n.pending_buf,n.pending-d,d)),gt(t),0!==n.pending)return n.last_flush=-1,J;d=0}f=n.gzindex<n.gzhead.comment.length?255&n.gzhead.comment.charCodeAt(n.gzindex++):0,wt(n,f)}while(0!==f);n.gzhead.hcrc&&n.pending>d&&(t.adler=F(t.adler,n.pending_buf,n.pending-d,d))}n.status=103}if(103===n.status){if(n.gzhead.hcrc){if(n.pending+2>n.pending_buf_size&&(gt(t),0!==n.pending))return n.last_flush=-1,J;wt(n,255&t.adler),wt(n,t.adler>>8&255),t.adler=0}if(n.status=113,gt(t),0!==n.pending)return n.last_flush=-1,J}if(0!==t.avail_in||0!==n.lookahead||e!==Y&&666!==n.status){var h=0===n.level?St(n,e):n.strategy===at?function(t,e){for(var n;;){if(0===t.lookahead&&(xt(t),0===t.lookahead)){if(e===Y)return 1;break}if(t.match_length=0,n=Z(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,n&&(mt(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,e===W?(mt(t,!0),0===t.strm.avail_out?3:4):t.sym_next&&(mt(t,!1),0===t.strm.avail_out)?1:2}(n,e):n.strategy===st?function(t,e){for(var n,r,i,o,a=t.window;;){if(t.lookahead<=258){if(xt(t),t.lookahead<=258&&e===Y)return 1;if(0===t.lookahead)break}if(t.match_length=0,t.lookahead>=3&&t.strstart>0&&(r=a[i=t.strstart-1])===a[++i]&&r===a[++i]&&r===a[++i]){o=t.strstart+258;do{}while(r===a[++i]&&r===a[++i]&&r===a[++i]&&r===a[++i]&&r===a[++i]&&r===a[++i]&&r===a[++i]&&r===a[++i]&&i<o);t.match_length=258-(o-i),t.match_length>t.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=3?(n=Z(t,1,t.match_length-3),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(n=Z(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),n&&(mt(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,e===W?(mt(t,!0),0===t.strm.avail_out?3:4):t.sym_next&&(mt(t,!1),0===t.strm.avail_out)?1:2}(n,e):Ot[n.level].func(n,e);if(3!==h&&4!==h||(n.status=666),1===h||3===h)return 0===t.avail_out&&(n.last_flush=-1),J;if(2===h&&(e===Q?V(n):e!==$&&(G(n,0,0,!1),e===X&&(pt(n.head),0===n.lookahead&&(n.strstart=0,n.block_start=0,n.insert=0))),gt(t),0===t.avail_out))return n.last_flush=-1,J}return e!==W?J:n.wrap<=0?tt:(2===n.wrap?(wt(n,255&t.adler),wt(n,t.adler>>8&255),wt(n,t.adler>>16&255),wt(n,t.adler>>24&255),wt(n,255&t.total_in),wt(n,t.total_in>>8&255),wt(n,t.total_in>>16&255),wt(n,t.total_in>>24&255)):(bt(n,t.adler>>>16),bt(n,65535&t.adler)),gt(t),n.wrap>0&&(n.wrap=-n.wrap),0!==n.pending?J:tt)},It=function(t){if(Rt(t))return et;var e=t.state.status;return t.state=null,113===e?dt(t,nt):J},Ut=function(t,e){var n=e.length;if(Rt(t))return et;var r=t.state,i=r.wrap;if(2===i||1===i&&42!==r.status||r.lookahead)return et;if(1===i&&(t.adler=U(t.adler,e,n,0)),r.wrap=0,n>=r.w_size){0===i&&(pt(r.head),r.strstart=0,r.block_start=0,r.insert=0);var o=new Uint8Array(r.w_size);o.set(e.subarray(n-r.w_size,n),0),e=o,n=r.w_size}var a=t.avail_in,s=t.next_in,u=t.input;for(t.avail_in=n,t.next_in=0,t.input=e,xt(r);r.lookahead>=3;){var c=r.strstart,l=r.lookahead-2;do{r.ins_h=_t(r,r.ins_h,r.window[c+3-1]),r.prev[c&r.w_mask]=r.head[r.ins_h],r.head[r.ins_h]=c,c++}while(--l);r.strstart=c,r.lookahead=2,xt(r)}return r.strstart+=r.lookahead,r.block_start=r.strstart,r.insert=r.lookahead,r.lookahead=0,r.match_length=r.prev_length=2,r.match_available=0,t.next_in=s,t.input=u,t.avail_in=a,r.wrap=i,J};function Bt(t){return(Bt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var Ft=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},Dt=function(t){for(var e=Array.prototype.slice.call(arguments,1);e.length;){var n=e.shift();if(n){if("object"!==Bt(n))throw new TypeError(n+"must be non-object");for(var r in n)Ft(n,r)&&(t[r]=n[r])}}return t},qt=function(t){for(var e=0,n=0,r=t.length;n<r;n++)e+=t[n].length;for(var i=new Uint8Array(e),o=0,a=0,s=t.length;o<s;o++){var u=t[o];i.set(u,a),a+=u.length}return i},Ht=!0;try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(t){Ht=!1}for(var Gt=new Uint8Array(256),Kt=0;Kt<256;Kt++)Gt[Kt]=Kt>=252?6:Kt>=248?5:Kt>=240?4:Kt>=224?3:Kt>=192?2:1;Gt[254]=Gt[254]=1;var Zt=function(t){if("function"==typeof TextEncoder&&TextEncoder.prototype.encode)return(new TextEncoder).encode(t);var e,n,r,i,o,a=t.length,s=0;for(i=0;i<a;i++)55296==(64512&(n=t.charCodeAt(i)))&&i+1<a&&56320==(64512&(r=t.charCodeAt(i+1)))&&(n=65536+(n-55296<<10)+(r-56320),i++),s+=n<128?1:n<2048?2:n<65536?3:4;for(e=new Uint8Array(s),o=0,i=0;o<s;i++)55296==(64512&(n=t.charCodeAt(i)))&&i+1<a&&56320==(64512&(r=t.charCodeAt(i+1)))&&(n=65536+(n-55296<<10)+(r-56320),i++),n<128?e[o++]=n:n<2048?(e[o++]=192|n>>>6,e[o++]=128|63&n):n<65536?(e[o++]=224|n>>>12,e[o++]=128|n>>>6&63,e[o++]=128|63&n):(e[o++]=240|n>>>18,e[o++]=128|n>>>12&63,e[o++]=128|n>>>6&63,e[o++]=128|63&n);return e},Vt=function(t,e){var n,r,i=e||t.length;if("function"==typeof TextDecoder&&TextDecoder.prototype.decode)return(new TextDecoder).decode(t.subarray(0,e));var o=new Array(2*i);for(r=0,n=0;n<i;){var a=t[n++];if(a<128)o[r++]=a;else{var s=Gt[a];if(s>4)o[r++]=65533,n+=s-1;else{for(a&=2===s?31:3===s?15:7;s>1&&n<i;)a=a<<6|63&t[n++],s--;s>1?o[r++]=65533:a<65536?o[r++]=a:(a-=65536,o[r++]=55296|a>>10&1023,o[r++]=56320|1023&a)}}}return function(t,e){if(e<65534&&t.subarray&&Ht)return String.fromCharCode.apply(null,t.length===e?t:t.subarray(0,e));for(var n="",r=0;r<e;r++)n+=String.fromCharCode(t[r]);return n}(o,r)},Yt=function(t,e){(e=e||t.length)>t.length&&(e=t.length);for(var n=e-1;n>=0&&128==(192&t[n]);)n--;return n<0||0===n?e:n+Gt[t[n]]>e?n:e},Qt=function(){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},Xt=Object.prototype.toString,Wt=q.Z_NO_FLUSH,$t=q.Z_SYNC_FLUSH,Jt=q.Z_FULL_FLUSH,te=q.Z_FINISH,ee=q.Z_OK,ne=q.Z_STREAM_END,re=q.Z_DEFAULT_COMPRESSION,ie=q.Z_DEFAULT_STRATEGY,oe=q.Z_DEFLATED;function ae(t){this.options=Dt({level:re,method:oe,chunkSize:16384,windowBits:15,memLevel:8,strategy:ie},t||{});var e=this.options;e.raw&&e.windowBits>0?e.windowBits=-e.windowBits:e.gzip&&e.windowBits>0&&e.windowBits<16&&(e.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Qt,this.strm.avail_out=0;var n=Ct(this.strm,e.level,e.method,e.windowBits,e.memLevel,e.strategy);if(n!==ee)throw new Error(D[n]);if(e.header&&zt(this.strm,e.header),e.dictionary){var r;if(r="string"==typeof e.dictionary?Zt(e.dictionary):"[object ArrayBuffer]"===Xt.call(e.dictionary)?new Uint8Array(e.dictionary):e.dictionary,(n=Ut(this.strm,r))!==ee)throw new Error(D[n]);this._dict_set=!0}}function se(t,e){var n=new ae(e);if(n.push(t,!0),n.err)throw n.msg||D[n.err];return n.result}ae.prototype.push=function(t,e){var n,r,i=this.strm,o=this.options.chunkSize;if(this.ended)return!1;for(r=e===~~e?e:!0===e?te:Wt,"string"==typeof t?i.input=Zt(t):"[object ArrayBuffer]"===Xt.call(t)?i.input=new Uint8Array(t):i.input=t,i.next_in=0,i.avail_in=i.input.length;;)if(0===i.avail_out&&(i.output=new Uint8Array(o),i.next_out=0,i.avail_out=o),(r===$t||r===Jt)&&i.avail_out<=6)this.onData(i.output.subarray(0,i.next_out)),i.avail_out=0;else{if((n=Nt(i,r))===ne)return i.next_out>0&&this.onData(i.output.subarray(0,i.next_out)),n=It(this.strm),this.onEnd(n),this.ended=!0,n===ee;if(0!==i.avail_out){if(r>0&&i.next_out>0)this.onData(i.output.subarray(0,i.next_out)),i.avail_out=0;else if(0===i.avail_in)break}else this.onData(i.output)}return!0},ae.prototype.onData=function(t){this.chunks.push(t)},ae.prototype.onEnd=function(t){t===ee&&(this.result=qt(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg};var ue=ae,ce=se,le=function(t,e){return(e=e||{}).raw=!0,se(t,e)},fe=function(t,e){return(e=e||{}).gzip=!0,se(t,e)},de=16209,he=function(t,e){var n,r,i,o,a,s,u,c,l,f,d,h,p,v,_,g,m,w,b,y,E,x,S,A,k=t.state;n=t.next_in,S=t.input,r=n+(t.avail_in-5),i=t.next_out,A=t.output,o=i-(e-t.avail_out),a=i+(t.avail_out-257),s=k.dmax,u=k.wsize,c=k.whave,l=k.wnext,f=k.window,d=k.hold,h=k.bits,p=k.lencode,v=k.distcode,_=(1<<k.lenbits)-1,g=(1<<k.distbits)-1;t:do{h<15&&(d+=S[n++]<<h,h+=8,d+=S[n++]<<h,h+=8),m=p[d&_];e:for(;;){if(d>>>=w=m>>>24,h-=w,0==(w=m>>>16&255))A[i++]=65535&m;else{if(!(16&w)){if(0==(64&w)){m=p[(65535&m)+(d&(1<<w)-1)];continue e}if(32&w){k.mode=16191;break t}t.msg="invalid literal/length code",k.mode=de;break t}b=65535&m,(w&=15)&&(h<w&&(d+=S[n++]<<h,h+=8),b+=d&(1<<w)-1,d>>>=w,h-=w),h<15&&(d+=S[n++]<<h,h+=8,d+=S[n++]<<h,h+=8),m=v[d&g];n:for(;;){if(d>>>=w=m>>>24,h-=w,!(16&(w=m>>>16&255))){if(0==(64&w)){m=v[(65535&m)+(d&(1<<w)-1)];continue n}t.msg="invalid distance code",k.mode=de;break t}if(y=65535&m,h<(w&=15)&&(d+=S[n++]<<h,(h+=8)<w&&(d+=S[n++]<<h,h+=8)),(y+=d&(1<<w)-1)>s){t.msg="invalid distance too far back",k.mode=de;break t}if(d>>>=w,h-=w,y>(w=i-o)){if((w=y-w)>c&&k.sane){t.msg="invalid distance too far back",k.mode=de;break t}if(E=0,x=f,0===l){if(E+=u-w,w<b){b-=w;do{A[i++]=f[E++]}while(--w);E=i-y,x=A}}else if(l<w){if(E+=u+l-w,(w-=l)<b){b-=w;do{A[i++]=f[E++]}while(--w);if(E=0,l<b){b-=w=l;do{A[i++]=f[E++]}while(--w);E=i-y,x=A}}}else if(E+=l-w,w<b){b-=w;do{A[i++]=f[E++]}while(--w);E=i-y,x=A}for(;b>2;)A[i++]=x[E++],A[i++]=x[E++],A[i++]=x[E++],b-=3;b&&(A[i++]=x[E++],b>1&&(A[i++]=x[E++]))}else{E=i-y;do{A[i++]=A[E++],A[i++]=A[E++],A[i++]=A[E++],b-=3}while(b>2);b&&(A[i++]=A[E++],b>1&&(A[i++]=A[E++]))}break}}break}}while(n<r&&i<a);n-=b=h>>3,d&=(1<<(h-=b<<3))-1,t.next_in=n,t.next_out=i,t.avail_in=n<r?r-n+5:5-(n-r),t.avail_out=i<a?a-i+257:257-(i-a),k.hold=d,k.bits=h},pe=new Uint16Array([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]),ve=new Uint8Array([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]),_e=new Uint16Array([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]),ge=new Uint8Array([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]),me=function(t,e,n,r,i,o,a,s){var u,c,l,f,d,h,p,v,_,g=s.bits,m=0,w=0,b=0,y=0,E=0,x=0,S=0,A=0,k=0,M=0,O=null,T=new Uint16Array(16),R=new Uint16Array(16),L=null;for(m=0;m<=15;m++)T[m]=0;for(w=0;w<r;w++)T[e[n+w]]++;for(E=g,y=15;y>=1&&0===T[y];y--);if(E>y&&(E=y),0===y)return i[o++]=20971520,i[o++]=20971520,s.bits=1,0;for(b=1;b<y&&0===T[b];b++);for(E<b&&(E=b),A=1,m=1;m<=15;m++)if(A<<=1,(A-=T[m])<0)return-1;if(A>0&&(0===t||1!==y))return-1;for(R[1]=0,m=1;m<15;m++)R[m+1]=R[m]+T[m];for(w=0;w<r;w++)0!==e[n+w]&&(a[R[e[n+w]]++]=w);if(0===t?(O=L=a,h=20):1===t?(O=pe,L=ve,h=257):(O=_e,L=ge,h=0),M=0,w=0,m=b,d=o,x=E,S=0,l=-1,f=(k=1<<E)-1,1===t&&k>852||2===t&&k>592)return 1;for(;;){p=m-S,a[w]+1<h?(v=0,_=a[w]):a[w]>=h?(v=L[a[w]-h],_=O[a[w]-h]):(v=96,_=0),u=1<<m-S,b=c=1<<x;do{i[d+(M>>S)+(c-=u)]=p<<24|v<<16|_|0}while(0!==c);for(u=1<<m-1;M&u;)u>>=1;if(0!==u?(M&=u-1,M+=u):M=0,w++,0==--T[m]){if(m===y)break;m=e[n+a[w]]}if(m>E&&(M&f)!==l){for(0===S&&(S=E),d+=b,A=1<<(x=m-S);x+S<y&&!((A-=T[x+S])<=0);)x++,A<<=1;if(k+=1<<x,1===t&&k>852||2===t&&k>592)return 1;i[l=M&f]=E<<24|x<<16|d-o|0}}return 0!==M&&(i[d+M]=m-S<<24|64<<16|0),s.bits=E,0},we=q.Z_FINISH,be=q.Z_BLOCK,ye=q.Z_TREES,Ee=q.Z_OK,xe=q.Z_STREAM_END,Se=q.Z_NEED_DICT,Ae=q.Z_STREAM_ERROR,ke=q.Z_DATA_ERROR,Me=q.Z_MEM_ERROR,Oe=q.Z_BUF_ERROR,Te=q.Z_DEFLATED,Re=16180,Le=16190,Pe=16191,je=16199,Ce=16200,ze=16209,Ne=function(t){return(t>>>24&255)+(t>>>8&65280)+((65280&t)<<8)+((255&t)<<24)};function Ie(){this.strm=null,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 Uint16Array(320),this.work=new Uint16Array(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}var Ue,Be,Fe=function(t){if(!t)return 1;var e=t.state;return!e||e.strm!==t||e.mode<Re||e.mode>16211?1:0},De=function(t){if(Fe(t))return Ae;var e=t.state;return t.total_in=t.total_out=e.total=0,t.msg="",e.wrap&&(t.adler=1&e.wrap),e.mode=Re,e.last=0,e.havedict=0,e.flags=-1,e.dmax=32768,e.head=null,e.hold=0,e.bits=0,e.lencode=e.lendyn=new Int32Array(852),e.distcode=e.distdyn=new Int32Array(592),e.sane=1,e.back=-1,Ee},qe=function(t){if(Fe(t))return Ae;var e=t.state;return e.wsize=0,e.whave=0,e.wnext=0,De(t)},He=function(t,e){var n;if(Fe(t))return Ae;var r=t.state;return e<0?(n=0,e=-e):(n=5+(e>>4),e<48&&(e&=15)),e&&(e<8||e>15)?Ae:(null!==r.window&&r.wbits!==e&&(r.window=null),r.wrap=n,r.wbits=e,qe(t))},Ge=function(t,e){if(!t)return Ae;var n=new Ie;t.state=n,n.strm=t,n.window=null,n.mode=Re;var r=He(t,e);return r!==Ee&&(t.state=null),r},Ke=!0,Ze=function(t){if(Ke){Ue=new Int32Array(512),Be=new Int32Array(32);for(var e=0;e<144;)t.lens[e++]=8;for(;e<256;)t.lens[e++]=9;for(;e<280;)t.lens[e++]=7;for(;e<288;)t.lens[e++]=8;for(me(1,t.lens,0,288,Ue,0,t.work,{bits:9}),e=0;e<32;)t.lens[e++]=5;me(2,t.lens,0,32,Be,0,t.work,{bits:5}),Ke=!1}t.lencode=Ue,t.lenbits=9,t.distcode=Be,t.distbits=5},Ve=function(t,e,n,r){var i,o=t.state;return null===o.window&&(o.wsize=1<<o.wbits,o.wnext=0,o.whave=0,o.window=new Uint8Array(o.wsize)),r>=o.wsize?(o.window.set(e.subarray(n-o.wsize,n),0),o.wnext=0,o.whave=o.wsize):((i=o.wsize-o.wnext)>r&&(i=r),o.window.set(e.subarray(n-r,n-r+i),o.wnext),(r-=i)?(o.window.set(e.subarray(n-r,n),0),o.wnext=r,o.whave=o.wsize):(o.wnext+=i,o.wnext===o.wsize&&(o.wnext=0),o.whave<o.wsize&&(o.whave+=i))),0},Ye=qe,Qe=Ge,Xe=function(t,e){var n,r,i,o,a,s,u,c,l,f,d,h,p,v,_,g,m,w,b,y,E,x,S,A,k=0,M=new Uint8Array(4),O=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if(Fe(t)||!t.output||!t.input&&0!==t.avail_in)return Ae;(n=t.state).mode===Pe&&(n.mode=16192),a=t.next_out,i=t.output,u=t.avail_out,o=t.next_in,r=t.input,s=t.avail_in,c=n.hold,l=n.bits,f=s,d=u,x=Ee;t:for(;;)switch(n.mode){case Re:if(0===n.wrap){n.mode=16192;break}for(;l<16;){if(0===s)break t;s--,c+=r[o++]<<l,l+=8}if(2&n.wrap&&35615===c){0===n.wbits&&(n.wbits=15),n.check=0,M[0]=255&c,M[1]=c>>>8&255,n.check=F(n.check,M,2,0),c=0,l=0,n.mode=16181;break}if(n.head&&(n.head.done=!1),!(1&n.wrap)||(((255&c)<<8)+(c>>8))%31){t.msg="incorrect header check",n.mode=ze;break}if((15&c)!==Te){t.msg="unknown compression method",n.mode=ze;break}if(l-=4,E=8+(15&(c>>>=4)),0===n.wbits&&(n.wbits=E),E>15||E>n.wbits){t.msg="invalid window size",n.mode=ze;break}n.dmax=1<<n.wbits,n.flags=0,t.adler=n.check=1,n.mode=512&c?16189:Pe,c=0,l=0;break;case 16181:for(;l<16;){if(0===s)break t;s--,c+=r[o++]<<l,l+=8}if(n.flags=c,(255&n.flags)!==Te){t.msg="unknown compression method",n.mode=ze;break}if(57344&n.flags){t.msg="unknown header flags set",n.mode=ze;break}n.head&&(n.head.text=c>>8&1),512&n.flags&&4&n.wrap&&(M[0]=255&c,M[1]=c>>>8&255,n.check=F(n.check,M,2,0)),c=0,l=0,n.mode=16182;case 16182:for(;l<32;){if(0===s)break t;s--,c+=r[o++]<<l,l+=8}n.head&&(n.head.time=c),512&n.flags&&4&n.wrap&&(M[0]=255&c,M[1]=c>>>8&255,M[2]=c>>>16&255,M[3]=c>>>24&255,n.check=F(n.check,M,4,0)),c=0,l=0,n.mode=16183;case 16183:for(;l<16;){if(0===s)break t;s--,c+=r[o++]<<l,l+=8}n.head&&(n.head.xflags=255&c,n.head.os=c>>8),512&n.flags&&4&n.wrap&&(M[0]=255&c,M[1]=c>>>8&255,n.check=F(n.check,M,2,0)),c=0,l=0,n.mode=16184;case 16184:if(1024&n.flags){for(;l<16;){if(0===s)break t;s--,c+=r[o++]<<l,l+=8}n.length=c,n.head&&(n.head.extra_len=c),512&n.flags&&4&n.wrap&&(M[0]=255&c,M[1]=c>>>8&255,n.check=F(n.check,M,2,0)),c=0,l=0}else n.head&&(n.head.extra=null);n.mode=16185;case 16185:if(1024&n.flags&&((h=n.length)>s&&(h=s),h&&(n.head&&(E=n.head.extra_len-n.length,n.head.extra||(n.head.extra=new Uint8Array(n.head.extra_len)),n.head.extra.set(r.subarray(o,o+h),E)),512&n.flags&&4&n.wrap&&(n.check=F(n.check,r,h,o)),s-=h,o+=h,n.length-=h),n.length))break t;n.length=0,n.mode=16186;case 16186:if(2048&n.flags){if(0===s)break t;h=0;do{E=r[o+h++],n.head&&E&&n.length<65536&&(n.head.name+=String.fromCharCode(E))}while(E&&h<s);if(512&n.flags&&4&n.wrap&&(n.check=F(n.check,r,h,o)),s-=h,o+=h,E)break t}else n.head&&(n.head.name=null);n.length=0,n.mode=16187;case 16187:if(4096&n.flags){if(0===s)break t;h=0;do{E=r[o+h++],n.head&&E&&n.length<65536&&(n.head.comment+=String.fromCharCode(E))}while(E&&h<s);if(512&n.flags&&4&n.wrap&&(n.check=F(n.check,r,h,o)),s-=h,o+=h,E)break t}else n.head&&(n.head.comment=null);n.mode=16188;case 16188:if(512&n.flags){for(;l<16;){if(0===s)break t;s--,c+=r[o++]<<l,l+=8}if(4&n.wrap&&c!==(65535&n.check)){t.msg="header crc mismatch",n.mode=ze;break}c=0,l=0}n.head&&(n.head.hcrc=n.flags>>9&1,n.head.done=!0),t.adler=n.check=0,n.mode=Pe;break;case 16189:for(;l<32;){if(0===s)break t;s--,c+=r[o++]<<l,l+=8}t.adler=n.check=Ne(c),c=0,l=0,n.mode=Le;case Le:if(0===n.havedict)return t.next_out=a,t.avail_out=u,t.next_in=o,t.avail_in=s,n.hold=c,n.bits=l,Se;t.adler=n.check=1,n.mode=Pe;case Pe:if(e===be||e===ye)break t;case 16192:if(n.last){c>>>=7&l,l-=7&l,n.mode=16206;break}for(;l<3;){if(0===s)break t;s--,c+=r[o++]<<l,l+=8}switch(n.last=1&c,l-=1,3&(c>>>=1)){case 0:n.mode=16193;break;case 1:if(Ze(n),n.mode=je,e===ye){c>>>=2,l-=2;break t}break;case 2:n.mode=16196;break;case 3:t.msg="invalid block type",n.mode=ze}c>>>=2,l-=2;break;case 16193:for(c>>>=7&l,l-=7&l;l<32;){if(0===s)break t;s--,c+=r[o++]<<l,l+=8}if((65535&c)!=(c>>>16^65535)){t.msg="invalid stored block lengths",n.mode=ze;break}if(n.length=65535&c,c=0,l=0,n.mode=16194,e===ye)break t;case 16194:n.mode=16195;case 16195:if(h=n.length){if(h>s&&(h=s),h>u&&(h=u),0===h)break t;i.set(r.subarray(o,o+h),a),s-=h,o+=h,u-=h,a+=h,n.length-=h;break}n.mode=Pe;break;case 16196:for(;l<14;){if(0===s)break t;s--,c+=r[o++]<<l,l+=8}if(n.nlen=257+(31&c),c>>>=5,l-=5,n.ndist=1+(31&c),c>>>=5,l-=5,n.ncode=4+(15&c),c>>>=4,l-=4,n.nlen>286||n.ndist>30){t.msg="too many length or distance symbols",n.mode=ze;break}n.have=0,n.mode=16197;case 16197:for(;n.have<n.ncode;){for(;l<3;){if(0===s)break t;s--,c+=r[o++]<<l,l+=8}n.lens[O[n.have++]]=7&c,c>>>=3,l-=3}for(;n.have<19;)n.lens[O[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,S={bits:n.lenbits},x=me(0,n.lens,0,19,n.lencode,0,n.work,S),n.lenbits=S.bits,x){t.msg="invalid code lengths set",n.mode=ze;break}n.have=0,n.mode=16198;case 16198:for(;n.have<n.nlen+n.ndist;){for(;g=(k=n.lencode[c&(1<<n.lenbits)-1])>>>16&255,m=65535&k,!((_=k>>>24)<=l);){if(0===s)break t;s--,c+=r[o++]<<l,l+=8}if(m<16)c>>>=_,l-=_,n.lens[n.have++]=m;else{if(16===m){for(A=_+2;l<A;){if(0===s)break t;s--,c+=r[o++]<<l,l+=8}if(c>>>=_,l-=_,0===n.have){t.msg="invalid bit length repeat",n.mode=ze;break}E=n.lens[n.have-1],h=3+(3&c),c>>>=2,l-=2}else if(17===m){for(A=_+3;l<A;){if(0===s)break t;s--,c+=r[o++]<<l,l+=8}l-=_,E=0,h=3+(7&(c>>>=_)),c>>>=3,l-=3}else{for(A=_+7;l<A;){if(0===s)break t;s--,c+=r[o++]<<l,l+=8}l-=_,E=0,h=11+(127&(c>>>=_)),c>>>=7,l-=7}if(n.have+h>n.nlen+n.ndist){t.msg="invalid bit length repeat",n.mode=ze;break}for(;h--;)n.lens[n.have++]=E}}if(n.mode===ze)break;if(0===n.lens[256]){t.msg="invalid code -- missing end-of-block",n.mode=ze;break}if(n.lenbits=9,S={bits:n.lenbits},x=me(1,n.lens,0,n.nlen,n.lencode,0,n.work,S),n.lenbits=S.bits,x){t.msg="invalid literal/lengths set",n.mode=ze;break}if(n.distbits=6,n.distcode=n.distdyn,S={bits:n.distbits},x=me(2,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,S),n.distbits=S.bits,x){t.msg="invalid distances set",n.mode=ze;break}if(n.mode=je,e===ye)break t;case je:n.mode=Ce;case Ce:if(s>=6&&u>=258){t.next_out=a,t.avail_out=u,t.next_in=o,t.avail_in=s,n.hold=c,n.bits=l,he(t,d),a=t.next_out,i=t.output,u=t.avail_out,o=t.next_in,r=t.input,s=t.avail_in,c=n.hold,l=n.bits,n.mode===Pe&&(n.back=-1);break}for(n.back=0;g=(k=n.lencode[c&(1<<n.lenbits)-1])>>>16&255,m=65535&k,!((_=k>>>24)<=l);){if(0===s)break t;s--,c+=r[o++]<<l,l+=8}if(g&&0==(240&g)){for(w=_,b=g,y=m;g=(k=n.lencode[y+((c&(1<<w+b)-1)>>w)])>>>16&255,m=65535&k,!(w+(_=k>>>24)<=l);){if(0===s)break t;s--,c+=r[o++]<<l,l+=8}c>>>=w,l-=w,n.back+=w}if(c>>>=_,l-=_,n.back+=_,n.length=m,0===g){n.mode=16205;break}if(32&g){n.back=-1,n.mode=Pe;break}if(64&g){t.msg="invalid literal/length code",n.mode=ze;break}n.extra=15&g,n.mode=16201;case 16201:if(n.extra){for(A=n.extra;l<A;){if(0===s)break t;s--,c+=r[o++]<<l,l+=8}n.length+=c&(1<<n.extra)-1,c>>>=n.extra,l-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=16202;case 16202:for(;g=(k=n.distcode[c&(1<<n.distbits)-1])>>>16&255,m=65535&k,!((_=k>>>24)<=l);){if(0===s)break t;s--,c+=r[o++]<<l,l+=8}if(0==(240&g)){for(w=_,b=g,y=m;g=(k=n.distcode[y+((c&(1<<w+b)-1)>>w)])>>>16&255,m=65535&k,!(w+(_=k>>>24)<=l);){if(0===s)break t;s--,c+=r[o++]<<l,l+=8}c>>>=w,l-=w,n.back+=w}if(c>>>=_,l-=_,n.back+=_,64&g){t.msg="invalid distance code",n.mode=ze;break}n.offset=m,n.extra=15&g,n.mode=16203;case 16203:if(n.extra){for(A=n.extra;l<A;){if(0===s)break t;s--,c+=r[o++]<<l,l+=8}n.offset+=c&(1<<n.extra)-1,c>>>=n.extra,l-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){t.msg="invalid distance too far back",n.mode=ze;break}n.mode=16204;case 16204:if(0===u)break t;if(h=d-u,n.offset>h){if((h=n.offset-h)>n.whave&&n.sane){t.msg="invalid distance too far back",n.mode=ze;break}h>n.wnext?(h-=n.wnext,p=n.wsize-h):p=n.wnext-h,h>n.length&&(h=n.length),v=n.window}else v=i,p=a-n.offset,h=n.length;h>u&&(h=u),u-=h,n.length-=h;do{i[a++]=v[p++]}while(--h);0===n.length&&(n.mode=Ce);break;case 16205:if(0===u)break t;i[a++]=n.length,u--,n.mode=Ce;break;case 16206:if(n.wrap){for(;l<32;){if(0===s)break t;s--,c|=r[o++]<<l,l+=8}if(d-=u,t.total_out+=d,n.total+=d,4&n.wrap&&d&&(t.adler=n.check=n.flags?F(n.check,i,d,a-d):U(n.check,i,d,a-d)),d=u,4&n.wrap&&(n.flags?c:Ne(c))!==n.check){t.msg="incorrect data check",n.mode=ze;break}c=0,l=0}n.mode=16207;case 16207:if(n.wrap&&n.flags){for(;l<32;){if(0===s)break t;s--,c+=r[o++]<<l,l+=8}if(4&n.wrap&&c!==(4294967295&n.total)){t.msg="incorrect length check",n.mode=ze;break}c=0,l=0}n.mode=16208;case 16208:x=xe;break t;case ze:x=ke;break t;case 16210:return Me;default:return Ae}return t.next_out=a,t.avail_out=u,t.next_in=o,t.avail_in=s,n.hold=c,n.bits=l,(n.wsize||d!==t.avail_out&&n.mode<ze&&(n.mode<16206||e!==we))&&Ve(t,t.output,t.next_out,d-t.avail_out),f-=t.avail_in,d-=t.avail_out,t.total_in+=f,t.total_out+=d,n.total+=d,4&n.wrap&&d&&(t.adler=n.check=n.flags?F(n.check,i,d,t.next_out-d):U(n.check,i,d,t.next_out-d)),t.data_type=n.bits+(n.last?64:0)+(n.mode===Pe?128:0)+(n.mode===je||16194===n.mode?256:0),(0===f&&0===d||e===we)&&x===Ee&&(x=Oe),x},We=function(t){if(Fe(t))return Ae;var e=t.state;return e.window&&(e.window=null),t.state=null,Ee},$e=function(t,e){if(Fe(t))return Ae;var n=t.state;return 0==(2&n.wrap)?Ae:(n.head=e,e.done=!1,Ee)},Je=function(t,e){var n,r=e.length;return Fe(t)||0!==(n=t.state).wrap&&n.mode!==Le?Ae:n.mode===Le&&U(1,e,r,0)!==n.check?ke:Ve(t,e,r,r)?(n.mode=16210,Me):(n.havedict=1,Ee)},tn=function(){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},en=Object.prototype.toString,nn=q.Z_NO_FLUSH,rn=q.Z_FINISH,on=q.Z_OK,an=q.Z_STREAM_END,sn=q.Z_NEED_DICT,un=q.Z_STREAM_ERROR,cn=q.Z_DATA_ERROR,ln=q.Z_MEM_ERROR;function fn(t){this.options=Dt({chunkSize:65536,windowBits:15,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 Qt,this.strm.avail_out=0;var n=Qe(this.strm,e.windowBits);if(n!==on)throw new Error(D[n]);if(this.header=new tn,$e(this.strm,this.header),e.dictionary&&("string"==typeof e.dictionary?e.dictionary=Zt(e.dictionary):"[object ArrayBuffer]"===en.call(e.dictionary)&&(e.dictionary=new Uint8Array(e.dictionary)),e.raw&&(n=Je(this.strm,e.dictionary))!==on))throw new Error(D[n])}function dn(t,e){var n=new fn(e);if(n.push(t),n.err)throw n.msg||D[n.err];return n.result}fn.prototype.push=function(t,e){var n,r,i,o=this.strm,a=this.options.chunkSize,s=this.options.dictionary;if(this.ended)return!1;for(r=e===~~e?e:!0===e?rn:nn,"[object ArrayBuffer]"===en.call(t)?o.input=new Uint8Array(t):o.input=t,o.next_in=0,o.avail_in=o.input.length;;){for(0===o.avail_out&&(o.output=new Uint8Array(a),o.next_out=0,o.avail_out=a),(n=Xe(o,r))===sn&&s&&((n=Je(o,s))===on?n=Xe(o,r):n===cn&&(n=sn));o.avail_in>0&&n===an&&o.state.wrap>0&&0!==t[o.next_in];)Ye(o),n=Xe(o,r);switch(n){case un:case cn:case sn:case ln:return this.onEnd(n),this.ended=!0,!1}if(i=o.avail_out,o.next_out&&(0===o.avail_out||n===an))if("string"===this.options.to){var u=Yt(o.output,o.next_out),c=o.next_out-u,l=Vt(o.output,u);o.next_out=c,o.avail_out=a-c,c&&o.output.set(o.output.subarray(u,u+c),0),this.onData(l)}else this.onData(o.output.length===o.next_out?o.output:o.output.subarray(0,o.next_out));if(n!==on||0!==i){if(n===an)return n=We(this.strm),this.onEnd(n),this.ended=!0,!0;if(0===o.avail_in)break}}return!0},fn.prototype.onData=function(t){this.chunks.push(t)},fn.prototype.onEnd=function(t){t===on&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=qt(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg};var hn=fn,pn=dn,vn=function(t,e){return(e=e||{}).raw=!0,dn(t,e)},_n=dn,gn=ue,mn=ce,wn=le,bn=fe,yn=hn,En=pn,xn=vn,Sn=_n,An=q,kn={Deflate:gn,deflate:mn,deflateRaw:wn,gzip:bn,Inflate:yn,inflate:En,inflateRaw:xn,ungzip:Sn,constants:An};t.Deflate=gn,t.Inflate=yn,t.constants=An,t.default=kn,t.deflate=mn,t.deflateRaw=wn,t.gzip=bn,t.inflate=En,t.inflateRaw=xn,t.ungzip=Sn,Object.defineProperty(t,"__esModule",{value:!0})}(e)},function(t,e,n){"use strict";var r=n(80),i=n(81),o=n(82),a=n(51),s=n(1),u=n(5);s(e,"__esModule",{value:!0}),e.default=void 0;var c=u(n(44)),l=u(n(78)),f=u(n(50)),d=n(53),h=n(79),p=n(52);function v(t,e){var n=void 0!==i&&t[o]||t["@@iterator"];if(!n){if(a(t)||(n=function(t,e){if(t){if("string"==typeof t)return _(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?r(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var s=0,u=function(){};return{s:u,n:function(){return s>=t.length?{done:!0}:{done:!1,value:t[s++]}},e:function(t){throw t},f:u}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var c,l=!0,f=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return l=t.done,t},e:function(t){f=!0,c=t},f:function(){try{l||null==n.return||n.return()}finally{if(f)throw c}}}}function _(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function g(){return this instanceof g?g.instance?g.instance:(this.retryCount=0,this.appKey="",this.appSecret="",this.rateReady=!1,this.fullSampleUsers=[],this.sampleRate=0,this.rules={},this._logger=void 0,void(g.instance=this)):new g}g.instance=null,g.getInstance=function(t){return g.instance||(g.instance=new g,g.instance._logger=t),g.instance},g.prototype.init=function(t,e){t&&e&&(this._logger.debug(d.EMAS_APM_LOG_KEY,"rate module init...."),this.appKey=t,this.appSecret=e,this._getRate())},g.prototype.calcSample=function(t,e,n){var r=this._filter(t,e,n);return r<=0?0:r>=1?1:Math.random()<=r?r:0},g.prototype._filter=function(t,e,n){if(this._logger.debug(d.EMAS_APM_LOG_KEY,"sample rate filter"),(0,p.arrayIncludes)(this.fullSampleUsers,n.userId))return this._logger.debug(d.EMAS_APM_LOG_KEY,"current userId is in full sample user."),1;var r=this.rules[t];if(r){var i=r.enable,o=void 0!==i&&i,a=r.sampleRate,s=r.conditional;if(o){var u,c=v(void 0===s?[]:s);try{for(c.s();!(u=c.n()).done;){var l=u.value;if(this._evaluateCondition(l.filter,e))return this._logger.debug(d.EMAS_APM_LOG_KEY,"event=[".concat(t,"] aciton is hit, rate = ").concat(l.sampleRate)),l.sampleRate}}catch(t){c.e(t)}finally{c.f()}return this._logger.debug(d.EMAS_APM_LOG_KEY,"event=[".concat(t,"] action is not hit, use current event rule base sample rate. rate = ").concat(a)),a}return this._logger.debug(d.EMAS_APM_LOG_KEY,"event=[".concat(t,"] is not enable")),0}return this._logger.debug(d.EMAS_APM_LOG_KEY,"no rules match event=[".concat(t,"]. use base sample rate.")),this.sampleRate},g.prototype._evaluateCondition=function(t,e){var n=this,r=t||{},i=r.op,o=void 0===i?"":i,a=r.filters,s=void 0===a?[]:a;switch(o){case"and":return s.every((function(t){return n._evaluateCondition(t,e)}));case"or":return s.some((function(t){return n._evaluateCondition(t,e)}));case"=":case"!=":case"in":case"not_in":case">":case">=":case"<":case"<=":case"regex":case"not_regex":return this._operation(t,e);default:return!1}},g.prototype._operation=function(t,e){var n=t.op,r=t.values,i=void 0===r?[]:r,o=t.key,a=void 0===o?"":o,s=(0,p.getValueByPath)(e,a);switch(n){case"=":return s==i[0];case"!=":return s!=i[0];case"in":return i.some((function(t){return s===t}));case"not_in":return i.every((function(t){return s!==t}));case">":return s>i[0];case">=":return s>=i[0];case"<":return s<i[0];case"<=":return s<=i[0];case"regex":try{return new RegExp(i[0]).test(s)}catch(t){return!1}case"not_regex":try{return!new RegExp(i[0]).test(s)}catch(t){return!1}default:return!1}},g.prototype._getRate=(0,f.default)(c.default.mark((function t(){var e,n,r,i,o,a,s,u,l,f,p,v,_=this;return c.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this._logger.debug(d.EMAS_APM_LOG_KEY,"begin to get sample rate......"),t.next=3,(0,h.getRate)(this.appKey,this.appSecret);case 3:if(e=t.sent,n=e.success,r=e.data,n){for(this._logger.debug(d.EMAS_APM_LOG_KEY,"get sample rate success"),i=r.sampleRate,o=r.fullSampleUsers,a=void 0===o?[]:o,s=r.rules,u=void 0===s?[]:s,this.fullSampleUsers=a,this.sampleRate=i,l=0;l<u.length;l++)f=u[l],p=(f||{}).eventId,(v=void 0===p?"":p)&&(this.rules[v]=f);this._finishCallBack()}else this._logger.debug(d.EMAS_APM_LOG_KEY,"get sample rate failed"),this.retryCount<d.RATE_MAX_RETRY_COUNT?setTimeout((function(){_.retryCount++,_._logger.debug(d.EMAS_APM_LOG_KEY,"retry get sample rate. -----".concat(_.retryCount)),_._getRate()}),d.RATE_RETRY_INTERVAL):(this._logger.debug(d.EMAS_APM_LOG_KEY,"use local sample rate"),this._safeguard());case 7:case"end":return t.stop()}}),t,this)}))),g.prototype._finishCallBack=function(){var t;this.rateReady=!0;try{t=new Event(d.EMAS_RATE_NOTIC_KEY)}catch(e){11===(0,p.getIEVersion)()&&(t=document.createEvent("Event")).initEvent(d.EMAS_RATE_NOTIC_KEY,!1,!1)}t&&window.dispatchEvent(t)},g.prototype._safeguard=function(){this._logger.debug(d.EMAS_APM_LOG_KEY,"get sample rate by safeguard"),this.fullSampleUsers=[],this.sampleRate=1,this.rules=(0,l.default)((0,l.default)((0,l.default)((0,l.default)((0,l.default)({},d.EVENTID.jsError,{eventId:"jsError",conditional:[],enable:!0,sampleRate:1}),d.EVENTID.whiteScreen,{eventId:"whiteScreen",conditional:[],enable:!0,sampleRate:1}),d.EVENTID.request,{eventId:"request",conditional:[],enable:!0,sampleRate:.2}),d.EVENTID.resource,{eventId:"resource",conditional:[],enable:!0,sampleRate:.2}),d.EVENTID.performance,{eventId:"performance",conditional:[],enable:!0,sampleRate:.1}),this._finishCallBack()};e.default=g},function(t,e,n){"use strict";n(1)(e,"__esModule",{value:!0}),e.default=void 0;var r=n(159);function i(t,e){this.emas_apm=t;var n=e||{},i=n.autoPV,o=void 0===i||i,a=n.autoLeave,s=void 0!==a&&a,u=n.enableHistory,c=void 0!==u&&u,l=n.enableHash,f=void 0!==l&&l;this.config={autoPV:o,autoLeave:s,enableHistory:c,enableHash:f},this.config.autoPV&&(this.sendPV(),this.config.enableHistory?(0,r.onHistoryChange)(this.sendPV.bind(this)):this.config.enableHash&&(0,r.onHashChange)(this.sendPV.bind(this))),this.config.autoLeave}i.prototype.sendPV=function(){this.emas_apm.printLog.debug("emas-apm-pv","sendPV-".concat(location.href)),this.emas_apm.log("pv",{type:"pv",uri:location.href})},i.prototype.sendLeave=function(){this.emas_apm.log("pv",{type:"leave",uri:location.href})};e.default=i},function(t,e,n){"use strict";n(1)(e,"__esModule",{value:!0}),e.onHashChange=function(t){window.addEventListener("hashchange",t)},e.onHistoryChange=function(t){var e,n;window.addEventListener("popstate",t);var r=null===(e=window.history)||void 0===e?void 0:e.pushState;r&&(history.pushState=function(){r.apply(this,arguments),t()});var i=null===(n=window.history)||void 0===n?void 0:n.replaceState;i&&(history.replaceState=function(e,n,r){var o=null===history.state;i.apply(this,arguments),o&&0===(null==e?void 0:e.idx)&&!r||t()})}},function(t,e,n){"use strict";var r=n(1),i=n(5);r(e,"__esModule",{value:!0}),e.default=void 0;var o=i(n(161));function a(t,e){this.config=function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}({},e),this.EMAS_APM=t||{},this._initJSErrorListener()}a.prototype._initJSErrorListener=function(){var t,e,n=this;null!==(t=this.config)&&void 0!==t&&t.disableError||window.addEventListener("error",(function(t){n.sendError(t)})),null!==(e=this.config)&&void 0!==e&&e.disableUnhandledRejection||window.addEventListener("unhandledrejection",(function(t){n.sendError(t)}))},a.prototype.sendError=function(t){o.default.call(this,t)};e.default=a},function(t,e,n){"use strict";var r=n(1),i=n(5);r(e,"__esModule",{value:!0}),e.default=void 0;var o=i(n(15)),a=i(n(9)),s=i(n(162));e.default=function(t){try{var e,n,r=s.default.call(this,t);if("[object Object]"!==Object.prototype.toString.call(r))return;var i=r.message,u=void 0===i?"":i,c=r.filename,l=r.lineno,f=r.colno,d=r.stack,h=r.type,p=r.name,v=this.config.ignoreList;if(v&&v.some((function(e){if("string"==typeof e)return u===e;if("function"==typeof e)try{return e(u,t)}catch(t){return!1}else if(e instanceof RegExp)return e.test(u)})))return;this.EMAS_APM.printLog.debug("emas-apm-jsError",(0,o.default)({message:null!=u?u:"",filename:null!=c?c:"",lineNo:null!=l?l:"",colNo:null!=f?f:"",stack:null!=d?d:"",type:null!=h?h:"",name:null!=p?p:"",eventTime:null!==(e=(0,a.default)())&&void 0!==e?e:""})),this.EMAS_APM.log("jsError",{message:null!=u?u:"",filename:null!=c?c:"",lineNo:null!=l?l:"",colNo:null!=f?f:"",stack:null!=d?d:"",type:null!=h?h:"",name:null!=p?p:"",eventTime:null!==(n=(0,a.default)())&&void 0!==n?n:""})}catch(t){this.EMAS_APM.printLog.error("emas-apm-jsError",t)}}},function(t,e,n){"use strict";n(1)(e,"__esModule",{value:!0}),e.default=void 0;var r=/\n\s+at\s+/;function i(t){if(t)return t.length<=1e4?t:t.substr(0,9997)+"..."}function o(t){try{if("string"==typeof t.stack&&("number"!=typeof t.lineno||"string"!=typeof t.filename)&&t.stack.match(r)){var e,n=null===(e=t.stack.split("\n").slice(1,2))||void 0===e?void 0:e[0];if(n){var i=n.match(/^\s+at\s+[^\(]+\(([^\)]+?):(\d+):(\d+)\)$/)||n.match(/^\s+at\s+(.+)?:(\d+):(\d+)$/);i&&(t.filename=i[1],t.lineno=i[2],t.colno=i[3])}}}catch(t){this.EMAS_APM.printLog.error("emas-apm-jsError",t)}try{if(!t.filename&&"string"==typeof t.stack){var o=t.stack.match(/@([^\n]+?):(\d+):(\d+)$/);o&&(t.filename=o[1])}}catch(t){this.EMAS_APM.printLog.error("emas-apm-jsError",t)}return t}function a(t){return"[object Object]"===Object.prototype.toString.call(t)||"[object Error]"===Object.prototype.toString.call(t)||"[object PromiseRejectionEvent]"===Object.prototype.toString.call(t)||"[object ErrorEvent]"===Object.prototype.toString.call(t)}e.default=function(t){if(!t)return{};var e;if("error"===t.type)e=function(t){if("[object String]"===Object.prototype.toString.call(t))return{message:t,type:"error"};if(a(t)){var e,n,r,i=null===(e=t.error)||void 0===e?void 0:e.toString().indexOf(":");return{lineno:t.lineno||t.line||t.lineNumber,colno:t.colno||t.column||t.columnNumber,message:t.message,filename:t.filename||t.fileName,stack:(null===(n=t.error)||void 0===n?void 0:n.stack)||t.stack,type:t.type,name:i?null===(r=t.error)||void 0===r?void 0:r.toString().substring(0,i):""}}}(t);else{if("unhandledrejection"!==t.type)return{type:"unknown"};e=function(t){if("[object String]"===Object.prototype.toString.call(t.reason))return{message:t.reason,type:t.type};if(a(t)){var e,n,r=t.reason;r.type=t.type;var i=null===(e=t.reason)||void 0===e?void 0:e.toString().indexOf(":");return r.name=i?null===(n=t.reason)||void 0===n?void 0:n.toString().substring(0,i):"",r}}(t)}return a(e)?(e.filename||(e.filename=e.sourceURL||e.fileName),"number"!=typeof e.lineno&&(e.lineno=e.line||e.lineNumber,e.colno=e.column||e.columnNumber),{lineno:(e=o.call(this,e)).lineno,colno:e.colno,message:e.message,filename:i(e.filename),stack:e.stack,type:e.type,name:e.name}):void 0}},function(t,e,n){"use strict";var r=n(1),i=n(5);r(e,"__esModule",{value:!0}),e.default=void 0;var o=i(n(15)),a=i(n(164)),s=i(n(165));function u(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}function c(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.config=u({},e),this.EMAS_APM=t,this.send=this.send.bind(this),this._init()}c.prototype._init=function(){!0!==this.config.disable&&(!0!==this.config.disableFetch&&(0,a.default)(this,this.config),!0!==this.config.disableXHR&&(0,s.default)(this,this.config))},c.prototype.send=function(t){var e,n,r=t.requestUri,i=t.code,a=t.customCode,s=void 0===a?"":a,u=t.duration,c=t.method,l=t.headers,f=t.eventTime,d=t.requestType,h=this.config.ignoreList;h&&h.some((function(t){if("string"==typeof t)return t===r;if("function"==typeof t)try{return t(r)}catch(t){}else if(t instanceof RegExp)return t.test(r)}))||(this.EMAS_APM.printLog.debug("emas-apm-request",(0,o.default)({requestUri:null!=r?r:"",code:null!=i?i:0,customCode:null!=s?s:"",duration:null!=u?u:"",method:null!=c?c:"",headers:null!==(e=(0,o.default)(l))&&void 0!==e?e:"",requestType:null!=d?d:"",eventTime:null!=f?f:""})),this.EMAS_APM.log("request",{requestUri:null!=r?r:"",code:null!=i?i:0,customCode:null!=s?s:"",duration:null!=u?u:"",method:null!=c?c:"",headers:null!==(n=(0,o.default)(l))&&void 0!==n?n:"",requestType:null!=d?d:"",eventTime:null!=f?f:""}))};e.default=c},function(t,e,n){"use strict";var r=n(1),i=n(5);r(e,"__esModule",{value:!0}),e.default=void 0;var o=i(n(9)),a=n(84);e.default=function(t,e){if(!("function"!=typeof window.fetch||window.fetch&&window.fetch.polyfill)){var n=window.fetch,r=!!window.performance;try{window.fetch=function(i){var s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("HEAD"===s.method||"no-cors"===s.mode)return n.apply(window,arguments);var u="[object Request]"===Object.prototype.toString.call(i)||"[object URL]"===Object.prototype.toString.call(i)?i.url||i.href:i;if((0,a.isIgnoredUrl)(u,t))return n.apply(window,arguments);var c,l=u.split("?"),f=l[0],d=l[1],h=s.method||i.method||"GET";try{c=(0,a.getRequestHeaders)(s.headers||i.headers)}catch(t){}var p=r?performance.now():(0,o.default)();return n.apply(window,arguments).then((function(e){try{if("[object Response]"!==Object.prototype.toString.call(e))return e;var n=(r?performance.now():(0,o.default)())-p,i=function(e){t.send({requestUri:f,code:u.status,customCode:"",duration:Math.max(n,0),method:"string"==typeof h?h.toUpperCase():"",headers:c,requestType:"fetch",eventTime:(0,o.default)()})},u=e.clone?e.clone():e,l=(0,a.getResponseBody)(u,s);"[object Promise]"===Object.prototype.toString.call(l)?l.then(i).catch((function(e){t.EMAS_APM.printLog.error("emas-apm-request",e)})):i()}catch(e){t.EMAS_APM.printLog.error("emas-apm-request",e)}return e})).catch((function(n){var r=(0,o.default)()-p,i=(0,a.getCustomCode)("",0,{type:"fetch",params:d,url:f},e);throw t.send({requestUri:f,code:0,customCode:i,duration:r,method:"string"==typeof h?h.toUpperCase():"",headers:c,requestType:"fetch",eventTime:(0,o.default)()}),n}))}}catch(t){}}}},function(t,e,n){"use strict";var r=n(1),i=n(5);r(e,"__esModule",{value:!0}),e.default=void 0;var o=i(n(9)),a=n(84);e.default=function(t,e){if("function"==typeof window.XMLHttpRequest&&window.addEventListener){var n=window.XMLHttpRequest,r=n.prototype,i=r.open,s=r.send,u=r.setRequestHeader,c="_apmRequest".concat((0,o.default)()),l=!!window.performance;n.prototype.open=function(t,e,n,r,o){i.apply(this,arguments),this[c]={method:t,url:e}},n.prototype.setRequestHeader=function(t,e){u.apply(this,arguments),this[c]&&(this[c].headers=this[c].headers||{},this[c].headers[t]=e)},n.prototype.send=function(e){if(s.apply(this,arguments),this[c])try{var n=this[c],r=n.method,i=void 0===r?"GET":r,u=n.url,f=n.headers;delete this[c];var d=u?u.href||u:"";if((0,a.isIgnoredUrl)(d,t))return;var h=d.split("?"),p=this,v=0,_=(h[1],l?performance.now():(0,o.default)()),g=function(){var e,n,r;v=p.status||v;var a=(l?performance.now():(0,o.default)())-_,s=function(e){t.send({requestUri:h[0],code:v,customCode:"",duration:Math.max(a,0),method:"string"==typeof i?i.toUpperCase():"",headers:f,requestType:"xhr",eventTime:(0,o.default)()})},u=p.responseType||"text";"text"===u||"json"===u?s(p.response):"blob"!==u||"application/json"!==(null===(e=p.response)||void 0===e?void 0:e.type)&&"text/plain"!==(null===(n=p.response)||void 0===n?void 0:n.type)||null===(r=p.response)||void 0===r||!r.text?s(p.response&&Object.prototype.toString.call(p.response)):p.response.text().then(s).catch((function(e){t.EMAS_APM.printLog.error("emas-apm-request",e)}))};"undefined"!==p.onloadend?p.addEventListener("loadend",g):p.addEventListener("readystatechange",(function(){4===p.readyState&&g()}))}catch(e){t.EMAS_APM.printLog.error("emas-apm-request",e)}}}}},function(t,e,n){"use strict";var r=n(1),i=n(5);r(e,"__esModule",{value:!0}),e.default=void 0;var o=i(n(9)),a=i(n(15)),s=n(167);function u(t,e){this.config=(0,s.simpleAssign)({},e),this.EMAS_APM=t||{},this.ignoreList=this.config.ignoreList||[],this.reportedResources=new s.SimpleSet,this._init()}u.prototype={constructor:u,_init:function(){var t,e=this,n=this;(n._getPreResources().forEach((function(t){n._isValidResource(t.name,t)&&n._sendFromResource(t)})),window.addEventListener("error",(function(t){if(!(t instanceof ErrorEvent)){var e=t.target,r=e.src||e.href;if(n._isValidResource(r,t)){var i,a,u,c,l=null===(i=performance)||void 0===i?void 0:i.getEntriesByName(r)[0];if(l)n._sendFromResource(l,!0);else n.send({requestUri:null!=r?r:"",code:999,resourceType:null!==(a=t.target.tagName)&&void 0!==a?a:"",selector:null!==(u=(0,s.getSelector)(e))&&void 0!==u?u:"",eventTime:null!==(c=(0,o.default)())&&void 0!==c?c:""})}}}),!0),(0,s.arrayIncludes)(null===(t=window.PerformanceObserver)||void 0===t?void 0:t.supportedEntryTypes,"resource"))&&new PerformanceObserver((function(t){setTimeout((function(){t.getEntries().filter((function(t){return e._isValidResource(t.name,t)})).forEach((function(t){e._sendFromResource(t)}))}),50)})).observe({entryTypes:["resource"]})},_getPreResources:function(){return performance&&performance.getEntriesByType?performance.getEntriesByType("resource"):[]},_getFailedResources:function(t){return t?t.filter((function(t){return!(0,s.arrayIncludes)(["xmlhttprequest","fetch"],t.initiatorType)&&"number"==typeof t.responseStatus&&t.responseStatus>200})).map((function(t){return{src:t.name,type:t.initiatorType,status:t.responseStatus}})):[]},_isValidResource:function(t,e){var n;if(!t||-1!==t.indexOf("alibabacloud-apm-h5-sdk"))return!1;for(var r=this.EMAS_APM.getInnerDomains(),i=0;i<r.length;i++)if(-1!==t.indexOf(r[i])||-1!==r[i].indexOf(t))return!1;var o=["xmlhttprequest","fetch"];return!(0,s.arrayIncludes)(o,e.initiatorType)&&!(0,s.arrayIncludes)(o,null===(n=e.target)||void 0===n||null===(n=n.tagName)||void 0===n?void 0:n.toLowerCase())&&!this.ignoreList.some((function(e){if("string"==typeof e)return e===t;if(e instanceof RegExp)return e.test(t);if("function"==typeof e)try{return e(t)}catch(t){self.EMAS_APM.printLog.error("emas-apm-resource",t)}}))},_sendFromResource:function(t){var e,n,r,i,a,u,c=arguments.length>1&&void 0!==arguments[1]&&arguments[1],l=0;if("responseStatus"in t?l=c&&0===t.responseStatus?999:t.responseStatus:c&&(l=999),"number"==typeof t.duration&&t.duration<0)this.EMAS_APM.log("resource","negative duration filtered.");else{var f={connectEnd:t.connectEnd,connectStart:t.connectStart,domainLookupEnd:t.domainLookupEnd,domainLookupStart:t.domainLookupStart,fetchStart:t.fetchStart,firstInterimResponseStart:t.firstInterimResponseStart,redirectEnd:t.redirectEnd,redirectStart:t.redirectStart,requestStart:t.requestStart,responseEnd:t.responseEnd,responseStart:t.responseStart,secureConnectionStart:t.secureConnectionStart};this.send({requestUri:null!==(e=t.name)&&void 0!==e?e:"",code:null!==(n=l)&&void 0!==n?n:"",duration:null!==(r=t.duration)&&void 0!==r?r:"",resourceType:null!==(i=t.initiatorType)&&void 0!==i?i:"",selector:null!==(a=(0,s.getSelector)(this._getElementByUrl(t.name)))&&void 0!==a?a:"",cacheHit:0===t.transferSize&&t.decodedBodySize>0,timing:null!=f?f:"",eventTime:null!==(u=(0,o.default)())&&void 0!==u?u:""})}},_getElementByUrl:function(t){for(var e=document.querySelectorAll("css, img, font, script, video, audio, icon, svg, pdf, json, xml, csv, webmanifest, wasm, map, inline, blob, text"),n=0;n<e.length;n++){var r=e[n];if(r.src===t||r.href===t)return r}},_hasSentRecently:function(t,e){var n=!1;return this.reportedResources.forEach((function(r){r.uri===t&&Math.abs(e-r.timestamp)<=100&&(n=!0)})),n},send:function(t){this._hasSentRecently(t.requestUri,t.eventTime)||(this.reportedResources.add({uri:t.requestUri,timestamp:t.eventTime}),this.EMAS_APM.printLog.debug("emas-apm-resource",(0,a.default)(t)),this.EMAS_APM.log("resource",t))}};e.default=u},function(t,e,n){"use strict";function r(t){for(var e=[],n=0,r=t.length;n<r;n++){var i=t[n];if(i===window||i===document)break;if(i.id){e.push("#".concat(i.id));break}if(i.className&&"string"==typeof i.className){var o=i.className.split(/\s+/).filter((function(t){return!!t}));e.push(i.nodeName+" ."+o.join("."))}else e.push(i.nodeName)}return e.reverse().join(" > ")}function i(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:500;this.items=[],this.maxSize=t}n(1)(e,"__esModule",{value:!0}),e.SimpleSet=i,e.arrayIncludes=function(t,e){if("[object Array]"===Object.prototype.toString.call(t))for(var n=0;n<t.length;n++)if(t[n]===e)return!0;return!1},e.getSelector=function(t){if("[Obejct Array]"===Object.prototype.toString.call(t))return r(t);for(var e=[],n=t;n;)e.push(n),n=n.parentNode;return r(e)},e.simpleAssign=function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},i.prototype.has=function(t){return-1!==this.items.indexOf(t)},i.prototype.add=function(t){this.has(t)||(this.items.length>=this.maxsize&&this.items.shift(),this.items.push(t))},i.prototype.forEach=function(t,e){for(var n=0;n<this.items.length;n++)t.call(e,this.items[n],n,this)}},function(t,e,n){"use strict";var r=n(1),i=n(5);r(e,"__esModule",{value:!0}),e.default=void 0;var o=i(n(169)),a=i(n(9)),s=i(n(15)),u=n(173),c=i(n(174)),l=i(n(175));function f(t,e){this.config=(0,o.default)({},e),this.EMAS_APM=t||{},this.sendData=this.sendData.bind(this),this._init()}f.prototype={constructor:f,_init:function(){if(!1!==this.config.cls)try{(0,u.onCLS)(this.sendData)}catch(t){this.EMAS_APM.printLog.error("emas-apm-pageMetrics",t)}if(!1!==this.config.inp)try{(0,u.onINP)(this.sendData,{reportAllChanges:!0})}catch(t){this.EMAS_APM.printLog.error("emas-apm-pageMetrics",t)}if(!1!==this.config.lcp)try{(0,u.onLCP)(this.sendData)}catch(t){this.EMAS_APM.printLog.error("emas-apm-pageMetrics",t)}if(!1!==this.config.fcp)try{(0,u.onFCP)(this.sendData)}catch(t){this.EMAS_APM.printLog.error("emas-apm-pageMetrics",t)}if(!1!==this.config.ttfb)try{(0,u.onTTFB)(this.sendData)}catch(t){this.EMAS_APM.printLog.error("emas-apm-pageMetrics",t)}if(!1!==this.config.fp)try{(0,l.default)(this.sendData)}catch(t){this.EMAS_APM.printLog.error("emas-apm-pageMetrics",t)}if(!1!==this.config.navigationtiming)try{(0,c.default)(this.sendData)}catch(t){this.EMAS_APM.printLog.error("emas-apm-pageLoad",t)}},sendData:function(t){var e,n,r,i,o,u={name:null!==(e=t.name)&&void 0!==e?e:"",value:null!==(n=t.value)&&void 0!==n?n:"",navigationType:null!==(r=t.navigationType)&&void 0!==r?r:"",rating:null!==(i=t.rating)&&void 0!==i?i:"",eventTime:null!==(o=(0,a.default)())&&void 0!==o?o:""};if(t.timing)for(var c in t.timing)u[c]=t.timing[c];this.EMAS_APM.printLog.debug("emas-apm-performance",(0,s.default)(u)),this.EMAS_APM.log("performance",u)}};e.default=f},function(t,e,n){t.exports=n(170)},function(t,e,n){n(171),t.exports=n(0).Object.assign},function(t,e,n){var r=n(2);r(r.S+r.F,"Object",{assign:n(172)})},function(t,e,n){"use strict";var r=n(7),i=n(18),o=n(29),a=n(30),s=n(16),u=n(56),c=Object.assign;t.exports=!c||n(14)((function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach((function(t){e[t]=t})),7!=c({},t)[n]||Object.keys(c({},e)).join("")!=r}))?function(t,e){for(var n=s(t),c=arguments.length,l=1,f=o.f,d=a.f;c>l;)for(var h,p=u(arguments[l++]),v=f?i(p).concat(f(p)):i(p),_=v.length,g=0;_>g;)h=v[g++],r&&!d.call(p,h)||(n[h]=p[h]);return n}:c},function(t,e,n){"use strict";n.r(e),n.d(e,"CLSThresholds",(function(){return M})),n.d(e,"FCPThresholds",(function(){return A})),n.d(e,"FIDThresholds",(function(){return tt})),n.d(e,"INPThresholds",(function(){return D})),n.d(e,"LCPThresholds",(function(){return H})),n.d(e,"TTFBThresholds",(function(){return Z})),n.d(e,"onCLS",(function(){return O})),n.d(e,"onFCP",(function(){return k})),n.d(e,"onFID",(function(){return et})),n.d(e,"onINP",(function(){return q})),n.d(e,"onLCP",(function(){return K})),n.d(e,"onTTFB",(function(){return V}));var r,i,o,a,s,u=-1,c=function(t){addEventListener("pageshow",(function(e){e.persisted&&(u=e.timeStamp,t(e))}),!0)},l=function(){var t=self.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0];if(t&&t.responseStart>0&&t.responseStart<performance.now())return t},f=function(){var t=l();return t&&t.activationStart||0},d=function(t,e){var n=l(),r="navigate";return u>=0?r="back-forward-cache":n&&(document.prerendering||f()>0?r="prerender":document.wasDiscarded?r="restore":n.type&&(r=n.type.replace(/_/g,"-"))),{name:t,value:void 0===e?-1:e,rating:"good",delta:0,entries:[],id:"v4-".concat(Date.now(),"-").concat(Math.floor(8999999999999*Math.random())+1e12),navigationType:r}},h=function(t,e,n){try{if(PerformanceObserver.supportedEntryTypes.includes(t)){var r=new PerformanceObserver((function(t){Promise.resolve().then((function(){e(t.getEntries())}))}));return r.observe(Object.assign({type:t,buffered:!0},n||{})),r}}catch(t){}},p=function(t,e,n,r){var i,o;return function(a){e.value>=0&&(a||r)&&((o=e.value-(i||0))||void 0===i)&&(i=e.value,e.delta=o,e.rating=function(t,e){return t>e[1]?"poor":t>e[0]?"needs-improvement":"good"}(e.value,n),t(e))}},v=function(t){requestAnimationFrame((function(){return requestAnimationFrame((function(){return t()}))}))},_=function(t){document.addEventListener("visibilitychange",(function(){"hidden"===document.visibilityState&&t()}))},g=function(t){var e=!1;return function(){e||(t(),e=!0)}},m=-1,w=function(){return"hidden"!==document.visibilityState||document.prerendering?1/0:0},b=function(t){"hidden"===document.visibilityState&&m>-1&&(m="visibilitychange"===t.type?t.timeStamp:0,E())},y=function(){addEventListener("visibilitychange",b,!0),addEventListener("prerenderingchange",b,!0)},E=function(){removeEventListener("visibilitychange",b,!0),removeEventListener("prerenderingchange",b,!0)},x=function(){return m<0&&(m=w(),y(),c((function(){setTimeout((function(){m=w(),y()}),0)}))),{get firstHiddenTime(){return m}}},S=function(t){document.prerendering?addEventListener("prerenderingchange",(function(){return t()}),!0):t()},A=[1800,3e3],k=function(t,e){e=e||{},S((function(){var n,r=x(),i=d("FCP"),o=h("paint",(function(t){t.forEach((function(t){"first-contentful-paint"===t.name&&(o.disconnect(),t.startTime<r.firstHiddenTime&&(i.value=Math.max(t.startTime-f(),0),i.entries.push(t),n(!0)))}))}));o&&(n=p(t,i,A,e.reportAllChanges),c((function(r){i=d("FCP"),n=p(t,i,A,e.reportAllChanges),v((function(){i.value=performance.now()-r.timeStamp,n(!0)}))})))}))},M=[.1,.25],O=function(t,e){e=e||{},k(g((function(){var n,r=d("CLS",0),i=0,o=[],a=function(t){t.forEach((function(t){if(!t.hadRecentInput){var e=o[0],n=o[o.length-1];i&&t.startTime-n.startTime<1e3&&t.startTime-e.startTime<5e3?(i+=t.value,o.push(t)):(i=t.value,o=[t])}})),i>r.value&&(r.value=i,r.entries=o,n())},s=h("layout-shift",a);s&&(n=p(t,r,M,e.reportAllChanges),_((function(){a(s.takeRecords()),n(!0)})),c((function(){i=0,r=d("CLS",0),n=p(t,r,M,e.reportAllChanges),v((function(){return n()}))})),setTimeout(n,0))})))},T=0,R=1/0,L=0,P=function(t){t.forEach((function(t){t.interactionId&&(R=Math.min(R,t.interactionId),L=Math.max(L,t.interactionId),T=L?(L-R)/7+1:0)}))},j=function(){return r?T:performance.interactionCount||0},C=function(){"interactionCount"in performance||r||(r=h("event",P,{type:"event",buffered:!0,durationThreshold:0}))},z=[],N=new Map,I=0,U=[],B=function(t){if(U.forEach((function(e){return e(t)})),t.interactionId||"first-input"===t.entryType){var e=z[z.length-1],n=N.get(t.interactionId);if(n||z.length<10||t.duration>e.latency){if(n)t.duration>n.latency?(n.entries=[t],n.latency=t.duration):t.duration===n.latency&&t.startTime===n.entries[0].startTime&&n.entries.push(t);else{var r={id:t.interactionId,latency:t.duration,entries:[t]};N.set(r.id,r),z.push(r)}z.sort((function(t,e){return e.latency-t.latency})),z.length>10&&z.splice(10).forEach((function(t){return N.delete(t.id)}))}}},F=function(t){var e=self.requestIdleCallback||self.setTimeout,n=-1;return t=g(t),"hidden"===document.visibilityState?t():(n=e(t),_(t)),n},D=[200,500],q=function(t,e){"PerformanceEventTiming"in self&&"interactionId"in PerformanceEventTiming.prototype&&(e=e||{},S((function(){var n;C();var r,i=d("INP"),o=function(t){F((function(){t.forEach(B);var e=function(){var t=Math.min(z.length-1,Math.floor((j()-I)/50));return z[t]}();e&&e.latency!==i.value&&(i.value=e.latency,i.entries=e.entries,r())}))},a=h("event",o,{durationThreshold:null!==(n=e.durationThreshold)&&void 0!==n?n:40});r=p(t,i,D,e.reportAllChanges),a&&(a.observe({type:"first-input",buffered:!0}),_((function(){o(a.takeRecords()),r(!0)})),c((function(){I=j(),z.length=0,N.clear(),i=d("INP"),r=p(t,i,D,e.reportAllChanges)})))})))},H=[2500,4e3],G={},K=function(t,e){e=e||{},S((function(){var n,r=x(),i=d("LCP"),o=function(t){e.reportAllChanges||(t=t.slice(-1)),t.forEach((function(t){t.startTime<r.firstHiddenTime&&(i.value=Math.max(t.startTime-f(),0),i.entries=[t],n())}))},a=h("largest-contentful-paint",o);if(a){n=p(t,i,H,e.reportAllChanges);var s=g((function(){G[i.id]||(o(a.takeRecords()),a.disconnect(),G[i.id]=!0,n(!0))}));["keydown","click"].forEach((function(t){addEventListener(t,(function(){return F(s)}),{once:!0,capture:!0})})),_(s),c((function(r){i=d("LCP"),n=p(t,i,H,e.reportAllChanges),v((function(){i.value=performance.now()-r.timeStamp,G[i.id]=!0,n(!0)}))}))}}))},Z=[800,1800],V=function(t,e){e=e||{};var n=d("TTFB"),r=p(t,n,Z,e.reportAllChanges);!function t(e){document.prerendering?S((function(){return t(e)})):"complete"!==document.readyState?addEventListener("load",(function(){return t(e)}),!0):setTimeout(e,0)}((function(){var i=l();i&&(n.value=Math.max(i.responseStart-f(),0),n.entries=[i],r(!0),c((function(){n=d("TTFB",0),(r=p(t,n,Z,e.reportAllChanges))(!0)})))}))},Y={passive:!0,capture:!0},Q=new Date,X=function(t,e){i||(i=e,o=t,a=new Date,J(removeEventListener),W())},W=function(){if(o>=0&&o<a-Q){var t={entryType:"first-input",name:i.type,target:i.target,cancelable:i.cancelable,startTime:i.timeStamp,processingStart:i.timeStamp+o};s.forEach((function(e){e(t)})),s=[]}},$=function(t){if(t.cancelable){var e=(t.timeStamp>1e12?new Date:performance.now())-t.timeStamp;"pointerdown"==t.type?function(t,e){var n=function(){X(t,e),i()},r=function(){i()},i=function(){removeEventListener("pointerup",n,Y),removeEventListener("pointercancel",r,Y)};addEventListener("pointerup",n,Y),addEventListener("pointercancel",r,Y)}(e,t):X(e,t)}},J=function(t){["mousedown","keydown","touchstart","pointerdown"].forEach((function(e){return t(e,$,Y)}))},tt=[100,300],et=function(t,e){e=e||{},S((function(){var n,r=x(),a=d("FID"),u=function(t){t.startTime<r.firstHiddenTime&&(a.value=t.processingStart-t.startTime,a.entries.push(t),n(!0))},l=function(t){t.forEach(u)},f=h("first-input",l);n=p(t,a,tt,e.reportAllChanges),f&&(_(g((function(){l(f.takeRecords()),f.disconnect()}))),c((function(){var r;a=d("FID"),n=p(t,a,tt,e.reportAllChanges),s=[],o=-1,i=null,J(addEventListener),r=u,s.push(r),W()})))}))}},function(t,e,n){"use strict";n(1)(e,"__esModule",{value:!0}),e.default=void 0;e.default=function(t){if(window.performance)if("complete"===document.readyState){var e,n=window.performance.timing,r={};for(var i in n)"number"==typeof n[i]&&(r[i]=n[i]);t({name:"pageLoad",timing:r});var o={name:"LOAD",value:r.loadEventEnd-r.navigationStart,navigationType:performance.getEntriesByType("navigation")&&(null===(e=performance.getEntriesByType("navigation")[0])||void 0===e?void 0:e.type),rating:""};t(o)}else window.addEventListener("load",(function(){setTimeout((function(){var e,n=window.performance.timing,r={};for(var i in n)"number"==typeof n[i]&&(r[i]=n[i]);t({name:"pageLoad",timing:r});var o={name:"LOAD",value:r.loadEventEnd-r.navigationStart,navigationType:performance.getEntriesByType("navigation")&&(null===(e=performance.getEntriesByType("navigation")[0])||void 0===e?void 0:e.type),rating:""};t(o)}),100)}))}},function(t,e,n){"use strict";n(1)(e,"__esModule",{value:!0}),e.default=void 0;e.default=function(t){var e=window.performance;if(e){var n=e.getEntriesByType("paint");if(n.length>0)n.forEach((function(n){if("first-paint"===n.name){var r,i={name:"FP",value:n.startTime,entries:[n],navigationType:e.getEntriesByType("navigation")&&(null===(r=e.getEntriesByType("navigation")[0])||void 0===r?void 0:r.type),rating:""};t(i)}}));else try{var r=new PerformanceObserver((function(n){n.getEntriesByType("paint").forEach((function(n){if("first-paint"===n.name){var i,o={name:"FP",value:n.startTime,entries:[n],navigationType:e.getEntriesByType("navigation")&&(null===(i=e.getEntriesByType("navigation")[0])||void 0===i?void 0:i.type),rating:""};t(o),r.disconnect()}}))}));r.observe({entryTypes:["paint"]})}catch(t){}}}},function(t,e,n){"use strict";var r=n(1),i=n(5);r(e,"__esModule",{value:!0}),e.default=void 0;var o=i(n(9)),a=i(n(15));function s(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}function u(t,e){if("[object Array]"===Object.prototype.toString.call(t))for(var n=0;n<t.length;n++)if(t[n]===e)return!0;return!1}function c(t,e){var n;(this.config=s({},{when:["timeout","visibilitychange","error","unhandledrejection","load"],timeout:3e3},e),this.EMAS_APM=t||{},this.lastTestTime=0,this.delay=1e3,this.observers=[],!1!==this.config.autostart)&&this.start(this.config,null===(n=window.performance)||void 0===n||null===(n=n.timing)||void 0===n?void 0:n.navigationStart);this._handlePageChange()}c.prototype._handlePageChange=function(){window.addEventListener("popstate",this._restart.bind(this)),window.addEventListener("hashchange",this._restart.bind(this)),window.addEventListener("beforeunload",this.stop.bind(this))},c.prototype._restart=function(){this.stop(),this.start(this.config)},c.prototype.stop=function(){this.observers.forEach((function(t){t()})),this.observers=[]},c.prototype.start=function(t,e){var n=this,r=t=s({},this.config,t),i=r.when,a=r.timeout;e=e||(0,o.default)(),i.forEach((function(t){if("timeout"===t){var r=setTimeout((function(){n._whiteScreenTest(t)}),a-((0,o.default)()-e));n.observers.push((function(){clearTimeout(r)}))}else if("visibilitychange"===t){var i;document.addEventListener("visibilitychange",i=function(){"complete"===document.readyState&&setTimeout((function(){n._whiteScreenTest(t)}),100)}),n.observers.push((function(){document.removeEventListener("visibilitychange",i)}))}else if("error"===t){var s;window.addEventListener("error",s=function(){"complete"===document.readyState&&n._whiteScreenTest(t)}),n.observers.push((function(){window.removeEventListener("error",s)}))}else if("unhandledrejection"===t){var u;window.addEventListener("unhandledrejection",u=function(){"complete"===document.readyState&&n._whiteScreenTest(t)}),n.observers.push((function(){window.removeEventListener("unhandledrejection",u)}))}else if("load"===t){var c;"complete"===document.readyState?n._whiteScreenTest(t):(window.addEventListener("load",c=function(){n._whiteScreenTest(t)}),n.observers.push((function(){window.removeEventListener("load",c)})))}else if("function"==typeof t)try{var l=t((function(){n._whiteScreenTest()}));"function"==typeof l&&n.observers.push(l)}catch(t){}}))},c.prototype._whiteScreenTest=function(t){try{if(t=t||"custom",(0,o.default)()-this.lastTestTime<this.delay)return;this.lastTestTime=(0,o.default)();var e=document.body;if(!e)return;for(var n,r,i,a,s=0,c=["SCRIPT","STYLE","NOSCRIPT","TEMPLATE","META","LINK"],l=[[e,1]];l.length>0;){var f=l.shift(),d=f[0],h=f[1];if(d.nodeType===Node.ELEMENT_NODE&&!u(c,d.tagName)&&(this._isVisibleElement(d)&&(s+=1/Math.pow(2,h-1)),"0"!=d.style.opacity))for(var p=0;p<d.children.length;p++){var v=d.children[p];l.push([v,h+1])}}if(this.EMAS_APM.printLog.debug("emas-apm-whiteScreen","domScore: "+s),s<1.5)this.send({eventTime:null!==(n=(0,o.default)())&&void 0!==n?n:"",reason:null!==(r=t)&&void 0!==r?r:"",uri:null!==(i=window.location.href)&&void 0!==i?i:"",domScore:null!==(a=s)&&void 0!==a?a:""})}catch(t){}},c.prototype._isVisibleElement=function(t){try{if(!t)return!1;var e=window.getComputedStyle(t);if("none"===e.display)return!1;if("hidden"===e.visibility)return!1;if("0"===e.opacity)return!1;var n=t.getBoundingClientRect();return 0!==n.height&&0!==n.width&&!(n.bottom<0||n.right<0||n.top>(window.innerHeight||document.documentElement.clientHeight)||n.left>(window.innerWidth||document.documentElement.clientWidth))}catch(t){}},c.prototype.send=function(t){this.EMAS_APM.printLog.debug("emas-apm-whiteScreen",(0,a.default)(t)),this.EMAS_APM.log("whiteScreen",t)};e.default=c}]);