mazey 3.6.1 → 3.6.3

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/README.md CHANGED
@@ -1,4 +1,4 @@
1
- English | [简体中文](https://github.com/mazeyqian/mazey/blob/master/README_CN.md)
1
+ English | [简体中文](https://github.com/mazeyqian/mazey/blob/master/README_ZH.md)
2
2
 
3
3
  # mazey
4
4
 
@@ -10,7 +10,7 @@ English | [简体中文](https://github.com/mazeyqian/mazey/blob/master/README_C
10
10
  [l-image]: https://img.shields.io/npm/l/mazey
11
11
  [l-url]: https://github.com/mazeyqian/mazey
12
12
 
13
- Mazey's functional library for daily front-end work. There are already many excellent libraries for front-end development, but creating a file named UtilsJS or CommonJS is generally used to supply common functions in projects. It's boring to copy similar functions among projects again and again. Therefore, I will consistently update the library during my work life to save time.
13
+ Mazey's functional library for daily front-end work. There are already many excellent libraries for front-end development, but creating a file named `utils.js` or `common.js` is generally used to supply common functions in projects. It's boring to copy similar functions across multiple projects. That's why I've created this library and will keep updating it to serve as a reliable resource for front-end needs.
14
14
 
15
15
  ## Install
16
16
 
@@ -801,19 +801,19 @@ Output:
801
801
 
802
802
  Results:
803
803
 
804
- | Index | Field | Description |
805
- | --- | --- | --- |
806
- | DNS lookup | dns_time | domainLookupEnd - domainLookupStart |
807
- | Connection negotiation | tcp_time | connectEnd - connectStart |
808
- | Requests and responses | response_time | responseStart - requestStart |
809
- | White screen | white_time | responseStart - navigationStart |
810
- | DomReady | domready_time | domContentLoadedEventStart - navigationStart |
811
- | Onload | onload_time | loadEventStart - navigationStart |
812
- | EventEnd | render_time | loadEventEnd -navigationStart |
813
- | Unload | unload_time | (Optional) unloadEventEnd - unloadEventStart |
814
- | Redirect | redirect_time | (Optional) redirectEnd - redirectStart |
815
- | SSL | ssl_time | (Optional) connectEnd - secureConnectionStart |
816
- | Download | download_time | (Optional) responseEnd - responseStart |
804
+ | Attribute | Description | Type | Values |
805
+ | --- | --- | --- | --- |
806
+ | dns_time | DNS Lookup | number | domainLookupEnd - domainLookupStart |
807
+ | tcp_time | Connection Negotiation | number | connectEnd - connectStart |
808
+ | response_time | Requests and Responses | number | responseStart - requestStart |
809
+ | white_time | White Screen | number | responseStart - navigationStart |
810
+ | domready_time | DomReady | number | domContentLoadedEventStart - navigationStart |
811
+ | onload_time | Onload | number | loadEventStart - navigationStart |
812
+ | render_time | EventEnd | number | loadEventEnd -navigationStart |
813
+ | unload_time | Unload | number | (Optional) unloadEventEnd - unloadEventStart |
814
+ | redirect_time | Redirect | number | (Optional) redirectEnd - redirectStart |
815
+ | ssl_time | SSL | number | (Optional) connectEnd - secureConnectionStart |
816
+ | download_time | Download | number | (Optional) responseEnd - responseStart |
817
817
 
818
818
  <!-- @param {boolean} camelCase -- false(默认) 以下划线形式返回数据 true 以驼峰形式返回数据
819
819
  @returns {Promise<object>} 加载数据
package/lib/index.cjs.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * mazey v3.6.1
2
+ * mazey v3.6.3
3
3
  * (c) 2018-2023 Mazey Chu
4
4
  * Released under the MIT License.
5
5
  */
@@ -5256,19 +5256,19 @@ function getCookie(name) {
5256
5256
  *
5257
5257
  * Results:
5258
5258
  *
5259
- * | Index | Field | Description |
5260
- * | --- | --- | --- |
5261
- * | DNS lookup | dns_time | domainLookupEnd - domainLookupStart |
5262
- * | Connection negotiation | tcp_time | connectEnd - connectStart |
5263
- * | Requests and responses | response_time | responseStart - requestStart |
5264
- * | White screen | white_time | responseStart - navigationStart |
5265
- * | DomReady | domready_time | domContentLoadedEventStart - navigationStart |
5266
- * | Onload | onload_time | loadEventStart - navigationStart |
5267
- * | EventEnd | render_time | loadEventEnd -navigationStart |
5268
- * | Unload | unload_time | (Optional) unloadEventEnd - unloadEventStart |
5269
- * | Redirect | redirect_time | (Optional) redirectEnd - redirectStart |
5270
- * | SSL | ssl_time | (Optional) connectEnd - secureConnectionStart |
5271
- * | Download | download_time | (Optional) responseEnd - responseStart |
5259
+ * | Attribute | Description | Type | Values |
5260
+ * | --- | --- | --- | --- |
5261
+ * | dns_time | DNS Lookup | number | domainLookupEnd - domainLookupStart |
5262
+ * | tcp_time | Connection Negotiation | number | connectEnd - connectStart |
5263
+ * | response_time | Requests and Responses | number | responseStart - requestStart |
5264
+ * | white_time | White Screen | number | responseStart - navigationStart |
5265
+ * | domready_time | DomReady | number | domContentLoadedEventStart - navigationStart |
5266
+ * | onload_time | Onload | number | loadEventStart - navigationStart |
5267
+ * | render_time | EventEnd | number | loadEventEnd -navigationStart |
5268
+ * | unload_time | Unload | number | (Optional) unloadEventEnd - unloadEventStart |
5269
+ * | redirect_time | Redirect | number | (Optional) redirectEnd - redirectStart |
5270
+ * | ssl_time | SSL | number | (Optional) connectEnd - secureConnectionStart |
5271
+ * | download_time | Download | number | (Optional) responseEnd - responseStart |
5272
5272
  *
5273
5273
  * @param {boolean} camelCase -- false(默认) 以下划线形式返回数据 true 以驼峰形式返回数据
5274
5274
  * @returns {Promise<object>} 加载数据
@@ -6450,6 +6450,34 @@ function isValidEmail(email) {
6450
6450
  var reg = /^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;
6451
6451
  return reg.test(email);
6452
6452
  }
6453
+ /**
6454
+ * Convert a given 10-hex number to a lowercase 26-hex string.
6455
+ *
6456
+ * @example
6457
+ * ```js
6458
+ * console.log(convert10To26(1)); // a
6459
+ * console.log(convert10To26(26)); // z
6460
+ * console.log(convert10To26(27)); // aa
6461
+ * console.log(convert10To26(52)); // az
6462
+ * console.log(convert10To26(53)); // ba
6463
+ * ```
6464
+ *
6465
+ * @param {number} num
6466
+ * @returns {string} Return a lowercase 26-hex string.
6467
+ * @category Util
6468
+ */
6469
+ function convert10To26(num) {
6470
+ var result = '';
6471
+ while (num > 0) {
6472
+ var remainder = num % 26;
6473
+ if (remainder === 0) {
6474
+ remainder = 26;
6475
+ }
6476
+ result = String.fromCharCode(remainder + 96) + result;
6477
+ num = (num - remainder) / 26;
6478
+ }
6479
+ return result;
6480
+ }
6453
6481
 
6454
6482
  exports.addClass = addClass;
6455
6483
  exports.addEvent = addEvent;
@@ -6460,6 +6488,7 @@ exports.camelCase2Underscore = camelCase2Underscore;
6460
6488
  exports.camelCaseToKebabCase = camelCaseToKebabCase;
6461
6489
  exports.cancelBubble = cancelBubble;
6462
6490
  exports.clearHtml = clearHtml;
6491
+ exports.convert10To26 = convert10To26;
6463
6492
  exports.cutCHSString = cutCHSString;
6464
6493
  exports.debounce = debounce;
6465
6494
  exports.deepCopyObject = deepCopyObject;
package/lib/index.d.ts CHANGED
@@ -653,19 +653,19 @@ interface WebPerformance {
653
653
  *
654
654
  * Results:
655
655
  *
656
- * | Index | Field | Description |
657
- * | --- | --- | --- |
658
- * | DNS lookup | dns_time | domainLookupEnd - domainLookupStart |
659
- * | Connection negotiation | tcp_time | connectEnd - connectStart |
660
- * | Requests and responses | response_time | responseStart - requestStart |
661
- * | White screen | white_time | responseStart - navigationStart |
662
- * | DomReady | domready_time | domContentLoadedEventStart - navigationStart |
663
- * | Onload | onload_time | loadEventStart - navigationStart |
664
- * | EventEnd | render_time | loadEventEnd -navigationStart |
665
- * | Unload | unload_time | (Optional) unloadEventEnd - unloadEventStart |
666
- * | Redirect | redirect_time | (Optional) redirectEnd - redirectStart |
667
- * | SSL | ssl_time | (Optional) connectEnd - secureConnectionStart |
668
- * | Download | download_time | (Optional) responseEnd - responseStart |
656
+ * | Attribute | Description | Type | Values |
657
+ * | --- | --- | --- | --- |
658
+ * | dns_time | DNS Lookup | number | domainLookupEnd - domainLookupStart |
659
+ * | tcp_time | Connection Negotiation | number | connectEnd - connectStart |
660
+ * | response_time | Requests and Responses | number | responseStart - requestStart |
661
+ * | white_time | White Screen | number | responseStart - navigationStart |
662
+ * | domready_time | DomReady | number | domContentLoadedEventStart - navigationStart |
663
+ * | onload_time | Onload | number | loadEventStart - navigationStart |
664
+ * | render_time | EventEnd | number | loadEventEnd -navigationStart |
665
+ * | unload_time | Unload | number | (Optional) unloadEventEnd - unloadEventStart |
666
+ * | redirect_time | Redirect | number | (Optional) redirectEnd - redirectStart |
667
+ * | ssl_time | SSL | number | (Optional) connectEnd - secureConnectionStart |
668
+ * | download_time | Download | number | (Optional) responseEnd - responseStart |
669
669
  *
670
670
  * @param {boolean} camelCase -- false(默认) 以下划线形式返回数据 true 以驼峰形式返回数据
671
671
  * @returns {Promise<object>} 加载数据
@@ -1093,5 +1093,22 @@ export declare function isValidPhoneNumber(mobile: string): boolean;
1093
1093
  * @category Util
1094
1094
  */
1095
1095
  export declare function isValidEmail(email: string): boolean;
1096
+ /**
1097
+ * Convert a given 10-hex number to a lowercase 26-hex string.
1098
+ *
1099
+ * @example
1100
+ * ```js
1101
+ * console.log(convert10To26(1)); // a
1102
+ * console.log(convert10To26(26)); // z
1103
+ * console.log(convert10To26(27)); // aa
1104
+ * console.log(convert10To26(52)); // az
1105
+ * console.log(convert10To26(53)); // ba
1106
+ * ```
1107
+ *
1108
+ * @param {number} num
1109
+ * @returns {string} Return a lowercase 26-hex string.
1110
+ * @category Util
1111
+ */
1112
+ export declare function convert10To26(num: number): string;
1096
1113
  export {};
1097
1114
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,MAAM,CAqB5E;AAED;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAgB,2BAA2B,CACzC,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,MAAM,GACX,MAAM,CA8BR;AAED;;;;;;;;;;;;;GAaG;AACH,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,aAAa,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAWjD"}
package/lib/index.esm.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * mazey v3.6.1
2
+ * mazey v3.6.3
3
3
  * (c) 2018-2023 Mazey Chu
4
4
  * Released under the MIT License.
5
5
  */
@@ -5252,19 +5252,19 @@ function getCookie(name) {
5252
5252
  *
5253
5253
  * Results:
5254
5254
  *
5255
- * | Index | Field | Description |
5256
- * | --- | --- | --- |
5257
- * | DNS lookup | dns_time | domainLookupEnd - domainLookupStart |
5258
- * | Connection negotiation | tcp_time | connectEnd - connectStart |
5259
- * | Requests and responses | response_time | responseStart - requestStart |
5260
- * | White screen | white_time | responseStart - navigationStart |
5261
- * | DomReady | domready_time | domContentLoadedEventStart - navigationStart |
5262
- * | Onload | onload_time | loadEventStart - navigationStart |
5263
- * | EventEnd | render_time | loadEventEnd -navigationStart |
5264
- * | Unload | unload_time | (Optional) unloadEventEnd - unloadEventStart |
5265
- * | Redirect | redirect_time | (Optional) redirectEnd - redirectStart |
5266
- * | SSL | ssl_time | (Optional) connectEnd - secureConnectionStart |
5267
- * | Download | download_time | (Optional) responseEnd - responseStart |
5255
+ * | Attribute | Description | Type | Values |
5256
+ * | --- | --- | --- | --- |
5257
+ * | dns_time | DNS Lookup | number | domainLookupEnd - domainLookupStart |
5258
+ * | tcp_time | Connection Negotiation | number | connectEnd - connectStart |
5259
+ * | response_time | Requests and Responses | number | responseStart - requestStart |
5260
+ * | white_time | White Screen | number | responseStart - navigationStart |
5261
+ * | domready_time | DomReady | number | domContentLoadedEventStart - navigationStart |
5262
+ * | onload_time | Onload | number | loadEventStart - navigationStart |
5263
+ * | render_time | EventEnd | number | loadEventEnd -navigationStart |
5264
+ * | unload_time | Unload | number | (Optional) unloadEventEnd - unloadEventStart |
5265
+ * | redirect_time | Redirect | number | (Optional) redirectEnd - redirectStart |
5266
+ * | ssl_time | SSL | number | (Optional) connectEnd - secureConnectionStart |
5267
+ * | download_time | Download | number | (Optional) responseEnd - responseStart |
5268
5268
  *
5269
5269
  * @param {boolean} camelCase -- false(默认) 以下划线形式返回数据 true 以驼峰形式返回数据
5270
5270
  * @returns {Promise<object>} 加载数据
@@ -6446,5 +6446,33 @@ function isValidEmail(email) {
6446
6446
  var reg = /^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;
6447
6447
  return reg.test(email);
6448
6448
  }
6449
+ /**
6450
+ * Convert a given 10-hex number to a lowercase 26-hex string.
6451
+ *
6452
+ * @example
6453
+ * ```js
6454
+ * console.log(convert10To26(1)); // a
6455
+ * console.log(convert10To26(26)); // z
6456
+ * console.log(convert10To26(27)); // aa
6457
+ * console.log(convert10To26(52)); // az
6458
+ * console.log(convert10To26(53)); // ba
6459
+ * ```
6460
+ *
6461
+ * @param {number} num
6462
+ * @returns {string} Return a lowercase 26-hex string.
6463
+ * @category Util
6464
+ */
6465
+ function convert10To26(num) {
6466
+ var result = '';
6467
+ while (num > 0) {
6468
+ var remainder = num % 26;
6469
+ if (remainder === 0) {
6470
+ remainder = 26;
6471
+ }
6472
+ result = String.fromCharCode(remainder + 96) + result;
6473
+ num = (num - remainder) / 26;
6474
+ }
6475
+ return result;
6476
+ }
6449
6477
 
6450
- export { addClass, addEvent, addStyle, calLongestCommonSubsequence, calLongestCommonSubstring, camelCase2Underscore, camelCaseToKebabCase, cancelBubble, clearHtml, cutCHSString, debounce, deepCopyObject, doFn, floatFixed, floatToPercent, formatDate, friendlyInterval, genCustomConsole, genHashCode, generateRndNum, generateUniqueNum, getBrowserInfo, getCookie, getDefineListeners, getDomain, getFileSize, getHashQueryParam, getLocalStorage, getPerformance, getQueryParam, getSessionStorage, getUrlParam, hasClass, inRate, invokeEvent, isJsonString, isNonEmptyArray, isNumber, isSafePWAEnv, isSupportWebp, isValidData, isValidEmail, isValidPhoneNumber, isValidUrl, loadCSS, loadScript, mNow, mTrim, newLine, removeClass, removeEvent, setCookie, setLocalStorage, setSessionStorage, throttle, updateQueryParam, windowLoaded, zAxiosIsValidRes };
6478
+ export { addClass, addEvent, addStyle, calLongestCommonSubsequence, calLongestCommonSubstring, camelCase2Underscore, camelCaseToKebabCase, cancelBubble, clearHtml, convert10To26, cutCHSString, debounce, deepCopyObject, doFn, floatFixed, floatToPercent, formatDate, friendlyInterval, genCustomConsole, genHashCode, generateRndNum, generateUniqueNum, getBrowserInfo, getCookie, getDefineListeners, getDomain, getFileSize, getHashQueryParam, getLocalStorage, getPerformance, getQueryParam, getSessionStorage, getUrlParam, hasClass, inRate, invokeEvent, isJsonString, isNonEmptyArray, isNumber, isSafePWAEnv, isSupportWebp, isValidData, isValidEmail, isValidPhoneNumber, isValidUrl, loadCSS, loadScript, mNow, mTrim, newLine, removeClass, removeEvent, setCookie, setLocalStorage, setSessionStorage, throttle, updateQueryParam, windowLoaded, zAxiosIsValidRes };
package/lib/mazey.min.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /*!
2
- * mazey v3.6.1
2
+ * mazey v3.6.3
3
3
  * (c) 2018-2023 Mazey Chu
4
4
  * Released under the MIT License.
5
5
  */
6
- var mazey=function(e){"use strict";var t="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function n(e,t){return e(t={exports:{}},t.exports),t.exports}var r,o,i,a=n((function(e){function t(n){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})),c=(r=a)&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r,u=function(e){return e&&e.Math==Math&&e},f=u("object"==typeof globalThis&&globalThis)||u("object"==typeof window&&window)||u("object"==typeof self&&self)||u("object"==typeof t&&t)||function(){return this}()||Function("return this")(),s=function(e){try{return!!e()}catch(e){return!0}},l=!s((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),d=!s((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})),p=Function.prototype.call,g=d?p.bind(p):function(){return p.apply(p,arguments)},v={}.propertyIsEnumerable,h=Object.getOwnPropertyDescriptor,m={f:h&&!v.call({1:2},1)?function(e){var t=h(this,e);return!!t&&t.enumerable}:v},y=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},w=Function.prototype,b=w.call,S=d&&w.bind.bind(b,b),E=d?S:function(e){return function(){return b.apply(e,arguments)}},x=E({}.toString),O=E("".slice),T=function(e){return O(x(e),8,-1)},A=Object,j=E("".split),I=s((function(){return!A("z").propertyIsEnumerable(0)}))?function(e){return"String"==T(e)?j(e,""):A(e)}:A,R=function(e){return null==e},M=TypeError,N=function(e){if(R(e))throw M("Can't call method on "+e);return e},P=function(e){return I(N(e))},C="object"==typeof document&&document.all,_={all:C,IS_HTMLDDA:void 0===C&&void 0!==C},k=_.all,L=_.IS_HTMLDDA?function(e){return"function"==typeof e||e===k}:function(e){return"function"==typeof e},D=_.all,F=_.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:L(e)||e===D}:function(e){return"object"==typeof e?null!==e:L(e)},U=function(e,t){return arguments.length<2?(n=f[e],L(n)?n:void 0):f[e]&&f[e][t];var n},B=E({}.isPrototypeOf),$="undefined"!=typeof navigator&&String(navigator.userAgent)||"",V=f.process,z=f.Deno,q=V&&V.versions||z&&z.version,G=q&&q.v8;G&&(i=(o=G.split("."))[0]>0&&o[0]<4?1:+(o[0]+o[1])),!i&&$&&(!(o=$.match(/Edge\/(\d+)/))||o[1]>=74)&&(o=$.match(/Chrome\/(\d+)/))&&(i=+o[1]);var H=i,W=!!Object.getOwnPropertySymbols&&!s((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&H&&H<41})),Y=W&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,J=Object,K=Y?function(e){return"symbol"==typeof e}:function(e){var t=U("Symbol");return L(t)&&B(t.prototype,J(e))},Z=String,X=function(e){try{return Z(e)}catch(e){return"Object"}},Q=TypeError,ee=function(e){if(L(e))return e;throw Q(X(e)+" is not a function")},te=function(e,t){var n=e[t];return R(n)?void 0:ee(n)},ne=TypeError,re=Object.defineProperty,oe=function(e,t){try{re(f,e,{value:t,configurable:!0,writable:!0})}catch(n){f[e]=t}return t},ie="__core-js_shared__",ae=f[ie]||oe(ie,{}),ce=n((function(e){(e.exports=function(e,t){return ae[e]||(ae[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.29.1",mode:"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.29.1/LICENSE",source:"https://github.com/zloirock/core-js"})})),ue=Object,fe=function(e){return ue(N(e))},se=E({}.hasOwnProperty),le=Object.hasOwn||function(e,t){return se(fe(e),t)},de=0,pe=Math.random(),ge=E(1..toString),ve=function(e){return"Symbol("+(void 0===e?"":e)+")_"+ge(++de+pe,36)},he=f.Symbol,me=ce("wks"),ye=Y?he.for||he:he&&he.withoutSetter||ve,we=function(e){return le(me,e)||(me[e]=W&&le(he,e)?he[e]:ye("Symbol."+e)),me[e]},be=TypeError,Se=we("toPrimitive"),Ee=function(e,t){if(!F(e)||K(e))return e;var n,r=te(e,Se);if(r){if(void 0===t&&(t="default"),n=g(r,e,t),!F(n)||K(n))return n;throw be("Can't convert object to primitive value")}return void 0===t&&(t="number"),function(e,t){var n,r;if("string"===t&&L(n=e.toString)&&!F(r=g(n,e)))return r;if(L(n=e.valueOf)&&!F(r=g(n,e)))return r;if("string"!==t&&L(n=e.toString)&&!F(r=g(n,e)))return r;throw ne("Can't convert object to primitive value")}(e,t)},xe=function(e){var t=Ee(e,"string");return K(t)?t:t+""},Oe=f.document,Te=F(Oe)&&F(Oe.createElement),Ae=function(e){return Te?Oe.createElement(e):{}},je=!l&&!s((function(){return 7!=Object.defineProperty(Ae("div"),"a",{get:function(){return 7}}).a})),Ie=Object.getOwnPropertyDescriptor,Re={f:l?Ie:function(e,t){if(e=P(e),t=xe(t),je)try{return Ie(e,t)}catch(e){}if(le(e,t))return y(!g(m.f,e,t),e[t])}},Me=l&&s((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Ne=String,Pe=TypeError,Ce=function(e){if(F(e))return e;throw Pe(Ne(e)+" is not an object")},_e=TypeError,ke=Object.defineProperty,Le=Object.getOwnPropertyDescriptor,De="enumerable",Fe="configurable",Ue="writable",Be={f:l?Me?function(e,t,n){if(Ce(e),t=xe(t),Ce(n),"function"==typeof e&&"prototype"===t&&"value"in n&&Ue in n&&!n[Ue]){var r=Le(e,t);r&&r[Ue]&&(e[t]=n.value,n={configurable:Fe in n?n[Fe]:r[Fe],enumerable:De in n?n[De]:r[De],writable:!1})}return ke(e,t,n)}:ke:function(e,t,n){if(Ce(e),t=xe(t),Ce(n),je)try{return ke(e,t,n)}catch(e){}if("get"in n||"set"in n)throw _e("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},$e=l?function(e,t,n){return Be.f(e,t,y(1,n))}:function(e,t,n){return e[t]=n,e},Ve=Function.prototype,ze=l&&Object.getOwnPropertyDescriptor,qe=le(Ve,"name"),Ge={EXISTS:qe,PROPER:qe&&"something"===function(){}.name,CONFIGURABLE:qe&&(!l||l&&ze(Ve,"name").configurable)},He=E(Function.toString);L(ae.inspectSource)||(ae.inspectSource=function(e){return He(e)});var We,Ye,Je,Ke=ae.inspectSource,Ze=f.WeakMap,Xe=L(Ze)&&/native code/.test(String(Ze)),Qe=ce("keys"),et=function(e){return Qe[e]||(Qe[e]=ve(e))},tt={},nt="Object already initialized",rt=f.TypeError,ot=f.WeakMap;if(Xe||ae.state){var it=ae.state||(ae.state=new ot);it.get=it.get,it.has=it.has,it.set=it.set,We=function(e,t){if(it.has(e))throw rt(nt);return t.facade=e,it.set(e,t),t},Ye=function(e){return it.get(e)||{}},Je=function(e){return it.has(e)}}else{var at=et("state");tt[at]=!0,We=function(e,t){if(le(e,at))throw rt(nt);return t.facade=e,$e(e,at,t),t},Ye=function(e){return le(e,at)?e[at]:{}},Je=function(e){return le(e,at)}}var ct,ut={set:We,get:Ye,has:Je,enforce:function(e){return Je(e)?Ye(e):We(e,{})},getterFor:function(e){return function(t){var n;if(!F(t)||(n=Ye(t)).type!==e)throw rt("Incompatible receiver, "+e+" required");return n}}},ft=n((function(e){var t=Ge.CONFIGURABLE,n=ut.enforce,r=ut.get,o=String,i=Object.defineProperty,a=E("".slice),c=E("".replace),u=E([].join),f=l&&!s((function(){return 8!==i((function(){}),"length",{value:8}).length})),d=String(String).split("String"),p=e.exports=function(e,r,s){"Symbol("===a(o(r),0,7)&&(r="["+c(o(r),/^Symbol\(([^)]*)\)/,"$1")+"]"),s&&s.getter&&(r="get "+r),s&&s.setter&&(r="set "+r),(!le(e,"name")||t&&e.name!==r)&&(l?i(e,"name",{value:r,configurable:!0}):e.name=r),f&&s&&le(s,"arity")&&e.length!==s.arity&&i(e,"length",{value:s.arity});try{s&&le(s,"constructor")&&s.constructor?l&&i(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var p=n(e);return le(p,"source")||(p.source=u(d,"string"==typeof r?r:"")),e};Function.prototype.toString=p((function(){return L(this)&&r(this).source||Ke(this)}),"toString")})),st=function(e,t,n,r){r||(r={});var o=r.enumerable,i=void 0!==r.name?r.name:t;if(L(n)&&ft(n,i,r),r.global)o?e[t]=n:oe(t,n);else{try{r.unsafe?e[t]&&(o=!0):delete e[t]}catch(e){}o?e[t]=n:Be.f(e,t,{value:n,enumerable:!1,configurable:!r.nonConfigurable,writable:!r.nonWritable})}return e},lt=Math.ceil,dt=Math.floor,pt=Math.trunc||function(e){var t=+e;return(t>0?dt:lt)(t)},gt=function(e){var t=+e;return t!=t||0===t?0:pt(t)},vt=Math.max,ht=Math.min,mt=function(e,t){var n=gt(e);return n<0?vt(n+t,0):ht(n,t)},yt=Math.min,wt=function(e){return e>0?yt(gt(e),9007199254740991):0},bt=function(e){return wt(e.length)},St=function(e){return function(t,n,r){var o,i=P(t),a=bt(i),c=mt(r,a);if(e&&n!=n){for(;a>c;)if((o=i[c++])!=o)return!0}else for(;a>c;c++)if((e||c in i)&&i[c]===n)return e||c||0;return!e&&-1}},Et={includes:St(!0),indexOf:St(!1)},xt=Et.indexOf,Ot=E([].push),Tt=function(e,t){var n,r=P(e),o=0,i=[];for(n in r)!le(tt,n)&&le(r,n)&&Ot(i,n);for(;t.length>o;)le(r,n=t[o++])&&(~xt(i,n)||Ot(i,n));return i},At=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],jt=At.concat("length","prototype"),It={f:Object.getOwnPropertyNames||function(e){return Tt(e,jt)}},Rt={f:Object.getOwnPropertySymbols},Mt=E([].concat),Nt=U("Reflect","ownKeys")||function(e){var t=It.f(Ce(e)),n=Rt.f;return n?Mt(t,n(e)):t},Pt=function(e,t,n){for(var r=Nt(t),o=Be.f,i=Re.f,a=0;a<r.length;a++){var c=r[a];le(e,c)||n&&le(n,c)||o(e,c,i(t,c))}},Ct=/#|\.prototype\./,_t=function(e,t){var n=Lt[kt(e)];return n==Ft||n!=Dt&&(L(t)?s(t):!!t)},kt=_t.normalize=function(e){return String(e).replace(Ct,".").toLowerCase()},Lt=_t.data={},Dt=_t.NATIVE="N",Ft=_t.POLYFILL="P",Ut=_t,Bt=Re.f,$t=function(e,t){var n,r,o,i,a,c=e.target,u=e.global,s=e.stat;if(n=u?f:s?f[c]||oe(c,{}):(f[c]||{}).prototype)for(r in t){if(i=t[r],o=e.dontCallGetSet?(a=Bt(n,r))&&a.value:n[r],!Ut(u?r:c+(s?".":"#")+r,e.forced)&&void 0!==o){if(typeof i==typeof o)continue;Pt(i,o)}(e.sham||o&&o.sham)&&$e(i,"sham",!0),st(n,r,i,e)}},Vt=Object.keys||function(e){return Tt(e,At)},zt=l&&!Me?Object.defineProperties:function(e,t){Ce(e);for(var n,r=P(t),o=Vt(t),i=o.length,a=0;i>a;)Be.f(e,n=o[a++],r[n]);return e},qt={f:zt},Gt=U("document","documentElement"),Ht="prototype",Wt="script",Yt=et("IE_PROTO"),Jt=function(){},Kt=function(e){return"<"+Wt+">"+e+"</"+Wt+">"},Zt=function(e){e.write(Kt("")),e.close();var t=e.parentWindow.Object;return e=null,t},Xt=function(){try{ct=new ActiveXObject("htmlfile")}catch(e){}var e,t,n;Xt="undefined"!=typeof document?document.domain&&ct?Zt(ct):(t=Ae("iframe"),n="java"+Wt+":",t.style.display="none",Gt.appendChild(t),t.src=String(n),(e=t.contentWindow.document).open(),e.write(Kt("document.F=Object")),e.close(),e.F):Zt(ct);for(var r=At.length;r--;)delete Xt[Ht][At[r]];return Xt()};tt[Yt]=!0;var Qt=Object.create||function(e,t){var n;return null!==e?(Jt[Ht]=Ce(e),n=new Jt,Jt[Ht]=null,n[Yt]=e):n=Xt(),void 0===t?n:qt.f(n,t)},en=Be.f,tn=we("unscopables"),nn=Array.prototype;null==nn[tn]&&en(nn,tn,{configurable:!0,value:Qt(null)});var rn=function(e){nn[tn][e]=!0};$t({target:"Array",proto:!0},{fill:function(e){for(var t=fe(this),n=bt(t),r=arguments.length,o=mt(r>1?arguments[1]:void 0,n),i=r>2?arguments[2]:void 0,a=void 0===i?n:mt(i,n);a>o;)t[o++]=e;return t}}),rn("fill");var on=Array.isArray||function(e){return"Array"==T(e)},an=TypeError,cn=function(e){if(e>9007199254740991)throw an("Maximum allowed index exceeded");return e},un=function(e,t,n){var r=xe(t);r in e?Be.f(e,r,y(0,n)):e[r]=n},fn={};fn[we("toStringTag")]="z";var sn="[object z]"===String(fn),ln=we("toStringTag"),dn=Object,pn="Arguments"==T(function(){return arguments}()),gn=sn?T:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=dn(e),ln))?n:pn?T(t):"Object"==(r=T(t))&&L(t.callee)?"Arguments":r},vn=function(){},hn=[],mn=U("Reflect","construct"),yn=/^\s*(?:class|function)\b/,wn=E(yn.exec),bn=!yn.exec(vn),Sn=function(e){if(!L(e))return!1;try{return mn(vn,hn,e),!0}catch(e){return!1}},En=function(e){if(!L(e))return!1;switch(gn(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return bn||!!wn(yn,Ke(e))}catch(e){return!0}};En.sham=!0;var xn=!mn||s((function(){var e;return Sn(Sn.call)||!Sn(Object)||!Sn((function(){e=!0}))||e}))?En:Sn,On=we("species"),Tn=Array,An=function(e,t){return new(function(e){var t;return on(e)&&(t=e.constructor,(xn(t)&&(t===Tn||on(t.prototype))||F(t)&&null===(t=t[On]))&&(t=void 0)),void 0===t?Tn:t}(e))(0===t?0:t)},jn=we("species"),In=function(e){return H>=51||!s((function(){var t=[];return(t.constructor={})[jn]=function(){return{foo:1}},1!==t[e](Boolean).foo}))},Rn=we("isConcatSpreadable"),Mn=H>=51||!s((function(){var e=[];return e[Rn]=!1,e.concat()[0]!==e})),Nn=function(e){if(!F(e))return!1;var t=e[Rn];return void 0!==t?!!t:on(e)};$t({target:"Array",proto:!0,arity:1,forced:!Mn||!In("concat")},{concat:function(e){var t,n,r,o,i,a=fe(this),c=An(a,0),u=0;for(t=-1,r=arguments.length;t<r;t++)if(Nn(i=-1===t?a:arguments[t]))for(o=bt(i),cn(u+o),n=0;n<o;n++,u++)n in i&&un(c,u,i[n]);else cn(u+1),un(c,u++,i);return c.length=u,c}});var Pn=String,Cn=TypeError,_n=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{e=function(e,t,n){try{return E(ee(Object.getOwnPropertyDescriptor(e,t)[n]))}catch(e){}}(Object.prototype,"__proto__","set"),e(n,[]),t=n instanceof Array}catch(e){}return function(n,r){return Ce(n),function(e){if("object"==typeof e||L(e))return e;throw Cn("Can't set "+Pn(e)+" as a prototype")}(r),t?e(n,r):n.__proto__=r,n}}():void 0),kn=function(e,t,n){var r,o;return _n&&L(r=t.constructor)&&r!==n&&F(o=r.prototype)&&o!==n.prototype&&_n(e,o),e},Ln=we("match"),Dn=function(e){var t;return F(e)&&(void 0!==(t=e[Ln])?!!t:"RegExp"==T(e))},Fn=String,Un=function(e){if("Symbol"===gn(e))throw TypeError("Cannot convert a Symbol value to a string");return Fn(e)},Bn=function(){var e=Ce(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t},$n=RegExp.prototype,Vn=function(e){var t=e.flags;return void 0!==t||"flags"in $n||le(e,"flags")||!B($n,e)?t:g(Bn,e)},zn=f.RegExp,qn=s((function(){var e=zn("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),Gn=qn||s((function(){return!zn("a","y").sticky})),Hn={BROKEN_CARET:qn||s((function(){var e=zn("^r","gy");return e.lastIndex=2,null!=e.exec("str")})),MISSED_STICKY:Gn,UNSUPPORTED_Y:qn},Wn=Be.f,Yn=function(e,t,n){n in e||Wn(e,n,{configurable:!0,get:function(){return t[n]},set:function(e){t[n]=e}})},Jn=function(e,t,n){return n.get&&ft(n.get,t,{getter:!0}),n.set&&ft(n.set,t,{setter:!0}),Be.f(e,t,n)},Kn=we("species"),Zn=function(e){var t=U(e);l&&t&&!t[Kn]&&Jn(t,Kn,{configurable:!0,get:function(){return this}})},Xn=f.RegExp,Qn=s((function(){var e=Xn(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)})),er=f.RegExp,tr=s((function(){var e=er("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")})),nr=It.f,rr=ut.enforce,or=we("match"),ir=f.RegExp,ar=ir.prototype,cr=f.SyntaxError,ur=E(ar.exec),fr=E("".charAt),sr=E("".replace),lr=E("".indexOf),dr=E("".slice),pr=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,gr=/a/g,vr=/a/g,hr=new ir(gr)!==gr,mr=Hn.MISSED_STICKY,yr=Hn.UNSUPPORTED_Y,wr=l&&(!hr||mr||Qn||tr||s((function(){return vr[or]=!1,ir(gr)!=gr||ir(vr)==vr||"/a/i"!=ir(gr,"i")})));if(Ut("RegExp",wr)){for(var br=function(e,t){var n,r,o,i,a,c,u=B(ar,this),f=Dn(e),s=void 0===t,l=[],d=e;if(!u&&f&&s&&e.constructor===br)return e;if((f||B(ar,e))&&(e=e.source,s&&(t=Vn(d))),e=void 0===e?"":Un(e),t=void 0===t?"":Un(t),d=e,Qn&&"dotAll"in gr&&(r=!!t&&lr(t,"s")>-1)&&(t=sr(t,/s/g,"")),n=t,mr&&"sticky"in gr&&(o=!!t&&lr(t,"y")>-1)&&yr&&(t=sr(t,/y/g,"")),tr&&(i=function(e){for(var t,n=e.length,r=0,o="",i=[],a={},c=!1,u=!1,f=0,s="";r<=n;r++){if("\\"===(t=fr(e,r)))t+=fr(e,++r);else if("]"===t)c=!1;else if(!c)switch(!0){case"["===t:c=!0;break;case"("===t:ur(pr,dr(e,r+1))&&(r+=2,u=!0),o+=t,f++;continue;case">"===t&&u:if(""===s||le(a,s))throw new cr("Invalid capture group name");a[s]=!0,i[i.length]=[s,f],u=!1,s="";continue}u?s+=t:o+=t}return[o,i]}(e),e=i[0],l=i[1]),a=kn(ir(e,t),u?this:ar,br),(r||o||l.length)&&(c=rr(a),r&&(c.dotAll=!0,c.raw=br(function(e){for(var t,n=e.length,r=0,o="",i=!1;r<=n;r++)"\\"!==(t=fr(e,r))?i||"."!==t?("["===t?i=!0:"]"===t&&(i=!1),o+=t):o+="[\\s\\S]":o+=t+fr(e,++r);return o}(e),n)),o&&(c.sticky=!0),l.length&&(c.groups=l)),e!==d)try{$e(a,"source",""===d?"(?:)":d)}catch(e){}return a},Sr=nr(ir),Er=0;Sr.length>Er;)Yn(br,ir,Sr[Er++]);ar.constructor=br,br.prototype=ar,st(f,"RegExp",br,{constructor:!0})}Zn("RegExp");var xr=ut.get,Or=ce("native-string-replace",String.prototype.replace),Tr=RegExp.prototype.exec,Ar=Tr,jr=E("".charAt),Ir=E("".indexOf),Rr=E("".replace),Mr=E("".slice),Nr=function(){var e=/a/,t=/b*/g;return g(Tr,e,"a"),g(Tr,t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),Pr=Hn.BROKEN_CARET,Cr=void 0!==/()??/.exec("")[1];(Nr||Cr||Pr||Qn||tr)&&(Ar=function(e){var t,n,r,o,i,a,c,u=this,f=xr(u),s=Un(e),l=f.raw;if(l)return l.lastIndex=u.lastIndex,t=g(Ar,l,s),u.lastIndex=l.lastIndex,t;var d=f.groups,p=Pr&&u.sticky,v=g(Bn,u),h=u.source,m=0,y=s;if(p&&(v=Rr(v,"y",""),-1===Ir(v,"g")&&(v+="g"),y=Mr(s,u.lastIndex),u.lastIndex>0&&(!u.multiline||u.multiline&&"\n"!==jr(s,u.lastIndex-1))&&(h="(?: "+h+")",y=" "+y,m++),n=new RegExp("^(?:"+h+")",v)),Cr&&(n=new RegExp("^"+h+"$(?!\\s)",v)),Nr&&(r=u.lastIndex),o=g(Tr,p?n:u,y),p?o?(o.input=Mr(o.input,m),o[0]=Mr(o[0],m),o.index=u.lastIndex,u.lastIndex+=o[0].length):u.lastIndex=0:Nr&&o&&(u.lastIndex=u.global?o.index+o[0].length:r),Cr&&o&&o.length>1&&g(Or,o[0],n,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(o[i]=void 0)})),o&&d)for(o.groups=a=Qt(null),i=0;i<d.length;i++)a[(c=d[i])[0]]=o[c[1]];return o});var _r=Ar;$t({target:"RegExp",proto:!0,forced:/./.exec!==_r},{exec:_r});var kr=Ge.PROPER,Lr="toString",Dr=RegExp.prototype[Lr],Fr=s((function(){return"/a/b"!=Dr.call({source:"a",flags:"b"})})),Ur=kr&&Dr.name!=Lr;(Fr||Ur)&&st(RegExp.prototype,Lr,(function(){var e=Ce(this);return"/"+Un(e.source)+"/"+Un(Vn(e))}),{unsafe:!0});var Br=function(e){if("Function"===T(e))return E(e)},$r=we("species"),Vr=RegExp.prototype,zr=function(e,t,n,r){var o=we(e),i=!s((function(){var t={};return t[o]=function(){return 7},7!=""[e](t)})),a=i&&!s((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[$r]=function(){return n},n.flags="",n[o]=/./[o]),n.exec=function(){return t=!0,null},n[o](""),!t}));if(!i||!a||n){var c=Br(/./[o]),u=t(o,""[e],(function(e,t,n,r,o){var a=Br(e),u=t.exec;return u===_r||u===Vr.exec?i&&!o?{done:!0,value:c(t,n,r)}:{done:!0,value:a(n,t,r)}:{done:!1}}));st(String.prototype,e,u[0]),st(Vr,o,u[1])}r&&$e(Vr[o],"sham",!0)},qr=E("".charAt),Gr=E("".charCodeAt),Hr=E("".slice),Wr=function(e){return function(t,n){var r,o,i=Un(N(t)),a=gt(n),c=i.length;return a<0||a>=c?e?"":void 0:(r=Gr(i,a))<55296||r>56319||a+1===c||(o=Gr(i,a+1))<56320||o>57343?e?qr(i,a):r:e?Hr(i,a,a+2):o-56320+(r-55296<<10)+65536}},Yr={codeAt:Wr(!1),charAt:Wr(!0)}.charAt,Jr=function(e,t,n){return t+(n?Yr(e,t).length:1)},Kr=TypeError,Zr=function(e,t){var n=e.exec;if(L(n)){var r=g(n,e,t);return null!==r&&Ce(r),r}if("RegExp"===T(e))return g(_r,e,t);throw Kr("RegExp#exec called on incompatible receiver")};zr("match",(function(e,t,n){return[function(t){var n=N(this),r=R(t)?void 0:te(t,e);return r?g(r,t,n):new RegExp(t)[e](Un(n))},function(e){var r=Ce(this),o=Un(e),i=n(t,r,o);if(i.done)return i.value;if(!r.global)return Zr(r,o);var a=r.unicode;r.lastIndex=0;for(var c,u=[],f=0;null!==(c=Zr(r,o));){var s=Un(c[0]);u[f]=s,""===s&&(r.lastIndex=Jr(o,wt(r.lastIndex),a)),f++}return 0===f?null:u}]}));var Xr=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t};zr("search",(function(e,t,n){return[function(t){var n=N(this),r=R(t)?void 0:te(t,e);return r?g(r,t,n):new RegExp(t)[e](Un(n))},function(e){var r=Ce(this),o=Un(e),i=n(t,r,o);if(i.done)return i.value;var a=r.lastIndex;Xr(a,0)||(r.lastIndex=0);var c=Zr(r,o);return Xr(r.lastIndex,a)||(r.lastIndex=a),null===c?-1:c.index}]}));var Qr=Function.prototype,eo=Qr.apply,to=Qr.call,no="object"==typeof Reflect&&Reflect.apply||(d?to.bind(eo):function(){return to.apply(eo,arguments)}),ro=Math.floor,oo=E("".charAt),io=E("".replace),ao=E("".slice),co=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,uo=/\$([$&'`]|\d{1,2})/g,fo=function(e,t,n,r,o,i){var a=n+e.length,c=r.length,u=uo;return void 0!==o&&(o=fe(o),u=co),io(i,u,(function(i,u){var f;switch(oo(u,0)){case"$":return"$";case"&":return e;case"`":return ao(t,0,n);case"'":return ao(t,a);case"<":f=o[ao(u,1,-1)];break;default:var s=+u;if(0===s)return i;if(s>c){var l=ro(s/10);return 0===l?i:l<=c?void 0===r[l-1]?oo(u,1):r[l-1]+oo(u,1):i}f=r[s-1]}return void 0===f?"":f}))},so=we("replace"),lo=Math.max,po=Math.min,go=E([].concat),vo=E([].push),ho=E("".indexOf),mo=E("".slice),yo="$0"==="a".replace(/./,"$0"),wo=!!/./[so]&&""===/./[so]("a","$0");zr("replace",(function(e,t,n){var r=wo?"$":"$0";return[function(e,n){var r=N(this),o=R(e)?void 0:te(e,so);return o?g(o,e,r,n):g(t,Un(r),e,n)},function(e,o){var i=Ce(this),a=Un(e);if("string"==typeof o&&-1===ho(o,r)&&-1===ho(o,"$<")){var c=n(t,i,a,o);if(c.done)return c.value}var u=L(o);u||(o=Un(o));var f=i.global;if(f){var s=i.unicode;i.lastIndex=0}for(var l=[];;){var d=Zr(i,a);if(null===d)break;if(vo(l,d),!f)break;""===Un(d[0])&&(i.lastIndex=Jr(a,wt(i.lastIndex),s))}for(var p,g="",v=0,h=0;h<l.length;h++){for(var m=Un((d=l[h])[0]),y=lo(po(gt(d.index),a.length),0),w=[],b=1;b<d.length;b++)vo(w,void 0===(p=d[b])?p:String(p));var S=d.groups;if(u){var E=go([m],w,y,a);void 0!==S&&vo(E,S);var x=Un(no(o,void 0,E))}else x=fo(m,a,y,w,S,o);y>=v&&(g+=mo(a,v,y)+x,v=y+m.length)}return g+mo(a,v)}]}),!!s((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}))||!yo||wo);var bo=function(e,t){var n=[][e];return!!n&&s((function(){n.call(null,t||function(){return 1},1)}))},So=Et.indexOf,Eo=Br([].indexOf),xo=!!Eo&&1/Eo([1],1,-0)<0;$t({target:"Array",proto:!0,forced:xo||!bo("indexOf")},{indexOf:function(e){var t=arguments.length>1?arguments[1]:void 0;return xo?Eo(this,e,t)||0:So(this,e,t)}});var Oo=TypeError,To=function(e){return function(t,n,r,o){ee(n);var i=fe(t),a=I(i),c=bt(i),u=e?c-1:0,f=e?-1:1;if(r<2)for(;;){if(u in a){o=a[u],u+=f;break}if(u+=f,e?u<0:c<=u)throw Oo("Reduce of empty array with no initial value")}for(;e?u>=0:c>u;u+=f)u in a&&(o=n(o,a[u],u,i));return o}},Ao={left:To(!1),right:To(!0)},jo="undefined"!=typeof process&&"process"==T(process),Io=Ao.left;$t({target:"Array",proto:!0,forced:!jo&&H>79&&H<83||!bo("reduce")},{reduce:function(e){var t=arguments.length;return Io(this,e,t,t>1?arguments[1]:void 0)}});var Ro=sn?{}.toString:function(){return"[object "+gn(this)+"]"};sn||st(Object.prototype,"toString",Ro,{unsafe:!0});var Mo=E([].slice),No=In("slice"),Po=we("species"),Co=Array,_o=Math.max;$t({target:"Array",proto:!0,forced:!No},{slice:function(e,t){var n,r,o,i=P(this),a=bt(i),c=mt(e,a),u=mt(void 0===t?a:t,a);if(on(i)&&(n=i.constructor,(xn(n)&&(n===Co||on(n.prototype))||F(n)&&null===(n=n[Po]))&&(n=void 0),n===Co||void 0===n))return Mo(i,c,u);for(r=new(void 0===n?Co:n)(_o(u-c,0)),o=0;c<u;c++,o++)c in i&&un(r,o,i[c]);return r.length=o,r}});var ko=E(1..valueOf),Lo=RangeError,Do=RangeError,Fo=String,Uo=Math.floor,Bo=E((function(e){var t=Un(N(this)),n="",r=gt(e);if(r<0||r==1/0)throw Lo("Wrong number of repetitions");for(;r>0;(r>>>=1)&&(t+=t))1&r&&(n+=t);return n})),$o=E("".slice),Vo=E(1..toFixed),zo=function(e,t,n){return 0===t?n:t%2==1?zo(e,t-1,n*e):zo(e*e,t/2,n)},qo=function(e,t,n){for(var r=-1,o=n;++r<6;)o+=t*e[r],e[r]=o%1e7,o=Uo(o/1e7)},Go=function(e,t){for(var n=6,r=0;--n>=0;)r+=e[n],e[n]=Uo(r/t),r=r%t*1e7},Ho=function(e){for(var t=6,n="";--t>=0;)if(""!==n||0===t||0!==e[t]){var r=Fo(e[t]);n=""===n?r:n+Bo("0",7-r.length)+r}return n};$t({target:"Number",proto:!0,forced:s((function(){return"0.000"!==Vo(8e-5,3)||"1"!==Vo(.9,0)||"1.25"!==Vo(1.255,2)||"1000000000000000128"!==Vo(0xde0b6b3a7640080,0)}))||!s((function(){Vo({})}))},{toFixed:function(e){var t,n,r,o,i=ko(this),a=gt(e),c=[0,0,0,0,0,0],u="",f="0";if(a<0||a>20)throw Do("Incorrect fraction digits");if(i!=i)return"NaN";if(i<=-1e21||i>=1e21)return Fo(i);if(i<0&&(u="-",i=-i),i>1e-21)if(t=function(e){for(var t=0,n=e;n>=4096;)t+=12,n/=4096;for(;n>=2;)t+=1,n/=2;return t}(i*zo(2,69,1))-69,n=t<0?i*zo(2,-t,1):i/zo(2,t,1),n*=4503599627370496,(t=52-t)>0){for(qo(c,0,n),r=a;r>=7;)qo(c,1e7,0),r-=7;for(qo(c,zo(10,r,1),0),r=t-1;r>=23;)Go(c,1<<23),r-=23;Go(c,1<<r),qo(c,1,1),Go(c,2),f=Ho(c)}else qo(c,0,n),qo(c,1<<-t,0),f=Ho(c)+Bo("0",a);return f=a>0?u+((o=f.length)<=a?"0."+Bo("0",a-o)+f:$o(f,0,o-a)+"."+$o(f,o-a)):u+f}});var Wo="\t\n\v\f\r                 \u2028\u2029\ufeff",Yo=E("".replace),Jo=RegExp("^["+Wo+"]+"),Ko=RegExp("(^|[^"+Wo+"])["+Wo+"]+$"),Zo=function(e){return function(t){var n=Un(N(t));return 1&e&&(n=Yo(n,Jo,"")),2&e&&(n=Yo(n,Ko,"$1")),n}},Xo={start:Zo(1),end:Zo(2),trim:Zo(3)},Qo=Xo.trim,ei=E("".charAt),ti=f.parseFloat,ni=f.Symbol,ri=ni&&ni.iterator,oi=1/ti(Wo+"-0")!=-1/0||ri&&!s((function(){ti(Object(ri))}))?function(e){var t=Qo(Un(e)),n=ti(t);return 0===n&&"-"==ei(t,0)?-0:n}:ti;$t({global:!0,forced:parseFloat!=oi},{parseFloat:oi});var ii=TypeError,ai=we("species"),ci=function(e,t){var n,r=Ce(e).constructor;return void 0===r||R(n=Ce(r)[ai])?t:function(e){if(xn(e))return e;throw ii(X(e)+" is not a constructor")}(n)},ui=Array,fi=Math.max,si=function(e,t,n){for(var r=bt(e),o=mt(t,r),i=mt(void 0===n?r:n,r),a=ui(fi(i-o,0)),c=0;o<i;o++,c++)un(a,c,e[o]);return a.length=c,a},li=Hn.UNSUPPORTED_Y,di=4294967295,pi=Math.min,gi=[].push,vi=E(/./.exec),hi=E(gi),mi=E("".slice),yi=!s((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));zr("split",(function(e,t,n){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var r=Un(N(this)),o=void 0===n?di:n>>>0;if(0===o)return[];if(void 0===e)return[r];if(!Dn(e))return g(t,r,e,o);for(var i,a,c,u=[],f=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),s=0,l=new RegExp(e.source,f+"g");(i=g(_r,l,r))&&!((a=l.lastIndex)>s&&(hi(u,mi(r,s,i.index)),i.length>1&&i.index<r.length&&no(gi,u,si(i,1)),c=i[0].length,s=a,u.length>=o));)l.lastIndex===i.index&&l.lastIndex++;return s===r.length?!c&&vi(l,"")||hi(u,""):hi(u,mi(r,s)),u.length>o?si(u,0,o):u}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:g(t,this,e,n)}:t,[function(t,n){var o=N(this),i=R(t)?void 0:te(t,e);return i?g(i,t,o,n):g(r,Un(o),t,n)},function(e,o){var i=Ce(this),a=Un(e),c=n(r,i,a,o,r!==t);if(c.done)return c.value;var u=ci(i,RegExp),f=i.unicode,s=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(li?"g":"y"),l=new u(li?"^(?:"+i.source+")":i,s),d=void 0===o?di:o>>>0;if(0===d)return[];if(0===a.length)return null===Zr(l,a)?[a]:[];for(var p=0,g=0,v=[];g<a.length;){l.lastIndex=li?0:g;var h,m=Zr(l,li?mi(a,g):a);if(null===m||(h=pi(wt(l.lastIndex+(li?g:0)),a.length))===p)g=Jr(a,g,f);else{if(hi(v,mi(a,p,g)),v.length===d)return v;for(var y=1;y<=m.length-1;y++)if(hi(v,m[y]),v.length===d)return v;g=p=h}}return hi(v,mi(a,p)),v}]}),!yi,li);var wi=Object.assign,bi=Object.defineProperty,Si=E([].concat),Ei=!wi||s((function(){if(l&&1!==wi({b:1},wi(bi({},"a",{enumerable:!0,get:function(){bi(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach((function(e){t[e]=e})),7!=wi({},e)[n]||Vt(wi({},t)).join("")!=r}))?function(e,t){for(var n=fe(e),r=arguments.length,o=1,i=Rt.f,a=m.f;r>o;)for(var c,u=I(arguments[o++]),f=i?Si(Vt(u),i(u)):Vt(u),s=f.length,d=0;s>d;)c=f[d++],l&&!g(a,u,c)||(n[c]=u[c]);return n}:wi;$t({target:"Object",stat:!0,arity:2,forced:Object.assign!==Ei},{assign:Ei});var xi,Oi,Ti,Ai,ji=Be.f,Ii=we("toStringTag"),Ri=TypeError,Mi=Br(Br.bind),Ni=function(e,t){return ee(e),void 0===t?e:d?Mi(e,t):function(){return e.apply(t,arguments)}},Pi=TypeError,Ci=/(?:ipad|iphone|ipod).*applewebkit/i.test($),_i=f.setImmediate,ki=f.clearImmediate,Li=f.process,Di=f.Dispatch,Fi=f.Function,Ui=f.MessageChannel,Bi=f.String,$i=0,Vi={},zi="onreadystatechange";s((function(){xi=f.location}));var qi=function(e){if(le(Vi,e)){var t=Vi[e];delete Vi[e],t()}},Gi=function(e){return function(){qi(e)}},Hi=function(e){qi(e.data)},Wi=function(e){f.postMessage(Bi(e),xi.protocol+"//"+xi.host)};_i&&ki||(_i=function(e){!function(e,t){if(e<t)throw Pi("Not enough arguments")}(arguments.length,1);var t=L(e)?e:Fi(e),n=Mo(arguments,1);return Vi[++$i]=function(){no(t,void 0,n)},Oi($i),$i},ki=function(e){delete Vi[e]},jo?Oi=function(e){Li.nextTick(Gi(e))}:Di&&Di.now?Oi=function(e){Di.now(Gi(e))}:Ui&&!Ci?(Ai=(Ti=new Ui).port2,Ti.port1.onmessage=Hi,Oi=Ni(Ai.postMessage,Ai)):f.addEventListener&&L(f.postMessage)&&!f.importScripts&&xi&&"file:"!==xi.protocol&&!s(Wi)?(Oi=Wi,f.addEventListener("message",Hi,!1)):Oi=zi in Ae("script")?function(e){Gt.appendChild(Ae("script"))[zi]=function(){Gt.removeChild(this),qi(e)}}:function(e){setTimeout(Gi(e),0)});var Yi={set:_i,clear:ki},Ji=function(){this.head=null,this.tail=null};Ji.prototype={add:function(e){var t={item:e,next:null},n=this.tail;n?n.next=t:this.head=t,this.tail=t},get:function(){var e=this.head;if(e)return null===(this.head=e.next)&&(this.tail=null),e.item}};var Ki,Zi,Xi,Qi,ea,ta=Ji,na=/ipad|iphone|ipod/i.test($)&&"undefined"!=typeof Pebble,ra=/web0s(?!.*chrome)/i.test($),oa=Re.f,ia=Yi.set,aa=f.MutationObserver||f.WebKitMutationObserver,ca=f.document,ua=f.process,fa=f.Promise,sa=oa(f,"queueMicrotask"),la=sa&&sa.value;if(!la){var da=new ta,pa=function(){var e,t;for(jo&&(e=ua.domain)&&e.exit();t=da.get();)try{t()}catch(e){throw da.head&&Ki(),e}e&&e.enter()};Ci||jo||ra||!aa||!ca?!na&&fa&&fa.resolve?((Qi=fa.resolve(void 0)).constructor=fa,ea=Ni(Qi.then,Qi),Ki=function(){ea(pa)}):jo?Ki=function(){ua.nextTick(pa)}:(ia=Ni(ia,f),Ki=function(){ia(pa)}):(Zi=!0,Xi=ca.createTextNode(""),new aa(pa).observe(Xi,{characterData:!0}),Ki=function(){Xi.data=Zi=!Zi}),la=function(e){da.head||Ki(),da.add(e)}}var ga=la,va=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}},ha=f.Promise,ma="object"==typeof Deno&&Deno&&"object"==typeof Deno.version,ya=!ma&&!jo&&"object"==typeof window&&"object"==typeof document;ha&&ha.prototype;var wa,ba,Sa,Ea,xa,Oa,Ta=we("species"),Aa=!1,ja=L(f.PromiseRejectionEvent),Ia=Ut("Promise",(function(){var e=Ke(ha),t=e!==String(ha);if(!t&&66===H)return!0;if(!H||H<51||!/native code/.test(e)){var n=new ha((function(e){e(1)})),r=function(e){e((function(){}),(function(){}))};if((n.constructor={})[Ta]=r,!(Aa=n.then((function(){}))instanceof r))return!0}return!t&&(ya||ma)&&!ja})),Ra={CONSTRUCTOR:Ia,REJECTION_EVENT:ja,SUBCLASSING:Aa},Ma=TypeError,Na=function(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw Ma("Bad Promise constructor");t=e,n=r})),this.resolve=ee(t),this.reject=ee(n)},Pa={f:function(e){return new Na(e)}},Ca=Yi.set,_a="Promise",ka=Ra.CONSTRUCTOR,La=Ra.REJECTION_EVENT,Da=Ra.SUBCLASSING,Fa=ut.getterFor(_a),Ua=ut.set,Ba=ha&&ha.prototype,$a=ha,Va=Ba,za=f.TypeError,qa=f.document,Ga=f.process,Ha=Pa.f,Wa=Ha,Ya=!!(qa&&qa.createEvent&&f.dispatchEvent),Ja="unhandledrejection",Ka=function(e){var t;return!(!F(e)||!L(t=e.then))&&t},Za=function(e,t){var n,r,o,i=t.value,a=1==t.state,c=a?e.ok:e.fail,u=e.resolve,f=e.reject,s=e.domain;try{c?(a||(2===t.rejection&&nc(t),t.rejection=1),!0===c?n=i:(s&&s.enter(),n=c(i),s&&(s.exit(),o=!0)),n===e.promise?f(za("Promise-chain cycle")):(r=Ka(n))?g(r,n,u,f):u(n)):f(i)}catch(e){s&&!o&&s.exit(),f(e)}},Xa=function(e,t){e.notified||(e.notified=!0,ga((function(){for(var n,r=e.reactions;n=r.get();)Za(n,e);e.notified=!1,t&&!e.rejection&&ec(e)})))},Qa=function(e,t,n){var r,o;Ya?((r=qa.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),f.dispatchEvent(r)):r={promise:t,reason:n},!La&&(o=f["on"+e])?o(r):e===Ja&&function(e,t){try{1==arguments.length?console.error(e):console.error(e,t)}catch(e){}}("Unhandled promise rejection",n)},ec=function(e){g(Ca,f,(function(){var t,n=e.facade,r=e.value;if(tc(e)&&(t=va((function(){jo?Ga.emit("unhandledRejection",r,n):Qa(Ja,n,r)})),e.rejection=jo||tc(e)?2:1,t.error))throw t.value}))},tc=function(e){return 1!==e.rejection&&!e.parent},nc=function(e){g(Ca,f,(function(){var t=e.facade;jo?Ga.emit("rejectionHandled",t):Qa("rejectionhandled",t,e.value)}))},rc=function(e,t,n){return function(r){e(t,r,n)}},oc=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,Xa(e,!0))},ic=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw za("Promise can't be resolved itself");var r=Ka(t);r?ga((function(){var n={done:!1};try{g(r,t,rc(ic,n,e),rc(oc,n,e))}catch(t){oc(n,t,e)}})):(e.value=t,e.state=1,Xa(e,!1))}catch(t){oc({done:!1},t,e)}}};if(ka&&(Va=($a=function(e){!function(e,t){if(B(t,e))return e;throw Ri("Incorrect invocation")}(this,Va),ee(e),g(wa,this);var t=Fa(this);try{e(rc(ic,t),rc(oc,t))}catch(e){oc(t,e)}}).prototype,(wa=function(e){Ua(this,{type:_a,done:!1,notified:!1,parent:!1,reactions:new ta,rejection:!1,state:0,value:void 0})}).prototype=st(Va,"then",(function(e,t){var n=Fa(this),r=Ha(ci(this,$a));return n.parent=!0,r.ok=!L(e)||e,r.fail=L(t)&&t,r.domain=jo?Ga.domain:void 0,0==n.state?n.reactions.add(r):ga((function(){Za(r,n)})),r.promise})),ba=function(){var e=new wa,t=Fa(e);this.promise=e,this.resolve=rc(ic,t),this.reject=rc(oc,t)},Pa.f=Ha=function(e){return e===$a||undefined===e?new ba(e):Wa(e)},L(ha)&&Ba!==Object.prototype)){Sa=Ba.then,Da||st(Ba,"then",(function(e,t){var n=this;return new $a((function(e,t){g(Sa,n,e,t)})).then(e,t)}),{unsafe:!0});try{delete Ba.constructor}catch(e){}_n&&_n(Ba,Va)}$t({global:!0,constructor:!0,wrap:!0,forced:ka},{Promise:$a}),xa=_a,Oa=!1,(Ea=$a)&&!Oa&&(Ea=Ea.prototype),Ea&&!le(Ea,Ii)&&ji(Ea,Ii,{configurable:!0,value:xa}),Zn(_a);var ac={},cc=we("iterator"),uc=Array.prototype,fc=we("iterator"),sc=function(e){if(!R(e))return te(e,fc)||te(e,"@@iterator")||ac[gn(e)]},lc=TypeError,dc=function(e,t,n){var r,o;Ce(e);try{if(!(r=te(e,"return"))){if("throw"===t)throw n;return n}r=g(r,e)}catch(e){o=!0,r=e}if("throw"===t)throw n;if(o)throw r;return Ce(r),n},pc=TypeError,gc=function(e,t){this.stopped=e,this.result=t},vc=gc.prototype,hc=function(e,t,n){var r,o,i,a,c,u,f,s,l=n&&n.that,d=!(!n||!n.AS_ENTRIES),p=!(!n||!n.IS_RECORD),v=!(!n||!n.IS_ITERATOR),h=!(!n||!n.INTERRUPTED),m=Ni(t,l),y=function(e){return r&&dc(r,"normal",e),new gc(!0,e)},w=function(e){return d?(Ce(e),h?m(e[0],e[1],y):m(e[0],e[1])):h?m(e,y):m(e)};if(p)r=e.iterator;else if(v)r=e;else{if(!(o=sc(e)))throw pc(X(e)+" is not iterable");if(void 0!==(s=o)&&(ac.Array===s||uc[cc]===s)){for(i=0,a=bt(e);a>i;i++)if((c=w(e[i]))&&B(vc,c))return c;return new gc(!1)}r=function(e,t){var n=arguments.length<2?sc(e):t;if(ee(n))return Ce(g(n,e));throw lc(X(e)+" is not iterable")}(e,o)}for(u=p?e.next:r.next;!(f=g(u,r)).done;){try{c=w(f.value)}catch(e){dc(r,"throw",e)}if("object"==typeof c&&c&&B(vc,c))return c}return new gc(!1)},mc=we("iterator"),yc=!1;try{var wc=0,bc={next:function(){return{done:!!wc++}},return:function(){yc=!0}};bc[mc]=function(){return this},Array.from(bc,(function(){throw 2}))}catch(e){}var Sc=Ra.CONSTRUCTOR||!function(e,t){if(!t&&!yc)return!1;var n=!1;try{var r={};r[mc]=function(){return{next:function(){return{done:n=!0}}}},e(r)}catch(e){}return n}((function(e){ha.all(e).then(void 0,(function(){}))}));$t({target:"Promise",stat:!0,forced:Sc},{all:function(e){var t=this,n=Pa.f(t),r=n.resolve,o=n.reject,i=va((function(){var n=ee(t.resolve),i=[],a=0,c=1;hc(e,(function(e){var u=a++,f=!1;c++,g(n,t,e).then((function(e){f||(f=!0,i[u]=e,--c||r(i))}),o)})),--c||r(i)}));return i.error&&o(i.value),n.promise}});var Ec=Ra.CONSTRUCTOR,xc=ha&&ha.prototype;if($t({target:"Promise",proto:!0,forced:Ec,real:!0},{catch:function(e){return this.then(void 0,e)}}),L(ha)){var Oc=U("Promise").prototype.catch;xc.catch!==Oc&&st(xc,"catch",Oc,{unsafe:!0})}$t({target:"Promise",stat:!0,forced:Sc},{race:function(e){var t=this,n=Pa.f(t),r=n.reject,o=va((function(){var o=ee(t.resolve);hc(e,(function(e){g(o,t,e).then(n.resolve,r)}))}));return o.error&&r(o.value),n.promise}}),$t({target:"Promise",stat:!0,forced:Ra.CONSTRUCTOR},{reject:function(e){var t=Pa.f(this);return g(t.reject,void 0,e),t.promise}});var Tc=Ra.CONSTRUCTOR;U("Promise"),$t({target:"Promise",stat:!0,forced:Tc},{resolve:function(e){return function(e,t){if(Ce(e),F(t)&&t.constructor===e)return t;var n=Pa.f(e);return(0,n.resolve)(t),n.promise}(this,e)}});var Ac=Ge.EXISTS,jc=Function.prototype,Ic=E(jc.toString),Rc=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,Mc=E(Rc.exec);l&&!Ac&&Jn(jc,"name",{configurable:!0,get:function(){try{return Mc(Rc,Ic(this))[1]}catch(e){return""}}});var Nc=E([].join);$t({target:"Array",proto:!0,forced:I!=Object||!bo("join",",")},{join:function(e){return Nc(P(this),void 0===e?",":e)}});var Pc=E([].push),Cc=function(e){var t=1==e,n=2==e,r=3==e,o=4==e,i=6==e,a=7==e,c=5==e||i;return function(u,f,s,l){for(var d,p,g=fe(u),v=I(g),h=Ni(f,s),m=bt(v),y=0,w=l||An,b=t?w(u,m):n||a?w(u,0):void 0;m>y;y++)if((c||y in v)&&(p=h(d=v[y],y,g),e))if(t)b[y]=p;else if(p)switch(e){case 3:return!0;case 5:return d;case 6:return y;case 2:Pc(b,d)}else switch(e){case 4:return!1;case 7:Pc(b,d)}return i?-1:r||o?o:b}},_c={forEach:Cc(0),map:Cc(1),filter:Cc(2),some:Cc(3),every:Cc(4),find:Cc(5),findIndex:Cc(6),filterReject:Cc(7)}.forEach,kc=bo("forEach")?[].forEach:function(e){return _c(this,e,arguments.length>1?arguments[1]:void 0)};$t({target:"Array",proto:!0,forced:[].forEach!=kc},{forEach:kc});var Lc={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},Dc=Ae("span").classList,Fc=Dc&&Dc.constructor&&Dc.constructor.prototype,Uc=Fc===Object.prototype?void 0:Fc,Bc=function(e){if(e&&e.forEach!==kc)try{$e(e,"forEach",kc)}catch(t){e.forEach=kc}};for(var $c in Lc)Lc[$c]&&Bc(f[$c]&&f[$c].prototype);Bc(Uc),$t({target:"Object",stat:!0,forced:s((function(){Vt(1)}))},{keys:function(e){return Vt(fe(e))}});var Vc=!s((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),zc=et("IE_PROTO"),qc=Object,Gc=qc.prototype,Hc=Vc?qc.getPrototypeOf:function(e){var t=fe(e);if(le(t,zc))return t[zc];var n=t.constructor;return L(n)&&t instanceof n?n.prototype:t instanceof qc?Gc:null};$t({target:"Object",stat:!0,forced:s((function(){Hc(1)})),sham:!Vc},{getPrototypeOf:function(e){return Hc(fe(e))}});var Wc=Et.includes;$t({target:"Array",proto:!0,forced:s((function(){return!Array(1).includes()}))},{includes:function(e){return Wc(this,e,arguments.length>1?arguments[1]:void 0)}}),rn("includes");var Yc=TypeError,Jc=we("match"),Kc=E("".indexOf);$t({target:"String",proto:!0,forced:!function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[Jc]=!1,"/./"[e](t)}catch(e){}}return!1}("includes")},{includes:function(e){return!!~Kc(Un(N(this)),Un(function(e){if(Dn(e))throw Yc("The method doesn't accept regular expressions");return e}(e)),arguments.length>1?arguments[1]:void 0)}});var Zc=f,Xc=It.f,Qc=Re.f,eu=Be.f,tu=Xo.trim,nu="Number",ru=f[nu];Zc[nu];var ou=ru.prototype,iu=f.TypeError,au=E("".slice),cu=E("".charCodeAt),uu=function(e){var t,n,r,o,i,a,c,u,f=Ee(e,"number");if(K(f))throw iu("Cannot convert a Symbol value to a number");if("string"==typeof f&&f.length>2)if(f=tu(f),43===(t=cu(f,0))||45===t){if(88===(n=cu(f,2))||120===n)return NaN}else if(48===t){switch(cu(f,1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+f}for(a=(i=au(f,2)).length,c=0;c<a;c++)if((u=cu(i,c))<48||u>o)return NaN;return parseInt(i,r)}return+f},fu=Ut(nu,!ru(" 0o1")||!ru("0b1")||ru("+0x1")),su=function(e){var t,n=arguments.length<1?0:ru(function(e){var t=Ee(e,"number");return"bigint"==typeof t?t:uu(t)}(e));return B(ou,t=this)&&s((function(){ko(t)}))?kn(Object(n),this,su):n};su.prototype=ou,fu&&(ou.constructor=su),$t({global:!0,constructor:!0,wrap:!0,forced:fu},{Number:su});fu&&function(e,t){for(var n,r=l?Xc(t):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),o=0;r.length>o;o++)le(t,n=r[o])&&!le(e,n)&&eu(e,n,Qc(t,n))}(Zc[nu],ru);var lu=TypeError,du=Object.getOwnPropertyDescriptor,pu=l&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}()?function(e,t){if(on(e)&&!du(e,"length").writable)throw lu("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t},gu=TypeError,vu=function(e,t){if(!delete e[t])throw gu("Cannot delete property "+X(t)+" of "+X(e))},hu=In("splice"),mu=Math.max,yu=Math.min;function wu(e){var t=e.replace(/([A-Z])/g,"_$1").toLowerCase();return"_"===t[0]?t.substr(1):t}function bu(e){return JSON.parse(JSON.stringify(e))}function Su(e){void 0===e&&(e=5);for(var t="";e--;)t+=Math.floor(10*Math.random());return t}function Eu(e,t){void 0===t&&(t={isNaNAsNumber:!1,isUnFiniteAsNumber:!1});var n=Object.assign({isNaNAsNumber:!1,isUnFiniteAsNumber:!1},t),r=n.isNaNAsNumber,o=!0;return"number"!=typeof e&&(o=!1),!1!==n.isUnFiniteAsNumber||isFinite(e)||(o=!1),!1===r&&isNaN(e)&&(o=!1),o}function xu(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=null;return e&&"function"==typeof e&&(r=e.apply(void 0,t)),r}function Ou(){return Date.now?Date.now():(new Date).getTime()}function Tu(e){for(var t=e+"=",n=document.cookie.split(";"),r=0;r<n.length;r++){for(var o=n[r];" "==o.charAt(0);)o=o.substring(1,o.length);if(0==o.indexOf(t))return o.substring(t.length,o.length)}return""}function Au(){try{var e=navigator.userAgent.toLowerCase(),t=function(t){return t.test(e)},n=function(t){var n=e.match(t),r="";return n&&(r=n.toString().replace(/[^0-9|_.]/g,"").replace(/_/g,".")),r},r="",o="";t(/windows|win32|win64|wow32|wow64/g)?r="windows":t(/macintosh|macintel/g)?r="macos":t(/x11/g)?r="linux":t(/android|adr/g)?r="android":t(/ios|iphone|ipad|ipod|iwatch/g)&&(r="ios",t(/ipad/g)?o="ipad":t(/iphone/g)?o="iphone":t(/iwatch/g)?o="iwatch":t(/ipod/g)&&(o="ipod"));var i="";"windows"===r?t(/windows nt 5.0|windows 2000/g)?i="2000":t(/windows nt 5.1|windows xp/g)?i="xp":t(/windows nt 5.2|windows 2003/g)?i="2003":t(/windows nt 6.0|windows vista/g)?i="vista":t(/windows nt 6.1|windows 7/g)?i="7":t(/windows nt 6.2|windows 8/g)?i="8":t(/windows nt 6.3|windows 8.1/g)?i="8.1":t(/windows nt 10.0|windows 10/g)&&(i="10"):"macos"===r?i=n(/os x [\d._]+/g):"android"===r?i=n(/android [\d._]+/g):"ios"===r&&(i=n(/os [\d._]+/g));var a="";"windows"===r||"macos"===r||"linux"===r?a="desktop":("android"===r||"ios"===r||t(/mobile/g))&&(a="mobile");var c="",u="";t(/applewebkit/g)?(c="webkit",t(/edge/g)?u="edge":t(/opr/g)?u="opera":t(/chrome/g)?u="chrome":t(/safari/g)&&(u="safari")):t(/gecko/g)&&t(/firefox/g)?(c="gecko",u="firefox"):t(/presto/g)?(c="presto",u="opera"):t(/trident|compatible|msie/g)&&(c="trident",u="iexplore");var f="";"webkit"===c?f=n(/applewebkit\/[\d._]+/g):"gecko"===c?f=n(/gecko\/[\d._]+/g):"presto"===c?f=n(/presto\/[\d._]+/g):"trident"===c&&(f=n(/trident\/[\d._]+/g));var s="";"chrome"===u?s=n(/chrome\/[\d._]+/g):"safari"===u?s=n(/version\/[\d._]+/g):"firefox"===u?s=n(/firefox\/[\d._]+/g):"opera"===u?s=n(/opr\/[\d._]+/g):"iexplore"===u?s=n(/(msie [\d._]+)|(rv:[\d._]+)/g):"edge"===u&&(s=n(/edge\/[\d._]+/g));var l="",d="";return t(/micromessenger/g)?(l="wechat",d=n(/micromessenger\/[\d._]+/g)):t(/qqbrowser/g)?(l="qq_browser",d=n(/qqbrowser\/[\d._]+/g)):t(/\sqq/g)?l="qq_app":t(/ucbrowser/g)?(l="uc",d=n(/ucbrowser\/[\d._]+/g)):t(/qihu 360se/g)?l="360":t(/2345explorer/g)?(l="2345",d=n(/2345explorer\/[\d._]+/g)):t(/metasr/g)?l="sougou":t(/lbbrowser/g)?l="liebao":t(/maxthon/g)?(l="maxthon",d=n(/maxthon\/[\d._]+/g)):t(/biliapp/g)&&(l="bilibili"),Object.assign({engine:c,engineVs:f,platform:a,supporter:u,supporterVs:s,system:r,systemVs:i},{shell:l,shellVs:d,appleType:o})}catch(e){return console.warn("mazey:",e),{engine:"",engineVs:"",platform:"",supporter:"",supporterVs:"",system:"",systemVs:""}}}function ju(){var e=window.MAZEY_DEFINE_LISTENERS;return"object"!==c(e)&&(e={},window.MAZEY_DEFINE_LISTENERS=e),e}return $t({target:"Array",proto:!0,forced:!hu},{splice:function(e,t){var n,r,o,i,a,c,u=fe(this),f=bt(u),s=mt(e,f),l=arguments.length;for(0===l?n=r=0:1===l?(n=0,r=f-s):(n=l-2,r=yu(mu(gt(t),0),f-s)),cn(f+n-r),o=An(u,r),i=0;i<r;i++)(a=s+i)in u&&un(o,i,u[a]);if(o.length=r,n<r){for(i=s;i<f-r;i++)c=i+n,(a=i+r)in u?u[c]=u[a]:vu(u,c);for(i=f;i>f-r+n;i--)vu(u,i-1)}else if(n>r)for(i=f-r;i>s;i--)c=i+n-1,(a=i+r-1)in u?u[c]=u[a]:vu(u,c);for(i=0;i<n;i++)u[i+s]=arguments[i+2];return pu(u,f-r+n),o}}),e.addClass=function(e,t){var n,r=e.className,o="";""!==r&&(o=" "),n=r+o+t,e.className=n},e.addEvent=function(e,t){var n=ju();void 0===n[e]&&(n[e]=[]),"function"==typeof t&&n[e].push(t)},e.addStyle=function(e,t){if(void 0===t&&(t={id:""}),!e)return!1;var n=document.createDocumentFragment(),r=null,o="",i=document.createElement("style");return t.id?(o="".concat(t.id),(r=document.getElementById(o))?r.innerHTML=e:(i.setAttribute("id",t.id),i.innerHTML=e,n.appendChild(i),document.head.appendChild(n))):(i.innerHTML=e,n.appendChild(i),document.head.appendChild(n)),!0},e.calLongestCommonSubsequence=function(e,t){for(var n=e.length,r=t.length,o=bu(new Array(n).fill(new Array(r).fill(0))),i=0;i<n;++i)for(var a=0;a<r;++a)if(e[i]===t[a]){var c=0;i>0&&a>0&&(c=o[i-1][a-1]),o[i][a]=c+1}else{var u=[0,0],f=u[0],s=u[1];a>0&&(f=o[i][a-1]),i>0&&(s=o[i-1][a]),o[i][a]=Math.max(f,s)}var l=Array.prototype.concat.apply([],o);return Math.max.apply(Math,l)},e.calLongestCommonSubstring=function(e,t){for(var n=e.length,r=t.length,o=bu(new Array(n).fill(new Array(r).fill(0))),i=0;i<n;++i)for(var a=0;a<r;++a)if(e[i]===t[a]){var c=0;i>0&&a>0&&(c=o[i-1][a-1]),o[i][a]=c+1}var u=Array.prototype.concat.apply([],o);return Math.max.apply(Math,u)},e.camelCase2Underscore=wu,e.camelCaseToKebabCase=function(e){var t=e.replace(/([A-Z])/g,"-$1").toLowerCase();return"-"===t[0]?t.substr(1):t},e.cancelBubble=function(e){var t=e||window.event;t.stopPropagation?t.stopPropagation():t.cancelBubble=!0},e.clearHtml=function(e){return e.replace(/<\/?.+?>/g,"").replace(/[\r\n]/g,"")},e.cutCHSString=function(e,t,n){if(void 0===n&&(n=!1),""!=e&&e){for(var r=0,o="",i=/[^\x00-\xff]/g,a="",c=e.replace(i,"**").length,u=0;u<c&&(null!=(a=e.charAt(u).toString()).match(i)?r+=2:r++,!(r>t));u++)o+=a;return n&&c>t&&(o+="..."),o}return""},e.debounce=function(e,t,n){var r=null,o=null,i=null,a=null,c=null,u=function u(){var f=Ou()-i;f<t&&f>=0?o=setTimeout(u,t-f):(o=null,n||(c=e.apply(r,a),o||(r=a=null)))};return function(){for(var f=[],s=0;s<arguments.length;s++)f[s]=arguments[s];r=this,a=f,i=Ou();var l=n&&!o;return o||(o=setTimeout(u,t)),l&&(c=e.apply(r,a),r=a=null),c}},e.deepCopyObject=bu,e.doFn=xu,e.floatFixed=function(e,t){return void 0===t&&(t=0),parseFloat(e).toFixed(t)},e.floatToPercent=function(e,t){void 0===t&&(t=0);var n="";return n=t?(100*e).toFixed(t):String(Math.floor(100*e)),"".concat(n,"%")},e.formatDate=function(e,t){void 0===t&&(t="yyyy-MM-dd"),e||(e=new Date);var n=new Date(e),r={yyyy:n.getFullYear(),MM:n.getMonth()+1,dd:n.getDate(),hh:n.getHours()<10?"0"+n.getHours():n.getHours(),mm:n.getMinutes()<10?"0"+n.getMinutes():n.getMinutes(),ss:n.getSeconds()<10?"0"+n.getSeconds():n.getSeconds()},o=t||"yyyy-MM-dd";return Object.keys(r).forEach((function(e){var t=r[e];"MM"===e&&Number(t)<=9&&(t="0".concat(t)),o=o.replace(e,String(t))})),o},e.friendlyInterval=function(e,t,n){void 0===e&&(e=0),void 0===t&&(t=0),void 0===n&&(n={type:"d"});var r=n.type;Eu(e)||(e=new Date(e).getTime()),Eu(t)||(t=new Date(t).getTime());var o=t-e,i="",a=new Array(4).fill(0),c=a[0],u=(a[1],a[2],a[3]);if(o>=0)switch(c=Math.floor(o/1e3/60/60/24),Math.floor(o/1e3/60/60),Math.floor(o/1e3/60),u=Math.floor(o/1e3),r){case"d":i=c;break;case"text":i=(c=Math.floor(o/1e3/60/60/24))+" 天 "+Math.floor(o/1e3/60/60%24)+" 时 "+Math.floor(o/1e3/60%60)+" 分 "+(u=Math.floor(o/1e3%60))+" 秒";break;default:i=u}return i},e.genCustomConsole=function(e,t){void 0===e&&(e=""),void 0===t&&(t={isClosed:!1,showWrap:!1,showDate:!1,locales:"en-US",logFn:function(){},errorFn:function(){}});var n=Object.assign({isClosed:!1,showWrap:!1,showDate:!1,locales:"en-US",logFn:function(){},errorFn:function(){}},t),r=n.isClosed,o=n.showWrap,i=n.showDate,a=n.locales,c=n.logFn,u=n.errorFn,f=Object.create(null),s=function(){return(new Date).toLocaleDateString(a,{weekday:"short",year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"})};return["log","info","warn","error"].forEach((function(t){f[t]=function(){for(var n,a,f=[],l=0;l<arguments.length;l++)f[l]=arguments[l];if(r)return!1;var d=e,p=e;if("string"==typeof e&&e.length>=2){var g=e.length;d=":"===e[g-1]?e.substring(0,g-1):e}o&&console.log("--- ".concat(d," - begin ---")),i&&(p=e?"".concat(s()," ").concat(e):"".concat(s())),e||i?(n=console)[t].apply(n,function(e,t){for(var n=0,r=t.length,o=e.length;n<r;n++,o++)e[o]=t[n];return e}([p],f)):(a=console)[t].apply(a,f),"log"===t&&c(),"error"===t&&u(),o&&console.log("--- ".concat(d," - end ---"))}})),f},e.genHashCode=function(e){var t,n=0;for(t=0;t<e.length;t++)n=(n<<5)-n+e.charCodeAt(t),n|=0;return n},e.generateRndNum=Su,e.generateUniqueNum=function(e){void 0===e&&(e=3);var t=[Ou(),Su(e||3)];return t[0]+t[1]},e.getBrowserInfo=Au,e.getCookie=Tu,e.getDefineListeners=ju,e.getDomain=function(e,t){void 0===t&&(t=["hostname"]);var n=document.createElement("a");return n.href=e,t.reduce((function(e,t){return e+=n[t]}),"")},e.getFileSize=function(e){var t=function(e){return String(Math.ceil(e))};if(!e)return"";var n=1024;return e<n?e+" B":e<Math.pow(n,2)?t(e/n)+" KB":e<Math.pow(n,3)?t(e/Math.pow(n,2))+" MB":e<Math.pow(n,4)?t(e/Math.pow(n,3))+" G":t(e/Math.pow(n,4))+" T"},e.getHashQueryParam=function(e){var t=location.hash.split("?");if(1===t.length)return"";var n=new RegExp("(^|&)".concat(e,"=([^&]*)(&|$)")),r=t[1].match(n);return r?r[2]:""},e.getLocalStorage=function(e){var t=null;if(e){var n=localStorage.getItem(e);n&&(t=JSON.parse(n))}return t},e.getPerformance=function(e){var t,n;void 0===e&&(e=!1);var r,o,i=new Promise((function(e,r){var o;t=(o=[e,r])[0],n=o[1]})),a=window.performance.timing,c=a.navigationStart||a.fetchStart;function u(){try{if(window.performance&&Boolean(window.performance.getEntriesByType))window.performance.getEntriesByType("paint").forEach((function(e,t,n){var i=Math.round(e.startTime);"first-paint"===e.name?r=i:"first-contentful-paint"===e.name&&(o=i)}));else console.error("paint")}catch(e){console.error(e.message)}if(window.performance&&"function"==typeof window.performance.getEntries){var i,u=(window.performance.getEntries()||[])[0]||{},v={os:f(),osVersion:s(),deviceType:l(),network:d(),screenDirection:p(),unloadTime:a.unloadEventEnd-a.unloadEventStart,redirectTime:a.redirectEnd-a.redirectStart,dnsTime:a.domainLookupEnd-a.domainLookupStart,tcpTime:a.connectEnd-a.connectStart,sslTime:g(a.connectEnd,a.secureConnectionStart),responseTime:a.responseStart-a.requestStart,downloadTime:a.responseEnd-a.responseStart,firstPaintTime:r,firstContentfulPaintTime:o,domreadyTime:a.domContentLoadedEventStart-c||0,onloadTime:a.loadEventStart-c||0,whiteTime:a.responseStart-c,renderTime:a.loadEventEnd-c||0,decodedBodySize:u.decodedBodySize||"",encodedBodySize:u.encodedBodySize||""};if(Object.keys(v).forEach((function(e){Eu(v[e])&&v[e]<0&&(v[e]=0)})),Eu(v.whiteTime)&&v.whiteTime>v.onloadTime&&(v.whiteTime=0),c>0)e||Object.keys(v).forEach((function(e){i||(i={}),i[wu(e)]=v[e]})),t(i||v);else n(Error("startTime"))}else n(Error("getEntries"))}function f(){return navigator.userAgent.indexOf("Android")>-1||navigator.userAgent.indexOf("Linux")>-1?"android":navigator.userAgent.indexOf("iPhone")>-1?"ios":navigator.userAgent.indexOf("Windows Phone")>-1?"wp":"others"}function s(){var e,t=navigator.userAgent,n=t.indexOf("Android")>-1||t.indexOf("Linux")>-1,r=!!t.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/);return n&&(e=(navigator.userAgent.split(";")[1].match(/\d+\.\d+/g)||[])[0]),r&&(e=(navigator.userAgent.split(";")[1].match(/(\d+)_(\d+)_?(\d+)?/)||[])[0]),e}function l(){var e=navigator.userAgent.toLowerCase(),t=e.match(/(ipad)/i)&&"ipad",n=e.match(/iphone os/i)&&"iphone os",r=e.match(/midp/i)&&"midp",o=e.match(/rv:1.2.3.4/i)&&"rv:1.2.3.4",i=e.match(/ucweb/i)&&"ucweb",a=e.match(/android/i)&&"android",c=e.match(/windows ce/i)&&"windows ce",u=e.match(/windows mobile/i)&&"windows mobile";return t||n||r||o||i||a||c||u?n||r||o||i||a||c||u?"phone":t?"ipad":void 0:"pc"}function d(){var e;if(navigator.connection&&navigator.connection.effectiveType)switch(navigator.connection.effectiveType){case"wifi":e="wifi";break;case"4g":e="4g";break;case"2g":e="2g";break;case"3g":e="3g";break;case"ethernet":e="ethernet";break;case"default":e=void 0}return e}function p(){var e;return window.screen&&window.screen.orientation&&window.screen.orientation.angle&&(180!==window.screen.orientation.angle&&0!==window.screen.orientation.angle||(e="|"),90!==window.screen.orientation.angle&&-90!==window.screen.orientation.angle||(e="-")),e}function g(e,t){var n;return t&&(n=e-t),n}return window.performance&&window.performance.timing&&window.performance.timing.loadEventEnd>0?u():window.addEventListener("load",(function(){window.setTimeout((function(){u()}),0)})),i},e.getQueryParam=function(e){var t=new RegExp("(^|&)"+e+"=([^&]*)(&|$)"),n=location.search.substr(1).match(t);return null!==n?decodeURIComponent(n[2]):""},e.getSessionStorage=function(e){var t=null;if(e){var n=sessionStorage.getItem(e);n&&(t=JSON.parse(n))}return t},e.getUrlParam=function(e,t){var n={};return e.replace(/\??(\w+)=([^&]*)&?/g,(function(e,t,r){if(void 0!==n[t]){var o=n[t];n[t]=[].concat(o,r)}else n[t]=r})),n[t]||""},e.hasClass=function(e,t){for(var n=e.className.split(/\s+/),r=0;r<n.length;r++)if(n[r]===t)return!0;return!1},e.inRate=function(e){return Math.random()<e},e.invokeEvent=function(e){var t=ju()[e];if(t instanceof Array)for(var n=0,r=t.length;n<r;n++)"function"==typeof t[n]&&t[n]({type:e})},e.isJsonString=function(e){try{if("object"===c(JSON.parse(e)))return!0}catch(e){}return!1},e.isNonEmptyArray=function(e){var t=!1;return Array.isArray(e)&&e.length&&(t=!0),t},e.isNumber=Eu,e.isSafePWAEnv=function(){var e=Au();return!(!("serviceWorker"in navigator&&function(){var e;try{return e=new Function("return async function(){};")(),null!=Object.getPrototypeOf(e).constructor}catch(e){return!1}}()&&"undefined"!=typeof Promise&&-1!==Promise.toString().indexOf("[native code]")&&Boolean(window.fetch)&&Boolean(window.indexedDB)&&Boolean(window.caches))||e.shell)},e.isSupportWebp=function(){return new Promise((function(e){var t=new Image;t.onload=function(){e(t.width>0&&t.height>0)},t.onerror=function(){e(!1)},t.src="data:image/webp;base64,UklGRh4AAABXRUJQVlA4TBEAAAAvAAAAAAfQ//73v/+BiOh/AAA="}))},e.isValidData=function(e,t,n){var r=!1;return t.reduce((function(e,t){return e[t]?e=e[t]:Object.create(null)}),e)===n&&(r=!0),r},e.isValidEmail=function(e){return/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(e)},e.isValidPhoneNumber=function(e){return/^1[3456789]\d{9}$/.test(e)},e.isValidUrl=function(e){return/[a-zA-Z0-9]+:\/\/[-a-zA-Z0-9@:%._+~#=]{1,256}\b([-a-zA-Z0-9\u4E00-\u9FA5()!@:%_+.~#?&//=]*)/gm.test(e)},e.loadCSS=function(e,t){void 0===t&&(t={id:""});var n,r=t.id,o=new Promise((function(e,t){n=[e,t][0]})),i=function(){n(!0)},a=document.createElement("link"),c="onload"in a,u=+navigator.userAgent.replace(/.*(?:AppleWebKit|AndroidWebKit)\/?(\d+).*/i,"$1")<536;if(a.rel="stylesheet",a.type="text/css",a.href=e,void 0!==r&&(a.id=r),document.getElementsByTagName("head")[0].appendChild(a),u||!c)return setTimeout((function(){s(a,i,0)}),1),o;function f(){a.onload=a.onerror=a.onreadystatechange=null,a=null,i()}function s(e,t,n){var r,o=e.sheet;if((n+=1)>3e5)return r=!0,e=null,void t();if(u)o&&(r=!0);else if(o)try{o.cssRules&&(r=!0)}catch(e){"NS_ERROR_DOM_SECURITY_ERR"===e.name&&(r=!0)}setTimeout((function(){r?t():s(e,t,n)}),20)}return c?(a.onload=f,a.onerror=function(){f()}):a.onreadystatechange=function(){/loaded|complete/.test(a.readyState)&&f()},o},e.loadScript=function(e,t){void 0===t&&(t={id:"",callback:function(){},timeout:5e3,isDefer:!1});var n=Object.assign({id:"",callback:function(){},timeout:5e3,isDefer:!1},t),r=n.id,o=n.callback,i=n.timeout,a=n.isDefer,c=null,u=null,f=document.createElement("script"),s=document.getElementsByTagName("script")[0];return f.type="text/javascript",a&&(f.defer="defer"),r&&(f.id=r),f.readyState?f.onreadystatechange=function(){"loaded"!==f.readyState&&"complete"!==f.readyState||(f.onreadystatechange=null,xu(o),xu(c,!0))}:f.onload=function(){xu(o),xu(c,!0)},f.src=e,s&&s.parentNode.insertBefore(f,s),new Promise((function(e,t){var n;c=(n=[e,t])[0],u=n[1],i&&setTimeout(u.bind(null,Error("timeout")),i)}))},e.mNow=Ou,e.mTrim=function(e){for(var t=(e=e.replace(/^\s+/,"")).length-1,n=/\s/;n.test(e.charAt(t));)t--;return e.slice(0,t+1)},e.newLine=function(e){if(!e)return"";var t=new RegExp("\\n","g");return e.replace(t,"<br />")},e.removeClass=function(e,t){var n;n=(n=(n=(n=" "+e.className+" ").replace(/(\s+)/gi," ")).replace(" "+t+" "," ")).replace(/(^\s+)|(\s+$)/g,""),e.className=n},e.removeEvent=function(e,t){var n=ju(),r=n[e];if("string"==typeof e&&r instanceof Array)if("function"==typeof t){for(var o=0,i=r.length;o<i;o++)if(r[o]===t){n[e].splice(o,1);break}}else delete n[e]},e.setCookie=function(e,t,n,r){var o,i,a;n?((a=new Date).setTime(a.getTime()+24*n*60*60*1e3),i="; expires="+a.toGMTString()):i="";var c=location.host;1===c.split(".").length?document.cookie=e+"="+t+i+"; path=/":((o=c.split(".")).shift(),r=r||"."+o.join("."),document.cookie=e+"="+t+i+"; path=/; domain="+r,null!==Tu(e)&&Tu(e)===t||(r=r||"."+c,document.cookie=e+"="+t+i+"; path=/; domain="+r))},e.setLocalStorage=function(e,t){void 0===t&&(t=null),e&&localStorage.setItem(e,JSON.stringify(t))},e.setSessionStorage=function(e,t){void 0===t&&(t=null),e&&sessionStorage.setItem(e,JSON.stringify(t))},e.throttle=function(e,t,n){void 0===n&&(n={}),n=Object.assign({},n);var r=null,o=null,i=null,a=[null,0],c=a[0],u=a[1],f=function(){u=!1===n.leading?0:Ou(),i=null,c=e.apply(r,o),i||(r=o=null)};return function(){for(var a=[],s=0;s<arguments.length;s++)a[s]=arguments[s];var l=Ou();u||!1!==n.leading||(u=l);var d=t-(l-u);return r=this,o=a,d<=0||d>t?(i&&(clearTimeout(i),i=null),u=l,c=e.apply(r,o),i||(r=o=null)):i||!1===n.trailing||(i=setTimeout(f,d)),c}},e.updateQueryParam=function(e,t,n){var r=new RegExp("([?&])"+t+"=.*?(&|$)","i"),o=-1!==e.indexOf("?")?"&":"?";return e.match(r)?e.replace(r,"$1"+t+"="+n+"$2"):e+o+t+"="+n},e.windowLoaded=function(e){void 0===e&&(e=90);var t,n=function(){},r=new Promise((function(e,r){n=e,t=r}));return"complete"===document.readyState?n("complete"):window.addEventListener("load",(function(){return n("load")})),setTimeout((function(){return t(Error("timeout"))}),1e3*e),r},e.zAxiosIsValidRes=function(e,t){void 0===t&&(t={validStatusRange:[200,300],validCode:[0]});var n=Object.assign({validStatusRange:[200,300],validCode:[0]},t),r=n.validStatusRange,o=n.validCode;2!==r.length&&console.error("valid validStatusRange is required");var i=!1;if(e&&e.status&&2===r.length&&e.status>=r[0]&&e.status<r[1]){var a=e.data;a&&o.includes(a.code)&&(i=!0)}return i},Object.defineProperty(e,"__esModule",{value:!0}),e}({});
6
+ var mazey=function(e){"use strict";var t="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function n(e,t){return e(t={exports:{}},t.exports),t.exports}var r,o,i,a=n((function(e){function t(n){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})),c=(r=a)&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r,u=function(e){return e&&e.Math==Math&&e},f=u("object"==typeof globalThis&&globalThis)||u("object"==typeof window&&window)||u("object"==typeof self&&self)||u("object"==typeof t&&t)||function(){return this}()||Function("return this")(),s=function(e){try{return!!e()}catch(e){return!0}},l=!s((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),d=!s((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})),p=Function.prototype.call,v=d?p.bind(p):function(){return p.apply(p,arguments)},g={}.propertyIsEnumerable,h=Object.getOwnPropertyDescriptor,m={f:h&&!g.call({1:2},1)?function(e){var t=h(this,e);return!!t&&t.enumerable}:g},y=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},w=Function.prototype,b=w.call,S=d&&w.bind.bind(b,b),E=d?S:function(e){return function(){return b.apply(e,arguments)}},x=E({}.toString),O=E("".slice),T=function(e){return O(x(e),8,-1)},A=Object,j=E("".split),I=s((function(){return!A("z").propertyIsEnumerable(0)}))?function(e){return"String"==T(e)?j(e,""):A(e)}:A,R=function(e){return null==e},M=TypeError,N=function(e){if(R(e))throw M("Can't call method on "+e);return e},C=function(e){return I(N(e))},P="object"==typeof document&&document.all,_={all:P,IS_HTMLDDA:void 0===P&&void 0!==P},k=_.all,L=_.IS_HTMLDDA?function(e){return"function"==typeof e||e===k}:function(e){return"function"==typeof e},D=_.all,F=_.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:L(e)||e===D}:function(e){return"object"==typeof e?null!==e:L(e)},U=function(e,t){return arguments.length<2?(n=f[e],L(n)?n:void 0):f[e]&&f[e][t];var n},B=E({}.isPrototypeOf),$="undefined"!=typeof navigator&&String(navigator.userAgent)||"",V=f.process,z=f.Deno,q=V&&V.versions||z&&z.version,G=q&&q.v8;G&&(i=(o=G.split("."))[0]>0&&o[0]<4?1:+(o[0]+o[1])),!i&&$&&(!(o=$.match(/Edge\/(\d+)/))||o[1]>=74)&&(o=$.match(/Chrome\/(\d+)/))&&(i=+o[1]);var H=i,W=!!Object.getOwnPropertySymbols&&!s((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&H&&H<41})),Y=W&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,J=Object,K=Y?function(e){return"symbol"==typeof e}:function(e){var t=U("Symbol");return L(t)&&B(t.prototype,J(e))},Z=String,X=function(e){try{return Z(e)}catch(e){return"Object"}},Q=TypeError,ee=function(e){if(L(e))return e;throw Q(X(e)+" is not a function")},te=function(e,t){var n=e[t];return R(n)?void 0:ee(n)},ne=TypeError,re=Object.defineProperty,oe=function(e,t){try{re(f,e,{value:t,configurable:!0,writable:!0})}catch(n){f[e]=t}return t},ie="__core-js_shared__",ae=f[ie]||oe(ie,{}),ce=n((function(e){(e.exports=function(e,t){return ae[e]||(ae[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.29.1",mode:"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.29.1/LICENSE",source:"https://github.com/zloirock/core-js"})})),ue=Object,fe=function(e){return ue(N(e))},se=E({}.hasOwnProperty),le=Object.hasOwn||function(e,t){return se(fe(e),t)},de=0,pe=Math.random(),ve=E(1..toString),ge=function(e){return"Symbol("+(void 0===e?"":e)+")_"+ve(++de+pe,36)},he=f.Symbol,me=ce("wks"),ye=Y?he.for||he:he&&he.withoutSetter||ge,we=function(e){return le(me,e)||(me[e]=W&&le(he,e)?he[e]:ye("Symbol."+e)),me[e]},be=TypeError,Se=we("toPrimitive"),Ee=function(e,t){if(!F(e)||K(e))return e;var n,r=te(e,Se);if(r){if(void 0===t&&(t="default"),n=v(r,e,t),!F(n)||K(n))return n;throw be("Can't convert object to primitive value")}return void 0===t&&(t="number"),function(e,t){var n,r;if("string"===t&&L(n=e.toString)&&!F(r=v(n,e)))return r;if(L(n=e.valueOf)&&!F(r=v(n,e)))return r;if("string"!==t&&L(n=e.toString)&&!F(r=v(n,e)))return r;throw ne("Can't convert object to primitive value")}(e,t)},xe=function(e){var t=Ee(e,"string");return K(t)?t:t+""},Oe=f.document,Te=F(Oe)&&F(Oe.createElement),Ae=function(e){return Te?Oe.createElement(e):{}},je=!l&&!s((function(){return 7!=Object.defineProperty(Ae("div"),"a",{get:function(){return 7}}).a})),Ie=Object.getOwnPropertyDescriptor,Re={f:l?Ie:function(e,t){if(e=C(e),t=xe(t),je)try{return Ie(e,t)}catch(e){}if(le(e,t))return y(!v(m.f,e,t),e[t])}},Me=l&&s((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Ne=String,Ce=TypeError,Pe=function(e){if(F(e))return e;throw Ce(Ne(e)+" is not an object")},_e=TypeError,ke=Object.defineProperty,Le=Object.getOwnPropertyDescriptor,De="enumerable",Fe="configurable",Ue="writable",Be={f:l?Me?function(e,t,n){if(Pe(e),t=xe(t),Pe(n),"function"==typeof e&&"prototype"===t&&"value"in n&&Ue in n&&!n[Ue]){var r=Le(e,t);r&&r[Ue]&&(e[t]=n.value,n={configurable:Fe in n?n[Fe]:r[Fe],enumerable:De in n?n[De]:r[De],writable:!1})}return ke(e,t,n)}:ke:function(e,t,n){if(Pe(e),t=xe(t),Pe(n),je)try{return ke(e,t,n)}catch(e){}if("get"in n||"set"in n)throw _e("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},$e=l?function(e,t,n){return Be.f(e,t,y(1,n))}:function(e,t,n){return e[t]=n,e},Ve=Function.prototype,ze=l&&Object.getOwnPropertyDescriptor,qe=le(Ve,"name"),Ge={EXISTS:qe,PROPER:qe&&"something"===function(){}.name,CONFIGURABLE:qe&&(!l||l&&ze(Ve,"name").configurable)},He=E(Function.toString);L(ae.inspectSource)||(ae.inspectSource=function(e){return He(e)});var We,Ye,Je,Ke=ae.inspectSource,Ze=f.WeakMap,Xe=L(Ze)&&/native code/.test(String(Ze)),Qe=ce("keys"),et=function(e){return Qe[e]||(Qe[e]=ge(e))},tt={},nt="Object already initialized",rt=f.TypeError,ot=f.WeakMap;if(Xe||ae.state){var it=ae.state||(ae.state=new ot);it.get=it.get,it.has=it.has,it.set=it.set,We=function(e,t){if(it.has(e))throw rt(nt);return t.facade=e,it.set(e,t),t},Ye=function(e){return it.get(e)||{}},Je=function(e){return it.has(e)}}else{var at=et("state");tt[at]=!0,We=function(e,t){if(le(e,at))throw rt(nt);return t.facade=e,$e(e,at,t),t},Ye=function(e){return le(e,at)?e[at]:{}},Je=function(e){return le(e,at)}}var ct,ut={set:We,get:Ye,has:Je,enforce:function(e){return Je(e)?Ye(e):We(e,{})},getterFor:function(e){return function(t){var n;if(!F(t)||(n=Ye(t)).type!==e)throw rt("Incompatible receiver, "+e+" required");return n}}},ft=n((function(e){var t=Ge.CONFIGURABLE,n=ut.enforce,r=ut.get,o=String,i=Object.defineProperty,a=E("".slice),c=E("".replace),u=E([].join),f=l&&!s((function(){return 8!==i((function(){}),"length",{value:8}).length})),d=String(String).split("String"),p=e.exports=function(e,r,s){"Symbol("===a(o(r),0,7)&&(r="["+c(o(r),/^Symbol\(([^)]*)\)/,"$1")+"]"),s&&s.getter&&(r="get "+r),s&&s.setter&&(r="set "+r),(!le(e,"name")||t&&e.name!==r)&&(l?i(e,"name",{value:r,configurable:!0}):e.name=r),f&&s&&le(s,"arity")&&e.length!==s.arity&&i(e,"length",{value:s.arity});try{s&&le(s,"constructor")&&s.constructor?l&&i(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var p=n(e);return le(p,"source")||(p.source=u(d,"string"==typeof r?r:"")),e};Function.prototype.toString=p((function(){return L(this)&&r(this).source||Ke(this)}),"toString")})),st=function(e,t,n,r){r||(r={});var o=r.enumerable,i=void 0!==r.name?r.name:t;if(L(n)&&ft(n,i,r),r.global)o?e[t]=n:oe(t,n);else{try{r.unsafe?e[t]&&(o=!0):delete e[t]}catch(e){}o?e[t]=n:Be.f(e,t,{value:n,enumerable:!1,configurable:!r.nonConfigurable,writable:!r.nonWritable})}return e},lt=Math.ceil,dt=Math.floor,pt=Math.trunc||function(e){var t=+e;return(t>0?dt:lt)(t)},vt=function(e){var t=+e;return t!=t||0===t?0:pt(t)},gt=Math.max,ht=Math.min,mt=function(e,t){var n=vt(e);return n<0?gt(n+t,0):ht(n,t)},yt=Math.min,wt=function(e){return e>0?yt(vt(e),9007199254740991):0},bt=function(e){return wt(e.length)},St=function(e){return function(t,n,r){var o,i=C(t),a=bt(i),c=mt(r,a);if(e&&n!=n){for(;a>c;)if((o=i[c++])!=o)return!0}else for(;a>c;c++)if((e||c in i)&&i[c]===n)return e||c||0;return!e&&-1}},Et={includes:St(!0),indexOf:St(!1)},xt=Et.indexOf,Ot=E([].push),Tt=function(e,t){var n,r=C(e),o=0,i=[];for(n in r)!le(tt,n)&&le(r,n)&&Ot(i,n);for(;t.length>o;)le(r,n=t[o++])&&(~xt(i,n)||Ot(i,n));return i},At=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],jt=At.concat("length","prototype"),It={f:Object.getOwnPropertyNames||function(e){return Tt(e,jt)}},Rt={f:Object.getOwnPropertySymbols},Mt=E([].concat),Nt=U("Reflect","ownKeys")||function(e){var t=It.f(Pe(e)),n=Rt.f;return n?Mt(t,n(e)):t},Ct=function(e,t,n){for(var r=Nt(t),o=Be.f,i=Re.f,a=0;a<r.length;a++){var c=r[a];le(e,c)||n&&le(n,c)||o(e,c,i(t,c))}},Pt=/#|\.prototype\./,_t=function(e,t){var n=Lt[kt(e)];return n==Ft||n!=Dt&&(L(t)?s(t):!!t)},kt=_t.normalize=function(e){return String(e).replace(Pt,".").toLowerCase()},Lt=_t.data={},Dt=_t.NATIVE="N",Ft=_t.POLYFILL="P",Ut=_t,Bt=Re.f,$t=function(e,t){var n,r,o,i,a,c=e.target,u=e.global,s=e.stat;if(n=u?f:s?f[c]||oe(c,{}):(f[c]||{}).prototype)for(r in t){if(i=t[r],o=e.dontCallGetSet?(a=Bt(n,r))&&a.value:n[r],!Ut(u?r:c+(s?".":"#")+r,e.forced)&&void 0!==o){if(typeof i==typeof o)continue;Ct(i,o)}(e.sham||o&&o.sham)&&$e(i,"sham",!0),st(n,r,i,e)}},Vt=Object.keys||function(e){return Tt(e,At)},zt=l&&!Me?Object.defineProperties:function(e,t){Pe(e);for(var n,r=C(t),o=Vt(t),i=o.length,a=0;i>a;)Be.f(e,n=o[a++],r[n]);return e},qt={f:zt},Gt=U("document","documentElement"),Ht="prototype",Wt="script",Yt=et("IE_PROTO"),Jt=function(){},Kt=function(e){return"<"+Wt+">"+e+"</"+Wt+">"},Zt=function(e){e.write(Kt("")),e.close();var t=e.parentWindow.Object;return e=null,t},Xt=function(){try{ct=new ActiveXObject("htmlfile")}catch(e){}var e,t,n;Xt="undefined"!=typeof document?document.domain&&ct?Zt(ct):(t=Ae("iframe"),n="java"+Wt+":",t.style.display="none",Gt.appendChild(t),t.src=String(n),(e=t.contentWindow.document).open(),e.write(Kt("document.F=Object")),e.close(),e.F):Zt(ct);for(var r=At.length;r--;)delete Xt[Ht][At[r]];return Xt()};tt[Yt]=!0;var Qt=Object.create||function(e,t){var n;return null!==e?(Jt[Ht]=Pe(e),n=new Jt,Jt[Ht]=null,n[Yt]=e):n=Xt(),void 0===t?n:qt.f(n,t)},en=Be.f,tn=we("unscopables"),nn=Array.prototype;null==nn[tn]&&en(nn,tn,{configurable:!0,value:Qt(null)});var rn=function(e){nn[tn][e]=!0};$t({target:"Array",proto:!0},{fill:function(e){for(var t=fe(this),n=bt(t),r=arguments.length,o=mt(r>1?arguments[1]:void 0,n),i=r>2?arguments[2]:void 0,a=void 0===i?n:mt(i,n);a>o;)t[o++]=e;return t}}),rn("fill");var on=Array.isArray||function(e){return"Array"==T(e)},an=TypeError,cn=function(e){if(e>9007199254740991)throw an("Maximum allowed index exceeded");return e},un=function(e,t,n){var r=xe(t);r in e?Be.f(e,r,y(0,n)):e[r]=n},fn={};fn[we("toStringTag")]="z";var sn="[object z]"===String(fn),ln=we("toStringTag"),dn=Object,pn="Arguments"==T(function(){return arguments}()),vn=sn?T:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=dn(e),ln))?n:pn?T(t):"Object"==(r=T(t))&&L(t.callee)?"Arguments":r},gn=function(){},hn=[],mn=U("Reflect","construct"),yn=/^\s*(?:class|function)\b/,wn=E(yn.exec),bn=!yn.exec(gn),Sn=function(e){if(!L(e))return!1;try{return mn(gn,hn,e),!0}catch(e){return!1}},En=function(e){if(!L(e))return!1;switch(vn(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return bn||!!wn(yn,Ke(e))}catch(e){return!0}};En.sham=!0;var xn=!mn||s((function(){var e;return Sn(Sn.call)||!Sn(Object)||!Sn((function(){e=!0}))||e}))?En:Sn,On=we("species"),Tn=Array,An=function(e,t){return new(function(e){var t;return on(e)&&(t=e.constructor,(xn(t)&&(t===Tn||on(t.prototype))||F(t)&&null===(t=t[On]))&&(t=void 0)),void 0===t?Tn:t}(e))(0===t?0:t)},jn=we("species"),In=function(e){return H>=51||!s((function(){var t=[];return(t.constructor={})[jn]=function(){return{foo:1}},1!==t[e](Boolean).foo}))},Rn=we("isConcatSpreadable"),Mn=H>=51||!s((function(){var e=[];return e[Rn]=!1,e.concat()[0]!==e})),Nn=function(e){if(!F(e))return!1;var t=e[Rn];return void 0!==t?!!t:on(e)};$t({target:"Array",proto:!0,arity:1,forced:!Mn||!In("concat")},{concat:function(e){var t,n,r,o,i,a=fe(this),c=An(a,0),u=0;for(t=-1,r=arguments.length;t<r;t++)if(Nn(i=-1===t?a:arguments[t]))for(o=bt(i),cn(u+o),n=0;n<o;n++,u++)n in i&&un(c,u,i[n]);else cn(u+1),un(c,u++,i);return c.length=u,c}});var Cn=String,Pn=TypeError,_n=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{e=function(e,t,n){try{return E(ee(Object.getOwnPropertyDescriptor(e,t)[n]))}catch(e){}}(Object.prototype,"__proto__","set"),e(n,[]),t=n instanceof Array}catch(e){}return function(n,r){return Pe(n),function(e){if("object"==typeof e||L(e))return e;throw Pn("Can't set "+Cn(e)+" as a prototype")}(r),t?e(n,r):n.__proto__=r,n}}():void 0),kn=function(e,t,n){var r,o;return _n&&L(r=t.constructor)&&r!==n&&F(o=r.prototype)&&o!==n.prototype&&_n(e,o),e},Ln=we("match"),Dn=function(e){var t;return F(e)&&(void 0!==(t=e[Ln])?!!t:"RegExp"==T(e))},Fn=String,Un=function(e){if("Symbol"===vn(e))throw TypeError("Cannot convert a Symbol value to a string");return Fn(e)},Bn=function(){var e=Pe(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t},$n=RegExp.prototype,Vn=function(e){var t=e.flags;return void 0!==t||"flags"in $n||le(e,"flags")||!B($n,e)?t:v(Bn,e)},zn=f.RegExp,qn=s((function(){var e=zn("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),Gn=qn||s((function(){return!zn("a","y").sticky})),Hn={BROKEN_CARET:qn||s((function(){var e=zn("^r","gy");return e.lastIndex=2,null!=e.exec("str")})),MISSED_STICKY:Gn,UNSUPPORTED_Y:qn},Wn=Be.f,Yn=function(e,t,n){n in e||Wn(e,n,{configurable:!0,get:function(){return t[n]},set:function(e){t[n]=e}})},Jn=function(e,t,n){return n.get&&ft(n.get,t,{getter:!0}),n.set&&ft(n.set,t,{setter:!0}),Be.f(e,t,n)},Kn=we("species"),Zn=function(e){var t=U(e);l&&t&&!t[Kn]&&Jn(t,Kn,{configurable:!0,get:function(){return this}})},Xn=f.RegExp,Qn=s((function(){var e=Xn(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)})),er=f.RegExp,tr=s((function(){var e=er("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")})),nr=It.f,rr=ut.enforce,or=we("match"),ir=f.RegExp,ar=ir.prototype,cr=f.SyntaxError,ur=E(ar.exec),fr=E("".charAt),sr=E("".replace),lr=E("".indexOf),dr=E("".slice),pr=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,vr=/a/g,gr=/a/g,hr=new ir(vr)!==vr,mr=Hn.MISSED_STICKY,yr=Hn.UNSUPPORTED_Y,wr=l&&(!hr||mr||Qn||tr||s((function(){return gr[or]=!1,ir(vr)!=vr||ir(gr)==gr||"/a/i"!=ir(vr,"i")})));if(Ut("RegExp",wr)){for(var br=function(e,t){var n,r,o,i,a,c,u=B(ar,this),f=Dn(e),s=void 0===t,l=[],d=e;if(!u&&f&&s&&e.constructor===br)return e;if((f||B(ar,e))&&(e=e.source,s&&(t=Vn(d))),e=void 0===e?"":Un(e),t=void 0===t?"":Un(t),d=e,Qn&&"dotAll"in vr&&(r=!!t&&lr(t,"s")>-1)&&(t=sr(t,/s/g,"")),n=t,mr&&"sticky"in vr&&(o=!!t&&lr(t,"y")>-1)&&yr&&(t=sr(t,/y/g,"")),tr&&(i=function(e){for(var t,n=e.length,r=0,o="",i=[],a={},c=!1,u=!1,f=0,s="";r<=n;r++){if("\\"===(t=fr(e,r)))t+=fr(e,++r);else if("]"===t)c=!1;else if(!c)switch(!0){case"["===t:c=!0;break;case"("===t:ur(pr,dr(e,r+1))&&(r+=2,u=!0),o+=t,f++;continue;case">"===t&&u:if(""===s||le(a,s))throw new cr("Invalid capture group name");a[s]=!0,i[i.length]=[s,f],u=!1,s="";continue}u?s+=t:o+=t}return[o,i]}(e),e=i[0],l=i[1]),a=kn(ir(e,t),u?this:ar,br),(r||o||l.length)&&(c=rr(a),r&&(c.dotAll=!0,c.raw=br(function(e){for(var t,n=e.length,r=0,o="",i=!1;r<=n;r++)"\\"!==(t=fr(e,r))?i||"."!==t?("["===t?i=!0:"]"===t&&(i=!1),o+=t):o+="[\\s\\S]":o+=t+fr(e,++r);return o}(e),n)),o&&(c.sticky=!0),l.length&&(c.groups=l)),e!==d)try{$e(a,"source",""===d?"(?:)":d)}catch(e){}return a},Sr=nr(ir),Er=0;Sr.length>Er;)Yn(br,ir,Sr[Er++]);ar.constructor=br,br.prototype=ar,st(f,"RegExp",br,{constructor:!0})}Zn("RegExp");var xr=ut.get,Or=ce("native-string-replace",String.prototype.replace),Tr=RegExp.prototype.exec,Ar=Tr,jr=E("".charAt),Ir=E("".indexOf),Rr=E("".replace),Mr=E("".slice),Nr=function(){var e=/a/,t=/b*/g;return v(Tr,e,"a"),v(Tr,t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),Cr=Hn.BROKEN_CARET,Pr=void 0!==/()??/.exec("")[1];(Nr||Pr||Cr||Qn||tr)&&(Ar=function(e){var t,n,r,o,i,a,c,u=this,f=xr(u),s=Un(e),l=f.raw;if(l)return l.lastIndex=u.lastIndex,t=v(Ar,l,s),u.lastIndex=l.lastIndex,t;var d=f.groups,p=Cr&&u.sticky,g=v(Bn,u),h=u.source,m=0,y=s;if(p&&(g=Rr(g,"y",""),-1===Ir(g,"g")&&(g+="g"),y=Mr(s,u.lastIndex),u.lastIndex>0&&(!u.multiline||u.multiline&&"\n"!==jr(s,u.lastIndex-1))&&(h="(?: "+h+")",y=" "+y,m++),n=new RegExp("^(?:"+h+")",g)),Pr&&(n=new RegExp("^"+h+"$(?!\\s)",g)),Nr&&(r=u.lastIndex),o=v(Tr,p?n:u,y),p?o?(o.input=Mr(o.input,m),o[0]=Mr(o[0],m),o.index=u.lastIndex,u.lastIndex+=o[0].length):u.lastIndex=0:Nr&&o&&(u.lastIndex=u.global?o.index+o[0].length:r),Pr&&o&&o.length>1&&v(Or,o[0],n,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(o[i]=void 0)})),o&&d)for(o.groups=a=Qt(null),i=0;i<d.length;i++)a[(c=d[i])[0]]=o[c[1]];return o});var _r=Ar;$t({target:"RegExp",proto:!0,forced:/./.exec!==_r},{exec:_r});var kr=Ge.PROPER,Lr="toString",Dr=RegExp.prototype[Lr],Fr=s((function(){return"/a/b"!=Dr.call({source:"a",flags:"b"})})),Ur=kr&&Dr.name!=Lr;(Fr||Ur)&&st(RegExp.prototype,Lr,(function(){var e=Pe(this);return"/"+Un(e.source)+"/"+Un(Vn(e))}),{unsafe:!0});var Br=function(e){if("Function"===T(e))return E(e)},$r=we("species"),Vr=RegExp.prototype,zr=function(e,t,n,r){var o=we(e),i=!s((function(){var t={};return t[o]=function(){return 7},7!=""[e](t)})),a=i&&!s((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[$r]=function(){return n},n.flags="",n[o]=/./[o]),n.exec=function(){return t=!0,null},n[o](""),!t}));if(!i||!a||n){var c=Br(/./[o]),u=t(o,""[e],(function(e,t,n,r,o){var a=Br(e),u=t.exec;return u===_r||u===Vr.exec?i&&!o?{done:!0,value:c(t,n,r)}:{done:!0,value:a(n,t,r)}:{done:!1}}));st(String.prototype,e,u[0]),st(Vr,o,u[1])}r&&$e(Vr[o],"sham",!0)},qr=E("".charAt),Gr=E("".charCodeAt),Hr=E("".slice),Wr=function(e){return function(t,n){var r,o,i=Un(N(t)),a=vt(n),c=i.length;return a<0||a>=c?e?"":void 0:(r=Gr(i,a))<55296||r>56319||a+1===c||(o=Gr(i,a+1))<56320||o>57343?e?qr(i,a):r:e?Hr(i,a,a+2):o-56320+(r-55296<<10)+65536}},Yr={codeAt:Wr(!1),charAt:Wr(!0)}.charAt,Jr=function(e,t,n){return t+(n?Yr(e,t).length:1)},Kr=TypeError,Zr=function(e,t){var n=e.exec;if(L(n)){var r=v(n,e,t);return null!==r&&Pe(r),r}if("RegExp"===T(e))return v(_r,e,t);throw Kr("RegExp#exec called on incompatible receiver")};zr("match",(function(e,t,n){return[function(t){var n=N(this),r=R(t)?void 0:te(t,e);return r?v(r,t,n):new RegExp(t)[e](Un(n))},function(e){var r=Pe(this),o=Un(e),i=n(t,r,o);if(i.done)return i.value;if(!r.global)return Zr(r,o);var a=r.unicode;r.lastIndex=0;for(var c,u=[],f=0;null!==(c=Zr(r,o));){var s=Un(c[0]);u[f]=s,""===s&&(r.lastIndex=Jr(o,wt(r.lastIndex),a)),f++}return 0===f?null:u}]}));var Xr=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t};zr("search",(function(e,t,n){return[function(t){var n=N(this),r=R(t)?void 0:te(t,e);return r?v(r,t,n):new RegExp(t)[e](Un(n))},function(e){var r=Pe(this),o=Un(e),i=n(t,r,o);if(i.done)return i.value;var a=r.lastIndex;Xr(a,0)||(r.lastIndex=0);var c=Zr(r,o);return Xr(r.lastIndex,a)||(r.lastIndex=a),null===c?-1:c.index}]}));var Qr=Function.prototype,eo=Qr.apply,to=Qr.call,no="object"==typeof Reflect&&Reflect.apply||(d?to.bind(eo):function(){return to.apply(eo,arguments)}),ro=Math.floor,oo=E("".charAt),io=E("".replace),ao=E("".slice),co=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,uo=/\$([$&'`]|\d{1,2})/g,fo=function(e,t,n,r,o,i){var a=n+e.length,c=r.length,u=uo;return void 0!==o&&(o=fe(o),u=co),io(i,u,(function(i,u){var f;switch(oo(u,0)){case"$":return"$";case"&":return e;case"`":return ao(t,0,n);case"'":return ao(t,a);case"<":f=o[ao(u,1,-1)];break;default:var s=+u;if(0===s)return i;if(s>c){var l=ro(s/10);return 0===l?i:l<=c?void 0===r[l-1]?oo(u,1):r[l-1]+oo(u,1):i}f=r[s-1]}return void 0===f?"":f}))},so=we("replace"),lo=Math.max,po=Math.min,vo=E([].concat),go=E([].push),ho=E("".indexOf),mo=E("".slice),yo="$0"==="a".replace(/./,"$0"),wo=!!/./[so]&&""===/./[so]("a","$0");zr("replace",(function(e,t,n){var r=wo?"$":"$0";return[function(e,n){var r=N(this),o=R(e)?void 0:te(e,so);return o?v(o,e,r,n):v(t,Un(r),e,n)},function(e,o){var i=Pe(this),a=Un(e);if("string"==typeof o&&-1===ho(o,r)&&-1===ho(o,"$<")){var c=n(t,i,a,o);if(c.done)return c.value}var u=L(o);u||(o=Un(o));var f=i.global;if(f){var s=i.unicode;i.lastIndex=0}for(var l=[];;){var d=Zr(i,a);if(null===d)break;if(go(l,d),!f)break;""===Un(d[0])&&(i.lastIndex=Jr(a,wt(i.lastIndex),s))}for(var p,v="",g=0,h=0;h<l.length;h++){for(var m=Un((d=l[h])[0]),y=lo(po(vt(d.index),a.length),0),w=[],b=1;b<d.length;b++)go(w,void 0===(p=d[b])?p:String(p));var S=d.groups;if(u){var E=vo([m],w,y,a);void 0!==S&&go(E,S);var x=Un(no(o,void 0,E))}else x=fo(m,a,y,w,S,o);y>=g&&(v+=mo(a,g,y)+x,g=y+m.length)}return v+mo(a,g)}]}),!!s((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}))||!yo||wo);var bo=function(e,t){var n=[][e];return!!n&&s((function(){n.call(null,t||function(){return 1},1)}))},So=Et.indexOf,Eo=Br([].indexOf),xo=!!Eo&&1/Eo([1],1,-0)<0;$t({target:"Array",proto:!0,forced:xo||!bo("indexOf")},{indexOf:function(e){var t=arguments.length>1?arguments[1]:void 0;return xo?Eo(this,e,t)||0:So(this,e,t)}});var Oo=TypeError,To=function(e){return function(t,n,r,o){ee(n);var i=fe(t),a=I(i),c=bt(i),u=e?c-1:0,f=e?-1:1;if(r<2)for(;;){if(u in a){o=a[u],u+=f;break}if(u+=f,e?u<0:c<=u)throw Oo("Reduce of empty array with no initial value")}for(;e?u>=0:c>u;u+=f)u in a&&(o=n(o,a[u],u,i));return o}},Ao={left:To(!1),right:To(!0)},jo="undefined"!=typeof process&&"process"==T(process),Io=Ao.left;$t({target:"Array",proto:!0,forced:!jo&&H>79&&H<83||!bo("reduce")},{reduce:function(e){var t=arguments.length;return Io(this,e,t,t>1?arguments[1]:void 0)}});var Ro=sn?{}.toString:function(){return"[object "+vn(this)+"]"};sn||st(Object.prototype,"toString",Ro,{unsafe:!0});var Mo=E([].slice),No=In("slice"),Co=we("species"),Po=Array,_o=Math.max;$t({target:"Array",proto:!0,forced:!No},{slice:function(e,t){var n,r,o,i=C(this),a=bt(i),c=mt(e,a),u=mt(void 0===t?a:t,a);if(on(i)&&(n=i.constructor,(xn(n)&&(n===Po||on(n.prototype))||F(n)&&null===(n=n[Co]))&&(n=void 0),n===Po||void 0===n))return Mo(i,c,u);for(r=new(void 0===n?Po:n)(_o(u-c,0)),o=0;c<u;c++,o++)c in i&&un(r,o,i[c]);return r.length=o,r}});var ko=E(1..valueOf),Lo=RangeError,Do=RangeError,Fo=String,Uo=Math.floor,Bo=E((function(e){var t=Un(N(this)),n="",r=vt(e);if(r<0||r==1/0)throw Lo("Wrong number of repetitions");for(;r>0;(r>>>=1)&&(t+=t))1&r&&(n+=t);return n})),$o=E("".slice),Vo=E(1..toFixed),zo=function(e,t,n){return 0===t?n:t%2==1?zo(e,t-1,n*e):zo(e*e,t/2,n)},qo=function(e,t,n){for(var r=-1,o=n;++r<6;)o+=t*e[r],e[r]=o%1e7,o=Uo(o/1e7)},Go=function(e,t){for(var n=6,r=0;--n>=0;)r+=e[n],e[n]=Uo(r/t),r=r%t*1e7},Ho=function(e){for(var t=6,n="";--t>=0;)if(""!==n||0===t||0!==e[t]){var r=Fo(e[t]);n=""===n?r:n+Bo("0",7-r.length)+r}return n};$t({target:"Number",proto:!0,forced:s((function(){return"0.000"!==Vo(8e-5,3)||"1"!==Vo(.9,0)||"1.25"!==Vo(1.255,2)||"1000000000000000128"!==Vo(0xde0b6b3a7640080,0)}))||!s((function(){Vo({})}))},{toFixed:function(e){var t,n,r,o,i=ko(this),a=vt(e),c=[0,0,0,0,0,0],u="",f="0";if(a<0||a>20)throw Do("Incorrect fraction digits");if(i!=i)return"NaN";if(i<=-1e21||i>=1e21)return Fo(i);if(i<0&&(u="-",i=-i),i>1e-21)if(t=function(e){for(var t=0,n=e;n>=4096;)t+=12,n/=4096;for(;n>=2;)t+=1,n/=2;return t}(i*zo(2,69,1))-69,n=t<0?i*zo(2,-t,1):i/zo(2,t,1),n*=4503599627370496,(t=52-t)>0){for(qo(c,0,n),r=a;r>=7;)qo(c,1e7,0),r-=7;for(qo(c,zo(10,r,1),0),r=t-1;r>=23;)Go(c,1<<23),r-=23;Go(c,1<<r),qo(c,1,1),Go(c,2),f=Ho(c)}else qo(c,0,n),qo(c,1<<-t,0),f=Ho(c)+Bo("0",a);return f=a>0?u+((o=f.length)<=a?"0."+Bo("0",a-o)+f:$o(f,0,o-a)+"."+$o(f,o-a)):u+f}});var Wo="\t\n\v\f\r                 \u2028\u2029\ufeff",Yo=E("".replace),Jo=RegExp("^["+Wo+"]+"),Ko=RegExp("(^|[^"+Wo+"])["+Wo+"]+$"),Zo=function(e){return function(t){var n=Un(N(t));return 1&e&&(n=Yo(n,Jo,"")),2&e&&(n=Yo(n,Ko,"$1")),n}},Xo={start:Zo(1),end:Zo(2),trim:Zo(3)},Qo=Xo.trim,ei=E("".charAt),ti=f.parseFloat,ni=f.Symbol,ri=ni&&ni.iterator,oi=1/ti(Wo+"-0")!=-1/0||ri&&!s((function(){ti(Object(ri))}))?function(e){var t=Qo(Un(e)),n=ti(t);return 0===n&&"-"==ei(t,0)?-0:n}:ti;$t({global:!0,forced:parseFloat!=oi},{parseFloat:oi});var ii=TypeError,ai=we("species"),ci=function(e,t){var n,r=Pe(e).constructor;return void 0===r||R(n=Pe(r)[ai])?t:function(e){if(xn(e))return e;throw ii(X(e)+" is not a constructor")}(n)},ui=Array,fi=Math.max,si=function(e,t,n){for(var r=bt(e),o=mt(t,r),i=mt(void 0===n?r:n,r),a=ui(fi(i-o,0)),c=0;o<i;o++,c++)un(a,c,e[o]);return a.length=c,a},li=Hn.UNSUPPORTED_Y,di=4294967295,pi=Math.min,vi=[].push,gi=E(/./.exec),hi=E(vi),mi=E("".slice),yi=!s((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));zr("split",(function(e,t,n){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var r=Un(N(this)),o=void 0===n?di:n>>>0;if(0===o)return[];if(void 0===e)return[r];if(!Dn(e))return v(t,r,e,o);for(var i,a,c,u=[],f=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),s=0,l=new RegExp(e.source,f+"g");(i=v(_r,l,r))&&!((a=l.lastIndex)>s&&(hi(u,mi(r,s,i.index)),i.length>1&&i.index<r.length&&no(vi,u,si(i,1)),c=i[0].length,s=a,u.length>=o));)l.lastIndex===i.index&&l.lastIndex++;return s===r.length?!c&&gi(l,"")||hi(u,""):hi(u,mi(r,s)),u.length>o?si(u,0,o):u}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:v(t,this,e,n)}:t,[function(t,n){var o=N(this),i=R(t)?void 0:te(t,e);return i?v(i,t,o,n):v(r,Un(o),t,n)},function(e,o){var i=Pe(this),a=Un(e),c=n(r,i,a,o,r!==t);if(c.done)return c.value;var u=ci(i,RegExp),f=i.unicode,s=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(li?"g":"y"),l=new u(li?"^(?:"+i.source+")":i,s),d=void 0===o?di:o>>>0;if(0===d)return[];if(0===a.length)return null===Zr(l,a)?[a]:[];for(var p=0,v=0,g=[];v<a.length;){l.lastIndex=li?0:v;var h,m=Zr(l,li?mi(a,v):a);if(null===m||(h=pi(wt(l.lastIndex+(li?v:0)),a.length))===p)v=Jr(a,v,f);else{if(hi(g,mi(a,p,v)),g.length===d)return g;for(var y=1;y<=m.length-1;y++)if(hi(g,m[y]),g.length===d)return g;v=p=h}}return hi(g,mi(a,p)),g}]}),!yi,li);var wi=Object.assign,bi=Object.defineProperty,Si=E([].concat),Ei=!wi||s((function(){if(l&&1!==wi({b:1},wi(bi({},"a",{enumerable:!0,get:function(){bi(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach((function(e){t[e]=e})),7!=wi({},e)[n]||Vt(wi({},t)).join("")!=r}))?function(e,t){for(var n=fe(e),r=arguments.length,o=1,i=Rt.f,a=m.f;r>o;)for(var c,u=I(arguments[o++]),f=i?Si(Vt(u),i(u)):Vt(u),s=f.length,d=0;s>d;)c=f[d++],l&&!v(a,u,c)||(n[c]=u[c]);return n}:wi;$t({target:"Object",stat:!0,arity:2,forced:Object.assign!==Ei},{assign:Ei});var xi,Oi,Ti,Ai,ji=Be.f,Ii=we("toStringTag"),Ri=TypeError,Mi=Br(Br.bind),Ni=function(e,t){return ee(e),void 0===t?e:d?Mi(e,t):function(){return e.apply(t,arguments)}},Ci=TypeError,Pi=/(?:ipad|iphone|ipod).*applewebkit/i.test($),_i=f.setImmediate,ki=f.clearImmediate,Li=f.process,Di=f.Dispatch,Fi=f.Function,Ui=f.MessageChannel,Bi=f.String,$i=0,Vi={},zi="onreadystatechange";s((function(){xi=f.location}));var qi=function(e){if(le(Vi,e)){var t=Vi[e];delete Vi[e],t()}},Gi=function(e){return function(){qi(e)}},Hi=function(e){qi(e.data)},Wi=function(e){f.postMessage(Bi(e),xi.protocol+"//"+xi.host)};_i&&ki||(_i=function(e){!function(e,t){if(e<t)throw Ci("Not enough arguments")}(arguments.length,1);var t=L(e)?e:Fi(e),n=Mo(arguments,1);return Vi[++$i]=function(){no(t,void 0,n)},Oi($i),$i},ki=function(e){delete Vi[e]},jo?Oi=function(e){Li.nextTick(Gi(e))}:Di&&Di.now?Oi=function(e){Di.now(Gi(e))}:Ui&&!Pi?(Ai=(Ti=new Ui).port2,Ti.port1.onmessage=Hi,Oi=Ni(Ai.postMessage,Ai)):f.addEventListener&&L(f.postMessage)&&!f.importScripts&&xi&&"file:"!==xi.protocol&&!s(Wi)?(Oi=Wi,f.addEventListener("message",Hi,!1)):Oi=zi in Ae("script")?function(e){Gt.appendChild(Ae("script"))[zi]=function(){Gt.removeChild(this),qi(e)}}:function(e){setTimeout(Gi(e),0)});var Yi={set:_i,clear:ki},Ji=function(){this.head=null,this.tail=null};Ji.prototype={add:function(e){var t={item:e,next:null},n=this.tail;n?n.next=t:this.head=t,this.tail=t},get:function(){var e=this.head;if(e)return null===(this.head=e.next)&&(this.tail=null),e.item}};var Ki,Zi,Xi,Qi,ea,ta=Ji,na=/ipad|iphone|ipod/i.test($)&&"undefined"!=typeof Pebble,ra=/web0s(?!.*chrome)/i.test($),oa=Re.f,ia=Yi.set,aa=f.MutationObserver||f.WebKitMutationObserver,ca=f.document,ua=f.process,fa=f.Promise,sa=oa(f,"queueMicrotask"),la=sa&&sa.value;if(!la){var da=new ta,pa=function(){var e,t;for(jo&&(e=ua.domain)&&e.exit();t=da.get();)try{t()}catch(e){throw da.head&&Ki(),e}e&&e.enter()};Pi||jo||ra||!aa||!ca?!na&&fa&&fa.resolve?((Qi=fa.resolve(void 0)).constructor=fa,ea=Ni(Qi.then,Qi),Ki=function(){ea(pa)}):jo?Ki=function(){ua.nextTick(pa)}:(ia=Ni(ia,f),Ki=function(){ia(pa)}):(Zi=!0,Xi=ca.createTextNode(""),new aa(pa).observe(Xi,{characterData:!0}),Ki=function(){Xi.data=Zi=!Zi}),la=function(e){da.head||Ki(),da.add(e)}}var va=la,ga=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}},ha=f.Promise,ma="object"==typeof Deno&&Deno&&"object"==typeof Deno.version,ya=!ma&&!jo&&"object"==typeof window&&"object"==typeof document;ha&&ha.prototype;var wa,ba,Sa,Ea,xa,Oa,Ta=we("species"),Aa=!1,ja=L(f.PromiseRejectionEvent),Ia=Ut("Promise",(function(){var e=Ke(ha),t=e!==String(ha);if(!t&&66===H)return!0;if(!H||H<51||!/native code/.test(e)){var n=new ha((function(e){e(1)})),r=function(e){e((function(){}),(function(){}))};if((n.constructor={})[Ta]=r,!(Aa=n.then((function(){}))instanceof r))return!0}return!t&&(ya||ma)&&!ja})),Ra={CONSTRUCTOR:Ia,REJECTION_EVENT:ja,SUBCLASSING:Aa},Ma=TypeError,Na=function(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw Ma("Bad Promise constructor");t=e,n=r})),this.resolve=ee(t),this.reject=ee(n)},Ca={f:function(e){return new Na(e)}},Pa=Yi.set,_a="Promise",ka=Ra.CONSTRUCTOR,La=Ra.REJECTION_EVENT,Da=Ra.SUBCLASSING,Fa=ut.getterFor(_a),Ua=ut.set,Ba=ha&&ha.prototype,$a=ha,Va=Ba,za=f.TypeError,qa=f.document,Ga=f.process,Ha=Ca.f,Wa=Ha,Ya=!!(qa&&qa.createEvent&&f.dispatchEvent),Ja="unhandledrejection",Ka=function(e){var t;return!(!F(e)||!L(t=e.then))&&t},Za=function(e,t){var n,r,o,i=t.value,a=1==t.state,c=a?e.ok:e.fail,u=e.resolve,f=e.reject,s=e.domain;try{c?(a||(2===t.rejection&&nc(t),t.rejection=1),!0===c?n=i:(s&&s.enter(),n=c(i),s&&(s.exit(),o=!0)),n===e.promise?f(za("Promise-chain cycle")):(r=Ka(n))?v(r,n,u,f):u(n)):f(i)}catch(e){s&&!o&&s.exit(),f(e)}},Xa=function(e,t){e.notified||(e.notified=!0,va((function(){for(var n,r=e.reactions;n=r.get();)Za(n,e);e.notified=!1,t&&!e.rejection&&ec(e)})))},Qa=function(e,t,n){var r,o;Ya?((r=qa.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),f.dispatchEvent(r)):r={promise:t,reason:n},!La&&(o=f["on"+e])?o(r):e===Ja&&function(e,t){try{1==arguments.length?console.error(e):console.error(e,t)}catch(e){}}("Unhandled promise rejection",n)},ec=function(e){v(Pa,f,(function(){var t,n=e.facade,r=e.value;if(tc(e)&&(t=ga((function(){jo?Ga.emit("unhandledRejection",r,n):Qa(Ja,n,r)})),e.rejection=jo||tc(e)?2:1,t.error))throw t.value}))},tc=function(e){return 1!==e.rejection&&!e.parent},nc=function(e){v(Pa,f,(function(){var t=e.facade;jo?Ga.emit("rejectionHandled",t):Qa("rejectionhandled",t,e.value)}))},rc=function(e,t,n){return function(r){e(t,r,n)}},oc=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,Xa(e,!0))},ic=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw za("Promise can't be resolved itself");var r=Ka(t);r?va((function(){var n={done:!1};try{v(r,t,rc(ic,n,e),rc(oc,n,e))}catch(t){oc(n,t,e)}})):(e.value=t,e.state=1,Xa(e,!1))}catch(t){oc({done:!1},t,e)}}};if(ka&&(Va=($a=function(e){!function(e,t){if(B(t,e))return e;throw Ri("Incorrect invocation")}(this,Va),ee(e),v(wa,this);var t=Fa(this);try{e(rc(ic,t),rc(oc,t))}catch(e){oc(t,e)}}).prototype,(wa=function(e){Ua(this,{type:_a,done:!1,notified:!1,parent:!1,reactions:new ta,rejection:!1,state:0,value:void 0})}).prototype=st(Va,"then",(function(e,t){var n=Fa(this),r=Ha(ci(this,$a));return n.parent=!0,r.ok=!L(e)||e,r.fail=L(t)&&t,r.domain=jo?Ga.domain:void 0,0==n.state?n.reactions.add(r):va((function(){Za(r,n)})),r.promise})),ba=function(){var e=new wa,t=Fa(e);this.promise=e,this.resolve=rc(ic,t),this.reject=rc(oc,t)},Ca.f=Ha=function(e){return e===$a||undefined===e?new ba(e):Wa(e)},L(ha)&&Ba!==Object.prototype)){Sa=Ba.then,Da||st(Ba,"then",(function(e,t){var n=this;return new $a((function(e,t){v(Sa,n,e,t)})).then(e,t)}),{unsafe:!0});try{delete Ba.constructor}catch(e){}_n&&_n(Ba,Va)}$t({global:!0,constructor:!0,wrap:!0,forced:ka},{Promise:$a}),xa=_a,Oa=!1,(Ea=$a)&&!Oa&&(Ea=Ea.prototype),Ea&&!le(Ea,Ii)&&ji(Ea,Ii,{configurable:!0,value:xa}),Zn(_a);var ac={},cc=we("iterator"),uc=Array.prototype,fc=we("iterator"),sc=function(e){if(!R(e))return te(e,fc)||te(e,"@@iterator")||ac[vn(e)]},lc=TypeError,dc=function(e,t,n){var r,o;Pe(e);try{if(!(r=te(e,"return"))){if("throw"===t)throw n;return n}r=v(r,e)}catch(e){o=!0,r=e}if("throw"===t)throw n;if(o)throw r;return Pe(r),n},pc=TypeError,vc=function(e,t){this.stopped=e,this.result=t},gc=vc.prototype,hc=function(e,t,n){var r,o,i,a,c,u,f,s,l=n&&n.that,d=!(!n||!n.AS_ENTRIES),p=!(!n||!n.IS_RECORD),g=!(!n||!n.IS_ITERATOR),h=!(!n||!n.INTERRUPTED),m=Ni(t,l),y=function(e){return r&&dc(r,"normal",e),new vc(!0,e)},w=function(e){return d?(Pe(e),h?m(e[0],e[1],y):m(e[0],e[1])):h?m(e,y):m(e)};if(p)r=e.iterator;else if(g)r=e;else{if(!(o=sc(e)))throw pc(X(e)+" is not iterable");if(void 0!==(s=o)&&(ac.Array===s||uc[cc]===s)){for(i=0,a=bt(e);a>i;i++)if((c=w(e[i]))&&B(gc,c))return c;return new vc(!1)}r=function(e,t){var n=arguments.length<2?sc(e):t;if(ee(n))return Pe(v(n,e));throw lc(X(e)+" is not iterable")}(e,o)}for(u=p?e.next:r.next;!(f=v(u,r)).done;){try{c=w(f.value)}catch(e){dc(r,"throw",e)}if("object"==typeof c&&c&&B(gc,c))return c}return new vc(!1)},mc=we("iterator"),yc=!1;try{var wc=0,bc={next:function(){return{done:!!wc++}},return:function(){yc=!0}};bc[mc]=function(){return this},Array.from(bc,(function(){throw 2}))}catch(e){}var Sc=Ra.CONSTRUCTOR||!function(e,t){if(!t&&!yc)return!1;var n=!1;try{var r={};r[mc]=function(){return{next:function(){return{done:n=!0}}}},e(r)}catch(e){}return n}((function(e){ha.all(e).then(void 0,(function(){}))}));$t({target:"Promise",stat:!0,forced:Sc},{all:function(e){var t=this,n=Ca.f(t),r=n.resolve,o=n.reject,i=ga((function(){var n=ee(t.resolve),i=[],a=0,c=1;hc(e,(function(e){var u=a++,f=!1;c++,v(n,t,e).then((function(e){f||(f=!0,i[u]=e,--c||r(i))}),o)})),--c||r(i)}));return i.error&&o(i.value),n.promise}});var Ec=Ra.CONSTRUCTOR,xc=ha&&ha.prototype;if($t({target:"Promise",proto:!0,forced:Ec,real:!0},{catch:function(e){return this.then(void 0,e)}}),L(ha)){var Oc=U("Promise").prototype.catch;xc.catch!==Oc&&st(xc,"catch",Oc,{unsafe:!0})}$t({target:"Promise",stat:!0,forced:Sc},{race:function(e){var t=this,n=Ca.f(t),r=n.reject,o=ga((function(){var o=ee(t.resolve);hc(e,(function(e){v(o,t,e).then(n.resolve,r)}))}));return o.error&&r(o.value),n.promise}}),$t({target:"Promise",stat:!0,forced:Ra.CONSTRUCTOR},{reject:function(e){var t=Ca.f(this);return v(t.reject,void 0,e),t.promise}});var Tc=Ra.CONSTRUCTOR;U("Promise"),$t({target:"Promise",stat:!0,forced:Tc},{resolve:function(e){return function(e,t){if(Pe(e),F(t)&&t.constructor===e)return t;var n=Ca.f(e);return(0,n.resolve)(t),n.promise}(this,e)}});var Ac=Ge.EXISTS,jc=Function.prototype,Ic=E(jc.toString),Rc=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,Mc=E(Rc.exec);l&&!Ac&&Jn(jc,"name",{configurable:!0,get:function(){try{return Mc(Rc,Ic(this))[1]}catch(e){return""}}});var Nc=E([].join);$t({target:"Array",proto:!0,forced:I!=Object||!bo("join",",")},{join:function(e){return Nc(C(this),void 0===e?",":e)}});var Cc=E([].push),Pc=function(e){var t=1==e,n=2==e,r=3==e,o=4==e,i=6==e,a=7==e,c=5==e||i;return function(u,f,s,l){for(var d,p,v=fe(u),g=I(v),h=Ni(f,s),m=bt(g),y=0,w=l||An,b=t?w(u,m):n||a?w(u,0):void 0;m>y;y++)if((c||y in g)&&(p=h(d=g[y],y,v),e))if(t)b[y]=p;else if(p)switch(e){case 3:return!0;case 5:return d;case 6:return y;case 2:Cc(b,d)}else switch(e){case 4:return!1;case 7:Cc(b,d)}return i?-1:r||o?o:b}},_c={forEach:Pc(0),map:Pc(1),filter:Pc(2),some:Pc(3),every:Pc(4),find:Pc(5),findIndex:Pc(6),filterReject:Pc(7)}.forEach,kc=bo("forEach")?[].forEach:function(e){return _c(this,e,arguments.length>1?arguments[1]:void 0)};$t({target:"Array",proto:!0,forced:[].forEach!=kc},{forEach:kc});var Lc={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},Dc=Ae("span").classList,Fc=Dc&&Dc.constructor&&Dc.constructor.prototype,Uc=Fc===Object.prototype?void 0:Fc,Bc=function(e){if(e&&e.forEach!==kc)try{$e(e,"forEach",kc)}catch(t){e.forEach=kc}};for(var $c in Lc)Lc[$c]&&Bc(f[$c]&&f[$c].prototype);Bc(Uc),$t({target:"Object",stat:!0,forced:s((function(){Vt(1)}))},{keys:function(e){return Vt(fe(e))}});var Vc=!s((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),zc=et("IE_PROTO"),qc=Object,Gc=qc.prototype,Hc=Vc?qc.getPrototypeOf:function(e){var t=fe(e);if(le(t,zc))return t[zc];var n=t.constructor;return L(n)&&t instanceof n?n.prototype:t instanceof qc?Gc:null};$t({target:"Object",stat:!0,forced:s((function(){Hc(1)})),sham:!Vc},{getPrototypeOf:function(e){return Hc(fe(e))}});var Wc=Et.includes;$t({target:"Array",proto:!0,forced:s((function(){return!Array(1).includes()}))},{includes:function(e){return Wc(this,e,arguments.length>1?arguments[1]:void 0)}}),rn("includes");var Yc=TypeError,Jc=we("match"),Kc=E("".indexOf);$t({target:"String",proto:!0,forced:!function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[Jc]=!1,"/./"[e](t)}catch(e){}}return!1}("includes")},{includes:function(e){return!!~Kc(Un(N(this)),Un(function(e){if(Dn(e))throw Yc("The method doesn't accept regular expressions");return e}(e)),arguments.length>1?arguments[1]:void 0)}});var Zc=f,Xc=It.f,Qc=Re.f,eu=Be.f,tu=Xo.trim,nu="Number",ru=f[nu];Zc[nu];var ou=ru.prototype,iu=f.TypeError,au=E("".slice),cu=E("".charCodeAt),uu=function(e){var t,n,r,o,i,a,c,u,f=Ee(e,"number");if(K(f))throw iu("Cannot convert a Symbol value to a number");if("string"==typeof f&&f.length>2)if(f=tu(f),43===(t=cu(f,0))||45===t){if(88===(n=cu(f,2))||120===n)return NaN}else if(48===t){switch(cu(f,1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+f}for(a=(i=au(f,2)).length,c=0;c<a;c++)if((u=cu(i,c))<48||u>o)return NaN;return parseInt(i,r)}return+f},fu=Ut(nu,!ru(" 0o1")||!ru("0b1")||ru("+0x1")),su=function(e){var t,n=arguments.length<1?0:ru(function(e){var t=Ee(e,"number");return"bigint"==typeof t?t:uu(t)}(e));return B(ou,t=this)&&s((function(){ko(t)}))?kn(Object(n),this,su):n};su.prototype=ou,fu&&(ou.constructor=su),$t({global:!0,constructor:!0,wrap:!0,forced:fu},{Number:su});fu&&function(e,t){for(var n,r=l?Xc(t):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),o=0;r.length>o;o++)le(t,n=r[o])&&!le(e,n)&&eu(e,n,Qc(t,n))}(Zc[nu],ru);var lu=TypeError,du=Object.getOwnPropertyDescriptor,pu=l&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}()?function(e,t){if(on(e)&&!du(e,"length").writable)throw lu("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t},vu=TypeError,gu=function(e,t){if(!delete e[t])throw vu("Cannot delete property "+X(t)+" of "+X(e))},hu=In("splice"),mu=Math.max,yu=Math.min;function wu(e){var t=e.replace(/([A-Z])/g,"_$1").toLowerCase();return"_"===t[0]?t.substr(1):t}function bu(e){return JSON.parse(JSON.stringify(e))}function Su(e){void 0===e&&(e=5);for(var t="";e--;)t+=Math.floor(10*Math.random());return t}function Eu(e,t){void 0===t&&(t={isNaNAsNumber:!1,isUnFiniteAsNumber:!1});var n=Object.assign({isNaNAsNumber:!1,isUnFiniteAsNumber:!1},t),r=n.isNaNAsNumber,o=!0;return"number"!=typeof e&&(o=!1),!1!==n.isUnFiniteAsNumber||isFinite(e)||(o=!1),!1===r&&isNaN(e)&&(o=!1),o}function xu(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=null;return e&&"function"==typeof e&&(r=e.apply(void 0,t)),r}function Ou(){return Date.now?Date.now():(new Date).getTime()}function Tu(e){for(var t=e+"=",n=document.cookie.split(";"),r=0;r<n.length;r++){for(var o=n[r];" "==o.charAt(0);)o=o.substring(1,o.length);if(0==o.indexOf(t))return o.substring(t.length,o.length)}return""}function Au(){try{var e=navigator.userAgent.toLowerCase(),t=function(t){return t.test(e)},n=function(t){var n=e.match(t),r="";return n&&(r=n.toString().replace(/[^0-9|_.]/g,"").replace(/_/g,".")),r},r="",o="";t(/windows|win32|win64|wow32|wow64/g)?r="windows":t(/macintosh|macintel/g)?r="macos":t(/x11/g)?r="linux":t(/android|adr/g)?r="android":t(/ios|iphone|ipad|ipod|iwatch/g)&&(r="ios",t(/ipad/g)?o="ipad":t(/iphone/g)?o="iphone":t(/iwatch/g)?o="iwatch":t(/ipod/g)&&(o="ipod"));var i="";"windows"===r?t(/windows nt 5.0|windows 2000/g)?i="2000":t(/windows nt 5.1|windows xp/g)?i="xp":t(/windows nt 5.2|windows 2003/g)?i="2003":t(/windows nt 6.0|windows vista/g)?i="vista":t(/windows nt 6.1|windows 7/g)?i="7":t(/windows nt 6.2|windows 8/g)?i="8":t(/windows nt 6.3|windows 8.1/g)?i="8.1":t(/windows nt 10.0|windows 10/g)&&(i="10"):"macos"===r?i=n(/os x [\d._]+/g):"android"===r?i=n(/android [\d._]+/g):"ios"===r&&(i=n(/os [\d._]+/g));var a="";"windows"===r||"macos"===r||"linux"===r?a="desktop":("android"===r||"ios"===r||t(/mobile/g))&&(a="mobile");var c="",u="";t(/applewebkit/g)?(c="webkit",t(/edge/g)?u="edge":t(/opr/g)?u="opera":t(/chrome/g)?u="chrome":t(/safari/g)&&(u="safari")):t(/gecko/g)&&t(/firefox/g)?(c="gecko",u="firefox"):t(/presto/g)?(c="presto",u="opera"):t(/trident|compatible|msie/g)&&(c="trident",u="iexplore");var f="";"webkit"===c?f=n(/applewebkit\/[\d._]+/g):"gecko"===c?f=n(/gecko\/[\d._]+/g):"presto"===c?f=n(/presto\/[\d._]+/g):"trident"===c&&(f=n(/trident\/[\d._]+/g));var s="";"chrome"===u?s=n(/chrome\/[\d._]+/g):"safari"===u?s=n(/version\/[\d._]+/g):"firefox"===u?s=n(/firefox\/[\d._]+/g):"opera"===u?s=n(/opr\/[\d._]+/g):"iexplore"===u?s=n(/(msie [\d._]+)|(rv:[\d._]+)/g):"edge"===u&&(s=n(/edge\/[\d._]+/g));var l="",d="";return t(/micromessenger/g)?(l="wechat",d=n(/micromessenger\/[\d._]+/g)):t(/qqbrowser/g)?(l="qq_browser",d=n(/qqbrowser\/[\d._]+/g)):t(/\sqq/g)?l="qq_app":t(/ucbrowser/g)?(l="uc",d=n(/ucbrowser\/[\d._]+/g)):t(/qihu 360se/g)?l="360":t(/2345explorer/g)?(l="2345",d=n(/2345explorer\/[\d._]+/g)):t(/metasr/g)?l="sougou":t(/lbbrowser/g)?l="liebao":t(/maxthon/g)?(l="maxthon",d=n(/maxthon\/[\d._]+/g)):t(/biliapp/g)&&(l="bilibili"),Object.assign({engine:c,engineVs:f,platform:a,supporter:u,supporterVs:s,system:r,systemVs:i},{shell:l,shellVs:d,appleType:o})}catch(e){return console.warn("mazey:",e),{engine:"",engineVs:"",platform:"",supporter:"",supporterVs:"",system:"",systemVs:""}}}function ju(){var e=window.MAZEY_DEFINE_LISTENERS;return"object"!==c(e)&&(e={},window.MAZEY_DEFINE_LISTENERS=e),e}return $t({target:"Array",proto:!0,forced:!hu},{splice:function(e,t){var n,r,o,i,a,c,u=fe(this),f=bt(u),s=mt(e,f),l=arguments.length;for(0===l?n=r=0:1===l?(n=0,r=f-s):(n=l-2,r=yu(mu(vt(t),0),f-s)),cn(f+n-r),o=An(u,r),i=0;i<r;i++)(a=s+i)in u&&un(o,i,u[a]);if(o.length=r,n<r){for(i=s;i<f-r;i++)c=i+n,(a=i+r)in u?u[c]=u[a]:gu(u,c);for(i=f;i>f-r+n;i--)gu(u,i-1)}else if(n>r)for(i=f-r;i>s;i--)c=i+n-1,(a=i+r-1)in u?u[c]=u[a]:gu(u,c);for(i=0;i<n;i++)u[i+s]=arguments[i+2];return pu(u,f-r+n),o}}),e.addClass=function(e,t){var n,r=e.className,o="";""!==r&&(o=" "),n=r+o+t,e.className=n},e.addEvent=function(e,t){var n=ju();void 0===n[e]&&(n[e]=[]),"function"==typeof t&&n[e].push(t)},e.addStyle=function(e,t){if(void 0===t&&(t={id:""}),!e)return!1;var n=document.createDocumentFragment(),r=null,o="",i=document.createElement("style");return t.id?(o="".concat(t.id),(r=document.getElementById(o))?r.innerHTML=e:(i.setAttribute("id",t.id),i.innerHTML=e,n.appendChild(i),document.head.appendChild(n))):(i.innerHTML=e,n.appendChild(i),document.head.appendChild(n)),!0},e.calLongestCommonSubsequence=function(e,t){for(var n=e.length,r=t.length,o=bu(new Array(n).fill(new Array(r).fill(0))),i=0;i<n;++i)for(var a=0;a<r;++a)if(e[i]===t[a]){var c=0;i>0&&a>0&&(c=o[i-1][a-1]),o[i][a]=c+1}else{var u=[0,0],f=u[0],s=u[1];a>0&&(f=o[i][a-1]),i>0&&(s=o[i-1][a]),o[i][a]=Math.max(f,s)}var l=Array.prototype.concat.apply([],o);return Math.max.apply(Math,l)},e.calLongestCommonSubstring=function(e,t){for(var n=e.length,r=t.length,o=bu(new Array(n).fill(new Array(r).fill(0))),i=0;i<n;++i)for(var a=0;a<r;++a)if(e[i]===t[a]){var c=0;i>0&&a>0&&(c=o[i-1][a-1]),o[i][a]=c+1}var u=Array.prototype.concat.apply([],o);return Math.max.apply(Math,u)},e.camelCase2Underscore=wu,e.camelCaseToKebabCase=function(e){var t=e.replace(/([A-Z])/g,"-$1").toLowerCase();return"-"===t[0]?t.substr(1):t},e.cancelBubble=function(e){var t=e||window.event;t.stopPropagation?t.stopPropagation():t.cancelBubble=!0},e.clearHtml=function(e){return e.replace(/<\/?.+?>/g,"").replace(/[\r\n]/g,"")},e.convert10To26=function(e){for(var t="";e>0;){var n=e%26;0===n&&(n=26),t=String.fromCharCode(n+96)+t,e=(e-n)/26}return t},e.cutCHSString=function(e,t,n){if(void 0===n&&(n=!1),""!=e&&e){for(var r=0,o="",i=/[^\x00-\xff]/g,a="",c=e.replace(i,"**").length,u=0;u<c&&(null!=(a=e.charAt(u).toString()).match(i)?r+=2:r++,!(r>t));u++)o+=a;return n&&c>t&&(o+="..."),o}return""},e.debounce=function(e,t,n){var r=null,o=null,i=null,a=null,c=null,u=function u(){var f=Ou()-i;f<t&&f>=0?o=setTimeout(u,t-f):(o=null,n||(c=e.apply(r,a),o||(r=a=null)))};return function(){for(var f=[],s=0;s<arguments.length;s++)f[s]=arguments[s];r=this,a=f,i=Ou();var l=n&&!o;return o||(o=setTimeout(u,t)),l&&(c=e.apply(r,a),r=a=null),c}},e.deepCopyObject=bu,e.doFn=xu,e.floatFixed=function(e,t){return void 0===t&&(t=0),parseFloat(e).toFixed(t)},e.floatToPercent=function(e,t){void 0===t&&(t=0);var n="";return n=t?(100*e).toFixed(t):String(Math.floor(100*e)),"".concat(n,"%")},e.formatDate=function(e,t){void 0===t&&(t="yyyy-MM-dd"),e||(e=new Date);var n=new Date(e),r={yyyy:n.getFullYear(),MM:n.getMonth()+1,dd:n.getDate(),hh:n.getHours()<10?"0"+n.getHours():n.getHours(),mm:n.getMinutes()<10?"0"+n.getMinutes():n.getMinutes(),ss:n.getSeconds()<10?"0"+n.getSeconds():n.getSeconds()},o=t||"yyyy-MM-dd";return Object.keys(r).forEach((function(e){var t=r[e];"MM"===e&&Number(t)<=9&&(t="0".concat(t)),o=o.replace(e,String(t))})),o},e.friendlyInterval=function(e,t,n){void 0===e&&(e=0),void 0===t&&(t=0),void 0===n&&(n={type:"d"});var r=n.type;Eu(e)||(e=new Date(e).getTime()),Eu(t)||(t=new Date(t).getTime());var o=t-e,i="",a=new Array(4).fill(0),c=a[0],u=(a[1],a[2],a[3]);if(o>=0)switch(c=Math.floor(o/1e3/60/60/24),Math.floor(o/1e3/60/60),Math.floor(o/1e3/60),u=Math.floor(o/1e3),r){case"d":i=c;break;case"text":i=(c=Math.floor(o/1e3/60/60/24))+" 天 "+Math.floor(o/1e3/60/60%24)+" 时 "+Math.floor(o/1e3/60%60)+" 分 "+(u=Math.floor(o/1e3%60))+" 秒";break;default:i=u}return i},e.genCustomConsole=function(e,t){void 0===e&&(e=""),void 0===t&&(t={isClosed:!1,showWrap:!1,showDate:!1,locales:"en-US",logFn:function(){},errorFn:function(){}});var n=Object.assign({isClosed:!1,showWrap:!1,showDate:!1,locales:"en-US",logFn:function(){},errorFn:function(){}},t),r=n.isClosed,o=n.showWrap,i=n.showDate,a=n.locales,c=n.logFn,u=n.errorFn,f=Object.create(null),s=function(){return(new Date).toLocaleDateString(a,{weekday:"short",year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"})};return["log","info","warn","error"].forEach((function(t){f[t]=function(){for(var n,a,f=[],l=0;l<arguments.length;l++)f[l]=arguments[l];if(r)return!1;var d=e,p=e;if("string"==typeof e&&e.length>=2){var v=e.length;d=":"===e[v-1]?e.substring(0,v-1):e}o&&console.log("--- ".concat(d," - begin ---")),i&&(p=e?"".concat(s()," ").concat(e):"".concat(s())),e||i?(n=console)[t].apply(n,function(e,t){for(var n=0,r=t.length,o=e.length;n<r;n++,o++)e[o]=t[n];return e}([p],f)):(a=console)[t].apply(a,f),"log"===t&&c(),"error"===t&&u(),o&&console.log("--- ".concat(d," - end ---"))}})),f},e.genHashCode=function(e){var t,n=0;for(t=0;t<e.length;t++)n=(n<<5)-n+e.charCodeAt(t),n|=0;return n},e.generateRndNum=Su,e.generateUniqueNum=function(e){void 0===e&&(e=3);var t=[Ou(),Su(e||3)];return t[0]+t[1]},e.getBrowserInfo=Au,e.getCookie=Tu,e.getDefineListeners=ju,e.getDomain=function(e,t){void 0===t&&(t=["hostname"]);var n=document.createElement("a");return n.href=e,t.reduce((function(e,t){return e+=n[t]}),"")},e.getFileSize=function(e){var t=function(e){return String(Math.ceil(e))};if(!e)return"";var n=1024;return e<n?e+" B":e<Math.pow(n,2)?t(e/n)+" KB":e<Math.pow(n,3)?t(e/Math.pow(n,2))+" MB":e<Math.pow(n,4)?t(e/Math.pow(n,3))+" G":t(e/Math.pow(n,4))+" T"},e.getHashQueryParam=function(e){var t=location.hash.split("?");if(1===t.length)return"";var n=new RegExp("(^|&)".concat(e,"=([^&]*)(&|$)")),r=t[1].match(n);return r?r[2]:""},e.getLocalStorage=function(e){var t=null;if(e){var n=localStorage.getItem(e);n&&(t=JSON.parse(n))}return t},e.getPerformance=function(e){var t,n;void 0===e&&(e=!1);var r,o,i=new Promise((function(e,r){var o;t=(o=[e,r])[0],n=o[1]})),a=window.performance.timing,c=a.navigationStart||a.fetchStart;function u(){try{if(window.performance&&Boolean(window.performance.getEntriesByType))window.performance.getEntriesByType("paint").forEach((function(e,t,n){var i=Math.round(e.startTime);"first-paint"===e.name?r=i:"first-contentful-paint"===e.name&&(o=i)}));else console.error("paint")}catch(e){console.error(e.message)}if(window.performance&&"function"==typeof window.performance.getEntries){var i,u=(window.performance.getEntries()||[])[0]||{},g={os:f(),osVersion:s(),deviceType:l(),network:d(),screenDirection:p(),unloadTime:a.unloadEventEnd-a.unloadEventStart,redirectTime:a.redirectEnd-a.redirectStart,dnsTime:a.domainLookupEnd-a.domainLookupStart,tcpTime:a.connectEnd-a.connectStart,sslTime:v(a.connectEnd,a.secureConnectionStart),responseTime:a.responseStart-a.requestStart,downloadTime:a.responseEnd-a.responseStart,firstPaintTime:r,firstContentfulPaintTime:o,domreadyTime:a.domContentLoadedEventStart-c||0,onloadTime:a.loadEventStart-c||0,whiteTime:a.responseStart-c,renderTime:a.loadEventEnd-c||0,decodedBodySize:u.decodedBodySize||"",encodedBodySize:u.encodedBodySize||""};if(Object.keys(g).forEach((function(e){Eu(g[e])&&g[e]<0&&(g[e]=0)})),Eu(g.whiteTime)&&g.whiteTime>g.onloadTime&&(g.whiteTime=0),c>0)e||Object.keys(g).forEach((function(e){i||(i={}),i[wu(e)]=g[e]})),t(i||g);else n(Error("startTime"))}else n(Error("getEntries"))}function f(){return navigator.userAgent.indexOf("Android")>-1||navigator.userAgent.indexOf("Linux")>-1?"android":navigator.userAgent.indexOf("iPhone")>-1?"ios":navigator.userAgent.indexOf("Windows Phone")>-1?"wp":"others"}function s(){var e,t=navigator.userAgent,n=t.indexOf("Android")>-1||t.indexOf("Linux")>-1,r=!!t.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/);return n&&(e=(navigator.userAgent.split(";")[1].match(/\d+\.\d+/g)||[])[0]),r&&(e=(navigator.userAgent.split(";")[1].match(/(\d+)_(\d+)_?(\d+)?/)||[])[0]),e}function l(){var e=navigator.userAgent.toLowerCase(),t=e.match(/(ipad)/i)&&"ipad",n=e.match(/iphone os/i)&&"iphone os",r=e.match(/midp/i)&&"midp",o=e.match(/rv:1.2.3.4/i)&&"rv:1.2.3.4",i=e.match(/ucweb/i)&&"ucweb",a=e.match(/android/i)&&"android",c=e.match(/windows ce/i)&&"windows ce",u=e.match(/windows mobile/i)&&"windows mobile";return t||n||r||o||i||a||c||u?n||r||o||i||a||c||u?"phone":t?"ipad":void 0:"pc"}function d(){var e;if(navigator.connection&&navigator.connection.effectiveType)switch(navigator.connection.effectiveType){case"wifi":e="wifi";break;case"4g":e="4g";break;case"2g":e="2g";break;case"3g":e="3g";break;case"ethernet":e="ethernet";break;case"default":e=void 0}return e}function p(){var e;return window.screen&&window.screen.orientation&&window.screen.orientation.angle&&(180!==window.screen.orientation.angle&&0!==window.screen.orientation.angle||(e="|"),90!==window.screen.orientation.angle&&-90!==window.screen.orientation.angle||(e="-")),e}function v(e,t){var n;return t&&(n=e-t),n}return window.performance&&window.performance.timing&&window.performance.timing.loadEventEnd>0?u():window.addEventListener("load",(function(){window.setTimeout((function(){u()}),0)})),i},e.getQueryParam=function(e){var t=new RegExp("(^|&)"+e+"=([^&]*)(&|$)"),n=location.search.substr(1).match(t);return null!==n?decodeURIComponent(n[2]):""},e.getSessionStorage=function(e){var t=null;if(e){var n=sessionStorage.getItem(e);n&&(t=JSON.parse(n))}return t},e.getUrlParam=function(e,t){var n={};return e.replace(/\??(\w+)=([^&]*)&?/g,(function(e,t,r){if(void 0!==n[t]){var o=n[t];n[t]=[].concat(o,r)}else n[t]=r})),n[t]||""},e.hasClass=function(e,t){for(var n=e.className.split(/\s+/),r=0;r<n.length;r++)if(n[r]===t)return!0;return!1},e.inRate=function(e){return Math.random()<e},e.invokeEvent=function(e){var t=ju()[e];if(t instanceof Array)for(var n=0,r=t.length;n<r;n++)"function"==typeof t[n]&&t[n]({type:e})},e.isJsonString=function(e){try{if("object"===c(JSON.parse(e)))return!0}catch(e){}return!1},e.isNonEmptyArray=function(e){var t=!1;return Array.isArray(e)&&e.length&&(t=!0),t},e.isNumber=Eu,e.isSafePWAEnv=function(){var e=Au();return!(!("serviceWorker"in navigator&&function(){var e;try{return e=new Function("return async function(){};")(),null!=Object.getPrototypeOf(e).constructor}catch(e){return!1}}()&&"undefined"!=typeof Promise&&-1!==Promise.toString().indexOf("[native code]")&&Boolean(window.fetch)&&Boolean(window.indexedDB)&&Boolean(window.caches))||e.shell)},e.isSupportWebp=function(){return new Promise((function(e){var t=new Image;t.onload=function(){e(t.width>0&&t.height>0)},t.onerror=function(){e(!1)},t.src="data:image/webp;base64,UklGRh4AAABXRUJQVlA4TBEAAAAvAAAAAAfQ//73v/+BiOh/AAA="}))},e.isValidData=function(e,t,n){var r=!1;return t.reduce((function(e,t){return e[t]?e=e[t]:Object.create(null)}),e)===n&&(r=!0),r},e.isValidEmail=function(e){return/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(e)},e.isValidPhoneNumber=function(e){return/^1[3456789]\d{9}$/.test(e)},e.isValidUrl=function(e){return/[a-zA-Z0-9]+:\/\/[-a-zA-Z0-9@:%._+~#=]{1,256}\b([-a-zA-Z0-9\u4E00-\u9FA5()!@:%_+.~#?&//=]*)/gm.test(e)},e.loadCSS=function(e,t){void 0===t&&(t={id:""});var n,r=t.id,o=new Promise((function(e,t){n=[e,t][0]})),i=function(){n(!0)},a=document.createElement("link"),c="onload"in a,u=+navigator.userAgent.replace(/.*(?:AppleWebKit|AndroidWebKit)\/?(\d+).*/i,"$1")<536;if(a.rel="stylesheet",a.type="text/css",a.href=e,void 0!==r&&(a.id=r),document.getElementsByTagName("head")[0].appendChild(a),u||!c)return setTimeout((function(){s(a,i,0)}),1),o;function f(){a.onload=a.onerror=a.onreadystatechange=null,a=null,i()}function s(e,t,n){var r,o=e.sheet;if((n+=1)>3e5)return r=!0,e=null,void t();if(u)o&&(r=!0);else if(o)try{o.cssRules&&(r=!0)}catch(e){"NS_ERROR_DOM_SECURITY_ERR"===e.name&&(r=!0)}setTimeout((function(){r?t():s(e,t,n)}),20)}return c?(a.onload=f,a.onerror=function(){f()}):a.onreadystatechange=function(){/loaded|complete/.test(a.readyState)&&f()},o},e.loadScript=function(e,t){void 0===t&&(t={id:"",callback:function(){},timeout:5e3,isDefer:!1});var n=Object.assign({id:"",callback:function(){},timeout:5e3,isDefer:!1},t),r=n.id,o=n.callback,i=n.timeout,a=n.isDefer,c=null,u=null,f=document.createElement("script"),s=document.getElementsByTagName("script")[0];return f.type="text/javascript",a&&(f.defer="defer"),r&&(f.id=r),f.readyState?f.onreadystatechange=function(){"loaded"!==f.readyState&&"complete"!==f.readyState||(f.onreadystatechange=null,xu(o),xu(c,!0))}:f.onload=function(){xu(o),xu(c,!0)},f.src=e,s&&s.parentNode.insertBefore(f,s),new Promise((function(e,t){var n;c=(n=[e,t])[0],u=n[1],i&&setTimeout(u.bind(null,Error("timeout")),i)}))},e.mNow=Ou,e.mTrim=function(e){for(var t=(e=e.replace(/^\s+/,"")).length-1,n=/\s/;n.test(e.charAt(t));)t--;return e.slice(0,t+1)},e.newLine=function(e){if(!e)return"";var t=new RegExp("\\n","g");return e.replace(t,"<br />")},e.removeClass=function(e,t){var n;n=(n=(n=(n=" "+e.className+" ").replace(/(\s+)/gi," ")).replace(" "+t+" "," ")).replace(/(^\s+)|(\s+$)/g,""),e.className=n},e.removeEvent=function(e,t){var n=ju(),r=n[e];if("string"==typeof e&&r instanceof Array)if("function"==typeof t){for(var o=0,i=r.length;o<i;o++)if(r[o]===t){n[e].splice(o,1);break}}else delete n[e]},e.setCookie=function(e,t,n,r){var o,i,a;n?((a=new Date).setTime(a.getTime()+24*n*60*60*1e3),i="; expires="+a.toGMTString()):i="";var c=location.host;1===c.split(".").length?document.cookie=e+"="+t+i+"; path=/":((o=c.split(".")).shift(),r=r||"."+o.join("."),document.cookie=e+"="+t+i+"; path=/; domain="+r,null!==Tu(e)&&Tu(e)===t||(r=r||"."+c,document.cookie=e+"="+t+i+"; path=/; domain="+r))},e.setLocalStorage=function(e,t){void 0===t&&(t=null),e&&localStorage.setItem(e,JSON.stringify(t))},e.setSessionStorage=function(e,t){void 0===t&&(t=null),e&&sessionStorage.setItem(e,JSON.stringify(t))},e.throttle=function(e,t,n){void 0===n&&(n={}),n=Object.assign({},n);var r=null,o=null,i=null,a=[null,0],c=a[0],u=a[1],f=function(){u=!1===n.leading?0:Ou(),i=null,c=e.apply(r,o),i||(r=o=null)};return function(){for(var a=[],s=0;s<arguments.length;s++)a[s]=arguments[s];var l=Ou();u||!1!==n.leading||(u=l);var d=t-(l-u);return r=this,o=a,d<=0||d>t?(i&&(clearTimeout(i),i=null),u=l,c=e.apply(r,o),i||(r=o=null)):i||!1===n.trailing||(i=setTimeout(f,d)),c}},e.updateQueryParam=function(e,t,n){var r=new RegExp("([?&])"+t+"=.*?(&|$)","i"),o=-1!==e.indexOf("?")?"&":"?";return e.match(r)?e.replace(r,"$1"+t+"="+n+"$2"):e+o+t+"="+n},e.windowLoaded=function(e){void 0===e&&(e=90);var t,n=function(){},r=new Promise((function(e,r){n=e,t=r}));return"complete"===document.readyState?n("complete"):window.addEventListener("load",(function(){return n("load")})),setTimeout((function(){return t(Error("timeout"))}),1e3*e),r},e.zAxiosIsValidRes=function(e,t){void 0===t&&(t={validStatusRange:[200,300],validCode:[0]});var n=Object.assign({validStatusRange:[200,300],validCode:[0]},t),r=n.validStatusRange,o=n.validCode;2!==r.length&&console.error("valid validStatusRange is required");var i=!1;if(e&&e.status&&2===r.length&&e.status>=r[0]&&e.status<r[1]){var a=e.data;a&&o.includes(a.code)&&(i=!0)}return i},Object.defineProperty(e,"__esModule",{value:!0}),e}({});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mazey",
3
- "version": "3.6.1",
3
+ "version": "3.6.3",
4
4
  "description": "Mazey's library for front-end.",
5
5
  "main": "lib/index.cjs.js",
6
6
  "module": "lib/index.esm.js",
@@ -14,6 +14,7 @@
14
14
  "build": "cross-env SCRIPTS_NPM_PACKAGE_DEBUG=\"close\" rollup --config ./scripts/rollup.config.js",
15
15
  "build:debug": "cross-env SCRIPTS_NPM_PACKAGE_DEBUG=\"open\" rollup --config ./scripts/rollup.config.js",
16
16
  "test": "jest",
17
+ "test:debug": "npm run build:debug && npm run test",
17
18
  "docs": "typedoc --hideGenerator --plugin typedoc-plugin-merge-modules --mergeModulesMergeMode project",
18
19
  "lint:fix": "eslint ./src/index.ts --ext 'ts,tsx' --fix",
19
20
  "preview": "npm run docs && npm run build && npm run test",
package/scripts/README.md CHANGED
@@ -26,3 +26,11 @@ release();
26
26
 
27
27
  <!-- @param {string} ver Version
28
28
  @returns {void} -->
29
+
30
+ ## generateToc
31
+
32
+ Generate table of contents for the markdown file.
33
+
34
+ <!-- @param {string} path Path of markdown file.
35
+ @param {array} options.hiddenHeadings Hidden headings.
36
+ @returns {void} -->
@@ -12,24 +12,37 @@ const genVersion = () => {
12
12
  return version;
13
13
  };
14
14
  const version = genVersion();
15
+ const defaultHiddenHeadings = [
16
+ 'mazey',
17
+ 'Install',
18
+ 'Usage',
19
+ 'Contributing',
20
+ 'License',
21
+ 'API Examples',
22
+ ];
15
23
 
16
- const generateToc = () => {
24
+ /**
25
+ * Generate table of contents for the markdown file.
26
+ *
27
+ * @param {string} path Path of markdown file.
28
+ * @param {array} options.hiddenHeadings Hidden headings.
29
+ * @returns {void}
30
+ */
31
+ const generateToc = (path = '../README.md', options = {
32
+ hiddenHeadings: defaultHiddenHeadings,
33
+ }) => {
17
34
  console.log('Generating Table of Contents...');
18
- const RMFilePath = _resolve('../README.md');
35
+ options = Object.assign({
36
+ hiddenHeadings: defaultHiddenHeadings,
37
+ }, options);
38
+ const RMFilePath = _resolve(path);
19
39
  // https://melvingeorge.me/blog/get-all-the-contents-from-file-as-string-nodejs
20
40
  console.log('running...');
21
41
  const buffer = fs.readFileSync(RMFilePath);
22
42
  const fileContent = buffer.toString();
23
43
  // https://github.com/jonschlinkert/markdown-toc
24
44
  const removeUnnecessaryHeadings = (str) => {
25
- return ![
26
- 'mazey',
27
- 'Install',
28
- 'Usage',
29
- 'Contributing',
30
- 'License',
31
- 'API Examples',
32
- ].some(v => {
45
+ return !options.hiddenHeadings.some(v => {
33
46
  return str.includes(v);
34
47
  });
35
48
  };