1?r:u),t=t.replace(p,g.toString()))}return t=t.replace(/%%/,"%")}),this.$el.trigger(n)}}),t.fn.countdown=function(){var i=Array.prototype.slice.call(arguments,0);return this.each(function(){var n=t(this).data("countdown-instance");if(void 0!==n){var s=e[n],a=i[0];o.prototype.hasOwnProperty(a)?s[a].apply(s,i.slice(1)):null===String(a).match(/^[$A-Z_][0-9A-Z_$]*$/i)?(s.setFinalDate.call(s,a),s.start()):t.error("Method %s does not exist on jQuery.countdown".replace(/\%s/gi,a))}else new o(this,i[0],i[1])})}}),jQuery(document).ready(function(){var t={previous:jQuery("#lofslider .button-previous"),next:jQuery("#lofslider .button-next")};jQuery("#lofslider").lofJSidernews({interval:5e3,easing:"easeInOutExpo",direction:"opacity",duration:900,auto:!0,maxItemDisplay:10,buttons:t})}),function(t){t.fn.loadImages=function(e){var i=t.extend({template:"",callback:null},e);return this.each(function(){t(this).parent().addClass("ss-loading").append(""+i.template+"
"),t(this).each(function(){var e=t(this).parent();e.css({position:"relative",overflow:"hidden"}),e.is("a")&&e.css({display:"inline-block"}),t(this).on("load",function(){t(this).parent().find(".loading-img").fadeOut(function(){}),t.isFunction(i.callback)&&i.callback.call(this)})}),t(window).on("load",function(){t(".loading-img").fadeOut(function(){})})})}}(jQuery),function(t,e,i){"function"==typeof define&&define.amd?define(["jquery"],function(n){return i(n,t,e),n.mobile}):i(t.jQuery,t,e)}(this,document,function(t,e,i,n){var s,o;(function(t,e,i,n){function s(t){for(;t&&void 0!==t.originalEvent;)t=t.originalEvent;return t}function o(e){for(var i,n,s={};e;){i=t.data(e,x);for(n in i)i[n]&&(s[n]=s.hasVirtualBinding=!0);e=e.parentNode}return s}function a(){k=!0}function r(){k=!1}function u(){h(),$=setTimeout(function(){$=0,Q=0,_.length=0,N=!1,a()},t.vmouse.resetTimerDuration)}function h(){$&&(clearTimeout($),$=0)}function l(e,i,o){var a;return(o&&o[e]||!o&&function(e,i){for(var n;e;){if((n=t.data(e,x))&&(!i||n[i]))return e;e=e.parentNode}return null}(i.target,e))&&(a=function(e,i){var o,a,r,u,h,l,c,d,p,f=e.type;if((e=t.Event(e)).type=i,o=e.originalEvent,a=t.event.props,f.search(/^(mouse|click)/)>-1&&(a=D),o)for(c=a.length;c;)u=a[--c],e[u]=o[u];if(f.search(/mouse(down|up)|click/)>-1&&!e.which&&(e.which=1),-1!==f.search(/^touch/)&&(f=(r=s(o)).touches,h=r.changedTouches,l=f&&f.length?f[0]:h&&h.length?h[0]:n))for(d=0,p=M.length;da||Math.abs(i.pageY-A)>a)&&!n&&l("vmousecancel",e,r),l("vmousemove",e,r),u()}}function v(t){if(!k){a();var e,i,n=o(t.target);l("vmouseup",t,n),L||(e=l("vclick",t,n))&&e.isDefaultPrevented()&&(i=s(t).changedTouches[0],_.push({touchID:Q,x:i.clientX,y:i.clientY}),N=!0),l("vmouseout",t,n),L=!1,u()}}function g(e){var i,n=t.data(e,x);if(n)for(i in n)if(n[i])return!0;return!1}function m(){}function w(e){var i=e.substr(1);return{setup:function(){g(this)||t.data(this,x,{}),t.data(this,x)[e]=!0,O[e]=(O[e]||0)+1,1===O[e]&&j.bind(i,c),t(this).bind(i,m),P&&(O.touchstart=(O.touchstart||0)+1,1===O.touchstart&&j.bind("touchstart",d).bind("touchend",v).bind("touchmove",f).bind("scroll",p))},teardown:function(){--O[e],O[e]||j.unbind(i,c),P&&(--O.touchstart,O.touchstart||j.unbind("touchstart",d).unbind("touchmove",f).unbind("touchend",v).unbind("scroll",p));var n=t(this),s=t.data(this,x);s&&(s[e]=!1),n.unbind(i,m),g(this)||n.removeData(x)}}}var I,b,x="virtualMouseBindings",y="virtualTouchID",S="vmouseover vmousedown vmousemove vmouseup vclick vmouseout vmousecancel".split(" "),M="clientX clientY pageX pageY screenX screenY".split(" "),C=t.event.mouseHooks?t.event.mouseHooks.props:[],D=t.event.props.concat(C),O={},$=0,T=0,A=0,L=!1,_=[],N=!1,k=!1,P="addEventListener"in i,j=t(i),E=1,Q=0;for(t.vmouse={moveDistanceThreshold:10,clickDistanceThreshold:10,resetTimerDuration:1500},b=0;bMath.floor(t.pageY)||0===t.pageX&&Math.floor(s)>Math.floor(t.pageX)?(s-=i,o-=n):(ot.event.special.swipe.horizontalDistanceThreshold&&Math.abs(e.coords[1]-i.coords[1])i.coords[0]?"swipeleft":"swiperight";return s(n,"swipe",t.Event("swipe",{target:o,swipestart:e,swipestop:i}),!0),s(n,a,t.Event(a,{target:o,swipestart:e,swipestop:i}),!0),!0}return!1},eventInProgress:!1,setup:function(){var e,i=this,n=t(i),s={};(e=t.data(this,"mobile-events"))||(e={length:0},t.data(this,"mobile-events",e)),e.length++,e.swipe=s,s.start=function(e){if(!t.event.special.swipe.eventInProgress){t.event.special.swipe.eventInProgress=!0;var n,a=t.event.special.swipe.start(e),r=e.target,u=!1;s.move=function(e){a&&!e.isDefaultPrevented()&&(n=t.event.special.swipe.stop(e),u||(u=t.event.special.swipe.handleSwipe(a,n,i,r))&&(t.event.special.swipe.eventInProgress=!1),Math.abs(a.coords[0]-n.coords[0])>t.event.special.swipe.scrollSupressionThreshold&&e.preventDefault())},s.stop=function(){u=!0,t.event.special.swipe.eventInProgress=!1,o.off(l,s.move),s.move=null},o.on(l,s.move).one(h,s.stop)}},n.on(u,s.start)},teardown:function(){var e,i;(e=t.data(this,"mobile-events"))&&(i=e.swipe,delete e.swipe,e.length--,0===e.length&&t.removeData(this,"mobile-events")),i&&(i.start&&t(this).off(u,i.start),i.move&&o.off(l,i.move),i.stop&&o.off(h,i.stop))}},t.each({scrollstop:"scrollstart",taphold:"tap",swipeleft:"swipe.left",swiperight:"swipe.right"},function(e,i){t.event.special[e]={setup:function(){t(this).bind(i,t.noop)},teardown:function(){t(this).unbind(i)}}})}(t,this)});