!function(){function e(t,r,i){function s(o,a){if(!r[o]){if(!t[o]){var d="function"==typeof require&&require;if(!a&&d)return d(o,!0);if(n)return n(o,!0);var c=new Error("Cannot find module '"+o+"'");throw c.code="MODULE_NOT_FOUND",c}var p=r[o]={exports:{}};t[o][0].call(p.exports,function(e){return s(t[o][1][e]||e)},p,p.exports,e,t,r,i)}return r[o].exports}for(var n="function"==typeof require&&require,o=0;o=0;i--){var o=p.randomSplice(t),d=h[o];if(d.enabled)try{var _=u[o];if(p.isObject(_)?d.instance=l(_,d.configs):d.instance=_(d.configs),!d.instance){d.enabled=!1;continue}b[o]=D.NOT_STARTED}catch(e){d.enabled=!1}}x._setDirectInterface("IdentityLayer",{retrieve:f,getResult:g,getIdentityResults:y,invokeAllPartners:r}),x._setExecutor(m)}(),o.derive(x,{retrieve:f,getResult:g})}var s,n,o=e(10),a=e(3),d=e(15),c=e(58),p=e(25),l=e(42),u={AdserverOrgIp:e(41),LiveRampIp:e(43)};t.exports=i},{}],3:[function(e,t,r){"use strict";function i(){function e(e,t){return s.resolve(t)}function t(e,t){d={},d[e]=t}function r(e){c=e}function i(){return d}function n(e){p=e}function o(e,t){return p(e,t)}function a(e,t){return s.resolve().then(function(){return c(e,t)})}var d,c,p;return function(){d=null,c=e,p=e}(),{_setDirectInterface:t,_setExecutor:r,_executeNext:o,setNext:n,getDirectInterface:i,execute:a}}var s=e(15);e(26);t.exports=i},{}],4:[function(e,t,r){"use strict";function i(e){function t(e,t){return r._executeNext(e,t).then(function(t){for(var r={slot:{},partner:{}},n=[],o=t.slice();t.length;){var c=d.randomSplice(t);if(c.htSlot){var p=c.htSlot.getName();c.pass||(c.hasOwnProperty("price")&&d.isNumber(c.price)?(r.slot.hasOwnProperty(p)?r.slot[p].price-1&&(a=c.length-p-1,c=c.slice(0,p)+c.slice(p+1)),a>=n)a-=n;else{var l=n-a;a=0,c=s.padEnd(c,c.length+l,"0")}c.length>9&&(a-=c.length-9,c=c.slice(0,9)),d=Math.pow(10,a),c=Number(c);var u=e.buckets.length;if(c=e.buckets[u-1].max*d)c=e.buckets[u-1].max*d;else{for(var _,f=e.floor,g=0;g0&&(y=ai)break;if(e&&(s=e(n)))return s;var a;try{a=n.frameElement}catch(e){a=null}if(null===a){if(t&&(s=t(n)))return s;break}n=n.parent,o++}}catch(e){}return null}function f(e){return _(function(t){return t.hasOwnProperty(e)?t[e]:null})}function g(e,t){var r=t||x,i=r.document.createElement("iframe");return e&&(i.src=e),i.width=0,i.height=0,i.scrolling="no",i.marginWidth=0,i.marginHeight=0,i.frameBorder=0,i.setAttribute("style","border: 0px; vertical-align: bottom; visibility: hidden; display: none;"),r.document.body.appendChild(i),i}function m(e){var t=e+"=",r=x.document.cookie.split(";");for(var i in r)if(r.hasOwnProperty(i)){for(var s=r[i];" "===s.charAt(0);)s=s.substring(1,s.length);if(0===s.indexOf(t))return s.substring(t.length,s.length)}return null}function y(){var e=!1;try{new window.ActiveXObject("ShockwaveFlash.ShockwaveFlash")&&(e=!0)}catch(t){navigator.mimeTypes&&void 0!==navigator.mimeTypes["application/x-shockwave-flash"]&&navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin&&(e=!0)}return e}var x;return function(){x=_(null,function(e){return e})}(),{topWindow:x,getProtocol:e,isLocalStorageSupported:u,getViewportWidth:t,getViewportHeight:r,isTopFrame:p,getScreenWidth:i,getScreenHeight:s,getReferrer:n,getPageUrl:l,getHostname:o,getUserAgent:a,getLanguage:d,getPathname:c,getNearestEntity:f,traverseContextTree:_,createHiddenIFrame:g,readCookie:m,isFlashSupported:y}}()},{}],9:[function(e,t,r){"use strict";var i=e(8),s=e(25),n=e(24);t.exports=function(){function e(e){if(!a)return!1;try{localStorage.removeItem(d+e)}catch(e){return!1}return!0}function t(t){if(!a)return null;var r;try{r=JSON.parse(localStorage.getItem(d+t))}catch(e){return null}return null===r?null:!r.e||r.ec&&(r=c);var i=n.now(),s={t:i,d:t,e:i+r};try{localStorage.setItem(d+e,JSON.stringify(s))}catch(e){return!1}return!0}var a,d="IXWRAPPER",c=6048e5;return function(){a=i.isLocalStorageSupported()}(),{deleteData:e,getEntry:t,getData:r,setData:o}}()},{}],10:[function(e,t,r){"use strict";e(26);t.exports=function(){function e(e){for(var t in e)e.hasOwnProperty(t)&&"_"===t[0]&&"__"!==t.slice(0,2)&&delete e[t];return e}function t(t,r){var i,s={};for(i in t)t.hasOwnProperty(i)&&(s[i]=t[i]);for(i in r)r.hasOwnProperty(i)&&(s[i]=r[i]);return e(s)}return{derive:t}}()},{}],11:[function(e,t,r){"use strict";function i(e){function t(e){if(s.isFunction(e))try{e()}catch(e){}}return function(){if(s.isArray(e))for(var t=0;t=0&&/(rv)(?::| )([\w.]+)/.exec(e)||e.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(e)||[],r={},i={browser:t[5]||t[3]||t[1]||"",version:t[2]||t[4]||"0",versionNumber:t[4]||t[2]||"0"};if(i.browser&&(r[i.browser]=!0,r.version=i.version,r.versionNumber=parseInt(i.versionNumber,10)),r.rv||r.iemobile){i.browser="msie",r.msie=!0}if(r.edge){delete r.edge;i.browser="msedge",r.msedge=!0}if(r.opr){i.browser="opera",r.opera=!0}if(r.safari&&r.android){i.browser="android",r.android=!0}if(r.safari&&r.kindle){i.browser="kindle",r.kindle=!0}if(r.safari&&r.silk){i.browser="silk",r.silk=!0}return r.name=i.browser,r}(window.navigator.userAgent)},{}],17:[function(e,t,r){"use strict";var i=e(8),s=e(21),n=e(25);e(26);t.exports=function(){function e(e,t){(t=t||window.googletag)&&t.cmd&&t.cmd.push(e)}function t(e){return e=e||window,e.googletag?e.googletag:(e.googletag=e.googletag||{},e.googletag.cmd=e.googletag.cmd||[],s.jsonp({async:!0,url:i.getProtocol()+"//www.googletagservices.com/tag/js/gpt.js",windowScope:e}),e.googletag)}function r(e){return void 0===e?i.getNearestEntity("googletag"):i.traverseContextTree(function(e){return e.hasOwnProperty("googletag")?e.googletag:null},null,e,e)}function o(e){return n.isObject(e)&&n.isFunction(e.getSlotElementId)&&n.isFunction(e.setTargeting)&&n.isFunction(e.getTargeting)&&n.isFunction(e.clearTargeting)}function a(){return googletag.pubads().getSlots().slice()}function d(e){for(var t=a(),r=0;r=0;d--)if(n=i[d],!(Number(n)>e)){s=Object.keys(y[n]).sort(r);for(var c=s.length-1;c>=0;c--)if(o=s[c],!(Number(o)>t)){a=y[n][o];break}if(a.length>0)break}return a}function d(){return x}function c(){return h}function p(){return v}function l(){return b}function u(e){b=e}var _,f,g,m,y,x,h,v,b;return function(){if(_=e,f=t.id,g=null,m=null,y=null,x=null,h=null,v=null,b=null,t.hasOwnProperty("divId")&&(g=RegExp(t.divId)),t.hasOwnProperty("adUnitPath")&&(m=RegExp(t.adUnitPath)),t.hasOwnProperty("sizeMapping")){var r,i,s,n=/^(\d+)x(\d+)$/;y={};for(var o in t.sizeMapping)t.sizeMapping.hasOwnProperty(o)&&(r=n.exec(o),i=r[1],s=r[2],y.hasOwnProperty(i)||(y[i]={}),y[i][s]=t.sizeMapping[o])}t.hasOwnProperty("targeting")&&(x=t.targeting),t.hasOwnProperty("deviceType")&&(h=t.deviceType),t.hasOwnProperty("position")&&(v=t.position),t.hasOwnProperty("type")&&(b=t.type),t=void 0}(),{getName:i,getId:s,getDivId:n,getAdUnitPath:o,getSizes:a,getTargeting:d,getDeviceType:c,getPosition:p,getType:l,setType:u}}e(26);i.SlotTypes={INSTREAM_VIDEO:"INSTREAM_VIDEO",BANNER:"BANNER"},t.exports=i},{}],19:[function(e,t,r){"use strict";function i(e){function t(e,t){for(var r=0;r=0;p--){for(var u=[],_=-1,f=0;fu[x]){u=g,_=f;break}if(g[x]=0){var h={};c[_]=!0,h.htSlot=i[_],s[p].firstPartyData&&(h.firstPartyData=s[p].firstPartyData),s[p].reference&&(h.ref=s[p].reference),r.push(h),s.splice(p,1)}}for(var v=i.length-1;v>=0;v--)c[v]&&i.splice(v,1)}return r}var l=[],u=[],_={divId:function(e,t){var r=t.getDivId();return r?r.test(e.divId)?1:0:-1},targeting:function(e,t){var i=t.getTargeting(),s=e.targeting;if(!i)return-1;for(var n=!1,a=0,d=0;d0?a+1:0},size:function(e,t){var r=t.getSizes(s.getViewportWidth(),s.getViewportHeight());if(!r)return-1;for(var i=0,n=0;n0&&r[0].price>e.price&&delete e.targeting.price)}),r.length>0){var i=a.randomSplice(r);i.hasOwnProperty("dealId")||t.push(i);for(var s=0;s-1&&e.splice(r,1)}function l(r,s,n){if("array"!==e(r))return!1;if(void 0!==s){if(!t(s))throw i("INVALID_TYPE","`type` must be a string");if("class"===s){if(!t(n))throw i("INVALID_TYPE","`className` must be a string");for(var o=0;o0;i--)t=Math.floor(Math.random()*(i+1)),r=e[i],e[i]=e[t],e[t]=r;return e}function f(e){return JSON.parse(JSON.stringify(e))}function g(){for(var e=Array.prototype.slice.call(arguments),t={},r=0;r=1<<28)throw new RangeError("repeat count must not overflow maximum string size");for(var i="",s=0;s>=0,r=String(r||" "),e.length>t?String(e):(t-=e.length,t>r.length&&(r+=v(r,t/r.length)),r.slice(0,t)+String(e))}function I(e,t,r){return t>>=0,r=String(r||" "),e.length>t?String(e):(t-=e.length,t>r.length&&(r+=v(r,t/r.length)),String(e)+r.slice(0,t))}function S(e,t){t=t||null;try{return eval.call(t,e)}catch(e){}return null}function z(e,t,r){r=r||null;try{return eval.call(r,e+"("+t.join()+")")}catch(e){}return null}function D(){for(var e=Array.prototype.slice.call(arguments),t=e[0],r=1;r=0;f--){var g=e.Layers[f].layerId,m=c[g](e.Layers[f].configs);m.getDirectInterface()&&(r.Layers=a.mergeObjects(r.Layers,m.getDirectInterface())),_&&m.setNext(_.execute),_=m}}(),{getDirectInterface:t}}var s=e(13),n=e(18),o=e(58),a=e(25),d=(e(26),[{name:"EventsService",constructor:e(49)},{name:"GptService",constructor:e(54)},{name:"PublisherSonarService",constructor:e(55)},{name:"TimerService",constructor:e(56)},{name:"ComplianceService",constructor:e(53)},{name:"RenderService",constructor:e(52)},{name:"AdaptiveTimeoutService",constructor:e(48)},{name:"KeyValueService",constructor:e(51)}]),c={GptLayer:e(1),MediationLayer:e(4),PartnersLayer:e(5),IdentityLayer:e(2),VideoInterfaceLayer:e(6)};t.exports=i},{}],28:[function(e,t,r){"use strict";function i(){function e(e){for(var t="",r=0;rh&&(y=h),y}var c,p,l,u=6048e5,_=100,f=.8,g=3,m={IPR:0,DONE:1},y={hs_session_start:function(e){var t=e.sessionId;c.hasOwnProperty(t)&&l[t]===m.IPR||(c[t]=o.now(),l[t]=m.IPR)},hs_session_end:function(e){var t=e.sessionId;if(c[t]&&l[t]===m.IPR){l[t]=m.DONE;var r=s.getData(i.STORAGE_KEY_NAME);null!==r&&r.hasOwnProperty("prt")&&a.isArray(r.prt)?(r=r.prt,r.length>=5&&r.pop()):r=[],r.unshift({sId:t,sst:c[t],rt:p[t]||{}}),s.setData(i.STORAGE_KEY_NAME,{prt:r},u),delete p[t],delete c[t]}},partner_request_complete:function(e){t("partner_request_complete",e)}};return function(){for(var e in y)y.hasOwnProperty(e)&&n.services.EventsService.on(e,y[e]);l={},p={},c={}}(),{getTimeout:d}}var s=e(9),n=e(58),o=e(24),a=e(25);i.STORAGE_KEY_NAME="lib_mem",t.exports=i},{}],29:[function(e,t,r){"use strict";function i(e,t){function r(e){var r;r=t.pageDemandHistory;for(var i in r)r.hasOwnProperty(i)&&(window.googletag.pubads().clearTargeting(i),delete r[i]);r=t.gSlotDemandHistory;for(var s=0;s=0;_--)t.gSlotDisplayHistory.hasOwnProperty(u[_].getSlotElementId())&&u.splice(_,1);if(!u.length)return i.done=!0,g(i),a.resolve();for(var m=[],x=0;x=0;p--)o.isGSlot(e[p])||e.splice(p,1);if(t.requestArchitecture===l.RequestArchitectures.MRA)for(var f=e.length-1;f>=0;f--)t.gSlotDisplayHistory.hasOwnProperty(e[f].getSlotElementId())||e.splice(f,1);if(!e.length)return i(c,d),u.resolve();for(var x=[],h=0;h0)for(var s=0;s0&&(_.kw+=","+b.toString()),c.length>1&&(_.alt_size_ids=c.slice(1).join(",")),{url:D,data:_,callbackId:i}}function b(e,t,i){var o={sessionId:e,statsId:z.statsId},a=!1,d=t.ads||[];d.length||(i[0].pass=!0);for(var p=0;p