','find','.shadow.top','target','No\x20this.options.imageSrc','bind','setSelectionBoxHeight\x20','height','wrapper','previousWrapperHeight','
','getSelectionBoxX','constructor','','includes','mousedown','detach','imageSrc','src','getImageSrc','floor','setSelectionBoxY','initialiseSelectionBox\x20','cropImage\x20already\x20set','width','prototype','addEventListener','addClass','handleAspectRatioLockedResizeTop','handleFreeResize','handleAspectRatioLockedResizeLeft','getContainerWidth','outerHeight','type','getSelectionPayload','aspectRatio','handleAspectRatioLockedResizeBottom','','cropImage','','data','console','setImageSrc','getWrapperHeight\x20','crop-select-js.selection.move','getShadowTop','right','selectionResizeHandle','getSelectionBoxY','info','animated-border','handleAspectRatioLockedResizeTopRight','EVENT_NAME__SELECTION_MOVE','apply','getScaledSelectionBoxWidth','error','getScaledSelectionBoxY','getWrapperHeight','selectionStartHeight','style','selectionMove','handleMouseMove','removeClass','top-left','shadowBottom','return\x20(function()\x20','selectionBox','aspect-ratio','extend','touchmove','','attr','.shadow.right','setSelectionBoxHeight','getSelectionBox','getScaledSelectionBoxX','log','parent','','setSelectionBoxX\x202','triggerSelectionMoveEvent','setSelectionBoxWidth','.shadow.left','selectionMouseStartX','','max','setSelectionBoxX\x20','getImageYScaleFactor','','round','MINIMUM_SELECTION_BOX_WIDTH','disableAnimatedBorder','imageHeight','left','','initialiseImage','this.selectionBox\x20','selectionStartX','touches','trigger','getImageHeight','getSelectionBoxWidth','table','CropSelectJs.prototype.setImageSrc\x20loaded','warn','getWrapperWidth','top-right','touchstart','handleAspectRatioLockedResizeTopLeft','handleImageLoad\x20','.crop-wrapper','handleImageLoad\x20aspectRatio','imageWidth','enableAnimatedBorder','getScaledSelectionBoxHeight','handleImageLoad','debug','','selectEverything','setImageHeight','initialiseWrapper','initialiseSelectionBox','','top','setSelectionAspectRatio','outerWidth','crop-select-js','setSelectionBoxX','getShadowRight','triggerSelectionResizeEvent','getShadowBottom','getShadowLeft','','getImageWidth','selectEverything\x20','offset','selectCentredFittedAspectRatio','handleAspectRatioLockedResizeRight','handleAspectRatioLockedResizeBottomLeft','','','exception','handleMouseUp','preventDefault','clearSelectionAspectRatio','hasClass','elem','mousemove','bottom-right','trace','handleWrapperResize','off','animatedBorder','setImageWidth','object','bottom-left','handleMouseDownInsideSelectionBox','EVENT_NAME__SELECTION_RESIZE','bottom','getSelectionBoxHeight','animated','min','MINIMUM_SELECTION_BOX_HEIGHT','pageX','pageY'];(function(_0x5925be,_0x3580ce){var _0x23b346=function(_0x313711){while(--_0x313711){_0x5925be['push'](_0x5925be['shift']());}};_0x23b346(++_0x3580ce);}(a0_0x3580,0x1da));var a0_0x23b3=function(_0x5925be,_0x3580ce){_0x5925be=_0x5925be-0x0;var _0x23b346=a0_0x3580[_0x5925be];return _0x23b346;};var a0_0x31b3b0=function(){var _0x5a607d=!![];return function(_0x1d0f05,_0x3da335){var _0x116637=_0x5a607d?function(){if(_0x3da335){var _0x12009e=_0x3da335[a0_0x23b3('0xa2')](_0x1d0f05,arguments);_0x3da335=null;return _0x12009e;}}:function(){};_0x5a607d=![];return _0x116637;};}();var a0_0x50f2b8=a0_0x31b3b0(this,function(){var _0x1c2dff=function(){};var _0x2a5746=function(){var _0x52449c;try{_0x52449c=Function(a0_0x23b3('0xae')+'{}.constructor(\x22return\x20this\x22)(\x20)'+');')();}catch(_0x5d87d6){_0x52449c=window;}return _0x52449c;};var _0x13d292=_0x2a5746();if(!_0x13d292[a0_0x23b3('0x96')]){_0x13d292[a0_0x23b3('0x96')]=function(_0x5aa330){var _0xbea850={};_0xbea850[a0_0x23b3('0xb9')]=_0x5aa330;_0xbea850[a0_0x23b3('0x1a')]=_0x5aa330;_0xbea850[a0_0x23b3('0x26')]=_0x5aa330;_0xbea850[a0_0x23b3('0x9e')]=_0x5aa330;_0xbea850[a0_0x23b3('0xa4')]=_0x5aa330;_0xbea850['exception']=_0x5aa330;_0xbea850['table']=_0x5aa330;_0xbea850[a0_0x23b3('0x47')]=_0x5aa330;return _0xbea850;}(_0x1c2dff);}else{_0x13d292[a0_0x23b3('0x96')][a0_0x23b3('0xb9')]=_0x1c2dff;_0x13d292['console'][a0_0x23b3('0x1a')]=_0x1c2dff;_0x13d292[a0_0x23b3('0x96')][a0_0x23b3('0x26')]=_0x1c2dff;_0x13d292[a0_0x23b3('0x96')]['info']=_0x1c2dff;_0x13d292['console'][a0_0x23b3('0xa4')]=_0x1c2dff;_0x13d292[a0_0x23b3('0x96')][a0_0x23b3('0x3f')]=_0x1c2dff;_0x13d292[a0_0x23b3('0x96')][a0_0x23b3('0x18')]=_0x1c2dff;_0x13d292[a0_0x23b3('0x96')][a0_0x23b3('0x47')]=_0x1c2dff;}});a0_0x50f2b8();CropSelectJs[a0_0x23b3('0x86')][a0_0x23b3('0x79')]=CropSelectJs;CropSelectJs[a0_0x23b3('0xc')]=0x0;CropSelectJs[a0_0x23b3('0x54')]=0x0;CropSelectJs['EVENT_NAME__SELECTION_RESIZE']='crop-select-js.selection.resize';CropSelectJs['EVENT_NAME__SELECTION_MOVE']=a0_0x23b3('0x99');function CropSelectJs(_0x6edc11,_0x4e53c2){this['elem']=jQuery(_0x6edc11);this[a0_0x23b3('0x58')]=$[a0_0x23b3('0xb1')]({},{'animatedBorder':this[a0_0x23b3('0x44')][a0_0x23b3('0x95')](a0_0x23b3('0x9f'))!=null?this[a0_0x23b3('0x44')]['data']('animated-border'):!![],'aspectRatio':this[a0_0x23b3('0x44')][a0_0x23b3('0x95')]('aspect-ratio')!=null?this[a0_0x23b3('0x44')][a0_0x23b3('0x95')](a0_0x23b3('0xb0')):null,'imageSrc':null,'imageWidth':null,'imageHeight':null,'selectionResize':function(){},'selectionMove':function(){}},_0x4e53c2);var _0x6c985=this;$(_0x6edc11)[a0_0x23b3('0x72')](CropSelectJs[a0_0x23b3('0x4f')],function(_0x1eb246,_0x429bd2){_0x6c985['options']['selectionResize'](_0x429bd2);});$(_0x6edc11)[a0_0x23b3('0x72')](CropSelectJs['EVENT_NAME__SELECTION_MOVE'],function(_0x4e15bb,_0xc220b2){_0x6c985['options'][a0_0x23b3('0xa9')](_0xc220b2);});if(!this[a0_0x23b3('0x44')][a0_0x23b3('0x43')](a0_0x23b3('0x30'))){this[a0_0x23b3('0x44')][a0_0x23b3('0x88')](a0_0x23b3('0x30'));}this['initialiseWrapper']();this[a0_0x23b3('0x2b')]();this['initialiseShadows']();this[a0_0x23b3('0x11')]();this[a0_0x23b3('0x44')][a0_0x23b3('0x69')](this[a0_0x23b3('0x75')]);$(window)['on'](a0_0x23b3('0x61'),function(_0x4ef2ab){_0x6c985[a0_0x23b3('0x40')](_0x4ef2ab);});$(window)['on'](a0_0x23b3('0x45'),function(_0x50874a){_0x6c985[a0_0x23b3('0xaa')](_0x50874a);});$(window)[0x0][a0_0x23b3('0x87')]('touchmove',function(_0x1b4908){_0x6c985[a0_0x23b3('0xaa')](_0x1b4908);},{'passive':![]});$(window)['on'](a0_0x23b3('0x68'),function(){_0x6c985[a0_0x23b3('0x48')]();});$(this[a0_0x23b3('0x93')])['on']('load',function(){_0x6c985[a0_0x23b3('0x25')]();});this['options'][a0_0x23b3('0x4a')]?this[a0_0x23b3('0x23')]():this[a0_0x23b3('0xd')]();if(this['options']['imageSrc']){this[a0_0x23b3('0x97')](this[a0_0x23b3('0x58')][a0_0x23b3('0x7e')]);}else{console[a0_0x23b3('0xb9')](a0_0x23b3('0x71'));$(window)[a0_0x23b3('0x49')](a0_0x23b3('0x68'));}}CropSelectJs[a0_0x23b3('0x86')][a0_0x23b3('0x2a')]=function(){this[a0_0x23b3('0x75')]=$(a0_0x23b3('0x20'));if(this[a0_0x23b3('0x75')][0x0]){}else{this[a0_0x23b3('0x75')]=$(a0_0x23b3('0x36'))[0x0];}};CropSelectJs[a0_0x23b3('0x86')][a0_0x23b3('0x2b')]=function(){var _0x5a5537=this;this[a0_0x23b3('0xaf')]=this['elem']['find']('.crop-selection');console[a0_0x23b3('0xb9')](a0_0x23b3('0x12'),this['selectionBox']);if(this['selectionBox'][0x0]){this[a0_0x23b3('0xaf')][a0_0x23b3('0x7d')]();}else{this[a0_0x23b3('0xaf')]=$(a0_0x23b3('0x5e')+a0_0x23b3('0x0')+a0_0x23b3('0xa')+''+a0_0x23b3('0x2c')+''+a0_0x23b3('0x5c')+a0_0x23b3('0x6c')+a0_0x23b3('0x6')+a0_0x23b3('0x92')+a0_0x23b3('0x3d')+a0_0x23b3('0x94')+a0_0x23b3('0x7a')+a0_0x23b3('0x27'))[0x0];}$(this[a0_0x23b3('0x75')])[a0_0x23b3('0x69')](this['selectionBox']);console[a0_0x23b3('0xb9')](a0_0x23b3('0x83'),this[a0_0x23b3('0xaf')]);$(this['selectionBox'])['on']('mousedown\x20touchstart',function(_0x1ccfbd){_0x5a5537[a0_0x23b3('0x4e')](_0x1ccfbd);});};CropSelectJs['prototype']['initialiseShadows']=function(){this[a0_0x23b3('0x6b')]=this[a0_0x23b3('0x44')][a0_0x23b3('0x6e')](a0_0x23b3('0x4'));if(this[a0_0x23b3('0x6b')][0x0]){this[a0_0x23b3('0x6b')][a0_0x23b3('0x7d')]();}else{this[a0_0x23b3('0x6b')]=$(a0_0x23b3('0x10'))[0x0];}$(this[a0_0x23b3('0x75')])['append'](this[a0_0x23b3('0x6b')]);this[a0_0x23b3('0x5f')]=this[a0_0x23b3('0x44')][a0_0x23b3('0x6e')](a0_0x23b3('0xb5'));if(this[a0_0x23b3('0x5f')][0x0]){this[a0_0x23b3('0x5f')][a0_0x23b3('0x7d')]();}else{this['shadowRight']=$(a0_0x23b3('0x77'))[0x0];}$(this['wrapper'])[a0_0x23b3('0x69')](this['shadowRight']);this['shadowTop']=this['elem'][a0_0x23b3('0x6e')](a0_0x23b3('0x6f'));if(this[a0_0x23b3('0x59')][0x0]){this['shadowTop'][a0_0x23b3('0x7d')]();}else{this[a0_0x23b3('0x59')]=$(a0_0x23b3('0x3e'))[0x0];}$(this[a0_0x23b3('0x75')])[a0_0x23b3('0x69')](this[a0_0x23b3('0x59')]);this[a0_0x23b3('0xad')]=this['elem'][a0_0x23b3('0x6e')](a0_0x23b3('0x65'));if(this['shadowBottom'][0x0]){this[a0_0x23b3('0xad')][a0_0x23b3('0x7d')]();}else{this[a0_0x23b3('0xad')]=$(a0_0x23b3('0xb3'))[0x0];}$(this[a0_0x23b3('0x75')])[a0_0x23b3('0x69')](this[a0_0x23b3('0xad')]);};CropSelectJs[a0_0x23b3('0x86')][a0_0x23b3('0x11')]=function(){this[a0_0x23b3('0x93')]=$('.crop-image');if(this['cropImage'][0x0]){console['log'](a0_0x23b3('0x84'));}else{console[a0_0x23b3('0xb9')](a0_0x23b3('0x63'));this[a0_0x23b3('0x93')]=$(a0_0x23b3('0x6d'))[0x0];$(this['wrapper'])[a0_0x23b3('0x69')](this['cropImage']);}};CropSelectJs[a0_0x23b3('0x86')][a0_0x23b3('0x40')]=function(_0x577c76){this[a0_0x23b3('0x5')]=null;this[a0_0x23b3('0x5b')]=null;this[a0_0x23b3('0x13')]=null;this['selectionStartY']=null;this['selectionStartWidth']=null;this[a0_0x23b3('0xa7')]=null;this[a0_0x23b3('0x9c')]=null;};CropSelectJs[a0_0x23b3('0x86')][a0_0x23b3('0xaa')]=function(_0x2fa82b){if(this[a0_0x23b3('0x5')]&&this[a0_0x23b3('0x5b')]){var _0x41d14b;var _0x4dd070;if(_0x2fa82b[a0_0x23b3('0x8e')]==a0_0x23b3('0xb2')){_0x2fa82b[a0_0x23b3('0x41')]();_0x41d14b=_0x2fa82b[a0_0x23b3('0x14')][0x0]['pageX']-this[a0_0x23b3('0x5')];_0x4dd070=_0x2fa82b[a0_0x23b3('0x14')][0x0][a0_0x23b3('0x56')]-this['selectionMouseStartY'];}if(_0x2fa82b[a0_0x23b3('0x8e')]==a0_0x23b3('0x45')){_0x41d14b=_0x2fa82b[a0_0x23b3('0x55')]-this[a0_0x23b3('0x5')];_0x4dd070=_0x2fa82b[a0_0x23b3('0x56')]-this['selectionMouseStartY'];}if(!this[a0_0x23b3('0x9c')]){this[a0_0x23b3('0x31')](this[a0_0x23b3('0x13')]+_0x41d14b);this[a0_0x23b3('0x82')](this[a0_0x23b3('0x62')]+_0x4dd070);this[a0_0x23b3('0x2')]();}else{if(this[a0_0x23b3('0x58')][a0_0x23b3('0x90')]==null){this[a0_0x23b3('0x8a')](_0x41d14b,_0x4dd070);}else{if(this[a0_0x23b3('0x9c')]==a0_0x23b3('0xac')){this[a0_0x23b3('0x1e')](_0x41d14b,_0x4dd070,this['options'][a0_0x23b3('0x90')]);}else if(this['selectionResizeHandle']==a0_0x23b3('0x2d')){this[a0_0x23b3('0x89')](_0x41d14b,_0x4dd070,this[a0_0x23b3('0x58')][a0_0x23b3('0x90')]);}else if(this[a0_0x23b3('0x9c')]=='top-right'){this['handleAspectRatioLockedResizeTopRight'](_0x41d14b,_0x4dd070,this[a0_0x23b3('0x58')][a0_0x23b3('0x90')]);}else if(this[a0_0x23b3('0x9c')]=='right'){this[a0_0x23b3('0x3b')](_0x41d14b,_0x4dd070,this[a0_0x23b3('0x58')][a0_0x23b3('0x90')]);}else if(this[a0_0x23b3('0x9c')]==a0_0x23b3('0x46')){this[a0_0x23b3('0x66')](_0x41d14b,_0x4dd070,this['options']['aspectRatio']);}else if(this[a0_0x23b3('0x9c')]==a0_0x23b3('0x50')){this[a0_0x23b3('0x91')](_0x41d14b,_0x4dd070,this[a0_0x23b3('0x58')][a0_0x23b3('0x90')]);}else if(this[a0_0x23b3('0x9c')]==a0_0x23b3('0x4d')){this[a0_0x23b3('0x3c')](_0x41d14b,_0x4dd070,this[a0_0x23b3('0x58')][a0_0x23b3('0x90')]);}else if(this['selectionResizeHandle']==a0_0x23b3('0xf')){this[a0_0x23b3('0x8b')](_0x41d14b,_0x4dd070,this[a0_0x23b3('0x58')][a0_0x23b3('0x90')]);}}this[a0_0x23b3('0x33')]();if(this[a0_0x23b3('0x78')]()!=this['selectionStartX']||this[a0_0x23b3('0x9d')]()!=this['selectionStartY']){this['triggerSelectionMoveEvent']();}}}};CropSelectJs[a0_0x23b3('0x86')]['handleMouseDownInsideSelectionBox']=function(_0x1312a4){if(_0x1312a4['type']==a0_0x23b3('0x1d')){this[a0_0x23b3('0x5')]=_0x1312a4[a0_0x23b3('0x14')][0x0][a0_0x23b3('0x55')];this[a0_0x23b3('0x5b')]=_0x1312a4[a0_0x23b3('0x14')][0x0]['pageY'];}if(_0x1312a4[a0_0x23b3('0x8e')]==a0_0x23b3('0x7c')){this['selectionMouseStartX']=_0x1312a4[a0_0x23b3('0x55')];this[a0_0x23b3('0x5b')]=_0x1312a4[a0_0x23b3('0x56')];}this[a0_0x23b3('0x13')]=this[a0_0x23b3('0x78')]();this[a0_0x23b3('0x62')]=this[a0_0x23b3('0x9d')]();this[a0_0x23b3('0x64')]=this[a0_0x23b3('0x17')]();this[a0_0x23b3('0xa7')]=this[a0_0x23b3('0x51')]();var _0x382d7c=$(_0x1312a4[a0_0x23b3('0x70')]);if(_0x382d7c[a0_0x23b3('0x43')](a0_0x23b3('0x6a'))){if(_0x382d7c[a0_0x23b3('0x43')]('top-left')){this['selectionResizeHandle']=a0_0x23b3('0xac');}if(_0x382d7c['hasClass'](a0_0x23b3('0x2d'))){this[a0_0x23b3('0x9c')]=a0_0x23b3('0x2d');}if(_0x382d7c[a0_0x23b3('0x43')](a0_0x23b3('0x1c'))){this['selectionResizeHandle']=a0_0x23b3('0x1c');}if(_0x382d7c['hasClass'](a0_0x23b3('0x9b'))){this[a0_0x23b3('0x9c')]=a0_0x23b3('0x9b');}if(_0x382d7c['hasClass'](a0_0x23b3('0x46'))){this[a0_0x23b3('0x9c')]='bottom-right';}if(_0x382d7c[a0_0x23b3('0x43')](a0_0x23b3('0x50'))){this[a0_0x23b3('0x9c')]='bottom';}if(_0x382d7c[a0_0x23b3('0x43')](a0_0x23b3('0x4d'))){this['selectionResizeHandle']=a0_0x23b3('0x4d');}if(_0x382d7c['hasClass'](a0_0x23b3('0xf'))){this['selectionResizeHandle']=a0_0x23b3('0xf');}}};CropSelectJs[a0_0x23b3('0x86')][a0_0x23b3('0x48')]=function(){var _0x4b912f=this['previousWrapperWidth']-this[a0_0x23b3('0x1b')]();var _0x326e25=this[a0_0x23b3('0x76')]-this['getWrapperHeight']();if(_0x4b912f!=0x0||_0x326e25!=0x0){var _0x5b32ad=this[a0_0x23b3('0x37')]()/this['previousWrapperWidth'];var _0x1a14f5=this[a0_0x23b3('0x16')]()/this[a0_0x23b3('0x76')];var _0x5bf8ea=_0x5b32ad*this[a0_0x23b3('0x17')]();var _0x12407e=_0x1a14f5*this[a0_0x23b3('0x51')]();var _0xce221=_0x5b32ad*this['getSelectionBoxX']();var _0x3d0e94=_0x1a14f5*this[a0_0x23b3('0x9d')]();var _0x505c0c=this['getImageXScaleFactor']();var _0x33c27d=this[a0_0x23b3('0x9')]();var _0x52de92=Math['round'](_0x5bf8ea/_0x505c0c);var _0x3bed2e=Math[a0_0x23b3('0xb')](_0x12407e/_0x33c27d);var _0x329715=Math['round'](_0xce221/_0x505c0c);var _0x2a02e3=Math[a0_0x23b3('0xb')](_0x3d0e94/_0x33c27d);this[a0_0x23b3('0x3')](_0x52de92);this['setSelectionBoxHeight'](_0x3bed2e);this['setSelectionBoxX'](_0x329715);this[a0_0x23b3('0x82')](_0x2a02e3);this[a0_0x23b3('0x57')]=this[a0_0x23b3('0x1b')]();this[a0_0x23b3('0x76')]=this['getWrapperHeight']();this['triggerSelectionResizeEvent']();this['triggerSelectionMoveEvent']();}};CropSelectJs['prototype'][a0_0x23b3('0x25')]=function(){this['previousWrapperWidth']=this['getWrapperWidth']();this['previousWrapperHeight']=this['getWrapperHeight']();if(this[a0_0x23b3('0x58')]['aspectRatio']){console[a0_0x23b3('0xb9')](a0_0x23b3('0x21'),this[a0_0x23b3('0xaf')]);this[a0_0x23b3('0x3a')](this[a0_0x23b3('0x58')][a0_0x23b3('0x90')]);}else{console[a0_0x23b3('0xb9')](a0_0x23b3('0x1f'),this[a0_0x23b3('0xaf')]);this[a0_0x23b3('0x28')]();}};CropSelectJs[a0_0x23b3('0x86')]['triggerSelectionResizeEvent']=function(){$(this[a0_0x23b3('0x44')])[a0_0x23b3('0x15')](CropSelectJs[a0_0x23b3('0x4f')],{'width':this[a0_0x23b3('0x17')](),'height':this['getSelectionBoxHeight'](),'widthScaledToImage':this[a0_0x23b3('0xa3')](),'heightScaledToImage':this['getScaledSelectionBoxHeight']()});};CropSelectJs[a0_0x23b3('0x86')][a0_0x23b3('0x2')]=function(){$(this[a0_0x23b3('0x44')])[a0_0x23b3('0x15')](CropSelectJs[a0_0x23b3('0xa1')],{'x':this[a0_0x23b3('0x78')](),'y':this[a0_0x23b3('0x9d')](),'xScaledToImage':this[a0_0x23b3('0xb8')](),'yScaledToImage':this[a0_0x23b3('0xa5')]()});};CropSelectJs['prototype'][a0_0x23b3('0x8a')]=function(_0x11ec55,_0x71e518){if(this[a0_0x23b3('0x9c')][a0_0x23b3('0x7b')](a0_0x23b3('0x2d'))){this[a0_0x23b3('0xb6')](Math[a0_0x23b3('0x53')](this[a0_0x23b3('0xa7')]-_0x71e518,this['selectionStartY']+this[a0_0x23b3('0xa7')]));this[a0_0x23b3('0x82')](Math[a0_0x23b3('0x53')](this['selectionStartY']+_0x71e518,this[a0_0x23b3('0x62')]+this[a0_0x23b3('0xa7')]-CropSelectJs['MINIMUM_SELECTION_BOX_HEIGHT']));}else if(this[a0_0x23b3('0x9c')][a0_0x23b3('0x7b')]('bottom')){this[a0_0x23b3('0xb6')](Math[a0_0x23b3('0x53')](this[a0_0x23b3('0xa7')]+_0x71e518,this['getWrapperHeight']()-this[a0_0x23b3('0x62')]));}if(this[a0_0x23b3('0x9c')][a0_0x23b3('0x7b')](a0_0x23b3('0xf'))){this[a0_0x23b3('0x3')](Math[a0_0x23b3('0x53')](this[a0_0x23b3('0x64')]-_0x11ec55,this[a0_0x23b3('0x13')]+this[a0_0x23b3('0x64')]));this[a0_0x23b3('0x31')](Math[a0_0x23b3('0x53')](this[a0_0x23b3('0x13')]+_0x11ec55,this[a0_0x23b3('0x13')]+this[a0_0x23b3('0x64')]-CropSelectJs[a0_0x23b3('0xc')]));}else if(this[a0_0x23b3('0x9c')][a0_0x23b3('0x7b')]('right')){this[a0_0x23b3('0x3')](Math[a0_0x23b3('0x53')](this[a0_0x23b3('0x64')]+_0x11ec55,this[a0_0x23b3('0x1b')]()-this['selectionStartX']));}};CropSelectJs[a0_0x23b3('0x86')]['handleAspectRatioLockedResizeTopLeft']=function(_0x58a39f,_0x148600,_0x2eaa12){var _0x28b34e=this[a0_0x23b3('0x62')]+this['selectionStartHeight'];var _0x3a481b=this['selectionStartX']+this[a0_0x23b3('0x64')];_0x3a481b=Math[a0_0x23b3('0x53')](_0x3a481b,_0x28b34e*_0x2eaa12);_0x28b34e=Math[a0_0x23b3('0x53')](_0x28b34e,_0x3a481b/_0x2eaa12);var _0x235411=Math[a0_0x23b3('0x53')](this['selectionStartHeight']-_0x148600,_0x28b34e);var _0x5d2dca=Math[a0_0x23b3('0x53')](this[a0_0x23b3('0x64')]-_0x58a39f,_0x3a481b);var _0x5c020a=_0x235411*_0x2eaa12;var _0x5bf788=_0x5d2dca/_0x2eaa12;var _0x513c8a,_0x366fad;if(_0x5d2dca>_0x5c020a){_0x366fad=_0x5d2dca;_0x513c8a=_0x5bf788;}else{_0x513c8a=_0x235411;_0x366fad=_0x5c020a;}var _0x4ae2b5=_0x366fad-this[a0_0x23b3('0x64')];var _0x156f6e=_0x513c8a-this[a0_0x23b3('0xa7')];var _0x1e3063=this[a0_0x23b3('0x13')]-_0x4ae2b5;var _0x4087ae=this[a0_0x23b3('0x62')]-_0x156f6e;_0x1e3063=Math[a0_0x23b3('0x53')](_0x1e3063,this[a0_0x23b3('0x13')]+this[a0_0x23b3('0x64')]-CropSelectJs[a0_0x23b3('0xc')]);_0x4087ae=Math['min'](_0x4087ae,this[a0_0x23b3('0x62')]+this['selectionStartHeight']-CropSelectJs[a0_0x23b3('0x54')]);this[a0_0x23b3('0x3')](_0x366fad);this[a0_0x23b3('0xb6')](_0x513c8a);this[a0_0x23b3('0x31')](_0x1e3063);this['setSelectionBoxY'](_0x4087ae);};CropSelectJs['prototype'][a0_0x23b3('0x89')]=function(_0x132770,_0xe1eb24,_0x49df70){var _0x4106e1=this[a0_0x23b3('0x62')]+this['selectionStartHeight'];var _0x205da6=this['selectionStartX']+this[a0_0x23b3('0x64')];var _0x5c91e4=Math['min'](this[a0_0x23b3('0xa7')]-_0xe1eb24,_0x4106e1);var _0xe1c58f=_0x5c91e4*_0x49df70;if(_0xe1c58f>_0x205da6){_0xe1c58f=_0x205da6;_0x5c91e4=_0xe1c58f/_0x49df70;}var _0x46fd9f=_0xe1c58f-this[a0_0x23b3('0x64')];var _0x15380e=_0x5c91e4-this['selectionStartHeight'];var _0x588e7c=this['selectionStartX']-_0x46fd9f;var _0xb226a8=this[a0_0x23b3('0x62')]-_0x15380e;_0x588e7c=Math[a0_0x23b3('0x53')](_0x588e7c,this[a0_0x23b3('0x13')]+this['selectionStartWidth']-CropSelectJs[a0_0x23b3('0xc')]);_0xb226a8=Math[a0_0x23b3('0x53')](_0xb226a8,this[a0_0x23b3('0x62')]+this[a0_0x23b3('0xa7')]-CropSelectJs['MINIMUM_SELECTION_BOX_HEIGHT']);this[a0_0x23b3('0x3')](_0xe1c58f);this[a0_0x23b3('0xb6')](_0x5c91e4);this[a0_0x23b3('0x31')](_0x588e7c);this[a0_0x23b3('0x82')](_0xb226a8);};CropSelectJs[a0_0x23b3('0x86')][a0_0x23b3('0xa0')]=function(_0x15e15e,_0x4efe77,_0x70da08){var _0x34bdac=this[a0_0x23b3('0x1b')]()-this[a0_0x23b3('0x13')];var _0x48b084=this[a0_0x23b3('0x62')]+this[a0_0x23b3('0xa7')];_0x34bdac=Math['min'](_0x34bdac,_0x48b084*_0x70da08);_0x48b084=Math[a0_0x23b3('0x53')](_0x48b084,_0x34bdac/_0x70da08);var _0x1853b1=Math['min'](this[a0_0x23b3('0xa7')]-_0x4efe77,_0x48b084);var _0x4473e0=Math[a0_0x23b3('0x53')](this[a0_0x23b3('0x64')]+_0x15e15e,_0x34bdac);var _0x75d340=_0x1853b1*_0x70da08;var _0x3a02d8=_0x4473e0/_0x70da08;var _0x35ccb9,_0x1cc031;if(_0x4473e0>_0x75d340){_0x1cc031=_0x4473e0;_0x35ccb9=_0x3a02d8;}else{_0x35ccb9=_0x1853b1;_0x1cc031=_0x75d340;}var _0x279e3a=_0x35ccb9-this[a0_0x23b3('0xa7')];var _0x41417b=this['selectionStartY']-_0x279e3a;_0x41417b=Math[a0_0x23b3('0x7')](_0x41417b,this[a0_0x23b3('0x62')]-_0x48b084);_0x41417b=Math[a0_0x23b3('0x53')](_0x41417b,this[a0_0x23b3('0x62')]+this['selectionStartHeight']-CropSelectJs['MINIMUM_SELECTION_BOX_HEIGHT']);this[a0_0x23b3('0x3')](_0x1cc031);this[a0_0x23b3('0xb6')](_0x35ccb9);this[a0_0x23b3('0x82')](_0x41417b);};CropSelectJs[a0_0x23b3('0x86')][a0_0x23b3('0x3b')]=function(_0x4aa8a9,_0x5068f0,_0x226b14){var _0x19cb7c=this[a0_0x23b3('0xa6')]()-this[a0_0x23b3('0x62')];var _0xb4b8c1=this[a0_0x23b3('0x1b')]()-this[a0_0x23b3('0x13')];var _0x17d06e=Math['min'](this[a0_0x23b3('0x64')]+_0x4aa8a9,_0xb4b8c1);var _0x30c35b=_0x17d06e/_0x226b14;if(_0x30c35b>_0x19cb7c){_0x30c35b=_0x19cb7c;_0x17d06e=_0x30c35b*_0x226b14;}this[a0_0x23b3('0x3')](_0x17d06e);this[a0_0x23b3('0xb6')](_0x30c35b);};CropSelectJs[a0_0x23b3('0x86')][a0_0x23b3('0x66')]=function(_0x443ed8,_0x4128c6,_0x37dd40){var _0x35c089=this[a0_0x23b3('0xa6')]()-this['selectionStartY'];var _0x1c6a03=this['getWrapperWidth']()-this[a0_0x23b3('0x13')];_0x1c6a03=Math[a0_0x23b3('0x53')](_0x1c6a03,_0x35c089*_0x37dd40);_0x35c089=Math['min'](_0x35c089,_0x1c6a03/_0x37dd40);var _0x7e6a46=Math['min'](this[a0_0x23b3('0xa7')]+_0x4128c6,_0x35c089);var _0x44bda7=Math[a0_0x23b3('0x53')](this[a0_0x23b3('0x64')]+_0x443ed8,_0x1c6a03);var _0x5f7a05=_0x7e6a46*_0x37dd40;var _0xbeb6a7=_0x44bda7/_0x37dd40;var _0x68b2f5,_0x45eafa;if(_0x44bda7>_0x5f7a05){_0x68b2f5=_0x44bda7;_0x45eafa=_0xbeb6a7;}else{_0x45eafa=_0x7e6a46;_0x68b2f5=_0x5f7a05;}this[a0_0x23b3('0x3')](_0x68b2f5);this[a0_0x23b3('0xb6')](_0x45eafa);};CropSelectJs[a0_0x23b3('0x86')][a0_0x23b3('0x91')]=function(_0x1df9db,_0x4ad6b4,_0x2964bd){var _0xd5fe78=this['getWrapperHeight']()-this[a0_0x23b3('0x62')];var _0x287906=this[a0_0x23b3('0x1b')]()-this[a0_0x23b3('0x13')];var _0x220448=Math[a0_0x23b3('0x53')](this[a0_0x23b3('0xa7')]+_0x4ad6b4,_0xd5fe78);var _0x4c2279=_0x220448*_0x2964bd;if(_0x4c2279>_0x287906){_0x4c2279=_0x287906;_0x220448=_0x4c2279/_0x2964bd;}this[a0_0x23b3('0x3')](_0x4c2279);this[a0_0x23b3('0xb6')](_0x220448);};CropSelectJs[a0_0x23b3('0x86')][a0_0x23b3('0x3c')]=function(_0x24eeec,_0x6da712,_0x21327b){var _0xa10c57=this[a0_0x23b3('0x13')]+this[a0_0x23b3('0x64')];var _0x1ff690=this[a0_0x23b3('0xa6')]()-this[a0_0x23b3('0x62')];_0xa10c57=Math[a0_0x23b3('0x53')](_0xa10c57,_0x1ff690*_0x21327b);_0x1ff690=Math[a0_0x23b3('0x53')](_0x1ff690,_0xa10c57/_0x21327b);var _0x30064d=Math['min'](this[a0_0x23b3('0x64')]-_0x24eeec,_0xa10c57);var _0xff10dc=Math[a0_0x23b3('0x53')](this[a0_0x23b3('0xa7')]+_0x6da712,_0x1ff690);var _0x1418c8=_0xff10dc*_0x21327b;var _0x4cfdd6=_0x30064d/_0x21327b;var _0x265389,_0x27d768;if(_0x30064d>_0x1418c8){_0x27d768=_0x30064d;_0x265389=_0x4cfdd6;}else{_0x265389=_0xff10dc;_0x27d768=_0x1418c8;}var _0xaa7587=_0x27d768-this['selectionStartWidth'];var _0x43ea75=this[a0_0x23b3('0x13')]-_0xaa7587;_0x43ea75=Math[a0_0x23b3('0x7')](_0x43ea75,this[a0_0x23b3('0x13')]-_0xa10c57);_0x43ea75=Math[a0_0x23b3('0x53')](_0x43ea75,this[a0_0x23b3('0x13')]+this['selectionStartWidth']-CropSelectJs[a0_0x23b3('0xc')]);this[a0_0x23b3('0x3')](_0x27d768);this[a0_0x23b3('0xb6')](_0x265389);this[a0_0x23b3('0x31')](_0x43ea75);};CropSelectJs[a0_0x23b3('0x86')][a0_0x23b3('0x8b')]=function(_0xbcabe1,_0x4ec7a2,_0xe18cf1){var _0x450c1b=this[a0_0x23b3('0x62')]+this[a0_0x23b3('0xa7')];var _0x316301=this['selectionStartX']+this['selectionStartWidth'];var _0x203328=Math[a0_0x23b3('0x53')](this['selectionStartHeight']-_0xbcabe1,_0x316301);var _0x3620fb=_0x203328/_0xe18cf1;if(_0x3620fb>_0x450c1b){_0x3620fb=_0x450c1b;_0x203328=_0x3620fb*_0xe18cf1;}var _0x43c757=_0x203328-this[a0_0x23b3('0x64')];var _0x42d3de=_0x3620fb-this['selectionStartHeight'];var _0x2a88c9=this[a0_0x23b3('0x13')]-_0x43c757;var _0x2401e2=this[a0_0x23b3('0x62')]-_0x42d3de;_0x2a88c9=Math[a0_0x23b3('0x53')](_0x2a88c9,this['selectionStartX']+this[a0_0x23b3('0x64')]-CropSelectJs['MINIMUM_SELECTION_BOX_WIDTH']);_0x2401e2=Math[a0_0x23b3('0x53')](_0x2401e2,this[a0_0x23b3('0x62')]+this[a0_0x23b3('0xa7')]-CropSelectJs[a0_0x23b3('0x54')]);this[a0_0x23b3('0x3')](_0x203328);this[a0_0x23b3('0xb6')](_0x3620fb);this[a0_0x23b3('0x31')](_0x2a88c9);this[a0_0x23b3('0x82')](_0x2401e2);};CropSelectJs['prototype'][a0_0x23b3('0x23')]=function(){$(this[a0_0x23b3('0xaf')])[a0_0x23b3('0x88')](a0_0x23b3('0x52'));};CropSelectJs[a0_0x23b3('0x86')][a0_0x23b3('0xd')]=function(){$(this[a0_0x23b3('0xaf')])[a0_0x23b3('0xab')](a0_0x23b3('0x52'));};CropSelectJs[a0_0x23b3('0x86')][a0_0x23b3('0x2e')]=function(_0x4b570d){this['options'][a0_0x23b3('0x90')]=_0x4b570d;this['selectCentredFittedAspectRatio'](_0x4b570d);};CropSelectJs[a0_0x23b3('0x86')][a0_0x23b3('0x42')]=function(){this['options'][a0_0x23b3('0x90')]=null;};CropSelectJs['prototype'][a0_0x23b3('0x1b')]=function(){return $(this[a0_0x23b3('0x75')])[0x0][a0_0x23b3('0x5a')]()['width'];};CropSelectJs[a0_0x23b3('0x86')][a0_0x23b3('0xa6')]=function(){console[a0_0x23b3('0xb9')](a0_0x23b3('0x98'),$(this[a0_0x23b3('0x75')])[0x0][a0_0x23b3('0x5a')]());return $(this[a0_0x23b3('0x75')])[0x0][a0_0x23b3('0x5a')]()[a0_0x23b3('0x74')];};CropSelectJs[a0_0x23b3('0x86')][a0_0x23b3('0x8c')]=function(){$(this[a0_0x23b3('0x44')])[a0_0x23b3('0xba')]()[a0_0x23b3('0x85')]();};CropSelectJs['prototype'][a0_0x23b3('0x78')]=function(){return $(this[a0_0x23b3('0xaf')])[a0_0x23b3('0x39')]()[a0_0x23b3('0xf')]-$(this[a0_0x23b3('0xaf')])[a0_0x23b3('0xba')]()['offset']()[a0_0x23b3('0xf')];};CropSelectJs[a0_0x23b3('0x86')][a0_0x23b3('0x31')]=function(_0x5713fe){var _0x1a27b5=this[a0_0x23b3('0x1b')]();var _0x4af7c5=this[a0_0x23b3('0x17')]();this[a0_0x23b3('0xaf')]=this[a0_0x23b3('0xb7')]();_0x5713fe=Math[a0_0x23b3('0x7')](0x0,Math['min'](_0x5713fe,_0x1a27b5-_0x4af7c5));console[a0_0x23b3('0xb9')](a0_0x23b3('0x8'),this[a0_0x23b3('0xaf')]);this[a0_0x23b3('0xaf')]['style'][a0_0x23b3('0xf')]=_0x5713fe+'px';console['log'](a0_0x23b3('0x1'),this[a0_0x23b3('0xaf')]);this[a0_0x23b3('0x6b')]=this[a0_0x23b3('0x35')]();this[a0_0x23b3('0x5f')]=this[a0_0x23b3('0x32')]();this[a0_0x23b3('0x59')]=this[a0_0x23b3('0x9a')]();this[a0_0x23b3('0xad')]=this[a0_0x23b3('0x34')]();this[a0_0x23b3('0x6b')][a0_0x23b3('0xa8')][a0_0x23b3('0x85')]=_0x5713fe+'px';this[a0_0x23b3('0x5f')][a0_0x23b3('0xa8')][a0_0x23b3('0x85')]=_0x1a27b5-_0x5713fe-_0x4af7c5+'px';this[a0_0x23b3('0x59')]['style'][a0_0x23b3('0xf')]=_0x5713fe+'px';this[a0_0x23b3('0xad')]['style'][a0_0x23b3('0xf')]=_0x5713fe+'px';};CropSelectJs[a0_0x23b3('0x86')]['getSelectionBoxY']=function(){return $(this['selectionBox'])['offset']()[a0_0x23b3('0x2d')]-$(this[a0_0x23b3('0xaf')])[a0_0x23b3('0xba')]()[a0_0x23b3('0x39')]()[a0_0x23b3('0x2d')];};CropSelectJs['prototype']['setSelectionBoxY']=function(_0x352f2c){var _0x1f9778=this['getWrapperHeight']();var _0x47733d=this[a0_0x23b3('0x51')]();_0x352f2c=Math[a0_0x23b3('0x7')](0x0,Math[a0_0x23b3('0x53')](_0x352f2c,_0x1f9778-_0x47733d));this[a0_0x23b3('0xaf')][a0_0x23b3('0xa8')][a0_0x23b3('0x2d')]=_0x352f2c+'px';this[a0_0x23b3('0x59')]=this['getShadowTop']();this[a0_0x23b3('0xad')]=this[a0_0x23b3('0x34')]();this['shadowTop'][a0_0x23b3('0xa8')][a0_0x23b3('0x74')]=_0x352f2c+'px';this['shadowBottom'][a0_0x23b3('0xa8')][a0_0x23b3('0x74')]=_0x1f9778-_0x352f2c-_0x47733d+'px';};CropSelectJs[a0_0x23b3('0x86')][a0_0x23b3('0x17')]=function(){return $(this[a0_0x23b3('0xaf')])[a0_0x23b3('0x2f')]();};CropSelectJs[a0_0x23b3('0x86')][a0_0x23b3('0x3')]=function(_0x36648e){_0x36648e=Math[a0_0x23b3('0x7')](_0x36648e,CropSelectJs[a0_0x23b3('0xc')]);this[a0_0x23b3('0xaf')][a0_0x23b3('0xa8')][a0_0x23b3('0x85')]=_0x36648e+'px';var _0x379b01=this[a0_0x23b3('0x1b')]();this[a0_0x23b3('0x5f')]=this[a0_0x23b3('0x32')]();this[a0_0x23b3('0x59')]=this[a0_0x23b3('0x9a')]();this[a0_0x23b3('0xad')]=this[a0_0x23b3('0x34')]();this['shadowTop'][a0_0x23b3('0xa8')]['width']=_0x36648e+'px';this[a0_0x23b3('0xad')][a0_0x23b3('0xa8')][a0_0x23b3('0x85')]=_0x36648e+'px';this[a0_0x23b3('0x5f')][a0_0x23b3('0xa8')][a0_0x23b3('0x85')]=Math['max'](0x0,_0x379b01-this[a0_0x23b3('0x78')]()-_0x36648e)+'px';};CropSelectJs[a0_0x23b3('0x86')][a0_0x23b3('0x51')]=function(){return $(this[a0_0x23b3('0xaf')])[a0_0x23b3('0x8d')]();};CropSelectJs['prototype'][a0_0x23b3('0xb6')]=function(_0x2b7ed9){_0x2b7ed9=Math[a0_0x23b3('0x7')](_0x2b7ed9,CropSelectJs['MINIMUM_SELECTION_BOX_HEIGHT']);console[a0_0x23b3('0xb9')](a0_0x23b3('0x73'),_0x2b7ed9);this['selectionBox'][a0_0x23b3('0xa8')][a0_0x23b3('0x74')]=_0x2b7ed9+'px';y=this[a0_0x23b3('0x9d')]();var _0x22b64a=this['getWrapperHeight']();var _0x2e7cdf=this[a0_0x23b3('0x51')]();y=Math[a0_0x23b3('0x7')](0x0,Math[a0_0x23b3('0x53')](y,_0x22b64a-_0x2e7cdf));this[a0_0x23b3('0xad')]=this[a0_0x23b3('0x34')]();this[a0_0x23b3('0xad')][a0_0x23b3('0xa8')]['height']=Math['max'](0x0,_0x22b64a-this[a0_0x23b3('0x9d')]()-_0x2b7ed9)+'px';};CropSelectJs[a0_0x23b3('0x86')][a0_0x23b3('0x60')]=function(){this[a0_0x23b3('0x3')](this[a0_0x23b3('0x17')]());this[a0_0x23b3('0xb6')](this[a0_0x23b3('0x51')]());this[a0_0x23b3('0x31')](this['getSelectionBoxX']());this[a0_0x23b3('0x82')](this[a0_0x23b3('0x9d')]());};CropSelectJs[a0_0x23b3('0x86')][a0_0x23b3('0x80')]=function(){return $(this[a0_0x23b3('0x93')])[a0_0x23b3('0xb4')](a0_0x23b3('0x7f'));};CropSelectJs[a0_0x23b3('0x86')][a0_0x23b3('0x97')]=function(_0x42deac){var _0x511520=this;var _0x4c2162=new Image();_0x4c2162['onload']=function(){_0x511520[a0_0x23b3('0x4b')](this[a0_0x23b3('0x85')]);_0x511520[a0_0x23b3('0x29')](this[a0_0x23b3('0x74')]);$(_0x511520[a0_0x23b3('0x93')])[a0_0x23b3('0xb4')](a0_0x23b3('0x7f'),_0x42deac);console[a0_0x23b3('0xb9')](a0_0x23b3('0x19'),this[a0_0x23b3('0x85')],this[a0_0x23b3('0x22')],this[a0_0x23b3('0x74')],this['imageHeight'],_0x4c2162[a0_0x23b3('0x7f')]);};_0x4c2162['src']=_0x42deac;};CropSelectJs['prototype'][a0_0x23b3('0x37')]=function(){return this['imageWidth'];};CropSelectJs[a0_0x23b3('0x86')][a0_0x23b3('0x4b')]=function(_0x491812){this[a0_0x23b3('0x22')]=_0x491812;};CropSelectJs[a0_0x23b3('0x86')][a0_0x23b3('0x16')]=function(){return this[a0_0x23b3('0xe')];};CropSelectJs['prototype'][a0_0x23b3('0x29')]=function(_0x42ccef){this[a0_0x23b3('0xe')]=_0x42ccef;};CropSelectJs['prototype']['getImageAspectRatio']=function(){if(!this[a0_0x23b3('0x37')]()||!this[a0_0x23b3('0x16')]()){return null;}return this['getImageWidth']()/this[a0_0x23b3('0x16')]();};CropSelectJs[a0_0x23b3('0x86')][a0_0x23b3('0x5d')]=function(){return this['getImageWidth']()/$(this[a0_0x23b3('0x93')])[a0_0x23b3('0x85')]();};CropSelectJs[a0_0x23b3('0x86')][a0_0x23b3('0x9')]=function(){return this[a0_0x23b3('0x16')]()/$(this[a0_0x23b3('0x93')])[a0_0x23b3('0x74')]();};CropSelectJs[a0_0x23b3('0x86')]['getScaledSelectionBoxWidth']=function(){return Math[a0_0x23b3('0xb')](this['getImageXScaleFactor']()*this[a0_0x23b3('0x17')]());};CropSelectJs['prototype']['getScaledSelectionBoxHeight']=function(){return Math['round'](this[a0_0x23b3('0x9')]()*this[a0_0x23b3('0x51')]());};CropSelectJs[a0_0x23b3('0x86')][a0_0x23b3('0xb8')]=function(){return Math[a0_0x23b3('0xb')](this['getImageXScaleFactor']()*this[a0_0x23b3('0x78')]());};CropSelectJs[a0_0x23b3('0x86')]['getScaledSelectionBoxY']=function(){return Math[a0_0x23b3('0xb')](this['getImageYScaleFactor']()*this[a0_0x23b3('0x9d')]());};CropSelectJs[a0_0x23b3('0x86')][a0_0x23b3('0x28')]=function(){console[a0_0x23b3('0xb9')](a0_0x23b3('0x38'),this['getSelectionBox']());this[a0_0x23b3('0x31')](0x0);this[a0_0x23b3('0x82')](0x0);this[a0_0x23b3('0x3')](this['getWrapperWidth']());this[a0_0x23b3('0xb6')](this[a0_0x23b3('0xa6')]());this[a0_0x23b3('0x2')]();this['triggerSelectionResizeEvent']();};CropSelectJs[a0_0x23b3('0x86')][a0_0x23b3('0x3a')]=function(_0x4d4db7){var _0x2f71c0=this[a0_0x23b3('0x1b')]();var _0x4312a8=this[a0_0x23b3('0xa6')]();var _0x58a0d0=_0x4312a8*_0x4d4db7;var _0x544a16=_0x2f71c0/_0x4d4db7;var _0x16b9d1,_0x11676f;if(_0x58a0d0>_0x2f71c0){_0x16b9d1=_0x2f71c0;_0x11676f=Math[a0_0x23b3('0xb')](_0x544a16);}else{_0x16b9d1=Math[a0_0x23b3('0xb')](_0x58a0d0);_0x11676f=_0x4312a8;}var _0xdb3415=Math[a0_0x23b3('0x81')]((_0x2f71c0-_0x16b9d1)/0x2);var _0x9bab67=Math['floor']((_0x4312a8-_0x11676f)/0x2);this[a0_0x23b3('0x3')](_0x16b9d1);this[a0_0x23b3('0xb6')](_0x11676f);this['setSelectionBoxX'](_0xdb3415);this['setSelectionBoxY'](_0x9bab67);this[a0_0x23b3('0x33')]();this[a0_0x23b3('0x2')]();};CropSelectJs[a0_0x23b3('0x86')]['selectCentredSquare']=function(){this['selectCentredFittedAspectRatio'](0x1);};CropSelectJs[a0_0x23b3('0x86')][a0_0x23b3('0xb7')]=function(){if(typeof this[a0_0x23b3('0xaf')]===a0_0x23b3('0x4c')&&this['selectionBox']['length']>0x0){return this['selectionBox'][0x0];}return this[a0_0x23b3('0xaf')];};CropSelectJs[a0_0x23b3('0x86')]['getShadowLeft']=function(){if(typeof this[a0_0x23b3('0x6b')]===a0_0x23b3('0x4c')&&this[a0_0x23b3('0x6b')][a0_0x23b3('0x67')]>0x0){return this[a0_0x23b3('0x6b')][0x0];}return this[a0_0x23b3('0x6b')];};CropSelectJs[a0_0x23b3('0x86')][a0_0x23b3('0x32')]=function(){if(typeof this[a0_0x23b3('0x5f')]===a0_0x23b3('0x4c')&&this['shadowRight'][a0_0x23b3('0x67')]>0x0){return this[a0_0x23b3('0x5f')][0x0];}return this['shadowRight'];};CropSelectJs['prototype'][a0_0x23b3('0x9a')]=function(){if(typeof this['shadowTop']===a0_0x23b3('0x4c')&&this[a0_0x23b3('0x59')][a0_0x23b3('0x67')]>0x0){return this[a0_0x23b3('0x59')][0x0];}return this['shadowTop'];};CropSelectJs['prototype'][a0_0x23b3('0x34')]=function(){if(typeof this[a0_0x23b3('0xad')]===a0_0x23b3('0x4c')&&this[a0_0x23b3('0xad')]['length']>0x0){return this['shadowBottom'][0x0];}return this[a0_0x23b3('0xad')];};CropSelectJs[a0_0x23b3('0x86')][a0_0x23b3('0x8f')]=function(){return{'selectionBoxX':this[a0_0x23b3('0x78')](),'selectionBoxY':this[a0_0x23b3('0x9d')](),'selectionBoxWidth':this[a0_0x23b3('0x17')](),'selectionBoxHeight':this[a0_0x23b3('0x51')](),'scaledselectionBoxX':this[a0_0x23b3('0xb8')](),'scaledselectionBoxY':this[a0_0x23b3('0xa5')](),'scaledselectionBoxWidth':this[a0_0x23b3('0xa3')](),'scaledselectionBoxHeight':this[a0_0x23b3('0x24')]()};};