PageSourceSearch

https://www.devilspunchbowlhotel.co.uk/wp-content/themes/devils-punch-bowl/js/spd-scripts-min.js?ver=20124206

js devilspunchbowlhotel.co.uk collected 2026-10-08 23:08:11 UTC 36,545 bytes, 19 lines download raw bytes

1$(document).ready((function(){function e(){!1===$stickyState&&(sticky=new Waypoint.Sticky({element:$("#site-navigation")[0]}),$stickyState=!0)}function t(){!0===$stickyState&&(sticky.destroy(),$stickyState=!1)}$menuButton=$("#menu-button"),$menu=$("#site-navigation"),w=$(window).width(),$stickyState=!1,$faqButton=$(".faq-button"),$faqAnswer=$(".faq-answer"),$faqPrivacyButton=$(".faq-privacy-button"),$faqPrivacyAnswer=$(".long-answer"),$subMenuButton=$(".open-sub-nav"),$subMenuLink=$(".no-top-level-page > a"),$subMenu=$(".sub-menu"),$(window).width()>769&&e(),$menuButton.on("click",(function(e){var t;e.preventDefault(),$(this).toggleClass("open"),$menu.slideToggle(),"false"==$(this).attr("aria-expanded")?$(this).attr("aria-expanded","true"):$(this).attr("aria-expanded","false")})),$subMenuButton.on("click",(function(e){$(window).width()<769&&(e.preventDefault(),$subMenu.is(":visible")&&$subMenu.slideUp(),$(this).parent().children("ul").is(":hidden")&&$(this).parent().children("ul").slideToggle())})),$(window).resize((function(){var e=$
1(window).width();e>769&&$menu.is(":hidden")&&$menu.removeAttr("style"),e>769&&$subMenu.removeAttr("style")})),$(".entry-content").fitVids(),$faqButton.on("click",(function(e){e.preventDefault(),$faqAnswer.slideUp(),$(this).hasClass("selected")?$faqButton.removeClass("selected"):($(this).next().slideDown(),$faqButton.removeClass("selected"),$(this).addClass("selected"))})),$faqPrivacyButton.on("click",(function(e){e.preventDefault(),$faqPrivacyAnswer.slideUp(),$(this).hasClass("selected")?$faqPrivacyButton.removeClass("selected"):($(this).parent().find(".long-answer").slideDown(),$faqPrivacyButton.removeClass("selected"),$(this).addClass("selected"))})),$(".down-arrow").on("click",(function(e){e.preventDefault();var t=$(this).attr("href");$("html, body").animate({scrollTop:$(t).offset().top-55},200)})),$("html").hasClass("lt-ie9")&&$("img.lazyload").each((function(){var e=$(this);e.attr("src",e.data("src"))}))})),function(e,t,n){function i(e,t){return typeof e===t}function r(){var e,t,n,r,s,o,a;for(var l in x)if(x.hasOwnProperty(l)){if(e=[],(t=x[l]).name&&(e.push(t.name.toLowerCase()),t.options&&t.options.aliases&&t.options.aliases.length))for(n=0;n<t.options.aliases.length;n++)e.push(t.options.aliases[n].toLowerCase());for(r=i(t.fn,"function")?t.fn():t.fn,s=0;s<e.length;s++)1===(a=(o=e[s]).split(".")).length?C[a[0]]=r:(!C[a[0]]||C[a[0]]instanceof Boolean||(C[a[0]]=new Boolean(C[a[0]])),C[a[0]][a[1]]=r),w.push((r?"":"no-")+a.join("-"))}}function s(e){var t=z.className,n=C._config.classPrefix||"";if(S&&(t=t.baseVal),C._config.enableJSClass){var i=new RegExp("(^|\\s)"+n+"no-js(\\s|$)");t=t.replace(i,"$1"+n+"js$2")}C._config.enableClasses&&(t+=" "+n+e.join(" "+n),S?z.className.baseVal=t:z.className=t)}function o(e){return"function"!=typeof t.createElement?t.createElement(e):S?t.createElementNS.call(t,"http://www.w3.org/2000/svg",e):t.createElement.apply(t,arguments)}function a(){var e=t.body;return e||((e=o(S?"svg":"body")).fake=!0),e}function l(e,n,i,r){var s,l,c,u,d="modernizr",f=o("div"),p=a();if(parseInt(i,10))for(;i--;)(c=o("div")).id=r?r[i]:d+(i+1),f.appendChild(c);return(s=o("style")).type="text/css",s.id="s"+d,(p.fake?p:f).appendChild(s),p.appendChild(f),s.styleSheet?s.styleSheet.cssText=e:s.appendChild(t.createTextNode(e)),f.id=d,p.fake&&(p.style.background="",p.style.overflow="hidden",u=z.style.overflow,z.style.overflow="hidden",z.appendChild(p)),l=n(f,e),p.fake?(p.parentNode.removeChild(p),z.style.overflow=u,z.offsetHeight):f.parentNode.removeChild(f),!!l}function c(e,t){return!!~(""+e).indexOf(t)}function u(e){return e.replace(/([a-z])-([a-z])/g,(function(e,t,n){return t+n.toUpperCase()})).replace(/^-/,"")}function d(e,t){return function(){return e.apply(t,arguments)}}function f(e,t,n){var r;for(var s in e)if(e[s]in t)return!1===n?e[s]:i(r=t[e[s]],"function")?d(r,n||t):r;return!1}function p(e){return e.replace(/([A-Z])/g,(function(e,t){return"-"+t.toLowerCase()})).replace(/^ms-/,"-ms-")}function h(t,n,i){var r;if("getComputedStyle"in e){r=getComputedStyle.call(e,t,n);var s=e.console;if(null!==r)i&&(r=r.getPropertyValue(i));else if(s){var o;s[s.error?"error":"log"].call(s,"getComputedStyle returning null, its possible modernizr test results are inaccurate")}}else r=!n&&t.currentStyle&&t.currentStyle[i];return r}function m(t,i){var r=t.length;if("CSS"in e&&"supports"in e.CSS){for(;r--;)if(e.CSS.supports(p(t[r]),i))return!0;return!1}if("CSSSupportsRule"in e){for(var s=[];r--;)s.push("("+p(t[r])+":"+i+")");return l("@supports ("+(s=s.join(" or "))+") { #modernizr { position: absolute; } }",(function(e){return"absolute"==h(e,null,"position")}))}return n}function g(e,t,r,s){function a(){d&&(delete N.style,delete N.modElem)}if(s=!i(s,"undefined")&&s,!i(r,"undefined")){var l=m(e,r);if(!i(l,"undefined"))return l}for(var d,f,p,h,g,v=["modernizr","tspan","samp"];!N.style&&v.length;)d=!0,N.modElem=o(v.shift()),N.style=N.modElem.style;for(p=e.length,f=0;p>f;f++)if(h=e[f],g=N.style[h],c(h,"-")&&(h=u(h)),N.style[h]!==n){if(s||i(r,"undefined"))return a(),"pfx"!=t||h;try{N.style[h]=r}catch(e){}if(N.style[h]!=g)return a(),"pfx"!=t||h}return a(),!1}
1function v(e,t,n,r,s){var o=e.charAt(0).toUpperCase()+e.slice(1),a=(e+" "+k.join(o+" ")+o).split(" ");return i(t,"string")||i(t,"undefined")?g(a,t,r,s):f(a=(e+" "+E.join(o+" ")+o).split(" "),t,n)}function y(e,t,i){return v(e,n,n,t,i)}var w=[],x=[],b={_version:"3.6.0",_config:{classPrefix:"",enableClasses:!0,enableJSClass:!0,usePrefixes:!0},_q:[],on:function(e,t){var n=this;setTimeout((function(){t(n[e])}),0)},addTest:function(e,t,n){x.push({name:e,fn:t,options:n})},addAsyncTest:function(e){x.push({name:null,fn:e})}},C=function(){};C.prototype=b,(C=new C).addTest("svg",!!t.createElementNS&&!!t.createElementNS("http://www.w3.org/2000/svg","svg").createSVGRect),C.addTest("localstorage",(function(){var e="modernizr";try{return localStorage.setItem(e,e),localStorage.removeItem(e),!0}catch(e){return!1}}));var z=t.documentElement,S="svg"===z.nodeName.toLowerCase(),$=b._config.usePrefixes?" -webkit- -moz- -o- -ms- ".split(" "):["",""];b._prefixes=$;var A=b.testStyles=l;C.addTest("touchevents",(function(){var n;if("ontouchstart"in e||e.DocumentTouch&&t instanceof DocumentTouch)n=!0;else{var i=["@media (",$.join("touch-enabled),("),"heartz",")","{#modernizr{top:9px;position:absolute}}"].join("");A(i,(function(e){n=9===e.offsetTop}))}return n}));var T="Moz O ms Webkit",k=b._config.usePrefixes?T.split(" "):[];b._cssomPrefixes=k;var E=b._config.usePrefixes?T.toLowerCase().split(" "):[];b._domPrefixes=E,C.addTest("inlinesvg",(function(){var e=o("div");return e.innerHTML="<svg/>","http://www.w3.org/2000/svg"==("undefined"!=typeof SVGRect&&e.firstChild&&e.firstChild.namespaceURI)}));var M={elem:o("modernizr")};C._q.push((function(){delete M.elem}));var N={style:M.elem.style};C._q.unshift((function(){delete N.style})),b.testAllProps=v,b.testAllProps=y,C.addTest("flexbox",y("flexBasis","1px",!0)),C.addTest("flexboxlegacy",y("boxDirection","reverse",!0)),r(),s(w),delete b.addTest,delete b.addAsyncTest;for(var P=0;P<C._q.length;P++)C._q[P]();e.Modernizr=C}(window,document),function(e,t){var n=t(e,e.document);e.lazySizes=n,"object"==typeof module&&module.exports?module.exports=n:"function"==typeof define&&define.amd&&define(n)}(window,(function(e,t){"use strict";if(t.getElementsByClassName){var n,i=t.documentElement,r=e.addEventListener,s=e.setTimeout,o=e.requestAnimationFrame||s,a=/^picture$/i,l=["load","error","lazyincluded","_lazyloaded"],c=function(e,t){var n=new RegExp("(\\s|^)"+t+"(\\s|$)");return e.className.match(n)&&n},u=function(e,t){c(e,t)||(e.className+=" "+t)},d=function(e,t){var n;(n=c(e,t))&&(e.className=e.className.replace(n," "))},f=function(e,t,n){var i=n?"addEventListener":"removeEventListener";n&&f(e,t),l.forEach((function(n){e[i](n,t)}))},p=function(e,n,i,r,s){var o=t.createEvent("CustomEvent");return o.initCustomEvent(n,!r,!s,i||{}),o.details=o.detail,e.dispatchEvent(o),o},h=function(t,i){var r;e.HTMLPictureElement||((r=e.picturefill||e.respimage||n.pf)?r({reevaluate:!0,elements:[t]}):i&&i.src&&(t.src=i.src))},m=function(e,t){return getComputedStyle(e,null)[t]},g=function(e,t,i){for(i=i||e.offsetWidth;i<n.minSize&&t&&!e._lazysizesWidth;)i=t.offsetWidth,t=t.parentNode;return i},v=function(t){var i,r=0,a=e.Date,l=function(){i=!1,r=a.now(),t()},c=function(){s(l)},u=function(){o(c)};return function(){if(!i){var e=n.throttle-(a.now()-r);i=!0,9>e&&(e=9),s(u,e)}}},y=function(){var l,g,y,x,b,C,z,S,$,A,T,k,E,M=/^img$/i,N=/^iframe$/i,P="onscroll"in e&&!/glebot/.test(navigator.userAgent),q=0,R=0,W=0,_=1,L=function(e){W--,e&&e.target&&f(e.target,L),(!e||0>W||!e.target)&&(W=0)},B=function(e,t){var n,i=e,r="hidden"!=m(e,"visibility");for(S-=t,T+=t,$-=t,A+=t;r&&(i=i.offsetParent);)(r=(m(i,"opacity")||1)>0)&&"visible"!=m(i,"overflow")&&(n=i.getBoundingClientRect(),r=A>n.left&&$<n.right&&T>n.top-1&&S<n.bottom+1);return r},j,I=v((function(){var e,t,i,r,s,o,a,c,u;if((b=n.loadMode)&&8>W&&(e=l.length)){for(t=0,_++,E>R&&1>W&&_>3&&b>2?(R=E,_=0):R=R!=k&&b>1&&_>2&&6>W?k:0;e>t;t++)l[t]&&!l[t]._lazyRace&&(P?((c=l[t].getAttribute("data-expand"))&&(o=1*c)||(o=R),u!==o&&(C=innerWidth+o,z=innerHeight+o,a=-1*o,u=o),i=l[t].getBoundingClientRect(),(T=i.bottom)>=a&&(S=i.top)<=z&&(A=i.right)>=a&&($=i.left)<=C&&(T||A||$||S)&&(y&&3>W&&!c&&(3>b||4>_)||B(l[t],o))?(F(l[t],i.width),s=!0):!s&&y&&!r&&3>W&&4>_&&b>
12&&(g[0]||n.preloadAfterLoad)&&(g[0]||!c&&(T||A||$||S||"auto"!=l[t].getAttribute(n.sizesAttr)))&&(r=g[0]||l[t])):F(l[t]));r&&!s&&F(r)}})),H=function(e){u(e.target,n.loadedClass),d(e.target,n.loadingClass),f(e.target,H)},D=function(e,t){try{e.contentWindow.location.replace(t)}catch(n){e.setAttribute("src",t)}},O=function(){var e,t=[],n=function(){for(;t.length;)t.shift()();e=!1};return function(i){t.push(i),e||(e=!0,o(n))}}(),F=function(e,t){var i,r,o,l,m,g,v,b,C,z,S,$=M.test(e.nodeName),A=e.getAttribute(n.sizesAttr)||e.getAttribute("sizes"),T="auto"==A;(!T&&y||!$||!e.src&&!e.srcset||e.complete||c(e,n.errorClass))&&(e._lazyRace=!0,W++,O((function(){if(e._lazyRace&&delete e._lazyRace,d(e,n.lazyClass),!(C=p(e,"lazybeforeunveil")).defaultPrevented){if(A&&(T?(w.updateElem(e,!0,t),u(e,n.autosizesClass)):e.setAttribute("sizes",A)),g=e.getAttribute(n.srcsetAttr),m=e.getAttribute(n.srcAttr),$&&(v=e.parentNode,b=v&&a.test(v.nodeName||"")),z=C.detail.firesLoad||"src"in e&&(g||m||b),C={target:e},z&&(f(e,L,!0),clearTimeout(x),x=s(L,2500),u(e,n.loadingClass),f(e,H,!0)),b)for(i=v.getElementsByTagName("source"),r=0,o=i.length;o>r;r++)(S=n.customMedia[i[r].getAttribute("data-media")||i[r].getAttribute("media")])&&i[r].setAttribute("media",S),(l=i[r].getAttribute(n.srcsetAttr))&&i[r].setAttribute("srcset",l);g?e.setAttribute("srcset",g):m&&(N.test(e.nodeName)?D(e,m):e.setAttribute("src",m)),(g||b)&&h(e,{src:m})}(!z||e.complete)&&(z?L(C):W--,H(C))})))},Q=function(){var e,t=function(){n.loadMode=3,I()};y=!0,_+=8,n.loadMode=3,r("scroll",(function(){3==n.loadMode&&(n.loadMode=2),clearTimeout(e),e=s(t,99)}),!0)};return{_:function(){l=t.getElementsByClassName(n.lazyClass),g=t.getElementsByClassName(n.lazyClass+" "+n.preloadClass),k=n.expand,E=Math.round(k*n.expFactor),r("scroll",I,!0),r("resize",I,!0),e.MutationObserver?new MutationObserver(I).observe(i,{childList:!0,subtree:!0,attributes:!0}):(i.addEventListener("DOMNodeInserted",I,!0),i.addEventListener("DOMAttrModified",I,!0),setInterval(I,999)),r("hashchange",I,!0),["focus","mouseover","click","load","transitionend","animationend","webkitAnimationEnd"].forEach((function(e){t.addEventListener(e,I,!0)})),(y=/d$|^c/.test(t.readyState))?Q():(r("load",Q),t.addEventListener("DOMContentLoaded",I)),I()},checkElems:I,unveil:F}}(),w=function(){var e,i=function(e,t,n){var i,r,s,o,l=e.parentNode;if(l&&(n=g(e,l,n),!(o=p(e,"lazybeforesizes",{width:n,dataAttr:!!t})).defaultPrevented&&((n=o.detail.width)&&n!==e._lazysizesWidth))){if(e._lazysizesWidth=n,n+="px",e.setAttribute("sizes",n),a.test(l.nodeName||""))for(r=0,s=(i=l.getElementsByTagName("source")).length;s>r;r++)i[r].setAttribute("sizes",n);o.detail.dataAttr||h(e,o.detail)}},s,o=v((function(){var t,n=e.length;if(n)for(t=0;n>t;t++)i(e[t])}));return{_:function(){e=t.getElementsByClassName(n.autosizesClass),r("resize",o)},checkElems:o,updateElem:i}}(),x=function(){x.i||(x.i=!0,w._(),y._())};return function(){var t,i={lazyClass:"lazyload",loadedClass:"lazyloaded",loadingClass:"lazyloading",preloadClass:"lazypreload",errorClass:"lazyerror",autosizesClass:"lazyautosizes",srcAttr:"data-src",srcsetAttr:"data-srcset",sizesAttr:"data-sizes",minSize:40,customMedia:{},init:!0,expFactor:2,expand:359,loadMode:2,throttle:125};for(t in n=e.lazySizesConfig||e.lazysizesConfig||{},i)t in n||(n[t]=i[t]);e.lazySizesConfig=n,s((function(){n.init&&x()}))}(),{cfg:n,autoSizer:w,loader:y,init:x,uP:h,aC:u,rC:d,hC:c,fire:p,gW:g}}})),function(e,t,n){"use strict";function i(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function r(){var t;O=!1,U=e.devicePixelRatio,F={},Q={},t=(U||1)*E.xQuant,E.uT||(E.maxX=Math.max(1.3,E.maxX),t=Math.min(t,E.maxX),b.DPR=t),V.width=Math.max(e.innerWidth||0,T.clientWidth),V.height=Math.max(e.innerHeight||0,T.clientHeight),V.vw=V.width/100,V.vh=V.height/100,V.em=b.getEmValue(),V.rem=V.em,h=(h=E.lazyFactor/2)*t+h,g=.2+.1*t,d=.5+.2*t,f=.5+.25*t,m=t+1.3,(p=V.width>V.height)||(h*=.9),R&&(h*=.9),x=[V.width,V.height,t].join("-")}function s(e,t,n){var i=t*Math.pow(e-.3,1.9);return p||(i/=1.3),(e+=i)>n}function o(e){var t,n=b.getSet(e),i=!1;
1"pending"!=n&&(i=x,n&&(t=b.setRes(n),i=b.applySetCandidate(t,e))),e[b.ns].evaled=i}function a(e,t){return e.res-t.res}function l(e,t,n){var i;return!n&&t&&(n=(n=e[b.ns].sets)&&n[n.length-1]),(i=c(t,n))&&(t=b.makeUrl(t),e[b.ns].curSrc=t,e[b.ns].curCan=i,i.res||Y(i,i.set.sizes)),i}function c(e,t){var n,i,r;if(e&&t)for(r=b.parseSet(t),e=b.makeUrl(e),n=0;n<r.length;n++)if(e==b.makeUrl(r[n].url)){i=r[n];break}return i}function u(e,t){var n,i,r,s,o=e.getElementsByTagName("source");for(n=0,i=o.length;i>n;n++)(r=o[n])[b.ns]=!0,(s=r.getAttribute("srcset"))&&t.push({srcset:s,media:r.getAttribute("media"),type:r.getAttribute("type"),sizes:r.getAttribute("sizes")})}t.createElement("picture");var d,f,p,h,m,g,v,y,w,x,b={},C=function(){},z=t.createElement("img"),S=z.getAttribute,$=z.setAttribute,A=z.removeAttribute,T=t.documentElement,k={},E={xQuant:1,lazyFactor:.4,maxX:2},M="data-risrc",N=M+"set",P="webkitBackfaceVisibility"in T.style,q=navigator.userAgent,R=/rident/.test(q)||/ecko/.test(q)&&q.match(/rv\:(\d+)/)&&RegExp.$1>35,W="currentSrc",_=/\s+\+?\d+(e\d+)?w/,L=/((?:\([^)]+\)(?:\s*and\s*|\s*or\s*|\s*not\s*)?)+)?\s*(.+)/,B=/^([\+eE\d\.]+)(w|x)$/,j=/\s*\d+h\s*/,I=e.respimgCFG,H=(location.protocol,"position:absolute;left:0;visibility:hidden;display:block;padding:0;border:none;font-size:1em;width:1em;overflow:hidden;clip:rect(0px, 0px, 0px, 0px)"),D="font-size:100%!important;",O=!0,F={},Q={},U=e.devicePixelRatio,V={px:1,in:96},G=t.createElement("a"),K=!1,X=function(e,t,n,i){e.addEventListener?e.addEventListener(t,n,i||!1):e.attachEvent&&e.attachEvent("on"+t,n)},Z=function(e){var t={};return function(n){return n in t||(t[n]=e(n)),t[n]}},J=function(){var e=/^([\d\.]+)(em|vw|px)$/,t=function(){for(var e=arguments,t=0,n=e[0];++t in e;)n=n.replace(e[t],e[++t]);return n},n=Z((function(e){return"return "+t((e||"").toLowerCase(),/\band\b/g,"&&",/,/g,"||",/min-([a-z-\s]+):/g,"e.$1>=",/max-([a-z-\s]+):/g,"e.$1<=",/calc([^)]+)/g,"($1)",/(\d+[\.]*[\d]*)([a-z]+)/g,"($1 * e.$2)",/^(?!(e.[a-z]|[0-9\.&=|><\+\-\*\(\)\/])).*/gi,"")}));return function(t,i){var r;if(!(t in F))if(F[t]=!1,i&&(r=t.match(e)))F[t]=r[1]*V[r[2]];else try{F[t]=new Function("e",n(t))(V)}catch(e){}return F[t]}}(),Y=function(e,t){return e.w?(e.cWidth=b.calcListLength(t||"100vw"),e.res=e.w/e.cWidth):e.res=e.x,e},ee=function(n){var i,r,s,o=n||{};if(o.elements&&1==o.elements.nodeType&&("IMG"==o.elements.nodeName.toUpperCase()?o.elements=[o.elements]:(o.context=o.elements,o.elements=null)),o.reparse&&!o.reevaluate&&(o.reevaluate=!0,e.console&&console.warn&&console.warn("reparse was renamed to reevaluate!")),s=(i=o.elements||b.qsa(o.context||t,o.reevaluate||o.reselect?b.sel:b.selShort)).length){for(b.setupRun(o),K=!0,r=0;s>r;r++)b.fillImg(i[r],o);b.teardownRun(o)}},te=Z((function(e){var t=[1,"x"],n=i(e||"");return n&&(t=!!(n=n.replace(j,"")).match(B)&&[1*RegExp.$1,RegExp.$2]),t}));W in z||(W="src"),k["image/jpeg"]=!0,k["image/gif"]=!0,k["image/png"]=!0,k["image/svg+xml"]=t.implementation.hasFeature("http://wwwindow.w3.org/TR/SVG11/feature#Image","1.1"),b.ns=("ri"+(new Date).getTime()).substr(0,9),b.supSrcset="srcset"in z,b.supSizes="sizes"in z,b.selShort="picture>img,img[srcset]",b.sel=b.selShort,b.cfg=E,b.supSrcset&&(b.sel+=",img["+N+"]"),b.DPR=U||1,b.u=V,b.types=k,y=b.supSrcset&&!b.supSizes,b.setSize=C,b.makeUrl=Z((function(e){return G.href=e,G.href})),b.qsa=function(e,t){return e.querySelectorAll(t)},b.matchesMedia=function(){return b.matchesMedia=e.matchMedia&&(matchMedia("(min-width: 0.1em)")||{}).matches?function(e){return!e||matchMedia(e).matches}:b.mMQ,b.matchesMedia.apply(this,arguments)},b.mMQ=function(e){return!e||J(e)},b.calcLength=function(e){var t=J(e,!0)||!1;return 0>t&&(t=!1),t},b.supportsType=function(e){return!e||k[e]},b.parseSize=Z((function(e){var t=(e||"").match(L);return{media:t&&t[1],length:t&&t[2]}})),b.parseSet=function(e){if(!e.cands){var t,n,i,r,s,o,a=e.srcset;for(e.cands=[];a;)i=null,-1!=(t=(a=a.replace(/^\s+/g,"")).search(/\s/g))?(","!=(r=(n=a.slice(0,t)).charAt(n.length-1))&&n||(n=n.replace(/,+$/,""),i=""),a=a.slice(t+1),null==i&&(-1!=(s=a.indexOf(","))?(i=a.slice(0,s),a=a.slice(s+1)):(i=a,a=""))):(n=a,a=""),n&&(i=te(i))&&((o={url:n.replace(/^,+/,""),set:e})[i[1]]=i[0],"x"==i[1]&&1==i[0]&&(e.has1x=!0),e.cands.push(o))}return e.cands},b.getEmValue=function(){var e;if(!v&&(e=t.body)){var n=t.createElement("div"),i=T.style.cssText,r=e.style.cssText;n.style.cssText=H,T.style.cssText=D,e.style.cssText=D,e.appendChild(n),v=n.offsetWidth,e.removeChild(n),v=parseFloat(v,10),T.style.cssText=i,e.style.cssText=r}return v||16},b.calcListLength=function(e){if(!(e in Q)||E.uT){var t,n,r,s,o,a,l=i(e).split(/\s*,\s*/),c=!1;for(o=0,a=l.length;a>o&&(t=l[o],r=(n=b.parseSize(t)).length,s=n.media,!r||!b.matchesMedia(s)||!1===(c=b.calcLength(r)));o++);Q[e]=c||V.width}return Q[e]},b.setRes=function(e){var t;if(e)for(var n=0,i=(t=b.parseSet(e)).length;i>n;n++)Y(t[n],e.sizes);return t},b.setRes.res=Y,b.applySetCandidate=function(e,t){if(e.length){var n,i,r,o,c,u,p,v,y,w,C,z,S,$=t[b.ns],A=x,T=h,k=g;if(v=$.curSrc||t[W],y=$.curCan||l(t,v,e[0].set),i=b.DPR,S=y&&y.res,!p&&v&&((z=R&&!t.complete&&y&&S>i)||y&&!(m>S)||(y&&i>S&&S>d&&(f>S&&(T*=.87,k+=.04*i),y.res+=T*Math.pow(S-k,2)),w=!$.pic||y&&y.set==e[0].set,y&&w&&y.res>=i&&(p=y))),!p)for(S&&(y.res=y.res-(y.res-S)/2),e.sort(a),p=e[(u=e.length)-1],r=0;u>r;r++)if((n=e[r]).res>=i){p=e[o=r-1]&&(c=n.res-i)&&(z||v!=b.makeUrl(n.url))&&s(e[o].res,c,i)?e[o]:n;break}return S&&(y.res=S),p&&(C=b.makeUrl(p.url),$.curSrc=C,$.curCan=p,C!=v&&b.setSrc(t,p),b.setSize(t)),A}},b.setSrc=function(e,t){var n;e.src=t.url,P&&(n=e.style.zoom,e.style.zoom="0.999",e.style.zoom=n)},b.getSet=function(e){var t,n,i,r=!1,s=e[b.ns].sets;for(t=0;t<s.length&&!r;t++)if((n=s[t]).srcset&&b.matchesMedia(n.media)&&(i=b.supportsType(n.type))){"pending"==i&&(n=i),r=n;break}return r},b.parseSets=function(e,t,i){var r,s,o,a,l="PICTURE"==t.nodeName.toUpperCase(),d=e[b.ns];(d.src===n||i.src)&&(d.src=S.call(e,"src"),d.src?$.call(e,M,d.src):A.call(e,M)),(d.srcset===n||!b.supSrcset||e.srcset||i.srcset)&&(r=S.call(e,"srcset"),d.srcset=r,a=!0),d.sets=[],l&&(d.pic=!0,u(t,d.sets)),d.srcset?(s={srcset:d.srcset,sizes:S.call(e,"sizes")}
1,d.sets.push(s),(o=(y||d.src)&&_.test(d.srcset||""))||!d.src||c(d.src,s)||s.has1x||(s.srcset+=", "+d.src,s.cands.push({url:d.src,x:1,set:s}))):d.src&&d.sets.push({srcset:d.src,sizes:null}),d.curCan=null,d.curSrc=n,d.supported=!(l||s&&!b.supSrcset||o),a&&b.supSrcset&&!d.supported&&(r?($.call(e,N,r),e.srcset=""):A.call(e,N)),d.supported&&!d.srcset&&(!d.src&&e.src||e.src!=b.makeUrl(d.src))&&(null==d.src?e.removeAttribute("src"):e.src=d.src),d.parsed=!0},b.fillImg=function(e,t){var n,i,r=t.reselect||t.reevaluate;if(e[b.ns]||(e[b.ns]={}),i=e[b.ns],r||i.evaled!=x){if(!i.parsed||t.reevaluate){if(!(n=e.parentNode))return;b.parseSets(e,n,t)}i.supported?i.evaled=x:o(e)}},b.setupRun=function(t){(!K||O||U!=e.devicePixelRatio)&&(r(),t.elements||t.context||clearTimeout(w))},e.HTMLPictureElement?(ee=C,b.fillImg=C):function(){var n,i=e.attachEvent?/d$|^c/:/d$|^c|^i/,r=function(){var e=t.readyState||"";a=setTimeout(r,"loading"==e?200:999),t.body&&(n=n||i.test(e),b.fillImgs(),n&&clearTimeout(a))},s=function(){b.fillImgs()},o=function(){clearTimeout(w),O=!0,w=setTimeout(s,99)},a=setTimeout(r,t.body?9:99);X(e,"resize",o),X(t,"readystatechange",r)}(),b.respimage=ee,b.fillImgs=ee,b.teardownRun=C,ee._=b,e.respimage=ee,e.respimgCFG={ri:b,push:function(e){var t=e.shift();"function"==typeof b[t]?b[t].apply(b,e):(E[t]=e[0],K&&b.fillImgs({reselect:!0}))}};for(;I&&I.length;)e.respimgCFG.push(I.shift())}(window,document),/*! http://responsiveslides.com v1.54 by @viljamis */
2function(e,t,n){e.fn.responsiveSlides=function(i){var r=e.extend({auto:!0,speed:500,timeout:4e3,pager:!1,nav:!1,random:!1,pause:!1,pauseControls:!0,prevText:"Previous",nextText:"Next",maxwidth:"",navContainer:"",manualControls:"",namespace:"rslides",before:e.noop,after:e.noop},i);return this.each((function(){n++;var s=e(this),o,a,l,c,u,d,f=0,p=s.children(),h=p.size(),m=parseFloat(r.speed),g=parseFloat(r.timeout),v=parseFloat(r.maxwidth),y=r.namespace,w,x=y+"_nav "+(w=y+n)+"_nav",b=y+"_here",C=w+"_on",z=w+"_s",S=e("<ul class='"+y+"_tabs "+w+"_tabs' />"),$={float:"left",position:"relative",opacity:1,zIndex:2},A={float:"none",position:"absolute",opacity:0,zIndex:1},T=function(){var e=(document.body||document.documentElement).style,t;if("string"==typeof e[t="transition"])return!0;o=["Moz","Webkit","Khtml","O","ms"];var t=t.charAt(0).toUpperCase()+t.substr(1),n;for(n=0;n<o.length;n++)if("string"==typeof e[o[n]+t])return!0;return!1}(),k=function(t){r.before(t),T?(p.removeClass(C).css(A).eq(t).addClass(C).css($),f=t,setTimeout((function(){r.after(t)}),m)):p.stop().fadeOut(m,(function(){e(this).removeClass(C).css(A).css("opacity",1)})).eq(t).fadeIn(m,(function(){e(this).addClass(C).css($),r.after(t),f=t}))};if(r.random&&(p.sort((function(){return Math.round(Math.random())-.5})),s.empty().append(p)),p.each((function(e){this.id=z+e})),s.addClass(y+" "+w),i&&i.maxwidth&&s.css("max-width",v),p.hide().css(A).eq(0).addClass(C).css($).show(),T&&p.show().css({"-webkit-transition":"opacity "+m+"ms ease-in-out","-moz-transition":"opacity "+m+"ms ease-in-out","-o-transition":"opacity "+m+"ms ease-in-out",transition:"opacity "+m+"ms ease-in-out"}),1<p.size()){if(g<m+100)return;if(r.pager&&!r.manualControls){var E=[];p.each((function(e){E+="<li><a href='#' class='"+z+(e+=1)+"'>"+e+"</a></li>"})),S.append(E),i.navContainer?e(r.navContainer).append(S):s.after(S)}if(r.manualControls&&(S=e(r.manualControls)).addClass(y+"_tabs "+w+"_tabs"),(r.pager||r.manualControls)&&S.find("li").each((function(t){e(this).addClass(z+(t+1))})),(r.pager||r.manualControls)&&(d=S.find("a"),a=function(e){d.closest("li").removeClass(b).eq(e).addClass(b)}),r.auto&&(l=function(){u=setInterval((function(){p.stop(!0,!0);var e=f+1<h?f+1:0;(r.pager||r.manualControls)&&a(e),k(e)}),g)})(),c=function(){r.auto&&(clearInterval(u),l())},r.pause&&s.hover((function(){clearInterval(u)}),(function(){c()})),(r.pager||r.manualControls)&&(d.bind("click",(function(t){t.preventDefault(),r.pauseControls||c(),t=d.index(this),f===t||e("."+C).queue("fx").length||(a(t),k(t))})).eq(0).closest("li").addClass(b),r.pauseControls&&d.hover((function(){clearInterval(u)}),(function(){c()}))),r.nav){y="<a href='#' class='"+x+" prev'>"+r.prevText+"</a><a href='#' class='"+x+" next'>"+r.nextText+"</a>",i.navContainer?e(r.navContainer).append(y):s.after(y);var w,M=(w=e("."+w+"_nav")).filter(".prev");w.bind("click",(function(t){if(t.preventDefault(),!(t=e("."+C)).queue("fx").length){var n=p.index(t);t=n-1,n=n+1<h?f+1:0,k(e(this)[0]===M[0]?t:n),(r.pager||r.manualControls)&&a(e(this)[0]===M[0]?t:n),r.pauseControls||c()}})),r.pauseControls&&w.hover((function(){clearInterval(u)}),(function(){c()}))}}if(void 0===document.body.style.maxWidth&&i.maxwidth){var N=function(){s.css("width","100%"),s.width()>v&&s.css("width",v)};N(),e(t).bind("resize",(function(){N()}))}}))}}(jQuery,this,0),
3/*!
4Waypoints - 3.1.1
5Copyright © 2011-2015 Caleb Troughton
6Licensed under the MIT license.
7https://github.com/imakewebthings/waypoints/blog/master/licenses.txt
8*/
9function(){"use strict";function e(i){if(!i)throw new Error("No options passed to Waypoint constructor");if(!i.element)throw new Error("No element option passed to Waypoint constructor");if(!i.handler)throw new Error("No handler option passed to Waypoint constructor");
9this.key="waypoint-"+t,this.options=e.Adapter.extend({},e.defaults,i),this.element=this.options.element,this.adapter=new e.Adapter(this.element),this.callback=i.handler,this.axis=this.options.horizontal?"horizontal":"vertical",this.enabled=this.options.enabled,this.triggerPoint=null,this.group=e.Group.findOrCreate({name:this.options.group,axis:this.axis}),this.context=e.Context.findOrCreateByElement(this.options.context),e.offsetAliases[this.options.offset]&&(this.options.offset=e.offsetAliases[this.options.offset]),this.group.add(this),this.context.add(this),n[this.key]=this,t+=1}var t=0,n={};e.prototype.queueTrigger=function(e){this.group.queueTrigger(this,e)},e.prototype.trigger=function(e){this.enabled&&this.callback&&this.callback.apply(this,e)},e.prototype.destroy=function(){this.context.remove(this),this.group.remove(this),delete n[this.key]},e.prototype.disable=function(){return this.enabled=!1,this},e.prototype.enable=function(){return this.context.refresh(),this.enabled=!0,this},e.prototype.next=function(){return this.group.next(this)},e.prototype.previous=function(){return this.group.previous(this)},e.invokeAll=function(e){var t=[];for(var i in n)t.push(n[i]);for(var r=0,s=t.length;r<s;r++)t[r][e]()},e.destroyAll=function(){e.invokeAll("destroy")},e.disableAll=function(){e.invokeAll("disable")},e.enableAll=function(){e.invokeAll("enable")},e.refreshAll=function(){e.Context.refreshAll()},e.viewportHeight=function(){return window.innerHeight||document.documentElement.clientHeight},e.viewportWidth=function(){return document.documentElement.clientWidth},e.adapters=[],e.defaults={context:window,continuous:!0,enabled:!0,group:"default",horizontal:!1,offset:0},e.offsetAliases={"bottom-in-view":function(){return this.context.innerHeight()-this.adapter.outerHeight()},"right-in-view":function(){return this.context.innerWidth()-this.adapter.outerWidth()}},window.Waypoint=e}(),function(){"use strict";function e(e){window.setTimeout(e,1e3/60)}function t(e){this.element=e,this.Adapter=r.Adapter,this.adapter=new this.Adapter(e),this.key="waypoint-context-"+n,this.didScroll=!1,this.didResize=!1,this.oldScroll={x:this.adapter.scrollLeft(),y:this.adapter.scrollTop()},this.waypoints={vertical:{},horizontal:{}},e.waypointContextKey=this.key,i[e.waypointContextKey]=this,n+=1,this.createThrottledScrollHandler(),this.createThrottledResizeHandler()}var n=0,i={},r=window.Waypoint,s=window.onload;t.prototype.add=function(e){var t=e.options.horizontal?"horizontal":"vertical";this.waypoints[t][e.key]=e,this.refresh()},t.prototype.checkEmpty=function(){var e=this.Adapter.isEmptyObject(this.waypoints.horizontal),t=this.Adapter.isEmptyObject(this.waypoints.vertical);e&&t&&(this.adapter.off(".waypoints"),delete i[this.key])},t.prototype.createThrottledResizeHandler=function(){function e(){t.handleResize(),t.didResize=!1}var t=this;this.adapter.on("resize.waypoints",(function(){t.didResize||(t.didResize=!0,r.requestAnimationFrame(e))}))},t.prototype.createThrottledScrollHandler=function(){function e(){t.handleScroll(),t.didScroll=!1}var t=this;this.adapter.on("scroll.waypoints",(function(){t.didScroll&&!r.isTouch||(t.didScroll=!0,r.requestAnimationFrame(e))}))},t.prototype.handleResize=function(){r.Context.refreshAll()},t.prototype.handleScroll=function(){var e={},t={horizontal:{newScroll:this.adapter.scrollLeft(),oldScroll:this.oldScroll.x,forward:"right",backward:"left"},vertical:{newScroll:this.adapter.scrollTop(),oldScroll:this.oldScroll.y,forward:"down",backward:"up"}};for(var n in t){var i=t[n],r,s=i.newScroll>i.oldScroll?i.forward:i.backward;for(var o in this.waypoints[n]){var a=this.waypoints[n][o],l=i.oldScroll<a.triggerPoint,c=i.newScroll>=a.triggerPoint,u,d;(l&&c||!l&&!c)&&(a.queueTrigger(s),e[a.group.id]=a.group)}}for(var f in e)e[f].flushTriggers();this.oldScroll={x:t.horizontal.newScroll,y:t.vertical.newScroll}},t.prototype.innerHeight=function(){return this.element==this.element.window?r.viewportHeight():this.adapter.innerHeight()},t.prototype.remove=function(e){delete this.waypoints[e.axis][e.key],this.checkEmpty()},t.prototype.innerWidth=function(){return this.element==this.element.window?r.viewportWidth():this.adapter.innerWidth()},t.prototype.destroy=function(){var e=[];
9for(var t in this.waypoints)for(var n in this.waypoints[t])e.push(this.waypoints[t][n]);for(var i=0,r=e.length;i<r;i++)e[i].destroy()},t.prototype.refresh=function(){var e=this.element==this.element.window,t=this.adapter.offset(),n={},i;for(var r in this.handleScroll(),i={horizontal:{contextOffset:e?0:t.left,contextScroll:e?0:this.oldScroll.x,contextDimension:this.innerWidth(),oldScroll:this.oldScroll.x,forward:"right",backward:"left",offsetProp:"left"},vertical:{contextOffset:e?0:t.top,contextScroll:e?0:this.oldScroll.y,contextDimension:this.innerHeight(),oldScroll:this.oldScroll.y,forward:"down",backward:"up",offsetProp:"top"}}){var s=i[r];for(var o in this.waypoints[r]){var a=this.waypoints[r][o],l=a.options.offset,c=a.triggerPoint,u=0,d=null==c,f,p,h,m,g;a.element!==a.element.window&&(u=a.adapter.offset()[s.offsetProp]),"function"==typeof l?l=l.apply(a):"string"==typeof l&&(l=parseFloat(l),a.options.offset.indexOf("%")>-1&&(l=Math.ceil(s.contextDimension*l/100))),f=s.contextScroll-s.contextOffset,a.triggerPoint=u+f-l,p=c<s.oldScroll,h=a.triggerPoint>=s.oldScroll,g=!p&&!h,!d&&(m=p&&h)?(a.queueTrigger(s.backward),n[a.group.id]=a.group):(!d&&g||d&&s.oldScroll>=a.triggerPoint)&&(a.queueTrigger(s.forward),n[a.group.id]=a.group)}}for(var v in n)n[v].flushTriggers();return this},t.findOrCreateByElement=function(e){return t.findByElement(e)||new t(e)},t.refreshAll=function(){for(var e in i)i[e].refresh()},t.findByElement=function(e){return i[e.waypointContextKey]},window.onload=function(){s&&s(),t.refreshAll()},r.requestAnimationFrame=function(t){var n;(window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||e).call(window,t)},r.Context=t}(),function(){"use strict";function e(e,t){return e.triggerPoint-t.triggerPoint}function t(e,t){return t.triggerPoint-e.triggerPoint}function n(e){this.name=e.name,this.axis=e.axis,this.id=this.name+"-"+this.axis,this.waypoints=[],this.clearTriggerQueues(),i[this.axis][this.name]=this}var i={vertical:{},horizontal:{}},r=window.Waypoint;n.prototype.add=function(e){this.waypoints.push(e)},n.prototype.clearTriggerQueues=function(){this.triggerQueues={up:[],down:[],left:[],right:[]}},n.prototype.flushTriggers=function(){for(var n in this.triggerQueues){var i=this.triggerQueues[n],r="up"===n||"left"===n;i.sort(r?t:e);for(var s=0,o=i.length;s<o;s+=1){var a=i[s];(a.options.continuous||s===i.length-1)&&a.trigger([n])}}this.clearTriggerQueues()},n.prototype.next=function(t){this.waypoints.sort(e);var n=r.Adapter.inArray(t,this.waypoints),i;return n===this.waypoints.length-1?null:this.waypoints[n+1]},n.prototype.previous=function(t){this.waypoints.sort(e);var n=r.Adapter.inArray(t,this.waypoints);return n?this.waypoints[n-1]:null},n.prototype.queueTrigger=function(e,t){this.triggerQueues[t].push(e)},n.prototype.remove=function(e){var t=r.Adapter.inArray(e,this.waypoints);t>-1&&this.waypoints.splice(t,1)},n.prototype.first=function(){return this.waypoints[0]},n.prototype.last=function(){return this.waypoints[this.waypoints.length-1]},n.findOrCreate=function(e){return i[e.axis][e.name]||new n(e)},r.Group=n}(),function(){"use strict";function e(e){this.$element=t(e)}var t=window.jQuery,n=window.Waypoint;t.each(["innerHeight","innerWidth","off","offset","on","outerHeight","outerWidth","scrollLeft","scrollTop"],(function(t,n){e.prototype[n]=function(){var e=Array.prototype.slice.call(arguments);return this.$element[n].apply(this.$element,e)}})),t.each(["extend","inArray","isEmptyObject"],(function(n,i){e[i]=t[i]})),n.adapters.push({name:"jquery",Adapter:e}),n.Adapter=e}(),function(){"use strict";function e(e){return function(n,i){var r=[],s=n;return e.isFunction(n)&&((s=e.extend({},i)).handler=n),this.each((function(){var n=e.extend({},s,{element:this});"string"==typeof n.context&&(n.context=e(this).closest(n.context)[0]),r.push(new t(n))})),r}}var t=window.Waypoint;window.jQuery&&(window.jQuery.fn.waypoint=e(window.jQuery)),window.Zepto&&(window.Zepto.fn.waypoint=e(window.Zepto))}(),function(){"use strict";function e(i){this.options=t.extend({},n.defaults,e.defaults,i),this.element=this.options.element,this.$element=t(this.element),this.createWrapper(),this.createWaypoint()}var t=window.jQuery,n=window.Waypoint;e.prototype.createWaypoint=function(){var e=this.options.handler;this.waypoint=new n(t.extend({},this.options,{element:this.wrapper,handler:t.proxy((function(t){var n=this.options.direction.indexOf(t)>-1,i=n?this.$element.outerHeight(!0):"";this.$wrapper.height(i),this.$element.toggleClass(this.options.stuckClass,n),e&&e.call(this,t)}),this)}))},e.prototype.createWrapper=function(){this.$element.wrap(this.options.wrapper),this.$wrapper=this.$element.parent(),this.wrapper=this.$wrapper[0]},e.prototype.destroy=function(){this.$element.parent()[0]===this.wrapper&&(this.waypoint.destroy(),this.$element.removeClass(this.options.stuckClass).unwrap())},e.defaults={wrapper:'<div class="sticky-wrapper" />',stuckClass:"stuck",direction:"down right"},n.Sticky=e}(),
10/*!
11* FitVids 1.0
12*
13* Copyright 2011, Chris Coyier - http://css-tricks.com + Dave Rupert - http://daverupert.com
14* Credit to Thierry Koblentz - http://www.alistapart.com/articles/creating-intrinsic-ratios-for-video/
15* Released under the WTFPL license - http://sam.zoy.org/wtfpl/
16*
17* Date: Thu Sept 01 18:00:00 2011 -0500
18*/
19function(e){"use strict";e.fn.fitVids=function(t){var n={customSelector:null};if(!document.getElementById("fit-vids-style")){var i=document.createElement("div"),r=document.getElementsByTagName("base")[0]||document.getElementsByTagName("script")[0];i.className="fit-vids-style",i.id="fit-vids-style",i.style.display="none",i.innerHTML="&shy;<style>                 .fluid-width-video-wrapper {                   width: 100%;                                position: relative;                         padding: 0;                              }                                                                                       .fluid-width-video-wrapper iframe,          .fluid-width-video-wrapper object,          .fluid-width-video-wrapper embed {             position: absolute;                         top: 0;                                     left: 0;                                    width: 100%;                                height: 100%;                            }                                         </style>",r.parentNode.insertBefore(i,r)}return t&&e.extend(n,t),this.each((function(){var t=["iframe[src*='player.vimeo.com']","iframe[src*='youtube.com']","iframe[src*='youtube-nocookie.com']","iframe[src*='kickstarter.com'][src*='video.html']","object","embed"];n.customSelector&&t.push(n.customSelector);var i=e(this).find(t.join(","));(i=i.not("object object")).each((function(){var t=e(this);if(!("embed"===this.tagName.toLowerCase()&&t.parent("object").length||t.parent(".fluid-width-video-wrapper").length)){var n,i,r=("object"===this.tagName.toLowerCase()||t.attr("height")&&!isNaN(parseInt(t.attr("height"),10))?parseInt(t.attr("height"),10):t.height())/(isNaN(parseInt(t.attr("width"),10))?t.width():parseInt(t.attr("width"),10));if(!t.attr("id")){var s="fitvid"+Math.floor(999999*Math.random());t.attr("id",s)}t.wrap('<div class="fluid-width-video-wrapper"></div>').parent(".fluid-width-video-wrapper").css("padding-top",100*r+"%"),t.removeAttr("height").removeAttr("width")}}))}))}}(jQuery);

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.