More
    HomeHorror'Evil Dead: The Game' Free on Epic Games Store November

    ‘Evil Dead: The Game’ Free on Epic Games Store November

    []
    {this.persisted=e.persisted})),window.addEventListener(“DOMContentLoaded”,(()=>{this._preconnect3rdParties()})),this.delayedScripts={normal:[],async:[],defer:[]},this.allJQueries=[]}_addUserInteractionListener(e){document.hidden?e._triggerListener():(this.triggerEvents.forEach((t=>window.addEventListener(t,e.userEventHandler,{passive:!0}))),window.addEventListener(“touchstart”,e.touchStartHandler,{passive:!0}),window.addEventListener(“mousedown”,e.touchStartHandler),document.addEventListener(“visibilitychange”,e.userEventHandler))}_removeUserInteractionListener(){this.triggerEvents.forEach((e=>window.removeEventListener(e,this.userEventHandler,{passive:!0}))),document.removeEventListener(“visibilitychange”,this.userEventHandler)}_onTouchStart(e){“HTML”!==e.target.tagName&&(window.addEventListener(“touchend”,this.touchEndHandler),window.addEventListener(“mouseup”,this.touchEndHandler),window.addEventListener(“touchmove”,this.touchMoveHandler,{passive:!0}),window.addEventListener(“mousemove”,this.touchMoveHandler),e.target.addEventListener(“click”,this.clickHandler),this._renameDOMAttribute(e.target,”onclick”,”rocket-onclick”))}_onTouchMove(e){window.removeEventListener(“touchend”,this.touchEndHandler),window.removeEventListener(“mouseup”,this.touchEndHandler),window.removeEventListener(“touchmove”,this.touchMoveHandler,{passive:!0}),window.removeEventListener(“mousemove”,this.touchMoveHandler),e.target.removeEventListener(“click”,this.clickHandler),this._renameDOMAttribute(e.target,”rocket-onclick”,”onclick”)}_onTouchEnd(e){window.removeEventListener(“touchend”,this.touchEndHandler),window.removeEventListener(“mouseup”,this.touchEndHandler),window.removeEventListener(“touchmove”,this.touchMoveHandler,{passive:!0}),window.removeEventListener(“mousemove”,this.touchMoveHandler)}_onClick(e){e.target.removeEventListener(“click”,this.clickHandler),this._renameDOMAttribute(e.target,”rocket-onclick”,”onclick”),this.interceptedClicks.push(e),e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation()}_replayClicks(){window.removeEventListener(“touchstart”,this.touchStartHandler,{passive:!0}),window.removeEventListener(“mousedown”,this.touchStartHandler),this.interceptedClicks.forEach((e=>{e.target.dispatchEvent(new MouseEvent(“click”,{view:e.view,bubbles:!0,cancelable:!0}))}))}_renameDOMAttribute(e,t,n){e.hasAttribute&&e.hasAttribute(t)&&(event.target.setAttribute(n,event.target.getAttribute(t)),event.target.removeAttribute(t))}_triggerListener(){this._removeUserInteractionListener(this),”loading”===document.readyState?document.addEventListener(“DOMContentLoaded”,this._loadEverythingNow.bind(this)):this._loadEverythingNow()}_preconnect3rdParties(){let e=[];document.querySelectorAll(“script[type=rocketlazyloadscript]”).forEach((t=>{if(t.hasAttribute(“src”)){const n=new URL(t.src).origin;n!==location.origin&&e.push({src:n,crossOrigin:t.crossOrigin||”module”===t.getAttribute(“data-rocket-type”)})}})),e=[…new Map(e.map((e=>[JSON.stringify(e),e]))).values()],this._batchInjectResourceHints(e,”preconnect”)}async _loadEverythingNow(){this.lastBreath=Date.now(),this._delayEventListeners(),this._delayJQueryReady(this),this._handleDocumentWrite(),this._registerAllDelayedScripts(),this._preloadAllScripts(),await this._loadScriptsFromList(this.delayedScripts.normal),await this._loadScriptsFromList(this.delayedScripts.defer),await this._loadScriptsFromList(this.delayedScripts.async);try{await this._triggerDOMContentLoaded(),await this._triggerWindowLoad()}catch(e){}window.dispatchEvent(new Event(“rocket-allScriptsLoaded”)),this._replayClicks()}_registerAllDelayedScripts(){document.querySelectorAll(“script[type=rocketlazyloadscript]”).forEach((e=>{e.hasAttribute(“src”)?e.hasAttribute(“async”)&&!1!==e.async?this.delayedScripts.async.push(e):e.hasAttribute(“defer”)&&!1!==e.defer||”module”===e.getAttribute(“data-rocket-type”)?this.delayedScripts.defer.push(e):this.delayedScripts.normal.push(e):this.delayedScripts.normal.push(e)}))}async _transformScript(e){return await this._littleBreath(),new Promise((t=>{const n=document.createElement(“script”);[…e.attributes].forEach((e=>{let t=e.nodeName;”type”!==t&&(“data-rocket-type”===t&&(t=”type”),n.setAttribute(t,e.nodeValue))})),e.hasAttribute(“src”)?(n.addEventListener(“load”,t),n.addEventListener(“error”,t)):(n.text=e.text,t());try{e.parentNode.replaceChild(n,e)}catch(e){t()}}))}async _loadScriptsFromList(e){const t=e.shift();return t?(await this._transformScript(t),this._loadScriptsFromList(e)):Promise.resolve()}_preloadAllScripts(){this._batchInjectResourceHints([…this.delayedScripts.normal,…this.delayedScripts.defer,…this.delayedScripts.async],”preload”)}_batchInjectResourceHints(e,t){var n=document.createDocumentFragment();e.forEach((e=>{if(e.src){const i=document.createElement(“link”);i.href=e.src,i.rel=t,”preconnect”!==t&&(i.as=”script”),e.getAttribute&&”module”===e.getAttribute(“data-rocket-type”)&&(i.crossOrigin=!0),e.crossOrigin&&(i.crossOrigin=e.crossOrigin),n.appendChild(i)}})),document.head.appendChild(n)}_delayEventListeners(){let e={};function t(t,n){!function(t){function n(n){return e[t].eventsToRewrite.indexOf(n)>=0?”rocket-“+n:n}e[t]||(e[t]={originalFunctions:{add:t.addEventListener,remove:t.removeEventListener},eventsToRewrite:[]},t.addEventListener=function(){arguments[0]=n(arguments[0]),e[t].originalFunctions.add.apply(t,arguments)},t.removeEventListener=function(){arguments[0]=n(arguments[0]),e[t].originalFunctions.remove.apply(t,arguments)})}(t),e[t].eventsToRewrite.push(n)}function n(e,t){let n=e[t];Object.defineProperty(e,t,{get:()=>n||function(){},set(i){e[“rocket”+t]=n=i}})}t(document,”DOMContentLoaded”),t(window,”DOMContentLoaded”),t(window,”load”),t(window,”pageshow”),t(document,”readystatechange”),n(document,”onreadystatechange”),n(window,”onload”),n(window,”onpageshow”)}_delayJQueryReady(e){let t=window.jQuery;Object.defineProperty(window,”jQuery”,{get:()=>t,set(n){if(n&&n.fn&&!e.allJQueries.includes(n)){n.fn.ready=n.fn.init.prototype.ready=function(t){e.domReadyFired?t.bind(document)(n):document.addEventListener(“rocket-DOMContentLoaded”,(()=>t.bind(document)(n)))};const t=n.fn.on;n.fn.on=n.fn.init.prototype.on=function(){if(this[0]===window){function e(e){return e.split(” “).map((e=>”load”===e||0===e.indexOf(“load.”)?”rocket-jquery-load”:e)).join(” “)}”string”==typeof arguments[0]||arguments[0]instanceof String?arguments[0]=e(arguments[0]):”object”==typeof arguments[0]&&Object.keys(arguments[0]).forEach((t=>{delete Object.assign(arguments[0],{[e(t)]:arguments[0][t]})[t]}))}return t.apply(this,arguments),this},e.allJQueries.push(n)}t=n}})}async _triggerDOMContentLoaded(){this.domReadyFired=!0,await this._littleBreath(),document.dispatchEvent(new Event(“rocket-DOMContentLoaded”)),await this._littleBreath(),window.dispatchEvent(new Event(“rocket-DOMContentLoaded”)),await this._littleBreath(),document.dispatchEvent(new Event(“rocket-readystatechange”)),await this._littleBreath(),document.rocketonreadystatechange&&document.rocketonreadystatechange()}async _triggerWindowLoad(){await this._littleBreath(),window.dispatchEvent(new Event(“rocket-load”)),await this._littleBreath(),window.rocketonload&&window.rocketonload(),await this._littleBreath(),this.allJQueries.forEach((e=>e(window).trigger(“rocket-jquery-load”))),await this._littleBreath();const e=new Event(“rocket-pageshow”);e.persisted=this.persisted,window.dispatchEvent(e),await this._littleBreath(),window.rocketonpageshow&&window.rocketonpageshow({persisted:this.persisted})}_handleDocumentWrite(){const e=new Map;document.write=document.writeln=function(t){const n=document.currentScript,i=document.createRange(),r=n.parentElement;let o=e.get(n);void 0===o&&(o=n.nextSibling,e.set(n,o));const s=document.createDocumentFragment();i.setStart(s,0),s.appendChild(i.createContextualFragment(t)),r.insertBefore(s,o)}}async _littleBreath(){Date.now()-this.lastBreath>45&&(await this._requestAnimFrame(),this.lastBreath=Date.now())}async _requestAnimFrame(){return document.hidden?new Promise((e=>setTimeout(e))):new Promise((e=>requestAnimationFrame(e)))}static run(){const e=new RocketLazyLoadScripts;e._addUserInteractionListener(e)}}RocketLazyLoadScripts.run();]]> .mvp-blog-story-wrap”,”skip”:0,”classNames”:[],”position”:”afterend”,”every”:1,”enabled”:true},”adSizes”:[[728,90],[336,280],[320,50],[468,60],[970,90],[250,250],[1,1],[320,100],[970,250],[1,2],[300,50],[300,300],[552,334],[728,250],[300,250]],”priority”:199,”autosize”:true},{“sequence”:null,”targeting”:[{“value”:[“Content”],”key”:”location”}],”devices”:[“desktop”],”name”:”Content”,”sticky”:false,”location”:”Content”,”dynamic”:{“pageSelector”:”body.single, body.page:not(.home)”,”spacing”:0.85,”max”:1,”lazy”:true,”lazyMax”:98,”elementSelector”:”#mvp-content-main > *:not(h2):not(h3):not(.wp-block-image) + *:not(.wp-block-image):not(.wp-block-embed-youtube):not(.instagram-media), .mvp-post-add-story”,”skip”:3,”classNames”:[],”position”:”beforebegin”,”every”:1,”enabled”:true},”adSizes”:[[728,90],[336,280],[320,50],[468,60],[970,90],[250,250],[1,1],[320,100],[970,250],[1,2],[300,50],[300,300],[552,334],[728,250],[300,250]],”priority”:199,”autosize”:true},{“sequence”:null,”targeting”:[{“value”:[“Content”],”key”:”location”}],”devices”:[“tablet”,”phone”],”name”:”Content”,”sticky”:false,”location”:”Content”,”dynamic”:{“pageSelector”:”body.single, body.page:not(.home)”,”spacing”:0.85,”max”:2,”lazy”:true,”lazyMax”:97,”elementSelector”:”#mvp-content-main > *:not(h2):not(h3):not(.wp-block-image) + *:not(.wp-block-image):not(.wp-block-embed-youtube):not(.instagram-media), .mvp-post-add-story”,”skip”:3,”classNames”:[],”position”:”beforebegin”,”every”:1,”enabled”:true},”adSizes”:[[728,90],[336,280],[320,50],[468,60],[970,90],[250,250],[1,1],[320,100],[970,250],[1,2],[300,50],[300,300],[552,334],[728,250],[300,250]],”priority”:199,”autosize”:true},{“sequence”:null,”targeting”:[{“value”:[“Below Post”],”key”:”location”}],”devices”:[“desktop”,”tablet”,”phone”],”name”:”Below_Post”,”sticky”:false,”location”:”Below Post”,”dynamic”:{“pageSelector”:””,”spacing”:0,”max”:0,”lazy”:true,”lazyMax”:1,”elementSelector”:”#mvp-related-posts”,”skip”:0,”classNames”:[],”position”:”beforebegin”,”every”:1,”enabled”:true},”adSizes”:[[728,90],[336,280],[320,50],[468,60],[250,250],[1,1],[320,100],[300,250],[970,250],[728,250]],”priority”:99,”autosize”:true},{“sequence”:null,”targeting”:[{“value”:[“Footer”],”key”:”location”},{“value”:true,”key”:”sticky”}],”devices”:[“desktop”,”phone”,”tablet”],”name”:”Footer”,”sticky”:true,”location”:”Footer”,”dynamic”:{“pageSelector”:””,”spacing”:0,”max”:1,”lazy”:false,”lazyMax”:null,”elementSelector”:”body”,”skip”:0,”classNames”:[],”position”:”beforeend”,”every”:1,”enabled”:true},”adSizes”:[[320,50],[320,100],[728,90],[970,90],[468,60],[1,1],[300,50]],”priority”:-1,”autosize”:true}],”adDensityLayout”:{“mobile”:{“adDensity”:0.25,”onePerViewport”:false},”pageOverrides”:[],”desktop”:{“adDensity”:0.22,”onePerViewport”:false}},”adDensityEnabled”:true,”siteExperiments”:[],”adTypes”:{“nativeMobileRecipe”:true,”expandableFooter”:true,”nativeDesktopSidebar”:true,”nativeDesktopContent”:true,”outstreamDesktop”:true,”interscroller”:false,”miniscroller”:true,”nativeDesktopRecipe”:true,”outstreamMobile”:true,”animatedFooter”:true,”nativeMobileContent”:true},”adOptions”:{“theTradeDesk”:true,”verizon”:true,”undertone”:true,”footerCloseButton”:true,”teads”:true,”pmp”:false,”thirtyThreeAcross”:true,”sharethrough”:true,”removeVideoTitleWrapper”:true,”pubMatic”:true,”roundel”:true,”infiniteScroll”:false,”yahoossp”:true,”sonobi”:true,”yieldmo”:true,”footerSelector”:””,”amazonUAM”:true,”gamMCMEnabled”:true,”gamMCMChildNetworkCode”:”22515929979″,”stickyContainerAds”:true,”rubicon”:true,”conversant”:false,”openx”:true,”mobileHeaderHeight”:1,”unruly”:true,”mediaGrid”:true,”bRealTime”:true,”gumgum”:true,”comscoreFooter”:true,”desktopInterstitial”:true,”footerCloseButtonDesktop”:false,”isAutoOptimized”:false,”comscoreTAL”:true,”brightroll”:true,”targetaff”:false,”advancePlaylistOptions”:{“playlistPlayer”:{“enabled”:true},”relatedPlayer”:{“enabled”:true,”applyToFirst”:true}},”kargo”:true,”liveRampATS”:true,”footerCloseButtonMobile”:false,”allowSmallerAdSizes”:true,”comscore”:”General”,”mobileInterstitial”:true,”tripleLift”:true,”sensitiveCategories”:[“alcohol”,”astrology, black magic, esoteric”,”cbd”,”consumer loans”,”cosmetic procedures and body modification”,”dating”,”downloadable utilities”,”drugs and supplements”,”games, casinos”,”games, video, casual”,”get rich quick”,”politics”,”religion”,”sensationalism”,”sex and sexuality references”,”sexual and reproductive health”,”skin exposure”,”tobacco”,”weight loss”],”liveRamp”:true,”mobileInterstitialBlockedPageSelectors”:””,”adthriveEmailIdentity”:true,”criteo”:true,”nativo”:false,”infiniteScrollOptions”:{“selector”:””,”heightThreshold”:0},”clsOptimizedAds”:true,”colossus”:true,”verticals”:[“Entertainment”],”inImage”:false,”advancePlaylist”:true,”delayLoading”:false,”inImageZone”:null,”appNexus”:true,”liveRampId”:””,”infiniteScrollRefresh”:false,”indexExchange”:true},”videoPlayers”:{“contextual”:{“autoplayCollapsibleEnabled”:true,”overrideEmbedLocation”:false,”defaultPlayerType”:”collapse”},”videoEmbed”:”wordpress”,”footerSelector”:””,”players”:[{“playlistId”:”uPUllysa”,”pageSelector”:”body.single, body.page:not(.home)”,”devices”:[“desktop”],”description”:””,”skip”:0,”title”:””,”type”:”stickyPlaylist”,”enabled”:true,”elementSelector”:”#mvp-content-main > *:not(h2):not(h3)”,”id”:4079455,”position”:”afterend”,”saveVideoCloseState”:false,”shuffle”:false,”mobileHeaderSelector”:null,”playerId”:”XTBI11BL”},{“playlistId”:”uPUllysa”,”pageSelector”:”body.single, body.page:not(.home)”,”devices”:[“mobile”],”mobileLocation”:”top-center”,”description”:””,”skip”:0,”title”:””,”type”:”stickyPlaylist”,”enabled”:true,”elementSelector”:”#mvp-content-main > *:not(h2):not(h3)”,”id”:4079454,”position”:”afterend”,”saveVideoCloseState”:false,”shuffle”:false,”mobileHeaderSelector”:”#mvp-main-nav-top”,”playerId”:”XTBI11BL”},{“playlistId”:””,”pageSelector”:””,”devices”:[“mobile”,”desktop”],”mobileLocation”:null,”description”:””,”skip”:0,”title”:””,”type”:”stationaryRelated”,”enabled”:true,”elementSelector”:””,”id”:4079456,”position”:””,”saveVideoCloseState”:false,”shuffle”:false,”mobileHeaderSelector”:null,”playerId”:”XTBI11BL”},{“playlistId”:””,”pageSelector”:””,”devices”:[“desktop”],”description”:””,”skip”:0,”title”:””,”type”:”stickyRelated”,”enabled”:true,”elementSelector”:”#mvp-content-main > *:not(h2):not(h3)”,”id”:4079632,”position”:”afterend”,”saveVideoCloseState”:false,”shuffle”:false,”mobileHeaderSelector”:null,”playerId”:”XTBI11BL”},{“playlistId”:””,”pageSelector”:””,”devices”:[“mobile”],”mobileLocation”:”top-center”,”description”:””,”skip”:0,”title”:””,”type”:”stickyRelated”,”enabled”:true,”elementSelector”:”#mvp-content-main > *:not(h2):not(h3)”,”id”:4079633,”position”:”afterend”,”saveVideoCloseState”:false,”shuffle”:false,”mobileHeaderSelector”:”#mvp-main-nav-top”,”playerId”:”XTBI11BL”}],”partners”:{“roundel”:true,”yahoossp”:true,”criteo”:true,”unruly”:true,”mediaGrid”:true,”gumgum”:true,”telaria”:true,”colossus”:true,”pmp”:true,”amazonUAM”:true,”kargo”:true,”thirtyThreeAcross”:true,”stickyOutstream”:{“allowOnHomepage”:true,”mobile”:{“enabled”:true},”desktop”:{“enabled”:true},”blockedPageSelectors”:””,”allowForPageWithStickyPlayer”:{“enabled”:true}},”sharethrough”:true,”rubicon”:true,”appNexus”:true,”conversant”:false,”tripleLift”:true,”openx”:true,”pubMatic”:true,”spotx”:true,”indexExchange”:true}}};]]> ‘Evil Dead: The Game’ Free on Epic Games Store November 17 iHorror iHorror

    iHorror

    ‘Evil Dead: The Game’ Free on Epic Games Store November 17

    Games

    Published

    2 weeks ago

    on

    November 14, 2022

    If you have been hesitant to jump in to slaughter hordes of deadites for some reason, now is your chance to change that. Evil Dead: The Game is going to be free in Epic Games Store for a limited time later this month. The awesome promotion will give players a free download of the base game.

    Evil Dead: The Game’s synopsis goes like this:

    Inspired by the iconic horror, humor and action of the Evil Dead franchise, Evil Dead: The Game brings the series’ biggest names together in a pulse-pounding battle with the forces of darkness. Work as a team of four Survivors to kick Deadite butt and banish the vile Kandarian Demon – or become the Demon yourself, using its powers of possession to stop the good guys dead and swallow their souls! Choose your squad with fan-favorite characters from every era in the series, and battle with a wide variety of weapons to survive the night in multiplayer and bonus single-player missions.

    You can grab your free base game copy of Evil Dead: The Game from November 17 – November 24 on the Epic Games Store.

    Games

    Published

    3 days ago

    on

    November 27, 2022 Board

    Trick or Treat Studios is now offering an awesome return to family board game nights. Texas Chainsaw Massacre is officially headed to an all-new board game experience. The game was designed by Scott Rogers, featuring illustrations by Terry Wolfinger. The experience mirrors that of the group that ran into the family in the first Texas Chainsaw Massacre film.

    The game places survivors who recently ran out of gas on the run from Leatherface and the family.

    The Texas Chainsaw Massacre board game description goes like this:

    The players’ van has run out of gas, leaving them stranded and at the mercy of the Slaughter family! Work together and push your luck to escape. In this cooperative game, all players win or lose as a group. Pull tokens from a gruesome bag to take actions – but be careful, pulling too many may antagonize the Slaughter family!

    In order to place your order head over to Trick or Treat Studios. The game is due to ship out beginning March 31.

    Board Board

    Games

    Published

    2 weeks ago

    on

    November 18, 2022 Devil

    The latest offering from The Dark Pictures Anthology arrives with the H.H. Holmes and Saw inspired, The Devil Inside Me. Previous anthology entries have included, Little Hope, Man of Medan and House of Ashes. Each has taken place in a very specific subgenre of horror. The Devil Inside Me looks to be the most brutal of the bunch.

    The synopsis for The Devil Inside Me goes like this:

    When a group of documentary film makers receive a mysterious call inviting them to a modern-day replica of HH Holmes’ “murder hotel”, they jump at the chance. Their rock-bottom viewing figures mean it is an opportunity that is too good to pass up and could be just the thing they are looking for to win some much-needed public interest. The hotel is the perfect set for their new episode, but things are not quite as they seem. Once there, the crew discover they’re being watched and even manipulated as they encounter gruesome discoveries and murderous traps set for them by their host. Suddenly there is much more at stake than just their ratings!

    The Dark Pictures Anthology: The Devil Inside Me is out now via PlayStation 4, PlayStation 5, Xbox One, Xbox Series X|S, and PC via Steam.

    Games

    Published

    2 weeks ago

    on

    November 17, 2022 Trejo

    Machete actor Danny Trejo’s latest ad features him just wanting to play some games. The new commercial begins with a few publicists telling Trejo what they want him to explore. However, Trejo begins to become more and more upset as time goes on. Ultimately, he rage explodes and demands games.

    Trejo is excited about Flying Wild Hog’s Evil West. The new game mashes together a western with plenty of vampire lore.

    The official synopsis for Evil West goes like this:

    Jump right into fast-paced, over-the-top carnage in a vampire-infested Wild West. Eradicate bloodthirsty monstrosities in style with an overpowering arsenal of weapons and a lightning-fuelled punch, combining brutal melee and ranged combos to dominate visceral boss fights and encounters.

    Evil West is coming November 22 to PlayStation 5, PlayStation 4, Xbox Series X|S, Xbox One and PC.

    =0;l–)(o=e[l])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a}function l(e,t){if(“object”==typeof Reflect&&”function”==typeof Reflect.metadata)return Reflect.metadata(e,t)}function s(e){var t=”function”==typeof Symbol&&Symbol.iterator,n=t&&e[t],i=0;if(n)return n.call(e);if(e&&”number”==typeof e.length)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?”Object is not iterable.”:”Symbol.iterator is not defined.”)}function c(e,t){var n=”function”==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,o,r=n.call(e),a=[];try{for(;(void 0===t||t– >0)&&!(i=r.next()).done;)a.push(i.value)}catch(e){o={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return a}function d(e,t,n){if(n||2===arguments.length)for(var i,o=0,r=t.length;o=t;if(o&&!r)return n&&S(e,o.value),o.value}}catch(e){}return null},E=function(e){return null!=e&&!(“number”==typeof e&&isNaN(e))},A=function(e,t,n,i,o){var a;void 0===i&&(i=!0);var l=”abgroup”,s=P(l,n,i);if(null!==s){var c=s[e];if(E(c))return c}var d=t(),u=r(r({},s),((a={})[e]=d,a));return S(l,u),o&&o(),d};!function(e){e.Prebid=”prebid”,e.GAM=”gam”,e.Amazon=”amazon”,e.WebVitals=”webvitals”,e.Marmalade=”marmalade”,e.Floors=”floors”,e.CMP=”cmp”}(u||(u={})),function(e){e.prebidLoad=”prebidLoad”,e.amazonLoad=”amazonLoad”,e.gptLoad=”gptLoad”,e.rubiconFloors=”rubiconFloors”}(p||(p={})),function(e){e.Desktop=”desktop”,e.Mobile=”mobile”}(h||(h={})),function(e){e.Video_Collapse_Autoplay_SoundOff=”Video_Collapse_Autoplay_SoundOff”,e.Video_Individual_Autoplay_SOff=”Video_Individual_Autoplay_SOff”,e.Video_Coll_SOff_Smartphone=”Video_Coll_SOff_Smartphone”,e.Video_In_Post_ClicktoPlay_SoundOn=”Video_In-Post_ClicktoPlay_SoundOn”}(y||(y={})),function(e){e.StickySekindo=”stickySekindo”,e.StaticSekindo=”staticSekindo”,e.None=”none”}(f||(f={})),function(e){e.WEIGHTEDCHOICE=”weightedChoice”,e.BERNOULLITRIAL=”bernoulliTrial”}(m||(m={})),function(e){e.INTEGER=”integer”,e.FLOAT=”float”,e.BOOLEAN=”boolean”,e.STRING=”string”}(g||(g={})),function(e){e.DESKTOP=”desktop”,e.MOBILE=”mobile”,e.ALL=”all”}(v||(v={})),function(e){e.AdDensity=”addensity”,e.FooterCloseButton=”footerclose”,e.Interstitial=”interstitial”,e.RemoveVideoTitleWrapper=”removevideotitlewrapper”,e.StickyOutstream=”stickyoutstream”,e.StickyOutstreamOnStickyPlayer=”sospp”,e.VideoAdvancePlaylistRelatedPlayer=”videoadvanceplaylistrp”,e.MobileStickyPlayerPosition=”mspp”}(_||(_={}));var w=function(e,t,n){switch(t){case _.AdDensity:return function(e,t){var n=e.adDensityEnabled,i=e.adDensityLayout.pageOverrides.find((function(e){return!!document.querySelector(e.pageSelector)&&(e[t].onePerViewport||”number”==typeof e[t].adDensity)}));return!n||!i}(e,n);case _.StickyOutstream:return function(e){var t,n,i,o=null===(i=null===(n=null===(t=e.videoPlayers)||void 0===t?void 0:t.partners)||void 0===n?void 0:n.stickyOutstream)||void 0===i?void 0:i.blockedPageSelectors;return!o||!document.querySelector(o)}(e);case _.Interstitial:return function(e){var t=e.adOptions.interstitialBlockedPageSelectors||e.adOptions.mobileInterstitialBlockedPageSelectors;return!t||!document.querySelector(t)}(e);default:return!0}},C=function(){try{return Math.round(window.performance.now())}catch(e){return 0}},D=function(e){try{return{valid:!0,elements:document.querySelectorAll(e)}}catch(e){return r({valid:!1},e)}},O=function(e){return””===e?{valid:!0}:D(e)},x=function(){function e(){}return e.prototype.info=function(e,t){for(var n=[],i=2;i=e.dateStart,o=null==e.dateEnd||Date.now()0&&e.every((function(e){var t=e.value,n=e.weight;return!(null==t||”number”==typeof t&&isNaN(t)||!n)}))&&100===t}(e.variants);return c||k.error(“ValidateSiteExperiment”,”util”,”experiment presented invalid choices for key:”,e.key,e.variants),n&&i&&o&&r&&s&&c},I=[“siteId”,”siteName”,”adOptions”,”breakpoints”,”adUnits”],j=function(){function e(){this._clsGlobalData=window.adthriveCLS}return Object.defineProperty(e.prototype,”enabled”,{get:function(){return!!this._clsGlobalData&&!!this._clsGlobalData.siteAds&&function(e,t){if(void 0===t&&(t=I),!e)return!1;for(var n=0;nt.top+t.height/2&&t.top+t.height/2>0:window.innerHeight>t.top+t.height/2},e.playerVisible=function(e){var t=e.getBoundingClientRect();return window.innerHeight>t.top},e.createQueryString=function(e){return Object.keys(e).map((function(t){return””.concat(t,”=”).concat(e[t])})).join(“&”)},e.createEncodedQueryString=function(e){return Object.keys(e).map((function(t){return””.concat(t,”=”).concat(encodeURIComponent(e[t]))})).join(“&”)},e.setMobileLocation=function(e){return”top-left”===(e=e||”bottom-right”)?e=”adthrive-collapse-top-left”:”top-right”===e?e=”adthrive-collapse-top-right”:”bottom-left”===e?e=”adthrive-collapse-bottom-left”:”bottom-right”===e?e=”adthrive-collapse-bottom-right”:”top-center”===e&&(e=n()?”adthrive-collapse-top-center”:”adthrive-collapse-bottom-right”),e},e}(),R=function(t){this._clsOptions=t,this.removeVideoTitleWrapper=e(this._clsOptions.siteAds.adOptions.removeVideoTitleWrapper,!1);var n=this._clsOptions.siteAds.videoPlayers;this.footerSelector=e(n&&n.footerSelector,””),this.players=e(n&&n.players.map((function(e){return e.mobileLocation=L.setMobileLocation(e.mobileLocation),e})),[]),this.contextualSettings=n&&n.contextual},T=function(e){this.mobileStickyPlayerOnPage=!1,this.playlistPlayerAdded=!1,this.contextualPlayerAdded=!1,this.sekindoPlayerAdded=!1,this.footerSelector=””,this.removeVideoTitleWrapper=!1,this.videoAdOptions=new R(e),this.players=this.videoAdOptions.players,this.contextualSettings=this.videoAdOptions.contextualSettings,this.removeVideoTitleWrapper=this.videoAdOptions.removeVideoTitleWrapper,this.footerSelector=this.videoAdOptions.footerSelector},G=function(){},V=function(e){function t(t){var n=e.call(this)||this;return n._probability=t,n}return o(t,e),t.prototype.get=function(){if(this._probability<0||this._probability>1)throw new Error(“Invalid probability”);return Math.random()100&&i.result)}(n.location,e,t,i)})),devices:n.devices,pageSelector:e(n.dynamic.pageSelector,””).trim(),elementSelector:e(n.dynamic.elementSelector,””).trim(),position:e(n.dynamic.position,”beforebegin”),max:Math.floor(e(n.dynamic.max,0)),spacing:e(n.dynamic.spacing,0),skip:Math.floor(e(n.dynamic.skip,0)),every:Math.max(Math.floor(e(n.dynamic.every,1)),1),classNames:n.dynamic.classNames||[],sticky:”Footer”===n.location||n.sticky,stickyOverlapSelector:e(n.stickyOverlapSelector,””).trim(),autosize:n.autosize,special:e(n.targeting,[]).filter((function(e){return”special”===e.key})).reduce((function(e,t){return e.concat.apply(e,d([],c(t.value),!1))}),[]),lazy:e(n.dynamic.lazy,!1),lazyMax:e(n.dynamic.lazyMax,2),lazyMaxDefaulted:0!==n.dynamic.lazyMax&&!n.dynamic.lazyMax}}))},z=function(e,t){var n=function(e){var t=e.clientWidth;if(getComputedStyle){var n=getComputedStyle(e,null);t-=parseFloat(n.paddingLeft||”0″)+parseFloat(n.paddingRight||”0″)}return t}(t),i=e.sticky&&”Sidebar”===e.location;return e.sizes.filter((function(t){var o=!e.autosize||(t[0]<=n||t[0]<=320),r=!i||t[1] div {n flex-basis: unset;n position: sticky !important;n display: block;n flex-direction: column;n top: 5px;n }n ')},J=function(e){function t(t,n){void 0===t&&(t=[]);var i=e.call(this)||this;return i._choices=t,i._default=n,i}return o(t,e),t.fromArray=function(e,n){return new t(e.map((function(e){var t=c(e,2);return{choice:t[0],weight:t[1]}})),n)},t.prototype.addChoice=function(e,t){this._choices.push({choice:e,weight:t})},t.prototype.get=function(){var e,t,n,i,o=(n=0,i=100,Math.random()*(i-n)+n),r=0;try{for(var a=s(this._choices),l=a.next();!l.done;l=a.next()){var c=l.value,d=c.choice;if((r+=c.weight)>=o)return d}}catch(t){e={error:t}}finally{try{l&&!l.done&&(t=a.return)&&t.call(a)}finally{if(e)throw e.error}}return this._default},Object.defineProperty(t.prototype,”totalWeight”,{get:function(){return this._choices.reduce((function(e,t){return e+t.weight}),0)},enumerable:!1,configurable:!0}),t}(G),Q=function(e){return function(e){for(var t=5381,n=e.length;n;)t=33*t^e.charCodeAt(–n);return t>>>0}(e).toString(16)},Y=function(e,t,n,i,o,r){var a=Math.round(r-o),l=[],s=[];l.push(“(“,n.map((function(){return”%o”})).join(“, “),”)”),s.push.apply(s,d([],c(n),!1)),void 0!==i&&(l.push(” => %o”),s.push(i)),l.push(” %c(“.concat(a,”ms)”)),s.push(“color: #999;”)},X=function(e,t,n){var i=void 0!==n.get?n.get:n.value;return function(){for(var n=[],o=0;o=e?”tablet”:”phone”}(i,o),this._config=new q(e),this._clsOptions.enabledLocations=this._config.enabledLocations,this._clsAdDensitySiteExperiment=this._clsOptions.siteAds.siteExperiments?new te(this._clsOptions):null}return n.prototype.start=function(){var e,t,n=this;try{!function(e){var t=document.body,n=”adthrive-device-“.concat(e);if(!t.classList.contains(n))try{t.classList.add(n)}catch(e){k.error(“BodyDeviceClassComponent”,”init”,{message:e.message});var i=”classList”in document.createElement(“_”);k.error(“BodyDeviceClassComponent”,”init.support”,{support:i})}}(this._device);var i=B(this._device,this._clsOptions.siteAds.adUnits).filter((function(e){return n._locationEnabled(e)})).filter((function(e){return t=e,i=n._device,t.devices.includes(i);var t,i})).filter((function(e){return 0===(t=e).pageSelector.length||null!==document.querySelector(t.pageSelector);var t})),o=this.inject(i),r=new ne;(null===(t=null===(e=this._clsOptions.siteAds.adOptions.stickyContainerConfig)||void 0===e?void 0:e.content)||void 0===t?void 0:t.enabled)&&r.result&&K(),o.forEach((function(e){return n._clsOptions.setInjectedSlots(e)}))}catch(e){k.error(“ClsDynamicAdsInjector”,”start”,e)}},n.prototype.inject=function(t,n){void 0===n&&(n=document),this._densityDevice=”desktop”===this._device?h.Desktop:h.Mobile,this._overrideDefaultAdDensitySettingsWithSiteExperiment();var i=this._clsOptions.siteAds,o=e(i.adDensityEnabled,!0),r=i.adDensityLayout&&o,a=t.filter((function(e){return r?”Content”!==e.location:e})),l=t.filter((function(e){return r?”Content”===e.location:null}));return d(d([],c(a.length?this._injectNonDensitySlots(a,n):[]),!1),c(l.length?this._injectDensitySlots(l,n):[]),!1)},n.prototype._injectNonDensitySlots=function(e,n){var i,o,r=this;void 0===n&&(n=document);var a=[],l=[];try{for(var u=s(e),p=u.next();!p.done;p=u.next()){var h=p.value,y=0,f=0,m=0;h.spacing>0&&(y=window.innerHeight*h.spacing,f=y);var g=this._repeatDynamicAds(h),v=this.getElements(h.elementSelector,n);h.skip;for(var _=function(e){if(m+1>g.length)return”break”;var i=v[e];if(y>0){var o=t(i).bottom;if(o<=f)return"continue";f=o+y}var r=g[m],s="".concat(r.location,"_").concat(r.sequence);a.some((function(e){return e.name===s}))&&(m+=1);var u=b.getDynamicElementId(r),p="adthrive-".concat(h.location.replace("_","-").toLowerCase()),_=d([p,"".concat(p,"-").concat(h.sequence)],c(h.classNames),!1),S=b.addAd(i,u,h.position,_);if(S){var P=z(r,S);if(P.length){var E={clsDynamicAd:h,dynamicAd:r,element:S,sizes:P,name:s,infinite:n!==document};a.push(E),l.push({location:r.location,element:S}),"Recipe"===h.location&&++b._recipeCount,m+=1}i=S}},b=this,S=h.skip;S0?[u]:[]),!1)),!1));return this._pubLog={onePerViewport:a,targetDensity:r,targetDensityUnits:s,combinedMax:u},{onePerViewport:a,targetAll:l,targetDensityUnits:s,combinedMax:u,numberOfUnits:p}},n.prototype._determineOverrides=function(e){var t=this;return e.filter((function(e){var t=O(e.pageSelector);return""===e.pageSelector||t.elements&&t.elements.length})).map((function(e){return e[t._densityDevice]}))},n.prototype._shouldTargetAllEligible=function(e){return e===this._densityMax},n.prototype._getTargetDensityUnits=function(e,t){return t?this._totalAvailableElements.length:Math.floor(e*this._mainContentHeight/(1-e)/this._minDivHeight)-this._recipeCount},n.prototype._getCombinedMax=function(t,n){return void 0===n&&(n=document),e(t.filter((function(e){var t;try{t=n.querySelector(e.elementSelector)}catch(e){}return t})).map((function(e){return Number(e.max)+Number(e.lazyMaxDefaulted?0:e.lazyMax)})).sort((function(e,t){return t-e}))[0],0)},n.prototype._elementLargerThanMainContent=function(e){return e.offsetHeight>=this._mainContentHeight&&this._totalAvailableElements.length>1},n.prototype._elementDisplayNone=function(e){var t=window.getComputedStyle(e,null).display;return t&&”none”===t||”none”===e.style.display},n.prototype._isBelowMaxes=function(e,t){return this._adInjectionMap.map.lengthi?window.innerHeight:i},n.prototype._useWiderSpacing=function(e,t){return this._mainContentHeight/Math.min(e,t)},n.prototype._useSmallestSpacing=function(e){return e&&window.innerHeight>this._absoluteMinimumSpacingByDevice?window.innerHeight:this._absoluteMinimumSpacingByDevice},n.prototype._moreAvailableElementsThanUnitsToInject=function(e,t){return this._totalAvailableElements.length>e||this._totalAvailableElements.length>t},n.prototype._logDensityInfo=function(e,t,n){var i=this._pubLog;i.onePerViewport,i.targetDensity;i.targetDensityUnits;i.combinedMax,this._totalAvailableElements.length},n.prototype._checkElementSpacing=function(e){var t=e.dynamicAd,n=e.element,i=e.insertEvery,o=e.targetAll,a=e.target,l=void 0===a?document:a;(this._isFirstAdInjected()||this._hasProperSpacing(n,t,o,i))&&(++this._totalContentInserted,this._markSpotForContentAd(n,r({},t),l))},n.prototype._isFirstAdInjected=function(){return!this._adInjectionMap.map.length},n.prototype._markSpotForContentAd=function(e,t,n){void 0===n&&(n=document);var i=”beforebegin”===t.position||”afterbegin”===t.position;this._adInjectionMap.add(e,this._getElementCoords(e,i),t,n),this._adInjectionMap.sort()},n.prototype._hasProperSpacing=function(e,t,n,i){var o=”beforebegin”===t.position||”afterbegin”===t.position,r=”beforeend”===t.position||”afterbegin”===t.position,a=n||this._isElementFarEnoughFromOtherAdElements(e,i,o),l=r||this._isElementNotInRow(e,o),s=-1===e.id.indexOf(“AdThrive_”.concat(“Below_Post”));return a&&l&&s},n.prototype._isElementFarEnoughFromOtherAdElements=function(e,t,n){for(var i=this._getElementCoords(e,n),o=!1,r=0;ra&&(!l||i+te.offsetHeight?t:e}))||document.body},n.prototype._getElementsFromDynamicAdEntry=function(e,t){var n=this;void 0===t&&(t=document);var i=this._getLongestArticleTag(t),o=i?[i]:[],r=[];e.forEach((function(e){var i=Array.from(n.getElements(e.elementSelector,t)).slice(0,e.skip);n._getSelectors(e.elementSelector).forEach((function(a){for(var l=t.querySelectorAll(a),s=function(t){var a=l[t];if(n._adInjectionMap.map.some((function(e){return e.el.isEqualNode(a)})))return”continue”;var s=a&&a.parentElement;s&&s!==document.body?o.push(s):o.push(a),-1===i.indexOf(a)&&r.push({dynamicAd:e,element:a})},c=0;ce.offsetHeight?t:e}));return n&&n.offsetHeight>1.5*window.innerHeight?n:null},n.prototype._getSelectors=function(e){return e.includes(“,”)?e.split(“,”):[e]},n.prototype._getElementCoords=function(e,t){void 0===t&&(t=!1);var n=e.getBoundingClientRect();return(t?n.top:n.bottom)+window.scrollY},n.prototype._addContentAd=function(e,t,n){void 0===n&&(n=document);var i=null,o=”adthrive-“.concat(t.location.replace(“_”,”-“).toLowerCase()),r=””.concat(o,”-“).concat(t.sequence),a=this.addAd(e,this.getDynamicElementId(t),t.position,d([o,r],c(t.classNames),!1));if(a){var l=z(t,a);if(l.length)a.style.minHeight=this.locationToMinHeight[t.location],i={clsDynamicAd:t,dynamicAd:t,element:a,sizes:l,name:””.concat(t.location,”_”).concat(t.sequence),infinite:n!==document}}return i},n.prototype.getDynamicElementId=function(e){return””.concat(“AdThrive”,”_”).concat(e.location,”_”).concat(e.sequence,”_”).concat(this._device)},n.prototype.getElements=function(e,t){return void 0===t&&(t=document),t.querySelectorAll(e)},n.prototype.addAd=function(e,t,n,i){if(void 0===i&&(i=[]),!document.getElementById(t)){var o=’]]>’);e.insertAdjacentHTML(n,o)}return document.getElementById(t)},n.prototype._repeatDynamicAds=function(t){for(var n=[],i=t.lazy?e(this.locationMaxLazySequence.get(t.location),0):0,o=t.max,a=t.lazyMax,l=0===i&&t.lazy?o+a:Math.min(Math.max(i-t.sequence+1,0),o+a),s=Math.max(o,l),c=0;c=o;n.push(r(r({},t),{sequence:d,lazy:u}))}return n},n.prototype._locationEnabled=function(e){var t=this._clsOptions.enabledLocations.includes(e.location),n=this._clsOptions.disableAds&&this._clsOptions.disableAds.all||document.body.classList.contains(“adthrive-disable-all”),i=!document.body.classList.contains(“adthrive-disable-content”)&&!this._clsOptions.disableAds.reasons.has(“content_plugin”);return t&&!n&&i},n}(),re=function(e){function t(){var t=e.call(this)||this;return t.key=”sekho”,t._result=!1,t._choices=[{choice:!0},{choice:!1}],t._result=t.run(),t.setExperimentKey(),t}return o(t,e),Object.defineProperty(t.prototype,”result”,{get:function(){return this._result},enumerable:!1,configurable:!0}),t.prototype.run=function(){return new V(.05).get()},t}(H),ae=function(e){function t(t,n){var i=e.call(this,t,(new re).result,”ClsVideoInsertion”)||this;return i._videoConfig=t,i._clsOptions=n,i._IN_POST_SELECTOR=”.adthrive-video-player”,i._WRAPPER_BAR_HEIGHT=36,i._playersAddedFromPlugin=[],i}return o(t,e),t.prototype.init=function(){this._initializePlayers()},t.prototype._wrapJWPlayerWithCLS=function(e,t,n){if(void 0===n&&(n=0),e.parentNode){var i=e.offsetWidth*(9/16),o=this._createGenericCLSWrapper(i,t,n);return e.parentNode.insertBefore(o,e),o.appendChild(e),o}return null},t.prototype._createSekindoCLSWrapper=function(e,t){var n=this._getTitleHeight(document.createElement(“h4”));return this._createGenericCLSWrapper(e,t,n)},t.prototype._createGenericCLSWrapper=function(e,t,n){var i=document.createElement(“div”);return i.id=”cls-video-container-“.concat(t),i.className=”adthrive”,i.style.minHeight=””.concat(e+n,”px”),i},t.prototype._getTitleHeight=function(e){e.innerText=”Title”,e.style.visibility=”hidden”,document.body.appendChild(e);var t=window.getComputedStyle(e),n=parseInt(t.height,10),i=parseInt(t.marginTop,10),o=parseInt(t.marginBottom,10);return document.body.removeChild(e),Math.min(n+o+i,50)},t.prototype._initializePlayers=function(){var e=document.querySelectorAll(this._IN_POST_SELECTOR);e.length&&this._initializeRelatedPlayers(e),this._shouldRunAutoplayPlayers()&&this._determineAutoplayPlayers()},t.prototype._createStationaryRelatedPlayer=function(e,t){var n=”mobile”===this._device?[400,225]:[640,360],i=y.Video_In_Post_ClicktoPlay_SoundOn;if(t&&e.mediaId){var o=this._wrapJWPlayerWithCLS(t,e.mediaId);this._playersAddedFromPlugin.push(e.mediaId),o&&this._clsOptions.setInjectedVideoSlots({playerId:e.playerId,playerName:i,playerSize:n,element:o,type:”stationaryRelated”})}},t.prototype._createStickyRelatedPlayer=function(e,t){var n=”mobile”===this._device?[400,225]:[640,360],i=y.Video_Individual_Autoplay_SOff;if(this._stickyRelatedOnPage=!0,this._videoConfig.mobileStickyPlayerOnPage=”mobile”===this._device,t&&e.position&&e.mediaId){var o=document.createElement(“div”);t.insertAdjacentElement(e.position,o);var r=document.createElement(“h3″);r.style.margin=”10px 0″;var a=this._getTitleHeight(r),l=this._wrapJWPlayerWithCLS(o,e.mediaId,this._WRAPPER_BAR_HEIGHT+a);this._playersAddedFromPlugin.push(e.mediaId),l&&this._clsOptions.setInjectedVideoSlots({playlistId:e.playlistId,playerId:e.playerId,playerSize:n,playerName:i,element:o,type:”stickyRelated”})}},t.prototype._createSekindoPlayer=function(e,t){var n=e.playlistId,i=”mobile”===this._device?{width:340,height:260}:{width:320,height:250},o=this._createSekindoCLSWrapper(i.height,n);t.insertAdjacentElement(e.position,o),this._playersAddedFromPlugin.push(n),o&&this._clsOptions.setInjectedVideoSlots({playlistId:n,playerId:e.playerId,playerSize:[i.width,i.height],element:o,type:”sekindo”})},t.prototype._createPlaylistPlayer=function(e,t){var n=e.playlistId,i=”mobile”===this._device?y.Video_Coll_SOff_Smartphone:y.Video_Collapse_Autoplay_SoundOff,o=”mobile”===this._device?[400,225]:[640,360];this._videoConfig.mobileStickyPlayerOnPage=!0;var r=document.createElement(“div”);t.insertAdjacentElement(e.position,r);var a=this._wrapJWPlayerWithCLS(r,n,this._WRAPPER_BAR_HEIGHT);this._playersAddedFromPlugin.push(“playlist-“.concat(n)),a&&this._clsOptions.setInjectedVideoSlots({playlistId:e.playlistId,playerId:e.playerId,playerSize:o,playerName:i,element:r,type:”stickyPlaylist”})},t.prototype._isVideoAllowedOnPage=function(){var e=this._clsOptions.disableAds;if(e&&e.video){var t=””;e.reasons.has(“video_tag”)?t=”video tag”:e.reasons.has(“video_plugin”)?t=”video plugin”:e.reasons.has(“video_page”)&&(t=”command queue”);var n=t?”ClsVideoInsertionMigrated”:”ClsVideoInsertion”;return k.error(n,”isVideoAllowedOnPage”,new Error(“DBP: Disabled by publisher via “.concat(t||”other”))),!1}return!this._clsOptions.videoDisabledFromPlugin},t}(function(e){function t(t,n,i){var o=e.call(this)||this;o._videoConfig=t,o._component=i,o._stickyRelatedOnPage=!1,o._contextualMediaIds=[];var r,a=o._videoConfig.players||[];o._device=(void 0===r&&(r=navigator.userAgent),/Windows NT|Macintosh/i.test(r)?”desktop”:”mobile”),o._potentialPlayerMap=o._setPotentialPlayerMap(n);var l=a.filter((function(e){return”stationaryRelated”===e.type&&e.enabled}));return o._potentialPlayerMap.stationaryRelated=l,o}return o(t,e),t.prototype._setPotentialPlayerMap=function(e){var t=this,n=this._videoConfig.players,i={stickyRelated:[],stickyPlaylist:[],sekindo:[],stationaryRelated:[]};return n&&n.length?n.filter((function(e){var n;return null===(n=e.devices)||void 0===n?void 0:n.includes(t._device)})).reduce((function(n,i){return n[i.type]||(k.event(t._component,”constructor”,”Unknown Video Player Type detected”,i.type),n[i.type]=[]),i.enabled&&(e&&”sekindo”===i.type||n[i.type].push(i)),n}),i):i},t.prototype._checkPlayerSelectorOnPage=function(e){var t=this,n=this._potentialPlayerMap[e].map((function(e){return{player:e,playerElement:t._getPlacementElement(e)}}));return n.length?n[0]:{player:null,playerElement:null}},t.prototype._getOverrideElement=function(e,t,n){if(e&&t){var i=document.createElement(“div”);t.insertAdjacentElement(e.position,i),n=i}else{var o=this._checkPlayerSelectorOnPage(“stickyPlaylist”),r=o.player,a=o.playerElement;if(r&&a){i=document.createElement(“div”);a.insertAdjacentElement(r.position,i),n=i}}return n},t.prototype._shouldOverrideElement=function(e){var t=e.getAttribute(“override-embed”);return”true”===t||”false”===t?”true”===t:!!this._videoConfig.contextualSettings&&this._videoConfig.contextualSettings.overrideEmbedLocation},t.prototype._getPlacementElement=function(e){var t=O(e.pageSelector),n=D(e.elementSelector);return t.valid?e.pageSelector&&!t.elements.length?(k.event(“VideoUtils”,”getPlacementElement”,new Error(“PSNF: “.concat(e.pageSelector,” does not exist on the page”))),null):n.valid?n.elements.length>e.skip?n.elements[e.skip]:(k.event(“VideoUtils”,”getPlacementElement”,new Error(“ESNF: “.concat(e.elementSelector,” does not exist on the page”))),null):(k.error(“VideoUtils”,”getPlacementElement”,new Error(“”.concat(e.elementSelector,” is not a valid selector”))),null):(k.error(“VideoUtils”,”getPlacementElement”,new Error(“”.concat(e.pageSelector,” is not a valid selector”))),null)},t.prototype._getEmbeddedPlayerType=function(e){var t=e.getAttribute(“data-player-type”);return t&&”default”!==t||(t=this._videoConfig.contextualSettings?this._videoConfig.contextualSettings.defaultPlayerType:”static”),this._stickyRelatedOnPage&&(t=”static”),t},t.prototype._getUnusedMediaId=function(e){var t=e.getAttribute(“data-video-id”);return!(!t||this._contextualMediaIds.includes(t))&&(this._contextualMediaIds.push(t),t)},t.prototype._createRelatedPlayer=function(e,t,n){“collapse”===t?this._createCollapsePlayer(e,n):”static”===t&&this._createStaticPlayer(e,n)},t.prototype._createCollapsePlayer=function(e,t){var n=this._checkPlayerSelectorOnPage(“stickyRelated”),i=n.player,o=n.playerElement,a=i||this._potentialPlayerMap.stationaryRelated[0];a&&a.playerId?(this._shouldOverrideElement(t)&&(t=this._getOverrideElement(i,o,t)),t=document.querySelector(“#cls-video-container-“.concat(e,” > div”))||t,this._createStickyRelatedPlayer(r(r({},a),{mediaId:e}),t)):k.error(this._component,”_createCollapsePlayer”,”No video player found”)},t.prototype._createStaticPlayer=function(e,t){if(this._potentialPlayerMap.stationaryRelated.length&&this._potentialPlayerMap.stationaryRelated[0].playerId){var n=this._potentialPlayerMap.stationaryRelated[0];this._createStationaryRelatedPlayer(r(r({},n),{mediaId:e}),t)}else k.error(this._component,”_createStaticPlayer”,”No video player found”)},t.prototype._shouldRunAutoplayPlayers=function(){return!(!this._isVideoAllowedOnPage()||!(this._potentialPlayerMap.stickyRelated.length||this._potentialPlayerMap.stickyPlaylist.length||this._potentialPlayerMap.sekindo.length))},t.prototype._determineAutoplayPlayers=function(){var e=this._component,t=”VideoManagerComponent”===e,n=this._config;if(this._stickyRelatedOnPage)k.event(e,”stickyRelatedOnPage”,t&&{device:n&&n.context.device,isDesktop:this._device}||{});else{var i=this._checkPlayerSelectorOnPage(“stickyPlaylist”),o=i.player,r=i.playerElement,a=this._checkPlayerSelectorOnPage(“sekindo”),l=a.player,s=a.playerElement;o&&o.playerId&&o.playlistId&&r?this._createPlaylistPlayer(o,r):l&&l.playlistId&&s?this._createSekindoPlayer(l,s):k.event(e,”noStickyPlaylistOrSekindo”,t&&{vendor:”none”,device:n&&n.context.device,isDesktop:this._device}||{})}},t.prototype._initializeRelatedPlayers=function(e){for(var t=0;t 3) { var type = ‘event’; var eventName = ‘timing_complete’; fieldsArray = { event_category : ‘Scroll Depth’, name : action, event_label : label, value : timing, non_interaction: 1, send_to: ‘UA-137362326-1’ }; MonsterInsightsObject.sendEvent( type, eventName, fieldsArray ); } } function calculateMarks(docHeight) { return { ‘25%’ : parseInt(docHeight * 0.25, 10), ‘50%’ : parseInt(docHeight * 0.50, 10), ‘75%’ : parseInt(docHeight * 0.75, 10), /* Cushion to trigger 100% event in iOS */ ‘100%’: docHeight – 5 }; } function checkMarks(marks, scrollDistance, timing) { /* Check each active mark */ $.each(marks, function(key, val) { if ( $.inArray(key, cache) === -1 && scrollDistance >= val ) { sendEvent(‘Percentage’, key, scrollDistance, timing); cache.push(key); } }); } function rounded(scrollDistance) { /* Returns String */ return (Math.floor(scrollDistance/250) * 250).toString(); } function init() { bindScrollDepth(); } /* * Public Methods */ /* Reset Scroll Depth with the originally initialized options */ $.scrollDepth.reset = function() { cache = []; lastPixelDepth = 0; $window.off(‘scroll.scrollDepth’); bindScrollDepth(); }; /* Add DOM elements to be tracked */ $.scrollDepth.addElements = function(elems) { if (typeof elems == “undefined” || !$.isArray(elems)) { return; } $.merge(options.elements, elems); /* If scroll event has been unbound from window, rebind */ if (!scrollEventBound) { bindScrollDepth(); } }; /* Remove DOM elements currently tracked */ $.scrollDepth.removeElements = function(elems) { if (typeof elems == “undefined” || !$.isArray(elems)) { return; } $.each(elems, function(index, elem) { var inElementsArray = $.inArray(elem, options.elements); var inCacheArray = $.inArray(elem, cache); if (inElementsArray != -1) { options.elements.splice(inElementsArray, 1); } if (inCacheArray != -1) { cache.splice(inCacheArray, 1); } }); }; /* * Throttle function borrowed from: * Underscore.js 1.5.2 * http://underscorejs.org * (c) 2009-2013 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors * Underscore may be freely distributed under the MIT license. */ function throttle(func, wait) { var context, args, result; var timeout = null; var previous = 0; var later = function() { previous = new Date; timeout = null; result = func.apply(context, args); }; return function() { var now = new Date; if (!previous) previous = now; var remaining = wait – (now – previous); context = this; args = arguments; if (remaining headerHeight){ $(“#mvp-main-nav-top”).addClass(“mvp-fixed”); $(“#mvp-main-nav-bot”).addClass(“mvp-fixed1”); $(“#mvp-main-body-wrap”).css(“margin-top”, totalHeight ); $(“#mvp-main-nav-top”).addClass(“mvp-fixed-shadow”); $(“.mvp-nav-top-mid”).addClass(“mvp-fixed-post”); $(“.mvp-drop-nav-title”).show(); $(“.mvp-fly-top”).addClass(“mvp-to-top”); if(scroll logoHeight){ $(“#mvp-main-nav-top”).addClass(“mvp-nav-small”); $(“#mvp-main-nav-bot”).css(“margin-top”, logoHeight ); } else { $(“#mvp-main-nav-top”).removeClass(“mvp-nav-small”); $(“#mvp-main-nav-bot”).css(“margin-top”,”0″); } if ($(window).scrollTop() > navHeight){ $(“#mvp-main-nav-top”).addClass(“mvp-fixed”); $(“#mvp-main-nav-bot”).addClass(“mvp-fixed1”); $(“#mvp-main-body-wrap”).css(“margin-top”, totalHeight ); $(“#mvp-main-nav-top”).addClass(“mvp-fixed-shadow”); $(“.mvp-nav-top-mid”).addClass(“mvp-fixed-post”); $(“.mvp-drop-nav-title”).show(); $(“.mvp-fly-top”).addClass(“mvp-to-top”); if(scroll distance + aboveHeight + screen.height){ $(“#mvp-video-embed-cont”).addClass(“mvp-vid-fixed”); $(“#mvp-video-embed-wrap”).addClass(“mvp-vid-height”); $(“.mvp-video-close”).show(); } else { $(“#mvp-video-embed-cont”).removeClass(“mvp-vid-fixed”); $(“#mvp-video-embed-wrap”).removeClass(“mvp-vid-height”); $(“.mvp-video-close”).hide(); } }); $(“.mvp-video-close”).on(“click”, function(){ $(“#mvp-video-embed-cont”).removeClass(“mvp-vid-fixed”); $(“#mvp-video-embed-wrap”).removeClass(“mvp-vid-height”); $(“.mvp-video-close”).hide(); $(window).off(“scroll.video”); }); }); jQuery(document).ready(function($) { // Mobile Social Buttons More $(“.mvp-soc-mob-right”).on(“click”, function(){ $(“#mvp-soc-mob-wrap”).toggleClass(“mvp-soc-mob-more”); }); }); jQuery(document).ready(function($) { $(“.menu-item-has-children a”).click(function(event){ event.stopPropagation(); }); $(“.menu-item-has-children”).click(function(){ $(this).addClass(“toggled”); if($(“.menu-item-has-children”).hasClass(“toggled”)) { $(this).children(“ul”).toggle(); $(“.mvp-fly-nav-menu”).getNiceScroll().resize(); } $(this).toggleClass(“tog-minus”); return false; }); // Main Menu Scroll $(“.mvp-fly-nav-menu”).niceScroll({cursorcolor:”#888″,cursorwidth: 7,cursorborder: 0,zindex:999999}); }); jQuery(document).ready(function($) { $(“.infinite-content”).infinitescroll({ navSelector: “.mvp-nav-links”, nextSelector: “.mvp-nav-links a:first”, itemSelector: “.infinite-post”, errorCallback: function(){ $(“.mvp-inf-more-but”).css(“display”, “none”) } }); $(window).unbind(“.infscr”); $(“.mvp-inf-more-but”).click(function(){ $(“.infinite-content”).infinitescroll(“retrieve”); return false; }); if ($(“.mvp-nav-links a”).length) { $(“.mvp-inf-more-but”).css(“display”,”inline-block”); } else { $(“.mvp-inf-more-but”).css(“display”,”none”); } }); ]]> Read The Full Article Here

    RELATED ARTICLES
    - Advertisment -

    Most Popular

    Kylie Jenner Clarifies How to Pronounce Her Son Aire’s New
    How Lisa Marie Presley’s Daughters and Mom Priscilla Paid Tribute
    Axl Rose, Sarah Ferguson and More Honor Lisa Marie Presley
    Kylie Jenner Wants You To Hear Her ROAR In This
    Hogwarts Legacy’s Launch Trailer Is Full of Story, Launch Q&A
    Race Across The World winners reveal incredible plan for £20,000
    Fair Play – first-look review
    Chris Evans Has ‘Embarrassing’ Behind-the-Scenes Video of Avengers Cast Dancing
    Sridevi Drama Company Latest Promo
    Fire Country Season 1 Episode 12 Review: Two Pink Lines
    The Bonedaddys Television Show- 1988
    Lisa Loring, Original Wednesday Actress on The Addams Family, Dies
    03 Greedo Announces He’s ‘Free From Prison’ & Living in
    “Stay on the Phone” From Back from Nothing
    Nakhane Announces New Album Bastard Jargon
    Dawn Ostroff Writes Memo to Spotify Staff Amid Exit, Layoffs
    “Dad in a Cheer Bow” By Author Patrick Riccards Now Available Worldwide
    Meet Everett De Morier: Acclaimed Author with a Secret
    Kim Greer Guests on The Happy Hour Podcast Friday June 17th, 2022 7 PM EST/ 4 PM PST On YouTube Live
    Beacon Audiobooks Releases “NFL 1970” Written By Author Ian S. Kahanowitz
    A Survival Guide to the Infected ‘Zombies’ of ‘The Last
    Winter Survival Tips: How To Fix the Most Common Winter
    29 Impressive High-Street Puffer Coats That Are Perfect for Winter
    Hailey Bieber Wears a Nepo Baby T-Shirt in Los Angeles
    ‘Onyx the Fortuitous and the Talisman of Souls’ Struggles To
    Travel to Salem in This Deliciously Macabre Tale of the
    Patient Seven
    MIRAME (2021)