febs 1.2.10 → 1.3.0
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/browser/common/string.js +40 -18
- package/browser/common/utils.browser.js +30 -79
- package/browser/dist/index.common.js +4671 -11911
- package/browser/dist/index.common.js.map +1 -1
- package/browser/dist/index.common.min.js +5 -3
- package/browser/dist/index.esm.js +4677 -11906
- package/browser/dist/index.esm.js.map +1 -1
- package/browser/dist/index.esm.min.js +5 -3
- package/browser/dist/index.js +4902 -12146
- package/browser/dist/index.js.map +1 -1
- package/browser/dist/index.min.js +5 -3
- package/browser/dist/index.noBignumber.common.js +3335 -7968
- package/browser/dist/index.noBignumber.common.js.map +1 -1
- package/browser/dist/index.noBignumber.common.min.js +5 -3
- package/browser/dist/index.noBignumber.esm.js +3337 -7960
- package/browser/dist/index.noBignumber.esm.js.map +1 -1
- package/browser/dist/index.noBignumber.esm.min.js +5 -3
- package/browser/dist/index.noBignumber.js +3602 -8239
- package/browser/dist/index.noBignumber.js.map +1 -1
- package/browser/dist/index.noBignumber.min.js +5 -3
- package/browser/dist/wxmini/index.js +1301 -1851
- package/browser/libs/net.ajax.js +22 -23
- package/browser/libs/net.fetch.js +44 -8
- package/browser/libs/net.js +1 -0
- package/browser/libs/net.transfer.js +9 -15
- package/package.json +5 -2
- package/server/crypt.js +4 -4
- package/browser/dist/README.md +0 -678
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* febs v1.
|
|
3
|
-
* Copyright (c)
|
|
2
|
+
* febs-browser v1.3.0
|
|
3
|
+
* Copyright (c) 2026 bpoint.lee@gmail.com All Rights Reserved.
|
|
4
4
|
* Released under the MIT License.
|
|
5
|
-
*/(function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):(e=e||self,t(e.febs={}))})(this,function(e){'use strict';var ne=Math.LN2,re=Math.log,oe=Math.pow,ae=Math.abs,se=String.prototype,ie=Math.max,le=Math.min,de=String.fromCharCode,ce=Math.ceil,ue=Math.floor;function t(e,t){return t={exports:{}},e(t,t.exports),t.exports}function n(e){return e&&e["default"]||e}function r(e,t){return RegExp(e,t)}function o(e,n,r){if("number"!=typeof e)return"";n=n||"HH:mm:ss";var a=new Date(e),t={"M+":a.getMonth()+1,"d+":a.getDate(),"h+":0==a.getHours()%12?12:a.getHours()%12,"H+":a.getHours(),"m+":a.getMinutes(),"s+":a.getSeconds(),"q+":ue((a.getMonth()+3)/3),S:a.getMilliseconds()},o=r||{0:"\u661F\u671F\u5929",1:"\u661F\u671F\u4E00",2:"\u661F\u671F\u4E8C",3:"\u661F\u671F\u4E09",4:"\u661F\u671F\u56DB",5:"\u661F\u671F\u4E94",6:"\u661F\u671F\u516D"};for(var s in /(y+)/.test(n)&&(n=n.replace(RegExp.$1,(a.getFullYear()+"").substr(4-RegExp.$1.length))),/(E+)/.test(n)&&(n=n.replace(RegExp.$1,o[a.getDay()+""])),t)new RegExp("("+s+")").test(n)&&(n=n.replace(RegExp.$1,1==RegExp.$1.length?t[s]:("00"+t[s]).substr((""+t[s]).length)));return n}function s(e){"@babel/helpers - typeof";return s="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},s(e)}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){for(var n=0,r;n<t.length;n++)r=t[n],r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}function c(e,t,n){return t&&d(e.prototype,t),n&&d(e,n),e}function u(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&g(e,t)}function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}function g(e,t){return g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},g(e,t)}function m(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function h(){return h=m()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var o=Function.bind.apply(e,r),a=new o;return n&&g(a,n.prototype),a},h.apply(null,arguments)}function y(e){return-1!==Function.toString.call(e).indexOf("[native code]")}function b(e){var t="function"==typeof Map?new Map:void 0;return b=function(e){function n(){return h(e,arguments,p(this).constructor)}if(null===e||!y(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if("undefined"!=typeof t){if(t.has(e))return t.get(e);t.set(e,n)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),g(n,e)},b(e)}function _(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function A(e,t){return t&&("object"==typeof t||"function"==typeof t)?t:_(e)}function T(e){return function(){var t=p(e),n;if(m()){var r=p(this).constructor;n=Reflect.construct(t,arguments,r)}else n=t.apply(this,arguments);return A(this,n)}}function E(e,t){t||(t=0),t^=-1;for(var n=0,r=e.length;n<r;n++)t=t>>>8^qi.crc32_table[255&(t^e.charCodeAt(n))];return-1^t}function v(e,t,n,r){if(!e||!r)return void(r&&r(0));if(t>=e.size||0>t||0==n)return void(r&&r(0));0>n&&(n=e.size);var o=File.prototype.mozSlice||File.prototype.webkitSlice||File.prototype.slice,a=new FileReader;e.size-t<n&&(n=e.size-t);var s=ce(n/2097152),i=0,l=function(){var r=2097152*i+t,s=r+2097152>=n+t?n+t:r+2097152;a.readAsBinaryString(o.call(e,r,s))},d=0;a.onload=function(t){d=E(t.target.result,d),i++,i<s?l():r(d)},l()}function S(e){var t=32*e.length,n="",r;for(r=0;r<t;r+=8)n+=de(255&e[r>>5]>>>r%32);return n}function O(e,t){return e<<t|e>>>32-t}function I(e){var t=8*e.length,n=Array(e.length>>2),r=n.length,o;for(o=0;o<r;o+=1)n[o]=0;for(o=0;o<t;o+=8)n[o>>5]|=(255&e.charCodeAt(o/8))<<o%32;return n}function C(e,t){var n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}function N(e){for(var t=S(R(I(e),8*e.length)),n="0123456789abcdef",r="",o=0,a=t.length,s;o<a;o+=1)s=t.charCodeAt(o),r+=n.charAt(15&s>>>4)+n.charAt(15&s);return r}function R(e,t){var n=1732584193,r=-271733879,o=-1732584194,s=271733878,l,u,p,g,m;for(e[t>>5]|=128<<t%32,e[(t+64>>>9<<4)+14]=t,l=0;l<e.length;l+=16)u=n,p=r,g=o,m=s,n=w(n,r,o,s,e[l+0],7,-680876936),s=w(s,n,r,o,e[l+1],12,-389564586),o=w(o,s,n,r,e[l+2],17,606105819),r=w(r,o,s,n,e[l+3],22,-1044525330),n=w(n,r,o,s,e[l+4],7,-176418897),s=w(s,n,r,o,e[l+5],12,1200080426),o=w(o,s,n,r,e[l+6],17,-1473231341),r=w(r,o,s,n,e[l+7],22,-45705983),n=w(n,r,o,s,e[l+8],7,1770035416),s=w(s,n,r,o,e[l+9],12,-1958414417),o=w(o,s,n,r,e[l+10],17,-42063),r=w(r,o,s,n,e[l+11],22,-1990404162),n=w(n,r,o,s,e[l+12],7,1804603682),s=w(s,n,r,o,e[l+13],12,-40341101),o=w(o,s,n,r,e[l+14],17,-1502002290),r=w(r,o,s,n,e[l+15],22,1236535329),n=P(n,r,o,s,e[l+1],5,-165796510),s=P(s,n,r,o,e[l+6],9,-1069501632),o=P(o,s,n,r,e[l+11],14,643717713),r=P(r,o,s,n,e[l+0],20,-373897302),n=P(n,r,o,s,e[l+5],5,-701558691),s=P(s,n,r,o,e[l+10],9,38016083),o=P(o,s,n,r,e[l+15],14,-660478335),r=P(r,o,s,n,e[l+4],20,-405537848),n=P(n,r,o,s,e[l+9],5,568446438),s=P(s,n,r,o,e[l+14],9,-1019803690),o=P(o,s,n,r,e[l+3],14,-187363961),r=P(r,o,s,n,e[l+8],20,1163531501),n=P(n,r,o,s,e[l+13],5,-1444681467),s=P(s,n,r,o,e[l+2],9,-51403784),o=P(o,s,n,r,e[l+7],14,1735328473),r=P(r,o,s,n,e[l+12],20,-1926607734),n=M(n,r,o,s,e[l+5],4,-378558),s=M(s,n,r,o,e[l+8],11,-2022574463),o=M(o,s,n,r,e[l+11],16,1839030562),r=M(r,o,s,n,e[l+14],23,-35309556),n=M(n,r,o,s,e[l+1],4,-1530992060),s=M(s,n,r,o,e[l+4],11,1272893353),o=M(o,s,n,r,e[l+7],16,-155497632),r=M(r,o,s,n,e[l+10],23,-1094730640),n=M(n,r,o,s,e[l+13],4,681279174),s=M(s,n,r,o,e[l+0],11,-358537222),o=M(o,s,n,r,e[l+3],16,-722521979),r=M(r,o,s,n,e[l+6],23,76029189),n=M(n,r,o,s,e[l+9],4,-640364487),s=M(s,n,r,o,e[l+12],11,-421815835),o=M(o,s,n,r,e[l+15],16,530742520),r=M(r,o,s,n,e[l+2],23,-995338651),n=L(n,r,o,s,e[l+0],6,-198630844),s=L(s,n,r,o,e[l+7],10,1126891415),o=L(o,s,n,r,e[l+14],15,-1416354905),r=L(r,o,s,n,e[l+5],21,-57434055),n=L(n,r,o,s,e[l+12],6,1700485571),s=L(s,n,r,o,e[l+3],10,-1894986606),o=L(o,s,n,r,e[l+10],15,-1051523),r=L(r,o,s,n,e[l+1],21,-2054922799),n=L(n,r,o,s,e[l+8],6,1873313359),s=L(s,n,r,o,e[l+15],10,-30611744),o=L(o,s,n,r,e[l+6],15,-1560198380),r=L(r,o,s,n,e[l+13],21,1309151649),n=L(n,r,o,s,e[l+4],6,-145523070),s=L(s,n,r,o,e[l+11],10,-1120210379),o=L(o,s,n,r,e[l+2],15,718787259),r=L(r,o,s,n,e[l+9],21,-343485551),n=C(n,u),r=C(r,p),o=C(o,g),s=C(s,m);return[n,r,o,s]}function k(e,n,r,o,a,s){return C(O(C(C(n,e),C(o,s)),a),r)}function w(e,n,r,o,a,i,s){return k(n&r|~n&o,e,n,a,i,s)}function P(e,n,r,o,a,i,s){return k(n&o|r&~o,e,n,a,i,s)}function M(e,n,r,o,a,i,s){return k(n^r^o,e,n,a,i,s)}function L(e,n,r,o,a,i,s){return k(r^(n|~o),e,n,a,i,s)}function F(e){var t=32*e.length,n="",r;for(r=0;r<t;r+=8)n+=de(255&e[r>>5]>>>24-r%32);return n}function D(e,t){return e<<t|e>>>32-t}function B(e,t){var n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}function U(e,t,n,r){return 20>e?t&n|~t&r:40>e?t^n^r:60>e?t&n|t&r|n&r:t^n^r}function H(e){return 20>e?1518500249:40>e?1859775393:60>e?-1894007588:-899497514}function Y(e){var t=8*e.length,n=Array(e.length>>2),r=n.length,o;for(o=0;o<r;o+=1)n[o]=0;for(o=0;o<t;o+=8)n[o>>5]|=(255&e.charCodeAt(o/8))<<24-o%32;return n}function q(e){for(var t=F(V(Y(e),8*e.length)),n="0123456789abcdef",r="",o=0,a=t.length,s;o<a;o+=1)s=t.charCodeAt(o),r+=n.charAt(15&s>>>4)+n.charAt(15&s);return r}function V(n,r){var o=Array(80),s=1732584193,l=-271733879,u=-1732584194,p=271733878,g=-1009589776,m,h,f,y,_,A,T,E;for(n[r>>5]|=128<<24-r%32,n[(r+64>>9<<4)+15]=r,m=0;m<n.length;m+=16){for(y=s,_=l,A=u,T=p,E=g,h=0;80>h;h+=1)o[h]=16>h?n[m+h]:D(o[h-3]^o[h-8]^o[h-14]^o[h-16],1),f=B(B(D(s,5),U(h,l,u,p)),B(B(g,o[h]),H(h))),g=p,p=u,u=D(l,30),l=s,s=f;s=B(s,y),l=B(l,_),u=B(u,A),p=B(p,T),g=B(g,E)}return[s,l,u,p,g]}function z(e){{if(e.url){Gi._FeBs_ajaxmark||(Gi._FeBs_ajaxmark=1);var t=e.url.indexOf("?");e.url+=0>t?"?ajaxmark="+Gi._FeBs_ajaxmark:t==e.url.length-1?"ajaxmark="+Gi._FeBs_ajaxmark:"&ajaxmark="+Gi._FeBs_ajaxmark}Gi._FeBs_ajaxmark++}var n=e.error||function(){},r=e.success||function(){},o=e.complete||function(){};e.processData=!e.hasOwnProperty("processData")||e.processData;var a=zi.transfer(Gi);a.onreadystatechange=function(){if(4==a.readyState){var e=1223===a.status?204:a.status;if(100>e||599<e)return n(a,a.statusText,new TypeError("Network request failed")),void(n=null);var t="response"in a?a.response:a.responseText;200==e&&r(t,a.statusText,a),o(a,a.statusText)}},a.ontimeout=function(){n&&n(a,null,"timeout")},a.onerror=function(){n&&n(a,null,new TypeError("Network request failed"))},e.progress&&("upload"in a&&"onprogress"in a.upload?a.upload.onprogress=function(t){t.lengthComputable&&e.progress(t.loaded/t.total)}:console.log("The browser not support progress event")),a.open(e.type,e.url,!1!==e.async);var s=!1===e.async?0:e.timeout;if(a.timeout=void 0!==s&&null!==s?s:zi.DefaultTimeout,a.withCredentials=!e.hasOwnProperty("withCredentials")||e.withCredentials,e.headers)if(a.setRequestHeader)for(var i in e.headers){var l=e.headers[i];("Content-Type"!=i||!1!==l)&&a.setRequestHeader(i,l)}else console.log("ajax can't set headers");e.headers&&e.headers.hasOwnProperty("Content-Type")||a.setRequestHeader("Content-Type","application/x-www-form-urlencoded; charset=UTF-8");var d=e.data;if(d&&e.processData&&"string"!=typeof d)try{if(e.headers&&e.headers["Content-Type"]&&0<=e.headers["Content-Type"].toLowerCase().indexOf("json"))d=JSON.stringify(d);else{var c="";for(var i in d){var l=d[i];0<c.length&&(c+="&"),c+=i+"="+(l?l.toString():"")}d=c}}catch(t){console.log("ajax stringify data error"),console.log(t)}return e.beforeSend&&e.beforeSend(a),a.send(d),{abort:function(){a.abort()}}}function G(e,t,n){var r=0,o=t.split(":"),a,s,l;if(t=o[0],t=$i.trim(t),o=o[1],o&&"checked"!=o&&"disabled"!=o)throw new Error("only support `:checked or :disabled` selector");if(0<t.indexOf("[")){var d=t.indexOf("[");if(s=t.substring(d+1,t.length-1),s=s.split("="),2!=s.length)throw new Error("Syntax error, unrecognized expression: "+t);l=s[1],(0<=l.indexOf("'")||0<=l.indexOf("\""))&&(l=l.substring(1,l.length-1)),s=s[0],t=t.substr(0,d)}if("."==t[0]?(r=2,t=t.substr(1)):"#"==t[0]&&(r=1,t=t.substr(1)),!e||0==e.length){if(2==r?a=jd.document.getElementsByClassName(t):1==r?(a=jd.document.getElementById(t),a=a?[a]:[]):0==r&&(a=jd.document.getElementsByTagName(t)),s){var c=a;a=[];for(var u=0;u<c.length;u++)c[u].getAttribute(s)===l&&a.push(c[u])}if(o){var c=a;a=[];for(var u=0;u<c.length;u++)"disabled"==o?c[u].disabled&&a.push(c[u]):"checked"==o&&c[u].checked&&a.push(c[u])}}else{a=[];for(var u=0,p;u<e.length;u++)if(p=e[u].childNodes,p){for(var g=[],m=0;m<p.length;m++)g.push(p[m]);for(var m=0,h;m<g.length;m++){if(h=!0,o&&("disabled"==o?!g[m].disabled&&(h=!1):"checked"==o&&!g[m].checked&&(h=!1)),h&&s&&g[m].getAttribute(s)!==l&&(h=!1),h)if(2==r){if(X(g[m],t)){a.push(g[m]);continue}}else if(1==r){if(g[m].id==t){a.push(g[m]);continue}}else if(0==r&&g[m].nodeName.toUpperCase()==t.toUpperCase()){a.push(g[m]);continue}if(!n){var f=g[m].childNodes;if(f&&0<f.length){for(var y=0;y<f.length;y++)g.push(f[y]);20<m&&(g=g.slice(m+1),m=-1)}}}}}return a}function W(e,t){""===e&&(e=null);var n=!1,r;if("string"!=typeof e)r=e;else if("<"==e[0])r=jd.document.createElement("div"),r.innerHTML=e,1==r.childNodes.length?(r=r.childNodes[0],n=!1):(r=r.childNodes,n=!0);else{if(0<e.indexOf("<")||0<e.indexOf(">"))throw new Error("Syntax error, unrecognized");for(var o=e.split(" "),a=t?[t]:null,s=0;s<o.length;s++)""!=o[s]&&(a=G(a,o[s],!!t));1>=a.length?(r=a[0],n=!1):(r=a,n=!0)}return{_elem:r,_isarr:n}}function X(e,t){return!!(e&&e.className&&"function"==typeof e.className.match)&&!!e.className.match(new RegExp("(\\s|^)"+t+"(\\s|$)"))}function K(e,t){e&&("string"!=typeof e.className||X(e,t)||($i.isEmpty(e.className)?e.className+=t:e.className+=" "+t))}function J(e,t){!e||"string"==typeof e.className&&X(e,t)&&(e.className=e.className.replace(new RegExp("(\\s|^)"+t+"(\\s|$)")," "),e.className=$i.trim(e.className))}function Q(e){if(e){var t=e.parentNode;t&&t.removeChild(e)}}function Z(e,t){if(e)if(!(t instanceof Fd))e.appendChild(t);else if(!t._isArray())e.appendChild(t[0]);else for(var n=0;n<t.length;n++)e.appendChild(t[n])}function ee(e,t){if(e)if(e.hasChildNodes()){if(!(t instanceof Fd))e.insertBefore(t,e.firstChild);else if(!t._isArray())e.insertBefore(t[0],e.firstChild);else for(var n=t.length-1;0<=n;n--)e.insertBefore(t[n],e.firstChild);}else if(!(t instanceof Fd))e.appendChild(t);else if(!t._isArray())e.appendChild(t[0]);else for(var n=0;n<t.length;n++)e.appendChild(t[n])}function te(t){var n=document.createElement("div");try{return n.appendChild(t.cloneNode(!0)),1==t.nodeType}catch(n){return t==jd||t==document}}var pe="undefined"==typeof globalThis?"undefined"==typeof window?"undefined"==typeof global?"undefined"==typeof self?{}:self:global:window:globalThis,ge=function(e){return e&&e.Math==Math&&e},me=ge("object"==typeof globalThis&&globalThis)||ge("object"==typeof window&&window)||ge("object"==typeof self&&self)||ge("object"==typeof pe&&pe)||Function("return this")(),he=function(e){try{return!!e()}catch(e){return!0}},fe=!he(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}),ye=function(e){return"object"==typeof e?null!==e:"function"==typeof e},be=me.document,_e=ye(be)&&ye(be.createElement),Ae=function(e){return _e?be.createElement(e):{}},Te=!fe&&!he(function(){return 7!=Object.defineProperty(Ae("div"),"a",{get:function(){return 7}}).a}),Ee=function(e){if(!ye(e))throw TypeError(e+" is not an object");return e},ve=function(e,t){if(!ye(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!ye(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!ye(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!ye(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")},xe=Object.defineProperty,Se=fe?xe:function(e,t,n){if(Ee(e),t=ve(t,!0),Ee(n),Te)try{return xe(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e},a={f:Se},i=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},f=fe?function(e,t,n){return a.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e},x=function(e,t){try{f(me,e,t)}catch(n){me[e]=t}return t},Oe="__core-js_shared__",Ie=me[Oe]||x(Oe,{}),Ce=Ie,Ne=t(function(e){(e.exports=function(e,t){return Ce[e]||(Ce[e]=void 0===t?{}:t)})("versions",[]).push({version:"3.6.5",mode:"global",copyright:"\xA9 2020 Denis Pushkarev (zloirock.ru)"})}),Re={}.hasOwnProperty,ke=function(e,t){return Re.call(e,t)},we=0,Pe=Math.random(),Me=function(e){return"Symbol("+((void 0===e?"":e)+")_")+(++we+Pe).toString(36)},Le=!!Object.getOwnPropertySymbols&&!he(function(){return!(Symbol()+"")}),je=Le&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Fe=Ne("wks"),De=me.Symbol,Be=je?De:De&&De.withoutSetter||Me,Ue=function(e){return ke(Fe,e)||(Le&&ke(De,e)?Fe[e]=De[e]:Fe[e]=Be("Symbol."+e)),Fe[e]},He=Ue("toStringTag"),Ye={};Ye[He]="z";var $e="[object z]"===Ye+"",qe=Function.toString;"function"!=typeof Ce.inspectSource&&(Ce.inspectSource=function(e){return qe.call(e)});var Ve=Ce.inspectSource,ze=me.WeakMap,Ge="function"==typeof ze&&/native code/.test(Ve(ze)),We=Ne("keys"),Xe=function(e){return We[e]||(We[e]=Me(e))},Ke={},Je=me.WeakMap,Qe=function(e){return tt(e)?et(e):Ze(e,{})},Ze,et,tt;if(Ge){var nt=new Je,rt=nt.get,ot=nt.has,at=nt.set;Ze=function(e,t){return at.call(nt,e,t),t},et=function(e){return rt.call(nt,e)||{}},tt=function(e){return ot.call(nt,e)}}else{var st=Xe("state");Ke[st]=!0,Ze=function(e,t){return f(e,st,t),t},et=function(e){return ke(e,st)?e[st]:{}},tt=function(e){return ke(e,st)}}var it={set:Ze,get:et,has:tt,enforce:Qe,getterFor:function(e){return function(t){var n;if(!ye(t)||(n=et(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}},lt=t(function(e){var t=it.get,n=it.enforce,r=(String+"").split("String");(e.exports=function(e,t,o,a){var s=!!a&&!!a.unsafe,i=!!a&&!!a.enumerable,l=!!a&&!!a.noTargetGet;return("function"==typeof o&&("string"==typeof t&&!ke(o,"name")&&f(o,"name",t),n(o).source=r.join("string"==typeof t?t:"")),e===me)?void(i?e[t]=o:x(t,o)):void(s?!l&&e[t]&&(i=!0):delete e[t],i?e[t]=o:f(e,t,o))})(Function.prototype,"toString",function(){return"function"==typeof this&&t(this).source||Ve(this)})}),dt={}.toString,ct=function(e){return dt.call(e).slice(8,-1)},ut=Ue("toStringTag"),pt="Arguments"==ct(function(){return arguments}()),gt=function(e,t){try{return e[t]}catch(e){}},mt=function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=gt(t=Object(e),ut))?n:pt?ct(t):"Object"==(r=ct(t))&&"function"==typeof t.callee?"Arguments":r},ht=function(){return"[object "+mt(this)+"]"};$e||lt(Object.prototype,"toString",ht,{unsafe:!0});var ft={}.propertyIsEnumerable,yt=Object.getOwnPropertyDescriptor,bt=yt&&!ft.call({1:2},1),_t=bt?function(e){var t=yt(this,e);return!!t&&t.enumerable}:ft,At={f:_t},Tt="".split,Et=he(function(){return!Object("z").propertyIsEnumerable(0)})?function(e){return"String"==ct(e)?Tt.call(e,""):Object(e)}:Object,vt=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e},xt=function(e){return Et(vt(e))},St=Object.getOwnPropertyDescriptor,Ot=fe?St:function(e,t){if(e=xt(e),t=ve(t,!0),Te)try{return St(e,t)}catch(e){}return ke(e,t)?i(!At.f.call(e,t),e[t]):void 0},It={f:Ot},Ct=me,Nt=function(e){return"function"==typeof e?e:void 0},Rt=function(e,t){return 2>arguments.length?Nt(Ct[e])||Nt(me[e]):Ct[e]&&Ct[e][t]||me[e]&&me[e][t]},kt=function(e){return isNaN(e=+e)?0:(0<e?ue:ce)(e)},wt=function(e){return 0<e?le(kt(e),9007199254740991):0},Pt=function(e,t){var n=kt(e);return 0>n?ie(n+t,0):le(n,t)},Mt=function(e){return function(t,n,r){var o=xt(t),a=wt(o.length),s=Pt(r,a),i;if(e&&n!=n){for(;a>s;)if(i=o[s++],i!=i)return!0;}else for(;a>s;s++)if((e||s in o)&&o[s]===n)return e||s||0;return!e&&-1}},Lt={includes:Mt(!0),indexOf:Mt(!1)},jt=Lt.indexOf,Ft=function(e,t){var n=xt(e),r=0,o=[],a;for(a in n)!ke(Ke,a)&&ke(n,a)&&o.push(a);for(;t.length>r;)ke(n,a=t[r++])&&(~jt(o,a)||o.push(a));return o},Dt=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Bt=Dt.concat("length","prototype"),Ut=Object.getOwnPropertyNames||function(e){return Ft(e,Bt)},Ht={f:Ut},Yt=Object.getOwnPropertySymbols,$t={f:Yt},qt=Rt("Reflect","ownKeys")||function(e){var t=Ht.f(Ee(e)),n=$t.f;return n?t.concat(n(e)):t},Vt=function(e,t){for(var n=qt(t),r=a.f,o=It.f,s=0,l;s<n.length;s++)l=n[s],ke(e,l)||r(e,l,o(t,l))},zt=function(e,t){var n=Wt[Gt(e)];return n==Kt||n!=Xt&&("function"==typeof t?he(t):!!t)},Gt=zt.normalize=function(e){return(e+"").replace(/#|\.prototype\./,".").toLowerCase()},Wt=zt.data={},Xt=zt.NATIVE="N",Kt=zt.POLYFILL="P",Jt=zt,Qt=It.f,Zt=function(e,t){var n=e.target,r=e.global,o=e.stat,a,s,i,l,d,c;if(s=r?me:o?me[n]||x(n,{}):(me[n]||{}).prototype,s)for(i in t){if(d=t[i],e.noTargetGet?(c=Qt(s,i),l=c&&c.value):l=s[i],a=Jt(r?i:n+(o?".":"#")+i,e.forced),!a&&void 0!==l){if(typeof d==typeof l)continue;Vt(d,l)}(e.sham||l&&l.sham)&&f(d,"sham",!0),lt(s,i,d,e)}},en=me.Promise,tn=function(e,t,n){for(var r in t)lt(e,r,t[r],n);return e},nn=a.f,rn=Ue("toStringTag"),on=function(e,t,n){e&&!ke(e=n?e:e.prototype,rn)&&nn(e,rn,{configurable:!0,value:t})},an=Ue("species"),sn=function(e){var t=Rt(e),n=a.f;fe&&t&&!t[an]&&n(t,an,{configurable:!0,get:function(){return this}})},ln=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function");return e},dn=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e},cn={},un=Ue("iterator"),pn=Array.prototype,gn=function(e){return void 0!==e&&(cn.Array===e||pn[un]===e)},mn=function(e,t,n){return(ln(e),void 0===t)?e:0===n?function(){return e.call(t)}:1===n?function(n){return e.call(t,n)}:2===n?function(n,r){return e.call(t,n,r)}:3===n?function(n,r,o){return e.call(t,n,r,o)}:function(){return e.apply(t,arguments)}},hn=Ue("iterator"),fn=function(e){if(null!=e)return e[hn]||e["@@iterator"]||cn[mt(e)]},yn=function(e,t,n,r){try{return r?t(Ee(n)[0],n[1]):t(n)}catch(t){var o=e["return"];throw void 0!==o&&Ee(o.call(e)),t}},bn=t(function(e){var t=function(e,t){this.stopped=e,this.result=t},n=e.exports=function(e,n,r,o,a){var s=mn(n,r,o?2:1),i,l,d,c,u,p,g;if(a)i=e;else{if(l=fn(e),"function"!=typeof l)throw TypeError("Target is not iterable");if(gn(l)){for(d=0,c=wt(e.length);c>d;d++)if(u=o?s(Ee(g=e[d])[0],g[1]):s(e[d]),u&&u instanceof t)return u;return new t(!1)}i=l.call(e)}for(p=i.next;!(g=p.call(i)).done;)if(u=yn(i,s,g.value,o),"object"==typeof u&&u&&u instanceof t)return u;return new t(!1)};n.stop=function(e){return new t(!0,e)}}),_n=Ue("iterator"),An=!1;try{var Tn=0,En={next:function(){return{done:!!Tn++}},return:function(){An=!0}};En[_n]=function(){return this},Array.from(En,function(){throw 2})}catch(e){}var vn=function(e,t){if(!t&&!An)return!1;var n=!1;try{var r={};r[_n]=function(){return{next:function(){return{done:n=!0}}}},e(r)}catch(e){}return n},xn=Ue("species"),Sn=function(e,t){var n=Ee(e).constructor,r;return void 0===n||null==(r=Ee(n)[xn])?t:ln(r)},On=Rt("document","documentElement"),In=Rt("navigator","userAgent")||"",Cn=/(iphone|ipod|ipad).*applewebkit/i.test(In),Nn=me.location,Rn=me.setImmediate,kn=me.clearImmediate,wn=me.process,Pn=me.MessageChannel,Mn=me.Dispatch,Ln=0,jn={},Fn="onreadystatechange",Dn=function(e){if(jn.hasOwnProperty(e)){var t=jn[e];delete jn[e],t()}},Bn=function(e){return function(){Dn(e)}},Un=function(e){Dn(e.data)},Hn=function(e){me.postMessage(e+"",Nn.protocol+"//"+Nn.host)},Yn,$n,qn;Rn&&kn||(Rn=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return jn[++Ln]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},Yn(Ln),Ln},kn=function(e){delete jn[e]},"process"==ct(wn)?Yn=function(e){wn.nextTick(Bn(e))}:Mn&&Mn.now?Yn=function(e){Mn.now(Bn(e))}:Pn&&!Cn?($n=new Pn,qn=$n.port2,$n.port1.onmessage=Un,Yn=mn(qn.postMessage,qn,1)):!me.addEventListener||"function"!=typeof postMessage||me.importScripts||he(Hn)||"file:"===Nn.protocol?Fn in Ae("script")?Yn=function(e){On.appendChild(Ae("script"))[Fn]=function(){On.removeChild(this),Dn(e)}}:Yn=function(e){setTimeout(Bn(e),0)}:(Yn=Hn,me.addEventListener("message",Un,!1)));var Vn={set:Rn,clear:kn},zn=It.f,Gn=Vn.set,Wn=me.MutationObserver||me.WebKitMutationObserver,Xn=me.process,Kn=me.Promise,Jn="process"==ct(Xn),Qn=zn(me,"queueMicrotask"),Zn=Qn&&Qn.value,er,tr,nr,rr,or,ar,sr,ir;Zn||(er=function(){var e,t;for(Jn&&(e=Xn.domain)&&e.exit();tr;){t=tr.fn,tr=tr.next;try{t()}catch(e){throw tr?rr():nr=void 0,e}}nr=void 0,e&&e.enter()},Jn?rr=function(){Xn.nextTick(er)}:Wn&&!Cn?(or=!0,ar=document.createTextNode(""),new Wn(er).observe(ar,{characterData:!0}),rr=function(){ar.data=or=!or}):Kn&&Kn.resolve?(sr=Kn.resolve(void 0),ir=sr.then,rr=function(){ir.call(sr,er)}):rr=function(){Gn.call(me,er)});var lr=Zn||function(e){var t={fn:e,next:void 0};nr&&(nr.next=t),tr||(tr=t,rr()),nr=t},dr=function(e){var t,n;this.promise=new e(function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r}),this.resolve=ln(t),this.reject=ln(n)},cr={f:function(e){return new dr(e)}},ur=function(e,t){if(Ee(e),ye(t)&&t.constructor===e)return t;var n=cr.f(e),r=n.resolve;return r(t),n.promise},pr=function(e,t){var n=me.console;n&&n.error&&(1===arguments.length?n.error(e):n.error(e,t))},gr=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}},mr=me.process,hr=mr&&mr.versions,fr=hr&&hr.v8,yr,br;fr?(yr=fr.split("."),br=yr[0]+yr[1]):In&&(yr=In.match(/Edge\/(\d+)/),(!yr||74<=yr[1])&&(yr=In.match(/Chrome\/(\d+)/),yr&&(br=yr[1])));var _r=br&&+br,Ar=Vn.set,Tr=Ue("species"),Er="Promise",vr=it.get,xr=it.set,Sr=it.getterFor(Er),Or=en,Ir=me.TypeError,Cr=me.document,Nr=me.process,Rr=Rt("fetch"),kr=cr.f,wr=kr,Pr="process"==ct(Nr),Mr=!!(Cr&&Cr.createEvent&&me.dispatchEvent),Lr="unhandledrejection",jr=0,Fr=1,Dr=1,Br=2,Ur=Jt(Er,function(){var e=Ve(Or)!==Or+"";if(!e){if(66===_r)return!0;if(!Pr&&"function"!=typeof PromiseRejectionEvent)return!0}if(51<=_r&&/native code/.test(Or))return!1;var t=Or.resolve(1),n=function(e){e(function(){},function(){})},r=t.constructor={};return r[Tr]=n,!(t.then(function(){})instanceof n)}),Hr=Ur||!vn(function(e){Or.all(e)["catch"](function(){})}),Yr=function(e){var t;return!!(ye(e)&&"function"==typeof(t=e.then))&&t},$r=function(e,t,n){if(!t.notified){t.notified=!0;var r=t.reactions;lr(function(){for(var o=t.value,a=t.state==Fr,s=0;r.length>s;){var i=r[s++],l=a?i.ok:i.fail,d=i.resolve,c=i.reject,u=i.domain,p,g,m;try{l?(!a&&(t.rejection===Br&&Gr(e,t),t.rejection=Dr),!0===l?p=o:(u&&u.enter(),p=l(o),u&&(u.exit(),m=!0)),p===i.promise?c(Ir("Promise-chain cycle")):(g=Yr(p))?g.call(p,d,c):d(p)):c(o)}catch(e){u&&!m&&u.exit(),c(e)}}t.reactions=[],t.notified=!1,n&&!t.rejection&&Vr(e,t)})}},qr=function(e,t,n){var r,o;Mr?(r=Cr.createEvent("Event"),r.promise=t,r.reason=n,r.initEvent(e,!1,!0),me.dispatchEvent(r)):r={promise:t,reason:n},(o=me["on"+e])?o(r):e===Lr&&pr("Unhandled promise rejection",n)},Vr=function(e,t){Ar.call(me,function(){var n=t.value,r=zr(t),o;if(r&&(o=gr(function(){Pr?Nr.emit("unhandledRejection",n,e):qr(Lr,e,n)}),t.rejection=Pr||zr(t)?Br:Dr,o.error))throw o.value})},zr=function(e){return e.rejection!==Dr&&!e.parent},Gr=function(e,t){Ar.call(me,function(){Pr?Nr.emit("rejectionHandled",e):qr("rejectionhandled",e,t.value)})},Wr=function(e,t,n,r){return function(o){e(t,n,o,r)}},Xr=function(e,t,n,r){t.done||(t.done=!0,r&&(t=r),t.value=n,t.state=2,$r(e,t,!0))},Kr=function(e,t,n,r){if(!t.done){t.done=!0,r&&(t=r);try{if(e===n)throw Ir("Promise can't be resolved itself");var o=Yr(n);o?lr(function(){var r={done:!1};try{o.call(n,Wr(Kr,e,r,t),Wr(Xr,e,r,t))}catch(n){Xr(e,r,n,t)}}):(t.value=n,t.state=Fr,$r(e,t,!1))}catch(n){Xr(e,{done:!1},n,t)}}},Jr,Qr,Zr,eo;Ur&&(Or=function(e){dn(this,Or,Er),ln(e),Jr.call(this);var t=vr(this);try{e(Wr(Kr,this,t),Wr(Xr,this,t))}catch(e){Xr(this,t,e)}},Jr=function(){xr(this,{type:Er,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:jr,value:void 0})},Jr.prototype=tn(Or.prototype,{then:function(e,t){var n=Sr(this),r=kr(Sn(this,Or));return r.ok="function"!=typeof e||e,r.fail="function"==typeof t&&t,r.domain=Pr?Nr.domain:void 0,n.parent=!0,n.reactions.push(r),n.state!=jr&&$r(this,n,!1),r.promise},catch:function(e){return this.then(void 0,e)}}),Qr=function(){var e=new Jr,t=vr(e);this.promise=e,this.resolve=Wr(Kr,e,t),this.reject=Wr(Xr,e,t)},cr.f=kr=function(e){return e===Or||e===Zr?new Qr(e):wr(e)},"function"==typeof en&&(eo=en.prototype.then,lt(en.prototype,"then",function(e,t){var n=this;return new Or(function(e,t){eo.call(n,e,t)}).then(e,t)},{unsafe:!0}),"function"==typeof Rr&&Zt({global:!0,enumerable:!0,forced:!0},{fetch:function(){return ur(Or,Rr.apply(me,arguments))}}))),Zt({global:!0,wrap:!0,forced:Ur},{Promise:Or}),on(Or,Er,!1),sn(Er),Zr=Rt(Er),Zt({target:Er,stat:!0,forced:Ur},{reject:function(e){var t=kr(this);return t.reject.call(void 0,e),t.promise}}),Zt({target:Er,stat:!0,forced:Ur},{resolve:function(e){return ur(this,e)}}),Zt({target:Er,stat:!0,forced:Hr},{all:function(e){var t=this,n=kr(t),r=n.resolve,o=n.reject,a=gr(function(){var n=ln(t.resolve),a=[],s=0,i=1;bn(e,function(e){var l=s++,d=!1;a.push(void 0),i++,n.call(t,e).then(function(e){d||(d=!0,a[l]=e,--i||r(a))},o)}),--i||r(a)});return a.error&&o(a.value),n.promise},race:function(e){var t=this,n=kr(t),r=n.reject,o=gr(function(){var o=ln(t.resolve);bn(e,function(e){o.call(t,e).then(n.resolve,r)})});return o.error&&r(o.value),n.promise}});var to=!!en&&he(function(){en.prototype["finally"].call({then:function(){}},function(){})});Zt({target:"Promise",proto:!0,real:!0,forced:to},{finally:function(t){var n=Sn(this,Rt("Promise")),e="function"==typeof t;return this.then(e?function(e){return ur(n,t()).then(function(){return e})}:t,e?function(r){return ur(n,t()).then(function(){throw r})}:t)}}),"function"!=typeof en||en.prototype["finally"]||lt(en.prototype,"finally",Rt("Promise").prototype["finally"]),function(){"function"==typeof Promise.prototype.finally||(Promise.prototype.finally=function(e){return this.then(function(t){return this.constructor.resolve(e()).then(function(){return t})}).catch(function(t){return this.constructor.resolve(e()).then(function(){throw t})})})}();var no=Object.freeze({__proto__:null}),ro=[].slice,oo=/MSIE .\./.test(In),ao=function(e){return function(t,n){var r=2<arguments.length,o=r?ro.call(arguments,2):void 0;return e(r?function(){("function"==typeof t?t:Function(t)).apply(this,o)}:t,n)}};Zt({global:!0,bind:!0,forced:oo},{setTimeout:ao(me.setTimeout),setInterval:ao(me.setInterval)});var so="undefined"==typeof window?"undefined"==typeof pe?"undefined"==typeof self?void 0:self:pe:window,io={},lo=0;so.requestAnimationFrame=so.requestAnimationFrame||so.mozRequestAnimationFrame||so.webkitRequestAnimationFrame||so.msRequestAnimationFrame,so.cancelAnimationFrame=so.cancelAnimationFrame||so.mozCancelAnimationFrame,so.requestAnimationFrame||(so.requestAnimationFrame=function(e){var t=Date.now(),n=ie(0,16-(t-lo)),r=so.setTimeout(function(){e(t+n)},n);return lo=t+n,r}),so.cancelAnimationFrame||(so.cancelAnimationFrame=function(e){clearTimeout(e)}),io.requestAnimationFrame=so.requestAnimationFrame,io.cancelAnimationFrame=so.cancelAnimationFrame;var co=io,uo=function(e){if(!ye(e)&&null!==e)throw TypeError("Can't set "+(e+" as a prototype"));return e},po=Object.setPrototypeOf||("__proto__"in{}?function(){var e=!1,t={},n;try{n=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,n.call(t,[]),e=t instanceof Array}catch(e){}return function(t,r){return Ee(t),uo(r),e?n.call(t,r):t.__proto__=r,t}}():void 0),go=function(e,t,n){var r,o;return po&&"function"==typeof(r=t.constructor)&&r!==n&&ye(o=r.prototype)&&o!==n.prototype&&po(e,o),e},mo=Ue("match"),ho=function(e){var t;return ye(e)&&(void 0===(t=e[mo])?"RegExp"==ct(e):!!t)},fo=function(){var e=Ee(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t},yo=he(function(){var e=r("a","y");return e.lastIndex=2,null!=e.exec("abcd")}),bo=he(function(){var e=r("^r","gy");return e.lastIndex=2,null!=e.exec("str")}),_o={UNSUPPORTED_Y:yo,BROKEN_CARET:bo},Ao=a.f,To=Ht.f,Eo=it.set,vo=Ue("match"),xo=me.RegExp,So=xo.prototype,Oo=/a/g,Io=/a/g,Co=new xo(Oo)!==Oo,No=_o.UNSUPPORTED_Y,Ro=fe&&Jt("RegExp",!Co||No||he(function(){return Io[vo]=!1,xo(Oo)!=Oo||xo(Io)==Io||"/a/i"!=xo(Oo,"i")}));if(Ro){for(var ko=function(e,t){var n=this instanceof ko,r=ho(e),o=void 0===t,a;if(!n&&r&&e.constructor===ko&&o)return e;Co?r&&!o&&(e=e.source):e instanceof ko&&(o&&(t=fo.call(e)),e=e.source),No&&(a=!!t&&-1<t.indexOf("y"),a&&(t=t.replace(/y/g,"")));var s=go(Co?new xo(e,t):xo(e,t),n?this:So,ko);return No&&a&&Eo(s,{sticky:a}),s},wo=function(e){(e in ko)||Ao(ko,e,{configurable:!0,get:function(){return xo[e]},set:function(t){xo[e]=t}})},Po=To(xo),Mo=0;Po.length>Mo;)wo(Po[Mo++]);So.constructor=ko,ko.prototype=So,lt(me,"RegExp",ko)}sn("RegExp");var Lo=RegExp.prototype.exec,jo=se.replace,Fo=Lo,Do=function(){var e=/a/,t=/b*/g;return Lo.call(e,"a"),Lo.call(t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),Bo=_o.UNSUPPORTED_Y||_o.BROKEN_CARET,Uo=void 0!==/()??/.exec("")[1];(Do||Uo||Bo)&&(Fo=function(e){var t=this,n=Bo&&t.sticky,r=fo.call(t),o=t.source,a=0,s=e,l,d,c,u;return n&&(r=r.replace("y",""),-1===r.indexOf("g")&&(r+="g"),s=(e+"").slice(t.lastIndex),0<t.lastIndex&&(!t.multiline||t.multiline&&"\n"!==e[t.lastIndex-1])&&(o="(?: "+o+")",s=" "+s,a++),d=new RegExp("^(?:"+o+")",r)),Uo&&(d=new RegExp("^"+o+"$(?!\\s)",r)),Do&&(l=t.lastIndex),c=Lo.call(n?d:t,s),n?c?(c.input=c.input.slice(a),c[0]=c[0].slice(a),c.index=t.lastIndex,t.lastIndex+=c[0].length):t.lastIndex=0:Do&&c&&(t.lastIndex=t.global?c.index+c[0].length:l),Uo&&c&&1<c.length&&jo.call(c[0],d,function(){for(u=1;u<arguments.length-2;u++)void 0===arguments[u]&&(c[u]=void 0)}),c});var Ho=Fo;Zt({target:"RegExp",proto:!0,forced:/./.exec!==Ho},{exec:Ho});var Yo=RegExp.prototype,$o=Yo.toString,qo=he(function(){return"/a/b"!=$o.call({source:"a",flags:"b"})}),Vo="toString"!=$o.name;(qo||Vo)&<(RegExp.prototype,"toString",function(){var e=Ee(this),t=e.source+"",n=e.flags,r=(void 0===n&&e instanceof RegExp&&!("flags"in Yo)?fo.call(e):n)+"";return"/"+t+"/"+r},{unsafe:!0});var zo=Ue("species"),Go=!he(function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}),Wo=function(){return"$0"==="a".replace(/./,"$0")}(),Xo=Ue("replace"),Ko=function(){return!!/./[Xo]&&""===/./[Xo]("a","$0")}(),Jo=!he(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]}),Qo=function(e,t,n,r){var o=Ue(e),a=!he(function(){var t={};return t[o]=function(){return 7},7!=""[e](t)}),s=a&&!he(function(){var t=!1,n=/a/;return"split"===e&&(n={},n.constructor={},n.constructor[zo]=function(){return n},n.flags="",n[o]=/./[o]),n.exec=function(){return t=!0,null},n[o](""),!t});if(!a||!s||"replace"===e&&!(Go&&Wo&&!Ko)||"split"===e&&!Jo){var i=/./[o],l=n(o,""[e],function(e,t,n,r,o){return t.exec===Ho?a&&!o?{done:!0,value:i.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}},{REPLACE_KEEPS_$0:Wo,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:Ko}),d=l[0],c=l[1];lt(String.prototype,e,d),lt(RegExp.prototype,o,2==t?function(e,t){return c.call(e,this,t)}:function(e){return c.call(e,this)})}r&&f(RegExp.prototype[o],"sham",!0)},Zo=function(e){return Object(vt(e))},ea=function(e){return function(t,n){var r=vt(t)+"",o=kt(n),a=r.length,s,i;return 0>o||o>=a?e?"":void 0:(s=r.charCodeAt(o),55296>s||56319<s||o+1===a||56320>(i=r.charCodeAt(o+1))||57343<i?e?r.charAt(o):s:e?r.slice(o,o+2):(s-55296<<10)+(i-56320)+65536)}},ta={codeAt:ea(!1),charAt:ea(!0)},na=ta.charAt,ra=function(e,t,n){return t+(n?na(e,t).length:1)},oa=function(e,t){var n=e.exec;if("function"==typeof n){var r=n.call(e,t);if("object"!=typeof r)throw TypeError("RegExp exec method returned something other than an Object or null");return r}if("RegExp"!==ct(e))throw TypeError("RegExp#exec called on incompatible receiver");return Ho.call(e,t)},aa=function(e){return void 0===e?e:e+""};Qo("replace",2,function(e,t,n,r){function o(e,r,o,a,s,i){var l=o+e.length,d=a.length,n=/\$([$&'`]|\d\d?)/g;return void 0!==s&&(s=Zo(s),n=/\$([$&'`]|\d\d?|<[^>]*>)/g),t.call(i,n,function(t,i){var c;switch(i.charAt(0)){case"$":return"$";case"&":return e;case"`":return r.slice(0,o);case"'":return r.slice(l);case"<":c=s[i.slice(1,-1)];break;default:var u=+i;if(0==u)return t;if(u>d){var n=ue(u/10);return 0===n?t:n<=d?void 0===a[n-1]?i.charAt(1):a[n-1]+i.charAt(1):t}c=a[u-1];}return void 0===c?"":c})}var a=r.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,s=r.REPLACE_KEEPS_$0,l=a?"$":"$0";return[function(n,r){var o=vt(this),a=null==n?void 0:n[e];return void 0===a?t.call(o+"",n,r):a.call(n,o,r)},function(e,r){if(!a&&s||"string"==typeof r&&-1===r.indexOf(l)){var d=n(t,e,this,r);if(d.done)return d.value}var c=Ee(e),u=this+"",p="function"==typeof r;p||(r+="");var g=c.global;if(g){var m=c.unicode;c.lastIndex=0}for(var h=[],f,y;(f=oa(c,u),null!==f)&&(h.push(f),!!g);)y=f[0]+"",""==y&&(c.lastIndex=ra(u,wt(c.lastIndex),m));for(var b="",_=0,A=0;A<h.length;A++){f=h[A];for(var T=f[0]+"",E=ie(le(kt(f.index),u.length),0),v=[],x=1;x<f.length;x++)v.push(aa(f[x]));var S=f.groups;if(p){var O=[T].concat(v,E,u);void 0!==S&&O.push(S);var I=r.apply(void 0,O)+""}else I=o(T,u,E,v,S,r);E>=_&&(b+=u.slice(_,E)+I,_=E+T.length)}return b+u.slice(_)}]});var sa={isValidate:function(e){return!isNaN(e)&&e&&"Invalid Date"!=e.toString()&&e instanceof Date},getTimeString:o,getTimeStringFromNow:function(e,t){t=t||{},t.now=t.now||"\u521A\u521A",t.second=t.second||"\u79D2\u524D",t.minute=t.minute||"\u5206\u949F\u524D",t.hour=t.hour||"\u5C0F\u65F6\u524D",t.day_yesterday=t.day_yesterday||"\u6628\u5929",t.day=t.day||"\u5929\u524D",t.month=t.month||"\u4E2A\u6708\u524D",t.time=t.time||"yyyy-M-d h:m:s";var n=ce(Date.now()/1e3);if(e=ce(e/1e3),n>e){var r=n-e;if(3>r)return t.now;if(60>r)return r.toString()+t.second;if(3600>r)return ce(r/60).toString()+t.minute;if(86400>r)return ce(r/60/60).toString()+t.hour;if(2592000>r){var a=new Date(1e3*n);return a.setHours(0,0,1),86400>=a.getTime()-e?t.day_yesterday:ce(r/60/60/24).toString()+t.day}return 15552000>r?ce(r/60/60/24/30).toString()+t.month:o(e,t.time)}return t.now},getTime:function(e){var t=new Date;return t.setFullYear(parseInt(e.substr(0,4)),parseInt(e.substr(5,2),10)-1,parseInt(e.substr(8,2))),t.setHours(parseInt(e.substr(11,2))||0,parseInt(e.substr(14,2))||0,parseInt(e.substr(17,2))||0,0),t},getTime2:function(e){var t=new Date;return t.setFullYear(parseInt(e.substr(0,4)),parseInt(e.substr(4,2),10)-1,parseInt(e.substr(6,2))),t.setHours(parseInt(e.substr(8,2))||0,parseInt(e.substr(10,2))||0,parseInt(e.substr(12,2))||0,0),t},getDate:function(e){var t=new Date(parseInt(e.substr(0,4)),parseInt(e.substr(5,2),10)-1,parseInt(e.substr(8,2)));return t},getDate2:function(e){var t=new Date(parseInt(e.substr(0,4)),parseInt(e.substr(4,2),10)-1,parseInt(e.substr(6,2)));return t},getUTCTimeString:function(e,n,r){if("number"!=typeof e)return"";n=n||"HH:mm:ss";var a=new Date(e),t={"M+":a.getUTCMonth()+1,"d+":a.getUTCDate(),"h+":0==a.getUTCHours()%12?12:a.getUTCHours()%12,"H+":a.getUTCHours(),"m+":a.getUTCMinutes(),"s+":a.getUTCSeconds(),"q+":ue((a.getUTCMonth()+3)/3),S:a.getUTCMilliseconds()},o=r||{0:"\u661F\u671F\u5929",1:"\u661F\u671F\u4E00",2:"\u661F\u671F\u4E8C",3:"\u661F\u671F\u4E09",4:"\u661F\u671F\u56DB",5:"\u661F\u671F\u4E94",6:"\u661F\u671F\u516D"};for(var s in /(y+)/.test(n)&&(n=n.replace(RegExp.$1,(a.getUTCFullYear()+"").substr(4-RegExp.$1.length))),/(E+)/.test(n)&&(n=n.replace(RegExp.$1,o[a.getUTCDay()+""])),t)new RegExp("("+s+")").test(n)&&(n=n.replace(RegExp.$1,1==RegExp.$1.length?t[s]:("00"+t[s]).substr((""+t[s]).length)));return n},getDateFromUTC:function(e){var t=new Date;return t.setUTCFullYear(parseInt(e.substr(0,4)),parseInt(e.substr(5,2),10)-1,parseInt(e.substr(8,2))),t.setUTCHours(0,0,0,0),t},getDate2FromUTC:function(e){var t=new Date;return t.setUTCFullYear(parseInt(e.substr(0,4)),parseInt(e.substr(4,2),10)-1,parseInt(e.substr(6,2))),t.setUTCHours(0,0,0,0),t},getTimeFromUTC:function(e){var t=new Date;return t.setUTCFullYear(parseInt(e.substr(0,4)),parseInt(e.substr(5,2),10)-1,parseInt(e.substr(8,2))),t.setUTCHours(parseInt(e.substr(11,2))||0,parseInt(e.substr(14,2))||0,parseInt(e.substr(17,2))||0,0),t},getTime2FromUTC:function(e){var t=new Date;return t.setUTCFullYear(parseInt(e.substr(0,4)),parseInt(e.substr(4,2),10)-1,parseInt(e.substr(6,2))),t.setUTCHours(parseInt(e.substr(8,2))||0,parseInt(e.substr(10,2))||0,parseInt(e.substr(12,2))||0,0),t}},ia=sa.isValidate,la=sa.getDate,da=sa.getDate2,ca=sa.getDate2FromUTC,ua=sa.getDateFromUTC,pa=sa.getTime2FromUTC,ga=sa.getTimeString,ma=sa.getUTCTimeString,ha=sa.getTimeStringFromNow,fa=sa.getTimeFromUTC,ya=sa.getTime,ba=sa.getTime2,_a=Array.isArray||function(e){return"Array"==ct(e)},Aa=function(e,t,n){var r=ve(t);r in e?a.f(e,r,i(0,n)):e[r]=n},Ta=Ue("species"),Ea=function(e){return 51<=_r||!he(function(){var t=[],n=t.constructor={};return n[Ta]=function(){return{foo:1}},1!==t[e](Boolean).foo})},va=Object.defineProperty,xa={},Sa=function(e){throw e},Oa=function(e,t){if(ke(xa,e))return xa[e];t||(t={});var n=[][e],r=!!ke(t,"ACCESSORS")&&t.ACCESSORS,o=ke(t,0)?t[0]:Sa,a=ke(t,1)?t[1]:void 0;return xa[e]=!!n&&!he(function(){if(r&&!fe)return!0;var e={length:-1};r?va(e,1,{enumerable:!0,get:Sa}):e[1]=1,n.call(e,o,a)})},Ia=Ea("slice"),Ca=Oa("slice",{ACCESSORS:!0,0:0,1:2}),Na=Ue("species"),Ra=[].slice;Zt({target:"Array",proto:!0,forced:!Ia||!Ca},{slice:function(e,t){var r=xt(this),o=wt(r.length),a=Pt(e,o),s=Pt(void 0===t?o:t,o),i,l,d;if(_a(r)&&(i=r.constructor,"function"==typeof i&&(i===Array||_a(i.prototype))?i=void 0:ye(i)&&(i=i[Na],null===i&&(i=void 0)),i===Array||void 0===i))return Ra.call(r,a,s);for(l=new(void 0===i?Array:i)(ie(s-a,0)),d=0;a<s;a++,d++)a in r&&Aa(l,d,r[a]);return l.length=d,l}});var ka=Object.keys||function(e){return Ft(e,Dt)},wa=fe?Object.defineProperties:function(e,t){Ee(e);for(var n=ka(t),r=n.length,o=0,s;r>o;)a.f(e,s=n[o++],t[s]);return e},Pa=">",Ma="<",La="prototype",ja="script",Fa=Xe("IE_PROTO"),Da=function(){},Ba=function(e){return Ma+ja+Pa+e+Ma+"/"+ja+Pa},Ua=function(e){e.write(Ba("")),e.close();var t=e.parentWindow.Object;return e=null,t},Ha=function(){var e=Ae("iframe"),t;return e.style.display="none",On.appendChild(e),e.src="java"+ja+":"+"",t=e.contentWindow.document,t.open(),t.write(Ba("document.F=Object")),t.close(),t.F},Ya=function(){try{$a=document.domain&&new ActiveXObject("htmlfile")}catch(e){}Ya=$a?Ua($a):Ha();for(var e=Dt.length;e--;)delete Ya[La][Dt[e]];return Ya()},$a;Ke[Fa]=!0;var qa=Object.create||function(e,t){var n;return null===e?n=Ya():(Da[La]=Ee(e),n=new Da,Da[La]=null,n[Fa]=e),void 0===t?n:wa(n,t)},Va="\t\n\x0B\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF",za="["+Va+"]",Ga=RegExp("^"+za+za+"*"),Wa=RegExp(za+za+"*$"),Xa=function(e){return function(t){var n=vt(t)+"";return 1&e&&(n=n.replace(Ga,"")),2&e&&(n=n.replace(Wa,"")),n}},Ka={start:Xa(1),end:Xa(2),trim:Xa(3)},Ja=Ht.f,Qa=It.f,Za=a.f,es=Ka.trim,ts="Number",ns=me[ts],rs=ns.prototype,os=ct(qa(rs))==ts,as=function(e){var t=ve(e,!1),n,r,o,a,s,i,l,d;if("string"==typeof t&&2<t.length)if(t=es(t),n=t.charCodeAt(0),43===n||45===n){if(r=t.charCodeAt(2),88===r||120===r)return NaN;}else if(48===n){switch(t.charCodeAt(1)){case 66:case 98:o=2,a=49;break;case 79:case 111:o=8,a=55;break;default:return+t;}for(s=t.slice(2),i=s.length,l=0;l<i;l++)if(d=s.charCodeAt(l),48>d||d>a)return NaN;return parseInt(s,o)}return+t};if(Jt(ts,!ns(" 0o1")||!ns("0b1")||ns("+0x1"))){for(var ss=function(e){var t=1>arguments.length?0:e,n=this;return n instanceof ss&&(os?he(function(){rs.valueOf.call(n)}):ct(n)!=ts)?go(new ns(as(t)),n,ss):as(t)},is=fe?Ja(ns):["MAX_VALUE","MIN_VALUE","NaN","NEGATIVE_INFINITY","POSITIVE_INFINITY","EPSILON","isFinite","isInteger","isNaN","isSafeInteger","MAX_SAFE_INTEGER","MIN_SAFE_INTEGER","parseFloat","parseInt","isInteger"],ls=0,ds;is.length>ls;ls++)ke(ns,ds=is[ls])&&!ke(ss,ds)&&Za(ss,ds,Qa(ns,ds));ss.prototype=rs,rs.constructor=ss,lt(me,ts,ss)}Zt({target:"Number",stat:!0},{isNaN:function(e){return e!=e}});var cs=t(function(e,t){var n=Promise;t.sleep=function(e){return new n(function(t,n){try{setTimeout(function(){t()},e)}catch(e){n(e)}})},t.mergeMap=function(){for(var e={},t=0,n;t<arguments.length;t++)if(n=arguments[t],n)for(var r in n)e[r]=n[r];return e},t.isNull=function(t){var e=Number.isNaN;return null===t||void 0===t||e(t)},t.getTimeString=sa.getTimeString,t.getTimeStringFromNow=sa.getTimeStringFromNow,t.getDate=sa.getDate,t.getDate2=sa.getDate2,t.denodeify=function(e,t,r){return r=r||1/0,function(){var o=Array.prototype.slice.call(arguments,0,0<r?r:0);return new n(function(n,r){o.push(function(e,t){e?r(e):n(t)});var a=e.apply(t,o);a&&("object"===s(a)||"function"==typeof a)&&"function"==typeof a.then&&n(a)})}},t.promisify=t.denodeify}),us=cs.sleep,ps=cs.mergeMap,gs=cs.isNull,ms=cs.getTimeString,hs=cs.getTimeStringFromNow,fs=cs.getDate,ys=cs.getDate2,bs=cs.denodeify,_s=cs.promisify,As=function(e,t){var n=[][e];return!!n&&he(function(){n.call(null,t||function(){throw 1},1)})},Ts=Lt.indexOf,Es=[].indexOf,vs=!!Es&&0>1/[1].indexOf(1,-0),xs=As("indexOf"),Ss=Oa("indexOf",{ACCESSORS:!0,1:0});Zt({target:"Array",proto:!0,forced:vs||!xs||!Ss},{indexOf:function(e){return vs?Es.apply(this,arguments)||0:Ts(this,e,1<arguments.length?arguments[1]:void 0)}});var Os=[].join,Is=Et!=Object,Cs=As("join",",");Zt({target:"Array",proto:!0,forced:Is||!Cs},{join:function(e){return Os.call(xt(this),void 0===e?",":e)}}),Zt({target:"Number",stat:!0},{MAX_SAFE_INTEGER:9007199254740991}),Qo("match",1,function(e,t,r){return[function(t){var n=vt(this),r=null==t?void 0:t[e];return void 0===r?new RegExp(t)[e](n+""):r.call(t,n)},function(e){var o=r(t,e,this);if(o.done)return o.value;var a=Ee(e),s=this+"";if(!a.global)return oa(a,s);var i=a.unicode;a.lastIndex=0;for(var l=[],d=0,c,u;null!==(c=oa(a,s));)u=c[0]+"",l[d]=u,""==u&&(a.lastIndex=ra(s,wt(a.lastIndex),i)),d++;return 0===d?null:l}]});var Ns=t(function(e,t){var n="undefined"==typeof window?"undefined"==typeof pe?"undefined"==typeof self?void 0:self:pe:window;t.browserIsIE=function(){return n.ActiveXObject||"ActiveXObject"in n},t.browserIEVer=function(){var e=Number.MAX_SAFE_INTEGER;if(!t.browserIsIE())return e;var n=navigator.userAgent,r=-1<n.indexOf("compatible")&&-1<n.indexOf("MSIE"),o=-1<n.indexOf("Trident")&&-1<n.indexOf("rv:11.0");if(r){/MSIE (\d+\.\d+);/.test(n);var a=parseFloat(RegExp.$1);return 7==a?7:8==a?8:9==a?9:10==a?10:6}return o?11:e},t.browserIsSupportHtml5=function(){return"undefined"!=typeof Worker},t.browserIsMobile=function(e){e||void 0===s(n)||(e=n.navigator.userAgent);var t=e,r=new RegExp(["Android","webOS","iPhone","iPad","iPod","Blackberry","Windows Phone"].join("|"),"i");return null!=t.match(r)},t.browserIsIOS=function(e){e||void 0===s(n)||(e=n.navigator.userAgent);var t=e,r=new RegExp(["iPhone","iPad","iPod"].join("|"),"i");return null!=t.match(r)},t.browserIsPhone=function(e){e||void 0===s(n)||(e=n.navigator.userAgent);var t=e,r=new RegExp(["Android","iPhone","iPod","Blackberry","Windows Phone"].join("|"),"i");return null!=t.match(r)},t.browserIsSafari=function(e){e||void 0===s(n)||(e=n.navigator.userAgent);var t=e.toLowerCase();return t.match(/version\/([\d.]+).*safari/)},t.browserIsOpera=function(e){e||void 0===s(n)||(e=n.navigator.userAgent);var t=e.toLowerCase();return t.match(/opera.([\d.]+)/)},t.browserIsFirefox=function(e){e||void 0===s(n)||(e=n.navigator.userAgent);var t=e.toLowerCase();return t.match(/firefox\/([\d.]+)/)},t.browserIsChrome=function(e){e||void 0===s(n)||(e=n.navigator.userAgent);var t=e.toLowerCase();return!!t.match(/chrome\/([\d.]+)/)&&!!!t.match(/edg\/([\d.]+)/)},t.browserIsEdge=function(e){e||void 0===s(n)||(e=n.navigator.userAgent);var t=e.toLowerCase();return t.match(/edg\/([\d.]+)/)},t.browserIsWeixin=function(e){e||void 0===s(n)||(e=n.navigator.userAgent);var t=e;return"MicroMessenger"==t.match(/MicroMessenger/i)},t.platformIsWin=function(e){e||void 0===s(n)||(e=n.navigator.userAgent);var t=e;return!!(0<=t.indexOf("win32")||0<=t.indexOf("wow32"))||!!(0<=t.indexOf("win64")||0<=t.indexOf("wow64"))},t.platformIsMac=function(e){e||void 0===s(n)||(e=n.navigator.userAgent);var t=e;return!!/macintosh|mac os x/i.test(t)}}),Rs=Ns.browserIsIE,ks=Ns.browserIEVer,ws=Ns.browserIsSupportHtml5,Ps=Ns.browserIsMobile,Ms=Ns.browserIsIOS,Ls=Ns.browserIsPhone,js=Ns.browserIsSafari,Fs=Ns.browserIsOpera,Ds=Ns.browserIsFirefox,Bs=Ns.browserIsChrome,Us=Ns.browserIsEdge,Hs=Ns.browserIsWeixin,Ys=Ns.platformIsWin,$s=Ns.platformIsMac,qs=cs.sleep,Vs=cs.getTimeString,zs=cs.getTimeStringFromNow,Gs=cs.getDate,Ws=cs.getDate2,Xs=cs.mergeMap,Ks=cs.isNull,Js=cs.denodeify,Qs=cs.promisify,Zs=Ns.browserIsIE,ei=Ns.browserIEVer,ti=Ns.browserIsSupportHtml5,ni=Ns.browserIsMobile,ri=Ns.browserIsIOS,oi=Ns.browserIsPhone,ai=Ns.browserIsSafari,si=Ns.browserIsOpera,ii=Ns.browserIsFirefox,li=Ns.browserIsChrome,di=Ns.browserIsEdge,ci=Ns.browserIsWeixin,ui=Ns.platformIsWin,pi=Ns.platformIsMac,gi={sleep:qs,getTimeString:Vs,getTimeStringFromNow:zs,getDate:Gs,getDate2:Ws,mergeMap:Xs,isNull:Ks,denodeify:Js,promisify:Qs,browserIsIE:Zs,browserIEVer:ei,browserIsSupportHtml5:ti,browserIsMobile:ni,browserIsIOS:ri,browserIsPhone:oi,browserIsSafari:ai,browserIsOpera:si,browserIsFirefox:ii,browserIsChrome:li,browserIsEdge:di,browserIsWeixin:ci,platformIsWin:ui,platformIsMac:pi},mi="\u200B\x85\u180E",hi=Ka.trim;Zt({target:"String",proto:!0,forced:function(e){return he(function(){return!!Va[e]()||mi[e]()!=mi||Va[e].name!==e})}("trim")},{trim:function(){return hi(this)}});var fi=t(function(e,t){t.isPhoneMobile=function(e){return!!e&&!!/^(1[2-9][0-9]|14[579]|15[0-3,5-9]|16[6]|17[0135678]|18[0-9]|19[89]|98[0-9]|99[0-9])\d{8}$/.test(e)},t.isEmail=function(e){return!!e&&!!/^(([A-Za-z0-9\u4e00-\u9fa5_-]|\.)+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+)$/.test(e)},t.isAlphaOrDigit=function(e){return!!e&&!!/^[A-Za-z0-9]+$/.test(e)},t.isChinese=function(e){return!!e&&!!/^[\u4e00-\u9fa5]{0,}$/.test(e)},t.isEmpty=function(e){return!e||"string"!=typeof e||0==e.length},t.getByteSize=function(e){if(!e)return 0;var t=0,n,r;for(n=0;n<e.length;n++)r=e.charCodeAt(n),127>r?++t:128<=r&&2047>=r?t+=2:2048<=r&&65535>=r?t+=3:65536<=r&&(t+=4);return t},t.replace=function(e,t,n){if(!e||!t)return e;if(0==e.length)return e;var r="",o=e.length,a=0,l=0;do if(a=e.indexOf(t,l),-1!=a&&a<o)a!=l&&(r+=e.slice(l,a)),r+=n,l=a+t.length;else{r+=e.slice(l);break}while(a<o);return r},t.utf8ToBytes=function(e){if(!e)return[];var t=[],n,r;n=e.length;for(var o=0;o<n;o++)r=e.charCodeAt(o),65536<=r&&1114111>=r?(t.push(240|7&r>>18),t.push(128|63&r>>12),t.push(128|63&r>>6),t.push(128|63&r)):2048<=r&&65535>=r?(t.push(224|15&r>>12),t.push(128|63&r>>6),t.push(128|63&r)):128<=r&&2047>=r?(t.push(192|31&r>>6),t.push(128|63&r)):t.push(255&r);return t},t.bytesToUtf8=function(e){for(var t="",n=0;n<e.length;){var r=e[n],o=0;0==r>>>7?(t+=de(e[n]),n+=1):252==(252&r)?(o=(3&e[n])<<30,o|=(63&e[n+1])<<24,o|=(63&e[n+2])<<18,o|=(63&e[n+3])<<12,o|=(63&e[n+4])<<6,o|=63&e[n+5],t+=de(o),n+=6):248==(248&r)?(o=(7&e[n])<<24,o|=(63&e[n+1])<<18,o|=(63&e[n+2])<<12,o|=(63&e[n+3])<<6,o|=63&e[n+4],t+=de(o),n+=5):240==(240&r)?(o=(15&e[n])<<18,o|=(63&e[n+1])<<12,o|=(63&e[n+2])<<6,o|=63&e[n+3],t+=de(o),n+=4):224==(224&r)?(o=(31&e[n])<<12,o|=(63&e[n+1])<<6,o|=63&e[n+2],t+=de(o),n+=3):192==(192&r)?(o=(63&e[n])<<6,o|=63&e[n+1],t+=de(o),n+=2):(t+=de(e[n]),n+=1)}return t},t.utf8Encode=function(e){var t="",n=-1,r,o,a;if(e&&e.length)for(a=e.length;(n+=1)<a;)r=e.charCodeAt(n),o=n+1<a?e.charCodeAt(n+1):0,55296<=r&&56319>=r&&56320<=o&&57343>=o&&(r=65536+((1023&r)<<10)+(1023&o),n+=1),127>=r?t+=de(r):2047>=r?t+=de(192|31&r>>>6,128|63&r):65535>=r?t+=de(224|15&r>>>12,128|63&r>>>6,128|63&r):2097151>=r&&(t+=de(240|7&r>>>18,128|63&r>>>12,128|63&r>>>6,128|63&r));return t},t.utf8Decode=function(e){var t=[],n,r,o,a,s,d;if(n=r=o=a=s=0,e&&e.length)for(d=e.length,e+="";n<d;)o=e.charCodeAt(n),r+=1,128>o?(t[r]=de(o),n+=1):191<o&&224>o?(a=e.charCodeAt(n+1),t[r]=de((31&o)<<6|63&a),n+=2):(a=e.charCodeAt(n+1),s=e.charCodeAt(n+2),t[r]=de((15&o)<<12|(63&a)<<6|63&s),n+=3);return t.join("")},t.trim=function(e){return e?e.replace(/(^\s*)|(\s*$)/g,""):e},t.escapeHtml=function(e){return e&&(e=t.replace(e,"&","&"),e=t.replace(e,"<","<"),e=t.replace(e,">",">"),e=t.replace(e," "," "),e=t.replace(e,"\"",""")),e||""}}),yi=fi.isPhoneMobile,bi=fi.isEmail,_i=fi.isAlphaOrDigit,Ai=fi.isChinese,Ti=fi.isEmpty,Ei=fi.getByteSize,vi=fi.replace,xi=fi.utf8ToBytes,Si=fi.bytesToUtf8,Oi=fi.utf8Encode,Ii=fi.utf8Decode,Ci=fi.trim,Ni=fi.escapeHtml,Ri=fi.isPhoneMobile,ki=fi.isEmpty,wi=fi.isEmail,Pi=fi.isAlphaOrDigit,Mi=fi.isChinese,Li=fi.getByteSize,ji=fi.replace,Fi=fi.utf8ToBytes,Di=fi.bytesToUtf8,Bi=fi.utf8Encode,Ui=fi.utf8Decode,Hi=fi.trim,Yi=fi.escapeHtml,$i={isPhoneMobile:Ri,isEmpty:ki,isEmail:wi,isAlphaOrDigit:Pi,isChinese:Mi,getByteSize:Li,replace:ji,utf8ToBytes:Fi,bytesToUtf8:Di,utf8Encode:Bi,utf8Decode:Ui,trim:Hi,escapeHtml:Yi},qi={crc32_table:[0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918e3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117],base64_encode:function(e){if(!e)return"";"string"==typeof e&&(e=fi.utf8ToBytes(e));var t,n,r,o,a,s;for(r=e.length,n=0,t="";n<r;){if(o=255&e[n++],n==r){t+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(o>>2),t+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt((3&o)<<4),t+="==";break}if(a=e[n++],n==r){t+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(o>>2),t+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt((3&o)<<4|(240&a)>>4),t+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt((15&a)<<2),t+="=";break}s=e[n++],t+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(o>>2),t+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt((3&o)<<4|(240&a)>>4),t+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt((15&a)<<2|(192&s)>>6),t+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(63&s)}return t}},Vi=qi.base64_encode,zi={DefaultTimeout:5e3,transfer:function(e){var t;if(e.XMLHttpRequest)t=new XMLHttpRequest;else if(e.XDomainRequest)t=new XDomainRequest;else for(var n=["MSXML2.XMLHTTP.6.0","MSXML2.XMLHTTP.5.0","MSXML2.XMLHTTP.4.0","MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP","Microsoft.XMLHTTP"],r=0;r<n.length&&!xmlHttp;r++)try{t=new ActiveXObject(n[r])}catch(t){}return t}},Gi="undefined"==typeof window?"undefined"==typeof pe?"undefined"==typeof self?void 0:self:pe:window,Wi={};Wi.ajax=z;var Xi=Ue("species"),Ki=function(e,t){var n;return _a(e)&&(n=e.constructor,"function"==typeof n&&(n===Array||_a(n.prototype))?n=void 0:ye(n)&&(n=n[Xi],null===n&&(n=void 0))),new(void 0===n?Array:n)(0===t?0:t)},Ji=[].push,Qi=function(e){var t=1==e,n=4==e,r=6==e;return function(o,a,s,i){for(var l=Zo(o),d=Et(l),c=mn(a,s,3),u=wt(d.length),p=0,g=i||Ki,m=t?g(o,u):2==e?g(o,0):void 0,h,f;u>p;p++)if((5==e||r||p in d)&&(h=d[p],f=c(h,p,l),e))if(t)m[p]=f;else if(f)switch(e){case 3:return!0;case 5:return h;case 6:return p;case 2:Ji.call(m,h);}else if(n)return!1;return r?-1:3==e||n?n:m}},Zi={forEach:Qi(0),map:Qi(1),filter:Qi(2),some:Qi(3),every:Qi(4),find:Qi(5),findIndex:Qi(6)},el=Zi.forEach,tl=As("forEach"),nl=Oa("forEach"),rl=tl&&nl?[].forEach:function(e){return el(this,e,1<arguments.length?arguments[1]:void 0)};Zt({target:"Array",proto:!0,forced:[].forEach!=rl},{forEach:rl});var ol=Zi.map,al=Ea("map"),sl=Oa("map");Zt({target:"Array",proto:!0,forced:!al||!sl},{map:function(e){return ol(this,e,1<arguments.length?arguments[1]:void 0)}});var il="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView,ll=function(e){if(void 0===e)return 0;var t=kt(e),n=wt(t);if(t!==n)throw RangeError("Wrong length or index");return n},dl=1/0,cl=oe,ul=function(e,t,n){var r=Array(n),o=8*n-t-1,a=(1<<o)-1,s=a>>1,i=23===t?cl(2,-24)-cl(2,-77):0,l=0>e||0===e&&0>1/e?1:0,d=0,u,p,g;for(e=ae(e),e!=e||e===dl?(p=e==e?0:1,u=a):(u=ue(re(e)/ne),1>e*(g=cl(2,-u))&&(u--,g*=2),e+=1<=u+s?i/g:i*cl(2,1-s),2<=e*g&&(u++,g/=2),u+s>=a?(p=0,u=a):1<=u+s?(p=(e*g-1)*cl(2,t),u+=s):(p=e*cl(2,s-1)*cl(2,t),u=0));8<=t;r[d++]=255&p,p/=256,t-=8);for(u=u<<t|p,o+=t;0<o;r[d++]=255&u,u/=256,o-=8);return r[--d]|=128*l,r},pl=function(e,t){var n=e.length,r=8*n-t-1,o=(1<<r)-1,a=o>>1,s=r-7,i=n-1,l=e[i--],d=127&l,c;for(l>>=7;0<s;d=256*d+e[i],i--,s-=8);for(c=d&(1<<-s)-1,d>>=-s,s+=t;0<s;c=256*c+e[i],i--,s-=8);if(0===d)d=1-a;else{if(d===o)return c?NaN:l?-dl:dl;c+=cl(2,t),d-=a}return(l?-1:1)*c*cl(2,d-t)},gl={pack:ul,unpack:pl},ml=!he(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),hl=Xe("IE_PROTO"),fl=Object.prototype,yl=ml?Object.getPrototypeOf:function(e){return e=Zo(e),ke(e,hl)?e[hl]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?fl:null},bl=function(e){for(var t=Zo(this),n=wt(t.length),r=arguments.length,o=Pt(1<r?arguments[1]:void 0,n),a=2<r?arguments[2]:void 0,s=void 0===a?n:Pt(a,n);s>o;)t[o++]=e;return t},_l=Ht.f,Al=a.f,Tl=it.get,El=it.set,vl="ArrayBuffer",xl="DataView",Sl="prototype",Ol="Wrong index",Il=me[vl],Cl=Il,Nl=me[xl],Rl=Nl&&Nl[Sl],kl=Object.prototype,wl=me.RangeError,Pl=gl.pack,Ml=gl.unpack,Ll=function(e){return[255&e]},jl=function(e){return[255&e,255&e>>8]},Fl=function(e){return[255&e,255&e>>8,255&e>>16,255&e>>24]},Dl=function(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]},Bl=function(e){return Pl(e,23,4)},Ul=function(e){return Pl(e,52,8)},Hl=function(e,t){Al(e[Sl],t,{get:function(){return Tl(this)[t]}})},Yl=function(e,t,n,r){var o=ll(n),a=Tl(e);if(o+t>a.byteLength)throw wl(Ol);var s=Tl(a.buffer).bytes,i=o+a.byteOffset,l=s.slice(i,i+t);return r?l:l.reverse()},$l=function(e,t,n,r,o,a){var s=ll(n),l=Tl(e);if(s+t>l.byteLength)throw wl(Ol);for(var d=Tl(l.buffer).bytes,c=s+l.byteOffset,u=r(+o),p=0;p<t;p++)d[c+p]=u[a?p:t-p-1]};if(!il)Cl=function(e){dn(this,Cl,vl);var t=ll(e);El(this,{bytes:bl.call(Array(t),0),byteLength:t}),fe||(this.byteLength=t)},Nl=function(e,t,n){dn(this,Nl,xl),dn(e,Cl,xl);var r=Tl(e).byteLength,o=kt(t);if(0>o||o>r)throw wl("Wrong offset");if(n=void 0===n?r-o:wt(n),o+n>r)throw wl("Wrong length");El(this,{buffer:e,byteLength:n,byteOffset:o}),fe||(this.buffer=e,this.byteLength=n,this.byteOffset=o)},fe&&(Hl(Cl,"byteLength"),Hl(Nl,"buffer"),Hl(Nl,"byteLength"),Hl(Nl,"byteOffset")),tn(Nl[Sl],{getInt8:function(e){return Yl(this,1,e)[0]<<24>>24},getUint8:function(e){return Yl(this,1,e)[0]},getInt16:function(e){var t=Yl(this,2,e,1<arguments.length?arguments[1]:void 0);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=Yl(this,2,e,1<arguments.length?arguments[1]:void 0);return t[1]<<8|t[0]},getInt32:function(e){return Dl(Yl(this,4,e,1<arguments.length?arguments[1]:void 0))},getUint32:function(e){return Dl(Yl(this,4,e,1<arguments.length?arguments[1]:void 0))>>>0},getFloat32:function(e){return Ml(Yl(this,4,e,1<arguments.length?arguments[1]:void 0),23)},getFloat64:function(e){return Ml(Yl(this,8,e,1<arguments.length?arguments[1]:void 0),52)},setInt8:function(e,t){$l(this,1,e,Ll,t)},setUint8:function(e,t){$l(this,1,e,Ll,t)},setInt16:function(e,t){$l(this,2,e,jl,t,2<arguments.length?arguments[2]:void 0)},setUint16:function(e,t){$l(this,2,e,jl,t,2<arguments.length?arguments[2]:void 0)},setInt32:function(e,t){$l(this,4,e,Fl,t,2<arguments.length?arguments[2]:void 0)},setUint32:function(e,t){$l(this,4,e,Fl,t,2<arguments.length?arguments[2]:void 0)},setFloat32:function(e,t){$l(this,4,e,Bl,t,2<arguments.length?arguments[2]:void 0)},setFloat64:function(e,t){$l(this,8,e,Ul,t,2<arguments.length?arguments[2]:void 0)}});else{if(!he(function(){Il(1)})||!he(function(){new Il(-1)})||he(function(){return new Il,new Il(1.5),new Il(NaN),Il.name!=vl})){Cl=function(e){return dn(this,Cl),new Il(ll(e))};for(var ql=Cl[Sl]=Il[Sl],Vl=_l(Il),zl=0,Gl;Vl.length>zl;)(Gl=Vl[zl++])in Cl||f(Cl,Gl,Il[Gl]);ql.constructor=Cl}po&&yl(Rl)!==kl&&po(Rl,kl);var Wl=new Nl(new Cl(2)),Xl=Rl.setInt8;Wl.setInt8(0,2147483648),Wl.setInt8(1,2147483649),(Wl.getInt8(0)||!Wl.getInt8(1))&&tn(Rl,{setInt8:function(e,t){Xl.call(this,e,t<<24>>24)},setUint8:function(e,t){Xl.call(this,e,t<<24>>24)}},{unsafe:!0})}on(Cl,vl),on(Nl,xl);var Kl={ArrayBuffer:Cl,DataView:Nl},Jl="ArrayBuffer",Ql=Kl[Jl],Zl=me[Jl];Zt({global:!0,forced:Zl!==Ql},{ArrayBuffer:Ql}),sn(Jl);var ed=Kl.ArrayBuffer,td=Kl.DataView,nd=ed.prototype.slice,rd=he(function(){return!new ed(2).slice(1,void 0).byteLength});Zt({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:rd},{slice:function(e,t){if(void 0!==nd&&void 0===t)return nd.call(Ee(this),e);for(var n=Ee(this).byteLength,r=Pt(e,n),o=Pt(void 0===t?n:t,n),a=new(Sn(this,ed))(wt(o-r)),s=new td(this),i=new td(a),l=0;r<o;)i.setUint8(l++,s.getUint8(r++));return a}});var od=Ht.f,ad={}.toString,sd="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],ld=function(e){try{return od(e)}catch(e){return sd.slice()}},dd={f:function(e){return sd&&"[object Window]"==ad.call(e)?ld(e):od(xt(e))}}.f,cd=he(function(){return!Object.getOwnPropertyNames(1)});Zt({target:"Object",stat:!0,forced:cd},{getOwnPropertyNames:dd});var ud=[].push,pd=4294967295,gd=!he(function(){return!RegExp(pd,"y")});Qo("split",2,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||1<".".split(/()()/).length||"".split(/.?/).length?function(e,n){var r=vt(this)+"",o=void 0===n?pd:n>>>0;if(0===o)return[];if(void 0===e)return[r];if(!ho(e))return t.call(r,e,o);for(var a=[],s=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),i=0,l=new RegExp(e.source,s+"g"),d,c,u;(d=Ho.call(l,r))&&(c=l.lastIndex,!(c>i&&(a.push(r.slice(i,d.index)),1<d.length&&d.index<r.length&&ud.apply(a,d.slice(1)),u=d[0].length,i=c,a.length>=o)));)l.lastIndex===d.index&&l.lastIndex++;return i===r.length?(u||!l.test(""))&&a.push(""):a.push(r.slice(i)),a.length>o?a.slice(0,o):a}:function(e,n){return void 0===e&&0===n?[]:t.call(this,e,n)},[function(t,n){var o=vt(this),a=null==t?void 0:t[e];return void 0===a?r.call(o+"",t,n):a.call(t,o,n)},function(o,a){var s=n(r,o,this,a,r!==t);if(s.done)return s.value;var l=Ee(o),d=this+"",c=Sn(l,RegExp),u=l.unicode,g=(l.ignoreCase?"i":"")+(l.multiline?"m":"")+(l.unicode?"u":"")+(gd?"y":"g"),m=new c(gd?l:"^(?:"+l.source+")",g),h=void 0===a?pd:a>>>0;if(0===h)return[];if(0===d.length)return null===oa(m,d)?[d]:[];for(var f=0,y=0,b=[];y<d.length;){m.lastIndex=gd?y:0;var _=oa(m,gd?d:d.slice(y)),A;if(null===_||(A=le(wt(m.lastIndex+(gd?0:y)),d.length))===f)y=ra(d,y,u);else{if(b.push(d.slice(f,y)),b.length===h)return b;for(var T=1;T<=_.length-1;T++)if(b.push(_[T]),b.length===h)return b;y=f=A}}return b.push(d.slice(f)),b}]},!gd);var md={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};for(var hd in md){var fd=me[hd],yd=fd&&fd.prototype;if(yd&&yd.forEach!==rl)try{f(yd,"forEach",rl)}catch(e){yd.forEach=rl}}var bd=function(e){function t(e,r,o,a,s){var i;return l(this,t),i=n.call(this,r+" "+e),i.__tag="febs.exception",i.code=r,i.msg=e,i.filename=o,i.line=a,i.column=s||0,i}u(t,e);var n=T(t);return c(t,null,[{key:"isInstance",value:function(t){return t&&"febs.exception"===t.__tag}},{key:"ERROR",get:function(){return"error"}},{key:"PARAM",get:function(){return"param error"}},{key:"OUT_OF_RANGE",get:function(){return"out of range"}}]),t}(b(Error)),_d="undefined"==typeof window?"undefined"==typeof pe?"undefined"==typeof self?void 0:self:pe:window,Ad={},Td={};{if(!Promise)throw new Error("unsupported Promise");Ad.normalizeName=function(e){if("string"!=typeof e&&(e+=""),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()},Ad.normalizeValue=function(e){return"string"!=typeof e&&(e+=""),e},Ad.Headers=function(e){this.map={},e instanceof Ad.Headers?e.forEach(function(e,t){this.append(t,e)},this):e&&Object.getOwnPropertyNames(e).forEach(function(t){this.append(t,e[t])},this)},Ad.Headers.prototype.append=function(e,t){e=Ad.normalizeName(e),t=Ad.normalizeValue(t);var n=this.map[e];n||(n=[],this.map[e]=n),n.push(t)},Ad.Headers.prototype["delete"]=function(e){delete this.map[Ad.normalizeName(e)]},Ad.Headers.prototype.get=function(e){var t=this.map[Ad.normalizeName(e)];return t?t[0]:null},Ad.Headers.prototype.getAll=function(e){return this.map[Ad.normalizeName(e)]||[]},Ad.Headers.prototype.has=function(e){return this.map.hasOwnProperty(Ad.normalizeName(e))},Ad.Headers.prototype.set=function(e,t){this.map[Ad.normalizeName(e)]=[Ad.normalizeValue(t)]},Ad.Headers.prototype.forEach=function(e,t){Object.getOwnPropertyNames(this.map).forEach(function(n){this.map[n].forEach(function(r){e.call(t,r,n,this)},this)},this)},Ad.consumed=function(e){return e.bodyUsed?Promise.reject(new TypeError("Already read")):void(e.bodyUsed=!0)},Ad.fileReaderReady=function(e){return new Promise(function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}})},Ad.readBlobAsArrayBuffer=function(e){var t=new FileReader;return t.readAsArrayBuffer(e),Ad.fileReaderReady(t)},Ad.readBlobAsText=function(e){var t=new FileReader;return t.readAsText(e),Ad.fileReaderReady(t)},Ad.support=_d.self?{blob:"FileReader"in _d.self&&"Blob"in _d.self&&function(){try{return new Blob,!0}catch(t){return!1}}(),formData:"FormData"in _d.self,arrayBuffer:"ArrayBuffer"in _d.self}:{},Ad.Body=function(){return this.bodyUsed=!1,this._initBody=function(e){if(this._bodyInit=e,"string"==typeof e)this._bodyText=e;else if(Ad.support.blob&&Blob.prototype.isPrototypeOf(e))this._bodyBlob=e;else if(Ad.support.formData&&FormData.prototype.isPrototypeOf(e))this._bodyFormData=e;else if(!e)this._bodyText="";else if(Ad.support.arrayBuffer&&ArrayBuffer.prototype.isPrototypeOf(e));else throw new Error("unsupported BodyInit type")},Ad.support.blob?(this.blob=function(){var e=Ad.consumed(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyFormData)throw new Error("could not read FormData body as blob");else return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this.blob().then(Ad.readBlobAsArrayBuffer)},this.text=function(){var e=Ad.consumed(this);if(e)return e;if(this._bodyBlob)return Ad.readBlobAsText(this._bodyBlob);if(this._bodyFormData)throw new Error("could not read FormData body as text");else return Promise.resolve(this._bodyText)}):this.text=function(){var e=Ad.consumed(this);return e?e:Promise.resolve(this._bodyText)},Ad.support.formData&&(this.formData=function(){return this.text().then(Ad.decode)}),this.json=function(){return this.text().then(JSON.parse)},this},Ad.normalizeMethod=function(e){var t=e.toUpperCase();return-1<["DELETE","GET","HEAD","OPTIONS","POST","PUT"].indexOf(t)?t:e},Ad.Request=function(e,t){t=t||{};var n=t.body;if(Ad.Request.prototype.isPrototypeOf(e)){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new Ad.Headers(e.headers)),this.method=e.method,this.mode=e.mode,n||(n=e._bodyInit,e.bodyUsed=!0)}else this.url=e;this.credentials=t.credentials||this.credentials||"omit",(t.headers||!this.headers)&&(this.headers=new Ad.Headers(t.headers)),this.method=Ad.normalizeMethod(t.method||this.method||"GET"),this.mode=t.mode||this.mode||null,this.referrer=null,this._initBody(n)},Ad.Request.prototype.clone=function(){return new Ad.Request(this)},Ad.decode=function(e){var t=new FormData;return e.trim().split("&").forEach(function(e){if(e){var n=e.split("="),r=n.shift().replace(/\+/g," "),o=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(o))}}),t},Ad.headers=function(e){var t=new Ad.Headers,n=e.getAllResponseHeaders().trim().split("\n");return n.forEach(function(e){var n=e.trim().split(":"),r=n.shift().trim(),o=n.join(":").trim();t.append(r,o)}),t},Ad.Body.call(Ad.Request.prototype),Ad.Response=function(e,t){t||(t={}),this._initBody(e),this.type="default",this.status=t.status,this.ok=200<=this.status&&300>this.status,this.statusText=t.statusText,this.headers=t.headers instanceof Ad.Headers?t.headers:new Ad.Headers(t.headers),this.url=t.url||""},Ad.Body.call(Ad.Response.prototype),Ad.Response.prototype.clone=function(){return new Ad.Response(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new Ad.Headers(this.headers),url:this.url})},Ad.Response.error=function(){var e=new Ad.Response(null,{status:0,statusText:""});return e.type="error",e};var Ed=[301,302,303,307,308];Ad.Response.redirect=function(e,t){if(-1===Ed.indexOf(t))throw new RangeError("Invalid status code");return new Ad.Response(null,{status:t,headers:{location:e}})},_d.Headers=Ad.Headers,_d.Request=Ad.Request,_d.Response=Ad.Response,_d.fetch=Ad.fetch=function(e,t){return new Promise(function(n,r){function o(){return"responseURL"in s?s.responseURL:/^X-Request-URL:/m.test(s.getAllResponseHeaders())?s.getResponseHeader("X-Request-URL"):void 0}var a=Ad.Request.prototype.isPrototypeOf(e)&&!t?e:new Ad.Request(e,t);var s=zi.transfer(_d);s.onreadystatechange=function(){if(4==s.readyState){var e=1223===s.status?204:s.status;if(100>e||599<e)return void r(new bd("Network request failed","NetworkFailed",__filename,__line,__column));var t={status:e,statusText:s.statusText,headers:Ad.headers(s),url:o()},a="response"in s?s.response:s.responseText;n(new Ad.Response(a,t))}},s.ontimeout=function(){r(new bd("Network timeout","NetworkTimeout",__filename,__line,__column))},s.onerror=function(){r(new bd("Network request failed","NetworkFailed",__filename,__line,__column))},t.progress&&(s.onprogress=function(e){e.lengthComputable&&t.progress(e.position/e.totalSize)}),s.open(a.method,a.url,!0);var i=t?t.timeout:null;s.timeout=void 0!==i&&null!==i?i:zi.DefaultTimeout,s.withCredentials="include"===a.credentials,"responseType"in s&&Ad.support.blob&&(s.responseType="blob"),s.setRequestHeader?a.headers.forEach(function(e,t){s.setRequestHeader(t,e)}):a.headers&&0<a.headers.map.length&&console.log("fetch can't set headers"),s.send("undefined"==typeof a._bodyInit?null:a._bodyInit)})},Ad.fetch.polyfill=!0,Td.fetch=Ad.fetch}var vd="undefined"==typeof window?"undefined"==typeof pe?"undefined"==typeof self?void 0:self:pe:window,xd={},Sd={};xd.jsonp_defaultOptions={timeout:5e3,jsonpCallback:"callback"},xd.jsonp_generateCallbackFunction=function(){return"jsonp_"+Date.now().toString()+"_"+ce(1e5*Math.random())},xd.jsonp_clearFunction=function(e){try{delete vd[e]}catch(t){}},xd.jsonp_removeScript=function(e){var t=document.getElementById(e);document.getElementsByTagName("head")[0].removeChild(t)},xd.jsonp=function(e,t){t=t||{};var n=null==t.timeout?xd.jsonp_defaultOptions.timeout:t.timeout,r=t.jsonpCallback?t.jsonpCallback:xd.jsonp_defaultOptions.jsonpCallback,o;return new Promise(function(t,a){var s=xd.jsonp_generateCallbackFunction();vd[s]=function(e){t({ok:!0,json:function(){return Promise.resolve(e)}}),o&&clearTimeout(o),xd.jsonp_removeScript(r+"_"+s),xd.jsonp_clearFunction(s)},e+=-1===e.indexOf("?")?"?":"&";var i=document.createElement("script");i.setAttribute("src",e+r+"="+s),i.id=r+"_"+s,document.getElementsByTagName("head")[0].appendChild(i),o=setTimeout(function(){a("timeout"),xd.jsonp_clearFunction(s),xd.jsonp_removeScript(r+"_"+s)},n)})},Sd.jsonp=xd.jsonp;var Od={ajax:Wi.ajax,fetch:Td.fetch,jsonp:Sd.jsonp},Id=Ue("isConcatSpreadable"),Cd=9007199254740991,Nd="Maximum allowed index exceeded",Rd=51<=_r||!he(function(){var e=[];return e[Id]=!1,e.concat()[0]!==e}),kd=Ea("concat"),wd=function(e){if(!ye(e))return!1;var t=e[Id];return void 0===t?_a(e):!!t};Zt({target:"Array",proto:!0,forced:!Rd||!kd},{concat:function(){var e=Zo(this),t=Ki(e,0),r=0,o,a,s,l,d;for(o=-1,s=arguments.length;o<s;o++)if(d=-1===o?e:arguments[o],wd(d)){if(l=wt(d.length),r+l>Cd)throw TypeError(Nd);for(a=0;a<l;a++,r++)a in d&&Aa(t,r,d[a])}else{if(r>=Cd)throw TypeError(Nd);Aa(t,r++,d)}return t.length=r,t}});var Pd=Ea("splice"),Md=Oa("splice",{ACCESSORS:!0,0:0,1:2});Zt({target:"Array",proto:!0,forced:!Pd||!Md},{splice:function(e,t){var n=Zo(this),r=wt(n.length),o=Pt(e,r),a=arguments.length,s,i,l,d,c,u;if(0===a?s=i=0:1===a?(s=0,i=r-o):(s=a-2,i=le(ie(kt(t),0),r-o)),r+s-i>9007199254740991)throw TypeError("Maximum allowed length exceeded");for(l=Ki(n,i),d=0;d<i;d++)c=o+d,c in n&&Aa(l,d,n[c]);if(l.length=i,s<i){for(d=o;d<r-i;d++)c=d+i,u=d+s,c in n?n[u]=n[c]:delete n[u];for(d=r;d>r-i+s;d--)delete n[d-1]}else if(s>i)for(d=r-i;d>o;d--)c=d+i-1,u=d+s-1,c in n?n[u]=n[c]:delete n[u];for(d=0;d<s;d++)n[d+o]=arguments[d+2];return n.length=r-i+s,l}});var Ld=he(function(){yl(1)});Zt({target:"Object",stat:!0,forced:Ld,sham:!ml},{getPrototypeOf:function(e){return yl(Zo(e))}});var jd="undefined"==typeof window?"undefined"==typeof pe?"undefined"==typeof self?void 0:self:pe:window,Fd=function(){function e(t){if(l(this,e),t===jd.document||t==jd?(this._elem=t,this._isArr=!1):t instanceof e?(this._elem=t._elem,this._isArr=t._isArr):te(t)?(this._elem=t,this._isArr=!1):(this._elem=W(t),this._isArr=this._elem._isarr,this._elem=this._elem._elem),!this._isArray())this[0]=this._elem,this.length=this._elem?1:0;else{for(var n=0;n<this._elem.length;n++)this[n]=this._elem[n];this.length=this._elem.length}var r=this;if(this.bind=this.on,this.unbind=this.off,this.live=this.on,this.die=this.off,t===jd.document?(this.ready=function(e){return e?jd.addEventListener?jd.document.addEventListener("DOMContentLoaded",e):jd.document.attachEvent("onload",e):r.trigger("ready"),r},this.unload=function(e){return e?jd.addEventListener?jd.document.addEventListener("unload",e):jd.document.attachEvent("onunload",e):r.trigger("unload"),r},this.context=jd.document):t===jd?this.unload=function(e){return e?jd.addEventListener?jd.addEventListener("unload",e):jd.attachEvent("onunload",e):r.trigger("unload"),r}:this.context=jd.document,"function"==typeof t){var o=function n(o){t.bind(r)(o),jd.addEventListener?jd.document.removeEventListener("DOMContentLoaded",n):jd.document.detachEvent("onload",n)};jd.addEventListener?jd.document.addEventListener("DOMContentLoaded",o):jd.document.attachEvent("onload",o)}else{var a=function(e,t){return t?r.on(e,t):r.trigger(e)};this.blur=function(e){return a("blur",e)},this.change=function(e){return a("change",e)},this.click=function(e){return a("click",e)},this.dblclick=function(e){return a("dblclick",e)},this.error=function(e){return a("error",e)},this.keydown=function(e){return a("keydown",e)},this.keypress=function(e){return a("keypress",e)},this.keyup=function(e){return a("keyup",e)},this.load=function(e){return a("load",e)},this.mousedown=function(e){return a("mousedown",e)},this.mouseenter=function(e){return a("mouseenter",e)},this.mouseleave=function(e){return a("mouseleave",e)},this.mousemove=function(e){return a("mousemove",e)},this.mouseout=function(e){return a("mouseout",e)},this.mouseover=function(e){return a("mouseover",e)},this.mouseup=function(e){return a("mouseup",e)},this.scroll=function(e){return a("scroll",e)},this.select=function(e){return a("select",e)},this.submit=function(e){return a("submit",e)}}if(this._elem)if(this._isArray())for(var n=0;n<this._elem.length;n++)this._domtify(this._elem[n]);else this._domtify(this._elem);for(var s in Dd.fn)"extend"!=s&&"fn"!=s&&"function"==typeof Dd.fn[s]&&(this[s]=Dd.fn[s].bind(this));this.__domtify=!0}return c(e,[{key:"get",value:function(e){return this._elem?this._isArray()?this._elem[e]:0<e?null:this._elem:null}},{key:"hasClass",value:function(e){if(!this._elem)return!1;for(var t=this.length?this.length:1,n=0;n<t;n++)if(X(this.get(n),e))return!0;return!1}},{key:"addClass",value:function(e){if(!this._elem)return this;for(var t=this.length?this.length:1,n=0;n<t;n++)K(this.get(n),e);return this}},{key:"removeClass",value:function(e){if(!this._elem)return this;for(var t=this.length?this.length:1,n=0;n<t;n++)J(this.get(n),e);return this}},{key:"toggleClass",value:function(e){if(!this._elem)return this;for(var t=this.length?this.length:1,n=0;n<t;n++)X(this.get(n),e)?J(this.get(n),e):K(this.get(n),e);return this}},{key:"remove",value:function(){if(!this._elem)return this;for(var e=this.length?this.length:1,t=e-1;0<=t;t--)Q(this.get(t));return this}},{key:"append",value:function(t){if(!this._elem)return this;var n=new e(t);return Z(this.get(0),n),this}},{key:"appendTo",value:function(t){if(!this._elem)return this;var n=new e(t);return n.append(this),this}},{key:"prepend",value:function(t){if(!this._elem)return this;var n=new e(t);return ee(this.get(0),n),this}},{key:"prependTo",value:function(t){if(!this._elem)return this;var n=new e(t);return n.prepend(this),this}},{key:"before",value:function(t){if(!this._elem)return this;for(var n=new e(t),r=this.length?this.length:1,o=0;o<r;o++)n.insertBefore(this.get(o));return this}},{key:"insertBefore",value:function(t){if(!this._elem)return this;var n=new e(t);if(!n._isArray()){var r=this._elem;this._isArray()||(r=[r]);for(var o=0;o<r.length;o++)n[0].parentNode.insertBefore(r[o],n[0])}return this}},{key:"after",value:function(t){if(!this._elem)return this;for(var n=new e(t),r=this.length?this.length:1,o=0;o<r;o++)n.insertAfter(this.get(o));return this}},{key:"insertAfter",value:function(t){if(!this._elem)return this;var n=new e(t);if(!n._isArray()){var r=this._elem;this._isArray()||(r=[r]);for(var o=0;o<r.length;o++)n[0].parentNode.insertBefore(r[o],n[0].nextSibling)}return this}},{key:"attr",value:function(e,t){if(!e)throw new Error("need attrName");if(!this._elem)return"undefined"==typeof t?void 0:this;if("undefined"==typeof t)return this.get(0).hasAttribute(e)?this.get(0).getAttribute(e):void 0;for(var n=this.length?this.length:1,r=0;r<n;r++)this.get(r).setAttribute(e,t);return this}},{key:"removeAttr",value:function(e){if(!this._elem)return this;for(var t=this.length?this.length:1,n=0;n<t;n++)this.get(n).removeAttribute(e);return this}},{key:"detach",value:function(){throw new Error("unimplement")}},{key:"clone",value:function(){throw new Error("unimplement")}},{key:"replaceAll",value:function(){throw new Error("unimplement")}},{key:"unwrap",value:function(){throw new Error("unimplement")}},{key:"wrap",value:function(){throw new Error("unimplement")}},{key:"wrapAll",value:function(){throw new Error("unimplement")}},{key:"wrapinner",value:function(){throw new Error("unimplement")}},{key:"empty",value:function(){if(!this._elem)return this;for(var e=this.length?this.length:1,t=0;t<e;t++)this.get(t).innerHTML="";return this}},{key:"html",value:function(e){if(!this._elem)return"undefined"==typeof e?void 0:this;if("undefined"==typeof e)return this.get(0).innerHTML;for(var t=this.length?this.length:1,n=0;n<t;n++)this.get(n).innerHTML=e;return this}},{key:"text",value:function(e){if(!this._elem)return"undefined"==typeof e?void 0:this;if("undefined"==typeof e)return this.get(0).textContent;for(var t=this.length?this.length:1,n=0;n<t;n++)this.get(n).textContent=e;return this}},{key:"val",value:function(e){if(!this._elem)return"undefined"==typeof e?void 0:this;if("undefined"==typeof e)return this.get(0).value;for(var t=this.length?this.length:1,n=0;n<t;n++)this.get(n).value=e;return this}},{key:"css",value:function(e,t){if(!this._elem)return"undefined"==typeof t?void 0:this;if("undefined"==typeof t)return this.get(0).style[e];for(var n=this.length?this.length:0,r=0;r<n;r++)this.get(r).style[e]=""==t?"":t;return this}},{key:"on",value:function(t,n){if(!t)throw new Error("need event name");if("function"!=typeof n)throw new Error("on need function params");if(!this._elem)return this;for(var r=this.length?this.length:1,o=0,a;o<r;o++)if(a=this.get(o),!((a instanceof e||a.__domtify)&&(a=a._elem,!a))){a.__events||(a.__events={}),a.__events[t]||(a.__events[t]=[]);var s=a.__events[t],l;for(l=0;l<s.length&&s[l]!==n;l++);l>=s.length&&s.push(n),"on"+t in a&&(a.addEventListener?a.addEventListener(t,n):a.attachEvent("on"+t,n))}return this}},{key:"one",value:function(t,n){if(!t||"string"!=typeof t)throw new Error("need event name");var r=this;return r.on(t,function o(a){r.off(t,o),n.bind(this)(a)}),this}},{key:"off",value:function(t,n){if(!t)throw new Error("need event name");if(!this._elem)return this;if(!n){for(var r=this.length?this.length:1,o=0,a;o<r;o++)if((a=this.get(o),!((a instanceof e||a.__domtify)&&(a=a._elem,!a)))&&a.__events&&a.__events[t]){var s=a.__events[t],l;if("on"+t in a)for(l=0;l<s.length;l++)a.removeEventListener?a.removeEventListener(t,s[l]):a.detachEvent("on"+t,s[l]);a.__events[t]=[]}return this}if("function"!=typeof n)throw new Error("off need function params");for(var r=this.length?this.length:1,o=0,a;o<r;o++){if(a=this.get(o),a instanceof e&&(a=a._elem),a.__events&&a.__events[t]){var s=a.__events[t],l;for(l=0;l<s.length;l++)if(s[l]===n){s.splice(l,1);break}}"on"+t in a&&(a.removeEventListener?a.removeEventListener(t,n):a.detachEvent("on"+t,n))}return this}},{key:"trigger",value:function(t,n){if(!t)throw new Error("need event name");if(!this._elem)return this;for(var r=this.length?this.length:1,o=0,a;o<r;o++)if(a=this.get(o),a instanceof e&&(a=a._elem),a)if("on"+t in a){if(!jd.document.addEventListener)a.fireEvent("on"+t);else{var s=jd.document.createEvent("HTMLEvents");s.initEvent(t,!0,!0),a.dispatchEvent(s)}}else if(a.__events&&a.__events[t]){var s=a.__events[t],l,d;for(d={bubbles:!1,cancelable:!1,cancelBubble:!1,defaultPrevented:!1,type:t},d.currentTarget=a,d.target=a,l=0;l<s.length;l++)s[l](d,n)}return this}},{key:"parent",value:function(t){if(!this._elem)return new e;var n;if(t&&(n=new e(t)),this._isArray()){var r=new e;r._elem=[],r._isArr=!0,r.length=0;for(var o=this.length?this.length:1,a=0;a<o;a++)this.get(a).parentNode&&(!n||n._isElementIn(this.get(a).parentNode))&&(this._domtify(this.get(a).parentNode),r._elem.push(this.get(a).parentNode),r[r.length]=this.get(a).parentNode,r.length++);return 0==r._elem.length&&(r._elem=null),r}return this._elem.parentNode?!n||n._isElementIn(this._elem.parentNode)?new e(this._elem.parentNode):new e:new e}},{key:"parents",value:function(t){if(!this._elem)return new e;var n;t&&(n=new e(t));for(var r=[],o=this.length?this.length:1,a=0;a<o;a++)if(this.get(a).parentNode)for(var s=this.get(a);s.parentNode&&s.parentNode!=jd&&s.parentNode!=jd.document;){if(!n||n._isElementIn(s.parentNode)){var l;for(l=0;l<r.length;l++)if("function"==typeof r[l].isSameNode){if(r[l].isSameNode(s.parentNode))break;}else if(r[l]===s.parentNode)break;l>=r.length&&r.push(s.parentNode)}s=s.parentNode}var d=new e;if(0<r.length){d._elem=r,d._isArr=!0,d.length=r.length;for(var a=0;a<r.length;a++)d._domtify(r[a]),d[a]=r[a]}return d}},{key:"children",value:function(t){if(!this._elem)return new e;for(var n=[],r=this.length?this.length:1,o=0;o<r;o++){var a;if(t)a=W(t,this.get(o));else{a={_elem:[],_isarr:!0};for(var s=0;s<this.get(o).childNodes.length;s++)a._elem.push(this.get(o).childNodes[s])}a._elem&&(a._isarr?n=n.concat(a._elem):n.push(a._elem))}var l=new e;l._elem=n,l._isArr=!0,l.length=n.length;for(var o=0;o<n.length;o++)this._domtify(n[o]),l[o]=n[o];return l}},{key:"next",value:function(t){if(!this._elem)return new e;var n;if(t&&(n=this.parent(),n=n.children(t)),this._isArray()){for(var r=[],o=this.length?this.length:1,a=0;a<o;a++)(!n||n._isElementIn(this.get(a).nextSibling))&&this.get(a).nextSibling&&r.push(this.get(a).nextSibling);var s=new e;s._elem=r,s._isArr=!0,s.length=r.length;for(var a=0;a<r.length;a++)this._domtify(r[a]),s[a]=r[a];return s}var r;(!n||n._isElementIn(this._elem.nextSibling))&&this._elem.nextSibling&&(r=this._elem.nextSibling);var s=new e;return s._elem=r,s[0]=r,s._isArr=!1,s.length=r?1:0,s}},{key:"prev",value:function(t){if(!this._elem)return new e;var n;if(t&&(n=this.parent(),n=n.children(t)),this._isArray()){for(var r=[],o=this.length?this.length:1,a=0;a<o;a++)(!n||n._isElementIn(this.get(a).previousSibling))&&this.get(a).previousSibling&&r.push(this.get(a).previousSibling);var s=new e;s._elem=r,s._isArr=!0,s.length=r.length;for(var a=0;a<r.length;a++)this._domtify(r[a]),s[a]=r[a];return s}var r;(!n||n._isElementIn(this._elem.previousSibling))&&this._elem.previousSibling&&(r=this._elem.previousSibling);var s=new e;return s._elem=r,s[0]=r,s._isArr=!1,s.length=r?1:0,s}},{key:"each",value:function(e){if(e)for(var t=0;t<this.length;t++)e(t,this.get(t))}},{key:"_domtify",value:function(t){if(!(t instanceof e)&&!t.__domtify){var n=Object.getPrototypeOf(this);for(var r in n)"__proto__"!=r&&"constructor"!=r&&(t[r]||(t[r]=n[r].bind(t)));for(var r in Dd.fn)"extend"!=r&&"fn"!=r&&("function"!=typeof Dd.fn[r]||t[r]||(t[r]=Dd.fn[r].bind(t)));t._isArr=!1,t._elem=t,t.__domtify=!0}}},{key:"_isArray",value:function(){return this._isArr}},{key:"_isElementIn",value:function(e){if(!this._elem)return!1;for(var t=this.length?this.length:1,n=0;n<t;n++)if("function"==typeof this.get(n).isSameNode){if(this.get(n).isSameNode(e))return!0;}else if(this.get(n)===e)return!0;return!1}}]),e}(),Dd;Dd=function(e){return new Fd(e)},Dd.fn={},Dd.extend=function(){if(0==arguments.length)return{};if(1==arguments.length){for(var e in arguments[0])"extend"!=e&&"fn"!=e&&"function"==typeof arguments[0][e]&&(Dd[e]=arguments[0][e]);return this}if(!1===arguments[0])throw new Error("can't be false");var t={},n=0;for(!0===arguments[0]&&(n=1);n<arguments.length;n++)t=gi.mergeMap(t,arguments[n]);return t},Fd.getViewPort=function(){return"BackCompat"==jd.document.compatMode?{width:jd.document.body.clientWidth,height:jd.document.body.clientHeight}:{width:jd.document.documentElement.clientWidth,height:jd.document.documentElement.clientHeight}},Fd.getDocumentPort=function(){return"BackCompat"==jd.document.compatMode?{width:jd.document.body.scrollWidth,height:jd.document.body.scrollHeight}:{width:ie(jd.document.documentElement.scrollWidth,jd.document.documentElement.clientWidth),height:ie(jd.document.documentElement.scrollHeight,jd.document.documentElement.clientHeight)}},Fd.getDocumentOffset=function(){var e,t;return"BackCompat"==jd.document.compatMode?(e=jd.document.body.scrollLeft,t=jd.document.body.scrollTop):(e=0==document.documentElement.scrollLeft?document.body.scrollLeft:document.documentElement.scrollLeft,t=0==document.documentElement.scrollTop?document.body.scrollTop:document.documentElement.scrollTop),{top:t,left:e}},Fd.getElementOffset=function(t){if(!t)return{};var e=Dd(t);if(e=e[0],e){if("function"==typeof e.getBoundingClientRect){var n=e.getBoundingClientRect();return{left:n.left,top:n.top}}for(var r=e.offsetLeft,o=e.offsetTop,a=e.offsetParent;a;)r+=a.offsetLeft,o+=a.offsetTop,a=a.offsetParent;var s,i;return"BackCompat"==jd.document.compatMode?(s=jd.document.body.scrollLeft,i=jd.document.body.scrollTop):(s=0==jd.document.documentElement.scrollLeft?jd.document.body.scrollLeft:jd.document.documentElement.scrollLeft,i=0==jd.document.documentElement.scrollTop?jd.document.body.scrollTop:jd.document.documentElement.scrollTop),{left:r-s,top:o-i}}return{}},Fd.isDom=function(t){return"object"===("undefined"==typeof HTMLElement?"undefined":s(HTMLElement))?t instanceof HTMLElement:t&&"object"===s(t)&&1===t.nodeType&&"string"==typeof t.nodeName},Fd.removeEventListener=function(e,t,n,r){e&&(e.addEventListener?e.removeEventListener(t,n,r):e.detachEvent("on"+t,n))},Fd.addEventListener=function(e,t,n,r){e&&(e.addEventListener?e.addEventListener(t,n,r):e.attachEvent("on"+t,n))};var Bd=Dd,Ud={Dom:Fd,CreateDom:Bd};n(no);var Hd="undefined"==typeof window?"undefined"==typeof global?"undefined"==typeof self?void 0:self:global:window;Hd.__line||(Hd.__line=void 0,Hd.__column=void 0),Hd.__debug||(Hd.__debug=!1),Hd.requestAnimationFrame||(Hd.requestAnimationFrame=co.requestAnimationFrame),Hd.cancelAnimationFrame||(Hd.cancelAnimationFrame=co.cancelAnimationFrame);var Yd={};Yd.__debug=Hd.__debug,Yd.date={isValidate:ia,getDate:la,getDate2:da,getDate2FromUTC:ca,getDateFromUTC:ua,getTime2FromUTC:pa,getTimeString:ga,getUTCTimeString:ma,getTimeStringFromNow:ha,getTimeFromUTC:fa,getTime:ya,getTime2:ba},Yd.utils=gi,Yd.string=$i,Yd.crypt=Yd.utils.mergeMap({crc32:E,crc32_fileSegment:v,crc32_file:function(e,t){v(e,0,e.size,t)},base64_encode:Vi,base64_decode:function(e){for(var t=[-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,62,-1,-1,-1,63,52,53,54,55,56,57,58,59,60,61,-1,-1,-1,-1,-1,-1,-1,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,-1,-1,-1,-1,-1,-1,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,-1,-1,-1,-1,-1],n=0,r=e.length,o=[],a,s,l,d;n<r;){do a=t[255&e.charCodeAt(n++)];while(n<r&&-1==a);if(-1==a)break;do s=t[255&e.charCodeAt(n++)];while(n<r&&-1==s);if(-1==s)break;o.push(a<<2|(48&s)>>4);do{if(l=255&e.charCodeAt(n++),61==l)return o;l=t[l]}while(n<r&&-1==l);if(-1==l)break;o.push((15&s)<<4|(60&l)>>2);do{if(d=255&e.charCodeAt(n++),61==d)return o;d=t[d]}while(n<r&&-1==d);if(-1==d)break;o.push((3&l)<<6|d)}return o},uuid:function e(){for(var t=[],n="0123456789abcdef",r=0;36>r;r++)t[r]=n.substr(ue(16*Math.random()),1);t[14]="4",t[19]=n.substr(8|3&t[19],1),t[8]=t[13]=t[18]=t[23]="-";var e=t.join("");return e}},{md5:function(e){return N(fi.utf8Encode(e))}},{sha1:function(e){return q(fi.utf8Encode(e))}}),Yd.net=Od,Yd.$=Ud.CreateDom,Yd.dom=Ud.Dom,Yd.exception=bd,Hd.febs?(Hd.febs.string=Hd.febs.string?Yd.utils.mergeMap(Hd.febs.string,Yd.string):Yd.string,Hd.febs.crypt=Hd.febs.crypt?Yd.utils.mergeMap(Hd.febs.crypt,Yd.crypt):Yd.crypt,Hd.febs.utils=Hd.febs.utils?Yd.utils.mergeMap(Hd.febs.utils,Yd.utils):Yd.utils,Hd.febs.net=Hd.febs.net?Yd.utils.mergeMap(Hd.febs.net,Yd.net):Yd.net,Hd.febs.dom=Hd.febs.dom?Yd.utils.mergeMap(Hd.febs.dom,Yd.dom):Yd.dom,Hd.febs.exception=Hd.febs.exception?Yd.utils.mergeMap(Hd.febs.exception,Yd.exception):Yd.exception):Hd.febs=Yd,Hd.$||(Hd.$=Yd.$),Hd.jQuery||(Hd.jQuery=Yd.$),Hd.console&&(Hd.console.debug=function(){if(Hd.__debug){var e=Hd.console.warn?Hd.console.warn:Hd.console.log;for(var t=0;t<arguments.length;t++)e(arguments[t])}});var $d=Yd.__debug,qd=Yd.date,Vd=Yd.utils,zd=Yd.string,Gd=Yd.crypt,Wd=Yd.net,Xd=Yd.$,$=Yd.dom,Kd=Yd.exception,Jd=Object.freeze({__proto__:null,__debug:$d,date:qd,utils:Vd,string:zd,crypt:Gd,net:Wd,$:Xd,dom:$,exception:Kd});Zt({target:"Number",stat:!0},{isInteger:function(e){return!ye(e)&&isFinite(e)&&ue(e)===e}});var Qd=function(e){if("number"!=typeof e&&"Number"!=ct(e))throw TypeError("Incorrect invocation");return+e},Zd="".repeat,ec=1 .toFixed,tc=ue,nc=function(e,t,n){return 0===t?n:1==t%2?nc(e,t-1,n*e):nc(e*e,t/2,n)},rc=function(e){for(var t=0,r=e;4096<=r;)t+=12,r/=4096;for(;2<=r;)t+=1,r/=2;return t},oc=ec&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==1000000000000000100 .toFixed(0))||!he(function(){ec.call({})});Zt({target:"Number",proto:!0,forced:oc},{toFixed:function(t){var n=Qd(this),r=kt(t),o=[0,0,0,0,0,0],a="",s="0",i=function(e,t){for(var n=-1,r=t;6>++n;)r+=e*o[n],o[n]=r%1e7,r=tc(r/1e7)},l=function(e){for(var t=6,n=0;0<=--t;)n+=o[t],o[t]=tc(n/e),n=1e7*(n%e)},d=function(){for(var e=6,n="";0<=--e;)if(""!==n||0===e||0!==o[e]){var r=o[e]+"";n=""===n?r:n+Zd.call("0",7-r.length)+r}return n},c,u,p,g;if(0>r||20<r)throw RangeError("Incorrect fraction digits");if(n!=n)return"NaN";if(-1e21>=n||1e21<=n)return n+"";if(0>n&&(a="-",n=-n),1e-21<n)if(c=rc(n*nc(2,69,1))-69,u=0>c?n*nc(2,-c,1):n/nc(2,c,1),u*=4503599627370496,c=52-c,0<c){for(i(0,u),p=r;7<=p;)i(1e7,0),p-=7;for(i(nc(10,p,1),0),p=c-1;23<=p;)l(8388608),p-=23;l(1<<p),i(1,1),l(2),s=d()}else i(0,u),i(1<<-c,0),s=d()+Zd.call("0",r);return 0<r?(g=s.length,s=a+(g<=r?"0."+Zd.call("0",r-g)+s:s.slice(0,g-r)+"."+s.slice(g-r))):s=a+s,s}});var ac=Ue("unscopables"),sc=Array.prototype;null==sc[ac]&&a.f(sc,ac,{configurable:!0,value:qa(null)});var ic=function(e){sc[ac][e]=!0},lc=Ue("iterator"),dc=!1,cc,uc,pc;[].keys&&(pc=[].keys(),"next"in pc?(uc=yl(yl(pc)),uc!==Object.prototype&&(cc=uc)):dc=!0),null==cc&&(cc={}),ke(cc,lc)||f(cc,lc,function(){return this});var gc={IteratorPrototype:cc,BUGGY_SAFARI_ITERATORS:dc},mc=gc.IteratorPrototype,hc=function(){return this},fc=function(e,t,n){var r=t+" Iterator";return e.prototype=qa(mc,{next:i(1,n)}),on(e,r,!1),cn[r]=hc,e},yc=gc.IteratorPrototype,bc=gc.BUGGY_SAFARI_ITERATORS,_c=Ue("iterator"),Ac="keys",Tc="values",Ec="entries",vc=function(){return this},xc=function(e,t,n,r,o,a,s){fc(n,t,r);var i=function(e){return e===o&&u?u:!bc&&e in d?d[e]:e===Ac?function(){return new n(this,e)}:e===Tc?function(){return new n(this,e)}:e===Ec?function(){return new n(this,e)}:function(){return new n(this)}},l=!1,d=e.prototype,c=d[_c]||d["@@iterator"]||o&&d[o],u=!bc&&c||i(o),p="Array"==t?d.entries||c:c,g,m,h;if(p&&(g=yl(p.call(new e)),yc!==Object.prototype&&g.next&&(yl(g)!==yc&&(po?po(g,yc):"function"!=typeof g[_c]&&f(g,_c,vc)),on(g,t+" Iterator",!0))),o==Tc&&c&&c.name!==Tc&&(l=!0,u=function(){return c.call(this)}),d[_c]!==u&&f(d,_c,u),cn[t]=u,o)if(m={values:i(Tc),keys:a?u:i(Ac),entries:i(Ec)},s)for(h in m)(bc||l||!(h in d))&<(d,h,m[h]);else Zt({target:t,proto:!0,forced:bc||l},m);return m},Sc="Array Iterator",Oc=it.set,Ic=it.getterFor(Sc),Cc=xc(Array,"Array",function(e,t){Oc(this,{type:Sc,target:xt(e),index:0,kind:t})},function(){var e=Ic(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}},"values");cn.Arguments=cn.Array,ic("keys"),ic("values"),ic("entries");var Nc=[].reverse,Rc=[1,2];Zt({target:"Array",proto:!0,forced:Rc+""===Rc.reverse()+""},{reverse:function(){return _a(this)&&(this.length=this.length),Nc.call(this)}});var kc=a.f,wc=Function.prototype,Pc=wc.toString,Mc="name";fe&&!(Mc in wc)&&kc(wc,Mc,{configurable:!0,get:function(){try{return Pc.call(this).match(/^\s*function ([^ (]*)/)[1]}catch(e){return""}}});var Lc=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t};Qo("search",1,function(e,t,n){return[function(t){var n=vt(this),r=null==t?void 0:t[e];return void 0===r?new RegExp(t)[e](n+""):r.call(t,n)},function(e){var r=n(t,e,this);if(r.done)return r.value;var o=Ee(e),a=this+"",s=o.lastIndex;Lc(s,0)||(o.lastIndex=0);var i=oa(o,a);return Lc(o.lastIndex,s)||(o.lastIndex=s),null===i?-1:i.index}]});var jc=function(e,t,n,r){var o=vt(e)+"",a="<"+t;return""!==n&&(a+=" "+n+"=\""+(r+"").replace(/"/g,""")+"\""),a+">"+o+"</"+t+">"};Zt({target:"String",proto:!0,forced:function(e){return he(function(){var t=""[e]("\"");return t!==t.toLowerCase()||3<t.split("\"").length})}("sub")},{sub:function(){return jc(this,"sub","","")}});var Fc=a.f,Dc=me.Int8Array,Bc=Dc&&Dc.prototype,Uc=me.Uint8ClampedArray,Hc=Uc&&Uc.prototype,Yc=Dc&&yl(Dc),$c=Bc&&yl(Bc),qc=Object.prototype,Vc=qc.isPrototypeOf,zc=Ue("toStringTag"),Gc=Me("TYPED_ARRAY_TAG"),Wc=il&&!!po&&"Opera"!==mt(me.opera),Xc=!1,Kc={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},Jc=function(e){return ye(e)&&ke(Kc,mt(e))},Qc=function(e){if(!po){for(var t in Kc)if(ke(Kc,tu)){var n=me[t];if(n&&(e===n||Vc.call(n,e)))return e}}else if(Vc.call(Yc,e))return e;throw TypeError("Target is not a typed array constructor")},Zc=function(e,t,n){if(fe){if(n)for(var r in Kc){var o=me[r];o&&ke(o.prototype,e)&&delete o.prototype[e]}(!$c[e]||n)&<($c,e,n?t:Wc&&Bc[e]||t)}},eu=function(e,t,n){var r,o;if(fe){if(po){if(n)for(r in Kc)o=me[r],o&&ke(o,e)&&delete o[e];if(!Yc[e]||n)try{return lt(Yc,e,n?t:Wc&&Dc[e]||t)}catch(e){}else return}for(r in Kc)o=me[r],o&&(!o[e]||n)&<(o,e,t)}},tu;for(tu in Kc)me[tu]||(Wc=!1);if((!Wc||"function"!=typeof Yc||Yc===Function.prototype)&&(Yc=function(){throw TypeError("Incorrect invocation")},Wc))for(tu in Kc)me[tu]&&po(me[tu],Yc);if((!Wc||!$c||$c===qc)&&($c=Yc.prototype,Wc))for(tu in Kc)me[tu]&&po(me[tu].prototype,$c);if(Wc&&yl(Hc)!==$c&&po(Hc,$c),fe&&!ke($c,zc))for(tu in Xc=!0,Fc($c,zc,{get:function(){return ye(this)?this[Gc]:void 0}}),Kc)me[tu]&&f(me[tu],Gc,tu);var nu={NATIVE_ARRAY_BUFFER_VIEWS:Wc,TYPED_ARRAY_TAG:Xc&&Gc,aTypedArray:function(e){if(Jc(e))return e;throw TypeError("Target is not a typed array")},aTypedArrayConstructor:Qc,exportTypedArrayMethod:Zc,exportTypedArrayStaticMethod:eu,isView:function(e){var t=mt(e);return"DataView"===t||ke(Kc,t)},isTypedArray:Jc,TypedArray:Yc,TypedArrayPrototype:$c},ru=nu.NATIVE_ARRAY_BUFFER_VIEWS,ou=me.ArrayBuffer,au=me.Int8Array,su=!ru||!he(function(){au(1)})||!he(function(){new au(-1)})||!vn(function(e){new au,new au(null),new au(1.5),new au(e)},!0)||he(function(){return 1!==new au(new ou(2),1,void 0).length}),iu=function(e){var t=kt(e);if(0>t)throw RangeError("The argument can't be less than 0");return t},lu=function(e,t){var n=iu(e);if(n%t)throw RangeError("Wrong offset");return n},du=nu.aTypedArrayConstructor,cu=function(e){var t=Zo(e),n=arguments.length,r=1<n?arguments[1]:void 0,o=void 0!==r,a=fn(t),s,l,d,c,u,p;if(null!=a&&!gn(a))for(u=a.call(t),p=u.next,t=[];!(c=p.call(u)).done;)t.push(c.value);for(o&&2<n&&(r=mn(r,arguments[2],2)),l=wt(t.length),d=new(du(this))(l),s=0;l>s;s++)d[s]=o?r(t[s],s):t[s];return d},uu=t(function(e){var t=Math.round,n=Ht.f,r=Zi.forEach,o=it.get,s=it.set,l=a.f,d=It.f,c=me.RangeError,u=Kl.ArrayBuffer,p=Kl.DataView,g=nu.NATIVE_ARRAY_BUFFER_VIEWS,m=nu.TYPED_ARRAY_TAG,h=nu.TypedArray,y=nu.TypedArrayPrototype,b=nu.aTypedArrayConstructor,_=nu.isTypedArray,A="BYTES_PER_ELEMENT",T="Wrong length",E=function(e,t){for(var n=0,r=t.length,o=new(b(e))(r);r>n;)o[n]=t[n++];return o},v=function(e,t){l(e,t,{get:function(){return o(this)[t]}})},x=function(e){var t;return e instanceof u||"ArrayBuffer"==(t=mt(e))||"SharedArrayBuffer"==t},S=function(e,t){return _(e)&&"symbol"!=typeof t&&t in e&&+t+""==t+""},O=function(e,t){return S(e,t=ve(t,!0))?i(2,e[t]):d(e,t)},I=function(e,t,n){return S(e,t=ve(t,!0))&&ye(n)&&ke(n,"value")&&!ke(n,"get")&&!ke(n,"set")&&!n.configurable&&(!ke(n,"writable")||n.writable)&&(!ke(n,"enumerable")||n.enumerable)?(e[t]=n.value,e):l(e,t,n)};fe?(!g&&(It.f=O,a.f=I,v(y,"buffer"),v(y,"byteOffset"),v(y,"byteLength"),v(y,"length")),Zt({target:"Object",stat:!0,forced:!g},{getOwnPropertyDescriptor:O,defineProperty:I}),e.exports=function(e,a,i){var d=e.match(/\d+$/)[0]/8,b=e+(i?"Clamped":"")+"Array",v=me[b],S=v,O=S&&S.prototype,I={},C=function(t,n){var r=o(t);return r.view["get"+e](n*d+r.byteOffset,!0)},N=function(n,r,a){var s=o(n);i&&(a=0>(a=t(a))?0:255<a?255:255&a),s.view["set"+e](r*d+s.byteOffset,a,!0)},R=function(e,t){l(e,t,{get:function(){return C(this,t)},set:function(e){return N(this,t,e)},enumerable:!0})};g?su&&(S=a(function(e,t,n,r){return dn(e,S,b),go(function(){return ye(t)?x(t)?void 0===r?void 0===n?new v(t):new v(t,lu(n,d)):new v(t,lu(n,d),r):_(t)?E(S,t):cu.call(S,t):new v(ll(t))}(),e,S)}),po&&po(S,h),r(n(v),function(e){e in S||f(S,e,v[e])}),S.prototype=O):(S=a(function(e,t,n,r){dn(e,S,b);var o=0,a=0,i,l,g;if(!ye(t))g=ll(t),l=g*d,i=new u(l);else if(x(t)){i=t,a=lu(n,d);var m=t.byteLength;if(void 0===r){if(m%d)throw c(T);if(l=m-a,0>l)throw c(T)}else if(l=wt(r)*d,l+a>m)throw c(T);g=l/d}else return _(t)?E(S,t):cu.call(S,t);for(s(e,{buffer:i,byteOffset:a,byteLength:l,length:g,view:new p(i)});o<g;)R(e,o++)}),po&&po(S,h),O=S.prototype=qa(y)),O.constructor!==S&&f(O,"constructor",S),m&&f(O,m,b),I[b]=S,Zt({global:!0,forced:S!=v,sham:!g},I),A in S||f(S,A,d),A in O||f(O,A,d),sn(b)}):e.exports=function(){}});uu("Uint32",function(e){return function(t,n,r){return e(this,t,n,r)}});var pu=[].copyWithin||function(e,t){var n=Zo(this),r=wt(n.length),o=Pt(e,r),a=Pt(t,r),s=2<arguments.length?arguments[2]:void 0,i=le((void 0===s?r:Pt(s,r))-a,r-o),l=1;for(a<o&&o<a+i&&(l=-1,a+=i-1,o+=i-1);0<i--;)a in n?n[o]=n[a]:delete n[o],o+=l,a+=l;return n},gu=nu.aTypedArray,mu=nu.exportTypedArrayMethod;mu("copyWithin",function(e,t){return pu.call(gu(this),e,t,2<arguments.length?arguments[2]:void 0)});var hu=Zi.every,fu=nu.aTypedArray,yu=nu.exportTypedArrayMethod;yu("every",function(e){return hu(fu(this),e,1<arguments.length?arguments[1]:void 0)});var bu=nu.aTypedArray,_u=nu.exportTypedArrayMethod;_u("fill",function(){return bl.apply(bu(this),arguments)});var Au=Zi.filter,Tu=nu.aTypedArray,Eu=nu.aTypedArrayConstructor,vu=nu.exportTypedArrayMethod;vu("filter",function(e){for(var t=Au(Tu(this),e,1<arguments.length?arguments[1]:void 0),n=Sn(this,this.constructor),r=0,o=t.length,a=new(Eu(n))(o);o>r;)a[r]=t[r++];return a});var xu=Zi.find,Su=nu.aTypedArray,Ou=nu.exportTypedArrayMethod;Ou("find",function(e){return xu(Su(this),e,1<arguments.length?arguments[1]:void 0)});var Iu=Zi.findIndex,Cu=nu.aTypedArray,Nu=nu.exportTypedArrayMethod;Nu("findIndex",function(e){return Iu(Cu(this),e,1<arguments.length?arguments[1]:void 0)});var Ru=Zi.forEach,ku=nu.aTypedArray,wu=nu.exportTypedArrayMethod;wu("forEach",function(e){Ru(ku(this),e,1<arguments.length?arguments[1]:void 0)});var Pu=Lt.includes,Mu=nu.aTypedArray,Lu=nu.exportTypedArrayMethod;Lu("includes",function(e){return Pu(Mu(this),e,1<arguments.length?arguments[1]:void 0)});var ju=Lt.indexOf,Fu=nu.aTypedArray,Du=nu.exportTypedArrayMethod;Du("indexOf",function(e){return ju(Fu(this),e,1<arguments.length?arguments[1]:void 0)});var Bu=Ue("iterator"),Uu=me.Uint8Array,Hu=Cc.values,Yu=Cc.keys,$u=Cc.entries,qu=nu.aTypedArray,Vu=nu.exportTypedArrayMethod,zu=Uu&&Uu.prototype[Bu],Gu=!!zu&&("values"==zu.name||null==zu.name),Wu=function(){return Hu.call(qu(this))};Vu("entries",function(){return $u.call(qu(this))}),Vu("keys",function(){return Yu.call(qu(this))}),Vu("values",Wu,!Gu),Vu(Bu,Wu,!Gu);var Xu=nu.aTypedArray,Ku=nu.exportTypedArrayMethod,Ju=[].join;Ku("join",function(){return Ju.apply(Xu(this),arguments)});var Qu=[].lastIndexOf,Zu=!!Qu&&0>1/[1].lastIndexOf(1,-0),ep=As("lastIndexOf"),tp=Oa("indexOf",{ACCESSORS:!0,1:0}),np=Zu||!ep||!tp?function(e){if(Zu)return Qu.apply(this,arguments)||0;var t=xt(this),n=wt(t.length),r=n-1;for(1<arguments.length&&(r=le(r,kt(arguments[1]))),0>r&&(r=n+r);0<=r;r--)if(r in t&&t[r]===e)return r||0;return-1}:Qu,rp=nu.aTypedArray,op=nu.exportTypedArrayMethod;op("lastIndexOf",function(){return np.apply(rp(this),arguments)});var ap=Zi.map,sp=nu.aTypedArray,ip=nu.aTypedArrayConstructor,lp=nu.exportTypedArrayMethod;lp("map",function(e){return ap(sp(this),e,1<arguments.length?arguments[1]:void 0,function(e,t){return new(ip(Sn(e,e.constructor)))(t)})});var dp=function(e){return function(t,n,r,o){ln(n);var a=Zo(t),s=Et(a),l=wt(a.length),d=e?l-1:0,c=e?-1:1;if(2>r)for(;;){if(d in s){o=s[d],d+=c;break}if(d+=c,e?0>d:l<=d)throw TypeError("Reduce of empty array with no initial value")}for(;e?0<=d:l>d;d+=c)d in s&&(o=n(o,s[d],d,a));return o}},cp={left:dp(!1),right:dp(!0)},up=cp.left,pp=nu.aTypedArray,gp=nu.exportTypedArrayMethod;gp("reduce",function(e){return up(pp(this),e,arguments.length,1<arguments.length?arguments[1]:void 0)});var mp=cp.right,hp=nu.aTypedArray,fp=nu.exportTypedArrayMethod;fp("reduceRight",function(e){return mp(hp(this),e,arguments.length,1<arguments.length?arguments[1]:void 0)});var yp=nu.aTypedArray,bp=nu.exportTypedArrayMethod;bp("reverse",function(){for(var e=this,t=yp(e).length,n=ue(t/2),r=0,o;r<n;)o=e[r],e[r++]=e[--t],e[t]=o;return e});var _p=nu.aTypedArray,Ap=nu.exportTypedArrayMethod,Tp=he(function(){new Int8Array(1).set({})});Ap("set",function(e){_p(this);var t=lu(1<arguments.length?arguments[1]:void 0,1),n=this.length,r=Zo(e),o=wt(r.length),a=0;if(o+t>n)throw RangeError("Wrong length");for(;a<o;)this[t+a]=r[a++]},Tp);var Ep=nu.aTypedArray,vp=nu.aTypedArrayConstructor,xp=nu.exportTypedArrayMethod,Sp=[].slice,Op=he(function(){new Int8Array(1).slice()});xp("slice",function(e,t){for(var n=Sp.call(Ep(this),e,t),r=Sn(this,this.constructor),o=0,a=n.length,s=new(vp(r))(a);a>o;)s[o]=n[o++];return s},Op);var Ip=Zi.some,Cp=nu.aTypedArray,Np=nu.exportTypedArrayMethod;Np("some",function(e){return Ip(Cp(this),e,1<arguments.length?arguments[1]:void 0)});var Rp=nu.aTypedArray,kp=nu.exportTypedArrayMethod,wp=[].sort;kp("sort",function(e){return wp.call(Rp(this),e)});var Pp=nu.aTypedArray,Mp=nu.exportTypedArrayMethod;Mp("subarray",function(e,t){var n=Pp(this),r=n.length,o=Pt(e,r);return new(Sn(n,n.constructor))(n.buffer,n.byteOffset+o*n.BYTES_PER_ELEMENT,wt((void 0===t?r:Pt(t,r))-o))});var Lp=me.Int8Array,jp=nu.aTypedArray,Fp=nu.exportTypedArrayMethod,Dp=[].toLocaleString,Bp=[].slice,Up=!!Lp&&he(function(){Dp.call(new Lp(1))}),Hp=he(function(){return[1,2].toLocaleString()!=new Lp([1,2]).toLocaleString()})||!he(function(){Lp.prototype.toLocaleString.call([1,2])});Fp("toLocaleString",function(){return Dp.apply(Up?Bp.call(jp(this)):jp(this),arguments)},Hp);var Yp=nu.exportTypedArrayMethod,$p=me.Uint8Array,qp=$p&&$p.prototype||{},Vp=[].toString,zp=[].join;he(function(){Vp.call({})})&&(Vp=function(){return zp.call(this)});var Gp=qp.toString!=Vp;Yp("toString",Vp,Gp),Zt({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return URL.prototype.toString.call(this)}});var Wp=t(function(e){(function(t){function n(e){function _(t,r){var o=this,a,s,l,d,u,p;if(!(o instanceof _))return L&&O(26,"constructor call without new",t),new _(t,r);if(null==r||!j(r,2,64,C,"base")){if(t instanceof _)return o.s=t.s,o.e=t.e,o.c=(t=t.c)?t.slice():t,void(C=0);if((d="number"==typeof t)&&0==0*t){if(o.s=0>1/t?(t=-t,-1):1,t===~~t){for(s=0,l=t;10<=l;l/=10,s++);return o.e=s,o.c=[t],void(C=0)}p=t+""}else{if(!m.test(p=t+""))return Y(o,p,d);o.s=45===p.charCodeAt(0)?(p=p.slice(1),-1):1}}else{if(r|=0,p=t+"",10==r)return o=new _(t instanceof _?t:p),I(o,N+o.e+1,R);if((d="number"==typeof t)&&0!=0*t||!new RegExp("^-?"+(a="["+"0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ$_".slice(0,r)+"]+")+"(?:\\."+a+")?$",37>r?"i":"").test(p))return Y(o,p,d,r);d?(o.s=0>1/t?(p=p.slice(1),-1):1,L&&15<p.replace(/^0\.0*|\./,"").length&&O(C,"number type has more than 15 significant digits",t),d=!1):o.s=45===p.charCodeAt(0)?(p=p.slice(1),-1):1,p=A(p,10,r,o.s)}for(-1<(s=p.indexOf("."))&&(p=p.replace(".","")),0<(l=p.search(/e/i))?(0>s&&(s=l),s+=+p.slice(l+1),p=p.substring(0,l)):0>s&&(s=p.length),l=0;48===p.charCodeAt(l);l++);for(u=p.length;48===p.charCodeAt(--u););if(p=p.slice(l,u+1),!p)o.c=[o.e=0];else if(u=p.length,d&&L&&15<u&&(9007199254740991<t||t!==f(t))&&O(C,"number type has more than 15 significant digits",o.s*t),s=s-l-1,s>M)o.c=o.e=null;else if(s<P)o.c=[o.e=0];else{if(o.e=s,o.c=[],l=(s+1)%14,0>s&&(l+=14),l<u){for(l&&o.c.push(+p.slice(0,l)),u-=14;l<u;)o.c.push(+p.slice(l,l+=14));p=p.slice(l),l=14-p.length}else l-=u;for(;l--;p+="0");o.c.push(+p)}C=0}function A(t,n,o,s){var l=t.indexOf("."),u=N,g=R,m,h,f,b,A,T,E;for(37>o&&(t=t.toLowerCase()),0<=l&&(f=B,B=0,t=t.replace(".",""),E=new _(o),A=E.pow(t.length-l),B=f,E.c=c(p(a(A.c),A.e),10,n),E.e=E.c.length),T=c(t,o,n),h=f=T.length;0==T[--f];T.pop());if(!T[0])return"0";if(0>l?--h:(A.c=T,A.e=h,A.s=s,A=H(A,E,u,g,n),T=A.c,b=A.r,h=A.e),m=h+u+1,l=T[m],f=n/2,b=b||0>m||null!=T[m+1],b=4>g?(null!=l||b)&&(0==g||g==(0>A.s?3:2)):l>f||l==f&&(4==g||b||6==g&&1&T[m-1]||g==(0>A.s?8:7)),1>m||!T[0])t=b?p("1",-u):"0";else{if(T.length=m,b)for(--n;++T[--m]>n;)T[m]=0,m||(++h,T.unshift(1));for(f=T.length;!T[--f];);for(l=0,t="";l<=f;t+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ$_".charAt(T[l++]));t=p(t,h)}return t}function T(t,r,o,s){var l,d,c,g,m;if(o=null!=o&&j(o,0,8,s,"rounding mode")?0|o:R,!t.c)return t.toString();if(l=t.c[0],c=t.e,null==r)m=a(t.c),m=19==s||24==s&&c<=k?u(m,c):p(m,c);else if(t=I(new _(t),r,o),d=t.e,m=a(t.c),g=m.length,19==s||24==s&&(r<=d||d<=k)){for(;g<r;m+="0",g++);m=u(m,d)}else if(r-=c,m=p(m,d),d+1>g){if(0<--r)for(m+=".";r--;m+="0");}else if(r+=d-g,0<r)for(d+1==g&&(m+=".");r--;m+="0");return 0>t.s&&l?"-"+m:m}function E(e,t){var r=0,o,a;for(d(e[0])&&(e=e[0]),o=new _(e[0]);++r<e.length;)if(a=new _(e[r]),!a.s){o=a;break}else t.call(o,a)&&(o=a);return o}function x(e,t,n,r,o){return(e<t||e>n||e!=g(e))&&O(r,(o||"decimal places")+(e<t||e>n?" out of range":" not an integer"),e),!0}function S(t,n,r){for(var o=1,a=n.length;!n[--a];n.pop());for(a=n[0];10<=a;a/=10,o++);return(r=o+14*r-1)>M?t.c=t.e=null:r<P?t.c=[t.e=0]:(t.e=r,t.c=n),t}function O(e,t,n){var r=new Error(["new BigNumber","cmp","config","div","divToInt","eq","gt","gte","lt","lte","minus","mod","plus","precision","random","round","shift","times","toDigits","toExponential","toFixed","toFormat","toFraction","pow","toPrecision","toString","BigNumber"][e]+"() "+t+": "+n);throw r.name="BigNumber Error",C=0,r}function I(e,t,o,a){var s=e.c,l=y,c,u,p,g,m,b,_;if(s){out:{for(c=1,g=s[0];10<=g;g/=10,c++);if(u=t-c,0>u)u+=14,p=t,m=s[b=0],_=0|m/l[c-p-1]%10;else if(b=h((u+1)/14),!(b>=s.length)){for(m=g=s[b],c=1;10<=g;g/=10,c++);u%=14,p=u-14+c,_=0>p?0:0|m/l[c-p-1]%10}else if(a){for(;s.length<=b;s.push(0));m=_=0,c=1,u%=14,p=u-14+1}else break out;if(a=a||0>t||null!=s[b+1]||(0>p?m:m%l[c-p-1]),a=4>o?(_||a)&&(0==o||o==(0>e.s?3:2)):5<_||5==_&&(4==o||a||6==o&&1&(0<u?0<p?m/l[c-p]:0:s[b-1])%10||o==(0>e.s?8:7)),1>t||!s[0])return s.length=0,a?(t-=e.e+1,s[0]=l[(14-t%14)%14],e.e=-t||0):s[0]=e.e=0,e;if(0==u?(s.length=b,g=1,b--):(s.length=b+1,g=l[14-u],s[b]=0<p?f(m/l[c-p]%l[p])*g:0),a)for(;;)if(0==b){for(u=1,p=s[0];10<=p;p/=10,u++);for(p=s[0]+=g,g=1;10<=p;p/=10,g++);u!=g&&(e.e++,100000000000000==s[0]&&(s[0]=1));break}else{if(s[b]+=g,100000000000000!=s[b])break;s[b--]=0,g=1}for(u=s.length;0===s[--u];s.pop());}e.e>M?e.c=e.e=null:e.e<P&&(e.c=[e.e=0])}return e}var C=0,t=_.prototype,r=new _(1),N=20,R=4,k=-7,w=21,P=-1e7,M=1e7,L=!0,j=x,F=!1,D=1,B=0,U={decimalSeparator:".",groupSeparator:",",groupSize:3,secondaryGroupSize:0,fractionGroupSeparator:"\xA0",fractionGroupSize:0},H,Y;return _.another=n,_.ROUND_UP=0,_.ROUND_DOWN=1,_.ROUND_CEIL=2,_.ROUND_FLOOR=3,_.ROUND_HALF_UP=4,_.ROUND_HALF_DOWN=5,_.ROUND_HALF_EVEN=6,_.ROUND_HALF_CEIL=7,_.ROUND_HALF_FLOOR=8,_.EUCLID=9,_.config=_.set=function(){var e=0,t={},n=arguments,r=n[0],o=r&&"object"==s(r)?function(){if(r.hasOwnProperty(c))return null!=(a=r[c])}:function(){if(n.length>e)return null!=(a=n[e++])},a,c;return o(c="DECIMAL_PLACES")&&j(a,0,1000000000,2,c)&&(N=0|a),t[c]=N,o(c="ROUNDING_MODE")&&j(a,0,8,2,c)&&(R=0|a),t[c]=R,o(c="EXPONENTIAL_AT")&&(d(a)?j(a[0],-1000000000,0,2,c)&&j(a[1],0,1000000000,2,c)&&(k=0|a[0],w=0|a[1]):j(a,-1000000000,1000000000,2,c)&&(k=-(w=0|(0>a?-a:a)))),t[c]=[k,w],o(c="RANGE")&&(d(a)?j(a[0],-1000000000,-1,2,c)&&j(a[1],1,1000000000,2,c)&&(P=0|a[0],M=0|a[1]):j(a,-1000000000,1000000000,2,c)&&(0|a?P=-(M=0|(0>a?-a:a)):L&&O(2,c+" cannot be zero",a))),t[c]=[P,M],o(c="ERRORS")&&(a===!!a||1===a||0===a?(C=0,j=(L=!!a)?x:l):L&&O(2,c+" not a boolean or binary digit",a)),t[c]=L,o(c="CRYPTO")&&(!0===a||!1===a||1===a||0===a?a?(a="undefined"==typeof crypto,!a&&crypto&&(crypto.getRandomValues||crypto.randomBytes)?F=!0:L?O(2,"crypto unavailable",a?void 0:crypto):F=!1):F=!1:L&&O(2,c+" not a boolean or binary digit",a)),t[c]=F,o(c="MODULO_MODE")&&j(a,0,9,2,c)&&(D=0|a),t[c]=D,o(c="POW_PRECISION")&&j(a,0,1000000000,2,c)&&(B=0|a),t[c]=B,o(c="FORMAT")&&("object"==s(a)?U=a:L&&O(2,c+" not an object",a)),t[c]=U,t},_.max=function(){return E(arguments,t.lt)},_.min=function(){return E(arguments,t.gt)},_.random=function(){var e=2097151&9007199254740992*Math.random()?function(){return f(9007199254740992*Math.random())}:function(){return 8388608*(0|1073741824*Math.random())+(0|8388608*Math.random())};return function(t){var n=0,o=[],s=new _(r),l,d,u,p,g;if(t=null!=t&&j(t,0,1000000000,14)?0|t:N,p=h(t/14),F)if(crypto.getRandomValues){for(l=crypto.getRandomValues(new Uint32Array(p*=2));n<p;)g=131072*l[n]+(l[n+1]>>>11),9e15<=g?(d=crypto.getRandomValues(new Uint32Array(2)),l[n]=d[0],l[n+1]=d[1]):(o.push(g%1e14),n+=2);n=p/2}else if(crypto.randomBytes){for(l=crypto.randomBytes(p*=7);n<p;)g=281474976710656*(31&l[n])+1099511627776*l[n+1]+4294967296*l[n+2]+16777216*l[n+3]+(l[n+4]<<16)+(l[n+5]<<8)+l[n+6],9e15<=g?crypto.randomBytes(7).copy(l,n):(o.push(g%1e14),n+=7);n=p/7}else F=!1,L&&O(14,"crypto unavailable",crypto);if(!F)for(;n<p;)g=e(),9e15>g&&(o[n++]=g%1e14);for(p=o[--n],t%=14,p&&t&&(g=y[14-t],o[n]=f(p/g)*g);0===o[n];o.pop(),n--);if(0>n)o=[u=0];else{for(u=-1;0===o[0];o.shift(),u-=14);for(n=1,g=o[0];10<=g;g/=10,n++);14>n&&(u-=14-n)}return s.e=u,s.c=o,s}}(),H=function(){function e(e,t,n){var r=0,o=e.length,a=t%10000000,s=0|t/10000000,l,d,c,u;for(e=e.slice();o--;)c=e[o]%10000000,u=0|e[o]/10000000,l=s*c+u*a,d=a*c+10000000*(l%10000000)+r,r=(0|d/n)+(0|l/10000000)+s*u,e[o]=d%n;return r&&e.unshift(r),e}function t(e,t,n,r){var o,a;if(n!=r)a=n>r?1:-1;else for(o=a=0;o<n;o++)if(e[o]!=t[o]){a=e[o]>t[o]?1:-1;break}return a}function r(e,t,n,r){for(var o=0;n--;)e[n]-=o,o=e[n]<t[n]?1:0,e[n]=o*r+e[n]-t[n];for(;!e[0]&&1<e.length;e.shift());}return function(a,l,d,c,u){var p=a.s==l.s?1:-1,g=a.c,m=l.c,h,y,b,A,T,E,v,x,S,O,C,N,R,k,w,P,M;if(!g||!g[0]||!m||!m[0])return new _(a.s&&l.s&&(g?!(m&&g[0]==m[0]):!!m)?g&&0==g[0]||!m?0*p:p/0:NaN);for(x=new _(p),S=x.c=[],y=a.e-l.e,p=d+y+1,u||(u=100000000000000,y=o(a.e/14)-o(l.e/14),p=0|p/14),b=0;m[b]==(g[b]||0);b++);if(m[b]>(g[b]||0)&&y--,0>p)S.push(1),A=!0;else{for(k=g.length,P=m.length,b=0,p+=2,T=f(u/(m[0]+1)),1<T&&(m=e(m,T,u),g=e(g,T,u),P=m.length,k=g.length),R=P,O=g.slice(0,P),C=O.length;C<P;O[C++]=0);M=m.slice(),M.unshift(0),w=m[0],m[1]>=u/2&&w++;do{if(T=0,h=t(m,O,P,C),0>h){if(N=O[0],P!=C&&(N=N*u+(O[1]||0)),T=f(N/w),1<T)for(T>=u&&(T=u-1),E=e(m,T,u),v=E.length,C=O.length;1==t(E,O,v,C);)T--,r(E,P<v?M:m,v,u),v=E.length,h=1;else 0==T&&(h=T=1),E=m.slice(),v=E.length;if(v<C&&E.unshift(0),r(O,E,C,u),C=O.length,-1==h)for(;1>t(m,O,P,C);)T++,r(O,P<C?M:m,C,u),C=O.length}else 0===h&&(T++,O=[0]);S[b++]=T,O[0]?O[C++]=g[R]||0:(O=[g[R]],C=1)}while((R++<k||null!=O[0])&&p--);A=null!=O[0],S[0]||S.shift()}if(100000000000000==u){for(b=1,p=S[0];10<=p;p/=10,b++);I(x,d+(x.e=b+14*y-1)+1,c,A)}else x.e=y,x.r=+A;return x}}(),Y=function(){return function(e,t,n,r){var o=n?t:t.replace(/^\s*\+(?=[\w.])|^\s+|\s+$/g,""),a;if(/^-?(Infinity|NaN)$/.test(o))e.s=isNaN(o)?null:0>o?-1:1;else{if(!n&&(o=o.replace(/^(-?)0([xbo])(?=\w[\w.]*$)/i,function(e,t,n){return a="x"==(n=n.toLowerCase())?16:"b"==n?2:8,r&&r!=a?e:t}),r&&(a=r,o=o.replace(/^([^.]+)\.$/,"$1").replace(/^\.([^.]+)$/,"0.$1")),t!=o))return new _(o,a);L&&O(C,"not a"+(r?" base "+r:"")+" number",t),e.s=null}e.c=e.e=null,C=0}}(),t.absoluteValue=t.abs=function(){var e=new _(this);return 0>e.s&&(e.s=1),e},t.ceil=function(){return I(new _(this),this.e+1,2)},t.comparedTo=t.cmp=function(e,t){return C=1,i(this,new _(e,t))},t.decimalPlaces=t.dp=function(){var e=this.c,t,r;if(!e)return null;if(t=14*((r=e.length-1)-o(this.e/14)),r=e[r])for(;0==r%10;r/=10,t--);return 0>t&&(t=0),t},t.dividedBy=t.div=function(e,t){return C=3,H(this,new _(e,t),N,R)},t.dividedToIntegerBy=t.divToInt=function(e,t){return C=4,H(this,new _(e,t),0,1)},t.equals=t.eq=function(e,t){return C=5,0===i(this,new _(e,t))},t.floor=function(){return I(new _(this),this.e+1,3)},t.greaterThan=t.gt=function(e,t){return C=6,0<i(this,new _(e,t))},t.greaterThanOrEqualTo=t.gte=function(e,t){return C=7,1===(t=i(this,new _(e,t)))||0===t},t.isFinite=function(){return!!this.c},t.isInteger=t.isInt=function(){return!!this.c&&o(this.e/14)>this.c.length-2},t.isNaN=function(){return!this.s},t.isNegative=t.isNeg=function(){return 0>this.s},t.isZero=function(){return!!this.c&&0==this.c[0]},t.lessThan=t.lt=function(e,t){return C=8,0>i(this,new _(e,t))},t.lessThanOrEqualTo=t.lte=function(e,t){return C=9,-1===(t=i(this,new _(e,t)))||0===t},t.minus=t.sub=function(e,n){var r=this,s=r.s,l,d,c,u;if(C=10,e=new _(e,n),n=e.s,!s||!n)return new _(NaN);if(s!=n)return e.s=-n,r.plus(e);var p=r.e/14,g=e.e/14,m=r.c,h=e.c;if(!p||!g){if(!m||!h)return m?(e.s=-n,e):new _(h?r:NaN);if(!m[0]||!h[0])return h[0]?(e.s=-n,e):new _(m[0]?r:3==R?-0:0)}if(p=o(p),g=o(g),m=m.slice(),s=p-g){for((u=0>s)?(s=-s,c=m):(g=p,c=h),c.reverse(),n=s;n--;c.push(0));c.reverse()}else for(d=(u=(s=m.length)<(n=h.length))?s:n,s=n=0;n<d;n++)if(m[n]!=h[n]){u=m[n]<h[n];break}if(u&&(c=m,m=h,h=c,e.s=-e.s),n=(d=h.length)-(l=m.length),0<n)for(;n--;m[l++]=0);for(n=99999999999999;d>s;){if(m[--d]<h[d]){for(l=d;l&&!m[--l];m[l]=n);--m[l],m[d]+=100000000000000}m[d]-=h[d]}for(;0==m[0];m.shift(),--g);return m[0]?S(e,m,g):(e.s=3==R?-1:1,e.c=[e.e=0],e)},t.modulo=t.mod=function(e,t){var n=this,r,o;return(C=11,e=new _(e,t),!n.c||!e.s||e.c&&!e.c[0])?new _(NaN):e.c&&(!n.c||n.c[0])?(9==D?(o=e.s,e.s=1,r=H(n,e,0,3),e.s=o,r.s*=o):r=H(n,e,0,D),n.minus(r.times(e))):new _(n)},t.negated=t.neg=function(){var e=new _(this);return e.s=-e.s||null,e},t.plus=t.add=function(e,n){var r=this,s=r.s,i;if(C=12,e=new _(e,n),n=e.s,!s||!n)return new _(NaN);if(s!=n)return e.s=-n,r.minus(e);var l=r.e/14,d=e.e/14,c=r.c,u=e.c;if(!l||!d){if(!c||!u)return new _(s/0);if(!c[0]||!u[0])return u[0]?e:new _(c[0]?r:0*s)}if(l=o(l),d=o(d),c=c.slice(),s=l-d){for(0<s?(d=l,i=u):(s=-s,i=c),i.reverse();s--;i.push(0));i.reverse()}for(s=c.length,n=u.length,0>s-n&&(i=u,u=c,c=i,n=s),s=0;n;)s=0|(c[--n]=c[n]+u[n]+s)/100000000000000,c[n]=100000000000000===c[n]?0:c[n]%100000000000000;return s&&(c.unshift(s),++d),S(e,c,d)},t.precision=t.sd=function(e){var t=this,r=t.c,o,a;if(null!=e&&e!==!!e&&1!==e&&0!==e&&(L&&O(13,"argument not a boolean or binary digit",e),e!=!!e&&(e=null)),!r)return null;if(a=r.length-1,o=14*a+1,a=r[a]){for(;0==a%10;a/=10,o--);for(a=r[0];10<=a;a/=10,o++);}return e&&t.e+1>o&&(o=t.e+1),o},t.round=function(e,t){var r=new _(this);return(null==e||j(e,0,1000000000,15))&&I(r,~~e+this.e+1,null!=t&&j(t,0,8,15,"rounding mode")?0|t:R),r},t.shift=function(e){var t=this;return j(e,-9007199254740991,9007199254740991,16,"argument")?t.times("1e"+g(e)):new _(t.c&&t.c[0]&&(-9007199254740991>e||9007199254740991<e)?t.s*(0>e?0:1/0):t)},t.squareRoot=t.sqrt=function(){var i=Math.sqrt,l=this,d=l.c,c=l.s,u=l.e,p=N+4,g=new _("0.5"),h,f,y,b,A;if(1!==c||!d||!d[0])return new _(!c||0>c&&(!d||d[0])?NaN:d?l:1/0);if(c=i(+l),0==c||c==1/0?(f=a(d),0==(f.length+u)%2&&(f+="0"),c=i(f),u=o((u+1)/2)-(0>u||u%2),c==1/0?f="1e"+u:(f=c.toExponential(),f=f.slice(0,f.indexOf("e")+1)+u),y=new _(f)):y=new _(c+""),y.c[0])for(u=y.e,c=u+p,3>c&&(c=0);;)if(A=y,y=g.times(A.plus(H(l,A,p,1))),a(A.c).slice(0,c)===(f=a(y.c)).slice(0,c))if(y.e<u&&--c,f=f.slice(c-3,c+1),"9999"==f||!b&&"4999"==f){if(!b&&(I(A,A.e+N+2,0),A.times(A).eq(l))){y=A;break}p+=4,c+=4,b=1}else{+f&&(+f.slice(1)||"5"!=f.charAt(0))||(I(y,y.e+N+2,1),h=!y.times(y).eq(l));break}return I(y,y.e+N+1,R,h)},t.times=t.mul=function(t,n){var r=this,a=r.c,s=(C=17,t=new _(t,n)).c,l,d,u,p,g,h,f,b,A,T,E,v,x,O,I;if(!a||!s||!a[0]||!s[0])return r.s&&t.s&&(!a||a[0]||s)&&(!s||s[0]||a)?(t.s*=r.s,a&&s?(t.c=[0],t.e=0):t.c=t.e=null):t.c=t.e=t.s=null,t;for(d=o(r.e/14)+o(t.e/14),t.s*=r.s,f=a.length,T=s.length,f<T&&(x=a,a=s,s=x,u=f,f=T,T=u),(u=f+T,x=[]);u--;x.push(0));for(O=100000000000000,I=10000000,u=T;0<=--u;){for(l=0,E=s[u]%I,v=0|s[u]/I,(g=f,p=u+g);p>u;)b=a[--g]%I,A=0|a[g]/I,h=v*b+A*E,b=E*b+h%I*I+x[p]+l,l=(0|b/O)+(0|h/I)+v*A,x[p--]=b%O;x[p]=l}return l?++d:x.shift(),S(t,x,d)},t.toDigits=function(e,t){var r=new _(this);return e=null!=e&&j(e,1,1000000000,18,"precision")?0|e:null,t=null!=t&&j(t,0,8,18,"rounding mode")?0|t:R,e?I(r,e,t):r},t.toExponential=function(e,t){return T(this,null!=e&&j(e,0,1000000000,19)?~~e+1:null,t,19)},t.toFixed=function(e,t){return T(this,null!=e&&j(e,0,1000000000,20)?~~e+this.e+1:null,t,20)},t.toFormat=function(e,t){var n=T(this,null!=e&&j(e,0,1000000000,21)?~~e+this.e+1:null,t,21);if(this.c){var r=n.split("."),o=+U.groupSize,a=+U.secondaryGroupSize,s=U.groupSeparator,l=r[0],d=r[1],c=0>this.s,u=c?l.slice(1):l,p=u.length,g;if(a&&(g=o,o=a,a=g,p-=g),0<o&&0<p){for(g=p%o||o,l=u.substr(0,g);g<p;g+=o)l+=s+u.substr(g,o);0<a&&(l+=s+u.slice(g)),c&&(l="-"+l)}n=d?l+U.decimalSeparator+((a=+U.fractionGroupSize)?d.replace(new RegExp("\\d{"+a+"}\\B","g"),"$&"+U.fractionGroupSeparator):d):l}return n},t.toFraction=function(t){var o=L,i=this,l=i.c,c=new _(r),u=m=new _(r),p=T=new _(r),g,m,h,f,b,A,T,E,v;if(null!=t&&(L=!1,A=new _(t),L=o,(!(o=A.isInt())||A.lt(r))&&(L&&O(22,"max denominator "+(o?"out of range":"not an integer"),t),t=!o&&A.c&&I(A,A.e+1,1).gte(r)?A:null)),!l)return i.toString();for(v=a(l),f=c.e=v.length-i.e-1,c.c[0]=y[0>(b=f%14)?14+b:b],t=!t||0<A.cmp(c)?0<f?c:u:A,b=M,M=1/0,A=new _(v),T.c[0]=0;;){if(E=H(A,c,0,1),h=m.plus(E.times(p)),1==h.cmp(t))break;m=p,p=h,u=T.plus(E.times(h=u)),T=h,c=A.minus(E.times(h=c)),A=h}return h=H(t.minus(m),p,0,1),T=T.plus(h.times(u)),m=m.plus(h.times(p)),T.s=u.s=i.s,f*=2,g=1>H(u,p,f,R).minus(i).abs().cmp(H(T,m,f,R).minus(i).abs())?[u.toString(),p.toString()]:[T.toString(),m.toString()],M=b,g},t.toNumber=function(){return+this},t.toPower=t.pow=function(e,t){var o=f(0>e?-e:+e),a=this,s,l,d;if(null!=t&&(C=23,t=new _(t)),!j(e,-9007199254740991,9007199254740991,23,"exponent")&&(!isFinite(e)||9007199254740991<o&&(e/=0)||parseFloat(e)!=e&&!(e=NaN))||0==e)return s=oe(+a,e),new _(t?s%t:s);for(t?1<e&&a.gt(r)&&a.isInt()&&t.gt(r)&&t.isInt()?a=a.mod(t):(d=t,t=null):B&&(s=h(B/14+2)),l=new _(r);;){if(o%2){if(l=l.times(a),!l.c)break;s?l.c.length>s&&(l.c.length=s):t&&(l=l.mod(t))}if(o=f(o/2),!o)break;a=a.times(a),s?a.c&&a.c.length>s&&(a.c.length=s):t&&(a=a.mod(t))}return t?l:(0>e&&(l=r.div(l)),d?l.mod(d):s?I(l,B,R):l)},t.toPrecision=function(e,t){return T(this,null!=e&&j(e,1,1000000000,24,"precision")?0|e:null,t,24)},t.toString=function(t){var r=this,n=r.s,o=r.e,e;return null===o?n?(e="Infinity",0>n&&(e="-"+e)):e="NaN":(e=a(r.c),e=null!=t&&j(t,2,64,25,"base")?A(p(e,o),0|t,10,n):o<=k||o>=w?u(e,o):p(e,o),0>n&&r.c[0]&&(e="-"+e)),e},t.truncated=t.trunc=function(){return I(new _(this),this.e+1,1)},t.valueOf=t.toJSON=function(){var t=this,n=t.e,e;return null===n?t.toString():(e=a(t.c),e=n<=k||n>=w?u(e,n):p(e,n),0>t.s?"-"+e:e)},t.isBigNumber=!0,null!=e&&_.config(e),_}function o(e){var t=0|e;return 0<e||e===t?t:t-1}function a(e){for(var t=1,n=e.length,o=e[0]+"",a,l;t<n;){for(a=e[t++]+"",l=14-a.length;l--;a="0"+a);o+=a}for(n=o.length;48===o.charCodeAt(--n););return o.slice(0,n+1||1)}function i(e,t){var n=e.c,r=t.c,o=e.s,s=t.s,d=e.e,c=t.e,u,p;if(!o||!s)return null;if(u=n&&!n[0],p=r&&!r[0],u||p)return u?p?0:-s:o;if(o!=s)return o;if(u=0>o,p=d==c,!n||!r)return p?0:!n^u?1:-1;if(!p)return d>c^u?1:-1;for(s=(d=n.length)<(c=r.length)?d:c,o=0;o<s;o++)if(n[o]!=r[o])return n[o]>r[o]^u?1:-1;return d==c?0:d>c^u?1:-1}function l(e,t,r){return(e=g(e))>=t&&e<=r}function d(e){return"[object Array]"==Object.prototype.toString.call(e)}function c(e,t,n){for(var r=[0],o=0,a=e.length,s,l;o<a;){for(l=r.length;l--;r[l]*=t);for(r[s=0]+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ$_".indexOf(e.charAt(o++));s<r.length;s++)r[s]>n-1&&(null==r[s+1]&&(r[s+1]=0),r[s+1]+=0|r[s]/n,r[s]%=n)}return r.reverse()}function u(t,n){return(1<t.length?t.charAt(0)+"."+t.slice(1):t)+(0>n?"e":"e+")+n}function p(t,n){var r,o;if(0>n){for(o="0.";++n;o+="0");t=o+t}else if(r=t.length,++n>r){for(o="0",n-=r;--n;o+="0");t+=o}else n<r&&(t=t.slice(0,n)+"."+t.slice(n));return t}function g(e){return e=parseFloat(e),0>e?h(e):f(e)}var m=/^-?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,h=ce,f=ue,y=[1,10,100,1e3,1e4,1e5,1e6,1e7,1e8,1e9,1e10,1e11,1e12,1e13],b;b=n(),b["default"]=b.BigNumber=b,e.exports?e.exports=b:(!t&&(t="undefined"==typeof self?Function("return this")():self),t.BigNumber=b)})(pe)}),Xp=t(function(e,t){var n=Number.isInteger;t.BigNumber=Wp,t.bigint=function(e){var n=Number.NaN;return t.bigint_check(e)?"string"==typeof e?15<=e.length?new Wp(e):+e:e:n},t.bigint_check=function(e){if(n(e))return!0;if(!e)return!1;var t=s(e);if("string"===t){if(100<e.length||1>e.length)return!1;for(var r=1;r<e.length;r++)if("0">e[r]||"9"<e[r])return!1;if(1==e.length)return!("0">e[0]||"9"<e[0]);if("-"==e[0]){if(2>e.length||"1">e[1]||"9"<e[1])return!1;}else if("1">e[0]||"9"<e[0])return!1;return!0}return"object"===t&&!!e.isBigNumber},t.bigint_add=function(e,t){return e instanceof Wp||(e=new Wp(e)),e.plus(t)},t.bigint_minus=function(e,t){return e instanceof Wp||(e=new Wp(e)),e.minus(t)},t.bigint_dividedBy=function(e,t){return e instanceof Wp||(e=new Wp(e)),e.dividedBy(t)},t.bigint_mul=function(e,t){return e instanceof Wp||(e=new Wp(e)),e.times(t)},t.bigint_equal=function(e,t){return e instanceof Wp||(e=new Wp(e)),e.equals(t)},t.bigint_more_than=function(e,t){return e instanceof Wp||(e=new Wp(e)),e.greaterThan(t)},t.bigint_more_than_e=function(e,t){return e instanceof Wp||(e=new Wp(e)),e.greaterThanOrEqualTo(t)},t.bigint_less_than=function(e,t){return e instanceof Wp||(e=new Wp(e)),e.lessThan(t)},t.bigint_less_than_e=function(e,t){return e instanceof Wp||(e=new Wp(e)),e.lessThanOrEqualTo(t)},t.bigint_mod=function(e,t){return n(e)?n(t)?e%t:new Wp(e).mod(t):(e instanceof Wp||(e=new Wp(e)),e.mod(t))},t.bigint_toFixed=function(e,t){return t=t||0,e instanceof Wp||(e=new Wp(e)),e.toFixed(t)}}),Kp=Xp.BigNumber,Jp=Xp.bigint,Qp=Xp.bigint_check,Zp=Xp.bigint_add,eg=Xp.bigint_minus,tg=Xp.bigint_dividedBy,ng=Xp.bigint_mul,rg=Xp.bigint_equal,og=Xp.bigint_more_than,ag=Xp.bigint_more_than_e,sg=Xp.bigint_less_than,ig=Xp.bigint_less_than_e,lg=Xp.bigint_mod,dg=Xp.bigint_toFixed,cg=n(Jd),ug=Xp.BigNumber,pg=cg.__debug,gg=cg.date,mg=cg.utils.mergeMap(cg.utils,Xp),hg=cg.string,fg=cg.crypt,yg=cg.net,bg=cg.$,_g=cg.dom,Ag=cg.exception;e.$=bg,e.BigNumber=ug,e.__debug=pg,e.crypt=fg,e.date=gg,e.dom=_g,e.exception=Ag,e.net=yg,e.string=hg,e.utils=mg,Object.defineProperty(e,"__esModule",{value:!0})});
|
|
5
|
+
*/
|
|
6
|
+
var febs=(()=>{var ut=Object.defineProperty;var wr=Object.getOwnPropertyDescriptor;var _r=Object.getOwnPropertyNames;var Er=Object.prototype.hasOwnProperty;var br=(t,e)=>()=>(t&&(e=t(t=0)),e);var Y=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Ct=(t,e)=>{for(var r in e)ut(t,r,{get:e[r],enumerable:!0})},Fr=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let s of _r(e))!Er.call(t,s)&&s!==r&&ut(t,s,{get:()=>e[s],enumerable:!(n=wr(e,s))||n.enumerable});return t};var At=t=>Fr(ut({},"__esModule",{value:!0}),t);var Dt=Y(()=>{(function(){typeof Promise.prototype.finally!="function"&&(Promise.prototype.finally=function(t){return this.then(function(e){return this.constructor.resolve(t()).then(function(){return e})}).catch(function(e){return this.constructor.resolve(t()).then(function(){throw e})})})})()});var Nt=Y((Bn,Bt)=>{var ae=typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:void 0,at={},yt=0;ae.requestAnimationFrame=ae.requestAnimationFrame||ae.mozRequestAnimationFrame||ae.webkitRequestAnimationFrame||ae.msRequestAnimationFrame;ae.cancelAnimationFrame=ae.cancelAnimationFrame||ae.mozCancelAnimationFrame;ae.requestAnimationFrame||(ae.requestAnimationFrame=function(t){var e=Date.now(),r=Math.max(0,16-(e-yt)),n=ae.setTimeout(function(){t(e+r)},r);return yt=e+r,n});ae.cancelAnimationFrame||(ae.cancelAnimationFrame=function(t){clearTimeout(t)});at.requestAnimationFrame=ae.requestAnimationFrame;at.cancelAnimationFrame=ae.cancelAnimationFrame;Bt.exports=at});var lt=Y(xe=>{"use strict";xe.isValidate=function(t){return isNaN(t)||!t||t.toString()=="Invalid Date"?!1:t instanceof Date};function Tt(t,e,r){if(typeof t!="number")return"";e=e||"HH:mm:ss";var n=new Date(t),s={"M+":n.getMonth()+1,"d+":n.getDate(),"h+":n.getHours()%12==0?12:n.getHours()%12,"H+":n.getHours(),"m+":n.getMinutes(),"s+":n.getSeconds(),"q+":Math.floor((n.getMonth()+3)/3),S:n.getMilliseconds()},u=r||{0:"\u661F\u671F\u5929",1:"\u661F\u671F\u4E00",2:"\u661F\u671F\u4E8C",3:"\u661F\u671F\u4E09",4:"\u661F\u671F\u56DB",5:"\u661F\u671F\u4E94",6:"\u661F\u671F\u516D"};/(y+)/.test(e)&&(e=e.replace(RegExp.$1,(n.getFullYear()+"").substr(4-RegExp.$1.length))),/(E+)/.test(e)&&(e=e.replace(RegExp.$1,u[n.getDay()+""]));for(var l in s)new RegExp("("+l+")").test(e)&&(e=e.replace(RegExp.$1,RegExp.$1.length==1?s[l]:("00"+s[l]).substr((""+s[l]).length)));return e}xe.getTimeString=Tt;xe.getTimeStringFromNow=function(t,e){e=e||{},e.now=e.now||"\u521A\u521A",e.second=e.second||"\u79D2\u524D",e.minute=e.minute||"\u5206\u949F\u524D",e.hour=e.hour||"\u5C0F\u65F6\u524D",e.day_yesterday=e.day_yesterday||"\u6628\u5929",e.day=e.day||"\u5929\u524D",e.month=e.month||"\u4E2A\u6708\u524D",e.time=e.time||"yyyy-M-d h:m:s";var r=Math.ceil(Date.now()/1e3);if(t=Math.ceil(t/1e3),r>t){var n=r-t;if(n<3)return e.now;if(n<60)return n.toString()+e.second;if(n<3600)return Math.ceil(n/60).toString()+e.minute;if(n<3600*24)return Math.ceil(n/60/60).toString()+e.hour;if(n<3600*24*30){var s=new Date(r*1e3);return s.setHours(0,0,1),s.getTime()-t<=3600*24?e.day_yesterday:Math.ceil(n/60/60/24).toString()+e.day}return n<3600*24*30*6?Math.ceil(n/60/60/24/30).toString()+e.month:Tt(t,e.time)}return e.now};xe.getTime=function(t){var e=new Date;return e.setFullYear(parseInt(t.substr(0,4)),parseInt(t.substr(5,2),10)-1,parseInt(t.substr(8,2))),e.setHours(parseInt(t.substr(11,2))||0,parseInt(t.substr(14,2))||0,parseInt(t.substr(17,2))||0,0),e};xe.getTime2=function(t){var e=new Date;return e.setFullYear(parseInt(t.substr(0,4)),parseInt(t.substr(4,2),10)-1,parseInt(t.substr(6,2))),e.setHours(parseInt(t.substr(8,2))||0,parseInt(t.substr(10,2))||0,parseInt(t.substr(12,2))||0,0),e};xe.getDate=function(t){var e=new Date(parseInt(t.substr(0,4)),parseInt(t.substr(5,2),10)-1,parseInt(t.substr(8,2)));return e};xe.getDate2=function(t){var e=new Date(parseInt(t.substr(0,4)),parseInt(t.substr(4,2),10)-1,parseInt(t.substr(6,2)));return e};xe.getUTCTimeString=function(t,e,r){if(typeof t!="number")return"";e=e||"HH:mm:ss";var n=new Date(t),s={"M+":n.getUTCMonth()+1,"d+":n.getUTCDate(),"h+":n.getUTCHours()%12==0?12:n.getUTCHours()%12,"H+":n.getUTCHours(),"m+":n.getUTCMinutes(),"s+":n.getUTCSeconds(),"q+":Math.floor((n.getUTCMonth()+3)/3),S:n.getUTCMilliseconds()},u=r||{0:"\u661F\u671F\u5929",1:"\u661F\u671F\u4E00",2:"\u661F\u671F\u4E8C",3:"\u661F\u671F\u4E09",4:"\u661F\u671F\u56DB",5:"\u661F\u671F\u4E94",6:"\u661F\u671F\u516D"};/(y+)/.test(e)&&(e=e.replace(RegExp.$1,(n.getUTCFullYear()+"").substr(4-RegExp.$1.length))),/(E+)/.test(e)&&(e=e.replace(RegExp.$1,u[n.getUTCDay()+""]));for(var l in s)new RegExp("("+l+")").test(e)&&(e=e.replace(RegExp.$1,RegExp.$1.length==1?s[l]:("00"+s[l]).substr((""+s[l]).length)));return e};xe.getDateFromUTC=function(t){var e=new Date;return e.setUTCFullYear(parseInt(t.substr(0,4)),parseInt(t.substr(5,2),10)-1,parseInt(t.substr(8,2))),e.setUTCHours(0,0,0,0),e};xe.getDate2FromUTC=function(t){var e=new Date;return e.setUTCFullYear(parseInt(t.substr(0,4)),parseInt(t.substr(4,2),10)-1,parseInt(t.substr(6,2))),e.setUTCHours(0,0,0,0),e};xe.getTimeFromUTC=function(t){var e=new Date;return e.setUTCFullYear(parseInt(t.substr(0,4)),parseInt(t.substr(5,2),10)-1,parseInt(t.substr(8,2))),e.setUTCHours(parseInt(t.substr(11,2))||0,parseInt(t.substr(14,2))||0,parseInt(t.substr(17,2))||0,0),e};xe.getTime2FromUTC=function(t){var e=new Date;return e.setUTCFullYear(parseInt(t.substr(0,4)),parseInt(t.substr(4,2),10)-1,parseInt(t.substr(6,2))),e.setUTCHours(parseInt(t.substr(8,2))||0,parseInt(t.substr(10,2))||0,parseInt(t.substr(12,2))||0,0),e}});var It=Y(ve=>{"use strict";var Fe=lt();ve.isValidate=Fe.isValidate;ve.getDate=Fe.getDate;ve.getDate2=Fe.getDate2;ve.getDate2FromUTC=Fe.getDate2FromUTC;ve.getDateFromUTC=Fe.getDateFromUTC;ve.getTime2FromUTC=Fe.getTime2FromUTC;ve.getTimeString=Fe.getTimeString;ve.getUTCTimeString=Fe.getUTCTimeString;ve.getTimeStringFromNow=Fe.getTimeStringFromNow;ve.getTimeFromUTC=Fe.getTimeFromUTC;ve.getTime=Fe.getTime;ve.getTime2=Fe.getTime2});var Rt=Y(De=>{"use strict";var St=Promise,Ke=lt();De.sleep=function(t){return new St(function(e,r){try{setTimeout(function(){e()},t)}catch(n){r(n)}})};De.mergeMap=function(){for(var t={},e,r=0;r<arguments.length;r++)if(e=arguments[r],e)for(var n in e)t[n]=e[n];return t};De.isNull=function(t){return t==null||Number.isNaN(t)};De.getTimeString=Ke.getTimeString;De.getTimeStringFromNow=Ke.getTimeStringFromNow;De.getDate=Ke.getDate;De.getDate2=Ke.getDate2;De.denodeify=function(t,e,r){return r=r||1/0,function(){var n=Array.prototype.slice.call(arguments,0,r>0?r:0);return new St(function(s,u){n.push(function(f,h){f?u(f):s(h)});var l=t.apply(e,n);l&&(typeof l=="object"||typeof l=="function")&&typeof l.then=="function"&&s(l)})}};De.promisify=De.denodeify});var Ot=Y(ee=>{"use strict";var Se=typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:void 0;function Ce(t){return t||(Se&&Se.navigator&&Se.navigator.userAgent?Se.navigator.userAgent:"")}ee.browserIsIE=function(){return Se?!!(Se.ActiveXObject||"ActiveXObject"in Se):!1};ee.browserIEVer=function(){if(!ee.browserIsIE())return Number.MAX_SAFE_INTEGER;var t=Ce(),e=t.indexOf("compatible")>-1&&t.indexOf("MSIE")>-1,r=t.indexOf("Trident")>-1&&t.indexOf("rv:11.0")>-1;if(e){var n=new RegExp("MSIE (\\d+\\.\\d+);");n.test(t);var s=parseFloat(RegExp.$1);return s==7?7:s==8?8:s==9?9:s==10?10:6}else return r?11:Number.MAX_SAFE_INTEGER};ee.browserIsSupportHtml5=function(){return!!(Se&&typeof Se.Worker!="undefined")};ee.browserIsMobile=function(t){var e=Ce(t),r=["Android","webOS","iPhone","iPad","iPod","Blackberry","Windows Phone"],n=new RegExp(r.join("|"),"i");return e.match(n)!=null};ee.browserIsIOS=function(t){var e=Ce(t),r=["iPhone","iPad","iPod"],n=new RegExp(r.join("|"),"i");return e.match(n)!=null};ee.browserIsPhone=function(t){var e=Ce(t),r=["Android","iPhone","iPod","Blackberry","Windows Phone"],n=new RegExp(r.join("|"),"i");return e.match(n)!=null};ee.browserIsSafari=function(t){var e=Ce(t).toLowerCase();return e.match(/version\/([\d.]+).*safari/)};ee.browserIsOpera=function(t){var e=Ce(t).toLowerCase();return e.match(/opera.([\d.]+)/)};ee.browserIsFirefox=function(t){var e=Ce(t).toLowerCase();return e.match(/firefox\/([\d.]+)/)};ee.browserIsChrome=function(t){var e=Ce(t).toLowerCase();return!!e.match(/chrome\/([\d.]+)/)&&!e.match(/edg\/([\d.]+)/)};ee.browserIsEdge=function(t){var e=Ce(t).toLowerCase();return e.match(/edg\/([\d.]+)/)};ee.browserIsWeixin=function(t){var e=Ce(t);return e.match(/MicroMessenger/i)=="MicroMessenger"};ee.platformIsWin=function(t){var e=Ce(t).toLowerCase();return e.indexOf("win32")>=0||e.indexOf("wow32")>=0||e.indexOf("win64")>=0||e.indexOf("wow64")>=0||e.indexOf("windows nt")>=0};ee.platformIsMac=function(t){var e=Ce(t);return!!/macintosh|mac os x/i.test(e)}});var Ue=Y(X=>{"use strict";var Re=Rt(),ce=Ot();X.sleep=Re.sleep;X.getTimeString=Re.getTimeString;X.getTimeStringFromNow=Re.getTimeStringFromNow;X.getDate=Re.getDate;X.getDate2=Re.getDate2;X.mergeMap=Re.mergeMap;X.isNull=Re.isNull;X.denodeify=Re.denodeify;X.promisify=Re.promisify;X.browserIsIE=ce.browserIsIE;X.browserIEVer=ce.browserIEVer;X.browserIsSupportHtml5=ce.browserIsSupportHtml5;X.browserIsMobile=ce.browserIsMobile;X.browserIsIOS=ce.browserIsIOS;X.browserIsPhone=ce.browserIsPhone;X.browserIsSafari=ce.browserIsSafari;X.browserIsOpera=ce.browserIsOpera;X.browserIsFirefox=ce.browserIsFirefox;X.browserIsChrome=ce.browserIsChrome;X.browserIsEdge=ce.browserIsEdge;X.browserIsWeixin=ce.browserIsWeixin;X.platformIsWin=ce.platformIsWin;X.platformIsMac=ce.platformIsMac});var Xe=Y(J=>{"use strict";J.isPhoneMobile=function(t){return t?!!/^(1[2-9][0-9]|14[579]|15[0-3,5-9]|16[6]|17[0135678]|18[0-9]|19[89]|98[0-9]|99[0-9])\d{8}$/.test(t):!1};J.isEmail=function(t){return t?!!/^(([A-Za-z0-9\u4e00-\u9fa5_-]|\.)+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+)$/.test(t):!1};J.isAlphaOrDigit=function(t){return t?!!/^[A-Za-z0-9]+$/.test(t):!1};J.isChinese=function(t){return t?!!/^[\u4e00-\u9fa5]{0,}$/.test(t):!1};J.isEmpty=function(t){return!t||typeof t!="string"||t.length==0};J.getByteSize=function(t){if(!t)return 0;var e=0,r,n;for(r=0;r<t.length;r++)if(n=t.charCodeAt(r),n<128)e=e+1;else if(n<2048)e+=2;else if(n>=55296&&n<=56319){var s=t.charCodeAt(r+1);s>=56320&&s<=57343?(e+=4,r++):e+=3}else e+=3;return e};J.replace=function(t,e,r){if(!t||!e||t.length==0)return t;var n="",s=t.length,u=0,l=0;do if(u=t.indexOf(e,l),u!=-1&&u<s)u!=l&&(n+=t.slice(l,u)),n+=r,l=u+e.length;else{n+=t.slice(l);break}while(u<s);return n};J.utf8ToBytes=function(t){if(!t)return new Array;for(var e=new Array,r,n=0;n<t.length;n++){if(r=t.charCodeAt(n),r>=55296&&r<=56319){var s=t.charCodeAt(n+1);s>=56320&&s<=57343&&(r=65536+(r-55296<<10)+(s-56320),n++)}r<=127?e.push(r&255):r<=2047?(e.push(r>>6&31|192),e.push(r&63|128)):r<=65535?(e.push(r>>12&15|224),e.push(r>>6&63|128),e.push(r&63|128)):(e.push(r>>18&7|240),e.push(r>>12&63|128),e.push(r>>6&63|128),e.push(r&63|128))}return e};J.bytesToUtf8=function(t){for(var e="",r=0;r<t.length;){var n=t[r],s=0;n>>>7?(n&252)===252?(s=(t[r]&3)<<30,s|=(t[r+1]&63)<<24,s|=(t[r+2]&63)<<18,s|=(t[r+3]&63)<<12,s|=(t[r+4]&63)<<6,s|=t[r+5]&63,e+=String.fromCharCode(s),r+=6):(n&248)===248?(s=(t[r]&7)<<24,s|=(t[r+1]&63)<<18,s|=(t[r+2]&63)<<12,s|=(t[r+3]&63)<<6,s|=t[r+4]&63,e+=String.fromCharCode(s),r+=5):(n&240)===240?(s=(t[r]&15)<<18,s|=(t[r+1]&63)<<12,s|=(t[r+2]&63)<<6,s|=t[r+3]&63,s>65535?(s-=65536,e+=String.fromCharCode(55296+(s>>10),56320+(s&1023))):e+=String.fromCharCode(s),r+=4):(n&224)===224?(s=(t[r]&31)<<12,s|=(t[r+1]&63)<<6,s|=t[r+2]&63,e+=String.fromCharCode(s),r+=3):(n&192)===192?(s=(t[r]&63)<<6,s|=t[r+1]&63,e+=String.fromCharCode(s),r+=2):(e+=String.fromCharCode(t[r]),r+=1):(e+=String.fromCharCode(t[r]),r+=1)}return e};J.utf8Encode=function(e){var r,n,s="",u=-1,l;if(e&&e.length)for(l=e.length;(u+=1)<l;)r=e.charCodeAt(u),n=u+1<l?e.charCodeAt(u+1):0,55296<=r&&r<=56319&&56320<=n&&n<=57343&&(r=65536+((r&1023)<<10)+(n&1023),u+=1),r<=127?s+=String.fromCharCode(r):r<=2047?s+=String.fromCharCode(192|r>>>6&31,128|r&63):r<=65535?s+=String.fromCharCode(224|r>>>12&15,128|r>>>6&63,128|r&63):r<=2097151&&(s+=String.fromCharCode(240|r>>>18&7,128|r>>>12&63,128|r>>>6&63,128|r&63));return s};J.utf8Decode=function(e){var r,n,s,u,l,f=[],h;if(r=n=s=u=l=0,e&&e.length)for(h=e.length,e+="";r<h;)s=e.charCodeAt(r),n+=1,s<128?(f[n]=String.fromCharCode(s),r+=1):s>191&&s<224?(u=e.charCodeAt(r+1),f[n]=String.fromCharCode((s&31)<<6|u&63),r+=2):(u=e.charCodeAt(r+1),l=e.charCodeAt(r+2),f[n]=String.fromCharCode((s&15)<<12|(u&63)<<6|l&63),r+=3);return f.join("")};J.trim=function(t){return t&&t.replace(/(^\s*)|(\s*$)/g,"")};J.escapeHtml=function(t){return t&&(t=J.replace(t,"&","&"),t=J.replace(t,"<","<"),t=J.replace(t,">",">"),t=J.replace(t," "," "),t=J.replace(t,'"',""")),t||""}});var ht=Y(de=>{"use strict";var we=Xe();de.isPhoneMobile=we.isPhoneMobile;de.isEmpty=we.isEmpty;de.isEmail=we.isEmail;de.isAlphaOrDigit=we.isAlphaOrDigit;de.isChinese=we.isChinese;de.getByteSize=we.getByteSize;de.replace=we.replace;de.utf8ToBytes=we.utf8ToBytes;de.bytesToUtf8=we.bytesToUtf8;de.utf8Encode=we.utf8Encode;de.utf8Decode=we.utf8Decode;de.trim=we.trim;de.escapeHtml=we.escapeHtml});var Mt=Y(ct=>{var Cr=Xe(),Ar=[0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918e3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117];ct.crc32_table=Ar;ct.base64_encode=function(t){if(!t)return"";typeof t=="string"&&(t=Cr.utf8ToBytes(t));var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",r,n,s,u,l,f;for(s=t.length,n=0,r="";n<s;){if(u=t[n++]&255,n==s){r+=e.charAt(u>>2),r+=e.charAt((u&3)<<4),r+="==";break}if(l=t[n++],n==s){r+=e.charAt(u>>2),r+=e.charAt((u&3)<<4|(l&240)>>4),r+=e.charAt((l&15)<<2),r+="=";break}f=t[n++],r+=e.charAt(u>>2),r+=e.charAt((u&3)<<4|(l&240)>>4),r+=e.charAt((l&15)<<2|(f&192)>>6),r+=e.charAt(f&63)}return r}});var Pt=Y(ke=>{var Lt=Mt();function qt(t,e){e||(e=0),e=e^-1;for(var r=0,n=t.length;r<n;r++)e=e>>>8^Lt.crc32_table[(e^t.charCodeAt(r))&255];return e^-1}ke.crc32=qt;function Ht(t,e,r,n){if(!t||!n){n&&n(0);return}if(e>=t.size||e<0||r==0){n&&n(0);return}r<0&&(r=t.size);var s=File.prototype.mozSlice||File.prototype.webkitSlice||File.prototype.slice,u=new FileReader;t.size-e<r&&(r=t.size-e);var l=1024*1024*2,f=Math.ceil(r/l),h=0,v=function(){var O=h*l+e,L=O+l>=r+e?r+e:O+l;u.readAsBinaryString(s.call(t,O,L))},p=0;u.onload=function(O){p=qt(O.target.result,p),h++,h<f?v():n(p)},v()}ke.crc32_fileSegment=Ht;ke.crc32_file=function(t,e){Ht(t,0,t.size,e)};ke.base64_encode=Lt.base64_encode;ke.base64_decode=function(t){for(var e,r,n,s,u=new Array(-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,62,-1,-1,-1,63,52,53,54,55,56,57,58,59,60,61,-1,-1,-1,-1,-1,-1,-1,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,-1,-1,-1,-1,-1,-1,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,-1,-1,-1,-1,-1),l=0,f=t.length,h=[];l<f;){do e=u[t.charCodeAt(l++)&255];while(l<f&&e==-1);if(e==-1)break;do r=u[t.charCodeAt(l++)&255];while(l<f&&r==-1);if(r==-1)break;h.push(e<<2|(r&48)>>4);do{if(n=t.charCodeAt(l++)&255,n==61)return h;n=u[n]}while(l<f&&n==-1);if(n==-1)break;h.push((r&15)<<4|(n&60)>>2);do{if(s=t.charCodeAt(l++)&255,s==61)return h;s=u[s]}while(l<f&&s==-1);if(s==-1)break;h.push((n&3)<<6|s)}return h};ke.uuid=function(){for(var t=[],e="0123456789abcdef",r=0;r<36;r++)t[r]=e.substr(Math.floor(Math.random()*16),1);t[14]="4",t[19]=e.substr(t[19]&3|8,1),t[8]=t[13]=t[18]=t[23]="-";var n=t.join("");return n}});var kt=Y(Ut=>{var Dr=Xe();function yr(t){var e,r=t.length*32,n="";for(e=0;e<r;e+=8)n+=String.fromCharCode(t[e>>5]>>>e%32&255);return n}function Br(t,e){return t<<e|t>>>32-e}function Nr(t){var e,r=t.length*8,n=Array(t.length>>2),s=n.length;for(e=0;e<s;e+=1)n[e]=0;for(e=0;e<r;e+=8)n[e>>5]|=(t.charCodeAt(e/8)&255)<<e%32;return n}function He(t,e){var r=(t&65535)+(e&65535),n=(t>>16)+(e>>16)+(r>>16);return n<<16|r&65535}function Tr(t){for(var e=yr(Ir(Nr(t),t.length*8)),r="0123456789abcdef",n="",s,u=0,l=e.length;u<l;u+=1)s=e.charCodeAt(u),n+=r.charAt(s>>>4&15)+r.charAt(s&15);return n}function Ir(t,e){var r,n,s,u,l,f=1732584193,h=-271733879,v=-1732584194,p=271733878;for(t[e>>5]|=128<<e%32,t[(e+64>>>9<<4)+14]=e,r=0;r<t.length;r+=16)n=f,s=h,u=v,l=p,f=te(f,h,v,p,t[r+0],7,-680876936),p=te(p,f,h,v,t[r+1],12,-389564586),v=te(v,p,f,h,t[r+2],17,606105819),h=te(h,v,p,f,t[r+3],22,-1044525330),f=te(f,h,v,p,t[r+4],7,-176418897),p=te(p,f,h,v,t[r+5],12,1200080426),v=te(v,p,f,h,t[r+6],17,-1473231341),h=te(h,v,p,f,t[r+7],22,-45705983),f=te(f,h,v,p,t[r+8],7,1770035416),p=te(p,f,h,v,t[r+9],12,-1958414417),v=te(v,p,f,h,t[r+10],17,-42063),h=te(h,v,p,f,t[r+11],22,-1990404162),f=te(f,h,v,p,t[r+12],7,1804603682),p=te(p,f,h,v,t[r+13],12,-40341101),v=te(v,p,f,h,t[r+14],17,-1502002290),h=te(h,v,p,f,t[r+15],22,1236535329),f=re(f,h,v,p,t[r+1],5,-165796510),p=re(p,f,h,v,t[r+6],9,-1069501632),v=re(v,p,f,h,t[r+11],14,643717713),h=re(h,v,p,f,t[r+0],20,-373897302),f=re(f,h,v,p,t[r+5],5,-701558691),p=re(p,f,h,v,t[r+10],9,38016083),v=re(v,p,f,h,t[r+15],14,-660478335),h=re(h,v,p,f,t[r+4],20,-405537848),f=re(f,h,v,p,t[r+9],5,568446438),p=re(p,f,h,v,t[r+14],9,-1019803690),v=re(v,p,f,h,t[r+3],14,-187363961),h=re(h,v,p,f,t[r+8],20,1163531501),f=re(f,h,v,p,t[r+13],5,-1444681467),p=re(p,f,h,v,t[r+2],9,-51403784),v=re(v,p,f,h,t[r+7],14,1735328473),h=re(h,v,p,f,t[r+12],20,-1926607734),f=ne(f,h,v,p,t[r+5],4,-378558),p=ne(p,f,h,v,t[r+8],11,-2022574463),v=ne(v,p,f,h,t[r+11],16,1839030562),h=ne(h,v,p,f,t[r+14],23,-35309556),f=ne(f,h,v,p,t[r+1],4,-1530992060),p=ne(p,f,h,v,t[r+4],11,1272893353),v=ne(v,p,f,h,t[r+7],16,-155497632),h=ne(h,v,p,f,t[r+10],23,-1094730640),f=ne(f,h,v,p,t[r+13],4,681279174),p=ne(p,f,h,v,t[r+0],11,-358537222),v=ne(v,p,f,h,t[r+3],16,-722521979),h=ne(h,v,p,f,t[r+6],23,76029189),f=ne(f,h,v,p,t[r+9],4,-640364487),p=ne(p,f,h,v,t[r+12],11,-421815835),v=ne(v,p,f,h,t[r+15],16,530742520),h=ne(h,v,p,f,t[r+2],23,-995338651),f=ie(f,h,v,p,t[r+0],6,-198630844),p=ie(p,f,h,v,t[r+7],10,1126891415),v=ie(v,p,f,h,t[r+14],15,-1416354905),h=ie(h,v,p,f,t[r+5],21,-57434055),f=ie(f,h,v,p,t[r+12],6,1700485571),p=ie(p,f,h,v,t[r+3],10,-1894986606),v=ie(v,p,f,h,t[r+10],15,-1051523),h=ie(h,v,p,f,t[r+1],21,-2054922799),f=ie(f,h,v,p,t[r+8],6,1873313359),p=ie(p,f,h,v,t[r+15],10,-30611744),v=ie(v,p,f,h,t[r+6],15,-1560198380),h=ie(h,v,p,f,t[r+13],21,1309151649),f=ie(f,h,v,p,t[r+4],6,-145523070),p=ie(p,f,h,v,t[r+11],10,-1120210379),v=ie(v,p,f,h,t[r+2],15,718787259),h=ie(h,v,p,f,t[r+9],21,-343485551),f=He(f,n),h=He(h,s),v=He(v,u),p=He(p,l);return Array(f,h,v,p)}function et(t,e,r,n,s,u){return He(Br(He(He(e,t),He(n,u)),s),r)}function te(t,e,r,n,s,u,l){return et(e&r|~e&n,t,e,s,u,l)}function re(t,e,r,n,s,u,l){return et(e&n|r&~n,t,e,s,u,l)}function ne(t,e,r,n,s,u,l){return et(e^r^n,t,e,s,u,l)}function ie(t,e,r,n,s,u,l){return et(r^(e|~n),t,e,s,u,l)}Ut.md5=function(t){return Tr(Dr.utf8Encode(t))}});var $t=Y(jt=>{var Sr=Xe();function Rr(t){var e,r=t.length*32,n="";for(e=0;e<r;e+=8)n+=String.fromCharCode(t[e>>5]>>>24-e%32&255);return n}function dt(t,e){return t<<e|t>>>32-e}function Oe(t,e){var r=(t&65535)+(e&65535),n=(t>>16)+(e>>16)+(r>>16);return n<<16|r&65535}function Or(t,e,r,n){return t<20?e&r|~e&n:t<40?e^r^n:t<60?e&r|e&n|r&n:e^r^n}function Mr(t){return t<20?1518500249:t<40?1859775393:t<60?-1894007588:-899497514}function Lr(t){var e,r=t.length*8,n=Array(t.length>>2),s=n.length;for(e=0;e<s;e+=1)n[e]=0;for(e=0;e<r;e+=8)n[e>>5]|=(t.charCodeAt(e/8)&255)<<24-e%32;return n}function qr(t){for(var e=Rr(Hr(Lr(t),t.length*8)),r="0123456789abcdef",n="",s,u=0,l=e.length;u<l;u+=1)s=e.charCodeAt(u),n+=r.charAt(s>>>4&15)+r.charAt(s&15);return n}function Hr(t,e){var r,n,s,u,l,f,h,v,p=Array(80),O=1732584193,L=-271733879,B=-1732584194,q=271733878,le=-1009589776;for(t[e>>5]|=128<<24-e%32,t[(e+64>>9<<4)+15]=e,r=0;r<t.length;r+=16){for(u=O,l=L,f=B,h=q,v=le,n=0;n<80;n+=1)n<16?p[n]=t[r+n]:p[n]=dt(p[n-3]^p[n-8]^p[n-14]^p[n-16],1),s=Oe(Oe(dt(O,5),Or(n,L,B,q)),Oe(Oe(le,p[n]),Mr(n))),le=q,q=B,B=dt(L,30),L=O,O=s;O=Oe(O,u),L=Oe(L,l),B=Oe(B,f),q=Oe(q,h),le=Oe(le,v)}return Array(O,L,B,q,le)}jt.sha1=function(t){return qr(Sr.utf8Encode(t))}});var pt=Y(gt=>{gt.DefaultTimeout=5e3;gt.transfer=function(t){return t&&t.XMLHttpRequest?new t.XMLHttpRequest:null}});var Gt=Y((jn,Xt)=>{"use strict";var kn=Ue(),je=typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:void 0,zt=pt(),We="_FeBs_ajaxmark",Wt={};function Pr(t){var e=t.url;if(e){je[We]||(je[We]=1);var r=e.indexOf("?");r<0?e+="?ajaxmark="+je[We]:r==e.length-1?e+="ajaxmark="+je[We]:e+="&ajaxmark="+je[We]}je[We]++;var n=t.error||function(){},s=t.success||function(){},u=t.complete||function(){},l=t.hasOwnProperty("processData")?t.processData:!0,f=zt.transfer(je);if(!f)throw new Error("XMLHttpRequest is not supported in current environment");f.onreadystatechange=function(){if(f.readyState==4){var B=f.status===1223?204:f.status;if(B<100||B>599){n(f,f.statusText,new TypeError("Network request failed")),n=null;return}var q="response"in f?f.response:f.responseText;(B>=200&&B<300||B==304)&&s(q,f.statusText,f),u(f,f.statusText)}},f.ontimeout=function(){n&&n(f,null,"timeout")},f.onerror=function(){n&&n(f,null,new TypeError("Network request failed"))},t&&t.progress&&("upload"in f&&"onprogress"in f.upload?f.upload.onprogress=function(B){B.lengthComputable&&t.progress(B.loaded/B.total)}:console.log("The browser not support progress event")),f.open(t.type,e,t.async!==!1);var h=t.async!==!1?t.timeout:0;if(f.timeout=h!=null?h:zt.DefaultTimeout,t.hasOwnProperty("withCredentials")&&(f.withCredentials=t.withCredentials),t.headers)if(f.setRequestHeader)for(var v in t.headers){var p=t.headers[v];v=="Content-Type"&&p===!1||f.setRequestHeader(v,p)}else console.log("ajax can't set headers");(!t.headers||!t.headers.hasOwnProperty("Content-Type"))&&f.setRequestHeader&&f.setRequestHeader("Content-Type","application/x-www-form-urlencoded; charset=UTF-8");var O=t.data;if(O&&l&&typeof O!="string")try{if(t.headers&&t.headers["Content-Type"]&&t.headers["Content-Type"].toLowerCase().indexOf("json")>=0)O=JSON.stringify(O);else{var L="";for(var v in O){var p=O[v];L.length>0&&(L+="&"),L+=v+"="+(p?p.toString():"")}O=L}}catch(B){console.log("ajax stringify data error"),console.log(B)}return t.beforeSend&&t.beforeSend(f),f.send(O),{abort:function(){f.abort()}}}Wt.ajax=Pr;Xt.exports=Wt});var mt=Y(($n,Vt)=>{"use strict";Vt.exports=class extends Error{constructor(t,e,r,n,s){super(e+" "+t),this.__tag="febs.exception",this.code=e,this.msg=t,this.filename=r,this.line=n,this.column=s||0}static isInstance(t){return t&&t.__tag==="febs.exception"}static get ERROR(){return"error"}static get PARAM(){return"param error"}static get OUT_OF_RANGE(){return"out of range"}}});var Qt=Y((Xn,Jt)=>{"use strict";var Wn=Ue(),ye=typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:void 0,Yt=pt(),tt=mt(),C={},xt={};{let t=function(){let e=this;Object.defineProperty(this,"signal",{get:function(){return e.__signalWrap||(e.__signalWrap={}),e.__signalWrap},enumerable:!0,configurable:!0})};if(!Promise)throw new Error("unsupported Promise");t.prototype.abort=function(){if(this.__signalWrap&&this.__signalWrap.__xhr){try{this.__signalWrap.__xhr.abort()}catch(e){console.log(e)}this.__signalWrap.__xhr=null}},ye._AbortController=t,xt.AbortController=t,C.normalizeName=function(e){if(typeof e!="string"&&(e=String(e)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()},C.normalizeValue=function(e){return typeof e!="string"&&(e=String(e)),e},C.Headers=function(e){this.map={},e instanceof C.Headers?e.forEach(function(r,n){this.append(n,r)},this):e&&Object.getOwnPropertyNames(e).forEach(function(r){this.append(r,e[r])},this)},C.Headers.prototype.append=function(e,r){e=C.normalizeName(e),r=C.normalizeValue(r);var n=this.map[e];n||(n=[],this.map[e]=n),n.push(r)},C.Headers.prototype.delete=function(e){delete this.map[C.normalizeName(e)]},C.Headers.prototype.get=function(e){var r=this.map[C.normalizeName(e)];return r?r[0]:null},C.Headers.prototype.getAll=function(e){return this.map[C.normalizeName(e)]||[]},C.Headers.prototype.has=function(e){return this.map.hasOwnProperty(C.normalizeName(e))},C.Headers.prototype.set=function(e,r){this.map[C.normalizeName(e)]=[C.normalizeValue(r)]},C.Headers.prototype.forEach=function(e,r){Object.getOwnPropertyNames(this.map).forEach(function(n){this.map[n].forEach(function(s){e.call(r,s,n,this)},this)},this)},C.consumed=function(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0},C.fileReaderReady=function(e){return new Promise(function(r,n){e.onload=function(){r(e.result)},e.onerror=function(){n(e.error)}})},C.readBlobAsArrayBuffer=function(e){var r=new FileReader;return r.readAsArrayBuffer(e),C.fileReaderReady(r)},C.readBlobAsText=function(e){var r=new FileReader;return r.readAsText(e),C.fileReaderReady(r)},ye.self?C.support={blob:"FileReader"in ye.self&&"Blob"in ye.self&&(function(){try{return new Blob,!0}catch(e){return!1}})(),formData:"FormData"in ye.self,arrayBuffer:"ArrayBuffer"in ye.self}:C.support={},C.Body=function(){return this.bodyUsed=!1,this._initBody=function(e){if(this._bodyInit=e,typeof e=="string")this._bodyText=e;else if(C.support.blob&&Blob.prototype.isPrototypeOf(e))this._bodyBlob=e;else if(C.support.formData&&FormData.prototype.isPrototypeOf(e))this._bodyFormData=e;else if(!e)this._bodyText="";else if(!(C.support.arrayBuffer&&ArrayBuffer.prototype.isPrototypeOf(e)))throw new Error("unsupported BodyInit type")},C.support.blob?(this.blob=function(){var e=C.consumed(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this.blob().then(C.readBlobAsArrayBuffer)},this.text=function(){var e=C.consumed(this);if(e)return e;if(this._bodyBlob)return C.readBlobAsText(this._bodyBlob);if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)}):this.text=function(){var e=C.consumed(this);return e||Promise.resolve(this._bodyText)},C.support.formData&&(this.formData=function(){return this.text().then(C.decode)}),this.json=function(){return this.text().then(JSON.parse)},this},C.normalizeMethod=function(e){var r=["DELETE","GET","HEAD","OPTIONS","POST","PUT"],n=e.toUpperCase();return r.indexOf(n)>-1?n:e},C.Request=function(e,r){r=r||{};var n=r.body;if(C.Request.prototype.isPrototypeOf(e)){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,r.headers||(this.headers=new C.Headers(e.headers)),this.method=e.method,this.mode=e.mode,n||(n=e._bodyInit,e.bodyUsed=!0)}else this.url=e;this.credentials=r.credentials||this.credentials||"omit",(r.headers||!this.headers)&&(this.headers=new C.Headers(r.headers)),this.method=C.normalizeMethod(r.method||this.method||"GET"),this.mode=r.mode||this.mode||null,this.referrer=null,this._initBody(n)},C.Request.prototype.clone=function(){return new C.Request(this)},C.decode=function(e){var r=new FormData;return e.trim().split("&").forEach(function(n){if(n){var s=n.split("="),u=s.shift().replace(/\+/g," "),l=s.join("=").replace(/\+/g," ");r.append(decodeURIComponent(u),decodeURIComponent(l))}}),r},C.headers=function(e){var r=new C.Headers,n=e.getAllResponseHeaders().trim().split(`
|
|
7
|
+
`);return n.forEach(function(s){var u=s.trim().split(":"),l=u.shift().trim(),f=u.join(":").trim();r.append(l,f)}),r},C.Body.call(C.Request.prototype),C.Response=function(e,r){r||(r={}),this._initBody(e),this.type="default",this.status=r.status,this.ok=this.status>=200&&this.status<300,this.statusText=r.statusText,this.headers=r.headers instanceof C.Headers?r.headers:new C.Headers(r.headers),this.url=r.url||""},C.Body.call(C.Response.prototype),C.Response.prototype.clone=function(){return new C.Response(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new C.Headers(this.headers),url:this.url})},C.Response.error=function(){var e=new C.Response(null,{status:0,statusText:""});return e.type="error",e},Zt=[301,302,303,307,308],C.Response.redirect=function(e,r){if(Zt.indexOf(r)===-1)throw new RangeError("Invalid status code");return new C.Response(null,{status:r,headers:{location:e}})},ye.Headers=C.Headers,ye.Request=C.Request,ye.Response=C.Response,ye.fetch=C.fetch=function(e,r){return new Promise(function(n,s){var u;C.Request.prototype.isPrototypeOf(e)&&!r?u=e:u=new C.Request(e,r);var l=Yt.transfer(ye);function f(){if("responseURL"in l)return l.responseURL;if(/^X-Request-URL:/m.test(l.getAllResponseHeaders()))return l.getResponseHeader("X-Request-URL")}l.onreadystatechange=function(){if(l.readyState==4){var v=l.status===1223?204:l.status;if(v<100||v>599){s(new tt("Network request failed","NetworkFailed",null,null,null));return}var p={status:v,statusText:l.statusText,headers:C.headers(l),url:f()},O="response"in l?l.response:l.responseText;n(new C.Response(O,p))}},l.ontimeout=function(){s(new tt("Network timeout","NetworkTimeout",null,null,null))},l.onerror=function(){s(new tt("Network request failed","NetworkFailed",null,null,null))},r&&r.progress&&(l.onprogress=function(v){v.lengthComputable&&r.progress((v.position||v.loaded||0)/(v.totalSize||v.total||1))}),r&&r.signal&&(r.signal.__xhr=l),l.open(u.method,u.url,!0);var h=r?r.timeout:null;l.timeout=h!=null?h:Yt.DefaultTimeout,u.credentials==="include"?l.withCredentials=!0:l.withCredentials=!1,"responseType"in l&&C.support.blob&&(l.responseType="blob"),l.setRequestHeader?u.headers.forEach(function(v,p){l.setRequestHeader(p,v)}):u.headers&&u.headers.map.length>0&&console.log("fetch can't set headers");try{l.send(typeof u._bodyInit=="undefined"?null:u._bodyInit)}catch(v){s(new tt("Network request failed","NetworkFailed",null,null,null))}})},C.fetch.polyfill=!0,xt.fetch=C.fetch}var Zt;Jt.exports=xt});var rr=Y((Vn,tr)=>{"use strict";var Gn=Ue(),Kt=typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:void 0,Ur=5e3,_e={},er={};_e.jsonp_defaultOptions={timeout:Ur,jsonpCallback:"callback"};_e.jsonp_generateCallbackFunction=function(){return"jsonp_"+Date.now().toString()+"_"+Math.ceil(Math.random()*1e5)};_e.jsonp_clearFunction=function(t){try{delete Kt[t]}catch(e){}};_e.jsonp_removeScript=function(t){var e=document.getElementById(t);document.getElementsByTagName("head")[0].removeChild(e)};_e.jsonp=function(t,e){e=e||{};var r=e.timeout!=null?e.timeout:_e.jsonp_defaultOptions.timeout,n=e.jsonpCallback?e.jsonpCallback:_e.jsonp_defaultOptions.jsonpCallback,s;return new Promise(function(u,l){var f=_e.jsonp_generateCallbackFunction();Kt[f]=function(v){u({ok:!0,json:function(){return Promise.resolve(v)}}),s&&clearTimeout(s),_e.jsonp_removeScript(n+"_"+f),_e.jsonp_clearFunction(f)},t+=t.indexOf("?")===-1?"?":"&";var h=document.createElement("script");h.setAttribute("src",t+n+"="+f),h.id=n+"_"+f,document.getElementsByTagName("head")[0].appendChild(h),s=setTimeout(function(){l("timeout"),_e.jsonp_clearFunction(f),_e.jsonp_removeScript(n+"_"+f)},r)})};er.jsonp=_e.jsonp;tr.exports=er});var sr=Y((Zn,ir)=>{"use strict";var Yn=Ue(),kr=Gt(),nr=Qt(),jr=rr(),$r={ajax:kr.ajax,AbortController:nr.AbortController,fetch:nr.fetch,jsonp:jr.jsonp};ir.exports=$r});var ar=Y(wt=>{var D=typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:void 0,zr=Ue(),vt=ht();function Wr(t,e,r){var n,s=0,u,l,f=e.split(":");if(e=f[0],e=vt.trim(e),f=f[1],f&&f!="checked"&&f!="disabled")throw new Error("only support `:checked or :disabled` selector");if(e.indexOf("[")>0){var h=e.indexOf("[");if(u=e.substring(h+1,e.length-1),u=u.split("="),u.length!=2)throw new Error("Syntax error, unrecognized expression: "+e);l=u[1],(l.indexOf("'")>=0||l.indexOf('"')>=0)&&(l=l.substring(1,l.length-1)),u=u[0],e=e.substr(0,h)}if(e[0]=="."?(s=2,e=e.substr(1)):e[0]=="#"&&(s=1,e=e.substr(1)),!t||t.length==0){if(s==2?n=D.document.getElementsByClassName(e):s==1?(n=D.document.getElementById(e),n?n=[n]:n=[]):s==0&&(n=D.document.getElementsByTagName(e)),u){var v=n;n=[];for(var p=0;p<v.length;p++)v[p].getAttribute(u)===l&&n.push(v[p])}if(f){var v=n;n=[];for(var p=0;p<v.length;p++)f=="disabled"?v[p].disabled&&n.push(v[p]):f=="checked"&&v[p].checked&&n.push(v[p])}}else{n=[];for(var p=0;p<t.length;p++){var O=t[p].childNodes;if(O){for(var L=[],B=0;B<O.length;B++)L.push(O[B]);for(var B=0;B<L.length;B++){var q=!0;if(f&&(f=="disabled"?L[B].disabled||(q=!1):f=="checked"&&(L[B].checked||(q=!1))),q&&u&&L[B].getAttribute(u)!==l&&(q=!1),q){if(s==2){if(Ge(L[B],e)){n.push(L[B]);continue}}else if(s==1){if(L[B].id==e){n.push(L[B]);continue}}else if(s==0&&L[B].nodeName.toUpperCase()==e.toUpperCase()){n.push(L[B]);continue}}if(!r){var le=L[B].childNodes;if(le&&le.length>0){for(var oe=0;oe<le.length;oe++)L.push(le[oe]);B>20&&(L=L.slice(B+1),B=-1)}}}}}}return n}function or(t,e){t===""&&(t=null);var r,n=!1;if(typeof t=="string")if(t[0]=="<")r=D.document.createElement("div"),r.innerHTML=t,r.childNodes.length==1?(r=r.childNodes[0],n=!1):(r=r.childNodes,n=!0);else{if(t.indexOf("<")>0||t.indexOf(">")>0)throw new Error("Syntax error, unrecognized");for(var s=t.split(" "),u=e?[e]:null,l=0;l<s.length;l++)s[l]!=""&&(u=Wr(u,s[l],!!e));u.length<=1?(r=u[0],n=!1):(r=u,n=!0)}else r=t;return{_elem:r,_isarr:n}}function Ge(t,e){return!t||!t.className||typeof t.className.match!="function"?!1:!!t.className.match(new RegExp("(\\s|^)"+e+"(\\s|$)"))}function fr(t,e){t&&typeof t.className=="string"&&(Ge(t,e)||(vt.isEmpty(t.className)?t.className+=e:t.className+=" "+e))}function ur(t,e){t&&typeof t.className=="string"&&Ge(t,e)&&(t.className=t.className.replace(new RegExp("(\\s|^)"+e+"(\\s|$)")," "),t.className=vt.trim(t.className))}function Xr(t){if(t){var e=t.parentNode;e&&e.removeChild(t)}}function Gr(t,e){if(t)if(e instanceof ge)if(!e._isArray())t.appendChild(e[0]);else for(var r=0;r<e.length;r++)t.appendChild(e[r]);else t.appendChild(e)}function Vr(t,e){if(t)if(t.hasChildNodes())if(e instanceof ge)if(!e._isArray())t.insertBefore(e[0],t.firstChild);else for(var r=e.length-1;r>=0;r--)t.insertBefore(e[r],t.firstChild);else t.insertBefore(e,t.firstChild);else if(e instanceof ge)if(!e._isArray())t.appendChild(e[0]);else for(var r=0;r<e.length;r++)t.appendChild(e[r]);else t.appendChild(e)}function Yr(t){var e=document.createElement("div");try{return e.appendChild(t.cloneNode(!0)),t.nodeType==1}catch(r){return t==D||t==document}}var Ae,ge=class t{constructor(e){if(e===D.document||e==D?(this._elem=e,this._isArr=!1):e instanceof t?(this._elem=e._elem,this._isArr=e._isArr):Yr(e)?(this._elem=e,this._isArr=!1):(this._elem=or(e),this._isArr=this._elem._isarr,this._elem=this._elem._elem),!this._isArray())this[0]=this._elem,this.length=this._elem?1:0;else{for(var r=0;r<this._elem.length;r++)this[r]=this._elem[r];this.length=this._elem.length}var n=this;if(this.bind=this.on,this.unbind=this.off,this.live=this.on,this.die=this.off,e===D.document?(this.ready=function(f){return f?D.addEventListener?D.document.addEventListener("DOMContentLoaded",f):D.document.attachEvent("onload",f):n.trigger("ready"),n},this.unload=function(f){return f?D.addEventListener?D.document.addEventListener("unload",f):D.document.attachEvent("onunload",f):n.trigger("unload"),n},this.context=D.document):e===D?this.unload=function(f){return f?D.addEventListener?D.addEventListener("unload",f):D.attachEvent("onunload",f):n.trigger("unload"),n}:this.context=D.document,typeof e=="function"){let f=function(h){e.bind(n)(h),D.addEventListener?D.document.removeEventListener("DOMContentLoaded",f):D.document.detachEvent("onload",f)};var u=f;D.addEventListener?D.document.addEventListener("DOMContentLoaded",f):D.document.attachEvent("onload",f)}else{let f=function(h,v){return v?n.on(h,v):n.trigger(h)};var l=f;this.blur=function(h){return f("blur",h)},this.change=function(h){return f("change",h)},this.click=function(h){return f("click",h)},this.dblclick=function(h){return f("dblclick",h)},this.error=function(h){return f("error",h)},this.keydown=function(h){return f("keydown",h)},this.keypress=function(h){return f("keypress",h)},this.keyup=function(h){return f("keyup",h)},this.load=function(h){return f("load",h)},this.mousedown=function(h){return f("mousedown",h)},this.mouseenter=function(h){return f("mouseenter",h)},this.mouseleave=function(h){return f("mouseleave",h)},this.mousemove=function(h){return f("mousemove",h)},this.mouseout=function(h){return f("mouseout",h)},this.mouseover=function(h){return f("mouseover",h)},this.mouseup=function(h){return f("mouseup",h)},this.scroll=function(h){return f("scroll",h)},this.select=function(h){return f("select",h)},this.submit=function(h){return f("submit",h)}}if(this._elem)if(this._isArray())for(var r=0;r<this._elem.length;r++)this._domtify(this._elem[r]);else this._domtify(this._elem);for(var s in Ae.fn)s=="extend"||s=="fn"||typeof Ae.fn[s]=="function"&&(this[s]=Ae.fn[s].bind(this));this.__domtify=!0}get(e){return this._elem?this._isArray()?this._elem[e]:e>0?null:this._elem:null}hasClass(e){if(!this._elem)return!1;for(var r=this.length?this.length:1,n=0;n<r;n++)if(Ge(this.get(n),e))return!0;return!1}addClass(e){if(!this._elem)return this;for(var r=this.length?this.length:1,n=0;n<r;n++)fr(this.get(n),e);return this}removeClass(e){if(!this._elem)return this;for(var r=this.length?this.length:1,n=0;n<r;n++)ur(this.get(n),e);return this}toggleClass(e){if(!this._elem)return this;for(var r=this.length?this.length:1,n=0;n<r;n++)Ge(this.get(n),e)?ur(this.get(n),e):fr(this.get(n),e);return this}remove(){if(!this._elem)return this;for(var e=this.length?this.length:1,r=e-1;r>=0;r--)Xr(this.get(r));return this}append(e){if(!this._elem)return this;var r=new t(e);return Gr(this.get(0),r),this}appendTo(e){if(!this._elem)return this;var r=new t(e);return r.append(this),this}prepend(e){if(!this._elem)return this;var r=new t(e);return Vr(this.get(0),r),this}prependTo(e){if(!this._elem)return this;var r=new t(e);return r.prepend(this),this}before(e){if(!this._elem)return this;for(var r=new t(e),n=this.length?this.length:1,s=0;s<n;s++)r.insertBefore(this.get(s));return this}insertBefore(e){if(!this._elem)return this;var r=new t(e);if(!r._isArray()){var n=this._elem;this._isArray()||(n=[n]);for(var s=0;s<n.length;s++)r[0].parentNode.insertBefore(n[s],r[0])}return this}after(e){if(!this._elem)return this;for(var r=new t(e),n=this.length?this.length:1,s=0;s<n;s++)r.insertAfter(this.get(s));return this}insertAfter(e){if(!this._elem)return this;var r=new t(e);if(!r._isArray()){var n=this._elem;this._isArray()||(n=[n]);for(var s=0;s<n.length;s++)r[0].parentNode.insertBefore(n[s],r[0].nextSibling)}return this}attr(e,r){if(!e)throw new Error("need attrName");if(!this._elem)return typeof r!="undefined"?this:void 0;if(typeof r=="undefined")return this.get(0).hasAttribute(e)?this.get(0).getAttribute(e):void 0;for(var n=this.length?this.length:1,s=0;s<n;s++)this.get(s).setAttribute(e,r);return this}removeAttr(e){if(!this._elem)return this;for(var r=this.length?this.length:1,n=0;n<r;n++)this.get(n).removeAttribute(e);return this}detach(){throw new Error("unimplement")}clone(){throw new Error("unimplement")}replaceAll(){throw new Error("unimplement")}unwrap(){throw new Error("unimplement")}wrap(){throw new Error("unimplement")}wrapAll(){throw new Error("unimplement")}wrapinner(){throw new Error("unimplement")}empty(){if(!this._elem)return this;for(var e=this.length?this.length:1,r=0;r<e;r++)this.get(r).innerHTML="";return this}html(e){if(!this._elem)return typeof e!="undefined"?this:void 0;if(typeof e=="undefined")return this.get(0).innerHTML;for(var r=this.length?this.length:1,n=0;n<r;n++)this.get(n).innerHTML=e;return this}text(e){if(!this._elem)return typeof e!="undefined"?this:void 0;if(typeof e=="undefined")return this.get(0).textContent;for(var r=this.length?this.length:1,n=0;n<r;n++)this.get(n).textContent=e;return this}val(e){if(!this._elem)return typeof e!="undefined"?this:void 0;if(typeof e=="undefined")return this.get(0).value;for(var r=this.length?this.length:1,n=0;n<r;n++)this.get(n).value=e;return this}css(e,r){if(!this._elem)return typeof r!="undefined"?this:void 0;if(typeof r=="undefined")return this.get(0).style[e];for(var n=this.length?this.length:0,s=0;s<n;s++)r==""?this.get(s).style[e]="":this.get(s).style[e]=r;return this}on(e,r){if(!e)throw new Error("need event name");if(typeof r!="function")throw new Error("on need function params");if(!this._elem)return this;for(var n=this.length?this.length:1,s=0;s<n;s++){var u=this.get(s);if(!((u instanceof t||u.__domtify)&&(u=u._elem,!u))){u.__events||(u.__events={}),u.__events[e]||(u.__events[e]=[]);var l=u.__events[e],f;for(f=0;f<l.length&&l[f]!==r;f++);f>=l.length&&l.push(r),"on"+e in u&&(u.addEventListener?u.addEventListener(e,r):u.attachEvent("on"+e,r))}}return this}one(e,r){if(!e||typeof e!="string")throw new Error("need event name");var n=this,s=function(u){n.off(e,s),r.bind(this)(u)};return n.on(e,s),this}off(e,r){if(!e)throw new Error("need event name");if(!this._elem)return this;if(!r){for(var f=this.length?this.length:1,n=0;n<f;n++){var s=this.get(n);if(!((s instanceof t||s.__domtify)&&(s=s._elem,!s))&&s.__events&&s.__events[e]){var u=s.__events[e],l;if("on"+e in s)for(l=0;l<u.length;l++)s.removeEventListener?s.removeEventListener(e,u[l]):s.detachEvent("on"+e,u[l]);s.__events[e]=[]}}return this}if(typeof r!="function")throw new Error("off need function params");for(var f=this.length?this.length:1,n=0;n<f;n++){var s=this.get(n);if(s instanceof t&&(s=s._elem),s.__events&&s.__events[e]){var u=s.__events[e],l;for(l=0;l<u.length;l++)if(u[l]===r){u.splice(l,1);break}}"on"+e in s&&(s.removeEventListener?s.removeEventListener(e,r):s.detachEvent("on"+e,r))}return this}trigger(e,r){if(!e)throw new Error("need event name");if(!this._elem)return this;for(var n=this.length?this.length:1,s=0;s<n;s++){var u=this.get(s);if(u instanceof t&&(u=u._elem),u){if("on"+e in u)if(!D.document.addEventListener)u.fireEvent("on"+e);else{var l=D.document.createEvent("HTMLEvents");l.initEvent(e,!0,!0),u.dispatchEvent(l)}else if(u.__events&&u.__events[e]){var l=u.__events[e],f,h;for(h={bubbles:!1,cancelable:!1,cancelBubble:!1,defaultPrevented:!1,type:e},h.currentTarget=u,h.target=u,f=0;f<l.length;f++)l[f](h,r)}}}return this}parent(e){if(!this._elem)return new t;var r;if(e&&(r=new t(e)),this._isArray()){var n=new t;n._elem=[],n._isArr=!0,n.length=0;for(var s=this.length?this.length:1,u=0;u<s;u++)this.get(u).parentNode&&(!r||r._isElementIn(this.get(u).parentNode))&&(this._domtify(this.get(u).parentNode),n._elem.push(this.get(u).parentNode),n[n.length]=this.get(u).parentNode,n.length++);return n._elem.length==0&&(n._elem=null),n}else return this._elem.parentNode?!r||r._isElementIn(this._elem.parentNode)?new t(this._elem.parentNode):new t:new t}parents(e){if(!this._elem)return new t;var r;e&&(r=new t(e));for(var n=[],s=this.length?this.length:1,u=0;u<s;u++)if(this.get(u).parentNode)for(var l=this.get(u);l.parentNode&&!(l.parentNode==D||l.parentNode==D.document);){if(!r||r._isElementIn(l.parentNode)){var f;for(f=0;f<n.length;f++)if(typeof n[f].isSameNode=="function"){if(n[f].isSameNode(l.parentNode))break}else if(n[f]===l.parentNode)break;f>=n.length&&n.push(l.parentNode)}l=l.parentNode}var h=new t;if(n.length>0){h._elem=n,h._isArr=!0,h.length=n.length;for(var u=0;u<n.length;u++)h._domtify(n[u]),h[u]=n[u]}return h}children(e){if(!this._elem)return new t;for(var r=[],n=this.length?this.length:1,s=0;s<n;s++){var u;if(e)u=or(e,this.get(s));else{u={_elem:[],_isarr:!0};for(var l=0;l<this.get(s).childNodes.length;l++)u._elem.push(this.get(s).childNodes[l])}u._elem&&(u._isarr?r=r.concat(u._elem):r.push(u._elem))}var f=new t;f._elem=r,f._isArr=!0,f.length=r.length;for(var s=0;s<r.length;s++)this._domtify(r[s]),f[s]=r[s];return f}next(e){if(!this._elem)return new t;var r;if(e&&(r=this.parent(),r=r.children(e)),this._isArray()){for(var n=[],s=this.length?this.length:1,u=0;u<s;u++)(!r||r._isElementIn(this.get(u).nextSibling))&&this.get(u).nextSibling&&n.push(this.get(u).nextSibling);var l=new t;l._elem=n,l._isArr=!0,l.length=n.length;for(var u=0;u<n.length;u++)this._domtify(n[u]),l[u]=n[u];return l}else{var n;(!r||r._isElementIn(this._elem.nextSibling))&&this._elem.nextSibling&&(n=this._elem.nextSibling);var l=new t;return l._elem=n,l[0]=n,l._isArr=!1,l.length=n?1:0,l}}prev(e){if(!this._elem)return new t;var r;if(e&&(r=this.parent(),r=r.children(e)),this._isArray()){for(var n=[],s=this.length?this.length:1,u=0;u<s;u++)(!r||r._isElementIn(this.get(u).previousSibling))&&this.get(u).previousSibling&&n.push(this.get(u).previousSibling);var l=new t;l._elem=n,l._isArr=!0,l.length=n.length;for(var u=0;u<n.length;u++)this._domtify(n[u]),l[u]=n[u];return l}else{var n;(!r||r._isElementIn(this._elem.previousSibling))&&this._elem.previousSibling&&(n=this._elem.previousSibling);var l=new t;return l._elem=n,l[0]=n,l._isArr=!1,l.length=n?1:0,l}}each(e){if(e)for(var r=0;r<this.length;r++)e(r,this.get(r))}_domtify(e){if(!(e instanceof t)&&!e.__domtify){var r=Object.getPrototypeOf(this);for(var n in r)n!="__proto__"&&n!="constructor"&&(e[n]||(e[n]=r[n].bind(e)));for(var n in Ae.fn)n=="extend"||n=="fn"||typeof Ae.fn[n]=="function"&&(e[n]||(e[n]=Ae.fn[n].bind(e)));e._isArr=!1,e._elem=e,e.__domtify=!0}}_isArray(){return this._isArr}_isElementIn(e){if(!this._elem)return!1;for(var r=this.length?this.length:1,n=0;n<r;n++)if(typeof this.get(n).isSameNode=="function"){if(this.get(n).isSameNode(e))return!0}else if(this.get(n)===e)return!0;return!1}};Ae=function(t){return new ge(t)};Ae.fn={};Ae.extend=function(t){if(arguments.length==0)return{};if(arguments.length==1){for(var e in arguments[0])e=="extend"||e=="fn"||typeof arguments[0][e]=="function"&&(Ae[e]=arguments[0][e]);return this}else{if(arguments[0]===!1)throw new Error("can't be false");var r={},n=0;for(arguments[0]===!0&&(n=1);n<arguments.length;n++)r=zr.mergeMap(r,arguments[n]);return r}};ge.getViewPort=function(){return D.document.compatMode=="BackCompat"?{width:D.document.body.clientWidth,height:D.document.body.clientHeight}:{width:D.document.documentElement.clientWidth,height:D.document.documentElement.clientHeight}};ge.getDocumentPort=function(){return D.document.compatMode=="BackCompat"?{width:D.document.body.scrollWidth,height:D.document.body.scrollHeight}:{width:Math.max(D.document.documentElement.scrollWidth,D.document.documentElement.clientWidth),height:Math.max(D.document.documentElement.scrollHeight,D.document.documentElement.clientHeight)}};ge.getDocumentOffset=function(){var t,e;return D.document.compatMode=="BackCompat"?(t=D.document.body.scrollLeft,e=D.document.body.scrollTop):(t=document.documentElement.scrollLeft==0?document.body.scrollLeft:document.documentElement.scrollLeft,e=document.documentElement.scrollTop==0?document.body.scrollTop:document.documentElement.scrollTop),{top:e,left:t}};ge.getElementOffset=function(t){if(!t)return{};var e=Ae(t);if(e=e[0],e)if(typeof e.getBoundingClientRect=="function"){var r=e.getBoundingClientRect();return{left:r.left,top:r.top}}else{for(var n=e.offsetLeft,s=e.offsetTop,u=e.offsetParent;u;)n+=u.offsetLeft,s+=u.offsetTop,u=u.offsetParent;var l,f;return D.document.compatMode=="BackCompat"?(l=D.document.body.scrollLeft,f=D.document.body.scrollTop):(l=D.document.documentElement.scrollLeft==0?D.document.body.scrollLeft:D.document.documentElement.scrollLeft,f=D.document.documentElement.scrollTop==0?D.document.body.scrollTop:D.document.documentElement.scrollTop),{left:n-l,top:s-f}}return{}};ge.isDom=function(t){return typeof HTMLElement=="object"?t instanceof HTMLElement:t&&typeof t=="object"&&t.nodeType===1&&typeof t.nodeName=="string"};ge.removeEventListener=function(t,e,r,n){t&&(t.addEventListener?t.removeEventListener(e,r,n):t.detachEvent("on"+e,r))};ge.addEventListener=function(t,e,r,n){t&&(t.addEventListener?t.addEventListener(e,r,n):t.attachEvent("on"+e,r))};wt.Dom=ge;wt.CreateDom=Ae});var cr={};Ct(cr,{$:()=>hn,__debug:()=>sn,crypt:()=>an,date:()=>on,dom:()=>cn,exception:()=>dn,net:()=>ln,string:()=>un,utils:()=>fn});var S,lr,Zr,Jr,Qr,Kr,en,tn,rn,hr,nn,R,sn,on,fn,un,an,ln,hn,cn,dn,dr=br(()=>{S=typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:void 0;S.__line||(S.__line=void 0,S.__column=void 0);Dt();lr=Nt(),Zr=It(),Jr=Ue(),Qr=ht(),Kr=Pt(),en=kt(),tn=$t(),rn=sr(),hr=ar(),nn=mt();S.__debug||(S.__debug=!1);S.requestAnimationFrame||(S.requestAnimationFrame=lr.requestAnimationFrame);S.cancelAnimationFrame||(S.cancelAnimationFrame=lr.cancelAnimationFrame);R={};R.__debug=S.__debug;R.date=Zr;R.utils=Jr;R.string=Qr;R.crypt=R.utils.mergeMap(Kr,en,tn);R.net=rn;R.$=hr.CreateDom;R.dom=hr.Dom;R.exception=nn;S.febs?(S.febs.string=S.febs.string?R.utils.mergeMap(S.febs.string,R.string):R.string,S.febs.crypt=S.febs.crypt?R.utils.mergeMap(S.febs.crypt,R.crypt):R.crypt,S.febs.utils=S.febs.utils?R.utils.mergeMap(S.febs.utils,R.utils):R.utils,S.febs.net=S.febs.net?R.utils.mergeMap(S.febs.net,R.net):R.net,S.febs.dom=S.febs.dom?R.utils.mergeMap(S.febs.dom,R.dom):R.dom,S.febs.exception=S.febs.exception?R.utils.mergeMap(S.febs.exception,R.exception):R.exception):S.febs=R;S.$||(S.$=R.$);S.jQuery||(S.jQuery=R.$);S.console&&(S.console.debug=function(){if(S.__debug){var t;S.console.warn?t=S.console.warn:t=S.console.log;for(var e=0;e<arguments.length;e++)t(arguments[e])}});sn=R.__debug,on=R.date,fn=R.utils,un=R.string,an=R.crypt,ln=R.net,hn=R.$,cn=R.dom,dn=R.exception});var pr=Y((gr,rt)=>{(function(t){"use strict";var e,r=/^-?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,n=Math.ceil,s=Math.floor,u=" not a boolean or binary digit",l="rounding mode",f="number type has more than 15 significant digits",h="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ$_",v=1e14,p=14,O=9007199254740991,L=[1,10,100,1e3,1e4,1e5,1e6,1e7,1e8,1e9,1e10,1e11,1e12,1e13],B=1e7,q=1e9;function le(T){var I,P,y=0,E=A.prototype,U=new A(1),k=20,G=4,he=-7,Ee=21,ze=-1e7,Ie=1e7,Q=!0,j=Ft,Pe=!1,Ye=1,Le=0,qe={decimalSeparator:".",groupSeparator:",",groupSize:3,secondaryGroupSize:0,fractionGroupSeparator:"\xA0",fractionGroupSize:0};function A(i,o){var m,c,g,w,x,a,d=this;if(!(d instanceof A))return Q&&pe(26,"constructor call without new",i),new A(i,o);if(o==null||!j(o,2,64,y,"base")){if(i instanceof A){d.s=i.s,d.e=i.e,d.c=(i=i.c)?i.slice():i,y=0;return}if((w=typeof i=="number")&&i*0==0){if(d.s=1/i<0?(i=-i,-1):1,i===~~i){for(c=0,g=i;g>=10;g/=10,c++);d.e=c,d.c=[i],y=0;return}a=i+""}else{if(!r.test(a=i+""))return P(d,a,w);d.s=a.charCodeAt(0)===45?(a=a.slice(1),-1):1}}else{if(o=o|0,a=i+"",o==10)return d=new A(i instanceof A?i:a),me(d,k+d.e+1,G);if((w=typeof i=="number")&&i*0!=0||!new RegExp("^-?"+(m="["+h.slice(0,o)+"]+")+"(?:\\."+m+")?$",o<37?"i":"").test(a))return P(d,a,w,o);w?(d.s=1/i<0?(a=a.slice(1),-1):1,Q&&a.replace(/^0\.0*|\./,"").length>15&&pe(y,f,i),w=!1):d.s=a.charCodeAt(0)===45?(a=a.slice(1),-1):1,a=Et(a,10,o,d.s)}for((c=a.indexOf("."))>-1&&(a=a.replace(".","")),(g=a.search(/e/i))>0?(c<0&&(c=g),c+=+a.slice(g+1),a=a.substring(0,g)):c<0&&(c=a.length),g=0;a.charCodeAt(g)===48;g++);for(x=a.length;a.charCodeAt(--x)===48;);if(a=a.slice(g,x+1),a)if(x=a.length,w&&Q&&x>15&&(i>O||i!==s(i))&&pe(y,f,d.s*i),c=c-g-1,c>Ie)d.c=d.e=null;else if(c<ze)d.c=[d.e=0];else{if(d.e=c,d.c=[],g=(c+1)%p,c<0&&(g+=p),g<x){for(g&&d.c.push(+a.slice(0,g)),x-=p;g<x;)d.c.push(+a.slice(g,g+=p));a=a.slice(g),g=p-a.length}else g-=x;for(;g--;a+="0");d.c.push(+a)}else d.c=[d.e=0];y=0}A.another=le,A.ROUND_UP=0,A.ROUND_DOWN=1,A.ROUND_CEIL=2,A.ROUND_FLOOR=3,A.ROUND_HALF_UP=4,A.ROUND_HALF_DOWN=5,A.ROUND_HALF_EVEN=6,A.ROUND_HALF_CEIL=7,A.ROUND_HALF_FLOOR=8,A.EUCLID=9,A.config=A.set=function(){var i,o,m=0,c={},g=arguments,w=g[0],x=w&&typeof w=="object"?function(){if(w.hasOwnProperty(o))return(i=w[o])!=null}:function(){if(g.length>m)return(i=g[m++])!=null};return x(o="DECIMAL_PLACES")&&j(i,0,q,2,o)&&(k=i|0),c[o]=k,x(o="ROUNDING_MODE")&&j(i,0,8,2,o)&&(G=i|0),c[o]=G,x(o="EXPONENTIAL_AT")&&(nt(i)?j(i[0],-q,0,2,o)&&j(i[1],0,q,2,o)&&(he=i[0]|0,Ee=i[1]|0):j(i,-q,q,2,o)&&(he=-(Ee=(i<0?-i:i)|0))),c[o]=[he,Ee],x(o="RANGE")&&(nt(i)?j(i[0],-q,-1,2,o)&&j(i[1],1,q,2,o)&&(ze=i[0]|0,Ie=i[1]|0):j(i,-q,q,2,o)&&(i|0?ze=-(Ie=(i<0?-i:i)|0):Q&&pe(2,o+" cannot be zero",i))),c[o]=[ze,Ie],x(o="ERRORS")&&(i===!!i||i===1||i===0?(y=0,j=(Q=!!i)?Ft:vr):Q&&pe(2,o+u,i)),c[o]=Q,x(o="CRYPTO")&&(i===!0||i===!1||i===1||i===0?i?(i=typeof crypto=="undefined",!i&&crypto&&(crypto.getRandomValues||crypto.randomBytes)?Pe=!0:Q?pe(2,"crypto unavailable",i?void 0:crypto):Pe=!1):Pe=!1:Q&&pe(2,o+u,i)),c[o]=Pe,x(o="MODULO_MODE")&&j(i,0,9,2,o)&&(Ye=i|0),c[o]=Ye,x(o="POW_PRECISION")&&j(i,0,q,2,o)&&(Le=i|0),c[o]=Le,x(o="FORMAT")&&(typeof i=="object"?qe=i:Q&&pe(2,o+" not an object",i)),c[o]=qe,c},A.max=function(){return bt(arguments,E.lt)},A.min=function(){return bt(arguments,E.gt)},A.random=(function(){var i=9007199254740992,o=Math.random()*i&2097151?function(){return s(Math.random()*i)}:function(){return(Math.random()*1073741824|0)*8388608+(Math.random()*8388608|0)};return function(m){var c,g,w,x,a,d=0,_=[],b=new A(U);if(m=m==null||!j(m,0,q,14)?k:m|0,x=n(m/p),Pe)if(crypto.getRandomValues){for(c=crypto.getRandomValues(new Uint32Array(x*=2));d<x;)a=c[d]*131072+(c[d+1]>>>11),a>=9e15?(g=crypto.getRandomValues(new Uint32Array(2)),c[d]=g[0],c[d+1]=g[1]):(_.push(a%1e14),d+=2);d=x/2}else if(crypto.randomBytes){for(c=crypto.randomBytes(x*=7);d<x;)a=(c[d]&31)*281474976710656+c[d+1]*1099511627776+c[d+2]*4294967296+c[d+3]*16777216+(c[d+4]<<16)+(c[d+5]<<8)+c[d+6],a>=9e15?crypto.randomBytes(7).copy(c,d):(_.push(a%1e14),d+=7);d=x/7}else Pe=!1,Q&&pe(14,"crypto unavailable",crypto);if(!Pe)for(;d<x;)a=o(),a<9e15&&(_[d++]=a%1e14);for(x=_[--d],m%=p,x&&m&&(a=L[p-m],_[d]=s(x/a)*a);_[d]===0;_.pop(),d--);if(d<0)_=[w=0];else{for(w=-1;_[0]===0;_.shift(),w-=p);for(d=1,a=_[0];a>=10;a/=10,d++);d<p&&(w-=p-d)}return b.e=w,b.c=_,b}})();function Et(i,o,m,c){var g,w,x,a,d,_,b,F=i.indexOf("."),N=k,M=G;for(m<37&&(i=i.toLowerCase()),F>=0&&(x=Le,Le=0,i=i.replace(".",""),b=new A(m),d=b.pow(i.length-F),Le=x,b.c=_t(Me(Te(d.c),d.e),10,o),b.e=b.c.length),_=_t(i,m,o),w=x=_.length;_[--x]==0;_.pop());if(!_[0])return"0";if(F<0?--w:(d.c=_,d.e=w,d.s=c,d=I(d,b,N,M,o),_=d.c,a=d.r,w=d.e),g=w+N+1,F=_[g],x=o/2,a=a||g<0||_[g+1]!=null,a=M<4?(F!=null||a)&&(M==0||M==(d.s<0?3:2)):F>x||F==x&&(M==4||a||M==6&&_[g-1]&1||M==(d.s<0?8:7)),g<1||!_[0])i=a?Me("1",-N):"0";else{if(_.length=g,a)for(--o;++_[--g]>o;)_[g]=0,g||(++w,_.unshift(1));for(x=_.length;!_[--x];);for(F=0,i="";F<=x;i+=h.charAt(_[F++]));i=Me(i,w)}return i}I=(function(){function i(c,g,w){var x,a,d,_,b=0,F=c.length,N=g%B,M=g/B|0;for(c=c.slice();F--;)d=c[F]%B,_=c[F]/B|0,x=M*d+_*N,a=N*d+x%B*B+b,b=(a/w|0)+(x/B|0)+M*_,c[F]=a%w;return b&&c.unshift(b),c}function o(c,g,w,x){var a,d;if(w!=x)d=w>x?1:-1;else for(a=d=0;a<w;a++)if(c[a]!=g[a]){d=c[a]>g[a]?1:-1;break}return d}function m(c,g,w,x){for(var a=0;w--;)c[w]-=a,a=c[w]<g[w]?1:0,c[w]=a*x+c[w]-g[w];for(;!c[0]&&c.length>1;c.shift());}return function(c,g,w,x,a){var d,_,b,F,N,M,$,Z,fe,z,H,K,Je,ot,ft,Be,Qe,be=c.s==g.s?1:-1,ue=c.c,V=g.c;if(!ue||!ue[0]||!V||!V[0])return new A(!c.s||!g.s||(ue?V&&ue[0]==V[0]:!V)?NaN:ue&&ue[0]==0||!V?be*0:be/0);for(Z=new A(be),fe=Z.c=[],_=c.e-g.e,be=w+_+1,a||(a=v,_=oe(c.e/p)-oe(g.e/p),be=be/p|0),b=0;V[b]==(ue[b]||0);b++);if(V[b]>(ue[b]||0)&&_--,be<0)fe.push(1),F=!0;else{for(ot=ue.length,Be=V.length,b=0,be+=2,N=s(a/(V[0]+1)),N>1&&(V=i(V,N,a),ue=i(ue,N,a),Be=V.length,ot=ue.length),Je=Be,z=ue.slice(0,Be),H=z.length;H<Be;z[H++]=0);Qe=V.slice(),Qe.unshift(0),ft=V[0],V[1]>=a/2&&ft++;do{if(N=0,d=o(V,z,Be,H),d<0){if(K=z[0],Be!=H&&(K=K*a+(z[1]||0)),N=s(K/ft),N>1)for(N>=a&&(N=a-1),M=i(V,N,a),$=M.length,H=z.length;o(M,z,$,H)==1;)N--,m(M,Be<$?Qe:V,$,a),$=M.length,d=1;else N==0&&(d=N=1),M=V.slice(),$=M.length;if($<H&&M.unshift(0),m(z,M,H,a),H=z.length,d==-1)for(;o(V,z,Be,H)<1;)N++,m(z,Be<H?Qe:V,H,a),H=z.length}else d===0&&(N++,z=[0]);fe[b++]=N,z[0]?z[H++]=ue[Je]||0:(z=[ue[Je]],H=1)}while((Je++<ot||z[0]!=null)&&be--);F=z[0]!=null,fe[0]||fe.shift()}if(a==v){for(b=1,be=fe[0];be>=10;be/=10,b++);me(Z,w+(Z.e=b+_*p-1)+1,x,F)}else Z.e=_,Z.r=+F;return Z}})();function Ze(i,o,m,c){var g,w,x,a,d;if(m=m!=null&&j(m,0,8,c,l)?m|0:G,!i.c)return i.toString();if(g=i.c[0],x=i.e,o==null)d=Te(i.c),d=c==19||c==24&&x<=he?Ve(d,x):Me(d,x);else if(i=me(new A(i),o,m),w=i.e,d=Te(i.c),a=d.length,c==19||c==24&&(o<=w||w<=he)){for(;a<o;d+="0",a++);d=Ve(d,w)}else if(o-=x,d=Me(d,w),w+1>a){if(--o>0)for(d+=".";o--;d+="0");}else if(o+=w-a,o>0)for(w+1==a&&(d+=".");o--;d+="0");return i.s<0&&g?"-"+d:d}function bt(i,o){var m,c,g=0;for(nt(i[0])&&(i=i[0]),m=new A(i[0]);++g<i.length;)if(c=new A(i[g]),c.s)o.call(m,c)&&(m=c);else{m=c;break}return m}function Ft(i,o,m,c,g){return(i<o||i>m||i!=it(i))&&pe(c,(g||"decimal places")+(i<o||i>m?" out of range":" not an integer"),i),!0}function st(i,o,m){for(var c=1,g=o.length;!o[--g];o.pop());for(g=o[0];g>=10;g/=10,c++);return(m=c+m*p-1)>Ie?i.c=i.e=null:m<ze?i.c=[i.e=0]:(i.e=m,i.c=o),i}P=(function(){var i=/^(-?)0([xbo])(?=\w[\w.]*$)/i,o=/^([^.]+)\.$/,m=/^\.([^.]+)$/,c=/^-?(Infinity|NaN)$/,g=/^\s*\+(?=[\w.])|^\s+|\s+$/g;return function(w,x,a,d){var _,b=a?x:x.replace(g,"");if(c.test(b))w.s=isNaN(b)?null:b<0?-1:1;else{if(!a&&(b=b.replace(i,function(F,N,M){return _=(M=M.toLowerCase())=="x"?16:M=="b"?2:8,!d||d==_?N:F}),d&&(_=d,b=b.replace(o,"$1").replace(m,"0.$1")),x!=b))return new A(b,_);Q&&pe(y,"not a"+(d?" base "+d:"")+" number",x),w.s=null}w.c=w.e=null,y=0}})();function pe(i,o,m){var c=new Error(["new BigNumber","cmp","config","div","divToInt","eq","gt","gte","lt","lte","minus","mod","plus","precision","random","round","shift","times","toDigits","toExponential","toFixed","toFormat","toFraction","pow","toPrecision","toString","BigNumber"][i]+"() "+o+": "+m);throw c.name="BigNumber Error",y=0,c}function me(i,o,m,c){var g,w,x,a,d,_,b,F=i.c,N=L;if(F){e:{for(g=1,a=F[0];a>=10;a/=10,g++);if(w=o-g,w<0)w+=p,x=o,d=F[_=0],b=d/N[g-x-1]%10|0;else if(_=n((w+1)/p),_>=F.length)if(c){for(;F.length<=_;F.push(0));d=b=0,g=1,w%=p,x=w-p+1}else break e;else{for(d=a=F[_],g=1;a>=10;a/=10,g++);w%=p,x=w-p+g,b=x<0?0:d/N[g-x-1]%10|0}if(c=c||o<0||F[_+1]!=null||(x<0?d:d%N[g-x-1]),c=m<4?(b||c)&&(m==0||m==(i.s<0?3:2)):b>5||b==5&&(m==4||c||m==6&&(w>0?x>0?d/N[g-x]:0:F[_-1])%10&1||m==(i.s<0?8:7)),o<1||!F[0])return F.length=0,c?(o-=i.e+1,F[0]=N[(p-o%p)%p],i.e=-o||0):F[0]=i.e=0,i;if(w==0?(F.length=_,a=1,_--):(F.length=_+1,a=N[p-w],F[_]=x>0?s(d/N[g-x]%N[x])*a:0),c)for(;;)if(_==0){for(w=1,x=F[0];x>=10;x/=10,w++);for(x=F[0]+=a,a=1;x>=10;x/=10,a++);w!=a&&(i.e++,F[0]==v&&(F[0]=1));break}else{if(F[_]+=a,F[_]!=v)break;F[_--]=0,a=1}for(w=F.length;F[--w]===0;F.pop());}i.e>Ie?i.c=i.e=null:i.e<ze&&(i.c=[i.e=0])}return i}return E.absoluteValue=E.abs=function(){var i=new A(this);return i.s<0&&(i.s=1),i},E.ceil=function(){return me(new A(this),this.e+1,2)},E.comparedTo=E.cmp=function(i,o){return y=1,$e(this,new A(i,o))},E.decimalPlaces=E.dp=function(){var i,o,m=this.c;if(!m)return null;if(i=((o=m.length-1)-oe(this.e/p))*p,o=m[o])for(;o%10==0;o/=10,i--);return i<0&&(i=0),i},E.dividedBy=E.div=function(i,o){return y=3,I(this,new A(i,o),k,G)},E.dividedToIntegerBy=E.divToInt=function(i,o){return y=4,I(this,new A(i,o),0,1)},E.equals=E.eq=function(i,o){return y=5,$e(this,new A(i,o))===0},E.floor=function(){return me(new A(this),this.e+1,3)},E.greaterThan=E.gt=function(i,o){return y=6,$e(this,new A(i,o))>0},E.greaterThanOrEqualTo=E.gte=function(i,o){return y=7,(o=$e(this,new A(i,o)))===1||o===0},E.isFinite=function(){return!!this.c},E.isInteger=E.isInt=function(){return!!this.c&&oe(this.e/p)>this.c.length-2},E.isNaN=function(){return!this.s},E.isNegative=E.isNeg=function(){return this.s<0},E.isZero=function(){return!!this.c&&this.c[0]==0},E.lessThan=E.lt=function(i,o){return y=8,$e(this,new A(i,o))<0},E.lessThanOrEqualTo=E.lte=function(i,o){return y=9,(o=$e(this,new A(i,o)))===-1||o===0},E.minus=E.sub=function(i,o){var m,c,g,w,x=this,a=x.s;if(y=10,i=new A(i,o),o=i.s,!a||!o)return new A(NaN);if(a!=o)return i.s=-o,x.plus(i);var d=x.e/p,_=i.e/p,b=x.c,F=i.c;if(!d||!_){if(!b||!F)return b?(i.s=-o,i):new A(F?x:NaN);if(!b[0]||!F[0])return F[0]?(i.s=-o,i):new A(b[0]?x:G==3?-0:0)}if(d=oe(d),_=oe(_),b=b.slice(),a=d-_){for((w=a<0)?(a=-a,g=b):(_=d,g=F),g.reverse(),o=a;o--;g.push(0));g.reverse()}else for(c=(w=(a=b.length)<(o=F.length))?a:o,a=o=0;o<c;o++)if(b[o]!=F[o]){w=b[o]<F[o];break}if(w&&(g=b,b=F,F=g,i.s=-i.s),o=(c=F.length)-(m=b.length),o>0)for(;o--;b[m++]=0);for(o=v-1;c>a;){if(b[--c]<F[c]){for(m=c;m&&!b[--m];b[m]=o);--b[m],b[c]+=v}b[c]-=F[c]}for(;b[0]==0;b.shift(),--_);return b[0]?st(i,b,_):(i.s=G==3?-1:1,i.c=[i.e=0],i)},E.modulo=E.mod=function(i,o){var m,c,g=this;return y=11,i=new A(i,o),!g.c||!i.s||i.c&&!i.c[0]?new A(NaN):!i.c||g.c&&!g.c[0]?new A(g):(Ye==9?(c=i.s,i.s=1,m=I(g,i,0,3),i.s=c,m.s*=c):m=I(g,i,0,Ye),g.minus(m.times(i)))},E.negated=E.neg=function(){var i=new A(this);return i.s=-i.s||null,i},E.plus=E.add=function(i,o){var m,c=this,g=c.s;if(y=12,i=new A(i,o),o=i.s,!g||!o)return new A(NaN);if(g!=o)return i.s=-o,c.minus(i);var w=c.e/p,x=i.e/p,a=c.c,d=i.c;if(!w||!x){if(!a||!d)return new A(g/0);if(!a[0]||!d[0])return d[0]?i:new A(a[0]?c:g*0)}if(w=oe(w),x=oe(x),a=a.slice(),g=w-x){for(g>0?(x=w,m=d):(g=-g,m=a),m.reverse();g--;m.push(0));m.reverse()}for(g=a.length,o=d.length,g-o<0&&(m=d,d=a,a=m,o=g),g=0;o;)g=(a[--o]=a[o]+d[o]+g)/v|0,a[o]=v===a[o]?0:a[o]%v;return g&&(a.unshift(g),++x),st(i,a,x)},E.precision=E.sd=function(i){var o,m,c=this,g=c.c;if(i!=null&&i!==!!i&&i!==1&&i!==0&&(Q&&pe(13,"argument"+u,i),i!=!!i&&(i=null)),!g)return null;if(m=g.length-1,o=m*p+1,m=g[m]){for(;m%10==0;m/=10,o--);for(m=g[0];m>=10;m/=10,o++);}return i&&c.e+1>o&&(o=c.e+1),o},E.round=function(i,o){var m=new A(this);return(i==null||j(i,0,q,15))&&me(m,~~i+this.e+1,o==null||!j(o,0,8,15,l)?G:o|0),m},E.shift=function(i){var o=this;return j(i,-O,O,16,"argument")?o.times("1e"+it(i)):new A(o.c&&o.c[0]&&(i<-O||i>O)?o.s*(i<0?0:1/0):o)},E.squareRoot=E.sqrt=function(){var i,o,m,c,g,w=this,x=w.c,a=w.s,d=w.e,_=k+4,b=new A("0.5");if(a!==1||!x||!x[0])return new A(!a||a<0&&(!x||x[0])?NaN:x?w:1/0);if(a=Math.sqrt(+w),a==0||a==1/0?(o=Te(x),(o.length+d)%2==0&&(o+="0"),a=Math.sqrt(o),d=oe((d+1)/2)-(d<0||d%2),a==1/0?o="1e"+d:(o=a.toExponential(),o=o.slice(0,o.indexOf("e")+1)+d),m=new A(o)):m=new A(a+""),m.c[0]){for(d=m.e,a=d+_,a<3&&(a=0);;)if(g=m,m=b.times(g.plus(I(w,g,_,1))),Te(g.c).slice(0,a)===(o=Te(m.c)).slice(0,a))if(m.e<d&&--a,o=o.slice(a-3,a+1),o=="9999"||!c&&o=="4999"){if(!c&&(me(g,g.e+k+2,0),g.times(g).eq(w))){m=g;break}_+=4,a+=4,c=1}else{(!+o||!+o.slice(1)&&o.charAt(0)=="5")&&(me(m,m.e+k+2,1),i=!m.times(m).eq(w));break}}return me(m,m.e+k+1,G,i)},E.times=E.mul=function(i,o){var m,c,g,w,x,a,d,_,b,F,N,M,$,Z,fe,z=this,H=z.c,K=(y=17,i=new A(i,o)).c;if(!H||!K||!H[0]||!K[0])return!z.s||!i.s||H&&!H[0]&&!K||K&&!K[0]&&!H?i.c=i.e=i.s=null:(i.s*=z.s,!H||!K?i.c=i.e=null:(i.c=[0],i.e=0)),i;for(c=oe(z.e/p)+oe(i.e/p),i.s*=z.s,d=H.length,F=K.length,d<F&&($=H,H=K,K=$,g=d,d=F,F=g),g=d+F,$=[];g--;$.push(0));for(Z=v,fe=B,g=F;--g>=0;){for(m=0,N=K[g]%fe,M=K[g]/fe|0,x=d,w=g+x;w>g;)_=H[--x]%fe,b=H[x]/fe|0,a=M*_+b*N,_=N*_+a%fe*fe+$[w]+m,m=(_/Z|0)+(a/fe|0)+M*b,$[w--]=_%Z;$[w]=m}return m?++c:$.shift(),st(i,$,c)},E.toDigits=function(i,o){var m=new A(this);return i=i==null||!j(i,1,q,18,"precision")?null:i|0,o=o==null||!j(o,0,8,18,l)?G:o|0,i?me(m,i,o):m},E.toExponential=function(i,o){return Ze(this,i!=null&&j(i,0,q,19)?~~i+1:null,o,19)},E.toFixed=function(i,o){return Ze(this,i!=null&&j(i,0,q,20)?~~i+this.e+1:null,o,20)},E.toFormat=function(i,o){var m=Ze(this,i!=null&&j(i,0,q,21)?~~i+this.e+1:null,o,21);if(this.c){var c,g=m.split("."),w=+qe.groupSize,x=+qe.secondaryGroupSize,a=qe.groupSeparator,d=g[0],_=g[1],b=this.s<0,F=b?d.slice(1):d,N=F.length;if(x&&(c=w,w=x,x=c,N-=c),w>0&&N>0){for(c=N%w||w,d=F.substr(0,c);c<N;c+=w)d+=a+F.substr(c,w);x>0&&(d+=a+F.slice(c)),b&&(d="-"+d)}m=_?d+qe.decimalSeparator+((x=+qe.fractionGroupSize)?_.replace(new RegExp("\\d{"+x+"}\\B","g"),"$&"+qe.fractionGroupSeparator):_):d}return m},E.toFraction=function(i){var o,m,c,g,w,x,a,d,_,b=Q,F=this,N=F.c,M=new A(U),$=m=new A(U),Z=a=new A(U);if(i!=null&&(Q=!1,x=new A(i),Q=b,(!(b=x.isInt())||x.lt(U))&&(Q&&pe(22,"max denominator "+(b?"out of range":"not an integer"),i),i=!b&&x.c&&me(x,x.e+1,1).gte(U)?x:null)),!N)return F.toString();for(_=Te(N),g=M.e=_.length-F.e-1,M.c[0]=L[(w=g%p)<0?p+w:w],i=!i||x.cmp(M)>0?g>0?M:$:x,w=Ie,Ie=1/0,x=new A(_),a.c[0]=0;d=I(x,M,0,1),c=m.plus(d.times(Z)),c.cmp(i)!=1;)m=Z,Z=c,$=a.plus(d.times(c=$)),a=c,M=x.minus(d.times(c=M)),x=c;return c=I(i.minus(m),Z,0,1),a=a.plus(c.times($)),m=m.plus(c.times(Z)),a.s=$.s=F.s,g*=2,o=I($,Z,g,G).minus(F).abs().cmp(I(a,m,g,G).minus(F).abs())<1?[$.toString(),Z.toString()]:[a.toString(),m.toString()],Ie=w,o},E.toNumber=function(){return+this},E.toPower=E.pow=function(i,o){var m,c,g,w=s(i<0?-i:+i),x=this;if(o!=null&&(y=23,o=new A(o)),!j(i,-O,O,23,"exponent")&&(!isFinite(i)||w>O&&(i/=0)||parseFloat(i)!=i&&!(i=NaN))||i==0)return m=Math.pow(+x,i),new A(o?m%o:m);for(o?i>1&&x.gt(U)&&x.isInt()&&o.gt(U)&&o.isInt()?x=x.mod(o):(g=o,o=null):Le&&(m=n(Le/p+2)),c=new A(U);;){if(w%2){if(c=c.times(x),!c.c)break;m?c.c.length>m&&(c.c.length=m):o&&(c=c.mod(o))}if(w=s(w/2),!w)break;x=x.times(x),m?x.c&&x.c.length>m&&(x.c.length=m):o&&(x=x.mod(o))}return o?c:(i<0&&(c=U.div(c)),g?c.mod(g):m?me(c,Le,G):c)},E.toPrecision=function(i,o){return Ze(this,i!=null&&j(i,1,q,24,"precision")?i|0:null,o,24)},E.toString=function(i){var o,m=this,c=m.s,g=m.e;return g===null?c?(o="Infinity",c<0&&(o="-"+o)):o="NaN":(o=Te(m.c),i==null||!j(i,2,64,25,"base")?o=g<=he||g>=Ee?Ve(o,g):Me(o,g):o=Et(Me(o,g),i|0,10,c),c<0&&m.c[0]&&(o="-"+o)),o},E.truncated=E.trunc=function(){return me(new A(this),this.e+1,1)},E.valueOf=E.toJSON=function(){var i,o=this,m=o.e;return m===null?o.toString():(i=Te(o.c),i=m<=he||m>=Ee?Ve(i,m):Me(i,m),o.s<0?"-"+i:i)},E.isBigNumber=!0,T!=null&&A.config(T),A}function oe(T){var I=T|0;return T>0||T===I?I:I-1}function Te(T){for(var I,P,y=1,E=T.length,U=T[0]+"";y<E;){for(I=T[y++]+"",P=p-I.length;P--;I="0"+I);U+=I}for(E=U.length;U.charCodeAt(--E)===48;);return U.slice(0,E+1||1)}function $e(T,I){var P,y,E=T.c,U=I.c,k=T.s,G=I.s,he=T.e,Ee=I.e;if(!k||!G)return null;if(P=E&&!E[0],y=U&&!U[0],P||y)return P?y?0:-G:k;if(k!=G)return k;if(P=k<0,y=he==Ee,!E||!U)return y?0:!E^P?1:-1;if(!y)return he>Ee^P?1:-1;for(G=(he=E.length)<(Ee=U.length)?he:Ee,k=0;k<G;k++)if(E[k]!=U[k])return E[k]>U[k]^P?1:-1;return he==Ee?0:he>Ee^P?1:-1}function vr(T,I,P){return(T=it(T))>=I&&T<=P}function nt(T){return Object.prototype.toString.call(T)=="[object Array]"}function _t(T,I,P){for(var y,E=[0],U,k=0,G=T.length;k<G;){for(U=E.length;U--;E[U]*=I);for(E[y=0]+=h.indexOf(T.charAt(k++));y<E.length;y++)E[y]>P-1&&(E[y+1]==null&&(E[y+1]=0),E[y+1]+=E[y]/P|0,E[y]%=P)}return E.reverse()}function Ve(T,I){return(T.length>1?T.charAt(0)+"."+T.slice(1):T)+(I<0?"e":"e+")+I}function Me(T,I){var P,y;if(I<0){for(y="0.";++I;y+="0");T=y+T}else if(P=T.length,++I>P){for(y="0",I-=P;--I;y+="0");T+=y}else I<P&&(T=T.slice(0,I)+"."+T.slice(I));return T}function it(T){return T=parseFloat(T),T<0?n(T):s(T)}e=le(),e.default=e.BigNumber=e,typeof define=="function"&&define.amd?define(function(){return e}):typeof rt!="undefined"&&rt.exports?rt.exports=e:(t||(t=typeof self!="undefined"?self:Function("return this")()),t.BigNumber=e)})(gr)});var mr=Y(se=>{"use strict";var W=pr();se.BigNumber=W;se.bigint=function(t){return se.bigint_check(t)?typeof t=="string"?t.length>=15?new W(t):Number(t):t:Number.NaN};se.bigint_check=function(t){if(Number.isInteger(t))return!0;if(!t)return!1;var e=typeof t;if(e==="string"){if(t.length>100||t.length<1)return!1;for(var r=1;r<t.length;r++)if(t[r]<"0"||t[r]>"9")return!1;if(t.length==1)return!(t[0]<"0"||t[0]>"9");if(t[0]=="-"){if(t.length<2||t[1]<"1"||t[1]>"9")return!1}else if(t[0]<"1"||t[0]>"9")return!1;return!0}else return e==="object"?!!t.isBigNumber:!1};se.bigint_add=function(t,e){return t instanceof W||(t=new W(t)),t.plus(e)};se.bigint_minus=function(t,e){return t instanceof W||(t=new W(t)),t.minus(e)};se.bigint_dividedBy=function(t,e){return t instanceof W||(t=new W(t)),t.dividedBy(e)};se.bigint_mul=function(t,e){return t instanceof W||(t=new W(t)),t.times(e)};se.bigint_equal=function(t,e){return t instanceof W||(t=new W(t)),t.equals(e)};se.bigint_more_than=function(t,e){return t instanceof W||(t=new W(t)),t.greaterThan(e)};se.bigint_more_than_e=function(t,e){return t instanceof W||(t=new W(t)),t.greaterThanOrEqualTo(e)};se.bigint_less_than=function(t,e){return t instanceof W||(t=new W(t)),t.lessThan(e)};se.bigint_less_than_e=function(t,e){return t instanceof W||(t=new W(t)),t.lessThanOrEqualTo(e)};se.bigint_mod=function(t,e){return Number.isInteger(t)?Number.isInteger(e)?t%e:new W(t).mod(e):(t instanceof W||(t=new W(t)),t.mod(e))};se.bigint_toFixed=function(t,e){return e=e||0,t instanceof W||(t=new W(t)),t.toFixed(e)}});var Cn={};Ct(Cn,{$:()=>En,BigNumber:()=>gn,__debug:()=>pn,crypt:()=>wn,date:()=>mn,dom:()=>bn,exception:()=>Fn,net:()=>_n,string:()=>vn,utils:()=>xn});var Ne=(dr(),At(cr)),xr=mr(),gn=xr.BigNumber,pn=Ne.__debug,mn=Ne.date,xn=Ne.utils.mergeMap(Ne.utils,xr),vn=Ne.string,wn=Ne.crypt,_n=Ne.net,En=Ne.$,bn=Ne.dom,Fn=Ne.exception;return At(Cn);})();
|