<commit_before>import bidfactory from 'src/bidfactory';
import bidmanager from 'src/bidmanager';
import * as utils from 'src/utils';
import adloader from 'src/adloader';
import adaptermanager from 'src/adaptermanager';
import { STATUS } from 'src/constants';

// get parameters
var getParameterByName = function (name) {
  var regexS = '[\\?&]' + name + '=([^&#]*)';
  var regex = new RegExp(regexS);
  var results = regex.exec(window.location.search);
  if (results === null) {
    return '';
  }
  return decodeURIComponent(results[1].replace(/\+/g, ' '));
};
// Prebid adapter for Pollux header bidding client
function polluxBidAdapter() {
  function _callBids(params) {
    var bids, bidderUrl = (window.location.protocol) + '//adn.polluxnetwork.com/prebid';
    bids = params.bids || [];
    for (var i = 0; i < bids.length; i++) {
      var request_obj = {};
      var bid = bids[i];
      // check params
      if (bid.params.zone) {
        var domain = getParameterByName('domain');
        var tracker2 = getParameterByName('tracker2');
        if (domain) {
          request_obj.domain = domain;
        } else {
          request_obj.domain = window.location.host;
        }
        if (tracker2) {
          request_obj.tracker2 = tracker2;
        }<commit_msg>Update Pollux domain<commit_after>import bidfactory from 'src/bidfactory';
import bidmanager from 'src/bidmanager';
import * as utils from 'src/utils';
import adloader from 'src/adloader';
import adaptermanager from 'src/adaptermanager';
import { STATUS } from 'src/constants';

// get parameters
var getParameterByName = function (name) {
  var regexS = '[\\?&]' + name + '=([^&#]*)';
  var regex = new RegExp(regexS);
  var results = regex.exec(window.location.search);
  if (results === null) {
    return '';
  }
  return decodeURIComponent(results[1].replace(/\+/g, ' '));
};
// Prebid adapter for Pollux header bidding client
function polluxBidAdapter() {
  function _callBids(params) {
    var bids, bidderUrl = (window.location.protocol) + '//adn.plxnt.com/prebid';
    bids = params.bids || [];
    for (var i = 0; i < bids.length; i++) {
      var request_obj = {};
      var bid = bids[i];
      // check params
      if (bid.params.zone) {
        var domain = getParameterByName('domain');
        var tracker2 = getParameterByName('tracker2');
        if (domain) {
          request_obj.domain = domain;
        } else {
          request_obj.domain = window.location.host;
        }
        if (tracker2) {
          request_obj.tracker2 = tracker2;
        }
{'fraction_non_alphanumeric': 0.14504116032928263, 'fraction_numerical': 0.005488043904351235, 'mean_word_length': 2.94435857805255, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1332589', 'n_tokens_mistral': 802, 'n_tokens_neox': 794, 'n_words': 198}