(function(){for(var la=document.scripts,ja=0,da;ja>>0;if(0===d)return-1;a=+e||0;Infinity===Math.abs(a)&&(a=0);if(a>=d)return-1;for(a=Math.max(0<=a?a:d-Math.abs(a),0);a>>0,c=0,d;if(2===arguments.length)d=arguments[1];else{for(;c=a)throw new TypeError("Reduce of empty array with no initial value");d=e[c++]}for(;c=a.left+a.width&&this.top+this.height>=a.top+a.height};e.prototype.containsPoint=function(a){return this.left<=a.x&&this.top<=a.y&&this.left+this.width>=a.x&&this.top+this.height>=a.y};e.prototype.overlaps=function(a){return this.lefta.left&&this.topa.top};g["default"]=e});k("json",[],function(){"object"!==typeof JSON&&(JSON={});(function(){function g(b){return 10>b?"0"+b:b}function e(b){d.lastIndex= 0;return d.test(b)?'"'+b.replace(d,function(b){var f=m[b];return"string"===typeof f?f:"\\u"+("0000"+b.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+b+'"'}function a(b,d){var c,n,m,l,v=h,t,q=d[b];q&&"object"===typeof q&&"function"===typeof q.toJSON&&(q=q.toJSON(b));"function"===typeof f&&(q=f.call(d,b,q));switch(typeof q){case "string":return e(q);case "number":return isFinite(q)?String(q):"null";case "boolean":case "null":return String(q);case "object":if(!q)return"null";h+=p;t=[];if("[object Array]"=== Object.prototype.toString.apply(q)){l=q.length;for(c=0;ch[1];d.isFirefoxBuggyTablePosition=h&&4>h[1];d.isChrome=/Chrome/.test(c);d.isSafari=!d.isChrome&&(/Safari/.test(c)||/(iPhone|iPod|iPad).*AppleWebKit/.test(c));d.isMobile=c.match(/iP(ad|od|hone)/i)||c.match(/Android/i);d.isWebkit=c.match(/WebKit/i);d.isFirefox=c.match(/firefox/i);d.flashPlayerVersion=function(){try{var d;if(navigator.plugins&&navigator.plugins["Shockwave Flash"]){if((d= navigator.plugins["Shockwave Flash"].description)&&(!navigator.mimeTypes||!navigator.mimeTypes["application/x-shockwave-flash"]||navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin))return d=d.replace(/^.*\s+(\S+\s+\S+$)/,"$1"),[parseInt(d.replace(/^(.*)\..*$/,"$1"),10),parseInt(d.replace(/^.*\.(.*)\s.*$/,"$1"),10),/[a-zA-Z]/.test(d)?parseInt(d.replace(/^.*[a-zA-Z]+(.*)$/,"$1"),10):0]}else return d=(new ActiveXObject("ShockwaveFlash.ShockwaveFlash")).GetVariable("$version").split(" ")[1].split(","), [parseInt(d[0],10),parseInt(d[1],10),parseInt(d[2],10),parseInt(d[3],10)]}catch(a){}}();d.IEVersion=!d.isIE||/Edge/.test(c)||/MSIE/.test(c)?function(){if(d.isIE){var a=-1;null!=/(MSIE |Edge\/)([0-9]{1,}[.0-9]{0,})/.exec(c)&&(a=parseFloat(RegExp.$2))}return a}():11;d.isEdge=12<=d.IEVersion;d.isIE10OrLess=d.isIE&&10>=d.IEVersion;d.isIEBuggyZIndex=d.isIE&&!d.isEdge&&(!document.documentMode||8>document.documentMode);d.isIEQuirks=d.isIE6||d.isIE&&!d.isEdge&&(!document.documentMode&&"CSS1Compat"!=document.compatMode|| 7>document.documentMode);d.canPlayHtml5Video=function(){var d=document.createElement("video");return d&&d.canPlayType?""!==d.canPlayType('video/mp4; codecs="avc1.42E01E, mp4a.40.2"').replace(/^no$/,"")?!0:""!==d.canPlayType('video/mp4; codecs="avc1.42E01E"').replace(/^no$/,""):!1}()}var a;a||(a={},e());g["default"]=a});k("utils/getElementRect",["../rect","../model/browser","exports"],function(g,e,a){var c=g["default"],d=e["default"];a["default"]=function(a){var e=a&&a.ownerDocument||document,m="defaultView"in e?e.defaultView:e.parentWindow;if(a.getBoundingClientRect){var f,b,r,A;try{var n=a.getBoundingClientRect();f=n.left;b=n.top;r=n.right;A=n.bottom}catch(s){return new c(0,0,0,0)}d.isIE&&(a=e.body.getBoundingClientRect(),a=(a.right-a.left)/e.body.offsetWidth,f/=a,b/=a,r/=a,A/=a);return new c(f+(m.pageXOffset||e.documentElement.scrollLeft||e.body.scrollLeft),b+(m.pageYOffset||e.documentElement.scrollTop||e.body.scrollTop),r-f,A-b)}e=a;f=m=0;do m+=e.offsetLeft||0,f+=e.offsetTop||0;while(e=e.offsetParent); return new c(m,f,a.offsetWidth,a.offsetHeight)}});k("utils/allowParentOverflow",["../export","./getActualStyle","./getElementRect","exports"],function(g,e,a,c){var d=g["default"],h=e["default"],p=a["default"];c["default"]=function(a,f,b){for(var c=a&&a.ownerDocument||document;a&&a!==c.body&&"fixed"!==h(a).position;a=a.parentNode){var e=h(a).overflow;if(("hidden"===e||"auto"===e)&&!p(a).contains(f))try{var n=a.style.overflow;a.style.overflow="visible";"visible"!==h(a).overflow?a.style.setProperty("overflow", "visible","important"):b&&b.push([a,"overflow",n]);if("both"!==a.lastChild.style.clear){var s=document.createElement("div");s.style.clear="both";s.style.height=0;if("function"===typeof d.get("getPid")){var l=d.get("getPid")();s.style.className+=" "+l+"-clear-div"}a.appendChild(s)}}catch(v){}}}});k("utils/browserSize",["exports"],function(g){g["default"]=function(e){var a=e.document.documentElement;if(a&&a.clientWidth)return[a.clientWidth,a.clientHeight];e=e.document.body;return[e.clientWidth,e.clientHeight]}}); k("utils/hasOwnProperty",["../model/browser","exports"],function(g,e){var a=g["default"],c=function(a,d){return Object.prototype.hasOwnProperty.call(a,d)},d=function(a,d){return a.hasOwnProperty(d)};e["default"]=a.isIE&&9>a.IEVersion?c:d});k("utils/timing",["exports"],function(g){g["default"]=function(){var e=Date.now?function(){return Date.now()}:function(){return(new Date).getTime()},a;if(window.performance){var c=window.performance.timing;a=function(){return c.navigationStart}}else{var d=e();a= function(){return d}}return function(){return e()-a()}}()});k("utils/consoleLog",["../export","./hasOwnProperty","./timing","exports"],function(g,e,a,c){var d=g["default"],h=e["default"],p=a["default"],m=function(f,b){if(!d.get("is_production")&&"undefined"!==typeof console&&"undefined"!==typeof console.log){var a=b;"object"===typeof b&&h(b,"length")&&(a=Array.prototype.join.call(b,", "));a+=" :::: "+p()+"ms";if(console[f])console[f](a);else console.log(a)}};c["default"]={trace:function(f){m("debug", arguments)},warn:function(f){m("warn",arguments)},error:function(f){m("error",arguments)}}});k("utils/contains",["exports"],function(g){g["default"]=function(e,a){if(e.contains)return e.contains(a);for(;a=a&&a.parentNode;)if(e===a)return!0;return!1}});k("utils/ensureHttp",["exports"],function(g){var e=/^https?:/i,a=/^\w+:/i;g["default"]=function(c,d){d=d||document;return c?a.test(c)?e.test(c)&&"http:"===d.location.protocol?c:c.replace(a,"https:"):"//"!==c.substring(0,2)?c:"http:"===d.location.protocol? "http:"+c:"https:"+c:""}});k("utils/isFirefoxBuggyZIndex",["./getActualStyle","../model/browser","exports"],function(g,e,a){var c=g["default"],d=e["default"];a["default"]=function(a,e){var m=!1;if(d.isFirefox){var f=c(a).zIndex;a.style.zIndex=e+1;c(a).zIndex===e&&(m=!0);a.style.zIndex=f}return m}});k("utils/errorToString",["../model/browser","exports"],function(g,e){var a=g["default"];e["default"]=function(c){var d;if("object"===typeof c&&null!==c)try{var h={};if(a.isIE)for(var e in c)c.hasOwnProperty(e)&& (h[e]=c[e]);else Object.getOwnPropertyNames(c).forEach(function(b){h[b]=this[b]},c);var m=[];d=JSON.stringify(h,function(b,f){if(null!==f&&"object"===typeof f)for(var a=0;a>=4,d+="0123456789ABCDEF".charAt(p);++h;e-=8}return d};g.genHexStringMathRandom=function(e){var a,c="";for(a=0;af;f++)d+="-"+a(4);d+="-";f="000"+(new Date).getTime().toString(16).toUpperCase();d+=f.substr(f.length-4);return d+=a(8)}var c=g.genHexStringCrypt, d=g.genHexStringMathRandom;e.generateUUIDTemplate=a;var h=window.crypto||window.msCrypto;e.generateUUID=window.Uint32Array&&h&&h.getRandomValues?function(){return a(c)}:function(){return a(d)}});k("utils/getChildByName",["exports"],function(g){g["default"]=function(e,a){for(var c=e.firstChild;c;c=c.nextSibling)if(c.tagName===a)return c}});k("utils/getExpandedSlimPlayer",["exports"],function(g){g["default"]=function(){for(var e=document.getElementsByTagName("object"),a=e.length;a;){var c=e[--a];if(-1< c.id.indexOf("SLIMEXP"))return c}}});k("utils/getExpansionFootprint",["exports"],function(g){g["default"]=function(e,a,c,d){var h={l:0,t:0,w:0,h:0,b:0,r:0},p={off1:"l",off2:"r",dim:"w",prop:"width",off1Prop:"left",off2Prop:"right"},m={off1:"t",off2:"b",dim:"h",prop:"height",off1Prop:"top",off2Prop:"bottom"};if(/top|bottom/i.test(d))var f=p,p=m,m=f;h[m.dim]=Math.max(e[m.prop],a[m.prop]);f=Math.max(a[m.prop]-e[m.prop],0);-1!==c.indexOf(m.off1Prop)?(h[m.off1]=0,h[m.off2]=f):-1!==c.indexOf(m.off2Prop)? (h[m.off1]=f,h[m.off2]=0):(f*=.5,h[m.off1]=f,h[m.off2]=f);-1!==c.indexOf(d)?(h[p.dim]=e[p.prop]+a[p.prop],e=a[p.prop]):(h[p.dim]=Math.max(e[p.prop],a[p.prop]),e=Math.max(0,a[p.prop]-e[p.prop]));-1!==d.indexOf(p.off1Prop)?(h[p.off1]=e,h[p.off2]=0):(h[p.off1]=0,h[p.off2]=e);return h}});k("utils/getLoaderScriptElement",["exports"],function(g){g["default"]=function(e){e=e.getElementsByTagName("script");for(var a=e.length;a--;){var c=e[a],d=c.src;if(0<=d.indexOf("mixpo.com")&&0<=d.indexOf("loader"))return c}return null}}); k("utils/getNextSibling",["./hasOwnProperty","exports"],function(g,e){var a=g["default"];e["default"]=function(c){if(a(c,"nextElementSibling"))return c.nextElementSibling;do c=c.nextSibling;while(c&&1!==c.nodeType);return c}});k("utils/getPlayerLogString",["../model/browser","../export","exports"],function(g,e,a){var c=g["default"],d=e["default"];a["default"]=function(){var a=d.get("getMixpoAd")();return a&&a.flashonly?c.flashPlayerVersion?"flash":"image":c.canPlayHtml5Video&&!c.isIE10OrLess?"html5": "image"}});k("utils/getSlimPlayer",["exports"],function(g){g["default"]=function(){for(var e=document.getElementsByTagName("object"),a=e.length;a;){var c=e[--a];if(c.id.indexOf("SLIM")===c.id.length-4)return c}}});k("utils/hasHiddenChildren",["./getActualStyle","exports"],function(g,e){var a=g["default"];e["default"]=function d(h){for(var e=h.firstChild;e;e=e.nextSibling){var m=a(h);if(m&&("none"===m.display||d(e)))return!0}return!1}});k("utils/hasMoreThanOneRenderedChild",["exports"],function(g){g["default"]= function(e){var a=/(script|iframe|style)/i,c,d=e.children.length,h=0;for(c=0;ce.clientHeight}});k("utils/isStackingContext",["./getActualStyle","../model/browser","exports"],function(g,e,a){var c=g["default"],d=e["default"];a["default"]=function(a){return a===(a&&a.ownerDocument||document).body||d.isIEBuggyZIndex&&"TD"===a.tagName?!0:(a=c(a))?"static"!==a.position&&(d.isIEBuggyZIndex||"auto"!==a.zIndex):!1}});k("utils/lodashExtend", ["exports"],function(g){g["default"]=function(e,a){if(!e)return e;for(var c=1,d=arguments.length;cc?(a.error("parseRangeInput - Cannot accept an input less than 0, value = "+c.toString(10)),null):c>d?(a.trace("parseRangeInput - input is greater than the count, "+ d+", value = "+c.toString(10)),null):c:null}});k("utils/removeEvent",["exports"],function(g){g["default"]=function(e,a,c){e.removeEventListener?e.removeEventListener(a,c,!1):e.detachEvent("on"+a,c)}});k("utils/requestUrl",["../model/browser","exports"],function(g,e){var a=g["default"];e["default"]=function(c){"https:"===window.location.protocol&&-1===c.indexOf("https:")&&(c=c.replace(/^(\w+:)?\/\//i,"https://"));if(a.isIE){var d=document.createElement("script");d.setAttribute("type","application/octet-stream"); d.setAttribute("src",c);document.getElementsByTagName("head")[0].appendChild(d)}else window.mixpo.requestObjects||(window.mixpo.requestObjects=[]),d=new Image,d.src=c,window.mixpo.requestObjects.push(d)}});k("utils/rescuable",["../export","./consoleLog","./errorToString","exports"],function(g,e,a,c){var d=g["default"],h=e["default"],p=a["default"];c["default"]=function(a,f,b,c){try{return a()}catch(e){d.get("is_production")&&(a=p(e),c=d.get("logError")||window.logError,!b&&c&&c(a,f),h.error(a))}}}); k("utils/toCssName",["exports"],function(g){g["default"]=function(e){var a=String.prototype.toLowerCase.call(e.tagName);e.id&&(a+="#"+e.id);e.className&&(a+="."+String.prototype.split.call(String.prototype.trim.call(e.className)," ").join("."));return a}});k("utils/waterfall",["exports"],function(g){var e=function(a){var d=function(e){var p=function(){a.length&&a[e].apply(null,arguments);return p.next()};p.next=function(){return e'):c.innerHTML+('');var R=c.lastChild;p.consoleLog.trace("insertSlimPlayer",R);R.loadContainerXml=v;Y&&(R.containerXML=Y);R.containerModel=l;document.body.offsetWidth<=e.width&&document.body.offsetHeight<=e.height&&(document.body.style.margin=0);var $;if(m.isWindows&&!m.isIE){var E=function(b){var a=b.getAttribute("src");a&&-1!==a.indexOf("mixpo.com")|| (a=b.getAttribute("wmode"),"opaque"!==a&&"transparent"!==a&&(a=b.cloneNode(!0),a.setAttribute("wmode","opaque"),b.parentNode.replaceChild(a,b)))};e=document.getElementsByTagName("embed");for(s=0;s'):a+('type="application/x-shockwave-flash" data="'+q+'">');a+='';e=h.get("ExpandedPlayer");w.expandedPlayer=new e(w,G,c,d,v);w.containerXML.documentElement.getAttribute("guid")===c&&w.expandedPlayer.setModel(w.containerModel);w.expandedPlayer.create(a,k)};d.loadMainPlayer=function(b){document.getElementById(b).expandedPlayer.noExpandLoad()}; d.expandedSlimLoaded=function(b){document.getElementById(b).expandedPlayer.initLoad()};d.isHidden=function(b){for(b=document.getElementById(b);b&&1===b.nodeType;b=b.parentNode){var a=p.getActualStyle(b);if(!a)break;if("hidden"===a.visibility)return!0}return!1};c.localMixpo=null;c.privateMembers=null});k("controller/mraid",["exports"],function(g){g["default"]={insertScriptIntoHeader:function(){var e=document.createElement("script");e.type="text/javascript";e.src="mraid.js";document.head.appendChild(e)}, scriptIsLoaded:function(){for(var e=document.getElementsByTagName("script"),a=0;a h.width?m.exp.r+b:m.exp.r-b,b:m.self.h>h.height?m.exp.b+a:m.exp.b-a}}function d(){"left"===r?r="right":"right"===r?r="left":"top"===r?r="bottom":"bottom"===r&&(r="top")}function y(){"x"===b.toLowerCase()?"left"===r?aa=ba.l:"right"===r?aa=ba.r:B!==k&&(aa="left"===D?ba.r:"right"===D?ba.l:ba.l+.5*B+.5*k):"top"===r?aa=ba.t:"bottom"===r?aa=ba.b:B!==k&&(aa="top"===D?ba.b:"bottom"===D?ba.t:ba.t+.5*B+.5*k);r===D?(ea=aa,fa=k):(ea=aa+B,fa=Math.max(B,k))}function l(b,a){r===a?(r=b,s=s.match(a)?s.replace(a,b): s.replace(b,a)):s=s.replace(b,"")+a;n()}function n(){q=0;g=!s.match(r)||r!==z&&r!==A?Math.max(B,k):B+k;s.match(A)?(K=r===z?-k:0,x=r===A?-k:0):s.match(z)?(K=r===A?B:B-k,x=r===z?B:B-k):K=x=(B-k)/2;0>x&&(q=x,K-=x,x=0)}var q=0,g=0,x=0,K=0,z,A,C,B,k,H;"x"===b||"X"===b?(z="right",A="left",C=h.left,B=h.width,k=t,H=u.width):(z="bottom",A="top",C=h.top,B=h.height,k=v,H=u.height);n();if("number"!==typeof e&&!c)if(window.$sf&&window.$sf.ext){C=r;var aa=0,ea=0,fa=0,D=a(),ba=f();y();fa>ea&&(d(),y());fa>ea&&(r= C,"x"===b.toLowerCase()?-1!==s.indexOf("left")?(s=s.replace("left","right"),D="right"):-1!==s.indexOf("right")&&(s=s.replace("right","left"),D="left"):-1!==s.indexOf("top")?(s=s.replace("top","bottom"),D="bottom"):-1!==s.indexOf("bottom")&&(s=s.replace("bottom","top"),D="top"),y());fa>ea&&(d(),y());fa>ea&&(p=!0);n()}else C+q+g>H&&l(A,z),0>C+q&&l(z,A);return{offsetRelativeToAnchor:q,totalAdSize:g,offsetFromCombinedAds:x,animateStart:K}};d=a("x");a=a("y");return{adRect:new A(d.offsetRelativeToAnchor, a.offsetRelativeToAnchor,d.totalAdSize,a.totalAdSize),videoInAdRect:new A(d.offsetFromCombinedAds,a.offsetFromCombinedAds,t,v),animateStartX:d.animateStart,animateStartY:a.animateStart,direction:r,anchor:s,pushdown:l,abort:p}}d=560;a=300;if(l=l.getAttribute("size"))l=l.split("x"),d=parseInt(l[0],10),a=parseInt(l[1],10);l=d>h.left+h.width&&u.width-h.left>h.left+h.width;n=h.top+a>=u.height;return{adRect:new A(l?0:h.width-d,n?h.height-a:0,d,a),videoInAdRect:new A(0,0,d,a),animateStartX:0,animateStartY:0, hFlip:l,vFlip:n}}p=window.mixpo;var f=g["default"],b=e["default"],r=a["default"],A=c["default"],n=d["default"];f.set("escapeOverflowHidden",function(a,f){var d=a&&a.ownerDocument||document,e,c;for(c=a.parentNode;c&&c!==d.body&&"TABLE"!==c.nodeName;c=c.parentNode){var l=b.getActualStyle(c);if(/(absolute|fixed)/i.test(l.position)||"none"!==(r.isIE10OrLess?l.styleFloat:l.cssFloat)||b.isStackingContext(c)||b.hasHiddenChildren(c))break;f&&"hidden"===l.overflow&&!b.getElementRect(c).contains(f)&&(e=c.parentNode)}if(e){for(c= e;c!==d.body&&"static"===b.getActualStyle(c).position;c=c.parentNode)if(c.nextSibling||c.previousSibling){c.style.cssText+="top: 0; left: 0; position: relative";e=c;break}var n=b.getElementRect(e),q=b.getActualStyle(e).marginLeft,q=parseInt(q,10),h=b.getActualStyle(e).marginTop,q=parseInt(h,10);setTimeout(function(){var f=b.getElementRect(a.mixpoBustSource||a),d,c;d=f.left-n.left+q;c=f.top-n.top+h;"relative"===a.style.position&&(a.mixpoObserver?a.mixpoObserver.disconnect():a.mixpoBustSource.removeEventListener? a.mixpoBustSource.removeEventListener("DOMAttrModified",a.mixpoBustSource.mixpoFrameSizeChange):a.mixpoBustSource.detachEvent("onpropertychange",a.mixpoBustSource.mixpoFrameSizeChange));e.appendChild(a);a.style.position="absolute";a.style.left=d+"px";a.style.top=c+"px";var l=null,l=setInterval(function(){var e=b.getElementRect(a.mixpoBustSource||a);d=e.left-n.left+q;c=e.top-n.top+h;e.left!==f.left||e.top!==f.top?(a.style.left=d=e.left+"px",a.style.top=c=e.top+"px"):(clearInterval(l),l=null)},50); setTimeout(function(){l&&clearInterval(l)},500)},250);r.isFirefoxBuggyFlash&&b.allowParentOverflow(a,f)}});f.set("ExpandedPlayer",function(a,d,c,e,l){function h(){V||(V=!0,z?s(z):a.loadContainerXml(c,!1,e,!1,s,null))}function s(b){M=b;O&&x()}function t(b,a){switch(a.direction){case "left":k.style.left=(1-b)*a.videoInAdRect.width+"px";k.style.top=0;break;case "right":k.style.left=(b-1)*a.videoInAdRect.width+"px";k.style.top=0;break;case "top":k.style.left=0;k.style.top=(1-b)*a.videoInAdRect.height+ "px";break;case "bottom":k.style.left=0,k.style.top=(b-1)*a.videoInAdRect.height+"px"}}function v(b){for(var f=0,d=0,c=a;c;c=c.offsetParent){if(c===b)return{left:f,top:d};f+=c.offsetLeft;d+=c.offsetTop}return{left:0,top:0}}function g(b){var a,f;f=M.takeoverSizeInfo();f.aspectratio?(f=f.aspectratio,a=!0):(f=f.size,a=f[0]>b.width||f[1]>b.height);a?f[0]*b.height>f[1]*b.width?(a=b.width,f=b.width*f[1]/f[0]):(a=b.height*f[0]/f[1],f=b.height):(a=f[0],f=f[1]);return new A(b.left+(b.width-a)/2,b.top+(b.height- f)/2,a,f)}function x(){if(d){E.style.visibility="hidden";U=document.createElement("div");U.style.cssText+="position: absolute; left: 0; top: 0; width: 100%; height: 100%";U.className="mixpo_slimplayer_takeover_mask";$&&(U.className+=" "+$+"-background-mask");var f=a.containerXML.getElementsByTagName("expander")[0],c=null;f.hasAttribute("takeover_mask_color")&&(c=f.getAttribute("takeover_mask_color"));U.style.backgroundColor=c?c.replace(/0x/,"#"):"black";"false"!==f.getAttribute("click_takeover_mask_to_collapse")&& b.addEvent(U,"click",a.expandedPlayer.startCollapsing);E.insertBefore(U,k);a.addMouseListeners&&a.addMouseListeners(k);M.takeoverSizeInfo().aspectratio&&(Q=document.createElement("div"),Q.style.cssText+="position: absolute; background-color: black; border-radius: 8px",Q.className="mixpo_slimplayer_takeover_border",$&&(Q.className+=" "+$+"-border-div"),E.insertBefore(Q,k));f=b.browserSize(window);c=12+(Q?8:0);f=new A(c,c,f[0]-2*c,f[1]-2*c);f=g(f);k.style.width=f.width+"px";k.style.height=f.height+ "px";k.setSize(f.width,f.height)}k.setXML(M.xmlString())}var z,k,M,V,O,N,P,T,ca,Z,W,ga,ka,S,R,$=a.id.replace("SLIM",""),E=document.createElement("div");$&&(E.style.className+=" "+$+"-holder-div");var U,Q,ha;if(d){E.style.cssText+="left: 0; top: 0; width: 1px; height: 1px; position: fixed";var ia=n.getTagParam("adParentId");ia?(ia=document.getElementById(ia))?ia.appendChild(E):(E&&E.ownerDocument||document).body.insertBefore(E,null):(E&&E.ownerDocument||document).body.insertBefore(E,null)}else E.style.cssText+= "overflow: hidden; position: absolute;left: 0; top: 0; width: 1px; height: 1px;",a.parentNode.insertBefore(E,a.nextSibling);l&&h();var aa;this.create=function(b,a){aa=a;E.innerHTML=b};this.noExpandLoad=function(){h()};this.initLoad=function(){O=!0;k=document.getElementById(aa);M&&x();P&&this.showSpinner();T&&this.enableAudio();ca&&this.disableAudio();Z&&this.loggedPlay();W&&this.disableSendDecile();ga&&this.checkPlayLogged();ka&&this.enableUserClicked();N&&this.startExpanding(N[0],N[1],N[2])};this.startExpanding= function(c,e,l){if(O){h();var n;if(d){var u=1;r.isIE&&(c=document.body.getBoundingClientRect(),u=(c.right-c.left)/document.body.offsetWidth);var s=(c=a.containerXML.getElementsByTagName("expander")[0].attributes.getNamedItem("takeover_mask_opacity"))&&c.value||50;c=a.getBoundingClientRect();var x=new A(c.left,c.top,c.right-c.left,c.bottom-c.top),x=g(x);x.left/=u;x.top/=u;x.width/=u;x.height/=u;n=function(b){function a(b,f,d){return b+(f-b)*d}var f=12+(Q?8:0),f=new A(f,f,E.clientWidth-2*f,E.clientHeight- 2*f),f=g(f);f.left/=u;f.top/=u;f.width/=u;f.height/=u;f=new A(a(x.left,f.left,b),a(x.top,f.top,b),a(x.width,f.width,b),a(x.height,f.height,b));Q&&(Q.style.left=f.left-8+"px",Q.style.top=f.top-8+"px",Q.style.width=f.width+16+"px",Q.style.height=f.height+16+"px");k.style.left=f.left+"px";k.style.top=f.top+"px";k.style.width=f.width+"px";k.style.height=f.height+"px";1===b&&k.setSize(f.width,f.height);void 0===U.style.opacity?U.style.filter="alpha(opacity="+Math.round(s*b)+")":U.style.opacity=s/100*b}; E.style.cssText="left: 0; top: 0; width: 100%; height: 100%";n(0);E.style.visibility="visible";ha=function(){n(1)};b.addEvent(window,"resize",ha)}else{var z=m(a.containerXML,a,c);z.videoInAdRect.left+=z.adRect.left;z.videoInAdRect.top+=z.adRect.top;t(0,z);c=v(E.parentNode);E.style.left=c.left+z.videoInAdRect.left+"px";E.style.top=c.top+z.videoInAdRect.top+"px";E.style.width=k.style.width=z.videoInAdRect.width+"px";E.style.height=k.style.height=z.videoInAdRect.height+"px";var w,F;z.pushdown&&(w=z.videoInAdRect.top+ k.clientHeight-a.clientHeight,F=a.clientHeight);n=function(b){w&&q(a.parentNode,a.clientWidth.toString()+"px",F+w*b+"px");t(b,z)}}p.setExpandedNode(E,$);k.startExpanding(l);e&&k.startCountdown();S?(clearInterval(S),R=2*new Date-f.get("ANIMATION").duration-R):R=new Date;S=setInterval(function(){var b=new Date-R;b>=f.get("ANIMATION").duration?(clearInterval(S),S=0,n(1),e||k.playVideo()):n(b/f.get("ANIMATION").duration)},f.get("ANIMATION").frameTime)}else N=[c,e,l]};this.startCollapsing=function(){if(O)if(ha&& (b.removeEvent(window,"resize",ha),ha=null),f.get("YahooSafeFrameController").isInSafeFrame())b.consoleLog.trace("SafeFrames: call yahoo collapse"),E.style.width=E.style.height=0,f.get("YahooSafeFrameController").getController().collapse();else if(f.get("EBayExpandableAPIController").enabled())b.consoleLog.trace("EBayExpandableAPI: call ebay collapse"),E.style.width=E.style.height=0,f.get("EBayExpandableAPIController").getController().collapse();else{a.expandedSlimClosed();k.startCollapsing();var c= m(a.containerXML,a);d?(E.style.width=E.style.height=0,Q&&(Q.style.width=Q.style.height=0),k.style.width=k.style.height=0,k.style.opacity=0,setTimeout(function(){k.style.opacity=1},0)):(t(0,c),E.style.width=E.style.height=0);if(window.googleToolset)window.googleToolset.collapseWindow();else if(c.pushdown){var e=c.videoInAdRect.top+k.clientHeight-a.clientHeight;if(0=f.get("ANIMATION").duration?(b=l,clearInterval(S),S=0):b=l+e*(f.get("ANIMATION").duration-b)/f.get("ANIMATION").duration;q(a.parentNode,a.clientWidth.toString()+"px",b.toString()+"px")},f.get("ANIMATION").frameTime)}}setTimeout(function(){u(E)},100)}else N=!1};this.pause=function(){O&&k.pauseVideo()};this.enableAudio=function(){O?k.enableAudio():(T=!0,ca=!1)};this.disableAudio=function(){O?k.disableAudio():(ca=!0,T=!1)};this.showSpinner=function(){O?k.showSpinner():P=!0};this.hideSpinner=function(){O? k.hideSpinner():P=!1};this.loggedPlay=function(){O?k.loggedPlay():Z=!0};this.disableSendDecile=function(){O?k.disableSendDecile():W=!0};this.checkPlayLogged=function(){O?k.checkPlayLogged():ga=!0};this.enableUserClicked=function(){O?k.enableUserClicked():ka=!0};this.setModel=function(b){z=b}});p.getExpandInfo=function(b){b=document.getElementById(b);return m(b.containerXML,b)};p.requestExpansion=function(b,a,d){try{window.googleToolset?window.googleToolset.expandWindow():p.startExpanding(b,null,null, null,a,d)}catch(c){throw f.get("is_development")&&console.log(c.name+":"+c.message),c;}};p.startExpanding=function(b,a,f,c,d,e){b=document.getElementById(b);b.expandingStarted();b.expandedPlayer.startExpanding(c,d,e)};p.startCollapsing=function(b){document.getElementById(b).expandedPlayer.startCollapsing()};p.pauseExpanded=function(b){document.getElementById(b).expandedPlayer.pause()};p.enableAudio=function(b){document.getElementById(b).expandedPlayer.enableAudio()};p.disableAudio=function(b){document.getElementById(b).expandedPlayer.disableAudio()}; p.showSpinner=function(b){document.getElementById(b).expandedPlayer.showSpinner()};p.hideSpinner=function(b){document.getElementById(b).expandedPlayer.hideSpinner()};p.loggedPlay=function(b){document.getElementById(b).expandedPlayer.loggedPlay()};p.disableSendDecile=function(b){document.getElementById(b).expandedPlayer.disableSendDecile()};p.checkPlayLogged=function(b){document.getElementById(b).expandedPlayer.checkPlayLogged()};p.enableUserClicked=function(b){document.getElementById(b).expandedPlayer.enableUserClicked()}; p.expandedVideoReady=function(b){document.getElementById(b).expandedVideoReady()};p.expandedPlayLockedIn=function(b){document.getElementById(b).expandedPlayLockedIn()};p.expandedPlayerPlaying=function(b){document.getElementById(b).expandedPlayerPlaying()};p.expandedLoggedPlay=function(b){document.getElementById(b).expandedLoggedPlay()};p.setExpanded=function(b){var a=p.setExpandedNode(document.getElementById(b),b);if(b=document.getElementById("likeBtn"+b))b.style.zIndex=a};var s=function(a,f){var c= b.getElementRect(a),d;if(c.width&&c.height&&c.overlaps(f)||0===c.width&&0===c.height&&c.containsPoint({x:c.left,y:c.top})&&(c=b.getActualStyle(a,":before"))&&c.content)return!0;for(d=a.firstChild;d;d=d.nextSibling)if(1===d.nodeType&&(c=b.getActualStyle(d))&&"hidden"!==c.visibility&&"none"!==c.display&&s(d,f))return!0;return!1},l=function(a,f,c){if(!/svg/i.test(f.tagName)){var d;f=f.children;for(var e=0;ek)k=O}else l(T,N,x);while(T.length)}x=k;x=parseFloat(x)||0}p=b.getActualStyle(A).zIndex;p=parseFloat(p)||0;if(x>p||x===p&&!z)p=A.style.zIndex, z=b.isFirefoxBuggyZIndex(A,x)?10:1,T=u||x+z,A.style.zIndex=T,k=b.getActualStyle(A).zIndex,"string"===typeof k&&0<=k.indexOf("e")||k===u||k===x+z?h.push([A,"zIndex",p]):(A.style.zIndex="",A.style.cssText+=";z-index: "+T+" !important"),(z=v[location.host])&&z(A,u,x,h),r.isIEBuggyZIndex&&(t(A),t(g))}u=x;if(e){e=d&&d.ownerDocument||document;d=d.parentNode;V=[];g=/(-moz-hidden-unscrollable|auto|hidden|scroll)/i;do{if("TABLE"===d.nodeName)break;if(b.hasMoreThanOneRenderedChild(d))break;n=b.getActualStyle(d); (g.test(n.overflow)||g.test(n.overflowX)||g.test(n.overflowY))&&V.push(d);d=d.parentNode}while(d!==e.body);for(;V.length;)d=V.shift(),d.style.overflow="visible"}}h.length&&(a.undoExpansionProperties=h);r.isIEBuggyZIndex&&(q.body.className=q.body.className);return"undefined"!==typeof c?c:u+1}};f.set("setExpandedNode",p.setExpandedNode);p.setUnexpanded=function(b){window.$WLXRmAd?window.$WLXRmAd.collapse():f.get("YahooSafeFrameController").isInSafeFrame()&&f.get("YahooSafeFrameController").getController().collapse(); var a=document.getElementById(b);u(a);if(b=document.getElementById("likeBtn"+b))b.style.zIndex=a.style.zIndex+1};p.getXspotPos=function(a){a=b.getElementRect(document.getElementById(a));return[a.left,a.top]};p.getXspotDims=function(b,a){var f=document.getElementById(b);return"div"===f.tagName.toLowerCase()||!a&&r.isIE6?[parseInt(f.clientWidth,10),parseInt(f.clientHeight,10)]:a&&"100%"!==f.width&&"100%"!==f.height?[f.width,f.height]:[parseInt(f.parentNode.clientWidth,10),parseInt(f.parentNode.clientHeight, 10)]};p.scroll=function(){return r.isIE10OrLess?[document.documentElement.scrollLeft,document.documentElement.scrollTop]:[window.pageXOffset,window.pageYOffset]};p.isIE=function(){return r.isIE};p.browserFixedSupport=function(){return r.isIEQuirks||r.isFirefoxBuggyFlash?"none":r.isIEBuggyZIndex?"delayed":"full"};p.iframe=function(){return f.get("isIframe")};p.safeframe=function(){return f.get("isInSafeFrame")};p.imagesLoaded=function(){for(var b=document.images,a=0;ac&&(c=0),a.style.height=c+"px"):a.style.height=c;var q=b.offset.height(a)-f;if(q){var h=0;d(function(f){if(f!==a.mixpoBustSource||"relative"!==a.style.position){var c=b.offset.height(f);if(c===n[h++]){var d=b.getActualStyle(f);f.style.height=c-parseInt(d.paddingTop,10)-parseInt(d.paddingBottom,10)+q+"px"}}})}};f.set("setPushdownSize",q);f.set("getExpandInfo",m);var u=p.setUnexpandedNode= function(b){var a=b&&b.ownerDocument||document,f=b.undoExpansionProperties;if(f){for(var c=0;cf[a].innerHTML.indexOf("mixpo")&&(f[a].style.visibility="hide"===b?"hidden":"visible");f=l.getElementsByTagName("embed");for(a=0;al.body.offsetHeight? (b=l.body.scrollWidth,a=l.body.scrollHeight):(b=l.getElementsByTagName("html").item(0).offsetWidth,a=l.getElementsByTagName("html").item(0).offsetHeight,b=b'+B+"";w.appendChild(v);v=l.createElement("div");v.setAttribute("id","mixpo_close");B=v.style;B.cssText+="font: 12px Helvetica, sans-serif; background-color: white; font-weight: bold; text-decoration: none; float: right; z-index: 2147483643; text-align: right; cursor: "+(n?"hand":"pointer")+ ";";v.innerHTML='Close or Esc Key  ';w.appendChild(v);t=l.createElement("div");t.setAttribute("id","mixpo_iframeCont");w=t.style;w.backgroundColor="#ffffff";w.display="none";w.border="2px solid #267BBC";k.appendChild(t);var L=l.createElement("iframe");L.setAttribute("id","mixpo_iframeMain");L.frameBorder="0"; k=L.style;k.display="none";try{L.src=a}catch(Y){}t.appendChild(L);window.focus();n&&!s&&f("hide");m("hide");var M=r();z.height=M[1]+"px";z.display="";p||(z.opacity=.5,z.filter="alpha(opacity=50)");u.top=c.pageScroll()+M[3]/20+"px";u.display="";x.onclick=v.onclick=b;w.display="none";L.width=Math.floor(.85*M[2]);L.height=Math.floor(.85*M[3])-28;L.scrolling="auto";k.cssText+="display: none; overflow: auto; padding: 0; margin: 0;";window.onresize=function(){M=r();z.height=M[1]+"px";z.width="100%";L.width= .85*M[2]+"px";L.height=.85*M[3]+"px";F.height=parseInt(L.height,10)+4+"px";H.height=X.height=parseInt(F.height,10)+"px";F.width=parseInt(L.width,10)+4+"px";C.width=I.width=parseInt(L.width,10)+4+"px"};F.height=parseInt(L.height,10)+4+"px";H.height=X.height=parseInt(F.height,10)+"px";F.width=parseInt(L.width,10)+4+"px";C.width=I.width=parseInt(L.width,10)+4+"px";k.display="";B.display="";w.display="";document.onkeyup=function(a){27===(window.event?window.event.keyCode:a.keyCode)&&b()};return!0};a.takeoverHideFlash= function(a,c){var e,m=document.getElementsByTagName("object");for(e=0;ea.width||b.height>a.height}function e(){function d(){var e=b.getActualStyle(g.parentNode).display;b.isElementInline(g.parentNode)&&"inline-block"!==e&&"block"!==e&&(g.parentNode.style.display= "block");e=h.getNeedsHorizontallyCentered(g,a);if(r.isIEQuirks&&b.inCenterTag(a))g.style.left=0,g.style.top=0;else{var n=h.getDefaultOffsetAdContainerStyle(g,a,c,m);e||(g.style.left=n.left);g.style.top=n.top}e&&setTimeout(function(){h.horizontallyCenterViaMargin(g,a)},3);g.style.position="absolute";g.style.display="block";g.originalHeight&&(g.style.height=g.originalHeight+"px");!f.get("isInFIF")&&r.isWebkit&&"absolute"===g.style.position&&setTimeout(function(){g.style.position="";setTimeout(function(){g.style.position= "absolute";g.style.display="block"},1)},1);var q,u=0,e=function(){var f=b.getElementRect(g),d=b.getElementRect(a);if(d.height!==f.height||d.width!==f.width)var e=b.getElementRect(c),d={top:d.top+e.top,left:d.left+e.left};if(f.top!==d.top||f.left!==d.left)e=Number(g.style.top.replace(/[^-\d.]/g,""))+parseFloat(d.top)-parseFloat(f.top),g.style.top=e+"px",s.isAutoMargined(a.parentNode)||(e=parseFloat(g.style.left.replace(/[^-\d\.]/g,""))+parseFloat(d.left)-parseFloat(f.left),g.style.left=e+"px",b.consoleLog.trace("Adjusted placeholder top to match frame top and left", f.top,d.top,f.left,d.left));u++;2E3<500*u&&clearInterval(q)};e();q=setInterval(e,500);r.isMobile&&(g.fbOffsetTop=b.getElementRect(g).top,g.fbOffsetLeft=b.getElementRect(g).left,b.consoleLog.trace("is mobile",window.orientation,g.fbOffsetLeft,g.fbOffsetTop,b.getElementRect(g)))}function n(a){a.readyState&&"complete"!==a.readyState&&b.addEvent(a,"readystatechange",function J(){"complete"===a.readyState&&(b.removeEvent(a,"readystatechange",J),d())})}g.style.display="none";var q={TBODY:0,THEAD:0,TFOOT:0, TR:0,COLGROUP:0,COL:0,TD:0,CAPTION:0};r.isFirefoxBuggyTablePosition&&(q.TABLE=0);for(var m=a.parentNode;q.hasOwnProperty(m.tagName);)m=m.parentNode;"static"===b.getActualStyle(m).position&&(m.style.position="relative");/Firefox.([12]\.|3\.0)/.test(navigator.userAgent)&&(a.style.visibility="hidden");setTimeout(d,0);c&&n(c.ownerDocument);r.isMobile&&(q=window,f.get("isInFIF")&&(q=window.parent),q.addEventListener("orientationchange",d,!1));b.consoleLog.trace("finish framebust - positionFrameBustedPlaceholder", g)}function n(){b.consoleLog.trace("finish framebust - registerFrameResizeListeners");var c=!1,h=function(f,c){var d=b.getActualStyle(a);"absolute"===d.position||"relative"===d.position?(g.style.top="0",b.consoleLog.trace("finish framebust - positionRelativePlaceholder - set top to 0px")):(null===k?(k=Math.min(f.height,p||99999999),g.style.marginTop=-k+"px",a.height=k,a.style.height=k+"px",b.consoleLog.trace("finish framebust - positionRelativePlaceholder - setting margin-top to "+-k+"px")):(c=c|| b.getElementRect(g),d=parseInt(g.style.marginTop,10),d!==d&&(d=0),b.consoleLog.trace("finish framebust - positionRelativePlaceholder - margin-top is "+d+"px, adjusting by "+(Math.round(f.top)-Math.round(c.top))+"px. New offset is "+(d-(Math.round(c.top)-Math.round(f.top)))+"px"),d-=Math.round(c.top)-Math.round(f.top),g.style.marginTop=d+"px"),0!==parseFloat(g.style.height)&&(g.originalHeight=parseInt(g.style.height,10)),b.consoleLog.trace("finish framebust - positionRelativePlaceholder - set frame height, placeholder margin to: "+ k+"px"))},m=0,u=setInterval(function(){var f=b.getElementRect(a),c=b.getElementRect(g);c.top!==f.top&&(h(f,c),m=10);m++;10<=m&&clearInterval(u)},250);if(window.MutationObserver||window.WebKitMutationObserver){var s=function(f){f.forEach(function(f){b.consoleLog.trace("mutation observer fired",f);if("style"===f.attributeName||"width"===f.attributeName||"height"===f.attributeName)f=b.getElementRect(a),d(b.getElementRect(g),f)?h(f):c||(c=!0,e())})},r;window.MutationObserver?(b.consoleLog.trace("register MutationObserver"), r=new MutationObserver(s)):window.WebKitMutationObserver&&(b.consoleLog.trace("register WebKitMutationObserver"),r=new window.WebKitMutationObserver(s));r.observe(a,{attributes:!0,subtree:!0});g.mixpoObserver=r}else s=function(){b.consoleLog.trace("resize listener fired");var f=b.getElementRect(a);d(b.getElementRect(g),f)?h(f):c||(c=!0,e())},a.mixpoFrameSizeChange=s,a.addEventListener?(b.consoleLog.trace("register DOMAttrModified"),a.addEventListener("DOMAttrModified",s,!1)):(b.consoleLog.trace("register onpropertychange"), a.attachEvent("onpropertychange",s));setTimeout(function(){b.consoleLog.trace("fired 250ms timeout to check if placeholder added to DOM");g.parentNode&&g.parentNode.nodeType!==f.get("NODE_TYPE").documentFragment||(a.parentNode.insertBefore(g,a.nextSibling),b.consoleLog.trace("placeholder not added after 250ms, adding it to DOM now"))},250);g.style.margin=g.style.marginTop?g.style.marginTop+" auto auto":"auto";g.style.position="relative";s=b.getElementRect(a);h(s);"none"===g.style.display&&(g.style.display= "block");b.consoleLog.trace("finish framebust - registerFrameResizeListeners done",g)}b.consoleLog.trace("finish_framebust pid:",this.pid);var h=this,m=this.mixpoAd,g=f.get("getPlaceholder")(),p=m.height,k=null;b.consoleLog.trace("choose framebust positioning strategy - ad WxH, frame WxH:",m.width,m.height,a.clientWidth,a.clientHeight);d(m,{width:b.offset.width(a),height:b.offset.height(a)})?(b.consoleLog.trace("framebust - ad too large for frame, register resize listeners"),setTimeout(n,0)):(b.consoleLog.trace("framebust - use default positioning"), g.style.display="none",setTimeout(e,0));g.parentNode&&g.parentNode.nodeType!==f.get("NODE_TYPE").documentFragment||a.parentNode.insertBefore(g,a.nextSibling);"relative"===g.style.position&&"absolute"!==a.style.position&&"relative"!==a.style.position&&(g.style.top=-b.getElementRect(a).height+"px");g.mixpoBustSource=a;m=b.getActualStyle(a,!0);isNaN(m.zIndex)||(g.style.zIndex=1+parseInt(m.zIndex,10))};s.getDefaultOffsetAdContainerStyle=function(a,f,c,d){c=a.parentNode;a=b.offset.left(f,c);r.isWebkit&& "block"===b.getActualStyle(f).display&&"inline"===b.getActualStyle(d).display?(c=b.offset.top(f,c)-b.offset.height(f),setTimeout(function(){d.appendChild(document.createTextNode(""))},20)):c=b.offset.top(f,c);for(var e=0,n=0,h=f.offsetParent;h;h=h.offsetParent){if(h===d){a+=e;c+=n;break}e+=b.offset.left(h);n+=b.offset.top(h)}r.isIE&&8===r.IEVersion&&(f=f.parentNode.currentStyle,"none"!==f.borderStyle&&(a-=parseInt(f.borderLeftWidth,10)||0,c-=parseInt(f.borderTopWidth,10)||0));return{left:a+"px",top:c+ "px"}};s.getNeedsHorizontallyCentered=function(a,f){var c=b.getActualStyle(f),d=2b.offset.height(f),e=s.isAutoMargined(f);return"block"===c.display&&"absolute"===a.style.position&&"relative"===f.parentNode.style.position&&e&&d};s.horizontallyCenterViaMargin=function(a,f){r.isIE&&0>f.offsetLeft?a.style.left=Math.abs(.4*f.offsetLeft)+"px":(a.style.left="50%",a.style.marginLeft="-"+b.offset.width(f)/2+"px")};s.isAutoMargined=function(a){var f=b.offset.left(a)|| 0;a=b.offset.width(a);return.1a.adRect.left?a.adRect.left:a.videoInAdRect.width+a.videoInAdRect.left-f.width;f=0>a.adRect.top?a.adRect.top:a.videoInAdRect.height+a.videoInAdRect.top-f.height;h.consoleLog.trace("YahooSafeFrameController::expand", a,c,f);window.Y.SandBox.vendor.expand(c,f)},getGeometry:function(){h.consoleLog.trace("geometry",window.Y.SandBox.vendor.geom());return window.Y.SandBox.vendor.geom()},safeFrameCallback:function(b){h.consoleLog.trace("YahooSafeFrameController::safeFrameCallback,",b);if("collapsed"===b){var c=a();c&&c.collapse&&(h.consoleLog.trace("YahooSafeFrameController: calling slimExp.collapse()"),c.collapse());if(b=f())h.consoleLog.trace("YahooSafeFrameController: call slim.expandedSlimClosed()"),b.expandedSlimClosed(); setTimeout(function(){h.consoleLog.trace("YahooSafeFrameController: callSetUnexpandedNode",d.get("setUnexpandedNode"));d.get("setUnexpandedNode")(c.parentNode)},100)}},initialize:function(a){var f=d.get("getMixpoAd")();h.consoleLog.trace("YahooSafeFrameController::initialize",d.get("getMixpoAd")());window.Y.SandBox.vendor.register(f.width,f.height,p.safeFrameCallback);d.get("getPlaceholder")().style.display="block";a&&a()}};var a=function(){for(var a=document.getElementsByTagName("object"),f=a.length;f;){var c= a[--f];if(-1, was: "'+b.getAttribute(g)+'".'),b.setAttribute(g,h.toString())};try{p.consoleLog.trace('Applying container.xml overrides as described in the ad-tag\'s "local" property:',b),c=f._parseXml(a),d(b,c.getElementsByTagName("container")[0])}catch(e){return h.get("logError")('Something went wrong while attempting to override the container.xml via the ad-tag\'s "local" property:'+ e),null}return c};f.getChildren=function(a){return a.hasOwnProperty("children")?a.children:a.childNodes};f._parseXml=function(a){var b;window.DOMParser?b=(new DOMParser).parseFromString(a,"text/xml"):(b=new ActiveXObject("Microsoft.XMLDOM"),b.async="false",b.loadXML(a));return b};c.localMixpo=null;c.privateMembers=null});k("experiences/flashPlayer",["../export","../utils/index","exports"],function(g,e,a){var c=g["default"],d=e["default"];a["default"]=function(a){var e=a.containerXml,g=a.placeholder, f=a.pid,b=a.viewid,r=a.CDNSubdomain,k=a.mixpoAd;a=a.requestNumber;var n=d.getElementRect(g);n.width=k.width;n.height=k.height;var s=g.ownerDocument,s=s.defaultView||s.parentWindow;k.researchData.experience="flash";s.mixpo.insertSlimPlayer(k,g,n,f,e,c.get("loadContainerXml"),r,b,a)}});k("experiences/legacyHtml5Player",["../export","../utils/index","../model/ad","../rect","exports"],function(g,e,a,c,d){var h=g["default"],k=e["default"],m=a["default"],f=c["default"];d["default"]=function(a){var c=a.containerXml, d=a.placeholder,e=a.pid,g=a.viewid,l=a.CDNSubdomain,v=a.liveSubdomain,t=a.originalContainerXml,q=a.requestUrl;a=a.mixpoAd;var u=(d.ownerDocument.defaultView||d.ownerDocument.parentWindow).mixpo;u.Rectangle=f;e=k.lodashExtend({},h.get(),a,{pid:e,placeholder:d,xml:c.xmlObject(),viewid:g,CDNSubdomain:"//"+l,liveSubdomain:"//"+v,requestUrl:q,requestTrackingUrls:function(){return t.requestTrackingUrls.apply(t,arguments)},loadXML:function(a,b,f,c){h.get("loadContainerXml")(a,b,null,!1,f,c)}});if(m.isMraidEnabled()|| a.fullscreen)g=document.createElement("meta"),g.name="viewport",g.content="initial-scale=1.0",document.getElementsByTagName("head")[0].appendChild(g);a.researchData.experience="legacy html5";a.researchData.file=a.jsPlayer||"h5p.js";if(a.displayAdXML)try{a.researchData.daType=a.displayAdXML.getElementsByTagName("container")[0].getAttribute("containertype")}catch(x){}try{a.researchData.type=a.containerXml.xmlObject().getElementsByTagName("container")[0].getAttribute("containertype")}catch(z){}h.get("logResearch")("experience", a.researchData);h.get("containerLoadedCallbackHandler")("html5",c);u.adstack?(u.adstack.push(e),u.html5player&&u.html5player()):(u.adstack=[e],c=a.jsPlayer||"//"+l+".mixpo.com/js/h5p.js",h.get("loadScriptIntoDocumentHeader")(d.ownerDocument,c))}});k("experiences/html5Player",["../export","../utils/index","../model/ad","../rect","exports"],function(g,e,a,c,d){var h=g["default"],k=e["default"],m=a["default"],f=c["default"];d["default"]=function(a){var c=a.containerXml,d=a.placeholder,e=a.pid,g=a.viewid, l=a.CDNSubdomain,v=a.liveSubdomain,t=a.originalContainerXml,q=a.requestUrl;a=a.mixpoAd;var u=(d.ownerDocument.defaultView||d.ownerDocument.parentWindow).mixpo;u.Rectangle=f;if(document.body.querySelector(".MJXSlots > .ad728 > div#"+e)){var x=k.getActualStyle(d.parentNode);x&&"inline-block"===x.display&&"baseline"===x.verticalAlign&&(x=document.createElement("style"),x.innerText=".MJXSlots > .ad728 { vertical-align: top; }",document.body.appendChild(x))}e=k.lodashExtend({},h.get(),a,{pid:e,placeholder:d, xml:c.xmlObject(),viewid:g,CDNSubdomain:"//"+l,liveSubdomain:"//"+v,requestUrl:q,requestTrackingUrls:function(){return t.requestTrackingUrls.apply(t,arguments)},loadXML:function(a,b,f,c){h.get("loadContainerXML")(a,b,null,!1,f,c)}});if(m.isMraidEnabled()||a.fullscreen)g=document.createElement("meta"),g.name="viewport",g.content="initial-scale=1.0",document.getElementsByTagName("head")[0].appendChild(g);a.researchData.experience="html5";try{a.researchData.type=e.xml.getElementsByTagName("container")[0].getAttribute("containertype")}catch(z){}h.get("containerLoadedCallbackHandler")("html5", c);g=d.ownerDocument.getElementsByTagName("head")[0];d=d.ownerDocument.createElement("script");d.setAttribute("type","text/javascript");if(a.useModularPlayer){v="";if(a.useOmniPlayer)v="all";else switch(c.containerNode.getAttribute("containertype")){case "ID":v="id";break;case "IS":v=a.instream?"instream":"all";break;case "MLQ":case "IDRM":case "IDMLQ":v="expander";break;default:v="all"}c="adinfo_"+v;q="player_";u.player_all?q+="all":u["player_"+v]&&(q+=v);u[c]?u[c].push(e):u[c]=[e];if(a.jsPlayer|| !u[q])a.researchData.file=a.jsPlayer||"mixpo_player."+v+".js",l=a.jsPlayer||"//"+l+".mixpo.com/js/mixpo_player."+v+".js",d.setAttribute("src",k.ensureHttp(l)),d.async=!0,g.appendChild(d);else if(u[q])try{u[q]()}catch(y){}}else if(a.researchData.file=a.jsPlayer||"h5p_id.js",u.adstack_id){if(u.adstack_id.push(e),u.html5player_id)try{u.html5player_id()}catch(K){}}else u.adstack_id=[e],l=a.jsPlayer||"//"+l+".mixpo.com/js/h5p_id.js",d.setAttribute("src",k.ensureHttp(l)),d.async=!0,g.appendChild(d);window.ReportingObserver&& "function"===typeof window.ReportingObserver&&(new window.ReportingObserver(function(a,b){for(var f=0;fm.IEVersion;var q=null,u=document.createElement("DIV"),x=document.createElement("IMG"), z=document.createElement("SPAN"),y=u;u.style.width=t.width+"px";u.style.cssText+="line-height: "+t.height+"px; height: "+t.height+"px; font-size: 0; background-color: black; text-align: center;";u.className=u.className+" "+g+"-image-fallback-div";t.researchData.ua=t.ua||"fallback";t.researchData.experience="image";t.researchData.file="image";h.get("logResearch")("experience",t.researchData);if("IMG"===d.containerNode.getAttribute("containertype")&&(t.height&&768g&&2d&&(s=!0,a.consoleLog.trace("findArticleNode - Skipping "+a.toCssName(k)+" which has been used "+f+", more than the limit of "+d+" times."))}f<=d&&++b}l();return 2 #"+ h),m(g,c,h,a))}else d("Could not find article to insert in-content ad into for "+window.location)}});k("xmlLoader","./export ./utils/index ./model/browser ./model/queryParams ./utils/getExperience ./articleInsert/doArticleInsert exports".split(" "),function(g,e,a,c,d,h,k){function m(){this.isFirstContainer=this.containerXml=null;this.uriParams=new A;this._cleanupLoad=this._xmlParams=null;this._source=l.PLAYER1}var f=g["default"],b=e["default"],r=a["default"],A=c["default"],n=d["default"],s=h["default"], l={PLAYER1:"player1",PLAYER2:"player2",S3:"s3"};window.IS_MIXPO_TESTING&&(window.MixpoAdContainerLoader=m);f.set("MixpoAdContainerLoader",m);m.prototype.SCRIPT_FAILURE_TIMEOUT_DELAY=7500;m.prototype.loadContainerXml=function(a){this._xmlParams=a;this.getContainerUriParams();this.doRequest()};m.prototype.sanitizeFunctionName=function(a){return a.match(/\w+/g).join("")};m.prototype.doRequest=function(){var a=this,c=this._xmlParams,d=this.uriParams,e=f.get("getOriginalContainerXml")(),g=f.get("getMixpoAd")(), h=this.sanitizeFunctionName(f.get("getPid")());g.s3&&(this._source=l.S3);d=new A(d.getParams());h=this.callbackName=this._source===l.S3?"mixpoContainer"+c.guid:"callback"+h;window[h]=function(){window.clearTimeout(a._delayedFailureSleeper);return a.scriptCallback.apply(a,arguments)};var k="";if(this._source===l.S3)k="//"+f.get("CDNSubdomain")+".mixpo.com/containers/"+f.get("liveSubdomain")+"/"+c.guid.substring(0,2)+"/"+c.guid+"/container.js";else{d.addParams({jsonp:h});if(!g.instream&&!g.enableMRAID|| g.enableTTDMRAID)e||d.addParams({log:"true"});c=f.get("playerSubdomain"+(this._source===l.PLAYER1?"1":"2"));k=b.ensureHttp("//"+c+".mixpo.com/player/container?")+d.toURI()}k=b.ensureHttp(k);this._xmlParams.url=k;this._cleanupLoad=f.get("loadScriptIntoDocumentHeader")(window.document,k,g);this._delayedFailureSleeper=window.setTimeout(function(){if(a._source!==l.S3)return a.scriptFailure.apply(a,arguments)},m.prototype.SCRIPT_FAILURE_TIMEOUT_DELAY)};m.prototype.scriptFailure=function(a,c){var d=this; b.rescuable(function(){d.cleanup();d.loadFailed(a||0,c)},"containerXmlTimeout",!1,f.get("getMixpoAd")())};m.prototype.scriptCallback=function(a){var c=this,d=this._xmlParams,e=this.uriParams;b.rescuable(function(){c.cleanup();var b=new (f.get("MixpoAdContainerModel"))(a,d.displayAdGuid);if(b.isServerError())c.loadFailed(1,b.getStatusMessage());else if(b.containerNode){if(!f.get("getMixpoAd")().instream&&!f.get("getOriginalContainerXml")()&&c._source===l.S3&&!b.nonExpDefaultGuid()){var g=new A(e); g.addParams({ua:"impression",guid:b.getAdUnitId()});f.get("logEventFinalParams")("?"+g.toURI())}d.success(b)}else c.loadFailed(2,"No container node in response from "+d.url)},"containerXmlCallback")};m.prototype.loadFailed=function(a,b){var c=this._xmlParams,d=f.get("getMixpoAd")();if(this._source===l.S3)c.fail();else{if(this._source===l.PLAYER1)this._source=l.PLAYER2;else{this._source=l.S3;d.s3=!0;var e="&ua=s3&meta1="+a;b&&(e+="&meta2="+encodeURIComponent(b));f.get("logEvent")(e,c.guid)}f.set("getMixpoAd", function(){return d});this.doRequest()}};m.prototype.cleanup=function(){window.clearTimeout(this._delayedFailureSleeper);this._cleanupLoad&&(this._cleanupLoad(),this._cleanupLoad=null);window[this.callbackName]=f.get("noop")};m.prototype.getContainerUriParams=function(){var a;try{a=this._frameElement||window.frameElement||null}catch(c){a=null}var d=this._xmlParams,e=f.get("getMixpoAd")(),g=this.uriParams,h={};h.guid=d.guid;if(e.thumbprint)for(var m in e.thumbprint)h[m]=e.thumbprint[m];var k=m=null; if(f.get("isInFIF"))m="friendly";else if(f.get("isInSafeFrame"))m="safeframe";else if(f.get("isIframe")){m="crossdomain";var p=document.referrer;if(p&&"string"===typeof p&&0>>16,a[0]&65535,a[1]>>>16,a[1]&65535];c=[c[0]>>>16,c[0]&65535,c[1]>>>16,c[1]&65535];var b=[0,0,0,0];b[3]+=a[3]+c[3];b[2]+=b[3]>>>16;b[3]&=65535;b[2]+=a[2]+c[2];b[1]+=b[2]>>>16;b[2]&=65535;b[1]+=a[1]+c[1];b[0]+=b[1]>>>16;b[1]&=65535;b[0]+=a[0]+c[0];b[0]&=65535;return[b[0]<<16|b[1],b[2]<<16|b[3]]}function a(a,c){a=[a[0]>>>16,a[0]&65535,a[1]>>>16,a[1]& 65535];c=[c[0]>>>16,c[0]&65535,c[1]>>>16,c[1]&65535];var b=[0,0,0,0];b[3]+=a[3]*c[3];b[2]+=b[3]>>>16;b[3]&=65535;b[2]+=a[2]*c[3];b[1]+=b[2]>>>16;b[2]&=65535;b[2]+=a[3]*c[2];b[1]+=b[2]>>>16;b[2]&=65535;b[1]+=a[1]*c[3];b[0]+=b[1]>>>16;b[1]&=65535;b[1]+=a[2]*c[2];b[0]+=b[1]>>>16;b[1]&=65535;b[1]+=a[3]*c[1];b[0]+=b[1]>>>16;b[1]&=65535;b[0]+=a[0]*c[3]+a[1]*c[2]+a[2]*c[1]+a[3]*c[0];b[0]&=65535;return[b[0]<<16|b[1],b[2]<<16|b[3]]}function c(a,c){c%=64;if(32===c)return[a[1],a[0]];if(32>c)return[a[0]<>> 32-c,a[1]<>>32-c];c-=32;return[a[1]<>>32-c,a[0]<>>32-c]}function d(a,c){c%=64;return 0===c?a:32>c?[a[0]<>>32-c,a[1]<>>1]);c=a(c,[4283543511,3981806797]);c=h(c,[0,c[0]>>>1]);c=a(c,[3301882366,444984403]);return c=h(c,[0,c[0]>>>1])}g["default"]=function(g,f){g=g||"";var b=0,r=function(a){return g.charCodeAt(b+a)};f=f||0;for(var A=g.length%16,n=g.length-A,s=[0,f],l=[0,f],v=[0,0], t=[0,0],q=[2277735313,289559509],u=[1291169091,658871167],b=0;b>>0).toString(16)).slice(-8)+("00000000"+(s[1]>>>0).toString(16)).slice(-8)+("00000000"+(l[0]>>>0).toString(16)).slice(-8)+("00000000"+(l[1]>>>0).toString(16)).slice(-8)}});k("model/featureDetect",["../model/browser","../utils/MurmurHash3","../utils/getActualStyle","exports"],function(g,e,a,c){var d=g["default"],h=e["default"],k=a["default"];g=function(){try{var a=function(){var a=document.createElement("canvas"), b=null;try{b=a.getContext("webgl")||a.getContext("experimental-webgl")}catch(c){}b||(b=null);return b},c=function(a){return-1!==v.indexOf(a)},b=function(a){return-1!==s.indexOf(a)},e=function(a){n=(a?"1":"0")+n},g=window,n="",s=function(){var a=[],b;for(b in g)a.push(b);return a.join(",")}(),l=k(document.createElement("DIV")),v=function(){var a=[],b;for(b in l)/^\d+$/.test(b)||a.push(b);return a.join(",")}(),t=function(){var a=[],b,c=g.navigator.plugins;if(Object.getOwnPropertyDescriptor&&Object.getOwnPropertyDescriptor(window, "ActiveXObject")||"ActiveXObject"in window){var d="AcroPDF.PDF;Adodb.Stream;AgControl.AgControl;DevalVRXCtrl.DevalVRXCtrl.1;MacromediaFlashPaper.MacromediaFlashPaper;Msxml2.DOMDocument;Msxml2.XMLHTTP;PDF.PdfCtrl;QuickTime.QuickTime;QuickTimeCheckObject.QuickTimeCheck.1;RealPlayer;RealPlayer.RealPlayer(tm) ActiveX Control (32-bit);RealVideo.RealVideo(tm) ActiveX Control (32-bit);Scripting.Dictionary;SWCtl.SWCtl;Shell.UIHelper;ShockwaveFlash.ShockwaveFlash;Skype.Detection;TDCCtl.TDCCtl;WMPlayer.OCX;rmocx.RealPlayer G2 Control;rmocx.RealPlayer G2 Control.1".split(";"), e;for(b=d.length;--b;){e=d[b];try{new window.ActiveXObject(e),a.push(e)}catch(f){}}}for(b=c&&c.length||0;b--;)d=c[b],a.push(d.name);a.sort(function(a,b){return a>b?1:af.status?eval(f.responseText):e&&(0===f.status?e(2,f.statusText):e(1,f.statusText)))}, f.send(d),function(){e=null;4!==f.readyState&&f.abort()}}return b(document,a)}function d(b,e){e=e||"";C.rescuable(function(){var d=B.flashPlayerVersion,d=d?d.join("."):"none",f;f=self===top?window.document.URL:window.document.referrer;var h=a.viewid||C.generateUUID(),k=(new I({fpversion:d,guid:g,viewid:h,url:f,logger:e,message:b,version:a.embedv,loaderVersion:"v5.0.640:7058934"})).toURI();c("//"+w.get("playerSubdomain1")+".mixpo.com/player/error",k,function(){c("//"+w.get("playerSubdomain2")+".mixpo.com/player/error", k,null)})},"Error failed to log!",!0)}G.init(a);a.thumbprint=H;a.BUILD_VERSION=w.get("build_version");w.set("getMixpoAd",function(){return a});a.researchData={fpversion:B.fpversion,canPlayHtml5Video:B.canPlayHtml5Video,isIE:B.isIE,IEVersion:B.IEVersion,flashonly:a.flashonly||!1,noflash:a.noflash||!1};var e=!a.subdomain||/^(swf|swf2|www)$/i.test(a.subdomain);if(!e)var f=a.subdomain;w.set("liveSubdomain",e?"www":f);a.researchData.subdomain=w.get("liveSubdomain");w.set("CDNSubdomain",e?"swf":f+"-swf"); w.set("playerSubdomain1",e?"player1":f+"-player1");w.set("playerSubdomain2",e?"player2":f+"-player2");var g=a.guid;w.set("setLogGuid",function(a){g=a});w.set("getLogGuid",function(){return g});var h;w.set("getOriginalContainerXml",function(){return h});w.set("setOriginalContainerXml",function(a){h=a});w.set("containerLoadedCallbackHandler",function(b,c){a.containerLoadedCallback&&a.containerLoadedCallback(b,c)});w.set("loadScriptIntoDocumentHeader",b);w.set("rawLoad",c);w.set("logError",d);w.set("logResearch", function(b,d){try{var e=new I({type:b,viewid:a.viewid,data:JSON.stringify(d)}),f=C.ensureHttp("//player1.mixpo.com/player/research-logs"),g=C.ensureHttp("//player2.mixpo.com/player/research-logs");c(f,e.toURI(),function(){c(g,e.toURI())})}catch(h){}});w.set("logErrorBeacon",function(b,c){var d=a.viewid||C.generateUUID();navigator.sendBeacon("https://player1.mixpo.com/player/error",new Blob(["fpversion=none&guid="+g+"&viewid="+d+"&url="+b+"&version="+a.embedv+"&loaderVersion=v5.0.640:7058934&message="+ c],{type:"application/x-www-form-urlencoded"}))});C.rescuable(function(){function e(a){try{return a!==top&&!!a.parent.document}catch(b){return!1}}function f(){return!!w.get("YahooSafeFrameController").isInSafeFrame()}function k(a,b){var c=new x(v());return c.finishFramebust.apply(c,arguments)}function l(d){function e(c,f){a.s3=!0;b(document,"//"+w.get("playerSubdomain2")+".mixpo.com/player/analytics/log"+d)}if(!a.s3){do var f="mixpoEvent"+Math.round(1E4*Math.random());while(window[f]);var g=setTimeout(function(){window[f]= A;e()},3E3);window[f]=function(){clearTimeout(g);window[f]=null};d+="&jsonp="+f}c("//"+w.get("playerSubdomain1")+".mixpo.com/player/analytics/log"+d,a.s3?null:e);a.s3&&e()}function m(a,b,c,d,e,f){z.loadContainerXml({guid:a,isTelescope:b,displayAdGuid:c,success:e,fail:f,isFromFailedExpandable:d})}function p(b,c){m(a.guid,!1,b,c,function(){z.xmlLoadHandler.apply(z,arguments)},w.get("insertImageFallback"))}function n(){C.rescuable(function(){D.adTagParameters=a;var b=a.guid,c=!1;window.addEventListener&& (window.addEventListener("pagehide",function(a){a.persisted&&(D.unloadMixpo&&D.unloadMixpo(),D.firstChild&&D.removeChild(D.firstChild),c=!0)},!1),window.addEventListener("pageshow",function(d){c&&(c=!1,h=null,a.guid=b,r=C.generateUUID(),y=0,p(null,!1))},!1));p(null,!1);G.isMraidEnabled()&&!J.scriptIsLoaded()&&J.insertScriptIntoHeader()},"startLoading()",!1,a)}var q;do q=a.placeholder_id||"mixpoPID"+Math.floor(1E5*Math.random());while(document.getElementById(q));w.set("getPid",function(){return q}); var r=a.viewid||C.generateUUID();w.set("viewid",r);var s;if(self!==top)try{s=top.location.href}catch(t){s=document.referrer}s||(s=location.href);w.set("dl",s);a.researchData.dl=s+"";w.set("isFIF",e);var u=e(self);w.set("isInFIF",u);f();w.set("isInSafeFrame",f());"CLICK_TRACKER"===a.clicktag&&(a.clicktag=null);var v=function(){return{mixpoAd:a,requestNumber:y,viewid:r,pid:q,parent:window.parent,CDNSubdomain:w.get("CDNSubdomain")}},x=w.get("MixpoLoaderDefaultFrameBuster");w.set("friendlyFramebust", function(){C.consoleLog.trace("friendlyFramebust");var a=new x(v());return a.friendlyFramebust.apply(a,arguments)});w.set("unfriendlyFramebust",function(){C.consoleLog.trace("unfriendlyFramebust");var a=new x(v());return a.unfriendlyFramebust.apply(a,arguments)});var y=a.requestnumber||0;w.set("getNextRequestNumber",function(){return y++});a.getRequestNumber=function(){return y};w.set("getRequestNumber",a.getRequestNumber);w.set("isNonExpDefault",!1);var A=function(){};w.set("noop",A);w.set("logEventFinalParams", l);w.set("logEvent",function(a,b,c){var d=w.get("experienceName")||"unknown";b="?guid="+(b||g)+"&viewid="+(c||r)+"&requestnumber="+w.get("getNextRequestNumber")()+"&dl="+escape(s)+"&player="+d;B.flashPlayerVersion&&(b+="&fpversion="+B.flashPlayerVersion.join("."));h&&h.geoRange()&&(b+="&georange="+h.geoRange());l(b+a)});var z=w.get("MixpoAdContainerLoader"),z=new z;w.set("loadContainerXml",m);w.set("insertLoaders",p);var D=null;w.set("setPlaceholder",function(a){D=a});w.set("getPlaceholder",function(){return D}); if(a.placeholder)a.slimslim?(D=a.placeholder.parentNode,q=a.placeholder.id,D.removeChild(a.placeholder),D.id=q,n()):(D=a.placeholder,D.id?q=D.id:D.id=q,C.consoleLog.trace("isFIF: ",w.get("isInFIF"),B.isWebkit,a.framebust),a.framebust?(B.isWebkit&&(D.style.display="none"),k(a.framebust,null,n)):(D.style.display="block",n()));else{var F=C.getLoaderScriptElement(document);if(B.isMobile||G.isMraidEnabled())document.getElementsByTagName("body").length||(u=document.createElement("body"),document.getElementsByTagName("html")[0].appendChild(u)), D=document.createElement("DIV"),D.style.display="block",D.id=q+"",F?F.parentNode===document.getElementsByTagName("head")[0]?document.body.appendChild(D):F.parentNode.appendChild(D):D.parentNode||document.body.appendChild(D),n();else if(document.write('
'),D=document.getElementById(q),!D&&F&&(D=document.createElement("div"),D.style.display="block",D.id=q,C.isChildOf(document.head,F)?(document.getElementsByTagName("body").length||(u=document.createElement("body"), document.getElementsByTagName("html")[0].appendChild(u)),document.body.appendChild(D)):F.parentNode.insertBefore(D,F.nextSibling)),(u=G.getTagParam("adParentId"))&&(u=document.getElementById(u))&&u.appendChild(D),D&&D.offsetWidth&&D.offsetHeight){if(B.isIE&&D.previousSibling)for(u=D.previousSibling.firstChild;u;u=u.nextSibling)if("SCRIPT"===u.tagName&&0B.IEVersion?f.styleSheet.cssText=e:f.innerHTML=e;C.consoleLog.trace("Successfully inserted custom CSS",e)}catch(g){C.consoleLog.trace("Could not insert custom CSS (Likely a X-origin problem)")}}; w.set("tryToInsertCustomCSS",e);"string"===typeof a.customCSS&&"string"===typeof w.get("getPid")()&&e(window.document,w.get("getPid")(),a.customCSS)}function F(a){try{a.loaderLoadedCallback&&a.loaderLoadedCallback()}catch(b){}if(!a)throw new TypeError("mixpoAd object is "+typeof a+" at createMixpoAd()");try{K(a)}catch(c){}}g=window.mixpo;var w=v["default"],C=d["default"],B=t["default"],H=q["default"],G=u["default"],I=x["default"],J=z["default"];g.scrollListeners=null;if(g.loaderHandlers){for(d=0;d< g.loaderHandlers.length;d++)g.loaderHandlers[d]();delete g.loaderHandlers}d=window.mixpoAds||[];window.mixpoAd&&(d[d.length]=window.mixpoAd);window.mixpoAd=null;window.mixpoAds=null;if(d.length)for(v=0;v