“)),[e.width,e.height]=g[o.size_id].split(“x”).map((e=>Number(e)))),e.rubiconTargeting=(Array.isArray(o.targeting)?o.targeting:[]).reduce(((e,t)=>(e[t.key]=t.values[0],e)),{rpfl_elemid:s.adUnitCode}),t.push(e)}else(0,r.logError)(“Rubicon: bidRequest undefined at index position:”.concat(n),i,e);var p,u;return t}),[]).sort(((e,t)=>(t.cpm||0)-(e.cpm||0)))},getUserSyncs:function(e,t,i,o){if(!C&&e.iframeEnabled){let e={};return i&&(“boolean”==typeof i.gdprApplies&&(e.gdpr=Number(i.gdprApplies)),”string”==typeof i.consentString&&(e.gdpr_consent=i.consentString)),o&&(e.us_privacy=encodeURIComponent(o)),e=Object.keys(e).length?”?”.concat((0,r.formatQS)(e)):””,C=!0,{type:”iframe”,url:”https://”.concat(m.syncHost||”eus”,”.rubiconproject.com/usync.html”)+e}}},transformBidParams:function(e,t){return(0,r.convertTypes)({accountId:”number”,siteId:”number”,zoneId:”number”},e)}};function x(e,t){let i;return i=e.params.referrer?e.params.referrer:t.refererInfo.page,e.params.secure?i.replace(/^http:/i,”https:”):i}function b(e){const t=document.getElementById(e.adUnitCode);!function(e){const t=e.querySelector(“div[id^=’google_ads’]”);t&&t.style.setProperty(“display”,”none”)}(t),function(e){const t=e.querySelector(“script[id^=’sas_script’]”),i=t&&t.nextSibling;i&&”iframe”===i.localName&&i.style.setProperty(“display”,”none”)}(t);const i=e.renderer.getConfig();e.renderer.push((()=>{window.MagniteApex.renderAd({width:e.width,height:e.height,vastUrl:e.vastUrl,placement:{attachTo:t,align:i.align||”center”,position:i.position||”append”},closeButton:i.closeButton||!1,label:i.label||void 0,collapse:i.collapse||!0})}))}function y(e,t){let i=e.params;if(“video”===t){let t=[];return i.video&&i.video.playerWidth&&i.video.playerHeight?t=[i.video.playerWidth,i.video.playerHeight]:Array.isArray((0,o.Z)(e,”mediaTypes.video.playerSize”))&&1===e.mediaTypes.video.playerSize.length?t=e.mediaTypes.video.playerSize[0]:Array.isArray(e.sizes)&&e.sizes.length>0&&Array.isArray(e.sizes[0])&&e.sizes[0].length>1&&(t=e.sizes[0]),t}let n=[];return Array.isArray(i.sizes)?n=i.sizes:void 0!==(0,o.Z)(e,”mediaTypes.banner.sizes”)?n=h(e.mediaTypes.banner.sizes):Array.isArray(e.sizes)&&e.sizes.length>0?n=h(e.sizes):(0,r.logWarn)(“Rubicon: no sizes are setup or found”),function(e){const t=[15,2,9];return e.sort(((e,i)=>{const r=t.indexOf(e),o=t.indexOf(i);return r>-1||o>-1?-1===r?1:-1===o?-1:r-o:e-i}))}(n)}function v(e,t,i){const n={user:{ext:{data:{…e.params.visitor}}},site:{ext:{data:{…e.params.inventory}}}};e.params.keywords&&(n.site.keywords=(0,r.isArray)(e.params.keywords)?e.params.keywords.join(“,”):e.params.keywords);let a=(0,r.mergeDeep)({},e.ortb2||{},n),s=(0,o.Z)(e.ortb2Imp,”ext”)||{},c=(0,o.Z)(e.ortb2Imp,”ext.data”)||{};const p=(0,o.Z)(e,”ortb2Imp.ext.gpid”),u={user:[4],site:[1,2,5,6]},l={user:”tg_v.”,site:”tg_i.”,adserver:”tg_i.dfp_ad_unit_code”,pbadslot:”tg_i.pbadslot”,keywords:”kw”},m=function(e,t,n){let a=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],s=function(e,t,i){return”data”===t&&Array.isArray(e)?e.filter((e=>e.segment&&(0,o.Z)(e,”ext.segtax”)&&u[i]&&-1!==u[i].indexOf((0,o.Z)(e,”ext.segtax”)))).map((e=>{let t=e.segment.filter((e=>e.id)).reduce(((e,t)=>(e.push(t.id),e)),[]);if(t.length>0)return t.toString()})).toString():”object”==typeof e&&!Array.isArray(e)||void 0===e?void 0:Array.isArray(e)?e.filter((e=>{if(“object”!=typeof e&&void 0!==e)return e.toString();(0,r.logWarn)(“Rubicon: Filtered value: “,e,”for
Month: August 2023
“)),[e.width,e.height]=g[o.size_id].split(“x”).map((e=>Number(e)))),e.rubiconTargeting=(Array.isArray(o.targeting)?o.targeting:[]).reduce(((e,t)=>(e[t.key]=t.values[0],e)),{rpfl_elemid:s.adUnitCode}),t.push(e)}else(0,r.logError)(“Rubicon: bidRequest undefined at index position:”.concat(n),i,e);var p,u;return t}),[]).sort(((e,t)=>(t.cpm||0)-(e.cpm||0)))},getUserSyncs:function(e,t,i,o){if(!C&&e.iframeEnabled){let e={};return i&&(“boolean”==typeof i.gdprApplies&&(e.gdpr=Number(i.gdprApplies)),”string”==typeof i.consentString&&(e.gdpr_consent=i.consentString)),o&&(e.us_privacy=encodeURIComponent(o)),e=Object.keys(e).length?”?”.concat((0,r.formatQS)(e)):””,C=!0,{type:”iframe”,url:”https://”.concat(m.syncHost||”eus”,”.rubiconproject.com/usync.html”)+e}}},transformBidParams:function(e,t){return(0,r.convertTypes)({accountId:”number”,siteId:”number”,zoneId:”number”},e)}};function x(e,t){let i;return i=e.params.referrer?e.params.referrer:t.refererInfo.page,e.params.secure?i.replace(/^http:/i,”https:”):i}function b(e){const t=document.getElementById(e.adUnitCode);!function(e){const t=e.querySelector(“div[id^=’google_ads’]”);t&&t.style.setProperty(“display”,”none”)}(t),function(e){const t=e.querySelector(“script[id^=’sas_script’]”),i=t&&t.nextSibling;i&&”iframe”===i.localName&&i.style.setProperty(“display”,”none”)}(t);const i=e.renderer.getConfig();e.renderer.push((()=>{window.MagniteApex.renderAd({width:e.width,height:e.height,vastUrl:e.vastUrl,placement:{attachTo:t,align:i.align||”center”,position:i.position||”append”},closeButton:i.closeButton||!1,label:i.label||void 0,collapse:i.collapse||!0})}))}function y(e,t){let i=e.params;if(“video”===t){let t=[];return i.video&&i.video.playerWidth&&i.video.playerHeight?t=[i.video.playerWidth,i.video.playerHeight]:Array.isArray((0,o.Z)(e,”mediaTypes.video.playerSize”))&&1===e.mediaTypes.video.playerSize.length?t=e.mediaTypes.video.playerSize[0]:Array.isArray(e.sizes)&&e.sizes.length>0&&Array.isArray(e.sizes[0])&&e.sizes[0].length>1&&(t=e.sizes[0]),t}let n=[];return Array.isArray(i.sizes)?n=i.sizes:void 0!==(0,o.Z)(e,”mediaTypes.banner.sizes”)?n=h(e.mediaTypes.banner.sizes):Array.isArray(e.sizes)&&e.sizes.length>0?n=h(e.sizes):(0,r.logWarn)(“Rubicon: no sizes are setup or found”),function(e){const t=[15,2,9];return e.sort(((e,i)=>{const r=t.indexOf(e),o=t.indexOf(i);return r>-1||o>-1?-1===r?1:-1===o?-1:r-o:e-i}))}(n)}function v(e,t,i){const n={user:{ext:{data:{…e.params.visitor}}},site:{ext:{data:{…e.params.inventory}}}};e.params.keywords&&(n.site.keywords=(0,r.isArray)(e.params.keywords)?e.params.keywords.join(“,”):e.params.keywords);let a=(0,r.mergeDeep)({},e.ortb2||{},n),s=(0,o.Z)(e.ortb2Imp,”ext”)||{},c=(0,o.Z)(e.ortb2Imp,”ext.data”)||{};const p=(0,o.Z)(e,”ortb2Imp.ext.gpid”),u={user:[4],site:[1,2,5,6]},l={user:”tg_v.”,site:”tg_i.”,adserver:”tg_i.dfp_ad_unit_code”,pbadslot:”tg_i.pbadslot”,keywords:”kw”},m=function(e,t,n){let a=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],s=function(e,t,i){return”data”===t&&Array.isArray(e)?e.filter((e=>e.segment&&(0,o.Z)(e,”ext.segtax”)&&u[i]&&-1!==u[i].indexOf((0,o.Z)(e,”ext.segtax”)))).map((e=>{let t=e.segment.filter((e=>e.id)).reduce(((e,t)=>(e.push(t.id),e)),[]);if(t.length>0)return t.toString()})).toString():”object”==typeof e&&!Array.isArray(e)||void 0===e?void 0:Array.isArray(e)?e.filter((e=>{if(“object”!=typeof e&&void 0!==e)return e.toString();(0,r.logWarn)(“Rubicon: Filtered value: “,e,”for
“)),[e.width,e.height]=g[o.size_id].split(“x”).map((e=>Number(e)))),e.rubiconTargeting=(Array.isArray(o.targeting)?o.targeting:[]).reduce(((e,t)=>(e[t.key]=t.values[0],e)),{rpfl_elemid:s.adUnitCode}),t.push(e)}else(0,r.logError)(“Rubicon: bidRequest undefined at index position:”.concat(n),i,e);var p,u;return t}),[]).sort(((e,t)=>(t.cpm||0)-(e.cpm||0)))},getUserSyncs:function(e,t,i,o){if(!C&&e.iframeEnabled){let e={};return i&&(“boolean”==typeof i.gdprApplies&&(e.gdpr=Number(i.gdprApplies)),”string”==typeof i.consentString&&(e.gdpr_consent=i.consentString)),o&&(e.us_privacy=encodeURIComponent(o)),e=Object.keys(e).length?”?”.concat((0,r.formatQS)(e)):””,C=!0,{type:”iframe”,url:”https://”.concat(m.syncHost||”eus”,”.rubiconproject.com/usync.html”)+e}}},transformBidParams:function(e,t){return(0,r.convertTypes)({accountId:”number”,siteId:”number”,zoneId:”number”},e)}};function x(e,t){let i;return i=e.params.referrer?e.params.referrer:t.refererInfo.page,e.params.secure?i.replace(/^http:/i,”https:”):i}function b(e){const t=document.getElementById(e.adUnitCode);!function(e){const t=e.querySelector(“div[id^=’google_ads’]”);t&&t.style.setProperty(“display”,”none”)}(t),function(e){const t=e.querySelector(“script[id^=’sas_script’]”),i=t&&t.nextSibling;i&&”iframe”===i.localName&&i.style.setProperty(“display”,”none”)}(t);const i=e.renderer.getConfig();e.renderer.push((()=>{window.MagniteApex.renderAd({width:e.width,height:e.height,vastUrl:e.vastUrl,placement:{attachTo:t,align:i.align||”center”,position:i.position||”append”},closeButton:i.closeButton||!1,label:i.label||void 0,collapse:i.collapse||!0})}))}function y(e,t){let i=e.params;if(“video”===t){let t=[];return i.video&&i.video.playerWidth&&i.video.playerHeight?t=[i.video.playerWidth,i.video.playerHeight]:Array.isArray((0,o.Z)(e,”mediaTypes.video.playerSize”))&&1===e.mediaTypes.video.playerSize.length?t=e.mediaTypes.video.playerSize[0]:Array.isArray(e.sizes)&&e.sizes.length>0&&Array.isArray(e.sizes[0])&&e.sizes[0].length>1&&(t=e.sizes[0]),t}let n=[];return Array.isArray(i.sizes)?n=i.sizes:void 0!==(0,o.Z)(e,”mediaTypes.banner.sizes”)?n=h(e.mediaTypes.banner.sizes):Array.isArray(e.sizes)&&e.sizes.length>0?n=h(e.sizes):(0,r.logWarn)(“Rubicon: no sizes are setup or found”),function(e){const t=[15,2,9];return e.sort(((e,i)=>{const r=t.indexOf(e),o=t.indexOf(i);return r>-1||o>-1?-1===r?1:-1===o?-1:r-o:e-i}))}(n)}function v(e,t,i){const n={user:{ext:{data:{…e.params.visitor}}},site:{ext:{data:{…e.params.inventory}}}};e.params.keywords&&(n.site.keywords=(0,r.isArray)(e.params.keywords)?e.params.keywords.join(“,”):e.params.keywords);let a=(0,r.mergeDeep)({},e.ortb2||{},n),s=(0,o.Z)(e.ortb2Imp,”ext”)||{},c=(0,o.Z)(e.ortb2Imp,”ext.data”)||{};const p=(0,o.Z)(e,”ortb2Imp.ext.gpid”),u={user:[4],site:[1,2,5,6]},l={user:”tg_v.”,site:”tg_i.”,adserver:”tg_i.dfp_ad_unit_code”,pbadslot:”tg_i.pbadslot”,keywords:”kw”},m=function(e,t,n){let a=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],s=function(e,t,i){return”data”===t&&Array.isArray(e)?e.filter((e=>e.segment&&(0,o.Z)(e,”ext.segtax”)&&u[i]&&-1!==u[i].indexOf((0,o.Z)(e,”ext.segtax”)))).map((e=>{let t=e.segment.filter((e=>e.id)).reduce(((e,t)=>(e.push(t.id),e)),[]);if(t.length>0)return t.toString()})).toString():”object”==typeof e&&!Array.isArray(e)||void 0===e?void 0:Array.isArray(e)?e.filter((e=>{if(“object”!=typeof e&&void 0!==e)return e.toString();(0,r.logWarn)(“Rubicon: Filtered value: “,e,”for
“)),[e.width,e.height]=g[o.size_id].split(“x”).map((e=>Number(e)))),e.rubiconTargeting=(Array.isArray(o.targeting)?o.targeting:[]).reduce(((e,t)=>(e[t.key]=t.values[0],e)),{rpfl_elemid:s.adUnitCode}),t.push(e)}else(0,r.logError)(“Rubicon: bidRequest undefined at index position:”.concat(n),i,e);var p,u;return t}),[]).sort(((e,t)=>(t.cpm||0)-(e.cpm||0)))},getUserSyncs:function(e,t,i,o){if(!C&&e.iframeEnabled){let e={};return i&&(“boolean”==typeof i.gdprApplies&&(e.gdpr=Number(i.gdprApplies)),”string”==typeof i.consentString&&(e.gdpr_consent=i.consentString)),o&&(e.us_privacy=encodeURIComponent(o)),e=Object.keys(e).length?”?”.concat((0,r.formatQS)(e)):””,C=!0,{type:”iframe”,url:”https://”.concat(m.syncHost||”eus”,”.rubiconproject.com/usync.html”)+e}}},transformBidParams:function(e,t){return(0,r.convertTypes)({accountId:”number”,siteId:”number”,zoneId:”number”},e)}};function x(e,t){let i;return i=e.params.referrer?e.params.referrer:t.refererInfo.page,e.params.secure?i.replace(/^http:/i,”https:”):i}function b(e){const t=document.getElementById(e.adUnitCode);!function(e){const t=e.querySelector(“div[id^=’google_ads’]”);t&&t.style.setProperty(“display”,”none”)}(t),function(e){const t=e.querySelector(“script[id^=’sas_script’]”),i=t&&t.nextSibling;i&&”iframe”===i.localName&&i.style.setProperty(“display”,”none”)}(t);const i=e.renderer.getConfig();e.renderer.push((()=>{window.MagniteApex.renderAd({width:e.width,height:e.height,vastUrl:e.vastUrl,placement:{attachTo:t,align:i.align||”center”,position:i.position||”append”},closeButton:i.closeButton||!1,label:i.label||void 0,collapse:i.collapse||!0})}))}function y(e,t){let i=e.params;if(“video”===t){let t=[];return i.video&&i.video.playerWidth&&i.video.playerHeight?t=[i.video.playerWidth,i.video.playerHeight]:Array.isArray((0,o.Z)(e,”mediaTypes.video.playerSize”))&&1===e.mediaTypes.video.playerSize.length?t=e.mediaTypes.video.playerSize[0]:Array.isArray(e.sizes)&&e.sizes.length>0&&Array.isArray(e.sizes[0])&&e.sizes[0].length>1&&(t=e.sizes[0]),t}let n=[];return Array.isArray(i.sizes)?n=i.sizes:void 0!==(0,o.Z)(e,”mediaTypes.banner.sizes”)?n=h(e.mediaTypes.banner.sizes):Array.isArray(e.sizes)&&e.sizes.length>0?n=h(e.sizes):(0,r.logWarn)(“Rubicon: no sizes are setup or found”),function(e){const t=[15,2,9];return e.sort(((e,i)=>{const r=t.indexOf(e),o=t.indexOf(i);return r>-1||o>-1?-1===r?1:-1===o?-1:r-o:e-i}))}(n)}function v(e,t,i){const n={user:{ext:{data:{…e.params.visitor}}},site:{ext:{data:{…e.params.inventory}}}};e.params.keywords&&(n.site.keywords=(0,r.isArray)(e.params.keywords)?e.params.keywords.join(“,”):e.params.keywords);let a=(0,r.mergeDeep)({},e.ortb2||{},n),s=(0,o.Z)(e.ortb2Imp,”ext”)||{},c=(0,o.Z)(e.ortb2Imp,”ext.data”)||{};const p=(0,o.Z)(e,”ortb2Imp.ext.gpid”),u={user:[4],site:[1,2,5,6]},l={user:”tg_v.”,site:”tg_i.”,adserver:”tg_i.dfp_ad_unit_code”,pbadslot:”tg_i.pbadslot”,keywords:”kw”},m=function(e,t,n){let a=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],s=function(e,t,i){return”data”===t&&Array.isArray(e)?e.filter((e=>e.segment&&(0,o.Z)(e,”ext.segtax”)&&u[i]&&-1!==u[i].indexOf((0,o.Z)(e,”ext.segtax”)))).map((e=>{let t=e.segment.filter((e=>e.id)).reduce(((e,t)=>(e.push(t.id),e)),[]);if(t.length>0)return t.toString()})).toString():”object”==typeof e&&!Array.isArray(e)||void 0===e?void 0:Array.isArray(e)?e.filter((e=>{if(“object”!=typeof e&&void 0!==e)return e.toString();(0,r.logWarn)(“Rubicon: Filtered value: “,e,”for
“)),[e.width,e.height]=g[o.size_id].split(“x”).map((e=>Number(e)))),e.rubiconTargeting=(Array.isArray(o.targeting)?o.targeting:[]).reduce(((e,t)=>(e[t.key]=t.values[0],e)),{rpfl_elemid:s.adUnitCode}),t.push(e)}else(0,r.logError)(“Rubicon: bidRequest undefined at index position:”.concat(n),i,e);var p,u;return t}),[]).sort(((e,t)=>(t.cpm||0)-(e.cpm||0)))},getUserSyncs:function(e,t,i,o){if(!C&&e.iframeEnabled){let e={};return i&&(“boolean”==typeof i.gdprApplies&&(e.gdpr=Number(i.gdprApplies)),”string”==typeof i.consentString&&(e.gdpr_consent=i.consentString)),o&&(e.us_privacy=encodeURIComponent(o)),e=Object.keys(e).length?”?”.concat((0,r.formatQS)(e)):””,C=!0,{type:”iframe”,url:”https://”.concat(m.syncHost||”eus”,”.rubiconproject.com/usync.html”)+e}}},transformBidParams:function(e,t){return(0,r.convertTypes)({accountId:”number”,siteId:”number”,zoneId:”number”},e)}};function x(e,t){let i;return i=e.params.referrer?e.params.referrer:t.refererInfo.page,e.params.secure?i.replace(/^http:/i,”https:”):i}function b(e){const t=document.getElementById(e.adUnitCode);!function(e){const t=e.querySelector(“div[id^=’google_ads’]”);t&&t.style.setProperty(“display”,”none”)}(t),function(e){const t=e.querySelector(“script[id^=’sas_script’]”),i=t&&t.nextSibling;i&&”iframe”===i.localName&&i.style.setProperty(“display”,”none”)}(t);const i=e.renderer.getConfig();e.renderer.push((()=>{window.MagniteApex.renderAd({width:e.width,height:e.height,vastUrl:e.vastUrl,placement:{attachTo:t,align:i.align||”center”,position:i.position||”append”},closeButton:i.closeButton||!1,label:i.label||void 0,collapse:i.collapse||!0})}))}function y(e,t){let i=e.params;if(“video”===t){let t=[];return i.video&&i.video.playerWidth&&i.video.playerHeight?t=[i.video.playerWidth,i.video.playerHeight]:Array.isArray((0,o.Z)(e,”mediaTypes.video.playerSize”))&&1===e.mediaTypes.video.playerSize.length?t=e.mediaTypes.video.playerSize[0]:Array.isArray(e.sizes)&&e.sizes.length>0&&Array.isArray(e.sizes[0])&&e.sizes[0].length>1&&(t=e.sizes[0]),t}let n=[];return Array.isArray(i.sizes)?n=i.sizes:void 0!==(0,o.Z)(e,”mediaTypes.banner.sizes”)?n=h(e.mediaTypes.banner.sizes):Array.isArray(e.sizes)&&e.sizes.length>0?n=h(e.sizes):(0,r.logWarn)(“Rubicon: no sizes are setup or found”),function(e){const t=[15,2,9];return e.sort(((e,i)=>{const r=t.indexOf(e),o=t.indexOf(i);return r>-1||o>-1?-1===r?1:-1===o?-1:r-o:e-i}))}(n)}function v(e,t,i){const n={user:{ext:{data:{…e.params.visitor}}},site:{ext:{data:{…e.params.inventory}}}};e.params.keywords&&(n.site.keywords=(0,r.isArray)(e.params.keywords)?e.params.keywords.join(“,”):e.params.keywords);let a=(0,r.mergeDeep)({},e.ortb2||{},n),s=(0,o.Z)(e.ortb2Imp,”ext”)||{},c=(0,o.Z)(e.ortb2Imp,”ext.data”)||{};const p=(0,o.Z)(e,”ortb2Imp.ext.gpid”),u={user:[4],site:[1,2,5,6]},l={user:”tg_v.”,site:”tg_i.”,adserver:”tg_i.dfp_ad_unit_code”,pbadslot:”tg_i.pbadslot”,keywords:”kw”},m=function(e,t,n){let a=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],s=function(e,t,i){return”data”===t&&Array.isArray(e)?e.filter((e=>e.segment&&(0,o.Z)(e,”ext.segtax”)&&u[i]&&-1!==u[i].indexOf((0,o.Z)(e,”ext.segtax”)))).map((e=>{let t=e.segment.filter((e=>e.id)).reduce(((e,t)=>(e.push(t.id),e)),[]);if(t.length>0)return t.toString()})).toString():”object”==typeof e&&!Array.isArray(e)||void 0===e?void 0:Array.isArray(e)?e.filter((e=>{if(“object”!=typeof e&&void 0!==e)return e.toString();(0,r.logWarn)(“Rubicon: Filtered value: “,e,”for
“)),[e.width,e.height]=g[o.size_id].split(“x”).map((e=>Number(e)))),e.rubiconTargeting=(Array.isArray(o.targeting)?o.targeting:[]).reduce(((e,t)=>(e[t.key]=t.values[0],e)),{rpfl_elemid:s.adUnitCode}),t.push(e)}else(0,r.logError)(“Rubicon: bidRequest undefined at index position:”.concat(n),i,e);var p,u;return t}),[]).sort(((e,t)=>(t.cpm||0)-(e.cpm||0)))},getUserSyncs:function(e,t,i,o){if(!C&&e.iframeEnabled){let e={};return i&&(“boolean”==typeof i.gdprApplies&&(e.gdpr=Number(i.gdprApplies)),”string”==typeof i.consentString&&(e.gdpr_consent=i.consentString)),o&&(e.us_privacy=encodeURIComponent(o)),e=Object.keys(e).length?”?”.concat((0,r.formatQS)(e)):””,C=!0,{type:”iframe”,url:”https://”.concat(m.syncHost||”eus”,”.rubiconproject.com/usync.html”)+e}}},transformBidParams:function(e,t){return(0,r.convertTypes)({accountId:”number”,siteId:”number”,zoneId:”number”},e)}};function x(e,t){let i;return i=e.params.referrer?e.params.referrer:t.refererInfo.page,e.params.secure?i.replace(/^http:/i,”https:”):i}function b(e){const t=document.getElementById(e.adUnitCode);!function(e){const t=e.querySelector(“div[id^=’google_ads’]”);t&&t.style.setProperty(“display”,”none”)}(t),function(e){const t=e.querySelector(“script[id^=’sas_script’]”),i=t&&t.nextSibling;i&&”iframe”===i.localName&&i.style.setProperty(“display”,”none”)}(t);const i=e.renderer.getConfig();e.renderer.push((()=>{window.MagniteApex.renderAd({width:e.width,height:e.height,vastUrl:e.vastUrl,placement:{attachTo:t,align:i.align||”center”,position:i.position||”append”},closeButton:i.closeButton||!1,label:i.label||void 0,collapse:i.collapse||!0})}))}function y(e,t){let i=e.params;if(“video”===t){let t=[];return i.video&&i.video.playerWidth&&i.video.playerHeight?t=[i.video.playerWidth,i.video.playerHeight]:Array.isArray((0,o.Z)(e,”mediaTypes.video.playerSize”))&&1===e.mediaTypes.video.playerSize.length?t=e.mediaTypes.video.playerSize[0]:Array.isArray(e.sizes)&&e.sizes.length>0&&Array.isArray(e.sizes[0])&&e.sizes[0].length>1&&(t=e.sizes[0]),t}let n=[];return Array.isArray(i.sizes)?n=i.sizes:void 0!==(0,o.Z)(e,”mediaTypes.banner.sizes”)?n=h(e.mediaTypes.banner.sizes):Array.isArray(e.sizes)&&e.sizes.length>0?n=h(e.sizes):(0,r.logWarn)(“Rubicon: no sizes are setup or found”),function(e){const t=[15,2,9];return e.sort(((e,i)=>{const r=t.indexOf(e),o=t.indexOf(i);return r>-1||o>-1?-1===r?1:-1===o?-1:r-o:e-i}))}(n)}function v(e,t,i){const n={user:{ext:{data:{…e.params.visitor}}},site:{ext:{data:{…e.params.inventory}}}};e.params.keywords&&(n.site.keywords=(0,r.isArray)(e.params.keywords)?e.params.keywords.join(“,”):e.params.keywords);let a=(0,r.mergeDeep)({},e.ortb2||{},n),s=(0,o.Z)(e.ortb2Imp,”ext”)||{},c=(0,o.Z)(e.ortb2Imp,”ext.data”)||{};const p=(0,o.Z)(e,”ortb2Imp.ext.gpid”),u={user:[4],site:[1,2,5,6]},l={user:”tg_v.”,site:”tg_i.”,adserver:”tg_i.dfp_ad_unit_code”,pbadslot:”tg_i.pbadslot”,keywords:”kw”},m=function(e,t,n){let a=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],s=function(e,t,i){return”data”===t&&Array.isArray(e)?e.filter((e=>e.segment&&(0,o.Z)(e,”ext.segtax”)&&u[i]&&-1!==u[i].indexOf((0,o.Z)(e,”ext.segtax”)))).map((e=>{let t=e.segment.filter((e=>e.id)).reduce(((e,t)=>(e.push(t.id),e)),[]);if(t.length>0)return t.toString()})).toString():”object”==typeof e&&!Array.isArray(e)||void 0===e?void 0:Array.isArray(e)?e.filter((e=>{if(“object”!=typeof e&&void 0!==e)return e.toString();(0,r.logWarn)(“Rubicon: Filtered value: “,e,”for
“)),[e.width,e.height]=g[o.size_id].split(“x”).map((e=>Number(e)))),e.rubiconTargeting=(Array.isArray(o.targeting)?o.targeting:[]).reduce(((e,t)=>(e[t.key]=t.values[0],e)),{rpfl_elemid:s.adUnitCode}),t.push(e)}else(0,r.logError)(“Rubicon: bidRequest undefined at index position:”.concat(n),i,e);var p,u;return t}),[]).sort(((e,t)=>(t.cpm||0)-(e.cpm||0)))},getUserSyncs:function(e,t,i,o){if(!C&&e.iframeEnabled){let e={};return i&&(“boolean”==typeof i.gdprApplies&&(e.gdpr=Number(i.gdprApplies)),”string”==typeof i.consentString&&(e.gdpr_consent=i.consentString)),o&&(e.us_privacy=encodeURIComponent(o)),e=Object.keys(e).length?”?”.concat((0,r.formatQS)(e)):””,C=!0,{type:”iframe”,url:”https://”.concat(m.syncHost||”eus”,”.rubiconproject.com/usync.html”)+e}}},transformBidParams:function(e,t){return(0,r.convertTypes)({accountId:”number”,siteId:”number”,zoneId:”number”},e)}};function x(e,t){let i;return i=e.params.referrer?e.params.referrer:t.refererInfo.page,e.params.secure?i.replace(/^http:/i,”https:”):i}function b(e){const t=document.getElementById(e.adUnitCode);!function(e){const t=e.querySelector(“div[id^=’google_ads’]”);t&&t.style.setProperty(“display”,”none”)}(t),function(e){const t=e.querySelector(“script[id^=’sas_script’]”),i=t&&t.nextSibling;i&&”iframe”===i.localName&&i.style.setProperty(“display”,”none”)}(t);const i=e.renderer.getConfig();e.renderer.push((()=>{window.MagniteApex.renderAd({width:e.width,height:e.height,vastUrl:e.vastUrl,placement:{attachTo:t,align:i.align||”center”,position:i.position||”append”},closeButton:i.closeButton||!1,label:i.label||void 0,collapse:i.collapse||!0})}))}function y(e,t){let i=e.params;if(“video”===t){let t=[];return i.video&&i.video.playerWidth&&i.video.playerHeight?t=[i.video.playerWidth,i.video.playerHeight]:Array.isArray((0,o.Z)(e,”mediaTypes.video.playerSize”))&&1===e.mediaTypes.video.playerSize.length?t=e.mediaTypes.video.playerSize[0]:Array.isArray(e.sizes)&&e.sizes.length>0&&Array.isArray(e.sizes[0])&&e.sizes[0].length>1&&(t=e.sizes[0]),t}let n=[];return Array.isArray(i.sizes)?n=i.sizes:void 0!==(0,o.Z)(e,”mediaTypes.banner.sizes”)?n=h(e.mediaTypes.banner.sizes):Array.isArray(e.sizes)&&e.sizes.length>0?n=h(e.sizes):(0,r.logWarn)(“Rubicon: no sizes are setup or found”),function(e){const t=[15,2,9];return e.sort(((e,i)=>{const r=t.indexOf(e),o=t.indexOf(i);return r>-1||o>-1?-1===r?1:-1===o?-1:r-o:e-i}))}(n)}function v(e,t,i){const n={user:{ext:{data:{…e.params.visitor}}},site:{ext:{data:{…e.params.inventory}}}};e.params.keywords&&(n.site.keywords=(0,r.isArray)(e.params.keywords)?e.params.keywords.join(“,”):e.params.keywords);let a=(0,r.mergeDeep)({},e.ortb2||{},n),s=(0,o.Z)(e.ortb2Imp,”ext”)||{},c=(0,o.Z)(e.ortb2Imp,”ext.data”)||{};const p=(0,o.Z)(e,”ortb2Imp.ext.gpid”),u={user:[4],site:[1,2,5,6]},l={user:”tg_v.”,site:”tg_i.”,adserver:”tg_i.dfp_ad_unit_code”,pbadslot:”tg_i.pbadslot”,keywords:”kw”},m=function(e,t,n){let a=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],s=function(e,t,i){return”data”===t&&Array.isArray(e)?e.filter((e=>e.segment&&(0,o.Z)(e,”ext.segtax”)&&u[i]&&-1!==u[i].indexOf((0,o.Z)(e,”ext.segtax”)))).map((e=>{let t=e.segment.filter((e=>e.id)).reduce(((e,t)=>(e.push(t.id),e)),[]);if(t.length>0)return t.toString()})).toString():”object”==typeof e&&!Array.isArray(e)||void 0===e?void 0:Array.isArray(e)?e.filter((e=>{if(“object”!=typeof e&&void 0!==e)return e.toString();(0,r.logWarn)(“Rubicon: Filtered value: “,e,”for
“)),[e.width,e.height]=g[o.size_id].split(“x”).map((e=>Number(e)))),e.rubiconTargeting=(Array.isArray(o.targeting)?o.targeting:[]).reduce(((e,t)=>(e[t.key]=t.values[0],e)),{rpfl_elemid:s.adUnitCode}),t.push(e)}else(0,r.logError)(“Rubicon: bidRequest undefined at index position:”.concat(n),i,e);var p,u;return t}),[]).sort(((e,t)=>(t.cpm||0)-(e.cpm||0)))},getUserSyncs:function(e,t,i,o){if(!C&&e.iframeEnabled){let e={};return i&&(“boolean”==typeof i.gdprApplies&&(e.gdpr=Number(i.gdprApplies)),”string”==typeof i.consentString&&(e.gdpr_consent=i.consentString)),o&&(e.us_privacy=encodeURIComponent(o)),e=Object.keys(e).length?”?”.concat((0,r.formatQS)(e)):””,C=!0,{type:”iframe”,url:”https://”.concat(m.syncHost||”eus”,”.rubiconproject.com/usync.html”)+e}}},transformBidParams:function(e,t){return(0,r.convertTypes)({accountId:”number”,siteId:”number”,zoneId:”number”},e)}};function x(e,t){let i;return i=e.params.referrer?e.params.referrer:t.refererInfo.page,e.params.secure?i.replace(/^http:/i,”https:”):i}function b(e){const t=document.getElementById(e.adUnitCode);!function(e){const t=e.querySelector(“div[id^=’google_ads’]”);t&&t.style.setProperty(“display”,”none”)}(t),function(e){const t=e.querySelector(“script[id^=’sas_script’]”),i=t&&t.nextSibling;i&&”iframe”===i.localName&&i.style.setProperty(“display”,”none”)}(t);const i=e.renderer.getConfig();e.renderer.push((()=>{window.MagniteApex.renderAd({width:e.width,height:e.height,vastUrl:e.vastUrl,placement:{attachTo:t,align:i.align||”center”,position:i.position||”append”},closeButton:i.closeButton||!1,label:i.label||void 0,collapse:i.collapse||!0})}))}function y(e,t){let i=e.params;if(“video”===t){let t=[];return i.video&&i.video.playerWidth&&i.video.playerHeight?t=[i.video.playerWidth,i.video.playerHeight]:Array.isArray((0,o.Z)(e,”mediaTypes.video.playerSize”))&&1===e.mediaTypes.video.playerSize.length?t=e.mediaTypes.video.playerSize[0]:Array.isArray(e.sizes)&&e.sizes.length>0&&Array.isArray(e.sizes[0])&&e.sizes[0].length>1&&(t=e.sizes[0]),t}let n=[];return Array.isArray(i.sizes)?n=i.sizes:void 0!==(0,o.Z)(e,”mediaTypes.banner.sizes”)?n=h(e.mediaTypes.banner.sizes):Array.isArray(e.sizes)&&e.sizes.length>0?n=h(e.sizes):(0,r.logWarn)(“Rubicon: no sizes are setup or found”),function(e){const t=[15,2,9];return e.sort(((e,i)=>{const r=t.indexOf(e),o=t.indexOf(i);return r>-1||o>-1?-1===r?1:-1===o?-1:r-o:e-i}))}(n)}function v(e,t,i){const n={user:{ext:{data:{…e.params.visitor}}},site:{ext:{data:{…e.params.inventory}}}};e.params.keywords&&(n.site.keywords=(0,r.isArray)(e.params.keywords)?e.params.keywords.join(“,”):e.params.keywords);let a=(0,r.mergeDeep)({},e.ortb2||{},n),s=(0,o.Z)(e.ortb2Imp,”ext”)||{},c=(0,o.Z)(e.ortb2Imp,”ext.data”)||{};const p=(0,o.Z)(e,”ortb2Imp.ext.gpid”),u={user:[4],site:[1,2,5,6]},l={user:”tg_v.”,site:”tg_i.”,adserver:”tg_i.dfp_ad_unit_code”,pbadslot:”tg_i.pbadslot”,keywords:”kw”},m=function(e,t,n){let a=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],s=function(e,t,i){return”data”===t&&Array.isArray(e)?e.filter((e=>e.segment&&(0,o.Z)(e,”ext.segtax”)&&u[i]&&-1!==u[i].indexOf((0,o.Z)(e,”ext.segtax”)))).map((e=>{let t=e.segment.filter((e=>e.id)).reduce(((e,t)=>(e.push(t.id),e)),[]);if(t.length>0)return t.toString()})).toString():”object”==typeof e&&!Array.isArray(e)||void 0===e?void 0:Array.isArray(e)?e.filter((e=>{if(“object”!=typeof e&&void 0!==e)return e.toString();(0,r.logWarn)(“Rubicon: Filtered value: “,e,”for
“)),[e.width,e.height]=g[o.size_id].split(“x”).map((e=>Number(e)))),e.rubiconTargeting=(Array.isArray(o.targeting)?o.targeting:[]).reduce(((e,t)=>(e[t.key]=t.values[0],e)),{rpfl_elemid:s.adUnitCode}),t.push(e)}else(0,r.logError)(“Rubicon: bidRequest undefined at index position:”.concat(n),i,e);var p,u;return t}),[]).sort(((e,t)=>(t.cpm||0)-(e.cpm||0)))},getUserSyncs:function(e,t,i,o){if(!C&&e.iframeEnabled){let e={};return i&&(“boolean”==typeof i.gdprApplies&&(e.gdpr=Number(i.gdprApplies)),”string”==typeof i.consentString&&(e.gdpr_consent=i.consentString)),o&&(e.us_privacy=encodeURIComponent(o)),e=Object.keys(e).length?”?”.concat((0,r.formatQS)(e)):””,C=!0,{type:”iframe”,url:”https://”.concat(m.syncHost||”eus”,”.rubiconproject.com/usync.html”)+e}}},transformBidParams:function(e,t){return(0,r.convertTypes)({accountId:”number”,siteId:”number”,zoneId:”number”},e)}};function x(e,t){let i;return i=e.params.referrer?e.params.referrer:t.refererInfo.page,e.params.secure?i.replace(/^http:/i,”https:”):i}function b(e){const t=document.getElementById(e.adUnitCode);!function(e){const t=e.querySelector(“div[id^=’google_ads’]”);t&&t.style.setProperty(“display”,”none”)}(t),function(e){const t=e.querySelector(“script[id^=’sas_script’]”),i=t&&t.nextSibling;i&&”iframe”===i.localName&&i.style.setProperty(“display”,”none”)}(t);const i=e.renderer.getConfig();e.renderer.push((()=>{window.MagniteApex.renderAd({width:e.width,height:e.height,vastUrl:e.vastUrl,placement:{attachTo:t,align:i.align||”center”,position:i.position||”append”},closeButton:i.closeButton||!1,label:i.label||void 0,collapse:i.collapse||!0})}))}function y(e,t){let i=e.params;if(“video”===t){let t=[];return i.video&&i.video.playerWidth&&i.video.playerHeight?t=[i.video.playerWidth,i.video.playerHeight]:Array.isArray((0,o.Z)(e,”mediaTypes.video.playerSize”))&&1===e.mediaTypes.video.playerSize.length?t=e.mediaTypes.video.playerSize[0]:Array.isArray(e.sizes)&&e.sizes.length>0&&Array.isArray(e.sizes[0])&&e.sizes[0].length>1&&(t=e.sizes[0]),t}let n=[];return Array.isArray(i.sizes)?n=i.sizes:void 0!==(0,o.Z)(e,”mediaTypes.banner.sizes”)?n=h(e.mediaTypes.banner.sizes):Array.isArray(e.sizes)&&e.sizes.length>0?n=h(e.sizes):(0,r.logWarn)(“Rubicon: no sizes are setup or found”),function(e){const t=[15,2,9];return e.sort(((e,i)=>{const r=t.indexOf(e),o=t.indexOf(i);return r>-1||o>-1?-1===r?1:-1===o?-1:r-o:e-i}))}(n)}function v(e,t,i){const n={user:{ext:{data:{…e.params.visitor}}},site:{ext:{data:{…e.params.inventory}}}};e.params.keywords&&(n.site.keywords=(0,r.isArray)(e.params.keywords)?e.params.keywords.join(“,”):e.params.keywords);let a=(0,r.mergeDeep)({},e.ortb2||{},n),s=(0,o.Z)(e.ortb2Imp,”ext”)||{},c=(0,o.Z)(e.ortb2Imp,”ext.data”)||{};const p=(0,o.Z)(e,”ortb2Imp.ext.gpid”),u={user:[4],site:[1,2,5,6]},l={user:”tg_v.”,site:”tg_i.”,adserver:”tg_i.dfp_ad_unit_code”,pbadslot:”tg_i.pbadslot”,keywords:”kw”},m=function(e,t,n){let a=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],s=function(e,t,i){return”data”===t&&Array.isArray(e)?e.filter((e=>e.segment&&(0,o.Z)(e,”ext.segtax”)&&u[i]&&-1!==u[i].indexOf((0,o.Z)(e,”ext.segtax”)))).map((e=>{let t=e.segment.filter((e=>e.id)).reduce(((e,t)=>(e.push(t.id),e)),[]);if(t.length>0)return t.toString()})).toString():”object”==typeof e&&!Array.isArray(e)||void 0===e?void 0:Array.isArray(e)?e.filter((e=>{if(“object”!=typeof e&&void 0!==e)return e.toString();(0,r.logWarn)(“Rubicon: Filtered value: “,e,”for
“)),[e.width,e.height]=g[o.size_id].split(“x”).map((e=>Number(e)))),e.rubiconTargeting=(Array.isArray(o.targeting)?o.targeting:[]).reduce(((e,t)=>(e[t.key]=t.values[0],e)),{rpfl_elemid:s.adUnitCode}),t.push(e)}else(0,r.logError)(“Rubicon: bidRequest undefined at index position:”.concat(n),i,e);var p,u;return t}),[]).sort(((e,t)=>(t.cpm||0)-(e.cpm||0)))},getUserSyncs:function(e,t,i,o){if(!C&&e.iframeEnabled){let e={};return i&&(“boolean”==typeof i.gdprApplies&&(e.gdpr=Number(i.gdprApplies)),”string”==typeof i.consentString&&(e.gdpr_consent=i.consentString)),o&&(e.us_privacy=encodeURIComponent(o)),e=Object.keys(e).length?”?”.concat((0,r.formatQS)(e)):””,C=!0,{type:”iframe”,url:”https://”.concat(m.syncHost||”eus”,”.rubiconproject.com/usync.html”)+e}}},transformBidParams:function(e,t){return(0,r.convertTypes)({accountId:”number”,siteId:”number”,zoneId:”number”},e)}};function x(e,t){let i;return i=e.params.referrer?e.params.referrer:t.refererInfo.page,e.params.secure?i.replace(/^http:/i,”https:”):i}function b(e){const t=document.getElementById(e.adUnitCode);!function(e){const t=e.querySelector(“div[id^=’google_ads’]”);t&&t.style.setProperty(“display”,”none”)}(t),function(e){const t=e.querySelector(“script[id^=’sas_script’]”),i=t&&t.nextSibling;i&&”iframe”===i.localName&&i.style.setProperty(“display”,”none”)}(t);const i=e.renderer.getConfig();e.renderer.push((()=>{window.MagniteApex.renderAd({width:e.width,height:e.height,vastUrl:e.vastUrl,placement:{attachTo:t,align:i.align||”center”,position:i.position||”append”},closeButton:i.closeButton||!1,label:i.label||void 0,collapse:i.collapse||!0})}))}function y(e,t){let i=e.params;if(“video”===t){let t=[];return i.video&&i.video.playerWidth&&i.video.playerHeight?t=[i.video.playerWidth,i.video.playerHeight]:Array.isArray((0,o.Z)(e,”mediaTypes.video.playerSize”))&&1===e.mediaTypes.video.playerSize.length?t=e.mediaTypes.video.playerSize[0]:Array.isArray(e.sizes)&&e.sizes.length>0&&Array.isArray(e.sizes[0])&&e.sizes[0].length>1&&(t=e.sizes[0]),t}let n=[];return Array.isArray(i.sizes)?n=i.sizes:void 0!==(0,o.Z)(e,”mediaTypes.banner.sizes”)?n=h(e.mediaTypes.banner.sizes):Array.isArray(e.sizes)&&e.sizes.length>0?n=h(e.sizes):(0,r.logWarn)(“Rubicon: no sizes are setup or found”),function(e){const t=[15,2,9];return e.sort(((e,i)=>{const r=t.indexOf(e),o=t.indexOf(i);return r>-1||o>-1?-1===r?1:-1===o?-1:r-o:e-i}))}(n)}function v(e,t,i){const n={user:{ext:{data:{…e.params.visitor}}},site:{ext:{data:{…e.params.inventory}}}};e.params.keywords&&(n.site.keywords=(0,r.isArray)(e.params.keywords)?e.params.keywords.join(“,”):e.params.keywords);let a=(0,r.mergeDeep)({},e.ortb2||{},n),s=(0,o.Z)(e.ortb2Imp,”ext”)||{},c=(0,o.Z)(e.ortb2Imp,”ext.data”)||{};const p=(0,o.Z)(e,”ortb2Imp.ext.gpid”),u={user:[4],site:[1,2,5,6]},l={user:”tg_v.”,site:”tg_i.”,adserver:”tg_i.dfp_ad_unit_code”,pbadslot:”tg_i.pbadslot”,keywords:”kw”},m=function(e,t,n){let a=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],s=function(e,t,i){return”data”===t&&Array.isArray(e)?e.filter((e=>e.segment&&(0,o.Z)(e,”ext.segtax”)&&u[i]&&-1!==u[i].indexOf((0,o.Z)(e,”ext.segtax”)))).map((e=>{let t=e.segment.filter((e=>e.id)).reduce(((e,t)=>(e.push(t.id),e)),[]);if(t.length>0)return t.toString()})).toString():”object”==typeof e&&!Array.isArray(e)||void 0===e?void 0:Array.isArray(e)?e.filter((e=>{if(“object”!=typeof e&&void 0!==e)return e.toString();(0,r.logWarn)(“Rubicon: Filtered value: “,e,”for
“)),[e.width,e.height]=g[o.size_id].split(“x”).map((e=>Number(e)))),e.rubiconTargeting=(Array.isArray(o.targeting)?o.targeting:[]).reduce(((e,t)=>(e[t.key]=t.values[0],e)),{rpfl_elemid:s.adUnitCode}),t.push(e)}else(0,r.logError)(“Rubicon: bidRequest undefined at index position:”.concat(n),i,e);var p,u;return t}),[]).sort(((e,t)=>(t.cpm||0)-(e.cpm||0)))},getUserSyncs:function(e,t,i,o){if(!C&&e.iframeEnabled){let e={};return i&&(“boolean”==typeof i.gdprApplies&&(e.gdpr=Number(i.gdprApplies)),”string”==typeof i.consentString&&(e.gdpr_consent=i.consentString)),o&&(e.us_privacy=encodeURIComponent(o)),e=Object.keys(e).length?”?”.concat((0,r.formatQS)(e)):””,C=!0,{type:”iframe”,url:”https://”.concat(m.syncHost||”eus”,”.rubiconproject.com/usync.html”)+e}}},transformBidParams:function(e,t){return(0,r.convertTypes)({accountId:”number”,siteId:”number”,zoneId:”number”},e)}};function x(e,t){let i;return i=e.params.referrer?e.params.referrer:t.refererInfo.page,e.params.secure?i.replace(/^http:/i,”https:”):i}function b(e){const t=document.getElementById(e.adUnitCode);!function(e){const t=e.querySelector(“div[id^=’google_ads’]”);t&&t.style.setProperty(“display”,”none”)}(t),function(e){const t=e.querySelector(“script[id^=’sas_script’]”),i=t&&t.nextSibling;i&&”iframe”===i.localName&&i.style.setProperty(“display”,”none”)}(t);const i=e.renderer.getConfig();e.renderer.push((()=>{window.MagniteApex.renderAd({width:e.width,height:e.height,vastUrl:e.vastUrl,placement:{attachTo:t,align:i.align||”center”,position:i.position||”append”},closeButton:i.closeButton||!1,label:i.label||void 0,collapse:i.collapse||!0})}))}function y(e,t){let i=e.params;if(“video”===t){let t=[];return i.video&&i.video.playerWidth&&i.video.playerHeight?t=[i.video.playerWidth,i.video.playerHeight]:Array.isArray((0,o.Z)(e,”mediaTypes.video.playerSize”))&&1===e.mediaTypes.video.playerSize.length?t=e.mediaTypes.video.playerSize[0]:Array.isArray(e.sizes)&&e.sizes.length>0&&Array.isArray(e.sizes[0])&&e.sizes[0].length>1&&(t=e.sizes[0]),t}let n=[];return Array.isArray(i.sizes)?n=i.sizes:void 0!==(0,o.Z)(e,”mediaTypes.banner.sizes”)?n=h(e.mediaTypes.banner.sizes):Array.isArray(e.sizes)&&e.sizes.length>0?n=h(e.sizes):(0,r.logWarn)(“Rubicon: no sizes are setup or found”),function(e){const t=[15,2,9];return e.sort(((e,i)=>{const r=t.indexOf(e),o=t.indexOf(i);return r>-1||o>-1?-1===r?1:-1===o?-1:r-o:e-i}))}(n)}function v(e,t,i){const n={user:{ext:{data:{…e.params.visitor}}},site:{ext:{data:{…e.params.inventory}}}};e.params.keywords&&(n.site.keywords=(0,r.isArray)(e.params.keywords)?e.params.keywords.join(“,”):e.params.keywords);let a=(0,r.mergeDeep)({},e.ortb2||{},n),s=(0,o.Z)(e.ortb2Imp,”ext”)||{},c=(0,o.Z)(e.ortb2Imp,”ext.data”)||{};const p=(0,o.Z)(e,”ortb2Imp.ext.gpid”),u={user:[4],site:[1,2,5,6]},l={user:”tg_v.”,site:”tg_i.”,adserver:”tg_i.dfp_ad_unit_code”,pbadslot:”tg_i.pbadslot”,keywords:”kw”},m=function(e,t,n){let a=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],s=function(e,t,i){return”data”===t&&Array.isArray(e)?e.filter((e=>e.segment&&(0,o.Z)(e,”ext.segtax”)&&u[i]&&-1!==u[i].indexOf((0,o.Z)(e,”ext.segtax”)))).map((e=>{let t=e.segment.filter((e=>e.id)).reduce(((e,t)=>(e.push(t.id),e)),[]);if(t.length>0)return t.toString()})).toString():”object”==typeof e&&!Array.isArray(e)||void 0===e?void 0:Array.isArray(e)?e.filter((e=>{if(“object”!=typeof e&&void 0!==e)return e.toString();(0,r.logWarn)(“Rubicon: Filtered value: “,e,”for
“)),[e.width,e.height]=g[o.size_id].split(“x”).map((e=>Number(e)))),e.rubiconTargeting=(Array.isArray(o.targeting)?o.targeting:[]).reduce(((e,t)=>(e[t.key]=t.values[0],e)),{rpfl_elemid:s.adUnitCode}),t.push(e)}else(0,r.logError)(“Rubicon: bidRequest undefined at index position:”.concat(n),i,e);var p,u;return t}),[]).sort(((e,t)=>(t.cpm||0)-(e.cpm||0)))},getUserSyncs:function(e,t,i,o){if(!C&&e.iframeEnabled){let e={};return i&&(“boolean”==typeof i.gdprApplies&&(e.gdpr=Number(i.gdprApplies)),”string”==typeof i.consentString&&(e.gdpr_consent=i.consentString)),o&&(e.us_privacy=encodeURIComponent(o)),e=Object.keys(e).length?”?”.concat((0,r.formatQS)(e)):””,C=!0,{type:”iframe”,url:”https://”.concat(m.syncHost||”eus”,”.rubiconproject.com/usync.html”)+e}}},transformBidParams:function(e,t){return(0,r.convertTypes)({accountId:”number”,siteId:”number”,zoneId:”number”},e)}};function x(e,t){let i;return i=e.params.referrer?e.params.referrer:t.refererInfo.page,e.params.secure?i.replace(/^http:/i,”https:”):i}function b(e){const t=document.getElementById(e.adUnitCode);!function(e){const t=e.querySelector(“div[id^=’google_ads’]”);t&&t.style.setProperty(“display”,”none”)}(t),function(e){const t=e.querySelector(“script[id^=’sas_script’]”),i=t&&t.nextSibling;i&&”iframe”===i.localName&&i.style.setProperty(“display”,”none”)}(t);const i=e.renderer.getConfig();e.renderer.push((()=>{window.MagniteApex.renderAd({width:e.width,height:e.height,vastUrl:e.vastUrl,placement:{attachTo:t,align:i.align||”center”,position:i.position||”append”},closeButton:i.closeButton||!1,label:i.label||void 0,collapse:i.collapse||!0})}))}function y(e,t){let i=e.params;if(“video”===t){let t=[];return i.video&&i.video.playerWidth&&i.video.playerHeight?t=[i.video.playerWidth,i.video.playerHeight]:Array.isArray((0,o.Z)(e,”mediaTypes.video.playerSize”))&&1===e.mediaTypes.video.playerSize.length?t=e.mediaTypes.video.playerSize[0]:Array.isArray(e.sizes)&&e.sizes.length>0&&Array.isArray(e.sizes[0])&&e.sizes[0].length>1&&(t=e.sizes[0]),t}let n=[];return Array.isArray(i.sizes)?n=i.sizes:void 0!==(0,o.Z)(e,”mediaTypes.banner.sizes”)?n=h(e.mediaTypes.banner.sizes):Array.isArray(e.sizes)&&e.sizes.length>0?n=h(e.sizes):(0,r.logWarn)(“Rubicon: no sizes are setup or found”),function(e){const t=[15,2,9];return e.sort(((e,i)=>{const r=t.indexOf(e),o=t.indexOf(i);return r>-1||o>-1?-1===r?1:-1===o?-1:r-o:e-i}))}(n)}function v(e,t,i){const n={user:{ext:{data:{…e.params.visitor}}},site:{ext:{data:{…e.params.inventory}}}};e.params.keywords&&(n.site.keywords=(0,r.isArray)(e.params.keywords)?e.params.keywords.join(“,”):e.params.keywords);let a=(0,r.mergeDeep)({},e.ortb2||{},n),s=(0,o.Z)(e.ortb2Imp,”ext”)||{},c=(0,o.Z)(e.ortb2Imp,”ext.data”)||{};const p=(0,o.Z)(e,”ortb2Imp.ext.gpid”),u={user:[4],site:[1,2,5,6]},l={user:”tg_v.”,site:”tg_i.”,adserver:”tg_i.dfp_ad_unit_code”,pbadslot:”tg_i.pbadslot”,keywords:”kw”},m=function(e,t,n){let a=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],s=function(e,t,i){return”data”===t&&Array.isArray(e)?e.filter((e=>e.segment&&(0,o.Z)(e,”ext.segtax”)&&u[i]&&-1!==u[i].indexOf((0,o.Z)(e,”ext.segtax”)))).map((e=>{let t=e.segment.filter((e=>e.id)).reduce(((e,t)=>(e.push(t.id),e)),[]);if(t.length>0)return t.toString()})).toString():”object”==typeof e&&!Array.isArray(e)||void 0===e?void 0:Array.isArray(e)?e.filter((e=>{if(“object”!=typeof e&&void 0!==e)return e.toString();(0,r.logWarn)(“Rubicon: Filtered value: “,e,”for
“)),[e.width,e.height]=g[o.size_id].split(“x”).map((e=>Number(e)))),e.rubiconTargeting=(Array.isArray(o.targeting)?o.targeting:[]).reduce(((e,t)=>(e[t.key]=t.values[0],e)),{rpfl_elemid:s.adUnitCode}),t.push(e)}else(0,r.logError)(“Rubicon: bidRequest undefined at index position:”.concat(n),i,e);var p,u;return t}),[]).sort(((e,t)=>(t.cpm||0)-(e.cpm||0)))},getUserSyncs:function(e,t,i,o){if(!C&&e.iframeEnabled){let e={};return i&&(“boolean”==typeof i.gdprApplies&&(e.gdpr=Number(i.gdprApplies)),”string”==typeof i.consentString&&(e.gdpr_consent=i.consentString)),o&&(e.us_privacy=encodeURIComponent(o)),e=Object.keys(e).length?”?”.concat((0,r.formatQS)(e)):””,C=!0,{type:”iframe”,url:”https://”.concat(m.syncHost||”eus”,”.rubiconproject.com/usync.html”)+e}}},transformBidParams:function(e,t){return(0,r.convertTypes)({accountId:”number”,siteId:”number”,zoneId:”number”},e)}};function x(e,t){let i;return i=e.params.referrer?e.params.referrer:t.refererInfo.page,e.params.secure?i.replace(/^http:/i,”https:”):i}function b(e){const t=document.getElementById(e.adUnitCode);!function(e){const t=e.querySelector(“div[id^=’google_ads’]”);t&&t.style.setProperty(“display”,”none”)}(t),function(e){const t=e.querySelector(“script[id^=’sas_script’]”),i=t&&t.nextSibling;i&&”iframe”===i.localName&&i.style.setProperty(“display”,”none”)}(t);const i=e.renderer.getConfig();e.renderer.push((()=>{window.MagniteApex.renderAd({width:e.width,height:e.height,vastUrl:e.vastUrl,placement:{attachTo:t,align:i.align||”center”,position:i.position||”append”},closeButton:i.closeButton||!1,label:i.label||void 0,collapse:i.collapse||!0})}))}function y(e,t){let i=e.params;if(“video”===t){let t=[];return i.video&&i.video.playerWidth&&i.video.playerHeight?t=[i.video.playerWidth,i.video.playerHeight]:Array.isArray((0,o.Z)(e,”mediaTypes.video.playerSize”))&&1===e.mediaTypes.video.playerSize.length?t=e.mediaTypes.video.playerSize[0]:Array.isArray(e.sizes)&&e.sizes.length>0&&Array.isArray(e.sizes[0])&&e.sizes[0].length>1&&(t=e.sizes[0]),t}let n=[];return Array.isArray(i.sizes)?n=i.sizes:void 0!==(0,o.Z)(e,”mediaTypes.banner.sizes”)?n=h(e.mediaTypes.banner.sizes):Array.isArray(e.sizes)&&e.sizes.length>0?n=h(e.sizes):(0,r.logWarn)(“Rubicon: no sizes are setup or found”),function(e){const t=[15,2,9];return e.sort(((e,i)=>{const r=t.indexOf(e),o=t.indexOf(i);return r>-1||o>-1?-1===r?1:-1===o?-1:r-o:e-i}))}(n)}function v(e,t,i){const n={user:{ext:{data:{…e.params.visitor}}},site:{ext:{data:{…e.params.inventory}}}};e.params.keywords&&(n.site.keywords=(0,r.isArray)(e.params.keywords)?e.params.keywords.join(“,”):e.params.keywords);let a=(0,r.mergeDeep)({},e.ortb2||{},n),s=(0,o.Z)(e.ortb2Imp,”ext”)||{},c=(0,o.Z)(e.ortb2Imp,”ext.data”)||{};const p=(0,o.Z)(e,”ortb2Imp.ext.gpid”),u={user:[4],site:[1,2,5,6]},l={user:”tg_v.”,site:”tg_i.”,adserver:”tg_i.dfp_ad_unit_code”,pbadslot:”tg_i.pbadslot”,keywords:”kw”},m=function(e,t,n){let a=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],s=function(e,t,i){return”data”===t&&Array.isArray(e)?e.filter((e=>e.segment&&(0,o.Z)(e,”ext.segtax”)&&u[i]&&-1!==u[i].indexOf((0,o.Z)(e,”ext.segtax”)))).map((e=>{let t=e.segment.filter((e=>e.id)).reduce(((e,t)=>(e.push(t.id),e)),[]);if(t.length>0)return t.toString()})).toString():”object”==typeof e&&!Array.isArray(e)||void 0===e?void 0:Array.isArray(e)?e.filter((e=>{if(“object”!=typeof e&&void 0!==e)return e.toString();(0,r.logWarn)(“Rubicon: Filtered value: “,e,”for
Magneto is one of the most complex characters in the Marvel Universe. Originally bursting onto the scene as the ultimate diabolical foil for the X-Men, he has since taken on many different roles. Over the last 60 years, Magneto has evolved from villain to hero, friend, and teacher and managed to move between the roles
“)),[e.width,e.height]=g[o.size_id].split(“x”).map((e=>Number(e)))),e.rubiconTargeting=(Array.isArray(o.targeting)?o.targeting:[]).reduce(((e,t)=>(e[t.key]=t.values[0],e)),{rpfl_elemid:s.adUnitCode}),t.push(e)}else(0,r.logError)(“Rubicon: bidRequest undefined at index position:”.concat(n),i,e);var p,u;return t}),[]).sort(((e,t)=>(t.cpm||0)-(e.cpm||0)))},getUserSyncs:function(e,t,i,o){if(!C&&e.iframeEnabled){let e={};return i&&(“boolean”==typeof i.gdprApplies&&(e.gdpr=Number(i.gdprApplies)),”string”==typeof i.consentString&&(e.gdpr_consent=i.consentString)),o&&(e.us_privacy=encodeURIComponent(o)),e=Object.keys(e).length?”?”.concat((0,r.formatQS)(e)):””,C=!0,{type:”iframe”,url:”https://”.concat(m.syncHost||”eus”,”.rubiconproject.com/usync.html”)+e}}},transformBidParams:function(e,t){return(0,r.convertTypes)({accountId:”number”,siteId:”number”,zoneId:”number”},e)}};function x(e,t){let i;return i=e.params.referrer?e.params.referrer:t.refererInfo.page,e.params.secure?i.replace(/^http:/i,”https:”):i}function b(e){const t=document.getElementById(e.adUnitCode);!function(e){const t=e.querySelector(“div[id^=’google_ads’]”);t&&t.style.setProperty(“display”,”none”)}(t),function(e){const t=e.querySelector(“script[id^=’sas_script’]”),i=t&&t.nextSibling;i&&”iframe”===i.localName&&i.style.setProperty(“display”,”none”)}(t);const i=e.renderer.getConfig();e.renderer.push((()=>{window.MagniteApex.renderAd({width:e.width,height:e.height,vastUrl:e.vastUrl,placement:{attachTo:t,align:i.align||”center”,position:i.position||”append”},closeButton:i.closeButton||!1,label:i.label||void 0,collapse:i.collapse||!0})}))}function y(e,t){let i=e.params;if(“video”===t){let t=[];return i.video&&i.video.playerWidth&&i.video.playerHeight?t=[i.video.playerWidth,i.video.playerHeight]:Array.isArray((0,o.Z)(e,”mediaTypes.video.playerSize”))&&1===e.mediaTypes.video.playerSize.length?t=e.mediaTypes.video.playerSize[0]:Array.isArray(e.sizes)&&e.sizes.length>0&&Array.isArray(e.sizes[0])&&e.sizes[0].length>1&&(t=e.sizes[0]),t}let n=[];return Array.isArray(i.sizes)?n=i.sizes:void 0!==(0,o.Z)(e,”mediaTypes.banner.sizes”)?n=h(e.mediaTypes.banner.sizes):Array.isArray(e.sizes)&&e.sizes.length>0?n=h(e.sizes):(0,r.logWarn)(“Rubicon: no sizes are setup or found”),function(e){const t=[15,2,9];return e.sort(((e,i)=>{const r=t.indexOf(e),o=t.indexOf(i);return r>-1||o>-1?-1===r?1:-1===o?-1:r-o:e-i}))}(n)}function v(e,t,i){const n={user:{ext:{data:{…e.params.visitor}}},site:{ext:{data:{…e.params.inventory}}}};e.params.keywords&&(n.site.keywords=(0,r.isArray)(e.params.keywords)?e.params.keywords.join(“,”):e.params.keywords);let a=(0,r.mergeDeep)({},e.ortb2||{},n),s=(0,o.Z)(e.ortb2Imp,”ext”)||{},c=(0,o.Z)(e.ortb2Imp,”ext.data”)||{};const p=(0,o.Z)(e,”ortb2Imp.ext.gpid”),u={user:[4],site:[1,2,5,6]},l={user:”tg_v.”,site:”tg_i.”,adserver:”tg_i.dfp_ad_unit_code”,pbadslot:”tg_i.pbadslot”,keywords:”kw”},m=function(e,t,n){let a=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],s=function(e,t,i){return”data”===t&&Array.isArray(e)?e.filter((e=>e.segment&&(0,o.Z)(e,”ext.segtax”)&&u[i]&&-1!==u[i].indexOf((0,o.Z)(e,”ext.segtax”)))).map((e=>{let t=e.segment.filter((e=>e.id)).reduce(((e,t)=>(e.push(t.id),e)),[]);if(t.length>0)return t.toString()})).toString():”object”==typeof e&&!Array.isArray(e)||void 0===e?void 0:Array.isArray(e)?e.filter((e=>{if(“object”!=typeof e&&void 0!==e)return e.toString();(0,r.logWarn)(“Rubicon: Filtered value: “,e,”for
“)),[e.width,e.height]=g[o.size_id].split(“x”).map((e=>Number(e)))),e.rubiconTargeting=(Array.isArray(o.targeting)?o.targeting:[]).reduce(((e,t)=>(e[t.key]=t.values[0],e)),{rpfl_elemid:s.adUnitCode}),t.push(e)}else(0,r.logError)(“Rubicon: bidRequest undefined at index position:”.concat(n),i,e);var p,u;return t}),[]).sort(((e,t)=>(t.cpm||0)-(e.cpm||0)))},getUserSyncs:function(e,t,i,o){if(!C&&e.iframeEnabled){let e={};return i&&(“boolean”==typeof i.gdprApplies&&(e.gdpr=Number(i.gdprApplies)),”string”==typeof i.consentString&&(e.gdpr_consent=i.consentString)),o&&(e.us_privacy=encodeURIComponent(o)),e=Object.keys(e).length?”?”.concat((0,r.formatQS)(e)):””,C=!0,{type:”iframe”,url:”https://”.concat(m.syncHost||”eus”,”.rubiconproject.com/usync.html”)+e}}},transformBidParams:function(e,t){return(0,r.convertTypes)({accountId:”number”,siteId:”number”,zoneId:”number”},e)}};function x(e,t){let i;return i=e.params.referrer?e.params.referrer:t.refererInfo.page,e.params.secure?i.replace(/^http:/i,”https:”):i}function b(e){const t=document.getElementById(e.adUnitCode);!function(e){const t=e.querySelector(“div[id^=’google_ads’]”);t&&t.style.setProperty(“display”,”none”)}(t),function(e){const t=e.querySelector(“script[id^=’sas_script’]”),i=t&&t.nextSibling;i&&”iframe”===i.localName&&i.style.setProperty(“display”,”none”)}(t);const i=e.renderer.getConfig();e.renderer.push((()=>{window.MagniteApex.renderAd({width:e.width,height:e.height,vastUrl:e.vastUrl,placement:{attachTo:t,align:i.align||”center”,position:i.position||”append”},closeButton:i.closeButton||!1,label:i.label||void 0,collapse:i.collapse||!0})}))}function y(e,t){let i=e.params;if(“video”===t){let t=[];return i.video&&i.video.playerWidth&&i.video.playerHeight?t=[i.video.playerWidth,i.video.playerHeight]:Array.isArray((0,o.Z)(e,”mediaTypes.video.playerSize”))&&1===e.mediaTypes.video.playerSize.length?t=e.mediaTypes.video.playerSize[0]:Array.isArray(e.sizes)&&e.sizes.length>0&&Array.isArray(e.sizes[0])&&e.sizes[0].length>1&&(t=e.sizes[0]),t}let n=[];return Array.isArray(i.sizes)?n=i.sizes:void 0!==(0,o.Z)(e,”mediaTypes.banner.sizes”)?n=h(e.mediaTypes.banner.sizes):Array.isArray(e.sizes)&&e.sizes.length>0?n=h(e.sizes):(0,r.logWarn)(“Rubicon: no sizes are setup or found”),function(e){const t=[15,2,9];return e.sort(((e,i)=>{const r=t.indexOf(e),o=t.indexOf(i);return r>-1||o>-1?-1===r?1:-1===o?-1:r-o:e-i}))}(n)}function v(e,t,i){const n={user:{ext:{data:{…e.params.visitor}}},site:{ext:{data:{…e.params.inventory}}}};e.params.keywords&&(n.site.keywords=(0,r.isArray)(e.params.keywords)?e.params.keywords.join(“,”):e.params.keywords);let a=(0,r.mergeDeep)({},e.ortb2||{},n),s=(0,o.Z)(e.ortb2Imp,”ext”)||{},c=(0,o.Z)(e.ortb2Imp,”ext.data”)||{};const p=(0,o.Z)(e,”ortb2Imp.ext.gpid”),u={user:[4],site:[1,2,5,6]},l={user:”tg_v.”,site:”tg_i.”,adserver:”tg_i.dfp_ad_unit_code”,pbadslot:”tg_i.pbadslot”,keywords:”kw”},m=function(e,t,n){let a=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],s=function(e,t,i){return”data”===t&&Array.isArray(e)?e.filter((e=>e.segment&&(0,o.Z)(e,”ext.segtax”)&&u[i]&&-1!==u[i].indexOf((0,o.Z)(e,”ext.segtax”)))).map((e=>{let t=e.segment.filter((e=>e.id)).reduce(((e,t)=>(e.push(t.id),e)),[]);if(t.length>0)return t.toString()})).toString():”object”==typeof e&&!Array.isArray(e)||void 0===e?void 0:Array.isArray(e)?e.filter((e=>{if(“object”!=typeof e&&void 0!==e)return e.toString();(0,r.logWarn)(“Rubicon: Filtered value: “,e,”for
“)),[e.width,e.height]=g[o.size_id].split(“x”).map((e=>Number(e)))),e.rubiconTargeting=(Array.isArray(o.targeting)?o.targeting:[]).reduce(((e,t)=>(e[t.key]=t.values[0],e)),{rpfl_elemid:s.adUnitCode}),t.push(e)}else(0,r.logError)(“Rubicon: bidRequest undefined at index position:”.concat(n),i,e);var p,u;return t}),[]).sort(((e,t)=>(t.cpm||0)-(e.cpm||0)))},getUserSyncs:function(e,t,i,o){if(!C&&e.iframeEnabled){let e={};return i&&(“boolean”==typeof i.gdprApplies&&(e.gdpr=Number(i.gdprApplies)),”string”==typeof i.consentString&&(e.gdpr_consent=i.consentString)),o&&(e.us_privacy=encodeURIComponent(o)),e=Object.keys(e).length?”?”.concat((0,r.formatQS)(e)):””,C=!0,{type:”iframe”,url:”https://”.concat(m.syncHost||”eus”,”.rubiconproject.com/usync.html”)+e}}},transformBidParams:function(e,t){return(0,r.convertTypes)({accountId:”number”,siteId:”number”,zoneId:”number”},e)}};function x(e,t){let i;return i=e.params.referrer?e.params.referrer:t.refererInfo.page,e.params.secure?i.replace(/^http:/i,”https:”):i}function b(e){const t=document.getElementById(e.adUnitCode);!function(e){const t=e.querySelector(“div[id^=’google_ads’]”);t&&t.style.setProperty(“display”,”none”)}(t),function(e){const t=e.querySelector(“script[id^=’sas_script’]”),i=t&&t.nextSibling;i&&”iframe”===i.localName&&i.style.setProperty(“display”,”none”)}(t);const i=e.renderer.getConfig();e.renderer.push((()=>{window.MagniteApex.renderAd({width:e.width,height:e.height,vastUrl:e.vastUrl,placement:{attachTo:t,align:i.align||”center”,position:i.position||”append”},closeButton:i.closeButton||!1,label:i.label||void 0,collapse:i.collapse||!0})}))}function y(e,t){let i=e.params;if(“video”===t){let t=[];return i.video&&i.video.playerWidth&&i.video.playerHeight?t=[i.video.playerWidth,i.video.playerHeight]:Array.isArray((0,o.Z)(e,”mediaTypes.video.playerSize”))&&1===e.mediaTypes.video.playerSize.length?t=e.mediaTypes.video.playerSize[0]:Array.isArray(e.sizes)&&e.sizes.length>0&&Array.isArray(e.sizes[0])&&e.sizes[0].length>1&&(t=e.sizes[0]),t}let n=[];return Array.isArray(i.sizes)?n=i.sizes:void 0!==(0,o.Z)(e,”mediaTypes.banner.sizes”)?n=h(e.mediaTypes.banner.sizes):Array.isArray(e.sizes)&&e.sizes.length>0?n=h(e.sizes):(0,r.logWarn)(“Rubicon: no sizes are setup or found”),function(e){const t=[15,2,9];return e.sort(((e,i)=>{const r=t.indexOf(e),o=t.indexOf(i);return r>-1||o>-1?-1===r?1:-1===o?-1:r-o:e-i}))}(n)}function v(e,t,i){const n={user:{ext:{data:{…e.params.visitor}}},site:{ext:{data:{…e.params.inventory}}}};e.params.keywords&&(n.site.keywords=(0,r.isArray)(e.params.keywords)?e.params.keywords.join(“,”):e.params.keywords);let a=(0,r.mergeDeep)({},e.ortb2||{},n),s=(0,o.Z)(e.ortb2Imp,”ext”)||{},c=(0,o.Z)(e.ortb2Imp,”ext.data”)||{};const p=(0,o.Z)(e,”ortb2Imp.ext.gpid”),u={user:[4],site:[1,2,5,6]},l={user:”tg_v.”,site:”tg_i.”,adserver:”tg_i.dfp_ad_unit_code”,pbadslot:”tg_i.pbadslot”,keywords:”kw”},m=function(e,t,n){let a=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],s=function(e,t,i){return”data”===t&&Array.isArray(e)?e.filter((e=>e.segment&&(0,o.Z)(e,”ext.segtax”)&&u[i]&&-1!==u[i].indexOf((0,o.Z)(e,”ext.segtax”)))).map((e=>{let t=e.segment.filter((e=>e.id)).reduce(((e,t)=>(e.push(t.id),e)),[]);if(t.length>0)return t.toString()})).toString():”object”==typeof e&&!Array.isArray(e)||void 0===e?void 0:Array.isArray(e)?e.filter((e=>{if(“object”!=typeof e&&void 0!==e)return e.toString();(0,r.logWarn)(“Rubicon: Filtered value: “,e,”for
“)),[e.width,e.height]=g[o.size_id].split(“x”).map((e=>Number(e)))),e.rubiconTargeting=(Array.isArray(o.targeting)?o.targeting:[]).reduce(((e,t)=>(e[t.key]=t.values[0],e)),{rpfl_elemid:s.adUnitCode}),t.push(e)}else(0,r.logError)(“Rubicon: bidRequest undefined at index position:”.concat(n),i,e);var p,u;return t}),[]).sort(((e,t)=>(t.cpm||0)-(e.cpm||0)))},getUserSyncs:function(e,t,i,o){if(!C&&e.iframeEnabled){let e={};return i&&(“boolean”==typeof i.gdprApplies&&(e.gdpr=Number(i.gdprApplies)),”string”==typeof i.consentString&&(e.gdpr_consent=i.consentString)),o&&(e.us_privacy=encodeURIComponent(o)),e=Object.keys(e).length?”?”.concat((0,r.formatQS)(e)):””,C=!0,{type:”iframe”,url:”https://”.concat(m.syncHost||”eus”,”.rubiconproject.com/usync.html”)+e}}},transformBidParams:function(e,t){return(0,r.convertTypes)({accountId:”number”,siteId:”number”,zoneId:”number”},e)}};function x(e,t){let i;return i=e.params.referrer?e.params.referrer:t.refererInfo.page,e.params.secure?i.replace(/^http:/i,”https:”):i}function b(e){const t=document.getElementById(e.adUnitCode);!function(e){const t=e.querySelector(“div[id^=’google_ads’]”);t&&t.style.setProperty(“display”,”none”)}(t),function(e){const t=e.querySelector(“script[id^=’sas_script’]”),i=t&&t.nextSibling;i&&”iframe”===i.localName&&i.style.setProperty(“display”,”none”)}(t);const i=e.renderer.getConfig();e.renderer.push((()=>{window.MagniteApex.renderAd({width:e.width,height:e.height,vastUrl:e.vastUrl,placement:{attachTo:t,align:i.align||”center”,position:i.position||”append”},closeButton:i.closeButton||!1,label:i.label||void 0,collapse:i.collapse||!0})}))}function y(e,t){let i=e.params;if(“video”===t){let t=[];return i.video&&i.video.playerWidth&&i.video.playerHeight?t=[i.video.playerWidth,i.video.playerHeight]:Array.isArray((0,o.Z)(e,”mediaTypes.video.playerSize”))&&1===e.mediaTypes.video.playerSize.length?t=e.mediaTypes.video.playerSize[0]:Array.isArray(e.sizes)&&e.sizes.length>0&&Array.isArray(e.sizes[0])&&e.sizes[0].length>1&&(t=e.sizes[0]),t}let n=[];return Array.isArray(i.sizes)?n=i.sizes:void 0!==(0,o.Z)(e,”mediaTypes.banner.sizes”)?n=h(e.mediaTypes.banner.sizes):Array.isArray(e.sizes)&&e.sizes.length>0?n=h(e.sizes):(0,r.logWarn)(“Rubicon: no sizes are setup or found”),function(e){const t=[15,2,9];return e.sort(((e,i)=>{const r=t.indexOf(e),o=t.indexOf(i);return r>-1||o>-1?-1===r?1:-1===o?-1:r-o:e-i}))}(n)}function v(e,t,i){const n={user:{ext:{data:{…e.params.visitor}}},site:{ext:{data:{…e.params.inventory}}}};e.params.keywords&&(n.site.keywords=(0,r.isArray)(e.params.keywords)?e.params.keywords.join(“,”):e.params.keywords);let a=(0,r.mergeDeep)({},e.ortb2||{},n),s=(0,o.Z)(e.ortb2Imp,”ext”)||{},c=(0,o.Z)(e.ortb2Imp,”ext.data”)||{};const p=(0,o.Z)(e,”ortb2Imp.ext.gpid”),u={user:[4],site:[1,2,5,6]},l={user:”tg_v.”,site:”tg_i.”,adserver:”tg_i.dfp_ad_unit_code”,pbadslot:”tg_i.pbadslot”,keywords:”kw”},m=function(e,t,n){let a=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],s=function(e,t,i){return”data”===t&&Array.isArray(e)?e.filter((e=>e.segment&&(0,o.Z)(e,”ext.segtax”)&&u[i]&&-1!==u[i].indexOf((0,o.Z)(e,”ext.segtax”)))).map((e=>{let t=e.segment.filter((e=>e.id)).reduce(((e,t)=>(e.push(t.id),e)),[]);if(t.length>0)return t.toString()})).toString():”object”==typeof e&&!Array.isArray(e)||void 0===e?void 0:Array.isArray(e)?e.filter((e=>{if(“object”!=typeof e&&void 0!==e)return e.toString();(0,r.logWarn)(“Rubicon: Filtered value: “,e,”for
“)),[e.width,e.height]=g[o.size_id].split(“x”).map((e=>Number(e)))),e.rubiconTargeting=(Array.isArray(o.targeting)?o.targeting:[]).reduce(((e,t)=>(e[t.key]=t.values[0],e)),{rpfl_elemid:s.adUnitCode}),t.push(e)}else(0,r.logError)(“Rubicon: bidRequest undefined at index position:”.concat(n),i,e);var p,u;return t}),[]).sort(((e,t)=>(t.cpm||0)-(e.cpm||0)))},getUserSyncs:function(e,t,i,o){if(!C&&e.iframeEnabled){let e={};return i&&(“boolean”==typeof i.gdprApplies&&(e.gdpr=Number(i.gdprApplies)),”string”==typeof i.consentString&&(e.gdpr_consent=i.consentString)),o&&(e.us_privacy=encodeURIComponent(o)),e=Object.keys(e).length?”?”.concat((0,r.formatQS)(e)):””,C=!0,{type:”iframe”,url:”https://”.concat(m.syncHost||”eus”,”.rubiconproject.com/usync.html”)+e}}},transformBidParams:function(e,t){return(0,r.convertTypes)({accountId:”number”,siteId:”number”,zoneId:”number”},e)}};function x(e,t){let i;return i=e.params.referrer?e.params.referrer:t.refererInfo.page,e.params.secure?i.replace(/^http:/i,”https:”):i}function b(e){const t=document.getElementById(e.adUnitCode);!function(e){const t=e.querySelector(“div[id^=’google_ads’]”);t&&t.style.setProperty(“display”,”none”)}(t),function(e){const t=e.querySelector(“script[id^=’sas_script’]”),i=t&&t.nextSibling;i&&”iframe”===i.localName&&i.style.setProperty(“display”,”none”)}(t);const i=e.renderer.getConfig();e.renderer.push((()=>{window.MagniteApex.renderAd({width:e.width,height:e.height,vastUrl:e.vastUrl,placement:{attachTo:t,align:i.align||”center”,position:i.position||”append”},closeButton:i.closeButton||!1,label:i.label||void 0,collapse:i.collapse||!0})}))}function y(e,t){let i=e.params;if(“video”===t){let t=[];return i.video&&i.video.playerWidth&&i.video.playerHeight?t=[i.video.playerWidth,i.video.playerHeight]:Array.isArray((0,o.Z)(e,”mediaTypes.video.playerSize”))&&1===e.mediaTypes.video.playerSize.length?t=e.mediaTypes.video.playerSize[0]:Array.isArray(e.sizes)&&e.sizes.length>0&&Array.isArray(e.sizes[0])&&e.sizes[0].length>1&&(t=e.sizes[0]),t}let n=[];return Array.isArray(i.sizes)?n=i.sizes:void 0!==(0,o.Z)(e,”mediaTypes.banner.sizes”)?n=h(e.mediaTypes.banner.sizes):Array.isArray(e.sizes)&&e.sizes.length>0?n=h(e.sizes):(0,r.logWarn)(“Rubicon: no sizes are setup or found”),function(e){const t=[15,2,9];return e.sort(((e,i)=>{const r=t.indexOf(e),o=t.indexOf(i);return r>-1||o>-1?-1===r?1:-1===o?-1:r-o:e-i}))}(n)}function v(e,t,i){const n={user:{ext:{data:{…e.params.visitor}}},site:{ext:{data:{…e.params.inventory}}}};e.params.keywords&&(n.site.keywords=(0,r.isArray)(e.params.keywords)?e.params.keywords.join(“,”):e.params.keywords);let a=(0,r.mergeDeep)({},e.ortb2||{},n),s=(0,o.Z)(e.ortb2Imp,”ext”)||{},c=(0,o.Z)(e.ortb2Imp,”ext.data”)||{};const p=(0,o.Z)(e,”ortb2Imp.ext.gpid”),u={user:[4],site:[1,2,5,6]},l={user:”tg_v.”,site:”tg_i.”,adserver:”tg_i.dfp_ad_unit_code”,pbadslot:”tg_i.pbadslot”,keywords:”kw”},m=function(e,t,n){let a=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],s=function(e,t,i){return”data”===t&&Array.isArray(e)?e.filter((e=>e.segment&&(0,o.Z)(e,”ext.segtax”)&&u[i]&&-1!==u[i].indexOf((0,o.Z)(e,”ext.segtax”)))).map((e=>{let t=e.segment.filter((e=>e.id)).reduce(((e,t)=>(e.push(t.id),e)),[]);if(t.length>0)return t.toString()})).toString():”object”==typeof e&&!Array.isArray(e)||void 0===e?void 0:Array.isArray(e)?e.filter((e=>{if(“object”!=typeof e&&void 0!==e)return e.toString();(0,r.logWarn)(“Rubicon: Filtered value: “,e,”for
“)),[e.width,e.height]=g[o.size_id].split(“x”).map((e=>Number(e)))),e.rubiconTargeting=(Array.isArray(o.targeting)?o.targeting:[]).reduce(((e,t)=>(e[t.key]=t.values[0],e)),{rpfl_elemid:s.adUnitCode}),t.push(e)}else(0,r.logError)(“Rubicon: bidRequest undefined at index position:”.concat(n),i,e);var p,u;return t}),[]).sort(((e,t)=>(t.cpm||0)-(e.cpm||0)))},getUserSyncs:function(e,t,i,o){if(!C&&e.iframeEnabled){let e={};return i&&(“boolean”==typeof i.gdprApplies&&(e.gdpr=Number(i.gdprApplies)),”string”==typeof i.consentString&&(e.gdpr_consent=i.consentString)),o&&(e.us_privacy=encodeURIComponent(o)),e=Object.keys(e).length?”?”.concat((0,r.formatQS)(e)):””,C=!0,{type:”iframe”,url:”https://”.concat(m.syncHost||”eus”,”.rubiconproject.com/usync.html”)+e}}},transformBidParams:function(e,t){return(0,r.convertTypes)({accountId:”number”,siteId:”number”,zoneId:”number”},e)}};function x(e,t){let i;return i=e.params.referrer?e.params.referrer:t.refererInfo.page,e.params.secure?i.replace(/^http:/i,”https:”):i}function b(e){const t=document.getElementById(e.adUnitCode);!function(e){const t=e.querySelector(“div[id^=’google_ads’]”);t&&t.style.setProperty(“display”,”none”)}(t),function(e){const t=e.querySelector(“script[id^=’sas_script’]”),i=t&&t.nextSibling;i&&”iframe”===i.localName&&i.style.setProperty(“display”,”none”)}(t);const i=e.renderer.getConfig();e.renderer.push((()=>{window.MagniteApex.renderAd({width:e.width,height:e.height,vastUrl:e.vastUrl,placement:{attachTo:t,align:i.align||”center”,position:i.position||”append”},closeButton:i.closeButton||!1,label:i.label||void 0,collapse:i.collapse||!0})}))}function y(e,t){let i=e.params;if(“video”===t){let t=[];return i.video&&i.video.playerWidth&&i.video.playerHeight?t=[i.video.playerWidth,i.video.playerHeight]:Array.isArray((0,o.Z)(e,”mediaTypes.video.playerSize”))&&1===e.mediaTypes.video.playerSize.length?t=e.mediaTypes.video.playerSize[0]:Array.isArray(e.sizes)&&e.sizes.length>0&&Array.isArray(e.sizes[0])&&e.sizes[0].length>1&&(t=e.sizes[0]),t}let n=[];return Array.isArray(i.sizes)?n=i.sizes:void 0!==(0,o.Z)(e,”mediaTypes.banner.sizes”)?n=h(e.mediaTypes.banner.sizes):Array.isArray(e.sizes)&&e.sizes.length>0?n=h(e.sizes):(0,r.logWarn)(“Rubicon: no sizes are setup or found”),function(e){const t=[15,2,9];return e.sort(((e,i)=>{const r=t.indexOf(e),o=t.indexOf(i);return r>-1||o>-1?-1===r?1:-1===o?-1:r-o:e-i}))}(n)}function v(e,t,i){const n={user:{ext:{data:{…e.params.visitor}}},site:{ext:{data:{…e.params.inventory}}}};e.params.keywords&&(n.site.keywords=(0,r.isArray)(e.params.keywords)?e.params.keywords.join(“,”):e.params.keywords);let a=(0,r.mergeDeep)({},e.ortb2||{},n),s=(0,o.Z)(e.ortb2Imp,”ext”)||{},c=(0,o.Z)(e.ortb2Imp,”ext.data”)||{};const p=(0,o.Z)(e,”ortb2Imp.ext.gpid”),u={user:[4],site:[1,2,5,6]},l={user:”tg_v.”,site:”tg_i.”,adserver:”tg_i.dfp_ad_unit_code”,pbadslot:”tg_i.pbadslot”,keywords:”kw”},m=function(e,t,n){let a=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],s=function(e,t,i){return”data”===t&&Array.isArray(e)?e.filter((e=>e.segment&&(0,o.Z)(e,”ext.segtax”)&&u[i]&&-1!==u[i].indexOf((0,o.Z)(e,”ext.segtax”)))).map((e=>{let t=e.segment.filter((e=>e.id)).reduce(((e,t)=>(e.push(t.id),e)),[]);if(t.length>0)return t.toString()})).toString():”object”==typeof e&&!Array.isArray(e)||void 0===e?void 0:Array.isArray(e)?e.filter((e=>{if(“object”!=typeof e&&void 0!==e)return e.toString();(0,r.logWarn)(“Rubicon: Filtered value: “,e,”for
“)),[e.width,e.height]=g[o.size_id].split(“x”).map((e=>Number(e)))),e.rubiconTargeting=(Array.isArray(o.targeting)?o.targeting:[]).reduce(((e,t)=>(e[t.key]=t.values[0],e)),{rpfl_elemid:s.adUnitCode}),t.push(e)}else(0,r.logError)(“Rubicon: bidRequest undefined at index position:”.concat(n),i,e);var p,u;return t}),[]).sort(((e,t)=>(t.cpm||0)-(e.cpm||0)))},getUserSyncs:function(e,t,i,o){if(!C&&e.iframeEnabled){let e={};return i&&(“boolean”==typeof i.gdprApplies&&(e.gdpr=Number(i.gdprApplies)),”string”==typeof i.consentString&&(e.gdpr_consent=i.consentString)),o&&(e.us_privacy=encodeURIComponent(o)),e=Object.keys(e).length?”?”.concat((0,r.formatQS)(e)):””,C=!0,{type:”iframe”,url:”https://”.concat(m.syncHost||”eus”,”.rubiconproject.com/usync.html”)+e}}},transformBidParams:function(e,t){return(0,r.convertTypes)({accountId:”number”,siteId:”number”,zoneId:”number”},e)}};function x(e,t){let i;return i=e.params.referrer?e.params.referrer:t.refererInfo.page,e.params.secure?i.replace(/^http:/i,”https:”):i}function b(e){const t=document.getElementById(e.adUnitCode);!function(e){const t=e.querySelector(“div[id^=’google_ads’]”);t&&t.style.setProperty(“display”,”none”)}(t),function(e){const t=e.querySelector(“script[id^=’sas_script’]”),i=t&&t.nextSibling;i&&”iframe”===i.localName&&i.style.setProperty(“display”,”none”)}(t);const i=e.renderer.getConfig();e.renderer.push((()=>{window.MagniteApex.renderAd({width:e.width,height:e.height,vastUrl:e.vastUrl,placement:{attachTo:t,align:i.align||”center”,position:i.position||”append”},closeButton:i.closeButton||!1,label:i.label||void 0,collapse:i.collapse||!0})}))}function y(e,t){let i=e.params;if(“video”===t){let t=[];return i.video&&i.video.playerWidth&&i.video.playerHeight?t=[i.video.playerWidth,i.video.playerHeight]:Array.isArray((0,o.Z)(e,”mediaTypes.video.playerSize”))&&1===e.mediaTypes.video.playerSize.length?t=e.mediaTypes.video.playerSize[0]:Array.isArray(e.sizes)&&e.sizes.length>0&&Array.isArray(e.sizes[0])&&e.sizes[0].length>1&&(t=e.sizes[0]),t}let n=[];return Array.isArray(i.sizes)?n=i.sizes:void 0!==(0,o.Z)(e,”mediaTypes.banner.sizes”)?n=h(e.mediaTypes.banner.sizes):Array.isArray(e.sizes)&&e.sizes.length>0?n=h(e.sizes):(0,r.logWarn)(“Rubicon: no sizes are setup or found”),function(e){const t=[15,2,9];return e.sort(((e,i)=>{const r=t.indexOf(e),o=t.indexOf(i);return r>-1||o>-1?-1===r?1:-1===o?-1:r-o:e-i}))}(n)}function v(e,t,i){const n={user:{ext:{data:{…e.params.visitor}}},site:{ext:{data:{…e.params.inventory}}}};e.params.keywords&&(n.site.keywords=(0,r.isArray)(e.params.keywords)?e.params.keywords.join(“,”):e.params.keywords);let a=(0,r.mergeDeep)({},e.ortb2||{},n),s=(0,o.Z)(e.ortb2Imp,”ext”)||{},c=(0,o.Z)(e.ortb2Imp,”ext.data”)||{};const p=(0,o.Z)(e,”ortb2Imp.ext.gpid”),u={user:[4],site:[1,2,5,6]},l={user:”tg_v.”,site:”tg_i.”,adserver:”tg_i.dfp_ad_unit_code”,pbadslot:”tg_i.pbadslot”,keywords:”kw”},m=function(e,t,n){let a=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],s=function(e,t,i){return”data”===t&&Array.isArray(e)?e.filter((e=>e.segment&&(0,o.Z)(e,”ext.segtax”)&&u[i]&&-1!==u[i].indexOf((0,o.Z)(e,”ext.segtax”)))).map((e=>{let t=e.segment.filter((e=>e.id)).reduce(((e,t)=>(e.push(t.id),e)),[]);if(t.length>0)return t.toString()})).toString():”object”==typeof e&&!Array.isArray(e)||void 0===e?void 0:Array.isArray(e)?e.filter((e=>{if(“object”!=typeof e&&void 0!==e)return e.toString();(0,r.logWarn)(“Rubicon: Filtered value: “,e,”for
“)),[e.width,e.height]=g[o.size_id].split(“x”).map((e=>Number(e)))),e.rubiconTargeting=(Array.isArray(o.targeting)?o.targeting:[]).reduce(((e,t)=>(e[t.key]=t.values[0],e)),{rpfl_elemid:s.adUnitCode}),t.push(e)}else(0,r.logError)(“Rubicon: bidRequest undefined at index position:”.concat(n),i,e);var p,u;return t}),[]).sort(((e,t)=>(t.cpm||0)-(e.cpm||0)))},getUserSyncs:function(e,t,i,o){if(!C&&e.iframeEnabled){let e={};return i&&(“boolean”==typeof i.gdprApplies&&(e.gdpr=Number(i.gdprApplies)),”string”==typeof i.consentString&&(e.gdpr_consent=i.consentString)),o&&(e.us_privacy=encodeURIComponent(o)),e=Object.keys(e).length?”?”.concat((0,r.formatQS)(e)):””,C=!0,{type:”iframe”,url:”https://”.concat(m.syncHost||”eus”,”.rubiconproject.com/usync.html”)+e}}},transformBidParams:function(e,t){return(0,r.convertTypes)({accountId:”number”,siteId:”number”,zoneId:”number”},e)}};function x(e,t){let i;return i=e.params.referrer?e.params.referrer:t.refererInfo.page,e.params.secure?i.replace(/^http:/i,”https:”):i}function b(e){const t=document.getElementById(e.adUnitCode);!function(e){const t=e.querySelector(“div[id^=’google_ads’]”);t&&t.style.setProperty(“display”,”none”)}(t),function(e){const t=e.querySelector(“script[id^=’sas_script’]”),i=t&&t.nextSibling;i&&”iframe”===i.localName&&i.style.setProperty(“display”,”none”)}(t);const i=e.renderer.getConfig();e.renderer.push((()=>{window.MagniteApex.renderAd({width:e.width,height:e.height,vastUrl:e.vastUrl,placement:{attachTo:t,align:i.align||”center”,position:i.position||”append”},closeButton:i.closeButton||!1,label:i.label||void 0,collapse:i.collapse||!0})}))}function y(e,t){let i=e.params;if(“video”===t){let t=[];return i.video&&i.video.playerWidth&&i.video.playerHeight?t=[i.video.playerWidth,i.video.playerHeight]:Array.isArray((0,o.Z)(e,”mediaTypes.video.playerSize”))&&1===e.mediaTypes.video.playerSize.length?t=e.mediaTypes.video.playerSize[0]:Array.isArray(e.sizes)&&e.sizes.length>0&&Array.isArray(e.sizes[0])&&e.sizes[0].length>1&&(t=e.sizes[0]),t}let n=[];return Array.isArray(i.sizes)?n=i.sizes:void 0!==(0,o.Z)(e,”mediaTypes.banner.sizes”)?n=h(e.mediaTypes.banner.sizes):Array.isArray(e.sizes)&&e.sizes.length>0?n=h(e.sizes):(0,r.logWarn)(“Rubicon: no sizes are setup or found”),function(e){const t=[15,2,9];return e.sort(((e,i)=>{const r=t.indexOf(e),o=t.indexOf(i);return r>-1||o>-1?-1===r?1:-1===o?-1:r-o:e-i}))}(n)}function v(e,t,i){const n={user:{ext:{data:{…e.params.visitor}}},site:{ext:{data:{…e.params.inventory}}}};e.params.keywords&&(n.site.keywords=(0,r.isArray)(e.params.keywords)?e.params.keywords.join(“,”):e.params.keywords);let a=(0,r.mergeDeep)({},e.ortb2||{},n),s=(0,o.Z)(e.ortb2Imp,”ext”)||{},c=(0,o.Z)(e.ortb2Imp,”ext.data”)||{};const p=(0,o.Z)(e,”ortb2Imp.ext.gpid”),u={user:[4],site:[1,2,5,6]},l={user:”tg_v.”,site:”tg_i.”,adserver:”tg_i.dfp_ad_unit_code”,pbadslot:”tg_i.pbadslot”,keywords:”kw”},m=function(e,t,n){let a=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],s=function(e,t,i){return”data”===t&&Array.isArray(e)?e.filter((e=>e.segment&&(0,o.Z)(e,”ext.segtax”)&&u[i]&&-1!==u[i].indexOf((0,o.Z)(e,”ext.segtax”)))).map((e=>{let t=e.segment.filter((e=>e.id)).reduce(((e,t)=>(e.push(t.id),e)),[]);if(t.length>0)return t.toString()})).toString():”object”==typeof e&&!Array.isArray(e)||void 0===e?void 0:Array.isArray(e)?e.filter((e=>{if(“object”!=typeof e&&void 0!==e)return e.toString();(0,r.logWarn)(“Rubicon: Filtered value: “,e,”for
“)),[e.width,e.height]=g[o.size_id].split(“x”).map((e=>Number(e)))),e.rubiconTargeting=(Array.isArray(o.targeting)?o.targeting:[]).reduce(((e,t)=>(e[t.key]=t.values[0],e)),{rpfl_elemid:s.adUnitCode}),t.push(e)}else(0,r.logError)(“Rubicon: bidRequest undefined at index position:”.concat(n),i,e);var p,u;return t}),[]).sort(((e,t)=>(t.cpm||0)-(e.cpm||0)))},getUserSyncs:function(e,t,i,o){if(!C&&e.iframeEnabled){let e={};return i&&(“boolean”==typeof i.gdprApplies&&(e.gdpr=Number(i.gdprApplies)),”string”==typeof i.consentString&&(e.gdpr_consent=i.consentString)),o&&(e.us_privacy=encodeURIComponent(o)),e=Object.keys(e).length?”?”.concat((0,r.formatQS)(e)):””,C=!0,{type:”iframe”,url:”https://”.concat(m.syncHost||”eus”,”.rubiconproject.com/usync.html”)+e}}},transformBidParams:function(e,t){return(0,r.convertTypes)({accountId:”number”,siteId:”number”,zoneId:”number”},e)}};function x(e,t){let i;return i=e.params.referrer?e.params.referrer:t.refererInfo.page,e.params.secure?i.replace(/^http:/i,”https:”):i}function b(e){const t=document.getElementById(e.adUnitCode);!function(e){const t=e.querySelector(“div[id^=’google_ads’]”);t&&t.style.setProperty(“display”,”none”)}(t),function(e){const t=e.querySelector(“script[id^=’sas_script’]”),i=t&&t.nextSibling;i&&”iframe”===i.localName&&i.style.setProperty(“display”,”none”)}(t);const i=e.renderer.getConfig();e.renderer.push((()=>{window.MagniteApex.renderAd({width:e.width,height:e.height,vastUrl:e.vastUrl,placement:{attachTo:t,align:i.align||”center”,position:i.position||”append”},closeButton:i.closeButton||!1,label:i.label||void 0,collapse:i.collapse||!0})}))}function y(e,t){let i=e.params;if(“video”===t){let t=[];return i.video&&i.video.playerWidth&&i.video.playerHeight?t=[i.video.playerWidth,i.video.playerHeight]:Array.isArray((0,o.Z)(e,”mediaTypes.video.playerSize”))&&1===e.mediaTypes.video.playerSize.length?t=e.mediaTypes.video.playerSize[0]:Array.isArray(e.sizes)&&e.sizes.length>0&&Array.isArray(e.sizes[0])&&e.sizes[0].length>1&&(t=e.sizes[0]),t}let n=[];return Array.isArray(i.sizes)?n=i.sizes:void 0!==(0,o.Z)(e,”mediaTypes.banner.sizes”)?n=h(e.mediaTypes.banner.sizes):Array.isArray(e.sizes)&&e.sizes.length>0?n=h(e.sizes):(0,r.logWarn)(“Rubicon: no sizes are setup or found”),function(e){const t=[15,2,9];return e.sort(((e,i)=>{const r=t.indexOf(e),o=t.indexOf(i);return r>-1||o>-1?-1===r?1:-1===o?-1:r-o:e-i}))}(n)}function v(e,t,i){const n={user:{ext:{data:{…e.params.visitor}}},site:{ext:{data:{…e.params.inventory}}}};e.params.keywords&&(n.site.keywords=(0,r.isArray)(e.params.keywords)?e.params.keywords.join(“,”):e.params.keywords);let a=(0,r.mergeDeep)({},e.ortb2||{},n),s=(0,o.Z)(e.ortb2Imp,”ext”)||{},c=(0,o.Z)(e.ortb2Imp,”ext.data”)||{};const p=(0,o.Z)(e,”ortb2Imp.ext.gpid”),u={user:[4],site:[1,2,5,6]},l={user:”tg_v.”,site:”tg_i.”,adserver:”tg_i.dfp_ad_unit_code”,pbadslot:”tg_i.pbadslot”,keywords:”kw”},m=function(e,t,n){let a=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],s=function(e,t,i){return”data”===t&&Array.isArray(e)?e.filter((e=>e.segment&&(0,o.Z)(e,”ext.segtax”)&&u[i]&&-1!==u[i].indexOf((0,o.Z)(e,”ext.segtax”)))).map((e=>{let t=e.segment.filter((e=>e.id)).reduce(((e,t)=>(e.push(t.id),e)),[]);if(t.length>0)return t.toString()})).toString():”object”==typeof e&&!Array.isArray(e)||void 0===e?void 0:Array.isArray(e)?e.filter((e=>{if(“object”!=typeof e&&void 0!==e)return e.toString();(0,r.logWarn)(“Rubicon: Filtered value: “,e,”for
“)),[e.width,e.height]=g[o.size_id].split(“x”).map((e=>Number(e)))),e.rubiconTargeting=(Array.isArray(o.targeting)?o.targeting:[]).reduce(((e,t)=>(e[t.key]=t.values[0],e)),{rpfl_elemid:s.adUnitCode}),t.push(e)}else(0,r.logError)(“Rubicon: bidRequest undefined at index position:”.concat(n),i,e);var p,u;return t}),[]).sort(((e,t)=>(t.cpm||0)-(e.cpm||0)))},getUserSyncs:function(e,t,i,o){if(!C&&e.iframeEnabled){let e={};return i&&(“boolean”==typeof i.gdprApplies&&(e.gdpr=Number(i.gdprApplies)),”string”==typeof i.consentString&&(e.gdpr_consent=i.consentString)),o&&(e.us_privacy=encodeURIComponent(o)),e=Object.keys(e).length?”?”.concat((0,r.formatQS)(e)):””,C=!0,{type:”iframe”,url:”https://”.concat(m.syncHost||”eus”,”.rubiconproject.com/usync.html”)+e}}},transformBidParams:function(e,t){return(0,r.convertTypes)({accountId:”number”,siteId:”number”,zoneId:”number”},e)}};function x(e,t){let i;return i=e.params.referrer?e.params.referrer:t.refererInfo.page,e.params.secure?i.replace(/^http:/i,”https:”):i}function b(e){const t=document.getElementById(e.adUnitCode);!function(e){const t=e.querySelector(“div[id^=’google_ads’]”);t&&t.style.setProperty(“display”,”none”)}(t),function(e){const t=e.querySelector(“script[id^=’sas_script’]”),i=t&&t.nextSibling;i&&”iframe”===i.localName&&i.style.setProperty(“display”,”none”)}(t);const i=e.renderer.getConfig();e.renderer.push((()=>{window.MagniteApex.renderAd({width:e.width,height:e.height,vastUrl:e.vastUrl,placement:{attachTo:t,align:i.align||”center”,position:i.position||”append”},closeButton:i.closeButton||!1,label:i.label||void 0,collapse:i.collapse||!0})}))}function y(e,t){let i=e.params;if(“video”===t){let t=[];return i.video&&i.video.playerWidth&&i.video.playerHeight?t=[i.video.playerWidth,i.video.playerHeight]:Array.isArray((0,o.Z)(e,”mediaTypes.video.playerSize”))&&1===e.mediaTypes.video.playerSize.length?t=e.mediaTypes.video.playerSize[0]:Array.isArray(e.sizes)&&e.sizes.length>0&&Array.isArray(e.sizes[0])&&e.sizes[0].length>1&&(t=e.sizes[0]),t}let n=[];return Array.isArray(i.sizes)?n=i.sizes:void 0!==(0,o.Z)(e,”mediaTypes.banner.sizes”)?n=h(e.mediaTypes.banner.sizes):Array.isArray(e.sizes)&&e.sizes.length>0?n=h(e.sizes):(0,r.logWarn)(“Rubicon: no sizes are setup or found”),function(e){const t=[15,2,9];return e.sort(((e,i)=>{const r=t.indexOf(e),o=t.indexOf(i);return r>-1||o>-1?-1===r?1:-1===o?-1:r-o:e-i}))}(n)}function v(e,t,i){const n={user:{ext:{data:{…e.params.visitor}}},site:{ext:{data:{…e.params.inventory}}}};e.params.keywords&&(n.site.keywords=(0,r.isArray)(e.params.keywords)?e.params.keywords.join(“,”):e.params.keywords);let a=(0,r.mergeDeep)({},e.ortb2||{},n),s=(0,o.Z)(e.ortb2Imp,”ext”)||{},c=(0,o.Z)(e.ortb2Imp,”ext.data”)||{};const p=(0,o.Z)(e,”ortb2Imp.ext.gpid”),u={user:[4],site:[1,2,5,6]},l={user:”tg_v.”,site:”tg_i.”,adserver:”tg_i.dfp_ad_unit_code”,pbadslot:”tg_i.pbadslot”,keywords:”kw”},m=function(e,t,n){let a=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],s=function(e,t,i){return”data”===t&&Array.isArray(e)?e.filter((e=>e.segment&&(0,o.Z)(e,”ext.segtax”)&&u[i]&&-1!==u[i].indexOf((0,o.Z)(e,”ext.segtax”)))).map((e=>{let t=e.segment.filter((e=>e.id)).reduce(((e,t)=>(e.push(t.id),e)),[]);if(t.length>0)return t.toString()})).toString():”object”==typeof e&&!Array.isArray(e)||void 0===e?void 0:Array.isArray(e)?e.filter((e=>{if(“object”!=typeof e&&void 0!==e)return e.toString();(0,r.logWarn)(“Rubicon: Filtered value: “,e,”for
“)),[e.width,e.height]=g[o.size_id].split(“x”).map((e=>Number(e)))),e.rubiconTargeting=(Array.isArray(o.targeting)?o.targeting:[]).reduce(((e,t)=>(e[t.key]=t.values[0],e)),{rpfl_elemid:s.adUnitCode}),t.push(e)}else(0,r.logError)(“Rubicon: bidRequest undefined at index position:”.concat(n),i,e);var p,u;return t}),[]).sort(((e,t)=>(t.cpm||0)-(e.cpm||0)))},getUserSyncs:function(e,t,i,o){if(!C&&e.iframeEnabled){let e={};return i&&(“boolean”==typeof i.gdprApplies&&(e.gdpr=Number(i.gdprApplies)),”string”==typeof i.consentString&&(e.gdpr_consent=i.consentString)),o&&(e.us_privacy=encodeURIComponent(o)),e=Object.keys(e).length?”?”.concat((0,r.formatQS)(e)):””,C=!0,{type:”iframe”,url:”https://”.concat(m.syncHost||”eus”,”.rubiconproject.com/usync.html”)+e}}},transformBidParams:function(e,t){return(0,r.convertTypes)({accountId:”number”,siteId:”number”,zoneId:”number”},e)}};function x(e,t){let i;return i=e.params.referrer?e.params.referrer:t.refererInfo.page,e.params.secure?i.replace(/^http:/i,”https:”):i}function b(e){const t=document.getElementById(e.adUnitCode);!function(e){const t=e.querySelector(“div[id^=’google_ads’]”);t&&t.style.setProperty(“display”,”none”)}(t),function(e){const t=e.querySelector(“script[id^=’sas_script’]”),i=t&&t.nextSibling;i&&”iframe”===i.localName&&i.style.setProperty(“display”,”none”)}(t);const i=e.renderer.getConfig();e.renderer.push((()=>{window.MagniteApex.renderAd({width:e.width,height:e.height,vastUrl:e.vastUrl,placement:{attachTo:t,align:i.align||”center”,position:i.position||”append”},closeButton:i.closeButton||!1,label:i.label||void 0,collapse:i.collapse||!0})}))}function y(e,t){let i=e.params;if(“video”===t){let t=[];return i.video&&i.video.playerWidth&&i.video.playerHeight?t=[i.video.playerWidth,i.video.playerHeight]:Array.isArray((0,o.Z)(e,”mediaTypes.video.playerSize”))&&1===e.mediaTypes.video.playerSize.length?t=e.mediaTypes.video.playerSize[0]:Array.isArray(e.sizes)&&e.sizes.length>0&&Array.isArray(e.sizes[0])&&e.sizes[0].length>1&&(t=e.sizes[0]),t}let n=[];return Array.isArray(i.sizes)?n=i.sizes:void 0!==(0,o.Z)(e,”mediaTypes.banner.sizes”)?n=h(e.mediaTypes.banner.sizes):Array.isArray(e.sizes)&&e.sizes.length>0?n=h(e.sizes):(0,r.logWarn)(“Rubicon: no sizes are setup or found”),function(e){const t=[15,2,9];return e.sort(((e,i)=>{const r=t.indexOf(e),o=t.indexOf(i);return r>-1||o>-1?-1===r?1:-1===o?-1:r-o:e-i}))}(n)}function v(e,t,i){const n={user:{ext:{data:{…e.params.visitor}}},site:{ext:{data:{…e.params.inventory}}}};e.params.keywords&&(n.site.keywords=(0,r.isArray)(e.params.keywords)?e.params.keywords.join(“,”):e.params.keywords);let a=(0,r.mergeDeep)({},e.ortb2||{},n),s=(0,o.Z)(e.ortb2Imp,”ext”)||{},c=(0,o.Z)(e.ortb2Imp,”ext.data”)||{};const p=(0,o.Z)(e,”ortb2Imp.ext.gpid”),u={user:[4],site:[1,2,5,6]},l={user:”tg_v.”,site:”tg_i.”,adserver:”tg_i.dfp_ad_unit_code”,pbadslot:”tg_i.pbadslot”,keywords:”kw”},m=function(e,t,n){let a=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],s=function(e,t,i){return”data”===t&&Array.isArray(e)?e.filter((e=>e.segment&&(0,o.Z)(e,”ext.segtax”)&&u[i]&&-1!==u[i].indexOf((0,o.Z)(e,”ext.segtax”)))).map((e=>{let t=e.segment.filter((e=>e.id)).reduce(((e,t)=>(e.push(t.id),e)),[]);if(t.length>0)return t.toString()})).toString():”object”==typeof e&&!Array.isArray(e)||void 0===e?void 0:Array.isArray(e)?e.filter((e=>{if(“object”!=typeof e&&void 0!==e)return e.toString();(0,r.logWarn)(“Rubicon: Filtered value: “,e,”for
“)),[e.width,e.height]=g[o.size_id].split(“x”).map((e=>Number(e)))),e.rubiconTargeting=(Array.isArray(o.targeting)?o.targeting:[]).reduce(((e,t)=>(e[t.key]=t.values[0],e)),{rpfl_elemid:s.adUnitCode}),t.push(e)}else(0,r.logError)(“Rubicon: bidRequest undefined at index position:”.concat(n),i,e);var p,u;return t}),[]).sort(((e,t)=>(t.cpm||0)-(e.cpm||0)))},getUserSyncs:function(e,t,i,o){if(!C&&e.iframeEnabled){let e={};return i&&(“boolean”==typeof i.gdprApplies&&(e.gdpr=Number(i.gdprApplies)),”string”==typeof i.consentString&&(e.gdpr_consent=i.consentString)),o&&(e.us_privacy=encodeURIComponent(o)),e=Object.keys(e).length?”?”.concat((0,r.formatQS)(e)):””,C=!0,{type:”iframe”,url:”https://”.concat(m.syncHost||”eus”,”.rubiconproject.com/usync.html”)+e}}},transformBidParams:function(e,t){return(0,r.convertTypes)({accountId:”number”,siteId:”number”,zoneId:”number”},e)}};function x(e,t){let i;return i=e.params.referrer?e.params.referrer:t.refererInfo.page,e.params.secure?i.replace(/^http:/i,”https:”):i}function b(e){const t=document.getElementById(e.adUnitCode);!function(e){const t=e.querySelector(“div[id^=’google_ads’]”);t&&t.style.setProperty(“display”,”none”)}(t),function(e){const t=e.querySelector(“script[id^=’sas_script’]”),i=t&&t.nextSibling;i&&”iframe”===i.localName&&i.style.setProperty(“display”,”none”)}(t);const i=e.renderer.getConfig();e.renderer.push((()=>{window.MagniteApex.renderAd({width:e.width,height:e.height,vastUrl:e.vastUrl,placement:{attachTo:t,align:i.align||”center”,position:i.position||”append”},closeButton:i.closeButton||!1,label:i.label||void 0,collapse:i.collapse||!0})}))}function y(e,t){let i=e.params;if(“video”===t){let t=[];return i.video&&i.video.playerWidth&&i.video.playerHeight?t=[i.video.playerWidth,i.video.playerHeight]:Array.isArray((0,o.Z)(e,”mediaTypes.video.playerSize”))&&1===e.mediaTypes.video.playerSize.length?t=e.mediaTypes.video.playerSize[0]:Array.isArray(e.sizes)&&e.sizes.length>0&&Array.isArray(e.sizes[0])&&e.sizes[0].length>1&&(t=e.sizes[0]),t}let n=[];return Array.isArray(i.sizes)?n=i.sizes:void 0!==(0,o.Z)(e,”mediaTypes.banner.sizes”)?n=h(e.mediaTypes.banner.sizes):Array.isArray(e.sizes)&&e.sizes.length>0?n=h(e.sizes):(0,r.logWarn)(“Rubicon: no sizes are setup or found”),function(e){const t=[15,2,9];return e.sort(((e,i)=>{const r=t.indexOf(e),o=t.indexOf(i);return r>-1||o>-1?-1===r?1:-1===o?-1:r-o:e-i}))}(n)}function v(e,t,i){const n={user:{ext:{data:{…e.params.visitor}}},site:{ext:{data:{…e.params.inventory}}}};e.params.keywords&&(n.site.keywords=(0,r.isArray)(e.params.keywords)?e.params.keywords.join(“,”):e.params.keywords);let a=(0,r.mergeDeep)({},e.ortb2||{},n),s=(0,o.Z)(e.ortb2Imp,”ext”)||{},c=(0,o.Z)(e.ortb2Imp,”ext.data”)||{};const p=(0,o.Z)(e,”ortb2Imp.ext.gpid”),u={user:[4],site:[1,2,5,6]},l={user:”tg_v.”,site:”tg_i.”,adserver:”tg_i.dfp_ad_unit_code”,pbadslot:”tg_i.pbadslot”,keywords:”kw”},m=function(e,t,n){let a=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],s=function(e,t,i){return”data”===t&&Array.isArray(e)?e.filter((e=>e.segment&&(0,o.Z)(e,”ext.segtax”)&&u[i]&&-1!==u[i].indexOf((0,o.Z)(e,”ext.segtax”)))).map((e=>{let t=e.segment.filter((e=>e.id)).reduce(((e,t)=>(e.push(t.id),e)),[]);if(t.length>0)return t.toString()})).toString():”object”==typeof e&&!Array.isArray(e)||void 0===e?void 0:Array.isArray(e)?e.filter((e=>{if(“object”!=typeof e&&void 0!==e)return e.toString();(0,r.logWarn)(“Rubicon: Filtered value: “,e,”for
“)),[e.width,e.height]=g[o.size_id].split(“x”).map((e=>Number(e)))),e.rubiconTargeting=(Array.isArray(o.targeting)?o.targeting:[]).reduce(((e,t)=>(e[t.key]=t.values[0],e)),{rpfl_elemid:s.adUnitCode}),t.push(e)}else(0,r.logError)(“Rubicon: bidRequest undefined at index position:”.concat(n),i,e);var p,u;return t}),[]).sort(((e,t)=>(t.cpm||0)-(e.cpm||0)))},getUserSyncs:function(e,t,i,o){if(!C&&e.iframeEnabled){let e={};return i&&(“boolean”==typeof i.gdprApplies&&(e.gdpr=Number(i.gdprApplies)),”string”==typeof i.consentString&&(e.gdpr_consent=i.consentString)),o&&(e.us_privacy=encodeURIComponent(o)),e=Object.keys(e).length?”?”.concat((0,r.formatQS)(e)):””,C=!0,{type:”iframe”,url:”https://”.concat(m.syncHost||”eus”,”.rubiconproject.com/usync.html”)+e}}},transformBidParams:function(e,t){return(0,r.convertTypes)({accountId:”number”,siteId:”number”,zoneId:”number”},e)}};function x(e,t){let i;return i=e.params.referrer?e.params.referrer:t.refererInfo.page,e.params.secure?i.replace(/^http:/i,”https:”):i}function b(e){const t=document.getElementById(e.adUnitCode);!function(e){const t=e.querySelector(“div[id^=’google_ads’]”);t&&t.style.setProperty(“display”,”none”)}(t),function(e){const t=e.querySelector(“script[id^=’sas_script’]”),i=t&&t.nextSibling;i&&”iframe”===i.localName&&i.style.setProperty(“display”,”none”)}(t);const i=e.renderer.getConfig();e.renderer.push((()=>{window.MagniteApex.renderAd({width:e.width,height:e.height,vastUrl:e.vastUrl,placement:{attachTo:t,align:i.align||”center”,position:i.position||”append”},closeButton:i.closeButton||!1,label:i.label||void 0,collapse:i.collapse||!0})}))}function y(e,t){let i=e.params;if(“video”===t){let t=[];return i.video&&i.video.playerWidth&&i.video.playerHeight?t=[i.video.playerWidth,i.video.playerHeight]:Array.isArray((0,o.Z)(e,”mediaTypes.video.playerSize”))&&1===e.mediaTypes.video.playerSize.length?t=e.mediaTypes.video.playerSize[0]:Array.isArray(e.sizes)&&e.sizes.length>0&&Array.isArray(e.sizes[0])&&e.sizes[0].length>1&&(t=e.sizes[0]),t}let n=[];return Array.isArray(i.sizes)?n=i.sizes:void 0!==(0,o.Z)(e,”mediaTypes.banner.sizes”)?n=h(e.mediaTypes.banner.sizes):Array.isArray(e.sizes)&&e.sizes.length>0?n=h(e.sizes):(0,r.logWarn)(“Rubicon: no sizes are setup or found”),function(e){const t=[15,2,9];return e.sort(((e,i)=>{const r=t.indexOf(e),o=t.indexOf(i);return r>-1||o>-1?-1===r?1:-1===o?-1:r-o:e-i}))}(n)}function v(e,t,i){const n={user:{ext:{data:{…e.params.visitor}}},site:{ext:{data:{…e.params.inventory}}}};e.params.keywords&&(n.site.keywords=(0,r.isArray)(e.params.keywords)?e.params.keywords.join(“,”):e.params.keywords);let a=(0,r.mergeDeep)({},e.ortb2||{},n),s=(0,o.Z)(e.ortb2Imp,”ext”)||{},c=(0,o.Z)(e.ortb2Imp,”ext.data”)||{};const p=(0,o.Z)(e,”ortb2Imp.ext.gpid”),u={user:[4],site:[1,2,5,6]},l={user:”tg_v.”,site:”tg_i.”,adserver:”tg_i.dfp_ad_unit_code”,pbadslot:”tg_i.pbadslot”,keywords:”kw”},m=function(e,t,n){let a=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],s=function(e,t,i){return”data”===t&&Array.isArray(e)?e.filter((e=>e.segment&&(0,o.Z)(e,”ext.segtax”)&&u[i]&&-1!==u[i].indexOf((0,o.Z)(e,”ext.segtax”)))).map((e=>{let t=e.segment.filter((e=>e.id)).reduce(((e,t)=>(e.push(t.id),e)),[]);if(t.length>0)return t.toString()})).toString():”object”==typeof e&&!Array.isArray(e)||void 0===e?void 0:Array.isArray(e)?e.filter((e=>{if(“object”!=typeof e&&void 0!==e)return e.toString();(0,r.logWarn)(“Rubicon: Filtered value: “,e,”for
“)),[e.width,e.height]=g[o.size_id].split(“x”).map((e=>Number(e)))),e.rubiconTargeting=(Array.isArray(o.targeting)?o.targeting:[]).reduce(((e,t)=>(e[t.key]=t.values[0],e)),{rpfl_elemid:s.adUnitCode}),t.push(e)}else(0,r.logError)(“Rubicon: bidRequest undefined at index position:”.concat(n),i,e);var p,u;return t}),[]).sort(((e,t)=>(t.cpm||0)-(e.cpm||0)))},getUserSyncs:function(e,t,i,o){if(!C&&e.iframeEnabled){let e={};return i&&(“boolean”==typeof i.gdprApplies&&(e.gdpr=Number(i.gdprApplies)),”string”==typeof i.consentString&&(e.gdpr_consent=i.consentString)),o&&(e.us_privacy=encodeURIComponent(o)),e=Object.keys(e).length?”?”.concat((0,r.formatQS)(e)):””,C=!0,{type:”iframe”,url:”https://”.concat(m.syncHost||”eus”,”.rubiconproject.com/usync.html”)+e}}},transformBidParams:function(e,t){return(0,r.convertTypes)({accountId:”number”,siteId:”number”,zoneId:”number”},e)}};function x(e,t){let i;return i=e.params.referrer?e.params.referrer:t.refererInfo.page,e.params.secure?i.replace(/^http:/i,”https:”):i}function b(e){const t=document.getElementById(e.adUnitCode);!function(e){const t=e.querySelector(“div[id^=’google_ads’]”);t&&t.style.setProperty(“display”,”none”)}(t),function(e){const t=e.querySelector(“script[id^=’sas_script’]”),i=t&&t.nextSibling;i&&”iframe”===i.localName&&i.style.setProperty(“display”,”none”)}(t);const i=e.renderer.getConfig();e.renderer.push((()=>{window.MagniteApex.renderAd({width:e.width,height:e.height,vastUrl:e.vastUrl,placement:{attachTo:t,align:i.align||”center”,position:i.position||”append”},closeButton:i.closeButton||!1,label:i.label||void 0,collapse:i.collapse||!0})}))}function y(e,t){let i=e.params;if(“video”===t){let t=[];return i.video&&i.video.playerWidth&&i.video.playerHeight?t=[i.video.playerWidth,i.video.playerHeight]:Array.isArray((0,o.Z)(e,”mediaTypes.video.playerSize”))&&1===e.mediaTypes.video.playerSize.length?t=e.mediaTypes.video.playerSize[0]:Array.isArray(e.sizes)&&e.sizes.length>0&&Array.isArray(e.sizes[0])&&e.sizes[0].length>1&&(t=e.sizes[0]),t}let n=[];return Array.isArray(i.sizes)?n=i.sizes:void 0!==(0,o.Z)(e,”mediaTypes.banner.sizes”)?n=h(e.mediaTypes.banner.sizes):Array.isArray(e.sizes)&&e.sizes.length>0?n=h(e.sizes):(0,r.logWarn)(“Rubicon: no sizes are setup or found”),function(e){const t=[15,2,9];return e.sort(((e,i)=>{const r=t.indexOf(e),o=t.indexOf(i);return r>-1||o>-1?-1===r?1:-1===o?-1:r-o:e-i}))}(n)}function v(e,t,i){const n={user:{ext:{data:{…e.params.visitor}}},site:{ext:{data:{…e.params.inventory}}}};e.params.keywords&&(n.site.keywords=(0,r.isArray)(e.params.keywords)?e.params.keywords.join(“,”):e.params.keywords);let a=(0,r.mergeDeep)({},e.ortb2||{},n),s=(0,o.Z)(e.ortb2Imp,”ext”)||{},c=(0,o.Z)(e.ortb2Imp,”ext.data”)||{};const p=(0,o.Z)(e,”ortb2Imp.ext.gpid”),u={user:[4],site:[1,2,5,6]},l={user:”tg_v.”,site:”tg_i.”,adserver:”tg_i.dfp_ad_unit_code”,pbadslot:”tg_i.pbadslot”,keywords:”kw”},m=function(e,t,n){let a=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],s=function(e,t,i){return”data”===t&&Array.isArray(e)?e.filter((e=>e.segment&&(0,o.Z)(e,”ext.segtax”)&&u[i]&&-1!==u[i].indexOf((0,o.Z)(e,”ext.segtax”)))).map((e=>{let t=e.segment.filter((e=>e.id)).reduce(((e,t)=>(e.push(t.id),e)),[]);if(t.length>0)return t.toString()})).toString():”object”==typeof e&&!Array.isArray(e)||void 0===e?void 0:Array.isArray(e)?e.filter((e=>{if(“object”!=typeof e&&void 0!==e)return e.toString();(0,r.logWarn)(“Rubicon: Filtered value: “,e,”for
“)),[e.width,e.height]=g[o.size_id].split(“x”).map((e=>Number(e)))),e.rubiconTargeting=(Array.isArray(o.targeting)?o.targeting:[]).reduce(((e,t)=>(e[t.key]=t.values[0],e)),{rpfl_elemid:s.adUnitCode}),t.push(e)}else(0,r.logError)(“Rubicon: bidRequest undefined at index position:”.concat(n),i,e);var p,u;return t}),[]).sort(((e,t)=>(t.cpm||0)-(e.cpm||0)))},getUserSyncs:function(e,t,i,o){if(!C&&e.iframeEnabled){let e={};return i&&(“boolean”==typeof i.gdprApplies&&(e.gdpr=Number(i.gdprApplies)),”string”==typeof i.consentString&&(e.gdpr_consent=i.consentString)),o&&(e.us_privacy=encodeURIComponent(o)),e=Object.keys(e).length?”?”.concat((0,r.formatQS)(e)):””,C=!0,{type:”iframe”,url:”https://”.concat(m.syncHost||”eus”,”.rubiconproject.com/usync.html”)+e}}},transformBidParams:function(e,t){return(0,r.convertTypes)({accountId:”number”,siteId:”number”,zoneId:”number”},e)}};function x(e,t){let i;return i=e.params.referrer?e.params.referrer:t.refererInfo.page,e.params.secure?i.replace(/^http:/i,”https:”):i}function b(e){const t=document.getElementById(e.adUnitCode);!function(e){const t=e.querySelector(“div[id^=’google_ads’]”);t&&t.style.setProperty(“display”,”none”)}(t),function(e){const t=e.querySelector(“script[id^=’sas_script’]”),i=t&&t.nextSibling;i&&”iframe”===i.localName&&i.style.setProperty(“display”,”none”)}(t);const i=e.renderer.getConfig();e.renderer.push((()=>{window.MagniteApex.renderAd({width:e.width,height:e.height,vastUrl:e.vastUrl,placement:{attachTo:t,align:i.align||”center”,position:i.position||”append”},closeButton:i.closeButton||!1,label:i.label||void 0,collapse:i.collapse||!0})}))}function y(e,t){let i=e.params;if(“video”===t){let t=[];return i.video&&i.video.playerWidth&&i.video.playerHeight?t=[i.video.playerWidth,i.video.playerHeight]:Array.isArray((0,o.Z)(e,”mediaTypes.video.playerSize”))&&1===e.mediaTypes.video.playerSize.length?t=e.mediaTypes.video.playerSize[0]:Array.isArray(e.sizes)&&e.sizes.length>0&&Array.isArray(e.sizes[0])&&e.sizes[0].length>1&&(t=e.sizes[0]),t}let n=[];return Array.isArray(i.sizes)?n=i.sizes:void 0!==(0,o.Z)(e,”mediaTypes.banner.sizes”)?n=h(e.mediaTypes.banner.sizes):Array.isArray(e.sizes)&&e.sizes.length>0?n=h(e.sizes):(0,r.logWarn)(“Rubicon: no sizes are setup or found”),function(e){const t=[15,2,9];return e.sort(((e,i)=>{const r=t.indexOf(e),o=t.indexOf(i);return r>-1||o>-1?-1===r?1:-1===o?-1:r-o:e-i}))}(n)}function v(e,t,i){const n={user:{ext:{data:{…e.params.visitor}}},site:{ext:{data:{…e.params.inventory}}}};e.params.keywords&&(n.site.keywords=(0,r.isArray)(e.params.keywords)?e.params.keywords.join(“,”):e.params.keywords);let a=(0,r.mergeDeep)({},e.ortb2||{},n),s=(0,o.Z)(e.ortb2Imp,”ext”)||{},c=(0,o.Z)(e.ortb2Imp,”ext.data”)||{};const p=(0,o.Z)(e,”ortb2Imp.ext.gpid”),u={user:[4],site:[1,2,5,6]},l={user:”tg_v.”,site:”tg_i.”,adserver:”tg_i.dfp_ad_unit_code”,pbadslot:”tg_i.pbadslot”,keywords:”kw”},m=function(e,t,n){let a=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],s=function(e,t,i){return”data”===t&&Array.isArray(e)?e.filter((e=>e.segment&&(0,o.Z)(e,”ext.segtax”)&&u[i]&&-1!==u[i].indexOf((0,o.Z)(e,”ext.segtax”)))).map((e=>{let t=e.segment.filter((e=>e.id)).reduce(((e,t)=>(e.push(t.id),e)),[]);if(t.length>0)return t.toString()})).toString():”object”==typeof e&&!Array.isArray(e)||void 0===e?void 0:Array.isArray(e)?e.filter((e=>{if(“object”!=typeof e&&void 0!==e)return e.toString();(0,r.logWarn)(“Rubicon: Filtered value: “,e,”for
“)),[e.width,e.height]=g[o.size_id].split(“x”).map((e=>Number(e)))),e.rubiconTargeting=(Array.isArray(o.targeting)?o.targeting:[]).reduce(((e,t)=>(e[t.key]=t.values[0],e)),{rpfl_elemid:s.adUnitCode}),t.push(e)}else(0,r.logError)(“Rubicon: bidRequest undefined at index position:”.concat(n),i,e);var p,u;return t}),[]).sort(((e,t)=>(t.cpm||0)-(e.cpm||0)))},getUserSyncs:function(e,t,i,o){if(!C&&e.iframeEnabled){let e={};return i&&(“boolean”==typeof i.gdprApplies&&(e.gdpr=Number(i.gdprApplies)),”string”==typeof i.consentString&&(e.gdpr_consent=i.consentString)),o&&(e.us_privacy=encodeURIComponent(o)),e=Object.keys(e).length?”?”.concat((0,r.formatQS)(e)):””,C=!0,{type:”iframe”,url:”https://”.concat(m.syncHost||”eus”,”.rubiconproject.com/usync.html”)+e}}},transformBidParams:function(e,t){return(0,r.convertTypes)({accountId:”number”,siteId:”number”,zoneId:”number”},e)}};function x(e,t){let i;return i=e.params.referrer?e.params.referrer:t.refererInfo.page,e.params.secure?i.replace(/^http:/i,”https:”):i}function b(e){const t=document.getElementById(e.adUnitCode);!function(e){const t=e.querySelector(“div[id^=’google_ads’]”);t&&t.style.setProperty(“display”,”none”)}(t),function(e){const t=e.querySelector(“script[id^=’sas_script’]”),i=t&&t.nextSibling;i&&”iframe”===i.localName&&i.style.setProperty(“display”,”none”)}(t);const i=e.renderer.getConfig();e.renderer.push((()=>{window.MagniteApex.renderAd({width:e.width,height:e.height,vastUrl:e.vastUrl,placement:{attachTo:t,align:i.align||”center”,position:i.position||”append”},closeButton:i.closeButton||!1,label:i.label||void 0,collapse:i.collapse||!0})}))}function y(e,t){let i=e.params;if(“video”===t){let t=[];return i.video&&i.video.playerWidth&&i.video.playerHeight?t=[i.video.playerWidth,i.video.playerHeight]:Array.isArray((0,o.Z)(e,”mediaTypes.video.playerSize”))&&1===e.mediaTypes.video.playerSize.length?t=e.mediaTypes.video.playerSize[0]:Array.isArray(e.sizes)&&e.sizes.length>0&&Array.isArray(e.sizes[0])&&e.sizes[0].length>1&&(t=e.sizes[0]),t}let n=[];return Array.isArray(i.sizes)?n=i.sizes:void 0!==(0,o.Z)(e,”mediaTypes.banner.sizes”)?n=h(e.mediaTypes.banner.sizes):Array.isArray(e.sizes)&&e.sizes.length>0?n=h(e.sizes):(0,r.logWarn)(“Rubicon: no sizes are setup or found”),function(e){const t=[15,2,9];return e.sort(((e,i)=>{const r=t.indexOf(e),o=t.indexOf(i);return r>-1||o>-1?-1===r?1:-1===o?-1:r-o:e-i}))}(n)}function v(e,t,i){const n={user:{ext:{data:{…e.params.visitor}}},site:{ext:{data:{…e.params.inventory}}}};e.params.keywords&&(n.site.keywords=(0,r.isArray)(e.params.keywords)?e.params.keywords.join(“,”):e.params.keywords);let a=(0,r.mergeDeep)({},e.ortb2||{},n),s=(0,o.Z)(e.ortb2Imp,”ext”)||{},c=(0,o.Z)(e.ortb2Imp,”ext.data”)||{};const p=(0,o.Z)(e,”ortb2Imp.ext.gpid”),u={user:[4],site:[1,2,5,6]},l={user:”tg_v.”,site:”tg_i.”,adserver:”tg_i.dfp_ad_unit_code”,pbadslot:”tg_i.pbadslot”,keywords:”kw”},m=function(e,t,n){let a=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],s=function(e,t,i){return”data”===t&&Array.isArray(e)?e.filter((e=>e.segment&&(0,o.Z)(e,”ext.segtax”)&&u[i]&&-1!==u[i].indexOf((0,o.Z)(e,”ext.segtax”)))).map((e=>{let t=e.segment.filter((e=>e.id)).reduce(((e,t)=>(e.push(t.id),e)),[]);if(t.length>0)return t.toString()})).toString():”object”==typeof e&&!Array.isArray(e)||void 0===e?void 0:Array.isArray(e)?e.filter((e=>{if(“object”!=typeof e&&void 0!==e)return e.toString();(0,r.logWarn)(“Rubicon: Filtered value: “,e,”for