1!function(e,t){"use strict";"function"==typeof define&&define.amd?define(t):"object"==typeof exports?module.exports=t():e.baguetteBox=t()}(this,function(){"use strict";var e,t,n,o,i,a='<svg width="44" height="60"><polyline points="30 10 10 30 30 50" stroke="rgba(255,255,255,0.5)" stroke-width="4"stroke-linecap="butt" fill="none" stroke-linejoin="round"/></svg>',l='<svg width="44" height="60"><polyline points="14 10 34 30 14 50" stroke="rgba(255,255,255,0.5)" stroke-width="4"stroke-linecap="butt" fill="none" stroke-linejoin="round"/></svg>',s='<svg width="30" height="30"><g stroke="rgb(160,160,160)" stroke-width="4"><line x1="5" y1="5" x2="25" y2="25"/><line x1="5" y1="25" x2="25" y2="5"/></g></svg>',r={},u={captions:!0,buttons:"auto",fullScreen:!1,noScrollbars:!1,bodyClass:"baguetteBox-open",titleTag:!1,async:!1,preload:2,animation:"slideIn",afterShow:null,afterHide:null,onChange:null,overlayBackgroundColor:"rgba(0,0,0,.8)",closeX:s,leftArrow:a,rightArrow:l},c={},d=[],f=0,g=!1,b={},p=!1,v=/.+\.(gif|jpe?g|png|webp|avif)/i,h={},y=[],$=null,m=function(e){-1!==e.target.id.indexOf("baguette-img")&&P()},_=function(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0,M()},k=function(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0,q()},w=function(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0,P()},x=function(e){b.count++,b.count>1&&(b.multitouch=!0),b.startX=e.changedTouches[0].pageX,b.startY=e.changedTouches[0].pageY},C=function(e){if(!p&&!b.multitouch){e.preventDefault?e.preventDefault():e.returnValue=!1;var t=e.touches[0]||e.changedTouches[0];t.pageX-b.startX>40?(p=!0,M()):t.pageX-b.startX<-40?(p=!0,q()):b.startY-t.pageY>100&&P()}},E=function(){b.count--,b.count<=0&&(b.multitouch=!1),p=!1},B=function(){E()},T=function(t){"block"===e.style.display&&e.contains&&!e.contains(t.target)&&(t.stopPropagation(),H())};function A(e){if(h.hasOwnProperty(e)){var t=h[e].galleries;[].forEach.call(t,function(e){[].forEach.call(e,function(e){z(e.imageElement,"click",e.eventHandler)}),d===e&&(d=[])}),delete h[e]}}function L(e){var t,n;switch(e.keyCode){case 37:M();break;case 39:q();break;case 27:P();break;case 36:t=e,t&&t.preventDefault(),X(0);break;case 35:n=e,n&&n.preventDefault(),X(d.length-1)}}function N(a,l){if(d!==a){for(d=a,function a(l){for(var s in l||(l={}),u)r[s]=u[s],void 0!==l[s]&&(r[s]=l[s]);t.style.transition=t.style.webkitTransition="fadeIn"===r.animation?"opacity .4s ease":"slideIn"===r.animation?"":"none","auto"===r.buttons&&(("ontouchstart"in window)||1===d.length)&&(r.buttons=!1),n.style.display=o.style.display=r.buttons?"":"none",i.innerHTML=r.closeX,r.buttons&&(n.innerHTML=r.leftArrow,o.innerHTML=r.rightArrow);try{e.style.backgroundColor=r.overlayBackgroundColor}catch(c){}}(l);t.firstChild;)t.removeChild(t.firstChild);y.length=0;for(var s,c=[],f=[],g=0;g<a.length;g++)(s=V("div")).className="full-image",s.id="baguette-img-"+g,y.push(s),c.push("baguetteBox-figure-"+g),f.push("baguetteBox-figcaption-"+g),t.appendChild(y[g]);e.setAttribute("aria-labelledby",c.join(" ")),e.setAttribute("aria-describedby",f.join(" "))}}function S(t){r.noScrollbars&&(document.documentElement.style.overflowY="hidden",document.body.style.overflowY="scroll"),"block"!==e.style.display&&(R(document,"keydown",L),b={count:0,startX:null,startY:null},F(f=t,function(){j(f),D(f)}),I(),e.style.display="block",r.fullScreen&&(e.requestFullscreen?e.requestFullscreen():e.webkitRequestFullscreen?e.webkitRequestFullscreen():e.mozRequestFullScreen&&e.mozRequestFullScreen()),setTimeout(function(){e.className="visible",r.bodyClass&&document.body.classList&&document.body.classList.add(r.bodyClass),r.afterShow&&r.afterShow()},50),r.onChange&&r.onChange(f,y.length),$=document.activeElement,H(),g=!0)}function H(){r.buttons?n.focus():i.focus()}function P(){r.noScrollbars&&(document.documentElement.style.overflowY="auto",document.body.style.overflowY="auto"),"none"!==e.style.display&&(z(document,"keydown",L),e.className="",setTimeout(function(){e.style.display="none",document.fullscreen&&(document.exitFullscreen?document.exitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitExitFullscreen&&document.webkitExitFullscreen()),r.bodyClass&&document.body.classList&&document.body.classList.remove(r.bodyClass),r.afterHide&&r.afterHide(),$&&$.focus(),g=!1},500))}function F(e,t){var n=y[e],o=d[e];if(void 0!==n&&void 0!==o){if(n.getElementsByTagName("img")[0]){t&&t();return}var i=o.imageElement,a=i.getElementsByTagName("img")[0],l="function"==typeof r.captions?r.captions.call(d,i):i.getAttribute("data-caption")||i.title,s=function e(t){var n=t.href;if(t.dataset){var o=[];for(var i in t.dataset)"at-"!==i.substring(0,3)||isNaN(i.substring(3))||(o[i.replace("at-","")]=t.dataset[i]);for(var a=Object.keys(o).sort(function(e,t){return parseInt(e,10)<parseInt(t,10)?-1:1}),l=window.innerWidth*window.devicePixelRatio,s=0;s<a.length-1&&a[s]<l;)s++;n=o[a[s]]||n}return n}(i),u=V("figure");
1if(u.id="baguetteBox-figure-"+e,u.innerHTML='<div class="baguetteBox-spinner"><div class="baguetteBox-double-bounce1"></div><div class="baguetteBox-double-bounce2"></div></div>',r.captions&&l){var c=V("figcaption");c.id="baguetteBox-figcaption-"+e,c.innerHTML=l,u.appendChild(c)}n.appendChild(u);var f=V("img");f.onload=function(){var n=document.querySelector("#baguette-img-"+e+" .baguetteBox-spinner");u.removeChild(n),!r.async&&t&&t()},f.setAttribute("src",s),f.alt=a&&a.alt||"",r.titleTag&&l&&(f.title=l),u.appendChild(f),r.async&&t&&t()}}function q(){return X(f+1)}function M(){return X(f-1)}function X(e,t){return!g&&e>=0&&e<t.length?(N(t,r),S(e),!0):e<0?(r.animation&&Y("left"),!1):e>=y.length?(r.animation&&Y("right"),!1):(F(f=e,function(){j(f),D(f)}),I(),r.onChange&&r.onChange(f,y.length),!0)}function Y(e){t.className="bounce-from-"+e,setTimeout(function(){t.className=""},400)}function I(){var e,n=-f*("rtl"===document.querySelectorAll("html")[0].getAttribute("dir")?-100:100)+"%";"fadeIn"===r.animation?(t.style.opacity=0,setTimeout(function(){c.transforms?t.style.transform=t.style.webkitTransform="translate3d("+n+",0,0)":t.style.left=n,t.style.opacity=1},400)):c.transforms?t.style.transform=t.style.webkitTransform="translate3d("+n+",0,0)":t.style.left=n}function j(e){!(e-f>=r.preload)&&F(e+1,function(){j(e+1)})}function D(e){!(f-e>=r.preload)&&F(e-1,function(){D(e-1)})}function R(e,t,n,o){e.addEventListener&&e.addEventListener(t,n,o)}function z(e,t,n,o){e.removeEventListener&&e.removeEventListener(t,n,o)}function O(e){return document.getElementById(e)}function V(e){return document.createElement(e)}return{run:function r(u,d){var f,g,b,p,y,$;return c.transforms=(f=V("div"),void 0!==f.style.perspective||void 0!==f.style.webkitPerspective),c.svg=(g=V("div"),g.innerHTML="<svg/>","http://www.w3.org/2000/svg"===(g.firstChild&&g.firstChild.namespaceURI)),c.passiveEvents=function e(){var t=!1;try{var n=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("test",null,n)}catch(o){}return t}(),function r(){var u,d;if(e=O("baguetteBox-overlay")){t=O("baguetteBox-slider"),n=O("previous-button"),o=O("next-button"),i=O("close-button");return}(e=V("div")).setAttribute("role","dialog"),e.id="baguetteBox-overlay",document.getElementsByTagName("body")[0].appendChild(e),(t=V("div")).id="baguetteBox-slider",e.appendChild(t),(n=V("button")).setAttribute("type","button"),n.id="previous-button",n.setAttribute("aria-label","Previous"),n.innerHTML=c.svg?a:"<",e.appendChild(n),(o=V("button")).setAttribute("type","button"),o.id="next-button",o.setAttribute("aria-label","Next"),o.innerHTML=c.svg?l:">",e.appendChild(o),(i=V("button")).setAttribute("type","button"),i.id="close-button",i.setAttribute("aria-label","Close"),i.innerHTML=c.svg?s:"×",e.appendChild(i),n.className=o.className=i.className="baguetteBox-button",u=c.passiveEvents?{passive:!1}:null,d=c.passiveEvents?{passive:!0}:null,R(e,"click",m),R(n,"click",_),R(o,"click",k),R(i,"click",w),R(t,"contextmenu",B),R(e,"touchstart",x,d),R(e,"touchmove",C,u),R(e,"touchend",E),R(document,"focus",T,!0)}(),A(u),b=u,p=d,$={galleries:[],nodeList:y=document.querySelectorAll(b)},h[b]=$,[].forEach.call(y,function(e){p&&p.filter&&(v=p.filter);var t=[];if(t="A"===e.tagName?[e]:e.getElementsByTagName("a"),0!==(t=[].filter.call(t,function(e){if(-1===e.className.indexOf(p&&p.ignoreClass))return v.test(e.href)})).length){var n=[];[].forEach.call(t,function(e,t){var o=function(e){e.preventDefault?e.preventDefault():e.returnValue=!1,N(n,p),S(t)};R(e,"click",o),n.push({eventHandler:o,imageElement:e})}),$.galleries.push(n)}}),$.galleries},show:X,showNext:q,showPrevious:M,hide:P,destroy:function a(){var l,s;l=c.passiveEvents?{passive:!1}:null,s=c.passiveEvents?{passive:!0}:null,z(e,"click",m),z(n,"click",_),z(o,"click",k),z(i,"click",w),z(t,"contextmenu",B),z(e,"touchstart",x,s),z(e,"touchmove",C,l),z(e,"touchend",E),z(document,"focus",T,!0),function e(){for(var t in h)h.hasOwnProperty(t)&&A(t)}(),z(document,"keydown",L),document.getElementsByTagName("body")[0].removeChild(document.getElementById("baguetteBox-overlay")),h={},d=[],f=0}}}),baguetteBox.run("#content"),baguetteBox.run("#nbc_intro");
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.