Skip to content

Instantly share code, notes, and snippets.

@meaku
Last active June 1, 2022 16:00
Show Gist options
  • Save meaku/a9f41352fad9748789f90a4103d43d36 to your computer and use it in GitHub Desktop.
Save meaku/a9f41352fad9748789f90a4103d43d36 to your computer and use it in GitHub Desktop.
(()=>{var Kt=Object.create;var lt=Object.defineProperty,zt=Object.defineProperties,Yt=Object.getOwnPropertyDescriptor,Qt=Object.getOwnPropertyDescriptors,te=Object.getOwnPropertyNames,kt=Object.getOwnPropertySymbols,ee=Object.getPrototypeOf,At=Object.prototype.hasOwnProperty,ne=Object.prototype.propertyIsEnumerable;var Pt=(t,o,r)=>o in t?lt(t,o,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[o]=r,k=(t,o)=>{for(var r in o||(o={}))At.call(o,r)&&Pt(t,r,o[r]);if(kt)for(var r of kt(o))ne.call(o,r)&&Pt(t,r,o[r]);return t},H=(t,o)=>zt(t,Qt(o));var re=(t,o)=>()=>(o||t((o={exports:{}}).exports,o),o.exports);var oe=(t,o,r,i)=>{if(o&&typeof o=="object"||typeof o=="function")for(let a of te(o))!At.call(t,a)&&a!==r&&lt(t,a,{get:()=>o[a],enumerable:!(i=Yt(o,a))||i.enumerable});return t};var ie=(t,o,r)=>(r=t!=null?Kt(ee(t)):{},oe(o||!t||!t.__esModule?lt(r,"default",{value:t,enumerable:!0}):r,t));var Mt=(t,o,r)=>{if(!o.has(t))throw TypeError("Cannot "+r)};var T=(t,o,r)=>(Mt(t,o,"read from private field"),r?r.call(t):o.get(t)),G=(t,o,r)=>{if(o.has(t))throw TypeError("Cannot add the same private member more than once");o instanceof WeakSet?o.add(t):o.set(t,r)},W=(t,o,r,i)=>(Mt(t,o,"write to private field"),i?i.call(t,r):o.set(t,r),r);var j=(t,o,r)=>new Promise((i,a)=>{var u=d=>{try{f(r.next(d))}catch(y){a(y)}},p=d=>{try{f(r.throw(d))}catch(y){a(y)}},f=d=>d.done?i(d.value):Promise.resolve(d.value).then(u,p);f((r=r.apply(t,o)).next())});var Ht=re((ot,ut)=>{(function(t,o){typeof ot=="object"&&typeof ut=="object"?ut.exports=o():typeof define=="function"&&define.amd?define([],o):typeof ot=="object"?ot.xspy=o():t.xspy=o()})(window,function(){return function(t){var o={};function r(i){if(o[i])return o[i].exports;var a=o[i]={i,l:!1,exports:{}};return t[i].call(a.exports,a,a.exports,r),a.l=!0,a.exports}return r.m=t,r.c=o,r.d=function(i,a,u){r.o(i,a)||Object.defineProperty(i,a,{enumerable:!0,get:u})},r.r=function(i){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(i,"h",{value:!0})},r.t=function(i,a){if(1&a&&(i=r(i)),8&a||4&a&&typeof i=="object"&&i&&i.h)return i;var u=Object.create(null);if(r.r(u),Object.defineProperty(u,"default",{enumerable:!0,value:i}),2&a&&typeof i!="string")for(var p in i)r.d(u,p,function(f){return i[f]}.bind(null,p));return u},r.n=function(i){var a=i&&i.h?function(){return i.default}:function(){return i};return r.d(a,"a",a),a},r.o=function(i,a){return Object.prototype.hasOwnProperty.call(i,a)},r.p="",r(r.s=0)}([function(t,o,r){"use strict";r.r(o);var i,a,u=(window.fetch||function(){}).bind(window),p=function(){function s(){}return s.enable=function(){window.XMLHttpRequest=s.u,window.fetch&&(window.fetch=s.v)},s.disable=function(){window.XMLHttpRequest=s.OriginalXHR,window.fetch&&s.OriginalFetch&&(window.fetch=s.OriginalFetch)},s.isEnabled=function(){return window.XMLHttpRequest===s.u},s.setXMLHttpRequest=function(e){s.u=e},s.setFetch=function(e){s.v=e},s.getRequestListeners=function(){return s.g.slice()},s.getResponseListeners=function(){return s.j.slice()},s.onRequest=function(e,n){var c=this.g;c.indexOf(e)>-1||(typeof n=="number"?c.splice(n,0,e):c.push(e))},s.offRequest=function(e){this.O("request",e)},s.onResponse=function(e,n){var c=this.j;c.indexOf(e)>-1||(typeof n=="number"?c.splice(n,0,e):c.push(e))},s.offResponse=function(e){this.O("response",e)},s.clearAll=function(){s.clearRequestHandler(),s.clearResponseHandler()},s.clearRequestHandler=function(){this.g=[]},s.clearResponseHandler=function(){this.j=[]},s.O=function(e,n){for(var c=e==="request"?this.g:this.j,l=0;l<c.length;l++)if(c[l]===n)return void c.splice(l,1)},s.g=[],s.j=[],s.u=window.XMLHttpRequest,s.v=window.fetch,s.OriginalXHR=window.XMLHttpRequest,s.OriginalFetch=u,s}(),f=Date.now(),d=function(){function s(e,n){this.T=!1,this.M=!1,this.q=!1,this.L=!1,this.R=!1,this.H=[],this.X=0,this.P=!0,this.D="",this.N=null,this.S=null,this._=null,this.A=!0,this.NONE=0,this.CAPTURING_PHASE=1,this.AT_TARGET=2,this.BUBBLING_PHASE=3,this.I=Date.now()-f,this.D=e,this.T=n.bubbles,this.H=n.path,this.X=n.eventPhase,this.N=n.target,this.S=n.target,this._=n.target}return Object.defineProperty(s.prototype,"bubbles",{get:function(){return this.T},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"cancelBubble",{get:function(){return this.M},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"cancelable",{get:function(){return this.q},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"composed",{get:function(){return this.L},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"defaultPrevented",{get:function(){return this.R},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"eventPhase",{get:function(){return this.X},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"returnValue",{get:function(){return this.P},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"timeStamp",{get:function(){return this.I},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"type",{get:function(){return this.D},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"target",{get:function(){return this.N},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"currentTarget",{get:function(){return this.S},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"srcElement",{get:function(){return this._},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"isTrusted",{get:function(){return this.A},enumerable:!1,configurable:!0}),s.prototype.composedPath=function(){return this.H},s.prototype.initEvent=function(e,n,c){this.D=e,n!==void 0&&(this.T=n),c!==void 0&&(this.q=c)},s.prototype.preventDefault=function(){},s.prototype.stopImmediatePropagation=function(){this.M=!0},s.prototype.stopPropagation=function(){},s}(),y=(i=function(s,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,c){n.__proto__=c}||function(n,c){for(var l in c)c.hasOwnProperty(l)&&(n[l]=c[l])})(s,e)},function(s,e){function n(){this.constructor=s}i(s,e),s.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}),S=function(s){function e(n,c){var l=s.call(this,n,c)||this;return l.k=!0,l.U=0,l.C=0,l.k=c.lengthComputable,l.U=c.loaded,l.C=c.total,l}return y(e,s),Object.defineProperty(e.prototype,"lengthComputable",{get:function(){return this.k},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"loaded",{get:function(){return this.U},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"total",{get:function(){return this.C},enumerable:!1,configurable:!0}),e}(d),R=typeof navigator!="undefined"&&navigator.userAgent?navigator.userAgent:"",w=(a=parseInt((/msie (\d+)/.exec(R.toLowerCase())||[])[1],10),isNaN(a)?(a=parseInt((/trident\/.*; rv:(\d+)/.exec(R.toLowerCase())||[])[1],10),!isNaN(a)&&a):a);function M(s,e){return w!==!1&&(!e||(s==="<"?w<e:s==="<="?w<=e:s===">"?w>e:s===">="?w>=e:w===e))}var C=function(s,e,n,c,l,h){var g={target:e,bubbles:n,path:[e],eventPhase:Event.AT_TARGET,lengthComputable:c,loaded:l,total:h};return new S(s,g)},L=function(){return(L=Object.assign||function(s){for(var e,n=1,c=arguments.length;n<c;n++)for(var l in e=arguments[n])Object.prototype.hasOwnProperty.call(e,l)&&(s[l]=e[l]);return s}).apply(this,arguments)},B=function(){function s(){this.UNSENT=0,this.OPENED=1,this.HEADERS_RECEIVED=2,this.LOADING=3,this.DONE=4,this.B=new p.OriginalXHR,this.G={},this.V=0,this.F=!1,this.J=null,this.K=null,this.W=s.Y(this.B),this.Z=s.$(),this.tt="",this.it=null,this.k=!1,this.U=0,this.C=0,this.readyState=0,this.status=0,this.statusText="",this.timeout=0,this.upload=this.B.upload,this.response="",this.responseType="",this.responseURL="",this.withCredentials=!1,this.onreadystatechange=null,this.onabort=null,this.onerror=null,this.onloadstart=null,this.onload=null,this.onloadend=null,this.ontimeout=null,this.onprogress=null,this.nt()}return Object.defineProperty(s.prototype,"responseText",{get:function(){if(this.responseType==="text"||this.responseType==="")return this.tt;if(M(">=",10))return this.tt;var e=new Error("responseText is only available if responseType is '' or 'text'.");throw e.name="InvalidStateError",e},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"responseXML",{get:function(){if(this.responseType==="document"||this.responseType==="")return this.it;if(M(">=",10))return this.it;var e=new Error("responseXML is only available if responseType is '' or 'document'.");throw e.name="InvalidStateError",e},enumerable:!1,configurable:!0}),s.prototype.nt=function(){var e=this;this.et=this.et.bind(this),this.rt=this.rt.bind(this),this.st=this.st.bind(this);var n=function(c){e.addEventListener(c,e.et)};n("error"),n("timeout"),n("abort"),this.B.onreadystatechange=function(){var c=e.B.readyState;c===e.HEADERS_RECEIVED?M("<=",9)&&e.W.async===!1||e.ht():c===e.LOADING?e.ht():c===e.DONE&&(e.K=!1,e.ht(),e.ot()),e.ut(c)},this.B.addEventListener("progress",this.st),this.B.addEventListener("load",this.st)},s.prototype.addEventListener=function(e,n,c){this.G[e]||(this.G[e]=[]),this.G[e].push(n)},s.prototype.removeEventListener=function(e,n,c){if(this.G[e]){var l=this.G[e].indexOf(n);l<0||this.G[e].splice(l,1)}},s.prototype.dispatchEvent=function(e){if(typeof e!="object")throw new TypeError("EventTarget.dispatchEvent: Argument 1 is not an object");var n="on"+e.type;if(n==="onabort"||n==="onerror"||n==="onload"||n==="onloadend"||n==="onloadstart"||n==="onprogress"||n==="ontimeout")(c=this[n])&&c.call(this,e);else if(n==="onreadystatechange"){var c;(c=this[n])&&c.call(this,e)}var l=this.G[e.type];if(!l)return!0;for(var h=0;h<l.length&&!e.cancelBubble;h++)l[h].call(this,e);return!0},s.prototype.overrideMimeType=function(e){return this.B.overrideMimeType.call(this.B,e)},s.prototype.open=function(e,n,c,l,h){if(arguments.length<2)throw new TypeError("XMLHttpRequest.open: "+arguments.length+" is not a valid argument count for any overload");this.V=0,this.J=!1,this.F=!1,this.K=!1,this.W=L(L({},s.Y(this.B)),{headers:{},method:e,url:n,async:c!==!1,username:l,password:h}),this.Z=L(L({},s.$()),{headers:{}}),this.ut(this.OPENED)},s.prototype.send=function(e){var n=this;if(this.V!==this.OPENED)throw new DOMException("XMLHttpRequest state must be OPENED");this.ft(e),this.ct();var c=!1,l=p.getRequestListeners(),h=0,g=function(){try{if(h>=l.length)return function(){if(c=!0,n.V!==n.DONE){n.K=!0;var m=n.W.async!==!1;n.B.open(n.W.method,n.W.url,m,n.W.username,n.W.password),m&&(n.B.responseType=n.responseType,n.B.timeout=n.timeout),n.B.withCredentials=n.withCredentials,n.dispatchEvent(C("loadstart",n,!1,!1,0,0));for(var D=n.W.headers,E=D?Object.keys(D):[],q=0;q<E.length;q++){var Z=E[q],rt=D[Z];n.B.setRequestHeader(Z,rt)}n.B.send(n.W.body)}}();var b=l[h];if(b.length>=2){var v=n.rt(function(){h++,g()});return void b.call(n,n.W,v)}b.call(n,n.W),h++,g()}catch(m){console.warn("XMLHttpRequest: Exception in request handler",m),c||(h++,g())}};g()},s.prototype.setRequestHeader=function(e,n){if(this.readyState!==this.OPENED)throw new DOMException("XMLHttpRequest state must be OPENED");this.W.headers||(this.W.headers={});var c=e.toLowerCase();this.W.headers[c]&&(n=this.W.headers[c]+", "+n),this.W.headers[c]=n},s.prototype.getResponseHeader=function(e){var n=e.toLowerCase();if(this.readyState<this.HEADERS_RECEIVED||!(n in this.Z.headers)){if(M("<=",9)){if(this.readyState<this.OPENED)throw new Error;return""}return null}return this.Z.headers[n]},s.prototype.getAllResponseHeaders=function(){if(this.readyState<this.HEADERS_RECEIVED){if(M("<=",9)&&this.readyState<this.OPENED)throw new Error;return""}return function(e){for(var n=[],c=Object.keys(e),l=0;l<c.length;l++){var h=c[l],g=h.toLowerCase(),b=e[h];n.push(g+": "+b)}return n.join(`\r
`)+`\r
`}(this.Z.headers)},s.prototype.abort=function(){this.F=!0,this.status=0,this.readyState=this.UNSENT,this.V=this.UNSENT,this.K?this.B.abort():this.dispatchEvent(C("abort",this,M("=",11),!0,0,0)),this.K=!1},s.Y=function(e){return{ajaxType:"xhr",headers:{},method:"GET",url:"",async:!0,timeout:0,upload:e.upload}},s.$=function(){return{ajaxType:"xhr",status:0,statusText:"",finalUrl:"",responseType:"",headers:{}}},s.prototype.ft=function(e){this.W.responseType=this.responseType,this.W.timeout=this.timeout,this.W.withCredentials=this.withCredentials,this.W.body=e,this.B.onabort=typeof this.onabort=="function"?this.onabort.bind(this):null,this.B.onerror=typeof this.onerror=="function"?this.onerror.bind(this):null,this.B.ontimeout=typeof this.ontimeout=="function"?this.ontimeout.bind(this):null,this.B.onprogress=typeof this.onprogress=="function"?this.onprogress.bind(this):null},s.prototype.ct=function(){var e=this,n=function(c){var l=e.G[c];if(l&&!(l.length<1))for(var h=0;h<l.length;h++)e.B.addEventListener(c,l[h].bind(e))};n("abort"),n("error"),n("timeout"),n("progress")},s.prototype.rt=function(e){var n=this,c=function(l){l&&typeof l=="object"&&(n.dispatchEvent(C("loadstart",n,!1,!1,0,0)),n.Z=L(L({},n.Z),l),n.ut(n.DONE)),e()};return c.moveToHeaderReceived=function(l){n.readyState>=n.HEADERS_RECEIVED||(n.Z=L(L({},n.Z),l),n.ut(n.HEADERS_RECEIVED))},c.moveToLoading=function(l){n.readyState>=n.LOADING||(n.Z=L(L({},n.Z),l),n.ut(n.LOADING))},c},s.prototype.at=function(e){var n=this;return function(c){c&&typeof c=="object"&&(n.Z=L(L({},n.Z),c)),e()}},s.prototype.ht=function(){if(this.Z.status=this.B.status,!this.F){this.Z.statusText=this.B.statusText;for(var e=function(g){for(var b=g.trim().split(/[\r\n]+/),v={},m=0;m<b.length;m++){var D=b[m].split(": "),E=D.shift();E&&(v[E.toLowerCase()]=D.join(": "))}return v}(this.B.getAllResponseHeaders()),n=Object.keys(e),c=0;c<n.length;c++){var l=n[c],h=e[l];this.Z.headers[l]||(this.Z.headers[l]=h)}}},s.prototype.ot=function(){this.B.responseType?this.B.responseType==="text"?(this.Z.responseText=this.B.responseText,this.Z.response=this.B.responseText):this.B.responseType==="document"?(this.Z.responseXML=this.B.responseXML,this.Z.response=this.B.responseXML):this.Z.response=this.B.response:(this.Z.responseText=this.B.responseText,this.Z.responseXML=this.B.responseXML,this.Z.response=this.B.responseText),"responseURL"in this.B&&(this.Z.responseURL=this.B.responseURL)},s.prototype.st=function(e){this.k=e.lengthComputable,this.U=e.loaded,this.C=e.total},s.prototype.lt=function(){this.status=this.Z.status,this.statusText=this.Z.statusText},s.prototype.bt=function(){"responseText"in this.Z&&(this.tt=this.Z.responseText||""),"responseXML"in this.Z&&(this.it=this.Z.responseXML||null),"body"in this.Z&&(this.response=this.Z.body||null),"response"in this.Z&&(this.response=this.Z.response),"responseURL"in this.Z&&(this.responseURL=this.Z.responseURL||"")},s.prototype.et=function(){this.J=!0,this.V=this.UNSENT,this.readyState=this.UNSENT,this.status=0},s.prototype.vt=function(){var e,n,c,l,h=this,g=(e="readystatechange",n=this,c=M("=",11),l={target:n,bubbles:c,path:[n],eventPhase:Event.AT_TARGET},new d(e,l));if(this.V===this.OPENED)this.dispatchEvent(g);else if(this.V===this.HEADERS_RECEIVED)this.lt(),this.dispatchEvent(g);else if(this.V===this.LOADING)this.lt(),this.dispatchEvent(g);else if(this.V===this.DONE){this.lt(),this.bt();var b=!1,v=p.getResponseListeners(),m=0,D=function(){try{if(m>=v.length)return function(){b=!0,h.lt(),h.bt(),h.dispatchEvent(g);var Z=function(){h.J||h.dispatchEvent(C("load",h,!1,h.k,h.U,h.C)),h.dispatchEvent(C("loadend",h,!1,h.k,h.U,h.C))};h.W.async===!1?Z():window.setTimeout(Z,0)}();var E=v[m];if(E.length>=3){var q=h.at(function(){m++,D()});return void E.call(h,h.W,h.Z,q)}E.call(h,h.W,h.Z),m++,D()}catch(Z){console.warn("XMLHttpRequest: Exception in response handler",Z),b||(m++,D())}};D()}},s.prototype.ut=function(e){for(;this.V<e&&this.V<this.DONE;)this.V++,this.readyState=this.V,this.vt()},s.UNSENT=0,s.OPENED=1,s.HEADERS_RECEIVED=2,s.LOADING=3,s.DONE=4,s}(),x=function(){function s(e,n){this.Z=new Response(e,n),this.dt=e,this.nt=n,this.headers=new Headers(n?n.headers:void 0),this.ok=!1,this.redirected=!1,this.status=n&&n.status?n.status:0,this.statusText=n&&n.statusText?n.statusText:"",this.trailer=this.Z.trailer,this.type="basic",this.url="",this.body=this.Z.body,this.bodyUsed=this.Z.bodyUsed}return s.error=function(){return Response.error()},s.redirect=function(e,n){return Response.redirect(e,n)},s.prototype.clone=function(){return new s(this.dt,this.nt)},s.prototype.arrayBuffer=function(){return this.Z.arrayBuffer()},s.prototype.blob=function(){return this.Z.blob()},s.prototype.formData=function(){return this.Z.formData()},s.prototype.json=function(){return this.Z.json()},s.prototype.text=function(){return this.Z.text()},s}(),O=function(){return(O=Object.assign||function(s){for(var e,n=1,c=arguments.length;n<c;n++)for(var l in e=arguments[n])Object.prototype.hasOwnProperty.call(e,l)&&(s[l]=e[l]);return s}).apply(this,arguments)},nt=function(){function s(e,n){this.pt=e,this.nt=n,this.dispatch=this.dispatch.bind(this),this.gt=this.gt.bind(this),this.rt=this.rt.bind(this),this.at=this.at.bind(this),this.W=s.Y(e,n),this.Z=s.$()}return s.prototype.dispatch=function(){var e=this;return new Promise(function(n,c){var l=e.Z,h=!1,g=p.getRequestListeners(),b=0,v=function(){try{if(b>=g.length)return h=!0,void(l===e.Z?p.OriginalFetch(e.W.url,e.W).then(function(E){for(var q={},Z=0,rt=E.headers.keys();Z<rt.length;Z++){var vt=rt[Z],Ot=E.headers.get(vt);Ot&&(q[vt]=Ot)}e.Z={ajaxType:"fetch",status:E.status,statusText:E.statusText,headers:q,ok:E.ok,redirected:E.redirected,type:E.type,url:E.url,body:E.body},e.gt().then(function(Jt){n(Jt)})}):e.gt().then(function(E){n(E)}));var m=g[b];if(m.length>=2){var D=e.rt(function(){b++,v()});return void m.call({},e.W,D)}m.call({},e.W),b++,v()}catch(E){console.warn("XMLHttpRequest: Exception in request handler",E),h||(b++,v())}};v()})},s.prototype.gt=function(){var e=this;return new Promise(function(n){var c=!1,l=p.getResponseListeners(),h=0,g=function(){try{if(h>=l.length)return function(){c=!0;var m=new x(e.Z.body,e.Z);m.url=e.Z.url,m.type=e.Z.type,m.redirected=e.Z.redirected,m.ok=e.Z.ok,n(m)}();var b=l[h];if(b.length>=3){var v=e.at(function(){h++,g()});return void b.call({},e.W,e.Z,v)}b.call({},e.W,e.Z),h++,g()}catch(m){console.warn("XMLHttpRequest: Exception in request handler",m),c||(h++,g())}};g()})},s.Y=function(e,n){if(typeof e=="string"){var c=O(O({},n||{}),{ajaxType:"fetch",headers:{},url:e});if(n&&n.headers)for(var l=n.headers instanceof Headers?n.headers:new Headers(n.headers),h=Array.from(l.entries()),g=0;g<h.length;g++){var b=(v=h[g])[0];(m=v[1])&&(c.headers[b]=m)}return c}if(l=e.headers||(n&&n.headers?n.headers:null),c=O(O({},n||{}),{ajaxType:"fetch",method:e.method,url:e.url,timeout:0,headers:{},body:e.body,cache:e.cache,credentials:e.credentials,integrity:e.integrity,keepalive:e.keepalive,mode:e.mode,redirect:e.redirect,referrer:e.referrer,referrerPolicy:e.referrerPolicy,signal:e.signal}),l)for(h=Array.from(l.entries()),g=0;g<h.length;g++){var v,m;b=(v=h[g])[0],(m=v[1])&&(c.headers[b]=m)}return c},s.$=function(){return{ajaxType:"fetch",status:0,statusText:"",headers:{},ok:!0,redirected:!1,type:"basic",url:"",body:null}},s.prototype.rt=function(e){var n=this,c=function(l){l&&typeof l=="object"&&(n.Z=O(O({},n.Z),l)),e()};return c.moveToHeaderReceived=function(){},c.moveToLoading=function(){},c},s.prototype.at=function(e){var n=this;return function(c){c&&typeof c=="object"&&(n.Z=O(O({},n.Z),c)),e()}},s}();p.setXMLHttpRequest(B),p.setFetch(function(s,e){return new nt(s,e).dispatch()}),p.enable(),o.default=p}]).default})});var $t=ie(Ht());function se(t,o){return Math.floor(Math.random()*(o-t+1))+t}function I(t){return t[se(0,t.length-1)]}function ae(t){let r=/(https?):\/\/[-A-Z0-9+&@#/%?=~_|!:,.;]*[-A-Z0-9+&@#/%=~_|]/i.exec(t);return r==null?void 0:r[0]}var P=(t,o)=>t.some(r=>o.includes(r)),xt=()=>location.host.replace(/^www\./,""),Ct=t=>j(void 0,null,function*(){let o=new TextEncoder().encode(t),r=yield crypto.subtle.digest("SHA-1",o);return Array.from(new Uint8Array(r)).map(u=>u.toString(16).padStart(2,"0")).join("")});function ht(t){try{return JSON.parse(t)}catch(o){return t}}function _(t){try{return new URL(t)}catch(o){return}}function Dt(t){return t!=null}function ce(t,o,r){return o===0||t!==r[o-1]}function le(t){return t.replace(/(?::[0-9]+){0,2}$/,"")}function it(t){let r=(typeof t=="string"?new URL(t,document.baseURI):t).host.replace(/^www\./,""),a=new URL(U.url).host.replace(/^www\./,""),p=new URL(document.baseURI).host.replace(/^www\./,""),d=new URL("https://privacy-edge-api-dot-dev-test-project-328709.uc.r.appspot.com/api/v1").host.replace(/^www\./,"");return r===p||r===a||r===d}function X(t){return Error.stackTraceLimit=100,(t!=null?t:new Error().stack).split(`
`).map(ae).filter(Dt).map(le).filter(ce)}function It(t){return t.trim().split(",").map(o=>{let[r]=o.split(/\s+/);return _(r)}).filter(Dt)}function Ut(t){let r=new URL(document.baseURI).host.replace(/^www\./,"");return(typeof t=="string"?new URL(t,document.baseURI):t).host.replace(/^www\./,"")!==r}var ue={TRACKER:"tracker",MALWARE:"malware",SESSION_REPLAY:"sessionReplay"};function st(t,o,r){let i=ue[r],a=t[i].allow,u=t[i].combat;return t[i].enabled===!1||P(a,o)?!1:P(u,o)?!0:t[i].default}var Nt={status:400,statusText:"blocked"},pt=t=>H(k({},Nt),{headers:t.headers,ajaxType:"fetch",ok:!1,redirected:!1,type:"basic",body:JSON.stringify({success:!1}),url:t.url}),dt=t=>H(k({},Nt),{headers:t.headers,ajaxType:"xhr",response:{success:!1},responseType:"json",responseText:JSON.stringify({success:!1})});function he(t){return t instanceof FormData?{type:"FORM_DATA",data:JSON.stringify(Array.from(t.entries())),revive:o=>new FormData(JSON.parse(o))}:t instanceof URLSearchParams?{type:"SEARCH_PARAMS",data:JSON.stringify(Array.from(t.entries())),revive:o=>new URLSearchParams(JSON.parse(o))}:typeof t=="string"?{type:typeof ht(t)!="string"?"JSON":"PLAIN_TEXT",data:t,revive:typeof ht(t)=="string"?r=>JSON.parse(r):r=>r}:null}function pe(t){return Array.isArray(t)?{data:JSON.stringify(t),revive:o=>JSON.parse(o)}:t instanceof Headers?{data:JSON.stringify(t.entries()),revive:o=>new Headers(JSON.parse(o))}:{data:JSON.stringify(t),revive:o=>JSON.parse(o)}}function de(t){return{data:new URL(t,document.baseURI).searchParams.toString(),revive:r=>{let i=new URL(t,document.baseURI),a=new URLSearchParams(r);return i.search=a.toString(),i.toString()}}}var Bt=(t,o)=>j(void 0,null,function*(){var C,L,B;let r=U.getInstance(),i=r.getConfig();if(it(t.url)||P(i.trust,t.url))return o();r.logger.group("Request",`new Request attempt for: ${t.url}`);let a=X(),u=_(a[a.length-1]);if(P(i.block,t.url)){r.sendTelemetry({kind:"REQUEST_BLOCKING",url:location.toString(),domain:new URL(t.url).host,meta:{callStack:a,script:(C=u==null?void 0:u.toString())!=null?C:"",url:t.url,source:t.ajaxType}}),r.logger.logBlock("Request"),r.logger.groupEnd();let x=t.ajaxType==="fetch"?pt(t):dt(t);return o(x)}r.logger.logAllowed("Request"),r.logger.groupEnd();let p=yield r.checkRequestUrl({url:t.url});r.logger.group("CheckRequest",`checking request against known Malware, Trackers, SessionReplay domains for: ${t.url}`);let f=(L=p==null?void 0:p.violations)!=null?L:[];if(f.length>0){r.logger.log("CheckRequest",`Detected violations: ${f.join(", ")}`);let x=f.filter(O=>st(i,t.url,O));if(r.logger.log("CheckRequest",`Detected protections to combat (according to config): ${x.join(", ")}`),f.forEach(O=>{var nt;r.sendTelemetry({kind:O,url:location.toString(),domain:new URL(t.url).host,meta:{callStack:a,script:(nt=u==null?void 0:u.toString())!=null?nt:"",url:t.url,source:t.ajaxType,handling:x.includes(O)?"COMBATTED":"ALLOWED"}})}),x.length>0){r.logger.logBlock("CheckRequest"),r.logger.groupEnd();let O=t.ajaxType==="fetch"?pt(t):dt(t);return o(O)}}if(r.logger.logAllowed("CheckRequest"),r.logger.groupEnd(),i.pii.enabled===!1)return o();let d=pe(t.headers),y=he(t.body),S=de(t.url),R=yield r.checkForPii({headers:d.data,query:S.data,body:y==null?void 0:y.data});if(r.logger.group("Pii",`Check Pii for: ${t.url}`),R===void 0||R.findings.length===0)return r.logger.logAllowed("Pii"),r.logger.groupEnd(),o();let w=P(i.pii.allow,t.url)?!1:P(i.pii.allow,t.url)?!0:i.pii.default;if(r.sendTelemetry({kind:"PII",url:location.toString(),domain:new URL(t.url).host,meta:{callStack:a,script:(B=u==null?void 0:u.toString())!=null?B:"",source:t.ajaxType,handling:w?"COMBATTED":"ALLOWED",findings:R.findings.map(x=>({type:x.type,likelihood:x.likelihood,location:x.location,format:x.location==="BODY"?y.type:"PLAIN_TEXT"}))}}),w?r.logger.logBlock("Pii"):r.logger.logAllowed("Pii"),r.logger.groupEnd(),!w)return o();let M=t.ajaxType==="fetch"?pt(t):dt(t);return o(M)});var fe=25,ge=55,me=40,Gt=[fe,ge,me],ye=40,be=132,we=24,Wt=[ye,be,we],Ee=Gt.concat(Wt),at={desktop:[{width:1920,height:1080},{width:1366,height:768},{width:1536,height:864},{width:1440,height:900}],tablet:[{width:768,height:1024},{width:1280,height:800},{width:800,height:1280},{width:601,height:962}],mobile:[{width:360,height:640},{width:414,height:896},{width:414,height:896},{width:375,height:667}]},Te=at.desktop.concat(at.tablet,at.mobile);function jt(t){if(t===void 0){let i=I(Te),a=I(Ee);return H(k({},i),{availHeight:i.height-a,availWidth:i.width})}let o=I(at[t]),r=I(t==="desktop"?Gt:Wt);return H(k({},o),{availHeight:o.height-r,availWidth:o.width})}function Zt(){return{width:!1,height:!1,availHeight:!1,availWidth:!1}}function Se(){let t=Zt(),o;return(r,i)=>(o===void 0&&(o=jt(i)),t[r]===!1?(t[r]=!0,o[r]):(o=jt(i),t=Zt(),o[r]))}function ft(t){let o=Se();t.patch(window,"screen","width",()=>o("width")),t.patch(window,"screen","height",()=>o("height")),t.patch(window,"screen","availWidth",()=>o("availWidth")),t.patch(window,"screen","availHeight",()=>o("availHeight"))}var Le=[1,4,8,15,16,24,32,48];function Re(){return I(Le)}function gt(t){t.patch(window,"screen","colorDepth",()=>Re())}function ve(){try{return new Permissions}catch(t){return}}function mt(t){t.patch(window,"navigator","permissions",ve)}function yt(t){t.patch(window,"navigator","plugins",()=>{try{return new PluginArray}catch(o){return}})}var Oe=["iPhone","iPod","iPad","MacIntel","Linux","Linux aarch64","Win32","OpenBSD amd64","Android"];function bt(t){t.patch(window,"navigator","platform",()=>I(Oe))}var ke=["Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.80 Safari/537.36","Mozilla/5.0 (Macintosh; Intel Mac OS X 12_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.80 Safari/537.36","Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.80 Safari/537.36","Mozilla/5.0 (Linux; Android 10) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.87 Mobile Safari/537.36","Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:96.0) Gecko/20100101 Firefox/96.0","Mozilla/5.0 (Macintosh; Intel Mac OS X 12.2; rv:96.0) Gecko/20100101 Firefox/96.0","Mozilla/5.0 (X11; Linux i686; rv:96.0) Gecko/20100101 Firefox/96.0","Mozilla/5.0 (Macintosh; Intel Mac OS X 12_2) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.2 Safari/605.1.15","Mozilla/5.0 (iPhone; CPU iPhone OS 15_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.2 Mobile/15E148 Safari/604.1","Mozilla/5.0 (iPad; CPU OS 15_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.2 Mobile/15E148 Safari/604.1"];function wt(t){t.patch(window,"navigator","userAgent",()=>I(ke))}var Pe=["1","unspecified",void 0,null];function Et(t){t.patch(window,"navigator","doNotTrack",()=>I(Pe))}function Tt(t){t.patch(window,"navigator","connection",()=>{})}var ct=(t,o)=>{let r=t.href,i=new URL(r,document.baseURI).host.replace(/^www\./,"");if(Ut(r)&&!o.includes(i)){let a=t.rel.trim().split(/\s+/);a.push("noopener","noreferrer"),a=Array.from(new Set(a)),t.rel=a.join(" ")}},_t=t=>{let r=U.getInstance().getConfig();t.forEach(i=>{switch(i.type){case"attributes":{r.preventReferrer.enabled&&i.target.nodeName==="A"&&i.attributeName==="href"&&ct(i.target,r.trust);break}case"childList":i.addedNodes.forEach(a=>{a.nodeType===1&&a.nodeName==="A"&&r.preventReferrer.enabled&&ct(a,r.trust)});break}})},Ae=(t,o)=>j(void 0,null,function*(){var r;try{let i=U.getInstance(),a=i.getConfig(),u=t.searchParams.toString();if(!u)return!1;let p=yield i.checkForPii({query:u});if(i.logger.group("Pii"),i.logger.log("Pii",`Check Pii for: ${t.toString()}`),p===void 0||p.findings.length===0)return i.logger.log("Pii","No Pii found."),i.logger.groupEnd(),!1;let f=X(),d=_(f[f.length-1]),y=P(a.pii.combat,t.toString())||a.pii.enabled&&!P(a.pii.allow,t.toString());return i.sendTelemetry({kind:"PII",url:location.toString(),domain:t.host,meta:{callStack:f,script:(r=d==null?void 0:d.toString())!=null?r:"",source:o,handling:y?"COMBATTED":"ALLOWED",findings:p.findings.map(S=>({type:S.type,likelihood:S.likelihood,location:S.location,format:"PLAIN_TEXT"}))}}),y?i.logger.logBlock("Pii"):i.logger.logAllowed("Pii"),i.logger.groupEnd(),y}catch(i){return console.error(i),!1}}),Me=(t,o)=>j(void 0,null,function*(){var r;if(!t.toString().startsWith("data:"))try{let i=U.getInstance(),a=i.getConfig(),u=X(),p=_(u[u.length-1]);if(P(a.trust,t.toString()))return!1;let f=yield i.checkRequestUrl({url:t.toString()});i.logger.group("CheckRequest",`checking request against known Malware, Trackers, SessionReplay domains for: ${t}`);let d=(r=f==null?void 0:f.violations)!=null?r:[];if(d.length===0)return i.logger.logAllowed("CheckRequest"),i.logger.groupEnd(),!1;i.logger.log("CheckRequest",`Detected violations: ${d.join(", ")}`);let y=d.filter(S=>st(a,t.toString(),S));return i.logger.log("CheckRequest",`Detected protections to combat (according to config): ${y.join(", ")}`),d.forEach(S=>{var R;i.sendTelemetry({kind:S,url:location.toString(),domain:t.host,meta:{callStack:u,script:(R=p==null?void 0:p.toString())!=null?R:"",url:t.toString(),source:o,handling:y.includes(S)?"COMBATTED":"ALLOWED"}})}),y.length>0?(i.logger.logBlock("CheckRequest"),i.logger.groupEnd(),!0):!1}catch(i){return console.error(i),!1}}),Q=(t,o,r)=>j(void 0,null,function*(){var R;let i=U.getInstance(),a=i.getConfig(),p=(r==="srcset"?It(o):[new URL(o,document.baseURI)]).filter(w=>!it(w));if(p.length===0)return!0;i.logger.group("DOM",`new Mutation (${t}) attempt`),i.logger.log("DOM",`source: ${o}`);let f=p.find(w=>P(a.block,w.toString()));if(f){let w=X(),M=_(w[w.length-1]);return i.sendTelemetry({kind:"REQUEST_BLOCKING",url:location.toString(),domain:f.host,meta:{callStack:w,script:(R=M==null?void 0:M.toString())!=null?R:"",url:f.toString(),source:`${t}_${r}`}}),i.logger.logBlock("DOM"),i.logger.groupEnd(),!1}let d=yield Promise.all(p.map(w=>Me(w,`${t}_${r}`))),S=!(yield Promise.all(p.map(w=>Ae(w,`${t}_${r}`)))).includes(!0)&&!d.includes(!0);return S?i.logger.logAllowed("DOM"):i.logger.logBlock("DOM"),i.logger.groupEnd(),S}),A=(t,o)=>{let r=o.reduce((a,u)=>H(k({},a),{[u]:Object.getOwnPropertyDescriptor(window[t].prototype,u)}),{});o.forEach(a=>{Object.defineProperties(window[t].prototype,{[a]:H(k({},r[a]),{set(u){Q(t,u,a).then(p=>{var f,d;p&&((d=(f=r[a])==null?void 0:f.set)==null||d.call(this,u))})}})})});let i=window[t].prototype.setAttribute;window[t].prototype.setAttribute=function(a,u){o.includes(a)?this[a]=u:i.call(this,a,u)}};var Ft=t=>{let o={src:Object.getOwnPropertyDescriptor(HTMLScriptElement.prototype,"src"),type:Object.getOwnPropertyDescriptor(HTMLScriptElement.prototype,"type")},r="javascript/blocked",i=t.getConfig();Object.defineProperties(HTMLScriptElement.prototype,{src:H(k({},o.src),{set(u){Q("HTMLScriptElement",u,"src").then(p=>{var f,d,y,S;p?(d=(f=o.src)==null?void 0:f.set)==null||d.call(this,u):(S=(y=o.type)==null?void 0:y.set)==null||S.call(this,r)})}}),type:H(k({},o.type),{get(){var p,f;let u=(f=(p=o.type)==null?void 0:p.get)==null?void 0:f.call(this);return u===r||P(i.block,this.src)?null:u},set(u){var f,d;let p=P(i.block,this.src)?r:u;(d=(f=o.type)==null?void 0:f.set)==null||d.call(this,p)}})});let a=HTMLScriptElement.prototype.setAttribute;HTMLScriptElement.prototype.setAttribute=function(u,p){u==="type"||u==="src"?this[u]=p:a.call(this,u,p)}};var qt=()=>{let t=Audio;class o extends Audio{constructor(i){super();let a=new t;return i&&(a.src=i),a}}Audio=o};var St=t=>{let o={src:Object.getOwnPropertyDescriptor(HTMLMediaElement.prototype,"src")};Object.defineProperties(window.HTMLMediaElement.prototype,{src:H(k({},o.src),{set(i){var a,u;this instanceof window[t]?Q(t,i,"src").then(p=>{var f,d;p&&((d=(f=o.src)==null?void 0:f.set)==null||d.call(this,i))}):(u=(a=o.src)==null?void 0:a.set)==null||u.call(this,i)}})});let r=window[t].prototype.setAttribute;window[t].prototype.setAttribute=function(i,a){i==="src"?this.src=a:r.call(this,i,a)}};var He=["FP","Pii","Request","CheckRequest","DOM"],N=null,Xt,Vt,xe=(Vt=(Xt=document.currentScript)==null?void 0:Xt.src)!=null?Vt:"",Lt={authenticate:!0,mockConfig:!1,sendTelemetry:!0,logging:!0,interceptRequests:!0,interceptDom:!0},V,$,J,F,tt,K,z,Y,et,Rt=class{constructor(o,r,i,a,u){G(this,V,void 0);G(this,$,void 0);G(this,J,void 0);G(this,F,void 0);G(this,tt,void 0);G(this,K,void 0);G(this,z,void 0);G(this,Y,void 0);G(this,et,navigator.sendBeacon!==void 0?navigator.sendBeacon.bind(navigator):void 0);let p=sessionStorage.getItem("pe_sessionId");W(this,V,o),W(this,$,r),W(this,J,i),W(this,F,a),W(this,tt,JSON.parse(JSON.stringify(a))),W(this,K,u),this.logger=this.initLogger(),W(this,z,new Date().toISOString()),W(this,Y,p!=null?p:crypto.randomUUID()),sessionStorage.setItem("pe_sessionId",T(this,Y)),addEventListener("popstate",()=>{W(this,z,new Date().toISOString())})}static init(u,p){return j(this,arguments,function*(o,r,i={},a={}){if(N!==null)throw new Error("Guardian has already been initialized. Call Guardian.getInstance() instead.");let f=fetch.bind(window),d={trust:[],block:[],pii:{enabled:!0,default:!0,combat:[],allow:[]},fingerprinting:{enabled:!0,default:!0,combat:[],allow:[]},preventReferrer:{enabled:!0},protect:{from:["TRACKER","MALWARE","SESSION_REPLAY"]},tracker:{enabled:!0,default:!0,combat:[],allow:[]},sessionReplay:{enabled:!0,default:!0,combat:[],allow:[]},malware:{enabled:!0,default:!0,combat:[],allow:[]}},y=yield Ct(xt());d=k(k({},d),i),N=new Rt(f,y,r,d,Lt),d.fingerprinting.enabled&&(gt(N),mt(N),yt(N),ft(N),bt(N),wt(N),Et(N),Tt(N)),Lt.interceptRequests&&$t.default.onRequest(Bt),Lt.interceptDom&&(qt(),Ft(N),St("HTMLVideoElement"),St("HTMLAudioElement"),A("HTMLEmbedElement",["src"]),A("HTMLIFrameElement",["src","longDesc"]),A("HTMLImageElement",["src","longDesc","useMap","srcset"]),A("HTMLInputElement",["src","useMap","formAction"]),A("HTMLSourceElement",["src","srcset"]),A("HTMLTrackElement",["src"]),A("HTMLAnchorElement",["href"]),A("HTMLAreaElement",["href"]),A("HTMLBaseElement",["href"]),A("HTMLQuoteElement",["cite"]),A("HTMLBodyElement",["background"]),A("HTMLModElement",["cite"]),A("HTMLFormElement",["action"]),A("HTMLHeadElement",["profile"]),A("HTMLLinkElement",["href"]),A("HTMLObjectElement",["codeBase","data","useMap"]),A("HTMLButtonElement",["formAction"])),new MutationObserver(_t).observe(document.documentElement,{childList:!0,subtree:!0,attributeFilter:["href"]}),d.preventReferrer.enabled&&document.querySelectorAll("a").forEach(S=>ct(S,d.trust))})}static getInstance(){if(N===null)throw new Error("Guardian has not been initialized. Call Guardian.init() first.");return N}static get url(){return xe}getConfig(){return T(this,tt)}initLogger(){let{logging:o}=T(this,K),r="[PrivacyEdge]";function i(...a){!o||(He.includes(a[0])?console.log(`${r}[${a[0]}]`,...a.slice(1)):console.log(r,...a))}return{log:i,group(a,...u){o&&console.group(`${r}[${a}] \u{1F50D}`,...u)},groupEnd(){o&&console.groupEnd()},logBlock(a){o&&i(a,"\u{1F6D1} Blocked!")},logAllowed(a){o&&i(a,"\u2705 Allowed!")}}}checkForPii(o){return j(this,null,function*(){try{let r="/guardian/pii";return(yield T(this,V).call(this,`https://privacy-edge-api-dot-dev-test-project-328709.uc.r.appspot.com/api/v1${r}`,{method:"POST",headers:{"Content-type":"application/json"},body:JSON.stringify({token:T(this,J),originHash:T(this,$),data:o})})).json()}catch(r){console.error(r)}})}checkRequestUrl(o){return j(this,null,function*(){try{let r="/guardian/check-request";return(yield T(this,V).call(this,`https://privacy-edge-api-dot-dev-test-project-328709.uc.r.appspot.com/api/v1${r}`,{method:"POST",headers:{"Content-type":"application/json"},body:JSON.stringify({token:T(this,J),originHash:T(this,$),data:o})})).json()}catch(r){console.error(r)}})}sendTelemetry(o){let r="/guardian/log";if(!T(this,K).sendTelemetry)return;let i=H(k({},o),{token:T(this,J),originHash:T(this,$),sessionId:T(this,Y),initTimestamp:T(this,z)});if(T(this,et)!==void 0){T(this,et).call(this,`https://privacy-edge-api-dot-dev-test-project-328709.uc.r.appspot.com/api/v1${r}`,JSON.stringify(i));return}T(this,V).call(this,`https://privacy-edge-api-dot-dev-test-project-328709.uc.r.appspot.com/api/v1${r}`,{method:"POST",headers:{"Content-Type":"plain/text"},body:JSON.stringify(i)}).catch(a=>console.error(a))}patch(o,r,i,a){var u,p;try{let f=o[r],d=`${r}.${i}`,y={get:(w,M)=>{let C=w[M];if(M!==i)return C;let L=X(),B=_(L[L.length-1]);if(B===void 0)return C;let x=B.origin;if(this.logger.group("FP",`Detected attempt to access ${d} from ${B}`),this.logger.log("FP",`Callstack
>${L.join(`
>`)}`),P([...T(this,F).block,...T(this,F).fingerprinting.combat],x)||T(this,F).fingerprinting.default&&!P([...T(this,F).trust,...T(this,F).fingerprinting.allow],x)){let O=a(C);return this.sendTelemetry({url:location.toString(),kind:"FINGERPRINTING",domain:B.host,meta:{snapshotStart:new Date().toISOString(),snapshotEnd:new Date().toISOString(),calls:[{path:d,script:B.toString(),callStack:L,handling:"COMBATTED",amount:1}]}}),this.logger.logBlock("FP"),this.logger.groupEnd(),O}return this.sendTelemetry({url:location.toString(),kind:"FINGERPRINTING",domain:B.host,meta:{snapshotStart:new Date().toISOString(),snapshotEnd:new Date().toISOString(),calls:[{path:d,script:B.toString(),callStack:L,handling:"ALLOWED",amount:1}]}}),this.logger.logAllowed("FP"),this.logger.groupEnd(),C}},S=new Proxy(f,y),R=Object.getOwnPropertyDescriptor(f,i);Object.defineProperty(o,r,{enumerable:(u=R==null?void 0:R.enumerable)!=null?u:!1,writable:(p=R==null?void 0:R.writable)!=null?p:!1,value:S}),this.logger.log(`\u{1F6E1} Protecting ${r}.${i} from fingerprinting`)}catch(f){console.error(f)}}},U=Rt;V=new WeakMap,$=new WeakMap,J=new WeakMap,F=new WeakMap,tt=new WeakMap,K=new WeakMap,z=new WeakMap,Y=new WeakMap,et=new WeakMap;window.guardian=U.init;})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment