/*! For license information please see access.2cdf979badc5e7bddfcc.js.LICENSE.txt */ (()=>{"use strict";var e={4601(e,t,n){var r=n(8420),o=n(3838),i=TypeError;e.exports=function(e){if(r(e))return e;throw new i(o(e)+" is not a function")}},3938(e,t,n){var r=n(5335),o=String,i=TypeError;e.exports=function(e){if(r(e))return e;throw new i(o(e)+" is not an object")}},8186(e,t,n){var r=n(5476),o=n(6539),i=n(3493),a=function(e){return function(t,n,a){var s,c=r(t),u=i(c),l=o(a,u);if(e&&n!=n){for(;u>l;)if((s=c[l++])!=s)return!0}else for(;u>l;l++)if((e||l in c)&&c[l]===n)return e||l||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},6648(e,t,n){var r=n(5077),o=n(8679),i=TypeError,a=Object.getOwnPropertyDescriptor,s=r&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}();e.exports=s?function(e,t){if(o(e)&&!a(e,"length").writable)throw new i("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t}},8569(e,t,n){var r=n(281),o=r({}.toString),i=r("".slice);e.exports=function(e){return i(o(e),8,-1)}},3062(e,t,n){var r=n(3129),o=n(8420),i=n(8569),a=n(1602)("toStringTag"),s=Object,c="Arguments"===i(function(){return arguments}());e.exports=r?i:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=s(e),a))?n:c?i(t):"Object"===(r=i(t))&&o(t.callee)?"Arguments":r}},4361(e,t,n){var r=n(6490),o=n(5816),i=n(7632),a=n(3610);e.exports=function(e,t,n){for(var s=o(t),c=a.f,u=i.f,l=0;l9007199254740991)throw t("Maximum allowed index exceeded");return e}},7061(e){e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},6845(e,t,n){var r,o,i=n(200),a=n(7061),s=i.process,c=i.Deno,u=s&&s.versions||c&&c.version,l=u&&u.v8;l&&(o=(r=l.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!o&&a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(o=+r[1]),e.exports=o},290(e){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},1605(e,t,n){var r=n(200),o=n(7632).f,i=n(7712),a=n(7485),s=n(9430),c=n(4361),u=n(4977);e.exports=function(e,t){var n,l,d,f,m,h=e.target,p=e.global,v=e.stat;if(n=p?r:v?r[h]||s(h,{}):(r[h]||{}).prototype)for(l in t){if(f=t[l],d=e.dontCallGetSet?(m=o(n,l))&&m.value:n[l],!u(p?l:h+(v?".":"#")+l,e.forced)&&void 0!==d){if(typeof f==typeof d)continue;c(f,d)}(e.sham||d&&d.sham)&&i(f,"sham",!0),a(n,l,f,e)}}},2074(e){e.exports=function(e){try{return!!e()}catch(e){return!0}}},8823(e,t,n){var r=n(2074);e.exports=!r(function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})},2368(e,t,n){var r=n(8823),o=Function.prototype.call;e.exports=r?o.bind(o):function(){return o.apply(o,arguments)}},2071(e,t,n){var r=n(5077),o=n(6490),i=Function.prototype,a=r&&Object.getOwnPropertyDescriptor,s=o(i,"name"),c=s&&"something"===function(){}.name,u=s&&(!r||r&&a(i,"name").configurable);e.exports={EXISTS:s,PROPER:c,CONFIGURABLE:u}},281(e,t,n){var r=n(8823),o=Function.prototype,i=o.call,a=r&&o.bind.bind(i,i);e.exports=r?a:function(e){return function(){return i.apply(e,arguments)}}},6492(e,t,n){var r=n(200),o=n(8420);e.exports=function(e,t){return arguments.length<2?(n=r[e],o(n)?n:void 0):r[e]&&r[e][t];var n}},6457(e,t,n){var r=n(4601),o=n(8406);e.exports=function(e,t){var n=e[t];return o(n)?void 0:r(n)}},200(e,t,n){var r=function(e){return e&&e.Math===Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||function(){return this}()||this||Function("return this")()},6490(e,t,n){var r=n(281),o=n(2612),i=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return i(o(e),t)}},7708(e){e.exports={}},7694(e,t,n){var r=n(5077),o=n(2074),i=n(3262);e.exports=!r&&!o(function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a})},8664(e,t,n){var r=n(281),o=n(2074),i=n(8569),a=Object,s=r("".split);e.exports=o(function(){return!a("z").propertyIsEnumerable(0)})?function(e){return"String"===i(e)?s(e,""):a(e)}:a},9965(e,t,n){var r=n(281),o=n(8420),i=n(9310),a=r(Function.toString);o(i.inspectSource)||(i.inspectSource=function(e){return a(e)}),e.exports=i.inspectSource},9206(e,t,n){var r,o,i,a=n(8369),s=n(200),c=n(5335),u=n(7712),l=n(6490),d=n(9310),f=n(5904),m=n(7708),h="Object already initialized",p=s.TypeError,v=s.WeakMap;if(a||d.state){var g=d.state||(d.state=new v);g.get=g.get,g.has=g.has,g.set=g.set,r=function(e,t){if(g.has(e))throw new p(h);return t.facade=e,g.set(e,t),t},o=function(e){return g.get(e)||{}},i=function(e){return g.has(e)}}else{var y=f("state");m[y]=!0,r=function(e,t){if(l(e,y))throw new p(h);return t.facade=e,u(e,y,t),t},o=function(e){return l(e,y)?e[y]:{}},i=function(e){return l(e,y)}}e.exports={set:r,get:o,has:i,enforce:function(e){return i(e)?o(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!c(t)||(n=o(t)).type!==e)throw new p("Incompatible receiver, "+e+" required");return n}}}},8679(e,t,n){var r=n(8569);e.exports=Array.isArray||function(e){return"Array"===r(e)}},8420(e,t,n){var r=n(6568),o=r.all;e.exports=r.IS_HTMLDDA?function(e){return"function"==typeof e||e===o}:function(e){return"function"==typeof e}},4977(e,t,n){var r=n(2074),o=n(8420),i=/#|\.prototype\./,a=function(e,t){var n=c[s(e)];return n===l||n!==u&&(o(t)?r(t):!!t)},s=a.normalize=function(e){return String(e).replace(i,".").toLowerCase()},c=a.data={},u=a.NATIVE="N",l=a.POLYFILL="P";e.exports=a},8406(e){e.exports=function(e){return null==e}},5335(e,t,n){var r=n(8420),o=n(6568),i=o.all;e.exports=o.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:r(e)||e===i}:function(e){return"object"==typeof e?null!==e:r(e)}},6926(e){e.exports=!1},2328(e,t,n){var r=n(6492),o=n(8420),i=n(7658),a=n(5225),s=Object;e.exports=a?function(e){return"symbol"==typeof e}:function(e){var t=r("Symbol");return o(t)&&i(t.prototype,s(e))}},3493(e,t,n){var r=n(3747);e.exports=function(e){return r(e.length)}},8218(e,t,n){var r=n(281),o=n(2074),i=n(8420),a=n(6490),s=n(5077),c=n(2071).CONFIGURABLE,u=n(9965),l=n(9206),d=l.enforce,f=l.get,m=String,h=Object.defineProperty,p=r("".slice),v=r("".replace),g=r([].join),y=s&&!o(function(){return 8!==h(function(){},"length",{value:8}).length}),b=String(String).split("String"),w=e.exports=function(e,t,n){"Symbol("===p(m(t),0,7)&&(t="["+v(m(t),/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!a(e,"name")||c&&e.name!==t)&&(s?h(e,"name",{value:t,configurable:!0}):e.name=t),y&&n&&a(n,"arity")&&e.length!==n.arity&&h(e,"length",{value:n.arity});try{n&&a(n,"constructor")&&n.constructor?s&&h(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var r=d(e);return a(r,"source")||(r.source=g(b,"string"==typeof t?t:"")),e};Function.prototype.toString=w(function(){return i(this)&&f(this).source||u(this)},"toString")},9830(e){var t=Math.ceil,n=Math.floor;e.exports=Math.trunc||function(e){var r=+e;return(r>0?n:t)(r)}},3610(e,t,n){var r=n(5077),o=n(7694),i=n(4491),a=n(3938),s=n(6032),c=TypeError,u=Object.defineProperty,l=Object.getOwnPropertyDescriptor,d="enumerable",f="configurable",m="writable";t.f=r?i?function(e,t,n){if(a(e),t=s(t),a(n),"function"==typeof e&&"prototype"===t&&"value"in n&&m in n&&!n[m]){var r=l(e,t);r&&r[m]&&(e[t]=n.value,n={configurable:f in n?n[f]:r[f],enumerable:d in n?n[d]:r[d],writable:!1})}return u(e,t,n)}:u:function(e,t,n){if(a(e),t=s(t),a(n),o)try{return u(e,t,n)}catch(e){}if("get"in n||"set"in n)throw new c("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},7632(e,t,n){var r=n(5077),o=n(2368),i=n(9304),a=n(6843),s=n(5476),c=n(6032),u=n(6490),l=n(7694),d=Object.getOwnPropertyDescriptor;t.f=r?d:function(e,t){if(e=s(e),t=c(t),l)try{return d(e,t)}catch(e){}if(u(e,t))return a(!o(i.f,e,t),e[t])}},4789(e,t,n){var r=n(6347),o=n(290).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},8916(e,t){t.f=Object.getOwnPropertySymbols},7658(e,t,n){var r=n(281);e.exports=r({}.isPrototypeOf)},6347(e,t,n){var r=n(281),o=n(6490),i=n(5476),a=n(8186).indexOf,s=n(7708),c=r([].push);e.exports=function(e,t){var n,r=i(e),u=0,l=[];for(n in r)!o(s,n)&&o(r,n)&&c(l,n);for(;t.length>u;)o(r,n=t[u++])&&(a(l,n)||c(l,n));return l}},9304(e,t){var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,o=r&&!n.call({1:2},1);t.f=o?function(e){var t=r(this,e);return!!t&&t.enumerable}:n},9751(e,t,n){var r=n(2368),o=n(8420),i=n(5335),a=TypeError;e.exports=function(e,t){var n,s;if("string"===t&&o(n=e.toString)&&!i(s=r(n,e)))return s;if(o(n=e.valueOf)&&!i(s=r(n,e)))return s;if("string"!==t&&o(n=e.toString)&&!i(s=r(n,e)))return s;throw new a("Can't convert object to primitive value")}},5816(e,t,n){var r=n(6492),o=n(281),i=n(4789),a=n(8916),s=n(3938),c=o([].concat);e.exports=r("Reflect","ownKeys")||function(e){var t=i.f(s(e)),n=a.f;return n?c(t,n(e)):t}},1229(e,t,n){var r=n(8406),o=TypeError;e.exports=function(e){if(r(e))throw new o("Can't call method on "+e);return e}},5904(e,t,n){var r=n(2),o=n(665),i=r("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},9310(e,t,n){var r=n(200),o=n(9430),i="__core-js_shared__",a=r[i]||o(i,{});e.exports=a},2(e,t,n){var r=n(6926),o=n(9310);(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.33.0",mode:r?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.33.0/LICENSE",source:"https://github.com/zloirock/core-js"})},2072(e,t,n){var r=n(6845),o=n(2074),i=n(200).String;e.exports=!!Object.getOwnPropertySymbols&&!o(function(){var e=Symbol("symbol detection");return!i(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41})},6539(e,t,n){var r=n(9328),o=Math.max,i=Math.min;e.exports=function(e,t){var n=r(e);return n<0?o(n+t,0):i(n,t)}},5476(e,t,n){var r=n(8664),o=n(1229);e.exports=function(e){return r(o(e))}},9328(e,t,n){var r=n(9830);e.exports=function(e){var t=+e;return t!=t||0===t?0:r(t)}},3747(e,t,n){var r=n(9328),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},2612(e,t,n){var r=n(1229),o=Object;e.exports=function(e){return o(r(e))}},874(e,t,n){var r=n(2368),o=n(5335),i=n(2328),a=n(6457),s=n(9751),c=n(1602),u=TypeError,l=c("toPrimitive");e.exports=function(e,t){if(!o(e)||i(e))return e;var n,c=a(e,l);if(c){if(void 0===t&&(t="default"),n=r(c,e,t),!o(n)||i(n))return n;throw new u("Can't convert object to primitive value")}return void 0===t&&(t="number"),s(e,t)}},6032(e,t,n){var r=n(874),o=n(2328);e.exports=function(e){var t=r(e,"string");return o(t)?t:t+""}},3129(e,t,n){var r={};r[n(1602)("toStringTag")]="z",e.exports="[object z]"===String(r)},5362(e,t,n){var r=n(3062),o=String;e.exports=function(e){if("Symbol"===r(e))throw new TypeError("Cannot convert a Symbol value to a string");return o(e)}},3838(e){var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},665(e,t,n){var r=n(281),o=0,i=Math.random(),a=r(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+a(++o+i,36)}},5225(e,t,n){var r=n(2072);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},4491(e,t,n){var r=n(5077),o=n(2074);e.exports=r&&o(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})},6589(e){var t=TypeError;e.exports=function(e,n){if(esetTimeout(e,50));const o=window.getComputedStyle(r),i=0===r.offsetHeight||"none"===o.display||"hidden"===o.visibility;return document.body.removeChild(e),i}catch(e){return console.debug("TNCMS.Access: Brave detection error",e),!1}return!1}();if(t)return console.debug("TNCMS.Access: Brave Shields detected"),{detected:!0,type:"brave"};const n="ad-container-"+Math.random().toString(36).substring(2,15),r=document.createElement("div");r.id=n,r.style.cssText="position: absolute; left: -9999px; top: -9999px; width: 300px; height: 250px;",document.body.appendChild(r);const o=document.createElement("div");o.className="ad_wrapper adsbox ad-placement",o.style.cssText="height: 10px; width: 10px; display: block !important; visibility: visible !important;",o.textContent="advertisement",r.appendChild(o);const i=document.createElement("div");i.id="ad_frame",i.className="ad-frame",i.style.cssText="height: 10px; width: 10px; display: block !important; visibility: visible !important;",i.textContent="sponsored",r.appendChild(i);const a=document.createElement("div");a.id="google_ads_iframe",a.className="adsbygoogle",a.setAttribute("data-ad-client","ca-pub-1234567890"),a.setAttribute("data-ad-slot","1234567890"),a.style.cssText="height: 10px; width: 10px; display: block !important; visibility: visible !important;",a.textContent="advertisement",r.appendChild(a);const s=document.createElement("div");s.id="ad-unit",s.className="ad-unit",s.style.cssText="width: 10px; height: 10px; display: block !important; visibility: visible !important;",s.textContent="sponsored content",r.appendChild(s);const c=document.createElement("div");c.className="adnetwork-ad-unit",c.setAttribute("data-ad-slot","1234567890"),c.style.cssText="height: 10px; width: 10px; display: block !important; visibility: visible !important;",c.textContent="advertisement",r.appendChild(c);const u=document.createElement("div");u.className="fb-ad",u.setAttribute("data-ad-format","rectangle"),u.style.cssText="height: 10px; width: 10px; display: block !important; visibility: visible !important;",r.appendChild(u),await new Promise(e=>setTimeout(e,100));const l=document.querySelector("html > :not(head):not(body)");if(l&&l.shadowRoot)return console.debug("TNCMS.Access: Detected uBlock Origin shadow DOM element"),document.body.removeChild(r),{detected:!0,type:"ublock"};const d=[o,i,a,s,c,u];let f=[];for(let e=0;e=3&&(v="generic");const g=f.length>=3;return console.debug(`TNCMS.Access: Ad blocker detection: ${f.length} baits hidden (${f.join(", ")}), type: ${v}, result: ${g}`),{detected:g,type:v}}catch(e){return console.debug("TNCMS.Access: Ad blocker detection error",e),{detected:!1,type:null}}}function o(e,t){a(e,t),t.add(e)}function i(e,t,n){a(e,t),t.set(e,n)}function a(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function s(e,t){return function(e,t){return t.get?t.get.call(e):t.value}(e,l(t,e))}function c(e,t,n){return d(t,e),n}function u(e,t,n){return function(e,t,n){if(t.set)t.set.call(e,n);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=n}}(e,l(t,e),n),n}function l(e,t){return e.get(d(e,t))}function d(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n(8743),n(6380),n(1059),n(2838);var f=new WeakMap,m=new WeakMap,h=new WeakMap,p=new WeakSet,v=new WeakSet,g=new WeakSet;class y{constructor(e,t=0){if(o(this,g),o(this,v),o(this,p),i(this,f,{writable:!0,value:0}),i(this,m,{writable:!0,value:void 0}),i(this,h,{writable:!0,value:void 0}),"string"!=typeof e)throw new Error("A string value must be provided for the ID");if(0==e.length)throw new Error("The ID value must not be empty");u(this,m,e),0===t?u(this,f,c(this,p,b).call(this)):this.views=t}setExpireDays(e){u(this,h,e)}increment(){this.views=s(this,f)+1}set views(e){if("number"!=typeof e)throw new Error("Views must provided as a number");if((e=parseInt(e))<0)throw new Error("Views must be greater than or equal to zero");u(this,f,e),s(this,f)!=c(this,p,b).call(this)&&c(this,g,x).call(this)}get views(){return s(this,f)}get id(){return s(this,m)}get expires(){let e;return s(this,h)?(e=c(this,v,w).call(this),e||(e=new Date,e.setDate(e.getDate()+s(this,h)))):(e=new Date,e.setDate(1),e.setMonth(e.getMonth()+1),e.setHours(0),e.setMinutes(0),e.setSeconds(0)),e}toJSON(){return{id:s(this,m),views:s(this,f),expires:this.expires}}}function b(){try{let e=decodeURIComponent(document.cookie).split(/\s*?;\s*/);for(const t of e)if(0===t.indexOf("tncms:meter:assets"+s(this,m))){let e=t.match(/=(\d+)/);if(e)return parseInt(e[1])}}catch(e){}return 0}function w(){try{let e=decodeURIComponent(document.cookie).split(/\s*?;\s*/);for(const t of e)if(0===t.indexOf("tncms:meter:days"+s(this,m))){let e=t.match(/=(.+)/);if(e)return new Date(e[1])}}catch(e){}return null}function x(){document.cookie="tncms:meter:assets"+s(this,m)+"="+s(this,f)+"; expires="+this.expires.toGMTString()+"; path=/; SameSite=Strict",s(this,h)&&(document.cookie="tncms:meter:days"+s(this,m)+"="+this.expires.toGMTString()+"; expires="+this.expires.toGMTString()+"; path=/; SameSite=Strict")}var S={d:(e,t)=>{for(var n in t)S.o(t,n)&&!S.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)},k={};S.d(k,{A:()=>E,k:()=>A});var L=function(e,t,n,r){return new(n||(n=Promise))(function(o,i){function a(e){try{c(r.next(e))}catch(e){i(e)}}function s(e){try{c(r.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}c((r=r.apply(e,t||[])).next())})},M=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(s){return function(c){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,s[0]&&(a=0)),a;)try{if(n=1,r&&(o=2&s[0]?r.return:s[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;switch(r=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]0?s/a:1/0),n.length>=7&&performance.now()-e>=1e3)return[3,7];u.label=6;case 6:return r++,[3,3];case 7:return n.sort(function(e,t){return e-t}),i.close(),indexedDB.deleteDatabase(t),o(n[n.length>>1]<1.3),[2]}})}).catch(function(){i.close(),indexedDB.deleteDatabase(t),o(!1)})}}(),[3,6]);case 3:return 25!==i()?[3,5]:(n="Firefox",[4,c()]);case 4:return e.sent(),[3,6];case 5:void 0!==navigator.msSaveBlob?(n="Internet Explorer",o(void 0===window.indexedDB)):t(new Error("detectIncognito cannot determine the browser")),e.label=6;case 6:return[2]}var r})})})().catch(t)})];case 1:return[2,e.sent()]}})})}const E=A,C=k.k;function I(e,t,n){T(e,t),t.set(e,n)}function T(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function _(e,t){return function(e,t){return t.get?t.get.call(e):t.value}(e,j(t,e))}function P(e,t,n){return function(e,t,n){if(t.set)t.set.call(e,n);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=n}}(e,j(t,e),n),n}function j(e,t){return e.get(V(e,t))}function V(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}var O=new WeakMap,W=new WeakMap,R=new WeakSet;class N{constructor({mockResult:e}={}){if(function(e,t){T(e,t),t.add(e)}(this,R),I(this,O,{writable:!0,value:void 0}),I(this,W,{writable:!0,value:void 0}),void 0!==e&&"boolean"!=typeof e)throw new TypeError("Mock incognito result must be a boolean");P(this,O,e)}async detect(){return void 0!==_(this,O)?_(this,O):(_(this,W)||P(this,W,function(e,t,n){return V(t,e),n}(this,R,D).call(this)),_(this,W))}}async function D(){try{const e=await C();if("boolean"!=typeof e?.isPrivate)throw new Error("Private browsing detector returned an invalid result");return P(this,O,e.isPrivate),_(this,O)}catch(e){return P(this,O,null),console.error("Failed to detect private browsing mode",e),_(this,O)}}var F="5.3.0";function Z(e){return parseInt(e)}function G(e){return parseFloat(e)}function X(e,t){return"number"==typeof e&&isNaN(e)?t:e}function Y(e){return e.reduce((e,t)=>e+(t?1:0),0)}function H(e,t=1){if(Math.abs(t)>=1)return Math.round(e/t)*t;{const n=1/t;return Math.round(e*n)/n}}function J(){const e=window,t=navigator;return Y(["MSCSSMatrix"in e,"msSetImmediate"in e,"msIndexedDB"in e,"msMaxTouchPoints"in t,"msPointerEnabled"in t])>=4}function B(){const e=window,t=navigator;return Y(["webkitPersistentStorage"in t,"webkitTemporaryStorage"in t,0===(t.vendor||"").indexOf("Google"),"webkitResolveLocalFileSystemURL"in e,"BatteryManager"in e,"webkitMediaStream"in e,"webkitSpeechGrammar"in e])>=5}function z(){const e=window;return Y(["ApplePayError"in e,"CSSPrimitiveValue"in e,"Counter"in e,0===navigator.vendor.indexOf("Apple"),"RGBColor"in e,"WebKitMediaKeys"in e])>=4}function U(){const e=window,{HTMLElement:t,Document:n}=e;return Y(["safari"in e,!("ongestureend"in e),!("TouchEvent"in e),!("orientation"in e),t&&!("autocapitalize"in t.prototype),n&&"pointerLockElement"in n.prototype])>=4}function $(){const e=window;return t=e.print,/^function\s.*?\{\s*\[native code]\s*}$/.test(String(t))&&"[object WebPageNamespace]"===String(e.browser);var t}function q(){var e,t;const n=window;return Y(["buildID"in navigator,"MozAppearance"in(null!==(t=null===(e=document.documentElement)||void 0===e?void 0:e.style)&&void 0!==t?t:{}),"onmozfullscreenchange"in n,"mozInnerScreenX"in n,"CSSMozDocumentRule"in n,"CanvasCaptureMediaStream"in n])>=4}function Q(){const{CSS:e}=window;return Y([e.supports("selector(::details-content)"),e.supports("selector(::before::marker)"),e.supports("selector(::after::marker)"),!("locale"in CompositionEvent.prototype)])>=3}function K(){const e=window,t=document,{CSS:n,Promise:r,AudioContext:o}=e;return Y([r&&"try"in r,"caretPositionFromPoint"in t,o&&"onerror"in o.prototype,n.supports("ruby-align","space-around")])>=3}function ee(){const e=window,t=navigator,{CSS:n,HTMLButtonElement:r}=e;return Y([!("getStorageUpdates"in t),r&&"popover"in r.prototype,"CSSCounterStyleRule"in e,n.supports("font-size-adjust: ex-height 0.5"),n.supports("text-transform: full-width")])>=4}function te(){var e,t;const n=B(),r=q(),o=window,i=navigator;return n?Y([ne(),"HTMLInputElement"in o&&"capture"in HTMLInputElement.prototype,"NetworkInformation"in o&&"ontypechange"in(null!==(t=null===(e=o.NetworkInformation)||void 0===e?void 0:e.prototype)&&void 0!==t?t:{}),!("sinkId"in new Audio)])>=2:!!r&&Y(["onorientationchange"in o,"orientation"in o,/android/i.test(i.appVersion)])>=2}function ne(){var e,t;try{return!!(null===(t=null===(e=window.Intl)||void 0===e?void 0:e.supportedValuesOf)||void 0===t?void 0:t.call(e,"collation").includes("dict"))}catch(e){return!1}}function re(e,t){return new Promise(n=>setTimeout(n,e,t))}function oe(){return new Promise(e=>{const t=new MessageChannel;t.port1.onmessage=()=>e(),t.port2.postMessage(null)})}function ie(e){return!!e&&"function"==typeof e.then}function ae(e,t){try{const n=e();ie(n)?n.then(e=>t(!0,e),e=>t(!1,e)):t(!0,n)}catch(e){t(!1,e)}}async function se(e,t,n=16){const r=Array(e.length);let o=Date.now();for(let i=0;i=o+n&&(o=a,await oe())}return r}function ce(e){return e.then(void 0,()=>{}),e}async function ue(e,t,n=50){var r,o,i;const a=document;for(;!a.body;)await re(n);const s=a.createElement("iframe");try{for((await new Promise((e,n)=>{let r=!1;const o=()=>{r=!0,e()};s.onload=o,s.onerror=e=>{r=!0,n(e)};const{style:i}=s;i.setProperty("display","block","important"),i.position="absolute",i.top="0",i.left="0",i.visibility="hidden",t&&"srcdoc"in s?s.srcdoc=t:s.src="about:blank",a.body.appendChild(s);const c=()=>{var e,t;r||("complete"===(null===(t=null===(e=s.contentWindow)||void 0===e?void 0:e.document)||void 0===t?void 0:t.readyState)?o():setTimeout(c,10))};c()}));!(null===(o=null===(r=s.contentWindow)||void 0===r?void 0:r.document)||void 0===o?void 0:o.body);)await re(n);return await e(s,s.contentWindow)}finally{null===(i=s.parentNode)||void 0===i||i.removeChild(s)}}function le(e){const[t,n]=function(e){var t,n;const r=`Unexpected syntax '${e}'`,o=/^\s*([a-z-]*)(.*)$/i.exec(e),i=o[1]||void 0,a={},s=/([.:#][\w-]+|\[.+?\])/gi,c=(e,t)=>{a[e]=a[e]||[],a[e].push(t)};for(;;){const e=s.exec(o[2]);if(!e)break;const i=e[0];switch(i[0]){case".":c("class",i.slice(1));break;case"#":c("id",i.slice(1));break;case"[":{const e=/^\[([\w-]+)([|^$*]?=("(.*?)"|([\w-]+)))?(\s+[is])?\]$/.exec(i);if(!e)throw new Error(r);c(e[1],null!==(n=null!==(t=e[4])&&void 0!==t?t:e[5])&&void 0!==n?n:"");break}default:throw new Error(r)}}return[i,a]}(e),r=document.createElement(null!=t?t:"div");for(const e of Object.keys(n)){const t=n[e].join(" ");"style"===e?de(r.style,t):r.setAttribute(e,t)}return r}function de(e,t){for(const n of t.split(";")){const t=/^\s*([\w-]+)\s*:\s*(.+?)(\s*!([\w-]+))?\s*$/.exec(n);if(t){const[,n,r,,o]=t;e.setProperty(n,r,o||"")}}}function fe(e){const t=new Error(e);return t.name=e,t}function me(e){return e.toDataURL()}function he(e){return matchMedia(`(prefers-contrast: ${e})`).matches}function pe(e){e.style.setProperty("visibility","hidden","important"),e.style.setProperty("display","block","important")}const ve="mmMwWLliI0fiflO&1",ge={default:[],apple:[{font:"-apple-system-body"}],serif:[{fontFamily:"serif"}],sans:[{fontFamily:"sans-serif"}],mono:[{fontFamily:"monospace"}],min:[{fontSize:"1px"}],system:[{fontFamily:"system-ui"}]};function ye(e){const t=te()?0:3,n=Math.pow(10,t);return Math.floor(e*n)/n}const be=["monospace","sans-serif","serif"],we=["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 xe(e){return matchMedia(`(forced-colors: ${e})`).matches}function Se(e){return matchMedia(`(dynamic-range: ${e})`).matches}function ke(e){return matchMedia(`(inverted-colors: ${e})`).matches}const Le=Math,Me=()=>0;function Ae(e){return matchMedia(`(prefers-reduced-motion: ${e})`).matches}function Ee(e){return matchMedia(`(prefers-reduced-transparency: ${e})`).matches}let Ce,Ie;function Te(){const e=screen;return[X(G(e.availTop),null),X(G(e.width)-G(e.availWidth)-X(G(e.availLeft),0),null),X(G(e.height)-G(e.availHeight)-X(G(e.availTop),0),null),X(G(e.availLeft),null)]}function _e(e){for(let t=0;t<4;++t)if(e[t])return!1;return!0}const Pe=new Set([10752,2849,2884,2885,2886,2928,2929,2930,2931,2932,2960,2961,2962,2963,2964,2965,2966,2967,2968,2978,3024,3042,3088,3089,3106,3107,32773,32777,32777,32823,32824,32936,32937,32938,32939,32968,32969,32970,32971,3317,33170,3333,3379,3386,33901,33902,34016,34024,34076,3408,3410,3411,3412,3413,3414,3415,34467,34816,34817,34818,34819,34877,34921,34930,35660,35661,35724,35738,35739,36003,36004,36005,36347,36348,36349,37440,37441,37443,7936,7937,7938]),je=new Set([34047,35723,36063,34852,34853,34854,34229,36392,36795,38449]),Ve=["FRAGMENT_SHADER","VERTEX_SHADER"],Oe=["LOW_FLOAT","MEDIUM_FLOAT","HIGH_FLOAT","LOW_INT","MEDIUM_INT","HIGH_INT"],We="WEBGL_debug_renderer_info";function Re(e){if(e.webgl)return e.webgl.context;const t=document.createElement("canvas");let n;t.addEventListener("webglCreateContextError",()=>n=void 0);for(const e of["webgl","experimental-webgl"]){try{n=t.getContext(e)}catch(e){}if(n)break}return e.webgl={context:n},n}function Ne(e,t,n){const r=e.getShaderPrecisionFormat(e[t],e[n]);return r?[r.rangeMin,r.rangeMax,r.precision]:[]}function De(e){return Object.keys(e.__proto__).filter(Fe)}function Fe(e){return"string"==typeof e&&!e.match(/[^A-Z0-9_x]/)}function Ze(){return q()}function Ge(){return B()||z()}function Xe(e){return"function"==typeof e.getParameter}const Ye={userAgentData:async function(){const e=navigator.userAgentData;if(!e)return;const t=e.brands.filter(({brand:e})=>!function(e){return/not/i.test(e)}(e)).map(({brand:e})=>e),n={brands:t.length>1?t.filter(e=>"Chromium"!==e):t,mobile:e.mobile,platform:e.platform};if(e.getHighEntropyValues)try{const t=await e.getHighEntropyValues(["architecture","bitness","model","platformVersion"]);n.architecture=t.architecture,n.bitness=t.bitness,n.model=t.model,n.platformVersion=t.platformVersion}catch(e){if(!(e instanceof DOMException&&"NotAllowedError"===e.name))throw e;n.highEntropyStatus="not_allowed"}return n},fonts:function(){return ue((e,{document:t})=>{const n=t.body;n.style.fontSize="48px";const r=t.createElement("div");r.style.setProperty("visibility","hidden","important");const o={},i={},a=e=>{const n=t.createElement("span"),{style:o}=n;return o.position="absolute",o.top="0",o.left="0",o.fontFamily=e,n.textContent="mmMwWLliI0O&1",r.appendChild(n),n},s=(e,t)=>a(`'${e}',${t}`),c=be.map(a),u=(()=>{const e={};for(const t of we)e[t]=be.map(e=>s(t,e));return e})();n.appendChild(r);for(let e=0;e{return t=u[e],be.some((e,n)=>t[n].offsetWidth!==o[e]||t[n].offsetHeight!==i[e]);var t})})},domBlockers:async function({debug:e}={}){if(!z()&&!te())return;const t=function(){const e=atob;return{abpIndo:["#Iklan-Melayang","#Kolom-Iklan-728","#SidebarIklan-wrapper",'[title="ALIENBOLA" i]',e("I0JveC1CYW5uZXItYWRz")],abpvn:[".quangcao","#mobileCatfish",e("LmNsb3NlLWFkcw=="),'[id^="bn_bottom_fixed_"]',"#pmadv"],adBlockFinland:[".mainostila",e("LnNwb25zb3JpdA=="),".ylamainos",e("YVtocmVmKj0iL2NsaWNrdGhyZ2guYXNwPyJd"),e("YVtocmVmXj0iaHR0cHM6Ly9hcHAucmVhZHBlYWsuY29tL2FkcyJd")],adBlockPersian:["#navbar_notice_50",".kadr",'TABLE[width="140px"]',"#divAgahi",e("YVtocmVmXj0iaHR0cDovL2cxLnYuZndtcm0ubmV0L2FkLyJd")],adBlockWarningRemoval:["#adblock-honeypot",".adblocker-root",".wp_adblock_detect",e("LmhlYWRlci1ibG9ja2VkLWFk"),e("I2FkX2Jsb2NrZXI=")],adGuardAnnoyances:[".hs-sosyal","#cookieconsentdiv",'div[class^="app_gdpr"]',".as-oil",'[data-cypress="soft-push-notification-modal"]'],adGuardBase:[".BetterJsPopOverlay",e("I2FkXzMwMFgyNTA="),e("I2Jhbm5lcmZsb2F0MjI="),e("I2NhbXBhaWduLWJhbm5lcg=="),e("I0FkLUNvbnRlbnQ=")],adGuardChinese:[e("LlppX2FkX2FfSA=="),e("YVtocmVmKj0iLmh0aGJldDM0LmNvbSJd"),"#widget-quan",e("YVtocmVmKj0iLzg0OTkyMDIwLnh5eiJd"),e("YVtocmVmKj0iLjE5NTZobC5jb20vIl0=")],adGuardFrench:["#pavePub",e("LmFkLWRlc2t0b3AtcmVjdGFuZ2xl"),".mobile_adhesion",".widgetadv",e("LmFkc19iYW4=")],adGuardGerman:['aside[data-portal-id="leaderboard"]'],adGuardJapanese:["#kauli_yad_1",e("YVtocmVmXj0iaHR0cDovL2FkMi50cmFmZmljZ2F0ZS5uZXQvIl0="),e("Ll9wb3BJbl9pbmZpbml0ZV9hZA=="),e("LmFkZ29vZ2xl"),e("Ll9faXNib29zdFJldHVybkFk")],adGuardMobile:[e("YW1wLWF1dG8tYWRz"),e("LmFtcF9hZA=="),'amp-embed[type="24smi"]',"#mgid_iframe1",e("I2FkX2ludmlld19hcmVh")],adGuardRussian:[e("YVtocmVmXj0iaHR0cHM6Ly9hZC5sZXRtZWFkcy5jb20vIl0="),e("LnJlY2xhbWE="),'div[id^="smi2adblock"]',e("ZGl2W2lkXj0iQWRGb3hfYmFubmVyXyJd"),"#psyduckpockeball"],adGuardSocial:[e("YVtocmVmXj0iLy93d3cuc3R1bWJsZXVwb24uY29tL3N1Ym1pdD91cmw9Il0="),e("YVtocmVmXj0iLy90ZWxlZ3JhbS5tZS9zaGFyZS91cmw/Il0="),".etsy-tweet","#inlineShare",".popup-social"],adGuardSpanishPortuguese:["#barraPublicidade","#Publicidade","#publiEspecial","#queTooltip",".cnt-publi"],adGuardTrackingProtection:["#qoo-counter",e("YVtocmVmXj0iaHR0cDovL2NsaWNrLmhvdGxvZy5ydS8iXQ=="),e("YVtocmVmXj0iaHR0cDovL2hpdGNvdW50ZXIucnUvdG9wL3N0YXQucGhwIl0="),e("YVtocmVmXj0iaHR0cDovL3RvcC5tYWlsLnJ1L2p1bXAiXQ=="),"#top100counter"],adGuardTurkish:["#backkapat",e("I3Jla2xhbWk="),e("YVtocmVmXj0iaHR0cDovL2Fkc2Vydi5vbnRlay5jb20udHIvIl0="),e("YVtocmVmXj0iaHR0cDovL2l6bGVuemkuY29tL2NhbXBhaWduLyJd"),e("YVtocmVmXj0iaHR0cDovL3d3dy5pbnN0YWxsYWRzLm5ldC8iXQ==")],bulgarian:[e("dGQjZnJlZW5ldF90YWJsZV9hZHM="),"#ea_intext_div",".lapni-pop-over","#xenium_hot_offers"],easyList:[".yb-floorad",e("LndpZGdldF9wb19hZHNfd2lkZ2V0"),e("LnRyYWZmaWNqdW5reS1hZA=="),".textad_headline",e("LnNwb25zb3JlZC10ZXh0LWxpbmtz")],easyListChina:[e("LmFwcGd1aWRlLXdyYXBbb25jbGljayo9ImJjZWJvcy5jb20iXQ=="),e("LmZyb250cGFnZUFkdk0="),"#taotaole","#aafoot.top_box",".cfa_popup"],easyListCookie:[".ezmob-footer",".cc-CookieWarning","[data-cookie-number]",e("LmF3LWNvb2tpZS1iYW5uZXI="),".sygnal24-gdpr-modal-wrap"],easyListCzechSlovak:["#onlajny-stickers",e("I3Jla2xhbW5pLWJveA=="),e("LnJla2xhbWEtbWVnYWJvYXJk"),".sklik",e("W2lkXj0ic2tsaWtSZWtsYW1hIl0=")],easyListDutch:[e("I2FkdmVydGVudGll"),e("I3ZpcEFkbWFya3RCYW5uZXJCbG9jaw=="),".adstekst",e("YVtocmVmXj0iaHR0cHM6Ly94bHR1YmUubmwvY2xpY2svIl0="),"#semilo-lrectangle"],easyListGermany:["#SSpotIMPopSlider",e("LnNwb25zb3JsaW5rZ3J1ZW4="),e("I3dlcmJ1bmdza3k="),e("I3Jla2xhbWUtcmVjaHRzLW1pdHRl"),e("YVtocmVmXj0iaHR0cHM6Ly9iZDc0Mi5jb20vIl0=")],easyListItaly:[e("LmJveF9hZHZfYW5udW5jaQ=="),".sb-box-pubbliredazionale",e("YVtocmVmXj0iaHR0cDovL2FmZmlsaWF6aW9uaWFkcy5zbmFpLml0LyJd"),e("YVtocmVmXj0iaHR0cHM6Ly9hZHNlcnZlci5odG1sLml0LyJd"),e("YVtocmVmXj0iaHR0cHM6Ly9hZmZpbGlhemlvbmlhZHMuc25haS5pdC8iXQ==")],easyListLithuania:[e("LnJla2xhbW9zX3RhcnBhcw=="),e("LnJla2xhbW9zX251b3JvZG9z"),e("aW1nW2FsdD0iUmVrbGFtaW5pcyBza3lkZWxpcyJd"),e("aW1nW2FsdD0iRGVkaWt1b3RpLmx0IHNlcnZlcmlhaSJd"),e("aW1nW2FsdD0iSG9zdGluZ2FzIFNlcnZlcmlhaS5sdCJd")],estonian:[e("QVtocmVmKj0iaHR0cDovL3BheTRyZXN1bHRzMjQuZXUiXQ==")],fanboyAnnoyances:["#ac-lre-player",".navigate-to-top","#subscribe_popup",".newsletter_holder","#back-top"],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:["#FollowUs","#meteored_share","#social_follow",".article-sharer",".community__social-desc"],frellwitSwedish:[e("YVtocmVmKj0iY2FzaW5vcHJvLnNlIl1bdGFyZ2V0PSJfYmxhbmsiXQ=="),e("YVtocmVmKj0iZG9rdG9yLXNlLm9uZWxpbmsubWUiXQ=="),"article.category-samarbete",e("ZGl2LmhvbGlkQWRz"),"ul.adsmodern"],greekAdBlock:[e("QVtocmVmKj0iYWRtYW4ub3RlbmV0LmdyL2NsaWNrPyJd"),e("QVtocmVmKj0iaHR0cDovL2F4aWFiYW5uZXJzLmV4b2R1cy5nci8iXQ=="),e("QVtocmVmKj0iaHR0cDovL2ludGVyYWN0aXZlLmZvcnRobmV0LmdyL2NsaWNrPyJd"),"DIV.agores300","TABLE.advright"],hungarian:["#cemp_doboz",".optimonk-iframe-container",e("LmFkX19tYWlu"),e("W2NsYXNzKj0iR29vZ2xlQWRzIl0="),"#hirdetesek_box"],iDontCareAboutCookies:['.alert-info[data-block-track*="CookieNotice"]',".ModuleTemplateCookieIndicator",".o--cookies--container","#cookies-policy-sticky","#stickyCookieBar"],icelandicAbp:[e("QVtocmVmXj0iL2ZyYW1ld29yay9yZXNvdXJjZXMvZm9ybXMvYWRzLmFzcHgiXQ==")],latvian:[e("YVtocmVmPSJodHRwOi8vd3d3LnNhbGlkemluaS5sdi8iXVtzdHlsZT0iZGlzcGxheTogYmxvY2s7IHdpZHRoOiAxMjBweDsgaGVpZ2h0OiA0MHB4OyBvdmVyZmxvdzogaGlkZGVuOyBwb3NpdGlvbjogcmVsYXRpdmU7Il0="),e("YVtocmVmPSJodHRwOi8vd3d3LnNhbGlkemluaS5sdi8iXVtzdHlsZT0iZGlzcGxheTogYmxvY2s7IHdpZHRoOiA4OHB4OyBoZWlnaHQ6IDMxcHg7IG92ZXJmbG93OiBoaWRkZW47IHBvc2l0aW9uOiByZWxhdGl2ZTsiXQ==")],listKr:[e("YVtocmVmKj0iLy9hZC5wbGFuYnBsdXMuY28ua3IvIl0="),e("I2xpdmVyZUFkV3JhcHBlcg=="),e("YVtocmVmKj0iLy9hZHYuaW1hZHJlcC5jby5rci8iXQ=="),e("aW5zLmZhc3R2aWV3LWFk"),".revenue_unit_item.dable"],listeAr:[e("LmdlbWluaUxCMUFk"),".right-and-left-sponsers",e("YVtocmVmKj0iLmFmbGFtLmluZm8iXQ=="),e("YVtocmVmKj0iYm9vcmFxLm9yZyJd"),e("YVtocmVmKj0iZHViaXp6bGUuY29tL2FyLz91dG1fc291cmNlPSJd")],listeFr:[e("YVtocmVmXj0iaHR0cDovL3Byb21vLnZhZG9yLmNvbS8iXQ=="),e("I2FkY29udGFpbmVyX3JlY2hlcmNoZQ=="),e("YVtocmVmKj0id2Vib3JhbWEuZnIvZmNnaS1iaW4vIl0="),".site-pub-interstitiel",'div[id^="crt-"][data-criteo-id]'],officialPolish:["#ceneo-placeholder-ceneo-12",e("W2hyZWZePSJodHRwczovL2FmZi5zZW5kaHViLnBsLyJd"),e("YVtocmVmXj0iaHR0cDovL2Fkdm1hbmFnZXIudGVjaGZ1bi5wbC9yZWRpcmVjdC8iXQ=="),e("YVtocmVmXj0iaHR0cDovL3d3dy50cml6ZXIucGwvP3V0bV9zb3VyY2UiXQ=="),e("ZGl2I3NrYXBpZWNfYWQ=")],ro:[e("YVtocmVmXj0iLy9hZmZ0cmsuYWx0ZXgucm8vQ291bnRlci9DbGljayJd"),e("YVtocmVmXj0iaHR0cHM6Ly9ibGFja2ZyaWRheXNhbGVzLnJvL3Ryay9zaG9wLyJd"),e("YVtocmVmXj0iaHR0cHM6Ly9ldmVudC4ycGVyZm9ybWFudC5jb20vZXZlbnRzL2NsaWNrIl0="),e("YVtocmVmXj0iaHR0cHM6Ly9sLnByb2ZpdHNoYXJlLnJvLyJd"),'a[href^="/url/"]'],ruAd:[e("YVtocmVmKj0iLy9mZWJyYXJlLnJ1LyJd"),e("YVtocmVmKj0iLy91dGltZy5ydS8iXQ=="),e("YVtocmVmKj0iOi8vY2hpa2lkaWtpLnJ1Il0="),"#pgeldiz",".yandex-rtb-block"],thaiAds:["a[href*=macau-uta-popup]",e("I2Fkcy1nb29nbGUtbWlkZGxlX3JlY3RhbmdsZS1ncm91cA=="),e("LmFkczMwMHM="),".bumq",".img-kosana"],webAnnoyancesUltralist:["#mod-social-share-2","#social-tools",e("LmN0cGwtZnVsbGJhbm5lcg=="),".zergnet-recommend",".yt.btn-link.btn-md.btn"]}}(),n=Object.keys(t),r=[].concat(...n.map(e=>t[e])),o=await async function(e){var t;const n=document,r=n.createElement("div"),o=new Array(e.length),i={};pe(r);for(let t=0;t{const n=t[e];return Y(n.map(e=>o[e]))>.6*n.length});return i.sort(),i},fontPreferences:function(){return function(e,t=4e3){return ue((n,r)=>{const o=r.document,i=o.body,a=i.style;a.width=`${t}px`,a.webkitTextSizeAdjust=a.textSizeAdjust="none",B()?i.style.zoom=""+1/r.devicePixelRatio:z()&&(i.style.zoom="reset");const s=o.createElement("div");return s.textContent=[...Array(t/20|0)].map(()=>"word").join(" "),i.appendChild(s),e(o,i,r)},'')}((e,t,n)=>{const r={},o={};for(const n of Object.keys(ge)){const[o={},i=ve]=ge[n],a=e.createElement("span");a.textContent=i,a.style.whiteSpace="nowrap";for(const e of Object.keys(o)){const t=o[e];void 0!==t&&(a.style[e]=t)}r[n]=a,t.append(e.createElement("br"),a)}const i=B()&&K();for(const e of Object.keys(ge)){const t=r[e].getBoundingClientRect().width;o[e]=i?ye(t*n.devicePixelRatio):t}return o})},audio:function(){return z()&&ee()&&$()||B()&&function(){const e=navigator,t=window,n=Audio.prototype,{visualViewport:r}=t;return Y(["srLatency"in n,"srChannelCount"in n,"devicePosture"in e,r&&"segments"in r,"getTextInformation"in Image.prototype])>=3}()&&function(){const e=window,{URLPattern:t}=e;return Y(["union"in Set.prototype,"Iterator"in e,t&&"hasRegExpGroups"in t.prototype,"RGB8"in WebGLRenderingContext.prototype])>=3}()?-4:function(){const e=window,t=e.OfflineAudioContext||e.webkitOfflineAudioContext;if(!t)return-2;if(z()&&!U()&&!function(){const e=window;return Y(["DOMRectList"in e,"RTCPeerConnectionIceEvent"in e,"SVGGeometryElement"in e,"ontransitioncancel"in e])>=3}())return-1;const n=new t(1,5e3,44100),r=n.createOscillator();r.type="triangle",r.frequency.value=1e4;const o=n.createDynamicsCompressor();o.threshold.value=-50,o.knee.value=40,o.ratio.value=12,o.attack.value=0,o.release.value=.25,r.connect(o),o.connect(n.destination),r.start(0);const[i,a]=function(e){let t=()=>{};return[new Promise((n,r)=>{let o=!1,i=0,a=0;e.oncomplete=e=>n(e.renderedBuffer);const s=()=>{setTimeout(()=>r(fe("timeout")),Math.min(500,a+5e3-Date.now()))},c=()=>{try{const t=e.startRendering();switch(ie(t)&&ce(t),e.state){case"running":a=Date.now(),o&&s();break;case"suspended":document.hidden||i++,o&&i>=3?r(fe("suspended")):setTimeout(c,500)}}catch(e){r(e)}};c(),t=()=>{o||(o=!0,a>0&&s())}}),t]}(n),s=ce(i.then(e=>function(e){let t=0;for(let n=0;n{if("timeout"===e.name||"suspended"===e.name)return-3;throw e}));return()=>(a(),s)}()},screenFrame:function(){const e=z()&&ee()&&$(),t=q()&&Q();if(e||t)return()=>Promise.resolve(void 0);const n=(function(){if(void 0!==Ie)return;const e=()=>{const t=Te();_e(t)?Ie=setTimeout(e,2500):(Ce=t,Ie=void 0)};e()}(),async()=>{let e=Te();if(_e(e)){if(Ce)return[...Ce];(function(){const e=document;return e.fullscreenElement||e.msFullscreenElement||e.mozFullScreenElement||e.webkitFullscreenElement||null})()&&(await function(){const e=document;return(e.exitFullscreen||e.msExitFullscreen||e.mozCancelFullScreen||e.webkitExitFullscreen).call(e)}(),e=Te())}return _e(e)||(Ce=e),e});return async()=>{const e=await n(),t=e=>null===e?null:H(e,10);return[t(e[0]),t(e[1]),t(e[2]),t(e[3])]}},canvas:function(){return function(e){let t,n,r=!1;const[o,i]=function(){const e=document.createElement("canvas");return e.width=1,e.height=1,[e,e.getContext("2d")]}();return!function(e,t){return!(!t||!e.toDataURL)}(o,i)?t=n="unsupported":(r=function(e){return e.rect(0,0,10,10),e.rect(2,2,6,6),!e.isPointInPath(5,5,"evenodd")}(i),e?t=n="skipped":[t,n]=function(e,t){!function(e,t){e.width=240,e.height=60,t.textBaseline="alphabetic",t.fillStyle="#f60",t.fillRect(100,1,62,20),t.fillStyle="#069",t.font='11pt "Times New Roman"';const n=`Cwm fjordbank gly ${String.fromCharCode(55357,56835)}`;t.fillText(n,2,15),t.fillStyle="rgba(102, 204, 0, 0.2)",t.font="18pt Arial",t.fillText(n,4,45)}(e,t);const n=me(e);if(n!==me(e))return["unstable","unstable"];!function(e,t){e.width=122,e.height=110,t.globalCompositeOperation="multiply";for(const[e,n,r]of[["#f2f",40,40],["#2ff",80,40],["#ff2",60,80]])t.fillStyle=e,t.beginPath(),t.arc(n,r,40,0,2*Math.PI,!0),t.closePath(),t.fill();t.fillStyle="#f9c",t.arc(60,60,60,0,2*Math.PI,!0),t.arc(60,60,20,0,2*Math.PI,!0),t.fill("evenodd")}(e,t);return[me(e),n]}(o,i)),{winding:r,geometry:t,text:n}}(function(){const e=z()&&ee()&&$(),t=q()&&function(){const e=window,t=navigator,{CSS:n}=e;return Y(["userActivation"in t,n.supports("color","light-dark(#000, #fff)"),n.supports("height","1lh"),"globalPrivacyControl"in t])>=3}();return e||t}())},osCpu:function(){return navigator.oscpu},languages:function(){const e=navigator,t=[],n=e.language||e.userLanguage||e.browserLanguage||e.systemLanguage;if(void 0!==n&&t.push([n]),Array.isArray(e.languages))B()&&function(){const e=window;return Y([!("MediaSettingsRange"in e),"RTCEncodedAudioFrame"in e,"[object Intl]"==`${e.Intl}`,"[object Reflect]"==`${e.Reflect}`])>=3}()||t.push(e.languages);else if("string"==typeof e.languages){const n=e.languages;n&&t.push(n.split(","))}return t},colorDepth:function(){return window.screen.colorDepth},deviceMemory:function(){return X(G(navigator.deviceMemory),void 0)},screenResolution:function(){if(!(z()&&ee()&&$()))return function(){const e=screen,t=e=>X(Z(e),null),n=[t(e.width),t(e.height)];return n.sort().reverse(),n}()},hardwareConcurrency:function(){const e=X(Z(navigator.hardwareConcurrency),void 0);return void 0!==e&&q()&&Q()?e>=8?8:4:e},timezone:function(){var e;const t=null===(e=window.Intl)||void 0===e?void 0:e.DateTimeFormat;if(t){const e=(new t).resolvedOptions().timeZone;if(e)return e}const n=-function(){const e=(new Date).getFullYear();return Math.max(G(new Date(e,0,1).getTimezoneOffset()),G(new Date(e,6,1).getTimezoneOffset()))}();return`UTC${n>=0?"+":""}${n}`},sessionStorage:function(){try{return!!window.sessionStorage}catch(e){return!0}},localStorage:function(){try{return!!window.localStorage}catch(e){return!0}},indexedDB:function(){if(!J()&&!function(){const e=window,t=navigator;return Y(["msWriteProfilerMark"in e,"MSStream"in e,"msLaunchUri"in t,"msSaveBlob"in t])>=3&&!J()}())try{return!!window.indexedDB}catch(e){return!0}},openDatabase:function(){return!!window.openDatabase},cpuClass:function(){return navigator.cpuClass},platform:function(){const{platform:e}=navigator;return"MacIntel"===e&&z()&&!U()?function(){if("iPad"===navigator.platform)return!0;const e=screen,t=e.width/e.height;return Y(["MediaSource"in window,!!Element.prototype.webkitRequestFullscreen,t>.65&&t<1.53])>=2}()?"iPad":"iPhone":e},plugins:function(){const e=navigator.plugins;if(!e)return;const t=[];for(let n=0;n>>16,r=65535&e[0],o=e[1]>>>16,i=65535&e[1],a=t[0]>>>16,s=65535&t[0],c=t[1]>>>16;let u=0,l=0,d=0,f=0;f+=i+(65535&t[1]),d+=f>>>16,f&=65535,d+=o+c,l+=d>>>16,d&=65535,l+=r+s,u+=l>>>16,l&=65535,u+=n+a,u&=65535,e[0]=u<<16|l,e[1]=d<<16|f}function Je(e,t){const n=e[0]>>>16,r=65535&e[0],o=e[1]>>>16,i=65535&e[1],a=t[0]>>>16,s=65535&t[0],c=t[1]>>>16,u=65535&t[1];let l=0,d=0,f=0,m=0;m+=i*u,f+=m>>>16,m&=65535,f+=o*u,d+=f>>>16,f&=65535,f+=i*c,d+=f>>>16,f&=65535,d+=r*u,l+=d>>>16,d&=65535,d+=o*c,l+=d>>>16,d&=65535,d+=i*s,l+=d>>>16,d&=65535,l+=n*u+r*c+o*s+i*a,l&=65535,e[0]=l<<16|d,e[1]=f<<16|m}function Be(e,t){const n=e[0];32==(t%=64)?(e[0]=e[1],e[1]=n):t<32?(e[0]=n<>>32-t,e[1]=e[1]<>>32-t):(t-=32,e[0]=e[1]<>>32-t,e[1]=n<>>32-t)}function ze(e,t){0!=(t%=64)&&(t<32?(e[0]=e[1]>>>32-t,e[1]=e[1]<>>1];Ue(e,t),Je(e,$e),t[1]=e[0]>>>1,Ue(e,t),Je(e,qe),t[1]=e[0]>>>1,Ue(e,t)}const Ke=[2277735313,289559509],et=[1291169091,658871167],tt=[0,5],nt=[0,1390208809],rt=[0,944331445];function ot(e){return JSON.stringify(e,(e,t)=>{return t instanceof Error?{name:(n=t).name,message:n.message,stack:null===(r=n.stack)||void 0===r?void 0:r.split("\n"),...n}:t;var n,r},2)}function it(e){return function(e,t){const n=function(e){const t=new Uint8Array(e.length);for(let n=0;n127)return(new TextEncoder).encode(e);t[n]=r}return t}(e);t=t||0;const r=[0,n.length],o=r[1]%16,i=r[1]-o,a=[0,t],s=[0,t],c=[0,0],u=[0,0];let l;for(l=0;l>>0).toString(16)}`.slice(-8)+`00000000${(a[1]>>>0).toString(16)}`.slice(-8)+`00000000${(s[0]>>>0).toString(16)}`.slice(-8)+`00000000${(s[1]>>>0).toString(16)}`.slice(-8)}(function(e){let t="";for(const n of Object.keys(e).sort()){const r=e[n],o="error"in r?"error":JSON.stringify(r.value);t+=`${t?"|":""}${n.replace(/([:|\\])/g,"\\$1")}:${o}`}return t}(e))}function at(e,t){const n=Date.now();return{async get(r){const o=Date.now(),i=await e(),a=function(e){let t;const n=function(e){const t=function(e){if(te())return.4;if(z())return!U()||ee()&&$()?.3:.5;const t="value"in e.platform?e.platform.value:"";return/^Win/.test(t)?.6:/^Mac/.test(t)?.5:.7}(e),n=function(e){return H(.99+.01*e,1e-4)}(t);return{score:t,comment:"$ if upgrade to Pro: https://fingerprint.com/github/?utm_source=oss&utm_medium=referral&utm_campaign=confidence_score".replace(/\$/g,`${n}`)}}(e);return{get visitorId(){return void 0===t&&(t=it(this.components)),t},set visitorId(e){t=e},confidence:n,components:e,version:F}}(i);return(t||(null==r?void 0:r.debug))&&console.log(`Copy the text below to get the debug data:\n\n\`\`\`\nversion: ${a.version}\nuserAgent: ${navigator.userAgent}\ntimeBetweenLoadAndGet: ${o-n}\nvisitorId: ${a.visitorId}\ncomponents: ${ot(i)}\n\`\`\``),a}}}var st=async function(e={}){const{delayFallback:t,debug:n,monitoring:r=!0}=e;r&&function(){if(!(window.__fpjs_d_m||Math.random()>=.001))try{const e=new XMLHttpRequest;e.open("get",`https://m1.openfpcdn.io/fingerprintjs/v${F}/npm-monitoring`,!0),e.send()}catch(e){console.error(e)}}(),await function(e=50){return function(e,t=1/0){const{requestIdleCallback:n}=window;return n?new Promise(e=>n.call(window,()=>e(),{timeout:t})):re(Math.min(e,t))}(e,2*e)}(t);const o=function(e){return function(e,t,n,r){const o=Object.keys(e).filter(e=>!function(e,t){for(let n=0,r=e.length;nfunction(e,t){const n=ce(new Promise(n=>{const r=Date.now();ae(e.bind(null,t),(...e)=>{const t=Date.now()-r;if(!e[0])return n(()=>({error:e[1],duration:t}));const o=e[1];if(function(e){return"function"!=typeof e}(o))return n(()=>({value:o,duration:t}));n(()=>new Promise(e=>{const n=Date.now();ae(o,(...r)=>{const o=t+Date.now()-n;if(!r[0])return e({error:r[1],duration:o});e({value:r[1],duration:o})})}))})}));return function(){return n.then(e=>e())}}(e[n],t),r));return async function(){const e=await i,t=await se(e,e=>ce(e()),r),n=await Promise.all(t),a={};for(let e=0;e(e&<(this,ht,e),e)).finally(()=>{lt(this,pt,void 0)});lt(this,pt,e)}return dt(this,pt)}}async function yt(){try{const e=await st();return(await e.get()).visitorId}catch(e){return void console.error("Failed to identify device",e)}}function bt(e,t){xt(e,t),t.add(e)}function wt(e,t,n){xt(e,t),t.set(e,n)}function xt(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function St(e,t,n){return At(t,e),n}function kt(e,t){return function(e,t){return t.get?t.get.call(e):t.value}(e,Mt(t,e))}function Lt(e,t,n){return function(e,t,n){if(t.set)t.set.call(e,n);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=n}}(e,Mt(t,e),n),n}function Mt(e,t){return e.get(At(e,t))}function At(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}let Et=()=>{};var Ct=new WeakMap,It=new WeakMap,Tt=new WeakMap,_t=new WeakMap,Pt=new WeakMap,jt=new WeakMap,Vt=new WeakMap,Ot=new WeakMap,Wt=new WeakMap,Rt=new WeakMap,Nt=new WeakSet,Dt=new WeakSet,Ft=new WeakMap,Zt=new WeakMap,Gt=new WeakSet,Xt=new WeakSet,Yt=new WeakSet;class Ht{constructor(e={}){if(bt(this,Yt),bt(this,Xt),bt(this,Gt),wt(this,Zt,{get:Ut,set:$t}),wt(this,Ft,{get:zt,set:void 0}),bt(this,Dt),bt(this,Nt),wt(this,Ct,{writable:!0,value:!0}),wt(this,It,{writable:!0,value:!1}),wt(this,Tt,{writable:!0,value:void 0}),wt(this,_t,{writable:!0,value:{}}),wt(this,Pt,{writable:!0,value:void 0}),wt(this,jt,{writable:!0,value:void 0}),wt(this,Vt,{writable:!0,value:[]}),wt(this,Ot,{writable:!0,value:void 0}),wt(this,Wt,{writable:!0,value:void 0}),wt(this,Rt,{writable:!0,value:void 0}),Lt(this,Tt,e.host??null),Lt(this,Ct,e.sync??!1),Lt(this,It,e.debug??!1),Lt(this,Wt,e.incognito??new N),Lt(this,Rt,e.deviceDetect??new gt),kt(this,It)&&window?.console?.debug&&(Et=console.debug.bind(window.console)),e.meters)for(const t of e.meters)kt(this,_t)[t.id]=new y(t.id),t.expire_days&&kt(this,_t)[t.id].setExpireDays(t.expire_days);Et("Loading list of already viewed assets");let t=sessionStorage.getItem("tncms:meter:assets");if(t){const e=JSON.parse(t);Lt(this,Vt,Array.isArray(e)?e:[])}Lt(this,Ot,St(this,Nt,Jt).call(this))}async ready(){return await kt(this,Ot),!0}isValidMeter(e){return kt(this,_t)[e]instanceof y}getViews(e){if(kt(this,_t)[e])return kt(this,_t)[e].views;throw new Error("No such meter: "+e)}updateMeters(e=[]){let t=!1;for(const n of e)kt(this,_t)[n]&&(kt(this,_t)[n].increment(),t=!0);!1!==t?St(this,Xt,Qt).call(this):Et("No meters were changed - sync cancelled")}inAssetList(e){return-1!==kt(this,Vt).indexOf(e)}saveAssetToList(e){kt(this,Vt).push(e),sessionStorage.setItem("tncms:meter:assets",JSON.stringify(kt(this,Vt)))}toJSON(){return{identifiers:{deviceId:kt(this,Ft),instanceId:kt(this,Zt)},meters:kt(this,_t)}}}async function Jt(){kt(this,Ct)&&(!1===await kt(this,Wt).detect()&&St(this,Dt,Bt).call(this)||await St(this,Xt,Qt).call(this))}function Bt(){const e="access-"+kt(this,Zt);Et("Checking to see if a meter cache is available");let t=sessionStorage.getItem(e);if(t){Et("Meter cache detected - unpacking");const e=JSON.parse(t),n=new Date;Et("Initializing meters using the meter cache");for(const[t,r]of Object.entries(e.meters))r.views<=0||(new Date(r.expires).getTime()>=n.getTime()?St(this,Yt,Kt).call(this,t,r.views):Et(`Meter cache for ${t} skipped - expired`));return Lt(this,Pt,e.deviceId??null),!0}return Et("No meter cache was found"),!1}function zt(){return kt(this,Pt)}function Ut(){return kt(this,jt)||(Lt(this,jt,localStorage.getItem("tncms:access:iid")),kt(this,jt)||(Lt(this,Zt,St(this,Gt,qt).call(this)),Et("Generated new instance ID: %s",kt(this,jt)))),kt(this,jt)}function $t(e){Lt(this,jt,e),localStorage.setItem("tncms:access:iid",e)}function qt(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){let t=16*Math.random()|0;return("x"==e?t:3&t|8).toString(16)})}async function Qt(){if(!kt(this,Ct))return;kt(this,Pt)||(Et("Detecting device identifier"),Lt(this,Pt,await kt(this,Rt).detect()),kt(this,Pt)&&Et("Device identified as: "+kt(this,Pt))),Et("Exchanging meter metrics with server");const e=await fetch(`https://${kt(this,Tt)}/tncms/access/meter/`,{method:"POST",credentials:"include",body:JSON.stringify(this)}),t=await e.json();if(!e.ok||t?.code)throw new Error("Failed to sync meters: "+t?.message);if(t.meters){Et("Updating local meters based on server state");for(const[e,n]of Object.entries(t.meters))St(this,Yt,Kt).call(this,e,n)}Et("Updating local meter cache"),sessionStorage.setItem("access-"+kt(this,Zt),JSON.stringify({deviceId:kt(this,Ft),meters:kt(this,_t)})),console.debug("Sycnronization complete")}function Kt(e,t){kt(this,_t)[e]?t>kt(this,_t)[e].views&&(kt(this,_t)[e].views=t):kt(this,_t)[e]=new y(e,t)}class en{async matches(e={}){throw new Error("Criteria subclasses must implement matches()")}}function tn(e,t){return e.get(function(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}(e,t))}var nn=new WeakMap;class rn extends en{constructor(e){super(),function(e,t,n){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,n)}(this,nn,{writable:!0,value:void 0}),function(e,t,n){(function(e,t,n){if(t.set)t.set.call(e,n);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=n}})(e,tn(t,e),n)}(this,nn,e)}async matches({negate:e=!1}={}){const t=await function(e,t){return function(e,t){return t.get?t.get.call(e):t.value}(e,tn(t,e))}(this,nn).detect();return null!==t&&t!==Boolean(e)}}async function on(){console?.groupCollapsed("BLOX Audience+ Audience Fetch");try{let e=function(){const e=JSON.parse(sessionStorage.getItem("tncms.dmp.segment.audiences"));return e&&e.audiences&&e.expired?e.expired<(new Date).getTime()?(console?.debug("Audience cache expired"),sessionStorage.removeItem("tncms.dmp.segment.audiences"),null):e.audiences:(console?.debug("Audience cache not found or invalid"),null)}();return null===e&&(console?.debug("Audience cache miss, fetching from server"),e=await async function(){let e=null,t=null;const n=window.analytics?.user();if(void 0===n?(e=localStorage.getItem("ajs_anonymous_id")||null,e&&(e=JSON.parse(e)),t=localStorage.getItem("ajs_user_id")||null,t&&(t=JSON.parse(t))):(e=n.anonymousId(),t=n.id()),!e&&!t)throw"Unable to determine user identity for audience fetch";const r=new URLSearchParams({anonymous_id:e});t&&r.set("user_id",t),console?.debug("Fetching audiences from server with params: "+r.toString());const o=await fetch("/tncms/dmp/segment_audiences/?"+r.toString(),{method:"GET",headers:{Accept:"application/json","X-Requested-Feature":"geoip"}});if(!o.ok)throw"Audience fetch failed: HTTP "+o.status;const i=await o.json();if(!i.success&&i.msg)throw"Audience processing error: "+i.msg;const a={audiences:(i?.audiences??[]).filter(e=>e.id).map(e=>e.id),expired:(new Date).getTime()+3e5};return sessionStorage.setItem("tncms.dmp.segment.audiences",JSON.stringify(a)),console?.debug("Audience fetch successful, cached "+a.audiences.length+" audiences"),a.audiences}()),console?.debug("Detected audiences: "+e.join(", ")),e}catch(e){return console?.warn("Failed to load audiences: "+e),[]}finally{console?.debug("Audience fetch complete"),console?.groupEnd()}}window.TNCMS=window.TNCMS||{};var an=window.TNCMS.Access||[];window.TNCMS.Access=function(){var e,t=[];let n={},o=null;const i=new N,a=new gt;let s,c=null,u=!1,l=null;var d=null,f=null,m=null,h=!1,p=null,v={},g={},y=[],b="",w="",x=[],S=[],k=!1,L="",M=!1,A="",E=null,C=[],I={};function T(e){var t={success:!1,msg:e.msg||"Unknown error occurred",xhrStatus:e.status||"",xhrStatusText:e.statusText||""};j("Error: ",t),P.call(this,t)}function _(e){const t=x.slice();x=[],S=[],k=!1;for(let n=0;n0)for(let e=0;e-1&&(c="loggedin-"+i[1]),(i=r[a].match(/tncms-access-user-version=(.+)/i))&&s.push({name:"X-TNCMS-Access-User-Version",value:i[1]});if(s.push({name:"X-TNCMS-Access-User",value:c}),n=!1,b&&w&&document.location.pathname.match(/\/(.+?)\/tncms\/admin\/action\/main\/preview\/site\//)&&(n={asset_id:b,asset_app:w},sessionStorage.getItem("accessProfile")))try{j("Using test profile",I=JSON.parse(sessionStorage.getItem("accessProfile"))),n.profile=I.id,o=I?.adblock??void 0;let e="";for(e in I)if(I.hasOwnProperty(e)&&"dmp"==e)try{let t=JSON.parse(I[e]);p=[];for(let e=0;e0){const e=t.map(e=>{const t={};for(const n in e){t[n]={};for(const r in e[n])r.startsWith("offer_group")&&(t[n][r]={id:e[n][r].id,name:e[n][r].name})}return t});!1===n?n={multivariate_data:JSON.stringify(e)}:n.multivariate_data=JSON.stringify(e)}new Z({url:"user/",headers:s,params:n,success:function(t){var n=JSON.parse(t.responseText);if(0!=n.success){if(n.access_ids&&n.access_ids.length&&(y=y.concat(n.access_ids)),g=v,n.criteria_ids)for(let e in n.criteria_ids)g[e]||(g[e]=[]),g[e]=g[e].concat(n.criteria_ids[e]);n.multivariate_selected_offer_group&&j("Selected Multivariate Offer Group",e=n.multivariate_selected_offer_group),j("User access IDs",y),j("User criteria IDs",g),h=!0,D.call(this)}else T(n)},failure:T,scope:this}).send()}async function D(){if(!h)return;await s.ready()&&j("Meter manager is loaded and ready to be used"),d.sort((e,t)=>t.priority-e.priority),d=d.map(t=>t&&t.enable_multivariate?function(e,t){let n=[];for(let r of e)if("object"==typeof r.offer_config&&null!==r.offer_config&&Object.keys(r.offer_config).length>0){const e=Object.keys(r.offer_config).filter(e=>e.startsWith("offer_group"));if(0===e.length){n.push(r);continue}let o=t[r.id];o&&r.offer_config[o]||(o=e[0]),n.push({...r,offer_config:r.offer_config[o]})}else n.push(r);return n}([t],e||{})[0]:t),j("Processing rules");let t=0,a=null,u=0;function l(e){let t=new URLSearchParams(document.location.search).get(e.name);if(!t&&e.preserve&&(t=sessionStorage.getItem("access-qp-"+e.name)),!t)return!1;let n=!1;return("exact"==e.match&&e.value==t||-1!=t.indexOf(e.value))&&(n=!0),n&&e.preserve&&sessionStorage.setItem("access-qp-"+e.name,t),n}if(c={required:!1,access_methods:[],granting_method:null,access_rule:{},offer_config:{}},!0===window?.tncms_access_control_meter_shortcut&&b&&s.inAssetList(b))return j("Asset already viewed (shortcut)"),void _.call(this,c);function f(e){if(e&&e.enable_multivariate&&e.offer_config&&e.offer_config.multivariate&&(j("Processing multivariate rule",e),!c.required)){let t=e.offer_config.id,r=e.id,o=`${t}::${r}`;n.multivariateOfferRuleId=o,j("Multivariate rule found ",r)}}0==C.length&&(C=document.getElementsByTagName("meta"));let v=null;for(const e of d){if(!e){j("Skipping undefined rule");continue}j("Processing rule "+(e?.name||"[unnamed rule]")),f(e);let d=[];if(t=0,u=0,e.methods)for(const t of e.methods)"meter"==t.type&&d.push(t.id);else j("Rule has no methods:"+e.name);for(const n of e.criteria)switch(u++,j("Processing criteria",n.name),n.driver){case"queryparams":let c=n.data.queryparams||[],u=!1;for(const e of c)if(l(e)){u=!0;break}u&&1!=n.negate&&(j("Matched query parameter",c),t++);break;case"metercheck":let f=n.data.meter,h=n.data.views,v=n.data.op;1==n.negate&&j("Negate is not supported by meter check");for(const e of m)if(e.id==f&&-1!==d.indexOf(e.id)){j("Checking meter "+e.name);let n=s.getViews(e.id)+(b&&s.inAssetList(b)?0:1);switch(v){case"=":n==h&&(j("Meter count equals views",n),t++);break;case"<":n":n>h&&(j("Meter count is greater than views",n),t++);break;case">=":n>=h&&(j("Meter count is greater than or equal to views",n),t++)}}break;case"dmp":null===p&&(j("DMP was not loaded in time - fetching audiences"),p=await on()),j("Processing DMP",p);for(const e of n.data.dmp)if(-1!==p.indexOf(e.abbr)&&1!=n.negate){j("Found audience",e),t++;break}break;case"urlpattern":a=new URL(A||window.location.href),j("Processing urlpattern against",a.pathname);for(const e of n.data.pattern){let r=null;if(r=new RegExp(e.replace("*",".*"),"i").exec(a.pathname),r&&1!=n.negate){j("URL pattern match",e),t++;break}}break;case"hostname":a=new URL(A||window.location.href),j("Processing host name against",a.hostname);for(const e of n.data.host)if(e.toLowerCase()==a.hostname.toLowerCase()&&1!=n.negate){j("Host name match",e),t++;break}break;case"metatag":j("Processing meta tags",C);e:for(const e of C)for(const r of n.data.meta)if(e.name==r.name&&e.content==r.value&&1!=n.negate){j("Meta tag match",e),t++;break e}break;case"referrer":var y=document.referrer.toLowerCase(),w=n.data.referrer,x="";if(M&&(y=E||""),I.referrer&&(j("Using profile referrer",I.referrer),y=I.referrer),j("Processing referrer",y),y&&y.length>0)for(const e of w)if(x=e.name.toLowerCase(),-1!==y.indexOf(x)&&1!=n.negate){j("Found referrer",n),t++;break}break;case"adblock":if("boolean"!=typeof o)if(window?.dataLayer.find(e=>"tncms.ad.blocked"===e?.event))j("Ad blocking detected by BLOX core"),o=!0;else try{j("Running ad blocker detection");const e=await r();o=e.detected,j(o?`Ad blocker detected: ${e.type||"unknown type"}`:"No ad blocker detected"),j("Final ad blocker detection result:",o)}catch(e){j("Failed to detect ad blocking state",e),o=!1}o!=(1==n.negate)&&t++;break;case"incognito":const S=I.incognito?new N({mockResult:!0}):i,k=new rn(S);await k.matches({negate:1==n.negate})&&t++;break;case"custom":j("Processing custom",n.name);let L=null;try{L=new Function(n.data.javascript)()}catch(e){j("Custom function did not execute properly",e)}"boolean"!=typeof L?j("Custom function did not return a boolean",L):!0===L&&1!=n.negate?(j("Custom JS requires access"),t++):!1===L&&1==n.negate&&(j("Custom JS requires access (negated)"),t++);break;default:g[e.id]&&-1!==g[e.id].indexOf(n.id)&&(j("Criteria matched",n),t++)}if(j("Total criteria processed: ",u),j("Total matching criteria: ",t),u&&u==t){n.multivariateOfferRuleId&&(v=n.multivariateOfferRuleId,TNCMS.Tracking.addEvent({app:"access",metric:"impression",id:v}),j("Multivariate tracking"),window.addEventListener("BLOXSubscriptionOrderCompleted",function(e){j("BLOXSubscriptionOrderCompleted Event Called"),null!==v?(TNCMS.Tracking.addEvent({app:"access",metric:"conversion",id:v}),v=null):j("Multivariate tracking conversion not available")})),j("Access required"),c=F.call(this,e);break}}c.required&&c.offer_config.redirect_url&&c.offer_config.redirect_url.length&&!(history.state||history.state&&history.state.redirected)&&(history.pushState({redirected:!0},"OfferRedirect"),location=c.offer_config.redirect_url),_.call(this,c)}function F(e){var t={required:!1,access_rule:e,access_methods:[],access_meter:null};let n=[];for(const r of e.methods){if(j("Examining access method",r),"meter"==r.type&&b){const e=m.find(e=>e.id==r.id);if(!e)continue;j("Examining meter",e);const n=s.getViews(r.id);if(j("Meter applies at limit ",e.meter),j("Current count",n),s.inAssetList(b))return t.access_meter=e,t.access_meter.count=n,j("Asset already viewed, allowing access",t),t.granting_method=r,t;if(n>=e.meter){j("Views exceeded meter limit");continue}return s.updateMeters([e.id]),s.saveAssetToList(b),t.access_meter=e,t.access_meter.count=n+1,j("Access provided by meter",t),t.granting_method=r,t}if(-1!==y.indexOf(r.id))return j("Access provided by method",r),t.granting_method=r,t;if("customjavascript"==r.type)try{let e=new Function(r.metadata.js)();if(e&&e.has_access)return j("Access provided by custom javascript method",r),t.granting_method=r,t;r.hidden||(r.response=e.data||{},n.push(r),j("Added access method",r))}catch(e){j("Custom javascript method did not execute properly",e)}else r.hidden||(n.push(r),j("Added access method",r))}var r={required:!0,access_rule:e,access_methods:n,granting_method:null,offer_config:e.offer_config||{}};return j("Access response",r),r}L=V("tncms-access-version");var Z=function(e){if(!e.url||!e.success)throw"Missing URL or handler";function t(e){e.target.status>=400?"function"==typeof this.failure&&this.failure.call(this.scope,this):"function"==typeof this.success&&this.success.call(this.scope,this)}function n(e){"function"==typeof this.failure&&this.failure.call(this.scope,e)}return{send:function(){this.request=new XMLHttpRequest,this.request.success=e.success,this.request.failure=e.failure,this.request.scope=e.scope||this,this.request.addEventListener("load",t),this.request.addEventListener("error",n);var r="",o=document.location.pathname.match(/.+?\/tncms\/admin\/action\/main\/preview\/site\//),i=document.location.hostname;if(o&&(i+=o[0]+"-"),r="https://"+i+"/tncms/access/"+e.url,e.params){var a=[];for(var s in e.params)a.push(s+"="+encodeURIComponent(e.params[s]));r+="?"+a.join("&")}if(this.request.open(e.method||"GET",r,!0),e.headers&&e.headers.length)for(var c=null,u=0;uvoid 0===e)?(j("revalidating access with existing rules"),R.call(this)):(j("Rules missing or corrupted, reloading rules first"),W.call(this))}},setAudiences:function(e){p&&p.length>0?j("Audiences already initialized",p):(p=e||[],j("Setting audiences",e),D.call(this))},initializeExternal:function(e){if(M=!0,e){if(e.referrer&&j("Set external referrer",E=e.referrer),e.metaTags){j("Set external meta tags",C=e.metaTags);for(let e=0;ee.json()).then(e=>{n=e}),n.rules&&n.rules.length)for(;re.json()).then(e=>{t=e}),t.offer_groups)for(const n in t.offer_groups)e[n]=t.offer_groups[n];return e},getOffers:async function(e){let t=await this.getOfferGroups(),n=[];return t[e]&&t[e].offers&&t[e].offers.length&&(n=t[e].offers),n},push:function(e){try{if("function"!=typeof e)throw"Value provided is not a function";e()}catch(e){console.log(e)}},setAsPreview:function(e){u=!!e,j("Preview mode set to",u)},setOfferGroup:function(e,t){e&&t?(t.id=e,t.offer_group_id=e,l=t,j("Preview offer group set",l)):j("Invalid offer group data provided for preview")}}}();for(let e=0;e