!function(a){function b(){return"Microsoft Internet Explorer"===a.navigator.appName&&t.test(a.navigator.userAgent)&&a.XDomainRequest}function c(c,d){var e;b()?(e=new a.XDomainRequest,e.open("get",c)):(e=new XMLHttpRequest,e.open("get",c,!0)),e.ontimeout=function(){d(new Error("Timeout getting publisher config"))},e.onerror=function(){d(new Error("Error getting publisher config"))},e.onprogress=function(){},e.onload=function(){var a={};try{a=JSON.parse(e.responseText)}catch(b){return d(new Error("Error parsing responseText "+b.message))}d(null,a)},setTimeout(function(){e.send()},0)}function d(b,d,e){var f=v[b];return f?(f=a.location.protocol.toString()+f,f+="/"+d+".json",void c(f,e)):e(new Error("Missing endpoint for environment "+b))}function e(a,b){a.document.body?b():setTimeout(function(){e(a,b)},10)}function f(a){var b,c,d=!1;try{b=JSON.parse(localStorage.getItem("SHR_V2_OVERRIDES"))}catch(f){}return b&&b.script&&!window.SHR_OVERRIDE_MODE&&(c=document.createElement("script"),c.setAttribute("data-shr-assetbase",b.script.assetbase),c.setAttribute("data-shr-entrypoint",b.script.entrypoint),c.src=b.script.src,window.SHR_OVERRIDE_MODE=!0,e(a,function(){a.document.body.appendChild(c)}),d=!0),d}function g(){for(var b,c,d=a.document.getElementsByTagName("script"),e=d.length;e--;){if(c=d[e],c.hasAttribute(o))return c;r.test(c.src)&&(b=c)}return b}function h(a,b,c,d,e){function f(a){clearTimeout(h),l||(l=!0,d(a))}function g(){function b(){var a;if(!l)return a=document.getElementById(k),a&&a.contentWindow.SHR_FRAME?f(a.contentWindow):void(h=setTimeout(b,100))}function d(a){return j.contentWindow?a():void setTimeout(d,10)}var e,g;c.appendChild(j),d(function(){try{j.contentWindow.document.open()}catch(c){e='javascript:var d=document.open();d.domain="'+a.document.domain+'";',j.src=e+"void(0);"}g=j.contentWindow.document,g.write(i),g.close(),j.contentWindow.__ready=f,b()})}var h,i="",j=a.document.createElement("iframe"),k="SHR-"+Math.round(1e3*Math.random())+1,l=!1;return d=d||function(){},i+=b,i+='',i+="",j.id=k,e?e(j,g):(j.style.display="none",j.frameBorder="0",setTimeout(g,1)),j}function i(){var a,b,c=!0;return"Microsoft Internet Explorer"===navigator.appName&&(a=navigator.userAgent,b=new RegExp("MSIE ([5-8]{1,}[.0-8]{0,})"),null!=b.exec(a)&&(c=!1)),c}function j(a){var b;return a.bookmarklet?a.assetbase:/[0-9a-f]{5,40}/.test(u)?(b=a.assetbase||p,b+u+"/"):a.assetbase||p}function k(a){for(var b,c,d=/^data-shr-/,e={},f=0,g=a.attributes,h=g.length;h>f;f++)c=g[f],d.test(c.nodeName)&&(b=c.nodeName.replace(d,""),e[b]=c.value);return e.entrypoint=e.entrypoint||q,e.namespace=e.namespace||s,e.assetbase=j(e),e}function l(a,b){function c(c){var f=b.environment||"production";d(f,c,function(a,b){e(c,b||{})}),a.init=function(){}}var e=a.init;b.siteid?c(b.siteid):a.init=c}function m(a){function b(){}function c(a,b,c){a[b]=function(){var d=Array.prototype.slice.call(arguments);a.push(c.concat(d)),a[b].args=d}}var d,j="",m={};return i()?(d=g(a))?(d.parentNode.removeChild(d),w=k(d),w.assetbase?(j+='',j+='",j+='