Heres How Stephen Stills Helped the Bee Gees Craft a Disco Classic

Heres How Stephen Stills Helped the Bee Gees Craft a Disco Classic

`,forceHttps:“,prod:“}[t]||””}}let x;”undefined”!==typeof window&&window.TSM&&window.TSM.adApi?x=window.TSM.adApi:(x=new m,”undefined”!==typeof window&&(window.TSM=window.TSM||{},window.TSM.adApi=x));class S{constructor(t){this.callbackQ={},this.qTopPointer=0,this.params=d()({},S.defaults,t),this.ticking=!1,this.hasInitialized=!1}init(){const{root:t,rootMargin:e,threshold:o}=this.params;this.observer=new IntersectionObserver(this.params.eventHandler.bind(this),{root:t,rootMargin:e,threshold:o}),this.hasInitialized=!0}addToEventQ(t,e){this.hasInitialized||this.init();let o=this.qTopPointer;return this.callbackQ[o]=e,this.observer.observe(t),this.qTopPointer++,t.setAttribute(“data-cbId”,o),o}removeFromEventQ(t,e){this.observer.unobserve(t),delete this.callbackQ[e],t.removeAttribute(“data-cbId”)}}S.defaults={root:null,rootMargin:”0px”,threshold:[0],eventHandler:function(){}};const _=S;function j(t){t.forEach((t=>{let e=t.target.getAttribute(“data-cbId”);e&&(t.isIntersecting?this.callbackQ[e].call(this,t,!0):this.callbackQ[e].call(this,t,!1))}))}new _({root:null,rootMargin:”200%”,threshold:[0],eventHandler:j});const O=new _({root:null,rootMargin:”300px”,threshold:[0],eventHandler:j}),E=new _({root:null,rootMargin:”1500px”,threshold:[0],eventHandler:j}),I=(new _({root:null,rootMargin:”0px”,threshold:[1],eventHandler:j}),new _({root:null,rootMargin:”-120px”,threshold:function(t){let e=[];for(var o=0;o<=t;o++)e.push(o/t);return e}(100),eventHandler:j}),”.tsm-ad”),P=100,T=2e3;function A(t){const e=[];return t&&1===t.nodeType?(t.matches&&t.matches(I)&&e.push(t),t.querySelectorAll&&e.push(…t.querySelectorAll(I)),e):e}function C(t,e){window.googletag.cmd.push((()=>{e.forEach((({el:e,config:o,unitConfig:n})=>{const{adGroup:r}=o,{id:i,adSlot:s}=function(t,e){const{adUnitPath:o,targeting:n,adUnit:r,slotSize:i}=t,{gptParams:s={}}=e;let a=t.slotId,d=window.TSM.adSlots[a];return d?{id:a,adSlot:d}:(“tsm-out-of-page”===r||s.outOfPage?d=window.googletag.defineOutOfPageSlot(o,a):”interstitial”===r||s.interstitial?(d=window.googletag.defineOutOfPageSlot(o,window.googletag.enums.OutOfPageFormat.INTERSTITIAL),d&&(a=d.getSlotElementId())):d=window.googletag.defineSlot(o,i&&i.length?i:s.slotSize,a),d?(window.TSM.adSlots[a]=d,d.addService(window.googletag.pubads()),n&&Object.keys(n).length&&d.setConfig({targeting:n}),{id:a,adSlot:d}):{id:a,adSlot:null})}(o,n);s&&(i!==o.slotId&&(e.dataset.slotId=i,o.slotId=i),window.googletag.display(s),t.maybeApplyRoxotTargets(),!o.slotRequestedAttached&&n.callbacks&&n.callbacks.slotRequested&&n.callbacks.slotRequested.constructor===Array&&n.callbacks.slotRequested.length&&(o.slotRequestedAttached=!0,t.addSlotRequestedEvent((t=>{const{slot:e}=t;if(e.getSlotElementId()===i)for(let t=0;t{const n=e.filter((t=>window.TSM.adSlots[t.id]));if(!n.length)return;const r=n.map((t=>t.id));window.pbjs?window.pbjs.que.push((()=>{n.forEach((({id:t,adUnit:e,unitConfig:o})=>{let n=function(t,e,o,n){let r=!1;if(n.hasConfig)return!1;if(window.pbjs&&window.pbjs.adUnits&&window.pbjs.adUnits.constructor===Array){if(t.pbjsCode){const n=(window.pbjs.adUnits||[]).find((e=>e.code===t.pbjsCode));if(n){const t=JSON.parse(JSON.stringify(n));let r=new RegExp(t.code,”g”),i=new RegExp(“{{adUnit}}”,”g”);return JSON.parse(JSON.stringify(t).replace(r,o).replace(i,e))}}for(let t=0;t{const e=U;U=[],M=!1,z(t,e,!1)},window.googletag.cmd.push((()=>{window.pbjs?window.pbjs.que.push(e):e()})))}function k(t,e,o){t&&window.googletag.cmd.push((()=>{window.TSM.adSlots[t]&&(window.googletag.destroySlots([window.TSM.adSlots[t]]),delete window.TSM.adSlots[t],e.unregisterAdSlot(t),window.pbjs&&o&&o.isIncremental&&window.pbjs.que.push((()=>{window.pbjs.removeAdUnit(t)})))}))}const B=new Map;function $(t,e){const o=`${e}:${t}`;var n;return B.has(o)||B.set(o,new _({root:(n={offset:t}).root||null,rootMargin:n.offset||”200%”,threshold:n.threshold||[0],eventHandler:j})),B.get(o)}const F=new WeakMap;function q(t,e,o,n){const r=o.lazyloadOffset?$(o.lazyloadOffset,”load”):O,i=o.lazyloadOffset?$(o.lazyloadOffset,”unload”):E;let s=null,a=null,d=!1;const u=()=>{s&&(clearTimeout(s),s=null)},l=()=>{a&&(clearTimeout(a),a=null)},c=r.addToEventQ(t,((r,i)=>{i?(l(),u(),s=setTimeout((()=>{s=null,d||(d=!0,window.TSM.adSlots[o.slotId]||C(e,[{el:t,config:o,unitConfig:n}]),function(t,e,o){U.push({id:e.slotId,adUnit:e.adUnit,unitConfig:o}),R(t)}(e,o,n))}),P)):u()})),p=i.addToEventQ(t,((r,i)=>{i?l():(l(),a=setTimeout((()=>{a=null,d&&”true”!==t.dataset.impressionViewable&&(d=!1,k(o.slotId,e,n))}),T))}));F.set(t,{loadApi:r,loadCbId:c,unloadApi:i,unloadCbId:p,clearLoadTimer:u,clearUnloadTimer:l})}const L=function(t){if(“undefined”===typeof window)return;if(window.TSM=window.TSM||{},window.TSM.adSlotObserverInitialized)return;window.TSM.adSlotObserverInitialized=!0,window.googletag=window.googletag||{cmd:[]},window.googletag.cmd=window.googletag.cmd||[],window.TSM.adSlots=window.TSM.adSlots||{};const e=new WeakSet;function o(o){if(e.has(o))return null;e.add(o);const n=function(t){const e=t.dataset||{};let o,n={};try{n=e.targeting?JSON.parse(e.targeting):{}}catch(t){n={}}try{o=e.slotSize?JSON.parse(e.slotSize):void 0}catch(t){o=void 0}return{slotId:e.slotId,adUnit:e.adUnit,adGroup:e.adGroup||””,adUnitPath:e.adUnitPath||””,targeting:n,slotSize:o,lazyloadOffset:e.lazyloadOffset||null,includeInInitialSweep:”true”===e.includeInInitialSweep}}(o);if(!n.adUnit||!n.slotId)return null;const r=t.unitConfigs[n.adUnit];return r?{el:o,config:n,unitConfig:r}:null}function n(e){const n=o(e);n&&(C(t,[n]),q(n.el,t,n.config,n.unitConfig))}function r(e){!function(t){const e=F.get(t);e&&(e.clearLoadTimer(),e.clearUnloadTimer(),e.loadApi.removeFromEventQ(t,e.loadCbId),e.unloadApi.removeFromEventQ(t,e.unloadCbId),F.delete(t))}(e);const o=e.dataset||{};k(o.slotId,t,t.unitConfigs[o.adUnit])}window.googletag.cmd.push((()=>{window.googletag.pubads().addEventListener(“impressionViewable”,(t=>{const e=t.slot.getSlotElementId(),o=document.getElementById(e),n=o&&o.parentNode;n&&(n.dataset.impressionViewable=”true”)})),window.googletag.pubads().addEventListener(“slotRenderEnded”,(t=>{const e=t.slot.getSlotElementId(),o=document.getElementById(e),n=o&&o.parentNode;n&&”true”===n.dataset.maintainHeight&&!t.isEmpty&&t.size&&2===t.size.length&&(n.style.height=t.size[1]+”px”)}))}));const i=A(document.documentElement).map(o).filter(Boolean);i.length&&(C(t,i),window.googletag.cmd.push((()=>{let e,o;e=[],o=[],i.forEach((t=>{const n=t.config.lazyloadOffset?function(t,e){const o=parseFloat(t);return isNaN(o)?e:o}(t.config.lazyloadOffset,300):300;(t.config.includeInInitialSweep||function(t,e){const o=t.getBoundingClientRect();return o.bottom>=-e&&o.top<=window.innerHeight+e}(t.el,n)?e:o).push(t)})),z(t,e.map((t=>({id:t.config.slotId,adUnit:t.config.adUnit,unitConfig:t.unitConfig}))),!0),o.forEach((e=>{q(e.el,t,e.config,e.unitConfig)}))}))),new MutationObserver((t=>{t.forEach((t=>{t.removedNodes.forEach((t=>{A(t).forEach(r)}))})),t.forEach((t=>{t.addedNodes.forEach((t=>{A(t).forEach(n)}))}))})).observe(document.documentElement,{childList:!0,subtree:!0})};L(x)})()})();

View Original Article Here

Rock

Products You May Like

Articles You May Like

Wheeling, WV Native Joshua Heatherington to Host Smack Fighting Championships in Philadelphia on September 19 Featuring Crip Mac and Jack Doherty 
Sophie Okonedo Has Always Been One of Our Great Actors. Finally, the Movies Are Catching Up
Closing Night Review: Sarah Paulson and Naomi Watts Lead a Deluxe Cast in a Shrill Family Melodrama in Search of a Binding Tone
Inside the Audio-Visual Canvas: Anthony Baglino on Fusing Jazz, Electronic Sound, and Surrealism
The Independent Artists New Studio: From an Idea in Your Head to Digital Platforms Without Breaking the Bank