Horror

Monster High and Elvira Combine Powers for Mistress of the


master mentalism tricks

[]
{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,”concert”:false,”footerCloseButton”:true,”teads”:true,”pmp”:false,”thirtyThreeAcross”:true,”sharethrough”:true,”removeVideoTitleWrapper”:true,”pubMatic”:true,”roundel”:true,”infiniteScroll”:false,”yahoossp”:true,”stickyContainerConfig”:{“recipe”:{“minHeight”:null,”enabled”:false},”content”:{“minHeight”:null,”enabled”:false},”blockedSelectors”:[]},”sonobi”:true,”yieldmo”:true,”footerSelector”:””,”amazonUAM”:true,”gamMCMEnabled”:true,”gamMCMChildNetworkCode”:”22515929979″,”stickyContainerAds”:true,”rubicon”:true,”conversant”:false,”resetdigital”:true,”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,”interstitialBlockedPageSelectors”:””,”allowSmallerAdSizes”:true,”comscore”:”General”,”mobileInterstitial”:true,”tripleLift”:true,”sensitiveCategories”:[“alc”,”ast”,”cbd”,”conl”,”cosm”,”dat”,”dlu”,”drg”,”gamc”,”gamv”,”grq”,”pol”,”rel”,”sst”,”ssr”,”srh”,”ske”,”tob”,”wtl”],”liveRamp”:true,”mobileInterstitialBlockedPageSelectors”:””,”adthriveEmailIdentity”:true,”criteo”:true,”nativo”:false,”infiniteScrollOptions”:{“selector”:””,”heightThreshold”:0},”dynamicContentSlotLazyLoading”:true,”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”:false,”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,”resetdigital”:true,”tripleLift”:true,”openx”:true,”pubMatic”:true,”spotx”:true,”indexExchange”:true}}};]]> Monster High and Elvira Combine Powers for Mistress of the Dark Skullector Doll iHorror iHorror

iHorror

Monster High and Elvira Combine Powers for Mistress of the Dark Skullector Doll

News

Published

6 days ago

on

January 10, 2023 Elvira

Cassandra Peterson has combined forces with the folks over Mattel Creations and Monster High to create a unique Skullector Doll. The gothic creation is an awesome take on Elvira Mistress of the Dark. Every single detail was gone over with Peterson in collaboration with Monster High. The result is a doll that resembles Elvira from high heels to hair-doo.

Peterson was able to work very closely with the team over at Monster High in order to make this a true Mistress of the Dark event for fans.

This whole experience was a nightmare come true! I love her dress and makeup – but most of all what my doll stands for to encourage people everywhere to embrace what makes them unique and to be themselves. Peterson said.

Elvira’s Mistress of the Dark Skullector Doll features breakdown like this:

To celebrate her long history as an iconic horror hostess, we’re welcoming Elvira to our Monster High Skullector series. It’s time to make your collection a scream with this legendary glam ghoul. 

Elvira
  • Elvira, Mistress of the Dark Monster High Skullector Doll 
  • Featuring her signature jet black hair, bootiful makeup, and screamium fashion—all with a Monster High twist 
  • Her dress is printed with skullettes and spider webs that match the ones on her stilettos and in her eyes 
  • She slays with her aunt’s magic ring, silver snake earrings, and iconic dagger belt 
  • Screamium packaging mimics her living room, complete with a couch, bone phone, and picture of her dog, Gonk – and there’s even a personal message from Elvira on the back
  • Certificate of Authenticity 

The Elvira Mistress of the Dark Monster High Doll goes on sale January 13 at 9 am PST. Head over to Mattel’s site to place your order when they go up for sale.

Elvira Elvira

News

Published

10 hours ago

on

January 16, 2023 Pooh

One of this year’s most unlikely releases is definitely, Winnie the Pooh: Blood and Honey. The film has taken a classic A. A. Milne; ‎E. H. Shepard tale and blended it into a blood-soaked, slasher. A very unlikely mashup. In Blood and Honey Pooh and Piglet are masked killers who go on a brutal killing spree. Originally, the film was due out for a one-night-only Fathoms Event in a handful of theaters. That has now expanded to nine days in 1,500 theaters. A much bigger release than originally planned.

Director, Rhys Waterfield’s film is a new take that has since become a trend. The Mean One was a twisted tale of The Grinch and word is we will see other kid tales turned into horror films very soon. Next up, a twisted tale based on Peter Pan.

The synopsis for Winnie the Pooh: Blood and Honey goes like this:

“Feral and bloodthirsty, Winnie-the-Pooh and Piglet terrorize Christopher Robin and a group of young women at a remote house.”

Winnie the Pooh: Blood and Honey will run from Wednesday, February 15 and running through Monday, February 23. You can pickup your tickets right HERE at Fathom Events.

