var f;
if(!window.__idm_init__&&navigator.platform.startsWith("Win")&&"html"==document.documentElement.localName){window.__idm_init__=!0;Array.prototype.includes||(Array.prototype.includes=function(b,a){return 0<=this.indexOf(b,a)});NodeList.prototype[Symbol.iterator]||(NodeList.prototype[Symbol.iterator]=Array.prototype[Symbol.iterator]);HTMLCollection.prototype[Symbol.iterator]||(HTMLCollection.prototype[Symbol.iterator]=Array.prototype[Symbol.iterator]);"undefined"==typeof browser&&(browser=chrome);navigator.userAgent.includes("Edge/");
navigator.userAgent.includes("Firefox/");navigator.userAgent.includes("OPR/");var v=Array.prototype.includes,z=Function.call.bind(Array.prototype.slice),A=Function.apply.bind(Array.prototype.push),D=Function.call.bind(Array.prototype.forEach),E={16:!0,17:!0,18:!0,45:!0,46:!0},F=v.bind(["video","audio","object","embed"]),G=/(?!)/,N=window.self===window.top,O=window.origin||document.origin||location.origin,P=location.host.split(".").splice(-2,1).shift().toLowerCase(),Q=RegExp("^(?:\\(\\d+\\)\\s+)?(.+?)\\s+[-|@]+\\s*"+
P+"$","i");function H(){browser.runtime.Ba?this.V=browser.runtime.Ba(window):N&&(this.V=0);this.aa=[];this.W=[];this.m={};this.ya();window.__idm_connect__=this.ya.bind(this,!0);this.b(1,window,"resize",this.yb);this.b(1,window,"scroll",this.zb);this.b(1,window,"blur",this.rb);this.b(1,window,"keydown",this.Ga,!0);this.b(1,window,"keyup",this.Ga,!0);this.b(1,window,"mousedown",this.tb,!0);this.b(1,window,"mouseup",this.vb,!0);this.b(1,window,"mousemove",this.ub,!0);this.b(1,window,"click",this.sb,
!0);this.b(1,document,"beforeload",this.pb,!0);this.b(1,document,"DOMContentLoaded",this.Fa);"interactive"!=document.readyState&&"complete"!=document.readyState||this.Fa()}f=H.prototype;f.f=0;f.h=0;f.ca=-1;f.da=-1;f.La=1;f.ea=0;f.c="";f.ra="";f.A="";f.ta=G;f.xa=G;f.L=G;f.l={};f.ua=G;f.va=G;f.wa=G;f.oa=G;f.ja=":root:empty";f.la=":root:empty";f.J=":root:empty";f.ma=":root:empty";f.ia=":root:empty";f.na=":root:empty";f.ha=":root:empty";f.I=":root:empty";f.ka=0;f.K=G;f.qa=G;f.sa=G;f.ya=function(b){this.Ha(-1);
this.a=b=browser.runtime.connect({name:(N?"top":"sub")+(b?":retry":"")+("file:"==location.protocol?":file":"")});this.b(-1,b,"onMessage",this.xb);this.b(-1,b,"onDisconnect",this.wb)};f.wb=function(){browser.runtime.lastError;this.Ha();this.a=this.X=null;window.__idm_init__=!1;window.__idm_connect__=null};f.xb=function(b){switch(b.shift()){case 11:this.$a.apply(this,b);break;case 17:this.ab.apply(this,b);break;case 12:this.bb.apply(this,b);break;case 13:this.Ta=b.shift();break;case 14:this.fb.apply(this,
b);break;case 15:this.gb.apply(this,b);break;case 16:this.hb.apply(this,b);break;case 18:this.eb.apply(this,b)}};f.Bb=function(b,a){switch(this.Y=b){case 1:this.Ua=this.o=!0;this.c=a.shift()||"";this.ta=RegExp(a.shift()||"(?!)");this.L=RegExp(a.shift()||"(?!)");this.l=(a.shift()||"").split(/[|:]/).reduce(R,{});this.ua=RegExp(a.shift()||"(?!)");this.va=RegExp(a.shift()||"(?!)");this.wa=RegExp(a.shift()||"(?!)");this.xa=RegExp(a.shift()||"(?!)");break;case 2:this.o=!0;this.c=a.shift()||"";this.A=a.shift()||
"";this.oa=RegExp(a.shift()||"(?!)");this.ja=a.shift()||":root:empty";this.la=a.shift()||":root:empty";a.shift();this.J=a.shift()||":root:empty";this.ma=a.shift()||":root:empty";this.ia=a.shift()||":root:empty";this.na=a.shift()||":root:empty";this.ha=a.shift()||":root:empty";this.I=a.shift()||":root:empty";this.ka=a.shift()||0;this.Ma=a.shift();this.K=RegExp(a.shift()||"(?!)");break;case 4:this.o=!0;this.c=a.shift()||"";this.ra=a.shift()||"";this.A=a.shift()||"";this.qa=RegExp(a.shift()||"(?!)");
this.Ra=a.shift();this.Ka=a.shift();this.Pa=a.shift();this.Oa=a.shift();break;case 3:this.sa=RegExp(a.shift()||"(?!)");break;case 5:this.o=!0;this.c=a.shift()||"";this.A=a.shift()||"(?!)";this.Sa=a.shift();break;default:this.o=!0,this.c=a.shift()||"",this.pa=a.shift()}this.c.includes("^/")&&((b=this.ra)?b="https?://"+b.slice(+b.startsWith("^"),-b.endsWith("$")||void 0):b=O.replaceAll(".","\\."),this.c=this.c.replaceAll("^/","^(?:"+b+")?/"))};f.U=function(b){if(this.Y&&this.G(arguments))switch(this.Y){case 1:this.ob(b);
break;case 2:this.kb(b);break;case 4:this.lb(b);break;case 3:this.nb(b);break;case 5:this.mb(b)}};f.O=function(b){var a=this.a,c;for(c of document.getElementsByTagName("script"))!c.src&&b.test(c.innerText)&&a.postMessage([34,null,-1,c.outerHTML]);a.postMessage([34,this.u()])};f.Ab=function(b){var a=b.data;if(Array.isArray(a)&&b.origin==O)switch(a[0]){case 1229212977:window.postMessage([1229212978,this.X,this.o,this.Ua,this.c,this.A],"/");break;case 1229212979:this.a.postMessage([36,a[1],a[2]]);break;
case 1229212981:this.Xa(a[1],a[2])}};f.R=function(){var b=window.devicePixelRatio,a=document.width,c=document.body.scrollWidth;a&&c&&(b=a==c?0:a/c);return b};f.s=function(b){var a=b.g;a||(a=b.g=this.X<<13|this.La++,b.setAttribute("__idm_id__",a),this.m[a]=b);return a};f.P=function(b){b.j&&(window.clearTimeout(b.j),b.j=null);b.v&&(b.v.disconnect(),b.v=null);this.i&&this.i.unobserve(b);this.F&&this.F.unobserve(b);delete this.m[b.g]};f.M=function(b,a,c,d){if(!b.v){var e=this.s(b);e&&(a||c)&&((b.v=new MutationObserver(this.H.bind(this))).observe(b,
{attributes:!0,attributeFilter:["style"]}),this.i&&this.i.observe(b),d&&this.F&&this.F.observe(b),d=this.D(b),this.a.postMessage([41,e,b.localName,b.src||b.data,a,c,d]))}};f.Za=function(b,a,c,d,e){var l,m,k,p,g=window.getComputedStyle.bind(window);try{var h=0;var n=document.activeElement;n&&F(n.localName)||(n=document.elementFromPoint(this.ca,this.da))&&!F(n.localName)&&(n=null);for(var q of document.querySelectorAll("video,audio,object,embed")){var r=q.localName,t,u="object"==r||"embed"==r;if(u){var w=
q.type.toLowerCase();if(w.startsWith("text/")||w.startsWith("image/"))continue;if("embed"==r&&"application/x-shockwave-flash"!=w)continue}if(e&&q.T==e&&(l=q))break;if(t=q.src||q.data)t!=b&&t!=a||(l=q);else if(!u)for(var I of q.getElementsByTagName("source"))if((t=I.src)&&(t==b||t==a)&&(l=q))break;if(l)if("cover"==g(q).objectFit){var J=q;l=null}else break;if(!(J||n||m||t&&(t==c||t==d)&&(m=q)||"video"==r&&t.startsWith("data:audio/"))){var B=q.clientWidth,C=q.clientHeight;if(B&&C){var K=q.getBoundingClientRect();
if(!(0>=K.right+window.scrollX||0>=K.bottom+window.scrollY)){var L=g(q);if("cover"!=L.objectFit)if("hidden"==L.visibility)"video"==r&&(p||(p=q));else{u=B*C;if(h<u&&1.35*B>C&&B<3*C){h=u;var S=q}k||(k=q)}}}}}}catch(T){}(q=l||J||n||m)?"video"!=q.localName&&"hidden"==g(q).visibility&&(q=null):q=S||k||p;q&&("embed"!=q.localName||q.clientWidth||q.clientHeight||(b=q.parentElement,"object"==b.localName&&(q=b)),this.s(q)?(b=q.v=new MutationObserver(this.H.bind(this)),b.observe(q,{attributes:!0,attributeFilter:["style"]}),
b.observe(q.parentNode,{childList:!0}),this.i&&this.i.observe(q)):q=null);return q};f.Ya=function(b,a,c){var d=null,e,l=browser.runtime.Ba,m;for(m of document.getElementsByTagName("iframe")){var k=m.Da;null==k&&l&&(k=m.Da=l(m));if(k==b){d=m;break}else d||!(e=m.src)||e!=a&&e!=c||(d=m)}return d&&this.s(d)};f.D=function(b){var a=null;try{var c=window.getComputedStyle(b),d=b.getBoundingClientRect(),e=Math.round(d.width),l=Math.round(d.height);if("hidden"==c.visibility||b.ib)return e>5*l?null:!1;switch(b.localName){case "video":(b.videoWidth||
b.T)&&document.contains(b)&&(a=!1);if(15>e||10>l)return a;break;case "audio":if(!e&&!l)return a;var m=!0}var k=document.documentElement,p=k.scrollWidth||k.clientWidth,g=k.scrollHeight||k.clientHeight,h=Math.round(d.left)+b.clientLeft,n=Math.round(d.top)+b.clientTop;if(h>=p||n>=g||m&&!h&&!n)return a;for(var q=this.ea,r,t;q--&&"block"==c.display&&(r=b.parentElement)&&"div"==r.localName;b=r,c=t){t=window.getComputedStyle(r);if("hidden"==t.overflowX){var u=-b.offsetLeft,w=e-r.offsetWidth-u;0<u&&(h+=u,
e-=u);0<w&&(e-=w);q=0}"hidden"==t.overflowY&&(u=-b.offsetTop,w=l-r.offsetHeight-u,0<u&&(n+=u,l-=u),0<w&&(l-=w),q=0)}0==h&&n==-g&&e==p&&l==g&&(n=0);a=[h,n,h+e,n+l,this.R()]}catch(I){}return a};f.u=function(){var b=N?80:90;try{var a=window.top.document.title}catch(c){}a||(a=(a=document.head.querySelector('meta[property="og:title"]'))&&a.getAttribute("content"),b=70);a&&(a=a.replace(/^\(\d+\)/,"").replace(/[ \t\r\n\u25B6]+/g," "),a=new String(a.trim()),a.src=b);return a};f.cb=function(){if(!document.elementsFromPoint)return 0;
var b=document.documentElement,a=b.clientWidth||b.offsetWidth;b=(b.clientHeight||window.innerHeight)/4;var c=document.elementsFromPoint(0,0),d=0,e=0,l=0,m;for(m of c)if(m.offsetWidth>=a){var k=window.getComputedStyle(m);.95<=k.opacity&&(c=k.zIndex,"fixed"==k.position?(k=m.offsetHeight+m.offsetTop,d<k&&k<b&&(d=k,e=c)):l<c&&(l=c))}e<l&&(d=0);return d};f.$a=function(b,a,c,d,e,l,m,k){m&&M("text/javascript",m);this.X=b;if(c){this.V=c;try{window.frameElement&&(window.frameElement.Da=c)}catch(p){}}this.Ca(e);
d&&this.Bb(d,z(arguments,8));k&&(this.b(2,window,"message",this.Ab),M("text/javascript",k));"loading"==document.readyState?this.ba=!0:this.U()};f.ab=function(b){this.fa&&this.f&&(this.f=0,this.ga=window.setTimeout(this.Z.bind(this,!1),3E3));this.U(!0);b&&this.Ca()};f.Ca=function(b){if(this.G(arguments)){var a=[21,this.Db||location.href,document.referrer];b&&a.push(document.getElementsByTagName("video").length,document.getElementsByTagName("audio").length);this.a.postMessage(a)}};f.fb=function(b){var a=
b?this.G(arguments):1;if(0<a||0>a&&1!=this.Y){a=this.u();var c=this.R(),d=this.cb();this.a.postMessage([24,a,a&&a.src,c,d])}};f.hb=function(b,a,c,d,e){c||(c=this.Ya(a,d,e));d=(d=c&&this.m[c])&&this.D(d);this.a.postMessage([22,b,a,c,d])};f.eb=function(b,a){var c=document.getElementsByTagName("a"),d;for(d of c)try{if(d.href==a){var e=d.download||null;var l=d.innerText.trim()||d.title||null;break}}catch(m){}this.a.postMessage([35,b,e,l])};f.gb=function(b,a,c,d,e,l,m){if(this.G(arguments)){var k=[23,
b,a,!1],p,g,h;if(a)a&&((p=this.m[a])||(k[3]=!0));else{if(p=this.Za(c,d,e,l,m)){if(this.pa&&(g=x(p,this.pa)))var n=200;else if(g=p.getAttribute("operadetachedviewtitle"))n=130;k[2]=a=p.g;k[5]=p.localName;k[6]=p.src||p.data}!g&&(g=this.u())&&(n=g.src,(h=Q.exec(g))&&(g=h[1]));k[7]=g;k[8]=n}p&&(g=this.D(p),null!=g||document.contains(p)?k[4]=g:(this.P(p),k[3]=!0));this.a.postMessage(k)}};f.bb=function(b,a,c,d){var e=d?RegExp(d,"i"):null;d=this.Aa(document,e,a);var l=document.getElementsByTagName("iframe"),
m;for(m of l)try{var k=m.contentDocument;k&&!m.src&&A(d,this.Aa(k,e,a))}catch(p){}b=[27,b,this.V,d.length];c||(b[4]=d,b[5]=location.href,N&&(b[6]=location.href,b[7]=document.title));this.a.postMessage(b)};f.Aa=function(b,a,c){var d=[],e={},l="",m="",k=!c;if(c){var p=b.getSelection();if(!p||p.isCollapsed&&!p.toString().trim())return d}for(var g of b.getElementsByTagName("a"))if(k||p.containsNode(g,!0))try{var h=g.href;h&&!e[h]&&a.test(h)&&(e[h]=d.push([h,2,g.download||null,g.innerText.trim()||g.title]));
c&&e[h]&&(l+=g.innerText,l+="\n")}catch(r){}for(g of b.getElementsByTagName("area"))if(k||p.containsNode(g,!0))try{(h=g.href)&&!e[h]&&a.test(h)&&(e[h]=d.push([h,2,null,g.alt]))}catch(r){}if(k)for(g of b.getElementsByTagName("iframe"))try{(h=g.src)&&!e[h]&&a.test(h)&&(e[h]=d.push([h,4]))}catch(r){}var n=c&&p.toString();if(n){l=this.B(l);for(h of this.B(n))h&&!e[h]&&a.test(h)&&!l.includes(h)&&(e[h]=d.push([h,1]))}if(c)for(g of b.getElementsByTagName("textarea"))if(c=g.selectionStart,n=g.selectionEnd,
(l=p.isCollapsed&&c<n)||p.containsNode(g,!0))try{var q=l?g.value.substring(c,n):g.value;for(h of this.B(q))h&&!e[h]&&a.test(h)&&(e[h]=d.push([h,1]))}catch(r){}if(k||!d.length)for(g of b.getElementsByTagName("img"))if(k||p.containsNode(g,!0))try{(h=g.src)&&!e[h]&&a.test(h)&&(e[h]=d.push([h,3,null,"<<<=IDMTRANSMITIMGPREFIX=>>>"+g.alt])),k&&g.onclick&&(m+=g.onclick,m+="\n")}catch(r){}if(k){for(g of b.getElementsByTagName("script"))m+=g.innerText,m+="\n";if(m)for(h of this.B(m))h&&!e[h]&&a.test(h)&&(e[h]=
d.push([h,5]))}return d};f.B=function(b){if(!this.$){var a="\\b\\w+://(?:[%T]*(?::[%T]*)?@)?[%H.]+\\.[%H]+(?::\\d+)?(?:/(?:(?: +(?!\\w+:))?[%T/~;])*)?(?:\\?[%Q]*)?(?:#[%T]*)?".replace(/%\w/g,function(d){return this[d]}.bind({"%H":"\\w\\-\u00a0-\ufeff","%T":"\\w\\-.+*()$!,%\u00a0-\ufeff","%Q":"^\\s\\[\\]{}()"}));this.$=RegExp(a,"gi")}for(var c=[];a=this.$.exec(b);)c.push(a.shift());return c};f.G=function(b){var a=this.f;a||(b=z(b&&b.callee?b:arguments),b.unshift(arguments.callee.caller),this.W.push(b));
return a};f.Fa=function(b){try{var a=window.top.document.getElementsByTagName("title")[0]}catch(c){}this.f=b&&a?-1:1;a&&(b=this.fa,b||(this.fa=b=new MutationObserver(this.Z.bind(this))),b.observe(a,{childList:!0}));try{this.i=new ResizeObserver(this.H.bind(this))}catch(c){}try{this.F=new IntersectionObserver(this.H.bind(this),{threshold:.2})}catch(c){}this.ba&&(this.ba=!1,this.U());for(b=this.W;a=b.shift();)a.shift().apply(this,a)};f.H=function(b){for(var a of b)b=a.target,b.g&&(document.contains(b)?
(null!=a.isIntersecting&&(b.ib=!a.isIntersecting),b.j&&window.clearTimeout(b.j),b.j=window.setTimeout(this.qb.bind(this,b),200)):(this.a.postMessage([23,null,b.g,!0]),this.P(b)))};f.qb=function(b){b.j=null;var a=document.contains(b),c;a?c=this.D(b):this.P(b);this.a&&this.a.postMessage([23,null,b.g,!a,c])};f.Z=function(b){if(b)window.clearTimeout(this.ga),this.ga=window.setTimeout(this.Z.bind(this,!1),1E3);else{0>this.f?this.f=1:++this.f;for(var a=this.W;b=a.shift();)b.shift().apply(this,b)}};f.pb=
function(b){var a=b.target,c=a.localName;F(c)&&b.url&&(a=this.s(a),this.a.postMessage([25,a,c,b.url]))};f.Ga=function(b){!b.repeat&&E[b.keyCode]&&this.a.postMessage([31,b.keyCode,"keydown"==b.type])};f.tb=function(b){this.Ta&&this.a.postMessage([28]);if(0==b.button){var a=b.view.getSelection();a&&a.isCollapsed&&!a.toString().trim()&&(this.h=1);this.a.postMessage([32,b.button,!0])}};f.vb=function(b){if(0==b.button){this.ca=b.clientX;this.da=b.clientY;this.a.postMessage([32,b.button,!1]);var a=b.view.getSelection();
a&&this.h&&(this.h=a.isCollapsed&&!a.toString().trim()?0:2)&&this.a.postMessage([26,b.clientX,b.clientY,this.R()])}};f.ub=function(){2==this.h&&(this.h=0)};f.sb=function(b){b=b.target;"a"==b.localName&&this.a.postMessage([39,b.hasAttribute("download"),b.href,b.download])};f.zb=function(){this.a.postMessage([29])};f.yb=function(b){b=b.target;this.a.postMessage([30,b.innerWidth,b.innerHeight])};f.rb=function(){this.h=0;this.a.postMessage([33])};f.b=function(b,a,c,d,e){var l=z(arguments);l[3]=d.bind(this);
this.aa.push(l);0>b?(a=a[c],a.addListener.apply(a,l.slice(3))):a.addEventListener.apply(a,l.slice(2))};f.Ha=function(b){for(var a=this.aa,c=0;c<a.length;c++){var d=a[c][0];if(!b||b==d){var e=a.splice(c--,1).pop(),l=e.splice(0,2).pop();0>d?(l=l[e.shift()],l.removeListener.apply(l,e)):l.removeEventListener.apply(l,e)}}};f.ob=function(b){if(!b){b=this.a;var a,c,d,e,l=0;for(k of document.getElementsByTagName("script")){if(k.src){if(e=this.L.exec(k.src))l|=1,this.l[e[1]]?c=e[1]:a=k.src}else if(e=this.xa.exec(k.innerText))l|=
2,this.l[e[1]]&&(d=parseInt(e[1],10));else if(this.ta.test(k.innerText)){l|=4;var m=k.outerHTML}if(7==l)break}if(d||c){var k={};k[118]=d;k[124]=c;b.postMessage([37,1,2,k])}b.postMessage([34,this.u(),null,m]);a&&(m=new XMLHttpRequest,m.responseType="text",m.timeout=1E4,m.onreadystatechange=this.Cb.bind(this,a,m),m.open("GET",a,!0),m.send())}};f.Cb=function(b,a){if(4==a.readyState){var c=this.L.exec(b);if((b=(b=this.ua.exec(a.response))&&parseInt(b[1]||b[2],10))&&(!this.l[b]||!this.l[c[1]])){var d=
this.va.exec(a.response);a=this.wa.exec(a.response);if(d&&a&&d[2]==a[1]){c=c&&c[1];var e={};e[118]=b;e[119]=d[0];e[120]=a[0];e[124]=c;this.a.postMessage([37,1,1,e])}}}};f.kb=function d(a,c){a?(c&&a.shift().disconnect(),this.S.disconnect(),this.Ja.disconnect(),this.Ia.clear(),this.C.clear()):(this.O(this.oa),this.S=new MutationObserver(this.Wa.bind(this)),this.Ja=new MutationObserver(this.Va.bind(this)),this.Ia=new Set,this.C=new Set,this.ea=3);if(c=this.Na=document.querySelector(this.la)){if(a=this.S,
a.observe(c,{childList:!0}),!this.za(c,!0)&&(c=c.querySelector(this.ma))){var e=y(c,this.J);e&&a.observe(c,{childList:!0});a.observe(e||c.parentNode,{childList:!0})}}else!a&&(c=document.querySelector(this.ja))&&(e=new MutationObserver(d.bind(this,a=[])),a.push(e),e.observe(c,{childList:!0}))};f.za=function(a,c){var d=this.S,e=this.J,l=this.ia,m=this.Ja,k=this.Ia,p=0,g;for(g of a.querySelectorAll(l))k.has(g)||g.querySelector(l)||(k.add(g),m.observe(g,{childList:!0,subtree:!0}),c&&(a=y(g,e))&&(d.observe(a,
{childList:!0}),p++),D(g.getElementsByTagName("video"),this.N.bind(this)));return p};f.Wa=function(a){var c=this.Na,d;for(d of a){a=d.target.isSameNode(c);for(var e of d.addedNodes)1==e.nodeType&&this.za(e,a)}};f.Va=function(a){var c=this.C,d=this.I,e;for(e of a)for(var l of e.addedNodes)if(1==l.nodeType)if(a=l.getElementsByTagName("video"),a.length)D(a,this.N.bind(this));else for(var m of c)(a=y(m,d))&&a.contains(l)&&this.N(m)};f.N=function(a){if(!a.g){var c=this.ha,d=this.ka,e=this.C,l=v.bind(["div",
"span","a"]),m,k,p,g,h=y(a,this.I),n=h&&h.querySelector(":scope >"+c);for(d=n?0:d;d--&&h&&l(h.localName);h=h.parentNode){var q=h;if(n=y(h,c+":scope:first-child:only-of-type"))break;if((k=h.previousSibling)&&"div"==k.localName){m||(m=h.querySelector('div[role="slider"]'));1==(g=h.querySelectorAll(c)).length?n=g[0]:(p=h.nextSibling)&&1==(g=p.querySelectorAll("ul:scope "+c)).length?n=g[0]:m&&1<(g=k.querySelectorAll(c)).length&&(n=g[g.length-1]);break}}n?n=n.href:q&&1==(g=q.querySelectorAll(this.na)).length&&
(n=g[0].href);if(n){if(c=this.K.exec(n))n=null,c=c[1];e.delete(a);a.T=n||c;this.M(a,c,n)}else e.add(a),a=this.s(a),e=this.Ma,a&&e&&window.postMessage([1229212980,a,e],"/")}};f.Xa=function(a,c){if(a=this.m[a]){if(null==c){if(1<document.getElementsByTagName("video").length||!(c=this.K.exec(location.href)))return;c=c[1]}a.T=c;this.C.delete(a);this.M(a,c)}};f.lb=function(a){if(!a){this.O(this.qa);a=this.Ka;var c=new MutationObserver(this.jb.bind(this));c.observe(document.body,{childList:!0});var d=this.Qa=
x(document,this.Ra);if(d){c.observe(d,{childList:!0});for(var e of d.children)for(e of x(e,a,[]))c.observe(e,{childList:!0});D(d.getElementsByTagName("video"),this.Ea.bind(this))}}};f.jb=function(a,c){var d=document.body,e=this.Qa,l=this.Ka,m=this.Pa,k=this.Oa,p;for(p of a){a=p.target.isSameNode(d);var g=p.target.isSameNode(e),h,n;for(n of p.addedNodes)if(1==n.nodeType){if(g)for(h of x(n,l,[]))c.observe(h,{childList:!0});else(h=x(n,a?k:m))&&c.observe(h,{childList:!0});D(n.getElementsByTagName("video"),
this.Ea.bind(this))}}};f.Ea=function(a){var c=a.getAttribute("poster");c&&this.M(a,null,c,!0)};f.nb=function(a){a||this.O(this.sa)};f.mb=function(a){if(!a){var c=x(document,this.Sa);c&&(a=this.u(),c=c.outerHTML,this.a.postMessage([34,a,null,c.slice(0,c.indexOf(">")+1)]))}};function M(a,c){var d=a.startsWith("image/")?"img":"script";d=document.createElement(d);d.src="data:"+a+";base64,"+c;d.onload=d.remove.bind(d);document.documentElement.appendChild(d)}function x(a,c,d){function e(h,n){for(;n&&h--;)n=
n.parentElement;n&&this.push(n)}if(!c)return d;var l,m,k=!0,p=d||[],g=c.split(/ *~(\S) */);1==g.length?(g.unshift(">"),"<"==c[0]&&g.splice(1,1,c.slice(1)+"<")):g.splice(0,1);for(;a&&(l=g.shift());){c=g.shift();for(m=1;"<"==c[c.length-m];m++);--m&&(c=c.slice(0,-m).trim());switch(l){case "<":for(a=a.closest(c);a&&m--;)a=a.parentElement;break;case ">":for(a=a.querySelector(c);a&&m--;)a=a.parentElement;break;case "*":a.querySelectorAll(c).forEach(e.bind(p,m));k=!1;break;case "+":e.call(p,m,":scope"==
c?a:a.querySelector(c));k=!1;break;case "=":if(c=a.getAttribute(c))return c;k=!1;break;case "@":if(c=a.innerText.trim())return c;k=!1}}return p.length?p:k&&a||d}function y(a,c){var d;for(d=0;"<"==c[d];d++);d&&(c=c.slice(d));for(a=a.closest(c);a&&d--;a=a.parentElement);return a}function R(a,c){c&&(a[c]=!0);return a}String.prototype.replaceAll||(String.prototype.replaceAll=function(a,c){return this.split(a).join(c)});new H}!0;
