/*! For license information please see dll.Draggable.js.LICENSE.txt */
(window.webpackJsonp_name_hash_=window.webpackJsonp_name_hash_||[]).push([[35],{2768:function(t,e,n){var r=n(36),a=n(2769);"string"==typeof(a=a.__esModule?a.default:a)&&(a=[[t.i,a,""]]);var o={insert:"head",singleton:!1};r(a,o);t.exports=a.locals||{}},2769:function(t,e,n){(e=n(37)(!1)).push([t.i,".react-draggable {\n\tz-index: 1004;\n}\n\n.react-draggable-last {\n\tz-index: 1006 !important;\n}\n",""]),t.exports=e},983:function(t,e,n){"use strict";n.r(e);var r=n(72),a=n.n(r),o=n(13),c=n.n(o),i=n(12),s=n.n(i),p=n(7),l=n.n(p),f=n(14),u=n.n(f),h=n(15),d=n.n(h),g=n(8),b=n.n(g),y=n(5),v=n.n(y),m=n(0),w=n.n(m),O=n(1),E=n.n(O),j=n(2764),S=n(2770),P=n(494);n(2768);function R(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function z(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?R(Object(n),!0).forEach((function(e){v()(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):R(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function _(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=b()(t);if(e){var a=b()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return d()(this,n)}}var x={bottom:!0,bottomLeft:!0,bottomRight:!0,left:!0,right:!0,top:!0,topLeft:!0,topRight:!0};function D(t){var e=document.getElementsByClassName("react-draggable-last");if(t.path){for(var n=t.path[1],r=0;r<t.path.length;r++){var a=t.path[r];if(a.classList&&a.classList.contains("react-draggable-dragged")){n=a;break}}setTimeout((function(){if(e)for(var t=0;t<e.length;t++)e[t].classList.remove("react-draggable-last");n.classList.add("react-draggable-last")}),0)}}var L=function(t){u()(n,t);var e=_(n);function n(){var t;c()(this,n);for(var r=arguments.length,a=new Array(r),o=0;o<r;o++)a[o]=arguments[o];return t=e.call.apply(e,[this].concat(a)),v()(l()(t),"handleStop",(function(e,n){D(e),t.props.onStop(e,n)})),v()(l()(t),"handleEscape",(function(e){t.props.onEscape(e)})),v()(l()(t),"updateSize",(function(e){var n=e.width,r=e.height;t.container.updateSize({width:n,height:r})})),t}return s()(n,[{key:"render",value:function(){var t=this;return w.a.createElement(S.default,{node:document&&document.getElementById("Lesson")},w.a.createElement(j.Rnd,a()({},this.props,{onDragStop:this.handleStop,ref:function(e){t.container=e},default:z({x:window.pageXOffset+30,y:window.pageYOffset+30},this.props.default),enableResizing:!!this.props.resizable&&x,enableUserSelectHack:!1,style:z({position:"fixed"},this.props.style)}),this.props.children),w.a.createElement(P.default,{container:this.container,actions:{Escape:this.handleEscape}}))}}]),n}(m.Component);L.propTypes={resizable:E.a.bool,onStop:E.a.func,onEscape:E.a.func,style:E.a.object},L.defaultProps={resizable:!1,onStop:function(){},onEscape:function(){},style:{}},e.default=L}}]);