function pwtCreatePrebidNamespace(preBidNameSpace) { window[preBidNameSpace] = window[preBidNameSpace] || {}; window[preBidNameSpace].que = window[preBidNameSpace].que || [];/* prebid.js v1.13.0Updated : 2018-08-23 */!(function(d){var s=window.pbjsChunk;window.pbjsChunk=function(e,t,n){for(var r,i,o,a=0,u=[];a';l+="",l+="",l+="",l+=i.adHtml,l+="",d.write(l),d.close()}catch(c){g.log("Error in rendering creative in safe frame."),g.log(c),g.log("Rendering synchronously."),g.displayCreative(window.document,msgData.pwt_bid)}else i.adUrl?g.writeIframe(window.document,i.adUrl,i.width,i.height,""):(g.log("creative details are not found"),g.log(i))}}}catch(c){}},t.addMessageEventListenerForSafeFrame=function(e){g.addMessageEventListener(e,g.safeFrameCommunicationProtocol)},t.getElementLocation=function(e){var t,i=0,r=0;if(g.isFunction(e.getBoundingClientRect))t=e.getBoundingClientRect(),i=Math.floor(t.left),r=Math.floor(t.top);else for(;e;)i+=e.offsetLeft,r+=e.offsetTop,e=e.offsetParent;return{x:i,y:r}},t.createVLogInfoPanel=function(e,t){var i,r,n,s=window.document;if(g.visualDebugLogIsEnabled&&(i=s.getElementById(e),i&&t.length&&t[0][0]&&t[0][1]&&(n=e+"-pwtc-info",!g.isUndefined(s.getElementById(n))))){var o=g.getElementLocation(i);r=s.createElement("div"),r.id=n,r.style="position: absolute; /*top: "+o.y+"px;*/ left: "+o.x+"px; width: "+t[0][0]+"px; height: "+t[0][1]+"px; border: 1px solid rgb(255, 204, 52); padding-left: 11px; background: rgb(247, 248, 224) none repeat scroll 0% 0%; overflow: auto; z-index: 9999997; visibility: hidden;opacity:0.9;font-size:13px;font-family:monospace;";var a=s.createElement("img");a.src=g.metaInfo.protocol+"ads.pubmatic.com/AdServer/js/pwt/close.png",a.style="cursor:pointer; position: absolute; top: 2px; left: "+(o.x+t[0][0]-16-15)+"px; z-index: 9999998;",a.title="close",a.onclick=function(){r.style.display="none"},r.appendChild(a),r.appendChild(s.createElement("br"));for(var d="Slot: "+e+" | ",l=0;lo&&(o=0),r="Bid: "+t.bidder+(t.s2s?"(s2s)":"")+": "+a.getNetEcpm()+"("+a.getGrossEcpm()+"): "+o+"ms",a.getPostTimeoutStatus()&&(r+=": POST-TIMEOUT");break;case"win-bid":var a=t.bidDetails;r="Winning Bid: "+a.getAdapterID()+": "+a.getNetEcpm();break;case"win-bid-fail":r="There are no bids from PWT";break;case"hr":r="----------------------";break;case"disp":r="Displaying creative from "+t.adapter}i.appendChild(n.createTextNode(r)),i.appendChild(n.createElement("br"))}}},t.getExternalBidderStatus=function(e){var t=!0;return g.forEachOnArray(e,(function(e,i){t=window.OWT.externalBidderStatuses[i]?t&&window.OWT.externalBidderStatuses[i].status:t})),t},t.resetExternalBidderStatus=function(e){g.forEachOnArray(e,(function(e,t){g.log("resetExternalBidderStatus: "+t),window.OWT.externalBidderStatuses[t]=void 0}))}}),(function(e,t){t.COMMON={BID_PRECISION:2,DEAL_KEY_FIRST_PART:"pwtdeal_",DEAL_KEY_VALUE_SEPARATOR:"_-_",PREBID_PREFIX:"PB_",CONFIG:"config",DIV_ID:"divID",PARAMS:"params",SIZES:"sizes",HEIGHT:"height",WIDTH:"width",SLOTS:"slots",KEY_GENERATION_PATTERN_VALUE:"kgpv",KEY_VALUE_PAIRS:"kvp",IMPRESSION_ID:"iid",PARENT_ADAPTER_PREBID:"prebid"},t.CONFIG={GLOBAL:"global",ADAPTERS:"adapters",COMMON:"pwt",TIMEOUT:"t",KEY_GENERATION_PATTERN:"kgp",KEY_LOOKUP_MAP:"klm",SERVER_SIDE_KEY:"sk",PUBLISHER_ID:"pubid",PROFILE_ID:"pid",PROFILE_VERSION_ID:"pdvid",LOGGER_URL:"dataURL",TRACKER_URL:"winURL",REV_SHARE:"rev_share",THROTTLE:"throttle",BID_PASS_THROUGH:"pt",GLOBAL_KEY_VALUE:"gkv",MASK_BIDS:"maksBids",META_DATA_PATTERN:"metaDataPattern",SEND_ALL_BIDS:"sendAllBids",SERVER_SIDE_ENABLED:"serverSideEnabled",GDPR_CONSENT:"gdpr",CONSENT_STRING:"cns",GDPR_CMPAPI:"cmpApi",GDPR_TIMEOUT:"gdprTimeout",GDPR_AWC:"awc",DEFAULT_GDPR_CMPAPI:"iab",DEFAULT_GDPR_TIMEOUT:1e4,DEFAULT_GDPR_AWC:"0",DEFAULT_GDPR_CONSENT:"0",DISABLE_AJAX_TIMEOUT:"disableAjaxTimeout"},t.METADATA_MACROS={WIDTH:"_W_",HEIGHT:"_H_",PARTNER:"_P_",GROSS_ECPM:"_GE_",NET_ECPM:"_NE_",BID_COUNT:"_BC_",PARTNER_COUNT:"_PC_"},t.MACROS={WIDTH:"_W_",HEIGHT:"_H_",AD_UNIT_ID:"_AU_",AD_UNIT_INDEX:"_AUI_",INTEGER:"_I_",DIV:"_DIV_"},t.SLOT_STATUS={CREATED:0,PARTNERS_CALLED:1,TARGETING_ADDED:2,DISPLAYED:3},t.WRAPPER_TARGETING_KEYS={BID_ID:"pwtsid",BID_STATUS:"pwtbst",BID_ECPM:"pwtecp",BID_DEAL_ID:"pwtdid",BID_ADAPTER_ID:"pwtpid",BID_SIZE:"pwtsz",PUBLISHER_ID:"pwtpubid",PROFILE_ID:"pwtprofid",PROFILE_VERSION_ID:"pwtverid",META_DATA:"pwtm"},t.IGNORE_PREBID_KEYS={hb_bidder:1,hb_adid:1,hb_pb:1,hb_size:1,hb_deal:1},t.LOGGER_PIXEL_PARAMS={TIMESTAMP:"tst",PAGE_URL:"purl",TIMEOUT:"to"},t.MESSAGES={M1:": In fetchbids.",M2:": Throttled.",M3:": adapter must implement the fetchBids() function.",M4:"BidManager: entry ",M5:": Callback.",M6:"bidAlreadExists : ",M7:": Exiting from fetchBids.",M8:". Config not found, ignored.",M9:". Config ignored.",M10:"Bid is rejected as ecpm is NULL.",M11:"Bid is rejected as ecpm is NaN: ",M12:"Existing bid ecpm: ",M13:", is lower than new bid ecpm ",M14:", so we are replacing bid.",M15:", is greater than new bid ecpm ",M16:", so we are not replacing bid.",M17:"Post timeout bid, ignored.",M18:"Bid is selected.",M19:": Found winning adapterID: ",M20:"Bid is rejected as ecpm is empty string.",M21:": error in respose handler.",M22:"Bid is rejected as ecpm is <= 0.",M23:"Existing bid is default-bid with zero ecpm, thus replacing it with the new bid from partner.",M24:"Passsed argument is not a bidAdaptor",M25:"Bid details not found for bidID: "}}),(function(e,t,i){function r(e,t){this.adapterID=e,this.kgpv=t,this.bidID=o.getUniqueIdentifierStr(),this.grossEcpm=0,this.netEcpm=0,this.defaultBid=0,this.adHtml="",this.adUrl="",this.height=0,this.width=0,this.creativeID="",this.keyValuePairs={},this.isPostTimeout=!1,this.receivedTime=0,this.dealID="",this.dealChannel="",this.isWinningBid=!1,this.status=0}var n=i(4),s=i(2),o=i(1);r.prototype.getAdapterID=function(){return this.adapterID},r.prototype.getBidID=function(){return this.bidID},r.prototype.setGrossEcpm=function(e){return null===e?(o.log(s.MESSAGES.M10),o.log(this),this):o.isString(e)&&(e=e.replace(/\s/g,""),0===e.length)?(o.log(s.MESSAGES.M20),o.log(this),this):window.isNaN(e)?(o.log(s.MESSAGES.M11+e),o.log(this),this):(e=window.parseFloat(e.toFixed(s.COMMON.BID_PRECISION)),this.grossEcpm=e,this.netEcpm=window.parseFloat((this.grossEcpm*n.getAdapterRevShare(this.getAdapterID())).toFixed(s.COMMON.BID_PRECISION)),this)},r.prototype.getGrossEcpm=function(){return this.grossEcpm},r.prototype.getNetEcpm=function(){return this.netEcpm},r.prototype.setDefaultBidStatus=function(e){return this.defaultBid=e,this},r.prototype.getDefaultBidStatus=function(){return this.defaultBid},r.prototype.setAdHtml=function(e){return this.adHtml=e,this},r.prototype.getAdHtml=function(){return this.adHtml},r.prototype.setAdUrl=function(e){return this.adUrl=e,this},r.prototype.getAdUrl=function(){return this.adUrl},r.prototype.setHeight=function(e){return this.height=e,this},r.prototype.getHeight=function(){return this.height},r.prototype.setWidth=function(e){return this.width=e,this},r.prototype.getWidth=function(){return this.width},r.prototype.getKGPV=function(){return this.kgpv},r.prototype.setKeyValuePair=function(e,t){return this.keyValuePairs[e.substr(0,20)]=t,this},r.prototype.getKeyValuePairs=function(){return this.keyValuePairs},r.prototype.setPostTimeoutStatus=function(){return this.isPostTimeout=!0,this},r.prototype.getPostTimeoutStatus=function(){return this.isPostTimeout},r.prototype.setReceivedTime=function(e){return this.receivedTime=e,this},r.prototype.getReceivedTime=function(){return this.receivedTime},r.prototype.setDealID=function(e){return e&&(this.dealID=e,this.dealChannel=this.dealChannel||"PMP",this.setKeyValuePair(s.COMMON.DEAL_KEY_FIRST_PART+this.adapterID,this.dealChannel+s.COMMON.DEAL_KEY_VALUE_SEPARATOR+this.dealID+s.COMMON.DEAL_KEY_VALUE_SEPARATOR+this.bidID)),this},r.prototype.getDealID=function(){return this.dealID},r.prototype.setDealChannel=function(e){return this.dealID&&e&&(this.dealChannel=e,this.setKeyValuePair(s.COMMON.DEAL_KEY_FIRST_PART+this.adapterID,this.dealChannel+s.COMMON.DEAL_KEY_VALUE_SEPARATOR+this.dealID+s.COMMON.DEAL_KEY_VALUE_SEPARATOR+this.bidID)),this},r.prototype.getDealChannel=function(){return this.dealChannel},r.prototype.setWinningBidStatus=function(){return this.isWinningBid=!0,this},r.prototype.getWinningBidStatus=function(){return this.isWinningBid},r.prototype.setStatus=function(e){return this.status=e,this},r.prototype.getStatus=function(){return this.status},r.prototype.setSendAllBidsKeys=function(){this.setKeyValuePair(s.WRAPPER_TARGETING_KEYS.BID_ID+"_"+this.adapterID,this.bidID),this.setKeyValuePair(s.WRAPPER_TARGETING_KEYS.BID_STATUS+"_"+this.adapterID,this.getNetEcpm()>0?1:0),this.setKeyValuePair(s.WRAPPER_TARGETING_KEYS.BID_ECPM+"_"+this.adapterID,this.getNetEcpm().toFixed(s.COMMON.BID_PRECISION)),this.setKeyValuePair(s.WRAPPER_TARGETING_KEYS.BID_SIZE+"_"+this.adapterID,this.width+"x"+this.height)},e.exports.Bid=r,t.createBid=function(e,t){return new r(e,t)}}),(function(e,t,i){function r(){var e=s.COMMON.PARENT_ADAPTER_PREBID;if(!o.isOwnProperty(n.adapters,e)){var t={};t[s.CONFIG.REV_SHARE]="0.0",t[s.CONFIG.THROTTLE]="100",t[s.CONFIG.KEY_GENERATION_PATTERN]="_DIV_",t[s.CONFIG.KEY_LOOKUP_MAP]={},n.adapters[e]=t}}var n=i(5),s=i(2),o=i(1),a=null;a=this,t.getPublisherId=function(){return o.trim(n.pwt.pubid)||"0"},t.getMataDataPattern=function(){return o.isString(n[s.CONFIG.COMMON][s.CONFIG.META_DATA_PATTERN])?n[s.CONFIG.COMMON][s.CONFIG.META_DATA_PATTERN]:null},t.getSendAllBidsStatus=function(){return window.parseInt(n[s.CONFIG.COMMON][s.CONFIG.SEND_ALL_BIDS])||0},t.getTimeout=function(){return window.parseInt(n.pwt.t)||1e3},t.getDisableAjaxTimeout=function(){var e=n.pwt;return o.isOwnProperty(e,s.CONFIG.DISABLE_AJAX_TIMEOUT)?1==n.pwt.disableAjaxTimeout:!0},t.getAdapterRevShare=function(e){var t=n.adapters;return o.isOwnProperty(t[e],s.CONFIG.REV_SHARE)?1-window.parseFloat(t[e][s.CONFIG.REV_SHARE])/100:1},t.getAdapterThrottle=function(e){var t=n.adapters;return o.isOwnProperty(t[e],s.CONFIG.THROTTLE)?100-window.parseFloat(t[e][s.CONFIG.THROTTLE]):0},t.isServerSideAdapter=function(e){var t=n.adapters;return o.isOwnProperty(t[e],s.CONFIG.SERVER_SIDE_ENABLED)?1===window.parseInt(t[e][s.CONFIG.SERVER_SIDE_ENABLED]):!1},t.getAdapterMaskBidsStatus=function(e){var t=n.adapters,i={audienceNetwork:1};return o.isOwnProperty(i,e)?i[e]:o.isOwnProperty(t[e],s.CONFIG.MASK_BIDS)?window.parseInt(t[e][s.CONFIG.MASK_BIDS])||0:0},t.getBidPassThroughStatus=function(e){var t=n.adapters;return o.isOwnProperty(t[e],s.CONFIG.BID_PASS_THROUGH)?window.parseInt(t[e][s.CONFIG.BID_PASS_THROUGH]):0},t.getProfileID=function(){return o.trim(n.pwt[s.CONFIG.PROFILE_ID])||"0"},t.getProfileDisplayVersionID=function(){return o.trim(n.pwt[s.CONFIG.PROFILE_VERSION_ID])||"0"},t.getAnalyticsPixelURL=function(){return n.pwt[s.CONFIG.LOGGER_URL]||!1},t.getMonetizationPixelURL=function(){return n.pwt[s.CONFIG.TRACKER_URL]||!1},t.forEachAdapter=function(e){o.forEachOnObject(n.adapters,e)},t.getGdpr=function(){var e=n[s.CONFIG.COMMON][s.CONFIG.GDPR_CONSENT]||s.CONFIG.DEFAULT_GDPR_CONSENT;return"1"===e},t.getCmpApi=function(){return n[s.CONFIG.COMMON][s.CONFIG.GDPR_CMPAPI]||s.CONFIG.DEFAULT_GDPR_CMPAPI},t.getGdprTimeout=function(){var e=n[s.CONFIG.COMMON][s.CONFIG.GDPR_TIMEOUT];return e?window.parseInt(e):s.CONFIG.DEFAULT_GDPR_TIMEOUT},t.getAwc=function(){var e=n[s.CONFIG.COMMON][s.CONFIG.GDPR_AWC]||s.CONFIG.DEFAULT_GDPR_AWC;return"1"===e},t.addPrebidAdapter=r,t.initConfig=function(){a.addPrebidAdapter();var e={};o.forEachOnObject(s.CONFIG,(function(t,i){e[i]=""})),o.forEachOnObject(n.adapters,(function(t,i){var r={};o.forEachOnObject(i,(function(t,i){o.isOwnProperty(e,t)||(r[t]=i)})),o.forEachOnObject(i[s.CONFIG.KEY_LOOKUP_MAP],(function(e,t){o.forEachOnObject(r,(function(e,i){t[e]=i}))}))}))}}),(function(e,t){t.pwt={t:"1000",pid:"413",gcv:"57",pdvid:"27",pubid:"156461",dataURL:"t.pubmatic.com/wl?",winURL:"t.pubmatic.com/wt?",metaDataPattern:0,sendAllBids:"1",adserver:"DFP",gdpr:"0",cmp:0,gdprTimeout:0,awc:0,platform:"display"},t.adapters={appnexus:{rev_share:"0.0",timeout:"1000",throttle:"100",pt:0,serverSideEnabled:"0",amp:0,kgp:"_AU_@_W_x_H_",klm:{"/4987/Stylist/Beauty@300x250":{placementId:"13455270",member:"9592",reserve:"0.3"},"/4987/Stylist/Beauty@300x600":{placementId:"13455270",member:"9592",reserve:"0.3"},"/4987/Stylist/Beauty@728x90":{placementId:"13455272",member:"9592",reserve:"0.3"},"/4987/Stylist/Beauty@970x250":{placementId:"13455273",member:"9592",reserve:"0.3"},"/4987/Stylist/Big-yourself-up@300x250":{placementId:"13455391",member:"9592",reserve:"0.3"},"/4987/Stylist/Big-yourself-up@300x600":{placementId:"13455394",member:"9592",reserve:"0.3"},"/4987/Stylist/Big-yourself-up@728x90":{placementId:"13455395",member:"9592",reserve:"0.3"},"/4987/Stylist/Big-yourself-up@970x250":{placementId:"13455403",member:"9592",reserve:"0.3"},"/4987/Stylist/Books@300x250":{placementId:"13455274",member:"9592",reserve:"0.3"},"/4987/Stylist/Books@300x600":{placementId:"13455275",member:"9592",reserve:"0.3"},"/4987/Stylist/Books@728x90":{placementId:"13455276",member:"9592",reserve:"0.3"},"/4987/Stylist/Books@970x250":{placementId:"13455277",member:"9592",reserve:"0.3"},"/4987/Stylist/Fashion@300x250":{placementId:"13455278",member:"9592",reserve:"0.3"},"/4987/Stylist/Fashion@300x600":{placementId:"13455279",member:"9592",reserve:"0.3"},"/4987/Stylist/Fashion@728x90":{placementId:"13455280",member:"9592",reserve:"0.3"},"/4987/Stylist/Fashion@970x250":{placementId:"13455291",member:"9592",reserve:"0.3"},"/4987/Stylist/Home@300x250":{placementId:"13455034",member:"9592",reserve:"0.3"},"/4987/Stylist/Home@300x600":{placementId:"13455032",member:"9592",reserve:"0.3"},"/4987/Stylist/Home@728x90":{placementId:"13455035",member:"9592",reserve:"0.3"},"/4987/Stylist/Home@970x250":{placementId:"13454673",member:"9592",reserve:"0.3"},"/4987/Stylist/Life@300x250":{placementId:"13455307",member:"9592",reserve:"0.3"},"/4987/Stylist/Life@300x600":{placementId:"13455316",member:"9592",reserve:"0.3"},"/4987/Stylist/Life@728x90":{placementId:"13455319",member:"9592",reserve:"0.3"},"/4987/Stylist/Life@970x250":{placementId:"13455320",member:"9592",reserve:"0.3"},"/4987/Stylist/People@300x250":{placementId:"13455323",member:"9592",reserve:"0.3"},"/4987/Stylist/People@300x600":{placementId:"13455324",member:"9592",reserve:"0.3"},"/4987/Stylist/People@728x90":{placementId:"13455327",member:"9592",reserve:"0.3"},"/4987/Stylist/People@970x250":{placementId:"13455328",member:"9592",reserve:"0.3"},"/4987/Stylist/Travel@300x250":{placementId:"13455329",member:"9592",reserve:"0.3"},"/4987/Stylist/Travel@300x600":{placementId:"13455330",member:"9592",reserve:"0.3"},"/4987/Stylist/Travel@728x90":{placementId:"13455331",member:"9592",reserve:"0.3"},"/4987/Stylist/Travel@970x250":{placementId:"13455332",member:"9592",reserve:"0.3"},"/4987/Stylist/careers@300x250":{placementId:"13455413",member:"9592",reserve:"0.3"},"/4987/Stylist/careers@300x600":{placementId:"13455427",member:"9592",reserve:"0.3"},"/4987/Stylist/careers@728x90":{placementId:"13455440",member:"9592",reserve:"0.3"},"/4987/Stylist/careers@970x250":{placementId:"13455441",member:"9592",reserve:"0.3"},"/4987/Stylist/fashion-week@300x250":{placementId:"13455552",member:"9592",reserve:"0.3"},"/4987/Stylist/fashion-week@300x600":{placementId:"13455555",member:"9592",reserve:"0.3"},"/4987/Stylist/fashion-week@728x90":{placementId:"13455683",member:"9592",reserve:"0.3"},"/4987/Stylist/fashion-week@970x250":{placementId:"13455684",member:"9592",reserve:"0.3"},"/4987/Stylist/feminism@300x250":{placementId:"13455040",member:"9592",reserve:"0.3"},"/4987/Stylist/feminism@300x600":{placementId:"13455056",member:"9592",reserve:"0.3"},"/4987/Stylist/feminism@728x90":{placementId:"13455240",member:"9592",reserve:"0.3"},"/4987/Stylist/feminism@970x250":{placementId:"13455249",member:"9592",reserve:"0.3"},"/4987/Stylist/food@300x250":{placementId:"13468947",member:"9592",reserve:"0.3"},"/4987/Stylist/food@300x600":{placementId:"13468948",member:"9592",reserve:"0.3"},"/4987/Stylist/food@728x90":{placementId:"13468949",member:"9592",reserve:"0.3"},"/4987/Stylist/food@970x250":{placementId:"13468950",member:"9592",reserve:"0.3"},"/4987/Stylist/hair@300x250":{placementId:"13456551",member:"9592",reserve:"0.3"},"/4987/Stylist/hair@300x600":{placementId:"13456552",member:"9592",reserve:"0.3"},"/4987/Stylist/hair@728x90":{placementId:"13456575",member:"9592",reserve:"0.3"},"/4987/Stylist/hair@970x250":{placementId:"13456576",member:"9592",reserve:"0.3"},"/4987/Stylist/happy-place@300x250":{placementId:"13455686",member:"9592",reserve:"0.3"},"/4987/Stylist/happy-place@300x600":{placementId:"13455687",member:"9592",reserve:"0.3"},"/4987/Stylist/happy-place@728x90":{placementId:"13455729",member:"9592",reserve:"0.3"},"/4987/Stylist/happy-place@970x250":{placementId:"13455758",member:"9592",reserve:"0.3"},"/4987/Stylist/money@300x250":{placementId:"13455994",member:"9592",reserve:"0.3"},"/4987/Stylist/money@300x600":{placementId:"13456009",member:"9592",reserve:"0.3"},"/4987/Stylist/money@728x90":{placementId:"13456055",member:"9592",reserve:"0.3"},"/4987/Stylist/money@970x250":{placementId:"13456082",member:"9592",reserve:"0.3"},"/4987/Stylist/reclaim-your-lunchbreak@300x250":{placementId:"13456466",member:"9592",reserve:"0.3"},"/4987/Stylist/reclaim-your-lunchbreak@300x600":{placementId:"13456467",member:"9592",reserve:"0.3"},"/4987/Stylist/reclaim-your-lunchbreak@728x90":{placementId:"13456468",member:"9592",reserve:"0.3"},"/4987/Stylist/reclaim-your-lunchbreak@970x250":{placementId:"13456470",member:"9592",reserve:"0.3"},"/4987/Stylist/shopping-galleries@300x250":{placementId:"13456474",member:"9592",reserve:"0.3"},"/4987/Stylist/shopping-galleries@300x600":{placementId:"13456478",member:"9592",reserve:"0.3"},"/4987/Stylist/shopping-galleries@728x90":{placementId:"13456488",member:"9592",reserve:"0.3"},"/4987/Stylist/shopping-galleries@970x250":{placementId:"13456519",member:"9592",reserve:"0.3"},"/4987/Stylist/style-list@300x250":{placementId:"13456474",member:"9592",reserve:"0.3"},"/4987/Stylist/style-list@300x600":{placementId:"13456478",member:"9592",reserve:"0.3"},"/4987/Stylist/style-list@728x90":{placementId:"13456488",member:"9592",reserve:"0.3"},"/4987/Stylist/style-list@970x250":{placementId:"13456519",member:"9592",reserve:"0.3"},"/4987/Stylist/visible-women@300x250":{placementId:"13456577",member:"9592",reserve:"0.3"},"/4987/Stylist/visible-women@300x600":{placementId:"13456580",member:"9592",reserve:"0.3"},"/4987/Stylist/visible-women@728x90":{placementId:"13456590",member:"9592",reserve:"0.3"},"/4987/Stylist/visible-women@970x250":{placementId:"13456591",member:"9592",reserve:"0.3"},"/4987/Stylist/win@300x250":{placementId:"13455382",member:"9592",reserve:"0.3"},"/4987/Stylist/win@300x600":{placementId:"13455383",member:"9592",reserve:"0.3"},"/4987/Stylist/win@728x90":{placementId:"13455384",member:"9592",reserve:"0.3"},"/4987/Stylist/win@970x250":{placementId:"13455387",member:"9592",reserve:"0.3"},"/4987/shortlist/accessories@300x250":{placementId:"13456713",member:"9592",reserve:"0.3"},"/4987/shortlist/accessories@300x600":{placementId:"13456715",member:"9592",reserve:"0.3"},"/4987/shortlist/accessories@728x90":{placementId:"13456717",member:"9592",reserve:"0.3"},"/4987/shortlist/accessories@970x250":{placementId:"13456719",member:"9592",reserve:"0.3"},"/4987/shortlist/books@300x250":{placementId:"13456680",member:"9592",reserve:"0.3"},"/4987/shortlist/books@300x600":{placementId:"13456682",member:"9592",reserve:"0.3"},"/4987/shortlist/books@728x90":{placementId:"13456684",member:"9592",reserve:"0.3"},"/4987/shortlist/books@970x250":{placementId:"13456686",member:"9592",reserve:"0.3"},"/4987/shortlist/entertainment@300x250":{placementId:"13460176",member:"9592",reserve:"0.3"},"/4987/shortlist/entertainment@300x600":{placementId:"13460189",member:"9592",reserve:"0.3"},"/4987/shortlist/entertainment@728x90":{placementId:"13460200",member:"9592",reserve:"0.3"},"/4987/shortlist/entertainment@970x250":{placementId:"13460201",member:"9592",reserve:"0.3"},"/4987/shortlist/film-club@300x250":{placementId:"13456688",member:"9592",reserve:"0.3"},"/4987/shortlist/film-club@300x600":{placementId:"13456689",member:"9592",reserve:"0.3"},"/4987/shortlist/film-club@728x90":{placementId:"13456690",member:"9592",reserve:"0.3"},"/4987/shortlist/film-club@970x250":{placementId:"13456692",member:"9592",reserve:"0.3"},"/4987/shortlist/films@300x250":{placementId:"13459605",member:"9592",reserve:"0.3"},"/4987/shortlist/films@300x600":{placementId:"13459928",member:"9592",reserve:"0.3"},"/4987/shortlist/films@728x90":{placementId:"13459930",member:"9592",reserve:"0.3"},"/4987/shortlist/films@970x250":{placementId:"13459931",member:"9592",reserve:"0.3"},"/4987/shortlist/food-Drink@300x250":{placementId:"13460388",member:"9592",reserve:"0.3"},"/4987/shortlist/food-Drink@300x600":{placementId:"13460390",member:"9592",reserve:"0.3"},"/4987/shortlist/food-Drink@728x90":{placementId:"13460391",member:"9592",reserve:"0.3"},"/4987/shortlist/food-Drink@970x250":{placementId:"13460392",member:"9592",reserve:"0.3"},"/4987/shortlist/gadgets@300x250":{placementId:"13456592",member:"9592",reserve:"0.3"},"/4987/shortlist/gadgets@300x600":{placementId:"13456593",member:"9592",reserve:"0.3"},"/4987/shortlist/gadgets@728x90":{placementId:"13456594",member:"9592",reserve:"0.3"},"/4987/shortlist/gadgets@970x250":{placementId:"13456597",member:"9592",reserve:"0.3"},"/4987/shortlist/gaming@300x250":{placementId:"13456611",member:"9592",reserve:"0.3"},"/4987/shortlist/gaming@300x600":{placementId:"13456616",member:"9592",reserve:"0.3"},"/4987/shortlist/gaming@728x90":{placementId:"13456620",member:"9592",reserve:"0.3"},"/4987/shortlist/gaming@970x250":{placementId:"13456626",member:"9592",reserve:"0.3"},"/4987/shortlist/grooming@300x250":{placementId:"13456736",member:"9592",reserve:"0.3"},"/4987/shortlist/grooming@300x600":{placementId:"13456740",member:"9592",reserve:"0.3"},"/4987/shortlist/grooming@728x90":{placementId:"13456744",member:"9592",reserve:"0.3"},"/4987/shortlist/grooming@970x250":{placementId:"13456746",member:"9592",reserve:"0.3"},"/4987/shortlist/home@300x250":{placementId:"13460100",member:"9592",reserve:"0.3"},"/4987/shortlist/home@300x600":{placementId:"13460103",member:"9592",reserve:"0.3"},"/4987/shortlist/home@728x90":{placementId:"13460117",member:"9592",reserve:"0.3"},"/4987/shortlist/home@970x250":{placementId:"13460129",member:"9592",reserve:"0.3"},"/4987/shortlist/instant-improver@300x250":{placementId:"13456748",member:"9592",reserve:"0.3"},"/4987/shortlist/instant-improver@300x600":{placementId:"13456749",member:"9592",reserve:"0.3"},"/4987/shortlist/instant-improver@728x90":{placementId:"13456750",member:"9592",reserve:"0.3"},"/4987/shortlist/instant-improver@970x250":{placementId:"13456753",member:"9592",reserve:"0.3"},"/4987/shortlist/music@300x250":{placementId:"13456655",member:"9592",reserve:"0.3"},"/4987/shortlist/music@300x600":{placementId:"13456661",member:"9592",reserve:"0.3"},"/4987/shortlist/music@728x90":{placementId:"13456666",member:"9592",reserve:"0.3"},"/4987/shortlist/music@970x250":{placementId:"13456670",member:"9592",reserve:"0.3"},"/4987/shortlist/news@300x250":{placementId:"13460130",member:"9592",reserve:"0.3"},"/4987/shortlist/news@300x600":{placementId:"13460142",member:"9592",reserve:"0.3"},"/4987/shortlist/news@728x90":{placementId:"13460152",member:"9592",reserve:"0.3"},"/4987/shortlist/news@970x250":{placementId:"13460153",member:"9592",reserve:"0.3"},"/4987/shortlist/opinion@300x250":{placementId:"13456693",member:"9592",reserve:"0.3"},"/4987/shortlist/opinion@300x600":{placementId:"13456694",member:"9592",reserve:"0.3"},"/4987/shortlist/opinion@728x90":{placementId:"13456695",member:"9592",reserve:"0.3"},"/4987/shortlist/opinion@970x250":{placementId:"13456697",member:"9592",reserve:"0.3"},"/4987/shortlist/quizzes@300x250":{placementId:"13456722",member:"9592",reserve:"0.3"},"/4987/shortlist/quizzes@300x600":{placementId:"13456728",member:"9592",reserve:"0.3"},"/4987/shortlist/quizzes@728x90":{placementId:"13456729",member:"9592",reserve:"0.3"},"/4987/shortlist/quizzes@970x250":{placementId:"13456731",member:"9592",reserve:"0.3"},"/4987/shortlist/shoes@300x250":{placementId:"13456699",member:"9592",reserve:"0.3"},"/4987/shortlist/shoes@300x600":{placementId:"13456705",member:"9592",reserve:"0.3"},"/4987/shortlist/shoes@728x90":{placementId:"13456707",member:"9592",reserve:"0.3"},"/4987/shortlist/shoes@970x250":{placementId:"13456709",member:"9592",reserve:"0.3"},"/4987/shortlist/sport@300x250":{placementId:"13456754",member:"9592",reserve:"0.3"},"/4987/shortlist/sport@300x600":{placementId:"13456755",member:"9592",reserve:"0.3"},"/4987/shortlist/sport@728x90":{placementId:"13456756",member:"9592",reserve:"0.3"},"/4987/shortlist/sport@970x250":{placementId:"13456757",member:"9592",reserve:"0.3"},"/4987/shortlist/style@300x250":{placementId:"13459932",member:"9592",reserve:"0.3"},"/4987/shortlist/style@300x600":{placementId:"13459933",member:"9592",reserve:"0.3"},"/4987/shortlist/style@728x90":{placementId:"13459934",member:"9592",reserve:"0.3"},"/4987/shortlist/style@970x250":{placementId:"13459935",member:"9592",reserve:"0.3"},"/4987/shortlist/tech@300x250":{placementId:"13460373",member:"9592",reserve:"0.3"},"/4987/shortlist/tech@300x600":{placementId:"13460374",member:"9592",reserve:"0.3"},"/4987/shortlist/tech@728x90":{placementId:"13460377",member:"9592",reserve:"0.3"},"/4987/shortlist/tech@970x250":{placementId:"13460380",member:"9592",reserve:"0.3"},"/4987/shortlist/trends@300x250":{placementId:"13460358",member:"9592",reserve:"0.3"},"/4987/shortlist/trends@300x600":{placementId:"13460359",member:"9592",reserve:"0.3"},"/4987/shortlist/trends@728x90":{placementId:"13460361",member:"9592",reserve:"0.3"},"/4987/shortlist/trends@970x250":{placementId:"13460370",member:"9592",reserve:"0.3"},"/4987/shortlist/tv@300x250":{placementId:"13456630",member:"9592",reserve:"0.3"},"/4987/shortlist/tv@300x600":{placementId:"13456633",member:"9592",reserve:"0.3"},"/4987/shortlist/tv@728x90":{placementId:"13456646",member:"9592",reserve:"0.3"},"/4987/shortlist/tv@970x250":{placementId:"13456650",member:"9592",reserve:"0.3"},"/4987/shortlist/watches@300x250":{placementId:"13459588",member:"9592",reserve:"0.3"},"/4987/shortlist/watches@300x600":{placementId:"13459590",member:"9592",reserve:"0.3"},"/4987/shortlist/watches@728x90":{placementId:"13459591",member:"9592",reserve:"0.3"},"/4987/shortlist/watches@970x250":{placementId:"13459595",member:"9592",reserve:"0.3"},"/4987/shortlist/world-cup@300x250":{placementId:"13468961",member:"9592",reserve:"0.3"},"/4987/shortlist/world-cup@300x600":{placementId:"13468962",member:"9592",reserve:"0.3"},"/4987/shortlist/world-cup@728x90":{placementId:"13468972",member:"9592",reserve:"0.3"},"/4987/shortlist/world-cup@970x250":{placementId:"13468973",member:"9592",reserve:"0.3"},"/4987/stylist/long-reads@300x250":{placementId:"13455800",member:"9592",reserve:"0.3"},"/4987/stylist/long-reads@300x600":{placementId:"13455852",member:"9592",reserve:"0.3"},"/4987/stylist/long-reads@728x90":{placementId:"13455935",member:"9592",reserve:"0.3"},"/4987/stylist/long-reads@970x250":{placementId:"13455952",member:"9592",reserve:"0.3"},"/4987/stylist/opinion@300x250":{placementId:"13456123",member:"9592",reserve:"0.3"},"/4987/stylist/opinion@300x600":{placementId:"13456159",member:"9592",reserve:"0.3"},"/4987/stylist/opinion@728x90":{placementId:"13456209",member:"9592",reserve:"0.3"},"/4987/stylist/opinion@970x250":{placementId:"13456224",member:"9592",reserve:"0.3"}}},pubmatic:{publisherId:"156461",rev_share:"0.0",timeout:"1000",throttle:"100",pt:0,serverSideEnabled:"0",amp:0,kgp:"_AU_@_W_x_H_:_AUI_",sk:"true"}}}),(function(e,t,i){function r(e){u.isOwnProperty(window.PWT.bidMap,e)||(window.PWT.bidMap[e]=g.createBMEntry(e))}function n(e,t,i,r){window.PWT.bidMap[e].setNewBid(t,i),window.PWT.bidIdMap[i.getBidID()]={s:e,a:t},0===i.getDefaultBidStatus()&&u.vLogInfo(e,{type:"bid",bidder:t+(0!==c.getBidPassThroughStatus(t)?"(Passthrough)":""),bidDetails:i,latency:r,s2s:c.isServerSideAdapter(t)})}function s(e,t,i){var r="",n=0,s=0,a=p.METADATA_MACROS,d="g";u.forEachOnObject(t.adapters,(function(t,i){""!=i.getLastBidID()&&("pubmaticServer"!==t&&s++,u.forEachOnObject(i.bids,(function(t,i){1!=i.getDefaultBidStatus()&&1!=i.getPostTimeoutStatus()&&(n++,r+=o(e,i))})))})),0==r.length&&(r=e),r=r.replace(new RegExp(a.BID_COUNT,d),n),r=r.replace(new RegExp(a.PARTNER_COUNT,d),s),i[p.WRAPPER_TARGETING_KEYS.META_DATA]=encodeURIComponent(r)}function o(e,t){var i=p.METADATA_MACROS,r="g";return e.replace(new RegExp(i.PARTNER,r),t.getAdapterID()).replace(new RegExp(i.WIDTH,r),t.getWidth()).replace(new RegExp(i.HEIGHT,r),t.getHeight()).replace(new RegExp(i.GROSS_ECPM,r),t.getGrossEcpm()).replace(new RegExp(i.NET_ECPM,r),t.getNetEcpm())}function a(e){var t=null,i={};return u.forEachOnObject(e.adapters,(function(e,r){var n=f.auctionBidsCallBack(e,r,i,t);t=n.winningBid,i=n.keyValuePairs})),null!==c.getMataDataPattern()&&s(c.getMataDataPattern(),e,i),{wb:t,kvp:i}}function d(e,t,i,r){return""!=t.getLastBidID()?(u.forEachOnObject(t.bids,(function(t,n){return n.getPostTimeoutStatus()===!0?{winningBid:r,keyValuePairs:i}:(1!==n.getDefaultBidStatus()&&1==c.getSendAllBidsStatus()&&n.setSendAllBidsKeys(),0===c.getBidPassThroughStatus(e)&&u.copyKeyValueObject(i,n.getKeyValuePairs()),0!==c.getBidPassThroughStatus(e)?(u.copyKeyValueObject(i,n.getKeyValuePairs()),{winningBid:r,keyValuePairs:i}):(null==r?r=n:r.getNetEcpm()0?(t.setStatus(1),t.setWinningBidStatus(),u.vLogInfo(e,{type:"win-bid",bidDetails:t})):u.vLogInfo(e,{type:"win-bid-fail"})}return{wb:t,kvp:i}},t.getBidById=function(e){if(!u.isOwnProperty(window.PWT.bidIdMap,e))return u.log(p.MESSAGES.M25+e),null;var t=window.PWT.bidIdMap[e].s,i=window.PWT.bidIdMap[e].a;if(u.isOwnProperty(window.PWT.bidMap,t)){u.log("BidID: "+e+", DivID: "+t+p.MESSAGES.M19+i);var r=window.PWT.bidMap[t].getBid(i,e);return null==r?null:{bid:r,slotid:t}}return u.log(p.MESSAGES.M25+e),null},t.displayCreative=function(e,t){var i=f.getBidById(t);if(i){var r=i.bid,n=i.slotid;u.displayCreative(e,r),u.vLogInfo(n,{type:"disp",adapter:r.getAdapterID()}),f.executeMonetizationPixel(n,r)}},t.executeAnalyticsPixel=function(){var e={s:[]},t=c.getPublisherId(),i=m.getUserConsentDataFromLS(),r="",n=c.getAnalyticsPixelURL(),s={};n&&(n=u.metaInfo.protocol+n+"pubid="+t,e[p.CONFIG.PUBLISHER_ID]=c.getPublisherId(),e[p.LOGGER_PIXEL_PARAMS.TIMEOUT]=""+c.getTimeout(),e[p.LOGGER_PIXEL_PARAMS.PAGE_URL]=window.decodeURIComponent(u.metaInfo.pageURL),e[p.LOGGER_PIXEL_PARAMS.TIMESTAMP]=u.getCurrentTimestamp(),e[p.CONFIG.PROFILE_ID]=c.getProfileID(),e[p.CONFIG.PROFILE_VERSION_ID]=c.getProfileDisplayVersionID(),c.getGdpr()&&(r=i&&i.c?encodeURIComponent(i.c):"",e[p.CONFIG.GDPR_CONSENT]=i&&i.g,e[p.CONFIG.CONSENT_STRING]=r,n+="&gdEn="+(c.getGdpr()?1:0)),u.forEachOnObject(window.PWT.bidMap,(function(e,t){f.analyticalPixelCallback(e,t,s)})),u.forEachOnObject(s,(function(t,i){i.length>0&&(e.s=i,e[p.COMMON.IMPRESSION_ID]=window.encodeURIComponent(t),(new window.Image).src=n+"&json="+window.encodeURIComponent(JSON.stringify(e)))})))},t.executeMonetizationPixel=function(e,t){var i=c.getMonetizationPixelURL(),r=c.getPublisherId();i&&(i+="pubid="+r,i+="&purl="+window.encodeURIComponent(u.metaInfo.pageURL),i+="&tst="+u.getCurrentTimestamp(),i+="&iid="+window.encodeURIComponent(window.PWT.bidMap[e].getImpressionID()),i+="&bidid="+window.encodeURIComponent(t.getBidID()),i+="&pid="+window.encodeURIComponent(c.getProfileID()),i+="&pdvid="+window.encodeURIComponent(c.getProfileDisplayVersionID()),i+="&slot="+window.encodeURIComponent(e),i+="&pn="+window.encodeURIComponent(t.getAdapterID()),i+="&en="+window.encodeURIComponent(t.getNetEcpm()),i+="&eg="+window.encodeURIComponent(t.getGrossEcpm()),i+="&kgpv="+window.encodeURIComponent(t.getKGPV()),f.setImageSrcToPixelURL(i))},t.analyticalPixelCallback=l,t.setImageSrcToPixelURL=function(e){var t=new window.Image;t.src=u.metaInfo.protocol+e},t.getAllPartnersBidStatuses=function(e,t){var i=!0;return u.forEachOnArray(t,(function(t,r){e[r]&&u.forEachOnObject(e[r].adapters,(function(e,t){u.forEachOnObject(t.bids,(function(e,t){i=i&&0===t.getDefaultBidStatus()}))}))})),i}}),(function(e,t){function i(e,t){return toString.call(e)==="[object "+t+"]"}var r="OpenWrap",n=909090,s=function(e){return i(e,"Function")},o=(function(){try{return window.localStorage&&s(window.localStorage.getItem)&&s(window.localStorage.setItem)}catch(e){return!1}})(),a=function(e,t,i,n){var s;if(o){try{s=window.localStorage.getItem(r)}catch(a){}if(s&&"string"==typeof s)try{s=JSON.parse(s)}catch(a){s={}}else s={};s&&(s.hasOwnProperty(e)||(s[e]={}),s[e].t=(new Date).getTime(),s[e][t]=i,"c"==t&&(s[e].g=n?1:0));try{window.localStorage.setItem(r,JSON.stringify(s))}catch(a){}}};t.setConsentDataInLS=a,t.isCmpFound=function(){return!!window.__cmp},t.getUserConsentDataFromCMP=function(){function e(e){if(e&&e.data&&e.data.__cmp&&e.data.__cmp.result){var t=e.data.__cmp.result;t&&t.consentData?a(i,"c",t.consentData,t.gdprApplies):"string"==typeof t&&a(i,"c",t)}}function t(){window.__cmp("getConsentData","vendorConsents",(function(e){e&&e.consentData?a(i,"c",e.consentData,e.gdprApplies):"string"==typeof e&&a(i,"c",e)}))}var i=n,r=0,s={__cmp:{callId:"iframe:"+ ++r,command:"getConsentData"}};window.__cmp?"function"==typeof window.__cmp?t():setTimeout((function(){"function"==typeof window.__cmp&&t()}),500):(window.top.postMessage(s,"*"),window.addEventListener("message",e))},t.getUserConsentDataFromLS=function(){var e=n,t={c:"",g:0};if(!o)return t;var i;try{i=window.localStorage.getItem(r)}catch(s){}if(i&&"string"==typeof i){try{i=JSON.parse(i)}catch(s){i={}}if(i.hasOwnProperty(e)){var a=i[e];a&&a.c&&a.t&&a.t&&parseInt(a.t,10)>(new Date).getTime()-864e5&&(t.c=a.c,t.g=a.g)}}return t}}),(function(e,t,i){function r(e){this.name=e,this.sizes=[],this.adapters={},this.creationTime=s.getCurrentTimestampInMs(),this.impressionID="",this.analyticsEnabled=!1,this.expired=!1}var n=i(2),s=i(1),o=i(9).AdapterEntry;r.prototype.setExpired=function(){return this.expired=!0,this},r.prototype.getExpiredStatus=function(){return this.expired},r.prototype.setAnalyticEnabled=function(){return this.analyticsEnabled=!0,this},r.prototype.getAnalyticEnabledStatus=function(){return this.analyticsEnabled},r.prototype.setNewBid=function(e,t){s.isOwnProperty(this.adapters,e)||(this.adapters[e]=new o(e)),this.adapters[e].setNewBid(t)},r.prototype.getBid=function(e,t){return s.isOwnProperty(this.adapters,e)?this.adapters[e].getBid(t):void 0},r.prototype.getName=function(){return this.name},r.prototype.getCreationTime=function(){return this.creationTime},r.prototype.setImpressionID=function(e){return this.impressionID=e,this},r.prototype.getImpressionID=function(){return this.impressionID},r.prototype.setSizes=function(e){return this.sizes=e,this},r.prototype.getSizes=function(){return this.sizes},r.prototype.setAdapterEntry=function(e){return s.isOwnProperty(this.adapters,e)||(this.adapters[e]=new o(e),s.log(n.MESSAGES.M4+this.name+" "+e+" "+this.adapters[e].getCallInitiatedTime())),this},r.prototype.getLastBidIDForAdapter=function(e){return s.isOwnProperty(this.adapters,e)?this.adapters[e].getLastBidID():""},e.exports.BMEntry=r,t.createBMEntry=function(e){return new r(e)}}),(function(e,t,i){function r(e){this.adapterID=e,this.callInitiatedTime=n.getCurrentTimestampInMs(),this.bids={},this.lastBidID=""}var n=i(1);r.prototype.getCallInitiatedTime=function(){return this.callInitiatedTime},r.prototype.getLastBidID=function(){return this.lastBidID},r.prototype.getBid=function(e){return n.isOwnProperty(this.bids,e)?this.bids[e]:null},r.prototype.setNewBid=function(e){delete this.bids[this.lastBidID];var t=e.getBidID();this.bids[t]=e,this.lastBidID=t},e.exports.AdapterEntry=r}),(function(e,t,i){function r(e){q.isObject(e)&&(ot=e)}function n(){return ot}function s(e){var t=0;try{var i=e.getSlotId().getId().split("_");t=parseInt(i[i.length-1])}catch(r){}return t}function o(e,t){if(!q.isOwnProperty(t,e))return!1;var i=t[e],r=q.getScreenWidth(at.getWindowReference()),n=q.getScreenHeight(at.getWindowReference());if(q.log(e+": responsiveSizeMapping found: screenWidth: "+r+", screenHeight: "+n),q.log(i),!q.isArray(i))return!1;for(var s=0,o=i.length;o>s;s++)if(2==i[s].length&&2==i[s][0].length){var a=i[s][0][0],d=i[s][0][1];if(r>=a&&n>=d){if(0!=i[s][1].length&&!q.isArray(i[s][1][0])){if(2==i[s][1].length&&q.isNumber(i[s][1][0])&&q.isNumber(i[s][1][1]))return[i[s][1]];q.log(e+": Unsupported mapping template."),q.log(i)}return i[s][1]}}return!1}function a(e,t){var i=at.getSizeFromSizeMapping(e,at.slotSizeMapping);if(i!==!1)return q.log(e+": responsiveSizeMapping applied: "),q.log(i),i;var r=[];return q.isFunction(t.getSizes)&&q.forEachOnArray(t.getSizes(),(function(t,i){q.isFunction(i.getWidth)&&q.isFunction(i.getHeight)?r.push([i.getWidth(),i.getHeight()]):(q.log(e+", size object does not have getWidth and getHeight method. Ignoring: "),q.log(i))})),r}function d(e,t){q.isObject(e)&&q.isFunction(e.getDivID)&&q.isArray(t)&&t[0]&&t[0]==e.getDivID()&&(e.setDisplayFunctionCalled(!0),e.setArguments(t))}function l(e,t,i){if(q.isOwnProperty(at.slotsMap,e))i||at.slotsMap[e].setSizes(at.getAdSlotSizesArray(e,t));else{var r=Z.createSlot(e);r.setDivID(e),r.setPubAdServerObject(t),r.setAdUnitID(t.getAdUnitPath()),r.setAdUnitIndex(at.getAdUnitIndex(t)),r.setSizes(at.getAdSlotSizesArray(e,t)),r.setStatus(Y.SLOT_STATUS.CREATED),tt&&q.isObject(JSON)&&q.isFunction(JSON.stringify)&&q.forEachOnArray(t.getTargetingKeys(),(function(e,i){r.setKeyValue(i,t.getTargeting(i))})),at.slotsMap[e]=r,q.createVLogInfoPanel(e,r.getSizes())}}function c(e){if(q.isObject(e)&&q.isFunction(e.getSlotId)){var t=e.getSlotId();if(t&&q.isFunction(t.getDomId))return t.getDomId()}return""}function p(e,t,i){q.log("Generating slotsMap"),q.forEachOnArray(e,(function(e,r){var n=at.generateSlotName(r);at.storeInSlotsMap(n,r,i),i&&q.isOwnProperty(at.slotsMap,n)&&at.setDisplayFunctionCalledIfRequired(at.slotsMap[n],t)})),q.log(at.slotsMap)}function u(e){return q.isOwnProperty(at.slotsMap,e)?at.slotsMap[e].getStatus():Y.SLOT_STATUS.DISPLAYED}function m(e,t){q.isOwnProperty(at.slotsMap,e)&&at.slotsMap[e].updateStatusAfterRendering(t)}function g(e){var t=[];return q.forEachOnObject(at.slotsMap,(function(i,r){q.isOwnProperty(e,r.getStatus())&&t.push(i)})),t}function f(e){var t,i={};q.isOwnProperty(at.slotsMap,e)&&(t=at.slotsMap[e].getPubAdServerObject(),q.forEachOnArray(t.getTargetingKeys(),(function(e,r){i[r]=t.getTargeting(r)})),t.clearTargeting(),q.forEachOnObject(i,(function(e,i){q.isOwnProperty(at.wrapperTargetingKeys,e)||t.setTargeting(e,i)})))}function I(e,t,i){q.forEachOnArray(e,(function(e,r){if(q.isOwnProperty(at.slotsMap,r)){var n=at.slotsMap[r];n.setStatus(Y.SLOT_STATUS.PARTNERS_CALLED),i&&(at.removeDMTargetingFromSlot(r),n.setRefreshFunctionCalled(!0),n.setArguments(t))}}))}function h(e){var t=[];return q.forEachOnArray(e,(function(e,i){t.push(at.slotsMap[i])})),t}function S(e){var t={};return q.forEachOnObject(e,(function(e,i){t[i]=""})),t}function b(e){var t=J.getBid(e),i=t.wb||null,r=t.kvp||null,n=at.slotsMap[e].getPubAdServerObject(),s=Y.IGNORE_PREBID_KEYS;if(q.log("DIV: "+e+" winningBid: "),q.log(i),i&&i.getNetEcpm()>0){at.slotsMap[e].setStatus(Y.SLOT_STATUS.TARGETING_ADDED),n.setTargeting(Y.WRAPPER_TARGETING_KEYS.BID_ID,i.getBidID()),n.setTargeting(Y.WRAPPER_TARGETING_KEYS.BID_STATUS,i.getStatus()),n.setTargeting(Y.WRAPPER_TARGETING_KEYS.BID_ECPM,i.getNetEcpm().toFixed(Y.COMMON.BID_PRECISION));var o=i.getDealID();o&&n.setTargeting(Y.WRAPPER_TARGETING_KEYS.BID_DEAL_ID,o),n.setTargeting(Y.WRAPPER_TARGETING_KEYS.BID_ADAPTER_ID,i.getAdapterID()),n.setTargeting(Y.WRAPPER_TARGETING_KEYS.PUBLISHER_ID,V.getPublisherId()),n.setTargeting(Y.WRAPPER_TARGETING_KEYS.PROFILE_ID,V.getProfileID()),n.setTargeting(Y.WRAPPER_TARGETING_KEYS.PROFILE_VERSION_ID,V.getProfileDisplayVersionID()),n.setTargeting(Y.WRAPPER_TARGETING_KEYS.BID_SIZE,i.width+"x"+i.height)}q.forEachOnObject(r,(function(e,t){q.isOwnProperty(s,e)||(n.setTargeting(e,t),at.defineWrapperTargetingKey(e))}))}function w(e){q.isObject(at.wrapperTargetingKeys)||(at.wrapperTargetingKeys={}),at.wrapperTargetingKeys[e]=""}function y(e,t){return q.isObject(e)&&q.isFunction(t)?function(){return et=!0,q.log("Disable Initial Load is called"),t.apply(e,arguments)}:(q.log("disableInitialLoad: originalFunction is not a function"),null)}function v(e,t){return q.isObject(e)&&q.isFunction(t)?function(){return q.log("enableSingleRequest is called"),t.apply(e,arguments)}:(q.log("disableInitialLoad: originalFunction is not a function"),null)}function E(e,t){return q.isObject(e)&&q.isFunction(t)?function(){var i=arguments,r=i[0]?i[0]:null;return null!=r&&(q.isOwnProperty(st,r)||(st[r]=[]),st[r]=st[r].concat(i[1])),t.apply(e,arguments)}:(q.log("setTargeting: originalFunction is not a function"),null)}function A(e,t){return q.isObject(e)&&q.isFunction(t)?function(){var i=arguments[0]||window.googletag.pubads().getSlots();return q.forEachOnArray(i,(function(e,t){delete nt[at.generateSlotName(t)]})),t.apply(e,arguments)}:(q.log("destroySlots: originalFunction is not a function"),null)}function T(e,t,i,r){q.log(e),q.log(r),at.updateStatusAfterRendering(r[0],!1),i.apply(t,r)}function D(e,t){var i=t.getStatus();i!=Y.SLOT_STATUS.DISPLAYED&&i!=Y.SLOT_STATUS.TARGETING_ADDED&&at.findWinningBidAndApplyTargeting(e)}function O(e,t,i){at.getStatusOfSlotForDivId(i[0])!=Y.SLOT_STATUS.DISPLAYED?at.updateStatusAndCallOriginalFunction_Display("Calling original display function after timeout with arguments, ",e,t,i):q.log("AdSlot already rendered")}function P(e,t,i){q.getExternalBidderStatus(t)&&J.getAllPartnersBidStatuses(window.PWT.bidMap,t)?(q.resetExternalBidderStatus(t),i()):e>0&&window.setTimeout((function(){at.executeDisplay(e-10,t,i)}),10)}function _(e,t,i,r){switch(e){case Y.SLOT_STATUS.CREATED:case Y.SLOT_STATUS.PARTNERS_CALLED:var n=Object.keys(at.slotsMap);"object"==typeof window.OWT.externalBidderStatuses[r[0]]&&window.OWT.externalBidderStatuses[r[0]]&&at.executeDisplay(V.getTimeout(),n,(function(){q.forEachOnObject(at.slotsMap,(function(e,t){at.findWinningBidIfRequired_Display(e,t)})),at.processDisplayCalledSlot(t,i,r)})),setTimeout((function(){q.log("PostTimeout.. back in display function"),q.forEachOnObject(at.slotsMap,(function(e,t){at.findWinningBidIfRequired_Display(e,t)})),at.processDisplayCalledSlot(t,i,r)}),V.getTimeout());break;case Y.SLOT_STATUS.TARGETING_ADDED:at.updateStatusAndCallOriginalFunction_Display("As DM processing is already done, Calling original display function with arguments",t,i,r);break;case Y.SLOT_STATUS.DISPLAYED:at.updateStatusAndCallOriginalFunction_Display("As slot is already displayed, Calling original display function with arguments",t,i,r)}}function x(e,t,i){if(e.length>0){at.updateStatusOfQualifyingSlotsBeforeCallingAdapters(e,t,i);var r=at.arrayOfSelectedSlots(e);X.callAdapters(r)}}function R(e,t){return Q.getUserConsentDataFromCMP(),q.isObject(e)&&q.isFunction(t)?function(){if(q.log("In display function, with arguments: "),q.log(arguments),et)return q.log("DisableInitialLoad was called, Nothing to do"),t.apply(e,arguments);at.updateSlotsMapFromGoogleSlots(e.pubads().getSlots(),arguments,!0),at.displayFunctionStatusHandler(u(arguments[0]),e,t,arguments);var i={};i[Y.SLOT_STATUS.CREATED]="",at.forQualifyingSlotNamesCallAdapters(g(i),arguments,!1);var r=arguments[0];setTimeout((function(){q.realignVLogInfoPanel(r),J.executeAnalyticsPixel()}),2e3+V.getTimeout())}:(q.log("display: originalFunction is not a function"),null)}function M(e){at.displayHookIsAdded||(at.displayHookIsAdded=!0,q.log("Adding hook on googletag.display."),q.addHookOnFunction(e,!1,"display",this.newDisplayFunction))}function C(e,t,i){return q.isOwnProperty(at.slotsMap,e)&&at.slotsMap[e].isRefreshFunctionCalled()===!0&&at.slotsMap[e].getStatus()!==Y.SLOT_STATUS.DISPLAYED?(at.findWinningBidAndApplyTargeting(t),at.updateStatusAfterRendering(t,!0),!0):i}function B(e,t){q.createVLogInfoPanel(e,at.slotsMap[t].getSizes()),q.realignVLogInfoPanel(e),J.executeAnalyticsPixel()}function N(e,t,i,r){q.log("Executing post timeout events, arguments: "),q.log(r);var n=!1;q.forEachOnArray(e,(function(e,t){var i=at.slotsMap[t].getDivID();n=at.findWinningBidIfRequired_Refresh(t,i,n),window.setTimeout((function(){at.postRederingChores(i,t)}),2e3)})),this.callOriginalRefeshFunction(n,t,i,r)}function F(e,t,i,r){e===!0?(q.log("Calling original refresh function post timeout"),i.apply(t,r)):q.log("AdSlot already rendered")}function L(e,t){var i=[],r=[];return r=0==e.length||null==e[0]?t.getSlots():e[0],q.forEachOnArray(r,(function(e,t){var r=at.generateSlotName(t);r.length>0&&(i=i.concat(r))})),i}function G(e,t){return Q.getUserConsentDataFromCMP(),q.isObject(e)&&q.isFunction(t)?function(){q.log("In Refresh function"),at.updateSlotsMapFromGoogleSlots(e.getSlots(),arguments,!1);var i=L(arguments,e);at.forQualifyingSlotNamesCallAdapters(i,arguments,!0),q.log("Intiating Call to original refresh function with Timeout: "+V.getTimeout()+" ms");var r=arguments;"object"==typeof window.OWT.externalBidderStatuses[i[0]]&&window.OWT.externalBidderStatuses[i[0]]&&at.executeDisplay(V.getTimeout(),i,(function(){at.postTimeoutRefreshExecution(i,e,t,r)})),setTimeout((function(){at.postTimeoutRefreshExecution(i,e,t,r)}),V.getTimeout())}:(q.log("refresh: originalFunction is not a function"),null)}function U(e,t){return q.isObject(e)&&q.isFunction(t)?function(){return rt[at.generateSlotName(this)]=arguments[0],t.apply(this,arguments)}:(q.log("newSizeMappingFunction: originalFunction is not a function"),null)}function W(e){if(q.isObject(e)&&q.isFunction(e.defineSlot)){var t=e.defineSlot("/Harshad",[[728,90]],"Harshad-02051986");if(t)return q.addHookOnFunction(t,!0,"defineSizeMapping",at.newSizeMappingFunction),e.destroySlots([t]),!0}return!1}function k(e){if(q.isObject(e)&&q.isObject(e.googletag)&&q.isFunction(e.googletag.pubads)){var t=e.googletag,i=t.pubads();return q.isObject(i)?(at.addHookOnSlotDefineSizeMapping(t),q.addHookOnFunction(i,!1,"disableInitialLoad",at.newDisableInitialLoadFunction),q.addHookOnFunction(i,!1,"enableSingleRequest",at.newEnableSingleRequestFunction),at.newAddHookOnGoogletagDisplay(t),q.addHookOnFunction(i,!1,"refresh",at.newRefreshFuncton),q.addHookOnFunction(i,!1,"setTargeting",at.newSetTargetingFunction),q.addHookOnFunction(t,!1,"destroySlots",at.newDestroySlotsFunction),!0):!1}return!1}function H(e){return q.isObject(e)?(e.googletag=e.googletag||{},e.googletag.cmd=e.googletag.cmd||[],!0):!1}function j(e){if(q.isUndefined(e.google_onload_fired)&&q.isObject(e.googletag)&&q.isArray(e.googletag.cmd)&&q.isFunction(e.googletag.cmd.unshift)){q.log("Succeeded to load before GPT");var t=this;return e.googletag.cmd.unshift((function(){q.log("OpenWrap initialization started"),t.addHooks(e),q.log("OpenWrap initialization completed")})),!0}return q.log("Failed to load before GPT"),!1}function K(e){return q.isObject(e)&&q.isObject(e.PWT)&&q.isFunction(e.PWT.jsLoaded)?(e.PWT.jsLoaded(),!0):!1}function z(e){e.PWT.safeFrameMessageListenerAdded||(q.addMessageEventListenerForSafeFrame(e),e.PWT.safeFrameMessageListenerAdded=!0)}var V=i(4),Y=i(2),q=i(1),J=i(6),Q=i(7),X=i(11),Z=i(13),$=!1;t.displayHookIsAdded=$;var et=!1,tt=!0,it={};t.wrapperTargetingKeys=it;var rt={};t.slotSizeMapping=rt;var nt={};t.slotsMap=nt;var st={},ot=null,at=this;t.setWindowReference=r,t.getWindowReference=n,t.getAdUnitIndex=s,t.getSizeFromSizeMapping=o,t.getAdSlotSizesArray=a,t.setDisplayFunctionCalledIfRequired=d,t.storeInSlotsMap=l,t.generateSlotName=c,t.updateSlotsMapFromGoogleSlots=p,t.getStatusOfSlotForDivId=u,t.updateStatusAfterRendering=m,t.getSlotNamesByStatus=g,t.removeDMTargetingFromSlot=f,t.updateStatusOfQualifyingSlotsBeforeCallingAdapters=I,t.arrayOfSelectedSlots=h,t.defineWrapperTargetingKeys=S,t.findWinningBidAndApplyTargeting=b,t.defineWrapperTargetingKey=w,t.newDisableInitialLoadFunction=y,t.newEnableSingleRequestFunction=v,t.newSetTargetingFunction=E,t.newDestroySlotsFunction=A,t.updateStatusAndCallOriginalFunction_Display=T,t.findWinningBidIfRequired_Display=D,t.processDisplayCalledSlot=O,t.executeDisplay=P,t.displayFunctionStatusHandler=_,t.forQualifyingSlotNamesCallAdapters=x,t.newDisplayFunction=R,t.newAddHookOnGoogletagDisplay=M,t.findWinningBidIfRequired_Refresh=C,t.postRederingChores=B,t.postTimeoutRefreshExecution=N,t.callOriginalRefeshFunction=F,t.getQualifyingSlotNamesForRefresh=L,t.newRefreshFuncton=G,t.newSizeMappingFunction=U,t.addHookOnSlotDefineSizeMapping=W,t.addHooks=k,t.defineGPTVariables=H,t.addHooksIfPossible=j,t.callJsLoadedIfRequired=K,t.initSafeFrameListener=z,t.init=function(e){return V.initConfig(),q.isObject(e)?(at.setWindowReference(e),at.initSafeFrameListener(e),at.wrapperTargetingKeys=at.defineWrapperTargetingKeys(Y.WRAPPER_TARGETING_KEYS),at.defineGPTVariables(e),X.registerAdapters(),at.addHooksIfPossible(e),at.callJsLoadedIfRequired(e),!0):!1}}),(function(e,t,i){function r(){return Math.floor(100*Math.random())}function n(e,t,i){u.forEachOnObject(e,(function(e,r){I.setInitTimeForSlotsForAdapter(t,e),r.fB(t,i)}))}function s(e,t){u.forEachOnArray(e,(function(e,i){var r=i.getDivID();m.resetBid(r,t),m.setSizes(r,u.generateSlotNamesFromPattern(i,"_W_x_H_"))}))}function o(e,t){return!(e>=c.getAdapterThrottle(t))}function a(e,t){u.forEachOnObject(e,(function(e,i){m.setCallInitTime(i.getDivID(),t)}))}function d(e){if(e){var t=e.ID();u.isFunction(e.fB)?I.registeredAdapters[t]=e:u.log(t+p.MESSAGES.M3)}else u.log(p.MESSAGES.M3),u.log(e)}function l(){I.registerAdapter(g.register())}var c=i(4),p=i(2),u=i(1),m=i(6),g=i(12),f={};t.registeredAdapters=f;var I=this;t.callAdapters=function(e){var t=u.generateUUID();I.resetSlots(e,t),I.callAdapter(f,e,t)},t.getRandomNumberBelow100=r,t.callAdapter=n,t.resetSlots=s,t.throttleAdapter=o,t.setInitTimeForSlotsForAdapter=a,t.registerAdapter=d,t.registerAdapters=l}),(function(e,t,i){function r(e,t){var i=g.createBid(e.bidderCode,t),r=parseInt(e.pubmaticServerErrorCode);return i.setGrossEcpm(e.cpm),i.setDealID(e.dealId),i.setDealChannel(e.dealChannel),i.setAdHtml(e.ad||""),i.setAdUrl(e.adUrl||""),i.setWidth(e.width),i.setHeight(e.height),i.setReceivedTime(e.responseTimestamp),1===r||2===r?(i.setDefaultBidStatus(0),i.setWidth(0),i.setHeight(0)):3===r||5===r?(i.setDefaultBidStatus(1),i.setPostTimeoutStatus()):r&&i.setDefaultBidStatus(1),f.forEachOnObject(e.adserverTargeting,(function(e,t){"hb_format"!==e&&"hb_source"!==e&&i.setKeyValuePair(e,t)})),i}function n(e){var t=e.adUnitCode||"";if(f.isOwnProperty(y.kgpvMap,t)){if("pubmaticServer"===e.bidderCode&&(e.bidderCode=e.originalBidder),e.bidderCode&&u.isServerSideAdapter(e.bidderCode)){var i=y.kgpvMap[t].divID,r=y.getPBCodeWithWidthAndHeight(i,e.bidderCode,e.width,e.height),n=y.getPBCodeWithoutWidthAndHeight(i,e.bidderCode);if(f.isOwnProperty(y.kgpvMap,r))t=r;else{if(!f.isOwnProperty(y.kgpvMap,n))return f.log("Failed to find kgpv details for S2S-adapter:"+e.bidderCode),void 0;t=n}}e.bidderCode&&I.setBidFromBidder(y.kgpvMap[t].divID,y.transformPBBidToOWBid(e,y.kgpvMap[t].kgpv))}else f.log("Failed to find pbBid.adUnitCode in kgpvMap, pbBid.adUnitCode:"+e.adUnitCode)}function s(e){for(var t in e)if(f.isOwnProperty(e,t)&&f.isOwnProperty(y.kgpvMap,t))for(var i=e[t],n=i.bids||[],s=0;s0&&window[b])try{if(f.isFunction(window[b].setConfig)){var o={debug:f.isDebugLogEnabled(),bidderSequence:"random",userSync:{iframeEnabled:!0,pixelEnabled:!0,enabledBidders:(function(){var e=[];return u.forEachAdapter((function(t){e.push(t)})),e})(),syncDelay:2e3},disableAjaxTimeout:u.getDisableAjaxTimeout()};u.getGdpr()&&(o.consentManagement={cmpApi:u.getCmpApi(),timeout:u.getGdprTimeout(),allowAuctionWithoutConsent:u.getAwc()}),window[b].setConfig(o)}if(!f.isFunction(window[b].requestBids))return f.log("PreBid js requestBids function is not available"),void 0;window[b].requestBids({adUnits:n,bidsBackHandler:function(e){f.log("In PreBid bidsBackHandler with bidResponses: "),f.log(e)},timeout:u.getTimeout()-50})}catch(a){f.log("Error occured in calling PreBid."),f.log(a)}}function p(){return y.parentAdapterID}var u=i(4),m=i(2),g=i(3),f=i(1),I=i(6),h=i(11),S=(i(5),m.COMMON.PARENT_ADAPTER_PREBID),b="pbjs";t.parentAdapterID=S;var w={};t.kgpvMap=w;var y=this;t.transformPBBidToOWBid=r,t.pbBidStreamHandler=n,t.handleBidResponses=s,t.getPBCodeWithWidthAndHeight=o,t.getPBCodeWithoutWidthAndHeight=a,t.generatedKeyCallback=d,t.generatePbConf=l,t.fetchBids=c,t.getParenteAdapterID=p,t.register=function(){return{fB:y.fetchBids,ID:y.getParenteAdapterID}}}),(function(e,t,i){function r(e){this.name=e,this.status=n.SLOT_STATUS.CREATED,this.divID="",this.adUnitID="",this.adUnitIndex=0,this.sizes=[],this.keyValues={},this.arguments=[],this.pubAdServerObject=null,this.displayFunctionCalled=!1,this.refreshFunctionCalled=!1}var n=i(2);r.prototype.getName=function(){return this.name},r.prototype.setStatus=function(e){return this.status=e,this},r.prototype.getStatus=function(){return this.status},r.prototype.setDivID=function(e){return this.divID=e,this},r.prototype.getDivID=function(){return this.divID},r.prototype.setAdUnitID=function(e){return this.adUnitID=e,this},r.prototype.getAdUnitID=function(){return this.adUnitID},r.prototype.setAdUnitIndex=function(e){return this.adUnitIndex=e,this},r.prototype.getAdUnitIndex=function(){return this.adUnitIndex},r.prototype.setSizes=function(e){return this.sizes=e,this},r.prototype.getSizes=function(){return this.sizes},r.prototype.setKeyValue=function(e,t){return this.keyValues[e]=t,this},r.prototype.setKeyValues=function(e){return this.keyValues=e,this},r.prototype.getkeyValues=function(){return this.keyValues},r.prototype.setArguments=function(e){return this.arguments=e,this},r.prototype.getArguments=function(){return this.arguments},r.prototype.setPubAdServerObject=function(e){return this.pubAdServerObject=e,this},r.prototype.getPubAdServerObject=function(){return this.pubAdServerObject},r.prototype.setDisplayFunctionCalled=function(e){return this.displayFunctionCalled=e,this},r.prototype.isDisplayFunctionCalled=function(){return this.displayFunctionCalled},r.prototype.setRefreshFunctionCalled=function(e){return this.refreshFunctionCalled=e,this},r.prototype.isRefreshFunctionCalled=function(){return this.refreshFunctionCalled},r.prototype.updateStatusAfterRendering=function(e){this.status=n.SLOT_STATUS.DISPLAYED,this.arguments=[],e?this.refreshFunctionCalled=!1:this.displayFunctionCalled=!1},e.exports.Slot=r,t.createSlot=function(e){return new r(e)}})]);