diff --git a/microShield.user.js b/microShield.user.js index 44e304e..ba17a07 100644 --- a/microShield.user.js +++ b/microShield.user.js @@ -8,7 +8,7 @@ // @downloadURL https://cdn.jsdelivr.net/gh/List-KR/microShield@latest/microShield.user.js // @license Apache-2.0 // -// @version 3.15.1 +// @version 3.15.2 // @author PiQuark6046 and contributors // // @match *://algumon.com/* @@ -110,20 +110,20 @@ // 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 Nt=Object.create;var ct=Object.defineProperty;var zt=Object.getOwnPropertyDescriptor;var Lt=Object.getOwnPropertyNames;var qt=Object.getPrototypeOf,jt=Object.prototype.hasOwnProperty;var Dt=(r,t)=>()=>(r&&(t=r(r=0)),t);var V=(r,t)=>()=>(t||r((t={exports:{}}).exports,t),t.exports);var Wt=(r,t,e,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Lt(t))!jt.call(r,i)&&i!==e&&ct(r,i,{get:()=>t[i],enumerable:!(n=zt(t,i))||n.enumerable});return r};var $t=(r,t,e)=>(e=r!=null?Nt(qt(r)):{},Wt(t||!r||!r.__esModule?ct(e,"default",{value:r,enumerable:!0}):e,r));var ft=V($=>{"use strict";d();$.byteLength=Jt;$.toByteArray=Vt;$.fromByteArray=Zt;var B=[],m=[],Ht=typeof Uint8Array<"u"?Uint8Array:Array,Y="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(U=0,pt=Y.length;U0)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 Jt(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 Ht(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=V(X=>{d();X.read=function(r,t,e,n,i){var o,u,c=i*8-n-1,p=(1<>1,l=-7,f=e?i-1:0,A=e?-1:1,E=r[t+f];for(f+=A,o=E&(1<<-l)-1,E>>=-l,l+=c;l>0;o=o*256+r[t+f],f+=A,l-=8);for(u=o&(1<<-l)-1,o>>=-l,l+=n;l>0;u=u*256+r[t+f],f+=A,l-=8);if(o===0)o=1-a;else{if(o===p)return u?NaN:(E?-1:1)*(1/0);u=u+Math.pow(2,n),o=o-a}return(E?-1:1)*u*Math.pow(2,o-n)};X.write=function(r,t,e,n,i,o){var u,c,p,a=o*8-i-1,l=(1<>1,A=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,E=n?0:o-1,G=n?1:-1,_t=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=l):(u=Math.floor(Math.log(t)/Math.LN2),t*(p=Math.pow(2,-u))<1&&(u--,p*=2),u+f>=1?t+=A/p:t+=A*Math.pow(2,1-f),t*p>=2&&(u++,p/=2),u+f>=l?(c=0,u=l):u+f>=1?(c=(t*p-1)*Math.pow(2,i),u=u+f):(c=t*Math.pow(2,f-1)*Math.pow(2,i),u=0));i>=8;r[e+E]=c&255,E+=G,c/=256,i-=8);for(u=u<0;r[e+E]=u&255,E+=G,u/=256,a-=8);r[e+E-G]|=_t*128}});var Ot=V(M=>{"use strict";d();var Z=ft(),C=lt(),ht=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;M.Buffer=s;M.SlowBuffer=ne;M.INSPECT_MAX_BYTES=50;var H=2147483647;M.kMaxLength=H;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 k(r){if(r>H)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 te(r,t);if(ArrayBuffer.isView(r))return ee(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=re(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?k(r):t!==void 0?typeof e=="string"?k(r).fill(t,e):k(r).fill(t):k(r)}s.alloc=function(r,t,e){return Qt(r,t,e)};function et(r){return xt(r),k(r<0?0:rt(r)|0)}s.allocUnsafe=function(r){return et(r)};s.allocUnsafeSlow=function(r){return et(r)};function te(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=k(e),i=n.write(r,t);return i!==e&&(n=n.slice(0,i)),n}function K(r){let t=r.length<0?0:rt(r.length)|0,e=k(t);for(let n=0;n=H)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+H.toString(16)+" bytes");return r|0}function ne(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 ie(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 de(this,t,e);case"utf8":case"utf-8":return Bt(this,t,e);case"ascii":return le(this,t,e);case"latin1":case"binary":return he(this,t,e);case"base64":return ae(this,t,e);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ye(this,t,e);default:if(n)throw new TypeError("Unknown encoding: "+r);r=(r+"").toLowerCase(),n=!0}}s.prototype._isBuffer=!0;function O(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),a=this.slice(i,o),l=t.slice(e,n);for(let f=0;f2147483647?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(l,f){return o===1?l[f]:l.readUInt16BE(f*o)}let a;if(i){let l=-1;for(a=e;au&&(e=u-c),a=e;a>=0;a--){let l=!0;for(let f=0;fi&&(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 oe(this,t,e,n);case"utf8":case"utf-8":return ue(this,t,e,n);case"ascii":case"latin1":case"binary":return se(this,t,e,n);case"base64":return ce(this,t,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return pe(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 ae(r,t,e){return t===0&&e===r.length?Z.fromByteArray(r):Z.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,a,l,f;switch(c){case 1:o<128&&(u=o);break;case 2:p=r[i+1],(p&192)===128&&(f=(o&31)<<6|p&63,f>127&&(u=f));break;case 3:p=r[i+1],a=r[i+2],(p&192)===128&&(a&192)===128&&(f=(o&15)<<12|(p&63)<<6|a&63,f>2047&&(f<55296||f>57343)&&(u=f));break;case 4:p=r[i+1],a=r[i+2],l=r[i+3],(p&192)===128&&(a&192)===128&&(l&192)===128&&(f=(o&15)<<18|(p&63)<<12|(a&63)<<6|l&63,f>65535&&f<1114112&&(u=f))}}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 fe(n)}var yt=4096;function fe(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=S(function(t){t=t>>>0,P(t,"offset");let e=this[t],n=this[t+7];(e===void 0||n===void 0)&&L(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,P(t,"offset");let e=this[t],n=this[t+7];(e===void 0||n===void 0)&&L(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=S(function(t){t=t>>>0,P(t,"offset");let e=this[t],n=this[t+7];(e===void 0||n===void 0)&&L(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,P(t,"offset");let e=this[t],n=this[t+7];(e===void 0||n===void 0)&&L(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),C.read(this,t,!0,23,4)};s.prototype.readFloatBE=function(t,e){return t=t>>>0,e||y(t,4,this.length),C.read(this,t,!1,23,4)};s.prototype.readDoubleLE=function(t,e){return t=t>>>0,e||y(t,8,this.length),C.read(this,t,!0,52,8)};s.prototype.readDoubleBE=function(t,e){return t=t>>>0,e||y(t,8,this.length),C.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=S(function(t,e=0){return It(this,t,e,BigInt(0),BigInt("0xffffffffffffffff"))});s.prototype.writeBigUInt64BE=S(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=S(function(t,e=0){return It(this,t,e,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});s.prototype.writeBigInt64BE=S(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),C.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),C.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 we(r,t,e){P(t,"offset"),(r[t]===void 0||r[t+e]===void 0)&&L(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 T.ERR_OUT_OF_RANGE("value",c,r)}we(n,i,o)}function P(r,t){if(typeof r!="number")throw new T.ERR_INVALID_ARG_TYPE(t,"number",r)}function L(r,t,e){throw Math.floor(r)!==r?(P(r,e),new T.ERR_OUT_OF_RANGE(e||"offset","an integer",r)):t<0?new T.ERR_BUFFER_OUT_OF_BOUNDS:new T.ERR_OUT_OF_RANGE(e||"offset",`>= ${e?1:0} and <= ${t}`,r)}var me=/[^+/0-9A-Za-z-_]/g;function xe(r){if(r=r.split("=")[0],r=r.trim().replace(me,""),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 ge(r){let t=[];for(let e=0;e>8,i=e%256,o.push(i),o.push(n);return o}function Ut(r){return Z.toByteArray(xe(r))}function J(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 Be=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 S(r){return typeof BigInt>"u"?Ie:r}function Ie(){throw new Error("BigInt not supported")}});var x,d=Dt(()=>{"use strict";x=$t(Ot(),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}},je=new q(r=>r.startsWith("[")||r.startsWith("<")),De=new q(r=>r.startsWith("chrome")||r.startsWith("webkit")||r.startsWith("moz")),R=["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 R)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&&R.some(n=>r.trace[e].startsWith(n))&&(t||=!0);return t};d();var Fe=({trace:r})=>j.analyze(r[r.length-1]),Ae=({trace:r})=>{for(let t of r)if(j.analyze(t))return!0;return!1},Rt=r=>t=>{for(let e of r)if(e(t))return!0;return!1},N=Rt([Fe]),b=Rt([Ae]);var D=r=>new Proxy(console.debug,{apply(t,e,n){Reflect.apply(t,e,[`${r}`,...n])}}),v=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 Mt=Object.create;var ct=Object.defineProperty;var Nt=Object.getOwnPropertyDescriptor;var zt=Object.getOwnPropertyNames;var qt=Object.getPrototypeOf,jt=Object.prototype.hasOwnProperty;var Dt=(r,t)=>()=>(r&&(t=r(r=0)),t);var Y=(r,t)=>()=>(t||r((t={exports:{}}).exports,t),t.exports);var Wt=(r,t,e,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of zt(t))!jt.call(r,i)&&i!==e&&ct(r,i,{get:()=>t[i],enumerable:!(n=Nt(t,i))||n.enumerable});return r};var $t=(r,t,e)=>(e=r!=null?Mt(qt(r)):{},Wt(t||!r||!r.__esModule?ct(e,"default",{value:r,enumerable:!0}):e,r));var ft=Y(W=>{"use strict";d();W.byteLength=Gt;W.toByteArray=Yt;W.fromByteArray=Zt;var B=[],m=[],Ht=typeof Uint8Array<"u"?Uint8Array:Array,X="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(U=0,pt=X.length;U0)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 Gt(r){var t=at(r),e=t[0],n=t[1];return(e+n)*3/4-n}function Vt(r,t,e){return(t+e)*3/4-e}function Yt(r){var t,e=at(r),n=e[0],i=e[1],o=new Ht(Vt(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 Xt(r){return B[r>>18&63]+B[r>>12&63]+B[r>>6&63]+B[r&63]}function Jt(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,l=-7,f=e?i-1:0,A=e?-1:1,E=r[t+f];for(f+=A,o=E&(1<<-l)-1,E>>=-l,l+=c;l>0;o=o*256+r[t+f],f+=A,l-=8);for(u=o&(1<<-l)-1,o>>=-l,l+=n;l>0;u=u*256+r[t+f],f+=A,l-=8);if(o===0)o=1-a;else{if(o===p)return u?NaN:(E?-1:1)*(1/0);u=u+Math.pow(2,n),o=o-a}return(E?-1:1)*u*Math.pow(2,o-n)};J.write=function(r,t,e,n,i,o){var u,c,p,a=o*8-i-1,l=(1<>1,A=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,E=n?0:o-1,V=n?1:-1,Lt=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=l):(u=Math.floor(Math.log(t)/Math.LN2),t*(p=Math.pow(2,-u))<1&&(u--,p*=2),u+f>=1?t+=A/p:t+=A*Math.pow(2,1-f),t*p>=2&&(u++,p/=2),u+f>=l?(c=0,u=l):u+f>=1?(c=(t*p-1)*Math.pow(2,i),u=u+f):(c=t*Math.pow(2,f-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,a-=8);r[e+E-V]|=Lt*128}});var Rt=Y(_=>{"use strict";d();var Z=ft(),C=lt(),ht=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;_.Buffer=s;_.SlowBuffer=ne;_.INSPECT_MAX_BYTES=50;var $=2147483647;_.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 k(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 te(r,t);if(ArrayBuffer.isView(r))return ee(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=re(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?k(r):t!==void 0?typeof e=="string"?k(r).fill(t,e):k(r).fill(t):k(r)}s.alloc=function(r,t,e){return Qt(r,t,e)};function et(r){return xt(r),k(r<0?0:rt(r)|0)}s.allocUnsafe=function(r){return et(r)};s.allocUnsafeSlow=function(r){return et(r)};function te(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=k(e),i=n.write(r,t);return i!==e&&(n=n.slice(0,i)),n}function K(r){let t=r.length<0?0:rt(r.length)|0,e=k(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 ne(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 ie(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 de(this,t,e);case"utf8":case"utf-8":return Bt(this,t,e);case"ascii":return le(this,t,e);case"latin1":case"binary":return he(this,t,e);case"base64":return ae(this,t,e);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ye(this,t,e);default:if(n)throw new TypeError("Unknown encoding: "+r);r=(r+"").toLowerCase(),n=!0}}s.prototype._isBuffer=!0;function R(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),a=this.slice(i,o),l=t.slice(e,n);for(let f=0;f2147483647?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(l,f){return o===1?l[f]:l.readUInt16BE(f*o)}let a;if(i){let l=-1;for(a=e;au&&(e=u-c),a=e;a>=0;a--){let l=!0;for(let f=0;fi&&(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 oe(this,t,e,n);case"utf8":case"utf-8":return ue(this,t,e,n);case"ascii":case"latin1":case"binary":return se(this,t,e,n);case"base64":return ce(this,t,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return pe(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 ae(r,t,e){return t===0&&e===r.length?Z.fromByteArray(r):Z.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,a,l,f;switch(c){case 1:o<128&&(u=o);break;case 2:p=r[i+1],(p&192)===128&&(f=(o&31)<<6|p&63,f>127&&(u=f));break;case 3:p=r[i+1],a=r[i+2],(p&192)===128&&(a&192)===128&&(f=(o&15)<<12|(p&63)<<6|a&63,f>2047&&(f<55296||f>57343)&&(u=f));break;case 4:p=r[i+1],a=r[i+2],l=r[i+3],(p&192)===128&&(a&192)===128&&(l&192)===128&&(f=(o&15)<<18|(p&63)<<12|(a&63)<<6|l&63,f>65535&&f<1114112&&(u=f))}}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 fe(n)}var yt=4096;function fe(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=S(function(t){t=t>>>0,P(t,"offset");let e=this[t],n=this[t+7];(e===void 0||n===void 0)&&z(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,P(t,"offset");let e=this[t],n=this[t+7];(e===void 0||n===void 0)&&z(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=S(function(t){t=t>>>0,P(t,"offset");let e=this[t],n=this[t+7];(e===void 0||n===void 0)&&z(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,P(t,"offset");let e=this[t],n=this[t+7];(e===void 0||n===void 0)&&z(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),C.read(this,t,!0,23,4)};s.prototype.readFloatBE=function(t,e){return t=t>>>0,e||y(t,4,this.length),C.read(this,t,!1,23,4)};s.prototype.readDoubleLE=function(t,e){return t=t>>>0,e||y(t,8,this.length),C.read(this,t,!0,52,8)};s.prototype.readDoubleBE=function(t,e){return t=t>>>0,e||y(t,8,this.length),C.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=S(function(t,e=0){return It(this,t,e,BigInt(0),BigInt("0xffffffffffffffff"))});s.prototype.writeBigUInt64BE=S(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=S(function(t,e=0){return It(this,t,e,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});s.prototype.writeBigInt64BE=S(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),C.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),C.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 we(r,t,e){P(t,"offset"),(r[t]===void 0||r[t+e]===void 0)&&z(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 T.ERR_OUT_OF_RANGE("value",c,r)}we(n,i,o)}function P(r,t){if(typeof r!="number")throw new T.ERR_INVALID_ARG_TYPE(t,"number",r)}function z(r,t,e){throw Math.floor(r)!==r?(P(r,e),new T.ERR_OUT_OF_RANGE(e||"offset","an integer",r)):t<0?new T.ERR_BUFFER_OUT_OF_BOUNDS:new T.ERR_OUT_OF_RANGE(e||"offset",`>= ${e?1:0} and <= ${t}`,r)}var me=/[^+/0-9A-Za-z-_]/g;function xe(r){if(r=r.split("=")[0],r=r.trim().replace(me,""),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 ge(r){let t=[];for(let e=0;e>8,i=e%256,o.push(i),o.push(n);return o}function Ut(r){return Z.toByteArray(xe(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 Be=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 S(r){return typeof BigInt>"u"?Ie:r}function Ie(){throw new Error("BigInt not supported")}});var x,d=Dt(()=>{"use strict";x=$t(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}},je=new q(r=>r.startsWith("[")||r.startsWith("<")),De=new q(r=>r.startsWith("chrome")||r.startsWith("webkit")||r.startsWith("moz")),O=["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 O)if(r.includes(t))return!0;return!1}),L=r=>{let t=!1;for(let e=0;e!r.trace[e].startsWith(n))&&(t||=!0),e!==r.trace.length-1&&e!==0&&O.some(n=>r.trace[e].startsWith(n))&&(t||=!0);return t};d();var Fe=({trace:r})=>j.analyze(r[r.length-1]),Ae=({trace:r})=>{for(let t of r)if(j.analyze(t))return!0;return!1},Ot=r=>t=>{for(let e of r)if(e(t))return!0;return!1},M=Ot([Fe]),b=Ot([Ae]);var D=r=>new Proxy(console.debug,{apply(t,e,n){Reflect.apply(t,e,[`${r}`,...n])}}),v=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(N(u)&&_(u))throw v(`apply name=${t} argArray=`,o,"stack=",u.raw),new Error("microShield");return Reflect.apply(n,i,o)},setPrototypeOf(n,i){let o=g();if(b(o))throw v(`setPrototypeOf name=${t} stack=`,o.raw),new Error("microShield");return Reflect.setPrototypeOf(n,i)}}),z=async r=>r.readyState!=="loading"?!0:new Promise(t=>{r.addEventListener("readystatechange",()=>{t(!0)})}),vt=(r,t=r.name)=>new Proxy(r,{set(n,i,o,u){let c=g();if(N(c)&&_(c))throw v(`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(b(o))throw v(`setPrototypeOf name=${t} stack=`,o.raw),new Error("Overriding prototype of Error is not allowed!");return Reflect.setPrototypeOf(n,i)}}),ke=r=>{let t=r.join(` -`),e=!1;return e||=(t.match(/eval/g)?.length??-1)>=4&&(t.includes("NodeList.forEach")??!1),e||=(/^[A-Za-z0-9/<>]+@https:\/\/.+ line [0-9]+ > eval/.exec(t)?.length??-1)>=1&&(t.match(/\n([a-zA-Z0-9]+)?@https:\/\/.+ line [0-9]+ > eval/g)?.length??-1)>=2,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(ke(u.raw)||N(u)&&_(u))throw v(`apply name=${t} argArray=`,o,"stack=",u.raw),new Error("microShield");return Reflect.apply(n,i,o)},setPrototypeOf(n,i){let o=g();if(b(o))throw v(`setPrototypeOf name=${t} stack=`,o.raw),new Error("microShield");return Reflect.setPrototypeOf(n,i)}}),Tt=(r,t=r.name)=>new Proxy(r,{apply(n,i,o){if(o.length>0&&R.some(u=>o.join(` -`).includes(u)))throw new Error("microShield");return Reflect.apply(n,i,o)},setPrototypeOf(n,i){let o=g();if(b(o))throw v(`setPrototypeOf name=${t} stack=`,o.raw),new Error("microShield");return Reflect.setPrototypeOf(n,i)}});var ut=D("[microShield:basedrop]"),Ct=async()=>{await z(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 Pt=[{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 +`).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(M(u)&&L(u))throw v(`apply name=${t} argArray=`,o,"stack=",u.raw),new Error("microShield");return Reflect.apply(n,i,o)},setPrototypeOf(n,i){let o=g();if(b(o))throw v(`setPrototypeOf name=${t} stack=`,o.raw),new Error("microShield");return Reflect.setPrototypeOf(n,i)}}),N=async r=>r.readyState!=="loading"?!0:new Promise(t=>{r.addEventListener("readystatechange",()=>{t(!0)})}),vt=(r,t=r.name)=>new Proxy(r,{set(n,i,o,u){let c=g();if(M(c)&&L(c))throw v(`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(b(o))throw v(`setPrototypeOf name=${t} stack=`,o.raw),new Error("Overriding prototype of Error is not allowed!");return Reflect.setPrototypeOf(n,i)}}),ke=r=>{let t=r.join(` +`),e=!1;return e||=(t.match(/eval/g)?.length??-1)>=4&&(t.includes("NodeList.forEach")??!1),e||=(/^[A-Za-z0-9/<>]+@https:\/\/.+ line [0-9]+ > eval/.exec(t)?.length??-1)>=1&&(t.match(/\n([a-zA-Z0-9]+)?@https:\/\/.+ line [0-9]+ > eval/g)?.length??-1)>=2,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(ke(u.raw)||M(u)&&L(u))throw v(`apply name=${t} argArray=`,o,"stack=",u.raw),new Error("microShield");return Reflect.apply(n,i,o)},setPrototypeOf(n,i){let o=g();if(b(o))throw v(`setPrototypeOf name=${t} stack=`,o.raw),new Error("microShield");return Reflect.setPrototypeOf(n,i)}}),Tt=(r,t=r.name)=>new Proxy(r,{apply(n,i,o){if(o.length>0&&O.some(u=>o.join(` +`).includes(u)))throw new Error("microShield");return Reflect.apply(n,i,o)},setPrototypeOf(n,i){let o=g();if(b(o))throw v(`setPrototypeOf name=${t} stack=`,o.raw),new Error("microShield");return Reflect.setPrototypeOf(n,i)}});var ut=D("[microShield:basedrop]"),Ct=async()=>{await N(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 Pt=[{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 J3fkZhj<\`wH50T='g|(EP[B-QYD`,output:"7uil5a3gxbrptvjeymo4c09wqzs682nf1",reserved1:107,reserved1Input:"Ks_)v;Vu",reserved1Output:"ypwzx2usm8og5q74tanlb6ri3vcehj9kf1",reserved2:104,reserved2Input:"7y:x218]U#NC}nWaMS{L",reserved2Output:"bja3zkfvqltgu5sw678n"},{id:"zmpc",input:`.Ip>szJ8EwahYM/v;yKc=f ([_T q3nOS`,output:"5nv1iegza269ju8soky04h3p7rltcxmbq",reserved1:119,reserved1Input:'QCABV"]#0jb&Wo6t:UuiHg1rPD4%)RlNk-',reserved1Output:"le4971m5irpukxjv3sq2o8y60gnbzthwfa",reserved2:102,reserved2Input:"G752e`LXx'Zm}9< {?F",reserved2Output:"plbi21cxfmo36tn50uq"},{id:"fwbh",input:`x5A8hE9= QG1"CuJ'oV(I)>lbW4D#e L6`,output:"wr275yogsj4kv03izcnx1uaqb8pflm6th",reserved1:57,reserved1Input:"3%t {2rckfyXR]?NK&/Fgw;TSMmn-7_iU.",reserved1Output:"y93rfts7lxq8vkgjen5m0i6wzhap1ucb2o",reserved2:101,reserved2Input:"}qBnp3JN]47u",reserved2Output:"9jmanwyqx0s54zuto6h"},{id:"nloc",input:"x<[ykY%1-sK9_C0Raj#8OLl]/HwhqFU 3",output:"0ozupkrx6qjwnygl34m7i9th1f8v2bec5",reserved1:97,reserved1Input:'&m2GT5IrP" .B(o=:igbJpWnz7tcvNZ`>\n',reserved1Output:"74hfvbtcj2eroa0ul56yw3inqxkgp9m1zs",reserved2:115,reserved2Input:"uV6})Q'?D{SeAMX4;Ef",reserved2Output:"91ysxe8luorn6vpciwq"},{id:"fkad",input:"7z>g}{/W#`c[ZT&sI<2-haKXYn\no)xSFA",output:"niue8tmyacj3l91q65fxbwzrv7po2gk40",reserved1:115,reserved1Input:"1EHb.|u?p(qfPity'r6O% w=]9BJRD;:8k",reserved1Output:"phm21v9cw4b73yglnfxotazsuj8qrk650i",reserved2:104,reserved2Input:'Qj^ NCUv54le"VMm_30GL',reserved2Output:"bixqrhwn9zjm54o12fe0s",remoteResourceToken:"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJuYW1lIjoiIiwiZW1haWwiOiIiLCJleHAiOjE3MDczNjA3MTMsImlhdCI6MTcwNzI3NDMxM30.8okwCzaAh5Vz-bkD2XpNGAflibqgz-r8fUccSjz3hwY"},{id:"svmm",input:`maG;FT.e2cYzV:%i})g4bp-KUZynp3JN]47u",reserved2Output:"9jmanwyqx0s54zuto6h"},{id:"nloc",input:"x<[ykY%1-sK9_C0Raj#8OLl]/HwhqFU 3",output:"0ozupkrx6qjwnygl34m7i9th1f8v2bec5",reserved1:97,reserved1Input:'&m2GT5IrP" .B(o=:igbJpWnz7tcvNZ`>\n',reserved1Output:"74hfvbtcj2eroa0ul56yw3inqxkgp9m1zs",reserved2:115,reserved2Input:"uV6})Q'?D{SeAMX4;Ef",reserved2Output:"91ysxe8luorn6vpciwq"},{id:"fkad",input:"7z>g}{/W#`c[ZT&sI<2-haKXYn\no)xSFA",output:"niue8tmyacj3l91q65fxbwzrv7po2gk40",reserved1:115,reserved1Input:"1EHb.|u?p(qfPity'r6O% w=]9BJRD;:8k",reserved1Output:"phm21v9cw4b73yglnfxotazsuj8qrk650i",reserved2:104,reserved2Input:'Qj^ NCUv54le"VMm_30GL',reserved2Output:"bixqrhwn9zjm54o12fe0s"},{id:"svmm",input:`maG;FT.e2cYzV:%i})g4bp-KUZy#[h{X19o&SEAM/n"O= 05P',reserved1Output:"36qz0mv9tne7kwra5i1ujx28oyfspcglh4",reserved2:101,reserved2Input:"|` 'Rqj6CNWH]I8sx7u3f",reserved2Output:"wegyjpzux38q2a9vmifot"},{id:"cokq",input:`(r%96jVK7{kP gDhOcFs'1;M"IuQZ/yqA`,output:"izxsomqh3p8bvga49w7fy2tluc6e5n01r",reserved1:106,reserved1Input:"^zG[wm\nC`=8Bv><&]0:T L#px3Xli-n).4",reserved1Output:"p91tzx4ibshwf3qyen506ugo2mkv8lrjc7",reserved2:107,reserved2Input:"EYf?RN2a}WbU5eH_|StJo",reserved2Output:"sm8fkhrwa94y0eupj2nq1"},{id:"znbg",input:"( EHC_;s/.WgNfVl z9MYhQ}Tj:JFUS)#",output:"o5hkm78up2yxwvzsj0at1bglr6ei43ncq",reserved1:102,reserved1Input:`KZi{^4POo37nv?x&1`]2t",reserved2Output:"crxmjf7yhgt6o3p8l09iv"}];var W=D("[microShield:tinywave]"),be=(r,t)=>{let e=r.slice(0,4),n=Pt.find(a=>a.id===e);if(!n)throw new Error("DEFUSER_TINYWAVE_KEY_NOT_FOUND");let i=String.fromCharCode(n.reserved1),o=String.fromCharCode(n.reserved2),u=(a,l,f)=>{let A=l.indexOf(f);return A>=0?a[A]:f},c=0,p=r.slice(4).split("").map(a=>{if(!c){if(a===i)return c=1,"";if(a===o)return c=2,""}return c===1?(c=0,n.reserved1Output.includes(a)?u(n.reserved1Input,n.reserved1Output,a):u(n.input,n.output,a)+a):c===2?(c=0,n.reserved2Output.includes(a)?u(n.reserved2Input,n.reserved2Output,a):u(n.input,n.output,a)+a):u(n.input,n.output,a)}).join("");if(p.includes("resources://")&&n.remoteResourceToken){W("downloading remote resource from Ad-Shield is required",p);let a=new URL(t.startsWith("//")?`https:${t}`:t).hostname;p=p.replace(/resources:\/\/[a-zA-Z0-9-]+/,`https://${a}/resources/${new RegExp("(?<=resources:\\/\\/)[a-zA-Z0-9-]+").exec(p)}?token=${n.remoteResourceToken}`)}return JSON.parse(p)},Ue=r=>{W("restore");let t=0;for(let e of r)try{e.tags&&document.head.insertAdjacentHTML("beforeend",e.tags)}catch(n){W("restore error=",n),t++}W(`restore total=${r.length} failed=${t}`)},Oe=async()=>{let r,t=()=>{let e=document.querySelector('script[data]:not([data=""])');if(e){let n=e.getAttribute("src"),i=e.getAttribute("data");n&&i&&(r={script:n,data:i})}};if(t(),r||(await z(document),t()),!r)throw new Error("DEFUSER_SHORTWAVE_TARGET_NOT_FOUND");return be(r.data,r.script)},Mt=async()=>{let r=await Oe();W("payload",r),Ue(r)};d();var Re=[["inventories",r=>Array.isArray(r)&&Object.getOwnPropertyNames(r[0]).includes("originalAds")],["key",r=>typeof r=="string"&&r.startsWith("as")]],st=r=>{if(typeof r!="object")return!1;if(Array.isArray(r)){for(let e of r)if(st(e))return!0}let t=Object.getOwnPropertyNames(r);for(let[e,n]of Re)if(t.includes(e)&&n(r[e]))return!0;return!1};var h=typeof unsafeWindow<"u"?unsafeWindow:window,ve=()=>{h.Element.prototype.remove=ot(h.Element.prototype.remove,"Element.prototype.remove"),h.Element.prototype.removeChild=ot(h.Element.prototype.removeChild,"Element.prototype.removeChild"),h.Element.prototype.insertAdjacentHTML=F(h.Element.prototype.insertAdjacentHTML,"Element.prototype.insertAdjacentHTML"),h.Element.prototype.setAttribute=F(h.Element.prototype.setAttribute,"Element.prototype.setAttribute"),h.alert=Tt(h.alert,"alert"),h.HTMLScriptElement.prototype.setAttribute=new Proxy(h.HTMLScriptElement.prototype.setAttribute,{apply(r,t,e){e[0]==="src"&&typeof e[1]=="string"&&j.analyze(e[1])||Reflect.apply(r,t,e)},setPrototypeOf(r,t){return!1}}),h.EventTarget.prototype.addEventListener=F(h.EventTarget.prototype.addEventListener,"EventTarget.prototype.addEventListener"),h.Function.prototype.apply=F(h.Function.prototype.apply,"Function.prototype.apply"),h.MessagePort.prototype.postMessage=F(h.MessagePort.prototype.postMessage,"MessagePort.prototype.postMessage"),h.document.createElement=F(h.document.createElement,"document.createElement"),h.setInterval=F(h.setInterval,"setInterval"),h.setTimeout=F(h.setTimeout,"setInterval"),h.decodeURIComponent=new Proxy(h.decodeURIComponent,{apply(r,t,e){let n=Reflect.apply(r,t,e);for(let i of R)if(n.includes(i))return"";return n}}),localStorage.removeItem("as_profile_cache"),localStorage.removeItem("adshield-analytics-uuid"),h.Storage.prototype.setItem=new Proxy(h.Storage.prototype.setItem,{apply(r,t,e){let[n]=e;if(b(g())||n.startsWith("as_")||n.startsWith("as-")||n.includes("adshield"))throw new DOMException("QuotaExceededError");return Reflect.apply(r,t,e)}}),h.fetch=F(h.fetch,"fetch"),h.XMLHttpRequest=new Proxy(h.XMLHttpRequest,{construct(r,t,e){return b(g())&&_(g())?{}:Reflect.construct(r,t,e)}}),h.Error=vt(h.Error,"Error"),h.navigator.vendor.includes("Apple")&&(h.JSON.parse=new Proxy(h.JSON.parse,{apply(r,t,e){let n=Reflect.apply(r,t,e);return N(g())||st(n)?null:n},set(){throw new Error("Overriding JSON.parse is not allowed!")}}),z(document).then(()=>{for(let t of document.querySelectorAll('iframe[src="about:blank"]'))t.remove();new MutationObserver(t=>{for(let e of t)for(let n of e.addedNodes)n instanceof HTMLIFrameElement&&n.getAttribute("src")==="about:blank"&&n.remove()}).observe(document.documentElement??document.body,{childList:!0,subtree:!0}),document.head.insertAdjacentHTML("afterbegin",'')})),Ct(),Mt()};ve();})(); +XLurypqA8[eIw-DR|kbB`,reserved1Output:"ou7ercvw9l01yghnfip685bzxqtak3sjm4",reserved2:57,reserved2Input:"=6a0G>POo37nv?x&1`]2t",reserved2Output:"crxmjf7yhgt6o3p8l09iv"}];var G=D("[microShield:tinywave]"),be=(r,t)=>{let e=r.slice(0,4),n=Pt.find(a=>a.id===e);if(!n)throw new Error("DEFUSER_TINYWAVE_KEY_NOT_FOUND");let i=String.fromCharCode(n.reserved1),o=String.fromCharCode(n.reserved2),u=(a,l,f)=>{let A=l.indexOf(f);return A>=0?a[A]:f},c=0,p=r.slice(4).split("").map(a=>{if(!c){if(a===i)return c=1,"";if(a===o)return c=2,""}return c===1?(c=0,n.reserved1Output.includes(a)?u(n.reserved1Input,n.reserved1Output,a):u(n.input,n.output,a)+a):c===2?(c=0,n.reserved2Output.includes(a)?u(n.reserved2Input,n.reserved2Output,a):u(n.input,n.output,a)+a):u(n.input,n.output,a)}).join("");return JSON.parse(p)},Ue=r=>{G("restore");let t=0;for(let e of r)try{e.tags&&document.head.insertAdjacentHTML("beforeend",e.tags)}catch(n){G("restore error=",n),t++}G(`restore total=${r.length} failed=${t}`)},Re=async()=>{let r,t=()=>{let e=document.querySelector('script[data]:not([data=""])');if(e){let n=e.getAttribute("src"),i=e.getAttribute("data");n&&i&&(r={script:n,data:i})}};if(t(),r||(await N(document),t()),!r)throw new Error("DEFUSER_SHORTWAVE_TARGET_NOT_FOUND");return be(r.data,r.script)},_t=async()=>{let r=await Re();G("payload",r),Ue(r)};d();var Oe=[["inventories",r=>Array.isArray(r)&&Object.getOwnPropertyNames(r[0]).includes("originalAds")],["key",r=>typeof r=="string"&&r.startsWith("as")]],st=r=>{if(typeof r!="object")return!1;if(Array.isArray(r)){for(let e of r)if(st(e))return!0}let t=Object.getOwnPropertyNames(r);for(let[e,n]of Oe)if(t.includes(e)&&n(r[e]))return!0;return!1};var h=typeof unsafeWindow<"u"?unsafeWindow:window,ve=()=>{h.Element.prototype.remove=ot(h.Element.prototype.remove,"Element.prototype.remove"),h.Element.prototype.removeChild=ot(h.Element.prototype.removeChild,"Element.prototype.removeChild"),h.Element.prototype.insertAdjacentHTML=F(h.Element.prototype.insertAdjacentHTML,"Element.prototype.insertAdjacentHTML"),h.Element.prototype.setAttribute=F(h.Element.prototype.setAttribute,"Element.prototype.setAttribute"),h.alert=Tt(h.alert,"alert"),h.HTMLScriptElement.prototype.setAttribute=new Proxy(h.HTMLScriptElement.prototype.setAttribute,{apply(r,t,e){e[0]==="src"&&typeof e[1]=="string"&&j.analyze(e[1])||Reflect.apply(r,t,e)},setPrototypeOf(r,t){return!1}}),h.EventTarget.prototype.addEventListener=F(h.EventTarget.prototype.addEventListener,"EventTarget.prototype.addEventListener"),h.Function.prototype.apply=F(h.Function.prototype.apply,"Function.prototype.apply"),h.MessagePort.prototype.postMessage=F(h.MessagePort.prototype.postMessage,"MessagePort.prototype.postMessage"),h.document.createElement=F(h.document.createElement,"document.createElement"),h.setInterval=F(h.setInterval,"setInterval"),h.setTimeout=F(h.setTimeout,"setInterval"),h.decodeURIComponent=new Proxy(h.decodeURIComponent,{apply(r,t,e){let n=Reflect.apply(r,t,e);for(let i of O)if(n.includes(i))return"";return n}}),localStorage.removeItem("as_profile_cache"),localStorage.removeItem("adshield-analytics-uuid"),h.Storage.prototype.setItem=new Proxy(h.Storage.prototype.setItem,{apply(r,t,e){let[n]=e;if(b(g())||n.startsWith("as_")||n.startsWith("as-")||n.includes("adshield"))throw new DOMException("QuotaExceededError");return Reflect.apply(r,t,e)}}),h.fetch=F(h.fetch,"fetch"),h.XMLHttpRequest=new Proxy(h.XMLHttpRequest,{construct(r,t,e){return b(g())&&L(g())?{}:Reflect.construct(r,t,e)}}),h.Error=vt(h.Error,"Error"),h.navigator.vendor.includes("Apple")&&(h.JSON.parse=new Proxy(h.JSON.parse,{apply(r,t,e){let n=Reflect.apply(r,t,e);return M(g())||st(n)?null:n},set(){throw new Error("Overriding JSON.parse is not allowed!")}}),N(document).then(()=>{for(let t of document.querySelectorAll('iframe[src="about:blank"]'))t.remove();new MutationObserver(t=>{for(let e of t)for(let n of e.addedNodes)n instanceof HTMLIFrameElement&&n.getAttribute("src")==="about:blank"&&n.remove()}).observe(document.documentElement??document.body,{childList:!0,subtree:!0}),document.head.insertAdjacentHTML("afterbegin",'')})),Ct(),_t()};ve();})(); /*! Bundled license information: ieee754/index.js: diff --git a/package.json b/package.json index 2ae5a58..cd837a4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "microshield", - "version": "3.15.1", + "version": "3.15.2", "description": "", "type": "module", "scripts": { diff --git a/sources/banner.txt b/sources/banner.txt index bbf1299..1e0b600 100644 --- a/sources/banner.txt +++ b/sources/banner.txt @@ -8,7 +8,7 @@ // @downloadURL https://cdn.jsdelivr.net/gh/List-KR/microShield@latest/microShield.user.js // @license Apache-2.0 // -// @version 3.15.1 +// @version 3.15.2 // @author PiQuark6046 and contributors // // @match *://algumon.com/* diff --git a/sources/src/__generated__/ztinywave.cache.ts b/sources/src/__generated__/ztinywave.cache.ts index 1c0976c..8aee044 100644 --- a/sources/src/__generated__/ztinywave.cache.ts +++ b/sources/src/__generated__/ztinywave.cache.ts @@ -98,7 +98,6 @@ export const source = [ "reserved2": 104, "reserved2Input": "Qj^ NCUv54le\"VMm_30GL", "reserved2Output": "bixqrhwn9zjm54o12fe0s", - "remoteResourceToken": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJuYW1lIjoiIiwiZW1haWwiOiIiLCJleHAiOjE3MDczNjA3MTMsImlhdCI6MTcwNzI3NDMxM30.8okwCzaAh5Vz-bkD2XpNGAflibqgz-r8fUccSjz3hwY" }, { "id": "svmm", diff --git a/sources/src/loaders/ztinywave.ts b/sources/src/loaders/ztinywave.ts index 8ee0667..34fa352 100644 --- a/sources/src/loaders/ztinywave.ts +++ b/sources/src/loaders/ztinywave.ts @@ -28,7 +28,7 @@ const decode = (payload: string, scriptURL: string) => { let mode = 0; - let data = payload + const data = payload .slice(4) .split('') .map(char => { @@ -70,12 +70,6 @@ const decode = (payload: string, scriptURL: string) => { }) .join(''); - if (data.includes('resources://') && key.remoteResourceToken) { - debug('downloading remote resource from Ad-Shield is required', data); - const scriptHostname = new URL(scriptURL.startsWith('//') ? `https:${scriptURL}` : scriptURL).hostname; - data = data.replace(/resources:\/\/[a-zA-Z0-9-]+/, (`https://${scriptHostname}/resources/${/(?<=resources:\/\/)[a-zA-Z0-9-]+/.exec(data) as unknown as string}?token=${key.remoteResourceToken}`)); - } - return JSON.parse(data) as Data; };