PageSourceSearch

https://variety.com/wp-content/themes/pmc-variety-2020/assets/build/js/page.js?ver=1790784174

js variety.com collected 2026-10-01 06:13:30 UTC 2,123 bytes, 1 lines download raw bytes

1(()=>{"use strict";class t{constructor(t){this.el=t,this.customInteraction="click",this.toggleEl=this.el.querySelectorAll(".js-TabsToggle"),this.panels=[...this.el.querySelectorAll(".js-TabsPanel")],this.onClick=this.onClick.bind(this),this.toggle=this.toggle.bind(this),this.deactivatePanels=this.deactivatePanels.bind(this),this.toggleEl.forEach((t=>t.addEventListener("click",this.onClick)))}onClick(t){t.currentTarget.classList.contains("is-active")?t.preventDefault():this.toggle(t)}toggle(t){const e=t.currentTarget,s=e.getAttribute("href"),l=this.el.querySelector(s);if(!l)return;const i=this.el.closest(".js-Tabs");t.preventDefault(),i.classList.add("is-changing"),this.deactivatePanels(),e.classList.add("is-active"),l.classList.add("is-active"),setTimeout((()=>{i.classList.remove("is-changing")}),50)}deactivatePanels(){const t=this.el.querySelectorAll(".js-TabsToggle.is-active, .js-TabsPanel.is-active");t&&0!==t.length&&t.forEach((t=>t.classList.remove("is-active")))}}class e{constructor(t){this.el=t,this.el.addEventListener("click",this.onClick.bind(this))}onClick(t){t.preventDefault();const e=document.querySelector(this.el.hash);if(null!==e){const t=this.el.closest('[data-collapsible="expanded"]');null!==t&&(t.classList.remove("is-expanded"),t.dataset.collapsible="collapsed");const s=window.pageYOffset||document.documentElement.scrollTop;let l=e.getBoundingClientRect().top+s;void 0!==e.dataset.scrolltoOffsetTop&&(l+=parseInt(e.dataset.scrolltoOffsetTop)),window.scrollTo({top:l,behavior:"smooth"})}}}window.addEventListener("DOMContentLoaded",(function(){!function(){const e=[...document.querySelectorAll(".js-Tabs")];e.length&&e.forEach((e=>e.pmcTabsManager=new t(e)))}(),[...document.querySelectorAll(".js-ScrollTo")].forEach((t=>new e(t)))})),window.addEventListener("load",(function(){"function"==typeof jQuery&&(jQuery.fn.fitVids=function(){}),"undefined"!=typeof jwplayer&&window.pmc_jwplayer&&window.pmc_jwplayer("jwplayer_TTy91oNt_yHdpIsEW_div").setup({playlist:"http://content.jwplatform.com/jw6/TTy91oNt.xml",repeat:!0,autostart:"viewable",mute:!0,controls:!0,stretching:"fill"})}))})();

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.