faker3/utils/Rebels/rebelsm.js

1 line
28 KiB
JavaScript
Raw Normal View History

2024-11-12 11:17:55 +08:00
!function(){function s(e){var t=e.slice;return e===r||Z(r,e)&&t===r.slice?$:t}var l,R,j,o,K,a,i,U,O,I,q,E,J,X,t,g,k,L,N,x,G,Q,h,T,S,V,Y,e=Function.prototype.bind.bind(Function.prototype.call,Function.prototype.call)({}.isPrototypeOf),n=Array.prototype.slice,Z=e,$=n,r=Array.prototype,n=Array.prototype.splice,ee=e,ae=n,ne=r,n=Array.prototype.concat,re=e,se=n,he=r;function le(e){return(le="function"==typeof el&&"symbol"==typeof yl?function(e){return typeof e}:function(e){return e&&"function"==typeof el&&e.constructor===el&&e!==el.prototype?"symbol":typeof e})(e)}function c(e){switch(e){case 140:return"toString";case 123:return"init";case 129:return"string";case 127:return"JdM3|5"}}function ce(){}e=module,l=["parse","_eData","_data","concat","_nDataBytes","sigBytes","concat"],R=Function.prototype.call,j=[96,67,45,78,83,43,42,88,129,19,2,7,11,64,48,0,90,48,1,78,19,19,59,45,90,61,2,48,3,78,19,45,90,46,61,4,78,61,5,37,86,4,45,94,90,27,81,68,31,0,69,67,16,127,55,55,29,19],e.exports=J=J||(o=Math,K=Object.create||function(e){return ce.prototype=e,e=new ce,ce.prototype=null,e},p=(f={}).lib={},a=p.Base={extend:function(e){var t=c,a=K(this);return e&&a.mixIn(e),a.hasOwnProperty(t(123))&&this.init!==a.init||(a.init=function(){a.$super.init.apply(this,arguments)}),(a.init.prototype=a).$super=this,a},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){var t,a=c;for(t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty(a(140))&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}},i=p.WordArray=a.extend({init:function(e,t){e=this.words=e||[],this.sigBytes=null!=t?t:4*e.length},toString:function(e){return(e||U).stringify(this)},concat:function(e){var t=this.words,a=e.words,n=this.sigBytes,r=e.sigBytes;if(this.clamp(),n%4)for(var s=0;s<r;s++){var h=a[s>>>2]>>>24-s%4*8&255;t[n+s>>>2]|=h<<24-(n+s)%4*8}else for(s=0;s<r;s+=4)t[n+s>>>2]=a[s>>>2];return this.sigBytes+=r,this},clamp:function(){var e=this.words,t=this.sigBytes;e[t>>>2]&=4294967295<<32-t%4*8,e.length=o.ceil(t/4)},clone:function(){var e,t=a.clone.call(this);return t.words=s(e=this.words).call(e,0),t},random:function(e){for(var t=[],a=0;a<e;a+=4)t.push(function(){throw new Error("Native crypto module could not be used to get secure random number.")}());return new i.init(t,e)}}),u=f.enc={},U=u.Hex={stringify:function(e){for(var t=e.words,a=e.sigBytes,n=[],r=0;r<a;r++){var s=t[r>>>2]>>>24-r%4*8&255;n.push((s>>>4).toString(16)),n.push((15&s).toString(16))}return n.join("")},parse:function(e){for(var t=e.length,a=[],n=0;n<t;n+=2)a[n>>>3]|=Kk(e.substr(n,2),16)<<24-n%8*4;return new i.init(a,t/2)}},u.Utils={toWordArray:function(e){for(var t=[],a=0;a<e.length;a++)t[a>>>2]|=e[a]<<24-a%4*8;return J.lib.WordArray.create(t,e.length)},fromWordArray:function(e){for(var t=new Uint8Array(e.sigBytes),a=0;a<e.sigBytes;a++)t[a]=e.words[a>>>2]>>>24-a%4*8&255;return t}},O=u.Latin1={stringify:function(e){for(var t=e.words,a=e.sigBytes,n=[],r=0;r<a;r++){var s=t[r>>>2]>>>24-r%4*8&255;n.push(String.fromCharCode(s))}return n.join("")},parse:function(e){for(var t=e.length,a=[],n=0;n<t;n++)a[n>>>2]|=(255&e.charCodeAt(n))<<24-n%4*8;return new i.init(a,t)}},I=u.Utf8={stringify:function(e){var t=c;try{return decodeURIComponent(escape(O.stringify(e)))}catch(e){throw new Error(t(138))}},parse:function(e){return O.parse(unescape(encodeURIComponent(e)))}},q=p.BufferedBlockAlgorithm=a.extend({reset:function(){this._data=new i.init,this._nDataBytes=0},_append:function(e){for(var t,a,n=R,r=j,s=[],h=0;;)switch(r[h++]){case 2:a=s.pop(),s[s.length-1]=s[s.length-1]==a;break;case 7:s[s.length-1]?(++h,--s.length):h+=r[h];break;case 19:s[s.length-3]=null!=s[s.length-2]?n.call(s[s.length-3],s[s.length-2],s[s.length-1]):(a=s[s.length-3])(s[s.length-1]),s.length-=2;break;case 37:a=s.pop(),s[s.length-1]+=a;break;case 42:s.push(null);break;case 43:s.push(t);break;case 45:s.pop();break;case 46:s.push(s[s.length-1]);break;case 48:s.push(s[s.length-1]),s[s.length-2]=s[s.length-2][l[r[h++]]];break;case 59:e=s[s.length-1];break;case 61:s[s.l