!function(t){"function"==typeof define&&define.amd&&define.amd.jquery?define(["jquery"],t):"undefined"!=typeof jquery&&t(jquery)}(function(h){"use strict";var p,u="ontouchstart"in window,f=window.navigator.mspointerenabled&&!window.navigator.pointerenabled||!1,v=window.navigator.pointerenabled||window.navigator.mspointerenabled||!1,g=u||v,m=g?v?f?"mspointerdown":"pointerdown":"touchstart":"mousedown",y=g?v?f?"mspointermove":"pointermove":"touchmove":"mousemove",w=g?v?f?"mspointerup":"pointerup":"touchend":"mouseup",c=g?null:"mouseenter",b=g?null:"mouseleave",s=g?v?f?"mspointercancel":"pointercancel":"touchcancel":null,a="transitionend webkittransitionend otransitionend mstransitionend",i=[],z=!1,t=0,x=0,k=0,m=0,t=(document.body||document.documentelement).style,q=!(void 0===t.transform&&void 0===t.webkittransform&&void 0===t.moztransform&&void 0===t.mstransform&&void 0===t.otransform||void 0===t.transition&&void 0===t.webkittransition&&void 0===t.moztransition&&void 0===t.mstransition&&void 0===t.otransition);function i(t,i){var a=t.originalevent?t.originalevent:t;return u&&void 0!==a.touches&&1==a.touches.length?a.touches[0][i]:void 0!==t[i]?t[i]:void 0!==a[i]?a[i]:0}function o(t){return i(t,"pagex")}function e(t){return i(t,"pagey")}h.fn.extend({settransition:function(t){if(1==q){var i=0!==t?"cubic-bezier(0.39, 0.575, 0.565, 1)":"linear",a=t+"s",n=0!==t?"all":"none";this.css({"-webkit-transition-property":n,"-moz-transition-property":n,"-ms-transition-property":n,"-o-transition-property":n,"transition-property":n,"-webkit-transition-duration":a,"-moz-transition-duration":a,"-ms-transition-duration":a,"-o-transition-duration":a,"transition-duration":a,"-webkit-transition-timing-function":i,"-moz-transition-timing-function":i,"-ms-transition-timing-function":i,"-o-transition-timing-function":i,"transition-timing-function":i})}return this},translatex:function(t,i){var a="";return-1==t.tostring().indexof("px")&&(a="px"),1==q?(null!=i&&!0===i&&this.settransition(0),this.css({"-webkit-transform":"translate3d("+t+a+", 0, 0)","-moz-transform":"translatex("+t+a+")","-ms-transform":"translatex("+t+a+")","-o-transform":"translatex("+t+a+")",transform:"translatex("+t+a+")"})):this.css({"margin-left":t}),this},animatex:function(t,i){return 1==q?(this.settransition(i/1e3).translatex(t),this.hasclass("event-attached")||this.addclass("event-attached").on(a,function(t){var i=h(t.target);i.hasclass("slider-slides")&&(i.getslider().slidecomplete(),i.settransition(0))})):this.stop(!0,!0).animate({"margin-left":t},i,function(){h(this).getslider().slidecomplete()}),this},animatefade:function(t){return 1==q?(this.settransition(t/1e3).css({"-webkit-opacity":1,"-moz-opacity":1,"-ms-opacity":1,"-o-opacity":1,opacity:1}),this.hasclass("event-attached")||this.addclass("event-attached").on(a,function(t){-1!=t.originalevent.propertyname.indexof("opacity")&&0!=h(this).css("z-index")&&h(this).getslider().slidecomplete()})):this.stop(!0,!0).fadeto(t,1,function(){h(this).getslider().slidecomplete()}),this}}),h.fn.extend({sliderinit:function(t){var i=this.children().length;if(!(i<=1||1==this.data("initialized"))){this.hasclass("jslider")||this.addclass("jslider");var a={navigation:"hover",indicator:"always",speed:500,delay:5e3,transition:"slide",loop:!1,group:1},n={navigation:this.data("navigation"),indicator:this.data("indicator"),speed:this.data("speed"),delay:this.data("delay"),transition:this.data("transition"),loop:this.data("loop"),group:this.data("group")},e=h.extend({},a,n,t);(isnan(e.speed)||e.speed<0)&&(e.speed=a.speed),(isnan(e.delay)||e.delay<0)&&(e.delay=a.delay),"slide"!=e.transition&&"fade"!=e.transition&&(e.transition=a.transition),"slide"!=e.transition&&(e.group=1),g&&("hover"==e.navigation&&(e.navigation="none"),"hover"==e.indicator&&(e.indicator="none")),i=math.ceil(i/e.group),this.data("settings",e);var s=0,r="> div.selected";""!=window.location.hash&&(r=window.location.hash+","+r),0!=this.find(r).length&&(s=math.ceil(this.find(r).index()/e.group),this.find("> div.selected").removeclass("selected"),this.find("> div:eq("+s+")").addclass("selected")),this.find("[class*=appear-]").each(function(){var t=h(this),i=parseint(t.css("top"),10),a=parseint(t.css("left"),10);t.data("top",i).data("left",a),t.hasclass("appear-top")&&t.css("top",i-15),t.hasclass("appear-bottom")&&t.css("top",i+15),t.hasclass("appear-left")&&t.css("left",i-15),t.hasclass("appear-right")&&t.css("left",a+15),t.css("opacity",0),q&&t.addclass("cssanimation")}),this.data("total",i).data("current",s).data("cancel-play",!1).data("map-index",i.length).data("initialized",!0).wrapinner('
'),this.find(".slider-slides").settransition(0),i.push({slider:this,sliderinterval:null,showinterval:null}),1!=e.group?this.find(".slider-slides > div").css("width",100/e.group+"%"):this.find("img:eq(0)").clone().prependto(this),(f||v)&&this.css({"-ms-scroll-chaining":"none","-ms-touch-action":"pan-y pinch-zoom","touch-action":"pan-y pinch-zoom"}),u&&this.addclass("webkit-slider"),"fade"!=e.transition||"none"==e.navigation&&"none"==e.indicator?"none"==e.navigation&&"none"==e.indicator&&this.addclass("background-transition"):this.addclass("fade-transition"),"none"==e.navigation&&"none"==e.indicator||(this.find(".slider-content-wrapper").on(m,function(t){var i=h(this).getslider(),a=i.find(".slider-slides");g||(t.preventdefault(),a.addclass("grabbing")),a.settransition(0),!(z=!0),t=o(t),x=e(t),i.sliderstop(),p=i}).on(y,function(t){var i=h(this).getslider(),a=i.find(".slider-slides"),n=i.data("settings"),e=i.data("current"),s=i.width();1==z&&(g||t.preventdefault(),k=o(t)-t,m=e(t)-x,math.abs(m)>math.abs(k)?g&&i.slidercanceltouch():(!0,t.preventdefault(),"slide"==n.transition&&a.translatex(-e*s+k,!0)))}).on(w+" "+s,function(t){var i=h(this).getslider(),a=i.find(".slider-slides"),n=i.data("settings"),e=i.data("current"),s=(i.width(),1);a.removeclass("grabbing"),35