/** * @license * Piano Browser SDK-cx@3.5.3. * Copyright 2010-2026 Piano Software Inc. */ !function(){window.cX=window.cX||{};var e=window.cX;window.ari=window.ari||{};var t,n,r,i,o,a=window.ari,c=function(e){var t=new Date,n=function(e){e&&t.setDate(t.getDate()+e)};if(e instanceof Date)t=e;else if("number"==typeof e)n(e);else{var r=e,i=r.days,o=r.minutes;n(i),o&&t.setMinutes(t.getMinutes()+o)}return t},s=function(e){var t=e.replace(/\+/g," ").replace(/^\s+|\s+$/g,"");try{return decodeURIComponent(t)}catch(e){return t}},u=function(e){return 0===e.indexOf('"')&&(e=e.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\")),s(e)},l=function(){var e=function(e,t,n){var r=void 0===n?{}:n,i=r.path,o=r.domain,a=r.expires,s=r.secure,u=r.samesite,l=r.raw,d=r.priority;return(l?e:encodeURIComponent(e))+"="+(l?t:encodeURIComponent(t))+(a?"; expires=".concat(c(a).toUTCString()):"")+(i?"; path=".concat(i):"")+(o?"; domain=".concat(o):"")+(s?"; secure":"")+(u?"boolean"==typeof u?"; sameSite":"; sameSite=".concat(u):"")+(d?"; priority=".concat(d):"")},t=function(t,n,r,i){var o;void 0===n||void 0!==i&&(o=n,encodeURI(o).split(/%(?:u[\dA-F]{2})?[\dA-F]{2}|./).length-1>i)||(document.cookie=e(t,n,r))},n=function(e){for(var t=document.cookie.split(";"),n=0;nDate.now())i[n]=t[n];else try{window.localStorage.removeItem(n)}catch(e){}}var o})),JSON.stringify(t)!==JSON.stringify(i)&&r(i))},o=function(){try{return Object.keys(window.localStorage)}catch(e){return[]}},i(),{get:function(e){var t;i();try{return null!==(t=window.localStorage.getItem(e))&&void 0!==t?t:null}catch(e){return null}},set:function(e,t,i){if(void 0===i&&(i={}),function(e,t){var i=n();if(void 0===t)return(null==i?void 0:i[e])&&(delete i[e],r(i)),!0;var o=c(t).getTime();return o>Date.now()&&((i=i||{})[e]=o.toString(36),r(i),!0)}(e,i.expires))try{window.localStorage.setItem(e,t)}catch(e){}},getNames:o,remove:function(e){try{window.localStorage.removeItem(e)}catch(e){}i()},expires:i,__protected__:{get ttlName(){return t}}}),f={get:function(e){try{return window.sessionStorage.getItem(e)}catch(e){return null}},set:function(e,t){try{window.sessionStorage.setItem(e,t)}catch(e){}},getNames:function(){try{return Object.keys(window.sessionStorage)}catch(e){return[]}},remove:function(e){try{window.sessionStorage.removeItem(e)}catch(e){}}},p=function(){return p=Object.assign||function(e){for(var t,n=1,r=arguments.length;n1?n:t)},we=function(e){return'"'.concat(e,'" can not be applied for the dl product')};function be(e,t,n,r,i){var o=function(e){return{error:e}},a=function(t,n,r){var i=[];if(!ne(t))return o(function(e){return"".concat(e," is unknown consent mode")}(t));var a=F().reduce((function(o,a){var c=a.id,s=a.name;return n&&(null==e?void 0:e[c])!==n&&!(null==r?void 0:r.includes(c))||(pe(t,s)?i.push(s):o[c]={mode:t}),o}),{});return i.length?o(function(e){return ye(e,"does","do")+"n't have modifier in the pdl. Custom mode can't be applied"}(i)):Object.keys(a).length?{consent:a}:null},c=function(t,n){var r=ge(n);return me[r]||Object.values(e||{}).includes(r)?a(t,r):o("Unknown purpose. Provide a product or define within pdl config")};return de()?i?function(e,t,n){var r=ge(t),i=y(n)?n:[n],s=i.map(q).filter(b);if(!s.length)return he(t)?c(e,t):o(function(e){return"Custom purpose: "+ye(e,"is","are")+" unknown"}(i));if(r!==ve&&s.includes(X.DL))return{error:we(r)};if(r===ve&&s.some((function(e){return e!==X.DL})))return o('the "DL" purpose is reserved');var u=a(e,r,s);if(null==u?void 0:u.error)return u;var l=s.reduce((function(e,t){return e[t]=r,e}),{});return{consent:(null==u?void 0:u.consent)||null,purposes:l}}(r,n,i):r?c(r,n):a(n):o("Consent v2 is disabled")}var _e=function(e,t){if(!e)return null;var n=Q(t||ie),r=fe();return F().reduce((function(t,i){var o,a,c,s,u,l=i.name,d=n[l],f=r&&!(l===N)?B:Y,p=(null===(o=e[l])||void 0===o?void 0:o.mode)||f;return t[d]?(t[d].mode=(a=t[d].mode,c=p,s=te.indexOf(a),u=te.indexOf(c),te[Math.max(s,u)]),t[d].products.push(l)):t[d]={mode:p,products:[l]},t}),{})},Ie=["include","exclude","obfuscate"],Se=function(e){var t=e&&e.length;return 16===t||36===t?e:null},xe=function(e,t){return'"'.concat(e,'" should be one of ').concat(t.join(", "))},ke=function(){},Ce=function(e,t){return function(n){return t(e+n)}},Ae=function(e,t){void 0===t&&(t=ke);var n=X[e.toLowerCase()];return void 0!==n?j[n].name:(t('"'.concat(e,'" is not found')),null)},Ee=function(e){return function(e){return K.includes(e)}(e)?e:null},Pe=function(e,t){void 0===t&&(t=ke);var n=e.source,r=e.patches||[];return Ee(n)||(t(xe("source",K)),n=Y),y(r)||(t('"patches" should be an array'),r=[]),{source:n,patches:r=r.reduce((function(e,n,r){if(!_(n)||y(n))return t("patch[".concat(r,"]: should be type of {action, item, with?}")),e;var i=n.action,o=n.item;return Ie.includes(i)?o&&_(o)&&o.key&&o.type?(e.push(n),e):(t("patch[".concat(r,']: "item" should be type of {key, type}')),e):(t("patch[".concat(r,"]: ")+xe("action",Ie)),e)}),[])}},Ue=function(e,t){if(void 0===t&&(t=ke),!e)return null;var n={};e.products&&(y(e.products)?n.products=e.products.reduce((function(e,n){var r=Ae(n,Ce("consent.products: ",t));return r&&e.push(r),e}),[]):t("consent.products: should be an array")),e.defaultPreset&&(n.defaultPreset=g(e.defaultPreset).reduce((function(n,r){var i=Ae(r,Ce("consent.defaultPreset: ",t)),o=Ee(e.defaultPreset[r]);return o||t("consent.defaultPreset: "+xe(r,K)),i&&o&&(n[i]=o),n}),{}));var r=e.defaultPurposes;return r&&(n.defaultPurposes=g(r).reduce((function(e,n){var i=Ce("consent.defaultPurposes: ",t),o=Ae(n,i),a=r[n],c=ge(a);return c===ve||o===N?i('"'.concat(n,": ").concat(a,'" - invalid config')):o&&c&&(e[o]=c),e}),{})),n},Te=A(Ue),Oe=p(p({},v(null,"_pcid")),{init:function(e,t){return t({protect:!0}),Se(L().browserId||null)||e||S()},update:function(e,t){return t({protect:!0}),S()},set:function(e,t,n){return n({protect:!0}),e}});var Re=p(p({},m()),{init:function(){return L().referrer||(function(e,t,n){if(!e)return!1;var r=e.toLowerCase(),i=/(iphone|ipad|ipod)/.test(r)||t.includes("MacIntel")&&(null!=n?n:0)>1,o=r.includes("gsa/");return i&&o}(navigator.userAgent,navigator.platform,navigator.maxTouchPoints)&&!document.referrer?"google.ios.googlequicksearchbox":document.referrer)}}),Le=p(p({},m()),{init:function(){return L().sessionReferrer||document.referrer}}),De=[[0,0,0,0,0,0,0,0],[0,0,2,2,2,2,2,0],[1,2,2,2,2,2,2,1],[0,2,0,2,2,2,0,0],[1,2,2,2,2,2,1,1],[2,0,0,2,2,2,2,0],[2,0,2,2,2,2,2,0],[2,2,2,2,2,2,0,2],[2,2,0,0,0,0,2,0],[2,2,1,2,1,2,2,1],[2,2,1,1,2,2,2,1]],Me=function(e){return e.reduce((function(e,t,n){var r;return p(p({},e),((r={})[n]={mode:ee[t]},r))}),{})},Ne=De.map((function(e,t){return{id:t,preset:Me(e)}})),je=E((function(){var e;return null===(e=Te(L().consent))||void 0===e?void 0:e.defaultPreset})),Xe=function(){var e=Ne;return function(){return je((function(t){e=Ne.slice(),t&&(e[0]={id:0,preset:p({},e[0].preset)},g(t).forEach((function(n){var r=t[n],i=X[n];e[0].preset[i]={mode:r}})))})),e}}(),He=function(e,t){var n=fe();return z(e,t,(function(e,t,r){var i=r===X[N],o=n&&!i?null:Xe()[0].preset[r].mode,a=(null==e?void 0:e.mode)||(null==t?void 0:t.mode)||o;return null===a?null:a!==(null==t?void 0:t.mode)?{mode:a}:t}))},We=p(p({},v(null,"_pprv")),{init:function(e){return le()&&e?He(e,null):null},set:function(e,t){var n,r,i;return le()?null==e?t:(!function(e){return"number"==typeof e}(e)?y(e)?(i=null,e.forEach((function(e){var t=De[e];i||!t?i&&t&&(i=i.map((function(e,n){return Math.min(e,t[n])}))):i=t})),r=i&&Me(i)):r=function(e){return g(e).reduce((function(t,n){var r=e[n],i=q(n);if(null===i)return t;var o=ne(r.mode)?r.mode:null;return o&&(t||(t={}),t[i]={mode:o}),t}),null)}(e):r=(null===(n=Xe()[e])||void 0===n?void 0:n.preset)||null,r?He(r,t):t):null},get:A((function(e){return e&&Q(e,(function(e,t){var n,r=p({},e);return r.mode===J&&(r.modifier=(null===(n=ue())||void 0===n?void 0:n[t])||null),r}))}),(function(){return ue()}))}),Ve=p(p({},m()),{init:Xe,set:Xe}),Fe=p(p({},m()),{init:F,set:F}),ze=p(p({},m(null)),{readonly:!0,set:function(){return null},get:ue}),qe=function(e){var t=Number(e);return Number.isNaN(t)?String(e):t},Qe=function(e){return y(e)?e:e.split(",").map((function(e){return e.trim().replace(/^['"](.+)['"]$/,"$1")}))},Be=function(e){return e},Ye={id:Be,type:Be,zone:Be,createdAt:qe,modifiedAt:qe,authors:Qe,section:Be,tags:Qe,keywords:Qe,title:Be,description:Be,isNative:C},Ge=function(e){return"last"===e};function $e(e,t){if(void 0===e&&(e="meta"),function(e){return"first"===e}(t))return document.querySelector(e);var n=document.querySelectorAll(e);return Ge(t)?n[n.length-1]:Array.from(n)}var Je,Ke=(Je=null,{refresh:function(){(Je=$e()||null)&&setTimeout((function(){Je=null}),0)},find:function(e,t){return void 0===t&&(t=!1),Je?Je.reduce((function(n,r){for(var i=0,o=e;i0||-u<1728e5?c.toISOString():null}function dt(e){var t=(e=e.toLowerCase()).match(st);if(t)return lt(t[1],t[2],t[3],t[4],t[5],t[6],t[7]);for(var n=0,r=ct;n?]*\/?>/g," ").replace(/\s+/g," ").trim()};function pt(e){return void 0===e&&(e=""),ft(e.replace(/,(?=\s*(jr|sr)(\.?)\b)/g," "))}var vt,mt,ht,gt,yt=function(e){return p(p({},e),{take:"last"})},wt=function(e){return p(p({},e),{take:"last",hasContent:!0,getContent:function(e){return ft(e.content||"")}})},bt=[yt({attr:["name","property","itemprop"],names:["cxenseparse:publishtime","cxenseparse:recs:publishtime","article:published_time","date","dc.date","dc.date.created","dc.terms.issued","pub_date","article.published","datepublished","og:article:published_time"]}),yt({selector:"time.published[datetime],time[pubdate][datetime]",getContent:function(e){return e.getAttribute("datetime")}}),yt({selector:'time[itemprop="datePublished"][datetime]',getContent:function(e){return e.getAttribute("datetime")}})],_t=[yt({attr:["name","property","itemprop"],names:["article:modified_time","datemodified"]}),yt({selector:'time[itemprop="dateModified"][datetime]',getContent:function(e){return e.getAttribute("datetime")}})],It=[{attr:["property","name"],names:["cxenseparse:author","og:article:author","article:author","og:book:author","book:author","author","dc.creator","article.author"],take:"all",getContent:function(e){var t,n=e.getAttribute("data-separator"),r=e.content;return n?pt(r).split(n):(void 0===(t=r)&&(t=""),pt(t.replace(/\n+/,";").replace(/(\<|<)br(\>|>)/,";").replace(/\b(and|und|og)\b/g,";")).split(/[,;]/))}}],St=[wt({names:["cxenseparse:keywords"]}),wt({attr:["property","name"],names:["news_keywords"]}),wt({names:["keywords"]})],xt=[wt({names:["cxenseparse:description"]}),wt({attr:["property"],names:["og:description"]}),wt({names:["description"]})],kt=[{names:["cxenseparse:title"]},yt({attr:["property","name"],names:["og:title"]})],Ct=function(){var e,t=Array.from(document.querySelectorAll("meta[property^=content]")).reduce((function(e,t){var n,r=null===(n=null==t?void 0:t.getAttribute("property"))||void 0===n?void 0:n.split(":").pop(),i=Ye[r];return i&&t&&(e[r]=i((null==t?void 0:t.getAttribute("content"))||"")),e}),{});return Ke.refresh(),tt(e=t,"type",{attr:["property"],names:["og:type"]}),tt(e,"section",nt("section")),tt(e,"id",nt("id")),tt(e,"authors",nt("author")),function(e){tt(e,"createdAt",(function(){var e=et(bt);return e?dt(e.toLowerCase()):null})),tt(e,"modifiedAt",(function(){var e=et(_t);return e?dt(e.toLowerCase()):null})),tt(e,"authors",It),tt(e,"keywords",(function(){var e=et(St);return e&&e.length<=1024?e:null})),tt(e,"title",kt),tt(e,"description",xt)}(t),function(e){var t=it();rt(t)&&(tt(e,"createdAt",(function(){var e=t.datePublished;return e?dt(e.toLowerCase()):null})),tt(e,"modifiedAt",(function(){var e=t.dateModified;return e?dt(e.toLowerCase()):null})),tt(e,"authors",(function(){var e=t.author;return e?y(e)?e.map((function(e){return e.name})).join(", "):e.name:null})),tt(e,"keywords",(function(){var e=t.keywords;return I(e)&&e.length<=1024?e:null})),tt(e,"title",(function(){return t.headline})),tt(e,"description",(function(){return t.description})))}(t),t},At=p(p({},m(null)),{init:function(){return Ct()},refresh:function(e){var t=Ct();return(null==e?void 0:e._fixed_)&&(null==e||e._fixed_.forEach((function(e){delete t[e]}))),p(p({},e),t)},set:function(e,t){if(null===e)return{};var n=new Set(t&&t._fixed_),r=function(t,n){g(x(e,t)).forEach(n)};return r(b,(function(e){n.add(e)})),r(w,(function(e){n.delete(e)})),x(p(p(p({},t),e),{_fixed_:Array.from(n.values())}),b)},get:A((function(e){var t=p({},e);return delete t._fixed_,e&&t}))}),Et=p(p({},v(null,"_pcus")),{init:function(e){return void 0===e&&(e=null),e&&x(e,(function(e){return _(e)&&y(e.segments)}))}}),Pt={pageViewId:M,browserId:Oe,users:R,userStatus:h,siteId:v(),consent:We,consentPresets:Ve,products:Fe,consentModifiers:ze,purposes:se,content:At,userSegments:Et,referrer:Re,sessionReferrer:Le},Ut=["pantheon.io","go-vip.net","go-vip.co"],Tt=void 0===(ht=null===(mt=null===(vt=L())||void 0===vt?void 0:vt.cookieDefault)||void 0===mt?void 0:mt.domain)?l.getTopLevelDomain(Ut):ht,Ot={path:"/",expires:395,samesite:"lax",secure:"https:"===window.location.protocol,domain:Tt},Rt=function(e){return e.getTime().toString(36)},Lt=function(e){return e?P((function(){return new Date(parseInt(e,36))})):null},Dt="_t",Mt=function(e,t){var n=t.encode,r=t.decode,i=!1,o=null,a=null,c=null;!function(){var t,n=null===(t=r(e||""))||void 0===t?void 0:t[Dt];if(n){var c=n.split("|");o=Lt(c[0]),a=Lt(c[1]),i=!!o}}();var s=function(e){return o=o||function(e){var t=new Date;if(e instanceof Date)t=e;else{if("number"!=typeof e)return null;t.setDate(t.getDate()+e)}return t}(e.expires)};return{get fixedAt(){return i?[a,o]:null},onChange:function(e){c=e},setMode:function(e){var t=i;(i=e)!==t&&(o=null,a=null,null==c||c(i))},bindOptions:function(e){return i&&(o=s(e))?p(p({},e),{expires:o}):e},decode:function(e){var t=r(e);return(null==t?void 0:t[Dt])&&delete t[Dt],t},encode:function(e,t){return i?(o=s(t))&&(e[Dt]=Rt(o)+"|"+Rt(a=a||new Date)):delete e[Dt],n(e)}}},Nt="essential",jt="optional",Xt="mandatory",Ht=function(e,t,n){return void 0===t&&(t=jt),void 0===n&&(n=!1),{cookieName:e,consent:t,encode:function(e){return function(e,t){void 0===t&&(t=!1);var n=JSON.stringify(e);return P((function(){return t?window.btoa(n):n}))||n}(e,n)},decode:function(e){return U(e,!0)}}},Wt=String.fromCharCode,Vt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",Ft={};function zt(e){return null==e?"":function(e,t,n){if(null==e)return"";var r,i,o,a={},c={},s="",u="",l="",d=2,f=3,p=2,v=[],m=0,h=0;for(o=0;o>=1}else{for(i=1,r=0;r>=1}0==--d&&(d=Math.pow(2,p),p++),delete c[l]}else for(i=a[l],r=0;r>=1;0==--d&&(d=Math.pow(2,p),p++),a[u]=f++,l=String(s)}if(""!==l){if(Object.prototype.hasOwnProperty.call(c,l)){if(l.charCodeAt(0)<256){for(r=0;r>=1}else{for(i=1,r=0;r>=1}0==--d&&(d=Math.pow(2,p),p++),delete c[l]}else for(i=a[l],r=0;r>=1;0==--d&&(d=Math.pow(2,p),p++)}for(i=2,r=0;r>=1;for(;;){if(m<<=1,h==t-1){v.push(n(m));break}h++}return v.join("")}(e,6,(function(e){return Vt.charAt(e)}))}function qt(e){return null==e?"":""==e?null:function(e,t,n){var r,i,o,a,c,s,u,l=[],d=4,f=4,p=3,v="",m=[],h={val:n(0),position:t,index:1};for(r=0;r<3;r+=1)l[r]=r;for(o=0,c=Math.pow(2,2),s=1;s!=c;)a=h.val&h.position,h.position>>=1,0==h.position&&(h.position=t,h.val=n(h.index++)),o|=(a>0?1:0)*s,s<<=1;switch(o){case 0:for(o=0,c=Math.pow(2,8),s=1;s!=c;)a=h.val&h.position,h.position>>=1,0==h.position&&(h.position=t,h.val=n(h.index++)),o|=(a>0?1:0)*s,s<<=1;u=Wt(o);break;case 1:for(o=0,c=Math.pow(2,16),s=1;s!=c;)a=h.val&h.position,h.position>>=1,0==h.position&&(h.position=t,h.val=n(h.index++)),o|=(a>0?1:0)*s,s<<=1;u=Wt(o);break;case 2:return""}for(l[3]=u,i=u,m.push(u);;){if(h.index>e)return"";for(o=0,c=Math.pow(2,p),s=1;s!=c;)a=h.val&h.position,h.position>>=1,0==h.position&&(h.position=t,h.val=n(h.index++)),o|=(a>0?1:0)*s,s<<=1;switch(u=o){case 0:for(o=0,c=Math.pow(2,8),s=1;s!=c;)a=h.val&h.position,h.position>>=1,0==h.position&&(h.position=t,h.val=n(h.index++)),o|=(a>0?1:0)*s,s<<=1;l[f++]=Wt(o),u=f-1,d--;break;case 1:for(o=0,c=Math.pow(2,16),s=1;s!=c;)a=h.val&h.position,h.position>>=1,0==h.position&&(h.position=t,h.val=n(h.index++)),o|=(a>0?1:0)*s,s<<=1;l[f++]=Wt(o),u=f-1,d--;break;case 2:return m.join("")}if(0==d&&(d=Math.pow(2,p),p++),l[u])v=l[u];else{if(u!==f)return null;v=i+i.charAt(0)}m.push(v),l[f++]=i+v.charAt(0),i=v,0==--d&&(d=Math.pow(2,p),p++)}}((e=e.replace(/ /g,"+")).length,32,(function(t){return function(e,t){if(!Ft[e]){Ft[e]={};for(var n=0;n0?r:null};return function(e,t){var u=S();return o.set(u,e),t&&n.register(t),r=p(p({},n.get()),r),{getInitCookieData:function(){return r},getCachedData:function(){return i||nn},setProtectionData:function(e){return s(u,e)},setProtectionDataUnsafe:function(e){return s(u,e,!0)},updateData:function(e){return function(e,t){var o={},s={};g(t).forEach((function(e){a.has(e)?o[e]=(null==i?void 0:i[e])||null:s[e]=t[e]}));var u=i||r,l=p(p({},i),s);return T(l,u)||(n.set(l,u),i=l,c.forEach((function(e){return(0,e[1])(s)}))),g(o).length>0?o:null}(0,e)},onUpdateData:function(e){!function(e,t){c.push([e,t])}(u,e)},terminate:function(){!function(e){c=c.filter((function(t){return t[0]!==e}))}(u),o.delete(u)},setCookieOptions:function(){return null},setCookieEnabled:function(){return null},get registeredCookiesWrapper(){return n.wrappers}}}},on=(void 0===Qt&&(Qt=!1),function(e,t){var n=rn();try{Object.defineProperty(window,en,{configurable:Qt,set:function(e){var t=e();t===tn?e(n):"mrlqf5trgho"===t&&(n=rn())}})}catch(e){}return window[en]=function(e){return e&&(n=e),tn},n(e,t)}),an=function(e){return e.includes("*")},cn=function(e,t){return[new RegExp("^"+e.replace(/\*/g,".*")+"$"),t]},sn=function(e){return g(e).filter(an).map((function(t){return cn(t,e[t])}))},un=function(e,t){for(var n=0,r=t;n0&&l().setProtectionData(e),function(){var e=t("protectUnsafe");g(e).length>0&&l().setProtectionDataUnsafe(e)}()}}},h=function(e,t){return g(e).reduce((function(n,r){var i=u.get(r),o=e[r];return i&&(n[r]=t?t(i,o):i.get(o)),n}),{})},w=function(){return{params:u,getConnection:l,addChangeListener:E,get:S,updateValues:_}},b=function(e){var t=!1;g(e).forEach((function(n){var i,o=n,a=u.get(o);if(a){var s=e[o];r[o]!==s&&(r[o]=s,t=!0,null===(i=c.get(o))||void 0===i||i.forEach((function(e){return e(a.get(s))})))}})),t&&s.forEach((function(e){return e(h(r))}))},_=function(e,t,n){var i;void 0===n&&(n=!1);var o=e,a=k();I(e)&&((i={})[e]=t,o=i);var c=m(),s=m();o=g(o).reduce((function(e,t){var n=o[t],i=u.get(t),l=t;return(null==i?void 0:i.readonly)?e:(i&&i.cookieName&&a.add(i.cookieName),i&&n!==r[t]?n===bn?(e[t]=i.refresh(r[t],(function(e){s.add(l,e)})),e[t]!==r[t]&&c.add(l,{protectUnsafe:!1}),e):n===wn?(e[t]=i.update(r[t],(function(e){s.add(l,e)})),e):(e[t]=i.set(n,r[t],(function(e){s.add(l,e)})),e):e)}),{}),f(a.values()),c.call();var d=l().updateData(o);if(d&&n){var v=g(d).reduce((function(e,t){var n;return p(p({},e),((n={})[t]=!1,n))}),{});l().setProtectionDataUnsafe(v),l().updateData(o)}return s.call(),d&&h(d)};function S(e){var t,n,i=k(),o=I(e);return void 0===e?n=r:o?((t={})[e]=r[e],n=t):n=e.reduce((function(e,t){return u.has(t)&&(e[t]=r[t]),e}),{}),n=h(n,(function(e,t){return e.cookieName&&i.add(e.cookieName),e.get(t)})),f(i.values()),o?n[e]:n}function x(e,t){return _(e,t,!1)}var C=function(e,t){void 0===t&&(t=!1);var n=e;return y(e)||(n=[e]),_(n.reduce((function(e,t){return e[t]=wn,e}),{}),void 0,t)},A=function(e,t,n){var r;void 0===n&&(n=!1);var i=n?l().setProtectionDataUnsafe:l().setProtectionData,o=e;return I(e)&&((r={})[e]=t,o=r),i(o)};function E(e,t){var n;I(e)?null===(n=c.get(e))||void 0===n||n.add(t):s.add(e)}return{init:function(t){if(void 0===t&&(t={}),!a){var s,f;o||(o=on("data-layer",i)),s=p(p({},t),In()),f=s.cookieDefault,d((function(e){g(e).forEach((function(t){var n,r,i,o,a=e[t].cookieName,c=null===(n=s.cookies)||void 0===n?void 0:n[a],u="fixed"===(null===(r=s.cookies)||void 0===r?void 0:r.storageMode);null===(o=(i=e[t]).setFixedMode)||void 0===o||o.call(i,u),(f||c)&&e[t].setCookieOptions(p(p({},f),c))}))})),a=!0,g(e).forEach((function(t){var n=e[t];c.set(t,new Set),u.set(t,n)}));var v=!1,h=l().getInitCookieData(),y=l().getCachedData(),_=m(),I=g(e).reduce((function(t,n){var r=n,i=e[n];return t[n]=(null==y?void 0:y[r])||i.init(null==h?void 0:h[r],(function(e){_.add(r,e)})),(null==y?void 0:y[r])||(v=!0),t}),{});r=I,v&&l().updateData(I),_.call(),l().onUpdateData((function(e){return b(e)})),null==n||n(w())}},set:x,get:S,update:function(e){return C(e)},refresh:function(){var e;if(l().setProtectionData(((e={})[_n]=!0,e)))return!1;var t=[];u.forEach((function(e,n){return t.push(n)}));var n=t.reduce((function(e,t){return e[t]=bn,e}),{});return _(n),!0},protect:function(e,t){return A(e,t)},addChangeListener:E,removeChangeListener:function(e){s.delete(e),c.forEach((function(t){return t.delete(e)}))},terminate:function(){null==o||o.terminate(),c.clear(),s.clear(),o=null,a=!1,r={}},updateMigration:function(){a&&gn(w())},get isReady(){return a},utils:{validateModifier:Pe,validateConsent:Ue,checkConsent:vn,setConsent:function(e,t,n){S("consent");var r=be(S("purposes"),0,e,t,n);return r?r.error?r.error:(x({consent:r.consent,purposes:r.purposes}),null):null},getConsent:function(){var e=S(["consent","purposes"]),t=e.consent,n=e.purposes;return _e(t,n)},notAcquiredConsent:de()?g(re).reduce((function(e,t){return e[t]={mode:B,products:re[t]},e}),{}):null,compressLz:zt,decompressLz:qt},get cookies(){return v()},get cookieEnabled(){return v()},setUnsafe:function(e,t){_(e,t,!0)},protectUnsafe:function(e,t){return A(e,t,!0)},updateUnsafe:function(e){return C(e,!0)},setCookieEnabled:function(e){d((function(t){var n=g(e);n.length?n.forEach((function(n){var r=t[n];r&&r.setCookieEnabled(e[n])})):g(t).forEach((function(n){t[n].setCookieEnabled(e)}))}))}}}(Pt,Zt,(function(e){!function(e){var t,n=g(Kt).reduce((function(e,t){return e[t]=Kt[t].consent,e}),{}),r=function(t){var n;return t||(null===(n=e.get("consent"))||void 0===n?void 0:n.DL)||null},i=pn({items:n,type:"cookie",getConsent:r}),o=r(),a=(null===(t=e.get("consent"))||void 0===t?void 0:t.PA)||null,c=function(t,n){var r,o=Sn(n),a=null===(r=e.getConnection())||void 0===r?void 0:r.registeredCookiesWrapper;if(a){var c=g(a).map((function(e){return a[e].cookieName}));i(c,t).forEach((function(e){var t=e.name,n=e.allowed,r=e.data,i=t,c=n&&!o[i];a[i].setCookieEnabled(c,r||null)}))}};e.addChangeListener("consent",(function(e){var t=(null==e?void 0:e.DL)||null,n=(null==e?void 0:e.PA)||null;(null==o?void 0:o.mode)===(null==t?void 0:t.mode)&&(null==a?void 0:a.mode)===(null==n?void 0:n.mode)||(o=t,a=n,c(t,e))})),c(o,e.get("consent"))}(e),gn(e),function(e){var t=null,n={},r=function(t){var r=_e(t,e.get("purposes"));if(r&&t){var i=!1,o=g(r).reduce((function(e,o){var a=r[o].mode;return r[o].products.forEach((function(r){var o;a!==B&&a!==(null===(o=t[r])||void 0===o?void 0:o.mode)&&(pe(a,r)?n[r]||(n[r]=!0,xn(r,a,1)):(e[r]={mode:a},i=!0,xn(r,a,2)))})),e}),{});i&&e.updateValues({consent:o})}};e.addChangeListener("consent",(function(e){de()&&(t&&(clearTimeout(t),t=null),t=setTimeout((function(){r(e),t=null}),200))})),de()&&r(e.get("consent"))}(e)})),Cn=document.createElement.bind(document),An=document.getElementById.bind(document),En=document.getElementsByTagName.bind(document),Pn=encodeURIComponent,Un=parseInt,Tn=Object.prototype.hasOwnProperty,On=Array.prototype.slice,Rn=Math.abs,Ln=Math.round,Dn=Math.max,Mn=Math.min,Nn=Math.floor,jn=Math.pow,Xn=Math.random;function Hn(){return!!e.env&&"development"===e.env.nodeEnv}function Wn(t){e.env&&!Hn()||console.error(t)}function Vn(){Hn()&&console.info.apply(window,Array.prototype.slice.call(arguments))}function Fn(t,n){e.library.m_logs.push([t,n])}function zn(){return Date.now()}function qn(){return Ln(zn()/1e3)}function Qn(){var e=new Date,t=e.getTimezoneOffset();try{if(Rn(t)>840||t%15!=0){var n=Ln(e.getUTCHours()-e.getHours())%24;t=30*Ln((60*(n+=n<-12?24:n>12?-24:0)+e.getUTCMinutes()-e.getMinutes())/30)}}catch(e){Wn(e)}return t}function Bn(e){return void 0===e}function Yn(e){return null===e}function Gn(e){return"boolean"==typeof e}function $n(e){return"number"==typeof e}function Jn(e){return"string"==typeof e}function Kn(e){return"function"==typeof e}function Zn(e){return Array.isArray(e)}function er(e){return"object"==typeof e&&!Yn(e)&&!Zn(e)}function tr(e){return!e.length}function nr(e){return!1!==e}function rr(e,t,n){for(var r=0;r-1}var or={some:function(e,t,n){var r=!1;return rr(e,(function(i,o){r=r||t.call(n,i,o,e)})),r},forEach:rr,remove:function(e,t){var n=e.indexOf(t);return n>-1&&e.splice(n,1),e}};function ar(e,t,n){for(var r in e)Tn.call(e,r)&&t.call(n,e[r],r,e)}var cr={forEach:ar,some:function(e,t,n){var r=!1;return ar(e,(function(i,o){r=r||t.call(n,i,o,e)})),r},keys:function(e){var t=[];return ar(e,(function(e,n){t.push(n)})),t}};function sr(e){var t=!0;return ar(e,(function(){t=!1})),t}function ur(e,t){return rr(t,(function(t){e.push(t)})),e}var lr=["__proto__","prototype","constructor"];function dr(e,t){return ar(t,(function(t,n){ir(lr,""+n)||(er(t)?(er(e[n])||(e[n]={}),dr(e[n],t)):Zn(t)?(Zn(e[n])||(e[n]=[]),ur(e[n],t)):e[n]=t)})),e}function fr(e){return ur([],e)}function pr(e){return dr({},e)}function vr(){for(var e={},t=0;t<\/script>")}function Rr(){try{var e=navigator.userAgent;return/Safari/.test(e)&&!/Android|Chrome|bot|link/.test(e)}catch(e){return!1}}function Lr(){return/Firefox/.test(navigator.userAgent)}var Dr="_cX_check";function Mr(){try{return window.localStorage.setItem(Dr,Dr),window.localStorage.removeItem(Dr),!0}catch(e){return!1}}function Nr(){try{return window.sessionStorage.setItem(Dr,Dr),window.sessionStorage.removeItem(Dr),!0}catch(e){return!1}}function jr(){return!0}function Xr(){if(Lr())return!0;var e=navigator.userAgent;return function(e){if(/Chrom[[e|ium]+/i.test(e)){var t=e.match(/Chrom[^ /]+\/(\d+)/i),n=t&&t[1]&&Un(t[1],10);return!!n&&(n<51||n>=67)}return!1}(e)||function(e){var t=/iP.+;\sCPU\s.*OS\s12/i.test(e),n=/Mac\sOS\sX\s10_14/i.test(e),r=/^Mozilla\/[.\d].*\(Macintosh;.*Mac OS X\s*(?:\S.*)?\) AppleWebKit\/[.\d].*\(KHTML, like Gecko.*\)/i.test(e);return(Rr()||r)&&!t&&!n}(e)||function(e){if(/UCBrowser/i.test(e)){var t=e.match(/UCBrowser\/(\d+)\.(\d+)\.(\d+)/i);if(t&&t.length>=4){var n=Un(t[1],10),r=Un(t[2],10),i=Un(t[3],10);return!(n<12||12===n&&r<13||12===n&&13===r&&i<2)}}return!1}(e)}function Hr(){try{return"https:"===window.location.protocol}catch(e){return!1}}var Wr=[1,2,4,8,16,32,64,128,256,512];function Vr(t){e.library.m_useCases|=Wr[t]}function Fr(t){kn.set("siteId",t),e.library.m_siteId=t}function zr(){return kn.get("siteId")}function qr(){return e.library.m_accountId}function Qr(t,n){nr(n)?(kn.setUnsafe("pageViewId",t),e.library.m_rnd=t):e.library.m_rnd=kn.get("pageViewId")}function Br(){return kn.get("pageViewId")}var Yr={cdn:"cdn.cxense.com",event:"comcluster.cxense.com",id:"id.cxense.com",api:"api.cxense.com",csyn:"csyn.cxense.com",csynR:"csyn-r.cxense.com",stats:"stats-collector.cxense.com"},Gr=395,$r=7;function Jr(e,t){return"https://"+Yr[e]+"/"+t}function Kr(t){var n;return e.env.hasLocalStorage&&(n=e.library._consent.localStorage.get("_"+t)),n}function Zr(t,n,r){e.env.hasLocalStorage&&e.library._consent.localStorage.set("_"+t,n,{expires:r||void 0})}function ei(t){e.env.hasLocalStorage&&e.library._consent.localStorage.remove("_"+t)}function ti(){e.env.hasLocalStorage&&e.library._consent.localStorage.expires()}function ni(e){var t={},n=e.replace(/\?/,"").replace(/#/,"").split("&");return or.forEach(n,(function(e){var n=e.split("=");if(2===n.length){var r=decodeURIComponent(n[0]),i=decodeURIComponent(n[1]);Bn(t[r])?t[r]=i:(Zn(t[r])||(t[r]=[t[r]]),t[r].push(i))}})),t}function ri(e){var t="";return cr.forEach(e,(function(e,n){Jn(e)||$n(e)||Gn(e)?t+=(tr(t)?"":"&")+Pn(n)+"="+Pn(""+e):Zn(e)&&or.forEach(e,(function(e){t+=(tr(t)?"":"&")+Pn(n)+"="+Pn(""+e)}))})),t}function ii(e){var t=e||window.location.href||"",n=t.indexOf("#");return n>-1?t.slice(n+1):""}function oi(e){return ni(ii(e))}function ai(e){return ni(e||window.location.search)}function ci(e,t,n){var r=ai(),i=oi();return n&&(r[t]=n),e.replace(/[?#].*$/,"")+(sr(r)?"":"?"+ri(r))+(sr(i)?"":"#"+ri(i))}var si=["pv","segment","ad","recs"],ui=["geo","device"],li={sendPageViewEvent:"pv",sendActivityEvent:"pv",addExternalId:"pv",sendEvent:"pv",getUserSegmentIds:"segment",cint:"segment",sync:"ad",insertAdSpace:"ad",insertMultipleAdSpaces:"ad"};function di(){for(var t;t=e._consentCallQueue.shift();)e.callQueue.push(t)}function fi(t){e.library.m_usesConsent=$n(t)||nr(t),e.library.m_consentVersion=$n(t)?t:1,e.library.m_usesConsent||di(),e.library.m_hasSetConsent&&e.callQueue.push(["_handleRequireOrChangeConsent"])}function pi(){return!!e.library.m_noConsentCache}function vi(){return e.library&&!!e.library.m_usesConsent}function mi(){if(pi())return e.library.m_consentParameters;var t=Kr("cX_cons");if(Yn(t))return{};var n={};return cr.forEach(ni(t),(function(e,t){n[t]="true"===e})),n}function hi(t){return!(2===e.library.m_consentVersion||!function(e){return ir(ui,e)}(t))||!!mi()[t]}function gi(t,n){try{var r=!Bn(n)&&n.runCallQueue,i=dr({},mi());i=dr(i,t);var o=cr.some(i,(function(e){return e}));if(pi())e.library.m_consentParameters=o?i:{};else if(o){Zr("cX_cons",ri(i),null)}else ei("cX_cons");t&&r&&o&&di(),e.library.m_hasSetConsent=!0,e.callQueue.push(["_handleRequireOrChangeConsent"])}catch(e){Wn(e)}}function yi(){var e=mi(),t=["y"];return cr.forEach(e,(function(e,n){e&&t.push(n)})),t}function wi(){return yi().join(",")}var bi=ur(ur([],si),ui);function _i(t){gi(function(t){var n={};return or.forEach(2===e.library.m_consentVersion?bi:si,(function(e){n[e]=t})),n}(t),{runCallQueue:t})}var Ii=function(e){return function(){var t=e.dataLayer.get("consent");return t&&t[e.productName]||null}},Si=function(e,t){var n=null,r=function(r){var i=(null==r?void 0:r[e.productName])||null;i!==n&&(n=i,t(i))};return e.dataLayer.addChangeListener("consent",r),function(){e.dataLayer.removeChangeListener(r)}},xi=function(e,t){return e.utils.checkConsent.createCheckConsentWrapper(t)},ki=function(e,t,n){var r=e.utils.checkConsent,i=r.itemsToMask(t),o=Object.keys(t).filter((function(e){return!r.isMask(e)}));return n().filter((function(e){return o.includes(e)||r.getByMask(e,i)}))},Ci=function(e,t,n){var r,i=Ii(n),o=xi(n.dataLayer,{items:n.items,type:t,getConsent:i,product:n.productName}),a=function(t){var r;null===(r=o(ki(n.dataLayer,n.items,e.getNames),t))||void 0===r||r.forEach((function(t){t.allowed?t.data&&e.set(t.name,t.data):e.remove(t.name)}))};return r=void 0===n.checkConsentOnInit&&n.enableAutoRemove,n.enableAutoRemove&&Si(n,a),r&&a(i()),Object.assign({},e,{set:function(t,n,r){var i,a=o(t);if(null==a?void 0:a.allowed){var c=null!==(i=a.data)&&void 0!==i?i:n,s=r?[t,c,r]:[t,c];e.set.apply(null,s)}},check:o})},Ai=function(e,t){return{check:xi(t.dataLayer,{items:t.items,type:e,getConsent:Ii(t),product:t.productName})}},Ei=function(e){var t=function(e){var t=d.__protected__.ttlName,n={dataLayer:e,productName:"DL"},r=function(){var e,r=xi(n.dataLayer,{items:(e={},e[t]="mandatory",e),type:"localStorage",getConsent:Ii(n),product:n.productName});return function(){var e=r(t);return e.allowed&&!e.data}}(),i=!0,o=function(){(i=r())||d.remove(t)};return Si(n,o),o(),function(){return i}}(e.dataLayer),n=Ci(d,"localStorage",e);return Object.assign({},n,{set:function(e,r,i){var o=i;return(null==i?void 0:i.expires)&&!t()&&delete(o=Object.assign({},i)).expires,n.set(e,r,o)}})},Pi=function(e){var t=e.dataLayer.utils.checkConsent,n=Ii(e),r={},i=[],o={},a={};Object.keys(e.items).forEach((function(n){var a=e.items[n];if(a.type){var c=a,s=c.type,u=c.domain,l=c.path,d={};o[n]=s,u&&(d.domain=u),l&&(d.path=l),t.isMask(n)?i.push(t.createMask(n,d)):r[n]=d}else o[n]=a}));var c,s=xi(e.dataLayer,{items:o,type:"cookie",getConsent:n,product:e.productName}),u=function(n){var c;null===(c=s(ki(e.dataLayer,o,l.getNames),n))||void 0===c||c.forEach((function(e){var n=function(){return r[e.name]||t.getByMask(e.name,i)||a};e.allowed?e.data&&l.set(e.name,e.data,n()):l.remove(e.name,n())}))};c=!(void 0!==e.checkConsentOnInit||!e.enableAutoRemove),e.enableAutoRemove&&(a=e.enableAutoRemove,Si(e,u)),c&&u(n());return Object.assign({},l,{check:s,set:function(e,t,n,r){var i,o=s(e);(null==o?void 0:o.allowed)&&l.set(e,null!==(i=o.data)&&void 0!==i?i:t,n,r)}})},Ui=function(e){return Ci(f,"sessionStorage",e)},Ti=function(e){return Ai("event",e)};function Oi(t,n,r,i,o,a,c){e.library._consent.cookie.set(t,n,{expires:r||void 0,path:i,domain:o,secure:(a||e.library.m_usesSecureCookies)&&e.env.isSecureProtocol,samesite:a&&e.env.canSetSameSite&&"lax"},c||1024)}function Ri(t){return e.library._consent.cookie.get(t)}function Li(t,n,r,i){e.library._consent.cookie.remove(t,{path:n,domain:r,secure:i})}var Di=["pantheon.io","go-vip.net","go-vip.co","cue.cloud","vrm.cue.cloud","test.vrm.cue.cloud","staging.vrm.cue.cloud","dev.vrm.cue.cloud"];function Mi(){return l.getTopLevelDomain(Di)}var Ni={dataLayer:kn,productName:"DMP"},ji={items:{_cookie_test:"mandatory",cX_P:"essential",cX_G:"essential",cX_S:"essential",cX_segmentInfo:"essential",gckp:"essential","cX_*":"optional"},enableAutoRemove:{domain:Mi(),path:"/"}},Xi={items:{_cX_segmentInfo:"essential","_cX_*":"optional"},enableAutoRemove:!0},Hi={items:{_cX_S:"essential",_cX_partner:"essential",_cX_GAttempt:"essential","_cX_*":"optional"},enableAutoRemove:!0},Wi={items:{segment:"essential",pv:"essential",ad:"essential",recs:"essential",device:"optional",geo:"optional"}};function Vi(e){return!!window.pdl&&(!!window.pdl.requireConsent&&(!e||window.pdl.requireConsent===e))}var Fi={get:function(e){var t=kn.get("consent");return e&&t?t[e]:t},set:function(e,t){if(Jn(e)){var n={};n[e]=t,kn.set("consent",n)}else kn.set("consent",e)},setByPreset:function(e){kn.set("consent",e)},getByPurpose:function(){return kn.utils.getConsent()},setByPurpose:function(e,t,n){kn.utils.setConsent(e,t,n)},setAllPurposes:function(e){kn.utils.setConsent(e)}};function zi(t){return vi()?!hi(t):!!Vi()&&!function(t){var n=e.library._consent.events.check(t);return!Yn(n)&&n.allowed}(t)}function qi(e){return!zi(e)}function Qi(e,t,n,r){e.addEventListener&&e.addEventListener(t,n,er(r)?r:!!r)}function Bi(e,t,n,r){e.removeEventListener&&e.removeEventListener(t,n,er(r)?r:!!r)}var Yi={stringify:JSON.stringify,parse:JSON.parse};function Gi(t){var n;return e.env.hasSessionStorage&&(n=e.library._consent.sessionStorage.get("_"+t)),n}function $i(t,n){e.env.hasSessionStorage&&e.library._consent.sessionStorage.set("_"+t,n)}function Ji(e,t,n){var r,i,o=n||{},a="cXJsonpCB"+(r&&(gr=0),++gr),c=a+"script";window[a]=function(){i&&clearTimeout(i),window[a]=yr;try{Kn(t)&&t.apply(window,arguments)}catch(e){Wn(e)}var e=An(c);Yn(e)||Yn(e.parentElement)||e.parentElement.removeChild(e)},o.timeout&&(i=br(window[a],o.timeout)),Vn("== jsonp request sent",e),Or(e.replace(/\{\{callback\}\}/,Pn(a)),!o.synchronous,o.charset,c)}function Ki(e,t,n){var r=new Image;return e&&(r.src=e,Vn("== image request sent",e)),Kn(t)&&(r.onload=t),Kn(n)&&(r.onerror=n),r}function Zi(e,t,n){var r=Cn("iframe");return t&&(r.onload=t),n&&n.id&&(r.id=n.id,r.name=n.id),r.width="1",r.height="1",r.src=e,r.style.display="none",r.setAttribute("scrolling","no"),r.setAttribute("frameBorder","0"),{send:function(t){return(t||An("cX-root")||Ir()).appendChild(r),Vn("== iframe request sent",e),r}}}function eo(e){var t=Gi("cX_S");return!t&&nr(e)&&$i("cX_S",t=hr()),t}function to(t){if(zi("pv"))return null;try{if(er(window.cXNative)&&Kn(window.cXNative.getUserId)){var n=window.cXNative.getUserId();if(n)return n}}catch(e){Wn(e)}var r=Ri("cX_P");if(!nr(t))return r;r||(r=kn.get("browserId"));try{Li("cX_P","/")}catch(e){Wn(e)}try{Li("cX_P","/",window.location.hostname)}catch(e){Wn(e)}return Oi("cX_P",r,e.library.m_maxCookieExpires,"/",Mi()),kn.get("browserId")}function no(t){try{if(!Bn(t)){try{Li("cX_G","/")}catch(e){Wn(e)}try{Li("cX_G","/",window.location.hostname)}catch(e){Wn(e)}Oi("cX_G",t,e.library.m_maxCookieExpires,"/",Mi())}var n=Ri("cX_G");return Bn(t)&&n&&!zi("pv")&&Oi("cX_G",n,e.library.m_maxCookieExpires,"/",Mi()),n}catch(e){Wn(e)}}function ro(){return no()}function io(t,n,r){var i=no();if(i)Kn(r)&&r(i);else try{var o=[{type:"ckp",id:t}],a=e.library.cxenseUserIdUrl+"?json="+Pn(Yi.stringify({identities:o,redirectLocation:n}));if(n)window.location.replace(a);else{Ji(a+"&callback={{callback}}",(function(t){try{var n=t.response;e.library.m_isNewUser=n.newUser,zi("pv")?function(t){e.env.hasSessionStorage&&e.library._consent.sessionStorage.remove("_"+t)}("cX_GAttempt"):no(n.userId),Kn(r)&&r(t)}catch(e){Wn(e)}}))}}catch(e){Wn(e)}}var oo=["cX_lst","cX_segmentInfo","cX_atfr","cX_expires","cX_cintSet"],ao=["cX_S","cX_SA","cX_GAttempt"],co=["cX_P","cX_G","_cookie_test"];function so(){if(!e.env.isSafari){var t=Zi(e.library.clearBaseUrl,void 0,{id:"cx_rep_iframe_"+Xn()}),n=An("cX-clear");if(n)t.send(n);else{var r=function(){Ir()?t.send(Ir()):br(r,100)};r()}}Ji(e.library.clearIdUrl+"?ngc=1&callback={{callback}}")}var uo="cxrecs_s";function lo(){var e=!1;try{window.location.href&&document.referrer&&""!==window.location.href&&window.location.href.split("#")[0]===document.referrer&&(e=!0)}catch(e){Wn(e)}return e}function fo(){try{return/cXense/i.test(navigator.userAgent)}catch(e){return Wn(e),!1}}function po(t,n){return t=t||window.location.href,n=n||kn.get("referrer")||document.referrer,ir(t,uo)||/cdn\.cxpublic\.com\/generic_v\d+\.html/.test(n)||!0===e.library.m_isSpaRecsDestination}function vo(t,n){"object"!=typeof t||Yn(t)||(Bn(n)&&(n=""),cr.forEach(t,(function(t,r){if(!Bn(t)){r=n+((r=""+r).length>20?r.slice(0,20):r),e.library.m_rawCustomParameters[r]=t,Zn(t)?(t=t.slice(0,10),or.forEach(t,(function(e,n){t[n]=""+e})),t=t.sort().join(",")):t=""+t;var i="cp_"+Pn(r),o=function(t){for(var n=e.library.m_customParameters,r=0;r-1&&e.library.m_customParameters.splice(o,1),e.library.m_customParameters.push(i+"="+Pn(t))}})))}function mo(e){$i("cX_SA",ri(e))}function ho(){var e={},t=Gi("cX_SA");return t&&(e=ni(t)),e}function go(e){vo({userState:e}),Qr(kn.get("pageViewId"))}var yo=["null","undefined","[object Object]","false","true","NaN","0"];function wo(){var e=kn.get("users"),t=[];return Yn(e)||cr.forEach(e,(function(e,n){t.push({id:(""+n).replace("{"+e.prefix+"}",""),type:e.prefix})})),t}function bo(){var e="";return or.forEach(wo(),(function(t,n){e+="&eid"+n+"="+Pn(""+t.id),e+="&eit"+n+"="+Pn(""+t.type)})),e}function _o(t){if(Bn(t))return!1;var n=e.library.cdn.template,r=[n.direct.http,n.direct.https,n.mapped.http,n.mapped.https],i=t.toLowerCase();return or.some(r,(function(e){return ir(i,e.replace(/^https?/,""))}))}function Io(){var e=kn.get("referrer")||document.referrer;if(_o(e)){var t=e.match(/[?&]ref=([^&#$]+)/);t&&2===t.length&&(e=decodeURIComponent(t[1]))}return e}function So(){var e=kn.get("content");return!Yn(e)&&e.modifiedAt?$n(e.modifiedAt)?e.modifiedAt:Date.parse(e.modifiedAt)/1e3:null}function xo(e){return qr()+"_"+zr()+"_"+(e||window.location.href)}function ko(t){return e.library.m_previousPageViewReport===xo(t)}function Co(e){return!ko(e)}function Ao(t){e.library.m_customEventAttributes=t}function Eo(){if(!qi("pv")){var t=window.location.href;if(Co(t))e.library.m_previousPageViewReport=xo(t),Ki(e.library.eventReceiverBaseUrlGif+"?"+ri({con:"y",loc:t,sid:zr(),rnd:Br(),source:"web"}))}}function Po(){Sr()&&Eo()}function Uo(t){return e.library.m_widgetSpecs[t]}function To(t,n){e.library.m_widgetSpecs[t]=n}function Oo(e,t,n,r){return e*(t+n+r)}function Ro(e){var t=e.elementId,n=Uo(t);if(n){var r=Un(e.matchedAdCount,10),i="false"!==e.isVerticallyOriented,o=!1;if(n.onImpressionResult&&Kn(n.onImpressionResult)){var a={elementId:t,matchedAdCount:r,isVerticallyOriented:i,contentWidth:e.contentWidth,contentHeight:e.contentHeight};o=!1===n.onImpressionResult(a)}if(!o){var c=An(t);!n.resizeToContentSize&&n.adUnitWidth&&n.adUnitHeight&&n.margins?i?(c.style.height=Oo(r,n.adUnitHeight,n.margins.top,n.margins.bottom)+"px",0===n.initialHorizontalAdUnits&&(c.style.width=Oo(1,n.adUnitWidth,n.margins.left,n.margins.right)+"px")):(c.style.width=Oo(r,n.adUnitWidth,n.margins.left,n.margins.right)+"px",0===n.initialVerticalAdUnits&&(c.style.height=Oo(1,n.adUnitHeight,n.margins.top,n.margins.bottom)+"px")):nr(n.resizeToContentSize)&&(Bn(e.contentWidth)||(c.style.width=e.contentWidth+"px"),Bn(e.contentHeight)||(c.style.height=e.contentHeight+"px"))}}}function Lo(){var e=Cn("div");return e.innerHTML=" ",e.style.clear="both",e.style.width="0",e.style.height="0",e.style.border="0",e.style.margin="0",e.style.padding="0",e.style.outline="0",e.style.overflow="hidden",e}function Do(e){var t={};return cr.forEach(e,(function(n,r){"media"===r||"renderTemplateUrl"===r||"useMappedRenderTemplate"===r||"rnd"===r||0===r.indexOf("lf-")||("asId"===r?t.adSpaceId=n:"auw"===r?t.adUnitWidth=Un(e.auw,10):"auh"===r?t.adUnitHeight=Un(e.auh,10):t[r]=n)})),t}function Mo(e){var t={left:0,top:0,right:0,bottom:0};try{if(e){var n=wr(e).replace(/\s+/g," ").split(" "),r=[];or.forEach(n,(function(e,t){r[t]=Un(e,10)})),1===r.length&&(t.top=r[0],t.right=r[0],t.bottom=r[0],t.left=r[0]),2===r.length&&(t.top=r[0],t.right=r[1],t.bottom=r[0],t.left=r[1]),3===r.length&&(t.top=r[0],t.right=r[1],t.bottom=r[2],t.left=r[1]),4===r.length&&(t.top=r[0],t.right=r[1],t.bottom=r[2],t.left=r[3])}}catch(e){Wn(e)}return t}function No(e){return"#text"===e.nodeName.toLowerCase()}function jo(t){return e.env.hasHistory?No(t)?t.data:t.value:t.nodeValue}function Xo(t,n){e.env.hasHistory?No(t)?t.data=n:t.value=n:t.nodeValue=n}var Ho="on(click|change|(un)?load|error|focus|key(down|press|up)|mouse(over|move|down|up|out)|drag(start|enter|leave|over|end)?|drop|touch(start|end|cancel|move))$";function Wo(e){var t=jo(e);if(t&&ir(t,"{{")){new RegExp("^tmp:"+Ho,"i").test(e.nodeName)?Xo(e,t.replace(/\{\{(window\['([^\]]*)'\])\}\}/g,"$1")):Xo(e,t.replace(/\{\{window\['([^\]]*)'\]\}\}/g,(function(e,t){var n=window[t];return delete window[t],n})))}}function Vo(e){if(e instanceof Element&&e.attributes&&!tr(e.attributes)){for(var t=[],n=0;n-->/g,(function(e,t){return An(t).innerHTML})),++i>40)break}var o="\nvar html = '';\n";o+="var varPrefix = 'cXTmplMgck' + '"+hr()+"';\n",o+="var varIndex = 0;\n";for(var a=e.split("%--\x3e"),c=0;c1&&(l=(l=(l=wr(s[1])).replace(/(cX\.(library\.)?defaultAdRenderer)/g,"html += $1")).replace(/(cX\.(library\.)?renderContainedImage)/g,"html += $1")),o+=l+"\n"}o+="return html;\n";var d=new Function("data","context",o)(n,r),f=An(t);f.innerHTML=d;for(var p=0;p1||Rn(t.prevScreenY-e.screenY)>1)&&(t.prevScreenX=e.screenX,t.prevScreenY=e.screenY,ra())}catch(e){Wn(e)}return!0}function aa(e){return!!e&&"IFRAME"===e.nodeName.toUpperCase()}function ca(){var t=kr(),n=$o(),r="&";return r+=ri({altm:e.library.m_scriptStartTime,arnd:Br(),aatm:Ln(n.activeTime/1e3),axtl:n.exitLink,awsz:t.width+"x"+t.height,amvw:n.maxViewLeft+"x"+n.maxViewTop,ascp:n.scrollDepthPercentage+"x"+n.scrollDepthPixels,aclk:po()?1:0,ause:e.library.m_useCases.toString(16)}),n.pvLatency>0&&(r+="&altc="+n.pvLatency),r+=function(){var t="",n="",r="",i="",o="",a=0;for(var c in e.library.m_widgetSpecs){var s=Uo(c);if(s&&(s.adSpaceId||s.widgetId)){var u=s.adSpaceId||s.widgetId;if(t+=(0===a?"&aaid=":",")+Pn(u),0===a?(o="&aavp=",i="&aaps=",n="&aasz=",r="&aavt="):(o+=",",i+=",",n+=",",r+=","),s.element){var l=xr(s.element);o+=Pn(""+s.visible.maxPercent),i+=Pn(l.left+"x"+l.top),n+=Pn(s.element.offsetWidth+"x"+s.element.offsetHeight),r+=Pn(Ln(s.visible.timePartly/1e3)+"x"+Ln(s.visible.timeFully/1e3))}if(++a>10)break}}return t+o+r+n+i}()}function sa(){window.requestAnimationFrame((function(){$o().activeTime>0&&Zr("cX_atfr",ca(),null)}))}function ua(e){try{ra();for(var t=e.target,n=0;n<10&&!Bn(t)&&!Yn(t);n++){if(1===t.nodeType&&((r=t)&&"A"===r.nodeName.toUpperCase())&&t.href){$o().exitLink=t.href,sa();break}t=t.parentNode}}catch(e){Wn(e)}var r;return!0}function la(){return!Gn(e.shouldPoll)&&!Gn(e.library.shouldPoll)||!(!e.library.shouldPoll&&!e.shouldPoll)}function da(){return e.shouldPollActiveTime||e.library.shouldPollActiveTime||!1}function fa(){var e=$o(),t=function(){var e=!1,t=kr(),n=$o();try{n.prevWindowWidth===t.width&&n.prevWindowHeight===t.height||(n.prevWindowWidth=t.width,n.prevWindowHeight=t.height,e=!0)}catch(e){Wn(e)}return[e,t]}(),n=function(){var e=!1,t=na(),n=$o();try{n.prevScrollLeft===t.left&&n.prevScrollTop===t.top||(n.prevScrollLeft=t.left,n.prevScrollTop=t.top,e=!0)}catch(e){Wn(e)}return[e,t]}(),r=t[1],i=n[1],o=t[0]||n[0]||e.hadHIDActivity;try{e.maxViewLeft=Dn(i.left+r.width,e.maxViewLeft),e.maxViewTop=Dn(i.top+r.height,e.maxViewTop)}catch(e){Wn(e)}if(o){e.hadHIDActivity=!1;var a=zn(),c=Mn(3e4,a-e.prevActivityTime);e.activeTime+=c,e.prevActivityTime=a,sa()}}function pa(e,t,n,r){if(100===t&&100===e.visible.prevPercent&&(e.visible.timeFully+=n),t>=50&&e.visible.prevPercent>=50&&(e.visible.timeHalf+=n),t>0&&e.visible.prevPercent>0?e.visible.timePartly+=n:e.visible.timeNone+=n,r(),!tr(e.callbacks)||!tr(e.triggers)){var i={visibility:{percent:t,previousPercent:e.visible.prevPercent,maxPercent:e.visible.maxPercent,timeNone:e.visible.timeNone/1e3,timeSome:e.visible.timePartly/1e3,timeHalf:e.visible.timeHalf/1e3,timeFull:e.visible.timeFully/1e3}};or.forEach(e.callbacks,(function(e){try{e(i)}catch(e){Wn(e)}}));for(var o=0;oc.visible.maxPercent){if(0===c.visible.maxPercent)try{c.delayImpressionSrc&&(c.src=c.delayImpressionSrc,aa(s)&&s.contentWindow&&s.contentWindow.location.replace(c.src))}catch(e){Wn(e)}c.visible.maxPercent=y}})),aa(s)){var w=[i,r.left,r.top,n.width,n.height,u.left,u.top,l.width,l.height,d-u.left,p-u.top,h,g,-1,-1];or.forEach(w,(function(e,t){w[t]=Ln(e)}));var b="method=updateParentMetrics&parentMetrics="+w.join(",");Er()&&c.src&&Ur(s,c.src,b,"*")}}}catch(e){Wn(e)}})),sa()}}())}function ha(e){var t,n=$o(),r=e.target;Yn(r)||(n.currScrollLeft=r.scrollLeft,n.currScrollTop=r.scrollTop,t=r.scrollHeight);var i=na(),o=kr(),a=Cr(),c=Ln(i.top+o.height),s=Mn(Ln(100*c/(t||a.height)),100);s>n.scrollDepthPercentage&&(n.scrollDepthPercentage=s,n.scrollDepthPixels=c)}function ga(e){var t=$o(),n=e.parentMetrics.split(","),r=[];or.forEach(n,(function(e,t){r[t]=Un(e,10)})),t.parentMetrics={updateTime:r[0],scrollPos:{left:r[1],top:r[2]},windowSize:{width:r[3],height:r[4]},widgetPos:{left:r[5],top:r[6]},widgetSize:{width:r[7],height:r[8]},overlapPos:{left:r[9],top:r[10]},overlapSize:{width:r[11],height:r[12]},documentSize:{width:r[13],height:r[14]}}}var ya=function(){var e=null;return window.__pctx_connection__=function(t){if(t){var n=t("get-data");e=Object.assign({},n.getCachedData()),n.terminate()}return"uvm42pas28m"},e};function wa(){return e.library&&!!ro()}function ba(e){return e>6?10:function(e){var t=(1+jn(5,.5))/2,n=(1-jn(5,.5))/2;return Nn((jn(t,e)-jn(n,e))/jn(5,.5))}(e+2)-1}function _a(e,t,n,r,i,o){if(!zi("pv")){var c,s=dr({},t),u=dr(s,n),l=dr(u,r),d=dr(l,"in-screen"===e?{}:i),f=ri(dr(d,"in-screen"===e?{}:o)),p=function(e,t){if(t=t||4095,e.length>t){var n=e.slice(0,t),r=n.lastIndexOf("&"),i=n.lastIndexOf("%2C"),o=Dn(r,i);return-1===o?n:n.slice(0,o)}return e}(a.statsCollectorUrl+"/"+e+"?"+f);Kn(window.fetch)?(c=p,window.fetch(c),Vn("== fetch request sent",c)):Ji(p)}}function Ia(){var e={},t={};try{t=ya()||{}}catch(e){Wn(e)}var n=t.content,r=t.consent;return e.ckp=t.browserId,e.rnd=t.pageViewId,wa()&&(e.cxId=ro()),dr(e,function(e){var t={};return e.siteId&&(t.cxSiteId=e.siteId),window.tp&&window.tp.aid&&(t.ciSiteId=window.tp.aid),window.pa&&Kn(window.pa.getConfiguration)&&(t.paSiteId=window.pa.getConfiguration("site")),t}(t||{})),dr(e,function(e){return{cCreatedAt:e.createdAt,cAuthor:e.authors?e.authors.join(","):void 0,cSection:e.section,cTags:e.tags,cType:e.type,t:e.title}}(n||{})),dr(e,function(e){if(!Vi())return{};var t={conMode:e.PA?e.PA.mode:void 0};if(Vi("v2")){t.conPurpose="AM";var n=window.tp,r=n&&n.consent&&Kn(n.consent.getByPurpose)&&n.consent.getByPurpose(),i=r&&r.CP;i&&Jn(i.mode)&&(t.conCP="opt-out"!==i.mode)}return t}(r||{})),e}function Sa(){var e=window.googletag;if(e&&Kn(e.getConfig)){var t=e.getConfig("targeting");if(t){var n=t.targeting;if(n){var r={},i=n.permutive||[],o=n.CxSegments||[],a=n.arcspan_c||[];return i&&!tr(i)&&(r=dr(r,{permutiveSids:i.join(",")})),o&&!tr(o)&&(r=dr(r,{cxSids:o.join(",")})),a&&!tr(a)&&(r=dr(r,{asSids:a.join(",")})),r}}}return{}}function xa(){var e=window.instBid&&Kn(window.instBid.getUserIds)?window.instBid.getUserIds():window.pbjs&&Kn(window.pbjs.getUserIds)?window.pbjs.getUserIds():{};return e&&!sr(e)?{userIdSources:cr.keys(e).join(",")}:{}}function ka(e,t,n){a.suspendEvents?a._eventsCache.push([e,t,n]):_a(e,t,n,Ia(),Sa(),xa())}function Ca(){return{location:window.location.href}}function Aa(e){var t=e.getResponseInformation();return Yn(t)?{adId:null,bnId:null,pId:e.getAdUnitPath()}:{adId:t.lineItemId||t.sourceAgnosticLineItemId,bnId:t.creativeId||t.sourceAgnosticCreativeId,pId:e.getAdUnitPath()}}function Ea(e){return e.adId+"_"+e.bnId+"_"+e.pId}function Pa(e,t){return e+"_"+t}var Ua={},Ta={},Oa={},Ra={};function La(){return"viewability"===a.mode}function Da(e){try{if(e.slot){var t=Aa(e.slot),n=Ea(t);if(e.isEmpty)return;if(!t.adId&&!t.bnId)return;if(Ua[n]?Oa[n]&&clearTimeout(Oa[n]):Ua[n]={adId:t.adId,bnId:t.bnId,pId:t.pId},Kn(e.slot.getOutOfPage)&&e.slot.getOutOfPage())return;La()||ka("imp",Ca(),t)}else Vn("== ARI Event slot is undefined",e)}catch(e){Wn(e)}}function Ma(e){var t=Ea(e);Oa[t]&&clearTimeout(Oa[t]),Oa[t]=window.setTimeout((function(){if(Ua[t]){var n=Nn((zn()-Ua[t].timeOnScreen)/1e3);if(e.timeOnScreen=n,n>=60)return void(Ta[t]&&(Ta[t]=0))}Ta[t]++,ka("in-screen",Ca(),e),Ma(e)}),1e3*ba(Ta[t]))}function Na(e){try{if(e.slot){var t=Aa(e.slot),n=Ea(t);Ua[n]||(Ua[n]={adId:t.adId,bnId:t.bnId,pId:t.pId}),Ta[n]=0,Ua[n].timeOnScreen=zn()-1e3,Kn(e.slot.getOutOfPage)&&e.slot.getOutOfPage()&&(La()||ka("imp",Ca(),t)),Ma(t)}else Vn("== ARI Event slot is undefined",e)}catch(e){Wn(e)}}function ja(e){try{if(e.slot){var t=Ea(Aa(e.slot));e.inViewPercentage<1&&(Oa[t]&&clearTimeout(Oa[t]),Ta[t]&&(Ta[t]=0))}else Vn("== ARI Event slot is undefined",e)}catch(e){Wn(e)}}function Xa(e){try{if(er(e)&&Jn(e.data)){var t=ni(e.data);"click"===t.gptEvent&&Jn(t.gptParams)&&!La()&&ka("click",Ca(),Yi.parse(t.gptParams))}}catch(e){Wn(e)}}function Ha(){return a._eventsCache=[],window.googletag=window.googletag||{cmd:[]},window.googletag.cmd.push((function(){var e=window.googletag.pubads();e.addEventListener("slotRenderEnded",Da),e.addEventListener("impressionViewable",Na),e.addEventListener("slotVisibilityChanged",ja),Qi(window,"message",Xa)})),window.OBREvents=window.OBREvents||[],window.OBREvents.push({name:"rendered",widgetId:"all",callback:function(e){var t=e.servedWidgetId||e.widgetId,n=Pa("outbrain",t);setTimeout((function(){Ra[n]||ka("wid",Ca(),{adPlatform:"outbrain",pId:t})}),10)}}),window.OBREvents.push({name:"norecs",widgetId:"all",callback:function(e){var t=e.servedWidgetId||e.widgetId,n=Pa("outbrain",t);Ra[n]={adPlatform:"outbrain",pId:t}}}),window._taboola=window._taboola||[],window._taboola.push({listenTo:"render",handler:function(e){var t=function(e){var t=e.lastIndexOf("|"),n=t>-1?e.substring(t+1):"",r=wr(t>-1?e.substring(0,t):e);if(!(t>-1&&/injected/i.test(n)))return t>-1&&/card\s*\d+/i.test(n)?"Feed - "+r:r}(e.detail.placement);if(t){var n=Pa("taboola",t);Ra[n]||(Ra[n]={adPlatform:"taboola",pId:t},ka("wid",Ca(),Ra[n]))}}}),window.ntv=window.ntv||{},window.ntv.cmd=window.ntv.cmd||[],window.ntv.cmd.push((function(){window.ntv.events&&window.ntv.events.on("adRenderingComplete",(function(e,t){var n=t.adData.placementId,r=Pa("nativo",n);Ra[r]||(Ra[r]={adPlatform:"nativo",pId:n},ka("wid",Ca(),Ra[r]))}))})),function(){Bi(window,"message",Xa)}}function Wa(){try{for(var t,n=cr.keys(li);t=e.callQueue.shift();){var r=t[0];if(zi(li[r])&&or.some(n,(function(e){return r===e})))e._consentCallQueue.push(t);else try{if("prebid"===r)e._prebidCallQueue.push(t);else{var i=t.slice(1);("invoke"!==r||Kn(i[0])&&"cceFunction"!==i[0].name)&&(Hn()&&Fn(r,i),Vn("== callQueue: cX.library."+r,i)),e.library[r].apply(e.library,i)}}catch(e){Wn(e)}}}catch(e){Wn(e)}}function Va(t){var n=e.library.m_clientStorage.messageContexts[t.id];if(n){var r=Bn(t.value)?null:t.value;"OK"!==t.result?n.error&&n.error(t.result):n.success&&n.success(r),e.library.m_clientStorage.messageContexts[t.id]=void 0}}function Fa(){var t=e.library.m_clientStorage;t.iframeEl||(t.iframeEl=Zi(t.iframeOrigin+t.iframePath,(function(){var e;for(t.iframeIsLoaded=!0;e=t.messageQueue.shift();)try{t.iframeEl&&t.iframeEl.contentWindow&&t.iframeEl.contentWindow.postMessage(e,t.iframeOrigin)}catch(i){try{var n=ni(e);if(Jn(n.id)){var r=t.messageContexts[n.id];r.error&&r.error("PostMessageError: "+i)}}catch(e){Wn(e)}}})).send())}function za(t,n){var r=e.library.m_clientStorage;if(n&&(n.error||n.success)&&(t.id=hr(),r.messageContexts[t.id]=n),e.env.hasLocalStorage){Fa();var i=ri(t);r.iframeIsLoaded?r.iframeEl&&r.iframeEl.contentWindow&&r.iframeEl.contentWindow.postMessage(i,r.iframeOrigin):r.messageQueue.push(i)}else n&&n.error&&n.error("MissingPostMessageOrLocalStorage")}var qa,Qa,Ba={pv:[1,9,10],ad:[2,3,4,7,9],recs:[1,5,6,8],segment:[2,3,4,7,9]},Ya={},Ga={},$a=[412];function Ja(e){Vr(1),Ya=e}function Ka(e,t){for(var n={},r=1;r<=t;r++)Bn(e[r])?n[r]=!1:n[r]=e[r];return n}function Za(e,t,n){Kn(window.__tcfapi)?window.__tcfapi(e,2,t,n):br((function(){Za(e,t,n)}),10)}function ec(e){Za("addEventListener",(function(t,n){var r,i,o,a,c,s;if(n){if(t&&("tcloaded"===t.eventStatus||"useractioncomplete"===t.eventStatus)){if(!t.gdprApplies)return fi(!1),void(Kn(e)&&e(t,n));if(!or.some($a,(function(e){return t.vendor.consents[e]})))return _i(!1),void(Kn(e)&&e(t,n));var u=(r=t.publisher&&t.publisher.restrictions||{},i=t.purpose.consents,o=t.specialFeatureOptins,a=[],c=Ka(i,10),s=Ka(o,2),cr.forEach(Ba,(function(e,t){Ya[t]&&(e=Ya[t]),cr.forEach(r,(function(n,r){e.indexOf(Un(r,10))>=0&&!or.some($a,(function(e){return 0!==n[e]}))&&a.push(t)})),cr.forEach(c,(function(n,r){!n&&e.indexOf(Un(r,10))>-1&&a.push(t)}))})),s[1]||Ga.geo||a.push("geo"),s[2]||Ga.device||a.push("device"),a);gi({pv:!ir(u,"pv"),ad:!ir(u,"ad"),recs:!ir(u,"recs"),segment:!ir(u,"segment"),device:!ir(u,"device"),geo:!ir(u,"geo")},{runCallQueue:!0}),Kn(e)&&e(t,n)}}else Kn(e)&&e({},n)}))}function tc(){Vr(0),fi(2),ec()}function nc(t,n){kn.init(er(n)?n:void 0),t._consent=function(){var t=Pi(dr(dr({},Ni),ji)),n=Ei(dr(dr({},Ni),Xi)),r=Ui(dr(dr({},Ni),Hi)),i=Ti(dr(dr({},Ni),Wi));return kn.addChangeListener("consent",(function(t){if(!Yn(t)&&t.DMP){var n=e.library._consent.cookie.check("gckp");Yn(n)||n.allowed||e.callQueue.push(["_clearThirdPartyIds"])}})),{cookie:t,localStorage:n,sessionStorage:r,events:i}}()}function rc(){Bi(document,"visibilitychange",Po,!0),Bi(window,"pagehide",Eo,!0)}function ic(){try{rc(),zi("pv")&&(Qi(document,"visibilitychange",Po,!0),Qi(window,"pagehide",Eo,!0))}catch(e){Wn(e)}}function oc(t){var n,r,i,o=e.options||{},a=t?"":e.library.m_referrer;dr(e.library,{clearIdUrl:(n=o.makeUrlEndpoint||Jr)("event","public/clearid"),eventReceiverBaseUrlGif:n("event","Repo/rep.gif"),clearBaseUrl:n("cdn","sclear.html"),cxenseUserIdUrl:n("id","public/user/id"),dmpPushUrl:n("event","dmp/push?callback={{callback}}"),activityPushUrl:n("event","activity/push"),userSegmentUrl:n("api","profile/user/segment?callback={{callback}}"),segmentLookupUrl:n("api","segment/lookup?callback={{callback}}"),cookieSyncUrl:n("csyn",""),cookieSyncRUrl:n("csynR",""),publicWidgetDataUrl:n("api","public/widget/data"),emptyWidgetUrl:n("","empty.html"),statsCollectorUrl:n("stats","cr-stats/event"),backends:{production:{baseAdDeliveryUrl:"http://adserver.cxad.cxense.com/adserver/search",secureBaseAdDeliveryUrl:"https://s-adserver.cxad.cxense.com/adserver/search"},sandbox:{baseAdDeliveryUrl:"http://adserver.sandbox.cxad.cxense.com/adserver/search",secureBaseAdDeliveryUrl:"https://s-adserver.sandbox.cxad.cxense.com/adserver/search"}},cdn:{template:{direct:{http:"http://cdn.cxpublic.com/",https:"https://cdn.cxpublic.com/"},mapped:{http:"http://cdn-templates.cxpublic.com/",https:"https://cdn-templates.cxpublic.com/"},name:"generic_v1.html"}},csdUrls:{domainScriptUrl:"//csd.cxpublic.com/d/",customerScriptUrl:"//csd.cxpublic.com/t/"}}),dr(e,{env:{nodeEnv:"production",canSetSameSite:Xr(),isSafari:Rr(),isFirefox:Lr(),isSecureProtocol:Hr(),hasHistory:!0,hasLocalStorage:Mr(),hasSessionStorage:Nr()}}),o.dataLayer&&o.dataLayer.cookie&&(o.dataLayer.cookieDefault=o.dataLayer.cookie,delete o.dataLayer.cookie),nc(e.library,o.dataLayer),t||(Eo(),kn.set("referrer",a),kn.refresh()),function(t,n,r,i,o,a,c){t.m_logs=[],t.m_isNewUser=o,t.m_rnd=t.m_rnd||r,t.m_siteId=t.m_siteId||"0",t.m_accountId=t.m_accountId||"0",t.m_customParameters=[],t.m_rawCustomParameters={},t.m_atfr=null,t.m_isSpaRecsDestination=!!t.m_isSpaRecsDestination,t.m_spaRecsClickUrl=Jn(t.m_spaRecsClickUrl)?t.m_spaRecsClickUrl:null,t.m_clientStorage={messageContexts:{},messageQueue:[],iframeEl:null,iframeIsLoaded:!1,iframeOrigin:"https://clientstorage.cxense.com",iframePath:"/clientstorage_v2.html"},t.m_timerIds=[],t.m_useCases=0,t.m_widgetSpecs={},t.m_previousPageViewReport=null,t.m_previousSegmentReport=[],t.m_scriptStartTime=i,t.m_activityState={parentMetrics:void 0,prevActivityTime:i,prevTime:i,exitLink:"",activeTime:0,prevScreenX:0,prevScreenY:0,maxViewLeft:0,maxViewTop:0,prevScrollLeft:0,prevScrollTop:0,currScrollLeft:0,currScrollTop:0,prevWindowWidth:0,prevWindowHeight:0,scrollDepthPercentage:0,scrollDepthPixels:0,pvLatency:0},t.m_externalUserIds=[],t.m_usesSecureCookies=nr(n.secureCookies),t.m_usesConsent=!!n.consent,t.m_consentVersion=n.consentVersion?n.consentVersion:1,t.m_consentParameters={},t.m_hasSetConsent=a,t.m_noConsentCache=!!n.noConsentCache,t.m_referrer=c;var s=e.env.isSafari||e.env.isFirefox;t.m_thirdPartyIds="edgeid"===n.thirdPartyIds&&(!s||"edgeid"),t.m_thirdPartyIds&&Vr(3),t.m_maxCookieExpires=n.maxCookieExpires||Gr,t.shouldPoll=Gn(e.shouldPoll)?e.shouldPoll:nr(n.shouldPoll),t.m_activityEvents=!!t.shouldPoll&&nr(n.activityEvents)}(e.library,o,kn.get("pageViewId"),zn(),!to(!1),!!Kr("cX_cons"),kn.get("referrer")),t||Vr(8),go(kn.get("userStatus")),kn.addChangeListener("userStatus",(function(e){go(e)})),Kn(o.makeUrlEndpoint)&&Vr(9),o.tcf20Restrictions&&Ja(o.tcf20Restrictions),o.tcf20SpecialFeatures&&(r=o.tcf20SpecialFeatures,Vr(1),Ga=r),o.tcf20Vendors&&(i=o.tcf20Vendors,Vr(1),$a=i),o.tcf20&&tc();var c=Kr("cX_atfr");e.library.m_atfr=Go(c),ei("cX_atfr");try{var s=Yn(e.library.m_spaRecsClickUrl)?{}:ni(e.library.m_spaRecsClickUrl.split("?")[1]||""),u=ai(),l=vr(u,oi(),s),d={},f="edge_id",p="newUser",v="ref";if("edgeid"===e.library.m_thirdPartyIds&&u&&u[f]){var m=[f];no(u[f]),u[v]&&(kn.set("referrer",u[v]),m.push(v)),u[p]&&(e.library.m_isNewUser="false"!==u[p],m.push(p)),window.history.replaceState({},"",function(e,t){var n=[];n=Zn(t)?t:[t];var r=e;return or.forEach(n,(function(e){var t=new RegExp("([?&])"+e+"=.*?(&|$)","i");"&"!==(r=r.replace(t,(function(e,t,n){return"?"===t?t:n}))).slice(-1)&&"?"!==r.slice(-1)||(r=r.slice(0,-1))})),r}(window.location.href,m))}cr.forEach(l,(function(e,t){var n=""+t;0===n.indexOf("cx_")&&(d[n.slice(3)]=e)})),vo(d)}catch(e){Wn(e)}e.library.m_isSpaRecsDestination=!!e.library.m_spaRecsClickUrl,e.library.m_spaRecsClickUrl=null,ic(),function(t){t.siteId&&Fr(t.siteId),(t.customParameters||t.externalIds)&&(t.pageView=!0),t.customEventAttributes&&Ao(t.customEventAttributes),"0"===zr()||Bn(e.callQueue)||(t.customParameters&&e.callQueue.push(["setCustomParameters",t.customParameters]),t.externalIds&&or.forEach(t.externalIds,(function(t){e.callQueue.push(["addExternalId",t])})),t.pageView&&e.callQueue.push(["sendPageViewEvent",er(t.pageView)?t.pageView:{}]),t.cookieSyncs&&or.forEach(t.cookieSyncs,(function(t){e.callQueue.push(["sync",t])})),t.segments&&or.forEach(t.segments,(function(t){e.callQueue.push(["getUserSegmentIds",t])})))}(o)}function ac(t){try{if(er(t)&&Jn(t.data)){var n=ni(t.data);Bn(n.elementId)||"updateAdSpace"!==n.method?"updateParentMetrics"===n.method?ga(n):"clientStorageResult"===n.method&&t.origin===e.library.m_clientStorage.iframeOrigin&&(Vr(2),Va(n)):Ro(n)}}catch(e){Wn(e)}}function cc(){var e=_r(ha,100);Qi(window,"message",ac),Qi(window,"scroll",e,!0),Qi(document,"keypress",ia),Qi(document,"keydown",ia),Qi(document,"keyup",ia),Qi(document,"mousedown",ua,!0),Qi(document,"mousemove",oa)}function sc(){if(da()){try{va()}catch(e){Wn(e)}clearTimeout(qa),qa=br(sc,500)}}function uc(){if(la()){try{ma()}catch(e){Wn(e)}clearTimeout(Qa),Qa=br(uc,500)}}function lc(){clearTimeout(Qa),clearTimeout(qa)}function dc(){zi("pv")||(lc(),la()&&br(uc,200),da()&&br(sc,200))}function fc(){cr.some(mi(),(function(e){return e}))||ei("cX_cons")}function pc(t){Vr(6),e.callQueue.push(["invoke",function(){a.statsCollectorUrl=e.library.statsCollectorUrl,a.suspendEvents=!wa(),a.mode=t,Ha(),a.suspendEvents&&function e(){wa()?(cr.forEach(a._eventsCache,(function(e){_a(e[0],e[1],e[2],Ia(),Sa(),xa())})),a.suspendEvents=!1,a._eventsCache=[]):br((function(){e()}),50)}()}])}function vc(e,t){return e.source===window.parent&&e.origin!==window.location.origin&&e.data&&"amp"===e.data.sentinel&&e.data.type===t}function mc(e){return function(t){vc(t,"intersection")&&or.forEach(t.data.changes,(function(t){!function(e,t){var n=zn(),r=$o(),i=n-r.prevTime;r.prevTime=n;var o=Uo(e),a=Ln(100*t);pa(o,a,i,(function(){a>o.visible.maxPercent&&(o.visible.maxPercent=a)}))}(e,t.intersectionRatio)}))}}var hc="0037",gc=["219","220","221","223","224",hc,"226","222"];function yc(e,t){var n="";return n+='\n',n+='\n',n+="\n"}function wc(e,t){var n="";n+='\n',n+=''+Bo(t.creative.title)+"\n",n+='\n';for(var r=0;r"+Bo(t.creative.content[r])+"
\n";return n+="\n",t.creative.displayUrl&&(n+=''+Bo(t.creative.displayUrl)+"\n"),n+="
\n"}function bc(e,t){var n=t.creative.spec.width,r=t.creative.spec.height,i=Pn(t.clickUrl),o=t.creative.source+(t.creative.source.indexOf("?")>-1?"&":"?")+"clickTAG="+i+"&clickTag="+i+"&clicktag="+i+"&clickTARGET=_blank",a="cXFlashObj"+hr(),c=t.creative.imageSource;return'
\n\n \n \n \n \x3c!--[if !IE]>--\x3e\n \n \n \n \n \x3c!--\n'+(c?' Flash ad\n':"")+" \n \x3c!--[if !IE]>--\x3e\n \n \x3c!--\n\n"}function _c(e,t){var n="";n+='\n',n+=''+Bo(t.creative.title)+"\n",n+='\n';for(var r=0;r"+Bo(t.creative.content[r].value)+"
\n"}n+="\n",t.creative.displayUrl&&(n+=''+Bo(t.creative.displayUrl)+"\n");for(var i=0;i\n'}for(var a=0;a',br((n=a,r=t.creative.thirdPartyAdCode,i=r,function(){var e=An(n),t=e.contentDocument||e.contentWindow.document;t.open(),t.write("\n"),t.write("\n"),t.write("\n\n"),t.write('\n'),t.write('\n\n'),t.write(i+"\n\n\n")}),1),o}function Sc(e){Kn(window.__tcfapi)?Za("addEventListener",(function(t,n){n&&("tcloaded"!==t.eventStatus&&"useractioncomplete"!==t.eventStatus||(e(t),t.listenerId&&Za("removeEventListener",yr,t.listenerId)))})):e()}function xc(e){var t=ro();t?e(Pn(t)):br((function(){xc(e)}),1e3)}var kc="cX_partner";function Cc(e){if(e){var t=e.tcString;return"gdpr="+(e.gdprApplies?1:0)+"&gdpr_consent="+t}return"gdpr=0&gdpr_consent="}var Ac=function(e){var t,n,r,i={},o=e||[],a=Kr("cX_segmentInfo");try{Yn(a)||or.forEach(a.split("/"),(function(e){var a=e.split("_");a&&3===a.length&&(t=a[0],n=Un(a[1]||"0",10),r=a[2]?a[2].split("."):o,i[t]={requestTime:n,segmentIds:r})}))}catch(e){Wn(e)}return i},Ec=function(t){var n=[];cr.forEach(t,(function(e,t){n.push({persistedQueryId:t,requestTime:e.requestTime,segmentIds:e.segmentIds})})),n.sort((function(e,t){return t.requestTime-e.requestTime}));for(var r,i=[],o=0;o<5&&os-u)return Kn(t.callback)&&t.callback(c),c;if(e.library.m_previousSegmentReport.push(Pc(t.persistedQueryId,n)),Number.isNaN(a)||as||Zn(c)&&0===c.length){if(o.requestTime=s,Ec(i),(n=n||{}).identities=n.identities||[],!or.some(n.identities,(function(e){return"cx"===e.type}))){var l=to();Yn(l)||n.identities.push({id:l,type:"cx"})}Ji(e.library.userSegmentUrl+"&"+ri({persisted:t.persistedQueryId,json:Yi.stringify(n)}),(function(e){var n=e&&e.response&&e.response.segments;Zn(n)&&!tr(n)&&(c=n,((i=Ac(r))[t.persistedQueryId]||{}).segmentIds=n,Ec(i)),Kn(t.callback)&&t.callback(c||r)}),{synchronous:t.synchronous,timeout:t.timeout})}else Kn(t.callback)&&br((function(){Kn(t.callback)&&t.callback(c)}),1);return c},getSegments:function(t,n,r){var i=er(t)?t.persistedQueryId:t,o=er(t)?t.callback:Kn(n)?n:yr;if(r=er(t)?t.timeout:r,!Jn(i)||i.length<5)throw new Error("A valid persistedQueryId is required");var a=e.library.segmentLookupUrl;if(n=er(n)&&!Kn(n)?n:{},zi("segment"))delete n.identities,n.identity=null;else{var c=to();n.identities?Yn(c)||or.some(n.identities,(function(e){return"cx"===e.type}))||n.identities.push({id:c,type:"cx"}):n.identity||(n.identity={id:c,type:"cx"})}n.context||(n.context={siteId:zr(),url:window.location.href}),Ji(a+="&"+ri({persisted:i,json:Yi.stringify(n)}),(function(e){var t=e&&e.response&&e.response.segments;o(t||[])}),{timeout:r})},getTimezoneOffset:Qn,_canSetSameSite:Xr,setCookie:Oi,getCookie:Ri,deleteCookie:Li,getTopLevelDomain:Mi,_renderTemplate:Fo,renderTemplate:zo,isTextNode:No,getNodeValue:jo,setNodeValue:Xo,loadScript:Or,jsonpRequest:Ji,getAllText:function e(t){var n="";return Jn(t)?t:(cr.forEach(t,(function(t){Jn(t)?n+=t:er(t)&&(n+=e(t))})),n)},createDelegate:function(e,t){var n=On.call(arguments,2);return function(){return t.apply(e,tr(n)?arguments:On.call(arguments,0).concat(n))}},combineKeywordsIntoArray:Tr,combineArgs:vr,trim:wr,parseMargins:Mo,getHashFragment:ii,parseHashArgs:oi,parseUrlArgs:ai,_filterHashArgs:Do,sendSpaRecsClick:function(t,n){e.library.m_spaRecsClickUrl=t.replace(/\/widget\/click\/(image\/)?/,"/widget/click/image/"),Ki(e.library.m_spaRecsClickUrl,n,n)},clickTracker:function(e,t,n){function r(){t.href=e,n&&n()}var i="cXLinkId"+hr();return e&&br((function(){t||(t=An(i)),t&&(Qi(t,"mousedown",(function(e){0!==e.button&&1!==e.button||r()})),"ontouchstart"in window&&Qi(t,"touchstart",r,{passive:!0}))}),1),i},renderContainedImage:function(e){var t=(e.image.dimensions||e.image.width+"x"+e.image.height).split("x"),n=Un(t[0],10),r=Un(t[1],10),i=n/r,o=e.container.width/e.container.height,a=e.container.width/n,c=e.container.height/r,s="zoom"===(e.tooWideStrategy||"zoom")?c:a;ie.container.width?$n(e.tooWideFocusPoint)?e.tooWideFocusPoint:.5:{left:0,center:.5,right:1}[e.horizontalAlign||"left"],f=l>e.container.height?$n(e.tooTallFocusPoint)?e.tooTallFocusPoint:0:{top:0,middle:.5,bottom:1}[e.verticalAlign||"top"];return"\n"},_randomString:hr,_tempStore:Bo,_domMatches:function(e,t){return Element.prototype.matches.call(e,t)},_domClosest:function(e,t){return Element.prototype.closest.call(e,t)},addEventListener:Qi,removeEventListener:Bi,decodeUrlEncodedNameValuePairs:ni,_encodeUrlEncodedNameValuePairs:ri,postMessageToParent:Pr,_sendMessageToChild:Ur,_handlePostMessage:ac,_updateParentMetrics:ga,_updateWidget:Ro,calculateAdSpaceSize:Oo,insertWidget:function t(n,r){if(Vr(7),!vi()||e.library.m_hasSetConsent)return"auto"===(n=n||{}).renderTemplateUrl&&(n.renderTemplateUrl=(e.env.isSecureProtocol?e.library.cdn.template.direct.https:e.library.cdn.template.direct.http)+e.library.cdn.template.name),_o(n.renderTemplateUrl)&&!e.env.hasHistory&&(n.renderTemplateUrl+="?ref="+Pn(window.location.href)),Bn(n.forwardHashArgs)&&!Er()&&ir(window.location.hash,"parentElementId")&&(n.forwardHashArgs=!0),n.resizeToContentSize=nr(n.resizeToContentSize),qo(n,r);br((function(){t(n,r)}),60)},_insertWidget:qo,insertAdSpace:Qo,insertMultipleAdSpaces:function(t,n){if(!zi("ad")){var r,i,o=[],a="cXMaster"+Xn(),c=!1;or.forEach(t,(function(e){e&&(Jn(e.adSpaceId)&&o.push(e.adSpaceId),(Jn(e.renderTemplateUrl)||!0===e.useMappedRenderTemplate)&&(c=!0),r=r||e.targetElementId||e.appendToElementId||e.insertBeforeElementId)})),i=vr(n,i={adSpaceIds:o,masterOnLoadHandler:function(){or.forEach(t,(function(e){e.isSlave=!0,e.masterId=a,er(n)&&(e.backend=n.backend,e.baseAdDeliveryUrl=n.baseAdDeliveryUrl,e.secureBaseAdDeliveryUrl=n.secureBaseAdDeliveryUrl),Qo(e)}))},masterId:a,masterTargetElementId:r}),c&&(i.renderTemplateUrl=e.library.cdn.template.direct.http+"master-data-template.html"),Qo(i)}},trackElement:Yo,_isAmpMessage:vc,isAmpIFrame:function(){return ir(window.location.hash,"amp=1")},trackAmpIFrame:function(e){if(!Er()){var t=e.elementId||"amp-iframe-widget";Yo(dr({elementId:t},e)),window.parent.postMessage({sentinel:"amp",type:"send-intersections"},"*"),Qi(window,"message",mc(t))}},getElementPosition:xr,getWindowSize:kr,getDocumentSize:Cr,getScrollPos:na,_onHIDEvent:ia,_onMouseMoveEvent:oa,_onClickEvent:ua,reportActivity:ra,requireActivityEvents:ta,shouldPollActivity:function(t){e.shouldPoll=t,e.library.shouldPoll=t},_shouldPollActivity:la,_onPollActiveTime:va,_onPollActivity:ma,_writeAtfr:sa,setupPolling:dc,stopPolling:lc,cint:function(t,n){if(Vr(5),!e.env.isFirefox&&!e.env.isSafari&&ir(gc,t)&&!zi("segment")&&"1"!==Kr("cX_cintSet")&&Yn(Ri("cbcdfp"))){var r,i,o=to();return t===hc?(r="evid_",t=Bn(n)?"502520002":Pn(n)):r="cxense_",Ki(i="https://c.cintnetworks.com/?a=2495&ip&i="+t+"&id="+(r+t+":"+Pn(o))),Zr("cX_cintSet","1",Mn($r,e.library.m_maxCookieExpires)),i}},prebid:yr,sync:function(){Vr(4),zi("ad")||or.forEach(On.call(arguments),(function(t){var n,r,i,o="";if(er(t)){if((n=t).partner&&n.customerId)t=n.partner,r=n.customerId;else{if(!n.partner||!n.userId)return;t=n.partner,i=n.userId}n.params&&or.forEach(n.params,(function(e){o+="&"+e.key+"="+e.value}))}if("idf"!==t)try{var a=function(e){var t,n=Gi(kc);if(Yn(n)||Bn(n))n=e+"=1",t=1;else if(ir(n,e)){var r=n.split(","),i=[];or.forEach(r,(function(n){n.slice(0,n.indexOf("="))===e&&(t=Un(n.slice(e.length+1),10)+1,n=e+"="+t),i.push(n)})),n=i.join()}else n=n+","+e+"=1",t=1;return $i(kc,n),t}(t);if(Bn(a)||a>2)return}catch(e){Wn(e)}var c=zr(),s={pubmatic:function(){Zi("https://ads.pubmatic.com/AdServer/js/user_sync.html?p="+r+"&predirect="+Pn(e.library.cookieSyncUrl+"pcs.gif?cxsite="+c+"&userId=")).send()},bla:function(){Ki("https://aid.send.microad.jp/asr?v=1&code=dY-5ZLLSddc&format=pixel")},smart:function(t){Sc((function(n){Ki("https://sync.smartadserver.com/getuid?"+Cc(n)+"&url="+Pn(e.library.cookieSyncUrl+"smt.png?cxsite="+c+"&userId=[sas_uid]&cxckp="+t))}))},simpli:function(){Sc((function(e){Ki("https://um.simpli.fi/cxense?"+Cc(e))}))},xl8:function(){Ki("https://loadm.exelator.com/load/?p=204&g=820&j=0")},neu:function(){Ki("https://aa.agkn.com/adscores/g.pixel?sid=9212271498")},p161:function(t){Sc((function(n){Ki("https://ads.creative-serving.com/cm?"+Cc(n)+"&redir="+Pn(e.library.cookieSyncUrl+"pfm.png?cxsite="+c+"&uuid=${UUID}&cxckp="+t))}))},liveramp:function(e){Ki("https://idsync.rlcdn.com/421746.gif?partner_uid="+e)},liveramp2:function(){Ki(e.library.cookieSyncRUrl+"?cxsite="+c+"&partnerId=lr2")},adform:function(t){Ki(e.library.cookieSyncRUrl+"?cxsite="+c+"&partnerId=csr&cxckp="+t)},ddp:function(e){Sc((function(t){Ki("https://cm.g.doubleclick.net/pixel?google_nid=cxense_ddp&google_cm&"+Cc(t)+"&cxckp="+e+"&cxsite="+c)}))},kccs:function(){Ki("https://kcxcs.deqwas.net/DmpSyncService/Sync.aspx")},scaleout:function(){Ki("https://tg.socdm.com/aux/idsync?proto=cxense")},aone:function(t){Ki("https://aw.dw.impact-ad.jp/c/u/?oid="+r+"&rdr="+Pn(e.library.cookieSyncUrl+"aon.png?customerId="+r+"&uid={AONEID}&cxckp="+t))},frk:function(){Ki("https://sync.dmp.fout.jp/serve/?id=13336&mt=213")},appnexus:function(t){Sc((function(n){Ki("https://secure.adnxs.com/getuid?"+Pn(e.library.cookieSyncUrl+"apn.png?cxsite="+c+"&uid=$UID&cxckp="+t)+"&"+Cc(n))}))},aam:function(t){Ki("https://dpm.demdex.net/ibs:redir="+Pn(e.library.cookieSyncUrl+"aam.png?cxsite="+c+"&userId=${DD_UUID}&cxckp="+t))},xro:function(){Ki("https://dex.advg.jp/dx/p/sync?_aid=111&_page=2257")},pdx:function(t){Ki("https://tags.bluekai.com/site/48528?redir="+Pn(e.library.cookieSyncUrl+"pdx.png?cxsite="+c+"&userId=$_BK_UUID&cxckp="+t))},frw:function(){Ki("https://ads.stickyadstv.com/data-registering?dataProviderId=1233&redirectId=1617")},adition:function(t){Sc((function(n){Ki("https://dsp.adfarm1.adition.com/cookie/?"+Cc(n)+"&redirect="+Pn(e.library.cookieSyncUrl+"sia.png?cxsite="+c+"&userId=%%COOKIE%%&cxckp="+t))}))},imdigital:function(t){Ki("https://ad.360yield.com/ux?publisher_id="+r+"&publisher_dmp_id=5&r="+Pn(e.library.cookieSyncUrl+"coo.png?cxsite="+c+"&userId={PUB_USER_ID}&cxckp="+t))},admatrix:function(t){Ki(e.library.cookieSyncRUrl+"?cxsite="+c+"&partnerId=adm&redir="+Pn("https://relay-dsp.t-ad-m.asia/dmp/sync/bizmatrix/async?pid=")+r+"%26uid%3D"+t)},rub:function(t){Sc((function(n){Ki(e.library.cookieSyncRUrl+"?"+Cc(n)+"&cxsite="+c+"&partnerId=rub&cxckp="+t)}))},spx:function(t){Sc((function(n){Ki("https://sync.search.spotxchange.com/audience_sync/19?"+Cc(n)+"&redir="+Pn(e.library.cookieSyncUrl+"spx.png?cxsite="+c+"&uuid=$SPOTX_AUDIENCE_ID&cxckp="+t))}))},lgd:function(){Ki("https://cr-p10350.ladsp.com/pid/10350")},imi:function(){Ki("https://sync.im-apps.net/imid/redirect?cid="+r+"&tid="+n.testId+o)},ttd:function(){Ki("https://match.adsrvr.org/track/cmf/generic?ttd_pid="+r+"&ttd_tpi=1")},test:function(){Ki("https://csyn-r-stage.cxense.com/?partnerId=test&redir="+Pn("https://csyn-stage.cxense.com/test.gif?userId=${UUID}"))},tdi:function(){Ki("https://in.treasuredata.com/postback/v3/event/datacurrent_pianojapan/cxense_rd?td_global_id=td_global_id&td_write_key=8487/8f9ae55cc2626e48d85a6e19cdf9c9030a75f3ac&td_redirect="+Pn(e.library.cookieSyncUrl+"tdi.png?td_global_id=td_global_id"))},smc:function(){Ki("https://sync.sxp.smartclip.net/sync?type=red&dsp=93")},ntv:function(){Sc((function(t){Ki("https://jadserve.postrelease.com/dmp/19?"+Cc(t)+"&ntv_r="+Pn(e.library.cookieSyncUrl+"ntv.png?userId=NTV_USER_ID"))}))},idf:function(t){Ki(e.library.cookieSyncUrl+"idf.png?cxsite="+c+"&userId="+i+"&cxckp="+t)},fid:function(t){Ki(e.library.cookieSyncUrl+"fid.png?cxsite="+c+"&userId="+i+"&cxckp="+t)},uvt:function(t){Ki(e.library.cookieSyncUrl+"uvt.png?cxsite="+c+"&userId="+i+"&cxckp="+t)},int:function(t){Ki(e.library.cookieSyncUrl+"int.png?id="+i+"&cxckp="+t)}}[t];Bn(s)||xc(s)}))},decrypt:function(t,n){zi("pv")||Ji(e.library.cookieSyncUrl+("idf"===t.provider||Bn(t.provider)?"id5":"")+"-decrypt?callback={{callback}}&"+ri({persisted:t.persistedQueryId,json:Yi.stringify(n)}),(function(e){Jn(e.response)&&t.callback(e.response.replace(/"/g,""))}))},_syncWithGlobalId:xc,invoke:function(e){e.apply(window,On.call(arguments,1))},_throttle:_r,_handleScroll:ha,_registerEventListeners:cc,_setLocalStorage:Zr,_expireLocalStorage:ti,getClientStorageVariable:function(e,t,n){return za({method:"clientStorageGet",namespace:e,name:t},n)},setClientStorageVariable:function(e,t,n,r){var i={method:"clientStorageSet",namespace:e,name:t,value:""+n};return r&&r.allow&&(i.allow=r.allow),r&&r.deny&&(i.deny=r.deny),za(i,r)},removeClientStorageVariable:function(e,t,n){return za({method:"clientStorageRemove",namespace:e,name:t},n)},_initClientStorageIFrame:Fa,_sendClientStorageMessage:za,_handleClientStorage:Va,_processLocalStats:yr,startLocalStats:yr,getLocalStats:function(){return{prevSessionStartTime:new Date,currSessionStartTime:new Date}},_defaultImageCreativeRenderer:yc,_defaultTextCreativeRenderer:wc,_defaultFlashCreativeRenderer:bc,_defaultComboCreativeRenderer:_c,_defaultThirdPartyCreativeRenderer:Ic,defaultAdRenderer:function(e,t){var n="",r=t.creative.type;return ir(r,"ImageCreativeFeature")?n+=yc(0,t):ir(r,"TextCreativeFeature")?n+=wc(e,t):ir(r,"FlashCreativeFeature")?n+=bc(0,t):ir(r,"ComboCreativeFeature")?n+=_c(0,t):ir(r,"ThirdPartyCreativeFeature")&&(n+=Ic(e,t)),n}};try{e.callQueue=e.callQueue||[],e._consentCallQueue=e._consentCallQueue||[],e._prebidCallQueue=e._prebidCallQueue||[],e.loaded||(e.library=Tc,Uc=function(){var t=e.options||{};oc(!0),fc(),ti(),ei("cX_lst"),ei("cX_clearId"),ei("cX_lastP1Time"),function(){br(Wa,25);var t=e.callQueue.push;e.callQueue.push=function(){return t.apply(this,On.call(arguments)),br(Wa,1),this.length}}(),e.library.m_activityEvents&&ta(),t.campaignReporting&&pc(t.campaignReporting),dc(),cc(),cr.forEach(e.library,(function(e,t){Kn(e)&&0!==t.indexOf("_")&&(Hn()?window.cX[t]=function(){return Fn(t,Array.prototype.slice.apply(arguments)),e.apply(null,arguments)}:window.cX[t]=e)})),e.consent=e.library.consent,e.JSON=e.library.JSON,e.Array=e.library.Array,e.Object=e.library.Object,e.version="3.5.3",!_o(window.location.href)||!ir(""+window.location.href,"widgetId")&&ir(""+window.location.href,"asId=")||window.history.replaceState({},"",ci(window.location.href,"ref",kn.get("referrer")||""))},document.prerendering?document.addEventListener("prerenderingchange",Uc,{once:!0}):Uc()),e.loaded=!0}catch(e){Wn(e)}}();