PageSourceSearch

https://cdnn.1prime.ru//js/libs/banners/prebid.min.js

js 1prime.ru collected 2026-09-24 08:26:15 UTC 57,764 bytes, 2 lines download raw bytes

1(function(e){function t(r){if(n[r])return n[r].exports;var i=n[r]={exports:{},id:r,loaded:!1};return e[r].call(i.exports,i,i.exports,t),i.loaded=!0,i.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)})([function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(){for(var e=0;e<y.que.length;e++)if(d(y.que[e].called)===O)try{y.que[e].call(),y.que[e].called=!0}catch(e){h.logError("Error processing command :","prebid.js",e)}}function o(e){var t=y._bidsRequested.map(function(e){return e.bids.map(function(e){return e.placementCode})}).reduce(l.flatten).filter(l.uniques);return!!h.contains(t,e)||void h.logError('The "'+e+'" placement is not defined.')}function a(){y._bidsRequested=[],y._bidsReceived=y._bidsReceived.filter(function(e){return!y._adUnitCodes.includes(e.adUnitCode)})}function u(e,t,n){e.defaultView&&e.defaultView.frameElement&&(e.defaultView.frameElement.width=t,e.defaultView.frameElement.height=n)}var s=Object.assign||function(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},d="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},c=n(1),l=n(2),f=n(4);n(15);var p=n(14),g=n(12),b=n(43),y=(0,c.getGlobal)(),m=n(3),h=n(2),v=n(11),T=n(5),S=n(10),E=n(44),I=n(8),A=n(45),w=n(46),j="function",O="undefined",_="object",C=m.EVENTS.BID_WON,R=m.EVENTS.SET_TARGETING,U=!1,N=[],B={bidWon:o};y._bidsRequested=[],y._bidsReceived=[],y._adUnitCodes=[],y._winningBids=[],y._adsReceived=[],y._sendAllBids=!1,y.bidderSettings=y.bidderSettings||{},y.bidderTimeout=y.bidderTimeout||3e3,y.cbTimeout=y.cbTimeout||200,y.timeoutBuffer=200,y.logging=y.logging||!1,y.publisherDomain=y.publisherDomain||window.location.origin,y.libLoaded=!0,y.version="v0.20.0-pre",h.logInfo("Prebid.js v0.20.0-pre loaded"),y.adUnits=y.adUnits||[],y.que.push=function(e){if(("undefined"==typeof e?"undefined":d(e))===j)try{e.call()}catch(e){h.logError("Error processing command :"+e.message)}else h.logError("Commands written into pbjs.que.push must wrapped in a function")},y.getAdserverTargetingForAdUnitCodeStr=function(e){if(h.logInfo("Invoking pbjs.getAdserverTargetingForAdUnitCodeStr",arguments),e){var t=y.getAdserverTargetingForAdUnitCode(e);return h.transformAdServerTargetingObj(t)}h.logMessage("Need to call getAdserverTargetingForAdUnitCodeStr with adunitCode")},y.getAdserverTargetingForAdUnitCode=function(e){return y.getAdserverTargeting(e)[e]},y.getAdserverTargeting=function(e){return h.logInfo("Invoking pbjs.getAdserverTargeting",arguments),w.getAllTargeting(e).map(function(e){return r({},Object.keys(e)[0],e[Object.keys(e)[0]].map(function(e){return r({},Object.keys(e)[0],e[Object.keys(e)[0]].join(", "))}).reduce(function(e,t){return s(t,e)},{}))}).reduce(function(e,t){var n=Object.keys(t)[0];return e[n]=s({},e[n],t[n]),e},{})},y.getBidResponses=function(){h.logInfo("Invoking pbjs.getBidResponses",arguments);var e=y._bidsReceived.filter(l.adUnitsFilter.bind(this,y._adUnitCodes)),t=e&&e.length&&e[e.length-1].requestId;return e.map(function(e){return e.adUnitCode}).filter(l.uniques).map(function(n){return e.filter(function(e){return e.requestId===t&&e.adUnitCode===n})}).filter(function(e){return e&&e[0]&&e[0].adUnitCode}).map(function(e){return r({},e[0].adUnitCode,{bids:e})}).reduce(function(e,t){return s(e,t)},{})},y.getBidResponsesForAdUnitCode=function(e){var t=y._bidsReceived.filter(function(t){return t.adUnitCode===e});return{bids:t}},y.setTargetingForGPTAsync=function(){return h.logInfo("Invoking pbjs.setTargetingForGPTAsync",arguments),(0,l.isGptPubadsDefined)()?(w.resetPresetTargeting(),w.setTargeting(w.getAllTargeting()),void I.emit(R)):void h.logError("window.googletag is not defined on the page")},y.setTargetingForAst=function(){return h.logInfo("Invoking pbjs.setTargetingForAn",arguments),w.isApntagDefined()?(w.setTargetingForAst(),void I.emit
1(R)):void h.logError("window.apntag is not defined on the page")},y.allBidsAvailable=function(){return h.logInfo("Invoking pbjs.allBidsAvailable",arguments),v.bidsBackAll()},y.renderAd=function(e,t){if(h.logInfo("Invoking pbjs.renderAd",arguments),h.logMessage("Calling renderAd with adId :"+t),e&&t)try{var n=y._bidsReceived.find(function(e){return e.adId===t});if(n){y._winningBids.push(n),I.emit(C,n);var r=n.height,i=n.width,o=n.adUrl,a=n.ad;e===document||"video"===n.mediaType?h.logError("Error trying to write ad. Ad render call ad id "+t+" was prevented from writing to the main document."):a?(e.write(a),e.close(),u(e,i,r)):o?(e.write('<IFRAME SRC="'+o+'" FRAMEBORDER="0" SCROLLING="no" MARGINHEIGHT="0" MARGINWIDTH="0" TOPMARGIN="0" LEFTMARGIN="0" ALLOWTRANSPARENCY="true" WIDTH="'+i+'" HEIGHT="'+r+'"></IFRAME>'),e.close(),u(e,i,r)):h.logError("Error trying to write ad. No ad for bid response id: "+t)}else h.logError("Error trying to write ad. Cannot find ad by given id : "+t)}catch(e){h.logError("Error trying to write ad Id :"+t+" to the page:"+e.message)}else h.logError("Error trying to write ad Id :"+t+" to the page. Missing document or adId")},y.removeAdUnit=function(e){if(h.logInfo("Invoking pbjs.removeAdUnit",arguments),e)for(var t=0;t<y.adUnits.length;t++)y.adUnits[t].code===e&&y.adUnits.splice(t,1)},y.clearAuction=function(){U=!1,h.logMessage("Prebid auction cleared"),N.length&&N.shift()()},y.requestBids=function(e){var t=e.bidsBackHandler,n=e.timeout,r=e.adUnits,i=e.adUnitCodes;I.emit("requestBids");var o=y.cbTimeout=n||y.bidderTimeout;r=r||y.adUnits,h.logInfo("Invoking pbjs.requestBids",arguments),i&&i.length?r=r.filter(function(e){return i.includes(e.code)}):i=r&&r.map(function(e){return e.code});var u=r.filter(f.videoAdUnit).filter(f.hasNonVideoBidder);if(u.forEach(function(e){h.logError("adUnit "+e.code+" has 'mediaType' set to 'video' but contains a bidder that doesn't support video. No Prebid demand requests will be triggered for this adUnit.");for(var t=0;t<r.length;t++)r[t].code===e.code&&r.splice(t,1)}),U)return void N.push(function(){y.requestBids({bidsBackHandler:t,timeout:o,adUnits:r,adUnitCodes:i})});if(U=!0,y._adUnitCodes=i,v.externalCallbackReset(),a(),!r||0===r.length)return h.logMessage("No adUnits configured. No bids requested."),("undefined"==typeof t?"undefined":d(t))===j&&v.addOneTimeCallback(t,!1),void v.executeCallback();var s=!0,c=v.executeCallback.bind(v,s),l=setTimeout(c,o);("undefined"==typeof t?"undefined":d(t))===j&&v.addOneTimeCallback(t,l),T.callBids({adUnits:r,adUnitCodes:i,cbTimeout:o}),0===y._bidsRequested.length&&v.executeCallback()},y.addAdUnits=function(e){h.logInfo("Invoking pbjs.addAdUnits",arguments),h.isArray(e)?y.adUnits.push.apply(y.adUnits,e):("undefined"==typeof e?"undefined":d(e))===_&&y.adUnits.push(e)},y.onEvent=function(e,t,n){return h.logInfo("Invoking pbjs.onEvent",arguments),h.isFn(t)?n&&!B[e].call(null,n)?void h.logError('The id provided is not valid for event "'+e+'" and no handler was set.'):void I.on(e,t,n):void h.logError('The event handler provided is not a function and was not set on event "'+e+'".')},y.offEvent=function(e,t,n){h.logInfo("Invoking pbjs.offEvent",arguments),n&&!B[e].call(null,n)||I.off(e,t,n)},y.addCallback=function(e,t){h.logInfo("Invoking pbjs.addCallback",arguments);var n=null;return e&&t&&("undefined"==typeof t?"undefined":d(t))===j?(n=h.getUniqueIdentifierStr,v.addCallback(n,t,e),n):(h.logError("error registering callback. Check method signature"),n)},y.removeCallback=function(){return null},y.registerBidAdapter=function(e,t){h.logInfo("Invoking pbjs.registerBidAdapter",arguments);try{T.registerBidAdapter(e(),t)}catch(e){h.logError("Error registering bidder adapter : "+e.message)}},y.registerAnalyticsAdapter=function(e){h.logInfo("Invoking pbjs.registerAnalyticsAdapter",arguments);try{T.registerAnalyticsAdapter(e)}catch(e){h.logError("Error registering analytics adapter : "+e.message)}},y.bidsAvailableForAdapter=function(e){h.logInfo("Invoking pbjs.bidsAvailableForAdapter",arguments),y._bidsRequested.find(function(t){return t.bidderCode===e}
1).bids.map(function(t){return s(t,S.createBid(1),{bidderCode:e,adUnitCode:t.placementCode})}).map(function(e){return y._bidsReceived.push(e)})},y.createBid=function(e){return h.logInfo("Invoking pbjs.createBid",arguments),S.createBid(e)},y.addBidResponse=function(e,t){h.logInfo("Invoking pbjs.addBidResponse",arguments),v.addBidResponse(e,t)},y.loadScript=function(e,t,n){h.logInfo("Invoking pbjs.loadScript",arguments),E.loadScript(e,t,n)},y.enableAnalytics=function(e){e&&!h.isEmpty(e)?(h.logInfo("Invoking pbjs.enableAnalytics for: ",e),T.enableAnalytics(e)):h.logError("pbjs.enableAnalytics should be called with option {}")},y.aliasBidder=function(e,t){h.logInfo("Invoking pbjs.aliasBidder",arguments),e&&t?T.aliasBidAdapter(e,t):h.logError("bidderCode and alias must be passed as arguments","pbjs.aliasBidder")},y.setPriceGranularity=function(e){if(h.logInfo("Invoking pbjs.setPriceGranularity",arguments),!e)return void h.logError("Prebid Error: no value passed to `setPriceGranularity()`");if("string"==typeof e)v.setPriceGranularity(e);else if("object"===("undefined"==typeof e?"undefined":d(e))){if(!(0,g.isValidePriceConfig)(e))return void h.logError("Invalid custom price value passed to `setPriceGranularity()`");v.setCustomPriceBucket(e),v.setPriceGranularity(m.GRANULARITY_OPTIONS.CUSTOM),h.logMessage("Using custom price granularity")}},y.enableSendAllBids=function(){y._sendAllBids=!0},y.getAllWinningBids=function(){return y._winningBids},y.buildMasterVideoTagFromAdserverTag=function(e,t){h.logInfo("Invoking pbjs.buildMasterVideoTagFromAdserverTag",arguments);var n=(0,p.parse)(e);if(0===y._bidsReceived.length)return e;var r="";if("dfp"!==t.adserver.toLowerCase())return void h.logError("Only DFP adserver is supported");var i=A.dfpAdserver(t,n);return i.verifyAdserverTag()||h.logError("Invalid adserverTag, required google params are missing in query string"),i.appendQueryParams(),r=(0,p.format)(i.urlComponents)},y.setBidderSequence=function(e){e===m.ORDER.RANDOM&&T.setBidderSequence(m.ORDER.RANDOM)},y.getHighestCpmBids=function(e){return w.getWinningBids(e)},y.que.push(function(){return(0,b.listenMessagesFromCreative)()}),i()},function(e,t){"use strict";function n(){return window.pbjs}Object.defineProperty(t,"__esModule",{value:!0}),t.getGlobal=n,window.pbjs=window.pbjs||{},window.pbjs.que=window.pbjs.que||[]},function(e,t,n){"use strict";function r(){return O()+Math.random().toString(16).substr(2)}function i(){return window.console&&window.console.log}function o(e,t,n){return n.indexOf(e)===t}function a(e,t){return e.concat(t)}function u(e){return pbjs._bidsRequested.map(function(t){return t.bids.find(function(t){return t.bidId===e})}).find(function(e){return e})}function s(e){return Object.keys(e)}function d(e,t){return e[t]}function c(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:pbjs.adUnits;return e.map(function(e){return e.bids.map(function(e){return e.bidder}).reduce(a,[])}).reduce(a).filter(o)}function l(){if(window.googletag&&t.isFn(window.googletag.pubads)&&t.isFn(window.googletag.pubads().getSlots))return!0}function f(e,t){return e.cpm===t.cpm?e.timeToRespond>t.timeToRespond?t:e:e.cpm<t.cpm?t:e}function p(e){for(var t=e.length;t>0;){var n=Math.floor(Math.random()*t);t--;var r=e[t];e[t]=e[n],e[n]=r}return e}function g(e,t){return e.includes(t&&t.placementCode||t&&t.adUnitCode)}Object.defineProperty(t,"__esModule",{value:!0});var b="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};t.uniques=o,t.flatten=a,t.getBidRequest=u,t.getKeys=s,t.getValue=d,t.getBidderCodes=c,t.isGptPubadsDefined=l,t.getHighestCpm=f,t.shuffle=p,t.adUnitsFilter=g;var y=n(3),m="object",h="string",v="number",T=!1,S="Array",E="String",I="Function",A="Number",w=Object.prototype.toString,j=null;try{j=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 O=function(){var e=0;return function(){return e++,e}}();t.getUniqueIdentifierStr=r,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?s(e).map(function(t){return t+"="+encodeURIComponent(d(e,t))}).join("&"):""},t.extend=function(e,t){return e=e||{},this._each(t,function(n,r){b(t[r])===m?e[r]=this.extend(e[r],t[r]):e[r]=t[r]}),e},t.parseSizesInput=function(e){var t=[];if(("undefined"==typeof e?"undefined":b(e))===h){var n=e.split(","),r=/^(\d)+x(\d)+$/i;if(n)for(var i in n)U(n,i)&&n[i].match(r)&&t.push(n[i])}else if(("undefined"==typeof e?"undefined":b(e))===m){var o=e.length;if(o>0)if(2===o&&b(e[0])===v&&b(e[1])===v)t.push(this.parseGPTSingleSizeArray(e));else for(var a=0;a<o;a++)t.push(this.parseGPTSingleSizeArray(e[a]))}return t},t.parseGPTSingleSizeArray=function(e){if(this.isArray(e)&&2===e.length&&!isNaN(e[0])&&!isNaN(e[1]))return e[0]+"x"+e[1]},t.getTopWindowLocation=function(){var e=void 0;try{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.logWarn=function(e){C()&&console.warn&&console.warn("WARNING: "+e)},t.logInfo=function(e,t){C()&&i()&&j&&(t&&0!==t.length||(t=""),j("INFO: "+e+(""===t?"":" : params : "),t))},t.logMessage=function(e){C()&&i()&&console.log("MESSAGE: "+e)},t.hasConsoleLogger=i;var _=function(e){return e?window.console.error?"error":"log":""}(i()),C=function(){return pbjs.logging===!1&&T===!1&&(pbjs.logging="TRUE"===R(y.DEBUG_MODE).toUpperCase(),T=!0),!!pbjs.logging};t.debugTurnedOn=C,t.logError=function(e,t,n){var r=t||"ERROR";C()&&i()&&console[_](console,r+": "+e,n||"")},t.createInvisibleIframe=function(){var e=document.createElement("iframe");return e.id=r(),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 R=function(e){var t="[\\?&]"+e+"=([^&#]*)",n=new RegExp(t),r=n.exec(window.location.search);return null===r?"":decodeURIComponent(r[1].replace(/\+/g," "))};t.hasValidBidRequest=function(e,t,n){function r(e,n){n===t[o]&&(i=!0)}for(var i=!1,o=0;o<t.length;
1o++)if(i=!1,this._each(e,r),!i)return this.logError("Params are missing for bid request. One of these required paramaters are missing: "+t,n),!1;return!0},t.addEventHandler=function(e,t,n){e.addEventListener?e.addEventListener(t,n,!0):e.attachEvent&&e.attachEvent("on"+t,n)},t.isA=function(e,t){return w.call(e)==="[object "+t+"]"},t.isFn=function(e){return this.isA(e,I)},t.isStr=function(e){return this.isA(e,E)},t.isArray=function(e){return this.isA(e,S)},t.isNumber=function(e){return this.isA(e,A)},t.isEmpty=function(e){if(!e)return!0;if(this.isArray(e)||this.isStr(e))return!(e.length>0);for(var t in e)if(hasOwnProperty.call(e,t))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<r;n++)t(e[n],n,e);else for(n in e)hasOwnProperty.call(e,n)&&t.call(this,e[n],n)}},t.contains=function(e,t){if(this.isEmpty(e))return!1;if(this.isFn(e.indexOf))return e.indexOf(t)!==-1;for(var n=e.length;n--;)if(e[n]===t)return!0;return!1},t.indexOf=function(){if(Array.prototype.indexOf)return Array.prototype.indexOf}(),t._map=function(e,t){if(this.isEmpty(e))return[];if(this.isFn(e.map))return e.map(t);var n=[];return this._each(e,function(r,i){n.push(t(r,i,e))}),n};var U=function(e,t){return e.hasOwnProperty?e.hasOwnProperty(t):"undefined"!=typeof e[t]&&e.constructor.prototype[t]!==e[t]};t.createTrackPixelHtml=function(e){if(!e)return"";var t=encodeURI(e),n='<div style="position:absolute;left:0px;top:0px;visibility:hidden;">';return n+='<img src="'+t+'"></div>'},t.createTrackPixelIframeHtml=function(e){return e?'<iframe frameborder="0" allowtransparency="true" marginheight="0" marginwidth="0" width="0" hspace="0" vspace="0" height="0" style="height:0p;width:0p;display:none;" scrolling="no" src="'+encodeURI(e)+'"></iframe>':""},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")}},function(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"},REPO_AND_VERSION:"prebid_prebid_0.20.0-pre",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"}},objectType_function:"function",objectType_undefined:"undefined",objectType_object:"object",objectType_string:"string",objectType_number:"number",EVENTS:{AUCTION_INIT:"auctionInit",AUCTION_END:"auctionEnd",BID_ADJUSTMENT:"bidAdjustment",BID_TIMEOUT:"bidTimeout",BID_REQUESTED:"bidRequested",BID_RESPONSE:"bidResponse",BID_WON:"bidWon",SET_TARGETING:"setTargeting",REQUEST_BIDS:"requestBids"},EVENT_ID_PATHS:{bidWon:"adUnitCode"},ORDER:{RANDOM:"random"},GRANULARITY_OPTIONS:{LOW:"low",MEDIUM:"medium",HIGH:"high",AUTO:"auto",DENSE:"dense",CUSTOM:"custom"},TARGETING_KEYS:["hb_bidder","hb_adid","hb_pb","hb_size","hb_deal"]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hasNonVideoBidder=t.videoAdUnit=void 0;var r=n(5),i=(t.videoAdUnit=function(e){return"video"===e.mediaType},function(e){return!r.videoAdapters.includes(e.bidder)});t.hasNonVideoBidder=function(e){return e.bids.filter(i).length}},function(e,t,n){"use strict";function r(e){var t=e.bidderCode,n=e.requestId,r=e.bidderRequestId,i=e.adUnits;return i.map(function(e){return e.bids.filter(function(e){return e.bidder===t}).map(function(t){var i=e.sizes;if(e.sizeMapping){var a=(0,u.mapSizes)(e);if(""===a)return"";i=a}return o(t,{placementCode:e.code,mediaType:e.mediaType,sizes:i,bidId:d.getUniqueIdentifierStr(),bidderRequestId:r,requestId:n})})}).reduce(a.flatten,[]).filter(function(e){return""!==e})}var i="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},o=Object.assign||function(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},a=n(2),u=n(6),s=n(7),d=n(2),c=n(3),l=n(8),f={};t.bidderRegistry=f;var p={},g=null;t.callBids=function(e){var t=e.adUnits,n=e.cbTimeout,i=d.generateUUID(),o=Date.now(),u={timestamp:o,requestId:i};l.emit(c.EVENTS.AUCTION_INIT,u);var s=(0,a.getBidderCodes)(t);
1g===c.ORDER.RANDOM&&(s=(0,a.shuffle)(s)),s.forEach(function(e){var a=f[e];if(a){var u=d.getUniqueIdentifierStr(),s={bidderCode:e,requestId:i,bidderRequestId:u,bids:r({bidderCode:e,requestId:i,bidderRequestId:u,adUnits:t}),start:(new Date).getTime(),auctionStart:o,timeout:n};s.bids&&0!==s.bids.length&&(d.logMessage("CALLING BIDDER ======= "+e),pbjs._bidsRequested.push(s),l.emit(c.EVENTS.BID_REQUESTED,s),a.callBids(s))}else d.logError("Adapter trying to be called which does not exist: "+e+" adaptermanager.callBids")})},t.registerBidAdapter=function(e,t){e&&t?i(e.callBids)===c.objectType_function?f[t]=e:d.logError("Bidder adaptor error for bidder code: "+t+"bidder must implement a callBids() function"):d.logError("bidAdaptor or bidderCode not specified")},t.aliasBidAdapter=function(e,t){var n=f[t];if(("undefined"==typeof n?"undefined":i(n))===c.objectType_undefined){var r=f[e];if(("undefined"==typeof r?"undefined":i(r))===c.objectType_undefined)d.logError('bidderCode "'+e+'" is not an existing bidder.',"adaptermanager.aliasBidAdapter");else try{var o=null;r instanceof s.BaseAdapter?d.logError(e+" bidder does not currently support aliasing.","adaptermanager.aliasBidAdapter"):(o=r.createNew(),o.setBidderCode(t),this.registerBidAdapter(o,t))}catch(t){d.logError(e+" bidder does not currently support aliasing.","adaptermanager.aliasBidAdapter")}}else d.logMessage('alias name "'+t+'" has been already specified.')},t.registerAnalyticsAdapter=function(e){var t=e.adapter,n=e.code;t&&n?i(t.enableAnalytics)===c.objectType_function?(t.code=n,p[n]=t):d.logError('Prebid Error: Analytics adaptor error for analytics "'+n+'"\n        analytics adapter must implement an enableAnalytics() function'):d.logError("Prebid Error: analyticsAdapter or analyticsCode not specified")},t.enableAnalytics=function(e){d.isArray(e)||(e=[e]),d._each(e,function(e){var t=p[e.provider];t?t.enableAnalytics(e):d.logError("Prebid Error: no analytics adapter found in registry for\n        "+e.provider+".")})},t.setBidderSequence=function(e){g=e};var b=n(9);t.registerBidAdapter(new b,"adriver"),t.videoAdapters=[]},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function i(e){if(!o(e.sizeMapping))return e.sizes;var t=a();if(!t){var n=e.sizeMapping.reduce(function(e,t){return e.minWidth<t.minWidth?t:e});return n.sizes?n.sizes:e.sizes}var r="",i=e.sizeMapping.find(function(e){return t>e.minWidth});return i&&i.sizes?(r=i.sizes,d.logMessage("AdUnit : "+e.code+" resized based on device width to : "+r)):d.logMessage("AdUnit : "+e.code+" not mapped to any sizes for device width. This request will be suppressed."),r}function o(e){return!!(d.isArray(e)&&e.length>0)||(d.logInfo("No size mapping defined"),!1)}function a(e){var t=e||c||window,n=t.document;return t.innerWidth?t.innerWidth:n.body.clientWidth?n.body.clientWidth:n.documentElement.clientWidth?n.documentElement.clientWidth:0}function u(e){c=e}Object.defineProperty(t,"__esModule",{value:!0}),t.setWindow=t.getScreenWidth=t.mapSizes=void 0;var s=n(2),d=r(s),c=void 0;t.mapSizes=i,t.getScreenWidth=a,t.setWindow=u},function(e,t){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.BaseAdapter=function(){function e(t){n(this,e),this.code=t}return r(e,[{key:"getCode",value:function(){return this.code}},{key:"setCode",value:function(e){this.code=e}},{key:"callBids",value:function(){throw"adapter implementation must override callBids method"}}]),e}()},function(e,t,n){"use strict";var r=n(2),i=n(3),o=Array.prototype.slice,a=Array.prototype.push,u=r._map(i.EVENTS,function(e){return e}),s=i.EVENT_ID_PATHS,d=[];e.exports=function(){function e(e,t){r.logMessage("Emitting event for: "+e);var i=t[0]||{},o=s[e],u=i[o],c=n[e]||{que:[]},l=r._map(c,function(e,t){return t}),f=[];d.push({eventType:e,args:i,id:u}),u&&r.contains(l,u)&&a.apply(f,c[u].que),a.apply(f,c.que),r._each(f,function(e){if(e)try{e.apply(null,t)}catch(e){r.logError("Error executing handler:","events.js",e)}})}function t(e){return r.contains(u,e)}var n={},i={};return i.on=function(e,i,o){if(t(e)){var a=n[e]||{que:[]};o?(a[o]=a[o]||{que:[]},a[o].que.push(i)):a.que.push(i),n[e]=a}else r.logError("Wrong event name : "+e+" Valid event names :"+u)}
1,i.emit=function(t){var n=o.call(arguments,1);e(t,n)},i.off=function(e,t,i){var o=n[e];r.isEmpty(o)||r.isEmpty(o.que)&&r.isEmpty(o[i])||i&&(r.isEmpty(o[i])||r.isEmpty(o[i].que))||(i?r._each(o[i].que,function(e){var n=o[i].que;e===t&&n.splice(r.indexOf.call(n,e),1)}):r._each(o.que,function(e){var n=o.que;e===t&&n.splice(r.indexOf.call(n,e),1)}),n[e]=o)},i.get=function(){return n},i.getEvents=function(){var e=[];return r._each(d,function(t){var n=r.extend({},t);e.push(n)}),e},i}()},function(e,t,n){"use strict";var r=n(10),i=n(11),o=n(2),a=n(13).ajax,u=function(){function e(e){var t=e.bids||[],r=Math.round(999999999*Math.random())+"-"+Math.round(new Date/1e3)+"-1-46-",i=o.getBidIdParameter("siteid",t[0].params)+"",a=o.getBidIdParameter("currency",t[0].params);a=a?a+"":"RUB";var u={cur:[a],site:{name:window.location.origin,domain:window.location.hostname,id:i,page:window.location.href},id:r,user:{buyerid:0},device:{ip:"195.209.111.14",ua:window.navigator.userAgent},imp:[]};o._each(t,function(e){if(e.placementCode){var t,n,r,i=o.getBidIdParameter("bidfloor",e.params);2===e.sizes.length&&"number"==typeof e.sizes[0]&&"number"==typeof e.sizes[1]?(t=e.sizes[0],n=e.sizes[1]):(t=e.sizes[0][0],n=e.sizes[0][1]),r={id:e.placementCode,banner:{w:t||void 0,h:n||void 0},bidfloor:i?i:0,bidfloorcur:a,secure:0},u.imp.push(r),pbjs.adriverRequests.push(e.placementCode)}}),u.imp[0].banner.w&&u.imp[0].banner.h&&n(u)}function t(e){try{e=JSON.parse(e)}catch(t){e={seatbid:[{bid:[{price:0,impid:void 0,nurl:void 0}]}]}}var t,n=0;o._each(e.seatbid,function(e){var a=e.bid[0];void 0!==a.nurl&&(n=a.nurl.split("://"),n=window.location.protocol+"//"+n[1],n=n.replace("${AUCTION_PRICE}",a.price));var u=a.impid||void 0;a.price>=0&&void 0!==u&&0!==n&&(t=r.createBid(1),t.bidderCode="adriver",t.cpm=a.price,t.adUrl=n,t.width=a.w,t.height=a.h,i.addBidResponse(u,t),o._each(pbjs.adriverRequests,function(e,t){e===u&&pbjs.adriverRequests.splice(t,1)}))}),pbjs.adriverRequests.length>0&&o._each(pbjs.adriverRequests,function(e){t=r.createBid(2),t.bidderCode="adriver",i.addBidResponse(e,t)})}function n(e){a(u,t,JSON.stringify(e),s)}var u=window.location.protocol+"//pb.adriver.ru/cgi-bin/bid.cgi",s={contentType:"text/plain",method:"POST",withCredentials:!0};return pbjs.adriverRequests=[],{callBids:e,responseCallback:t}};e.exports=u},function(e,t,n){"use strict";function r(e,t){function n(){switch(o){case 0:return"Pending";case 1:return"Bid available";case 2:return"Bid returned empty or error response";case 3:return"Bid timed out"}}var r=t&&t.bidId||i.getUniqueIdentifierStr(),o=e||0;this.bidderCode="",this.width=0,this.height=0,this.statusMessage=n(),this.adId=r,this.getStatusCode=function(){return o},this.getSize=function(){return this.width+"x"+this.height}}var i=n(2);t.createBid=function(){return new(Function.prototype.bind.apply(r,[null].concat(Array.prototype.slice.call(arguments))))}},function(e,t,n){"use strict";function r(){return(new Date).getTime()}function i(e){return e.bidderCode}function o(e){return e.bidder}function a(e){var t=this,n=pbjs._bidsRequested.map(function(n){return n.bids.filter(T.adUnitsFilter.bind(t,pbjs._adUnitCodes)).filter(function(t){return t.placementCode===e})}).reduce(T.flatten,[]).map(function(e){return"indexExchange"===e.bidder?e.sizes.length:1}).reduce(u,0),r=pbjs._bidsReceived.filter(function(t){return t.adUnitCode===e}).length;return n===r}function u(e,t){return e+t}function s(){var e=pbjs._bidsRequested.map(function(e){return e.bids}).reduce(T.flatten,[]).filter(T.adUnitsFilter.bind(this,pbjs._adUnitCodes)).map(function(e){return"indexExchange"===e.bidder?e.sizes.length:1}).reduce(function(e,t){return e+t},0),t=pbjs._bidsReceived.filter(T.adUnitsFilter.bind(this,pbjs._adUnitCodes)).length;return e===t}function d(e,t){return pbjs._bidsRequested.find(function(n){return n.bids.filter(function(n){return n.bidder===e&&n.placementCode===t}).length>0})||{start:null,requestId:null}}function c(e,t){var n={},r=pbjs.bidderSettings;if(t&&r){var i=y();l(n,i,t)}return e&&t&&r&&r[e]&&r[e][E.JSON_MAPPING.ADSERVER_TARGETING]?(l(n,r[e],t),t.alwaysUseBid=r[e].alwaysUseBid,t.sendStandardTargeting=r[e].sendStandardTargeting):R[e]&&(l(n,R[e],t),t.alwaysUseBid=R[e].alwaysUseBid,t.sendStandardTargeting=R[e].sendStandardTargeting),n}function l(e,t,n){var r=t[E.JSON_MAPPING.ADSERVER_TARGETING];return n.size=n.getSize(),A._each(r,function(r){var i=r.key,o=r.val;if(e[i]&&A.logWarn("The key: "+i+" is getting ovewritten"),A.isFn(o))try{o=o(n)}catch(e){A.logError("bidmanager","ERROR",e)}("undefined"==typeof t.suppressEmptyKeys||t.suppressEmptyKeys!==!0)&&"hb_deal"!==i||!A.isEmptyStr(o)&&null!==o&&void 0!==o?e[i]=o:A.logInfo("suppressing empty key '"+i+"' from adserver targeting")}),e}function f(e){var t=[e];p(O.byAdUnit,t)}function p(e,t){var n=this;A.isArray(e)&&e.forEach(function(e){var r=t||pbjs._adUnitCodes,i=[pbjs._bidsReceived.filter(T.adUnitsFilter.b
1ind(n,r)).reduce(g,{})];e.apply(pbjs,i)})}function g(e,t){return e[t.adUnitCode]||(e[t.adUnitCode]={bids:[]}),e[t.adUnitCode].bids.push(t),e}function b(e){var t=e.bidderCode,n=e.cpm;if(t&&pbjs.bidderSettings&&pbjs.bidderSettings[t]&&h(pbjs.bidderSettings[t].bidCpmAdjustment)===j)try{n=pbjs.bidderSettings[t].bidCpmAdjustment.call(null,e.cpm,A.extend({},e))}catch(e){A.logError("Error during bid adjustment","bidmanager.js",e)}n>=0&&(e.cpm=n)}function y(){var e=pbjs.bidderSettings;return e[E.JSON_MAPPING.BD_SETTING_STANDARD]||(e[E.JSON_MAPPING.BD_SETTING_STANDARD]={adserverTargeting:[{key:"hb_bidder",val:function(e){return e.bidderCode}},{key:"hb_adid",val:function(e){return e.adId}},{key:"hb_pb",val:function(e){return _===E.GRANULARITY_OPTIONS.AUTO?e.pbAg:_===E.GRANULARITY_OPTIONS.DENSE?e.pbDg:_===E.GRANULARITY_OPTIONS.LOW?e.pbLg:_===E.GRANULARITY_OPTIONS.MEDIUM?e.pbMg:_===E.GRANULARITY_OPTIONS.HIGH?e.pbHg:_===E.GRANULARITY_OPTIONS.CUSTOM?e.pbCg:void 0}},{key:"hb_size",val:function(e){return e.size}},{key:"hb_deal",val:function(e){return e.dealId}}]}),e[E.JSON_MAPPING.BD_SETTING_STANDARD]}function m(){return y()[E.JSON_MAPPING.ADSERVER_TARGETING]}var h="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},v=Object.assign||function(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},T=n(2),S=n(12),E=n(3),I=E.EVENTS.AUCTION_END,A=n(2),w=n(8),j="function",O={byAdUnit:[],all:[],oneTime:null,timer:!1},_=E.GRANULARITY_OPTIONS.MEDIUM,C=void 0,R={};t.setCustomPriceBucket=function(e){C=e},t.getTimedOutBidders=function(){return pbjs._bidsRequested.map(i).filter(T.uniques).filter(function(e){return pbjs._bidsReceived.map(o).filter(T.uniques).indexOf(e)<0})},t.bidsBackAll=function(){return s()},t.addBidResponse=function(e,n){if(!e)return void A.logWarn("No adUnitCode supplied to addBidResponse, response discarded");if(n){var i=d(n.bidderCode,e),o=i.requestId,u=i.start;if(v(n,{requestId:o,responseTimestamp:r(),requestTimestamp:u,cpm:n.cpm||0,bidder:n.bidderCode,adUnitCode:e}),n.timeToRespond=n.responseTimestamp-n.requestTimestamp,n.timeToRespond>pbjs.cbTimeout+pbjs.timeoutBuffer){var l=!0;t.executeCallback(l)}w.emit(E.EVENTS.BID_ADJUSTMENT,n),w.emit(E.EVENTS.BID_RESPONSE,n);var p=(0,S.getPriceBucketString)(n.cpm,C);n.pbLg=p.low,n.pbMg=p.med,n.pbHg=p.high,n.pbAg=p.auto,n.pbDg=p.dense,n.pbCg=p.custom;var g={};n.bidderCode&&n.cpm>0&&(g=c(n.bidderCode,n)),n.adserverTargeting=g,pbjs._bidsReceived.push(n)}n&&n.adUnitCode&&a(n.adUnitCode)&&f(n.adUnitCode),
2s()&&t.executeCallback()},t.getKeyValueTargetingPairs=function(){return c.apply(void 0,arguments)},t.setPriceGranularity=function(e){var t=E.GRANULARITY_OPTIONS;Object.keys(t).filter(function(n){return e===t[n]})?_=e:(A.logWarn("Prebid Warning: setPriceGranularity was called with invalid setting, using `medium` as default."),_=E.GRANULARITY_OPTIONS.MEDIUM)},t.registerDefaultBidderSetting=function(e,t){R[e]=t},t.executeCallback=function(e){if(!e&&O.timer&&clearTimeout(O.timer),O.all.called!==!0&&(p(O.all),O.all.called=!0,e)){var n=t.getTimedOutBidders();n.length&&w.emit(E.EVENTS.BID_TIMEOUT,n)}if(O.oneTime){w.emit(I);try{p([O.oneTime])}catch(e){A.logError("Error executing bidsBackHandler",null,e)}finally{O.oneTime=null,O.timer=!1,pbjs.clearAuction()}}},t.externalCallbackReset=function(){O.all.called=!1},t.addOneTimeCallback=function(e,t){O.oneTime=e,O.timer=t},t.addCallback=function(e,t,n){t.id=e,E.CB.TYPE.ALL_BIDS_BACK===n?O.all.push(t):E.CB.TYPE.AD_UNIT_BIDS_BACK===n&&O.byAdUnit.push(t)},w.on(E.EVENTS.BID_ADJUSTMENT,function(e){b(e)}),t.adjustBids=function(){return b.apply(void 0,arguments)},t.getStandardBidderAdServerTargeting=m},function(e,t){"use strict";function n(e,t){var n=0;return n=parseFloat(e),isNaN(n)&&(n=""),{low:""===n?"":r(e,u),med:""===n?"":r(e,s),high:""===n?"":r(e,d),auto:""===n?"":r(e,l),dense:""===n?"":r(e,c),custom:""===n?"":r(e,t)}}function r(e,t){var n="";if(!i(t))return n;var r=t.buckets.reduce(function(e,t){return e.max>t.max?e:t},{max:0}),u=t.buckets.find(function(t){if(e>r.max){var i=t.precision||a;n=t.max.toFixed(i)}else if(e<=t.max&&e>=t.min)return t});return u&&(n=o(e,u.increment,u.precision)),n}function i(e){if(!e||!e.buckets||!Array.isArray(e.buckets))return!1;var t=!0;
2return e.buckets.forEach(function(e){"undefined"!=typeof e.min&&e.max&&e.increment||(t=!1)}),t}function o(e,t,n){n||(n=a);var r=1/t;return(Math.floor(e*r)/r).toFixed(n)}Object.defineProperty(t,"__esModule",{value:!0});var a=2,u={buckets:[{min:0,max:5,increment:.5}]},s={buckets:[{min:0,max:20,increment:.1}]},d={buckets:[{min:0,max:20,increment:.01}]},c={buckets:[{min:0,max:3,increment:.01},{min:3,max:8,increment:.05},{min:8,max:20,increment:.5}]},l={buckets:[{min:0,max:5,increment:.05},{min:5,max:10,increment:.1},{min:10,max:20,increment:.5}]};t.getPriceBucketString=n,t.isValidePriceConfig=i},function(e,t,n){"use strict";function r(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};try{var s=void 0,d=!1,c=r.method||(n?"POST":"GET");if(window.XMLHttpRequest?(s=new window.XMLHttpRequest,void 0===s.responseType&&(d=!0)):d=!0,d?(s=new window.XDomainRequest,s.onload=function(){t(s.responseText,s)},s.onerror=function(){a.logMessage("xhr onerror")},s.ontimeout=function(){a.logMessage("xhr timeout")},s.onprogress=function(){a.logMessage("xhr onprogress")}):s.onreadystatechange=function(){s.readyState===u&&t&&t(s.responseText,s)},"GET"===c&&n){var l=(0,o.parse)(e);i(l.search,n),e=(0,o.format)(l)}s.open(c,e),d||(r.withCredentials&&(s.withCredentials=!0),r.preflight&&s.setRequestHeader("X-Requested-With","XMLHttpRequest"),s.setRequestHeader("Content-Type",r.contentType||"text/plain")),s.send("POST"===c&&n)}catch(e){a.logError("xhr construction",e)}}Object.defineProperty(t,"__esModule",{value:!0});var i=Object.assign||function(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};t.ajax=r;var o=n(14),a=n(2),u=4},function(e,t){"use strict";function n(e){return e?e.replace(/^\?/,"").split("&").reduce(function(e,t){var n=t.split("="),r=a(n,2),i=r[0],o=r[1];return/\[\]$/.test(i)?(i=i.replace("[]",""),e[i]=e[i]||[],e[i].push(o)):e[i]=o||"",e},{}):{}}function r(e){return Object.keys(e).map(function(t){return Array.isArray(e[t])?e[t].map(function(e){return t+"[]="+e}).join("&"):t+"="+e[t]}).join("&")}function i(e){var t=document.createElement("a");return t.href=decodeURIComponent(e),{protocol:(t.protocol||"").replace(/:$/,""),hostname:t.hostname,port:+t.port,pathname:t.pathname,search:n(t.search||""),hash:(t.hash||"").replace(/^#/,""),host:t.host}}function o(e){return(e.protocol||"http")+"://"+(e.host||e.hostname+(e.port?":"+e.port:""))+(e.pathname||"")+(e.search?"?"+r(e.search||""):"")+(e.hash?"#"+e.hash:"")}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 a,u=e[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{!r&&u.return&&u.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")}}();t.parseQS=n,t.formatQS=r,t.parse=i,t.format=o},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}var i=n(16),o=r(i),a=n(40),u=r(a);Array.prototype.find||(0,o.default)(),Array.prototype.includes||(0,u.default)(),Number.isInteger=Number.isInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e}},function(e,t,n){"use strict";var r=n(17),i=n(21);e.exports=function(){var e=i();return r(Array.prototype,{find:e},{find:function(){return Array.prototype.find!==e}}),e}},function(e,t,n){"use strict";var r=n(18),i=n(20),o="function"==typeof Symbol&&"symbol"==typeof Symbol(),a=Object.prototype.toString,u=function(e){return"function"==typeof e&&"[object Function]"===a.call(e)},s=function(){var e={};try{Object.defineProperty(e,"x",{enumerable:!1,value:e});for(var t in e)return!1;return e.x===e}catch(e){return!1}},d=Object.defineProperty&&s(),c=function(e,t,n,r){(!(t in e)||u(r)&&r())&&(d?Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n,writable:!0}):e[t]=n)},l=function(e,t){var n=arguments.length>2?arguments[2]:{},a=r(t);o&&(a=a.concat(Object.getOwnPropertySymbols(t))),i(a,function(r){c(e,r,t[r],n[r])})};
2l.supportsDescriptors=!!d,e.exports=l},function(e,t,n){"use strict";var r=Object.prototype.hasOwnProperty,i=Object.prototype.toString,o=Array.prototype.slice,a=n(19),u=Object.prototype.propertyIsEnumerable,s=!u.call({toString:null},"toString"),d=u.call(function(){},"prototype"),c=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],l=function(e){var t=e.constructor;return t&&t.prototype===e},f={$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},p=function(){if("undefined"==typeof window)return!1;for(var e in window)try{if(!f["$"+e]&&r.call(window,e)&&null!==window[e]&&"object"==typeof window[e])try{l(window[e])}catch(e){return!0}}catch(e){return!0}return!1}(),g=function(e){if("undefined"==typeof window||!p)return l(e);try{return l(e)}catch(e){return!1}},b=function(e){var t=null!==e&&"object"==typeof e,n="[object Function]"===i.call(e),o=a(e),u=t&&"[object String]"===i.call(e),l=[];if(!t&&!n&&!o)throw new TypeError("Object.keys called on a non-object");var f=d&&n;if(u&&e.length>0&&!r.call(e,0))for(var p=0;p<e.length;++p)l.push(String(p));if(o&&e.length>0)for(var b=0;b<e.length;++b)l.push(String(b));else for(var y in e)f&&"prototype"===y||!r.call(e,y)||l.push(String(y));if(s)for(var m=g(e),h=0;h<c.length;++h)m&&"constructor"===c[h]||!r.call(e,c[h])||l.push(c[h]);return l};b.shim=function(){if(Object.keys){var e=function(){return 2===(Object.keys(arguments)||"").length}(1,2);if(!e){var t=Object.keys;Object.keys=function(e){return t(a(e)?o.call(e):e)}}}else Object.keys=b;return Object.keys||b},e.exports=b},function(e,t){"use strict";var n=Object.prototype.toString;e.exports=function(e){var t=n.call(e),r="[object Arguments]"===t;return r||(r="[object Array]"!==t&&null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&"[object Function]"===n.call(e.callee)),r}},function(e,t){var n=Object.prototype.hasOwnProperty,r=Object.prototype.toString;e.exports=function(e,t,i){if("[object Function]"!==r.call(t))throw new TypeError("iterator must be a function");var o=e.length;if(o===+o)for(var a=0;a<o;a++)t.call(i,e[a],a,e);else for(var u in e)n.call(e,u)&&t.call(i,e[u],u,e)}},function(e,t,n){"use strict";e.exports=function(){var e=Array.prototype.find&&1!==[,1].find(function(){return!0});return e?Array.prototype.find:n(22)}},function(e,t,n){"use strict";var r=n(23);e.exports=function(e){var t=r.ToObject(this),n=r.ToInteger(r.ToLength(t.length));if(!r.IsCallable(e))throw new TypeError("Array#find: predicate must be a function");if(0!==n)for(var i,o=arguments[1],a=0;a<n;a++)if(i=t[a],r.Call(e,o,[i,a,t]))return i}},function(e,t,n){"use strict";var r=Object.prototype.toString,i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator,o=i?Symbol.prototype.toString:r,a=n(24),u=n(25),s=Number.MAX_SAFE_INTEGER||Math.pow(2,53)-1,d=n(26),c=n(27),l=n(28),f=n(29),p=n(30),g=parseInt,b=n(35),y=b.call(Function.call,String.prototype.slice),m=b.call(Function.call,RegExp.prototype.test,/^0b[01]+$/i),h=b.call(Function.call,RegExp.prototype.test,/^0o[0-7]+$/i),v=["…","​","￾"].join(""),T=new RegExp("["+v+"]","g"),S=b.call(Function.call,RegExp.prototype.test,T),E=/^[-+]0x[0-9a-f]+$/i,I=b.call(Function.call,RegExp.prototype.test,E),A=["\t\n\v\f\r   ᠎    ","          \u2028","\u2029\ufeff"].join(""),w=new RegExp("(^["+A+"]+)|(["+A+"]+$)","g"),j=b.call(Function.call,String.prototype.replace),O=function(e){return j(e,w,"")},_=n(37),C=n(39),R=d(d({},_),{Call:function(e,t){var n=arguments.length>2?arguments[2]:[];if(!this.IsCallable(e))throw new TypeError(e+" is not a function");return e.apply(t,n)},ToPrimitive:p,ToNumber:function(e){var t=f(e)?e:p(e,"number");if("symbol"==typeof t)throw new TypeError("Cannot convert a Symbol value to a number");if("string"==typeof t){if(m(t))return this.ToNumber(g(y(t,2),2));if(h(t))return this.ToNumber(g(y(t,2),8));if(S(t)||I(t))return NaN;var n=O(t);if(n!==t)return this.ToNumber(n)}return Number(t)},ToInt16:function(e){var t=this.ToUint16(e);return t>=32768?t-65536:t},ToInt8:function(e){var t=this.ToUint8(e);return t>=128?t-256:t},ToUint8:function(e){var t=this.ToNumber(e);if(a(t)||0===t||!u(t))return 0;var n=c(t)*Math.floor(Math.abs(t));return l(n,256)},ToUint8Clamp:function(e){var t=this.ToNumber(e);if(a(t)||t<=0)return 0;if(t>=255)return 255;var n=Math.floor(e);return n+.5<t?n+1:t<n+.5?n:n%2!==0?n+1:n},ToString:function(e){if("symbol"==typeof e)throw new TypeError("Cannot convert a Symbol value to a string");return String(e)},ToObject:function(e){return this.RequireObjectCoercible(e),Object(e)},ToPropertyKey:function(e){var t=this.ToPrimitive(e,String);return"symbol"==typeof t?o.call(t):this.ToString(t)},ToLength:function(e){var t=this.ToInteger(e);return t<=0?0:t>s?s:t},CanonicalNumericIndexString:function(e){if("[object String]"!==r.call(e))throw new TypeError("must be a string");if("-0"===e)return-0;var t=this.ToNumber(e);return this.SameValue(this.ToString(t),e)?t:void 0},RequireObjectCoercible:_.CheckObjectCoercible,IsArray:Array.isArray||function(e){return"[object Array]"===r.call(e)},IsConstructor:function(e){return"function"==typeof e&&!!e.prototype},IsExtensible:function(e){return!Object.preventExtensions||!f(e)&&Object.isExtensible(e)},IsInteger:function(e){if("number"!=typeof e||a(e)||!u(e))return!1;var t=Math.abs(e);return Math.floor(t)===t},IsPropertyKey:function(e){return"string"==typeof e||"symbol"==typeof e},IsRegExp:function(e){if(!e||"object"!=typeof e)return!1;if(i){var t=e[Symbol.match];if("undefined"!=typeof t)return _.ToBoolean(t)}return C(e)},SameValueZero:function(e,t){return e===t||a(e)&&a(t)},GetV:function(e,t){if(!this.IsPropertyKey(t))throw new TypeError("Assertion failed: IsPropertyKey(P) is not true");var n=this.ToObject(e);return n[t]},GetMethod:function(e,t){if(!this.IsPropertyKey(t))throw new TypeError("Assertion failed: IsPropertyKey(P) is not true");var n=this.GetV(e,t);if(null!=n){if(!this.IsCallable(n))throw new TypeError(t+"is not a function");return n}},Get:function(e,t){if("Object"!==this.Type(e))throw new TypeError("Assertion failed: Type(O) 
2is not Object");if(!this.IsPropertyKey(t))throw new TypeError("Assertion failed: IsPropertyKey(P) is not true");return e[t]},Type:function(e){return"symbol"==typeof e?"Symbol":_.Type(e)},SpeciesConstructor:function(e,t){if("Object"!==this.Type(e))throw new TypeError("Assertion failed: Type(O) is not Object");var n=e.constructor;if("undefined"==typeof n)return t;if("Object"!==this.Type(n))throw new TypeError("O.constructor is not an Object");var r=i&&Symbol.species?n[Symbol.species]:void 0;if(null==r)return t;if(this.IsConstructor(r))return r;throw new TypeError("no constructor found")}});delete R.CheckObjectCoercible,e.exports=R},function(e,t){e.exports=Number.isNaN||function(e){return e!==e}},function(e,t){var n=Number.isNaN||function(e){return e!==e};e.exports=Number.isFinite||function(e){return"number"==typeof e&&!n(e)&&e!==1/0&&e!==-(1/0)}},function(e,t){var n=Object.prototype.hasOwnProperty;e.exports=Object.assign||function(e,t){for(var r in t)n.call(t,r)&&(e[r]=t[r]);return e}},function(e,t){e.exports=function(e){return e>=0?1:-1}},function(e,t){e.exports=function(e,t){var n=e%t;return Math.floor(n>=0?n:n+t)}},function(e,t){e.exports=function(e){return null===e||"function"!=typeof e&&"object"!=typeof e}},function(e,t,n){"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator,i=n(31),o=n(32),a=n(33),u=n(34),s=function(e,t){if("undefined"==typeof e||null===e)throw new TypeError("Cannot call method on "+e);if("string"!=typeof t||"number"!==t&&"string"!==t)throw new TypeError('hint must be "string" or "number"');var n,r,a,u="string"===t?["toString","valueOf"]:["valueOf","toString"];for(a=0;a<u.length;++a)if(n=e[u[a]],o(n)&&(r=n.call(e),i(r)))return r;throw new TypeError("No default value")},d=function(e,t){var n=e[t];if(null!==n&&"undefined"!=typeof n){if(!o(n))throw new TypeError(n+" returned for property "+t+" of object "+e+" is not a function");return n}};e.exports=function(e,t){if(i(e))return e;var n="default";arguments.length>1&&(t===String?n="string":t===Number&&(n="number"));var o;if(r&&(Symbol.toPrimitive?o=d(e,Symbol.toPrimitive):u(e)&&(o=Symbol.prototype.valueOf)),"undefined"!=typeof o){var c=o.call(e,n);if(i(c))return c;throw new TypeError("unable to convert exotic object to primitive")}return"default"===n&&(a(e)||u(e))&&(n="string"),s(e,"default"===n?"number":n)}},function(e,t){e.exports=function(e){return null===e||"function"!=typeof e&&"object"!=typeof e}},function(e,t){"use strict";var n=Function.prototype.toString,r=/^\s*class /,i=function(e){try{var t=n.call(e),i=t.replace(/\/\/.*\n/g,""),o=i.replace(/\/\*[.\s\S]*\*\//g,""),a=o.replace(/\n/gm," ").replace(/ {2}/g," ");return r.test(a)}catch(e){return!1}},o=function(e){try{return!i(e)&&(n.call(e),!0)}catch(e){return!1}},a=Object.prototype.toString,u="[object Function]",s="[object GeneratorFunction]",d="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;e.exports=function(e){if(!e)return!1;if("function"!=typeof e&&"object"!=typeof e)return!1;if(d)return o(e);if(i(e))return!1;var t=a.call(e);return t===u||t===s}},function(e,t){"use strict";var n=Date.prototype.getDay,r=function(e){try{return n.call(e),!0}catch(e){return!1}},i=Object.prototype.toString,o="[object Date]",a="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;e.exports=function(e){return"object"==typeof e&&null!==e&&(a?r(e):i.call(e)===o)}},function(e,t){"use strict";var n=Object.prototype.toString,r="function"==typeof Symbol&&"symbol"==typeof Symbol();if(r){var i=Symbol.prototype.toString,o=/^Symbol\(.*\)$/,a=function(e){return"symbol"==typeof e.valueOf()&&o.test(i.call(e))};e.exports=function(e){if("symbol"==typeof e)return!0;if("[object Symbol]"!==n.call(e))return!1;try{return a(e)}catch(e){return!1}}}else e.exports=function(e){return!1}},function(e,t,n){var r=n(36);e.exports=Function.prototype.bind||r},function(e,t){var n="Function.prototype.bind called on incompatible ",r=Array.prototype.slice,i=Object.prototype.toString,o="[object Function]";e.exports=function(e){var t=this;if("function"!=typeof t||i.call(t)!==o)throw new TypeError(n+t);
2for(var a,u=r.call(arguments,1),s=function(){if(this instanceof a){var n=t.apply(this,u.concat(r.call(arguments)));return Object(n)===n?n:this}return t.apply(e,u.concat(r.call(arguments)))},d=Math.max(0,t.length-u.length),c=[],l=0;l<d;l++)c.push("$"+l);if(a=Function("binder","return function ("+c.join(",")+"){ return binder.apply(this,arguments); }")(s),t.prototype){var f=function(){};f.prototype=t.prototype,a.prototype=new f,f.prototype=null}return a}},function(e,t,n){"use strict";var r=n(24),i=n(25),o=n(27),a=n(28),u=n(32),s=n(38),d={ToPrimitive:s,ToBoolean:function(e){return Boolean(e)},ToNumber:function(e){return Number(e)},ToInteger:function(e){var t=this.ToNumber(e);return r(t)?0:0!==t&&i(t)?o(t)*Math.floor(Math.abs(t)):t},ToInt32:function(e){return this.ToNumber(e)>>0},ToUint32:function(e){return this.ToNumber(e)>>>0},ToUint16:function(e){var t=this.ToNumber(e);if(r(t)||0===t||!i(t))return 0;var n=o(t)*Math.floor(Math.abs(t));return a(n,65536)},ToString:function(e){return String(e)},ToObject:function(e){return this.CheckObjectCoercible(e),Object(e)},CheckObjectCoercible:function(e,t){if(null==e)throw new TypeError(t||"Cannot call method on "+e);return e},IsCallable:u,SameValue:function(e,t){return e===t?0!==e||1/e===1/t:r(e)&&r(t)},Type:function(e){return null===e?"Null":"undefined"==typeof e?"Undefined":"function"==typeof e||"object"==typeof e?"Object":"number"==typeof e?"Number":"boolean"==typeof e?"Boolean":"string"==typeof e?"String":void 0}};e.exports=d},function(e,t,n){"use strict";var r=Object.prototype.toString,i=n(31),o=n(32),a={"[[DefaultValue]]":function(e,t){var n=t||("[object Date]"===r.call(e)?String:Number);if(n===String||n===Number){var a,u,s=n===String?["toString","valueOf"]:["valueOf","toString"];for(u=0;u<s.length;++u)if(o(e[s[u]])&&(a=e[s[u]](),i(a)))return a;throw new TypeError("No default value")}throw new TypeError("invalid [[DefaultValue]] hint supplied")}};e.exports=function(e,t){return i(e)?e:a["[[DefaultValue]]"](e,t)}},function(e,t){"use strict";var n=RegExp.prototype.exec,r=function(e){try{return n.call(e),!0}catch(e){return!1}},i=Object.prototype.toString,o="[object RegExp]",a="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;e.exports=function(e){return"object"==typeof e&&(a?r(e):i.call(e)===o)}},function(e,t,n){"use strict";var r=n(17),i=n(41);e.exports=function(){var e=i();return Array.prototype.includes!==e&&r(Array.prototype,{includes:e}),e}},function(e,t,n){"use strict";var r=n(42);e.exports=function(){return Array.prototype.includes||r}},function(e,t,n){(function(t){"use strict";var r=n(23),i=Number.isNaN||function(e){return e!==e},o=Number.isFinite||function(e){return"number"==typeof e&&t.isFinite(e)},a=Array.prototype.indexOf;e.exports=function(e){var t=arguments.length>1?r.ToInteger(arguments[1]):0;if(a&&!i(e)&&o(t)&&"undefined"!=typeof e)return a.apply(this,arguments)>-1;var n=r.ToObject(this),u=r.ToLength(n.length);if(0===u)return!1;for(var s=t>=0?t:Math.max(0,u+t);s<u;){if(r.SameValueZero(e,n[s]))return!0;s+=1}return!1}}).call(t,function(){return this}())},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(){addEventListener("message",o,!1)}function o(e){var t=e.message?"message":"data",n={};try{n=JSON.parse(e[t])}catch(e){return}if(n.adId){var r=pbjs._bidsReceived.find(function(e){return e.adId===n.adId});"Prebid Request"===n.message&&(a(r,n.adServerDomain,e.source),d.default.emit(l,r))}}function a(e,t,n){var r=e.adId,i=e.ad,o=e.adUrl,a=e.width,s=e.height;r&&(u(e),n.postMessage(JSON.stringify({message:"Prebid Response",ad:i,adUrl:o,adId:r,width:a,height:s}),t))}function u(e){var t=e.adUnitCode,n=e.width,r=e.height,i=document.getElementById(window.googletag.pubads().getSlots().find(function(e){return e.getAdUnitPath()===t||e.getSlotElementId()===t}).getSlotElementId()).querySelector("iframe");i.width=""+n,i.height=""+r}Object.defineProperty(t,"__esModule",{value:!0}),t.listenMessagesFromCreative=i;var s=n(8),d=r(s),c=n(3),l=c.EVENTS.BID_WON},function(e,t,n){"use strict";function r(e,t){var n=document.createElement("script");n.type="text/javascript",n.async=!0,t&&"function"==typeof t&&(n.readyState?n.onreadystatechange=function(){"loaded"!==n.readyState&&"complete"!==n.readyState||(n.onreadystatechange=null,t())}:n.onload=function(){t()}),n.src=e;var r=document.getElementsByTagName("head");r=r.length?r:document.getElementsByTagName("body"),r.length&&(r=r[0],r.insertBefore(n,r.firstChild))}var i=n(2),o={};t.loadScript=function(e,t,n){return e?void(n?o[e]?t&&"function"==typeof t&&(o[e].loaded?t():o[e].callbacks.push(t)):(o[e]={loaded:!1,callbacks:[]},t&&"function"==typeof t&&o[e].callbacks.push(t),r(e,function(){o[e].loaded=!0;try{for(var t=0;t<o[e].callbacks.length;t++)o[e].callbacks[t]()}catch(e){i.logError("Error executing callback","adloader.js:loadScript",e)}})):r(e,t)):void i.logError("Error attempting to request empty URL","adloader.js:loadScript")},t.trackPixel=function(e){var t=void 0,n=void 0;return e&&"string"==typeof e?(t=e.indexOf("?")>0?"&":"?",n=e+t+"rnd="+Math.floor(1e7*Math.random()),(new Image).src=n,n):void i.logMessage("Missing or invalid pixelUrl.")}},function(e,t,n){"use strict";
2var r=n(14),i=function(e){this.name=e.adserver,this.code=e.code,this.getWinningBidByCode=function(){var e=this,t=pbjs._bidsReceived.find(function(t){return t.adUnitCode===e.code});return t}};t.dfpAdserver=function(e,t){var n=new i(e);n.urlComponents=t;var o={env:"vp",gdfp_req:"1",impl:"s",unviewed_position_start:"1"},a=["output","iu","sz","url","correlator","description_url","hl"],u=function(e){return encodeURIComponent((0,r.formatQS)(e))};return n.appendQueryParams=function(){var e=n.getWinningBidByCode();this.urlComponents.search.description_url=encodeURIComponent(e.descriptionUrl),this.urlComponents.search.cust_params=u(e.adserverTargeting),this.urlComponents.search.correlator=Date.now()},n.verifyAdserverTag=function(){for(var e in o)if(!this.urlComponents.search.hasOwnProperty(e)||this.urlComponents.search[e]!==o[e])return!1;for(var t in a)if(!this.urlComponents.search.hasOwnProperty(a[t]))return!1;return!0},n}},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(){var e=p.getWinningBids(),t=o();return e=e.map(function(e){return r({},e.adUnitCode,Object.keys(e.adserverTargeting).filter(function(n){return"undefined"==typeof e.sendStandardTargeting||e.sendStandardTargeting||t.indexOf(n)===-1}).map(function(t){return r({},t.substring(0,20),[e.adserverTargeting[t]])}))})}function o(){return c.getStandardBidderAdServerTargeting().map(function(e){return e.key}).concat(f.TARGETING_KEYS).filter(d.uniques)}function a(e){var t=o();return pbjs._bidsReceived.filter(d.adUnitsFilter.bind(this,e)).map(function(e){if(e.alwaysUseBid)return r({},e.adUnitCode,Object.keys(e.adserverTargeting).map(function(n){if(!(t.indexOf(n)>-1))return r({},n.substring(0,20),[e.adserverTargeting[n]])}).filter(function(e){return e}))}).filter(function(e){return e})}function u(e){var t=f.TARGETING_KEYS;return pbjs._bidsReceived.filter(d.adUnitsFilter.bind(this,e)).map(function(e){if(e.adserverTargeting)return r({},e.adUnitCode,s(e,t.filter(function(t){return"undefined"!=typeof e.adserverTargeting[t]})))}).filter(function(e){return e})}function s(e,t){return t.map(function(t){return r({},(t+"_"+e.bidderCode).substring(0,20),[e.adserverTargeting[t]])})}var d=n(2),c=n(11),l=n(2),f=n(3),p=t,g=[];p.resetPresetTargeting=function(){(0,d.isGptPubadsDefined)()&&window.googletag.pubads().getSlots().forEac
2h(function(e){g.forEach(function(t){pbjs.adUnits.find(function(n){n.code!==e.getAdUnitPath()&&n.code!==e.getSlotElementId()||e.setTargeting(t,null)})})})},p.getAllTargeting=function(e){var t=e&&e.length?[e]:pbjs._adUnitCodes,n=i(t).concat(a(t)).concat(pbjs._sendAllBids?u(t):[]);return n.map(function(e){Object.keys(e).map(function(t){e[t].map(function(e){g.indexOf(Object.keys(e)[0])===-1&&(g=Object.keys(e).concat(g))})})}),n},p.setTargeting=function(e){window.googletag.pubads().getSlots().forEach(function(t){e.filter(function(e){return Object.keys(e)[0]===t.getAdUnitPath()||Object.keys(e)[0]===t.getSlotElementId()}).forEach(function(e){return e[Object.keys(e)[0]].forEach(function(e){e[Object.keys(e)[0]].map(function(n){return l.logMessage("Attempting to set key value for slot: "+t.getSlotElementId()+" key: "+Object.keys(e)[0]+" value: "+n),n}).forEach(function(n){t.setTargeting(Object.keys(e)[0],n)})})})})},p.getWinningBids=function(e){var t=e?[e]:pbjs._adUnitCodes;return pbjs._bidsReceived.filter(function(e){return t.includes(e.adUnitCode)}).filter(function(e){return e.cpm>0}).map(function(e){return e.adUnitCode}).filter(d.uniques).map(function(e){return pbjs._bidsReceived.filter(function(t){return t.adUnitCode===e?t:null}).reduce(d.getHighestCpm,{adUnitCode:e,cpm:0,adserverTargeting:{},timeToRespond:0})})},p.setTargetingForAst=function(){var e=pbjs.getAdserverTargeting();Object.keys(e).forEach(function(t){return Object.keys(e[t]).forEach(function(n){if(l.logMessage("Attempting to set targeting for targetId: "+t+" key: "+n+" value: "+e[t][n]),l.isStr(e[t][n])||l.isArray(e[t][n])){var r={},i="hb_adid"===n?n.toUpperCase():n;r[i]=e[t][n],window.apntag.setKeywords(t,r)}})})},p.isApntagDefined=function(){if(window.apntag&&l.isFn(window.apntag.setKeywords))return!0}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.