MORE ABOUT SARAH

Sarah is a second generation homeschooling mom. Originally from Michigan, she now lives with her husband Jay and 5 kids in Florida. They love staying active as a family and going on trips in their renovated RV. Sarah loves to sing, make pretty things and eat pizza.

COPYRIGHT & DISCLOSURE

All content on this site is copyright Sarah Lemp. Many of my posts contain affiliate links. If you click on an affiliate link and buy something, I may receive a small commission. Read more on my DISCLOSURE PAGE.

Copyright © 2023 · All Things with Purpose · All Rights Reserved · Powered by Mai Theme

'),a.insertAdjacentHTML(d,e));return document.getElementById(b)};c.prototype._repeatDynamicAds=function(a){var b=[],d=this._removeRecipeCapExperiment.result&&"Recipe"===a.location?99:this.locationMaxLazySequence.get(a.location),e=a.lazy?w(d,0):0;d=a.max;var f=a.lazyMax;e=Math.max(d,0===e&&a.lazy?d+f:Math.min(Math.max(e-a.sequence+1,0),d+f));for(f=0;f=d;b.push(z(z({},a),{sequence:g,lazy:h}))}return b};c.prototype._repeatSpecificDynamicAds=function(a,b,d){void 0===d&&(d=0);for(var e=[],f=0;fe)return d[e];q.event("VideoUtils","getPlacementElement",Error("ESNF: ".concat(b," does not exist on the page"))); return null};a.prototype._getPlacementElement=function(b){var d=b.pageSelector,e=b.elementSelector;b=b.skip;var f=V(d),g=f.valid,h=f.elements;f=Y(f,["valid","elements"]);var k=ia(e),l=k.valid,n=k.elements;k=Y(k,["valid","elements"]);return""===d||g?l?this._checkPageSelector(d,g,h)?this._getElementSelector(e,n,b)||null:null:(q.error("VideoUtils","getPlacementElement",Error("".concat(e," is not a valid selector")),k),null):(q.error("VideoUtils","getPlacementElement",Error("".concat(d," is not a valid selector")), f),null)};a.prototype._getEmbeddedPlayerType=function(b){(b=b.getAttribute("data-player-type"))&&"default"!==b||(b=this._videoConfig.contextualSettings?this._videoConfig.contextualSettings.defaultPlayerType:"static");this._stickyRelatedOnPage&&(b="static");return b};a.prototype._getUnusedMediaId=function(b){return(b=b.getAttribute("data-video-id"))&&!this._contextualMediaIds.includes(b)?(this._contextualMediaIds.push(b),b):!1};a.prototype._createRelatedPlayer=function(b,d,e){"collapse"===d?this._createCollapsePlayer(b, e):"static"===d&&this._createStaticPlayer(b,e)};a.prototype._createCollapsePlayer=function(b,d){var e=this._checkPlayerSelectorOnPage("stickyRelated"),f=e.player;e=e.playerElement;var g=f?f:this._potentialPlayerMap.stationaryRelated[0];g&&g.playerId?(this._shouldOverrideElement(d)&&(d=this._getOverrideElement(f,e,d)),d=document.querySelector("#cls-video-container-".concat(b," > div"))||d,this._createStickyRelatedPlayer(z(z({},g),{mediaId:b}),d)):q.error(this._component,"_createCollapsePlayer","No video player found")}; a.prototype._createStaticPlayer=function(b,d){this._potentialPlayerMap.stationaryRelated.length&&this._potentialPlayerMap.stationaryRelated[0].playerId?this._createStationaryRelatedPlayer(z(z({},this._potentialPlayerMap.stationaryRelated[0]),{mediaId:b}),d):q.error(this._component,"_createStaticPlayer","No video player found")};a.prototype._shouldRunAutoplayPlayers=function(){return this._isVideoAllowedOnPage()&&(this._potentialPlayerMap.stickyRelated.length||this._potentialPlayerMap.stickyPlaylist.length)? !0:!1};a.prototype._determineAutoplayPlayers=function(){var b=this._component,d="VideoManagerComponent"===b,e=this._config;if(this._stickyRelatedOnPage)q.event(b,"stickyRelatedOnPage",d&&{device:e&&e.context.device,isDesktop:this._device}||{});else{var f=this._checkPlayerSelectorOnPage("stickyPlaylist"),g=f.player;f=f.playerElement;g&&g.playerId&&g.playlistId&&f?this._createPlaylistPlayer(g,f):q.event(b,"noStickyPlaylist",d&&{vendor:"none",device:e&&e.context.device,isDesktop:this._device}||{})}}; a.prototype._initializeRelatedPlayers=function(b){for(var d=0;d