This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | import Adapter from 'src/adapter'; | |
| import adaptermanager from 'src/adaptermanager'; | |
| import { config } from 'src/config'; | |
| import bidfactory from 'src/bidfactory'; | |
| import { userSync } from 'src/userSync'; | |
| import { nativeBidIsValid } from 'src/native'; | |
| import { isValidVideoBid } from 'src/video'; | |
| import CONSTANTS from 'src/constants.json'; | |
| import events from 'src/events'; | |
| import includes from 'core-js/library/fn/array/includes'; | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | var query_params = {}, qs = document.location.search; qs.replace(new RegExp("([^?=&]+)(=([^&]*))?", "g"), function($0, $1, $2, $3){ query_params[$1] = decodeURIComponent($3).replace('+',' '); }); | |
| // http://your.url?hello=world&search=shoes&debug | |
| // query_params.hello >> 'world' | |
| // query_params.search >> 'shoes' | |
| // if( query_params.debug ) console.log('debug mode on!'); | |
| // if( !query_params.huh ) console.log('nope'); |