1document.addEventListener("DOMContentLoaded",function(){function w(a,b){b=Math.round(b);if(void 0!=a||null!=a)-1!=a.indexOf("scene7.com")?(a=new URL(a),a.searchParams.set("hei",b),a=a.toString()):(-1<a.indexOf("im\x3dResize")&&(a=a.split("?")[0]),a=a+"?im\x3dResize\x3d("+b+")");return a}function x(a,b){a=b.querySelector(".image-video-poster");var e=b.querySelector(".video-play");b=b.querySelector(".video-youtube");null!=a&&a.setAttribute("hidden","");null!=e&&(e.removeAttribute("hidden"),null!=e&& 2e.play());if(null!=b)if(b.removeAttribute("hidden"),a=b.getAttribute("data-id"),b=b.getAttribute("data-video-id"),-1==window.location.href.indexOf("hershey-foodservice")&&-1==window.location.hostname.indexOf("hersheyfoodservice"))new YT.Player(a,{height:"390",width:"640",host:"https://www.youtube-nocookie.com",videoId:b,playerVars:{autoplay:1,controls:1}});else{var y=function(){var g=c.getPlayerState(),h=Math.round(c.getCurrentTime()/p*100)/100;1==g?0<=h&&!q?(q=!0,k("videoStart",c.getVideoUrl())): 3.25<=h&&!r?(r=!0,k("videoMilestone25",c.getVideoUrl())):.5<=h&&!t?(t=!0,k("videoMilestone50",c.getVideoUrl())):.75<=h&&!u&&(u=!0,k("videoMilestone75",c.getVideoUrl())):0==g&&(u=t=r=q=!1,k("videoComplete",c.getVideoUrl()),clearInterval(l),l=null)},k=function(g,h){window.adobeDataLayer.push({event:g,video:{player:"html5",name:h}})};new YT.Player(a,{height:"390",width:"640",host:"https://www.youtube-nocookie.com",videoId:b,playerVars:{autoplay:1,controls:1},events:{onReady:function(g){c=g.target;p=c.getDuration(); 410<p&&(l=setInterval(y,500))},onStateChange:function(g){1==c.getPlayerState()&&null==l&&(l=setInterval(y,500))}}});var p=null,c=null,l=null,q=!1,r=!1,t=!1,u=!1}}for(var z=document.querySelectorAll(".storytelling-comp"),d=document.querySelectorAll(".storytelling-comp-player"),f=0;f<d.length;f++)for(var m=d[f].offsetWidth,v=d[f].querySelectorAll(".stryIcon"),n=0;n<v.length;n++){var A=w(v[n].getAttribute("src"),m);v[n].setAttribute("src",A)}$(".split-callout-carousel .owl-carousel").on("initialized.owl.carousel", 5function(a){a=$(".storytelling img").each(function(){$(this).attr("src")});var b=$(".owl-item .stryIcon");
5""!=a.attr("src")&&b.each(function(){var e=$(this).parent().width();e=w($(this).attr("src"),e);$(this).attr("src",e)})});d={};for(f=0;f<z.length;d={$jscomp$loop$prop$item$3:d.$jscomp$loop$prop$item$3},f++){d.$jscomp$loop$prop$item$3=z[f];m=d.$jscomp$loop$prop$item$3.querySelector(".play-button");if(null==m)return;m.addEventListener("click",function(a){return function(b){x(b,a.$jscomp$loop$prop$item$3)}}(d)); 6m.addEventListener("keydown",function(a){return function(b){b.which.toString().match(/32|13/)&&x(b,a.$jscomp$loop$prop$item$3)}}(d))}Array.prototype.slice.call(document.querySelectorAll(".storytelling video")).forEach(function(a){a.addEventListener("play",function(){Array.prototype.slice.call(document.querySelectorAll(".video-play")).forEach(function(b){b!=a&&b.pause()})})})});
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.