Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-carousel-slider

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-carousel-slider - npm Package Compare versions

Comparing version 1.0.7 to 1.0.8

79

es/index.js

@@ -724,44 +724,57 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }

if (buttonSetting.separate) {
if (buttonSetting.outOfBox) {
renderSlideItems = React.createElement(
'div',
{ className: 'sliderSet' },
leftButton,
React.createElement(
if (this.mannerSetting.button) {
if (buttonSetting.separate) {
if (buttonSetting.outOfBox) {
renderSlideItems = React.createElement(
'div',
{ className: 'sliderSet' },
leftButton,
React.createElement(
'div',
{ className: 'sliderBox', ref: 'sliderBox', style: this.setSliderBoxStyles() },
slideCon
),
rightButton
);
} else {
renderSlideItems = React.createElement(
'div',
{ className: 'sliderBox', ref: 'sliderBox', style: this.setSliderBoxStyles() },
slideCon
),
rightButton
);
leftButton,
slideCon,
rightButton
);
}
} else {
renderSlideItems = React.createElement(
'div',
{ className: 'sliderBox', ref: 'sliderBox', style: this.setSliderBoxStyles() },
leftButton,
slideCon,
rightButton
);
}
} else {
if (buttonSetting.outOfBox) {
renderSlideItems = React.createElement(
'div',
null,
React.createElement(
if (buttonSetting.outOfBox) {
renderSlideItems = React.createElement(
'div',
null,
React.createElement(
'div',
{ className: 'sliderBox', ref: 'sliderBox', style: this.setSliderBoxStyles() },
slideCon
),
buttons
);
} else {
renderSlideItems = React.createElement(
'div',
{ className: 'sliderBox', ref: 'sliderBox', style: this.setSliderBoxStyles() },
buttons,
slideCon
),
buttons
);
} else {
renderSlideItems = React.createElement(
);
}
}
} else {
renderSlideItems = React.createElement(
'div',
{ className: 'sliderSet' },
React.createElement(
'div',
{ className: 'sliderBox', ref: 'sliderBox', style: this.setSliderBoxStyles() },
buttons,
slideCon
);
}
)
);
}

@@ -768,0 +781,0 @@ }

@@ -733,44 +733,57 @@ 'use strict';

if (buttonSetting.separate) {
if (buttonSetting.outOfBox) {
renderSlideItems = _react2.default.createElement(
'div',
{ className: 'sliderSet' },
leftButton,
_react2.default.createElement(
if (this.mannerSetting.button) {
if (buttonSetting.separate) {
if (buttonSetting.outOfBox) {
renderSlideItems = _react2.default.createElement(
'div',
{ className: 'sliderSet' },
leftButton,
_react2.default.createElement(
'div',
{ className: 'sliderBox', ref: 'sliderBox', style: this.setSliderBoxStyles() },
slideCon
),
rightButton
);
} else {
renderSlideItems = _react2.default.createElement(
'div',
{ className: 'sliderBox', ref: 'sliderBox', style: this.setSliderBoxStyles() },
slideCon
),
rightButton
);
leftButton,
slideCon,
rightButton
);
}
} else {
renderSlideItems = _react2.default.createElement(
'div',
{ className: 'sliderBox', ref: 'sliderBox', style: this.setSliderBoxStyles() },
leftButton,
slideCon,
rightButton
);
}
} else {
if (buttonSetting.outOfBox) {
renderSlideItems = _react2.default.createElement(
'div',
null,
_react2.default.createElement(
if (buttonSetting.outOfBox) {
renderSlideItems = _react2.default.createElement(
'div',
null,
_react2.default.createElement(
'div',
{ className: 'sliderBox', ref: 'sliderBox', style: this.setSliderBoxStyles() },
slideCon
),
buttons
);
} else {
renderSlideItems = _react2.default.createElement(
'div',
{ className: 'sliderBox', ref: 'sliderBox', style: this.setSliderBoxStyles() },
buttons,
slideCon
),
buttons
);
} else {
renderSlideItems = _react2.default.createElement(
);
}
}
} else {
renderSlideItems = _react2.default.createElement(
'div',
{ className: 'sliderSet' },
_react2.default.createElement(
'div',
{ className: 'sliderBox', ref: 'sliderBox', style: this.setSliderBoxStyles() },
buttons,
slideCon
);
}
)
);
}

@@ -777,0 +790,0 @@ }

