!function($){"use strict";function e(e,i){function t(e,i){return'
'}var o,n=this,r=window.navigator,s=r.userAgent.toLowerCase();n.uid=$.gmModules.uid++,n.ns=".gm"+n.uid;var a=document.createElement("div").style,d=["webkit","Moz","ms","O"],l="",u=0,m;for(o=0;o-1,n.slider=$(e),n.ev=$(n),n._doc=$(document),n.st=$.fn.realSlider.defaults(i),n._currAnimSpeed=n.st.transitionSpeed,n._minPosOffset=0,n.st.allowCSS3&&(!g.webkit||n.st.allowCSS3OnWebkit)){var f=l+(l?"T":"t");n._useCSS3Transitions=f+"ransform"in a&&f+"ransition"in a,n._useCSS3Transitions&&(n._use3dTransform=l+(l?"P":"p")+"erspective"in a)}l=l.toLowerCase(),n._vendorPref="-"+l+"-",n._slidesHorizontal="vertical"!==n.st.slidesOrientation,n._reorderProp=n._slidesHorizontal?"left":"top",n._sizeProp=n._slidesHorizontal?"width":"height",n._prevNavItemId=-1,n._isMove="fade"!==n.st.transitionType,n._isMove||(n.st.sliderDrag=!1,n._fadeZIndex=10),n._opacityCSS="z-index:0; display:none; opacity:0;",n._newSlideId=0,n._sPosition=0,n._nextSlidePos=0,$.each($.gmModules,function(e,i){"uid"!==e&&i.call(n)}),n.slides=[],n._idCount=0,(n.st.slides?$(n.st.slides):n.slider.children().detach()).each(function(){n._parseNode(this,!0)}),n.st.randomizeSlides&&n.slides.sort(function(){return.5-Math.random()}),n.numSlides=n.slides.length,n._refreshNumPreloadImages(),n.st.startSlideId?n.st.startSlideId>n.numSlides-1&&(n.st.startSlideId=n.numSlides-1):n.st.startSlideId=0,n._newSlideId=n.staticSlideId=n.currSlideId=n._realId=n.st.startSlideId,n.currSlide=n.slides[n.currSlideId],n._accelerationPos=0,n.pointerMultitouch=!1,n.slider.addClass((n._slidesHorizontal?"gmHor":"gmVer")+(n._isMove?"":" gmFade"));var v='
';n.slidesSpacing=n.st.slidesSpacing,n._slideSize=(n._slidesHorizontal?n.slider.width():n.slider.height())+n.st.slidesSpacing,n._preload=Boolean(n._numPreloadImages>0),n.numSlides<=1&&(n._loop=!1);var h=n._loop&&n._isMove?2===n.numSlides?1:2:0;for(n._loopHelpers=h,n._maxImages=n.numSlides<6?n.numSlides:6,n._currBlockIndex=0,n._idOffset=0,n.slidesJQ=[],o=0;o
");var p=function(){n.st.sliderDrag&&(n._hasDrag=!0,g.msie||g.opera?n._grabCursor=n._grabbingCursor="move":g.mozilla?(n._grabCursor="-moz-grab",n._grabbingCursor="-moz-grabbing"):g.webkit&&r.platform.indexOf("Mac")!=-1&&(n._grabCursor="-webkit-grab",n._grabbingCursor="-webkit-grabbing"),n._setGrabCursor())},b=n.ns,S=function(e,i,t,o,r){n._downEvent=e+i+b,n._moveEvent=e+t+b,n._upEvent=e+o+b,r&&(n._cancelEvent=e+r+b)},P=r.pointerEnabled;n.pointerEnabled=P||r.msPointerEnabled,n.pointerEnabled?(n.hasTouch=!1,n._lastItemFriction=.2,n.pointerMultitouch=Boolean(r[(P?"m":"msM")+"axTouchPoints"]>1),P?S("pointer","down","move","up","cancel"):S("MSPointer","Down","Move","Up","Cancel")):(n.isIOS?n._downEvent=n._moveEvent=n._upEvent=n._cancelEvent="":S("mouse","down","move","up"),"ontouchstart"in window||"createTouch"in document?(n.hasTouch=!0,n._downEvent+=" touchstart"+b,n._moveEvent+=" touchmove"+b,n._upEvent+=" touchend"+b,n._cancelEvent+=" touchcancel"+b,n._lastItemFriction=.5,n.st.sliderTouch&&(n._hasDrag=!0)):(n.hasTouch=!1,n._lastItemFriction=.2)),p(),n.slider.html(v),n._controlsContainer=n.st.controlsInside?n._sliderOverflow:n.slider,n._slidesContainer=n._sliderOverflow.children(".gmContainer"),n.pointerEnabled&&n._slidesContainer.css((P?"":"-ms-")+"touch-action",n._slidesHorizontal?"pan-y":"pan-x"),n._preloader=$('
');var w=n._slidesContainer.children(".gmSlide");if(n._currHolder=n.slidesJQ[n.currSlideId],n._selectedSlideHolder=0,n._useCSS3Transitions)if(n._TP="transition-property",n._TD="transition-duration",n._TTF="transition-timing-function",n._yProp=n._xProp=n._vendorPref+"transform",n._use3dTransform?(g.webkit&&!g.chrome&&n.slider.addClass("gmWebkit3d"),n._tPref1="translate3d(",n._tPref2="px, ",n._tPref3="px, 0px)"):(n._tPref1="translate(",n._tPref2="px, ",n._tPref3="px)"),n._isMove)n._slidesContainer[n._vendorPref+n._TP]=n._vendorPref+"transform";else{var T={};T[n._vendorPref+n._TP]="opacity",T[n._vendorPref+n._TD]=n.st.transitionSpeed+"ms",T[n._vendorPref+n._TTF]=n.st.css3easeInOut,w.css(T)}else n._xProp="left",n._yProp="top";var y;if($(window).on("resize"+n.ns,function(){y&&clearTimeout(y),y=setTimeout(function(){n.updateSliderSize()},50)}),n.ev.trigger("gmAfterPropsSetup"),n.updateSliderSize(),n.st.keyboardNavEnabled&&n._bindKeyboardNav(),n.st.arrowsNavHideOnTouch&&(n.hasTouch||n.pointerMultitouch)&&(n.st.arrowsNav=!1),n.st.arrowsNav){var C="gmArrow",I=n._controlsContainer;if($('
').appendTo(I),n._arrowLeft=I.children(".gmArrowLeft").click(function(e){e.preventDefault(),n.prev()}),n._arrowRight=I.children(".gmArrowRight").click(function(e){e.preventDefault(),n.next()}),n.st.arrowsNavAutoHide&&!n.hasTouch){n._arrowLeft.addClass("gmHidden"),n._arrowRight.addClass("gmHidden");var A=I;A.one("mousemove.arrowshover",function(){n._arrowLeft.removeClass("gmHidden"),n._arrowRight.removeClass("gmHidden")}),A.hover(function(){n._arrowsAutoHideLocked||(n._arrowLeft.removeClass("gmHidden"),n._arrowRight.removeClass("gmHidden"))},function(){n._arrowsAutoHideLocked||(n._arrowLeft.addClass("gmHidden"),n._arrowRight.addClass("gmHidden"))})}n.ev.on("gmOnUpdateNav",function(){n._updateArrowsNav()}),n._updateArrowsNav()}n._hasDrag?n._slidesContainer.on(n._downEvent,function(e){n._onDragStart(e)}):n.dragSuccess=!1;var H=["gmPlayBtnIcon","gmPlayBtn","gmCloseVideoBtn","gmCloseVideoIcn"];n._slidesContainer.click(function(e){if(!n.dragSuccess){var i=$(e.target),t=i.attr("class");if($.inArray(t,H)!==-1&&n.toggleVideo())return!1;if(n.st.navigateByClick&&!n._blockActions){if($(e.target).closest(".gmNoDrag",n._currHolder).length)return!0;n._mouseNext(e)}n.ev.trigger("gmSlideClick",e)}}).on("click.gm","a",function(e){if(n.dragSuccess)return!1;n._blockActions=!0,setTimeout(function(){n._blockActions=!1},3)}),n.slider.animate({opacity:1},400),n.ev.trigger("gmAfterInit")}$.gmModules||($.gmModules={uid:0}),e.prototype={constructor:e,_mouseNext:function(e){var i=this,t=e[i._slidesHorizontal?"pageX":"pageY"]-i._sliderOffset;t>=i._nextSlidePos?i.next():t<0&&i.prev()},_refreshNumPreloadImages:function(){var e=this,i;i=e.st.numImagesToPreload,e._loop=e.st.loop,e._loop&&(2===e.numSlides?(e._loop=!1,e.st.loopRewind=!0):e.numSlides<2&&(e.st.loopRewind=e._loop=!1)),e._loop&&i>0&&(e.numSlides<=4?i=1:e.st.numImagesToPreload>(e.numSlides-1)/2&&(i=Math.floor((e.numSlides-1)/2))),e._numPreloadImages=i},_parseNode:function(e,i){function t(e,i){if(i?r.images.push(e.attr(i)):r.images.push(e.text()),a){a=!1,r.caption="src"===i?e.attr("alt"):e.contents(),r.image=r.images[0],r.videoURL=e.attr("data-gmVideo"),void 0!==r.videoURL&&r.videoURL!==!1&&(r.videoWidth=e.data("gmvw"),r.videoHeight=e.data("gmvh"));var t=e.attr("data-gmw"),n=e.attr("data-gmh");void 0!==t&&t!==!1&&void 0!==n&&n!==!1?(r.iW=parseInt(t,10),r.iH=parseInt(n,10)):o.st.imgWidth&&o.st.imgHeight&&(r.iW=o.st.imgWidth,r.iH=o.st.imgHeight)}}var o=this,n,r={},s,a=!0;if(e=$(e),o._currContent=e,o.ev.trigger("gmBeforeParseNode",[e,r]),!r.stopParsing)return e=o._currContent,r.id=o._idCount,r.contentAdded=!1,o._idCount++,r.images=[],r.isBig=!1,r.hasCover||(e.hasClass("gmImg")?(s=e,n=!0):(s=e.find(".gmImg"),s.length&&(n=!0)),n?(r.bigImage=s.eq(0).attr("data-gmBigImg"),s.each(function(){var e=$(this);e.is("a")?t(e,"href"):e.is("img")?t(e,"src"):t(e)})):e.is("img")&&(e.addClass("gmImg gmMainSlideImage"),t(e,"src"))),s=e.find(".gmCaption"),s.length&&(r.caption=s.remove()),r.content=e,o.ev.trigger("gmAfterParseNode",[e,r]),i&&o.slides.push(r),0===r.images.length&&(r.isLoaded=!0,r.isRendered=!1,r.isLoading=!1,r.images=null),r},_bindKeyboardNav:function(){var e=this,i,t,o=function(i){37===i?e.prev():39===i&&e.next()};e._doc.on("keydown"+e.ns,function(n){e._isDragging||37!==(t=n.keyCode)&&39!==t||i||(o(t),i=setInterval(function(){o(t)},700))}).on("keyup"+e.ns,function(){i&&(clearInterval(i),i=null)})},goTo:function(e,i){var t=this;e!==t.currSlideId&&t._moveTo(e,t.st.transitionSpeed,!0,!i)},destroy:function(e){var i=this;i.ev.trigger("gmBeforeDestroy"),i._doc.off("keydown"+i.ns+" keyup"+i.ns+" "+i._moveEvent+" "+i._upEvent),i._slidesContainer.off(i._downEvent+" click"),i.slider.data("realSlider",null),$.removeData(i.slider,"realSlider"),$(window).off("resize"+i.ns),i.loadingTimeout&&clearTimeout(i.loadingTimeout),e&&i.slider.remove(),i.slides=null,i.slider=null,i.ev=null},_updateBlocksContent:function(e,i){function t(i,t,r){i.isAdded?(o(t,i),n(t,i)):(r||(r=s.slidesJQ[t]),i.holder?r=i.holder:(r=s.slidesJQ[t]=$(r),i.holder=r),i.appendOnLoaded=!1,n(t,i,r),o(t,i),s._addBlockToContainer(i,r,e),i.isAdded=!0)}function o(i,t){t.contentAdded||(s.setItemHtml(t,e),e||(t.contentAdded=!0))}function n(e,i,t){s._isMove&&(t||(t=s.slidesJQ[e]),t.css(s._reorderProp,(e+s._idOffset+c)*s._slideSize))}function r(e){if(l){if(e>u-1)return r(e-u);if(e<0)return r(u+e)}return e}var s=this,a,d,l=s._loop,u=s.numSlides;if(!isNaN(i))return r(i);var m=s.currSlideId,c,_=e?Math.abs(s._prevSlideId-s.currSlideId)>=s.numSlides-1?0:1:s._numPreloadImages,g=Math.min(2,_),f=!1,v=!1,h;for(d=m;dm-1-g;d--)if(h=r(d),(a=s.slides[h])&&(!a.isAdded||!a.positionSet)){v=!0;break}if(f)for(d=m;dm-1-_;d--)h=r(d),c=Math.floor((s._realId-(m-d))/u)*u,(a=s.slides[h])&&t(a,h);if(!e){var p=r(m-_),b=r(m+_),S=p>b?0:p;for(d=0;db&&d>p-1||(db)&&(a=s.slides[d])&&a.holder&&(a.holder.detach(),a.isAdded=!1)}},setItemHtml:function(e,i){var t=this,o=function(){if(!e.images)return e.isRendered=!0,e.isLoaded=!0,e.isLoading=!1,void a();if(!e.isLoading){var i,o;e.content.hasClass("gmImg")?(i=e.content,o=!0):i=e.content.find(".gmImg:not(img)"),i&&!i.is("img")&&i.each(function(){var i=$(this),t='';o?e.content=$(t):i.replaceWith(t)}),i=o?e.content:e.content.find("img.gmImg"),l(),i.eq(0).addClass("gmMainSlideImage"),e.iW&&e.iH&&(e.isLoaded||t._resizeImage(e),a()),e.isLoading=!0;var r="load.gm error.gm";if(e.isBig)$("").on(r,function(){$(this).off(r),n([this],!0)}).attr("src",e.image);else{e.loaded=[],e.numStartedLoad=0;for(var s=function(){$(this).off(r),e.loaded.push(this),e.loaded.length===e.numStartedLoad&&n(e.loaded,!1)},d=0;d");e.numStartedLoad++,u.on("load.gm error.gm",s).attr("src",e.images[d])}}}},n=function(i,t){if(i.length){var o=i[0];if(t!==e.isBig){var n=e.holder.children();return void(n&&n.length>1&&u())}if(e.iW&&e.iH)return void r();if(e.iW=o.width,e.iH=o.height,e.iW&&e.iH)return void r();var s=new Image;s.onload=function(){s.width?(e.iW=s.width,e.iH=s.height,r()):setTimeout(function(){s.width&&(e.iW=s.width,e.iH=s.height),r()},1e3)},s.src=o.src}else r()},r=function(){e.isLoaded=!0,e.isLoading=!1,a(),u(),d()},s=function(){if(!t._isMove&&e.images&&e.iW&&e.iH)return void o();e.holder.isWaiting=!0,l(),e.holder.slideId=-99},a=function(){if(!e.isAppended&&t.ev){var o=t.st.visibleNearby,n=e.id-t._newSlideId;if(!i&&!e.appendOnLoaded&&t.st.fadeinLoadedSlide&&(0===n||(o||t._isAnimating||t._isDragging)&&(n===-1||1===n))){var r={visibility:"visible",opacity:0};r[t._vendorPref+"transition"]="opacity 400ms ease-in-out",e.content.css(r),setTimeout(function(){e.content.css("opacity",1)},16)}e.holder.find(".gmPreloader").length?e.holder.append(e.content):e.holder.html(e.content),e.isAppended=!0,e.isLoaded&&(t._resizeImage(e),d()),e.sizeReady||(e.sizeReady=!0,setTimeout(function(){t.ev.trigger("gmMaybeSizeReady",e)},100))}},d=function(){!e.loadedTriggered&&t.ev&&(e.isLoaded=e.loadedTriggered=!0,e.holder.trigger("gmAfterContentSet"),t.ev.trigger("gmAfterContentSet",e))},l=function(){t.st.usePreloader&&e.holder.html(t._preloader.clone())},u=function(){if(t.st.usePreloader){var i=e.holder.find(".gmPreloader");i.length&&i.remove()}};if(e.isLoaded)return void a();i?s():o()},_addBlockToContainer:function(e,i,t){var o=this,n=e.holder;o._slidesContainer.append(n),e.appendOnLoaded=!1},_onDragStart:function(e,i){var t=this,o,n="touchstart"===e.type;if(t._isTouchGesture=n,t.ev.trigger("gmDragStart"),$(e.target).closest(".gmNoDrag",t._currHolder).length)return t.dragSuccess=!1,!0;if(i||t._isAnimating&&(t._wasAnimating=!0,t._stopAnimation()),t.dragSuccess=!1,t._isDragging)return void(n&&(t._multipleTouches=!0));if(n&&(t._multipleTouches=!1),t._setGrabbingCursor(),n){var r=e.originalEvent.touches;if(!(r&&r.length>0))return;o=r[0],r.length>1&&(t._multipleTouches=!0)}else e.preventDefault(),o=e,t.pointerEnabled&&(o=o.originalEvent);t._isDragging=!0,t._doc.on(t._moveEvent,function(e){t._onDragMove(e,i)}).on(t._upEvent,function(e){t._onDragRelease(e,i)}),t._currMoveAxis="",t._hasMoved=!1,t._pageX=o.pageX,t._pageY=o.pageY,t._startPagePos=t._accelerationPos=(i?t._thumbsHorizontal:t._slidesHorizontal)?o.pageX:o.pageY,t._horDir=0,t._verDir=0,t._currRenderPosition=i?t._thumbsPosition:t._sPosition,t._startTime=(new Date).getTime(),n&&t._sliderOverflow.on(t._cancelEvent,function(e){t._onDragRelease(e,i)})},_renderMovement:function(e,i){var t=this;if(t._checkedAxis){var o=t._renderMoveTime,n=e.pageX-t._pageX,r=e.pageY-t._pageY,s=t._currRenderPosition+n,a=t._currRenderPosition+r,d=i?t._thumbsHorizontal:t._slidesHorizontal,l=d?s:a,u=t._currMoveAxis;t._hasMoved=!0,t._pageX=e.pageX,t._pageY=e.pageY,"x"===u&&0!==n?t._horDir=n>0?1:-1:"y"===u&&0!==r&&(t._verDir=r>0?1:-1);var m=d?t._pageX:t._pageY,c=d?n:r;i?l>t._thumbsMinPosition?l=t._currRenderPosition+c*t._lastItemFriction:l0&&(l=t._currRenderPosition+c*t._lastItemFriction),t.currSlideId>=t.numSlides-1&&m-t._startPagePos<0&&(l=t._currRenderPosition+c*t._lastItemFriction)),t._currRenderPosition=l,o-t._startTime>200&&(t._startTime=o,t._accelerationPos=m),i?t._setThumbsPosition(t._currRenderPosition):t._isMove&&t._setPosition(t._currRenderPosition)}},_onDragMove:function(e,i){var t=this,o,n="touchmove"===e.type;if(!t._isTouchGesture||n){if(n){if(t._lockAxis)return;var r=e.originalEvent.touches;if(!r)return;if(r.length>1)return;o=r[0]}else o=e,t.pointerEnabled&&(o=o.originalEvent);if(t._hasMoved||(t._useCSS3Transitions&&(i?t._thumbsContainer:t._slidesContainer).css(t._vendorPref+t._TD,"0s"),function e(){t._isDragging&&(t._animFrame=requestAnimationFrame(e),t._renderMoveEvent&&t._renderMovement(t._renderMoveEvent,i))}()),t._checkedAxis)e.preventDefault(),t._renderMoveTime=(new Date).getTime(),t._renderMoveEvent=o;else{var s=i?t._thumbsHorizontal:t._slidesHorizontal,a=Math.abs(o.pageX-t._pageX)-Math.abs(o.pageY-t._pageY)-(s?-7:7);if(a>7){if(s)e.preventDefault(),t._currMoveAxis="x";else if(n)return void t._completeGesture(e);t._checkedAxis=!0}else if(a<-7){if(s){if(n)return void t._completeGesture(e)}else e.preventDefault(),t._currMoveAxis="y";t._checkedAxis=!0}}}},_completeGesture:function(e,i){var t=this;t._lockAxis=!0,t._hasMoved=t._isDragging=!1,t._onDragRelease(e)},_onDragRelease:function(e,i){function t(e){return e<100?100:e>500?500:e}function o(e,o){(n._isMove||i)&&(d=(-n._realId-n._idOffset)*n._slideSize,l=Math.abs(n._sPosition-d),n._currAnimSpeed=l/o,e&&(n._currAnimSpeed+=250),n._currAnimSpeed=t(n._currAnimSpeed),n._animateTo(d,!1))}var n=this,r,s,a,d,l,u=e.type.indexOf("touch")>-1;if(!n._isTouchGesture||u){if(n._isTouchGesture=!1,n.ev.trigger("gmDragRelease"),n._renderMoveEvent=null,n._isDragging=!1,n._lockAxis=!1,n._checkedAxis=!1,n._renderMoveTime=0,cancelAnimationFrame(n._animFrame),n._hasMoved&&(i?n._setThumbsPosition(n._currRenderPosition):n._isMove&&n._setPosition(n._currRenderPosition)),n._doc.off(n._moveEvent).off(n._upEvent),u&&n._sliderOverflow.off(n._cancelEvent),n._setGrabCursor(),!n._hasMoved&&!n._multipleTouches&&i&&n._thumbsEnabled){var m=$(e.target).closest(".gmNavItem");return void(m.length&&n.goTo(m.index()))}var c=i?n._thumbsHorizontal:n._slidesHorizontal;if(!n._hasMoved||"y"===n._currMoveAxis&&c||"x"===n._currMoveAxis&&!c){if(i||!n._wasAnimating)return n._wasAnimating=!1,void(n.dragSuccess=!1);if(n._wasAnimating=!1,n.st.navigateByClick)return n._mouseNext(n.pointerEnabled?e.originalEvent:e),void(n.dragSuccess=!0);n.dragSuccess=!0}else n.dragSuccess=!0;n._wasAnimating=!1,n._currMoveAxis="";var _=n.st.minSlideOffset,g=u?e.originalEvent.changedTouches[0]:n.pointerEnabled?e.originalEvent:e,f=c?g.pageX:g.pageY,v=n._startPagePos,h=n._accelerationPos,p=n.currSlideId,b=n.numSlides,S=c?n._horDir:n._verDir,P=n._loop,w=!1;if(r=f-h,s=(new Date).getTime()-n._startTime,a=Math.abs(r)/s,0===S||b<=1)return void o(!0,a);if(!P&&!i)if(p<=0){if(S>0)return void o(!0,a)}else if(p>=b-1&&S<0)return void o(!0,a);if(i){d=n._thumbsPosition;var T;if(d>n._thumbsMinPosition)d=n._thumbsMinPosition;else if(d0&&C>I?(I+=n._thumbsViewportSize/(15/(C/a*.003)),a=a*I/C,C=I):r<0&&C>A&&(A+=n._thumbsViewportSize/(15/(C/a*.003)),a=a*A/C,C=A),T=Math.max(Math.round(a/.003),50),(d+=C*(r<0?-1:1))>n._thumbsMinPosition)return void n._animateThumbsTo(d,T,!0,n._thumbsMinPosition,200);if(d_&&i++,i},N;if(v+_f){if(S>0)return void o(!1,a);N=H(v-f),n._moveTo(n.currSlideId+N,t(Math.abs(n._sPosition-(-n._realId-n._idOffset-N)*n._slideSize)/a),!1,!0,!0)}else o(!1,a)}}},_setPosition:function(e){var i=this;e=i._sPosition=e,i._useCSS3Transitions?i._slidesContainer.css(i._xProp,i._tPref1+(i._slidesHorizontal?e+i._tPref2+0:0+i._tPref2+e)+i._tPref3):i._slidesContainer.css(i._slidesHorizontal?i._xProp:i._yProp,e)},updateSliderSize:function(e){var i=this,t,o;if(i.slider){if(i.st.autoScaleSlider){var n=i.st.autoScaleSliderWidth,r=i.st.autoScaleSliderHeight;i.st.autoScaleHeight?(t=i.slider.width(),t!=i.width&&(i.slider.css("height",t*(r/n)),t=i.slider.width()),o=i.slider.height()):(o=i.slider.height(),o!=i.height&&(i.slider.css("width",o*(n/r)),o=i.slider.height()),t=i.slider.width())}else t=i.slider.width(),o=i.slider.height();if(e||t!=i.width||o!=i.height){i.width=t,i.height=o,i._wrapWidth=t,i._wrapHeight=o,i.ev.trigger("gmBeforeSizeSet"),i.ev.trigger("gmAfterSizePropSet"),i._sliderOverflow.css({width:i._wrapWidth,height:i._wrapHeight}),i._slideSize=(i._slidesHorizontal?i._wrapWidth:i._wrapHeight)+i.st.slidesSpacing,i._imagePadding=i.st.imageScalePadding;var s,a;for(a=0;at.numSlides)&&(i=t.numSlides),t.slides.splice(i,0,o),t.slidesJQ.splice(i,0,$('
')),i<=t.currSlideId&&t.currSlideId++,t.ev.trigger("gmOnAppendSlide",[o,i]),t._refreshSlides(i),i===t.currSlideId&&t.ev.trigger("gmAfterSlideChange")},removeSlide:function(e){var i=this,t=i.slides[e];t&&(t.holder&&t.holder.remove(),e=i.numSlides?i.goTo(i.numSlides-1):i.currSlideId<0&&i.goTo(0),i._refreshNumPreloadImages(),i._isMove&&i._slidesContainer.css(i._vendorPref+i._TD,"0ms"),i._refreshSlidesTimeout&&clearTimeout(i._refreshSlidesTimeout),i._refreshSlidesTimeout=setTimeout(function(){i._isMove&&i._setPosition((-i._realId-i._idOffset)*i._slideSize),i._updateBlocksContent(),i._isMove||i._currHolder.css({display:"block",opacity:1})},14),i.ev.trigger("gmOnUpdateNav")},_setGrabCursor:function(){var e=this;e._hasDrag&&e._isMove&&(e._grabCursor?e._sliderOverflow.css("cursor",e._grabCursor):(e._sliderOverflow.removeClass("grabbing-cursor"),e._sliderOverflow.addClass("grab-cursor")))},_setGrabbingCursor:function(){var e=this;e._hasDrag&&e._isMove&&(e._grabbingCursor?e._sliderOverflow.css("cursor",e._grabbingCursor):(e._sliderOverflow.removeClass("grab-cursor"),e._sliderOverflow.addClass("grabbing-cursor")))},next:function(e){var i=this;i._moveTo("next",i.st.transitionSpeed,!0,!e)},prev:function(e){var i=this;i._moveTo("prev",i.st.transitionSpeed,!0,!e)},_moveTo:function(e,i,t,o,n){function r(e){return e<0?e=s.numSlides+e:e>s.numSlides-1&&(e-=s.numSlides),e===s.currSlideId}var s=this,a,d,l,u;if(s.ev.trigger("gmBeforeMove",[e,o]),u="next"===e?s.currSlideId+1:"prev"===e?s.currSlideId-1:e=parseInt(e,10),!s._loop){if(u<0)return void s._doBackAndForthAnim("left",!o);if(u>=s.numSlides)return void s._doBackAndForthAnim("right",!o)}s._isAnimating&&(s._stopAnimation(!0),t=!1),d=u-s.currSlideId,s._prevSlideId=s.currSlideId;var m=s.currSlideId,c=s.currSlideId+d,_=s._realId,g;s._loop?(c=s._updateBlocksContent(!1,c),_+=d):_=c,s._newSlideId=c,s._oldHolder=s.slidesJQ[s.currSlideId],s._realId=_,s.currSlideId=s._newSlideId,s.currSlide=s.slides[s.currSlideId],s._currHolder=s.slidesJQ[s.currSlideId];var f=s.st.slidesDiff,v=Boolean(d>0),h=Math.abs(d),p=Math.floor(m/s._numPreloadImages),b=Math.floor((m+(v?f:-f))/s._numPreloadImages),S=v?Math.max(p,b):Math.min(p,b),P=S*s._numPreloadImages+(v?s._numPreloadImages-1:0);P>s.numSlides-1?P=s.numSlides-1:P<0&&(P=0);var w=v?P-m:m-P;if(w>s._numPreloadImages&&(w=s._numPreloadImages),h>w+f)for(s._idOffset+=(h-(w+f))*(v?-1:1),i*=1.4,l=0;l20?i._fadeZIndex=10:i._fadeZIndex++},_getTransformProp:function(){var e=this,i=window.getComputedStyle(e._slidesContainer.get(0),null).getPropertyValue(e._vendorPref+"transform"),t=i.replace(/^matrix\(/i,"").split(/, |\)$/g),o=0===t[0].indexOf("matrix3d");return parseInt(t[e._slidesHorizontal?o?12:4:o?13:5],10)},_getCSS3Prop:function(e,i){var t=this;return t._useCSS3Transitions?t._tPref1+(i?e+t._tPref2+0:0+t._tPref2+e)+t._tPref3:e},_animationComplete:function(e){var i=this;i._isMove||(i._currHolder.css("z-index",0),i._fadeZIndex=10),i._isAnimating=!1,i.staticSlideId=i.currSlideId,i._updateBlocksContent(),i._slidesMoved=!1,i.ev.trigger("gmAfterSlideChange")},_doBackAndForthAnim:function(e,i){var t=this,o=(-t._realId-t._idOffset)*t._slideSize;if(0!==t.numSlides&&!t._isAnimating){if(t.st.loopRewind)return void t.goTo("left"===e?t.numSlides-1:0,i);if(t._isMove){t._currAnimSpeed=200;var n=function(){t._isAnimating=!1},r=function(){t._isAnimating=!1,t._animateTo(o,"",!1,!0,n)};t._animateTo(o+("left"===e?30:-30),"",!1,!0,r)}}},_resizeImage:function(e,i){if(!e.isRendered){var t=e.content,o="gmMainSlideImage",n,r=this,s=r.st.imageAlignCenter,a=r.st.imageScaleMode,d,l;if(e.videoURL&&(o="gmVideoContainer","fill"!==a?n=!0:(d=t,d.hasClass(o)||(d=d.find("."+o)),d.css({width:"100%",height:"100%"}),o="gmMainSlideImage")),t.hasClass(o)||(t=t.find("."+o)),t){var u=e.iW,m=e.iH;if(e.isRendered=!0,"none"===a&&!s)return void(n&&t.find(".gmImg").css({minWidth:"50%",height:"auto",margin:"auto"}));l="fill"!==a?r._imagePadding:0;var c=r._wrapWidth-2*l,_=r._wrapHeight-2*l,g,f,v,h,p,b={};"fit-if-smaller"===a&&(u>c||m>_)&&(a="fit"),"fill"===a||"fit"===a?(g=c/u,f=_/m,v="fill"==a?g>f?g:f:"fit"==a?gbuilt with GmediaGallery')}var o=arguments;return this.each(function(){var n=$(this);if(n.removeClass("no-js"),"object"!=typeof i&&i){var r=n.data("realSlider");if(r&&r[i])return r[i].apply(r,Array.prototype.slice.call(o,1))}else if(!n.data("realSlider")){n.data("realSlider",new e(n,i));var s=i.key?i.key:"";$(".gmOverflow",n).append(t(s))}})},$.fn.realSlider.defaults=function(e){var i={skin:"default",imageScaleMode:"fit",controlNavigation:"thumbnails",slidesOrientation:"horizontal",transitionType:"move",easeInOut:"easeInOutSine",easeOut:"easeOutSine",lk:""},t={autoScaleSliderWidth:800,autoScaleSliderHeight:450,imageScalePadding:4,slidesSpacing:8,startSlideId:0,numImagesToPreload:4,transitionSpeed:600,minSlideOffset:10,slidesDiff:2,videoBottomPadding:0,minAutoHeight:30},o={autoHeight:!1,autoScaleHeight:!0,imageAlignCenter:!0,autoScaleSlider:!1,arrowsNav:!0,arrowsNavAutoHide:!0,arrowsNavHideOnTouch:!1,loop:!1,loopRewind:!1,randomizeSlides:!1,navigateByClick:!0,sliderDrag:!0,sliderTouch:!0,keyboardNavEnabled:!0,usePreloader:!0,globalCaption:!0,globalCaptionInside:!0,addActiveClass:!0,controlsInside:!0,fadeinLoadedSlide:!0,fadeInAfterLoaded:!0,allowCSS3:!0,allowCSS3OnWebkit:!0},n={};return e=$.extend({},i,t,o,n,e),$.each(e,function(i,n){i in o?e[i]=!(!n||"0"==n||"false"==n):i in t&&(e[i]=parseInt(n))}),e},$.gmCSS3Easing={easeOutSine:"cubic-bezier(0.390, 0.575, 0.565, 1.000)",easeInOutSine:"cubic-bezier(0.445, 0.050, 0.550, 0.950)"},$.extend($.easing,{easeInOutSine:function(e,i,t,o,n){return-o/2*(Math.cos(Math.PI*i/n)-1)+t},easeOutSine:function(e,i,t,o,n){return o*Math.sin(i/n*(Math.PI/2))+t},easeOutCubic:function(e,i,t,o,n){return o*((i=i/n-1)*i*i+1)+t}})}(jQuery),function($){"use strict";$.gmProto._initActiveClass=function(){ var e,i=this,t="gmActiveSlide";i.st.addActiveClass&&i.ev.on("gmOnUpdateNav",function(){e&&clearTimeout(e),e=setTimeout(function(){i._oldHolder&&i._oldHolder.removeClass("gmActiveSlide"),i._currHolder&&i._currHolder.addClass("gmActiveSlide"),e=null},50)})},$.gmModules.activeClass=$.gmProto._initActiveClass}(jQuery),function($){"use strict";$.extend($.gmProto,{_initAutoHeight:function(){var e=this;if(e.st.autoHeight){var i,t,o,n,r=!0,s=0,a=function(n){o=e.slides[e.currSlideId],(i=o.holder)&&(t=i.height())&&void 0!==t&&(t
')},16)},16)}),e.ev.on("gmBeforeAnimStart",function(){a(!0)}),e.ev.on("gmBeforeSizeSet",function(){setTimeout(function(){a(!1)},16)}),e.ev.on("gmVideoStopLocal",function(){setTimeout(function(){a(!0)},16)}),e.ev.on("gmVideoPlayLocal",function(){setTimeout(function(){o=e.slides[e.currSlideId],(i=o.holder)&&(t=$(".mejs-video",i).height(),e._wrapHeight=t,e._useCSS3Transitions?e._sliderOverflow.css("height",t):e._sliderOverflow.stop(!0,!0).animate({height:t},e.st.transitionSpeed),e.ev.trigger("gmAutoHeightChange",t))},300)})}}}),$.gmModules.autoHeight=$.gmProto._initAutoHeight}(jQuery),function($){"use strict";$.extend($.gmProto,{_initAutoplay:function(){var e=this,i;e._autoPlayDefaults=function(e){var i={enabled:!1,stopAtAction:!0,pauseOnHover:!0},t={delay:3e3};return e=$.extend({},t,i,e),$.each(e,function(o,n){o in i?e[o]=!(!n||"0"==n||"false"==n):o in t&&(e[o]=parseInt(n))}),e},!e.st.autoPlay&&e.st.autoplay&&(e.st.autoPlay=e.st.autoplay),e.st.autoPlay=e._autoPlayDefaults(e.st.autoPlay),e.st.autoPlay.enabled&&(e.ev.on("gmBeforeParseNode",function(e,t,o){t=$(t),(i=t.attr("data-gmDelay"))&&(o.customDelay=parseInt(i,10))}),e.ev.one("gmAfterInit",function(){e._setupAutoPlay()}),e.ev.on("gmBeforeDestroy",function(){e.stopAutoPlay(),e.slider.off("mouseenter mouseleave"),$(window).off("blur"+e.ns+" focus"+e.ns)}))},_setupAutoPlay:function(){var e=this;e.startAutoPlay(),e.ev.on("gmAfterContentSet",function(i,t){e._isDragging||e._isAnimating||!e._autoPlayEnabled||t!==e.currSlide||e._play()}),e.ev.on("gmDragRelease",function(){e._autoPlayEnabled&&e._autoPlayPaused&&(e._autoPlayPaused=!1,e._play())}),e.ev.on("gmAfterSlideChange",function(){e._autoPlayEnabled&&e._autoPlayPaused&&(e._autoPlayPaused=!1,e.currSlide.isLoaded&&e._play())}),e.ev.on("gmDragStart",function(){e._autoPlayEnabled&&(e.st.autoPlay.stopAtAction?e.stopAutoPlay():(e._autoPlayPaused=!0,e._pause()))}),e.ev.on("gmBeforeMove",function(i,t,o){e._autoPlayEnabled&&(o&&e.st.autoPlay.stopAtAction?e.stopAutoPlay():(e._autoPlayPaused=!0,e._pause()))}),e._pausedByVideo=!1,e.ev.on("gmVideoStop",function(){e._autoPlayEnabled&&(e._pausedByVideo=!1,e._play())}),e.ev.on("gmVideoPlay",function(){e._autoPlayEnabled&&(e._autoPlayPaused=!1,e._pause(),e._pausedByVideo=!0)}),$(window).on("blur"+e.ns,function(){e._autoPlayEnabled&&(e._autoPlayPaused=!0,e._pause())}).on("focus"+e.ns,function(){e._autoPlayEnabled&&e._autoPlayPaused&&(e._autoPlayPaused=!1,e._play())}),e.st.autoPlay.pauseOnHover&&(e._pausedByHover=!1,e.slider.hover(function(){e._autoPlayEnabled&&(e._autoPlayPaused=!1,e._pause(),e._pausedByHover=!0)},function(){e._autoPlayEnabled&&(e._pausedByHover=!1,e._play())}))},toggleAutoPlay:function(){var e=this;e._autoPlayEnabled?e.stopAutoPlay():e.startAutoPlay()},startAutoPlay:function(){var e=this;e._autoPlayEnabled=!0,e.currSlide.isLoaded&&e._play()},stopAutoPlay:function(){var e=this;e._pausedByVideo=e._pausedByHover=e._autoPlayPaused=e._autoPlayEnabled=!1,e._pause()},_play:function(){var e=this;e._pausedByHover||e._pausedByVideo||(e._autoPlayRunning=!0,e._autoPlayTimeout&&clearTimeout(e._autoPlayTimeout),e._autoPlayTimeout=setTimeout(function(){var i=!1;e._loop||e.st.loopRewind||(i=!0,e.st.loopRewind=!0),e.next(!0),i&&(e.st.loopRewind=!1)},e.currSlide.customDelay?e.currSlide.customDelay:e.st.autoPlay.delay))},_pause:function(){var e=this;e._pausedByHover||e._pausedByVideo||(e._autoPlayRunning=!1,e._autoPlayTimeout&&(clearTimeout(e._autoPlayTimeout),e._autoPlayTimeout=null))}}),$.gmModules.autoplay=$.gmProto._initAutoplay}(jQuery),function($){"use strict";$.extend($.gmProto,{_initDeeplinking:function(){var e=this,i,t,o;if(e._hashDefaults=function(e){var i={prefix:"gmedia-"},t={enabled:!1,change:!1};return e=$.extend({},i,t,e),$.each(e,function(i,o){i in t&&(e[i]=!(!o||"0"==o||"false"==o))}),e},e.st.deeplinking=e._hashDefaults(e.st.deeplinking),e.st.deeplinking.enabled){var n=e.st.deeplinking.change,r=e.st.deeplinking.prefix,s="#"+r,a=function(){var e=window.location.hash;return e&&e.indexOf(r)>0&&(e=parseInt(e.substring(s.length),10))>=0?e-1:-1},d=a();d!==-1&&(e.st.startSlideId=d),n&&($(window).on("hashchange"+e.ns,function(){if(!i){var t=a();if(t<0)return;t>e.numSlides-1&&(t=e.numSlides-1),e.goTo(t)}}),e.ev.on("gmBeforeAnimStart",function(){t&&clearTimeout(t),o&&clearTimeout(o)}),e.ev.on("gmAfterSlideChange",function(){t&&clearTimeout(t),o&&clearTimeout(o),o=setTimeout(function(){i=!0,window.location.replace((""+window.location).split("#")[0]+s+(e.currSlideId+1)),t=setTimeout(function(){i=!1,t=null},60)},400)})),e.ev.on("gmBeforeDestroy",function(){o=null,t=null,n&&$(window).off("hashchange"+e.ns)})}}}),$.gmModules.deeplinking=$.gmProto._initDeeplinking}(jQuery),function($){function e(e){return e=e||location.href,"#"+e.replace(/^[^#]*#?(.*)$/,"$1")}var i="hashchange",t=document,o,n=$.event.special,r=t.documentMode,s="on"+i in window&&(void 0===r||r>7);$.fn[i]=function(e){return e?this.bind(i,e):this.trigger(i)},$.fn[i].delay=50,n[i]=$.extend(n[i],{setup:function(){if(s)return!1;$(o.start)},teardown:function(){if(s)return!1;$(o.stop)}}),o=function(){function o(){var t=e(),n=u(a);t!==a?(l(a=t,n),$(window).trigger(i)):n!==a&&(location.href=location.href.replace(/#.*/,"")+n),r=setTimeout(o,$.fn[i].delay)}var n={},r,a=e(),d=function(e){return e},l=d,u=d;return n.start=function(){r||o()},n.stop=function(){r&&clearTimeout(r),r=void 0},window.attachEvent&&!window.addEventListener&&!s&&function(){var r,s;n.start=function(){r||(s=$.fn[i].src,s=s&&s+e(),r=$('',vimeoCode:'',gmediaCode:''},t={autoHideArrows:!0,autoHideControlNav:!1,autoHideBlocks:!1,autoHideCaption:!1,disableCSS3inFF:!0};return e=$.extend({},i,t,e),$.each(e,function(i,o){i in t&&(e[i]=!(!o||"0"==o||"false"==o))}),e},e.st.video=e._videoDefaults(e.st.video),e.ev.on("gmBeforeSizeSet",function(){e._isVideoPlaying&&0!==e.st.videoBottomPadding&&setTimeout(function(){e._videoFrameHolder&&"none"!=e.st.controlNavigation&&"universal"!=e.st.skin&&e._videoFrameHolder.css({bottom:e.st.videoBottomPadding})},32)});var i=e._browser.mozilla;e.ev.on("gmAfterParseNode",function(t,o,n){var r=$(o);if(n.videoURL){e.st.video.disableCSS3inFF&&i&&(e._useCSS3Transitions=e._use3dTransform=!1);var s=$('
'),a=$('
');r.hasClass("gmImg")?n.content=s.append(r).append(a):n.content.find(".gmImg").wrap(s).after(a)}}),e.ev.on("gmAfterSlideChange",function(){e.stopVideo()})},toggleVideo:function(){var e=this;return e._isVideoPlaying?e.stopVideo():e.playVideo()},playVideo:function(){var e=this;if(!e._isVideoPlaying){var i=e.currSlide;if(!i.videoURL)return!1;e._playingVideoSlide=i;var t=e._currVideoContent=i.content,o=i.videoURL,n,r,s;if(e.selfhosted=!1,o.match(/youtu\.be/i)||o.match(/youtube\.com/i)?(r=/^.*((youtu.be\/)|(v\/)|(\/u\/\w\/)|(embed\/)|(watch\?))\??v?=?([^#\&\?]*).*/,s=o.match(r),s&&11==s[7].length&&(n=s[7]),void 0!==n&&(e._videoFrameHolder=e.st.video.youTubeCode.replace("%id%",n))):o.match(/vimeo\.com/i)?(r=/(www\.)?vimeo.com\/(\d+)($|\/)/,s=o.match(r),s&&(n=s[2]),void 0!==n&&(e._videoFrameHolder=e.st.video.vimeoCode.replace("%id%",n))):(e._videoFrameHolder=e.st.video.gmediaCode.replace("%link%",o),e.selfhosted=!0),e.videoObj=$(e._videoFrameHolder),e.ev.trigger("gmOnCreateVideoElement",[o]),e.videoObj.length){if(e._videoFrameHolder=$('
'),e._videoFrameHolder.find(".gmPreloader").after(e.videoObj),t=t.hasClass("gmVideoContainer")?t:t.find(".gmVideoContainer"),0!==e.st.videoBottomPadding&&e._videoFrameHolder.css({bottom:e.st.videoBottomPadding}),e._videoFrameHolder.find(".gmCloseVideoBtn").off("click.gmv").on("click.gmv",function(i){return e.stopVideo(),i.preventDefault(),i.stopPropagation(),!1}),t.append(e._videoFrameHolder),e.isIPAD&&t.addClass("gmIOSVideo"),e._toggleHiddenClass(!1),setTimeout(function(){e._videoFrameHolder.addClass("gmVideoActive gmNoDrag"),e.slides[e.currSlideId].holder.addClass("gmVideoPlayerActive")},10),e.ev.trigger("gmVideoPlay"),e.selfhosted){e.ev.trigger("gmVideoPlayLocal");var a=e._videoFrameHolder.width(),d=e._videoFrameHolder.height();e.videoObj.attr("width",a).attr("height",d);var l=new MediaElementPlayer(e.videoObj);l.setPlayerSize(a,d),l.play();var u;$(window).on("resize"+e.ns,function(){u&&clearTimeout(u),u=setTimeout(function(){var i=e._videoFrameHolder.width(),t=e._videoFrameHolder.height();l.setPlayerSize(i,t),$("embed",e._videoFrameHolder).attr("width",i).attr("height",t)},50)})}e._isVideoPlaying=!0}return!0}return!1},stopVideo:function(){var e=this;return e.slides[e.currSlideId].holder.siblings().addBack().removeClass("gmVideoPlayerActive"),!!e._isVideoPlaying&&(e.isIPAD&&e.slider.find(".gmCloseVideoBtn").remove(),e._toggleHiddenClass(!0),setTimeout(function(){e.ev.trigger("gmOnDestroyVideoElement",[e.videoObj]);var i=e._videoFrameHolder.find("iframe");if(i.length)try{i.attr("src","")}catch(e){}e._videoFrameHolder.remove(),e._videoFrameHolder=null},16),e.ev.trigger("gmVideoStop"),e.selfhosted&&e.ev.trigger("gmVideoStopLocal"),e._isVideoPlaying=!1,!0)},_toggleHiddenClass:function(e,i){var t=[],o=this,n=o.st.video;if(n.autoHideArrows&&(o._arrowLeft&&(t.push(o._arrowLeft,o._arrowRight),o._arrowsAutoHideLocked=!e),o._fsBtn&&t.push(o._fsBtn)),n.autoHideControlNav&&o._controlNav&&t.push(o._controlNav),n.autoHideBlocks&&o._playingVideoSlide.animBlocks&&t.push(o._playingVideoSlide.animBlocks),n.autoHideCaption&&o.globalCaption&&t.push(o.globalCaption),o.slider[e?"removeClass":"addClass"]("gmVideoPlaying"),t.length)for(var r=0;r0){for(t=0;t0){var o;for(t=0;t0&&(u=t.data("move-effect"),u?(u=u.toLowerCase(),"none"===u?u=!1:"left"!==u&&"top"!==u&&"bottom"!==u&&"right"!==u&&"none"===(u=i.st.block.moveEffect)&&(u=!1)):u=i.st.block.moveEffect,u&&"none"!==u)){var a;a="right"===u||"left"===u;var d,c;m=!1,i._useCSS3Transitions?(d=0,l=i._xProp):(a?isNaN(parseInt(t.css("right"),10))?l="left":(l="right",m=!0):isNaN(parseInt(t.css("bottom"),10))?l="top":(l="bottom",m=!0),l="margin-"+l,m&&(s=-s),i._useCSS3Transitions?d=parseInt(t.css(l),10):void 0===(d=t.data("gm-start-move-prop"))&&(d=parseInt(t.css(l),10),isNaN(d)&&(d=0),t.data("gm-start-move-prop",d))),c="top"===u||"left"===u?d-s:d+s,n[l]=i._getCSS3Prop(c,a),o[l]=i._getCSS3Prop(d,a)}var _=t.attr("data-fade-effect");_?"none"!==_.toLowerCase()&&"false"!==_.toLowerCase()||(_=!1):_=i.st.block.fadeEffect,_&&(n.opacity=0,o.opacity=1),(_||u)&&(r={},r.hasFade=Boolean(_),Boolean(u)&&(r.moveProp=l,r.hasMove=!0),r.speed=t.data("speed"),isNaN(r.speed)&&(r.speed=i.st.block.speed),r.easing=t.data("easing"),r.easing||(r.easing=i.st.block.easing),r.css3Easing=$.gmCSS3Easing[r.easing],r.delay=t.data("delay"),isNaN(r.delay)&&(r.delay=i.st.block.delay*e));var g={};i._useCSS3Transitions&&(g[i._vendorPref+i._TD]="0ms"),g.moveProp=o.moveProp,g.opacity=o.opacity,g.display="none",i._blockAnimProps.push({block:t,css:g}),i._updateAnimBlockProps(t,n),i._animatedBlockTimeouts.push(setTimeout(function(e,t,o,n){return function(){if(e.css("display","block"),o){var r={};if(i._useCSS3Transitions){var s="";o.hasMove&&(s+=o.moveProp),o.hasFade&&(o.hasMove&&(s+=", "),s+="opacity"),r[i._vendorPref+i._TP]=s,r[i._vendorPref+i._TD]=o.speed+"ms",r[i._vendorPref+i._TTF]=o.css3Easing,e.css(r),setTimeout(function(){e.css(t)},24)}else setTimeout(function(){e.animate(t,o.speed,o.easing)},16)}delete i._animatedBlockTimeouts[n]}}(t,o,r,e),r.delay<=6?12:r.delay))})}}),$.gmModules.animatedBlocks=$.gmProto._initAnimatedBlocks}(jQuery);