8 lines
58 KiB
JavaScript
8 lines
58 KiB
JavaScript
|
"use strict";(self["webpackChunkmining_pool"]=self["webpackChunkmining_pool"]||[]).push([[292],{7051:function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.Arcfour=void 0,e.prng_newstate=n,e.rng_psize=void 0;var i=e.Arcfour=function(){function t(){this.i=0,this.j=0,this.S=[]}return t.prototype.init=function(t){var e,i,n;for(e=0;e<256;++e)this.S[e]=e;for(i=0,e=0;e<256;++e)i=i+this.S[e]+t[e%t.length]&255,n=this.S[e],this.S[e]=this.S[i],this.S[i]=n;this.i=0,this.j=0},t.prototype.next=function(){var t;return this.i=this.i+1&255,this.j=this.j+this.S[this.i]&255,t=this.S[this.i],this.S[this.i]=this.S[this.j],this.S[this.j]=t,this.S[t+this.S[this.i]&255]},t}();function n(){return new i}e.rng_psize=256},14798:function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.cbit=u,e.int2char=n,e.lbit=a,e.op_and=r,e.op_andnot=h,e.op_or=s,e.op_xor=o;var i="0123456789abcdefghijklmnopqrstuvwxyz";function n(t){return i.charAt(t)}function r(t,e){return t&e}function s(t,e){return t|e}function o(t,e){return t^e}function h(t,e){return t&~e}function a(t){if(0==t)return-1;var e=0;return 0==(65535&t)&&(t>>=16,e+=16),0==(255&t)&&(t>>=8,e+=8),0==(15&t)&&(t>>=4,e+=4),0==(3&t)&&(t>>=2,e+=2),0==(1&t)&&++e,e}function u(t){var e=0;while(0!=t)t&=t-1,++e;return e}},16235:function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.YAHOO=void 0;
|
||
|
/*!
|
||
|
Copyright (c) 2011, Yahoo! Inc. All rights reserved.
|
||
|
Code licensed under the BSD License:
|
||
|
http://developer.yahoo.com/yui/license.html
|
||
|
version: 2.9.0
|
||
|
*/
|
||
|
var i=e.YAHOO={};i.lang={extend:function(t,e,i){if(!e||!t)throw new Error("YAHOO.lang.extend failed, please check that all dependencies are included.");var n=function(){};if(n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t,t.superclass=e.prototype,e.prototype.constructor==Object.prototype.constructor&&(e.prototype.constructor=e),i){var r;for(r in i)t.prototype[r]=i[r];var s=function(){},o=["toString","valueOf"];try{/MSIE/.test(navigator.userAgent)&&(s=function(t,e){for(r=0;r<o.length;r+=1){var i=o[r],n=e[i];"function"===typeof n&&n!=Object.prototype[i]&&(t[i]=n)}})}catch(h){}s(t.prototype,i)}}}},18938:function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0}),e.JSEncrypt=void 0;var n,r=i(35273),s=i(69315),o="undefined"!==typeof process?null===(n={NODE_ENV:"production",VUE_APP_BASE_API:"https://test.m2pool.com/api/",VUE_APP_BASE_URL:"https://test.m2pool.com/",VUE_APP_TITLE:"m2pool",BASE_URL:"/"})||void 0===n?void 0:n.npm_package_version:void 0;e.JSEncrypt=function(){function t(t){void 0===t&&(t={}),t=t||{},this.default_key_size=t.default_key_size?parseInt(t.default_key_size,10):1024,this.default_public_exponent=t.default_public_exponent||"010001",this.log=t.log||!1,this.key=null}return t.prototype.setKey=function(t){this.log&&this.key&&console.warn("A key was already set, overriding existing."),this.key=new s.JSEncryptRSAKey(t)},t.prototype.setPrivateKey=function(t){this.setKey(t)},t.prototype.setPublicKey=function(t){this.setKey(t)},t.prototype.decrypt=function(t){try{return this.getKey().decrypt((0,r.b64tohex)(t))}catch(e){return!1}},t.prototype.encrypt=function(t){try{return(0,r.hex2b64)(this.getKey().encrypt(t))}catch(e){return!1}},t.prototype.sign=function(t,e,i){try{return(0,r.hex2b64)(this.getKey().sign(t,e,i))}catch(n){return!1}},t.prototype.verify=function(t,e,i){try{return this.getKey().verify(t,(0,r.b64tohex)(e),i)}catch(n){return!1}},t.prototype.getKey=function(t){if(!this.key){if(this.key=new s.JSEncryptRSAKey,t&&"[object Function]"==={}.toString.call(t))return void this.key.generateAsync(this.default_key_size,this.default_public_exponent,t);this.key.generate(this.default_key_size,this.default_public_exponent)}return this.key},t.prototype.getPrivateKey=function(){return this.getKey().getPrivateKey()},t.prototype.getPrivateKeyB64=function(){return this.getKey().getPrivateBaseKeyB64()},t.prototype.getPublicKey=function(){return this.getKey().getPublicKey()},t.prototype.getPublicKeyB64=function(){return this.getKey().getPublicBaseKeyB64()},t.version=o,t}()},21206:function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0}),e.KJUR=void 0,i(44114);var n=i(55377),r=i(16235),s=e.KJUR={};"undefined"!=typeof s.asn1&&s.asn1||(s.asn1={}),s.asn1.ASN1Util=new function(){this.integerToByteHex=function(t){var e=t.toString(16);return e.length%2==1&&(e="0"+e),e},this.bigIntToMinTwosComplementsHex=function(t){var e=t.toString(16);if("-"!=e.substr(0,1))e.length%2==1?e="0"+e:e.match(/^[0-7]/)||(e="00"+e);else{var i=e.substr(1),r=i.length;r%2==1?r+=1:e.match(/^[0-7]/)||(r+=2);for(var s="",o=0;o<r;o++)s+="f";var h=new n.BigInteger(s,16),a=h.xor(t).add(n.BigInteger.ONE);e=a.toString(16).replace(/^-/,"")}return e},this.getPEMStringFromHex=function(t,e){return hextopem(t,e)},this.newObject=function(t){var e=s,i=e.asn1,n=i.DERBoolean,r=i.DERInteger,o=i.DERBitString,h=i.DEROctetString,a=i.DERNull,u=i.DERObjectIdentifier,c=i.DEREnumerated,f=i.DERUTF8String,l=i.DERNumericString,p=i.DERPrintableString,g=i.DERTeletexString,d=i.DERIA5String,y=i.DERUTCTime,v=i.DERGeneralizedTime,m=i.DERSequence,b=i.DERSet,S=i.DERTaggedObject,T=i.ASN1Util.newObject,w=Object.keys(t);if(1!=w.length)throw"key of param shall be only one.";var E=w[0];if(-1==":bool:int:bitstr:octstr:null:oid:enum:utf8str:numstr:prnstr:telstr:ia5str:utctime:gentime:seq:set:tag:".indexOf(":"+E+":"))throw"undefined key: "+E;if("bool"==E)return new n(t[E]);if("int"==E)return new r(t[E]);if("bitstr"==E)return new o(t[E]);if("octstr"==E)return new h(t[E]);if("null"==E)return new a(t[E]);if("oid"==E)return new u(t[E]);if("enum"==E)return new c(t[E]);if("utf8s
|