!function(){var a=function(b,c,e,f,g){"Copyright © 2013-2019 Confiant Inc. All rights reserved.";function h(){var a,b="undefined"!=typeof InstallTrigger,c=/constructor/i.test(window.HTMLElement)||function(a){return"[object SafariRemoteNotification]"===a.toString()}(!window.safari||"undefined"!=typeof safari&&safari.pushNotification),d=!(!window.chrome||!window.chrome.webstore&&!window.chrome.runtime);return c&&(a="safari"),b&&(a="firefox"),d&&(a="chrome"),a||(navigator.userAgent.indexOf("Safari")>-1&&(a="safari"),navigator.userAgent.indexOf("FireFox")>-1&&(a="firefox"),navigator.userAgent.indexOf("Chrome")>-1&&-1===navigator.userAgent.indexOf("Edge")&&(a="chrome")),a}function i(){return{chrome:"The current window does not have permission to navigate the target frame",firefox:"InvalidAccessError: A parameter or an operation is not supported by the underlying object",safari:"The operation is insecure."}}function j(){return/(d9\.flashtalking\.com\/)|(s0.2mdn\.net\/ads\/studio\/cached_libs\/modernizr)|(video)/}function k(a,b){return a.test(b)}function l(a){var b=a.error.stack||"",c=(a.error.toString()+b.toString()).substr(0,500).trim(),d=h(),e=new RegExp(i()[d],"gmi"),f=new RegExp(j(),"gmi");return k(e,a.message)&&!k(f,c)}function m(a,b){return!b.message||!b.error||!f}function n(a,b){var c={f:"write",h:"document",r:[{d:"",l:[{oi:1,ot:8,rs:1,isSb:1}]}]};a._complete_blocking("\x3c!-- Browser Detected: "+h()+" "+b+"--\x3e",c,0,0,!1,"")}function o(a){window.addEventListener("error",function(b){try{if(m(a,b)||!h())return;var c=b.error.stack||"",d=(b.error.toString()+c.toString()).substr(0,500).trim();l(b)&&n(a,d)}catch(a){}})}this.CONSTANTS={MATCHING_STYLE_1:1,MATCHING_STYLE_2:2,MATCHING_STYLE_3:3,MATCHING_STYLE_4:4},this.log_sample=void 0===b.ls||b.ls,this.rules=function(){return"string"==typeof b&&(b=JSON.parse(atob(b))),b&&b.m?b.m:[]}(),this.masterReset=!0,"rs"in b&&(this.masterReset=b.rs),this.frames=[],this.cajsPresent=!1,this.tagSource=c||"",this.trackers=["iframe","object","a"],this.hasBeenUndone=!1,this.adserverDomain="https://protected-by.clarium.io",this.submitEndpoint="/log",this.targetId=null,this.prefixedTpid=e&&""!==e?e:null,this.submitted=!1,this.doneWithSandbox=!1,this.version=b.v?b.v:0,this.window=window,this.replaceWithHTML=null,this.isSandboxedSafeframe,this.isDfpOnPageIntegration=!1,this.isForcedSandboxing=!1,this.inAppSuccessCallback=null,this.devMode=0,this.supportLandingPageBlocking=!1,this.isAst=!1,this.isIEorEdgeorFF=window.navigator.userAgent.match(/(Trident\/7.0)|(edge|Firefox)/i);var p=.005,q=!1;g&&(this.adserverDomain=g),this.wrapper=f,this.blockingData=null,this.do_undo=void 0===b.du||!!b.du,this.replace=void 0!==b.re?unescape(b.re):"",this.backupFunctions={},this.targetId=function(){return f&&f.uniqueHash&&f.uniqueHash.length>0?f.uniqueHash:e}(),this.dom={findings:[],parentHTML:"",getRootElement:function(a){return q?document.body:document.getElementById(a.targetId)},walkTheDOM:function(a,b){for(b(a),a=a.firstChild;a;)this.walkTheDOM(a,b),a=a.nextSibling;return this.parentHTML},traverseAd:function(a){if(a){var b=this;return this.parentHTML=a.outerHTML,this.walkTheDOM(a,function(a){if(1==a.nodeType){if(a.contentWindow)try{var c=a.contentWindow.document.getElementsByTagName("html")[0].innerHTML;b.parentHTML=b.parentHTML.replace(a.outerHTML,"<head></head><body></body>"==c?a.outerHTML:a.outerHTML.replace("</iframe>",c+"</iframe>"))}catch(a){}}else if(3===a.nodeType){a.data.trim()}})}}},this.getTopFrameParent=function(){var a=function(b,c){try{for(var d=b.contentWindow.document,e=d.getElementsByTagName("iframe"),f=0;f<e.length;f++){var g=e[f];if(g==c)return!0;if(a(g,c))return!0}return!1}catch(a){return!1}};try{if(frameElement){for(var b=window.top.document,c=b.getElementsByTagName("iframe"),d=0;d<c.length;d++){if(c[d]==frameElement)return c[d];if(a(c[d],frameElement))return c[d]}return!1}return!1}catch(a){return!1}},this.findContextForTpid=function(a,b){var c=function(b){var c=Object.keys(window[a]).length>0?Object.keys(window[a]):null;if(!c)return null;for(var d=0;d<c.length;d++)if("tpid"!=c[d])return c[d];return null},d=c(window[a]),e={};if(!d)throw new Error("Unable to find confiant context object. Please contact support@confiant.com.");return e=window[a][d],window[a][b]=e,e},this.creativeWrapper={init:function(a){var b=a.findContextForTpid(f.uniqueHash,f.tpIdentifier);b.u=1*new Date,a.tagSource=b.t,b.isE&&(a.tagSource=unescape(a.tagSource),a.isDfpOnPageIntegration=!0);var c=f.uniqueHash,d=function(){try{window.top.postMessage("cb"+c+btoa(JSON.stringify(Array.prototype.slice.call(arguments))),"*")}catch(a){window.parent.postMessage("cb"+c+btoa(JSON.stringify(Array.prototype.slice.call(arguments))),"*")}};"function"!=typeof b.cb&&(b.cb=null),a.cb=b.cb?b.cb:d,a.id=b.id?b.id:null,a.isSafeFrame=b.isSfrm,a.isSandboxedSafeframe=b.isSfrm&&b.isSb,a.isForcedSandboxing=b.isFSb,a.inAppSuccessCallback=b.successCallback,a.devMode=b.devMode||0,a.shouldSupportLandingPageBlocking=b.isAST||2==b.devMode,a.isAst=b.isAST}};var r=["cG0tbm90aWZpY2F0aW9ucy5jb20=","c3RvcmFnZS5nb29nbGVhcGlzLmNvbQ==","ZS1wbGFubmluZy5uZXQ=","Y29uZmlhbnRfdGVzdF8xMjMxMDE=","aW5kZXhPZg==","aW1nLnR1cm5jZG4uY29t"];!function(a,b){!function(b){for(;--b;)a.push(a.shift())}(++b)}(r,287);var s=function(a,b){a-=0;var c=r[a];void 0===s.initialized&&(!function(){var a;try{var b=Function('return (function() {}.constructor("return this")( ));');a=b()}catch(b){a=window}a.atob||(a.atob=function(a){for(var b,c,d=String(a).replace(/=+$/,""),e=0,f=0,g="";c=d.charAt(f++);~c&&(b=e%4?64*b+c:c,e++%4)?g+=String.fromCharCode(255&b>>(-2*e&6)):0)c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(c);return g})}(),s.base64DecodeUnicode=function(a){for(var b=atob(a),c=[],d=0,e=b.length;d<e;d++)c+="%"+("00"+b.charCodeAt(d).toString(16)).slice(-2);return decodeURIComponent(c)},s.data={},s.initialized=!![]);var d=s.data[a];return void 0===d?(c=s.base64DecodeUnicode(c),s.data[a]=c):c=d,c},t={},u=s("0x0"),v=s("0x1"),w=s("0x2"),x=s("0x3"),y=s("0x4");t[u]=.05,t[v]=.05,t[w]=.05,t[x]=.05,t[y]=1;var z=function(a){for(var b in t){var c=b;if(a[s("0x5")](c)>-1)return t[b]}return p};if(this.prebidIeAndEdgeFix=function(){try{var c=document,d=this;c.open=function(g){return function(h,i){var j,k,l;try{j=f.uniqueHash,k=f.tpIdentifier,l=d.findContextForTpid(j,k)}catch(a){}var m=g.call(this,h,i);try{if(delete c.write,delete c.open,j&&k&&l){l.t="\x3c!-- tag --\x3e";var n="var Caspr = "+a.toString()+";\n",o="new Caspr("+JSON.stringify(b)+', null, "'+e+'",{"uniqueHash":"'+j+'","tpIdentifier":"'+k+'"},"'+d.adserverDomain+'")';m.defaultView[j]={},m.defaultView[j].tpid=k,m.defaultView[j][k]=JSON.parse(JSON.stringify(l)),m.defaultView.eval(n),m.defaultView.eval(o)}}catch(a){}return m}}(document.open)}catch(a){}},this.init=function(){var a=this;!f||f&&!f.tpIdentifier||this.creativeWrapper.init(this),this.isIEorEdgeorFF&&this.prebidIeAndEdgeFix(),this.casprize(!1),this.tagSource&&(p=z(this.tagSource));try{var b=this.wrapper?this.wrapper.uniqueHash:this.targetId;q="grSCdeFNjRM2qJzjPar8-rG_Vro"===b||"mOinGM9MTu5v-Lto835XLhlrSPY"===b||"2"==this.devMode}catch(a){}var c;if(c=q?this.tagSource:"<div id='"+this.targetId+"' class='ad-container-"+this.targetId+"'>"+this.tagSource+"</div>",this.isSafeFrame){this.createPatchFunction(this.patchArguments[0],this.patchArguments[1],this.patchArguments[2])([this.tagSource],this.isSafeFrame)}else document.write(c);this.postAPIEvent("confiantSlotRenderEnded"),window.addEventListener("load",function(b){if(a.do_undo){if(window.Caspr=void 0,d=void 0,a.hasBeenUndone)return;a.casprize(!0),a.hasBeenUndone=!0}if(!a.submitted&&a.log_sample&&Math.random()<=p){var c=a.dom.traverseAd(a.dom.getRootElement(a)),e=a.tagSource;a.blockingData={html:c||null,ar:"",r:!1,oi:null,ot:null,tag:e,v:a.version},a.submitFindings()}})},this.setRules=function(a){this.rules="object"==typeof a?a:[a]},this.getRules=function(){return this.rules},this.submitFindings=function(a){if("undefined"!=typeof XMLHttpRequest&&!this.submitted){this.submitted=!0;var b=3==this.devMode,c=window.sf_||window.$sf?document.referrer:window.location.href,d={};d.u=c,this.blockingData&&(d.bd=this.blockingData),this.prefixedTpid&&(d.uh=this.prefixedTpid),d.id=this.id;var e=this.adserverDomain+this.submitEndpoint;try{var f=null;try{f=btoa(JSON.stringify(d))}catch(a){f=JSON.stringify(d)}if(!b)if(a){var g=btoa(JSON.stringify({sendUrl:e,payload:f,slotId:this.id,replaceWith:this.replaceWithHTML}));try{window.top.postMessage("comm"+this.targetId+g,"*")}catch(a){window.parent.postMessage("comm"+this.targetId+g,"*")}}else{var h=new XMLHttpRequest;h.onreadystatechange=function(){this.DONE;this.readyState},h.open("POST",e,!1),h.send(f)}d.bd.ot&&this.cb&&this.cb(d.bd.ot,d.bd.oi,this.blockingData.r,this.wrapper.uniqueHash,this.wrapper.tpIdentifier,this.id)}catch(a){}}},this.postAPIEvent=function(a){var b=(""+(new Date).getTime()).split("").reverse().join(""),c=0,d=btoa(Math.ceil(1e4*Math.random())+"cOmM"+b),e={propertyId:this.wrapper?this.wrapper.uniqueHash:this.targetId,tagId:this.wrapper?this.wrapper.tpIdentifier:"",impressionData:this.id},f=function(a){a.data&&a.data.id===d&&(c=100,window.removeEventListener("message",f))},g=function(b){c>=3||(window.top.postMessage({eventType:a,details:e,id:d},"*"),c++,b&&setTimeout(g,500))};window.addEventListener("message",f),g(this.isDfpOnPageIntegration)},this.casprize=function(a,b){b=b||this;var c=this;try{var d={},e=!1,f=!1,g="OX",h=/(adb.auction\()|(listenAdFromPrebid)|(listenForAdFromPrebid)|(AdGlare)|(sonobi.com)|(roimediaconsultants.com)|(adnxs\.com\/mediation)|(prebid-universal-creative)|(smartadserver.com)|(gumgum.com)|(adtelligent.com)/,i=c.tagSource||"";try{d=window.top,f=-1!==i.indexOf(g),e=!!(i.match(h)||d.rubicontag||d[g]),f=f||e&&!!d[g]}catch(a){}a||b.window!==window?a&&c.unpatchNode():(e&&c.patchNodeMethod("appendChild"),f&&c.patchNodeMethod("replaceChild"));for(var j=0;j<this.rules.length;j++){var k,l;if(a?(c.devMode,l=this.backupFunctions,k=b.window,this.doneWithSandbox=!0):(c.devMode,k=this.backupFunctions,l=b.window),void 0===this.rules[j].f&&(this.rules[j].f="write"),""!=this.rules[j].f){if(void 0===this.rules[j].h)this.rules[j].h="document";else if(""==this.rules[j].h)continue;if("window"!=this.rules[j].h?(a||k[this.rules[j].h]||(k[this.rules[j].h]={}),k[this.rules[j].h][this.rules[j].f]=l[this.rules[j].h][this.rules[j].f]):(a||k[this.rules[j].h]||(k[this.rules[j].h]={}),a?k[this.rules[j].f]=l[this.rules[j].h][this.rules[j].f]:k[this.rules[j].h][this.rules[j].f]=l[this.rules[j].f]),a)this.hasBeenUndone=!0;else if(this.patch(this.rules[j],j,b),("write"==this.rules[j].f||"writeln"==this.rules[j].f)&&"document"==this.rules[j].h){var m="write"==this.rules[j].f?"writeln":"write",n={r:this.rules[j].r,h:this.rules[j].h,f:m};a||k[this.rules[j].h]||(k[this.rules[j].h]={}),k[this.rules[j].h][m]=l[this.rules[j].h][m],this.patchArguments=[n,j,b],this.patch(n,j,b)}}}}catch(b){a||this.casprize(!0)}},this._complete_blocking=function(a,b,c,d,e,f){if(!b.r[c]||!b.r[c].l[d])return a;var g="",h=null;h=this.dom.getRootElement(this),g=this.dom.traverseAd(h),g=g+"\n\x3c!-- violation detected --\x3e\n"+a;var i=b.r[c].l[d],j=!1;return"rs"in i&&(j=i.rs),this.masterReset||(j=!1),this.blockingData={html:g||null,ar:f,r:j,oi:!!i.oi&&i.oi,ot:!!i.ot&&i.ot,tag:this.tagSource,v:this.version},"re"in i&&""!==i.re?this.replaceWithHTML=i.re:this.replaceWithHTML=this.replace,this.submitFindings(e),j&&!i.isSb&&(h&&h.remove&&!q&&h.remove(),this.casprize(!0),a=this.replaceWithHTML),{replaceWithHtml:a,shouldBlock:j}},this._is_match=function(a,b,c,d){if(!b)return!1;var e=this;a instanceof Array||(a=[a]);var f,g,h="",i=d?"[^a-zA-Z0-9-_]":"[^a-zA-Z0-9]",j=new RegExp(i),k=-1,l=-1,m=!1,n=function(a){var c=b.charAt(a);return""==c||j.test(c)},o=function(a,b){return!(!e.shouldSupportLandingPageBlocking||!d)&&(b-3>=0?"F"==a[b]&&"2"==a[b-1]&&"%"==a[b-2]:void 0)};if(c===this.CONSTANTS.MATCHING_STYLE_4){h=a[0];return new RegExp(h).test(b)}for(var p=0;p<a.length;p++){if(h=a[p],l=b.indexOf(h,k),m=l>-1,1==this.devMode)return!0;if(!m)return!1;if(f=l-1,g=l+h.length,c===this.CONSTANTS.MATCHING_STYLE_2?m=m&&(n(f)||o(b,f))&&n(g):c===this.CONSTANTS.MATCHING_STYLE_1&&(m=m&&n(g)),!m)return!1;k=g}return!0},this.patchNodeMethod=function(a){var b=this,c=Node.prototype[a];Node.prototype[a]=function(a){" [native code] ";var d=a.src||"";a&&"IFRAME"===a.tagName&&(d.indexOf("https://")<0&&d.indexOf("http://")<0||d.indexOf(window.location.hostname)>=0)&&!b.isIEorEdgeorFF&&(a.onload=function(c){try{a.contentWindow&&b.casprize(!1,a.contentWindow)}catch(a){}});var e=c.apply(this,arguments);try{a.contentDocument&&(a.contentDocument.open=function(c){return function(d,e){var f=c.call(this,d,e);try{b.isIEorEdgeorFF&&(delete a.contentDocument.write,delete a.contentDocument.open,b.casprize(!1,a.contentWindow))}catch(a){}try{var g=window.top.confiant;g&&g.services().onNestedFrameCreation&&g.services().onNestedFrameCreation(a)}catch(a){}return f}}(a.contentDocument.open))}catch(a){}return e},Node.__cspr__=Node.__cspr__||[],Node.__cspr__.push([a,c])},this.unpatchNode=function(){if(Node.__cspr__){for(var a=Node.__cspr__,b=a.length,c=0;c<b;c++)Node.prototype[a[c][0]]=a[c][1];delete Node.__cspr__}},this.createPatchFunction=function(a,b,c){var d=this;return function(b,e){" [native code] ";try{var f=function(a){var b=a.indexOf("//"),c=a.indexOf("/",b+2),d="";return b>-1&&(c<0&&(c=a.length),b+=2,d=a.substr(b,c-b)),d},g={},h=e?b:c.window[a.h][a.f].arguments,i="setTimeout"==a.f||"setInterval"==a.f||"onload"==a.f;if(!h||0===h.length)return;if(!i){for(var j=a.r,k=window.sf_||window.$sf?f(document.referrer):window.location.hostname,l=h[0],m=0;m<j.length&&!(l.length<10);m++){var n=d.CONSTANTS.MATCHING_STYLE_2;if(j[m].l&&j[m].l.length>0&&6===j[m].l[0].ot&&(n=d.CONSTANTS.MATCHING_STYLE_3,"r"===j[m].l[0].m&&(n=d.CONSTANTS.MATCHING_STYLE_4)),d._is_match(j[m].d,l,n,!0)&&!(k.indexOf(j[m].d)>=0)){for(var o=!1,p=0;p<j[m].l.length;p++){var q=j[m].l[p],r=q.s?q.s:[];if(h[0]&&"string"==typeof h[0]&&(0===r.length&&2!=q.ot||d._is_match(r,l,d.CONSTANTS.MATCHING_STYLE_1,!1))){g=d._complete_blocking(l,a,m,p,e,window[a.h][a.f].arguments),h[0]=g.replaceWithHtml,o=!0;break}}if(o)break}}e&&o&&g.shouldBlock?window.location.replace("about:blank"):e||d.backupFunctions[a.h][a.f].apply(this,h)}}catch(a){d.casprize(!0)}}},this.patch=function(a,b,c){c=c||this;var d=this;"window"==a.h&&(toPatch=c.window[a.f]),toPatch=d.createPatchFunction(a,b,c),"window"==a.h?c.window[a.f]=toPatch:c.window[a.h][a.f]=toPatch},this.getSandboxingCode=function(){var a=!1,b=window.sf_||window.$sf,c=-1,d=!1,e=void 0!==this.isSandboxedSafeframe;if(b&&e)a=this.isSandboxedSafeframe,d=!0;else if(b&&!e)return c;try{document.domain||null}catch(b){a=!0,d=!0}if(!a)try{if(null!=window.frameElement){var f=window.frameElement.getAttribute("sandbox");a=f&&f.length>0,d=!0}window.top.frames}catch(b){a=/(^|[\s\(\[@])sandbox(es|ed|ing|[\s\.,!\)\]@]|$)/.test(b.message.toLowerCase()),d=!0}return this.isForcedSandboxing?(c=4,d=!0):c=b?a?3:2:a?1:0,d?c:-1},function(a){o(a),a.init(),a.rules=a.getRules()}(this),f)try{window[f.uniqueHash][f.tpIdentifier].sb=this.getSandboxingCode(),3==this.devMode&&(window[f.uniqueHash][f.tpIdentifier].isPxlReq=!1)}catch(a){f&&window[f.uniqueHash]&&window[f.uniqueHash][f.tpIdentifier]&&(window[f.uniqueHash][f.tpIdentifier].sb=-1)}},b="",c={uniqueHash:"hPH9mWAgPsgQZ1kJCV_8QwkFRPc",tpIdentifier:"aFBIOW1XQWdQc2dRWjFrSkNWXzhRd2tGUlBjLzQxMTMwMjQzMzoxeDE="},d=new a({m:[{f:"write",h:"document",r:[]}],v:6,du:!1,ls:!0,rs:1},b,"wt_aFBIOW1XQWdQc2dRWjFrSkNWXzhRd2tGUlBjLzQxMTMwMjQzMzoxeDE=",c)}();var idp="",sb="",cb=Math.ceil(1e7*Math.random()),h="";try{idp=JSON.stringify(window["hPH9mWAgPsgQZ1kJCV_8QwkFRPc"]["aFBIOW1XQWdQc2dRWjFrSkNWXzhRd2tGUlBjLzQxMTMwMjQzMzoxeDE="].id)||"",idp&&(idp="&id="+escape(btoa(idp))),sb="&sb="+window["hPH9mWAgPsgQZ1kJCV_8QwkFRPc"]["aFBIOW1XQWdQc2dRWjFrSkNWXzhRd2tGUlBjLzQxMTMwMjQzMzoxeDE="].sb,cb="&cb="+cb;var url=window.sf_||window.$sf?document.referrer:window.location.href,start=url.indexOf("//"),end=url.indexOf("/",start+2);start>-1&&(end<0&&(end=url.length),start+=2,h=url.substr(start,end-start)),h="&h="+encodeURIComponent(h)}catch(a){}var isPixelRequired=window["hPH9mWAgPsgQZ1kJCV_8QwkFRPc"]["aFBIOW1XQWdQc2dRWjFrSkNWXzhRd2tGUlBjLzQxMTMwMjQzMzoxeDE="].isPxlReq;(isPixelRequired||void 0===isPixelRequired)&&((new Image).src="https://protected-by.clarium.io/pixel?tag=wt_aFBIOW1XQWdQc2dRWjFrSkNWXzhRd2tGUlBjLzQxMTMwMjQzMzoxeDE=&v=5&s=2de882fd9a29b5b4762820ca80d987c54e33df5d"+idp+sb+cb+h);