MCPcopy
hub / github.com/irbis-sh/zen-desktop / t

Function t

internal/asset/scriptlet/bundle.js:1–1  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1var scriptlet=function(){"use strict";var e,t,r="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n={};function o(){if(t)return e;t=1;var n=function(e){return e&&e.Math===Math&&e};return e=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r&&r)||n("object"==typeof e&&e)||function(){return this}()||Function("return this")()}var i,u,a,c,f,s,l,p,d={};function v(){return u?i:(u=1,i=function(e){try{return!!e()}catch(e){return!0}})}function y(){if(c)return a;c=1;var e=v();return a=!e(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})}function h(){if(s)return f;s=1;var e=v();return f=!e(function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})}function g(){if(p)return l;p=1;var e=h(),t=Function.prototype.call;return l=e?t.bind(t):function(){return t.apply(t,arguments)},l}var w,b,m,S,O,E,x,R,P,j,k,T,I,A,L,D,N,$,M,C,H,F,B,q,z,U,X,J,G,W,_,V,K,Y,Z,Q,ee,te,re,ne,oe,ie={};function ue(){return m?b:(m=1,b=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}})}function ae(){if(O)return S;O=1;var e=h(),t=Function.prototype,r=t.call,n=e&&t.bind.bind(r,r);return S=e?n:function(e){return function(){return r.apply(e,arguments)}},S}function ce(){if(x)return E;x=1;var e=ae(),t=e({}.toString),r=e("".slice);return E=function(e){return r(t(e),8,-1)}}function fe(){return k?j:(k=1,j=function(e){return null==e})}function se(){if(I)return T;I=1;var e=fe(),t=TypeError;return T=function(r){if(e(r))throw new t("Can't call method on "+r);return r}}function le(){if(L)return A;L=1;var e=function(){if(P)return R;P=1;var e=ae(),t=v(),r=ce(),n=Object,o=e("".split);return R=t(function(){return!n("z").propertyIsEnumerable(0)})?function(e){return"String"===r(e)?o(e,""):n(e)}:n}(),t=se();return A=function(r){return e(t(r))}}function pe(){if(N)return D;N=1;var e="object"==typeof document&&document.all;return D=void 0===e&&void 0!==e?function(t){return"function"==typeof t||t===e}:function(e){return"function"==typeof e}}function de(){if(M)return $;M=1;var e=pe();return $=function(t){return"object"==typeof t?null!==t:e(t)}}function ve(){if(H)return C;H=1;var e=o(),t=pe();return C=function(r,n){return arguments.length<2?(o=e[r],t(o)?o:void 0):e[r]&&e[r][n];var o},C}function ye(){if(B)return F;B=1;var e=ae();return F=e({}.isPrototypeOf)}function he(){if(z)return q;z=1;var e=o().navigator,t=e&&e.userAgent;return q=t?String(t):""}function ge(){if(X)return U;X=1;var e,t,r=o(),n=he(),i=r.process,u=r.Deno,a=i&&i.versions||u&&u.version,c=a&&a.v8;return c&&(t=(e=c.split("."))[0]>0&&e[0]<4?1:+(e[0]+e[1])),!t&&n&&(!(e=n.match(/Edge\/(\d+)/))||e[1]>=74)&&(e=n.match(/Chrome\/(\d+)/))&&(t=+e[1]),U=t}function we(){if(G)return J;G=1;var e=ge(),t=v(),r=o().String;return J=!!Object.getOwnPropertySymbols&&!t(function(){var t=Symbol("symbol detection");return!r(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&e&&e<41})}function be(){if(_)return W;_=1;var e=we();return W=e&&!Symbol.sham&&"symbol"==typeof Symbol.iterator}function me(){if(K)return V;K=1;var e=ve(),t=pe(),r=ye(),n=be(),o=Object;return V=n?function(e){return"symbol"==typeof e}:function(n){var i=e("Symbol");return t(i)&&r(i.prototype,o(n))}}function Se(){if(Z)return Y;Z=1;var e=String;return Y=function(t){try{return e(t)}catch(e){return"Object"}}}function Oe(){if(ee)return Q;ee=1;var e=pe(),t=Se(),r=TypeError;return Q=function(n){if(e(n))return n;throw new r(t(n)+" is not a function")}}function Ee(){if(re)return te;re=1;var e=Oe(),t=fe();return te=function(r,n){var o=r[n];return t(o)?void 0:e(o)}}function xe(){if(oe)return ne;oe=1;var e=g(),t=pe(),r=de(),n=TypeError;return ne=function(o,i){var u,a;if("string"===i&&t(u=o.toString)&&!r(a=e(u,o)))return a;if(t(u=o.valueOf)&&!r(a=e(u,o)))return a;if("string"!==i&&t(u=o.toString)&&!r(a=e(u,o)))return a;throw new n("Can't convert object to primitive value")}}var Re,Pe,je,ke,Te,Ie,Ae,Le,De,Ne,$e,Me,Ce,He,Fe,Be,qe,ze,Ue,Xe,Je,Ge,We,_e,Ve={exports:{}};function Ke(){return Pe?Re:(Pe=1,Re=!1)}function Ye(){if(ke)return je;ke=1;var e=o(),t=Object.defineProperty;return je=function(r,n){try{t(e,r,{value:n,configurable:!0,writable:!0})}catch(t){e[r]=n}return n}}function Ze(){if(Te)return Ve.exports;Te=1;var e=Ke(),t=o(),r=Ye(),n="__core-js_shared__",i=Ve.exports=t[n]||r(n,{});return(i.versions||(i.versions=[])).push({version:"3.49.0",mode:e?"pure":"global",copyright:"© 2013–2025 Denis Pushkarev (zloirock.ru), 2025–2026 CoreJS Company (core-js.io). All rights reserved.",license:"https://github.com/zloirock/core-js/blob/v3.49.0/LICENSE",source:"https://github.com/zloirock/core-js"}),Ve.exports}function Qe(){if(Ae)return Ie;Ae=1;var e=Ze();return Ie=function(t,r){return e[t]||(e[t]=r||{})}}function et(){if(De)return Le;De=1;var e=se(),t=Object;return Le=function(r){return t(e(r))}}function tt(){if($e)return Ne;$e=1;var e=ae(),t=et(),r=e({}.hasOwnProperty);return Ne=Object.hasOwn||function(e,n){return r(t(e),n)}}function rt(){if(Ce)return Me;Ce=1;var e=ae(),t=0,r=Math.random(),n=e(1.1.toString);return Me=function(e){return"Symbol("+(void 0===e?"":e)+")_"+n(++t+r,36)}}function nt(){if(Fe)return He;Fe=1;var e=o(),t=Qe(),r=tt(),n=rt(),i=we(),u=be(),a=e.Symbol,c=t("wks"),f=u?a.for||a:a&&a.withoutSetter||n;return He=function(e){return r(c,e)||(c[e]=i&&r(a,e)?a[e]:f("Symbol."+e)),c[e]}}function ot(){if(qe)return Be;qe=1;var e=g(),t=de(),r=me(),n=Ee(),o=xe(),i=nt(),u=TypeError,a=i("toPrimitive");return Be=function(i,c){if(!t(i)||r(i))return i;var f,s=n(i,a);if(s){if(void 0===c&&(c="default"),f=e(s,i,c),!t(f)||r(f))return f;throw new u("Can't convert object to primitive value")}return void 0===c&&(c="number"),o(i,c)}}function it(){if(Ue)return ze;Ue=1;var e=ot(),t=me();return ze=function(r){var n=e(r,"string");return t(n)?n:n+""}}function ut(){if(Je)return Xe;Je=1;var e=o(),t=de(),r=e.document,n=t(r)&&t(r.createElement);return Xe=function(e){return n?r.createElement(e):{}}}function at(){if(We)return Ge;We=1;var e=y(),t=v(),r=ut();return Ge=!e&&!t(function(){return 7!==Object.defineProperty(r("div"),"a",{get:function(){return 7}}).a})}function ct(){if(_e)return d;_e=1;var e=y(),t=g(),r=function(){if(w)return ie;w=1;var e={}.propertyIsEnumerable,t=Object.getOwnPropertyDescriptor,r=t&&!e.call({1:2},1);return ie.f=r?function(e){var r=t(this,e);return!!r&&r.enumerable}:e,ie}(),n=ue(),o=le(),i=it(),u=tt(),a=at(),c=Object.getOwnPropertyDescriptor;return d.f=e?c:function(e,f){if(e=o(e),f=i(f),a)try{return c(e,f)}catch(e){}if(u(e,f))return n(!t(r.f,e,f),e[f])},d}var ft,st,lt,pt,dt,vt,yt,ht={};function gt(){if(st)return ft;st=1;var e=y(),t=v();return ft=e&&t(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})}function wt(){if(pt)return lt;pt=1;var e=de(),t=String,r=TypeError;return lt=function(n){if(e(n))return n;throw new r(t(n)+" is not an object")}}function bt(){if(dt)return ht;dt=1;var e=y(),t=at(),r=gt(),n=wt(),o=it(),i=TypeError,u=Object.defineProperty,a=Object.getOwnPropertyDescriptor,c="enumerable",f="configurable",s="writable";return ht.f=e?r?function(e,t,r){if(n(e),t=o(t),n(r),"function"==typeof e&&"prototype"===t&&"value"in r&&s in r&&!r[s]){var i=a(e,t);i&&i[s]&&(e[t]=r.value,r={configurable:f in r?r[f]:i[f],enumerable:c in r?r[c]:i[c],writable:!1})}return u(e,t,r)}:u:function(e,r,a){if(n(e),r=o(r),n(a),t)try{return u(e,r,a)}catch(e){}if("get"in a||"set"in a)throw new i("Accessors not supported");return"value"in a&&(e[r]=a.value),e},ht}function mt(){if(yt)return vt;yt=1;var e=y(),t=bt(),r=ue();return vt=e?function(e,n,o){return t.f(e,n,r(1,o))}:function(e,t,r){return e[t]=r,e}}var St,Ot,Et,xt,Rt,Pt,jt,kt,Tt,It,At,Lt,Dt,Nt,$t,Mt={exports:{}};function Ct(){if(xt)return Et;xt=1;var e=ae(),t=pe(),r=Ze(),n=e(Function.toString);return t(r.inspectSource)||(r.inspectSource=function(e){return n(e)}),Et=r.inspectSource}function Ht(){if(kt)return jt;kt=1;var e=Qe(),t=rt(),r=e("keys");return jt=function(e){return r[e]||(r[e]=t(e))}}function Ft(){return It?Tt:(It=1,Tt={})}function Bt(){if(Lt)return At;Lt=1;var e,t,r,n=function(){if(Pt)return Rt;Pt=1;var e=o(),t=pe(),r=e.WeakMap;return Rt=t(r)&&/native code/.test(String(r))}(),i=o(),u=de(),a=mt(),c=tt(),f=Ze(),s=Ht(),l=Ft(),p="Object already initialized",d=i.TypeError,v=i.WeakMap;if(n||f.state){var y=f.state||(f.state=new v);y.get=y.get,y.has=y.has,y.set=y.set,e=function(e,t){if(y.has(e))throw new d(p);return t.facade=e,y.set(e,t),t},t=function(e){return y.get(e)||{}},r=function(e){return y.has(e)}}else{var h=s("state");l[h]=!0,e=function(e,t){if(c(e,h))throw new d(p);return t.facade=e,a(e,h,t),t},t=function(e){return c(e,h)?e[h]:{}},r=function(e){return c(e,h)}}return At={set:e,get:t,has:r,enforce:function(n){return r(n)?t(n):e(n,{})},getterFor:function(e){return function(r){var n;if(!u(r)||(n=t(r)).type!==e)throw new d("Incompatible receiver, "+e+" required");return n}}}}function qt(){if(Dt)return Mt.exports;Dt=1;var e=ae(),t=v(),r=pe(),n=tt(),o=y(),i=function(){if(Ot)return St;Ot=1;var e=y(),t=tt(),r=Function.prototype,n=e&&Object.getOwnPropertyDescriptor,o=t(r,"name"),i=o&&"something"===function(){}.name,u=o&&(!e||e&&n(r,"name").configurable);return St={EXISTS:o,PROPER:i,CONFIGURABLE:u}}().CONFIGURABLE,u=Ct(),a=Bt(),c=a.enforce,f=a.get,s=String,l=Object.defineProperty,p=e("".slice),d=e("".replace),h=e([].join),g=o&&!t(function(){return 8!==l(function(){},"length",{value:8}).length}),w=String(String).split("String"),b=Mt.exports=function(e,t,r){"Symbol("===p(s(t),0,7)&&(t="["+d(s(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!n(e,"name")||i&&e.name!==t)&&(o?l(e,"name",{value:t,configurable:!0}):e.name=t),g&&r&&n(r,"arity")&&e.length!==r.arity&&l(e,"length",{value:r.arity});try{r&&n(r,"constructor")&&r.constructor?o&&l(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var u=c(e);return n(u,"source")||(u.source=h(w,"string"==typeof t?t:"")),e};return Function.prototype.toString=b(function(){return r(this)&&f(this).source||u(this)},"toString"),Mt.exports}function zt(){if($t)return Nt;$t=1;var e=pe(),t=bt(),r=qt(),n=Ye();return Nt=function(o,i,u,a){a||(a={});var c=a.enumerable,f=void 0!==a.name?a.name:i;if(e(u)&&r(u,f,a),a.global)c?o[i]=u:n(i,u);else{try{a.unsafe?o[i]&&(c=!0):delete o[i]}catch(e){}c?o[i]=u:t.f(o,i,{value:u,enumerable:!1,configurable:!a.nonConfigurable,writable:!a.nonWritable})}return o}}var Ut,Xt,Jt,Gt,Wt,_t,Vt,Kt,Yt,Zt,Qt,er,tr,rr,nr,or,ir,ur={};function ar(){if(Gt)return Jt;Gt=1;var e=function(){if(Xt)return Ut;Xt=1;var e=Math.ceil,t=Math.floor;return Ut=Math.trunc||function(r){var n=+r;return(n>0?t:e)(n)}}();return Jt=function(t){var r=+t;return r!=r||0===r?0:e(r)}}function cr(){if(_t)return Wt;_t=1;var e=ar(),t=Math.max,r=Math.min;return Wt=function(n,o){var i=e(n);return i<0?t(i+o,0):r(i,o)},Wt}function fr(){if(Kt)return Vt;Kt=1;var e=ar(),t=Math.min;return Vt=function(r){var n=e(r);return n>0?t(n,9007199254740991):0}}function sr(){if(Zt)return Yt;Zt=1;var e=fr();return Yt=function(t){return e(t.length)}}function lr(){if(er)return Qt;er=1;var e=le(),t=cr(),r=sr(),n=function(n){return function(o,i,u){var a=e(o),c=r(a);if(0===c)return!n&&-1;var f,s=t(u,c);if(n&&i!=i){for(;c>s;)if((f=a[s++])!=f)return!0}else for(;c>s;s++)if((n||s in a)&&a[s]===i)return n||s||0;return!n&&-1}};return Qt={includes:n(!0),indexOf:n(!1)}}function pr(){if(rr)return tr;rr=1;var e=ae(),t=tt(),r=le(),n=lr().indexOf,o=Ft(),i=e([].push);return tr=function(e,u){var a,c=r(e),f=0,s=[];for(a in c)!t(o,a)&&t(c,a)&&i(s,a);for(;u.length>f;)t(c,a=u[f++])&&(~n(s,a)||i(s,a));return s}}function dr(){return or?nr:(or=1,nr=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"])}var vr,yr,hr,gr,wr,br,mr,Sr,Or,Er,xr,Rr,Pr={};function jr(){if(hr)return yr;hr=1;var e=ve(),t=ae(),r=function(){if(ir)return ur;ir=1;var e=pr(),t=dr().concat("length","prototype");return ur.f=Object.getOwnPropertyNames||function(r){return e(r,t)},ur}(),n=(vr||(vr=1,Pr.f=Object.getOwnPropertySymbols),Pr),o=wt(),i=t([].concat);return yr=e("Reflect","ownKeys")||function(e){var t=r.f(o(e)),u=n.f;return u?i(t,u(e)):t}}function kr(){if(wr)return gr;wr=1;var e=tt(),t=jr(),r=ct(),n=bt();return gr=function(o,i,u){for(var a=t(i),c=n.f,f=r.f,s=0;s<a.length;s++){var l=a[s];e(o,l)||u&&e(u,l)||c(o,l,f(i,l))}}}function Tr(){if(Or)return Sr;Or=1;var e=o(),t=ct().f,r=mt(),n=zt(),i=Ye(),u=kr(),a=function(){if(mr)return br;mr=1;var e=v(),t=pe(),r=/#|\.prototype\./,n=function(r,n){var c=i[o(r)];return c===a||c!==u&&(t(n)?e(n):!!n)},o=n.normalize=function(e){return String(e).replace(r,".").toLowerCase()},i=n.data={},u=n.NATIVE="N",a=n.POLYFILL="P";return br=n}();return Sr=function(o,c){var f,s,l,p,d,v=o.target,y=o.global,h=o.stat;if(f=y?e:h?e[v]||i(v,{}):e[v]&&e[v].prototype)for(s in c){if(p=c[s],l=o.dontCallGetSet?(d=t(f,s))&&d.value:f[s],!a(y?s:v+(h?".":"#")+s,o.forced)&&void 0!==l){if(typeof p==typeof l)continue;u(p,l)}(o.sham||l&&l.sham)&&r(p,"sham",!0),n(f,s,p,o)}}}function Ir(){if(xr)return Er;xr=1;var e=ae(),t=Map.prototype;return Er={Map:Map,set:e(t.set),get:e(t.get),has:e(t.has),remove:e(t.delete),proto:t}}!function(){if(Rr)return n;Rr=1;var e=Tr(),t=Ir(),r=Ke(),o=t.get,i=t.has,u=t.set;e({target:"Map",proto:!0,real:!0,forced:r},{getOrInsert:function(e,t){return i(this,e)?o(this,e):(u(this,e,t),t)}})}();var Ar,Lr={};!function(){if(Ar)return Lr;Ar=1;var e=Tr(),t=Oe(),r=Ir(),n=Ke(),o=r.get,i=r.has,u=r.set;e({target:"Map",proto:!0,real:!0,forced:n},{getOrInsertComputed:function(e,r){var n=i(this,e);if(t(r),n)return o(this,e);0===e&&1/e==-1/0&&(e=0);var a=r(e);return u(this,e,a),a}})}();var Dr,Nr,$r,Mr,Cr,Hr,Fr,Br,qr,zr,Ur={},Xr={};function Jr(){if(Nr)return Dr;Nr=1;var e=pr(),t=dr();return Dr=Object.keys||function(r){return e(r,t)}}function Gr(){if(Cr)return Mr;Cr=1;var e=ve();return Mr=e("document","documentElement")}function Wr(){if(Fr)return Hr;Fr=1;var e,t=wt(),r=function(){if($r)return Xr;$r=1;var e=y(),t=gt(),r=bt(),n=wt(),o=le(),i=Jr();return Xr.f=e&&!t?Object.defineProperties:function(e,t){n(e);for(var u,a=o(t),c=i(t),f=c.length,s=0;f>s;)r.f(e,u=c[s++],a[u]);return e},Xr}(),n=dr(),o=Ft(),i=Gr(),u=ut(),a=Ht(),c="prototype",f="script",s=a("IE_PROTO"),l=function(){},p=function(e){return"<"+f+">"+e+"</"+f+">"},d=function(e){e.write(p("")),e.close();var t=e.parentWindow.Object;return e=null,t},v=function(){try{e=new ActiveXObject("htmlfile")}catch(e){}var t,r,o;v="undefined"!=typeof document?document.domain&&e?d(e):(r=u("iframe"),o="java"+f+":",r.style.display="none",i.appendChild(r),r.src=String(o),(t=r.contentWindow.document).open(),t.write(p("document.F=Object")),t.close(),t.F):d(e);for(var a=n.length;a--;)delete v[c][n[a]];return v()};return o[s]=!0,Hr=Object.create||function(e,n){var o;return null!==e?(l[c]=t(e),o=new l,l[c]=null,o[s]=e):o=v(),void 0===n?o:r.f(o,n)}}function _r(){if(qr)return Br;qr=1;var e=nt(),t=Wr(),r=bt().f,n=e("unscopables"),o=Array.prototype;return void 0===o[n]&&r(o,n,{configurable:!0,value:t(null)}),Br=function(e){o[n][e]=!0}}function Vr(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Kr(e,t,r){const n=t.split(".");let o=e;for(let e=0;e<n.length;e++){const t=n[e],i=e===n.length-1,u=n.slice(0,e+1);if(i){const e=u[u.length-1],t=Object.getOwnPropertyDescriptor(o,e)||{},i=t.get,a=t.set;let c=t.value;Object.defineProperty(o,n[n.length-1],{configurable:!0,enumerable:!0,get(){return r.onGet&&r.onGet(),i?i.call(this):c},set(e){r.onSet&&r.onSet(),a?a.call(this,e):c=e}})}else{const i=Yr(o,t),u=Object.prototype.hasOwnProperty.call(o,t);if(i&&!u){let i;const u=(e,t)=>new Proxy(e,{get(e,n){const o=Reflect.get(e,n,e);return 1===t.length&&n===t[0]?(r.onGet&&r.onGet(),o):n===t[0]&&Vr(o)?u(o,t.slice(1)):o},set:(e,n,o)=>(1===t.length&&n===t[0]&&r.onSet&&r.onSet(),Reflect.set(e,n,o))});return void Object.defineProperty(o,t,{configurable:!0,enumerable:!0,get:()=>Vr(i)?u(i,n.slice(e+1)):i,set(e){i=e}})}o=o[t]}}}function Yr(e,t){if(!e)return!0;const r=Object.getOwnPropertyDescriptor(e,t);return!r||Boolean(r.configurable)}!function(){if(zr)return Ur;zr=1;var e=Tr(),t=lr().includes,r=v(),n=_r(),o=r(function(){return!Array(1).includes()}),i=r(function(){return[,1].includes(void 0,1)});e({target:"Array",proto:!0,forced:o||i},{includes:function(e){return t(this,e,arguments.length>1?arguments[1]:void 0)}}),n("includes")}();const Zr="Zen";function Qr(e){return{log(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];console.log(`${Zr} (${e}): ${t}`,...n)},debug(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];console.debug(`${Zr} (${e}): ${t}`,...n)},info(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];console.info(`${Zr} (${e}): ${t}`,...n)},warn(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];console.warn(`${Zr} (${e}): ${t}`,...n)},error(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];console.error(`${Zr} (${e}): ${t}`,...n)}}}const en=/^\/((?:[^/\\\r\n]|\\.)+)\/([gimsuy]*)$/;function tn(e){const t=e.match(en);if(null===t)return null;try{return new RegExp(t[1],t[2])}catch{return null}}function rn(e,t){try{return new RegExp(function(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}(e),t)}catch{return null}}function nn(){return Math.random().toString(36).substring(2,15)}const on=Qr("abort-current-inline-script");const un=Qr("abort-on-property-read");function an(e){if("string"!=typeof e||0===e.length)return void un.warn("property should be a non-empty string");const t=nn();Kr(window,e,{onGet:()=>{throw un.info(`Blocked ${e} read`),new ReferenceError(`Aborted script with ID: ${t}`)}}),window.addEventListener("error",e=>{e.error instanceof ReferenceError&&e.error.message.includes(t)&&e.preventDefault()})}const cn=Qr("abort-on-property-write");function fn(e){if("string"!=typeof e||0===e.length)return void cn.warn("property should be a non-empty string");const t=nn();Kr(window,e,{onSet:()=>{throw cn.info(`Blocked ${e} write`),new ReferenceError(`Aborted script with ID: ${t}`)}}),window.addEventListener("error",e=>{e.error instanceof ReferenceError&&e.error.message.includes(t)&&e.preventDefault()})}var sn,ln,pn,dn,vn,yn,hn,gn,wn,bn,mn,Sn,On,En={};function xn(){if(ln)return sn;ln=1;var e=ye(),t=TypeError;return sn=function(r,n){if(e(n,r))return r;throw new t("Incorrect invocation")}}function Rn(){if(yn)return vn;yn=1;var e=tt(),t=pe(),r=et(),n=Ht(),o=function(){if(dn)return pn;dn=1;var e=v();return pn=!e(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})}(),i=n("IE_PROTO"),u=Object,a=u.prototype;return vn=o?u.getPrototypeOf:function(n){var o=r(n);if(e(o,i))return o[i];var c=o.constructor;return t(c)&&o instanceof c?c.prototype:o instanceof u?a:null}}function Pn(){if(gn)return hn;gn=1;var e=qt(),t=bt();return hn=function(r,n,o){return o.get&&e(o.get,n,{getter:!0}),o.set&&e(o.set,n,{setter:!0}),t.f(r,n,o)}}function jn(){if(bn)return wn;bn=1;var e=y(),t=bt(),r=ue();return wn=function(n,o,i){e?t.f(n,o,r(0,i)):n[o]=i}}function kn(){if(Sn)return mn;Sn=1;var e,t,r,n=v(),o=pe(),i=de(),u=Wr(),a=Rn(),c=zt(),f=nt(),s=Ke(),l=f("iterator"),p=!1;return[].keys&&("next"in(r=[].keys())?(t=a(a(r)))!==Object.prototype&&(e=t):p=!0),!i(e)||n(function(){var t={};return e[l].call(t)!==t})?e={}:s&&(e=u(e)),o(e[l])||c(e,l,function(){return this}),mn={IteratorPrototype:e,BUGGY_SAFARI_ITERATORS:p}}!function(){if(On)return En;On=1;var e=Tr(),t=o(),r=xn(),n=wt(),i=pe(),u=Rn(),a=Pn(),c=jn(),f=v(),s=tt(),l=nt(),p=kn().IteratorPrototype,d=y(),h=Ke(),g="constructor",w="Iterator",b=l("toStringTag"),m=TypeError,S=t[w],O=h||!i(S)||S.prototype!==p||!f(function(){S({})}),E=function(){if(r(this,p),u(this)===p)throw new m("Abstract class Iterator not directly constructable")},x=function(e,t){d?a(p,e,{configurable:!0,get:function(){return t},set:function(t){if(n(this),this===p)throw new m("You can't redefine this property");s(this,e)?this[e]=t:c(this,e,t)}}):p[e]=t};s(p,b)||x(b,w),!O&&s(p,g)&&p[g]!==Object||x(g,E),E.prototype=p,e({global:!0,constructor:!0,forced:O},{Iterator:E})}();var Tn,In,An,Ln,Dn,Nn,$n,Mn,Cn,Hn,Fn,Bn,qn,zn,Un,Xn,Jn,Gn,Wn,_n={};function Vn(){return In?Tn:(In=1,Tn=function(e){return{iterator:e,next:e.next,done:!1}})}function Kn(){if(Ln)return An;Ln=1;var e=zt();return An=function(t,r,n){for(var o in r)e(t,o,r[o],n);return t}}function Yn(){return Nn?Dn:(Nn=1,Dn=function(e,t){return{value:e,done:t}})}function Zn(){if(Mn)return $n;Mn=1;var e=g(),t=wt(),r=Ee();return $n=function(n,o,i){var u,a;t(n);try{if(!(u=r(n,"return"))){if("throw"===o)throw i;return i}u=e(u,n)}catch(e){a=!0,u=e}if("throw"===o)throw i;if(a)throw u;return t(u),i}}function Qn(){if(Hn)return Cn;Hn=1;var e=Zn();return Cn=function(t,r,n){for(var o=t.length-1;o>=0;o--)if(void 0!==t[o])try{n=e(t[o].iterator,r,n)}catch(e){r="throw",n=e}if("throw"===r)throw n;return n}}function eo(){if(Bn)return Fn;Bn=1;var e=g(),t=Wr(),r=mt(),n=Kn(),o=nt(),i=Bt(),u=Ee(),a=kn().IteratorPrototype,c=Yn(),f=Zn(),s=Qn(),l=o("toStringTag"),p="IteratorHelper",d="WrapForValidIterator",v="normal",y="throw",h=i.set,w=function(r){var o=i.getterFor(r?d:p);return n(t(a),{next:function(){var e=o(this);if(r)return e.nextHandler();if(e.done)return c(void 0,!0);try{var t=e.nextHandler();return e.returnHandlerResult?t:c(t,e.done)}catch(t){throw e.done=!0,t}},return:function(){var t=o(this),n=t.iterator,i=t.done;if(t.done=!0,r){var a=u(n,"return");return a?e(a,n):c(void 0,!0)}if(i)return c(void 0,!0);if(t.inner)try{f(t.inner.iterator,v)}catch(e){return f(n,y,e)}if(t.openIters)try{s(t.openIters,v)}catch(e){if(n)return f(n,y,e);throw e}return n&&f(n,v),c(void 0,!0)}})},b=w(!0),m=w(!1);return r(m,l,"Iterator Helper"),Fn=function(e,t,r){var n=function(n,o){o?(o.iterator=n.iterator,o.next=n.next):o=n,o.type=t?d:p,o.returnHandlerResult=!!r,o.nextHandler=e,o.counter=0,o.done=!1,h(this,o)};return n.prototype=t?b:m,n}}function to(){if(zn)return qn;zn=1;var e=wt(),t=Zn();return qn=function(r,n,o,i){try{return i?n(e(o)[0],o[1]):n(o)}catch(e){t(r,"throw",e)}}}function ro(){return Xn?Un:(Xn=1,Un=function(e,t){var r="function"==typeof Iterator&&Iterator.prototype[e];if(r)try{r.call({next:null},t).next()}catch(e){return!0}})}function no(){if(Gn)return Jn;Gn=1;var e=o();return Jn=function(t,r){var n=e.Iterator,o=n&&n.prototype,i=o&&o[t],u=!1;if(i)try{i.call({next:function(){return{done:!0}},return:function(){u=!0}},-1)}catch(e){e instanceof r||(u=!1)}if(!u)return i}}!function(){if(Wn)return _n;Wn=1;var e=Tr(),t=g(),r=Oe(),n=wt(),o=Vn(),i=eo(),u=to(),a=Zn(),c=ro(),f=no(),s=Ke(),l=!s&&!c("map",function(){}),p=!s&&!l&&f("map",TypeError),d=s||l||p,v=i(function(){var e=this.iterator,r=n(t(this.next,e));if(!(this.done=!!r.done))return u(e,this.mapper,[r.value,this.counter++],!0)});e({target:"Iterator",proto:!0,real:!0,forced:d},{map:function(e){n(this);try{r(e)}catch(e){a(this,"throw",e)}return p?t(p,this,e):new v(o(this),{mapper:e})}})}();var oo,io,uo,ao,co,fo,so,lo,po,vo,yo,ho,go,wo,bo,mo,So,Oo,Eo,xo={};function Ro(){if(ao)return uo;ao=1;var e=function(){if(io)return oo;io=1;var e=ce(),t=ae();return oo=function(r){if("Function"===e(r))return t(r)}}(),t=Oe(),r=h(),n=e(e.bind);return uo=function(e,o){return t(e),void 0===o?e:r?n(e,o):function(){return e.apply(o,arguments)}},uo}function Po(){return fo?co:(fo=1,co={})}function jo(){if(lo)return so;lo=1;var e=nt(),t=Po(),r=e("iterator"),n=Array.prototype;return so=function(e){return void 0!==e&&(t.Array===e||n[r]===e)}}function ko(){if(ho)return yo;ho=1;var e=function(){if(vo)return po;vo=1;var e={};return e[nt()("toStringTag")]="z",po="[object z]"===String(e)}(),t=pe(),r=ce(),n=nt()("toStringTag"),o=Object,i="Arguments"===r(function(){return arguments}());return yo=e?r:function(e){var u,a,c;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(a=function(e,t){try{return e[t]}catch(e){}}(u=o(e),n))?a:i?r(u):"Object"===(c=r(u))&&t(u.callee)?"Arguments":c}}function To(){if(wo)return go;wo=1;var e=ko(),t=Ee(),r=fe(),n=Po(),o=nt()("iterator");return go=function(i){if(!r(i))return t(i,o)||t(i,"@@iterator")||n[e(i)]}}function Io(){if(mo)return bo;mo=1;var e=g(),t=Oe(),r=wt(),n=Se(),o=To(),i=TypeError;return bo=function(u,a){var c=arguments.length<2?o(u):a;if(t(c))return r(e(c,u));throw new i(n(u)+" is not iterable")},bo}function Ao(){if(Oo)return So;Oo=1;var e=Ro(),t=g(),r=wt(),n=Se(),o=jo(),i=sr(),u=ye(),a=Io(),c=To(),f=Zn(),s=TypeError,l=function(e,t){this.stopped=e,this.result=t},p=l.prototype;return So=function(d,v,y){var h,g,w,b,m,S,O,E=y&&y.that,x=!(!y||!y.AS_ENTRIES),R=!(!y||!y.IS_RECORD),P=!(!y||!y.IS_ITERATOR),j=!(!y||!y.INTERRUPTED),k=e(v,E),T=function(e){var t=h;return h=void 0,t&&f(t,"normal"),new l(!0,e)},I=function(e){return x?(r(e),j?k(e[0],e[1],T):k(e[0],e[1])):j?k(e,T):k(e)};if(R)h=d.iterator;else if(P)h=d;else{if(!(g=c(d)))throw new s(n(d)+" is not iterable");if(o(g)){for(w=0,b=i(d);b>w;w++)if((m=I(d[w]))&&u(p,m))return m;return new l(!1)}h=a(d,g)}for(S=R?d.next:h.next;!(O=t(S,h)).done;){var A=O.value;try{m=I(A)}catch(e){if(!h)throw e;f(h,"throw",e)}if("object"==typeof m&&m&&u(p,m))return m}return new l(!1)},So}function Lo(e){const{stack:t}=new Error;return void 0!==t&&t.split("\n").slice(2).map(e=>e.trim()).some(t=>e.test(t))}!function(){if(Eo)return xo;Eo=1;var e=Tr(),t=g(),r=Ao(),n=Oe(),o=wt(),i=Vn(),u=Zn(),a=no()("some",TypeError);e({target:"Iterator",proto:!0,real:!0,forced:a},{some:function(e){o(this);try{n(e)}catch(e){u(this,"throw",e)}if(a)return t(a,this,e);var c=i(this),f=0;return r(c,function(t,r){if(e(t,f++))return r()},{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})}();const Do=Qr("abort-on-stack-trace");function No(e,t){if("string"!=typeof e||0===e.length)return void Do.warn("property should be a non-empty string");if("string"!=typeof t||0===t.length)return void Do.warn("stack should be a non-empty string");const r=tn(t)||rn(t),n=nn(),o=()=>{if(null!==r&&Lo(r))throw Do.info(`Blocked script on '${t}' stack`),new ReferenceError(`Aborted script with ID: ${n}`)};Kr(window,e,{onGet:o,onSet:o}),window.addEventListener("error",e=>{e.error instanceof ReferenceError&&e.error.message.includes(n)&&e.preventDefault()})}var $o,Mo,Co,Ho,Fo,Bo,qo,zo={};function Uo(){if(Mo)return $o;Mo=1;var e=ce();return $o=Array.isArray||function(t){return"Array"===e(t)}}function Xo(){if(Ho)return Co;Ho=1;var e=ko(),t=String;return Co=function(r){if("Symbol"===e(r))throw new TypeError("Cannot convert a Symbol value to a string");return t(r)}}function Jo(){if(Bo)return Fo;Bo=1;var e=ae(),t=tt(),r=SyntaxError,n=parseInt,o=String.fromCharCode,i=e("".charAt),u=e("".slice),a=e(/./.exec),c={'\\"':'"',"\\\\":"\\","\\/":"/","\\b":"\b","\\f":"\f","\\n":"\n","\\r":"\r","\\t":"\t"},f=/^[\da-f]{4}$/i,s=/^[\u0000-\u001F]$/;return Fo=function(e,l){for(var p=!0,d="";l<e.length;){var v=i(e,l);if("\\"===v){var y=u(e,l,l+2);if(t(c,y))d+=c[y],l+=2;else{if("\\u"!==y)throw new r('Unknown escape sequence: "'+y+'"');var h=u(e,l+=2,l+4);if(!a(f,h))throw new r("Bad Unicode escape at: "+l);d+=o(n(h,16)),l+=4}}else{if('"'===v){p=!1,l++;break}if(a(s,v))throw new r("Bad control character in string literal at: "+l);d+=v,l++}}if(p)throw new r("Unterminated string at: "+l);return{value:d,end:l}}}!function(){if(qo)return zo;qo=1;var e=Tr(),t=y(),r=o(),n=ve(),i=ae(),u=g(),a=pe(),c=de(),f=Uo(),s=tt(),l=Xo(),p=sr(),d=jn(),h=v(),w=Jo(),b=we(),m=r.JSON,S=r.Number,O=r.SyntaxError,E=m&&m.parse,x=n("Object","keys"),R=Object.getOwnPropertyDescriptor,P=i("".charAt),j=i("".slice),k=i(/./.exec),T=i([].push),I=/^\d$/,A=/^[1-9]$/,L=/^[\d-]$/,D=/^[\t\n\r ]$/,N=function(e,t,r,n){var o,i,a,l,d,v=e[t],y=n&&v===n.value,h=y&&"string"==typeof n.source?{source:n.source}:{};if(c(v)){var g=f(v),w=y?n.nodes:g?[]:{};if(g)for(o=w.length,a=p(v),l=0;l<a;l++)$(v,l,N(v,""+l,r,l<o?w[l]:void 0));else for(i=x(v),a=p(i),l=0;l<a;l++)d=i[l],$(v,d,N(v,d,r,s(w,d)?w[d]:void 0))}return u(r,e,t,v,h)},$=function(e,r,n){if(t){var o=R(e,r);if(o&&!o.configurable)return}void 0===n?delete e[r]:d(e,r,n)},M=function(e,t,r,n){this.value=e,this.end=t,this.source=r,this.nodes=n},C=function(e,t){this.source=e,this.index=t};C.prototype={fork:function(e){return new C(this.source,e)},parse:function(){var e=this.source,t=this.skip(D,this.index),r=this.fork(t),n=P(e,t);if(k(L,n))return r.number();switch(n){case"{":return r.object();case"[":return r.array();case'"':return r.string();case"t":return r.keyword(!0);case"f":return r.keyword(!1);case"n":return r.keyword(null)}throw new O('Unexpected character: "'+n+'" at: '+t)},node:function(e,t,r,n,o){return new M(t,n,e?null:j(this.source,r,n),o)},object:function(){for(var e=this.source,t=this.index+1,r=!1,n={},o={},i=!1;t<e.length;){if(t=this.until(['"',"}"],t),"}"===P(e,t)&&!r){t++,i=!0;break}var u=this.fork(t).string(),a=u.value;t=u.end,t=this.until([":"],t)+1,t=this.skip(D,t),u=this.fork(t).parse(),d(o,a,u),d(n,a,u.value),t=this.until([",","}"],u.end);var c=P(e,t);if(","===c)r=!0,t++;else if("}"===c){t++,i=!0;break}}if(!i)throw new O("Unterminated object at: "+t);return this.node(1,n,this.index,t,o)},array:function(){for(var e=this.source,t=this.index+1,r=!1,n=[],o=[],i=!1;t<e.length;){if(t=this.skip(D,t),"]"===P(e,t)&&!r){t++,i=!0;break}var u=this.fork(t).parse();if(T(o,u),T(n,u.value),t=this.until([",","]"],u.end),","===P(e,t))r=!0,t++;else if("]"===P(e,t)){t++,i=!0;break}}if(!i)throw new O("Unterminated array at: "+t);return this.node(1,n,this.index,t,o)},string:function(){var e=this.index,t=w(this.source,this.index+1);return this.node(0,t.value,e,t.end)},number:function(){var e=this.source,t=this.index,r=t;if("-"===P(e,r)&&r++,"0"===P(e,r))r++;else{if(!k(A,P(e,r)))throw new O("Failed to parse number at: "+r);r=this.skip(I,r+1)}if("."===P(e,r)){var n=r+1;if(n===(r=this.skip(I,n)))throw new O("Failed to parse number's fraction at: "+r)}if(("e"===P(e,r)||"E"===P(e,r))&&(r++,"+"!==P(e,r)&&"-"!==P(e,r)||r++,r===(r=this.skip(I,r))))throw new O("Failed to parse number's exponent value at: "+r);return this.node(0,S(j(e,t,r)),t,r)},keyword:function(e){var t=""+e,r=this.index,n=r+t.length;if(j(this.source,r,n)!==t)throw new O("Failed to parse value at: "+r);return this.node(0,e,r,n)},skip:function(e,t){for(var r=this.source;t<r.length&&k(e,P(r,t));t++);return t},until:function(e,t){t=this.skip(D,t);for(var r=P(this.source,t),n=0;n<e.length;n++)if(e[n]===r)return t;throw new O('Unexpected character: "'+r+'" at: '+t)}};var H=h(function(){var e,t="9007199254740993";return E(t,function(t,r,n){e=n.source}),e!==t}),F=b&&!h(function(){return 1/E("-0 \t")!=-1/0});e({target:"JSON",stat:!0,forced:H},{parse:function(e,t){return F&&!a(t)?E(e):function(e,t){e=l(e);var r=new C(e,0),n=r.parse(),o=n.value,i=r.skip(D,n.end);if(i<e.length)throw new O('Unexpected extra character: "'+P(e,i)+'" after the parsed data at: '+i);return a(t)?N({"":o},"",t,n):o}(e,t)}})}();var Go,Wo={};function _o(e,t,r){const n=Yo(e),o=Yo(t);let i=null;return"string"==typeof r&&(i=tn(r)||rn(r)),function(e){if("object"==typeof e&&(null===i||Lo(i))){if(o.length>0){let t=!1;for(const r of o)if(Ko(e,r)){t=!0;break}if(!t)return}for(const t of n)Vo(e,t)}}}function Vo(e,t){if(0===t.length||null==e)return;const[r,...n]=t;if("*"===r){const r=Object.getOwnPropertyNames(e).filter(t=>"object"==typeof e[t]||Array.isArray(e[t]));for(const o of r)Vo(e[o],t),Vo(e[o],n);return}if("[]"!==r)Object.hasOwn(e,r)&&(0===n.length?delete e[r]:Vo(e[r],n));else{if(!Array.isArray(e))return;for(let t=0;t<e.length;t++)Vo(e[t],n)}}function Ko(e,t){if(null==e)return!1;if(0===t.length)return!0;if("*"===t[0]){const r=Object.getOwnPropertyNames(e).filter(t=>"object"==typeof e[t]||Array.isArray(e[t]));for(const n of r)if(Ko(e[n],t)||Ko(e[n],t.slice(1)))return!0;return!1}if("[]"===t[0]){if(!Array.isArray(e))return!1;for(let r=0;r<e.length;r++)if(Ko(e[r],t.slice(1)))return!0;return!1}return!!Object.hasOwn(e,t[0])&&Ko(e[t[0]],t.slice(1))}function Yo(e){return"string"!=typeof e?[]:e.split(/\s+/).filter(Boolean).map(e=>e.split("."))}!function(){if(Go)return Wo;Go=1;var e=Tr(),t=g(),r=Oe(),n=wt(),o=Vn(),i=eo(),u=to(),a=Ke(),c=Zn(),f=ro(),s=no(),l=!a&&!f("filter",function(){}),p=!a&&!l&&s("filter",TypeError),d=a||l||p,v=i(function(){for(var e,r,o=this.iterator,i=this.predicate,a=this.next;;){if(e=n(t(a,o)),this.done=!!e.done)return;if(r=e.value,u(o,i,[r,this.counter++],!0))return r}});e({target:"Iterator",proto:!0,real:!0,forced:d},{filter:function(e){n(this);try{r(e)}catch(e){c(this,"throw",e)}return p?t(p,this,e):new v(o(this),{predicate:e})}})}();const Zo=Qr("json-prune");var Qo,ei,ti,ri,ni,oi,ii,ui,ai,ci={};function fi(){if(oi)return ni;oi=1;var e=ae();return ni=e([].slice)}!function(){if(ai)return ci;ai=1;var e=Tr(),t=ve(),r=function(){if(ei)return Qo;ei=1;var e=h(),t=Function.prototype,r=t.apply,n=t.call;return Qo="object"==typeof Reflect&&Reflect.apply||(e?n.bind(r):function(){return n.apply(r,arguments)}),Qo}(),n=g(),o=ae(),i=v(),u=Uo(),a=pe(),c=function(){if(ri)return ti;ri=1;var e=de(),t=Bt().get;return ti=function(r){if(!e(r))return!1;var n=t(r);return!!n&&"RawJSON"===n.type}}(),f=me(),s=ce(),l=Xo(),p=fi(),d=Jo(),y=rt(),w=we(),b=function(){if(ui)return ii;ui=1;var e=v();return ii=!e(function(){var e="9007199254740993",t=JSON.rawJSON(e);return!JSON.isRawJSON(t)||JSON.stringify(t)!==e})}(),m=String,S=t("JSON","stringify"),O=o(/./.exec),E=o("".charAt),x=o("".charCodeAt),R=o("".replace),P=o("".slice),j=o([].push),k=o(1.1.toString),T=/[\uD800-\uDFFF]/g,I=/^[\uD800-\uDBFF]$/,A=/^[\uDC00-\uDFFF]$/,L=y(),D=L.length,N=!w||i(function(){var e=t("Symbol")("stringify detection");return"[null]"!==S([e])||"{}"!==S({a:e})||"{}"!==S(Object(e))}),$=i(function(){return'"\\udf06\\ud834"'!==S("\udf06\ud834")||'"\\udead"'!==S("\udead")}),M=N?function(e,t){var o=p(arguments),i=H(t);if(a(i)||void 0!==e&&!f(e))return o[1]=function(e,t){if(a(i)&&(t=n(i,this,m(e),t)),!f(t))return t},r(S,null,o)}:S,C=function(e,t,r){var n=E(r,t-1),o=E(r,t+1);return O(I,e)&&!O(A,o)||O(A,e)&&!O(I,n)?"\\u"+k(x(e,0),16):e},H=function(e){if(a(e))return e;if(u(e)){for(var t=e.length,r=[],n=0;n<t;n++){var o=e[n];"string"==typeof o?j(r,o):"number"!=typeof o&&"Number"!==s(o)&&"String"!==s(o)||j(r,l(o))}var i=r.length,c=!0;return function(e,t){if(c)return c=!1,t;if(u(this))return t;for(var n=0;n<i;n++)if(r[n]===e)return t}}};S&&e({target:"JSON",stat:!0,arity:3,forced:N||$||!b},{stringify:function(e,t,r){var o=H(t),i=[],u=M(e,function(e,t){var r=a(o)?n(o,this,m(e),t):t;return!b&&c(r)?L+(j(i,r.rawJSON)-1):r},r);if("string"!=typeof u)return u;if($&&(u=R(u,T,C)),b)return u;for(var f="",s=u.length,l=0;l<s;l++){var p=E(u,l);if('"'===p){var v=d(u,++l).end-1,y=P(u,l,v);f+=P(y,0,D)===L?i[P(y,D)]:'"'+y+'"',l=v}else f+=p}return f}})}();const si=["url","method","credentials","cache","redirect","referrer","referrerPolicy","integrity","mode"];function li(e){if(""===e||"*"===e)return{};const t={},r=e.split(" ");for(const e of r){if(!e.includes(":")){t.url=tn(e)||rn(e)||e;continue}const[r,n]=e.split(":");if(""===r||void 0===n||""===n)throw new Error(`Invalid segment: "${e}"`);if(!si.includes(r))throw new Error(`Invalid segment key: "${r}"`);t[r]=tn(n)||n}return t}function pi(e,t){let r;r=t[0]instanceof Request?t[0]:void 0!==t[1]?{...t[1],url:t[0].toString()}:{url:t[0].toString()};for(const t of Object.keys(e))if(void 0===r[t]||!vi(e[t],r[t]))return!1;return!0}function di(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];const o={method:r[0],url:r[1].toString()};for(const t of Object.keys(e))if(void 0===o[t]||!vi(e[t],o[t]))return!1;return!0}function vi(e,t){return"string"==typeof e?e===t:e.test(t)}function yi(e){const t=parseInt(e,10);if(isNaN(t))throw new Error("input is NaN");if(!Number.isFinite(t))throw new Error("input is Infinite");return t}const hi=/length:(\d+)-(\d+)/,gi="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789!@#$%^&*()_+=~";function wi(e){if("false"===e)return"";let t,r;const n=e.match(hi);if("true"===e)t=10,r=10;else{if(!n)throw new Error("Invalid pattern");if(t=yi(n[1]),r=yi(n[2]),r>5e5)throw new Error("maxLength exceeds limit");if(t>r)throw new Error("minLength exceeds maxLength")}var o,i;return function(e){let t="";for(let r=0;r<e;r++)t+=gi.charAt(Math.floor(76*Math.random()));return t}((o=t,i=r,o=Math.ceil(o),i=Math.floor(i),Math.floor(Math.random()*(i-o+1)+o)))}const bi=Qr("json-prune-fetch-response");var mi,Si,Oi,Ei,xi,Ri={};function Pi(){if(Ei)return Oi;Ei=1;var e=TypeError;return Oi=function(t){if(t>9007199254740991)throw new e("Maximum allowed index exceeded");return t}}!function(){if(xi)return Ri;xi=1;var e=Tr(),t=et(),r=sr(),n=function(){if(Si)return mi;Si=1;var e=y(),t=Uo(),r=TypeError,n=Object.getOwnPropertyDescriptor,o=e&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}();return mi=o?function(e,o){if(t(e)&&!n(e,"length").writable)throw new r("Cannot set read only .length");return e.length=o}:function(e,t){return e.length=t}}(),o=Pi();e({target:"Array",proto:!0,arity:1,forced:v()(function(){return 4294967297!==[].push.call({length:4294967296},1)})||!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(e){return e instanceof TypeError}}()},{push:function(e){var i=t(this),u=r(i),a=arguments.length;o(u+a);for(var c=0;c<a;c++)i[u]=arguments[c],u++;return n(i,u),u}})}();const ji=Qr("json-prune-xhr-response"),ki=Symbol("requestHeaders"),Ti=Symbol("shouldPrune"),Ii=Symbol("openArgs"),Ai=Symbol("responseHeaders");const Li=Qr("no-protected-audience");const Di=Qr("no-topics");const Ni=Qr("nowebrtc");const $i=Qr("prevent-addEventListener");var Mi,Ci,Hi,Fi={};function Bi(){if(Ci)return Mi;Ci=1;var e=TypeError;return Mi=function(t,r){if(t<r)throw new e("Not enough arguments");return t}}!function(){if(Hi)return Fi;Hi=1;var e=zt(),t=ae(),r=Xo(),n=Bi(),o=URLSearchParams,i=o.prototype,u=t(i.append),a=t(i.delete),c=t(i.forEach),f=t([].push),s=new o("a=1&a=2&b=3");s.delete("a",1),s.delete("b",void 0),s+""!="a=2"&&e(i,"delete",function(e){var t=arguments.length,o=t<2?void 0:arguments[1];if(t&&void 0===o)return a(this,e);var i=[];c(this,function(e,t){f(i,{key:t,value:e})}),n(t,1);for(var s,l=r(e),p=r(o),d=0,v=i.length;d<v;)a(this,(s=i[d]).key),d++;for(d=0;d<v;)(s=i[d++]).key===l&&s.value===p||u(this,s.key,s.value)},{enumerable:!0,unsafe:!0})}();var qi,zi={};!function(){if(qi)return zi;qi=1;var e=zt(),t=ae(),r=Xo(),n=Bi(),o=URLSearchParams,i=o.prototype,u=t(i.getAll),a=t(i.has),c=new o("a=1");!c.has("a",2)&&c.has("a",void 0)||e(i,"has",function(e){var t=arguments.length,o=t<2?void 0:arguments[1];if(t&&void 0===o)return a(this,e);var i=u(this,e);n(t,1);for(var c=r(o),f=0;f<i.length;)if(i[f++]===c)return!0;return!1},{enumerable:!0,unsafe:!0})}();var Ui,Xi={};!function(){if(Ui)return Xi;Ui=1;var e=y(),t=ae(),r=Pn(),n=URLSearchParams.prototype,o=t(n.forEach);e&&!("size"in n)&&r(n,"size",{get:function(){var e=0;return o(this,function(){e++}),e},configurable:!0,enumerable:!0})}();const Ji=Qr("prevent-fetch");function Gi(e){let t,r,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"emptyObj",o=arguments.length>2?arguments[2]:void 0;if("undefined"!=typeof fetch&&"undefined"!=typeof Proxy&&"undefined"!=typeof Response){switch(n){case"":case"emptyObj":t="{}";break;case"emptyArr":t="[]";break;case"emptyStr":t="";break;default:return void Ji.warn(`Invalid responseBody: ${n}`)}if("string"!=typeof o||"basic"===o||"cors"===o||"opaque"===o){try{r=li(e)}catch(e){Ji.warn("Error parsing props",e)}fetch=new Proxy(fetch,{apply:async(e,n,i)=>{if(!pi(r,i))return Reflect.apply(e,n,i);const u=new Response(t,{status:200,statusText:"OK",headers:new Headers({"Content-Length":t.length.toString(),"Content-Type":"application/json",Date:(new Date).toUTCString()})});if("opaque"===o)Object.defineProperties(u,{url:{value:""},status:{value:0},statusText:{value:""},body:{value:null},type:{value:"opaque"},headers:{value:new Headers}});else{let e;e=i[0]instanceof URL?i[0].toString():i[0]instanceof Request?i[0].url:i[0],Object.defineProperties(u,{url:{value:e},type:{value:o||"basic"}})}return u}})}else Ji.warn(`Invalid responseType: ${o}`)}else Ji.warn("Either fetch, Proxy, or Response is not supported in this environment")}function Wi(e){let{callback:t,delay:r,matchCallback:n,matchDelay:o}=e;if("function"!=typeof t&&"string"!=typeof t)return!1;if("string"!=typeof n||o&&!Yi(o))return!1;const{isInverted:i,regexp:u}=Vi(n),{isInverted:a,match:c}=Ki(o),f=Zi(r),s=String(t),l=u?.test(s)!==i,p=null!==c&&f===c!==a;return null===c?l:n?l&&p:p}const _i=e=>{let t=!1;return e.startsWith("!")&&(e=e.slice(1),t=!0),{isReverse:t,value:e}},Vi=e=>{const{isReverse:t,value:r}=_i(e);return{isInverted:t,regexp:tn(r)||rn(r)}},Ki=e=>{const{isReverse:t,value:r}=_i(e),n=parseInt(r,10);return{isInverted:t,match:Number.isNaN(n)?null:n}},Yi=e=>{if("string"!=typeof e)return!1;const t=e=>"number"==typeof e&&!Number.isNaN(e)&&Number.isFinite(e);return e.startsWith("!")?t(+e.slice(1)):t(+e)},Zi=e=>{const t=Math.floor(parseInt(e,10));return"number"!=typeof t||Number.isNaN(t)?e:t},Qi=Qr("prevent-set-interval");const eu=Qr("prevent-set-timeout");const tu=Qr("prevent-window-open");function ru(e,t,r){let n;try{n="1"===e||"0"===e?function(e,t,r){let n,o=!1;"0"===e&&(o=!0);if("string"==typeof t&&t.length>0&&(n=(tn(t)||rn(t))??void 0,void 0===n))throw new Error("Could not parse search");let i=()=>{};if("trueFunc"===r)i=()=>!0;else if("string"==typeof r&&r.length>0){if(!r.startsWith("{")||!r.endsWith("}"))throw new Error(`Invalid replacement ${r}`);const e=r.slice(1,-1).split("=");if(2!==e.length||0===e[0].length||"noopFunc"!==e[1])throw new Error(`Invalid replacement ${r}`);i={[e[0]]:()=>{}}}return(e,t,r)=>{let u;if(0===r.length||null==r[0])u="";else if("string"==typeof r[0])u=r[0];else{if(!(r[0]instanceof URL))return Reflect.apply(e,t,r);u=r[0].toString()}if(void 0!==n){let i=n.test(u);if(o&&(i=!i),!i)return Reflect.apply(e,t,r)}return tu.info("Preventing window.open",{args:r}),i}}(e,t,r):function(e,t,r){let n,o,i=!1;if("string"==typeof e&&e.length>0&&(i="!"===e[0],i&&(e=e.slice(1)),n=(tn(e)||rn(e))??void 0,void 0===n))throw new Error("Could not parse match");"string"==typeof t&&t.length>0&&(o=yi(t));if("string"==typeof r&&"obj"!==r&&"blank"!==r)throw new Error(`Replacement type ${r} not supported`);return(e,t,u)=>{let a,c,f;if(0===u.length||null==u[0])a="";else if("string"==typeof u[0])a=u[0];else{if(!(u[0]instanceof URL))return Reflect.apply(e,t,u);a=u[0].toString()}if(void 0!==n){let r=n.test(a);if(i&&(r=!r),!r)return Reflect.apply(e,t,u)}if(tu.info("Preventing window.open",{args:u}),"blank"===r)return Reflect.apply(e,t,["about:blank",...u.slice(1)]);if("obj"===r)c=document.createElement("object"),c.data=a;else c=document.createElement("iframe"),c.src=a;if(c.style.setProperty("height","1px","important"),c.style.setProperty("width","1px","important"),c.style.setProperty("position","absolute","important"),c.style.setProperty("top","-9999px","important"),document.body.appendChild(c),void 0!==o&&setTimeout(()=>{c.remove()},1e3*o),"obj"===r){if(f=c.contentWindow,null===f||"object"!=typeof f)return null;Object.defineProperties(f,{closed:{value:!1},opener:{value:window},frameElement:{value:null}})}else f=new Proxy(window,{get:(e,t,r)=>{if("closed"===t)return!1;const n=Reflect.get(e,t,r);return"function"==typeof n?()=>{}:n},set:()=>!0});return f}}(e,t,r)}catch(e){return void tu.warn("Error while making handler",{ex:e})}window.open=new Proxy(window.open,{apply:n})}var nu,ou,iu,uu,au,cu,fu,su,lu,pu={};function du(){return ou?nu:(ou=1,nu="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView)}function vu(){if(uu)return iu;uu=1;var e=ae(),t=Oe();return iu=function(r,n,o){try{return e(t(Object.getOwnPropertyDescriptor(r,n)[o]))}catch(e){}}}function yu(){if(cu)return au;cu=1;var e=o(),t=vu(),r=ce(),n=e.ArrayBuffer,i=e.TypeError;return au=n&&t(n.prototype,"byteLength","get")||function(e){if("ArrayBuffer"!==r(e))throw new i("ArrayBuffer expected");return e.byteLength}}function hu(){if(su)return fu;su=1;var e=o(),t=du(),r=yu(),n=e.DataView;return fu=function(e){if(!t||0!==r(e))return!1;try{return new n(e),!1}catch(e){return!0}}}!function(){if(lu)return pu;lu=1;var e=y(),t=Pn(),r=hu(),n=ArrayBuffer.prototype;e&&!("detached"in n)&&t(n,"detached",{configurable:!0,get:function(){return r(this)}})}();var gu,wu,bu,mu,Su,Ou,Eu,xu,Ru,Pu,ju,ku,Tu,Iu,Au,Lu,Du,Nu={};function $u(){if(wu)return gu;wu=1;var e=ar(),t=fr(),r=RangeError;return gu=function(n){if(void 0===n)return 0;var o=e(n),i=t(o);if(o!==i)throw new r("Wrong length or index");return i}}function Mu(){if(Ou)return Su;Ou=1;var e=o(),t=he(),r=ce(),n=function(e){return t.slice(0,e.length)===e};return Su=n("Bun/")?"BUN":n("Cloudflare-Workers")?"CLOUDFLARE":n("Deno/")?"DENO":n("Node.js/")?"NODE":e.Bun&&"string"==typeof Bun.version?"BUN":e.Deno&&"object"==typeof Deno.version?"DENO":"process"===r(e.process)?"NODE":e.window&&e.document?"BROWSER":"REST"}function Cu(){if(Pu)return Ru;Pu=1;var e=o(),t=function(){if(xu)return Eu;xu=1;var e=Mu();return Eu="NODE"===e}();return Ru=function(r){if(t){try{return e.process.getBuiltinModule(r)}catch(e){}try{return Function('return require("'+r+'")')()}catch(e){}}}}function Hu(){if(ku)return ju;ku=1;var e=o(),t=v(),r=ge(),n=Mu(),i=e.structuredClone;return ju=!!i&&!t(function(){if("DENO"===n&&r>92||"NODE"===n&&r>94||"BROWSER"===n&&r>97)return!1;var e=new ArrayBuffer(8),t=i(e,{transfer:[e]});return 0!==e.byteLength||8!==t.byteLength})}function Fu(){if(Iu)return Tu;Iu=1;var e,t,r,n,i=o(),u=Cu(),a=Hu(),c=i.structuredClone,f=i.ArrayBuffer,s=i.MessageChannel,l=!1;if(a)l=function(e){c(e,{transfer:[e]})};else if(f)try{s||(e=u("worker_threads"))&&(s=e.MessageChannel),s&&(t=new s,r=new f(2),n=function(e){t.port1.postMessage(null,[e])},2===r.byteLength&&(n(r),0===r.byteLength&&(l=n)))}catch(e){}return Tu=l}function Bu(){if(Lu)return Au;Lu=1;var e=o(),t=ae(),r=vu(),n=$u(),i=function(){if(mu)return bu;mu=1;var e=hu(),t=TypeError;return bu=function(r){if(e(r))throw new t("ArrayBuffer is detached");return r}}(),u=yu(),a=Fu(),c=Hu(),f=e.structuredClone,s=e.ArrayBuffer,l=e.DataView,p=Math.max,d=Math.min,v=s.prototype,y=l.prototype,h=t(v.slice),g=r(v,"resizable","get"),w=r(v,"maxByteLength","get"),b=t(y.getInt8),m=t(y.setInt8);return Au=(c||a)&&function(e,t,r){var o,v=u(e),y=void 0===t?v:n(t),S=!g||!g(e);if(i(e),c&&(e=f(e,{transfer:[e]}),v===y&&(r||S)))return e;if(v>=y&&(!r||S))o=h(e,0,y);else{var O=r&&!S&&w?{maxByteLength:p(y,w(e))}:void 0;o=new s(y,O);for(var E=new l(e),x=new l(o),R=d(y,v),P=0;P<R;P++)m(x,P,b(E,P))}return c||a(e),o}}!function(){if(Du)return Nu;Du=1;var e=Tr(),t=Bu();t&&e({target:"ArrayBuffer",proto:!0},{transfer:function(){return t(this,arguments.length?arguments[0]:void 0,!0)}})}();var qu,zu={};!function(){if(qu)return zu;qu=1;var e=Tr(),t=Bu();t&&e({target:"ArrayBuffer",proto:!0},{transferToFixedLength:function(){return t(this,arguments.length?arguments[0]:void 0,!1)}})}();const Uu=Qr("prevent-xhr"),Xu=Symbol("prevent"),Ju=Symbol("url"),Gu=Symbol("responseHeaders");function Wu(e,t){if("undefined"==typeof Proxy)return void Uu.warn("Proxy is not supported in this environment");if("string"!=typeof e)return void Uu.warn("propsToMatch is required");let r;try{r=li(e)}catch(e){return void Uu.warn("error parsing props",e)}XMLHttpRequest.prototype.open=new Proxy(XMLHttpRequest.prototype.open,{apply:(e,t,n)=>t[Xu]||di(r,...n)?(Uu.debug("Preventing XHR request",n),t[Xu]=!0,t[Ju]=n[1].toString(),Reflect.apply(e,t,n)):(t[Xu]=!1,Reflect.apply(e,t,n))}),XMLHttpRequest.prototype.send=new Proxy(XMLHttpRequest.prototype.send,{apply:(e,r,n)=>{if(!r[Xu])return Reflect.apply(e,r,n);setTimeout(()=>{const e={readyState:{value:r.DONE,writable:!1},statusText:{value:"OK",writable:!1},response:{value:"",writable:!1},responseText:{value:"",writable:!1},responseURL:{value:r[Ju],writable:!1},responseXML:{value:null,writable:!1},status:{value:200,writable:!1}};switch(r[Gu]={date:(new Date).toUTCString(),"content-length":"0"},r.responseType){case"arraybuffer":e.response.value=new ArrayBuffer(0),r[Gu]["content-type"]="application/octet-stream";break;case"blob":e.response.value=new Blob([]),r[Gu]["content-type"]="application/octet-stream";break;case"document":{const t=(new DOMParser).parseFromString("","text/html");e.response.value=t,e.responseXML.value=t,r[Gu]["content-type"]="text/html",r[Gu]["content-length"]=t.documentElement.outerHTML.length.toString();break}case"json":e.response.value={},e.responseText.value="{}",r[Gu]["content-type"]="application/json",r[Gu]["content-length"]="2";break;default:if(r[Gu]["content-type"]="text/plain","string"!=typeof t||""===t)break;try{const n=wi(t);e.response.value=n,e.responseText.value=n,r[Gu]["content-length"]=n.length.toString()}catch(e){Uu.error("Generating random response text",e)}}Object.defineProperties(r,e),r.dispatchEvent(new Event("readystatechange")),r.dispatchEvent(new Event("load")),r.dispatchEvent(new Event("loadend"))},1)}}),XMLHttpRequest.prototype.getResponseHeader=new Proxy(XMLHttpRequest.prototype.getResponseHeader,{apply:(e,t,r)=>t[Xu]?t.readyState!==t.DONE?null:t[Gu][r[0].toLowerCase()]??null:Reflect.apply(e,t,r)}),XMLHttpRequest.prototype.getAllResponseHeaders=new Proxy(XMLHttpRequest.prototype.getAllResponseHeaders,{apply:(e,t,r)=>{if(!t[Xu])return Reflect.apply(e,t,r);if(t.readyState!==t.DONE)return null;let n="";for(const[e,r]of Object.entries(t[Gu]))n+=`${e}: ${r}\r\n`;return n}})}const _u=Qr("sanitize-clipboard");function Vu(e,t){try{const r=new URL(e);let n=!1;for(const e of t)if("string"==typeof e)r.searchParams.has(e)&&(r.searchParams.delete(e),n=!0);else for(const t of Array.from(r.searchParams.keys()))e.test(t)&&(r.searchParams.delete(t),n=!0);return n?r.toString():e}catch{return e}}const Ku=Qr("set-constant");var Yu,Zu,Qu,ea,ta,ra,na,oa,ia,ua,aa,ca,fa,sa,la,pa,da,va,ya,ha={};function ga(){if(Zu)return Yu;Zu=1;var e=ae(),t=Set.prototype;return Yu={Set:Set,add:e(t.add),has:e(t.has),remove:e(t.delete),proto:t}}function wa(){if(ea)return Qu;ea=1;var e=ga().has;return Qu=function(t){return e(t),t}}function ba(){if(ra)return ta;ra=1;var e=g();return ta=function(t,r,n){for(var o,i,u=n?t:t.iterator,a=t.next;!(o=e(a,u)).done;)if(void 0!==(i=r(o.value)))return i}}function ma(){if(oa)return na;oa=1;var e=ae(),t=ba(),r=ga(),n=r.Set,o=r.proto,i=e(o.forEach),u=e(o.keys),a=u(new n).next;return na=function(e,r,n){return n?t({iterator:u(e),next:a},r):i(e,r)}}function Sa(){if(ua)return ia;ua=1;var e=ga(),t=ma(),r=e.Set,n=e.add;return ia=function(e){var o=new r;return t(e,function(e){n(o,e)}),o}}function Oa(){if(ca)return aa;ca=1;var e=vu(),t=ga();return aa=e(t.proto,"size","get")||function(e){return e.size}}function Ea(){if(sa)return fa;sa=1;var e=Oe(),t=wt(),r=g(),n=ar(),o=Vn(),i="Invalid size",u=RangeError,a=TypeError,c=Math.max,f=function(t,r){this.set=t,this.size=c(r,0),this.has=e(t.has),this.keys=e(t.keys)};return f.prototype={getIterator:function(){return o(t(r(this.keys,this.set)))},includes:function(e){return r(this.has,this.set,e)}},fa=function(e){t(e);var r=+e.size;if(r!=r)throw new a(i);var o=n(r);if(o<0)throw new u(i);return new f(e,o)}}function xa(){if(va)return da;va=1;var e=ve(),t=function(e){return{size:e,has:function(){return!1},keys:function(){return{next:function(){return{done:!0}}}}}},r=function(e){return{size:e,has:function(){return!0},keys:function(){throw new Error("e")}}};return da=function(n,o){var i=e("Set");try{(new i)[n](t(0));try{return(new i)[n](t(-1)),!1}catch(e){if(!o)return!0;try{return(new i)[n](r(-1/0)),!1}catch(e){return o(new i([1,2])[n](r(1/0)))}}}catch(e){return!1}}}!function(){if(ya)return ha;ya=1;var e=Tr(),t=function(){if(pa)return la;pa=1;var e=wa(),t=ga(),r=Sa(),n=Oa(),o=Ea(),i=ma(),u=ba(),a=t.has,c=t.remove;return la=function(t){var f=e(this),s=o(t),l=r(f);return n(l)<=s.size?i(l,function(e){s.includes(e)&&c(l,e)}):u(s.getIterator(),function(e){a(l,e)&&c(l,e)}),l}}(),r=v(),n=!xa()("difference",function(e){return 0===e.size})||r(function(){var e={size:1,has:function(){return!0},keys:function(){var e=0;return{next:function(){var r=e++>1;return t.has(1)&&t.clear(),{done:r,value:2}}}}},t=new Set([1,2,3,4]);return 3!==t.difference(e).size});e({target:"Set",proto:!0,real:!0,forced:n},{difference:t})}();var Ra,Pa,ja,ka={};!function(){if(ja)return ka;ja=1;var e=Tr(),t=v(),r=function(){if(Pa)return Ra;Pa=1;var e=wa(),t=ga(),r=Oa(),n=Ea(),o=ma(),i=ba(),u=t.Set,a=t.add,c=t.has;return Ra=function(t){var f=e(this),s=n(t),l=new u;return r(f)>s.size?i(s.getIterator(),function(e){c(f,e)&&a(l,e)}):o(f,function(e){s.includes(e)&&a(l,e)}),l}}();e({target:"Set",proto:!0,real:!0,forced:!xa()("intersection",function(e){return 2===e.size&&e.has(1)&&e.has(2)})||t(function(){return"3,2"!==String(Array.from(new Set([1,2,3]).intersection(new Set([3,2]))))})},{intersection:r})}();var Ta,Ia,Aa,La={};!function(){if(Aa)return La;Aa=1;var e=Tr(),t=function(){if(Ia)return Ta;Ia=1;var e=wa(),t=ga().has,r=Oa(),n=Ea(),o=ma(),i=ba(),u=Zn();return Ta=function(a){var c=e(this),f=n(a);if(r(c)<=f.size)return!1!==o(c,function(e){if(f.includes(e))return!1},!0);var s=f.getIterator();return!1!==i(s,function(e){if(t(c,e))return u(s.iterator,"normal",!1)})}}();e({target:"Set",proto:!0,real:!0,forced:!xa()("isDisjointFrom",function(e){return!e})},{isDisjointFrom:t})}();var Da,Na,$a,Ma={};!function(){if($a)return Ma;$a=1;var e=Tr(),t=function(){if(Na)return Da;Na=1;var e=wa(),t=Oa(),r=ma(),n=Ea();return Da=function(o){var i=e(this),u=n(o);return!(t(i)>u.size)&&!1!==r(i,function(e){if(!u.includes(e))return!1},!0)}}();e({target:"Set",proto:!0,real:!0,forced:!xa()("isSubsetOf",function(e){return e})},{isSubsetOf:t})}();var Ca,Ha,Fa,Ba={};!function(){if(Fa)return Ba;Fa=1;var e=Tr(),t=function(){if(Ha)return Ca;Ha=1;var e=wa(),t=ga().has,r=Oa(),n=Ea(),o=ba(),i=Zn();return Ca=function(u){var a=e(this),c=n(u);if(r(a)<c.size)return!1;var f=c.getIterator();return!1!==o(f,function(e){if(!t(a,e))return i(f.iterator,"normal",!1)})}}();e({target:"Set",proto:!0,real:!0,forced:!xa()("isSupersetOf",function(e){return!e})},{isSupersetOf:t})}();var qa,za,Ua,Xa,Ja,Ga={};function Wa(){return Xa?Ua:(Xa=1,Ua=function(e){try{var t=new Set,r={size:0,has:function(){return!0},keys:function(){return Object.defineProperty({},"next",{get:function(){return t.clear(),t.add(4),function(){return{done:!0}}}})}},n=t[e](r);return 1===n.size&&4===n.values().next().value}catch(e){return!1}})}!function(){if(Ja)return Ga;Ja=1;var e=Tr(),t=function(){if(za)return qa;za=1;var e=wa(),t=ga(),r=Sa(),n=Ea(),o=ba(),i=t.add,u=t.has,a=t.remove;return qa=function(t){var c=e(this),f=n(t).getIterator(),s=r(c);return o(f,function(e){u(c,e)?a(s,e):i(s,e)}),s}}(),r=Wa();e({target:"Set",proto:!0,real:!0,forced:!xa()("symmetricDifference")||!r("symmetricDifference")},{symmetricDifference:t})}();var _a,Va,Ka,Ya={};!function(){if(Ka)return Ya;Ka=1;var e=Tr(),t=function(){if(Va)return _a;Va=1;var e=wa(),t=ga().add,r=Sa(),n=Ea(),o=ba();return _a=function(i){var u=e(this),a=n(i).getIterator(),c=r(u);return o(a,function(e){t(c,e)}),c}}(),r=Wa();e({target:"Set",proto:!0,real:!0,forced:!xa()("union")||!r("union")},{union:t})}();const Za=new Set(["undefined","false","true","null","yes","no","on","off","accept","accepted","reject","rejected","allowed","denied","forbidden","forever",""]);function Qa(e){if(Za.has(e.toLowerCase()))return e;if("emptyArr"===e)return"[]";if("emptyObj"===e)return"{}";if("$remove$"===e)return"$remove$";const t=parseInt(e);if(!isNaN(t)&&t>=0&&t<=32767)return e;throw new Error("Invalid value")}function ec(e,t){const r=tn(t);if(null!==r){const t=Object.keys(e);for(const n of t)r.test(n)&&e.removeItem(n)}else e.removeItem(t)}const tc=Qr("index"),rc=new Map([["abort-current-inline-script",function(e,t){if("string"!=typeof e||0===e.length)return void on.warn("property should be a non-empty string");let r;"string"==typeof t&&t.length>0&&(r=tn(t)||rn(t));const n=nn(),o=document.currentScript,i=()=>{const t=document.currentScript;if(t instanceof HTMLScriptElement&&t!==o&&(!r||r.test(t.textContent||"")))throw on.info(`Blocked ${e} in currentScript`),new ReferenceError(`Aborted script with ID: ${n}`)};Kr(window,e,{onGet:i,onSet:i}),window.addEventListener("error",e=>{e.error instanceof ReferenceError&&e.error.message.includes(n)&&e.preventDefault()})}],["abort-on-property-read",an],["aopr",an],["abort-on-property-write",fn],["aopw",fn],["abort-on-stack-trace",No],["aost",No],["json-prune",function(e,t,r){if("undefined"==typeof Proxy)return void Zo.warn("Proxy not available in this environment");if("string"!=typeof e||0===e.length)return void Zo.warn("propsToRemove should be a non-empty string");const n=_o(e,t,r);JSON.parse=new Proxy(JSON.parse,{apply:(e,t,r)=>{const o=Reflect.apply(e,t,r);return n(o),o}}),"undefined"!=typeof Response&&(Response.prototype.json=new Proxy(Response.prototype.json,{apply:async(e,t,r)=>{const o=await Reflect.apply(e,t,r);return n(o),o}}))}],["nowebrtc",function(){if(!window.RTCPeerConnection)return;const e=e=>{Ni.log(`document tried to create an RTCPeerConnection with config: ${e}`)},t=()=>{};e.prototype={close:t,createDataChannel:t,createOffer:t,setRemoteDescription:t,toString:()=>"[object RTCPeerConnection]"};const r=window.RTCPeerConnection;window.RTCPeerConnection=e,r.prototype&&(r.prototype.createDataChannel=()=>({close:t,send:t}))}],["prevent-fetch",Gi],["no-fetch-if",Gi],["prevent-xhr",Wu],["no-xhr-if",Wu],["set-local-storage-item",function(e,t){if("string"!=typeof e)throw new Error(`key should be string, is ${e}`);if("string"!=typeof t)throw new Error(`value should be string, is ${t}`);const r=Qa(t);"$remove$"===r?ec(localStorage,e):localStorage.setItem(e,r)}],["set-session-storage-item",function(e,t){if("string"!=typeof e)throw new Error(`key should be string, is ${e}`);if("string"!=typeof t)throw new Error(`value should be string, is ${t}`);const r=Qa(t);"$remove$"===r?ec(sessionStorage,e):sessionStorage.setItem(e,r)}],["set-constant",function(e,t,r,n,o){let i;switch(void 0!==o&&Ku.warn("setProxyTrap will be ignored"),t){case"undefined":i=void 0;break;case"false":i=!1;break;case"true":i=!0;break;case"null":i=null;break;case"emptyObj":i={};break;case"emptyArr":i=[];break;case"noopFunc":i=()=>{};break;case"noopCallbackFunc":i=()=>()=>{};break;case"trueFunc":i=()=>!0;break;case"falseFunc":i=()=>!1;break;case"throwFunc":i=()=>{throw new Error};break;case"noopPromiseResolve":i=()=>Promise.resolve(new Response("",{status:200,statusText:"OK"}));break;case"noopPromiseReject":i=()=>Promise.reject();break;case"":i="";break;case"-1":i=-1;break;case"yes":i="yes";break;case"no":i="no";break;default:{const e=parseInt(t,10);if(!isNaN(e)&&e>=0&&e<=32767){i=t;break}throw new Error("Invalid value")}}const u=i;switch(n){case"asFunction":i=()=>u;break;case"asCallback":i=()=>()=>u;break;case"asResolved":i=()=>Promise.resolve(u);break;case"asRejected":i=()=>Promise.reject(u)}let a;void 0!==r&&""!==r&&(a=tn(r)||rn(r)),a??=null;const c=()=>{Ku.debug(`Returning fake value for property window.${e}`,{value:t})};if(!e.includes(".")){let t=window[e];const r=Object.getOwnPropertyDescriptor(window,e);return void Object.defineProperty(window,e,{configurable:!0,get:()=>null===a||Lo(a)?(c(),i):"function"==typeof r?.get?r.get.apply(window):t,set:"function"==typeof r?.set?r?.set.bind(window):e=>{t=e}})}const f=Object,s=Function,l=e=>{let t,r;return(n,o)=>{if(1===e.length&&e[0]===o)return c(),i;let u=Reflect.get(n,o,n);const p=f.getOwnPropertyDescriptor(n,o);if(p&&"value"in p&&!p.configurable&&!p.writable)return u;if("function"==typeof u&&/\{\s*\[native code\]/.test(s.prototype.toString.call(u))&&(void 0!==r&&r[o]?u=r[o]:(u=u.bind(n),void 0===r&&(r={}),r[o]=u)),e[0]!==o||!Vr(u)||null!==a&&!Lo(a))return u;if(t?.link===u)return t.proxy;const d=new Proxy(u,{get:l(e.slice(1))});return t={link:u,proxy:d},d}},p=e.split("."),d=p[0];let v=window,y=window[d];for(let e=1;e<p.length;e++){const t=p[e];if(null!=y&&e===p.length-1){const e=Object.getOwnPropertyDescriptor(y,t);let r=y[t];return void Object.defineProperty(y,t,{configurable:!0,get:()=>null===a||Lo(a)?(c(),i):"function"==typeof e?.get?e.get.apply(y):r,set:"function"==typeof e?.set?e?.set.bind(y):e=>{r=e}})}if(null==y||null==y[t]){const t=Object.getOwnPropertyDescriptor(v,p[e-1]);let r,n=y;return void Object.defineProperty(v,p[e-1],{configurable:!0,get:()=>{const o=t?.get?t.get.apply(v):n;if(!Vr(o)||null!==a&&!Lo(a))return o;if(r?.capturedValue===o)return r.proxy;const i=new Proxy(o,{get:l(p.slice(e))});return r={capturedValue:o,proxy:i},i},set:"function"==typeof t?.set?t?.set.bind(v):e=>{n=e}})}v=y,y=y[t]}throw Ku.warn("Hit an invariant in setConstant",{property:e,value:t,stack:r}),new Error("Invariant hit")}],["json-prune-fetch-response",function(e,t,r,n){if("undefined"==typeof Proxy||"undefined"==typeof fetch||"undefined"==typeof Response)return void bi.warn("Either Proxy, fetch, or Response is not supported in this environment");if("string"!=typeof e||0===e.length)return void bi.warn("propsToRemove cannot be empty");let o;if("string"==typeof r)try{o=li(r)}catch(e){return void bi.warn("error parsing propsToMatch",e)}const i=_o(e,t,n);window.fetch=new Proxy(window.fetch,{apply:async(e,t,r)=>{if(o&&!pi(o,r))return Reflect.apply(e,t,r);const n=await Reflect.apply(e,t,r),u=n.clone();let a;try{a=await n.json()}catch{return u}i(a);const c=new Response(JSON.stringify(a),{status:n.status,statusText:n.statusText,headers:n.headers});return Object.defineProperties(c,{url:{value:n.url},type:{value:n.type},ok:{value:n.ok},redirected:{value:n.redirected}}),c}})}],["json-prune-xhr-response",function(e,t,r,n){if("undefined"==typeof Proxy)return void ji.warn("Proxy is not supported in this environment");if("string"!=typeof e||0===e.length)return void ji.warn("propsToMatch cannot be empty");let o;if("string"==typeof r)try{o=li(r)}catch(e){return void ji.warn("error parsing propsToMatch",e)}const i=_o(e,t,n),{open:u,send:a}=window.XMLHttpRequest.prototype;XMLHttpRequest.prototype.open=new Proxy(XMLHttpRequest.prototype.open,{apply:(e,t,r)=>void 0===o||di(o,...r)?(t[Ti]=!0,t[ki]=[],t[Ii]=r,t[Ai]=[],Reflect.apply(e,t,r)):Reflect.apply(e,t,r)}),XMLHttpRequest.prototype.setRequestHeader=new Proxy(XMLHttpRequest.prototype.setRequestHeader,{apply:(e,t,r)=>t[Ti]?(t[ki].push(r),Reflect.apply(e,t,r)):Reflect.apply(e,t,r)}),XMLHttpRequest.prototype.send=new Proxy(XMLHttpRequest.prototype.send,{apply:(e,t,r)=>{if(!t[Ti])return Reflect.apply(e,t,r);const n=new XMLHttpRequest;n.addEventListener("readystatechange",async()=>{if(n.readyState!==XMLHttpRequest.DONE)return;const e={readyState:{value:n.readyState,writable:!1},responseURL:{value:n.responseURL,writable:!1},status:{value:n.status,writable:!1},statusText:{value:n.statusText,writable:!1},response:{value:n.response,writable:!1}};try{e.responseXML={value:n.responseXML,writable:!1}}catch{}try{e.responseText={value:n.responseText,writable:!1}}catch{}try{if(""===n.responseType||"text"===n.responseType){const t=JSON.parse(n.responseText);i(t);const r=JSON.stringify(t);e.response={value:r,writable:!1},e.responseText={value:r,writable:!1}}else if("arraybuffer"===n.responseType){const t=(new TextDecoder).decode(n.response),r=JSON.parse(t);i(r);const o=(new TextEncoder).encode(JSON.stringify(r));e.response={value:o,writable:!1}}else if("blob"===n.responseType){const t=await n.response.text(),r=JSON.parse(t);i(r);const o=new Blob([JSON.stringify(r)]);e.response={value:o,writable:!1}}else{if("json"!==n.responseType)throw new Error(`Unsupported type: ${n.responseType}`);i(n.response),e.response={value:n.response,writable:!1}}}catch(e){ji.error("Error parsing/pruning response",e)}Object.defineProperties(t,e);const r=n.getAllResponseHeaders();for(const e of r.trim().split(/[\r\n]+/)){const[r,n]=e.split(": ");t[Ai].push([r,n])}setTimeout(()=>{t.dispatchEvent(new Event("readystatechange")),t.dispatchEvent(new Event("load")),t.dispatchEvent(new Event("loadend"))},1)}),u.apply(n,t[Ii]);for(const[e,r]of t[ki])n.setRequestHeader(e,r);try{a.apply(n,r)}catch(n){return ji.error("Error sending substitute request",n),Reflect.apply(e,t,r)}}}),XMLHttpRequest.prototype.getResponseHeader=new Proxy(XMLHttpRequest.prototype.getResponseHeader,{apply:(e,t,r)=>{if(!t[Ti])return Reflect.apply(e,t,r);let n=null;for(const[e,o]of t[Ai])if(e===r[0]){n=o;break}return n}}),XMLHttpRequest.prototype.getAllResponseHeaders=new Proxy(XMLHttpRequest.prototype.getAllResponseHeaders,{apply:(e,t,r)=>t[Ti]?t[Ai].map(e=>{let[t,r]=e;return`${t}: ${r}`}).join("\r\n"):Reflect.apply(e,t,r)})}],["prevent-window-open",ru],["nowoif",ru],["prevent-setTimeout",function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";"undefined"!=typeof Proxy?window.setTimeout=new Proxy(window.setTimeout,{apply:(r,n,o)=>{const[i,u]=o;return Wi({callback:i,delay:u,matchCallback:e,matchDelay:t})?(eu.info(`Prevented setTimeout(${String(i)}, ${u})"`),0):Reflect.apply(r,n,o)}}):eu.warn("Proxy not available in this environment")}],["prevent-setInterval",function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";"undefined"!=typeof Proxy?window.setInterval=new Proxy(window.setInterval,{apply:(r,n,o)=>{const[i,u]=o;return Wi({callback:i,delay:u,matchCallback:e,matchDelay:t})?(Qi.info(`Prevented setInterval(${String(i)}, ${u})"`),0):Reflect.apply(r,n,o)}}):Qi.warn("Proxy not available in this environment")}],["prevent-addEventListener",function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if(!e&&!t)return;const r=tn(e)||rn(e),n=tn(t)||rn(t);if(!r&&!n)return;const o={apply(e,t,o){const[i,u]=o,a=(e=>{try{return"object"==typeof e&&"handleEvent"in e&&"function"==typeof e.handleEvent?e.handleEvent.toString():e.toString()}catch{return""}})(u);let c=!1;if(r&&!n?c=r.test(i):n&&!r?c=n.test(i):r&&n&&(c=r.test(i)&&n.test(a)),!c)return Reflect.apply(e,t,o);$i.info(`Blocked addEventListener("${i}", ${a})`)}};window.addEventListener=new Proxy(window.addEventListener,o),document.addEventListener=new Proxy(document.addEventListener,o),Element.prototype.addEventListener=new Proxy(window.Element.prototype.addEventListener,o),EventTarget.prototype.addEventListener=new Proxy(window.EventTarget.prototype.addEventListener,o)}],["no-topics",function(){const e="browsingTopics";if("function"!=typeof Document||"object"!=typeof Document.prototype)return;const t=Object.getOwnPropertyDescriptor(Document.prototype,e);if(!t||!t.configurable||"function"!=typeof t.value)return;const r=t.value,n=new Proxy(r,{apply:()=>(Di.info("Preventing Topics API usage"),Promise.resolve(new Response("",{status:200,statusText:"OK"})))});Object.defineProperty(Document.prototype,e,{configurable:!0,get:()=>n,set:()=>{}})}],["no-protected-audience",function(){if("function"!=typeof Navigator||"object"!=typeof Navigator.prototype)return;const e={joinAdInterestGroup:()=>Promise.resolve(),runAdAuction:()=>Promise.resolve(null),leaveAdInterestGroup:()=>Promise.resolve(),clearOriginJoinedAdInterestGroups:()=>Promise.resolve(),createAuctionNonce:()=>"",updateAdInterestGroups:()=>{}};for(const t of Object.keys(e)){const r=Object.getOwnPropertyDescriptor(Navigator.prototype,t);if(!r||!r.configurable||"function"!=typeof r.value)continue;const n=r.value,o=new Proxy(n,{apply:()=>(Li.info(`Preventing usage of Protected Audience API: ${t}`),e[t]())});Object.defineProperty(Navigator.prototype,t,{configurable:!0,get:()=>o,set:()=>{}})}}],["sanitize-clipboard",function(e){if("string"!=typeof e||0===e.length)return void _u.warn("params should be a non-empty string");const t=e.split(" ").map(e=>tn(e)||e);if(navigator.clipboard){const e={async apply(e,r,n){const[o]=n,i=await Promise.resolve(o),u=Vu(String(i),t);return u===i?Reflect.apply(e,r,n):(_u.info(`Sanitized clipboard for '${String(i)}'`),Reflect.apply(e,r,[u]))}};navigator.clipboard.writeText=new Proxy(navigator.clipboard.writeText,e)}document.addEventListener("copy",e=>{const r=e;let n=window.getSelection()?.toString()??"";if(!n){const e=document.activeElement;!e||"INPUT"!==e.tagName&&"TEXTAREA"!==e.tagName||null===e.selectionStart||null===e.selectionEnd||e.selectionStart===e.selectionEnd||(n=e.value.slice(e.selectionStart,e.selectionEnd))}if(!n)return;const o=Vu(n,t);o!==n&&r?.clipboardData&&(r.clipboardData.setData("text/plain",o),r.preventDefault(),_u.info(`Sanitized clipboard for '${n}'`))},!0)}]]);return function(e){if(rc.has(e)){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];rc.get(e)(...r)}else tc.debug(`Scriptlet ${e} does not exist or is not yet implemented.`)}}();

Callers 15

ceFunction · 0.70
leFunction · 0.70
veFunction · 0.70
weFunction · 0.70
meFunction · 0.70
OeFunction · 0.70
EeFunction · 0.70
xeFunction · 0.70
YeFunction · 0.70
etFunction · 0.70
ttFunction · 0.70
ntFunction · 0.70

Calls

no outgoing calls

Tested by 1

itFunction · 0.56