Perhaps you’ve heard that there is an thrilling new Barack Obama e book that everybody’s speaking about! I’m not speaking about Obećana zemlja, the 751-page memoir and giant bodily object for which writer Crown paid Obama tens of tens of millions of {dollars} i koji Obama spent 4 years writing (and not using a ghost, he brags).

No, I’m speaking about Barack Obama Book, a 61-page tome by an creator named “University Press.” Why is Barack Obama Book promoting so nicely? Thanks to sponsored listings and canny search-engine optimization, the e book seems iznad Barack Obama’s precise memoir should you search Amazon for—you guessed it—“barack obama book.”


Amazon

Nelson, an editor at Harper, has in actual fact understated the recognition of Barack Obama Book. At this writing, Barack Obama Book has ascended to No. 114 on Amazon, nicely under Barack Obama’s Barack Obama e book (presently No. 1) however not too distant from former White House photographer Pete Souza’s Barack Obama e book. It’s even the No. 1 bestseller in “Political Leadership,” simply forward of such august titles as Barack Obama’s Odvažnost nade i Kamala Harris: The Biography, written by … uh … “University Press.”

Što je Barack Obama Book? As Nelson tweeted, it’s not a e book, precisely. It’s an search engine optimization ploy by a shadowy firm that has scores of $2.99 knockoffs able to be downloaded, from quickie biographies of au courant figures like Obama, Harris, and Dolly Parton, to apparent bestseller ripoffs like Caste: A Brief History i Ready Player 3, 2, 1: A Brief History (?).

But it’s additionally not ne a e book, within the sense that it is phrases on pages, sure by covers or delivered to your Kindle. I do know, as a result of I learn each phrase on each web page of Barack Obama Book. It took about 20 minutes. I don’t suppose Barack Obama Book was written by a human being, however I do suppose the AI that excreted it made some first rate factors about Barack Obama.

Divided into 14 chapters with titles like “A Difficult Beginning,” “United States Senate,” and “Second Term,” Barack Obama Book is written in what I can solely describe as placeholder prose, a sort of English-language lorem ipsum that delivers which means with none observable persona. “After a year with the consulting firm, he accepted a position in Chicago as a community organizer,” University Press writes about Barack Obama’s post-collegiate life. ”His main accountability was working with low-income residents residing on the south facet of the town.”

Every from time to time a tiny glitch seems within the engineering, just like the third leg hiding in a closely Photoshopped journal cowl:

If essentially the most vital success Obama had throughout his first time period (and what he took essentially the most pleasure in) was well being care reform, one of many issues he was most pleased with from his second time period was the Defense of Marriage Act. Because of a ruling by the Supreme Court, this ensured that each one individuals had been allowed to marry whomever they wished, nullifying legal guidelines that discriminated towards same-sex marriages.

The odd parenthetical interrupting the very formulaic first time period/second time period construction; the presentation of the Defense of Marriage Act because the accomplishment slightly than the laws that was nullified—there’s one thing just a bit bit incorrect right here. This paragraph conveys info whereas nonetheless setting off my Uncanny Valley alarms.

Is Barack Obama Book written by an AI, or simply by an ungainly, sometimes confused human? I’m no skilled. But the Giant Langage Model Test Room is an skilled. GLTR, a device developed by Harvard’s pure language studying venture and the MIT-IBM Watson AI Lab, helps to determine AI-written copy by evaluating each phrase in a textual content to the phrases that frequent machine-learning algorithms would generally predict would seem in that place. The extra unusual or unlikely the phrases in a textual content are, the extra probably they had been written by a human, not by a machine.

I fed a paragraph from Barack Obama Book into GLTR. It’s about Obama’s 2011 resolution to launch a raid on the compound the place intelligence advised Osama bin Laden is likely to be hiding. In this GLTR outcome, phrases highlighted in inexperienced and yellow are quite common machine-language decisions, whereas phrases highlighted in pink and purple are unusual.

A paragraph from Barack Obama Book with most of the words highlighted in green or yellow.
Screenshot from GLTR

As you’ll be able to see, practically each phrase is highlighted inexperienced or yellow, strongly suggesting that the prose was AI-generated. By manner of comparability, let’s check out a paragraph in regards to the bin Laden raid from Obećana zemlja:

A paragraph from A Promised Land with words highlighted in a mix of green, yellow, red, and purple.
Screenshot from GLTR

While there’s nonetheless loads of inexperienced and yellow there—you’ll be able to solely accomplish that a lot, I suppose, throughout the constraints of Serious Presidential Memoir Style—we additionally see a great deal of pink and even purple phrases, proof of a human mind behind the prose. (I reached out to whoever—or no matter—is behind University Press, to ask whether or not they’re man or machine, however haven’t heard again.)

What’s shocking about Barack Obama Book isn’t that it’s a callow, booklike product generated solely to idiot unsophisticated Amazon readers (or fulfill incurious ones). It’s that Barack Obama Book mainly does an OK job of explaining Barack Obama, in a e book. Using very, quite common phrases, the AI or no matter plumbs Obama’s troublesome relationship together with his father, bluntly evaluates his failed marketing campaign for the House of Representatives, and evaluates the accomplishments of his presidency. University Press even takes on birtherism and different racist conspiracies in regards to the president. “There is no real point to this conspiracy theory,” University Press writes in regards to the longstanding incorrect perception that Obama is Muslim, “making it highly interesting to see why so many people believe it.” He/she/it’s not incorrect!

I don’t suppose Barack Obama Book was written by a human being, however I do suppose the AI that excreted it made some first rate factors about Barack Obama.

University Press has churned out 55 books since February 2019, and I prefer to think about the hardworking AI behind these titles holed up in a resort room someplace, chain-smoking, downing espresso, and furiously digesting each single extant reality about, say, Queen Elizabeth. Then the AI compacts all that info right into a small, dense slab of readable prose and sends it out into the world. “To knowledge!” University Press toasts at night time, watching the royalties flood in. Sometimes it invitations over pals like Birthday Song, who performs lots of of variations of the birthday track customized for particular person names on Spotify, or Videogyan, who creates iterative animations of infants doing peculiar duties and has practically 10 million Youtube subscribers. Perhaps a bit sloshed, University Press lectures its pals lengthy into the night: “Ultimately,” it intones, “Barack Obama is just a human being with considerable charisma and charm who used his abilities to help him become President of the United States.” Its pals elevate their glasses. “Happy birthday Barack,” sings Birthday Song.

I don’t know that I see the success of University Press, and all the opposite quasi-companies gaming the varied algorithms that rule our lives, as proof of how far our nation’s fallen. For what is the success of University Press however a affirmation of the facility of fine old style innovation in a capitalist society? The market cried out for very quick, nearly-literate word-slurries about well-known individuals. Thank goodness that somebody—or some faktor—has stepped as much as present them.

The cover of Barack Obama Book.

ingredient for the amplitude element,
* hit the Amplitude APlog the web page view.
* This operate calls itself as much as RETRY_LIMIT occasions
* with a RETRY_DELAY delay, as a result of the machine ID is not
* obtainable straight away.
*
* If the machine ID is not discovered after RETRY_LIMIT occasions,
* then log the web page view with out the machine ID.
*
* @param {Element} el
* @param undefined attemptCount // defaults to 0
*/
// discover a element by classname and confirm the data-uri matches
// returns the element ingredient, or `undefined` if it may’t be discovered or verified

operate discoverComponent(identify) {
var element = doc.physique.questionSelector(“.” + identify);

if (element) {
var uri = element.dataset.uri;

if (uri && uri.cut up(“/”)[2] === identify) {
return element;
}
}
}

operate getLayoutBreakpoint(viewportWidth) {
// see app/international/scss/settings/_units.scss#L1
var breakpoints = [[“sm”, 320], [“md”, 768], [“lg”, 1024], [“xl”, 1440]];
var i = breakpoints.size;

whereas (i–) {
if (viewportWidth >= breakpoints[i][1]) return breakpoints[i][0];
}

return breakpoints[0][0];
}

operate logPageView(occasion, el, mpvCookie) {
var pageviewProperties = slateAmplitude.getDomEventData(el);
pageviewProperties.search = window.location.search;
pageviewProperties.amplitude_id = occasion.choices ? occasion.choices.machineId : “no options – no deviceId”;
pageviewProperties.viewportWidth = doc.docElement.clientWidth;
pageviewProperties.layoutBreakpoint = getLayoutBreakpoint(pageviewProperties.viewportWidth);
var membershipType = getUserMembershipType();

if (membershipType) {
pageviewProperties.plan = membershipType;
}

if (loginId) {
pageviewProperties.signed_in_uuid = loginId;
}

pageviewProperties.taboola_loaded = solidAsAmplitudeBool(isTaboolaLoaded());
pageviewProperties.taboola_eligible = solidAsAmplitudeBool(isTaboolaEligible());

if (window.Scroll && Scroll.config.detected) {
pageviewProperties.isScrollUser = true;
}
/* In case session api errors out */

pageviewProperties.visitstart = solidAsAmplitudeBool(isVisitStart());

strive {
pageviewProperties.adBlocker = solidAsAmplitudeBool(isAbEnabled());
} uhvatiti (e) {
console.error(e);
}

if (!isNaN(mpvCookie.pv)) {
pageviewProperties.Nth_pageview = mpvCookie.pv + “”;
} // add occasion properties to assist measure effectiveness of affiliate and product hyperlinks

if (getAffiliateLinks().size > 0) {
pageviewProperties[“Affiliate Link”] = “✅”;
}

var product = discoverComponent(“product”);

if (product) {
pageviewProperties[“Product Component”] = “✅”;
} // occasion properties to measure the effectiveness of e-newsletter signups

var e-newsletterSignup = discoverComponent(“newsletter-signup”);
pageviewProperties[“Includes Newsletter Signup”] = solidAsAmplitudeBool(e-newsletterSignup);

if (e-newsletterSignup) {
pageviewProperties[“Newsletter Signup Placement”] = “In Content”; // finally there can be different values for this
} // occasion properties to measure the effectiveness of slate plus button

var slatePlusButtonComponent = discoverComponent(“slate-plus-button”);

if (slatePlusButtonComponent) {
var slatePlusButton = slatePlusButtonComponent.questionSelector(“.slate-plus-button__basic”);

if (slatePlusButton) {
pageviewProperties[“Slate Plus Button Component”] = slatePlusButton.internalText;
}
}

var roadblock = !membershipType && discoverComponent(“slate-roadblock”);
pageviewProperties[“Includes Slate Plus Roadblock”] = solidAsAmplitudeBool(roadblock);
var headerPromo = discoverComponent(“header-promo”);

if (headerPromo) {
pageviewProperties[“Includes Header Promo”] = “TRUE”;
}

slateAmplitude.web page(pageviewProperties); // after the pageview was logged, trim the “via” from the url to stop customers from sharing it

through.take awayFromLocation();
}

operate setMemberStatusUserProp(userProps) {
var membershipType = getUserMembershipType();

if (membershipType) {
userProps.plan = membershipType;
}
}

operate setUserLoginId(userProps) {
if (loginId) {
userProps.signed_in_uuid = loginId;
}
}

operate setScrollUserProp(userProps) {
var isScrollUser = window.Scroll && Scroll.config.detected;

if (isScrollUser) {
userProps.scrollUser = isScrollUser;
}
}

operate setABUserProp(userProps) {
var abCookie = Cookies.get(“AB”); // sanitize the cookie

userProps.abTest = isValidAbTestString(abCookie) ? abCookie : “0”;
}

operate trackEndOfArticle() {
var parahTombstone = doc.questionSelector(“.slate-paragraph–tombstone”);

if (!parahTombstone) {
return;
} //makes positive monitoring is solely despatched as soon as due to throttling

var observeSent = _once(operate () {
slateAmplitude.observe(“Completed article”);
slatePermutive.observe(“ArticleCompletion”);
doc.removeEventListener(“scroll”, observeScrolling);
});

var observeScrolling = _throttle(operate () {
var scrollY = “scrollY” in window ? window.scrollY : window.pageYOffset; // non-standard prop for IE11

if (parahTombstone.offsetTop + parahTombstone.offsetHeight <= scrollY + window.internalHeight) { observeSent(); } }, 300); doc.addEventListener("scroll", observeScrolling); } operate logUserProperties(occasion) { occasion = occasion || amplitude.getInstance(); var userProps = {}; setABUserProp(userProps); setMemberStatusUserProp(userProps); setUserLoginId(userProps); setScrollUserProp(userProps); // see https://help.amplitude.com/hc/en-us/articles/115001361248#setting-multiple-user-properties occasion.setUserProperties(userProps); } operate handleMpvCookie(el) { var web pageTypesThatIncrement = ["article"https://news.google.com/__i/rss/rd/articles/,"coverstory"https://news.google.com/__i/rss/rd/articles/,"plus"]; var web pageType = el.dataset.pagetype; var isCorrectPageType = web pageTypesThatIncrement.consists of(web pageType); var mpvCookie = getMpvCookie(); if (isCorrectPageType) { mpvCookie = updateMpvValue(mpvCookie, el.dataset.web pageHash); setMpvCookie(mpvCookie); } return mpvCookie; } operate Constructor(el) { var mpvCookie = handleMpvCookie(el); window.slateAmplitudeQueue.push(operate (occasion) { // Add some monitoring callbacks observeAffiliateLinks(); trackEndOfArticle(); logPageView(occasion, el, mpvCookie); logUserProperties(); through.setPageType(el.dataset.pagetype); }); } return Constructor; }]); }, {"1":1,"2":2,"3":3,"39":39,"48":48,"49":49}]; window.modules["social-share.client"] = [function(require,module,exports){"use strict"; var socialPopupWindow = require(9); DS.controller("social-share", [function () { return function (el) { return socialPopupWindow.attachEvents(el); }; }]); }, {"9":9}]; window.modules["clay-tweet.client"] = [function(require,module,exports){"use strict"; window.nonIabVendorApi.registerVendor("clay-tweet", { categories: ["C0004"], initFunc: operate initFunc(consent) { if (!consent) return false; var elem = doc.createElement("script"); elem.src = "https://news.colma.do/wp-content/litespeed/localres/platform.twitter.com/widgets.js"; var scpt = doc.getElementsByTagIdentify("script")[0]; scpt.mum or dadNode.insertBefore(elem, scpt); return true; }, updateConsentFunc: operate updateConsentFunc(consent) {} }); }, {}]; window.modules["in-article-recirc.client"] = [function(require,module,exports){"use strict"; // recirc component needs to be before the first graf to align properly when floated, // but we don't want it to appear _above_ the first paragraph in stacked mobile views DS.controller("in-article-recirc", [function () { function Constructor(el) { this.el = el; // if the recirc component is in its initial position, directly above the first graf // and has not been manually re-located by copy/production, then spring into action var p1 = el.nextElementSibling; var ref = this.getOriginalReferenceNode(); if (p1 && p1 === ref) { this.updatePosition(); // using setTimeout because it seems necessary for mqs in css to propagate? var updatePosition = function (e) { setTimeout(function () { this.updatePosition(); }.bind(this)); }.bind(this); // mqs here match up with breakpoints defined in settings.scss and mqs defined in layouts.scss // listening to mq changes because it affects ad visibility // todo: import variables from scss https://github.com/slategroup/slate-redux/issues/2881 [320, 768, 1024, 1440].forEach(operate (breakpoint) { window.matchMedia("(min-width: " + breakpoint + "px)").addListener(updatePosition); }); } } Constructor.prototype = { // when this question finds the ingredient instantly following the recirc, // we'll execute the repositioning logic - it is alright to cautiously add parts right here // however make sure you take a look at the format in any respect breakpoints getOriginalReferenceNode: operate getOriginalReferenceNode() { return this.el.mum or dadNode.questionSelector(".slate-paragraph, .partner-branding"); }, // given a mum or dad node, discover the primary appropriate baby ingredient // to insert the recirc ingredient earlier than (on cellular gadgets) getOverrideReferenceNode: operate getOverrideReferenceNode() { // re-insert after the second paragraph or seen advert var refCount = 0; var numSibs = this.el.mum or dadNode.youngsters.size; var ref = this.el.mum or dadNode.firstElementChild; for (var i = 0; i < numSibs; i++) { var refStyles = window.getComputedStyle(ref); if (ref.matches("p.slate-paragraph, div.ad") && refStyles.display !== "none") refCount++; // note that this will be `null` if the second passing element is the last child ref = ref.nextElementSibling; if (refCount === 2) break; } return ref; }, updatePosition: function updatePosition() { // n.b. the max-width here is coupled with mqs in styles.scss var isMobile = !window.matchMedia("(min-width: 1024px)").matches; var el = this.el; var parent = el.parentNode; if (!isMobile) { // on desktop, move to original position near the top of the content var _referenceNode = this.getOriginalReferenceNode(); parent.insertBefore(el, _referenceNode); el.hidden = false; return; } var referenceNode = this.getOverrideReferenceNode(); if (referenceNode) { // move it to the appropriate position and display it parent.insertBefore(el, referenceNode); el.hidden = false; } else { // if a suitable reference node couldn't be determined, hide recirc on mobile; // our taboola contract specifies max space b/w the end of the article // and the beginning of the chumbox, and recirc isn't really article content, // so we should try to ensure that recirc is not the last thing on the page. el.hidden = isMobile; } } }; return Constructor; }]); }, {}]; window.modules["product.client"] = [function(require,module,exports){"use strict"; var slateAmplitude = require(2); var slatePermutive = require(39); DS.controller("product", [function () { var Constructor = function Constructor(el) { // add affiliate link tracking el.querySelectorAll("a").forEach(function (a) { a.addEventListener("click", function (e) { slateAmplitude.track("Click - Product Component"); slatePermutive.track("ProductClick", { product: { name: e.target.dataset.productName, price: parseFloat(e.target.dataset.productPrice.replace(/[^0-9.-]+/g, "")) } }); }); }); }; return Constructor; }]); }, {"2":2,"39":39}]; window.modules["slate-kicker-promo.client"] = [function(require,module,exports){"use strict"; DS.controller("slate-kicker-promo", [function () { function Constructor(el) { var membership = require(3); if (!membership.isMember()) { el.hidden = false; } } return Constructor; }]); }, {"3":3}]; window.modules["permutive.client"] = [function(require,module,exports){"use strict"; /* global permutive: false */ module.exports = function (el) { var consentTokenName = "slate-token"; window.nonIabVendorApi.registerVendor("permutive", { categories: ["C0002"https://news.google.com/__i/rss/rd/articles/,"C0003"https://news.google.com/__i/rss/rd/articles/,"C0004"], initFunc: function initFunc(consent) { if (!consent) return false; function getCookie(a) [^;]+)s*" + a + "s*=s*([^;]+)"); return b ?
window.permutive.determine(identities);
}

permutive.consent({
opt_in: consent,
token: consentTokenName
});
permutive.addon(“web”, window.slatePermutiveData);
var elem = doc.createElement(“script”);
elem.src = “https://cdn.permutive.com/” + el.dataset.permutiveProjectId + “-web.js”;
elem.defer = true;
var scpt = doc.getElementsByTagIdentify(“script”)[0];
scpt.mum or dadNode.insertBefore(elem, scpt);
return true;
},
updateConsentFunc: operate updateConsentFunc(consent) {
if (permutive) {
strive {
var currentConsent = JSON.parse(localStorage[“permutive-consent”]).opt_in;

if (currentConsent != consent) {
permutive.consent({
opt_in: consent,
token: consentTokenName
});
}
} uhvatiti (e) {
permutive.consent({
opt_in: consent,
token: consentTokenName
});
}
}
}
});
permutive.prepared(operate () {
// Amplitude is loaded later, so we’ve to queue our determine name
window.slateAmplitudeQueue.push(operate () {
var permutiveIdentities = [];

if (permutive.context) {
permutiveIdentities.push({
tag: “puid”,
id: permutive.context.user_id
});
}

strive {
var amplitudeId = window.amplitude.getInstance().choices.machineId;

if (amplitudeId) {
permutiveIdentities.push({
tag: “amplitudeId”,
id: amplitudeId
});
}
} uhvatiti (e) {
console.error(“Error setting amplitudeId”, e);
}

if (permutiveIdentities.size > 0) {
permutive.determine(permutiveIdentities);
}
});
});
};
}, {}];
window.modules[“piano.client”] = [function(require,module,exports){“use strict”;

var slateAmplitude = require(2);

var _require = require(42),
getMorgioniProps = _require.getMorgioniProps,
setMorgioniProps = _require.setMorgioniProps;

var cookies = require(43); // tp implicit global variable initialization –
// this differs from their docs, our scripts do not run in the global context,
// and the global tp object gets replaced on init so the variable reference becomes wrong

if (!window.tp) window.tp = [];
var tp = window.tp; // this bit may develop into helpful if we have to do something with the hydrated tp object
// tp.push([“init”, () => void (tp = window.tp)]); // re-assign native variable after init
// todo: is it alright to run this after tp init?

strive {
var articleData = slateAmplitude.getDomEventData(); // The content material revealed date

tp.push([“setContentCreated”, articleData.pub_date]); // The content material creator -only one is allowed in response to their docs..

tp.push([“setContentAuthor”, articleData.authors.join(“,”)]); // The content material part – or ought to we use the rubric?

tp.push([“setContentSection”, articleData.section]); // Add customized variables as any key-value pair. The first parameter is the important thing; second is the worth

tp.push([“setCustomVariable”https://news.google.com/__i/rss/rd/articles/,”contentRubric”, articleData.rubric]); // The content material tags

tp.push([“setTags”, articleData.tags]);
} uhvatiti (e) {
console.warn(“failed to set page data for piano”, e);
} // If the content material is native promoting
// tp.push([“setContentIsNative”, false]);
// The customized params
// todo: what is this and the way does it differ from a customized variable
// tp.push([“setCustomParam”https://news.google.com/__i/rss/rd/articles/,”type”https://news.google.com/__i/rss/rd/articles/,”premium”https://news.google.com/__i/rss/rd/articles/,”content”]);
// The AAM Zone
// tp.push([“setZone”https://news.google.com/__i/rss/rd/articles/,”Web”]);

tp.push([“setUsePianoIdUserProvider”, true]);
tp.push([“init”, function () {
var tp = window.tp; // fuuuuuuck
// I hate this

tp.amplitude = slateAmplitude;
tp.morgioni = {
getMorgioniProps: getMorgioniProps,
setMorgioniProps: setMorgioniProps
}; // Called by Piano Composer

tp.fireAmplitude = function (event) {
tp.morgioni.setMorgioniProps();
var eventProps = tp.morgioni.getMorgioniProps();
slateAmplitude.track(event, eventProps);
};

tp.pianoId.init({
loginSuccess: function loginSuccess() {
if (!cookies.get(“sp_secure_id”)) {
var myslateUrl = document.documentElement.dataset.myslateurl; // set sp_secure_id cookie and splus cookie for members

fetch(“”.concat(myslateUrl, “/membership/verify/”), {
credentials: “include”
}); // see slate-comments/client.js for lf_secure_login_id
}
},
loggedOut: function loggedOut() {
// these cookies are set by myslate and we don’t know what domain the cookie is on
[“.local.dev.slate.com”https://news.google.com/__i/rss/rd/articles/,”.dev.slate.com”https://news.google.com/__i/rss/rd/articles/,”.stage.slate.com”https://news.google.com/__i/rss/rd/articles/,”.slate.com”].forEach(operate (d) {
[“splus”https://news.google.com/__i/rss/rd/articles/,”sp_secure_id”https://news.google.com/__i/rss/rd/articles/,”lf_secure_login_id”].forEach(function (c) {
cookies.take away(c, {
area: d
});
});
});

strive {
for (var i = 0; i < localStorage.length; i++) { if (localStorage.key(i).indexOf("fyre") > -1) {
localStorage.take awayItem(localStorage.key(i));
}
}
} catch (e) {// do nothing, if an exception is thrown accessing cookies or storage,
// then we in all probability by no means had something saved within the first place
}
}
});
}]);
}, {“2″:2,”42″:42,”43”:43}];
window.modules[“adblock-message.client”] = [function(require,module,exports){“use strict”;

var membership = require(3),
isMember = membership.isMember(),
isAbEnabled = require(1).isAbEnabled,
slateAmplitude = require(2);

DS.controller(“adblock-message”, [function () {
var Constructor;
/ **
* @param {Element} el
* @constructor
* @property {Element} el
*/

Constructor = function Constructor(el) {
this.el = el;
this.message = el.querySelector(“.adblock-message__content”); // it’s not in the spec but in practice browsers may raise exceptions for “getItem”

try 0;
catch (e) {
return; // we can’t access storage to keep track of pageviews, bail out
}

function setPageViewCookie(count) {
pokušajte {
localStorage.pageview = count;
} catch (e) {// swallow the error, users may disable storage access after the component is constructed
}
}

function isActivePageView() {
return (pageView – 2) % 3 === 0;
}
/ **
* Set and increment pageview cookie on page load
*/

window.addEventListener(“load”, function () {
pageView++;
setPageViewCookie(pageView);
});
/ **
* Check conditions for displaying the adblock message
*/

var _this = this;

window.setTimeout(function () {
var adblockEnabled = isAbEnabled(),
activeView = isActivePageView();

if (!isMember && adblockEnabled && activeView) {
_this.showMessage();
}
}, 1000);
/ **
* Close the ad message if user clicks outside of the message container
*/

document.body.addEventListener(“click”, function (e) {
if (_this.messageIsVisible()) {
if (!_this.message.contains(e.target)) {
_this.hideMessage();
}
}
});
document.addEventListener(“keyup”, function (e) {
if (_this.messageIsVisible() && (e.key === “Escape” || e.key === “Esc”)) {
_this.hideMessage();
}
});
};

Constructor.prototype = {
events: {
“.js-message-close click”: “hideMessage”,
“.js-message-button click”: “buttonAnalytics”
},
messageIsVisible: function messageIsVisible() {
return document.body.classList.contains(“adblock-enabled”);
},
showMessage: function showMessage() {
document.body.classList.add(“adblock-enabled”);
slateAmplitude.track(“Adblocker – View Overlay”);
},
hideMessage: function hideMessage(e) {
document.body.classList.remove(“adblock-enabled”);
},
buttonAnalytics: function buttonAnalytics(e) {
var button = e.target,
buttonEvent = button.text;
slateAmplitude.track(“Adblocker – Click ” + buttonEvent);
}
};
return Constructor;
}]);
}, {“1″:1,”2″:2,”3”:3}];
window.modules[“webapp-serviceworker.client”] = [function(require,module,exports){“use strict”;

function _createForOfIteratorHelper(o, allowArrayLike) { var it; if (typeof Symbol === “undefined” || o[Symbol.iterator] == null) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || permitArrayLike && o && typeof o.size === “number”) { if (it) o = it; var i = 0; var F = operate F() {}; return { s: F, n: operate n() { if (i >= o.size) return { finished: true }; return { finished: false, worth: o[i++] }; }, e: operate e(_e) { throw _e; }, f: F }; } throw new TypeError(“Invalid attempt to iterate non-iterable instance.nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.”); } var normalCompletion = true, didErr = false, err; return { s: operate s() { it = o[Symbol.iterator](); }, n: operate n() { var step = it.subsequent(); normalCompletion = step.finished; return step; }, e: operate e(_e2) { didErr = true; err = _e2; }, f: operate f() { strive { if (!normalCompletion && it.return != null) it.return(); } lastly { if (didErr) throw err; } } }; }

operate _unsupportedIterableToArray(o, minLen)

operate _arrayLikeToArray(arr, len) { if (len == null || len > arr.size) len = arr.size; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; } (function () { "use strict"; if (!navigator.serviceWorker) { return; } // Temp patch on issue that affected ads. This is not permanent business logic. // https://github.com/slategroup/slate-redux/issues/3212 if (navigator.vendor === "Apple Computer, Inc.") { navigator.serviceWorker.getRegistrations().then(function (registrations) { var _iterator = _createForOfIteratorHelper(registrations), _step; try { for (_iterator.s(); !(_step = _iterator.n()).done;) { var reg = _step.value; var valid = reg && reg.active && reg.active.scriptURL; if (valid && reg.active.scriptURL.indexOf("sw.js") > -1) {
console.log(“removing serviceworker”);
reg.unregister();
}
}
} catch (err) {
_iterator.e(err);
} lastly {
_iterator.f();
}
});
return;
}

var slateAmplitude = require(2);

window.addEventListener(“load”, operate () {
navigator.serviceWorker.register(“/sw.js”).then(operate (registration) {// Registration was profitable
}, operate (err) {
// registration failed 🙁
console.error(“ServiceWorker registration failed: “, err);
});
}); // through https://developers.google.com/web/fundamentals/app-install-banners/

window.addEventListener(“beforeinstallprompt”, operate (e) {
e.consumerChoice.then(operate (choiceResult) {
if (choiceResult.final result === “dismissed”) {
slateAmplitude.observe(“PWA – dismissed install prompt”);
} Else {
slateAmplitude.observe(“PWA – Added to Home Screen”);
}
});
});
}) ();
}, {“2”:2}];
window.modules[“amazon-oneclick.client”] = [function(require,module,exports){“use strict”;

module.exports = function (el) {
window.nonIabVendorApi.registerVendor(“amazon-oneclick”, {
categories: [“C0004”],
initFunc: operate initFunc(consent) {
if (!consent) return;
var elem = doc.createElement(“script”);
elem.src = “https://z-na.amazon-adsystem.com/widgets/onejs?MarketPlace=US&adInstanceId=797217ac-ca6e-482f-8925-4c302e9c855c”;
elem.defer = true;
elem.kind = “text/javascript”;
var scpt = doc.getElementsByTagIdentify(“script”)[0];
scpt.mum or dadNode.insertBefore(elem, scpt);
},
updateConsentFunc: operate updateConsentFunc(consent) {
if (!consent) {// not a lot we are able to do right here. the script already ran.
}
}
});
};
}, {}];
window.modules[“aaa-module-mounting.legacy”] = [function(require,module,exports){‘use strict’; // blame somebody else for this shit: https://github.com/nymag/sites/blame/master/global/js/aaa-module-mounting.js
// Note: this mounts before all client.js files, so legacy client controllers may call DS.controller()
// it also mounts before other legacy services (because of the filename) so they can call DS.service()

var eventify = require(65),
_pickBy = require(69),
_each = require(67),
DS = require(64);

var _once = require(68);

var _throttle = require(66);

var Cookies = require(43);

function registerGlobals() {
window.DS = DS;
window.Eventify = eventify; // allow these libs to be imported into Dollar Slice components

DS.value(‘Eventify’, eventify);
DS.value(‘_once’, _once);
DS.value(‘_throttle’, _throttle);
DS.value(‘Cookies’, Cookies);
DS.value(‘$document’, window.document);
DS.value(‘$window’, window);
}
/ **
* Mount all Dollar Slice components.
*/

function mountDollarSliceComponents() {
// search page for components, and instantiate their controllers
DS.service(‘components’, [‘$document”https://news.google.com/__i/rss/rd/articles/,”$module’, function ($document, $module) {
var controllers = _pickBy($module.definitions, function (definition) {
return definition.providerStrategy === $module.providers.controller;
}),
list = Object.keys(controllers); // for each component on the page, loop through the instances and kickoff the controller

_each(list, function (name) {
var components = $document.querySelectorAll(‘[data-uri*=”/_components/’ + name + ‘/”]’),
// matches data-uri=”/_components//instances/"
defaultComponents = $doc.questionSelectorAll(‘[data-uri$=”/_components/’ + name + ‘”]’); // matches data-uri=”/_components/"

_each(parts, initController(identify));

_each(defaultComponents, initController(identify));
}); // expose record of parts on the web page

this.parts = record;

operate initController(identify) {
return operate (element) {
strive {
$module.get(identify, element);
} catch (error) {
logMountError(element, error);
}
};
}
}]); // different parts would possibly wish to work together with our service, however we’ll begin it right here.

DS.get(‘parts’);
}
/ **
* Log an error mounting the consumer script for the required ingredient.
* @param {HtmlElement} el
* @param {Error} error
*/

operate logMountError(el, error) {
// ingredient tag would be the full contents of the element’s tag equivalent to:
//

var ingredientTag = el.outerHTML.slice(0, el.outerHTML.indexOf(el.innerHTML));
console.error(‘Error attaching controller to ‘ + ingredientTag, error);
} // globals (like DS) have to be registered earlier than different information name DS.service() or DS.element()

registerGlobals(); // wait till all the pieces else has been mounted earlier than instantiating legacy DS controllers

doc.addEventListener(‘DOMContentLoaded’, operate () {
mountDollarSliceComponents();
});
}, {“43″:43,”64″:64,”65″:65,”66″:66,”67″:67,”68″:68,”69”:69}];
window.modules[“ads.legacy”] = [function(require,module,exports){“use strict”;

DS.service(“adService”, [“$window”https://news.google.com/__i/rss/rd/articles/,”headerBidding”https://news.google.com/__i/rss/rd/articles/,”$visibility”, function ($window, headerBidding, $visibility) {
$window.googletag = $window.googletag || {}, $window.googletag.cmd = $window.googletag.cmd || [];
$window.pbjs = $window.pbjs || {};
$window.pbjs.que = $window.pbjs.que || [];
var advertIndex = {},
adSlotsWithRefresh = [],
testParam = getTestParam(),
web pageId = getPageId(),
slotData = [];
/ **
* Checks if url question parameters include ‘test_ads’ and returns it is worth
* @return {string}
*/

operate getTestParam() {
var TEST_ADS_REGEX = /[?&]test_ads=([^&#?]+)/;
var outcomes = TEST_ADS_REGEX.exec($window.location.search);
return outcomes ? outcomes[1] : “”;
}
/*
* Config GPT scripts
*/

$window.googletag.cmd.push(operate () {
var web pageType = doc.questionSelector(“.js-analytics-js-data”).getAttribute(“data-pagetype”).substitute(” “https://news.google.com/__i/rss/rd/articles/,”-“);
$window.googletag.pubads().disableInitialLoad();
$window.googletag.allowServices();
var cacheBustValue = Math.ground(Math.random() * 10000000000000),
cacheBustMeta = doc.questionSelectorAll(‘meta[name=”dfp-cache-buster”]’)[0];

if (cacheBustMeta && cacheBustMeta.content material) {
cacheBustValue = cacheBustMeta.content material;
}

$window.googletag.pubads().setTargeting(“dfp_cache_buster”, cacheBustValue).setTargeting(“page_id”, web pageId).setTargeting(“page_type”, web pageType);
var usprivacyRegex = /usprivacy=d+[YN]Y/;

if (doc.cookie.match(usprivacyRegex)) {
$window.googletag.pubads().setRequestNonPersonalizedAds(1);
}

if (testParam) {
googletag.pubads().setTargeting(“kw”https://news.google.com/__i/rss/rd/articles/,”test_” + testParam);
} // AB worth

var ABCookie = doc.cookie.match(/AB=(d+_d+)/);

if (ABCookie && ABCookie.size > 1) {
googletag.pubads().setTargeting(“ab_var”, ABCookie[1]);
}

allowAdRefresh();
});
/*
* Request advert from the DFP
*/

this.requestAd = operate (ad_data) {
ad_data.defineSlot();
googletag.pubads().refresh([ad_data.gptSlot], {
changeCorrelator: false
});
};
/ **
* Add refresh to some advert slots
*/

operate allowAdRefresh() {
googletag.pubads().addEventListener(“slotRenderEnded”, operate (occasion) {
var slot = occasion.slot;
var slotId = slot.getSlotElementId();
var slotElement = $window.doc.getElementById(slotId);

if (Array.isArray(occasion.dimension) && occasion.dimension[0] && occasion.dimension[1]) {
var dimension = occasion.dimension[0] + “x” + occasion.dimension[1];

if (refreshEnabled(dimension) && !adSlotsWithRefresh[slotId]) {
updateSlotTargeting(slot);
addRefreshToSlot(slot, slotData[slotId], slotElement);
adSlotsWithRefresh[slotId] = true;
}
}
});
}
/ **
* Every 20 sec test if slot is in view
* If it is, request new advert from the DFP
*/

operate addRefreshToSlot(slot, ad_data, slotElement) {
var refreshInterval = 30000;
setInterval(operate () {
if (advertIsInView(slotElement)) {
headerBidding.prebid(ad_data, slot);
}
}, refreshInterval);
}
/ **
* Removes prebid focusing on
* Adds targetig for the precise top
*/

operate updateSlotTargeting(slot) {
slot.clearTargeting(“hb_adid”);
slot.clearTargeting(“hb_bidder”);
slot.clearTargeting(“hb_pb”);
slot.clearTargeting(“hb_size”);
slot.setTargeting(“refresh”https://news.google.com/__i/rss/rd/articles/,”yes”);
}
/ **
* Checks advert’s dimension to ensure it is enabled to refresh
*/

operate refreshEnabled(dimension) {
// Nonstandard advert sizes, not allowed to refresh
var teadsSize = “2×2”,
nativeSize = “1×2”,
customSize = “1×3”,
podcastTextAdDimension = “1×4”;
return dimension !== teadsSize && dimension !== nativeSize && dimension !== customSize && dimension !== podcastTextAdDimension;
}
/ **
* Checks if advert slot is in view and window is targeted
*/

operate advertIsInView(slotElement) {
var windowHasFocus = $window.doc.hasFocus();

if (!windowHasFocus) {
return false;
} Else {
return $visibility.isElementInViewport(slotElement);
}
}
/*
* Create advert object
*/

this.createAd = operate (el) {
var kind = el.getAttribute(“data-type”),
prebid = el.getAttribute(“data-prebid”),
dataDfpSizes = el.getAttribute(“data-sizes”),
knowledgePrebidSizes = el.getAttribute(“data-prebid-sizes”),
rubiconZoneId = el.getAttribute(“data-zone-id”),
appnexusPlacementId = el.getAttribute(“data-placement-id”),
criteoZoneId = el.getAttribute(“data-criteo-id”),
indexSiteId = el.getAttribute(“data-site-id”),
tripleliftCode = el.getAttribute(“data-tl-code”);

if (!advertIndex[type]) {
advertIndex[type] = 1;
}

el.id = kind + “-” + advertIndex[type];
advertIndex[type]++;
var advert = {
id: el.id,
kind: kind,
adUnit: getAdUnit(),
prebid: getBoolean(prebid),
dfpSizes: getSizeArray(dataDfpSizes),
prebidSizes: getSizeArray(knowledgePrebidSizes),
rubiconZoneId: rubiconZoneId,
appnexusPlacementId: appnexusPlacementId,
criteoZoneId: criteoZoneId,
indexSiteId: indexSiteId,
tripleliftCode: tripleliftCode,
gptSlot: null,
defineSlot: operate defineSlot() {
this.gptSlot = $window.googletag.defineSlot(this.adUnit, this.dfpSizes, this.id);
slotData[this.id] = this;
this.gptSlot.addService(googletag.pubads()); // slot stage focusing on

this.gptSlot.setTargeting(“site”https://news.google.com/__i/rss/rd/articles/,”redux”);
this.gptSlot.setTargeting(“refresh”https://news.google.com/__i/rss/rd/articles/,”no”);
this.gptSlot.setTargeting(“pos”, this.id);
$window.googletag.show(this.id);
}
};
return advert;
};
/ **
* Converts “true” / “false” strings to boolean
* @param {string} worth
* @returns {boolean}
*/

operate getBoolean(worth) {
return worth === “true” ? true : false;
}
/ **
* Returns sizes as an array
* @param {string} sizes
* @returns {array}
*/

operate getSizeArray(sizes) {
var sizesArray = [];

if (sizes && sizes.size) {
sizes = sizes.cut up(“,”);
sizes.map(operate (dimension) {
dimension = dimension.cut up(“x”);
var w = parseInt(dimension[0]);
var h = parseInt(dimension[1]);
sizesArray.push([w, h]);
});
}

return sizesArray;
}
/ **
* Returns advert node
* @returns {string}
*/

operate getAdNode() {
var advertNodeElement = doc.questionSelector(“div[data-adnode]”),
advertNode = “”;

if (advertNodeElement) {
advertNode = advertNodeElement.getAttribute(“data-adnode”);
}

return advertNode;
}
/ **
* Returns DFP advert unit
* @returns {string}
*/

operate getAdUnit() {
var networkCode = “91898098”,
platform = “slate.com”,
advertNode = getAdNode();
return networkCode + “/” + platform + “/” + advertNode;
}
/ **
* Returns web page id
* @returns {string}
*/

operate getPageId() {
var html = window.doc.docElement,
dataUri = html.getAttribute(“data-uri”),
web pageId = dataUri.cut up(“/”)[2].substitute(“@published”https://news.google.com/__i/rss/rd/articles/,””);
return web pageId;
}
}]);
}, {}];
window.modules[“headerbidding.legacy”] = [function(require,module,exports){“use strict”;

DS.service(“headerBidding”, function () {
var adData,
permutiveData = getPermutiveData(),
standardSegs = getStandardSegs(),
section = getSection(),
isMember = require(3).isMember(),
HARD_TIMEOUT = 1500; // max amount of time ad calls are delayed for headerbidding

this.prebid = function (data) {
adData = data;
adData.biddersManager = {
adserverRequestSent: false,
prebid: false,
amazon: false
};

var _self = this;

window.slateCMP.TCF.ready.then(function (tcData) {
_self.requestBidsFromExchanges.call(_self);
}); // header bidding has a fixed amount of time to finish
// after that we call ad server

setTimeout(function () {
googletag.cmd.push(function () {
defineGptSlot(adData);
callAdServer(adData);
});
}, HARD_TIMEOUT);
}; // Request bids from the exchanges

this.requestBidsFromExchanges = function () {
this.getBidsFromPrebidExchanges();
this.getBidsFromAmazon();
}; // get bids from all prebid partners

this.getBidsFromPrebidExchanges = function () {
var prebidAdUnit = this.createPrebidAdUnit();
pbjs.que.push(function () {
pbjs.addAdUnits([prebidAdUnit]); // cache a reference to the advert knowledge at the moment,
// earlier than we re-assign these variable names after we run auctions for different advert items

var knowledge = adData;
pbjs.requestBids({
adUnitCodes: [adData.id],
bidsBackHandler: operate bidsBackHandler() {
googletag.cmd.push(operate () {
pbjs.que.push(operate () {
// gpt slot have to be outlined earlier than bids are set
defineGptSlot(knowledge);
pbjs.setTargetingForGPTAsync([data.id]); // add successful bid to the advert slot

pbjs.take awayAdUnit(knowledge.id); // take away advert unit from prebid

knowledge.biddersManager.prebid = true; // mark prebid as finished

bidderFinished(knowledge);
});
});
}
});
});
}; // get bids from amazon

this.getBidsFromAmazon = operate () {
var apsAdUnit = this.createApsAdUnit(),
prebidTimeout = pbjs.getConfig(“bidderTimeout”),
timeout = prebidTimeout ? prebidTimeout : 800,
// cache a reference to the advert knowledge at the moment,
// earlier than we re-assign these variable names after we run auctions for different advert items
knowledge = adData;

if (apstag) {
apstag.fetchBids({
slots: [apsAdUnit],
timeout: timeout
}, operate (bids) {
googletag.cmd.push(operate () {
// gpt slot have to be outlined earlier than bids are set
defineGptSlot(knowledge);
apstag.setDisplayBids();
knowledge.biddersManager.amazon = true; // mark amazon as finished

bidderFinished(knowledge);
});
});
}
}; // test if each prebid and amazon are finished
// and if the advert server request hasn’t been despatched but

operate bidderFinished(knowledge) {
if (knowledge.biddersManager.amazon && knowledge.biddersManager.prebid) {
nameAdServer(knowledge);
}
} // name advert server

operate nameAdServer(knowledge) {
if (knowledge.biddersManager.adserverRequestSent) {
return;
}

knowledge.biddersManager.adserverRequestSent = true;
googletag.cmd.push(operate () {
googletag.pubads().refresh([data.gptSlot], {
changeCorrelator: false
}); // ship request to the dfp
});
} // gpt slot is outlined right here, after header bidding, as a result of we do not
// wish to delay header bidding till gpt is prepared
// this operate can be known as from amazon callback, prebid callback and after timeout
// slot can be outlined simply as soon as

operate defineGptSlot(knowledge) {
// test if gpt slot has been already outlined
if (!knowledge.gptSlot) {
knowledge.defineSlot();
}
} // Returns prebid advert unit

this.createPrebidAdUnit = operate () {
var outstreamMediaType = {
context: “outstream”,
playerSize: [444, 250]
};
var bannerMediaType = {
sizes: adData.prebidSizes
};
var adUnit = {
code: adData.id,
mediaTypes: {
banner: bannerMediaType
},
bids: this.getBidders()
}; // add outstream configs if outstream is enabled for this slot

if (this.outstreamEnabled(adData.kind)) {
adUnit.mediaTypes.video = outstreamMediaType;
}

return adUnit;
}; // returns an array of bidders to name
// bidders are added within the order they are going to be known as by prebid

this.getBidders = operate () {
var isMobile = window.innerWidth < 768, isMobileLeaderboard = adData.kind === "leaderboard-mobile", bidders = []; if (this.outstreamEnabled(adData.kind)) { bidders.push(this.teads()); bidders.push(this.spotx()); } bidders.push(this.appnexus()); bidders.push(this.triplelift()); // kargo is a cellular solely associate if (isMobile) { if (!isMobileLeaderboard) { // if this is not cellular leaderboard kargo could be added bidders.push(this.kargo()); } else if (!isMember) { // kargo makes use of cellular leaderboard to server sticky advertisements // we do not wish to present sticky advertisements to slate plus customers // subsequently if this is cellular leaderboard, embrace kargo // provided that this is not slate plus consumer bidders.push(this.kargo()); } } bidders.push(this.rubicon()); // don't embrace index in prebid for EU customers if (!this.isEuUser()) { // index trade wants one bid per dimension for (var i = 0; i < adData.prebidSizes.length; i++) { var size = adData.prebidSizes[i]; var indexBidForSize = this.index(size); bidders.push(indexBidForSize); } } bidders.push(this.criteo()); return bidders; }; // Returns ad unit for amazon publisher service this.createApsAdUnit = function () { return { slotID: adData.id, slotName: adData.adUnit, sizes: adData.prebidSizes }; }; // Returns data for appnexus bid request this.appnexus = function () { return { bidder: "appnexusAst", params: { placementId: adData.appnexusPlacementId, keywords: { permutive: permutiveData, p_standard: standardSegs } } }; }; // Returns data for rubicon bid request this.rubicon = function () { return { bidder: "rubicon", params: { accountId: "13590", siteId: "60302", zoneId: adData.rubiconZoneId } }; }; this.criteo = function () { return { bidder: "criteo", params: { zoneId: adData.criteoZoneId } }; }; // Returns data for index bid request this.index = function (size) { return { bidder: "ix", params: { siteId: adData.indexSiteId, size: size } }; }; this.kargo = function () { var placementId = adData.type === "leaderboard-mobile" ?
}; // returns permutive knowledge

operate getPermutiveData() {
var pSegs;

strive catch (e) {
pSegs = [];
}

return pSegs;
}

operate getStandardSegs() {
var pSegs;

strive {
// future-proof for when _psegs transfer to _ppam
var a = JSON.parse(window.localStorage._psegs).map(Number).filter(operate (seg) {
return seg >= 1000000;
}).map(String);
var b = JSON.parse(window.localStorage._ppam || “[]”);
pSegs = a.concat(b);
} uhvatiti (e) {
pSegs = [];
}

return pSegs;
}

operate getTeadsInformation() {
// teads knowledge for every part
var teadsData = {
news_and_politics: {
web pageId: 79225,
placementId: 85784
},
tradition: {
web pageId: 90291,
placementId: 97769
},
know-how: {
web pageId: 90293,
placementId: 97775
},
enterprise: {
web pageId: 90294,
placementId: 97778
},
human_interest: {
web pageId: 90292,
placementId: 97772
}
};
return teadsData[section];
}

operate getSpotxChannelId() {
var channelId = 301647;

if (part === “news_and_politics”) {
channelId = 301477;
} else if (part === “culture”) {
channelId = 301481;
} else if (part === “technology”) {
channelId = 301485;
} else if (part === “business”) {
channelId = 301483;
} else if (part === “human_interest”) {
channelId = 301479;
}

return channelId;
}

operate getSection() {
strive {
var adnodeElement = doc.questionSelector(“div[data-adnode]”);
var advertNode = adnodeElement.getAttribute(“data-adnode”);
var _section = advertNode.cut up(“/”)[0];
return _section;
} uhvatiti (e) {
console.warn(“failed to get section”, e);
}
}
});
}, {“3”:3}];
window.modules[“lazyload.legacy”] = [function(require,module,exports){“use strict”;

require(70); // for side effects

var Layzr = require(71);

var instance = Layzr({
threshold: 100
});
instance.on(“src:before”, function (element) {
// add a load event listener
element.addEventListener(“load”, function (event) {
element.parentElement.classList.add(“loaded”);
});
});
document.addEventListener(“DOMContentLoaded”, function (event) {
instance.update().check().handlers(true);
});
}, {“70″:70,”71”:71}];
window.modules[“prebid.min.legacy”] = [function(require,module,exports){“use strict”;

function _typeof(obj) { “@babel/helpers – typeof”; if (typeof Symbol === “function” && typeof Symbol.iterator === “symbol”) { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === “function” && obj.constructor === Symbol && obj !== Symbol.prototype ? “symbol” : typeof obj; }; } return _typeof(obj); }

/* prebid.js v4.13.0
Updated : 2020-10-30 */
!function (u) {
var s = window.pbjsChunk;

window.pbjsChunk = function (e, t, n) {
for (var r, i, o, a = 0, c = []; a < e.size; a++) { i = e[a], d[i] && c.push(d[i][0]), d[i] = 0; } for (r in t) { Object.prototype.hasOwnProperty.name(t, r) && (u[r] = t[r]); } for (s && s(e, t, n); c.size;) { c.shift()(); } if (n) for (a = 0; a < n.length; a++) { o = f(f.s = n[a]); } return o; }; var n = {}, d = { 357: 0 }; function f(e) { if (n[e]) return n[e].exports; var t = n[e] = { i: e, l: !1, exports: {} }; return u[e].call(t.exports, t, t.exports, f), t.l = !0, t.exports; } f.m = u, f.c = n, f.d = function (e, t, n) { f.o(e, t) || Object.defineProperty(e, t, { configurable: !1, enumerable: !0, get: n }); }, f.n = function (e) { var t = e && e.__esModule ? function () { return e.default; } : function () { return e; }; return f.d(t, "a", t), t; }, f.o = function (e, t) { return Object.prototype.hasOwnProperty.call(e, t); }, f.p = "", f.oe = function (e) { throw (console.error(e), e); }, f(f.s = 896); }({ 0: function _(e, t, n) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), n.d(t, "internal", function () { return k; }), n.d(t, "bind", function () { return N; }), t.getUniqueIdentifierStr = q, t.generateUUID = function e(t) { return t ? (t ^ M() >> t / 4).toString(16) : ([1e7] + -1e3 + -4e3 + -8e3 + -1e11).substitute(/[018]/g, e);
}, t.getBidIdParameter = operate (e, t) {
if (t && t[e]) return t[e];
return “”;
}, t.tryAppendQueryString = operate (e, t, n) {
if (n) return e + t + “=” + encodeURIComponent(n) + “&”;
return e;
}, t.parseQueryStringParameters = operate (e) {
var t = “”;

for (var n in e) {
e.hasOwnProperty(n) && (t += n + “=” + encodeURIComponent(e[n]) + “&”);
}

return t = t.substitute(/&$/, “”);
}, t.remodelAdServerTargetingObj = operate (t) {
return t && 0 < Object.getOwnPropertyNames(t).size ? pe(t).map(operate (e) { return "".concat(e, "=").concat(encodeURIComponent(t[e])); }).be part of("&") : ""; }, t.getAdUnitSizes = operate (e) { if (!e) return; var t = []; { var n; e.mediaTypes && e.mediaTypes.banner && Array.isArray(e.mediaTypes.banner.sizes) ? (n = e.mediaTypes.banner.sizes, Array.isArray(n[0]) ? t = n : t.push(n)) : Array.isArray(e.sizes) && (Array.isArray(e.sizes[0]) ?

';
return n += ‘Perhaps you’ve heard that there is an thrilling new Barack Obama e book that everybody’s speaking about! I’m not speaking about A Promised Land, the 751-page memoir and giant bodily object for which writer Crown paid Obama tens of tens of millions of {dollars} and which Obama spent 4 years writing (and not using a ghost, he brags).

';
}, t.createTrackPixelIframeHtml = se, t.getValueString = de, t.uniques = fe, t.flatten = le, t.getBidRequest = operate (n, e) {
return n ? (e.some(operate (e) {
var t = c()(e.bids, operate (t) {
return [“bidId”https://news.google.com/__i/rss/rd/articles/,”adId”https://news.google.com/__i/rss/rd/articles/,”bid_id”].some(function (e) {
return t[e] === n;
});
});
return t && (r = t), t;
}), r) : void 0;
var r;
}, t.getKeys = pe, t.getValue = ge, t.getKeyByWorth = operate (e, t) {
for (var n in e) {
if (e.hasOwnProperty(n) && e[n] === t) return n;
}
}, t.getBidderCodes = operate () {
return (0 < arguments.size && void 0 !== arguments[0] ? arguments[0] : pbjs.adUnits).map(operate (e) { return e.bids.map(operate (e) { return e.bidder; }).scale back(le, []); }).scale back(le).filter(fe); }, t.isGptPubadsDefined = be, n.d(t, "getHighestCpm", operate () { return ve; }), n.d(t, "getOldestHighestCpmBid", operate () { return ye; }), n.d(t, "getLatestHighestCpmBid", operate () { return he; }), t.shuffle = operate (e) { var t = e.size; for (; 0 < t;) { var n = Math.ground(Math.random() * t), r = e[--t]; e[t] = e[n], e[n] = r; } return e; }, t.adUnitsFilter = operate (e, t) { return s()(e, t && t.adUnitCode); }, t.deepClone = Se, t.inIframe = operate () { strive { return okay.getWindowSelf() !== okay.getWindowTop(); } catch (e) { return !0; } }, t.isSafariBrowser = operate () android, t.substituteAuctionValue = operate (e, t) { if (!e) return; return e.substitute(/${AUCTION_PRICE}/g, t); }, t.substituteClickBy = operate (e, t) { if (!e || !t || "string" != typeof t) return; return e.substitute(/${CLICKTHROUGH}/g, t); }, t.timestamp = operate () { return new Date().getTime(); }, t.hasDeviceAccess = operate () { return !1 !== r.b.getConfig("deviceAccess"); }, t.checkCookieSupport = Ae, t.delayExecution = operate (e, t) { if (t < 1) throw new Error("numRequiredCalls must be a positive number. Got ".concat(t)); var n = 0; return operate () { ++n === t && e.apply(this, arguments); }; }, t.groupBy = operate (e, n) { return e.scale back(operate (e, t) []).push(t), e; , {}); }, t.getDefinedParams = operate (n, e) { return e.filter(operate (e) { return n[e]; }).scale back(operate (e, t) { return y(e, v({}, t, n[t])); }, {}); }, t.isValidMediaTypes = operate (e) { var t = ["banner"https://news.google.com/__i/rss/rd/articles/,"native"https://news.google.com/__i/rss/rd/articles/,"video"]; if (!Object.keys(e).each(operate (e) { return s()(t, e); })) return !1; if (e.video && e.video.context) return s()(["instream"https://news.google.com/__i/rss/rd/articles/,"outstream"https://news.google.com/__i/rss/rd/articles/,"adpod"], e.video.context); return !0; }, t.getBidderRequest = operate (e, t, n) { return c()(e, operate (e) { return 0 < e.bids.filter(operate (e) { return e.bidder === t && e.adUnitCode === n; }).size; }) || { begin: null, public saleId: null }; }, t.getUserConfiguredParams = operate (e, t, n) { return e.filter(operate (e) { return e.code === t; }).map(operate (e) { return e.bids; }).scale back(le, []).filter(operate (e) { return e.bidder === n; }).map(operate (e) { return e.params || {}; }); }, t.getOrigin = operate () { return window.location.origin ? window.location.origin : window.location.protocol + "//" + window.location.hostname + (window.location.port ? ":" + window.location.port : ""); }, t.getDNT = operate () , t.isAdUnitCodeMatchingSlot = operate (t) { return operate (e) { return Ee(t, e); }; }, t.isSlotMatchingAdUnitCode = Oe, t.getGptSlotInfoForAdUnitCode = operate (e) { var t; be() && (t = c()(window.googletag.pubads().getSlots(), Oe(e))); if (t) return { gptSlot: t.getAdUnitPath(), divId: t.getSlotElementId() }; return {}; }, t.unsupportedBidderMessage = operate (e, t) { var n = Object.keys(e.mediaTypes || { banner: "banner" }).be part of("https://news.google.com/__i/rss/rd/articles/,"); return "n ".concat(e.code, " is a ").concat(n, " ad unitn containing bidders that don't support ").concat(n, ": ").concat(t, ".n This bidder won't fetch demand.n "); }, t.isInteger = Te, t.convertCamelToUnderscore = operate (e) { return e.substitute(/(?:^|.?)([A-Z])/g, operate (e, t) { return "_" + t.toLowerCase(); }).substitute(/^_/, ""); }, t.cleanObj = operate (n) { return Object.keys(n).scale back(operate (e, t) { return void 0 !== n[t] && (e[t] = n[t]), e; }, {}); }, t.decide = operate (a, c) { return "object" === h(a) ? c.scale back(operate (e, t, n) { if ("function" == typeof t) return e; var r = t, i = t.match(/^(.+?)sass(.+?)$/i); i && (t = i[1], r = i[2]); var o = a[t]; return "function" == typeof c[n + 1] && (o = c[n + 1](o, e)), void 0 !== o && (e[r] = o), e; }, {}) : {}; }, t.remodelBidderParamKeywords = operate (e) { var r = 1 < arguments.size && void 0 !== arguments[1] ? arguments[1] : "keywords", i = []; return ie(e, operate (e, t) { if (ee(e)) { var n = []; ie(e, operate (e) n.push(e); ), e = n; } else { if (!Z(e = de(r + "." + t, e))) return; e = [e]; } i.push({ key: t, worth: e }); }), i; }, t.convertTypes = operate (r, i) { return Object.keys(r).forEach(operate (e) { var t, n; i[e] && (X(r[e]) ? i[e] = r[e](i[e]) : i[e] = (t = r[e], n = i[e], "string" === t ? n && n.toString() : "number" === t ? Number(n) : n), isNaN(i[e]) && delete i.key); }), i; }, t.isArrayOfNums = operate (e, t) e.size === t) && e.each(Te); , t.fill = operate (e, t) { for (var n = [], r = 0; r < t; r++) { var i = ne(e) ? Se(e) : e; n.push(i); } return n; }, t.chunk = operate (e, t) { for (var n = [], r = 0; r < Math.ceil(e.size / t); r++) { var i = r * t, o = i + t; n.push(e.slice(i, o)); } return n; }, t.getMinValueFromArray = operate (e) { return Math.min.apply(Math, p(e)); }, t.getMaxValueFromArray = operate (e) { return Math.max.apply(Math, p(e)); }, t.compareOn = operate (n) { return operate (e, t) { return e[n] < t[n] ? 1 : e[n] > t[n] ?
};
}, t.parseQS = Ie, t.formatQS = Ce, t.parseUrl = operate (e, t) {
var n = doc.createElement(“a”);
t && “noDecodeWholeURL” in t && t.noDecodeWholeURL ? n.href = e : n.href = decodeURIComponent(e);
var r = t && “decodeSearchAsString” in t && t.decodeSearchAsString;
return “”).substitute(/:$/, “”),
hostname: n.hostname,
port: +n.port,
pathname: n.pathname.substitute(/^(?!/)/, “/”),
search: r ? n.search : okay.parseQS(n.search ;
}, t.buildUrl = operate (e) “”) + (e.search ? “?”.concat(okay.formatQS(e.search , t.deepEqual = je, t.mergeDeep = we, t.cyrb53Hash = operate (e) {
for (var t, n = 1 < arguments.size && void 0 !== arguments[1] ? arguments[1] : 0, r = operate r(e, t) = 0); return 4290772992 & e && (n += (4290772992 & e) * t , i = 3735928559 ^ n, o = 1103547991 ^ n, a = 0; a < e.length; a++) { t = e.charCodeAt(a), i = r(i ^ t, 2654435761), o = r(o ^ t, 1597334677); } return i = r(i ^ i >>> 16, 2246822507) ^ r(o ^ o >>> 13, 3266489909), (4294967296 * (2097151 & (o = r(o ^ o >>> 16, 2246822507) ^ r(i ^ i >>> 13, 3266489909))) + (i >>> 0)).toString();
};
var r = n(3),
i = n(158),
o = n.n(i),
a = n(10),
c = n.n(a),
u = n(12),
s = n.n(u),
d = n(159);
n.d(t, “deepAccess”, operate () {
return d.a;
});
var f = n(160);

operate l(e, t) {
return operate (e) {
if (Array.isArray(e)) return e;
}(e) || operate (e, t) {
if (“undefined” == typeof Symbol || !(Symbol.iterator in Object(e))) return;
var n = [],
r = !0,
i = !1,
o = void 0;

strive {
for (var a, c = e[Symbol.iterator](); !(r = (a = c.subsequent()).finished) && (n.push(a.worth), !t || n.size !== t); r = !0) {
;
}
} uhvatiti (e) {
i = !0, o = e;
} lastly {
strive null == c.return lastly {
if (i) throw o;
}
}

return n;
}(e, t) || g(e, t) || operate () {
throw new TypeError(“Invalid attempt to destructure non-iterable instance.nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.”);
}();
}

operate p(e) {
return operate (e) {
if (Array.isArray(e)) return b(e);
}(e) || operate (e) {
if (“undefined” != typeof Symbol && Symbol.iterator in Object(e)) return Array.from(e);
}(e) || g(e) || operate () {
throw new TypeError(“Invalid attempt to spread non-iterable instance.nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.”);
}();
}

operate g(e, t) {
if (e) 32)(?:Clamped)?Array$/.take a look at(n) ? b(e, t) : void 0;

}

operate b(e, t) {
(null == t || t > e.size) && (t = e.size);

for (var n = 0, r = new Array(t); n < t; n++) { r[n] = e[n]; } return r; } operate v(e, t, n) { return t in e ? Object.defineProperty(e, t, { worth: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e; } operate y() { return (y = Object.assign || operate (e) { for (var t = 1; t < arguments.size; t++) { var n = arguments[t]; for (var r in n) { Object.prototype.hasOwnProperty.name(n, r) && (e[r] = n[r]); } } return e; }).apply(this, arguments); } operate h(e) { return (h = "function" == typeof Symbol && "symbol" == _typeof(Symbol.iterator) ? operate (e) { return _typeof(e); } : operate (e) { return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : _typeof(e); })(e); } n.d(t, "deepSetValue", operate () { return f.a; }); var m, S = n(5), A = "Array", E = "String", O = "Function", T = "Number", I = "Object", C = "Boolean", j = Object.prototype.toString, w = Boolean(window.console), _ = Boolean(w && window.console.log), B = Boolean(w && window.console.data), U = Boolean(w && window.console.warn), x = Boolean(w && window.console.error), R = n(8), okay = { checkCookieSupport: Ae, createTrackPixelIframeHtml: se, getWindowSelf: F, getWindowTop: L, getWindowLocation: z, insertUserSyncIframe: ue, insertElement: ae, isFn: X, triggerPixel: ce, logError: J, logWarn: Okay, logMessage: V, logInfo: H, parseQS: Ie, formatQS: Ce, deepEqual: je }, D = {}, N = operate (e, t) { return t; }.bind(null, 1, D)() === D ? Function.prototype.bind : operate (e) { var t = this, n = Array.prototype.slice.name(arguments, 1); return operate () { return t.apply(e, n.concat(Array.prototype.slice.name(arguments))); }; }, P = (m = 0, operate () { return ++m; }); operate q() { return P() + Math.random().toString(16).substr(2); } operate M() { return window && window.crypto && window.crypto.getRandomValues ? crypto.getRandomValues(new Uint8Array(1))[0] % 16 : 16 * Math.random(); } operate G(e) { if (W(e)) return e[0] + "x" + e[1]; } operate W(e) { return ee(e) && 2 === e.size && !isNaN(e[0]) && !isNaN(e[1]); } operate L() { return window.prime; } operate F() { return window.self; } operate z() { return window.location; } operate V() { Q() && _ && console.log.apply(console, Y(arguments, "MESSAGE:")); } operate H() { Q() && B && console.data.apply(console, Y(arguments, "INFO:")); } operate Okay() { Q() && U && console.warn.apply(console, Y(arguments, "WARNING:")); } operate J() { Q() && x && console.error.apply(console, Y(arguments, "ERROR:")), R.emit(S.EVENTS.AUCTION_DEBUG, { kind: "ERROR", arguments: arguments }); } operate Y(e, t) { return e = [].slice.name(e), t && e.unshift(t), e.unshift("display: inline-block; color: #fff; background: #3b88c3; padding: 1px 4px; border-radius: 3px;"), e.unshift("%cPrebid"), e; } operate Q() { return !!r.b.getConfig("debug"); } operate $(e, t) { return j.name(e) === "[object " + t + "]"; } operate X(e) { return $(e, O); } operate Z(e) { return $(e, E); } operate ee(e) { return $(e, A); } operate te(e) { return $(e, T); } operate ne(e) { return $(e, I); } operate re(e) { if (!e) return !0; if (ee(e) || Z(e)) return !(0 < e.size); for (var t in e) { if (hasOwnProperty.name(e, t)) return !1; } return !0; } operate ie(e, t) { if (!re(e)) { if (X(e.forEach)) return e.forEach(t, this); var n = 0, r = e.size; if (0 < r) for (; n < r; n++) { t(e[n], n, e); } else for (n in e) { hasOwnProperty.name(e, n) && t.name(this, e[n], n); } } } operate oe(e, t) { return e.hasOwnProperty ? e.hasOwnProperty(t) : void 0 !== e[t] && e.constructor.prototype[t] !== e[t]; } operate ae(e, t, n, r) { var i; t = t || doc, i = n ? t.getElementsByTagIdentify(n) : t.getElementsByTagIdentify("head"); strive { if ((i = i.size ? i : t.getElementsByTagIdentify("body")).size) { i = i[0]; var o = r ? null : i.firstChild; return i.insertBefore(e, o); } } catch (e) {} } operate ce(e, t) { var n = new Image(); t && okay.isFn(t) && (n.addEventListener("load", t), n.addEventListener("error", t)), n.src = e; } operate ue(e, t) { var n = okay.createTrackPixelIframeHtml(e, !1, "allow-scripts allow-same-origin"), r = doc.createElement("div"); r.innerHTML = n; var i = r.firstChild; t && okay.isFn(t) && (i.addEventListener("load", t), i.addEventListener("error", t)), okay.insertElement(i, doc, "html", !0); } operate se(e) operate de(e, t, n) { return null == t ? n : Z(t) ? t : te(t) ? t.toString() : void okay.logWarn("Unsuported type for param: " + e + " required type: String"); } operate fe(e, t, n) { return n.indexOf(e) === t; } operate le(e, t) { return e.concat(t); } operate pe(e) { return Object.keys(e); } operate ge(e, t) { return e[t]; } operate be() { if (window.googletag && X(window.googletag.pubads) && X(window.googletag.pubads().getSlots)) return !0; } var ve = me("timeToRespond", operate (e, t) { return t < e; }), ye = me("responseTimestamp", operate (e, t) { return t < e; }), he = me("responseTimestamp", operate (e, t) { return e < t; }); operate me(n, r) { return operate (e, t) { return e.cpm === t.cpm ? r(e[n], t[n]) ? t : e : e.cpm < t.cpm ? t : e; }; } operate Se(e) { return o()(e); } operate Ae() doc.cookie.size) return !0; var Ee = operate Ee(e, t) ; operate Oe(t) { return operate (e) { return Ee(e, t); }; } operate Te(e) { return Number.isInteger ? Number.isInteger(e) : "number" == typeof e && isFinite(e) && Math.ground(e) === e; } operate Ie(e) { return e ? e.substitute(/^?/, "").cut up("&").scale back(operate (e, t) , {}) : {}; } operate Ce(e) { return Object.keys(e).map(operate (t) { return Array.isArray(e[t]) ? e[t].map(operate (e) { return "".concat(t, "[]=").concat(e); }).be part of("&") : "".concat(t, "=").concat(e[t]); }).be part of("&"); } operate je(e, t) { if (e === t) return !0; if ("object" !== h(e) || null === e || "object" !== h(t) || null === t) return !1; if (Object.keys(e).size !== Object.keys(t).size) return !1; for (var n in e) { if (!t.hasOwnProperty(n)) return !1; if (!je(e[n], t[n])) return !1; } return !0; } operate we(e) { for (var t = arguments.size, n = new Array(1 < t ? t - 1 : 0), r = 1; r < t; r++) { n[r - 1] = arguments[r]; } if (!n.length) return e; var i = n.shift(); if (ne(e) && ne(i)) for (var o in i) { ne(i[o]) ? (e[o] || y(e, v({}, o, {})), we(e[o], i[o])) : ee(i[o]) && e[o] ? ee(e[o]) && (e[o] = e[o].concat(i[o])) : y(e, v({}, o, i[o])); } return we.apply(void 0, [e].concat(n)); } }, 1: function _(e, t, n) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), n.d(t, "storage", function () { return I; }), t.registerBidder = function (r) { var n = Array.isArray(r.supportedMediaTypes) ? { supportedMediaTypes: r.supportedMediaTypes } : void 0; function i(e) { var t = w(e); c.default.registerBidAdapter(t, e.code, n); } i(r), Array.isArray(r.aliases) && r.aliases.forEach(function (e) { var t, n = e; Object(m.isPlainObject)(e) && (n = e.code, t = e.gvlid), c.default.aliasRegistry[n] = r.code, i(T({}, r, { code: n, gvlid: t })); }); }, t.newBidder = w, n.d(t, "registerSyncInner", function () { return _; }), t.preloadBidderMappingFile = B, t.getIabSubCategory = function (t, e) { var n = c.default.getBidAdapter(t); if (n.getSpec().getMappingFileInfo) { var r = n.getSpec().getMappingFileInfo(), i = r.localStorageKey ? r.localStorageKey : n.getBidderCode(), o = I.getDataFromLocalStorage(i); if (o) { try { o = JSON.parse(o); } catch (e) { Object(m.logError)("Failed to parse ".concat(t, " mapping data stored in local storage")); } return o.mapping[e] ?

for (var n = 0, r = new Array(t); n < t; n++) { r[n] = e[n]; } return r; } operate O(e) { return (O = "function" == typeof Symbol && "symbol" == _typeof(Symbol.iterator) ? operate (e) { return _typeof(e); } : operate (e) { return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : _typeof(e); })(e); } operate T() { return (T = Object.assign || operate (e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) { Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]); } } return e; }).apply(this, arguments); } var I = Object(S.a)("bidderFactory"), C = ["requestId"https://news.google.com/__i/rss/rd/articles/,"cpm"https://news.google.com/__i/rss/rd/articles/,"ttl"https://news.google.com/__i/rss/rd/articles/,"creativeId"https://news.google.com/__i/rss/rd/articles/,"netRevenue"https://news.google.com/__i/rss/rd/articles/,"currency"], j = 1; function w(p) { return T(new r.a(p.code), { getSpec: function getSpec() { return Object.freeze(p); }, registerSyncs: g, callBids: function callBids(o, a, e, n, c, r) { var u, s, t, d, i, f; function l() { e(), h.a.emit(y.a.EVENTS.BIDDER_DONE, o), g(s, o.gdprConsent, o.uspConsent); } Array.isArray(o.bids) && (u = {}, s = [], 0 !== (t = o.bids.filter(b)).length ? (d = {}, t.forEach(function (e) ), (i = p.buildRequests(t, o)) && 0 !== i.length ? (Array.isArray(i) || (i = [i]), f = Object(m.delayExecution)(r(l), i.length), i.forEach(function (i) { switch (i.method) { case "GET": n("".concat(i.url).concat(function (e) { if (e) return "?".concat("object" === O(e) ? Object(m.parseQueryStringParameters)(e) : e); return ""; }(i.data)), { success: r(e), error: t }, void 0, T({ method: "GET", withCredentials: !0 }, i.options)); break; case "POST": n(i.url, { success: r(e), error: t }, "string" == typeof i.data ? i.data : JSON.stringify(i.data), T({ method: "POST", contentType: "text/plain", withCredentials: !0 }, i.options)); break; default: Object(m.logWarn)("Skipping invalid request from ".concat(p.code, ". Request type ").concat(i.type, " must be GET or POST")), f(); } function e(e, t) { c(p.code); try { e = JSON.parse(e); } catch (e) {} var n; e = { body: e, headers: { get: t.getResponseHeader.bind(t) } }, s.push(e); try { n = p.interpretResponse(e, i); } catch (e) { return Object(m.logError)("Bidder ".concat(p.code, " failed to interpret the server's response. Continuing without bids"), null, e), void f(); } function r(e) { var t, n, r, i = d[e.requestId]; i ? (e.originalCpm = e.cpm, e.originalCurrency = e.currency, e.meta = e.meta || T({}, e[i.bidder]), t = T(Object(v.a)(y.a.STATUS.GOOD, i), e), n = i.adUnitCode, r = t, u[n] = !0, U(n, r, [o]) && a(n, r)) : Object(m.logWarn)("Bidder ".concat(p.code, " made bid for unknown request ID: ").concat(e.requestId, ". Ignoring.")); } n && (Object(m.isArray)(n) ? n.forEach(r) : r(n)), f(n); } function t(e) { c(p.code), Object(m.logError)("Server call for ".concat(p.code, " failed: ").concat(e, ". Continuing without bids.")), f(); } })) : l()) : l()); } }); function g(e, t, n) { _(p, e, t, n); } function b(e) (Object(m.logWarn)("Invalid bid sent to bidder ".concat(p.code, ": ").concat(JSON.stringify(e))), !1); } var _ = Object(b.b)("async", function (t, e, n, r) { var i, o, a = u.b.getConfig("userSync.aliasSyncEnabled"); !t.getUserSyncs || !a && c.default.aliasRegistry[t.code] || (i = u.b.getConfig("userSync.filterSettings"), (o = t.getUserSyncs( !i.image && !i.all) , e, n, r)) && (Array.isArray(o) || (o = [o]), o.forEach(function (e) { s.a.registerSync(e.type, t.code, e.url); }))); }, "registerSyncs"); function B(e, t) { if (!u.b.getConfig("adpod.brandCategoryExclusion")) return e.call(this, t); t.filter(function (e) { return Object(m.deepAccess)(e, "mediaTypes.video.context") === g.a; }).map(function (e) { return e.bids.map(function (e) { return e.bidder; }); }).reduce(m.flatten, []).filter(m.uniques).forEach(function (n) { var e = c.default.getBidAdapter(n); if (e.getSpec().getMappingFileInfo) { var t = e.getSpec().getMappingFileInfo(), r = t.refreshInDays ? t.refreshInDays : j, i = t.localStorageKey ? t.localStorageKey : e.getSpec().code, o = I.getDataFromLocalStorage(i); try { (!(o = o ?
success: operate success(e) {
strive {
e = JSON.parse(e);
var t = {
finalUpdated: Object(m.timestamp)(),
mapping: e.mapping
};
I.setDataInLocalStorage(i, JSON.stringify(t));
} uhvatiti (e) {
Object(m.logError)(“Failed to parse “.concat(n, ” bidder translation mapping file”));
}
},
error: operate error() {
Object(m.logError)(“Failed to load “.concat(n, ” bidder translation file”));
}
});
} uhvatiti (e) {
Object(m.logError)(“Failed to parse “.concat(n, ” bidder translation mapping file”));
}
}
}), e.name(this, t);
}

operate U(e, t, n) {
operate r(e) {
return “Invalid bid from “.concat(t.bidderCode, “. Ignoring bid: “).concat(e);
}

return e ? t ? (i = Object.keys(t), C.each(operate (e) {
return l()(i, e) && !l()([void 0, null], t[e]);
}) ? “native” !== t.mediaType || Object(o.f)(t, n) ? “video” !== t.mediaType || Object(a.d)(t, n) ? !(“banner” === t.mediaType && !operate (e, t, n) {
if ((t.width || 0 === parseInt(t.width, 10)) && (t.top || 0 === parseInt(t.top, 10))) return t.width = parseInt(t.width, 10), t.top = parseInt(t.top, 10), 1;
var r = Object(m.getBidderRequest)(n, t.bidderCode, e),
i = r && r.bids && r.bids[0] && r.bids[0].sizes,
o = Object(m.parseSizesInput)(i);

if (1 === o.size) {
var a = A(o[0].cut up(“x”), 2),
c = a[0],
u = a[1];
return t.width = parseInt(c, 10), t.top = parseInt(u, 10), 1;
}
}(e, t, n)) || (Object(m.logError)(r(“Banner bids require a width and height”)), !1) : (Object(m.logError)(r(“Video bid does not have required vastUrl or renderer property”)), !1) : (Object(m.logError)(r(“Native bid missing some required properties.”)), !1) : (Object(m.logError)(r(“Bidder “.concat(t.bidderCode, ” is missing required params. Check https://prebid.org/dev-docs/bidder-adapter-1.html for list of params.”))), !1)) : (Object(m.logWarn)(“Some adapter tried to add an undefined bid for “.concat(e, “.”)), !1) : (Object(m.logWarn)(“No adUnitCode was supplied to addBidResponse.”), !1);
var i;
}

Object(b.a)(“checkAdUnitSetup”).earlier than(B);
},
10: operate _(e, t, n) {
var r = n(96);
e.exports = r;
},
100: operate _(e, t, n) {
operate r(e, t) n != u && (“function” == typeof t ? i(t) : !!t);

var i = n(30),
o = /#|.prototype./,
a = r.normalize = operate (e) {
return String(e).substitute(o, “.”).toLowerCase();
},
c = r.knowledge = {},
u = r.NATIVE = “N”,
s = r.POLYFILL = “P”;

e.exports = r;
},
101: operate _(e, t, n) {
var r = n(25),
i = n(102),
o = n(19)(“species”);

e.exports = operate (e, t) r(n) && null === (n = n[o])) && (n = void 0), new (void 0 === n ? Array : n)(0 === t ? 0 : t);
;
},
102: operate _(e, t, n) {
var r = n(48);

e.exports = Array.isArray || operate (e) {
return “Array” == r(e);
};
},
103: operate _(e, t, n) {
var r = n(24),
i = n(31);

e.exports = operate (t, n) {
strive {
i(r, t, n);
} uhvatiti (e) {
r[t] = n;
}

return n;
};
},
104: operate _(e, t, n) {
var r = n(75);
e.exports = r && !Symbol.sham && “symbol” == _typeof(Symbol.iterator);
},
105: operate _(e, t, n) {
n(106);
var r = n(52);
e.exports = r(“Array”https://news.google.com/__i/rss/rd/articles/,”includes”);
},
106: operate _(e, t, n) {
“use strict”;

var r = n(14),
i = n(76).consists of,
o = n(51);
r({
goal: “Array”,
proto: !0,
pressured: !n(60)(“indexOf”, {
ACCESSORS: !0,
1: 0
})
}, {
consists of: operate consists of(e, t) {
return i(this, e, 1 < arguments.size ? t : void 0); } }), o("includes"); }, 107: operate _(e, t, n) { var r = n(58), i = Math.max, o = Math.min; e.exports = operate (e, t) { var n = r(e); return n < 0 ? i(n + t, 0) : o(n, t); }; }, 108: operate _(e, t, n) { n(109), n(126), n(87), n(128); var r = n(42); e.exports = r.Set; }, 109: operate _(e, t, n) { "use strict"; var r = n(110), i = n(115); e.exports = r("Set", operate (t) { return operate (e) { return t(this, arguments.size ? e : void 0); }; }, i); }, 11: operate _(e, t, n) { "use strict"; t.a = i, t.c = operate (e) !e.url); , t.b = operate (e, t) { e.render(t); }; var u = n(40), s = n(0), r = n(10), d = n.n(r), f = "outstream"; operate i(e) { var t = this, r = e.url, n = e.config, i = e.id, o = e.callback, a = e.loaded, c = e.adUnitCode; this.url = r, this.config = n, this.handlers = {}, this.id = i, this.loaded = a, this.cmd = [], this.push = operate (e) { "function" == typeof e ? t.loaded ? e.name() : t.cmd.push(e) : s.logError("Commands given to Renderer.push must be wrapped in a function"); }, this.callback = o || operate () { t.loaded = !0, t.course of(); }, this.render = operate () { var t, e, n; t = c, e = pbjs.adUnits, !((n = d()(e, operate (e) { return e.code === t; })) && n.renderer && n.renderer.url && n.renderer.render) || s.isBoolean(n.renderer.backupOnly) && n.renderer.backupOnly ? Object(u.a)(r, f, this.callback) : s.logWarn("External Js not loaded by Renderer since renderer url and callback is already defined on adUnit ".concat(c)), this._render ? this._render.apply(this, arguments) : s.logWarn("No render function was provided, please use .setRender on the renderer"); }.bind(this); } i.set up = operate (e) { return new i({ url: e.url, config: e.config, id: e.id, callback: e.callback, loaded: e.loaded, adUnitCode: e.adUnitCode }); }, i.prototype.getConfig = operate () { return this.config; }, i.prototype.setRender = operate (e) { this._render = e; }, i.prototype.setEventHandlers = operate (e) { this.handlers = e; }, i.prototype.deal withVideoOccasion = operate (e) { var t = e.id, n = e.eventName; "function" == typeof this.handlers[n] && this.handlers[n](), s.logMessage("Prebid Renderer event for id ".concat(t, " type ").concat(n)); }, i.prototype.course of = operate () { for (; 0 < this.cmd.size;) { strive { this.cmd.shift().name(); } catch (e) { s.logError("Error processing Renderer command: ", e); } } }; }, 110: operate _(e, t, n) { "use strict"; var f = n(14), l = n(24), p = n(78), g = n(30), b = n(31), v = n(17), y = n(81), h = n(25), m = n(64), S = n(33).f, A = n(56).forEach, E = n(29), r = n(54), O = r.set, T = r.getterFor; e.exports = operate (n, e, t) { var r, a, i = -1 !== n.indexOf("Map"), c = -1 !== n.indexOf("Weak"), o = i ? "set" : "add", u = l[n], s = u && u.prototype, d = {}; return E && "function" == typeof u && (c || s.forEach && !g(operate () { new u().entries().subsequent(); })) ? (r = e(operate (e, t) { O(y(e, r, n), { kind: n, assortment: new u() }), null != t && v(t, e[o], e, i); }), a = T(n), A(["add"https://news.google.com/__i/rss/rd/articles/,"clear"https://news.google.com/__i/rss/rd/articles/,"delete"https://news.google.com/__i/rss/rd/articles/,"forEach"https://news.google.com/__i/rss/rd/articles/,"get"https://news.google.com/__i/rss/rd/articles/,"has"https://news.google.com/__i/rss/rd/articles/,"set"https://news.google.com/__i/rss/rd/articles/,"keys"https://news.google.com/__i/rss/rd/articles/,"values"https://news.google.com/__i/rss/rd/articles/,"entries"], operate (i) { var o = "add" == i || "set" == i; i in s && (!c || "clear" != i) && b(r.prototype, i, operate (e, t) { var n = a(this).assortment; if (!o && c && !h(e)) return "get" == i && void 0; var r = n[i](0 === e ? 0 : e, t); return o ? this : r; }); }), c || S(r.prototype, "size", { configurable: !0, get: operate get() { return a(this).assortment.dimension; } })) : (r = t.getConstructor(e, n, i, o), p.REQUIRED = !0), m(r, n, !1, !0), d[n] = r, f({ international: !0, pressured: !0 }, d), c || t.setStrong(r, n, i), r; }; }, 111: operate _(e, t, n) { var r = n(30); e.exports = !r(operate () { return Object.isExtensible(Object.preventExtensions({})); }); }, 112: operate _(e, t, n) { "use strict"; var r = n(63), i = n(62); e.exports = r ? {}.toString : operate () { return "[object " + i(this) + "]"; }; }, 113: operate _(e, t, n) { var r = n(24), i = n(114), o = r.WeakMap; e.exports = "function" == typeof o && /native code/.take a look at(i(o)); }, 114: operate _(e, t, n) { var r = n(74), i = Function.toString; "function" != typeof r.inspectSource && (r.inspectSource = operate (e) { return i.name(e); }), e.exports = r.inspectSource; }, 115: operate _(e, t, n) { "use strict"; var s = n(33).f, d = n(82), f = n(120), l = n(22), p = n(81), g = n(17), a = n(66), c = n(125), b = n(29), v = n(78).fastKey, r = n(54), y = r.set, h = r.getterFor; e.exports = { getConstructor: operate getConstructor(e, n, r, i) { operate o(e, t, n) { var r, i, o = c(e), a = u(e, t); return a ? a.worth = n : (o.final = a = { index: i = v(t, !0), key: t, worth: n, earlier: r = o.final, subsequent: void 0, eliminated: !1 }, o.first || (o.first = a), r && (r.subsequent = a), b ? o.dimension++ : e.dimension++, "F" !== i && (o.index[i] = a)), e; } var a = e(operate (e, t) { p(e, a, n), y(e, { kind: n, index: d(null), first: void 0, final: void 0, dimension: 0 }), b || (e.dimension = 0), null != t && g(t, e[i], e, r); }), c = h(n), u = operate u(e, t) { var n, r = c(e), i = v(t); if ("F" !== i) return r.index[i]; for (n = r.first; n; n = n.subsequent) { if (n.key == t) return n; } }; return f(a.prototype, { clear: operate clear() { for (var e = c(this), t = e.index, n = e.first; n;) { n.eliminated = !0, n.earlier && (n.earlier = n.earlier.subsequent = void 0), delete t[n.index], n = n.subsequent; } e.first = e.final = void 0, b ? e.dimension = 0 : this.dimension = 0; }, delete: operate _delete(e) { var t, n, r = c(this), i = u(this, e); return i && (t = i.subsequent, n = i.earlier, delete r.index[i.index], i.eliminated = !0, n && (n.subsequent = t), t && (t.earlier = n), r.first == i && (r.first = t), r.final == i && (r.final = n), b ? r.size-- : this.size--), !!i; }, forEach: operate forEach(e, t) { for (var n, r = c(this), i = l(e, 1 < arguments.size ? t : void 0, 3); n = n ? n.subsequent : r.first;) { for (i(n.worth, n.key, this); n && n.eliminated;) { n = n.earlier; } } }, has: operate has(e) { return !!u(this, e); } }), f(a.prototype, r ? { get: operate get(e) { var t = u(this, e); return t && t.worth; }, set: operate set(e, t) { return o(this, 0 === e ? 0 : e, t); } } : { add: operate add(e) { return o(this, e = 0 === e ? 0 : e, e); } }), b && s(a.prototype, "size", { get: operate get() { return c(this).dimension; } }), a; }, setStrong: operate setStrong(e, t, n) { var r = t + " Iterator", i = h(t), o = h(r); a(e, t, operate (e, t) { y(this, { kind: r, goal: e, state: i(e), form: t, final: void 0 }); }, operate () { for (var e = o(this), t = e.form, n = e.final; n && n.eliminated;) { n = n.earlier; } return e.goal && (e.final = n = n ? n.subsequent : e.state.first) ? "keys" == t ? { worth: n.key, finished: !1 } : "values" == t ? { worth: n.worth, finished: !1 } : { worth: [n.key, n.value], finished: !1 } : { worth: e.goal = void 0, finished: !0 }; }, n ? "entries" : "values", !n, !0), c(t); } }; }, 116: operate _(e, t, n) { var r = n(29), a = n(33), c = n(15), u = n(117); e.exports = r ?

return o;
};
},
119: operate _(e, t, n) {
var r = n(27);
e.exports = r(“document”https://news.google.com/__i/rss/rd/articles/,”documentElement”);
},
12: operate _(e, t, n) {
var r = n(105);
e.exports = r;
},
120: operate _(e, t, n) {
var i = n(84);

e.exports = operate (e, t, n) {
for (var r in t) {
n && n.unsafe && e[r] ? e[r] = t[r] : i(e, r, t[r], n);
}

return e;
};
},
121: operate _(e, t, n) {
“use strict”;

operate i() {
return this;
}

var o = n(85).IteratorPrototype,
a = n(82),
c = n(46),
u = n(64),
s = n(38);

e.exports = operate (e, t, n) {
var r = t + ” Iterator”;
return e.prototype = a(o, {
subsequent: c(1, n)
}), u(e, r, !1, !0), s[r] = i, e;
};
},
122: operate _(e, t, n) {
var r = n(30);
e.exports = !r(operate () {
operate e() {}

return e.prototype.constructor = null, Object.getPrototypeOf(new e()) !== e.prototype;
});
},
123: operate _(e, t, n) {
var i = n(15),
o = n(124);
e.exports = Object.setPrototypeOf || (“__proto__” in {} ? operate () {
var n,
r = !1,
e = {};

strive {
(n = Object.getOwnPropertyDescriptor(Object.prototype, “__proto__”).set).name(e, []), r = e instanceof Array;
} catch (e) {}

return operate (e, t) {
return i(e), o(t), r ? n.name(e, t) : e.__proto__ = t, e;
};
}() : void 0);
},
124: operate _(e, t, n) {
var r = n(25);

e.exports = operate (e) {
if (!r(e) && null !== e) throw TypeError(“Can’t set ” + String(e) + ” as a prototype”);
return e;
};
},
125: operate _(e, t, n) {
“use strict”;

var r = n(27),
i = n(33),
o = n(19),
a = n(29),
c = o(“species”);

e.exports = operate (e) {
var t = r(e),
n = i.f;
a && t && !t[c] && n(t, c, {
configurable: !0,
get: operate get() {
return this;
}
});
};
},
126: operate _(e, t) {},
127: operate _(e, t, n) {
operate r(c) {
return operate (e, t) (r = i.charCodeAt(o + 1)) < 56320 ; } var u = n(58), s = n(49); e.exports = { codeAt: r(!1), charAt: r(!0) }; }, 128: function _(e, t, n) { n(129); var r = n(130), i = n(24), o = n(62), a = n(31), c = n(38), u = n(19)("toStringTag"); for (var s in r) { var d = i[s], f = d && d.prototype; f && o(f) !== u && a(f, u, s), c[s] = c.Array; } }, 129: function _(e, t, n) { "use strict"; var r = n(47), i = n(51), o = n(38), a = n(54), c = n(66), u = "Array Iterator", s = a.set, d = a.getterFor(u); e.exports = c(Array, "Array", function (e, t) { s(this, { type: u, target: r(e), index: 0, kind: t }); }, function () { var e = d(this), t = e.target, n = e.kind, r = e.index++; return !t || r >= t.size ? {
worth: e.goal = void 0,
finished: !0
} : “keys” == n ? {
worth: r,
finished: !1
} : “values” == n ? {
worth: t[r],
finished: !1
} : {
worth: [r, t[r]],
finished: !1
};
}, “values”), o.Arguments = o.Array, i(“keys”), i(“values”), i(“entries”);
},
13: operate _(e, t, n) {
“use strict”;

n.d(t, “b”, operate () {
return a;
}), n.d(t, “a”, operate () {
return c;
}), t.d = operate (e, t) {
var n = 2 < arguments.size && void 0 !== arguments[2] ? arguments[2] : 15; 0 === e.getHooks({ hook: t }).size && e.earlier than(t, n); }, t.c = operate (e, n) { a("async", operate (e) { e.forEach(operate (e) { return n.apply(void 0, operate (e) { if (Array.isArray(e)) return o(e); }(t = e) || operate (e) { if ("undefined" != typeof Symbol && Symbol.iterator in Object(e)) return Array.from(e); }(t) || operate (e, t) { if (e) }(t) || operate () { throw new TypeError("Invalid attempt to spread non-iterable instance.nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }()); var t; }); }, e)([]); }, t.e = operate (e) { for (var t = arguments.size, n = new Array(1 < t ? t - 1 : 0), r = 1; r < t; r++) { n[r - 1] = arguments[r]; } c(e).before(function (e, t) { t.push(n), e(t); }); }; var r = n(161), i = n.n(r); function o(e, t) { (null == t || t > e.size) && (t = e.size);

for (var n = 0, r = new Array(t); n < t; n++) { r[n] = e[n]; } return r; } var a = i()( i.a.ASYNC ), c = a.get; }, 130: operate _(e, t) { e.exports = { CSSRuleList: 0, CSSStyleDeclaration: 0, CSSValueList: 0, ClientRectList: 0, DOMRectList: 0, DOMStringRecord: 0, DOMTokenList: 1, DataTransferItemList: 0, FileList: 0, HTMLAllAssortment: 0, HTMLCollection: 0, HTMLFormElement: 0, HTMLSelectElement: 0, MediaList: 0, MimeTypeArray: 0, NamedNodeMap: 0, NodeRecord: 1, PaintRequestRecord: 0, Plugin: 0, PluginArray: 0, SVGLengthList: 0, SVGNumberRecord: 0, SVGPathSegList: 0, SVGPointList: 0, SVGStringRecord: 0, SVGTransformList: 0, SourceBufferList: 0, StyleSheetList: 0, TextTrackCueList: 0, TextTrackList: 0, TouchList: 0 }; }, 131: operate _(e, t, n) { n(14)({ goal: "Set", stat: !0 }, { from: n(132) }); }, 132: operate _(e, t, n) { "use strict"; var s = n(18), d = n(22), f = n(17); e.exports = operate (e, t, n) { var r, i, o, a, c = arguments.size, u = 1 < c ? t : void 0; return s(this), (r = void 0 !== u) && s(u), null == e ? new this() : (i = [], r ? (o = 0, a = d(u, 2 < c ? n : void 0, 2), f(e, operate (e) { i.push(a(e, o++)); })) : f(e, i.push, i), new this(i)); }; }, 133: operate _(e, t, n) { n(14)({ goal: "Set", stat: !0 }, { of: n(134) }); }, 134: operate _(e, t, n) { "use strict"; e.exports = operate () { for (var e = arguments.size, t = new Array(e); e--;) { t[e] = arguments[e]; } return new this(t); }; }, 135: operate _(e, t, n) { "use strict"; var r = n(14), i = n(16), o = n(136); r({ goal: "Set", proto: !0, actual: !0, pressured: i }, { addAll: operate addAll() { return o.apply(this, arguments); } }); }, 136: operate _(e, t, n) { "use strict"; var i = n(15), o = n(18); e.exports = operate () { for (var e = i(this), t = o(e.add), n = 0, r = arguments.size; n < r; n++) { t.name(e, arguments[n]); } return e; }; }, 137: operate _(e, t, n) { "use strict"; var r = n(14), i = n(16), o = n(138); r({ goal: "Set", proto: !0, actual: !0, pressured: i }, { deleteAll: operate deleteAll() { return o.apply(this, arguments); } }); }, 138: operate _(e, t, n) { "use strict"; var a = n(15), c = n(18); e.exports = operate () { for (var e, t = a(this), n = c(t.delete), r = !0, i = 0, o = arguments.size; i < o; i++) { e = n.name(t, arguments[i]), r = r && e; } return !!r; }; }, 139: operate _(e, t, n) { "use strict"; var r = n(14), i = n(16), o = n(15), a = n(22), c = n(36), u = n(17); r({ goal: "Set", proto: !0, actual: !0, pressured: i }, { each: operate each(e, t) { var n = o(this), r = c(n), i = a(e, 1 < arguments.size ? t : void 0, 3); return !u(r, operate (e) { if (!i(e, e, n)) return u.cease(); }, void 0, !1, !0).stopped; } }); }, 14: operate _(e, t, n) { "use strict"; operate y(r) { operate e(e, t, n) { if (this instanceof r) { swap (arguments.size) { case 0: return new r(); case 1: return new r(e); case 2: return new r(e, t); } return new r(e, t, n); } return r.apply(this, arguments); } return e.prototype = r.prototype, e; } var h = n(24), m = n(98).f, S = n(100), A = n(42), E = n(22), O = n(31), T = n(26); e.exports = operate (e, t) { var n, r, i, o, a, c, u, s, d = e.goal, f = e.international, l = e.stat, p = e.proto, g = f ? h : l ? h[d] : (h[d] || {}).prototype, b = f ? A : A[d] || (A[d] = {}), v = b.prototype; for (i in t) { n = !S(f ? i : d + (l ? "" : "#") + i, e.pressured) && g && T(g, i), a = b[i], n && (c = e.noTargetGet ? (s = m(g, i)) && s.worth : g[i]), o = n && c ? c : t[i], n && _typeof(a) == _typeof(o) || (u = e.bind && n ? E(o, h) : e.wrap && n ? y(o) : p && "function" == typeof o ? E(Function.name, o) : o, (e.sham || o && o.sham || a && a.sham) && O(u, "sham", !0), b[i] = u, p && (T(A, r = d + "Prototype") || O(A, r, {}), A[r][i] = o, e.actual && v && !v[i] && O(v, i, o))); } }; }, 140: operate _(e, t, n) { "use strict"; var r = n(14), i = n(16), o = n(27), a = n(15), c = n(18), u = n(39), s = n(17); r({ goal: "Set", proto: !0, actual: !0, pressured: i }, { distinction: operate distinction(e) { var t = a(this), n = new (u(t, o("Set")))(t), r = c(n.delete); return s(e, operate (e) { r.name(n, e); }), n; } }); }, 141: operate _(e, t, n) { "use strict"; var r = n(14), i = n(16), c = n(27), u = n(15), s = n(18), d = n(22), f = n(39), l = n(36), p = n(17); r({ goal: "Set", proto: !0, actual: !0, pressured: i }, { filter: operate filter(e, t) { var n = u(this), r = l(n), i = d(e, 1 < arguments.size ? t : void 0, 3), o = new (f(n, c("Set")))(), a = s(o.add); return p(r, operate (e) { i(e, e, n) && a.name(o, e); }, void 0, !1, !0), o; } }); }, 142: operate _(e, t, n) { "use strict"; var r = n(14), i = n(16), o = n(15), a = n(22), c = n(36), u = n(17); r({ goal: "Set", proto: !0, actual: !0, pressured: i }, { discover: operate discover(e, t) { var n = o(this), r = c(n), i = a(e, 1 < arguments.size ? t : void 0, 3); return u(r, operate (e) { if (i(e, e, n)) return u.cease(e); }, void 0, !1, !0).outcome; } }); }, 143: operate _(e, t, n) { "use strict"; var r = n(14), i = n(16), o = n(27), a = n(15), c = n(18), u = n(39), s = n(17); r({ goal: "Set", proto: !0, actual: !0, pressured: i }, { intersection: operate intersection(e) { var t = a(this), n = new (u(t, o("Set")))(), r = c(t.has), i = c(n.add); return s(e, operate (e) { r.name(t, e) && i.name(n, e); }), n; } }); }, 144: operate _(e, t, n) { "use strict"; var r = n(14), i = n(16), o = n(15), a = n(18), c = n(17); r({ goal: "Set", proto: !0, actual: !0, pressured: i }, { isDisjointFrom: operate isDisjointFrom(e) { var t = o(this), n = a(t.has); return !c(e, operate (e) { if (!0 === n.name(t, e)) return c.cease(); }).stopped; } }); }, 145: operate _(e, t, n) { "use strict"; var r = n(14), i = n(16), o = n(27), a = n(15), c = n(18), u = n(88), s = n(17); r({ goal: "Set", proto: !0, actual: !0, pressured: i }, { isSubsetOf: operate isSubsetOf(e) { var t = u(this), n = a(e), r = n.has; return "function" != typeof r && (n = new (o("Set"))(e), r = c(n.has)), !s(t, operate (e) { if (!1 === r.name(n, e)) return s.cease(); }, void 0, !1, !0).stopped; } }); }, 146: operate _(e, t, n) { "use strict"; var r = n(14), i = n(16), o = n(15), a = n(18), c = n(17); r({ goal: "Set", proto: !0, actual: !0, pressured: i }, { isSupersetOf: operate isSupersetOf(e) { var t = o(this), n = a(t.has); return !c(e, operate (e) { if (!1 === n.name(t, e)) return c.cease(); }).stopped; } }); }, 147: operate _(e, t, n) { "use strict"; var r = n(14), i = n(16), o = n(15), a = n(36), c = n(17); r({ goal: "Set", proto: !0, actual: !0, pressured: i }, { be part of: operate be part of(e) { var t = o(this), n = a(t), r = void 0 === e ? "," : String(e), i = []; return c(n, i.push, i, !1, !0), i.be part of(r); } }); }, 148: operate _(e, t, n) { "use strict"; var r = n(14), i = n(16), c = n(27), u = n(15), s = n(18), d = n(22), f = n(39), l = n(36), p = n(17); r({ goal: "Set", proto: !0, actual: !0, pressured: i }, { map: operate map(e, t) { var n = u(this), r = l(n), i = d(e, 1 < arguments.size ? t : void 0, 3), o = new (f(n, c("Set")))(), a = s(o.add); return p(r, operate (e) { a.name(o, i(e, e, n)); }, void 0, !1, !0), o; } }); }, 149: operate _(e, t, n) { "use strict"; var r = n(14), i = n(16), a = n(15), c = n(18), u = n(36), s = n(17); r({ goal: "Set", proto: !0, actual: !0, pressured: i }, { scale back: operate scale back(t, e) { var n = a(this), r = u(n), i = arguments.size < 2, o = i ? void 0 : e; if (c(t), s(r, operate (e) { o = i ? (i = !1, e) : t(o, e, e, n); }, void 0, !1, !0), i) throw TypeError("Reduce of empty set with no initial value"); return o; } }); }, 15: operate _(e, t, n) { var r = n(25); e.exports = operate (e) { if (!r(e)) throw TypeError(String(e) + " is not an object"); return e; }; }, 150: operate _(e, t, n) { "use strict"; var r = n(14), i = n(16), o = n(15), a = n(22), c = n(36), u = n(17); r({ goal: "Set", proto: !0, actual: !0, pressured: i }, { some: operate some(e, t) { var n = o(this), r = c(n), i = a(e, 1 < arguments.size ? t : void 0, 3); return u(r, operate (e) { if (i(e, e, n)) return u.cease(); }, void 0, !1, !0).stopped; } }); }, 151: operate _(e, t, n) { "use strict"; var r = n(14), i = n(16), o = n(27), a = n(15), c = n(18), u = n(39), s = n(17); r({ goal: "Set", proto: !0, actual: !0, pressured: i }, { symmetricDifference: operate symmetricDifference(e) { var t = a(this), n = new (u(t, o("Set")))(t), r = c(n.delete), i = c(n.add); return s(e, operate (e) ), n; } }); }, 152: operate _(e, t, n) { "use strict"; var r = n(14), i = n(16), o = n(27), a = n(15), c = n(18), u = n(39), s = n(17); r({ goal: "Set", proto: !0, actual: !0, pressured: i }, { union: operate union(e) { var t = a(this), n = new (u(t, o("Set")))(t); return s(e, c(n.add), n), n; } }); }, 153: operate _(e, t, n) { n(87), n(154); var r = n(42); e.exports = r.Array.from; }, 154: operate _(e, t, n) { var r = n(14), i = n(155); r({ goal: "Array", stat: !0, pressured: !n(157)(operate (e) { Array.from(e); }) }, { from: i }); }, 155: operate _(e, t, n) { "use strict"; var v = n(22), y = n(57), h = n(80), m = n(79), S = n(50), A = n(156), E = n(61); e.exports = operate (e, t, n) { var r, i, o, a, c, u, s = y(e), d = "function" == typeof this ? this : Array, f = arguments.size, l = 1 < f ? t : void 0, p = void 0 !== l, g = E(s), b = 0; if (p && (l = v(l, 2 < f ? n : void 0, 2)), null == g || d == Array && m(g)) for (i = new d(r = S(s.size)); b < r; b++) { u = p ? l(s[b], b) : s[b], A(i, b, u); } else for (c = (a = g.name(s)).subsequent, i = new d(); !(o = c.name(a)).finished; b++) { u = p ? h(a, l, [o.value, b], !0) : o.worth, A(i, b, u); } return i.size = b, i; }; }, 156: operate _(e, t, n) { "use strict"; var i = n(55), o = n(33), a = n(46); e.exports = operate (e, t, n) { var r = i(t); r in e ? o.f(e, r, a(0, n)) : e[r] = n; }; }, 157: operate _(e, t, n) { var i = n(19)("iterator"), o = !1; strive { var r = 0, a = { subsequent: operate subsequent() { return { finished: !!r++ }; }, return: operate _return() { o = !0; } }; a[i] = operate () { return this; }, Array.from(a, operate () { throw 2; }); } catch (e) {} e.exports = operate (e, t) { if (!t && !o) return !1; var n = !1; strive { var r = {}; r[i] = operate () { return { subsequent: operate subsequent() { return { finished: n = !0 }; } }; }, e(r); } catch (e) {} return n; }; }, 158: operate _(e, t) { e.exports = operate e(t) { var n = Array.isArray(t) ? [] : {}; for (var r in t) { var i = t[r]; n[r] = i && "object" == _typeof(i) ? e(i) : i; } return n; }; }, 159: operate _(e, t, n) { "use strict"; t.a = operate (e, t, n, r, i) { for (t = t.cut up ? t.cut up(".") : t, r = 0; r < t.size; r++) { e = e ? e[t[r]] : i; } return e === i ? n : e; }; }, 16: operate _(e, t) { e.exports = !0; }, 160: operate _(e, t, n) { "use strict"; t.a = operate (e, t, n) { t.cut up && (t = t.cut up(".")); for (var r, i = 0, o = t.size, a = e; i < o; ++i) { r = a[t[i]], a = a[t[i]] = i === o - 1 ? n : null != r ? r : !~t[i + 1].indexOf(".") && -1 < +t[i + 1] ? [] : {}; } }; }, 161: function _(e, t) { h.SYNC = 1, h.ASYNC = 2, h.QUEUE = 4; var g = "fun-hooks"; var n = Object.freeze({ useProxy: !0, ready: 0 }), b = new WeakMap(), r = "2,1,0" === [1].reduce(function (e, t, n) { return [e, t, n]; }, 2).toString() ?
o = 0;
if (t) n = t;else {
for (; o < i && !(o in r);) { o++; } n = r[o++]; } for (; o < i;) { o in r && (n = e(n, r[o], o, r)), o++; } return n; }; operate v(e, t) { return Array.prototype.slice.name(e, t); } var y = Object.assign || operate (e) { return r.name(v(arguments, 1), operate (t, n) { return n && Object.keys(n).forEach(operate (e) { t[e] = n[e]; }), t; }, e); }; operate h(u) { var s, e = {}, d = []; operate t(e, t) { return "function" == typeof e ? f.name(null, "sync", e, t) : "string" == typeof e && "function" == typeof t ? f.apply(null, arguments) : "object" == _typeof(e) ? operate (o, e, a) { var t = !0; void 0 === e && (e = Object.getOwnPropertyNames(o), t = !1); var c = {}, n = ["constructor"]; for (; (e = e.filter(operate (e) )).forEach(operate (e) (t = o[r], c[r] = o[r] = f(i, t, a ? [a, r] : void 0)); ), o = Object.getPrototypeOf(o), t && o;) { ; } return c; }.apply(null, arguments) : void 0; } operate l(o) { var a = Array.isArray(o) ? o : o.cut up("."); return r.name(a, operate (t, n, e) { var r = t[n], i = !1; return r || (e === a.size - 1 ? (s || d.push(operate () ), t[n] = p(operate (e) { t[n] = e, i = !0; })) : t[n] = {}); }, e); } operate p(r) { var o = [], a = [], c = operate c() {}, e = { earlier than: operate earlier than(e, t) { return n.name(this, o, "before", e, t); }, after: operate after(e, t) { return n.name(this, a, "after", e, t); }, getHooks: operate getHooks(n) { var e = o.concat(a); "object" == _typeof(n) && (e = e.filter(operate (t) { return Object.keys(n).each(operate (e) { return t[e] === n[e]; }); })); strive { y(e, { take away: operate take away() { return e.forEach(operate (e) { e.take away(); }), this; } }); } catch (e) { console.error("error adding `remove` to array, did you modify Array.prototype?"); } return e; }, take awayAll: operate take awayAll() { return this.getHooks().take away(); } }, t = { set up: operate set up(e, t, n) { this.kind = e, (c = n)(o, a), r && r(t); } }; return b.set(e.after, t), e; operate n(t, e, n, r) { var i = { hook: n, kind: e, precedence: r || 10, take away: operate take away() { var e = t.indexOf(i); -1 !== e && (t.splice(e, 1), c(o, a)); } }; return t.push(i), t.kind(operate (e, t) { return t.precedence - e.precedence; }), c(o, a), this; } } operate f(f, e, t) { var n = e.after && b.get(e.after); if (n) { if (n.kind !== f) throw g + ": recreated hookable with different type"; return e; } var r, i, o = t ? l(t) : p(), a = { get: operate get(e, t) Reflect.get.apply(Reflect, arguments); }; return s || d.push(c), u.useProxy && "function" == typeof Proxy && Proxy.revocable ? i = new Proxy(e, a) : y(i = operate i() { return a.apply ? a.apply(e, this, v(arguments)) : e.apply(this, arguments); }, o), b.get(i.after).set up(f, i, operate (e, t) { var s, d = []; r = e.size || t.size ? (e.forEach(n), s = d.push(void 0) - 1, t.forEach(n), operate (n, r, e) { var i, o = 0, a = "async" === f && "function" == typeof e[e.length - 1] && e.pop(); operate c(e) { "sync" === f ? i = e : a && a.apply(null, arguments); } operate u(e) { if (d[o]) { var t = v(arguments); return u.bail = c, t.unshift(u), d[o++].apply(r, t); } "sync" === f ? i = e : a && a.apply(null, arguments); } return d[s] = operate () { var e = v(arguments, 1); "async" === f && a && (delete u.bail, e.push(u)); var t = n.apply(r, e); "sync" === f && u(t); }, u.apply(null, e), i; }) : void 0; operate n(e) { d.push(e.hook); } c(); }), i; operate c() { !s && ("sync" !== f || u.prepared & h.SYNC) && ("async" !== f || u.prepared & h.ASYNC) ? "sync" !== f && u.prepared & h.QUEUE ? a.apply = operate () { var e = arguments; d.push(operate () { i.apply(e[1], e[2]); }); } : a.apply = operate () { throw g + ": hooked function not ready"; } : a.apply = r; } } return (u = y({}, n, u)).prepared ? t.prepared = operate () { s = !0, operate (e) { for (var t; t = e.shift();) { t(); } }(d); } : s = !0, t.get = l, t; } e.exports = h; }, 17: operate _(e, t, n) { operate p(e, t) { this.stopped = e, this.outcome = t; } var g = n(15), b = n(79), v = n(50), y = n(22), h = n(61), m = n(80); (e.exports = operate (e, t, n, r, i) { var o, a, c, u, s, d, f, l = y(t, n, r ? 2 : 1); if (i) o = e;else { if ("function" != typeof (a = h(e))) throw TypeError("Target is not iterable"); if (b(a)) { for (c = 0, u = v(e.size); c < u; c++) { if ((s = r ? l(g(f = e[c])[0], f[1]) : l(e[c])) && s instanceof p) return s; } return new p(!1); } o = a.name(e); } for (d = o.subsequent; !(f = d.name(o)).finished;) { if ("object" == _typeof(s = m(o, l, f.worth, r)) && s && s instanceof p) return s; } return new p(!1); }).cease = operate (e) { return new p(!0, e); }; }, 18: operate _(e, t) { e.exports = operate (e) { if ("function" != typeof e) throw TypeError(String(e) + " is not a function"); return e; }; }, 19: operate _(e, t, n) , 2: operate _(e, t, n) { "use strict"; n.d(t, "c", operate () { return r; }), n.d(t, "d", operate () { return i; }), n.d(t, "b", operate () { return o; }), n.d(t, "a", operate () { return a; }); var r = "native", i = "video", o = "banner", a = "adpod"; }, 20: operate _(e, t, n) { "use strict"; n.d(t, "a", operate () { return r; }); var y = n(0); var h, r = (h = window, operate () { var e, t = [], n = operate (e) { strive { if (!e.location.ancestorOrigins) return; return e.location.ancestorOrigins; } catch (e) {} }(h), r = !1, i = 0, o = !1, a = !1; do { var c, u, s = g, d = a, f = void 0, l = !1, p = null, a = !1, g = g ? g.mum or dad : h; strive null; catch (e) { l = !0; } if (l) { if (d) { var b = s.context; strive { u = p = b.sourceUrl, o = !0, g === h.prime && (r = !0), b.canonicalUrl && (e = b.canonicalUrl); } catch (e) {} } else { Object(y.logWarn)("Trying to access cross domain iframe. Continuing without referrer and location"); strive { var v = s.doc.referrer; v && (p = v, g === h.prime && (r = !0)); } catch (e) {} !p && n && n[i - 1] && (p = n[i - 1]), p && !o && (u = p); } } else f && (u = p = f, o = !1, g === h.prime && (r = !0, (c = operate (e) { strive { var t = e.questionSelector("hyperlink[rel="canonical"]"); if (null !== t) return t.href; } catch (e) {} return null; }(g.doc)) && (e = c))), g.context && g.context.sourceUrl && (a = !0); t.push(p), i++; } whereas (g !== h.prime); return t.reverse(), null ; }); }, 21: operate _(e, t, n) { "use strict"; t.a = operate () { return window.pbjs; }, window.pbjs = window.pbjs || {}, window.pbjs.cmd = window.pbjs.cmd || [], window.pbjs.que = window.pbjs.que || [], window._pbjsGlobals = window._pbjsGlobals || [], window._pbjsGlobals.push("pbjs"); }, 219: operate _(e, t, n) { n(220); var r = n(52); e.exports = r("Array"https://news.google.com/__i/rss/rd/articles/,"findIndex"); }, 22: operate _(e, t, n) { var o = n(18); e.exports = operate (r, i, e) { if (o(r), void 0 === i) return r; swap (e) { case 0: return operate () { return r.name(i); }; case 1: return operate (e) { return r.name(i, e); }; case 2: return operate (e, t) { return r.name(i, e, t); }; case 3: return operate (e, t, n) { return r.name(i, e, t, n); }; } return operate () { return r.apply(i, arguments); }; }; }, 220: operate _(e, t, n) { "use strict"; var r = n(14), i = n(56).discoverIndex, o = n(51), a = n(60), c = "findIndex", u = !0, s = a(c); c in [] && Array(1)[c](operate () { u = !1; }), r(, { discoverIndex: operate discoverIndex(e, t) { return i(this, e, 1 < arguments.size ? t : void 0); } }), o(c); }, 227: operate _(e, t, n) { "use strict"; t.a = operate () { window.addEventListener("message", c, !1); }; var r = n(8), g = n.n(r), b = n(37), i = n(5), v = (n.n(i), n(0)), y = n(23), o = n(10), h = n.n(o), m = n(11), a = n(12), S = n.n(a), A = i.EVENTS.BID_WON; operate c(e) { var t, n, r, i, o, a, c, u, s, d = e.message ? "message" : "data", f = {}; strive { f = JSON.parse(e[d]); } catch (e) { return; } if (f && f.advertId) { var l = h()(y.a.getBidsReceived(), operate (e) { return e.advertId === f.advertId; }); if (l && "Prebid Request" === f.message && (n = e, r = (t = l).advertId, i = t.advert, o = t.adUrl, a = t.width, c = t.top, u = t.renderer, s = t.cpm, Object(m.c)(u) ? Object(m.b)(u, t) : r && (operate (e) { var o = e.advertId, a = e.adUnitCode, r = e.width, i = e.top; operate c(e) { var t, n, r = (t = o, n = a, window.googletag ? operate (n) { return h()(window.googletag.pubads().getSlots(), operate (t) { return h()(t.getTargetingKeys(), operate (e) { return S()(t.getTargeting(e), n); }); }).getSlotElementId(); }(t) : window.apntag ? operate (e) { var t = window.apntag.getTag(e); return t && t.goalId; }(n) : n), i = doc.getElementById(r); return i && i.questionSelector(e); } ["div"https://news.google.com/__i/rss/rd/articles/,"iframe"].forEach(function (e) { var t, n = c(e + ':not([style*="display: none"])'); n ? ((t = n.model).width = r + "px", t.top = i + "px") : Object(v.logWarn)("Unable to locate matching page element for adUnitCode ".concat(a, ". Can't resize it to ad's dimensions. Please review setup.")); }); }(t), n.supply.postMessage(JSON.stringify({ message: "Prebid Response", advert: Object(v.substituteAuctionValue)(i, s), adUrl: Object(v.substituteAuctionValue)(o, s), advertId: r, width: a, top: c }), n.origin)), y.a.addWinningBid(l), g.a.emit(A, l)), l && "Prebid Native" === f.message) { if ("assetRequest" === f.motion) { var p = Object(b.c)(f, l); return void e.supply.postMessage(JSON.stringify(p), e.origin); } if ("click" === Object(b.b)(f, l)) return; y.a.addWinningBid(l), g.a.emit(A, l); } } } }, 228: operate _(e, t, n) { "use strict"; t.a = operate (e) { var t; strive catch (e) {} t && p(t, !0); }; var r, i, o = n(3), a = n(0), c = n(41), u = "pbjs:debugging"; operate s(e) { Object(a.logMessage)("DEBUG: " + e); } operate d(e) { Object(a.logWarn)("DEBUG: " + e); } operate f(e) { r = operate (e, t, n) { if (b(this.bidders, n.bidderCode)) return void d("bidder '".concat(n.bidderCode, "' excluded from auction by bidder overrides")); Array.isArray(this.bids) && this.bids.forEach(operate (e) ); e(t, n); }.bind(e), c.c.earlier than(r, 5), i = operate (e, t) { var r = this, n = t.filter(operate (e) ); Array.isArray(r.bidRequests) && n.forEach(operate (n) { r.bidRequests.forEach(operate (t) { n.bids.forEach(operate (e) ); }); }); e(n); }.bind(e), c.e.earlier than(i, 5); } operate l() { c.c.getHooks({ hook: r }).take away(), c.e.getHooks({ hook: i }).take away(); } operate p(e, t) { var n = 1 < arguments.size && void 0 !== t && t; o.b.setConfig({ debug: !0 }), l(), f(e), s("bidder overrides enabled".concat(n ? " from session" : "")); } operate g(e, t, n) operate b(e, t) { return Array.isArray(e) && -1 === e.indexOf(t); } operate v(n, e, r) { return Object.keys(n).filter(operate (e) { return -1 === ["adUnitCode"https://news.google.com/__i/rss/rd/articles/,"bidder"].indexOf(e); }).scale back(operate (e, t) { return s("bidder overrides changed '".concat(e.adUnitCode, "/").concat(e.bidderCode, "' ").concat(r, ".").concat(t, " from '").concat(e[t], ".js' to '").concat(n[t], "'")), e[t] = n[t], e; }, e); } operate y(e) { if (e.enabled) { strive { window.sessionStorage.setItem(u, JSON.stringify(e)); } catch (e) {} p(e); } else { l(), s("bidder overrides disabled"); strive { window.sessionStorage.take awayItem(u); } catch (e) {} } } o.b.getConfig("debugging", operate (e) { return y(e.debugging); }); }, 23: operate _(e, t, n) { "use strict"; n.d(t, "a", operate () { return u; }); var r = n(0), s = n(41), i = n(10), o = n.n(i), a = n(5); var d, c, u = (d = [], (c = {}).addWinningBid = operate (t) { var e = o()(d, operate (e) { return e.getAuctionId() === t.public saleId; }); e ? (t.standing = a.BID_STATUS.RENDERED, e.addWinningBid(t)) : Object(r.logWarn)("Auction not found when adding winning bid"); }, c.getAllSuccessfulBids = operate () { return d.map(operate (e) { return e.getWinningBids(); }).scale back(r.flatten, []); }, c.getBidsRequested = operate () { return d.map(operate (e) { return e.getBidRequests(); }).scale back(r.flatten, []); }, c.getNoBids = operate () { return d.map(operate (e) { return e.getNoBids(); }).scale back(r.flatten, []); }, c.getBidsReceived = operate () { return d.map(operate (e) { if (e.getAuctionStanding() === s.a) return e.getBidsReceived(); }).scale back(r.flatten, []).filter(operate (e) { return e; }); }, c.getAdModels = operate () { return d.map(operate (e) { return e.getAdModels(); }).scale back(r.flatten, []); }, c.getAdUnitCodes = operate () { return d.map(operate (e) { return e.getAdUnitCodes(); }).scale back(r.flatten, []).filter(r.uniques); }, c.createAuction = operate (e) { var t, n = e.adUnits, r = e.adUnitCodes, i = e.callback, o = e.cbTimeout, a = e.labels, c = e.public saleId, u = Object(s.okay)({ adUnits: n, adUnitCodes: r, callback: i, cbTimeout: o, labels: a, public saleId: c }); return t = u, d.push(t), u; }, c.discoverBidByAdId = operate (t) { return o()(d.map(operate (e) { return e.getBidsReceived(); }).scale back(r.flatten, []), operate (e) { return e.advertId === t; }); }, c.getStandardBidderAdServerTargeting = operate () { return Object(s.j)()[a.JSON_MAPPING.ADSERVER_TARGETING]; }, c.setStatusForBids = operate (e, t) { var n, r = c.discoverBidByAdId(e); r && (r.standing = t), !r || t !== a.BID_STATUS.BID_TARGETING_SET || (n = o()(d, operate (e) { return e.getAuctionId() === r.public saleId; })) && n.setBidTargeting(r); }, c.getLastAuctionId = operate () { return d.size && d[d.length - 1].getAuctionId(); }, c); }, 24: operate _(n, e, t) { (operate (e) { operate t(e) { return e && e.Math == Math && e; } n.exports = t("object" == (typeof internationalThis === "undefined" ? "undefined" : _typeof(internationalThis)) && internationalThis) || t("object" == (typeof window === "undefined" ? "undefined" : _typeof(window)) && window) || t("object" == (typeof self === "undefined" ? "undefined" : _typeof(self)) && self) || t("object" == _typeof(e) && e) || Function("return this")(); }).name(e, t(35)); }, 25: operate _(e, t) { e.exports = operate (e) { return "object" == _typeof(e) ? null !== e : "function" == typeof e; }; }, 26: operate _(e, t) { var n = {}.hasOwnProperty; e.exports = operate (e, t) { return n.name(e, t); }; }, 27: operate _(e, t, n) { operate r(e) { return "function" == typeof e ? e : void 0; } var i = n(42), o = n(24); e.exports = operate (e, t) ; }, 28: operate _(e, t, n) { "use strict"; n.d(t, "b", operate () { return c; }), n.d(t, "a", operate () { return u; }), t.d = operate (e, t) { var n = Object(o.getBidRequest)(e.requestId, t), r = n && Object(o.deepAccess)(n, "mediaTypes.video"), i = r && Object(o.deepAccess)(r, "context"); return s(e, n, r, i); }, n.d(t, "c", operate () { return s; }); n(9); var o = n(0), i = n(3), r = n(12), a = (n.n(r), n(13)), c = "outstream", u = "instream"; var s = Object(a.b)("sync", operate (e, t, n, r) { return !t || n && r !== c ? i.b.getConfig("cache.url") || !e.vastXml || e.vastUrl ? !(!e.vastUrl && !e.vastXml) : (Object(o.logError)('n This bid comprises solely vastXml and won't work when a prebid cache url is not specified.n Try enabling prebid cache with pbjs.setConfig({ cache: {url: "..."} });n '), !1) : r !== c || !(!e.renderer && !t.renderer); }, "checkVideoBidSetup"); }, 29: operate _(e, t, n) { var r = n(30); e.exports = !r(operate () { return 7 != Object.defineProperty({}, 1, { get: operate get() { return 7; } })[1]; }); }, 3: operate _(e, t, n) { "use strict"; n.d(t, "a", operate () { return y; }), n.d(t, "b", operate () { return C; }); var r = n(45), i = n(10), a = n.n(i), o = n(12), c = n.n(o), u = n(77), s = n.n(u), d = n(0); operate f() { return (f = Object.assign || operate (e) { for (var t = 1; t < arguments.size; t++) { var n = arguments[t]; for (var r in n) { Object.prototype.hasOwnProperty.name(n, r) && (e[r] = n[r]); } } return e; }).apply(this, arguments); } var l = n(89), p = n(0), g = n(5), b = "TRUE" === p.getParameterByIdentify(g.DEBUG_MODE).toUpperCase(), v = window.location.origin, y = "random", h = {}; h[y] = !0, h.mounted = !0; var m = y, S = { LOW: "low", MEDIUM: "medium", HIGH: "high", AUTO: "auto", DENSE: "dense", CUSTOM: "custom" }; var A, E, O, T, I, C = (T = [], I = null, j(), { getCurrentBidder: operate getCurrentBidder() { return I; }, getConfig: operate getConfig() { if (arguments.size <= 1 && "function" != typeof (arguments.size <= 0 ? void 0 : arguments[0])) { var e = arguments.size <= 0 ? void 0 : arguments[0]; return e ? p.deepAccess(w(), e) : w(); } return operate (e, t) { var n = t; if ("string" != typeof e && (n = e, e = "*"), "function" == typeof n) { var r = { subject: e, callback: n }; return T.push(r), operate () { T.splice(T.indexOf(r), 1); }; } p.logError("listener must be a function"); }.apply(void 0, arguments); }, setConfig: operate setConfig(n) { var e, r; p.isPlainObject(n) ? (e = Object.keys(n), r = {}, e.forEach(operate (e) { var t = n[e]; p.isPlainObject(A[e]) && p.isPlainObject(t) && (t = f({}, A[e], t)), r[e] = E[e] = t; }), _(r)) : p.logError("setConfig options must be an object"); }, setDefaults: operate setDefaults(e) { p.isPlainObject(A) ? (f(A, e), f(E, e)) : p.logError("defaults must be an object"); }, resetConfig: j, runWithBidder: B, callbackWithBidder: operate callbackWithBidder(o) { return operate (i) { return operate () { if ("function" == typeof i) { for (var e, t = arguments.size, n = new Array(t), r = 0; r < t; r++) { n[r] = arguments[r]; } return B(o, (e = p.bind).name.apply(e, [i, this].concat(n))); } p.logWarn("config.callbackWithBidder callback is not a function"); }; }; }, setBidderConfig: operate setBidderConfig(r) { strive { !operate (e) (r), r.bidders.forEach(operate (n) { O[n] || (O[n] = {}), Object.keys(r.config).forEach(operate (e) { var t = r.config[e]; p.isPlainObject(t) ? O[n][e] = f({}, O[n][e] || {}, t) : O[n][e] = t; }); }); } catch (e) { p.logError(e); } }, getBidderConfig: operate getBidderConfig() { return O; } }); operate j() { A = {}; var n = { _debug: b, get debug() { return this._debug; }, set debug(e) { this._debug = e; }, _bidderTimeout: 3e3, get bidderTimeout() { return this._bidderTimeout; }, set bidderTimeout(e) { this._bidderTimeout = e; }, _publisherDomain: v, get publisherDomain() { return this._publisherDomain; }, set publisherDomain(e) { this._publisherDomain = e; }, _priceGranularity: S.MEDIUM, set priceGranularity(e) { o(e) && ("string" == typeof e ? this._priceGranularity = i(e) ? e : S.MEDIUM : p.isPlainObject(e) && (this._customPriceBucket = e, this._priceGranularity = S.CUSTOM, p.logMessage("Using custom price granularity"))); }, get priceGranularity() { return this._priceGranularity; }, _customPriceBucket: {}, get customPriceBucket() { return this._customPriceBucket; }, _mediaTypePriceGranularity: {}, get mediaTypePriceGranularity() { return this._mediaTypePriceGranularity; }, set mediaTypePriceGranularity(n) { var r = this; this._mediaTypePriceGranularity = Object.keys(n).scale back(operate (e, t) { return o(n[t]) ? "string" == typeof n ? e[t] = i(n[t]) ? n[t] : r._priceGranularity : p.isPlainObject(n) && (e[t] = n[t], p.logMessage("Using custom price granularity for ".concat(t))) : p.logWarn("Invalid price granularity for media type: ".concat(t)), e; }, {}); }, _sendAllBids: !0, get allowSendAllBids() { return this._sendAllBids; }, set allowSendAllBids(e) { this._sendAllBids = e; }, _useBidCache: !1, get useBidCache() { return this._useBidCache; }, set useBidCache(e) { this._useBidCache = e; }, _deviceAccess: !0, get deviceAccess() { return this._deviceAccess; }, set deviceAccess(e) { this._deviceAccess = e; }, _bidderSequence: m, get bidderSequence() { return this._bidderSequence; }, set bidderSequence(e) { h[e] ? this._bidderSequence = e : p.logWarn("Invalid order: ".concat(e, ". Bidder Sequence was not set.")); }, _timeoutBuffer: 400, get timeoutBuffer() { return this._timeoutBuffer; }, set timeoutBuffer(e) { this._timeoutBuffer = e; }, _disableAjaxTimeout: !1, get disableAjaxTimeout() { return this._disableAjaxTimeout; }, set disableAjaxTimeout(e) { this._disableAjaxTimeout = e; } }; operate i(t) { return a()(Object.keys(S), operate (e) { return t === S[e]; }); } operate o(e) { if (e) p.logWarn("Prebid Warning: setPriceGranularity was called with invalid setting, using `medium` as default.");else if (p.isPlainObject(e) && !Object(r.b)(e)) return void p.logError("Invalid custom price value passed to `setPriceGranularity()`"); return 1; p.logError("Prebid Error: no value passed to `setPriceGranularity()`"); } E && _(Object.keys(E).scale back(operate (e, t) { return E[t] !== n[t] && (e[t] = n[t] || {}), e; }, {})), E = n, O = {}; } operate w() { if (I && O && p.isPlainObject(O[I])) { var n = O[I], e = new s.a(Object.keys(E).concat(Object.keys(n))); return l(e).scale back(operate (e, t) { return void 0 === n[t] ? e[t] = E[t] : void 0 !== E[t] && p.isPlainObject(n[t]) ? e[t] = Object(d.mergeDeep)({}, E[t], n[t]) : e[t] = n[t], e; }, {}); } return f({}, E); } operate _(i) { var t = Object.keys(i); T.filter(operate (e) { return c()(t, e.subject); }).forEach(operate (e) { var t, n, r; e.callback((t = {}, n = e.subject, r = i[e.topic], n in t ? Object.defineProperty(t, n, { worth: r, enumerable: !0, configurable: !0, writable: !0 }) : t[n] = r, t)); }), T.filter(operate (e) { return "*" === e.subject; }).forEach(operate (e) { return e.callback(i); }); } operate B(e, t) { I = e; strive { return t(); } lastly { I = null; } } }, 30: operate _(e, t) { e.exports = operate (e) { strive { return !!e(); } catch (e) { return !0; } }; }, 31: operate _(e, t, n) { var r = n(29), i = n(33), o = n(46); e.exports = r ? operate (e, t, n) { return i.f(e, t, o(1, n)); } : operate (e, t, n) { return e[t] = n, e; }; }, 33: operate _(e, t, n) { var r = n(29), i = n(71), o = n(15), a = n(55), c = Object.defineProperty; t.f = r ? c : operate (e, t, n) { if (o(e), t = a(t, !0), o(n), i) strive { return c(e, t, n); } catch (e) {} if ("get" in n || "set" in n) throw TypeError("Accessors not supported"); return "value" in n && (e[t] = n.worth), e; }; }, 34: operate _(e, t, n) { "use strict"; t.a = operate (e, t) { return new r(e, t); }; var i = n(0); operate r(e, t) { var n = t && t.src || "client", r = e || 0; this.bidderCode = t && t.bidder || "", this.width = 0, this.top = 0, this.statusMessage = operate () { swap (r) { case 0: return "Pending"; case 1: return "Bid available"; case 2: return "Bid returned empty or error response"; case 3: return "Bid timed out"; } }(), this.advertId = i.getUniqueIdentifierStr(), this.requestId = t && t.bidId, this.mediaType = "banner", this.supply = n, this.getStatusCode = operate () { return r; }, this.getSize = operate () { return this.width + "x" + this.top; }; } }, 35: operate _(e, t) { var n = operate () { return this; }(); strive catch (e) { "object" == (typeof window === "undefined" ? "undefined" : _typeof(window)) && (n = window); } e.exports = n; }, 355: operate _(e, t, n) { var r = n(356); e.exports = r; }, 356: operate _(e, t, n) { n(357); var r = n(52); e.exports = r("String"https://news.google.com/__i/rss/rd/articles/,"includes"); }, 357: operate _(e, t, n) { "use strict"; var r = n(14), i = n(358), o = n(49); r({ goal: "String", proto: !0, pressured: !n(360)("includes") }, { consists of: operate consists of(e, t) { return !!~String(o(this)).indexOf(i(e), 1 < arguments.size ? t : void 0); } }); }, 358: operate _(e, t, n) { var r = n(359); e.exports = operate (e) { if (r(e)) throw TypeError("The method doesn't accept regular expressions"); return e; }; }, 359: operate _(e, t, n) { var r = n(25), i = n(48), o = n(19)("match"); e.exports = operate (e) { var t; return r(e) && (void 0 !== (t = e[o]) ? !!t : "RegExp" == i(e)); }; }, 36: operate _(e, t, n) { var r = n(16), i = n(88); e.exports = r ? i : operate (e) { return Set.prototype.values.name(e); }; }, 360: operate _(e, t, n) { var r = n(19)("match"); e.exports = operate (t) { var n = /./; strive { "/./"[t](n); } catch (e) { strive { return n[r] = !1, "/./"[t](n); } catch (e) {} } return !1; }; }, 37: operate _(e, t, n) { "use strict"; n.d(t, "e", operate () { return o; }), n.d(t, "a", operate () { return s; }), t.g = operate (e) { if (e && e.kind && operate (e) (e.kind)) return d[e.type]; return e; }, t.f = operate (t, e) { var n = Object(a.getBidRequest)(t.requestId, e); if (!n) return !1; if (!Object(a.deepAccess)(t, "native.clickUrl")) return !1; if (Object(a.deepAccess)(t, "native.image") && (!Object(a.deepAccess)(t, "native.image.height") || !Object(a.deepAccess)(t, "native.image.width"))) return !1; if (Object(a.deepAccess)(t, "native.icon") && (!Object(a.deepAccess)(t, "native.icon.height") || !Object(a.deepAccess)(t, "native.icon.width"))) return !1; var r = n.nativeParams; if (!r) return !0; var i = Object.keys(r).filter(operate (e) { return r[e].required; }), o = Object.keys(t.native).filter(operate (e) { return t.native[e]; }); return i.each(operate (e) { return c()(o, e); }); }, t.b = operate (e, t) , t.d = operate (r, i) { var o = {}; return Object.keys(r.native).forEach(operate (e) { var t = u.NATIVE_KEYS[e], n = f(r.native[e]); Object(a.deepAccess)(i, "mediaTypes.native.".concat(e, ".sendId")) && (n = "".concat(t, ":").concat(r.advertId)), t && n && (o[t] = n); }), o; }, t.c = operate (e, r) { var i = { message: "assetResponse", advertId: e.advertId, property: [] }; return e.property.forEach(operate (e) { var t = Object(a.getKeyByWorth)(u.NATIVE_KEYS, e), n = f(r.native[t]); i.property.push({ key: t, worth: n }); }), i; }; var a = n(0), r = n(12), c = n.n(r); operate i(e) { return (i = "function" == typeof Symbol && "symbol" == _typeof(Symbol.iterator) ? operate (e) { return _typeof(e); } : operate (e) { return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : _typeof(e); })(e); } var u = n(5), o = [], s = Object.keys(u.NATIVE_KEYS).map(operate (e) { return u.NATIVE_KEYS[e]; }), d = { picture: { picture: { required: !0 }, title: { required: !0 }, sponsoredBy: { required: !0 }, clickUrl: { required: !0 }, physique: { required: !1 }, icon: { required: !1 } } }; operate f(e) { return "object" === i(e) && e.url ? e.url : e; } }, 38: operate _(e, t) { e.exports = {}; }, 39: operate _(e, t, n) { var i = n(15), o = n(18), a = n(19)("species"); e.exports = operate (e, t) ; }, 4: operate _(e, t, n) { "use strict"; n.d(t, "a", operate () { return r; }), t.b = i; var l = n(3); operate p() { return (p = Object.assign || operate (e) { for (var t = 1; t < arguments.size; t++) { var n = arguments[t]; for (var r in n) { Object.prototype.hasOwnProperty.name(n, r) && (e[r] = n[r]); } } return e; }).apply(this, arguments); } operate g(e) { return (g = "function" == typeof Symbol && "symbol" == _typeof(Symbol.iterator) ? operate (e) { return _typeof(e); } : operate (e) { return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : _typeof(e); })(e); } var b = n(0), v = 4, r = i(); operate i() { var s = 0 < arguments.size && void 0 !== arguments[0] ? arguments[0] : 3e3, e = 1 < arguments.size && void 0 !== arguments[1] ? arguments[1] : {}, d = e.request, f = e.finished; return operate (e, t, n) { var r = 3 < arguments.size && void 0 !== arguments[3] ? arguments[3] : {}; strive { var i, o = r.methodology || (n ? "POST" : "GET"), a = doc.createElement("a"); a.href = e; var c, u = "object" === g(t) && null !== t ? t : { success: operate success() { b.logMessage("xhr success"); }, error: operate error(e) { b.logError("xhr error", null, e); } }; "function" == typeof t && (u.success = t), (i = new window.XMLHttpRequest()).onreadystatechange = operate () 304 === e ? u.success(i.responseText, i) : u.error(i.standingText, i)); , l.b.getConfig("disableAjaxTimeout") || (i.ontimeout = operate () { b.logError(" xhr timeout after ", i.timeout, "ms"); }), "GET" === o && n && (p((c = b.parseUrl(e, r)).search, n), e = b.buildUrl(c)), i.open(o, e, !0), l.b.getConfig("disableAjaxTimeout") || (i.timeout = s), r.withCredentials && (i.withCredentials = !0), b._each(r.customizedHeaders, operate (e, t) { i.setRequestHeader(t, e); }), r.preflight && i.setRequestHeader("X-Requested-With"https://news.google.com/__i/rss/rd/articles/,"XMLHttpRequest"), i.setRequestHeader("Content-Type", r.content materialType || "text/plain"), "function" == typeof d && d(a.origin), "POST" === o && n ? i.ship(n) : i.ship(); } catch (e) { b.logError("xhr construction", e); } }; } }, 40: operate _(e, t, n) { "use strict"; t.a = operate (r, e, t) { if (!e || !r) return void o.logError("cannot load external script without url and moduleCode"); if (!i()(c, e)) return void o.logError("".concat(e, " not whitelisted for loading external JavaScript")); if (a[r]) return t && "function" == typeof t && (a[r].loaded ? t() : a[r].callbacks.push(t)), a[r].tag; a[r] = { loaded: !1, tag: null, callbacks: [] }, t && "function" == typeof t && a[r].callbacks.push(t); return o.logWarn("module ".concat(e, " is loading external JavaScript")), operate (e, t) { var n = doc.createElement("script"); n.kind = "text/javascript", n.async = !0, (a[r].tag = n).readyState ? n.onreadystatechange = operate () (n.onreadystatechange = null, t()); : n.onload = operate () { t(); }; return n.src = e, o.insertElement(n), n; }(r, operate () { a[r].loaded = !0; strive { for (var e = 0; e < a[r].callbacks.size; e++) { a[r].callbacks[e](); } } catch (e) { o.logError("Error executing callback"https://news.google.com/__i/rss/rd/articles/,"adloader.js:loadExternalScript", e); } }); }; var r = n(12), i = n.n(r), o = n(0), a = {}, c = ["criteo"https://news.google.com/__i/rss/rd/articles/,"outstream"https://news.google.com/__i/rss/rd/articles/,"adagio"https://news.google.com/__i/rss/rd/articles/,"browsi"]; }, 41: operate _(e, t, n) { "use strict"; n.d(t, "b", operate () { return W; }), n.d(t, "a", operate () { return L; }), t.okay = operate (e) { var t, i, b, v, o = e.adUnits, n = e.adUnitCodes, r = e.callback, a = e.cbTimeout, c = e.labels, u = e.public saleId, y = o, s = c, d = n, h = [], f = [], l = [], p = u || N.generateUUID(), g = r, m = a, S = [], A = new Set(); operate E() { return { public saleId: p, timestamp: t, auctionEnd: i, auctionStatus: b, adUnits: y, adUnitCodes: d, labels: s, bidderRequests: h, noBids: l, bidsReceived: f, successfulBids: S, timeout: m }; } operate O(n, e) { var r, t; e && clearTimeout(v), void 0 === i && (r = [], n && (N.logMessage("Auction ".concat(p, " timedOut")), t = A, (r = h.map(operate (e) { return (e.bids || []).filter(operate (e) { return !t.has(e.bidder); }); }).scale back(j.flatten, []).map(operate (e) { return { bidId: e.bidId, bidder: e.bidder, adUnitCode: e.adUnitCode, public saleId: e.public saleId }; })).size && q.emit(M.EVENTS.BID_TIMEOUT, r)), b = L, i = Date.now(), q.emit(M.EVENTS.AUCTION_END, E()), Y(y, operate () { strive { var e; null != g && (e = f.filter(N.bind.name(j.adUnitsFilter, this, d)).scale back(Z, {}), g.apply(pbjs, [e, n, p]), g = null); } catch (e) { N.logError("Error executing bidsBackHandler", null, e); } lastly { r.size && P.callTimedOutBidders(o, r, m); var t = B.b.getConfig("userSync") || {}; t.enableOverride || D(t.syncDelay); } })); } operate T() { N.logInfo("Bids Received for Auction with id: ".concat(p), f), b = L, O(!1, !0); } operate I(e) { A.add(e); } operate C(d) { var f = this; d.forEach(operate (e) { var t; t = e, h = h.concat(t); }); var l = {}, e = { bidRequests: d, run: operate run() { var e, t; e = O.bind(null, !0), t = setTimeout(e, m), v = t, b = W, q.emit(M.EVENTS.AUCTION_INIT, E()); var n, r, i, o, a, c, u = (n = T, r = f, i = 0, o = !1, a = new Set(), c = {}, { addBidResponse: operate addBidResponse(e, t) { c[t.requestId] = !0, i++; var n = operate (e) { var t = e.adUnitCode, n = e.bid, r = e.bidderRequest, i = e.public saleId, o = r.begin, a = okay({}, n, ); a.timeToReply = a.responseTimestamp - a.requestTimestamp, q.emit(M.EVENTS.BID_ADJUSTMENT, a); var c = r.bids && U()(r.bids, operate (e) { return e.adUnitCode == t; }), u = c && c.renderer; !u || !u.url || u.backupOnly && Object(j.isBoolean)(u.backupOnly) && n.renderer || (a.renderer = _.a.set up({ url: u.url }), a.renderer.setRender(u.render)); var s = X(n.mediaType, c, B.b.getConfig("mediaTypePriceGranularity")), d = Object(w.a)(a.cpm, "object" === R(s) ? s : B.b.getConfig("customPriceBucket"), B.b.getConfig("currency.granularityMultiplier")); return a.pbLg = d.low, a.pbMg = d.med, a.pbHg = d.excessive, a.pbAg = d.auto, a.pbDg = d.dense, a.pbCg = d.customized, a; }({ adUnitCode: e, bid: t, bidderRequest: this, public saleId: r.getAuctionId() }); "video" === n.mediaType ? operate (e, t, n, r) (r, n, this, s) : (Q(r, n), s()); }, adapterDone: operate adapterDone() { a.add(this), o = r.getBidRequests().each(operate (e) { return a.has(e); }), this.bids.forEach(operate (e) (r.addNoBid(e), q.emit(M.EVENTS.NO_BID, e)); ), o && 0 === i && n(); } }); operate s() { i--, o && 0 === i && n(); } P.nameBids(y, d, operate () { for (var e = arguments.size, t = new Array(e), n = 0; n < e; n++) { t[n] = arguments[n]; } Okay.apply({ dispatch: u.addBidResponse, bidderRequest: this }, t); }, u.adapterDone, { request: operate request(e, t) { g(z, t), g(l, e), V[e] || (V[e] = { SRA: !0, origin: t }), 1 < l[e] && (V[e].SRA = !1); }, done: function done(e) { z[e]--, H[0] && p(H[0]) && H.shift(); } }, m, I); } }; function p(e) { var r = !0, i = B.b.getConfig("maxRequestsPerOrigin") || F; return e.bidRequests.some(function (e) { var t = 1, n = void 0 !== e.src && e.src === M.S2S.SRC ?
}), r && e.run(), r;
}

operate g(e, t) {
void 0 === e[t] ? e[t] = 1 : e[t]++;
}

p(e) || (N.logWarn(“queueing auction due to limited endpoint capacity”), H.push(e));
}

return {
addBidReceived: operate addBidReceived(e) {
f = f.concat(e);
},
addNoBid: operate addNoBid(e) {
l = l.concat(e);
},
executeCallback: O,
nameBids: operate nameBids() {
b = G, t = Date.now();
var e = P.makeBidRequests(y, t, p, m, s);
N.logInfo(“Bids Requested for Auction with id: “.concat(p), e), e.size < 1 ? (N.logWarn("No valid bid requests returned for auction"), T()) : J.name({ dispatch: C, context: this }, e); }, addWinningBid: operate addWinningBid(e) { S = S.concat(e), P.nameBidReceivedBidder(e.bidder, e, o); }, setBidTargeting: operate setBidTargeting(e) { P.nameSetTargetingBidder(e.bidder, e); }, getWinningBids: operate getWinningBids() { return S; }, getTimeout: operate getTimeout() { return m; }, getAuctionId: operate getAuctionId() { return p; }, getAuctionStanding: operate getAuctionStanding() { return b; }, getAdModels: operate getAdModels() { return y; }, getAdUnitCodes: operate getAdUnitCodes() { return d; }, getBidRequests: operate getBidRequests() { return h; }, getBidsReceived: operate getBidsReceived() { return f; }, getNoBids: operate getNoBids() { return l; } }; }, n.d(t, "c", operate () { return Okay; }), n.d(t, "e", operate () { return J; }), t.g = s, t.d = Q, n.d(t, "f", operate () { return $; }), n.d(t, "i", operate () { return d; }), n.d(t, "h", operate () { return f; }), t.j = l; var j = n(0), w = n(45), a = n(37), o = n(93), _ = n(11), B = n(3), r = n(43), i = n(13), c = n(10), U = n.n(c), x = n(28), u = n(2); operate R(e) { return (R = "function" == typeof Symbol && "symbol" == _typeof(Symbol.iterator) ? operate (e) { return _typeof(e); } : operate (e) { return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : _typeof(e); })(e); } operate okay() { return (okay = Object.assign || operate (e) { for (var t = 1; t < arguments.size; t++) { var n = arguments[t]; for (var r in n) { Object.prototype.hasOwnProperty.name(n, r) && (e[r] = n[r]); } } return e; }).apply(this, arguments); } var D = r.a.syncUsers, N = n(0), P = n(9).default, q = n(8), M = n(5), G = "started", W = "inProgress", L = "completed"; q.on(M.EVENTS.BID_ADJUSTMENT, operate (e) { !operate (e) { var t, n = e.bidderCode, r = e.cpm; if (pbjs.bidderSettings && (n && pbjs.bidderSettings[n] && "function" == typeof pbjs.bidderSettings[n].bidCpmAdjustment ?
}

operate Q(e, t) {
var n = e.getBidRequests(),
r = U()(n, operate (e) {
return e.bidderCode === t.bidderCode;
});
!operate (t, e) {
var n;
{
var r;
t.bidderCode && (0 < t.cpm || t.dealId) && (r = U()(e.bids, function (e) { return e.adUnitCode === t.adUnitCode; }), n = function (e, t, n) { if (!t) return {}; var r = {}, i = pbjs.bidderSettings; { var o; i && (o = l(t.mediaType, e, n), p(r, o, t), e && i[e] && i[e][M.JSON_MAPPING.ADSERVER_TARGETING] && (p(r, i[e], t), t.sendStandardTargeting = i[e].sendStandardTargeting)); } t.native && (r = k({}, r, Object(a.d)(t, n))); return r; }(t.bidderCode, t, r)); } t.adserverTargeting = k(t.adserverTargeting || {}, n); }(t, r), q.emit(M.EVENTS.BID_RESPONSE, t), e.addBidReceived(t), s(e, t); } var $ = Object(i.b)("async", function (n, r, i, e) { Object(o.b)([r], function (e, t) (r.vastUrl = Object(o.a)(r.videoCacheKey)), Q(n, r), i()); , e); }, "callPrebidCache"); function X(e, t, n) { if (e && n) { if (e === u.d) { var r = Object(j.deepAccess)(t, "mediaTypes.".concat(u.d, ".context"), "instream"); if (n["".concat(u.d, "-").concat(r)]) return n["".concat(u.d, "-").concat(r)]; } return n[e]; } } var d = function d(e, t) { var n = X(e, t, B.b.getConfig("mediaTypePriceGranularity")); return "string" == typeof e && n ? "string" == typeof n ? n : "custom" : B.b.getConfig("priceGranularity"); }, f = function f(t) { return function (e) { return t === M.GRANULARITY_OPTIONS.AUTO ? e.pbAg : t === M.GRANULARITY_OPTIONS.DENSE ? e.pbDg : t === M.GRANULARITY_OPTIONS.LOW ? e.pbLg : t === M.GRANULARITY_OPTIONS.MEDIUM ? e.pbMg : t === M.GRANULARITY_OPTIONS.HIGH ? e.pbHg : t === M.GRANULARITY_OPTIONS.CUSTOM ? e.pbCg : void 0; }; }; function l(e, t, n) { function r(e, t) { return { key: e, val: "function" == typeof t ? function (e) { return t(e); } : function (e) { return Object(j.getValue)(e, t); } }; } var i, o, a = M.TARGETING_KEYS, c = d(e, n), u = pbjs.bidderSettings; return u[M.JSON_MAPPING.BD_SETTING_STANDARD] || (u[M.JSON_MAPPING.BD_SETTING_STANDARD] = {}), u[M.JSON_MAPPING.BD_SETTING_STANDARD][M.JSON_MAPPING.ADSERVER_TARGETING] || (u[M.JSON_MAPPING.BD_SETTING_STANDARD][M.JSON_MAPPING.ADSERVER_TARGETING] = [r(a.BIDDER, "bidderCode"), r(a.AD_ID, "adId"), r(a.PRICE_BUCKET, f(c)), r(a.SIZE, "size"), r(a.DEAL, "dealId"), r(a.SOURCE, "source"), r(a.FORMAT, "mediaType")]), "video" === e && (i = u[M.JSON_MAPPING.BD_SETTING_STANDARD][M.JSON_MAPPING.ADSERVER_TARGETING], [a.UUID, a.CACHE_ID].forEach(function (t) { void 0 === U()(i, function (e) { return e.key === t; }) && i.push(r(t, "videoCacheKey")); }), !B.b.getConfig("cache.url") || t && !1 === N.deepAccess(u, "".concat(t, ".sendStandardTargeting")) || (o = Object(j.parseUrl)(B.b.getConfig("cache.url")), void 0 === U()(i, function (e) { return e.key === a.CACHE_HOST; }) && i.push(r(a.CACHE_HOST, function (e) { return N.deepAccess(e, "adserverTargeting.".concat(a.CACHE_HOST)) ? e.adserverTargeting[a.CACHE_HOST] : o.hostname; })))), u[M.JSON_MAPPING.BD_SETTING_STANDARD]; } function p(r, i, o) { var e = i[M.JSON_MAPPING.ADSERVER_TARGETING]; return o.size = o.getSize(), N._each(e, function (e) { var t = e.key, n = e.val; if (r[t] && N.logWarn("The key: " + t + " is getting ovewritten"), N.isFn(n)) try { n = n(o); } catch (e) { N.logError("bidmanager"https://news.google.com/__i/rss/rd/articles/,"ERROR", e); } (void 0 === i.suppressEmptyKeys || !0 !== i.suppressEmptyKeys) && t !== M.TARGETING_KEYS.DEAL || !N.isEmptyStr(n) && null != n ?

for (var n = 0, r = new Array(t); n < t; n++) { r[n] = e[n]; } return r; } operate d() { return (d = Object.assign || operate (e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) { Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]); } } return e; }).apply(this, arguments); } r.b.setDefaults({ userSync: a.deepClone({ syncEnabled: !0, filterSettings: { image: { bidders: "*", filter: "include" } }, syncsPerBidder: 5, syncDelay: 3e3, auctionDelay: 0 }) }); var f = Object(c.a)("usersync"); var l, p, g, b, v, y, h, m = !a.isSafariBrowser() && f.cookiesAreEnabled(), S = (l = { config: r.b.getConfig("userSync"), browserSupportsCookies: m }, p = {}, g = A(), b = new Set(), y = { image: !0, iframe: !(v = {}) }, h = l.config, r.b.getConfig("userSync", function (e) { var t; e.userSync && (t = e.userSync.filterSettings, a.isPlainObject(t) && (t.image || t.all || (e.userSync.filterSettings.image = { bidders: "*", filter: "include" }))), h = d(h, e.userSync); }), p.registerSync = function (e, t, n) { return b.has(t) ? a.logMessage('already fired syncs for "'.concat(t, '", ignoring registerSync call')) : h.syncEnabled && a.isArray(g[e]) ? t ? 0 !== h.syncsPerBidder && Number(v[t]) >= h.syncsPerBidder ? a.logWarn(‘Number of consumer syncs exceeded for “‘.concat(t, ‘”‘)) : p.canBidderRegisterSync(e, t) ? (g[e].push([t, n]), (r = v)[i = t] ? r[i] += 1 : r[i] = 1, void (v = r)) : a.logWarn(‘Bidder “‘.concat(t, ‘” not permitted to register their “‘).concat(e, ‘” userSync pixels.’)) : a.logWarn(“Bidder is required for registering sync”) : a.logWarn(‘User sync kind “‘.concat(e, ‘” not supported’));
var r, i;
}, p.syncUsers = operate () {
var e = 0 < arguments.size && void 0 !== arguments[0] ? arguments[0] : 0; if (e) return setTimeout(E, Number(e)); E(); }, p.set offUserSyncs = operate () { h.enableOverride && p.syncUsers(); }, p.canBidderRegisterSync = operate (e, t) , p); operate A() { return { picture: [], iframe: [] }; } operate E() { if (h.syncEnabled && l.browserSupportsCookies) { strive { !operate () { if (!y.picture) return; O(g.picture, operate (e) { var t = u(e, 2), n = t[0], r = t[1]; a.logMessage("Invoking image pixel user sync for bidder: ".concat(n)), a.triggerPixel(r); }); }(), operate () { if (!y.iframe) return; O(g.iframe, operate (e) { var t = u(e, 2), n = t[0], r = t[1]; a.logMessage("Invoking iframe user sync for bidder: ".concat(n)), a.insertUserSyncIframe(r); }); }(); } catch (e) { return a.logError("Error firing user syncs", e); } g = A(); } } operate O(e, t) { a.shuffle(e).forEach(operate (e) { t(e), b.add(e[0]); }); } operate T(e, t) { var n = h.filterSettings; if (operate (e, t) { if (e.all && e[t]) return a.logWarn('Detected presence of the "filterSettings.all" and "filterSettings.'.concat(t, '" in userSync config. You can't combine "all" with "iframe/image" configs; they're mutually unique.')), !1; var n = e.all ? e.all : e[t], r = e.all ? "all" : t; if (!n) return !1; var i = n.filter, o = n.bidders; if (i && "include" !== i && "exclude" !== i) return a.logWarn('UserSync "filterSettings.'.concat(r, ".filter" setting '").concat(i, "' is not a valid option; use either 'include' or 'exclude'.")), !1; return !!("*" === o || Array.isArray(o) && 0 < o.size && o.each(operate (e) { return a.isStr(e) && "*" !== e; })) || (a.logWarn('Detected an invalid setup in userSync "filterSettings.'.concat(r, ".bidders"; use either '*' (to represent all bidders) or an array of bidders.")), !1); }(n, e)) { y[e] = !0; var r = n.all ? n.all : n[e], i = "*" === r.bidders ? [t] : r.bidders; return { embrace: operate embrace(e, t) { return !o()(e, t); }, exclude: operate exclude(e, t) { return o()(e, t); } }[r.filter || "include"](i, t); } } }, 44: operate _(e, t, n) { "use strict"; n.d(t, "a", operate () { return f; }); var S = n(0), A = n(3), E = n(37), r = n(23), i = n(91), o = n(2), a = n(12), O = n.n(a); operate T() { return (T = Object.assign || operate (e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) { Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]); } } return e; }).apply(this, arguments); } function I(e, t, n) { return t in e ?

for (var n = 0, r = new Array(t); n < t; n++) { r[n] = e[n]; } return r; } var j = n(0), w = n(5), _ = [], B = Object.keys(w.TARGETING_KEYS).map(function (e) { return w.TARGETING_KEYS[e]; }), u = function u(e) { return e.responseTimestamp + 1e3 * e.ttl + 1e3 > Object(S.timestamp)();
},
s = operate s(e) !e.standing);
;

operate U(e, r, t) {
var i = 2 < arguments.size && void 0 !== t ? t : 0, o = [], a = A.b.getConfig("sendBidsControl.dealPrioritization"), c = Object(S.groupBy)(e, "adUnitCode"); return Object.keys(c).forEach(operate (e) { var t = [], n = Object(S.groupBy)(c[e], "bidderCode"); Object.keys(n).forEach(operate (e) { return t.push(n[e].scale back(r)); }), 0 < i ? (t = a ? t.kind(x(!0)) : t.kind(operate (e, t) { return t.cpm - e.cpm; }), o.push.apply(o, C(t.slice(0, i)))) : o.push.apply(o, C(t)); }), o; } operate x(e) { var n = 0 < arguments.size && void 0 !== e && e; return operate (e, t) { return void 0 !== e.adserverTargeting.hb_deal && void 0 === t.adserverTargeting.hb_deal ? -1 : void 0 === e.adserverTargeting.hb_deal && void 0 !== t.adserverTargeting.hb_deal ? 1 : n ? t.cpm - e.cpm : t.adserverTargeting.hb_pb - e.adserverTargeting.hb_pb; }; } var R, okay, d, f = (R = r.a, d = {}, (okay = {}).setLatestAuctionForAdUnit = operate (e, t) { d[e] = t; }, okay.resetPresetTargeting = operate (e, t) { var n, i; Object(S.isGptPubadsDefined)() && (n = N(e), i = R.getAdModels().filter(operate (e) { return O()(n, e.code); }), window.googletag.pubads().getSlots().forEach(operate (n) { var r = j.isFn(t) && t(n); _.forEach(operate (t) { i.forEach(operate (e) j.isFn(r) && r(e.code)) && n.setTargeting(t, null); ); }); })); }, okay.resetPresetTargetingAST = operate (e) { N(e).forEach(operate (e) { var t, n, r = window.apntag.getTag(e); r && r.key phrases && (t = Object.keys(r.key phrases), n = {}, t.forEach(operate (e) (n[e] = r.key phrases[e]); ), window.apntag.modifyTag(e, { key phrases: n })); }); }, okay.getAllTargeting = operate (e) { var t, n, r, i, o, a, c, u, s, d, f = 1 < arguments.size && void 0 !== arguments[1] ? arguments[1] : P(), l = N(e), p = (c = l, u = f, s = okay.getWinningBids(c, u), d = q(), (s = s.map(operate (o) { return I({}, o.adUnitCode, Object.keys(o.adserverTargeting).filter(operate (e) -1 === d.indexOf(e); ).scale back(operate (e, t) { var n = [o.adserverTargeting[t]], r = I({}, t.substring(0, 20), n); if (t !== w.TARGETING_KEYS.DEAL) return [].concat(C(e), [r]); var i = I({}, "".concat(t, "_").concat(o.bidderCode).substring(0, 20), n); return [].concat(C(e), [r, i]); }, [])); })).concat((a = l, f.filter(operate (e) { return O()(a, e.adUnitCode); }).map(operate (e) { return T({}, e); }).scale back(M, []).map(G).filter(operate (e) { return e; }))).concat(A.b.getConfig("enableSendAllBids") ? (n = l, r = f, i = B.concat(E.a), o = A.b.getConfig("sendBidsControl.bidLimit"), U(r, S.getHighestCpm, o).map(operate (t) { if (D(t, n)) return I({}, t.adUnitCode, W(t, i.filter(operate (e) { return void 0 !== t.adserverTargeting[e]; }))); }).filter(operate (e) { return e; })) : operate (e, t) { if (!0 !== A.b.getConfig("targetingControls.alwaysIncludeDeals")) return []; var n = B.concat(E.a); return U(t, S.getHighestCpm).map(operate (t) { if (t.dealId && D(t, e)) return I({}, t.adUnitCode, W(t, n.filter(operate (e) { return void 0 !== t.adserverTargeting[e]; }))); }).filter(operate (e) { return e; }); }(l, f)).concat((t = l, R.getAdModels().filter(operate (e) { return O()(t, e.code) && g(e); }).map(operate (e) { return I({}, e.code, (t = g(e), Object.keys(t).map(operate (e) { return I({}, e, j.isArray(t[e]) ? t[e] : t[e].cut up(",")); }))); var t; })))); operate g(e) { return Object(S.deepAccess)(e, w.JSON_MAPPING.ADSERVER_TARGETING); } p.map(operate (t) { Object.keys(t).map(operate (e) { t[e].map(operate (e) { -1 === _.indexOf(Object.keys(e)[0]) && (_ = Object.keys(e).concat(_)); }); }); }); var b = A.b.getConfig("targetingControls.allowTargetingKeys"); Array.isArray(b) && 0 < b.size && (p = operate (e, r) { var i = T({}, w.TARGETING_KEYS, w.NATIVE_KEYS), o = Object.keys(i), a = {}; Object(S.logInfo)("permitTargetingKeys - allowed keys [ ".concat(r.map(function (e) { return i[e]; }).be part of("https://news.google.com/__i/rss/rd/articles/,"), " ]")), e.map(operate (e) { var t = Object.keys(e)[0], n = e[t].filter(operate (e) { var n = Object.keys(e)[0], t = 0 === o.filter(operate (e) { return 0 === n.indexOf(i[e]); }).size || r.discover(operate (e) { var t = i[e]; return 0 === n.indexOf(t); }); return a[n] = !t, t; }); e[t] = n; }); var t = Object.keys(a).filter(operate (e) { return a[e]; }); return Object(S.logInfo)("permitTargetingKeys - eliminated keys [ ".concat(t.join("https://news.google.com/__i/rss/rd/articles/,"), " ]")), e.filter(operate (e) { return 0 < e[Object.keys(e)[0]].size; }); }(p, b)), p = p.map(operate (e) { return I({}, Object.keys(e)[0], e[Object.keys(e)[0]].map(operate (e) { return I({}, Object.keys(e)[0], e[Object.keys(e)[0]].be part of("https://news.google.com/__i/rss/rd/articles/,")); }).scale back(operate (e, t) { return T(t, e); }, {})); }).scale back(operate (e, t) { var n = Object.keys(t)[0]; return e[n] = T({}, e[n], t[n]), e; }, {}); var v, y, h, m = A.b.getConfig("targetingControls.auctionKeyMaxChars"); return m && (Object(S.logInfo)("Detected 'targetingControls.auctionKeyMaxChars' was active for this auction; set with a limit of ".concat(m, " characters. Running checks on auction keys...")), v = p, y = m, h = Object(S.deepClone)(v), p = Object.keys(h).map(operate (e) { return { adUnitCode: e, adserverTargeting: h[e] }; }).kind(x()).scale back(operate (e, t, n, r) { var i, o = (i = t.adserverTargeting, Object.keys(i).scale back(operate (e, t) { return e + "".concat(t, "%3d").concat(encodeURIComponent(i[t]), "%26"); }, "")); n + 1 === r.size && (o = o.slice(0, -3)); var a = t.adUnitCode, c = o.size; return c <= y ? (y -= c, Object(S.logInfo)("AdUnit '".concat(a, "' auction keys comprised of ").concat(c, " characters. Deducted from running threshold; new limit is ").concat(y), h[a]), e[a] = h[a]) : Object(S.logWarn)("The following keys for adUnitCode '".concat(a, "' exceeded the current limit of the 'auctionKeyMaxChars' setting.nThe key-set size was ").concat(c, ", the current allotted amount was ").concat(y, ".n"), h[a]), n + 1 === r.size && 0 === Object.keys(e).size && Object(S.logError)("No auction targeting keys were permitted due to the setting in setConfig(targetingControls.auctionKeyMaxChars). Please review setup and consider adjusting."), e; }, {})), l.forEach(operate (e) { p[e] || (p[e] = {}); }), p; }, okay.setTargetingForGPT = operate (i, e) { window.googletag.pubads().getSlots().forEach(operate (r) { Object.keys(i).filter((e || Object(S.isAdUnitCodeMatchingSlot))(r)).forEach(operate (n) { return Object.keys(i[n]).forEach(operate (t) { var e = i[n][t]; "string" == typeof e && (e = e.cut up(",")), (e = 1 < e.size ? [e] : e).map(operate (e) { return j.logMessage("Attempting to set key value for slot: ".concat(r.getSlotElementId(), " key: ").concat(t, " value: ").concat(e)), e; }).forEach(operate (e) { r.setTargeting(t, e); }); }); }); }); }, okay.getWinningBids = operate (e) { var n = 1 < arguments.size && void 0 !== arguments[1] ? arguments[1] : P(), t = N(e); return n.filter(operate (e) { return O()(t, e.adUnitCode); }).filter(operate (e) { return 0 < e.cpm; }).map(operate (e) { return e.adUnitCode; }).filter(S.uniques).map(operate (t) { return n.filter(operate (e) { return e.adUnitCode === t ? e : null; }).scale back(S.getHighestCpm); }); }, okay.setTargetingForAst = operate (e) { var r = okay.getAllTargeting(e); strive { okay.resetPresetTargetingAST(e); } catch (e) { j.logError("unable to reset targeting for AST" + e); } Object.keys(r).forEach(operate (n) { return Object.keys(r[n]).forEach(operate (e) { var t; j.logMessage("Attempting to set targeting for targetId: ".concat(n, " key: ").concat(e, " value: ").concat(r[n][e])), (j.isStr(r[n][e]) || j.isArray(r[n][e])) && (t = {}, e.search(/pt[0-9]/) < 0 ? t[e.toUpperCase()] = r[n][e] : t[e] = r[n][e], window.apntag.setKeywords(n, t, { overrideKeyValue: !0 })); }); }); }, okay.isApntagDefined = operate () { if (window.apntag && j.isFn(window.apntag.setKeywords)) return !0; }, okay); operate D(e, t) operate N(e) operate P() { var e = R.getBidsReceived(); return A.b.getConfig("useBidCache") || (e = e.filter(operate (e) { return d[e.adUnitCode] === e.public saleId; })), U(e = e.filter(operate (e) { return Object(S.deepAccess)(e, "video.context") !== o.a; }).filter(operate (e) ).filter(s).filter(u), S.getOldestHighestCpmBid); } operate q() { return R.getStandardBidderAdServerTargeting().map(operate (e) { return e.key; }).concat(B).filter(S.uniques); } operate M(r, i, e, t) { return Object.keys(i.adserverTargeting).filter(l()).forEach(operate (e) { var t, n; r.size && r.filter((n = e, operate (e) { return e.adUnitCode === i.adUnitCode && e.adserverTargeting[n]; })).forEach((t = e, operate (e) )); }), r.push(i), r; } operate l() { var t = q().concat(E.a); return operate (e) { return -1 === t.indexOf(e); }; } operate G(t) { return I({}, t.adUnitCode, Object.keys(t.adserverTargeting).filter(l()).map(operate (e) { return I({}, e.substring(0, 20), [t.adserverTargeting[e]]); })); } operate W(t, e) { return e.map(operate (e) { return I({}, "".concat(e, "_").concat(t.bidderCode).substring(0, 20), [t.adserverTargeting[e]]); }); } }, 45: operate _(e, t, n) { "use strict"; n.d(t, "a", operate () { return d; }), n.d(t, "b", operate () { return h; }); var r = n(10), v = n.n(r), i = n(0), y = 2, o = { buckets: [{ max: 5, increment: .5 }] }, a = { buckets: [{ max: 20, increment: .1 }] }, c = { buckets: [{ max: 20, increment: .01 }] }, u = { buckets: [{ max: 3, increment: .01 }, { max: 8, increment: .05 }, { max: 20, increment: .5 }] }, s = { buckets: [{ max: 5, increment: .05 }, { max: 10, increment: .1 }, { max: 20, increment: .5 }] }; operate d(e, t) { var n = 2 < arguments.length && void 0 !== arguments[2] ? arguments[2] : 1, r = parseFloat(e); return isNaN(r) && (r = ""), { low: "" === r ? "" : f(e, o, n), med: "" === r ? "" : f(e, a, n), high: "" === r ? "" : f(e, c, n), auto: "" === r ? "" : f(e, s, n), dense: "" === r ? "" : f(e, u, n), custom: "" === r ? "" : f(e, t, n) }; } function f(n, e, r) { var i = ""; if (!h(e)) return i; var t, o, a, c, u, s, d, f, l, p = e.buckets.reduce(function (e, t) { return e.max > t.max ?
}, {
max: 0
}),
g = 0,
b = v()(e.buckets, operate (e) {
if (n > p.max * r) {
var t = e.precision;
void 0 === t && (t = y), i = (e.max * r).toFixed(t);
} Else {
if (n <= e.max * r && g * r <= n) return e.min = g, e; g = e.max; } }); return b && (t = n, a = r, c = void 0 !== (o = b).precision ? o.precision : y, u = o.increment * a, s = o.min * a, d = Math.pow(10, c + 2), f = (t * d - s * d) / (u * d), l = Math.ground(f) * u + s, i = (l = Number(l.toFixed(10))).toFixed(c)), i; } operate h(e) }, 46: operate _(e, t) { e.exports = operate (e, t) { return { enumerable: !(1 & e), configurable: !(2 & e), writable: !(4 & e), worth: t }; }; }, 47: operate _(e, t, n) { var r = n(70), i = n(49); e.exports = operate (e) { return r(i(e)); }; }, 48: operate _(e, t) { var n = {}.toString; e.exports = operate (e) { return n.name(e).slice(8, -1); }; }, 49: operate _(e, t) { e.exports = operate (e) { if (null == e) throw TypeError("Can't call method on " + e); return e; }; }, 498: operate _(e, t, n) { var r = n(499); e.exports = r; }, 499: operate _(e, t, n) { n(500); var r = n(42); e.exports = r.Number.isInteger; }, 5: operate _(e, t) { e.exports = { JSON_MAPPING: { PL_CODE: "code", PL_SIZE: "sizes", PL_BIDS: "bids", BD_BIDDER: "bidder", BD_ID: "paramsd", BD_PL_ID: "placementId", ADSERVER_TARGETING: "adserverTargeting", BD_SETTING_STANDARD: "standard" }, DEBUG_MODE: "pbjs_debug", STATUS: { GOOD: 1, NO_BID: 2 }, CB: { TYPE: { ALL_BIDS_BACK: "allRequestedBidsBack", AD_UNIT_BIDS_BACK: "adUnitBidsBack", BID_WON: "bidWon", REQUEST_BIDS: "requestBids" } }, EVENTS: { AUCTION_INIT: "auctionInit", AUCTION_END: "auctionEnd", BID_ADJUSTMENT: "bidAdjustment", BID_TIMEOUT: "bidTimeout", BID_REQUESTED: "bidRequested", BID_RESPONSE: "bidResponse", NO_BID: "noBid", BID_WON: "bidWon", BIDDER_DONE: "bidderDone", SET_TARGETING: "setTargeting", BEFORE_REQUEST_BIDS: "beforeRequestBids", REQUEST_BIDS: "requestBids", ADD_AD_UNITS: "addAdUnits", AD_RENDER_FAILED: "adRenderFailed", TCF2_ENFORCEMENT: "tcf2Enforcement", AUCTION_DEBUG: "auctionDebug" }, AD_RENDER_FAILED_REASON: { PREVENT_WRITING_ON_MAIN_DOCUMENT: "preventWritingOnMainDocuemnt", NO_AD: "noAd", EXCEPTION: "exception", CANNOT_FIND_AD: "cannotFindAd", MISSING_DOC_OR_ADID: "missingDocOrAdid" }, EVENT_ID_PATHS: { bidWon: "adUnitCode" }, GRANULARITY_OPTIONS: { LOW: "low", MEDIUM: "medium", HIGH: "high", AUTO: "auto", DENSE: "dense", CUSTOM: "custom" }, TARGETING_KEYS: { BIDDER: "hb_bidder", AD_ID: "hb_adid", PRICE_BUCKET: "hb_pb", SIZE: "hb_size", DEAL: "hb_deal", SOURCE: "hb_source", FORMAT: "hb_format", UUID: "hb_uuid", CACHE_ID: "hb_cache_id", CACHE_HOST: "hb_cache_host" }, NATIVE_KEYS: { title: "hb_native_title", physique: "hb_native_body", body2: "hb_native_body2", privatenessLink: "hb_native_privacy", privacyIcon: "hb_native_privicon", sponsoredBy: "hb_native_brand", picture: "hb_native_image", icon: "hb_native_icon", clickUrl: "hb_native_linkurl", displayUrl: "hb_native_displayurl", cta: "hb_native_cta", score: "hb_native_rating", handle: "hb_native_address", downloads: "hb_native_downloads", likes: "hb_native_likes", cellphone: "hb_native_phone", value: "hb_native_price", salePrice: "hb_native_saleprice" }, S2S: { SRC: "s2s", DEFAULT_ENDPOINT: "https://prebid.adnxs.com/pbs/v1/openrtb2/auction", SYNCED_BIDDERS_KEY: "pbjsSyncs" }, BID_STATUS: { BID_TARGETING_SET: "targetingSet", RENDERED: "rendered", BID_REJECTED: "bidRejected" } }; }, 50: operate _(e, t, n) { var r = n(58), i = Math.min; e.exports = operate (e) { return 0 < e ? i(r(e), 9007199254740991) : 0; }; }, 500: operate _(e, t, n) { n(14)({ goal: "Number", stat: !0 }, { isInteger: n(501) }); }, 501: operate _(e, t, n) { var r = n(25), i = Math.ground; e.exports = operate (e) { return !r(e) && isFinite(e) && i(e) === e; }; }, 51: operate _(e, t) { e.exports = operate () {}; }, 52: operate _(e, t, n) { var r = n(27); e.exports = r; }, 53: operate _(e, t) { e.exports = {}; }, 54: operate _(e, t, n) { var r, i, o, a, c, u, s, d, f = n(113), l = n(24), p = n(25), g = n(31), b = n(26), v = n(65), y = n(53), h = l.WeakMap; s = f ? (r = new h(), i = r.get, o = r.has, a = r.set, c = operate c(e, t) { return a.name(r, e, t), t; }, u = operate u(e) { return i.name(r, e) || {}; }, operate (e) { return o.name(r, e); }) : (y[d = v("state")] = !0, c = operate c(e, t) { return g(e, d, t), t; }, u = operate u(e) { return b(e, d) ? e[d] : {}; }, operate (e) { return b(e, d); }), e.exports = { set: c, get: u, has: s, implement: operate implement(e) { return s(e) ? u(e) : c(e, {}); }, getterFor: operate getterFor(n) { return operate (e) ; } }; }, 55: operate _(e, t, n) { var i = n(25); e.exports = operate (e, t) { if (!i(e)) return e; var n, r; if (t && "function" == typeof (n = e.toString) && !i(r = n.name(e))) return r; if ("function" == typeof (n = e.valueOf) && !i(r = n.name(e))) return r; if (!t && "function" == typeof (n = e.toString) && !i(r = n.name(e))) return r; throw TypeError("Can't convert object to primitive value"); }; }, 56: operate _(e, t, n) { operate r(p) { var g = 1 == p, b = 2 == p, v = 3 == p, y = 4 == p, h = 6 == p, m = 5 == p || h; return operate (e, t, n, r) { for (var i, o, a = E(e), c = A(a), u = S(t, n, 3), s = O(c.size), d = 0, f = r || T, l = g ? f(e, s) : b ? f(e, 0) : void 0; d < s; d++) { if ((m || d in c) && (o = u(i = c[d], d, a), p)) if (g) l[d] = o;else if (o) swap (p) { case 3: return !0; case 5: return i; case 6: return d; case 2: I.name(l, i); } else if (y) return !1; } return h ? -1 : v || y ? y : l; }; } var S = n(22), A = n(70), E = n(57), O = n(50), T = n(101), I = [].push; e.exports = { forEach: r(0), map: r(1), filter: r(2), some: r(3), each: r(4), discover: r(5), discoverIndex: r(6) }; }, 57: operate _(e, t, n) { var r = n(49); e.exports = operate (e) { return Object(r(e)); }; }, 58: operate _(e, t) { var n = Math.ceil, r = Math.ground; e.exports = operate (e) { return isNaN(e = +e) ? 0 : (0 < e ? r : n)(e); }; }, 59: operate _(e, t) { var n = 0, r = Math.random(); e.exports = operate (e) { return "Symbol(" + String(void 0 === e ? "" : e) + ")_" + (++n + r).toString(36); }; }, 60: operate _(e, t, n) { operate a(e) { throw e; } var c = n(29), u = n(30), s = n(26), d = Object.defineProperty, f = {}; e.exports = operate (e, t) { if (s(f, e)) return f[e]; var n = [][e], r = !!s(t = t || {}, "ACCESSORS") && t.ACCESSORS, i = s(t, 0) ? t[0] : a, o = s(t, 1) ? t[1] : void 0; return f[e] = !!n && !u(operate () { if (r && !c) return !0; var e = { size: -1 }; r ? d(e, 1, { enumerable: !0, get: a }) : e[1] = 1, n.name(e, i, o); }); }; }, 61: operate _(e, t, n) { var r = n(62), i = n(38), o = n(19)("iterator"); e.exports = operate (e) ; }, 62: operate _(e, t, n) { var r = n(63), i = n(48), o = n(19)("toStringTag"), a = "Arguments" == i(operate () { return arguments; }()); e.exports = r ? i : operate (e) { var t, n, r; return void 0 === e ? "Undefined" : null === e ? "Null" : "string" == typeof (n = operate (e, t) { strive { return e[t]; } catch (e) {} }(t = Object(e), o)) ? n : a ? i(t) : "Object" == (r = i(t)) && "function" == typeof t.callee ? "Arguments" : r; }; }, 63: operate _(e, t, n) { var r = {}; r[n(19)("toStringTag")] = "z", e.exports = "[object z]" === String(r); }, 64: operate _(e, t, n) { var o = n(63), a = n(33).f, c = n(31), u = n(26), s = n(112), d = n(19)("toStringTag"); e.exports = operate (e, t, n, r) { var i; e && (i = n ? e : e.prototype, u(i, d) || a(i, d, { configurable: !0, worth: t }), r && !o && c(i, "toString", s)); }; }, 65: operate _(e, t, n) { var r = n(73), i = n(59), o = r("keys"); e.exports = operate (e) (o[e] = i(e)); ; }, 66: operate _(e, t, n) { "use strict"; operate y() { return this; } var h = n(14), m = n(121), S = n(86), A = n(123), E = n(64), O = n(31), T = n(84), r = n(19), I = n(16), C = n(38), i = n(85), j = i.IteratorPrototype, w = i.BUGGY_SAFARI_ITERATORS, _ = r("iterator"), B = "values", U = "entries"; e.exports = operate (e, t, n, r, i, o, a) { m(n, t, r); operate c(e) { if (e === i && b) return b; if (!w && e in p) return p[e]; swap (e) { case "keys": case B: case U: return operate () { return new n(this, e); }; } return operate () { return new n(this); }; } var u, s, d, f = t + " Iterator", l = !1, p = e.prototype, g = p[_] || p["@@iterator"] || i && p[i], b = !w && g || c(i), v = "Array" == t && p.entries || g; if (v && (u = S(v.name(new e())), j !== Object.prototype && u.subsequent && (I || S(u) === j || (A ? A(u, j) : "function" != typeof u[_] && O(u, _, y)), E(u, f, !0, !0), I && (C[f] = y))), i == B && g && g.identify !== B && (l = !0, b = operate b() { return g.name(this); }), I && !a || p[_] === b || O(p, _, b), C[t] = b, i) if (s = { values: c(B), keys: o ? b : c("keys"), entries: c(U) }, a) for (d in s) else h(, s); return s; }; }, 67: operate _(e, t, n) { "use strict"; n.d(t, "a", operate () { return o; }); var r = n(0), c = {}; operate i(e, t, n) { var r, i, o, a = (i = n, o = c[r = e] = c[r] || { bidders: {} }, i ? o.bidders[i] = o.bidders[i] || {} : o); return a[t] = (a[t] || 0) + 1, a[t]; } var o = { incrementRequestsCounter: operate incrementRequestsCounter(e) { return i(e, "requestsCounter"); }, incrementBidderRequestsCounter: operate incrementBidderRequestsCounter(e, t) { return i(e, "requestsCounter", t); }, incrementBidderWinsCounter: operate incrementBidderWinsCounter(e, t) { return i(e, "winsCounter", t); }, getRequestsCounter: operate getRequestsCounter(e) 0; , getBidderRequestsCounter: operate getBidderRequestsCounter(e, t) , getBidderWinsCounter: operate getBidderWinsCounter(e, t) 0; }; }, 68: operate _(e, t, n) { "use strict"; Object.defineProperty(t, "__esModule", { worth: !0 }), n.d(t, "adUnitSetupChecks", operate () { return z; }), n.d(t, "checkAdUnitSetup", operate () { return V; }), t.executeCallbacks = J; var r = n(21), i = n(0), o = n(227), a = n(43), d = n(3), m = n(23), f = n(44), c = n(13), u = n(228), s = n(12), l = n.n(s), p = n(67), S = n(11), g = n(34), b = n(7); operate v(e) { return (v = "function" == typeof Symbol && "symbol" == _typeof(Symbol.iterator) ? operate (e) { return _typeof(e); } : operate (e) { return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : _typeof(e); })(e); } operate y() { return (y = Object.assign || operate (e) { for (var t = 1; t < arguments.size; t++) { var n = arguments[t]; for (var r in n) { Object.prototype.hasOwnProperty.name(n, r) && (e[r] = n[r]); } } return e; }).apply(this, arguments); } var h = Object(r.a)(), A = n(5), E = n(0), O = n(9).default, T = n(8), I = a.a.set offUserSyncs, C = A.EVENTS, j = C.ADD_AD_UNITS, w = C.BID_WON, _ = C.REQUEST_BIDS, B = C.SET_TARGETING, U = C.AD_RENDER_FAILED, x = A.AD_RENDER_FAILED_REASON, R = x.PREVENT_WRITING_ON_MAIN_DOCUMENT, okay = x.NO_AD, D = x.EXCEPTION, N = x.CANNOT_FIND_AD, P = x.MISSING_DOC_OR_ADID, q = { bidWon: operate bidWon(e) { var t = m.a.getBidsRequested().map(operate (e) { return e.bids.map(operate (e) { return e.adUnitCode; }); }).scale back(i.flatten).filter(i.uniques); return !!E.comprises(t, e) || void E.logError('The "' + e + '" placement is not outlined.'); } }; operate M(e, t, n) { e.defaultView && e.defaultView.bodyElement && (e.defaultView.bodyElement.width = t, e.defaultView.bodyElement.top = n); } operate G(e, t) { var n = []; return E.isArray(e) && (t ? e.size === t : 0 < e.size) && (e.each(operate (e) { return Object(i.isArrayOfNums)(e, 2); }) ? n = e : Object(i.isArrayOfNums)(e, 2) && n.push(e)), n; } operate W(e) { var t = E.deepClone(e), n = t.mediaTypes.banner, r = G(n.sizes); return 0 < r.size ? (n.sizes = r, t.sizes = r) : (E.logError("Detected a mediaTypes.banner object without a proper sizes field. Please ensure the sizes are listed like: [[300, 250], ...]. Removing invalid mediaTypes.banner object from request."), delete t.mediaTypes.banner), t; } operate L(e) { var t, n, r = E.deepClone(e), i = r.mediaTypes.video; return i.playerSize && (t = "number" == typeof i.playerSize[0] ? 2 : 1, 0 < (n = G(i.playerSize, t)).size ? (2 == t && E.logInfo("Transforming video.playerSize from [640,480] to [[640,480]] so it's in the proper format."), i.playerSize = n, r.sizes = n) : (E.logError("Detected incorrect configuration of mediaTypes.video.playerSize. Please specify only one set of dimensions in a format like: [[640, 480]]. Removing invalid mediaTypes.video.playerSize property from request."), delete r.mediaTypes.video.playerSize)), r; } operate F(e) { var t = E.deepClone(e), n = t.mediaTypes.native; return n.picture && n.picture.sizes && !Array.isArray(n.picture.sizes) && (E.logError("Please use an array of sizes for native.image.sizes field. Removing invalid mediaTypes.native.image.sizes property from request."), delete t.mediaTypes.native.picture.sizes), n.picture && n.picture.aspect_ratios && !Array.isArray(n.picture.aspect_ratios) && (E.logError("Please use an array of sizes for native.image.aspect_ratios field. Removing invalid mediaTypes.native.image.aspect_ratios property from request."), delete t.mediaTypes.native.picture.aspect_ratios), n.icon && n.icon.sizes && !Array.isArray(n.icon.sizes) && (E.logError("Please use an array of sizes for native.icon.sizes field. Removing invalid mediaTypes.native.icon.sizes property from request."), delete t.mediaTypes.native.icon.sizes), t; } Object(u.a)(), h.bidderSettings = h.bidderSettings || {}, h.libLoaded = !0, h.model = "v4.13.0", E.logInfo("Prebid.js v4.13.0 loaded"), h.adUnits = h.adUnits || [], h.set offUserSyncs = I; var z = { validateBannerMediaType: W, validateVideoMediaType: L, validateNativeMediaType: F, validateSizes: G }, V = Object(c.b)("sync", operate (e) { var c = []; return e.forEach(operate (e) { var t, n, r, i, o = e.mediaTypes, a = e.bids; a && E.isArray(a) ? o && 0 !== Object.keys(o).size ? (o.banner && (t = W(e)), o.video && (n = L(t || e)), o.native && (r = F(n || t || e)), i = y({}, t, n, r), c.push(i)) : E.logError("Detected adUnit.code '".concat(e.code, "' did not have a 'mediaTypes' object defined. This is a required field for the auction, so this adUnit has been removed.")) : E.logError("Detected adUnit.code '".concat(e.code, "' did not have 'adUnit.bids' defined or 'adUnit.bids' is not an array. Removing adUnit from auction.")); }), c; }, "checkAdUnitSetup"); operate H(e) { var n = m.a[e]().filter(E.bind.name(i.adUnitsFilter, this, m.a.getAdUnitCodes())), r = m.a.getLastAuctionId(); return n.map(operate (e) { return e.adUnitCode; }).filter(i.uniques).map(operate (t) { return n.filter(operate (e) { return e.public saleId === r && e.adUnitCode === t; }); }).filter(operate (e) { return e && e[0] && e[0].adUnitCode; }).map(operate (e) { return t = {}, n = e[0].adUnitCode, r = { bids: e }, n in t ? Object.defineProperty(t, n, { worth: r, enumerable: !0, configurable: !0, writable: !0 }) : t[n] = r, t; var t, n, r; }).scale back(operate (e, t) { return y(e, t); }, {}); } operate Okay(e) { var t = e.cause, n = e.message, r = e.bid, i = e.id, o = { cause: t, message: n }; r && (o.bid = r), i && (o.advertId = i), E.logError(n), T.emit(U, o); } operate J(e, t) { operate n(e) { for (var t; t = e.shift();) { t(); } } n(b.c), n(Y), e.name(this, t); } h.getAdserverTargetingForAdUnitCodeStr = operate (e) { if (E.logInfo("Invoking pbjs.getAdserverTargetingForAdUnitCodeStr", arguments), e) { var t = h.getAdserverTargetingForAdUnitCode(e); return E.remodelAdServerTargetingObj(t); } E.logMessage("Need to call getAdserverTargetingForAdUnitCodeStr with adunitCode"); }, h.getAdserverTargetingForAdUnitCode = operate (e) { return h.getAdserverTargeting(e)[e]; }, h.getAdserverTargeting = operate (e) { return E.logInfo("Invoking pbjs.getAdserverTargeting", arguments), f.a.getAllTargeting(e); }, h.getNoBids = operate () { return E.logInfo("Invoking pbjs.getNoBids", arguments), H("getNoBids"); }, h.getBidResponses = operate () { return E.logInfo("Invoking pbjs.getBidResponses", arguments), H("getBidsReceived"); }, h.getBidResponsesForAdUnitCode = operate (t) { return { bids: m.a.getBidsReceived().filter(operate (e) { return e.adUnitCode === t; }) }; }, h.setTargetingForGPTAsync = operate (e, t) { var n; E.logInfo("Invoking pbjs.setTargetingForGPTAsync", arguments), Object(i.isGptPubadsDefined)() ? (n = f.a.getAllTargeting(e), f.a.resetPresetTargeting(e, t), f.a.setTargetingForGPT(n, t), Object.keys(n).forEach(operate (t) { Object.keys(n[t]).forEach(operate (e) { "hb_adid" === e && m.a.setStatusForBids(n[t][e], A.BID_STATUS.BID_TARGETING_SET); }); }), T.emit(B, n)) : E.logError("window.googletag is not defined on the page"); }, h.setTargetingForAst = operate (e) { E.logInfo("Invoking pbjs.setTargetingForAn", arguments), f.a.isApntagDefined() ? (f.a.setTargetingForAst(e), T.emit(B, f.a.getAllTargeting())) : E.logError("window.apntag is not defined on the page"); }, h.renderAd = operate (e, t, n) { if (E.logInfo("Invoking pbjs.renderAd", arguments), E.logMessage("Calling renderAd with adId :" + t), e && t) strive { var r, i, o, a, c, u, s, d, f, l, p, g, b, v = m.a.discoverBidByAdId(t); v ? (v.advert = E.substituteAuctionValue(v.advert, v.cpm), v.adUrl = E.substituteAuctionValue(v.adUrl, v.cpm), n && n.clickThrough && (r = n.clickThrough, v.advert = E.substituteClickBy(v.advert, r), v.adUrl = E.substituteClickBy(v.adUrl, r)), m.a.addWinningBid(v), T.emit(w, v), i = v.top, o = v.width, a = v.advert, c = v.mediaType, u = v.adUrl, s = v.renderer, d = doc.createComment("Creative ".concat(v.inventiveId, " served by ").concat(v.bidder, " Prebid.js Header Bidding")), E.insertElement(d, e, "body"), Object(S.c)(s) ? Object(S.b)(s, v) : e === doc && !E.inIframe() || "video" === c ? (f = "Error trying to write ad. Ad render call ad id ".concat(t, " was prevented from writing to the main document."), Okay({ cause: R, message: f, bid: v, id: t })) : a ? (navigator.userAgent && -1 < navigator.userAgent.toLowerCase().indexOf("firefox/") && (l = navigator.userAgent.toLowerCase().match(/firefox/([d.]+)/)[1]) && parseInt(l, 10) < 67 && e.open("text/html"https://news.google.com/__i/rss/rd/articles/,"replace"), e.write(a), e.shut(), M(e, o, i), E.callBurl(v)) : u ? ((p = E.createInseenIframe()).top = i, p.width = o, p.model.show = "inline", p.model.overflow = "hidden", p.src = u, E.insertElement(p, e, "body"), M(e, o, i), E.callBurl(v)) : (g = "Error trying to write ad. No ad for bid response id: ".concat(t), Okay({ cause: okay, message: g, bid: v, id: t }))) : (b = "Error trying to write ad. Cannot find ad by given id : ".concat(t), Okay({ cause: N, message: b, id: t })); } catch (e) { var y = "Error trying to write ad Id :".concat(t, " to the page:").concat(e.message); Okay({ cause: D, message: y, id: t }); } else { var h = "Error trying to write ad Id :".concat(t, " to the page. Missing document or adId"); Okay({ cause: P, message: h, id: t }); } }, h.take awayAdUnit = operate (e) { E.logInfo("Invoking pbjs.removeAdUnit", arguments), e ? (E.isArray(e) ? e : [e]).forEach(operate (e) { for (var t = h.adUnits.size - 1; 0 <= t; t--) { h.adUnits[t].code === e && h.adUnits.splice(t, 1); } }) : h.adUnits = []; }, h.requestBids = Object(c.b)("async", operate () { var e = 0 < arguments.size && void 0 !== arguments[0] ? arguments[0] : {}, t = e.bidsBackHandler, n = e.timeout, r = e.adUnits, i = e.adUnitCodes, o = e.labels, a = e.public saleId; T.emit(_); var c = n || d.b.getConfig("bidderTimeout"), r = r || h.adUnits; if (E.logInfo("Invoking pbjs.requestBids", arguments), r = V(r), i && i.size ? r = r.filter(operate (e) { return l()(i, e.code); }) : i = r && r.map(operate (e) { return e.code; }), r.forEach(operate (i) { var o = Object.keys(i.mediaTypes || { banner: "banner" }), e = i.bids.map(operate (e) { return e.bidder; }), a = O.bidderRegistry, t = d.b.getConfig("s2sConfig"), n = t && t.bidders, r = n ? e.filter(operate (e) { return !l()(n, e); }) : e; i.transactionId = E.generateUUID(), r.forEach(operate (t) { var e = a[t], n = e && e.getSpec && e.getSpec(), r = n && n.supportedMediaTypes || ["banner"]; o.some(operate (e) { return l()(r, e); }) ? p.a.incrementBidderRequestsCounter(i.code, t) : (E.logWarn(E.unsupportedBidderMessage(i, t)), i.bids = i.bids.filter(operate (e) { return e.bidder !== t; })); }), p.a.incrementRequestsCounter(i.code); }), r && 0 !== r.size) { var u = m.a.createAuction({ adUnits: r, adUnitCodes: i, callback: t, cbTimeout: c, labels: o, public saleId: a }), s = r.size; 15 < s && E.logInfo("Current auction ".concat(u.getAuctionId(), " contains ").concat(s, " adUnits."), r), i.forEach(operate (e) { return f.a.setLatestAuctionForAdUnit(e, u.getAuctionId()); }), u.nameBids(); } else if (E.logMessage("No adUnits configured. No bids requested."), "function" == typeof t) strive { t(); } catch (e) { E.logError("Error executing bidsBackHandler", null, e); } }), h.requestBids.earlier than(J, 49), h.addAdModels = operate (e) { E.logInfo("Invoking pbjs.addAdUnits", arguments), E.isArray(e) ? h.adUnits.push.apply(h.adUnits, e) : "object" === v(e) && h.adUnits.push(e), T.emit(j); }, h.onEvent = operate (e, t, n) , h.offEvent = operate (e, t, n) , h.getEvents = operate () { return E.logInfo("Invoking pbjs.getEvents"), T.getEvents(); }, h.registerBidAdapter = operate (e, t) { E.logInfo("Invoking pbjs.registerBidAdapter", arguments); strive { O.registerBidAdapter(e(), t); } catch (e) { E.logError("Error registering bidder adapter : " + e.message); } }, h.registerAnalyticsAdapter = operate (e) { E.logInfo("Invoking pbjs.registerAnalyticsAdapter", arguments); strive { O.registerAnalyticsAdapter(e); } catch (e) { E.logError("Error registering analytics adapter : " + e.message); } }, h.createBid = operate (e) { return E.logInfo("Invoking pbjs.createBid", arguments), Object(g.a)(e); }; var Y = [], Q = Object(c.b)("async", operate (e) { e && !E.isEmpty(e) ? (E.logInfo("Invoking pbjs.enableAnalytics for: ", e), O.allowAnalytics(e)) : E.logError("pbjs.enableAnalytics should be called with option {}"); }, "enableAnalyticsCb"); operate $(e) { e.forEach(operate (e) { if (void 0 === e.known as) strive { e.name(), e.known as = !0; } catch (e) { E.logError("Error processing command :"https://news.google.com/__i/rss/rd/articles/,"prebid.js", e); } }); } h.allowAnalytics = operate (e) { Y.push(Q.bind(this, e)); }, h.aliasBidder = operate (e, t, n) { E.logInfo("Invoking pbjs.aliasBidder", arguments), e && t ? O.aliasBidAdapter(e, t, n) : E.logError("bidderCode and alias must be passed as arguments"https://news.google.com/__i/rss/rd/articles/,"pbjs.aliasBidder"); }, h.getAllSuccessfulBids = operate () { return m.a.getAllSuccessfulBids(); }, h.getAllPrebidSuccessfulBids = operate () { return m.a.getBidsReceived().filter(operate (e) { return e.standing === A.BID_STATUS.BID_TARGETING_SET; }); }, h.getHighestCpmBids = operate (e) { return f.a.getWinningBids(e); }, h.markWinningBidAsUsed = operate (t) { var e = []; t.adUnitCode && t.advertId ? e = m.a.getBidsReceived().filter(operate (e) { return e.advertId === t.advertId && e.adUnitCode === t.adUnitCode; }) : t.adUnitCode ? e = f.a.getWinningBids(t.adUnitCode) : t.advertId ? e = m.a.getBidsReceived().filter(operate (e) { return e.advertId === t.advertId; }) : E.logWarn("Improper use of markWinningBidAsUsed. It needs an adUnitCode or an adId to function."), 0 < e.size && (e[0].standing = A.BID_STATUS.RENDERED); }, h.getConfig = d.b.getConfig, h.setConfig = d.b.setConfig, h.setBidderConfig = d.b.setBidderConfig, h.que.push(operate () { return Object(o.a)(); }), h.cmd.push = operate (e) { if ("function" == typeof e) strive { e.name(); } catch (e) { E.logError("Error processing command :", e.message, e.stack); } else E.logError("Commands written into pbjs.cmd.push must be wrapped in a function"); }, h.que.push = h.cmd.push, h.processQueue = operate () { c.b.prepared(), $(h.que), $(h.cmd); }, t.default = h; }, 69: operate _(e, t, n) { "use strict"; t.a = operate (t, n) { o.advertServers = o.advertServers || {}, o.advertServers[t] = o.advertServers[t] || {}, Object.keys(n).forEach(operate (e) { o.advertServers[t][e] ? Object(i.logWarn)("Attempting to add an already registered function property ".concat(e, " for AdServer ").concat(t, ".")) : o.advertServers[t][e] = n[e]; }); }; var r = n(21), i = n(0), o = Object(r.a)(); }, 7: operate _(e, t, n) { "use strict"; n.d(t, "c", operate () { return l; }), n.d(t, "d", operate () { return p; }), t.a = operate (e) { return o({ moduleName: e, moduleType: "core" }); }, t.b = operate (e, t) { return o({ gvlid: e, moduleName: t }); }; var r = n(13), u = n(0), i = n(12), d = n.n(i), f = ["core"https://news.google.com/__i/rss/rd/articles/,"prebid-module"], l = []; operate o(e) { var t = 0 < arguments.size && void 0 !== e ? e : {}, i = t.gvlid, o = t.moduleName, a = t.moduleType; operate s(n) { if (d()(f, a)) { return n({ legitimate: !0 }); } var r; return p(i, o, { hasEnforcementHook: !1 }, operate (e) { var t; r = e && e.hasEnforcementHook ? n(e) : (t = { hasEnforcementHook: !1, legitimate: u.hasDeviceAccess() }, n(t)); }), r; } var c = operate c(t) { operate n(e) { if (e && e.legitimate) strive { return !!window.localStorage; } catch (e) { u.logError("Local storage api disabled"); } return !1; } if (!t || "function" != typeof t) return s(n); l.push(operate () { var e = s(n); t(e); }); }; return { setCookie: operate setCookie(i, o, a, c, u, t) { operate n(e) { var t, n, r; e && e.legitimate && (t = u && "" !== u ? " ;domain=".concat(encodeURIComponent(u)) : "", n = a && "" !== a ? " ;expires=".concat(a) : "", r = null != c && "none" == c.toLowerCase() ? "; Secure" : "", doc.cookie = "".concat(i, "=").concat(encodeURIComponent(o)).concat(n, "; path=/").concat(t).concat(c ? "; SameSite=".concat(c) : "").concat(r)); } if (!t || "function" != typeof t) return s(n); l.push(operate () { var e = s(n); t(e); }); }, getCookie: operate getCookie(n, t) { operate r(e) { if (e && e.legitimate) ;)s*" + n + "s*=s*([^;]*)s*(; return null; } if (!t || "function" != typeof t) return s(r); l.push(operate () { var e = s(r); t(e); }); }, localStorageIsEnabled: operate localStorageIsEnabled(t) { operate n(e) { if (e && e.legitimate) strive { return localStorage.setItem("prebid.cookieTest"https://news.google.com/__i/rss/rd/articles/,"1"), "1" === localStorage.getItem("prebid.cookieTest"); } catch (e) {} return !1; } if (!t || "function" != typeof t) return s(n); l.push(operate () { var e = s(n); t(e); }); }, cookiesAreEnabled: operate cookiesAreEnabled(t) { operate n(e) if (!t || "function" != typeof t) return s(n); l.push(operate () { var e = s(n); t(e); }); }, setDataInLocalStorage: operate setDataInLocalStorage(t, n, r) { operate i(e) { e && e.legitimate && c() && window.localStorage.setItem(t, n); } if (!r || "function" != typeof r) return s(i); l.push(operate () { var e = s(i); r(e); }); }, getDataFromLocalStorage: operate getDataFromLocalStorage(t, n) { operate r(e) { return e && e.legitimate && c() ? window.localStorage.getItem(t) : null; } if (!n || "function" != typeof n) return s(r); l.push(operate () { var e = s(r); n(e); }); }, removeDataFromLocalStorage: operate removeDataFromLocalStorage(t, n) { operate r(e) { e && e.legitimate && c() && window.localStorage.take awayItem(t); } if (!n || "function" != typeof n) return s(r); l.push(operate () { var e = s(r); n(e); }); }, hasLocalStorage: c, findSimilarCookies: operate findSimilarCookies(o, t) { operate n(e) { if (e && e.legitimate) { var t = []; if (u.hasDeviceAccess()) for (var n = doc.cookie.cut up(";"); n.size;) { var r = n.pop(), i = (i = r.indexOf("=")) < 0 ? r.size : i; 0 <= decodeURIComponent(r.slice(0, i).substitute(/^s+/, "")).indexOf(o) && t.push(decodeURIComponent(r.slice(i + 1))); } return t; } } if (!t || "function" != typeof t) return s(n); l.push(operate () { var e = s(n); t(e); }); } }; } var p = Object(r.b)("async", operate (e, t, n, r) { r(n); }, "validateStorageEnforcement"); }, 70: operate _(e, t, n) { var r = n(30), i = n(48), o = "".cut up; e.exports = r(operate () { return !Object("z").propertyIsEnumerable(0); }) ? operate (e) { return "String" == i(e) ? o.name(e, "") : Object(e); } : Object; }, 71: operate _(e, t, n) { var r = n(29), i = n(30), o = n(72); e.exports = !r && !i(operate () { return 7 != Object.defineProperty(o("div"), "a", { get: operate get() { return 7; } }).a; }); }, 72: operate _(e, t, n) { var r = n(24), i = n(25), o = r.doc, a = i(o) && i(o.createElement); e.exports = operate (e) { return a ? o.createElement(e) : {}; }; }, 73: operate _(e, t, n) { var r = n(16), i = n(74); (e.exports = operate (e, t) { return i[e] || (i[e] = void 0 !== t ? t : {}); })("versions", []).push({ model: "3.6.4", mode: r ? "pure" : "global", copyright: "© 2020 Denis Pushkarev (zloirock.ru)" }); }, 74: operate _(e, t, n) { var r = n(24), i = n(103), o = "__core-js_shared__", a = r[o] || i(o, {}); e.exports = a; }, 75: operate _(e, t, n) { var r = n(30); e.exports = !!Object.getOwnPropertySymbols && !r(operate () { return !String(Symbol()); }); }, 76: operate _(e, t, n) { operate r(c) { return operate (e, t, n) { var r, i = u(e), o = s(i.size), a = d(n, o); if (c && t != t) { for (; a < o;) { if ((r = i[a++]) != r) return !0; } } else for (; a < o; a++) 0; return !c && -1; }; } var u = n(47), s = n(50), d = n(107); e.exports = { consists of: r(!0), indexOf: r(!1) }; }, 77: operate _(e, t, n) { var r = n(108); n(131), n(133), n(135), n(137), n(139), n(140), n(141), n(142), n(143), n(144), n(145), n(146), n(147), n(148), n(149), n(150), n(151), n(152), e.exports = r; }, 78: operate _(e, t, n) { operate r(e) { c(e, d, { worth: { objectID: "O" + ++f, weakData: {} } }); } var i = n(53), o = n(25), a = n(26), c = n(33).f, u = n(59), s = n(111), d = u("meta"), f = 0, l = Object.isExtensible || operate () { return !0; }, p = e.exports = { REQUIRED: !1, fastKey: operate fastKey(e, t) { if (!o(e)) return "symbol" == _typeof(e) ? e : ("string" == typeof e ? "S" : "P") + e; if (!a(e, d)) { if (!l(e)) return "F"; if (!t) return "E"; r(e); } return e[d].objectID; }, getWeakInformation: operate getWeakInformation(e, t) { if (!a(e, d)) { if (!l(e)) return !0; if (!t) return !1; r(e); } return e[d].weakData; }, onFreeze: operate onFreeze(e) { return s && p.REQUIRED && l(e) && !a(e, d) && r(e), e; } }; i[d] = !0; }, 79: operate _(e, t, n) { var r = n(19), i = n(38), o = r("iterator"), a = Array.prototype; e.exports = operate (e) a[o] === e); ; }, 8: operate _(e, t, n) { operate r() { return (r = Object.assign || operate (e) { for (var t = 1; t < arguments.size; t++) { var n = arguments[t]; for (var r in n) { Object.prototype.hasOwnProperty.name(n, r) && (e[r] = n[r]); } } return e; }).apply(this, arguments); } var c, i, u = n(0), o = n(5), a = Array.prototype.slice, s = Array.prototype.push, d = u._map(o.EVENTS, operate (e) { return e; }), f = o.EVENT_ID_PATHS, l = []; e.exports = (c = {}, (i = {}).on = operate (e, t, n) { var r, i; i = e, u.comprises(d, i) ? (r = c[e] || { que: [] }, n ? (r[n] = r[n] || { que: [] }, r[n].que.push(t)) : r.que.push(t), c[e] = r) : u.logError("Wrong event name : " + e + " Valid event names :" + d); }, i.emit = operate (e) { !operate (e, t) { u.logMessage("Emitting event for: " + e); var n = t[0] || {}, r = n[f[e]], i = c[e] || { que: [] }, o = u._map(i, operate (e, t) { return t; }), a = []; l.push({ occasionType: e, args: n, id: r }), r && u.comprises(o, r) && s.apply(a, i[r].que), s.apply(a, i.que), u._each(a, operate (e) { if (e) strive { e.apply(null, t); } catch (e) { u.logError("Error executing handler:"https://news.google.com/__i/rss/rd/articles/,"events.js", e); } }); }(e, a.name(arguments, 1)); }, i.off = operate (e, n, r) { var i = c[e]; u.isEmpty(i) || u.isEmpty(i.que) && u.isEmpty(i[r]) || r && (u.isEmpty(i[r]) || u.isEmpty(i[r].que)) || (r ? u._each(i[r].que, operate (e) { var t = i[r].que; e === n && t.splice(t.indexOf(e), 1); }) : u._each(i.que, operate (e) { var t = i.que; e === n && t.splice(t.indexOf(e), 1); }), c[e] = i); }, i.get = operate () { return c; }, i.getEvents = operate () { var n = []; return u._each(l, operate (e) { var t = r({}, e); n.push(t); }), n; }, i); }, 80: operate _(e, t, n) { var o = n(15); e.exports = operate (t, e, n, r) { strive { return r ? e(o(n)[0], n[1]) : e(n); } catch (e) { var i = t.return; throw (void 0 !== i && o(i.name(t)), e); } }; }, 81: operate _(e, t) { e.exports = operate (e, t, n) { if (!(e instanceof t)) throw TypeError("Incorrect " + (n ? n + " " : "") + "invocation"); return e; }; }, 82: operate _(e, t, n) { operate r() {} operate i(e) { return "'); } operate striveGetCriteoFastBid() { strive { var quickBidStorageKey = "criteo_fast_bid", hashPrefix = "// Hash: ", quickBidFromStorage = storage.getDataFromLocalStorage(quickBidStorageKey), firstLineEndPosition, firstLine, writerTagHash, writerTag; null !== quickBidFromStorage && (firstLineEndPosition = quickBidFromStorage.indexOf("n"), firstLine = quickBidFromStorage.substr(0, firstLineEndPosition).trim(), firstLine.substr(0, hashPrefix.size) !== hashPrefix ? (__WEBPACK_IMPORTED_MODULE_4__src_utils_js__.logWarn("No hash found in FastBid"), storage.removeDataFromLocalStorage(quickBidStorageKey)) : (writerTagHash = firstLine.substr(hashPrefix.size), writerTag = quickBidFromStorage.substr(firstLineEndPosition + 1), Object(__WEBPACK_IMPORTED_MODULE_6_criteo_direct_rsa_validate_build_verify_js__.confirm)(writerTag, writerTagHash, FAST_BID_PUBKEY_N, FAST_BID_PUBKEY_E) ? (__WEBPACK_IMPORTED_MODULE_4__src_utils_js__.logInfo("Using Criteo FastBid"), eval(writerTag)) : (__WEBPACK_IMPORTED_MODULE_4__src_utils_js__.logWarn("Invalid Criteo FastBid found"), storage.removeDataFromLocalStorage(quickBidStorageKey)))); } catch (t) {} } Object(__WEBPACK_IMPORTED_MODULE_1__src_adapters_bidderFactory_js__.registerBidder)(spec); }, 377: operate _(t, e, r) { "use strict"; Object.defineProperty(e, "__esModule", { worth: !0 }); var a = r(378), n = r(379); e.confirm = operate (t, e, r, i) { var s = new a.LargeInteger(a.b64toHex(e)), o = new a.LargeInteger(a.b64toHex(r)), _ = s.modPowInt(i, o); return a.removeExtraSymbols(_.toHexString()) === n.Sha256.hash(t); }; }, 378: operate _(t, e, r) { "use strict"; var i; Object.defineProperty(e, "__esModule", { worth: !0 }); var s = (T.prototype.toHexString = operate () { if (this.s < 0) return "-" + this.negate().toHexString(); var t, e = !1, r = "", i = this.t, s = this.DB - i * this.DB % 4; if (0 < i--) for (s < this.DB && 0 < (t = this[i] >> s) && (e = !0, r = c(t)); 0 <= i;) = this[--i] >> (s += this.DB – 4)) : (t = this[i] >> (s -= 4) & 15, s <= 0 && (s += this.DB, --i)), 0 < t && (e = !0), e && (r += c(t)); return e ?

this.clamp(), r && T.ZERO.subTo(this, this);
}
}, T.prototype.negate = operate () {
var t = b();
return T.ZERO.subTo(this, t), t;
}, T.prototype.abs = operate () {
return this.s < 0 ? this.negate() : this; }, T.prototype.mod = operate (t) { var e = b(); return this.abs().divRemTo(t, null, e), this.s < 0 && 0 < e.evaluateTo(T.ZERO) && t.subTo(e, e), e; }, T.prototype.copyTo = operate (t) { for (var e = this.t - 1; 0 <= e; --e) { t[e] = this[e]; } t.t = this.t, t.s = this.s; }, T.prototype.lShiftTo = operate (t, e) { for (var r = t % this.DB, i = this.DB - r, s = (1 << i) - 1, o = Math.ground(t / this.DB), _ = this.s << r & this.DM, a = this.t - 1; 0 <= a; --a) _, _ = (this[a] & s) << r; for (a = o - 1; 0 <= a; --a) { e[a] = 0; } e[o] = _, e.t = this.t + o + 1, e.s = this.s, e.clamp(); }, T.prototype.invDigit = operate () { if (this.t < 1) return 0; var t = this[0]; if (0 == (1 & t)) return 0; var e = 3 & t; return 0 < (e = (e = (e = (e = e * (2 - (15 & t) * e) & 15) * (2 - (255 & t) * e) & 255) * (2 - ((65535 & t) * e & 65535)) & 65535) * (2 - t * e % this.DV) % this.DV) ? this.DV - e : -e; }, T.prototype.dlShiftTo = operate (t, e) { for (var r = this.t - 1; 0 <= r; --r) { e[r + t] = this[r]; } for (r = t - 1; 0 <= r; --r) { e[r] = 0; } e.t = this.t + t, e.s = this.s; }, T.prototype.sq.To = operate (t) { for (var e = this.abs(), r = t.t = 2 * e.t; 0 <= --r;) { t[r] = 0; } for (r = 0; r < e.t - 1; ++r) { var i = e.am(r, e[r], t, 2 * r, 0, 1); (t[r + e.t] += e.am(r + 1, 2 * e[r], t, 2 * r + 1, i, e.t - r - 1)) >= e.DV && (t[r + e.t] -= e.DV, t[r + e.t + 1] = 1);
}

0 < t.t && (t[t.t - 1] += e.am(r, e[r], t, 2 * r, 0, 1)), t.s = 0, t.clamp(); }, T.prototype.multiplyTo = operate (t, e) { var r = this.abs(), i = t.abs(), s = r.t; for (e.t = s + i.t; 0 <= --s;) { e[s] = 0; } for (s = 0; s < i.t; ++s) { e[s + r.t] = r.am(0, i[s], e, s, 0, r.t); } e.s = 0, e.clamp(), this.s != t.s && T.ZERO.subTo(e, e); }, T.prototype.divRemTo = operate (t, e, r) { var i = t.abs(); if (!(i.t <= 0)) { var s = this.abs(); if (s.t < i.t) return null != e && e.fromHexString("0"), void (null != r && this.copyTo(r)); null == r && (r = b()); var o = b(), _ = this.s, a = t.s, n = this.DB - D(i[i.t - 1]); 0 < n ? (i.lShiftTo(n, o), s.lShiftTo(n, r)) : (i.copyTo(o), s.copyTo(r)); var p = o.t, c = o[p - 1]; if (0 != c) { var d = c * (1 << this.F1) + (1 < p ? o[p - 2] >> this.F2 : 0),
u = this.FV / d,
h = (1 << this.F1) / d, l = 1 << this.F2, f = r.t, E = f - p, v = null == e ? b() : e; for (o.dlShiftTo(E, v), 0 <= r.evaluateTo(v) && (r[r.t++] = 1, r.subTo(v, r)), T.ONE.dlShiftTo(p, v), v.subTo(o, o); o.t < p;) { o[o.t++] = 0; } for (; 0 <= --E;) { var m = r[--f] == c ? this.DM : Math.ground(r[f] * u + (r[f - 1] + l) * h); if ((r[f] += o.am(0, m, r, E, 0, p)) < m) for (o.dlShiftTo(E, v), r.subTo(v, r); r[f] < --m;) { r.subTo(v, r); } } null != e && (r.drShiftTo(p, e), _ != a && T.ZERO.subTo(e, e)), r.t = p, r.clamp(), 0 < n && r.rShiftTo(n, r), _ < 0 && T.ZERO.subTo(r, r); } } }, T.prototype.rShiftTo = function (t, e) { e.s = this.s; var r = Math.floor(t / this.DB); if (r >= this.t) e.t = 0;else = (this.s & o) << s), e.t = this.t - r, e.clamp(); }, T.prototype.drShiftTo = operate (t, e) { for (var r = t; r < this.t; ++r) { e[r - t] = this[r]; } e.t = Math.max(this.t - t, 0), e.s = this.s; }, T.prototype.subTo = operate (t, e) { for (var r = 0, i = 0, s = Math.min(t.t, this.t); r < s;) { i += this[r] - t[r], e[r++] = i & this.DM, i >>= this.DB;
}

if (t.t < this.t) { for (i -= t.s; r < this.t;) { i += this[r], e[r++] = i & this.DM, i >>= this.DB;
}

i += this.s;
} Else {
for (i += this.s; r < t.t;) { i -= t[r], e[r++] = i & this.DM, i >>= this.DB;
}

i -= t.s;
}

e.s = i < 0 ? -1 : 0, i < -1 ? e[r++] = this.DV + i : 0 < i && (e[r++] = i), e.t = r, e.clamp(); }, T.prototype.clamp = operate () { for (var t = this.s & this.DM; 0 < this.t && this[this.t - 1] == t;) { --this.t; } }, T.prototype.modPowInt = operate (t, e) e.isEven() ? d : h)(e); return this.exp(t, r); , T.prototype.exp = operate (t, e) { if (4294967295 < t || t < 1) return T.ONE; var r, i = b(), s = b(), o = e.convert(this), _ = D(t) - 1; for (o.copyTo(i); 0 <= --_;) { e.sqrTo(i, s), 0 < (t & 1 << _) ? e.mulTo(s, o, i) : (r = i, i = s, s = r); } return e.revert(i); }, T.prototype.isEven = operate () { return 0 == (0 < this.t ? 1 & this[0] : this.s); }, T.prototype.evaluateTo = operate (t) { var e = this.s - t.s; if (0 != e) return e; var r = this.t; if (0 != (e = r - t.t)) return this.s < 0 ? -e : e; for (; 0 <= --r;) { if (0 != (e = this[r] - t[r])) return e; } return 0; }, T.prototype.am1 = operate (t, e, r, i, s, o) { for (; 0 <= --o;) { var _ = e * this[t++] + r[i] + s; s = Math.floor(_ / 67108864), r[i++] = 67108863 & _; } return s; }, T.prototype.am2 = function (t, e, r, i, s, o) { for (var _ = 32767 & e, a = e >> 15; 0 <= --o;) { var n = 32767 & this[t], p = this[t++] >> 15,
c = a * n + p * _;
s = ((n = _ * n + ((32767 & c) << 15) + r[i] + (1073741823 & s)) >>> 30) + (c >>> 15) + a * p + (s >>> 30), r[i++] = 1073741823 & n;
}

return s;
}, T.prototype.am3 = operate (t, e, r, i, s, o) {
for (var _ = 16383 & e, a = e >> 14; 0 <= --o;) { var n = 16383 & this[t], p = this[t++] >> 14,
c = a * n + p * _;
s = ((n = _ * n + ((16383 & c) << 14) + r[i] + s) >> 28) + (c >> 14) + a * p, r[i++] = 268435455 & n;
}

return s;
}, T);

operate T(t) {
null !== t && this.fromHexString(t);
}

operate b() {
return new s(null);
}

operate D(t) {
var e,
r = 1;
return 0 != (e = t >>> 16) && (t = e, r += 16), 0 != (e = t >> 8) && (t = e, r += 8), 0 != (e = t >> 4) && (t = e, r += 4), 0 != (e = t >> 2) && (t = e, r += 2), 0 != (e = t >> 1) && (t = e, r += 1), r;
}

e.LargeInteger = s, e.nbi = b, e.nbits = D;

for (var o = [], _ = “0”.charCodeAt(0), a = 0; a <= 9; ++a) { o[_++] = a; } for (_ = "a".charCodeAt(0), a = 10; a < 36; ++a) { o[_++] = a; } for (_ = "A".charCodeAt(0), a = 10; a < 36; ++a) { o[_++] = a; } operate n(t, e) { var r = o[t.charCodeAt(e)]; return null == r ? -1 : r; } e.intAt = n; var p = "0123456789abcdefghijklmnopqrstuvwxyz"; operate c(t) { return p.charAt(t); } e.int2char = c; e.b64toHex = operate (t) { for (var e = "", r = 0, i = 0, s = 0; s < t.size && "=" != t.charAt(s); ++s) o >> 4), e += c(15 & o), 0));

return 1 == r && (e += c(i << 2)), e; }, e.removeExtraSymbols = operate (t) { return t.substitute(/^1f+00/, "").substitute("3031300d060960864801650304020105000420"https://news.google.com/__i/rss/rd/articles/,""); }; var d = (u.prototype.convert = operate (t) 0 <= t.evaluateTo(this.m) ? t.mod(this.m) : t; , u.prototype.revert = operate (t) { return t; }, u.prototype.scale back = operate (t) { t.divRemTo(this.m, null, t); }, u.prototype.mulTo = operate (t, e, r) { t.multiplyTo(e, r), this.scale back(r); }, u.prototype.sqrTo = operate (t, e) { t.sq.To(e), this.scale back(e); }, u); operate u(t) { this.m = t; } var h = (l.prototype.convert = operate (t) { var e = b(); return t.abs().dlShiftTo(this.m.t, e), e.divRemTo(this.m, null, e), t.s < 0 && 0 < e.evaluateTo(s.ZERO) && this.m.subTo(e, e), e; }, l.prototype.revert = operate (t) { var e = b(); return t.copyTo(e), this.scale back(e), e; }, l.prototype.scale back = operate (t) { for (; t.t <= this.mt2;) { t[t.t++] = 0; } for (var e = 0; e < this.m.t; ++e) { var r = 32767 & t[e], i = r * this.mpl + ((r * this.mph + (t[e] >> 15) * this.mpl & this.um) << 15) & t.DM; for (t[r = e + this.m.t] += this.m.am(0, i, t, e, 0, this.m.t); t[r] >= t.DV;) {
t[r] -= t.DV, t[++r]++;
}
}

t.clamp(), t.drShiftTo(this.m.t, t), 0 <= t.compareTo(this.m) && t.subTo(this.m, t); }, l.prototype.mulTo = function (t, e, r) { t.multiplyTo(e, r), this.reduce(r); }, l.prototype.sqrTo = function (t, e) { t.squareTo(e), this.reduce(e); }, l); function l(t) { this.m = t, this.mp = t.invDigit(), this.mpl = 32767 & this.mp, this.mph = this.mp >> 15, this.um = (1 << t.DB - 15) - 1, this.mt2 = 2 * t.t; } operate f(t) { var e = b(); return e.fromHexString(t.toString()), e; } e.nbv = f, s.ZERO = f(0), s.ONE = f(1), i = "Microsoft Internet Explorer" == navigator.appName ? (s.prototype.am = s.prototype.am2, 30) : "Netscape" != navigator.appName ? (s.prototype.am = s.prototype.am1, 26) : (s.prototype.am = s.prototype.am3, 28), s.prototype.DB = i, s.prototype.DM = (1 << i) - 1, s.prototype.DV = 1 << i; s.prototype.FV = Math.pow(2, 52), s.prototype.F1 = 52 - i, s.prototype.F2 = 2 * i - 52; }, 379: operate _(t, e, r) { "use strict"; Object.defineProperty(e, "__esModule", { worth: !0 }); var i = (y.hash = operate (t) { t = y.utf8Encode(t || ""); for (var e = [1116352408, 1899447441, 3049323471, 3921009573, 961987163, 1508970993, 2453635748, 2870763221, 3624381080, 310598401, 607225278, 1426881987, 1925078388, 2162078206, 2614888103, 3248222580, 3835390401, 4022224774, 264347078, 604807628, 770255983, 1249150122, 1555081692, 1996064986, 2554220882, 2821834349, 2952996808, 3210313671, 3336571891, 3584528711, 113926993, 338241895, 666307205, 773529912, 1294757372, 1396182291, 1695183700, 1986661051, 2177026350, 2456956037, 2730485921, 2820302411, 3259730800, 3345764771, 3516065817, 3600352804, 4094571909, 275423344, 430227734, 506948616, 659060556, 883997877, 958139571, 1322822218, 1537002063, 1747873779, 1955562222, 2024104815, 2227730452, 2361852424, 2428436474, 2756734187, 3204031479, 3329325298], r = [1779033703, 3144134277, 1013904242, 2773480762, 1359893119, 2600822924, 528734635, 1541459225], i = (t += String.fromCharCode(128)).size / 4 + 2, s = Math.ceil(i / 16), o = new Array(s), _ = 0; _ < s; _++) { o[_] = new Array(16); for (var a = 0; a < 16; a++) t.charCodeAt(64 * _ + 4 * a + 2) << 8 } var n = 8 * (t.length - 1) / Math.pow(2, 32), p = 8 * (t.length - 1) >>> 0;

for (o[s – 1][14] = Math.ground(n), o[s – 1][15] = p, _ = 0; _ < s; _++) { for (var c = new Array(64), d = 0; d < 16; d++) { c[d] = o[_][d]; } for (d = 16; d < 64; d++) { c[d] = y.q1(c[d - 2]) + c[d - 7] + y.q0(c[d - 15]) + c[d - 16] >>> 0;
}

for (var u = r[0], h = r[1], l = r[2], f = r[3], E = r[4], v = r[5], m = r[6], T = r[7], d = 0; d < 64; d++) { var b = T + y.z1(E) + y.Ch(E, v, m) + e[d] + c[d], D = y.z0(u) + y.Maj(u, h, l); T = m, m = v, v = E, E = f + b >>> 0, f = l, l = h, h = u, u = b + D >>> 0;
}

r[0] = r[0] + u >>> 0, r[1] = r[1] + h >>> 0, r[2] = r[2] + l >>> 0, r[3] = r[3] + f >>> 0, r[4] = r[4] + E >>> 0, r[5] = r[5] + v >>> 0, r[6] = r[6] + m >>> 0, r[7] = r[7] + T >>> 0;
}

for (var P = new Array(r.size), T = 0; T < r.length; T++) { P[T] = ("00000000" + r[T].toString(16)).slice(-8); } return P.join(""); }, y.utf8Encode = function (e) { try { return new TextEncoder().encode(e).reduce(function (t, e) { return t + String.fromCharCode(e); }, ""); } catch (t) { return unescape(encodeURIComponent(e)); } }, y.ROTR = function (t, e) e << 32 - t; , y.z0 = function (t) { return y.ROTR(2, t) ^ y.ROTR(13, t) ^ y.ROTR(22, t); }, y.z1 = function (t) { return y.ROTR(6, t) ^ y.ROTR(11, t) ^ y.ROTR(25, t); }, y.q0 = function (t) { return y.ROTR(7, t) ^ y.ROTR(18, t) ^ t >>> 3;
}, y.q1 = operate (t) {
return y.ROTR(17, t) ^ y.ROTR(19, t) ^ t >>> 10;
}, y.Ch = operate (t, e, r) {
return t & e ^ ~t & r;
}, y.Maj = operate (t, e, r) {
return t & e ^ t & r ^ e & r;
}, y);

operate y() {}

e.Sha256 = i;
}
}, [375]);
pbjsChunk([214], {
496: operate _(e, r, i) {
e.exports = i(497);
},
497: operate _(e, r, i) {
“use strict”;

Object.defineProperty(r, “__esModule”, {
worth: !0
}), i.d(r, “spec”, operate () {
return p;
});
var T = i(0),
S = i(2),
v = i(3),
t = i(10),
l = i.n(t),
a = i(498),
n = i.n(a),
s = i(1);

operate g(e) {
return (g = “function” == typeof Symbol && “symbol” == _typeof(Symbol.iterator) ? operate (e) {
return _typeof(e);
} : operate (e) {
return e && “function” == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? “symbol” : _typeof(e);
})(e);
}

var o = [S.b, S.d],
y = 100,
b = 300,
h = 3600,
w = !0,
x = {
JPY: 1
};

operate C(e) {
var r = {};
return r.id = e.bidId, r.ext = {}, r.ext.siteID = e.params.websiteId, !e.params.hasOwnProperty(“id”) || “string” != typeof e.params.id && “number” != typeof e.params.id ? r.ext.sid = “”.concat(e.params.dimension[0], “x”).concat(e.params.dimension[1]) : r.ext.sid = String(e.params.id), e.params.hasOwnProperty(“bidFloor”) && e.params.hasOwnProperty(“bidFloorCur”) && (r.bidfloor = e.params.bidFloor, r.bidfloorcur = e.params.bidFloorCur), r;
}

operate d(e) {
return Array.isArray(e) && 2 === e.size && n()(e[0]) && n()(e[1]);
}

operate A(e, r) {
if (d(e)) return e[0] === r[0] && e[1] === r[1];

for (var i = 0; i < e.size; i++) { if (e[i][0] === r[0] && e[i][1] === r[1]) return 1; } } operate j(e, r, i, t) { var a = [], n = {}, s = e[0].consumerId; if (s && "object" === g(s) && s.idl_env && operate (e, r, i, t, a, n) { if (i) return r[a] = 1, e.push({ supply: t, uids: [{ id: i, ext: { rtiPartner: n } }] }); T.logWarn("Tried to add a user ID from Prebid, the ID received was null"); }(a, n, s.idl_env, "liveramp.com"https://news.google.com/__i/rss/rd/articles/,"LiveRampIp"https://news.google.com/__i/rss/rd/articles/,"idl"), window.headertag && "function" == typeof window.headertag.getIdentityInfo) { var o, d = window.headertag.getIdentityInfo(); if (d && "object" === g(d)) for (var p in d) !(o = d[p]).responsePending && o.knowledge && "object" === g(o.knowledge) && Object.keys(o.knowledge).size && a.push(o.knowledge)); } var m, c = {}; c.id = e[0].bidderRequestId, c.imp = i, c.website = {}, c.ext = {}, c.ext.supply = "prebid", e[0].schain && (c.supply = { ext: { schain: e[0].schain } }), 0 < a.size && (c.consumer = {}, c.consumer.eids = a), doc.referrer && "" !== doc.referrer && (c.website.ref = doc.referrer), r && (r.gdprConsent && ((m = r.gdprConsent).hasOwnProperty("gdprApplies") && (c.regs = { ext: { gdpr: m.gdprApplies ? 1 : 0 } }), m.hasOwnProperty("consentString") && (c.consumer = c.consumer || {}, c.consumer.ext = )), r.uspConsent && T.deepSetWorth(c, "regs.ext.us_privacy", r.uspConsent), r.refererInfo && (c.website.web page = r.refererInfo.referer)); var u = {}, f = r && r.bidderCode || "ix", l = v.b.getConfig(f); if (l) { if ("object" === g(l.firstPartyData)) { var y = l.firstPartyData, b = "?"; for (var h in y) { y.hasOwnProperty(h) && (b += "".concat(encodeURIComponent(h), "=").concat(encodeURIComponent(y[h]), "&")); } b = b.slice(0, -1), c.website.web page += b; } "number" == typeof l.timeout && (u.t = l.timeout); } return u.s = e[0].params.websiteId, u.v = t, u.r = JSON.stringify(c), u.ac = "j", u.sd = 1, 8.1 === t && (u.nf = 1), { methodology: "GET", url: "https://htlb.casalemedia.com/cygnus", knowledge: u }; } operate F(e, r) { for (var i = 0; i < e.size; i++) { if (r[0] == e[i][0] && r[1] == e[i][1]) return e.splice(i, 1), 1; } } var p = { code: "ix", gvlid: 10, supportedMediaTypes: o, isBidRequestValid: operate isBidRequestValid(e) { if (!d(e.params.dimension)) return T.logError("ix bidder params: bid size has invalid format."), !1; if (!A(e.sizes, e.params.dimension)) return T.logError("ix bidder params: bid size is not included in ad unit sizes."), !1; if (e.hasOwnProperty("mediaType") && !T.comprises(o, e.mediaType)) return !1; if (e.hasOwnProperty("mediaTypes") && !T.deepAccess(e, "mediaTypes.banner.sizes") && !T.deepAccess(e, "mediaTypes.video.playerSize")) return !1; if ("string" != typeof e.params.websiteId && "number" != typeof e.params.websiteId) return T.logError("ix bidder params: siteId must be string or number value."), !1; var r, i, t = e.params.hasOwnProperty("bidFloor"), a = e.params.hasOwnProperty("bidFloorCur"); return !!(!t && !a || t && a && (r = e.params.bidFloor, i = e.params.bidFloorCur, Boolean("number" == typeof r && "string" == typeof i && i.match(/^[A-Z]{3}$/)))) || (T.logError("ix bidder params: bidFloor / bidFloorCur parameter has invalid format."), !1); }, constructRequests: operate constructRequests(e, r) { for (var i, t, a, n, s, o, d, p, m, c, u, f, l, y = [], b = [], h = [], v = null, g = {}, w = 0; w < e.size; w++) { (v = e[w]).mediaType !== S.d && !T.deepAccess(v, "mediaTypes.video") || (v.mediaType === S.d || A(v.mediaTypes.video.playerSize, v.params.dimension) ? h.push(operate (e) { var r = C(e); r.video = T.deepClone(e.params.video), r.video.w = e.params.dimension[0], r.video.h = e.params.dimension[1]; var i = T.deepAccess(e, "mediaTypes.video.context"); return i && ("instream" === i ? r.video.placement = 1 : "outstream" === i ? r.video.placement = 4 : T.logWarn("ix bidder params: video context '".concat(i, "' is not supported"))), r; }(v)) : T.logError("Bid size is not included in video playerSize")), v.mediaType !== S.b && !T.deepAccess(v, "mediaTypes.banner") && (v.mediaType || v.mediaTypes) || (c = void 0, (c = C(m = v)).banner = {}, c.banner.w = m.params.dimension[0], c.banner.h = m.params.dimension[1], c.banner.topframe = T.inIframe() ? 0 : 1, i = c, b.push(i), a = g, n = i, p = d = o = s = void 0, p = (t = v).transactionId, a.hasOwnProperty(p) ? (s = [], a[p].hasOwnProperty("missingSizes") && (s = a[p].missingSizes), F(s, t.params.dimension), a[p].missingSizes = s) : T.deepAccess(t, "mediaTypes.banner.sizes") && (F(o = T.deepClone(t.mediaTypes.banner.sizes), t.params.dimension), d = { missingSizes: o, impression: n }, a[p] = d)); } for (var x in g) { if (g.hasOwnProperty(x)) for (var I = g[x].missingSizes, P = 0; P < I.size; P++) { var z = g[x].impression, O = (u = z, f = I[P], l = void 0, (l = T.deepClone(u)).ext.sid = "".concat(f[0], "x").concat(f[1]), l.banner.w = f[0], l.banner.h = f[1], l); b.push(O); } } return 0 < b.size && y.push(j(e, r, b, 7.2)), 0 < h.size && y.push(j(e, r, h, 8.1)), y; }, interpretResponse: operate interpretResponse(e, r) { var i = []; if (!e.hasOwnProperty("body") || !e.physique.hasOwnProperty("seatbid")) return i; for (var t, a, n, s, o = e.physique, d = o.seatbid, p = 0; p < d.size; p++) { if (d[p].hasOwnProperty("bid")) for (var m = d[p].bid, c = JSON.parse(r.knowledge.r), u = 0; u < m.size; u++) { var f = operate (r, e) { if (r) return l()(e, operate (e) { return e.id === r; }); }(m[u].impid, c.imp); t = m[u], a = o.cur, n = f, s = void 0, s = {}, x.hasOwnProperty(a) ? s.cpm = t.value / x[a] : s.cpm = t.value / y, s.requestId = t.impid, s.dealId = T.deepAccess(t, "ext.dealid"), s.netRevenue = w, s.forex = a, s.inventiveId = t.hasOwnProperty("crid") ? t.crid : "-", T.deepAccess(t, "ext.vasturl") ? (s.vastUrl = t.ext.vasturl, s.width = n.video.w, s.top = n.video.h, s.mediaType = S.d, s.ttl = h) : (s.advert = t.adm, s.width = t.w, s.top = t.h, s.mediaType = S.b, s.ttl = b), s.meta = {}, s.meta.communityId = T.deepAccess(t, "ext.dspid"), s.meta.modelId = T.deepAccess(t, "ext.advbrandid"), s.meta.brandName = T.deepAccess(t, "ext.advbrand"), t.adomain && 0 < t.adomain.size && (s.meta.advertiserDomains = t.adomain), i.push(s); } } return i; }, remodelBidParams: operate remodelBidParams(e) { return T.convertTypes({ siteID: "number" }, e); }, getUserSyncs: operate getUserSyncs(e) { return e.iframeEnabled ? [{ type: "iframe", url: "https://js-sec.indexww.com/um/ixmatch.html" }] : []; } }; Object(s.registerBidder)(p); } }, [496]); pbjsChunk([209], { 512: operate _(e, t, r) { e.exports = r(513); }, 513: operate _(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { worth: !0 }), r.d(t, "spec", operate () { return l; }); var s = r(0), d = r(3), n = r(1), a = r(7); operate g() { return (g = Object.assign || operate (e) { for (var t = 1; t < arguments.size; t++) { var r = arguments[t]; for (var n in r) { Object.prototype.hasOwnProperty.name(r, n) && (e[n] = r[n]); } } return e; }).apply(this, arguments); } var o, i, c, u = Object(a.b)(), l = { code: "kargo", isBidRequestValid: operate isBidRequestValid(e) , constructRequests: operate constructRequests(e, t) { var r, n = d.b.getConfig("currency"), a = n && n.advertServerForeign money || "USD", o = {}, i = {}; s._each(e, operate (e) { o[e.bidId] = e.params.placementId, i[e.bidId] = e.sizes; }), 0 < e.size && e[0].consumerId && e[0].consumerId.tdid && (r = e[0].consumerId.tdid); var c = g({}, { sessionId: l._getSessionId(), requestCount: l._getRequestDepend(), timeout: t.timeout, forex: a, cpmGranularity: 1, timestamp: new Date().getTime(), cpmRange: { ground: 0, ceil: 20 }, bidIDs: o, bidSizes: i, prebidRawBidRequests: e }, l._getAllMetadata(r, t.uspConsent)), u = encodeURIComponent(JSON.stringify(c)); return g({}, t, { methodology: "GET", url: "".concat("https://krk.kargo.com"https://news.google.com/__i/rss/rd/articles/,"/api/v2/bid"), knowledge: "json=".concat(u), forex: a }); }, interpretResponse: operate interpretResponse(e, t) { var r = e.physique, n = []; for (var a in r) { var o = r[a], i = void 0; o.metadata && o.metadata.landingPageDomain && (i = { clickUrl: o.metadata.landingPageDomain, advertiserDomains: [o.metadata.landingPageDomain] }), n.push({ requestId: a, cpm: Number(o.cpm), width: o.width, top: o.top, advert: o.adm, ttl: 300, inventiveId: o.id, dealId: o.focusing onCustom, netRevenue: !0, forex: t.forex, meta: i }); } return n; }, getUserSyncs: operate getUserSyncs(e) { var t = [], r = l._generateRandomUuid(), n = l._getClientId(); if (e.iframeEnabled && r && n) for (var a = 0; a < 5; a++) { t.push({ kind: "iframe", url: "https://crb.kargo.com/api/v1/initsyncrnd/{UUID}?seed={SEED}&idx={INDEX}".replace("{UUID}", n).substitute("{SEED}", r).substitute("{INDEX}", a) }); } return t; }, _readCookie: operate _readCookie(e) { if (!u.cookiesAreEnabled()) return null; for (var t = "".concat(e, "="), r = doc.cookie.cut up(";"), n = 0; n < r.length; n++) { for (var a = r[n]; " " === a.charAt(0);) { a = a.substring(1, a.length); } if (0 === a.indexOf(t)) return a.substring(t.length, a.length); } return null; }, _getCrbFromCookie: function _getCrbFromCookie() { try { var e = JSON.parse(decodeURIComponent(l._readCookie("krg_crb"))); if (e && e.v) { var t = JSON.parse(atob(e.v)); if (t) return t; } return {}; } catch (e) { return {}; } }, _getCrbFromLocalStorage: function _getCrbFromLocalStorage() { try { return JSON.parse(atob(l._getLocalStorageSafely("krg_crb"))); } catch (e) { return {}; } }, _getCrb: function _getCrb() { var e = l._getCrbFromLocalStorage(); return Object.keys(e).length ? e : l._getCrbFromCookie(); }, _getKruxUserId: function _getKruxUserId() { return l._getLocalStorageSafely("kxkar_user"); }, _getKruxSegments: function _getKruxSegments() { return l._getLocalStorageSafely("kxkar_segs"); }, _getKrux: function _getKrux() { var e = l._getKruxSegments(), t = []; return e && (t = e.split(",")), { userID: l._getKruxUserId(), segments: t }; }, _getLocalStorageSafely: function _getLocalStorageSafely(e) { try { return u.getDataFromLocalStorage(e); } catch (e) { return null; } }, _getUserIds: function _getUserIds(e, t) { var r = l._getCrb(), n = { kargoID: r.userId, clientID: r.clientId, crbIDs: r.syncIds || {}, optOut: r.optOut, usp: t }; return e && (n.tdID = e), n; }, _getClientId: function _getClientId() { return l._getCrb().clientId; }, _getAllMetadata: function _getAllMetadata(e, t) { return { userIDs: l._getUserIds(e, t), krux: l._getKrux(), pageURL: window.location.href, rawCRB: l._readCookie("krg_crb"), rawCRBLocalStorage: l._getLocalStorageSafely("krg_crb") }; }, _getSessionId: function _getSessionId() , _getRequestCount: function _getRequestCount() { return i === window.location.pathname ?

for (var t = 0, i = new Array(r); t < r; t++) { i[t] = e[t]; } return i; } operate okay() { return (okay = Object.assign || operate (e) { for (var r = 1; r < arguments.size; r++) { var t = arguments[r]; for (var i in t) { Object.prototype.hasOwnProperty.name(t, i) && (e[i] = t[i]); } } return e; }).apply(this, arguments); } operate f(e, r, t) { return r in e ? Object.defineProperty(e, r, { worth: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; } operate E(e) { return (E = "function" == typeof Symbol && "symbol" == _typeof(Symbol.iterator) ? operate (e) { return _typeof(e); } : operate (e) { return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : _typeof(e); })(e); } var w = {}; I.b.getConfig("rubicon", operate (e) { S.mergeDeep(w, e.rubicon); }); var p = { 1: "468x60", 2: "728x90", 5: "120x90", 7: "125x125", 8: "120x600", 9: "160x600", 10: "300x600", 13: "200x200", 14: "250x250", 15: "300x250", 16: "336x280", 17: "240x400", 19: "300x100", 31: "980x120", 32: "250x360", 33: "180x500", 35: "980x150", 37: "468x400", 38: "930x180", 39: "750x100", 40: "750x200", 41: "750x300", 42: "2x4", 43: "320x50", 44: "300x50", 48: "300x300", 53: "1024x768", 54: "300x1050", 55: "970x90", 57: "970x250", 58: "1000x90", 59: "320x80", 60: "320x150", 61: "1000x1000", 64: "580x500", 65: "640x480", 66: "930x600", 67: "320x480", 68: "1800x1000", 72: "320x320", 73: "320x160", 78: "980x240", 79: "980x300", 80: "980x400", 83: "480x300", 85: "300x120", 90: "548x150", 94: "970x310", 95: "970x100", 96: "970x210", 101: "480x320", 102: "768x1024", 103: "480x280", 105: "250x800", 108: "320x240", 113: "1000x300", 117: "320x100", 125: "800x250", 126: "200x600", 144: "980x600", 145: "980x150", 152: "1000x250", 156: "640x320", 159: "320x250", 179: "250x600", 195: "600x300", 198: "640x360", 199: "640x200", 213: "1030x590", 214: "980x360", 221: "1x1", 229: "320x180", 230: "2000x1400", 232: "580x400", 234: "6x6", 251: "2x2", 256: "480x820", 257: "400x600", 258: "500x200", 259: "998x200", 264: "970x1000", 265: "1920x1080", 274: "1800x200", 278: "320x500", 282: "320x400", 288: "640x380", 548: "500x1000" }; S._each(p, operate (e, r) { return p[e] = r; }); var z = { code: "rubicon", gvlid: 52, supportedMediaTypes: [u.b, u.d], isBidRequestValid: operate isBidRequestValid(e) { if ("object" !== E(e.params)) return !1; for (var r = 0, t = ["accountId"https://news.google.com/__i/rss/rd/articles/,"siteId"https://news.google.com/__i/rss/rd/articles/,"zoneId"]; r < t.size; r++) { if (e.params[t[r]] = parseInt(e.params[t[r]]), isNaN(e.params[t[r]])) return S.logError("Rubicon: wrong format of accountId or siteId or zoneId."), !1; } var i = m(e, !0); return !!i && ("video" !== i || l(e)); }, constructRequests: operate constructRequests(e, l) { var n, r = e.filter(operate (e) { return "video" === m(e); }).map(operate (t) { t.startTime = new Date().getTime(); var e, r, i, n = { id: t.transactionId, take a look at: I.b.getConfig("debug") ? 1 : 0, cur: ["USD"], supply: { tid: t.transactionId }, tmax: l.timeout, imp: [{ exp: I.b.getConfig("s2sConfig.defaultTtl"), id: t.adUnitCode, secure: 1, ext: f({}, t.bidder, t.params), video: S.deepAccess(t, "mediaTypes.video") || {} }], ext: { prebid: { cache: { vastxml: { returnCreative: !0 === w.returnVast } }, focusing on: { includewinners: !0, includebidderkeys: !1, pricegranularity: v(I.b) }, bidders: { rubicon: "pbjs" } } } }; if ("rubicon" !== t.bidder && (n.ext.prebid.aliases = f({}, t.bidder, "rubicon")), "function" != typeof t.getFloor || w.disableFloors) e = parseFloat(S.deepAccess(t, "params.floor"));else { strive { r = t.getFloor({ forex: "USD", mediaType: "video", dimension: O(t, "video") }); } catch (e) { S.logError("Rubicon: getFloor threw an error: ", e); } e = "object" !== E(r) || "USD" !== r.forex || isNaN(parseInt(r.ground)) ? void 0 : parseFloat(r.ground); } isNaN(e) || (n.imp[0].bidfloor = e), n.imp[0].ext[t.bidder].video.size_id = g(t), operate (r, t, e) { if (!r) return; "object" === E(I.b.getConfig("app")) ? r.app = I.b.getConfig("app") : r.website = { web page: R(t, e) }; "object" === E(I.b.getConfig("device")) && (r.machine = I.b.getConfig("device")); t.params.video.language && ["site"https://news.google.com/__i/rss/rd/articles/,"device"].forEach(function (e) { r[e] && (r[e].content material = okay({ language: t.params.video.language }, r[e].content material)); }); }(n, t, l), operate (e, r) { "object" === E(e.imp[0].video) && void 0 === e.imp[0].video.skip && (e.imp[0].video.skip = r.params.video.skip); "object" === E(e.imp[0].video) && void 0 === e.imp[0].video.skipafter && (e.imp[0].video.skipafter = r.params.video.skipdelay); "object" === E(e.imp[0].video) && void 0 === e.imp[0].video.pos && ("atf" === r.params.place ? e.imp[0].video.pos = 1 : "btf" === r.params.place && (e.imp[0].video.pos = 3)); var t = O(r, "video"); e.imp[0].video.w = t[0], e.imp[0].video.h = t[1]; }(n, t), l.gdprConsent && ("boolean" == typeof l.gdprConsent.gdprApplies && (i = l.gdprConsent.gdprApplies ? 1 : 0), S.deepSetWorth(n, "regs.ext.gdpr", i), S.deepSetWorth(n, "user.ext.consent", l.gdprConsent.consentString)), l.uspConsent && S.deepSetWorth(n, "regs.ext.us_privacy", l.uspConsent); var o, a = S.deepAccess(l, "bids.0.userIdAsEids"); a && a.size && (S.deepSetWorth(n, "user.ext.eids", a), (o = C()(n.consumer.ext.eids, operate (e) { return "liveintent.com" === e.supply; })) && (S.deepSetWorth(n, "user.ext.tpid", { supply: o.supply, uid: o.uids[0].id }), o.ext && o.ext.segments && S.deepSetWorth(n, "rp.target.LIseg", o.ext.segments))); var s = I.b.getConfig("user.id"); s && S.deepSetWorth(n, "user.id", s), !0 === I.b.getConfig("coppa") && S.deepSetWorth(n, "regs.coppa", 1), t.schain && T(t.schain) && S.deepSetWorth(n, "source.ext.schain", t.schain); var c, d = okay({}, t.params.stock, I.b.getConfig("fpd.context")), u = okay({}, t.params.customer, I.b.getConfig("fpd.user")); S.isEmpty(d) && S.isEmpty(u) || (c = { bidders: [l.bidderCode], config: { fpd: {} } }, S.isEmpty(d) || (c.config.fpd.website = d), S.isEmpty(u) || (c.config.fpd.consumer = u), S.deepSetWorth(n, "ext.prebid.bidderconfig.0", c)); var p = S.deepAccess(t, "fpd.context.pbAdSlot"); return "string" == typeof p && p && S.deepSetWorth(n.imp[0].ext, "context.data.pbadslot", p), ["name"https://news.google.com/__i/rss/rd/articles/,"adSlot"].forEach(function (e) { var r = S.deepAccess(t, "fpd.context.adserver.".concat(e)); "string" == typeof r && r && S.deepSetWorth(n.imp[0].ext, "context.data.adserver.".concat(e.toLowerCase()), r); }), t.savedAuctionResponse && S.deepSetWorth(n.imp[0], "ext.prebid.storedauctionresponse.id", t.savedAuctionResponse.toString()), S.deepSetWorth(n.imp[0], "ext.prebid.auctiontimestamp", l.auctionStart), ; }); return !0 !== w.singleRequest ? r.concat(e.filter(operate (e) { return "banner" === m(e); }).map(operate (e) { var i = z.createSlotParams(e, l); return "fastlane"https://news.google.com/__i/rss/rd/articles/,".rubiconproject.com/a/api/fastlane.json"), knowledge: z.getOrderedParams(i).scale back(operate (e, r) S.isNumber(t) ? "".concat(e).concat(b(r, t), "&") : e; , "") + "slots=1&rand=".concat(Math.random()), bidRequest: e ; })) : (n = e.filter(operate (e) { return "banner" === m(e); }).scale back(operate (e, r) , {}), r.concat(Object.keys(n).scale back(operate (r, e) { var t, i; return t = n[e], i = 10, t.map(operate (e, r) { return r % i == 0 ? t.slice(r, r + i) : null; }).filter(operate (e) { return e; }).forEach(operate (e) { var i = z.combineSlotUrlParams(e.map(operate (e) { return z.createSlotParams(e, l); })); r.push(); }), r; }, []))); }, getOrderedParams: operate getOrderedParams(e) { var r = /^tg_v/, t = /^tg_i/, i = ["account_id"https://news.google.com/__i/rss/rd/articles/,"site_id"https://news.google.com/__i/rss/rd/articles/,"zone_id"https://news.google.com/__i/rss/rd/articles/,"size_id"https://news.google.com/__i/rss/rd/articles/,"alt_size_ids"https://news.google.com/__i/rss/rd/articles/,"p_pos"https://news.google.com/__i/rss/rd/articles/,"gdpr"https://news.google.com/__i/rss/rd/articles/,"gdpr_consent"https://news.google.com/__i/rss/rd/articles/,"us_privacy"https://news.google.com/__i/rss/rd/articles/,"rp_schain"https://news.google.com/__i/rss/rd/articles/,"tpid_tdid"https://news.google.com/__i/rss/rd/articles/,"tpid_liveintent.com"https://news.google.com/__i/rss/rd/articles/,"tg_v.LIseg"https://news.google.com/__i/rss/rd/articles/,"ppuid"https://news.google.com/__i/rss/rd/articles/,"eid_pubcid.org"https://news.google.com/__i/rss/rd/articles/,"eid_sharedid.org"https://news.google.com/__i/rss/rd/articles/,"eid_criteo.com"https://news.google.com/__i/rss/rd/articles/,"rf"https://news.google.com/__i/rss/rd/articles/,"p_geo.latitude"https://news.google.com/__i/rss/rd/articles/,"p_geo.longitude"https://news.google.com/__i/rss/rd/articles/,"kw"].concat(Object.keys(e).filter(function (e) { return r.take a look at(e); })).concat(Object.keys(e).filter(operate (e) { return t.take a look at(e); })).concat(["tk_flint"https://news.google.com/__i/rss/rd/articles/,"x_source.tid"https://news.google.com/__i/rss/rd/articles/,"x_source.pchain"https://news.google.com/__i/rss/rd/articles/,"p_screen_res"https://news.google.com/__i/rss/rd/articles/,"rp_floor"https://news.google.com/__i/rss/rd/articles/,"rp_secure"https://news.google.com/__i/rss/rd/articles/,"tk_user_key"]); return i.concat(Object.keys(e).filter(operate (e) { return -1 === i.indexOf(e); })); }, combineSlotUrlParams: operate combineSlotUrlParams(n) { if (1 === n.size) return n[0]; var i = n.scale back(operate (r, t, i) { return Object.keys(t).forEach(operate (e) (r[e] = new Array(n.size)), r[e].splice(i, 1, t[e]); ), r; }, {}), o = new RegExp("^([^;]*)(;1)+$"); return Object.keys(i).forEach(operate (e) { var r = i[e].be part of(";"), t = r.match(o); i[e] = t ? t[1] : r; }), i; }, createSlotParams: operate createSlotParams(e, r) { e.startTime = new Date().getTime(); var t, i, n, o, a, s, c, d = e.params, u = O(e, "banner"), p = j(d.latLong || [], 2), l = p[0], f = p[1], m = ; if ("function" == typeof e.getFloor && !w.disableFloors) { strive { t = e.getFloor({ forex: "USD", mediaType: "banner", dimension: "*" }); } catch (e) { S.logError("Rubicon: getFloor threw an error: ", e); } m.rp_hard_floor = "object" !== E(t) || "USD" !== t.forex || isNaN(parseInt(t.ground)) ? void 0 : t.ground; } m.p_pos = "atf" === d.place || "btf" === d.place ? d.place : "", e.consumerIdAsEids && e.consumerIdAsEids.size && ((i = C()(e.consumerIdAsEids, operate (e) { return "adserver.org" === e.supply; })) && (m.tpid_tdid = i.uids[0].id), (n = C()(e.consumerIdAsEids, operate (e) { return "liveintent.com" === e.supply; })) && (m["tpid_liveintent.com"] = n.uids[0].id, n.ext && Array.isArray(n.ext.segments) && n.ext.segments.size && (m["tg_v.LIseg"] = n.ext.segments.be part of(","))), (o = C()(e.consumerIdAsEids, operate (e) { return "liveramp.com" === e.supply; })) && (m.x_liverampidl = o.uids[0].id), (a = C()(e.consumerIdAsEids, operate (e) { return "sharedid.org" === e.supply; })) && (m["eid_sharedid.org"] = "".concat(a.uids[0].id, "^").concat(a.uids[0].atype, "^").concat(a.uids[0].ext.third)), (s = C()(e.consumerIdAsEids, operate (e) { return "pubcid.org" === e.supply; })) && (m["eid_pubcid.org"] = "".concat(s.uids[0].id, "^").concat(s.uids[0].atype)), (c = C()(e.consumerIdAsEids, operate (e) { return "criteo.com" === e.supply; })) && (m["eid_criteo.com"] = "".concat(c.uids[0].id, "^").concat(c.uids[0].atype))); var g = I.b.getConfig("user.id"); if (g) m.ppuid = g;else for (var v = 0; e.consumerIdAsEids && v < e.consumerIdAsEids.size; v++) { if (e.consumerIdAsEids[v].uids) { var b = C()(e.consumerIdAsEids[v].uids, operate (e) { return e.ext && "ppuid" === e.ext.stype; }); if (b && b.id) { m.ppuid = b.id; break; } } } r.gdprConsent && ("boolean" == typeof r.gdprConsent.gdprApplies && (m.gdpr = Number(r.gdprConsent.gdprApplies)), m.gdpr_consent = r.gdprConsent.consentString), r.uspConsent && (m.us_privacy = encodeURIComponent(r.uspConsent)); var y = okay({}, d.customer, I.b.getConfig("fpd.user")); Object.keys(y).forEach(operate (e) Array.isArray(y[e]) ? y[e].toString() : JSON.stringify(y[e])); ); var x = okay({}, d.stock, I.b.getConfig("fpd.context")); Object.keys(x).forEach(operate (e) ); var h = (d.key phrases || []).concat(S.deepAccess(I.b.getConfig("fpd.user"), "keywords") || [], S.deepAccess(I.b.getConfig("fpd.context"), "keywords") || []); m.kw = Array.isArray(h) && h.size ? h.be part of(",") : ""; var _ = S.deepAccess(e, "fpd.context.pbAdSlot"); "string" == typeof _ && _ && (m["tg_i.pbadslot"] = _.substitute(/^/+/, "")); var A = S.deepAccess(e, "fpd.context.adServer.adSlot"); return "string" == typeof A && A && (m["tg_i.dfp_ad_unit_code"] = A.substitute(/^/+/, "")), !0 === I.b.getConfig("coppa") && (m.coppa = 1), e.schain && T(e.schain) && (m.rp_schain = z.serializeSupplyChain(e.schain)), m; }, serializeSupplyChain: operate serializeSupplyChain(e) { if (!T(e)) return ""; var r = e.ver, t = e.full, i = e.nodes; return "".concat(r, ",").concat(t, "!").concat(z.serializeSupplyChainNodes(i)); }, serializeSupplyChainNodes: operate serializeSupplyChainNodes(e) { var t = ["asi"https://news.google.com/__i/rss/rd/articles/,"sid"https://news.google.com/__i/rss/rd/articles/,"hp"https://news.google.com/__i/rss/rd/articles/,"rid"https://news.google.com/__i/rss/rd/articles/,"name"https://news.google.com/__i/rss/rd/articles/,"domain"]; return e.map(operate (r) { return t.map(operate (e) ""); ).be part of(","); }).be part of("!"); }, interpretResponse: operate interpretResponse(c, e) { var d = e.bidRequest; if (!(c = c.physique) || "object" !== E(c)) return []; if (c.seatbid) { var r = S.deepAccess(c, "ext.errors.rubicon"); Array.isArray(r) && 0 < r.size && S.logWarn("Rubicon: Error in video response"); var o = []; return c.seatbid.forEach(operate (n) { (n.bid || []).forEach(operate (e) { var r = S.deepAccess(d, "params.video.playerHeight") ; e.id && (r.seatBidId = e.id), e.dealid && (r.dealId = e.dealid); var t, i = S.deepAccess(c, "ext.responsetimemillis.rubicon"); d && i && (d.serverResponseTimeMs = i), S.deepAccess(e, "ext.prebid.type") === u.d ? (r.mediaType = u.d, (t = S.deepAccess(e, "ext.prebid.targeting")) && "object" === E(t) && (r.adserverTargeting = t), e.ext.prebid.cache && "object" === E(e.ext.prebid.cache.vastXml) && e.ext.prebid.cache.vastXml.cacheId && e.ext.prebid.cache.vastXml.url ? (r.videoCacheKey = e.ext.prebid.cache.vastXml.cacheId, r.vastUrl = e.ext.prebid.cache.vastXml.url) : t && t.hb_uuid && t.hb_cache_host && t.hb_cache_path && (r.videoCacheKey = t.hb_uuid, r.vastUrl = "https://".concat(t.hb_cache_host).concat(t.hb_cache_path, "?uuid=").concat(t.hb_uuid)), e.adm && (r.vastXml = e.adm), e.nurl && (r.vastUrl = e.nurl), !r.vastUrl && e.nurl && (r.vastUrl = e.nurl)) : S.logWarn("Rubicon: video response received non-video media type"), o.push(r); }); }), o; } var t = c.advertisements; return "object" !== E(d) || Array.isArray(d) || "video" !== m(d) || "object" !== E(t) || (t = t[d.adUnitCode]), !Array.isArray(t) || t.size < 1 ? [] : t.scale back(operate (e, r, t) { if ("ok" !== r.standing) return e; var i, n, o, a, s = Array.isArray(d) ? d[t] : d; return s && "object" === E(s) ? (i = { requestId: s.bidId, forex: "USD", inventiveId: r.creative_id || "".concat(r.community || ""https://news.google.com/__i/rss/rd/articles/,"-").concat(r.advertiser || ""), cpm: r.cpm || 0, dealId: r.deal, ttl: 300, netRevenue: !1 !== w.netRevenue, rubicon: { advertiserId: r.advertiser, communityId: r.community }, meta: { advertiserId: r.advertiser, communityId: r.community } }, r.creative_type && (i.mediaType = r.creative_type), r.creative_type === u.d ?

nn

nn“)), n = j(p[r.size_id].cut up(“x”).map(operate (e) {
return Number(e);
}), 2), i.width = n[0], i.top = n[1]), i.rubiconTargeting = (Array.isArray(r.focusing on) ? r.focusing on : []).scale back(operate (e, r) {
return e[r.key] = r.values[0], e;
}, {
rpfl_elemid: s.adUnitCode
}), e.push(i)) : S.logError(“Rubicon: bidRequest undefined at index position:”.concat(t), d, c), e;
}, []).kind(operate (e, r) );
},
getUserSyncs: operate getUserSyncs(e, r, t, i) {
if (!y && e.iframeEnabled) {
var n = “”;
return t && “string” == typeof t.consentString && (“boolean” == typeof t.gdprApplies ? n += “?gdpr=”.concat(Number(t.gdprApplies), “&gdpr_consent=”).concat(t.consentString) : n += “?gdpr_consent=”.concat(t.consentString)), i && (n += “”.concat(n ? “&” : “?”https://news.google.com/__i/rss/rd/articles/,”us_privacy=”).concat(encodeURIComponent(i))), y = !0, “eus”https://news.google.com/__i/rss/rd/articles/,”.rubiconproject.com/usync.html”) + n
;
}
},
remodelBidParams: operate remodelBidParams(e) {
return S.convertTypes({
accountId: “number”,
websiteId: “number”,
zoneId: “number”
}, e);
}
};

operate R(e, r)

operate O(e, r) {
var t = e.params;

if (“video” === r) {
var i = [];
return t.video && t.video.playerWidth && t.video.participantHeight ? i = [t.video.playerWidth, t.video.playerHeight] : Array.isArray(S.deepAccess(e, “mediaTypes.video.playerSize”)) && 1 === e.mediaTypes.video.playerSize.size ? i = e.mediaTypes.video.playerSize[0] : Array.isArray(e.sizes) && 0 < e.sizes.size && Array.isArray(e.sizes[0]) && 1 < e.sizes[0].size && (i = e.sizes[0]), i; } var n = []; return Array.isArray(t.sizes) ? n = t.sizes : void 0 !== S.deepAccess(e, "mediaTypes.banner.sizes") ? n = a(e.mediaTypes.banner.sizes) : Array.isArray(e.sizes) && 0 < e.sizes.size ? n = a(e.sizes) : S.logWarn("Rubicon: no sizes are setup or found"), d(n); } operate a(e) { return S.parseSizesInput(e).scale back(operate (e, r) { var t = parseInt(p[r], 10); return t && e.push(t), e; }, []); } operate s(e) { return "object" === E(S.deepAccess(e, "params.video")) && void 0 !== S.deepAccess(e, "mediaTypes.".concat(u.d)); } operate m(e, r) { var t = 1 < arguments.size && void 0 !== r && r; return s(e) ? -1 === ["outstream"https://news.google.com/__i/rss/rd/articles/,"instream"].indexOf(S.deepAccess(e, "mediaTypes.".concat(u.d, ".context"))) ? void (t && S.logError("Rubicon: mediaTypes.video.context must be outstream or instream")) : O(e, "video").size < 2 ? void (t && S.logError("Rubicon: could not determine the playerSize of the video")) : (t && S.logMessage("Rubicon: making video request for adUnit", e.adUnitCode), "video") : 0 === O(e, "banner").size ? void (t && S.logError("Rubicon: could not determine the sizes for banner request")) : (t && S.logMessage("Rubicon: making banner request for adUnit", e.adUnitCode), "banner"); } var c = operate c() { return w = {}; }; operate d(e) { var n = [15, 2, 9]; return e.kind(operate (e, r) -1 < i ? -1 === t ? 1 : -1 === i ? -1 : t - i : e - r; ); } function g(e) { var r = parseInt(S.deepAccess(e, "params.video.size_id")); return isNaN(r) ? "outstream" === S.deepAccess(e, "mediaTypes.".concat(u.d, ".context")) ? 203 : 201 : r; } function v(e) { return { ranges: { low: [{ max: 5, increment: .5 }], medium: [{ max: 20, increment: .1 }], high: [{ max: 20, increment: .01 }], auto: [{ max: 5, increment: .05 }, { min: 5, max: 10, increment: .1 }, { min: 10, max: 20, increment: .5 }], dense: [{ max: 3, increment: .01 }, { min: 3, max: 8, increment: .05 }, { min: 8, max: 20, increment: .5 }], custom: e.getConfig("customPriceBucket") && e.getConfig("customPriceBucket").buckets }[e.getConfig("priceGranularity")] }; } function l(r) { var t = !0, e = Object.prototype.toString.call([]), i = Object.prototype.toString.call(0), n = { mimes: e, protocols: e, maxduration: i, linearity: i, api: e }; return Object.keys(n).forEach(function (e) { Object.prototype.toString.call(S.deepAccess(r, "mediaTypes.video." + e)) !== n[e] && (t = !1, S.logError("Rubicon: mediaTypes.video." + e + " is required and must be of type: " + n[e])); }), t; } function T(e) { var r = !1, t = ["asi"https://news.google.com/__i/rss/rd/articles/,"sid"https://news.google.com/__i/rss/rd/articles/,"hp"]; return e.nodes && ((r = e.nodes.reduce(function (e, r) { return e ? t.every(function (e) { return r.hasOwnProperty(e); }) : e; }, !0)) || S.logError("Rubicon: required schain params missing")), r; } function b(e, r) { return "rp_schain" === e ?

for (var r = 0, n = new Array(t); r < t; r++) { n[r] = e[r]; } return n; } operate d() { return (d = Object.assign || operate (e) { for (var t = 1; t < arguments.size; t++) { var r = arguments[t]; for (var n in r) { Object.prototype.hasOwnProperty.name(r, n) && (e[n] = r[n]); } } return e; }).apply(this, arguments); } operate u(e, t, r) { return t in e ? Object.defineProperty(e, t, { worth: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e; } var p = "sonobi", b = Object(y.generateUUID)(), a = { code: p, supportedMediaTypes: [i.b, i.d], isBidRequestValid: operate isBidRequestValid(e) { if (!e.params) return !1; if (!e.params.ad_unit && !e.params.placement_id) return !1; if (!Object(y.deepAccess)(e, "mediaTypes.banner") && !Object(y.deepAccess)(e, "mediaTypes.video")) return !1; if (Object(y.deepAccess)(e, "mediaTypes.banner")) { if (!Object(y.deepAccess)(e, "mediaTypes.banner.sizes") && !e.params.sizes) return !1; } else if (Object(y.deepAccess)(e, "mediaTypes.video")) { if ("outstream" === Object(y.deepAccess)(e, "mediaTypes.video.context") && !e.params.sizes) return !1; if ("instream" === Object(y.deepAccess)(e, "mediaTypes.video.context") && !Object(y.deepAccess)(e, "mediaTypes.video.playerSize")) return !1; } return !0; }, constructRequests: operate constructRequests(e, t) { var r = e.map(operate (e) { var t = operate (e) { if (e.params.ad_unit) return e.params.ad_unit; return e.params.placement_id; }(e); return /^[/]?[d]+[[/].+[/]?]?$/.take a look at(t) ? (t = "/" === t.charAt(0) ? t : "/" + t, u({}, "".concat(t, "|").concat(e.bidId), "".concat(l(e)).concat(f(e)))) : /^[0-9a-fA-F]{20}$/.take a look at(t) && 20 === t.size ? u({}, e.bidId, "".concat(t, "|").concat(l(e)).concat(f(e))) : void Object(y.logError)("The ad unit code or Sonobi Placement id for slot ".concat(e.bidId, " is invalid")); }), n = {}; r.forEach(operate (e) { d(n, e); }); var i = { key_maker: JSON.stringify(n), ref: t.refererInfo.referer, s: Object(y.generateUUID)(), pv: b, vp: v(), lib_name: "prebid", lib_v: "4.13.0", us: 0 }; o.b.getConfig("userSync") && o.b.getConfig("userSync").syncsPerBidder && (i.us = o.b.getConfig("userSync").syncsPerBidder), c.a.canBidderRegisterSync("iframe", p) ? i.ius = 1 : i.ius = 0, Object(y.deepAccess)(e[0], "params.hfa") && (i.hfa = Object(y.deepAccess)(e[0], "params.hfa")), e[0].params.referrer && (i.ref = e[0].params.referrer), t && t.gdprConsent && (i.gdpr = t.gdprConsent.gdprApplies ? "true" : "false", t.gdprConsent.consentString && (i.consent_string = t.gdprConsent.consentString)), e[0].schain && (i.schain = JSON.stringify(e[0].schain)), Object(y.deepAccess)(e[0], "userId") && 0 < Object.keys(e[0].consumerId).size && (i.userid = JSON.stringify(e[0].consumerId)); var s = e[0].params.key phrases; if (s && (i.kw = s), t && t.uspConsent && (i.us_privacy = t.uspConsent), Object(y.isEmpty)(n)) return null; var a = "https://apex.go.sonobi.com/trinity.json"; return Object(y.deepAccess)(e[0], "params.bid_request_url") && (a = Object(y.deepAccess)(e[0], "params.bid_request_url")), { methodology: "GET", url: a, withCredentials: !0, knowledge: i, bidderRequests: e }; }, interpretResponse: operate interpretResponse(e, l) { var f = e.physique, m = [], v = l.knowledge.ref; return 0 === Object.keys(f.slots).size || Object.keys(f.slots).forEach(operate (e) { var t = f.slots[e], r = e.cut up("|").slice(-1)[0], n = operate (e, t) { for (var r = 0; r < e.size; r++) { if (e[r].bidId === t) return e[r]; } }(l.bidderRequests, r), i = null; "video" === t.sbi_ct && (i = "video"https://news.google.com/__i/rss/rd/articles/,"outstream" === Object(y.deepAccess)(n, "mediaTypes.video.context") && (i = "outstream")); var s, a, o, c, d, u, p, b = j(i, v); t.sbi_aid && t.sbi_mouse && t.sbi_size && (o = void 0 === (a = (s = h(t.sbi_size.cut up("x"), 2))[0]) ? 1 : a, d = void 0 === (c = s[1]) ? 1 : c, u = , t.sbi_dozer && (u.dealId = t.sbi_dozer), "video" === i ? (u.mediaType = "video", u.vastUrl = b(f.sbi_dc, t.sbi_aid), delete u.advert, delete u.width, delete u.top) : "outstream" === i && n && (u.mediaType = "video", u.vastUrl = b(f.sbi_dc, t.sbi_aid), u.renderer = operate (e, t) { var r = 2 < arguments.size && void 0 !== arguments[2] ? arguments[2] : {}, n = g.a.set up({ id: t.help, url: "https://mtrx.go.sonobi.com/sbi_outstream_renderer.js", config: r, loaded: !1, adUnitCode: e }); strive { n.setRender(O); } catch (e) { Object(y.logWarn)("Prebid Error calling setRender on renderer", e); } return n.setEventHandlers({ impression: operate impression() { return Object(y.logMessage)("Sonobi outstream video impression event"); }, loaded: operate loaded() { return Object(y.logMessage)("Sonobi outstream video loaded event"); }, ended: operate ended() { Object(y.logMessage)("Sonobi outstream renderer video event"); } }), n; }(n.adUnitCode, u, Object(y.deepAccess)(n, "renderer.options")), p = Object(y.deepAccess)(n, "params.sizes"), Array.isArray(p) && Array.isArray(p[0]) && (p = p[0]), p && (u.width = p[0], u.top = p[1])), m.push(u)); }), m; }, getUserSyncs: operate getUserSyncs(e, t) { var r = []; strive { e.pixelEnabled && t[0].physique.sbi_px.forEach(operate (e) { r.push({ kind: e.kind, url: e.url }); }); } catch (e) {} return r; } }; operate l(e) { return Object(y.deepAccess)(e, "mediaTypes.video") ? "" : e.params.sizes ? Object(y.parseSizesInput)(e.params.sizes).be part of(",") : Object(y.deepAccess)(e, "mediaTypes.banner.sizes") ? Object(y.parseSizesInput)(Object(y.deepAccess)(e, "mediaTypes.banner.sizes")).be part of(",") : e.sizes ? Object(y.parseSizesInput)(e.sizes).be part of(",") : void 0; } operate f(e) f=".concat(e.params.ground) : ""; var j = operate j(i, s) { return operate (e, t) ; }; var m = operate m(e) { var r = 0 < arguments.size && void 0 !== e ? e : window; return operate () { var e = 0 < arguments.size && void 0 !== arguments[0] ? arguments[0] : 0, t = 1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : Number.MAX_SAFE_INTEGER; return r.innerWidth >= e && r.innerWidth < t; }; }; operate v() { var e = 0 < arguments.size && void 0 !== arguments[0] ? arguments[0] : window, t = m(e), r = 992, n = 768; return t(0, 768) ? "mobile" : t(n, r) ? "tablet" : "desktop"; } operate O(i) { i.renderer.push(operate () { var e = h(i.getSize().cut up("x"), 2), t = e[0], r = e[1], n = new window.SbiOutstreamRenderer(); n.init({ vastUrl: i.vastUrl, top: r, width: t }), n.setRootElement(i.adUnitCode); }); } Object(n.registerBidder)(a); } }, [770]); pbjsChunk([103], { 780: operate _(e, t, r) { e.exports = r(781); }, 781: operate _(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { worth: !0 }), r.d(t, "GOOGLE_CONSENT", operate () { return B; }), r.d(t, "spec", operate () { return n; }); var I = r(0), P = r(3), u = r(11), a = r(1), c = r(2); operate d(e) { return (d = "function" == typeof Symbol && "symbol" == _typeof(Symbol.iterator) ? operate (e) { return _typeof(e); } : operate (e) { return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : _typeof(e); })(e); } var i = "spotx", B = { consented_providers: ["3"https://news.google.com/__i/rss/rd/articles/,"7"https://news.google.com/__i/rss/rd/articles/,"11"https://news.google.com/__i/rss/rd/articles/,"12"https://news.google.com/__i/rss/rd/articles/,"15"https://news.google.com/__i/rss/rd/articles/,"20"https://news.google.com/__i/rss/rd/articles/,"22"https://news.google.com/__i/rss/rd/articles/,"35"https://news.google.com/__i/rss/rd/articles/,"43"https://news.google.com/__i/rss/rd/articles/,"46"https://news.google.com/__i/rss/rd/articles/,"48"https://news.google.com/__i/rss/rd/articles/,"55"https://news.google.com/__i/rss/rd/articles/,"57"https://news.google.com/__i/rss/rd/articles/,"61"https://news.google.com/__i/rss/rd/articles/,"62"https://news.google.com/__i/rss/rd/articles/,"66"https://news.google.com/__i/rss/rd/articles/,"70"https://news.google.com/__i/rss/rd/articles/,"80"https://news.google.com/__i/rss/rd/articles/,"83"https://news.google.com/__i/rss/rd/articles/,"85"https://news.google.com/__i/rss/rd/articles/,"86"https://news.google.com/__i/rss/rd/articles/,"89"https://news.google.com/__i/rss/rd/articles/,"93"https://news.google.com/__i/rss/rd/articles/,"108"https://news.google.com/__i/rss/rd/articles/,"122"https://news.google.com/__i/rss/rd/articles/,"124"https://news.google.com/__i/rss/rd/articles/,"125"https://news.google.com/__i/rss/rd/articles/,"126"https://news.google.com/__i/rss/rd/articles/,"131"https://news.google.com/__i/rss/rd/articles/,"134"https://news.google.com/__i/rss/rd/articles/,"135"https://news.google.com/__i/rss/rd/articles/,"136"https://news.google.com/__i/rss/rd/articles/,"143"https://news.google.com/__i/rss/rd/articles/,"144"https://news.google.com/__i/rss/rd/articles/,"147"https://news.google.com/__i/rss/rd/articles/,"149"https://news.google.com/__i/rss/rd/articles/,"153"https://news.google.com/__i/rss/rd/articles/,"154"https://news.google.com/__i/rss/rd/articles/,"159"https://news.google.com/__i/rss/rd/articles/,"161"https://news.google.com/__i/rss/rd/articles/,"162"https://news.google.com/__i/rss/rd/articles/,"165"https://news.google.com/__i/rss/rd/articles/,"167"https://news.google.com/__i/rss/rd/articles/,"171"https://news.google.com/__i/rss/rd/articles/,"178"https://news.google.com/__i/rss/rd/articles/,"184"https://news.google.com/__i/rss/rd/articles/,"188"https://news.google.com/__i/rss/rd/articles/,"192"https://news.google.com/__i/rss/rd/articles/,"195"https://news.google.com/__i/rss/rd/articles/,"196"https://news.google.com/__i/rss/rd/articles/,"202"https://news.google.com/__i/rss/rd/articles/,"209"https://news.google.com/__i/rss/rd/articles/,"211"https://news.google.com/__i/rss/rd/articles/,"218"https://news.google.com/__i/rss/rd/articles/,"221"https://news.google.com/__i/rss/rd/articles/,"228"https://news.google.com/__i/rss/rd/articles/,"229"https://news.google.com/__i/rss/rd/articles/,"230"https://news.google.com/__i/rss/rd/articles/,"236"https://news.google.com/__i/rss/rd/articles/,"239"https://news.google.com/__i/rss/rd/articles/,"241"https://news.google.com/__i/rss/rd/articles/,"253"https://news.google.com/__i/rss/rd/articles/,"255"https://news.google.com/__i/rss/rd/articles/,"259"https://news.google.com/__i/rss/rd/articles/,"266"https://news.google.com/__i/rss/rd/articles/,"271"https://news.google.com/__i/rss/rd/articles/,"272"https://news.google.com/__i/rss/rd/articles/,"274"https://news.google.com/__i/rss/rd/articles/,"286"https://news.google.com/__i/rss/rd/articles/,"291"https://news.google.com/__i/rss/rd/articles/,"294"https://news.google.com/__i/rss/rd/articles/,"303"https://news.google.com/__i/rss/rd/articles/,"308"https://news.google.com/__i/rss/rd/articles/,"310"https://news.google.com/__i/rss/rd/articles/,"311"https://news.google.com/__i/rss/rd/articles/,"313"https://news.google.com/__i/rss/rd/articles/,"314"https://news.google.com/__i/rss/rd/articles/,"316"https://news.google.com/__i/rss/rd/articles/,"317"https://news.google.com/__i/rss/rd/articles/,"322"https://news.google.com/__i/rss/rd/articles/,"323"https://news.google.com/__i/rss/rd/articles/,"327"https://news.google.com/__i/rss/rd/articles/,"336"https://news.google.com/__i/rss/rd/articles/,"338"https://news.google.com/__i/rss/rd/articles/,"340"https://news.google.com/__i/rss/rd/articles/,"348"https://news.google.com/__i/rss/rd/articles/,"350"https://news.google.com/__i/rss/rd/articles/,"358"https://news.google.com/__i/rss/rd/articles/,"359"https://news.google.com/__i/rss/rd/articles/,"363"https://news.google.com/__i/rss/rd/articles/,"367"https://news.google.com/__i/rss/rd/articles/,"370"https://news.google.com/__i/rss/rd/articles/,"371"https://news.google.com/__i/rss/rd/articles/,"384"https://news.google.com/__i/rss/rd/articles/,"385"https://news.google.com/__i/rss/rd/articles/,"389"https://news.google.com/__i/rss/rd/articles/,"393"https://news.google.com/__i/rss/rd/articles/,"394"https://news.google.com/__i/rss/rd/articles/,"397"https://news.google.com/__i/rss/rd/articles/,"398"https://news.google.com/__i/rss/rd/articles/,"407"https://news.google.com/__i/rss/rd/articles/,"414"https://news.google.com/__i/rss/rd/articles/,"415"https://news.google.com/__i/rss/rd/articles/,"424"https://news.google.com/__i/rss/rd/articles/,"429"https://news.google.com/__i/rss/rd/articles/,"430"https://news.google.com/__i/rss/rd/articles/,"432"https://news.google.com/__i/rss/rd/articles/,"436"https://news.google.com/__i/rss/rd/articles/,"438"https://news.google.com/__i/rss/rd/articles/,"440"https://news.google.com/__i/rss/rd/articles/,"442"https://news.google.com/__i/rss/rd/articles/,"443"https://news.google.com/__i/rss/rd/articles/,"445"https://news.google.com/__i/rss/rd/articles/,"448"https://news.google.com/__i/rss/rd/articles/,"449"https://news.google.com/__i/rss/rd/articles/,"453"https://news.google.com/__i/rss/rd/articles/,"459"https://news.google.com/__i/rss/rd/articles/,"479"https://news.google.com/__i/rss/rd/articles/,"482"https://news.google.com/__i/rss/rd/articles/,"486"https://news.google.com/__i/rss/rd/articles/,"491"https://news.google.com/__i/rss/rd/articles/,"492"https://news.google.com/__i/rss/rd/articles/,"494"https://news.google.com/__i/rss/rd/articles/,"495"https://news.google.com/__i/rss/rd/articles/,"503"https://news.google.com/__i/rss/rd/articles/,"505"https://news.google.com/__i/rss/rd/articles/,"510"https://news.google.com/__i/rss/rd/articles/,"522"https://news.google.com/__i/rss/rd/articles/,"523"https://news.google.com/__i/rss/rd/articles/,"528"https://news.google.com/__i/rss/rd/articles/,"537"https://news.google.com/__i/rss/rd/articles/,"540"https://news.google.com/__i/rss/rd/articles/,"550"https://news.google.com/__i/rss/rd/articles/,"559"https://news.google.com/__i/rss/rd/articles/,"560"https://news.google.com/__i/rss/rd/articles/,"568"https://news.google.com/__i/rss/rd/articles/,"571"https://news.google.com/__i/rss/rd/articles/,"574"https://news.google.com/__i/rss/rd/articles/,"575"https://news.google.com/__i/rss/rd/articles/,"576"https://news.google.com/__i/rss/rd/articles/,"584"https://news.google.com/__i/rss/rd/articles/,"585"https://news.google.com/__i/rss/rd/articles/,"587"https://news.google.com/__i/rss/rd/articles/,"588"https://news.google.com/__i/rss/rd/articles/,"590"https://news.google.com/__i/rss/rd/articles/,"591"https://news.google.com/__i/rss/rd/articles/,"592"https://news.google.com/__i/rss/rd/articles/,"595"https://news.google.com/__i/rss/rd/articles/,"609"https://news.google.com/__i/rss/rd/articles/,"621"https://news.google.com/__i/rss/rd/articles/,"624"https://news.google.com/__i/rss/rd/articles/,"723"https://news.google.com/__i/rss/rd/articles/,"725"https://news.google.com/__i/rss/rd/articles/,"733"https://news.google.com/__i/rss/rd/articles/,"737"https://news.google.com/__i/rss/rd/articles/,"776"https://news.google.com/__i/rss/rd/articles/,"780"https://news.google.com/__i/rss/rd/articles/,"782"https://news.google.com/__i/rss/rd/articles/,"787"https://news.google.com/__i/rss/rd/articles/,"797"https://news.google.com/__i/rss/rd/articles/,"798"https://news.google.com/__i/rss/rd/articles/,"802"https://news.google.com/__i/rss/rd/articles/,"803"https://news.google.com/__i/rss/rd/articles/,"814"https://news.google.com/__i/rss/rd/articles/,"817"https://news.google.com/__i/rss/rd/articles/,"820"https://news.google.com/__i/rss/rd/articles/,"821"https://news.google.com/__i/rss/rd/articles/,"827"https://news.google.com/__i/rss/rd/articles/,"829"https://news.google.com/__i/rss/rd/articles/,"839"https://news.google.com/__i/rss/rd/articles/,"853"https://news.google.com/__i/rss/rd/articles/,"864"https://news.google.com/__i/rss/rd/articles/,"867"https://news.google.com/__i/rss/rd/articles/,"874"https://news.google.com/__i/rss/rd/articles/,"899"https://news.google.com/__i/rss/rd/articles/,"904"https://news.google.com/__i/rss/rd/articles/,"922"https://news.google.com/__i/rss/rd/articles/,"926"https://news.google.com/__i/rss/rd/articles/,"931"https://news.google.com/__i/rss/rd/articles/,"932"https://news.google.com/__i/rss/rd/articles/,"933"https://news.google.com/__i/rss/rd/articles/,"938"https://news.google.com/__i/rss/rd/articles/,"955"https://news.google.com/__i/rss/rd/articles/,"973"https://news.google.com/__i/rss/rd/articles/,"976"https://news.google.com/__i/rss/rd/articles/,"979"https://news.google.com/__i/rss/rd/articles/,"981"https://news.google.com/__i/rss/rd/articles/,"985"https://news.google.com/__i/rss/rd/articles/,"987"https://news.google.com/__i/rss/rd/articles/,"991"https://news.google.com/__i/rss/rd/articles/,"1003"https://news.google.com/__i/rss/rd/articles/,"1024"https://news.google.com/__i/rss/rd/articles/,"1025"https://news.google.com/__i/rss/rd/articles/,"1027"https://news.google.com/__i/rss/rd/articles/,"1028"https://news.google.com/__i/rss/rd/articles/,"1029"https://news.google.com/__i/rss/rd/articles/,"1033"https://news.google.com/__i/rss/rd/articles/,"1034"https://news.google.com/__i/rss/rd/articles/,"1040"https://news.google.com/__i/rss/rd/articles/,"1047"https://news.google.com/__i/rss/rd/articles/,"1048"https://news.google.com/__i/rss/rd/articles/,"1051"https://news.google.com/__i/rss/rd/articles/,"1052"https://news.google.com/__i/rss/rd/articles/,"1053"https://news.google.com/__i/rss/rd/articles/,"1054"https://news.google.com/__i/rss/rd/articles/,"1062"https://news.google.com/__i/rss/rd/articles/,"1063"https://news.google.com/__i/rss/rd/articles/,"1067"https://news.google.com/__i/rss/rd/articles/,"1072"https://news.google.com/__i/rss/rd/articles/,"1085"https://news.google.com/__i/rss/rd/articles/,"1092"https://news.google.com/__i/rss/rd/articles/,"1095"https://news.google.com/__i/rss/rd/articles/,"1097"https://news.google.com/__i/rss/rd/articles/,"1099"https://news.google.com/__i/rss/rd/articles/,"1100"https://news.google.com/__i/rss/rd/articles/,"1107"https://news.google.com/__i/rss/rd/articles/,"1126"https://news.google.com/__i/rss/rd/articles/,"1127"https://news.google.com/__i/rss/rd/articles/,"1143"https://news.google.com/__i/rss/rd/articles/,"1149"https://news.google.com/__i/rss/rd/articles/,"1152"https://news.google.com/__i/rss/rd/articles/,"1162"https://news.google.com/__i/rss/rd/articles/,"1166"https://news.google.com/__i/rss/rd/articles/,"1167"https://news.google.com/__i/rss/rd/articles/,"1170"https://news.google.com/__i/rss/rd/articles/,"1171"https://news.google.com/__i/rss/rd/articles/,"1172"https://news.google.com/__i/rss/rd/articles/,"1188"https://news.google.com/__i/rss/rd/articles/,"1192"https://news.google.com/__i/rss/rd/articles/,"1199"https://news.google.com/__i/rss/rd/articles/,"1201"https://news.google.com/__i/rss/rd/articles/,"1204"https://news.google.com/__i/rss/rd/articles/,"1205"https://news.google.com/__i/rss/rd/articles/,"1211"https://news.google.com/__i/rss/rd/articles/,"1212"https://news.google.com/__i/rss/rd/articles/,"1215"https://news.google.com/__i/rss/rd/articles/,"1220"https://news.google.com/__i/rss/rd/articles/,"1225"https://news.google.com/__i/rss/rd/articles/,"1226"https://news.google.com/__i/rss/rd/articles/,"1227"https://news.google.com/__i/rss/rd/articles/,"1230"https://news.google.com/__i/rss/rd/articles/,"1232"https://news.google.com/__i/rss/rd/articles/,"1236"https://news.google.com/__i/rss/rd/articles/,"1241"https://news.google.com/__i/rss/rd/articles/,"1248"https://news.google.com/__i/rss/rd/articles/,"1250"https://news.google.com/__i/rss/rd/articles/,"1252"https://news.google.com/__i/rss/rd/articles/,"1268"https://news.google.com/__i/rss/rd/articles/,"1275"https://news.google.com/__i/rss/rd/articles/,"1276"https://news.google.com/__i/rss/rd/articles/,"1284"https://news.google.com/__i/rss/rd/articles/,"1286"https://news.google.com/__i/rss/rd/articles/,"1298"https://news.google.com/__i/rss/rd/articles/,"1301"https://news.google.com/__i/rss/rd/articles/,"1307"https://news.google.com/__i/rss/rd/articles/,"1312"https://news.google.com/__i/rss/rd/articles/,"1313"https://news.google.com/__i/rss/rd/articles/,"1317"https://news.google.com/__i/rss/rd/articles/,"1329"https://news.google.com/__i/rss/rd/articles/,"1336"https://news.google.com/__i/rss/rd/articles/,"1344"https://news.google.com/__i/rss/rd/articles/,"1345"https://news.google.com/__i/rss/rd/articles/,"1356"https://news.google.com/__i/rss/rd/articles/,"1362"https://news.google.com/__i/rss/rd/articles/,"1365"https://news.google.com/__i/rss/rd/articles/,"1375"https://news.google.com/__i/rss/rd/articles/,"1403"https://news.google.com/__i/rss/rd/articles/,"1409"https://news.google.com/__i/rss/rd/articles/,"1411"https://news.google.com/__i/rss/rd/articles/,"1415"https://news.google.com/__i/rss/rd/articles/,"1416"https://news.google.com/__i/rss/rd/articles/,"1419"https://news.google.com/__i/rss/rd/articles/,"1423"https://news.google.com/__i/rss/rd/articles/,"1440"https://news.google.com/__i/rss/rd/articles/,"1442"https://news.google.com/__i/rss/rd/articles/,"1449"https://news.google.com/__i/rss/rd/articles/,"1451"https://news.google.com/__i/rss/rd/articles/,"1455"https://news.google.com/__i/rss/rd/articles/,"1456"https://news.google.com/__i/rss/rd/articles/,"1468"https://news.google.com/__i/rss/rd/articles/,"1496"https://news.google.com/__i/rss/rd/articles/,"1503"https://news.google.com/__i/rss/rd/articles/,"1509"https://news.google.com/__i/rss/rd/articles/,"1512"https://news.google.com/__i/rss/rd/articles/,"1514"https://news.google.com/__i/rss/rd/articles/,"1517"https://news.google.com/__i/rss/rd/articles/,"1520"https://news.google.com/__i/rss/rd/articles/,"1525"https://news.google.com/__i/rss/rd/articles/,"1540"https://news.google.com/__i/rss/rd/articles/,"1547"https://news.google.com/__i/rss/rd/articles/,"1548"https://news.google.com/__i/rss/rd/articles/,"1555"https://news.google.com/__i/rss/rd/articles/,"1558"https://news.google.com/__i/rss/rd/articles/,"1570"https://news.google.com/__i/rss/rd/articles/,"1575"https://news.google.com/__i/rss/rd/articles/,"1577"https://news.google.com/__i/rss/rd/articles/,"1579"https://news.google.com/__i/rss/rd/articles/,"1583"https://news.google.com/__i/rss/rd/articles/,"1584"https://news.google.com/__i/rss/rd/articles/,"1591"https://news.google.com/__i/rss/rd/articles/,"1598"https://news.google.com/__i/rss/rd/articles/,"1603"https://news.google.com/__i/rss/rd/articles/,"1608"https://news.google.com/__i/rss/rd/articles/,"1613"https://news.google.com/__i/rss/rd/articles/,"1616"https://news.google.com/__i/rss/rd/articles/,"1626"https://news.google.com/__i/rss/rd/articles/,"1631"https://news.google.com/__i/rss/rd/articles/,"1633"https://news.google.com/__i/rss/rd/articles/,"1638"https://news.google.com/__i/rss/rd/articles/,"1642"https://news.google.com/__i/rss/rd/articles/,"1648"https://news.google.com/__i/rss/rd/articles/,"1651"https://news.google.com/__i/rss/rd/articles/,"1652"https://news.google.com/__i/rss/rd/articles/,"1653"https://news.google.com/__i/rss/rd/articles/,"1660"https://news.google.com/__i/rss/rd/articles/,"1665"https://news.google.com/__i/rss/rd/articles/,"1667"https://news.google.com/__i/rss/rd/articles/,"1669"https://news.google.com/__i/rss/rd/articles/,"1671"https://news.google.com/__i/rss/rd/articles/,"1674"https://news.google.com/__i/rss/rd/articles/,"1677"https://news.google.com/__i/rss/rd/articles/,"1678"https://news.google.com/__i/rss/rd/articles/,"1682"https://news.google.com/__i/rss/rd/articles/,"1684"https://news.google.com/__i/rss/rd/articles/,"1697"https://news.google.com/__i/rss/rd/articles/,"1703"https://news.google.com/__i/rss/rd/articles/,"1705"https://news.google.com/__i/rss/rd/articles/,"1716"https://news.google.com/__i/rss/rd/articles/,"1720"https://news.google.com/__i/rss/rd/articles/,"1721"https://news.google.com/__i/rss/rd/articles/,"1722"https://news.google.com/__i/rss/rd/articles/,"1725"https://news.google.com/__i/rss/rd/articles/,"1732"https://news.google.com/__i/rss/rd/articles/,"1733"https://news.google.com/__i/rss/rd/articles/,"1735"https://news.google.com/__i/rss/rd/articles/,"1739"https://news.google.com/__i/rss/rd/articles/,"1741"https://news.google.com/__i/rss/rd/articles/,"1745"https://news.google.com/__i/rss/rd/articles/,"1750"https://news.google.com/__i/rss/rd/articles/,"1753"https://news.google.com/__i/rss/rd/articles/,"1760"https://news.google.com/__i/rss/rd/articles/,"1765"https://news.google.com/__i/rss/rd/articles/,"1769"https://news.google.com/__i/rss/rd/articles/,"1776"https://news.google.com/__i/rss/rd/articles/,"1780"https://news.google.com/__i/rss/rd/articles/,"1782"https://news.google.com/__i/rss/rd/articles/,"1786"https://news.google.com/__i/rss/rd/articles/,"1791"https://news.google.com/__i/rss/rd/articles/,"1794"https://news.google.com/__i/rss/rd/articles/,"1799"https://news.google.com/__i/rss/rd/articles/,"1800"https://news.google.com/__i/rss/rd/articles/,"1801"https://news.google.com/__i/rss/rd/articles/,"1810"https://news.google.com/__i/rss/rd/articles/,"1827"https://news.google.com/__i/rss/rd/articles/,"1831"https://news.google.com/__i/rss/rd/articles/,"1832"https://news.google.com/__i/rss/rd/articles/,"1834"https://news.google.com/__i/rss/rd/articles/,"1837"https://news.google.com/__i/rss/rd/articles/,"1840"https://news.google.com/__i/rss/rd/articles/,"1843"https://news.google.com/__i/rss/rd/articles/,"1844"https://news.google.com/__i/rss/rd/articles/,"1845"https://news.google.com/__i/rss/rd/articles/,"1858"https://news.google.com/__i/rss/rd/articles/,"1859"https://news.google.com/__i/rss/rd/articles/,"1863"https://news.google.com/__i/rss/rd/articles/,"1866"https://news.google.com/__i/rss/rd/articles/,"1870"https://news.google.com/__i/rss/rd/articles/,"1872"https://news.google.com/__i/rss/rd/articles/,"1875"https://news.google.com/__i/rss/rd/articles/,"1878"https://news.google.com/__i/rss/rd/articles/,"1880"https://news.google.com/__i/rss/rd/articles/,"1882"https://news.google.com/__i/rss/rd/articles/,"1883"https://news.google.com/__i/rss/rd/articles/,"1889"https://news.google.com/__i/rss/rd/articles/,"1892"https://news.google.com/__i/rss/rd/articles/,"1896"https://news.google.com/__i/rss/rd/articles/,"1898"https://news.google.com/__i/rss/rd/articles/,"1899"https://news.google.com/__i/rss/rd/articles/,"1902"https://news.google.com/__i/rss/rd/articles/,"1905"https://news.google.com/__i/rss/rd/articles/,"1911"https://news.google.com/__i/rss/rd/articles/,"1922"https://news.google.com/__i/rss/rd/articles/,"1928"https://news.google.com/__i/rss/rd/articles/,"1929"https://news.google.com/__i/rss/rd/articles/,"1934"https://news.google.com/__i/rss/rd/articles/,"1942"https://news.google.com/__i/rss/rd/articles/,"1943"https://news.google.com/__i/rss/rd/articles/,"1944"https://news.google.com/__i/rss/rd/articles/,"1945"https://news.google.com/__i/rss/rd/articles/,"1958"https://news.google.com/__i/rss/rd/articles/,"1960"https://news.google.com/__i/rss/rd/articles/,"1962"https://news.google.com/__i/rss/rd/articles/,"1963"https://news.google.com/__i/rss/rd/articles/,"1964"https://news.google.com/__i/rss/rd/articles/,"1967"https://news.google.com/__i/rss/rd/articles/,"1968"https://news.google.com/__i/rss/rd/articles/,"1978"https://news.google.com/__i/rss/rd/articles/,"1985"https://news.google.com/__i/rss/rd/articles/,"1986"https://news.google.com/__i/rss/rd/articles/,"1987"https://news.google.com/__i/rss/rd/articles/,"1998"https://news.google.com/__i/rss/rd/articles/,"2003"https://news.google.com/__i/rss/rd/articles/,"2007"https://news.google.com/__i/rss/rd/articles/,"2012"https://news.google.com/__i/rss/rd/articles/,"2013"https://news.google.com/__i/rss/rd/articles/,"2027"https://news.google.com/__i/rss/rd/articles/,"2035"https://news.google.com/__i/rss/rd/articles/,"2038"https://news.google.com/__i/rss/rd/articles/,"2039"https://news.google.com/__i/rss/rd/articles/,"2044"https://news.google.com/__i/rss/rd/articles/,"2047"https://news.google.com/__i/rss/rd/articles/,"2052"https://news.google.com/__i/rss/rd/articles/,"2056"https://news.google.com/__i/rss/rd/articles/,"2059"https://news.google.com/__i/rss/rd/articles/,"2062"https://news.google.com/__i/rss/rd/articles/,"2064"https://news.google.com/__i/rss/rd/articles/,"2068"https://news.google.com/__i/rss/rd/articles/,"2070"https://news.google.com/__i/rss/rd/articles/,"2072"https://news.google.com/__i/rss/rd/articles/,"2078"https://news.google.com/__i/rss/rd/articles/,"2079"https://news.google.com/__i/rss/rd/articles/,"2084"https://news.google.com/__i/rss/rd/articles/,"2088"https://news.google.com/__i/rss/rd/articles/,"2090"https://news.google.com/__i/rss/rd/articles/,"2095"https://news.google.com/__i/rss/rd/articles/,"2100"https://news.google.com/__i/rss/rd/articles/,"2103"https://news.google.com/__i/rss/rd/articles/,"2107"https://news.google.com/__i/rss/rd/articles/,"2109"https://news.google.com/__i/rss/rd/articles/,"2113"https://news.google.com/__i/rss/rd/articles/,"2115"https://news.google.com/__i/rss/rd/articles/,"2121"https://news.google.com/__i/rss/rd/articles/,"2127"https://news.google.com/__i/rss/rd/articles/,"2130"https://news.google.com/__i/rss/rd/articles/,"2133"https://news.google.com/__i/rss/rd/articles/,"2137"https://news.google.com/__i/rss/rd/articles/,"2140"https://news.google.com/__i/rss/rd/articles/,"2141"https://news.google.com/__i/rss/rd/articles/,"2145"https://news.google.com/__i/rss/rd/articles/,"2147"https://news.google.com/__i/rss/rd/articles/,"2150"https://news.google.com/__i/rss/rd/articles/,"2156"https://news.google.com/__i/rss/rd/articles/,"2166"https://news.google.com/__i/rss/rd/articles/,"2170"https://news.google.com/__i/rss/rd/articles/,"2171"https://news.google.com/__i/rss/rd/articles/,"2176"https://news.google.com/__i/rss/rd/articles/,"2177"https://news.google.com/__i/rss/rd/articles/,"2179"https://news.google.com/__i/rss/rd/articles/,"2183"https://news.google.com/__i/rss/rd/articles/,"2186"https://news.google.com/__i/rss/rd/articles/,"2192"https://news.google.com/__i/rss/rd/articles/,"2198"https://news.google.com/__i/rss/rd/articles/,"2202"https://news.google.com/__i/rss/rd/articles/,"2205"https://news.google.com/__i/rss/rd/articles/,"2214"https://news.google.com/__i/rss/rd/articles/,"2216"https://news.google.com/__i/rss/rd/articles/,"2219"https://news.google.com/__i/rss/rd/articles/,"2220"https://news.google.com/__i/rss/rd/articles/,"2222"https://news.google.com/__i/rss/rd/articles/,"2223"https://news.google.com/__i/rss/rd/articles/,"2224"https://news.google.com/__i/rss/rd/articles/,"2225"https://news.google.com/__i/rss/rd/articles/,"2227"https://news.google.com/__i/rss/rd/articles/,"2228"https://news.google.com/__i/rss/rd/articles/,"2234"https://news.google.com/__i/rss/rd/articles/,"2238"https://news.google.com/__i/rss/rd/articles/,"2247"https://news.google.com/__i/rss/rd/articles/,"2251"https://news.google.com/__i/rss/rd/articles/,"2253"https://news.google.com/__i/rss/rd/articles/,"2262"https://news.google.com/__i/rss/rd/articles/,"2264"https://news.google.com/__i/rss/rd/articles/,"2271"https://news.google.com/__i/rss/rd/articles/,"2276"https://news.google.com/__i/rss/rd/articles/,"2278"https://news.google.com/__i/rss/rd/articles/,"2279"https://news.google.com/__i/rss/rd/articles/,"2282"https://news.google.com/__i/rss/rd/articles/,"2290"https://news.google.com/__i/rss/rd/articles/,"2292"https://news.google.com/__i/rss/rd/articles/,"2295"https://news.google.com/__i/rss/rd/articles/,"2299"https://news.google.com/__i/rss/rd/articles/,"2305"https://news.google.com/__i/rss/rd/articles/,"2306"https://news.google.com/__i/rss/rd/articles/,"2310"https://news.google.com/__i/rss/rd/articles/,"2311"https://news.google.com/__i/rss/rd/articles/,"2312"https://news.google.com/__i/rss/rd/articles/,"2315"https://news.google.com/__i/rss/rd/articles/,"2320"https://news.google.com/__i/rss/rd/articles/,"2325"https://news.google.com/__i/rss/rd/articles/,"2328"https://news.google.com/__i/rss/rd/articles/,"2331"https://news.google.com/__i/rss/rd/articles/,"2334"https://news.google.com/__i/rss/rd/articles/,"2335"https://news.google.com/__i/rss/rd/articles/,"2336"https://news.google.com/__i/rss/rd/articles/,"2337"https://news.google.com/__i/rss/rd/articles/,"2343"https://news.google.com/__i/rss/rd/articles/,"2346"https://news.google.com/__i/rss/rd/articles/,"2354"https://news.google.com/__i/rss/rd/articles/,"2357"https://news.google.com/__i/rss/rd/articles/,"2358"https://news.google.com/__i/rss/rd/articles/,"2359"https://news.google.com/__i/rss/rd/articles/,"2366"https://news.google.com/__i/rss/rd/articles/,"2370"https://news.google.com/__i/rss/rd/articles/,"2373"https://news.google.com/__i/rss/rd/articles/,"2376"https://news.google.com/__i/rss/rd/articles/,"2377"https://news.google.com/__i/rss/rd/articles/,"2380"https://news.google.com/__i/rss/rd/articles/,"2382"https://news.google.com/__i/rss/rd/articles/,"2387"https://news.google.com/__i/rss/rd/articles/,"2389"https://news.google.com/__i/rss/rd/articles/,"2392"https://news.google.com/__i/rss/rd/articles/,"2394"https://news.google.com/__i/rss/rd/articles/,"2400"https://news.google.com/__i/rss/rd/articles/,"2403"https://news.google.com/__i/rss/rd/articles/,"2405"https://news.google.com/__i/rss/rd/articles/,"2406"https://news.google.com/__i/rss/rd/articles/,"2407"https://news.google.com/__i/rss/rd/articles/,"2410"https://news.google.com/__i/rss/rd/articles/,"2411"https://news.google.com/__i/rss/rd/articles/,"2413"https://news.google.com/__i/rss/rd/articles/,"2414"https://news.google.com/__i/rss/rd/articles/,"2415"https://news.google.com/__i/rss/rd/articles/,"2416"https://news.google.com/__i/rss/rd/articles/,"2418"https://news.google.com/__i/rss/rd/articles/,"2422"https://news.google.com/__i/rss/rd/articles/,"2425"https://news.google.com/__i/rss/rd/articles/,"2427"https://news.google.com/__i/rss/rd/articles/,"2435"https://news.google.com/__i/rss/rd/articles/,"2437"https://news.google.com/__i/rss/rd/articles/,"2440"https://news.google.com/__i/rss/rd/articles/,"2441"https://news.google.com/__i/rss/rd/articles/,"2447"https://news.google.com/__i/rss/rd/articles/,"2453"https://news.google.com/__i/rss/rd/articles/,"2459"https://news.google.com/__i/rss/rd/articles/,"2461"https://news.google.com/__i/rss/rd/articles/,"2462"https://news.google.com/__i/rss/rd/articles/,"2464"https://news.google.com/__i/rss/rd/articles/,"2467"https://news.google.com/__i/rss/rd/articles/,"2468"https://news.google.com/__i/rss/rd/articles/,"2472"https://news.google.com/__i/rss/rd/articles/,"2477"https://news.google.com/__i/rss/rd/articles/,"2481"https://news.google.com/__i/rss/rd/articles/,"2484"https://news.google.com/__i/rss/rd/articles/,"2486"https://news.google.com/__i/rss/rd/articles/,"2492"https://news.google.com/__i/rss/rd/articles/,"2493"https://news.google.com/__i/rss/rd/articles/,"2496"https://news.google.com/__i/rss/rd/articles/,"2497"https://news.google.com/__i/rss/rd/articles/,"2498"https://news.google.com/__i/rss/rd/articles/,"2499"https://news.google.com/__i/rss/rd/articles/,"2504"https://news.google.com/__i/rss/rd/articles/,"2506"https://news.google.com/__i/rss/rd/articles/,"2510"https://news.google.com/__i/rss/rd/articles/,"2511"https://news.google.com/__i/rss/rd/articles/,"2512"https://news.google.com/__i/rss/rd/articles/,"2517"https://news.google.com/__i/rss/rd/articles/,"2526"https://news.google.com/__i/rss/rd/articles/,"2527"https://news.google.com/__i/rss/rd/articles/,"2531"https://news.google.com/__i/rss/rd/articles/,"2532"https://news.google.com/__i/rss/rd/articles/,"2534"https://news.google.com/__i/rss/rd/articles/,"2542"https://news.google.com/__i/rss/rd/articles/,"2544"https://news.google.com/__i/rss/rd/articles/,"2552"https://news.google.com/__i/rss/rd/articles/,"2555"https://news.google.com/__i/rss/rd/articles/,"2559"https://news.google.com/__i/rss/rd/articles/,"2563"https://news.google.com/__i/rss/rd/articles/,"2564"https://news.google.com/__i/rss/rd/articles/,"2567"https://news.google.com/__i/rss/rd/articles/,"2568"https://news.google.com/__i/rss/rd/articles/,"2569"https://news.google.com/__i/rss/rd/articles/,"2571"https://news.google.com/__i/rss/rd/articles/,"2572"https://news.google.com/__i/rss/rd/articles/,"2573"https://news.google.com/__i/rss/rd/articles/,"2575"https://news.google.com/__i/rss/rd/articles/,"2577"https://news.google.com/__i/rss/rd/articles/,"2579"https://news.google.com/__i/rss/rd/articles/,"2583"https://news.google.com/__i/rss/rd/articles/,"2584"https://news.google.com/__i/rss/rd/articles/,"2586"https://news.google.com/__i/rss/rd/articles/,"2589"https://news.google.com/__i/rss/rd/articles/,"2595"https://news.google.com/__i/rss/rd/articles/,"2596"https://news.google.com/__i/rss/rd/articles/,"2597"https://news.google.com/__i/rss/rd/articles/,"2601"https://news.google.com/__i/rss/rd/articles/,"2604"https://news.google.com/__i/rss/rd/articles/,"2605"https://news.google.com/__i/rss/rd/articles/,"2609"https://news.google.com/__i/rss/rd/articles/,"2610"https://news.google.com/__i/rss/rd/articles/,"2612"https://news.google.com/__i/rss/rd/articles/,"2614"https://news.google.com/__i/rss/rd/articles/,"2621"https://news.google.com/__i/rss/rd/articles/,"2622"https://news.google.com/__i/rss/rd/articles/,"2624"https://news.google.com/__i/rss/rd/articles/,"2628"https://news.google.com/__i/rss/rd/articles/,"2629"https://news.google.com/__i/rss/rd/articles/,"2632"https://news.google.com/__i/rss/rd/articles/,"2634"https://news.google.com/__i/rss/rd/articles/,"2636"https://news.google.com/__i/rss/rd/articles/,"2639"https://news.google.com/__i/rss/rd/articles/,"2643"https://news.google.com/__i/rss/rd/articles/,"2645"https://news.google.com/__i/rss/rd/articles/,"2646"https://news.google.com/__i/rss/rd/articles/,"2647"https://news.google.com/__i/rss/rd/articles/,"2649"https://news.google.com/__i/rss/rd/articles/,"2650"https://news.google.com/__i/rss/rd/articles/,"2651"https://news.google.com/__i/rss/rd/articles/,"2652"https://news.google.com/__i/rss/rd/articles/,"2656"https://news.google.com/__i/rss/rd/articles/,"2657"https://news.google.com/__i/rss/rd/articles/,"2658"https://news.google.com/__i/rss/rd/articles/,"2660"https://news.google.com/__i/rss/rd/articles/,"2661"https://news.google.com/__i/rss/rd/articles/,"2662"https://news.google.com/__i/rss/rd/articles/,"2663"https://news.google.com/__i/rss/rd/articles/,"2664"https://news.google.com/__i/rss/rd/articles/,"2669"https://news.google.com/__i/rss/rd/articles/,"2670"https://news.google.com/__i/rss/rd/articles/,"2673"https://news.google.com/__i/rss/rd/articles/,"2676"https://news.google.com/__i/rss/rd/articles/,"2677"https://news.google.com/__i/rss/rd/articles/,"2678"https://news.google.com/__i/rss/rd/articles/,"2681"https://news.google.com/__i/rss/rd/articles/,"2682"https://news.google.com/__i/rss/rd/articles/,"2684"https://news.google.com/__i/rss/rd/articles/,"2685"https://news.google.com/__i/rss/rd/articles/,"2686"https://news.google.com/__i/rss/rd/articles/,"2689"https://news.google.com/__i/rss/rd/articles/,"2690"https://news.google.com/__i/rss/rd/articles/,"2691"https://news.google.com/__i/rss/rd/articles/,"2695"https://news.google.com/__i/rss/rd/articles/,"2698"https://news.google.com/__i/rss/rd/articles/,"2699"https://news.google.com/__i/rss/rd/articles/,"2702"https://news.google.com/__i/rss/rd/articles/,"2704"https://news.google.com/__i/rss/rd/articles/,"2705"https://news.google.com/__i/rss/rd/articles/,"2706"https://news.google.com/__i/rss/rd/articles/,"2707"https://news.google.com/__i/rss/rd/articles/,"2709"https://news.google.com/__i/rss/rd/articles/,"2710"https://news.google.com/__i/rss/rd/articles/,"2713"https://news.google.com/__i/rss/rd/articles/,"2714"https://news.google.com/__i/rss/rd/articles/,"2727"https://news.google.com/__i/rss/rd/articles/,"2729"https://news.google.com/__i/rss/rd/articles/,"2739"https://news.google.com/__i/rss/rd/articles/,"2758"https://news.google.com/__i/rss/rd/articles/,"2765"https://news.google.com/__i/rss/rd/articles/,"2766"https://news.google.com/__i/rss/rd/articles/,"2767"https://news.google.com/__i/rss/rd/articles/,"2768"https://news.google.com/__i/rss/rd/articles/,"2770"https://news.google.com/__i/rss/rd/articles/,"2771"https://news.google.com/__i/rss/rd/articles/,"2772"https://news.google.com/__i/rss/rd/articles/,"2776"https://news.google.com/__i/rss/rd/articles/,"2777"https://news.google.com/__i/rss/rd/articles/,"2778"https://news.google.com/__i/rss/rd/articles/,"2779"https://news.google.com/__i/rss/rd/articles/,"2780"https://news.google.com/__i/rss/rd/articles/,"2783"https://news.google.com/__i/rss/rd/articles/,"2784"https://news.google.com/__i/rss/rd/articles/,"2786"https://news.google.com/__i/rss/rd/articles/,"2787"https://news.google.com/__i/rss/rd/articles/,"2791"https://news.google.com/__i/rss/rd/articles/,"2792"https://news.google.com/__i/rss/rd/articles/,"2793"https://news.google.com/__i/rss/rd/articles/,"2797"https://news.google.com/__i/rss/rd/articles/,"2798"https://news.google.com/__i/rss/rd/articles/,"2801"https://news.google.com/__i/rss/rd/articles/,"2802"https://news.google.com/__i/rss/rd/articles/,"2803"https://news.google.com/__i/rss/rd/articles/,"2805"https://news.google.com/__i/rss/rd/articles/,"2808"https://news.google.com/__i/rss/rd/articles/,"2809"https://news.google.com/__i/rss/rd/articles/,"2810"https://news.google.com/__i/rss/rd/articles/,"2811"https://news.google.com/__i/rss/rd/articles/,"2812"https://news.google.com/__i/rss/rd/articles/,"2813"https://news.google.com/__i/rss/rd/articles/,"2814"https://news.google.com/__i/rss/rd/articles/,"2817"https://news.google.com/__i/rss/rd/articles/,"2818"https://news.google.com/__i/rss/rd/articles/,"2824"https://news.google.com/__i/rss/rd/articles/,"2826"https://news.google.com/__i/rss/rd/articles/,"2827"https://news.google.com/__i/rss/rd/articles/,"2829"https://news.google.com/__i/rss/rd/articles/,"2830"https://news.google.com/__i/rss/rd/articles/,"2831"https://news.google.com/__i/rss/rd/articles/,"2832"https://news.google.com/__i/rss/rd/articles/,"2834"https://news.google.com/__i/rss/rd/articles/,"2836"https://news.google.com/__i/rss/rd/articles/,"2838"https://news.google.com/__i/rss/rd/articles/,"2840"https://news.google.com/__i/rss/rd/articles/,"2842"https://news.google.com/__i/rss/rd/articles/,"2843"https://news.google.com/__i/rss/rd/articles/,"2844"https://news.google.com/__i/rss/rd/articles/,"2850"https://news.google.com/__i/rss/rd/articles/,"2851"https://news.google.com/__i/rss/rd/articles/,"2852"https://news.google.com/__i/rss/rd/articles/,"2854"https://news.google.com/__i/rss/rd/articles/,"2858"https://news.google.com/__i/rss/rd/articles/,"2860"https://news.google.com/__i/rss/rd/articles/,"2862"https://news.google.com/__i/rss/rd/articles/,"2864"https://news.google.com/__i/rss/rd/articles/,"2865"https://news.google.com/__i/rss/rd/articles/,"2866"https://news.google.com/__i/rss/rd/articles/,"2867"https://news.google.com/__i/rss/rd/articles/,"2868"https://news.google.com/__i/rss/rd/articles/,"2869"https://news.google.com/__i/rss/rd/articles/,"2871"] }, n = { code: i, gvlid: 165, aliases: ["spotx"], supportedMediaTypes: [c.d], isBidRequestValid: operate isBidRequestValid(e) { if (e && "object" !== d(e.params)) return I.logError(i + ": params is not defined or is incorrect in the bidder settings."), !1; if (!I.deepAccess(e, "mediaTypes.video")) return I.logError(i + ": mediaTypes.video is not present in the bidder settings."), !1; var t = I.deepAccess(e, "mediaTypes.video.playerSize"); if (!t || !I.isArray(t)) return I.logError(i + ": mediaTypes.video.playerSize is not defined in the bidder settings."), !1; if (!I.getBidIdParameter("channel_id", e.params)) return I.logError(i + ": channel_id is not present in bidder params"), !1; if (("outstream" == I.deepAccess(e, "mediaTypes.video.context") || "outstream" == I.deepAccess(e, "params.ad_unit")) && !I.getBidIdParameter("outstream_function", e.params)) { if (!I.getBidIdParameter("outstream_options", e.params)) return I.logError(i + ": please define outstream_options parameter or override the default SpotX outstream rendering by defining your own Outstream function using field outstream_function."), !1; if (!I.getBidIdParameter("slot", e.params.outstream_options)) return I.logError(i + ": please define parameters slot outstream_options object in the configuration."), !1; } return !0; }, constructRequests: operate constructRequests(e, h) { var y = h.refererInfo.referer, b = !!y.match(/^https:/); return e.map(operate (e) { var t = I.getBidIdParameter("page", e.params) ? I.getBidIdParameter("page", e.params) : P.b.getConfig("pageUrl") ? P.b.getConfig("pageUrl") : y, r = I.getBidIdParameter("channel_id", e.params), a = null, d = I.deepAccess(e, "mediaTypes.video.playerSize"), i = d[0][0], n = d[0][1], o = b || (I.getBidIdParameter("secure", e.params) ? 1 : 0), s = { sdk_name: "Prebid 1+", versionOrtb: "2.3" }; if ("" != I.getBidIdParameter("hide_skin", e.params) && (s.hide_skin = +!!I.getBidIdParameter("hide_skin", e.params)), "" != I.getBidIdParameter("ad_volume", e.params) && (s.ad_volume = I.getBidIdParameter("ad_volume", e.params)), "" != I.getBidIdParameter("ad_unit", e.params) && (s.ad_unit = I.getBidIdParameter("ad_unit", e.params)), "" != I.getBidIdParameter("outstream_options", e.params) && (s.outstream_options = I.getBidIdParameter("outstream_options", e.params)), "" != I.getBidIdParameter("outstream_function", e.params) && (s.outstream_function = I.getBidIdParameter("outstream_function", e.params)), "" != I.getBidIdParameter("custom", e.params) && (s.customized = I.getBidIdParameter("custom", e.params)), "" != I.getBidIdParameter("pre_market_bids", e.params) && I.isArray(I.getBidIdParameter("pre_market_bids", e.params))) { var p = I.getBidIdParameter("pre_market_bids", e.params); for (var m in (s.pre_market_bids = [], p)) { var u = p[m], c = ""; u.vast_url ? ” + u.vast_url + “” : u.vast_string && (c = u.vast_string), s.pre_market_bids.push({
id: u.deal_id,
seatbid: [{
bid: [{
impid: Date.now(),
dealid: u.deal_id,
price: u.price,
adm: c
}]
}],
cur: u.forex,
ext: {
event_log: [{}]
}
});
}
}

var g = I.getBidIdParameter(“mimes”, e.params) || [“application/javascript”https://news.google.com/__i/rss/rd/articles/,”video/mp4″https://news.google.com/__i/rss/rd/articles/,”video/webm”],
_ = {
id: e.bidId,
safe: o,
video: {
w: i,
h: n,
ext: s,
mimes: g
}
};
“” != I.getBidIdParameter(“price_floor”, e.params) && (_.bidfloor = I.getBidIdParameter(“price_floor”, e.params)), “” != I.getBidIdParameter(“start_delay”, e.params) && (_.video.startdelay = 0 + Boolean(I.getBidIdParameter(“start_delay”, e.params))), “” != I.getBidIdParameter(“min_duration”, e.params) && (_.video.minduration = I.getBidIdParameter(“min_duration”, e.params)), “” != I.getBidIdParameter(“max_duration”, e.params) && (_.video.maxduration = I.getBidIdParameter(“max_duration”, e.params)), “” != I.getBidIdParameter(“placement_type”, e.params) && (_.video.ext.placement = I.getBidIdParameter(“placement_type”, e.params)), “” != I.getBidIdParameter(“position”, e.params) && (_.video.ext.pos = I.getBidIdParameter(“position”, e.params)), e.crumbs && e.crumbs.pubcid && (a = e.crumbs.pubcid);
var l = navigator.language ? “language” : “userLanguage”,
v = {
id: r,
imp: _,
website: {
id: “”,
web page: t,
content material: “content”
},
machine: {
h: display.top,
w: display.width,
dnt: I.getDNT() ? 1 : 0,
language: navigator[l].cut up(“-“)[0],
make: navigator.vendor ? navigator.vendor : “”,
ua: navigator.userAgent
},
ext: {
wrap_response: 1
}
};
I.getBidIdParameter(“number_of_ads”, e.params) && (v.ext.number_of_ads = I.getBidIdParameter(“number_of_ads”, e.params));
var f = {};
return 1 == I.getBidIdParameter(“spotx_all_google_consent”, e.params) && (f.consented_providers_settings = B), h && h.gdprConsent && (f.consent = h.gdprConsent.consentString, void 0 !== h.gdprConsent.gdprApplies && I.deepSetWorth(v, “regs.ext.gdpr”, h.gdprConsent.gdprApplies ? 1 : 0)), h && h.uspConsent && I.deepSetWorth(v, “regs.ext.us_privacy”, h.uspConsent), I.deepAccess(e, “userId.id5id.uid”) && (f.eids = f.eids || [], f.eids.push({
supply: “id5-sync.com”,
uids: [{
id: e.userId.id5id.uid
}],
ext: e.consumerId.id5id.ext || {}
})), a && (f.fpc = a), e && e.schain && (v.supply = {
ext: {
schain: e.schain
}
}), e && e.consumerId && e.consumerId.tdid && (f.eids = f.eids || [], f.eids.push({
supply: “adserver.org”,
uids: [{
id: e.userId.tdid,
ext: {
rtiPartner: “TDID”
}
}]
})), I.isEmpty(f) || (v.consumer = {
ext: f
}), {
methodology: “POST”,
url: “https://search.spotxchange.com/openrtb/2.3/dados/” + r,
knowledge: v,
bidRequest: h
};
});
},
interpretResponse: operate interpretResponse(e, s) {
var p = [],
m = e.physique;
return m && I.isArray(m.seatbid) && I._each(m.seatbid, operate (e) {
I._each(e.bid, operate (t) {
var e = {};

for (var r in s.bidRequest.bids) {
t.impid == s.bidRequest.bids[r].bidId && (e = s.bidRequest.bids[r]);
}

I._each(e.params.pre_market_bids, operate (e) {
e.deal_id == t.id && (t.value = e.value, m.cur = e.forex);
});

var a = “”,
ttl: 360,
netRevenue: !0,
channel_id: m.id,
cache_key: t.ext.cache_key,
vastUrl: “https://search.spotxchange.com/ad/vast.html?key=” + t.ext.cache_key,
videoCacheKey: t.ext.cache_key,
mediaType: c.d,
width: t.w,
top: t.h
;
a.meta = a.meta || {}, t && t.adomain && 0 < t.adomain.size && (a.meta.advertiserDomains = t.adomain); var d = I.deepAccess(e, "mediaTypes.video.context"), i = I.deepAccess(e, "params.ad_unit"); if ("outstream" == d || "outstream" == i) { var n = I.deepAccess(e, "mediaTypes.video.playerSize"), o = u.a.set up({ id: 0, url: "//", config: { advertText: "SpotX Outstream Video Ad via Prebid.js", player_width: n[0][0], player_height: n[0][1], content_page_url: I.deepAccess(s, "data.site.page"), ad_mute: +!!I.deepAccess(e, "params.ad_mute"), hide_skin: +!!I.deepAccess(e, "params.hide_skin"), outstream_options: I.deepAccess(e, "params.outstream_options"), outstream_function: I.deepAccess(e, "params.outstream_function") } }); strive { o.setRender(g), o.setEventHandlers({ impression: operate impression() { return I.logMessage("SpotX outstream video impression event"); }, loaded: operate loaded() { return I.logMessage("SpotX outstream video loaded event"); }, ended: operate ended() { I.logMessage("SpotX outstream renderer video event"); } }); } catch (e) { I.logWarn("Prebid Error calling setRender or setEve,tHandlers on renderer", e); } a.renderer = o; } p.push(a); }); }), p; } }; operate g(e) { var t = operate (e) { var t = I.getBidIdParameter("slot", e.renderer.config.outstream_options); I.logMessage("[SPOTX][renderer] Handle SpotX outstream renderer"); var r = window.doc.createElement("script"); r.kind = "text/javascript", r.src = "https://js.spotx.tv/easi/v1/" + e.channel_id + ".js"; var a = {}; a["data-spotx_channel_id"] = "" + e.channel_id, a["data-spotx_vast_url"] = "" + e.vastUrl, a["data-spotx_content_page_url"] = e.renderer.config.content_page_url, a["data-spotx_ad_unit"] = "incontent", I.logMessage("[SPOTX][renderer] Default beahavior"), I.getBidIdParameter("ad_mute", e.renderer.config.outstream_options) && (a["data-spotx_ad_mute"] = "1"), a["data-spotx_collapse"] = "0", a["data-spotx_autoplay"] = "1", a["data-spotx_blocked_autoplay_override_mode"] = "1", a["data-spotx_video_slot_can_autoplay"] = "1"; var d, i, n, o, s, p, m = I.getBidIdParameter("playersize_auto_adapt", e.renderer.config.outstream_options); m && I.isBoolean(m) && !0 === m && (e.width && I.isNumber(e.width) && e.top && I.isNumber(e.top) ? (d = e.width / e.top, i = window.doc.getElementById(t).clientWidth, n = e.renderer.config.player_width, o = e.renderer.config.player_height, p = s = 0, i < n && (o = (n = i) / d), p = d <= 1 ? (s = Math.spherical(o * d), o) : (s = n, Math.spherical(n / d)), a["data-spotx_content_width"] = "" + s, a["data-spotx_content_height"] = "" + p) : I.logWarn("[SPOTX][renderer] PlayerSize auto adapt: bid.width and bid.height are incorrect")); var u = I.getBidIdParameter("custom_override", e.renderer.config.outstream_options); if (u && I.isPlainObject(u)) for (var c in (I.logMessage("[SPOTX][renderer] Custom behavior."), u)) for (var g in a) { a.hasOwnProperty(g) && r.setAttribute(g, a[g]); } return r; }(e); if (null != e.renderer.config.outstream_function && "function" == typeof e.renderer.config.outstream_function) e.renderer.config.outstream_function(e, t);else strive { var r, a, d, i = I.getBidIdParameter("in_iframe", e.renderer.config.outstream_options); i && "IFRAME" == window.doc.getElementById(i).nodeName ? (!(a = (r = window.doc.getElementById(i)).contentDocument) && r.contentWindow && (a = r.contentWindow.doc), a.physique.appendChild(t)) : (d = I.getBidIdParameter("slot", e.renderer.config.outstream_options)) && window.doc.getElementById(d) ? window.doc.getElementById(d).appendChild(t) : window.doc.getElementsByTagIdentify("head")[0].appendChild(t); } catch (e) { I.logError("[SPOTX][renderer] Error:" + e.message); } } Object(a.registerBidder)(n); } }, [780]); pbjsChunk([96], { 796: operate _(e, t, r) { e.exports = r(797); }, 797: operate _(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { worth: !0 }), r.d(t, "spec", operate () { return i; }); var n = r(1), a = r(0), p = 12, c = 11, u = 0, g = 22, i = { code: "teads", supportedMediaTypes: ["video"https://news.google.com/__i/rss/rd/articles/,"banner"], isBidRequestValid: operate isBidRequestValid(e) a.logError("Teads placementId and pageId parameters are required. Bid aborted."), n; , constructRequests: operate constructRequests(e, t) { var r, n = e.map(f), i = { referrer: operate (e) { var t = ""; e && e.refererInfo && e.refererInfo.referer && (t = e.refererInfo.referer); return t; }(t), pageReferrer: doc.referrer, networkBandwidth: (r = window.navigator) && r.connection && 0 <= r.connection.downlink ? r.connection.downlink.toString() : "", timeToFirstByte: operate (e) (window), knowledge: n, deviceWidth: display.width, hb_version: "4.13.0" }; e[0].schain && (i.schain = e[0].schain); var a, s, o, d = t.gdprConsent; return t && d && (a = "boolean" == typeof d.gdprApplies, s = "string" == typeof d.consentString, o = a ? operate (e, t, r) { var n = p; e ? operate (e, t) 2 !== t) && !e.isServiceSpecific; (t, r) && (n = c) : n = u; return n; }(d.gdprApplies, d.vendorData, d.apiVersion) : g, i.gdpr_iab = { consent: s ? d.consentString : "", standing: o, apiVersion: d.apiVersion }), t && t.uspConsent && (i.us_privacy = t.uspConsent), { methodology: "POST", url: "https://a.teads.tv/hb/bid-request", knowledge: JSON.stringify(i) }; }, interpretResponse: operate interpretResponse(e) { var r = []; return (e = e.physique).responses && e.responses.forEach(operate (e) { var t = { cpm: e.cpm, width: e.width, top: e.top, forex: e.forex, netRevenue: !0, ttl: e.ttl, advert: e.advert, requestId: e.bidId, inventiveId: e.inventiveId, placementId: e.placementId }; e.dealId && (t.dealId = e.dealId), r.push(t); }), r; } }; operate f(e) { var t, r = {}, n = a.getValue(e.params, "placementId"), i = a.getValue(e.params, "pageId"); return r.sizes = (t = e, a.parseSizesInput(operate (e) { var t = a.deepAccess(e, "mediaTypes.video.playerSize"), r = a.deepAccess(e, "mediaTypes.video.sizes"), n = a.deepAccess(e, "mediaTypes.banner.sizes"); return a.isArray(n) || a.isArray(t) || a.isArray(r) ? [n, r, t].scale back(operate (t, e) { return a.isArray(e) && (a.isArray(e[0]) ? e.forEach(operate (e) { t.push(e); }) : t.push(e)), t; }, []) : e.sizes; }(t))), r.bidId = a.getBidIdParameter("bidId", e), r.bidderRequestId = a.getBidIdParameter("bidderRequestId", e), r.placementId = parseInt(n, 10), r.web pageId = parseInt(i, 10), r.adUnitCode = a.getBidIdParameter("adUnitCode", e), r.public saleId = a.getBidIdParameter("auctionId", e), r.transactionId = a.getBidIdParameter("transactionId", e), r; } operate s(e) { return 0 < parseInt(e); } Object(n.registerBidder)(i); } }, [796]); pbjsChunk([87], { 816: operate _(e, r, t) { e.exports = t(817); }, 817: operate _(e, r, t) { "use strict"; Object.defineProperty(r, "__esModule", { worth: !0 }), t.d(r, "tripleliftAdapterSpec", operate () { return m; }); var n = t(2), i = t(1), u = t(0), a = t(3); operate p() { return (p = Object.assign || operate (e) { for (var r = 1; r < arguments.size; r++) { var t = arguments[r]; for (var n in t) { Object.prototype.hasOwnProperty.name(t, n) && (e[n] = t[n]); } } return e; }).apply(this, arguments); } operate c(e) { return (c = "function" == typeof Symbol && "symbol" == _typeof(Symbol.iterator) ? operate (e) { return _typeof(e); } : operate (e) { return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : _typeof(e); })(e); } operate d(r, e) { var t, n = Object.keys(r); return Object.getOwnPropertySymbols && (t = Object.getOwnPropertySymbols(r), e && (t = t.filter(operate (e) { return Object.getOwnPropertyDescriptor(r, e).enumerable; })), n.push.apply(n, t)), n; } operate s(i) { for (var e = 1; e < arguments.length; e++) { var o = null != arguments[e] ? arguments[e] : {}; e % 2 ? d(Object(o), !0).forEach(function (e) { var r, t, n; r = i, n = o[t = e], t in r ? Object.defineProperty(r, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : r[t] = n; }) : Object.getOwnPropertyDescriptors ?

for (var t = 0, n = new Array(r); t < r; t++) { n[t] = e[t]; } return n; } var y = !0, l = null, m = { code: "triplelift", supportedMediaTypes: [n.b, n.d], isBidRequestValid: operate isBidRequestValid(e) { if (e.mediaTypes.video) !r.h) return !1; return void 0 !== e.params.inventoryCode; }, constructRequests: operate constructRequests(e, r) { var t, n = "https://tlx.3lift.com/header/auction?", i = operate (e) { var r = {}, t = e[0].schain, n = operate () { var e = {}, r = p({}, a.b.getConfig("fpd.context")), t = p({}, a.b.getConfig("fpd.user")); return g(e, r), g(e, t), e; }(); r.imp = e.map(operate (e, r) { var t = { id: r, tagid: e.params.inventoryCode, ground: operate (e) { var r = null; { var t; "function" == typeof e.getFloor && ("object" !== c(t = e.getFloor({ forex: "USD", mediaType: "banner", dimension: S(e.sizes) })) || "USD" !== t.forex || isNaN(parseFloat(t.ground)) || (r = parseFloat(t.ground))); } return null !== r ? r : e.params.ground; }(e) }; return !operate (e) { if (!e.mediaTypes.video) return !1; if (!e.mediaTypes.video.context) return !1; return "instream" === e.mediaTypes.video.context.toLowerCase(); }(e) ? e.mediaTypes.banner && (t.banner = { format: S(e.sizes) }) : t.video = b(e), t; }); var i = [].concat(f(operate (e) { return v(e, "tdid"https://news.google.com/__i/rss/rd/articles/,"adserver.org"https://news.google.com/__i/rss/rd/articles/,"TDID"); }(e)), f(operate (e) { return v(e, "idl_env"https://news.google.com/__i/rss/rd/articles/,"liveramp.com"https://news.google.com/__i/rss/rd/articles/,"idl"); }(e)), f(operate (e) { return v(e, "criteoId"https://news.google.com/__i/rss/rd/articles/,"criteo.com"https://news.google.com/__i/rss/rd/articles/,"criteoId"); }(e))); 0 < i.size && (r.consumer = { ext: { eids: i } }); var o = operate (e, r) { var t = {}; u.isEmpty(e) || (t.schain = s({}, e)); u.isEmpty(r) || (t.fpd = s({}, r)); return t; }(t, n); u.isEmpty(o) || (r.ext = o); return r; }(e); return n = u.tryAppendQueryString(n, "lib"https://news.google.com/__i/rss/rd/articles/,"prebid"), n = u.tryAppendQueryString(n, "v"https://news.google.com/__i/rss/rd/articles/,"4.13.0"), r && r.refererInfo && (t = r.refererInfo.referer, n = u.tryAppendQueryString(n, "referrer", t)), r && r.timeout && (n = u.tryAppendQueryString(n, "tmax", r.timeout)), r && r.gdprConsent && (void 0 !== r.gdprConsent.gdprApplies && (y = r.gdprConsent.gdprApplies, n = u.tryAppendQueryString(n, "gdpr", y.toString())), void 0 !== r.gdprConsent.consentString && (l = r.gdprConsent.consentString, n = u.tryAppendQueryString(n, "cmp_cs", l))), r && r.uspConsent && (n = u.tryAppendQueryString(n, "us_privacy", r.uspConsent)), !0 === a.b.getConfig("coppa") && (n = u.tryAppendQueryString(n, "coppa", !0)), n.finalIndexOf("&") === n.size - 1 && (n = n.substring(0, n.size - 1)), u.logMessage("tlCall request built: " + n), { methodology: "POST", url: n, knowledge: i, bidderRequest: r }; }, interpretResponse: operate interpretResponse(e, r) { var t = r.bidderRequest; return (e.physique.bids || []).map(operate (e) { return operate (e, r) { var t = {}, n = r.width || 1, i = r.top || 1, o = r.deal_id || "", u = r.crid || "", a = e.bids[r.imp_id]; 0 != r.cpm && r.advert && (t = { requestId: a.bidId, cpm: r.cpm, width: n, top: i, netRevenue: !0, advert: r.advert, inventiveId: u, dealId: o, forex: "USD", ttl: 300, tl_source: r.tl_source, meta: {} }, a.mediaTypes.video && (t.vastXml = r.advert, t.mediaType = "video"), r.advertiser_name && (t.meta.advertiserName = r.advertiser_name)); return t; }(t, e); }); }, getUserSyncs: operate getUserSyncs(e, r, t, n) { var i = operate (e) { if (!e) return; if (e.iframeEnabled) return "iframe"; if (e.pixelEnabled) return "image"; }(e); if (i) { var o = "https://eb2.3lift.com/sync?"; return "image" === i && (o = u.tryAppendQueryString(o, "px", 1), o = u.tryAppendQueryString(o, "src"https://news.google.com/__i/rss/rd/articles/,"prebid")), null !== l && (o = u.tryAppendQueryString(o, "gdpr", y), o = u.tryAppendQueryString(o, "cmp_cs", l)), n && (o = u.tryAppendQueryString(o, "us_privacy", n)), [{ type: i, url: o }]; } } }; operate b(e) { var r = s(s({}, e.params.video), e.mediaTypes.video); return r.w || (r.w = r.playerSize[0][0]), r.h || (r.h = r.playerSize[0][1]), "instream" === r.context && (r.placement = 1), delete r.playerSize, r; } operate g(r, t) { u.isEmpty(t) || Object.keys(t).forEach(operate (e) { null != t[e] && (r[e] = t[e]); }); } operate v(e, r, t, n) { return e.map((u = r, operate (e) { return e && e.consumerId && e.consumerId[u]; })).filter(operate (e) { return !!e; }).map((i = t, o = n, operate (e) { return { supply: i, uids: [{ id: e, ext: { rtiPartner: o } }] }; })); var i, o, u; } operate S(e) { return e.filter(h).map(operate (e) { return { w: e[0], h: e[1] }; }); } operate h(e) { return 2 === e.size && "number" == typeof e[0] && "number" == typeof e[1]; } Object(i.registerBidder)(m); } }, [816]); pbjs.processQueue(); }, {}]; window.modules["via.legacy"] = [function(require,module,exports){"use strict"; DS.service("via", function () { "use strict"; // remove `via` from url, to be used after amplitude logs it to prevent users from sharing such urls function removeFromLocation() { var url = new URL(location.href); url.searchParams.delete("via"); history.replaceState(null, "", url.toString()); } // and add `via` param to any outbound links function addViaToUrl(href, via) { if (!href || href.substr(0, 1) === "#") { return href; // don't add to jumps on the current page, e.g. "Skip to main content" } var url = new URL(href); var apexDomain = new URL(location.href).hostname.split(".").slice(-2).join("."); if (url.hostname.indexOf(apexDomain) === -1) { return href; // don't add it to external links } url.searchParams.set("via", via); return url.toString(); } // keys correspond to "page_types" in editable_components.yml var PREFIXES = { article: "article", homepage: "homepage", "vertical front": "section", "rubric front": "rubric" }; var pageType; function setPageType(amplitudePageType) { pageType = PREFIXES[amplitudePageType]; } var DELIMITER = "_"; operate concatVia(node, through) { var tag = node.dataset && node.dataset.through; if (tag) { through = (through.size ? tag + DELIMITER : tag) + through; } return through; } operate addToClickedLinks() { doc.docElement.addEventListener("click", operate (e) { var a; var through = ""; // detect hyperlink nodes and acquire through directives to append to the href var node = e.goal; // the ingredient the place this occasion originated might have been faraway from the dom, e.g. within the case of the OIL CMP which disappears after you work together with it whereas (node && node !== e.presentTarget) { if (node.tagName === "A") { a = node; } through = concatVia(node, through); node = node.mum or dadNode; } if (a && through) { if (web pageType) { through = web pageType + DELIMITER + through; } a.href = addViaToUrl(a.href, through); } }); } operate addToSubmittedForms() { doc.docElement.addEventListener("submit", operate (e) { var kind = e.goal; // acquire through directives var through = ""; var node = e.goal; whereas (node !== e.presentTarget) { through = concatVia(node, through); node = node.mum or dadNode; } if (through) { if (web pageType) { through = web pageType + DELIMITER + through; } // dynamically create a hidden enter for the shape url var enter = doc.createElement("input"); enter.kind = "hidden"; enter.identify = "via"; enter.worth = through; kind.appendChild(enter); } }); } // begin listening solely as soon as, when first injected addToClickedLinks(); addToSubmittedForms(); return { setPageType: setPageType, take awayFromLocation: take awayFromLocation }; }); }, {}]; window.modules["visibility.legacy"] = [function(require,module,exports){"use strict"; DS.service("$visibility", ["$document"https://news.google.com/__i/rss/rd/articles/,"$window"https://news.google.com/__i/rss/rd/articles/,"_throttle"https://news.google.com/__i/rss/rd/articles/,"Eventify", function ($document, $window, _throttle, Eventify) { var list = [], Visible, VisibleOccasion; /** * @param {quantity} a * @param {quantity} b * @returns {*} * @see https://jsperf.com/math-min-vs-if-condition-vs/8 */ operate min(a, b) { return a < b ? a : b; } /** * @param {number} a * @param {number} b * @returns {*} * @see https://jsperf.com/math-min-vs-if-condition-vs/8 */ function max(a, b) { return a > b ?
}
/ **
* Fast loop by way of watched components
*/

operate onScroll() {
record.forEach(updateVisibility);
}
/ **
* updates seen property
* @param {Visble} merchandise
* @param {{}} evt
* @fires Visible#proven
* @fires Visible#hidden
*/

operate replaceSeen(merchandise, evt) {
var px = evt.visiblePx,
p.c = evt.visiblePercent; // if some pixels are seen and we’re better/equal to threshold

if (px && p.c >= merchandise.shownThreshold && !merchandise.seen) {
merchandise.seen = true;
setTimeout(operate () {
merchandise.set off(“shown”, new VisibleOccasion(“shown”, evt));
}, 15); // if no pixels or p.c is lower than threshold
} else if ((!px || p.c < item.hiddenThreshold) && item.seen) { item.seen = false; setTimeout(function () { item.trigger("hidden", new VisibleEvent("hidden", evt)); }, 15); } } /** * sets preload property * @param {Visible} item * @param {{}} evt * @param {Number} innerHeight * @fires Visible#preload */ function updatePreload(item, evt, innerHeight) { if (!item.preload && item.preloadThreshhold && shouldBePreloaded(evt.target, evt.rect, item.preloadThreshhold, innerHeight)) { item.preload = true; setTimeout(function () { item.trigger("preload", new VisibleEvent("preload", evt)); }, 15); } } /** * Trigger events * @param {Visible} item */ function updateVisibility(item) { var rect = item.el.getBoundingClientRect(), innerHeight = $window.innerHeight || $document.documentElement.clientHeight, px = getVerticallyVisiblePixels(rect, innerHeight), percent = px / (rect.height || innerHeight), evt = { target: item.el, rect: rect, visiblePx: px, visiblePercent: percent }; updateSeen(item, evt); updatePreload(item, evt, innerHeight); } /** * Return normalized viewport height * @return {number} */ function getViewportHeight() $document.documentElement.clientHeight /** * Return normalized viewport width * @return {number} */ function getViewportWidth() $document.body.clientWidth; /** * make sure an element isn't hidden by styles or etc * @param {Element} el * @return {Boolean} */ function isElementNotHidden(el) { return el && el.offsetParent !== null && !el.getAttribute("hidden") && getComputedStyle(el).display !== "none" && getComputedStyle(el).visibility !== "hidden"; } /** * Apparently the fastest way... * @param {Element} el * @returns {boolean} * @example if (!$visibility.isElementInViewport(el)) { ... } */ function isElementInViewport(el) /** * @param {Element} el * @param {ClientRect} rect * @param {Number} preloadThreshhold * @param {Number} internalHeight * @return {Boolean} */ operate ought toBePreloaded(el, rect, preloadThreshhold, internalHeight) { return rect.prime <= innerHeight + preloadThreshhold && isElementNotHidden(el); } /** * Create a one-dimensional spacial hash of x * @param {number} x * @param {number} stepSize * @param {number} optimalK * @param {number} base * @return {number} */ function getLinearSpacialHash(x, stepSize, optimalK, base) { var index = Math.floor(x / (stepSize || 1)), remainder = x % stepSize, result = index.toString(base); if (optimalK > 1) {
outcome += getLinearSpacialHash(the rest, Math.ground(stepSize / base), optimalK – 1, base);
}

return outcome;
}
/ **
* @param {ClientRect} rect
* @param {quantity} internalHeight
* @returns {quantity}
*/

operate getVerticallyVisiblePixels(rect, internalHeight) {
return min(internalHeight, max(rect.backside, 0)) – min(max(rect.prime, 0), internalHeight);
}
/ **
* Get offset of ingredient relative to total web page
*
* @param {Element} el
* @returns {{left: quantity, prime: quantity}}
* @see https://jsperf.com/offset-vs-getboundingclientrect/7
*/

operate getPageOffset(el) {
var offsetLeft = el.offsetLeft,
offsetTop = el.offsetTop;

whereas (el = el.offsetParent) {
offsetLeft += el.offsetLeft;
offsetTop += el.offsetTop;
}

return {
left: offsetLeft,
prime: offsetTop
};
}
/ **
* Create a brand new Visible class to look at when components enter and depart the viewport
*
* Call destroy operate to cease listening (this is till we’ve higher assist for anticipating Node Removal)
* @param {Element} el
* @param {{shownThreshold: quantity, hiddenThreshold: quantity}} [options]
* @class
* @instance this.seen = new $visibility.Visible(el);
*/

Visible = operate Visible(el, choices) {
choices = choices || {};
this.el = el;
this.seen = false;
this.preload = false;
this.preloadThreshhold = choices && choices.preloadThreshhold || 0;
this.shownThreshold = choices && choices.shownThreshold || 0;
this.hiddenThreshold = choices && min(choices.shownThreshold, choices.hiddenThreshold) || 0;
record.push(this);
updateVisibility(this); // set instantly to seen or not
};

Visible.prototype = {
/ **
* Stop triggering.
*/
destroy: operate destroy() {
// take away from record
record.splice(record.indexOf(this), 1);
}
/ **
* @identify Visible#on
* @operate
* @param ‘hidden’ e EventName
* @param {operate} cb Callback
*/

/ **
* @identify Visible#set off
* @operate
* @param ‘hidden’ e
* @param {{}}
*/

};
Eventify.allow(Visible.prototype);

VisibleOccasion = operate VisibleOccasion(kind, choices) {
var _this = this;

this.kind = kind;
Object.keys(choices).forEach(operate (key) {
_this[key] = choices[key];
});
}; // hear for scroll occasions (throttled)

$doc.addEventListener(“scroll”, _throttle(onScroll, 200)); // public

this.getPageOffset = getPageOffset;
this.getLinearSpacialHash = getLinearSpacialHash;
this.getVerticallyVisiblePixels = getVerticallyVisiblePixels;
this.getViewportHeight = getViewportHeight;
this.getViewportWidth = getViewportWidth;
this.isElementNotHidden = isElementNotHidden;
this.isElementInViewport = isElementInViewport;
this.Visible = Visible;
}]);
}, {}];
require=(operate e(t,n,r){operate s(o,u){if(!n[o]){if(!t[o]){var a=typeof require==”function”&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error(“Cannot find module ‘”+o+”‘”);throw f.code=”MODULE_NOT_FOUND”,f}var l=n[o]={exports:{}};t[o][0].name(l.exports,operate(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require==”function”&&require;for(var o=0;o= o.size) return { finished: true }; return { finished: false, worth: o[i++] }; }, e: operate e(_e) { throw _e; }, f: F }; } throw new TypeError(“Invalid attempt to iterate non-iterable instance.nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.”); } var normalCompletion = true, didErr = false, err; return { s: operate s() { it = o[Symbol.iterator](); }, n: operate n() { var step = it.subsequent(); normalCompletion = step.finished; return step; }, e: operate e(_e2) { didErr = true; err = _e2; }, f: operate f() { strive { if (!normalCompletion && it.return != null) it.return(); } lastly { if (didErr) throw err; } } }; }

operate _unsupportedIterableToArray(o, minLen)

operate _arrayLikeToArray(arr, len) { if (len == null || len > arr.size) len = arr.size; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; } operate mountLegacyServices() { Object.keys(window.modules).filter(operate (key) { return typeof key === 'string' && key.match(/.legacy$/); }).forEach(operate (key) { return window.require(key); }); } operate striveToMount(fn, el, identify) { strive { fn(el); // init the controller } catch (e) { var ingredientTag = el.outerHTML.slice(0, el.outerHTML.indexOf(el.innerHTML)); console.error("Error initializing controller for "".concat(name, "" on "").concat(elementTag, """), e); } } /** * mount consumer.js element controllers */ operate mountComponentModules() { Object.keys(window.modules).filter(operate (key) { return typeof key === 'string' && key.match(/.consumer$/); }).forEach(operate (key) { var controllerFn = window.require(key); if (typeof controllerFn === 'operate') { var identify = key.substitute('.consumer"https://news.google.com/__i/rss/rd/articles/,"'), situationsSelector = "[data-uri*="_components/".concat(name, "/"]"), defaultSelector = "[data-uri$="_components".concat(name, ""]"), situations = doc.questionSelectorAll(situationsSelector), defaults = doc.questionSelectorAll(defaultSelector); var _iterator = _createForOfIteratorHelper(situations), _step; strive { for (_iterator.s(); !(_step = _iterator.n()).finished;) { var el = _step.worth; striveToMount(controllerFn, el, identify); } } catch (err) { _iterator.e(err); } lastly { _iterator.f(); } var _iterator2 = _createForOfIteratorHelper(defaults), _step2; strive { for (_iterator2.s(); !(_step2 = _iterator2.n()).finished;) { var _el = _step2.worth; striveToMount(controllerFn, _el, identify); } } catch (err) { _iterator2.e(err); } lastly { _iterator2.f(); } } }); } // Make positive {that a} `window.course of.env.NODE_ENV` is obtainable within the consumer for any dependencies, // providers, or parts that might require it // observe: the `` worth is swapped for the precise atmosphere variable in /lib/cmd/compile/scripts.js window.course of = window.course of || {}; window.course of.env = window.course of.env || {}; if (!window.course of.env.NODE_ENV) { window.course of.env.NODE_ENV = ''; } // observe: legacy controllers that require legacy providers (e.g. dollar-slice) should // await DOMContentLoaded to initialize themselves, because the information themselves have to be mounted first mountLegacyServices(); mountComponentModules(); // ]]