PageSourceSearch

https://atulgawande.com/wp-content/themes/gawande-no-purchase/js/compressed/libs.js?ver=7.1.2

js atulgawande.com collected 2026-09-24 08:26:37 UTC 22,466 bytes, 5 lines download raw bytes

1/*!
2* jQuery Cycle2; ver: 20130206
3* http://jquery.malsup.com/cycle2/
4* Copyright (c) 2013 M. Alsup; Dual licensed: MIT/GPL
5*/(function(e){function t(e){return(e||"").toLowerCase()}"use strict";var n="20130205";e.fn.cycle=function(n){var r;return this.length===0&&!e.isReady?(r={s:this.selector,c:this.context},e.fn.cycle.log("requeuing slideshow (dom not ready)"),e(function(){e(r.s,r.c).cycle(n)}),this):this.each(function(){var r,i,s,o,u=e(this),f=e.fn.cycle.log;if(u.data("cycle.opts"))return;if(u.data("cycle-log")===!1||n&&n.log===!1||i&&i.log===!1)f=e.noop;f("--c2 init--"),r=u.data();for(var l in r)r.hasOwnProperty(l)&&/^cycle[A-Z]+/.test(l)&&(o=r[l],s=l.match(/^cycle(.*)/)[1].replace(/^[A-Z]/,t),f(s+":",o,"("+typeof o+")"),r[s]=o);i=e.extend({},e.fn.cycle.defaults,r,n||{}),i.timeoutId=0,i.paused=i.paused||!1,i.container=u,i._maxZ=i.maxZ,i.API=e.extend({_container:u},e.fn.cycle.API),i.API.log=f,i.API.trigger=function(e,t){return i.container.trigger(e,t),i.API},u.data("cycle.opts",i),u.data("cycle.API",i.API),i.API.trigger("cycle-bootstrap",[i,i.API]),i.API.addInitialSlides(),i.API.preInitSlideshow(),i.slides.length&&i.API.initSlideshow()})},e.fn.cycle.API={opts:function(){return this._container.data("cycle.opts")},addInitialSlides:function(){var t=this.opts(),n=t.slides;t.slideCount=0,t.slides=e(),n=n.jquery?n:t.container.find(n),t.random&&n.sort(function(){return Math.random()-.5}),t.API.add(n)},preInitSlideshow:function(){var t=this.opts();t.API.trigger("cycle-pre-initialize",[t]);var n=e.fn.cycle.transitions[t.fx];n&&e.isFunction(n.preInit)&&n.preInit(t),t._preInitialized=!0},postInitSlideshow:function(){var t=this.opts();t.API.trigger("cycle-post-initialize",[t]);var n=e.fn.cycle.transitions[t.fx];n&&e.isFunction(n.postInit)&&n.postInit(t)},initSlideshow:function(){var t=this.opts(),n=t.container;t.API.calcFirstSlide(),t.container.css("position")=="static"&&t.container.css("position","relative"),e(t.slides[t.currSlide]).css("opacity",1).show(),t.API.stackSlides(t.slides[t.currSlide],t.slides[t.nextSlide],!t.reverse),t.pauseOnHover&&(t.pauseOnHover!==!0&&(n=e(t.pauseOnHover)),n.hover(function(){t.hoverPaused=!0,t.paused||t.API.trigger("cycle-paused",[t])},function(){t.hoverPaused=!1,t.paused||t.API.trigger("cycle-resumed",[t])})),t.timeout&&(t.timeoutId=setTimeout(function(){t.API.prepareTx(!1,!t.reverse)},t.timeout+t.delay)),t._initialized=!0,t.API.updateView(!0),t.container.on("cycle-paused cycle-resumed",function(e){t.container[e.type==="cycle-paused"?"addClass":"removeClass"]("cycle-paused")}),t.API.trigger("cycle-initialized",[t]),t.API.postInitSlideshow()},add:function(t,n){var r=this.opts(),i=r.slideCount,s=!1,o;e.type(t)=="string"&&(t=e.trim(t)),e(t).each(function(t){var i,s=e(this);n?r.container.prepend(s):r.container.append(s),r.slideCount++,i=r.API.buildSlideOpts(s),n?r.slides=e(s).add(r.slides):r.slides=r.slides.add(s),r.API.initSlide(i,s,--r._maxZ),s.data("cycle.opts",i),r.API.trigger("cycle-slide-added",[r,i,s])}),r.API.updateView(!0),s=r._preInitialized&&i<2&&r.slideCount>=1,s&&(r._initialized?r.timeout&&(o=r.slides.length,r.nextSlide=r.reverse?o-1:1,r.timeoutId||r.API.queueTransition(r)):r.API.initSlideshow())},calcFirstSlide:function(){var e=this.opts(),t;t=parseInt(e.startingSlide||0,10);if(t>=e.slides.length||t<0)t=0;e.currSlide=t,e.reverse?(e.nextSlide=t-1,e.nextSlide<0&&(e.nextSlide=e.slides.length-1)):(e.nextSlide=t+1,e.nextSlide==e.slides.length&&(e.nextSlide=0))},calcNextSlide:function(){var e=this.opts(),t;e.reverse?(t=e.nextSlide-1<0,e.nextSlide=t?e.slideCount-1:e.nextSlide-1,e.currSlide=t?0:e.nextSlide+1):(t=e.nextSlide+1==e.slides.length,e.nextSlide=t?0:e.nextSlide+1,e.currSlide=t?e.slides.length-1:e.nextSlide-1)},calcTx:function(t,n){var r=t,i;return n&&r.manualFx&&(i=e.fn.cycle.transitions[r.manualFx]),i||(i=e.fn.cycle.transitions[r.fx]),i||(i=e.fn.cycle.transitions.fade,r.API.log('Transition "'+r.fx+'" not found.  Using fade.')),i},prepareTx:function(e,t){var n=this.opts(),r,i,s,o,u;if(n.slideCount<2){n.timeoutId=0;return}e&&(!n.busy||n.manualTrump)&&(n.API.stopTransition(),n.busy=!1,clearTimeout(n.timeoutId),n.timeoutId=0);if(n.busy)return;if(n.timeoutId===0&&!e)return;
5i=n.slides[n.currSlide],s=n.slides[n.nextSlide],o=n.API.getSlideOpts(n.nextSlide),u=n.API.calcTx(o,e),n._tx=u,e&&o.manualSpeed!==undefined&&(o.speed=o.manualSpeed),n.nextSlide!=n.currSlide&&(e||!n.paused&&!n.hoverPaused&&n.timeout)?(n.API.trigger("cycle-before",[o,i,s,t]),u.before&&u.before(o,i,s,t),r=function(){n.busy=!1;if(!n.container.data("cycle.opts"))return;u.after&&u.after(o,i,s,t),n.API.trigger("cycle-after",[o,i,s,t]),n.API.queueTransition(o),n.API.updateView(!0)},n.busy=!0,u.transition?u.transition(o,i,s,t,r):n.API.doTransition(o,i,s,t,r),n.API.calcNextSlide(),n.updateView<0&&n.API.updateView()):n.API.queueTransition(o)},doTransition:function(t,n,r,i,s){var o=t,u=e(n),f=e(r),l=function(){f.animate(o.animIn||{opacity:1},o.speed,o.easeIn||o.easing,s)};f.css(o.cssBefore||{}),u.animate(o.animOut||{},o.speed,o.easeOut||o.easing,function(){u.css(o.cssAfter||{}),o.sync||l()}),o.sync&&l()},queueTransition:function(e){var t=this.opts();if(t.nextSlide===0&&--t.loop===0){t.API.log("terminating; loop=0"),t.timeout=0,t.API.trigger("cycle-finished",[t]),t.nextSlide=t.currSlide;return}e.timeout&&(t.timeoutId=setTimeout(function(){t.API.prepareTx(!1,!t.reverse)},e.timeout))},stopTransition:function(){var e=this.opts();e.slides.filter(":animated").length&&(e.slides.stop(!1,!0),e.API.trigger("cycle-transition-stopped",[e])),e._tx&&e._tx.stopTransition&&e._tx.stopTransition(e)},advanceSlide:function(e){var t=this.opts();return clearTimeout(t.timeoutId),t.timeoutId=0,t.nextSlide=t.currSlide+e,t.nextSlide<0?t.nextSlide=t.slides.length-1:t.nextSlide>=t.slides.length&&(t.nextSlide=0),t.API.prepareTx(!0,e>=0),!1},buildSlideOpts:function(n){var r=this.opts(),i,s,o=n.data()||{};for(var u in o)o.hasOwnProperty(u)&&/^cycle[A-Z]+/.test(u)&&(i=o[u],s=u.match(/^cycle(.*)/)[1].replace(/^[A-Z]/,t),r.API.log("["+(r.slideCount-1)+"]",s+":",i,"("+typeof i+")"),o[s]=i);o=e.extend({},e.fn.cycle.defaults,r,o),o.slideNum=r.slideCount;try{delete o.API,delete o.slideCount,delete o.currSlide,delete o.nextSlide,delete o.slides}catch(f){}return o},getSlideOpts:function(t){var n=this.opts();t===undefined&&(t=n.currSlide);var r=n.slides[t],i=e(r).data("cycle.opts");return e.extend({},n,i)},initSlide:function(t,n,r){var i=this.opts();n.css(t.slideCss||{}),r>0&&n.css("zIndex",r),isNaN(t.speed)&&(t.speed=e.fx.speeds[t.speed]||e.fx.speeds._default),t.sync||(t.speed=t.speed/2),n.addClass(i.slideClass)},updateView:function(e){var t=this.opts();if(!t._initialized)return;var n=t.API.getSlideOpts(),r=t.slides[t.currSlide];t.slideActiveClass&&t.slides.removeClass(t.slideActiveClass).eq(t.currSlide).addClass(t.slideActiveClass),e&&t.hideNonActive&&t.slides.filter(":not(."+t.slideActiveClass+")").hide(),t.API.trigger("cycle-update-view",[t,n,r])},getComponent:function(t){var n=this.opts(),r=n[t];return typeof r=="string"?/^\s*\>/.test(r)?n.container.find(r):e(r):r.jquery?r:e(r)},stackSlides:function(t,n,r){var i=this.opts();t||(t=i.slides[i.currSlide],n=i.slides[i.nextSlide],r=!i.reverse),e(t).css("zIndex",i.maxZ);var s,o=i.maxZ-2,u=i.slideCount;if(r){for(s=i.currSlide+1;s<u;s++)e(i.slides[s]).css("zIndex",o--);for(s=0;s<i.currSlide;s++)e(i.slides[s]).css("zIndex",o--)}else{for(s=i.currSlide-1;s>=0;s--)e(i.slides[s]).css("zIndex",o--);for(s=u-1;s>i.currSlide;s--)e(i.slides[s]).css("zIndex",o--)}e(n).css("zIndex",i.maxZ-1)},getSlideIndex:function(e){return this.opts().slides.index(e)}},e.fn.cycle.log=function(){window.console&&console.log&&console.log("[cycle2] "+Array.prototype.join.call(arguments," "))},e.fn.cycle.version=function(){return"Cycle2: "+n},e.fn.cycle.transitions={custom:{},none:{before:function(e,t,n,r){e.API.stackSlides(n,t,r),e.cssBefore={opacity:1,display:"block"}}},fade:{before:function(t,n,r,i){var s=t.API.getSlideOpts(t.nextSlide).slideCss||{};t.API.stackSlides(n,r,i),t.cssBefore=e.extend(s,{opacity:0,display:"block"}),t.animIn={opacity:1},t.animOut={opacity:0}
5}},fadeout:{before:function(t,n,r,i){var s=t.API.getSlideOpts(t.nextSlide).slideCss||{};t.API.stackSlides(n,r,i),t.cssBefore=e.extend(s,{opacity:1,display:"block"}),t.animOut={opacity:0}}},scrollHorz:{before:function(e,t,n,r){e.API.stackSlides(t,n,r);var i=e.container.css("overflow","hidden").width();e.cssBefore={left:r?i:-i,top:0,opacity:1,display:"block"},e.cssAfter={zIndex:e._maxZ-2,left:0},e.animIn={left:0},e.animOut={left:r?-i:i}}}},e.fn.cycle.defaults={allowWrap:!0,autoSelector:".cycle-slideshow[data-cycle-auto-init!=false]",delay:0,easing:null,fx:"fade",hideNonActive:!0,loop:0,manualFx:undefined,manualSpeed:undefined,manualTrump:!0,maxZ:100,pauseOnHover:!1,reverse:!1,slideActiveClass:"cycle-slide-active",slideClass:"cycle-slide",slideCss:{position:"absolute",top:0,left:0},slides:"> img",speed:500,startingSlide:0,sync:!0,timeout:4e3,updateView:-1},e(document).ready(function(){e(e.fn.cycle.defaults.autoSelector).cycle()})})(jQuery),function(e){"use strict",e.extend(e.fn.cycle.defaults,{autoHeight:0}),e(document).on("cycle-initialized",function(t,n){function r(){n.container.height(n.container.width()/u)}var i=n.autoHeight,s=-1,o,u;i==="calc"||e.type(i)=="number"&&i>=0?(i==="calc"?n.slides.each(function(t){var n=e(this).height();n>s&&(s=n,i=t)}):i>=n.slides.length&&(i=0),o=e(n.slides[i]).clone(),o.removeAttr("id name rel").find("[id],[name],[rel]").removeAttr("id name rel"),o.css({position:"static",visibility:"hidden",display:"block"}).prependTo(n.container).removeClass().addClass("cycle-sentinel cycle-slide"),o.find("*").css("visibility","hidden"),n._sentinel=o):e.type(i)=="string"&&/\d+\:\d+/.test(i)&&(u=i.match(/(\d+)\:(\d+)/),u=u[1]/u[2],e(window).on("resize",r),n._autoHeightOnResize=r,setTimeout(function(){e(window).triggerHandler("resize")},15))}),e(document).on("cycle-destroyed",function(t,n){n._sentinel&&n._sentinel.remove(),n._autoHeightOnResize&&e(window).off("resize",n._autoHeightOnResize)})}(jQuery),function(e){"use strict",e.extend(e.fn.cycle.defaults,{caption:"> .cycle-caption",captionTemplate:"{{slideNum}} / {{slideCount}}",overlay:"> .cycle-overlay",overlayTemplate:"<div>{{title}}</div><div>{{desc}}</div>"}),e(document).on("cycle-update-view",function(t,n,r,i){var s;e.each(["caption","overlay"],function(){var e=this,t=r[e+"Template"],s=n.API.getComponent(e);s.length&&t?(s.html(n.API.tmpl(t,r,n,i)),s.show()):s.hide()})}),e(document).on("cycle-destroyed",function(t,n){var r;e.each(["caption","overlay"],function(){var e=this,t=n[e+"Template"];n[e]&&t&&(r=n.API.getComponent("caption"),r.empty())})})}(jQuery),function(e){"use strict";var t=e.fn.cycle;e.fn.cycle=function(n){var r,i,s,o=e.makeArray(arguments);return e.type(n)=="number"?this.cycle("goto",n):e.type(n)=="string"?this.each(function(){var u;r=n,s=e(this).data("cycle.opts");if(s===undefined){t.log('slideshow must be initialized before sending commands; "'+r+'" ignored');return}r=r=="goto"?"jump":r,i=s.API[r];if(e.isFunction(i))return u=e.makeArray(o),u.shift(),i.apply(s.API,u);t.log("unknown command: ",r)}):t.apply(this,arguments)},e.extend(e.fn.cycle,t),e.extend(t.API,{next:function(){var e=this.opts();if(e.busy&&!e.manualTrump)return;var t=e.reverse?-1:1;if(e.allowWrap===!1&&e.currSlide+t>=e.slideCount)return;e.API.advanceSlide(t),e.API.trigger("cycle-next",[e]).log("cycle-next")},prev:function(){var e=this.opts();if(e.busy&&!e.manualTrump)return;var t=e.reverse?1:-1;if(e.allowWrap===!1&&e.currSlide+t<0)return;e.API.advanceSlide(t),e.API.trigger("cycle-prev",[e]).log("cycle-prev")},destroy:function(){var e=this.opts();clearTimeout(e.timeoutId),e.timeoutId=0,e.API.stop(),e.API.trigger("cycle-destroyed",[e]).log("cycle-destroyed"),e.container.removeData("cycle.opts"),e.retainStylesOnDestroy||(e.container.removeAttr("style"),e.slides.removeAttr("style"),e.slides.removeClass("cycle-slide-active"))},jump:function(e){var t,n=this.opts();if(n.busy&&!n.manualTrump)return;var r=parseInt(e,10);if(isNaN(r)||r<0||r>=n.slides.length){n.API.log("goto: invalid slide index: "+r);return}if(r==n.currSlide){n.API.log("goto: skipping, already on slide",r);return}n.nextSlide=r,clearTimeout(n.timeoutId),n.timeoutId=0,n.API.log("goto: ",r," (zero-index)"),t=n.currSlide<n.nextSlide,n.API.prepareTx(!0,t)},stop:function(){var t=this.opts(),n=t.container;clearTimeout(t.timeoutId),t.timeoutId=0,t.API.stopTransition(),t.pauseOnHover&&(t.pauseOnHover!==!0&&(n=e(t.pauseOnHover)),n.off("mouseenter mouseleave")),t.API.trigger("cycle-stopped",[t]).log("cycle-stopped")},pause:function(){var e=this.opts();e.paused=!0,e.API.trigger("cycle-paused",[e]).log("cycle-paused")},resume:function(){var e=this.opts();e.paused=!1,e.API.trigger("cycle-resumed",[e]).log("cycle-resumed")},reinit:function(){var e=this.opts();e.API.destroy(),e.container.cycle()},remove:function(t){var n=this.opts(),r,i,s=[],o=1;for(var u=0;u<n.slides.length;u++)r=n.slides[u],u==t?i=r:(s.push(r),e(r).data("cycle.opts").slideNum=o,o++);i&&(n.slides=e(s),n.slideCount--,e(i).remove(),t==n.currSlide&&n.API.advanceSlide(1),n.API.trigger("cycle-slide-removed",[n,t,i]).log("cycle-slide-removed"),n.API.updateView())}}),e(document).on("click.cycle","[data-cycle-cmd]",function(t){t.preventDefault();var n=e(this),r=n.data("cycle-cmd"),i=n.data("cycle-context")||".cycle-slideshow";e(i).cycle(r,n.data("cycle-arg"))})}(jQuery),function(e){function t(t,n){var r;if(t._hashFence){t._hashFence=!1;return}r=window.location.hash.substring(1),t.slides.each(function(i){if(e(this).data("cycle-hash")==r)return n===!0?t.startingSlide=i:(t.nextSlide=i,t.API.prepareTx(!0,!1)),!1})}"use strict",e(document).on("cycle-pre-initialize",function(n,r){t(r,!0),r._onHashChange=function(){t(r,!1)},e(window).on("hashchange",r._onHashChange)}),e(document).on("cycle-update-view",function(e,t,n){n.hash&&(t._hashFence=!0,window.location.hash=n.hash)}),e(document).on("cycle-destroyed",function(t,n){n._onHashChange&&e(window).off("hashchange",n._onHashChange)})}(jQuery),function(e){"use strict",e.extend(e.fn.cycle.defaults,{loader:!1}),e(document).on("cycle-bootstrap",function(t,n){function r(t,r){function s(t){var s;
5n.loader=="wait"?(u.push(t),f===0&&(u.sort(o),i.apply(n.API,[u,r]),n.container.removeClass("cycle-loading"))):(s=e(n.slides[n.currSlide]),i.apply(n.API,[t,r]),s.show(),n.container.removeClass("cycle-loading"))}function o(e,t){return e.data("index")-t.data("index")}var u=[];typeof t=="string"&&(t=e.trim(t)),t=e(t);var f=t.length;t.hide().appendTo("body").each(function(t){function o(){--l===0&&(--f,s(p))}var l=0,p=e(this),v=p.is("img")?p:p.find("img");p.data("index",t),v=v.filter(":not(.cycle-loader-ignore)");if(!v.length){--f,u.push(p);return}l=v.length,v.each(function(){this.complete?o():e(this).load(function(){o()}).error(function(){--l===0&&(n.API.log("slide skipped; img not loaded:",this.src),--f===0&&n.loader=="wait"&&i.apply(n.API,[u,r]))})})}),f&&n.container.addClass("cycle-loading")}var i;if(!n.loader)return;i=n.API.add,n.API.add=r})}(jQuery),function(e){function t(t,n,r){var i,s=t.API.getComponent("pager");s.each(function(){var s=e(this);if(n.pagerTemplate){var o=t.API.tmpl(n.pagerTemplate,n,t,r[0]);i=e(o).appendTo(s)}else i=s.children().eq(t.slideCount-1);i.on(t.pagerEvent,function(e){e.preventDefault(),t.API.page(s,e.currentTarget)})})}function n(e,t){var n=this.opts();if(n.busy&&!n.manualTrump)return;var r=e.children().index(t),i=r,s=n.currSlide<i;if(n.currSlide==i)return;n.nextSlide=i,n.API.prepareTx(!0,s),n.API.trigger("cycle-pager-activated",[n,e,t])}"use strict",e.extend(e.fn.cycle.defaults,{pager:"> .cycle-pager",pagerActiveClass:"cycle-pager-active",pagerEvent:"click.cycle",pagerTemplate:"<span>&bull;</span>"}),e(document).on("cycle-bootstrap",function(e,n,r){r.buildPagerLink=t}),e(document).on("cycle-slide-added",function(e,t,r,i){t.pager&&(t.API.buildPagerLink(t,r,i),t.API.page=n)}),e(document).on("cycle-slide-removed",function(t,n,r,i){if(n.pager){var s=n.API.getComponent("pager");s.each(function(){var t=e(this);e(t.children()[r]).remove()})}}),e(document).on("cycle-update-view",function(t,n,r){var i;n.pager&&(i=n.API.getComponent("pager"),i.each(function(){e(this).children().removeClass(n.pagerActiveClass).eq(n.currSlide).addClass(n.pagerActiveClass)}))}),e(document).on("cycle-destroyed",function(e,t){var n;t.pager&&t.pagerTemplate&&(n=t.API.getComponent("pager"),n.empty())})}(jQuery),function(e){"use strict",e.extend(e.fn.cycle.defaults,{next:"> .cycle-next",nextEvent:"click.cycle",disabledClass:"disabled",prev:"> .cycle-prev",prevEvent:"click.cycle",swipe:!1}),e(document).on("cycle-initialized",function(e,t){t.API.getComponent("next").off(t.nextEvent).on(t.nextEvent,function(e){e.preventDefault(),t.API.next()}),t.API.getComponent("prev").off(t.prevEvent).on(t.prevEvent,function(e){e.preventDefault(),t.API.prev()});if(t.swipe){var n=t.swipeVert?"swipeUp.cycle":"swipeLeft.cycle swipeleft.cycle",r=t.swipeVert?"swipeDown.cycle":"swipeRight.cycle swiperight.cycle";t.container.on(n,function(e){t.API.next()}),t.container.on(r,function(){t.API.prev()})}}),e(document).on("cycle-update-view",function(e,t,n,r){if(t.allowWrap)return;var i=t.disabledClass,s=t.API.getComponent("next"),o=t.API.getComponent("prev"),u=t._prevBoundry||0,a=t._nextBoundry||t.slideCount-1;t.currSlide==a?s.addClass(i).prop("disabled",!0):s.removeClass(i).prop("disabled",!1),t.currSlide===u?o.addClass(i).prop("disabled",!0):o.removeClass(i).prop("disabled",!1)}),e(document).on("cycle-destroyed",function(t,n){e(n.next).off(n.nextEvent),e(n.prev).off(n.prevEvent),n.container.off("swipeleft.cycle swiperight.cycle swipeLeft.cycle swipeRight.cycle swipeUp.cycle swipeDown.cycle")})}(jQuery),function(e){"use strict",e.extend(e.fn.cycle.defaults,{progressive:!1}),e(document).on("cycle-pre-initialize",function(t,n){if(!n.progressive)return;var r=n.API,i=r.next,s=r.prev,o=r.prepareTx,u=e.type(n.progressive),f,l;if(u=="array")f=n.progressive;else if(e.isFunction(n.progressive))f=n.progressive(n);else if(u=="string"){l=e(n.progressive),f=e.trim(l.html());if(!f)return;if(/^(\[)/.test(f))try{f=e.parseJSON(f)}catch(c){r.log("error parsing progressive slides",c);return}else f=f.split(new RegExp(l.data("cycle-split")||"\n")),f[f.length-0]||f.pop()}o&&(r.prepareTx=function(e,t){var r,i;if(e||f.length===0){o.apply(n.API,[e,t]);return}t&&n.currSlide==n.slideCount-1?(i=f[0],f=f.slice(1),n.container.one("cycle-slide-added",function(e,t){setTimeout(function(){t.API.advanceSlide(1)},50)}
5),n.API.add(i)):!t&&n.currSlide===0?(r=f.length-1,i=f[r],f=f.slice(0,r),n.container.one("cycle-slide-added",function(e,t){setTimeout(function(){t.currSlide=1,t.API.advanceSlide(-1)},50)}),n.API.add(i,!0)):o.apply(n.API,[e,t])}),i&&(r.next=function(){var e=this.opts();if(f.length&&e.currSlide==e.slideCount-1){var t=f[0];f=f.slice(1),e.container.one("cycle-slide-added",function(e,t){i.apply(t.API),t.container.removeClass("cycle-loading")}),e.container.addClass("cycle-loading"),e.API.add(t)}else i.apply(e.API)}),s&&(r.prev=function(){var e=this.opts();if(f.length&&e.currSlide===0){var t=f.length-1,n=f[t];f=f.slice(0,t),e.container.one("cycle-slide-added",function(e,t){t.currSlide=1,t.API.advanceSlide(-1),t.container.removeClass("cycle-loading")}),e.container.addClass("cycle-loading"),e.API.add(n,!0)}else s.apply(e.API)})})}(jQuery),function(e){"use strict",e.extend(e.fn.cycle.defaults,{tmplRegex:"{{((.)?.*?)}}"}),e.extend(e.fn.cycle.API,{tmpl:function(t,n){var r=new RegExp(n.tmplRegex||e.fn.cycle.defaults.tmplRegex,"g"),i=e.makeArray(arguments);return i.shift(),t.replace(r,function(t,n){var r,s,o,u,f=n.split(".");for(r=0;r<i.length;r++){o=i[r];if(!o)continue;if(f.length>1){u=o;for(s=0;s<f.length;s++)o=u,u=u[f[s]]||n}else u=o[n];if(e.isFunction(u))return u.apply(o,i);if(u!==undefined&&u!==null&&u!=n)return u}return n})}})}(jQuery);(function(e,t){var n=function(e,t,n){var r;return function(){function u(){n||e.apply(s,o);r=null}var s=this,o=arguments;r?clearTimeout(r):n&&e.apply(s,o);r=setTimeout(u,t||100)}};jQuery.fn[t]=function(e){return e?this.bind("resize",n(e)):this.trigger(t)}})(jQuery,"smartresize");(function(){var e=jQuery.event.special,t="D"+ +(new Date),n="D"+(+(new Date)+1);e.scrollstart={setup:function(){var n,r=function(t){var r=this,i=arguments;if(n)clearTimeout(n);else{t.type="scrollstart";jQuery.event.handle.apply(r,i)}n=setTimeout(function(){n=null},e.scrollstop.latency)};jQuery(this).bind("scroll",r).data(t,r)},teardown:function(){jQuery(this).unbind("scroll",jQuery(this).data(t))}};e.scrollstop={latency:300,setup:function(){var t,r=function(n){var r=this,i=arguments;t&&clearTimeout(t);t=setTimeout(function(){t=null;n.type="scrollstop";jQuery.event.handle.apply(r,i)},e.scrollstop.latency)};jQuery(this).bind("scroll",r).data(n,r)},teardown:function(){jQuery(this).unbind("scroll",jQuery(this).data(n))}}})();(function(e){"use strict";e.fn.fitVids=function(t){var n={customSelector:null};if(!document.getElementById("fit-vids-style")){var r=document.createElement("div"),i=document.getElementsByTagName("base")[0]||document.getElementsByTagName("script")[0],s="&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.className="fit-vids-style";r.id="fit-vids-style";r.style.display="none";r.innerHTML=s;i.parentNode.insertBefore(r,i)}t&&e.extend(n,t);return 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 r=e(this).find(t.join(","));r=r.not("object object");r.each(function(){var t=e(this);if(this.tagName.toLowerCase()==="embed"&&t.parent("object").length||t.parent(".fluid-width-video-wrapper").length)return;var n=this.tagName.toLowerCase()==="object"||t.attr("height")&&!isNaN(parseInt(t.attr("height"),10))?parseInt(t.attr("height"),10):t.height(),r=isNaN(parseInt(t.attr("width"),10))?t.width():parseInt(t.attr("width"),10),i=n/r;if(!t.attr("id")){var s="fitvid"+Math.floor(Math.random()*999999);t.attr("id",s)}t.wrap('<div class="fluid-width-video-wrapper"></div>').parent(".fluid-width-video-wrapper").css("padding-top",i*100+"%");t.removeAttr("height").removeAttr("width")})})}})(window.jQuery||window.Zepto);

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.