febs-browser
Advanced tools
Comparing version 0.8.6 to 0.8.7
@@ -1,1 +0,1 @@ | ||
!function(t){function n(r){if(e[r])return e[r].exports;var o=e[r]={"i":r,"l":!1,"exports":{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}var e={};n.m=t,n.c=e,n.i=function(t){return t},n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{"configurable":!1,"enumerable":!0,"get":r})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},n.p="",n(n.s=75)}([function(t,n){var e=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=e)},function(t,n){var e={}.hasOwnProperty;t.exports=function(t,n){return e.call(t,n)}},function(t,n,e){t.exports=!e(10)(function(){return 7!=Object.defineProperty({},"a",{"get":function(){return 7}}).a})},function(t,n,e){var r=e(5),o=e(11);t.exports=e(2)?function(t,n,e){return r.f(t,n,o(1,e))}:function(t,n,e){return t[n]=e,t}},function(t,n){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,n,e){var r=e(8),o=e(29),i=e(24),u=Object.defineProperty;n.f=e(2)?Object.defineProperty:function(t,n,e){if(r(t),n=i(n,!0),r(e),o)try{return u(t,n,e)}catch(c){}if("get"in e||"set"in e)throw TypeError("Accessors not supported!");return"value"in e&&(t[n]=e.value),t}},function(t,n,e){var r=e(53),o=e(13);t.exports=function(t){return r(o(t))}},function(t,n,e){var r=e(22)("wks"),o=e(12),i=e(0).Symbol,u="function"==typeof i;(t.exports=function(t){return r[t]||(r[t]=u&&i[t]||(u?i:o)("Symbol."+t))}).store=r},function(t,n,e){var r=e(4);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,n){var e=t.exports={"version":"2.5.5"};"number"==typeof __e&&(__e=e)},function(t,n){t.exports=function(t){try{return!!t()}catch(n){return!0}}},function(t,n){t.exports=function(t,n){return{"enumerable":!(1&t),"configurable":!(2&t),"writable":!(4&t),"value":n}}},function(t,n){var e=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++e+r).toString(36))}},function(t,n){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,n){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,n,e){var r=e(0),o=e(9),i=e(50),u=e(3),c=e(1),f=function(t,n,e){var s,a,l,p=t&f.F,h=t&f.G,g=t&f.S,d=t&f.P,v=t&f.B,y=t&f.W,m=h?o:o[n]||(o[n]={}),b=m.prototype,w=h?r:g?r[n]:(r[n]||{}).prototype;h&&(e=n);for(s in e)(a=!p&&w&&void 0!==w[s])&&c(m,s)||(l=a?w[s]:e[s],m[s]=h&&"function"!=typeof w[s]?e[s]:v&&a?i(l,r):y&&w[s]==l?function(t){var n=function(n,e,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(n);case 2:return new t(n,e)}return new t(n,e,r)}return t.apply(this,arguments)};return n.prototype=t.prototype,n}(l):d&&"function"==typeof l?i(Function.call,l):l,d&&((m.virtual||(m.virtual={}))[s]=l,t&f.R&&b&&!b[s]&&u(b,s,l)))};f.F=1,f.G=2,f.S=4,f.P=8,f.B=16,f.W=32,f.U=64,f.R=128,t.exports=f},function(t,n){t.exports={}},function(t,n){t.exports=!0},function(t,n,e){var r=e(34),o=e(14);t.exports=Object.keys||function(t){return r(t,o)}},function(t,n){n.f={}.propertyIsEnumerable},function(t,n,e){var r=e(5).f,o=e(1),i=e(7)("toStringTag");t.exports=function(t,n,e){t&&!o(t=e?t:t.prototype,i)&&r(t,i,{"configurable":!0,"value":n})}},function(t,n,e){var r=e(22)("keys"),o=e(12);t.exports=function(t){return r[t]||(r[t]=o(t))}},function(t,n,e){var r=e(0),o=r["__core-js_shared__"]||(r["__core-js_shared__"]={});t.exports=function(t){return o[t]||(o[t]={})}},function(t,n){var e=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:e)(t)}},function(t,n,e){var r=e(4);t.exports=function(t,n){if(!r(t))return t;var e,o;if(n&&"function"==typeof(e=t.toString)&&!r(o=e.call(t)))return o;if("function"==typeof(e=t.valueOf)&&!r(o=e.call(t)))return o;if(!n&&"function"==typeof(e=t.toString)&&!r(o=e.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,n,e){var r=e(0),o=e(9),i=e(17),u=e(26),c=e(5).f;t.exports=function(t){var n=o.Symbol||(o.Symbol=i?{}:r.Symbol||{});"_"==t.charAt(0)||t in n||c(n,t,{"value":u.f(t)})}},function(t,n,e){n.f=e(7)},function(t,n){var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},function(t,n,e){var r=e(4),o=e(0).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},function(t,n,e){t.exports=!e(2)&&!e(10)(function(){return 7!=Object.defineProperty(e(28)("div"),"a",{"get":function(){return 7}}).a})},function(t,n,e){"use strict";var r=e(17),o=e(15),i=e(35),u=e(3),c=e(16),f=e(56),s=e(20),a=e(62),l=e(7)("iterator"),p=!([].keys&&"next"in[].keys()),h=function(){return this};t.exports=function(t,n,e,g,d,v,y){f(e,n,g);var m,b,w,O=function(t){if(!p&&t in N)return N[t];switch(t){case"keys":case"values":return function(){return new e(this,t)}}return function(){return new e(this,t)}},x=n+" Iterator",S="values"==d,_=!1,N=t.prototype,E=N[l]||N["@@iterator"]||d&&N[d],P=E||O(d),T=d?S?O("entries"):P:void 0,j="Array"==n?N.entries||E:E;if(j&&(w=a(j.call(new t)))!==Object.prototype&&w.next&&(s(w,x,!0),r||"function"==typeof w[l]||u(w,l,h)),S&&E&&"values"!==E.name&&(_=!0,P=function(){return E.call(this)}),r&&!y||!p&&!_&&N[l]||u(N,l,P),c[n]=P,c[x]=h,d)if(m={"values":S?P:O("values"),"keys":v?P:O("keys"),"entries":T},y)for(b in m)b in N||i(N,b,m[b]);else o(o.P+o.F*(p||_),n,m);return m}},function(t,n,e){var r=e(8),o=e(59),i=e(14),u=e(21)("IE_PROTO"),c=function(){},f=function(){var t,n=e(28)("iframe"),r=i.length;for(n.style.display="none",e(52).appendChild(n),n.src="javascript:",t=n.contentWindow.document,t.open(),t.write("<script>document.F=Object<\/script>"),t.close(),f=t.F;r--;)delete f.prototype[i[r]];return f()};t.exports=Object.create||function(t,n){var e;return null!==t?(c.prototype=r(t),e=new c,c.prototype=null,e[u]=t):e=f(),void 0===n?e:o(e,n)}},function(t,n,e){var r=e(34),o=e(14).concat("length","prototype");n.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},function(t,n){n.f=Object.getOwnPropertySymbols},function(t,n,e){var r=e(1),o=e(6),i=e(49)(!1),u=e(21)("IE_PROTO");t.exports=function(t,n){var e,c=o(t),f=0,s=[];for(e in c)e!=u&&r(c,e)&&s.push(e);for(;n.length>f;)r(c,e=n[f++])&&(~i(s,e)||s.push(e));return s}},function(t,n,e){t.exports=e(3)},function(t,n,e){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}n.__esModule=!0;var o=e(42),i=r(o),u=e(41),c=r(u),f="function"==typeof c.default&&"symbol"==typeof i.default?function(t){return typeof t}:function(t){return t&&"function"==typeof c.default&&t.constructor===c.default&&t!==c['default'].prototype?"symbol":typeof t};n['default']="function"==typeof c.default&&"symbol"===f(i['default'])?function(t){return void 0===t?"undefined":f(t)}:function(t){return t&&"function"==typeof c.default&&t.constructor===c.default&&t!==c['default'].prototype?"symbol":void 0===t?"undefined":f(t)}},function(t,n){!function(t){"use strict";t.console||(t.console={});for(var n,e,r=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();)r[n]||(r[n]={});for(;e=u.pop();)r[e]||(r[e]=o)}("undefined"==typeof window?this:window)},function(t,n,e){"use strict";var r=e(40).default,o=e(43);n.bigint_check=function(t){if(r(t))return!0;if(!t)return!1;if("string"==typeof t){if(t.length>22||t.length<1)return!1;for(var n=1;n<t.length;n++)if(t[n]<"0"||t[n]>"9")return!1;if("-"==t[0]){if(t.length<2||t[1]<"1"||t[1]>"9")return!1}else if(t[n]<"1"||t[n]>"9")return!1;return!0}return!1},n.bigint_add=function(t,n){return t instanceof o||(t=new o(t)),t.plus(n)},n.bigint_minus=function(t,n){return t instanceof o||(t=new o(t)),t.minus(n)},n.bigint_dividedBy=function(t,n){return t instanceof o||(t=new o(t)),t.dividedBy(n)},n.bigint_mul=function(t,n){return t instanceof o||(t=new o(t)),t.times(n)},n.bigint_equal=function(t,n){return t instanceof o||(t=new o(t)),t.equals(n)},n.bigint_more_than=function(t,n){return t instanceof o||(t=new o(t)),t.greaterThan(n)},n.bigint_more_than_e=function(t,n){return t instanceof o||(t=new o(t)),t.greaterThanOrEqualTo(n)},n.bigint_less_than=function(t,n){return t instanceof o||(t=new o(t)),t.lessThan(n)},n.bigint_less_than_e=function(t,n){return t instanceof o||(t=new o(t)),t.lessThanOrEqualTo(n)},n.bigint_toFixed=function(t,n){return n=n||0,t instanceof o||(t=new o(t)),t.toFixed(n)}},function(t,n){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,e){t.exports={"default":e(44),"__esModule":!0}},function(t,n,e){t.exports={"default":e(45),"__esModule":!0}},function(t,n,e){t.exports={"default":e(46),"__esModule":!0}},function(t,n,e){var r;!function(o){"use strict";function i(t){function n(t,r){var o,i,u,c,f,s,a=this;if(!(a instanceof n))return V&&L(26,"constructor call without new",t),new n(t,r);if(null!=r&&$(r,2,64,R,"base")){if(r|=0,s=t+"",10==r)return a=new n(t instanceof n?t:s),M(a,C+a.e+1,D);if((c="number"==typeof t)&&0*t!=0||!new RegExp("^-?"+(o="["+x.slice(0,r)+"]+")+"(?:\\."+o+")?$",r<37?"i":"").test(s))return F(a,s,c,r);c?(a.s=1/t<0?(s=s.slice(1),-1):1,V&&s.replace(/^0\.0*|\./,"").length>15&&L(R,O,t),c=!1):a.s=45===s.charCodeAt(0)?(s=s.slice(1),-1):1,s=e(s,10,r,a.s)}else{if(t instanceof n)return a.s=t.s,a.e=t.e,a.c=(t=t.c)?t.slice():t,void(R=0);if((c="number"==typeof t)&&0*t==0){if(a.s=1/t<0?(t=-t,-1):1,t===~~t){for(i=0,u=t;u>=10;u/=10,i++);return a.e=i,a.c=[t],void(R=0)}s=t+""}else{if(!v.test(s=t+""))return F(a,s,c);a.s=45===s.charCodeAt(0)?(s=s.slice(1),-1):1}}for((i=s.indexOf("."))>-1&&(s=s.replace(".","")),(u=s.search(/e/i))>0?(i<0&&(i=u),i+=+s.slice(u+1),s=s.substring(0,u)):i<0&&(i=s.length),u=0;48===s.charCodeAt(u);u++);for(f=s.length;48===s.charCodeAt(--f););if(s=s.slice(u,f+1))if(f=s.length,c&&V&&f>15&&(t>N||t!==m(t))&&L(R,O,a.s*t),(i=i-u-1)>U)a.c=a.e=null;else if(i<G)a.c=[a.e=0];else{if(a.e=i,a.c=[],u=(i+1)%_,i<0&&(u+=_),u<f){for(u&&a.c.push(+s.slice(0,u)),f-=_;u<f;)a.c.push(+s.slice(u,u+=_));s=s.slice(u),u=_-s.length}else u-=f;for(;u--;s+="0");a.c.push(+s)}else a.c=[a.e=0];R=0}function e(t,e,r,o){var i,u,f,s,a,p,g,d=t.indexOf("."),v=C,y=D;for(r<37&&(t=t.toLowerCase()),d>=0&&(f=W,W=0,t=t.replace(".",""),g=new n(r),a=g.pow(t.length-d),W=f,g.c=l(h(c(a.c),a.e),10,e),g.e=g.c.length),p=l(t,r,e),u=f=p.length;0==p[--f];p.pop());if(!p[0])return"0";if(d<0?--u:(a.c=p,a.e=u,a.s=o,a=A(a,g,v,y,e),p=a.c,s=a.r,u=a.e),i=u+v+1,d=p[i],f=e/2,s=s||i<0||null!=p[i+1],s=y<4?(null!=d||s)&&(0==y||y==(a.s<0?3:2)):d>f||d==f&&(4==y||s||6==y&&1&p[i-1]||y==(a.s<0?8:7)),i<1||!p[0])t=s?h("1",-v):"0";else{if(p.length=i,s)for(--e;++p[--i]>e;)p[i]=0,i||(++u,p=[1].concat(p));for(f=p.length;!p[--f];);for(d=0,t="";d<=f;t+=x.charAt(p[d++]));t=h(t,u)}return t}function r(t,e,r,o){var i,u,f,s,a;if(r=null!=r&&$(r,0,8,o,w)?0|r:D,!t.c)return t.toString();if(i=t.c[0],f=t.e,null==e)a=c(t.c),a=19==o||24==o&&f<=q?p(a,f):h(a,f);else if(t=M(new n(t),e,r),u=t.e,a=c(t.c),s=a.length,19==o||24==o&&(e<=u||u<=q)){for(;s<e;a+="0",s++);a=p(a,u)}else if(e-=f,a=h(a,u),u+1>s){if(--e>0)for(a+=".";e--;a+="0");}else if((e+=u-s)>0)for(u+1==s&&(a+=".");e--;a+="0");return t.s<0&&i?"-"+a:a}function o(t,e){var r,o,i=0;for(a(t[0])&&(t=t[0]),r=new n(t[0]);++i<t.length;){if(o=new n(t[i]),!o.s){r=o;break}e.call(r,o)&&(r=o)}return r}function d(t,n,e,r,o){return(t<n||t>e||t!=g(t))&&L(r,(o||"decimal places")+(t<n||t>e?" out of range":" not an integer"),t),!0}function j(t,n,e){for(var r=1,o=n.length;!n[--o];n.pop());for(o=n[0];o>=10;o/=10,r++);return(e=r+e*_-1)>U?t.c=t.e=null:e<G?t.c=[t.e=0]:(t.e=e,t.c=n),t}function L(t,n,e){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"][t]+"() "+n+": "+e);throw r.name="BigNumber Error",R=0,r}function M(t,n,e,r){var o,i,u,c,f,s,a,l=t.c,p=E;if(l){t:{for(o=1,c=l[0];c>=10;c/=10,o++);if((i=n-o)<0)i+=_,u=n,f=l[s=0],a=f/p[o-u-1]%10|0;else if((s=y((i+1)/_))>=l.length){if(!r)break t;for(;l.length<=s;l.push(0));f=a=0,o=1,i%=_,u=i-_+1}else{for(f=c=l[s],o=1;c>=10;c/=10,o++);i%=_,u=i-_+o,a=u<0?0:f/p[o-u-1]%10|0}if(r=r||n<0||null!=l[s+1]||(u<0?f:f%p[o-u-1]),r=e<4?(a||r)&&(0==e||e==(t.s<0?3:2)):a>5||5==a&&(4==e||r||6==e&&(i>0?u>0?f/p[o-u]:0:l[s-1])%10&1||e==(t.s<0?8:7)),n<1||!l[0])return l.length=0,r?(n-=t.e+1,l[0]=p[(_-n%_)%_],t.e=-n||0):l[0]=t.e=0,t;if(0==i?(l.length=s,c=1,s--):(l.length=s+1,c=p[_-i],l[s]=u>0?m(f/p[o-u]%p[u])*c:0),r)for(;;){if(0==s){for(i=1,u=l[0];u>=10;u/=10,i++);for(u=l[0]+=c,c=1;u>=10;u/=10,c++);i!=c&&(t.e++,l[0]==S&&(l[0]=1));break}if(l[s]+=c,l[s]!=S)break;l[s--]=0,c=1}for(i=l.length;0===l[--i];l.pop());}t.e>U?t.c=t.e=null:t.e<G&&(t.c=[t.e=0])}return t}var A,F,R=0,k=n.prototype,I=new n(1),C=20,D=4,q=-7,B=21,G=-1e7,U=1e7,V=!0,$=d,z=!1,H=1,W=0,J={"decimalSeparator":".","groupSeparator":",","groupSize":3,"secondaryGroupSize":0,"fractionGroupSeparator":" ","fractionGroupSize":0};return n.another=i,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 t,n,e=0,r={},o=arguments,i=o[0],u=i&&"object"==typeof i?function(){if(i.hasOwnProperty(n))return null!=(t=i[n])}:function(){if(o.length>e)return null!=(t=o[e++])};return u(n="DECIMAL_PLACES")&&$(t,0,T,2,n)&&(C=0|t),r[n]=C,u(n="ROUNDING_MODE")&&$(t,0,8,2,n)&&(D=0|t),r[n]=D,u(n="EXPONENTIAL_AT")&&(a(t)?$(t[0],-T,0,2,n)&&$(t[1],0,T,2,n)&&(q=0|t[0],B=0|t[1]):$(t,-T,T,2,n)&&(q=-(B=0|(t<0?-t:t)))),r[n]=[q,B],u(n="RANGE")&&(a(t)?$(t[0],-T,-1,2,n)&&$(t[1],1,T,2,n)&&(G=0|t[0],U=0|t[1]):$(t,-T,T,2,n)&&(0|t?G=-(U=0|(t<0?-t:t)):V&&L(2,n+" cannot be zero",t))),r[n]=[G,U],u(n="ERRORS")&&(t===!!t||1===t||0===t?(R=0,$=(V=!!t)?d:s):V&&L(2,n+b,t)),r[n]=V,u(n="CRYPTO")&&(!0===t||!1===t||1===t||0===t?t?(t="undefined"==typeof crypto,!t&&crypto&&(crypto.getRandomValues||crypto.randomBytes)?z=!0:V?L(2,"crypto unavailable",t?void 0:crypto):z=!1):z=!1:V&&L(2,n+b,t)),r[n]=z,u(n="MODULO_MODE")&&$(t,0,9,2,n)&&(H=0|t),r[n]=H,u(n="POW_PRECISION")&&$(t,0,T,2,n)&&(W=0|t),r[n]=W,u(n="FORMAT")&&("object"==typeof t?J=t:V&&L(2,n+" not an object",t)),r[n]=J,r},n.max=function(){return o(arguments,k.lt)},n.min=function(){return o(arguments,k.gt)},n.random=function(){var t=9007199254740992*Math.random()&2097151?function(){return m(9007199254740992*Math.random())}:function(){return 8388608*(1073741824*Math.random()|0)+(8388608*Math.random()|0)};return function(e){var r,o,i,u,c,f=0,s=[],a=new n(I);if(e=null!=e&&$(e,0,T,14)?0|e:C,u=y(e/_),z)if(crypto.getRandomValues){for(r=crypto.getRandomValues(new Uint32Array(u*=2));f<u;)c=131072*r[f]+(r[f+1]>>>11),c>=9e15?(o=crypto.getRandomValues(new Uint32Array(2)),r[f]=o[0],r[f+1]=o[1]):(s.push(c%1e14),f+=2);f=u/2}else if(crypto.randomBytes){for(r=crypto.randomBytes(u*=7);f<u;)c=281474976710656*(31&r[f])+1099511627776*r[f+1]+4294967296*r[f+2]+16777216*r[f+3]+(r[f+4]<<16)+(r[f+5]<<8)+r[f+6],c>=9e15?crypto.randomBytes(7).copy(r,f):(s.push(c%1e14),f+=7);f=u/7}else z=!1,V&&L(14,"crypto unavailable",crypto);if(!z)for(;f<u;)(c=t())<9e15&&(s[f++]=c%1e14);for(u=s[--f],e%=_,u&&e&&(c=E[_-e],s[f]=m(u/c)*c);0===s[f];s.pop(),f--);if(f<0)s=[i=0];else{for(i=-1;0===s[0];s.splice(0,1),i-=_);for(f=1,c=s[0];c>=10;c/=10,f++);f<_&&(i-=_-f)}return a.e=i,a.c=s,a}}(),A=function(){function t(t,n,e){var r,o,i,u,c=0,f=t.length,s=n%P,a=n/P|0;for(t=t.slice();f--;)i=t[f]%P,u=t[f]/P|0,r=a*i+u*s,o=s*i+r%P*P+c,c=(o/e|0)+(r/P|0)+a*u,t[f]=o%e;return c&&(t=[c].concat(t)),t}function e(t,n,e,r){var o,i;if(e!=r)i=e>r?1:-1;else for(o=i=0;o<e;o++)if(t[o]!=n[o]){i=t[o]>n[o]?1:-1;break}return i}function r(t,n,e,r){for(var o=0;e--;)t[e]-=o,o=t[e]<n[e]?1:0,t[e]=o*r+t[e]-n[e];for(;!t[0]&&t.length>1;t.splice(0,1));}return function(o,i,c,f,s){var a,l,p,h,g,d,v,y,b,w,O,x,N,E,P,T,j,L=o.s==i.s?1:-1,A=o.c,F=i.c;if(!(A&&A[0]&&F&&F[0]))return new n(o.s&&i.s&&(A?!F||A[0]!=F[0]:F)?A&&0==A[0]||!F?0*L:L/0:NaN);for(y=new n(L),b=y.c=[],l=o.e-i.e,L=c+l+1,s||(s=S,l=u(o.e/_)-u(i.e/_),L=L/_|0),p=0;F[p]==(A[p]||0);p++);if(F[p]>(A[p]||0)&&l--,L<0)b.push(1),h=!0;else{for(E=A.length,T=F.length,p=0,L+=2,g=m(s/(F[0]+1)),g>1&&(F=t(F,g,s),A=t(A,g,s),T=F.length,E=A.length),N=T,w=A.slice(0,T),O=w.length;O<T;w[O++]=0);j=F.slice(),j=[0].concat(j),P=F[0],F[1]>=s/2&&P++;do{if(g=0,(a=e(F,w,T,O))<0){if(x=w[0],T!=O&&(x=x*s+(w[1]||0)),(g=m(x/P))>1)for(g>=s&&(g=s-1),d=t(F,g,s),v=d.length,O=w.length;1==e(d,w,v,O);)g--,r(d,T<v?j:F,v,s),v=d.length,a=1;else 0==g&&(a=g=1),d=F.slice(),v=d.length;if(v<O&&(d=[0].concat(d)),r(w,d,O,s),O=w.length,-1==a)for(;e(F,w,T,O)<1;)g++,r(w,T<O?j:F,O,s),O=w.length}else 0===a&&(g++,w=[0]);b[p++]=g,w[0]?w[O++]=A[N]||0:(w=[A[N]],O=1)}while((N++<E||null!=w[0])&&L--);h=null!=w[0],b[0]||b.splice(0,1)}if(s==S){for(p=1,L=b[0];L>=10;L/=10,p++);M(y,c+(y.e=p+l*_-1)+1,f,h)}else y.e=l,y.r=+h;return y}}(),F=function(){var t=/^(-?)0([xbo])(?=\w[\w.]*$)/i,e=/^([^.]+)\.$/,r=/^\.([^.]+)$/,o=/^-?(Infinity|NaN)$/,i=/^\s*\+(?=[\w.])|^\s+|\s+$/g;return function(u,c,f,s){var a,l=f?c:c.replace(i,"");if(o.test(l))u.s=isNaN(l)?null:l<0?-1:1;else{if(!f&&(l=l.replace(t,function(t,n,e){return a="x"==(e=e.toLowerCase())?16:"b"==e?2:8,s&&s!=a?t:n}),s&&(a=s,l=l.replace(e,"$1").replace(r,"0.$1")),c!=l))return new n(l,a);V&&L(R,"not a"+(s?" base "+s:"")+" number",c),u.s=null}u.c=u.e=null,R=0}}(),k.absoluteValue=k.abs=function(){var t=new n(this);return t.s<0&&(t.s=1),t},k.ceil=function(){return M(new n(this),this.e+1,2)},k.comparedTo=k.cmp=function(t,e){return R=1,f(this,new n(t,e))},k.decimalPlaces=k.dp=function(){var t,n,e=this.c;if(!e)return null;if(t=((n=e.length-1)-u(this.e/_))*_,n=e[n])for(;n%10==0;n/=10,t--);return t<0&&(t=0),t},k.dividedBy=k.div=function(t,e){return R=3,A(this,new n(t,e),C,D)},k.dividedToIntegerBy=k.divToInt=function(t,e){return R=4,A(this,new n(t,e),0,1)},k.equals=k.eq=function(t,e){return R=5,0===f(this,new n(t,e))},k.floor=function(){return M(new n(this),this.e+1,3)},k.greaterThan=k.gt=function(t,e){return R=6,f(this,new n(t,e))>0},k.greaterThanOrEqualTo=k.gte=function(t,e){return R=7,1===(e=f(this,new n(t,e)))||0===e},k.isFinite=function(){return!!this.c},k.isInteger=k.isInt=function(){return!!this.c&&u(this.e/_)>this.c.length-2},k.isNaN=function(){return!this.s},k.isNegative=k.isNeg=function(){return this.s<0},k.isZero=function(){return!!this.c&&0==this.c[0]},k.lessThan=k.lt=function(t,e){return R=8,f(this,new n(t,e))<0},k.lessThanOrEqualTo=k.lte=function(t,e){return R=9,-1===(e=f(this,new n(t,e)))||0===e},k.minus=k.sub=function(t,e){var r,o,i,c,f=this,s=f.s;if(R=10,t=new n(t,e),e=t.s,!s||!e)return new n(NaN);if(s!=e)return t.s=-e,f.plus(t);var a=f.e/_,l=t.e/_,p=f.c,h=t.c;if(!a||!l){if(!p||!h)return p?(t.s=-e,t):new n(h?f:NaN);if(!p[0]||!h[0])return h[0]?(t.s=-e,t):new n(p[0]?f:3==D?-0:0)}if(a=u(a),l=u(l),p=p.slice(),s=a-l){for((c=s<0)?(s=-s,i=p):(l=a,i=h),i.reverse(),e=s;e--;i.push(0));i.reverse()}else for(o=(c=(s=p.length)<(e=h.length))?s:e,s=e=0;e<o;e++)if(p[e]!=h[e]){c=p[e]<h[e];break}if(c&&(i=p,p=h,h=i,t.s=-t.s),(e=(o=h.length)-(r=p.length))>0)for(;e--;p[r++]=0);for(e=S-1;o>s;){if(p[--o]<h[o]){for(r=o;r&&!p[--r];p[r]=e);--p[r],p[o]+=S}p[o]-=h[o]}for(;0==p[0];p.splice(0,1),--l);return p[0]?j(t,p,l):(t.s=3==D?-1:1,t.c=[t.e=0],t)},k.modulo=k.mod=function(t,e){var r,o,i=this;return R=11,t=new n(t,e),!i.c||!t.s||t.c&&!t.c[0]?new n(NaN):!t.c||i.c&&!i.c[0]?new n(i):(9==H?(o=t.s,t.s=1,r=A(i,t,0,3),t.s=o,r.s*=o):r=A(i,t,0,H),i.minus(r.times(t)))},k.negated=k.neg=function(){var t=new n(this);return t.s=-t.s||null,t},k.plus=k.add=function(t,e){var r,o=this,i=o.s;if(R=12,t=new n(t,e),e=t.s,!i||!e)return new n(NaN);if(i!=e)return t.s=-e,o.minus(t);var c=o.e/_,f=t.e/_,s=o.c,a=t.c;if(!c||!f){if(!s||!a)return new n(i/0);if(!s[0]||!a[0])return a[0]?t:new n(s[0]?o:0*i)}if(c=u(c),f=u(f),s=s.slice(),i=c-f){for(i>0?(f=c,r=a):(i=-i,r=s),r.reverse();i--;r.push(0));r.reverse()}for(i=s.length,e=a.length,i-e<0&&(r=a,a=s,s=r,e=i),i=0;e;)i=(s[--e]=s[e]+a[e]+i)/S|0,s[e]=S===s[e]?0:s[e]%S;return i&&(s=[i].concat(s),++f),j(t,s,f)},k.precision=k.sd=function(t){var n,e,r=this,o=r.c;if(null!=t&&t!==!!t&&1!==t&&0!==t&&(V&&L(13,"argument"+b,t),t!=!!t&&(t=null)),!o)return null;if(e=o.length-1,n=e*_+1,e=o[e]){for(;e%10==0;e/=10,n--);for(e=o[0];e>=10;e/=10,n++);}return t&&r.e+1>n&&(n=r.e+1),n},k.round=function(t,e){var r=new n(this);return(null==t||$(t,0,T,15))&&M(r,~~t+this.e+1,null!=e&&$(e,0,8,15,w)?0|e:D),r},k.shift=function(t){var e=this;return $(t,-N,N,16,"argument")?e.times("1e"+g(t)):new n(e.c&&e.c[0]&&(t<-N||t>N)?e.s*(t<0?0:1/0):e)},k.squareRoot=k.sqrt=function(){var t,e,r,o,i,f=this,s=f.c,a=f.s,l=f.e,p=C+4,h=new n("0.5");if(1!==a||!s||!s[0])return new n(!a||a<0&&(!s||s[0])?NaN:s?f:1/0);if(a=Math.sqrt(+f),0==a||a==1/0?(e=c(s),(e.length+l)%2==0&&(e+="0"),a=Math.sqrt(e),l=u((l+1)/2)-(l<0||l%2),a==1/0?e="1e"+l:(e=a.toExponential(),e=e.slice(0,e.indexOf("e")+1)+l),r=new n(e)):r=new n(a+""),r.c[0])for(l=r.e,a=l+p,a<3&&(a=0);;)if(i=r,r=h.times(i.plus(A(f,i,p,1))),c(i.c).slice(0,a)===(e=c(r.c)).slice(0,a)){if(r.e<l&&--a,"9999"!=(e=e.slice(a-3,a+1))&&(o||"4999"!=e)){+e&&(+e.slice(1)||"5"!=e.charAt(0))||(M(r,r.e+C+2,1),t=!r.times(r).eq(f));break}if(!o&&(M(i,i.e+C+2,0),i.times(i).eq(f))){r=i;break}p+=4,a+=4,o=1}return M(r,r.e+C+1,D,t)},k.times=k.mul=function(t,e){var r,o,i,c,f,s,a,l,p,h,g,d,v,y,m,b=this,w=b.c,O=(R=17,t=new n(t,e)).c;if(!(w&&O&&w[0]&&O[0]))return!b.s||!t.s||w&&!w[0]&&!O||O&&!O[0]&&!w?t.c=t.e=t.s=null:(t.s*=b.s,w&&O?(t.c=[0],t.e=0):t.c=t.e=null),t;for(o=u(b.e/_)+u(t.e/_),t.s*=b.s,a=w.length,h=O.length,a<h&&(v=w,w=O,O=v,i=a,a=h,h=i),i=a+h,v=[];i--;v.push(0));for(y=S,m=P,i=h;--i>=0;){for(r=0,g=O[i]%m,d=O[i]/m|0,f=a,c=i+f;c>i;)l=w[--f]%m,p=w[f]/m|0,s=d*l+p*g,l=g*l+s%m*m+v[c]+r,r=(l/y|0)+(s/m|0)+d*p,v[c--]=l%y;v[c]=r}return r?++o:v.splice(0,1),j(t,v,o)},k.toDigits=function(t,e){var r=new n(this);return t=null!=t&&$(t,1,T,18,"precision")?0|t:null,e=null!=e&&$(e,0,8,18,w)?0|e:D,t?M(r,t,e):r},k.toExponential=function(t,n){return r(this,null!=t&&$(t,0,T,19)?1+~~t:null,n,19)},k.toFixed=function(t,n){return r(this,null!=t&&$(t,0,T,20)?~~t+this.e+1:null,n,20)},k.toFormat=function(t,n){var e=r(this,null!=t&&$(t,0,T,21)?~~t+this.e+1:null,n,21);if(this.c){var o,i=e.split("."),u=+J.groupSize,c=+J.secondaryGroupSize,f=J.groupSeparator,s=i[0],a=i[1],l=this.s<0,p=l?s.slice(1):s,h=p.length;if(c&&(o=u,u=c,c=o,h-=o),u>0&&h>0){for(o=h%u||u,s=p.substr(0,o);o<h;o+=u)s+=f+p.substr(o,u);c>0&&(s+=f+p.slice(o)),l&&(s="-"+s)}e=a?s+J.decimalSeparator+((c=+J.fractionGroupSize)?a.replace(new RegExp("\\d{"+c+"}\\B","g"),"$&"+J.fractionGroupSeparator):a):s}return e},k.toFraction=function(t){var e,r,o,i,u,f,s,a,l,p=V,h=this,g=h.c,d=new n(I),v=r=new n(I),y=s=new n(I);if(null!=t&&(V=!1,f=new n(t),V=p,(p=f.isInt())&&!f.lt(I)||(V&&L(22,"max denominator "+(p?"out of range":"not an integer"),t),t=!p&&f.c&&M(f,f.e+1,1).gte(I)?f:null)),!g)return h.toString();for(l=c(g),i=d.e=l.length-h.e-1,d.c[0]=E[(u=i%_)<0?_+u:u],t=!t||f.cmp(d)>0?i>0?d:v:f,u=U,U=1/0,f=new n(l),s.c[0]=0;a=A(f,d,0,1),o=r.plus(a.times(y)),1!=o.cmp(t);)r=y,y=o,v=s.plus(a.times(o=v)),s=o,d=f.minus(a.times(o=d)),f=o;return o=A(t.minus(r),y,0,1),s=s.plus(o.times(v)),r=r.plus(o.times(y)),s.s=v.s=h.s,i*=2,e=A(v,y,i,D).minus(h).abs().cmp(A(s,r,i,D).minus(h).abs())<1?[v.toString(),y.toString()]:[s.toString(),r.toString()],U=u,e},k.toNumber=function(){return+this},k.toPower=k.pow=function(t,e){var r,o,i,u=m(t<0?-t:+t),c=this;if(null!=e&&(R=23,e=new n(e)),!$(t,-N,N,23,"exponent")&&(!isFinite(t)||u>N&&(t/=0)||parseFloat(t)!=t&&!(t=NaN))||0==t)return r=Math.pow(+c,t),new n(e?r%e:r);for(e?t>1&&c.gt(I)&&c.isInt()&&e.gt(I)&&e.isInt()?c=c.mod(e):(i=e,e=null):W&&(r=y(W/_+2)),o=new n(I);;){if(u%2){if(o=o.times(c),!o.c)break;r?o.c.length>r&&(o.c.length=r):e&&(o=o.mod(e))}if(!(u=m(u/2)))break;c=c.times(c),r?c.c&&c.c.length>r&&(c.c.length=r):e&&(c=c.mod(e))}return e?o:(t<0&&(o=I.div(o)),i?o.mod(i):r?M(o,W,D):o)},k.toPrecision=function(t,n){return r(this,null!=t&&$(t,1,T,24,"precision")?0|t:null,n,24)},k.toString=function(t){var n,r=this,o=r.s,i=r.e;return null===i?o?(n="Infinity",o<0&&(n="-"+n)):n="NaN":(n=c(r.c),n=null!=t&&$(t,2,64,25,"base")?e(h(n,i),0|t,10,o):i<=q||i>=B?p(n,i):h(n,i),o<0&&r.c[0]&&(n="-"+n)),n},k.truncated=k.trunc=function(){return M(new n(this),this.e+1,1)},k.valueOf=k.toJSON=function(){var t,n=this,e=n.e;return null===e?n.toString():(t=c(n.c),t=e<=q||e>=B?p(t,e):h(t,e),n.s<0?"-"+t:t)},k.isBigNumber=!0,null!=t&&n.config(t),n}function u(t){var n=0|t;return t>0||t===n?n:n-1}function c(t){for(var n,e,r=1,o=t.length,i=t[0]+"";r<o;){for(n=t[r++]+"",e=_-n.length;e--;n="0"+n);i+=n}for(o=i.length;48===i.charCodeAt(--o););return i.slice(0,o+1||1)}function f(t,n){var e,r,o=t.c,i=n.c,u=t.s,c=n.s,f=t.e,s=n.e;if(!u||!c)return null;if(e=o&&!o[0],r=i&&!i[0],e||r)return e?r?0:-c:u;if(u!=c)return u;if(e=u<0,r=f==s,!o||!i)return r?0:!o^e?1:-1;if(!r)return f>s^e?1:-1;for(c=(f=o.length)<(s=i.length)?f:s,u=0;u<c;u++)if(o[u]!=i[u])return o[u]>i[u]^e?1:-1;return f==s?0:f>s^e?1:-1}function s(t,n,e){return(t=g(t))>=n&&t<=e}function a(t){return"[object Array]"==Object.prototype.toString.call(t)}function l(t,n,e){for(var r,o,i=[0],u=0,c=t.length;u<c;){for(o=i.length;o--;i[o]*=n);for(i[r=0]+=x.indexOf(t.charAt(u++));r<i.length;r++)i[r]>e-1&&(null==i[r+1]&&(i[r+1]=0),i[r+1]+=i[r]/e|0,i[r]%=e)}return i.reverse()}function p(t,n){return(t.length>1?t.charAt(0)+"."+t.slice(1):t)+(n<0?"e":"e+")+n}function h(t,n){var e,r;if(n<0){for(r="0.";++n;r+="0");t=r+t}else if(e=t.length,++n>e){for(r="0",n-=e;--n;r+="0");t+=r}else n<e&&(t=t.slice(0,n)+"."+t.slice(n));return t}function g(t){return t=parseFloat(t),t<0?y(t):m(t)}var d,v=/^-?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,y=Math.ceil,m=Math.floor,b=" not a boolean or binary digit",w="rounding mode",O="number type has more than 15 significant digits",x="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ$_",S=1e14,_=14,N=9007199254740991,E=[1,10,100,1e3,1e4,1e5,1e6,1e7,1e8,1e9,1e10,1e11,1e12,1e13],P=1e7,T=1e9;d=i(),d['default']=d.BigNumber=d,void 0!==(r=function(){return d}.call(n,e,n,t))&&(t.exports=r)}()},function(t,n,e){e(68),t.exports=e(9).Number.isInteger},function(t,n,e){e(71),e(69),e(72),e(73),t.exports=e(9).Symbol},function(t,n,e){e(70),e(74),t.exports=e(26).f("iterator")},function(t,n){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,n){t.exports=function(){}},function(t,n,e){var r=e(6),o=e(65),i=e(64);t.exports=function(t){return function(n,e,u){var c,f=r(n),s=o(f.length),a=i(u,s);if(t&&e!=e){for(;s>a;)if((c=f[a++])!=c)return!0}else for(;s>a;a++)if((t||a in f)&&f[a]===e)return t||a||0;return!t&&-1}}},function(t,n,e){var r=e(47);t.exports=function(t,n,e){if(r(t),void 0===n)return t;switch(e){case 1:return function(e){return t.call(n,e)};case 2:return function(e,r){return t.call(n,e,r)};case 3:return function(e,r,o){return t.call(n,e,r,o)}}return function(){return t.apply(n,arguments)}}},function(t,n,e){var r=e(18),o=e(33),i=e(19);t.exports=function(t){var n=r(t),e=o.f;if(e)for(var u,c=e(t),f=i.f,s=0;c.length>s;)f.call(t,u=c[s++])&&n.push(u);return n}},function(t,n,e){var r=e(0).document;t.exports=r&&r.documentElement},function(t,n,e){var r=e(27);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,n,e){var r=e(27);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,n,e){var r=e(4),o=Math.floor;t.exports=function(t){return!r(t)&&isFinite(t)&&o(t)===t}},function(t,n,e){"use strict";var r=e(31),o=e(11),i=e(20),u={};e(3)(u,e(7)("iterator"),function(){return this}),t.exports=function(t,n,e){t.prototype=r(u,{"next":o(1,e)}),i(t,n+" Iterator")}},function(t,n){t.exports=function(t,n){return{"value":n,"done":!!t}}},function(t,n,e){var r=e(12)("meta"),o=e(4),i=e(1),u=e(5).f,c=0,f=Object.isExtensible||function(){return!0},s=!e(10)(function(){return f(Object.preventExtensions({}))}),a=function(t){u(t,r,{"value":{"i":"O"+ ++c,"w":{}}})},l=function(t,n){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,r)){if(!f(t))return"F";if(!n)return"E";a(t)}return t[r].i},p=function(t,n){if(!i(t,r)){if(!f(t))return!0;if(!n)return!1;a(t)}return t[r].w},h=function(t){return s&&g.NEED&&f(t)&&!i(t,r)&&a(t),t},g=t.exports={"KEY":r,"NEED":!1,"fastKey":l,"getWeak":p,"onFreeze":h}},function(t,n,e){var r=e(5),o=e(8),i=e(18);t.exports=e(2)?Object.defineProperties:function(t,n){o(t);for(var e,u=i(n),c=u.length,f=0;c>f;)r.f(t,e=u[f++],n[e]);return t}},function(t,n,e){var r=e(19),o=e(11),i=e(6),u=e(24),c=e(1),f=e(29),s=Object.getOwnPropertyDescriptor;n.f=e(2)?s:function(t,n){if(t=i(t),n=u(n,!0),f)try{return s(t,n)}catch(e){}if(c(t,n))return o(!r.f.call(t,n),t[n])}},function(t,n,e){var r=e(6),o=e(32).f,i={}.toString,u="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],c=function(t){try{return o(t)}catch(n){return u.slice()}};t.exports.f=function(t){return u&&"[object Window]"==i.call(t)?c(t):o(r(t))}},function(t,n,e){var r=e(1),o=e(66),i=e(21)("IE_PROTO"),u=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),r(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?u:null}},function(t,n,e){var r=e(23),o=e(13);t.exports=function(t){return function(n,e){var i,u,c=String(o(n)),f=r(e),s=c.length;return f<0||f>=s?t?"":void 0:(i=c.charCodeAt(f),i<55296||i>56319||f+1===s||(u=c.charCodeAt(f+1))<56320||u>57343?t?c.charAt(f):i:t?c.slice(f,f+2):u-56320+(i-55296<<10)+65536)}}},function(t,n,e){var r=e(23),o=Math.max,i=Math.min;t.exports=function(t,n){return t=r(t),t<0?o(t+n,0):i(t,n)}},function(t,n,e){var r=e(23),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,n,e){var r=e(13);t.exports=function(t){return Object(r(t))}},function(t,n,e){"use strict";var r=e(48),o=e(57),i=e(16),u=e(6);t.exports=e(30)(Array,"Array",function(t,n){this._t=u(t),this._i=0,this._k=n},function(){var t=this._t,n=this._k,e=this._i++;return!t||e>=t.length?(this._t=void 0,o(1)):"keys"==n?o(0,e):"values"==n?o(0,t[e]):o(0,[e,t[e]])},"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(t,n,e){var r=e(15);r(r.S,"Number",{"isInteger":e(55)})},function(t,n){},function(t,n,e){"use strict";var r=e(63)(!0);e(30)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,n=this._t,e=this._i;return e>=n.length?{"value":void 0,"done":!0}:(t=r(n,e),this._i+=t.length,{"value":t,"done":!1})})},function(t,n,e){"use strict";var r=e(0),o=e(1),i=e(2),u=e(15),c=e(35),f=e(58).KEY,s=e(10),a=e(22),l=e(20),p=e(12),h=e(7),g=e(26),d=e(25),v=e(51),y=e(54),m=e(8),b=e(4),w=e(6),O=e(24),x=e(11),S=e(31),_=e(61),N=e(60),E=e(5),P=e(18),T=N.f,j=E.f,L=_.f,M=r.Symbol,A=r.JSON,F=A&&A.stringify,R=h("_hidden"),k=h("toPrimitive"),I={}.propertyIsEnumerable,C=a("symbol-registry"),D=a("symbols"),q=a("op-symbols"),B=Object.prototype,G="function"==typeof M,U=r.QObject,V=!U||!U.prototype||!U.prototype.findChild,$=i&&s(function(){return 7!=S(j({},"a",{"get":function(){return j(this,"a",{"value":7}).a}})).a})?function(t,n,e){var r=T(B,n);r&&delete B[n],j(t,n,e),r&&t!==B&&j(B,n,r)}:j,z=function(t){var n=D[t]=S(M.prototype);return n._k=t,n},H=G&&"symbol"==typeof M.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof M},W=function(t,n,e){return t===B&&W(q,n,e),m(t),n=O(n,!0),m(e),o(D,n)?(e.enumerable?(o(t,R)&&t[R][n]&&(t[R][n]=!1),e=S(e,{"enumerable":x(0,!1)})):(o(t,R)||j(t,R,x(1,{})),t[R][n]=!0),$(t,n,e)):j(t,n,e)},J=function(t,n){m(t);for(var e,r=v(n=w(n)),o=0,i=r.length;i>o;)W(t,e=r[o++],n[e]);return t},K=function(t,n){return void 0===n?S(t):J(S(t),n)},Y=function(t){var n=I.call(this,t=O(t,!0));return!(this===B&&o(D,t)&&!o(q,t))&&(!(n||!o(this,t)||!o(D,t)||o(this,R)&&this[R][t])||n)},Q=function(t,n){if(t=w(t),n=O(n,!0),t!==B||!o(D,n)||o(q,n)){var e=T(t,n);return!e||!o(D,n)||o(t,R)&&t[R][n]||(e.enumerable=!0),e}},X=function(t){for(var n,e=L(w(t)),r=[],i=0;e.length>i;)o(D,n=e[i++])||n==R||n==f||r.push(n);return r},Z=function(t){for(var n,e=t===B,r=L(e?q:w(t)),i=[],u=0;r.length>u;)!o(D,n=r[u++])||e&&!o(B,n)||i.push(D[n]);return i};G||(M=function(){if(this instanceof M)throw TypeError("Symbol is not a constructor!");var t=p(arguments.length>0?arguments[0]:void 0),n=function(e){this===B&&n.call(q,e),o(this,R)&&o(this[R],t)&&(this[R][t]=!1),$(this,t,x(1,e))};return i&&V&&$(B,t,{"configurable":!0,"set":n}),z(t)},c(M.prototype,"toString",function(){return this._k}),N.f=Q,E.f=W,e(32).f=_.f=X,e(19).f=Y,e(33).f=Z,i&&!e(17)&&c(B,"propertyIsEnumerable",Y,!0),g.f=function(t){return z(h(t))}),u(u.G+u.W+u.F*!G,{"Symbol":M});for(var tt="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),nt=0;tt.length>nt;)h(tt[nt++]);for(var et=P(h.store),rt=0;et.length>rt;)d(et[rt++]);u(u.S+u.F*!G,"Symbol",{"for":function(t){return o(C,t+="")?C[t]:C[t]=M(t)},"keyFor":function(t){if(!H(t))throw TypeError(t+" is not a symbol!");for(var n in C)if(C[n]===t)return n},"useSetter":function(){V=!0},"useSimple":function(){V=!1}}),u(u.S+u.F*!G,"Object",{"create":K,"defineProperty":W,"defineProperties":J,"getOwnPropertyDescriptor":Q,"getOwnPropertyNames":X,"getOwnPropertySymbols":Z}),A&&u(u.S+u.F*(!G||s(function(){var t=M();return"[null]"!=F([t])||"{}"!=F({"a":t})||"{}"!=F(Object(t))})),"JSON",{"stringify":function(t){for(var n,e,r=[t],o=1;arguments.length>o;)r.push(arguments[o++]);if(e=n=r[1],(b(n)||void 0!==t)&&!H(t))return y(n)||(n=function(t,n){if("function"==typeof e&&(n=e.call(this,t,n)),!H(n))return n}),r[1]=n,F.apply(A,r)}}),M.prototype[k]||e(3)(M.prototype,k,M.prototype.valueOf),l(M,"Symbol"),l(Math,"Math",!0),l(r.JSON,"JSON",!0)},function(t,n,e){e(25)("asyncIterator")},function(t,n,e){e(25)("observable")},function(t,n,e){e(67);for(var r=e(0),o=e(3),i=e(16),u=e(7)("toStringTag"),c="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),f=0;f<c.length;f++){var s=c[f],a=r[s],l=a&&a.prototype;l&&!l[u]&&o(l,u,s),i[s]=i.Array}},function(t,n,e){"use strict";(function(t){var n=e(36).default;e(37),function(e,r){"object"===n(t)&&"object"===n(t.exports)?t.exports=e.document?r(e,!0):function(t){if(!t.document)throw new Error("febs requires a window with a document");return r(t)}:r(e)}("undefined"!=typeof window?window:void 0,function(t,n){var r={};if(r.utils=e(38),t.febs)if(t.febs.utils)for(var o in r.utils)t.febs.utils[o]=r.utils[o];else t.febs.utils=r.utils;else t.febs=r;return r})}).call(n,e(39)(t))}]); | ||
!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=7)}([function(e,n){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,n,t){e.exports=!t(3)(function(){return 7!=Object.defineProperty({},"a",{"get":function(){return 7}}).a})},function(e,n){var t=e.exports={"version":"2.5.5"};"number"==typeof __e&&(__e=t)},function(e,n){e.exports=function(e){try{return!!e()}catch(n){return!0}}},function(e,n){var t=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=t)},function(e,n){!function(e){"use strict";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?this:window)},function(e,n,t){"use strict";var r=t(8).default,i=t(9);n.bigint_check=function(e){if(r(e))return!0;if(!e)return!1;if("string"==typeof e){if(e.length>22||e.length<1)return!1;for(var n=1;n<e.length;n++)if(e[n]<"0"||e[n]>"9")return!1;if("-"==e[0]){if(e.length<2||e[1]<"1"||e[1]>"9")return!1}else if(e[n]<"1"||e[n]>"9")return!1;return!0}return!1},n.bigint_add=function(e,n){return e instanceof i||(e=new i(e)),e.plus(n)},n.bigint_minus=function(e,n){return e instanceof i||(e=new i(e)),e.minus(n)},n.bigint_dividedBy=function(e,n){return e instanceof i||(e=new i(e)),e.dividedBy(n)},n.bigint_mul=function(e,n){return e instanceof i||(e=new i(e)),e.times(n)},n.bigint_equal=function(e,n){return e instanceof i||(e=new i(e)),e.equals(n)},n.bigint_more_than=function(e,n){return e instanceof i||(e=new i(e)),e.greaterThan(n)},n.bigint_more_than_e=function(e,n){return e instanceof i||(e=new i(e)),e.greaterThanOrEqualTo(n)},n.bigint_less_than=function(e,n){return e instanceof i||(e=new i(e)),e.lessThan(n)},n.bigint_less_than_e=function(e,n){return e instanceof i||(e=new i(e)),e.lessThanOrEqualTo(n)},n.bigint_toFixed=function(e,n){return n=n||0,e instanceof i||(e=new i(e)),e.toFixed(n)}},function(e,n,t){t(5),function(n,t){"use strict";"object"==typeof e&&"object"==typeof e.exports?e.exports=n.document?t(n,!0):function(e){if(!e.document)throw new Error("febs requires a window with a document");return t(e)}:t(n)}("undefined"!=typeof window?window:this,function(e,n){var r={};if(r.utils=t(6),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})},function(e,n,t){e.exports={"default":t(10),"__esModule":!0}},function(e,n,t){var r;!function(i){"use strict";function o(e){function n(e,r){var i,o,u,c,f,s,l=this;if(!(l instanceof n))return $&&A(26,"constructor call without new",e),new n(e,r);if(null!=r&&z(r,2,64,D,"base")){if(r|=0,s=e+"",10==r)return l=new n(e instanceof n?e:s),M(l,q+l.e+1,B);if((c="number"==typeof e)&&0*e!=0||!new RegExp("^-?"+(i="["+_.slice(0,r)+"]+")+"(?:\\."+i+")?$",r<37?"i":"").test(s))return I(l,s,c,r);c?(l.s=1/e<0?(s=s.slice(1),-1):1,$&&s.replace(/^0\.0*|\./,"").length>15&&A(D,N,e),c=!1):l.s=45===s.charCodeAt(0)?(s=s.slice(1),-1):1,s=t(s,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(D=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(D=0)}s=e+""}else{if(!w.test(s=e+""))return I(l,s,c);l.s=45===s.charCodeAt(0)?(s=s.slice(1),-1):1}}for((o=s.indexOf("."))>-1&&(s=s.replace(".","")),(u=s.search(/e/i))>0?(o<0&&(o=u),o+=+s.slice(u+1),s=s.substring(0,u)):o<0&&(o=s.length),u=0;48===s.charCodeAt(u);u++);for(f=s.length;48===s.charCodeAt(--f););if(s=s.slice(u,f+1))if(f=s.length,c&&$&&f>15&&(e>E||e!==v(e))&&A(D,N,l.s*e),(o=o-u-1)>G)l.c=l.e=null;else if(o<k)l.c=[l.e=0];else{if(l.e=o,l.c=[],u=(o+1)%x,o<0&&(u+=x),u<f){for(u&&l.c.push(+s.slice(0,u)),f-=x;u<f;)l.c.push(+s.slice(u,u+=x));s=s.slice(u),u=x-s.length}else u-=f;for(;u--;s+="0");l.c.push(+s)}else l.c=[l.e=0];D=0}function t(e,t,r,i){var o,u,f,s,l,p,g,d=e.indexOf("."),w=q,m=B;for(r<37&&(e=e.toLowerCase()),d>=0&&(f=W,W=0,e=e.replace(".",""),g=new n(r),l=g.pow(e.length-d),W=f,g.c=a(h(c(l.c),l.e),10,t),g.e=g.c.length),p=a(e,r,t),u=f=p.length;0==p[--f];p.pop());if(!p[0])return"0";if(d<0?--u:(l.c=p,l.e=u,l.s=i,l=P(l,g,w,m,t),p=l.c,s=l.r,u=l.e),o=u+w+1,d=p[o],f=t/2,s=s||o<0||null!=p[o+1],s=m<4?(null!=d||s)&&(0==m||m==(l.s<0?3:2)):d>f||d==f&&(4==m||s||6==m&&1&p[o-1]||m==(l.s<0?8:7)),o<1||!p[0])e=s?h("1",-w):"0";else{if(p.length=o,s)for(--t;++p[--o]>t;)p[o]=0,o||(++u,p=[1].concat(p));for(f=p.length;!p[--f];);for(d=0,e="";d<=f;e+=_.charAt(p[d++]));e=h(e,u)}return e}function r(e,t,r,i){var o,u,f,s,l;if(r=null!=r&&z(r,0,8,i,y)?0|r:B,!e.c)return e.toString();if(o=e.c[0],f=e.e,null==t)l=c(e.c),l=19==i||24==i&&f<=C?p(l,f):h(l,f);else if(e=M(new n(e),t,r),u=e.e,l=c(e.c),s=l.length,19==i||24==i&&(t<=u||u<=C)){for(;s<t;l+="0",s++);l=p(l,u)}else if(t-=f,l=h(l,u),u+1>s){if(--t>0)for(l+=".";t--;l+="0");}else if((t+=u-s)>0)for(u+1==s&&(l+=".");t--;l+="0");return e.s<0&&o?"-"+l:l}function i(e,t){var r,i,o=0;for(l(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 d(e,n,t,r,i){return(e<n||e>t||e!=g(e))&&A(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*x-1)>G?e.c=e.e=null:t<k?e.c=[e.e=0]:(e.e=t,e.c=n),e}function A(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",D=0,r}function M(e,n,t,r){var i,o,u,c,f,s,l,a=e.c,p=S;if(a){e:{for(i=1,c=a[0];c>=10;c/=10,i++);if((o=n-i)<0)o+=x,u=n,f=a[s=0],l=f/p[i-u-1]%10|0;else if((s=m((o+1)/x))>=a.length){if(!r)break e;for(;a.length<=s;a.push(0));f=l=0,i=1,o%=x,u=o-x+1}else{for(f=c=a[s],i=1;c>=10;c/=10,i++);o%=x,u=o-x+i,l=u<0?0:f/p[i-u-1]%10|0}if(r=r||n<0||null!=a[s+1]||(u<0?f:f%p[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?f/p[i-u]:0:a[s-1])%10&1||t==(e.s<0?8:7)),n<1||!a[0])return a.length=0,r?(n-=e.e+1,a[0]=p[(x-n%x)%x],e.e=-n||0):a[0]=e.e=0,e;if(0==o?(a.length=s,c=1,s--):(a.length=s+1,c=p[x-o],a[s]=u>0?v(f/p[i-u]%p[u])*c:0),r)for(;;){if(0==s){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]==O&&(a[0]=1));break}if(a[s]+=c,a[s]!=O)break;a[s--]=0,c=1}for(o=a.length;0===a[--o];a.pop());}e.e>G?e.c=e.e=null:e.e<k&&(e.c=[e.e=0])}return e}var P,I,D=0,U=n.prototype,j=new n(1),q=20,B=4,C=-7,L=21,k=-1e7,G=1e7,$=!0,z=d,V=!1,H=1,W=0,J={"decimalSeparator":".","groupSeparator":",","groupSize":3,"secondaryGroupSize":0,"fractionGroupSeparator":" ","fractionGroupSize":0};return n.another=o,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={},i=arguments,o=i[0],u=o&&"object"==typeof o?function(){if(o.hasOwnProperty(n))return null!=(e=o[n])}:function(){if(i.length>t)return null!=(e=i[t++])};return u(n="DECIMAL_PLACES")&&z(e,0,F,2,n)&&(q=0|e),r[n]=q,u(n="ROUNDING_MODE")&&z(e,0,8,2,n)&&(B=0|e),r[n]=B,u(n="EXPONENTIAL_AT")&&(l(e)?z(e[0],-F,0,2,n)&&z(e[1],0,F,2,n)&&(C=0|e[0],L=0|e[1]):z(e,-F,F,2,n)&&(C=-(L=0|(e<0?-e:e)))),r[n]=[C,L],u(n="RANGE")&&(l(e)?z(e[0],-F,-1,2,n)&&z(e[1],1,F,2,n)&&(k=0|e[0],G=0|e[1]):z(e,-F,F,2,n)&&(0|e?k=-(G=0|(e<0?-e:e)):$&&A(2,n+" cannot be zero",e))),r[n]=[k,G],u(n="ERRORS")&&(e===!!e||1===e||0===e?(D=0,z=($=!!e)?d:s):$&&A(2,n+b,e)),r[n]=$,u(n="CRYPTO")&&(!0===e||!1===e||1===e||0===e?e?(e="undefined"==typeof crypto,!e&&crypto&&(crypto.getRandomValues||crypto.randomBytes)?V=!0:$?A(2,"crypto unavailable",e?void 0:crypto):V=!1):V=!1:$&&A(2,n+b,e)),r[n]=V,u(n="MODULO_MODE")&&z(e,0,9,2,n)&&(H=0|e),r[n]=H,u(n="POW_PRECISION")&&z(e,0,F,2,n)&&(W=0|e),r[n]=W,u(n="FORMAT")&&("object"==typeof e?J=e:$&&A(2,n+" not an object",e)),r[n]=J,r},n.max=function(){return i(arguments,U.lt)},n.min=function(){return i(arguments,U.gt)},n.random=function(){var e=9007199254740992*Math.random()&2097151?function(){return v(9007199254740992*Math.random())}:function(){return 8388608*(1073741824*Math.random()|0)+(8388608*Math.random()|0)};return function(t){var r,i,o,u,c,f=0,s=[],l=new n(j);if(t=null!=t&&z(t,0,F,14)?0|t:q,u=m(t/x),V)if(crypto.getRandomValues){for(r=crypto.getRandomValues(new Uint32Array(u*=2));f<u;)c=131072*r[f]+(r[f+1]>>>11),c>=9e15?(i=crypto.getRandomValues(new Uint32Array(2)),r[f]=i[0],r[f+1]=i[1]):(s.push(c%1e14),f+=2);f=u/2}else if(crypto.randomBytes){for(r=crypto.randomBytes(u*=7);f<u;)c=281474976710656*(31&r[f])+1099511627776*r[f+1]+4294967296*r[f+2]+16777216*r[f+3]+(r[f+4]<<16)+(r[f+5]<<8)+r[f+6],c>=9e15?crypto.randomBytes(7).copy(r,f):(s.push(c%1e14),f+=7);f=u/7}else V=!1,$&&A(14,"crypto unavailable",crypto);if(!V)for(;f<u;)(c=e())<9e15&&(s[f++]=c%1e14);for(u=s[--f],t%=x,u&&t&&(c=S[x-t],s[f]=v(u/c)*c);0===s[f];s.pop(),f--);if(f<0)s=[o=0];else{for(o=-1;0===s[0];s.splice(0,1),o-=x);for(f=1,c=s[0];c>=10;c/=10,f++);f<x&&(o-=x-f)}return l.e=o,l.c=s,l}}(),P=function(){function e(e,n,t){var r,i,o,u,c=0,f=e.length,s=n%R,l=n/R|0;for(e=e.slice();f--;)o=e[f]%R,u=e[f]/R|0,r=l*o+u*s,i=s*o+r%R*R+c,c=(i/t|0)+(r/R|0)+l*u,e[f]=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,c,f,s){var l,a,p,h,g,d,w,m,b,y,N,_,E,S,R,F,T,A=i.s==o.s?1:-1,P=i.c,I=o.c;if(!(P&&P[0]&&I&&I[0]))return new n(i.s&&o.s&&(P?!I||P[0]!=I[0]:I)?P&&0==P[0]||!I?0*A:A/0:NaN);for(m=new n(A),b=m.c=[],a=i.e-o.e,A=c+a+1,s||(s=O,a=u(i.e/x)-u(o.e/x),A=A/x|0),p=0;I[p]==(P[p]||0);p++);if(I[p]>(P[p]||0)&&a--,A<0)b.push(1),h=!0;else{for(S=P.length,F=I.length,p=0,A+=2,g=v(s/(I[0]+1)),g>1&&(I=e(I,g,s),P=e(P,g,s),F=I.length,S=P.length),E=F,y=P.slice(0,F),N=y.length;N<F;y[N++]=0);T=I.slice(),T=[0].concat(T),R=I[0],I[1]>=s/2&&R++;do{if(g=0,(l=t(I,y,F,N))<0){if(_=y[0],F!=N&&(_=_*s+(y[1]||0)),(g=v(_/R))>1)for(g>=s&&(g=s-1),d=e(I,g,s),w=d.length,N=y.length;1==t(d,y,w,N);)g--,r(d,F<w?T:I,w,s),w=d.length,l=1;else 0==g&&(l=g=1),d=I.slice(),w=d.length;if(w<N&&(d=[0].concat(d)),r(y,d,N,s),N=y.length,-1==l)for(;t(I,y,F,N)<1;)g++,r(y,F<N?T:I,N,s),N=y.length}else 0===l&&(g++,y=[0]);b[p++]=g,y[0]?y[N++]=P[E]||0:(y=[P[E]],N=1)}while((E++<S||null!=y[0])&&A--);h=null!=y[0],b[0]||b.splice(0,1)}if(s==O){for(p=1,A=b[0];A>=10;A/=10,p++);M(m,c+(m.e=p+a*x-1)+1,f,h)}else m.e=a,m.r=+h;return m}}(),I=function(){var e=/^(-?)0([xbo])(?=\w[\w.]*$)/i,t=/^([^.]+)\.$/,r=/^\.([^.]+)$/,i=/^-?(Infinity|NaN)$/,o=/^\s*\+(?=[\w.])|^\s+|\s+$/g;return function(u,c,f,s){var l,a=f?c:c.replace(o,"");if(i.test(a))u.s=isNaN(a)?null:a<0?-1:1;else{if(!f&&(a=a.replace(e,function(e,n,t){return l="x"==(t=t.toLowerCase())?16:"b"==t?2:8,s&&s!=l?e:n}),s&&(l=s,a=a.replace(t,"$1").replace(r,"0.$1")),c!=a))return new n(a,l);$&&A(D,"not a"+(s?" base "+s:"")+" number",c),u.s=null}u.c=u.e=null,D=0}}(),U.absoluteValue=U.abs=function(){var e=new n(this);return e.s<0&&(e.s=1),e},U.ceil=function(){return M(new n(this),this.e+1,2)},U.comparedTo=U.cmp=function(e,t){return D=1,f(this,new n(e,t))},U.decimalPlaces=U.dp=function(){var e,n,t=this.c;if(!t)return null;if(e=((n=t.length-1)-u(this.e/x))*x,n=t[n])for(;n%10==0;n/=10,e--);return e<0&&(e=0),e},U.dividedBy=U.div=function(e,t){return D=3,P(this,new n(e,t),q,B)},U.dividedToIntegerBy=U.divToInt=function(e,t){return D=4,P(this,new n(e,t),0,1)},U.equals=U.eq=function(e,t){return D=5,0===f(this,new n(e,t))},U.floor=function(){return M(new n(this),this.e+1,3)},U.greaterThan=U.gt=function(e,t){return D=6,f(this,new n(e,t))>0},U.greaterThanOrEqualTo=U.gte=function(e,t){return D=7,1===(t=f(this,new n(e,t)))||0===t},U.isFinite=function(){return!!this.c},U.isInteger=U.isInt=function(){return!!this.c&&u(this.e/x)>this.c.length-2},U.isNaN=function(){return!this.s},U.isNegative=U.isNeg=function(){return this.s<0},U.isZero=function(){return!!this.c&&0==this.c[0]},U.lessThan=U.lt=function(e,t){return D=8,f(this,new n(e,t))<0},U.lessThanOrEqualTo=U.lte=function(e,t){return D=9,-1===(t=f(this,new n(e,t)))||0===t},U.minus=U.sub=function(e,t){var r,i,o,c,f=this,s=f.s;if(D=10,e=new n(e,t),t=e.s,!s||!t)return new n(NaN);if(s!=t)return e.s=-t,f.plus(e);var l=f.e/x,a=e.e/x,p=f.c,h=e.c;if(!l||!a){if(!p||!h)return p?(e.s=-t,e):new n(h?f:NaN);if(!p[0]||!h[0])return h[0]?(e.s=-t,e):new n(p[0]?f:3==B?-0:0)}if(l=u(l),a=u(a),p=p.slice(),s=l-a){for((c=s<0)?(s=-s,o=p):(a=l,o=h),o.reverse(),t=s;t--;o.push(0));o.reverse()}else for(i=(c=(s=p.length)<(t=h.length))?s:t,s=t=0;t<i;t++)if(p[t]!=h[t]){c=p[t]<h[t];break}if(c&&(o=p,p=h,h=o,e.s=-e.s),(t=(i=h.length)-(r=p.length))>0)for(;t--;p[r++]=0);for(t=O-1;i>s;){if(p[--i]<h[i]){for(r=i;r&&!p[--r];p[r]=t);--p[r],p[i]+=O}p[i]-=h[i]}for(;0==p[0];p.splice(0,1),--a);return p[0]?T(e,p,a):(e.s=3==B?-1:1,e.c=[e.e=0],e)},U.modulo=U.mod=function(e,t){var r,i,o=this;return D=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==H?(i=e.s,e.s=1,r=P(o,e,0,3),e.s=i,r.s*=i):r=P(o,e,0,H),o.minus(r.times(e)))},U.negated=U.neg=function(){var e=new n(this);return e.s=-e.s||null,e},U.plus=U.add=function(e,t){var r,i=this,o=i.s;if(D=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 c=i.e/x,f=e.e/x,s=i.c,l=e.c;if(!c||!f){if(!s||!l)return new n(o/0);if(!s[0]||!l[0])return l[0]?e:new n(s[0]?i:0*o)}if(c=u(c),f=u(f),s=s.slice(),o=c-f){for(o>0?(f=c,r=l):(o=-o,r=s),r.reverse();o--;r.push(0));r.reverse()}for(o=s.length,t=l.length,o-t<0&&(r=l,l=s,s=r,t=o),o=0;t;)o=(s[--t]=s[t]+l[t]+o)/O|0,s[t]=O===s[t]?0:s[t]%O;return o&&(s=[o].concat(s),++f),T(e,s,f)},U.precision=U.sd=function(e){var n,t,r=this,i=r.c;if(null!=e&&e!==!!e&&1!==e&&0!==e&&($&&A(13,"argument"+b,e),e!=!!e&&(e=null)),!i)return null;if(t=i.length-1,n=t*x+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},U.round=function(e,t){var r=new n(this);return(null==e||z(e,0,F,15))&&M(r,~~e+this.e+1,null!=t&&z(t,0,8,15,y)?0|t:B),r},U.shift=function(e){var t=this;return z(e,-E,E,16,"argument")?t.times("1e"+g(e)):new n(t.c&&t.c[0]&&(e<-E||e>E)?t.s*(e<0?0:1/0):t)},U.squareRoot=U.sqrt=function(){var e,t,r,i,o,f=this,s=f.c,l=f.s,a=f.e,p=q+4,h=new n("0.5");if(1!==l||!s||!s[0])return new n(!l||l<0&&(!s||s[0])?NaN:s?f:1/0);if(l=Math.sqrt(+f),0==l||l==1/0?(t=c(s),(t.length+a)%2==0&&(t+="0"),l=Math.sqrt(t),a=u((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+p,l<3&&(l=0);;)if(o=r,r=h.times(o.plus(P(f,o,p,1))),c(o.c).slice(0,l)===(t=c(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))||(M(r,r.e+q+2,1),e=!r.times(r).eq(f));break}if(!i&&(M(o,o.e+q+2,0),o.times(o).eq(f))){r=o;break}p+=4,l+=4,i=1}return M(r,r.e+q+1,B,e)},U.times=U.mul=function(e,t){var r,i,o,c,f,s,l,a,p,h,g,d,w,m,v,b=this,y=b.c,N=(D=17,e=new n(e,t)).c;if(!(y&&N&&y[0]&&N[0]))return!b.s||!e.s||y&&!y[0]&&!N||N&&!N[0]&&!y?e.c=e.e=e.s=null:(e.s*=b.s,y&&N?(e.c=[0],e.e=0):e.c=e.e=null),e;for(i=u(b.e/x)+u(e.e/x),e.s*=b.s,l=y.length,h=N.length,l<h&&(w=y,y=N,N=w,o=l,l=h,h=o),o=l+h,w=[];o--;w.push(0));for(m=O,v=R,o=h;--o>=0;){for(r=0,g=N[o]%v,d=N[o]/v|0,f=l,c=o+f;c>o;)a=y[--f]%v,p=y[f]/v|0,s=d*a+p*g,a=g*a+s%v*v+w[c]+r,r=(a/m|0)+(s/v|0)+d*p,w[c--]=a%m;w[c]=r}return r?++i:w.splice(0,1),T(e,w,i)},U.toDigits=function(e,t){var r=new n(this);return e=null!=e&&z(e,1,F,18,"precision")?0|e:null,t=null!=t&&z(t,0,8,18,y)?0|t:B,e?M(r,e,t):r},U.toExponential=function(e,n){return r(this,null!=e&&z(e,0,F,19)?1+~~e:null,n,19)},U.toFixed=function(e,n){return r(this,null!=e&&z(e,0,F,20)?~~e+this.e+1:null,n,20)},U.toFormat=function(e,n){var t=r(this,null!=e&&z(e,0,F,21)?~~e+this.e+1:null,n,21);if(this.c){var i,o=t.split("."),u=+J.groupSize,c=+J.secondaryGroupSize,f=J.groupSeparator,s=o[0],l=o[1],a=this.s<0,p=a?s.slice(1):s,h=p.length;if(c&&(i=u,u=c,c=i,h-=i),u>0&&h>0){for(i=h%u||u,s=p.substr(0,i);i<h;i+=u)s+=f+p.substr(i,u);c>0&&(s+=f+p.slice(i)),a&&(s="-"+s)}t=l?s+J.decimalSeparator+((c=+J.fractionGroupSize)?l.replace(new RegExp("\\d{"+c+"}\\B","g"),"$&"+J.fractionGroupSeparator):l):s}return t},U.toFraction=function(e){var t,r,i,o,u,f,s,l,a,p=$,h=this,g=h.c,d=new n(j),w=r=new n(j),m=s=new n(j);if(null!=e&&($=!1,f=new n(e),$=p,(p=f.isInt())&&!f.lt(j)||($&&A(22,"max denominator "+(p?"out of range":"not an integer"),e),e=!p&&f.c&&M(f,f.e+1,1).gte(j)?f:null)),!g)return h.toString();for(a=c(g),o=d.e=a.length-h.e-1,d.c[0]=S[(u=o%x)<0?x+u:u],e=!e||f.cmp(d)>0?o>0?d:w:f,u=G,G=1/0,f=new n(a),s.c[0]=0;l=P(f,d,0,1),i=r.plus(l.times(m)),1!=i.cmp(e);)r=m,m=i,w=s.plus(l.times(i=w)),s=i,d=f.minus(l.times(i=d)),f=i;return i=P(e.minus(r),m,0,1),s=s.plus(i.times(w)),r=r.plus(i.times(m)),s.s=w.s=h.s,o*=2,t=P(w,m,o,B).minus(h).abs().cmp(P(s,r,o,B).minus(h).abs())<1?[w.toString(),m.toString()]:[s.toString(),r.toString()],G=u,t},U.toNumber=function(){return+this},U.toPower=U.pow=function(e,t){var r,i,o,u=v(e<0?-e:+e),c=this;if(null!=t&&(D=23,t=new n(t)),!z(e,-E,E,23,"exponent")&&(!isFinite(e)||u>E&&(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(j)&&c.isInt()&&t.gt(j)&&t.isInt()?c=c.mod(t):(o=t,t=null):W&&(r=m(W/x+2)),i=new n(j);;){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=v(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=j.div(i)),o?i.mod(o):r?M(i,W,B):i)},U.toPrecision=function(e,n){return r(this,null!=e&&z(e,1,F,24,"precision")?0|e:null,n,24)},U.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=c(r.c),n=null!=e&&z(e,2,64,25,"base")?t(h(n,o),0|e,10,i):o<=C||o>=L?p(n,o):h(n,o),i<0&&r.c[0]&&(n="-"+n)),n},U.truncated=U.trunc=function(){return M(new n(this),this.e+1,1)},U.valueOf=U.toJSON=function(){var e,n=this,t=n.e;return null===t?n.toString():(e=c(n.c),e=t<=C||t>=L?p(e,t):h(e,t),n.s<0?"-"+e:e)},U.isBigNumber=!0,null!=e&&n.config(e),n}function u(e){var n=0|e;return e>0||e===n?n:n-1}function c(e){for(var n,t,r=1,i=e.length,o=e[0]+"";r<i;){for(n=e[r++]+"",t=x-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,f=e.e,s=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=f==s,!i||!o)return r?0:!i^t?1:-1;if(!r)return f>s^t?1:-1;for(c=(f=i.length)<(s=o.length)?f:s,u=0;u<c;u++)if(i[u]!=o[u])return i[u]>o[u]^t?1:-1;return f==s?0:f>s^t?1:-1}function s(e,n,t){return(e=g(e))>=n&&e<=t}function l(e){return"[object Array]"==Object.prototype.toString.call(e)}function a(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]+=_.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 h(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 g(e){return e=parseFloat(e),e<0?m(e):v(e)}var d,w=/^-?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,m=Math.ceil,v=Math.floor,b=" not a boolean or binary digit",y="rounding mode",N="number type has more than 15 significant digits",_="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ$_",O=1e14,x=14,E=9007199254740991,S=[1,10,100,1e3,1e4,1e5,1e6,1e7,1e8,1e9,1e10,1e11,1e12,1e13],R=1e7,F=1e9;d=o(),d['default']=d.BigNumber=d,void 0!==(r=function(){return d}.call(n,t,n,e))&&(e.exports=r)}()},function(e,n,t){t(23),e.exports=t(2).Number.isInteger},function(e,n){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,n,t){var r=t(0);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,n,t){var r=t(11);e.exports=function(e,n,t){if(r(e),void 0===n)return e;switch(t){case 1:return function(t){return e.call(n,t)};case 2:return function(t,r){return e.call(n,t,r)};case 3:return function(t,r,i){return e.call(n,t,r,i)}}return function(){return e.apply(n,arguments)}}},function(e,n,t){var r=t(0),i=t(4).document,o=r(i)&&r(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},function(e,n,t){var r=t(4),i=t(2),o=t(13),u=t(17),c=t(16),f=function(e,n,t){var s,l,a,p=e&f.F,h=e&f.G,g=e&f.S,d=e&f.P,w=e&f.B,m=e&f.W,v=h?i:i[n]||(i[n]={}),b=v.prototype,y=h?r:g?r[n]:(r[n]||{}).prototype;h&&(t=n);for(s in t)(l=!p&&y&&void 0!==y[s])&&c(v,s)||(a=l?y[s]:t[s],v[s]=h&&"function"!=typeof y[s]?t[s]:w&&l?o(a,r):m&&y[s]==a?function(e){var n=function(n,t,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(n);case 2:return new e(n,t)}return new e(n,t,r)}return e.apply(this,arguments)};return n.prototype=e.prototype,n}(a):d&&"function"==typeof a?o(Function.call,a):a,d&&((v.virtual||(v.virtual={}))[s]=a,e&f.R&&b&&!b[s]&&u(b,s,a)))};f.F=1,f.G=2,f.S=4,f.P=8,f.B=16,f.W=32,f.U=64,f.R=128,e.exports=f},function(e,n){var t={}.hasOwnProperty;e.exports=function(e,n){return t.call(e,n)}},function(e,n,t){var r=t(20),i=t(21);e.exports=t(1)?function(e,n,t){return r.f(e,n,i(1,t))}:function(e,n,t){return e[n]=t,e}},function(e,n,t){e.exports=!t(1)&&!t(3)(function(){return 7!=Object.defineProperty(t(14)("div"),"a",{"get":function(){return 7}}).a})},function(e,n,t){var r=t(0),i=Math.floor;e.exports=function(e){return!r(e)&&isFinite(e)&&i(e)===e}},function(e,n,t){var r=t(12),i=t(18),o=t(22),u=Object.defineProperty;n.f=t(1)?Object.defineProperty:function(e,n,t){if(r(e),n=o(n,!0),r(t),i)try{return u(e,n,t)}catch(c){}if("get"in t||"set"in t)throw TypeError("Accessors not supported!");return"value"in t&&(e[n]=t.value),e}},function(e,n){e.exports=function(e,n){return{"enumerable":!(1&e),"configurable":!(2&e),"writable":!(4&e),"value":n}}},function(e,n,t){var r=t(0);e.exports=function(e,n){if(!r(e))return e;var t,i;if(n&&"function"==typeof(t=e.toString)&&!r(i=t.call(e)))return i;if("function"==typeof(t=e.valueOf)&&!r(i=t.call(e)))return i;if(!n&&"function"==typeof(t=e.toString)&&!r(i=t.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},function(e,n,t){var r=t(15);r(r.S,"Number",{"isInteger":t(19)})}]); |
@@ -66,3 +66,3 @@ /******/ (function(modules) { // webpackBootstrap | ||
/******/ // Load entry module and return exports | ||
/******/ return __webpack_require__(__webpack_require__.s = 74); | ||
/******/ return __webpack_require__(__webpack_require__.s = 3); | ||
/******/ }) | ||
@@ -74,308 +74,2 @@ /************************************************************************/ | ||
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028 | ||
var global = module.exports = typeof window != 'undefined' && window.Math == Math | ||
? window : typeof self != 'undefined' && self.Math == Math ? self | ||
// eslint-disable-next-line no-new-func | ||
: Function('return this')(); | ||
if (typeof __g == 'number') __g = global; // eslint-disable-line no-undef | ||
/***/ }), | ||
/* 1 */ | ||
/***/ (function(module, exports) { | ||
var hasOwnProperty = {}.hasOwnProperty; | ||
module.exports = function (it, key) { | ||
return hasOwnProperty.call(it, key); | ||
}; | ||
/***/ }), | ||
/* 2 */ | ||
/***/ (function(module, exports, __webpack_require__) { | ||
// Thank's IE8 for his funny defineProperty | ||
module.exports = !__webpack_require__(9)(function () { | ||
return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7; | ||
}); | ||
/***/ }), | ||
/* 3 */ | ||
/***/ (function(module, exports, __webpack_require__) { | ||
var dP = __webpack_require__(4); | ||
var createDesc = __webpack_require__(10); | ||
module.exports = __webpack_require__(2) ? function (object, key, value) { | ||
return dP.f(object, key, createDesc(1, value)); | ||
} : function (object, key, value) { | ||
object[key] = value; | ||
return object; | ||
}; | ||
/***/ }), | ||
/* 4 */ | ||
/***/ (function(module, exports, __webpack_require__) { | ||
var anObject = __webpack_require__(8); | ||
var IE8_DOM_DEFINE = __webpack_require__(30); | ||
var toPrimitive = __webpack_require__(23); | ||
var dP = Object.defineProperty; | ||
exports.f = __webpack_require__(2) ? Object.defineProperty : function defineProperty(O, P, Attributes) { | ||
anObject(O); | ||
P = toPrimitive(P, true); | ||
anObject(Attributes); | ||
if (IE8_DOM_DEFINE) try { | ||
return dP(O, P, Attributes); | ||
} catch (e) { /* empty */ } | ||
if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!'); | ||
if ('value' in Attributes) O[P] = Attributes.value; | ||
return O; | ||
}; | ||
/***/ }), | ||
/* 5 */ | ||
/***/ (function(module, exports, __webpack_require__) { | ||
// to indexed object, toObject with fallback for non-array-like ES3 strings | ||
var IObject = __webpack_require__(54); | ||
var defined = __webpack_require__(13); | ||
module.exports = function (it) { | ||
return IObject(defined(it)); | ||
}; | ||
/***/ }), | ||
/* 6 */ | ||
/***/ (function(module, exports, __webpack_require__) { | ||
var store = __webpack_require__(21)('wks'); | ||
var uid = __webpack_require__(11); | ||
var Symbol = __webpack_require__(0).Symbol; | ||
var USE_SYMBOL = typeof Symbol == 'function'; | ||
var $exports = module.exports = function (name) { | ||
return store[name] || (store[name] = | ||
USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name)); | ||
}; | ||
$exports.store = store; | ||
/***/ }), | ||
/* 7 */ | ||
/***/ (function(module, exports) { | ||
module.exports = function (it) { | ||
return typeof it === 'object' ? it !== null : typeof it === 'function'; | ||
}; | ||
/***/ }), | ||
/* 8 */ | ||
/***/ (function(module, exports, __webpack_require__) { | ||
var isObject = __webpack_require__(7); | ||
module.exports = function (it) { | ||
if (!isObject(it)) throw TypeError(it + ' is not an object!'); | ||
return it; | ||
}; | ||
/***/ }), | ||
/* 9 */ | ||
/***/ (function(module, exports) { | ||
module.exports = function (exec) { | ||
try { | ||
return !!exec(); | ||
} catch (e) { | ||
return true; | ||
} | ||
}; | ||
/***/ }), | ||
/* 10 */ | ||
/***/ (function(module, exports) { | ||
module.exports = function (bitmap, value) { | ||
return { | ||
enumerable: !(bitmap & 1), | ||
configurable: !(bitmap & 2), | ||
writable: !(bitmap & 4), | ||
value: value | ||
}; | ||
}; | ||
/***/ }), | ||
/* 11 */ | ||
/***/ (function(module, exports) { | ||
var id = 0; | ||
var px = Math.random(); | ||
module.exports = function (key) { | ||
return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36)); | ||
}; | ||
/***/ }), | ||
/* 12 */ | ||
/***/ (function(module, exports) { | ||
var core = module.exports = { version: '2.5.5' }; | ||
if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef | ||
/***/ }), | ||
/* 13 */ | ||
/***/ (function(module, exports) { | ||
// 7.2.1 RequireObjectCoercible(argument) | ||
module.exports = function (it) { | ||
if (it == undefined) throw TypeError("Can't call method on " + it); | ||
return it; | ||
}; | ||
/***/ }), | ||
/* 14 */ | ||
/***/ (function(module, exports) { | ||
// IE 8- don't enum bug keys | ||
module.exports = ( | ||
'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf' | ||
).split(','); | ||
/***/ }), | ||
/* 15 */ | ||
/***/ (function(module, exports) { | ||
module.exports = {}; | ||
/***/ }), | ||
/* 16 */ | ||
/***/ (function(module, exports) { | ||
module.exports = true; | ||
/***/ }), | ||
/* 17 */ | ||
/***/ (function(module, exports, __webpack_require__) { | ||
// 19.1.2.14 / 15.2.3.14 Object.keys(O) | ||
var $keys = __webpack_require__(35); | ||
var enumBugKeys = __webpack_require__(14); | ||
module.exports = Object.keys || function keys(O) { | ||
return $keys(O, enumBugKeys); | ||
}; | ||
/***/ }), | ||
/* 18 */ | ||
/***/ (function(module, exports) { | ||
exports.f = {}.propertyIsEnumerable; | ||
/***/ }), | ||
/* 19 */ | ||
/***/ (function(module, exports, __webpack_require__) { | ||
var def = __webpack_require__(4).f; | ||
var has = __webpack_require__(1); | ||
var TAG = __webpack_require__(6)('toStringTag'); | ||
module.exports = function (it, tag, stat) { | ||
if (it && !has(it = stat ? it : it.prototype, TAG)) def(it, TAG, { configurable: true, value: tag }); | ||
}; | ||
/***/ }), | ||
/* 20 */ | ||
/***/ (function(module, exports, __webpack_require__) { | ||
var shared = __webpack_require__(21)('keys'); | ||
var uid = __webpack_require__(11); | ||
module.exports = function (key) { | ||
return shared[key] || (shared[key] = uid(key)); | ||
}; | ||
/***/ }), | ||
/* 21 */ | ||
/***/ (function(module, exports, __webpack_require__) { | ||
var global = __webpack_require__(0); | ||
var SHARED = '__core-js_shared__'; | ||
var store = global[SHARED] || (global[SHARED] = {}); | ||
module.exports = function (key) { | ||
return store[key] || (store[key] = {}); | ||
}; | ||
/***/ }), | ||
/* 22 */ | ||
/***/ (function(module, exports) { | ||
// 7.1.4 ToInteger | ||
var ceil = Math.ceil; | ||
var floor = Math.floor; | ||
module.exports = function (it) { | ||
return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it); | ||
}; | ||
/***/ }), | ||
/* 23 */ | ||
/***/ (function(module, exports, __webpack_require__) { | ||
// 7.1.1 ToPrimitive(input [, PreferredType]) | ||
var isObject = __webpack_require__(7); | ||
// instead of the ES6 spec version, we didn't implement @@toPrimitive case | ||
// and the second argument - flag - preferred type is a string | ||
module.exports = function (it, S) { | ||
if (!isObject(it)) return it; | ||
var fn, val; | ||
if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val; | ||
if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val; | ||
if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val; | ||
throw TypeError("Can't convert object to primitive value"); | ||
}; | ||
/***/ }), | ||
/* 24 */ | ||
/***/ (function(module, exports, __webpack_require__) { | ||
var global = __webpack_require__(0); | ||
var core = __webpack_require__(12); | ||
var LIBRARY = __webpack_require__(16); | ||
var wksExt = __webpack_require__(25); | ||
var defineProperty = __webpack_require__(4).f; | ||
module.exports = function (name) { | ||
var $Symbol = core.Symbol || (core.Symbol = LIBRARY ? {} : global.Symbol || {}); | ||
if (name.charAt(0) != '_' && !(name in $Symbol)) defineProperty($Symbol, name, { value: wksExt.f(name) }); | ||
}; | ||
/***/ }), | ||
/* 25 */ | ||
/***/ (function(module, exports, __webpack_require__) { | ||
exports.f = __webpack_require__(6); | ||
/***/ }), | ||
/* 26 */ | ||
/***/ (function(module, exports) { | ||
var charenc = { | ||
@@ -417,306 +111,5 @@ // UTF-8 encoding | ||
/***/ }), | ||
/* 27 */ | ||
/* 1 */ | ||
/***/ (function(module, exports) { | ||
var toString = {}.toString; | ||
module.exports = function (it) { | ||
return toString.call(it).slice(8, -1); | ||
}; | ||
/***/ }), | ||
/* 28 */ | ||
/***/ (function(module, exports, __webpack_require__) { | ||
var isObject = __webpack_require__(7); | ||
var document = __webpack_require__(0).document; | ||
// typeof document.createElement is 'object' in old IE | ||
var is = isObject(document) && isObject(document.createElement); | ||
module.exports = function (it) { | ||
return is ? document.createElement(it) : {}; | ||
}; | ||
/***/ }), | ||
/* 29 */ | ||
/***/ (function(module, exports, __webpack_require__) { | ||
var global = __webpack_require__(0); | ||
var core = __webpack_require__(12); | ||
var ctx = __webpack_require__(51); | ||
var hide = __webpack_require__(3); | ||
var has = __webpack_require__(1); | ||
var PROTOTYPE = 'prototype'; | ||
var $export = function (type, name, source) { | ||
var IS_FORCED = type & $export.F; | ||
var IS_GLOBAL = type & $export.G; | ||
var IS_STATIC = type & $export.S; | ||
var IS_PROTO = type & $export.P; | ||
var IS_BIND = type & $export.B; | ||
var IS_WRAP = type & $export.W; | ||
var exports = IS_GLOBAL ? core : core[name] || (core[name] = {}); | ||
var expProto = exports[PROTOTYPE]; | ||
var target = IS_GLOBAL ? global : IS_STATIC ? global[name] : (global[name] || {})[PROTOTYPE]; | ||
var key, own, out; | ||
if (IS_GLOBAL) source = name; | ||
for (key in source) { | ||
// contains in native | ||
own = !IS_FORCED && target && target[key] !== undefined; | ||
if (own && has(exports, key)) continue; | ||
// export native or passed | ||
out = own ? target[key] : source[key]; | ||
// prevent global pollution for namespaces | ||
exports[key] = IS_GLOBAL && typeof target[key] != 'function' ? source[key] | ||
// bind timers to global for call from export context | ||
: IS_BIND && own ? ctx(out, global) | ||
// wrap global constructors for prevent change them in library | ||
: IS_WRAP && target[key] == out ? (function (C) { | ||
var F = function (a, b, c) { | ||
if (this instanceof C) { | ||
switch (arguments.length) { | ||
case 0: return new C(); | ||
case 1: return new C(a); | ||
case 2: return new C(a, b); | ||
} return new C(a, b, c); | ||
} return C.apply(this, arguments); | ||
}; | ||
F[PROTOTYPE] = C[PROTOTYPE]; | ||
return F; | ||
// make static versions for prototype methods | ||
})(out) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out; | ||
// export proto methods to core.%CONSTRUCTOR%.methods.%NAME% | ||
if (IS_PROTO) { | ||
(exports.virtual || (exports.virtual = {}))[key] = out; | ||
// export proto methods to core.%CONSTRUCTOR%.prototype.%NAME% | ||
if (type & $export.R && expProto && !expProto[key]) hide(expProto, key, out); | ||
} | ||
} | ||
}; | ||
// type bitmap | ||
$export.F = 1; // forced | ||
$export.G = 2; // global | ||
$export.S = 4; // static | ||
$export.P = 8; // proto | ||
$export.B = 16; // bind | ||
$export.W = 32; // wrap | ||
$export.U = 64; // safe | ||
$export.R = 128; // real proto method for `library` | ||
module.exports = $export; | ||
/***/ }), | ||
/* 30 */ | ||
/***/ (function(module, exports, __webpack_require__) { | ||
module.exports = !__webpack_require__(2) && !__webpack_require__(9)(function () { | ||
return Object.defineProperty(__webpack_require__(28)('div'), 'a', { get: function () { return 7; } }).a != 7; | ||
}); | ||
/***/ }), | ||
/* 31 */ | ||
/***/ (function(module, exports, __webpack_require__) { | ||
"use strict"; | ||
var LIBRARY = __webpack_require__(16); | ||
var $export = __webpack_require__(29); | ||
var redefine = __webpack_require__(36); | ||
var hide = __webpack_require__(3); | ||
var Iterators = __webpack_require__(15); | ||
var $iterCreate = __webpack_require__(56); | ||
var setToStringTag = __webpack_require__(19); | ||
var getPrototypeOf = __webpack_require__(62); | ||
var ITERATOR = __webpack_require__(6)('iterator'); | ||
var BUGGY = !([].keys && 'next' in [].keys()); // Safari has buggy iterators w/o `next` | ||
var FF_ITERATOR = '@@iterator'; | ||
var KEYS = 'keys'; | ||
var VALUES = 'values'; | ||
var returnThis = function () { return this; }; | ||
module.exports = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED) { | ||
$iterCreate(Constructor, NAME, next); | ||
var getMethod = function (kind) { | ||
if (!BUGGY && kind in proto) return proto[kind]; | ||
switch (kind) { | ||
case KEYS: return function keys() { return new Constructor(this, kind); }; | ||
case VALUES: return function values() { return new Constructor(this, kind); }; | ||
} return function entries() { return new Constructor(this, kind); }; | ||
}; | ||
var TAG = NAME + ' Iterator'; | ||
var DEF_VALUES = DEFAULT == VALUES; | ||
var VALUES_BUG = false; | ||
var proto = Base.prototype; | ||
var $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT]; | ||
var $default = $native || getMethod(DEFAULT); | ||
var $entries = DEFAULT ? !DEF_VALUES ? $default : getMethod('entries') : undefined; | ||
var $anyNative = NAME == 'Array' ? proto.entries || $native : $native; | ||
var methods, key, IteratorPrototype; | ||
// Fix native | ||
if ($anyNative) { | ||
IteratorPrototype = getPrototypeOf($anyNative.call(new Base())); | ||
if (IteratorPrototype !== Object.prototype && IteratorPrototype.next) { | ||
// Set @@toStringTag to native iterators | ||
setToStringTag(IteratorPrototype, TAG, true); | ||
// fix for some old engines | ||
if (!LIBRARY && typeof IteratorPrototype[ITERATOR] != 'function') hide(IteratorPrototype, ITERATOR, returnThis); | ||
} | ||
} | ||
// fix Array#{values, @@iterator}.name in V8 / FF | ||
if (DEF_VALUES && $native && $native.name !== VALUES) { | ||
VALUES_BUG = true; | ||
$default = function values() { return $native.call(this); }; | ||
} | ||
// Define iterator | ||
if ((!LIBRARY || FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])) { | ||
hide(proto, ITERATOR, $default); | ||
} | ||
// Plug for library | ||
Iterators[NAME] = $default; | ||
Iterators[TAG] = returnThis; | ||
if (DEFAULT) { | ||
methods = { | ||
values: DEF_VALUES ? $default : getMethod(VALUES), | ||
keys: IS_SET ? $default : getMethod(KEYS), | ||
entries: $entries | ||
}; | ||
if (FORCED) for (key in methods) { | ||
if (!(key in proto)) redefine(proto, key, methods[key]); | ||
} else $export($export.P + $export.F * (BUGGY || VALUES_BUG), NAME, methods); | ||
} | ||
return methods; | ||
}; | ||
/***/ }), | ||
/* 32 */ | ||
/***/ (function(module, exports, __webpack_require__) { | ||
// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties]) | ||
var anObject = __webpack_require__(8); | ||
var dPs = __webpack_require__(59); | ||
var enumBugKeys = __webpack_require__(14); | ||
var IE_PROTO = __webpack_require__(20)('IE_PROTO'); | ||
var Empty = function () { /* empty */ }; | ||
var PROTOTYPE = 'prototype'; | ||
// Create object with fake `null` prototype: use iframe Object with cleared prototype | ||
var createDict = function () { | ||
// Thrash, waste and sodomy: IE GC bug | ||
var iframe = __webpack_require__(28)('iframe'); | ||
var i = enumBugKeys.length; | ||
var lt = '<'; | ||
var gt = '>'; | ||
var iframeDocument; | ||
iframe.style.display = 'none'; | ||
__webpack_require__(53).appendChild(iframe); | ||
iframe.src = 'javascript:'; // eslint-disable-line no-script-url | ||
// createDict = iframe.contentWindow.Object; | ||
// html.removeChild(iframe); | ||
iframeDocument = iframe.contentWindow.document; | ||
iframeDocument.open(); | ||
iframeDocument.write(lt + 'script' + gt + 'document.F=Object' + lt + '/script' + gt); | ||
iframeDocument.close(); | ||
createDict = iframeDocument.F; | ||
while (i--) delete createDict[PROTOTYPE][enumBugKeys[i]]; | ||
return createDict(); | ||
}; | ||
module.exports = Object.create || function create(O, Properties) { | ||
var result; | ||
if (O !== null) { | ||
Empty[PROTOTYPE] = anObject(O); | ||
result = new Empty(); | ||
Empty[PROTOTYPE] = null; | ||
// add "__proto__" for Object.getPrototypeOf polyfill | ||
result[IE_PROTO] = O; | ||
} else result = createDict(); | ||
return Properties === undefined ? result : dPs(result, Properties); | ||
}; | ||
/***/ }), | ||
/* 33 */ | ||
/***/ (function(module, exports, __webpack_require__) { | ||
// 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O) | ||
var $keys = __webpack_require__(35); | ||
var hiddenKeys = __webpack_require__(14).concat('length', 'prototype'); | ||
exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) { | ||
return $keys(O, hiddenKeys); | ||
}; | ||
/***/ }), | ||
/* 34 */ | ||
/***/ (function(module, exports) { | ||
exports.f = Object.getOwnPropertySymbols; | ||
/***/ }), | ||
/* 35 */ | ||
/***/ (function(module, exports, __webpack_require__) { | ||
var has = __webpack_require__(1); | ||
var toIObject = __webpack_require__(5); | ||
var arrayIndexOf = __webpack_require__(50)(false); | ||
var IE_PROTO = __webpack_require__(20)('IE_PROTO'); | ||
module.exports = function (object, names) { | ||
var O = toIObject(object); | ||
var i = 0; | ||
var result = []; | ||
var key; | ||
for (key in O) if (key != IE_PROTO) has(O, key) && result.push(key); | ||
// Don't enum bug & hidden keys | ||
while (names.length > i) if (has(O, key = names[i++])) { | ||
~arrayIndexOf(result, key) || result.push(key); | ||
} | ||
return result; | ||
}; | ||
/***/ }), | ||
/* 36 */ | ||
/***/ (function(module, exports, __webpack_require__) { | ||
module.exports = __webpack_require__(3); | ||
/***/ }), | ||
/* 37 */ | ||
/***/ (function(module, exports, __webpack_require__) { | ||
"use strict"; | ||
exports.__esModule = true; | ||
var _iterator = __webpack_require__(45); | ||
var _iterator2 = _interopRequireDefault(_iterator); | ||
var _symbol = __webpack_require__(44); | ||
var _symbol2 = _interopRequireDefault(_symbol); | ||
var _typeof = typeof _symbol2['default'] === "function" && typeof _iterator2['default'] === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof _symbol2['default'] === "function" && obj.constructor === _symbol2['default'] && obj !== _symbol2['default'].prototype ? "symbol" : typeof obj; }; | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } | ||
exports['default'] = typeof _symbol2['default'] === "function" && _typeof(_iterator2['default']) === "symbol" ? function (obj) { | ||
return typeof obj === "undefined" ? "undefined" : _typeof(obj); | ||
} : function (obj) { | ||
return obj && typeof _symbol2['default'] === "function" && obj.constructor === _symbol2['default'] && obj !== _symbol2['default'].prototype ? "symbol" : typeof obj === "undefined" ? "undefined" : _typeof(obj); | ||
}; | ||
/***/ }), | ||
/* 38 */ | ||
/***/ (function(module, exports) { | ||
// Console-polyfill. MIT license. | ||
@@ -744,3 +137,3 @@ // https://github.com/paulmillr/console-polyfill | ||
/***/ }), | ||
/* 39 */ | ||
/* 2 */ | ||
/***/ (function(module, exports, __webpack_require__) { | ||
@@ -759,3 +152,3 @@ | ||
var md5 = __webpack_require__(43); | ||
var md5 = __webpack_require__(6); | ||
@@ -765,31 +158,62 @@ exports.md5 = md5; | ||
/***/ }), | ||
/* 40 */ | ||
/***/ (function(module, exports) { | ||
/* 3 */ | ||
/***/ (function(module, exports, __webpack_require__) { | ||
module.exports = function(module) { | ||
if(!module.webpackPolyfill) { | ||
module.deprecate = function() {}; | ||
module.paths = []; | ||
// module.parent = undefined by default | ||
if(!module.children) module.children = []; | ||
Object.defineProperty(module, "loaded", { | ||
enumerable: true, | ||
get: function() { | ||
return module.l; | ||
} | ||
}); | ||
Object.defineProperty(module, "id", { | ||
enumerable: true, | ||
get: function() { | ||
return module.i; | ||
} | ||
}); | ||
module.webpackPolyfill = 1; | ||
// require('es5-shim'); | ||
// require('es5-shim/es5-sham'); | ||
__webpack_require__(1); | ||
// require('babel-polyfill'); | ||
// require('../third-party/bluebird.min.js'); | ||
// require('../third-party/bignumber.min.js'); | ||
( function( global, factory ) { | ||
"use strict"; | ||
if ( typeof module === "object" && typeof module.exports === "object" ) { | ||
// For CommonJS and CommonJS-like environments where a proper `window` | ||
// For environments that do not have a `window` with a `document` | ||
// (such as Node.js), expose a factory as module.exports. | ||
// This accentuates the need for the creation of a real `window`. | ||
module.exports = global.document ? | ||
factory( global, true ) : | ||
function( w ) { | ||
if ( !w.document ) { | ||
throw new Error( "febs requires a window with a document" ); | ||
} | ||
return factory( w ); | ||
}; | ||
} else { | ||
factory( global ); | ||
} | ||
return module; | ||
}; | ||
// Pass this if window is not defined yet | ||
} )( typeof window !== "undefined" ? window : this, function( window, noGlobal ) { | ||
var febs = {}; | ||
febs.crypt = __webpack_require__(2); | ||
if (!window['febs']) | ||
window['febs'] = febs; | ||
else if (window['febs'].crypt) { | ||
for (var key in febs.crypt) { | ||
window['febs'].crypt[key] = febs.crypt[key]; | ||
} | ||
} | ||
else { | ||
window['febs'].crypt = febs.crypt; | ||
} | ||
return febs; | ||
} | ||
); | ||
/***/ }), | ||
/* 41 */ | ||
/* 4 */ | ||
/***/ (function(module, exports) { | ||
@@ -896,3 +320,3 @@ | ||
/***/ }), | ||
/* 42 */ | ||
/* 5 */ | ||
/***/ (function(module, exports) { | ||
@@ -924,10 +348,10 @@ | ||
/***/ }), | ||
/* 43 */ | ||
/* 6 */ | ||
/***/ (function(module, exports, __webpack_require__) { | ||
(function(){ | ||
var crypt = __webpack_require__(41), | ||
utf8 = __webpack_require__(26).utf8, | ||
isBuffer = __webpack_require__(42), | ||
bin = __webpack_require__(26).bin, | ||
var crypt = __webpack_require__(4), | ||
utf8 = __webpack_require__(0).utf8, | ||
isBuffer = __webpack_require__(5), | ||
bin = __webpack_require__(0).bin, | ||
@@ -1090,798 +514,4 @@ // The core | ||
/***/ }), | ||
/* 44 */ | ||
/***/ (function(module, exports, __webpack_require__) { | ||
module.exports = { "default": __webpack_require__(46), __esModule: true }; | ||
/***/ }), | ||
/* 45 */ | ||
/***/ (function(module, exports, __webpack_require__) { | ||
module.exports = { "default": __webpack_require__(47), __esModule: true }; | ||
/***/ }), | ||
/* 46 */ | ||
/***/ (function(module, exports, __webpack_require__) { | ||
__webpack_require__(70); | ||
__webpack_require__(68); | ||
__webpack_require__(71); | ||
__webpack_require__(72); | ||
module.exports = __webpack_require__(12).Symbol; | ||
/***/ }), | ||
/* 47 */ | ||
/***/ (function(module, exports, __webpack_require__) { | ||
__webpack_require__(69); | ||
__webpack_require__(73); | ||
module.exports = __webpack_require__(25).f('iterator'); | ||
/***/ }), | ||
/* 48 */ | ||
/***/ (function(module, exports) { | ||
module.exports = function (it) { | ||
if (typeof it != 'function') throw TypeError(it + ' is not a function!'); | ||
return it; | ||
}; | ||
/***/ }), | ||
/* 49 */ | ||
/***/ (function(module, exports) { | ||
module.exports = function () { /* empty */ }; | ||
/***/ }), | ||
/* 50 */ | ||
/***/ (function(module, exports, __webpack_require__) { | ||
// false -> Array#indexOf | ||
// true -> Array#includes | ||
var toIObject = __webpack_require__(5); | ||
var toLength = __webpack_require__(65); | ||
var toAbsoluteIndex = __webpack_require__(64); | ||
module.exports = function (IS_INCLUDES) { | ||
return function ($this, el, fromIndex) { | ||
var O = toIObject($this); | ||
var length = toLength(O.length); | ||
var index = toAbsoluteIndex(fromIndex, length); | ||
var value; | ||
// Array#includes uses SameValueZero equality algorithm | ||
// eslint-disable-next-line no-self-compare | ||
if (IS_INCLUDES && el != el) while (length > index) { | ||
value = O[index++]; | ||
// eslint-disable-next-line no-self-compare | ||
if (value != value) return true; | ||
// Array#indexOf ignores holes, Array#includes - not | ||
} else for (;length > index; index++) if (IS_INCLUDES || index in O) { | ||
if (O[index] === el) return IS_INCLUDES || index || 0; | ||
} return !IS_INCLUDES && -1; | ||
}; | ||
}; | ||
/***/ }), | ||
/* 51 */ | ||
/***/ (function(module, exports, __webpack_require__) { | ||
// optional / simple context binding | ||
var aFunction = __webpack_require__(48); | ||
module.exports = function (fn, that, length) { | ||
aFunction(fn); | ||
if (that === undefined) return fn; | ||
switch (length) { | ||
case 1: return function (a) { | ||
return fn.call(that, a); | ||
}; | ||
case 2: return function (a, b) { | ||
return fn.call(that, a, b); | ||
}; | ||
case 3: return function (a, b, c) { | ||
return fn.call(that, a, b, c); | ||
}; | ||
} | ||
return function (/* ...args */) { | ||
return fn.apply(that, arguments); | ||
}; | ||
}; | ||
/***/ }), | ||
/* 52 */ | ||
/***/ (function(module, exports, __webpack_require__) { | ||
// all enumerable object keys, includes symbols | ||
var getKeys = __webpack_require__(17); | ||
var gOPS = __webpack_require__(34); | ||
var pIE = __webpack_require__(18); | ||
module.exports = function (it) { | ||
var result = getKeys(it); | ||
var getSymbols = gOPS.f; | ||
if (getSymbols) { | ||
var symbols = getSymbols(it); | ||
var isEnum = pIE.f; | ||
var i = 0; | ||
var key; | ||
while (symbols.length > i) if (isEnum.call(it, key = symbols[i++])) result.push(key); | ||
} return result; | ||
}; | ||
/***/ }), | ||
/* 53 */ | ||
/***/ (function(module, exports, __webpack_require__) { | ||
var document = __webpack_require__(0).document; | ||
module.exports = document && document.documentElement; | ||
/***/ }), | ||
/* 54 */ | ||
/***/ (function(module, exports, __webpack_require__) { | ||
// fallback for non-array-like ES3 and non-enumerable old V8 strings | ||
var cof = __webpack_require__(27); | ||
// eslint-disable-next-line no-prototype-builtins | ||
module.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) { | ||
return cof(it) == 'String' ? it.split('') : Object(it); | ||
}; | ||
/***/ }), | ||
/* 55 */ | ||
/***/ (function(module, exports, __webpack_require__) { | ||
// 7.2.2 IsArray(argument) | ||
var cof = __webpack_require__(27); | ||
module.exports = Array.isArray || function isArray(arg) { | ||
return cof(arg) == 'Array'; | ||
}; | ||
/***/ }), | ||
/* 56 */ | ||
/***/ (function(module, exports, __webpack_require__) { | ||
"use strict"; | ||
var create = __webpack_require__(32); | ||
var descriptor = __webpack_require__(10); | ||
var setToStringTag = __webpack_require__(19); | ||
var IteratorPrototype = {}; | ||
// 25.1.2.1.1 %IteratorPrototype%[@@iterator]() | ||
__webpack_require__(3)(IteratorPrototype, __webpack_require__(6)('iterator'), function () { return this; }); | ||
module.exports = function (Constructor, NAME, next) { | ||
Constructor.prototype = create(IteratorPrototype, { next: descriptor(1, next) }); | ||
setToStringTag(Constructor, NAME + ' Iterator'); | ||
}; | ||
/***/ }), | ||
/* 57 */ | ||
/***/ (function(module, exports) { | ||
module.exports = function (done, value) { | ||
return { value: value, done: !!done }; | ||
}; | ||
/***/ }), | ||
/* 58 */ | ||
/***/ (function(module, exports, __webpack_require__) { | ||
var META = __webpack_require__(11)('meta'); | ||
var isObject = __webpack_require__(7); | ||
var has = __webpack_require__(1); | ||
var setDesc = __webpack_require__(4).f; | ||
var id = 0; | ||
var isExtensible = Object.isExtensible || function () { | ||
return true; | ||
}; | ||
var FREEZE = !__webpack_require__(9)(function () { | ||
return isExtensible(Object.preventExtensions({})); | ||
}); | ||
var setMeta = function (it) { | ||
setDesc(it, META, { value: { | ||
i: 'O' + ++id, // object ID | ||
w: {} // weak collections IDs | ||
} }); | ||
}; | ||
var fastKey = function (it, create) { | ||
// return primitive with prefix | ||
if (!isObject(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it; | ||
if (!has(it, META)) { | ||
// can't set metadata to uncaught frozen object | ||
if (!isExtensible(it)) return 'F'; | ||
// not necessary to add metadata | ||
if (!create) return 'E'; | ||
// add missing metadata | ||
setMeta(it); | ||
// return object ID | ||
} return it[META].i; | ||
}; | ||
var getWeak = function (it, create) { | ||
if (!has(it, META)) { | ||
// can't set metadata to uncaught frozen object | ||
if (!isExtensible(it)) return true; | ||
// not necessary to add metadata | ||
if (!create) return false; | ||
// add missing metadata | ||
setMeta(it); | ||
// return hash weak collections IDs | ||
} return it[META].w; | ||
}; | ||
// add metadata on freeze-family methods calling | ||
var onFreeze = function (it) { | ||
if (FREEZE && meta.NEED && isExtensible(it) && !has(it, META)) setMeta(it); | ||
return it; | ||
}; | ||
var meta = module.exports = { | ||
KEY: META, | ||
NEED: false, | ||
fastKey: fastKey, | ||
getWeak: getWeak, | ||
onFreeze: onFreeze | ||
}; | ||
/***/ }), | ||
/* 59 */ | ||
/***/ (function(module, exports, __webpack_require__) { | ||
var dP = __webpack_require__(4); | ||
var anObject = __webpack_require__(8); | ||
var getKeys = __webpack_require__(17); | ||
module.exports = __webpack_require__(2) ? Object.defineProperties : function defineProperties(O, Properties) { | ||
anObject(O); | ||
var keys = getKeys(Properties); | ||
var length = keys.length; | ||
var i = 0; | ||
var P; | ||
while (length > i) dP.f(O, P = keys[i++], Properties[P]); | ||
return O; | ||
}; | ||
/***/ }), | ||
/* 60 */ | ||
/***/ (function(module, exports, __webpack_require__) { | ||
var pIE = __webpack_require__(18); | ||
var createDesc = __webpack_require__(10); | ||
var toIObject = __webpack_require__(5); | ||
var toPrimitive = __webpack_require__(23); | ||
var has = __webpack_require__(1); | ||
var IE8_DOM_DEFINE = __webpack_require__(30); | ||
var gOPD = Object.getOwnPropertyDescriptor; | ||
exports.f = __webpack_require__(2) ? gOPD : function getOwnPropertyDescriptor(O, P) { | ||
O = toIObject(O); | ||
P = toPrimitive(P, true); | ||
if (IE8_DOM_DEFINE) try { | ||
return gOPD(O, P); | ||
} catch (e) { /* empty */ } | ||
if (has(O, P)) return createDesc(!pIE.f.call(O, P), O[P]); | ||
}; | ||
/***/ }), | ||
/* 61 */ | ||
/***/ (function(module, exports, __webpack_require__) { | ||
// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window | ||
var toIObject = __webpack_require__(5); | ||
var gOPN = __webpack_require__(33).f; | ||
var toString = {}.toString; | ||
var windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames | ||
? Object.getOwnPropertyNames(window) : []; | ||
var getWindowNames = function (it) { | ||
try { | ||
return gOPN(it); | ||
} catch (e) { | ||
return windowNames.slice(); | ||
} | ||
}; | ||
module.exports.f = function getOwnPropertyNames(it) { | ||
return windowNames && toString.call(it) == '[object Window]' ? getWindowNames(it) : gOPN(toIObject(it)); | ||
}; | ||
/***/ }), | ||
/* 62 */ | ||
/***/ (function(module, exports, __webpack_require__) { | ||
// 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O) | ||
var has = __webpack_require__(1); | ||
var toObject = __webpack_require__(66); | ||
var IE_PROTO = __webpack_require__(20)('IE_PROTO'); | ||
var ObjectProto = Object.prototype; | ||
module.exports = Object.getPrototypeOf || function (O) { | ||
O = toObject(O); | ||
if (has(O, IE_PROTO)) return O[IE_PROTO]; | ||
if (typeof O.constructor == 'function' && O instanceof O.constructor) { | ||
return O.constructor.prototype; | ||
} return O instanceof Object ? ObjectProto : null; | ||
}; | ||
/***/ }), | ||
/* 63 */ | ||
/***/ (function(module, exports, __webpack_require__) { | ||
var toInteger = __webpack_require__(22); | ||
var defined = __webpack_require__(13); | ||
// true -> String#at | ||
// false -> String#codePointAt | ||
module.exports = function (TO_STRING) { | ||
return function (that, pos) { | ||
var s = String(defined(that)); | ||
var i = toInteger(pos); | ||
var l = s.length; | ||
var a, b; | ||
if (i < 0 || i >= l) return TO_STRING ? '' : undefined; | ||
a = s.charCodeAt(i); | ||
return a < 0xd800 || a > 0xdbff || i + 1 === l || (b = s.charCodeAt(i + 1)) < 0xdc00 || b > 0xdfff | ||
? TO_STRING ? s.charAt(i) : a | ||
: TO_STRING ? s.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000; | ||
}; | ||
}; | ||
/***/ }), | ||
/* 64 */ | ||
/***/ (function(module, exports, __webpack_require__) { | ||
var toInteger = __webpack_require__(22); | ||
var max = Math.max; | ||
var min = Math.min; | ||
module.exports = function (index, length) { | ||
index = toInteger(index); | ||
return index < 0 ? max(index + length, 0) : min(index, length); | ||
}; | ||
/***/ }), | ||
/* 65 */ | ||
/***/ (function(module, exports, __webpack_require__) { | ||
// 7.1.15 ToLength | ||
var toInteger = __webpack_require__(22); | ||
var min = Math.min; | ||
module.exports = function (it) { | ||
return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991 | ||
}; | ||
/***/ }), | ||
/* 66 */ | ||
/***/ (function(module, exports, __webpack_require__) { | ||
// 7.1.13 ToObject(argument) | ||
var defined = __webpack_require__(13); | ||
module.exports = function (it) { | ||
return Object(defined(it)); | ||
}; | ||
/***/ }), | ||
/* 67 */ | ||
/***/ (function(module, exports, __webpack_require__) { | ||
"use strict"; | ||
var addToUnscopables = __webpack_require__(49); | ||
var step = __webpack_require__(57); | ||
var Iterators = __webpack_require__(15); | ||
var toIObject = __webpack_require__(5); | ||
// 22.1.3.4 Array.prototype.entries() | ||
// 22.1.3.13 Array.prototype.keys() | ||
// 22.1.3.29 Array.prototype.values() | ||
// 22.1.3.30 Array.prototype[@@iterator]() | ||
module.exports = __webpack_require__(31)(Array, 'Array', function (iterated, kind) { | ||
this._t = toIObject(iterated); // target | ||
this._i = 0; // next index | ||
this._k = kind; // kind | ||
// 22.1.5.2.1 %ArrayIteratorPrototype%.next() | ||
}, function () { | ||
var O = this._t; | ||
var kind = this._k; | ||
var index = this._i++; | ||
if (!O || index >= O.length) { | ||
this._t = undefined; | ||
return step(1); | ||
} | ||
if (kind == 'keys') return step(0, index); | ||
if (kind == 'values') return step(0, O[index]); | ||
return step(0, [index, O[index]]); | ||
}, 'values'); | ||
// argumentsList[@@iterator] is %ArrayProto_values% (9.4.4.6, 9.4.4.7) | ||
Iterators.Arguments = Iterators.Array; | ||
addToUnscopables('keys'); | ||
addToUnscopables('values'); | ||
addToUnscopables('entries'); | ||
/***/ }), | ||
/* 68 */ | ||
/***/ (function(module, exports) { | ||
/***/ }), | ||
/* 69 */ | ||
/***/ (function(module, exports, __webpack_require__) { | ||
"use strict"; | ||
var $at = __webpack_require__(63)(true); | ||
// 21.1.3.27 String.prototype[@@iterator]() | ||
__webpack_require__(31)(String, 'String', function (iterated) { | ||
this._t = String(iterated); // target | ||
this._i = 0; // next index | ||
// 21.1.5.2.1 %StringIteratorPrototype%.next() | ||
}, function () { | ||
var O = this._t; | ||
var index = this._i; | ||
var point; | ||
if (index >= O.length) return { value: undefined, done: true }; | ||
point = $at(O, index); | ||
this._i += point.length; | ||
return { value: point, done: false }; | ||
}); | ||
/***/ }), | ||
/* 70 */ | ||
/***/ (function(module, exports, __webpack_require__) { | ||
"use strict"; | ||
// ECMAScript 6 symbols shim | ||
var global = __webpack_require__(0); | ||
var has = __webpack_require__(1); | ||
var DESCRIPTORS = __webpack_require__(2); | ||
var $export = __webpack_require__(29); | ||
var redefine = __webpack_require__(36); | ||
var META = __webpack_require__(58).KEY; | ||
var $fails = __webpack_require__(9); | ||
var shared = __webpack_require__(21); | ||
var setToStringTag = __webpack_require__(19); | ||
var uid = __webpack_require__(11); | ||
var wks = __webpack_require__(6); | ||
var wksExt = __webpack_require__(25); | ||
var wksDefine = __webpack_require__(24); | ||
var enumKeys = __webpack_require__(52); | ||
var isArray = __webpack_require__(55); | ||
var anObject = __webpack_require__(8); | ||
var isObject = __webpack_require__(7); | ||
var toIObject = __webpack_require__(5); | ||
var toPrimitive = __webpack_require__(23); | ||
var createDesc = __webpack_require__(10); | ||
var _create = __webpack_require__(32); | ||
var gOPNExt = __webpack_require__(61); | ||
var $GOPD = __webpack_require__(60); | ||
var $DP = __webpack_require__(4); | ||
var $keys = __webpack_require__(17); | ||
var gOPD = $GOPD.f; | ||
var dP = $DP.f; | ||
var gOPN = gOPNExt.f; | ||
var $Symbol = global.Symbol; | ||
var $JSON = global.JSON; | ||
var _stringify = $JSON && $JSON.stringify; | ||
var PROTOTYPE = 'prototype'; | ||
var HIDDEN = wks('_hidden'); | ||
var TO_PRIMITIVE = wks('toPrimitive'); | ||
var isEnum = {}.propertyIsEnumerable; | ||
var SymbolRegistry = shared('symbol-registry'); | ||
var AllSymbols = shared('symbols'); | ||
var OPSymbols = shared('op-symbols'); | ||
var ObjectProto = Object[PROTOTYPE]; | ||
var USE_NATIVE = typeof $Symbol == 'function'; | ||
var QObject = global.QObject; | ||
// Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173 | ||
var setter = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild; | ||
// fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687 | ||
var setSymbolDesc = DESCRIPTORS && $fails(function () { | ||
return _create(dP({}, 'a', { | ||
get: function () { return dP(this, 'a', { value: 7 }).a; } | ||
})).a != 7; | ||
}) ? function (it, key, D) { | ||
var protoDesc = gOPD(ObjectProto, key); | ||
if (protoDesc) delete ObjectProto[key]; | ||
dP(it, key, D); | ||
if (protoDesc && it !== ObjectProto) dP(ObjectProto, key, protoDesc); | ||
} : dP; | ||
var wrap = function (tag) { | ||
var sym = AllSymbols[tag] = _create($Symbol[PROTOTYPE]); | ||
sym._k = tag; | ||
return sym; | ||
}; | ||
var isSymbol = USE_NATIVE && typeof $Symbol.iterator == 'symbol' ? function (it) { | ||
return typeof it == 'symbol'; | ||
} : function (it) { | ||
return it instanceof $Symbol; | ||
}; | ||
var $defineProperty = function defineProperty(it, key, D) { | ||
if (it === ObjectProto) $defineProperty(OPSymbols, key, D); | ||
anObject(it); | ||
key = toPrimitive(key, true); | ||
anObject(D); | ||
if (has(AllSymbols, key)) { | ||
if (!D.enumerable) { | ||
if (!has(it, HIDDEN)) dP(it, HIDDEN, createDesc(1, {})); | ||
it[HIDDEN][key] = true; | ||
} else { | ||
if (has(it, HIDDEN) && it[HIDDEN][key]) it[HIDDEN][key] = false; | ||
D = _create(D, { enumerable: createDesc(0, false) }); | ||
} return setSymbolDesc(it, key, D); | ||
} return dP(it, key, D); | ||
}; | ||
var $defineProperties = function defineProperties(it, P) { | ||
anObject(it); | ||
var keys = enumKeys(P = toIObject(P)); | ||
var i = 0; | ||
var l = keys.length; | ||
var key; | ||
while (l > i) $defineProperty(it, key = keys[i++], P[key]); | ||
return it; | ||
}; | ||
var $create = function create(it, P) { | ||
return P === undefined ? _create(it) : $defineProperties(_create(it), P); | ||
}; | ||
var $propertyIsEnumerable = function propertyIsEnumerable(key) { | ||
var E = isEnum.call(this, key = toPrimitive(key, true)); | ||
if (this === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return false; | ||
return E || !has(this, key) || !has(AllSymbols, key) || has(this, HIDDEN) && this[HIDDEN][key] ? E : true; | ||
}; | ||
var $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(it, key) { | ||
it = toIObject(it); | ||
key = toPrimitive(key, true); | ||
if (it === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return; | ||
var D = gOPD(it, key); | ||
if (D && has(AllSymbols, key) && !(has(it, HIDDEN) && it[HIDDEN][key])) D.enumerable = true; | ||
return D; | ||
}; | ||
var $getOwnPropertyNames = function getOwnPropertyNames(it) { | ||
var names = gOPN(toIObject(it)); | ||
var result = []; | ||
var i = 0; | ||
var key; | ||
while (names.length > i) { | ||
if (!has(AllSymbols, key = names[i++]) && key != HIDDEN && key != META) result.push(key); | ||
} return result; | ||
}; | ||
var $getOwnPropertySymbols = function getOwnPropertySymbols(it) { | ||
var IS_OP = it === ObjectProto; | ||
var names = gOPN(IS_OP ? OPSymbols : toIObject(it)); | ||
var result = []; | ||
var i = 0; | ||
var key; | ||
while (names.length > i) { | ||
if (has(AllSymbols, key = names[i++]) && (IS_OP ? has(ObjectProto, key) : true)) result.push(AllSymbols[key]); | ||
} return result; | ||
}; | ||
// 19.4.1.1 Symbol([description]) | ||
if (!USE_NATIVE) { | ||
$Symbol = function Symbol() { | ||
if (this instanceof $Symbol) throw TypeError('Symbol is not a constructor!'); | ||
var tag = uid(arguments.length > 0 ? arguments[0] : undefined); | ||
var $set = function (value) { | ||
if (this === ObjectProto) $set.call(OPSymbols, value); | ||
if (has(this, HIDDEN) && has(this[HIDDEN], tag)) this[HIDDEN][tag] = false; | ||
setSymbolDesc(this, tag, createDesc(1, value)); | ||
}; | ||
if (DESCRIPTORS && setter) setSymbolDesc(ObjectProto, tag, { configurable: true, set: $set }); | ||
return wrap(tag); | ||
}; | ||
redefine($Symbol[PROTOTYPE], 'toString', function toString() { | ||
return this._k; | ||
}); | ||
$GOPD.f = $getOwnPropertyDescriptor; | ||
$DP.f = $defineProperty; | ||
__webpack_require__(33).f = gOPNExt.f = $getOwnPropertyNames; | ||
__webpack_require__(18).f = $propertyIsEnumerable; | ||
__webpack_require__(34).f = $getOwnPropertySymbols; | ||
if (DESCRIPTORS && !__webpack_require__(16)) { | ||
redefine(ObjectProto, 'propertyIsEnumerable', $propertyIsEnumerable, true); | ||
} | ||
wksExt.f = function (name) { | ||
return wrap(wks(name)); | ||
}; | ||
} | ||
$export($export.G + $export.W + $export.F * !USE_NATIVE, { Symbol: $Symbol }); | ||
for (var es6Symbols = ( | ||
// 19.4.2.2, 19.4.2.3, 19.4.2.4, 19.4.2.6, 19.4.2.8, 19.4.2.9, 19.4.2.10, 19.4.2.11, 19.4.2.12, 19.4.2.13, 19.4.2.14 | ||
'hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables' | ||
).split(','), j = 0; es6Symbols.length > j;)wks(es6Symbols[j++]); | ||
for (var wellKnownSymbols = $keys(wks.store), k = 0; wellKnownSymbols.length > k;) wksDefine(wellKnownSymbols[k++]); | ||
$export($export.S + $export.F * !USE_NATIVE, 'Symbol', { | ||
// 19.4.2.1 Symbol.for(key) | ||
'for': function (key) { | ||
return has(SymbolRegistry, key += '') | ||
? SymbolRegistry[key] | ||
: SymbolRegistry[key] = $Symbol(key); | ||
}, | ||
// 19.4.2.5 Symbol.keyFor(sym) | ||
keyFor: function keyFor(sym) { | ||
if (!isSymbol(sym)) throw TypeError(sym + ' is not a symbol!'); | ||
for (var key in SymbolRegistry) if (SymbolRegistry[key] === sym) return key; | ||
}, | ||
useSetter: function () { setter = true; }, | ||
useSimple: function () { setter = false; } | ||
}); | ||
$export($export.S + $export.F * !USE_NATIVE, 'Object', { | ||
// 19.1.2.2 Object.create(O [, Properties]) | ||
create: $create, | ||
// 19.1.2.4 Object.defineProperty(O, P, Attributes) | ||
defineProperty: $defineProperty, | ||
// 19.1.2.3 Object.defineProperties(O, Properties) | ||
defineProperties: $defineProperties, | ||
// 19.1.2.6 Object.getOwnPropertyDescriptor(O, P) | ||
getOwnPropertyDescriptor: $getOwnPropertyDescriptor, | ||
// 19.1.2.7 Object.getOwnPropertyNames(O) | ||
getOwnPropertyNames: $getOwnPropertyNames, | ||
// 19.1.2.8 Object.getOwnPropertySymbols(O) | ||
getOwnPropertySymbols: $getOwnPropertySymbols | ||
}); | ||
// 24.3.2 JSON.stringify(value [, replacer [, space]]) | ||
$JSON && $export($export.S + $export.F * (!USE_NATIVE || $fails(function () { | ||
var S = $Symbol(); | ||
// MS Edge converts symbol values to JSON as {} | ||
// WebKit converts symbol values to JSON as null | ||
// V8 throws on boxed symbols | ||
return _stringify([S]) != '[null]' || _stringify({ a: S }) != '{}' || _stringify(Object(S)) != '{}'; | ||
})), 'JSON', { | ||
stringify: function stringify(it) { | ||
var args = [it]; | ||
var i = 1; | ||
var replacer, $replacer; | ||
while (arguments.length > i) args.push(arguments[i++]); | ||
$replacer = replacer = args[1]; | ||
if (!isObject(replacer) && it === undefined || isSymbol(it)) return; // IE8 returns string on undefined | ||
if (!isArray(replacer)) replacer = function (key, value) { | ||
if (typeof $replacer == 'function') value = $replacer.call(this, key, value); | ||
if (!isSymbol(value)) return value; | ||
}; | ||
args[1] = replacer; | ||
return _stringify.apply($JSON, args); | ||
} | ||
}); | ||
// 19.4.3.4 Symbol.prototype[@@toPrimitive](hint) | ||
$Symbol[PROTOTYPE][TO_PRIMITIVE] || __webpack_require__(3)($Symbol[PROTOTYPE], TO_PRIMITIVE, $Symbol[PROTOTYPE].valueOf); | ||
// 19.4.3.5 Symbol.prototype[@@toStringTag] | ||
setToStringTag($Symbol, 'Symbol'); | ||
// 20.2.1.9 Math[@@toStringTag] | ||
setToStringTag(Math, 'Math', true); | ||
// 24.3.3 JSON[@@toStringTag] | ||
setToStringTag(global.JSON, 'JSON', true); | ||
/***/ }), | ||
/* 71 */ | ||
/***/ (function(module, exports, __webpack_require__) { | ||
__webpack_require__(24)('asyncIterator'); | ||
/***/ }), | ||
/* 72 */ | ||
/***/ (function(module, exports, __webpack_require__) { | ||
__webpack_require__(24)('observable'); | ||
/***/ }), | ||
/* 73 */ | ||
/***/ (function(module, exports, __webpack_require__) { | ||
__webpack_require__(67); | ||
var global = __webpack_require__(0); | ||
var hide = __webpack_require__(3); | ||
var Iterators = __webpack_require__(15); | ||
var TO_STRING_TAG = __webpack_require__(6)('toStringTag'); | ||
var DOMIterables = ('CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,' + | ||
'DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,' + | ||
'MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,' + | ||
'SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,' + | ||
'TextTrackList,TouchList').split(','); | ||
for (var i = 0; i < DOMIterables.length; i++) { | ||
var NAME = DOMIterables[i]; | ||
var Collection = global[NAME]; | ||
var proto = Collection && Collection.prototype; | ||
if (proto && !proto[TO_STRING_TAG]) hide(proto, TO_STRING_TAG, NAME); | ||
Iterators[NAME] = Iterators.Array; | ||
} | ||
/***/ }), | ||
/* 74 */ | ||
/***/ (function(module, exports, __webpack_require__) { | ||
"use strict"; | ||
/* WEBPACK VAR INJECTION */(function(module) { | ||
var _typeof = __webpack_require__(37)["default"]; | ||
// require('es5-shim'); | ||
// require('es5-shim/es5-sham'); | ||
__webpack_require__(38); | ||
// require('babel-polyfill'); | ||
// require('../third-party/bluebird.min.js'); | ||
// require('../third-party/bignumber.min.js'); | ||
(function (global, factory) { | ||
"use strict"; | ||
if (( false ? "undefined" : _typeof(module)) === "object" && _typeof(module.exports) === "object") { | ||
// For CommonJS and CommonJS-like environments where a proper `window` | ||
// For environments that do not have a `window` with a `document` | ||
// (such as Node.js), expose a factory as module.exports. | ||
// This accentuates the need for the creation of a real `window`. | ||
module.exports = global.document ? factory(global, true) : function (w) { | ||
if (!w.document) { | ||
throw new Error("febs requires a window with a document"); | ||
} | ||
return factory(w); | ||
}; | ||
} else { | ||
factory(global); | ||
} | ||
// Pass this if window is not defined yet | ||
})(typeof window !== "undefined" ? window : undefined, function (window, noGlobal) { | ||
var febs = {}; | ||
febs.crypt = __webpack_require__(39); | ||
if (!window['febs']) window['febs'] = febs;else if (window['febs'].crypt) { | ||
for (var key in febs.crypt) { | ||
window['febs'].crypt[key] = febs.crypt[key]; | ||
} | ||
} else { | ||
window['febs'].crypt = febs.crypt; | ||
} | ||
return febs; | ||
}); | ||
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(40)(module))) | ||
/***/ }) | ||
/******/ ]); | ||
//# sourceMappingURL=febs.md5.js.map |
@@ -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=74)}([function(t,n){var r=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=r)},function(t,n){var r={}.hasOwnProperty;t.exports=function(t,n){return r.call(t,n)}},function(t,n,r){t.exports=!r(9)(function(){return 7!=Object.defineProperty({},"a",{"get":function(){return 7}}).a})},function(t,n,r){var e=r(4),o=r(10);t.exports=r(2)?function(t,n,r){return e.f(t,n,o(1,r))}:function(t,n,r){return t[n]=r,t}},function(t,n,r){var e=r(8),o=r(30),i=r(23),u=Object.defineProperty;n.f=r(2)?Object.defineProperty:function(t,n,r){if(e(t),n=i(n,!0),e(r),o)try{return u(t,n,r)}catch(f){}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return"value"in r&&(t[n]=r.value),t}},function(t,n,r){var e=r(54),o=r(13);t.exports=function(t){return e(o(t))}},function(t,n,r){var e=r(21)("wks"),o=r(11),i=r(0).Symbol,u="function"==typeof i;(t.exports=function(t){return e[t]||(e[t]=u&&i[t]||(u?i:o)("Symbol."+t))}).store=e},function(t,n){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,n,r){var e=r(7);t.exports=function(t){if(!e(t))throw TypeError(t+" is not an object!");return t}},function(t,n){t.exports=function(t){try{return!!t()}catch(n){return!0}}},function(t,n){t.exports=function(t,n){return{"enumerable":!(1&t),"configurable":!(2&t),"writable":!(4&t),"value":n}}},function(t,n){var r=0,e=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++r+e).toString(36))}},function(t,n){var r=t.exports={"version":"2.5.5"};"number"==typeof __e&&(__e=r)},function(t,n){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,n){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,n){t.exports={}},function(t,n){t.exports=!0},function(t,n,r){var e=r(35),o=r(14);t.exports=Object.keys||function(t){return e(t,o)}},function(t,n){n.f={}.propertyIsEnumerable},function(t,n,r){var e=r(4).f,o=r(1),i=r(6)("toStringTag");t.exports=function(t,n,r){t&&!o(t=r?t:t.prototype,i)&&e(t,i,{"configurable":!0,"value":n})}},function(t,n,r){var e=r(21)("keys"),o=r(11);t.exports=function(t){return e[t]||(e[t]=o(t))}},function(t,n,r){var e=r(0),o=e["__core-js_shared__"]||(e["__core-js_shared__"]={});t.exports=function(t){return o[t]||(o[t]={})}},function(t,n){var r=Math.ceil,e=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?e:r)(t)}},function(t,n,r){var e=r(7);t.exports=function(t,n){if(!e(t))return t;var r,o;if(n&&"function"==typeof(r=t.toString)&&!e(o=r.call(t)))return o;if("function"==typeof(r=t.valueOf)&&!e(o=r.call(t)))return o;if(!n&&"function"==typeof(r=t.toString)&&!e(o=r.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,n,r){var e=r(0),o=r(12),i=r(16),u=r(25),f=r(4).f;t.exports=function(t){var n=o.Symbol||(o.Symbol=i?{}:e.Symbol||{});"_"==t.charAt(0)||t in n||f(n,t,{"value":u.f(t)})}},function(t,n,r){n.f=r(6)},function(t,n){var r={"utf8":{"stringToBytes":function(t){return r.bin.stringToBytes(unescape(encodeURIComponent(t)))},"bytesToString":function(t){return decodeURIComponent(escape(r.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=r},function(t,n){var r={}.toString;t.exports=function(t){return r.call(t).slice(8,-1)}},function(t,n,r){var e=r(7),o=r(0).document,i=e(o)&&e(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},function(t,n,r){var e=r(0),o=r(12),i=r(51),u=r(3),f=r(1),c=function(t,n,r){var s,a,p,l=t&c.F,y=t&c.G,v=t&c.S,h=t&c.P,d=t&c.B,b=t&c.W,g=y?o:o[n]||(o[n]={}),m=g.prototype,x=y?e:v?e[n]:(e[n]||{}).prototype;y&&(r=n);for(s in r)(a=!l&&x&&void 0!==x[s])&&f(g,s)||(p=a?x[s]:r[s],g[s]=y&&"function"!=typeof x[s]?r[s]:d&&a?i(p,e):b&&x[s]==p?function(t){var n=function(n,r,e){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(n);case 2:return new t(n,r)}return new t(n,r,e)}return t.apply(this,arguments)};return n.prototype=t.prototype,n}(p):h&&"function"==typeof p?i(Function.call,p):p,h&&((g.virtual||(g.virtual={}))[s]=p,t&c.R&&m&&!m[s]&&u(m,s,p)))};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},function(t,n,r){t.exports=!r(2)&&!r(9)(function(){return 7!=Object.defineProperty(r(28)("div"),"a",{"get":function(){return 7}}).a})},function(t,n,r){"use strict";var e=r(16),o=r(29),i=r(36),u=r(3),f=r(15),c=r(56),s=r(19),a=r(62),p=r(6)("iterator"),l=!([].keys&&"next"in[].keys()),y=function(){return this};t.exports=function(t,n,r,v,h,d,b){c(r,n,v);var g,m,x,S=function(t){if(!l&&t in T)return T[t];switch(t){case"keys":case"values":return function(){return new r(this,t)}}return function(){return new r(this,t)}},w=n+" Iterator",O="values"==h,_=!1,T=t.prototype,j=T[p]||T["@@iterator"]||h&&T[h],P=j||S(h),E=h?O?S("entries"):P:void 0,M="Array"==n?T.entries||j:j;if(M&&(x=a(M.call(new t)))!==Object.prototype&&x.next&&(s(x,w,!0),e||"function"==typeof x[p]||u(x,p,y)),O&&j&&"values"!==j.name&&(_=!0,P=function(){return j.call(this)}),e&&!b||!l&&!_&&T[p]||u(T,p,P),f[n]=P,f[w]=y,h)if(g={"values":O?P:S("values"),"keys":d?P:S("keys"),"entries":E},b)for(m in g)m in T||i(T,m,g[m]);else o(o.P+o.F*(l||_),n,g);return g}},function(t,n,r){var e=r(8),o=r(59),i=r(14),u=r(20)("IE_PROTO"),f=function(){},c=function(){var t,n=r(28)("iframe"),e=i.length;for(n.style.display="none",r(53).appendChild(n),n.src="javascript:",t=n.contentWindow.document,t.open(),t.write("<script>document.F=Object<\/script>"),t.close(),c=t.F;e--;)delete c.prototype[i[e]];return c()};t.exports=Object.create||function(t,n){var r;return null!==t?(f.prototype=e(t),r=new f,f.prototype=null,r[u]=t):r=c(),void 0===n?r:o(r,n)}},function(t,n,r){var e=r(35),o=r(14).concat("length","prototype");n.f=Object.getOwnPropertyNames||function(t){return e(t,o)}},function(t,n){n.f=Object.getOwnPropertySymbols},function(t,n,r){var e=r(1),o=r(5),i=r(50)(!1),u=r(20)("IE_PROTO");t.exports=function(t,n){var r,f=o(t),c=0,s=[];for(r in f)r!=u&&e(f,r)&&s.push(r);for(;n.length>c;)e(f,r=n[c++])&&(~i(s,r)||s.push(r));return s}},function(t,n,r){t.exports=r(3)},function(t,n,r){"use strict";function e(t){return t&&t.__esModule?t:{"default":t}}n.__esModule=!0;var o=r(45),i=e(o),u=r(44),f=e(u),c="function"==typeof f.default&&"symbol"==typeof i.default?function(t){return typeof t}:function(t){return t&&"function"==typeof f.default&&t.constructor===f.default&&t!==f['default'].prototype?"symbol":typeof t};n['default']="function"==typeof f.default&&"symbol"===c(i['default'])?function(t){return void 0===t?"undefined":c(t)}:function(t){return t&&"function"==typeof f.default&&t.constructor===f.default&&t!==f['default'].prototype?"symbol":void 0===t?"undefined":c(t)}},function(t,n){!function(t){"use strict";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?this:window)},function(t,n,r){"use strict";var e=r(43);n.md5=e},function(t,n){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){!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){function r(t){return!!t.constructor&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}function e(t){return"function"==typeof t.readFloatLE&&"function"==typeof t.slice&&r(t.slice(0,0))}t.exports=function(t){return null!=t&&(r(t)||e(t)||!!t._isBuffer)}},function(t,n,r){!function(){var n=r(41),e=r(26).utf8,o=r(42),i=r(26).bin,u=function(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 f=n.bytesToWords(t),c=8*t.length,s=1732584193,a=-271733879,p=-1732584194,l=271733878,y=0;y<f.length;y++)f[y]=16711935&(f[y]<<8|f[y]>>>24)|4278255360&(f[y]<<24|f[y]>>>8);f[c>>>5]|=128<<c%32,f[14+(c+64>>>9<<4)]=c;for(var v=u._ff,h=u._gg,d=u._hh,b=u._ii,y=0;y<f.length;y+=16){var g=s,m=a,x=p,S=l;s=v(s,a,p,l,f[y+0],7,-680876936),l=v(l,s,a,p,f[y+1],12,-389564586),p=v(p,l,s,a,f[y+2],17,606105819),a=v(a,p,l,s,f[y+3],22,-1044525330),s=v(s,a,p,l,f[y+4],7,-176418897),l=v(l,s,a,p,f[y+5],12,1200080426),p=v(p,l,s,a,f[y+6],17,-1473231341),a=v(a,p,l,s,f[y+7],22,-45705983),s=v(s,a,p,l,f[y+8],7,1770035416),l=v(l,s,a,p,f[y+9],12,-1958414417),p=v(p,l,s,a,f[y+10],17,-42063),a=v(a,p,l,s,f[y+11],22,-1990404162),s=v(s,a,p,l,f[y+12],7,1804603682),l=v(l,s,a,p,f[y+13],12,-40341101),p=v(p,l,s,a,f[y+14],17,-1502002290),a=v(a,p,l,s,f[y+15],22,1236535329),s=h(s,a,p,l,f[y+1],5,-165796510),l=h(l,s,a,p,f[y+6],9,-1069501632),p=h(p,l,s,a,f[y+11],14,643717713),a=h(a,p,l,s,f[y+0],20,-373897302),s=h(s,a,p,l,f[y+5],5,-701558691),l=h(l,s,a,p,f[y+10],9,38016083),p=h(p,l,s,a,f[y+15],14,-660478335),a=h(a,p,l,s,f[y+4],20,-405537848),s=h(s,a,p,l,f[y+9],5,568446438),l=h(l,s,a,p,f[y+14],9,-1019803690),p=h(p,l,s,a,f[y+3],14,-187363961),a=h(a,p,l,s,f[y+8],20,1163531501),s=h(s,a,p,l,f[y+13],5,-1444681467),l=h(l,s,a,p,f[y+2],9,-51403784),p=h(p,l,s,a,f[y+7],14,1735328473),a=h(a,p,l,s,f[y+12],20,-1926607734),s=d(s,a,p,l,f[y+5],4,-378558),l=d(l,s,a,p,f[y+8],11,-2022574463),p=d(p,l,s,a,f[y+11],16,1839030562),a=d(a,p,l,s,f[y+14],23,-35309556),s=d(s,a,p,l,f[y+1],4,-1530992060),l=d(l,s,a,p,f[y+4],11,1272893353),p=d(p,l,s,a,f[y+7],16,-155497632),a=d(a,p,l,s,f[y+10],23,-1094730640),s=d(s,a,p,l,f[y+13],4,681279174),l=d(l,s,a,p,f[y+0],11,-358537222),p=d(p,l,s,a,f[y+3],16,-722521979),a=d(a,p,l,s,f[y+6],23,76029189),s=d(s,a,p,l,f[y+9],4,-640364487),l=d(l,s,a,p,f[y+12],11,-421815835),p=d(p,l,s,a,f[y+15],16,530742520),a=d(a,p,l,s,f[y+2],23,-995338651),s=b(s,a,p,l,f[y+0],6,-198630844),l=b(l,s,a,p,f[y+7],10,1126891415),p=b(p,l,s,a,f[y+14],15,-1416354905),a=b(a,p,l,s,f[y+5],21,-57434055),s=b(s,a,p,l,f[y+12],6,1700485571),l=b(l,s,a,p,f[y+3],10,-1894986606),p=b(p,l,s,a,f[y+10],15,-1051523),a=b(a,p,l,s,f[y+1],21,-2054922799),s=b(s,a,p,l,f[y+8],6,1873313359),l=b(l,s,a,p,f[y+15],10,-30611744),p=b(p,l,s,a,f[y+6],15,-1560198380),a=b(a,p,l,s,f[y+13],21,1309151649),s=b(s,a,p,l,f[y+4],6,-145523070),l=b(l,s,a,p,f[y+11],10,-1120210379),p=b(p,l,s,a,f[y+2],15,718787259),a=b(a,p,l,s,f[y+9],21,-343485551),s=s+g>>>0,a=a+m>>>0,p=p+x>>>0,l=l+S>>>0}return n.endian([s,a,p,l])};u._ff=function(t,n,r,e,o,i,u){var f=t+(n&r|~n&e)+(o>>>0)+u;return(f<<i|f>>>32-i)+n},u._gg=function(t,n,r,e,o,i,u){var f=t+(n&e|r&~e)+(o>>>0)+u;return(f<<i|f>>>32-i)+n},u._hh=function(t,n,r,e,o,i,u){var f=t+(n^r^e)+(o>>>0)+u;return(f<<i|f>>>32-i)+n},u._ii=function(t,n,r,e,o,i,u){var f=t+(r^(n|~e))+(o>>>0)+u;return(f<<i|f>>>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,n,r){t.exports={"default":r(46),"__esModule":!0}},function(t,n,r){t.exports={"default":r(47),"__esModule":!0}},function(t,n,r){r(70),r(68),r(71),r(72),t.exports=r(12).Symbol},function(t,n,r){r(69),r(73),t.exports=r(25).f("iterator")},function(t,n){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,n){t.exports=function(){}},function(t,n,r){var e=r(5),o=r(65),i=r(64);t.exports=function(t){return function(n,r,u){var f,c=e(n),s=o(c.length),a=i(u,s);if(t&&r!=r){for(;s>a;)if((f=c[a++])!=f)return!0}else for(;s>a;a++)if((t||a in c)&&c[a]===r)return t||a||0;return!t&&-1}}},function(t,n,r){var e=r(48);t.exports=function(t,n,r){if(e(t),void 0===n)return t;switch(r){case 1:return function(r){return t.call(n,r)};case 2:return function(r,e){return t.call(n,r,e)};case 3:return function(r,e,o){return t.call(n,r,e,o)}}return function(){return t.apply(n,arguments)}}},function(t,n,r){var e=r(17),o=r(34),i=r(18);t.exports=function(t){var n=e(t),r=o.f;if(r)for(var u,f=r(t),c=i.f,s=0;f.length>s;)c.call(t,u=f[s++])&&n.push(u);return n}},function(t,n,r){var e=r(0).document;t.exports=e&&e.documentElement},function(t,n,r){var e=r(27);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==e(t)?t.split(""):Object(t)}},function(t,n,r){var e=r(27);t.exports=Array.isArray||function(t){return"Array"==e(t)}},function(t,n,r){"use strict";var e=r(32),o=r(10),i=r(19),u={};r(3)(u,r(6)("iterator"),function(){return this}),t.exports=function(t,n,r){t.prototype=e(u,{"next":o(1,r)}),i(t,n+" Iterator")}},function(t,n){t.exports=function(t,n){return{"value":n,"done":!!t}}},function(t,n,r){var e=r(11)("meta"),o=r(7),i=r(1),u=r(4).f,f=0,c=Object.isExtensible||function(){return!0},s=!r(9)(function(){return c(Object.preventExtensions({}))}),a=function(t){u(t,e,{"value":{"i":"O"+ ++f,"w":{}}})},p=function(t,n){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,e)){if(!c(t))return"F";if(!n)return"E";a(t)}return t[e].i},l=function(t,n){if(!i(t,e)){if(!c(t))return!0;if(!n)return!1;a(t)}return t[e].w},y=function(t){return s&&v.NEED&&c(t)&&!i(t,e)&&a(t),t},v=t.exports={"KEY":e,"NEED":!1,"fastKey":p,"getWeak":l,"onFreeze":y}},function(t,n,r){var e=r(4),o=r(8),i=r(17);t.exports=r(2)?Object.defineProperties:function(t,n){o(t);for(var r,u=i(n),f=u.length,c=0;f>c;)e.f(t,r=u[c++],n[r]);return t}},function(t,n,r){var e=r(18),o=r(10),i=r(5),u=r(23),f=r(1),c=r(30),s=Object.getOwnPropertyDescriptor;n.f=r(2)?s:function(t,n){if(t=i(t),n=u(n,!0),c)try{return s(t,n)}catch(r){}if(f(t,n))return o(!e.f.call(t,n),t[n])}},function(t,n,r){var e=r(5),o=r(33).f,i={}.toString,u="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],f=function(t){try{return o(t)}catch(n){return u.slice()}};t.exports.f=function(t){return u&&"[object Window]"==i.call(t)?f(t):o(e(t))}},function(t,n,r){var e=r(1),o=r(66),i=r(20)("IE_PROTO"),u=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),e(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?u:null}},function(t,n,r){var e=r(22),o=r(13);t.exports=function(t){return function(n,r){var i,u,f=String(o(n)),c=e(r),s=f.length;return c<0||c>=s?t?"":void 0:(i=f.charCodeAt(c),i<55296||i>56319||c+1===s||(u=f.charCodeAt(c+1))<56320||u>57343?t?f.charAt(c):i:t?f.slice(c,c+2):u-56320+(i-55296<<10)+65536)}}},function(t,n,r){var e=r(22),o=Math.max,i=Math.min;t.exports=function(t,n){return t=e(t),t<0?o(t+n,0):i(t,n)}},function(t,n,r){var e=r(22),o=Math.min;t.exports=function(t){return t>0?o(e(t),9007199254740991):0}},function(t,n,r){var e=r(13);t.exports=function(t){return Object(e(t))}},function(t,n,r){"use strict";var e=r(49),o=r(57),i=r(15),u=r(5);t.exports=r(31)(Array,"Array",function(t,n){this._t=u(t),this._i=0,this._k=n},function(){var t=this._t,n=this._k,r=this._i++;return!t||r>=t.length?(this._t=void 0,o(1)):"keys"==n?o(0,r):"values"==n?o(0,t[r]):o(0,[r,t[r]])},"values"),i.Arguments=i.Array,e("keys"),e("values"),e("entries")},function(t,n){},function(t,n,r){"use strict";var e=r(63)(!0);r(31)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,n=this._t,r=this._i;return r>=n.length?{"value":void 0,"done":!0}:(t=e(n,r),this._i+=t.length,{"value":t,"done":!1})})},function(t,n,r){"use strict";var e=r(0),o=r(1),i=r(2),u=r(29),f=r(36),c=r(58).KEY,s=r(9),a=r(21),p=r(19),l=r(11),y=r(6),v=r(25),h=r(24),d=r(52),b=r(55),g=r(8),m=r(7),x=r(5),S=r(23),w=r(10),O=r(32),_=r(61),T=r(60),j=r(4),P=r(17),E=T.f,M=j.f,L=_.f,A=e.Symbol,k=e.JSON,C=k&&k.stringify,B=y("_hidden"),F=y("toPrimitive"),I={}.propertyIsEnumerable,N=a("symbol-registry"),R=a("symbols"),D=a("op-symbols"),G=Object.prototype,W="function"==typeof A,V=e.QObject,H=!V||!V.prototype||!V.prototype.findChild,z=i&&s(function(){return 7!=O(M({},"a",{"get":function(){return M(this,"a",{"value":7}).a}})).a})?function(t,n,r){var e=E(G,n);e&&delete G[n],M(t,n,r),e&&t!==G&&M(G,n,e)}:M,J=function(t){var n=R[t]=O(A.prototype);return n._k=t,n},K=W&&"symbol"==typeof A.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof A},U=function(t,n,r){return t===G&&U(D,n,r),g(t),n=S(n,!0),g(r),o(R,n)?(r.enumerable?(o(t,B)&&t[B][n]&&(t[B][n]=!1),r=O(r,{"enumerable":w(0,!1)})):(o(t,B)||M(t,B,w(1,{})),t[B][n]=!0),z(t,n,r)):M(t,n,r)},q=function(t,n){g(t);for(var r,e=d(n=x(n)),o=0,i=e.length;i>o;)U(t,r=e[o++],n[r]);return t},Y=function(t,n){return void 0===n?O(t):q(O(t),n)},Q=function(t){var n=I.call(this,t=S(t,!0));return!(this===G&&o(R,t)&&!o(D,t))&&(!(n||!o(this,t)||!o(R,t)||o(this,B)&&this[B][t])||n)},Z=function(t,n){if(t=x(t),n=S(n,!0),t!==G||!o(R,n)||o(D,n)){var r=E(t,n);return!r||!o(R,n)||o(t,B)&&t[B][n]||(r.enumerable=!0),r}},X=function(t){for(var n,r=L(x(t)),e=[],i=0;r.length>i;)o(R,n=r[i++])||n==B||n==c||e.push(n);return e},$=function(t){for(var n,r=t===G,e=L(r?D:x(t)),i=[],u=0;e.length>u;)!o(R,n=e[u++])||r&&!o(G,n)||i.push(R[n]);return i};W||(A=function(){if(this instanceof A)throw TypeError("Symbol is not a constructor!");var t=l(arguments.length>0?arguments[0]:void 0),n=function(r){this===G&&n.call(D,r),o(this,B)&&o(this[B],t)&&(this[B][t]=!1),z(this,t,w(1,r))};return i&&H&&z(G,t,{"configurable":!0,"set":n}),J(t)},f(A.prototype,"toString",function(){return this._k}),T.f=Z,j.f=U,r(33).f=_.f=X,r(18).f=Q,r(34).f=$,i&&!r(16)&&f(G,"propertyIsEnumerable",Q,!0),v.f=function(t){return J(y(t))}),u(u.G+u.W+u.F*!W,{"Symbol":A});for(var tt="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),nt=0;tt.length>nt;)y(tt[nt++]);for(var rt=P(y.store),et=0;rt.length>et;)h(rt[et++]);u(u.S+u.F*!W,"Symbol",{"for":function(t){return o(N,t+="")?N[t]:N[t]=A(t)},"keyFor":function(t){if(!K(t))throw TypeError(t+" is not a symbol!");for(var n in N)if(N[n]===t)return n},"useSetter":function(){H=!0},"useSimple":function(){H=!1}}),u(u.S+u.F*!W,"Object",{"create":Y,"defineProperty":U,"defineProperties":q,"getOwnPropertyDescriptor":Z,"getOwnPropertyNames":X,"getOwnPropertySymbols":$}),k&&u(u.S+u.F*(!W||s(function(){var t=A();return"[null]"!=C([t])||"{}"!=C({"a":t})||"{}"!=C(Object(t))})),"JSON",{"stringify":function(t){for(var n,r,e=[t],o=1;arguments.length>o;)e.push(arguments[o++]);if(r=n=e[1],(m(n)||void 0!==t)&&!K(t))return b(n)||(n=function(t,n){if("function"==typeof r&&(n=r.call(this,t,n)),!K(n))return n}),e[1]=n,C.apply(k,e)}}),A.prototype[F]||r(3)(A.prototype,F,A.prototype.valueOf),p(A,"Symbol"),p(Math,"Math",!0),p(e.JSON,"JSON",!0)},function(t,n,r){r(24)("asyncIterator")},function(t,n,r){r(24)("observable")},function(t,n,r){r(67);for(var e=r(0),o=r(3),i=r(15),u=r(6)("toStringTag"),f="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),c=0;c<f.length;c++){var s=f[c],a=e[s],p=a&&a.prototype;p&&!p[u]&&o(p,u,s),i[s]=i.Array}},function(t,n,r){"use strict";(function(t){var n=r(37).default;r(38),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(39),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(40)(t))}]); | ||
!function(n){function r(e){if(t[e])return t[e].exports;var o=t[e]={"i":e,"l":!1,"exports":{}};return n[e].call(o.exports,o,o.exports,r),o.l=!0,o.exports}var t={};r.m=n,r.c=t,r.i=function(n){return n},r.d=function(n,t,e){r.o(n,t)||Object.defineProperty(n,t,{"configurable":!1,"enumerable":!0,"get":e})},r.n=function(n){var t=n&&n.__esModule?function(){return n.default}:function(){return n};return r.d(t,"a",t),t},r.o=function(n,r){return Object.prototype.hasOwnProperty.call(n,r)},r.p="",r(r.s=3)}([function(n,r){var t={"utf8":{"stringToBytes":function(n){return t.bin.stringToBytes(unescape(encodeURIComponent(n)))},"bytesToString":function(n){return decodeURIComponent(escape(t.bin.bytesToString(n)))}},"bin":{"stringToBytes":function(n){for(var r=[],t=0;t<n.length;t++)r.push(255&n.charCodeAt(t));return r},"bytesToString":function(n){for(var r=[],t=0;t<n.length;t++)r.push(String.fromCharCode(n[t]));return r.join("")}}};n.exports=t},function(n,r){!function(n){"use strict";n.console||(n.console={});for(var r,t,e=n.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();)e[r]||(e[r]={});for(;t=u.pop();)e[t]||(e[t]=o)}("undefined"==typeof window?this:window)},function(n,r,t){"use strict";var e=t(6);r.md5=e},function(n,r,t){t(1),function(r,t){"use strict";"object"==typeof n&&"object"==typeof n.exports?n.exports=r.document?t(r,!0):function(n){if(!n.document)throw new Error("febs requires a window with a document");return t(n)}:t(r)}("undefined"!=typeof window?window:this,function(n,r){var e={};if(e.crypt=t(2),n.febs)if(n.febs.crypt)for(var o in e.crypt)n.febs.crypt[o]=e.crypt[o];else n.febs.crypt=e.crypt;else n.febs=e;return e})},function(n,r){!function(){var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t={"rotl":function(n,r){return n<<r|n>>>32-r},"rotr":function(n,r){return n<<32-r|n>>>r},"endian":function(n){if(n.constructor==Number)return 16711935&t.rotl(n,8)|4278255360&t.rotl(n,24);for(var r=0;r<n.length;r++)n[r]=t.endian(n[r]);return n},"randomBytes":function(n){for(var r=[];n>0;n--)r.push(Math.floor(256*Math.random()));return r},"bytesToWords":function(n){for(var r=[],t=0,e=0;t<n.length;t++,e+=8)r[e>>>5]|=n[t]<<24-e%32;return r},"wordsToBytes":function(n){for(var r=[],t=0;t<32*n.length;t+=8)r.push(n[t>>>5]>>>24-t%32&255);return r},"bytesToHex":function(n){for(var r=[],t=0;t<n.length;t++)r.push((n[t]>>>4).toString(16)),r.push((15&n[t]).toString(16));return r.join("")},"hexToBytes":function(n){for(var r=[],t=0;t<n.length;t+=2)r.push(parseInt(n.substr(t,2),16));return r},"bytesToBase64":function(n){for(var t=[],e=0;e<n.length;e+=3)for(var o=n[e]<<16|n[e+1]<<8|n[e+2],i=0;i<4;i++)8*e+6*i<=8*n.length?t.push(r.charAt(o>>>6*(3-i)&63)):t.push("=");return t.join("")},"base64ToBytes":function(n){n=n.replace(/[^A-Z0-9+\/]/gi,"");for(var t=[],e=0,o=0;e<n.length;o=++e%4)0!=o&&t.push((r.indexOf(n.charAt(e-1))&Math.pow(2,-2*o+8)-1)<<2*o|r.indexOf(n.charAt(e))>>>6-2*o);return t}};n.exports=t}()},function(n,r){function t(n){return!!n.constructor&&"function"==typeof n.constructor.isBuffer&&n.constructor.isBuffer(n)}function e(n){return"function"==typeof n.readFloatLE&&"function"==typeof n.slice&&t(n.slice(0,0))}n.exports=function(n){return null!=n&&(t(n)||e(n)||!!n._isBuffer)}},function(n,r,t){!function(){var r=t(4),e=t(0).utf8,o=t(5),i=t(0).bin,u=function(n,t){n.constructor==String?n=t&&"binary"===t.encoding?i.stringToBytes(n):e.stringToBytes(n):o(n)?n=Array.prototype.slice.call(n,0):Array.isArray(n)||(n=n.toString());for(var f=r.bytesToWords(n),s=8*n.length,c=1732584193,a=-271733879,p=-1732584194,l=271733878,d=0;d<f.length;d++)f[d]=16711935&(f[d]<<8|f[d]>>>24)|4278255360&(f[d]<<24|f[d]>>>8);f[s>>>5]|=128<<s%32,f[14+(s+64>>>9<<4)]=s;for(var g=u._ff,h=u._gg,y=u._hh,b=u._ii,d=0;d<f.length;d+=16){var v=c,m=a,w=p,T=l;c=g(c,a,p,l,f[d+0],7,-680876936),l=g(l,c,a,p,f[d+1],12,-389564586),p=g(p,l,c,a,f[d+2],17,606105819),a=g(a,p,l,c,f[d+3],22,-1044525330),c=g(c,a,p,l,f[d+4],7,-176418897),l=g(l,c,a,p,f[d+5],12,1200080426),p=g(p,l,c,a,f[d+6],17,-1473231341),a=g(a,p,l,c,f[d+7],22,-45705983),c=g(c,a,p,l,f[d+8],7,1770035416),l=g(l,c,a,p,f[d+9],12,-1958414417),p=g(p,l,c,a,f[d+10],17,-42063),a=g(a,p,l,c,f[d+11],22,-1990404162),c=g(c,a,p,l,f[d+12],7,1804603682),l=g(l,c,a,p,f[d+13],12,-40341101),p=g(p,l,c,a,f[d+14],17,-1502002290),a=g(a,p,l,c,f[d+15],22,1236535329),c=h(c,a,p,l,f[d+1],5,-165796510),l=h(l,c,a,p,f[d+6],9,-1069501632),p=h(p,l,c,a,f[d+11],14,643717713),a=h(a,p,l,c,f[d+0],20,-373897302),c=h(c,a,p,l,f[d+5],5,-701558691),l=h(l,c,a,p,f[d+10],9,38016083),p=h(p,l,c,a,f[d+15],14,-660478335),a=h(a,p,l,c,f[d+4],20,-405537848),c=h(c,a,p,l,f[d+9],5,568446438),l=h(l,c,a,p,f[d+14],9,-1019803690),p=h(p,l,c,a,f[d+3],14,-187363961),a=h(a,p,l,c,f[d+8],20,1163531501),c=h(c,a,p,l,f[d+13],5,-1444681467),l=h(l,c,a,p,f[d+2],9,-51403784),p=h(p,l,c,a,f[d+7],14,1735328473),a=h(a,p,l,c,f[d+12],20,-1926607734),c=y(c,a,p,l,f[d+5],4,-378558),l=y(l,c,a,p,f[d+8],11,-2022574463),p=y(p,l,c,a,f[d+11],16,1839030562),a=y(a,p,l,c,f[d+14],23,-35309556),c=y(c,a,p,l,f[d+1],4,-1530992060),l=y(l,c,a,p,f[d+4],11,1272893353),p=y(p,l,c,a,f[d+7],16,-155497632),a=y(a,p,l,c,f[d+10],23,-1094730640),c=y(c,a,p,l,f[d+13],4,681279174),l=y(l,c,a,p,f[d+0],11,-358537222),p=y(p,l,c,a,f[d+3],16,-722521979),a=y(a,p,l,c,f[d+6],23,76029189),c=y(c,a,p,l,f[d+9],4,-640364487),l=y(l,c,a,p,f[d+12],11,-421815835),p=y(p,l,c,a,f[d+15],16,530742520),a=y(a,p,l,c,f[d+2],23,-995338651),c=b(c,a,p,l,f[d+0],6,-198630844),l=b(l,c,a,p,f[d+7],10,1126891415),p=b(p,l,c,a,f[d+14],15,-1416354905),a=b(a,p,l,c,f[d+5],21,-57434055),c=b(c,a,p,l,f[d+12],6,1700485571),l=b(l,c,a,p,f[d+3],10,-1894986606),p=b(p,l,c,a,f[d+10],15,-1051523),a=b(a,p,l,c,f[d+1],21,-2054922799),c=b(c,a,p,l,f[d+8],6,1873313359),l=b(l,c,a,p,f[d+15],10,-30611744),p=b(p,l,c,a,f[d+6],15,-1560198380),a=b(a,p,l,c,f[d+13],21,1309151649),c=b(c,a,p,l,f[d+4],6,-145523070),l=b(l,c,a,p,f[d+11],10,-1120210379),p=b(p,l,c,a,f[d+2],15,718787259),a=b(a,p,l,c,f[d+9],21,-343485551),c=c+v>>>0,a=a+m>>>0,p=p+w>>>0,l=l+T>>>0}return r.endian([c,a,p,l])};u._ff=function(n,r,t,e,o,i,u){var f=n+(r&t|~r&e)+(o>>>0)+u;return(f<<i|f>>>32-i)+r},u._gg=function(n,r,t,e,o,i,u){var f=n+(r&e|t&~e)+(o>>>0)+u;return(f<<i|f>>>32-i)+r},u._hh=function(n,r,t,e,o,i,u){var f=n+(r^t^e)+(o>>>0)+u;return(f<<i|f>>>32-i)+r},u._ii=function(n,r,t,e,o,i,u){var f=n+(t^(r|~e))+(o>>>0)+u;return(f<<i|f>>>32-i)+r},u._blocksize=16,u._digestsize=16,n.exports=function(n,t){if(void 0===n||null===n)throw new Error("Illegal argument "+n);var e=r.wordsToBytes(u(n,t));return t&&t.asBytes?e:t&&t.asString?i.bytesToString(e):r.bytesToHex(e)}}()}]); |
@@ -1,1 +0,1 @@ | ||
!function(t){function r(e){if(n[e])return n[e].exports;var o=n[e]={"i":e,"l":!1,"exports":{}};return t[e].call(o.exports,o,o.exports,r),o.l=!0,o.exports}var n={};r.m=t,r.c=n,r.i=function(t){return t},r.d=function(t,n,e){r.o(t,n)||Object.defineProperty(t,n,{"configurable":!1,"enumerable":!0,"get":e})},r.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(n,"a",n),n},r.o=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},r.p="",r(r.s=76)}([function(t,r){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(t,r){var n={}.hasOwnProperty;t.exports=function(t,r){return n.call(t,r)}},function(t,r,n){t.exports=!n(9)(function(){return 7!=Object.defineProperty({},"a",{"get":function(){return 7}}).a})},function(t,r,n){var e=n(4),o=n(10);t.exports=n(2)?function(t,r,n){return e.f(t,r,o(1,n))}:function(t,r,n){return t[r]=n,t}},function(t,r,n){var e=n(8),o=n(30),i=n(23),u=Object.defineProperty;r.f=n(2)?Object.defineProperty:function(t,r,n){if(e(t),r=i(r,!0),e(n),o)try{return u(t,r,n)}catch(f){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[r]=n.value),t}},function(t,r,n){var e=n(56),o=n(13);t.exports=function(t){return e(o(t))}},function(t,r,n){var e=n(21)("wks"),o=n(11),i=n(0).Symbol,u="function"==typeof i;(t.exports=function(t){return e[t]||(e[t]=u&&i[t]||(u?i:o)("Symbol."+t))}).store=e},function(t,r){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,r,n){var e=n(7);t.exports=function(t){if(!e(t))throw TypeError(t+" is not an object!");return t}},function(t,r){t.exports=function(t){try{return!!t()}catch(r){return!0}}},function(t,r){t.exports=function(t,r){return{"enumerable":!(1&t),"configurable":!(2&t),"writable":!(4&t),"value":r}}},function(t,r){var n=0,e=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+e).toString(36))}},function(t,r){var n=t.exports={"version":"2.5.5"};"number"==typeof __e&&(__e=n)},function(t,r){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,r){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,r){t.exports={}},function(t,r){t.exports=!0},function(t,r,n){var e=n(35),o=n(14);t.exports=Object.keys||function(t){return e(t,o)}},function(t,r){r.f={}.propertyIsEnumerable},function(t,r,n){var e=n(4).f,o=n(1),i=n(6)("toStringTag");t.exports=function(t,r,n){t&&!o(t=n?t:t.prototype,i)&&e(t,i,{"configurable":!0,"value":r})}},function(t,r,n){var e=n(21)("keys"),o=n(11);t.exports=function(t){return e[t]||(e[t]=o(t))}},function(t,r,n){var e=n(0),o=e["__core-js_shared__"]||(e["__core-js_shared__"]={});t.exports=function(t){return o[t]||(o[t]={})}},function(t,r){var n=Math.ceil,e=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?e:n)(t)}},function(t,r,n){var e=n(7);t.exports=function(t,r){if(!e(t))return t;var n,o;if(r&&"function"==typeof(n=t.toString)&&!e(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!e(o=n.call(t)))return o;if(!r&&"function"==typeof(n=t.toString)&&!e(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,r,n){var e=n(0),o=n(12),i=n(16),u=n(25),f=n(4).f;t.exports=function(t){var r=o.Symbol||(o.Symbol=i?{}:e.Symbol||{});"_"==t.charAt(0)||t in r||f(r,t,{"value":u.f(t)})}},function(t,r,n){r.f=n(6)},function(t,r){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=[],n=0;n<t.length;n++)r.push(255&t.charCodeAt(n));return r},"bytesToString":function(t){for(var r=[],n=0;n<t.length;n++)r.push(String.fromCharCode(t[n]));return r.join("")}}};t.exports=n},function(t,r){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,r,n){var e=n(7),o=n(0).document,i=e(o)&&e(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},function(t,r,n){var e=n(0),o=n(12),i=n(53),u=n(3),f=n(1),s=function(t,r,n){var a,c,h,l=t&s.F,p=t&s.G,y=t&s.S,g=t&s.P,v=t&s.B,d=t&s.W,w=p?o:o[r]||(o[r]={}),b=w.prototype,m=p?e:y?e[r]:(e[r]||{}).prototype;p&&(n=r);for(a in n)(c=!l&&m&&void 0!==m[a])&&f(w,a)||(h=c?m[a]:n[a],w[a]=p&&"function"!=typeof m[a]?n[a]:v&&c?i(h,e):d&&m[a]==h?function(t){var r=function(r,n,e){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(r);case 2:return new t(r,n)}return new t(r,n,e)}return t.apply(this,arguments)};return r.prototype=t.prototype,r}(h):g&&"function"==typeof h?i(Function.call,h):h,g&&((w.virtual||(w.virtual={}))[a]=h,t&s.R&&b&&!b[a]&&u(b,a,h)))};s.F=1,s.G=2,s.S=4,s.P=8,s.B=16,s.W=32,s.U=64,s.R=128,t.exports=s},function(t,r,n){t.exports=!n(2)&&!n(9)(function(){return 7!=Object.defineProperty(n(28)("div"),"a",{"get":function(){return 7}}).a})},function(t,r,n){"use strict";var e=n(16),o=n(29),i=n(36),u=n(3),f=n(15),s=n(58),a=n(19),c=n(64),h=n(6)("iterator"),l=!([].keys&&"next"in[].keys()),p=function(){return this};t.exports=function(t,r,n,y,g,v,d){s(n,r,y);var w,b,m,E=function(t){if(!l&&t in T)return T[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},_=r+" Iterator",A="values"==g,S=!1,T=t.prototype,P=T[h]||T["@@iterator"]||g&&T[g],x=P||E(g),R=g?A?E("entries"):x:void 0,O="Array"==r?T.entries||P:P;if(O&&(m=c(O.call(new t)))!==Object.prototype&&m.next&&(a(m,_,!0),e||"function"==typeof m[h]||u(m,h,p)),A&&P&&"values"!==P.name&&(S=!0,x=function(){return P.call(this)}),e&&!d||!l&&!S&&T[h]||u(T,h,x),f[r]=x,f[_]=p,g)if(w={"values":A?x:E("values"),"keys":v?x:E("keys"),"entries":R},d)for(b in w)b in T||i(T,b,w[b]);else o(o.P+o.F*(l||S),r,w);return w}},function(t,r,n){var e=n(8),o=n(61),i=n(14),u=n(20)("IE_PROTO"),f=function(){},s=function(){var t,r=n(28)("iframe"),e=i.length;for(r.style.display="none",n(55).appendChild(r),r.src="javascript:",t=r.contentWindow.document,t.open(),t.write("<script>document.F=Object<\/script>"),t.close(),s=t.F;e--;)delete s.prototype[i[e]];return s()};t.exports=Object.create||function(t,r){var n;return null!==t?(f.prototype=e(t),n=new f,f.prototype=null,n[u]=t):n=s(),void 0===r?n:o(n,r)}},function(t,r,n){var e=n(35),o=n(14).concat("length","prototype");r.f=Object.getOwnPropertyNames||function(t){return e(t,o)}},function(t,r){r.f=Object.getOwnPropertySymbols},function(t,r,n){var e=n(1),o=n(5),i=n(52)(!1),u=n(20)("IE_PROTO");t.exports=function(t,r){var n,f=o(t),s=0,a=[];for(n in f)n!=u&&e(f,n)&&a.push(n);for(;r.length>s;)e(f,n=r[s++])&&(~i(a,n)||a.push(n));return a}},function(t,r,n){t.exports=n(3)},function(t,r,n){"use strict";function e(t){return t&&t.__esModule?t:{"default":t}}r.__esModule=!0;var o=n(44),i=e(o),u=n(43),f=e(u),s="function"==typeof f.default&&"symbol"==typeof i.default?function(t){return typeof t}:function(t){return t&&"function"==typeof f.default&&t.constructor===f.default&&t!==f['default'].prototype?"symbol":typeof t};r['default']="function"==typeof f.default&&"symbol"===s(i['default'])?function(t){return void 0===t?"undefined":s(t)}:function(t){return t&&"function"==typeof f.default&&t.constructor===f.default&&t!==f['default'].prototype?"symbol":void 0===t?"undefined":s(t)}},function(t,r){!function(t){"use strict";t.console||(t.console={});for(var r,n,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(",");r=i.pop();)e[r]||(e[r]={});for(;n=u.pop();)e[n]||(e[n]=o)}("undefined"==typeof window?this:window)},function(t,r,n){"use strict";var e=n(42);r.sha1=e},function(t,r){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){!function(){var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n={"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&n.rotl(t,8)|4278255360&n.rotl(t,24);for(var r=0;r<t.length;r++)t[r]=n.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=[],n=0,e=0;n<t.length;n++,e+=8)r[e>>>5]|=t[n]<<24-e%32;return r},"wordsToBytes":function(t){for(var r=[],n=0;n<32*t.length;n+=8)r.push(t[n>>>5]>>>24-n%32&255);return r},"bytesToHex":function(t){for(var r=[],n=0;n<t.length;n++)r.push((t[n]>>>4).toString(16)),r.push((15&t[n]).toString(16));return r.join("")},"hexToBytes":function(t){for(var r=[],n=0;n<t.length;n+=2)r.push(parseInt(t.substr(n,2),16));return r},"bytesToBase64":function(t){for(var n=[],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?n.push(r.charAt(o>>>6*(3-i)&63)):n.push("=");return n.join("")},"base64ToBytes":function(t){t=t.replace(/[^A-Z0-9+\/]/gi,"");for(var n=[],e=0,o=0;e<t.length;o=++e%4)0!=o&&n.push((r.indexOf(t.charAt(e-1))&Math.pow(2,-2*o+8)-1)<<2*o|r.indexOf(t.charAt(e))>>>6-2*o);return n}};t.exports=n}()},function(t,r,n){(function(r){!function(){var e=n(41),o=n(26).utf8,i=n(26).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 n=e.bytesToWords(t),i=8*t.length,u=[],f=1732584193,s=-271733879,a=-1732584194,c=271733878,h=-1009589776;n[i>>5]|=128<<24-i%32,n[15+(i+64>>>9<<4)]=i;for(var l=0;l<n.length;l+=16){for(var p=f,y=s,g=a,v=c,d=h,w=0;w<80;w++){if(w<16)u[w]=n[l+w];else{var b=u[w-3]^u[w-8]^u[w-14]^u[w-16];u[w]=b<<1|b>>>31}var m=(f<<5|f>>>27)+h+(u[w]>>>0)+(w<20?1518500249+(s&a|~s&c):w<40?1859775393+(s^a^c):w<60?(s&a|s&c|a&c)-1894007588:(s^a^c)-899497514);h=c,c=a,a=s<<30|s>>>2,s=f,f=m}f+=p,s+=y,a+=g,c+=v,h+=d}return[f,s,a,c,h]},f=function(t,r){var n=e.wordsToBytes(u(t));return r&&r.asBytes?n:r&&r.asString?i.bytesToString(n):e.bytesToHex(n)};f._blocksize=16,f._digestsize=20,t.exports=f}()}).call(r,n(46).Buffer)},function(t,r,n){t.exports={"default":n(48),"__esModule":!0}},function(t,r,n){t.exports={"default":n(49),"__esModule":!0}},function(t,r,n){"use strict";function e(t){var r=t.length;if(r%4>0)throw new Error("Invalid string. Length must be a multiple of 4");return"="===t[r-2]?2:"="===t[r-1]?1:0}function o(t){return 3*t.length/4-e(t)}function i(t){var r,n,o,i,u,f=t.length;i=e(t),u=new h(3*f/4-i),n=i>0?f-4:f;var s=0;for(r=0;r<n;r+=4)o=c[t.charCodeAt(r)]<<18|c[t.charCodeAt(r+1)]<<12|c[t.charCodeAt(r+2)]<<6|c[t.charCodeAt(r+3)],u[s++]=o>>16&255,u[s++]=o>>8&255,u[s++]=255&o;return 2===i?(o=c[t.charCodeAt(r)]<<2|c[t.charCodeAt(r+1)]>>4,u[s++]=255&o):1===i&&(o=c[t.charCodeAt(r)]<<10|c[t.charCodeAt(r+1)]<<4|c[t.charCodeAt(r+2)]>>2,u[s++]=o>>8&255,u[s++]=255&o),u}function u(t){return a[t>>18&63]+a[t>>12&63]+a[t>>6&63]+a[63&t]}function f(t,r,n){for(var e,o=[],i=r;i<n;i+=3)e=(t[i]<<16&16711680)+(t[i+1]<<8&65280)+(255&t[i+2]),o.push(u(e));return o.join("")}function s(t){for(var r,n=t.length,e=n%3,o="",i=[],u=0,s=n-e;u<s;u+=16383)i.push(f(t,u,u+16383>s?s:u+16383));return 1===e?(r=t[n-1],o+=a[r>>2],o+=a[r<<4&63],o+="=="):2===e&&(r=(t[n-2]<<8)+t[n-1],o+=a[r>>10],o+=a[r>>4&63],o+=a[r<<2&63],o+="="),i.push(o),i.join("")}r.byteLength=o,r.toByteArray=i,r.fromByteArray=s;for(var a=[],c=[],h="undefined"!=typeof Uint8Array?Uint8Array:Array,l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",p=0,y=l.length;p<y;++p)a[p]=l[p],c[l.charCodeAt(p)]=p;c["-".charCodeAt(0)]=62,c["_".charCodeAt(0)]=63},function(t,r,n){"use strict";(function(t){function e(){return i.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function o(t,r){if(e()<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,n){if(!(i.TYPED_ARRAY_SUPPORT||this instanceof i))return new i(t,r,n);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,n)}function u(t,r,n,e){if("number"==typeof r)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&r instanceof ArrayBuffer?l(t,r,n,e):"string"==typeof r?c(t,r,n):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,n,e){return f(r),r<=0?o(t,r):void 0!==n?"string"==typeof e?o(t,r).fill(n,e):o(t,r).fill(n):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 n=0;n<r;++n)t[n]=0;return t}function c(t,r,n){if("string"==typeof n&&""!==n||(n="utf8"),!i.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var e=0|v(r,n);t=o(t,e);var u=t.write(r,n);return u!==e&&(t=t.slice(0,u)),t}function h(t,r){var n=r.length<0?0:0|y(r.length);t=o(t,n);for(var e=0;e<n;e+=1)t[e]=255&r[e];return t}function l(t,r,n,e){if(r.byteLength,n<0||r.byteLength<n)throw new RangeError("'offset' is out of bounds");if(r.byteLength<n+(e||0))throw new RangeError("'length' is out of bounds");return r=void 0===n&&void 0===e?new Uint8Array(r):void 0===e?new Uint8Array(r,n):new Uint8Array(r,n,e),i.TYPED_ARRAY_SUPPORT?(t=r,t.__proto__=i.prototype):t=h(t,r),t}function p(t,r){if(i.isBuffer(r)){var n=0|y(r.length);return t=o(t,n),0===t.length?t:(r.copy(t,0,0,n),t)}if(r){if("undefined"!=typeof ArrayBuffer&&r.buffer instanceof ArrayBuffer||"length"in r)return"number"!=typeof r.length||K(r.length)?o(t,0):h(t,r);if("Buffer"===r.type&&Q(r.data))return h(t,r.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function y(t){if(t>=e())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+e().toString(16)+" bytes");return 0|t}function g(t){return+t!=t&&(t=0),i.alloc(+t)}function v(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 n=t.length;if(0===n)return 0;for(var e=!1;;)switch(r){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return V(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return J(t).length;default:if(e)return V(t).length;r=(""+r).toLowerCase(),e=!0}}function d(t,r,n){var e=!1;if((void 0===r||r<0)&&(r=0),r>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if(n>>>=0,r>>>=0,n<=r)return"";for(t||(t="utf8");;)switch(t){case"hex":return U(this,r,n);case"utf8":case"utf-8":return R(this,r,n);case"ascii":return B(this,r,n);case"latin1":case"binary":return M(this,r,n);case"base64":return x(this,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return L(this,r,n);default:if(e)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),e=!0}}function w(t,r,n){var e=t[r];t[r]=t[n],t[n]=e}function b(t,r,n,e,o){if(0===t.length)return-1;if("string"==typeof n?(e=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=o?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(o)return-1;n=t.length-1}else if(n<0){if(!o)return-1;n=0}if("string"==typeof r&&(r=i.from(r,e)),i.isBuffer(r))return 0===r.length?-1:m(t,r,n,e,o);if("number"==typeof r)return r&=255,i.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(t,r,n):Uint8Array.prototype.lastIndexOf.call(t,r,n):m(t,[r],n,e,o);throw new TypeError("val must be string, number or Buffer")}function m(t,r,n,e,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!==e&&("ucs2"===(e=String(e).toLowerCase())||"ucs-2"===e||"utf16le"===e||"utf-16le"===e)){if(t.length<2||r.length<2)return-1;u=2,f/=2,s/=2,n/=2}var a;if(o){var c=-1;for(a=n;a<f;a++)if(i(t,a)===i(r,-1===c?0:a-c)){if(-1===c&&(c=a),a-c+1===s)return c*u}else-1!==c&&(a-=a-c),c=-1}else for(n+s>f&&(n=f-s),a=n;a>=0;a--){for(var h=!0,l=0;l<s;l++)if(i(t,a+l)!==i(r,l)){h=!1;break}if(h)return a}return-1}function E(t,r,n,e){n=Number(n)||0;var o=t.length-n;e?(e=Number(e))>o&&(e=o):e=o;var i=r.length;if(i%2!=0)throw new TypeError("Invalid hex string");e>i/2&&(e=i/2);for(var u=0;u<e;++u){var f=parseInt(r.substr(2*u,2),16);if(isNaN(f))return u;t[n+u]=f}return u}function _(t,r,n,e){return q(V(r,t.length-n),t,n,e)}function A(t,r,n,e){return q(W(r),t,n,e)}function S(t,r,n,e){return A(t,r,n,e)}function T(t,r,n,e){return q(J(r),t,n,e)}function P(t,r,n,e){return q(H(r,t.length-n),t,n,e)}function x(t,r,n){return 0===r&&n===t.length?X.fromByteArray(t):X.fromByteArray(t.slice(r,n))}function R(t,r,n){n=Math.min(t.length,n);for(var e=[],o=r;o<n;){var i=t[o],u=null,f=i>239?4:i>223?3:i>191?2:1;if(o+f<=n){var s,a,c,h;switch(f){case 1:i<128&&(u=i);break;case 2:s=t[o+1],128==(192&s)&&(h=(31&i)<<6|63&s)>127&&(u=h);break;case 3:s=t[o+1],a=t[o+2],128==(192&s)&&128==(192&a)&&(h=(15&i)<<12|(63&s)<<6|63&a)>2047&&(h<55296||h>57343)&&(u=h);break;case 4:s=t[o+1],a=t[o+2],c=t[o+3],128==(192&s)&&128==(192&a)&&128==(192&c)&&(h=(15&i)<<18|(63&s)<<12|(63&a)<<6|63&c)>65535&&h<1114112&&(u=h)}}null===u?(u=65533,f=1):u>65535&&(u-=65536,e.push(u>>>10&1023|55296),u=56320|1023&u),e.push(u),o+=f}return O(e)}function O(t){var r=t.length;if(r<=$)return String.fromCharCode.apply(String,t);for(var n="",e=0;e<r;)n+=String.fromCharCode.apply(String,t.slice(e,e+=$));return n}function B(t,r,n){var e="";n=Math.min(t.length,n);for(var o=r;o<n;++o)e+=String.fromCharCode(127&t[o]);return e}function M(t,r,n){var e="";n=Math.min(t.length,n);for(var o=r;o<n;++o)e+=String.fromCharCode(t[o]);return e}function U(t,r,n){var e=t.length;(!r||r<0)&&(r=0),(!n||n<0||n>e)&&(n=e);for(var o="",i=r;i<n;++i)o+=G(t[i]);return o}function L(t,r,n){for(var e=t.slice(r,n),o="",i=0;i<e.length;i+=2)o+=String.fromCharCode(e[i]+256*e[i+1]);return o}function I(t,r,n){if(t%1!=0||t<0)throw new RangeError("offset is not uint");if(t+r>n)throw new RangeError("Trying to access beyond buffer length")}function C(t,r,n,e,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(n+e>t.length)throw new RangeError("Index out of range")}function j(t,r,n,e){r<0&&(r=65535+r+1);for(var o=0,i=Math.min(t.length-n,2);o<i;++o)t[n+o]=(r&255<<8*(e?o:1-o))>>>8*(e?o:1-o)}function Y(t,r,n,e){r<0&&(r=4294967295+r+1);for(var o=0,i=Math.min(t.length-n,4);o<i;++o)t[n+o]=r>>>8*(e?o:3-o)&255}function k(t,r,n,e,o,i){if(n+e>t.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function D(t,r,n,e,o){return o||k(t,r,n,4,3.4028234663852886e38,-3.4028234663852886e38),Z.write(t,r,n,e,23,4),n+4}function N(t,r,n,e,o){return o||k(t,r,n,8,1.7976931348623157e308,-1.7976931348623157e308),Z.write(t,r,n,e,52,8),n+8}function F(t){if(t=z(t).replace(tt,""),t.length<2)return"";for(;t.length%4!=0;)t+="=";return t}function z(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function G(t){return t<16?"0"+t.toString(16):t.toString(16)}function V(t,r){r=r||1/0;for(var n,e=t.length,o=null,i=[],u=0;u<e;++u){if((n=t.charCodeAt(u))>55295&&n<57344){if(!o){if(n>56319){(r-=3)>-1&&i.push(239,191,189);continue}if(u+1===e){(r-=3)>-1&&i.push(239,191,189);continue}o=n;continue}if(n<56320){(r-=3)>-1&&i.push(239,191,189),o=n;continue}n=65536+(o-55296<<10|n-56320)}else o&&(r-=3)>-1&&i.push(239,191,189);if(o=null,n<128){if((r-=1)<0)break;i.push(n)}else if(n<2048){if((r-=2)<0)break;i.push(n>>6|192,63&n|128)}else if(n<65536){if((r-=3)<0)break;i.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((r-=4)<0)break;i.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return i}function W(t){for(var r=[],n=0;n<t.length;++n)r.push(255&t.charCodeAt(n));return r}function H(t,r){for(var n,e,o,i=[],u=0;u<t.length&&!((r-=2)<0);++u)n=t.charCodeAt(u),e=n>>8,o=n%256,i.push(o),i.push(e);return i}function J(t){return X.toByteArray(F(t))}function q(t,r,n,e){for(var o=0;o<e&&!(o+n>=r.length||o>=t.length);++o)r[o+n]=t[o];return o}function K(t){return t!==t}var X=n(45),Z=n(77),Q=n(47);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=e(),i.poolSize=8192,i._augment=function(t){return t.__proto__=i.prototype,t},i.from=function(t,r,n){return u(null,t,r,n)},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,n){return s(null,t,r,n)},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 n=t.length,e=r.length,o=0,u=Math.min(n,e);o<u;++o)if(t[o]!==r[o]){n=t[o],e=r[o];break}return n<e?-1:e<n?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 n;if(void 0===r)for(r=0,n=0;n<t.length;++n)r+=t[n].length;var e=i.allocUnsafe(r),o=0;for(n=0;n<t.length;++n){var u=t[n];if(!i.isBuffer(u))throw new TypeError('"list" argument must be an Array of Buffers');u.copy(e,o),o+=u.length}return e},i.byteLength=v,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)w(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)w(this,r,r+3),w(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)w(this,r,r+7),w(this,r+1,r+6),w(this,r+2,r+5),w(this,r+3,r+4);return this},i.prototype.toString=function(){var t=0|this.length;return 0===t?"":0===arguments.length?R(this,0,t):d.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="",n=r.INSPECT_MAX_BYTES;return this.length>0&&(t=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(t+=" ... ")),"<Buffer "+t+">"},i.prototype.compare=function(t,r,n,e,o){if(!i.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===r&&(r=0),void 0===n&&(n=t?t.length:0),void 0===e&&(e=0),void 0===o&&(o=this.length),r<0||n>t.length||e<0||o>this.length)throw new RangeError("out of range index");if(e>=o&&r>=n)return 0;if(e>=o)return-1;if(r>=n)return 1;if(r>>>=0,n>>>=0,e>>>=0,o>>>=0,this===t)return 0;for(var u=o-e,f=n-r,s=Math.min(u,f),a=this.slice(e,o),c=t.slice(r,n),h=0;h<s;++h)if(a[h]!==c[h]){u=a[h],f=c[h];break}return u<f?-1:f<u?1:0},i.prototype.includes=function(t,r,n){return-1!==this.indexOf(t,r,n)},i.prototype.indexOf=function(t,r,n){return b(this,t,r,n,!0)},i.prototype.lastIndexOf=function(t,r,n){return b(this,t,r,n,!1)},i.prototype.write=function(t,r,n,e){if(void 0===r)e="utf8",n=this.length,r=0;else if(void 0===n&&"string"==typeof r)e=r,n=this.length,r=0;else{if(!isFinite(r))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");r|=0,isFinite(n)?(n|=0,void 0===e&&(e="utf8")):(e=n,n=void 0)}var o=this.length-r;if((void 0===n||n>o)&&(n=o),t.length>0&&(n<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");e||(e="utf8");for(var i=!1;;)switch(e){case"hex":return E(this,t,r,n);case"utf8":case"utf-8":return _(this,t,r,n);case"ascii":return A(this,t,r,n);case"latin1":case"binary":return S(this,t,r,n);case"base64":return T(this,t,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return P(this,t,r,n);default:if(i)throw new TypeError("Unknown encoding: "+e);e=(""+e).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 n=this.length;t=~~t,r=void 0===r?n:~~r,t<0?(t+=n)<0&&(t=0):t>n&&(t=n),r<0?(r+=n)<0&&(r=0):r>n&&(r=n),r<t&&(r=t);var e;if(i.TYPED_ARRAY_SUPPORT)e=this.subarray(t,r),e.__proto__=i.prototype;else{var o=r-t;e=new i(o,void 0);for(var u=0;u<o;++u)e[u]=this[u+t]}return e},i.prototype.readUIntLE=function(t,r,n){t|=0,r|=0,n||I(t,r,this.length);for(var e=this[t],o=1,i=0;++i<r&&(o*=256);)e+=this[t+i]*o;return e},i.prototype.readUIntBE=function(t,r,n){t|=0,r|=0,n||I(t,r,this.length);for(var e=this[t+--r],o=1;r>0&&(o*=256);)e+=this[t+--r]*o;return e},i.prototype.readUInt8=function(t,r){return r||I(t,1,this.length),this[t]},i.prototype.readUInt16LE=function(t,r){return r||I(t,2,this.length),this[t]|this[t+1]<<8},i.prototype.readUInt16BE=function(t,r){return r||I(t,2,this.length),this[t]<<8|this[t+1]},i.prototype.readUInt32LE=function(t,r){return r||I(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||I(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},i.prototype.readIntLE=function(t,r,n){t|=0,r|=0,n||I(t,r,this.length);for(var e=this[t],o=1,i=0;++i<r&&(o*=256);)e+=this[t+i]*o;return o*=128,e>=o&&(e-=Math.pow(2,8*r)),e},i.prototype.readIntBE=function(t,r,n){t|=0,r|=0,n||I(t,r,this.length);for(var e=r,o=1,i=this[t+--e];e>0&&(o*=256);)i+=this[t+--e]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*r)),i},i.prototype.readInt8=function(t,r){return r||I(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},i.prototype.readInt16LE=function(t,r){r||I(t,2,this.length);var n=this[t]|this[t+1]<<8;return 32768&n?4294901760|n:n},i.prototype.readInt16BE=function(t,r){r||I(t,2,this.length);var n=this[t+1]|this[t]<<8;return 32768&n?4294901760|n:n},i.prototype.readInt32LE=function(t,r){return r||I(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||I(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||I(t,4,this.length),Z.read(this,t,!0,23,4)},i.prototype.readFloatBE=function(t,r){return r||I(t,4,this.length),Z.read(this,t,!1,23,4)},i.prototype.readDoubleLE=function(t,r){return r||I(t,8,this.length),Z.read(this,t,!0,52,8)},i.prototype.readDoubleBE=function(t,r){return r||I(t,8,this.length),Z.read(this,t,!1,52,8)},i.prototype.writeUIntLE=function(t,r,n,e){if(t=+t,r|=0,n|=0,!e){C(this,t,r,n,Math.pow(2,8*n)-1,0)}var o=1,i=0;for(this[r]=255&t;++i<n&&(o*=256);)this[r+i]=t/o&255;return r+n},i.prototype.writeUIntBE=function(t,r,n,e){if(t=+t,r|=0,n|=0,!e){C(this,t,r,n,Math.pow(2,8*n)-1,0)}var o=n-1,i=1;for(this[r+o]=255&t;--o>=0&&(i*=256);)this[r+o]=t/i&255;return r+n},i.prototype.writeUInt8=function(t,r,n){return t=+t,r|=0,n||C(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,n){return t=+t,r|=0,n||C(this,t,r,2,65535,0),i.TYPED_ARRAY_SUPPORT?(this[r]=255&t,this[r+1]=t>>>8):j(this,t,r,!0),r+2},i.prototype.writeUInt16BE=function(t,r,n){return t=+t,r|=0,n||C(this,t,r,2,65535,0),i.TYPED_ARRAY_SUPPORT?(this[r]=t>>>8,this[r+1]=255&t):j(this,t,r,!1),r+2},i.prototype.writeUInt32LE=function(t,r,n){return t=+t,r|=0,n||C(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):Y(this,t,r,!0),r+4},i.prototype.writeUInt32BE=function(t,r,n){return t=+t,r|=0,n||C(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):Y(this,t,r,!1),r+4},i.prototype.writeIntLE=function(t,r,n,e){if(t=+t,r|=0,!e){var o=Math.pow(2,8*n-1);C(this,t,r,n,o-1,-o)}var i=0,u=1,f=0;for(this[r]=255&t;++i<n&&(u*=256);)t<0&&0===f&&0!==this[r+i-1]&&(f=1),this[r+i]=(t/u>>0)-f&255;return r+n},i.prototype.writeIntBE=function(t,r,n,e){if(t=+t,r|=0,!e){var o=Math.pow(2,8*n-1);C(this,t,r,n,o-1,-o)}var i=n-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+n},i.prototype.writeInt8=function(t,r,n){return t=+t,r|=0,n||C(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,n){return t=+t,r|=0,n||C(this,t,r,2,32767,-32768),i.TYPED_ARRAY_SUPPORT?(this[r]=255&t,this[r+1]=t>>>8):j(this,t,r,!0),r+2},i.prototype.writeInt16BE=function(t,r,n){return t=+t,r|=0,n||C(this,t,r,2,32767,-32768),i.TYPED_ARRAY_SUPPORT?(this[r]=t>>>8,this[r+1]=255&t):j(this,t,r,!1),r+2},i.prototype.writeInt32LE=function(t,r,n){return t=+t,r|=0,n||C(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):Y(this,t,r,!0),r+4},i.prototype.writeInt32BE=function(t,r,n){return t=+t,r|=0,n||C(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):Y(this,t,r,!1),r+4},i.prototype.writeFloatLE=function(t,r,n){return D(this,t,r,!0,n)},i.prototype.writeFloatBE=function(t,r,n){return D(this,t,r,!1,n)},i.prototype.writeDoubleLE=function(t,r,n){return N(this,t,r,!0,n)},i.prototype.writeDoubleBE=function(t,r,n){return N(this,t,r,!1,n)},i.prototype.copy=function(t,r,n,e){if(n||(n=0),e||0===e||(e=this.length),r>=t.length&&(r=t.length),r||(r=0),e>0&&e<n&&(e=n),e===n)return 0;if(0===t.length||0===this.length)return 0;if(r<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(e<0)throw new RangeError("sourceEnd out of bounds");e>this.length&&(e=this.length),t.length-r<e-n&&(e=t.length-r+n);var o,u=e-n;if(this===t&&n<r&&r<e)for(o=u-1;o>=0;--o)t[o+r]=this[o+n];else if(u<1e3||!i.TYPED_ARRAY_SUPPORT)for(o=0;o<u;++o)t[o+r]=this[o+n];else Uint8Array.prototype.set.call(t,this.subarray(n,n+u),r);return u},i.prototype.fill=function(t,r,n,e){if("string"==typeof t){if("string"==typeof r?(e=r,r=0,n=this.length):"string"==typeof n&&(e=n,n=this.length),1===t.length){var o=t.charCodeAt(0);o<256&&(t=o)}if(void 0!==e&&"string"!=typeof e)throw new TypeError("encoding must be a string");if("string"==typeof e&&!i.isEncoding(e))throw new TypeError("Unknown encoding: "+e)}else"number"==typeof t&&(t&=255);if(r<0||this.length<r||this.length<n)throw new RangeError("Out of range index");if(n<=r)return this;r>>>=0,n=void 0===n?this.length:n>>>0,t||(t=0);var u;if("number"==typeof t)for(u=r;u<n;++u)this[u]=t;else{var f=i.isBuffer(t)?t:V(new i(t,e).toString()),s=f.length;for(u=0;u<n-r;++u)this[u+r]=f[u%s]}return this};var tt=/[^+\/0-9A-Za-z-_]/g}).call(r,n(78))},function(t,r){var n={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==n.call(t)}},function(t,r,n){n(72),n(70),n(73),n(74),t.exports=n(12).Symbol},function(t,r,n){n(71),n(75),t.exports=n(25).f("iterator")},function(t,r){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,r){t.exports=function(){}},function(t,r,n){var e=n(5),o=n(67),i=n(66);t.exports=function(t){return function(r,n,u){var f,s=e(r),a=o(s.length),c=i(u,a);if(t&&n!=n){for(;a>c;)if((f=s[c++])!=f)return!0}else for(;a>c;c++)if((t||c in s)&&s[c]===n)return t||c||0;return!t&&-1}}},function(t,r,n){var e=n(50);t.exports=function(t,r,n){if(e(t),void 0===r)return t;switch(n){case 1:return function(n){return t.call(r,n)};case 2:return function(n,e){return t.call(r,n,e)};case 3:return function(n,e,o){return t.call(r,n,e,o)}}return function(){return t.apply(r,arguments)}}},function(t,r,n){var e=n(17),o=n(34),i=n(18);t.exports=function(t){var r=e(t),n=o.f;if(n)for(var u,f=n(t),s=i.f,a=0;f.length>a;)s.call(t,u=f[a++])&&r.push(u);return r}},function(t,r,n){var e=n(0).document;t.exports=e&&e.documentElement},function(t,r,n){var e=n(27);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==e(t)?t.split(""):Object(t)}},function(t,r,n){var e=n(27);t.exports=Array.isArray||function(t){return"Array"==e(t)}},function(t,r,n){"use strict";var e=n(32),o=n(10),i=n(19),u={};n(3)(u,n(6)("iterator"),function(){return this}),t.exports=function(t,r,n){t.prototype=e(u,{"next":o(1,n)}),i(t,r+" Iterator")}},function(t,r){t.exports=function(t,r){return{"value":r,"done":!!t}}},function(t,r,n){var e=n(11)("meta"),o=n(7),i=n(1),u=n(4).f,f=0,s=Object.isExtensible||function(){return!0},a=!n(9)(function(){return s(Object.preventExtensions({}))}),c=function(t){u(t,e,{"value":{"i":"O"+ ++f,"w":{}}})},h=function(t,r){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,e)){if(!s(t))return"F";if(!r)return"E";c(t)}return t[e].i},l=function(t,r){if(!i(t,e)){if(!s(t))return!0;if(!r)return!1;c(t)}return t[e].w},p=function(t){return a&&y.NEED&&s(t)&&!i(t,e)&&c(t),t},y=t.exports={"KEY":e,"NEED":!1,"fastKey":h,"getWeak":l,"onFreeze":p}},function(t,r,n){var e=n(4),o=n(8),i=n(17);t.exports=n(2)?Object.defineProperties:function(t,r){o(t);for(var n,u=i(r),f=u.length,s=0;f>s;)e.f(t,n=u[s++],r[n]);return t}},function(t,r,n){var e=n(18),o=n(10),i=n(5),u=n(23),f=n(1),s=n(30),a=Object.getOwnPropertyDescriptor;r.f=n(2)?a:function(t,r){if(t=i(t),r=u(r,!0),s)try{return a(t,r)}catch(n){}if(f(t,r))return o(!e.f.call(t,r),t[r])}},function(t,r,n){var e=n(5),o=n(33).f,i={}.toString,u="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],f=function(t){try{return o(t)}catch(r){return u.slice()}};t.exports.f=function(t){return u&&"[object Window]"==i.call(t)?f(t):o(e(t))}},function(t,r,n){var e=n(1),o=n(68),i=n(20)("IE_PROTO"),u=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),e(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?u:null}},function(t,r,n){var e=n(22),o=n(13);t.exports=function(t){return function(r,n){var i,u,f=String(o(r)),s=e(n),a=f.length;return s<0||s>=a?t?"":void 0:(i=f.charCodeAt(s),i<55296||i>56319||s+1===a||(u=f.charCodeAt(s+1))<56320||u>57343?t?f.charAt(s):i:t?f.slice(s,s+2):u-56320+(i-55296<<10)+65536)}}},function(t,r,n){var e=n(22),o=Math.max,i=Math.min;t.exports=function(t,r){return t=e(t),t<0?o(t+r,0):i(t,r)}},function(t,r,n){var e=n(22),o=Math.min;t.exports=function(t){return t>0?o(e(t),9007199254740991):0}},function(t,r,n){var e=n(13);t.exports=function(t){return Object(e(t))}},function(t,r,n){"use strict";var e=n(51),o=n(59),i=n(15),u=n(5);t.exports=n(31)(Array,"Array",function(t,r){this._t=u(t),this._i=0,this._k=r},function(){var t=this._t,r=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,o(1)):"keys"==r?o(0,n):"values"==r?o(0,t[n]):o(0,[n,t[n]])},"values"),i.Arguments=i.Array,e("keys"),e("values"),e("entries")},function(t,r){},function(t,r,n){"use strict";var e=n(65)(!0);n(31)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,r=this._t,n=this._i;return n>=r.length?{"value":void 0,"done":!0}:(t=e(r,n),this._i+=t.length,{"value":t,"done":!1})})},function(t,r,n){"use strict";var e=n(0),o=n(1),i=n(2),u=n(29),f=n(36),s=n(60).KEY,a=n(9),c=n(21),h=n(19),l=n(11),p=n(6),y=n(25),g=n(24),v=n(54),d=n(57),w=n(8),b=n(7),m=n(5),E=n(23),_=n(10),A=n(32),S=n(63),T=n(62),P=n(4),x=n(17),R=T.f,O=P.f,B=S.f,M=e.Symbol,U=e.JSON,L=U&&U.stringify,I=p("_hidden"),C=p("toPrimitive"),j={}.propertyIsEnumerable,Y=c("symbol-registry"),k=c("symbols"),D=c("op-symbols"),N=Object.prototype,F="function"==typeof M,z=e.QObject,G=!z||!z.prototype||!z.prototype.findChild,V=i&&a(function(){return 7!=A(O({},"a",{"get":function(){return O(this,"a",{"value":7}).a}})).a})?function(t,r,n){var e=R(N,r);e&&delete N[r],O(t,r,n),e&&t!==N&&O(N,r,e)}:O,W=function(t){var r=k[t]=A(M.prototype);return r._k=t,r},H=F&&"symbol"==typeof M.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof M},J=function(t,r,n){return t===N&&J(D,r,n),w(t),r=E(r,!0),w(n),o(k,r)?(n.enumerable?(o(t,I)&&t[I][r]&&(t[I][r]=!1),n=A(n,{"enumerable":_(0,!1)})):(o(t,I)||O(t,I,_(1,{})),t[I][r]=!0),V(t,r,n)):O(t,r,n)},q=function(t,r){w(t);for(var n,e=v(r=m(r)),o=0,i=e.length;i>o;)J(t,n=e[o++],r[n]);return t},K=function(t,r){return void 0===r?A(t):q(A(t),r)},X=function(t){var r=j.call(this,t=E(t,!0));return!(this===N&&o(k,t)&&!o(D,t))&&(!(r||!o(this,t)||!o(k,t)||o(this,I)&&this[I][t])||r)},Z=function(t,r){if(t=m(t),r=E(r,!0),t!==N||!o(k,r)||o(D,r)){var n=R(t,r);return!n||!o(k,r)||o(t,I)&&t[I][r]||(n.enumerable=!0),n}},Q=function(t){for(var r,n=B(m(t)),e=[],i=0;n.length>i;)o(k,r=n[i++])||r==I||r==s||e.push(r);return e},$=function(t){for(var r,n=t===N,e=B(n?D:m(t)),i=[],u=0;e.length>u;)!o(k,r=e[u++])||n&&!o(N,r)||i.push(k[r]);return i};F||(M=function(){if(this instanceof M)throw TypeError("Symbol is not a constructor!");var t=l(arguments.length>0?arguments[0]:void 0),r=function(n){this===N&&r.call(D,n),o(this,I)&&o(this[I],t)&&(this[I][t]=!1),V(this,t,_(1,n))};return i&&G&&V(N,t,{"configurable":!0,"set":r}),W(t)},f(M.prototype,"toString",function(){return this._k}),T.f=Z,P.f=J,n(33).f=S.f=Q,n(18).f=X,n(34).f=$,i&&!n(16)&&f(N,"propertyIsEnumerable",X,!0),y.f=function(t){return W(p(t))}),u(u.G+u.W+u.F*!F,{"Symbol":M});for(var tt="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),rt=0;tt.length>rt;)p(tt[rt++]);for(var nt=x(p.store),et=0;nt.length>et;)g(nt[et++]);u(u.S+u.F*!F,"Symbol",{"for":function(t){return o(Y,t+="")?Y[t]:Y[t]=M(t)},"keyFor":function(t){if(!H(t))throw TypeError(t+" is not a symbol!");for(var r in Y)if(Y[r]===t)return r},"useSetter":function(){G=!0},"useSimple":function(){G=!1}}),u(u.S+u.F*!F,"Object",{"create":K,"defineProperty":J,"defineProperties":q,"getOwnPropertyDescriptor":Z,"getOwnPropertyNames":Q,"getOwnPropertySymbols":$}),U&&u(u.S+u.F*(!F||a(function(){var t=M();return"[null]"!=L([t])||"{}"!=L({"a":t})||"{}"!=L(Object(t))})),"JSON",{"stringify":function(t){for(var r,n,e=[t],o=1;arguments.length>o;)e.push(arguments[o++]);if(n=r=e[1],(b(r)||void 0!==t)&&!H(t))return d(r)||(r=function(t,r){if("function"==typeof n&&(r=n.call(this,t,r)),!H(r))return r}),e[1]=r,L.apply(U,e)}}),M.prototype[C]||n(3)(M.prototype,C,M.prototype.valueOf),h(M,"Symbol"),h(Math,"Math",!0),h(e.JSON,"JSON",!0)},function(t,r,n){n(24)("asyncIterator")},function(t,r,n){n(24)("observable")},function(t,r,n){n(69);for(var e=n(0),o=n(3),i=n(15),u=n(6)("toStringTag"),f="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),s=0;s<f.length;s++){var a=f[s],c=e[a],h=c&&c.prototype;h&&!h[u]&&o(h,u,a),i[a]=i.Array}},function(t,r,n){"use strict";(function(t){var r=n(37).default;n(38),function(n,e){"object"===r(t)&&"object"===r(t.exports)?t.exports=n.document?e(n,!0):function(t){if(!t.document)throw new Error("febs requires a window with a document");return e(t)}:e(n)}("undefined"!=typeof window?window:void 0,function(t,r){var e={};if(e.crypt=n(39),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(r,n(40)(t))},function(t,r){r.read=function(t,r,n,e,o){var i,u,f=8*o-e-1,s=(1<<f)-1,a=s>>1,c=-7,h=n?o-1:0,l=n?-1:1,p=t[r+h];for(h+=l,i=p&(1<<-c)-1,p>>=-c,c+=f;c>0;i=256*i+t[r+h],h+=l,c-=8);for(u=i&(1<<-c)-1,i>>=-c,c+=e;c>0;u=256*u+t[r+h],h+=l,c-=8);if(0===i)i=1-a;else{if(i===s)return u?NaN:1/0*(p?-1:1);u+=Math.pow(2,e),i-=a}return(p?-1:1)*u*Math.pow(2,i-e)},r.write=function(t,r,n,e,o,i){var u,f,s,a=8*i-o-1,c=(1<<a)-1,h=c>>1,l=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,p=e?0:i-1,y=e?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=c):(u=Math.floor(Math.log(r)/Math.LN2),r*(s=Math.pow(2,-u))<1&&(u--,s*=2),r+=u+h>=1?l/s:l*Math.pow(2,1-h),r*s>=2&&(u++,s/=2),u+h>=c?(f=0,u=c):u+h>=1?(f=(r*s-1)*Math.pow(2,o),u+=h):(f=r*Math.pow(2,h-1)*Math.pow(2,o),u=0));o>=8;t[n+p]=255&f,p+=y,f/=256,o-=8);for(u=u<<o|f,a+=o;a>0;t[n+p]=255&u,p+=y,u/=256,a-=8);t[n+p-y]|=128*g}},function(t,r){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}t.exports=n}]); | ||
!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=5)}([function(t,r){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 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=e},function(t,r){!function(t){"use strict";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?this:window)},function(t,r,e){"use strict";var n=e(4);r.sha1=n},function(t,r){!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){(function(r){!function(){var n=e(3),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,g=s,y=a,w=h,d=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 A=(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=A}f+=p,s+=g,a+=y,h+=w,c+=d}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(7).Buffer)},function(t,r,e){e(1),function(r,e){"use strict";"object"==typeof t&&"object"==typeof 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:this,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})},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");return"="===t[r-2]?2:"="===t[r-1]?1:0}function o(t){return 3*t.length/4-n(t)}function i(t){var r,e,o,i,u,f=t.length;i=n(t),u=new c(3*f/4-i),e=i>0?f-4:f;var s=0;for(r=0;r<e;r+=4)o=h[t.charCodeAt(r)]<<18|h[t.charCodeAt(r+1)]<<12|h[t.charCodeAt(r+2)]<<6|h[t.charCodeAt(r+3)],u[s++]=o>>16&255,u[s++]=o>>8&255,u[s++]=255&o;return 2===i?(o=h[t.charCodeAt(r)]<<2|h[t.charCodeAt(r+1)]>>4,u[s++]=255&o):1===i&&(o=h[t.charCodeAt(r)]<<10|h[t.charCodeAt(r+1)]<<4|h[t.charCodeAt(r+2)]>>2,u[s++]=o>>8&255,u[s++]=255&o),u}function u(t){return a[t>>18&63]+a[t>>12&63]+a[t>>6&63]+a[63&t]}function f(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(u(n));return o.join("")}function s(t){for(var r,e=t.length,n=e%3,o="",i=[],u=0,s=e-n;u<s;u+=16383)i.push(f(t,u,u+16383>s?s:u+16383));return 1===n?(r=t[e-1],o+=a[r>>2],o+=a[r<<4&63],o+="=="):2===n&&(r=(t[e-2]<<8)+t[e-1],o+=a[r>>10],o+=a[r>>4&63],o+=a[r<<2&63],o+="="),i.push(o),i.join("")}r.byteLength=o,r.toByteArray=i,r.fromByteArray=s;for(var a=[],h=[],c="undefined"!=typeof Uint8Array?Uint8Array:Array,l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",p=0,g=l.length;p<g;++p)a[p]=l[p],h[l.charCodeAt(p)]=p;h["-".charCodeAt(0)]=62,h["_".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|g(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|w(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|g(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|g(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 g(t){if(t>=n())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+n().toString(16)+" bytes");return 0|t}function y(t){return+t!=t&&(t=0),i.alloc(+t)}function w(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 d(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:A(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):A(t,[r],e,n,o);throw new TypeError("val must be string, number or Buffer")}function A(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 E(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 m(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(6),K=e(9),Q=e(8);r.Buffer=i,r.SlowBuffer=y,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=w,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):d.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 E(this,t,r,e);case"utf8":case"utf-8":return m(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(10))},function(t,r){var e={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==e.call(t)}},function(t,r){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,g=n?1:-1,y=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+=g,f/=256,o-=8);for(u=u<<o|f,a+=o;a>0;t[e+p]=255&u,p+=g,u/=256,a-=8);t[e+p-g]|=128*y}},function(t,r){var e;e=function(){return this}();try{e=e||Function("return this")()||(0,eval)("this")}catch(n){"object"==typeof window&&(e=window)}t.exports=e}]); |
@@ -9,2 +9,14 @@ febs 库是一些常用的工具的合集; | ||
febs按功能分为如下的js包. | ||
| name | require path | feature | | ||
|----|--------|-------| | ||
| febs.js | require('febs-browser') | all feature | | ||
| febs.base.js | require('febs-browser/base') | base feature | | ||
| febs.bigint.js | require('febs-browser/bigint') | bigint feature: febs.utils.bigint_xxx | | ||
| febs.md5.js | require('febs-browser/md5') | md5 crypto feature: febs.crypt.md5() | | ||
| febs.sha1.js | require('febs-browser/sha1') | sha1 crypto feature: febs.crypt.sha1() | | ||
# Install | ||
@@ -38,3 +50,3 @@ | ||
<link rel="stylesheet" type="text/css" href="path/febs/febs.css" /> | ||
<script charset='UTF-8' type="text/javascript" src="path/febs/febs.js"></script> | ||
<script charset='UTF-8' type="text/javascript" src="path/febs/febs.base.js"></script> | ||
<script charset='UTF-8' type="text/javascript" src="path/febs/febs.sha1.js"></script> <!-- febs.crypt.sha1()方法 --> | ||
@@ -359,5 +371,11 @@ <script charset='UTF-8' type="text/javascript" src="path/febs/febs.md5.js"></script> <!-- febs.crypt.md5()方法 --> | ||
# net | ||
net封装了浏览器通信方法: fetch, jsonp | ||
net封装了浏览器通信方法: ajax, fetch, jsonp | ||
```js | ||
/** | ||
* @desc: 使用jquery.ajax类似参数调用. | ||
* @param cfg: 允许额外传递一个 progress:function(percent) {} 的参数来获取进度. | ||
* @return: | ||
*/ | ||
febs.net.ajax(cfg:any):{abort:()=>void} | ||
/** | ||
* @desc: 使用fetch方式进行数据请求. | ||
@@ -377,2 +395,3 @@ * 如果超時, 可以catch到 'timeout' | ||
credentials, // 携带了credentials='include'则服务器需设置Access-Control-Allow-Credentials | ||
progress, // 允许设置进度cb. function(percent) {} | ||
} | ||
@@ -379,0 +398,0 @@ * @return: 返回 Promise; |
614
libs/net.js
@@ -8,3 +8,7 @@ /** | ||
var febsUtils = require('./utils'); | ||
var netajax = require('./net.ajax'); | ||
var netfetch = require('./net.fetch'); | ||
var netjsonp = require('./net.jsonp'); | ||
( function( global, factory ) { | ||
@@ -37,611 +41,9 @@ | ||
const Ajaxmark = Symbol('ajaxmark'); | ||
const DefaultTimeout = 5000; | ||
var febsnet = {}; | ||
var net = {}; | ||
// //-------------------------------------------------------- | ||
// // ajax | ||
// //-------------------------------------------------------- | ||
// /** | ||
// * @desc: ajax 跳转. | ||
// * @return: | ||
// */ | ||
// net.ajax= | ||
// function( ctx ) | ||
// { | ||
// //if (!!window.ActiveXObject || "ActiveXObject" in window) // ie11. | ||
// { | ||
// if (ctx.url) | ||
// { | ||
// if (!global[Ajaxmark]) global[Ajaxmark] = 1; | ||
// var i = ctx.url.indexOf('?'); | ||
// if (i < 0) { | ||
// ctx.url += "?ajaxmark="+global[Ajaxmark]; | ||
// } else { | ||
// if (i == ctx.url.length-1) { | ||
// ctx.url += "ajaxmark="+global[Ajaxmark]; | ||
// } else { | ||
// ctx.url += "&ajaxmark="+global[Ajaxmark]; | ||
// } | ||
// } | ||
// } | ||
// global[Ajaxmark]++; | ||
// } // if. | ||
// if (!ctx.timeout) | ||
// ctx.timeout = DefaultTimeout; | ||
// $.ajax(ctx); | ||
// } | ||
//-------------------------------------------------------- | ||
// fetch. | ||
//-------------------------------------------------------- | ||
if (false) { | ||
//febsnet.fetch=window.fetch; | ||
} | ||
else { | ||
if (!Promise) { | ||
throw new Error('unsupported Promise') | ||
} | ||
// https://github.com/github/fetch | ||
febsnet.normalizeName = function(name) { | ||
if (typeof name !== 'string') { | ||
name = String(name) | ||
} | ||
if (/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(name)) { | ||
throw new TypeError('Invalid character in header field name') | ||
} | ||
return name.toLowerCase() | ||
} | ||
febsnet.normalizeValue = function(value) { | ||
if (typeof value !== 'string') { | ||
value = String(value) | ||
} | ||
return value | ||
} | ||
febsnet.Headers = function(headers) { | ||
this.map = {} | ||
if (headers instanceof febsnet.Headers) { | ||
headers.forEach(function(value, name) { | ||
this.append(name, value) | ||
}, this) | ||
} else if (headers) { | ||
Object.getOwnPropertyNames(headers).forEach(function(name) { | ||
this.append(name, headers[name]) | ||
}, this) | ||
} | ||
} | ||
febsnet.Headers.prototype.append = function(name, value) { | ||
name = febsnet.normalizeName(name) | ||
value = febsnet.normalizeValue(value) | ||
var list = this.map[name] | ||
if (!list) { | ||
list = [] | ||
this.map[name] = list | ||
} | ||
list.push(value) | ||
} | ||
febsnet.Headers.prototype['delete'] = function(name) { | ||
delete this.map[febsnet.normalizeName(name)] | ||
} | ||
febsnet.Headers.prototype.get = function(name) { | ||
var values = this.map[febsnet.normalizeName(name)] | ||
return values ? values[0] : null | ||
} | ||
febsnet.Headers.prototype.getAll = function(name) { | ||
return this.map[febsnet.normalizeName(name)] || [] | ||
} | ||
febsnet.Headers.prototype.has = function(name) { | ||
return this.map.hasOwnProperty(febsnet.normalizeName(name)) | ||
} | ||
febsnet.Headers.prototype.set = function(name, value) { | ||
this.map[febsnet.normalizeName(name)] = [febsnet.normalizeValue(value)] | ||
} | ||
febsnet.Headers.prototype.forEach = function(callback, thisArg) { | ||
Object.getOwnPropertyNames(this.map).forEach(function(name) { | ||
this.map[name].forEach(function(value) { | ||
callback.call(thisArg, value, name, this) | ||
}, this) | ||
}, this) | ||
} | ||
febsnet.consumed = function(body) { | ||
if (body.bodyUsed) { | ||
return Promise.reject(new TypeError('Already read')) | ||
} | ||
body.bodyUsed = true | ||
} | ||
febsnet.fileReaderReady = function (reader) { | ||
return new Promise(function(resolve, reject) { | ||
reader.onload = function() { | ||
resolve(reader.result) | ||
} | ||
reader.onerror = function() { | ||
reject(reader.error) | ||
} | ||
}) | ||
} | ||
febsnet.readBlobAsArrayBuffer = function (blob) { | ||
var reader = new FileReader() | ||
reader.readAsArrayBuffer(blob) | ||
return febsnet.fileReaderReady(reader) | ||
} | ||
febsnet.readBlobAsText = function (blob) { | ||
var reader = new FileReader() | ||
reader.readAsText(blob) | ||
return febsnet.fileReaderReady(reader) | ||
} | ||
febsnet.support = { | ||
blob: 'FileReader' in window.self && 'Blob' in window.self && (function() { | ||
try { | ||
new Blob(); | ||
return true | ||
} catch(e) { | ||
return false | ||
} | ||
})(), | ||
formData: 'FormData' in window.self, | ||
arrayBuffer: 'ArrayBuffer' in window.self | ||
} | ||
febsnet.Body = function () { | ||
this.bodyUsed = false | ||
this._initBody = function(body) { | ||
this._bodyInit = body | ||
if (typeof body === 'string') { | ||
this._bodyText = body | ||
} else if (febsnet.support.blob && Blob.prototype.isPrototypeOf(body)) { | ||
this._bodyBlob = body | ||
} else if (febsnet.support.formData && FormData.prototype.isPrototypeOf(body)) { | ||
this._bodyFormData = body | ||
} else if (!body) { | ||
this._bodyText = '' | ||
} else if (febsnet.support.arrayBuffer && ArrayBuffer.prototype.isPrototypeOf(body)) { | ||
// Only febsnet.support ArrayBuffers for POST method. | ||
// Receiving ArrayBuffers happens via Blobs, instead. | ||
} else { | ||
throw new Error('unsupported BodyInit type') | ||
} | ||
} | ||
if (febsnet.support.blob) { | ||
this.blob = function() { | ||
var rejected = febsnet.consumed(this) | ||
if (rejected) { | ||
return rejected | ||
} | ||
if (this._bodyBlob) { | ||
return Promise.resolve(this._bodyBlob) | ||
} else if (this._bodyFormData) { | ||
throw new Error('could not read FormData body as blob') | ||
} else { | ||
return Promise.resolve(new Blob([this._bodyText])) | ||
} | ||
} | ||
this.arrayBuffer = function() { | ||
return this.blob().then(febsnet.readBlobAsArrayBuffer) | ||
} | ||
this.text = function() { | ||
var rejected = febsnet.consumed(this) | ||
if (rejected) { | ||
return rejected | ||
} | ||
if (this._bodyBlob) { | ||
return febsnet.readBlobAsText(this._bodyBlob) | ||
} else if (this._bodyFormData) { | ||
throw new Error('could not read FormData body as text') | ||
} else { | ||
return Promise.resolve(this._bodyText) | ||
} | ||
} | ||
} else { | ||
this.text = function() { | ||
var rejected = febsnet.consumed(this) | ||
return rejected ? rejected : Promise.resolve(this._bodyText) | ||
} | ||
} | ||
if (febsnet.support.formData) { | ||
this.formData = function() { | ||
return this.text().then(febsnet.decode) | ||
} | ||
} | ||
this.json = function() { | ||
return this.text().then(JSON.parse) | ||
} | ||
return this | ||
} | ||
// HTTP methods whose capitalization should be normalized | ||
febsnet.normalizeMethod = function (method) { | ||
var methods = ['DELETE', 'GET', 'HEAD', 'OPTIONS', 'POST', 'PUT'] | ||
var upcased = method.toUpperCase() | ||
return (methods.indexOf(upcased) > -1) ? upcased : method | ||
} | ||
febsnet.Request = function (input, options) { | ||
options = options || {} | ||
var body = options.body | ||
if (febsnet.Request.prototype.isPrototypeOf(input)) { | ||
if (input.bodyUsed) { | ||
throw new TypeError('Already read') | ||
} | ||
this.url = input.url | ||
this.credentials = input.credentials | ||
if (!options.headers) { | ||
this.headers = new febsnet.Headers(input.headers) | ||
} | ||
this.method = input.method | ||
this.mode = input.mode | ||
if (!body) { | ||
body = input._bodyInit | ||
input.bodyUsed = true | ||
} | ||
} else { | ||
this.url = input | ||
} | ||
this.credentials = options.credentials || this.credentials || 'omit' | ||
if (options.headers || !this.headers) { | ||
this.headers = new febsnet.Headers(options.headers) | ||
} | ||
this.method = febsnet.normalizeMethod(options.method || this.method || 'GET') | ||
this.mode = options.mode || this.mode || null | ||
this.referrer = null | ||
if ((this.method === 'GET' || this.method === 'HEAD') && body) { | ||
throw new TypeError('febsnet.Body not allowed for GET or HEAD requests') | ||
} | ||
this._initBody(body) | ||
} | ||
febsnet.Request.prototype.clone = function() { | ||
return new febsnet.Request(this) | ||
} | ||
febsnet.decode = function (body) { | ||
var form = new FormData() | ||
body.trim().split('&').forEach(function(bytes) { | ||
if (bytes) { | ||
var split = bytes.split('=') | ||
var name = split.shift().replace(/\+/g, ' ') | ||
var value = split.join('=').replace(/\+/g, ' ') | ||
form.append(decodeURIComponent(name), decodeURIComponent(value)) | ||
} | ||
}) | ||
return form | ||
} | ||
febsnet.headers = function (xhr) { | ||
var head = new febsnet.Headers() | ||
var pairs = xhr.getAllResponseHeaders().trim().split('\n') | ||
pairs.forEach(function(header) { | ||
var split = header.trim().split(':') | ||
var key = split.shift().trim() | ||
var value = split.join(':').trim() | ||
head.append(key, value) | ||
}) | ||
return head | ||
} | ||
febsnet.Body.call(febsnet.Request.prototype) | ||
febsnet.Response = function (bodyInit, options) { | ||
if (!options) { | ||
options = {} | ||
} | ||
this._initBody(bodyInit) | ||
this.type = 'default' | ||
this.status = options.status | ||
this.ok = this.status >= 200 && this.status < 300 | ||
this.statusText = options.statusText | ||
this.headers = options.headers instanceof febsnet.Headers ? options.headers : new febsnet.Headers(options.headers) | ||
this.url = options.url || '' | ||
} | ||
febsnet.Body.call(febsnet.Response.prototype) | ||
febsnet.Response.prototype.clone = function() { | ||
return new febsnet.Response(this._bodyInit, { | ||
status: this.status, | ||
statusText: this.statusText, | ||
headers: new febsnet.Headers(this.headers), | ||
url: this.url | ||
}) | ||
} | ||
febsnet.Response.error = function() { | ||
var response = new febsnet.Response(null, {status: 0, statusText: ''}) | ||
response.type = 'error' | ||
return response | ||
} | ||
var redirectStatuses = [301, 302, 303, 307, 308] | ||
febsnet.Response.redirect = function(url, status) { | ||
if (redirectStatuses.indexOf(status) === -1) { | ||
throw new RangeError('Invalid status code') | ||
} | ||
return new febsnet.Response(null, {status: status, headers: {location: url}}) | ||
} | ||
window.Headers = febsnet.Headers; | ||
window.Request = febsnet.Request; | ||
window.Response = febsnet.Response; | ||
window.fetch = febsnet.fetch = function(input, init) { | ||
// <= IE9. need jquery.ajax or zepto.ajax | ||
if (febsUtils.browserIEVer() <= 9) { | ||
var url; | ||
var option; | ||
if (febsnet.Request.prototype.isPrototypeOf(input) && !init) { | ||
url = input.url; | ||
option = input; | ||
} else { | ||
url = input; | ||
option = init; | ||
} | ||
return new Promise(function(resolve, reject) { | ||
if(!window["$"] && !window["$"].ajax) { | ||
throw new Error('need jquery.ajax in ie9<= browsers.'); | ||
} | ||
window["$"].ajax({ | ||
url: url, | ||
beforeSend: function(xhr) { | ||
var header = option.headers||{}; | ||
for (var key in header) { | ||
var element = header[key]; | ||
xhr.setRequestHeader(key, element); | ||
} | ||
}, | ||
withCredentials: option.credentials === 'include' ? true : false, | ||
crossDomain: option.mode == 'cors' ? true : false, | ||
timeout: option.timeout||DefaultTimeout, | ||
type: (option.method&&option.method.toLowerCase()=='post') ? 'POST' : 'GET', | ||
data: option.body, | ||
complete: function(xhr, ts) { | ||
var status = (xhr.status === 1223) ? 204 : xhr.status | ||
if (status < 100 || status > 599) { | ||
reject(new TypeError('Network request failed')) | ||
return | ||
} | ||
function responseURL() { | ||
if ('responseURL' in xhr) { | ||
return xhr.responseURL | ||
} | ||
// Avoid security warnings on getResponseHeader when not allowed by CORS | ||
if (/^X-febsnet.Request-URL:/m.test(xhr.getAllResponseHeaders())) { | ||
return xhr.getResponseHeader('X-febsnet.Request-URL') | ||
} | ||
return; | ||
} | ||
var options = { | ||
status: status, | ||
statusText: xhr.statusText, | ||
headers: febsnet.headers(xhr), | ||
url: responseURL() | ||
} | ||
var body = 'response' in xhr ? xhr.response : xhr.responseText; | ||
resolve(new febsnet.Response(body, options)) | ||
}, | ||
error: function(xhr, msg) { | ||
if (msg == 'timeout') { | ||
reject('timeout'); | ||
} | ||
else { | ||
reject(new TypeError('Network request failed')); | ||
} | ||
} | ||
}); | ||
}); | ||
} // if. | ||
// other. | ||
return new Promise(function(resolve, reject) { | ||
var request | ||
if (febsnet.Request.prototype.isPrototypeOf(input) && !init) { | ||
request = input | ||
} else { | ||
request = new febsnet.Request(input, init) | ||
} | ||
var xhr; | ||
if (window.XDomainRequest) xhr = new XDomainRequest(); | ||
else if (window.XMLHttpRequest) xhr = new XMLHttpRequest(); | ||
else xhr = new ActiveXObject("Microsoft.XMLHTTP"); | ||
if (init && init.timeout) { | ||
xhr.timeout = init.timeout; | ||
} else { | ||
xhr.timeout = DefaultTimeout; | ||
} | ||
function responseURL() { | ||
if ('responseURL' in xhr) { | ||
return xhr.responseURL | ||
} | ||
// Avoid security warnings on getResponseHeader when not allowed by CORS | ||
if (/^X-febsnet.Request-URL:/m.test(xhr.getAllResponseHeaders())) { | ||
return xhr.getResponseHeader('X-febsnet.Request-URL') | ||
} | ||
return; | ||
} | ||
// xhr.onload = function() { | ||
// var status = (xhr.status === 1223) ? 204 : xhr.status | ||
// if (status < 100 || status > 599) { | ||
// reject(new TypeError('Network request failed')) | ||
// return | ||
// } | ||
// var options = { | ||
// status: status, | ||
// statusText: xhr.statusText, | ||
// headers: febsnet.headers(xhr), | ||
// url: responseURL() | ||
// } | ||
// var body = 'response' in xhr ? xhr.response : xhr.responseText; | ||
// resolve(new febsnet.Response(body, options)) | ||
// } | ||
xhr.onreadystatechange = function() { | ||
if (xhr.readyState == 4) { | ||
var status = (xhr.status === 1223) ? 204 : xhr.status | ||
if (status < 100 || status > 599) { | ||
reject(new TypeError('Network request failed')) | ||
return | ||
} | ||
var options = { | ||
status: status, | ||
statusText: xhr.statusText, | ||
headers: febsnet.headers(xhr), | ||
url: responseURL() | ||
} | ||
var body = 'response' in xhr ? xhr.response : xhr.responseText; | ||
resolve(new febsnet.Response(body, options)) | ||
} | ||
} | ||
xhr.ontimeout = function() { | ||
reject('timeout') | ||
} | ||
xhr.onerror = function() { | ||
reject(new TypeError('Network request failed')) | ||
} | ||
xhr.open(request.method, request.url, true) | ||
if (request.credentials === 'include') { | ||
xhr.withCredentials = true | ||
} else { | ||
xhr.withCredentials = false | ||
} | ||
if ('responseType' in xhr && febsnet.support.blob) { | ||
xhr.responseType = 'blob' | ||
} | ||
request.headers.forEach(function(value, name) { | ||
xhr.setRequestHeader(name, value) | ||
}) | ||
xhr.send(typeof request._bodyInit === 'undefined' ? null : request._bodyInit) | ||
}) | ||
} | ||
febsnet.fetch.polyfill = true; | ||
net.fetch = febsnet.fetch; | ||
} // if..else. | ||
//-------------------------------------------------------- | ||
// jsonp | ||
//-------------------------------------------------------- | ||
// From https://github.com/camsong/fetch-jsonp | ||
febsnet.jsonp_defaultOptions = { | ||
timeout: DefaultTimeout, | ||
jsonpCallback: 'callback' | ||
var net = { | ||
ajax: netajax.ajax, | ||
fetch: netfetch.fetch, | ||
jsonp: netjsonp.jsonp | ||
}; | ||
febsnet.jsonp_generateCallbackFunction = function () { | ||
return 'jsonp_' + Date.now().toString() + '_' + Math.ceil(Math.random() * 100000); | ||
} | ||
// Known issue: Will throw 'Uncaught ReferenceError: callback_*** is not defined' error if request timeout | ||
febsnet.jsonp_clearFunction = function (functionName) { | ||
// IE8 throws an exception when you try to delete a property on window | ||
// http://stackoverflow.com/a/1824228/751089 | ||
try { | ||
delete window[functionName]; | ||
} catch(e) { | ||
} | ||
} | ||
febsnet.jsonp_removeScript = function (scriptId) { | ||
var script = document.getElementById(scriptId); | ||
document.getElementsByTagName("head")[0].removeChild(script); | ||
} | ||
febsnet.jsonp = function(url, options) { | ||
options = options || {}; | ||
var timeout = options.timeout != null ? options.timeout : febsnet.jsonp_defaultOptions.timeout; | ||
var jsonpCallback = (!!options.jsonpCallback) ? options.jsonpCallback : febsnet.jsonp_defaultOptions.jsonpCallback; | ||
var timeoutId; | ||
return new Promise(function(resolve, reject) { | ||
var callbackFunction = febsnet.jsonp_generateCallbackFunction(); | ||
window[callbackFunction] = function(response) { | ||
resolve({ | ||
ok: true, | ||
// keep consistent with fetch API | ||
json: function() { | ||
return Promise.resolve(response); | ||
} | ||
}); | ||
if (timeoutId) clearTimeout(timeoutId); | ||
febsnet.jsonp_removeScript(jsonpCallback + '_' + callbackFunction); | ||
febsnet.jsonp_clearFunction(callbackFunction); | ||
}; | ||
// Check if the user set their own params, and if not add a ? to start a list of params | ||
url += (url.indexOf('?') === -1) ? '?' : '&'; | ||
var jsonpScript = document.createElement('script'); | ||
jsonpScript.setAttribute("src", url + jsonpCallback + '=' + callbackFunction); | ||
jsonpScript.id = jsonpCallback + '_' + callbackFunction; | ||
document.getElementsByTagName("head")[0].appendChild(jsonpScript); | ||
timeoutId = setTimeout(function() { | ||
reject('timeout'); | ||
febsnet.jsonp_clearFunction(callbackFunction); | ||
febsnet.jsonp_removeScript(jsonpCallback + '_' + callbackFunction); | ||
}, timeout); | ||
}); | ||
}; | ||
net.jsonp = febsnet.jsonp; | ||
return net; | ||
} ); |
@@ -74,3 +74,3 @@ { | ||
"name": "febs-browser", | ||
"version": "0.8.6" | ||
"version": "0.8.7" | ||
} |
@@ -9,2 +9,14 @@ febs 库是一些常用的工具的合集; | ||
febs按功能分为如下的js包. | ||
| name | require path | feature | | ||
|----|--------|-------| | ||
| febs.js | require('febs-browser') | all feature | | ||
| febs.base.js | require('febs-browser/base') | base feature | | ||
| febs.bigint.js | require('febs-browser/bigint') | bigint feature: febs.utils.bigint_xxx | | ||
| febs.md5.js | require('febs-browser/md5') | md5 crypto feature: febs.crypt.md5() | | ||
| febs.sha1.js | require('febs-browser/sha1') | sha1 crypto feature: febs.crypt.sha1() | | ||
# Install | ||
@@ -38,3 +50,3 @@ | ||
<link rel="stylesheet" type="text/css" href="path/febs/febs.css" /> | ||
<script charset='UTF-8' type="text/javascript" src="path/febs/febs.js"></script> | ||
<script charset='UTF-8' type="text/javascript" src="path/febs/febs.base.js"></script> | ||
<script charset='UTF-8' type="text/javascript" src="path/febs/febs.sha1.js"></script> <!-- febs.crypt.sha1()方法 --> | ||
@@ -359,5 +371,11 @@ <script charset='UTF-8' type="text/javascript" src="path/febs/febs.md5.js"></script> <!-- febs.crypt.md5()方法 --> | ||
# net | ||
net封装了浏览器通信方法: fetch, jsonp | ||
net封装了浏览器通信方法: ajax, fetch, jsonp | ||
```js | ||
/** | ||
* @desc: 使用jquery.ajax类似参数调用. | ||
* @param cfg: 允许额外传递一个 progress:function(percent) {} 的参数来获取进度. | ||
* @return: | ||
*/ | ||
febs.net.ajax(cfg:any):{abort:()=>void} | ||
/** | ||
* @desc: 使用fetch方式进行数据请求. | ||
@@ -377,2 +395,3 @@ * 如果超時, 可以catch到 'timeout' | ||
credentials, // 携带了credentials='include'则服务器需设置Access-Control-Allow-Credentials | ||
progress, // 允许设置进度cb. function(percent) {} | ||
} | ||
@@ -379,0 +398,0 @@ * @return: 返回 Promise; |
@@ -236,3 +236,11 @@ // Type definitions for febs | ||
export namespace net { | ||
/** | ||
* @desc: 使用jquery.ajax类似参数调用. | ||
* @param cfg: 允许额外传递一个 progress:function(percent) {} 的参数来获取进度. | ||
* @return: | ||
*/ | ||
function ajax(cfg:any):{abort:()=>void} | ||
/** | ||
* @desc: 使用fetch方式进行数据请求. | ||
@@ -239,0 +247,0 @@ * 如果超時, 可以catch到 'timeout' |
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 too big to display
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
510
2
2190634
22445