diff --git a/microShield.user.js b/microShield.user.js index 6662b4b..7575e7c 100644 --- a/microShield.user.js +++ b/microShield.user.js @@ -110,10 +110,10 @@ // Original Srouce Code: // Libraries: please see 'https://github.com/List-KR/microShield/package.json'. // Originated from https://github.com/seia-soto/adshield-defuser and https://github.com/seia-soto/userscripts. -"use strict";(()=>{var Lt=Object.create;var ct=Object.defineProperty;var Mt=Object.getOwnPropertyDescriptor;var Nt=Object.getOwnPropertyNames;var qt=Object.getPrototypeOf,zt=Object.prototype.hasOwnProperty;var jt=(r,t)=>()=>(r&&(t=r(r=0)),t);var Y=(r,t)=>()=>(t||r((t={exports:{}}).exports,t),t.exports);var Dt=(r,t,e,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Nt(t))!zt.call(r,i)&&i!==e&&ct(r,i,{get:()=>t[i],enumerable:!(n=Mt(t,i))||n.enumerable});return r};var Wt=(r,t,e)=>(e=r!=null?Lt(qt(r)):{},Dt(t||!r||!r.__esModule?ct(e,"default",{value:r,enumerable:!0}):e,r));var ft=Y(W=>{"use strict";d();W.byteLength=Ht;W.toByteArray=Vt;W.fromByteArray=Jt;var B=[],m=[],$t=typeof Uint8Array<"u"?Uint8Array:Array,X="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(S=0,pt=X.length;S0)throw new Error("Invalid string. Length must be a multiple of 4");var e=r.indexOf("=");e===-1&&(e=t);var n=e===t?0:4-e%4;return[e,n]}function Ht(r){var t=at(r),e=t[0],n=t[1];return(e+n)*3/4-n}function Gt(r,t,e){return(t+e)*3/4-e}function Vt(r){var t,e=at(r),n=e[0],i=e[1],o=new $t(Gt(r,n,i)),u=0,c=i>0?n-4:n,p;for(p=0;p>16&255,o[u++]=t>>8&255,o[u++]=t&255;return i===2&&(t=m[r.charCodeAt(p)]<<2|m[r.charCodeAt(p+1)]>>4,o[u++]=t&255),i===1&&(t=m[r.charCodeAt(p)]<<10|m[r.charCodeAt(p+1)]<<4|m[r.charCodeAt(p+2)]>>2,o[u++]=t>>8&255,o[u++]=t&255),o}function Yt(r){return B[r>>18&63]+B[r>>12&63]+B[r>>6&63]+B[r&63]}function Xt(r,t,e){for(var n,i=[],o=t;oc?c:u+o));return n===1?(t=r[e-1],i.push(B[t>>2]+B[t<<4&63]+"==")):n===2&&(t=(r[e-2]<<8)+r[e-1],i.push(B[t>>10]+B[t>>4&63]+B[t<<2&63]+"=")),i.join("")}});var lt=Y(J=>{d();J.read=function(r,t,e,n,i){var o,u,c=i*8-n-1,p=(1<>1,f=-7,a=e?i-1:0,R=e?-1:1,E=r[t+a];for(a+=R,o=E&(1<<-f)-1,E>>=-f,f+=c;f>0;o=o*256+r[t+a],a+=R,f-=8);for(u=o&(1<<-f)-1,o>>=-f,f+=n;f>0;u=u*256+r[t+a],a+=R,f-=8);if(o===0)o=1-h;else{if(o===p)return u?NaN:(E?-1:1)*(1/0);u=u+Math.pow(2,n),o=o-h}return(E?-1:1)*u*Math.pow(2,o-n)};J.write=function(r,t,e,n,i,o){var u,c,p,h=o*8-i-1,f=(1<>1,R=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,E=n?0:o-1,V=n?1:-1,Pt=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(c=isNaN(t)?1:0,u=f):(u=Math.floor(Math.log(t)/Math.LN2),t*(p=Math.pow(2,-u))<1&&(u--,p*=2),u+a>=1?t+=R/p:t+=R*Math.pow(2,1-a),t*p>=2&&(u++,p/=2),u+a>=f?(c=0,u=f):u+a>=1?(c=(t*p-1)*Math.pow(2,i),u=u+a):(c=t*Math.pow(2,a-1)*Math.pow(2,i),u=0));i>=8;r[e+E]=c&255,E+=V,c/=256,i-=8);for(u=u<0;r[e+E]=u&255,E+=V,u/=256,h-=8);r[e+E-V]|=Pt*128}});var Rt=Y(C=>{"use strict";d();var K=ft(),O=lt(),ht=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;C.Buffer=s;C.SlowBuffer=re;C.INSPECT_MAX_BYTES=50;var $=2147483647;C.kMaxLength=$;s.TYPED_ARRAY_SUPPORT=Kt();!s.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function Kt(){try{let r=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(r,t),r.foo()===42}catch{return!1}}Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.buffer}});Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.byteOffset}});function A(r){if(r>$)throw new RangeError('The value "'+r+'" is invalid for option "size"');let t=new Uint8Array(r);return Object.setPrototypeOf(t,s.prototype),t}function s(r,t,e){if(typeof r=="number"){if(typeof t=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return et(r)}return mt(r,t,e)}s.poolSize=8192;function mt(r,t,e){if(typeof r=="string")return Zt(r,t);if(ArrayBuffer.isView(r))return te(r);if(r==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof r);if(I(r,ArrayBuffer)||r&&I(r.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(I(r,SharedArrayBuffer)||r&&I(r.buffer,SharedArrayBuffer)))return Z(r,t,e);if(typeof r=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');let n=r.valueOf&&r.valueOf();if(n!=null&&n!==r)return s.from(n,t,e);let i=ee(r);if(i)return i;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof r[Symbol.toPrimitive]=="function")return s.from(r[Symbol.toPrimitive]("string"),t,e);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof r)}s.from=function(r,t,e){return mt(r,t,e)};Object.setPrototypeOf(s.prototype,Uint8Array.prototype);Object.setPrototypeOf(s,Uint8Array);function xt(r){if(typeof r!="number")throw new TypeError('"size" argument must be of type number');if(r<0)throw new RangeError('The value "'+r+'" is invalid for option "size"')}function Qt(r,t,e){return xt(r),r<=0?A(r):t!==void 0?typeof e=="string"?A(r).fill(t,e):A(r).fill(t):A(r)}s.alloc=function(r,t,e){return Qt(r,t,e)};function et(r){return xt(r),A(r<0?0:rt(r)|0)}s.allocUnsafe=function(r){return et(r)};s.allocUnsafeSlow=function(r){return et(r)};function Zt(r,t){if((typeof t!="string"||t==="")&&(t="utf8"),!s.isEncoding(t))throw new TypeError("Unknown encoding: "+t);let e=gt(r,t)|0,n=A(e),i=n.write(r,t);return i!==e&&(n=n.slice(0,i)),n}function Q(r){let t=r.length<0?0:rt(r.length)|0,e=A(t);for(let n=0;n=$)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+$.toString(16)+" bytes");return r|0}function re(r){return+r!=r&&(r=0),s.alloc(+r)}s.isBuffer=function(t){return t!=null&&t._isBuffer===!0&&t!==s.prototype};s.compare=function(t,e){if(I(t,Uint8Array)&&(t=s.from(t,t.offset,t.byteLength)),I(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(t)||!s.isBuffer(e))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===e)return 0;let n=t.length,i=e.length;for(let o=0,u=Math.min(n,i);oi.length?(s.isBuffer(u)||(u=s.from(u)),u.copy(i,o)):Uint8Array.prototype.set.call(i,u,o);else if(s.isBuffer(u))u.copy(i,o);else throw new TypeError('"list" argument must be an Array of Buffers');o+=u.length}return i};function gt(r,t){if(s.isBuffer(r))return r.length;if(ArrayBuffer.isView(r)||I(r,ArrayBuffer))return r.byteLength;if(typeof r!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof r);let e=r.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&e===0)return 0;let i=!1;for(;;)switch(t){case"ascii":case"latin1":case"binary":return e;case"utf8":case"utf-8":return tt(r).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return e*2;case"hex":return e>>>1;case"base64":return Ut(r).length;default:if(i)return n?-1:tt(r).length;t=(""+t).toLowerCase(),i=!0}}s.byteLength=gt;function ne(r,t,e){let n=!1;if((t===void 0||t<0)&&(t=0),t>this.length||((e===void 0||e>this.length)&&(e=this.length),e<=0)||(e>>>=0,t>>>=0,e<=t))return"";for(r||(r="utf8");;)switch(r){case"hex":return he(this,t,e);case"utf8":case"utf-8":return Bt(this,t,e);case"ascii":return fe(this,t,e);case"latin1":case"binary":return le(this,t,e);case"base64":return pe(this,t,e);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return de(this,t,e);default:if(n)throw new TypeError("Unknown encoding: "+r);r=(r+"").toLowerCase(),n=!0}}s.prototype._isBuffer=!0;function b(r,t,e){let n=r[t];r[t]=r[e],r[e]=n}s.prototype.swap16=function(){let t=this.length;if(t%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let e=0;ee&&(t+=" ... "),""};ht&&(s.prototype[ht]=s.prototype.inspect);s.prototype.compare=function(t,e,n,i,o){if(I(t,Uint8Array)&&(t=s.from(t,t.offset,t.byteLength)),!s.isBuffer(t))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(e===void 0&&(e=0),n===void 0&&(n=t?t.length:0),i===void 0&&(i=0),o===void 0&&(o=this.length),e<0||n>t.length||i<0||o>this.length)throw new RangeError("out of range index");if(i>=o&&e>=n)return 0;if(i>=o)return-1;if(e>=n)return 1;if(e>>>=0,n>>>=0,i>>>=0,o>>>=0,this===t)return 0;let u=o-i,c=n-e,p=Math.min(u,c),h=this.slice(i,o),f=t.slice(e,n);for(let a=0;a2147483647?e=2147483647:e<-2147483648&&(e=-2147483648),e=+e,it(e)&&(e=i?0:r.length-1),e<0&&(e=r.length+e),e>=r.length){if(i)return-1;e=r.length-1}else if(e<0)if(i)e=0;else return-1;if(typeof t=="string"&&(t=s.from(t,n)),s.isBuffer(t))return t.length===0?-1:dt(r,t,e,n,i);if(typeof t=="number")return t=t&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(r,t,e):Uint8Array.prototype.lastIndexOf.call(r,t,e):dt(r,[t],e,n,i);throw new TypeError("val must be string, number or Buffer")}function dt(r,t,e,n,i){let o=1,u=r.length,c=t.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(r.length<2||t.length<2)return-1;o=2,u/=2,c/=2,e/=2}function p(f,a){return o===1?f[a]:f.readUInt16BE(a*o)}let h;if(i){let f=-1;for(h=e;hu&&(e=u-c),h=e;h>=0;h--){let f=!0;for(let a=0;ai&&(n=i)):n=i;let o=t.length;n>o/2&&(n=o/2);let u;for(u=0;u>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");let o=this.length-e;if((n===void 0||n>o)&&(n=o),t.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");let u=!1;for(;;)switch(i){case"hex":return ie(this,t,e,n);case"utf8":case"utf-8":return oe(this,t,e,n);case"ascii":case"latin1":case"binary":return ue(this,t,e,n);case"base64":return se(this,t,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ce(this,t,e,n);default:if(u)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),u=!0}};s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function pe(r,t,e){return t===0&&e===r.length?K.fromByteArray(r):K.fromByteArray(r.slice(t,e))}function Bt(r,t,e){e=Math.min(r.length,e);let n=[],i=t;for(;i239?4:o>223?3:o>191?2:1;if(i+c<=e){let p,h,f,a;switch(c){case 1:o<128&&(u=o);break;case 2:p=r[i+1],(p&192)===128&&(a=(o&31)<<6|p&63,a>127&&(u=a));break;case 3:p=r[i+1],h=r[i+2],(p&192)===128&&(h&192)===128&&(a=(o&15)<<12|(p&63)<<6|h&63,a>2047&&(a<55296||a>57343)&&(u=a));break;case 4:p=r[i+1],h=r[i+2],f=r[i+3],(p&192)===128&&(h&192)===128&&(f&192)===128&&(a=(o&15)<<18|(p&63)<<12|(h&63)<<6|f&63,a>65535&&a<1114112&&(u=a))}}u===null?(u=65533,c=1):u>65535&&(u-=65536,n.push(u>>>10&1023|55296),u=56320|u&1023),n.push(u),i+=c}return ae(n)}var yt=4096;function ae(r){let t=r.length;if(t<=yt)return String.fromCharCode.apply(String,r);let e="",n=0;for(;nn)&&(e=n);let i="";for(let o=t;on&&(t=n),e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),ee)throw new RangeError("Trying to access beyond buffer length")}s.prototype.readUintLE=s.prototype.readUIntLE=function(t,e,n){t=t>>>0,e=e>>>0,n||y(t,e,this.length);let i=this[t],o=1,u=0;for(;++u>>0,e=e>>>0,n||y(t,e,this.length);let i=this[t+--e],o=1;for(;e>0&&(o*=256);)i+=this[t+--e]*o;return i};s.prototype.readUint8=s.prototype.readUInt8=function(t,e){return t=t>>>0,e||y(t,1,this.length),this[t]};s.prototype.readUint16LE=s.prototype.readUInt16LE=function(t,e){return t=t>>>0,e||y(t,2,this.length),this[t]|this[t+1]<<8};s.prototype.readUint16BE=s.prototype.readUInt16BE=function(t,e){return t=t>>>0,e||y(t,2,this.length),this[t]<<8|this[t+1]};s.prototype.readUint32LE=s.prototype.readUInt32LE=function(t,e){return t=t>>>0,e||y(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+this[t+3]*16777216};s.prototype.readUint32BE=s.prototype.readUInt32BE=function(t,e){return t=t>>>0,e||y(t,4,this.length),this[t]*16777216+(this[t+1]<<16|this[t+2]<<8|this[t+3])};s.prototype.readBigUInt64LE=k(function(t){t=t>>>0,T(t,"offset");let e=this[t],n=this[t+7];(e===void 0||n===void 0)&&N(t,this.length-8);let i=e+this[++t]*2**8+this[++t]*2**16+this[++t]*2**24,o=this[++t]+this[++t]*2**8+this[++t]*2**16+n*2**24;return BigInt(i)+(BigInt(o)<>>0,T(t,"offset");let e=this[t],n=this[t+7];(e===void 0||n===void 0)&&N(t,this.length-8);let i=e*2**24+this[++t]*2**16+this[++t]*2**8+this[++t],o=this[++t]*2**24+this[++t]*2**16+this[++t]*2**8+n;return(BigInt(i)<>>0,e=e>>>0,n||y(t,e,this.length);let i=this[t],o=1,u=0;for(;++u=o&&(i-=Math.pow(2,8*e)),i};s.prototype.readIntBE=function(t,e,n){t=t>>>0,e=e>>>0,n||y(t,e,this.length);let i=e,o=1,u=this[t+--i];for(;i>0&&(o*=256);)u+=this[t+--i]*o;return o*=128,u>=o&&(u-=Math.pow(2,8*e)),u};s.prototype.readInt8=function(t,e){return t=t>>>0,e||y(t,1,this.length),this[t]&128?(255-this[t]+1)*-1:this[t]};s.prototype.readInt16LE=function(t,e){t=t>>>0,e||y(t,2,this.length);let n=this[t]|this[t+1]<<8;return n&32768?n|4294901760:n};s.prototype.readInt16BE=function(t,e){t=t>>>0,e||y(t,2,this.length);let n=this[t+1]|this[t]<<8;return n&32768?n|4294901760:n};s.prototype.readInt32LE=function(t,e){return t=t>>>0,e||y(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24};s.prototype.readInt32BE=function(t,e){return t=t>>>0,e||y(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]};s.prototype.readBigInt64LE=k(function(t){t=t>>>0,T(t,"offset");let e=this[t],n=this[t+7];(e===void 0||n===void 0)&&N(t,this.length-8);let i=this[t+4]+this[t+5]*2**8+this[t+6]*2**16+(n<<24);return(BigInt(i)<>>0,T(t,"offset");let e=this[t],n=this[t+7];(e===void 0||n===void 0)&&N(t,this.length-8);let i=(e<<24)+this[++t]*2**16+this[++t]*2**8+this[++t];return(BigInt(i)<>>0,e||y(t,4,this.length),O.read(this,t,!0,23,4)};s.prototype.readFloatBE=function(t,e){return t=t>>>0,e||y(t,4,this.length),O.read(this,t,!1,23,4)};s.prototype.readDoubleLE=function(t,e){return t=t>>>0,e||y(t,8,this.length),O.read(this,t,!0,52,8)};s.prototype.readDoubleBE=function(t,e){return t=t>>>0,e||y(t,8,this.length),O.read(this,t,!1,52,8)};function w(r,t,e,n,i,o){if(!s.isBuffer(r))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||tr.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(t,e,n,i){if(t=+t,e=e>>>0,n=n>>>0,!i){let c=Math.pow(2,8*n)-1;w(this,t,e,n,c,0)}let o=1,u=0;for(this[e]=t&255;++u>>0,n=n>>>0,!i){let c=Math.pow(2,8*n)-1;w(this,t,e,n,c,0)}let o=n-1,u=1;for(this[e+o]=t&255;--o>=0&&(u*=256);)this[e+o]=t/u&255;return e+n};s.prototype.writeUint8=s.prototype.writeUInt8=function(t,e,n){return t=+t,e=e>>>0,n||w(this,t,e,1,255,0),this[e]=t&255,e+1};s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(t,e,n){return t=+t,e=e>>>0,n||w(this,t,e,2,65535,0),this[e]=t&255,this[e+1]=t>>>8,e+2};s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(t,e,n){return t=+t,e=e>>>0,n||w(this,t,e,2,65535,0),this[e]=t>>>8,this[e+1]=t&255,e+2};s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(t,e,n){return t=+t,e=e>>>0,n||w(this,t,e,4,4294967295,0),this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=t&255,e+4};s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(t,e,n){return t=+t,e=e>>>0,n||w(this,t,e,4,4294967295,0),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=t&255,e+4};function It(r,t,e,n,i){bt(t,n,i,r,e,7);let o=Number(t&BigInt(4294967295));r[e++]=o,o=o>>8,r[e++]=o,o=o>>8,r[e++]=o,o=o>>8,r[e++]=o;let u=Number(t>>BigInt(32)&BigInt(4294967295));return r[e++]=u,u=u>>8,r[e++]=u,u=u>>8,r[e++]=u,u=u>>8,r[e++]=u,e}function Ft(r,t,e,n,i){bt(t,n,i,r,e,7);let o=Number(t&BigInt(4294967295));r[e+7]=o,o=o>>8,r[e+6]=o,o=o>>8,r[e+5]=o,o=o>>8,r[e+4]=o;let u=Number(t>>BigInt(32)&BigInt(4294967295));return r[e+3]=u,u=u>>8,r[e+2]=u,u=u>>8,r[e+1]=u,u=u>>8,r[e]=u,e+8}s.prototype.writeBigUInt64LE=k(function(t,e=0){return It(this,t,e,BigInt(0),BigInt("0xffffffffffffffff"))});s.prototype.writeBigUInt64BE=k(function(t,e=0){return Ft(this,t,e,BigInt(0),BigInt("0xffffffffffffffff"))});s.prototype.writeIntLE=function(t,e,n,i){if(t=+t,e=e>>>0,!i){let p=Math.pow(2,8*n-1);w(this,t,e,n,p-1,-p)}let o=0,u=1,c=0;for(this[e]=t&255;++o>0)-c&255;return e+n};s.prototype.writeIntBE=function(t,e,n,i){if(t=+t,e=e>>>0,!i){let p=Math.pow(2,8*n-1);w(this,t,e,n,p-1,-p)}let o=n-1,u=1,c=0;for(this[e+o]=t&255;--o>=0&&(u*=256);)t<0&&c===0&&this[e+o+1]!==0&&(c=1),this[e+o]=(t/u>>0)-c&255;return e+n};s.prototype.writeInt8=function(t,e,n){return t=+t,e=e>>>0,n||w(this,t,e,1,127,-128),t<0&&(t=255+t+1),this[e]=t&255,e+1};s.prototype.writeInt16LE=function(t,e,n){return t=+t,e=e>>>0,n||w(this,t,e,2,32767,-32768),this[e]=t&255,this[e+1]=t>>>8,e+2};s.prototype.writeInt16BE=function(t,e,n){return t=+t,e=e>>>0,n||w(this,t,e,2,32767,-32768),this[e]=t>>>8,this[e+1]=t&255,e+2};s.prototype.writeInt32LE=function(t,e,n){return t=+t,e=e>>>0,n||w(this,t,e,4,2147483647,-2147483648),this[e]=t&255,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24,e+4};s.prototype.writeInt32BE=function(t,e,n){return t=+t,e=e>>>0,n||w(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=t&255,e+4};s.prototype.writeBigInt64LE=k(function(t,e=0){return It(this,t,e,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});s.prototype.writeBigInt64BE=k(function(t,e=0){return Ft(this,t,e,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function At(r,t,e,n,i,o){if(e+n>r.length)throw new RangeError("Index out of range");if(e<0)throw new RangeError("Index out of range")}function kt(r,t,e,n,i){return t=+t,e=e>>>0,i||At(r,t,e,4,34028234663852886e22,-34028234663852886e22),O.write(r,t,e,n,23,4),e+4}s.prototype.writeFloatLE=function(t,e,n){return kt(this,t,e,!0,n)};s.prototype.writeFloatBE=function(t,e,n){return kt(this,t,e,!1,n)};function St(r,t,e,n,i){return t=+t,e=e>>>0,i||At(r,t,e,8,17976931348623157e292,-17976931348623157e292),O.write(r,t,e,n,52,8),e+8}s.prototype.writeDoubleLE=function(t,e,n){return St(this,t,e,!0,n)};s.prototype.writeDoubleBE=function(t,e,n){return St(this,t,e,!1,n)};s.prototype.copy=function(t,e,n,i){if(!s.isBuffer(t))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),e>=t.length&&(e=t.length),e||(e=0),i>0&&i=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),t.length-e>>0,n=n===void 0?this.length:n>>>0,t||(t=0);let o;if(typeof t=="number")for(o=e;o2**32?i=wt(String(e)):typeof e=="bigint"&&(i=String(e),(e>BigInt(2)**BigInt(32)||e<-(BigInt(2)**BigInt(32)))&&(i=wt(i)),i+="n"),n+=` It must be ${t}. Received ${i}`,n},RangeError);function wt(r){let t="",e=r.length,n=r[0]==="-"?1:0;for(;e>=n+4;e-=3)t=`_${r.slice(e-3,e)}${t}`;return`${r.slice(0,e)}${t}`}function ye(r,t,e){T(t,"offset"),(r[t]===void 0||r[t+e]===void 0)&&N(t,r.length-(e+1))}function bt(r,t,e,n,i,o){if(r>e||r3?t===0||t===BigInt(0)?c=`>= 0${u} and < 2${u} ** ${(o+1)*8}${u}`:c=`>= -(2${u} ** ${(o+1)*8-1}${u}) and < 2 ** ${(o+1)*8-1}${u}`:c=`>= ${t}${u} and <= ${e}${u}`,new v.ERR_OUT_OF_RANGE("value",c,r)}ye(n,i,o)}function T(r,t){if(typeof r!="number")throw new v.ERR_INVALID_ARG_TYPE(t,"number",r)}function N(r,t,e){throw Math.floor(r)!==r?(T(r,e),new v.ERR_OUT_OF_RANGE(e||"offset","an integer",r)):t<0?new v.ERR_BUFFER_OUT_OF_BOUNDS:new v.ERR_OUT_OF_RANGE(e||"offset",`>= ${e?1:0} and <= ${t}`,r)}var we=/[^+/0-9A-Za-z-_]/g;function me(r){if(r=r.split("=")[0],r=r.trim().replace(we,""),r.length<2)return"";for(;r.length%4!==0;)r=r+"=";return r}function tt(r,t){t=t||1/0;let e,n=r.length,i=null,o=[];for(let u=0;u55295&&e<57344){if(!i){if(e>56319){(t-=3)>-1&&o.push(239,191,189);continue}else if(u+1===n){(t-=3)>-1&&o.push(239,191,189);continue}i=e;continue}if(e<56320){(t-=3)>-1&&o.push(239,191,189),i=e;continue}e=(i-55296<<10|e-56320)+65536}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,e<128){if((t-=1)<0)break;o.push(e)}else if(e<2048){if((t-=2)<0)break;o.push(e>>6|192,e&63|128)}else if(e<65536){if((t-=3)<0)break;o.push(e>>12|224,e>>6&63|128,e&63|128)}else if(e<1114112){if((t-=4)<0)break;o.push(e>>18|240,e>>12&63|128,e>>6&63|128,e&63|128)}else throw new Error("Invalid code point")}return o}function xe(r){let t=[];for(let e=0;e>8,i=e%256,o.push(i),o.push(n);return o}function Ut(r){return K.toByteArray(me(r))}function H(r,t,e,n){let i;for(i=0;i=t.length||i>=r.length);++i)t[i+e]=r[i];return i}function I(r,t){return r instanceof t||r!=null&&r.constructor!=null&&r.constructor.name!=null&&r.constructor.name===t.name}function it(r){return r!==r}var Ee=function(){let r="0123456789abcdef",t=new Array(256);for(let e=0;e<16;++e){let n=e*16;for(let i=0;i<16;++i)t[n+i]=r[e]+r[i]}return t}();function k(r){return typeof BigInt>"u"?Be:r}function Be(){throw new Error("BigInt not supported")}});var x,d=jt(()=>{"use strict";x=Wt(Rt(),1)});d();d();d();d();var q=class{cache;analyzer;constructor(t){this.cache=new Map,this.analyzer=t}analyze(t){if(this.cache.has(t))return this.cache.get(t);let e=this.analyzer(t);return this.cache.set(t,e),e}},ze=new q(r=>r.startsWith("[")||r.startsWith("<")),je=new q(r=>r.startsWith("chrome")||r.startsWith("webkit")||r.startsWith("moz")),z=["07c225f3.online","css-load.com","html-load.com","content-loader.com"],j=new q(r=>{if(r.endsWith("/script.min.js")||r.endsWith("/loader.min.js"))return!0;for(let t of z)if(r.includes(t))return!0;return!1}),_=r=>{let t=!1;for(let e=0;e!r.trace[e].startsWith(n))&&(t||=!0),e!==r.trace.length-1&&e!==0&&z.some(n=>r.trace[e].startsWith(n))&&(t||=!0);return t};d();var Ie=({trace:r})=>j.analyze(r[r.length-1]),Fe=({trace:r})=>{for(let t of r)if(j.analyze(t))return!0;return!1},vt=r=>t=>{for(let e of r)if(e(t))return!0;return!1},P=vt([Ie]),U=vt([Fe]);var D=r=>new Proxy(console.debug,{apply(t,e,n){Reflect.apply(t,e,[`${r}`,...n])}}),L=D("[microShield:__utils__]");var g=()=>{let r=new Error;if(!r.stack)throw new Error("Stack trace is not available!");if(r.stack.includes("@")){let n=r.stack.split(` +"use strict";(()=>{var Lt=Object.create;var ct=Object.defineProperty;var Mt=Object.getOwnPropertyDescriptor;var Nt=Object.getOwnPropertyNames;var qt=Object.getPrototypeOf,zt=Object.prototype.hasOwnProperty;var jt=(r,t)=>()=>(r&&(t=r(r=0)),t);var Y=(r,t)=>()=>(t||r((t={exports:{}}).exports,t),t.exports);var Dt=(r,t,e,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Nt(t))!zt.call(r,i)&&i!==e&&ct(r,i,{get:()=>t[i],enumerable:!(n=Mt(t,i))||n.enumerable});return r};var Wt=(r,t,e)=>(e=r!=null?Lt(qt(r)):{},Dt(t||!r||!r.__esModule?ct(e,"default",{value:r,enumerable:!0}):e,r));var ft=Y(W=>{"use strict";d();W.byteLength=Ht;W.toByteArray=Vt;W.fromByteArray=Jt;var B=[],m=[],$t=typeof Uint8Array<"u"?Uint8Array:Array,X="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(S=0,pt=X.length;S0)throw new Error("Invalid string. Length must be a multiple of 4");var e=r.indexOf("=");e===-1&&(e=t);var n=e===t?0:4-e%4;return[e,n]}function Ht(r){var t=at(r),e=t[0],n=t[1];return(e+n)*3/4-n}function Gt(r,t,e){return(t+e)*3/4-e}function Vt(r){var t,e=at(r),n=e[0],i=e[1],o=new $t(Gt(r,n,i)),u=0,c=i>0?n-4:n,p;for(p=0;p>16&255,o[u++]=t>>8&255,o[u++]=t&255;return i===2&&(t=m[r.charCodeAt(p)]<<2|m[r.charCodeAt(p+1)]>>4,o[u++]=t&255),i===1&&(t=m[r.charCodeAt(p)]<<10|m[r.charCodeAt(p+1)]<<4|m[r.charCodeAt(p+2)]>>2,o[u++]=t>>8&255,o[u++]=t&255),o}function Yt(r){return B[r>>18&63]+B[r>>12&63]+B[r>>6&63]+B[r&63]}function Xt(r,t,e){for(var n,i=[],o=t;oc?c:u+o));return n===1?(t=r[e-1],i.push(B[t>>2]+B[t<<4&63]+"==")):n===2&&(t=(r[e-2]<<8)+r[e-1],i.push(B[t>>10]+B[t>>4&63]+B[t<<2&63]+"=")),i.join("")}});var lt=Y(J=>{d();J.read=function(r,t,e,n,i){var o,u,c=i*8-n-1,p=(1<>1,f=-7,a=e?i-1:0,R=e?-1:1,E=r[t+a];for(a+=R,o=E&(1<<-f)-1,E>>=-f,f+=c;f>0;o=o*256+r[t+a],a+=R,f-=8);for(u=o&(1<<-f)-1,o>>=-f,f+=n;f>0;u=u*256+r[t+a],a+=R,f-=8);if(o===0)o=1-h;else{if(o===p)return u?NaN:(E?-1:1)*(1/0);u=u+Math.pow(2,n),o=o-h}return(E?-1:1)*u*Math.pow(2,o-n)};J.write=function(r,t,e,n,i,o){var u,c,p,h=o*8-i-1,f=(1<>1,R=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,E=n?0:o-1,V=n?1:-1,Pt=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(c=isNaN(t)?1:0,u=f):(u=Math.floor(Math.log(t)/Math.LN2),t*(p=Math.pow(2,-u))<1&&(u--,p*=2),u+a>=1?t+=R/p:t+=R*Math.pow(2,1-a),t*p>=2&&(u++,p/=2),u+a>=f?(c=0,u=f):u+a>=1?(c=(t*p-1)*Math.pow(2,i),u=u+a):(c=t*Math.pow(2,a-1)*Math.pow(2,i),u=0));i>=8;r[e+E]=c&255,E+=V,c/=256,i-=8);for(u=u<0;r[e+E]=u&255,E+=V,u/=256,h-=8);r[e+E-V]|=Pt*128}});var Rt=Y(C=>{"use strict";d();var K=ft(),O=lt(),ht=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;C.Buffer=s;C.SlowBuffer=re;C.INSPECT_MAX_BYTES=50;var $=2147483647;C.kMaxLength=$;s.TYPED_ARRAY_SUPPORT=Kt();!s.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function Kt(){try{let r=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(r,t),r.foo()===42}catch{return!1}}Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.buffer}});Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.byteOffset}});function A(r){if(r>$)throw new RangeError('The value "'+r+'" is invalid for option "size"');let t=new Uint8Array(r);return Object.setPrototypeOf(t,s.prototype),t}function s(r,t,e){if(typeof r=="number"){if(typeof t=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return et(r)}return mt(r,t,e)}s.poolSize=8192;function mt(r,t,e){if(typeof r=="string")return Qt(r,t);if(ArrayBuffer.isView(r))return te(r);if(r==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof r);if(I(r,ArrayBuffer)||r&&I(r.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(I(r,SharedArrayBuffer)||r&&I(r.buffer,SharedArrayBuffer)))return Q(r,t,e);if(typeof r=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');let n=r.valueOf&&r.valueOf();if(n!=null&&n!==r)return s.from(n,t,e);let i=ee(r);if(i)return i;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof r[Symbol.toPrimitive]=="function")return s.from(r[Symbol.toPrimitive]("string"),t,e);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof r)}s.from=function(r,t,e){return mt(r,t,e)};Object.setPrototypeOf(s.prototype,Uint8Array.prototype);Object.setPrototypeOf(s,Uint8Array);function xt(r){if(typeof r!="number")throw new TypeError('"size" argument must be of type number');if(r<0)throw new RangeError('The value "'+r+'" is invalid for option "size"')}function Zt(r,t,e){return xt(r),r<=0?A(r):t!==void 0?typeof e=="string"?A(r).fill(t,e):A(r).fill(t):A(r)}s.alloc=function(r,t,e){return Zt(r,t,e)};function et(r){return xt(r),A(r<0?0:rt(r)|0)}s.allocUnsafe=function(r){return et(r)};s.allocUnsafeSlow=function(r){return et(r)};function Qt(r,t){if((typeof t!="string"||t==="")&&(t="utf8"),!s.isEncoding(t))throw new TypeError("Unknown encoding: "+t);let e=gt(r,t)|0,n=A(e),i=n.write(r,t);return i!==e&&(n=n.slice(0,i)),n}function Z(r){let t=r.length<0?0:rt(r.length)|0,e=A(t);for(let n=0;n=$)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+$.toString(16)+" bytes");return r|0}function re(r){return+r!=r&&(r=0),s.alloc(+r)}s.isBuffer=function(t){return t!=null&&t._isBuffer===!0&&t!==s.prototype};s.compare=function(t,e){if(I(t,Uint8Array)&&(t=s.from(t,t.offset,t.byteLength)),I(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(t)||!s.isBuffer(e))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===e)return 0;let n=t.length,i=e.length;for(let o=0,u=Math.min(n,i);oi.length?(s.isBuffer(u)||(u=s.from(u)),u.copy(i,o)):Uint8Array.prototype.set.call(i,u,o);else if(s.isBuffer(u))u.copy(i,o);else throw new TypeError('"list" argument must be an Array of Buffers');o+=u.length}return i};function gt(r,t){if(s.isBuffer(r))return r.length;if(ArrayBuffer.isView(r)||I(r,ArrayBuffer))return r.byteLength;if(typeof r!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof r);let e=r.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&e===0)return 0;let i=!1;for(;;)switch(t){case"ascii":case"latin1":case"binary":return e;case"utf8":case"utf-8":return tt(r).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return e*2;case"hex":return e>>>1;case"base64":return Ut(r).length;default:if(i)return n?-1:tt(r).length;t=(""+t).toLowerCase(),i=!0}}s.byteLength=gt;function ne(r,t,e){let n=!1;if((t===void 0||t<0)&&(t=0),t>this.length||((e===void 0||e>this.length)&&(e=this.length),e<=0)||(e>>>=0,t>>>=0,e<=t))return"";for(r||(r="utf8");;)switch(r){case"hex":return he(this,t,e);case"utf8":case"utf-8":return Bt(this,t,e);case"ascii":return fe(this,t,e);case"latin1":case"binary":return le(this,t,e);case"base64":return pe(this,t,e);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return de(this,t,e);default:if(n)throw new TypeError("Unknown encoding: "+r);r=(r+"").toLowerCase(),n=!0}}s.prototype._isBuffer=!0;function b(r,t,e){let n=r[t];r[t]=r[e],r[e]=n}s.prototype.swap16=function(){let t=this.length;if(t%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let e=0;ee&&(t+=" ... "),""};ht&&(s.prototype[ht]=s.prototype.inspect);s.prototype.compare=function(t,e,n,i,o){if(I(t,Uint8Array)&&(t=s.from(t,t.offset,t.byteLength)),!s.isBuffer(t))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(e===void 0&&(e=0),n===void 0&&(n=t?t.length:0),i===void 0&&(i=0),o===void 0&&(o=this.length),e<0||n>t.length||i<0||o>this.length)throw new RangeError("out of range index");if(i>=o&&e>=n)return 0;if(i>=o)return-1;if(e>=n)return 1;if(e>>>=0,n>>>=0,i>>>=0,o>>>=0,this===t)return 0;let u=o-i,c=n-e,p=Math.min(u,c),h=this.slice(i,o),f=t.slice(e,n);for(let a=0;a2147483647?e=2147483647:e<-2147483648&&(e=-2147483648),e=+e,it(e)&&(e=i?0:r.length-1),e<0&&(e=r.length+e),e>=r.length){if(i)return-1;e=r.length-1}else if(e<0)if(i)e=0;else return-1;if(typeof t=="string"&&(t=s.from(t,n)),s.isBuffer(t))return t.length===0?-1:dt(r,t,e,n,i);if(typeof t=="number")return t=t&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(r,t,e):Uint8Array.prototype.lastIndexOf.call(r,t,e):dt(r,[t],e,n,i);throw new TypeError("val must be string, number or Buffer")}function dt(r,t,e,n,i){let o=1,u=r.length,c=t.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(r.length<2||t.length<2)return-1;o=2,u/=2,c/=2,e/=2}function p(f,a){return o===1?f[a]:f.readUInt16BE(a*o)}let h;if(i){let f=-1;for(h=e;hu&&(e=u-c),h=e;h>=0;h--){let f=!0;for(let a=0;ai&&(n=i)):n=i;let o=t.length;n>o/2&&(n=o/2);let u;for(u=0;u>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");let o=this.length-e;if((n===void 0||n>o)&&(n=o),t.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");let u=!1;for(;;)switch(i){case"hex":return ie(this,t,e,n);case"utf8":case"utf-8":return oe(this,t,e,n);case"ascii":case"latin1":case"binary":return ue(this,t,e,n);case"base64":return se(this,t,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ce(this,t,e,n);default:if(u)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),u=!0}};s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function pe(r,t,e){return t===0&&e===r.length?K.fromByteArray(r):K.fromByteArray(r.slice(t,e))}function Bt(r,t,e){e=Math.min(r.length,e);let n=[],i=t;for(;i239?4:o>223?3:o>191?2:1;if(i+c<=e){let p,h,f,a;switch(c){case 1:o<128&&(u=o);break;case 2:p=r[i+1],(p&192)===128&&(a=(o&31)<<6|p&63,a>127&&(u=a));break;case 3:p=r[i+1],h=r[i+2],(p&192)===128&&(h&192)===128&&(a=(o&15)<<12|(p&63)<<6|h&63,a>2047&&(a<55296||a>57343)&&(u=a));break;case 4:p=r[i+1],h=r[i+2],f=r[i+3],(p&192)===128&&(h&192)===128&&(f&192)===128&&(a=(o&15)<<18|(p&63)<<12|(h&63)<<6|f&63,a>65535&&a<1114112&&(u=a))}}u===null?(u=65533,c=1):u>65535&&(u-=65536,n.push(u>>>10&1023|55296),u=56320|u&1023),n.push(u),i+=c}return ae(n)}var yt=4096;function ae(r){let t=r.length;if(t<=yt)return String.fromCharCode.apply(String,r);let e="",n=0;for(;nn)&&(e=n);let i="";for(let o=t;on&&(t=n),e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),ee)throw new RangeError("Trying to access beyond buffer length")}s.prototype.readUintLE=s.prototype.readUIntLE=function(t,e,n){t=t>>>0,e=e>>>0,n||y(t,e,this.length);let i=this[t],o=1,u=0;for(;++u>>0,e=e>>>0,n||y(t,e,this.length);let i=this[t+--e],o=1;for(;e>0&&(o*=256);)i+=this[t+--e]*o;return i};s.prototype.readUint8=s.prototype.readUInt8=function(t,e){return t=t>>>0,e||y(t,1,this.length),this[t]};s.prototype.readUint16LE=s.prototype.readUInt16LE=function(t,e){return t=t>>>0,e||y(t,2,this.length),this[t]|this[t+1]<<8};s.prototype.readUint16BE=s.prototype.readUInt16BE=function(t,e){return t=t>>>0,e||y(t,2,this.length),this[t]<<8|this[t+1]};s.prototype.readUint32LE=s.prototype.readUInt32LE=function(t,e){return t=t>>>0,e||y(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+this[t+3]*16777216};s.prototype.readUint32BE=s.prototype.readUInt32BE=function(t,e){return t=t>>>0,e||y(t,4,this.length),this[t]*16777216+(this[t+1]<<16|this[t+2]<<8|this[t+3])};s.prototype.readBigUInt64LE=k(function(t){t=t>>>0,T(t,"offset");let e=this[t],n=this[t+7];(e===void 0||n===void 0)&&N(t,this.length-8);let i=e+this[++t]*2**8+this[++t]*2**16+this[++t]*2**24,o=this[++t]+this[++t]*2**8+this[++t]*2**16+n*2**24;return BigInt(i)+(BigInt(o)<>>0,T(t,"offset");let e=this[t],n=this[t+7];(e===void 0||n===void 0)&&N(t,this.length-8);let i=e*2**24+this[++t]*2**16+this[++t]*2**8+this[++t],o=this[++t]*2**24+this[++t]*2**16+this[++t]*2**8+n;return(BigInt(i)<>>0,e=e>>>0,n||y(t,e,this.length);let i=this[t],o=1,u=0;for(;++u=o&&(i-=Math.pow(2,8*e)),i};s.prototype.readIntBE=function(t,e,n){t=t>>>0,e=e>>>0,n||y(t,e,this.length);let i=e,o=1,u=this[t+--i];for(;i>0&&(o*=256);)u+=this[t+--i]*o;return o*=128,u>=o&&(u-=Math.pow(2,8*e)),u};s.prototype.readInt8=function(t,e){return t=t>>>0,e||y(t,1,this.length),this[t]&128?(255-this[t]+1)*-1:this[t]};s.prototype.readInt16LE=function(t,e){t=t>>>0,e||y(t,2,this.length);let n=this[t]|this[t+1]<<8;return n&32768?n|4294901760:n};s.prototype.readInt16BE=function(t,e){t=t>>>0,e||y(t,2,this.length);let n=this[t+1]|this[t]<<8;return n&32768?n|4294901760:n};s.prototype.readInt32LE=function(t,e){return t=t>>>0,e||y(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24};s.prototype.readInt32BE=function(t,e){return t=t>>>0,e||y(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]};s.prototype.readBigInt64LE=k(function(t){t=t>>>0,T(t,"offset");let e=this[t],n=this[t+7];(e===void 0||n===void 0)&&N(t,this.length-8);let i=this[t+4]+this[t+5]*2**8+this[t+6]*2**16+(n<<24);return(BigInt(i)<>>0,T(t,"offset");let e=this[t],n=this[t+7];(e===void 0||n===void 0)&&N(t,this.length-8);let i=(e<<24)+this[++t]*2**16+this[++t]*2**8+this[++t];return(BigInt(i)<>>0,e||y(t,4,this.length),O.read(this,t,!0,23,4)};s.prototype.readFloatBE=function(t,e){return t=t>>>0,e||y(t,4,this.length),O.read(this,t,!1,23,4)};s.prototype.readDoubleLE=function(t,e){return t=t>>>0,e||y(t,8,this.length),O.read(this,t,!0,52,8)};s.prototype.readDoubleBE=function(t,e){return t=t>>>0,e||y(t,8,this.length),O.read(this,t,!1,52,8)};function w(r,t,e,n,i,o){if(!s.isBuffer(r))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||tr.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(t,e,n,i){if(t=+t,e=e>>>0,n=n>>>0,!i){let c=Math.pow(2,8*n)-1;w(this,t,e,n,c,0)}let o=1,u=0;for(this[e]=t&255;++u>>0,n=n>>>0,!i){let c=Math.pow(2,8*n)-1;w(this,t,e,n,c,0)}let o=n-1,u=1;for(this[e+o]=t&255;--o>=0&&(u*=256);)this[e+o]=t/u&255;return e+n};s.prototype.writeUint8=s.prototype.writeUInt8=function(t,e,n){return t=+t,e=e>>>0,n||w(this,t,e,1,255,0),this[e]=t&255,e+1};s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(t,e,n){return t=+t,e=e>>>0,n||w(this,t,e,2,65535,0),this[e]=t&255,this[e+1]=t>>>8,e+2};s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(t,e,n){return t=+t,e=e>>>0,n||w(this,t,e,2,65535,0),this[e]=t>>>8,this[e+1]=t&255,e+2};s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(t,e,n){return t=+t,e=e>>>0,n||w(this,t,e,4,4294967295,0),this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=t&255,e+4};s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(t,e,n){return t=+t,e=e>>>0,n||w(this,t,e,4,4294967295,0),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=t&255,e+4};function It(r,t,e,n,i){bt(t,n,i,r,e,7);let o=Number(t&BigInt(4294967295));r[e++]=o,o=o>>8,r[e++]=o,o=o>>8,r[e++]=o,o=o>>8,r[e++]=o;let u=Number(t>>BigInt(32)&BigInt(4294967295));return r[e++]=u,u=u>>8,r[e++]=u,u=u>>8,r[e++]=u,u=u>>8,r[e++]=u,e}function Ft(r,t,e,n,i){bt(t,n,i,r,e,7);let o=Number(t&BigInt(4294967295));r[e+7]=o,o=o>>8,r[e+6]=o,o=o>>8,r[e+5]=o,o=o>>8,r[e+4]=o;let u=Number(t>>BigInt(32)&BigInt(4294967295));return r[e+3]=u,u=u>>8,r[e+2]=u,u=u>>8,r[e+1]=u,u=u>>8,r[e]=u,e+8}s.prototype.writeBigUInt64LE=k(function(t,e=0){return It(this,t,e,BigInt(0),BigInt("0xffffffffffffffff"))});s.prototype.writeBigUInt64BE=k(function(t,e=0){return Ft(this,t,e,BigInt(0),BigInt("0xffffffffffffffff"))});s.prototype.writeIntLE=function(t,e,n,i){if(t=+t,e=e>>>0,!i){let p=Math.pow(2,8*n-1);w(this,t,e,n,p-1,-p)}let o=0,u=1,c=0;for(this[e]=t&255;++o>0)-c&255;return e+n};s.prototype.writeIntBE=function(t,e,n,i){if(t=+t,e=e>>>0,!i){let p=Math.pow(2,8*n-1);w(this,t,e,n,p-1,-p)}let o=n-1,u=1,c=0;for(this[e+o]=t&255;--o>=0&&(u*=256);)t<0&&c===0&&this[e+o+1]!==0&&(c=1),this[e+o]=(t/u>>0)-c&255;return e+n};s.prototype.writeInt8=function(t,e,n){return t=+t,e=e>>>0,n||w(this,t,e,1,127,-128),t<0&&(t=255+t+1),this[e]=t&255,e+1};s.prototype.writeInt16LE=function(t,e,n){return t=+t,e=e>>>0,n||w(this,t,e,2,32767,-32768),this[e]=t&255,this[e+1]=t>>>8,e+2};s.prototype.writeInt16BE=function(t,e,n){return t=+t,e=e>>>0,n||w(this,t,e,2,32767,-32768),this[e]=t>>>8,this[e+1]=t&255,e+2};s.prototype.writeInt32LE=function(t,e,n){return t=+t,e=e>>>0,n||w(this,t,e,4,2147483647,-2147483648),this[e]=t&255,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24,e+4};s.prototype.writeInt32BE=function(t,e,n){return t=+t,e=e>>>0,n||w(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=t&255,e+4};s.prototype.writeBigInt64LE=k(function(t,e=0){return It(this,t,e,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});s.prototype.writeBigInt64BE=k(function(t,e=0){return Ft(this,t,e,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function At(r,t,e,n,i,o){if(e+n>r.length)throw new RangeError("Index out of range");if(e<0)throw new RangeError("Index out of range")}function kt(r,t,e,n,i){return t=+t,e=e>>>0,i||At(r,t,e,4,34028234663852886e22,-34028234663852886e22),O.write(r,t,e,n,23,4),e+4}s.prototype.writeFloatLE=function(t,e,n){return kt(this,t,e,!0,n)};s.prototype.writeFloatBE=function(t,e,n){return kt(this,t,e,!1,n)};function St(r,t,e,n,i){return t=+t,e=e>>>0,i||At(r,t,e,8,17976931348623157e292,-17976931348623157e292),O.write(r,t,e,n,52,8),e+8}s.prototype.writeDoubleLE=function(t,e,n){return St(this,t,e,!0,n)};s.prototype.writeDoubleBE=function(t,e,n){return St(this,t,e,!1,n)};s.prototype.copy=function(t,e,n,i){if(!s.isBuffer(t))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),e>=t.length&&(e=t.length),e||(e=0),i>0&&i=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),t.length-e>>0,n=n===void 0?this.length:n>>>0,t||(t=0);let o;if(typeof t=="number")for(o=e;o2**32?i=wt(String(e)):typeof e=="bigint"&&(i=String(e),(e>BigInt(2)**BigInt(32)||e<-(BigInt(2)**BigInt(32)))&&(i=wt(i)),i+="n"),n+=` It must be ${t}. Received ${i}`,n},RangeError);function wt(r){let t="",e=r.length,n=r[0]==="-"?1:0;for(;e>=n+4;e-=3)t=`_${r.slice(e-3,e)}${t}`;return`${r.slice(0,e)}${t}`}function ye(r,t,e){T(t,"offset"),(r[t]===void 0||r[t+e]===void 0)&&N(t,r.length-(e+1))}function bt(r,t,e,n,i,o){if(r>e||r3?t===0||t===BigInt(0)?c=`>= 0${u} and < 2${u} ** ${(o+1)*8}${u}`:c=`>= -(2${u} ** ${(o+1)*8-1}${u}) and < 2 ** ${(o+1)*8-1}${u}`:c=`>= ${t}${u} and <= ${e}${u}`,new v.ERR_OUT_OF_RANGE("value",c,r)}ye(n,i,o)}function T(r,t){if(typeof r!="number")throw new v.ERR_INVALID_ARG_TYPE(t,"number",r)}function N(r,t,e){throw Math.floor(r)!==r?(T(r,e),new v.ERR_OUT_OF_RANGE(e||"offset","an integer",r)):t<0?new v.ERR_BUFFER_OUT_OF_BOUNDS:new v.ERR_OUT_OF_RANGE(e||"offset",`>= ${e?1:0} and <= ${t}`,r)}var we=/[^+/0-9A-Za-z-_]/g;function me(r){if(r=r.split("=")[0],r=r.trim().replace(we,""),r.length<2)return"";for(;r.length%4!==0;)r=r+"=";return r}function tt(r,t){t=t||1/0;let e,n=r.length,i=null,o=[];for(let u=0;u55295&&e<57344){if(!i){if(e>56319){(t-=3)>-1&&o.push(239,191,189);continue}else if(u+1===n){(t-=3)>-1&&o.push(239,191,189);continue}i=e;continue}if(e<56320){(t-=3)>-1&&o.push(239,191,189),i=e;continue}e=(i-55296<<10|e-56320)+65536}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,e<128){if((t-=1)<0)break;o.push(e)}else if(e<2048){if((t-=2)<0)break;o.push(e>>6|192,e&63|128)}else if(e<65536){if((t-=3)<0)break;o.push(e>>12|224,e>>6&63|128,e&63|128)}else if(e<1114112){if((t-=4)<0)break;o.push(e>>18|240,e>>12&63|128,e>>6&63|128,e&63|128)}else throw new Error("Invalid code point")}return o}function xe(r){let t=[];for(let e=0;e>8,i=e%256,o.push(i),o.push(n);return o}function Ut(r){return K.toByteArray(me(r))}function H(r,t,e,n){let i;for(i=0;i=t.length||i>=r.length);++i)t[i+e]=r[i];return i}function I(r,t){return r instanceof t||r!=null&&r.constructor!=null&&r.constructor.name!=null&&r.constructor.name===t.name}function it(r){return r!==r}var Ee=function(){let r="0123456789abcdef",t=new Array(256);for(let e=0;e<16;++e){let n=e*16;for(let i=0;i<16;++i)t[n+i]=r[e]+r[i]}return t}();function k(r){return typeof BigInt>"u"?Be:r}function Be(){throw new Error("BigInt not supported")}});var x,d=jt(()=>{"use strict";x=Wt(Rt(),1)});d();d();d();d();var q=class{cache;analyzer;constructor(t){this.cache=new Map,this.analyzer=t}analyze(t){if(this.cache.has(t))return this.cache.get(t);let e=this.analyzer(t);return this.cache.set(t,e),e}},ze=new q(r=>r.startsWith("[")||r.startsWith("<")),je=new q(r=>r.startsWith("chrome")||r.startsWith("webkit")||r.startsWith("moz")),z=["07c225f3.online","css-load.com","html-load.com","content-loader.com"],j=new q(r=>{if(r.endsWith("/script.min.js")||r.endsWith("/loader.min.js"))return!0;for(let t of z)if(r.includes(t))return!0;return!1}),_=r=>{let t=!1;for(let e=0;e!r.trace[e].startsWith(n))&&(t||=!0),e!==r.trace.length-1&&e!==0&&z.some(n=>r.trace[e].startsWith(n))&&(t||=!0);return t};d();var Ie=({trace:r})=>j.analyze(r[r.length-1]),Fe=({trace:r})=>{for(let t of r)if(j.analyze(t))return!0;return!1},vt=r=>t=>{for(let e of r)if(e(t))return!0;return!1},P=vt([Ie]),U=vt([Fe]);var D=r=>new Proxy(console.debug,{apply(t,e,n){Reflect.apply(t,e,[`${r}`,...n])}}),L=D("[microShield:__utils__]");var g=()=>{let r=new Error;if(!r.stack)throw new Error("Stack trace is not available!");if(r.stack.includes("@")){let n=r.stack.split(` `).slice(2),i=[];navigator.userAgent.includes("Firefox/")&&n.splice(-1,1);for(let o of n){let u=o.indexOf("@")+1,c=o.lastIndexOf(":"),p=c<0?o.slice(u):o.slice(u,o.lastIndexOf(":",c-1));i.push(p)}return{trace:i,raw:n}}let t=r.stack.slice(6).split(` `).slice(2),e=[];for(let n of t){let i=n.slice(n.indexOf("(")+1||n.indexOf("at")+3,n.lastIndexOf(":",n.lastIndexOf(":")-1));e.push(i)}return{trace:e,raw:t}},F=(r,t=r.name)=>new Proxy(r,{apply(n,i,o){let u=g();if(P(u)&&_(u))throw L(`apply name=${t} argArray=`,o,"stack=",u.raw),new Error("microShield");return Reflect.apply(n,i,o)},setPrototypeOf(n,i){let o=g();if(U(o))throw L(`setPrototypeOf name=${t} stack=`,o.raw),new Error("microShield");return Reflect.setPrototypeOf(n,i)}}),M=async r=>r.readyState!=="loading"?!0:new Promise(t=>{r.addEventListener("readystatechange",()=>{t(!0)})}),Ot=(r,t=r.name)=>new Proxy(r,{set(n,i,o,u){let c=g();if(P(c)&&_(c))throw L(`set name=${t} argArray=`,o,"stack=",c.raw),new Error("Overriding Error is not allowed!");return Reflect.set(n,i,o,u)},setPrototypeOf(n,i){let o=g();if(U(o))throw L(`setPrototypeOf name=${t} stack=`,o.raw),new Error("Overriding prototype of Error is not allowed!");return Reflect.setPrototypeOf(n,i)}}),Ae=r=>{let t=r.join(` -`),e=!1;return e||=(t.match(/eval/g)?.length??-1)>=4&&(t.includes("NodeList.forEach")??!1),e||=(t.match(/@https:\/\/.+ line [0-9]+ > eval/g)?.length??-1)>=3,e||=(t.match(/\n([A-z0-9]+)?@\n/g)?.length??-1)>=2&&(t.includes("forEach@[native code]")??!1),e},ot=(r,t=r.name)=>new Proxy(r,{apply(n,i,o){let u=g();if(Ae(u.raw)||P(u)&&_(u))throw L(`apply name=${t} argArray=`,o,"stack=",u.raw),new Error("microShield");return Reflect.apply(n,i,o)},setPrototypeOf(n,i){let o=g();if(U(o))throw L(`setPrototypeOf name=${t} stack=`,o.raw),new Error("microShield");return Reflect.setPrototypeOf(n,i)}});var ut=D("[microShield:basedrop]"),Tt=async()=>{await M(document);let r="";for(let t of document.querySelectorAll("script[wp-data]")){let e=t.getAttribute("wp-data");if(!e){ut("empty attribute",t);continue}let n;try{n=x.Buffer.from(e,"base64").toString("utf-8")}catch(i){ut("failed to decode b64 stream",i);continue}if(!n.startsWith("<")){ut("failed to decode encoded text",n);continue}r+=n}r&&document.head.insertAdjacentHTML("beforeend",r)};d();d();var Ct=[{id:"kynb",input:'0Nm}ubC9L6k{7("nx>s=Ko]IBw/ySgf%W',output:"a274bcljtv0omw6z9g5p13us8ekhxirfq",reserved1:121,reserved1Input:"e?`3AU<2Z[; iJEFV'|Pa8T5j-.v :q#H)",reserved1Output:"eow5rfluq8x4zgj70p13ci6mh2s9tnkabv",reserved2:110,reserved2Input:`&XD_QOhMrltpR1c4zG +`),e=!1;return e||=(t.match(/eval/g)?.length??-1)>=4&&(t.includes("NodeList.forEach")??!1),e||=(t.match(/@https:\/\/.+ line [0-9]+ > eval/g)?.length??-1)>=3,e||=(t.match(/\n([a-zA-Z0-9]+)?@\n/g)?.length??-1)>=2&&(t.includes("forEach@[native code]")??!1),e},ot=(r,t=r.name)=>new Proxy(r,{apply(n,i,o){let u=g();if(Ae(u.raw)||P(u)&&_(u))throw L(`apply name=${t} argArray=`,o,"stack=",u.raw),new Error("microShield");return Reflect.apply(n,i,o)},setPrototypeOf(n,i){let o=g();if(U(o))throw L(`setPrototypeOf name=${t} stack=`,o.raw),new Error("microShield");return Reflect.setPrototypeOf(n,i)}});var ut=D("[microShield:basedrop]"),Tt=async()=>{await M(document);let r="";for(let t of document.querySelectorAll("script[wp-data]")){let e=t.getAttribute("wp-data");if(!e){ut("empty attribute",t);continue}let n;try{n=x.Buffer.from(e,"base64").toString("utf-8")}catch(i){ut("failed to decode b64 stream",i);continue}if(!n.startsWith("<")){ut("failed to decode encoded text",n);continue}r+=n}r&&document.head.insertAdjacentHTML("beforeend",r)};d();d();var Ct=[{id:"kynb",input:'0Nm}ubC9L6k{7("nx>s=Ko]IBw/ySgf%W',output:"a274bcljtv0omw6z9g5p13us8ekhxirfq",reserved1:121,reserved1Input:"e?`3AU<2Z[; iJEFV'|Pa8T5j-.v :q#H)",reserved1Output:"eow5rfluq8x4zgj70p13ci6mh2s9tnkabv",reserved2:110,reserved2Input:`&XD_QOhMrltpR1c4zG Y`,reserved2Output:"c7863qbsmwy54otnhiv1"},{id:"uyyk",input:"Tx2h{s[",output:"mjb0feu6lzx7kqhgop4at831c92ywir5n",reserved1:118,reserved1Input:`5f;Vt"qDLB91'm }?R6S(Z#A\`Jr0HQlKP)`,reserved1Output:"qp5r842ycvxjowbaz7uhts9gk6i0emn13f",reserved2:115,reserved2Input:"NGnE8a_y.FjYO=4w3]p7",reserved2Output:"kn1eho6fjbr40pxc9i2q"},{id:"rypa",input:`B8 /Y9o]VHC_p3yt hTONi5q6IG-r=2g%`,output:"ul2ow01j9zq58mfk4cv37absyigteh6xn",reserved1:112,reserved1Input:`nEeJKa.:P{A;x0UL"4'XFm|}wfvzQ#7ZS(`,reserved1Output:"m8961qwzghu27xeoapn3k5ilvrfjc4syt0",reserved2:114,reserved2Input:"&jbukM`c?1) l",reserved2Output:"6akyhor80m37slfw1vxp"},{id:"ehor",input:`"q4 diff --git a/sources/src/utils.ts b/sources/src/utils.ts index b4ee2bf..dcecadc 100644 --- a/sources/src/utils.ts +++ b/sources/src/utils.ts @@ -151,7 +151,7 @@ const isEvalFunction = (callStacks: string[]) => { let shouldDisable = false; shouldDisable ||= ((callStack.match(/eval/g)?.length ?? -1) >= 4) && (callStack.includes('NodeList.forEach') ?? false); // Chromium Browser shouldDisable ||= ((callStack.match(/@https:\/\/.+ line [0-9]+ > eval/g)?.length ?? -1) >= 3); // Firefox Browser - shouldDisable ||= ((callStack.match(/\n([A-z0-9]+)?@\n/g)?.length ?? -1) >= 2) && (callStack.includes('forEach@[native code]') ?? false); // Safari Browser + shouldDisable ||= ((callStack.match(/\n([a-zA-Z0-9]+)?@\n/g)?.length ?? -1) >= 2) && (callStack.includes('forEach@[native code]') ?? false); // Safari Browser return shouldDisable; };