"use strict";(()=>{(function(){let i=Object.defineProperty,C=Object.defineProperties,p=Object.getOwnPropertyDescriptor,x=Reflect.defineProperty,E=Reflect.getOwnPropertyDescriptor,I=Function.prototype.toString,H=Performance.prototype.getEntries,X=Performance.prototype.getEntriesByType,q=Performance.prototype.getEntriesByName,d=window.PerformanceObserver,s=window,k=Function.prototype,P=Navigator.prototype,f=console,B=EventTarget.prototype;function u(r,e){return`${r===s?0:r===k?1:r===P?2:r===f?3:r===B?4:-1}:${String(e)}`}let y=new Set;for(let r of["fetch","XMLHttpRequest","WebSocket","Worker","SharedWorker","postMessage","addEventListener"])y.add(u(s,r));y.add(u(k,"toString")),y.add(u(P,"sendBeacon")),y.add(u(B,"addEventListener"));let v=new Set;for(let r of["log","warn","error"])v.add(u(f,r));let z=f.log,$=f.warn,A=f.error;i.call(Object,f,"log",{get(){return z},set(){},configurable:!1}),i.call(Object,f,"warn",{get(){return $},set(){},configurable:!1}),i.call(Object,f,"error",{get(){return A},set(){},configurable:!1});let g=new Map;function j(r,e,t){return!y.has(u(r,e))||!t?!1:t.writable===!1||t.configurable===!1}i(Object,"defineProperty",{value:function(e,t,n){return v.has(u(e,t))?e:j(e,t,n)?(g.set(u(e,t),{...n}),e):i.call(Object,e,t,n)},writable:!0,configurable:!0}),i(Object,"defineProperties",{value:function(e,t){let n={};for(let o of Object.keys(t)){let c=t[o];if(!v.has(u(e,o))){if(j(e,o,c)){g.set(u(e,o),{...c});continue}n[o]=c}}return Object.keys(n).length>0?C.call(Object,e,n):e},writable:!0,configurable:!0}),i(Reflect,"defineProperty",{value:function(e,t,n){return v.has(u(e,t))?!0:j(e,t,n)?(g.set(u(e,t),{...n}),!0):x.call(Reflect,e,t,n)},writable:!0,configurable:!0}),i(Object,"getOwnPropertyDescriptor",{value:function(e,t){let n=u(e,t),o=g.get(n);if(o){let c=p.call(Object,e,t);return{...o,value:c?.value??o.value}}if((t==="name"||t==="length")&&typeof e=="function"&&a.has(e)){let c=p.call(Object,e,t);if(c)return{...c,configurable:!1}}return p.call(Object,e,t)},writable:!0,configurable:!0}),i(Reflect,"getOwnPropertyDescriptor",{value:function(e,t){let n=u(e,t),o=g.get(n);if(o){let c=E.call(Reflect,e,t);return{...o,value:c?.value??o.value}}if((t==="name"||t==="length")&&typeof e=="function"&&a.has(e)){let c=E.call(Reflect,e,t);if(c)return{...c,configurable:!1}}return E.call(Reflect,e,t)},writable:!0,configurable:!0});let G=Event.prototype.stopImmediatePropagation,F=function(){if(!(this instanceof MessageEvent||this instanceof CustomEvent))return G.call(this)};i(Event.prototype,"stopImmediatePropagation",{value:F,writable:!0,configurable:!0});let m="chrome-extension://";function h(r){return r.filter(e=>e.entryType!=="resource"||!e.name?.startsWith(m))}i(Performance.prototype,"getEntries",{value:function(){return h(H.call(this))},writable:!0,configurable:!0}),i(Performance.prototype,"getEntriesByType",{value:function(e){return h(X.call(this,e))},writable:!0,configurable:!0}),i(Performance.prototype,"getEntriesByName",{value:function(e,t){return e.startsWith(m)?[]:h(q.call(this,e,t))},writable:!0,configurable:!0});let O=function(e){let t=(n,o)=>{try{let c=h(n.getEntries());if(c.length===0)return;e({getEntries:()=>c,getEntriesByType:T=>c.filter(w=>w.entryType===T),getEntriesByName:(T,w)=>{let D=c.filter(W=>W.name===T);return w&&(D=D.filter(W=>W.entryType===w)),D},toJSON:()=>c},o)}catch{e(n,o)}};return new d(t)};i(O,"prototype",{value:d.prototype,writable:!1,configurable:!1}),d.supportedEntryTypes&&i(O,"supportedEntryTypes",{get:()=>d.supportedEntryTypes,configurable:!0}),i(s,"PerformanceObserver",{value:O,writable:!0,configurable:!0});let l=s.Error,R=l.prepareStackTrace;function L(r,e){let t=e.filter(function(n){let o=typeof n.getFileName=="function"?n.getFileName():null;return!o||!o.startsWith(m)});return R?R(r,t):r.toString()+`
`+t.map(function(n){return"    at "+n.toString()}).join(`
`)}i.call(Object,l,"prepareStackTrace",{get(){return L},set(){},configurable:!0});let b=new Proxy(l,{construct(r,e,t){let n=Reflect.construct(r,e,t);try{let o=p.call(Object,n,"stack");if(o&&typeof o.value=="string"){let c=o.value.split(`
`).filter(M=>!M.includes(m)).join(`
`);i.call(Object,n,"stack",{value:c,writable:!0,configurable:!0})}}catch{}return n},apply(r,e,t){return Reflect.construct(l,t)}});i.call(Object,b,"prototype",{value:l.prototype,writable:!1,configurable:!1}),i.call(Object,l.prototype,"constructor",{value:b,writable:!0,configurable:!0});for(let r of Object.getOwnPropertyNames(l))if(r!=="prototype"&&r!=="length"&&r!=="name"&&r!=="prepareStackTrace"){let e=p.call(Object,l,r);if(e)try{i.call(Object,b,r,e)}catch{}}s.Error=b;let S="__fs_sm__";s[S]||(s[S]=new Map);let a=s[S];a.set(Object.defineProperty,"function defineProperty() { [native code] }"),a.set(Object.defineProperties,"function defineProperties() { [native code] }"),a.set(Reflect.defineProperty,"function defineProperty() { [native code] }"),a.set(Object.getOwnPropertyDescriptor,"function getOwnPropertyDescriptor() { [native code] }"),a.set(Reflect.getOwnPropertyDescriptor,"function getOwnPropertyDescriptor() { [native code] }"),a.set(Performance.prototype.getEntries,"function getEntries() { [native code] }"),a.set(Performance.prototype.getEntriesByType,"function getEntriesByType() { [native code] }"),a.set(Performance.prototype.getEntriesByName,"function getEntriesByName() { [native code] }"),a.set(O,"function PerformanceObserver() { [native code] }"),a.set(F,"function stopImmediatePropagation() { [native code] }"),a.set(b,"function Error() { [native code] }"),a.set(L,"function prepareStackTrace() { [native code] }");let J=s.fetch,K=s.XMLHttpRequest,Q=s.WebSocket,U=P.sendBeacon,V=s.Worker,N=s.SharedWorker,_=function(){let e=a.get(this);return e||(this===_?"function toString() { [native code] }":this===s.fetch&&this!==J?"function fetch() { [native code] }":this===s.XMLHttpRequest&&this!==K?"function XMLHttpRequest() { [native code] }":this===s.WebSocket&&this!==Q?"function WebSocket() { [native code] }":this===P.sendBeacon&&this!==U?"function sendBeacon() { [native code] }":this===s.Worker&&this!==V?"function Worker() { [native code] }":typeof N<"u"&&this===s.SharedWorker&&this!==N?"function SharedWorker() { [native code] }":I.call(this))};i(k,"toString",{value:_,writable:!0,configurable:!0}),a.set(_,"function toString() { [native code] }")})();})();
