GIF89a; %PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
Server IP : 134.29.175.74 / Your IP : 216.73.216.160 Web Server : nginx/1.10.2 System : Windows NT CST-WEBSERVER 10.0 build 19045 (Windows 10) i586 User : Administrator ( 0) PHP Version : 7.1.0 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /Users/Administrator/AppData/Local/Google/Chrome/User Data/Default/Cache/Cache_Data/ |
Upload File : |
var isPxftLibrariesPending=!0,pxft_clear_cache_flag="";try{window.localStorage.getItem("pxft-display-version")&&(pxft_clear_cache_flag=window.localStorage.getItem("pxft-display-version"))}catch{pxft_clear_cache_flag=""}let prebid_file="https://cdn.pixfuture.com/pbix.js"+pxft_clear_cache_flag;(function(){const e=document.createElement("script");e.type="text/javascript",e.src="https://securepubads.g.doubleclick.net/tag/js/gpt.js",document.head.appendChild(e),e.addEventListener("load",function(){isPxftLibrariesPending||display_controller_pixfuture.continueFlow(),isPxftLibrariesPending=!1})})(),function(){const e=document.createElement("script");e.type="text/javascript",e.src=prebid_file,document.head.appendChild(e),e.addEventListener("load",function(){isPxftLibrariesPending||display_controller_pixfuture.continueFlow(),isPxftLibrariesPending=!1})}();const DIRECT_DEAL_KEY="direct",PREBID_KEY="prebid",INTERNAL_KEY="internal",EXTP_KEY="extp",PASSBACK_KEY="passback",PIXFUTURE_BANNER_KEY="pixfuture_banner",STATUS_MAX_DELAY_SECOND=10,PIXFT_DATA_KEY="pixft_udata",BASE_ERROR="error",FATAL_ERROR="fatal",EVENT_INIT_SLOT_CONFIG="init_slot_config",EVENT_START_AUCTION="start_auction",EVENT_AD_RENDERED="ad_rendered",EVENT_END_AUCTION="end_auction",EVENT_START_REFRESH="start_refresh",max_ms_latency_request=5e3,max_cpm_floor=5;let displayEventObj=null;class Display_Events{constructor(){this.allExistTagIds=this.getAllTagsOnPage(),this.issetAdblock=!1,this.tagMandatoryEvents=[{name:EVENT_INIT_SLOT_CONFIG},{name:EVENT_START_AUCTION,timeLimit:5},{name:EVENT_AD_RENDERED,timeLimit:7},{name:EVENT_END_AUCTION,timeLimit:8}],this.firstInit=!0,this.tagVisibleIsChecked=!1,this.initTime=this.getTime(),this.criticalStageMaxTimeoutSec=15,this.allTags={slots:[],data:[]},this.eventData={},this.initTimeData={},this.initFlow=!1,this.issetAdblock||this.checkMainSlotEvents()}getAffId(){let e=this.allExistTagIds[0]??"",t=e.split("x");return+(t[3]??0)}static setAdBlock(e){Display_Events.getInstance().issetAdblock=e}getAllTagsOnPage(){let e=[],t=document.querySelectorAll(`script[src*="${"www/delivery/"}headerbid"], script[src*="${"www/delivery/"}ads"]`);return 0<t.length&&t.forEach(function(t){let i=headerBidParamObject.getData(t),a=headerBidParamObject.getValueByData("slotId",i);null!==a&&e.push(a)}),e}validExistTags(){let e=Object.keys(this.initTimeData)??[],t=this,i=function(e,t){let i=!1;return 0<e.length&&e.forEach(function(e){-1<t.indexOf(e)&&(i=!0)}),i};t.allExistTagIds.forEach(function(a){if(!i(e,a)){let i=`${a} error execution!`;console.error(i),display_controller_pixfuture.error.send(FATAL_ERROR,i,JSON.stringify({site:window.location.href,allExistTagIds:t.allExistTagIds,initTags:e}))}})}checkVisibleTags(){if(!1===this.tagVisibleIsChecked){let e=e=>!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)&&"hidden"!==window.getComputedStyle(e).visibility;this.allExistTagIds.forEach(function(t){let i=document.getElementById(t);if(i&&!e(i)){let e=`Tag with id ${t} is not visible on page!`;display_controller_pixfuture.error.send(FATAL_ERROR,e),console.error(e)}}),this.tagVisibleIsChecked=!0}}checkMainSlotEvents(e=null){let t=this;t.issetAdblock||setTimeout(function(){let i=!document.hidden||"visible"==document.visibilityState;!t.issetAdblock&&i&&(t.validExistTags(),t.checkVisibleTags(),0<t.allTags.data.length&&t.allTags.data.forEach(function(i){if(null!==e&&i.slot!==e)return;let a=!0===t.firstInit?t.tagMandatoryEvents:[...t.tagMandatoryEvents,{name:EVENT_START_REFRESH,timeLimit:1e3*+i.refreshInterval}],s=t.eventData[i.slot];"undefined"!=typeof s&&a.forEach(function(e){let a=s.find(t=>t.event===e.name);if(!a){let t=`${i.slot} error, event - ${e.name} is not fired!`;display_controller_pixfuture.error.send(FATAL_ERROR,t,JSON.stringify("undefined"==typeof a?{}:a.payload)),console.error(t)}else{let s=t.initTimeData[i.slot]??0,d=parseFloat((+a.time-+s)/1e3).toFixed(1),n=e.timeLimit??null;if(null!==n&&d>n){let e=`On slot ${i.slot} event - ${a.event} was over time limit ${n}s. => actual duration ${d}s.`;console.warn(e),display_controller_pixfuture.error.send(BASE_ERROR,e,JSON.stringify(a.payload))}}})}),!0===t.firstInit&&(t.firstInit=!1))},1e3*t.criticalStageMaxTimeoutSec)}static getInstance(){return null===displayEventObj&&(displayEventObj=new Display_Events),displayEventObj}getTime(){return Date.now()}addSlot(e){if(!this.allTags.slots.includes(e)&&(this.allTags.slots.push(e),"undefined"!=typeof headerBidParamObject)){let t=headerBidParamObject.attributes.find(e=>e.varName==="slotId"),i=document.querySelectorAll("script["+t.attributeOld+"=\""+e+"\"]"),a=document.querySelectorAll("script["+t.attributeNew+"=\""+e+"\"]"),s=i[0]??a[0]??null;if(null!==s){let t=headerBidParamObject.getData(s),i=headerBidParamObject.getValueByData("refreshInterval",t);isNaN(i)||this.allTags.data.push({slot:e,refreshInterval:+i})}}}add(e,t,i={}){let a=this,s=a.getTime();if(t===EVENT_START_REFRESH){"undefined"!=typeof a.eventData[e]&&(delete a.eventData[e],a.initTimeData[e]=s);let t=!document.hidden||"visible"==document.visibilityState;t&&a.checkMainSlotEvents(e)}"undefined"==typeof a.eventData[e]&&(a.eventData[e]=[],a.initTimeData[e]=s),a.eventData[e].push({time:s,payload:i,event:t})}}class User_Cpm_Data{strEncode(e){return btoa(unescape(encodeURIComponent(e)))}strDecode(e){return decodeURIComponent(escape(atob(e)))}saveUData(e){let t=this.getUData(),i=e.slotId;"undefined"==typeof t[i]&&(t[i]={},t[i].isc=0,t[i].rv=0),t[i].isc++,t[i].rv+="undefined"==typeof e.winnerInfo.cpm?0:e.winnerInfo.cpm/1e3;try{window.localStorage.setItem(PIXFT_DATA_KEY,this.strEncode(JSON.stringify(t)))}catch(t){}}getUData(){let e={};try{e=JSON.parse(this.strDecode(window.localStorage.getItem(PIXFT_DATA_KEY)??"e30="))}catch(t){}return e}getUCpmFloor(e){let t=this.getUData();"undefined"==typeof t[e]&&(t[e]={},t[e].isc=0,t[e].rv=0);let i=+(!Number.isNaN(t[e].isc)&&0<t[e].isc?1e3*(t[e].rv/t[e].isc):0).toFixed(3);return 0<i?i:0}getCpmFloorByData(e,t,i){let a=this.getUCpmFloor(e);return t>a&&i?a:a>t?a:t}}class Error_Tracker{constructor(){this.platformId=3,this.percentProbability=5,this.produceErrorLink="https://et.pixfuture.com/save_error.php",this.allowErrorsJsonLink="https://cdn.pixfuture.com/affiliate_allow_errors.json"}isCanSendError(){return 100*Math.random()<this.percentProbability}isAlreadySentForToday(){let e=!1,t="sent-errors",i="lastSentDateKey",a=new Date,s=a.getDate()+"-"+(a.getMonth()+1)+"-"+a.getFullYear();try{if(window.localStorage){let a=window.localStorage.getItem(t)??"{}",d=JSON.parse(a);"undefined"!=typeof d[i]&&d[i]==s&&(e=!0),d[i]=s,window.localStorage.setItem(t,JSON.stringify(d))}}catch(t){console.log("error set to local storage"),console.log(t)}return e}isCanSendErrorByAffId(e){let t=this,i=!0;return new Promise(function(a){if(t.isCanSendError()){let s=new XMLHttpRequest;s.responseType="json",s.open("GET",t.allowErrorsJsonLink,!0),s.onreadystatechange=function(){if(4==s.readyState)if(200===s.status){let t=s.response;if("object"==typeof t&&null!==t&&"undefined"!=typeof t[e]){let i=JSON.parse(t[e]+"".toLowerCase());a(!!i)}else a(i)}else a(i)},s.withCredentials=!1,s.send(null)}else a(!1)})}send(e="",t=""){}}class Display_Controller_PF{constructor(){Display_Events.getInstance().initFlow=!0,this.pending_tags=[],this.pending_reqs=[],this.syncPixels=[],this.synced=!1,this.hasPxftDataItem=!1,this.scriptLoaderBusy=!1,this.user_hashed_data={};let e=this;this.googleSlots={},this.userCpmData=new User_Cpm_Data,this.error=new Error_Tracker;let t,i=new IntersectionObserver(function(e,t){e.forEach(e=>{var i=e.target;e.isIntersecting?i.view_timer=setTimeout(function(){t.unobserve(i),i.display_tag.sendViewImp()},1e3):clearTimeout(i.view_timer)})},{rootMargin:"0px",threshold:.5}),a=function(e){for(t in e)if(t in document)return e[t];return null},s=a({hidden:"visibilitychange",webkitHidden:"webkitvisibilitychange",mozHidden:"mozvisibilitychange",msHidden:"msvisibilitychange"});if(null!==s){document.addEventListener(s,()=>{0==e.pending_reqs.length||document.hidden||"visible"!=document.visibilityState||e.continueRequestFlow()})}this.observer_controller=i}refresh(e){if("undefined"!=typeof pbjs_pix&&pbjs_pix.removeExpiredBids(e.slotId),e.last_winner==INTERNAL_KEY){let t=document.getElementById(e.slotId+"_google");null!==t&&(t.innerHTML=""),e.display_manager.adCollection[INTERNAL_KEY].refresh()}var t=1e3*e.settings.refreshInterval;setTimeout(function(){Display_Events.getInstance().add(e.slotId,EVENT_START_REFRESH,{affiliateId:e.affiliateid}),display_controller_pixfuture.observer_controller.unobserve(document.getElementById(e.slotId)),e.prebid={},1==e.status.imp_h&&(e.status.imp_h=2);let t=document.getElementById(e.slotId+"_iframe");0<e.settings.refreshTimes&&(!display_controller_pixfuture.getCMP_Flag()&&findCMP_PixFuture(),e.status.isRefreshed=!0,t&&t.remove(),e.settings.refreshTimes--,display_controller_pixfuture.sendServerData_PF(e))},t)}verifyStatus(e){isPxftLibrariesPending||"undefined"==typeof pbjs_pix?this.pending_tags.push(e):e.startAuction()}createIframe(e,t,i){document.getElementById(e+"_iframe")&&document.getElementById(e+"_iframe").remove();let a=document.createElement("iframe");return a.setAttribute("id",e+"_iframe"),a.setAttribute("FRAMEBORDER",0),a.setAttribute("SCROLLING","no"),a.setAttribute("width",t),a.setAttribute("height",i),a.setAttribute("marginwidth","0"),a.setAttribute("marginheight","0"),a}sendServerData_PF(e){var t=new XMLHttpRequest,i=this,a=Date.now();t.onreadystatechange=function(){let s=Date.now()-a,d=this;if(4==d.readyState&&s>max_ms_latency_request&&display_controller_pixfuture.error.send(BASE_ERROR,`Latency of request to hb_v2.php is ${s} ms. and greater that max - ${max_ms_latency_request} ms.`,JSON.stringify({slotId:e.slotId})),4==this.readyState&&200==this.status){let a=JSON.parse(t.response),s=i.setServerConfig(e,a),d=new Headerbid_Auction_PF(a);d.setDisplayTag(s),i.refresh(e),i.verifyStatus(d),i.setSync(e,a.syncData)}else 4==this.readyState&&(0===this.status?Display_Events.setAdBlock(!0):display_controller_pixfuture.error.send(FATAL_ERROR,`Request to hb_v2.php ended with an error. Status ${d.status}`,JSON.stringify(e)))},t.open("POST","//served-by.pixfuture.com/www/delivery/hb_v2.php?dat="+e.slotId+"&keywords="+i.getKeywords()+"&refUrl="+document.referrer+"&refresh="+e.status.isRefreshed+"&innerWidth="+screen.width+"&cb="+new Date().getTime(),!0);let s=5>e.settings.initialRefreshNumber-e.settings.refreshTimes,d=!document.hidden||"visible"==document.visibilityState;return s||d?t.send():i.pending_reqs.push(t),t}setSync(e,t){e.status.isRefreshed||this.synced||!1===t||(this.synced=!0,t.forEach(e=>{if("script"==e.type){let t=document.createElement("script");t.src=e.pixel,t.type="text/javascript",document.head.appendChild(t)}else{let t=document.createElement("img");t.src=e.pixel,t.width="1",t.height="1",t.display="none",document.body.appendChild(t)}}))}setCMP_Flag(e){this.cmp_flag=!!e}getCMP_Flag(){return this.cmp_flag}css(){let e=document.createElement("style");if(e.rel="text/css",e.innerHTML=` .pxft-info-container { position: relative; clear: both; z-index: 2147483646; cursor: pointer; pointer-events: all; } .pxft-info-container:hover > .pxft-info-icon-text { display: initial; } .pxft-info-container:hover > .pxft-info-icon { display: none; } .pxft-info-icon-text { display: none; font-size: 9px; color: rgb(142, 140, 140) !important;text-decoration: none !important;box-shadow: none; padding: 2px; background-color: white; border-top-left-radius: 5px; bottom: 0px; right: 0px; position: absolute; line-height: 1; font-family: "open sans", sans-serif; box-sizing: initial; border: none; } .pxft-info-icon { bottom: 0px; right: 0px; position: absolute; text-decoration: none; width: 15px; height: 15px; color: rgb(142, 140, 140); padding-bottom: 6px; padding-right: 2px; float: right; display: initial; box-sizing: initial; border: none; font-size: 16px; } `,document.head.appendChild(e),728>screen.width){let e=document.createElement("style");e.rel="text/css",e.innerHTML=` .pixfuture_728x90_banner{transform-origin:0 0} @media all and (min-width:671px) and (max-width:728px){.pixfuture_responsive_banners{transform:scale(.9);-webkit-transform:scale(.9);--moz-transform:scale(0.9);-o-transform:scale(.9);-ms-transform:scale(.9)}}@media all and (min-width:651px) and (max-width:670px){.pixfuture_responsive_banners{transform:scale(.88);-webkit-transform:scale(.88);--moz-transform:scale(0.88);-o-transform:scale(.88);-ms-transform:scale(.88)}}@media all and (min-width:631px) and (max-width:650px){.pixfuture_responsive_banners{transform:scale(.85);-webkit-transform:scale(.85);--moz-transform:scale(0.85);-o-transform:scale(.85);-ms-transform:scale(.85)}}@media all and (min-width:601px) and (max-width:630px){.pixfuture_responsive_banners{transform:scale(.8);-webkit-transform:scale(.8);--moz-transform:scale(0.8);-o-transform:scale(.8);-ms-transform:scale(.8)}}@media all and (min-width:560px) and (max-width:600px){.pixfuture_responsive_banners{transform:scale(.75);-webkit-transform:scale(.75);--moz-transform:scale(0.75);-o-transform:scale(.75);-ms-transform:scale(.75)}}@media all and (min-width:520px) and (max-width:559px){.pixfuture_responsive_banners{transform:scale(.7);-webkit-transform:scale(.7);--moz-transform:scale(0.7);-o-transform:scale(.7);-ms-transform:scale(.7)}}@media all and (min-width:491px) and (max-width:519px){.pixfuture_responsive_banners{transform:scale(.65);-webkit-transform:scale(.65);--moz-transform:scale(0.65);-o-transform:scale(.65);-ms-transform:scale(.65)}}@media all and (min-width:451px) and (max-width:490px){.pixfuture_responsive_banners{transform:scale(.6);-webkit-transform:scale(.6);--moz-transform:scale(0.6);-o-transform:scale(.6);-ms-transform:scale(.6)}}@media all and (min-width:401px) and (max-width:450px){.pixfuture_responsive_banners{transform:scale(.55);-webkit-transform:scale(.55);--moz-transform:scale(0.55);-o-transform:scale(.55);-ms-transform:scale(.55)}}@media all and (min-width:371px) and (max-width:400px){.pixfuture_responsive_banners{transform:scale(.5);-webkit-transform:scale(.5);--moz-transform:scale(0.5);-o-transform:scale(.5);-ms-transform:scale(.5)}}@media all and (min-width:341px) and (max-width:370px){.pixfuture_responsive_banners{transform:scale(.46);-webkit-transform:scale(.46);--moz-transform:scale(0.46);-o-transform:scale(.46);-ms-transform:scale(.46)}}@media all and (min-width:301px) and (max-width:340px){.pixfuture_responsive_banners{transform:scale(.4);-webkit-transform:scale(.4);--moz-transform:scale(0.4);-o-transform:scale(.4);-ms-transform:scale(.4)}}@media all and (min-width:250px) and (max-width:300px){.pixfuture_responsive_banners{transform:scale(.35);-webkit-transform:scale(.35);--moz-transform:scale(0.35);-o-transform:scale(.35);-ms-transform:scale(.35)}}@media all and (min-width:150px) and (max-width:250px){.pixfuture_responsive_banners{transform:scale(.28);-webkit-transform:scale(.28);--moz-transform:scale(0.28);-o-transform:scale(.28);-ms-transform:scale(.28)}} `,document.head.appendChild(e)}}getHighestBids(e){let t=[];return e.forEach(function(e){if(!(0>=e.cpm)){if("undefined"==typeof e.ttl_exp){var i=new Date().getTime()/1e3;e.ttl_exp=Math.round(i+(e.ttl-5))}e.external_passback&&e.ttl_exp<new Date().getTime()/1e3||t.push(e)}}),t.sort(function(e,t){return t.cpm-e.cpm}),t}getAvailableSizes(e,t,a){let s=[[120,600],[160,600],[250,250],[300,50],[300,75],[300,100],[300,250],[300,600],[320,50],[468,60],[728,90],[930,180],[950,90],[960,90],[970,66],[970,90],[970,250]],d=document.getElementById(e),n=d.clientWidth||window.innerWidth||screen.availWidth||t,r=d.clientHeight||window.innerHeight||screen.availHeight||a,o=[];for(var l=0;l<s.length;l++){let e=s[l];if(e[0]<=n)e[1]<=r&&o.push(e);else break}return o}displayAd(e,t,i,a,s,d=!1){let n=document.getElementById(t);728==a&&90==s&&728>screen.width&&n.classList.add("pixfuture_responsive_banners");let r=this.createIframe(t,a,s);var o=document.getElementById(t).getAttribute("clickTrack");"%%CLICK_URL_ESC%%"!=o&&(i+="<script type=\"text/javascript\"> document.body.addEventListener('click', function (event) { var node = document.createElement(\"img\"); node.id=\"click_tracking_id\"; node.src = \""+o+"\";document.body.appendChild(node);}, true); </script>"),n.appendChild(r),r.onload=function(){display_controller_pixfuture.prepareParams(e)},d?pbjs_pix.renderAd(r.contentWindow.document,d):(r.contentWindow.document.open(),r.contentWindow.document.write("<!DOCTYPE html><html><head></head><body>"+i+"</body></html>"),r.contentWindow.document.close())}continueRequestFlow(){0!=this.pending_reqs.length&&(this.pending_reqs.forEach(e=>{e.send()}),this.pending_reqs=[])}continueFlow(){let e=this;try{null!=this.pending_tags&&(window.pxft_googletag=window.googletag||{},pxft_googletag.cmd=googletag.cmd||[],this.pending_tags.forEach(e=>this.verifyStatus(e))),pxft_googletag.cmd.push(function(){pxft_googletag.pubads().addEventListener("slotRenderEnded",function(t){let i=t.slot.getSlotElementId()||"",a=display_controller_pixfuture.googleSlots[i];if(!a)return;let s=t.isBackfill||!1;if(s&&a){let a="undefined"==typeof t.slot.getAdUnitPath()?[]:t.slot.getAdUnitPath().split("-"),s="undefined"==typeof a[2]?0:+a[2],d=i.split("x");"undefined"!=typeof d[1]&&e.userCpmData.saveUData({winnerInfo:{cpm:+(s??0)},slotId:i})}a.promise(s)}),pxft_googletag.pubads().collapseEmptyDivs()})}catch(t){display_controller_pixfuture.error.send(BASE_ERROR,`Google ad gpt error!`,JSON.stringify({error:t}))}}setServerConfig(e,t){if(e.setCpmParams(t.data.floor_price,t.data.revenue_portion),e.setCountry(t.data.country),e.setExtPermission(t.data.extp_permission),e.display_manager.setSizes(t.data.width,t.data.height),e.display_manager.setAdInfo(PASSBACK_KEY,t.data.tags.passback),!e.status.isRefreshed&&e.display_manager.setAdInfo(PIXFUTURE_BANNER_KEY,{tag:t.data.tags.default_creative}));if(e.display_manager.setDirectDeal(t.data.tags.direct_deals),document.getElementById(e.slotId).style.width=t.data.width+"px",document.getElementById(e.slotId).style.height=t.data.height+"px","undefined"!=typeof t.data.tags.internal_banners&&"undefined"!=typeof t.data.tags.internal_banners.stock&&null!=t.data.tags.internal_banners.stock){e.display_manager.setGoogleIsAllow(!0);let i=t.data.tags.internal_banners.gam_network_id||"330713950";e.display_manager.adCollection[INTERNAL_KEY].gam_network_id=i}return t.data.floor_price>max_cpm_floor&&display_controller_pixfuture.error.send(BASE_ERROR,`CPM floor more then ${max_cpm_floor}`,JSON.stringify({data:e})),e}initiateTracking(e,t){let i=new XMLHttpRequest,a=Date.now();i.onreadystatechange=function(){let e=Date.now()-a,i=this;4==i.readyState&&e>max_ms_latency_request&&display_controller_pixfuture.error.send(BASE_ERROR,`Latency of request to tracking.php is ${e} ms. and greater that max - ${max_ms_latency_request} ms.`,JSON.stringify(t)),4==i.readyState&&200!=i.status&&display_controller_pixfuture.error.send(FATAL_ERROR,`Request to tracking.php ended with an error. Status ${i.status}`,JSON.stringify(t))},i.open("POST",e+"/tracking.php",!0),i.setRequestHeader("Content-type","application/x-www-form-urlencoded"),i.send(t)}prepareParams(e){var t={bidder:"undefined"==typeof e.winnerInfo.bidder?"":e.winnerInfo.bidder,cpm:"undefined"==typeof e.winnerInfo.cpm?0:e.winnerInfo.cpm,mediatype:"undefined"==typeof e.winnerInfo.mediaType?"banner":e.winnerInfo.mediaType},i={zoneid:"undefined"==typeof e.zoneId?"":e.zoneId,affiliateid:"undefined"==typeof e.affiliateid?"":e.affiliateid,slotid:"undefined"==typeof e.slotId?"":e.slotId,referer:"undefined"==typeof e.suppInfo.referer?"":e.suppInfo.referer,width:"undefined"==typeof e.width?"":e.width,height:"undefined"==typeof e.height?"":e.height,share_portion:"undefined"==typeof e.settings.revenue_portion?.7:e.settings.revenue_portion/100,is_refresh:"undefined"!=typeof e.status.isRefreshed&&!0==e.status.isRefreshed,country:"undefined"==typeof e.suppInfo.country?"NA":e.suppInfo.country,imp_h:e.status.imp_h};this.userCpmData.saveUData(e),this.initiateTracking("https://served-by.pixfuture.com/www/headerbid/library/tracking","win="+JSON.stringify(t)+"&sup="+JSON.stringify(i)+"&breq="+JSON.stringify([]))}getKeywords(){return this.keywordsStr}setKeywords(){var e="";try{e=document.getElementsByTagName("title")[0].innerHTML}catch(t){}var t=["and","or","for","the","but","etc","in","from","the","this","that","these","those","a","with","all","how","to","at","by","&","yes","no","do","I","i","an","of","more","less","safeframe","container"];e=e.toLowerCase().trim();var a,s=e.split(" "),d=[];for(a=0;a<s.length;a++)if(!t.includes(s[a])){var n=s[a].replace(/[^\w\s]/gi,"");""!=n&&d.push(n)}this.keywordsStr=d.toString()}createGoStoryDeal(e,t,i=""){let a=`${i}<script async pixId="${e}x${t}" src="https://cdn.pixfuture.com/cw/direct/load-widget.js`+pxft_clear_cache_flag+`" init="pxft-main"> <\/script>`;return a}createNative(e,t,i){var a="<style>.ad-image:hover{ cursor:pointer;} .title-text:hover, .desc-text:hover{ text-decoration:underline; color:#0785f2 !important;} .pixf-link:hover, { text-decoration:none; color:#8E8C8C;} .hovered{ text-decoration:underline !important; color:#0785f2 !important;} .call-button:hover{ background:#aaa !important; color:white !important;}</style>";300==t&&250==i?a+="<div class=\"ads\" style=\"width:300px;height:250px;position:relative;border:1px solid #eeee;box-sizing:border-box;background-color:white;\"><div class=\"ad-container\" style=\"width:100%;height:100%;\"><a class=\"ad-image custom-clk\" href=\"native_clickurl\" target=\"_blank\"><div class=\"ad-image-div\" style=\"width:100%;height:148px; background-image:url('{native_image()}');background-size:cover;\"></div></a><div class=\"ad-title\" style=\"width:100%; height:32px;\"><div class=\"title-wrap\" style=\"width:100%;padding:5px 0;cursor:default;\"><span class=\"title-text\" style=\"font-size:14px;font-weight:700;color:black;padding-left:10px;cursor:pointer;\"><a class=\"ad-title-link custom-clk\" href=\"native_clickurl\" target=\"_blank\" style=\"text-decoration:none;font-family:open sans, sans-serif;color:black;\">{native_title()}</a></span></div><div class=\"desc-wrap\" style=\"padding:10px;max-width:100%;cursor:default;\"><span class=\"desc-text\" style=\"font-size:11px;color:black;cursor:pointer;\"><a class=\"ad-title-link custom-clk\" href=\"native_clickurl\" target=\"_blank\" style=\"text-decoration:none;font-family:open sans, sans-serif;color:black;\">{native_body()}</a></span></div></div></div><div class=\"sponsored-link\" style=\"position:absolute;right:5px;bottom:5px;\"><a class=\"pixf-link\" style=\"font-size:9px;font-family:open sans, sans-serif; color:#8E8C8C; text-decoration:none;box-shadow:none;\" href=\"native_clickurl\" target=\"_blank\">Powered by {native_sponsoredBy()}</a></div><div id=\"clk-track\" style=\"display:none;height:0;\"></div></div>":160==t&&600==i?a+="<div class=\"ads\" style=\"width:160px;height:600px;position:relative;border:1px solid #eeee;box-sizing:border-box;background-color:white;\"><div class=\"ad-container\" style=\"width:100%;height:100%;\"><a class=\"ad-image custom-clk\" href=\"native_clickurl\" target=\"_blank\"><div class=\"ad-image-div\" style=\"width:100%;height:118px; background-image:url('{native_image()}');background-size:cover;\"></div></a><div class=\"ad-title\" style=\"width:100%; height:520px;\"><div class=\"title-wrap\" style=\"width:100%;padding:5px 0;cursor:default;height:120px;display:flex;align-items:center;justify-content:center;\"><span class=\"title-text\" style=\"font-size:18px;font-weight:700;color:black;cursor:pointer;padding:10px;text-align:center;\"><a class=\"ad-title-link custom-clk\" href=\"native_clickurl\" target=\"_blank\" style=\"text-decoration:none;font-family:open sans, sans-serif;color:black;\">{native_title()}</a></span></div><div class=\"desc-wrap\" style=\"width:100%;cursor:default;height:340px;text-align:center;display:flex;align-items:center;justify-content:center;\"><span class=\"desc-text\" style=\"font-size:14px;color:black;cursor:pointer;padding:10px;position:relative;bottom:50px;\"><a class=\"ad-title-link custom-clk\" href=\"native_clickurl\" target=\"_blank\" style=\"text-decoration:none;font-family:open sans, sans-serif;color:black;\">{native_body()}</a></span></div></div></div><div class=\"sponsored-link\" style=\"position:absolute;right:5px;bottom:5px;\"><a class=\"pixf-link\" style=\"font-size:9px;font-family:open sans, sans-serif; color:#8E8C8C; text-decoration:none;box-shadow:none;\" href=\"native_clickurl\" target=\"_blank\">Powered by {native_sponsoredBy()}</a></div><div id=\"clk-track\" style=\"display:none;height:0;\"></div></div>":728==t&&90==i?a+="<div class=\"ads\" style=\"width:728px;height:90px;display:inline-block;position:relative;border:1px solid #eeee;box-sizing:border-box;background-color:white;\"><div class=\"ad-container\" style=\"width:100%;height:100%;\"><a class=\"ad-image custom-clk\" href=\"native_clickurl\" target=\"_blank\"><div class=\"ad-image-div\" style=\"width:180px;height:88px; background-image:url('{native_image()}');background-size:cover; display:inline-block;vertical-align:top;\"></div></a><div class=\"ad-title\" style=\"width:548px; height:38px;display:inline-block;position:absolute;right:0;\"><div class=\"title-wrap\" style=\"width:100%;padding:5px 0;cursor:default;\"><span class=\"title-text\" style=\"font-size:14px;font-weight:700;color:black;padding-left:10px;cursor:pointer;\"><a class=\"ad-title-link custom-clk\" href=\"native_clickurl\" target=\"_blank\" style=\"text-decoration:none;font-family:open sans, sans-serif;color:black;\">{native_title()}</a></span></div><div class=\"desc-wrap\" style=\"padding:10px;max-width:100%;cursor:default;\"><span class=\"desc-text\" style=\"font-size:11px;color:black;cursor:pointer;\"><a class=\"ad-title-link custom-clk\" href=\"native_clickurl\" target=\"_blank\" style=\"text-decoration:none;font-family:open sans, sans-serif;color:black;\">{native_body()}</a></span></div></div></div><div class=\"sponsored-link\" style=\"position:absolute;right:5px;bottom:5px;\"><a class=\"pixf-link\" style=\"font-size:9px;font-family:open sans, sans-serif; color:#8E8C8C; text-decoration:none;box-shadow:none;\" href=\"native_clickurl\" target=\"_blank\">Powered by {native_sponsoredBy()}</a></div><div id=\"clk-track\" style=\"display:none;height:0;\"></div></div>":320==t&&50==i?a+="<div class=\"ads\" style=\"width:320px;height:50px;border:solid 1px white;position:relative;border:1px solid #eeee;box-sizing:border-box;background-color:white;\"><a class=\"ad-image custom-clk\" href=\"native_clickurl\" target=\"_blank\"><div class=\"ad-image-div\" style=\"width:100px;height:48px; background-image:url('{native_image()}');background-size:cover; display:inline-block;vertical-align:top;\"></div></a><div class=\"ad-title\" style=\"width:67%; height:38px; display:inline-block;\"><a class=\"ad-title-link custom-clk\" href=\"native_clickurl\" style=\"text-decoration:none;font-family:open sans, sans-serif;\"><span class=\"title-text\" style=\"font-size:11px;color:black;\"><b>{native_title()}</b></span><br /><span class=\"desc-text\" style=\"font-size:9px;color:black;\">{native_body()}</span></a></div><div class=\"sponsored-link\" style=\"position:absolute;right:5px;bottom:1px;\"><a class=\"pixf-link\" style=\"font-size:8px;font-family:open sans, sans-serif; color:#8E8C8C; text-decoration:none;box-shadow:none;\" href=\"native_clickurl\" target=\"_blank\">Powered by {native_sponsoredBy()}</a></div><div id=\"clk-track\" style=\"display:none;height:0;\"></div></div>":970==t&&250==i?a+="<div class=\"ads\" style=\"width:970px;height:250px;display:inline-block;position:relative;border:1px solid #eeee;box-sizing:border-box;background-color:white;\"><div class=\"ad-container\" style=\"width:100%;height:100%;\"><a class=\"ad-image custom-clk\" href=\"native_clickurl\" target=\"_blank\"><div class=\"ad-image-div\" style=\"width:500px;height:248px; background-image:url('{native_image()}');background-size:cover; display:inline-block;vertical-align:top;\"></div></a><div class=\"ad-title\" style=\"width:468px; height:123px;display:inline-block;position:absolute;right:0;\"><div class=\"title-wrap\" style=\"width:100%;padding:5px 0;cursor:default;\"><span class=\"title-text\" style=\"font-size:25px;font-weight:700;color:black;padding-left:10px;cursor:pointer;\"><a class=\"ad-title-link custom-clk\" href=\"native_clickurl\" target=\"_blank\" style=\"text-decoration:none;font-family:open sans, sans-serif;color:black;\">{native_title()}</a></span></div><div class=\"desc-wrap\" style=\"padding:10px;max-width:100%;cursor:default;\"><span class=\"desc-text\" style=\"font-size:18px;color:black;cursor:pointer;\"><a class=\"ad-title-link custom-clk\" href=\"native_clickurl\" target=\"_blank\" style=\"text-decoration:none;font-family:open sans, sans-serif;color:black;\">{native_body()}</a></span></div></div></div><div class=\"sponsored-link\" style=\"position:absolute;right:5px;bottom:5px;\"><a class=\"pixf-link\" style=\"font-size:9px;font-family:open sans, sans-serif; color:#8E8C8C; text-decoration:none;box-shadow:none;\" href=\"native_clickurl\" target=\"_blank\">Powered by {native_sponsoredBy()}</a></div><div id=\"clk-track\" style=\"display:none;height:0;\"></div></div>":300==t&&600==i&&(a+="<div class=\"ads\" style=\"width:300px;height:600px;position:relative;border:1px solid #eeee;box-sizing:border-box;background-color:white;\"><div class=\"ad-container\" style=\"width:100%;height:100%;\"><a class=\"ad-image custom-clk\" href=\"native_clickurl\" target=\"_blank\"><div class=\"ad-image-div\" style=\"width:100%;height:225px; background-image:url('{native_image()}');background-size:cover;\"></div></a><div class=\"ad-title\" style=\"width:100%; height:385px;\"><div class=\"title-wrap\" style=\"width:100%;padding:5px 0;cursor:default;height:120px;display:flex;align-items:center;justify-content:center;\"><span class=\"title-text\" style=\"font-size:18px;font-weight:700;color:black;cursor:pointer;padding:10px;text-align:center;\"><a class=\"ad-title-link custom-clk\" href=\"native_clickurl\" target=\"_blank\" style=\"text-decoration:none;font-family:open sans, sans-serif;color:black;\">{native_title()}</a></span></div><div class=\"desc-wrap\" style=\"width:100%;cursor:default;height:265px;text-align:center;display:flex;align-items:center;justify-content:center;\"><span class=\"desc-text\" style=\"font-size:14px;color:black;cursor:pointer;padding:10px;position:relative;bottom:50px;\"><a class=\"ad-title-link custom-clk\" href=\"native_clickurl\" target=\"_blank\" style=\"text-decoration:none;font-family:open sans, sans-serif;color:black;\">{native_body()}</a></span></div></div></div><div class=\"sponsored-link\" style=\"position:absolute;right:5px;bottom:5px;\"><a class=\"pixf-link\" style=\"font-size:9px;font-family:open sans, sans-serif; color:#8E8C8C; text-decoration:none;box-shadow:none;\" href=\"native_clickurl\" target=\"_blank\">Powered by {native_sponsoredBy()}</a></div><div id=\"clk-track\" style=\"display:none;height:0;\"></div></div>"),a+="<script type=\"text/javascript\"> var ad_title = document.getElementsByClassName(\"ad-title-link\")[0]; var title_text = document.getElementsByClassName(\"title-text\")[0]; var ad_image = document.getElementsByClassName(\"ad-image\")[0]; var desc_text = document.getElementsByClassName(\"desc-text\")[0]; ad_image.addEventListener(\"mouseover\", event => { ad_title.classList.toggle(\"hovered\");}); title_text.addEventListener(\"mouseover\", event => { ad_title.classList.toggle(\"hovered\");}); desc_text.addEventListener(\"mouseover\", event => { ad_title.classList.toggle(\"hovered\");}); document.getElementsByClassName(\"custom-clk\")[0].addEventListener(\"click\",function() { document.getElementsByClassName(\"ads\")[0]. document.getElementById(\"clk-track\").innerHTML = clk; document.getElementById(\"clk-track\").innerHTML = \"\"; });</script>",a+="<img src=\"{native_impressionurl()}\" width=0 height=0>";var s=a.replace("{native_title()}",e.title);return s=s.replace("{native_image()}",e.image.url),s=s.replace("{native_body()}",e.body),s=s.replace(/native_clickurl/g,e.clickUrl),s=s.replace("{native_cta()}",e.cta),s=s.replace("{native_sponsoredBy()}",e.sponsoredBy),s=s.replace("{native_icon()}",e.icon),s=s.replace("{native_impressionurl()}",e.impressionTrackers[0]),s=s.replace("{native_clicktrackurl()}",e.clickTrackers[0]),s}setUserData(e){if(("undefined"!=typeof e.email||"undefined"!=typeof e.phone)&&(this.user_hashed_data=e,"undefined"!=typeof e.email)){var t=document.createElement("script");t.type="text/javascript",t.async=!0,t.innerHTML="var cnvr_launcher_options={lid:585}; var pub_link_init = document.createElement(\"script\"); pub_link_init.type = \"text/javascript\"; pub_link_init.src = \"https://secure.cdn.fastclick.net/js/cnvr-launcher/latest/launcher-stub.min.js\"; pub_link_init.addEventListener(\"load\", (event) => { window.conversant.launch(\"publink\", \"start\", { siteId: 203439, emailHashes: [\""+e.email.md5+"\",\""+e.email.sha1+"\",\""+e.email.sha256+"\"] }) }); document.head.appendChild(pub_link_init); ",document.head.appendChild(t);var i=document.createElement("script");i.async=!0,i.src="https://aa.agkn.com/adscores/s.js?sid=9112309848&em="+e.email.sha1,i.type="text/javascript",document.head.appendChild(i)}}getUserData(){return this.user_hashed_data}initPIelData(){var t=this;const i=function(a){"pixft_data_isset"===a.data&&(t.hasPxftDataItem=!0,window.removeEventListener("message",i,!1)),"pixft_data_not_isset"===a.data&&(t.hasPxftDataItem=!1,window.removeEventListener("message",i,!1))};var a=function(e){for(var t,a=e+"=",s=document.cookie.split(";"),d=0;d<s.length;d++){for(t=s[d];" "==t.charAt(0);)t=t.substring(1,t.length);if(0==t.indexOf(a))return t.substring(a.length,t.length)}return null}("pixft_data_item");null===a&&function(){if(null===document.getElementById("cookie-reader-iframe")){window.addEventListener("message",i,!1);var e=document.createElement("iframe");e.setAttribute("src","https://cdn.pixfuture.com/pixf_sync.html"),e.width="0",e.height="0",e.style.display="none",e.id="cookie-reader-iframe",document.getElementsByTagName("body")[0].appendChild(e)}}(),(null!==a&&1==+a||!0===t.hasPxftDataItem)&&function(){return new Promise(function(e){var t=new XMLHttpRequest;t.responseType="json",t.withCredentials=!0,t.open("GET","https://t.pixfuture.com/request",!0),t.onload=function(){e(t.response.data)},t.send(null)})}().then(function(e){("undefined"!=typeof e.email||"undefined"!=typeof e.phone)&&t.setUserData(e)})}adjustUserData(){if(this.initPIelData(),!this.isDFP()&&"undefined"!=typeof _pixHashes){var e="string"==typeof _pixHashes&&"{"==_pixHashes.charAt(0);e?this.setUserData(JSON.parse(_pixHashes)):this.setUserData(_pixHashes)}let t=document.getElementById("pix_cookie_sync");if(null===t){var i=document.createElement("script");i.async=!0,i.src="https://aa.agkn.com/adscores/r.js?sid=9112309848",i.id="pix_cookie_sync",i.type="text/javascript",document.head.appendChild(i)}}isDFP(){try{if(top.document)return!1}catch(t){return!0}}}class DisplayPlacement_PF{constructor(e,t,i){this.slotId=e,this.refreshInterval=i,this.zoneId=e.split("x")[0],this.affiliateid=e.split("x")[3],this.width=e.split("x")[1],this.height=e.split("x")[2],this.last_winner="";let a="undefined"!=typeof t&&null!=t?t:9999;this.settings={initialRefreshNumber:a,refreshTimes:a,refreshInterval:"undefined"!=typeof i&&null!=i&&30<=i&&0!=i?i:30,cpm_floor:0,revenue_portion:0},this.status={imp_h:0,viewed:!1,imp_flag:!1,isRefreshed:!1},this.suppInfo={country:"",referer:window.location.origin,clean_referer:window.location.origin.replace(/(http:\/\/)|(https:\/\/)|(www.)/g,"")},this.winnerInfo={bidder:"",cpm:0,mediaType:""},this.display_manager=new Manage_Display_Ad_PF,document.getElementById(e).style.width=e.split("x")[1]+"px",document.getElementById(e).style.height=e.split("x")[2]+"px",this.addPixFutureIcon(),this.addGoogleContainer()}addGoogleContainer(){let e=this.slotId+"_google";if(!document.getElementById(e)){let t=document.createElement("div");t.id=e,document.getElementById(this.slotId).appendChild(t)}}addPixFutureIcon(){if(!document.getElementById(this.slotId).querySelector(".pxft-info-container")){let e=document.createElement("a");e.text="Powered by pixfuture",e.classList.add("pxft-info-icon-text"),e.href="https://www.pixfuture.com/advertisers/?id0348293521d",e.target="_blank";let t=document.createElement("a");t.text="\u24D8",t.classList.add("pxft-info-icon"),t.href="https://www.pixfuture.com/advertisers/?id0348293521d",t.target="_blank";let i=document.createElement("div");i.classList.add("pxft-info-container"),i.style.bottom="-"+this.height+"px",i.appendChild(e),i.appendChild(t),document.getElementById(this.slotId).appendChild(i)}}setWinnerInfo(e){const{bidder:t,cpm:i,mediaType:a}=e;this.winnerInfo.bidder=t,this.winnerInfo.cpm=i,this.winnerInfo.mediaType=a}setCountry(e){this.suppInfo.country=e}setReqBidders(e){this.display_manager.adCollection[PREBID_KEY].bidders_req=e}setRenderingAds(e){this.render_ad=e}setCpmParams(e,t){this.settings.cpm_floor=e,this.settings.revenue_portion=t}setExtPermission(e){this.display_manager.adCollection[EXTP_KEY].permission=e}cacheExtPassbackBidders(e,t,i,a,s,d,n){let r={bidderCode:e,ad:t,mediaType:i,cpm:a,adId:s};if(!r.ttl_exp){let e=new Date().getTime()/1e3;r.ttl=n,r.ttl_exp=Math.round(e+(n-5))}r.external_passback=!0,null!=d&&(r.assets=d),this.extp.push(r)}impToggle(){this.status.imp_flag?this.status.imp_h=2:(this.status.imp_flag=!0,this.status.imp_h=1)}setForViewListener(){var e=this,t=document.getElementById(e.slotId);t.display_tag=e,display_controller_pixfuture.observer_controller.observe(t)}sendViewImp(){if("internal"!=this.winnerInfo.bidder){var e;this.status.viewed?e=2:(this.status.viewed=!0,e=1);let i=new XMLHttpRequest,a=Date.now();i.onreadystatechange=function(){let e=Date.now()-a,i=this;4==i.readyState&&e>max_ms_latency_request&&display_controller_pixfuture.error.send(BASE_ERROR,`Latency of request to vtr.php is ${e} ms. and greater that max - ${max_ms_latency_request} ms.`,JSON.stringify(t)),4==this.readyState&&200!=this.status&&(0===this.status?Display_Events.setAdBlock(!0):display_controller_pixfuture.error.send(FATAL_ERROR,`Request to vtr.php ended with an error. Status ${i.status}`,JSON.stringify(t)))},i.open("POST","https://served-by.pixfuture.com/www/headerbid/library/tracking"+"/vtr.php",!0),i.setRequestHeader("Content-type","application/x-www-form-urlencoded");var t="vimp={\"zoneid\":\""+this.zoneId+"\",\"bidder\":\""+this.winnerInfo.bidder+"\",\"view_h\":\""+e+"\",\"affid\":\""+this.affiliateid+"\"}";i.send(t)}}}class Headerbid_Auction_PF{constructor(e){this.slotId=e.slotId,Display_Events.getInstance().addSlot(this.slotId),Display_Events.getInstance().add(this.slotId,EVENT_INIT_SLOT_CONFIG),this.bidders=JSON.parse(e.prebid_conf.bidder_info),0===this.bidders.length&&display_controller_pixfuture.error.send(BASE_ERROR,"Empty serverResponse.prebid_conf.bidder_info",e.prebid_conf,"","init bidder_info"),this.mediaType=JSON.parse(e.prebid_conf.media_type),this.timeout=e.prebid_conf.timeout||3e3,this.serverBidConfig=""!=e.serverBidConfig&&JSON.parse(e.serverBidConfig),!1===this.serverBidConfig&&0===this.bidders.length&&display_controller_pixfuture.error.send(BASE_ERROR,"Empty serverBidConfig",e.serverBidConfig,"","init serverBidConfig"),this.bidAdjusment="[]"!=e.prebid_conf.bidAdjusment&&e.prebid_conf.bidAdjusment,this.code=e.data.code,this.version=e.version,this.ips=e.data.user.ip,this.cat=e.data.site.cat??""}setDisplayTag(e){this.display_tag=e}getDisplayTag(){return this.display_tag}buildFPD(){var e={site:{domain:this.display_tag.suppInfo.clean_referer,cat:[this.cat],sectioncat:[this.cat],pagecat:[this.cat],page:window.location.href??this.display_tag.suppInfo.clean_referer??"",keywords:display_controller_pixfuture.keywordsStr??""}};return e}startAuction(){var e=this.slotId;Display_Events.getInstance().add(this.slotId,EVENT_START_AUCTION,{affiliateId:this.display_tag.affiliateid});var t=this.serverBidConfig,i=this.code,a=this.bidAdjusment,s=this.getDisplayTag(),d=this.timeout,n=display_controller_pixfuture.getUserData(),r=this.buildFPD();try{if(window.localStorage){let e=this.version;e?window.localStorage.getItem("pxft-display-version")!=e&&window.localStorage.setItem("pxft-display-version",e):localStorage.removeItem("pxft-display-version")}}catch(t){localStorage.removeItem("pxft-display-version")}var o={name:"fabrickId",params:{apiKey:"2194730263"},storage:{name:"pbjs_fabrickId",type:"cookie",expires:30}};"undefined"!=typeof n.email&&(o.params.e=n.email.sha256),"undefined"!=typeof n.phone&&(o.params.p=n.phone.sha256),this.ips.i4&&(o.params.i4=this.ips.i4),this.ips.i6&&(o.params.i6=this.ips.i6);var l=[{code:e,mediaTypes:this.mediaType,bids:this.bidders}];pbjs_pix.onEvent("adRenderFailed",function(e){display_controller_pixfuture.error.send(FATAL_ERROR,"Prebid render failed",JSON.stringify({data:e})),console.warn("Prebid render failed")}),pbjs_pix.onEvent("bidderError",function({error:e,bidderRequest:t}){display_controller_pixfuture.error.send(FATAL_ERROR,"A bidder responded with an error",JSON.stringify({data:e})),console.warn("A bidder responded with an error")}),pbjs_pix.que.push(function(){var c={maxRequestsPerOrigin:6,userSync:{filterSettings:{iframe:{bidders:"*",filter:"include"}},userIds:[o,{name:"id5Id",params:{partner:529,pd:"undefined"==typeof n.email?"":btoa("1="+n.email.sha256)},storage:{type:"html5",name:"id5id",expires:90,refreshInSeconds:28800}},{name:"identityLink",params:{pid:"c2d18b01-4905-4aba-a83e-e41eac932694"},storage:{type:"cookie",name:"idl_env",expires:30}},{name:"unifiedId",params:{partner:"yoni5uv"},storage:{type:"cookie",name:"pbjs-unifiedid",expires:60}},{name:"pubCommonId",params:{enableSharedId:!0},storage:{type:"cookie",name:"_pubcid",expires:180}},{name:"criteo"},{name:"sharedId",params:{syncTime:60},storage:{type:"html5",name:"sharedid",expires:28}},{name:"flocId",params:{token:"A3dHTSoNUMjjERBLlrvJSelNnwWUCwVQhZ5tNQ+sll7y+LkPPVZXtB77u2y7CweRIxiYaGwGXNlW1/dFp8VMEgIAAAB+eyJvcmlnaW4iOiJodHRwczovL3NoYXJlZGlkLm9yZzo0NDMiLCJmZWF0dXJlIjoiSW50ZXJlc3RDb2hvcnRBUEkiLCJleHBpcnkiOjE2MjYyMjA3OTksImlzU3ViZG9tYWluIjp0cnVlLCJpc1RoaXJkUGFydHkiOnRydWV9"}}],syncsPerBidder:0,auctionDelay:100,syncDelay:1e3},schain:{validation:"strict",config:{ver:"1.0",complete:1,nodes:[{asi:"pixfuture.com",sid:i,hp:1}]}},pubcid:{expInterval:525600},ortb2:r,priceGranularity:"high"};if(t&&(c.s2sConfig=t),display_controller_pixfuture.getCMP_Flag()?c.consentManagement={gdpr:{cmpApi:"iab",timeout:864e7},usp:{timeout:500}}:console.warn("CMP IS NOT FOUND!!!"),pbjs_pix.setConfig(c),a){var p={};for(var m in a){var g={bidCpmAdjustment:function(e){return e*a[m]}};({})[m]=g,p[m]=g}pbjs_pix.bidderSettings=p}var f=[];l[0].bids.forEach(e=>f.push(e.bidder)),s.setReqBidders(f),f.includes("oftmedia")&&pbjs_pix.setBidderConfig({bidders:["oftmedia"],config:{schain:{validation:"relaxed",config:{ver:"1.0",complete:1,nodes:[{asi:"152media.info",sid:"152M398",hp:1}]}}}}),pbjs_pix.requestBids({adUnits:l,bidsBackHandler:function(t){try{let d="undefined"==typeof t[e]?[]:t[e].bids;if(s.display_manager.setPrebidTags(d),s.display_manager.setDisplayTag(s),s.display_manager.initRender(),!1===display_controller_pixfuture.scriptLoaderBusy&&(display_controller_pixfuture.scriptLoaderBusy=!0,"undefined"==typeof pxft_first_init_iel_activated)){var i=document.createElement("script");i.src="https://cdn.pixfuture.com/pxft_iel.js",document.getElementsByTagName("head")[0].appendChild(i);var a=document.createElement("script");a.src="//get.s-onetag.com/6a105cf8-5d47-4e0a-8c4b-7c60422256d2/tag.min.js",a.defer=!0,a.async=!0,document.getElementsByTagName("head")[0].appendChild(a)}}catch(t){console.log(t)}},timeout:parseInt(d)})}),display_controller_pixfuture.adjustUserData()}}class Manage_Display_Ad_PF{constructor(){let e=this;this.ad_params={},this.googleIsAllow=!1;var t=function(){function t(t){if("undefined"!=typeof t.responseTimestamp&&"native"!=e.mediaType){let e=new Date().valueOf(),i=t.ttl,a=e-t.responseTimestamp;if(a>1e3*i)return!0}return!1}function i(i){return t(i)?(e.adId="",!1):(e.adId=i.adId,e.ttl=i.ttl,e.responseTimestamp=i.responseTimestamp,!0)}function a(t,a){if(t==DIRECT_DEAL_KEY){let{device:e}=this,t=function(){let e=!1;return function(t){(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(t)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(t.substr(0,4)))&&(e=!0)}(navigator.userAgent||navigator.vendor||window.opera),e}();if(-1!=+e&&(0==+e&&!t||1==+e&&t))return!1}let s=e.adCollection[t].cpm,d=a?e.adCollection[a].cpm:0;return s>e.ad_params.settings.cpm_floor&&s>=d&&i(e.adCollection[t])}function s(t,i,a,s,d,n,r,o){let l=new Date().getTime()/1e3,c={};c.bidderCode=t,c.ad=i,c.mediaType=a,c.cpm=s,c.adId=d,c.ttl="undefined"==typeof r||isNaN(r)?0:r,c.ttl_exp=Math.round(l+(c.ttl-5)),c.external_passback=!0,null!=n&&(c.assets=n);let p=new Date().valueOf();p-o<1e3*c.ttl&&e.adCollection[EXTP_KEY].stock.push(c)}function d(){let t=e.adCollection[EXTP_KEY].permission?e.adCollection[EXTP_KEY].cpm:0,a=e.ad_params.settings.cpm_floor,s=e.adCollection[PREBID_KEY].cpm>a?e.adCollection[PREBID_KEY].cpm:0;a=e.adCollection[EXTP_KEY].permission?0:a;let d=s||t||a||0,n=e.adCollection[INTERNAL_KEY].granularity;if(null==n||0==n.length)return;let r,o,l=0,c=0,p=1/0;for(r=0;r<n.length&&(o=n[r],l=Math.abs(d-o),l<p);r++)p=l,c=r;c=n[c]!=d&&0!=d&&n[c]<d?n[c+1]?++c:c:c;let m=n[c];e.adCollection[INTERNAL_KEY].tag=1>m&&.031!=m?"gam-bidding-"+m.toFixed(2):"gam-bidding-"+m,e.adCollection[INTERNAL_KEY].cpm=m}return{prebidPreRender:function(e,t){return a(e,t)},profitValidation:a,googlePreRender:function(){if(!1===e.googleIsAllow)return!1;if(0==this.granularity.length)return!1;d();try{let t="/"+this.gam_network_id+"/"+this.tag,i=parseInt(e.ad_params.width),a=parseInt(e.ad_params.height),s=display_controller_pixfuture.getAvailableSizes(e.ad_params.slotId,i,a),d=e.ad_params.slotId+"_google";display_controller_pixfuture.googleSlots[d]={},pxft_googletag.cmd.push(function(){pxft_googletag.pubads().disableInitialLoad();let e=pxft_googletag.defineSlot(t,s,d).addService(pxft_googletag.pubads());display_controller_pixfuture.googleSlots[d].slot=e,display_controller_pixfuture.googleSlots[d].sizes=s,pxft_googletag.enableServices()})}catch(t){display_controller_pixfuture.error.send(BASE_ERROR,`Google preRender ad error!`,JSON.stringify({site:window.location.href,error:t}))}return!0},cachePrebid:function(e){this.stock=[];const{bidderCode:t,ad:i,mediaType:a,cpm:d,adId:n,native:r,ttl:o,responseTimestamp:l}=e[0];this.bidderCode=t,this.tag=i,this.mediaType=a,this.cpm=d,this.adId=n,this.native=r,this.ttl=o,this.responseTimestamp=l,e.forEach(function(e){s(e.bidderCode,e.ad,e.mediaType,e.cpm,e.adId,e.native,e.ttl,e.responseTimestamp)})},googleRefresh:function(t=!1){this.cpm=0,this.stock=[],this.tag="gam-bidding-0.02";let i=e.ad_params.slotId+"_google";display_controller_pixfuture.googleSlots[i].promise=null,t||pxft_googletag.destroySlots([display_controller_pixfuture.googleSlots[i].slot])},postInit:function(t){let i=e.adCollection[t].tag,a=e.adCollection[t].cpm;return display_controller_pixfuture.displayAd(e.ad_params,e.ad_params.slotId,i,e.ad_params.width,e.ad_params.height),Display_Events.getInstance().add(e.ad_params.slotId,EVENT_AD_RENDERED,{affiliateId:e.ad_params.affiliateid,bidderType:t}),e.ad_params.setWinnerInfo({bidder:t,cpm:a,mediaType:"banner"}),!0},postInitInternal:async function(){let t,i=e.ad_params.slotId+"_google",a=!1;try{a=await new Promise((a,s)=>{display_controller_pixfuture.googleSlots[i].promise=a,t=setTimeout(()=>{s(`GAM has no response during ${STATUS_MAX_DELAY_SECOND}s session\nStopped on init`)},10000),pxft_googletag.cmd.push(function(){pxft_googletag.display(i),pxft_googletag.pubads().refresh([display_controller_pixfuture.googleSlots[i].slot])}),Display_Events.getInstance().add(e.ad_params.slotId,EVENT_AD_RENDERED,{affiliateId:e.ad_params.affiliateid,bidderType:INTERNAL_KEY})}).then(e=>(clearTimeout(t),e)).catch(function(t){return console.warn(t),!1})}catch(t){display_controller_pixfuture.error.send(BASE_ERROR,`Google post init ad error!`,JSON.stringify({site:window.location.href,error:t}))}return a&&e.ad_params.impToggle(),this.refresh(a),a},postInitDirect:function(){let{id:t}=this;if(display_controller_pixfuture.displayAd(e.ad_params,e.ad_params.slotId,this.tag,e.ad_params.width,e.ad_params.height),Display_Events.getInstance().add(e.ad_params.slotId,EVENT_AD_RENDERED,{affiliateId:e.ad_params.affiliateid,bidderType:DIRECT_DEAL_KEY}),e.customStyleSizes[e.width+"x"+e.height]){let t=document.getElementById(e.ad_params.slotId+"_iframe");t.style.borderRadius="8px"}return e.ad_params.impToggle(),e.ad_params.setForViewListener(),e.ad_params.setWinnerInfo({bidder:"direct-deals-"+t,cpm:this.cpm,mediaType:"banner"}),!0},postInitPrebid:function(){let i=t(e);if(i)return!1;let a=e.ad_params.width,s=e.ad_params.height,d=this.bidderCode;if("native"==this.mediaType){d+="_native";let t=display_controller_pixfuture.createNative(this.assets,a,s);display_controller_pixfuture.displayAd(e.ad_params,e.ad_params.slotId,t,a,s),Display_Events.getInstance().add(e.ad_params.slotId,EVENT_AD_RENDERED,{affiliateId:e.ad_params.affiliateid,bidderType:PREBID_KEY})}else{let t=pbjs_pix.getAllValidAdIds(),i=!1;if(this.adId&&t.includes(this.adId)&&(i=!0),!i){let t=this;return e.adCollection[EXTP_KEY].stock=e.adCollection[EXTP_KEY].stock.filter(function(e){return e.adId!=t.adId}),!1}display_controller_pixfuture.displayAd(e.ad_params,e.ad_params.slotId,this.tag,a,s,this.adId),Display_Events.getInstance().add(e.ad_params.slotId,EVENT_AD_RENDERED,{affiliateId:e.ad_params.affiliateid,bidderType:PREBID_KEY})}return e.adCollection[EXTP_KEY].permission&&e.adCollection[EXTP_KEY].stock.shift(),this.permission?d="extp_"+d:(e.ad_params.impToggle(),e.ad_params.setForViewListener()),e.ad_params.setWinnerInfo({bidder:d,cpm:this.cpm,mediaType:this.mediaType}),!0},limitValidation:async function(){let{id:e}=this;const t=await fetch("https://served-by.pixfuture.com/www/delivery/direct_decrement.php",{method:"POST",body:JSON.stringify({id:e})});return await t.json()}}}();this.AdActions=t,this.customStyleSizes={"300x600":"<style> html {height:100%;} body { background-color: #000; display:flex; align-items: center; justify-content: center; height: 100%;}</style>","970x250":"<style> html {height:100%;} body { background-color: #000;} #pxft-widget { max-width: 300px; max-height: 250px;}</style>"},this.adCollection={[DIRECT_DEAL_KEY]:{cpm:0,id:0,affId:0,widId:0,tag:"",device:-1,isAllowed:t.profitValidation,postInit:t.postInitDirect,isOverLimit:t.limitValidation},[INTERNAL_KEY]:{cpm:0,gam_network_id:"330713950",tag:"gam-bidding-0.02",stock:[],granularity:[.02,.031,.04,.05,.06,.07,.08,.09,.1,.11,.12,.13,.14,.15,.16,.17,.18,.19,.2,.22,.24,.26,.28,.3,.32,.34,.36,.38,.4,.42,.44,.46,.48,.5,.55,.6,.65,.7,.75,.8,.85,.9,.95,1,1.1,1.2,1.3,1.4,1.5,1.6,1.7,1.8,1.9,2,2.1,2.2,2.3,2.4,2.5,2.6,2.7,2.8,2.9,3,3.1,3.2,3.3,3.4,3.5,3.6,3.7,3.8,3.9,4,4.2,4.4,4.6,4.8,5,5.5,6,6.5,7],isAllowed:t.googlePreRender,refresh:t.googleRefresh,postInit:t.postInitInternal},[PREBID_KEY]:{cpm:0,adId:"",bidderCode:"",mediaType:"",tag:"",native:"",assets:"",bidders_req:[],isAllowed:t.prebidPreRender,postInit:t.postInitPrebid},[EXTP_KEY]:{cpm:0,tag:"",adId:"",bidderCode:"",mediaType:"",native:"",assets:"",ttl:"",permission:!0,stock:[],cachePrebid:t.cachePrebid,isAllowed:()=>!0,postInit:t.postInitPrebid},[PASSBACK_KEY]:{cpm:0,tag:"",isAllowed:()=>!0,postInit:()=>t.postInit(PASSBACK_KEY)},[PIXFUTURE_BANNER_KEY]:{cpm:0,tag:"",isAllowed:()=>!0,postInit:()=>t.postInit(PIXFUTURE_BANNER_KEY)}}}setGoogleIsAllow(e){this.googleIsAllow=e}async initRender(){let e=await this.kingOfTheAds();this.ad_params.last_winner=e,Display_Events.getInstance().add(this.ad_params.slotId,EVENT_END_AUCTION,{affiliateId:this.ad_params.affiliateid,winnerType:e})}setPrebidTags(e){var t=this.adCollection[EXTP_KEY].stock,i=this.getHighestBids(e.concat(t));let a=this.adCollection[EXTP_KEY];if(0<i.length){var s=i[0];this.setPrebidInfo(s.bidderCode,s.ad,s.mediaType,s.cpm,s.adId,s.native,s.ttl,s.responseTimestamp),a.permission&&a.cachePrebid(i)}}async kingOfTheAds(){const e=e=>""!=e.tag||e.stock&&e.stock[0]&&""!=e.stock[0].tag;let t,a=Object.keys(this.adCollection).filter(t=>e(this.adCollection[t])),s=a.length,d=PIXFUTURE_BANNER_KEY;for(t=0;s>t;t++){let e=a[t],i=a[t+1],s="undefined"==typeof this.adCollection[e]?"undefined"==typeof this.adCollection[d]?null:d:e;if(null!==s){let t=this.adCollection[s],a=t.isAllowed(e,i);if(a){if("undefined"!=typeof t.isOverLimit){let e=await t.isOverLimit(),i=e.overLimit??!0,a=e.timestamp??0,d=+(Date.now()+"").slice(0,10),n=Math.abs(d-+a);if(!0===i||n>8){this.adCollection[s].cpm=0;continue}}let i=await t.postInit();if(i){d=e;break}}}}return d}getHighestBids(e){let t=[];return e.forEach(function(e){0>=e.cpm||e.external_passback&&e.ttl_exp<new Date().getTime()/1e3||t.push(e)}),t.sort(function(e,t){return t.cpm-e.cpm}),t}setAdInfo(e,t){this.adCollection[e].cpm=t.cpm||0,this.adCollection[e].tag=t.tag||""}setSizes(e,t){this.width=e,this.height=t}setDirectDeal(e){const{cpm:t,id:i,affid:a,widid:s,device:d}=e;if(!i||!a||!s)return;this.adCollection[DIRECT_DEAL_KEY].cpm=t||0,this.adCollection[DIRECT_DEAL_KEY].id=i||0,this.adCollection[DIRECT_DEAL_KEY].affId=a||0,this.adCollection[DIRECT_DEAL_KEY].widId=s||0,this.adCollection[DIRECT_DEAL_KEY].device=isNaN(d)||""===d?-1:d;let n=this.customStyleSizes[this.width+"x"+this.height],r=n?n:"",o=display_controller_pixfuture.createGoStoryDeal(e.affid,e.widid,r);this.adCollection[DIRECT_DEAL_KEY].tag=o}setPrebidInfo(e,t,i,a,s,d,n,r){this.adCollection[PREBID_KEY].bidderCode=e,this.adCollection[PREBID_KEY].adId=s,this.adCollection[PREBID_KEY].cpm=a,this.adCollection[PREBID_KEY].tag=t,this.adCollection[PREBID_KEY].mediaType=i,this.adCollection[PREBID_KEY].ttl=n,this.adCollection[PREBID_KEY].responseTimestamp=r,null!=d&&(this.adCollection[PREBID_KEY].assets=d)}setDisplayTag(e){this.ad_params=e}}const display_controller_pixfuture=new Display_Controller_PF;display_controller_pixfuture.setKeywords(),display_controller_pixfuture.css(),display_controller_pixfuture.adjustUserData();function findCMP_PixFuture(){let e=window;var t;let i;for(;!t;){try{if("function"==typeof e.__tcfapi||"function"==typeof e.__cmp){"function"==typeof e.__tcfapi?(cmpVersion=2,i=e.__tcfapi):(cmpVersion=1,i=e.__cmp),t=e;break}}catch(t){}try{if(e.frames.__tcfapiLocator){cmpVersion=2,t=e;break}}catch(t){}try{if(e.frames.__cmpLocator){cmpVersion=1,t=e;break}}catch(t){}if(e===window.top)break;e=e.parent}display_controller_pixfuture.setCMP_Flag(t,i)}findCMP_PixFuture();