text: !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react")):"function"==typeof define&&define.amd?define(["react"],t):"object"==typeof exports?exports.ReactImageLightbox=t(require("react")):e.ReactImageLightbox=t(e.react)}(this,function(e){return function(e){function t(o){if(i[o])return i[o].exports;var n=i[o]={exports:{},id:o,loaded:!1};return e[o].call(n.exports,n,n.exports,t),n.loaded=!0,n.exports}var i={};return t.m=e,t.c=i,t.p="",t(0)}([function(e,t,i){"use strict";e.exports=i(2)["default"]},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.MIN_ZOOM_LEVEL=0,t.MAX_ZOOM_LEVEL=300,t.ZOOM_RATIO=1.007,t.ZOOM_BUTTON_INCREMENT_SIZE=100,t.WHEEL_MOVE_X_THRESHOLD=200,t.WHEEL_MOVE_Y_THRESHOLD=1,t.KEYS={ESC:27,LEFT_ARROW:37,RIGHT_ARROW:39}},function(e,t,i){"use strict";function o(e){return e&&e.__esModule?e:{"default":e}}function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function r(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}Object.defineProperty(t,"__esModule",{value:!0});var l,u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(e[o]=i[o])}return e},h=function(){function e(e,t){for(var i=0;i<t.length;i++){var o=t[i];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,i,o){return i&&e(t.prototype,i),o&&e(t,o),t}}(),d=i(5),c=o(d),m=i(3),f=i(1);/*
  	                                                                                                                                                                                                                   * react-image-lightbox
  	                                                                                                                                                                                                                   * Copyright 2016 Chris Fritz All rights reserved.
  	                                                                                                                                                                                                                   * @license Open source under the MIT License
  	                                                                                                                                                                                                                   */
  i(4);var p=(l={builtinButtonDisabled:"builtinButtonDisabled_rilu",builtinButton:"builtinButton_rilu",closeButton:"closeButton_rilu",closeWindow:"closeWindow_rilu"},r(l,"closeWindow","closeWindow_rilu"),r(l,"downloadBlocker","downloadBlocker_rilu"),r(l,"imageDiscourager","imageDiscourager_rilu"),r(l,"imageNext","imageNext_rilu"),r(l,"imagePrev","imagePrev_rilu"),r(l,"image","image_rilu"),r(l,"inner","inner_rilu"),r(l,"navButtonNext","navButtonNext_rilu"),r(l,"navButtonPrev","navButtonPrev_rilu"),r(l,"navButtons","navButtons_rilu"),r(l,"outerAnimating","outerAnimating_rilu"),r(l,"outerClosing","outerClosing_rilu"),r(l,"outer","outer_rilu"),r(l,"toolbarItemChild","toolbarItemChild_rilu"),r(l,"toolbarItem","toolbarItem_rilu"),r(l,"toolbarLeftSideNoFlex","toolbarLeftSideNoFlex_rilu"),r(l,"toolbarLeftSide","toolbarLeftSide_rilu"),r(l,"toolbarRightSideNoFlex","toolbarRightSideNoFlex_rilu"),r(l,"toolbarRightSide","toolbarRightSide_rilu"),r(l,"toolbarSideNoFlex","toolbarSideNoFlex_rilu"),r(l,"toolbarSide","toolbarSide_rilu"),r(l,"toolbar","toolbar_rilu"),r(l,"zoomInButton","zoomInButton_rilu"),r(l,"zoomOutButton","zoomOutButton_rilu"),l),v=function(e){function t(e){n(this,t);var i=s(this,Object.getPrototypeOf(t).call(this,e));return i.state={isClosing:!e.animationDisabled,shouldAnimate:!1,zoomLevel:f.MIN_ZOOM_LEVEL,offsetX:0,offsetY:0},i.closeIfClickInner=i.closeIfClickInner.bind(i),i.handleImageDoubleClick=i.handleImageDoubleClick.bind(i),i.handleImageMouseWheel=i.handleImageMouseWheel.bind(i),i.handleKeyInput=i.handleKeyInput.bind(i),i.handleMouseUp=i.handleMouseUp.bind(i),i.handleOuterMouseDown=i.handleOuterMouseDown.bind(i),i.handleOuterMouseMove=i.handleOuterMouseMove.bind(i),i.handleOuterMousewheel=i.handleOuterMousewheel.bind(i),i.handleOuterTouchStart=i.handleOuterTouchStart.bind(i),i.handleOuterTouchMove=i.handleOuterTouchMove.bind(i),i.handleWindowResize=i.handleWindowResize.bind(i),i.handleZoomInButtonClick=i.handleZoomInButtonClick.bind(i),i.handleZoomOutButtonClick=i.handleZoomOutButtonClick.bind(i),i.requestClose=i.requestClose.bind(i),i.requestMoveNext=i.requestMoveNext.bind(i),i.requestMovePrev=i.requestMovePrev.bind(i),i}return a(t,e),h(t,[{key:"componentWillMount",value:function(){this.listenersAttached=!1,this.keyPressed=!1,this.imageCache={},this.lastKeyDownTime=0,this.resizeTimeout=null,this.wheelActionTimeout=null,this.resetScrollTimeout=null,this.scrollX=0,this.scrollY=0,this.isDragging=!1,this.dragStartX=0,this.dragStartY=0,this.dragStartOffsetX=0,this.dragStartOffsetY=0,this.keyCounter=0,this.moveRequested=!1,this.props.animationDisabled||this.setState({isClosing:!1})}},{key:"componentDidMount",value:function(){this.attachListeners(),this.loadAllImages()}},{key:"componentWillReceiveProps",value:function(e){var t=this,i=this.getSrcTypes().some(function(i){return t.props[i.name]!==e[i.name]});(i||this.moveRequested)&&(this.moveRequested=!1,this.loadAllImages(e))}},{key:"componentWillUnmount",value:function(){this.detachListeners()}},{key:"attachListeners",value:function(){this.listenersAttached||(document.addEventListener("keydown",this.handleKeyInput),document.addEventListener("keyup",this.handleKeyInput),window.addEventListener("resize",this.handleWindowResize),window.addEventListener("mouseup",this.handleMouseUp),window.addEventListener("touchend",this.handleMouseUp),(0,m.isInIframe)()&&(window.top.addEventListener("mouseup",this.handleMouseUp),window.top.addEventListener("touchend",this.handleMouseUp)),this.listenersAttached=!0)}},{key:"changeZoom",value:function(e,t,i){var o=(0,m.getWindowWidth)(),n=(0,m.getWindowHeight)(),s=Math.max(f.MIN_ZOOM_LEVEL,Math.min(f.MAX_ZOOM_LEVEL,e));if(s!==this.state.zoomLevel){if(s===f.MIN_ZOOM_LEVEL)return this.setState({zoomLevel:s,offsetX:0,offsetY:0});var a=this.getZoomMultiplier(),r=this.getZoomMultiplier(s),l=("undefined"!=typeof t?t:o/2)/o,u=("undefined"!=typeof i?i:n/2)/n,h=o/a,d=n/a,c=o/r,p=n/r,v=(c-h)*(l-.5),g=(p-d)*(u-.5),y=this.state.offsetX-v,b=this.state.offsetY-g,M=this.getMaxOffsets();this.state.zoomLevel>s&&(y=Math.max(M.minX,Math.min(M.maxX,y)),b=Math.max(M.minY,Math.min(M.maxY,b))),this.setState({zoomLevel:s,offsetX:y,offsetY:b})}}},{key:"closeIfClickInner",value:function(e){e.target.className.search(/\binner\b/)>-1&&this.requestClose(e)}},{key:"detachListeners",value:function(){this.listenersAttached&&(document.removeEventListener("keydown",this.handleKeyInput),document.removeEventListener("keyup",this.handleKeyInput),window.removeEventListener("resize",this.handleWindowResize),window.removeEventListener("mouseup",this.handleMouseUp),window.removeEventListener("touchend",this.handleMouseUp),(0,m.isInIframe)()&&(window.top.removeEventListener("mouseup",this.handleMouseUp),window.top.removeEventListener("touchend",this.handleMouseUp)),this.listenersAttached=!1)}},{key:"getBestImageForType",value:function(e){var t=this.props[e],i={};if(this.isImageLoaded(t))i=this.getFitSizes(this.imageCache[t].width,this.imageCache[t].height);else{if(!this.isImageLoaded(this.props[e+"Thumbnail"]))return null;t=this.props[e+"Thumbnail"],i=this.getFitSizes(this.imageCache[t].width,this.imageCache[t].height,!0)}return{src:t,height:i.height,width:i.width}}},{key:"getFitSizes",value:function(e,t,i){var o=(0,m.getWindowHeight)(),n=(0,m.getWindowWidth)(),s=o-2*this.props.imagePadding,a=n-2*this.props.imagePadding;i||(s=Math.min(s,t),a=Math.min(a,e));var r=a/s,l=e/t,u={};return r>l?(u.width=e*s/t,u.height=s):(u.width=a,u.height=t*a/e),u}},{key:"getMaxOffsets",value:function(){var e=arguments.length<=0||void 0===arguments[0]?this.state.zoomLevel:arguments[0],t=this.getBestImageForType("mainSrc");if(null===t)return{maxX:0,minX:0,maxY:0,minY:0};var i=(0,m.getWindowWidth)(),o=(0,m.getWindowHeight)(),n=this.getZoomMultiplier(e),s=0;s=t.width-i/n<0?(i/n-t.width)/2:(t.width-i/n)/2;var a=0;return a=t.height-o/n<0?(o/n-t.height)/2:(t.height-o/n)/2,{maxX:s,maxY:a,minX:-1*s,minY:-1*a}}},{key:"getOffsetXFromWindowCenter",value:function(e){var t=(0,m.getWindowWidth)();return t/2-e}},{key:"getOffsetYFromWindowCenter",value:function(e){var t=(0,m.getWindowHeight)();return t/2-e}},{key:"getSrcTypes",value:function(){return[{name:"mainSrc",keyEnding:"i"+this.keyCounter},{name:"mainSrcThumbnail",keyEnding:"t"+this.keyCounter},{name:"nextSrc",keyEnding:"i"+(this.keyCounter+1)},{name:"nextSrcThumbnail",keyEnding:"t"+(this.keyCounter+1)},{name:"prevSrc",keyEnding:"i"+(this.keyCounter-1)},{name:"prevSrcThumbnail",keyEnding:"t"+(this.keyCounter-1)}]}},{key:"getZoomMultiplier",value:function(){var e=arguments.length<=0||void 0===arguments[0]?this.state.zoomLevel:arguments[0];return Math.pow(f.ZOOM_RATIO,e)}},{key:"handleKeyInput",value:function(e){if(e.stopPropagation(),!this.isAnimating()){if("keyup"===e.type)return void(this.lastKeyDownTime-=this.props.keyRepeatKeyupBonus);var t=e.which||e.keyCode,i=new Date;if(!(i.getTime()-this.lastKeyDownTime<this.props.keyRepeatLimit&&t!==f.KEYS.ESC))switch(this.lastKeyDownTime=i.getTime(),t){case f.KEYS.ESC:e.preventDefault(),this.requestClose(e);break;case f.KEYS.LEFT_ARROW:if(!this.props.prevSrc)return;e.preventDefault(),this.keyPressed=!0,this.requestMovePrev(e);break;case f.KEYS.RIGHT_ARROW:if(!this.props.nextSrc)return;e.preventDefault(),this.keyPressed=!0,this.requestMoveNext(e)}}}},{key:"handleOuterMousewheel",value:function(e){var t=this;e.preventDefault(),e.stopPropagation();var i=f.WHEEL_MOVE_X_THRESHOLD,o=0,n=500;if(clearTimeout(this.resetScrollTimeout),this.resetScrollTimeout=setTimeout(function(){t.scrollX=0,t.scrollY=0},300),null===this.wheelActionTimeout&&!this.isAnimating()){if(Math.abs(e.deltaY)<Math.abs(e.deltaX)){this.scrollY=0,this.scrollX+=e.deltaX;var s=i/2;this.scrollX>=i||e.deltaX>=s?(this.requestMoveNext(e),o=n,this.scrollX=0):(this.scrollX<=-1*i||e.deltaX<=-1*s)&&(this.requestMovePrev(e),o=n,this.scrollX=0)}0!==o&&(this.wheelActionTimeout=setTimeout(function(){t.wheelActionTimeout=null},o))}}},{key:"handleImageMouseWheel",value:function(e){e.preventDefault();var t=f.WHEEL_MOVE_Y_THRESHOLD;if(Math.abs(e.deltaY)>=Math.abs(e.deltaX)){if(e.stopPropagation(),Math.abs(e.deltaY)<t)return;this.scrollX=0,this.scrollY+=e.deltaY,this.changeZoom(this.state.zoomLevel-e.deltaY,e.clientX,e.clientY)}}},{key:"handleImageDoubleClick",value:function(e){this.state.zoomLevel>f.MIN_ZOOM_LEVEL?this.changeZoom(f.MIN_ZOOM_LEVEL,e.clientX,e.clientY):this.changeZoom(this.state.zoomLevel+f.ZOOM_BUTTON_INCREMENT_SIZE,e.clientX,e.clientY)}},{key:"handleMouseUp",value:function(){var e=this;if(this.isDragging){this.isDragging=!1;var t=this.getMaxOffsets(),i=Math.max(t.minX,Math.min(t.maxX,this.state.offsetX)),o=Math.max(t.minY,Math.min(t.maxY,this.state.offsetY));i===this.state.offsetX&&o===this.state.offsetY||(this.setState({offsetX:i,offsetY:o,shouldAnimate:!0}),setTimeout(function(){e.setState({shouldAnimate:!1})},this.props.animationDuration))}}},{key:"handleMoveStart",value:function(e,t){this.state.zoomLevel<=f.MIN_ZOOM_LEVEL||(this.isDragging=!0,this.dragStartX=e,this.dragStartY=t,this.dragStartOffsetX=this.state.offsetX,this.dragStartOffsetY=this.state.offsetY)}},{key:"handleOuterMouseDown",value:function(e){e.preventDefault(),this.handleMoveStart(e.clientX,e.clientY)}},{key:"handleOuterTouchStart",value:function(e){var t=e.changedTouches[0];this.handleMoveStart(parseInt(t.clientX,10),parseInt(t.clientY,10))}},{key:"handleMove",value:function(e,t){if(this.isDragging){var i=this.getZoomMultiplier(),o=(this.dragStartX-e)/i+this.dragStartOffsetX,n=(this.dragStartY-t)/i+this.dragStartOffsetY;this.state.offsetX===o&&this.state.offsetY===n||this.setState({offsetX:o,offsetY:n})}}},{key:"handleOuterMouseMove",value:function(e){this.handleMove(e.clientX,e.clientY)}},{key:"handleOuterTouchMove",value:function(e){if(e.preventDefault(),!(this.state.zoomLevel<=f.MIN_ZOOM_LEVEL)){var t=e.changedTouches[0];this.handleMove(parseInt(t.clientX,10),parseInt(t.clientY,10))}}},{key:"handleWindowResize",value:function(){clearTimeout(this.resizeTimeout),this.resizeTimeout=setTimeout(this.forceUpdate.bind(this),100)}},{key:"handleZoomInButtonClick",value:function(){this.changeZoom(this.state.zoomLevel+f.ZOOM_BUTTON_INCREMENT_SIZE)}},{key:"handleZoomOutButtonClick",value:function(){this.changeZoom(this.state.zoomLevel-f.ZOOM_BUTTON_INCREMENT_SIZE)}},{key:"isAnimating",value:function(){return this.state.shouldAnimate||this.state.isClosing}},{key:"isImageLoaded",value:function(e){return e&&e in this.imageCache&&this.imageCache[e].loaded}},{key:"loadImage",value:function(e,t){var i=this;if(this.isImageLoaded(e))return void setTimeout(function(){t(null,i.imageCache[e].width,i.imageCache[e].height)},1);var o=this,n=new Image;n.onerror=function(){t("image load error")},n.onload=function(){o.imageCache[e]={loaded:!0,width:this.width,height:this.height},t(null,this.width,this.height)},n.src=e}},{key:"loadAllImages",value:function(){var e=this,t=arguments.length<=0||void 0===arguments[0]?this.props:arguments[0],i=function(t,i){return function(o){return o?void(window.console&&window.console.warn(o)):void(e.props[t]===i&&e.forceUpdate())}};this.getSrcTypes().forEach(function(o){var n=o.name;t[n]&&!e.isImageLoaded(t[n])&&e.loadImage(t[n],i(n,t[n]))})}},{key:"requestClose",value:function(e){var t=this,i=function(){return t.props.onCloseRequest(e)};return this.props.animationDisabled||"keydown"===e.type&&!this.props.animationOnKeyInput?i():(this.setState({isClosing:!0}),void setTimeout(i,this.props.animationDuration))}},{key:"requestMove",value:function(e,t){var i=this,o={zoomLevel:f.MIN_ZOOM_LEVEL,offsetX:0,offsetY:0};this.props.animationDisabled||this.keyPressed&&!this.props.animationOnKeyInput||(o.shouldAnimate=!0,setTimeout(function(){return i.setState({shouldAnimate:!1})},this.props.animationDuration)),this.keyPressed=!1,this.moveRequested=!0,"prev"===e?(this.keyCounter--,this.setState(o),this.props.onMovePrevRequest(t)):(this.keyCounter++,this.setState(o),this.props.onMoveNextRequest(t))}},{key:"requestMoveNext",value:function(e){this.requestMove("next",e)}},{key:"requestMovePrev",value:function(e){this.requestMove("prev",e)}},{key:"render",value:function(){var e=this,t={};!this.props.animationDisabled&&this.isAnimating()&&(t=u({},t,{transition:["transform","left","top","right","bottom"].map(function(t){return t+" "+e.props.animationDuration+"ms"}).join(", ")}));var i={};this.getSrcTypes().forEach(function(e){var t=e.name,o=e.keyEnding;i[t]=o});var o=[],n=function(n,s){var a=arguments.length<=2||void 0===arguments[2]?{}:arguments[2];if(e.props[n]){var r=u({},a,t);e.state.zoomLevel>f.MIN_ZOOM_LEVEL&&(r.cursor="move");var l=e.getBestImageForType(n);if(null===l)return void o.push(c["default"].createElement("div",{className:s+" "+p.image+" not-loaded",style:r,key:e.props[n]+i[n]}));r.width=l.width,r.height=l.height;var h=l.src;e.props.discourageDownloads?(r.backgroundImage="url('"+h+"')",o.push(c["default"].createElement("div",{className:s+" "+p.image+" "+p.imageDiscourager,onDoubleClick:e.handleImageDoubleClick,onWheel:e.handleImageMouseWheel,style:r,key:h+i[n]},c["default"].createElement("div",{className:"download-blocker ${styles.downloadBlocker}"})))):o.push(c["default"].createElement("img",{className:s+" "+p.image,onDoubleClick:e.handleImageDoubleClick,onWheel:e.handleImageMouseWheel,style:r,src:h,key:h+i[n],alt:e.props.imageTitle||(0,m.translate)("Image")}))}},s=this.getZoomMultiplier();n("nextSrc","image-next "+p.imageNext),n("mainSrc","image-current",{transform:"scale3d("+s+", "+s+", 1)",left:-1*s*this.state.offsetX,right:s*this.state.offsetX,top:-1*s*this.state.offsetY,bottom:s*this.state.offsetY}),n("prevSrc","image-prev "+p.imagePrev);var a=function(){},r=[p.toolbarItemChild,p.builtinButton,p.zoomInButton],l=[p.toolbarItemChild,p.builtinButton,p.zoomOutButton],h=this.handleZoomInButtonClick,d=this.handleZoomOutButtonClick;this.state.zoomLevel===f.MAX_ZOOM_LEVEL&&(r.push(p.builtinButtonDisabled),h=a),this.state.zoomLevel===f.MIN_ZOOM_LEVEL&&(l.push(p.builtinButtonDisabled),d=a),this.isAnimating()&&(h=a,d=a);return c["default"].createElement("div",null,c["default"].createElement("div",{onWheel:this.handleOuterMousewheel,onMouseMove:this.handleOuterMouseMove,onMouseDown:this.handleOuterMouseDown,onTouchStart:this.handleOuterTouchStart,onTouchMove:this.handleOuterTouchMove,className:"outer "+p.outer+" "+p.outerAnimating+(this.state.isClosing?" closing "+p.outerClosing:""),style:{transition:"opacity "+this.props.animationDuration+"ms",animationDuration:this.props.animationDuration+"ms",animationDirection:this.state.isClosing?"normal":"reverse"}},c["default"].createElement("div",{className:"inner "+p.inner,onClick:this.props.clickOutsideToClose?this.closeIfClickInner:a},o),this.props.prevSrc?c["default"].createElement("button",{type:"button",className:"prev-button "+p.navButtons+" "+p.navButtonPrev,key:"prev",onClick:this.isAnimating()?a:this.requestMovePrev}):"",this.props.nextSrc?c["default"].createElement("button",{type:"button",className:"next-button "+p.navButtons+" "+p.navButtonNext,key:"next",onClick:this.isAnimating()?a:this.requestMoveNext}):"",c["default"].createElement("div",{className:"toolbar "+p.toolbar},c["default"].createElement("ul",{className:"toolbar-left "+p.toolbarSide+" "+p.toolbarLeftSide},c["default"].createElement("li",{className:p.toolbarItem},c["default"].createElement("span",{className:p.toolbarItemChild},this.props.imageTitle))),c["default"].createElement("ul",{className:"toolbar-right "+p.toolbarSide+" "+p.toolbarRightSide},this.props.toolbarButtons?this.props.toolbarButtons.map(function(e,t){return c["default"].createElement("li",{key:t,className:p.toolbarItem},e)}):"",c["default"].createElement("li",{className:p.toolbarItem},c["default"].createElement("button",{type:"button",key:"zoom-in",className:"zoom-in "+r.join(" "),onClick:h})),c["default"].createElement("li",{className:p.toolbarItem},c["default"].createElement("button",{type:"button",key:"zoom-out",className:"zoom-out "+l.join(" "),onClick:d})),c["default"].createElement("li",{className:p.toolbarItem},c["default"].createElement("button",{type:"button",key:"close",className:"close "+p.toolbarItemChild+(" "+p.builtinButton+" "+p.closeButton),onClick:this.isAnimating()?a:this.requestClose}))))))}}]),t}(d.Component);v.propTypes={mainSrc:d.PropTypes.string.isRequired,prevSrc:d.PropTypes.string,nextSrc:d.PropTypes.string,mainSrcThumbnail:d.PropTypes.string,prevSrcThumbnail:d.PropTypes.string,nextSrcThumbnail:d.PropTypes.string,onCloseRequest:d.PropTypes.func.isRequired,onMovePrevRequest:d.PropTypes.func,onMoveNextRequest:d.PropTypes.func,discourageDownloads:d.PropTypes.bool,animationDisabled:d.PropTypes.bool,animationOnKeyInput:d.PropTypes.bool,animationDuration:d.PropTypes.number,keyRepeatLimit:d.PropTypes.number,keyRepeatKeyupBonus:d.PropTypes.number,imageTitle:d.PropTypes.node,toolbarButtons:d.PropTypes.arrayOf(d.PropTypes.node),imagePadding:d.PropTypes.number,clickOutsideToClose:d.PropTypes.bool},v.defaultProps={onMovePrevRequest:function(){},onMoveNextRequest:function(){},discourageDownloads:!1,animationDisabled:!1,animationOnKeyInput:!1,animationDuration:300,keyRepeatLimit:180,keyRepeatKeyupBonus:40,imagePadding:10,clickOutsideToClose:!0},t["default"]=v},function(e,t){"use strict";function i(){var e=navigator.userAgent.match(/(?:MSIE |Trident\/.*; rv:)(\d+)/);return e?parseInt(e[1],10):void 0}function o(e){var t=arguments.length<=1||void 0===arguments[1]?null:arguments[1];if(!e)return"";var i=e;return t&&Object.keys(t).forEach(function(e){i=i.replace(e,t[e])}),i}function n(){return window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth}function s(){return window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight}function a(){try{return window.self!==window.top}catch(e){return!0}}Object.defineProperty(t,"__esModule",{value:!0}),t.getIEVersion=i,t.translate=o,t.getWindowWidth=n,t.getWindowHeight=s,t.isInIframe=a},function(e,t){},function(t,i){t.exports=e}])});
  //# sourceMappingURL=react-image-lightbox.js.map