PageSourceSearch

https://nlimedspa.com/wp-content/plugins/ajax-portfolio/js/jquery.plugins.js

js nlimedspa.com collected 2026-09-29 11:05:19 UTC 27,825 bytes, 130 lines download raw bytes

1/* Modernizr 2.6.2 (Custom Build) | MIT & BSD
2 * Build: http://modernizr.com/download/#-opacity-cssanimations-csstransforms-csstransforms3d-csstransitions-addtest-prefixed-teststyles-testprop-testallprops-hasevent-prefixes-domprefixes
3 */
4;window.Modernizr=function(a,b,c){function z(a){i.cssText=a}function A(a,b){return z(l.join(a+";")+(b||""))}function B(a,b){return typeof a===b}function C(a,b){return!!~(""+a).indexOf(b)}function D(a,b){for(var d in a){var e=a[d];if(!C(e,"-")&&i[e]!==c)return b=="pfx"?e:!0}return!1}function E(a,b,d){for(var e in a){var f=b[a[e]];if(f!==c)return d===!1?a[e]:B(f,"function")?f.bind(d||b):f}return!1}function F(a,b,c){var d=a.charAt(0).toUpperCase()+a.slice(1),e=(a+" "+n.join(d+" ")+d).split(" ");return B(b,"string")||B(b,"undefined")?D(e,b):(e=(a+" "+o.join(d+" ")+d).split(" "),E(e,b,c))}var d="2.6.2",e={},f=b.documentElement,g="modernizr",h=b.createElement(g),i=h.style,j,k={}.toString,l=" -webkit- -moz- -o- -ms- ".split(" "),m="Webkit Moz O ms",n=m.split(" "),o=m.toLowerCase().split(" "),p={},q={},r={},s=[],t=s.slice,u,v=function(a,c,d,e){var h,i,j,k,l=b.createElement("div"),m=b.body,n=m||b.createElement("body");if(parseInt(d,10))while(d--)j=b.createElement("div"),j.id=e?e[d]:g+(d+1),l.appendChild(j);return h=["&#173;",'<style id="s',g,'">',a,"</style>"].join(""),l.id=g,(m?l:n).innerHTML+=h,n.appendChild(l),m||(n.style.background="",n.style.overflow="hidden",k=f.style.overflow,f.style.overflow="hidden",f.appendChild(n)),i=c(l,a),m?l.parentNode.removeChild(l):(n.parentNode.removeChild(n),f.style.overflow=k),!!i},w=function(){function d(d,e){e=e||b.createElement(a[d]||"div"),d="on"+d;var f=d in e;return f||(e.setAttribute||(e=b.createElement("div")),e.setAttribute&&e.removeAttribute&&(e.setAttribute(d,""),f=B(e[d],"function"),B(e[d],"undefined")||(e[d]=c),e.removeAttribute(d))),e=null,f}var a={select:"input",change:"input",submit:"form",reset:"form",error:"img",load:"img",abort:"img"};return d}(),x={}.hasOwnProperty,y;!B(x,"undefined")&&!B(x.call,"undefined")?y=function(a,b){return x.call(a,b)}:y=function(a,b){return b in a&&B(a.constructor.prototype[b],"undefined")},Function.prototype.bind||(Function.prototype.bind=function(b){var c=this;if(typeof c!="function")throw new TypeError;var d=t.call(arguments,1),e=function(){if(this instanceof e){var a=function(){};a.prototype=c.prototype;var f=new a,g=c.apply(f,d.concat(t.call(arguments)));return Object(g)===g?g:f}return c.apply(b,d.concat(t.call(arguments)))};return e}),p.opacity=function(){return A("opacity:.55"),/^0.55$/.test(i.opacity)},p.cssanimations=function(){return F("animationName")},p.csstransforms=function(){return!!F("transform")},p.csstransforms3d=function(){var a=!!F("perspective");return a&&"webkitPerspective"in f.style&&v("@media (transform-3d),(-webkit-transform-3d){#modernizr{left:9px;position:absolute;height:3px;}}",function(b,c){a=b.offsetLeft===9&&b.offsetHeight===3}),a},p.csstransitions=function(){return F("transition")};for(var G in p)y(p,G)&&(u=G.toLowerCase(),e[u]=p[G](),s.push((e[u]?"":"no-")+u));return e.addTest=function(a,b){if(typeof a=="object")for(var d in a)y(a,d)&&e.addTest(d,a[d]);else{a=a.toLowerCase();if(e[a]!==c)return e;b=typeof b=="function"?b():b,typeof enableClasses!="undefined"&&enableClasses&&(f.className+=" "+(b?"":"no-")+a),e[a]=b}return e},z(""),h=j=null,e._version=d,e._prefixes=l,e._domPrefixes=o,e._cssomPrefixes=n,e.hasEvent=w,e.testProp=function(a){return D([a])},e.testAllProps=F,e.testStyles=v,e.prefixed=function(a,b,c){return b?F(a,b,c):F(a,"pfx")},e}(this,this.document);
5
6/* Copyright 2012, Ben Lin (http://dreamerslab.com/)
7 * Licensed under the MIT License (LICENSE.txt).
8 *
9 * Version: 1.0.15
10 *
11 * Requires: jQuery >= 1.2.3
12 */
13(function(a){a.fn.addBack=a.fn.addBack||a.fn.andSelf;a.fn.extend({actual:function(b,l){if(!this[b]){throw'$.actual => The jQuery method "'+b+'" you called does not exist';}var f={absolute:false,clone:false,includeMargin:false};var i=a.extend(f,l);var e=this.eq(0);var h,j;if(i.clone===true){h=function(){var m="position: absolute !important; top: -1000 !important; ";e=e.clone().attr("style",m).appendTo("body")};j=function(){e.remove()}}else{var g=[];var d="";var c;h=function(){c=e.parents().addBack().filter(":hidden");d+="visibility: hidden !important; display: block !important; ";if(i.absolute===true){d+="position: absolute !important; "}c.each(function(){var m=a(this);g.push(m.attr("style"));m.attr("style",d)})};j=function(){c.each(function(m){var o=a(this);var n=g[m];if(n===undefined){o.removeAttr("style")}else{o.attr("style",n)}})}}h();var k=/(outer)/.test(b)?e[b](i.includeMargin):e[b]();j();return k}})})(jQuery);
14
15/* ScrollTo Plugin */
16(function($){$.fn.scrollTo=function(d,e,f){if(typeof e=='function'&&arguments.length==2){f=e;e=d}var g=$.extend({scrollTarget:d,offsetTop:50,duration:500,easing:'swing'},e);return this.each(function(){var a=$(this);var b=(typeof g.scrollTarget=="number")?g.scrollTarget:$(g.scrollTarget);var c=(typeof b=="number")?b:b.offset().top+a.scrollTop()-parseInt(g.offsetTop);a.animate({scrollTop:c},parseInt(g.duration),g.easing,function(){if(typeof f=='function'){f.call(this)}})})}})(jQuery);
17
18/*
19 * debouncedresize: special jQuery event that happens once after a window resize
20 *
21 * latest version and complete README available on Github:
22 * https://github.com/louisremi/jquery-smartresize
23 *
24 * Copyright 2012 @louis_remi
25 * Licensed under the MIT license.
26 *
27 */
28(function($){var d=$.event,$special,resizeTimeout;$special=d.special.debouncedresize={setup:function(){$(this).on("resize",$special.handler)},teardown:function(){$(this).off("resize",$special.handler)},handler:function(a,b){var c=this,args=arguments,dispatch=function(){a.type="debouncedresize";d.dispatch.apply(c,args)};if(resizeTimeout){clearTimeout(resizeTimeout)}b?dispatch():resizeTimeout=setTimeout(dispatch,$special.threshold)},threshold:150}})(jQuery);
29
30/*! waitForImages jQuery Plugin - v1.5.0 - 2013-07-20
31 * https://github.com/alexanderdickson/waitForImages
32 * Copyright (c) 2013 Alex Dickson; Licensed MIT */
33(function($){var o='waitForImages';$.waitForImages={hasImageProperties:['backgroundImage','listStyleImage','borderImage','borderCornerImage','cursor']};$.expr[':'].uncached=function(a){if(!$(a).is('img[src!=""]')){return false}var b=new Image();b.src=a.src;return!b.complete};$.fn.waitForImages=function(j,k,l){var m=0;var n=0;if($.isPlainObject(arguments[0])){l=arguments[0].waitForAll;k=arguments[0].each;j=arguments[0].finished}j=j||$.noop;k=k||$.noop;l=!!l;if(!$.isFunction(j)||!$.isFunction(k)){throw new TypeError('An invalid callback was supplied.');}return this.each(function(){var e=$(this);var f=[];var g=$.waitForImages.hasImageProperties||[];var h=/url\(\s*(['"]?)(.*?)\1\s*\)/g;if(l){e.find('*').addBack().each(function(){var d=$(this);if(d.is('img:uncached')){f.push({src:d.attr('src'),element:d[0]})}$.each(g,function(i,a){var b=d.css(a);var c;if(!b){return true}while(c=h.exec(b)){f.push({src:c[2],element:d[0]})}})})}else{e.find('img:uncached').each(function(){f.push({src:this.src,element:this})})}m=f.length;n=0;if(m===0){j.call(e[0])}$.each(f,function(i,b){var c=new Image();$(c).on('load.'+o+' error.'+o,function(a){n++;k.call(b.element,n,m,a.type=='load');if(n==m){j.call(e[0]);return false}});c.src=b.src})})}}(jQuery));
34
35/*
36 * FitVids 1.0
37 *
38 * Copyright 2011, Chris Coyier - http://css-tricks.com + Dave Rupert - http://daverupert.com
39 * Credit to Thierry Koblentz - http://www.alistapart.com/articles/creating-intrinsic-ratios-for-video/
40 * Released under the WTFPL license - http://sam.zoy.org/wtfpl/
41 *
42 */
43(function ($) {
44	"use strict";
45	$.fn.fitVids = function (options) {
46		var settings = {
47			customSelector: null
48		};
49		if (!document.getElementById('fit-vids-style')) {
50			var div = document.createElement('div'),
51				ref = document.getElementsByTagName('base')[0] || document.getElementsByTagName('script')[0];
52			div.className = 'fit-vids-style';
53			div.id = 'fit-vids-style';
54			div.style.display = 'none';
55			div.innerHTML = '&shy;<style>         \
56        .fluid-width-video-wrapper {        \
57           width: 100%;                     \
58           position: relative;              \
59           padding: 0;                      \
60        }                                   \
61                                            \
62        .fluid-width-video-wrapper iframe,  \
63        .fluid-width-video-wrapper object,  \
64        .fluid-width-video-wrapper embed {  \
65           position: absolute;              \
66           top: 0;                          \
67           left: 0;                         \
68           width: 100%;                     \
69           height: 100%;                    \
70        }                                   \
71      </style>';
72			ref.parentNode.insertBefore(div, ref);
73		}
74		if (options) {
75			$.extend(settings, options);
76		}
77		return this.each(function () {
78			var selectors = [
79				"iframe[src*='player.vimeo.com']",
80				"iframe[src*='youtube.com']",
81				"iframe[src*='youtube-nocookie.com']",
82				"iframe[src*='kickstarter.com'][src*='video.html']",
83				"object",
84				"embed"
85			];
86			if (settings.customSelector) {
87				selectors.push(settings.customSelector);
88			}
89			var $allVideos = $(this).find(selectors.join(','));
90			$allVideos = $allVideos.not("object object"); // SwfObj conflict patch
91			$allVideos.each(function () {
92				var $this = $(this);
93				if (this.tagName.toLowerCase() === 'embed' && $this.parent('object').length || $this.parent('.fluid-width-video-wrapper').length) {
94					return;
95				}
96				var height = (this.tagName.toLowerCase() === 'object' || ($this.attr('height') && !isNaN(parseInt($this.attr('height'), 10)))) ? parseInt($this.attr('height'), 10) : $this.height(),
97					width = !isNaN(parseInt($this.attr('width'), 10)) ? parseInt($this.attr('width'), 10) : $this.width(),
98					aspectRatio = height / width;
99				if (!$this.attr('id')) {
100					var videoID = 'fitvid' + Math.floor(Math.random() * 999999);
101					$this.attr('id', videoID);
102				}
103				$this.wrap('<div class="fluid-width-video-wrapper"></div>').parent('.fluid-width-video-wrapper').css('padding-top', (aspectRatio * 100) + "%");
104				$this.removeAttr('height').removeAttr('width');
105			});
106		});
107	};
108})(jQuery);
109
110/*
111 * jQuery ThumbFx Overlayer Function
112 * Usage : jQuery('[data-overlayer]').overlayer(options);
113*/
114(function(d){var e=function(){};d.extend(e.prototype,{name:"overlayer",options:{effect:"fade",duration:300,easing:"swing",cls:"overlayer",invert:false,overlaySelector:".overlay",overlayDefault:"overlay-default"},initialize:function(c,a){a=d.extend({},this.options,a);c.attr("data-overlayer")&&d.each(c.attr("data-overlayer").split(";"),function(b,c){var d=c.match(/\s*([A-Z_]*?)\s*:\s*(.+)\s*/i);d&&(a[d[1]]=d[2])});a.duration=Math.floor(a.duration);var b=c.children(a.overlaySelector).first();b.length||(b=d("<div>").addClass(a.overlayDefault).appendTo(c));b.css({position:"absolute",visibility:"hidden",display:"block"}).wrapInner("<div>");c.css({position:"relative",overflow:"hidden"}).addClass(a.cls);if(a.invert){d(window).load(function(){b.stop().css({visibility:"visible",width:c.width(),height:a.effect=="top"||a.effect=="bottom"?"auto":c.height()});switch(a.effect){case"right":b.css({right:b.width()*-1,top:0,bottom:0}).animate({right:0},a.duration,a.easing);break;case"left":b.css({left:b.width()*-1,top:0,bottom:0}).animate({left:0},a.duration,a.easing);break;case"top":b.css({left:0,top:b.height()*-1}).animate({top:0},a.duration,a.easing);break;case"bottom":b.css({left:0,bottom:b.height()*-1}).animate({bottom:0},a.duration,a.easing);break;default:b.show().css({opacity:0,top:0,left:0}).animate({opacity:1},a.duration,a.easing,function(){if(d.browser.msie)b.get(0).filter="",b.attr("style",String(b.attr("style")).replace(/alpha\(opacity=([\d.]+)\)/i,""))})}});c.bind({mouseleave:function(){b.stop().css({visibility:"visible",width:c.width(),height:a.effect=="top"||a.effect=="bottom"?"auto":c.height()});switch(a.effect){case"right":b.css({right:b.width()*-1,top:0,bottom:0}).animate({right:0},a.duration,a.easing);break;case"left":b.css({left:b.width()*-1,top:0,bottom:0}).animate({left:0},a.duration,a.easing);break;case"top":b.css({left:0,top:b.height()*-1}).animate({top:0},a.duration,a.easing);break;case"bottom":b.css({left:0,bottom:b.height()*-1}).animate({bottom:0},a.duration,a.easing);break;default:b.show().css({opacity:0,top:0,left:0}).animate({opacity:1},a.duration,a.easing,function(){if(d.browser.msie)b.get(0).filter="",b.attr("style",String(b.attr("style")).replace(/alpha\(opacity=([\d.]+)\)/i,""))})}},mouseenter:function(){b.stop();switch(a.effect){case"right":b.animate({right:b.width()*-1},a.duration,a.easing);break;case"left":b.animate({left:b.width()*-1},a.duration,a.easing);break;case"top":b.animate({top:b.height()*-1},a.duration,a.easing);break;case"bottom":b.animate({bottom:b.height()*-1},a.duration,a.easing);break;default:b.animate({opacity:0}
114,a.duration,a.easing,function(){b.hide()})}}})}else{c.bind({mouseenter:function(){b.stop().css({visibility:"visible",width:c.width(),height:a.effect=="top"||a.effect=="bottom"?"auto":c.height()});switch(a.effect){case"right":b.css({right:b.width()*-1,top:0,bottom:0}).animate({right:0},a.duration,a.easing);break;case"left":b.css({left:b.width()*-1,top:0,bottom:0}).animate({left:0},a.duration,a.easing);break;case"top":b.css({left:0,top:b.height()*-1}).animate({top:0},a.duration,a.easing);break;case"bottom":b.css({left:0,bottom:b.height()*-1}).animate({bottom:0},a.duration,a.easing);break;default:b.show().css({opacity:0,top:0,left:0}).animate({opacity:1},a.duration,a.easing,function(){if(d.browser.msie)b.get(0).filter="",b.attr("style",String(b.attr("style")).replace(/alpha\(opacity=([\d.]+)\)/i,""))})}},mouseleave:function(){b.stop();switch(a.effect){case"right":b.animate({right:b.width()*-1},a.duration,a.easing);break;case"left":b.animate({left:b.width()*-1},a.duration,a.easing);break;case"top":b.animate({top:b.height()*-1},a.duration,a.easing);break;case"bottom":b.animate({bottom:b.height()*-1},a.duration,a.easing);break;default:b.animate({opacity:0}
114,a.duration,a.easing,function(){b.hide()})}}})}}});d.fn[e.prototype.name]=function(){var c=arguments,a=c[0]?c[0]:null;return this.each(function(){var b=d(this);if(e.prototype[a]&&b.data(e.prototype.name)&&a!="initialize")b.data(e.prototype.name)[a].apply(b.data(e.prototype.name),Array.prototype.slice.call(c,1));else if(!a||d.isPlainObject(a)){var f=new e;e.prototype.initialize&&f.initialize.apply(f,d.merge([b],c));b.data(e.prototype.name,f)}else d.error("Method "+a+" does not exist on jQuery."+e.name)})}})(jQuery);
115
116/*!
117 * jQuery Transit - CSS3 transitions and transformations
118 * (c) 2011-2012 Rico Sta. Cruz <[email protected]>
119 * MIT Licensed.
120 *
121 * http://ricostacruz.com/jquery.transit
122 * http://github.com/rstacruz/jquery.transit
123 */
124(function($){$.transit={version:"0.9.9",propertyMap:{marginLeft:'margin',marginRight:'margin',marginBottom:'margin',marginTop:'margin',paddingLeft:'padding',paddingRight:'padding',paddingBottom:'padding',paddingTop:'padding'},enabled:true,useTransitionEnd:false};var u=document.createElement('div');var w={};function getVendorPropertyName(a){if(a in u.style)return a;var b=['Moz','Webkit','O','ms'];var c=a.charAt(0).toUpperCase()+a.substr(1);if(a in u.style){return a}for(var i=0;i<b.length;++i){var d=b[i]+c;if(d in u.style){return d}}}function checkTransform3dSupport(){u.style[w.transform]='';u.style[w.transform]='rotateY(90deg)';return u.style[w.transform]!==''}var z=navigator.userAgent.toLowerCase().indexOf('chrome')>-1;w.transition=getVendorPropertyName('transition');w.transitionDelay=getVendorPropertyName('transitionDelay');w.transform=getVendorPropertyName('transform');w.transformOrigin=getVendorPropertyName('transformOrigin');w.transform3d=checkTransform3dSupport();var A={'transition':'transitionEnd','MozTransition':'transitionend','OTransition':'oTransitionEnd','WebkitTransition':'webkitTransitionEnd','msTransition':'MSTransitionEnd'};var B=w.transitionEnd=A[w.transition]||null;for(var C in w){if(w.hasOwnProperty(C)&&typeof $.support[C]==='undefined'){$.support[C]=w[C]}}u=null;$.cssEase={'_default':'ease','in':'ease-in','out':'ease-out','in-out':'ease-in-out','snap':'cubic-bezier(0,1,.5,1)','easeOutCubic':'cubic-bezier(.215,.61,.355,1)','easeInOutCubic':'cubic-bezier(.645,.045,.355,1)','easeInCirc':'cubic-bezier(.6,.04,.98,.335)','easeOutCirc':'cubic-bezier(.075,.82,.165,1)','easeInOutCirc':'cubic-bezier(.785,.135,.15,.86)','easeInExpo':'cubic-bezier(.95,.05,.795,.035)','easeOutExpo':'cubic-bezier(.19,1,.22,1)','easeInOutExpo':'cubic-bezier(1,0,0,1)','easeInQuad':'cubic-bezier(.55,.085,.68,.53)','easeOutQuad':'cubic-bezier(.25,.46,.45,.94)','easeInOutQuad':'cubic-bezier(.455,.03,.515,.955)','easeInQuart':'cubic-bezier(.895,.03,.685,.22)','easeOutQuart':'cubic-bezier(.165,.84,.44,1)','easeInOutQuart':'cubic-bezier(.77,0,.175,1)','easeInQuint':'cubic-bezier(.755,.05,.855,.06)','easeOutQuint':'cubic-bezier(.23,1,.32,1)','easeInOutQuint':'cubic-bezier(.86,0,.07,1)','easeInSine':'cubic-bezier(.47,0,.745,.715)','easeOutSine':'cubic-bezier(.39,.575,.565,1)','easeInOutSine':'cubic-bezier(.445,.05,.55,.95)','easeInBack':'cubic-bezier(.6,-.28,.735,.045)','easeOutBack':'cubic-bezier(.175, .885,.32,1.275)','easeInOutBack':'cubic-bezier(.68,-.55,.265,1.55)'};$.cssHooks['transit:transform']={get:function(a){return $(a).data('transform')||new Transform()},set:function(a,v){var b=v;if(!(b instanceof Transform)){b=new Transform(b)}if(w.transform==='WebkitTransform'&&!z){a.style[w.transform]=b.toString(true)}else{a.style[w.transform]=b.toString()}$(a).data('transform',b)}};$.cssHooks.transform={set:$.cssHooks['transit:transform'].set};if($.fn.jquery<"1.8"){$.cssHooks.transformOrigin={get:function(a){return a.style[w.transformOrigin]},set:function(a,b){a.style[w.transformOrigin]=b}};$.cssHooks.transition={get:function(a){return a.style[w.transition]},set:function(a,b){a.style[w.transition]=b}}}registerCssHook('scale');registerCssHook('translate');registerCssHook('rotate');registerCssHook('rotateX');registerCssHook('rotateY');registerCssHook('rotate3d');registerCssHook('perspective');registerCssHook('skewX');registerCssHook('skewY');registerCssHook('x',true);registerCssHook('y',true);function Transform(a){if(typeof a==='string'){this.parse(a)}return this}Transform.prototype={setFromString:function(a,b){var c=(typeof b==='string')?b.split(','):(b.constructor===Array)?b:[b];c.unshift(a);Transform.prototype.set.apply(this,c)},set:function(a){var b=Array.prototype.slice.apply(arguments,[1]);if(this.setter[a]){this.setter[a].apply(this,b)}else{this[a]=b.join(',')}}
124,get:function(a){if(this.getter[a]){return this.getter[a].apply(this)}else{return this[a]||0}},setter:{rotate:function(a){this.rotate=unit(a,'deg')},rotateX:function(a){this.rotateX=unit(a,'deg')},rotateY:function(a){this.rotateY=unit(a,'deg')},scale:function(x,y){if(y===undefined){y=x}this.scale=x+","+y},skewX:function(x){this.skewX=unit(x,'deg')},skewY:function(y){this.skewY=unit(y,'deg')},perspective:function(a){this.perspective=unit(a,'px')},x:function(x){this.set('translate',x,null)},y:function(y){this.set('translate',null,y)},translate:function(x,y){if(this._translateX===undefined){this._translateX=0}if(this._translateY===undefined){this._translateY=0}if(x!==null&&x!==undefined){this._translateX=unit(x,'px')}if(y!==null&&y!==undefined){this._translateY=unit(y,'px')}this.translate=this._translateX+","+this._translateY}},getter:{x:function(){return this._translateX||0},y:function(){return this._translateY||0},scale:function(){var s=(this.scale||"1,1").split(',');if(s[0]){s[0]=parseFloat(s[0])}if(s[1]){s[1]=parseFloat(s[1])}return(s[0]===s[1])?s[0]:s},rotate3d:function(){var s=(this.rotate3d||"0,0,0,0deg").split(',');for(var i=0;i<=3;++i){if(s[i]){s[i]=parseFloat(s[i])}}if(s[3]){s[3]=unit(s[3],'deg')}return s}},parse:function(c){var d=this;c.replace(/([a-zA-Z0-9]+)\((.*?)\)/g,function(x,a,b){d.setFromString(a,b)})},toString:function(a){var b=[];for(var i in this){if(this.hasOwnProperty(i)){if((!w.transform3d)&&((i==='rotateX')||(i==='rotateY')||(i==='perspective')||(i==='transformOrigin'))){continue}if(i[0]!=='_'){if(a&&(i==='scale')){b.push(i+"3d("+this[i]+",1)")}else if(a&&(i==='translate')){b.push(i+"3d("+this[i]+",0)")}else{b.push(i+"("+this[i]+")")}}}}return b.join(" ")}};function callOrQueue(a,b,c){if(b===true){a.queue(c)}else if(b){a.queue(b,c)}else{c()}}function getProperties(b){var c=[];$.each(b,function(a){a=$.camelCase(a);a=$.transit.propertyMap[a]||$.cssProps[a]||a;a=uncamel(a);if($.inArray(a,c)===-1){c.push(a)}});return c}function getTransition(b,c,d,e){var f=getProperties(b);if($.cssEase[d]){d=$.cssEase[d]}var g=''+toMS(c)+' '+d;if(parseInt(e,10)>0){g+=' '+toMS(e)}var h=[];$.each(f,function(i,a){h.push(a+' '+g)});return h.join(', ')}$.fn.transition=$.fn.transit=function(d,e,f,g){var h=this;var j=0;var k=true;var l=jQuery.extend(true,{},d);if(typeof e==='function'){g=e;e=undefined}if(typeof e==='object'){f=e.easing;j=e.delay||0;k=e.queue||true;g=e.complete;e=e.duration}if(typeof f==='function'){g=f;f=undefined}if(typeof l.easing!=='undefined'){f=l.easing;delete l.easing}if(typeof l.duration!=='undefined'){e=l.duration;delete l.duration}if(typeof l.complete!=='undefined'){g=l.complete;delete l.complete}if(typeof l.queue!=='undefined'){k=l.queue;delete l.queue}if(typeof l.delay!=='undefined'){j=l.delay;delete l.delay}if(typeof e==='undefined'){e=$.fx.speeds._default}if(typeof f==='undefined'){f=$.cssEase._default}e=toMS(e);var m=getTransition(l,e,f,j);var n=$.transit.enabled&&w.transition;var i=n?(parseInt(e,10)+parseInt(j,10)):0;if(i===0){var o=function(a){h.css(l);if(g){g.apply(h)}if(a){a()}};callOrQueue(h,k,o);return h}var p={};var q=function(a){var b=false;var c=function(){if(b){h.unbind(B,c)}if(i>0){h.each(function(){this.style[w.transition]=(p[this]||null)})}if(typeof g==='function'){g.apply(h)}if(typeof a==='function'){a()}};if((i>0)&&(B)&&($.transit.useTransitionEnd)){b=true;h.bind(B,c)}else{window.setTimeout(c,i)}h.each(function(){if(i>0){this.style[w.transition]=m}$(this).css(d)})};var r=function(a){this.offsetWidth;q(a)};callOrQueue(h,k,r);return this};function registerCssHook(c,d){if(!d){$.cssNumber[c]=true}$.transit.propertyMap[c]=w.transform;$.cssHooks[c]={get:function(a){var t=$(a).css('transit:transform');return t.get(c)},set:function(a,b){var t=$(a).css('transit:transform');t.setFromString(c,b);$(a).css({'transit:transform':t})}}}function uncamel(b){return b.replace(/([A-Z])/g,function(a){return'-'+
124a.toLowerCase()})}function unit(i,a){if((typeof i==="string")&&(!i.match(/^[\-0-9\.]+$/))){return i}else{return""+i+a}}function toMS(a){var i=a;if(typeof i==='string'&&(!i.match(/^[\-0-9\.]+/))){i=$.fx.speeds[i]||$.fx.speeds._default}return unit(i,'ms')}$.transit.getTransitionValue=getTransition})(jQuery);
125
126/*!
127 * jQuery Gallery - CSS3 transitions and transformations
128 * (c) 2011-2013 WP Themers
129 */
130;(function($,window,document,undefined){"use strict";var namespace="sGallery",defaults={};function Plugin(element,options){this.options=$.extend({},defaults,options);this.container=$(element);this.bigImageWrap=this.container.find('.items-big');this.bigImageItem=this.bigImageWrap.find('.item');this.count=this.bigImageItem.length,this.smallImageWrap=this.container.find('.items-small');this.smallImageItem=this.smallImageWrap.children('.item');this.isOldBrowser=!(Modernizr.opacity&&Modernizr.csstransforms&&Modernizr.csstransitions);this.current=null;this.initialHeight=0;this.minHeight='';this.controls=this.container.find('.controls');this.prev_button=this.controls.find('.prev').data('direction','prev').addClass('control');this.next_button=this.controls.find('.next').data('direction','next').addClass('control');this.grid_button=this.controls.find('.grid');this.control=this.controls.find('.control');this.current_class='current';this.$document=$(document);this.$window=$(window);this.slideshow=false;this.init()}Plugin.prototype={init:function(){var obj=this;obj.setItemDelays();obj.bindEventHandlers();obj.changeOnResize();obj.bigImageItem.transition({opacity:0,duration:0,delay:0}).css({'visibility':'visible'})},changeOnResize:function(){var obj=this;this.$window.load(function(){obj.$window.resize(function(){obj.initialHeight=obj.container.outerHeight();obj.adaptHeight()});obj.$window.trigger('resize')}
130)},adaptHeight:function(){var currItemH=this.bigImageItem.eq(this.current).outerHeight(),smallItemWrapH=this.smallImageWrap.outerHeight(),finalH='';if(this.slideshow)finalH=currItemH;else finalH=smallItemWrapH;if(this.isOldBrowser){this.container.animate({'height':finalH+'px'},400);this.container.parents('.flex-viewport').animate({'height':finalH+'px'},400)}else this.container.height(finalH);this.container.parents('.flex-viewport').height(finalH)},setItemDelays:function(){this.smallImageItem.each(function(index){$(this).data('delay',0.075*index)})},bindEventHandlers:function(){var obj=this;this.smallImageItem.on('click',function(event){event.preventDefault();var clicked=$(this);obj.current=clicked.index();var transEnd="transitionend MSTransitionEnd webkitTransitionEnd oTransitionEnd";var startImg=obj.bigImageItem.eq(obj.current);obj.smallImageItem.not(clicked).removeClass(obj.current_class).end().eq(obj.current).addClass(obj.current_class);obj.fadeOutItems();obj.bigImageWrap.css({'z-index':2});obj.smallImageWrap.css({'z-index':1});if(obj.isOldBrowser){clicked.promise().done(function(){obj.bigImageItem.fadeTo(0,0).end().find(startImg).css('z-index','2').fadeTo(600,1);obj.slideshow=true;obj.showControls();obj.adaptHeight()})}else{clicked.on(transEnd,function(e){startImg.transition({scale:0.8,opacity:0,duration:0}).transition({scale:1.0,opacity:1,duration:600,delay:400}).css('z-index','2');obj.slideshow=true;obj.showControls();obj.adaptHeight();clicked.off(transEnd)})}});this.control.on('click',function(event){event.preventDefault();var direction=$(this).data('direction');(direction=='next')?obj.current++:obj.current--;if(obj.current<0)obj.current=obj.count-1;else if(obj.current==obj.count)obj.current=0;obj.moveToNextImage()});this.grid_button.on('click',function(){obj.quitSlideShow()})},fadeOutItems:function(){var obj=this;this.smallImageItem.each(function(index){if(obj.isOldBrowser){$(this).delay($(this).data('delay')*1000).fadeTo(600,0)}else{$(this).transition({scale:0,opacity:0,duration:600,delay:$(this).data('delay')*1000})}})},fadeInItems:function(){var obj=this;this.smallImageItem.each(function(index){if(obj.isOldBrowser){$(this).delay($(this).data('delay')*1000).fadeTo(600,1)}else{$(this).transition({scale:1,opacity:1,duration:600,delay:$(this).data('delay')*1000})}})},showControls:function(){this.controls.css('display','block').transition({opacity:1,duration:600,delay:600})},hideControls:function(){this.controls.transition({opacity:0,duration:600,delay:0}).css('display','none')},moveToNextImage:function(){var obj=this,currentImg=this.bigImageItem.eq(this.current);obj.adaptHeight();this.bigImageItem.not(currentImg).transition({opacity:0,duration:600,delay:0}).css('z-index','0');if(obj.isOldBrowser){currentImg.css('z-index','1').fadeTo(600,1)}else{currentImg.css('z-index','1').transition({scale:0.8,opacity:0,duration:0}).transition({scale:1.0,opacity:1,duration:600})}},quitSlideShow:function(){var currentImg=this.bigImageItem.eq(this.current);this.hideControls();this.fadeInItems();this.slideshow=false;if(this.isOldBrowser){currentImg.fadeTo(600,0)}else{currentImg.transition({scale:0,opacity:0,duration:600})}this.bigImageWrap.css({'z-index':1});this.smallImageWrap.css({'z-index':2});this.adaptHeight()}};$.fn[namespace]=function(options){return this.each(function(){if(!$.data(this,"plugin_"+namespace)){$.data(this,"plugin_"+namespace,new Plugin(this,options))}})}})(jQuery,window,document);

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.