News

Published

15 hours ago

on

January 15, 2023 Play

Patrick Lussier is back to direct Play Dead. Previously, he worked on My Bloody Valentine 3-D. The latest film takes us into a morgue in which plenty of body parts are being sold for top dollar. The film stars Bailee Madison and Jerry O’Connell.

According to Screen Daily, the synopsis for Play Dead goes like this:

“Criminology student Chloe (Madison), who fakes her own death to break into a local morgue to steal a piece of evidence that ties her younger brother to a crime. Once inside she discovers the coroner is using the business as a front to sell body parts. When the coroner discovers Chloe is not dead a game of cat-and-mouse ensues.”

The film stars Bailee Madison, Jerry O’Connell, Anthony Turpel, Chris Butler, Chris Lee and Jorge-Luis Pallo.

There isn’t an official US release date as of right now, but we will be sure to keep you updated.

News

Published

16 hours ago

on

January 15, 2023 Yellowjackets

Yellowjackets season 2 is in the works and already we have had a good look at a tease of all the cannibalistic carnage that is going to befall the group. Plus, we still need to find out what the heck the cryptic symbol means. The finale of Yellowjackets did a good job of answering a couple of questions but overall it set us up for way more questions.

Yellowjackets

The series brings back Juliette Lewis, Christina Ricci, Monica Lynskey and adds Elijah Wood, Lauren Ambrose and more into a very brutal winter lost in the wilderness. The tale is already compelling as hell on its own. But, the introduction of an underlying supernatural narrative pushes the mystery to new bars.

The synopsis for Yellowjackets goes like this:

Wildly talented high school girls’ soccer players descend into savage clans after their plane crashes in the remote northern wilderness. Twenty-five years later, they discover that what began in the wild is far from over.

Yellowjackets returns with its second season beginning March 24.

