PageSourceSearch

https://www.natchezss.com/static/js/33.75dd1fd010269231c27f.chunk.js

js natchezss.com collected 2026-09-25 22:51:10 UTC 39,848 bytes, 2 lines download raw bytes

1/*! For license information please see 33.75dd1fd010269231c27f.chunk.js.LICENSE.txt */
2(window.webpackJsonp=window.webpackJsonp||[]).push([[33],{158:function(e,t,n){e.exports=n(759)()},234:function(e,t){e.exports=function(e,t,n){return t<n?e<t?t:e>n?n:e:e<n?n:e>t?t:e}},754:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=a(n(755)),o=a(n(756)),r=a(n(757)),s=a(n(758));function a(e){return e&&e.__esModule?e:{default:e}}var u={state:{detectHover:i.default,detectPointer:o.default,detectTouchEvents:r.default,detectPassiveEvents:s.default},update:function(){u.state.detectHover.update(),u.state.detectPointer.update(),u.state.detectTouchEvents.update(),u.state.detectPassiveEvents.update(),u.updateOnlyOwnProperties()},updateOnlyOwnProperties:function(){var e,t,n,i;"undefined"!=typeof window&&(u.passiveEvents=u.state.detectPassiveEvents.hasSupport||!1,u.hasTouch=u.state.detectTouchEvents.hasSupport||!1,u.deviceType=(e=u.hasTouch,t=u.state.detectHover.anyHover,n=u.state.detectPointer.anyFine,i=u.state,e&&(t||n)?"hybrid":e&&Object.keys(i.detectHover).filter((function(e){return"update"!==e})).every((function(e){return!1===i.detectHover[e]}))&&Object.keys(i.detectPointer).filter((function(e){return"update"!==e})).every((function(e){return!1===i.detectPointer[e]}))?window.navigator&&/android/.test(window.navigator.userAgent.toLowerCase())?"touchOnly":"hybrid":e?"touchOnly":"mouseOnly"),u.hasMouse="touchOnly"!==u.deviceType,u.primaryInput=("mouseOnly"===u.deviceType?"mouse":"touchOnly"===u.deviceType&&"touch")||u.state.detectHover.hover&&"mouse"||u.state.detectHover.none&&"touch"||"mouse",/windows/.test(window.navigator.userAgent.toLowerCase())&&/chrome/.test(window.navigator.userAgent.toLowerCase())&&parseInt(/Chrome\/([0-9.]+)/.exec(navigator.userAgent)[1],10)>=59&&u.hasTouch&&(u.deviceType="hybrid",u.hasMouse=!0,u.primaryInput="mouse"))}};u.updateOnlyOwnProperties(),t.default=u},755:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i={update:function(){"undefined"!=typeof window&&"function"==typeof window.matchMedia&&(i.hover=window.matchMedia("(hover: hover)").matches,i.none=window.matchMedia("(hover: none)").matches||window.matchMedia("(hover: on-demand)").matches,i.anyHover=window.matchMedia("(any-hover: hover)").matches,i.anyNone=window.matchMedia("(any-hover: none)").matches||window.matchMedia("(any-hover: on-demand)").matches)}};i.update(),t.default=i},756:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i={update:function(){"undefined"!=typeof window&&"function"==typeof window.matchMedia&&(i.fine=window.matchMedia("(pointer: fine)").matches,i.coarse=window.matchMedia("(pointer: coarse)").matches,i.none=window.matchMedia("(pointer: none)").matches,i.anyFine=window.matchMedia("(any-pointer: fine)").matches,i.anyCoarse=window.matchMedia("(any-pointer: coarse)").matches,i.anyNone=window.matchMedia("(any-pointer: none)").matches)}};i.update(),t.default=i},757:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i={update:function(){"undefined"!=typeof window&&(i.hasSupport="ontouchstart"in window,i.browserSupportsApi=Boolean(window.TouchEvent))}};i.update(),t.default=i},758:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i={update:function(){if("undefined"!=typeof window&&"function"==typeof window.addEventListener){var e=!1,t=Object.defineProperty({},"passive",{get:function(){e=!0}}),n=function(){};window.addEventListener("testPassiveEventSupport",n,t),window.removeEventListener("testPassiveEventSupport",n,t),i.hasSupport=e}}};i.update(),t.default=i},759:function(e,t,n){"use strict";var i=n(760),o=n(761),r=n(762);e.exports=function(){function e(e,t,n,i,s,a){a!==r&&o(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return n.checkPropTypes=i,n.PropTypes=n,n}},760:function(e,t,n){"use strict";function i(e){return function(){return e}}var o=function(){};o.thatReturns=i,o.thatReturnsFalse=i(!1),o.thatReturnsTrue=i(!0),o.thatReturnsNull=i(null),o.thatReturnsThis=function(){return this},o.thatReturnsArgument=function(e){return e},e.exports=o},761:function(e,t,n){"use strict";e.exports=function(e,t,n,i,o,r,s,a){if(!e){var u;if(void 0===t)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,i,o,r,s,a],l=0;(u=new Error(t.replace(/%s/g,(function(){return c[l++]})))).name="Invariant Violation"}throw u.framesToPop=1,u}}},762:function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},763:function(e,t,n){"use strict";var i=n(764);e.exports=function(e,t,n){if(!i(e))return{};"function"==typeof t&&(n=t,t=[]),"string"==typeof t&&(t=[t]);for(var o="function"==typeof n,r=Object.keys(e),s={},a=0;a<r.length;a++){var u=r[a],c=e[u];t&&(-1!==t.indexOf(u)||o&&!n(c,u,e))||(s[u]=c)}return s}},764:function(e,t,n){"use strict";var i=n(765);e.exports=function(e){return i(e)||"function"==typeof e||Array.isArray(e)}},765:function(e,t,n){"use strict";var i=n(766);function o(e){return!0===i(e)&&"[object Object]"===Object.prototype.toString.call(e)}e.exports=function(e){var t,n;return!1!==o(e)&&("function"==typeof(t=e.constructor)&&(!1!==o(n=t.prototype)&&!1!==n.hasOwnProperty("isPrototypeOf")))}},766:function(e,t,n){"use strict";e.exports=function(e){return null!=e&&"object"==typeof e&&!1===Array.isArray(e)}},767:function(e,t){e.exports=function(e,t){return function(n){var i=t(n)?e.isRequired:e;return i.apply(this,arguments)}}},768:function(e,t,n){"use strict";e.exports=function e(t,n){if(t===n)return!0;var i,o=Array.isArray(t),r=Array.isArray(n);if(o&&r){if(t.length!=n.length)return!1;for(i=0;i<t.length;i++)if(!e(t[i],n[i]))return!1;return!0}if(o!=r)return!1;if(t&&n&&"object"==typeof t&&"object"==typeof n){var s=Object.keys(t);if(s.length!==Object.keys(n).length)return!1;var a=t instanceof Date,u=n instanceof Date;if(a&&u)return t.getTime()==n.getTime();if(a!=u)return!1;var c=t instanceof RegExp,l=n instanceof RegExp;if(c&&l)return t.toString()==n.toString();if(c!=l)return!1;for(i=0;i<s.length;i++)if(!Object.prototype.hasOwnProperty.call(n,s[i]))return!1;for(i=0;i<s.length;i++)if(!e(t[s[i]],n[s[i]]))return!1;return!0}return!1}},916:function(e,t,n){"use strict";n.r(t);var i=n(754),o=n.n(i),r=n(3),s=n.n(r),a=n(158),u=n.n(a),c=n(0),l=n.n(c),h=n(95),d=n.n(h),p=n(763),f=n.n(p),m=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}();var y=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.el=t}return m(e,[{key:"getDocumentRelativeElementOffset",value:function(e){var t=this.getRootOfEl(e).getBoundingClientRect(),n=t.left,i=t.top,o=e.getBoundingClientRect(),r=o.left,s=o.top;return{x:Math.abs(n)+r,y:Math.abs(i)+s}}},{key:"getRootOfEl",value:function(e){return e.parentElement?this.getRootOfEl(e.parentElement):e}},{key:"getComputedElementRelativeCursorPosition",value:function(e,t){this.lastEvent=e;var n=this.getDocumentRelativeCursorPosition(e),i=n.x,o=n.y,r=t.x,s=t.y;return{x:Math.round(i-r),y:Math.round(o-s)}}},{key:"getDocumentRelativeCursorPosition",value:function(e){return{x:e.pageX,y:e.pageY}}},{key:"getCursorPosition",value:function(e){return this.getComputedElementRelativeCursorPosition(e,this.documentRelativeElementOffset)}},{key:"documentRelativeElementOffset",get:function(){return this.elementOffset||(this.elementOffset=this.getDocumentRelativeElementOffset(this.el)),this.elementOffset}}]),e}();function v(e,t,n,i){return e.addEventListener(t,n,i),{removeEventListener:function(){e.removeEventListener(t,n,i)}}}var g="pressEvent",b="setHovering",M="unsetHovering",w=function(){},T=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}();var I=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(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}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return P.call(n),n.state={detectedEnvironment:{isMouseDetected:!1,isTouchDetected:!1},elementDimensions:{width:0,height:0},isActive:!1,isPositionOutside:!0,position:{x:0,y:0}},n.shouldGuardAgainstMouseEmulationByDevices=!1,n.eventListeners=[],n.timers=[],n.elementOffset={x:0,y:0},n.onTouchStart=n.onTouchStart.bind(n),n.onTouchMove=n.onTouchMove.bind(n),n.onTouchEnd=n.onTouchEnd.bind(n),n.onTouchCancel=n.onTouchCancel.bind(n),n.onMouseEnter=n.onMouseEnter.bind(n),n.onMouseMove=n.onMouseMove.bind(n),n.onMouseLeave=n.onMouseLeave.bind(n),n}return function(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)}(t,e),T(t,[{key:"onTouchStart",value:function(e){this.init(),this.onTouchDetected(),this.setShouldGuardAgainstMouseEmulationByDevices();var t=this.core.getCursorPosition(this.getTouchEvent(e));if(this.setPositionState(t),this.props.isActivatedOnTouch)return e.preventDefault(),void this.activate();this.initPressEventCriteria(t),this.setPressEventTimer()}},{key:"onTouchMove",value:function(e){if(this.isCoreReady){var t=this.core.getCursorPosition(this.getTouchEvent(e));this.state.isActive?(this.setPositionState(t),e.preventDefault(),this.props.shouldStopTouchMovePropagation&&e.stopPropagation()):this.setPressEventCriteria(t)}}},{key:"onTouchEnd",value:function(){this.deactivate(),this.unsetShouldGuardAgainstMouseEmulationByDevices()}},{key:"onTouchCancel",value:function(){this.deactivate(),this.unsetShouldGuardAgainstMouseEmulationByDevices()}},{key:"onMouseEnter",value:function(e){this.shouldGuardAgainstMouseEmulationByDevices||(this.init(),this.onMouseDetected(),this.setPositionState(this.core.getCursorPosition(e)),this.clearActivationTimers(),this.schedulActivation(this.props.hoverDelayInMs))}},{key:"onMouseMove",value:function(e){this.isCoreReady&&this.setPositionState(this.core.getCursorPosition(e))}},{key:"onMouseLeave",value:function(){this.clearActivationTimers(),this.scheduleDeactivation(this.props.hoverOffDelayInMs),this.setState({isPositionOutside:!0})}},{key:"onTouchDetected",value:function(){var e={isTouchDetected:!0,isMouseDetected:!1};this.setState({detectedEnvironment:e}),this.props.onDetectedEnvironmentChanged(e)}},{key:"onMouseDetected",value:function(){var e={isTouchDetected:!1,isMouseDetected:!0};this.setState({detectedEnvironment:e}),this.props.onDetectedEnvironmentChanged(e)}},{key:"componentDidMount",value:function(){this.props.isEnabled&&this.enable()}},{key:"componentWillReceiveProps",value:function(e){var t=e.isEnabled;this.props.isEnabled!==t&&(t?this.enable():this.disable())}},{key:"componentWillUnmount",value:function(){this.clearTimers(),this.disable()}},{key:"enable",value:function(){this.addEventListeners()}},{key:"disable",value:function(){this.removeEventListeners()}},{key:"init",value:function(){this.core=new y(this.el),this.setElementDimensionsState(this.getElementDimensions(this.el))}},{key:"reset",value:function(){var e=this.core,t=(e=void 0===e?{}:e).lastEvent;this.init(),t&&this.setPositionState(this.core.getCursorPosition(t))}},{key:"activate",value:function(){this.setState({isActive:!0}),this.props.onActivationChanged({isActive:!0})}},{key:"deactivate",value:function(){var e=this;this.clearTimer(g),this.setState({isActive:!1}
2,(function(){var t=e.state,n=t.isPositionOutside,i=t.position;e.props.onPositionChanged({isPositionOutside:n,position:i}),e.props.onActivationChanged({isActive:!1})}))}},{key:"setPositionState",value:function(e){var t=this.getIsPositionOutside(e);this.setState({isPositionOutside:t,position:e},this.onPositionChanged)}},{key:"setElementDimensionsState",value:function(e){this.setState({elementDimensions:e})}},{key:"schedulActivation",value:function(e){var t=this,n=setTimeout((function(){t.activate()}),e);this.timers.push({id:n,name:b})}},{key:"scheduleDeactivation",value:function(e){var t=this,n=setTimeout((function(){t.deactivate()}),e);this.timers.push({id:n,name:M})}},{key:"clearActivationTimers",value:function(){this.clearTimer(b),this.clearTimer(M)}},{key:"setPressEventTimer",value:function(){var e=this,t=this.props,n=t.pressDuration,i=t.pressMoveThreshold;this.timers.push({name:g,id:setTimeout((function(){Math.abs(e.currentElTop-e.initialElTop)<i&&e.activate()}),n)})}},{key:"setPressEventCriteria",value:function(e){this.currentElTop=e.y}},{key:"initPressEventCriteria",value:function(e){var t=e.y;this.initialElTop=t,this.currentElTop=t}},{key:"setShouldGuardAgainstMouseEmulationByDevices",value:function(){this.shouldGuardAgainstMouseEmulationByDevices=!0}},{key:"unsetShouldGuardAgainstMouseEmulationByDevices",value:function(){var e=this;this.timers.push({name:"mouseEmulation",id:setTimeout((function(){e.shouldGuardAgainstMouseEmulationByDevices=!1}),0)})}},{key:"clearTimers",value:function(){for(var e=this.timers;e.length;){var t=e.pop();clearTimeout(t.id)}}},{key:"clearTimer",value:function(e){this.timers.forEach((function(t){t.name===e&&clearTimeout(t.id)}))}},{key:"getElementDimensions",value:function(e){var t=e.getBoundingClientRect();return{width:t.width,height:t.height}}},{key:"getIsPositionOutside",value:function(e){var t=e.x,n=e.y,i=this.state.elementDimensions,o=i.width,r=i.height;return t<0||n<0||t>o||n>r}},{key:"getTouchEvent",value:function(e){return e.touches[0]}},{key:"getIsReactComponent",value:function(e){return"function"==typeof e.type}},{key:"shouldDecorateChild",value:function(e){return!!e&&this.getIsReactComponent(e)&&this.props.shouldDecorateChildren}},{key:"decorateChild",value:function(e,t){return Object(c.cloneElement)(e,t)}},{key:"decorateChildren",value:function(e,t){var n=this;return c.Children.map(e,(function(e){return n.shouldDecorateChild(e)?n.decorateChild(e,t):e}))}},{key:"addEventListeners",value:function(){this.eventListeners.push(v(this.el,"touchstart",this.onTouchStart,{passive:!1}),v(this.el,"touchmove",this.onTouchMove,{passive:!1}),v(this.el,"touchend",this.onTouchEnd),v(this.el,"touchcancel",this.onTouchCancel),v(this.el,"mouseenter",this.onMouseEnter),v(this.el,"mousemove",this.onMouseMove),v(this.el,"mouseleave",this.onMouseLeave))}},{key:"removeEventListeners",value:function(){for(;this.eventListeners.length;)this.eventListeners.pop().removeEventListener()}},{key:"getPassThroughProps",value:function(){var e=Object.keys(this.constructor.propTypes);return f()(this.props,e)}},{key:"render",value:function(){var e=this,t=this.props,n=t.children,i=t.className,o=t.mapChildProps,r=t.style,a=s()({},o(this.state),this.getPassThroughProps());return l.a.createElement("div",{className:i,ref:function(t){return e.el=t},style:s()({},r,{WebkitUserSelect:"none"})},this.decorateChildren(n,a))}},{key:"isCoreReady",get:function(){return!!this.core}}]),t}(l.a.Component);I.displayName="ReactCursorPosition",I.propTypes={children:d.a.any,className:d.a.string,hoverDelayInMs:d.a.number,hoverOffDelayInMs:d.a.number,isActivatedOnTouch:d.a.bool,isEnabled:d.a.bool,mapChildProps:d.a.func,onActivationChanged:d.a.func,onPositionChanged:d.a.func,onDetectedEnvironmentChanged:d.a.func,pressDuration:d.a.number,pressMoveThreshold:d.a.number,shouldDecorateChildren:d.a.bool,shouldStopTouchMovePropagation:d.a.bool,style:d.a.object},I.defaultProps={isActivatedOnTouch:!1,isEnabled:!0,hoverDelayInMs:0,hoverOffDelayInMs:0,mapChildProps:function(e){return e},onActivationChanged:w,onPositionChanged:w,onDetectedEnvironmentChanged:w,pressDuration:500,pressMoveThreshold:5,shouldDecorateChildren:!0,shouldStopTouchMovePropagation:!1};var P=function(){var e=this;this.onPositionChanged=function(){(0,e.props.onPositionChanged)(e.state)}},D=I,E=n(2),O=n.n(E),C=n(234),x=n.n(C);
2function S(e,t){return{x:t.width/e.width,y:t.height/e.height}}function L(e,t){return{x:-1*(t.width-e.width),y:-1*(t.height-e.height)}}function j(e){var t=e.containerDimensions,n=e.cursorOffset,i=e.largeImage,o=e.position,r=e.smallImage,s=function(e,t){return{x:e.x-t.x,y:e.y-t.y}}(o,n),a=function(e,t){return S(e,t)}(r,i);return A({x:-1*Math.round(s.x*a.x),y:-1*Math.round(s.y*a.y)},L(t,i),{x:0,y:0})}function k(e){var t,n,i=e.containerDimensions,o=e.largeImage,r=e.position,s=L(i,o),a={x:0,y:0},u=S(t=i,{width:(n=o).width-t.width,height:n.height-t.height});return A({x:-1*Math.round(r.x*u.x),y:-1*Math.round(r.y*u.y)},s,a)}function A(e,t,n){return{x:x()(e.x,t.x,n.x),y:x()(e.y,t.y,n.y)}}var R=n(767),N=n.n(R),_={alt:u.a.string,src:u.a.string.isRequired,srcSet:u.a.string,sizes:u.a.string,onLoad:u.a.func,onError:u.a.func},z=u.a.shape(s()({},_,{width:u.a.number.isRequired,height:u.a.number.isRequired})),H=u.a.shape(s()({},_,{isFluidWidth:u.a.bool,width:N()(u.a.number,(function(e){return!e.isFluidWidth})),height:N()(u.a.number,(function(e){return!e.isFluidWidth}))})),G="mouse",B="touch",Y="over",F="beside",W=u.a.oneOf([F,Y]),U=u.a.shape({width:u.a.oneOfType([u.a.number,u.a.string]),height:u.a.oneOfType([u.a.number,u.a.string])}),Z=u.a.shape({width:u.a.number,height:u.a.number});function Q(){}var V=u.a.shape({x:u.a.number.isRequired,y:u.a.number.isRequired}),J=n(768),q=n.n(J);function X(e,t){var n=e.isFluidWidth,i=e.width,o=e.height,r=n?{width:"auto",height:"auto",fontSize:"0px",position:"relative"}:{width:i+"px",height:o+"px",position:"relative"};return s()({cursor:"crosshair"},t,r)}function K(e,t){var n=e.isFluidWidth,i=e.width,o=e.height,r=n?{width:"100%",height:"auto",display:"block",pointerEvents:"none"}:{width:i+"px",height:o+"px",pointerEvents:"none"};return s()({},t,r)}var $={};function ee(e){var t=$,n=t.params,i=void 0===n?{}:n,o=t.compositStyle;if(q()(i,e))return o;var r=e.containerDimensions,a=e.containerStyle,u=e.fadeDurationInMs,c=e.isTransitionActive,l=function(e,t){var n={overflow:"hidden"};if(t)return n;var i={position:"absolute",top:"0px"};return e?s()(n,i,{left:"0px"}):s()(n,i,{left:"100%",marginLeft:"10px",border:"1px solid #d6d6d6"})}(e.isInPlaceMode,e.isPortalRendered),h=function(e){var t=e.containerDimensions,n=e.fadeDurationInMs,i=e.isTransitionActive;return{width:t.width,height:t.height,opacity:i?1:0,transition:"opacity "+n+"ms ease-in",pointerEvents:"none"}}({containerDimensions:r,fadeDurationInMs:u,isTransitionActive:c});return t.compositStyle=s()({},l,a,h),t.params=e,t.compositStyle}var te=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}();var ne=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(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}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={isTransitionEntering:!1,isTransitionActive:!1,isTransitionLeaving:!1,isTransitionDone:!1},n.timers=[],n}return function(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)}(t,e),te(t,[{key:"componentWillReceiveProps",value:function(e){this.scheduleCssTransition(e)}},{key:"componentWillUnmount",value:function(){this.timers.forEach((function(e){clearTimeout(e)}))}},{key:"scheduleCssTransition",value:function(e){var t=this,n=this.props,i=n.fadeDurationInMs,o=n.isActive,r=n.isPositionOutside,s=o!==e.isActive,a=r!==e.isPositionOutside;(s||a)&&(e.isActive&&!e.isPositionOutside?(this.setState({isTrainsitionDone:!1,isTransitionEntering:!0}),this.timers.push(setTimeout((function(){t.setState({isTransitionEntering:!1,isTransitionActive:!0})}),0))):(this.setState({isTransitionLeaving:!0,isTransitionActive:!1}),this.timers.push(setTimeout((function(){t.setState({isTransitionDone:!0,isTransitionLeaving:!1})}),i))))}},{key:"getImageCoordinates",value:function(){var e=this.props,t=e.cursorOffset,n=e.largeImage,i=e.containerDimensions,o=e.position,r=e.smallImage;return e.isInPlaceMode?k({containerDimensions:i,largeImage:n,position:o}):j({containerDimensions:i,cursorOffset:t,largeImage:n,position:o,smallImage:r})}},{key:"render",value:function(){var e=this.props,t=e.containerClassName,n=e.imageClassName,i=e.isLazyLoaded,o=e.largeImage,r=e.largeImage,s=r.alt,a=void 0===s?"":s,u=r.onLoad,c=void 0===u?Q:u,h=r.onError,d=void 0===h?Q:h,p=l.a.createElement("div",{className:t,style:this.containerStyle},l.a.createElement("img",{alt:a,className:n,src:o.src,srcSet:o.srcSet,sizes:o.sizes,style:this.imageStyle,onLoad:c,onError:d}));return i?this.isVisible?p:null:p}},{key:"isVisible",get:function(){var e=this.state,t=e.isTransitionEntering,n=e.isTransitionActive,i=e.isTransitionLeaving;return t||n||i}},{key:"containerStyle",get:function(){var e=this.props,t=e.containerStyle,n=e.containerDimensions,i=e.fadeDurationInMs,o=e.isPortalRendered,r=e.isInPlaceMode;return ee({containerDimensions:n,containerStyle:t,fadeDurationInMs:i,isTransitionActive:this.state.isTransitionActive,isInPlaceMode:r,isPortalRendered:o})}},{key:"imageStyle",get:function(){var e=this.props,t=e.imageStyle,n=e.largeImage;return function(e){var t=e.imageCoordinates,n=e.imageStyle,i=e.largeImage,o="translate("+t.x+"px, "+t.y+"px)",r={width:i.width,height:i.height,transform:o,WebkitTransform:o,msTransform:o,pointerEvents:"none"};return s()({},n,r)}({imageCoordinates:this.getImageCoordinates(),imageStyle:t,largeImage:n})}}]),t}(l.a.Component);ne.displayName="EnlargedImage",ne.defaultProps={fadeDurationInMs:0,isLazyLoaded:!0}
2,ne.propTypes={containerClassName:u.a.string,containerStyle:u.a.object,cursorOffset:V,position:V,fadeDurationInMs:u.a.number,imageClassName:u.a.string,imageStyle:u.a.object,isActive:u.a.bool,isLazyLoaded:u.a.bool,largeImage:z,containerDimensions:Z,isPortalRendered:u.a.bool,isInPlaceMode:u.a.bool};var ie=ne,oe=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}();function re(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function se(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}var ae=function(e){function t(){var e,n,i;re(this,t);for(var o=arguments.length,r=Array(o),s=0;s<o;s++)r[s]=arguments[s];return n=i=se(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(r))),i.state={isMounted:!1},se(i,n)}return function(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)}(t,e),oe(t,[{key:"componentDidMount",value:function(){if(this.setState({isMounted:!0}),this.isPortalRendered){var e=this.props.portalId;this.portalElement=document.getElementById(e)}}},{key:"render",value:function(){if(!this.isMounted)return null;var e=this.compositProps;return this.isPortalRendered?O.a.createPortal(l.a.createElement(ie,e),this.portalElement):l.a.createElement(ie,e)}},{key:"isPortalIdImplemented",get:function(){return!!this.props.portalId}},{key:"isPortalRendered",get:function(){var e=this.props,t=e.isPortalEnabledForTouch,n=e.isTouchDetected;return!!this.isPortalIdImplemented&&(!n||!!t)}},{key:"isMounted",get:function(){return this.state.isMounted}},{key:"compositProps",get:function(){return s()({},this.props,{isPortalRendered:this.isPortalRendered})}}]),t}(c.Component);ae.propTypes={isPortalEnabledForTouch:u.a.bool.isRequired,isTouchDetected:u.a.bool.isRequired,portalId:u.a.string};var ue=ae,ce=function(e){var t=e.fadeDurationInMs,n=e.isActive,i=e.isPositionOutside,o=e.style,r={position:"absolute",opacity:n&&!i?1:0,transition:"opacity "+t+"ms ease-in"},a=s()({},{width:"auto",height:"auto",top:"auto",right:"auto",bottom:"auto",left:"auto",display:"block"},o,r);return l.a.createElement("div",{style:a})};ce.propTypes={style:u.a.object,fadeDurationInMs:u.a.number,isActive:u.a.bool,translateX:u.a.number,translateY:u.a.number,userStyle:u.a.object},ce.defaultProps={isActive:!1,fadeDurationInMs:0,translateX:0,translateY:0};var le=ce,he={cursorOffset:V,fadeDurationInMs:u.a.number,isActive:u.a.bool,isPositionOutside:u.a.bool,position:V,smallImage:H,style:u.a.object},de=function(e){var t=e.cursorOffset,n=e.position,i=e.fadeDurationInMs,o=e.isActive,r=e.isPositionOutside,a=e.smallImage,u=e.style,c=2*t.y,h=a.height-c,d={height:x()(n.y-t.y,0,h)+"px",width:"100%",top:"0px"};return l.a.createElement(le,{fadeDurationInMs:i,isActive:o,isPositionOutside:r,style:s()({},u,d)})};de.propTypes=he;var pe=de,fe=function(e){var t=e.cursorOffset,n=e.position,i=e.fadeDurationInMs,o=e.isActive,r=e.isPositionOutside,a=e.smallImage,u=e.style,c=2*t.y,h=2*t.x,d=a.height-c,p=a.width-h,f={height:c+"px",width:x()(n.x-t.x,0,p)+"px",top:x()(n.y-t.y,0,d)+"px",left:"0px"};return l.a.createElement(le,{fadeDurationInMs:i,isActive:o,isPositionOutside:r,style:s()({},u,f)})};fe.propTypes=he;var me=fe,ye=function(e){var t=e.cursorOffset,n=e.position,i=e.fadeDurationInMs,o=e.isActive,r=e.isPositionOutside,a=e.smallImage,u=e.style,c=2*t.y,h=2*t.x,d=a.height-c,p=a.width-h,f={height:c+"px",width:x()(a.width-n.x-t.x,0,p)+"px",top:x()(n.y-t.y,0,d)+"px",right:"0px"};return l.a.createElement(le,{fadeDurationInMs:i,isActive:o,isPositionOutside:r,style:s()({},u,f)})};ye.propTypes=he;var ve=ye,ge=function(e){var t=e.cursorOffset,n=e.position,i=e.fadeDurationInMs,o=e.isActive,r=e.isPositionOutside,a=e.smallImage,u=e.style,c=2*t.y,h=a.height-n.y-t.y,d=a.height-c,p=x()(h,0,d),f=n.y+t.y,m={height:p+"px",width:"100%",top:Math.max(f,c)+"px"};return l.a.createElement(le,{fadeDurationInMs:i,isActive:o,isPositionOutside:r,style:s()({},u,m)})};ge.propTypes=he;var be=ge;function Me(e){var t=e.style,n=s()({backgroundColor:"rgba(0,0,0,.4)"},t),i=s()({},e,{style:n});return l.a.createElement("div",null,l.a.createElement(pe,i),l.a.createElement(me,i),l.a.createElement(ve,i),l.a.createElement(be,i))}
2Me.propTypes=he;var we=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}();function Te(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ie(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}var Pe=function(e){function t(){return Te(this,t),Ie(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(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)}(t,e),we(t,[{key:"render",value:function(){return l.a.createElement("div",{style:this.compositStyle})}},{key:"dimensions",get:function(){var e=this.props.cursorOffset;return{width:2*e.x,height:2*e.y}}},{key:"positionOffset",get:function(){var e=this.props,t=e.cursorOffset,n=t.x,i=t.y,o=e.position,r=o.x,s=o.y,a=e.smallImage,u=a.height,c=a.width,l=this.dimensions,h=l.width,d=s-i,p=r-n,f=u-l.height,m=c-h;return{top:x()(d,0,f),left:x()(p,0,m)}}},{key:"defaultStyle",get:function(){return{transition:"opacity "+this.props.fadeDurationInMs+"ms ease-in",backgroundImage:"url(data:image/gif;base64,R0lGODlhZABkAPABAHOf4fj48yH5BAEAAAEALAAAAABkAGQAAAL+jI+py+0PowOB2oqvznz7Dn5iSI7SiabqWrbj68bwTLL2jUv0Lvf8X8sJhzmg0Yc8mojM5kmZjEKPzqp1MZVqs7Cr98rdisOXr7lJHquz57YwDV8j3XRb/C7v1vcovD8PwicY8VcISDGY2GDIKKf4mNAoKQZZeXg5aQk5yRml+dgZ2vOpKGraQpp4uhqYKsgKi+H6iln7N8sXG4u7p2s7ykvnyxos/DuMWtyGfKq8fAwd5nzGHN067VUtiv2lbV3GDfY9DhQu7p1pXoU+rr5ODk/j7sSePk9Ub33PlN+4jx8v4JJ/RQQa3EDwzcGFiBLi6AfN4UOGCyXegGjIoh0fisQ0rsD4y+NHjgZFqgB5y2Qfks1UPmEZ0OVLlIcKAAA7)"}}},{key:"userSpecifiedStyle",get:function(){return this.props.style}},{key:"isVisible",get:function(){var e=this.props,t=e.isActive,n=e.isPositionOutside;return t&&!n}},{key:"priorityStyle",get:function(){var e=this.dimensions,t=e.width,n=e.height,i=this.positionOffset;return{position:"absolute",top:i.top+"px",left:i.left+"px",width:t+"px",height:n+"px",opacity:this.isVisible?1:0}}},{key:"compositStyle",get:function(){return s()(this.defaultStyle,this.userSpecifiedStyle,this.priorityStyle)}}]),t}(c.Component);Pe.propTypes=he,Pe.defaultProps={style:{}};var De=Pe,Ee=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}();var Oe=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(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}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.hasShown=!1,n}return function(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)}(t,e),Ee(t,[{key:"setHasShown",value:function(){this.hasShown=!0}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.isActive,i=e.shouldHideAfterFirstActivation,o=this.hasShown,r=!(n||o&&i);return n&&!o&&this.setHasShown(),r?t:null}}]),t}(l.a.Component);Oe.propTypes={children:u.a.element,isActive:u.a.bool,shouldHideAfterFirstActivation:u.a.bool},Oe.defaultProps={shouldHideAfterFirstActivation:!0};var Ce=Oe;function xe(e){var t=e.isTouchDetected,n=e.hintTextMouse,i=e.hintTextTouch;return l.a.createElement("div",{style:{width:"100%",display:"flex",justifyContent:"center",position:"absolute",bottom:"25px"}},l.a.createElement("div",{style:{display:"flex",alignItems:"center",padding:"5px 10px",backgroundColor:"#333",borderRadius:"10px",o
2pacity:"0.90"}},l.a.createElement("img",{style:{width:"25px",height:"25px"},src:"data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTkuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiBpZD0iQ2FwYV8xIiB4PSIwcHgiIHk9IjBweCIgdmlld0JveD0iMCAwIDQ5MC4yIDQ5MC4yIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCA0OTAuMiA0OTAuMjsiIHhtbDpzcGFjZT0icHJlc2VydmUiIHdpZHRoPSI1MTJweCIgaGVpZ2h0PSI1MTJweCI+CjxnPgoJPGc+CgkJPHBhdGggZD0iTTQxOC41LDQxOC41Yzk1LjYtOTUuNiw5NS42LTI1MS4yLDAtMzQ2LjhzLTI1MS4yLTk1LjYtMzQ2LjgsMHMtOTUuNiwyNTEuMiwwLDM0Ni44UzMyMi45LDUxNC4xLDQxOC41LDQxOC41eiBNODksODkgICAgYzg2LjEtODYuMSwyMjYuMS04Ni4xLDMxMi4yLDBzODYuMSwyMjYuMSwwLDMxMi4ycy0yMjYuMSw4Ni4xLTMxMi4yLDBTMywxNzUuMSw4OSw4OXoiIGZpbGw9IiNGRkZGRkYiLz4KCQk8cGF0aCBkPSJNMjQ1LjEsMzM2LjljMy40LDAsNi40LTEuNCw4LjctMy42YzIuMi0yLjIsMy42LTUuMywzLjYtOC43di02Ny4zaDY3LjNjMy40LDAsNi40LTEuNCw4LjctMy42YzIuMi0yLjIsMy42LTUuMywzLjYtOC43ICAgIGMwLTYuOC01LjUtMTIuMy0xMi4yLTEyLjJoLTY3LjN2LTY3LjNjMC02LjgtNS41LTEyLjMtMTIuMi0xMi4yYy02LjgsMC0xMi4zLDUuNS0xMi4yLDEyLjJ2NjcuM2gtNjcuM2MtNi44LDAtMTIuMyw1LjUtMTIuMiwxMi4yICAgIGMwLDYuOCw1LjUsMTIuMywxMi4yLDEyLjJoNjcuM3Y2Ny4zQzIzMi44LDMzMS40LDIzOC4zLDMzNi45LDI0NS4xLDMzNi45eiIgZmlsbD0iI0ZGRkZGRiIvPgoJPC9nPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+Cjwvc3ZnPgo=",alt:""}),l.a.createElement("span",{style:{padding:"2px 0 0 5px",fontFamily:"Arial, sans-serif",fontSize:"14px",color:"white"}},t?i:n)))}xe.displayName="DefaultHint",xe.propTypes={isTouchDetected:u.a.bool,hintTextMouse:u.a.string,hintTextTouch:u.a.string};var Se=xe;function Le(e,t){return Math.round(e*t/2)}function je(e){var t,n=e.containerDimension,i=e.smallImageDimension;return e.isInPlaceMode?i:"string"==typeof(t=n)&&/^\d+%$/.test(t)?i*(parseInt(n)/100):n}var ke=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}();var Ae=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(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}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e)),i=o.a.primaryInput,r=G,s=B;return n.state={smallImageWidth:0,smallImageHeight:0,detectedInputType:{isMouseDeteced:i===r,isTouchDetected:i===s}},n.onSmallImageLoad=n.onSmallImageLoad.bind(n),n.setSmallImageDimensionState=n.setSmallImageDimensionState.bind(n),n.onDetectedInputTypeChanged=n.onDetectedInputTypeChanged.bind(n),n}return function(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)}(t,e),ke(t,[{key:"componentDidMount",value:function(){this.props.smallImage.isFluidWidth&&(this.setSmallImageDimensionState(),window.addEventListener("resize",this.setSmallImageDimensionState))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this.setSmallImageDimensionState)}},{key:"onSmallImageLoad",value:function(e){var t=this.props.smallImage,n=t.onLoad,i=void 0===n?Q:n,o=t.isFluidWidth;i(e),o&&this.setSmallImageDimensionState()}},{key:"onDetectedInputTypeChanged",value:function(e){this.setState({detectedInputType:e})}},{key:"setSmallImageDimensionState",value:function(){var e=this.smallImageEl,t=e.offsetWidth,n=e.offsetHeight;this.setState({smallImageWidth:t,smallImageHeight:n})}},{key:"render",value:function(){var e=this,t=this.props,n=t.className,i=t.style,o=t.hoverDelayInMs,r=t.hoverOffDelayInMs,s=t.isActivatedOnTouch,a=t.pressDuration,u=t.pressMoveThreshold,c=t.smallImage.onError,h=void 0===c?Q:c,d=t.imageClassName,p=t.imageStyle,f=t.lensStyle,m=t.largeImage,y=t.enlargedImageContainerClassName,v=t.enlargedImageContainerStyle,g=t.enlargedImageClassName,b=t.enlargedImageStyle,M=t.enlargedImagePortalId,w=t.isEnlargedImagePortalEnabledForTouch,T=t.fadeDurationInMs,I=t.hintComponent,P=t.isHintEnabled,E=t.hintTextMouse,O=t.hintTextTouch,C=t.shouldHideHintAfterFirstActivation,x=this.smallImage,S=this.state.detectedInputType.isTouchDetected,L=function(e,t,n){var i=function(e,t){return{x:e.width/t.width,y:e.height/t.height}}(e,t);return{x:Le(n.width,i.x),y:Le(n.height,i.y)}}(x,m,this.enlargedImageContainerDimensions),j=this.lensComponent;return l.a.createElement(D,{className:n,hoverDelayInMs:o,hoverOffDelayInMs:r,isActivatedOnTouch:s,onDetectedInputTypeChanged:this.onDetectedInputTypeChanged,pressDuration:a,pressMoveThreshold:u,shouldStopTouchMovePropagation:!0,style:X(x,i)},l.a.createElement("img",{src:x.src,srcSet:x.srcSet,sizes:x.sizes,alt:x.alt,className:d,style:K(x,p),ref:function(t){return e.smallImageEl=t},onLoad:this.onSmallImageLoad,onError:h}),P&&l.a.createElement(Ce,{shouldHideAfterFirstActivation:C},l.a.createElement(I,{isTouchDetected:S,hintTextMouse:E,hintTextTouch:O})),this.shouldShowLens&&l.a.createElement(j,{cursorOffset:L,fadeDurationInMs:T,smallImage:x,style:f}),l.a.createElement(ue,{containerClassName:y,containerDimensions:this.enlargedImageContainerDimensions,containerStyle:v,cursorOffset:L,fadeDurationInMs:T,imageClassName:g,imageStyle:b,largeImage:m,smallImage:x,portalId:M,isPortalEnabledForTouch:w,isTouchDetected:this.isTouchDetected,isInPlaceMode:this.isInPlaceMode}))}},{key:"smallImage",get:function(){var e=this.props,t=e.smallImage;if(!e.smallImage.isFluidWidth)return t;var n=this.state,i=n.smallImageWidth,o=n.smallImageHeight;return s()({},t,{width:i,height:o})}},{key:"enlargedImagePlacement",get:function(){var e=this.props.enlargedImagePosition,t=this.state.detectedInputType.isTouchDetected;return e||(t?Y:F)}},{key:"isInPlaceMode",get:function(){var e=Y;return this.enlargedImagePlacement===e}},{key:"enlargedImageContainerDimensions",get:function(){var e=this.props.enlargedImageContainerDimensions,t=e.width,n=e.he
2ight,i=this.smallImage,o=i.width,r=i.height,s=this.isInPlaceMode;return{width:je({containerDimension:t,smallImageDimension:o,isInPlaceMode:s}),height:je({containerDimension:n,smallImageDimension:r,isInPlaceMode:s})}}},{key:"isTouchDetected",get:function(){return this.state.detectedInputType.isTouchDetected}},{key:"shouldShowLens",get:function(){return!this.isInPlaceMode&&!this.isTouchDetected}},{key:"lensComponent",get:function(){var e=this.props,t=e.shouldUsePositiveSpaceLens,n=e.lensComponent;return n||(t?De:Me)}}]),t}(l.a.Component);Ae.propTypes={className:u.a.string,style:u.a.object,hoverDelayInMs:u.a.number,hoverOffDelayInMs:u.a.number,fadeDurationInMs:u.a.number,pressDuration:u.a.number,pressMoveThreshold:u.a.number,isActivatedOnTouch:u.a.bool,imageClassName:u.a.string,imageStyle:u.a.object,lensStyle:u.a.object,lensComponent:u.a.func,shouldUsePositiveSpaceLens:u.a.bool,smallImage:H,largeImage:z,enlargedImageContainerClassName:u.a.string,enlargedImageContainerStyle:u.a.object,enlargedImageClassName:u.a.string,enlargedImageStyle:u.a.object,enlargedImageContainerDimensions:U,enlargedImagePosition:W,enlargedImagePortalId:u.a.string,isEnlargedImagePortalEnabledForTouch:u.a.bool,hintComponent:u.a.func,hintTextMouse:u.a.string,hintTextTouch:u.a.string,isHintEnabled:u.a.bool,shouldHideHintAfterFirstActivation:u.a.bool},Ae.defaultProps={enlargedImageContainerDimensions:{width:"100%",height:"100%"},isEnlargedImagePortalEnabledForTouch:!1,fadeDurationInMs:300,hintComponent:Se,shouldHideHintAfterFirstActivation:!0,isHintEnabled:!1,hintTextMouse:"Hover to Zoom",hintTextTouch:"Long-Touch to Zoom",hoverDelayInMs:250,hoverOffDelayInMs:150,shouldUsePositiveSpaceLens:!1};t.default=Ae}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.