!function i(r,s,d){function c(t,e){if(!s[t]){if(!r[t]){var a="function"==typeof require&&require;if(!e&&a)return a(t,!0);if(l)return l(t,!0);var n=new Error("Cannot find module '"+t+"'");throw n.code="MODULE_NOT_FOUND",n}var o=s[t]={exports:{}};r[t][0].call(o.exports,function(e){return c(r[t][1][e]||e)},o,o.exports,i,r,s,d)}return s[t].exports}for(var l="function"==typeof require&&require,e=0;e>4,a=(15&o)<<4|(i=s.indexOf(e.charAt(c++)))>>2,n=(3&i)<<6|(r=s.indexOf(e.charAt(c++))),d+=String.fromCharCode(t),64!=i&&(d+=String.fromCharCode(a)),64!=r&&(d+=String.fromCharCode(n));return d=function(e){for(var t="",a=0,n=0,o=0,i=0;ac.exports.windowWidth()?1:0,a.yx=Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)>c.exports.windowHeight()?1:0,a}catch(e){return null}}c.exports.findVerticalPositionReached=function(){try{return window.scrollY+c.exports.windowHeight()}catch(e){return null}},c.exports.findDistanceFromViewport=function(e){try{return e.getBoundingClientRect().top-c.exports.windowHeight()}catch(e){return null}},c.exports.getViewableInfo=function(e){var t={};if(t.atf=function(e){if(!e)return"unknown";var t=function(e){try{var t=l(e,null),a=c.exports.windowHeight(),n=c.exports.windowWidth(),o=document.body.getBoundingClientRect(),i=Math.max(0,Math.min(o.left+n,t.r)-t.l),r=Math.max(0,Math.min(o.top+a,t.b)-t.t),s=i*r/(t.h*Math.min(t.w,n)),d=Number(Math.min(1,Math.max(0,s)).toFixed(2));return d}catch(e){return null}}(e);{if(null==t)return"unknown";if(.5<=t)return!0}return!1}(e),!e)return t;var a=r(),n=s(e),o=u(e);return a&&n&&o&&(t.geom={},t.geom.win=a,t.geom.self=n,t.geom.exp=o,t.payload={},t.payload.wh=a.h,t.payload.ww=a.w,t.payload.sx=window.scrollX,t.payload.sy=window.scrollY,t.payload.ah=n.h,t.payload.aw=n.w,t.payload.top=n.t,t.payload.left=n.l),t},c.exports.takeSnapshotOfSlotPosition=function(e){try{return{initialBoundingRect:e.getBoundingClientRect(),adHeight:e.offsetHeight,adWidth:e.offsetWidth,originalScrollX:window.scrollX,originalScrollY:window.scrollY}}catch(e){return null}},c.exports.getNoInventoryViewabilityData=function(e){var t={},a=function(e){try{var t=e.initialBoundingRect,a=t.top-(window.scrollY-e.originalScrollY),n=a+e.adHeight,o=t.left-(window.scrollX-e.originalScrollX),i=o+e.adWidth;return{top:a,bottom:n,left:o,right:i,width:e.adWidth,height:e.adHeight}}catch(e){return null}}(e),n=r(),o=s(null,a),i=u(null,a);return n&&o&&i?(t.geom={},t.geom.win=n,t.geom.self=o,t.geom.exp=i,t.payload={},t.payload.wh=n.h,t.payload.ww=n.w,t.payload.sx=window.scrollX,t.payload.sy=window.scrollY,t.payload.ah=o.h,t.payload.aw=o.w,t.payload.top=o.t,t.payload.left=o.l,t):null},c.exports.windowHeight=function(){return window.innerHeight||document.documentElement.clientHeight},c.exports.windowWidth=function(){return window.innerWidth||document.documentElement.clientWidth}},{}],13:[function(e,t,a){var w=e("../components/viewability"),p=e("../../components/util"),n=e("../metrics/csm"),o=n.sendCsmLatencyMetric,v=n.sendCsmCounter,i={ERROR:"ERROR",WARN:"WARN",FATAL:"FATAL"},l=r();function y(e,t){var a=t||new Error(e);v("",null,"safeFrameError",1),window.sfLogErrors&&(window.ueLogError?window.ueLogError(a,{logLevel:i.ERROR,attribution:"APE-safeframe",message:e+" "}):"undefined"!=typeof console&&console.error&&console.error(e,a))}function r(){var e=window.location.host.match(/^.*\.([^.:/]*)/),t=null;if(e&&1=t}):r()}},t.exports.getMediaCentralOrigin=r,t.exports.sizeValidator=function(e,t){return e.height===t.height&&e.width===t.width},t.exports.checkAgainstWhitelist=function(e,t,a){if(!t||"object"!=typeof t)return!1;for(var n=0,o=t.length;n