Comparing version 0.8.89 to 0.8.90
@@ -0,0 +0,0 @@ (function () { |
@@ -0,0 +0,0 @@ 'use strict'; |
@@ -1,1 +0,1 @@ | ||
!function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={"i":r,"l":!1,"exports":{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};t.m=e,t.c=n,t.i=function(e){return e},t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{"configurable":!1,"enumerable":!0,"get":r})},t.n=function(e){var n=e&&e.__esModule?function(){return e['default']}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=13)}([function(e,t,n){"use strict";var r=n(15);t.sleep=r.sleep,t.browserIsMobile=r.browserIsMobile,t.browserIsIOS=r.browserIsIOS,t.browserIsPhone=r.browserIsPhone,t.browserIsWeixin=r.browserIsWeixin,t.getTimeString=r.getTimeString,t.getTimeStringFromNow=r.getTimeStringFromNow,t.getDate=r.getDate,t.getDate2=r.getDate2,t.mergeMap=r.mergeMap,t.isNull=r.isNull,t.denodeify=r.denodeify,t.browserIsIE=function(){return!!(window.ActiveXObject||"ActiveXObject"in window)},t.browserIEVer=function(){if(!t.browserIsIE())return Number.MAX_SAFE_INTEGER;var e=navigator.userAgent,n=e.indexOf("compatible")>-1&&e.indexOf("MSIE")>-1,r=e.indexOf("Edge")>-1&&!n,o=e.indexOf("Trident")>-1&&e.indexOf("rv:11.0")>-1;if(n){new RegExp("MSIE (\\d+\\.\\d+);").test(e);var i=parseFloat(RegExp.$1);return 7==i?7:8==i?8:9==i?9:10==i?10:6}return r?"edge":o?11:void Number.MAX_SAFE_INTEGER},t.browserIsSupportHtml5=function(){return"undefined"!=typeof Worker}},function(e,t,n){"use strict";var r=n(3);t.isPhoneMobile=r.isPhoneMobile,t.isEmpty=r.isEmpty,t.isEmail=r.isEmail,t.isAlphaOrDigit=r.isAlphaOrDigit,t.isChinese=r.isChinese,t.getByteSize=r.getByteSize,t.replace=r.replace,t.utf8ToBytes=r.utf8ToBytes,t.bytesToUtf8=r.bytesToUtf8,t.trim=r.trim,t.escapeHtml=r.escapeHtml},function(e,t,n){"use strict";function r(e,t,n){if("number"!=typeof e)return"";t=t||"HH:mm:ss";var r=new Date(e),o={"M+":r.getMonth()+1,"d+":r.getDate(),"h+":r.getHours()%12==0?12:r.getHours()%12,"H+":r.getHours(),"m+":r.getMinutes(),"s+":r.getSeconds(),"q+":Math.floor((r.getMonth()+3)/3),"S":r.getMilliseconds()},i=n||{"0":"星期天","1":"星期一","2":"星期二","3":"星期三","4":"星期四","5":"星期五","6":"星期六"};/(y+)/.test(t)&&(t=t.replace(RegExp.$1,(r.getFullYear()+"").substr(4-RegExp.$1.length))),/(E+)/.test(t)&&(t=t.replace(RegExp.$1,i[r.getDay()+""]));for(var s in o)new RegExp("("+s+")").test(t)&&(t=t.replace(RegExp.$1,1==RegExp.$1.length?o[s]:("00"+o[s]).substr((""+o[s]).length)));return t}Promise;t.isValidate=function(e){return!(isNaN(e)||!e||"Invalid Date"==e.toString())&&e instanceof Date},t.getTimeString=r,t.getTimeStringFromNow=function(e,t){t=t||{},t.now=t.now||"刚刚",t.second=t.second||"秒前",t.minute=t.minute||"分钟前",t.hour=t.hour||"小时前",t.day_yesterday=t.day_yesterday||"昨天",t.day=t.day||"天前",t.month=t.month||"个月前",t.time=t.time||"yyyy-M-d h:m:s";var n=Math.ceil(Date.now()/1e3);if(e=Math.ceil(e/1e3),n>e){var o=n-e;if(o<3)return t.now;if(o<60)return o.toString()+t.second;if(o<3600)return Math.ceil(o/60).toString()+t.minute;if(o<86400)return Math.ceil(o/60/60).toString()+t.hour;if(o<2592e3){var i=new Date(1e3*n);return i.setHours(0,0,1),i.getTime()-e<=86400?t.day_yesterday:Math.ceil(o/60/60/24).toString()+t.day}return o<15552e3?Math.ceil(o/60/60/24/30).toString()+t.month:r(e,t.time)}return t.now},t.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},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},t.getDate=function(e){return new Date(parseInt(e.substr(0,4)),parseInt(e.substr(5,2),10)-1,parseInt(e.substr(8,2)))},t.getDate2=function(e){return new Date(parseInt(e.substr(0,4)),parseInt(e.substr(4,2),10)-1,parseInt(e.substr(6,2)))},t.getUTCTimeString=function(e,t,n){if("number"!=typeof e)return"";t=t||"HH:mm:ss";var r=new Date(e),o={"M+":r.getUTCMonth()+1,"d+":r.getUTCDate(),"h+":r.getUTCHours()%12==0?12:r.getUTCHours()%12,"H+":r.getUTCHours(),"m+":r.getUTCMinutes(),"s+":r.getUTCSeconds(),"q+":Math.floor((r.getUTCMonth()+3)/3),"S":r.getUTCMilliseconds()},i=n||{"0":"星期天","1":"星期一","2":"星期二","3":"星期三","4":"星期四","5":"星期五","6":"星期六"};/(y+)/.test(t)&&(t=t.replace(RegExp.$1,(r.getUTCFullYear()+"").substr(4-RegExp.$1.length))),/(E+)/.test(t)&&(t=t.replace(RegExp.$1,i[r.getUTCDay()+""]));for(var s in o)new RegExp("("+s+")").test(t)&&(t=t.replace(RegExp.$1,1==RegExp.$1.length?o[s]:("00"+o[s]).substr((""+o[s]).length)));return t},t.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},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},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},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}},function(e,t,n){"use strict";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,n,r=0;for(t=0;t<e.length;t++)n=e.charCodeAt(t),n<127?r+=1:128<=n&&n<=2047?r+=2:2048<=n&&n<=65535?r+=3:65536<=n&&(r+=4);return r},t.replace=function(e,t,n){if(!e||!t)return e;if(0==e.length)return e;var r="",o=e.length,i=0,s=0;do{if(!(-1!=(i=e.indexOf(t,s))&&i<o)){r+=e.slice(s);break}i!=s&&(r+=e.slice(s,i)),r+=n,s=i+t.length}while(i<o);return r},t.utf8ToBytes=function(e){if(!e)return new Array;var t,n,r=new Array;t=e.length;for(var o=0;o<t;o++)n=e.charCodeAt(o),n>=65536&&n<=1114111?(r.push(n>>18&7|240),r.push(n>>12&63|128),r.push(n>>6&63|128),r.push(63&n|128)):n>=2048&&n<=65535?(r.push(n>>12&15|224),r.push(n>>6&63|128),r.push(63&n|128)):n>=128&&n<=2047?(r.push(n>>6&31|192),r.push(63&n|128)):r.push(255&n);return r},t.bytesToUtf8=function(e){for(var t="",n=0;n<e.length;){var r=e[n],o=0;r>>>7==0?(t+=String.fromCharCode(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+=String.fromCharCode(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+=String.fromCharCode(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+=String.fromCharCode(o),n+=4):224==(224&r)?(o=(31&e[n])<<12,o|=(63&e[n+1])<<6,o|=63&e[n+2],t+=String.fromCharCode(o),n+=3):192==(192&r)?(o=(63&e[n])<<6,o|=63&e[n+1],t+=String.fromCharCode(o),n+=2):(t+=String.fromCharCode(e[n]),n+=1)}return t},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||""}},function(e,t,n){"use strict";t.DefaultTimeout=5e3,t.transfer=function(e){var t;if(e.XMLHttpRequest)t=new XMLHttpRequest;else if(e.XDomainRequest)t=new XDomainRequest;else for(var n=new Array("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(o){}return t}},function(e,t,n){"use strict";!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})})})}()},function(e,t,n){"use strict";var r={},o=0;window.requestAnimationFrame=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame,window.cancelAnimationFrame=window.cancelAnimationFrame||window.mozCancelAnimationFrame,window.requestAnimationFrame||(window.requestAnimationFrame=function(e){var t=Date.now(),n=Math.max(0,16-(t-o)),r=window.setTimeout(function(){e(t+n)},n);return o=t+n,r}),window.cancelAnimationFrame||(window.cancelAnimationFrame=function(e){clearTimeout(e)}),r.requestAnimationFrame=window.requestAnimationFrame,r.cancelAnimationFrame=window.cancelAnimationFrame,e.exports=r},function(e,t,n){"use strict";function r(e,t){t||(t=0),t^=-1;for(var n=0,r=e.length;n<r;n++)t=t>>>8^i.crc32_table[255&(t^e.charCodeAt(n))];return-1^t}function o(e,t,n,o){if(!e||!o)return void(o&&o(0));if(t>=e.size||t<0||0==n)return void(o&&o(0));n<0&&(n=e.size);var i=File.prototype.mozSlice||File.prototype.webkitSlice||File.prototype.slice,s=new FileReader;e.size-t<n&&(n=e.size-t);var a=Math.ceil(n/2097152),u=0,l=function(){var r=2097152*u+t,o=r+2097152>=n+t?n+t:r+2097152;s.readAsBinaryString(i.call(e,r,o))},f=0;s.onload=function(e){f=r(e.target.result,f),u++,u<a?l():o(f)},l()}var i=n(14);t.crc32=r,t.crc32_fileSegment=o,t.crc32_file=function(e,t){o(e,0,e.size,t)},t.base64_encode=i.base64_encode,t.base64_decode=function(e){for(var t,n,r,o,i=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),s=0,a=e.length,u=[];s<a;){do{t=i[255&e.charCodeAt(s++)]}while(s<a&&-1==t);if(-1==t)break;do{n=i[255&e.charCodeAt(s++)]}while(s<a&&-1==n);if(-1==n)break;u.push(t<<2|(48&n)>>4);do{if(61==(r=255&e.charCodeAt(s++)))return u;r=i[r]}while(s<a&&-1==r);if(-1==r)break;u.push((15&n)<<4|(60&r)>>2);do{if(61==(o=255&e.charCodeAt(s++)))return u;o=i[o]}while(s<a&&-1==o);if(-1==o)break;u.push((3&r)<<6|o)}return u},t.uuid=function(){for(var e=[],t="0123456789abcdef",n=0;n<36;n++)e[n]=t.substr(Math.floor(16*Math.random()),1);return e[14]="4",e[19]=t.substr(3&e[19]|8,1),e[8]=e[13]=e[18]=e[23]="-",e.join("")}},function(e,t,n){"use strict";var r=n(2);t.isValidate=r.isValidate,t.getDate=r.getDate,t.getDate2=r.getDate2,t.getDate2FromUTC=r.getDate2FromUTC,t.getDateFromUTC=r.getDateFromUTC,t.getTime2FromUTC=r.getTime2FromUTC,t.getTimeString=r.getTimeString,t.getUTCTimeString=r.getUTCTimeString,t.getTimeStringFromNow=r.getTimeStringFromNow,t.getTimeFromUTC=r.getTimeFromUTC,t.getTime=r.getTime,t.getTime2=r.getTime2},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t,n){var r,o,i,a=0,u=t.split(":");if(t=u[0],t=w.trim(t),(u=u[1])&&"checked"!=u&&"disabled"!=u)throw new Error("only support `:checked or :disabled` selector");if(t.indexOf("[")>0){var l=t.indexOf("[");if(o=t.substring(l+1,t.length-1),o=o.split("="),2!=o.length)throw new Error("Syntax error, unrecognized expression: "+t);i=o[1],(i.indexOf("'")>=0||i.indexOf('"')>=0)&&(i=i.substring(1,i.length-1)),o=o[0],t=t.substr(0,l)}if("."==t[0]?(a=2,t=t.substr(1)):"#"==t[0]&&(a=1,t=t.substr(1)),e&&0!=e.length){r=[];for(var f=0;f<e.length;f++){var d=e[f].childNodes;if(d){for(var c=[],h=0;h<d.length;h++)c.push(d[h]);for(var h=0;h<c.length;h++){var p=!0;if(u&&("disabled"==u?c[h].disabled||(p=!1):"checked"==u&&(c[h].checked||(p=!1))),p&&o&&c[h].getAttribute(o)!==i&&(p=!1),p)if(2==a){if(s(c[h],t)){r.push(c[h]);continue}}else if(1==a){if(c[h].id==t){r.push(c[h]);continue}}else if(0==a&&c[h].nodeName.toUpperCase()==t.toUpperCase()){r.push(c[h]);continue}if(!n){var m=c[h].childNodes;if(m&&m.length>0){for(var g=0;g<m.length;g++)c.push(m[g]);h>20&&(c=c.slice(h+1),h=-1)}}}}}}else{if(2==a?r=window.document.getElementsByClassName(t):1==a?(r=window.document.getElementById(t),r=r?[r]:[]):0==a&&(r=window.document.getElementsByTagName(t)),o){var y=r;r=[];for(var f=0;f<y.length;f++)y[f].getAttribute(o)===i&&r.push(y[f])}if(u){var y=r;r=[];for(var f=0;f<y.length;f++)"disabled"==u?y[f].disabled&&r.push(y[f]):"checked"==u&&y[f].checked&&r.push(y[f])}}return r}function i(e,t){""===e&&(e=null);var n,r=!1;if("string"==typeof e)if("<"==e[0])n=window.document.createElement("div"),n.innerHTML=e,1==n.childNodes.length?(n=n.childNodes[0],r=!1):(n=n.childNodes,r=!0);else{if(e.indexOf("<")>0||e.indexOf(">")>0)throw new Error("Syntax error, unrecognized");for(var i=e.split(" "),s=t?[t]:null,a=0;a<i.length;a++)""!=i[a]&&(s=o(s,i[a],!!t));s.length<=1?(n=s[0],r=!1):(n=s,r=!0)}else n=e;return{"_elem":n,"_isarr":r}}function s(e,t){return!(!e||!e.className||"function"!=typeof e.className.match)&&!!e.className.match(new RegExp("(\\s|^)"+t+"(\\s|$)"))}function a(e,t){e&&"string"==typeof e.className&&(s(e,t)||(w.isEmpty(e.className)?e.className+=t:e.className+=" "+t))}function u(e,t){e&&"string"==typeof e.className&&s(e,t)&&(e.className=e.className.replace(new RegExp("(\\s|^)"+t+"(\\s|$)")," "),e.className=w.trim(e.className))}function l(e){if(e){var t=e.parentNode;t&&t.removeChild(e)}}function f(e,t){if(e)if(t instanceof y)if(t._isArray())for(var n=0;n<t.length;n++)e.appendChild(t[n]);else e.appendChild(t[0]);else e.appendChild(t)}function d(e,t){if(e)if(e.hasChildNodes())if(t instanceof y)if(t._isArray())for(var n=t.length-1;n>=0;n--)e.insertBefore(t[n],e.firstChild);else e.insertBefore(t[0],e.firstChild);else e.insertBefore(t,e.firstChild);else if(t instanceof y)if(t._isArray())for(var n=0;n<t.length;n++)e.appendChild(t[n]);else e.appendChild(t[0]);else e.appendChild(t)}function c(e){var t=document.createElement("div");try{return t.appendChild(e.cloneNode(!0)),1==e.nodeType}catch(n){return e==window||e==document}}var h,p="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},m="function"==typeof Symbol&&"symbol"===p(Symbol.iterator)?function(e){return void 0===e?"undefined":p(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":void 0===e?"undefined":p(e)},g=n(0),w=n(1),y=function(){function e(t){if(r(this,e),t===window.document||t==window?(this._elem=t,this._isArr=!1):t instanceof e?(this._elem=t._elem,this._isArr=t._isArr):c(t)?(this._elem=t,this._isArr=!1):(this._elem=i(t),this._isArr=this._elem._isarr,this._elem=this._elem._elem),this._isArray()){for(var n=0;n<this._elem.length;n++)this[n]=this._elem[n];this.length=this._elem.length}else this[0]=this._elem,this.length=this._elem?1:0;var o=this;if(this.bind=this.on,this.unbind=this.off,this.live=this.on,this.die=this.off,t===window.document?(this.ready=function(e){return e?window.addEventListener?window.document.addEventListener("DOMContentLoaded",e):window.document.attachEvent("onload",e):o.trigger("ready"),o},this.unload=function(e){return e?window.addEventListener?window.document.addEventListener("unload",e):window.document.attachEvent("onunload",e):o.trigger("unload"),o},this.context=window.document):t===window?this.unload=function(e){return e?window.addEventListener?window.addEventListener("unload",e):window.attachEvent("onunload",e):o.trigger("unload"),o}:this.context=window.document,"function"==typeof t){var s=function l(e){t.bind(o)(e),window.addEventListener?window.document.removeEventListener("DOMContentLoaded",l):window.document.detachEvent("onload",l)};window.addEventListener?window.document.addEventListener("DOMContentLoaded",s):window.document.attachEvent("onload",s)}else{var a=function(e,t){return t?o.on(e,t):o.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 u in h.fn)"extend"!=u&&"fn"!=u&&"function"==typeof h.fn[u]&&(this[u]=h.fn[u].bind(this));this.__domtify=!0}return e.prototype.get=function(e){return this._elem?this._isArray()?this._elem[e]:e>0?null:this._elem:null},e.prototype.hasClass=function(e){if(!this._elem)return!1;for(var t=this.length?this.length:1,n=0;n<t;n++)if(s(this.get(n),e))return!0;return!1},e.prototype.addClass=function(e){if(!this._elem)return this;for(var t=this.length?this.length:1,n=0;n<t;n++)a(this.get(n),e);return this},e.prototype.removeClass=function(e){if(!this._elem)return this;for(var t=this.length?this.length:1,n=0;n<t;n++)u(this.get(n),e);return this},e.prototype.toggleClass=function(e){if(!this._elem)return this;for(var t=this.length?this.length:1,n=0;n<t;n++)s(this.get(n),e)?u(this.get(n),e):a(this.get(n),e);return this},e.prototype.remove=function(){if(!this._elem)return this;for(var e=this.length?this.length:1,t=0;t<e;t++)l(this.get(t));return this},e.prototype.append=function(t){if(!this._elem)return this;var n=new e(t);return f(this.get(0),n),this},e.prototype.appendTo=function(t){return this._elem?(new e(t).append(this),this):this},e.prototype.prepend=function(t){if(!this._elem)return this;var n=new e(t);return d(this.get(0),n),this},e.prototype.prependTo=function(t){return this._elem?(new e(t).prepend(this),this):this},e.prototype.before=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},e.prototype.insertBefore=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},e.prototype.after=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},e.prototype.insertAfter=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},e.prototype.attr=function(e,t){if(!e)throw new Error("need attrName");{if(this._elem){if(void 0===t){if(!this.get(0).hasAttribute(e))return;return this.get(0).getAttribute(e)}for(var n=this.length?this.length:1,r=0;r<n;r++)this.get(r).setAttribute(e,t);return this}if(void 0!==t)return this}},e.prototype.removeAttr=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},e.prototype.detach=function(){throw new Error("unimplement")},e.prototype.clone=function(){throw new Error("unimplement")},e.prototype.replaceAll=function(){throw new Error("unimplement")},e.prototype.unwrap=function(){throw new Error("unimplement")},e.prototype.wrap=function(){throw new Error("unimplement")},e.prototype.wrapAll=function(){throw new Error("unimplement")},e.prototype.wrapinner=function(){throw new Error("unimplement")},e.prototype.empty=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},e.prototype.html=function(e){if(this._elem){if(void 0===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}if(void 0!==e)return this},e.prototype.text=function(e){if(this._elem){if(void 0===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}if(void 0!==e)return this},e.prototype.val=function(e){if(this._elem){if(void 0===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}if(void 0!==e)return this},e.prototype.css=function(e,t){if(this._elem){if(void 0===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}if(void 0!==t)return this},e.prototype.on=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;o<r;o++){var i=this.get(o);if(!(i instanceof e||i.__domtify)||(i=i._elem)){i.__events||(i.__events={}),i.__events[t]||(i.__events[t]=[]);var s,a=i.__events[t];for(s=0;s<a.length&&a[s]!==n;s++);s>=a.length&&a.push(n),"on"+t in i&&(i.addEventListener?i.addEventListener(t,n):i.attachEvent("on"+t,n))}}return this},e.prototype.one=function(e,t){if(!e||"string"!=typeof e)throw new Error("need event name");var n=this,r=function o(r){n.off(e,o),t.bind(this)(r)};return n.on(e,r),this},e.prototype.off=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;o<r;o++){var i=this.get(o);if((!(i instanceof e||i.__domtify)||(i=i._elem))&&(i.__events&&i.__events[t])){var s,a=i.__events[t];if("on"+t in i)for(s=0;s<a.length;s++)i.removeEventListener?i.removeEventListener(t,a[s]):i.detachEvent("on"+t,a[s]);i.__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;o<r;o++){var i=this.get(o);if(i instanceof e&&(i=i._elem),i.__events&&i.__events[t]){var s,a=i.__events[t];for(s=0;s<a.length;s++)if(a[s]===n){a.splice(s,1);break}}"on"+t in i&&(i.removeEventListener?i.removeEventListener(t,n):i.detachEvent("on"+t,n))}return this},e.prototype.trigger=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;o<r;o++){var i=this.get(o);if(i instanceof e&&(i=i._elem),i)if("on"+t in i)if(window.document.addEventListener){var s=window.document.createEvent("HTMLEvents");s.initEvent(t,!0,!0),i.dispatchEvent(s)}else i.fireEvent("on"+t);else if(i.__events&&i.__events[t]){var a,u,s=i.__events[t];for(u={"bubbles":!1,"cancelable":!1,"cancelBubble":!1,"defaultPrevented":!1,"type":t},u.currentTarget=i,u.target=i,a=0;a<s.length;a++)s[a](u,n)}}return this},e.prototype.parent=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,i=0;i<o;i++)this.get(i).parentNode&&(n&&!n._isElementIn(this.get(i).parentNode)||(this._domtify(this.get(i).parentNode),r._elem.push(this.get(i).parentNode),r[r.length]=this.get(i).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},e.prototype.parents=function(t){if(!this._elem)return new e;var n;t&&(n=new e(t));for(var r=[],o=this.length?this.length:1,i=0;i<o;i++)if(this.get(i).parentNode)for(var s=this.get(i);s.parentNode&&s.parentNode!=window&&s.parentNode!=window.document;){if(!n||n._isElementIn(s.parentNode)){var a;for(a=0;a<r.length;a++)if("function"==typeof r[a].isSameNode){if(r[a].isSameNode(s.parentNode))break}else if(r[a]===s.parentNode)break;a>=r.length&&r.push(s.parentNode)}s=s.parentNode}var u=new e;if(r.length>0){u._elem=r,u._isArr=!0,u.length=r.length;for(var i=0;i<r.length;i++)u._domtify(r[i]),u[i]=r[i]}return u},e.prototype.children=function(t){if(!this._elem)return new e;for(var n=[],r=this.length?this.length:1,o=0;o<r;o++){var s;if(t)s=i(t,this.get(o));else{s={"_elem":[],"_isarr":!0};for(var a=0;a<this.get(o).childNodes.length;a++)s._elem.push(this.get(o).childNodes[a])}s._elem&&(s._isarr?n=n.concat(s._elem):n.push(s._elem))}var u=new e;u._elem=n,u._isArr=!0,u.length=n.length;for(var o=0;o<n.length;o++)this._domtify(n[o]),u[o]=n[o];return u},e.prototype.next=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,i=0;i<o;i++)n&&!n._isElementIn(this.get(i).nextSibling)||this.get(i).nextSibling&&r.push(this.get(i).nextSibling);var s=new e;s._elem=r,s._isArr=!0,s.length=r.length;for(var i=0;i<r.length;i++)this._domtify(r[i]),s[i]=r[i];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},e.prototype.prev=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,i=0;i<o;i++)n&&!n._isElementIn(this.get(i).previousSibling)||this.get(i).previousSibling&&r.push(this.get(i).previousSibling);var s=new e;s._elem=r,s._isArr=!0,s.length=r.length;for(var i=0;i<r.length;i++)this._domtify(r[i]),s[i]=r[i];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},e.prototype.each=function(e){if(e)for(var t=0;t<this.length;t++)e(t,this.get(t))},e.prototype._domtify=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 h.fn)"extend"!=r&&"fn"!=r&&"function"==typeof h.fn[r]&&(t[r]||(t[r]=h.fn[r].bind(t)));t._isArr=!1,t._elem=t,t.__domtify=!0}},e.prototype._isArray=function(){return this._isArr},e.prototype._isElementIn=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}();h=function(e){return new y(e)},h.fn={},h.extend=function(e){if(0==arguments.length)return{};if(1==arguments.length){for(var t in arguments[0])"extend"!=t&&"fn"!=t&&"function"==typeof arguments[0][t]&&(h[t]=arguments[0][t]);return this}if(!1===arguments[0])throw new Error("can't be false");var n={},r=0;for(!0===arguments[0]&&(r=1);r<arguments.length;r++)n=g.mergeMap(n,arguments[r]);return n},y.getViewPort=function(){return"BackCompat"==window.document.compatMode?{"width":window.document.body.clientWidth,"height":window.document.body.clientHeight}:{"width":window.document.documentElement.clientWidth,"height":window.document.documentElement.clientHeight}},y.getDocumentPort=function(){return"BackCompat"==window.document.compatMode?{"width":window.document.body.scrollWidth,"height":window.document.body.scrollHeight}:{"width":Math.max(window.document.documentElement.scrollWidth,window.document.documentElement.clientWidth),"height":Math.max(window.document.documentElement.scrollHeight,window.document.documentElement.clientHeight)}},y.getDocumentOffset=function(){var e,t;return"BackCompat"==window.document.compatMode?(e=window.document.body.scrollLeft,t=window.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}},y.getElementOffset=function(e){if(!e)return{};var t=h(e);if(t=t[0]){if("function"==typeof t.getBoundingClientRect){var n=t.getBoundingClientRect();return{"left":n.left,"top":n.top}}for(var r=t.offsetLeft,o=t.offsetTop,i=t.offsetParent;i;)r+=i.offsetLeft,o+=i.offsetTop,i=i.offsetParent;var s,a;return"BackCompat"==window.document.compatMode?(s=window.document.body.scrollLeft,a=window.document.body.scrollTop):(s=0==window.document.documentElement.scrollLeft?window.document.body.scrollLeft:window.document.documentElement.scrollLeft,a=0==window.document.documentElement.scrollTop?window.document.body.scrollTop:window.document.documentElement.scrollTop),{"left":r-s,"top":o-a}}return{}},y.isDom=function(e){return"object"===("undefined"==typeof HTMLElement?"undefined":m(HTMLElement))?e instanceof HTMLElement:e&&"object"===(void 0===e?"undefined":m(e))&&1===e.nodeType&&"string"==typeof e.nodeName},y.removeEventListener=function(e,t,n,r){e&&(e.addEventListener?e.removeEventListener(t,n,r):e.detachEvent("on"+t,n))},y.addEventListener=function(e,t,n,r){e&&(e.addEventListener?e.addEventListener(t,n,r):e.attachEvent("on"+t,n))},t.Dom=y,t.CreateDom=h},function(e,t,n){"use strict";var r=(n(0),n(16)),o=n(17),i=n(18),s={"ajax":r.ajax,"fetch":o.fetch,"jsonp":i.jsonp};e.exports=s},function(e,t,n){"use strict";!function(e){e.console||(e.console={});for(var t,n,r=e.console,o=function(){},i=["memory"],s="assert,clear,count,debug,dir,dirxml,error,exception,group,groupCollapsed,groupEnd,info,log,markTimeline,profile,profiles,profileEnd,show,table,time,timeEnd,timeline,timelineEnd,timeStamp,trace,warn".split(",");t=i.pop();)r[t]||(r[t]={});for(;n=s.pop();)r[n]||(r[n]=o)}("undefined"==typeof window?void 0:window)},function(e,t,n){"use strict";e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{"enumerable":!0,"get":function(){return e.l}}),Object.defineProperty(e,"id",{"enumerable":!0,"get":function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,n){"use strict";(function(e){var t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};n(11),n(5),function(n,r){"object"===t(e)&&"object"===t(e.exports)?e.exports=n.document?r(n,!0):function(e){if(!e.document)throw new Error("febs requires a window with a document");return r(e)}:r(n)}("undefined"!=typeof window?window:void 0,function(e,t){e.__debug||(e.__debug=!1);var r=n(6);e.requestAnimationFrame||(e.requestAnimationFrame=r.requestAnimationFrame),e.cancelAnimationFrame||(e.cancelAnimationFrame=r.cancelAnimationFrame);var o={};return o.date=n(8),o.string=n(1),o.crypt=n(7),o.utils=n(0),o.net=n(10),o.dom=n(9),o.$=o.dom.CreateDom,o.dom=o.dom.Dom,e.febs?(e.febs.string=e.febs.string?o.utils.mergeMap(e.febs.string,o.string):o.string,e.febs.crypt=e.febs.crypt?o.utils.mergeMap(e.febs.crypt,o.crypt):o.crypt,e.febs.utils=e.febs.utils?o.utils.mergeMap(e.febs.utils,o.utils):o.utils,e.febs.net=e.febs.net?o.utils.mergeMap(e.febs.net,o.net):o.net,e.febs.dom=e.febs.dom?o.utils.mergeMap(e.febs.dom,o.dom):o.dom):e.febs=o,e.$||(e.$=o.$),e.jQuery||(e.jQuery=o.$),e.console.debug=function(){if(e.__debug){var t;t=e.console.warn?e.console.warn:e.console.log;for(var n=0;n<arguments.length;n++)t(arguments[n])}},o})}).call(t,n(12)(e))},function(e,t,n){"use strict";var r=n(3),o=[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];t.crc32_table=o,t.base64_encode=function(e){if(!e)return"";"string"==typeof e&&(e=r.utf8ToBytes(e));var t,n,o,i,s,a,u="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(o=e.length,n=0,t="";n<o;){if(i=255&e[n++],n==o){t+=u.charAt(i>>2),t+=u.charAt((3&i)<<4),t+="==";break}if(s=e[n++],n==o){t+=u.charAt(i>>2),t+=u.charAt((3&i)<<4|(240&s)>>4),t+=u.charAt((15&s)<<2),t+="=";break}a=e[n++],t+=u.charAt(i>>2),t+=u.charAt((3&i)<<4|(240&s)>>4),t+=u.charAt((15&s)<<2|(192&a)>>6),t+=u.charAt(63&a)}return t}},function(e,t,n){"use strict";var r="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},o="function"==typeof Symbol&&"symbol"===r(Symbol.iterator)?function(e){return void 0===e?"undefined":r(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":void 0===e?"undefined":r(e)},i=Promise,s=n(2);t.sleep=function(e){return new i(function(t,n){try{setTimeout(function(){t()},e)}catch(r){n(r)}})},t.browserIsMobile=function(e){e||void 0!==("undefined"==typeof window?"undefined":o(window))&&(e=window.navigator.userAgent);var t=e,n=["Android","webOS","iPhone","iPad","iPod","Blackberry","Windows Phone"],r=new RegExp(n.join("|"),"i");return null!=t.match(r)},t.browserIsIOS=function(e){e||void 0!==("undefined"==typeof window?"undefined":o(window))&&(e=window.navigator.userAgent);var t=e,n=["iPhone","iPad","iPod"],r=new RegExp(n.join("|"),"i");return null!=t.match(r)},t.browserIsPhone=function(e){e||void 0!==("undefined"==typeof window?"undefined":o(window))&&(e=window.navigator.userAgent);var t=e,n=["Android","iPhone","iPod","Blackberry","Windows Phone"],r=new RegExp(n.join("|"),"i");return null!=t.match(r)},t.browserIsWeixin=function(e){return e||void 0!==("undefined"==typeof window?"undefined":o(window))&&(e=window.navigator.userAgent),"MicroMessenger"==e.match(/MicroMessenger/i)},t.mergeMap=function(){for(var e,t={},n=0;n<arguments.length;n++)if(e=arguments[n])for(var r in e)t[r]=e[r];return t},t.isNull=function(e){return null===e||void 0===e||Number.isNaN(e)},t.getTimeString=s.getTimeString,t.getTimeStringFromNow=s.getTimeStringFromNow,t.getDate=s.getDate,t.getDate2=s.getDate2,t.denodeify=function(e,t,n){return n=n||1/0,function(){var r=Array.prototype.slice.call(arguments,0,n>0?n:0);return new i(function(n,i){r.push(function(e,t){e?i(e):n(t)});var s=e.apply(t,r);!s||"object"!==(void 0===s?"undefined":o(s))&&"function"!=typeof s||"function"!=typeof s.then||n(s)})}}},function(e,t,n){"use strict";function r(e){if(e.url){window[i]||(window[i]=1);var t=e.url.indexOf("?");t<0?e.url+="?ajaxmark="+window[i]:t==e.url.length-1?e.url+="ajaxmark="+window[i]:e.url+="&ajaxmark="+window[i]}window[i]++;var n=e.error||function(){},r=e.success||function(){},s=e.complete||function(){};e.processData=!e.hasOwnProperty("processData")||e.processData;var a=o.transfer(window);a.onreadystatechange=function(){if(4==a.readyState){var e=1223===a.status?204:a.status;if(e<100||e>599)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),s(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 u=!1!==e.async?e.timeout:0;if(a.timeout=void 0!==u&&null!==u?u:o.DefaultTimeout,e.hasOwnProperty("withCredentials")?a.withCredentials=e.withCredentials:a.withCredentials=!0,e.headers)if(a.setRequestHeader)for(var l in e.headers){var f=e.headers[l];"Content-Type"==l&&!1===f||a.setRequestHeader(l,f)}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"]&&e.headers["Content-Type"].toLowerCase().indexOf("json")>=0)d=JSON.stringify(d);else{var c="";for(var l in d){var f=d[l];c.length>0&&(c+="&"),c+=l+"="+(f?f.toString():"")}d=c}}catch(h){console.log("ajax stringify data error"),console.log(h)}return e.beforeSend&&e.beforeSend(a),a.send(d),{"abort":function(){a.abort()}}}var o=(n(0),n(4)),i="_FeBs_ajaxmark",s={};s.ajax=r,e.exports=s},function(e,t,n){"use strict";var r=(n(0),n(4)),o={},i={};if(!Promise)throw new Error("unsupported Promise");o.normalizeName=function(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()},o.normalizeValue=function(e){return"string"!=typeof e&&(e=String(e)),e},o.Headers=function(e){this.map={},e instanceof o.Headers?e.forEach(function(e,t){this.append(t,e)},this):e&&Object.getOwnPropertyNames(e).forEach(function(t){this.append(t,e[t])},this)},o.Headers.prototype.append=function(e,t){e=o.normalizeName(e),t=o.normalizeValue(t);var n=this.map[e];n||(n=[],this.map[e]=n),n.push(t)},o.Headers.prototype.delete=function(e){delete this.map[o.normalizeName(e)]},o.Headers.prototype.get=function(e){var t=this.map[o.normalizeName(e)];return t?t[0]:null},o.Headers.prototype.getAll=function(e){return this.map[o.normalizeName(e)]||[]},o.Headers.prototype.has=function(e){return this.map.hasOwnProperty(o.normalizeName(e))},o.Headers.prototype.set=function(e,t){this.map[o.normalizeName(e)]=[o.normalizeValue(t)]},o.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)},o.consumed=function(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0},o.fileReaderReady=function(e){return new Promise(function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}})},o.readBlobAsArrayBuffer=function(e){var t=new FileReader;return t.readAsArrayBuffer(e),o.fileReaderReady(t)},o.readBlobAsText=function(e){var t=new FileReader;return t.readAsText(e),o.fileReaderReady(t)},o.support={"blob":"FileReader"in window.self&&"Blob"in window.self&&function(){try{return new Blob,!0}catch(e){return!1}}(),"formData":"FormData"in window.self,"arrayBuffer":"ArrayBuffer"in window.self},o.Body=function(){return this.bodyUsed=!1,this._initBody=function(e){if(this._bodyInit=e,"string"==typeof e)this._bodyText=e;else if(o.support.blob&&Blob.prototype.isPrototypeOf(e))this._bodyBlob=e;else if(o.support.formData&&FormData.prototype.isPrototypeOf(e))this._bodyFormData=e;else if(e){if(!o.support.arrayBuffer||!ArrayBuffer.prototype.isPrototypeOf(e))throw new Error("unsupported BodyInit type")}else this._bodyText=""},o.support.blob?(this.blob=function(){var e=o.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(o.readBlobAsArrayBuffer)},this.text=function(){var e=o.consumed(this);if(e)return e;if(this._bodyBlob)return o.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=o.consumed(this);return e||Promise.resolve(this._bodyText)},o.support.formData&&(this.formData=function(){return this.text().then(o.decode)}),this.json=function(){return this.text().then(JSON.parse)},this},o.normalizeMethod=function(e){var t=["DELETE","GET","HEAD","OPTIONS","POST","PUT"],n=e.toUpperCase();return t.indexOf(n)>-1?n:e},o.Request=function(e,t){t=t||{};var n=t.body;if(o.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 o.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 o.Headers(t.headers)),this.method=o.normalizeMethod(t.method||this.method||"GET"),this.mode=t.mode||this.mode||null,this.referrer=null,this._initBody(n)},o.Request.prototype.clone=function(){return new o.Request(this)},o.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},o.headers=function(e){var t=new o.Headers;return e.getAllResponseHeaders().trim().split("\n").forEach(function(e){var n=e.trim().split(":"),r=n.shift().trim(),o=n.join(":").trim();t.append(r,o)}),t},o.Body.call(o.Request.prototype),o.Response=function(e,t){t||(t={}),this._initBody(e),this.type="default",this.status=t.status,this.ok=this.status>=200&&this.status<300,this.statusText=t.statusText,this.headers=t.headers instanceof o.Headers?t.headers:new o.Headers(t.headers),this.url=t.url||""},o.Body.call(o.Response.prototype),o.Response.prototype.clone=function(){return new o.Response(this._bodyInit,{"status":this.status,"statusText":this.statusText,"headers":new o.Headers(this.headers),"url":this.url})},o.Response.error=function(){var e=new o.Response(null,{"status":0,"statusText":""});return e.type="error",e};var s=[301,302,303,307,308];o.Response.redirect=function(e,t){if(-1===s.indexOf(t))throw new RangeError("Invalid status code");return new o.Response(null,{"status":t,"headers":{"location":e}})},window.Headers=o.Headers,window.Request=o.Request,window.Response=o.Response,window.fetch=o.fetch=function(e,t){return new Promise(function(n,i){function s(){return"responseURL"in u?u.responseURL:/^X-Request-URL:/m.test(u.getAllResponseHeaders())?u.getResponseHeader("X-Request-URL"):void 0}var a;a=o.Request.prototype.isPrototypeOf(e)&&!t?e:new o.Request(e,t);var u=r.transfer(window);u.onreadystatechange=function(){if(4==u.readyState){var e=1223===u.status?204:u.status;if(e<100||e>599)return void i(new TypeError("Network request failed"));var t={"status":e,"statusText":u.statusText,"headers":o.headers(u),"url":s()},r="response"in u?u.response:u.responseText;n(new o.Response(r,t))}},u.ontimeout=function(){i("timeout")},u.onerror=function(){i(new TypeError("Network request failed"))},t.progress&&(u.onprogress=function(e){e.lengthComputable&&t.progress(e.position/e.totalSize)}),u.open(a.method,a.url,!0);var l=t?t.timeout:null;u.timeout=void 0!==l&&null!==l?l:r.DefaultTimeout,"include"===a.credentials?u.withCredentials=!0:u.withCredentials=!1,"responseType"in u&&o.support.blob&&(u.responseType="blob"),u.setRequestHeader?a.headers.forEach(function(e,t){u.setRequestHeader(t,e)}):a.headers&&a.headers.map.length>0&&console.log("fetch can't set headers"),u.send(void 0===a._bodyInit?null:a._bodyInit)})},o.fetch.polyfill=!0,i.fetch=o.fetch,e.exports=i},function(e,t,n){"use strict";var r=(n(0),{}),o={};r.jsonp_defaultOptions={"timeout":5e3,"jsonpCallback":"callback"},r.jsonp_generateCallbackFunction=function(){return"jsonp_"+Date.now().toString()+"_"+Math.ceil(1e5*Math.random())},r.jsonp_clearFunction=function(e){try{delete window[e]}catch(t){}},r.jsonp_removeScript=function(e){var t=document.getElementById(e);document.getElementsByTagName("head")[0].removeChild(t)},r.jsonp=function(e,t){t=t||{};var n,o=null!=t.timeout?t.timeout:r.jsonp_defaultOptions.timeout,i=t.jsonpCallback?t.jsonpCallback:r.jsonp_defaultOptions.jsonpCallback;return new Promise(function(t,s){var a=r.jsonp_generateCallbackFunction();window[a]=function(e){t({"ok":!0,"json":function(){return Promise.resolve(e)}}),n&&clearTimeout(n),r.jsonp_removeScript(i+"_"+a),r.jsonp_clearFunction(a)},e+=-1===e.indexOf("?")?"?":"&";var u=document.createElement("script");u.setAttribute("src",e+i+"="+a),u.id=i+"_"+a,document.getElementsByTagName("head")[0].appendChild(u),n=setTimeout(function(){s("timeout"),r.jsonp_clearFunction(a),r.jsonp_removeScript(i+"_"+a)},o)})},o.jsonp=r.jsonp,e.exports=o}]); | ||
!function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={"i":r,"l":!1,"exports":{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};t.m=e,t.c=n,t.i=function(e){return e},t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{"configurable":!1,"enumerable":!0,"get":r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=13)}([function(e,t,n){"use strict";var r=n(15);t.sleep=r.sleep,t.browserIsMobile=r.browserIsMobile,t.browserIsIOS=r.browserIsIOS,t.browserIsPhone=r.browserIsPhone,t.browserIsWeixin=r.browserIsWeixin,t.getTimeString=r.getTimeString,t.getTimeStringFromNow=r.getTimeStringFromNow,t.getDate=r.getDate,t.getDate2=r.getDate2,t.mergeMap=r.mergeMap,t.isNull=r.isNull,t.denodeify=r.denodeify,t.browserIsIE=function(){return!!(window.ActiveXObject||"ActiveXObject"in window)},t.browserIEVer=function(){if(!t.browserIsIE())return Number.MAX_SAFE_INTEGER;var e=navigator.userAgent,n=e.indexOf("compatible")>-1&&e.indexOf("MSIE")>-1,r=e.indexOf("Edge")>-1&&!n,o=e.indexOf("Trident")>-1&&e.indexOf("rv:11.0")>-1;if(n){new RegExp("MSIE (\\d+\\.\\d+);").test(e);var i=parseFloat(RegExp.$1);return 7==i?7:8==i?8:9==i?9:10==i?10:6}return r?"edge":o?11:void Number.MAX_SAFE_INTEGER},t.browserIsSupportHtml5=function(){return"undefined"!=typeof Worker}},function(e,t,n){"use strict";var r=n(3);t.isPhoneMobile=r.isPhoneMobile,t.isEmpty=r.isEmpty,t.isEmail=r.isEmail,t.isAlphaOrDigit=r.isAlphaOrDigit,t.isChinese=r.isChinese,t.getByteSize=r.getByteSize,t.replace=r.replace,t.utf8ToBytes=r.utf8ToBytes,t.bytesToUtf8=r.bytesToUtf8,t.trim=r.trim,t.escapeHtml=r.escapeHtml},function(e,t,n){"use strict";function r(e,t,n){if("number"!=typeof e)return"";t=t||"HH:mm:ss";var r=new Date(e),o={"M+":r.getMonth()+1,"d+":r.getDate(),"h+":r.getHours()%12==0?12:r.getHours()%12,"H+":r.getHours(),"m+":r.getMinutes(),"s+":r.getSeconds(),"q+":Math.floor((r.getMonth()+3)/3),"S":r.getMilliseconds()},i=n||{"0":"星期天","1":"星期一","2":"星期二","3":"星期三","4":"星期四","5":"星期五","6":"星期六"};/(y+)/.test(t)&&(t=t.replace(RegExp.$1,(r.getFullYear()+"").substr(4-RegExp.$1.length))),/(E+)/.test(t)&&(t=t.replace(RegExp.$1,i[r.getDay()+""]));for(var s in o)new RegExp("("+s+")").test(t)&&(t=t.replace(RegExp.$1,1==RegExp.$1.length?o[s]:("00"+o[s]).substr((""+o[s]).length)));return t}Promise;t.isValidate=function(e){return!(isNaN(e)||!e||"Invalid Date"==e.toString())&&e instanceof Date},t.getTimeString=r,t.getTimeStringFromNow=function(e,t){t=t||{},t.now=t.now||"刚刚",t.second=t.second||"秒前",t.minute=t.minute||"分钟前",t.hour=t.hour||"小时前",t.day_yesterday=t.day_yesterday||"昨天",t.day=t.day||"天前",t.month=t.month||"个月前",t.time=t.time||"yyyy-M-d h:m:s";var n=Math.ceil(Date.now()/1e3);if(e=Math.ceil(e/1e3),n>e){var o=n-e;if(o<3)return t.now;if(o<60)return o.toString()+t.second;if(o<3600)return Math.ceil(o/60).toString()+t.minute;if(o<86400)return Math.ceil(o/60/60).toString()+t.hour;if(o<2592e3){var i=new Date(1e3*n);return i.setHours(0,0,1),i.getTime()-e<=86400?t.day_yesterday:Math.ceil(o/60/60/24).toString()+t.day}return o<15552e3?Math.ceil(o/60/60/24/30).toString()+t.month:r(e,t.time)}return t.now},t.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},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},t.getDate=function(e){return new Date(parseInt(e.substr(0,4)),parseInt(e.substr(5,2),10)-1,parseInt(e.substr(8,2)))},t.getDate2=function(e){return new Date(parseInt(e.substr(0,4)),parseInt(e.substr(4,2),10)-1,parseInt(e.substr(6,2)))},t.getUTCTimeString=function(e,t,n){if("number"!=typeof e)return"";t=t||"HH:mm:ss";var r=new Date(e),o={"M+":r.getUTCMonth()+1,"d+":r.getUTCDate(),"h+":r.getUTCHours()%12==0?12:r.getUTCHours()%12,"H+":r.getUTCHours(),"m+":r.getUTCMinutes(),"s+":r.getUTCSeconds(),"q+":Math.floor((r.getUTCMonth()+3)/3),"S":r.getUTCMilliseconds()},i=n||{"0":"星期天","1":"星期一","2":"星期二","3":"星期三","4":"星期四","5":"星期五","6":"星期六"};/(y+)/.test(t)&&(t=t.replace(RegExp.$1,(r.getUTCFullYear()+"").substr(4-RegExp.$1.length))),/(E+)/.test(t)&&(t=t.replace(RegExp.$1,i[r.getUTCDay()+""]));for(var s in o)new RegExp("("+s+")").test(t)&&(t=t.replace(RegExp.$1,1==RegExp.$1.length?o[s]:("00"+o[s]).substr((""+o[s]).length)));return t},t.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},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},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},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}},function(e,t,n){"use strict";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,n,r=0;for(t=0;t<e.length;t++)n=e.charCodeAt(t),n<127?r+=1:128<=n&&n<=2047?r+=2:2048<=n&&n<=65535?r+=3:65536<=n&&(r+=4);return r},t.replace=function(e,t,n){if(!e||!t)return e;if(0==e.length)return e;var r="",o=e.length,i=0,s=0;do{if(!(-1!=(i=e.indexOf(t,s))&&i<o)){r+=e.slice(s);break}i!=s&&(r+=e.slice(s,i)),r+=n,s=i+t.length}while(i<o);return r},t.utf8ToBytes=function(e){if(!e)return new Array;var t,n,r=new Array;t=e.length;for(var o=0;o<t;o++)n=e.charCodeAt(o),n>=65536&&n<=1114111?(r.push(n>>18&7|240),r.push(n>>12&63|128),r.push(n>>6&63|128),r.push(63&n|128)):n>=2048&&n<=65535?(r.push(n>>12&15|224),r.push(n>>6&63|128),r.push(63&n|128)):n>=128&&n<=2047?(r.push(n>>6&31|192),r.push(63&n|128)):r.push(255&n);return r},t.bytesToUtf8=function(e){for(var t="",n=0;n<e.length;){var r=e[n],o=0;r>>>7==0?(t+=String.fromCharCode(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+=String.fromCharCode(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+=String.fromCharCode(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+=String.fromCharCode(o),n+=4):224==(224&r)?(o=(31&e[n])<<12,o|=(63&e[n+1])<<6,o|=63&e[n+2],t+=String.fromCharCode(o),n+=3):192==(192&r)?(o=(63&e[n])<<6,o|=63&e[n+1],t+=String.fromCharCode(o),n+=2):(t+=String.fromCharCode(e[n]),n+=1)}return t},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||""}},function(e,t,n){"use strict";t.DefaultTimeout=5e3,t.transfer=function(e){var t;if(e.XMLHttpRequest)t=new XMLHttpRequest;else if(e.XDomainRequest)t=new XDomainRequest;else for(var n=new Array("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(o){}return t}},function(e,t,n){"use strict";!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})})})}()},function(e,t,n){"use strict";var r={},o=0;window.requestAnimationFrame=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame,window.cancelAnimationFrame=window.cancelAnimationFrame||window.mozCancelAnimationFrame,window.requestAnimationFrame||(window.requestAnimationFrame=function(e){var t=Date.now(),n=Math.max(0,16-(t-o)),r=window.setTimeout(function(){e(t+n)},n);return o=t+n,r}),window.cancelAnimationFrame||(window.cancelAnimationFrame=function(e){clearTimeout(e)}),r.requestAnimationFrame=window.requestAnimationFrame,r.cancelAnimationFrame=window.cancelAnimationFrame,e.exports=r},function(e,t,n){"use strict";function r(e,t){t||(t=0),t^=-1;for(var n=0,r=e.length;n<r;n++)t=t>>>8^i.crc32_table[255&(t^e.charCodeAt(n))];return-1^t}function o(e,t,n,o){if(!e||!o)return void(o&&o(0));if(t>=e.size||t<0||0==n)return void(o&&o(0));n<0&&(n=e.size);var i=File.prototype.mozSlice||File.prototype.webkitSlice||File.prototype.slice,s=new FileReader;e.size-t<n&&(n=e.size-t);var a=Math.ceil(n/2097152),u=0,l=function(){var r=2097152*u+t,o=r+2097152>=n+t?n+t:r+2097152;s.readAsBinaryString(i.call(e,r,o))},f=0;s.onload=function(e){f=r(e.target.result,f),u++,u<a?l():o(f)},l()}var i=n(14);t.crc32=r,t.crc32_fileSegment=o,t.crc32_file=function(e,t){o(e,0,e.size,t)},t.base64_encode=i.base64_encode,t.base64_decode=function(e){for(var t,n,r,o,i=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),s=0,a=e.length,u=[];s<a;){do{t=i[255&e.charCodeAt(s++)]}while(s<a&&-1==t);if(-1==t)break;do{n=i[255&e.charCodeAt(s++)]}while(s<a&&-1==n);if(-1==n)break;u.push(t<<2|(48&n)>>4);do{if(61==(r=255&e.charCodeAt(s++)))return u;r=i[r]}while(s<a&&-1==r);if(-1==r)break;u.push((15&n)<<4|(60&r)>>2);do{if(61==(o=255&e.charCodeAt(s++)))return u;o=i[o]}while(s<a&&-1==o);if(-1==o)break;u.push((3&r)<<6|o)}return u},t.uuid=function(){for(var e=[],t="0123456789abcdef",n=0;n<36;n++)e[n]=t.substr(Math.floor(16*Math.random()),1);return e[14]="4",e[19]=t.substr(3&e[19]|8,1),e[8]=e[13]=e[18]=e[23]="-",e.join("")}},function(e,t,n){"use strict";var r=n(2);t.isValidate=r.isValidate,t.getDate=r.getDate,t.getDate2=r.getDate2,t.getDate2FromUTC=r.getDate2FromUTC,t.getDateFromUTC=r.getDateFromUTC,t.getTime2FromUTC=r.getTime2FromUTC,t.getTimeString=r.getTimeString,t.getUTCTimeString=r.getUTCTimeString,t.getTimeStringFromNow=r.getTimeStringFromNow,t.getTimeFromUTC=r.getTimeFromUTC,t.getTime=r.getTime,t.getTime2=r.getTime2},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t,n){var r,o,i,a=0,u=t.split(":");if(t=u[0],t=w.trim(t),(u=u[1])&&"checked"!=u&&"disabled"!=u)throw new Error("only support `:checked or :disabled` selector");if(t.indexOf("[")>0){var l=t.indexOf("[");if(o=t.substring(l+1,t.length-1),o=o.split("="),2!=o.length)throw new Error("Syntax error, unrecognized expression: "+t);i=o[1],(i.indexOf("'")>=0||i.indexOf('"')>=0)&&(i=i.substring(1,i.length-1)),o=o[0],t=t.substr(0,l)}if("."==t[0]?(a=2,t=t.substr(1)):"#"==t[0]&&(a=1,t=t.substr(1)),e&&0!=e.length){r=[];for(var f=0;f<e.length;f++){var d=e[f].childNodes;if(d){for(var c=[],h=0;h<d.length;h++)c.push(d[h]);for(var h=0;h<c.length;h++){var p=!0;if(u&&("disabled"==u?c[h].disabled||(p=!1):"checked"==u&&(c[h].checked||(p=!1))),p&&o&&c[h].getAttribute(o)!==i&&(p=!1),p)if(2==a){if(s(c[h],t)){r.push(c[h]);continue}}else if(1==a){if(c[h].id==t){r.push(c[h]);continue}}else if(0==a&&c[h].nodeName.toUpperCase()==t.toUpperCase()){r.push(c[h]);continue}if(!n){var m=c[h].childNodes;if(m&&m.length>0){for(var g=0;g<m.length;g++)c.push(m[g]);h>20&&(c=c.slice(h+1),h=-1)}}}}}}else{if(2==a?r=window.document.getElementsByClassName(t):1==a?(r=window.document.getElementById(t),r=r?[r]:[]):0==a&&(r=window.document.getElementsByTagName(t)),o){var y=r;r=[];for(var f=0;f<y.length;f++)y[f].getAttribute(o)===i&&r.push(y[f])}if(u){var y=r;r=[];for(var f=0;f<y.length;f++)"disabled"==u?y[f].disabled&&r.push(y[f]):"checked"==u&&y[f].checked&&r.push(y[f])}}return r}function i(e,t){""===e&&(e=null);var n,r=!1;if("string"==typeof e)if("<"==e[0])n=window.document.createElement("div"),n.innerHTML=e,1==n.childNodes.length?(n=n.childNodes[0],r=!1):(n=n.childNodes,r=!0);else{if(e.indexOf("<")>0||e.indexOf(">")>0)throw new Error("Syntax error, unrecognized");for(var i=e.split(" "),s=t?[t]:null,a=0;a<i.length;a++)""!=i[a]&&(s=o(s,i[a],!!t));s.length<=1?(n=s[0],r=!1):(n=s,r=!0)}else n=e;return{"_elem":n,"_isarr":r}}function s(e,t){return!(!e||!e.className||"function"!=typeof e.className.match)&&!!e.className.match(new RegExp("(\\s|^)"+t+"(\\s|$)"))}function a(e,t){e&&"string"==typeof e.className&&(s(e,t)||(w.isEmpty(e.className)?e.className+=t:e.className+=" "+t))}function u(e,t){e&&"string"==typeof e.className&&s(e,t)&&(e.className=e.className.replace(new RegExp("(\\s|^)"+t+"(\\s|$)")," "),e.className=w.trim(e.className))}function l(e){if(e){var t=e.parentNode;t&&t.removeChild(e)}}function f(e,t){if(e)if(t instanceof y)if(t._isArray())for(var n=0;n<t.length;n++)e.appendChild(t[n]);else e.appendChild(t[0]);else e.appendChild(t)}function d(e,t){if(e)if(e.hasChildNodes())if(t instanceof y)if(t._isArray())for(var n=t.length-1;n>=0;n--)e.insertBefore(t[n],e.firstChild);else e.insertBefore(t[0],e.firstChild);else e.insertBefore(t,e.firstChild);else if(t instanceof y)if(t._isArray())for(var n=0;n<t.length;n++)e.appendChild(t[n]);else e.appendChild(t[0]);else e.appendChild(t)}function c(e){var t=document.createElement("div");try{return t.appendChild(e.cloneNode(!0)),1==e.nodeType}catch(n){return e==window||e==document}}var h,p="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},m="function"==typeof Symbol&&"symbol"===p(Symbol.iterator)?function(e){return void 0===e?"undefined":p(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":void 0===e?"undefined":p(e)},g=n(0),w=n(1),y=function(){function e(t){if(r(this,e),t===window.document||t==window?(this._elem=t,this._isArr=!1):t instanceof e?(this._elem=t._elem,this._isArr=t._isArr):c(t)?(this._elem=t,this._isArr=!1):(this._elem=i(t),this._isArr=this._elem._isarr,this._elem=this._elem._elem),this._isArray()){for(var n=0;n<this._elem.length;n++)this[n]=this._elem[n];this.length=this._elem.length}else this[0]=this._elem,this.length=this._elem?1:0;var o=this;if(this.bind=this.on,this.unbind=this.off,this.live=this.on,this.die=this.off,t===window.document?(this.ready=function(e){return e?window.addEventListener?window.document.addEventListener("DOMContentLoaded",e):window.document.attachEvent("onload",e):o.trigger("ready"),o},this.unload=function(e){return e?window.addEventListener?window.document.addEventListener("unload",e):window.document.attachEvent("onunload",e):o.trigger("unload"),o},this.context=window.document):t===window?this.unload=function(e){return e?window.addEventListener?window.addEventListener("unload",e):window.attachEvent("onunload",e):o.trigger("unload"),o}:this.context=window.document,"function"==typeof t){var s=function l(e){t.bind(o)(e),window.addEventListener?window.document.removeEventListener("DOMContentLoaded",l):window.document.detachEvent("onload",l)};window.addEventListener?window.document.addEventListener("DOMContentLoaded",s):window.document.attachEvent("onload",s)}else{var a=function(e,t){return t?o.on(e,t):o.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 u in h.fn)"extend"!=u&&"fn"!=u&&"function"==typeof h.fn[u]&&(this[u]=h.fn[u].bind(this));this.__domtify=!0}return e.prototype.get=function(e){return this._elem?this._isArray()?this._elem[e]:e>0?null:this._elem:null},e.prototype.hasClass=function(e){if(!this._elem)return!1;for(var t=this.length?this.length:1,n=0;n<t;n++)if(s(this.get(n),e))return!0;return!1},e.prototype.addClass=function(e){if(!this._elem)return this;for(var t=this.length?this.length:1,n=0;n<t;n++)a(this.get(n),e);return this},e.prototype.removeClass=function(e){if(!this._elem)return this;for(var t=this.length?this.length:1,n=0;n<t;n++)u(this.get(n),e);return this},e.prototype.toggleClass=function(e){if(!this._elem)return this;for(var t=this.length?this.length:1,n=0;n<t;n++)s(this.get(n),e)?u(this.get(n),e):a(this.get(n),e);return this},e.prototype.remove=function(){if(!this._elem)return this;for(var e=this.length?this.length:1,t=0;t<e;t++)l(this.get(t));return this},e.prototype.append=function(t){if(!this._elem)return this;var n=new e(t);return f(this.get(0),n),this},e.prototype.appendTo=function(t){return this._elem?(new e(t).append(this),this):this},e.prototype.prepend=function(t){if(!this._elem)return this;var n=new e(t);return d(this.get(0),n),this},e.prototype.prependTo=function(t){return this._elem?(new e(t).prepend(this),this):this},e.prototype.before=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},e.prototype.insertBefore=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},e.prototype.after=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},e.prototype.insertAfter=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},e.prototype.attr=function(e,t){if(!e)throw new Error("need attrName");{if(this._elem){if(void 0===t){if(!this.get(0).hasAttribute(e))return;return this.get(0).getAttribute(e)}for(var n=this.length?this.length:1,r=0;r<n;r++)this.get(r).setAttribute(e,t);return this}if(void 0!==t)return this}},e.prototype.removeAttr=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},e.prototype.detach=function(){throw new Error("unimplement")},e.prototype.clone=function(){throw new Error("unimplement")},e.prototype.replaceAll=function(){throw new Error("unimplement")},e.prototype.unwrap=function(){throw new Error("unimplement")},e.prototype.wrap=function(){throw new Error("unimplement")},e.prototype.wrapAll=function(){throw new Error("unimplement")},e.prototype.wrapinner=function(){throw new Error("unimplement")},e.prototype.empty=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},e.prototype.html=function(e){if(this._elem){if(void 0===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}if(void 0!==e)return this},e.prototype.text=function(e){if(this._elem){if(void 0===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}if(void 0!==e)return this},e.prototype.val=function(e){if(this._elem){if(void 0===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}if(void 0!==e)return this},e.prototype.css=function(e,t){if(this._elem){if(void 0===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}if(void 0!==t)return this},e.prototype.on=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;o<r;o++){var i=this.get(o);if(!(i instanceof e||i.__domtify)||(i=i._elem)){i.__events||(i.__events={}),i.__events[t]||(i.__events[t]=[]);var s,a=i.__events[t];for(s=0;s<a.length&&a[s]!==n;s++);s>=a.length&&a.push(n),"on"+t in i&&(i.addEventListener?i.addEventListener(t,n):i.attachEvent("on"+t,n))}}return this},e.prototype.one=function(e,t){if(!e||"string"!=typeof e)throw new Error("need event name");var n=this,r=function o(r){n.off(e,o),t.bind(this)(r)};return n.on(e,r),this},e.prototype.off=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;o<r;o++){var i=this.get(o);if((!(i instanceof e||i.__domtify)||(i=i._elem))&&(i.__events&&i.__events[t])){var s,a=i.__events[t];if("on"+t in i)for(s=0;s<a.length;s++)i.removeEventListener?i.removeEventListener(t,a[s]):i.detachEvent("on"+t,a[s]);i.__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;o<r;o++){var i=this.get(o);if(i instanceof e&&(i=i._elem),i.__events&&i.__events[t]){var s,a=i.__events[t];for(s=0;s<a.length;s++)if(a[s]===n){a.splice(s,1);break}}"on"+t in i&&(i.removeEventListener?i.removeEventListener(t,n):i.detachEvent("on"+t,n))}return this},e.prototype.trigger=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;o<r;o++){var i=this.get(o);if(i instanceof e&&(i=i._elem),i)if("on"+t in i)if(window.document.addEventListener){var s=window.document.createEvent("HTMLEvents");s.initEvent(t,!0,!0),i.dispatchEvent(s)}else i.fireEvent("on"+t);else if(i.__events&&i.__events[t]){var a,u,s=i.__events[t];for(u={"bubbles":!1,"cancelable":!1,"cancelBubble":!1,"defaultPrevented":!1,"type":t},u.currentTarget=i,u.target=i,a=0;a<s.length;a++)s[a](u,n)}}return this},e.prototype.parent=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,i=0;i<o;i++)this.get(i).parentNode&&(n&&!n._isElementIn(this.get(i).parentNode)||(this._domtify(this.get(i).parentNode),r._elem.push(this.get(i).parentNode),r[r.length]=this.get(i).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},e.prototype.parents=function(t){if(!this._elem)return new e;var n;t&&(n=new e(t));for(var r=[],o=this.length?this.length:1,i=0;i<o;i++)if(this.get(i).parentNode)for(var s=this.get(i);s.parentNode&&s.parentNode!=window&&s.parentNode!=window.document;){if(!n||n._isElementIn(s.parentNode)){var a;for(a=0;a<r.length;a++)if("function"==typeof r[a].isSameNode){if(r[a].isSameNode(s.parentNode))break}else if(r[a]===s.parentNode)break;a>=r.length&&r.push(s.parentNode)}s=s.parentNode}var u=new e;if(r.length>0){u._elem=r,u._isArr=!0,u.length=r.length;for(var i=0;i<r.length;i++)u._domtify(r[i]),u[i]=r[i]}return u},e.prototype.children=function(t){if(!this._elem)return new e;for(var n=[],r=this.length?this.length:1,o=0;o<r;o++){var s;if(t)s=i(t,this.get(o));else{s={"_elem":[],"_isarr":!0};for(var a=0;a<this.get(o).childNodes.length;a++)s._elem.push(this.get(o).childNodes[a])}s._elem&&(s._isarr?n=n.concat(s._elem):n.push(s._elem))}var u=new e;u._elem=n,u._isArr=!0,u.length=n.length;for(var o=0;o<n.length;o++)this._domtify(n[o]),u[o]=n[o];return u},e.prototype.next=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,i=0;i<o;i++)n&&!n._isElementIn(this.get(i).nextSibling)||this.get(i).nextSibling&&r.push(this.get(i).nextSibling);var s=new e;s._elem=r,s._isArr=!0,s.length=r.length;for(var i=0;i<r.length;i++)this._domtify(r[i]),s[i]=r[i];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},e.prototype.prev=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,i=0;i<o;i++)n&&!n._isElementIn(this.get(i).previousSibling)||this.get(i).previousSibling&&r.push(this.get(i).previousSibling);var s=new e;s._elem=r,s._isArr=!0,s.length=r.length;for(var i=0;i<r.length;i++)this._domtify(r[i]),s[i]=r[i];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},e.prototype.each=function(e){if(e)for(var t=0;t<this.length;t++)e(t,this.get(t))},e.prototype._domtify=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 h.fn)"extend"!=r&&"fn"!=r&&"function"==typeof h.fn[r]&&(t[r]||(t[r]=h.fn[r].bind(t)));t._isArr=!1,t._elem=t,t.__domtify=!0}},e.prototype._isArray=function(){return this._isArr},e.prototype._isElementIn=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}();h=function(e){return new y(e)},h.fn={},h.extend=function(e){if(0==arguments.length)return{};if(1==arguments.length){for(var t in arguments[0])"extend"!=t&&"fn"!=t&&"function"==typeof arguments[0][t]&&(h[t]=arguments[0][t]);return this}if(!1===arguments[0])throw new Error("can't be false");var n={},r=0;for(!0===arguments[0]&&(r=1);r<arguments.length;r++)n=g.mergeMap(n,arguments[r]);return n},y.getViewPort=function(){return"BackCompat"==window.document.compatMode?{"width":window.document.body.clientWidth,"height":window.document.body.clientHeight}:{"width":window.document.documentElement.clientWidth,"height":window.document.documentElement.clientHeight}},y.getDocumentPort=function(){return"BackCompat"==window.document.compatMode?{"width":window.document.body.scrollWidth,"height":window.document.body.scrollHeight}:{"width":Math.max(window.document.documentElement.scrollWidth,window.document.documentElement.clientWidth),"height":Math.max(window.document.documentElement.scrollHeight,window.document.documentElement.clientHeight)}},y.getDocumentOffset=function(){var e,t;return"BackCompat"==window.document.compatMode?(e=window.document.body.scrollLeft,t=window.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}},y.getElementOffset=function(e){if(!e)return{};var t=h(e);if(t=t[0]){if("function"==typeof t.getBoundingClientRect){var n=t.getBoundingClientRect();return{"left":n.left,"top":n.top}}for(var r=t.offsetLeft,o=t.offsetTop,i=t.offsetParent;i;)r+=i.offsetLeft,o+=i.offsetTop,i=i.offsetParent;var s,a;return"BackCompat"==window.document.compatMode?(s=window.document.body.scrollLeft,a=window.document.body.scrollTop):(s=0==window.document.documentElement.scrollLeft?window.document.body.scrollLeft:window.document.documentElement.scrollLeft,a=0==window.document.documentElement.scrollTop?window.document.body.scrollTop:window.document.documentElement.scrollTop),{"left":r-s,"top":o-a}}return{}},y.isDom=function(e){return"object"===("undefined"==typeof HTMLElement?"undefined":m(HTMLElement))?e instanceof HTMLElement:e&&"object"===(void 0===e?"undefined":m(e))&&1===e.nodeType&&"string"==typeof e.nodeName},y.removeEventListener=function(e,t,n,r){e&&(e.addEventListener?e.removeEventListener(t,n,r):e.detachEvent("on"+t,n))},y.addEventListener=function(e,t,n,r){e&&(e.addEventListener?e.addEventListener(t,n,r):e.attachEvent("on"+t,n))},t.Dom=y,t.CreateDom=h},function(e,t,n){"use strict";var r=(n(0),n(16)),o=n(17),i=n(18),s={"ajax":r.ajax,"fetch":o.fetch,"jsonp":i.jsonp};e.exports=s},function(e,t,n){"use strict";!function(e){e.console||(e.console={});for(var t,n,r=e.console,o=function(){},i=["memory"],s="assert,clear,count,debug,dir,dirxml,error,exception,group,groupCollapsed,groupEnd,info,log,markTimeline,profile,profiles,profileEnd,show,table,time,timeEnd,timeline,timelineEnd,timeStamp,trace,warn".split(",");t=i.pop();)r[t]||(r[t]={});for(;n=s.pop();)r[n]||(r[n]=o)}("undefined"==typeof window?void 0:window)},function(e,t,n){"use strict";e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{"enumerable":!0,"get":function(){return e.l}}),Object.defineProperty(e,"id",{"enumerable":!0,"get":function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,n){"use strict";(function(e){var t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};n(11),n(5),function(n,r){"object"===t(e)&&"object"===t(e.exports)?e.exports=n.document?r(n,!0):function(e){if(!e.document)throw new Error("febs requires a window with a document");return r(e)}:r(n)}("undefined"!=typeof window?window:void 0,function(e,t){e.__debug||(e.__debug=!1);var r=n(6);e.requestAnimationFrame||(e.requestAnimationFrame=r.requestAnimationFrame),e.cancelAnimationFrame||(e.cancelAnimationFrame=r.cancelAnimationFrame);var o={};return o.date=n(8),o.string=n(1),o.crypt=n(7),o.utils=n(0),o.net=n(10),o.dom=n(9),o.$=o.dom.CreateDom,o.dom=o.dom.Dom,e.febs?(e.febs.string=e.febs.string?o.utils.mergeMap(e.febs.string,o.string):o.string,e.febs.crypt=e.febs.crypt?o.utils.mergeMap(e.febs.crypt,o.crypt):o.crypt,e.febs.utils=e.febs.utils?o.utils.mergeMap(e.febs.utils,o.utils):o.utils,e.febs.net=e.febs.net?o.utils.mergeMap(e.febs.net,o.net):o.net,e.febs.dom=e.febs.dom?o.utils.mergeMap(e.febs.dom,o.dom):o.dom):e.febs=o,e.$||(e.$=o.$),e.jQuery||(e.jQuery=o.$),e.console.debug=function(){if(e.__debug){var t;t=e.console.warn?e.console.warn:e.console.log;for(var n=0;n<arguments.length;n++)t(arguments[n])}},o})}).call(t,n(12)(e))},function(e,t,n){"use strict";var r=n(3),o=[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];t.crc32_table=o,t.base64_encode=function(e){if(!e)return"";"string"==typeof e&&(e=r.utf8ToBytes(e));var t,n,o,i,s,a,u="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(o=e.length,n=0,t="";n<o;){if(i=255&e[n++],n==o){t+=u.charAt(i>>2),t+=u.charAt((3&i)<<4),t+="==";break}if(s=e[n++],n==o){t+=u.charAt(i>>2),t+=u.charAt((3&i)<<4|(240&s)>>4),t+=u.charAt((15&s)<<2),t+="=";break}a=e[n++],t+=u.charAt(i>>2),t+=u.charAt((3&i)<<4|(240&s)>>4),t+=u.charAt((15&s)<<2|(192&a)>>6),t+=u.charAt(63&a)}return t}},function(e,t,n){"use strict";var r="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},o="function"==typeof Symbol&&"symbol"===r(Symbol.iterator)?function(e){return void 0===e?"undefined":r(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":void 0===e?"undefined":r(e)},i=Promise,s=n(2);t.sleep=function(e){return new i(function(t,n){try{setTimeout(function(){t()},e)}catch(r){n(r)}})},t.browserIsMobile=function(e){e||void 0!==("undefined"==typeof window?"undefined":o(window))&&(e=window.navigator.userAgent);var t=e,n=["Android","webOS","iPhone","iPad","iPod","Blackberry","Windows Phone"],r=new RegExp(n.join("|"),"i");return null!=t.match(r)},t.browserIsIOS=function(e){e||void 0!==("undefined"==typeof window?"undefined":o(window))&&(e=window.navigator.userAgent);var t=e,n=["iPhone","iPad","iPod"],r=new RegExp(n.join("|"),"i");return null!=t.match(r)},t.browserIsPhone=function(e){e||void 0!==("undefined"==typeof window?"undefined":o(window))&&(e=window.navigator.userAgent);var t=e,n=["Android","iPhone","iPod","Blackberry","Windows Phone"],r=new RegExp(n.join("|"),"i");return null!=t.match(r)},t.browserIsWeixin=function(e){return e||void 0!==("undefined"==typeof window?"undefined":o(window))&&(e=window.navigator.userAgent),"MicroMessenger"==e.match(/MicroMessenger/i)},t.mergeMap=function(){for(var e,t={},n=0;n<arguments.length;n++)if(e=arguments[n])for(var r in e)t[r]=e[r];return t},t.isNull=function(e){return null===e||void 0===e||Number.isNaN(e)},t.getTimeString=s.getTimeString,t.getTimeStringFromNow=s.getTimeStringFromNow,t.getDate=s.getDate,t.getDate2=s.getDate2,t.denodeify=function(e,t,n){return n=n||1/0,function(){var r=Array.prototype.slice.call(arguments,0,n>0?n:0);return new i(function(n,i){r.push(function(e,t){e?i(e):n(t)});var s=e.apply(t,r);!s||"object"!==(void 0===s?"undefined":o(s))&&"function"!=typeof s||"function"!=typeof s.then||n(s)})}}},function(e,t,n){"use strict";function r(e){if(e.url){window[i]||(window[i]=1);var t=e.url.indexOf("?");t<0?e.url+="?ajaxmark="+window[i]:t==e.url.length-1?e.url+="ajaxmark="+window[i]:e.url+="&ajaxmark="+window[i]}window[i]++;var n=e.error||function(){},r=e.success||function(){},s=e.complete||function(){};e.processData=!e.hasOwnProperty("processData")||e.processData;var a=o.transfer(window);a.onreadystatechange=function(){if(4==a.readyState){var e=1223===a.status?204:a.status;if(e<100||e>599)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),s(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 u=!1!==e.async?e.timeout:0;if(a.timeout=void 0!==u&&null!==u?u:o.DefaultTimeout,e.hasOwnProperty("withCredentials")?a.withCredentials=e.withCredentials:a.withCredentials=!0,e.headers)if(a.setRequestHeader)for(var l in e.headers){var f=e.headers[l];"Content-Type"==l&&!1===f||a.setRequestHeader(l,f)}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"]&&e.headers["Content-Type"].toLowerCase().indexOf("json")>=0)d=JSON.stringify(d);else{var c="";for(var l in d){var f=d[l];c.length>0&&(c+="&"),c+=l+"="+(f?f.toString():"")}d=c}}catch(h){console.log("ajax stringify data error"),console.log(h)}return e.beforeSend&&e.beforeSend(a),a.send(d),{"abort":function(){a.abort()}}}var o=(n(0),n(4)),i="_FeBs_ajaxmark",s={};s.ajax=r,e.exports=s},function(e,t,n){"use strict";var r=(n(0),n(4)),o={},i={};if(!Promise)throw new Error("unsupported Promise");o.normalizeName=function(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()},o.normalizeValue=function(e){return"string"!=typeof e&&(e=String(e)),e},o.Headers=function(e){this.map={},e instanceof o.Headers?e.forEach(function(e,t){this.append(t,e)},this):e&&Object.getOwnPropertyNames(e).forEach(function(t){this.append(t,e[t])},this)},o.Headers.prototype.append=function(e,t){e=o.normalizeName(e),t=o.normalizeValue(t);var n=this.map[e];n||(n=[],this.map[e]=n),n.push(t)},o.Headers.prototype.delete=function(e){delete this.map[o.normalizeName(e)]},o.Headers.prototype.get=function(e){var t=this.map[o.normalizeName(e)];return t?t[0]:null},o.Headers.prototype.getAll=function(e){return this.map[o.normalizeName(e)]||[]},o.Headers.prototype.has=function(e){return this.map.hasOwnProperty(o.normalizeName(e))},o.Headers.prototype.set=function(e,t){this.map[o.normalizeName(e)]=[o.normalizeValue(t)]},o.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)},o.consumed=function(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0},o.fileReaderReady=function(e){return new Promise(function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}})},o.readBlobAsArrayBuffer=function(e){var t=new FileReader;return t.readAsArrayBuffer(e),o.fileReaderReady(t)},o.readBlobAsText=function(e){var t=new FileReader;return t.readAsText(e),o.fileReaderReady(t)},o.support={"blob":"FileReader"in window.self&&"Blob"in window.self&&function(){try{return new Blob,!0}catch(e){return!1}}(),"formData":"FormData"in window.self,"arrayBuffer":"ArrayBuffer"in window.self},o.Body=function(){return this.bodyUsed=!1,this._initBody=function(e){if(this._bodyInit=e,"string"==typeof e)this._bodyText=e;else if(o.support.blob&&Blob.prototype.isPrototypeOf(e))this._bodyBlob=e;else if(o.support.formData&&FormData.prototype.isPrototypeOf(e))this._bodyFormData=e;else if(e){if(!o.support.arrayBuffer||!ArrayBuffer.prototype.isPrototypeOf(e))throw new Error("unsupported BodyInit type")}else this._bodyText=""},o.support.blob?(this.blob=function(){var e=o.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(o.readBlobAsArrayBuffer)},this.text=function(){var e=o.consumed(this);if(e)return e;if(this._bodyBlob)return o.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=o.consumed(this);return e||Promise.resolve(this._bodyText)},o.support.formData&&(this.formData=function(){return this.text().then(o.decode)}),this.json=function(){return this.text().then(JSON.parse)},this},o.normalizeMethod=function(e){var t=["DELETE","GET","HEAD","OPTIONS","POST","PUT"],n=e.toUpperCase();return t.indexOf(n)>-1?n:e},o.Request=function(e,t){t=t||{};var n=t.body;if(o.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 o.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 o.Headers(t.headers)),this.method=o.normalizeMethod(t.method||this.method||"GET"),this.mode=t.mode||this.mode||null,this.referrer=null,this._initBody(n)},o.Request.prototype.clone=function(){return new o.Request(this)},o.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},o.headers=function(e){var t=new o.Headers;return e.getAllResponseHeaders().trim().split("\n").forEach(function(e){var n=e.trim().split(":"),r=n.shift().trim(),o=n.join(":").trim();t.append(r,o)}),t},o.Body.call(o.Request.prototype),o.Response=function(e,t){t||(t={}),this._initBody(e),this.type="default",this.status=t.status,this.ok=this.status>=200&&this.status<300,this.statusText=t.statusText,this.headers=t.headers instanceof o.Headers?t.headers:new o.Headers(t.headers),this.url=t.url||""},o.Body.call(o.Response.prototype),o.Response.prototype.clone=function(){return new o.Response(this._bodyInit,{"status":this.status,"statusText":this.statusText,"headers":new o.Headers(this.headers),"url":this.url})},o.Response.error=function(){var e=new o.Response(null,{"status":0,"statusText":""});return e.type="error",e};var s=[301,302,303,307,308];o.Response.redirect=function(e,t){if(-1===s.indexOf(t))throw new RangeError("Invalid status code");return new o.Response(null,{"status":t,"headers":{"location":e}})},window.Headers=o.Headers,window.Request=o.Request,window.Response=o.Response,window.fetch=o.fetch=function(e,t){return new Promise(function(n,i){function s(){return"responseURL"in u?u.responseURL:/^X-Request-URL:/m.test(u.getAllResponseHeaders())?u.getResponseHeader("X-Request-URL"):void 0}var a;a=o.Request.prototype.isPrototypeOf(e)&&!t?e:new o.Request(e,t);var u=r.transfer(window);u.onreadystatechange=function(){if(4==u.readyState){var e=1223===u.status?204:u.status;if(e<100||e>599)return void i(new TypeError("Network request failed"));var t={"status":e,"statusText":u.statusText,"headers":o.headers(u),"url":s()},r="response"in u?u.response:u.responseText;n(new o.Response(r,t))}},u.ontimeout=function(){i("timeout")},u.onerror=function(){i(new TypeError("Network request failed"))},t.progress&&(u.onprogress=function(e){e.lengthComputable&&t.progress(e.position/e.totalSize)}),u.open(a.method,a.url,!0);var l=t?t.timeout:null;u.timeout=void 0!==l&&null!==l?l:r.DefaultTimeout,"include"===a.credentials?u.withCredentials=!0:u.withCredentials=!1,"responseType"in u&&o.support.blob&&(u.responseType="blob"),u.setRequestHeader?a.headers.forEach(function(e,t){u.setRequestHeader(t,e)}):a.headers&&a.headers.map.length>0&&console.log("fetch can't set headers"),u.send(void 0===a._bodyInit?null:a._bodyInit)})},o.fetch.polyfill=!0,i.fetch=o.fetch,e.exports=i},function(e,t,n){"use strict";var r=(n(0),{}),o={};r.jsonp_defaultOptions={"timeout":5e3,"jsonpCallback":"callback"},r.jsonp_generateCallbackFunction=function(){return"jsonp_"+Date.now().toString()+"_"+Math.ceil(1e5*Math.random())},r.jsonp_clearFunction=function(e){try{delete window[e]}catch(t){}},r.jsonp_removeScript=function(e){var t=document.getElementById(e);document.getElementsByTagName("head")[0].removeChild(t)},r.jsonp=function(e,t){t=t||{};var n,o=null!=t.timeout?t.timeout:r.jsonp_defaultOptions.timeout,i=t.jsonpCallback?t.jsonpCallback:r.jsonp_defaultOptions.jsonpCallback;return new Promise(function(t,s){var a=r.jsonp_generateCallbackFunction();window[a]=function(e){t({"ok":!0,"json":function(){return Promise.resolve(e)}}),n&&clearTimeout(n),r.jsonp_removeScript(i+"_"+a),r.jsonp_clearFunction(a)},e+=-1===e.indexOf("?")?"?":"&";var u=document.createElement("script");u.setAttribute("src",e+i+"="+a),u.id=i+"_"+a,document.getElementsByTagName("head")[0].appendChild(u),n=setTimeout(function(){s("timeout"),r.jsonp_clearFunction(a),r.jsonp_removeScript(i+"_"+a)},o)})},o.jsonp=r.jsonp,e.exports=o}]); |
@@ -1,1 +0,1 @@ | ||
!function(e){function n(r){if(t[r])return t[r].exports;var i=t[r]={"i":r,"l":!1,"exports":{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}var t={};n.m=e,n.c=t,n.i=function(e){return e},n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{"configurable":!1,"enumerable":!0,"get":r})},n.n=function(e){var t=e&&e.__esModule?function(){return e['default']}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},n.p="",n(n.s=5)}([function(e,n,t){"use strict";var r,i="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};!function(o){function u(e){function n(e,r){var i,o,u,c,s,f,l=this;if(!(l instanceof n))return z&&F(26,"constructor call without new",e),new n(e,r);if(null!=r&&V(r,2,64,B,"base")){if(r|=0,f=e+"",10==r)return l=new n(e instanceof n?e:f),P(l,k+l.e+1,C);if((c="number"==typeof e)&&0*e!=0||!new RegExp("^-?"+(i="["+O.slice(0,r)+"]+")+"(?:\\."+i+")?$",r<37?"i":"").test(f))return q(l,f,c,r);c?(l.s=1/e<0?(f=f.slice(1),-1):1,z&&f.replace(/^0\.0*|\./,"").length>15&&F(B,S,e),c=!1):l.s=45===f.charCodeAt(0)?(f=f.slice(1),-1):1,f=t(f,10,r,l.s)}else{if(e instanceof n)return l.s=e.s,l.e=e.e,l.c=(e=e.c)?e.slice():e,void(B=0);if((c="number"==typeof e)&&0*e==0){if(l.s=1/e<0?(e=-e,-1):1,e===~~e){for(o=0,u=e;u>=10;u/=10,o++);return l.e=o,l.c=[e],void(B=0)}f=e+""}else{if(!b.test(f=e+""))return q(l,f,c);l.s=45===f.charCodeAt(0)?(f=f.slice(1),-1):1}}for((o=f.indexOf("."))>-1&&(f=f.replace(".","")),(u=f.search(/e/i))>0?(o<0&&(o=u),o+=+f.slice(u+1),f=f.substring(0,u)):o<0&&(o=f.length),u=0;48===f.charCodeAt(u);u++);for(s=f.length;48===f.charCodeAt(--s););if(f=f.slice(u,s+1))if(s=f.length,c&&z&&s>15&&(e>x||e!==y(e))&&F(B,S,l.s*e),(o=o-u-1)>G)l.c=l.e=null;else if(o<$)l.c=[l.e=0];else{if(l.e=o,l.c=[],u=(o+1)%E,o<0&&(u+=E),u<s){for(u&&l.c.push(+f.slice(0,u)),s-=E;u<s;)l.c.push(+f.slice(u,u+=E));f=f.slice(u),u=E-f.length}else u-=s;for(;u--;f+="0");l.c.push(+f)}else l.c=[l.e=0];B=0}function t(e,t,r,i){var o,u,c,f,l,a,p,d=e.indexOf("."),m=k,b=C;for(r<37&&(e=e.toLowerCase()),d>=0&&(c=J,J=0,e=e.replace(".",""),p=new n(r),l=p.pow(e.length-d),J=c,p.c=h(g(s(l.c),l.e),10,t),p.e=p.c.length),a=h(e,r,t),u=c=a.length;0==a[--c];a.pop());if(!a[0])return"0";if(d<0?--u:(l.c=a,l.e=u,l.s=i,l=D(l,p,m,b,t),a=l.c,f=l.r,u=l.e),o=u+m+1,d=a[o],c=t/2,f=f||o<0||null!=a[o+1],f=b<4?(null!=d||f)&&(0==b||b==(l.s<0?3:2)):d>c||d==c&&(4==b||f||6==b&&1&a[o-1]||b==(l.s<0?8:7)),o<1||!a[0])e=f?g("1",-m):"0";else{if(a.length=o,f)for(--t;++a[--o]>t;)a[o]=0,o||(++u,a=[1].concat(a));for(c=a.length;!a[--c];);for(d=0,e="";d<=c;e+=O.charAt(a[d++]));e=g(e,u)}return e}function r(e,t,r,i){var o,u,c,f,l;if(r=null!=r&&V(r,0,8,i,N)?0|r:C,!e.c)return e.toString();if(o=e.c[0],c=e.e,null==t)l=s(e.c),l=19==i||24==i&&c<=M?p(l,c):g(l,c);else if(e=P(new n(e),t,r),u=e.e,l=s(e.c),f=l.length,19==i||24==i&&(t<=u||u<=M)){for(;f<t;l+="0",f++);l=p(l,u)}else if(t-=c,l=g(l,u),u+1>f){if(--t>0)for(l+=".";t--;l+="0");}else if((t+=u-f)>0)for(u+1==f&&(l+=".");t--;l+="0");return e.s<0&&o?"-"+l:l}function o(e,t){var r,i,o=0;for(a(e[0])&&(e=e[0]),r=new n(e[0]);++o<e.length;){if(i=new n(e[o]),!i.s){r=i;break}t.call(r,i)&&(r=i)}return r}function m(e,n,t,r,i){return(e<n||e>t||e!=d(e))&&F(r,(i||"decimal places")+(e<n||e>t?" out of range":" not an integer"),e),!0}function T(e,n,t){for(var r=1,i=n.length;!n[--i];n.pop());for(i=n[0];i>=10;i/=10,r++);return(t=r+t*E-1)>G?e.c=e.e=null:t<$?e.c=[e.e=0]:(e.e=t,e.c=n),e}function F(e,n,t){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]+"() "+n+": "+t);throw r.name="BigNumber Error",B=0,r}function P(e,n,t,r){var i,o,u,c,s,f,l,a=e.c,h=R;if(a){e:{for(i=1,c=a[0];c>=10;c/=10,i++);if((o=n-i)<0)o+=E,u=n,s=a[f=0],l=s/h[i-u-1]%10|0;else if((f=w((o+1)/E))>=a.length){if(!r)break e;for(;a.length<=f;a.push(0));s=l=0,i=1,o%=E,u=o-E+1}else{for(s=c=a[f],i=1;c>=10;c/=10,i++);o%=E,u=o-E+i,l=u<0?0:s/h[i-u-1]%10|0}if(r=r||n<0||null!=a[f+1]||(u<0?s:s%h[i-u-1]),r=t<4?(l||r)&&(0==t||t==(e.s<0?3:2)):l>5||5==l&&(4==t||r||6==t&&(o>0?u>0?s/h[i-u]:0:a[f-1])%10&1||t==(e.s<0?8:7)),n<1||!a[0])return a.length=0,r?(n-=e.e+1,a[0]=h[(E-n%E)%E],e.e=-n||0):a[0]=e.e=0,e;if(0==o?(a.length=f,c=1,f--):(a.length=f+1,c=h[E-o],a[f]=u>0?y(s/h[i-u]%h[u])*c:0),r)for(;;){if(0==f){for(o=1,u=a[0];u>=10;u/=10,o++);for(u=a[0]+=c,c=1;u>=10;u/=10,c++);o!=c&&(e.e++,a[0]==_&&(a[0]=1));break}if(a[f]+=c,a[f]!=_)break;a[f--]=0,c=1}for(o=a.length;0===a[--o];a.pop());}e.e>G?e.c=e.e=null:e.e<$&&(e.c=[e.e=0])}return e}var D,q,B=0,L=n.prototype,U=new n(1),k=20,C=4,M=-7,j=21,$=-1e7,G=1e7,z=!0,V=m,H=!1,W=1,J=0,X={"decimalSeparator":".","groupSeparator":",","groupSize":3,"secondaryGroupSize":0,"fractionGroupSeparator":" ","fractionGroupSize":0};return n.another=u,n.ROUND_UP=0,n.ROUND_DOWN=1,n.ROUND_CEIL=2,n.ROUND_FLOOR=3,n.ROUND_HALF_UP=4,n.ROUND_HALF_DOWN=5,n.ROUND_HALF_EVEN=6,n.ROUND_HALF_CEIL=7,n.ROUND_HALF_FLOOR=8,n.EUCLID=9,n.config=n.set=function(){var e,n,t=0,r={},o=arguments,u=o[0],c=u&&"object"==(void 0===u?"undefined":i(u))?function(){if(u.hasOwnProperty(n))return null!=(e=u[n])}:function(){if(o.length>t)return null!=(e=o[t++])};return c(n="DECIMAL_PLACES")&&V(e,0,I,2,n)&&(k=0|e),r[n]=k,c(n="ROUNDING_MODE")&&V(e,0,8,2,n)&&(C=0|e),r[n]=C,c(n="EXPONENTIAL_AT")&&(a(e)?V(e[0],-I,0,2,n)&&V(e[1],0,I,2,n)&&(M=0|e[0],j=0|e[1]):V(e,-I,I,2,n)&&(M=-(j=0|(e<0?-e:e)))),r[n]=[M,j],c(n="RANGE")&&(a(e)?V(e[0],-I,-1,2,n)&&V(e[1],1,I,2,n)&&($=0|e[0],G=0|e[1]):V(e,-I,I,2,n)&&(0|e?$=-(G=0|(e<0?-e:e)):z&&F(2,n+" cannot be zero",e))),r[n]=[$,G],c(n="ERRORS")&&(e===!!e||1===e||0===e?(B=0,V=(z=!!e)?m:l):z&&F(2,n+v,e)),r[n]=z,c(n="CRYPTO")&&(!0===e||!1===e||1===e||0===e?e?(e="undefined"==typeof crypto,!e&&crypto&&(crypto.getRandomValues||crypto.randomBytes)?H=!0:z?F(2,"crypto unavailable",e?void 0:crypto):H=!1):H=!1:z&&F(2,n+v,e)),r[n]=H,c(n="MODULO_MODE")&&V(e,0,9,2,n)&&(W=0|e),r[n]=W,c(n="POW_PRECISION")&&V(e,0,I,2,n)&&(J=0|e),r[n]=J,c(n="FORMAT")&&("object"==(void 0===e?"undefined":i(e))?X=e:z&&F(2,n+" not an object",e)),r[n]=X,r},n.max=function(){return o(arguments,L.lt)},n.min=function(){return o(arguments,L.gt)},n.random=function(){var e=9007199254740992*Math.random()&2097151?function(){return y(9007199254740992*Math.random())}:function(){return 8388608*(1073741824*Math.random()|0)+(8388608*Math.random()|0)};return function(t){var r,i,o,u,c,s=0,f=[],l=new n(U);if(t=null!=t&&V(t,0,I,14)?0|t:k,u=w(t/E),H)if(crypto.getRandomValues){for(r=crypto.getRandomValues(new Uint32Array(u*=2));s<u;)c=131072*r[s]+(r[s+1]>>>11),c>=9e15?(i=crypto.getRandomValues(new Uint32Array(2)),r[s]=i[0],r[s+1]=i[1]):(f.push(c%1e14),s+=2);s=u/2}else if(crypto.randomBytes){for(r=crypto.randomBytes(u*=7);s<u;)c=281474976710656*(31&r[s])+1099511627776*r[s+1]+4294967296*r[s+2]+16777216*r[s+3]+(r[s+4]<<16)+(r[s+5]<<8)+r[s+6],c>=9e15?crypto.randomBytes(7).copy(r,s):(f.push(c%1e14),s+=7);s=u/7}else H=!1,z&&F(14,"crypto unavailable",crypto);if(!H)for(;s<u;)(c=e())<9e15&&(f[s++]=c%1e14);for(u=f[--s],t%=E,u&&t&&(c=R[E-t],f[s]=y(u/c)*c);0===f[s];f.pop(),s--);if(s<0)f=[o=0];else{for(o=-1;0===f[0];f.splice(0,1),o-=E);for(s=1,c=f[0];c>=10;c/=10,s++);s<E&&(o-=E-s)}return l.e=o,l.c=f,l}}(),D=function(){function e(e,n,t){var r,i,o,u,c=0,s=e.length,f=n%A,l=n/A|0;for(e=e.slice();s--;)o=e[s]%A,u=e[s]/A|0,r=l*o+u*f,i=f*o+r%A*A+c,c=(i/t|0)+(r/A|0)+l*u,e[s]=i%t;return c&&(e=[c].concat(e)),e}function t(e,n,t,r){var i,o;if(t!=r)o=t>r?1:-1;else for(i=o=0;i<t;i++)if(e[i]!=n[i]){o=e[i]>n[i]?1:-1;break}return o}function r(e,n,t,r){for(var i=0;t--;)e[t]-=i,i=e[t]<n[t]?1:0,e[t]=i*r+e[t]-n[t];for(;!e[0]&&e.length>1;e.splice(0,1));}return function(i,o,u,s,f){var l,a,h,p,g,d,m,b,w,v,N,S,O,x,R,A,I,T=i.s==o.s?1:-1,F=i.c,D=o.c;if(!(F&&F[0]&&D&&D[0]))return new n(i.s&&o.s&&(F?!D||F[0]!=D[0]:D)?F&&0==F[0]||!D?0*T:T/0:NaN);for(b=new n(T),w=b.c=[],a=i.e-o.e,T=u+a+1,f||(f=_,a=c(i.e/E)-c(o.e/E),T=T/E|0),h=0;D[h]==(F[h]||0);h++);if(D[h]>(F[h]||0)&&a--,T<0)w.push(1),p=!0;else{for(x=F.length,A=D.length,h=0,T+=2,g=y(f/(D[0]+1)),g>1&&(D=e(D,g,f),F=e(F,g,f),A=D.length,x=F.length),O=A,v=F.slice(0,A),N=v.length;N<A;v[N++]=0);I=D.slice(),I=[0].concat(I),R=D[0],D[1]>=f/2&&R++;do{if(g=0,(l=t(D,v,A,N))<0){if(S=v[0],A!=N&&(S=S*f+(v[1]||0)),(g=y(S/R))>1)for(g>=f&&(g=f-1),d=e(D,g,f),m=d.length,N=v.length;1==t(d,v,m,N);)g--,r(d,A<m?I:D,m,f),m=d.length,l=1;else 0==g&&(l=g=1),d=D.slice(),m=d.length;if(m<N&&(d=[0].concat(d)),r(v,d,N,f),N=v.length,-1==l)for(;t(D,v,A,N)<1;)g++,r(v,A<N?I:D,N,f),N=v.length}else 0===l&&(g++,v=[0]);w[h++]=g,v[0]?v[N++]=F[O]||0:(v=[F[O]],N=1)}while((O++<x||null!=v[0])&&T--);p=null!=v[0],w[0]||w.splice(0,1)}if(f==_){for(h=1,T=w[0];T>=10;T/=10,h++);P(b,u+(b.e=h+a*E-1)+1,s,p)}else b.e=a,b.r=+p;return b}}(),q=function(){var e=/^(-?)0([xbo])(?=\w[\w.]*$)/i,t=/^([^.]+)\.$/,r=/^\.([^.]+)$/,i=/^-?(Infinity|NaN)$/,o=/^\s*\+(?=[\w.])|^\s+|\s+$/g;return function(u,c,s,f){var l,a=s?c:c.replace(o,"");if(i.test(a))u.s=isNaN(a)?null:a<0?-1:1;else{if(!s&&(a=a.replace(e,function(e,n,t){return l="x"==(t=t.toLowerCase())?16:"b"==t?2:8,f&&f!=l?e:n}),f&&(l=f,a=a.replace(t,"$1").replace(r,"0.$1")),c!=a))return new n(a,l);z&&F(B,"not a"+(f?" base "+f:"")+" number",c),u.s=null}u.c=u.e=null,B=0}}(),L.absoluteValue=L.abs=function(){var e=new n(this);return e.s<0&&(e.s=1),e},L.ceil=function(){return P(new n(this),this.e+1,2)},L.comparedTo=L.cmp=function(e,t){return B=1,f(this,new n(e,t))},L.decimalPlaces=L.dp=function(){var e,n,t=this.c;if(!t)return null;if(e=((n=t.length-1)-c(this.e/E))*E,n=t[n])for(;n%10==0;n/=10,e--);return e<0&&(e=0),e},L.dividedBy=L.div=function(e,t){return B=3,D(this,new n(e,t),k,C)},L.dividedToIntegerBy=L.divToInt=function(e,t){return B=4,D(this,new n(e,t),0,1)},L.equals=L.eq=function(e,t){return B=5,0===f(this,new n(e,t))},L.floor=function(){return P(new n(this),this.e+1,3)},L.greaterThan=L.gt=function(e,t){return B=6,f(this,new n(e,t))>0},L.greaterThanOrEqualTo=L.gte=function(e,t){return B=7,1===(t=f(this,new n(e,t)))||0===t},L.isFinite=function(){return!!this.c},L.isInteger=L.isInt=function(){return!!this.c&&c(this.e/E)>this.c.length-2},L.isNaN=function(){return!this.s},L.isNegative=L.isNeg=function(){return this.s<0},L.isZero=function(){return!!this.c&&0==this.c[0]},L.lessThan=L.lt=function(e,t){return B=8,f(this,new n(e,t))<0},L.lessThanOrEqualTo=L.lte=function(e,t){return B=9,-1===(t=f(this,new n(e,t)))||0===t},L.minus=L.sub=function(e,t){var r,i,o,u,s=this,f=s.s;if(B=10,e=new n(e,t),t=e.s,!f||!t)return new n(NaN);if(f!=t)return e.s=-t,s.plus(e);var l=s.e/E,a=e.e/E,h=s.c,p=e.c;if(!l||!a){if(!h||!p)return h?(e.s=-t,e):new n(p?s:NaN);if(!h[0]||!p[0])return p[0]?(e.s=-t,e):new n(h[0]?s:3==C?-0:0)}if(l=c(l),a=c(a),h=h.slice(),f=l-a){for((u=f<0)?(f=-f,o=h):(a=l,o=p),o.reverse(),t=f;t--;o.push(0));o.reverse()}else for(i=(u=(f=h.length)<(t=p.length))?f:t,f=t=0;t<i;t++)if(h[t]!=p[t]){u=h[t]<p[t];break}if(u&&(o=h,h=p,p=o,e.s=-e.s),(t=(i=p.length)-(r=h.length))>0)for(;t--;h[r++]=0);for(t=_-1;i>f;){if(h[--i]<p[i]){for(r=i;r&&!h[--r];h[r]=t);--h[r],h[i]+=_}h[i]-=p[i]}for(;0==h[0];h.splice(0,1),--a);return h[0]?T(e,h,a):(e.s=3==C?-1:1,e.c=[e.e=0],e)},L.modulo=L.mod=function(e,t){var r,i,o=this;return B=11,e=new n(e,t),!o.c||!e.s||e.c&&!e.c[0]?new n(NaN):!e.c||o.c&&!o.c[0]?new n(o):(9==W?(i=e.s,e.s=1,r=D(o,e,0,3),e.s=i,r.s*=i):r=D(o,e,0,W),o.minus(r.times(e)))},L.negated=L.neg=function(){var e=new n(this);return e.s=-e.s||null,e},L.plus=L.add=function(e,t){var r,i=this,o=i.s;if(B=12,e=new n(e,t),t=e.s,!o||!t)return new n(NaN);if(o!=t)return e.s=-t,i.minus(e);var u=i.e/E,s=e.e/E,f=i.c,l=e.c;if(!u||!s){if(!f||!l)return new n(o/0);if(!f[0]||!l[0])return l[0]?e:new n(f[0]?i:0*o)}if(u=c(u),s=c(s),f=f.slice(),o=u-s){for(o>0?(s=u,r=l):(o=-o,r=f),r.reverse();o--;r.push(0));r.reverse()}for(o=f.length,t=l.length,o-t<0&&(r=l,l=f,f=r,t=o),o=0;t;)o=(f[--t]=f[t]+l[t]+o)/_|0,f[t]=_===f[t]?0:f[t]%_;return o&&(f=[o].concat(f),++s),T(e,f,s)},L.precision=L.sd=function(e){var n,t,r=this,i=r.c;if(null!=e&&e!==!!e&&1!==e&&0!==e&&(z&&F(13,"argument"+v,e),e!=!!e&&(e=null)),!i)return null;if(t=i.length-1,n=t*E+1,t=i[t]){for(;t%10==0;t/=10,n--);for(t=i[0];t>=10;t/=10,n++);}return e&&r.e+1>n&&(n=r.e+1),n},L.round=function(e,t){var r=new n(this);return(null==e||V(e,0,I,15))&&P(r,~~e+this.e+1,null!=t&&V(t,0,8,15,N)?0|t:C),r},L.shift=function(e){var t=this;return V(e,-x,x,16,"argument")?t.times("1e"+d(e)):new n(t.c&&t.c[0]&&(e<-x||e>x)?t.s*(e<0?0:1/0):t)},L.squareRoot=L.sqrt=function(){var e,t,r,i,o,u=this,f=u.c,l=u.s,a=u.e,h=k+4,p=new n("0.5");if(1!==l||!f||!f[0])return new n(!l||l<0&&(!f||f[0])?NaN:f?u:1/0);if(l=Math.sqrt(+u),0==l||l==1/0?(t=s(f),(t.length+a)%2==0&&(t+="0"),l=Math.sqrt(t),a=c((a+1)/2)-(a<0||a%2),l==1/0?t="1e"+a:(t=l.toExponential(),t=t.slice(0,t.indexOf("e")+1)+a),r=new n(t)):r=new n(l+""),r.c[0])for(a=r.e,l=a+h,l<3&&(l=0);;)if(o=r,r=p.times(o.plus(D(u,o,h,1))),s(o.c).slice(0,l)===(t=s(r.c)).slice(0,l)){if(r.e<a&&--l,"9999"!=(t=t.slice(l-3,l+1))&&(i||"4999"!=t)){+t&&(+t.slice(1)||"5"!=t.charAt(0))||(P(r,r.e+k+2,1),e=!r.times(r).eq(u));break}if(!i&&(P(o,o.e+k+2,0),o.times(o).eq(u))){r=o;break}h+=4,l+=4,i=1}return P(r,r.e+k+1,C,e)},L.times=L.mul=function(e,t){var r,i,o,u,s,f,l,a,h,p,g,d,m,b,w,y=this,v=y.c,N=(B=17,e=new n(e,t)).c;if(!(v&&N&&v[0]&&N[0]))return!y.s||!e.s||v&&!v[0]&&!N||N&&!N[0]&&!v?e.c=e.e=e.s=null:(e.s*=y.s,v&&N?(e.c=[0],e.e=0):e.c=e.e=null),e;for(i=c(y.e/E)+c(e.e/E),e.s*=y.s,l=v.length,p=N.length,l<p&&(m=v,v=N,N=m,o=l,l=p,p=o),o=l+p,m=[];o--;m.push(0));for(b=_,w=A,o=p;--o>=0;){for(r=0,g=N[o]%w,d=N[o]/w|0,s=l,u=o+s;u>o;)a=v[--s]%w,h=v[s]/w|0,f=d*a+h*g,a=g*a+f%w*w+m[u]+r,r=(a/b|0)+(f/w|0)+d*h,m[u--]=a%b;m[u]=r}return r?++i:m.splice(0,1),T(e,m,i)},L.toDigits=function(e,t){var r=new n(this);return e=null!=e&&V(e,1,I,18,"precision")?0|e:null,t=null!=t&&V(t,0,8,18,N)?0|t:C,e?P(r,e,t):r},L.toExponential=function(e,n){return r(this,null!=e&&V(e,0,I,19)?1+~~e:null,n,19)},L.toFixed=function(e,n){return r(this,null!=e&&V(e,0,I,20)?~~e+this.e+1:null,n,20)},L.toFormat=function(e,n){var t=r(this,null!=e&&V(e,0,I,21)?~~e+this.e+1:null,n,21);if(this.c){var i,o=t.split("."),u=+X.groupSize,c=+X.secondaryGroupSize,s=X.groupSeparator,f=o[0],l=o[1],a=this.s<0,h=a?f.slice(1):f,p=h.length;if(c&&(i=u,u=c,c=i,p-=i),u>0&&p>0){for(i=p%u||u,f=h.substr(0,i);i<p;i+=u)f+=s+h.substr(i,u);c>0&&(f+=s+h.slice(i)),a&&(f="-"+f)}t=l?f+X.decimalSeparator+((c=+X.fractionGroupSize)?l.replace(new RegExp("\\d{"+c+"}\\B","g"),"$&"+X.fractionGroupSeparator):l):f}return t},L.toFraction=function(e){var t,r,i,o,u,c,f,l,a,h=z,p=this,g=p.c,d=new n(U),m=r=new n(U),b=f=new n(U);if(null!=e&&(z=!1,c=new n(e),z=h,(h=c.isInt())&&!c.lt(U)||(z&&F(22,"max denominator "+(h?"out of range":"not an integer"),e),e=!h&&c.c&&P(c,c.e+1,1).gte(U)?c:null)),!g)return p.toString();for(a=s(g),o=d.e=a.length-p.e-1,d.c[0]=R[(u=o%E)<0?E+u:u],e=!e||c.cmp(d)>0?o>0?d:m:c,u=G,G=1/0,c=new n(a),f.c[0]=0;l=D(c,d,0,1),i=r.plus(l.times(b)),1!=i.cmp(e);)r=b,b=i,m=f.plus(l.times(i=m)),f=i,d=c.minus(l.times(i=d)),c=i;return i=D(e.minus(r),b,0,1),f=f.plus(i.times(m)),r=r.plus(i.times(b)),f.s=m.s=p.s,o*=2,t=D(m,b,o,C).minus(p).abs().cmp(D(f,r,o,C).minus(p).abs())<1?[m.toString(),b.toString()]:[f.toString(),r.toString()],G=u,t},L.toNumber=function(){return+this},L.toPower=L.pow=function(e,t){var r,i,o,u=y(e<0?-e:+e),c=this;if(null!=t&&(B=23,t=new n(t)),!V(e,-x,x,23,"exponent")&&(!isFinite(e)||u>x&&(e/=0)||parseFloat(e)!=e&&!(e=NaN))||0==e)return r=Math.pow(+c,e),new n(t?r%t:r);for(t?e>1&&c.gt(U)&&c.isInt()&&t.gt(U)&&t.isInt()?c=c.mod(t):(o=t,t=null):J&&(r=w(J/E+2)),i=new n(U);;){if(u%2){if(i=i.times(c),!i.c)break;r?i.c.length>r&&(i.c.length=r):t&&(i=i.mod(t))}if(!(u=y(u/2)))break;c=c.times(c),r?c.c&&c.c.length>r&&(c.c.length=r):t&&(c=c.mod(t))}return t?i:(e<0&&(i=U.div(i)),o?i.mod(o):r?P(i,J,C):i)},L.toPrecision=function(e,n){return r(this,null!=e&&V(e,1,I,24,"precision")?0|e:null,n,24)},L.toString=function(e){var n,r=this,i=r.s,o=r.e;return null===o?i?(n="Infinity",i<0&&(n="-"+n)):n="NaN":(n=s(r.c),n=null!=e&&V(e,2,64,25,"base")?t(g(n,o),0|e,10,i):o<=M||o>=j?p(n,o):g(n,o),i<0&&r.c[0]&&(n="-"+n)),n},L.truncated=L.trunc=function(){return P(new n(this),this.e+1,1)},L.valueOf=L.toJSON=function(){var e,n=this,t=n.e;return null===t?n.toString():(e=s(n.c),e=t<=M||t>=j?p(e,t):g(e,t),n.s<0?"-"+e:e)},L.isBigNumber=!0,null!=e&&n.config(e),n}function c(e){var n=0|e;return e>0||e===n?n:n-1}function s(e){for(var n,t,r=1,i=e.length,o=e[0]+"";r<i;){for(n=e[r++]+"",t=E-n.length;t--;n="0"+n);o+=n}for(i=o.length;48===o.charCodeAt(--i););return o.slice(0,i+1||1)}function f(e,n){var t,r,i=e.c,o=n.c,u=e.s,c=n.s,s=e.e,f=n.e;if(!u||!c)return null;if(t=i&&!i[0],r=o&&!o[0],t||r)return t?r?0:-c:u;if(u!=c)return u;if(t=u<0,r=s==f,!i||!o)return r?0:!i^t?1:-1;if(!r)return s>f^t?1:-1;for(c=(s=i.length)<(f=o.length)?s:f,u=0;u<c;u++)if(i[u]!=o[u])return i[u]>o[u]^t?1:-1;return s==f?0:s>f^t?1:-1}function l(e,n,t){return(e=d(e))>=n&&e<=t}function a(e){return"[object Array]"==Object.prototype.toString.call(e)}function h(e,n,t){for(var r,i,o=[0],u=0,c=e.length;u<c;){for(i=o.length;i--;o[i]*=n);for(o[r=0]+=O.indexOf(e.charAt(u++));r<o.length;r++)o[r]>t-1&&(null==o[r+1]&&(o[r+1]=0),o[r+1]+=o[r]/t|0,o[r]%=t)}return o.reverse()}function p(e,n){return(e.length>1?e.charAt(0)+"."+e.slice(1):e)+(n<0?"e":"e+")+n}function g(e,n){var t,r;if(n<0){for(r="0.";++n;r+="0");e=r+e}else if(t=e.length,++n>t){for(r="0",n-=t;--n;r+="0");e+=r}else n<t&&(e=e.slice(0,n)+"."+e.slice(n));return e}function d(e){return e=parseFloat(e),e<0?w(e):y(e)}var m,b=/^-?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,w=Math.ceil,y=Math.floor,v=" not a boolean or binary digit",N="rounding mode",S="number type has more than 15 significant digits",O="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ$_",_=1e14,E=14,x=9007199254740991,R=[1,10,100,1e3,1e4,1e5,1e6,1e7,1e8,1e9,1e10,1e11,1e12,1e13],A=1e7,I=1e9;m=u(),m['default']=m.BigNumber=m,void 0!==(r=function(){return m}.call(n,t,n,e))&&(e.exports=r)}()},function(e,n,t){"use strict";!function(){"function"!=typeof Promise.prototype.finally&&(Promise.prototype.finally=function(e){return this.then(function(n){return this.constructor.resolve(e()).then(function(){return n})})['catch'](function(n){return this.constructor.resolve(e()).then(function(){throw n})})})}()},function(e,n,t){"use strict";var r="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},i="function"==typeof Symbol&&"symbol"===r(Symbol.iterator)?function(e){return void 0===e?"undefined":r(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":void 0===e?"undefined":r(e)},o=t(0);n.bigint=function(e){return n.bigint_check(e)?"string"==typeof e?e.length>=15?new o(e):Number(e):e:Number.NaN},n.bigint_check=function(e){if(Number.isInteger(e))return!0;if(!e)return!1;var n=void 0===e?"undefined":i(e);if("string"===n){if(e.length>22||e.length<1)return!1;for(var t=1;t<e.length;t++)if(e[t]<"0"||e[t]>"9")return!1;if(1==e.length)return!(e[0]<"0"||e[0]>"9");if("-"==e[0]){if(e.length<2||e[1]<"1"||e[1]>"9")return!1}else if(e[0]<"1"||e[0]>"9")return!1;return!0}return"object"===n&&!!e.isBigNumber},n.bigint_add=function(e,n){return e instanceof o||(e=new o(e)),e.plus(n)},n.bigint_minus=function(e,n){return e instanceof o||(e=new o(e)),e.minus(n)},n.bigint_dividedBy=function(e,n){return e instanceof o||(e=new o(e)),e.dividedBy(n)},n.bigint_mul=function(e,n){return e instanceof o||(e=new o(e)),e.times(n)},n.bigint_equal=function(e,n){return e instanceof o||(e=new o(e)),e.equals(n)},n.bigint_more_than=function(e,n){return e instanceof o||(e=new o(e)),e.greaterThan(n)},n.bigint_more_than_e=function(e,n){return e instanceof o||(e=new o(e)),e.greaterThanOrEqualTo(n)},n.bigint_less_than=function(e,n){return e instanceof o||(e=new o(e)),e.lessThan(n)},n.bigint_less_than_e=function(e,n){return e instanceof o||(e=new o(e)),e.lessThanOrEqualTo(n)},n.bigint_mod=function(e,n){return Number.isInteger(e)?Number.isInteger(n)?e%n:new o(e).mod(n):(e instanceof o||(e=new o(e)),e.mod(n))},n.bigint_toFixed=function(e,n){return n=n||0,e instanceof o||(e=new o(e)),e.toFixed(n)}},function(e,n,t){"use strict";!function(e){e.console||(e.console={});for(var n,t,r=e.console,i=function(){},o=["memory"],u="assert,clear,count,debug,dir,dirxml,error,exception,group,groupCollapsed,groupEnd,info,log,markTimeline,profile,profiles,profileEnd,show,table,time,timeEnd,timeline,timelineEnd,timeStamp,trace,warn".split(",");n=o.pop();)r[n]||(r[n]={});for(;t=u.pop();)r[t]||(r[t]=i)}("undefined"==typeof window?void 0:window)},function(e,n,t){"use strict";e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{"enumerable":!0,"get":function(){return e.l}}),Object.defineProperty(e,"id",{"enumerable":!0,"get":function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,n,t){"use strict";(function(e){var n="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};t(3),t(1),function(t,r){"object"===n(e)&&"object"===n(e.exports)?e.exports=t.document?r(t,!0):function(e){if(!e.document)throw new Error("febs requires a window with a document");return r(e)}:r(t)}("undefined"!=typeof window?window:void 0,function(e,n){var r={};if(r.utils=t(2),r.BigNumber=t(0),e.febs)if(e.febs.utils)for(var i in r.utils)e.febs.utils[i]=r.utils[i];else e.febs.utils=r.utils;else e.febs=r;return r})}).call(n,t(4)(e))}]); | ||
!function(e){function n(r){if(t[r])return t[r].exports;var i=t[r]={"i":r,"l":!1,"exports":{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}var t={};n.m=e,n.c=t,n.i=function(e){return e},n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{"configurable":!1,"enumerable":!0,"get":r})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},n.p="",n(n.s=5)}([function(e,n,t){"use strict";var r,i="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};!function(o){function u(e){function n(e,r){var i,o,u,c,s,f,l=this;if(!(l instanceof n))return z&&F(26,"constructor call without new",e),new n(e,r);if(null!=r&&V(r,2,64,B,"base")){if(r|=0,f=e+"",10==r)return l=new n(e instanceof n?e:f),P(l,k+l.e+1,C);if((c="number"==typeof e)&&0*e!=0||!new RegExp("^-?"+(i="["+O.slice(0,r)+"]+")+"(?:\\."+i+")?$",r<37?"i":"").test(f))return q(l,f,c,r);c?(l.s=1/e<0?(f=f.slice(1),-1):1,z&&f.replace(/^0\.0*|\./,"").length>15&&F(B,S,e),c=!1):l.s=45===f.charCodeAt(0)?(f=f.slice(1),-1):1,f=t(f,10,r,l.s)}else{if(e instanceof n)return l.s=e.s,l.e=e.e,l.c=(e=e.c)?e.slice():e,void(B=0);if((c="number"==typeof e)&&0*e==0){if(l.s=1/e<0?(e=-e,-1):1,e===~~e){for(o=0,u=e;u>=10;u/=10,o++);return l.e=o,l.c=[e],void(B=0)}f=e+""}else{if(!b.test(f=e+""))return q(l,f,c);l.s=45===f.charCodeAt(0)?(f=f.slice(1),-1):1}}for((o=f.indexOf("."))>-1&&(f=f.replace(".","")),(u=f.search(/e/i))>0?(o<0&&(o=u),o+=+f.slice(u+1),f=f.substring(0,u)):o<0&&(o=f.length),u=0;48===f.charCodeAt(u);u++);for(s=f.length;48===f.charCodeAt(--s););if(f=f.slice(u,s+1))if(s=f.length,c&&z&&s>15&&(e>x||e!==y(e))&&F(B,S,l.s*e),(o=o-u-1)>G)l.c=l.e=null;else if(o<$)l.c=[l.e=0];else{if(l.e=o,l.c=[],u=(o+1)%E,o<0&&(u+=E),u<s){for(u&&l.c.push(+f.slice(0,u)),s-=E;u<s;)l.c.push(+f.slice(u,u+=E));f=f.slice(u),u=E-f.length}else u-=s;for(;u--;f+="0");l.c.push(+f)}else l.c=[l.e=0];B=0}function t(e,t,r,i){var o,u,c,f,l,a,p,d=e.indexOf("."),m=k,b=C;for(r<37&&(e=e.toLowerCase()),d>=0&&(c=J,J=0,e=e.replace(".",""),p=new n(r),l=p.pow(e.length-d),J=c,p.c=h(g(s(l.c),l.e),10,t),p.e=p.c.length),a=h(e,r,t),u=c=a.length;0==a[--c];a.pop());if(!a[0])return"0";if(d<0?--u:(l.c=a,l.e=u,l.s=i,l=D(l,p,m,b,t),a=l.c,f=l.r,u=l.e),o=u+m+1,d=a[o],c=t/2,f=f||o<0||null!=a[o+1],f=b<4?(null!=d||f)&&(0==b||b==(l.s<0?3:2)):d>c||d==c&&(4==b||f||6==b&&1&a[o-1]||b==(l.s<0?8:7)),o<1||!a[0])e=f?g("1",-m):"0";else{if(a.length=o,f)for(--t;++a[--o]>t;)a[o]=0,o||(++u,a=[1].concat(a));for(c=a.length;!a[--c];);for(d=0,e="";d<=c;e+=O.charAt(a[d++]));e=g(e,u)}return e}function r(e,t,r,i){var o,u,c,f,l;if(r=null!=r&&V(r,0,8,i,N)?0|r:C,!e.c)return e.toString();if(o=e.c[0],c=e.e,null==t)l=s(e.c),l=19==i||24==i&&c<=M?p(l,c):g(l,c);else if(e=P(new n(e),t,r),u=e.e,l=s(e.c),f=l.length,19==i||24==i&&(t<=u||u<=M)){for(;f<t;l+="0",f++);l=p(l,u)}else if(t-=c,l=g(l,u),u+1>f){if(--t>0)for(l+=".";t--;l+="0");}else if((t+=u-f)>0)for(u+1==f&&(l+=".");t--;l+="0");return e.s<0&&o?"-"+l:l}function o(e,t){var r,i,o=0;for(a(e[0])&&(e=e[0]),r=new n(e[0]);++o<e.length;){if(i=new n(e[o]),!i.s){r=i;break}t.call(r,i)&&(r=i)}return r}function m(e,n,t,r,i){return(e<n||e>t||e!=d(e))&&F(r,(i||"decimal places")+(e<n||e>t?" out of range":" not an integer"),e),!0}function T(e,n,t){for(var r=1,i=n.length;!n[--i];n.pop());for(i=n[0];i>=10;i/=10,r++);return(t=r+t*E-1)>G?e.c=e.e=null:t<$?e.c=[e.e=0]:(e.e=t,e.c=n),e}function F(e,n,t){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]+"() "+n+": "+t);throw r.name="BigNumber Error",B=0,r}function P(e,n,t,r){var i,o,u,c,s,f,l,a=e.c,h=R;if(a){e:{for(i=1,c=a[0];c>=10;c/=10,i++);if((o=n-i)<0)o+=E,u=n,s=a[f=0],l=s/h[i-u-1]%10|0;else if((f=w((o+1)/E))>=a.length){if(!r)break e;for(;a.length<=f;a.push(0));s=l=0,i=1,o%=E,u=o-E+1}else{for(s=c=a[f],i=1;c>=10;c/=10,i++);o%=E,u=o-E+i,l=u<0?0:s/h[i-u-1]%10|0}if(r=r||n<0||null!=a[f+1]||(u<0?s:s%h[i-u-1]),r=t<4?(l||r)&&(0==t||t==(e.s<0?3:2)):l>5||5==l&&(4==t||r||6==t&&(o>0?u>0?s/h[i-u]:0:a[f-1])%10&1||t==(e.s<0?8:7)),n<1||!a[0])return a.length=0,r?(n-=e.e+1,a[0]=h[(E-n%E)%E],e.e=-n||0):a[0]=e.e=0,e;if(0==o?(a.length=f,c=1,f--):(a.length=f+1,c=h[E-o],a[f]=u>0?y(s/h[i-u]%h[u])*c:0),r)for(;;){if(0==f){for(o=1,u=a[0];u>=10;u/=10,o++);for(u=a[0]+=c,c=1;u>=10;u/=10,c++);o!=c&&(e.e++,a[0]==_&&(a[0]=1));break}if(a[f]+=c,a[f]!=_)break;a[f--]=0,c=1}for(o=a.length;0===a[--o];a.pop());}e.e>G?e.c=e.e=null:e.e<$&&(e.c=[e.e=0])}return e}var D,q,B=0,L=n.prototype,U=new n(1),k=20,C=4,M=-7,j=21,$=-1e7,G=1e7,z=!0,V=m,H=!1,W=1,J=0,X={"decimalSeparator":".","groupSeparator":",","groupSize":3,"secondaryGroupSize":0,"fractionGroupSeparator":" ","fractionGroupSize":0};return n.another=u,n.ROUND_UP=0,n.ROUND_DOWN=1,n.ROUND_CEIL=2,n.ROUND_FLOOR=3,n.ROUND_HALF_UP=4,n.ROUND_HALF_DOWN=5,n.ROUND_HALF_EVEN=6,n.ROUND_HALF_CEIL=7,n.ROUND_HALF_FLOOR=8,n.EUCLID=9,n.config=n.set=function(){var e,n,t=0,r={},o=arguments,u=o[0],c=u&&"object"==(void 0===u?"undefined":i(u))?function(){if(u.hasOwnProperty(n))return null!=(e=u[n])}:function(){if(o.length>t)return null!=(e=o[t++])};return c(n="DECIMAL_PLACES")&&V(e,0,I,2,n)&&(k=0|e),r[n]=k,c(n="ROUNDING_MODE")&&V(e,0,8,2,n)&&(C=0|e),r[n]=C,c(n="EXPONENTIAL_AT")&&(a(e)?V(e[0],-I,0,2,n)&&V(e[1],0,I,2,n)&&(M=0|e[0],j=0|e[1]):V(e,-I,I,2,n)&&(M=-(j=0|(e<0?-e:e)))),r[n]=[M,j],c(n="RANGE")&&(a(e)?V(e[0],-I,-1,2,n)&&V(e[1],1,I,2,n)&&($=0|e[0],G=0|e[1]):V(e,-I,I,2,n)&&(0|e?$=-(G=0|(e<0?-e:e)):z&&F(2,n+" cannot be zero",e))),r[n]=[$,G],c(n="ERRORS")&&(e===!!e||1===e||0===e?(B=0,V=(z=!!e)?m:l):z&&F(2,n+v,e)),r[n]=z,c(n="CRYPTO")&&(!0===e||!1===e||1===e||0===e?e?(e="undefined"==typeof crypto,!e&&crypto&&(crypto.getRandomValues||crypto.randomBytes)?H=!0:z?F(2,"crypto unavailable",e?void 0:crypto):H=!1):H=!1:z&&F(2,n+v,e)),r[n]=H,c(n="MODULO_MODE")&&V(e,0,9,2,n)&&(W=0|e),r[n]=W,c(n="POW_PRECISION")&&V(e,0,I,2,n)&&(J=0|e),r[n]=J,c(n="FORMAT")&&("object"==(void 0===e?"undefined":i(e))?X=e:z&&F(2,n+" not an object",e)),r[n]=X,r},n.max=function(){return o(arguments,L.lt)},n.min=function(){return o(arguments,L.gt)},n.random=function(){var e=9007199254740992*Math.random()&2097151?function(){return y(9007199254740992*Math.random())}:function(){return 8388608*(1073741824*Math.random()|0)+(8388608*Math.random()|0)};return function(t){var r,i,o,u,c,s=0,f=[],l=new n(U);if(t=null!=t&&V(t,0,I,14)?0|t:k,u=w(t/E),H)if(crypto.getRandomValues){for(r=crypto.getRandomValues(new Uint32Array(u*=2));s<u;)c=131072*r[s]+(r[s+1]>>>11),c>=9e15?(i=crypto.getRandomValues(new Uint32Array(2)),r[s]=i[0],r[s+1]=i[1]):(f.push(c%1e14),s+=2);s=u/2}else if(crypto.randomBytes){for(r=crypto.randomBytes(u*=7);s<u;)c=281474976710656*(31&r[s])+1099511627776*r[s+1]+4294967296*r[s+2]+16777216*r[s+3]+(r[s+4]<<16)+(r[s+5]<<8)+r[s+6],c>=9e15?crypto.randomBytes(7).copy(r,s):(f.push(c%1e14),s+=7);s=u/7}else H=!1,z&&F(14,"crypto unavailable",crypto);if(!H)for(;s<u;)(c=e())<9e15&&(f[s++]=c%1e14);for(u=f[--s],t%=E,u&&t&&(c=R[E-t],f[s]=y(u/c)*c);0===f[s];f.pop(),s--);if(s<0)f=[o=0];else{for(o=-1;0===f[0];f.splice(0,1),o-=E);for(s=1,c=f[0];c>=10;c/=10,s++);s<E&&(o-=E-s)}return l.e=o,l.c=f,l}}(),D=function(){function e(e,n,t){var r,i,o,u,c=0,s=e.length,f=n%A,l=n/A|0;for(e=e.slice();s--;)o=e[s]%A,u=e[s]/A|0,r=l*o+u*f,i=f*o+r%A*A+c,c=(i/t|0)+(r/A|0)+l*u,e[s]=i%t;return c&&(e=[c].concat(e)),e}function t(e,n,t,r){var i,o;if(t!=r)o=t>r?1:-1;else for(i=o=0;i<t;i++)if(e[i]!=n[i]){o=e[i]>n[i]?1:-1;break}return o}function r(e,n,t,r){for(var i=0;t--;)e[t]-=i,i=e[t]<n[t]?1:0,e[t]=i*r+e[t]-n[t];for(;!e[0]&&e.length>1;e.splice(0,1));}return function(i,o,u,s,f){var l,a,h,p,g,d,m,b,w,v,N,S,O,x,R,A,I,T=i.s==o.s?1:-1,F=i.c,D=o.c;if(!(F&&F[0]&&D&&D[0]))return new n(i.s&&o.s&&(F?!D||F[0]!=D[0]:D)?F&&0==F[0]||!D?0*T:T/0:NaN);for(b=new n(T),w=b.c=[],a=i.e-o.e,T=u+a+1,f||(f=_,a=c(i.e/E)-c(o.e/E),T=T/E|0),h=0;D[h]==(F[h]||0);h++);if(D[h]>(F[h]||0)&&a--,T<0)w.push(1),p=!0;else{for(x=F.length,A=D.length,h=0,T+=2,g=y(f/(D[0]+1)),g>1&&(D=e(D,g,f),F=e(F,g,f),A=D.length,x=F.length),O=A,v=F.slice(0,A),N=v.length;N<A;v[N++]=0);I=D.slice(),I=[0].concat(I),R=D[0],D[1]>=f/2&&R++;do{if(g=0,(l=t(D,v,A,N))<0){if(S=v[0],A!=N&&(S=S*f+(v[1]||0)),(g=y(S/R))>1)for(g>=f&&(g=f-1),d=e(D,g,f),m=d.length,N=v.length;1==t(d,v,m,N);)g--,r(d,A<m?I:D,m,f),m=d.length,l=1;else 0==g&&(l=g=1),d=D.slice(),m=d.length;if(m<N&&(d=[0].concat(d)),r(v,d,N,f),N=v.length,-1==l)for(;t(D,v,A,N)<1;)g++,r(v,A<N?I:D,N,f),N=v.length}else 0===l&&(g++,v=[0]);w[h++]=g,v[0]?v[N++]=F[O]||0:(v=[F[O]],N=1)}while((O++<x||null!=v[0])&&T--);p=null!=v[0],w[0]||w.splice(0,1)}if(f==_){for(h=1,T=w[0];T>=10;T/=10,h++);P(b,u+(b.e=h+a*E-1)+1,s,p)}else b.e=a,b.r=+p;return b}}(),q=function(){var e=/^(-?)0([xbo])(?=\w[\w.]*$)/i,t=/^([^.]+)\.$/,r=/^\.([^.]+)$/,i=/^-?(Infinity|NaN)$/,o=/^\s*\+(?=[\w.])|^\s+|\s+$/g;return function(u,c,s,f){var l,a=s?c:c.replace(o,"");if(i.test(a))u.s=isNaN(a)?null:a<0?-1:1;else{if(!s&&(a=a.replace(e,function(e,n,t){return l="x"==(t=t.toLowerCase())?16:"b"==t?2:8,f&&f!=l?e:n}),f&&(l=f,a=a.replace(t,"$1").replace(r,"0.$1")),c!=a))return new n(a,l);z&&F(B,"not a"+(f?" base "+f:"")+" number",c),u.s=null}u.c=u.e=null,B=0}}(),L.absoluteValue=L.abs=function(){var e=new n(this);return e.s<0&&(e.s=1),e},L.ceil=function(){return P(new n(this),this.e+1,2)},L.comparedTo=L.cmp=function(e,t){return B=1,f(this,new n(e,t))},L.decimalPlaces=L.dp=function(){var e,n,t=this.c;if(!t)return null;if(e=((n=t.length-1)-c(this.e/E))*E,n=t[n])for(;n%10==0;n/=10,e--);return e<0&&(e=0),e},L.dividedBy=L.div=function(e,t){return B=3,D(this,new n(e,t),k,C)},L.dividedToIntegerBy=L.divToInt=function(e,t){return B=4,D(this,new n(e,t),0,1)},L.equals=L.eq=function(e,t){return B=5,0===f(this,new n(e,t))},L.floor=function(){return P(new n(this),this.e+1,3)},L.greaterThan=L.gt=function(e,t){return B=6,f(this,new n(e,t))>0},L.greaterThanOrEqualTo=L.gte=function(e,t){return B=7,1===(t=f(this,new n(e,t)))||0===t},L.isFinite=function(){return!!this.c},L.isInteger=L.isInt=function(){return!!this.c&&c(this.e/E)>this.c.length-2},L.isNaN=function(){return!this.s},L.isNegative=L.isNeg=function(){return this.s<0},L.isZero=function(){return!!this.c&&0==this.c[0]},L.lessThan=L.lt=function(e,t){return B=8,f(this,new n(e,t))<0},L.lessThanOrEqualTo=L.lte=function(e,t){return B=9,-1===(t=f(this,new n(e,t)))||0===t},L.minus=L.sub=function(e,t){var r,i,o,u,s=this,f=s.s;if(B=10,e=new n(e,t),t=e.s,!f||!t)return new n(NaN);if(f!=t)return e.s=-t,s.plus(e);var l=s.e/E,a=e.e/E,h=s.c,p=e.c;if(!l||!a){if(!h||!p)return h?(e.s=-t,e):new n(p?s:NaN);if(!h[0]||!p[0])return p[0]?(e.s=-t,e):new n(h[0]?s:3==C?-0:0)}if(l=c(l),a=c(a),h=h.slice(),f=l-a){for((u=f<0)?(f=-f,o=h):(a=l,o=p),o.reverse(),t=f;t--;o.push(0));o.reverse()}else for(i=(u=(f=h.length)<(t=p.length))?f:t,f=t=0;t<i;t++)if(h[t]!=p[t]){u=h[t]<p[t];break}if(u&&(o=h,h=p,p=o,e.s=-e.s),(t=(i=p.length)-(r=h.length))>0)for(;t--;h[r++]=0);for(t=_-1;i>f;){if(h[--i]<p[i]){for(r=i;r&&!h[--r];h[r]=t);--h[r],h[i]+=_}h[i]-=p[i]}for(;0==h[0];h.splice(0,1),--a);return h[0]?T(e,h,a):(e.s=3==C?-1:1,e.c=[e.e=0],e)},L.modulo=L.mod=function(e,t){var r,i,o=this;return B=11,e=new n(e,t),!o.c||!e.s||e.c&&!e.c[0]?new n(NaN):!e.c||o.c&&!o.c[0]?new n(o):(9==W?(i=e.s,e.s=1,r=D(o,e,0,3),e.s=i,r.s*=i):r=D(o,e,0,W),o.minus(r.times(e)))},L.negated=L.neg=function(){var e=new n(this);return e.s=-e.s||null,e},L.plus=L.add=function(e,t){var r,i=this,o=i.s;if(B=12,e=new n(e,t),t=e.s,!o||!t)return new n(NaN);if(o!=t)return e.s=-t,i.minus(e);var u=i.e/E,s=e.e/E,f=i.c,l=e.c;if(!u||!s){if(!f||!l)return new n(o/0);if(!f[0]||!l[0])return l[0]?e:new n(f[0]?i:0*o)}if(u=c(u),s=c(s),f=f.slice(),o=u-s){for(o>0?(s=u,r=l):(o=-o,r=f),r.reverse();o--;r.push(0));r.reverse()}for(o=f.length,t=l.length,o-t<0&&(r=l,l=f,f=r,t=o),o=0;t;)o=(f[--t]=f[t]+l[t]+o)/_|0,f[t]=_===f[t]?0:f[t]%_;return o&&(f=[o].concat(f),++s),T(e,f,s)},L.precision=L.sd=function(e){var n,t,r=this,i=r.c;if(null!=e&&e!==!!e&&1!==e&&0!==e&&(z&&F(13,"argument"+v,e),e!=!!e&&(e=null)),!i)return null;if(t=i.length-1,n=t*E+1,t=i[t]){for(;t%10==0;t/=10,n--);for(t=i[0];t>=10;t/=10,n++);}return e&&r.e+1>n&&(n=r.e+1),n},L.round=function(e,t){var r=new n(this);return(null==e||V(e,0,I,15))&&P(r,~~e+this.e+1,null!=t&&V(t,0,8,15,N)?0|t:C),r},L.shift=function(e){var t=this;return V(e,-x,x,16,"argument")?t.times("1e"+d(e)):new n(t.c&&t.c[0]&&(e<-x||e>x)?t.s*(e<0?0:1/0):t)},L.squareRoot=L.sqrt=function(){var e,t,r,i,o,u=this,f=u.c,l=u.s,a=u.e,h=k+4,p=new n("0.5");if(1!==l||!f||!f[0])return new n(!l||l<0&&(!f||f[0])?NaN:f?u:1/0);if(l=Math.sqrt(+u),0==l||l==1/0?(t=s(f),(t.length+a)%2==0&&(t+="0"),l=Math.sqrt(t),a=c((a+1)/2)-(a<0||a%2),l==1/0?t="1e"+a:(t=l.toExponential(),t=t.slice(0,t.indexOf("e")+1)+a),r=new n(t)):r=new n(l+""),r.c[0])for(a=r.e,l=a+h,l<3&&(l=0);;)if(o=r,r=p.times(o.plus(D(u,o,h,1))),s(o.c).slice(0,l)===(t=s(r.c)).slice(0,l)){if(r.e<a&&--l,"9999"!=(t=t.slice(l-3,l+1))&&(i||"4999"!=t)){+t&&(+t.slice(1)||"5"!=t.charAt(0))||(P(r,r.e+k+2,1),e=!r.times(r).eq(u));break}if(!i&&(P(o,o.e+k+2,0),o.times(o).eq(u))){r=o;break}h+=4,l+=4,i=1}return P(r,r.e+k+1,C,e)},L.times=L.mul=function(e,t){var r,i,o,u,s,f,l,a,h,p,g,d,m,b,w,y=this,v=y.c,N=(B=17,e=new n(e,t)).c;if(!(v&&N&&v[0]&&N[0]))return!y.s||!e.s||v&&!v[0]&&!N||N&&!N[0]&&!v?e.c=e.e=e.s=null:(e.s*=y.s,v&&N?(e.c=[0],e.e=0):e.c=e.e=null),e;for(i=c(y.e/E)+c(e.e/E),e.s*=y.s,l=v.length,p=N.length,l<p&&(m=v,v=N,N=m,o=l,l=p,p=o),o=l+p,m=[];o--;m.push(0));for(b=_,w=A,o=p;--o>=0;){for(r=0,g=N[o]%w,d=N[o]/w|0,s=l,u=o+s;u>o;)a=v[--s]%w,h=v[s]/w|0,f=d*a+h*g,a=g*a+f%w*w+m[u]+r,r=(a/b|0)+(f/w|0)+d*h,m[u--]=a%b;m[u]=r}return r?++i:m.splice(0,1),T(e,m,i)},L.toDigits=function(e,t){var r=new n(this);return e=null!=e&&V(e,1,I,18,"precision")?0|e:null,t=null!=t&&V(t,0,8,18,N)?0|t:C,e?P(r,e,t):r},L.toExponential=function(e,n){return r(this,null!=e&&V(e,0,I,19)?1+~~e:null,n,19)},L.toFixed=function(e,n){return r(this,null!=e&&V(e,0,I,20)?~~e+this.e+1:null,n,20)},L.toFormat=function(e,n){var t=r(this,null!=e&&V(e,0,I,21)?~~e+this.e+1:null,n,21);if(this.c){var i,o=t.split("."),u=+X.groupSize,c=+X.secondaryGroupSize,s=X.groupSeparator,f=o[0],l=o[1],a=this.s<0,h=a?f.slice(1):f,p=h.length;if(c&&(i=u,u=c,c=i,p-=i),u>0&&p>0){for(i=p%u||u,f=h.substr(0,i);i<p;i+=u)f+=s+h.substr(i,u);c>0&&(f+=s+h.slice(i)),a&&(f="-"+f)}t=l?f+X.decimalSeparator+((c=+X.fractionGroupSize)?l.replace(new RegExp("\\d{"+c+"}\\B","g"),"$&"+X.fractionGroupSeparator):l):f}return t},L.toFraction=function(e){var t,r,i,o,u,c,f,l,a,h=z,p=this,g=p.c,d=new n(U),m=r=new n(U),b=f=new n(U);if(null!=e&&(z=!1,c=new n(e),z=h,(h=c.isInt())&&!c.lt(U)||(z&&F(22,"max denominator "+(h?"out of range":"not an integer"),e),e=!h&&c.c&&P(c,c.e+1,1).gte(U)?c:null)),!g)return p.toString();for(a=s(g),o=d.e=a.length-p.e-1,d.c[0]=R[(u=o%E)<0?E+u:u],e=!e||c.cmp(d)>0?o>0?d:m:c,u=G,G=1/0,c=new n(a),f.c[0]=0;l=D(c,d,0,1),i=r.plus(l.times(b)),1!=i.cmp(e);)r=b,b=i,m=f.plus(l.times(i=m)),f=i,d=c.minus(l.times(i=d)),c=i;return i=D(e.minus(r),b,0,1),f=f.plus(i.times(m)),r=r.plus(i.times(b)),f.s=m.s=p.s,o*=2,t=D(m,b,o,C).minus(p).abs().cmp(D(f,r,o,C).minus(p).abs())<1?[m.toString(),b.toString()]:[f.toString(),r.toString()],G=u,t},L.toNumber=function(){return+this},L.toPower=L.pow=function(e,t){var r,i,o,u=y(e<0?-e:+e),c=this;if(null!=t&&(B=23,t=new n(t)),!V(e,-x,x,23,"exponent")&&(!isFinite(e)||u>x&&(e/=0)||parseFloat(e)!=e&&!(e=NaN))||0==e)return r=Math.pow(+c,e),new n(t?r%t:r);for(t?e>1&&c.gt(U)&&c.isInt()&&t.gt(U)&&t.isInt()?c=c.mod(t):(o=t,t=null):J&&(r=w(J/E+2)),i=new n(U);;){if(u%2){if(i=i.times(c),!i.c)break;r?i.c.length>r&&(i.c.length=r):t&&(i=i.mod(t))}if(!(u=y(u/2)))break;c=c.times(c),r?c.c&&c.c.length>r&&(c.c.length=r):t&&(c=c.mod(t))}return t?i:(e<0&&(i=U.div(i)),o?i.mod(o):r?P(i,J,C):i)},L.toPrecision=function(e,n){return r(this,null!=e&&V(e,1,I,24,"precision")?0|e:null,n,24)},L.toString=function(e){var n,r=this,i=r.s,o=r.e;return null===o?i?(n="Infinity",i<0&&(n="-"+n)):n="NaN":(n=s(r.c),n=null!=e&&V(e,2,64,25,"base")?t(g(n,o),0|e,10,i):o<=M||o>=j?p(n,o):g(n,o),i<0&&r.c[0]&&(n="-"+n)),n},L.truncated=L.trunc=function(){return P(new n(this),this.e+1,1)},L.valueOf=L.toJSON=function(){var e,n=this,t=n.e;return null===t?n.toString():(e=s(n.c),e=t<=M||t>=j?p(e,t):g(e,t),n.s<0?"-"+e:e)},L.isBigNumber=!0,null!=e&&n.config(e),n}function c(e){var n=0|e;return e>0||e===n?n:n-1}function s(e){for(var n,t,r=1,i=e.length,o=e[0]+"";r<i;){for(n=e[r++]+"",t=E-n.length;t--;n="0"+n);o+=n}for(i=o.length;48===o.charCodeAt(--i););return o.slice(0,i+1||1)}function f(e,n){var t,r,i=e.c,o=n.c,u=e.s,c=n.s,s=e.e,f=n.e;if(!u||!c)return null;if(t=i&&!i[0],r=o&&!o[0],t||r)return t?r?0:-c:u;if(u!=c)return u;if(t=u<0,r=s==f,!i||!o)return r?0:!i^t?1:-1;if(!r)return s>f^t?1:-1;for(c=(s=i.length)<(f=o.length)?s:f,u=0;u<c;u++)if(i[u]!=o[u])return i[u]>o[u]^t?1:-1;return s==f?0:s>f^t?1:-1}function l(e,n,t){return(e=d(e))>=n&&e<=t}function a(e){return"[object Array]"==Object.prototype.toString.call(e)}function h(e,n,t){for(var r,i,o=[0],u=0,c=e.length;u<c;){for(i=o.length;i--;o[i]*=n);for(o[r=0]+=O.indexOf(e.charAt(u++));r<o.length;r++)o[r]>t-1&&(null==o[r+1]&&(o[r+1]=0),o[r+1]+=o[r]/t|0,o[r]%=t)}return o.reverse()}function p(e,n){return(e.length>1?e.charAt(0)+"."+e.slice(1):e)+(n<0?"e":"e+")+n}function g(e,n){var t,r;if(n<0){for(r="0.";++n;r+="0");e=r+e}else if(t=e.length,++n>t){for(r="0",n-=t;--n;r+="0");e+=r}else n<t&&(e=e.slice(0,n)+"."+e.slice(n));return e}function d(e){return e=parseFloat(e),e<0?w(e):y(e)}var m,b=/^-?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,w=Math.ceil,y=Math.floor,v=" not a boolean or binary digit",N="rounding mode",S="number type has more than 15 significant digits",O="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ$_",_=1e14,E=14,x=9007199254740991,R=[1,10,100,1e3,1e4,1e5,1e6,1e7,1e8,1e9,1e10,1e11,1e12,1e13],A=1e7,I=1e9;m=u(),m.default=m.BigNumber=m,void 0!==(r=function(){return m}.call(n,t,n,e))&&(e.exports=r)}()},function(e,n,t){"use strict";!function(){"function"!=typeof Promise.prototype.finally&&(Promise.prototype.finally=function(e){return this.then(function(n){return this.constructor.resolve(e()).then(function(){return n})}).catch(function(n){return this.constructor.resolve(e()).then(function(){throw n})})})}()},function(e,n,t){"use strict";var r="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},i="function"==typeof Symbol&&"symbol"===r(Symbol.iterator)?function(e){return void 0===e?"undefined":r(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":void 0===e?"undefined":r(e)},o=t(0);n.bigint=function(e){return n.bigint_check(e)?"string"==typeof e?e.length>=15?new o(e):Number(e):e:Number.NaN},n.bigint_check=function(e){if(Number.isInteger(e))return!0;if(!e)return!1;var n=void 0===e?"undefined":i(e);if("string"===n){if(e.length>22||e.length<1)return!1;for(var t=1;t<e.length;t++)if(e[t]<"0"||e[t]>"9")return!1;if(1==e.length)return!(e[0]<"0"||e[0]>"9");if("-"==e[0]){if(e.length<2||e[1]<"1"||e[1]>"9")return!1}else if(e[0]<"1"||e[0]>"9")return!1;return!0}return"object"===n&&!!e.isBigNumber},n.bigint_add=function(e,n){return e instanceof o||(e=new o(e)),e.plus(n)},n.bigint_minus=function(e,n){return e instanceof o||(e=new o(e)),e.minus(n)},n.bigint_dividedBy=function(e,n){return e instanceof o||(e=new o(e)),e.dividedBy(n)},n.bigint_mul=function(e,n){return e instanceof o||(e=new o(e)),e.times(n)},n.bigint_equal=function(e,n){return e instanceof o||(e=new o(e)),e.equals(n)},n.bigint_more_than=function(e,n){return e instanceof o||(e=new o(e)),e.greaterThan(n)},n.bigint_more_than_e=function(e,n){return e instanceof o||(e=new o(e)),e.greaterThanOrEqualTo(n)},n.bigint_less_than=function(e,n){return e instanceof o||(e=new o(e)),e.lessThan(n)},n.bigint_less_than_e=function(e,n){return e instanceof o||(e=new o(e)),e.lessThanOrEqualTo(n)},n.bigint_mod=function(e,n){return Number.isInteger(e)?Number.isInteger(n)?e%n:new o(e).mod(n):(e instanceof o||(e=new o(e)),e.mod(n))},n.bigint_toFixed=function(e,n){return n=n||0,e instanceof o||(e=new o(e)),e.toFixed(n)}},function(e,n,t){"use strict";!function(e){e.console||(e.console={});for(var n,t,r=e.console,i=function(){},o=["memory"],u="assert,clear,count,debug,dir,dirxml,error,exception,group,groupCollapsed,groupEnd,info,log,markTimeline,profile,profiles,profileEnd,show,table,time,timeEnd,timeline,timelineEnd,timeStamp,trace,warn".split(",");n=o.pop();)r[n]||(r[n]={});for(;t=u.pop();)r[t]||(r[t]=i)}("undefined"==typeof window?void 0:window)},function(e,n,t){"use strict";e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{"enumerable":!0,"get":function(){return e.l}}),Object.defineProperty(e,"id",{"enumerable":!0,"get":function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,n,t){"use strict";(function(e){var n="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};t(3),t(1),function(t,r){"object"===n(e)&&"object"===n(e.exports)?e.exports=t.document?r(t,!0):function(e){if(!e.document)throw new Error("febs requires a window with a document");return r(e)}:r(t)}("undefined"!=typeof window?window:void 0,function(e,n){var r={};if(r.utils=t(2),r.BigNumber=t(0),e.febs)if(e.febs.utils)for(var i in r.utils)e.febs.utils[i]=r.utils[i];else e.febs.utils=r.utils;else e.febs=r;return r})}).call(n,t(4)(e))}]); |
@@ -1,1 +0,1 @@ | ||
!function(t){function n(e){if(r[e])return r[e].exports;var o=r[e]={"i":e,"l":!1,"exports":{}};return t[e].call(o.exports,o,o.exports,n),o.l=!0,o.exports}var r={};n.m=t,n.c=r,n.i=function(t){return t},n.d=function(t,r,e){n.o(t,r)||Object.defineProperty(t,r,{"configurable":!1,"enumerable":!0,"get":e})},n.n=function(t){var r=t&&t.__esModule?function(){return t['default']}:function(){return t};return n.d(r,"a",r),r},n.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},n.p="",n(n.s=5)}([function(t,n,r){"use strict";var e={"utf8":{"stringToBytes":function(t){return e.bin.stringToBytes(unescape(encodeURIComponent(t)))},"bytesToString":function(t){return decodeURIComponent(escape(e.bin.bytesToString(t)))}},"bin":{"stringToBytes":function(t){for(var n=[],r=0;r<t.length;r++)n.push(255&t.charCodeAt(r));return n},"bytesToString":function(t){for(var n=[],r=0;r<t.length;r++)n.push(String.fromCharCode(t[r]));return n.join("")}}};t.exports=e},function(t,n,r){"use strict";!function(){"function"!=typeof Promise.prototype.finally&&(Promise.prototype.finally=function(t){return this.then(function(n){return this.constructor.resolve(t()).then(function(){return n})})['catch'](function(n){return this.constructor.resolve(t()).then(function(){throw n})})})}()},function(t,n,r){"use strict";var e=r(8);n.md5=e},function(t,n,r){"use strict";!function(t){t.console||(t.console={});for(var n,r,e=t.console,o=function(){},i=["memory"],u="assert,clear,count,debug,dir,dirxml,error,exception,group,groupCollapsed,groupEnd,info,log,markTimeline,profile,profiles,profileEnd,show,table,time,timeEnd,timeline,timelineEnd,timeStamp,trace,warn".split(",");n=i.pop();)e[n]||(e[n]={});for(;r=u.pop();)e[r]||(e[r]=o)}("undefined"==typeof window?void 0:window)},function(t,n,r){"use strict";t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{"enumerable":!0,"get":function(){return t.l}}),Object.defineProperty(t,"id",{"enumerable":!0,"get":function(){return t.i}}),t.webpackPolyfill=1),t}},function(t,n,r){"use strict";(function(t){var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};r(3),r(1),function(r,e){"object"===n(t)&&"object"===n(t.exports)?t.exports=r.document?e(r,!0):function(t){if(!t.document)throw new Error("febs requires a window with a document");return e(t)}:e(r)}("undefined"!=typeof window?window:void 0,function(t,n){var e={};if(e.crypt=r(2),t.febs)if(t.febs.crypt)for(var o in e.crypt)t.febs.crypt[o]=e.crypt[o];else t.febs.crypt=e.crypt;else t.febs=e;return e})}).call(n,r(4)(t))},function(t,n,r){"use strict";!function(){var n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",r={"rotl":function(t,n){return t<<n|t>>>32-n},"rotr":function(t,n){return t<<32-n|t>>>n},"endian":function(t){if(t.constructor==Number)return 16711935&r.rotl(t,8)|4278255360&r.rotl(t,24);for(var n=0;n<t.length;n++)t[n]=r.endian(t[n]);return t},"randomBytes":function(t){for(var n=[];t>0;t--)n.push(Math.floor(256*Math.random()));return n},"bytesToWords":function(t){for(var n=[],r=0,e=0;r<t.length;r++,e+=8)n[e>>>5]|=t[r]<<24-e%32;return n},"wordsToBytes":function(t){for(var n=[],r=0;r<32*t.length;r+=8)n.push(t[r>>>5]>>>24-r%32&255);return n},"bytesToHex":function(t){for(var n=[],r=0;r<t.length;r++)n.push((t[r]>>>4).toString(16)),n.push((15&t[r]).toString(16));return n.join("")},"hexToBytes":function(t){for(var n=[],r=0;r<t.length;r+=2)n.push(parseInt(t.substr(r,2),16));return n},"bytesToBase64":function(t){for(var r=[],e=0;e<t.length;e+=3)for(var o=t[e]<<16|t[e+1]<<8|t[e+2],i=0;i<4;i++)8*e+6*i<=8*t.length?r.push(n.charAt(o>>>6*(3-i)&63)):r.push("=");return r.join("")},"base64ToBytes":function(t){t=t.replace(/[^A-Z0-9+\/]/gi,"");for(var r=[],e=0,o=0;e<t.length;o=++e%4)0!=o&&r.push((n.indexOf(t.charAt(e-1))&Math.pow(2,-2*o+8)-1)<<2*o|n.indexOf(t.charAt(e))>>>6-2*o);return r}};t.exports=r}()},function(t,n,r){"use strict";function e(t){return!!t.constructor&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}function o(t){return"function"==typeof t.readFloatLE&&"function"==typeof t.slice&&e(t.slice(0,0))}t.exports=function(t){return null!=t&&(e(t)||o(t)||!!t._isBuffer)}},function(t,n,r){"use strict";!function(){var n=r(6),e=r(0).utf8,o=r(7),i=r(0).bin,u=function c(t,r){t.constructor==String?t=r&&"binary"===r.encoding?i.stringToBytes(t):e.stringToBytes(t):o(t)?t=Array.prototype.slice.call(t,0):Array.isArray(t)||(t=t.toString());for(var u=n.bytesToWords(t),f=8*t.length,s=1732584193,a=-271733879,l=-1732584194,p=271733878,y=0;y<u.length;y++)u[y]=16711935&(u[y]<<8|u[y]>>>24)|4278255360&(u[y]<<24|u[y]>>>8);u[f>>>5]|=128<<f%32,u[14+(f+64>>>9<<4)]=f;for(var d=c._ff,h=c._gg,g=c._hh,b=c._ii,y=0;y<u.length;y+=16){var m=s,v=a,w=l,x=p;s=d(s,a,l,p,u[y+0],7,-680876936),p=d(p,s,a,l,u[y+1],12,-389564586),l=d(l,p,s,a,u[y+2],17,606105819),a=d(a,l,p,s,u[y+3],22,-1044525330),s=d(s,a,l,p,u[y+4],7,-176418897),p=d(p,s,a,l,u[y+5],12,1200080426),l=d(l,p,s,a,u[y+6],17,-1473231341),a=d(a,l,p,s,u[y+7],22,-45705983),s=d(s,a,l,p,u[y+8],7,1770035416),p=d(p,s,a,l,u[y+9],12,-1958414417),l=d(l,p,s,a,u[y+10],17,-42063),a=d(a,l,p,s,u[y+11],22,-1990404162),s=d(s,a,l,p,u[y+12],7,1804603682),p=d(p,s,a,l,u[y+13],12,-40341101),l=d(l,p,s,a,u[y+14],17,-1502002290),a=d(a,l,p,s,u[y+15],22,1236535329),s=h(s,a,l,p,u[y+1],5,-165796510),p=h(p,s,a,l,u[y+6],9,-1069501632),l=h(l,p,s,a,u[y+11],14,643717713),a=h(a,l,p,s,u[y+0],20,-373897302),s=h(s,a,l,p,u[y+5],5,-701558691),p=h(p,s,a,l,u[y+10],9,38016083),l=h(l,p,s,a,u[y+15],14,-660478335),a=h(a,l,p,s,u[y+4],20,-405537848),s=h(s,a,l,p,u[y+9],5,568446438),p=h(p,s,a,l,u[y+14],9,-1019803690),l=h(l,p,s,a,u[y+3],14,-187363961),a=h(a,l,p,s,u[y+8],20,1163531501),s=h(s,a,l,p,u[y+13],5,-1444681467),p=h(p,s,a,l,u[y+2],9,-51403784),l=h(l,p,s,a,u[y+7],14,1735328473),a=h(a,l,p,s,u[y+12],20,-1926607734),s=g(s,a,l,p,u[y+5],4,-378558),p=g(p,s,a,l,u[y+8],11,-2022574463),l=g(l,p,s,a,u[y+11],16,1839030562),a=g(a,l,p,s,u[y+14],23,-35309556),s=g(s,a,l,p,u[y+1],4,-1530992060),p=g(p,s,a,l,u[y+4],11,1272893353),l=g(l,p,s,a,u[y+7],16,-155497632),a=g(a,l,p,s,u[y+10],23,-1094730640),s=g(s,a,l,p,u[y+13],4,681279174),p=g(p,s,a,l,u[y+0],11,-358537222),l=g(l,p,s,a,u[y+3],16,-722521979),a=g(a,l,p,s,u[y+6],23,76029189),s=g(s,a,l,p,u[y+9],4,-640364487),p=g(p,s,a,l,u[y+12],11,-421815835),l=g(l,p,s,a,u[y+15],16,530742520),a=g(a,l,p,s,u[y+2],23,-995338651),s=b(s,a,l,p,u[y+0],6,-198630844),p=b(p,s,a,l,u[y+7],10,1126891415),l=b(l,p,s,a,u[y+14],15,-1416354905),a=b(a,l,p,s,u[y+5],21,-57434055),s=b(s,a,l,p,u[y+12],6,1700485571),p=b(p,s,a,l,u[y+3],10,-1894986606),l=b(l,p,s,a,u[y+10],15,-1051523),a=b(a,l,p,s,u[y+1],21,-2054922799),s=b(s,a,l,p,u[y+8],6,1873313359),p=b(p,s,a,l,u[y+15],10,-30611744),l=b(l,p,s,a,u[y+6],15,-1560198380),a=b(a,l,p,s,u[y+13],21,1309151649),s=b(s,a,l,p,u[y+4],6,-145523070),p=b(p,s,a,l,u[y+11],10,-1120210379),l=b(l,p,s,a,u[y+2],15,718787259),a=b(a,l,p,s,u[y+9],21,-343485551),s=s+m>>>0,a=a+v>>>0,l=l+w>>>0,p=p+x>>>0}return n.endian([s,a,l,p])};u._ff=function(t,n,r,e,o,i,u){var c=t+(n&r|~n&e)+(o>>>0)+u;return(c<<i|c>>>32-i)+n},u._gg=function(t,n,r,e,o,i,u){var c=t+(n&e|r&~e)+(o>>>0)+u;return(c<<i|c>>>32-i)+n},u._hh=function(t,n,r,e,o,i,u){var c=t+(n^r^e)+(o>>>0)+u;return(c<<i|c>>>32-i)+n},u._ii=function(t,n,r,e,o,i,u){var c=t+(r^(n|~e))+(o>>>0)+u;return(c<<i|c>>>32-i)+n},u._blocksize=16,u._digestsize=16,t.exports=function(t,r){if(void 0===t||null===t)throw new Error("Illegal argument "+t);var e=n.wordsToBytes(u(t,r));return r&&r.asBytes?e:r&&r.asString?i.bytesToString(e):n.bytesToHex(e)}}()}]); | ||
!function(t){function n(e){if(r[e])return r[e].exports;var o=r[e]={"i":e,"l":!1,"exports":{}};return t[e].call(o.exports,o,o.exports,n),o.l=!0,o.exports}var r={};n.m=t,n.c=r,n.i=function(t){return t},n.d=function(t,r,e){n.o(t,r)||Object.defineProperty(t,r,{"configurable":!1,"enumerable":!0,"get":e})},n.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(r,"a",r),r},n.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},n.p="",n(n.s=5)}([function(t,n,r){"use strict";var e={"utf8":{"stringToBytes":function(t){return e.bin.stringToBytes(unescape(encodeURIComponent(t)))},"bytesToString":function(t){return decodeURIComponent(escape(e.bin.bytesToString(t)))}},"bin":{"stringToBytes":function(t){for(var n=[],r=0;r<t.length;r++)n.push(255&t.charCodeAt(r));return n},"bytesToString":function(t){for(var n=[],r=0;r<t.length;r++)n.push(String.fromCharCode(t[r]));return n.join("")}}};t.exports=e},function(t,n,r){"use strict";!function(){"function"!=typeof Promise.prototype.finally&&(Promise.prototype.finally=function(t){return this.then(function(n){return this.constructor.resolve(t()).then(function(){return n})}).catch(function(n){return this.constructor.resolve(t()).then(function(){throw n})})})}()},function(t,n,r){"use strict";var e=r(8);n.md5=e},function(t,n,r){"use strict";!function(t){t.console||(t.console={});for(var n,r,e=t.console,o=function(){},i=["memory"],u="assert,clear,count,debug,dir,dirxml,error,exception,group,groupCollapsed,groupEnd,info,log,markTimeline,profile,profiles,profileEnd,show,table,time,timeEnd,timeline,timelineEnd,timeStamp,trace,warn".split(",");n=i.pop();)e[n]||(e[n]={});for(;r=u.pop();)e[r]||(e[r]=o)}("undefined"==typeof window?void 0:window)},function(t,n,r){"use strict";t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{"enumerable":!0,"get":function(){return t.l}}),Object.defineProperty(t,"id",{"enumerable":!0,"get":function(){return t.i}}),t.webpackPolyfill=1),t}},function(t,n,r){"use strict";(function(t){var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};r(3),r(1),function(r,e){"object"===n(t)&&"object"===n(t.exports)?t.exports=r.document?e(r,!0):function(t){if(!t.document)throw new Error("febs requires a window with a document");return e(t)}:e(r)}("undefined"!=typeof window?window:void 0,function(t,n){var e={};if(e.crypt=r(2),t.febs)if(t.febs.crypt)for(var o in e.crypt)t.febs.crypt[o]=e.crypt[o];else t.febs.crypt=e.crypt;else t.febs=e;return e})}).call(n,r(4)(t))},function(t,n,r){"use strict";!function(){var n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",r={"rotl":function(t,n){return t<<n|t>>>32-n},"rotr":function(t,n){return t<<32-n|t>>>n},"endian":function(t){if(t.constructor==Number)return 16711935&r.rotl(t,8)|4278255360&r.rotl(t,24);for(var n=0;n<t.length;n++)t[n]=r.endian(t[n]);return t},"randomBytes":function(t){for(var n=[];t>0;t--)n.push(Math.floor(256*Math.random()));return n},"bytesToWords":function(t){for(var n=[],r=0,e=0;r<t.length;r++,e+=8)n[e>>>5]|=t[r]<<24-e%32;return n},"wordsToBytes":function(t){for(var n=[],r=0;r<32*t.length;r+=8)n.push(t[r>>>5]>>>24-r%32&255);return n},"bytesToHex":function(t){for(var n=[],r=0;r<t.length;r++)n.push((t[r]>>>4).toString(16)),n.push((15&t[r]).toString(16));return n.join("")},"hexToBytes":function(t){for(var n=[],r=0;r<t.length;r+=2)n.push(parseInt(t.substr(r,2),16));return n},"bytesToBase64":function(t){for(var r=[],e=0;e<t.length;e+=3)for(var o=t[e]<<16|t[e+1]<<8|t[e+2],i=0;i<4;i++)8*e+6*i<=8*t.length?r.push(n.charAt(o>>>6*(3-i)&63)):r.push("=");return r.join("")},"base64ToBytes":function(t){t=t.replace(/[^A-Z0-9+\/]/gi,"");for(var r=[],e=0,o=0;e<t.length;o=++e%4)0!=o&&r.push((n.indexOf(t.charAt(e-1))&Math.pow(2,-2*o+8)-1)<<2*o|n.indexOf(t.charAt(e))>>>6-2*o);return r}};t.exports=r}()},function(t,n,r){"use strict";function e(t){return!!t.constructor&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}function o(t){return"function"==typeof t.readFloatLE&&"function"==typeof t.slice&&e(t.slice(0,0))}t.exports=function(t){return null!=t&&(e(t)||o(t)||!!t._isBuffer)}},function(t,n,r){"use strict";!function(){var n=r(6),e=r(0).utf8,o=r(7),i=r(0).bin,u=function c(t,r){t.constructor==String?t=r&&"binary"===r.encoding?i.stringToBytes(t):e.stringToBytes(t):o(t)?t=Array.prototype.slice.call(t,0):Array.isArray(t)||(t=t.toString());for(var u=n.bytesToWords(t),f=8*t.length,s=1732584193,a=-271733879,l=-1732584194,p=271733878,y=0;y<u.length;y++)u[y]=16711935&(u[y]<<8|u[y]>>>24)|4278255360&(u[y]<<24|u[y]>>>8);u[f>>>5]|=128<<f%32,u[14+(f+64>>>9<<4)]=f;for(var d=c._ff,h=c._gg,g=c._hh,b=c._ii,y=0;y<u.length;y+=16){var m=s,v=a,w=l,x=p;s=d(s,a,l,p,u[y+0],7,-680876936),p=d(p,s,a,l,u[y+1],12,-389564586),l=d(l,p,s,a,u[y+2],17,606105819),a=d(a,l,p,s,u[y+3],22,-1044525330),s=d(s,a,l,p,u[y+4],7,-176418897),p=d(p,s,a,l,u[y+5],12,1200080426),l=d(l,p,s,a,u[y+6],17,-1473231341),a=d(a,l,p,s,u[y+7],22,-45705983),s=d(s,a,l,p,u[y+8],7,1770035416),p=d(p,s,a,l,u[y+9],12,-1958414417),l=d(l,p,s,a,u[y+10],17,-42063),a=d(a,l,p,s,u[y+11],22,-1990404162),s=d(s,a,l,p,u[y+12],7,1804603682),p=d(p,s,a,l,u[y+13],12,-40341101),l=d(l,p,s,a,u[y+14],17,-1502002290),a=d(a,l,p,s,u[y+15],22,1236535329),s=h(s,a,l,p,u[y+1],5,-165796510),p=h(p,s,a,l,u[y+6],9,-1069501632),l=h(l,p,s,a,u[y+11],14,643717713),a=h(a,l,p,s,u[y+0],20,-373897302),s=h(s,a,l,p,u[y+5],5,-701558691),p=h(p,s,a,l,u[y+10],9,38016083),l=h(l,p,s,a,u[y+15],14,-660478335),a=h(a,l,p,s,u[y+4],20,-405537848),s=h(s,a,l,p,u[y+9],5,568446438),p=h(p,s,a,l,u[y+14],9,-1019803690),l=h(l,p,s,a,u[y+3],14,-187363961),a=h(a,l,p,s,u[y+8],20,1163531501),s=h(s,a,l,p,u[y+13],5,-1444681467),p=h(p,s,a,l,u[y+2],9,-51403784),l=h(l,p,s,a,u[y+7],14,1735328473),a=h(a,l,p,s,u[y+12],20,-1926607734),s=g(s,a,l,p,u[y+5],4,-378558),p=g(p,s,a,l,u[y+8],11,-2022574463),l=g(l,p,s,a,u[y+11],16,1839030562),a=g(a,l,p,s,u[y+14],23,-35309556),s=g(s,a,l,p,u[y+1],4,-1530992060),p=g(p,s,a,l,u[y+4],11,1272893353),l=g(l,p,s,a,u[y+7],16,-155497632),a=g(a,l,p,s,u[y+10],23,-1094730640),s=g(s,a,l,p,u[y+13],4,681279174),p=g(p,s,a,l,u[y+0],11,-358537222),l=g(l,p,s,a,u[y+3],16,-722521979),a=g(a,l,p,s,u[y+6],23,76029189),s=g(s,a,l,p,u[y+9],4,-640364487),p=g(p,s,a,l,u[y+12],11,-421815835),l=g(l,p,s,a,u[y+15],16,530742520),a=g(a,l,p,s,u[y+2],23,-995338651),s=b(s,a,l,p,u[y+0],6,-198630844),p=b(p,s,a,l,u[y+7],10,1126891415),l=b(l,p,s,a,u[y+14],15,-1416354905),a=b(a,l,p,s,u[y+5],21,-57434055),s=b(s,a,l,p,u[y+12],6,1700485571),p=b(p,s,a,l,u[y+3],10,-1894986606),l=b(l,p,s,a,u[y+10],15,-1051523),a=b(a,l,p,s,u[y+1],21,-2054922799),s=b(s,a,l,p,u[y+8],6,1873313359),p=b(p,s,a,l,u[y+15],10,-30611744),l=b(l,p,s,a,u[y+6],15,-1560198380),a=b(a,l,p,s,u[y+13],21,1309151649),s=b(s,a,l,p,u[y+4],6,-145523070),p=b(p,s,a,l,u[y+11],10,-1120210379),l=b(l,p,s,a,u[y+2],15,718787259),a=b(a,l,p,s,u[y+9],21,-343485551),s=s+m>>>0,a=a+v>>>0,l=l+w>>>0,p=p+x>>>0}return n.endian([s,a,l,p])};u._ff=function(t,n,r,e,o,i,u){var c=t+(n&r|~n&e)+(o>>>0)+u;return(c<<i|c>>>32-i)+n},u._gg=function(t,n,r,e,o,i,u){var c=t+(n&e|r&~e)+(o>>>0)+u;return(c<<i|c>>>32-i)+n},u._hh=function(t,n,r,e,o,i,u){var c=t+(n^r^e)+(o>>>0)+u;return(c<<i|c>>>32-i)+n},u._ii=function(t,n,r,e,o,i,u){var c=t+(r^(n|~e))+(o>>>0)+u;return(c<<i|c>>>32-i)+n},u._blocksize=16,u._digestsize=16,t.exports=function(t,r){if(void 0===t||null===t)throw new Error("Illegal argument "+t);var e=n.wordsToBytes(u(t,r));return r&&r.asBytes?e:r&&r.asString?i.bytesToString(e):n.bytesToHex(e)}}()}]); |
@@ -1,1 +0,1 @@ | ||
!function(t){function r(n){if(e[n])return e[n].exports;var o=e[n]={"i":n,"l":!1,"exports":{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}var e={};r.m=t,r.c=e,r.i=function(t){return t},r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{"configurable":!1,"enumerable":!0,"get":n})},r.n=function(t){var e=t&&t.__esModule?function(){return t['default']}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},r.p="",r(r.s=12)}([function(t,r,e){"use strict";var n={"utf8":{"stringToBytes":function(t){return n.bin.stringToBytes(unescape(encodeURIComponent(t)))},"bytesToString":function(t){return decodeURIComponent(escape(n.bin.bytesToString(t)))}},"bin":{"stringToBytes":function(t){for(var r=[],e=0;e<t.length;e++)r.push(255&t.charCodeAt(e));return r},"bytesToString":function(t){for(var r=[],e=0;e<t.length;e++)r.push(String.fromCharCode(t[e]));return r.join("")}}};t.exports=n},function(t,r,e){"use strict";!function(){"function"!=typeof Promise.prototype.finally&&(Promise.prototype.finally=function(t){return this.then(function(r){return this.constructor.resolve(t()).then(function(){return r})})['catch'](function(r){return this.constructor.resolve(t()).then(function(){throw r})})})}()},function(t,r,e){"use strict";var n=e(10);r.sha1=n},function(t,r,e){"use strict";!function(t){t.console||(t.console={});for(var r,e,n=t.console,o=function(){},i=["memory"],u="assert,clear,count,debug,dir,dirxml,error,exception,group,groupCollapsed,groupEnd,info,log,markTimeline,profile,profiles,profileEnd,show,table,time,timeEnd,timeline,timelineEnd,timeStamp,trace,warn".split(",");r=i.pop();)n[r]||(n[r]={});for(;e=u.pop();)n[e]||(n[e]=o)}("undefined"==typeof window?void 0:window)},function(t,r,e){"use strict";t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{"enumerable":!0,"get":function(){return t.l}}),Object.defineProperty(t,"id",{"enumerable":!0,"get":function(){return t.i}}),t.webpackPolyfill=1),t}},function(t,r,e){"use strict";function n(t){var r=t.length;if(r%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var e=t.indexOf("=");return-1===e&&(e=r),[e,e===r?0:4-e%4]}function o(t){var r=n(t),e=r[0],o=r[1];return 3*(e+o)/4-o}function i(t,r,e){return 3*(r+e)/4-e}function u(t){for(var r,e=n(t),o=e[0],u=e[1],f=new l(i(t,o,u)),s=0,a=u>0?o-4:o,h=0;h<a;h+=4)r=c[t.charCodeAt(h)]<<18|c[t.charCodeAt(h+1)]<<12|c[t.charCodeAt(h+2)]<<6|c[t.charCodeAt(h+3)],f[s++]=r>>16&255,f[s++]=r>>8&255,f[s++]=255&r;return 2===u&&(r=c[t.charCodeAt(h)]<<2|c[t.charCodeAt(h+1)]>>4,f[s++]=255&r),1===u&&(r=c[t.charCodeAt(h)]<<10|c[t.charCodeAt(h+1)]<<4|c[t.charCodeAt(h+2)]>>2,f[s++]=r>>8&255,f[s++]=255&r),f}function f(t){return h[t>>18&63]+h[t>>12&63]+h[t>>6&63]+h[63&t]}function s(t,r,e){for(var n,o=[],i=r;i<e;i+=3)n=(t[i]<<16&16711680)+(t[i+1]<<8&65280)+(255&t[i+2]),o.push(f(n));return o.join("")}function a(t){for(var r,e=t.length,n=e%3,o=[],i=0,u=e-n;i<u;i+=16383)o.push(s(t,i,i+16383>u?u:i+16383));return 1===n?(r=t[e-1],o.push(h[r>>2]+h[r<<4&63]+"==")):2===n&&(r=(t[e-2]<<8)+t[e-1],o.push(h[r>>10]+h[r>>4&63]+h[r<<2&63]+"=")),o.join("")}r.byteLength=o,r.toByteArray=u,r.fromByteArray=a;for(var h=[],c=[],l="undefined"!=typeof Uint8Array?Uint8Array:Array,p="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",y=0,g=p.length;y<g;++y)h[y]=p[y],c[p.charCodeAt(y)]=y;c["-".charCodeAt(0)]=62,c["_".charCodeAt(0)]=63},function(t,r,e){"use strict";(function(t){function n(){return i.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function o(t,r){if(n()<r)throw new RangeError("Invalid typed array length");return i.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(r),t.__proto__=i.prototype):(null===t&&(t=new i(r)),t.length=r),t}function i(t,r,e){if(!(i.TYPED_ARRAY_SUPPORT||this instanceof i))return new i(t,r,e);if("number"==typeof t){if("string"==typeof r)throw new Error("If encoding is specified then the first argument must be a string");return a(this,t)}return u(this,t,r,e)}function u(t,r,e,n){if("number"==typeof r)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&r instanceof ArrayBuffer?l(t,r,e,n):"string"==typeof r?h(t,r,e):p(t,r)}function f(t){if("number"!=typeof t)throw new TypeError('"size" argument must be a number');if(t<0)throw new RangeError('"size" argument must not be negative')}function s(t,r,e,n){return f(r),r<=0?o(t,r):void 0!==e?"string"==typeof n?o(t,r).fill(e,n):o(t,r).fill(e):o(t,r)}function a(t,r){if(f(r),t=o(t,r<0?0:0|y(r)),!i.TYPED_ARRAY_SUPPORT)for(var e=0;e<r;++e)t[e]=0;return t}function h(t,r,e){if("string"==typeof e&&""!==e||(e="utf8"),!i.isEncoding(e))throw new TypeError('"encoding" must be a valid string encoding');var n=0|d(r,e);t=o(t,n);var u=t.write(r,e);return u!==n&&(t=t.slice(0,u)),t}function c(t,r){var e=r.length<0?0:0|y(r.length);t=o(t,e);for(var n=0;n<e;n+=1)t[n]=255&r[n];return t}function l(t,r,e,n){if(r.byteLength,e<0||r.byteLength<e)throw new RangeError("'offset' is out of bounds");if(r.byteLength<e+(n||0))throw new RangeError("'length' is out of bounds");return r=void 0===e&&void 0===n?new Uint8Array(r):void 0===n?new Uint8Array(r,e):new Uint8Array(r,e,n),i.TYPED_ARRAY_SUPPORT?(t=r,t.__proto__=i.prototype):t=c(t,r),t}function p(t,r){if(i.isBuffer(r)){var e=0|y(r.length);return t=o(t,e),0===t.length?t:(r.copy(t,0,0,e),t)}if(r){if("undefined"!=typeof ArrayBuffer&&r.buffer instanceof ArrayBuffer||"length"in r)return"number"!=typeof r.length||J(r.length)?o(t,0):c(t,r);if("Buffer"===r.type&&Q(r.data))return c(t,r.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function y(t){if(t>=n())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+n().toString(16)+" bytes");return 0|t}function g(t){return+t!=t&&(t=0),i.alloc(+t)}function d(t,r){if(i.isBuffer(t))return t.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!=typeof t&&(t=""+t);var e=t.length;if(0===e)return 0;for(var n=!1;;)switch(r){case"ascii":case"latin1":case"binary":return e;case"utf8":case"utf-8":case void 0:return H(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*e;case"hex":return e>>>1;case"base64":return X(t).length;default:if(n)return H(t).length;r=(""+r).toLowerCase(),n=!0}}function w(t,r,e){var n=!1;if((void 0===r||r<0)&&(r=0),r>this.length)return"";if((void 0===e||e>this.length)&&(e=this.length),e<=0)return"";if(e>>>=0,r>>>=0,e<=r)return"";for(t||(t="utf8");;)switch(t){case"hex":return x(this,r,e);case"utf8":case"utf-8":return S(this,r,e);case"ascii":return Y(this,r,e);case"latin1":case"binary":return I(this,r,e);case"base64":return P(this,r,e);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return C(this,r,e);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}function v(t,r,e){var n=t[r];t[r]=t[e],t[e]=n}function b(t,r,e,n,o){if(0===t.length)return-1;if("string"==typeof e?(n=e,e=0):e>2147483647?e=2147483647:e<-2147483648&&(e=-2147483648),e=+e,isNaN(e)&&(e=o?0:t.length-1),e<0&&(e=t.length+e),e>=t.length){if(o)return-1;e=t.length-1}else if(e<0){if(!o)return-1;e=0}if("string"==typeof r&&(r=i.from(r,n)),i.isBuffer(r))return 0===r.length?-1:m(t,r,e,n,o);if("number"==typeof r)return r&=255,i.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(t,r,e):Uint8Array.prototype.lastIndexOf.call(t,r,e):m(t,[r],e,n,o);throw new TypeError("val must be string, number or Buffer")}function m(t,r,e,n,o){function i(t,r){return 1===u?t[r]:t.readUInt16BE(r*u)}var u=1,f=t.length,s=r.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||r.length<2)return-1;u=2,f/=2,s/=2,e/=2}var a;if(o){var h=-1;for(a=e;a<f;a++)if(i(t,a)===i(r,-1===h?0:a-h)){if(-1===h&&(h=a),a-h+1===s)return h*u}else-1!==h&&(a-=a-h),h=-1}else for(e+s>f&&(e=f-s),a=e;a>=0;a--){for(var c=!0,l=0;l<s;l++)if(i(t,a+l)!==i(r,l)){c=!1;break}if(c)return a}return-1}function A(t,r,e,n){e=Number(e)||0;var o=t.length-e;n?(n=Number(n))>o&&(n=o):n=o;var i=r.length;if(i%2!=0)throw new TypeError("Invalid hex string");n>i/2&&(n=i/2);for(var u=0;u<n;++u){var f=parseInt(r.substr(2*u,2),16);if(isNaN(f))return u;t[e+u]=f}return u}function E(t,r,e,n){return Z(H(r,t.length-e),t,e,n)}function R(t,r,e,n){return Z(V(r),t,e,n)}function _(t,r,e,n){return R(t,r,e,n)}function T(t,r,e,n){return Z(X(r),t,e,n)}function B(t,r,e,n){return Z(W(r,t.length-e),t,e,n)}function P(t,r,e){return 0===r&&e===t.length?G.fromByteArray(t):G.fromByteArray(t.slice(r,e))}function S(t,r,e){e=Math.min(t.length,e);for(var n=[],o=r;o<e;){var i=t[o],u=null,f=i>239?4:i>223?3:i>191?2:1;if(o+f<=e){var s,a,h,c;switch(f){case 1:i<128&&(u=i);break;case 2:s=t[o+1],128==(192&s)&&(c=(31&i)<<6|63&s)>127&&(u=c);break;case 3:s=t[o+1],a=t[o+2],128==(192&s)&&128==(192&a)&&(c=(15&i)<<12|(63&s)<<6|63&a)>2047&&(c<55296||c>57343)&&(u=c);break;case 4:s=t[o+1],a=t[o+2],h=t[o+3],128==(192&s)&&128==(192&a)&&128==(192&h)&&(c=(15&i)<<18|(63&s)<<12|(63&a)<<6|63&h)>65535&&c<1114112&&(u=c)}}null===u?(u=65533,f=1):u>65535&&(u-=65536,n.push(u>>>10&1023|55296),u=56320|1023&u),n.push(u),o+=f}return U(n)}function U(t){var r=t.length;if(r<=$)return String.fromCharCode.apply(String,t);for(var e="",n=0;n<r;)e+=String.fromCharCode.apply(String,t.slice(n,n+=$));return e}function Y(t,r,e){var n="";e=Math.min(t.length,e);for(var o=r;o<e;++o)n+=String.fromCharCode(127&t[o]);return n}function I(t,r,e){var n="";e=Math.min(t.length,e);for(var o=r;o<e;++o)n+=String.fromCharCode(t[o]);return n}function x(t,r,e){var n=t.length;(!r||r<0)&&(r=0),(!e||e<0||e>n)&&(e=n);for(var o="",i=r;i<e;++i)o+=q(t[i]);return o}function C(t,r,e){for(var n=t.slice(r,e),o="",i=0;i<n.length;i+=2)o+=String.fromCharCode(n[i]+256*n[i+1]);return o}function O(t,r,e){if(t%1!=0||t<0)throw new RangeError("offset is not uint");if(t+r>e)throw new RangeError("Trying to access beyond buffer length")}function M(t,r,e,n,o,u){if(!i.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>o||r<u)throw new RangeError('"value" argument is out of bounds');if(e+n>t.length)throw new RangeError("Index out of range")}function L(t,r,e,n){r<0&&(r=65535+r+1);for(var o=0,i=Math.min(t.length-e,2);o<i;++o)t[e+o]=(r&255<<8*(n?o:1-o))>>>8*(n?o:1-o)}function D(t,r,e,n){r<0&&(r=4294967295+r+1);for(var o=0,i=Math.min(t.length-e,4);o<i;++o)t[e+o]=r>>>8*(n?o:3-o)&255}function k(t,r,e,n,o,i){if(e+n>t.length)throw new RangeError("Index out of range");if(e<0)throw new RangeError("Index out of range")}function N(t,r,e,n,o){return o||k(t,r,e,4,3.4028234663852886e38,-3.4028234663852886e38),K.write(t,r,e,n,23,4),e+4}function j(t,r,e,n,o){return o||k(t,r,e,8,1.7976931348623157e308,-1.7976931348623157e308),K.write(t,r,e,n,52,8),e+8}function z(t){if(t=F(t).replace(tt,""),t.length<2)return"";for(;t.length%4!=0;)t+="=";return t}function F(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function q(t){return t<16?"0"+t.toString(16):t.toString(16)}function H(t,r){r=r||1/0;for(var e,n=t.length,o=null,i=[],u=0;u<n;++u){if((e=t.charCodeAt(u))>55295&&e<57344){if(!o){if(e>56319){(r-=3)>-1&&i.push(239,191,189);continue}if(u+1===n){(r-=3)>-1&&i.push(239,191,189);continue}o=e;continue}if(e<56320){(r-=3)>-1&&i.push(239,191,189),o=e;continue}e=65536+(o-55296<<10|e-56320)}else o&&(r-=3)>-1&&i.push(239,191,189);if(o=null,e<128){if((r-=1)<0)break;i.push(e)}else if(e<2048){if((r-=2)<0)break;i.push(e>>6|192,63&e|128)}else if(e<65536){if((r-=3)<0)break;i.push(e>>12|224,e>>6&63|128,63&e|128)}else{if(!(e<1114112))throw new Error("Invalid code point");if((r-=4)<0)break;i.push(e>>18|240,e>>12&63|128,e>>6&63|128,63&e|128)}}return i}function V(t){for(var r=[],e=0;e<t.length;++e)r.push(255&t.charCodeAt(e));return r}function W(t,r){for(var e,n,o,i=[],u=0;u<t.length&&!((r-=2)<0);++u)e=t.charCodeAt(u),n=e>>8,o=e%256,i.push(o),i.push(n);return i}function X(t){return G.toByteArray(z(t))}function Z(t,r,e,n){for(var o=0;o<n&&!(o+e>=r.length||o>=t.length);++o)r[o+e]=t[o];return o}function J(t){return t!==t}var G=e(5),K=e(8),Q=e(9);r.Buffer=i,r.SlowBuffer=g,r.INSPECT_MAX_BYTES=50,i.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.TYPED_ARRAY_SUPPORT:function(){try{var t=new Uint8Array(1);return t.__proto__={"__proto__":Uint8Array.prototype,"foo":function(){return 42}},42===t.foo()&&"function"==typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(r){return!1}}(),r.kMaxLength=n(),i.poolSize=8192,i._augment=function(t){return t.__proto__=i.prototype,t},i.from=function(t,r,e){return u(null,t,r,e)},i.TYPED_ARRAY_SUPPORT&&(i.prototype.__proto__=Uint8Array.prototype,i.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&i[Symbol.species]===i&&Object.defineProperty(i,Symbol.species,{"value":null,"configurable":!0})),i.alloc=function(t,r,e){return s(null,t,r,e)},i.allocUnsafe=function(t){return a(null,t)},i.allocUnsafeSlow=function(t){return a(null,t)},i.isBuffer=function(t){return!(null==t||!t._isBuffer)},i.compare=function(t,r){if(!i.isBuffer(t)||!i.isBuffer(r))throw new TypeError("Arguments must be Buffers");if(t===r)return 0;for(var e=t.length,n=r.length,o=0,u=Math.min(e,n);o<u;++o)if(t[o]!==r[o]){e=t[o],n=r[o];break}return e<n?-1:n<e?1:0},i.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},i.concat=function(t,r){if(!Q(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return i.alloc(0);var e;if(void 0===r)for(r=0,e=0;e<t.length;++e)r+=t[e].length;var n=i.allocUnsafe(r),o=0;for(e=0;e<t.length;++e){var u=t[e];if(!i.isBuffer(u))throw new TypeError('"list" argument must be an Array of Buffers');u.copy(n,o),o+=u.length}return n},i.byteLength=d,i.prototype._isBuffer=!0,i.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<t;r+=2)v(this,r,r+1);return this},i.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<t;r+=4)v(this,r,r+3),v(this,r+1,r+2);return this},i.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<t;r+=8)v(this,r,r+7),v(this,r+1,r+6),v(this,r+2,r+5),v(this,r+3,r+4);return this},i.prototype.toString=function(){var t=0|this.length;return 0===t?"":0===arguments.length?S(this,0,t):w.apply(this,arguments)},i.prototype.equals=function(t){if(!i.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===i.compare(this,t)},i.prototype.inspect=function(){var t="",e=r.INSPECT_MAX_BYTES;return this.length>0&&(t=this.toString("hex",0,e).match(/.{2}/g).join(" "),this.length>e&&(t+=" ... ")),"<Buffer "+t+">"},i.prototype.compare=function(t,r,e,n,o){if(!i.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===r&&(r=0),void 0===e&&(e=t?t.length:0),void 0===n&&(n=0),void 0===o&&(o=this.length),r<0||e>t.length||n<0||o>this.length)throw new RangeError("out of range index");if(n>=o&&r>=e)return 0;if(n>=o)return-1;if(r>=e)return 1;if(r>>>=0,e>>>=0,n>>>=0,o>>>=0,this===t)return 0;for(var u=o-n,f=e-r,s=Math.min(u,f),a=this.slice(n,o),h=t.slice(r,e),c=0;c<s;++c)if(a[c]!==h[c]){u=a[c],f=h[c];break}return u<f?-1:f<u?1:0},i.prototype.includes=function(t,r,e){return-1!==this.indexOf(t,r,e)},i.prototype.indexOf=function(t,r,e){return b(this,t,r,e,!0)},i.prototype.lastIndexOf=function(t,r,e){return b(this,t,r,e,!1)},i.prototype.write=function(t,r,e,n){if(void 0===r)n="utf8",e=this.length,r=0;else if(void 0===e&&"string"==typeof r)n=r,e=this.length,r=0;else{if(!isFinite(r))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");r|=0,isFinite(e)?(e|=0,void 0===n&&(n="utf8")):(n=e,e=void 0)}var o=this.length-r;if((void 0===e||e>o)&&(e=o),t.length>0&&(e<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var i=!1;;)switch(n){case"hex":return A(this,t,r,e);case"utf8":case"utf-8":return E(this,t,r,e);case"ascii":return R(this,t,r,e);case"latin1":case"binary":return _(this,t,r,e);case"base64":return T(this,t,r,e);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return B(this,t,r,e);default:if(i)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),i=!0}},i.prototype.toJSON=function(){return{"type":"Buffer","data":Array.prototype.slice.call(this._arr||this,0)}};var $=4096;i.prototype.slice=function(t,r){var e=this.length;t=~~t,r=void 0===r?e:~~r,t<0?(t+=e)<0&&(t=0):t>e&&(t=e),r<0?(r+=e)<0&&(r=0):r>e&&(r=e),r<t&&(r=t);var n;if(i.TYPED_ARRAY_SUPPORT)n=this.subarray(t,r),n.__proto__=i.prototype;else{var o=r-t;n=new i(o,void 0);for(var u=0;u<o;++u)n[u]=this[u+t]}return n},i.prototype.readUIntLE=function(t,r,e){t|=0,r|=0,e||O(t,r,this.length);for(var n=this[t],o=1,i=0;++i<r&&(o*=256);)n+=this[t+i]*o;return n},i.prototype.readUIntBE=function(t,r,e){t|=0,r|=0,e||O(t,r,this.length);for(var n=this[t+--r],o=1;r>0&&(o*=256);)n+=this[t+--r]*o;return n},i.prototype.readUInt8=function(t,r){return r||O(t,1,this.length),this[t]},i.prototype.readUInt16LE=function(t,r){return r||O(t,2,this.length),this[t]|this[t+1]<<8},i.prototype.readUInt16BE=function(t,r){return r||O(t,2,this.length),this[t]<<8|this[t+1]},i.prototype.readUInt32LE=function(t,r){return r||O(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},i.prototype.readUInt32BE=function(t,r){return r||O(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},i.prototype.readIntLE=function(t,r,e){t|=0,r|=0,e||O(t,r,this.length);for(var n=this[t],o=1,i=0;++i<r&&(o*=256);)n+=this[t+i]*o;return o*=128,n>=o&&(n-=Math.pow(2,8*r)),n},i.prototype.readIntBE=function(t,r,e){t|=0,r|=0,e||O(t,r,this.length);for(var n=r,o=1,i=this[t+--n];n>0&&(o*=256);)i+=this[t+--n]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*r)),i},i.prototype.readInt8=function(t,r){return r||O(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},i.prototype.readInt16LE=function(t,r){r||O(t,2,this.length);var e=this[t]|this[t+1]<<8;return 32768&e?4294901760|e:e},i.prototype.readInt16BE=function(t,r){r||O(t,2,this.length);var e=this[t+1]|this[t]<<8;return 32768&e?4294901760|e:e},i.prototype.readInt32LE=function(t,r){return r||O(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},i.prototype.readInt32BE=function(t,r){return r||O(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},i.prototype.readFloatLE=function(t,r){return r||O(t,4,this.length),K.read(this,t,!0,23,4)},i.prototype.readFloatBE=function(t,r){return r||O(t,4,this.length),K.read(this,t,!1,23,4)},i.prototype.readDoubleLE=function(t,r){return r||O(t,8,this.length),K.read(this,t,!0,52,8)},i.prototype.readDoubleBE=function(t,r){return r||O(t,8,this.length),K.read(this,t,!1,52,8)},i.prototype.writeUIntLE=function(t,r,e,n){if(t=+t,r|=0,e|=0,!n){M(this,t,r,e,Math.pow(2,8*e)-1,0)}var o=1,i=0;for(this[r]=255&t;++i<e&&(o*=256);)this[r+i]=t/o&255;return r+e},i.prototype.writeUIntBE=function(t,r,e,n){if(t=+t,r|=0,e|=0,!n){M(this,t,r,e,Math.pow(2,8*e)-1,0)}var o=e-1,i=1;for(this[r+o]=255&t;--o>=0&&(i*=256);)this[r+o]=t/i&255;return r+e},i.prototype.writeUInt8=function(t,r,e){return t=+t,r|=0,e||M(this,t,r,1,255,0),i.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[r]=255&t,r+1},i.prototype.writeUInt16LE=function(t,r,e){return t=+t,r|=0,e||M(this,t,r,2,65535,0),i.TYPED_ARRAY_SUPPORT?(this[r]=255&t,this[r+1]=t>>>8):L(this,t,r,!0),r+2},i.prototype.writeUInt16BE=function(t,r,e){return t=+t,r|=0,e||M(this,t,r,2,65535,0),i.TYPED_ARRAY_SUPPORT?(this[r]=t>>>8,this[r+1]=255&t):L(this,t,r,!1),r+2},i.prototype.writeUInt32LE=function(t,r,e){return t=+t,r|=0,e||M(this,t,r,4,4294967295,0),i.TYPED_ARRAY_SUPPORT?(this[r+3]=t>>>24,this[r+2]=t>>>16,this[r+1]=t>>>8,this[r]=255&t):D(this,t,r,!0),r+4},i.prototype.writeUInt32BE=function(t,r,e){return t=+t,r|=0,e||M(this,t,r,4,4294967295,0),i.TYPED_ARRAY_SUPPORT?(this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=255&t):D(this,t,r,!1),r+4},i.prototype.writeIntLE=function(t,r,e,n){if(t=+t,r|=0,!n){var o=Math.pow(2,8*e-1);M(this,t,r,e,o-1,-o)}var i=0,u=1,f=0;for(this[r]=255&t;++i<e&&(u*=256);)t<0&&0===f&&0!==this[r+i-1]&&(f=1),this[r+i]=(t/u>>0)-f&255;return r+e},i.prototype.writeIntBE=function(t,r,e,n){if(t=+t,r|=0,!n){var o=Math.pow(2,8*e-1);M(this,t,r,e,o-1,-o)}var i=e-1,u=1,f=0;for(this[r+i]=255&t;--i>=0&&(u*=256);)t<0&&0===f&&0!==this[r+i+1]&&(f=1),this[r+i]=(t/u>>0)-f&255;return r+e},i.prototype.writeInt8=function(t,r,e){return t=+t,r|=0,e||M(this,t,r,1,127,-128),i.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[r]=255&t,r+1},i.prototype.writeInt16LE=function(t,r,e){return t=+t,r|=0,e||M(this,t,r,2,32767,-32768),i.TYPED_ARRAY_SUPPORT?(this[r]=255&t,this[r+1]=t>>>8):L(this,t,r,!0),r+2},i.prototype.writeInt16BE=function(t,r,e){return t=+t,r|=0,e||M(this,t,r,2,32767,-32768),i.TYPED_ARRAY_SUPPORT?(this[r]=t>>>8,this[r+1]=255&t):L(this,t,r,!1),r+2},i.prototype.writeInt32LE=function(t,r,e){return t=+t,r|=0,e||M(this,t,r,4,2147483647,-2147483648),i.TYPED_ARRAY_SUPPORT?(this[r]=255&t,this[r+1]=t>>>8,this[r+2]=t>>>16,this[r+3]=t>>>24):D(this,t,r,!0),r+4},i.prototype.writeInt32BE=function(t,r,e){return t=+t,r|=0,e||M(this,t,r,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),i.TYPED_ARRAY_SUPPORT?(this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=255&t):D(this,t,r,!1),r+4},i.prototype.writeFloatLE=function(t,r,e){return N(this,t,r,!0,e)},i.prototype.writeFloatBE=function(t,r,e){return N(this,t,r,!1,e)},i.prototype.writeDoubleLE=function(t,r,e){return j(this,t,r,!0,e)},i.prototype.writeDoubleBE=function(t,r,e){return j(this,t,r,!1,e)},i.prototype.copy=function(t,r,e,n){if(e||(e=0),n||0===n||(n=this.length),r>=t.length&&(r=t.length),r||(r=0),n>0&&n<e&&(n=e),n===e)return 0;if(0===t.length||0===this.length)return 0;if(r<0)throw new RangeError("targetStart out of bounds");if(e<0||e>=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),t.length-r<n-e&&(n=t.length-r+e);var o,u=n-e;if(this===t&&e<r&&r<n)for(o=u-1;o>=0;--o)t[o+r]=this[o+e];else if(u<1e3||!i.TYPED_ARRAY_SUPPORT)for(o=0;o<u;++o)t[o+r]=this[o+e];else Uint8Array.prototype.set.call(t,this.subarray(e,e+u),r);return u},i.prototype.fill=function(t,r,e,n){if("string"==typeof t){if("string"==typeof r?(n=r,r=0,e=this.length):"string"==typeof e&&(n=e,e=this.length),1===t.length){var o=t.charCodeAt(0);o<256&&(t=o)}if(void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!i.isEncoding(n))throw new TypeError("Unknown encoding: "+n)}else"number"==typeof t&&(t&=255);if(r<0||this.length<r||this.length<e)throw new RangeError("Out of range index");if(e<=r)return this;r>>>=0,e=void 0===e?this.length:e>>>0,t||(t=0);var u;if("number"==typeof t)for(u=r;u<e;++u)this[u]=t;else{var f=i.isBuffer(t)?t:H(new i(t,n).toString()),s=f.length;for(u=0;u<e-r;++u)this[u+r]=f[u%s]}return this};var tt=/[^+\/0-9A-Za-z-_]/g}).call(r,e(11))},function(t,r,e){"use strict";!function(){var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",e={"rotl":function(t,r){return t<<r|t>>>32-r},"rotr":function(t,r){return t<<32-r|t>>>r},"endian":function(t){if(t.constructor==Number)return 16711935&e.rotl(t,8)|4278255360&e.rotl(t,24);for(var r=0;r<t.length;r++)t[r]=e.endian(t[r]);return t},"randomBytes":function(t){for(var r=[];t>0;t--)r.push(Math.floor(256*Math.random()));return r},"bytesToWords":function(t){for(var r=[],e=0,n=0;e<t.length;e++,n+=8)r[n>>>5]|=t[e]<<24-n%32;return r},"wordsToBytes":function(t){for(var r=[],e=0;e<32*t.length;e+=8)r.push(t[e>>>5]>>>24-e%32&255);return r},"bytesToHex":function(t){for(var r=[],e=0;e<t.length;e++)r.push((t[e]>>>4).toString(16)),r.push((15&t[e]).toString(16));return r.join("")},"hexToBytes":function(t){for(var r=[],e=0;e<t.length;e+=2)r.push(parseInt(t.substr(e,2),16));return r},"bytesToBase64":function(t){for(var e=[],n=0;n<t.length;n+=3)for(var o=t[n]<<16|t[n+1]<<8|t[n+2],i=0;i<4;i++)8*n+6*i<=8*t.length?e.push(r.charAt(o>>>6*(3-i)&63)):e.push("=");return e.join("")},"base64ToBytes":function(t){t=t.replace(/[^A-Z0-9+\/]/gi,"");for(var e=[],n=0,o=0;n<t.length;o=++n%4)0!=o&&e.push((r.indexOf(t.charAt(n-1))&Math.pow(2,-2*o+8)-1)<<2*o|r.indexOf(t.charAt(n))>>>6-2*o);return e}};t.exports=e}()},function(t,r,e){"use strict";r.read=function(t,r,e,n,o){var i,u,f=8*o-n-1,s=(1<<f)-1,a=s>>1,h=-7,c=e?o-1:0,l=e?-1:1,p=t[r+c];for(c+=l,i=p&(1<<-h)-1,p>>=-h,h+=f;h>0;i=256*i+t[r+c],c+=l,h-=8);for(u=i&(1<<-h)-1,i>>=-h,h+=n;h>0;u=256*u+t[r+c],c+=l,h-=8);if(0===i)i=1-a;else{if(i===s)return u?NaN:1/0*(p?-1:1);u+=Math.pow(2,n),i-=a}return(p?-1:1)*u*Math.pow(2,i-n)},r.write=function(t,r,e,n,o,i){var u,f,s,a=8*i-o-1,h=(1<<a)-1,c=h>>1,l=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,p=n?0:i-1,y=n?1:-1,g=r<0||0===r&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(f=isNaN(r)?1:0,u=h):(u=Math.floor(Math.log(r)/Math.LN2),r*(s=Math.pow(2,-u))<1&&(u--,s*=2),r+=u+c>=1?l/s:l*Math.pow(2,1-c),r*s>=2&&(u++,s/=2),u+c>=h?(f=0,u=h):u+c>=1?(f=(r*s-1)*Math.pow(2,o),u+=c):(f=r*Math.pow(2,c-1)*Math.pow(2,o),u=0));o>=8;t[e+p]=255&f,p+=y,f/=256,o-=8);for(u=u<<o|f,a+=o;a>0;t[e+p]=255&u,p+=y,u/=256,a-=8);t[e+p-y]|=128*g}},function(t,r,e){"use strict";var n={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==n.call(t)}},function(t,r,e){"use strict";(function(r){!function(){var n=e(7),o=e(0).utf8,i=e(0).bin,u=function(t){t.constructor==String?t=o.stringToBytes(t):void 0!==r&&"function"==typeof r.isBuffer&&r.isBuffer(t)?t=Array.prototype.slice.call(t,0):Array.isArray(t)||(t=t.toString());var e=n.bytesToWords(t),i=8*t.length,u=[],f=1732584193,s=-271733879,a=-1732584194,h=271733878,c=-1009589776;e[i>>5]|=128<<24-i%32,e[15+(i+64>>>9<<4)]=i;for(var l=0;l<e.length;l+=16){for(var p=f,y=s,g=a,d=h,w=c,v=0;v<80;v++){if(v<16)u[v]=e[l+v];else{var b=u[v-3]^u[v-8]^u[v-14]^u[v-16];u[v]=b<<1|b>>>31}var m=(f<<5|f>>>27)+c+(u[v]>>>0)+(v<20?1518500249+(s&a|~s&h):v<40?1859775393+(s^a^h):v<60?(s&a|s&h|a&h)-1894007588:(s^a^h)-899497514);c=h,h=a,a=s<<30|s>>>2,s=f,f=m}f+=p,s+=y,a+=g,h+=d,c+=w}return[f,s,a,h,c]},f=function(t,r){var e=n.wordsToBytes(u(t));return r&&r.asBytes?e:r&&r.asString?i.bytesToString(e):n.bytesToHex(e)};f._blocksize=16,f._digestsize=20,t.exports=f}()}).call(r,e(6).Buffer)},function(t,r,e){"use strict";var n,o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(i){"object"===("undefined"==typeof window?"undefined":o(window))&&(n=window)}t.exports=n},function(t,r,e){"use strict";(function(t){var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};e(3),e(1),function(e,n){"object"===r(t)&&"object"===r(t.exports)?t.exports=e.document?n(e,!0):function(t){if(!t.document)throw new Error("febs requires a window with a document");return n(t)}:n(e)}("undefined"!=typeof window?window:void 0,function(t,r){var n={};if(n.crypt=e(2),t.febs)if(t.febs.crypt)for(var o in n.crypt)t.febs.crypt[o]=n.crypt[o];else t.febs.crypt=n.crypt;else t.febs=n;return n})}).call(r,e(4)(t))}]); | ||
!function(t){function r(n){if(e[n])return e[n].exports;var o=e[n]={"i":n,"l":!1,"exports":{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}var e={};r.m=t,r.c=e,r.i=function(t){return t},r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{"configurable":!1,"enumerable":!0,"get":n})},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},r.p="",r(r.s=12)}([function(t,r,e){"use strict";var n={"utf8":{"stringToBytes":function(t){return n.bin.stringToBytes(unescape(encodeURIComponent(t)))},"bytesToString":function(t){return decodeURIComponent(escape(n.bin.bytesToString(t)))}},"bin":{"stringToBytes":function(t){for(var r=[],e=0;e<t.length;e++)r.push(255&t.charCodeAt(e));return r},"bytesToString":function(t){for(var r=[],e=0;e<t.length;e++)r.push(String.fromCharCode(t[e]));return r.join("")}}};t.exports=n},function(t,r,e){"use strict";!function(){"function"!=typeof Promise.prototype.finally&&(Promise.prototype.finally=function(t){return this.then(function(r){return this.constructor.resolve(t()).then(function(){return r})}).catch(function(r){return this.constructor.resolve(t()).then(function(){throw r})})})}()},function(t,r,e){"use strict";var n=e(10);r.sha1=n},function(t,r,e){"use strict";!function(t){t.console||(t.console={});for(var r,e,n=t.console,o=function(){},i=["memory"],u="assert,clear,count,debug,dir,dirxml,error,exception,group,groupCollapsed,groupEnd,info,log,markTimeline,profile,profiles,profileEnd,show,table,time,timeEnd,timeline,timelineEnd,timeStamp,trace,warn".split(",");r=i.pop();)n[r]||(n[r]={});for(;e=u.pop();)n[e]||(n[e]=o)}("undefined"==typeof window?void 0:window)},function(t,r,e){"use strict";t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{"enumerable":!0,"get":function(){return t.l}}),Object.defineProperty(t,"id",{"enumerable":!0,"get":function(){return t.i}}),t.webpackPolyfill=1),t}},function(t,r,e){"use strict";function n(t){var r=t.length;if(r%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var e=t.indexOf("=");return-1===e&&(e=r),[e,e===r?0:4-e%4]}function o(t){var r=n(t),e=r[0],o=r[1];return 3*(e+o)/4-o}function i(t,r,e){return 3*(r+e)/4-e}function u(t){for(var r,e=n(t),o=e[0],u=e[1],f=new l(i(t,o,u)),s=0,a=u>0?o-4:o,h=0;h<a;h+=4)r=c[t.charCodeAt(h)]<<18|c[t.charCodeAt(h+1)]<<12|c[t.charCodeAt(h+2)]<<6|c[t.charCodeAt(h+3)],f[s++]=r>>16&255,f[s++]=r>>8&255,f[s++]=255&r;return 2===u&&(r=c[t.charCodeAt(h)]<<2|c[t.charCodeAt(h+1)]>>4,f[s++]=255&r),1===u&&(r=c[t.charCodeAt(h)]<<10|c[t.charCodeAt(h+1)]<<4|c[t.charCodeAt(h+2)]>>2,f[s++]=r>>8&255,f[s++]=255&r),f}function f(t){return h[t>>18&63]+h[t>>12&63]+h[t>>6&63]+h[63&t]}function s(t,r,e){for(var n,o=[],i=r;i<e;i+=3)n=(t[i]<<16&16711680)+(t[i+1]<<8&65280)+(255&t[i+2]),o.push(f(n));return o.join("")}function a(t){for(var r,e=t.length,n=e%3,o=[],i=0,u=e-n;i<u;i+=16383)o.push(s(t,i,i+16383>u?u:i+16383));return 1===n?(r=t[e-1],o.push(h[r>>2]+h[r<<4&63]+"==")):2===n&&(r=(t[e-2]<<8)+t[e-1],o.push(h[r>>10]+h[r>>4&63]+h[r<<2&63]+"=")),o.join("")}r.byteLength=o,r.toByteArray=u,r.fromByteArray=a;for(var h=[],c=[],l="undefined"!=typeof Uint8Array?Uint8Array:Array,p="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",y=0,g=p.length;y<g;++y)h[y]=p[y],c[p.charCodeAt(y)]=y;c["-".charCodeAt(0)]=62,c["_".charCodeAt(0)]=63},function(t,r,e){"use strict";(function(t){function n(){return i.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function o(t,r){if(n()<r)throw new RangeError("Invalid typed array length");return i.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(r),t.__proto__=i.prototype):(null===t&&(t=new i(r)),t.length=r),t}function i(t,r,e){if(!(i.TYPED_ARRAY_SUPPORT||this instanceof i))return new i(t,r,e);if("number"==typeof t){if("string"==typeof r)throw new Error("If encoding is specified then the first argument must be a string");return a(this,t)}return u(this,t,r,e)}function u(t,r,e,n){if("number"==typeof r)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&r instanceof ArrayBuffer?l(t,r,e,n):"string"==typeof r?h(t,r,e):p(t,r)}function f(t){if("number"!=typeof t)throw new TypeError('"size" argument must be a number');if(t<0)throw new RangeError('"size" argument must not be negative')}function s(t,r,e,n){return f(r),r<=0?o(t,r):void 0!==e?"string"==typeof n?o(t,r).fill(e,n):o(t,r).fill(e):o(t,r)}function a(t,r){if(f(r),t=o(t,r<0?0:0|y(r)),!i.TYPED_ARRAY_SUPPORT)for(var e=0;e<r;++e)t[e]=0;return t}function h(t,r,e){if("string"==typeof e&&""!==e||(e="utf8"),!i.isEncoding(e))throw new TypeError('"encoding" must be a valid string encoding');var n=0|d(r,e);t=o(t,n);var u=t.write(r,e);return u!==n&&(t=t.slice(0,u)),t}function c(t,r){var e=r.length<0?0:0|y(r.length);t=o(t,e);for(var n=0;n<e;n+=1)t[n]=255&r[n];return t}function l(t,r,e,n){if(r.byteLength,e<0||r.byteLength<e)throw new RangeError("'offset' is out of bounds");if(r.byteLength<e+(n||0))throw new RangeError("'length' is out of bounds");return r=void 0===e&&void 0===n?new Uint8Array(r):void 0===n?new Uint8Array(r,e):new Uint8Array(r,e,n),i.TYPED_ARRAY_SUPPORT?(t=r,t.__proto__=i.prototype):t=c(t,r),t}function p(t,r){if(i.isBuffer(r)){var e=0|y(r.length);return t=o(t,e),0===t.length?t:(r.copy(t,0,0,e),t)}if(r){if("undefined"!=typeof ArrayBuffer&&r.buffer instanceof ArrayBuffer||"length"in r)return"number"!=typeof r.length||J(r.length)?o(t,0):c(t,r);if("Buffer"===r.type&&Q(r.data))return c(t,r.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function y(t){if(t>=n())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+n().toString(16)+" bytes");return 0|t}function g(t){return+t!=t&&(t=0),i.alloc(+t)}function d(t,r){if(i.isBuffer(t))return t.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!=typeof t&&(t=""+t);var e=t.length;if(0===e)return 0;for(var n=!1;;)switch(r){case"ascii":case"latin1":case"binary":return e;case"utf8":case"utf-8":case void 0:return H(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*e;case"hex":return e>>>1;case"base64":return X(t).length;default:if(n)return H(t).length;r=(""+r).toLowerCase(),n=!0}}function w(t,r,e){var n=!1;if((void 0===r||r<0)&&(r=0),r>this.length)return"";if((void 0===e||e>this.length)&&(e=this.length),e<=0)return"";if(e>>>=0,r>>>=0,e<=r)return"";for(t||(t="utf8");;)switch(t){case"hex":return x(this,r,e);case"utf8":case"utf-8":return S(this,r,e);case"ascii":return Y(this,r,e);case"latin1":case"binary":return I(this,r,e);case"base64":return P(this,r,e);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return C(this,r,e);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}function v(t,r,e){var n=t[r];t[r]=t[e],t[e]=n}function b(t,r,e,n,o){if(0===t.length)return-1;if("string"==typeof e?(n=e,e=0):e>2147483647?e=2147483647:e<-2147483648&&(e=-2147483648),e=+e,isNaN(e)&&(e=o?0:t.length-1),e<0&&(e=t.length+e),e>=t.length){if(o)return-1;e=t.length-1}else if(e<0){if(!o)return-1;e=0}if("string"==typeof r&&(r=i.from(r,n)),i.isBuffer(r))return 0===r.length?-1:m(t,r,e,n,o);if("number"==typeof r)return r&=255,i.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(t,r,e):Uint8Array.prototype.lastIndexOf.call(t,r,e):m(t,[r],e,n,o);throw new TypeError("val must be string, number or Buffer")}function m(t,r,e,n,o){function i(t,r){return 1===u?t[r]:t.readUInt16BE(r*u)}var u=1,f=t.length,s=r.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||r.length<2)return-1;u=2,f/=2,s/=2,e/=2}var a;if(o){var h=-1;for(a=e;a<f;a++)if(i(t,a)===i(r,-1===h?0:a-h)){if(-1===h&&(h=a),a-h+1===s)return h*u}else-1!==h&&(a-=a-h),h=-1}else for(e+s>f&&(e=f-s),a=e;a>=0;a--){for(var c=!0,l=0;l<s;l++)if(i(t,a+l)!==i(r,l)){c=!1;break}if(c)return a}return-1}function A(t,r,e,n){e=Number(e)||0;var o=t.length-e;n?(n=Number(n))>o&&(n=o):n=o;var i=r.length;if(i%2!=0)throw new TypeError("Invalid hex string");n>i/2&&(n=i/2);for(var u=0;u<n;++u){var f=parseInt(r.substr(2*u,2),16);if(isNaN(f))return u;t[e+u]=f}return u}function E(t,r,e,n){return Z(H(r,t.length-e),t,e,n)}function R(t,r,e,n){return Z(V(r),t,e,n)}function _(t,r,e,n){return R(t,r,e,n)}function T(t,r,e,n){return Z(X(r),t,e,n)}function B(t,r,e,n){return Z(W(r,t.length-e),t,e,n)}function P(t,r,e){return 0===r&&e===t.length?G.fromByteArray(t):G.fromByteArray(t.slice(r,e))}function S(t,r,e){e=Math.min(t.length,e);for(var n=[],o=r;o<e;){var i=t[o],u=null,f=i>239?4:i>223?3:i>191?2:1;if(o+f<=e){var s,a,h,c;switch(f){case 1:i<128&&(u=i);break;case 2:s=t[o+1],128==(192&s)&&(c=(31&i)<<6|63&s)>127&&(u=c);break;case 3:s=t[o+1],a=t[o+2],128==(192&s)&&128==(192&a)&&(c=(15&i)<<12|(63&s)<<6|63&a)>2047&&(c<55296||c>57343)&&(u=c);break;case 4:s=t[o+1],a=t[o+2],h=t[o+3],128==(192&s)&&128==(192&a)&&128==(192&h)&&(c=(15&i)<<18|(63&s)<<12|(63&a)<<6|63&h)>65535&&c<1114112&&(u=c)}}null===u?(u=65533,f=1):u>65535&&(u-=65536,n.push(u>>>10&1023|55296),u=56320|1023&u),n.push(u),o+=f}return U(n)}function U(t){var r=t.length;if(r<=$)return String.fromCharCode.apply(String,t);for(var e="",n=0;n<r;)e+=String.fromCharCode.apply(String,t.slice(n,n+=$));return e}function Y(t,r,e){var n="";e=Math.min(t.length,e);for(var o=r;o<e;++o)n+=String.fromCharCode(127&t[o]);return n}function I(t,r,e){var n="";e=Math.min(t.length,e);for(var o=r;o<e;++o)n+=String.fromCharCode(t[o]);return n}function x(t,r,e){var n=t.length;(!r||r<0)&&(r=0),(!e||e<0||e>n)&&(e=n);for(var o="",i=r;i<e;++i)o+=q(t[i]);return o}function C(t,r,e){for(var n=t.slice(r,e),o="",i=0;i<n.length;i+=2)o+=String.fromCharCode(n[i]+256*n[i+1]);return o}function O(t,r,e){if(t%1!=0||t<0)throw new RangeError("offset is not uint");if(t+r>e)throw new RangeError("Trying to access beyond buffer length")}function M(t,r,e,n,o,u){if(!i.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>o||r<u)throw new RangeError('"value" argument is out of bounds');if(e+n>t.length)throw new RangeError("Index out of range")}function L(t,r,e,n){r<0&&(r=65535+r+1);for(var o=0,i=Math.min(t.length-e,2);o<i;++o)t[e+o]=(r&255<<8*(n?o:1-o))>>>8*(n?o:1-o)}function D(t,r,e,n){r<0&&(r=4294967295+r+1);for(var o=0,i=Math.min(t.length-e,4);o<i;++o)t[e+o]=r>>>8*(n?o:3-o)&255}function k(t,r,e,n,o,i){if(e+n>t.length)throw new RangeError("Index out of range");if(e<0)throw new RangeError("Index out of range")}function N(t,r,e,n,o){return o||k(t,r,e,4,3.4028234663852886e38,-3.4028234663852886e38),K.write(t,r,e,n,23,4),e+4}function j(t,r,e,n,o){return o||k(t,r,e,8,1.7976931348623157e308,-1.7976931348623157e308),K.write(t,r,e,n,52,8),e+8}function z(t){if(t=F(t).replace(tt,""),t.length<2)return"";for(;t.length%4!=0;)t+="=";return t}function F(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function q(t){return t<16?"0"+t.toString(16):t.toString(16)}function H(t,r){r=r||1/0;for(var e,n=t.length,o=null,i=[],u=0;u<n;++u){if((e=t.charCodeAt(u))>55295&&e<57344){if(!o){if(e>56319){(r-=3)>-1&&i.push(239,191,189);continue}if(u+1===n){(r-=3)>-1&&i.push(239,191,189);continue}o=e;continue}if(e<56320){(r-=3)>-1&&i.push(239,191,189),o=e;continue}e=65536+(o-55296<<10|e-56320)}else o&&(r-=3)>-1&&i.push(239,191,189);if(o=null,e<128){if((r-=1)<0)break;i.push(e)}else if(e<2048){if((r-=2)<0)break;i.push(e>>6|192,63&e|128)}else if(e<65536){if((r-=3)<0)break;i.push(e>>12|224,e>>6&63|128,63&e|128)}else{if(!(e<1114112))throw new Error("Invalid code point");if((r-=4)<0)break;i.push(e>>18|240,e>>12&63|128,e>>6&63|128,63&e|128)}}return i}function V(t){for(var r=[],e=0;e<t.length;++e)r.push(255&t.charCodeAt(e));return r}function W(t,r){for(var e,n,o,i=[],u=0;u<t.length&&!((r-=2)<0);++u)e=t.charCodeAt(u),n=e>>8,o=e%256,i.push(o),i.push(n);return i}function X(t){return G.toByteArray(z(t))}function Z(t,r,e,n){for(var o=0;o<n&&!(o+e>=r.length||o>=t.length);++o)r[o+e]=t[o];return o}function J(t){return t!==t}var G=e(5),K=e(8),Q=e(9);r.Buffer=i,r.SlowBuffer=g,r.INSPECT_MAX_BYTES=50,i.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.TYPED_ARRAY_SUPPORT:function(){try{var t=new Uint8Array(1);return t.__proto__={"__proto__":Uint8Array.prototype,"foo":function(){return 42}},42===t.foo()&&"function"==typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(r){return!1}}(),r.kMaxLength=n(),i.poolSize=8192,i._augment=function(t){return t.__proto__=i.prototype,t},i.from=function(t,r,e){return u(null,t,r,e)},i.TYPED_ARRAY_SUPPORT&&(i.prototype.__proto__=Uint8Array.prototype,i.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&i[Symbol.species]===i&&Object.defineProperty(i,Symbol.species,{"value":null,"configurable":!0})),i.alloc=function(t,r,e){return s(null,t,r,e)},i.allocUnsafe=function(t){return a(null,t)},i.allocUnsafeSlow=function(t){return a(null,t)},i.isBuffer=function(t){return!(null==t||!t._isBuffer)},i.compare=function(t,r){if(!i.isBuffer(t)||!i.isBuffer(r))throw new TypeError("Arguments must be Buffers");if(t===r)return 0;for(var e=t.length,n=r.length,o=0,u=Math.min(e,n);o<u;++o)if(t[o]!==r[o]){e=t[o],n=r[o];break}return e<n?-1:n<e?1:0},i.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},i.concat=function(t,r){if(!Q(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return i.alloc(0);var e;if(void 0===r)for(r=0,e=0;e<t.length;++e)r+=t[e].length;var n=i.allocUnsafe(r),o=0;for(e=0;e<t.length;++e){var u=t[e];if(!i.isBuffer(u))throw new TypeError('"list" argument must be an Array of Buffers');u.copy(n,o),o+=u.length}return n},i.byteLength=d,i.prototype._isBuffer=!0,i.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<t;r+=2)v(this,r,r+1);return this},i.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<t;r+=4)v(this,r,r+3),v(this,r+1,r+2);return this},i.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<t;r+=8)v(this,r,r+7),v(this,r+1,r+6),v(this,r+2,r+5),v(this,r+3,r+4);return this},i.prototype.toString=function(){var t=0|this.length;return 0===t?"":0===arguments.length?S(this,0,t):w.apply(this,arguments)},i.prototype.equals=function(t){if(!i.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===i.compare(this,t)},i.prototype.inspect=function(){var t="",e=r.INSPECT_MAX_BYTES;return this.length>0&&(t=this.toString("hex",0,e).match(/.{2}/g).join(" "),this.length>e&&(t+=" ... ")),"<Buffer "+t+">"},i.prototype.compare=function(t,r,e,n,o){if(!i.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===r&&(r=0),void 0===e&&(e=t?t.length:0),void 0===n&&(n=0),void 0===o&&(o=this.length),r<0||e>t.length||n<0||o>this.length)throw new RangeError("out of range index");if(n>=o&&r>=e)return 0;if(n>=o)return-1;if(r>=e)return 1;if(r>>>=0,e>>>=0,n>>>=0,o>>>=0,this===t)return 0;for(var u=o-n,f=e-r,s=Math.min(u,f),a=this.slice(n,o),h=t.slice(r,e),c=0;c<s;++c)if(a[c]!==h[c]){u=a[c],f=h[c];break}return u<f?-1:f<u?1:0},i.prototype.includes=function(t,r,e){return-1!==this.indexOf(t,r,e)},i.prototype.indexOf=function(t,r,e){return b(this,t,r,e,!0)},i.prototype.lastIndexOf=function(t,r,e){return b(this,t,r,e,!1)},i.prototype.write=function(t,r,e,n){if(void 0===r)n="utf8",e=this.length,r=0;else if(void 0===e&&"string"==typeof r)n=r,e=this.length,r=0;else{if(!isFinite(r))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");r|=0,isFinite(e)?(e|=0,void 0===n&&(n="utf8")):(n=e,e=void 0)}var o=this.length-r;if((void 0===e||e>o)&&(e=o),t.length>0&&(e<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var i=!1;;)switch(n){case"hex":return A(this,t,r,e);case"utf8":case"utf-8":return E(this,t,r,e);case"ascii":return R(this,t,r,e);case"latin1":case"binary":return _(this,t,r,e);case"base64":return T(this,t,r,e);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return B(this,t,r,e);default:if(i)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),i=!0}},i.prototype.toJSON=function(){return{"type":"Buffer","data":Array.prototype.slice.call(this._arr||this,0)}};var $=4096;i.prototype.slice=function(t,r){var e=this.length;t=~~t,r=void 0===r?e:~~r,t<0?(t+=e)<0&&(t=0):t>e&&(t=e),r<0?(r+=e)<0&&(r=0):r>e&&(r=e),r<t&&(r=t);var n;if(i.TYPED_ARRAY_SUPPORT)n=this.subarray(t,r),n.__proto__=i.prototype;else{var o=r-t;n=new i(o,void 0);for(var u=0;u<o;++u)n[u]=this[u+t]}return n},i.prototype.readUIntLE=function(t,r,e){t|=0,r|=0,e||O(t,r,this.length);for(var n=this[t],o=1,i=0;++i<r&&(o*=256);)n+=this[t+i]*o;return n},i.prototype.readUIntBE=function(t,r,e){t|=0,r|=0,e||O(t,r,this.length);for(var n=this[t+--r],o=1;r>0&&(o*=256);)n+=this[t+--r]*o;return n},i.prototype.readUInt8=function(t,r){return r||O(t,1,this.length),this[t]},i.prototype.readUInt16LE=function(t,r){return r||O(t,2,this.length),this[t]|this[t+1]<<8},i.prototype.readUInt16BE=function(t,r){return r||O(t,2,this.length),this[t]<<8|this[t+1]},i.prototype.readUInt32LE=function(t,r){return r||O(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},i.prototype.readUInt32BE=function(t,r){return r||O(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},i.prototype.readIntLE=function(t,r,e){t|=0,r|=0,e||O(t,r,this.length);for(var n=this[t],o=1,i=0;++i<r&&(o*=256);)n+=this[t+i]*o;return o*=128,n>=o&&(n-=Math.pow(2,8*r)),n},i.prototype.readIntBE=function(t,r,e){t|=0,r|=0,e||O(t,r,this.length);for(var n=r,o=1,i=this[t+--n];n>0&&(o*=256);)i+=this[t+--n]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*r)),i},i.prototype.readInt8=function(t,r){return r||O(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},i.prototype.readInt16LE=function(t,r){r||O(t,2,this.length);var e=this[t]|this[t+1]<<8;return 32768&e?4294901760|e:e},i.prototype.readInt16BE=function(t,r){r||O(t,2,this.length);var e=this[t+1]|this[t]<<8;return 32768&e?4294901760|e:e},i.prototype.readInt32LE=function(t,r){return r||O(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},i.prototype.readInt32BE=function(t,r){return r||O(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},i.prototype.readFloatLE=function(t,r){return r||O(t,4,this.length),K.read(this,t,!0,23,4)},i.prototype.readFloatBE=function(t,r){return r||O(t,4,this.length),K.read(this,t,!1,23,4)},i.prototype.readDoubleLE=function(t,r){return r||O(t,8,this.length),K.read(this,t,!0,52,8)},i.prototype.readDoubleBE=function(t,r){return r||O(t,8,this.length),K.read(this,t,!1,52,8)},i.prototype.writeUIntLE=function(t,r,e,n){if(t=+t,r|=0,e|=0,!n){M(this,t,r,e,Math.pow(2,8*e)-1,0)}var o=1,i=0;for(this[r]=255&t;++i<e&&(o*=256);)this[r+i]=t/o&255;return r+e},i.prototype.writeUIntBE=function(t,r,e,n){if(t=+t,r|=0,e|=0,!n){M(this,t,r,e,Math.pow(2,8*e)-1,0)}var o=e-1,i=1;for(this[r+o]=255&t;--o>=0&&(i*=256);)this[r+o]=t/i&255;return r+e},i.prototype.writeUInt8=function(t,r,e){return t=+t,r|=0,e||M(this,t,r,1,255,0),i.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[r]=255&t,r+1},i.prototype.writeUInt16LE=function(t,r,e){return t=+t,r|=0,e||M(this,t,r,2,65535,0),i.TYPED_ARRAY_SUPPORT?(this[r]=255&t,this[r+1]=t>>>8):L(this,t,r,!0),r+2},i.prototype.writeUInt16BE=function(t,r,e){return t=+t,r|=0,e||M(this,t,r,2,65535,0),i.TYPED_ARRAY_SUPPORT?(this[r]=t>>>8,this[r+1]=255&t):L(this,t,r,!1),r+2},i.prototype.writeUInt32LE=function(t,r,e){return t=+t,r|=0,e||M(this,t,r,4,4294967295,0),i.TYPED_ARRAY_SUPPORT?(this[r+3]=t>>>24,this[r+2]=t>>>16,this[r+1]=t>>>8,this[r]=255&t):D(this,t,r,!0),r+4},i.prototype.writeUInt32BE=function(t,r,e){return t=+t,r|=0,e||M(this,t,r,4,4294967295,0),i.TYPED_ARRAY_SUPPORT?(this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=255&t):D(this,t,r,!1),r+4},i.prototype.writeIntLE=function(t,r,e,n){if(t=+t,r|=0,!n){var o=Math.pow(2,8*e-1);M(this,t,r,e,o-1,-o)}var i=0,u=1,f=0;for(this[r]=255&t;++i<e&&(u*=256);)t<0&&0===f&&0!==this[r+i-1]&&(f=1),this[r+i]=(t/u>>0)-f&255;return r+e},i.prototype.writeIntBE=function(t,r,e,n){if(t=+t,r|=0,!n){var o=Math.pow(2,8*e-1);M(this,t,r,e,o-1,-o)}var i=e-1,u=1,f=0;for(this[r+i]=255&t;--i>=0&&(u*=256);)t<0&&0===f&&0!==this[r+i+1]&&(f=1),this[r+i]=(t/u>>0)-f&255;return r+e},i.prototype.writeInt8=function(t,r,e){return t=+t,r|=0,e||M(this,t,r,1,127,-128),i.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[r]=255&t,r+1},i.prototype.writeInt16LE=function(t,r,e){return t=+t,r|=0,e||M(this,t,r,2,32767,-32768),i.TYPED_ARRAY_SUPPORT?(this[r]=255&t,this[r+1]=t>>>8):L(this,t,r,!0),r+2},i.prototype.writeInt16BE=function(t,r,e){return t=+t,r|=0,e||M(this,t,r,2,32767,-32768),i.TYPED_ARRAY_SUPPORT?(this[r]=t>>>8,this[r+1]=255&t):L(this,t,r,!1),r+2},i.prototype.writeInt32LE=function(t,r,e){return t=+t,r|=0,e||M(this,t,r,4,2147483647,-2147483648),i.TYPED_ARRAY_SUPPORT?(this[r]=255&t,this[r+1]=t>>>8,this[r+2]=t>>>16,this[r+3]=t>>>24):D(this,t,r,!0),r+4},i.prototype.writeInt32BE=function(t,r,e){return t=+t,r|=0,e||M(this,t,r,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),i.TYPED_ARRAY_SUPPORT?(this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=255&t):D(this,t,r,!1),r+4},i.prototype.writeFloatLE=function(t,r,e){return N(this,t,r,!0,e)},i.prototype.writeFloatBE=function(t,r,e){return N(this,t,r,!1,e)},i.prototype.writeDoubleLE=function(t,r,e){return j(this,t,r,!0,e)},i.prototype.writeDoubleBE=function(t,r,e){return j(this,t,r,!1,e)},i.prototype.copy=function(t,r,e,n){if(e||(e=0),n||0===n||(n=this.length),r>=t.length&&(r=t.length),r||(r=0),n>0&&n<e&&(n=e),n===e)return 0;if(0===t.length||0===this.length)return 0;if(r<0)throw new RangeError("targetStart out of bounds");if(e<0||e>=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),t.length-r<n-e&&(n=t.length-r+e);var o,u=n-e;if(this===t&&e<r&&r<n)for(o=u-1;o>=0;--o)t[o+r]=this[o+e];else if(u<1e3||!i.TYPED_ARRAY_SUPPORT)for(o=0;o<u;++o)t[o+r]=this[o+e];else Uint8Array.prototype.set.call(t,this.subarray(e,e+u),r);return u},i.prototype.fill=function(t,r,e,n){if("string"==typeof t){if("string"==typeof r?(n=r,r=0,e=this.length):"string"==typeof e&&(n=e,e=this.length),1===t.length){var o=t.charCodeAt(0);o<256&&(t=o)}if(void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!i.isEncoding(n))throw new TypeError("Unknown encoding: "+n)}else"number"==typeof t&&(t&=255);if(r<0||this.length<r||this.length<e)throw new RangeError("Out of range index");if(e<=r)return this;r>>>=0,e=void 0===e?this.length:e>>>0,t||(t=0);var u;if("number"==typeof t)for(u=r;u<e;++u)this[u]=t;else{var f=i.isBuffer(t)?t:H(new i(t,n).toString()),s=f.length;for(u=0;u<e-r;++u)this[u+r]=f[u%s]}return this};var tt=/[^+\/0-9A-Za-z-_]/g}).call(r,e(11))},function(t,r,e){"use strict";!function(){var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",e={"rotl":function(t,r){return t<<r|t>>>32-r},"rotr":function(t,r){return t<<32-r|t>>>r},"endian":function(t){if(t.constructor==Number)return 16711935&e.rotl(t,8)|4278255360&e.rotl(t,24);for(var r=0;r<t.length;r++)t[r]=e.endian(t[r]);return t},"randomBytes":function(t){for(var r=[];t>0;t--)r.push(Math.floor(256*Math.random()));return r},"bytesToWords":function(t){for(var r=[],e=0,n=0;e<t.length;e++,n+=8)r[n>>>5]|=t[e]<<24-n%32;return r},"wordsToBytes":function(t){for(var r=[],e=0;e<32*t.length;e+=8)r.push(t[e>>>5]>>>24-e%32&255);return r},"bytesToHex":function(t){for(var r=[],e=0;e<t.length;e++)r.push((t[e]>>>4).toString(16)),r.push((15&t[e]).toString(16));return r.join("")},"hexToBytes":function(t){for(var r=[],e=0;e<t.length;e+=2)r.push(parseInt(t.substr(e,2),16));return r},"bytesToBase64":function(t){for(var e=[],n=0;n<t.length;n+=3)for(var o=t[n]<<16|t[n+1]<<8|t[n+2],i=0;i<4;i++)8*n+6*i<=8*t.length?e.push(r.charAt(o>>>6*(3-i)&63)):e.push("=");return e.join("")},"base64ToBytes":function(t){t=t.replace(/[^A-Z0-9+\/]/gi,"");for(var e=[],n=0,o=0;n<t.length;o=++n%4)0!=o&&e.push((r.indexOf(t.charAt(n-1))&Math.pow(2,-2*o+8)-1)<<2*o|r.indexOf(t.charAt(n))>>>6-2*o);return e}};t.exports=e}()},function(t,r,e){"use strict";r.read=function(t,r,e,n,o){var i,u,f=8*o-n-1,s=(1<<f)-1,a=s>>1,h=-7,c=e?o-1:0,l=e?-1:1,p=t[r+c];for(c+=l,i=p&(1<<-h)-1,p>>=-h,h+=f;h>0;i=256*i+t[r+c],c+=l,h-=8);for(u=i&(1<<-h)-1,i>>=-h,h+=n;h>0;u=256*u+t[r+c],c+=l,h-=8);if(0===i)i=1-a;else{if(i===s)return u?NaN:1/0*(p?-1:1);u+=Math.pow(2,n),i-=a}return(p?-1:1)*u*Math.pow(2,i-n)},r.write=function(t,r,e,n,o,i){var u,f,s,a=8*i-o-1,h=(1<<a)-1,c=h>>1,l=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,p=n?0:i-1,y=n?1:-1,g=r<0||0===r&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(f=isNaN(r)?1:0,u=h):(u=Math.floor(Math.log(r)/Math.LN2),r*(s=Math.pow(2,-u))<1&&(u--,s*=2),r+=u+c>=1?l/s:l*Math.pow(2,1-c),r*s>=2&&(u++,s/=2),u+c>=h?(f=0,u=h):u+c>=1?(f=(r*s-1)*Math.pow(2,o),u+=c):(f=r*Math.pow(2,c-1)*Math.pow(2,o),u=0));o>=8;t[e+p]=255&f,p+=y,f/=256,o-=8);for(u=u<<o|f,a+=o;a>0;t[e+p]=255&u,p+=y,u/=256,a-=8);t[e+p-y]|=128*g}},function(t,r,e){"use strict";var n={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==n.call(t)}},function(t,r,e){"use strict";(function(r){!function(){var n=e(7),o=e(0).utf8,i=e(0).bin,u=function(t){t.constructor==String?t=o.stringToBytes(t):void 0!==r&&"function"==typeof r.isBuffer&&r.isBuffer(t)?t=Array.prototype.slice.call(t,0):Array.isArray(t)||(t=t.toString());var e=n.bytesToWords(t),i=8*t.length,u=[],f=1732584193,s=-271733879,a=-1732584194,h=271733878,c=-1009589776;e[i>>5]|=128<<24-i%32,e[15+(i+64>>>9<<4)]=i;for(var l=0;l<e.length;l+=16){for(var p=f,y=s,g=a,d=h,w=c,v=0;v<80;v++){if(v<16)u[v]=e[l+v];else{var b=u[v-3]^u[v-8]^u[v-14]^u[v-16];u[v]=b<<1|b>>>31}var m=(f<<5|f>>>27)+c+(u[v]>>>0)+(v<20?1518500249+(s&a|~s&h):v<40?1859775393+(s^a^h):v<60?(s&a|s&h|a&h)-1894007588:(s^a^h)-899497514);c=h,h=a,a=s<<30|s>>>2,s=f,f=m}f+=p,s+=y,a+=g,h+=d,c+=w}return[f,s,a,h,c]},f=function(t,r){var e=n.wordsToBytes(u(t));return r&&r.asBytes?e:r&&r.asString?i.bytesToString(e):n.bytesToHex(e)};f._blocksize=16,f._digestsize=20,t.exports=f}()}).call(r,e(6).Buffer)},function(t,r,e){"use strict";var n,o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(i){"object"===("undefined"==typeof window?"undefined":o(window))&&(n=window)}t.exports=n},function(t,r,e){"use strict";(function(t){var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};e(3),e(1),function(e,n){"object"===r(t)&&"object"===r(t.exports)?t.exports=e.document?n(e,!0):function(t){if(!t.document)throw new Error("febs requires a window with a document");return n(t)}:n(e)}("undefined"!=typeof window?window:void 0,function(t,r){var n={};if(n.crypt=e(2),t.febs)if(t.febs.crypt)for(var o in n.crypt)t.febs.crypt[o]=n.crypt[o];else t.febs.crypt=n.crypt;else t.febs=n;return n})}).call(r,e(4)(t))}]); |
@@ -0,0 +0,0 @@ febs 库是一些常用的工具的合集; |
@@ -80,3 +80,3 @@ { | ||
"name": "febs-browser", | ||
"version": "0.8.89" | ||
"version": "0.8.90" | ||
} |
@@ -641,3 +641,3 @@ | ||
*/ | ||
function denodeify(fn: any, self?: any, argumentCount?: number): ()=>Promise<any>; | ||
function denodeify(fn: any, self?: any, argumentCount?: number): (...args:any[])=>Promise<any>; | ||
@@ -644,0 +644,0 @@ /** |
@@ -68,3 +68,3 @@ { | ||
"name": "febs", | ||
"version": "0.8.89" | ||
"version": "0.8.90" | ||
} |
@@ -176,3 +176,3 @@ 'use strict'; | ||
if (typeof optionOrCbFinish === 'function') { | ||
cbFinish = paramsOrOption; | ||
cbFinish = optionOrCbFinish; | ||
} | ||
@@ -183,2 +183,4 @@ else if (typeof optionOrCbFinish === 'object') { | ||
var usePromise = !cbFinish; | ||
if (!option) option = {}; | ||
@@ -195,25 +197,60 @@ | ||
if (!inputps) { | ||
exec(cmps, option, function(err){ | ||
if (cbFinish) cbFinish(err); | ||
if (err) { | ||
console.log(err); | ||
} else { | ||
} | ||
if (cbFinish) cbFinish(err); | ||
}); | ||
var foo = function(inputps, cbFinish, resolve, reject) { | ||
if (!inputps) { | ||
exec(cmps, option, function(err, stdout, stderr){ | ||
if (err) { | ||
console.log(err); | ||
} else { | ||
} | ||
stdout = stdout?stdout.toString('utf8'):null; | ||
stderr = stderr?stderr.toString('utf8'):null; | ||
if (err) { | ||
if (reject) reject(err); | ||
else cbFinish(err, stdout, stderr); | ||
} | ||
else { | ||
if (resolve) resolve({stdout:stdout, stderr:stderr}); | ||
else cbFinish(err, stdout, stderr); | ||
} | ||
}); | ||
} | ||
else { | ||
inputps = inputps.concat(params||[]); | ||
let out = ''; | ||
let err = ''; | ||
option = utils.mergeMap( {stdio: 'inherit'}, option); | ||
var proc = spawn(cmps, inputps, option); | ||
proc.stdout.on('data', function(data) { | ||
out += data; | ||
}); | ||
proc.stderr.on('data', function(data) { | ||
err += data; | ||
}); | ||
proc.on('close', function (code) { | ||
if (code !== 0) { | ||
console.log(code); | ||
} else { | ||
} | ||
if (code !== 0) { | ||
if (reject) reject(code); | ||
else cbFinish(code, out, err); | ||
} | ||
else { | ||
if (resolve) resolve({stdout:out, stderr:err}); | ||
else cbFinish(code, out, err); | ||
} | ||
}); | ||
} | ||
} | ||
if (!usePromise) { | ||
foo(inputps, cbFinish); | ||
} | ||
else { | ||
inputps = inputps.concat(params||[]); | ||
option = utils.mergeMap( {stdio: 'inherit'}, option); | ||
var proc = spawn(cmps, inputps, option); | ||
proc.on('close', function (code) { | ||
if (code !== 0) { | ||
console.log(code); | ||
} else { | ||
} | ||
if (cbFinish) cbFinish(code); | ||
return PromiseLib(function(resolve, reject){ | ||
foo(inputps, cbFinish, resolve, reject); | ||
}); | ||
} | ||
} |
@@ -653,3 +653,3 @@ // Type definitions for febs | ||
*/ | ||
function denodeify(fn: any, self?: any, argumentCount?: number): ()=>Promise<any>; | ||
function denodeify(fn: any, self?: any, argumentCount?: number): (...args:any[])=>Promise<any>; | ||
@@ -717,3 +717,3 @@ /** | ||
*/ | ||
function execCommand(cmd:string, params:string[], cbFinish:(err:any)=>void):void; | ||
function execCommand(cmd:string, params:string[], cbFinish:(err:any, stdout:string, stderr:string)=>void):void; | ||
/** | ||
@@ -725,3 +725,10 @@ * @desc: 执行cmd. | ||
*/ | ||
function execCommand(cmd:string, params:string[], options:{cwd?:string}, cbFinish:(err:any)=>void):void; | ||
function execCommand(cmd:string, params:string[], options:{cwd?:string}, cbFinish:(err:any, stdout:string, stderr:string)=>void):void; | ||
/** | ||
* @desc: 执行cmd. | ||
* @param cmd: 指令. | ||
* @param params: 输入参数数组. | ||
* @param cbFinish: 完成的回调. | ||
*/ | ||
function execCommand(cmd:string, params:string[], options:{cwd?:string}):Promise<{stdout:string, stderr:string}>; | ||
} | ||
@@ -728,0 +735,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3103799
34224