=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 u(e,t,n){if(n||2===arguments.length)for(var i,o=0,r=t.length;oe.offsetHeight?t:e}));return n&&n.offsetHeight>1.5*window.innerHeight?n:null}(n),o=i?[i]:[],r=[];e.forEach((function(e){var i,a=Array.from(n.querySelectorAll(e.elementSelector)).slice(0,e.skip);(i=e.elementSelector,i.includes(“,”)?i.split(“,”):[i]).forEach((function(i){for(var l=n.querySelectorAll(i),s=function(n){var i=l[n];if(t.map.some((function(e){return e.el.isEqualNode(i)})))return”continue”;var s=i&&i.parentElement;s&&s!==document.body?o.push(s):o.push(i),-1===a.indexOf(i)&&r.push({dynamicAd:e,element:i})},c=0;c=t;if(o&&!r)return n&&A(e,o.value),o.value}}catch(e){}return null},w=function(e){return null!=e&&!(“number”==typeof e&&isNaN(e))},C=function(e,t,n,i,o){var a;void 0===i&&(i=!0);var l=”abgroup”,s=E(l,n,i);if(null!==s){var c=s[e];if(w(c))return c}var u=t(),d=r(r({},s),((a={})[e]=u,a));return A(l,d),o&&o(),u};!function(e){e.Prebid=”prebid”,e.GAM=”gam”,e.Amazon=”amazon”,e.WebVitals=”webvitals”,e.Marmalade=”marmalade”,e.Floors=”floors”,e.CMP=”cmp”}(d||(d={})),function(e){e.fpvNonLazy=”fpvNonLazy”,e.lazy=”lazy”,e.refresh=”refresh”,e.session=”session”,e.crossDomain=”crossdomain”,e.highSequence=”highsequence”}(p||(p={})),function(e){e.prebidLoad=”prebidLoad”,e.amazonLoad=”amazonLoad”,e.gptLoad=”gptLoad”}(h||(h={})),function(e){e.Desktop=”desktop”,e.Mobile=”mobile”}(f||(f={})),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.None=”none”}(m||(m={})),function(e){e.WEIGHTEDCHOICE=”weightedChoice”,e.BERNOULLITRIAL=”bernoulliTrial”}(g||(g={})),function(e){e.INTEGER=”integer”,e.FLOAT=”float”,e.BOOLEAN=”boolean”,e.STRING=”string”}(v||(v={})),function(e){e.DESKTOP=”desktop”,e.MOBILE=”mobile”,e.ALL=”all”}(_||(_={})),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”}(b||(b={}));var O=function(e,t,n){switch(t){case b.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 b.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 b.Interstitial:return function(e){var t=e.adOptions.interstitialBlockedPageSelectors||e.adOptions.mobileInterstitialBlockedPageSelectors;return!t||!document.querySelector(t)}(e);default:return!0}},D=function(){try{return Math.round(window.performance.now())}catch(e){return 0}},x=function(e){try{return{valid:!0,elements:document.querySelectorAll(e)}}catch(e){return r({valid:!1},e)}},M=function(e){return””===e?{valid:!0}:x(e)},k=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||I.error(“ValidateSiteExperiment”,”util”,”experiment presented invalid choices for key:”,e.key,e.variants),n&&i&&o&&r&&s&&c},L=[“siteId”,”siteName”,”adOptions”,”breakpoints”,”adUnits”],R=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=L),!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}(),G=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=T.setMobileLocation(e.mobileLocation),e})),[]),this.contextualSettings=n&&n.contextual},V=function(e){this.mobileStickyPlayerOnPage=!1,this.playlistPlayerAdded=!1,this.contextualPlayerAdded=!1,this.footerSelector=””,this.removeVideoTitleWrapper=!1,this.videoAdOptions=new G(e),this.players=this.videoAdOptions.players,this.contextualSettings=this.videoAdOptions.contextualSettings,this.removeVideoTitleWrapper=this.videoAdOptions.removeVideoTitleWrapper,this.footerSelector=this.videoAdOptions.footerSelector},N=function(){},H=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,u([],c(t.value),!1))}),[]),lazy:e(n.dynamic.lazy,!1),lazyMax:e(n.dynamic.lazyMax,2),lazyMaxDefaulted:0!==n.dynamic.lazyMax&&!n.dynamic.lazyMax}}))},U=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 "))},Y=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,u=c.choice;if((r+=c.weight)>=o)return u}}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}(N),X=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)},Z=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,u([],c(n),!1)),void 0!==i&&(l.push(” => %o”),s.push(i)),l.push(” %c(“.concat(a,”ms)”)),s.push(“color: #999;”)},$=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 J(e),this._clsOptions.enabledLocations=this._config.enabledLocations,this._clsAdDensitySiteExperiment=this._clsOptions.siteAds.siteExperiments?new ie(this._clsOptions):null}return n.prototype.start=function(){var e,t,n,i,o=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){I.error(“BodyDeviceClassComponent”,”init”,{message:e.message});var i=”classList”in document.createElement(“_”);I.error(“BodyDeviceClassComponent”,”init.support”,{support:i})}}(this._device);var r=q(this._device,this._clsOptions.siteAds.adUnits).filter((function(e){return o._locationEnabled(e)})).filter((function(e){return t=e,n=o._device,t.devices.includes(n);var t,n})).filter((function(e){return 0===(t=e).pageSelector.length||null!==document.querySelector(t.pageSelector);var t})),a=this.inject(r),l=new oe;(null===(t=null===(e=this._clsOptions.siteAds.adOptions.stickyContainerConfig)||void 0===e?void 0:e.content)||void 0===t?void 0:t.enabled)&&l.result&&Q(null===(i=null===(n=this._clsOptions.siteAds.adOptions.stickyContainerConfig)||void 0===n?void 0:n.content)||void 0===i?void 0:i.minHeight),a.forEach((function(e){return o._clsOptions.setInjectedSlots(e)}))}catch(e){I.error(“ClsDynamicAdsInjector”,”start”,e)}},n.prototype.inject=function(t,n){void 0===n&&(n=document),this._densityDevice=”desktop”===this._device?f.Desktop:f.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 u(u([],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 d=s(e),p=d.next();!p.done;p=d.next()){var h=p.value,f=0,y=0,m=0;h.spacing>0&&(f=window.innerHeight*h.spacing,y=f);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(f>0){var o=t(i).bottom;if(o<=y)return"continue";y=o+f}var r=g[m],s="".concat(r.location,"_").concat(r.sequence);a.some((function(e){return e.name===s}))&&(m+=1);var d=b.getDynamicElementId(r),p="adthrive-".concat(h.location.replace("_","-").toLowerCase()),_=u([p,"".concat(p,"-").concat(h.sequence)],c(h.classNames),!1),S=b.addAd(i,d,h.position,_);if(S){var P=U(r,S);if(P.length){var A={clsDynamicAd:h,dynamicAd:r,element:S,sizes:P,name:s,infinite:n!==document};a.push(A),l.push({location:r.location,element:S}),"Recipe"===h.location&&++b._recipeCount,m+=1}i=S}},b=this,S=h.skip;S0?[d]:[]),!1)),!1));return this._pubLog={onePerViewport:a,targetDensity:r,targetDensityUnits:s,combinedMax:d},{onePerViewport:a,targetAll:l,targetDensityUnits:s,combinedMax:d,numberOfUnits:p}},n.prototype._determineOverrides=function(e){var t=this;return e.filter((function(e){var t=M(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._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,r]}(e,this._adInjectionMap,t),2),i=n[0],o=n[1];this._mainContentDiv=i,this._totalAvailableElements=o,this._mainContentHeight=function(e,t){void 0===t&&(t=”div #comments, section .comments”);var n=e.querySelector(t);return n?e.offsetHeight-n.offsetHeight:e.offsetHeight}(this._mainContentDiv)},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,u([o,r],c(t.classNames),!1));if(a){var l=U(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:u,lazy:d}))}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}(),le=function(e){function t(t,n){var i=e.call(this,t,”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._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._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 I.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){var i=e.call(this)||this;i._videoConfig=t,i._component=n,i._stickyRelatedOnPage=!1,i._contextualMediaIds=[];var o,r=i._videoConfig.players||[];i._device=(void 0===o&&(o=navigator.userAgent),/Windows NT|Macintosh/i.test(o)?”desktop”:”mobile”),i._potentialPlayerMap=i._setPotentialPlayerMap();var a=r.filter((function(e){return”stationaryRelated”===e.type&&e.enabled}));return i._potentialPlayerMap.stationaryRelated=a,i}return o(t,e),t.prototype._setPotentialPlayerMap=function(){var e=this,t=this._videoConfig.players,n={stickyRelated:[],stickyPlaylist:[],stationaryRelated:[]};return t&&t.length?t.filter((function(t){var n;return null===(n=t.devices)||void 0===n?void 0:n.includes(e._device)})).reduce((function(t,n){return t[n.type]||(I.event(e._component,”constructor”,”Unknown Video Player Type detected”,n.type),t[n.type]=[]),n.enabled&&t[n.type].push(n),t}),n):n},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=M(e.pageSelector),n=x(e.elementSelector);return t.valid?e.pageSelector&&!t.elements.length?(I.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]:(I.event(“VideoUtils”,”getPlacementElement”,new Error(“ESNF: “.concat(e.elementSelector,” does not exist on the page”))),null):(I.error(“VideoUtils”,”getPlacementElement”,new Error(“”.concat(e.elementSelector,” is not a valid selector”))),null):(I.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)):I.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 I.error(this._component,”_createStaticPlayer”,”No video player found”)},t.prototype._shouldRunAutoplayPlayers=function(){return!(!this._isVideoAllowedOnPage()||!this._potentialPlayerMap.stickyRelated.length&&!this._potentialPlayerMap.stickyPlaylist.length)},t.prototype._determineAutoplayPlayers=function(){var e=this._component,t=”VideoManagerComponent”===e,n=this._config;if(this._stickyRelatedOnPage)I.event(e,”stickyRelatedOnPage”,t&&{device:n&&n.context.device,isDesktop:this._device}||{});else{var i=this._checkPlayerSelectorOnPage(“stickyPlaylist”),o=i.player,r=i.playerElement;o&&o.playerId&&o.playlistId&&r?this._createPlaylistPlayer(o,r):I.event(e,”noStickyPlaylist”,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


