var embed=function(){function _popup(url,title,w,h,scrollbars){var left,top;w=w||1024,h=h||720,scrollbars=scrollbars||"yes",left=screen.width/2-w/2,top=screen.height/2-h/2,window.open(url,title,"toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars="+scrollbars+", resizable=no, copyhistory=no, width="+w+", height="+h+", top="+top+", left="+left)}return{popup:_popup,shareFB:function(url){return _popup(url="https://www.facebook.com/sharer/sharer.php?u="+encodeURIComponent(url),"facebook-dialog",626,436,!1),!1},shareTwitter:function(url,text,via){return url="https://twitter.com/share?url="+encodeURIComponent(url)+"&text="+encodeURIComponent(text),via&&(url+="&via=snapwidget"),_popup(url,"twitter-tweet-dialog",575,350,!1),!1},sharePinterest:function(url,text,image){return _popup(url="http://pinterest.com/pin/create/button/?url="+encodeURIComponent(url)+"&media="+encodeURIComponent(image)+"&description="+encodeURIComponent(text),"pinterest-dialog",575,350,!1),!1},imageError:function(el,size,id,ref){var rand=Math.floor(60*Math.random()+1);el.onerror=null,ref&&""!==ref?(el.src="https://snpimg.com/?ref="+ref,function(){ga&&ga("snapwidget.send","event","Error","Image Proxied",window.location.href);gtag&>ag("event","error",{event_category:"Image",event_label:"Proxied",value:window.location.href})}()):(el.src="/images/imageerrors/image"+rand+".jpeg?v=2",function(){ga&&ga("snapwidget.send","event","Error","Image Not Found",window.location.href);gtag&>ag("event","error",{event_category:"Image",event_label:"Not Found",value:window.location.href})}())},lightBox:function(type,id,carouselIndex){parent.postMessage({action:"lightbox",type:type,id:id,media:SnapWidget.media,carouselIndex:carouselIndex},"*")},carouselNavigate:function(itemCount,step){var element=document.getElementById("mediaImageWrapper-"+itemCount),navigationPrevious=document.getElementById("carouselNavigatePrevious-"+itemCount),navigationNext=document.getElementById("carouselNavigateNext-"+itemCount),currentCarouselIndex=parseInt(element.getAttribute("data-carousel-index")),itemCount=parseInt(element.getAttribute("data-carousel-count"));1===(currentCarouselIndex=itemCount<(currentCarouselIndex=(currentCarouselIndex+=step)<1?1:currentCarouselIndex)?itemCount:currentCarouselIndex)?(navigationPrevious.classList.add("hidden"),navigationNext.classList.remove("hidden")):currentCarouselIndex===itemCount?(navigationPrevious.classList.remove("hidden"),navigationNext.classList.add("hidden")):(navigationPrevious.classList.remove("hidden"),navigationNext.classList.remove("hidden")),element.setAttribute("data-carousel-index",currentCarouselIndex);for(var i=0,l=element.classList.length;i