@unimed-web-tracing/vue2
Version:
基于 JS 跨平台插件,为前端项目提供【 埋点、行为、性能、异常、请求、资源、路由、曝光、录屏 】监控手段 - vue2版本
8 lines • 531 kB
JavaScript
(function(Te){"use strict";function Mr(e){return function(r){return Object.prototype.toString.call(r)===`[object ${e}]`}}const us=Mr("RegExp"),sg=Mr("Number"),ag=Mr("String"),lg=Mr("Boolean"),cg=Mr("Null"),ug=Mr("Undefined"),hg=Mr("Function"),ao=Mr("Array"),fg=Mr("Window"),hs=e=>lg(e)&&String(e)==="false";function dg(e){return ag(e)&&e.trim()===""||e===void 0||e===null}const bi=typeof window<"u",pg=fg(bi?window:0),gg=bi&&!!window?.process?.versions?.electron,ac=typeof navigator<"u"&&navigator.userAgent.includes("jsdom")||bi&&window.jsdom;function lc(){return pg||gg||ac?window:{}}function mg(){return $e.__webTracing__=$e.__webTracing__||{},$e.__webTracing__}function bg(){return!!$e.__webTracingInit__}const $e=lc(),Wt=mg();class Lr{subs=new Set;static target;addSub(){Lr.target&&this.subs.add(Lr.target)}notify(...r){this.subs.forEach(function(t){t.proxy.dirty=!0,t.update(...r)})}}const fs="__webtracingobserver__";function yg(e){return Object.prototype.toString.call(e)==="[object RegExp]"}class vg{target;constructor(r){this.target=r}defineReactive(){const r=new Lr,t=wg(()=>{r.addSub()},o=>{r.notify(o)});return new Proxy(this.target,t)}}function wg(e,r){const t=new WeakMap,o={get(f,p,C){const S=Reflect.get(f,p,C);if(e&&e(),typeof S=="object"&&S!==null&&!yg(S)){let A=t.get(S);return A||(A=new Proxy(S,o),t.set(S,A)),A}return S},set(f,p,C,S){const A=Reflect.get(f,p,S);if(A===C)return A;const I=JSON.parse(JSON.stringify(f)),R=Reflect.set(f,p,C,S);return r&&r(I),R}};return o}const _g=new WeakMap;function Sg(e){const r={value:e};r[fs]=!0;const t=new vg(r),o=t.defineReactive();return _g.set(t,o),o}function Ig(e){return!!e[fs]}const cc=[];function uc(e){Lr.target&&cc.push(Lr.target),Lr.target=e}function hc(){Lr.target=cc.pop()}class fc{vm;computed;watch;proxy;dep;getter;callback;constructor(r,t,o){const{computed:f,watch:p,callback:C}=t;this.getter=o,this.computed=f||!1,this.watch=p||!1,this.callback=C,this.proxy={value:"",dirty:!0},this.vm=r,f?this.dep=new Lr:p?this.watchGet():this.get()}update(r){this.computed?this.dep.notify():this.watch?r!==this.proxy.value&&this.callback&&this.callback(this.proxy.value,r):this.get()}get(){uc(this);const r=this.computed?dc.get(this.vm).call(this.vm):"";return r!==this.proxy.value&&(this.proxy.dirty=!1,this.proxy.value=r),hc(),r}watchGet(){uc(this),this.proxy.dirty=!1,this.getter&&(this.proxy.value=this.getter()),hc()}depend(){this.dep.addSub()}}class Eg{target;constructor(r){this.target=r}defineReactive(){const r=new fc(this,{computed:!0}),t={get(){return r.proxy.dirty?(r.depend(),r.get()):(r.depend(),r.proxy.value)}};return new Proxy(this.target,t)}}const dc=new WeakMap;function Ag(e){const r={value:0};r[fs]=!0;const t=new Eg(r),o=t.defineReactive();return dc.set(t,e),o}function Cg(e,r){new fc("",{watch:!0,callback:e},r)}function kg(e,r){Ig(e)&&Cg((t,o)=>{r(t,o)},function(){return e.value})}function ds(){return!!window.Proxy}function Tg(e){return ds()?Sg(e):{value:e}}function pc(e){return ds()?Ag(e):{value:e()}}function Rg(e,r){return ds()?kg(e,r):()=>({})}class Og{dsn="";appName="";appCode="";appVersion="";userUuid=()=>"";sdkUserUuid="";debug=!1;pv={core:!1};performance={core:!1,firstResource:!1,server:!1};error={core:!1,server:!1};event={core:!1};recordScreen=!1;ext={};tracesSampleRate=1;cacheMaxLength=10;cacheWatingTime=10*1e3;ignoreErrors=[];ignoreRequest=[];scopeError=!1;localization=!1;sendTypeByXmlBody=!1;beforePushEventList=[];beforeSendData=[];afterSendData=[];localizationOverFlow=()=>{};constructor(r){const t=this.transitionOptions(r);t.ignoreRequest.push(new RegExp(t.dsn)),t.ignoreRequest.push(new RegExp("api.ipify.org")),lo(this,t)}transitionOptions(r){const t=lo({},this,r),{beforePushEventList:o,afterSendData:f,userUuid:p}=r,{pv:C,performance:S,error:A,event:I}=t;return typeof C=="boolean"&&(t.pv={core:C}),typeof S=="boolean"&&(t.performance={core:S,firstResource:S,server:S}),typeof A=="boolean"&&(t.error={core:A,server:A}),typeof I=="boolean"&&(t.event={core:I}),typeof p=="string"&&(t.userUuid=()=>p),o&&(t.beforePushEventList=[o]),f&&(t.afterSendData=[f]),t}}function xg(e){const{dsn:r,appName:t,appCode:o,appVersion:f,debug:p,recordScreen:C,pv:S,performance:A,error:I,event:R,ext:q,tracesSampleRate:Y,cacheMaxLength:$,cacheWatingTime:Q,ignoreErrors:Se,ignoreRequest:ae,scopeError:Ie,localization:we,sendTypeByXmlBody:_e,beforePushEventList:me}=e,Ue=[];return S&&typeof S=="object"?Ue.push(ut(S.core,"pv.core","boolean")):Ue.push(ut(S,"pv","boolean")),A&&typeof A=="object"?Ue.push(ut(A.core,"performance.core","boolean"),ut(A.firstResource,"performance.firstResource","boolean"),ut(A.server,"performance.server","boolean")):Ue.push(ut(A,"performance","boolean")),I&&typeof I=="object"?Ue.push(ut(I.core,"error.core","boolean"),ut(I.server,"error.server","boolean")):Ue.push(ut(I,"error","boolean")),R&&typeof R=="object"?Ue.push(ut(R.core,"event.core","boolean")):Ue.push(ut(R,"event","boolean")),[ut(r,"dsn","string"),ut(t,"appName","string"),ut(o,"appCode","string"),ut(f,"appVersion","string"),ut(p,"debug","boolean"),ut(C,"recordScreen","boolean"),ut(q,"ext","object"),ut(Y,"tracesSampleRate","number"),ut($,"cacheMaxLength","number"),ut(Q,"cacheWatingTime","number"),ut(Se,"ignoreErrors","array"),mc(Se,"ignoreErrors",["string","regexp"]),ut(ae,"ignoreRequest","array"),mc(ae,"ignoreRequest",["string","regexp"]),ut(Ie,"scopeError","boolean"),ut(we,"localization","boolean"),ut(_e,"sendTypeByXmlBody","boolean"),ut(me,"beforePushEventList","function")].every(Ne=>!!Ne)}function Mg(e){return[gc(e.appCode,"appCode"),gc(e.dsn,"dsn")].every(t=>!!t)}function gc(e,r){return dg(e)?(tn(`\u3010${r}\u3011\u53C2\u6570\u5FC5\u586B`),!1):!0}function ut(e,r,t){return!e||Wn(e)===t?!0:(tn(`TypeError:\u3010${r}\u3011\u671F\u671B\u4F20\u5165${t}\u7C7B\u578B\uFF0C\u76EE\u524D\u662F${Wn(e)}\u7C7B\u578B`),!1)}function mc(e,r,t){if(!e)return!0;let o=!0;return e.forEach(f=>{t.includes(Wn(f))||(tn(`TypeError:\u3010${r}\u3011\u6570\u7EC4\u5185\u7684\u503C\u671F\u671B\u4F20\u5165${t.join("|")}\u7C7B\u578B\uFF0C\u76EE\u524D\u503C${f}\u662F${Wn(f)}\u7C7B\u578B`),o=!1)}),o}Te.options=void 0;function Lg(e){["error","event"].forEach(o=>{(cg(e[o])||ug(e[o]))&&(e[o]=!0)}),e.dsn||(e.dsn="http://192.168.2.130:19000/gateway-view/log/push"),e.appName||(e.appName="");const t=e.userUuid;typeof t=="string"&&(e.userUuid=()=>t)}function Bg(e){return Lg(e),!Mg(e)||!xg(e)?!1:(Te.options=Tg(new Og(e)),Wt.options=Te.options,!0)}function Dn(...e){Te.options.value.debug&&console.log("@unimed-web-tracing: ",...e)}function tn(...e){console.error("@unimed-web-tracing: ",...e)}function cr(e,r,t,o=!1){e.addEventListener(r,t,o)}function jn(e,r,t,o=!1){if(e!==void 0&&(r in e||o)){const f=e[r],p=t(f);hg(p)&&(e[r]=p)}}function yi(e){return Object.keys(e).forEach(r=>{const t=e[r];sg(t)&&(e[r]=t===0?void 0:parseFloat(t.toFixed(2)))}),e}function tr(){return typeof document>"u"||document.location==null?"":document.location.href}function st(){return Date.now()}function bc(e,r,t=!1){let o=null,f;return function(...p){f=p,o===null&&(t&&e.apply(this,f),o=setTimeout(()=>{o=null,e.apply(this,f)},r))}}function Ng(e,r,t=!1){let o=null;return function(...f){t&&(e.call(this,...f),t=!1),o&&clearTimeout(o),o=setTimeout(()=>{e.call(this,...f)},r)}}function ps(e,...r){const t=new Map;for(const o of e){const f=r.filter(p=>o[p]).map(p=>o[p]).join(":");t.has(f)||t.set(f,[]),t.get(f).push(o)}return Array.from(t.values())}function lo(e,...r){return r.forEach(t=>{for(const o in t)t[o]!==null&&us(t[o])?e[o]=t[o]:t[o]!==null&&typeof t[o]=="object"?e[o]=lo(e[o]||(ao(t[o])?[]:{}),t[o]):e[o]=t[o]}),e}function Bt(e){return bg()?!0:(tn(`${e} \u9700\u8981\u5728SDK\u521D\u59CB\u5316\u4E4B\u540E\u4F7F\u7528`),!1)}function Wn(e){return Object.prototype.toString.call(e).slice(8,-1).toLowerCase()}function zn(e,r){return e in r}function Pg(e){return Math.random()<=e}function Hn(e,r,t="0"){const o=String(e);if(o.length<r){let f=o;for(let p=0;p<r-o.length;p+=1)f=t+f;return f}return o}function vi(){const e=new Date,r=parseInt(`${e.getFullYear()}${Hn(e.getMonth()+1,2)}${Hn(e.getDate(),2)}`,10).toString(16),t=parseInt(`${Hn(e.getHours(),2)}${Hn(e.getMinutes(),2)}${Hn(e.getSeconds(),2)}${Hn(e.getMilliseconds(),3)}`,10).toString(16);let o=r+t.length+t;for(;o.length<32;)o+=Math.floor(Math.random()*16).toString(16);return`${o.slice(0,8)}-${o.slice(8,16)}-${o.slice(16)}`}function gs(e){const r=document.cookie.match(new RegExp(`${e}=([^;]+)(;|$)`));return r?r[1]:void 0}function Ug(e,r){return navigator.sendBeacon(e,JSON.stringify(r))}function Fg(e,r,t){let{headers:o,type:f}=t||{};typeof o=="function"&&(o=o()),o||(o={}),o["Content-Type"]="application/json",Object.keys(o).forEach(C=>{o[C]=String(o[C])});const p={body:r&&JSON.stringify(r),headers:o,method:"POST",credentials:"include"};if(f==="fetch")return fetch(e,p).then(C=>!0).catch(C=>!1);if(f==="XMLHttpRequest")return new Promise(C=>{const S=new XMLHttpRequest;S.open("POST",e,!0),S.timeout=30*1e3,o&&Object.keys(o).forEach(A=>{S.setRequestHeader(A,o[A])}),S.onload=function(){S.status>=200&&S.status<300?C(!0):C(!1)},S.onerror=function(){C(!1)},S.ontimeout=function(){C(!1)},S.send(p.body)})}const co=[];function Dg(e,r){return new Promise(t=>{const o=new Image;o.src=`${e}?v=${encodeURIComponent(JSON.stringify(r))}`,co.push(o),o.onload=()=>{t()},o.onerror=function(){t()}})}function jg(e,r){return new Promise(t=>{const o=new XMLHttpRequest;o.open("post",e),o.setRequestHeader("content-type","application/json"),o.send(JSON.stringify(r)),o.onreadystatechange=function(){o.readyState===4&&t()}})}function uo(e,r,t){if(e.length===0)return t;let o;for(let f=0;f<e.length;f++){const p=e[f];f===0||r?o=p(t):o=p(o)}return o}function ms(e){return ao(e)?e:[e]}const Wg=Array.prototype.map||function(r){const t=[];for(let o=0;o<this.length;o+=1)t.push(r(this[o],o,this));return t};function yc(e,r){return Wg.call(e,r)}const zg=Array.prototype.filter||function(r){const t=[];for(let o=0;o<this.length;o+=1)r(this[o],o,this)&&t.push(this[o]);return t};function Hg(e,r){return zg.call(e,r)}const Vg=bi&&window?.requestIdleCallback||bi&&window?.requestAnimationFrame||(e=>setTimeout(e,17));function vc(e,r){const t=JSON.stringify(e);return new TextEncoder().encode(t).length/1024>r}function bs(e){const r={},t=e.split("?")[1];if(t){const o=t.split("&");for(const f of o){const[p,C]=f.split("=");r[decodeURIComponent(p)]=decodeURIComponent(C)}}return r}function ho(e,r=new Map){if(e!==null&&typeof e=="object"){let t=r.get(e);return t||(e instanceof Array?(t=[],r.set(e,t),e.forEach((o,f)=>{t[f]=ho(o,r)})):(t={},r.set(e,t),Object.keys(e).forEach(o=>{zn(o,e)&&(t[o]=ho(e[o],r))})),t)}return e}var Zg="1.0.0-alpha.14";const wc="_webtracing_device_id",ys="_webtracing_session_id",Gg=18e5,vs="_webtracing_localization_key",qg=Zg;var Ve=(e=>(e.ERROR="error",e.CONSOLEERROR="consoleError",e.UNHANDLEDREJECTION="unhandledrejection",e.CLICK="click",e.LOAD="load",e.BEFOREUNLOAD="beforeunload",e.FETCH="fetch",e.XHROPEN="xhr-open",e.XHRSEND="xhr-send",e.HASHCHANGE="hashchange",e.HISTORYPUSHSTATE="history-pushState",e.HISTORYREPLACESTATE="history-replaceState",e.POPSTATE="popstate",e.READYSTATECHANGE="readystatechange",e.ONLINE="online",e.OFFLINE="offline",e))(Ve||{}),rr=(e=>(e.PV="pv",e.PVDURATION="pv-duration",e.ERROR="error",e.PERFORMANCE="performance",e.CLICK="click",e.DWELL="dwell",e.CUSTOM="custom",e.INTERSECTION="intersection",e))(rr||{}),Tt=(e=>(e.PAGE="page",e.RESOURCE="resource",e.SERVER="server",e.CODE="code",e.REJECT="reject",e.CONSOLEERROR="console.error",e))(Tt||{});const $g={0:"navigate",1:"reload",2:"back_forward",255:"reserved"};class Yg{handlers;constructor(){this.handlers={}}addEvent(r){!this.handlers[r.type]&&(this.handlers[r.type]=[]),this._getCallbackIndex(r)===-1&&this.handlers[r.type]?.push(r.callback)}delEvent(r){const t=this._getCallbackIndex(r);t!==-1&&this.handlers[r.type]?.splice(t,1)}changeEvent(r,t){const o=this._getCallbackIndex(r);o!==-1&&this.handlers[r.type]?.splice(o,1,t)}getEvent(r){return this.handlers[r]||[]}runEvent(r,...t){this.getEvent(r).forEach(f=>{f(...t)})}_getCallbackIndex(r){if(this.handlers[r.type]){const t=this.handlers[r.type];return t?t.findIndex(o=>o===r.callback):-1}else return-1}}const et=Wt.eventBus||(Wt.eventBus=new Yg),ws="requestId";function Kg(){for(const e in Ve)zn(e,Ve)&&Xg(e)}function Xg(e){if(!zn(e,Ve))return;switch(Ve[e]){case Ve.ERROR:Jg(Ve.ERROR);break;case Ve.UNHANDLEDREJECTION:Qg(Ve.UNHANDLEDREJECTION);break;case Ve.CONSOLEERROR:e0(Ve.CONSOLEERROR);break;case Ve.CLICK:t0(Ve.CLICK);break;case Ve.LOAD:r0(Ve.LOAD);break;case Ve.BEFOREUNLOAD:n0(Ve.BEFOREUNLOAD);break;case Ve.XHROPEN:i0(Ve.XHROPEN);break;case Ve.XHRSEND:o0(Ve.XHRSEND);break;case Ve.FETCH:s0(Ve.FETCH);break;case Ve.HASHCHANGE:a0(Ve.HASHCHANGE);break;case Ve.HISTORYPUSHSTATE:c0(Ve.HISTORYPUSHSTATE);break;case Ve.HISTORYREPLACESTATE:l0(Ve.HISTORYREPLACESTATE);break;case Ve.POPSTATE:u0(Ve.POPSTATE);break;case Ve.OFFLINE:h0(Ve.OFFLINE);break;case Ve.ONLINE:f0(Ve.ONLINE);break}}function Jg(e){cr($e,"error",function(r){et.runEvent(e,r)},!0)}function Qg(e){cr($e,"unhandledrejection",function(r){et.runEvent(e,r)})}function e0(e){jn(console,"error",r=>function(...t){t[0]&&t[0].slice&&t[0].slice(0,12)==="@unimed-web-tracing"||et.runEvent(e,t),r.apply(this,t)})}function t0(e){if(!("document"in $e))return;const r=bc(et.runEvent,100,!0);cr($e.document,"click",function(t){r.call(et,e,t)},!0)}function r0(e){cr($e,"load",function(r){et.runEvent(e,r)},!0)}function n0(e){cr($e,"beforeunload",function(r){et.runEvent(e,r)},!1)}function i0(e){"XMLHttpRequest"in $e&&jn(XMLHttpRequest.prototype,"open",r=>function(...t){et.runEvent(e,...t),r.apply(this,t)})}function o0(e){"XMLHttpRequest"in $e&&jn(XMLHttpRequest.prototype,"send",r=>function(...t){const o=vi();this[ws]=o,this.setRequestHeader(ws,o),et.runEvent(e,this,...t,o),r.apply(this,t)})}function s0(e){"fetch"in $e&&jn($e,"fetch",r=>function(...t){let o=t[1];o||(o=t[1]={}),o.headers||(o.headers={});const f=o.headers[ws]=vi(),p=st();return r.apply($e,t).then(C=>(et.runEvent(e,...t,C,p,f),C))})}function a0(e){cr($e,"hashchange",function(r){et.runEvent(e,r)})}function l0(e){"history"in $e&&"pushState"in $e.history&&jn($e.history,"replaceState",r=>function(...t){et.runEvent(e,...t),r.apply(this,t)})}function c0(e){"history"in $e&&"pushState"in $e.history&&jn($e.history,"pushState",r=>function(...t){et.runEvent(e,...t),r.apply(this,t)})}function u0(e){cr($e,"popstate",function(r){et.runEvent(e,r)})}function h0(e){cr($e,"offline",function(r){et.runEvent(e,r)},!0)}function f0(e){cr($e,"online",function(r){et.runEvent(e,r)},!0)}let _s=function(){return _s=Object.assign||function(e){for(var r,t=1,o=arguments.length;t<o;t++)for(const f in r=arguments[t])Object.prototype.hasOwnProperty.call(r,f)&&(e[f]=r[f]);return e},_s.apply(this,arguments)};function Br(e,r,t,o){return new(t||(t=Promise))(function(f,p){function C(I){try{A(o.next(I))}catch(R){p(R)}}function S(I){try{A(o.throw(I))}catch(R){p(R)}}function A(I){let R;I.done?f(I.value):(R=I.value,R instanceof t?R:new t(function(q){q(R)})).then(C,S)}A((o=o.apply(e,r||[])).next())})}function Ir(e,r){let t,o,f,p,C={label:0,sent:function(){if(1&f[0])throw f[1];return f[1]},trys:[],ops:[]};return p={next:S(0),throw:S(1),return:S(2)},typeof Symbol=="function"&&(p[Symbol.iterator]=function(){return this}),p;function S(A){return function(I){return function(R){if(t)throw new TypeError("Generator is already executing.");for(;p&&(p=0,R[0]&&(C=0)),C;)try{if(t=1,o&&(f=2&R[0]?o.return:R[0]?o.throw||((f=o.return)&&f.call(o),0):o.next)&&!(f=f.call(o,R[1])).done)return f;switch(o=0,f&&(R=[2&R[0],f.value]),R[0]){case 0:case 1:f=R;break;case 4:return C.label++,{value:R[1],done:!1};case 5:C.label++,o=R[1],R=[0];continue;case 7:R=C.ops.pop(),C.trys.pop();continue;default:if(f=C.trys,!((f=f.length>0&&f[f.length-1])||R[0]!==6&&R[0]!==2)){C=0;continue}if(R[0]===3&&(!f||R[1]>f[0]&&R[1]<f[3])){C.label=R[1];break}if(R[0]===6&&C.label<f[1]){C.label=f[1],f=R;break}if(f&&C.label<f[2]){C.label=f[2],C.ops.push(R);break}f[2]&&C.ops.pop(),C.trys.pop();continue}R=r.call(e,C)}catch(q){R=[6,q],o=0}finally{t=f=0}if(5&R[0])throw R[1];return{value:R[0]?R[1]:void 0,done:!0}}([A,I])}}}function Vn(e,r,t){if(t||arguments.length===2)for(var o,f=0,p=r.length;f<p;f++)!o&&f in r||(o||(o=Array.prototype.slice.call(r,0,f)),o[f]=r[f]);return e.concat(o||Array.prototype.slice.call(r))}function Nr(e,r){return new Promise(function(t){return setTimeout(t,e,r)})}function _c(e){return!!e&&typeof e.then=="function"}function Sc(e,r){try{const t=e();_c(t)?t.then(function(o){return r(!0,o)},function(o){return r(!1,o)}):r(!0,t)}catch(t){r(!1,t)}}function Ic(e,r,t){return t===void 0&&(t=16),Br(this,void 0,void 0,function(){let o,f,p;return Ir(this,function(C){switch(C.label){case 0:o=Date.now(),f=0,C.label=1;case 1:return f<e.length?(r(e[f],f),(p=Date.now())>=o+t?(o=p,[4,Nr(0)]):[3,3]):[3,4];case 2:C.sent(),C.label=3;case 3:return++f,[3,1];case 4:return[2]}})})}function fo(e){e.then(void 0,function(){})}function rn(e,r){e=[e[0]>>>16,65535&e[0],e[1]>>>16,65535&e[1]],r=[r[0]>>>16,65535&r[0],r[1]>>>16,65535&r[1]];const t=[0,0,0,0];return t[3]+=e[3]+r[3],t[2]+=t[3]>>>16,t[3]&=65535,t[2]+=e[2]+r[2],t[1]+=t[2]>>>16,t[2]&=65535,t[1]+=e[1]+r[1],t[0]+=t[1]>>>16,t[1]&=65535,t[0]+=e[0]+r[0],t[0]&=65535,[t[0]<<16|t[1],t[2]<<16|t[3]]}function ur(e,r){e=[e[0]>>>16,65535&e[0],e[1]>>>16,65535&e[1]],r=[r[0]>>>16,65535&r[0],r[1]>>>16,65535&r[1]];const t=[0,0,0,0];return t[3]+=e[3]*r[3],t[2]+=t[3]>>>16,t[3]&=65535,t[2]+=e[2]*r[3],t[1]+=t[2]>>>16,t[2]&=65535,t[2]+=e[3]*r[2],t[1]+=t[2]>>>16,t[2]&=65535,t[1]+=e[1]*r[3],t[0]+=t[1]>>>16,t[1]&=65535,t[1]+=e[2]*r[2],t[0]+=t[1]>>>16,t[1]&=65535,t[1]+=e[3]*r[1],t[0]+=t[1]>>>16,t[1]&=65535,t[0]+=e[0]*r[3]+e[1]*r[2]+e[2]*r[1]+e[3]*r[0],t[0]&=65535,[t[0]<<16|t[1],t[2]<<16|t[3]]}function Zn(e,r){return(r%=64)===32?[e[1],e[0]]:r<32?[e[0]<<r|e[1]>>>32-r,e[1]<<r|e[0]>>>32-r]:(r-=32,[e[1]<<r|e[0]>>>32-r,e[0]<<r|e[1]>>>32-r])}function nr(e,r){return(r%=64)===0?e:r<32?[e[0]<<r|e[1]>>>32-r,e[1]<<r]:[e[1]<<r-32,0]}function mt(e,r){return[e[0]^r[0],e[1]^r[1]]}function Ec(e){return e=mt(e,[0,e[0]>>>1]),e=mt(e=ur(e,[4283543511,3981806797]),[0,e[0]>>>1]),e=mt(e=ur(e,[3301882366,444984403]),[0,e[0]>>>1])}function d0(e,r){r=r||0;let t,o=(e=e||"").length%16,f=e.length-o,p=[0,r],C=[0,r],S=[0,0],A=[0,0],I=[2277735313,289559509],R=[1291169091,658871167];for(t=0;t<f;t+=16)S=[255&e.charCodeAt(t+4)|(255&e.charCodeAt(t+5))<<8|(255&e.charCodeAt(t+6))<<16|(255&e.charCodeAt(t+7))<<24,255&e.charCodeAt(t)|(255&e.charCodeAt(t+1))<<8|(255&e.charCodeAt(t+2))<<16|(255&e.charCodeAt(t+3))<<24],A=[255&e.charCodeAt(t+12)|(255&e.charCodeAt(t+13))<<8|(255&e.charCodeAt(t+14))<<16|(255&e.charCodeAt(t+15))<<24,255&e.charCodeAt(t+8)|(255&e.charCodeAt(t+9))<<8|(255&e.charCodeAt(t+10))<<16|(255&e.charCodeAt(t+11))<<24],S=Zn(S=ur(S,I),31),p=rn(p=Zn(p=mt(p,S=ur(S,R)),27),C),p=rn(ur(p,[0,5]),[0,1390208809]),A=Zn(A=ur(A,R),33),C=rn(C=Zn(C=mt(C,A=ur(A,I)),31),p),C=rn(ur(C,[0,5]),[0,944331445]);switch(S=[0,0],A=[0,0],o){case 15:A=mt(A,nr([0,e.charCodeAt(t+14)],48));case 14:A=mt(A,nr([0,e.charCodeAt(t+13)],40));case 13:A=mt(A,nr([0,e.charCodeAt(t+12)],32));case 12:A=mt(A,nr([0,e.charCodeAt(t+11)],24));case 11:A=mt(A,nr([0,e.charCodeAt(t+10)],16));case 10:A=mt(A,nr([0,e.charCodeAt(t+9)],8));case 9:A=ur(A=mt(A,[0,e.charCodeAt(t+8)]),R),C=mt(C,A=ur(A=Zn(A,33),I));case 8:S=mt(S,nr([0,e.charCodeAt(t+7)],56));case 7:S=mt(S,nr([0,e.charCodeAt(t+6)],48));case 6:S=mt(S,nr([0,e.charCodeAt(t+5)],40));case 5:S=mt(S,nr([0,e.charCodeAt(t+4)],32));case 4:S=mt(S,nr([0,e.charCodeAt(t+3)],24));case 3:S=mt(S,nr([0,e.charCodeAt(t+2)],16));case 2:S=mt(S,nr([0,e.charCodeAt(t+1)],8));case 1:S=ur(S=mt(S,[0,e.charCodeAt(t)]),I),p=mt(p,S=ur(S=Zn(S,31),R))}return p=rn(p=mt(p,[0,e.length]),C=mt(C,[0,e.length])),C=rn(C,p),p=rn(p=Ec(p),C=Ec(C)),C=rn(C,p),("00000000"+(p[0]>>>0).toString(16)).slice(-8)+("00000000"+(p[1]>>>0).toString(16)).slice(-8)+("00000000"+(C[0]>>>0).toString(16)).slice(-8)+("00000000"+(C[1]>>>0).toString(16)).slice(-8)}function Ss(e){return parseInt(e)}function mr(e){return parseFloat(e)}function Pr(e,r){return typeof e=="number"&&isNaN(e)?r:e}function br(e){return e.reduce(function(r,t){return r+(t?1:0)},0)}function Ac(e,r){if(r===void 0&&(r=1),Math.abs(r)>=1)return Math.round(e/r)*r;const t=1/r;return Math.round(e*t)/t}function Cc(e){return e&&typeof e=="object"&&"message"in e?e:{message:e}}function p0(e){return typeof e!="function"}function g0(e,r,t){const o=Object.keys(e).filter(function(p){return!function(C,S){for(let A=0,I=C.length;A<I;++A)if(C[A]===S)return!0;return!1}(t,p)}),f=Array(o.length);return Ic(o,function(p,C){f[C]=function(S,A){const I=new Promise(function(R){const q=Date.now();Sc(S.bind(null,A),function(){for(var Y=[],$=0;$<arguments.length;$++)Y[$]=arguments[$];const Q=Date.now()-q;if(!Y[0])return R(function(){return{error:Cc(Y[1]),duration:Q}});const Se=Y[1];if(p0(Se))return R(function(){return{value:Se,duration:Q}});R(function(){return new Promise(function(ae){const Ie=Date.now();Sc(Se,function(){for(var we=[],_e=0;_e<arguments.length;_e++)we[_e]=arguments[_e];const me=Q+Date.now()-Ie;if(!we[0])return ae({error:Cc(we[1]),duration:me});ae({value:we[1],duration:me})})})})})});return fo(I),function(){return I.then(function(R){return R()})}}(e[p],r)}),function(){return Br(this,void 0,void 0,function(){let p,C,S,A,I,R;return Ir(this,function(q){switch(q.label){case 0:for(p={},C=0,S=o;C<S.length;C++)A=S[C],p[A]=void 0;I=Array(o.length),R=function(){let Y;return Ir(this,function($){switch($.label){case 0:return Y=!0,[4,Ic(o,function(Q,Se){if(!I[Se])if(f[Se]){const ae=f[Se]().then(function(Ie){return p[Q]=Ie});fo(ae),I[Se]=ae}else Y=!1})];case 1:return $.sent(),Y?[2,"break"]:[4,Nr(1)];case 2:return $.sent(),[2]}})},q.label=1;case 1:return[5,R()];case 2:if(q.sent()==="break")return[3,4];q.label=3;case 3:return[3,1];case 4:return[4,Promise.all(I)];case 5:return q.sent(),[2,p]}})})}}function kc(){const e=window,r=navigator;return br(["MSCSSMatrix"in e,"msSetImmediate"in e,"msIndexedDB"in e,"msMaxTouchPoints"in r,"msPointerEnabled"in r])>=4}function m0(){const e=window,r=navigator;return br(["msWriteProfilerMark"in e,"MSStream"in e,"msLaunchUri"in r,"msSaveBlob"in r])>=3&&!kc()}function Is(){const e=window,r=navigator;return br(["webkitPersistentStorage"in r,"webkitTemporaryStorage"in r,r.vendor.indexOf("Google")===0,"webkitResolveLocalFileSystemURL"in e,"BatteryManager"in e,"webkitMediaStream"in e,"webkitSpeechGrammar"in e])>=5}function wi(){const e=window,r=navigator;return br(["ApplePayError"in e,"CSSPrimitiveValue"in e,"Counter"in e,r.vendor.indexOf("Apple")===0,"getStorageUpdates"in r,"WebKitMediaKeys"in e])>=4}function Es(){const e=window;return br(["safari"in e,!("DeviceMotionEvent"in e),!("ongestureend"in e),!("standalone"in navigator)])>=3}function b0(){let e,r,t=window;return br(["buildID"in navigator,"MozAppearance"in((r=(e=document.documentElement)===null||e===void 0?void 0:e.style)!==null&&r!==void 0?r:{}),"onmozfullscreenchange"in t,"mozInnerScreenX"in t,"CSSMozDocumentRule"in t,"CanvasCaptureMediaStream"in t])>=4}function y0(){const e=document;return e.fullscreenElement||e.msFullscreenElement||e.mozFullScreenElement||e.webkitFullscreenElement||null}function Tc(){const e=Is(),r=b0();if(!e&&!r)return!1;const t=window;return br(["onorientationchange"in t,"orientation"in t,e&&!("SharedWorker"in t),r&&/android/i.test(navigator.appVersion)])>=2}function Rc(e){const r=new Error(e);return r.name=e,r}function Oc(e,r,t){let o,f,p;return t===void 0&&(t=50),Br(this,void 0,void 0,function(){let C,S;return Ir(this,function(A){switch(A.label){case 0:C=document,A.label=1;case 1:return C.body?[3,3]:[4,Nr(t)];case 2:return A.sent(),[3,1];case 3:S=C.createElement("iframe"),A.label=4;case 4:return A.trys.push([4,,10,11]),[4,new Promise(function(I,R){let q=!1,Y=function(){q=!0,I()};S.onload=Y,S.onerror=function(Se){q=!0,R(Se)};const $=S.style;$.setProperty("display","block","important"),$.position="absolute",$.top="0",$.left="0",$.visibility="hidden",r&&"srcdoc"in S?S.srcdoc=r:S.src="about:blank",C.body.appendChild(S);const Q=function(){let Se,ae;q||(((ae=(Se=S.contentWindow)===null||Se===void 0?void 0:Se.document)===null||ae===void 0?void 0:ae.readyState)==="complete"?Y():setTimeout(Q,10))};Q()})];case 5:A.sent(),A.label=6;case 6:return!((f=(o=S.contentWindow)===null||o===void 0?void 0:o.document)===null||f===void 0)&&f.body?[3,8]:[4,Nr(t)];case 7:return A.sent(),[3,6];case 8:return[4,e(S,S.contentWindow)];case 9:return[2,A.sent()];case 10:return(p=S.parentNode)===null||p===void 0||p.removeChild(S),[7];case 11:return[2]}})})}function v0(e){for(var r=function(S){for(var A,I,R="Unexpected syntax '".concat(S,"'"),q=/^\s*([a-z-]*)(.*)$/i.exec(S),Y=q[1]||void 0,$={},Q=/([.:#][\w-]+|\[.+?\])/gi,Se=function(Ie,we){$[Ie]=$[Ie]||[],$[Ie].push(we)};;){const Ie=Q.exec(q[2]);if(!Ie)break;const we=Ie[0];switch(we[0]){case".":Se("class",we.slice(1));break;case"#":Se("id",we.slice(1));break;case"[":var ae=/^\[([\w-]+)([~|^$*]?=("(.*?)"|([\w-]+)))?(\s+[is])?\]$/.exec(we);if(!ae)throw new Error(R);Se(ae[1],(I=(A=ae[4])!==null&&A!==void 0?A:ae[5])!==null&&I!==void 0?I:"");break;default:throw new Error(R)}}return[Y,$]}(e),t=r[0],o=r[1],f=document.createElement(t??"div"),p=0,C=Object.keys(o);p<C.length;p++){const S=C[p],A=o[S].join(" ");S==="style"?w0(f.style,A):f.setAttribute(S,A)}return f}function w0(e,r){for(let t=0,o=r.split(";");t<o.length;t++){const f=o[t],p=/^\s*([\w-]+)\s*:\s*(.+?)(\s*!([\w-]+))?\s*$/.exec(f);if(p){const C=p[1],S=p[2],A=p[4];e.setProperty(C,S,A||"")}}}const Gn=["monospace","sans-serif","serif"],xc=["sans-serif-thin","ARNO PRO","Agency FB","Arabic Typesetting","Arial Unicode MS","AvantGarde Bk BT","BankGothic Md BT","Batang","Bitstream Vera Sans Mono","Calibri","Century","Century Gothic","Clarendon","EUROSTILE","Franklin Gothic","Futura Bk BT","Futura Md BT","GOTHAM","Gill Sans","HELV","Haettenschweiler","Helvetica Neue","Humanst521 BT","Leelawadee","Letter Gothic","Levenim MT","Lucida Bright","Lucida Sans","Menlo","MS Mincho","MS Outlook","MS Reference Specialty","MS UI Gothic","MT Extra","MYRIAD PRO","Marlett","Meiryo UI","Microsoft Uighur","Minion Pro","Monotype Corsiva","PMingLiU","Pristina","SCRIPTINA","Segoe UI Light","Serifa","SimHei","Small Fonts","Staccato222 BT","TRAJAN PRO","Univers CE 55 Medium","Vrinda","ZWAdobeF"];function As(e){return e.toDataURL()}let po,Cs;function _0(){const e=this;return function(){if(Cs===void 0){const r=function(){const t=ks();Ts(t)?Cs=setTimeout(r,2500):(po=t,Cs=void 0)};r()}}(),function(){return Br(e,void 0,void 0,function(){let r;return Ir(this,function(t){switch(t.label){case 0:return Ts(r=ks())?po?[2,Vn([],po,!0)]:y0()?[4,(o=document,(o.exitFullscreen||o.msExitFullscreen||o.mozCancelFullScreen||o.webkitExitFullscreen).call(o))]:[3,2]:[3,2];case 1:t.sent(),r=ks(),t.label=2;case 2:return Ts(r)||(po=r),[2,r]}let o})})}}function ks(){const e=screen;return[Pr(mr(e.availTop),null),Pr(mr(e.width)-mr(e.availWidth)-Pr(mr(e.availLeft),0),null),Pr(mr(e.height)-mr(e.availHeight)-Pr(mr(e.availTop),0),null),Pr(mr(e.availLeft),null)]}function Ts(e){for(let r=0;r<4;++r)if(e[r])return!1;return!0}function S0(e){let r;return Br(this,void 0,void 0,function(){let t,o,f,p,C,S,A;return Ir(this,function(I){switch(I.label){case 0:for(t=document,o=t.createElement("div"),f=new Array(e.length),p={},Mc(o),A=0;A<e.length;++A)C=v0(e[A]),Mc(S=t.createElement("div")),S.appendChild(C),o.appendChild(S),f[A]=C;I.label=1;case 1:return t.body?[3,3]:[4,Nr(50)];case 2:return I.sent(),[3,1];case 3:t.body.appendChild(o);try{for(A=0;A<e.length;++A)f[A].offsetParent||(p[e[A]]=!0)}finally{(r=o.parentNode)===null||r===void 0||r.removeChild(o)}return[2,p]}})})}function Mc(e){e.style.setProperty("display","block","important")}function Lc(e){return matchMedia("(inverted-colors: ".concat(e,")")).matches}function Bc(e){return matchMedia("(forced-colors: ".concat(e,")")).matches}function qn(e){return matchMedia("(prefers-contrast: ".concat(e,")")).matches}function Nc(e){return matchMedia("(prefers-reduced-motion: ".concat(e,")")).matches}function Pc(e){return matchMedia("(dynamic-range: ".concat(e,")")).matches}const it=Math,Vt=function(){return 0},Rs={default:[],apple:[{font:"-apple-system-body"}],serif:[{fontFamily:"serif"}],sans:[{fontFamily:"sans-serif"}],mono:[{fontFamily:"monospace"}],min:[{fontSize:"1px"}],system:[{fontFamily:"system-ui"}]},I0={fonts:function(){return Oc(function(e,r){const t=r.document,o=t.body;o.style.fontSize="48px";const f=t.createElement("div"),p={},C={},S=function(R){const q=t.createElement("span"),Y=q.style;return Y.position="absolute",Y.top="0",Y.left="0",Y.fontFamily=R,q.textContent="mmMwWLliI0O&1",f.appendChild(q),q},A=Gn.map(S),I=function(){for(var R={},q=function(Q){R[Q]=Gn.map(function(Se){return function(ae,Ie){return S("'".concat(ae,"',").concat(Ie))}(Q,Se)})},Y=0,$=xc;Y<$.length;Y++)q($[Y]);return R}();o.appendChild(f);for(let R=0;R<Gn.length;R++)p[Gn[R]]=A[R].offsetWidth,C[Gn[R]]=A[R].offsetHeight;return xc.filter(function(R){return r=I[R],Gn.some(function(q,Y){return r[Y].offsetWidth!==p[q]||r[Y].offsetHeight!==C[q]})})})},domBlockers:function(e){const r=(e===void 0?{}:e).debug;return Br(this,void 0,void 0,function(){let t,o,f,p,C;return Ir(this,function(S){switch(S.label){case 0:return wi()||Tc()?(A=atob,t={abpIndo:["#Iklan-Melayang","#Kolom-Iklan-728","#SidebarIklan-wrapper",A("YVt0aXRsZT0iN25hZ2EgcG9rZXIiIGld"),'[title="ALIENBOLA" i]'],abpvn:["#quangcaomb",A("Lmlvc0Fkc2lvc0Fkcy1sYXlvdXQ="),".quangcao",A("W2hyZWZePSJodHRwczovL3I4OC52bi8iXQ=="),A("W2hyZWZePSJodHRwczovL3piZXQudm4vIl0=")],adBlockFinland:[".mainostila",A("LnNwb25zb3JpdA=="),".ylamainos",A("YVtocmVmKj0iL2NsaWNrdGhyZ2guYXNwPyJd"),A("YVtocmVmXj0iaHR0cHM6Ly9hcHAucmVhZHBlYWsuY29tL2FkcyJd")],adBlockPersian:["#navbar_notice_50",".kadr",'TABLE[width="140px"]',"#divAgahi",A("I2FkMl9pbmxpbmU=")],adBlockWarningRemoval:["#adblock-honeypot",".adblocker-root",".wp_adblock_detect",A("LmhlYWRlci1ibG9ja2VkLWFk"),A("I2FkX2Jsb2NrZXI=")],adGuardAnnoyances:['amp-embed[type="zen"]',".hs-sosyal","#cookieconsentdiv",'div[class^="app_gdpr"]',".as-oil"],adGuardBase:[".BetterJsPopOverlay",A("I2FkXzMwMFgyNTA="),A("I2Jhbm5lcmZsb2F0MjI="),A("I2FkLWJhbm5lcg=="),A("I2NhbXBhaWduLWJhbm5lcg==")],adGuardChinese:[A("LlppX2FkX2FfSA=="),A("YVtocmVmKj0iL29kMDA1LmNvbSJd"),A("YVtocmVmKj0iLmh0aGJldDM0LmNvbSJd"),".qq_nr_lad","#widget-quan"],adGuardFrench:[A("I2Jsb2NrLXZpZXdzLWFkcy1zaWRlYmFyLWJsb2NrLWJsb2Nr"),"#pavePub",A("LmFkLWRlc2t0b3AtcmVjdGFuZ2xl"),".mobile_adhesion",".widgetadv"],adGuardGerman:[A("LmJhbm5lcml0ZW13ZXJidW5nX2hlYWRfMQ=="),A("LmJveHN0YXJ0d2VyYnVuZw=="),A("LndlcmJ1bmcz"),A("YVtocmVmXj0iaHR0cDovL3d3dy5laXMuZGUvaW5kZXgucGh0bWw/cmVmaWQ9Il0="),A("YVtocmVmXj0iaHR0cHM6Ly93d3cudGlwaWNvLmNvbS8/YWZmaWxpYXRlSWQ9Il0=")],adGuardJapanese:["#kauli_yad_1",A("YVtocmVmXj0iaHR0cDovL2FkMi50cmFmZmljZ2F0ZS5uZXQvIl0="),A("Ll9wb3BJbl9pbmZpbml0ZV9hZA=="),A("LmFkZ29vZ2xl"),A("LmFkX3JlZ3VsYXIz")],adGuardMobile:[A("YW1wLWF1dG8tYWRz"),A("LmFtcF9hZA=="),'amp-embed[type="24smi"]',"#mgid_iframe1",A("I2FkX2ludmlld19hcmVh")],adGuardRussian:[A("YVtocmVmXj0iaHR0cHM6Ly9hZC5sZXRtZWFkcy5jb20vIl0="),A("LnJlY2xhbWE="),'div[id^="smi2adblock"]',A("ZGl2W2lkXj0iQWRGb3hfYmFubmVyXyJd"),A("I2FkX3NxdWFyZQ==")],adGuardSocial:[A("YVtocmVmXj0iLy93d3cuc3R1bWJsZXVwb24uY29tL3N1Ym1pdD91cmw9Il0="),A("YVtocmVmXj0iLy90ZWxlZ3JhbS5tZS9zaGFyZS91cmw/Il0="),".etsy-tweet","#inlineShare",".popup-social"],adGuardSpanishPortuguese:["#barraPublicidade","#Publicidade","#publiEspecial","#queTooltip",A("W2hyZWZePSJodHRwOi8vYWRzLmdsaXNwYS5jb20vIl0=")],adGuardTrackingProtection:["#qoo-counter",A("YVtocmVmXj0iaHR0cDovL2NsaWNrLmhvdGxvZy5ydS8iXQ=="),A("YVtocmVmXj0iaHR0cDovL2hpdGNvdW50ZXIucnUvdG9wL3N0YXQucGhwIl0="),A("YVtocmVmXj0iaHR0cDovL3RvcC5tYWlsLnJ1L2p1bXAiXQ=="),"#top100counter"],adGuardTurkish:["#backkapat",A("I3Jla2xhbWk="),A("YVtocmVmXj0iaHR0cDovL2Fkc2Vydi5vbnRlay5jb20udHIvIl0="),A("YVtocmVmXj0iaHR0cDovL2l6bGVuemkuY29tL2NhbXBhaWduLyJd"),A("YVtocmVmXj0iaHR0cDovL3d3dy5pbnN0YWxsYWRzLm5ldC8iXQ==")],bulgarian:[A("dGQjZnJlZW5ldF90YWJsZV9hZHM="),"#ea_intext_div",".lapni-pop-over","#xenium_hot_offers",A("I25ld0Fk")],easyList:[A("I0FEX0NPTlRST0xfMjg="),A("LnNlY29uZC1wb3N0LWFkcy13cmFwcGVy"),".universalboxADVBOX03",A("LmFkdmVydGlzZW1lbnQtNzI4eDkw"),A("LnNxdWFyZV9hZHM=")],easyListChina:[A("YVtocmVmKj0iLndlbnNpeHVldGFuZy5jb20vIl0="),A("LmFwcGd1aWRlLXdyYXBbb25jbGljayo9ImJjZWJvcy5jb20iXQ=="),A("LmZyb250cGFnZUFkdk0="),"#taotaole","#aafoot.top_box"],easyListCookie:["#AdaCompliance.app-notice",".text-center.rgpd",".panel--cookie",".js-cookies-andromeda",".elxtr-consent"],easyListCzechSlovak:["#onlajny-stickers",A("I3Jla2xhbW5pLWJveA=="),A("LnJla2xhbWEtbWVnYWJvYXJk"),".sklik",A("W2lkXj0ic2tsaWtSZWtsYW1hIl0=")],easyListDutch:[A("I2FkdmVydGVudGll"),A("I3ZpcEFkbWFya3RCYW5uZXJCbG9jaw=="),".adstekst",A("YVtocmVmXj0iaHR0cHM6Ly94bHR1YmUubmwvY2xpY2svIl0="),"#semilo-lrectangle"],easyListGermany:[A("I0FkX1dpbjJkYXk="),A("I3dlcmJ1bmdzYm94MzAw"),A("YVtocmVmXj0iaHR0cDovL3d3dy5yb3RsaWNodGthcnRlaS5jb20vP3NjPSJd"),A("I3dlcmJ1bmdfd2lkZXNreXNjcmFwZXJfc2NyZWVu"),A("YVtocmVmXj0iaHR0cDovL2xhbmRpbmcucGFya3BsYXR6a2FydGVpLmNvbS8/YWc9Il0=")],easyListItaly:[A("LmJveF9hZHZfYW5udW5jaQ=="),".sb-box-pubbliredazionale",A("YVtocmVmXj0iaHR0cDovL2FmZmlsaWF6aW9uaWFkcy5zbmFpLml0LyJd"),A("YVtocmVmXj0iaHR0cHM6Ly9hZHNlcnZlci5odG1sLml0LyJd"),A("YVtocmVmXj0iaHR0cHM6Ly9hZmZpbGlhemlvbmlhZHMuc25haS5pdC8iXQ==")],easyListLithuania:[A("LnJla2xhbW9zX3RhcnBhcw=="),A("LnJla2xhbW9zX251b3JvZG9z"),A("aW1nW2FsdD0iUmVrbGFtaW5pcyBza3lkZWxpcyJd"),A("aW1nW2FsdD0iRGVkaWt1b3RpLmx0IHNlcnZlcmlhaSJd"),A("aW1nW2FsdD0iSG9zdGluZ2FzIFNlcnZlcmlhaS5sdCJd")],estonian:[A("QVtocmVmKj0iaHR0cDovL3BheTRyZXN1bHRzMjQuZXUiXQ==")],fanboyAnnoyances:["#feedback-tab","#taboola-below-article",".feedburnerFeedBlock",".widget-feedburner-counter",'[title="Subscribe to our blog"]'],fanboyAntiFacebook:[".util-bar-module-firefly-visible"],fanboyEnhancedTrackers:[".open.pushModal","#issuem-leaky-paywall-articles-zero-remaining-nag","#sovrn_container",'div[class$="-hide"][zoompage-fontsize][style="display: block;"]',".BlockNag__Card"],fanboySocial:[".td-tags-and-social-wrapper-box",".twitterContainer",".youtube-social",'a[title^="Like us on Facebook"]','img[alt^="Share on Digg"]'],frellwitSwedish:[A("YVtocmVmKj0iY2FzaW5vcHJvLnNlIl1bdGFyZ2V0PSJfYmxhbmsiXQ=="),A("YVtocmVmKj0iZG9rdG9yLXNlLm9uZWxpbmsubWUiXQ=="),"article.category-samarbete",A("ZGl2LmhvbGlkQWRz"),"ul.adsmodern"],greekAdBlock:[A("QVtocmVmKj0iYWRtYW4ub3RlbmV0LmdyL2NsaWNrPyJd"),A("QVtocmVmKj0iaHR0cDovL2F4aWFiYW5uZXJzLmV4b2R1cy5nci8iXQ=="),A("QVtocmVmKj0iaHR0cDovL2ludGVyYWN0aXZlLmZvcnRobmV0LmdyL2NsaWNrPyJd"),"DIV.agores300","TABLE.advright"],hungarian:["#cemp_doboz",".optimonk-iframe-container",A("LmFkX19tYWlu"),A("W2NsYXNzKj0iR29vZ2xlQWRzIl0="),"#hirdetesek_box"],iDontCareAboutCookies:['.alert-info[data-block-track*="CookieNotice"]',".ModuleTemplateCookieIndicator",".o--cookies--container",".cookie-msg-info-container","#cookies-policy-sticky"],icelandicAbp:[A("QVtocmVmXj0iL2ZyYW1ld29yay9yZXNvdXJjZXMvZm9ybXMvYWRzLmFzcHgiXQ==")],latvian:[A("YVtocmVmPSJodHRwOi8vd3d3LnNhbGlkemluaS5sdi8iXVtzdHlsZT0iZGlzcGxheTogYmxvY2s7IHdpZHRoOiAxMjBweDsgaGVpZ2h0OiA0MHB4OyBvdmVyZmxvdzogaGlkZGVuOyBwb3NpdGlvbjogcmVsYXRpdmU7Il0="),A("YVtocmVmPSJodHRwOi8vd3d3LnNhbGlkemluaS5sdi8iXVtzdHlsZT0iZGlzcGxheTogYmxvY2s7IHdpZHRoOiA4OHB4OyBoZWlnaHQ6IDMxcHg7IG92ZXJmbG93OiBoaWRkZW47IHBvc2l0aW9uOiByZWxhdGl2ZTsiXQ==")],listKr:[A("YVtocmVmKj0iLy9hZC5wbGFuYnBsdXMuY28ua3IvIl0="),A("I2xpdmVyZUFkV3JhcHBlcg=="),A("YVtocmVmKj0iLy9hZHYuaW1hZHJlcC5jby5rci8iXQ=="),A("aW5zLmZhc3R2aWV3LWFk"),".revenue_unit_item.dable"],listeAr:[A("LmdlbWluaUxCMUFk"),".right-and-left-sponsers",A("YVtocmVmKj0iLmFmbGFtLmluZm8iXQ=="),A("YVtocmVmKj0iYm9vcmFxLm9yZyJd"),A("YVtocmVmKj0iZHViaXp6bGUuY29tL2FyLz91dG1fc291cmNlPSJd")],listeFr:[A("YVtocmVmXj0iaHR0cDovL3Byb21vLnZhZG9yLmNvbS8iXQ=="),A("I2FkY29udGFpbmVyX3JlY2hlcmNoZQ=="),A("YVtocmVmKj0id2Vib3JhbWEuZnIvZmNnaS1iaW4vIl0="),".site-pub-interstitiel",'div[id^="crt-"][data-criteo-id]'],officialPolish:["#ceneo-placeholder-ceneo-12",A("W2hyZWZePSJodHRwczovL2FmZi5zZW5kaHViLnBsLyJd"),A("YVtocmVmXj0iaHR0cDovL2Fkdm1hbmFnZXIudGVjaGZ1bi5wbC9yZWRpcmVjdC8iXQ=="),A("YVtocmVmXj0iaHR0cDovL3d3dy50cml6ZXIucGwvP3V0bV9zb3VyY2UiXQ=="),A("ZGl2I3NrYXBpZWNfYWQ=")],ro:[A("YVtocmVmXj0iLy9hZmZ0cmsuYWx0ZXgucm8vQ291bnRlci9DbGljayJd"),'a[href^="/magazin/"]',A("YVtocmVmXj0iaHR0cHM6Ly9ibGFja2ZyaWRheXNhbGVzLnJvL3Ryay9zaG9wLyJd"),A("YVtocmVmXj0iaHR0cHM6Ly9ldmVudC4ycGVyZm9ybWFudC5jb20vZXZlbnRzL2NsaWNrIl0="),A("YVtocmVmXj0iaHR0cHM6Ly9sLnByb2ZpdHNoYXJlLnJvLyJd")],ruAd:[A("YVtocmVmKj0iLy9mZWJyYXJlLnJ1LyJd"),A("YVtocmVmKj0iLy91dGltZy5ydS8iXQ=="),A("YVtocmVmKj0iOi8vY2hpa2lkaWtpLnJ1Il0="),"#pgeldiz",".yandex-rtb-block"],thaiAds:["a[href*=macau-uta-popup]",A("I2Fkcy1nb29nbGUtbWlkZGxlX3JlY3RhbmdsZS1ncm91cA=="),A("LmFkczMwMHM="),".bumq",".img-kosana"],webAnnoyancesUltralist:["#mod-social-share-2","#social-tools",A("LmN0cGwtZnVsbGJhbm5lcg=="),".zergnet-recommend",".yt.btn-link.btn-md.btn"]},o=Object.keys(t),[4,S0((C=[]).concat.apply(C,o.map(function(I){return t[I]})))]):[2,void 0];case 1:return f=S.sent(),r&&function(I,R){for(var q="DOM blockers debug:\n```",Y=0,$=Object.keys(I);Y<$.length;Y++){const Q=$[Y];q+=`
`.concat(Q,":");for(let Se=0,ae=I[Q];Se<ae.length;Se++){const Ie=ae[Se];q+=`
`.concat(R[Ie]?"\u{1F6AB}":"\u27A1\uFE0F"," ").concat(Ie)}}console.log("".concat(q,"\n```"))}(t,f),(p=o.filter(function(I){const R=t[I];return br(R.map(function(q){return f[q]}))>.6*R.length})).sort(),[2,p]}let A})})},fontPreferences:function(){return function(e,r){return r===void 0&&(r=4e3),Oc(function(t,o){const f=o.document,p=f.body,C=p.style;C.width="".concat(r,"px"),C.webkitTextSizeAdjust=C.textSizeAdjust="none",Is()?p.style.zoom="".concat(1/o.devicePixelRatio):wi()&&(p.style.zoom="reset");const S=f.createElement("div");return S.textContent=Vn([],Array(r/20<<0),!0).map(function(){return"word"}).join(" "),p.appendChild(S),e(f,p)})}(function(e,r){for(var t={},o={},f=0,p=Object.keys(Rs);f<p.length;f++){var C=p[f],S=Rs[C],A=S[0],I=A===void 0?{}:A,R=S[1],q=R===void 0?"mmMwWLliI0fiflO&1":R,Y=e.createElement("span");Y.textContent=q,Y.style.whiteSpace="nowrap";for(let $=0,Q=Object.keys(I);$<Q.length;$++){const Se=Q[$],ae=I[Se];ae!==void 0&&(Y.style[Se]=ae)}t[C]=Y,r.appendChild(e.createElement("br")),r.appendChild(Y)}for(let $=0,Q=Object.keys(Rs);$<Q.length;$++)o[C=Q[$]]=t[C].getBoundingClientRect().width;return o})},audio:function(){const e=window,r=e.OfflineAudioContext||e.webkitOfflineAudioContext;if(!r)return-2;if(wi()&&!Es()&&!function(){const I=window;return br(["DOMRectList"in I,"RTCPeerConnectionIceEvent"in I,"SVGGeometryElement"in I,"ontransitioncancel"in I])>=3}())return-1;const t=new r(1,5e3,44100),o=t.createOscillator();o.type="triangle",o.frequency.value=1e4;const f=t.createDynamicsCompressor();f.threshold.value=-50,f.knee.value=40,f.ratio.value=12,f.attack.value=0,f.release.value=.25,o.connect(f),f.connect(t.destination),o.start(0);const p=function(I){let R=3,q=500,Y=500,$=5e3,Q=function(){};return[new Promise(function(Se,ae){let Ie=!1,we=0,_e=0;I.oncomplete=function(Ge){return Se(Ge.renderedBuffer)};const me=function(){setTimeout(function(){return ae(Rc("timeout"))},Math.min(Y,_e+$-Date.now()))},Ue=function(){try{const Ge=I.startRendering();switch(_c(Ge)&&fo(Ge),I.state){case"running":_e=Date.now(),Ie&&me();break;case"suspended":document.hidden||we++,Ie&&we>=R?ae(Rc("suspended")):setTimeout(Ue,q)}}catch(Ge){ae(Ge)}};Ue(),Q=function(){Ie||(Ie=!0,_e>0&&me())}}),Q]}(t),C=p[0],S=p[1],A=C.then(function(I){return function(R){for(var q=0,Y=0;Y<R.length;++Y)q+=Math.abs(R[Y]);return q}(I.getChannelData(0).subarray(4500))},function(I){if(I.name==="timeout"||I.name==="suspended")return-3;throw I});return fo(A),function(){return S(),A}},screenFrame:function(){const e=this,r=_0();return function(){return Br(e,void 0,void 0,function(){let t,o;return Ir(this,function(f){switch(f.label){case 0:return[4,r()];case 1:return t=f.sent(),[2,[(o=function(p){return p===null?null:Ac(p,10)})(t[0]),o(t[1]),o(t[2]),o(t[3])]]}})})}},osCpu:function(){return navigator.oscpu},languages:function(){let e,r=navigator,t=[],o=r.language||r.userLanguage||r.browserLanguage||r.systemLanguage;if(o!==void 0&&t.push([o]),Array.isArray(r.languages))Is()&&br([!("MediaSettingsRange"in(e=window)),"RTCEncodedAudioFrame"in e,""+e.Intl=="[object Intl]",""+e.Reflect=="[object Reflect]"])>=3||t.push(r.languages);else if(typeof r.languages=="string"){const f=r.languages;f&&t.push(f.split(","))}return t},colorDepth:function(){return window.screen.colorDepth},deviceMemory:function(){return Pr(mr(navigator.deviceMemory),void 0)},screenResolution:function(){const e=screen,r=function(o){return Pr(Ss(o),null)},t=[r(e.width),r(e.height)];return t.sort().reverse(),t},hardwareConcurrency:function(){return Pr(Ss(navigator.hardwareConcurrency),void 0)},timezone:function(){let e,r=(e=window.Intl)===null||e===void 0?void 0:e.DateTimeFormat;if(r){const f=new r().resolvedOptions().timeZone;if(f)return f}let t,o=(t=new Date().getFullYear(),-Math.max(mr(new Date(t,0,1).getTimezoneOffset()),mr(new Date(t,6,1).getTimezoneOffset())));return"UTC".concat(o>=0?"+":"").concat(Math.abs(o))},sessionStorage:function(){try{return!!window.sessionStorage}catch{return!0}},localStorage:function(){try{return!!window.localStorage}catch{return!0}},indexedDB:function(){if(!kc()&&!m0())try{return!!window.indexedDB}catch{return!0}},openDatabase:function(){return!!window.openDatabase},cpuClass:function(){return navigator.cpuClass},platform:function(){const e=navigator.platform;return e==="MacIntel"&&wi()&&!Es()?function(){if(navigator.platform==="iPad")return!0;const r=screen,t=r.width/r.height;return br(["MediaSource"in window,!!Element.prototype.webkitRequestFullscreen,t>.65&&t<1.53])>=2}()?"iPad":"iPhone":e},plugins:function(){const e=navigator.plugins;if(e){for(var r=[],t=0;t<e.length;++t){const p=e[t];if(p){for(var o=[],f=0;f<p.length;++f){const C=p[f];o.push({type:C.type,suffixes:C.suffixes})}r.push({name:p.name,description:p.description,mimeTypes:o})}}return r}},canvas:function(){let e,r,t=!1,o=function(){const C=document.createElement("canvas");return C.width=1,C.height=1,[C,C.getContext("2d")]}(),f=o[0],p=o[1];if(function(C,S){return!(!S||!C.toDataURL)}(f,p)){t=function(S){return S.rect(0,0,10,10),S.rect(2,2,6,6),!S.isPointInPath(5,5,"evenodd")}(p),function(S,A){S.width=240,S.height=60,A.textBaseline="alphabetic",A.fillStyle="#f60",A.fillRect(100,1,62,20),A.fillStyle="#069",A.font='11pt "Times New Roman"';const I="Cwm fjordbank gly ".concat(String.fromCharCode(55357,56835));A.fillText(I,2,15),A.fillStyle="rgba(102, 204, 0, 0.2)",A.font="18pt Arial",A.fillText(I,4,45)}(f,p);const C=As(f);C!==As(f)?e=r="unstable":(r=C,function(S,A){S.width=122,S.height=110,A.globalCompositeOperation="multiply";for(let I=0,R=[["#f2f",40,40],["#2ff",80,40],["#ff2",60,80]];I<R.length;I++){const q=R[I],Y=q[0],$=q[1],Q=q[2];A.fillStyle=Y,A.beginPath(),A.arc($,Q,40,0,2*Math.PI,!0),A.closePath(),A.fill()}A.fillStyle="#f9c",A.arc(60,60,60,0,2*Math.PI,!0),A.arc(60,60,20,0,2*Math.PI,!0),A.fill("evenodd")}(f,p),e=As(f))}else e=r="";return{winding:t,geometry:e,text:r}},touchSupport:function(){let e,r=navigator,t=0;r.maxTouchPoints!==void 0?t=Ss(r.maxTouchPoints):r.msMaxTouchPoints!==void 0&&(t=r.msMaxTouchPoints);try{document.createEvent("TouchEvent"),e=!0}catch{e=!1}return{maxTouchPoints:t,touchEvent:e,touchStart:"ontouchstart"in window}},vendor:function(){return navigator.vendor||""},vendorFlavors:function(){for(var e=[],r=0,t=["chrome","safari","__crWeb","__gCrWeb","yandex","__yb","__ybro","__firefox__","__edgeTrackingPreventionStatistics","webkit","oprt","samsungAr","ucweb","UCShellJava","puffinDevice"];r<t.length;r++){const o=t[r],f=window[o];f&&typeof f=="object"&&e.push(o)}return e.sort()},cookiesEnabled:function(){const e=document;try{e.cookie="cookietest=1; SameSite=Strict;";const r=e.cookie.indexOf("cookietest=")!==-1;return e.cookie="cookietest=1; SameSite=Strict; expires=Thu, 01-Jan-1970 00:00:01 GMT",r}catch{return!1}},colorGamut:function(){for(let e=0,r=["rec2020","p3","srgb"];e<r.length;e++){const t=r[e];if(matchMedia("(color-gamut: ".concat(t,")")).matches)return t}},invertedColors:function(){return!!Lc("inverted")||!Lc("none")&&void 0},forcedColors:function(){return!!Bc("active")||!Bc("none")&&void 0},monochrome:function(){if(matchMedia("(min-monochrome: 0)").matches){for(let e=0;e<=100;++e)if(matchMedia("(max-monochrome: ".concat(e,")")).matches)return e;throw new Error("Too high value")}},contrast:function(){return qn("no-preference")?0:qn("high")||qn("more")?1:qn("low")||qn("less")?-1:qn("forced")?10:void 0},reducedMotion:function(){return!!Nc("reduce")||!Nc("no-preference")&&void 0},hdr:function(){return!!Pc("high")||!Pc("standard")&&void 0},math:function(){let e,r=it.acos||Vt,t=it.acosh||Vt,o=it.asin||Vt,f=it.asinh||Vt,p=it.atanh||Vt,C=it.atan||Vt,S=it.sin||Vt,A=it.sinh||Vt,I=it.cos||Vt,R=it.cosh||Vt,q=it.tan||Vt,Y=it.tanh||Vt,$=it.exp||Vt,Q=it.expm1||Vt,Se=it.log1p||Vt;return{acos:r(.12312423423423424),acosh:t(1e308),acoshPf:(e=1e154,it.log(e+it.sqrt(e*e-1))),asin:o(.12312423423423424),asinh:f(1),asinhPf:function(ae){return it.log(ae+it.sqrt(ae*ae+1))}(1),atanh:p(.5),atanhPf:function(ae){return it.log((1+ae)/(1-ae))/2}(.5),atan:C(.5),sin:S(-1e300),sinh:A(1),sinhPf:function(ae){return it.exp(ae)-1/it.exp(ae)/2}(1),cos:I(10.000000000123),cosh:R(1),coshPf:function(ae){return(it.exp(ae)+1/it.exp(ae))/2}(1),tan:q(-1e300),tanh:Y(1),tanhPf:function(ae){return(it.exp(2*ae)-1)/(it.exp(2*ae)+1)}(1),exp:$(1),expm1:Q(1),expm1Pf:function(ae){return it.exp(ae)-1}(1),log1p:Se(10),log1pPf:function(ae){return it.log(1+ae)}(10),powPI:function(ae){return it.pow(it.PI,ae)}(-100)}},videoCard:function(){let e,r=document.createElement("canvas"),t=(e=r.getContext("webgl"))!==null&&e!==void 0?e:r.getContext("experimental-webgl");if(t&&"getExtension"in t){const o=t.getExtension("WEBGL_debug_renderer_info");if(o)return{vendor:(t.getParameter(o.UNMASKED_VENDOR_WEBGL)||"").toString(),renderer:(t.getParameter(o.UNMASKED_RENDERER_WEBGL)||"").toString()}}},pdfViewerEnabled:function(){return navigator.pdfViewerEnabled},architecture:function(){const e=new Float32Array(1),r=new Uint8Array(e.buffer);return e[0]=1/0,e[0]=e[0]-e[0],r[3]}};function E0(e){const r=function(o){if(Tc())return .4;if(wi())return Es()?.5:.3;const f=o.platform.value||"";return/^Win/.test(f)?.6:/^Mac/.test(f)?.5:.7}(e),t=function(o){return Ac(.99+.01*o,1e-4)}(r);return{score:r,comment:"$ if upgrade to Pro: https://fpjs.dev/pro".replace(/\$/g,"".concat(t))}}function A0(e){return JSON.stringify(e,function(r,t){return t instanceof Error?_s({name:(Vn=t).name,message:Vn.message,stack:(Nr=Vn.stack)===null||Nr===void 0?void 0:Nr.split(`
`)},Vn):t},2)}function C0(e){return d0(function(r){for(var t="",o=0,f=Object.keys(r).sort();o<f.length;o++){const p=f[o],C=r[p],S=C.error?"error":JSON.stringify(C.value);t+="".concat(t?"|":"").concat(p.replace(/([:|\\])/g,"\\$1"),":").concat(S)}return t}(e))}function k0(e){return e===void 0&&(e=50),function(r,t){t===void 0&&(t=1/0);const o=window.requestIdleCallback;return o?new Promise(function(f){return o.call(window,function(){return f()},{timeout:t})}):Nr(Math.min(r,t))}(e,2*e)}function T0(e,r){const t=Date.now();return{get:function(o){return Br(this,void 0,void 0,function(){let f,p,C;return Ir(this,function(S){switch(S.label){case 0:return f=Date.now(),[4,e()];case 1:return p=S.sent(),C=function(A){let I;return{get visitorId(){return I===void 0&&(I=C0(this.components)),I},set visitorId(R){I=R},confidence:E0(A),components:A,version:"3.4.1"}}(p),(r||o?.debug)&&console.log("Copy the text below to get the debug data:\n\n```\nversion: ".concat(C.version,`
userAgent: `).concat(navigator.userAgent,`
timeBetweenLoadAndGet: `).concat(f-t,`
visitorId: `).concat(C.visitorId,`
components: `).concat(A0(p),"\n```")),[2,C]}})})}}}function R0(e){const r=e===void 0?{}:e,t=r.delayFallback,o=r.debug;return r.monitoring,Br(this,void 0,void 0,function(){return Ir(this,function(f){switch(f.label){case 0:return[4,k0(t)];case 1:return f.sent(),[2,T0(g0(I0,{debug:o},[]),o)]}})})}function Os(){const e=gs(ys)||`s_${vi()}`,r=new Date(st()+Gg);return document.cookie=`${ys}=${e};path=/;max-age=1800;expires=${r.toUTCString()}`,e}function O0(){return gs(ys)||Os()}Os();function x0(e){return Uc.test(e)}function M0(e){return Fc.test(e)}const Uc=/((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])/,Fc=/((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))/,L0=[Fc,Uc];function B0(e){let r,t=window.RTCPeerConnection||window.mozRTCPeerConnection||window.webkitRTCPeerConnection;function o(){(r=new t({iceServers:[{urls:"stun:stun.l.google.com:19302"}]})).onicecandidate=C=>p(C),r.createDataChannel("fake_data_channel")}function f(){return r.createOffer().then(C=>r.setLocalDescription(C))}function p(C){C&&C.candidate&&C.candidate.candidate&&e(C&&C.candidate&&C.candidate.candid