trick photography
Leslie Jordan’s Cause of Death Revealed
Her Stabler! Christopher Meloni and Sherman Meloni’s Relationship Timeline
Tom Brady Lost 15 LBs During Rough NFL Season –
Aiden Fucci Accused Of Threatening & Extorting Inmates While Awaiting
‘House of the Dragon’ Wins Best TV Series at Golden
Knock at the Cabin review – bracing holiday horror
Agatha: Coven of Chaos Set Photo Shows MCU Series in
Alice Diop: ‘A fictional space could reveal my point of
Mayor of Kingstown Season 2 Episode 3 Review: Five at
Hulu Orders ‘King of the Hill’ Reboot With Original Cast
‘La Brea’ Scores Early Season 3 Renewal at NBC
11 Shows Canceled After Filming Started or Completed — Which
Fall Out Boy’s Joe Trohman Issues Statement on Taking Break
Ranking Every Korn Album From Worst to Best
Kid Listening to Metallica Just Wants Mom to Leave Her
9-year-old girl shreds through 22 Tool songs in massive guitar
Building the Church of Kendra Scott
(G)I-DLE on the Meaning of ‘I Love,’ Their World Tour,
Chopard Moves Its NYC Flagship to Fifth Avenue
Uniformed Is About to Be Your New Everyday Uniform
Film Review: The Doom Generation (1995) v2
No Preview
‘The Outwaters’ Trailer is On a Mission to Make You
HOLY SPIDER
No Preview
‘The Barn Part II’ Receives A Blu-Ray Release
Interview with T.W. Pearce, Author of Forbitten Fae
Mother Shares Harrowing First-Hand Account of Child-Carrying Ordeal
Interview with Measha Stone, Author of Ravaged Innocence
Interview with John Etterlee, Author of Blood Red