{
"name": "react-carousel-slider",
"version": "1.0.7",
"version": "1.0.8",
"description": "react-carousel-slider React component",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

@@ -7,2 +7,3 @@ # React Carousel Slider

[Full Documentation on Github](https://github.com/Carr1005/react-carousel-slider)
[Demo](http://carr1005.github.io/react-carousel-slider/index.html)

@@ -33,2 +34,6 @@ ## Installation

## Mobile Compatible
This component would register touch events automaically where mobile device veiwport is detected.
## Usage

@@ -121,3 +126,3 @@

```
* `slidesCpnts` <a id="slidesCpnts"></a> - accepts an array of regular React elements, the `<img></img>` element and available image source are required, we have the [default style](#textBoxStyle) for `<p>` block, override it by specifying your own with using inline-styles.
* `slidesCpnts` <a id="slidesCpnts"></a> - accepts an array of regular React elements, the `<img></img>` element and available image source are required, we have the default style for `<p>` block, override it by specifying your own with using inline-styles.

@@ -142,9 +147,9 @@ ```jsx

* [`manner`]
* [`buttonSetting`]
* [`lBtnCpnt`]
* [`rBtnCpnt`]
* [`sliderBoxStyle`]
* [`itemsStyle`]
* [`textBoxStyle`]
* `manner`
* `buttonSetting`
* `lBtnCpnt`
* `rBtnCpnt`
* `sliderBoxStyle`
* `itemsStyle`
* `textBoxStyle`

@@ -151,0 +156,0 @@

/*!
* react-carousel-slider v1.0.3
* react-carousel-slider v1.0.6
* MIT Licensed

@@ -820,44 +820,57 @@ */

if (buttonSetting.separate) {
if (buttonSetting.outOfBox) {
renderSlideItems = __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(
'div',
{ className: 'sliderSet' },
leftButton,
__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(
if (this.mannerSetting.button) {
if (buttonSetting.separate) {
if (buttonSetting.outOfBox) {
renderSlideItems = __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(
'div',
{ className: 'sliderSet' },
leftButton,
__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(
'div',
{ className: 'sliderBox', ref: 'sliderBox', style: this.setSliderBoxStyles() },
slideCon
),
rightButton
);
} else {
renderSlideItems = __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(
'div',
{ className: 'sliderBox', ref: 'sliderBox', style: this.setSliderBoxStyles() },
slideCon
),
rightButton
);
leftButton,
slideCon,
rightButton
);
}
} else {
renderSlideItems = __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(
'div',
{ className: 'sliderBox', ref: 'sliderBox', style: this.setSliderBoxStyles() },
leftButton,
slideCon,
rightButton
);
}
} else {
if (buttonSetting.outOfBox) {
renderSlideItems = __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(
'div',
null,
__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(
if (buttonSetting.outOfBox) {
renderSlideItems = __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(
'div',
null,
__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(
'div',
{ className: 'sliderBox', ref: 'sliderBox', style: this.setSliderBoxStyles() },
slideCon
),
buttons
);
} else {
renderSlideItems = __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(
'div',
{ className: 'sliderBox', ref: 'sliderBox', style: this.setSliderBoxStyles() },
buttons,
slideCon
),
buttons
);
} else {
renderSlideItems = __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(
);
}
}
} else {
renderSlideItems = __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(
'div',
{ className: 'sliderSet' },
__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(
'div',
{ className: 'sliderBox', ref: 'sliderBox', style: this.setSliderBoxStyles() },
buttons,
slideCon
);
}
)
);
}

@@ -864,0 +877,0 @@ }

/*!
* react-carousel-slider v1.0.3
* react-carousel-slider v1.0.6
* MIT Licensed
*/
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("react")):"function"==typeof define&&define.amd?define(["react"],e):"object"==typeof exports?exports.ReactCarouselSlider=e(require("react")):t.ReactCarouselSlider=e(t.React)}("undefined"!=typeof self?self:this,function(t){return function(t){var e={};function i(n){if(e[n])return e[n].exports;var s=e[n]={i:n,l:!1,exports:{}};return t[n].call(s.exports,s,s.exports,i),s.l=!0,s.exports}return i.m=t,i.c=e,i.d=function(t,e,n){i.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:n})},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s=0)}([function(t,e,i){t.exports=i(1)},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(2),s=i.n(n),r=i(3);i.n(r);var o=function(t){function e(i){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var n=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,t.call(this,i));return n.slidingManner={currentSlide:1,slidesTotalWidth:0,initialMovement:0,movement:0,direction:1,cycle:0,sliding:!1,slideOrders:[[],[],[]]},n.calculateSlidesOrder=n.calculateSlidesOrder.bind(n),n.itemsReorder=n.itemsReorder.bind(n),n.movementReset=n.movementReset.bind(n),n.loadedCnt=0,n.imgsWidth={},n.mannerSetting={autoSliding:!1,circular:!0,duration:"0.5s",flag:!1,button:!0},n.mannerSetting=n.handleMannerSetting(),n.defaultSliderBoxStyle={height:"400px",width:"90%",background:"#EEEEEE",border:"none"},n.defaultSlideConStyle={height:"80%"},n.defaultItemsStyle={padding:"3px",background:"#FAFAFA",margin:"0px 40px"},n.buttonManner={hoverEvent:!1},n.defaultButtonSetStyle={},n.defaultButtonIconStyle={color:"white",background:"#757575",height:"30px",width:"30px",margin:"10px",fontSize:"20px",borderRadius:"2px",border:"none"},n.defaultBtnPosition={"top-left":!0,"top-right":!1,"middle-inside":!1,"middle-outside":!1,"bottom-right":!1,"bottom-left":!1,"bottom-beneath":!1},n.itemsMargin=n.props.itemsStyle&&n.props.itemsStyle.margin?parseInt(n.props.itemsStyle.margin.split(" ")[1].replace("px","")):parseInt(n.defaultItemsStyle.margin.split(" ")[1].replace("px","")),n.slideType=n.props.slideItems?"prop":n.props.slideCpnts?"cpnt":null,n.slideCnt="prop"===n.slideType?n.props.slideItems.length:"cpnt"===n.slideType?n.props.slideCpnts.length:0,n.slideEls="prop"===n.slideType?n.props.slideItems:"cpnt"===n.slideType?n.props.slideCpnts:null,n.touchEvent={touchMovement:0,touchStartX:0,prevTouchX:0,beingTouched:!1},n.imgLoaded=n.imgLoaded.bind(n),n.nonImgLoaded=n.nonImgLoaded.bind(n),n.slideItemHandler=n.slideItemHandler.bind(n),n.initialSlideCon=n.initialSlideCon.bind(n),n.calMovement=n.calMovement.bind(n),n.autoSliding=n.autoSliding.bind(n),n.handleTouchStart=n.handleTouchStart.bind(n),n.handleTouchMove=n.handleTouchMove.bind(n),n.handleTouchEnd=n.handleTouchEnd.bind(n),n.handleButtonClick=n.handleButtonClick.bind(n),n.setSliderBoxStyles=n.setSliderBoxStyles.bind(n),n.setItemsStyle=n.setItemsStyle.bind(n),n.setSlideConHeight=n.setSlideConHeight.bind(n),n.detectButtonPosition=n.detectButtonPosition.bind(n),n.allocateButtonSet=n.allocateButtonSet.bind(n),n.setLeftButtonStyle=n.setLeftButtonStyle.bind(n),n.setHoverEvent=n.setHoverEvent.bind(n),n.calculateSlidesOrder(),n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e.prototype.componentWillUnmount=function(){clearInterval(this.autoSlidingTimer)},e.prototype.handleMannerSetting=function(){return this.props.manner?Object.assign({},this.mannerSetting,this.props.manner):this.mannerSetting},e.prototype.handleBubbling=function(t){t.stopPropagation()},e.prototype.calculateSlidesOrder=function(){for(var t=[],e=[],i=[],n=-1*this.slideCnt;n<=2*this.slideCnt;n++)0!==n&&t.push(n);this.slidingManner.slideOrders[0]=t;for(var s=0;s<t.length;s++)s<2*this.slideCnt?i.push(t[s]):e.push(t[s]);this.slidingManner.slideOrders[1]=e.concat(i),e=[],i=[];for(var r=0;r<t.length;r++)r<this.slideCnt?i.push(t[r]):e.push(t[r]);this.slidingManner.slideOrders[2]=e.concat(i)},e.prototype.mobileDetect=function(){return!!/Mobi|Tablet|iPad|iPhone/.test(navigator.userAgent)},e.prototype.nonImgLoaded=function(t){var e="ref"+t;if(this.refs[e]){var i=this.setItemsStyle(),n=this.refs[e];for(var s in i)n.style[s]=i[s];this.loadedCnt+=1,this.imgsWidth[t]=n.offsetWidth,(!this.mannerSetting.circular&&1===t||this.mannerSetting.circular&&1===this.slideCnt)&&this.initialSlideCon(),this.mannerSetting.circular&&this.loadedCnt===3*this.slideCnt&&this.initialSlideCon()}},e.prototype.imgLoaded=function(t){var e="ref"+t;if(this.refs[e]){var i=0,n=0,s=0,r=this.setItemsStyle(),o=this.refs[e];for(var l in o.offsetWidth>=this.refs.sliderBox.offsetWidth&&(i=o.offsetHeight/o.offsetWidth,s=(n=this.refs.sliderBox.offsetWidth-2*this.itemsMargin)*i,r.height=s+"px",r.width=n+"px"),r)o.style[l]=r[l];this.loadedCnt+=1,this.imgsWidth[t]=o.offsetWidth,(!this.mannerSetting.circular&&1===t||this.mannerSetting.circular&&1===this.slideCnt)&&this.initialSlideCon(),this.mannerSetting.circular&&this.loadedCnt===3*this.slideCnt&&this.initialSlideCon()}},e.prototype.slideItemHandler=function(t,e){var i=this;switch(this.slideType){case"prop":var n=(t.imgSrc,s.a.createElement("img",{src:t.imgSrc})),r=t.des?s.a.createElement("p",{style:this.setTextBoxStyle()},t.des):null;return s.a.createElement("div",{className:"itemWrapper",style:{order:e},onError:function(){return i.nonImgLoaded(e)},onLoad:function(){return i.imgLoaded(e)},onClick:this.handleBubbling,ref:"ref"+e,key:"ref"+e},n,r);case"cpnt":return s.a.createElement("div",{className:"itemWrapper",style:{order:e},onError:function(){return i.nonImgLoaded(e)},onLoad:function(){return i.imgLoaded(e)},onClick:this.handleBubbling,ref:"ref"+e,key:"ref"+e},t)}},e.prototype.initialSlideCon=function(){var t=this,e=this.refs.slideCon;if(e.addEventListener("transitionend",function(){t.slidingManner.sliding=!1}),this.mannerSetting.circular&&1!==this.slideCnt){for(var i=0,n=1;n<this.slideCnt+1;n++)i+=parseInt(this.imgsWidth[n]);this.slidingManner.slidesTotalWidth=i+this.slideCnt*this.itemsMargin*2,this.slidingManner.initialMovement=this.slidingManner.slidesTotalWidth-(this.refs.sliderBox.offsetWidth-(this.imgsWidth[1]+2*this.itemsMargin))/2}else this.refs.sflag.style.flexBasis=this.refs.sliderBox.offsetWidth+"px",this.refs.eflag.style.flexBasis=this.refs.sliderBox.offsetWidth+"px",e.style.transition="transform "+this.mannerSetting.duration+" ease",this.slidingManner.initialMovement=(this.refs.sliderBox.offsetWidth-this.imgsWidth[1])/2+this.itemsMargin+this.imgsWidth[1];e.style.transform="translateX(-"+this.slidingManner.initialMovement+"px)",this.slidingManner.movement=this.slidingManner.movement+this.slidingManner.initialMovement,this.autoSliding()},e.prototype.autoSliding=function(){var t=this;if(this.mannerSetting.autoSliding&&1!==this.slideCnt){var e=this.mannerSetting.autoSliding.interval.slice(0,-1),i=1e3*parseInt(e);this.mannerSetting.circular?this.autoSlidingTimer=setInterval(function(){t.slidingManner.sliding||t.moveSlide(t.slidingManner.direction)},i):this.autoSlidingTimer=setInterval(function(){t.slidingManner.currentSlide===t.slideCnt?(t.slidingManner.direction=-1,t.moveSlide(t.slidingManner.direction)):1===t.slidingManner.currentSlide?(t.slidingManner.direction=1,t.moveSlide(t.slidingManner.direction)):t.moveSlide(t.slidingManner.direction)},i)}},e.prototype.itemsReorder=function(){for(var t=0;t<3*this.slideCnt;t++)t<this.slideCnt?this.refs["ref"+(t-this.slideCnt)].style.order=this.slidingManner.slideOrders[this.slidingManner.cycle][t]:this.refs["ref"+(t-this.slideCnt+1)].style.order=this.slidingManner.slideOrders[this.slidingManner.cycle][t]},e.prototype.movementReset=function(t){var e=this,i=setInterval(function(){if(!e.slidingManner.sliding){var n=e.refs.slideCon;n.style.transition="none",t>0?(n.style.transform="translateX(-"+e.slidingManner.initialMovement+"px)",e.slidingManner.movement=e.slidingManner.initialMovement):t<0&&(n.style.transform="translateX(-"+(e.slidingManner.movement+e.slidingManner.slidesTotalWidth)+"px)",e.slidingManner.movement=e.slidingManner.movement+e.slidingManner.slidesTotalWidth),clearInterval(i)}},25)},e.prototype.moveSlide=function(t){var e=this.mannerSetting.circular?3*this.slideCnt:this.slideCnt;if(this.loadedCnt===e){var i=0,n=this.refs.slideCon;this.mannerSetting.circular?(this.slidingManner.sliding=!0,n.style.transition="transform "+this.mannerSetting.duration+" ease",1===t?(i=this.calMovement(t),this.slidingManner.movement=this.slidingManner.movement+i,n.style.transform="translateX(-"+this.slidingManner.movement+"px)",this.slidingManner.currentSlide=this.slidingManner.currentSlide+1,this.slidingManner.currentSlide===this.slideCnt+1&&(this.slidingManner.currentSlide=1,this.slidingManner.cycle=2===this.slidingManner.cycle?0:this.slidingManner.cycle+1,this.itemsReorder(),this.movementReset(t))):-1===t&&(i=this.calMovement(t),this.slidingManner.movement=this.slidingManner.movement-i,n.style.transform="translateX(-"+this.slidingManner.movement+"px)",this.slidingManner.currentSlide=1===this.slidingManner.currentSlide?-1:this.slidingManner.currentSlide-1,-1===this.slidingManner.currentSlide&&(this.slidingManner.currentSlide=this.slideCnt,this.slidingManner.cycle=0===this.slidingManner.cycle?2:this.slidingManner.cycle-1,this.itemsReorder(),this.movementReset(t)))):1===t&&this.slidingManner.currentSlide<this.slideCnt?(this.slidingManner.sliding=!0,i=this.calMovement(t),this.slidingManner.currentSlide=this.slidingManner.currentSlide+1,this.slidingManner.movement=this.slidingManner.movement+i,n.style.transform="translateX(-"+this.slidingManner.movement+"px)"):-1===t&&this.slidingManner.currentSlide>1&&(this.slidingManner.sliding=!0,i=this.calMovement(t),this.slidingManner.currentSlide=this.slidingManner.currentSlide-1,this.slidingManner.movement=this.slidingManner.movement-i,n.style.transform="translateX(-"+this.slidingManner.movement+"px)")}},e.prototype.calMovement=function(t){var e=1===t?1:1===this.slidingManner.currentSlide?-2:-1;return this.imgsWidth[this.slidingManner.currentSlide]/2+2*this.itemsMargin+this.imgsWidth[this.slidingManner.currentSlide+e]/2},e.prototype.handleTouchStart=function(t){this.touchEvent.touchStartX=t.targetTouches[0].clientX,this.touchEvent.beingTouched=!0},e.prototype.handleTouchMove=function(t){if(this.touchEvent.beingTouched){var e=t.targetTouches[0].clientX,i=e-this.touchEvent.touchStartX;this.touchEvent.touchMovement=i,this.touchEvent.prevTouchX=e}},e.prototype.handleTouchEnd=function(t){this.touchEvent.touchStartX!=t.changedTouches[0].clientX&&(this.slidingManner.sliding||Math.abs(this.touchEvent.touchMovement)>25&&(this.touchEvent.touchMovement>0?this.moveSlide(-1):this.moveSlide(1)),this.touchEvent.touchStartX=0,this.touchEvent.beingTouched=!0)},e.prototype.handleButtonClick=function(t){this.slidingManner.sliding||this.moveSlide(t)},e.prototype.setTextBoxStyle=function(){if(this.props.textBoxStyle)return this.props.textBoxStyle},e.prototype.setItemsStyle=function(){if(this.props.itemsStyle){var t=JSON.parse(JSON.stringify(this.props.itemsStyle));return delete t.height,Object.assign({},this.defaultItemsStyle,t)}return JSON.parse(JSON.stringify(this.defaultItemsStyle))},e.prototype.setSlideConHeight=function(){return this.props.itemsStyle&&this.props.itemsStyle.height?{height:this.props.itemsStyle.height}:{height:this.defaultSlideConStyle.height}},e.prototype.detectButtonPosition=function(){var t=[],e=this.defaultBtnPosition;for(var i in this.props.buttonSetting&&this.props.buttonSetting.placeOn&&!1===e[this.props.buttonSetting.placeOn]&&(e[this.props.buttonSetting.placeOn]=!0),e)!0===e[i]&&(t=i.split("-"));var n=void 0;return n="left"!==t[1]&&"right"!==t[1]&&"inside"!==t[1],"middle"===t[0]?{separate:!0,outOfBox:n,vertical:t[0],horizontal:t[1]}:{separate:!1,outOfBox:n,vertical:t[0],horizontal:t[1]}},e.prototype.setRightButtonStyle=function(){var t=void 0;return t=this.defaultButtonIconStyle,this.props.buttonSetting&&this.props.buttonSetting.style&&this.props.buttonSetting.style.right&&(t=Object.assign({},this.defaultButtonIconStyle,this.props.buttonSetting.style.right)),t},e.prototype.setLeftButtonStyle=function(){var t=void 0;return t=this.defaultButtonIconStyle,this.props.buttonSetting&&this.props.buttonSetting.style&&this.props.buttonSetting.style.left&&(t=Object.assign({},this.defaultButtonIconStyle,this.props.buttonSetting.style.left)),t},e.prototype.allocateButtonSet=function(t){var e={};if(e=Object.assign({},this.defaultButtonSetStyle),!t.separate){switch(t.horizontal){case"beneath":break;case"left":e.position="absolute",e.left="0px";break;case"right":e.position="absolute",e.right="0px"}switch(t.vertical){case"top":e.position="absolute",e.top="0px";break;case"bottom":"beneath"!==t.horizontal&&(e.position="absolute",e.bottom="0px")}}return e},e.prototype.setSliderBoxStyles=function(){return this.props.sliderBoxStyle?Object.assign({},this.defaultSliderBoxStyle,this.props.sliderBoxStyle):this.defaultSliderBoxStyle},e.prototype.setHoverEvent=function(){if(this.props.buttonSetting&&(this.props.buttonSetting.hoverEvent?this.props.buttonSetting.hoverEvent:this.buttonManner.hoverEvent))return{opacity:0}},e.prototype.render=function(){var t=this,e=void 0,i=void 0,n=void 0,r=void 0,o=void 0,l=void 0,a=void 0,d=void 0,h=void 0,c=void 0,u=void 0;return this.slideCnt&&(this.mannerSetting.button&&(u=this.detectButtonPosition(),h=this.props.lBtnCpnt?this.props.lBtnCpnt:s.a.createElement("div",{className:"arrowBtn previous",style:this.setLeftButtonStyle()}),c=this.props.rBtnCpnt?this.props.rBtnCpnt:s.a.createElement("div",{className:"arrowBtn next",style:this.setRightButtonStyle()}),u.separate?(a=s.a.createElement("div",{className:"buttonWrapper left",style:this.setHoverEvent(),onClick:function(){return t.handleButtonClick(-1)}},h),d=s.a.createElement("div",{className:"buttonWrapper right",style:this.setHoverEvent(),onClick:function(){return t.handleButtonClick(1)}},c)):l=s.a.createElement("div",{className:"buttonSet",style:this.allocateButtonSet(u)},s.a.createElement("div",{className:"buttonWrapper",style:this.setHoverEvent(),onClick:function(){return t.handleButtonClick(-1)}},h),s.a.createElement("div",{className:"buttonWrapper",style:this.setHoverEvent(),onClick:function(){return t.handleButtonClick(1)}},c))),this.mannerSetting.circular&&this.slideCnt>1?i=(i=(i=this.slideEls.map(function(e,i){return t.slideItemHandler(e,i-t.slideCnt)})).concat(this.slideEls.map(function(e,i){return t.slideItemHandler(e,i+1)}))).concat(this.slideEls.map(function(e,i){return t.slideItemHandler(e,i+1+t.slideCnt)})):(this.mannerSetting.flag?(n=s.a.createElement("div",{className:"flag",ref:"sflag",style:{order:0},key:"sflag"}),r=s.a.createElement("div",{className:"flag",ref:"eflag",style:{order:this.slideCnt+1},key:"eflag"})):(n=s.a.createElement("div",{className:"flag",ref:"sflag",style:{background:"transparent",order:0},key:"sflag"}),r=s.a.createElement("div",{className:"flag",ref:"eflag",style:{background:"transparent",order:this.slideCnt+1},key:"eflag"})),(i=this.slideEls.map(function(e,i){return t.slideItemHandler(e,i+1)})).unshift(n),i.push(r)),o=this.mobileDetect()?s.a.createElement("div",{className:"slideCon",ref:"slideCon",style:this.setSlideConHeight(),onTouchStart:function(e){return t.handleTouchStart(e)},onTouchMove:function(e){return t.handleTouchMove(e)},onTouchEnd:function(e){return t.handleTouchEnd(e)}},i):s.a.createElement("div",{className:"slideCon",ref:"slideCon",style:this.setSlideConHeight()},i),e=u.separate?u.outOfBox?s.a.createElement("div",{className:"sliderSet"},a,s.a.createElement("div",{className:"sliderBox",ref:"sliderBox",style:this.setSliderBoxStyles()},o),d):s.a.createElement("div",{className:"sliderBox",ref:"sliderBox",style:this.setSliderBoxStyles()},a,o,d):u.outOfBox?s.a.createElement("div",null,s.a.createElement("div",{className:"sliderBox",ref:"sliderBox",style:this.setSliderBoxStyles()},o),l):s.a.createElement("div",{className:"sliderBox",ref:"sliderBox",style:this.setSliderBoxStyles()},l,o)),e},e}(n.Component);e.default=o},function(e,i){e.exports=t},function(t,e){}]).default});
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("react")):"function"==typeof define&&define.amd?define(["react"],e):"object"==typeof exports?exports.ReactCarouselSlider=e(require("react")):t.ReactCarouselSlider=e(t.React)}("undefined"!=typeof self?self:this,function(t){return function(t){var e={};function i(n){if(e[n])return e[n].exports;var s=e[n]={i:n,l:!1,exports:{}};return t[n].call(s.exports,s,s.exports,i),s.l=!0,s.exports}return i.m=t,i.c=e,i.d=function(t,e,n){i.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:n})},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s=0)}([function(t,e,i){t.exports=i(1)},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(2),s=i.n(n),r=i(3);i.n(r);var o=function(t){function e(i){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var n=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,t.call(this,i));return n.slidingManner={currentSlide:1,slidesTotalWidth:0,initialMovement:0,movement:0,direction:1,cycle:0,sliding:!1,slideOrders:[[],[],[]]},n.calculateSlidesOrder=n.calculateSlidesOrder.bind(n),n.itemsReorder=n.itemsReorder.bind(n),n.movementReset=n.movementReset.bind(n),n.loadedCnt=0,n.imgsWidth={},n.mannerSetting={autoSliding:!1,circular:!0,duration:"0.5s",flag:!1,button:!0},n.mannerSetting=n.handleMannerSetting(),n.defaultSliderBoxStyle={height:"400px",width:"90%",background:"#EEEEEE",border:"none"},n.defaultSlideConStyle={height:"80%"},n.defaultItemsStyle={padding:"3px",background:"#FAFAFA",margin:"0px 40px"},n.buttonManner={hoverEvent:!1},n.defaultButtonSetStyle={},n.defaultButtonIconStyle={color:"white",background:"#757575",height:"30px",width:"30px",margin:"10px",fontSize:"20px",borderRadius:"2px",border:"none"},n.defaultBtnPosition={"top-left":!0,"top-right":!1,"middle-inside":!1,"middle-outside":!1,"bottom-right":!1,"bottom-left":!1,"bottom-beneath":!1},n.itemsMargin=n.props.itemsStyle&&n.props.itemsStyle.margin?parseInt(n.props.itemsStyle.margin.split(" ")[1].replace("px","")):parseInt(n.defaultItemsStyle.margin.split(" ")[1].replace("px","")),n.slideType=n.props.slideItems?"prop":n.props.slideCpnts?"cpnt":null,n.slideCnt="prop"===n.slideType?n.props.slideItems.length:"cpnt"===n.slideType?n.props.slideCpnts.length:0,n.slideEls="prop"===n.slideType?n.props.slideItems:"cpnt"===n.slideType?n.props.slideCpnts:null,n.touchEvent={touchMovement:0,touchStartX:0,prevTouchX:0,beingTouched:!1},n.imgLoaded=n.imgLoaded.bind(n),n.nonImgLoaded=n.nonImgLoaded.bind(n),n.slideItemHandler=n.slideItemHandler.bind(n),n.initialSlideCon=n.initialSlideCon.bind(n),n.calMovement=n.calMovement.bind(n),n.autoSliding=n.autoSliding.bind(n),n.handleTouchStart=n.handleTouchStart.bind(n),n.handleTouchMove=n.handleTouchMove.bind(n),n.handleTouchEnd=n.handleTouchEnd.bind(n),n.handleButtonClick=n.handleButtonClick.bind(n),n.setSliderBoxStyles=n.setSliderBoxStyles.bind(n),n.setItemsStyle=n.setItemsStyle.bind(n),n.setSlideConHeight=n.setSlideConHeight.bind(n),n.detectButtonPosition=n.detectButtonPosition.bind(n),n.allocateButtonSet=n.allocateButtonSet.bind(n),n.setLeftButtonStyle=n.setLeftButtonStyle.bind(n),n.setHoverEvent=n.setHoverEvent.bind(n),n.calculateSlidesOrder(),n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e.prototype.componentWillUnmount=function(){clearInterval(this.autoSlidingTimer)},e.prototype.handleMannerSetting=function(){return this.props.manner?Object.assign({},this.mannerSetting,this.props.manner):this.mannerSetting},e.prototype.handleBubbling=function(t){t.stopPropagation()},e.prototype.calculateSlidesOrder=function(){for(var t=[],e=[],i=[],n=-1*this.slideCnt;n<=2*this.slideCnt;n++)0!==n&&t.push(n);this.slidingManner.slideOrders[0]=t;for(var s=0;s<t.length;s++)s<2*this.slideCnt?i.push(t[s]):e.push(t[s]);this.slidingManner.slideOrders[1]=e.concat(i),e=[],i=[];for(var r=0;r<t.length;r++)r<this.slideCnt?i.push(t[r]):e.push(t[r]);this.slidingManner.slideOrders[2]=e.concat(i)},e.prototype.mobileDetect=function(){return!!/Mobi|Tablet|iPad|iPhone/.test(navigator.userAgent)},e.prototype.nonImgLoaded=function(t){var e="ref"+t;if(this.refs[e]){var i=this.setItemsStyle(),n=this.refs[e];for(var s in i)n.style[s]=i[s];this.loadedCnt+=1,this.imgsWidth[t]=n.offsetWidth,(!this.mannerSetting.circular&&1===t||this.mannerSetting.circular&&1===this.slideCnt)&&this.initialSlideCon(),this.mannerSetting.circular&&this.loadedCnt===3*this.slideCnt&&this.initialSlideCon()}},e.prototype.imgLoaded=function(t){var e="ref"+t;if(this.refs[e]){var i=0,n=0,s=0,r=this.setItemsStyle(),o=this.refs[e];for(var l in o.offsetWidth>=this.refs.sliderBox.offsetWidth&&(i=o.offsetHeight/o.offsetWidth,s=(n=this.refs.sliderBox.offsetWidth-2*this.itemsMargin)*i,r.height=s+"px",r.width=n+"px"),r)o.style[l]=r[l];this.loadedCnt+=1,this.imgsWidth[t]=o.offsetWidth,(!this.mannerSetting.circular&&1===t||this.mannerSetting.circular&&1===this.slideCnt)&&this.initialSlideCon(),this.mannerSetting.circular&&this.loadedCnt===3*this.slideCnt&&this.initialSlideCon()}},e.prototype.slideItemHandler=function(t,e){var i=this;switch(this.slideType){case"prop":var n=(t.imgSrc,s.a.createElement("img",{src:t.imgSrc})),r=t.des?s.a.createElement("p",{style:this.setTextBoxStyle()},t.des):null;return s.a.createElement("div",{className:"itemWrapper",style:{order:e},onError:function(){return i.nonImgLoaded(e)},onLoad:function(){return i.imgLoaded(e)},onClick:this.handleBubbling,ref:"ref"+e,key:"ref"+e},n,r);case"cpnt":return s.a.createElement("div",{className:"itemWrapper",style:{order:e},onError:function(){return i.nonImgLoaded(e)},onLoad:function(){return i.imgLoaded(e)},onClick:this.handleBubbling,ref:"ref"+e,key:"ref"+e},t)}},e.prototype.initialSlideCon=function(){var t=this,e=this.refs.slideCon;if(e.addEventListener("transitionend",function(){t.slidingManner.sliding=!1}),this.mannerSetting.circular&&1!==this.slideCnt){for(var i=0,n=1;n<this.slideCnt+1;n++)i+=parseInt(this.imgsWidth[n]);this.slidingManner.slidesTotalWidth=i+this.slideCnt*this.itemsMargin*2,this.slidingManner.initialMovement=this.slidingManner.slidesTotalWidth-(this.refs.sliderBox.offsetWidth-(this.imgsWidth[1]+2*this.itemsMargin))/2}else this.refs.sflag.style.flexBasis=this.refs.sliderBox.offsetWidth+"px",this.refs.eflag.style.flexBasis=this.refs.sliderBox.offsetWidth+"px",e.style.transition="transform "+this.mannerSetting.duration+" ease",this.slidingManner.initialMovement=(this.refs.sliderBox.offsetWidth-this.imgsWidth[1])/2+this.itemsMargin+this.imgsWidth[1];e.style.transform="translateX(-"+this.slidingManner.initialMovement+"px)",this.slidingManner.movement=this.slidingManner.movement+this.slidingManner.initialMovement,this.autoSliding()},e.prototype.autoSliding=function(){var t=this;if(this.mannerSetting.autoSliding&&1!==this.slideCnt){var e=this.mannerSetting.autoSliding.interval.slice(0,-1),i=1e3*parseInt(e);this.mannerSetting.circular?this.autoSlidingTimer=setInterval(function(){t.slidingManner.sliding||t.moveSlide(t.slidingManner.direction)},i):this.autoSlidingTimer=setInterval(function(){t.slidingManner.currentSlide===t.slideCnt?(t.slidingManner.direction=-1,t.moveSlide(t.slidingManner.direction)):1===t.slidingManner.currentSlide?(t.slidingManner.direction=1,t.moveSlide(t.slidingManner.direction)):t.moveSlide(t.slidingManner.direction)},i)}},e.prototype.itemsReorder=function(){for(var t=0;t<3*this.slideCnt;t++)t<this.slideCnt?this.refs["ref"+(t-this.slideCnt)].style.order=this.slidingManner.slideOrders[this.slidingManner.cycle][t]:this.refs["ref"+(t-this.slideCnt+1)].style.order=this.slidingManner.slideOrders[this.slidingManner.cycle][t]},e.prototype.movementReset=function(t){var e=this,i=setInterval(function(){if(!e.slidingManner.sliding){var n=e.refs.slideCon;n.style.transition="none",t>0?(n.style.transform="translateX(-"+e.slidingManner.initialMovement+"px)",e.slidingManner.movement=e.slidingManner.initialMovement):t<0&&(n.style.transform="translateX(-"+(e.slidingManner.movement+e.slidingManner.slidesTotalWidth)+"px)",e.slidingManner.movement=e.slidingManner.movement+e.slidingManner.slidesTotalWidth),clearInterval(i)}},25)},e.prototype.moveSlide=function(t){var e=this.mannerSetting.circular?3*this.slideCnt:this.slideCnt;if(this.loadedCnt===e){var i=0,n=this.refs.slideCon;this.mannerSetting.circular?(this.slidingManner.sliding=!0,n.style.transition="transform "+this.mannerSetting.duration+" ease",1===t?(i=this.calMovement(t),this.slidingManner.movement=this.slidingManner.movement+i,n.style.transform="translateX(-"+this.slidingManner.movement+"px)",this.slidingManner.currentSlide=this.slidingManner.currentSlide+1,this.slidingManner.currentSlide===this.slideCnt+1&&(this.slidingManner.currentSlide=1,this.slidingManner.cycle=2===this.slidingManner.cycle?0:this.slidingManner.cycle+1,this.itemsReorder(),this.movementReset(t))):-1===t&&(i=this.calMovement(t),this.slidingManner.movement=this.slidingManner.movement-i,n.style.transform="translateX(-"+this.slidingManner.movement+"px)",this.slidingManner.currentSlide=1===this.slidingManner.currentSlide?-1:this.slidingManner.currentSlide-1,-1===this.slidingManner.currentSlide&&(this.slidingManner.currentSlide=this.slideCnt,this.slidingManner.cycle=0===this.slidingManner.cycle?2:this.slidingManner.cycle-1,this.itemsReorder(),this.movementReset(t)))):1===t&&this.slidingManner.currentSlide<this.slideCnt?(this.slidingManner.sliding=!0,i=this.calMovement(t),this.slidingManner.currentSlide=this.slidingManner.currentSlide+1,this.slidingManner.movement=this.slidingManner.movement+i,n.style.transform="translateX(-"+this.slidingManner.movement+"px)"):-1===t&&this.slidingManner.currentSlide>1&&(this.slidingManner.sliding=!0,i=this.calMovement(t),this.slidingManner.currentSlide=this.slidingManner.currentSlide-1,this.slidingManner.movement=this.slidingManner.movement-i,n.style.transform="translateX(-"+this.slidingManner.movement+"px)")}},e.prototype.calMovement=function(t){var e=1===t?1:1===this.slidingManner.currentSlide?-2:-1;return this.imgsWidth[this.slidingManner.currentSlide]/2+2*this.itemsMargin+this.imgsWidth[this.slidingManner.currentSlide+e]/2},e.prototype.handleTouchStart=function(t){this.touchEvent.touchStartX=t.targetTouches[0].clientX,this.touchEvent.beingTouched=!0},e.prototype.handleTouchMove=function(t){if(this.touchEvent.beingTouched){var e=t.targetTouches[0].clientX,i=e-this.touchEvent.touchStartX;this.touchEvent.touchMovement=i,this.touchEvent.prevTouchX=e}},e.prototype.handleTouchEnd=function(t){this.touchEvent.touchStartX!=t.changedTouches[0].clientX&&(this.slidingManner.sliding||Math.abs(this.touchEvent.touchMovement)>25&&(this.touchEvent.touchMovement>0?this.moveSlide(-1):this.moveSlide(1)),this.touchEvent.touchStartX=0,this.touchEvent.beingTouched=!0)},e.prototype.handleButtonClick=function(t){this.slidingManner.sliding||this.moveSlide(t)},e.prototype.setTextBoxStyle=function(){if(this.props.textBoxStyle)return this.props.textBoxStyle},e.prototype.setItemsStyle=function(){if(this.props.itemsStyle){var t=JSON.parse(JSON.stringify(this.props.itemsStyle));return delete t.height,Object.assign({},this.defaultItemsStyle,t)}return JSON.parse(JSON.stringify(this.defaultItemsStyle))},e.prototype.setSlideConHeight=function(){return this.props.itemsStyle&&this.props.itemsStyle.height?{height:this.props.itemsStyle.height}:{height:this.defaultSlideConStyle.height}},e.prototype.detectButtonPosition=function(){var t=[],e=this.defaultBtnPosition;for(var i in this.props.buttonSetting&&this.props.buttonSetting.placeOn&&!1===e[this.props.buttonSetting.placeOn]&&(e[this.props.buttonSetting.placeOn]=!0),e)!0===e[i]&&(t=i.split("-"));var n=void 0;return n="left"!==t[1]&&"right"!==t[1]&&"inside"!==t[1],"middle"===t[0]?{separate:!0,outOfBox:n,vertical:t[0],horizontal:t[1]}:{separate:!1,outOfBox:n,vertical:t[0],horizontal:t[1]}},e.prototype.setRightButtonStyle=function(){var t=void 0;return t=this.defaultButtonIconStyle,this.props.buttonSetting&&this.props.buttonSetting.style&&this.props.buttonSetting.style.right&&(t=Object.assign({},this.defaultButtonIconStyle,this.props.buttonSetting.style.right)),t},e.prototype.setLeftButtonStyle=function(){var t=void 0;return t=this.defaultButtonIconStyle,this.props.buttonSetting&&this.props.buttonSetting.style&&this.props.buttonSetting.style.left&&(t=Object.assign({},this.defaultButtonIconStyle,this.props.buttonSetting.style.left)),t},e.prototype.allocateButtonSet=function(t){var e={};if(e=Object.assign({},this.defaultButtonSetStyle),!t.separate){switch(t.horizontal){case"beneath":break;case"left":e.position="absolute",e.left="0px";break;case"right":e.position="absolute",e.right="0px"}switch(t.vertical){case"top":e.position="absolute",e.top="0px";break;case"bottom":"beneath"!==t.horizontal&&(e.position="absolute",e.bottom="0px")}}return e},e.prototype.setSliderBoxStyles=function(){return this.props.sliderBoxStyle?Object.assign({},this.defaultSliderBoxStyle,this.props.sliderBoxStyle):this.defaultSliderBoxStyle},e.prototype.setHoverEvent=function(){if(this.props.buttonSetting&&(this.props.buttonSetting.hoverEvent?this.props.buttonSetting.hoverEvent:this.buttonManner.hoverEvent))return{opacity:0}},e.prototype.render=function(){var t=this,e=void 0,i=void 0,n=void 0,r=void 0,o=void 0,l=void 0,a=void 0,d=void 0,h=void 0,c=void 0,u=void 0;return this.slideCnt&&(this.mannerSetting.button&&(u=this.detectButtonPosition(),h=this.props.lBtnCpnt?this.props.lBtnCpnt:s.a.createElement("div",{className:"arrowBtn previous",style:this.setLeftButtonStyle()}),c=this.props.rBtnCpnt?this.props.rBtnCpnt:s.a.createElement("div",{className:"arrowBtn next",style:this.setRightButtonStyle()}),u.separate?(a=s.a.createElement("div",{className:"buttonWrapper left",style:this.setHoverEvent(),onClick:function(){return t.handleButtonClick(-1)}},h),d=s.a.createElement("div",{className:"buttonWrapper right",style:this.setHoverEvent(),onClick:function(){return t.handleButtonClick(1)}},c)):l=s.a.createElement("div",{className:"buttonSet",style:this.allocateButtonSet(u)},s.a.createElement("div",{className:"buttonWrapper",style:this.setHoverEvent(),onClick:function(){return t.handleButtonClick(-1)}},h),s.a.createElement("div",{className:"buttonWrapper",style:this.setHoverEvent(),onClick:function(){return t.handleButtonClick(1)}},c))),this.mannerSetting.circular&&this.slideCnt>1?i=(i=(i=this.slideEls.map(function(e,i){return t.slideItemHandler(e,i-t.slideCnt)})).concat(this.slideEls.map(function(e,i){return t.slideItemHandler(e,i+1)}))).concat(this.slideEls.map(function(e,i){return t.slideItemHandler(e,i+1+t.slideCnt)})):(this.mannerSetting.flag?(n=s.a.createElement("div",{className:"flag",ref:"sflag",style:{order:0},key:"sflag"}),r=s.a.createElement("div",{className:"flag",ref:"eflag",style:{order:this.slideCnt+1},key:"eflag"})):(n=s.a.createElement("div",{className:"flag",ref:"sflag",style:{background:"transparent",order:0},key:"sflag"}),r=s.a.createElement("div",{className:"flag",ref:"eflag",style:{background:"transparent",order:this.slideCnt+1},key:"eflag"})),(i=this.slideEls.map(function(e,i){return t.slideItemHandler(e,i+1)})).unshift(n),i.push(r)),o=this.mobileDetect()?s.a.createElement("div",{className:"slideCon",ref:"slideCon",style:this.setSlideConHeight(),onTouchStart:function(e){return t.handleTouchStart(e)},onTouchMove:function(e){return t.handleTouchMove(e)},onTouchEnd:function(e){return t.handleTouchEnd(e)}},i):s.a.createElement("div",{className:"slideCon",ref:"slideCon",style:this.setSlideConHeight()},i),e=this.mannerSetting.button?u.separate?u.outOfBox?s.a.createElement("div",{className:"sliderSet"},a,s.a.createElement("div",{className:"sliderBox",ref:"sliderBox",style:this.setSliderBoxStyles()},o),d):s.a.createElement("div",{className:"sliderBox",ref:"sliderBox",style:this.setSliderBoxStyles()},a,o,d):u.outOfBox?s.a.createElement("div",null,s.a.createElement("div",{className:"sliderBox",ref:"sliderBox",style:this.setSliderBoxStyles()},o),l):s.a.createElement("div",{className:"sliderBox",ref:"sliderBox",style:this.setSliderBoxStyles()},l,o):s.a.createElement("div",{className:"sliderSet"},s.a.createElement("div",{className:"sliderBox",ref:"sliderBox",style:this.setSliderBoxStyles()},o))),e},e}(n.Component);e.default=o},function(e,i){e.exports=t},function(t,e){}]).default});
//# sourceMappingURL=react-carousel-slider.min.js.map

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc