Sheet Pan Salmon and Broccoli with Garlic and Parmesan

[] *”,”skip”:6,”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”:[“tablet”],”name”:”Content”,”sticky”:false,”location”:”Content”,”dynamic”:{“pageSelector”:”body.single, body.page:not(.home)”,”spacing”:0.7,”max”:4,”lazy”:true,”lazyMax”:11,”elementSelector”:”.entry-content > *”,”skip”:0,”classNames”:[],”position”:”afterend”,”every”:0,”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”:[“phone”],”name”:”Content”,”sticky”:false,”location”:”Content”,”dynamic”:{“pageSelector”:”body.single, body.page:not(.home)”,”spacing”:0.85,”max”:4,”lazy”:true,”lazyMax”:11,”elementSelector”:”.entry-content > *”,”skip”:5,”classNames”:[],”position”:”afterend”,”every”:0,”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”:[“Recipe”],”key”:”location”}],”devices”:[“tablet”,”desktop”],”name”:”Recipe”,”sticky”:false,”location”:”Recipe”,”dynamic”:{“pageSelector”:””,”spacing”:0.7,”max”:4,”lazy”:false,”lazyMax”:null,”elementSelector”:”.wprm-recipe-ingredients-container li, .wprm-recipe-instructions-container li, .wprm-recipe-notes-container span, .wprm-recipe-notes-container li, .wprm-nutrition-label-container”,”skip”:0,”classNames”:[],”position”:”beforebegin”,”every”:1,”enabled”:true},”adSizes”:[[320,50],[250,250],[1,1],[320,100],[1,2],[300,50],[320,300],[300,390],[300,250]],”priority”:-101,”autosize”:true},{“sequence”:4,”targeting”:[{“value”:[“Recipe”],”key”:”location”}],”devices”:[“phone”],”name”:”Recipe_4″,”sticky”:false,”location”:”Recipe”,”dynamic”:{“pageSelector”:””,”spacing”:0,”max”:1,”lazy”:false,”lazyMax”:null,”elementSelector”:”.wprm-recipe-ingredients-container”,”skip”:0,”classNames”:[],”position”:”beforebegin”,”every”:1,”enabled”:true},”adSizes”:[[320,50],[250,250],[1,1],[320,100],[1,2],[300,50],[320,300],[300,390],[300,250]],”priority”:-104,”autosize”:true},{“sequence”:null,”targeting”:[{“value”:[“Recipe”],”key”:”location”}],”devices”:[“phone”],”name”:”Recipe”,”sticky”:false,”location”:”Recipe”,”dynamic”:{“pageSelector”:””,”spacing”:0,”max”:3,”lazy”:false,”lazyMax”:null,”elementSelector”:”.wprm-recipe-ingredients-container, .wprm-recipe-instructions-container, .wprm-recipe-notes-container”,”skip”:0,”classNames”:[],”position”:”afterend”,”every”:1,”enabled”:true},”adSizes”:[[320,50],[250,250],[1,1],[320,100],[1,2],[300,50],[320,300],[300,390],[300,250]],”priority”:-101,”autosize”:true},{“sequence”:null,”targeting”:[{“value”:[“Recipe”],”key”:”location”}],”devices”:[“desktop”,”tablet”],”name”:”Recipe”,”sticky”:false,”location”:”Recipe”,”dynamic”:{“pageSelector”:””,”spacing”:0,”max”:1,”lazy”:false,”lazyMax”:null,”elementSelector”:”#zlrecipe-ingredients-list”,”skip”:0,”classNames”:[],”position”:”afterbegin”,”every”:1,”enabled”:true},”adSizes”:[[320,50],[250,250],[1,1],[320,100],[1,2],[300,50],[320,300],[300,390],[300,250]],”priority”:-101,”autosize”:true},{“sequence”:3,”targeting”:[{“value”:[“Recipe”],”key”:”location”}],”devices”:[“phone”],”name”:”Recipe_3″,”sticky”:false,”location”:”Recipe”,”dynamic”:{“pageSelector”:””,”spacing”:0,”max”:0,”lazy”:true,”lazyMax”:1,”elementSelector”:”#zlrecipe-ingredients”,”skip”:0,”classNames”:[],”position”:”beforebegin”,”every”:1,”enabled”:true},”adSizes”:[[320,50],[250,250],[1,1],[320,100],[1,2],[300,50],[320,300],[300,390],[300,250]],”priority”:-103,”autosize”:true},{“sequence”:null,”targeting”:[{“value”:[“Recipe”],”key”:”location”}],”devices”:[“phone”],”name”:”Recipe”,”sticky”:false,”location”:”Recipe”,”dynamic”:{“pageSelector”:””,”spacing”:0,”max”:1,”lazy”:false,”lazyMax”:null,”elementSelector”:”#zlrecipe-instructions”,”skip”:0,”classNames”:[],”position”:”afterbegin”,”every”:1,”enabled”:true},”adSizes”:[[320,50],[250,250],[1,1],[320,100],[1,2],[300,50],[320,300],[300,390],[300,250]],”priority”:-101,”autosize”:true},{“sequence”:2,”targeting”:[{“value”:[“Recipe”],”key”:”location”}],”devices”:[“phone”],”name”:”Recipe_2″,”sticky”:false,”location”:”Recipe”,”dynamic”:{“pageSelector”:””,”spacing”:0,”max”:0,”lazy”:true,”lazyMax”:1,”elementSelector”:”#zlrecipe-instructions-list”,”skip”:0,”classNames”:[],”position”:”afterend”,”every”:1,”enabled”:true},”adSizes”:[[320,50],[250,250],[1,1],[320,100],[1,2],[300,50],[320,300],[300,390],[300,250]],”priority”:-102,”autosize”:true},{“sequence”:null,”targeting”:[{“value”:[“Content”],”key”:”location”}],”devices”:[“desktop”,”tablet”],”name”:”Content”,”sticky”:false,”location”:”Content”,”dynamic”:{“pageSelector”:”body.search”,”spacing”:0,”max”:2,”lazy”:true,”lazyMax”:2,”elementSelector”:”.content article”,”skip”:2,”classNames”:[],”position”:”afterend”,”every”:6,”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”:[“phone”],”name”:”Content”,”sticky”:false,”location”:”Content”,”dynamic”:{“pageSelector”:”body.search”,”spacing”:0,”max”:2,”lazy”:true,”lazyMax”:2,”elementSelector”:”.content article”,”skip”:1,”classNames”:[],”position”:”afterend”,”every”:4,”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”:[“tablet”,”phone”,”desktop”],”name”:”Below_Post”,”sticky”:false,”location”:”Below Post”,”dynamic”:{“pageSelector”:”body.single, body.page”,”spacing”:0,”max”:0,”lazy”:true,”lazyMax”:1,”elementSelector”:”.entry-content”,”skip”:0,”classNames”:[],”position”:”afterend”,”every”:0,”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”:[“phone”,”tablet”,”desktop”],”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.28,”onePerViewport”:false},”pageOverrides”:[{“mobile”:{“adDensity”:0.3,”onePerViewport”:false},”pageSelector”:”body.blog, body.search, body.archive”,”desktop”:{“adDensity”:0.26,”onePerViewport”:false}}],”desktop”:{“adDensity”:0.26,”onePerViewport”:false}},”adDensityEnabled”:true,”siteExperiments”:[],”adTypes”:{“nativeMobileRecipe”:true,”expandableFooter”:true,”nativeDesktopSidebar”:true,”nativeDesktopContent”:true,”outstreamDesktop”:true,”interscroller”:true,”miniscroller”:true,”nativeDesktopRecipe”:true,”outstreamMobile”:true,”animatedFooter”:true,”nativeMobileContent”:true},”adOptions”:{“theTradeDesk”:true,”verizon”:true,”undertone”:true,”footerCloseButton”:false,”teads”:true,”pmp”:true,”thirtyThreeAcross”:true,”sharethrough”:true,”removeVideoTitleWrapper”:true,”pubMatic”:true,”roundel”:true,”infiniteScroll”:false,”yahoossp”:true,”sonobi”:true,”yieldmo”:true,”footerSelector”:””,”amazonUAM”:true,”gamMCMEnabled”:true,”gamMCMChildNetworkCode”:”22572004875″,”stickyContainerAds”:true,”rubiconMediaMath”:true,”rubicon”:true,”conversant”:true,”openx”:true,”mobileHeaderHeight”:1,”unruly”:true,”mediaGrid”:true,”bRealTime”:false,”gumgum”:true,”comscoreFooter”:true,”desktopInterstitial”:true,”footerCloseButtonDesktop”:false,”isAutoOptimized”:true,”comscoreTAL”:true,”brightroll”:true,”targetaff”:false,”advancePlaylistOptions”:{“playlistPlayer”:{“enabled”:true},”relatedPlayer”:{“enabled”:true,”applyToFirst”:true}},”kargo”:true,”liveRampATS”:true,”footerCloseButtonMobile”:false,”allowSmallerAdSizes”:true,”comscore”:”Food”,”mobileInterstitial”:true,”tripleLift”:true,”sensitiveCategories”:[“alc”,”conl”,”drg”,”gamv”],”liveRamp”:true,”mobileInterstitialBlockedPageSelectors”:””,”adthriveEmailIdentity”:true,”criteo”:true,”nativo”:true,”infiniteScrollOptions”:{“selector”:””,”heightThreshold”:0},”clsOptimizedAds”:true,”colossus”:true,”verticals”:[“Food”,”Travel”],”inImage”:false,”advancePlaylist”:true,”delayLoading”:false,”inImageZone”:null,”appNexus”:true,”liveRampId”:””,”infiniteScrollRefresh”:false,”indexExchange”:true},”videoPlayers”:{“contextual”:{“autoplayCollapsibleEnabled”:false,”overrideEmbedLocation”:false,”defaultPlayerType”:”static”},”videoEmbed”:”wordpress”,”footerSelector”:””,”players”:[{“devices”:[“desktop”,”mobile”],”description”:””,”id”:4050760,”title”:”Stationary related player – desktop and mobile”,”type”:”stationaryRelated”,”enabled”:true,”playerId”:”bD0ohhX8″},{“playlistId”:””,”pageSelector”:””,”devices”:[“desktop”],”description”:””,”elementSelector”:””,”skip”:0,”id”:4050761,”position”:”afterend”,”title”:””,”type”:”stickyRelated”,”enabled”:true,”playerId”:”bD0ohhX8″},{“playlistId”:””,”pageSelector”:”body.single, body.page:not(.home)”,”devices”:[“mobile”],”mobileLocation”:”top-center”,”description”:””,”skip”:1,”title”:””,”type”:”stickyRelated”,”enabled”:true,”elementSelector”:”.entry-content > p “,”id”:4050762,”position”:”afterend”,”saveVideoCloseState”:false,”shuffle”:false,”mobileHeaderSelector”:”.feastmobilenavbar”,”playerId”:”bD0ohhX8″},{“playlistId”:”3bq9bq6Y”,”pageSelector”:”body.single, body.page:not(.home)”,”devices”:[“mobile”],”mobileLocation”:”top-center”,”description”:””,”skip”:1,”title”:”MY OTHER VIDEOS”,”type”:”stickyPlaylist”,”enabled”:true,”footerSelector”:””,”elementSelector”:”.entry-content > p”,”id”:4050764,”position”:”afterend”,”saveVideoCloseState”:false,”shuffle”:true,”mobileHeaderSelector”:”.feastmobilenavbar”,”playerId”:”a6xDAtoQ”},{“playlistId”:”3bq9bq6Y”,”pageSelector”:”body.single, body.page:not(.home)”,”devices”:[“desktop”],”description”:””,”skip”:1,”title”:”MY OTHER VIDEOS”,”type”:”stickyPlaylist”,”enabled”:true,”footerSelector”:””,”elementSelector”:”.entry-content > p”,”id”:4050763,”position”:”afterend”,”saveVideoCloseState”:false,”shuffle”:true,”playerId”:”a6xDAtoQ”}],”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”:false,”mobile”:{“enabled”:true},”desktop”:{“enabled”:true},”blockedPageSelectors”:””,”allowForPageWithStickyPlayer”:{“enabled”:false}},”sharethrough”:true,”rubicon”:true,”appNexus”:true,”conversant”:true,”tripleLift”:true,”openx”:true,”pubMatic”:true,”spotx”:true,”indexExchange”:true}}};]]> Sheet Pan Salmon and Broccoli with Garlic and Parmesan – Julia’s Album 1.5*window.innerHeight?d:null},ma=function(d,a,b){void 0===b&&(b=document);var c=la(b),e=c?[c]:[],f=[];d.forEach(function(h){var l=Array.from(b.querySelectorAll(h.elementSelector)).slice(0,h.skip);ka(h.elementSelector).forEach(function(k){var u=b.querySelectorAll(k);k=function(r){var m=u[r];if(a.map.some(function(z){return z.el.isEqualNode(m)}))return”continue”;(r=m&&m.parentElement)&&r!==document.body?e.push(r):e.push(m);-1===l.indexOf(m)&&f.push({dynamicAd:h,element:m})};for(var q= 0;qc.offsetHeight?e:c})||document.body,a]},oa=function(d){void 0===d&&(d=navigator.userAgent);return/Windows NT|Macintosh/i.test(d)},A;(function(d){d.Prebid= “prebid”;d.GAM=”gam”;d.Amazon=”amazon”;d.WebVitals=”webvitals”;d.Marmalade=”marmalade”;d.Floors=”floors”;d.CMP=”cmp”})(A||(A={}));var C;(function(d){d.fpvNonLazy=”fpvNonLazy”;d.lazy=”lazy”;d.refresh=”refresh”;d.session=”session”;d.crossDomain=”crossdomain”;d.highSequence=”highsequence”})(C||(C={}));var S;(function(d){d.prebidLoad=”prebidLoad”;d.amazonLoad=”amazonLoad”;d.gptLoad=”gptLoad”})(S||(S={}));var H;(function(d){d.Desktop=”desktop”;d.Mobile=”mobile”})(H||(H={}));var D;(function(d){d.Video_Collapse_Autoplay_SoundOff= “Video_Collapse_Autoplay_SoundOff”;d.Video_Individual_Autoplay_SOff=”Video_Individual_Autoplay_SOff”;d.Video_Coll_SOff_Smartphone=”Video_Coll_SOff_Smartphone”;d.Video_In_Post_ClicktoPlay_SoundOn=”Video_In-Post_ClicktoPlay_SoundOn”})(D||(D={}));var T;(T||(T={})).None=”none”;var U;(function(d){d.WEIGHTEDCHOICE=”weightedChoice”;d.BERNOULLITRIAL=”bernoulliTrial”})(U||(U={}));var V;(function(d){d.INTEGER=”integer”;d.FLOAT=”float”;d.BOOLEAN=”boolean”;d.STRING=”string”})(V||(V={}));var W;(function(d){d.DESKTOP= “desktop”;d.MOBILE=”mobile”;d.ALL=”all”})(W||(W={}));var E;(function(d){d.AdDensity=”addensity”;d.FooterCloseButton=”footerclose”;d.Interstitial=”interstitial”;d.RemoveVideoTitleWrapper=”removevideotitlewrapper”;d.StickyOutstream=”stickyoutstream”;d.StickyOutstreamOnStickyPlayer=”sospp”;d.VideoAdvancePlaylistRelatedPlayer=”videoadvanceplaylistrp”;d.MobileStickyPlayerPosition=”mspp”})(E||(E={}));var pa=function(d,a){var b=d.adDensityEnabled;d=d.adDensityLayout.pageOverrides.find(function(c){return!!document.querySelector(c.pageSelector)&& (c[a].onePerViewport||”number”===typeof c[a].adDensity)});return b?!d:!0};A=function(){function d(){this._timeOrigin=0}d.prototype.resetTimeOrigin=function(){this._timeOrigin=window.performance.now()};d.prototype.now=function(){try{return Math.round(window.performance.now()-this._timeOrigin)}catch(a){return 0}};return d}();window.adthrive.windowPerformance=window.adthrive.windowPerformance||new A;A=window.adthrive.windowPerformance;var P=A.now.bind(A),X=function(d){try{return{valid:!0,elements:document.querySelectorAll(d)}}catch(a){return x({valid:!1}, a)}},Y=function(d){return””===d?{valid:!0}:X(d)},n=new (function(){function d(){}d.prototype.info=function(a,b){for(var c=[],e=2;ea.top+a.height/2&&0a.top+a.height/2};d.playerVisible=function(a){a=a.getBoundingClientRect();return window.innerHeight>a.top};d.createQueryString= function(a){return Object.keys(a).map(function(b){return””.concat(b,”=”).concat(a[b])}).join(“&”)};d.createEncodedQueryString=function(a){return Object.keys(a).map(function(b){return””.concat(b,”=”).concat(encodeURIComponent(a[b]))}).join(“&”)};d.setMobileLocation=function(a){a=a||”bottom-right”;”top-left”===a?a=”adthrive-collapse-top-left”:”top-right”===a?a=”adthrive-collapse-top-right”:”bottom-left”===a?a=”adthrive-collapse-bottom-left”:”bottom-right”===a?a=”adthrive-collapse-bottom-right”:”top-center”=== a&&(a=R()?”adthrive-collapse-top-center”:”adthrive-collapse-bottom-right”);return a};return d}(),ta=function(){return function(d){this._clsOptions=d;this.removeVideoTitleWrapper=t(this._clsOptions.siteAds.adOptions.removeVideoTitleWrapper,!1);d=this._clsOptions.siteAds.videoPlayers;this.footerSelector=t(d&&d.footerSelector,””);this.players=t(d&&d.players.map(function(a){a.mobileLocation=sa.setMobileLocation(a.mobileLocation);return a}),[]);this.contextualSettings=d&&d.contextual}}(),ua=function(){return function(d){this.contextualPlayerAdded= this.playlistPlayerAdded=this.mobileStickyPlayerOnPage=!1;this.footerSelector=””;this.removeVideoTitleWrapper=!1;this.videoAdOptions=new ta(d);this.players=this.videoAdOptions.players;this.contextualSettings=this.videoAdOptions.contextualSettings;this.removeVideoTitleWrapper=this.videoAdOptions.removeVideoTitleWrapper;this.footerSelector=this.videoAdOptions.footerSelector}}();C=function(){return function(){}}();var aa=function(d){function a(b){var c=d.call(this)||this;c._probability=b;return c}B(a, d);a.prototype.get=function(){if(0>this._probability||1 div {n flex-basis: unset;n position: sticky !important;n display: block;n flex-direction: column;n top: 5px;n }n “);var a=void 0;void 0===a&&(a={});a=a.insertAt;if(d&&”undefined”!==typeof document){var b=document.head||document.getElementsByTagName(“head”)[0],c=document.createElement(“style”);c.type=”text/css”;”top”===a?b.firstChild? b.insertBefore(c,b.firstChild):b.appendChild(c):b.appendChild(c);c.styleSheet?c.styleSheet.cssText=d:c.appendChild(document.createTextNode(d))}},ca=function(d){function a(b,c){void 0===b&&(b=[]);var e=d.call(this)||this;e._choices=b;e._default=c;return e}B(a,d);a.fromArray=function(b,c){return new a(b.map(function(e){e=p(e,2);return{choice:e[0],weight:e[1]}}),c)};a.prototype.addChoice=function(b,c){this._choices.push({choice:b,weight:c})};a.prototype.get=function(){var b,c=100*Math.random(),e=0;try{for(var f= J(this._choices),g=f.next();!g.done;g=f.next()){var h=g.value,l=h.choice;e+=h.weight;if(e>=c)return l}}catch(u){var k={error:u}}finally{try{g&&!g.done&&(b=f.return)&&b.call(f)}finally{if(k)throw k.error;}}return this._default};Object.defineProperty(a.prototype,”totalWeight”,{get:function(){return this._choices.reduce(function(b,c){return b+c.weight},0)},enumerable:!1,configurable:!0});return a}(C),Da=function(d){for(var a=5381,b=d.length;b;)a=33*a^d.charCodeAt(–b);return a>>>0},K=new (function(){function d(){var a= this;this.name=”Session”;this.disable=!1;this.removeSessionValue=function(b){window.localStorage.removeItem(“adthrive_”.concat(b.toLowerCase()))};this.getSessionValue=function(b,c,e){void 0===e&&(e=!1);if(a.disable)return null;try{var f=window.localStorage.getItem(“adthrive_”.concat(b.toLowerCase()));if(f){var g=JSON.parse(f),h=void 0!==c&&Date.now()-g.created>=c;if(g&&!h)return e&&a.setSessionValue(b,g.value),g.value}}catch(l){}return null};this.setSessionValue=function(b,c){try{var e={value:c,created:Date.now()}; window.localStorage.setItem(“adthrive_”.concat(b.toLowerCase()),JSON.stringify(e))}catch(f){}};this.getOrSetSessionValue=function(b,c,e,f,g){void 0===f&&(f=!0);e=a.getSessionValue(b,e,f);if(null!==e)return e;c=c();a.setSessionValue(b,c);g&&g(c);return c};this.getOrSetABGroupSessionValue=function(b,c,e,f,g){var h;void 0===f&&(f=!0);e=a.getSessionValue(“abgroup”,e,f);if(null!==e&&(f=e[b],void 0!==f&&null!==f))return f;c=c();b=x(x({},e),(h={},h[b]=c,h));a.setSessionValue(“abgroup”,b);g&&g();return c}} d.prototype.init=function(){};return d}()),Ea=function(){return function(d,a,b){var c=b.value;c&&(b.value=function(){for(var e=this,f,g=[],h=0;h %o”,”No experiment config found. Defaulting to control.”), “control”;if(!this._mappedChoices||0===this._mappedChoices.length)return n.error(“CLSWeightedChoiceSiteExperiment”,”run”,”() => %o”,”No experiment variants found. Defaulting to control.”),”control”;var b=(new ca(this._mappedChoices)).get();if(this._isValidResult(b))return b;n.error(“CLSWeightedChoiceSiteExperiment”,”run”,”() => %o”,”Invalid result from experiment choices. Defaulting to control.”);return”control”};return a}(function(){function d(){}Object.defineProperty(d.prototype,”enabled”,{get:function(){return void 0!== this.experimentConfig},enumerable:!1,configurable:!0});d.prototype._isValidResult=function(a,b){void 0===b&&(b=function(){return!0});return b()&&K.isValidABGroupSessionValue(a)};return d}());var Fa=function(){function d(a){var b=this,c,e;this.siteExperiments=[];this._clsOptions=a;this._device=R()?”mobile”:”desktop”;this.siteExperiments=null!==(e=null===(c=this._clsOptions.siteAds.siteExperiments)||void 0===c?void 0:c.filter(function(f){var g=f.key;var h=b._device;if(f){var l=!!f.enabled,k=null==f.dateStart|| Date.now()>=f.dateStart,u=null==f.dateEnd||Date.now() %o”,”No experiment config found. Defaulting to control.”),”control”;var b=(new ca(this._mappedChoices)).get();if(this._isValidResult(b))return b;n.error(“CLSTargetAdDensitySiteExperiment”,”run”,”() => %o”, “Invalid result from experiment choices. Defaulting to control.”);return”control”};a.prototype._mapChoices=function(){return this._choices.map(function(b){var c=b.value;return{weight:b.weight,choice:”number”===typeof c?(c||0)/100:”control”}})};Q([Ea(),I(“design:type”,Function),I(“design:paramtypes”,[]),I(“design:returntype”,void 0)],a.prototype,”run”,null);return a}(C),da=function(d,a,b,c,e,f){d=Math.round(f-e);a=[];e=[];a.push(“(“,b.map(function(){return”%o”}).join(“, “),”)”);e.push.apply(e,w([], p(b),!1));void 0!==c&&(a.push(” => %o”),e.push(c));a.push(” %c(“.concat(d,”ms)”));e.push(“color: #999;”)},ea=function(d,a,b){var c=void 0!==b.get?b.get:b.value;return function(){for(var e=[],f=0;f=b.desktop?”desktop”:e>=c?”tablet”:”phone”;this._device=b;this._config=new Aa(a);this._clsOptions.enabledLocations=this._config.enabledLocations;this._clsTargetAdDensitySiteExperiment=this._clsOptions.siteAds.siteExperiments?new Ga(this._clsOptions):null}d.prototype.start=function(){var a=this,b,c,e,f; try{Ba(this._device);var g=za(this._device,this._clsOptions.siteAds.adUnits).filter(function(k){return a._locationEnabled(k)}).filter(function(k){return k.devices.includes(a._device)}).filter(function(k){return 0===k.pageSelector.length||null!==document.querySelector(k.pageSelector)}),h=this.inject(g),l=new Ia;(null===(c=null===(b=this._clsOptions.siteAds.adOptions.stickyContainerConfig)||void 0===b?void 0:b.content)||void 0===c?0:c.enabled)&&l.result&&Ca(null===(f=null===(e=this._clsOptions.siteAds.adOptions.stickyContainerConfig)|| void 0===e?void 0:e.content)||void 0===f?void 0:f.minHeight);h.forEach(function(k){return a._clsOptions.setInjectedSlots(k)})}catch(k){n.error(“ClsDynamicAdsInjector”,”start”,k)}};d.prototype.inject=function(a,b){void 0===b&&(b=document);this._densityDevice=”desktop”===this._device?H.Desktop:H.Mobile;this._overrideDefaultAdDensitySettingsWithSiteExperiment();var c=this._clsOptions.siteAds,e=t(c.adDensityEnabled,!0),f=c.adDensityLayout&&e;c=a.filter(function(g){return f?”Content”!==g.location:g}); a=a.filter(function(g){return f?”Content”===g.location:null});return w(w([],p(c.length?this._injectNonDensitySlots(c,b):[]),!1),p(a.length?this._injectDensitySlots(a,b):[]),!1)};d.prototype._injectNonDensitySlots=function(a,b){var c,e=this;void 0===b&&(b=document);var f=[],g=[];try{for(var h=J(a),l=h.next();!l.done;l=h.next()){var k=l.value,u=0,q=0,r=0;0m.length)return”break”; var F=z[v];if(0=this._mainContentHeight&&1h._smallerIncrementAttempts&&(++h._smallerIncrementAttempts,l(h._getSmallerIncrement(k)))};a=this._getInsertEvery(a,b,f);l(a)};d.prototype._getSmallerIncrement=function(a){a*=.6;ah;g.sequence=e;g.lazy=h;if(f=a._addContentAd(f,g,c))g.used=!0,b.push(f)});return b};d.prototype._getInsertEvery=function(a,b,c){this._moreAvailableElementsThanUnitsToInject(c,a)?(this._usedAbsoluteMinimum=!1,a=this._useWiderSpacing(c,a)):(this._usedAbsoluteMinimum=!0,a=this._useSmallestSpacing(b));return b&&window.innerHeight> a?window.innerHeight:a};d.prototype._useWiderSpacing=function(a,b){return this._mainContentHeight/Math.min(a,b)};d.prototype._useSmallestSpacing=function(a){return a&&window.innerHeight>this._absoluteMinimumSpacingByDevice?window.innerHeight:this._absoluteMinimumSpacingByDevice};d.prototype._moreAvailableElementsThanUnitsToInject=function(a,b){return this._totalAvailableElements.length>a||this._totalAvailableElements.length>b};d.prototype._logDensityInfo=function(a,b,c){a=this._pubLog;a.onePerViewport; a.targetDensity;a.combinedMax};d.prototype._checkElementSpacing=function(a){var b=a.dynamicAd,c=a.element,e=a.insertEvery,f=a.targetAll;a=a.target;a=void 0===a?document:a;(this._isFirstAdInjected()||this._hasProperSpacing(c,b,f,e))&&this._markSpotForContentAd(c,x({},b),a)};d.prototype._isFirstAdInjected=function(){return!this._adInjectionMap.map.length};d.prototype._markSpotForContentAd=function(a,b,c){void 0===c&&(c=document);this._adInjectionMap.add(a,this._getElementCoords(a,”beforebegin”===b.position|| “afterbegin”===b.position),b,c);this._adInjectionMap.sort()};d.prototype._hasProperSpacing=function(a,b,c,e){var f=”beforebegin”===b.position||”afterbegin”===b.position;b=”beforeend”===b.position||”afterbegin”===b.position;c=c||this._isElementFarEnoughFromOtherAdElements(a,e,f);f=b||this._isElementNotInRow(a,f);a=-1===a.id.indexOf(“AdThrive_”.concat(“Below_Post”));return c&&f&&a};d.prototype._isElementFarEnoughFromOtherAdElements=function(a,b,c){a=this._getElementCoords(a,c);var e=!1;for(c=0;cthis._adInjectionMap.map[c].coords&&(!e||a+bb.skip)return e.elements[b.skip];n.event(“VideoUtils”,”getPlacementElement”,Error(“ESNF: “.concat(b.elementSelector,” does not exist on the page”)));return 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,c,e){“collapse”===c?this._createCollapsePlayer(b,e):”static”===c&&this._createStaticPlayer(b,e)};a.prototype._createCollapsePlayer=function(b,c){var e=this._checkPlayerSelectorOnPage(“stickyRelated”),f=e.player;e=e.playerElement;var g=f?f:this._potentialPlayerMap.stationaryRelated[0]; g&&g.playerId?(this._shouldOverrideElement(c)&&(c=this._getOverrideElement(f,e,c)),c=document.querySelector(“#cls-video-container-“.concat(b,” > div”))||c,this._createStickyRelatedPlayer(x(x({},g),{mediaId:b}),c)):n.error(this._component,”_createCollapsePlayer”,”No video player found”)};a.prototype._createStaticPlayer=function(b,c){this._potentialPlayerMap.stationaryRelated.length&&this._potentialPlayerMap.stationaryRelated[0].playerId?this._createStationaryRelatedPlayer(x(x({},this._potentialPlayerMap.stationaryRelated[0]), {mediaId:b}),c):n.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,c=”VideoManagerComponent”===b,e=this._config;if(this._stickyRelatedOnPage)n.event(b,”stickyRelatedOnPage”,c&&{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):n.event(b,”noStickyPlaylist”,c&&{vendor:”none”,device:e&&e.context.device,isDesktop:this._device}||{})}};a.prototype._initializeRelatedPlayers=function(b){for(var c=0;c

Source

Leave a Reply

Your email address will not be published.