':""},t.getDefinedParams=function(e,t){return t.filter(function(t){return e[t]}).reduce(function(t,n){return p(t,i({},n,e[n]))},{})},t.isValidMediaTypes=function(e){var t=["banner","native","video"],n=["instream","outstream"];return!!Object.keys(e).every(function(e){return(0,y.default)(t,e)})&&(!e.video||!e.video.context||(0,y.default)(n,e.video.context))},t.getBidderRequest=function(e,t,n){return(0,b.default)(e,function(e){return e.bids.filter(function(e){return e.bidder===t&&e.adUnitCode===n}).length>0})||{start:null,auctionId:null}},t.getOrigin=function(){return window.location.origin?window.location.origin:window.location.protocol+"//"+window.location.hostname+(window.location.port?":"+window.location.port:"")},t.getDNT=function(){return"1"===navigator.doNotTrack||"1"===window.doNotTrack||"1"===navigator.msDoNotTrack||"yes"===navigator.doNotTrack},t.isAdUnitCodeMatchingSlot=function(e){return function(t){return I(e,t)}},t.isSlotMatchingAdUnitCode=function(e){return function(t){return I(t,e)}},t.unsupportedBidderMessage=function(e,t){var n=Object.keys(e.mediaTypes||{banner:"banner"}).join(", ");return"\n "+e.code+" is a "+n+" ad unit\n containing bidders that don't support "+n+": "+t+".\n This bidder won't fetch demand.\n "},t.deletePropertyFromObject=function(e,t){var n=p({},e);return delete n[t],n},t.removeRequestId=function(e){return t.deletePropertyFromObject(e,"requestId")},t.isInteger=function(e){return Number.isInteger?Number.isInteger(e):"number"==typeof e&&isFinite(e)&&Math.floor(e)===e};var h=n(2),v=r(n(61)),b=r(n(11)),y=r(n(8)),m=n(3),_=!1,w=Object.prototype.toString,E=null;try{E=console.info.bind(window.console)}catch(e){}t.replaceTokenInString=function(e,t,n){return this._each(t,function(t,r){t=void 0===t?"":t;var i=n+r.toUpperCase()+n,o=new RegExp(i,"g");e=e.replace(o,t)}),e};var A=function(){var e=0;return function(){return++e}}();t.getUniqueIdentifierStr=o,t.generateUUID=function e(t){return t?(t^16*Math.random()>>t/4).toString(16):([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,e)},t.getBidIdParameter=function(e,t){return t&&t[e]?t[e]:""},t.tryAppendQueryString=function(e,t,n){return n?e+=t+"="+encodeURIComponent(n)+"&":e},t.parseQueryStringParameters=function(e){var t="";for(var n in e)e.hasOwnProperty(n)&&(t+=n+"="+encodeURIComponent(e[n])+"&");return t},t.transformAdServerTargetingObj=function(e){return e&&Object.getOwnPropertyNames(e).length>0?d(e).map(function(t){return t+"="+encodeURIComponent(l(e,t))}).join("&"):""},t.getTopWindowLocation=function(){var e=void 0;try{window.top.location.toString(),e=window.top.location}catch(t){e=window.location}return e},t.getTopWindowUrl=function(){var e=void 0;try{e=this.getTopWindowLocation().href}catch(t){e=""}return e},t.getTopWindowReferrer=function(){try{return window.top.document.referrer}catch(e){return document.referrer}},t.logWarn=function(e){S()&&console.warn&&console.warn("WARNING: "+e)},t.logInfo=function(e,t){S()&&a()&&E&&(t&&0!==t.length||(t=""),E("INFO: "+e+(""===t?"":" : params : "),t))},t.logMessage=function(e){S()&&a()&&console.log("MESSAGE: "+e)},t.hasConsoleLogger=a;var S=function(){if(!1===h.config.getConfig("debug")&&!1===_){var e="TRUE"===x(m.DEBUG_MODE).toUpperCase();h.config.setConfig({debug:e}),_=!0}return!!h.config.getConfig("debug")};t.debugTurnedOn=S,t.logError=function(){S()&&c()&&console.error.apply(console,arguments)},t.createInvisibleIframe=function(){var e=document.createElement("iframe");return e.id=o(),e.height=0,e.width=0,e.border="0px",e.hspace="0",e.vspace="0",e.marginWidth="0",e.marginHeight="0",e.style.border="0",e.scrolling="no",e.frameBorder="0",e.src="about:blank",e.style.display="none",e};var x=function(e){var t="[\\?&]"+e+"=([^]*)",n=new RegExp(t).exec(window.location.search);return null===n?"":decodeURIComponent(n[1].replace(/\+/g," "))};t.getParameterByName=x,t.hasValidBidRequest=function(e,t,n){for(var r=!1,i=0;i0);for(var n in e)if(hasOwnProperty.call(e,n))return!1;return!0},t.isEmptyStr=function(e){return this.isStr(e)&&(!e||0===e.length)},t._each=function(e,t){if(!this.isEmpty(e)){if(this.isFn(e.forEach))return e.forEach(t,this);var n=0,r=e.length;if(r>0)for(;n'},t.createTrackPixelIframeHtml=function(e){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return e?(n&&(e=encodeURI(e)),r&&(r='sandbox="'+r+'"'),"'):""},t.getIframeDocument=function(e){if(e){var t=void 0;try{t=e.contentWindow?e.contentWindow.document:e.contentDocument.document?e.contentDocument.document:e.contentDocument}catch(e){this.logError("Cannot get iframe document",e)}return t}},t.getValueString=function(e,t,n){return void 0===t||null===t?n:this.isStr(t)?t:this.isNumber(t)?t.toString():void this.logWarn("Unsuported type for param: "+e+" required type: String")};var I=function(e,t){return e.getAdUnitPath()===t||e.getSlotElementId()===t}},1:function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e){function t(t){if(e.getUserSyncs){var n=e.getUserSyncs({iframeEnabled:l.config.getConfig("userSync.iframeEnabled"),pixelEnabled:l.config.getConfig("userSync.pixelEnabled")},t);n&&(Array.isArray(n)||(n=[n]),n.forEach(function(t){h.userSync.registerSync(t.type,e.code,t.url)}))}}function n(t){return!!e.isBidRequestValid(t)||((0,m.logWarn)("Invalid bid sent to bidder "+e.code+": "+JSON.stringify(t)),!1)}return s(new f.default(e.code),{getSpec:function(){return Object.freeze(e)},registerSyncs:t,callBids:function(r,i,o,a){function f(e,t){v[e]=!0,u(e,t,[r])&&i(e,t)}function d(e){var n=e&&e[0]&&e[0].mediaType&&"video"===e[0].mediaType,r=l.config.getConfig("cache.url");n&&r||o(),t(b)}function h(e){return e?"?"+("object"===(void 0===e?"undefined":c(e))?(0,m.parseQueryStringParameters)(e):e):""}if(Array.isArray(r.bids)){var v={},b=[],y=r.bids.filter(n);if(0!==y.length){var _={};y.forEach(function(e){_[e.bidId]=e,e.adUnitCode||(e.adUnitCode=e.placementCode)});var w=e.buildRequests(y,r);if(w&&0!==w.length){Array.isArray(w)||(w=[w]);var E=(0,m.delayExecution)(d,w.length);w.forEach(function(t){function n(n,r){function i(t){var n=_[t.requestId];if(n){var r=s(p.default.createBid(g.STATUS.GOOD,n),t);f(n.adUnitCode,r)}else(0,m.logWarn)("Bidder "+e.code+" made bid for unknown request ID: "+t.requestId+". Ignoring.")}try{n=JSON.parse(n)}catch(e){}n={body:n,headers:{get:r.getResponseHeader.bind(r)}},b.push(n);var o=void 0;try{o=e.interpretResponse(n,t)}catch(t){return(0,m.logError)("Bidder "+e.code+" failed to interpret the server's response. Continuing without bids",null,t),void E()}o&&(o.forEach?o.forEach(i):i(o)),E(o)}function r(t){(0,m.logError)("Server call for "+e.code+" failed: "+t+". Continuing without bids."),E()}switch(t.method){case"GET":a(""+t.url+h(t.data),{success:n,error:r},void 0,s({method:"GET",withCredentials:!0},t.options));break;case"POST":a(t.url,{success:n,error:r},"string"==typeof t.data?t.data:JSON.stringify(t.data),s({method:"POST",contentType:"text/plain",withCredentials:!0},t.options));break;default:(0,m.logWarn)("Skipping invalid request from "+e.code+". Request type "+t.type+" must be GET or POST"),E()}})}else d()}else d()}}})}function o(e,t,n){if((t.width||0===t.width)&&(t.height||0===t.height))return!0;var r=(0,m.getBidderRequest)(n,t.bidderCode,e),i=r&&r.bids&&r.bids[0]&&r.bids[0].sizes,o=(0,m.parseSizesInput)(i);if(1===o.length){var u=o[0].split("x"),c=a(u,2),s=c[0],f=c[1];return t.width=s,t.height=f,!0}return!1}function u(e,t,n){function r(e){return"Invalid bid from "+t.bidderCode+". Ignoring bid: "+e}return e?t?function(){var e=Object.keys(t);return _.every(function(t){return(0,y.default)(e,t)})}()?"native"!==t.mediaType||(0,v.nativeBidIsValid)(t,n)?"video"!==t.mediaType||(0,b.isValidVideoBid)(t,n)?!("banner"===t.mediaType&&!o(e,t,n)&&((0, m.logError)(r("Banner bids require a width and height")),1)):((0,m.logError)(r("Video bid does not have required vastUrl or renderer property")),!1):((0,m.logError)(r("Native bid missing some required properties.")),!1):((0,m.logError)(r("Bidder "+t.bidderCode+" is missing required params. Check http://prebid.org/dev-docs/bidder-adapter-1.html for list of params.")),!1):((0,m.logWarn)("Some adapter tried to add an undefined bid for "+e+"."),!1):((0,m.logWarn)("No adUnitCode was supplied to addBidResponse."),!1)}Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var u,a=e[Symbol.iterator]();!(r=(u=a.next()).done)&&(n.push(u.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{!r&&a.return&&a.return()}finally{if(i)throw o}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s=Object.assign||function(e){for(var t=1;t=g.syncsPerBidder?u.logWarn('Number of user syncs exceeded for "{$bidder}"'):g.enabledBidders&&g.enabledBidders.length&&g.enabledBidders.indexOf(t)0&&void 0!==arguments[0]?arguments[0]:0;if(e)return setTimeout(n,Number(e));n()},f.triggerUserSyncs=function(){g.enableOverride&&f.syncUsers()},f}Object.defineProperty(t,"__esModule",{value:!0}),t.userSync=void 0;var i=function(){function e(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var
Saturday, May 12, 2018
0 Response to "Messi Takes the Handoff - Slate Magazine"
Post a Comment