{"version":3,"sources":["../node_modules/react-responsive-carousel/lib/cssClasses.js","../node_modules/react-responsive-carousel/lib/CSSTranslate.js","../node_modules/react-easy-swipe/lib/index.js","../node_modules/react-responsive-carousel/lib/components/Carousel.js","../node_modules/react-easy-swipe/lib/react-swipe.js","../node_modules/react-responsive-carousel/lib/components/Thumbs.js","../node_modules/react-responsive-carousel/lib/dimensions.js","../node_modules/react-responsive-carousel/lib/customPropTypes.js","../node_modules/react-youtube/es/YouTube.js","../node_modules/react-youtube/node_modules/fast-deep-equal/index.js","../node_modules/youtube-player/dist/index.js","../node_modules/sister/src/sister.js","../node_modules/youtube-player/dist/YouTubePlayer.js","../node_modules/youtube-player/node_modules/debug/src/browser.js","../node_modules/youtube-player/node_modules/debug/src/common.js","../node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/toConsumableArray.js","../node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/arrayWithoutHoles.js","../node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/iterableToArray.js","../node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/nonIterableSpread.js","../node_modules/youtube-player/node_modules/ms/index.js","../node_modules/youtube-player/dist/FunctionStateMap.js","../node_modules/youtube-player/dist/constants/PlayerStates.js","../node_modules/youtube-player/dist/eventNames.js","../node_modules/youtube-player/dist/functionNames.js","../node_modules/youtube-player/dist/loadYouTubeIframeApi.js","../node_modules/load-script/index.js"],"names":["Object","defineProperty","exports","value","obj","_classnames","__webpack_require__","_classnames2","__esModule","default","CAROUSEL","isSlider","carousel","carousel-slider","WRAPPER","axis","thumbs-wrapper","slider-wrapper","axis-horizontal","axis-vertical","SLIDER","isSwiping","thumbs","slider","animated","ITEM","selected","thumb","slide","ARROW_PREV","disabled","control-arrow control-prev","control-disabled","ARROW_NEXT","control-arrow control-next","DOT","dot","position","join","__WEBPACK_AMD_DEFINE_FACTORY__","__WEBPACK_AMD_DEFINE_ARRAY__","__WEBPACK_AMD_DEFINE_RESULT__","undefined","_reactSwipe","_reactSwipe2","apply","module","_extends","assign","target","i","arguments","length","source","key","prototype","hasOwnProperty","call","_createClass","defineProperties","props","descriptor","enumerable","configurable","writable","Constructor","protoProps","staticProps","_react","_react2","_interopRequireDefault","_reactDom2","_propTypes2","_cssClasses2","_CSSTranslate2","_reactEasySwipe2","_Thumbs2","customPropTypes","newObj","_interopRequireWildcard","noop","Carousel","_Component","instance","TypeError","_classCallCheck","this","_this","self","ReferenceError","_possibleConstructorReturn","__proto__","getPrototypeOf","setThumbsRef","node","thumbsRef","setCarouselWrapperRef","carouselWrapperRef","setListRef","listRef","setItemsWrapperRef","itemsWrapperRef","setItemsRef","index","itemsRef","autoPlay","state","Children","count","children","clearTimeout","timer","setTimeout","increment","interval","clearAutoPlay","resetAutoPlay","stopOnHover","setState","isMouseEntered","startOnLeave","navigateWithKeyboard","e","isHorizontal","prevKey","keyCode","decrement","updateSizes","initialized","firstItem","itemSize","clientWidth","clientHeight","_state","setMountState","hasMount","handleClickItem","item","cancelClick","onClickItem","selectedItem","handleOnChange","onChange","handleClickThumb","onClickThumb","selectItem","onSwipeStart","event","swiping","onSwipeEnd","onSwipeMove","delta","childrenLength","currentPosition","getPosition","finalBoundry","infiniteLoop","axisDelta","x","y","handledDelta","setPosition","hasMoved","Math","abs","swipeScrollTolerance","forceReflow","list","findDOMNode","forEach","prop","style","offsetLeft","resetPosition","positions","fromSwipe","moveTo","lastPosition","needClonedSlide","oldPosition","centerMode","centerSlidePercentage","onClickNext","onClickPrev","onSwipeForward","onSwipeBackwards","changeItem","newIndex","cb","toArray","getInitialImage","images","getElementsByTagName","getVariableImageHeight","image","complete","addEventListener","onImageLoad","forceUpdate","removeEventListener","height","subClass","superClass","create","constructor","setPrototypeOf","_inherits","Component","setupCarousel","nextProps","_this2","setupAutoPlay","destroyAutoPlay","prevProps","prevState","destroyCarousel","bindEvents","initialImage","unbindEvents","carouselWrapper","window","useKeyboardArrows","document","isClone","_this3","map","slideProps","ref","className","onClick","bind","minWidth","createElement","_this4","showIndicators","onKeyDown","role","tabIndex","aria-label","labels","showStatus","statusFormatter","showThumbs","onSelectItem","transitionTime","thumbWidth","canShowArrows","showArrows","hasPrev","hasNext","itemListStyles","transformProp","WebkitTransform","MozTransform","MsTransform","OTransform","transform","msTransform","WebkitTransitionDuration","MozTransitionDuration","MsTransitionDuration","OTransitionDuration","transitionDuration","msTransitionDuration","itemsClone","renderItems","firstClone","shift","lastClone","pop","swiperProps","tolerance","containerStyles","onSwipeLeft","onSwipeRight","dynamicHeight","itemHeight","onSwipeUp","verticalSwipe","onSwipeDown","width","type","leftArrow","swipeable","tagName","allowMouseEvents","emulateTouch","rightArrow","renderControls","renderStatus","renderThumbs","displayName","propTypes","string","bool","number","func","isRequired","oneOf","unit","shape","defaultProps","current","total","_propTypes","setHasSupportToCaptureOption","supportsCaptureOption","hasSupport","get","getSafeEventHandlerOpts","options","capture","_event$touches$","touches","pageX","pageY","screenX","screenY","ReactSwipe","_ref","_len","args","Array","_key","concat","_handleSwipeStart","_handleSwipeMove","_handleSwipeEnd","_onMouseDown","_onMouseMove","_onMouseUp","swiper","passive","mouseDown","_getPosition","moveStart","_getPosition2","deltaX","deltaY","moving","shouldPreventDefault","preventDefault","movePosition","onMouseDown","onTouchStart","onTouchEnd","object","_dimensions","Thumbs","_initialiseProps","visibleItems","getImages","setupThumbs","getFirstItem","destroyThumbs","img","filter","console","warn","itemClass","thumbProps","cloneElement","onLoad","slideRight","slideLeft","setItemsListRef","propsTypes","element","itemsListRef","wrapperSize","outerWidth","floor","handler","el","offsetWidth","getComputedStyle","parseInt","marginLeft","marginRight","propName","componentName","test","Error","prop_types__WEBPACK_IMPORTED_MODULE_0__","prop_types__WEBPACK_IMPORTED_MODULE_0___default","n","react__WEBPACK_IMPORTED_MODULE_1__","react__WEBPACK_IMPORTED_MODULE_1___default","fast_deep_equal__WEBPACK_IMPORTED_MODULE_2__","fast_deep_equal__WEBPACK_IMPORTED_MODULE_2___default","youtube_player__WEBPACK_IMPORTED_MODULE_3__","youtube_player__WEBPACK_IMPORTED_MODULE_3___default","filterResetOptions","opts","playerVars","autoplay","start","end","YouTube","_React$Component","onPlayerReady","onReady","onPlayerError","onError","onPlayerStateChange","onStateChange","data","PlayerState","ENDED","onEnd","PLAYING","onPlay","PAUSED","onPause","onPlayerPlaybackRateChange","onPlaybackRateChange","onPlayerPlaybackQualityChange","onPlaybackQualityChange","createPlayer","playerOpts","videoId","internalPlayer","container","on","resetPlayer","destroy","then","updatePlayer","getIframe","iframe","id","setAttribute","removeAttribute","updateVideo","startSeconds","endSeconds","loadVideoById","cueVideoById","stopVideo","refContainer","a","shouldUpdatePlayer","shouldResetPlayer","prevVars","vars","shouldUpdateVideo","containerClassName","objectOf","any","UNSTARTED","BUFFERING","CUED","__webpack_exports__","isArray","keyList","keys","hasProp","equal","b","arrA","arrB","dateA","Date","dateB","getTime","regexpA","RegExp","regexpB","toString","youtubeIframeAPI","_sister2","_YouTubePlayer2","_loadYouTubeIframeApi2","maybeElementId","strictState","emitter","events","getElementById","proxyEvents","playerAPIReady","Promise","resolve","playVideo","Function","YT","player","Player","playerApi","promisifyPlayer","off","Sister","sister","name","listener","unshift","indexOf","splice","trigger","listeners","_createForOfIteratorHelper","r","t","Symbol","iterator","_arrayLikeToArray","slice","from","_unsupportedIterableToArray","_n","F","s","done","f","o","u","next","return","_debug2","_FunctionStateMap2","_eventNames2","_functionNames2","debug","YouTubePlayer","_step","_iterator","_loop","eventName","onEventName","toUpperCase","err","_step2","functions","_iterator2","_loop2","functionName","stateInfo","playerState","getPlayerState","stateChangeRequired","acceptableStates","includes","_onPlayerStateChange","timeout","playerStateAfterChange","_len2","_key2","process","formatArgs","useColors","namespace","humanize","diff","c","color","lastC","replace","match","save","namespaces","storage","setItem","removeItem","error","load","getItem","NODE_ENV","PUBLIC_URL","DEBUG","__nwjs","navigator","userAgent","toLowerCase","m","documentElement","WebkitAppearance","firebug","exception","table","localStorage","localstorage","warned","colors","log","formatters","j","v","JSON","stringify","message","_toConsumableArray","env","createDebug","prevTime","namespacesCache","enabledCache","enableOverride","enabled","curr","Number","ms","prev","coerce","format","formatter","val","selectColor","extend","set","init","delimiter","newDebug","toNamespace","regexp","substring","stack","disable","names","skips","enable","split","len","push","hash","charCodeAt","arrayWithoutHoles","iterableToArray","nonIterableSpread","arr","arr2","iter","h","d","w","plural","msAbs","isPlural","round","str","String","exec","parseFloat","parse","isFinite","long","fmtLong","fmtShort","_PlayerStates","_PlayerStates2","pauseVideo","seekTo","VIDEO_CUED","_loadScript","_loadScript2","protocol","location","previous","onYouTubeIframeAPIReady","stdOnEnd","script","onload","onerror","src","ieOnEnd","onreadystatechange","readyState","head","charset","async","attrs","attr","setAttributes","text","appendChild"],"mappings":"4FAEAA,OAAAC,eAAAC,EAAA,cACAC,OAAA,IAEA,IAEAC,EAFAC,EAAkBC,EAAQ,IAC1BC,GACAH,EADAC,IAEAD,EAAAI,WAAAJ,EAAA,CACAK,QAAAL,GAGAF,EAAAO,QAAA,CACAC,SAAA,SAAAC,GACA,SAAAJ,EAAAE,SAAA,CACAG,UAAA,EACAC,kBAAAF,KAGAG,QAAA,SAAAH,EAAAI,GACA,SAAAR,EAAAE,SAAA,CACAO,kBAAAL,EACAM,iBAAAN,EACAO,kBAAA,eAAAH,EACAI,gBAAA,eAAAJ,KAGAK,OAAA,SAAAT,EAAAU,GACA,SAAAd,EAAAE,SAAA,CACAa,QAAAX,EACAY,OAAAZ,EACAa,UAAAH,KAGAI,KAAA,SAAAd,EAAAe,GACA,SAAAnB,EAAAE,SAAA,CACAkB,OAAAhB,EACAiB,MAAAjB,EACAe,cAGAG,WAAA,SAAAC,GACA,SAAAvB,EAAAE,SAAA,CACAsB,8BAAA,EACAC,mBAAAF,KAGAG,WAAA,SAAAH,GACA,SAAAvB,EAAAE,SAAA,CACAyB,8BAAA,EACAF,mBAAAF,KAGAK,IAAA,SAAAT,GACA,SAAAnB,EAAAE,SAAA,CACA2B,KAAA,EACAV,kDCtDA1B,OAAAC,eAAAC,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b,EAAAa,KAAA,GAAAtR,EAAAsR,OAEA,WAAAb,EAAAD,EAAAK,GACAJ,EAAAtd,GAKAsd,EAAAC,QACAF,EAAAC,EAAAtd,GAEA6d,EAAAO,YAAAd","file":"static/js/15.15d651bd.chunk.js","sourcesContent":["\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar _classnames = require(\"classnames\");\nvar _classnames2 = _interopRequireDefault(_classnames);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n default: obj\n };\n}\nexports.default = {\n CAROUSEL: function CAROUSEL(isSlider) {\n return (0, _classnames2.default)({\n \"carousel\": true,\n \"carousel-slider\": isSlider\n });\n },\n WRAPPER: function WRAPPER(isSlider, axis) {\n return (0, _classnames2.default)({\n \"thumbs-wrapper\": !isSlider,\n \"slider-wrapper\": isSlider,\n \"axis-horizontal\": axis === \"horizontal\",\n \"axis-vertical\": axis !== \"horizontal\"\n });\n },\n SLIDER: function SLIDER(isSlider, isSwiping) {\n return (0, _classnames2.default)({\n \"thumbs\": !isSlider,\n \"slider\": isSlider,\n \"animated\": !isSwiping\n });\n },\n ITEM: function ITEM(isSlider, selected) {\n return (0, _classnames2.default)({\n \"thumb\": !isSlider,\n \"slide\": isSlider,\n \"selected\": selected\n });\n },\n ARROW_PREV: function ARROW_PREV(disabled) {\n return (0, _classnames2.default)({\n \"control-arrow control-prev\": true,\n \"control-disabled\": disabled\n });\n },\n ARROW_NEXT: function ARROW_NEXT(disabled) {\n return (0, _classnames2.default)({\n \"control-arrow control-next\": true,\n \"control-disabled\": disabled\n });\n },\n DOT: function DOT(selected) {\n return (0, _classnames2.default)({\n \"dot\": true,\n 'selected': selected\n });\n }\n};","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = function (position, axis) {\n var positionCss = axis === 'horizontal' ? [position, 0, 0] : [0, position, 0];\n var transitionProp = 'translate3d';\n var translatedPosition = '(' + positionCss.join(',') + ')';\n return transitionProp + translatedPosition;\n};","(function (global, factory) {\n if (typeof define === \"function\" && define.amd) {\n define(['exports', './react-swipe'], factory);\n } else if (typeof exports !== \"undefined\") {\n factory(exports, require('./react-swipe'));\n } else {\n var mod = {\n exports: {}\n };\n factory(mod.exports, global.reactSwipe);\n global.index = mod.exports;\n }\n})(this, function (exports, _reactSwipe) {\n 'use strict';\n\n Object.defineProperty(exports, \"__esModule\", {\n value: true\n });\n var _reactSwipe2 = _interopRequireDefault(_reactSwipe);\n function _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n default: obj\n };\n }\n exports.default = _reactSwipe2.default;\n});","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar _extends = Object.assign || function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n return target;\n};\nvar _createClass = function () {\n function defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n }\n return function (Constructor, protoProps, staticProps) {\n if (protoProps) defineProperties(Constructor.prototype, protoProps);\n if (staticProps) defineProperties(Constructor, staticProps);\n return Constructor;\n };\n}();\nvar _react = require('react');\nvar _react2 = _interopRequireDefault(_react);\nvar _reactDom = require('react-dom');\nvar _reactDom2 = _interopRequireDefault(_reactDom);\nvar _propTypes = require('prop-types');\nvar _propTypes2 = _interopRequireDefault(_propTypes);\nvar _cssClasses = require('../cssClasses');\nvar _cssClasses2 = _interopRequireDefault(_cssClasses);\nvar _CSSTranslate = require('../CSSTranslate');\nvar _CSSTranslate2 = _interopRequireDefault(_CSSTranslate);\nvar _reactEasySwipe = require('react-easy-swipe');\nvar _reactEasySwipe2 = _interopRequireDefault(_reactEasySwipe);\nvar _Thumbs = require('./Thumbs');\nvar _Thumbs2 = _interopRequireDefault(_Thumbs);\nvar _customPropTypes = require('../customPropTypes');\nvar customPropTypes = _interopRequireWildcard(_customPropTypes);\nfunction _interopRequireWildcard(obj) {\n if (obj && obj.__esModule) {\n return obj;\n } else {\n var newObj = {};\n if (obj != null) {\n for (var key in obj) {\n if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key];\n }\n }\n newObj.default = obj;\n return newObj;\n }\n}\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n default: obj\n };\n}\nfunction _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}\nfunction _possibleConstructorReturn(self, call) {\n if (!self) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self;\n}\nfunction _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass);\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n enumerable: false,\n writable: true,\n configurable: true\n }\n });\n if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass;\n}\nvar noop = function noop() {};\nvar defaultStatusFormatter = function defaultStatusFormatter(current, total) {\n return current + ' of ' + total;\n};\nvar Carousel = function (_Component) {\n _inherits(Carousel, _Component);\n function Carousel(props) {\n _classCallCheck(this, Carousel);\n var _this = _possibleConstructorReturn(this, (Carousel.__proto__ || Object.getPrototypeOf(Carousel)).call(this, props));\n _this.setThumbsRef = function (node) {\n _this.thumbsRef = node;\n };\n _this.setCarouselWrapperRef = function (node) {\n _this.carouselWrapperRef = node;\n };\n _this.setListRef = function (node) {\n _this.listRef = node;\n };\n _this.setItemsWrapperRef = function (node) {\n _this.itemsWrapperRef = node;\n };\n _this.setItemsRef = function (node, index) {\n if (!_this.itemsRef) {\n _this.itemsRef = [];\n }\n _this.itemsRef[index] = node;\n };\n _this.autoPlay = function () {\n if (!_this.state.autoPlay || _react.Children.count(_this.props.children) <= 1) {\n return;\n }\n clearTimeout(_this.timer);\n _this.timer = setTimeout(function () {\n _this.increment();\n }, _this.props.interval);\n };\n _this.clearAutoPlay = function () {\n if (!_this.state.autoPlay) {\n return;\n }\n clearTimeout(_this.timer);\n };\n _this.resetAutoPlay = function () {\n _this.clearAutoPlay();\n _this.autoPlay();\n };\n _this.stopOnHover = function () {\n _this.setState({\n isMouseEntered: true\n });\n _this.clearAutoPlay();\n };\n _this.startOnLeave = function () {\n _this.setState({\n isMouseEntered: false\n });\n _this.autoPlay();\n };\n _this.navigateWithKeyboard = function (e) {\n var axis = _this.props.axis;\n var isHorizontal = axis === 'horizontal';\n var keyNames = {\n ArrowUp: 38,\n ArrowRight: 39,\n ArrowDown: 40,\n ArrowLeft: 37\n };\n var nextKey = isHorizontal ? keyNames.ArrowRight : keyNames.ArrowDown;\n var prevKey = isHorizontal ? keyNames.ArrowLeft : keyNames.ArrowUp;\n if (nextKey === e.keyCode) {\n _this.increment();\n } else if (prevKey === e.keyCode) {\n _this.decrement();\n }\n };\n _this.updateSizes = function () {\n if (!_this.state.initialized) {\n return;\n }\n var isHorizontal = _this.props.axis === 'horizontal';\n var firstItem = _this.itemsRef[0];\n var itemSize = isHorizontal ? firstItem.clientWidth : firstItem.clientHeight;\n _this.setState(function (_state, props) {\n return {\n itemSize: itemSize\n };\n });\n if (_this.thumbsRef) {\n _this.thumbsRef.updateSizes();\n }\n };\n _this.setMountState = function () {\n _this.setState({\n hasMount: true\n });\n _this.updateSizes();\n };\n _this.handleClickItem = function (index, item) {\n if (_react.Children.count(_this.props.children) === 0) {\n return;\n }\n if (_this.state.cancelClick) {\n _this.setState({\n cancelClick: false\n });\n return;\n }\n _this.props.onClickItem(index, item);\n if (index !== _this.state.selectedItem) {\n _this.setState({\n selectedItem: index\n });\n }\n };\n _this.handleOnChange = function (index, item) {\n if (_react.Children.count(_this.props.children) <= 1) {\n return;\n }\n _this.props.onChange(index, item);\n };\n _this.handleClickThumb = function (index, item) {\n _this.props.onClickThumb(index, item);\n _this.selectItem({\n selectedItem: index\n });\n };\n _this.onSwipeStart = function (event) {\n _this.setState({\n swiping: true\n });\n _this.props.onSwipeStart(event);\n _this.clearAutoPlay();\n };\n _this.onSwipeEnd = function (event) {\n _this.setState({\n swiping: false,\n cancelClick: false\n });\n _this.props.onSwipeEnd(event);\n _this.autoPlay();\n };\n _this.onSwipeMove = function (delta, event) {\n _this.props.onSwipeMove(event);\n var isHorizontal = _this.props.axis === 'horizontal';\n var childrenLength = _react.Children.count(_this.props.children);\n var initialBoundry = 0;\n var currentPosition = _this.getPosition(_this.state.selectedItem);\n var finalBoundry = _this.props.infiniteLoop ? _this.getPosition(childrenLength - 1) - 100 : _this.getPosition(childrenLength - 1);\n var axisDelta = isHorizontal ? delta.x : delta.y;\n var handledDelta = axisDelta;\n\n // prevent user from swiping left out of boundaries\n if (currentPosition === initialBoundry && axisDelta > 0) {\n handledDelta = 0;\n }\n\n // prevent user from swiping right out of boundaries\n if (currentPosition === finalBoundry && axisDelta < 0) {\n handledDelta = 0;\n }\n var position = currentPosition + 100 / (_this.state.itemSize / handledDelta);\n if (_this.props.infiniteLoop) {\n // When allowing infinite loop, if we slide left from position 0 we reveal the cloned last slide that appears before it\n // if we slide even further we need to jump to other side so it can continue - and vice versa for the last slide\n if (_this.state.selectedItem === 0 && position > -100) {\n position -= childrenLength * 100;\n } else if (_this.state.selectedItem === childrenLength - 1 && position < -childrenLength * 100) {\n position += childrenLength * 100;\n }\n }\n position += '%';\n _this.setPosition(position);\n\n // allows scroll if the swipe was within the tolerance\n var hasMoved = Math.abs(axisDelta) > _this.props.swipeScrollTolerance;\n if (hasMoved && !_this.state.cancelClick) {\n _this.setState({\n cancelClick: true\n });\n }\n return hasMoved;\n };\n _this.setPosition = function (position, forceReflow) {\n var list = _reactDom2.default.findDOMNode(_this.listRef);\n ['WebkitTransform', 'MozTransform', 'MsTransform', 'OTransform', 'transform', 'msTransform'].forEach(function (prop) {\n list.style[prop] = (0, _CSSTranslate2.default)(position, _this.props.axis);\n });\n if (forceReflow) {\n list.offsetLeft;\n }\n };\n _this.resetPosition = function () {\n var currentPosition = _this.getPosition(_this.state.selectedItem) + '%';\n _this.setPosition(currentPosition);\n };\n _this.decrement = function () {\n var positions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 1;\n var fromSwipe = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n _this.moveTo(_this.state.selectedItem - (typeof positions === 'number' ? positions : 1), fromSwipe);\n };\n _this.increment = function () {\n var positions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 1;\n var fromSwipe = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n _this.moveTo(_this.state.selectedItem + (typeof positions === 'number' ? positions : 1), fromSwipe);\n };\n _this.moveTo = function (position, fromSwipe) {\n var lastPosition = _react.Children.count(_this.props.children) - 1;\n var needClonedSlide = _this.props.infiniteLoop && !fromSwipe && (position < 0 || position > lastPosition);\n var oldPosition = position;\n if (position < 0) {\n position = _this.props.infiniteLoop ? lastPosition : 0;\n }\n if (position > lastPosition) {\n position = _this.props.infiniteLoop ? 0 : lastPosition;\n }\n if (needClonedSlide) {\n // set swiping true would disable transition time, then we set slider to cloned position and force a reflow\n // this is only needed for non-swiping situation\n _this.setState({\n swiping: true\n }, function () {\n if (oldPosition < 0) {\n if (_this.props.centerMode && _this.props.axis === 'horizontal') {\n _this.setPosition('-' + ((lastPosition + 2) * _this.props.centerSlidePercentage - (100 - _this.props.centerSlidePercentage) / 2) + '%', true);\n } else {\n _this.setPosition('-' + (lastPosition + 2) * 100 + '%', true);\n }\n } else if (oldPosition > lastPosition) {\n _this.setPosition(0, true);\n }\n _this.selectItem({\n selectedItem: position,\n swiping: false\n });\n });\n } else {\n _this.selectItem({\n // if it's not a slider, we don't need to set position here\n selectedItem: position\n });\n }\n\n // don't reset auto play when stop on hover is enabled, doing so will trigger a call to auto play more than once\n // and will result in the interval function not being cleared correctly.\n if (_this.state.autoPlay && _this.state.isMouseEntered === false) {\n _this.resetAutoPlay();\n }\n };\n _this.onClickNext = function () {\n _this.increment(1, false);\n };\n _this.onClickPrev = function () {\n _this.decrement(1, false);\n };\n _this.onSwipeForward = function () {\n _this.increment(1, true);\n };\n _this.onSwipeBackwards = function () {\n _this.decrement(1, true);\n };\n _this.changeItem = function (e) {\n if (!e.key || e.key === 'Enter') {\n var newIndex = e.target.value;\n _this.selectItem({\n selectedItem: newIndex\n });\n }\n };\n _this.selectItem = function (state, cb) {\n _this.setState(state, cb);\n _this.handleOnChange(state.selectedItem, _react.Children.toArray(_this.props.children)[state.selectedItem]);\n };\n _this.getInitialImage = function () {\n var selectedItem = _this.props.selectedItem;\n var item = _this.itemsRef && _this.itemsRef[selectedItem];\n var images = item && item.getElementsByTagName('img');\n return images && images[selectedItem];\n };\n _this.getVariableImageHeight = function (position) {\n var item = _this.itemsRef && _this.itemsRef[position];\n var images = item && item.getElementsByTagName('img');\n if (_this.state.hasMount && images.length > 0) {\n var image = images[0];\n if (!image.complete) {\n // if the image is still loading, the size won't be available so we trigger a new render after it's done\n var onImageLoad = function onImageLoad() {\n _this.forceUpdate();\n image.removeEventListener('load', onImageLoad);\n };\n image.addEventListener('load', onImageLoad);\n }\n var height = image.clientHeight;\n return height > 0 ? height : null;\n }\n return null;\n };\n _this.state = {\n initialized: false,\n selectedItem: props.selectedItem,\n hasMount: false,\n isMouseEntered: false,\n autoPlay: props.autoPlay\n };\n return _this;\n }\n _createClass(Carousel, [{\n key: 'componentDidMount',\n value: function componentDidMount() {\n if (!this.props.children) {\n return;\n }\n this.setupCarousel();\n }\n }, {\n key: 'componentWillReceiveProps',\n value: function componentWillReceiveProps(nextProps) {\n var _this2 = this;\n if (nextProps.selectedItem !== this.state.selectedItem) {\n this.updateSizes();\n this.moveTo(nextProps.selectedItem);\n }\n if (nextProps.autoPlay !== this.state.autoPlay) {\n this.setState({\n autoPlay: nextProps.autoPlay\n }, function () {\n if (_this2.state.autoPlay) {\n _this2.setupAutoPlay();\n } else {\n _this2.destroyAutoPlay();\n }\n });\n }\n }\n }, {\n key: 'componentDidUpdate',\n value: function componentDidUpdate(prevProps, prevState) {\n if (!prevProps.children && this.props.children && !this.state.initialized) {\n this.setupCarousel();\n }\n if (prevState.swiping && !this.state.swiping) {\n // We stopped swiping, ensure we are heading to the new/current slide and not stuck\n this.resetPosition();\n }\n }\n }, {\n key: 'componentWillUnmount',\n value: function componentWillUnmount() {\n this.destroyCarousel();\n }\n }, {\n key: 'setupCarousel',\n value: function setupCarousel() {\n this.bindEvents();\n if (this.state.autoPlay && _react.Children.count(this.props.children) > 1) {\n this.setupAutoPlay();\n }\n this.setState({\n initialized: true\n });\n var initialImage = this.getInitialImage();\n if (initialImage) {\n // if it's a carousel of images, we set the mount state after the first image is loaded\n initialImage.addEventListener('load', this.setMountState);\n } else {\n this.setMountState();\n }\n }\n }, {\n key: 'destroyCarousel',\n value: function destroyCarousel() {\n if (this.state.initialized) {\n this.unbindEvents();\n this.destroyAutoPlay();\n }\n }\n }, {\n key: 'setupAutoPlay',\n value: function setupAutoPlay() {\n this.autoPlay();\n var carouselWrapper = this.carouselWrapperRef;\n if (this.props.stopOnHover && carouselWrapper) {\n carouselWrapper.addEventListener('mouseenter', this.stopOnHover);\n carouselWrapper.addEventListener('mouseleave', this.startOnLeave);\n }\n }\n }, {\n key: 'destroyAutoPlay',\n value: function destroyAutoPlay() {\n this.clearAutoPlay();\n var carouselWrapper = this.carouselWrapperRef;\n if (this.props.stopOnHover && carouselWrapper) {\n carouselWrapper.removeEventListener('mouseenter', this.stopOnHover);\n carouselWrapper.removeEventListener('mouseleave', this.startOnLeave);\n }\n }\n }, {\n key: 'bindEvents',\n value: function bindEvents() {\n // as the widths are calculated, we need to resize\n // the carousel when the window is resized\n window.addEventListener(\"resize\", this.updateSizes);\n // issue #2 - image loading smaller\n window.addEventListener(\"DOMContentLoaded\", this.updateSizes);\n if (this.props.useKeyboardArrows) {\n document.addEventListener(\"keydown\", this.navigateWithKeyboard);\n }\n }\n }, {\n key: 'unbindEvents',\n value: function unbindEvents() {\n // removing listeners\n window.removeEventListener(\"resize\", this.updateSizes);\n window.removeEventListener(\"DOMContentLoaded\", this.updateSizes);\n var initialImage = this.getInitialImage();\n if (initialImage) {\n initialImage.removeEventListener(\"load\", this.setMountState);\n }\n if (this.props.useKeyboardArrows) {\n document.removeEventListener(\"keydown\", this.navigateWithKeyboard);\n }\n }\n }, {\n key: 'getPosition',\n value: function getPosition(index) {\n if (this.props.infiniteLoop) {\n // index has to be added by 1 because of the first cloned slide\n ++index;\n }\n var childrenLength = _react.Children.count(this.props.children);\n if (this.props.centerMode && this.props.axis === 'horizontal') {\n var currentPosition = -index * this.props.centerSlidePercentage;\n var lastPosition = childrenLength - 1;\n if (index && (index !== lastPosition || this.props.infiniteLoop)) {\n currentPosition += (100 - this.props.centerSlidePercentage) / 2;\n } else if (index === lastPosition) {\n currentPosition += 100 - this.props.centerSlidePercentage;\n }\n return currentPosition;\n }\n return -index * 100;\n }\n }, {\n key: 'renderItems',\n value: function renderItems(isClone) {\n var _this3 = this;\n return _react.Children.map(this.props.children, function (item, index) {\n var slideProps = {\n ref: function ref(e) {\n return _this3.setItemsRef(e, index);\n },\n key: 'itemKey' + index + (isClone ? 'clone' : ''),\n className: _cssClasses2.default.ITEM(true, index === _this3.state.selectedItem),\n onClick: _this3.handleClickItem.bind(_this3, index, item)\n };\n if (_this3.props.centerMode && _this3.props.axis === 'horizontal') {\n slideProps.style = {\n minWidth: _this3.props.centerSlidePercentage + '%'\n };\n }\n return _react2.default.createElement('li', slideProps, item);\n });\n }\n }, {\n key: 'renderControls',\n value: function renderControls() {\n var _this4 = this;\n if (!this.props.showIndicators) {\n return null;\n }\n return _react2.default.createElement('ul', {\n className: 'control-dots'\n }, _react.Children.map(this.props.children, function (item, index) {\n return _react2.default.createElement('li', {\n className: _cssClasses2.default.DOT(index === _this4.state.selectedItem),\n onClick: _this4.changeItem,\n onKeyDown: _this4.changeItem,\n value: index,\n key: index,\n role: 'button',\n tabIndex: 0,\n 'aria-label': _this4.props.labels.item + ' ' + (index + 1)\n });\n }));\n }\n }, {\n key: 'renderStatus',\n value: function renderStatus() {\n if (!this.props.showStatus) {\n return null;\n }\n return _react2.default.createElement('p', {\n className: 'carousel-status'\n }, this.props.statusFormatter(this.state.selectedItem + 1, _react.Children.count(this.props.children)));\n }\n }, {\n key: 'renderThumbs',\n value: function renderThumbs() {\n if (!this.props.showThumbs || _react.Children.count(this.props.children) === 0) {\n return null;\n }\n return _react2.default.createElement(_Thumbs2.default, {\n ref: this.setThumbsRef,\n onSelectItem: this.handleClickThumb,\n selectedItem: this.state.selectedItem,\n transitionTime: this.props.transitionTime,\n thumbWidth: this.props.thumbWidth,\n labels: this.props.labels\n }, this.props.children);\n }\n }, {\n key: 'render',\n value: function render() {\n if (!this.props.children || _react.Children.count(this.props.children) === 0) {\n return null;\n }\n var isHorizontal = this.props.axis === 'horizontal';\n var canShowArrows = this.props.showArrows && _react.Children.count(this.props.children) > 1;\n\n // show left arrow?\n var hasPrev = canShowArrows && (this.state.selectedItem > 0 || this.props.infiniteLoop);\n // show right arrow\n var hasNext = canShowArrows && (this.state.selectedItem < _react.Children.count(this.props.children) - 1 || this.props.infiniteLoop);\n // obj to hold the transformations and styles\n var itemListStyles = {};\n var currentPosition = this.getPosition(this.state.selectedItem);\n\n // if 3d is available, let's take advantage of the performance of transform\n var transformProp = (0, _CSSTranslate2.default)(currentPosition + '%', this.props.axis);\n var transitionTime = this.props.transitionTime + 'ms';\n itemListStyles = {\n 'WebkitTransform': transformProp,\n 'MozTransform': transformProp,\n 'MsTransform': transformProp,\n 'OTransform': transformProp,\n 'transform': transformProp,\n 'msTransform': transformProp\n };\n if (!this.state.swiping) {\n itemListStyles = _extends({}, itemListStyles, {\n 'WebkitTransitionDuration': transitionTime,\n 'MozTransitionDuration': transitionTime,\n 'MsTransitionDuration': transitionTime,\n 'OTransitionDuration': transitionTime,\n 'transitionDuration': transitionTime,\n 'msTransitionDuration': transitionTime\n });\n }\n var itemsClone = this.renderItems(true);\n var firstClone = itemsClone.shift();\n var lastClone = itemsClone.pop();\n var swiperProps = {\n selectedItem: this.state.selectedItem,\n className: _cssClasses2.default.SLIDER(true, this.state.swiping),\n onSwipeMove: this.onSwipeMove,\n onSwipeStart: this.onSwipeStart,\n onSwipeEnd: this.onSwipeEnd,\n style: itemListStyles,\n tolerance: this.props.swipeScrollTolerance\n };\n var containerStyles = {};\n if (isHorizontal) {\n swiperProps.onSwipeLeft = this.onSwipeForward;\n swiperProps.onSwipeRight = this.onSwipeBackwards;\n if (this.props.dynamicHeight) {\n var itemHeight = this.getVariableImageHeight(this.state.selectedItem);\n swiperProps.style.height = itemHeight || 'auto';\n containerStyles.height = itemHeight || 'auto';\n }\n } else {\n swiperProps.onSwipeUp = this.props.verticalSwipe === 'natural' ? this.onSwipeBackwards : this.onSwipeForward;\n swiperProps.onSwipeDown = this.props.verticalSwipe === 'natural' ? this.onSwipeForward : this.onSwipeBackwards;\n swiperProps.style.height = this.state.itemSize;\n containerStyles.height = this.state.itemSize;\n }\n return _react2.default.createElement('div', {\n className: this.props.className,\n ref: this.setCarouselWrapperRef\n }, _react2.default.createElement('div', {\n className: _cssClasses2.default.CAROUSEL(true),\n style: {\n width: this.props.width\n }\n }, _react2.default.createElement('button', {\n type: 'button',\n 'aria-label': this.props.labels.leftArrow,\n className: _cssClasses2.default.ARROW_PREV(!hasPrev),\n onClick: this.onClickPrev\n }), _react2.default.createElement('div', {\n className: _cssClasses2.default.WRAPPER(true, this.props.axis),\n style: containerStyles,\n ref: this.setItemsWrapperRef\n }, this.props.swipeable ? _react2.default.createElement(_reactEasySwipe2.default, _extends({\n tagName: 'ul',\n ref: this.setListRef\n }, swiperProps, {\n allowMouseEvents: this.props.emulateTouch\n }), this.props.infiniteLoop && lastClone, this.renderItems(), this.props.infiniteLoop && firstClone) : _react2.default.createElement('ul', {\n className: _cssClasses2.default.SLIDER(true, this.state.swiping),\n ref: this.setListRef,\n style: itemListStyles\n }, this.props.infiniteLoop && lastClone, this.renderItems(), this.props.infiniteLoop && firstClone)), _react2.default.createElement('button', {\n type: 'button',\n 'aria-label': this.props.labels.rightArrow,\n className: _cssClasses2.default.ARROW_NEXT(!hasNext),\n onClick: this.onClickNext\n }), this.renderControls(), this.renderStatus()), this.renderThumbs());\n }\n }]);\n return Carousel;\n}(_react.Component);\nCarousel.displayName = 'Carousel';\nCarousel.propTypes = {\n className: _propTypes2.default.string,\n children: _propTypes2.default.node,\n showArrows: _propTypes2.default.bool,\n showStatus: _propTypes2.default.bool,\n showIndicators: _propTypes2.default.bool,\n infiniteLoop: _propTypes2.default.bool,\n showThumbs: _propTypes2.default.bool,\n thumbWidth: _propTypes2.default.number,\n selectedItem: _propTypes2.default.number,\n onClickItem: _propTypes2.default.func.isRequired,\n onClickThumb: _propTypes2.default.func.isRequired,\n onChange: _propTypes2.default.func.isRequired,\n axis: _propTypes2.default.oneOf(['horizontal', 'vertical']),\n verticalSwipe: _propTypes2.default.oneOf(['natural', 'standard']),\n width: customPropTypes.unit,\n useKeyboardArrows: _propTypes2.default.bool,\n autoPlay: _propTypes2.default.bool,\n stopOnHover: _propTypes2.default.bool,\n interval: _propTypes2.default.number,\n transitionTime: _propTypes2.default.number,\n swipeScrollTolerance: _propTypes2.default.number,\n swipeable: _propTypes2.default.bool,\n dynamicHeight: _propTypes2.default.bool,\n emulateTouch: _propTypes2.default.bool,\n statusFormatter: _propTypes2.default.func.isRequired,\n centerMode: _propTypes2.default.bool,\n centerSlidePercentage: _propTypes2.default.number,\n labels: _propTypes2.default.shape({\n leftArrow: _propTypes2.default.string,\n rightArrow: _propTypes2.default.string,\n item: _propTypes2.default.string\n }),\n onSwipeStart: _propTypes2.default.func,\n onSwipeEnd: _propTypes2.default.func,\n onSwipeMove: _propTypes2.default.func\n};\nCarousel.defaultProps = {\n showIndicators: true,\n showArrows: true,\n showStatus: true,\n showThumbs: true,\n infiniteLoop: false,\n selectedItem: 0,\n axis: 'horizontal',\n verticalSwipe: 'standard',\n width: '100%',\n useKeyboardArrows: false,\n autoPlay: false,\n stopOnHover: true,\n interval: 3000,\n transitionTime: 350,\n swipeScrollTolerance: 5,\n swipeable: true,\n dynamicHeight: false,\n emulateTouch: false,\n onClickItem: noop,\n onClickThumb: noop,\n onChange: noop,\n statusFormatter: defaultStatusFormatter,\n centerMode: false,\n centerSlidePercentage: 80,\n labels: {\n leftArrow: 'previous slide / item',\n rightArrow: 'next slide / item',\n item: 'slide item'\n },\n onSwipeStart: function onSwipeStart() {},\n onSwipeEnd: function onSwipeEnd() {},\n onSwipeMove: function onSwipeMove() {}\n};\nexports.default = Carousel;","(function (global, factory) {\n if (typeof define === \"function\" && define.amd) {\n define(['exports', 'react', 'prop-types'], factory);\n } else if (typeof exports !== \"undefined\") {\n factory(exports, require('react'), require('prop-types'));\n } else {\n var mod = {\n exports: {}\n };\n factory(mod.exports, global.react, global.propTypes);\n global.reactSwipe = mod.exports;\n }\n})(this, function (exports, _react, _propTypes) {\n 'use strict';\n\n Object.defineProperty(exports, \"__esModule\", {\n value: true\n });\n exports.setHasSupportToCaptureOption = setHasSupportToCaptureOption;\n var _react2 = _interopRequireDefault(_react);\n var _propTypes2 = _interopRequireDefault(_propTypes);\n function _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n default: obj\n };\n }\n function _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n }\n var _createClass = function () {\n function defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n }\n return function (Constructor, protoProps, staticProps) {\n if (protoProps) defineProperties(Constructor.prototype, protoProps);\n if (staticProps) defineProperties(Constructor, staticProps);\n return Constructor;\n };\n }();\n function _possibleConstructorReturn(self, call) {\n if (!self) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self;\n }\n function _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass);\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n enumerable: false,\n writable: true,\n configurable: true\n }\n });\n if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass;\n }\n var supportsCaptureOption = false;\n function setHasSupportToCaptureOption(hasSupport) {\n supportsCaptureOption = hasSupport;\n }\n try {\n addEventListener(\"test\", null, Object.defineProperty({}, 'capture', {\n get: function get() {\n setHasSupportToCaptureOption(true);\n }\n }));\n } catch (e) {}\n function getSafeEventHandlerOpts() {\n var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {\n capture: true\n };\n return supportsCaptureOption ? options : options.capture;\n }\n\n /**\n * [getPosition returns a position element that works for mouse or touch events]\n * @param {[Event]} event [the received event]\n * @return {[Object]} [x and y coords]\n */\n function getPosition(event) {\n if ('touches' in event) {\n var _event$touches$ = event.touches[0],\n pageX = _event$touches$.pageX,\n pageY = _event$touches$.pageY;\n return {\n x: pageX,\n y: pageY\n };\n }\n var screenX = event.screenX,\n screenY = event.screenY;\n return {\n x: screenX,\n y: screenY\n };\n }\n var ReactSwipe = function (_Component) {\n _inherits(ReactSwipe, _Component);\n function ReactSwipe() {\n var _ref;\n _classCallCheck(this, ReactSwipe);\n for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n var _this = _possibleConstructorReturn(this, (_ref = ReactSwipe.__proto__ || Object.getPrototypeOf(ReactSwipe)).call.apply(_ref, [this].concat(args)));\n _this._handleSwipeStart = _this._handleSwipeStart.bind(_this);\n _this._handleSwipeMove = _this._handleSwipeMove.bind(_this);\n _this._handleSwipeEnd = _this._handleSwipeEnd.bind(_this);\n _this._onMouseDown = _this._onMouseDown.bind(_this);\n _this._onMouseMove = _this._onMouseMove.bind(_this);\n _this._onMouseUp = _this._onMouseUp.bind(_this);\n return _this;\n }\n _createClass(ReactSwipe, [{\n key: 'componentDidMount',\n value: function componentDidMount() {\n if (this.swiper) {\n this.swiper.addEventListener('touchmove', this._handleSwipeMove, getSafeEventHandlerOpts({\n capture: true,\n passive: false\n }));\n }\n }\n }, {\n key: 'componentWillUnmount',\n value: function componentWillUnmount() {\n if (this.swiper) {\n this.swiper.removeEventListener('touchmove', this._handleSwipeMove, getSafeEventHandlerOpts({\n capture: true,\n passive: false\n }));\n }\n }\n }, {\n key: '_onMouseDown',\n value: function _onMouseDown(event) {\n if (!this.props.allowMouseEvents) {\n return;\n }\n this.mouseDown = true;\n document.addEventListener('mouseup', this._onMouseUp);\n document.addEventListener('mousemove', this._onMouseMove);\n this._handleSwipeStart(event);\n }\n }, {\n key: '_onMouseMove',\n value: function _onMouseMove(event) {\n if (!this.mouseDown) {\n return;\n }\n this._handleSwipeMove(event);\n }\n }, {\n key: '_onMouseUp',\n value: function _onMouseUp(event) {\n this.mouseDown = false;\n document.removeEventListener('mouseup', this._onMouseUp);\n document.removeEventListener('mousemove', this._onMouseMove);\n this._handleSwipeEnd(event);\n }\n }, {\n key: '_handleSwipeStart',\n value: function _handleSwipeStart(event) {\n var _getPosition = getPosition(event),\n x = _getPosition.x,\n y = _getPosition.y;\n this.moveStart = {\n x: x,\n y: y\n };\n this.props.onSwipeStart(event);\n }\n }, {\n key: '_handleSwipeMove',\n value: function _handleSwipeMove(event) {\n if (!this.moveStart) {\n return;\n }\n var _getPosition2 = getPosition(event),\n x = _getPosition2.x,\n y = _getPosition2.y;\n var deltaX = x - this.moveStart.x;\n var deltaY = y - this.moveStart.y;\n this.moving = true;\n\n // handling the responsability of cancelling the scroll to\n // the component handling the event\n var shouldPreventDefault = this.props.onSwipeMove({\n x: deltaX,\n y: deltaY\n }, event);\n if (shouldPreventDefault) {\n event.preventDefault();\n }\n this.movePosition = {\n deltaX: deltaX,\n deltaY: deltaY\n };\n }\n }, {\n key: '_handleSwipeEnd',\n value: function _handleSwipeEnd(event) {\n this.props.onSwipeEnd(event);\n var tolerance = this.props.tolerance;\n if (this.moving && this.movePosition) {\n if (this.movePosition.deltaX < -tolerance) {\n this.props.onSwipeLeft(1, event);\n } else if (this.movePosition.deltaX > tolerance) {\n this.props.onSwipeRight(1, event);\n }\n if (this.movePosition.deltaY < -tolerance) {\n this.props.onSwipeUp(1, event);\n } else if (this.movePosition.deltaY > tolerance) {\n this.props.onSwipeDown(1, event);\n }\n }\n this.moveStart = null;\n this.moving = false;\n this.movePosition = null;\n }\n }, {\n key: 'render',\n value: function render() {\n var _this2 = this;\n return _react2.default.createElement(this.props.tagName, {\n ref: function ref(node) {\n return _this2.swiper = node;\n },\n onMouseDown: this._onMouseDown,\n onTouchStart: this._handleSwipeStart,\n onTouchEnd: this._handleSwipeEnd,\n className: this.props.className,\n style: this.props.style\n }, this.props.children);\n }\n }]);\n return ReactSwipe;\n }(_react.Component);\n ReactSwipe.displayName = 'ReactSwipe';\n ReactSwipe.propTypes = {\n tagName: _propTypes2.default.string,\n className: _propTypes2.default.string,\n style: _propTypes2.default.object,\n children: _propTypes2.default.node,\n allowMouseEvents: _propTypes2.default.bool,\n onSwipeUp: _propTypes2.default.func,\n onSwipeDown: _propTypes2.default.func,\n onSwipeLeft: _propTypes2.default.func,\n onSwipeRight: _propTypes2.default.func,\n onSwipeStart: _propTypes2.default.func,\n onSwipeMove: _propTypes2.default.func,\n onSwipeEnd: _propTypes2.default.func,\n tolerance: _propTypes2.default.number.isRequired\n };\n ReactSwipe.defaultProps = {\n tagName: 'div',\n allowMouseEvents: false,\n onSwipeUp: function onSwipeUp() {},\n onSwipeDown: function onSwipeDown() {},\n onSwipeLeft: function onSwipeLeft() {},\n onSwipeRight: function onSwipeRight() {},\n onSwipeStart: function onSwipeStart() {},\n onSwipeMove: function onSwipeMove() {},\n onSwipeEnd: function onSwipeEnd() {},\n tolerance: 0\n };\n exports.default = ReactSwipe;\n});","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar _extends = Object.assign || function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n return target;\n};\nvar _createClass = function () {\n function defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n }\n return function (Constructor, protoProps, staticProps) {\n if (protoProps) defineProperties(Constructor.prototype, protoProps);\n if (staticProps) defineProperties(Constructor, staticProps);\n return Constructor;\n };\n}();\nvar _react = require('react');\nvar _react2 = _interopRequireDefault(_react);\nvar _propTypes = require('prop-types');\nvar _propTypes2 = _interopRequireDefault(_propTypes);\nvar _cssClasses = require('../cssClasses');\nvar _cssClasses2 = _interopRequireDefault(_cssClasses);\nvar _dimensions = require('../dimensions');\nvar _CSSTranslate = require('../CSSTranslate');\nvar _CSSTranslate2 = _interopRequireDefault(_CSSTranslate);\nvar _reactEasySwipe = require('react-easy-swipe');\nvar _reactEasySwipe2 = _interopRequireDefault(_reactEasySwipe);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n default: obj\n };\n}\nfunction _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}\nfunction _possibleConstructorReturn(self, call) {\n if (!self) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self;\n}\nfunction _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass);\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n enumerable: false,\n writable: true,\n configurable: true\n }\n });\n if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass;\n}\nvar Thumbs = function (_Component) {\n _inherits(Thumbs, _Component);\n function Thumbs(props) {\n _classCallCheck(this, Thumbs);\n var _this = _possibleConstructorReturn(this, (Thumbs.__proto__ || Object.getPrototypeOf(Thumbs)).call(this, props));\n _initialiseProps.call(_this);\n _this.state = {\n selectedItem: props.selectedItem,\n hasMount: false,\n firstItem: 0,\n itemSize: null,\n visibleItems: 0,\n lastPosition: 0,\n showArrows: false,\n images: _this.getImages()\n };\n return _this;\n }\n _createClass(Thumbs, [{\n key: 'componentDidMount',\n value: function componentDidMount(nextProps) {\n this.setupThumbs();\n }\n }, {\n key: 'componentWillReceiveProps',\n value: function componentWillReceiveProps(props, state) {\n if (props.selectedItem !== this.state.selectedItem) {\n this.setState({\n selectedItem: props.selectedItem,\n firstItem: this.getFirstItem(props.selectedItem)\n });\n }\n if (props.children !== this.props.children) {\n this.setState({\n images: this.getImages()\n });\n }\n }\n }, {\n key: 'componentDidUpdate',\n value: function componentDidUpdate(prevProps) {\n if (this.props.children === prevProps.children) {\n return;\n }\n\n // This will capture any size changes for arrow adjustments etc.\n // usually in the same render cycle so we don't see any flickers\n this.updateSizes();\n }\n }, {\n key: 'componentWillUnmount',\n value: function componentWillUnmount() {\n this.destroyThumbs();\n }\n }, {\n key: 'setupThumbs',\n value: function setupThumbs() {\n // as the widths are calculated, we need to resize\n // the carousel when the window is resized\n window.addEventListener(\"resize\", this.updateSizes);\n // issue #2 - image loading smaller\n window.addEventListener(\"DOMContentLoaded\", this.updateSizes);\n\n // when the component is rendered we need to calculate\n // the container size to adjust the responsive behaviour\n this.updateSizes();\n }\n }, {\n key: 'destroyThumbs',\n value: function destroyThumbs() {\n // removing listeners\n window.removeEventListener(\"resize\", this.updateSizes);\n window.removeEventListener(\"DOMContentLoaded\", this.updateSizes);\n }\n }, {\n key: 'getImages',\n value: function getImages() {\n var images = _react.Children.map(this.props.children, function (item, index) {\n var img = item;\n\n // if the item is not an image, try to find the first image in the item's children.\n if (item.type !== \"img\") {\n img = _react.Children.toArray(item.props.children).filter(function (children) {\n return children.type === \"img\";\n })[0];\n }\n if (!img || img.length === 0) {\n return null;\n }\n return img;\n });\n if (images.filter(function (image) {\n return image !== null;\n }).length === 0) {\n console.warn('No images found! Can\\'t build the thumb list without images. If you don\\'t need thumbs, set showThumbs={false} in the Carousel. Note that it\\'s not possible to get images rendered inside custom components. More info at https://github.com/leandrowd/react-responsive-carousel/blob/master/TROUBLESHOOTING.md');\n return null;\n }\n return images;\n }\n }, {\n key: 'getFirstItem',\n value: function getFirstItem(selectedItem) {\n var firstItem = selectedItem;\n if (selectedItem >= this.state.lastPosition) {\n firstItem = this.state.lastPosition;\n }\n if (selectedItem < this.state.firstItem + this.state.visibleItems) {\n firstItem = this.state.firstItem;\n }\n if (selectedItem < this.state.firstItem) {\n firstItem = selectedItem;\n }\n return firstItem;\n }\n }, {\n key: 'renderItems',\n value: function renderItems() {\n var _this2 = this;\n return this.state.images.map(function (img, index) {\n var itemClass = _cssClasses2.default.ITEM(false, index === _this2.state.selectedItem && _this2.state.hasMount);\n var thumbProps = {\n key: index,\n ref: function ref(e) {\n return _this2.setThumbsRef(e, index);\n },\n className: itemClass,\n onClick: _this2.handleClickItem.bind(_this2, index, _this2.props.children[index]),\n onKeyDown: _this2.handleClickItem.bind(_this2, index, _this2.props.children[index]),\n 'aria-label': _this2.props.labels.item + ' ' + (index + 1)\n };\n if (index === 0) {\n img = _react2.default.cloneElement(img, {\n onLoad: _this2.setMountState\n });\n }\n return _react2.default.createElement('li', _extends({}, thumbProps, {\n role: 'button',\n tabIndex: 0\n }), img);\n });\n }\n }, {\n key: 'render',\n value: function render() {\n if (!this.props.children) {\n return null;\n }\n\n // show left arrow?\n var hasPrev = this.state.showArrows && this.state.firstItem > 0;\n // show right arrow\n var hasNext = this.state.showArrows && this.state.firstItem < this.state.lastPosition;\n // obj to hold the transformations and styles\n var itemListStyles = {};\n var currentPosition = -this.state.firstItem * this.state.itemSize + 'px';\n var transformProp = (0, _CSSTranslate2.default)(currentPosition, this.props.axis);\n var transitionTime = this.props.transitionTime + 'ms';\n itemListStyles = {\n 'WebkitTransform': transformProp,\n 'MozTransform': transformProp,\n 'MsTransform': transformProp,\n 'OTransform': transformProp,\n 'transform': transformProp,\n 'msTransform': transformProp,\n 'WebkitTransitionDuration': transitionTime,\n 'MozTransitionDuration': transitionTime,\n 'MsTransitionDuration': transitionTime,\n 'OTransitionDuration': transitionTime,\n 'transitionDuration': transitionTime,\n 'msTransitionDuration': transitionTime\n };\n return _react2.default.createElement('div', {\n className: _cssClasses2.default.CAROUSEL(false)\n }, _react2.default.createElement('div', {\n className: _cssClasses2.default.WRAPPER(false),\n ref: this.setItemsWrapperRef\n }, _react2.default.createElement('button', {\n type: 'button',\n className: _cssClasses2.default.ARROW_PREV(!hasPrev),\n onClick: this.slideRight,\n 'aria-label': this.props.labels.leftArrow\n }), _react2.default.createElement(_reactEasySwipe2.default, {\n tagName: 'ul',\n selectedItem: this.state.selectedItem,\n className: _cssClasses2.default.SLIDER(false, this.state.swiping),\n onSwipeLeft: this.slideLeft,\n onSwipeRight: this.slideRight,\n onSwipeMove: this.onSwipeMove,\n onSwipeStart: this.onSwipeStart,\n onSwipeEnd: this.onSwipeEnd,\n style: itemListStyles,\n ref: this.setItemsListRef\n }, this.renderItems()), _react2.default.createElement('button', {\n type: 'button',\n className: _cssClasses2.default.ARROW_NEXT(!hasNext),\n onClick: this.slideLeft,\n 'aria-label': this.props.labels.rightArrow\n })));\n }\n }]);\n return Thumbs;\n}(_react.Component);\nThumbs.displayName = 'Thumbs';\nThumbs.propsTypes = {\n children: _propTypes2.default.element.isRequired,\n transitionTime: _propTypes2.default.number,\n selectedItem: _propTypes2.default.number,\n thumbWidth: _propTypes2.default.number,\n labels: _propTypes2.default.shape({\n leftArrow: _propTypes2.default.string,\n rightArrow: _propTypes2.default.string,\n item: _propTypes2.default.string\n })\n};\nThumbs.defaultProps = {\n selectedItem: 0,\n transitionTime: 350,\n axis: 'horizontal'\n};\nvar _initialiseProps = function _initialiseProps() {\n var _this3 = this;\n this.setItemsWrapperRef = function (node) {\n _this3.itemsWrapperRef = node;\n };\n this.setItemsListRef = function (node) {\n _this3.itemsListRef = node;\n };\n this.setThumbsRef = function (node, index) {\n if (!_this3.thumbsRef) {\n _this3.thumbsRef = [];\n }\n _this3.thumbsRef[index] = node;\n };\n this.updateSizes = function () {\n if (!_this3.props.children || !_this3.itemsWrapperRef) {\n return;\n }\n var total = _this3.props.children.length;\n var wrapperSize = _this3.itemsWrapperRef.clientWidth;\n var itemSize = _this3.props.thumbWidth ? _this3.props.thumbWidth : (0, _dimensions.outerWidth)(_this3.thumbsRef[0]);\n var visibleItems = Math.floor(wrapperSize / itemSize);\n var lastPosition = total - visibleItems;\n var showArrows = visibleItems < total;\n _this3.setState(function (_state, props) {\n return {\n itemSize: itemSize,\n visibleItems: visibleItems,\n firstItem: showArrows ? _this3.getFirstItem(props.selectedItem) : 0,\n lastPosition: lastPosition,\n showArrows: showArrows\n };\n });\n };\n this.setMountState = function () {\n _this3.setState({\n hasMount: true\n });\n _this3.updateSizes();\n };\n this.handleClickItem = function (index, item, e) {\n if (!e.keyCode || e.key === 'Enter') {\n var handler = _this3.props.onSelectItem;\n if (typeof handler === 'function') {\n handler(index, item);\n }\n }\n };\n this.onSwipeStart = function () {\n _this3.setState({\n swiping: true\n });\n };\n this.onSwipeEnd = function () {\n _this3.setState({\n swiping: false\n });\n };\n this.onSwipeMove = function (deltaX) {\n var leftBoundary = 0;\n var currentPosition = -_this3.state.firstItem * _this3.state.itemSize;\n var lastLeftBoundary = -_this3.state.visibleItems * _this3.state.itemSize;\n\n // prevent user from swiping left out of boundaries\n if (currentPosition === leftBoundary && deltaX > 0) {\n deltaX = 0;\n }\n\n // prevent user from swiping right out of boundaries\n if (currentPosition === lastLeftBoundary && deltaX < 0) {\n deltaX = 0;\n }\n var wrapperSize = _this3.itemsWrapperRef.clientWidth;\n var position = currentPosition + 100 / (wrapperSize / deltaX) + '%';\n\n // if 3d isn't available we will use left to move\n if (_this3.itemsListRef) {\n ['WebkitTransform', 'MozTransform', 'MsTransform', 'OTransform', 'transform', 'msTransform'].forEach(function (prop) {\n _this3.itemsListRef.style[prop] = (0, _CSSTranslate2.default)(position, _this3.props.axis);\n });\n }\n };\n this.slideRight = function (positions) {\n _this3.moveTo(_this3.state.firstItem - (typeof positions === 'number' ? positions : 1));\n };\n this.slideLeft = function (positions) {\n _this3.moveTo(_this3.state.firstItem + (typeof positions === 'number' ? positions : 1));\n };\n this.moveTo = function (position) {\n // position can't be lower than 0\n position = position < 0 ? 0 : position;\n // position can't be higher than last postion\n position = position >= _this3.lastPosition ? _this3.lastPosition : position;\n _this3.setState({\n firstItem: position\n });\n };\n};\nexports.default = Thumbs;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar outerWidth = exports.outerWidth = function outerWidth(el) {\n var width = el.offsetWidth;\n var style = getComputedStyle(el);\n width += parseInt(style.marginLeft) + parseInt(style.marginRight);\n return width;\n};","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar unit = exports.unit = function unit(props, propName, componentName) {\n if (!/(pt|px|em|rem|vw|vh|%)$/.test(props[propName])) {\n return new Error('Invalid prop `' + propName + '` supplied to' + ' `' + componentName + '`. Validation failed. It needs to be a size unit like pt, px, em, rem, vw, %');\n }\n};","var _createClass = function () {\n function defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n }\n return function (Constructor, protoProps, staticProps) {\n if (protoProps) defineProperties(Constructor.prototype, protoProps);\n if (staticProps) defineProperties(Constructor, staticProps);\n return Constructor;\n };\n}();\nvar _extends = Object.assign || function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n return target;\n};\nfunction _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}\nfunction _possibleConstructorReturn(self, call) {\n if (!self) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self;\n}\nfunction _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass);\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n enumerable: false,\n writable: true,\n configurable: true\n }\n });\n if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass;\n}\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport isEqual from 'fast-deep-equal';\nimport youTubePlayer from 'youtube-player';\n\n/**\r\n * Check whether a `props` change should result in the video being updated.\r\n *\r\n * @param {Object} prevProps\r\n * @param {Object} props\r\n */\nfunction shouldUpdateVideo(prevProps, props) {\n // A changing video should always trigger an update\n if (prevProps.videoId !== props.videoId) {\n return true;\n }\n\n // Otherwise, a change in the start/end time playerVars also requires a player\n // update.\n var prevVars = prevProps.opts.playerVars || {};\n var vars = props.opts.playerVars || {};\n return prevVars.start !== vars.start || prevVars.end !== vars.end;\n}\n\n/**\r\n * Neutralise API options that only require a video update, leaving only options\r\n * that require a player reset. The results can then be compared to see if a\r\n * player reset is necessary.\r\n *\r\n * @param {Object} opts\r\n */\nfunction filterResetOptions(opts) {\n return _extends({}, opts, {\n playerVars: _extends({}, opts.playerVars, {\n autoplay: 0,\n start: 0,\n end: 0\n })\n });\n}\n\n/**\r\n * Check whether a `props` change should result in the player being reset.\r\n * The player is reset when the `props.opts` change, except if the only change\r\n * is in the `start` and `end` playerVars, because a video update can deal with\r\n * those.\r\n *\r\n * @param {Object} prevProps\r\n * @param {Object} props\r\n */\nfunction shouldResetPlayer(prevProps, props) {\n return !isEqual(filterResetOptions(prevProps.opts), filterResetOptions(props.opts));\n}\n\n/**\r\n * Check whether a props change should result in an id or className update.\r\n *\r\n * @param {Object} prevProps\r\n * @param {Object} props\r\n */\nfunction shouldUpdatePlayer(prevProps, props) {\n return prevProps.id !== props.id || prevProps.className !== props.className;\n}\nvar YouTube = function (_React$Component) {\n _inherits(YouTube, _React$Component);\n function YouTube(props) {\n _classCallCheck(this, YouTube);\n var _this = _possibleConstructorReturn(this, (YouTube.__proto__ || Object.getPrototypeOf(YouTube)).call(this, props));\n _this.onPlayerReady = function (event) {\n return _this.props.onReady(event);\n };\n _this.onPlayerError = function (event) {\n return _this.props.onError(event);\n };\n _this.onPlayerStateChange = function (event) {\n _this.props.onStateChange(event);\n switch (event.data) {\n case YouTube.PlayerState.ENDED:\n _this.props.onEnd(event);\n break;\n case YouTube.PlayerState.PLAYING:\n _this.props.onPlay(event);\n break;\n case YouTube.PlayerState.PAUSED:\n _this.props.onPause(event);\n break;\n default:\n }\n };\n _this.onPlayerPlaybackRateChange = function (event) {\n return _this.props.onPlaybackRateChange(event);\n };\n _this.onPlayerPlaybackQualityChange = function (event) {\n return _this.props.onPlaybackQualityChange(event);\n };\n _this.createPlayer = function () {\n // do not attempt to create a player server-side, it won't work\n if (typeof document === 'undefined') return;\n // create player\n var playerOpts = _extends({}, _this.props.opts, {\n // preload the `videoId` video if one is already given\n videoId: _this.props.videoId\n });\n _this.internalPlayer = youTubePlayer(_this.container, playerOpts);\n // attach event handlers\n _this.internalPlayer.on('ready', _this.onPlayerReady);\n _this.internalPlayer.on('error', _this.onPlayerError);\n _this.internalPlayer.on('stateChange', _this.onPlayerStateChange);\n _this.internalPlayer.on('playbackRateChange', _this.onPlayerPlaybackRateChange);\n _this.internalPlayer.on('playbackQualityChange', _this.onPlayerPlaybackQualityChange);\n };\n _this.resetPlayer = function () {\n return _this.internalPlayer.destroy().then(_this.createPlayer);\n };\n _this.updatePlayer = function () {\n _this.internalPlayer.getIframe().then(function (iframe) {\n if (_this.props.id) iframe.setAttribute('id', _this.props.id);else iframe.removeAttribute('id');\n if (_this.props.className) iframe.setAttribute('class', _this.props.className);else iframe.removeAttribute('class');\n });\n };\n _this.updateVideo = function () {\n if (typeof _this.props.videoId === 'undefined' || _this.props.videoId === null) {\n _this.internalPlayer.stopVideo();\n return;\n }\n\n // set queueing options\n var autoplay = false;\n var opts = {\n videoId: _this.props.videoId\n };\n if ('playerVars' in _this.props.opts) {\n autoplay = _this.props.opts.playerVars.autoplay === 1;\n if ('start' in _this.props.opts.playerVars) {\n opts.startSeconds = _this.props.opts.playerVars.start;\n }\n if ('end' in _this.props.opts.playerVars) {\n opts.endSeconds = _this.props.opts.playerVars.end;\n }\n }\n\n // if autoplay is enabled loadVideoById\n if (autoplay) {\n _this.internalPlayer.loadVideoById(opts);\n return;\n }\n // default behaviour just cues the video\n _this.internalPlayer.cueVideoById(opts);\n };\n _this.refContainer = function (container) {\n _this.container = container;\n };\n _this.container = null;\n _this.internalPlayer = null;\n return _this;\n }\n\n /**\r\n * Expose PlayerState constants for convenience. These constants can also be\r\n * accessed through the global YT object after the YouTube IFrame API is instantiated.\r\n * https://developers.google.com/youtube/iframe_api_reference#onStateChange\r\n */\n\n _createClass(YouTube, [{\n key: 'componentDidMount',\n value: function componentDidMount() {\n this.createPlayer();\n }\n }, {\n key: 'componentDidUpdate',\n value: function componentDidUpdate(prevProps) {\n if (shouldUpdatePlayer(prevProps, this.props)) {\n this.updatePlayer();\n }\n if (shouldResetPlayer(prevProps, this.props)) {\n this.resetPlayer();\n }\n if (shouldUpdateVideo(prevProps, this.props)) {\n this.updateVideo();\n }\n }\n }, {\n key: 'componentWillUnmount',\n value: function componentWillUnmount() {\n /**\r\n * Note: The `youtube-player` package that is used promisifies all Youtube\r\n * Player API calls, which introduces a delay of a tick before it actually\r\n * gets destroyed. Since React attempts to remove the element instantly\r\n * this method isn't quick enough to reset the container element.\r\n */\n this.internalPlayer.destroy();\n }\n\n /**\r\n * https://developers.google.com/youtube/iframe_api_reference#onReady\r\n *\r\n * @param {Object} event\r\n * @param {Object} target - player object\r\n */\n\n /**\r\n * https://developers.google.com/youtube/iframe_api_reference#onError\r\n *\r\n * @param {Object} event\r\n * @param {Integer} data - error type\r\n * @param {Object} target - player object\r\n */\n\n /**\r\n * https://developers.google.com/youtube/iframe_api_reference#onStateChange\r\n *\r\n * @param {Object} event\r\n * @param {Integer} data - status change type\r\n * @param {Object} target - actual YT player\r\n */\n\n /**\r\n * https://developers.google.com/youtube/iframe_api_reference#onPlaybackRateChange\r\n *\r\n * @param {Object} event\r\n * @param {Float} data - playback rate\r\n * @param {Object} target - actual YT player\r\n */\n\n /**\r\n * https://developers.google.com/youtube/iframe_api_reference#onPlaybackQualityChange\r\n *\r\n * @param {Object} event\r\n * @param {String} data - playback quality\r\n * @param {Object} target - actual YT player\r\n */\n\n /**\r\n * Initialize the Youtube Player API on the container and attach event handlers\r\n */\n\n /**\r\n * Shorthand for destroying and then re-creating the Youtube Player\r\n */\n\n /**\r\n * Method to update the id and class of the Youtube Player iframe.\r\n * React should update this automatically but since the Youtube Player API\r\n * replaced the DIV that is mounted by React we need to do this manually.\r\n */\n\n /**\r\n * Call Youtube Player API methods to update the currently playing video.\r\n * Depeding on the `opts.playerVars.autoplay` this function uses one of two\r\n * Youtube Player API methods to update the video.\r\n */\n }, {\n key: 'render',\n value: function render() {\n return React.createElement('div', {\n className: this.props.containerClassName\n }, React.createElement('div', {\n id: this.props.id,\n className: this.props.className,\n ref: this.refContainer\n }));\n }\n }]);\n return YouTube;\n}(React.Component);\nYouTube.propTypes = {\n videoId: PropTypes.string,\n // custom ID for player element\n id: PropTypes.string,\n // custom class name for player element\n className: PropTypes.string,\n // custom class name for player container element\n containerClassName: PropTypes.string,\n // https://developers.google.com/youtube/iframe_api_reference#Loading_a_Video_Player\n opts: PropTypes.objectOf(PropTypes.any),\n // event subscriptions\n onReady: PropTypes.func,\n onError: PropTypes.func,\n onPlay: PropTypes.func,\n onPause: PropTypes.func,\n onEnd: PropTypes.func,\n onStateChange: PropTypes.func,\n onPlaybackRateChange: PropTypes.func,\n onPlaybackQualityChange: PropTypes.func\n};\nYouTube.defaultProps = {\n id: null,\n className: null,\n opts: {},\n containerClassName: '',\n onReady: function onReady() {},\n onError: function onError() {},\n onPlay: function onPlay() {},\n onPause: function onPause() {},\n onEnd: function onEnd() {},\n onStateChange: function onStateChange() {},\n onPlaybackRateChange: function onPlaybackRateChange() {},\n onPlaybackQualityChange: function onPlaybackQualityChange() {}\n};\nYouTube.PlayerState = {\n UNSTARTED: -1,\n ENDED: 0,\n PLAYING: 1,\n PAUSED: 2,\n BUFFERING: 3,\n CUED: 5\n};\nexport default YouTube;","'use strict';\n\nvar isArray = Array.isArray;\nvar keyList = Object.keys;\nvar hasProp = Object.prototype.hasOwnProperty;\nmodule.exports = function equal(a, b) {\n if (a === b) return true;\n if (a && b && typeof a == 'object' && typeof b == 'object') {\n var arrA = isArray(a),\n arrB = isArray(b),\n i,\n length,\n key;\n if (arrA && arrB) {\n length = a.length;\n if (length != b.length) return false;\n for (i = length; i-- !== 0;) if (!equal(a[i], b[i])) return false;\n return true;\n }\n if (arrA != arrB) return false;\n var dateA = a instanceof Date,\n dateB = b instanceof Date;\n if (dateA != dateB) return false;\n if (dateA && dateB) return a.getTime() == b.getTime();\n var regexpA = a instanceof RegExp,\n regexpB = b instanceof RegExp;\n if (regexpA != regexpB) return false;\n if (regexpA && regexpB) return a.toString() == b.toString();\n var keys = keyList(a);\n length = keys.length;\n if (length !== keyList(b).length) return false;\n for (i = length; i-- !== 0;) if (!hasProp.call(b, keys[i])) return false;\n for (i = length; i-- !== 0;) {\n key = keys[i];\n if (!equal(a[key], b[key])) return false;\n }\n return true;\n }\n return a !== a && b !== b;\n};","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar _sister = require('sister');\nvar _sister2 = _interopRequireDefault(_sister);\nvar _YouTubePlayer = require('./YouTubePlayer');\nvar _YouTubePlayer2 = _interopRequireDefault(_YouTubePlayer);\nvar _loadYouTubeIframeApi = require('./loadYouTubeIframeApi');\nvar _loadYouTubeIframeApi2 = _interopRequireDefault(_loadYouTubeIframeApi);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n default: obj\n };\n}\n\n/**\n * @typedef YT.Player\n * @see https://developers.google.com/youtube/iframe_api_reference\n */\n\n/**\n * @see https://developers.google.com/youtube/iframe_api_reference#Loading_a_Video_Player\n */\nvar youtubeIframeAPI;\n\n/**\n * A factory function used to produce an instance of YT.Player and queue function calls and proxy events of the resulting object.\n *\n * @param maybeElementId Either An existing YT.Player instance,\n * the DOM element or the id of the HTML element where the API will insert an