react-slick
Advanced tools
Comparing version 0.29.0 to 0.30.0
@@ -6,3 +6,3 @@ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react")):"function"==typeof define&&define.amd?define(["react"],t):"object"==typeof exports?exports.Slider=t(require("react")):e.Slider=t(e.React)}(window,(function(e){return r={},t.m=n=[function(t,n){t.exports=e},function(e,t,n){var r; | ||
http://jedwatson.github.io/classnames | ||
*/!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var i=typeof r;if("string"==i||"number"==i)e.push(r);else if(Array.isArray(r)&&r.length){var s=o.apply(null,r);s&&e.push(s)}else if("object"==i)for(var a in r)n.call(r,a)&&r[a]&&e.push(a)}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(r=function(){return o}.apply(t,[]))||(e.exports=r)}()},function(e,t,n){function r(e){var t="",n=Object.keys(e);return n.forEach((function(r,i){var s=e[r];r=o(r),/[height|width]$/.test(r)&&"number"==typeof s&&(s+="px"),t+=!0===s?r:!1===s?"not "+r:"("+r+": "+s+")",i<n.length-1&&(t+=" and ")})),t}var o=n(7);e.exports=function(e){var t="";return"string"==typeof e?e:e instanceof Array?(e.forEach((function(n,o){t+=r(n),o<e.length-1&&(t+=", ")})),t):r(e)}},function(e,t){var n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t){e.exports={isFunction:function(e){return"function"==typeof e},isArray:function(e){return"[object Array]"===Object.prototype.toString.apply(e)},each:function(e,t){for(var n=0,r=e.length;n<r&&!1!==t(e[n],n);n++);}}},function(e,t,n){(function(t){function n(){return l.Date.now()}var r=/^\s+|\s+$/g,o=/^[-+]0x[0-9a-f]+$/i,i=/^0b[01]+$/i,s=/^0o[0-7]+$/i,a=parseInt,c="object"==typeof t&&t&&t.Object===Object&&t,l=(t="object"==typeof self&&self&&self.Object===Object&&self,c||t||Function("return this")()),u=Object.prototype.toString,d=Math.max,p=Math.min;function f(e){var t=typeof e;return e&&("object"==t||"function"==t)}function h(e){if("number"==typeof e)return e;if("symbol"==typeof(t=e)||(n=t)&&"object"==typeof n&&"[object Symbol]"==u.call(t))return NaN;var t,n;if(f(e)&&(e=f(c="function"==typeof e.valueOf?e.valueOf():e)?c+"":c),"string"!=typeof e)return 0===e?e:+e;e=e.replace(r,"");var c=i.test(e);return c||s.test(e)?a(e.slice(2),c?2:8):o.test(e)?NaN:+e}e.exports=function(e,t,r){var o,i,s,a,c,l,u=0,y=!1,v=!1,b=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function g(t){var n=o,r=i;return o=i=void 0,u=t,a=e.apply(r,n)}function m(e){var n=e-l;return void 0===l||t<=n||n<0||v&&s<=e-u}function w(){var e,r=n();if(m(r))return S(r);c=setTimeout(w,(r=t-((e=r)-l),v?p(r,s-(e-u)):r))}function S(e){return c=void 0,b&&o?g(e):(o=i=void 0,a)}function O(){var e=n(),r=m(e);if(o=arguments,i=this,l=e,r){if(void 0===c)return u=r=l,c=setTimeout(w,t),y?g(r):a;if(v)return c=setTimeout(w,t),g(l)}return void 0===c&&(c=setTimeout(w,t)),a}return t=h(t)||0,f(r)&&(y=!!r.leading,s=(v="maxWait"in r)?d(h(r.maxWait)||0,t):s,b="trailing"in r?!!r.trailing:b),O.cancel=function(){void 0!==c&&clearTimeout(c),o=l=i=c=void(u=0)},O.flush=function(){return void 0===c?a:S(n())},O}}).call(this,n(3))},function(e,t,n){"use strict";(function(e){var n="undefined"!=typeof Map?Map:(Object.defineProperty(o.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),o.prototype.get=function(e){return e=r(this.__entries__,e),(e=this.__entries__[e])&&e[1]},o.prototype.set=function(e,t){var n=r(this.__entries__,e);~n?this.__entries__[n][1]=t:this.__entries__.push([e,t])},o.prototype.delete=function(e){var t=this.__entries__;~(e=r(t,e))&&t.splice(e,1)},o.prototype.has=function(e){return!!~r(this.__entries__,e)},o.prototype.clear=function(){this.__entries__.splice(0)},o.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,r=this.__entries__;n<r.length;n++){var o=r[n];e.call(t,o[1],o[0])}},o);function r(e,t){var n=-1;return e.some((function(e,r){return e[0]===t&&(n=r,!0)})),n}function o(){this.__entries__=[]}var i="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,s=void 0!==e&&e.Math===Math?e:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),a="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(s):function(e){return setTimeout((function(){return e(Date.now())}),1e3/60)},c=["top","right","bottom","left","width","height","size","weight"],l="undefined"!=typeof MutationObserver,u=(d.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},d.prototype.removeObserver=function(e){var t=this.observers_;~(e=t.indexOf(e))&&t.splice(e,1),!t.length&&this.connected_&&this.disconnect_()},d.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},d.prototype.updateObservers_=function(){var e=this.observers_.filter((function(e){return e.gatherActive(),e.hasActive()}));return e.forEach((function(e){return e.broadcastActive()})),0<e.length},d.prototype.connect_=function(){i&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),l?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},d.prototype.disconnect_=function(){i&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},d.prototype.onTransitionEnd_=function(e){var t=void 0===(e=e.propertyName)?"":e;c.some((function(e){return!!~t.indexOf(e)}))&&this.refresh()},d.getInstance=function(){return this.instance_||(this.instance_=new d),this.instance_},d.instance_=null,d);function d(){function e(){i&&(i=!1,r()),s&&n()}function t(){a(e)}function n(){var e=Date.now();if(i){if(e-c<2)return;s=!0}else s=!(i=!0),setTimeout(t,o);c=e}var r,o,i,s,c;this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=(r=this.refresh.bind(this),s=i=!(o=20),c=0,n)}var p=function(e,t){for(var n=0,r=Object.keys(t);n<r.length;n++){var o=r[n];Object.defineProperty(e,o,{value:t[o],enumerable:!1,writable:!1,configurable:!0})}return e},f=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||s},h=m(0,0,0,0);function y(e){return parseFloat(e)||0}function v(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce((function(t,n){return t+y(e["border-"+n+"-width"])}),0)}var b="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof f(e).SVGGraphicsElement}:function(e){return e instanceof f(e).SVGElement&&"function"==typeof e.getBBox};function g(e){return i?b(e)?m(0,0,(t=(t=e).getBBox()).width,t.height):function(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return h;var r=f(e).getComputedStyle(e),o=function(e){for(var t={},n=0,r=["top","right","bottom","left"];n<r.length;n++){var o=r[n],i=e["padding-"+o];t[o]=y(i)}return t}(r),i=o.left+o.right,s=o.top+o.bottom,a=y(r.width),c=y(r.height);return"border-box"===r.boxSizing&&(Math.round(a+i)!==t&&(a-=v(r,"left","right")+i),Math.round(c+s)!==n&&(c-=v(r,"top","bottom")+s)),(e=e)!==f(e).document.documentElement&&(t=Math.round(a+i)-t,n=Math.round(c+s)-n,1!==Math.abs(t)&&(a-=t),1!==Math.abs(n)&&(c-=n)),m(o.left,o.top,a,c)}(e):h;var t}function m(e,t,n,r){return{x:e,y:t,width:n,height:r}}var w=(S.prototype.isActive=function(){var e=g(this.target);return(this.contentRect_=e).width!==this.broadcastWidth||e.height!==this.broadcastHeight},S.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},S);function S(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=m(0,0,0,0),this.target=e}var O=function(e,t){var n,r,o,i=(n=(i=t).x,r=i.y,o=i.width,t=i.height,i="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,i=Object.create(i.prototype),p(i,{x:n,y:r,width:o,height:t,top:r,right:n+o,bottom:t+r,left:n}),i);p(this,{target:e,contentRect:i})},k=(j.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof f(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new w(e)),this.controller_.addObserver(this),this.controller_.refresh())}},j.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof f(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},j.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},j.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach((function(t){t.isActive()&&e.activeObservations_.push(t)}))},j.prototype.broadcastActive=function(){var e,t;this.hasActive()&&(e=this.callbackCtx_,t=this.activeObservations_.map((function(e){return new O(e.target,e.broadcastRect())})),this.callback_.call(e,t,e),this.clearActive())},j.prototype.clearActive=function(){this.activeObservations_.splice(0)},j.prototype.hasActive=function(){return 0<this.activeObservations_.length},j);function j(e,t,r){if(this.activeObservations_=[],this.observations_=new n,"function"!=typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=r}var T=new("undefined"!=typeof WeakMap?WeakMap:n),E=function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=u.getInstance();n=new k(t,n,this);T.set(this,n)};["observe","unobserve","disconnect"].forEach((function(e){E.prototype[e]=function(){var t;return(t=T.get(this))[e].apply(t,arguments)}})),e=void 0!==s.ResizeObserver?s.ResizeObserver:E,t.a=e}).call(this,n(3))},function(e,t){e.exports=function(e){return e.replace(/[A-Z]/g,(function(e){return"-"+e.toLowerCase()})).toLowerCase()}},function(e,t,n){n=n(9),e.exports=new n},function(e,t,n){var r=n(10),o=(n=n(4)).each,i=n.isFunction,s=n.isArray;function a(){if(!window.matchMedia)throw new Error("matchMedia not present, legacy browsers require a polyfill");this.queries={},this.browserIsIncapable=!window.matchMedia("only all").matches}a.prototype={constructor:a,register:function(e,t,n){var a=this.queries;n=n&&this.browserIsIncapable;return a[e]||(a[e]=new r(e,n)),i(t)&&(t={match:t}),s(t)||(t=[t]),o(t,(function(t){i(t)&&(t={match:t}),a[e].addHandler(t)})),this},unregister:function(e,t){var n=this.queries[e];return n&&(t?n.removeHandler(t):(n.clear(),delete this.queries[e])),this}},e.exports=a},function(e,t,n){var r=n(11),o=n(4).each;function i(e,t){this.query=e,this.isUnconditional=t,this.handlers=[],this.mql=window.matchMedia(e);var n=this;this.listener=function(e){n.mql=e.currentTarget||e,n.assess()},this.mql.addListener(this.listener)}i.prototype={constuctor:i,addHandler:function(e){e=new r(e),this.handlers.push(e),this.matches()&&e.on()},removeHandler:function(e){var t=this.handlers;o(t,(function(n,r){if(n.equals(e))return n.destroy(),!t.splice(r,1)}))},matches:function(){return this.mql.matches||this.isUnconditional},clear:function(){o(this.handlers,(function(e){e.destroy()})),this.mql.removeListener(this.listener),this.handlers.length=0},assess:function(){var e=this.matches()?"on":"off";o(this.handlers,(function(t){t[e]()}))}},e.exports=i},function(e,t){function n(e){(this.options=e).deferSetup||this.setup()}n.prototype={constructor:n,setup:function(){this.options.setup&&this.options.setup(),this.initialised=!0},on:function(){this.initialised||this.setup(),this.options.match&&this.options.match()},off:function(){this.options.unmatch&&this.options.unmatch()},destroy:function(){this.options.destroy?this.options.destroy():this.off()},equals:function(e){return this.options===e||this.options.match===e}},e.exports=n},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r),i={animating:!1,autoplaying:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,dragging:!1,edgeDragged:!1,initialized:!1,lazyLoadedList:[],listHeight:null,listWidth:null,scrolling:!1,slideCount:null,slideHeight:null,slideWidth:null,swipeLeft:null,swiped:!1,swiping:!1,touchObject:{startX:0,startY:0,curX:0,curY:0},trackStyle:{},trackWidth:0,targetSlide:0},s=(r=n(5),n.n(r)),a=(r=n(1),n.n(r));function c(e,t){var n,r=Object.keys(e);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(e),t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)),r}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){var r,o;r=e,t=n[o=t],o in r?Object.defineProperty(r,o,{value:t,enumerable:!0,configurable:!0,writable:!0}):r[o]=t})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function u(e,t,n){return Math.max(t,Math.min(e,n))}function d(e){["onTouchStart","onTouchMove","onWheel"].includes(e._reactName)||e.preventDefault()}function p(e){return e&&e.offsetWidth||0}function f(e,t){var n=1<arguments.length&&void 0!==t&&t;t=e.startX-e.curX,e=e.startY-e.curY,t=Math.atan2(e,t);return(t=Math.round(180*t/Math.PI))<0&&(t=360-Math.abs(t)),t<=45&&0<=t||t<=360&&315<=t?"left":135<=t&&t<=225?"right":!0===n?35<=t&&t<=135?"up":"down":"vertical"}function h(e,t){return t.reduce((function(t,n){return t&&e.hasOwnProperty(n)}),!0)?null:console.error("Keys Missing:",e)}function y(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}var v=function(e){for(var t=[],n=b(e),r=g(e),o=n;o<r;o++)e.lazyLoadedList.indexOf(o)<0&&t.push(o);return t},b=function(e){return e.currentSlide-m(e)},g=function(e){return e.currentSlide+w(e)},m=function(e){return e.centerMode?Math.floor(e.slidesToShow/2)+(0<parseInt(e.centerPadding)?1:0):0},w=function(e){return e.centerMode?Math.floor((e.slidesToShow-1)/2)+1+(0<parseInt(e.centerPadding)?1:0):e.slidesToShow},S=function(e){return e&&e.offsetHeight||0},O=function(e){var t=!0;return e.infinite||(e.centerMode&&e.currentSlide>=e.slideCount-1||e.slideCount<=e.slidesToShow||e.currentSlide>=e.slideCount-e.slidesToShow)&&(t=!1),t},k=function(e,t){var n={};return t.forEach((function(t){return n[t]=e[t]})),n},j=function(e){var t=e.waitForAnimate,n=e.animating,r=e.fade,o=e.infinite,i=e.index,s=e.slideCount,a=e.lazyLoad,c=e.currentSlide,d=e.centerMode,p=e.slidesToScroll,f=e.slidesToShow,h=e.useCSS,y=e.lazyLoadedList;if(t&&n)return{};var b=i,g={};t={},n=o?i:u(i,0,s-1);if(r){if(!o&&(i<0||s<=i))return{};i<0?b=i+s:s<=i&&(b=i-s),a&&y.indexOf(b)<0&&(y=y.concat(b)),t={animating:!(g={animating:!0,currentSlide:b,lazyLoadedList:y,targetSlide:b}),targetSlide:b}}else(i=b)<0?(i=b+s,o?s%p!=0&&(i=s-s%p):i=0):!O(e)&&c<b?b=i=c:d&&s<=b?(b=o?s:s-1,i=o?0:s-1):s<=b&&(i=b-s,o?s%p!=0&&(i=0):i=s-f),!o&&s<=b+f&&(i=s-f),s=L(l(l({},e),{},{slideIndex:b})),f=L(l(l({},e),{},{slideIndex:i})),o||(s===f&&(b=i),s=f),a&&(y=y.concat(v(l(l({},e),{},{currentSlide:b})))),h?t={animating:!(g={animating:!0,currentSlide:i,trackStyle:x(l(l({},e),{},{left:s})),lazyLoadedList:y,targetSlide:n}),currentSlide:i,trackStyle:_(l(l({},e),{},{left:f})),swipeLeft:null,targetSlide:n}:g={currentSlide:i,trackStyle:_(l(l({},e),{},{left:f})),lazyLoadedList:y,targetSlide:n};return{state:g,nextState:t}},T=function(e,t){var n,r,o=e.slidesToScroll,i=e.slidesToShow,s=e.slideCount,a=e.currentSlide,c=e.targetSlide,u=e.lazyLoad,d=e.infinite,p=s%o!=0?0:(s-a)%o;return"previous"===t.message?(r=a-(n=0==p?o:i-p),u&&!d&&(r=-1==(i=a-n)?s-1:i),d||(r=c-o)):"next"===t.message?(r=a+(n=0==p?o:p),u&&!d&&(r=(a+o)%s+p),d||(r=c+o)):"dots"===t.message?r=t.index*t.slidesToScroll:"children"===t.message?(r=t.index,d&&(e=z(l(l({},e),{},{targetSlide:r})),r>t.currentSlide&&"left"===e?r-=s:r<t.currentSlide&&"right"===e&&(r+=s))):"index"===t.message&&(r=Number(t.index)),r},E=function(e,t){var n=function(e){for(var t=e.infinite?2*e.slideCount:e.slideCount,n=e.infinite?-1*e.slidesToShow:0,r=e.infinite?-1*e.slidesToShow:0,o=[];n<t;)o.push(n),n=r+e.slidesToScroll,r+=Math.min(e.slidesToScroll,e.slidesToShow);return o}(e),r=0;if(t>n[n.length-1])t=n[n.length-1];else for(var o in n){if(t<n[o]){t=r;break}r=n[o]}return t},P=function(e){var t=e.centerMode?e.slideWidth*Math.floor(e.slidesToShow/2):0;if(e.swipeToSlide){var n,r=(r=e.listRef).querySelectorAll&&r.querySelectorAll(".slick-slide")||[];return Array.from(r).every((function(r){if(e.vertical){if(r.offsetTop+S(r)/2>-1*e.swipeLeft)return n=r,!1}else if(r.offsetLeft-t+p(r)/2>-1*e.swipeLeft)return n=r,!1;return!0})),n?(r=!0===e.rtl?e.slideCount-e.currentSlide:e.currentSlide,Math.abs(n.dataset.index-r)||1):0}return e.slidesToScroll},_=function(e){var t,n;h(e,["left","variableWidth","slideCount","slidesToShow","slideWidth"]);var r=e.slideCount+2*e.slidesToShow;e.vertical?n=r*e.slideHeight:t=R(e)*e.slideWidth;var o,i,s={opacity:1,transition:"",WebkitTransition:""};return e.useTransform?(o=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",i=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",r=e.vertical?"translateY("+e.left+"px)":"translateX("+e.left+"px)",s=l(l({},s),{},{WebkitTransform:o,transform:i,msTransform:r})):e.vertical?s.top=e.left:s.left=e.left,e.fade&&(s={opacity:1}),t&&(s.width=t),n&&(s.height=n),window&&!window.addEventListener&&window.attachEvent&&(e.vertical?s.marginTop=e.left+"px":s.marginLeft=e.left+"px"),s},x=function(e){h(e,["left","variableWidth","slideCount","slidesToShow","slideWidth","speed","cssEase"]);var t=_(e);return e.useTransform?(t.WebkitTransition="-webkit-transform "+e.speed+"ms "+e.cssEase,t.transition="transform "+e.speed+"ms "+e.cssEase):e.vertical?t.transition="top "+e.speed+"ms "+e.cssEase:t.transition="left "+e.speed+"ms "+e.cssEase,t},L=function(e){if(e.unslick)return 0;h(e,["slideIndex","trackRef","infinite","centerMode","slideCount","slidesToShow","slidesToScroll","slideWidth","listWidth","variableWidth","slideHeight"]);var t=e.slideIndex,n=e.trackRef,r=e.infinite,o=e.centerMode,i=e.slideCount,s=e.slidesToShow,a=e.slidesToScroll,c=e.slideWidth,l=e.listWidth,u=e.variableWidth,d=e.slideHeight,p=e.fade,f=e.vertical;if(p||1===e.slideCount)return 0;if(p=0,r?(p=-M(e),i%a!=0&&i<t+a&&(p=-(i<t?s-(t-i):i%a)),o&&(p+=parseInt(s/2))):(i%a!=0&&i<t+a&&(p=s-i%a),o&&(p=parseInt(s/2))),b=f?t*d*-1+p*d:t*c*-1+p*c,!0===u){var y=n&&n.node,v=t+M(e),b=(n=y&&y.childNodes[v])?-1*n.offsetLeft:0;if(!0===o){v=r?t+M(e):t,n=y&&y.children[v];for(var g=b=0;g<v;g++)b-=y&&y.children[g]&&y.children[g].offsetWidth;b-=parseInt(e.centerPadding),b+=n&&(l-n.offsetWidth)/2}}return b},M=function(e){return e.unslick||!e.infinite?0:e.variableWidth?e.slideCount:e.slidesToShow+(e.centerMode?1:0)},C=function(e){return e.unslick||!e.infinite?0:e.slideCount},R=function(e){return 1===e.slideCount?1:M(e)+e.slideCount+C(e)},z=function(e){return e.targetSlide>e.currentSlide?e.targetSlide>e.currentSlide+W(e)?"left":"right":e.targetSlide<e.currentSlide-D(e)?"right":"left"},W=function(e){var t=e.slidesToShow,n=e.centerMode,r=e.rtl;e=e.centerPadding;return n?(n=(t-1)/2+1,0<parseInt(e)&&(n+=1),r&&t%2==0&&(n+=1),n):r?0:t-1},D=function(e){var t=e.slidesToShow,n=e.centerMode,r=e.rtl;e=e.centerPadding;return n?(n=(t-1)/2+1,0<parseInt(e)&&(n+=1),r||t%2!=0||(n+=1),n):r?t-1:0};function H(e){return(H="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function A(){return(A=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n,r=arguments[t];for(n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function I(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function N(e,t){return(N=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function q(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function B(e){return(B=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function F(e,t){var n,r=Object.keys(e);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(e),t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)),r}function X(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?F(Object(n),!0).forEach((function(t){Y(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):F(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Y(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function G(e){var t,n,r,o=e.rtl?e.slideCount-1-e.index:e.index,i=o<0||o>=e.slideCount;return e.centerMode?(r=Math.floor(e.slidesToShow/2),n=(o-e.currentSlide)%e.slideCount==0,o>e.currentSlide-r-1&&o<=e.currentSlide+r&&(t=!0)):t=e.currentSlide<=o&&o<e.currentSlide+e.slidesToShow,{"slick-slide":!0,"slick-active":t,"slick-center":n,"slick-cloned":i,"slick-current":o===(e.targetSlide<0?e.targetSlide+e.slideCount:e.targetSlide>=e.slideCount?e.targetSlide-e.slideCount:e.targetSlide)}}function U(e,t){return e.key||t}var V=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&N(e,t)}(r,o.a.PureComponent);var e,t,n=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=B(e);return function(e,t){if(t&&("object"===H(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return q(e)}(this,t?(n=B(this).constructor,Reflect.construct(r,arguments,n)):r.apply(this,arguments))}}(r);function r(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r);for(var t=arguments.length,o=new Array(t),i=0;i<t;i++)o[i]=arguments[i];return Y(q(e=n.call.apply(n,[this].concat(o))),"node",null),Y(q(e),"handleRef",(function(t){e.node=t})),e}return e=r,(t=[{key:"render",value:function(){var e=function(e){var t,n=[],r=[],i=[],s=o.a.Children.count(e.children),c=b(e),l=g(e);return o.a.Children.forEach(e.children,(function(u,d){var p,f={message:"children",index:d,slidesToScroll:e.slidesToScroll,currentSlide:e.currentSlide},h=!e.lazyLoad||e.lazyLoad&&0<=e.lazyLoadedList.indexOf(d)?u:o.a.createElement("div",null),y=(p={},void 0!==(b=X(X({},e),{},{index:d})).variableWidth&&!1!==b.variableWidth||(p.width=b.slideWidth),b.fade&&(p.position="relative",b.vertical?p.top=-b.index*parseInt(b.slideHeight):p.left=-b.index*parseInt(b.slideWidth),p.opacity=b.currentSlide===b.index?1:0,b.useCSS&&(p.transition="opacity "+b.speed+"ms "+b.cssEase+", visibility "+b.speed+"ms "+b.cssEase)),p),v=h.props.className||"",b=G(X(X({},e),{},{index:d}));n.push(o.a.cloneElement(h,{key:"original"+U(h,d),"data-index":d,className:a()(b,v),tabIndex:"-1","aria-hidden":!b["slick-active"],style:X(X({outline:"none"},h.props.style||{}),y),onClick:function(t){h.props&&h.props.onClick&&h.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(f)}})),e.infinite&&!1===e.fade&&((p=s-d)<=M(e)&&s!==e.slidesToShow&&(c<=(t=-p)&&(h=u),b=G(X(X({},e),{},{index:t})),r.push(o.a.cloneElement(h,{key:"precloned"+U(h,t),"data-index":t,tabIndex:"-1",className:a()(b,v),"aria-hidden":!b["slick-active"],style:X(X({},h.props.style||{}),y),onClick:function(t){h.props&&h.props.onClick&&h.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(f)}}))),s!==e.slidesToShow&&((t=s+d)<l&&(h=u),b=G(X(X({},e),{},{index:t})),i.push(o.a.cloneElement(h,{key:"postcloned"+U(h,t),"data-index":t,tabIndex:"-1",className:a()(b,v),"aria-hidden":!b["slick-active"],style:X(X({},h.props.style||{}),y),onClick:function(t){h.props&&h.props.onClick&&h.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(f)}}))))})),e.rtl?r.concat(n,i).reverse():r.concat(n,i)}(this.props),t={onMouseEnter:(t=this.props).onMouseEnter,onMouseOver:t.onMouseOver,onMouseLeave:t.onMouseLeave};return o.a.createElement("div",A({ref:this.handleRef,className:"slick-track",style:this.props.trackStyle},t),e)}}])&&I(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),r}();function $(e){return($="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function K(e,t){var n,r=Object.keys(e);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(e),t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)),r}function Z(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function J(e,t){return(J=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Q(e){return(Q=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var ee=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&J(e,t)}(r,o.a.PureComponent);var e,t,n=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Q(e);return function(e,t){if(t&&("object"===$(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e)}(this,t?(n=Q(this).constructor,Reflect.construct(r,arguments,n)):r.apply(this,arguments))}}(r);function r(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r),n.apply(this,arguments)}return e=r,(t=[{key:"clickHandler",value:function(e,t){t.preventDefault(),this.props.clickHandler(e)}},{key:"render",value:function(){for(var e=this.props,t=e.onMouseEnter,n=e.onMouseOver,r=e.onMouseLeave,i=e.infinite,s=e.slidesToScroll,c=e.slidesToShow,l=e.slideCount,d=e.currentSlide,p=function(e){return e=e.infinite?Math.ceil(e.slideCount/e.slidesToScroll):Math.ceil((e.slideCount-e.slidesToShow)/e.slidesToScroll)+1}({slideCount:l,slidesToScroll:s,slidesToShow:c,infinite:i}),f=(r={onMouseEnter:t,onMouseOver:n,onMouseLeave:r},[]),h=0;h<p;h++){var y=(h+1)*s-1,v=(y=(v=i?y:u(y,0,l-1))-(s-1),y=i?y:u(y,0,l-1),a()({"slick-active":i?y<=d&&d<=v:d===y}));y={message:"dots",index:h,slidesToScroll:s,currentSlide:d},y=this.clickHandler.bind(this,y),f=f.concat(o.a.createElement("li",{key:h,className:v},o.a.cloneElement(this.props.customPaging(h),{onClick:y})))}return o.a.cloneElement(this.props.appendDots(f),function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?K(Object(n),!0).forEach((function(t){var r,o;r=e,t=n[o=t],o in r?Object.defineProperty(r,o,{value:t,enumerable:!0,configurable:!0,writable:!0}):r[o]=t})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):K(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({className:this.props.dotsClass},r))}}])&&Z(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),r}();function te(e){return(te="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ne(){return(ne=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n,r=arguments[t];for(n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function re(e,t){var n,r=Object.keys(e);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(e),t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)),r}function oe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?re(Object(n),!0).forEach((function(t){var r,o;r=e,t=n[o=t],o in r?Object.defineProperty(r,o,{value:t,enumerable:!0,configurable:!0,writable:!0}):r[o]=t})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):re(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function se(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ae(e,t,n){return t&&se(e.prototype,t),n&&se(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function ce(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&function(e,t){(Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}(e,t)}function le(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=ue(e);return function(e,t){if(t&&("object"===te(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e)}(this,t?(n=ue(this).constructor,Reflect.construct(r,arguments,n)):r.apply(this,arguments))}}function ue(e){return(ue=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var de=function(){ce(t,o.a.PureComponent);var e=le(t);function t(){return ie(this,t),e.apply(this,arguments)}return ae(t,[{key:"clickHandler",value:function(e,t){t&&t.preventDefault(),this.props.clickHandler(e,t)}},{key:"render",value:function(){var e={"slick-arrow":!0,"slick-prev":!0},t=this.clickHandler.bind(this,{message:"previous"});return!this.props.infinite&&(0===this.props.currentSlide||this.props.slideCount<=this.props.slidesToShow)&&(e["slick-disabled"]=!0,t=null),e={key:"0","data-role":"none",className:a()(e),style:{display:"block"},onClick:t},t={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount},e=this.props.prevArrow?o.a.cloneElement(this.props.prevArrow,oe(oe({},e),t)):o.a.createElement("button",ne({key:"0",type:"button"},e)," ","Previous")}}]),t}(),pe=function(){ce(t,o.a.PureComponent);var e=le(t);function t(){return ie(this,t),e.apply(this,arguments)}return ae(t,[{key:"clickHandler",value:function(e,t){t&&t.preventDefault(),this.props.clickHandler(e,t)}},{key:"render",value:function(){var e={"slick-arrow":!0,"slick-next":!0},t=this.clickHandler.bind(this,{message:"next"});return O(this.props)||(e["slick-disabled"]=!0,t=null),e={key:"1","data-role":"none",className:a()(e),style:{display:"block"},onClick:t},t={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount},e=this.props.nextArrow?o.a.cloneElement(this.props.nextArrow,oe(oe({},e),t)):o.a.createElement("button",ne({key:"1",type:"button"},e)," ","Next")}}]),t}(),fe=n(6);function he(e){return(he="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ye(){return(ye=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n,r=arguments[t];for(n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function ve(e,t){if(null==e)return{};var n,r=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],0<=t.indexOf(n)||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols)for(var o=Object.getOwnPropertySymbols(e),i=0;i<o.length;i++)n=o[i],0<=t.indexOf(n)||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n]);return r}function be(e,t){var n,r=Object.keys(e);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(e),t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)),r}function ge(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?be(Object(n),!0).forEach((function(t){ke(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):be(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function me(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function we(e,t){return(we=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Se(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Oe(e){return(Oe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ke(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var je=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&we(e,t)}(r,o.a.Component);var e,t,n=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Oe(e);return function(e,t){if(t&&("object"===he(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Se(e)}(this,t?(n=Oe(this).constructor,Reflect.construct(r,arguments,n)):r.apply(this,arguments))}}(r);function r(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r),ke(Se(t=n.call(this,e)),"listRefHandler",(function(e){return t.list=e})),ke(Se(t),"trackRefHandler",(function(e){return t.track=e})),ke(Se(t),"adaptHeight",(function(){var e;t.props.adaptiveHeight&&t.list&&(e=t.list.querySelector('[data-index="'.concat(t.state.currentSlide,'"]')),t.list.style.height=S(e)+"px")})),ke(Se(t),"componentDidMount",(function(){var e;t.props.onInit&&t.props.onInit(),!t.props.lazyLoad||0<(e=v(ge(ge({},t.props),t.state))).length&&(t.setState((function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}})),t.props.onLazyLoad&&t.props.onLazyLoad(e));var n=ge({listRef:t.list,trackRef:t.track},t.props);t.updateState(n,!0,(function(){t.adaptHeight(),t.props.autoplay&&t.autoPlay("update")})),"progressive"===t.props.lazyLoad&&(t.lazyLoadTimer=setInterval(t.progressiveLazyLoad,1e3)),t.ro=new fe.a((function(){t.state.animating?(t.onWindowResized(!1),t.callbackTimers.push(setTimeout((function(){return t.onWindowResized()}),t.props.speed))):t.onWindowResized()})),t.ro.observe(t.list),document.querySelectorAll&&Array.prototype.forEach.call(document.querySelectorAll(".slick-slide"),(function(e){e.onfocus=t.props.pauseOnFocus?t.onSlideFocus:null,e.onblur=t.props.pauseOnFocus?t.onSlideBlur:null})),window.addEventListener?window.addEventListener("resize",t.onWindowResized):window.attachEvent("onresize",t.onWindowResized)})),ke(Se(t),"componentWillUnmount",(function(){t.animationEndCallback&&clearTimeout(t.animationEndCallback),t.lazyLoadTimer&&clearInterval(t.lazyLoadTimer),t.callbackTimers.length&&(t.callbackTimers.forEach((function(e){return clearTimeout(e)})),t.callbackTimers=[]),window.addEventListener?window.removeEventListener("resize",t.onWindowResized):window.detachEvent("onresize",t.onWindowResized),t.autoplayTimer&&clearInterval(t.autoplayTimer),t.ro.disconnect()})),ke(Se(t),"componentDidUpdate",(function(e){var n;t.checkImagesLoad(),t.props.onReInit&&t.props.onReInit(),!t.props.lazyLoad||0<(n=v(ge(ge({},t.props),t.state))).length&&(t.setState((function(e){return{lazyLoadedList:e.lazyLoadedList.concat(n)}})),t.props.onLazyLoad&&t.props.onLazyLoad(n)),t.adaptHeight();var r=ge(ge({listRef:t.list,trackRef:t.track},t.props),t.state);(e=t.didPropsChange(e))&&t.updateState(r,e,(function(){t.state.currentSlide>=o.a.Children.count(t.props.children)&&t.changeSlide({message:"index",index:o.a.Children.count(t.props.children)-t.props.slidesToShow,currentSlide:t.state.currentSlide}),t.props.autoplay?t.autoPlay("update"):t.pause("paused")}))})),ke(Se(t),"onWindowResized",(function(e){t.debouncedResize&&t.debouncedResize.cancel(),t.debouncedResize=s()((function(){return t.resizeWindow(e)}),50),t.debouncedResize()})),ke(Se(t),"resizeWindow",(function(){var e,n=!(0<arguments.length&&void 0!==arguments[0])||arguments[0];Boolean(t.track&&t.track.node)&&(e=ge(ge({listRef:t.list,trackRef:t.track},t.props),t.state),t.updateState(e,n,(function(){t.props.autoplay?t.autoPlay("update"):t.pause("paused")})),t.setState({animating:!1}),clearTimeout(t.animationEndCallback),delete t.animationEndCallback)})),ke(Se(t),"updateState",(function(e,n,r){var i=function(e){var t=o.a.Children.count(e.children),n=e.listRef,r=Math.ceil(p(n)),i=e.trackRef&&e.trackRef.node,s=Math.ceil(p(i)),a=e.vertical?r:(d=e.centerMode&&2*parseInt(e.centerPadding),"string"==typeof e.centerPadding&&"%"===e.centerPadding.slice(-1)&&(d*=r/100),Math.ceil((r-d)/e.slidesToShow)),c=n&&S(n.querySelector('[data-index="0"]')),u=c*e.slidesToShow;i=void 0===e.currentSlide?e.initialSlide:e.currentSlide;e.rtl&&void 0===e.currentSlide&&(i=t-1-e.initialSlide);var d=e.lazyLoadedList||[];n=v(l(l({},e),{},{currentSlide:i,lazyLoadedList:d})),d={slideCount:t,slideWidth:a,listWidth:r,trackWidth:s,currentSlide:i,slideHeight:c,listHeight:u,lazyLoadedList:d=d.concat(n)};return null===e.autoplaying&&e.autoplay&&(d.autoplaying="playing"),d}(e);e=ge(ge(ge({},e),i),{},{slideIndex:i.currentSlide});var s=L(e);e=ge(ge({},e),{},{left:s}),s=_(e),!n&&o.a.Children.count(t.props.children)===o.a.Children.count(e.children)||(i.trackStyle=s),t.setState(i,r)})),ke(Se(t),"ssrInit",(function(){if(t.props.variableWidth){var e=0,n=0,r=[],i=M(ge(ge(ge({},t.props),t.state),{},{slideCount:t.props.children.length})),s=C(ge(ge(ge({},t.props),t.state),{},{slideCount:t.props.children.length}));t.props.children.forEach((function(t){r.push(t.props.style.width),e+=t.props.style.width}));for(var a=0;a<i;a++)n+=r[r.length-1-a],e+=r[r.length-1-a];for(var c=0;c<s;c++)e+=r[c];for(var l=0;l<t.state.currentSlide;l++)n+=r[l];var u={width:e+"px",left:-n+"px"};return t.props.centerMode&&(p="".concat(r[t.state.currentSlide],"px"),u.left="calc(".concat(u.left," + (100% - ").concat(p,") / 2 ) ")),{trackStyle:u}}var d=o.a.Children.count(t.props.children),p=ge(ge(ge({},t.props),t.state),{},{slideCount:d});u=M(p)+C(p)+d,d=100/t.props.slidesToShow*u,p=-(u=100/u)*(M(p)+t.state.currentSlide)*d/100;return t.props.centerMode&&(p+=(100-u*d/100)/2),{slideWidth:u+"%",trackStyle:{width:d+"%",left:p+"%"}}})),ke(Se(t),"checkImagesLoad",(function(){var e=t.list&&t.list.querySelectorAll&&t.list.querySelectorAll(".slick-slide img")||[],n=e.length,r=0;Array.prototype.forEach.call(e,(function(e){function o(){return++r&&n<=r&&t.onWindowResized()}var i;e.onclick?(i=e.onclick,e.onclick=function(){i(),e.parentNode.focus()}):e.onclick=function(){return e.parentNode.focus()},e.onload||(t.props.lazyLoad?e.onload=function(){t.adaptHeight(),t.callbackTimers.push(setTimeout(t.onWindowResized,t.props.speed))}:(e.onload=o,e.onerror=function(){o(),t.props.onLazyLoadError&&t.props.onLazyLoadError()}))}))})),ke(Se(t),"progressiveLazyLoad",(function(){for(var e=[],n=ge(ge({},t.props),t.state),r=t.state.currentSlide;r<t.state.slideCount+C(n);r++)if(t.state.lazyLoadedList.indexOf(r)<0){e.push(r);break}for(var o=t.state.currentSlide-1;o>=-M(n);o--)if(t.state.lazyLoadedList.indexOf(o)<0){e.push(o);break}0<e.length?(t.setState((function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}})),t.props.onLazyLoad&&t.props.onLazyLoad(e)):t.lazyLoadTimer&&(clearInterval(t.lazyLoadTimer),delete t.lazyLoadTimer)})),ke(Se(t),"slideHandler",(function(e){var n=1<arguments.length&&void 0!==arguments[1]&&arguments[1],r=(c=t.props).asNavFor,o=c.beforeChange,i=c.onLazyLoad,s=c.speed,a=c.afterChange,c=t.state.currentSlide,l=(n=j(ge(ge(ge({index:e},t.props),t.state),{},{trackRef:t.track,useCSS:t.props.useCSS&&!n}))).state,u=n.nextState;l&&(o&&o(c,l.currentSlide),o=l.lazyLoadedList.filter((function(e){return t.state.lazyLoadedList.indexOf(e)<0})),i&&0<o.length&&i(o),!t.props.waitForAnimate&&t.animationEndCallback&&(clearTimeout(t.animationEndCallback),a&&a(c),delete t.animationEndCallback),t.setState(l,(function(){r&&t.asNavForIndex!==e&&(t.asNavForIndex=e,r.innerSlider.slideHandler(e)),u&&(t.animationEndCallback=setTimeout((function(){var e=u.animating,n=ve(u,["animating"]);t.setState(n,(function(){t.callbackTimers.push(setTimeout((function(){return t.setState({animating:e})}),10)),a&&a(l.currentSlide),delete t.animationEndCallback}))}),s))})))})),ke(Se(t),"changeSlide",(function(e){var n=1<arguments.length&&void 0!==arguments[1]&&arguments[1],r=ge(ge({},t.props),t.state);0!==(e=T(r,e))&&!e||(!0===n?t.slideHandler(e,n):t.slideHandler(e),t.props.autoplay&&t.autoPlay("update"),!t.props.focusOnSelect||(e=t.list.querySelectorAll(".slick-current"))[0]&&e[0].focus())})),ke(Se(t),"clickHandler",(function(e){!1===t.clickable&&(e.stopPropagation(),e.preventDefault()),t.clickable=!0})),ke(Se(t),"keyHandler",(function(e){""!==(e=function(e,t,n){return e.target.tagName.match("TEXTAREA|INPUT|SELECT")||!t?"":37===e.keyCode?n?"next":"previous":39===e.keyCode?n?"previous":"next":""}(e,t.props.accessibility,t.props.rtl))&&t.changeSlide({message:e})})),ke(Se(t),"selectHandler",(function(e){t.changeSlide(e)})),ke(Se(t),"disableBodyScroll",(function(){window.ontouchmove=function(e){(e=e||window.event).preventDefault&&e.preventDefault(),e.returnValue=!1}})),ke(Se(t),"enableBodyScroll",(function(){window.ontouchmove=null})),ke(Se(t),"swipeStart",(function(e){t.props.verticalSwiping&&t.disableBodyScroll(),""!==(e=function(e,t,n){return"IMG"===e.target.tagName&&d(e),!t||!n&&-1!==e.type.indexOf("mouse")?"":{dragging:!0,touchObject:{startX:e.touches?e.touches[0].pageX:e.clientX,startY:e.touches?e.touches[0].pageY:e.clientY,curX:e.touches?e.touches[0].pageX:e.clientX,curY:e.touches?e.touches[0].pageY:e.clientY}}}(e,t.props.swipe,t.props.draggable))&&t.setState(e)})),ke(Se(t),"swipeMove",(function(e){(e=function(e,t){var n=t.scrolling,r=t.animating,o=t.vertical,i=t.swipeToSlide,s=t.verticalSwiping,a=t.rtl,c=t.currentSlide,u=t.edgeFriction,p=t.edgeDragged,h=t.onEdge,y=t.swiped,v=t.swiping,b=t.slideCount,g=t.slidesToScroll,m=t.infinite,w=t.touchObject,S=t.swipeEvent,k=t.listHeight,j=t.listWidth;if(!n){if(r)return d(e);if(o&&i&&s&&d(e),n={},r=L(t),w.curX=e.touches?e.touches[0].pageX:e.clientX,w.curY=e.touches?e.touches[0].pageY:e.clientY,w.swipeLength=Math.round(Math.sqrt(Math.pow(w.curX-w.startX,2))),i=Math.round(Math.sqrt(Math.pow(w.curY-w.startY,2))),!s&&!v&&10<i)return{scrolling:!0};s&&(w.swipeLength=i);v=(a?-1:1)*(w.curX>w.startX?1:-1);return s&&(v=w.curY>w.startY?1:-1),i=Math.ceil(b/g),b=f(t.touchObject,s),g=w.swipeLength,m||(0===c&&("right"===b||"down"===b)||i<=c+1&&("left"===b||"up"===b)||!O(t)&&("left"===b||"up"===b))&&(g=w.swipeLength*u,!1===p&&h&&(h(b),n.edgeDragged=!0)),!y&&S&&(S(b),n.swiped=!0),v=s?r+g*v:o?r+g*(k/j)*v:a?r-g*v:r+g*v,n=l(l({},n),{},{touchObject:w,swipeLeft:v,trackStyle:_(l(l({},t),{},{left:v}))}),Math.abs(w.curX-w.startX)<.8*Math.abs(w.curY-w.startY)||10<w.swipeLength&&(n.swiping=!0,d(e)),n}}(e,ge(ge(ge({},t.props),t.state),{},{trackRef:t.track,listRef:t.list,slideIndex:t.state.currentSlide})))&&(e.swiping&&(t.clickable=!1),t.setState(e))})),ke(Se(t),"swipeEnd",(function(e){var n=function(e,t){var n=t.dragging,r=t.swipe,o=t.touchObject,i=t.listWidth,s=t.touchThreshold,a=t.verticalSwiping,c=t.listHeight,u=t.swipeToSlide,p=t.scrolling,h=t.onSwipe,y=t.targetSlide,v=t.currentSlide,b=t.infinite;if(!n)return r&&d(e),{};var g;i=a?c/s:i/s,s=f(o,a),a={dragging:!1,edgeDragged:!1,scrolling:!1,swiping:!1,swiped:!1,swipeLeft:null,touchObject:{}};if(p)return a;if(!o.swipeLength)return a;if(o.swipeLength>i){switch(d(e),h&&h(s),y=b?v:y,s){case"left":case"up":g=y+P(t),m=u?E(t,g):g,a.currentDirection=0;break;case"right":case"down":g=y-P(t),m=u?E(t,g):g,a.currentDirection=1;break;default:m=y}a.triggerSlideHandler=m}else{var m=L(t);a.trackStyle=x(l(l({},t),{},{left:m}))}return a}(e,ge(ge(ge({},t.props),t.state),{},{trackRef:t.track,listRef:t.list,slideIndex:t.state.currentSlide}));n&&(e=n.triggerSlideHandler,delete n.triggerSlideHandler,t.setState(n),void 0!==e&&(t.slideHandler(e),t.props.verticalSwiping&&t.enableBodyScroll()))})),ke(Se(t),"touchEnd",(function(e){t.swipeEnd(e),t.clickable=!0})),ke(Se(t),"slickPrev",(function(){t.callbackTimers.push(setTimeout((function(){return t.changeSlide({message:"previous"})}),0))})),ke(Se(t),"slickNext",(function(){t.callbackTimers.push(setTimeout((function(){return t.changeSlide({message:"next"})}),0))})),ke(Se(t),"slickGoTo",(function(e){var n=1<arguments.length&&void 0!==arguments[1]&&arguments[1];if(e=Number(e),isNaN(e))return"";t.callbackTimers.push(setTimeout((function(){return t.changeSlide({message:"index",index:e,currentSlide:t.state.currentSlide},n)}),0))})),ke(Se(t),"play",(function(){var e;if(t.props.rtl)e=t.state.currentSlide-t.props.slidesToScroll;else{if(!O(ge(ge({},t.props),t.state)))return!1;e=t.state.currentSlide+t.props.slidesToScroll}t.slideHandler(e)})),ke(Se(t),"autoPlay",(function(e){t.autoplayTimer&&clearInterval(t.autoplayTimer);var n=t.state.autoplaying;if("update"===e){if("hovered"===n||"focused"===n||"paused"===n)return}else if("leave"===e){if("paused"===n||"focused"===n)return}else if("blur"===e&&("paused"===n||"hovered"===n))return;t.autoplayTimer=setInterval(t.play,t.props.autoplaySpeed+50),t.setState({autoplaying:"playing"})})),ke(Se(t),"pause",(function(e){t.autoplayTimer&&(clearInterval(t.autoplayTimer),t.autoplayTimer=null);var n=t.state.autoplaying;"paused"===e?t.setState({autoplaying:"paused"}):"focused"===e?"hovered"!==n&&"playing"!==n||t.setState({autoplaying:"focused"}):"playing"===n&&t.setState({autoplaying:"hovered"})})),ke(Se(t),"onDotsOver",(function(){return t.props.autoplay&&t.pause("hovered")})),ke(Se(t),"onDotsLeave",(function(){return t.props.autoplay&&"hovered"===t.state.autoplaying&&t.autoPlay("leave")})),ke(Se(t),"onTrackOver",(function(){return t.props.autoplay&&t.pause("hovered")})),ke(Se(t),"onTrackLeave",(function(){return t.props.autoplay&&"hovered"===t.state.autoplaying&&t.autoPlay("leave")})),ke(Se(t),"onSlideFocus",(function(){return t.props.autoplay&&t.pause("focused")})),ke(Se(t),"onSlideBlur",(function(){return t.props.autoplay&&"focused"===t.state.autoplaying&&t.autoPlay("blur")})),ke(Se(t),"render",(function(){var e,n,r,i=a()("slick-slider",t.props.className,{"slick-vertical":t.props.vertical,"slick-initialized":!0}),s=ge(ge({},t.props),t.state),c=k(s,["fade","cssEase","speed","infinite","centerMode","focusOnSelect","currentSlide","lazyLoad","lazyLoadedList","rtl","slideWidth","slideHeight","listHeight","vertical","slidesToShow","slidesToScroll","slideCount","trackStyle","variableWidth","unslick","centerPadding","targetSlide","useCSS"]),l=t.props.pauseOnHover;c=ge(ge({},c),{},{onMouseEnter:l?t.onTrackOver:null,onMouseLeave:l?t.onTrackLeave:null,onMouseOver:l?t.onTrackOver:null,focusOnSelect:t.props.focusOnSelect&&t.clickable?t.selectHandler:null});!0===t.props.dots&&t.state.slideCount>=t.props.slidesToShow&&(u=k(s,["dotsClass","slideCount","slidesToShow","currentSlide","slidesToScroll","clickHandler","children","customPaging","infinite","appendDots"]),e=t.props.pauseOnDotsHover,u=ge(ge({},u),{},{clickHandler:t.changeSlide,onMouseEnter:e?t.onDotsLeave:null,onMouseOver:e?t.onDotsOver:null,onMouseLeave:e?t.onDotsLeave:null}),e=o.a.createElement(ee,u));var u=k(s,["infinite","centerMode","currentSlide","slideCount","slidesToShow","prevArrow","nextArrow"]);return u.clickHandler=t.changeSlide,t.props.arrows&&(n=o.a.createElement(de,u),r=o.a.createElement(pe,u)),s=null,t.props.vertical&&(s={height:t.state.listHeight}),u=null,!1===t.props.vertical?!0===t.props.centerMode&&(u={padding:"0px "+t.props.centerPadding}):!0===t.props.centerMode&&(u={padding:t.props.centerPadding+" 0px"}),s=ge(ge({},s),u),u=t.props.touchMove,s={className:"slick-list",style:s,onClick:t.clickHandler,onMouseDown:u?t.swipeStart:null,onMouseMove:t.state.dragging&&u?t.swipeMove:null,onMouseUp:u?t.swipeEnd:null,onMouseLeave:t.state.dragging&&u?t.swipeEnd:null,onTouchStart:u?t.swipeStart:null,onTouchMove:t.state.dragging&&u?t.swipeMove:null,onTouchEnd:u?t.touchEnd:null,onTouchCancel:t.state.dragging&&u?t.swipeEnd:null,onKeyDown:t.props.accessibility?t.keyHandler:null},u={className:i,dir:"ltr",style:t.props.style},t.props.unslick&&(s={className:"slick-list"},u={className:i}),o.a.createElement("div",u,t.props.unslick?"":n,o.a.createElement("div",ye({ref:t.listRefHandler},s),o.a.createElement(V,ye({ref:t.trackRefHandler},c),t.props.children)),t.props.unslick?"":r,t.props.unslick?"":e)})),t.list=null,t.track=null,t.state=ge(ge({},i),{},{currentSlide:t.props.initialSlide,slideCount:o.a.Children.count(t.props.children)}),t.callbackTimers=[],t.clickable=!0,t.debouncedResize=null,e=t.ssrInit(),t.state=ge(ge({},t.state),e),t}return e=r,(t=[{key:"didPropsChange",value:function(e){for(var t=!1,n=0,r=Object.keys(this.props);n<r.length;n++){var i=r[n];if(!e.hasOwnProperty(i)){t=!0;break}if("object"!==he(e[i])&&"function"!=typeof e[i]&&e[i]!==this.props[i]){t=!0;break}}return t||o.a.Children.count(this.props.children)!==o.a.Children.count(e.children)}}])&&me(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),r}(),Te=(r=n(2),n.n(r)),Ee={accessibility:!0,adaptiveHeight:!1,afterChange:null,appendDots:function(e){return o.a.createElement("ul",{style:{display:"block"}},e)},arrows:!0,autoplay:!1,autoplaySpeed:3e3,beforeChange:null,centerMode:!1,centerPadding:"50px",className:"",cssEase:"ease",customPaging:function(e){return o.a.createElement("button",null,e+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,infinite:!0,initialSlide:0,lazyLoad:null,nextArrow:null,onEdge:null,onInit:null,onLazyLoadError:null,onReInit:null,pauseOnDotsHover:!1,pauseOnFocus:!1,pauseOnHover:!0,prevArrow:null,responsive:null,rows:1,rtl:!1,slide:"div",slidesPerRow:1,slidesToScroll:1,slidesToShow:1,speed:500,swipe:!0,swipeEvent:null,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,waitForAnimate:!0};function Pe(e){return(Pe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _e(){return(_e=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n,r=arguments[t];for(n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function xe(e,t){var n,r=Object.keys(e);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(e),t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)),r}function Le(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?xe(Object(n),!0).forEach((function(t){We(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):xe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Me(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ce(e,t){return(Ce=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Re(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ze(e){return(ze=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function We(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var De=y()&&n(8);n=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Ce(e,t)}(r,o.a.Component);var e,t,n=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=ze(e);return function(e,t){if(t&&("object"===Pe(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Re(e)}(this,t?(n=ze(this).constructor,Reflect.construct(r,arguments,n)):r.apply(this,arguments))}}(r);function r(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r),We(Re(t=n.call(this,e)),"innerSliderRefHandler",(function(e){return t.innerSlider=e})),We(Re(t),"slickPrev",(function(){return t.innerSlider.slickPrev()})),We(Re(t),"slickNext",(function(){return t.innerSlider.slickNext()})),We(Re(t),"slickGoTo",(function(e){var n=1<arguments.length&&void 0!==arguments[1]&&arguments[1];return t.innerSlider.slickGoTo(e,n)})),We(Re(t),"slickPause",(function(){return t.innerSlider.pause("paused")})),We(Re(t),"slickPlay",(function(){return t.innerSlider.autoPlay("play")})),t.state={breakpoint:null},t._responsiveMediaHandlers=[],t}return e=r,(t=[{key:"media",value:function(e,t){De.register(e,t),this._responsiveMediaHandlers.push({query:e,handler:t})}},{key:"componentDidMount",value:function(){var e,t,n=this;this.props.responsive&&((e=this.props.responsive.map((function(e){return e.breakpoint}))).sort((function(e,t){return e-t})),e.forEach((function(t,r){r=0===r?Te()({minWidth:0,maxWidth:t}):Te()({minWidth:e[r-1]+1,maxWidth:t}),y()&&n.media(r,(function(){n.setState({breakpoint:t})}))})),t=Te()({minWidth:e.slice(-1)[0]}),y()&&this.media(t,(function(){n.setState({breakpoint:null})})))}},{key:"componentWillUnmount",value:function(){this._responsiveMediaHandlers.forEach((function(e){De.unregister(e.query,e.handler)}))}},{key:"render",value:function(){var e=this,t=this.state.breakpoint?"unslick"===(d=this.props.responsive.filter((function(t){return t.breakpoint===e.state.breakpoint})))[0].settings?"unslick":Le(Le(Le({},Ee),this.props),d[0].settings):Le(Le({},Ee),this.props);t.centerMode&&(t.slidesToScroll,t.slidesToScroll=1),t.fade&&(t.slidesToShow,t.slidesToScroll,t.slidesToShow=1,t.slidesToScroll=1);var n=(n=o.a.Children.toArray(this.props.children)).filter((function(e){return"string"==typeof e?!!e.trim():!!e}));t.variableWidth&&(1<t.rows||1<t.slidesPerRow)&&(console.warn("variableWidth is not supported in case of rows > 1 or slidesPerRow > 1"),t.variableWidth=!1);for(var r=[],i=null,s=0;s<n.length;s+=t.rows*t.slidesPerRow){for(var a=[],c=s;c<s+t.rows*t.slidesPerRow;c+=t.slidesPerRow){for(var l=[],u=c;u<c+t.slidesPerRow&&(t.variableWidth&&n[u].props.style&&(i=n[u].props.style.width),!(u>=n.length));u+=1)l.push(o.a.cloneElement(n[u],{key:100*s+10*c+u,tabIndex:-1,style:{width:"".concat(100/t.slidesPerRow,"%"),display:"inline-block"}}));a.push(o.a.createElement("div",{key:10*s+c},l))}t.variableWidth?r.push(o.a.createElement("div",{key:s,style:{width:i}},a)):r.push(o.a.createElement("div",{key:s},a))}if("unslick"!==t)return r.length<=t.slidesToShow&&(t.unslick=!0),o.a.createElement(je,_e({style:this.props.style,ref:this.innerSliderRefHandler},t),r);var d="regular slider "+(this.props.className||"");return o.a.createElement("div",{className:d},n)}}])&&Me(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),r}();t.default=n}],t.c=r,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:r})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(t.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var o in e)t.d(r,o,function(t){return e[t]}.bind(null,o));return r},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=12);function t(e){if(r[e])return r[e].exports;var o=r[e]={i:e,l:!1,exports:{}};return n[e].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n,r})); | ||
*/!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var i=typeof r;if("string"==i||"number"==i)e.push(r);else if(Array.isArray(r)&&r.length){var s=o.apply(null,r);s&&e.push(s)}else if("object"==i)for(var a in r)n.call(r,a)&&r[a]&&e.push(a)}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(r=function(){return o}.apply(t,[]))||(e.exports=r)}()},function(e,t,n){function r(e){var t="",n=Object.keys(e);return n.forEach((function(r,i){var s=e[r];r=o(r),/[height|width]$/.test(r)&&"number"==typeof s&&(s+="px"),t+=!0===s?r:!1===s?"not "+r:"("+r+": "+s+")",i<n.length-1&&(t+=" and ")})),t}var o=n(7);e.exports=function(e){var t="";return"string"==typeof e?e:e instanceof Array?(e.forEach((function(n,o){t+=r(n),o<e.length-1&&(t+=", ")})),t):r(e)}},function(e,t){var n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t){e.exports={isFunction:function(e){return"function"==typeof e},isArray:function(e){return"[object Array]"===Object.prototype.toString.apply(e)},each:function(e,t){for(var n=0,r=e.length;n<r&&!1!==t(e[n],n);n++);}}},function(e,t,n){(function(t){function n(){return l.Date.now()}var r=/^\s+|\s+$/g,o=/^[-+]0x[0-9a-f]+$/i,i=/^0b[01]+$/i,s=/^0o[0-7]+$/i,a=parseInt,c="object"==typeof t&&t&&t.Object===Object&&t,l=(t="object"==typeof self&&self&&self.Object===Object&&self,c||t||Function("return this")()),u=Object.prototype.toString,d=Math.max,p=Math.min;function f(e){var t=typeof e;return e&&("object"==t||"function"==t)}function h(e){if("number"==typeof e)return e;if("symbol"==typeof(t=e)||(n=t)&&"object"==typeof n&&"[object Symbol]"==u.call(t))return NaN;var t,n;if(f(e)&&(e=f(c="function"==typeof e.valueOf?e.valueOf():e)?c+"":c),"string"!=typeof e)return 0===e?e:+e;e=e.replace(r,"");var c=i.test(e);return c||s.test(e)?a(e.slice(2),c?2:8):o.test(e)?NaN:+e}e.exports=function(e,t,r){var o,i,s,a,c,l,u=0,y=!1,v=!1,b=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function g(t){var n=o,r=i;return o=i=void 0,u=t,a=e.apply(r,n)}function m(e){var n=e-l;return void 0===l||t<=n||n<0||v&&s<=e-u}function w(){var e,r=n();if(m(r))return S(r);c=setTimeout(w,(r=t-((e=r)-l),v?p(r,s-(e-u)):r))}function S(e){return c=void 0,b&&o?g(e):(o=i=void 0,a)}function O(){var e=n(),r=m(e);if(o=arguments,i=this,l=e,r){if(void 0===c)return u=r=l,c=setTimeout(w,t),y?g(r):a;if(v)return c=setTimeout(w,t),g(l)}return void 0===c&&(c=setTimeout(w,t)),a}return t=h(t)||0,f(r)&&(y=!!r.leading,s=(v="maxWait"in r)?d(h(r.maxWait)||0,t):s,b="trailing"in r?!!r.trailing:b),O.cancel=function(){void 0!==c&&clearTimeout(c),o=l=i=c=void(u=0)},O.flush=function(){return void 0===c?a:S(n())},O}}).call(this,n(3))},function(e,t,n){"use strict";(function(e){var n="undefined"!=typeof Map?Map:(Object.defineProperty(o.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),o.prototype.get=function(e){return e=r(this.__entries__,e),(e=this.__entries__[e])&&e[1]},o.prototype.set=function(e,t){var n=r(this.__entries__,e);~n?this.__entries__[n][1]=t:this.__entries__.push([e,t])},o.prototype.delete=function(e){var t=this.__entries__;~(e=r(t,e))&&t.splice(e,1)},o.prototype.has=function(e){return!!~r(this.__entries__,e)},o.prototype.clear=function(){this.__entries__.splice(0)},o.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,r=this.__entries__;n<r.length;n++){var o=r[n];e.call(t,o[1],o[0])}},o);function r(e,t){var n=-1;return e.some((function(e,r){return e[0]===t&&(n=r,!0)})),n}function o(){this.__entries__=[]}var i="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,s=void 0!==e&&e.Math===Math?e:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),a="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(s):function(e){return setTimeout((function(){return e(Date.now())}),1e3/60)},c=["top","right","bottom","left","width","height","size","weight"],l="undefined"!=typeof MutationObserver,u=(d.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},d.prototype.removeObserver=function(e){var t=this.observers_;~(e=t.indexOf(e))&&t.splice(e,1),!t.length&&this.connected_&&this.disconnect_()},d.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},d.prototype.updateObservers_=function(){var e=this.observers_.filter((function(e){return e.gatherActive(),e.hasActive()}));return e.forEach((function(e){return e.broadcastActive()})),0<e.length},d.prototype.connect_=function(){i&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),l?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},d.prototype.disconnect_=function(){i&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},d.prototype.onTransitionEnd_=function(e){var t=void 0===(e=e.propertyName)?"":e;c.some((function(e){return!!~t.indexOf(e)}))&&this.refresh()},d.getInstance=function(){return this.instance_||(this.instance_=new d),this.instance_},d.instance_=null,d);function d(){function e(){i&&(i=!1,r()),s&&n()}function t(){a(e)}function n(){var e=Date.now();if(i){if(e-c<2)return;s=!0}else s=!(i=!0),setTimeout(t,o);c=e}var r,o,i,s,c;this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=(r=this.refresh.bind(this),s=i=!(o=20),c=0,n)}var p=function(e,t){for(var n=0,r=Object.keys(t);n<r.length;n++){var o=r[n];Object.defineProperty(e,o,{value:t[o],enumerable:!1,writable:!1,configurable:!0})}return e},f=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||s},h=m(0,0,0,0);function y(e){return parseFloat(e)||0}function v(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce((function(t,n){return t+y(e["border-"+n+"-width"])}),0)}var b="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof f(e).SVGGraphicsElement}:function(e){return e instanceof f(e).SVGElement&&"function"==typeof e.getBBox};function g(e){return i?b(e)?m(0,0,(t=(t=e).getBBox()).width,t.height):function(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return h;var r=f(e).getComputedStyle(e),o=function(e){for(var t={},n=0,r=["top","right","bottom","left"];n<r.length;n++){var o=r[n],i=e["padding-"+o];t[o]=y(i)}return t}(r),i=o.left+o.right,s=o.top+o.bottom,a=y(r.width),c=y(r.height);return"border-box"===r.boxSizing&&(Math.round(a+i)!==t&&(a-=v(r,"left","right")+i),Math.round(c+s)!==n&&(c-=v(r,"top","bottom")+s)),(e=e)!==f(e).document.documentElement&&(t=Math.round(a+i)-t,n=Math.round(c+s)-n,1!==Math.abs(t)&&(a-=t),1!==Math.abs(n)&&(c-=n)),m(o.left,o.top,a,c)}(e):h;var t}function m(e,t,n,r){return{x:e,y:t,width:n,height:r}}var w=(S.prototype.isActive=function(){var e=g(this.target);return(this.contentRect_=e).width!==this.broadcastWidth||e.height!==this.broadcastHeight},S.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},S);function S(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=m(0,0,0,0),this.target=e}var O=function(e,t){var n,r,o,i=(n=(i=t).x,r=i.y,o=i.width,t=i.height,i="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,i=Object.create(i.prototype),p(i,{x:n,y:r,width:o,height:t,top:r,right:n+o,bottom:t+r,left:n}),i);p(this,{target:e,contentRect:i})},k=(j.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof f(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new w(e)),this.controller_.addObserver(this),this.controller_.refresh())}},j.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof f(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},j.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},j.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach((function(t){t.isActive()&&e.activeObservations_.push(t)}))},j.prototype.broadcastActive=function(){var e,t;this.hasActive()&&(e=this.callbackCtx_,t=this.activeObservations_.map((function(e){return new O(e.target,e.broadcastRect())})),this.callback_.call(e,t,e),this.clearActive())},j.prototype.clearActive=function(){this.activeObservations_.splice(0)},j.prototype.hasActive=function(){return 0<this.activeObservations_.length},j);function j(e,t,r){if(this.activeObservations_=[],this.observations_=new n,"function"!=typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=r}var T=new("undefined"!=typeof WeakMap?WeakMap:n),E=function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=u.getInstance();n=new k(t,n,this);T.set(this,n)};["observe","unobserve","disconnect"].forEach((function(e){E.prototype[e]=function(){var t;return(t=T.get(this))[e].apply(t,arguments)}})),e=void 0!==s.ResizeObserver?s.ResizeObserver:E,t.a=e}).call(this,n(3))},function(e,t){e.exports=function(e){return e.replace(/[A-Z]/g,(function(e){return"-"+e.toLowerCase()})).toLowerCase()}},function(e,t,n){n=n(9),e.exports=new n},function(e,t,n){var r=n(10),o=(n=n(4)).each,i=n.isFunction,s=n.isArray;function a(){if(!window.matchMedia)throw new Error("matchMedia not present, legacy browsers require a polyfill");this.queries={},this.browserIsIncapable=!window.matchMedia("only all").matches}a.prototype={constructor:a,register:function(e,t,n){var a=this.queries;n=n&&this.browserIsIncapable;return a[e]||(a[e]=new r(e,n)),i(t)&&(t={match:t}),s(t)||(t=[t]),o(t,(function(t){i(t)&&(t={match:t}),a[e].addHandler(t)})),this},unregister:function(e,t){var n=this.queries[e];return n&&(t?n.removeHandler(t):(n.clear(),delete this.queries[e])),this}},e.exports=a},function(e,t,n){var r=n(11),o=n(4).each;function i(e,t){this.query=e,this.isUnconditional=t,this.handlers=[],this.mql=window.matchMedia(e);var n=this;this.listener=function(e){n.mql=e.currentTarget||e,n.assess()},this.mql.addListener(this.listener)}i.prototype={constuctor:i,addHandler:function(e){e=new r(e),this.handlers.push(e),this.matches()&&e.on()},removeHandler:function(e){var t=this.handlers;o(t,(function(n,r){if(n.equals(e))return n.destroy(),!t.splice(r,1)}))},matches:function(){return this.mql.matches||this.isUnconditional},clear:function(){o(this.handlers,(function(e){e.destroy()})),this.mql.removeListener(this.listener),this.handlers.length=0},assess:function(){var e=this.matches()?"on":"off";o(this.handlers,(function(t){t[e]()}))}},e.exports=i},function(e,t){function n(e){(this.options=e).deferSetup||this.setup()}n.prototype={constructor:n,setup:function(){this.options.setup&&this.options.setup(),this.initialised=!0},on:function(){this.initialised||this.setup(),this.options.match&&this.options.match()},off:function(){this.options.unmatch&&this.options.unmatch()},destroy:function(){this.options.destroy?this.options.destroy():this.off()},equals:function(e){return this.options===e||this.options.match===e}},e.exports=n},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r),i={animating:!1,autoplaying:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,dragging:!1,edgeDragged:!1,initialized:!1,lazyLoadedList:[],listHeight:null,listWidth:null,scrolling:!1,slideCount:null,slideHeight:null,slideWidth:null,swipeLeft:null,swiped:!1,swiping:!1,touchObject:{startX:0,startY:0,curX:0,curY:0},trackStyle:{},trackWidth:0,targetSlide:0},s=(r=n(5),n.n(r)),a=(r=n(1),n.n(r));function c(e,t){var n,r=Object.keys(e);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(e),t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)),r}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){var r,o;r=e,t=n[o=t],o in r?Object.defineProperty(r,o,{value:t,enumerable:!0,configurable:!0,writable:!0}):r[o]=t})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function u(e,t,n){return Math.max(t,Math.min(e,n))}function d(e){["onTouchStart","onTouchMove","onWheel"].includes(e._reactName)||e.preventDefault()}function p(e){return e&&e.offsetWidth||0}function f(e,t){var n=1<arguments.length&&void 0!==t&&t;t=e.startX-e.curX,e=e.startY-e.curY,t=Math.atan2(e,t);return(t=Math.round(180*t/Math.PI))<0&&(t=360-Math.abs(t)),t<=45&&0<=t||t<=360&&315<=t?"left":135<=t&&t<=225?"right":!0===n?35<=t&&t<=135?"up":"down":"vertical"}function h(e,t){return t.reduce((function(t,n){return t&&e.hasOwnProperty(n)}),!0)?null:console.error("Keys Missing:",e)}function y(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}var v=function(e){for(var t=[],n=b(e),r=g(e),o=n;o<r;o++)e.lazyLoadedList.indexOf(o)<0&&t.push(o);return t},b=function(e){return e.currentSlide-m(e)},g=function(e){return e.currentSlide+w(e)},m=function(e){return e.centerMode?Math.floor(e.slidesToShow/2)+(0<parseInt(e.centerPadding)?1:0):0},w=function(e){return e.centerMode?Math.floor((e.slidesToShow-1)/2)+1+(0<parseInt(e.centerPadding)?1:0):e.slidesToShow},S=function(e){return e&&e.offsetHeight||0},O=function(e){var t=!0;return e.infinite||(e.centerMode&&e.currentSlide>=e.slideCount-1||e.slideCount<=e.slidesToShow||e.currentSlide>=e.slideCount-e.slidesToShow)&&(t=!1),t},k=function(e,t){var n={};return t.forEach((function(t){return n[t]=e[t]})),n},j=function(e){var t=e.waitForAnimate,n=e.animating,r=e.fade,o=e.infinite,i=e.index,s=e.slideCount,a=e.lazyLoad,c=e.currentSlide,d=e.centerMode,p=e.slidesToScroll,f=e.slidesToShow,h=e.useCSS,y=e.lazyLoadedList;if(t&&n)return{};var b=i,g={};t={},n=o?i:u(i,0,s-1);if(r){if(!o&&(i<0||s<=i))return{};i<0?b=i+s:s<=i&&(b=i-s),a&&y.indexOf(b)<0&&(y=y.concat(b)),t={animating:!(g={animating:!0,currentSlide:b,lazyLoadedList:y,targetSlide:b}),targetSlide:b}}else(i=b)<0?(i=b+s,o?s%p!=0&&(i=s-s%p):i=0):!O(e)&&c<b?b=i=c:d&&s<=b?(b=o?s:s-1,i=o?0:s-1):s<=b&&(i=b-s,o?s%p!=0&&(i=0):i=s-f),!o&&s<=b+f&&(i=s-f),s=L(l(l({},e),{},{slideIndex:b})),f=L(l(l({},e),{},{slideIndex:i})),o||(s===f&&(b=i),s=f),a&&(y=y.concat(v(l(l({},e),{},{currentSlide:b})))),h?t={animating:!(g={animating:!0,currentSlide:i,trackStyle:x(l(l({},e),{},{left:s})),lazyLoadedList:y,targetSlide:n}),currentSlide:i,trackStyle:_(l(l({},e),{},{left:f})),swipeLeft:null,targetSlide:n}:g={currentSlide:i,trackStyle:_(l(l({},e),{},{left:f})),lazyLoadedList:y,targetSlide:n};return{state:g,nextState:t}},T=function(e,t){var n,r,o=e.slidesToScroll,i=e.slidesToShow,s=e.slideCount,a=e.currentSlide,c=e.targetSlide,u=e.lazyLoad,d=e.infinite,p=s%o!=0?0:(s-a)%o;return"previous"===t.message?(r=a-(n=0==p?o:i-p),u&&!d&&(r=-1==(i=a-n)?s-1:i),d||(r=c-o)):"next"===t.message?(r=a+(n=0==p?o:p),u&&!d&&(r=(a+o)%s+p),d||(r=c+o)):"dots"===t.message?r=t.index*t.slidesToScroll:"children"===t.message?(r=t.index,d&&(e=z(l(l({},e),{},{targetSlide:r})),r>t.currentSlide&&"left"===e?r-=s:r<t.currentSlide&&"right"===e&&(r+=s))):"index"===t.message&&(r=Number(t.index)),r},E=function(e,t){var n=function(e){for(var t=e.infinite?2*e.slideCount:e.slideCount,n=e.infinite?-1*e.slidesToShow:0,r=e.infinite?-1*e.slidesToShow:0,o=[];n<t;)o.push(n),n=r+e.slidesToScroll,r+=Math.min(e.slidesToScroll,e.slidesToShow);return o}(e),r=0;if(t>n[n.length-1])t=n[n.length-1];else for(var o in n){if(t<n[o]){t=r;break}r=n[o]}return t},P=function(e){var t=e.centerMode?e.slideWidth*Math.floor(e.slidesToShow/2):0;if(e.swipeToSlide){var n,r=(r=e.listRef).querySelectorAll&&r.querySelectorAll(".slick-slide")||[];return Array.from(r).every((function(r){if(e.vertical){if(r.offsetTop+S(r)/2>-1*e.swipeLeft)return n=r,!1}else if(r.offsetLeft-t+p(r)/2>-1*e.swipeLeft)return n=r,!1;return!0})),n?(r=!0===e.rtl?e.slideCount-e.currentSlide:e.currentSlide,Math.abs(n.dataset.index-r)||1):0}return e.slidesToScroll},_=function(e){var t,n;h(e,["left","variableWidth","slideCount","slidesToShow","slideWidth"]);var r=e.slideCount+2*e.slidesToShow;e.vertical?n=r*e.slideHeight:t=R(e)*e.slideWidth;var o,i,s={opacity:1,transition:"",WebkitTransition:""};return e.useTransform?(o=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",i=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",r=e.vertical?"translateY("+e.left+"px)":"translateX("+e.left+"px)",s=l(l({},s),{},{WebkitTransform:o,transform:i,msTransform:r})):e.vertical?s.top=e.left:s.left=e.left,e.fade&&(s={opacity:1}),t&&(s.width=t),n&&(s.height=n),window&&!window.addEventListener&&window.attachEvent&&(e.vertical?s.marginTop=e.left+"px":s.marginLeft=e.left+"px"),s},x=function(e){h(e,["left","variableWidth","slideCount","slidesToShow","slideWidth","speed","cssEase"]);var t=_(e);return e.useTransform?(t.WebkitTransition="-webkit-transform "+e.speed+"ms "+e.cssEase,t.transition="transform "+e.speed+"ms "+e.cssEase):e.vertical?t.transition="top "+e.speed+"ms "+e.cssEase:t.transition="left "+e.speed+"ms "+e.cssEase,t},L=function(e){if(e.unslick)return 0;h(e,["slideIndex","trackRef","infinite","centerMode","slideCount","slidesToShow","slidesToScroll","slideWidth","listWidth","variableWidth","slideHeight"]);var t=e.slideIndex,n=e.trackRef,r=e.infinite,o=e.centerMode,i=e.slideCount,s=e.slidesToShow,a=e.slidesToScroll,c=e.slideWidth,l=e.listWidth,u=e.variableWidth,d=e.slideHeight,p=e.fade,f=e.vertical;if(p||1===e.slideCount)return 0;if(p=0,r?(p=-M(e),i%a!=0&&i<t+a&&(p=-(i<t?s-(t-i):i%a)),o&&(p+=parseInt(s/2))):(i%a!=0&&i<t+a&&(p=s-i%a),o&&(p=parseInt(s/2))),b=f?t*d*-1+p*d:t*c*-1+p*c,!0===u){var y=n&&n.node,v=t+M(e),b=(n=y&&y.childNodes[v])?-1*n.offsetLeft:0;if(!0===o){v=r?t+M(e):t,n=y&&y.children[v];for(var g=b=0;g<v;g++)b-=y&&y.children[g]&&y.children[g].offsetWidth;b-=parseInt(e.centerPadding),b+=n&&(l-n.offsetWidth)/2}}return b},M=function(e){return e.unslick||!e.infinite?0:e.variableWidth?e.slideCount:e.slidesToShow+(e.centerMode?1:0)},C=function(e){return e.unslick||!e.infinite?0:e.slideCount},R=function(e){return 1===e.slideCount?1:M(e)+e.slideCount+C(e)},z=function(e){return e.targetSlide>e.currentSlide?e.targetSlide>e.currentSlide+W(e)?"left":"right":e.targetSlide<e.currentSlide-D(e)?"right":"left"},W=function(e){var t=e.slidesToShow,n=e.centerMode,r=e.rtl;e=e.centerPadding;return n?(n=(t-1)/2+1,0<parseInt(e)&&(n+=1),r&&t%2==0&&(n+=1),n):r?0:t-1},D=function(e){var t=e.slidesToShow,n=e.centerMode,r=e.rtl;e=e.centerPadding;return n?(n=(t-1)/2+1,0<parseInt(e)&&(n+=1),r||t%2!=0||(n+=1),n):r?t-1:0};function H(e){return(H="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function A(){return(A=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n,r=arguments[t];for(n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function I(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function N(e,t){return(N=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function q(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function B(e){return(B=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function F(e,t){var n,r=Object.keys(e);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(e),t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)),r}function X(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?F(Object(n),!0).forEach((function(t){Y(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):F(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Y(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function G(e){var t,n,r,o=e.rtl?e.slideCount-1-e.index:e.index,i=o<0||o>=e.slideCount;return e.centerMode?(r=Math.floor(e.slidesToShow/2),n=(o-e.currentSlide)%e.slideCount==0,o>e.currentSlide-r-1&&o<=e.currentSlide+r&&(t=!0)):t=e.currentSlide<=o&&o<e.currentSlide+e.slidesToShow,{"slick-slide":!0,"slick-active":t,"slick-center":n,"slick-cloned":i,"slick-current":o===(e.targetSlide<0?e.targetSlide+e.slideCount:e.targetSlide>=e.slideCount?e.targetSlide-e.slideCount:e.targetSlide)}}function U(e,t){return e.key||t}var V=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&N(e,t)}(r,o.a.PureComponent);var e,t,n=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=B(e);return function(e,t){if(t&&("object"===H(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return q(e)}(this,t?(n=B(this).constructor,Reflect.construct(r,arguments,n)):r.apply(this,arguments))}}(r);function r(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r);for(var t=arguments.length,o=new Array(t),i=0;i<t;i++)o[i]=arguments[i];return Y(q(e=n.call.apply(n,[this].concat(o))),"node",null),Y(q(e),"handleRef",(function(t){e.node=t})),e}return e=r,(t=[{key:"render",value:function(){var e=function(e){var t,n=[],r=[],i=[],s=o.a.Children.count(e.children),c=b(e),l=g(e);return o.a.Children.forEach(e.children,(function(u,d){var p,f={message:"children",index:d,slidesToScroll:e.slidesToScroll,currentSlide:e.currentSlide},h=!e.lazyLoad||e.lazyLoad&&0<=e.lazyLoadedList.indexOf(d)?u:o.a.createElement("div",null),y=(p={},void 0!==(b=X(X({},e),{},{index:d})).variableWidth&&!1!==b.variableWidth||(p.width=b.slideWidth),b.fade&&(p.position="relative",b.vertical?p.top=-b.index*parseInt(b.slideHeight):p.left=-b.index*parseInt(b.slideWidth),p.opacity=b.currentSlide===b.index?1:0,b.useCSS&&(p.transition="opacity "+b.speed+"ms "+b.cssEase+", visibility "+b.speed+"ms "+b.cssEase)),p),v=h.props.className||"",b=G(X(X({},e),{},{index:d}));n.push(o.a.cloneElement(h,{key:"original"+U(h,d),"data-index":d,className:a()(b,v),tabIndex:"-1","aria-hidden":!b["slick-active"],style:X(X({outline:"none"},h.props.style||{}),y),onClick:function(t){h.props&&h.props.onClick&&h.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(f)}})),e.infinite&&!1===e.fade&&((p=s-d)<=M(e)&&(c<=(t=-p)&&(h=u),b=G(X(X({},e),{},{index:t})),r.push(o.a.cloneElement(h,{key:"precloned"+U(h,t),"data-index":t,tabIndex:"-1",className:a()(b,v),"aria-hidden":!b["slick-active"],style:X(X({},h.props.style||{}),y),onClick:function(t){h.props&&h.props.onClick&&h.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(f)}}))),(t=s+d)<l&&(h=u),b=G(X(X({},e),{},{index:t})),i.push(o.a.cloneElement(h,{key:"postcloned"+U(h,t),"data-index":t,tabIndex:"-1",className:a()(b,v),"aria-hidden":!b["slick-active"],style:X(X({},h.props.style||{}),y),onClick:function(t){h.props&&h.props.onClick&&h.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(f)}})))})),e.rtl?r.concat(n,i).reverse():r.concat(n,i)}(this.props),t={onMouseEnter:(t=this.props).onMouseEnter,onMouseOver:t.onMouseOver,onMouseLeave:t.onMouseLeave};return o.a.createElement("div",A({ref:this.handleRef,className:"slick-track",style:this.props.trackStyle},t),e)}}])&&I(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),r}();function $(e){return($="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function K(e,t){var n,r=Object.keys(e);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(e),t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)),r}function Z(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function J(e,t){return(J=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Q(e){return(Q=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var ee=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&J(e,t)}(r,o.a.PureComponent);var e,t,n=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Q(e);return function(e,t){if(t&&("object"===$(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e)}(this,t?(n=Q(this).constructor,Reflect.construct(r,arguments,n)):r.apply(this,arguments))}}(r);function r(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r),n.apply(this,arguments)}return e=r,(t=[{key:"clickHandler",value:function(e,t){t.preventDefault(),this.props.clickHandler(e)}},{key:"render",value:function(){for(var e=this.props,t=e.onMouseEnter,n=e.onMouseOver,r=e.onMouseLeave,i=e.infinite,s=e.slidesToScroll,c=e.slidesToShow,l=e.slideCount,d=e.currentSlide,p=function(e){return e=e.infinite?Math.ceil(e.slideCount/e.slidesToScroll):Math.ceil((e.slideCount-e.slidesToShow)/e.slidesToScroll)+1}({slideCount:l,slidesToScroll:s,slidesToShow:c,infinite:i}),f=(r={onMouseEnter:t,onMouseOver:n,onMouseLeave:r},[]),h=0;h<p;h++){var y=(h+1)*s-1,v=(y=(v=i?y:u(y,0,l-1))-(s-1),y=i?y:u(y,0,l-1),a()({"slick-active":i?y<=d&&d<=v:d===y}));y={message:"dots",index:h,slidesToScroll:s,currentSlide:d},y=this.clickHandler.bind(this,y),f=f.concat(o.a.createElement("li",{key:h,className:v},o.a.cloneElement(this.props.customPaging(h),{onClick:y})))}return o.a.cloneElement(this.props.appendDots(f),function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?K(Object(n),!0).forEach((function(t){var r,o;r=e,t=n[o=t],o in r?Object.defineProperty(r,o,{value:t,enumerable:!0,configurable:!0,writable:!0}):r[o]=t})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):K(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({className:this.props.dotsClass},r))}}])&&Z(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),r}();function te(e){return(te="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ne(){return(ne=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n,r=arguments[t];for(n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function re(e,t){var n,r=Object.keys(e);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(e),t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)),r}function oe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?re(Object(n),!0).forEach((function(t){var r,o;r=e,t=n[o=t],o in r?Object.defineProperty(r,o,{value:t,enumerable:!0,configurable:!0,writable:!0}):r[o]=t})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):re(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function se(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ae(e,t,n){return t&&se(e.prototype,t),n&&se(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function ce(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&function(e,t){(Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}(e,t)}function le(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=ue(e);return function(e,t){if(t&&("object"===te(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e)}(this,t?(n=ue(this).constructor,Reflect.construct(r,arguments,n)):r.apply(this,arguments))}}function ue(e){return(ue=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var de=function(){ce(t,o.a.PureComponent);var e=le(t);function t(){return ie(this,t),e.apply(this,arguments)}return ae(t,[{key:"clickHandler",value:function(e,t){t&&t.preventDefault(),this.props.clickHandler(e,t)}},{key:"render",value:function(){var e={"slick-arrow":!0,"slick-prev":!0},t=this.clickHandler.bind(this,{message:"previous"});return!this.props.infinite&&(0===this.props.currentSlide||this.props.slideCount<=this.props.slidesToShow)&&(e["slick-disabled"]=!0,t=null),e={key:"0","data-role":"none",className:a()(e),style:{display:"block"},onClick:t},t={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount},e=this.props.prevArrow?o.a.cloneElement(this.props.prevArrow,oe(oe({},e),t)):o.a.createElement("button",ne({key:"0",type:"button"},e)," ","Previous")}}]),t}(),pe=function(){ce(t,o.a.PureComponent);var e=le(t);function t(){return ie(this,t),e.apply(this,arguments)}return ae(t,[{key:"clickHandler",value:function(e,t){t&&t.preventDefault(),this.props.clickHandler(e,t)}},{key:"render",value:function(){var e={"slick-arrow":!0,"slick-next":!0},t=this.clickHandler.bind(this,{message:"next"});return O(this.props)||(e["slick-disabled"]=!0,t=null),e={key:"1","data-role":"none",className:a()(e),style:{display:"block"},onClick:t},t={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount},e=this.props.nextArrow?o.a.cloneElement(this.props.nextArrow,oe(oe({},e),t)):o.a.createElement("button",ne({key:"1",type:"button"},e)," ","Next")}}]),t}(),fe=n(6);function he(e){return(he="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ye(){return(ye=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n,r=arguments[t];for(n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function ve(e,t){if(null==e)return{};var n,r=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],0<=t.indexOf(n)||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols)for(var o=Object.getOwnPropertySymbols(e),i=0;i<o.length;i++)n=o[i],0<=t.indexOf(n)||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n]);return r}function be(e,t){var n,r=Object.keys(e);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(e),t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)),r}function ge(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?be(Object(n),!0).forEach((function(t){ke(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):be(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function me(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function we(e,t){return(we=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Se(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Oe(e){return(Oe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ke(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var je=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&we(e,t)}(r,o.a.Component);var e,t,n=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Oe(e);return function(e,t){if(t&&("object"===he(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Se(e)}(this,t?(n=Oe(this).constructor,Reflect.construct(r,arguments,n)):r.apply(this,arguments))}}(r);function r(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r),ke(Se(t=n.call(this,e)),"listRefHandler",(function(e){return t.list=e})),ke(Se(t),"trackRefHandler",(function(e){return t.track=e})),ke(Se(t),"adaptHeight",(function(){var e;t.props.adaptiveHeight&&t.list&&(e=t.list.querySelector('[data-index="'.concat(t.state.currentSlide,'"]')),t.list.style.height=S(e)+"px")})),ke(Se(t),"componentDidMount",(function(){var e;t.props.onInit&&t.props.onInit(),!t.props.lazyLoad||0<(e=v(ge(ge({},t.props),t.state))).length&&(t.setState((function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}})),t.props.onLazyLoad&&t.props.onLazyLoad(e));var n=ge({listRef:t.list,trackRef:t.track},t.props);t.updateState(n,!0,(function(){t.adaptHeight(),t.props.autoplay&&t.autoPlay("update")})),"progressive"===t.props.lazyLoad&&(t.lazyLoadTimer=setInterval(t.progressiveLazyLoad,1e3)),t.ro=new fe.a((function(){t.state.animating?(t.onWindowResized(!1),t.callbackTimers.push(setTimeout((function(){return t.onWindowResized()}),t.props.speed))):t.onWindowResized()})),t.ro.observe(t.list),document.querySelectorAll&&Array.prototype.forEach.call(document.querySelectorAll(".slick-slide"),(function(e){e.onfocus=t.props.pauseOnFocus?t.onSlideFocus:null,e.onblur=t.props.pauseOnFocus?t.onSlideBlur:null})),window.addEventListener?window.addEventListener("resize",t.onWindowResized):window.attachEvent("onresize",t.onWindowResized)})),ke(Se(t),"componentWillUnmount",(function(){t.animationEndCallback&&clearTimeout(t.animationEndCallback),t.lazyLoadTimer&&clearInterval(t.lazyLoadTimer),t.callbackTimers.length&&(t.callbackTimers.forEach((function(e){return clearTimeout(e)})),t.callbackTimers=[]),window.addEventListener?window.removeEventListener("resize",t.onWindowResized):window.detachEvent("onresize",t.onWindowResized),t.autoplayTimer&&clearInterval(t.autoplayTimer),t.ro.disconnect()})),ke(Se(t),"componentDidUpdate",(function(e){var n;t.checkImagesLoad(),t.props.onReInit&&t.props.onReInit(),!t.props.lazyLoad||0<(n=v(ge(ge({},t.props),t.state))).length&&(t.setState((function(e){return{lazyLoadedList:e.lazyLoadedList.concat(n)}})),t.props.onLazyLoad&&t.props.onLazyLoad(n)),t.adaptHeight();var r=ge(ge({listRef:t.list,trackRef:t.track},t.props),t.state);(e=t.didPropsChange(e))&&t.updateState(r,e,(function(){t.state.currentSlide>=o.a.Children.count(t.props.children)&&t.changeSlide({message:"index",index:o.a.Children.count(t.props.children)-t.props.slidesToShow,currentSlide:t.state.currentSlide}),t.props.autoplay?t.autoPlay("update"):t.pause("paused")}))})),ke(Se(t),"onWindowResized",(function(e){t.debouncedResize&&t.debouncedResize.cancel(),t.debouncedResize=s()((function(){return t.resizeWindow(e)}),50),t.debouncedResize()})),ke(Se(t),"resizeWindow",(function(){var e,n=!(0<arguments.length&&void 0!==arguments[0])||arguments[0];Boolean(t.track&&t.track.node)&&(e=ge(ge({listRef:t.list,trackRef:t.track},t.props),t.state),t.updateState(e,n,(function(){t.props.autoplay?t.autoPlay("update"):t.pause("paused")})),t.setState({animating:!1}),clearTimeout(t.animationEndCallback),delete t.animationEndCallback)})),ke(Se(t),"updateState",(function(e,n,r){var i=function(e){var t=o.a.Children.count(e.children),n=e.listRef,r=Math.ceil(p(n)),i=e.trackRef&&e.trackRef.node,s=Math.ceil(p(i)),a=e.vertical?r:(d=e.centerMode&&2*parseInt(e.centerPadding),"string"==typeof e.centerPadding&&"%"===e.centerPadding.slice(-1)&&(d*=r/100),Math.ceil((r-d)/e.slidesToShow)),c=n&&S(n.querySelector('[data-index="0"]')),u=c*e.slidesToShow;i=void 0===e.currentSlide?e.initialSlide:e.currentSlide;e.rtl&&void 0===e.currentSlide&&(i=t-1-e.initialSlide);var d=e.lazyLoadedList||[];n=v(l(l({},e),{},{currentSlide:i,lazyLoadedList:d})),d={slideCount:t,slideWidth:a,listWidth:r,trackWidth:s,currentSlide:i,slideHeight:c,listHeight:u,lazyLoadedList:d=d.concat(n)};return null===e.autoplaying&&e.autoplay&&(d.autoplaying="playing"),d}(e);e=ge(ge(ge({},e),i),{},{slideIndex:i.currentSlide});var s=L(e);e=ge(ge({},e),{},{left:s}),s=_(e),!n&&o.a.Children.count(t.props.children)===o.a.Children.count(e.children)||(i.trackStyle=s),t.setState(i,r)})),ke(Se(t),"ssrInit",(function(){if(t.props.variableWidth){var e=0,n=0,r=[],i=M(ge(ge(ge({},t.props),t.state),{},{slideCount:t.props.children.length})),s=C(ge(ge(ge({},t.props),t.state),{},{slideCount:t.props.children.length}));t.props.children.forEach((function(t){r.push(t.props.style.width),e+=t.props.style.width}));for(var a=0;a<i;a++)n+=r[r.length-1-a],e+=r[r.length-1-a];for(var c=0;c<s;c++)e+=r[c];for(var l=0;l<t.state.currentSlide;l++)n+=r[l];var u={width:e+"px",left:-n+"px"};return t.props.centerMode&&(p="".concat(r[t.state.currentSlide],"px"),u.left="calc(".concat(u.left," + (100% - ").concat(p,") / 2 ) ")),{trackStyle:u}}var d=o.a.Children.count(t.props.children),p=ge(ge(ge({},t.props),t.state),{},{slideCount:d});u=M(p)+C(p)+d,d=100/t.props.slidesToShow*u,p=-(u=100/u)*(M(p)+t.state.currentSlide)*d/100;return t.props.centerMode&&(p+=(100-u*d/100)/2),{slideWidth:u+"%",trackStyle:{width:d+"%",left:p+"%"}}})),ke(Se(t),"checkImagesLoad",(function(){var e=t.list&&t.list.querySelectorAll&&t.list.querySelectorAll(".slick-slide img")||[],n=e.length,r=0;Array.prototype.forEach.call(e,(function(e){function o(){return++r&&n<=r&&t.onWindowResized()}var i;e.onclick?(i=e.onclick,e.onclick=function(t){i(t),e.parentNode.focus()}):e.onclick=function(){return e.parentNode.focus()},e.onload||(t.props.lazyLoad?e.onload=function(){t.adaptHeight(),t.callbackTimers.push(setTimeout(t.onWindowResized,t.props.speed))}:(e.onload=o,e.onerror=function(){o(),t.props.onLazyLoadError&&t.props.onLazyLoadError()}))}))})),ke(Se(t),"progressiveLazyLoad",(function(){for(var e=[],n=ge(ge({},t.props),t.state),r=t.state.currentSlide;r<t.state.slideCount+C(n);r++)if(t.state.lazyLoadedList.indexOf(r)<0){e.push(r);break}for(var o=t.state.currentSlide-1;o>=-M(n);o--)if(t.state.lazyLoadedList.indexOf(o)<0){e.push(o);break}0<e.length?(t.setState((function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}})),t.props.onLazyLoad&&t.props.onLazyLoad(e)):t.lazyLoadTimer&&(clearInterval(t.lazyLoadTimer),delete t.lazyLoadTimer)})),ke(Se(t),"slideHandler",(function(e){var n=1<arguments.length&&void 0!==arguments[1]&&arguments[1],r=(c=t.props).asNavFor,o=c.beforeChange,i=c.onLazyLoad,s=c.speed,a=c.afterChange,c=t.state.currentSlide,l=(n=j(ge(ge(ge({index:e},t.props),t.state),{},{trackRef:t.track,useCSS:t.props.useCSS&&!n}))).state,u=n.nextState;l&&(o&&o(c,l.currentSlide),o=l.lazyLoadedList.filter((function(e){return t.state.lazyLoadedList.indexOf(e)<0})),i&&0<o.length&&i(o),!t.props.waitForAnimate&&t.animationEndCallback&&(clearTimeout(t.animationEndCallback),a&&a(c),delete t.animationEndCallback),t.setState(l,(function(){r&&t.asNavForIndex!==e&&(t.asNavForIndex=e,r.innerSlider.slideHandler(e)),u&&(t.animationEndCallback=setTimeout((function(){var e=u.animating,n=ve(u,["animating"]);t.setState(n,(function(){t.callbackTimers.push(setTimeout((function(){return t.setState({animating:e})}),10)),a&&a(l.currentSlide),delete t.animationEndCallback}))}),s))})))})),ke(Se(t),"changeSlide",(function(e){var n=1<arguments.length&&void 0!==arguments[1]&&arguments[1],r=ge(ge({},t.props),t.state);0!==(e=T(r,e))&&!e||(!0===n?t.slideHandler(e,n):t.slideHandler(e),t.props.autoplay&&t.autoPlay("update"),!t.props.focusOnSelect||(e=t.list.querySelectorAll(".slick-current"))[0]&&e[0].focus())})),ke(Se(t),"clickHandler",(function(e){!1===t.clickable&&(e.stopPropagation(),e.preventDefault()),t.clickable=!0})),ke(Se(t),"keyHandler",(function(e){""!==(e=function(e,t,n){return e.target.tagName.match("TEXTAREA|INPUT|SELECT")||!t?"":37===e.keyCode?n?"next":"previous":39===e.keyCode?n?"previous":"next":""}(e,t.props.accessibility,t.props.rtl))&&t.changeSlide({message:e})})),ke(Se(t),"selectHandler",(function(e){t.changeSlide(e)})),ke(Se(t),"disableBodyScroll",(function(){window.ontouchmove=function(e){(e=e||window.event).preventDefault&&e.preventDefault(),e.returnValue=!1}})),ke(Se(t),"enableBodyScroll",(function(){window.ontouchmove=null})),ke(Se(t),"swipeStart",(function(e){t.props.verticalSwiping&&t.disableBodyScroll(),""!==(e=function(e,t,n){return"IMG"===e.target.tagName&&d(e),!t||!n&&-1!==e.type.indexOf("mouse")?"":{dragging:!0,touchObject:{startX:e.touches?e.touches[0].pageX:e.clientX,startY:e.touches?e.touches[0].pageY:e.clientY,curX:e.touches?e.touches[0].pageX:e.clientX,curY:e.touches?e.touches[0].pageY:e.clientY}}}(e,t.props.swipe,t.props.draggable))&&t.setState(e)})),ke(Se(t),"swipeMove",(function(e){(e=function(e,t){var n=t.scrolling,r=t.animating,o=t.vertical,i=t.swipeToSlide,s=t.verticalSwiping,a=t.rtl,c=t.currentSlide,u=t.edgeFriction,p=t.edgeDragged,h=t.onEdge,y=t.swiped,v=t.swiping,b=t.slideCount,g=t.slidesToScroll,m=t.infinite,w=t.touchObject,S=t.swipeEvent,k=t.listHeight,j=t.listWidth;if(!n){if(r)return d(e);if(o&&i&&s&&d(e),n={},r=L(t),w.curX=e.touches?e.touches[0].pageX:e.clientX,w.curY=e.touches?e.touches[0].pageY:e.clientY,w.swipeLength=Math.round(Math.sqrt(Math.pow(w.curX-w.startX,2))),i=Math.round(Math.sqrt(Math.pow(w.curY-w.startY,2))),!s&&!v&&10<i)return{scrolling:!0};s&&(w.swipeLength=i);v=(a?-1:1)*(w.curX>w.startX?1:-1);return s&&(v=w.curY>w.startY?1:-1),i=Math.ceil(b/g),b=f(t.touchObject,s),g=w.swipeLength,m||(0===c&&("right"===b||"down"===b)||i<=c+1&&("left"===b||"up"===b)||!O(t)&&("left"===b||"up"===b))&&(g=w.swipeLength*u,!1===p&&h&&(h(b),n.edgeDragged=!0)),!y&&S&&(S(b),n.swiped=!0),v=s?r+g*v:o?r+g*(k/j)*v:a?r-g*v:r+g*v,n=l(l({},n),{},{touchObject:w,swipeLeft:v,trackStyle:_(l(l({},t),{},{left:v}))}),Math.abs(w.curX-w.startX)<.8*Math.abs(w.curY-w.startY)||10<w.swipeLength&&(n.swiping=!0,d(e)),n}}(e,ge(ge(ge({},t.props),t.state),{},{trackRef:t.track,listRef:t.list,slideIndex:t.state.currentSlide})))&&(e.swiping&&(t.clickable=!1),t.setState(e))})),ke(Se(t),"swipeEnd",(function(e){var n=function(e,t){var n=t.dragging,r=t.swipe,o=t.touchObject,i=t.listWidth,s=t.touchThreshold,a=t.verticalSwiping,c=t.listHeight,u=t.swipeToSlide,p=t.scrolling,h=t.onSwipe,y=t.targetSlide,v=t.currentSlide,b=t.infinite;if(!n)return r&&d(e),{};var g;i=a?c/s:i/s,s=f(o,a),a={dragging:!1,edgeDragged:!1,scrolling:!1,swiping:!1,swiped:!1,swipeLeft:null,touchObject:{}};if(p)return a;if(!o.swipeLength)return a;if(o.swipeLength>i){switch(d(e),h&&h(s),y=b?v:y,s){case"left":case"up":g=y+P(t),m=u?E(t,g):g,a.currentDirection=0;break;case"right":case"down":g=y-P(t),m=u?E(t,g):g,a.currentDirection=1;break;default:m=y}a.triggerSlideHandler=m}else{var m=L(t);a.trackStyle=x(l(l({},t),{},{left:m}))}return a}(e,ge(ge(ge({},t.props),t.state),{},{trackRef:t.track,listRef:t.list,slideIndex:t.state.currentSlide}));n&&(e=n.triggerSlideHandler,delete n.triggerSlideHandler,t.setState(n),void 0!==e&&(t.slideHandler(e),t.props.verticalSwiping&&t.enableBodyScroll()))})),ke(Se(t),"touchEnd",(function(e){t.swipeEnd(e),t.clickable=!0})),ke(Se(t),"slickPrev",(function(){t.callbackTimers.push(setTimeout((function(){return t.changeSlide({message:"previous"})}),0))})),ke(Se(t),"slickNext",(function(){t.callbackTimers.push(setTimeout((function(){return t.changeSlide({message:"next"})}),0))})),ke(Se(t),"slickGoTo",(function(e){var n=1<arguments.length&&void 0!==arguments[1]&&arguments[1];if(e=Number(e),isNaN(e))return"";t.callbackTimers.push(setTimeout((function(){return t.changeSlide({message:"index",index:e,currentSlide:t.state.currentSlide},n)}),0))})),ke(Se(t),"play",(function(){var e;if(t.props.rtl)e=t.state.currentSlide-t.props.slidesToScroll;else{if(!O(ge(ge({},t.props),t.state)))return!1;e=t.state.currentSlide+t.props.slidesToScroll}t.slideHandler(e)})),ke(Se(t),"autoPlay",(function(e){t.autoplayTimer&&clearInterval(t.autoplayTimer);var n=t.state.autoplaying;if("update"===e){if("hovered"===n||"focused"===n||"paused"===n)return}else if("leave"===e){if("paused"===n||"focused"===n)return}else if("blur"===e&&("paused"===n||"hovered"===n))return;t.autoplayTimer=setInterval(t.play,t.props.autoplaySpeed+50),t.setState({autoplaying:"playing"})})),ke(Se(t),"pause",(function(e){t.autoplayTimer&&(clearInterval(t.autoplayTimer),t.autoplayTimer=null);var n=t.state.autoplaying;"paused"===e?t.setState({autoplaying:"paused"}):"focused"===e?"hovered"!==n&&"playing"!==n||t.setState({autoplaying:"focused"}):"playing"===n&&t.setState({autoplaying:"hovered"})})),ke(Se(t),"onDotsOver",(function(){return t.props.autoplay&&t.pause("hovered")})),ke(Se(t),"onDotsLeave",(function(){return t.props.autoplay&&"hovered"===t.state.autoplaying&&t.autoPlay("leave")})),ke(Se(t),"onTrackOver",(function(){return t.props.autoplay&&t.pause("hovered")})),ke(Se(t),"onTrackLeave",(function(){return t.props.autoplay&&"hovered"===t.state.autoplaying&&t.autoPlay("leave")})),ke(Se(t),"onSlideFocus",(function(){return t.props.autoplay&&t.pause("focused")})),ke(Se(t),"onSlideBlur",(function(){return t.props.autoplay&&"focused"===t.state.autoplaying&&t.autoPlay("blur")})),ke(Se(t),"render",(function(){var e,n,r,i=a()("slick-slider",t.props.className,{"slick-vertical":t.props.vertical,"slick-initialized":!0}),s=ge(ge({},t.props),t.state),c=k(s,["fade","cssEase","speed","infinite","centerMode","focusOnSelect","currentSlide","lazyLoad","lazyLoadedList","rtl","slideWidth","slideHeight","listHeight","vertical","slidesToShow","slidesToScroll","slideCount","trackStyle","variableWidth","unslick","centerPadding","targetSlide","useCSS"]),l=t.props.pauseOnHover;c=ge(ge({},c),{},{onMouseEnter:l?t.onTrackOver:null,onMouseLeave:l?t.onTrackLeave:null,onMouseOver:l?t.onTrackOver:null,focusOnSelect:t.props.focusOnSelect&&t.clickable?t.selectHandler:null});!0===t.props.dots&&t.state.slideCount>=t.props.slidesToShow&&(u=k(s,["dotsClass","slideCount","slidesToShow","currentSlide","slidesToScroll","clickHandler","children","customPaging","infinite","appendDots"]),e=t.props.pauseOnDotsHover,u=ge(ge({},u),{},{clickHandler:t.changeSlide,onMouseEnter:e?t.onDotsLeave:null,onMouseOver:e?t.onDotsOver:null,onMouseLeave:e?t.onDotsLeave:null}),e=o.a.createElement(ee,u));var u=k(s,["infinite","centerMode","currentSlide","slideCount","slidesToShow","prevArrow","nextArrow"]);return u.clickHandler=t.changeSlide,t.props.arrows&&(n=o.a.createElement(de,u),r=o.a.createElement(pe,u)),s=null,t.props.vertical&&(s={height:t.state.listHeight}),u=null,!1===t.props.vertical?!0===t.props.centerMode&&(u={padding:"0px "+t.props.centerPadding}):!0===t.props.centerMode&&(u={padding:t.props.centerPadding+" 0px"}),s=ge(ge({},s),u),u=t.props.touchMove,s={className:"slick-list",style:s,onClick:t.clickHandler,onMouseDown:u?t.swipeStart:null,onMouseMove:t.state.dragging&&u?t.swipeMove:null,onMouseUp:u?t.swipeEnd:null,onMouseLeave:t.state.dragging&&u?t.swipeEnd:null,onTouchStart:u?t.swipeStart:null,onTouchMove:t.state.dragging&&u?t.swipeMove:null,onTouchEnd:u?t.touchEnd:null,onTouchCancel:t.state.dragging&&u?t.swipeEnd:null,onKeyDown:t.props.accessibility?t.keyHandler:null},u={className:i,dir:"ltr",style:t.props.style},t.props.unslick&&(s={className:"slick-list"},u={className:i}),o.a.createElement("div",u,t.props.unslick?"":n,o.a.createElement("div",ye({ref:t.listRefHandler},s),o.a.createElement(V,ye({ref:t.trackRefHandler},c),t.props.children)),t.props.unslick?"":r,t.props.unslick?"":e)})),t.list=null,t.track=null,t.state=ge(ge({},i),{},{currentSlide:t.props.initialSlide,slideCount:o.a.Children.count(t.props.children)}),t.callbackTimers=[],t.clickable=!0,t.debouncedResize=null,e=t.ssrInit(),t.state=ge(ge({},t.state),e),t}return e=r,(t=[{key:"didPropsChange",value:function(e){for(var t=!1,n=0,r=Object.keys(this.props);n<r.length;n++){var i=r[n];if(!e.hasOwnProperty(i)){t=!0;break}if("object"!==he(e[i])&&"function"!=typeof e[i]&&e[i]!==this.props[i]){t=!0;break}}return t||o.a.Children.count(this.props.children)!==o.a.Children.count(e.children)}}])&&me(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),r}(),Te=(r=n(2),n.n(r)),Ee={accessibility:!0,adaptiveHeight:!1,afterChange:null,appendDots:function(e){return o.a.createElement("ul",{style:{display:"block"}},e)},arrows:!0,autoplay:!1,autoplaySpeed:3e3,beforeChange:null,centerMode:!1,centerPadding:"50px",className:"",cssEase:"ease",customPaging:function(e){return o.a.createElement("button",null,e+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,infinite:!0,initialSlide:0,lazyLoad:null,nextArrow:null,onEdge:null,onInit:null,onLazyLoadError:null,onReInit:null,pauseOnDotsHover:!1,pauseOnFocus:!1,pauseOnHover:!0,prevArrow:null,responsive:null,rows:1,rtl:!1,slide:"div",slidesPerRow:1,slidesToScroll:1,slidesToShow:1,speed:500,swipe:!0,swipeEvent:null,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,waitForAnimate:!0};function Pe(e){return(Pe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _e(){return(_e=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n,r=arguments[t];for(n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function xe(e,t){var n,r=Object.keys(e);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(e),t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)),r}function Le(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?xe(Object(n),!0).forEach((function(t){We(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):xe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Me(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ce(e,t){return(Ce=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Re(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ze(e){return(ze=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function We(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var De=y()&&n(8);n=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Ce(e,t)}(r,o.a.Component);var e,t,n=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=ze(e);return function(e,t){if(t&&("object"===Pe(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Re(e)}(this,t?(n=ze(this).constructor,Reflect.construct(r,arguments,n)):r.apply(this,arguments))}}(r);function r(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r),We(Re(t=n.call(this,e)),"innerSliderRefHandler",(function(e){return t.innerSlider=e})),We(Re(t),"slickPrev",(function(){return t.innerSlider.slickPrev()})),We(Re(t),"slickNext",(function(){return t.innerSlider.slickNext()})),We(Re(t),"slickGoTo",(function(e){var n=1<arguments.length&&void 0!==arguments[1]&&arguments[1];return t.innerSlider.slickGoTo(e,n)})),We(Re(t),"slickPause",(function(){return t.innerSlider.pause("paused")})),We(Re(t),"slickPlay",(function(){return t.innerSlider.autoPlay("play")})),t.state={breakpoint:null},t._responsiveMediaHandlers=[],t}return e=r,(t=[{key:"media",value:function(e,t){De.register(e,t),this._responsiveMediaHandlers.push({query:e,handler:t})}},{key:"componentDidMount",value:function(){var e,t,n=this;this.props.responsive&&((e=this.props.responsive.map((function(e){return e.breakpoint}))).sort((function(e,t){return e-t})),e.forEach((function(t,r){r=0===r?Te()({minWidth:0,maxWidth:t}):Te()({minWidth:e[r-1]+1,maxWidth:t}),y()&&n.media(r,(function(){n.setState({breakpoint:t})}))})),t=Te()({minWidth:e.slice(-1)[0]}),y()&&this.media(t,(function(){n.setState({breakpoint:null})})))}},{key:"componentWillUnmount",value:function(){this._responsiveMediaHandlers.forEach((function(e){De.unregister(e.query,e.handler)}))}},{key:"render",value:function(){var e=this,t=this.state.breakpoint?"unslick"===(d=this.props.responsive.filter((function(t){return t.breakpoint===e.state.breakpoint})))[0].settings?"unslick":Le(Le(Le({},Ee),this.props),d[0].settings):Le(Le({},Ee),this.props);t.centerMode&&(t.slidesToScroll,t.slidesToScroll=1),t.fade&&(t.slidesToShow,t.slidesToScroll,t.slidesToShow=1,t.slidesToScroll=1);var n=(n=o.a.Children.toArray(this.props.children)).filter((function(e){return"string"==typeof e?!!e.trim():!!e}));t.variableWidth&&(1<t.rows||1<t.slidesPerRow)&&(console.warn("variableWidth is not supported in case of rows > 1 or slidesPerRow > 1"),t.variableWidth=!1);for(var r=[],i=null,s=0;s<n.length;s+=t.rows*t.slidesPerRow){for(var a=[],c=s;c<s+t.rows*t.slidesPerRow;c+=t.slidesPerRow){for(var l=[],u=c;u<c+t.slidesPerRow&&(t.variableWidth&&n[u].props.style&&(i=n[u].props.style.width),!(u>=n.length));u+=1)l.push(o.a.cloneElement(n[u],{key:100*s+10*c+u,tabIndex:-1,style:{width:"".concat(100/t.slidesPerRow,"%"),display:"inline-block"}}));a.push(o.a.createElement("div",{key:10*s+c},l))}t.variableWidth?r.push(o.a.createElement("div",{key:s,style:{width:i}},a)):r.push(o.a.createElement("div",{key:s},a))}if("unslick"!==t)return r.length<=t.slidesToShow&&!t.infinite&&(t.unslick=!0),o.a.createElement(je,_e({style:this.props.style,ref:this.innerSliderRefHandler},t),r);var d="regular slider "+(this.props.className||"");return o.a.createElement("div",{className:d},n)}}])&&Me(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),r}();t.default=n}],t.c=r,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:r})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(t.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var o in e)t.d(r,o,function(t){return e[t]}.bind(null,o));return r},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=12);function t(e){if(r[e])return r[e].exports;var o=r[e]={i:e,l:!1,exports:{}};return n[e].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n,r})); | ||
//# sourceMappingURL=react-slick.min.js.map |
@@ -368,4 +368,4 @@ "use strict"; | ||
image.onclick = function () { | ||
prevClickHandler(); | ||
image.onclick = function (e) { | ||
prevClickHandler(e); | ||
image.parentNode.focus(); | ||
@@ -372,0 +372,0 @@ }; |
@@ -275,3 +275,3 @@ "use strict"; | ||
}, children); | ||
} else if (newChildren.length <= settings.slidesToShow) { | ||
} else if (newChildren.length <= settings.slidesToShow && !settings.infinite) { | ||
settings.unslick = true; | ||
@@ -278,0 +278,0 @@ } |
@@ -176,3 +176,3 @@ "use strict"; | ||
if (preCloneNo <= (0, _innerSliderUtils.getPreClones)(spec) && childrenCount !== spec.slidesToShow) { | ||
if (preCloneNo <= (0, _innerSliderUtils.getPreClones)(spec)) { | ||
key = -preCloneNo; | ||
@@ -204,28 +204,26 @@ | ||
if (childrenCount !== spec.slidesToShow) { | ||
key = childrenCount + index; | ||
key = childrenCount + index; | ||
if (key < endIndex) { | ||
child = elem; | ||
} | ||
if (key < endIndex) { | ||
child = elem; | ||
} | ||
slideClasses = getSlideClasses(_objectSpread(_objectSpread({}, spec), {}, { | ||
index: key | ||
})); | ||
postCloneSlides.push( /*#__PURE__*/_react["default"].cloneElement(child, { | ||
key: "postcloned" + getKey(child, key), | ||
"data-index": key, | ||
tabIndex: "-1", | ||
className: (0, _classnames["default"])(slideClasses, slideClass), | ||
"aria-hidden": !slideClasses["slick-active"], | ||
style: _objectSpread(_objectSpread({}, child.props.style || {}), childStyle), | ||
onClick: function onClick(e) { | ||
child.props && child.props.onClick && child.props.onClick(e); | ||
slideClasses = getSlideClasses(_objectSpread(_objectSpread({}, spec), {}, { | ||
index: key | ||
})); | ||
postCloneSlides.push( /*#__PURE__*/_react["default"].cloneElement(child, { | ||
key: "postcloned" + getKey(child, key), | ||
"data-index": key, | ||
tabIndex: "-1", | ||
className: (0, _classnames["default"])(slideClasses, slideClass), | ||
"aria-hidden": !slideClasses["slick-active"], | ||
style: _objectSpread(_objectSpread({}, child.props.style || {}), childStyle), | ||
onClick: function onClick(e) { | ||
child.props && child.props.onClick && child.props.onClick(e); | ||
if (spec.focusOnSelect) { | ||
spec.focusOnSelect(childOnClickOptions); | ||
} | ||
if (spec.focusOnSelect) { | ||
spec.focusOnSelect(childOnClickOptions); | ||
} | ||
})); | ||
} | ||
} | ||
})); | ||
} | ||
@@ -232,0 +230,0 @@ }); |
{ | ||
"name": "react-slick", | ||
"version": "0.29.0", | ||
"version": "0.30.0", | ||
"description": " React port of slick carousel", | ||
@@ -11,13 +11,13 @@ "main": "./lib", | ||
"scripts": { | ||
"start": "gulp server", | ||
"demo": "SINGLE_DEMO=true gulp server", | ||
"start": "NODE_OPTIONS=--openssl-legacy-provider gulp server", | ||
"demo": "SINGLE_DEMO=true DEV_PORT=8000 NODE_OPTIONS=--openssl-legacy-provider gulp server", | ||
"build-dev": "gulp clean && gulp copy && webpack", | ||
"lib": "babel ./src --out-dir ./lib", | ||
"build": "npm run lib && gulp dist", | ||
"prepublish": "npm run build", | ||
"test": "npm run lint && jest", | ||
"test:watch": "jest --watch", | ||
"build": "NODE_OPTIONS=--openssl-legacy-provider npm run lib && NODE_OPTIONS=--openssl-legacy-provider gulp dist", | ||
"prepublishOnly": "npm run build", | ||
"lint": "eslint src", | ||
"gen": "node examples/scripts/generateExampleConfigs.js && node examples/scripts/generateExamples.js && xdg-open docs/jquery.html", | ||
"precommit": "lint-staged" | ||
"precommit": "lint-staged", | ||
"test": "jest", | ||
"test-watch": "jest --watch" | ||
}, | ||
@@ -46,2 +46,4 @@ "author": "Kiran Abburi", | ||
"@babel/preset-react": "^7.0.0", | ||
"@testing-library/jest-dom": "^5.16.4", | ||
"@testing-library/react": "^13.3.0", | ||
"autoprefixer": "^7.1.2", | ||
@@ -55,4 +57,2 @@ "babel-core": "^7.0.0-bridge.0", | ||
"del": "^2.2.2", | ||
"enzyme": "^3.2.0", | ||
"enzyme-adapter-react-16": "^1.1.0", | ||
"es5-shim": "^4.5.9", | ||
@@ -66,5 +66,4 @@ "eslint": "^8.4.1", | ||
"husky": "^0.14.3", | ||
"jasmine-core": "^2.5.2", | ||
"jest": "^24.8.0", | ||
"jquery": "^3.2.1", | ||
"jest": "^28.1.3", | ||
"jest-environment-jsdom": "^28.1.3", | ||
"js-beautify": "^1.7.5", | ||
@@ -79,3 +78,2 @@ "json-loader": "^0.5.4", | ||
"react-dom": "^18.0.0", | ||
"react-test-renderer": "^18.0.0", | ||
"sinon": "^2.1.0", | ||
@@ -91,2 +89,3 @@ "slick-carousel": "^1.8.1", | ||
"dependencies": { | ||
"@testing-library/user-event": "^14.3.0", | ||
"classnames": "^2.2.5", | ||
@@ -102,11 +101,2 @@ "enquire.js": "^2.1.6", | ||
}, | ||
"jest": { | ||
"setupFiles": [ | ||
"./test-setup.js" | ||
], | ||
"testPathIgnorePatterns": [ | ||
"/__tests__/scripts.js", | ||
"/__tests__/testUtils.js" | ||
] | ||
}, | ||
"lint-staged": { | ||
@@ -113,0 +103,0 @@ "*.{js,json,md}": [ |
### react-slick | ||
[![Backers on Open Collective](https://opencollective.com/react-slick/backers/badge.svg)](#backers) [![Sponsors on Open Collective](https://opencollective.com/react-slick/sponsors/badge.svg)](#sponsors) [![Join the chat at https://gitter.im/akiran/react-slick](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/akiran/react-slick?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) | ||
[![Backers on Open Collective](https://opencollective.com/react-slick/backers/badge.svg)](#backers) [![Sponsors on Open Collective](https://opencollective.com/react-slick/sponsors/badge.svg)](#sponsors) | ||
@@ -110,4 +110,9 @@ ##### Carousel component built with React. It is a react port of [slick carousel](http://kenwheeler.github.io/slick/) | ||
## Community | ||
Join our [discord channel](https://discord.gg/z7stRE4Cyb) to discuss react-slick bugs and ask for help | ||
## Contributing | ||
Please see the [contributing guidelines](./CONTRIBUTING.md) |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
766303
44
17
118
8
6591
+ Added@babel/code-frame@7.26.2(transitive)
+ Added@babel/helper-validator-identifier@7.25.9(transitive)
+ Added@babel/runtime@7.26.0(transitive)
+ Added@testing-library/dom@10.4.0(transitive)
+ Added@testing-library/user-event@14.5.2(transitive)
+ Added@types/aria-query@5.0.4(transitive)
+ Addedansi-regex@5.0.1(transitive)
+ Addedansi-styles@4.3.05.2.0(transitive)
+ Addedaria-query@5.3.0(transitive)
+ Addedchalk@4.1.2(transitive)
+ Addedcolor-convert@2.0.1(transitive)
+ Addedcolor-name@1.1.4(transitive)
+ Addeddequal@2.0.3(transitive)
+ Addeddom-accessibility-api@0.5.16(transitive)
+ Addedhas-flag@4.0.0(transitive)
+ Addedlz-string@1.5.0(transitive)
+ Addedpicocolors@1.1.1(transitive)
+ Addedpretty-format@27.5.1(transitive)
+ Addedreact-is@17.0.2(transitive)
+ Addedregenerator-runtime@0.14.1(transitive)
+ Addedsupports-color@7.2.0(transitive)