// Copyright 2024 Source Defense LTD. All Rights Reserved. Build 1724253422089 22ed55e3a98570bc7b66476069ade7fd30bc6eb9 // Version 1.23.6.3 built at 2024-Aug-21 15:17:02. Generated at window["@GENERATED@"]. Config version: 2 . "use strict";(function(){var ce="function"==typeof Object.defineProperties?Object.defineProperty:function(K,V,L){K!=Array.prototype&&K!=Object.prototype&&(K[V]=L.value)};function de(K){K=["object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global,K];for(var V=0;VL&&(L=Math.max(L+va,0));L{function K(){function a(c,d,e){Ha.R.J("FETCH_ACTION",{dd:c,Na:e,ja:d})}x.f||Ec||(Ec=!0,l.b("AbortController","signal",function(c){return function(){this.pb||(this.pb=P.ta());let d=c.apply(this,arguments);Aa.B(d,this.pb);return d}}),l.f("AbortController","abort",function(){return function(){Ha.R.J("FETCH_ABORT",{dd:this.pb})}}),l.f("Window","fetch",function(){return function(){let c=P.ta(),d=P.jc(arguments[0]);if(arguments[0]instanceof Request)a(d,c);else{let e=C();1T.version?"HTMLDocument":"Document";for(let h in B.f)l.g("Document","on"+h,function(k){return xb(k,h,c,d,e,a)}),l.b("Document","on"+h,function(k){return yb(k,h,c,a)});l.b("Document","currentScript",function(h){return wa(h,a,c)});l.b("Document","activeElement",function(h){return wa(h,a,c)}); l.b("Document","scrollingElement",function(h){return wa(h,a,c)});l.b("Document","fullscreenElement",function(h){return wa(h,a,c)});l.b("Document","mozFullScreenElement",function(h){return wa(h,a,c)});l.b("Document","msFullscreenElement",function(h){return wa(h,a,c)});l.b("Document","webkitCurrentFullScreenElement",function(h){return wa(h,a,c)});l.b("Document","webkitFullscreenElement",function(h){return wa(h,a,c)});l.b("Document","doctype",function(h){return function(){if(this!==r.document)return h.apply(this, arguments);c.H();return a.pa}});l.b("Document","documentElement",function(h){return function(){if(this!==r.document)return h.apply(this,arguments);c.H();return Ia(a.T,"HTML")}});l.b("Document","head",function(h){return function(){if(this!==r.document)return h.apply(this,arguments);{c.H();const k=Ia(a.T,"HTML");return k&&Ia(k,"HEAD")}}});l.b("Document","body",function(h){return function(){if(this!==r.document)return h.apply(this,arguments);{c.H();const k=Ia(a.T,"HTML");return k&&Ia(k,"BODY")}}});l.f("Document", "getElementById",function(h){return function(k){if(this!==r.document)return h.apply(this,arguments);c.H();return m.Element.prototype.querySelector.this.call(a.T,"[id="+JSON.stringify(k)+"]")}});l.f("Document","getElementsByName",function(h){return function(k){if(this!==r.document)return h.apply(this,arguments);c.H();return Xa.call(a.T,"[name="+JSON.stringify(k)+"]")}});l.f("Document","getElementsByClassName",function(h){return function(k){if(this!==r.document)return h.apply(this,arguments);c.H(); return he.apply(a.T,arguments)}});l.f("Document","getElementsByTagName",function(h){return function(k){if(this!==r.document)return h.apply(this,arguments);{c.H();let n=Hc.apply(a.T,arguments);"*"===arguments[0]&&(n=Array.from(n).slice(1));return n}}});l.f("Document","getElementsByTagNameNS",function(h){return function(k,n){if(this!==r.document)return h.apply(this,arguments);c.H();return ie.apply(a.T,arguments)}});l.f("Document","querySelector",function(h){return function(k){if(this!==r.document)return h.apply(this, arguments);c.H();return m.Element.prototype.querySelector.this.apply(a.T,arguments)}});l.f("Document","querySelectorAll",function(h){return function(k){if(this!==r.document)return h.apply(this,arguments);c.H();return Xa.apply(a.T,arguments)}});l.b("Document","children",function(h){return function(){if(this!==r.document)return h.apply(this,arguments);c.H();return je.apply(a.T,arguments)}});l.b(g,"all",function(h){return function(){if(this!==r.document)return h.apply(this,arguments);c.H();let k;T.gb? (k=Ja.implementation.createHTMLDocument(""),k.removeChild(k.doctype),k.removeChild(k.documentElement)):k=new Document;const n=Ia(a.T,"HTML").cloneNode(!0);k.appendChild(n);return ke.apply(k)}});l.b("Document","anchors",f("A"));l.b("Document","applets",f("APPLET"));l.b("Document","embeds",f("EMBED"));l.b("Document","forms",f("FORM"));l.b("Document","images",f("IMG"));l.b("Document","scripts",f("SCRIPT"));l.f("Document","createNodeIterator",function(h){return Ic(h,a,c)});l.f("Document","createTreeWalker", function(h){return Ic(h,a,c)});l.f("Document","importNode",function(h){return function(k,n){if(k!==r.document||!n)return h.apply(this,arguments);c.H();const q=h.call(this,k);for(let w=Ba.call(a.T);w;w=ha.call(w))q.appendChild(h.call(this,w,n));return q}})}function eb(a){function c(d,e){return function(){e.H();const f=d.call(this);return""!==f?f:O.call(this,u.kd)||""}}l.b("HTMLImageElement","src",function(d){return c(d,a)});l.b("HTMLImageElement","currentSrc",function(d){return c(d,a)})}function le(a){function c(d){for(var e= r[d].prototype,f=Jc(e),g=0;g{H.report(4,null,y,{target:n})});q=w}}})}l.b("Window","frameElement",function(k){return Ca(k,a,c)});for(let k in B.f)l.g("Window","on"+k,function(n){return xb(n,k,c,e,f,a)}),l.b("Window","on"+k,function(n){return yb(n, k,c,a)});l.j("Window","requestAnimationFrame",function(k){return setTimeout(function(){k(performance.now())},1E3/60)});l.j("Window","cancelAnimationFrame",function(k){clearTimeout(k)});h(window,"Number",Number);h(window,"String",String);h(window,"Boolean",Boolean);h(window,"WeakSet",WeakSet);h(window,"Error",Error);h(window,"EvalError",EvalError);h(window,"RangeError",RangeError);h(window,"SyntaxError",SyntaxError);h(window,"TypeError",TypeError);h(window,"URIError",URIError);h(window,"DOMException", DOMException);h(window,"isNaN",isNaN);h(window,"parseInt",parseInt);h(window,"Array",Array);h(window,"Date",Date);h(window,"Object",Object);h(window,"Function",Function);h(window,"Proxy",Proxy);h(window,"Map",Map);h(window,"Set",Set);h(window,"Event",Event);h(window,"EventTarget",EventTarget);g(Number);g(String);g(Boolean);g(Object);g(Array);g(Date);g(Storage);g(Event);g(EventTarget)}function ze(a,c){l.f("HTMLFormElement","submit",function(){return function(){c.H();var d=a.na(this);return d?Lc.call(d): Lc.call(this)}});m.EventTarget.prototype.addEventListener.this.call(r,"click",function(d){if(d.target.nodeType===document.ELEMENT_NODE){var e=d.target;xa.call(e,"type")&&"submit"===O.call(e,"type")&&d.preventDefault()}})}function Ae(a,c){l.b("Element","childElementCount",function(d){return Q(d,c)});l.b("Element","firstElementChild",function(d){return Q(d,c)});l.b("Element","lastElementChild",function(d){return Q(d,c)});l.b("Element","previousElementSibling",function(d){return Q(d,c)});l.f("Element", "getElementsByClassName",function(d){return Q(d,c)});l.f("Element","getElementsByTagName",function(d){return Q(d,c)});l.f("Element","getElementsByTagNameNS",function(d){return Q(d,c)});l.f("Element","querySelector",function(d){return Q(d,c)});l.f("Element","querySelectorAll",function(d){return Q(d,c)});l.b("Element","children",function(d){return Q(d,c)});l.b("Element","innerHTML",function(d){return Q(d,c)});l.b("Element","outerHTML",function(d){return Q(d,c)});l.g("Element","innerHTML",function(d){return gb(d, a,c)});l.g("Element","outerHTML",function(d){return gb(d,a,c)});l.f("Element","insertAdjacentHTML",function(d){return Ka(d,c)});l.f("Element","insertAdjacentElement",function(d){return Ka(d,c)});l.f("Element","insertAdjacentText",function(d){return Ka(d,c)})}function Be(a,c){l.m(function(d){return Ce(d,a,c)},[new F("M","appendChild"),new F("M","removeChild"),new F("M","remove")]);l.m(function(d){return De(d,a,c)},[new F("M","insertBefore"),new F("M","replaceChild")]);l.m(function(d){return gb(d,a, c)},[new F("M","normalize"),new F("S","textContent")]);l.m(function(d){return Q(d,c)},[new F("M","contains"),new F("G","firstChild"),new F("M","hasChildNodes"),new F("G","lastChild"),new F("G","nextSibling"),new F("G","parentElement"),new F("G","previousSibling"),new F("G","textContent"),new F("G","parentNode")]);l.F("HTMLDocument",function(d){return Ee(d,a,c)},[new F("M","contains"),new F("G","firstChild"),new F("M","hasChildNodes"),new F("G","lastChild"),new F("G","nextSibling"),new F("G","previousSibling")]); l.i("HTMLDocument","parentNode",function(){return Mc()});l.F("DocumentType",function(d){return Fe(d,a,c)},[new F("M","contains"),new F("G","firstChild"),new F("M","hasChildNodes"),new F("G","lastChild"),new F("G","nextSibling"),new F("G","previousSibling"),new F("G","parentNode")]);l.i("HTMLHtmlElement","parentElement",function(){return Mc()});l.i("HTMLHtmlElement","parentNode",function(){return function(){c.H();return document}});l.i("HTMLTemplateElement","nodeType",function(d){return function(){if(this.attributes["vice-virtual-document"])return 9; if(this.attributes["vice-virtual-doctype"])return 10;if(!this.attributes["vice-virtual-window"])return d.apply(this,arguments)}});l.i("HTMLTemplateElement","parentElement",function(d){return function(){if(this.attributes["vice-virtual-document"]||this.attributes["vice-virtual-doctype"])return null;if(!this.attributes["vice-virtual-window"])return d.apply(this,arguments)}});l.i("HTMLTemplateElement","parentNode",function(d){return function(){if(this.attributes["vice-virtual-document"])return null; if(!this.attributes["vice-virtual-window"])return d.apply(this,arguments)}});l.i("HTMLTemplateElement","textContent",function(d){return function(){return this.attributes["vice-virtual-document"]||this.attributes["vice-virtual-doctype"]?null:d.apply(this,arguments)}});l.f("Node","cloneNode",function(d){return function(e){c.H();if(this!==r.document||!e)return d.apply(this,arguments);const f=d.call(this);for(let g=Ba.call(a.T);g;g=ha.call(g))f.appendChild(d.call(g,e));return f}});l.f("Node","compareDocumentPosition", function(d){return function(e){c.H();let f;f=this===r.document?a.T:this===Ya.call(r.document)?a.pa:this;e===r.document?e=a.T:e===Ya.call(r.document)&&(e=a.pa);return d.call(f,e)}})}function Ge(a,c,d){function e(f,g,h,k){return function(n){g.H();arguments[0]=function(q){xa.call(this,u.La)&&!q.propagatedFromTop||n.apply(this,arguments)};f.apply(this,arguments);h.Rb(this,k);g.H()}}l.b("HTMLIFrameElement","contentWindow",function(){return function(){c.H();const f=a.na(this);return f?Za.call(f):Za.call(this)}}); l.b("HTMLIFrameElement","contentDocument",function(){return function(){c.H();const f=a.na(this);return f?Nc.call(f):Nc.call(this)}});l.b("HTMLIFrameElement","src",function(f){return function(){c.H();const g=a.na(this)||this,h=f.call(g);return""!==h?h:O.call(g,u.La)||""}});l.I("onload",function(f){return e(f,c,d,"load")});l.I("onerror",function(f){return e(f,c,d,"error")})}function He(){}function Oc(a){if(!a)return"";try{if("function"===typeof a&&a.name)return(/^\$(.*)\$\$$/.exec(a.name)||{})[1]|| a.name}catch(d){}try{var c=zb.toString.call(a)}catch(d){try{c=String(a)}catch(e){return""}}return(a=c.match(/^\s*function\s+([a-zA-Z_\$][a-zA-Z0-9_\$]+)/)||c.match(/^\[object ([a-zA-Z_\$][a-zA-Z0-9_\$]+?)(Prototype)?\]$/))?(Ie&&(a=a[1].match(/^\$(.*)\$\$$/)||a),a[1]):""}function Pc(a){if(!a)return"";try{var c=String(a)}catch(d){return""}return(c=c.match(/^\[object ([a-zA-Z_\$][a-zA-Z0-9_\$]+?)(Prototype)?\]$/))&&"Object"!==c[1]||!a||!a.constructor?c&&c[1]||"":Oc(a.constructor)}function ya(a){for(var c= C(),d=Jc(a),e=0;e{if(c)return c;c=e.exec(a);return!!c&&[d,c]},!1)}function hb(a){Na.set.call(M,a);T.Uc&&!M.protocol&&(a=Na.get.call(M).match(/^(https?):\/\/([^\/:]+)(?::([0-9]+)|)\/([^\?]*)(\?[^#]*|)(#.*|)$/i),M.protocol=a[1],M.hostname=a[2],M.port=a[3]||"",M.host=a[2]+(a[3]?":"+a[3]: ""),M.pathname=a[4],M.search=a[5],M.hash=a[6],Na.set.call(M,Na.get.call(M).replace(/#$/,"").replace(/\?$/,"")));try{var c=M.protocol.toLowerCase()}catch(d){return null}if(!M.pathname&&!Qc)return null;a=Me[c];if(!a)return null;c={protocol:c,hostname:M.hostname.toLowerCase(),port:M.port,pathname:Qc+M.pathname,search:M.search,hash:M.hash};c.host=c.hostname+(c.port&&c.port!==a?":"+c.port:"");c.href=Rc(c);return c}function Oa(a){Na.set.call(M,a);return Na.get.call(M)}function Rc(a){return a.protocol.toLowerCase()+ "//"+a.hostname.toLowerCase()+a.pathname+a.search+a.hash}function Ab(a){function c(e,f){d.push(f);return""}var d=[];a.replace(/\/\*[\s\S]*?\*\//g,"").replace(/\burl\s*\(\s*"([^"]+)"\s*\)/gi,c).replace(/\burl\s*\(\s*'([^']+)'\s*\)/gi,c).replace(/\burl\s*\(\s*([^\)]+)\s*\)/gi,c);return d}function Ne(a){try{if("object"!==typeof a||"object"!==typeof a.window||a.window!==a)return!1}catch(g){}try{r["VICE-NEVER-OPTIMIZE"]=a[Math.random()]}catch(g){a:{if((a=g)&&"object"===typeof a)try{var c=a.constructor, d=c&&Oc(c);if("SecurityError"===d||"DOMException"===d||"Permission denied"===a.message.substr(0,17)||"Object expected"===a.message){var e=!0;break a}}catch(h){}e=!1}return e}try{if(T.Uc){var f=document.createEvent("UIEvent");f.initUIEvent("click",!0,!0,a,1)}else f=new UIEvent("click",{view:a});return f.view===a}catch(g){return!1}}function Sc(a){var c=[];for(a=a.previousSibling;a;a=a.previousSibling)c.unshift(a);return c}function Tc(a){if("IFRAME"!==a.nodeName)a=!1;else{if("IFRAME"!==a.nodeName)var c= !1;else try{c=null!==a.contentDocument&&9===a.contentDocument.nodeType}catch(d){c=!1}a=c&&O.call(a,u.La)}return a}function Bb(a){return 1>=a.height&&1>=a.width}function Cb(a,c){const d=document.createTreeWalker(a);for(;a;a=d.nextNode())c(a)}function Oe(a,c){const d=document.createTreeWalker(a);for(;a;a=d.nextNode())c(a)}function Uc(a,c,d){return"http://www.w3.org/2000/svg"===c?a.createElementNS(c,d):a.createElement(d)}function Db(a,c,d,e){null===d&&(d=O.call(a,c));ib.call(a,c);m.Element.prototype.setAttribute.this.call(a, e,d)}function Vc(a){return void 0===a||null===a?null:JSON.stringify(a)}function Wc(a){return a.replace(/&/g,"&").replace(/\x00/g,"�").replace(/\r/g," ").replace(/"/g,""").replace(/'/g,"'").replace(/\xa0/g," ")}function Xc(a,c){switch(typeof a){case "number":case "boolean":case "undefined":return String(a)}if(null===a)return"null";if(void 0===a)return"undefined";var d=JSON.stringify(String(a));"string"!==typeof a&&(d=d.substr(1,d.length-2));c=c||50;d.length>c&&(d=d.substr(0, c-3)+"...");return d}function Yc(a){return a&&"http://www.w3.org/1999/xhtml"!==a?"http://www.w3.org/2000/svg"===a?":svg":":"+JSON.stringify(a):""}function $a(a,c,d){var e;if(d.Fb(a)||a instanceof Element&&"STYLE"===a.tagName&&!x.b)return!1;if(a instanceof Element&&"LINK"===a.tagName&&x.f){if((c=a.getAttribute("type"))&&c.toLowerCase().startsWith("font"))return!1;c=a.getAttribute("rel");if("preload"===c||"prefetch"===c||"stylesheet"===c||"icon"===c||"apple-touch-icon"===c||"apple-touch-startup-image"=== c)return!1}if(9===a.nodeType)return d.Ib(a),!1;if(x.b&&"IFRAME"===a.nodeName&&xa.call(a,"src"))return!1;c=a.rel;const f=a.nodeName;if("LINK"===f&&("preload"===c||"prefetch"===c))return!1;if("SCRIPT"===f){if("application/ld+json"===a.type)return!0;if(a.hasAttribute("src")||null===(e=a.hasAttribute)||void 0===e||!e.call(a,"vice-managed-src"))return!1}return x.b&&(e=Pe.call(a))&&"SCRIPT"===e.tagName||1===a.nodeType&&xa.call(a,u.rb)?(d.Ib(a),!1):!0}function Zc(a,c,d){c=a.tagName.toLowerCase();if("style"=== d&&x.f)return null;const e="img"===c&&"src"===d&&Bb(a)?"#pixel":"#"+d;return ab[e]?ab[e]:d.startsWith(u.Tb)||"img"===c&&"src"===d&&(!a.complete||Bb(a))?ab[e]=null:x.b&&"iframe"===c&&"sandbox"===d?null:ab[e]=d}function wa(a,c,d){return function(){return this!==r.document?a.apply(this,arguments):$c(a.apply(this,arguments),c,d)}}function Ca(a,c,d){return function(){return $c(a.apply(this,arguments),c,d)}}function gb(a,c,d){return function(){var e=c.ca(this)||this;e=a.apply(e,arguments);d.H();return e}} function Ic(a,c,d){return function(){d.H();0c;p.defineProperty(a,"__proto__",d)}return m.Object.prototype.freeze.this.apply(this,arguments)};const m="function"===typeof(null===X||void 0===X?void 0:X.natives)&&X.natives()||od;class yf{constructor(a,c,d,e){this.b=[];e=e||{};switch(a){case "M":this.za= e.kf&&e.method||c[d];break;case "G":if(this.za=e.ff&&e.fe)break;this.za=(a=U(c,d))&&a.get;break;case "S":this.za=e.qf&&e.xe,this.za||(this.za=(a=U(c,d))&&a.set)}}De(a){this.b.push(a)}Cc(){let a=this.za;for(let c=this.b.length-1;0<=c;c--)a=this.b[c](a);return a}}class zf{constructor(a,c){this.f={};this.Ha=c[c.length-1];this.b=a;for(a=0;a=t?(q=w,k=a.apply(g,d?[h]:h),n||(g=null,h=[],k=null)):n||(n=setTimeout(f,t));return k}},Hg:function(a,c){c=c.substring(1).split("&");const d= {};for(let e=0;eg.length){d=[...g];{var h=3-g.length;const t=[];for(let y=0;yc[e]?c[e]:"function"===typeof a.Qa[e]?function(...f){a.Qa[e].apply(a.Qa,f)}:a.Qa[e]})}}var l=!window.MutationObserver||x.i&&!T.ie?void 0:new Kf;class Lf{constructor(){this.Rc=P.ta();this.cd=C();this.mc=C()}}class Mf{constructor(){this.f=new WeakMap;this.i=C()}b(a){return this.f.get(a)||null}g(a){var c=this.f.get(a);c||(c=new Lf, this.f.set(a,c),this.i[c.Rc]=a);return c}l(a,c){this.f.set(a,c)}j(a){var c=this.i[a];c||(c=this.i[a]=new m.XMLHttpRequest.this);return c}}var fa=new Mf,G={debug:!1,pg:["//eif01.sdiapi.com{MAIN_WINDOW_LOCATION_PATH}{MAIN_WINDOW_LOCATION_QUERY}","//eif02.sdiapi.com{MAIN_WINDOW_LOCATION_PATH}{MAIN_WINDOW_LOCATION_QUERY}","//eif03.sdiapi.com{MAIN_WINDOW_LOCATION_PATH}{MAIN_WINDOW_LOCATION_QUERY}","//eif04.sdiapi.com{MAIN_WINDOW_LOCATION_PATH}{MAIN_WINDOW_LOCATION_QUERY}","//eif05.sdiapi.com{MAIN_WINDOW_LOCATION_PATH}{MAIN_WINDOW_LOCATION_QUERY}"], Eg:function(a){return{"services.sdiapi.com":1,"vice-prod.sdiapi.com":1}[a]},proxyURL:"//vice-prod.sdiapi.com/cerebro/{ACCOUNT}/{SITE}",rg:"//vice-prod.sdiapi.com/vice_release/1.23.6.3",sg:"//vice-prod.sdiapi.com/vicePrm/{ACCOUNT}/{SITE}?t={CACHE_BUSTER}",qg:"//reports.sdiapi.com/service/viceEvent",Uf:"//services.sdiapi.com/reporter/1.0.7.40/reporter.js",Cg:"//services.sdiapi.com/bolt/1.0.3.3/bolt.js"},Qa=window.vice;G.vc=function(a,c,d,e){c=d&&Qa.Ve&&Qa.Ve[d]||e&&Qa.config&&Qa.config[e]||c;d=!1;switch(a){case 3:d= !0}"//"===c.substr(0,2)&&(c=(3===a?"https:":location.protocol)+c);a="";0]/.exec(this.name)){var c=a.ownerDocument.createElement("vicetempwrapper");c.innerHTML="";var d=c.firstChild.attributes[0];d?c.firstChild.removeAttributeNode(d):d=a.setAttribute("vice-invalid-attribute",this.value);d.value=this.value;this.namespaceURI?a.setAttributeNodeNS(d):a.setAttributeNode(d)}}}remove(a){this.namespaceURI?a.removeAttributeNS(this.namespaceURI, this.name):a.removeAttribute(this.name)}Pb(){return this.name+'="'+Wc(this.value)+'"'}f(a){if("class"===this.name)try{a.className=this.value}catch(c){m.Element.prototype.setAttribute.this.call(a,this.name,this.value)}else"id"===this.name?a.id=this.value:"href"===this.name?a.href=this.value:"src"===this.name?a.setAttribute(this.name,this.value):m.Element.prototype.setAttribute.this.call(a,this.name,this.value)}}const ab={};class Z{constructor(a){this.b=new m.Map.this;this.Va=this;this.Wa=this;this.f= a}$(a,...c){for(c=this;;){c=c.Va;if(c===this)break;if(this.f)try{c.Db.call.apply(c.Db,arguments)}catch(d){this.f(d,c.Db,this,arguments)}else c.Db.call.apply(c.Db,arguments)}}ea(a){if(!this.b.has(a)){var c={Db:a,Va:this,Wa:this.Wa};c.Va.Wa=c;c.Wa.Va=c;this.b.set(a,c)}}g(a){var c=this.b.get(a);c&&(c.Va.Wa=c.Wa,c.Wa.Va=c.Va,this.b.delete(a))}}const ca={version:"1.23.6.3",Rf:"allow-scripts",bd:[]};ca.bd[0]=1;ca.bd[1]=1;ca.Fg=!0;ca.af={};ca.af.Ng=!0;class ud{constructor(){this.b}j(a){this.b.delete(a)}i(a){return this.b.has(a)}g(a, c){const d=this.f(a)||new Set;d.add(c);this.b.set(a,d)}f(a){return this.b.get(a)||null}}class Of extends ud{constructor(){super();this.b=new Map}}class Pf extends ud{constructor(){super();this.b=new WeakMap}}class B extends ta{constructor(){super();this.j=new WeakSet;this.g=new Of;this.o=new Pf;this.b=this.b.bind(this);this.D=P.lg(this.b,B.L)}b(a){this.F(a)||(this.L(a),this.f(B.i,[a]))}u(a,c){let d=this.I(c)?this.D:this.b;x.b?a.addEventListener(c,d):m.EventTarget.prototype.addEventListener.this.call(a, c,d)}B(a,c){this.i(a,[c])}m(a){if(!this.j.has(a)){var c=Object.keys(B.l);this.i(a,c)&&this.j.add(a)}}C(a,c){const d=this.g.f(a);d&&this.i(c,d)&&this.g.j(a)}L(a){a.eventCaught=!0}F(a){return a.eventCaught||!1}i(a,c){if(!B.b(a,!1))return!1;for(let d of c)this.u(a,d);return!0}I(a){return B.I[a]}static o(a,c){for(let d of c)try{if(window[d]&&a instanceof window[d])return!0}catch(e){}return!1}static ba(a,c=!0){return!!(c?Object.assign(Object.assign({},B.j),{SCRIPT:!0}):B.j)[a]}static aa(a){return B.o(a, B.F)}static da(a){return B.o(a,B.V)}static b(a,c=!0){return B.da(a)?a instanceof Node?!B.ba(a.nodeName,c)&&!B.aa(a):!0:!1}static g(a){return!!B.f[a]}static m(a,c){let d=U(mf,`on${a}`);d||(d=U(lf,`on${a}`));return d?d[c]:null}static Y(a){return B.m(a,"set")}static X(a){return B.m(a,"get")}}B.D="click mousedown mousemove mouseout mouseover mouseup mousewheel wheel scroll".split(" ");B.C="change keypress keydown keyup input submit paste".split(" ");B.B=["focusout","focusin"];B.u=Ma([...B.D,...B.C,...B.B]); B.l=Ma("mouseenter mouseleave resize load error focus blur".split(" "));B.f=Object.assign(Object.assign({},B.u),B.l);B.j=Ma(["META","LINK","HEAD","SVG"]);B.F=["SVGElement"];B.V=["Node","Window"];B.i="event-fired";B.I=Ma(["mousemove","mouseover"]);B.L=100;const pa=new B;class F{constructor(a,c){this.type=a;this.Ha=c}Xa(){return this.Ha}}let ic=null;const Qf=[30];class jc{constructor(a,c,d,e,f,g,h,k){this.noSi=this.trafficPercentage=this.si=this.pdata=this.data=this.authority=this.scriptType=null;var n= new Date;this.type=a;this.pageView=c;this.si=f;this.noSi=g;this.timestamp=n.getTime();this.timeZone=n.getTimezoneOffset();this.accountId=window.vice.config.viceAccountId;this.siteId=window.vice.config.viceSiteId;this.sectionId=window.vice.config.viceSectionId;this.url=window.location.href;this.buildTimestamp=jc.b();d&&(this.scriptType=d.scriptType);e&&(this.authority=e);k||(k={});a=k;if(h)if(ic)var q=ic;else{d=h&&h.html||[];h=h&&h.js||[];c={};e=d.length;for(f=0;fc&&(a[d]=e.substr(0,c)+"..."):"object"===typeof e&&this.f(e))}}}class H{static i(a){this.Ta=a}static B(a){this.sourceDefenseReporter=a}static C(a){this.b=a}static j(a){this.kc=a}static l(a,c){this.sessionId= a;this.noSi=c}static report(a,c,d,e){a=new jc(a,this.kc,c,d,this.sessionId,this.noSi,this.Ta,e);this.g(a)}static g(a){a.url=window.location.href;this.send([a])}static o(a){let c=console.error,d=this;console.error=function(){let e=new Da;d.report(1,a,null,{message:e.stack,filename:0,lineno:0,colno:0});c.apply(console,arguments)};m.EventTarget.prototype.addEventListener.this.call(window,"error",e=>{var f;this.report(1,a,null,{message:e.message,filename:e.filename||(null===(f=document.currentScript)|| void 0===f?void 0:f.getAttribute("src")),lineno:e.lineno,colno:e.colno})})}static send(a,c){if(this.b)this.b.send(a,c);else{c=[11,17,18,27,100];for(let d=0;d{"complete"===document.readyState&&this.f(a)})}static D(a){if(!window.TextEncoder)return a;a=(new window.TextEncoder).encode(a);a=String.fromCharCode.apply(String,a);return btoa(a)}}H.m=1E4;H.b=null;const ye=m.Object.prototype.defineProperty.this;class Rf{constructor(){this.b= new m.Map.this}register(a,c){let d=this.b[a];if(d)return d;c=c();return this.b[a]=c}f(){return this.b.nodeMapper}}let Kc=new Rf;class vd{constructor(){this.data=new Map}get(a){return this.data.get(a)||null}remove(a){return this.data.delete(a)}cb(a,c){let d=this.data.get(a);d||(d=new c,this.data.set(a,d));return d}}class Sf{constructor(){this.data=new Map}bg(a,c){this.data.set(a,c)}Sf(a){this.data.delete(a)}eb(a){return this.data.get(a)}}class Tf extends vd{constructor(){super()}cb(a){return super.cb(a, Sf)}}class qe extends vd{constructor(){super()}cb(a){return super.cb(a,Tf)}b(a,c,d,e){this.cb(a).cb(c).bg(d,e)}f(a,c){return(a=this.data.get(a))&&a.get(c)}eb(a,c,d){return(a=this.f(a,c))&&a.eb(d)}i(a,c,d){this.f(a,c).Sf(d)}g(a,c,d){return!!this.eb(a,c,d)}}class Eb{constructor(a){this.b={};this.u=a}g(a){return this.b[a]||null}j(a,c){this.b[a]=c}o(a,c){a=this.B(a)?this.i():this.l(a);this.m(a);this.C(c,a);return a}l(a){const c=this.i();for(let d=0;dnew ka);class N{constructor(a,c,d,e){this.O=A.Fa(a);this.Df= "VICE_HTMLNodeSerializer";x.f&&d&&1===a.nodeType&&d.Mc(a);this.Ea=A.Td(a).Ea;this.nodeType=a.nodeType;switch(a.nodeType){case 10:this.Gd=a.nodeName;this.publicId=a.publicId;this.systemId=a.systemId;break;case 1:this.namespaceURI=a.namespaceURI;this.tagName=e?e(a.tagName):a.tagName;this.attributes=[];for(d=0;d (",a.childNodes.length," children)"):g.push(">");break;case 3:g.push(e,"TEXT",f,": ",Xc(m.CharacterData.prototype.data.get.this.call(a),50));break;case 8:g.push(e,"COMMENT",f,": ",Xc(m.CharacterData.prototype.data.get.this.call(a),50));break;case 9:break;case 10:g.push(e,"");break;case 11:g.push(e,"DOCUMENT-FRAGMENT",f);break;default:g.push(e,"node-type-",a.nodeType,f)}if(d&&a.firstChild)for(e+="\t",a=a.firstChild;a;a=a.nextSibling)g.push("\n",N.prototype.fd(a,c,d,e));return g.join("")}Fd(){var a=A.U(this.O);if(!a){a=N.prototype.mg.call(this);for(var c=0;c");this.textContent&&a.push(this.textContent);for(c=0;c");break;case 3:a.push(this.textContent);break;case 8:a.push("\x3c!--"+ Wc(this.textContent).replace(/--\x3e/g,"-- >")+"--\x3e");break;case 11:a.push("");this.textContent&&a.push(this.textContent);for(c=0;c")}return a.join(" ")}mg(){switch(this.nodeType){case 1:var a=this.tagName;try{var c=Uc(document,this.namespaceURI,a)}catch(d){}c||(c=document.createElement("vice-invalid-element"));break;case 3:c=document.createTextNode(this.textContent); break;case 8:c=document.createComment(this.textContent);break;case 11:c=document.createDocumentFragment();break;case 10:c=document.implementation.createDocumentType(this.Gd,this.publicId,this.systemId);break;case 9:c=document}if(1===this.nodeType)for(a=0;a{this.b=this.b.concat(c);a&&a(this.takeRecords())})}observe(a,c){this.f.observe(a,c)}takeRecords(){var a=this.b.concat(this.f.takeRecords());this.b=[];return a}disconnect(){this.f.disconnect()}g(a){for(var c=a.keys(),d=c.next().value;d;d=c.next().value){var e=a.get(d);if(3===d.nodeType){let f=m.CharacterData.prototype.data.get.this.call(e);d=m.CharacterData.prototype.data.get.this.call(d);f!==d&&m.CharacterData.prototype.data.set.this.call(e,d)}}}}var Xf=ya({childList:!0, attributes:!0,characterData:!0,subtree:!0,attributeOldValue:!0,characterDataOldValue:!0});class I extends ta{constructor(a,c,d,e,f){super();this.g=0;this.B=null;I.i=a;I.g=c;I.f=d;I.b=e;this.i=f;this.b=new Wf;this.D=[];this.m=this.m.bind(this);this.o=this.o.bind(this);this.u=new mc(this.j.bind(this));this.u.observe(x.b?I.f.T:r.document,Xf)}zd(){0===this.g&&this.C();this.g++}We(){1===this.g&&this.C();this.g--}C(){x.b&&I.b.H();var a=this.u.takeRecords();0c(e,!0))}u(a){this.b.J("DomSyncer.OBSERVATIONS_PACKET",a)}F(a){this.m(a)}m(a){this.i.yf(a,A.Fa(a));1===a.nodeType&&(xd[a.nodeName]&&Sa.o(a),"A"!==a.tagName&&("INPUT"!==a.tagName||"file"!==O.call(a,"type")&&"checkbox"!==O.call(a,"type"))||this.C.Cb(a).Ea===x.g||a.addEventListener("click",function(c){c.preventDefault()}));"NOSCRIPT"=== a.nodeName&&!1===x.b&&X.engage();for(a=a.firstChild;a;a=a.nextSibling)this.m(a)}D(a,c,d){this.u([new cd(a,c,this.g,this.B,d)])}}class D extends ta{constructor(a,c,d,e){super();this.C=!1;this.D=[];this.u=this.m=0;D.g=a;D.f=c;D.b=d;D.u=e;D.f&&D.f.qe(this.F.bind(this))}fg(a){this.b=a}Ke(a,c=!1){var d,e,f;let g=D.g.U(a.W);if(g)switch(a.type){case 3:this.aa(a,c);break;case 4:this.da(a);break;case 1:this.ba(a);break;default:null===(d=this.b)||void 0===d?void 0:d.pause(),this.j(),this.Sa(),qa.prototype.wb.call(a), null===(e=D.b)||void 0===e?void 0:e.Yb(g),this.i(),null===(f=this.b)||void 0===f?void 0:f.Qb()}}Oe(){this.C=!0;this.B()}aa(a,c){let d=D.g.U(a.W),e=D.g.U(a.yb.O);!d||1!==d.nodeType&&9!==d.nodeType||e&&(d.ownerDocument||document).contains(e)||(this.j(),a=this.L(a),this.X(a,c))}da(a){var c,d,e;(a=D.g.U(a.W))&&a.parentNode&&(null===(c=this.b)||void 0===c?void 0:c.pause(),this.j(),this.Sa(),a.parentNode.removeChild(a),null===(d=D.b)||void 0===d?void 0:d.Yb(a),this.i(),null===(e=this.b)||void 0===e?void 0: e.Qb())}ba(a){var c,d,e;let f=D.g.U(a.W);!f||1!==f.nodeType||"SCRIPT"===f.tagName&&a.sa.name!==u.nd||(null===(c=this.b)||void 0===c?void 0:c.pause(),this.j(),this.Sa(),oa.prototype.b.call(a.sa,f),null===(d=D.b)||void 0===d?void 0:d.Yb(f),this.i(),null===(e=this.b)||void 0===e?void 0:e.Qb(),this.f("attributeChange",[f]))}X(a,c){const d=()=>{var g;this.u--;"loading"===document.readyState&&this.C&&0===this.u&&this.B();this.i();null===(g=D.b)||void 0===g?void 0:g.Yb(a.xd)};this.u++;let e=a.mf();e||d(); e===document&&(e=D.f.T);let f=D.i(e,a.lc);this.V(a.xd,e,f,c);d()}V(a,c,d,e){var f,g;e&&(D.b.initial=!0);this.b&&this.b.pause();this.Sa();if(10!==a.nodeType||c!==D.f.T||r.document.doctype)if(x.b){c=D.f.ca(c)||c;e=D.f.ca(a)||a;d=D.f.ca(d)||d;let h;"SCRIPT"===(null===e||void 0===e?void 0:e.tagName)&&e.src?h=[e]:h=null===(g=(f=a).querySelectorAll)||void 0===g?void 0:g.call(f,"script[src]");(null===h||void 0===h?0:h.length)&&this.f(u.ld,h);m.Node.prototype.insertBefore.this.call(c,e,d)}else m.Node.prototype.insertBefore.this.call(c, a,d);else a=D.f.Cf(a);this.f("nodeInsertion",[a]);this.b&&this.b.Qb()}j(){0===this.m&&this.f("beforeReflecting");this.m++}i(){this.m--;0===this.m&&this.f("afterReflecting")}B(){if(0===this.D.length){let a=document.body;a&&D.f.xa(a);document.close()}}Y(){if(this.Xb&&!this.g){let a=D.f.xa(document.head);D.b.va();this.g=document.createElement("base");this.g.href=this.Xb;m.Node.prototype.insertBefore.this.call(a,this.g,a.firstChild);D.b.ua()}}I(){let a=D.f.xa(document.head);D.b.va();this.o=document.createElement("meta"); this.o.name="robots";this.o.content="noindex, nofollow, noarchive, nosnippet";m.Node.prototype.insertBefore.this.call(a,this.o,a.firstChild);D.b.ua()}F(a){if(this.Xb&&1===a.nodeType&&("HEAD"===a.tagName&&(this.I(),this.Y()),"BASE"===a.tagName&&a!==this.g)){let c=a.getAttribute("href");c?c!==a.href&&(a.href=Oa(c)):a.href=this.Xb;this.ha()}}ha(){this.g&&this.g.parentNode&&lb.call(this.g.parentNode,this.g)}Sa(){D.b&&D.b.Sa()}L(a){let c=a.W,d=a.lc;a=N.prototype.Fd.call(a.yb);return new Zf(c,a,d)}static i(a, c){if(c){for(let d=a.lastChild;d;d=d.previousSibling){let e=D.g.Fa(d);if(c.includes(e))return d.nextSibling}return a.firstChild}return null}}class Zf{constructor(a,c,d){this.xd=c;this.ad=a;this.lc=d}mf(){return D.g.U(this.ad)}}class zd{constructor(){this.j={};this.i={}}g(a){var c=this;return new Promise(function(d,e){c.j[a]=d;c.i[a]=e})}f(a,c){this.j[a](c)}b(a,c){this.i[a](c)}}class $f{constructor(){this.f=new WeakMap;this.b=new WeakMap}Pc(a){return this.b.get(a)}ae(a){return this.f.get(a)}update(a, c){c?(this.b.set(c,a),this.f.set(a,c)):(c=this.f.get(a),this.f.delete(a),this.b.delete(c))}Ya(a){return this.b.has(a)}}class z{constructor(){this.type="Messagable"}static b(a){return z.m(z,a)}static m(a,c){try{return"object"===typeof c&&null!==c&&c._viceMessagableType!==a.type}catch(d){try{H.report(1,null,null,{message:`Messagable.isMessagableInstanceOf exception: ${d.message} error code: ${d.code} stack: ${d.stack}`})}catch(e){}return!1}}}class nc extends z{constructor(a){super();this._viceMessagableType=nc.type;this.O=a}}nc.type="DOMElement";z.i=nc;class oc extends z{constructor(a,c,d,e){super();this._viceMessagableType=oc.type;this.Ba=a;this.Jb=d;this.$c=e||null}}oc.type="Function";z.Function=oc;class pc extends z{constructor(a,c,d){super();this._viceMessagableType=pc.type;this.content=c;this.Jb=d;this.Ba=a}}pc.type="Object";z.Object=pc;class qc extends z{constructor(a){super();this._viceMessagableType= qc.type;this.Mf=a}}qc.type="ObjectReference";z.l=qc;class rc extends z{constructor(){super();this._viceMessagableType=rc.type}}rc.type="Window";z.g=rc;class sc extends z{constructor(a,c){super();this.content=c;this.Ba=a;this._viceMessagableType=sc.type}}sc.type="Array";z.Array=sc;class tc extends z{constructor(a){super();this._viceMessagableType=tc.type;this.timestamp=a.getTime()}}tc.type="Date";z.j=tc;class uc extends z{constructor(a,c){super();this._viceMessagableType=uc.type;this.content=c||[]; this.Ba=a}}uc.type="Arguments";z.f=uc;class ra{static g(a){var c=typeof a;return null===a||"function"!==c&&"object"!==c}static b(a){switch(ra.f(a)){case z.Function:case z.Array:case z.Object:case z.f:return!0}return!1}static f(a){if(Ne(a))return z.g;if(Array.isArray(a))return z.Array;if("function"===typeof a)return z.Function;if("object"===typeof a&&null!==a){a.toString||gd(a,Object.prototype);switch(a.toString()){case "[object Object]":return z.Object;case "[object Arguments]":return z.f}if(a instanceof Date)return z.j}return P.Vc(a)?z.i:null}static i(){return arguments}}class vc{constructor(a,c){this.b=a;this.target=c;this.m=new Z;this.o=new Z;this.i=this.l([],c)}f(a){this.m.ea(a)}g(a){this.o.ea(a)}u(a){return ra.b(a)&&!1===this.b.Ya(a)}B(a,c){function d(k,n,q){var w=c.concat([n]);k[n]="SignalsFBEventsPlugin"===n&&-1!=c.indexOf("__fbeventsResolvedModules")?q:e.j(w,q);e.m.$(window,w,k[n]);return!0}var e=this,f=new Proxy(a,{set:function(k,n,q){const w=Object.getOwnPropertyDescriptor(k,n);return void 0=== w||w.writable?d(k,n,q):!1},get:function(k,n){return"toString"!==n||ma.call(k,"toString")?k[n]:function(){return k.toString()}},deleteProperty:function(k,n){if(n in k){var q=c.concat([n]);delete k[n];e.o.$(window,q)}return!0},defineProperty:function(k,n,q){(q=q.get)&&d(k,n,q());return!0}});this.b.update(a,f);for(var g in a){var h=c.concat([g]);if(!Object.getOwnPropertyDescriptor(a,g)||Object.getOwnPropertyDescriptor(a,g).writable)a[g]=this.j(h,a[g])}return f}l(a,c){return this.b.ae(c)||this.B(c,a)}j(a, c){return this.u(c)?this.l(a,c):c}}class ag{constructor(){this.l=new bc;this.o=new bc;this.f={};this.g={};this.u={};this.V={};this.b=new $f;this.L()}L(){var a=this;l.f("Object","toString",function(c){return function(){if(a.b.Ya(this)){var d=a.b.Pc(this);return c.apply(d,arguments)}return c.apply(this,arguments)}});l.f("Object","setPrototypeOf",function(c){return function(d,e){a.b.Ya(e)&&(arguments[1]=a.b.Pc(e));return c.apply(this,arguments)}})}B(a){return ra.b(a)&&!1===this.b.Ya(a)}m(a){this.interval= this.interval||setInterval(()=>{var c=this.l;this.l=new bc;c=m.Array.static.from.this(c);var d=c.length;for(var e=0;e{this.I(a.content)});this.b.N("SHARED_VARIABLE_DELETION",a=>{this.L(a.content)});this.b.N("SHARED_FUNCTION_CALL",a=>{this.F(a.content)});this.b.N("SHARED_FUNCTION_CALL_RESPONSE", a=>{this.ba(a.content)})}Ua(){this.b.N("SHARED_VARIABLE_ASSIGNMENT",a=>{this.I(a.content)});this.b.N("SHARED_VARIABLE_DELETION",a=>{this.L(a.content)});this.b.N("SHARED_FUNCTION_CALL",a=>{this.F(a.content)});this.b.N("SHARED_FUNCTION_CALL_RESPONSE",a=>{this.da(a.content)})}I(a){var c=this.f.f(a.gd),d=this.f.f(a.value);this.i=!0;this.V(c,a.ga,d);c===window&&this.g.j(a.ga[0]);if(this.l&&this.l[a.ga[0]]){for(c=this.l[a.ga[0]];0{if(!a.initial||a.initial&&a.C(n)){const q="SCRIPT"===n.tagName&&n.src;q&&/facebook/.test(q)&&!window.fbq?setTimeout(()=>{window.fbq?a.o(n,a,q):setTimeout(()=> {a.o(n,a,q)},150)},30):a.o(n,a,q)}}),Tc(h)&&this.xf(h))}for(f=0;f{for(let e=0;e{this.o(a.content)});this.b.N("XHR_EVENT",a=>{this.u(a.content)})}o(a){var c=a.nb,d=fa.j(c.Rc);fa.l(d,c);switch(a.Ce){case 1:a=this.f;var e=this.i.length;for(let f=0;f{for(let c=0;cc;)hd.call(r.document,"");c=Ba.call(a)?dc.call(a,!1):a;c=m.Element.prototype.outerHTML.get.this.call(c).replace(/<\/[^>]+>$/,"");Y.va();hd.call(r.document,c);c=Y.ua();for(d= 0;dd.id===a);0d!==c[0]),this.f.push(c[0]))}}class Ld{constructor(a, c,d){this.id=d||P.ta();this.topic=a;this.content=c}}class Bg{constructor(a,c){this.oa=a;this.I=new Z;this.b={};if(x.f){if(void 0===c)throw Error("MessageTunnel: DataScrubber is undefined for main-page.");this.g=c}}N(a,c){this.b[a]||(this.b[a]=new Z);this.b[a].ea(c)}u(a,c){return new Ld(a,c,void 0)}B(){this.I.$(this)}C(a){this.b[a.topic]&&this.b[a.topic].$(this,a)}F(a){"RECEIVED_INCOMING_PACKET"!==a.topic?(this.oa.ne(a),this.J("RECEIVED_INCOMING_PACKET",a.id)):this.oa.oe(a.content);this.g&&(a.content= this.g.yd(a.topic,a.content,2));this.C(a)}}class Md extends Bg{constructor(a,c,d,e){super(c,d);this.target=a;(this.j=x.b)&&e&&(this.f=e);a=this.i();this.o(a);window.addEventListener?m.EventTarget.prototype.addEventListener.this.call(window,"message",a.bind(this),!1):window.attachEvent("onmessage",a.bind(this))}J(a,c){var d,e=this.u(a,c);if(x.f){a=this.g.yd(a,c,1);if(void 0===a)return;e.content=a}this.B();"RECEIVED_INCOMING_PACKET"!==e.topic&&this.j&&this.oa.pe(e);if("RECEIVED_INCOMING_PACKET"!==e.topic){a= this.f?this.f:this.target;e=this.D(e);try{a.postMessage.apply(a,e)}catch(f){H.report(1,null,null,{message:f.message,filename:f.filename||(null===(d=document.currentScript)||void 0===d?void 0:d.getAttribute("src")),lineno:f.lineno,colno:f.colno,direction:x.f?1:0})}}}D(a){a=[a];this.f||a.push("*");this.l||(a.push([this.m.port2]),this.l=!0);return a}i(){return a=>{var c=a.data,d=a.source;c&&c.topic&&((T.he||T.Ff)&&void 0===d&&"UNLOAD_URL"===c.topic&&(d=this.target),d===this.target||"[object MessagePort]"=== a.target.toString())&&(a.target||(a.target=r),c.topic&&(a.ports[0]&&(this.j=!0,this.f=a.ports[0]),this.F(c)))}}L(){this.o(this.i())}o(a){this.l=!1;this.m=new MessageChannel;this.m.port1.onmessage=a.bind(this)}}class Cg{constructor(a,c,d,e){this.b=a;this.i={};this.g={};d&&(this.i=ya(d));e&&(this.g=ya(e));this.B()}C(){return this.j=this.j||this.m(this.i)}o(a,c){c=this.f(c);if(!c)return null;a=String(a);return a in c?c[a]:null}D(){return this.l=this.l||this.m(this.g)}m(a){let c=this;return new Proxy(a, {get:function(d,e,f){d=c.o.bind(c)(e,f);if(null!==d)e=d;else a:{for(d=ac;d;d=cb(d)){var g=U(d,e);if(g){if(sa(g,"value")){e=g.value;break a}if(sa(g,"get")){e=g.get.call(f);break a}break}}e=void 0}return e},set:function(d,e,f,g){c.u.bind(c)(e,String(f),g);return!0},deleteProperty:function(d,e){c.F.bind(c)(d,e);return!0},ownKeys:function(d){return(d=c.f(d))?Object.keys(d):[]},has:function(d,e){e=String(e);return(d=c.f(d))&&e in d?!0:e in ac},defineProperty:function(d,e,f){c.u.bind(c)(e,String(f.value), d);return!0},getOwnPropertyDescriptor:function(d,e){d=c.o.bind(c)(e,d);return null===d?void 0:{configurable:!0,enumerable:!0,writable:!0,value:d}},getPrototypeOf:function(){return ac},setPrototypeOf:function(){return!1},isExtensible:function(){return!0},preventExtensions:function(){return!1}})}F(a,c){if(a=this.f(a))c=String(c),c in a&&(delete a[c],this.b.J("STORAGE",{Ja:c,Ka:null,Gb:a===this.g}))}u(a,c,d){if(d=this.f(d))a=String(a),c=String(c),d[a]!==c&&(d[a]=c,this.b.J("STORAGE",{Ja:a,Ka:c,Gb:d=== this.g}))}f(a){return a===this.j||a===this.i?this.i:a===this.l||a===this.g?this.g:null}B(){let a=this;x.b&&(l.B("Window","localStorage",a.C.bind(this)),l.B("Window","sessionStorage",a.D.bind(this)),l.B("Storage","length",function(){let c=a.f(this);return c?Object.keys(c).length:0}),l.j("Storage","key",function(c){var d=a.f(this);if(!d)return null;d=Object.keys(d);c=parseInt(c);return isNaN(c)||0>c||c>=d.length?null:d[c]}),l.j("Storage","getItem",function(c){let d=a.f(this);if(!d)return null;c=String(c); return c in d?d[c]:null}),l.j("Storage","setItem",function(c,d){let e=a.f(this);e&&(c=String(c),d=String(d),e[c]!==d&&(e[c]=d,a.b.J("STORAGE",{Ja:c,Ka:d,Gb:e===a.g})))}),l.j("Storage","removeItem",function(c){let d=a.f(this);d&&(c=String(c),c in d&&(delete d[c],a.b.J("STORAGE",{Ja:c,Ka:null,Gb:d===a.g})))}),l.j("Storage","clear",function(){let c=a.f(this);if(c){var d=Object.keys(c);for(let e=0;eT.version?"HTMLDocument":"Document";l.B(c,"cookie",function(){let d=[];for(let e in a.f){let f=a.f[e].value;a.f[e].Zb&&Date.now()>a.f[e].Zb?delete a.f[e]:d.push(e+(f?"="+f:""))}return d.join("; ")});l.ub(c,function(d){var e=C();d=String(d).replace(/[\x00-\x1f].*/g,"").split(";");for(var f=0;fk?k:0),g.length));d="."===d[0]?"."+g.join("."):g.join(".");e.Da=d}if(!e.Da.includes(a.g.hostname)&&!a.g.hostname.includes(e.Da))return}a.b.J("COOKIE",e);0>=e.bb?delete a.f[e.Ma]:(a.f[e.Ma]=C(),a.f[e.Ma].value=e.Dd,a.f[e.Ma].Cd=e.Cd,a.f[e.Ma].bb=e.bb,a.f[e.Ma].Zb=e.Zb)}})}}class Ga{static f(a){let c;try{c=a.stack||"",c=c.split("\n").map(d=>{d=d.trim();d.includes("at ")&&(d=d.split("at "), d=d[d.length-1]);d.includes("(")&&(d=d.split("(")[1]);d.includes(")")&&(d=d.split(")")[0]);d.includes("@")&&(d=d.split("@")[1]);return d}).filter(d=>!d.includes(G.ac)&&!d.includes("vice-loader")&&!d.includes("vice_loader")&&!d.includes("")&&d.includes("/")),x.b&&(c=c.filter(d=>!d.includes(location.host)))}catch(d){c=[]}return c}static l(a){a=this.f(a);return a.splice("Error"==a[0]?1:0)}static i(a){return new Promise(c=>{let d=this.f(a);c(d.splice("Error"==d[0]?1:0))})}static g(a){if(a= a[0]){a=a.split(":");const c=a[a.length-1];a.splice(a.length-1,1);const d=a[a.length-1];a.splice(a.length-1,1);return{file:a.join(":"),line:d,column:c}}return{file:null,line:null,column:null}}static j(a){return Ga.g(Ga.l(a))}static b(a){return Ga.i(a).then(c=>Ga.g(c))}}class ia{constructor(a,c,d,e){this.b=a;this.childScriptToParentSrcMap=new m.Map.this;this.f=e;ia.i=c;this.o();d&&this.F(d);Ve()}static l(a,c,d,e){this.g||(this.g=new ia(a,c,d,e));return this.g}static f(a){var c;return(a=null===(c=this.i.Od(a))|| void 0===c?void 0:c.Ud())&&a[0]}static b(a,c=!1){ia.j(a)||(c?m.Element.prototype.setAttribute.this.call(a,"INLINE_SCRIPT","true"):Object.defineProperty(a,"INLINE_SCRIPT",{writable:!1,configurable:!1,value:"true"}))}static j(a){return a.INLINE_SCRIPT||m.Element.prototype.getAttribute.this.call(a,"INLINE_SCRIPT")}o(){this.g=this.g.bind(this);this.i=this.i.bind(this)}F(a){a.subscribe("e2",this.g);a.subscribe("e3",this.i)}i(a){const c=a.node;var d=a.kb;if("SCRIPT"===c.nodeName&&this.m(c)){a=ia.f(c.src); let e=m.HTMLScriptElement.prototype.src.get.this.call(c);d=this.I(new Da,d,e,JSON.stringify(a));ia.j(c)||ia.b(c);3===a&&this.u(c);return this.b(d,d.parentSrc)}return Ze.resolve()}g(a){let {ka:c,la:d}=a,e=a.kb;ia.b(c);if(!c.hasAttribute("vice-managed-src")&&!c.hasAttribute("vice-whitelisted-src")){const f=new Da,g=ia.f(d);e="SET_ATTRIBUTE"===e?e+"_SRC":e;a=()=>this.C(f,e,d,JSON.stringify(g)).then(h=>this.b(h,h.parentSrc));if(c.hasAttribute("src")){if(c.getAttribute("src")!==d&&this.m(c))return a()}else if(!d|| !d.includes(G.ac))return a()}return Promise.resolve()}u(a){const c=m.Element.prototype.getAttribute.this.call(a,"src");m.Element.prototype.removeAttribute.this.call(a,"src");m.Element.prototype.setAttribute.this.call(a,"vice-blocked-src",c)}updateSendReport(a){this.b=a}getResponsibleAuthority(a){return x.b?Ga.b(a).then(c=>{if(c&&c.file)return this.bc(c.file)}):Promise.resolve(null)}j(a,c){return this.f?(a=this.f.ce(a,c))&&a.authorityName||null:null}bc(a,c=!1){return this.j&&a?(c=this.j(a,c))?c:(a= this.B(a))?this.bc(a):null:null}B(a){if(!a)return null;const c=this.childScriptToParentSrcMap.get(a);return c&&c!==a?c:null}D(a,c){a!=c&&(this.childScriptToParentSrcMap.has(a)||this.childScriptToParentSrcMap.set(a,c))}m(a){let c;return a&&(c=a.getAttribute("src"))&&"about:blank"!==c&&!G.Wb.has(c)}l(a,c,d,e){this.D(d,a.file);return{type:c,parentSrc:a.file,line:a.line,column:a.column,childSrc:d,policy:e}}I(a,c,d,e){a=Ga.j(a);return this.l(a,c,d,e)}C(a,c,d,e){return Ga.b(a).then(f=>this.l(f,c,d,e))}} ia.i=null;const Wa=["0","0px","0%"];class Eg{constructor(a,c,d,e,f,g,h){this.b=c;this.o=a;this.f=d;this.u=e;this.m=!1;this.ab=g;this.Ra=h;const k=this;this.i=function(n,q,w){if(k.m)Promise.resolve();else{let t=new Da;(k.f?k.f.getResponsibleAuthority(t):Promise.resolve(null)).then(y=>{y={stack:t.stack,authority:y,type:n,attributeName:w,W:k.o.wa(q),ad:k.o.wa(q.parentNode)};k.b.J("ALLEGED_READ_VIOLATION",y)})}};this.g=function(n,q,w,t){if(k.m)Promise.resolve();else{let y=new Da;(k.f?k.f.getResponsibleAuthority(y): Promise.resolve(null)).then(E=>{E={stack:y.stack,type:n,authority:E,W:null};switch(n){case "REPLACE_CHILD":case "TITLE":case "OUTER_HTML":case "INNER_HTML":case "REPLACE_WITH":E.removedNode=k.o.wa(t);case "APPEND_CHILD":case "APPEND":case "PREPEND":case "BEFORE":case "AFTER":case "INSERT_BEFORE":case "INSERT_ADJACENT_ELEMENT":case "TEXT_CONTENT":case "INSERT_ADJACENT_HTML":a:switch(q.tagName){case "FORM":var J=Wa.includes(q.style.width)&&Wa.includes(q.style.height);break a;case "IFRAME":J=(Wa.includes(q.width)|| Wa.includes(q.style.width))&&(Wa.includes(q.height)||Wa.includes(q.style.height));break a;default:J=!1}J||(E.W=k.o.wa(w),E.addedNode=N.Dc(q,e,f),k.b.J("ALLEGED_WRITE_VIOLATION",E))}})}};this.l=function(n,q,w,t,y){if(k.m)Promise.resolve();else{let E=Error();(k.f?k.f.getResponsibleAuthority(E):Promise.resolve(null)).then(J=>{J={stack:E.stack,type:n,authority:J,attributeName:w,origValue:k.B(t),setValue:k.B(y),W:k.o.wa(q)};k.b.J("ALLEGED_WRITE_VIOLATION",J)})}};this.Ra&&this.D();this.ab&&this.C()}B(a){return a instanceof Function?a.toString():a}pause(){this.m=!0}Qb(){this.m=!1}j(a){if("string"===typeof a||"boolean"===typeof a){let c=a;"string"===typeof a&&-1"TITLE"==e.nodeName);d=0"TITLE"==f.nodeName);e=0 {const c=O.call(a,"vice-low-onload-src");this.b[c].ka=a})}}class Jg extends ta{constructor(){super();this.g()}i(a,c,d){const e=this;return function(f){return function(){e.f(d,[{className:a,Ha:c,qc:this,Ab:arguments}],this);if(!this.gg)return f.apply(this,arguments)}}}b(a,c,d,e){e=this.i(c,d,e);switch(a){case "M":l.f(c,d,e);break;case "G":l.b(c,d,e);break;case "S":l.g(c,d,e)}}g(){x.b||document.head&&this.b("M","document.head.insertBefore",void 0,"e7");this.b("M","Document","write","e6");this.b("S", "HTMLScriptElement","src","e1");this.b("M","Element","setAttribute","e2");this.b("M","Node","appendChild","e3");this.b("M","Node","insertBefore","e4");this.b("M","Node","replaceChild","e5");this.b("M","Element","insertAdjacentElement","e8");l.f("Document","createElement",function(a){return function(c){const d=a.apply(this,arguments);d instanceof HTMLScriptElement&&ia.b(d);return d}})}}const Pd={"document.head.insertBefore":"INSERT_BEFORE",appendChild:"APPEND_CHILD",insertBefore:"INSERT_BEFORE",replaceChild:"REPLACE_CHILD", insertAdjacentElement:"INSERT_ADJACENT_ELEMENT"};class Kg extends ta{constructor(a){super();this.b=a;this.C();this.I()}C(){this.g=this.g.bind(this);this.o=this.o.bind(this);this.m=this.m.bind(this);this.j=this.j.bind(this);this.u=this.u.bind(this)}I(){this.b.subscribe("e6",this.j);this.b.subscribe("e1",this.o);this.b.subscribe("e2",this.m);this.b.subscribe("e3",this.g);this.b.subscribe("e5",this.g);this.b.subscribe("e4",this.g);this.b.subscribe("e7",this.g);this.b.subscribe("e8",this.u)}o(a){const c= a.qc;a=this.B(a.Ab[0]);c.ownerDocument&&c.ownerDocument.contains(c)&&(this.f("e2",[{la:a,ka:c,kb:"SRC"}]),this.i(c,a,!0))}m(a){var c,d=a.Ab;a=a.qc;const e=d[0]||"";d=this.B(d[1]);"SCRIPT"===a.tagName&&"src"===e.toLowerCase()&&null!==(c=a.ownerDocument)&&void 0!==c&&c.contains(a)&&(this.f("e2",[{la:d,ka:a,kb:"SET_ATTRIBUTE"}]),this.i(a,d,!0))}B(a){return a&&a.toString&&"string"!==typeof a?a.toString():a}g(a){let {Ab:c,Ha:d,className:e}=a;a=a.qc;const f=c[0];d=d||e;f&&a.ownerDocument&&a.ownerDocument.contains(a)&& (this.f("e3",[{node:f,kb:Pd[d]}]),this.D(f))}j(a){if(window.document===a.qc){a=a.Ab;var c=a[0]||"";if(c.toString().includes("script")){var d=za.call(document,"textarea"),e=za.call(document,"element");d.innerHTML=c;e.innerHTML=m.HTMLTextAreaElement.prototype.value.get.this.call(d);var f=Xa.call(e,"script[src]");for(var g of f){const h={node:g,kb:"DOCUMENT_WRITE"};ia.b(g,!0);this.f("e3",[h]);this.i(g,null,null,!0)}g="";"string"==typeof c?g=c:g=c.toString();g.match(/<\s*body|<\s*head/)&&this.F(g)?(c= za.call(document,"html"),c.innerHTML=m.HTMLTextAreaElement.prototype.value.get.this.call(d),a[0]=c.innerHTML):0{this.f("e3",[{node:e,kb:Pd[c]}])})}}F(a){const c=document.createElement("div");c.innerHTML=a;return c.innerHTML===a}D(a){a=document.createTreeWalker(a,NodeFilter.SHOW_ELEMENT);do"SCRIPT"=== a.currentNode.tagName&&O.call(a.currentNode,"src")&&this.i(a.currentNode);while(a.nextNode())}L(a,c){c=c||O.call(a,"src");return c?c:(m.Element.prototype.setAttribute.this.call(a,"src",""),null)}i(a,c,d,e=!1){if(c=this.L(a,c)){var f=Oa(c);d&&m.Element.prototype.setAttribute.this.call(a,"async","");this.f("e1",[{ka:a,la:f,Oa:c,Tc:e}])}}}class Lg{constructor(a,c=!0){this.f=a;this.b=c}Nb(a){return this.b&&!a.startsWith("https")}g(a,c){this.b&&this.f.report(15,null,null,{url:c,target:a.outerHTML})}}class ub{static b(a){return ub.g.test(a)}static f(a, c,d){H.report(2,null,c,{url:a,message:"p",target:d.outerHTML})}}ub.g=/\/\/.*:(\d*)\/?(.*)/;const Mg={["whitelist"]:"allow",["managed"]:"enclose",["blocklist"]:"block",["unsecured"]:"report",["low-onload"]:"defer"};class Ng extends ta{constructor(a,c,d,e,f,g,h,k){super();this.F=!1;this.b=h;this.zc=a;this.ba=c;this.j=d;this.aa=new Lg(H,f);this.B=null;this.X=k;this.g={};this.mb=g;this.L=this.V=!0;this.i=!1;this.C=!0;this.u=this.wc();this.da();this.yc();this.Sc();this.Hc()}Ic(){this.F=!0;this.V&&this.f("e3", [this.b,this.j])}ha(){this.L=this.V=!1}ra(){this.i=!0}getScriptHandlingDataStorage(){return this.b}ce(a,c=!1){let d;d=this.b.getStorageItem(a);d||c||(this.Y(!1),d=this.o({la:a,ka:null}),this.Y(!0),"enclose"===d.fa&&this.X&&this.X.complementDataForEncloseDecision(d));return d||null}Hc(){this.u||window.addEventListener("load",this.I)}wc(){return"complete"===document.readyState}Y(a){this.C=a}da(){this.o=this.o.bind(this);this.I=this.I.bind(this)}yc(){this.g.enclose=this.ub;this.g.block=this.Ua;this.g.allow= this.Ca;this.g["enforce-ssl-block"]=this.vb;this.g.report=this.sc;this.g.defer=this.tb}Sc(){this.zc.subscribe("e1",this.o)}I(){this.u=!0;const a=this.b.pf();for(let c in a)Db(a[c].ka,"vice-low-onload-src",null,"src")}o(a){const c=a.ka,d=a.la,e=a.Oa;a=a.Tc;const f=this.ba.Od(d);let g=null,h=null,k=null,n="undetermined";var q=document.URL,w,t;if((null===(w=d.match(td))||void 0===w?void 0:w[1])===(null===(t=q.match(td))||void 0===t?void 0:t[1]))return this.D({fa:"allow",ka:c,la:d,Oa:e,isDefaultDecision:!0}); f&&(g=f.Ud())&&(k=this.j.ef(g),h=this.j.getAuthorityName(g),n=Mg[k]);this.aa.Nb(d)&&(n="enforce-ssl-block");ub.b(d)&&this.Fc(d,h,c);if("undetermined"!==n)return this.D({fa:n,ka:c,la:d,Oa:e,Bc:k,authorityName:h,knownURLsMatchPatternDetailsVice:g,Tc:a});n=this.mb;return this.D({fa:n,ka:c,la:d,Oa:e,isDefaultDecision:!0})}D(a){return this.g[a.fa].call(this,a)}tb(a){const c=a.ka,d=a.la,e=a.Oa,f=a.Tc;a={fa:a.fa,ka:c};this.i||this.u||this.m(c,"vice-low-onload-src",e);return this.b.eg(d,a,!this.u,f)}Ca(a){return this.b.ob(a.la, {fa:a.fa})}sc(a){return this.b.ob(a.la,{fa:a.fa})}vb(a){const c=a.ka,d=a.la,e=a.Oa;a={fa:a.fa};this.Ec(c,d);this.i||this.m(c,"vice-blocked-ssl-src",e);return this.b.ob(d,a)}Ua(a){const c=a.ka,d=a.la,e=a.Oa;a={fa:a.fa};this.i||this.m(c,"vice-blocked-src",e);return this.b.ob(d,a)}ub(a){let {la:c,Oa:d,fa:e,ka:f,isDefaultDecision:g=!1,Bc:h=null,authorityName:k=null,knownURLsMatchPatternDetailsVice:n=null}=a;this.i||this.m(f,"vice-managed-src",d);a={fa:e,Bc:h,authorityName:k,isDefaultDecision:g,knownURLsMatchPatternDetailsVice:n}; this.b.dg(c,a,!this.F);this.F&&this.L&&this.f("e1",[c,a,this.j]);return a}Fc(a,c,d){c=c||this.B&&this.B.bc(a,!0);this.C&&ub.f(a,c,d)}Ec(a,c){this.C&&this.aa.g(a,c)}m(a,c,d){let e=O.call(a,"src");e||(e=d,a.gg=!0);Db(a,"src",e,c)}}class Og{constructor(a){a||(a={Gg:{["Loose"]:[[],[]],["Strict"]:[[],[]],["Medium"]:[[],[]]},e:["Loose","Strict","Medium"],Dg:["whitelist","unsecured","managed","blocklist","low-onload"],Bg:[]});this.g=a.ec;this.f=a.e;this.categories=a.c;this.b=a.a}extractAuthorityNamesForEnclosure(a, c){const d=[];if("DefaultEnclosure"===a)return d.push("DefaultEnclosure"),d;a=this.getEnclosureConfig(a)[1];for(let e of a){a=this.b[e];const f=a[0];this.getEnclosureSandboxAttributeValueByAuthority(a)===c&&d.push(f)}return d}getEnclosureConfig(a){return this.g[a]||null}getViceAuthority(a){a=a[1];return this.b&&this.b[a]||null}getViceAuthorityByAuthorityIndex(a){return this.b[a]}getAuthorityName(a){return(a=this.getViceAuthority(a))&&a[0]}getEnclosureName(a){return(a=this.getViceAuthority(a))?this.f[a[1]]: null}ef(a){return this.categories[a[0]]}isEnclosureSandboxAttributeValueCustom(a){return"allow-scripts allow-forms allow-popups allow-same-origin"!==a}getEnclosureAllowAttributeValue(a){return(a=this.getViceAuthority(a))&&(a[3]||"autoplay")}getEnclosureSandboxAttributeValue(a){a=this.getViceAuthority(a);return this.getEnclosureSandboxAttributeValueByAuthority(a)}getEnclosureSandboxAttributeValueByAuthority(a){return a&&(a[2]||"allow-scripts allow-forms allow-popups allow-same-origin")}}class Ac{constructor(a){this.f= Object.create(null);this.D=a;this.i(a)}i(a){this.b=Object.create(null);for(let c of a)this.b[c.authority]||(this.b[c.authority]=[]),this.b[c.authority].push(c)}Vd(a){return this.f[a]||null}Se(a,c,d,e,f){const g=this.g(f);this.f[a]={scriptType:c,allow:e,sandbox:d,name:a,td:f,oc:g}}rf(a){const c=[];if(a=this.f[a]){({td:a=[]}=a);for(let d of a)if(a=this.b[d])a=a.map(e=>e.name),c.push(...a)}return c}g(a){const c=[];for(let d=0;dg.approvedAuthorities.includes(e)).map(g=> g.name);for(let g=0;g{this.b.we(e);e.oa=c;e.N("LAYOUT_DATA",this.l.bind(this));delete window.setTunnel};a.I(function(e){(e=Za.call(e))&&l.ha(e)});Ed.i(R);R.J("IFRAME_READY")}g(){if(this.g){this.g=null;var a=new WeakMap;Rd(HTMLImageElement.prototype,"src",{set:function(c){c=Oa(String(c));a.set(this,c);R.J("UNLOAD_URL",{Vf:c})},get:function(){var c=a.get(this);void 0===c&&(c=qf.call(this));return c}})}}u(a,c){l.b("Document", "referrer",function(d){return function(){return this!==r.document?d.apply(this,arguments):window.top!=window&&/fbevents\.js/.test(Error().stack)?c.href:a}})}C(a){const c=a.content;a=c.Nb;var d=c.Kb,e=Rc(c.location);H.j(c.kc);H.l(c.sessionId,c.noSi);H.C(new jg(R,c.K));H.i(c.Ta);this.u(c.referrer,c.location);l.ra(c.location);l.b("Window","name",function(k){return function(){return this===r?c.wg:k.apply(this,arguments)}});Ta.i(c.ic,c.ib,c.Za);Ta.g(c.Kf,c.Jf);new Dg(R,c.me,c.location);new Cg(R,c.location, c.Xc,c.Yc);this.j.Xb=e;e=c.K.oc.length;for(var f=0;f{H.report(14,c.K,this.f.bc(n),k)},d,g,a),a.B=this.f,v.C(this.f)):v.C({});H.o(c.K);v.Y(c.iframeReflectionRule);a=new Eg(A,this.R,this.f,v,null,c.ab,c.Ra);this.j.fg(a);this.i.Ob();this.o.Ob(a);m.EventTarget.prototype.addEventListener.this.call(r, "unbeforeload",this.g,!0);m.EventTarget.prototype.addEventListener.this.call(r,"unload",this.g,!0)}B(){this.j.Oe()}m(a){a=qa.f(a.content);for(var c=0;c{this.start||(this.start=Date.now());this.end=Date.now()})}b(a){var c=setInterval(function(){1E3e(c))}J(a,c){c=new Ld(a,c,void 0);"RECEIVED_INCOMING_PACKET"!== a&&(this.oa.Lb.forEach(d=>this.f.se(d)),this.oa.pe(c));this.f.se(c)}se(a){"RECEIVED_INCOMING_PACKET"!==a.topic?(this.oa.ne(a),this.J("RECEIVED_INCOMING_PACKET",a.id)):this.oa.oe(a.content);this.i(a.topic,a)}}class Vg extends Vd{constructor(a){super();this.f=a}}let Wd=!1;class Xd extends Vd{constructor(a,c){super();this.oa=c;this.g=!1;this.f=new Vg(this);c=Cc.exec(a.src)[1];Wd||(document.domain=c.replace(Ud,""),Wd=!0);const d=a.fb.name,e=document.createElement("iframe");e.src=a.src;e.name=`${d}_handshake`; m.Node.prototype.appendChild.this.call(a.fb.parentElement,e);window["initTunnel_"+d]=f=>{f(this.f);e.remove();this.g=!0;this.i("ready");delete window["initTunnel_"+d]}}j(a){this.g?a():this.N("ready",a)}static b(a){const c=Cc.exec(location.href)[1];a=Cc.exec(a)[1].replace(Ud,"");return c.endsWith(a)}}class Wg{constructor(a){this.K=a}bf(a){let c=m.Document.prototype.cookie.get.this.call(r.document).split(";");a.me=C();for(let d=0;d{f=f.content; const g=this.C(f);g&&!g.ia&&g.report&&this.j(f,g,"w")});this.b.N("ALLEGED_READ_VIOLATION",f=>{f=f.content;const g=this.u(f);g&&!g.ma&&g.report&&this.j(f,g,"r")})}F(a,c){return"CREATE_DOM_ELEMENT"===c.reportType||"REMOVE_DOM_ELEMENT"===c.reportType||"FIELD_VALUE_CHANGE"===c.reportType||"REMOVE_DOM_ELEMENT_ATTRIBUTE"===c.reportType||"UPDATE_DOM_ELEMENT"===c.reportType?!0:a.reportType===c.reportType}D(a,c){return a.message===c.message&&JSON.stringify(a.target)===JSON.stringify(c.target)&&a.severity=== c.severity&&a.permissionId===c.permissionId&&(void 0!==a.setText&&void 0!==c.setText&&a.setText===c.setText||"OPTION_ELEMENT_VALUE"===a.reportType&&c.attributeName===a.attributeName&&a.setValue===c.setValue||!!c.attributeName&&void 0!=a.attributeName&&a.attributeName.toLowerCase().split(" ").join("")===c.attributeName.toLowerCase().split(" ").join("")&&void 0!==a.setValue&&a.setValue===c.setValue||void 0!==c.addedNode&&void 0!==a.addedNode&&a.addedNode==c.addedNode||void 0!==c.removedNode&&void 0!== a.removedNode&&a.removedNode==c.removedNode)}B(a,c){return a.message===c.message&&"r"===c.message&&JSON.stringify(a.target)===JSON.stringify(c.target)}l(a){return 0this.B(c,a)||this.F(c,a)&&this.D(c,a)).length}C(a){switch(a.type){case "APPEND_CHILD":case "APPEND":case "BEFORE":case "AFTER":case "PREPEND":case "INSERT_ADJACENT_ELEMENT":case "REPLACE_WITH":case "INSERT_BEFORE":case "REPLACE_CHILD":case "TITLE":return this.i.ee(this.g,a.W,a.addedNode);case "OUTER_HTML":case "INSERT_ADJACENT_HTML":case "INNER_HTML":case "DATA":case "INNER_TEXT":case "SET_ATTRIBUTE":case "SET_ATTRIBUTE_NODE":case "CHECKED":case "VALUE":case "INPUT_ELEMENT_VALUE":case "SELECT_ELEMENT_VALUE":case "OPTION_ELEMENT_VALUE":case "TEXT_CONTENT":case "SRC":return(a= this.f.U(a.W))?this.i.tf(this.g,new N(a,null,null)):{ia:!0,report:!1};default:return!1}}u(a){const c=this.f.U(a.W);return c?this.i.be(this.g,a.ad,new N(c,null,null)):{ma:!0,report:!1}}o(a,c,d){const e=c.type;if("w"===d)switch(e){case "INNER_HTML":case "OUTER_HTML":case "REPLACE_CHILD":case "REPLACE_WITH":c.removedNode&&(d=this.f.U(c.removedNode))&&(a.removedNode=N.prototype.fd(d,!1,!0));case "TITLE":c.removedNode&&(d=this.f.U(c.removedNode))&&d.firstChild&&(a.removedNode=N.prototype.fd(d.firstChild, !1,!0));case "TEXT_CONTENT":case "APPEND_CHILD":case "INSERT_BEFORE":case "BEFORE":case "AFTER":case "APPEND":case "PREPEND":case "INSERT_ADJACENT_ELEMENT":case "INSERT_ADJACENT_HTML":a.addedNode=N.prototype.Pb.call(c.addedNode);break;case "SET_ATTRIBUTE":case "SET_ATTRIBUTE_NODE":case "OPTION_ELEMENT_VALUE":case "SRC":a.attributeName=c.attributeName;case "VALUE":case "INPUT_ELEMENT_VALUE":case "SELECT_ELEMENT_VALUE":a.origValue=c.origValue;case "CHECKED":a.setValue=c.setValue;break;case "INNER_TEXT":case "DATA":a.setText= c.setValue,a.origText=c.origValue}else a.attributeName=c.attributeName}j(a,c,d){var e=a.stack;var f=this.f.U(a.W);if(f){var g=f.id;var h=f.name,k=f.type,n=f.className?O.call(f,"class"):null;if(f){for(var q=[];f&&f.nodeType==Node.ELEMENT_NODE;f=f.parentNode){for(var w=0,t=f.previousSibling;t;t=t.previousSibling)t.nodeType!=Node.DOCUMENT_TYPE_NODE&&t.nodeName==f.nodeName&&++w;t=f.nodeName.toLowerCase();q.unshift(t+("["+(w+1)+"]"))}f=q.length?"/"+q.join("/"):null}else f="null";g={xpath:f,id:g||null, name:h||null,type:k||null,"class":n}}else g=null;c={message:d,st:e,target:g,reportType:a.type,severity:c.severity};this.o(c,a,d);this.l(c)||(this.m.push(c),H.report(2,this.g,a.authority,c))}}class vb{static b(a){let c=C();for(let d=0;d{this.f=null;var a=document.documentElement.getBoundingClientRect();this.Y.style.width=a.width+"px";this.Y.style.height= a.height+"px"},20)}X(){this.R.J("DOCUMENT_READY",null)}B(){const a={referrer:r.document.referrer,location:{protocol:r.location.protocol,hostname:r.location.hostname,pathname:r.location.pathname,search:r.location.search,hash:r.location.hash,href:r.location.href},wg:r.name,ib:window.innerWidth,ic:window.document.documentElement.clientWidth,Za:window.innerHeight,Kf:window.pageYOffset,Jf:window.pageXOffset,Kb:this.Kb,mb:this.mb,kc:H.kc,noSi:H.noSi,sessionId:H.sessionId,K:this.K,Mb:this.Mb,Nb:this.Nb, Hb:this.Hb,ab:this.ab,Ra:this.Ra,iframeReflectionRule:this.iframeReflectionRule,Ta:this.Ta};this.L.cf(a,this.Fc);this.I.bf(a);this.R.J("ENCLOSURE_INITIATION",a);this.C.$(this);this.R.J("INITIAL_DOM",this.ra());"loading"===document.readyState?m.EventTarget.prototype.addEventListener.this.call(document,"DOMContentLoaded",this.X.bind(this)):this.X();this.i.Ob();this.Ic.Ob()}ha(){var a=this.Y=document.createElement(u.md);m.Element.prototype.setAttribute.this.call(a,"enclosure-name",this.name);a.style.display= "flex";a.style.alignItems="stretch";a.style.position="absolute";a.style.top="0";a.style.left="0";a.style.zIndex="-1";a.style.fontSize="0";a.style.minHeight="100%";a.style.opacity="0";a.style.visibility="hidden";var c=this.fb=document.createElement("iframe");document.title&&m.Element.prototype.setAttribute.this.call(c,"title",document.title);switch(this.name){case "Strict":ua=0;break;case "Medium":ua=1;break;case "Loose":ua=2;break;default:ua=this.m.length-1}ua=this.m[ua]?ua:0;rf.call(c,this.m[ua]); this.src=this.m[ua];"string"===typeof this.K.sandbox&&m.Element.prototype.setAttribute.this.call(c,"sandbox",this.K.sandbox);m.Element.prototype.setAttribute.this.call(c,"name",u.tc+this.name);m.Element.prototype.setAttribute.this.call(c,"id",u.tc+this.name);c.style.border="none";c.style.overflow="hidden";c.style.width="100%";m.Element.prototype.setAttribute.this.call(c,"scrolling","no");"string"===typeof this.K.allow&&m.Element.prototype.setAttribute.this.call(c,"allow",this.K.allow);c.addEventListener("load", ()=>{this.Ua();document.dispatchEvent(new Event("scroll"))});this.tb();A.Ib(a);A.Ib(c);m.Node.prototype.appendChild.this.call(a,c);m.Node.prototype.appendChild.this.call(document.documentElement,a);this.da=Za.call(c)}ba(){this.R.N("PERFORM_ELEMENT_ACTION",this.vb.bind(this));this.R.N("REPORT",this.sc.bind(this));this.R.N("TIMELINE_EVENT",this.yc.bind(this));this.R.N("COOKIE",this.Ca.bind(this));this.R.N("STORAGE",this.wc.bind(this));this.R.N("UNLOAD_URL",this.zc.bind(this))}tb(){setTimeout(()=>{this.D|| H.report(29,null,null,{src:this.src})},5E3)}Ua(){if(!this.F){this.F=!0;for(var a=["effectiveVersion","config","loaderVersion","debugSettings"],c=[],d=0;d{this.R.L()});this.R.J("1", {c:{permissionsUrl:X.config.permissionsUrl,viceAccountId:X.config.viceAccountId,viceSiteId:X.config.viceSiteId,mainUrl:X.config.mainUrl,v:X.loaderVersion},name:this.name})}}ub(){this.D=!0;m.EventTarget.prototype.addEventListener.this.call(window,"resize",this.Sc.bind(this));m.EventTarget.prototype.addEventListener.this.call(window,"scroll",this.zf.bind(this));this.o=new I(A);this.j=new D(A);this.i=new Id(this.R,this.Hb);this.Ic=new yd(this.j,this.o,this.R,A,null,null,this.i);new Td(this.R);new Bd(this.R, null,this.g);new Od(this.R);(new Ug(this.R)).b(function(d){H.report(6,a.K,null,{duration:d})}.bind(this));var a=this;this.b=new Ad(A,this.R,this.name,this.l);let c=this.K.oc.length;for(let d=0;d{this.l&&this.l[e]||(this.b.share(e),this.b.Wf(e))})}this.I=new Wg(this.K,1);this.L=new Yg(this.R,this.K,this.u.Zd());this.ba();Xd.b(this.fb.src)&&this.Hc?(this.pc=new Xd(this,this.oa),this.pc.j(()=>{this.b.we(this.pc);this.g.Ne(this.R,this.pc);this.B()})):this.B()}Ec(a){var c= a.getEnclosureConfig(this.K.scriptType);c=c&&c[2];if(!c)return!1;if(1===c[0]){c=c[1];for(let d of c)if(c=a.getViceAuthorityByAuthorityIndex(d)[2]){if(this.K.name===Ac.b(this.K.scriptType,c))return!0}else if(this.K.scriptType===this.name)return!0;return!1}}vb(a){a=a.content;Td.b(a.O,a.action)}sc(a){a=a.content;a.buildTimestamp=jc.b();a.scriptType||(a.scriptType=this.K.scriptType);H.g(a)}yc(a){a=a.content;"string"===typeof a.name&&"number"===typeof a.timestamp&&Ed.g(a.name,a.timestamp)}Ca(a){this.I.vf(a.content)}wc(a){this.L.wf(a.content)}zc(a){(new Image).src= a.content.Vf}Sc(){this.R.J("MAIN_WINDOW_RESIZE",{clientWidth:window.document.documentElement.clientWidth,width:window.innerWidth,height:window.innerHeight})}zf(){this.R.J("MAIN_WINDOW_SCROLL",{y:window.pageYOffset,x:window.pageXOffset})}ra(){var a=document.lastChild;8===a.nodeType&&a.remove();a=[];for(var c=document.firstChild;c;c=c.nextSibling)a.push(new Fb(document,Sc(c),c,this.g,null));return a}}class wb{constructor(a,c){this.V="script noscript link style head meta title template path rect svg clipPath div g".split(" "); this.b=[];this.u=new WeakMap;this.g=new WeakMap;this.f=new WeakMap;this.i=new WeakMap;this.m=[];this.B=a;if((this.j=c)&&!this.B){const d=this;m.EventTarget.prototype.addEventListener.this.call(window,"pageshow",function(){requestAnimationFrame(function f(){d.X();requestAnimationFrame(f)})})}}Ub(a){this.b.includes(a)||this.b.push(a)}Ne(a,c){if(!this.j&&!this.b.includes(c)&&this.b.includes(a)){for(let d=0;d{e.l(f,a)})}else for(var c=this.m.length,d=0;dc.contentWindow===a)||null}l(a){return a===window}i(a){return S.g(a.src)}}class bh{constructor(){this.i=C();this.I=C();this.u=new Z;this.X=new ah(this.i);this.X.start();m.EventTarget.prototype.addEventListener.this.call(window,"message",a=>{const c=a.data&&a.data.VICE_NAVIGATE;if(c&&hb(c)&&hb(a.origin).host===location.host)for(var d in this.i)Za.call(this.i[d].fb)===a.source&&r.location.replace(c)})}Na(a, c,d,e,f,g,h,k,n,q,w,t,y,E,J){this.f=a;this.Kb=c;this.Mb=!!h;this.b=k;this.m=f;this.D=d;this.mb=e;this.j=g;this.ha=w;this.ab=t;this.Ra=y;this.aa=new $g;this.l=E;this.g=new wb(n,q);this.Ta=J;this.ba(da=>{q?this.g.Ub(da.R):this.g.Ub(da.pc||da.R)});this.f.subscribe("e1",this.B.bind(this));this.f.subscribe("e3",this.ra.bind(this))}L(a,c,d,e,f){const g=f.extractAuthorityNamesForEnclosure(c,d);this.j.Se(a,c,d,e,g);a=this.j.Vd(a);this.V(a,f);return a}B(a,c,d){(new Qd(d)).complementDataForEncloseDecision(c); const e=c.authorityName,f=c.enclosureName,g=c.Of,h=c.nc;c=c.pd;let k=this.j.Vd(f);k||(k=this.L(f,g,h,c,d));this.da(k,e,a)}ra(a,c){a=a.getPendingForViceStorage(!0);for(let d in a)this.B(d,a[d],c)}Y(){this.C||(this.C=new ResizeObserver(()=>{this.o&&clearTimeout(this.o);this.o=setTimeout(()=>{for(let a in this.i)this.i[a].Pd();this.o=null},50)}),this.C.observe(document.documentElement))}V(a,c){const d=a.name;if(!this.i[d]){var e=this.f.getScriptHandlingDataStorage();e=new Tg(a,this.b,e,A);var f=this.i[d]= new Zg(this.m,a,e,this.Kb,c,this.mb,this.g,this.aa,this.Mb,e.Zd(),this.b,this.ha,this.ab,this.Ra,this.l,this.Ta);this.F(d,f);f.V(()=>{this.u.$(this,f)});this.Y()}}ba(a){this.u.ea(a)}F(a,c){this.I[a]=c}da(a,c,d){H.report(7,a,c,{url:d})}}var ch=x.b?null:new bh;class dh{constructor(){this.f={};this.b={}}j(a,c,d,e,f,g){this.b[a]||(this.b[a]=new m.Map.this);this.b[a].set(c,{ma:d,severity:e,index:f,report:g})}l(a,c,d,e,f,g){this.f[a]||(this.f[a]=new m.Map.this);this.f[a].set(c,{ia:d,severity:e,index:f, report:g})}i(a,c){this.b[a]||(this.b[a]=new m.Map.this);return this.b[a].has(c)?this.b[a].get(c):null}g(a,c){this.f[a]||(this.f[a]=new m.Map.this);return this.f[a].has(c)?this.f[a].get(c):null}}class Yd{constructor(a){this.index=a.index;this.scriptType=a.scriptType||a.authority;this.permissionType=a.permissionType}}class eh extends Yd{constructor(a){super(a);this.on=a.on;this.onElementSelectors=a.onElementSelectors;this.when=a.when;this.action=a.action;this.priority=a.priority;this.severity=a.severity; this.report=a.report||!1;this.allowIn=a.allowIn||null;this.b()}b(){this.when&&0!==this.when.length?(this.ma=this.when.includes(1)&&1===this.action,this.ia=this.when.includes(2)&&1===this.action):this.ia=this.ma=null}}class Zd extends Yd{constructor(a){super(a);this.iframeReflectionSettings=a.iframeReflectionSettings}}class fh{constructor(){this.lb=[];this.qb=[];this.le=[];this.je=[];this.ge=[]}He(a){this.lb.push(a)}Ie(a){this.qb.push(a)}Ge(a){this.le.push(a)}Fe(a){this.je.push(a)}Ee(a){this.ge.push(a)}} class Dc{constructor(a){this.b={};a||(a=this.g(),this.C());this.B(a)}g(){const a={["*"]:[[],[]]};a["*"][0].push(Dc.b);return a}m(a){let c=[];"*"!==a&&this.b[a]&&(c=c.concat(this.b[a].lb));this.b["*"]&&(c=c.concat(this.b["*"].lb));return this.f(c)}o(a){let c=[];"*"!==a&&this.b[a]&&(c=c.concat(this.b[a].qb));this.b["*"]&&(c=c.concat(this.b["*"].qb));return this.f(c)}i(a){return(a=this.b[a])?a.ge:[]}l(a){return(a=this.b[a])?a.le:[]}j(a){return(a=this.b[a])?a.je:[]}f(a){return a.sort((c,d)=>c.index-d.index)}u(a, c){const d=Object.assign({},a);d.scriptType=c||"*";sa(a,"permissionType")&&(d.permissionType=a.permissionType);return d.iframeReflectionSettings?new Zd(d):new eh(d)}B(a){for(let d in a){var c=a[d][0];for(let e of c)c=this.u(e,d),this.D(c)}}D(a){var c=a.scriptType;this.b[c]=this.b[c]||new fh;c=this.b[c];1===a.permissionType?a instanceof Zd?c.Ee(a):(-1=e.index)return this.D(a.name,d.O,e);if(1===h.on)return this.m(a.name,d.O,h);if(2===h.on){const k=this.f.U(c);if(k&&this.X(k,a))return this.m(a.name,d.O,h)}else if(3===h.on&&this.L(d,h))return this.m(a.name,d.O,h)}return this.D(a.name,d.O,{ma:!0,severity:0,index:Number.MAX_SAFE_INTEGER})}m(a,c,d){const e={};e.ma=1===d.action;e.severity=d.severity;e.report=ma.call(d,"report")?d.report:!0;e.index=d.index;this.b.j(a,c,e.ma,e.severity,e.index,e.report); return e}D(a,c,d){this.b.j(a,c,d.ma,d.severity,d.index,d.report);return d}ia(a,c,d){if(a.scriptType===u.Sb)return!0;this.C(a,c);return(a=this.l(a,c,d))?a.ia:!1}xb(a,c){if(a.scriptType===u.Sb)return!0;var d=this.b.g(a.name,c);if(d)return d.ia;if(d=this.f.U(c))if(d=new N(d,null,null),c=this.g.b(c),this.C(a,c),a=this.l(a,c,d))return a.ia;return null}l(a,c,d){const e=this.b.g(a.name,c);let f;if(this.Y(d)||this.V(d,c,a.scriptType)&&e&&e.ia)f=this.F(a.name,d.O,{ia:!0,severity:0,index:Number.MAX_SAFE_INTEGER, report:!1});else{var g=this.b.g(a.name,d.O);if(g)f=g;else{a.qb||(a.qb=this.i.o(a.scriptType));g=a.qb;for(let h=0;h=e.index){f=this.F(a.name,d.O,e);break}else if(1===k.on){f=this.o(a.name,d.O,k);break}else if(2===k.on){const n=this.f.U(c);if(n&&this.X(n,a)){f=this.o(a.name,d.O,k);break}}else if(3===k.on&&this.L(d,k)){f=this.o(a.name,d.O,k);break}}}f||(f=this.F(a.name,d.O,{ia:!0,severity:0,index:Number.MAX_SAFE_INTEGER}))}return f}C(a,c){const d=[];for(;c;)d.unshift(c), c=this.g.b(c);for(c=0;cSa.b(db);$d.catchIframeLoadAndErrorEvents=db=>pa.b(db);H.j(n);H.l(w,q);H.B(jh);H.i(ae);e&&e.updateSendReport(db=>{H.report(14,null,null,db)});const kh=d.getScriptHandlingDataStorage(),be=new Ac(h),lh=new hh(f,A,be,da,kh);ch.Na(d,c,h,g,k,be,e,lh,t,y,E,J,da,kc,ae);this.f=!0}catch(c){this.f=!1}}i(a,c){m.Object.prototype.defineProperty.this.call(Object,X,a,{enumerable:!1,configurable:!1,writable:!1,value:c})}m(){this.i("_init",this.g);this.i("_hasInitiatedSuccessfully", this.b)}}(new ih).l()})();})();