@@ -1,4 +1,4 @@
-!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("react")):"function"==typeof define&&define.amd?define(["react"],e):"object"==typeof exports?exports.ReactDnD=e(require("react")):t.ReactDnD=e(t.React)}(window,function(t){return function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=47)}([function(t,e,r){"use strict";t.exports=function(t,e,r,n,o,i,s,a){if(!t){var c;if(void 0===e)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[r,n,o,i,s,a],f=0;(c=new Error(e.replace(/%s/g,function(){return u[f++]}))).name="Invariant Violation"}throw c.framesToPop=1,c}}},function(e,r){e.exports=t},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.INIT_COORDS="dnd-core/INIT_COORDS",e.BEGIN_DRAG="dnd-core/BEGIN_DRAG",e.PUBLISH_DRAG_SOURCE="dnd-core/PUBLISH_DRAG_SOURCE",e.HOVER="dnd-core/HOVER",e.DROP="dnd-core/DROP",e.END_DRAG="dnd-core/END_DRAG"},function(t,e,r){var n=r(10),o=r(142),i=r(4),s="[object Object]",a=Function.prototype,c=Object.prototype,u=a.toString,f=c.hasOwnProperty,d=u.call(Object);t.exports=function(t){if(!i(t)||n(t)!=s)return!1;var e=o(t);if(null===e)return!0;var r=f.call(e,"constructor")&&e.constructor;return"function"==typeof r&&r instanceof r&&u.call(r)==d}},function(t,e){t.exports=function(t){return null!=t&&"object"==typeof t}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const n=r(54),o=r(56),i=r(57),s=r(58),a=r(59);!function(t){for(var r in t)e.hasOwnProperty(r)||(e[r]=t[r])}(r(2)),e.default=function(t){return{beginDrag:n.default(t),publishDragSource:o.default(t),hover:i.default(t),drop:s.default(t),endDrag:a.default(t)}}},function(t,e){t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ADD_SOURCE="dnd-core/ADD_SOURCE",e.ADD_TARGET="dnd-core/ADD_TARGET",e.REMOVE_SOURCE="dnd-core/REMOVE_SOURCE",e.REMOVE_TARGET="dnd-core/REMOVE_TARGET",e.addSource=function(t){return{type:e.ADD_SOURCE,payload:{sourceId:t}}},e.addTarget=function(t){return{type:e.ADD_TARGET,payload:{targetId:t}}},e.removeSource=function(t){return{type:e.REMOVE_SOURCE,payload:{sourceId:t}}},e.removeTarget=function(t){return{type:e.REMOVE_TARGET,payload:{targetId:t}}}},function(t,e,r){var n=r(9)(Object,"create");t.exports=n},function(t,e,r){var n=r(65),o=r(72);t.exports=function(t,e){var r=o(t,e);return n(r)?r:void 0}},function(t,e,r){var n=r(11),o=r(67),i=r(68),s="[object Null]",a="[object Undefined]",c=n?n.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?a:s:c&&c in Object(t)?o(t):i(t)}},function(t,e,r){var n=r(12).Symbol;t.exports=n},function(t,e,r){var n=r(66),o="object"==typeof self&&self&&self.Object===Object&&self,i=n||o||Function("return this")();t.exports=i},function(t,e,r){var n=r(80);t.exports=function(t,e){for(var r=t.length;r--;)if(n(t[r][0],e))return r;return-1}},function(t,e,r){var n=r(86);t.exports=function(t,e){var r=t.__data__;return n(e)?r["string"==typeof e?"string":"hash"]:r.map}},function(t,e){t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length,o=Array(n);++r<n;)o[r]=e(t[r],r,t);return o}},function(t,e){var r=Array.isArray;t.exports=r},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,...r){}},function(t,e){t.exports=function(t,e,r,n){var o=r?r.call(n,t,e):void 0;if(void 0!==o)return!!o;if(t===e)return!0;if("object"!=typeof t||!t||"object"!=typeof e||!e)return!1;var i=Object.keys(t),s=Object.keys(e);if(i.length!==s.length)return!1;for(var a=Object.prototype.hasOwnProperty.bind(e),c=0;c<i.length;c++){var u=i[c];if(!a(u))return!1;var f=t[u],d=e[u];if(!1===(o=r?r.call(n,f,d,u):void 0)||void 0===o&&f!==d)return!1}return!0}},function(t,e,r){"use strict";var n;Object.defineProperty(e,"__esModule",{value:!0});const o=r(1),i=r(32),s=r(17),a=r(0),c=r(29),u=r(30).default;function f(t,e,r){return{dragDropManager:i.createDragDropManager(t,e,r)}}n=o.createContext({dragDropManager:void 0}),e.Consumer=n.Consumer,e.Provider=n.Provider,e.createChildContext=f,e.DragDropContextProvider=(({backend:t,context:r,debugMode:n,children:i})=>{const s=f(t,r,n);return o.createElement(e.Provider,{value:s},i)}),e.DragDropContext=function(t,r,n){s.default("DragDropContext","backend",t);const i=f(t,r,n);return function(t){const r=t,n=r.displayName||r.name||"Component";class s extends o.Component{constructor(){super(...arguments),this.ref=o.createRef(),this.getManager=(()=>i.dragDropManager)}getDecoratedComponentInstance(){return a(this.ref.current,"In order to access an instance of the decorated component it can not be a stateless component."),this.ref.current}render(){return o.createElement(e.Provider,{value:i},o.createElement(r,Object.assign({},this.props,{ref:u(r)?this.ref:void 0})))}}return s.DecoratedComponent=t,s.displayName=`DragDropContext(${n})`,c(s,t)}}},function(t,e){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(t){"object"==typeof window&&(r=window)}t.exports=r},function(t,e,r){var n=r(37),o=r(90),i=r(91);function s(t){var e=-1,r=null==t?0:t.length;for(this.__data__=new n;++e<r;)this.add(t[e])}s.prototype.add=s.prototype.push=o,s.prototype.has=i,t.exports=s},function(t,e,r){var n=r(10),o=r(6),i="[object AsyncFunction]",s="[object Function]",a="[object GeneratorFunction]",c="[object Proxy]";t.exports=function(t){if(!o(t))return!1;var e=n(t);return e==s||e==a||e==i||e==c}},function(t,e,r){var n=r(92);t.exports=function(t,e){return!(null==t||!t.length)&&n(t,e,0)>-1}},function(t,e){t.exports=function(t,e,r){for(var n=-1,o=null==t?0:t.length;++n<o;)if(r(e,t[n]))return!0;return!1}},function(t,e){t.exports=function(t,e){return t.has(e)}},function(t,e,r){var n=r(39),o=r(96),i=r(98);t.exports=function(t,e){return i(o(t,e,n),t+"")}},function(t,e,r){var n=r(103),o=r(4);t.exports=function(t){return o(t)&&n(t)}},function(t,e,r){var n=r(10),o=r(4),i="[object Symbol]";t.exports=function(t){return"symbol"==typeof t||o(t)&&n(t)==i}},function(t,e,r){"use strict";var n=r(139),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},s={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},a={};function c(t){return n.isMemo(t)?s:a[t.$$typeof]||o}a[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0};var u=Object.defineProperty,f=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,l=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;t.exports=function t(e,r,n){if("string"!=typeof r){if(h){var o=p(r);o&&o!==h&&t(e,o,n)}var s=f(r);d&&(s=s.concat(d(r)));for(var a=c(e),g=c(r),y=0;y<s.length;++y){var v=s[y];if(!(i[v]||n&&n[v]||g&&g[v]||a&&a[v])){var b=l(r,v);try{u(e,v,b)}catch(t){}}}return e}return e}},function(t,e,r){"use strict";e.__esModule=!0,e.default=void 0;var n=function(t){return Boolean(t&&t.prototype&&"function"==typeof t.prototype.render)};e.default=n},function(t,e,r){"use strict";(function(t,n){var o,i=r(46);o="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==t?t:n;var s=Object(i.a)(o);e.a=s}).call(this,r(20),r(51)(t))},function(t,e,r){"use strict";function n(t){for(var r in t)e.hasOwnProperty(r)||(e[r]=t[r])}Object.defineProperty(e,"__esModule",{value:!0}),n(r(33)),n(r(48))},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){t.SOURCE="SOURCE",t.TARGET="TARGET"}(e.HandlerRole||(e.HandlerRole={}))},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){return null===e?null===t:Array.isArray(t)?t.some(t=>t===e):t===e}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.strictEquality=((t,e)=>t===e),e.areCoordsEqual=function(t,e){return!t&&!e||!(!t||!e)&&t.x===e.x&&t.y===e.y},e.areArraysEqual=function(t,r,n=e.strictEquality){if(t.length!==r.length)return!1;for(let e=0;e<t.length;++e)if(!n(t[e],r[e]))return!1;return!0}},function(t,e,r){var n=r(21),o=r(23),i=r(24),s=r(15),a=r(38),c=r(25),u=200;t.exports=function(t,e,r,f){var d=-1,l=o,p=!0,h=t.length,g=[],y=e.length;if(!h)return g;r&&(e=s(e,a(r))),f?(l=i,p=!1):e.length>=u&&(l=c,p=!1,e=new n(e));t:for(;++d<h;){var v=t[d],b=null==r?v:r(v);if(v=f||0!==v?v:0,p&&b==b){for(var m=y;m--;)if(e[m]===b)continue t;g.push(v)}else l(e,b,f)||g.push(v)}return g}},function(t,e,r){var n=r(62),o=r(85),i=r(87),s=r(88),a=r(89);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}c.prototype.clear=n,c.prototype.delete=o,c.prototype.get=i,c.prototype.has=s,c.prototype.set=a,t.exports=c},function(t,e){t.exports=function(t){return function(e){return t(e)}}},function(t,e){t.exports=function(t){return t}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const n=r(107);e.NONE=[],e.ALL=[],e.areDirty=function(t,r){return t!==e.NONE&&(t===e.ALL||void 0===r||n(r,t).length>0)}},function(t,e){t.exports=function(){}},function(t,e){t.exports=function(t){var e=-1,r=Array(t.size);return t.forEach(function(t){r[++e]=t}),r}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const n=r(1),o=r(19),i=r(145),s=r(30).default,a=(r(3),r(0)),c=r(29),u=r(18);e.default=function({DecoratedComponent:t,createHandler:e,createMonitor:r,createConnector:f,registerHandler:d,containerDisplayName:l,getType:p,collect:h,options:g}){const{arePropsEqual:y=u}=g,v=t,b=t.displayName||t.name||"Component";class m extends n.Component{constructor(t){super(t),this.handleChange=(()=>{const t=this.getCurrentState();u(t,this.state)||this.setState(t)}),this.disposable=new i.SerialDisposable,this.receiveProps(t),this.dispose()}getHandlerId(){return this.handlerId}getDecoratedComponentInstance(){return this.handler?this.handler.ref.current:null}shouldComponentUpdate(t,e){return!y(t,this.props)||!u(e,this.state)}componentDidMount(){this.disposable=new i.SerialDisposable,this.currentType=void 0,this.receiveProps(this.props),this.handleChange()}componentDidUpdate(t){y(this.props,t)||(this.receiveProps(this.props),this.handleChange())}componentWillUnmount(){this.dispose()}receiveProps(t){this.handler&&(this.handler.receiveProps(t),this.receiveType(p(t)))}receiveType(t){if(!this.handlerMonitor||!this.manager||!this.handlerConnector)return;if(t===this.currentType)return;this.currentType=t;const{handlerId:e,unregister:r}=d(t,this.handler,this.manager);this.handlerId=e,this.handlerMonitor.receiveHandlerId(e),this.handlerConnector.receiveHandlerId(e);const n=this.manager.getMonitor().subscribeToStateChange(this.handleChange,{handlerIds:[e]});this.disposable.setDisposable(new i.CompositeDisposable(new i.Disposable(n),new i.Disposable(r)))}dispose(){this.disposable.dispose(),this.handlerConnector&&this.handlerConnector.receiveHandlerId(null)}getCurrentState(){return this.handlerConnector?h(this.handlerConnector.hooks,this.handlerMonitor):{}}render(){return n.createElement(o.Consumer,null,({dragDropManager:t})=>void 0===t?null:(this.receiveDragDropManager(t),n.createElement(v,Object.assign({},this.props,this.getCurrentState(),{ref:this.handler&&s(v)?this.handler.ref:void 0}))))}receiveDragDropManager(t){void 0===this.manager&&(this.manager=t,a("object"==typeof t,"Could not find the drag and drop manager in the context of %s. Make sure to wrap the top-level component of your app with DragDropContext. Read more: http://react-dnd.github.io/react-dnd/docs-troubleshooting.html#could-not-find-the-drag-and-drop-manager-in-the-context",b,b),this.handlerMonitor=r(t),this.handlerConnector=f(t.getBackend()),this.handler=e(this.handlerMonitor))}}return m.DecoratedComponent=t,m.displayName=`${l}(${b})`,c(m,t)}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const n=r(1),o=r(153);function i(t){return(e=null,r=null)=>{if(!n.isValidElement(e)){return void t(e,r)}const i=e;!function(t){if("string"==typeof t.type)return;const e=t.type.displayName||t.type.name||"the component";throw new Error("Only native element nodes can now be passed to React DnD connectors."+`You can either wrap ${e} into a <div>, or turn it into a `+"drag source or a drop target itself.")}(i);const s=r?e=>t(e,r):t;return o.default(i,s)}}e.default=function(t){const e={};return Object.keys(t).forEach(r=>{const n=i(t[r]);e[r]=(()=>n)}),e}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function t(e,r){return"string"==typeof e||"symbol"==typeof e||!!r&&Array.isArray(e)&&e.every(e=>t(e,!1))}},function(t,e,r){"use strict";function n(t){var e,r=t.Symbol;return"function"==typeof r?r.observable?e=r.observable:(e=r("observable"),r.observable=e):e="@@observable",e}r.d(e,"a",function(){return n})},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(19);e.DragDropContext=n.DragDropContext,e.DragDropContextProvider=n.DragDropContextProvider,e.DragDropContextProviderProps=n.DragDropContextProviderProps;var o=r(141);e.DragLayer=o.default;var i=r(144);e.DragSource=i.default;var s=r(154);e.DropTarget=s.default,function(t){for(var r in t)e.hasOwnProperty(r)||(e[r]=t[r])}(r(159))},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const n=r(49);e.createDragDropManager=function(t,e,r){return new n.default(t,e,r)}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const n=r(50),o=r(52),i=r(5),s=r(132),a=r(134);e.default=class{constructor(t,e={},r=!1){this.context=e,this.isSetUp=!1,this.handleRefCountChange=(()=>{const t=this.store.getState().refCount>0;t&&!this.isSetUp?(this.backend.setup(),this.isSetUp=!0):!t&&this.isSetUp&&(this.backend.teardown(),this.isSetUp=!1)});const i=function(t){const e="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__;return n.createStore(o.default,t&&e&&e({name:"dnd-core",instanceId:"dnd-core"}))}(r);this.store=i,this.monitor=new s.default(i,new a.default(i)),this.backend=t(this),i.subscribe(this.handleRefCountChange)}getContext(){return this.context}getMonitor(){return this.monitor}getBackend(){return this.backend}getRegistry(){return this.monitor.registry}getActions(){const t=this,{dispatch:e}=this.store,r=i.default(this);return Object.keys(r).reduce((n,o)=>{const i=r[o];return n[o]=function(r){return(...n)=>{const o=r.apply(t,n);void 0!==o&&e(o)}}(i),n},{})}dispatch(t){this.store.dispatch(t)}}},function(t,e,r){"use strict";r.r(e),r.d(e,"createStore",function(){return a}),r.d(e,"combineReducers",function(){return u}),r.d(e,"bindActionCreators",function(){return d}),r.d(e,"applyMiddleware",function(){return h}),r.d(e,"compose",function(){return p}),r.d(e,"__DO_NOT_USE__ActionTypes",function(){return i});var n=r(31),o=function(){return Math.random().toString(36).substring(7).split("").join(".")},i={INIT:"@@redux/INIT"+o(),REPLACE:"@@redux/REPLACE"+o(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+o()}};function s(t){if("object"!=typeof t||null===t)return!1;for(var e=t;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}function a(t,e,r){var o;if("function"==typeof e&&"function"==typeof r||"function"==typeof r&&"function"==typeof arguments[3])throw new Error("It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function");if("function"==typeof e&&void 0===r&&(r=e,e=void 0),void 0!==r){if("function"!=typeof r)throw new Error("Expected the enhancer to be a function.");return r(a)(t,e)}if("function"!=typeof t)throw new Error("Expected the reducer to be a function.");var c=t,u=e,f=[],d=f,l=!1;function p(){d===f&&(d=f.slice())}function h(){if(l)throw new Error("You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");return u}function g(t){if("function"!=typeof t)throw new Error("Expected the listener to be a function.");if(l)throw new Error("You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api-reference/store#subscribe(listener) for more details.");var e=!0;return p(),d.push(t),function(){if(e){if(l)throw new Error("You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api-reference/store#subscribe(listener) for more details.");e=!1,p();var r=d.indexOf(t);d.splice(r,1)}}}function y(t){if(!s(t))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if(void 0===t.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(l)throw new Error("Reducers may not dispatch actions.");try{l=!0,u=c(u,t)}finally{l=!1}for(var e=f=d,r=0;r<e.length;r++){(0,e[r])()}return t}return y({type:i.INIT}),(o={dispatch:y,subscribe:g,getState:h,replaceReducer:function(t){if("function"!=typeof t)throw new Error("Expected the nextReducer to be a function.");c=t,y({type:i.REPLACE})}})[n.a]=function(){var t,e=g;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new TypeError("Expected the observer to be an object.");function r(){t.next&&t.next(h())}return r(),{unsubscribe:e(r)}}})[n.a]=function(){return this},t},o}function c(t,e){var r=e&&e.type;return"Given "+(r&&'action "'+String(r)+'"'||"an action")+', reducer "'+t+'" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.'}function u(t){for(var e=Object.keys(t),r={},n=0;n<e.length;n++){var o=e[n];0,"function"==typeof t[o]&&(r[o]=t[o])}var s,a=Object.keys(r);try{!function(t){Object.keys(t).forEach(function(e){var r=t[e];if(void 0===r(void 0,{type:i.INIT}))throw new Error('Reducer "'+e+"\" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.");if(void 0===r(void 0,{type:i.PROBE_UNKNOWN_ACTION()}))throw new Error('Reducer "'+e+"\" returned undefined when probed with a random type. Don't try to handle "+i.INIT+' or other actions in "redux/*" namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.')})}(r)}catch(t){s=t}return function(t,e){if(void 0===t&&(t={}),s)throw s;for(var n=!1,o={},i=0;i<a.length;i++){var u=a[i],f=r[u],d=t[u],l=f(d,e);if(void 0===l){var p=c(u,e);throw new Error(p)}o[u]=l,n=n||l!==d}return n?o:t}}function f(t,e){return function(){return e(t.apply(this,arguments))}}function d(t,e){if("function"==typeof t)return f(t,e);if("object"!=typeof t||null===t)throw new Error("bindActionCreators expected an object or a function, instead received "+(null===t?"null":typeof t)+'. Did you write "import ActionCreators from" instead of "import * as ActionCreators from"?');for(var r=Object.keys(t),n={},o=0;o<r.length;o++){var i=r[o],s=t[i];"function"==typeof s&&(n[i]=f(s,e))}return n}function l(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function p(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return 0===e.length?function(t){return t}:1===e.length?e[0]:e.reduce(function(t,e){return function(){return t(e.apply(void 0,arguments))}})}function h(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return function(t){return function(){var r=t.apply(void 0,arguments),n=function(){throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},o={getState:r.getState,dispatch:function(){return n.apply(void 0,arguments)}},i=e.map(function(t){return t(o)});return function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable}))),n.forEach(function(e){l(t,e,r[e])})}return t}({},r,{dispatch:n=p.apply(void 0,i)(r.dispatch)})}}}},function(t,e){t.exports=function(t){if(!t.webpackPolyfill){var e=Object.create(t);e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),Object.defineProperty(e,"exports",{enumerable:!0}),e.webpackPolyfill=1}return e}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const n=r(53),o=r(60),i=r(105),s=r(106),a=r(121),c=r(122);e.default=function(t={},e){return{dirtyHandlerIds:s.default(t.dirtyHandlerIds,{type:e.type,payload:Object.assign({},e.payload,{prevTargetIds:c(t,"dragOperation.targetIds",[])})}),dragOffset:n.default(t.dragOffset,e),refCount:i.default(t.refCount,e),dragOperation:o.default(t.dragOperation,e),stateId:a.default(t.stateId)}}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const n=r(5),o=r(35),i={initialSourceClientOffset:null,initialClientOffset:null,clientOffset:null};e.default=function(t=i,e){const{payload:r}=e;switch(e.type){case n.INIT_COORDS:case n.BEGIN_DRAG:return{initialSourceClientOffset:r.sourceClientOffset,initialClientOffset:r.clientOffset,clientOffset:r.clientOffset};case n.HOVER:return o.areCoordsEqual(t.clientOffset,r.clientOffset)?t:Object.assign({},t,{clientOffset:r.clientOffset});case n.END_DRAG:case n.DROP:return i;default:return t}}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const n=r(55),o=r(0),i=r(6),s=r(2),a={type:s.INIT_COORDS,payload:{clientOffset:null,sourceClientOffset:null}};e.default=function(t){return function(e=[],r={publishSource:!0}){const{publishSource:c=!0,clientOffset:u,getSourceClientOffset:f}=r,d=t.getMonitor(),l=t.getRegistry();t.dispatch(n.setClientOffset(u)),function(t,e,r){o(!e.isDragging(),"Cannot call beginDrag while dragging.");for(const e of t)o(r.getSource(e),"Expected sourceIds to be registered.")}(e,d,l);const p=function(t,e){let r=null;for(let n=t.length-1;n>=0;n--)if(e.canDragSource(t[n])){r=t[n];break}return r}(e,d);if(null===p)return void t.dispatch(a);let h=null;u&&(function(t){o("function"==typeof t,"When clientOffset is provided, getSourceClientOffset must be a function.")}(f),h=f(p)),t.dispatch(n.setClientOffset(u,h));const g=l.getSource(p).beginDrag(d,p);!function(t){o(i(t),"Item must be an object.")}(g),l.pinSource(p);const y=l.getSourceType(p);return{type:s.BEGIN_DRAG,payload:{itemType:y,item:g,sourceId:p,clientOffset:u||null,sourceClientOffset:h||null,isSourcePublic:!!c}}}}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const n=r(2);e.setClientOffset=function(t,e){return{type:n.INIT_COORDS,payload:{sourceClientOffset:e||null,clientOffset:t||null}}}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const n=r(2);e.default=function(t){return function(){if(t.getMonitor().isDragging())return{type:n.PUBLISH_DRAG_SOURCE}}}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const n=r(34),o=r(2),i=r(0);e.default=function(t){return function(e,{clientOffset:r}={}){!function(t){i(Array.isArray(t),"Expected targetIds to be an array.")}(e);const s=e.slice(0),a=t.getMonitor(),c=t.getRegistry();return function(t,e,r){i(e.isDragging(),"Cannot call hover while not dragging."),i(!e.didDrop(),"Cannot call hover after drop.");for(let e=0;e<t.length;e++){const n=t[e];i(t.lastIndexOf(n)===e,"Expected targetIds to be unique in the passed array.");const o=r.getTarget(n);i(o,"Expected targetIds to be registered.")}}(s,a,c),function(t,e,r){for(let o=t.length-1;o>=0;o--){const i=t[o],s=e.getTargetType(i);n.default(s,r)||t.splice(o,1)}}(s,c,a.getItemType()),function(t,e,r){for(const n of t){const t=r.getTarget(n);t.hover(e,n)}}(s,a,c),{type:o.HOVER,payload:{targetIds:s,clientOffset:r||null}}}}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const n=r(2),o=r(0),i=r(6);e.default=function(t){return function(e={}){const r=t.getMonitor(),s=t.getRegistry();!function(t){o(t.isDragging(),"Cannot call drop while not dragging."),o(!t.didDrop(),"Cannot call drop twice during one drag operation.")}(r),function(t){const e=t.getTargetIds().filter(t.canDropOnTarget,t);return e.reverse(),e}(r).forEach((a,c)=>{const u=function(t,e,r,n){let s=r.getTarget(t).drop(n,t);return function(t){o(void 0===t||i(t),"Drop result must either be an object or undefined.")}(s),void 0===s&&(s=0===e?{}:n.getDropResult()),s}(a,c,s,r),f={type:n.DROP,payload:{dropResult:Object.assign({},e,u)}};t.dispatch(f)})}}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const n=r(2),o=r(0);e.default=function(t){return function(){const e=t.getMonitor(),r=t.getRegistry();!function(t){o(t.isDragging(),"Cannot call endDrag while not dragging.")}(e);const i=e.getSourceId();return r.getSource(i,!0).endDrag(e,i),r.unpinSource(),{type:n.END_DRAG}}}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const n=r(5),o=r(7),i=r(61),s={itemType:null,item:null,sourceId:null,targetIds:[],dropResult:null,didDrop:!1,isSourcePublic:null};e.default=function(t=s,e){const{payload:r}=e;switch(e.type){case n.BEGIN_DRAG:return Object.assign({},t,{itemType:r.itemType,item:r.item,sourceId:r.sourceId,isSourcePublic:r.isSourcePublic,dropResult:null,didDrop:!1});case n.PUBLISH_DRAG_SOURCE:return Object.assign({},t,{isSourcePublic:!0});case n.HOVER:return Object.assign({},t,{targetIds:r.targetIds});case o.REMOVE_TARGET:return-1===t.targetIds.indexOf(r.targetId)?t:Object.assign({},t,{targetIds:i(t.targetIds,r.targetId)});case n.DROP:return Object.assign({},t,{dropResult:r.dropResult,didDrop:!0,targetIds:[]});case n.END_DRAG:return Object.assign({},t,{itemType:null,item:null,sourceId:null,dropResult:null,didDrop:!1,isSourcePublic:null,targetIds:[]});default:return t}}},function(t,e,r){var n=r(36),o=r(26),i=r(27),s=o(function(t,e){return i(t)?n(t,e):[]});t.exports=s},function(t,e,r){var n=r(63),o=r(77),i=r(84);t.exports=function(){this.size=0,this.__data__={hash:new n,map:new(i||o),string:new n}}},function(t,e,r){var n=r(64),o=r(73),i=r(74),s=r(75),a=r(76);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}c.prototype.clear=n,c.prototype.delete=o,c.prototype.get=i,c.prototype.has=s,c.prototype.set=a,t.exports=c},function(t,e,r){var n=r(8);t.exports=function(){this.__data__=n?n(null):{},this.size=0}},function(t,e,r){var n=r(22),o=r(69),i=r(6),s=r(71),a=/^\[object .+?Constructor\]$/,c=Function.prototype,u=Object.prototype,f=c.toString,d=u.hasOwnProperty,l=RegExp("^"+f.call(d).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!i(t)||o(t))&&(n(t)?l:a).test(s(t))}},function(t,e,r){(function(e){var r="object"==typeof e&&e&&e.Object===Object&&e;t.exports=r}).call(this,r(20))},function(t,e,r){var n=r(11),o=Object.prototype,i=o.hasOwnProperty,s=o.toString,a=n?n.toStringTag:void 0;t.exports=function(t){var e=i.call(t,a),r=t[a];try{t[a]=void 0;var n=!0}catch(t){}var o=s.call(t);return n&&(e?t[a]=r:delete t[a]),o}},function(t,e){var r=Object.prototype.toString;t.exports=function(t){return r.call(t)}},function(t,e,r){var n,o=r(70),i=(n=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";t.exports=function(t){return!!i&&i in t}},function(t,e,r){var n=r(12)["__core-js_shared__"];t.exports=n},function(t,e){var r=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return r.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},function(t,e){t.exports=function(t,e){return null==t?void 0:t[e]}},function(t,e){t.exports=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}},function(t,e,r){var n=r(8),o="__lodash_hash_undefined__",i=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;if(n){var r=e[t];return r===o?void 0:r}return i.call(e,t)?e[t]:void 0}},function(t,e,r){var n=r(8),o=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;return n?void 0!==e[t]:o.call(e,t)}},function(t,e,r){var n=r(8),o="__lodash_hash_undefined__";t.exports=function(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=n&&void 0===e?o:e,this}},function(t,e,r){var n=r(78),o=r(79),i=r(81),s=r(82),a=r(83);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}c.prototype.clear=n,c.prototype.delete=o,c.prototype.get=i,c.prototype.has=s,c.prototype.set=a,t.exports=c},function(t,e){t.exports=function(){this.__data__=[],this.size=0}},function(t,e,r){var n=r(13),o=Array.prototype.splice;t.exports=function(t){var e=this.__data__,r=n(e,t);return!(r<0||(r==e.length-1?e.pop():o.call(e,r,1),--this.size,0))}},function(t,e){t.exports=function(t,e){return t===e||t!=t&&e!=e}},function(t,e,r){var n=r(13);t.exports=function(t){var e=this.__data__,r=n(e,t);return r<0?void 0:e[r][1]}},function(t,e,r){var n=r(13);t.exports=function(t){return n(this.__data__,t)>-1}},function(t,e,r){var n=r(13);t.exports=function(t,e){var r=this.__data__,o=n(r,t);return o<0?(++this.size,r.push([t,e])):r[o][1]=e,this}},function(t,e,r){var n=r(9)(r(12),"Map");t.exports=n},function(t,e,r){var n=r(14);t.exports=function(t){var e=n(this,t).delete(t);return this.size-=e?1:0,e}},function(t,e){t.exports=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}},function(t,e,r){var n=r(14);t.exports=function(t){return n(this,t).get(t)}},function(t,e,r){var n=r(14);t.exports=function(t){return n(this,t).has(t)}},function(t,e,r){var n=r(14);t.exports=function(t,e){var r=n(this,t),o=r.size;return r.set(t,e),this.size+=r.size==o?0:1,this}},function(t,e){var r="__lodash_hash_undefined__";t.exports=function(t){return this.__data__.set(t,r),this}},function(t,e){t.exports=function(t){return this.__data__.has(t)}},function(t,e,r){var n=r(93),o=r(94),i=r(95);t.exports=function(t,e,r){return e==e?i(t,e,r):n(t,o,r)}},function(t,e){t.exports=function(t,e,r,n){for(var o=t.length,i=r+(n?1:-1);n?i--:++i<o;)if(e(t[i],i,t))return i;return-1}},function(t,e){t.exports=function(t){return t!=t}},function(t,e){t.exports=function(t,e,r){for(var n=r-1,o=t.length;++n<o;)if(t[n]===e)return n;return-1}},function(t,e,r){var n=r(97),o=Math.max;t.exports=function(t,e,r){return e=o(void 0===e?t.length-1:e,0),function(){for(var i=arguments,s=-1,a=o(i.length-e,0),c=Array(a);++s<a;)c[s]=i[e+s];s=-1;for(var u=Array(e+1);++s<e;)u[s]=i[s];return u[e]=r(c),n(t,this,u)}}},function(t,e){t.exports=function(t,e,r){switch(r.length){case 0:return t.call(e);case 1:return t.call(e,r[0]);case 2:return t.call(e,r[0],r[1]);case 3:return t.call(e,r[0],r[1],r[2])}return t.apply(e,r)}},function(t,e,r){var n=r(99),o=r(102)(n);t.exports=o},function(t,e,r){var n=r(100),o=r(101),i=r(39),s=o?function(t,e){return o(t,"toString",{configurable:!0,enumerable:!1,value:n(e),writable:!0})}:i;t.exports=s},function(t,e){t.exports=function(t){return function(){return t}}},function(t,e,r){var n=r(9),o=function(){try{var t=n(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=o},function(t,e){var r=800,n=16,o=Date.now;t.exports=function(t){var e=0,i=0;return function(){var s=o(),a=n-(s-i);if(i=s,a>0){if(++e>=r)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}},function(t,e,r){var n=r(22),o=r(104);t.exports=function(t){return null!=t&&o(t.length)&&!n(t)}},function(t,e){var r=9007199254740991;t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=r}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const n=r(7);e.default=function(t=0,e){switch(e.type){case n.ADD_SOURCE:case n.ADD_TARGET:return t+1;case n.REMOVE_SOURCE:case n.REMOVE_TARGET:return t-1;default:return t}}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const n=r(5),o=r(7),i=r(35),s=r(40),a=r(110);e.default=function(t=s.NONE,e){switch(e.type){case n.HOVER:break;case o.ADD_SOURCE:case o.ADD_TARGET:case o.REMOVE_TARGET:case o.REMOVE_SOURCE:return s.NONE;case n.BEGIN_DRAG:case n.PUBLISH_DRAG_SOURCE:case n.END_DRAG:case n.DROP:default:return s.ALL}const{targetIds:r=[],prevTargetIds:c=[]}=e.payload,u=a(r,c);if(!(u.length>0)&&i.areArraysEqual(r,c))return s.NONE;const f=c[c.length-1],d=r[r.length-1];return f!==d&&(f&&u.push(f),d&&u.push(d)),u}},function(t,e,r){var n=r(15),o=r(108),i=r(26),s=r(109),a=i(function(t){var e=n(t,s);return e.length&&e[0]===t[0]?o(e):[]});t.exports=a},function(t,e,r){var n=r(21),o=r(23),i=r(24),s=r(15),a=r(38),c=r(25),u=Math.min;t.exports=function(t,e,r){for(var f=r?i:o,d=t[0].length,l=t.length,p=l,h=Array(l),g=1/0,y=[];p--;){var v=t[p];p&&e&&(v=s(v,a(e))),g=u(v.length,g),h[p]=!r&&(e||d>=120&&v.length>=120)?new n(p&&v):void 0}v=t[0];var b=-1,m=h[0];t:for(;++b<d&&y.length<g;){var O=v[b],D=e?e(O):O;if(O=r||0!==O?O:0,!(m?c(m,D):f(y,D,r))){for(p=l;--p;){var _=h[p];if(!(_?c(_,D):f(t[p],D,r)))continue t}m&&m.push(D),y.push(O)}}return y}},function(t,e,r){var n=r(27);t.exports=function(t){return n(t)?t:[]}},function(t,e,r){var n=r(111),o=r(26),i=r(112),s=r(27),a=o(function(t){return i(n(t,s))});t.exports=a},function(t,e){t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length,o=0,i=[];++r<n;){var s=t[r];e(s,r,t)&&(i[o++]=s)}return i}},function(t,e,r){var n=r(36),o=r(113),i=r(118);t.exports=function(t,e,r){var s=t.length;if(s<2)return s?i(t[0]):[];for(var a=-1,c=Array(s);++a<s;)for(var u=t[a],f=-1;++f<s;)f!=a&&(c[a]=n(c[a]||u,t[f],e,r));return i(o(c,1),e,r)}},function(t,e,r){var n=r(114),o=r(115);t.exports=function t(e,r,i,s,a){var c=-1,u=e.length;for(i||(i=o),a||(a=[]);++c<u;){var f=e[c];r>0&&i(f)?r>1?t(f,r-1,i,s,a):n(a,f):s||(a[a.length]=f)}return a}},function(t,e){t.exports=function(t,e){for(var r=-1,n=e.length,o=t.length;++r<n;)t[o+r]=e[r];return t}},function(t,e,r){var n=r(11),o=r(116),i=r(16),s=n?n.isConcatSpreadable:void 0;t.exports=function(t){return i(t)||o(t)||!!(s&&t&&t[s])}},function(t,e,r){var n=r(117),o=r(4),i=Object.prototype,s=i.hasOwnProperty,a=i.propertyIsEnumerable,c=n(function(){return arguments}())?n:function(t){return o(t)&&s.call(t,"callee")&&!a.call(t,"callee")};t.exports=c},function(t,e,r){var n=r(10),o=r(4),i="[object Arguments]";t.exports=function(t){return o(t)&&n(t)==i}},function(t,e,r){var n=r(21),o=r(23),i=r(24),s=r(25),a=r(119),c=r(42),u=200;t.exports=function(t,e,r){var f=-1,d=o,l=t.length,p=!0,h=[],g=h;if(r)p=!1,d=i;else if(l>=u){var y=e?null:a(t);if(y)return c(y);p=!1,d=s,g=new n}else g=e?[]:h;t:for(;++f<l;){var v=t[f],b=e?e(v):v;if(v=r||0!==v?v:0,p&&b==b){for(var m=g.length;m--;)if(g[m]===b)continue t;e&&g.push(b),h.push(v)}else d(g,b,r)||(g!==h&&g.push(b),h.push(v))}return h}},function(t,e,r){var n=r(120),o=r(41),i=r(42),s=n&&1/i(new n([,-0]))[1]==1/0?function(t){return new n(t)}:o;t.exports=s},function(t,e,r){var n=r(9)(r(12),"Set");t.exports=n},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t=0){return t+1}},function(t,e,r){var n=r(123);t.exports=function(t,e,r){var o=null==t?void 0:n(t,e);return void 0===o?r:o}},function(t,e,r){var n=r(124),o=r(131);t.exports=function(t,e){for(var r=0,i=(e=n(e,t)).length;null!=t&&r<i;)t=t[o(e[r++])];return r&&r==i?t:void 0}},function(t,e,r){var n=r(16),o=r(125),i=r(126),s=r(129);t.exports=function(t,e){return n(t)?t:o(t,e)?[t]:i(s(t))}},function(t,e,r){var n=r(16),o=r(28),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,s=/^\w*$/;t.exports=function(t,e){if(n(t))return!1;var r=typeof t;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=t&&!o(t))||s.test(t)||!i.test(t)||null!=e&&t in Object(e)}},function(t,e,r){var n=r(127),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,s=n(function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(o,function(t,r,n,o){e.push(n?o.replace(i,"$1"):r||t)}),e});t.exports=s},function(t,e,r){var n=r(128),o=500;t.exports=function(t){var e=n(t,function(t){return r.size===o&&r.clear(),t}),r=e.cache;return e}},function(t,e,r){var n=r(37),o="Expected a function";function i(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError(o);var r=function(){var n=arguments,o=e?e.apply(this,n):n[0],i=r.cache;if(i.has(o))return i.get(o);var s=t.apply(this,n);return r.cache=i.set(o,s)||i,s};return r.cache=new(i.Cache||n),r}i.Cache=n,t.exports=i},function(t,e,r){var n=r(130);t.exports=function(t){return null==t?"":n(t)}},function(t,e,r){var n=r(11),o=r(15),i=r(16),s=r(28),a=1/0,c=n?n.prototype:void 0,u=c?c.toString:void 0;t.exports=function t(e){if("string"==typeof e)return e;if(i(e))return o(e,t)+"";if(s(e))return u?u.call(e):"";var r=e+"";return"0"==r&&1/e==-a?"-0":r}},function(t,e,r){var n=r(28),o=1/0;t.exports=function(t){if("string"==typeof t||n(t))return t;var e=t+"";return"0"==e&&1/t==-o?"-0":e}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const n=r(34),o=r(133),i=r(40),s=r(0);e.default=class{constructor(t,e){this.store=t,this.registry=e}subscribeToStateChange(t,e={handlerIds:void 0}){const{handlerIds:r}=e;s("function"==typeof t,"listener must be a function."),s(void 0===r||Array.isArray(r),"handlerIds, when specified, must be an array of strings.");let n=this.store.getState().stateId;return this.store.subscribe(()=>{const e=this.store.getState(),o=e.stateId;try{o===n||o===n+1&&!i.areDirty(e.dirtyHandlerIds,r)||t()}finally{n=o}})}subscribeToOffsetChange(t){s("function"==typeof t,"listener must be a function.");let e=this.store.getState().dragOffset;return this.store.subscribe(()=>{const r=this.store.getState().dragOffset;r!==e&&(e=r,t())})}canDragSource(t){const e=this.registry.getSource(t);return s(e,"Expected to find a valid source."),!this.isDragging()&&e.canDrag(this,t)}canDropOnTarget(t){if(!t)return!1;const e=this.registry.getTarget(t);if(s(e,"Expected to find a valid target."),!this.isDragging()||this.didDrop())return!1;const r=this.registry.getTargetType(t),o=this.getItemType();return n.default(r,o)&&e.canDrop(this,t)}isDragging(){return Boolean(this.getItemType())}isDraggingSource(t){if(!t)return!1;const e=this.registry.getSource(t,!0);return s(e,"Expected to find a valid source."),!(!this.isDragging()||!this.isSourcePublic())&&this.registry.getSourceType(t)===this.getItemType()&&e.isDragging(this,t)}isOverTarget(t,e={shallow:!1}){const{shallow:r}=e;if(!this.isDragging())return!1;const o=this.registry.getTargetType(t),i=this.getItemType();if(i&&!n.default(o,i))return!1;const s=this.getTargetIds();if(!s.length)return!1;const a=s.indexOf(t);return r?a===s.length-1:a>-1}getItemType(){return this.store.getState().dragOperation.itemType}getItem(){return this.store.getState().dragOperation.item}getSourceId(){return this.store.getState().dragOperation.sourceId}getTargetIds(){return this.store.getState().dragOperation.targetIds}getDropResult(){return this.store.getState().dragOperation.dropResult}didDrop(){return this.store.getState().dragOperation.didDrop}isSourcePublic(){return this.store.getState().dragOperation.isSourcePublic}getInitialClientOffset(){return this.store.getState().dragOffset.initialClientOffset}getInitialSourceClientOffset(){return this.store.getState().dragOffset.initialSourceClientOffset}getClientOffset(){return this.store.getState().dragOffset.clientOffset}getSourceClientOffset(){return o.getSourceClientOffset(this.store.getState().dragOffset)}getDifferenceFromInitialOffset(){return o.getDifferenceFromInitialOffset(this.store.getState().dragOffset)}}},function(t,e,r){"use strict";function n(t,e){return{x:t.x+e.x,y:t.y+e.y}}function o(t,e){return{x:t.x-e.x,y:t.y-e.y}}Object.defineProperty(e,"__esModule",{value:!0}),e.add=n,e.subtract=o,e.getSourceClientOffset=function(t){const{clientOffset:e,initialClientOffset:r,initialSourceClientOffset:i}=t;return e&&r&&i?o(n(e,i),r):null},e.getDifferenceFromInitialOffset=function(t){const{clientOffset:e,initialClientOffset:r}=t;return e&&r?o(e,r):null}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const n=r(7),o=r(135),i=r(33),s=r(136),a=r(0),c=r(137);function u(t){switch(t[0]){case"S":return i.HandlerRole.SOURCE;case"T":return i.HandlerRole.TARGET;default:a(!1,`Cannot parse handler ID: ${t}`)}}function f(t,e){const r=t.entries();let n=!1;do{const{done:t,value:[,o]}=r.next();if(o===e)return!0;n=t}while(!n);return!1}e.default=class{constructor(t){this.store=t,this.types=new Map,this.dragSources=new Map,this.dropTargets=new Map,this.pinnedSourceId=null,this.pinnedSource=null}addSource(t,e){s.validateType(t),s.validateSourceContract(e);const r=this.addHandler(i.HandlerRole.SOURCE,t,e);return this.store.dispatch(n.addSource(r)),r}addTarget(t,e){s.validateType(t,!0),s.validateTargetContract(e);const r=this.addHandler(i.HandlerRole.TARGET,t,e);return this.store.dispatch(n.addTarget(r)),r}containsHandler(t){return f(this.dragSources,t)||f(this.dropTargets,t)}getSource(t,e=!1){return a(this.isSourceId(t),"Expected a valid source ID."),e&&t===this.pinnedSourceId?this.pinnedSource:this.dragSources.get(t)}getTarget(t){return a(this.isTargetId(t),"Expected a valid target ID."),this.dropTargets.get(t)}getSourceType(t){return a(this.isSourceId(t),"Expected a valid source ID."),this.types.get(t)}getTargetType(t){return a(this.isTargetId(t),"Expected a valid target ID."),this.types.get(t)}isSourceId(t){return u(t)===i.HandlerRole.SOURCE}isTargetId(t){return u(t)===i.HandlerRole.TARGET}removeSource(t){a(this.getSource(t),"Expected an existing source."),this.store.dispatch(n.removeSource(t)),c(()=>{this.dragSources.delete(t),this.types.delete(t)})}removeTarget(t){a(this.getTarget(t),"Expected an existing target."),this.store.dispatch(n.removeTarget(t)),this.dropTargets.delete(t),this.types.delete(t)}pinSource(t){const e=this.getSource(t);a(e,"Expected an existing source."),this.pinnedSourceId=t,this.pinnedSource=e}unpinSource(){a(this.pinnedSource,"No source is pinned at the time."),this.pinnedSourceId=null,this.pinnedSource=null}addHandler(t,e,r){const n=function(t){const e=o.default().toString();switch(t){case i.HandlerRole.SOURCE:return`S${e}`;case i.HandlerRole.TARGET:return`T${e}`;default:throw new Error(`Unknown Handler Role: ${t}`)}}(t);return this.types.set(n,e),t===i.HandlerRole.SOURCE?this.dragSources.set(n,r):t===i.HandlerRole.TARGET&&this.dropTargets.set(n,r),n}}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});let n=0;e.default=function(){return n++}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const n=r(0);e.validateSourceContract=function(t){n("function"==typeof t.canDrag,"Expected canDrag to be a function."),n("function"==typeof t.beginDrag,"Expected beginDrag to be a function."),n("function"==typeof t.endDrag,"Expected endDrag to be a function.")},e.validateTargetContract=function(t){n("function"==typeof t.canDrop,"Expected canDrop to be a function."),n("function"==typeof t.hover,"Expected hover to be a function."),n("function"==typeof t.drop,"Expected beginDrag to be a function.")},e.validateType=function t(e,r){r&&Array.isArray(e)?e.forEach(e=>t(e,!1)):n("string"==typeof e||"symbol"==typeof e,r?"Type can only be a string, a symbol, or an array of either.":"Type can only be a string or a symbol.")}},function(t,e,r){"use strict";var n=r(138),o=[],i=[],s=n.makeRequestCallFromTimer(function(){if(i.length)throw i.shift()});function a(t){var e;(e=o.length?o.pop():new c).task=t,n(e)}function c(){this.task=null}t.exports=a,c.prototype.call=function(){try{this.task.call()}catch(t){a.onerror?a.onerror(t):(i.push(t),s())}finally{this.task=null,o[o.length]=this}}},function(t,e,r){"use strict";(function(e){function r(t){o.length||(n(),!0),o[o.length]=t}t.exports=r;var n,o=[],i=0,s=1024;function a(){for(;i<o.length;){var t=i;if(i+=1,o[t].call(),i>s){for(var e=0,r=o.length-i;e<r;e++)o[e]=o[e+i];o.length-=i,i=0}}o.length=0,i=0,!1}var c,u,f,d=void 0!==e?e:self,l=d.MutationObserver||d.WebKitMutationObserver;function p(t){return function(){var e=setTimeout(n,0),r=setInterval(n,50);function n(){clearTimeout(e),clearInterval(r),t()}}}"function"==typeof l?(c=1,u=new l(a),f=document.createTextNode(""),u.observe(f,{characterData:!0}),n=function(){c=-c,f.data=c}):n=p(a),r.requestFlush=n,r.makeRequestCallFromTimer=p}).call(this,r(20))},function(t,e,r){"use strict";t.exports=r(140)},function(t,e,r){"use strict";
+!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("react")):"function"==typeof define&&define.amd?define(["react"],e):"object"==typeof exports?exports.ReactDnD=e(require("react")):t.ReactDnD=e(t.React)}(window,function(t){return function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=54)}([function(t,e,r){"use strict";t.exports=function(t,e,r,n,o,i,a,u){if(!t){var c;if(void 0===e)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var s=[r,n,o,i,a,u],f=0;(c=new Error(e.replace(/%s/g,function(){return s[f++]}))).name="Invariant Violation"}throw c.framesToPop=1,c}}},function(e,r){e.exports=t},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.INIT_COORDS="dnd-core/INIT_COORDS",e.BEGIN_DRAG="dnd-core/BEGIN_DRAG",e.PUBLISH_DRAG_SOURCE="dnd-core/PUBLISH_DRAG_SOURCE",e.HOVER="dnd-core/HOVER",e.DROP="dnd-core/DROP",e.END_DRAG="dnd-core/END_DRAG"},function(t,e,r){var n=r(12),o=r(149),i=r(4),a="[object Object]",u=Function.prototype,c=Object.prototype,s=u.toString,f=c.hasOwnProperty,p=s.call(Object);t.exports=function(t){if(!i(t)||n(t)!=a)return!1;var e=o(t);if(null===e)return!0;var r=f.call(e,"constructor")&&e.constructor;return"function"==typeof r&&r instanceof r&&s.call(r)==p}},function(t,e){t.exports=function(t){return null!=t&&"object"==typeof t}},function(t,e){t.exports=function(t,e,r,n){var o=r?r.call(n,t,e):void 0;if(void 0!==o)return!!o;if(t===e)return!0;if("object"!=typeof t||!t||"object"!=typeof e||!e)return!1;var i=Object.keys(t),a=Object.keys(e);if(i.length!==a.length)return!1;for(var u=Object.prototype.hasOwnProperty.bind(e),c=0;c<i.length;c++){var s=i[c];if(!u(s))return!1;var f=t[s],p=e[s];if(!1===(o=r?r.call(n,f,p,s):void 0)||void 0===o&&f!==p)return!1}return!0}},function(t,e,r){"use strict";var n,o=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),i=this&&this.__assign||function(){return(i=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0});var a=r(1),u=r(33),c=r(19),s=r(0),f=r(29),p=r(30).default;function d(t,e,r){return{dragDropManager:u.createDragDropManager(t,e,r)}}e.context=a.createContext({dragDropManager:void 0}),e.Consumer=e.context.Consumer,e.Provider=e.context.Provider,e.createChildContext=d,e.DragDropContextProvider=function(t){var r=t.backend,n=t.context,o=t.debugMode,i=t.children,u=d(r,n,o);return a.useEffect(function(){return function(){return u.dragDropManager.dispatch({type:"DragDropContextProvider::Exiting"})}}),a.createElement(e.Provider,{value:u},i)},e.DragDropContext=function(t,r,n){c.default("DragDropContext","backend",t);var u=d(t,r,n);return function(t){var r=t,n=r.displayName||r.name||"Component",c=function(c){function f(){var t=null!==c&&c.apply(this,arguments)||this;return t.ref=a.createRef(),t.getManager=function(){return u.dragDropManager},t}return o(f,c),f.prototype.getDecoratedComponentInstance=function(){return s(this.ref.current,"In order to access an instance of the decorated component it can not be a stateless component."),this.ref.current},f.prototype.render=function(){return a.createElement(e.Provider,{value:u},a.createElement(r,i({},this.props,{ref:p(r)?this.ref:void 0})))},f.DecoratedComponent=t,f.displayName="DragDropContext("+n+")",f}(a.Component);return f(c,t)}}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(61),o=r(63),i=r(64),a=r(65),u=r(66);!function(t){for(var r in t)e.hasOwnProperty(r)||(e[r]=t[r])}(r(2)),e.default=function(t){return{beginDrag:n.default(t),publishDragSource:o.default(t),hover:i.default(t),drop:a.default(t),endDrag:u.default(t)}}},function(t,e){t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ADD_SOURCE="dnd-core/ADD_SOURCE",e.ADD_TARGET="dnd-core/ADD_TARGET",e.REMOVE_SOURCE="dnd-core/REMOVE_SOURCE",e.REMOVE_TARGET="dnd-core/REMOVE_TARGET",e.addSource=function(t){return{type:e.ADD_SOURCE,payload:{sourceId:t}}},e.addTarget=function(t){return{type:e.ADD_TARGET,payload:{targetId:t}}},e.removeSource=function(t){return{type:e.REMOVE_SOURCE,payload:{sourceId:t}}},e.removeTarget=function(t){return{type:e.REMOVE_TARGET,payload:{targetId:t}}}},function(t,e,r){var n=r(11)(Object,"create");t.exports=n},function(t,e,r){var n=r(72),o=r(79);t.exports=function(t,e){var r=o(t,e);return n(r)?r:void 0}},function(t,e,r){var n=r(13),o=r(74),i=r(75),a="[object Null]",u="[object Undefined]",c=n?n.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?u:a:c&&c in Object(t)?o(t):i(t)}},function(t,e,r){var n=r(14).Symbol;t.exports=n},function(t,e,r){var n=r(73),o="object"==typeof self&&self&&self.Object===Object&&self,i=n||o||Function("return this")();t.exports=i},function(t,e,r){var n=r(87);t.exports=function(t,e){for(var r=t.length;r--;)if(n(t[r][0],e))return r;return-1}},function(t,e,r){var n=r(93);t.exports=function(t,e){var r=t.__data__;return n(e)?r["string"==typeof e?"string":"hash"]:r.map}},function(t,e){t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length,o=Array(n);++r<n;)o[r]=e(t[r],r,t);return o}},function(t,e){var r=Array.isArray;t.exports=r},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n]}},function(t,e){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(t){"object"==typeof window&&(r=window)}t.exports=r},function(t,e,r){var n=r(38),o=r(97),i=r(98);function a(t){var e=-1,r=null==t?0:t.length;for(this.__data__=new n;++e<r;)this.add(t[e])}a.prototype.add=a.prototype.push=o,a.prototype.has=i,t.exports=a},function(t,e,r){var n=r(12),o=r(8),i="[object AsyncFunction]",a="[object Function]",u="[object GeneratorFunction]",c="[object Proxy]";t.exports=function(t){if(!o(t))return!1;var e=n(t);return e==a||e==u||e==i||e==c}},function(t,e,r){var n=r(99);t.exports=function(t,e){return!(null==t||!t.length)&&n(t,e,0)>-1}},function(t,e){t.exports=function(t,e,r){for(var n=-1,o=null==t?0:t.length;++n<o;)if(r(e,t[n]))return!0;return!1}},function(t,e){t.exports=function(t,e){return t.has(e)}},function(t,e,r){var n=r(40),o=r(103),i=r(105);t.exports=function(t,e){return i(o(t,e,n),t+"")}},function(t,e,r){var n=r(110),o=r(4);t.exports=function(t){return o(t)&&n(t)}},function(t,e,r){var n=r(12),o=r(4),i="[object Symbol]";t.exports=function(t){return"symbol"==typeof t||o(t)&&n(t)==i}},function(t,e,r){"use strict";var n=r(146),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},u={};function c(t){return n.isMemo(t)?a:u[t.$$typeof]||o}u[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0};var s=Object.defineProperty,f=Object.getOwnPropertyNames,p=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,l=Object.getPrototypeOf,h=Object.prototype;t.exports=function t(e,r,n){if("string"!=typeof r){if(h){var o=l(r);o&&o!==h&&t(e,o,n)}var a=f(r);p&&(a=a.concat(p(r)));for(var u=c(e),g=c(r),v=0;v<a.length;++v){var y=a[v];if(!(i[y]||n&&n[y]||g&&g[y]||u&&u[y])){var b=d(r,y);try{s(e,y,b)}catch(t){}}}return e}return e}},function(t,e,r){"use strict";e.__esModule=!0,e.default=void 0;var n=function(t){return Boolean(t&&t.prototype&&"function"==typeof t.prototype.render)};e.default=n},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(1),o=r(6),i=r(0);e.useDragDropManager=function(){var t=n.useContext(o.context).dragDropManager;return i(null!=t,"Expected drag drop context"),t}},function(t,e,r){"use strict";(function(t,n){var o,i=r(53);o="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==t?t:n;var a=Object(i.a)(o);e.a=a}).call(this,r(20),r(58)(t))},function(t,e,r){"use strict";function n(t){for(var r in t)e.hasOwnProperty(r)||(e[r]=t[r])}Object.defineProperty(e,"__esModule",{value:!0}),n(r(34)),n(r(55))},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){t.SOURCE="SOURCE",t.TARGET="TARGET"}(e.HandlerRole||(e.HandlerRole={}))},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){return null===e?null===t:Array.isArray(t)?t.some(function(t){return t===e}):t===e}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.strictEquality=function(t,e){return t===e},e.areCoordsEqual=function(t,e){return!t&&!e||!(!t||!e)&&t.x===e.x&&t.y===e.y},e.areArraysEqual=function(t,r,n){if(void 0===n&&(n=e.strictEquality),t.length!==r.length)return!1;for(var o=0;o<t.length;++o)if(!n(t[o],r[o]))return!1;return!0}},function(t,e,r){var n=r(21),o=r(23),i=r(24),a=r(17),u=r(39),c=r(25),s=200;t.exports=function(t,e,r,f){var p=-1,d=o,l=!0,h=t.length,g=[],v=e.length;if(!h)return g;r&&(e=a(e,u(r))),f?(d=i,l=!1):e.length>=s&&(d=c,l=!1,e=new n(e));t:for(;++p<h;){var y=t[p],b=null==r?y:r(y);if(y=f||0!==y?y:0,l&&b==b){for(var O=v;O--;)if(e[O]===b)continue t;g.push(y)}else d(e,b,f)||g.push(y)}return g}},function(t,e,r){var n=r(69),o=r(92),i=r(94),a=r(95),u=r(96);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}c.prototype.clear=n,c.prototype.delete=o,c.prototype.get=i,c.prototype.has=a,c.prototype.set=u,t.exports=c},function(t,e){t.exports=function(t){return function(e){return t(e)}}},function(t,e){t.exports=function(t){return t}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(114);e.NONE=[],e.ALL=[],e.areDirty=function(t,r){return t!==e.NONE&&(t===e.ALL||void 0===r||n(r,t).length>0)}},function(t,e){t.exports=function(){}},function(t,e){t.exports=function(t){var e=-1,r=Array(t.size);return t.forEach(function(t){r[++e]=t}),r}},function(t,e,r){"use strict";var n,o=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),i=this&&this.__assign||function(){return(i=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0});var a=r(1),u=r(6),c=r(152),s=r(30).default,f=(r(3),r(0)),p=r(29),d=r(5);e.default=function(t){var e=t.DecoratedComponent,r=t.createHandler,n=t.createMonitor,l=t.createConnector,h=t.registerHandler,g=t.containerDisplayName,v=t.getType,y=t.collect,b=t.options.arePropsEqual,O=void 0===b?d:b,m=e,_=e.displayName||e.name||"Component",D=function(t){function p(e){var r=t.call(this,e)||this;return r.handleChange=function(){var t=r.getCurrentState();d(t,r.state)||r.setState(t)},r.disposable=new c.SerialDisposable,r.receiveProps(e),r.dispose(),r}return o(p,t),p.prototype.getHandlerId=function(){return this.handlerId},p.prototype.getDecoratedComponentInstance=function(){return this.handler?this.handler.ref.current:null},p.prototype.shouldComponentUpdate=function(t,e){return!O(t,this.props)||!d(e,this.state)},p.prototype.componentDidMount=function(){this.disposable=new c.SerialDisposable,this.currentType=void 0,this.receiveProps(this.props),this.handleChange()},p.prototype.componentDidUpdate=function(t){O(this.props,t)||(this.receiveProps(this.props),this.handleChange())},p.prototype.componentWillUnmount=function(){this.dispose()},p.prototype.receiveProps=function(t){this.handler&&(this.handler.receiveProps(t),this.receiveType(v(t)))},p.prototype.receiveType=function(t){if(this.handlerMonitor&&this.manager&&this.handlerConnector&&t!==this.currentType){this.currentType=t;var e=h(t,this.handler,this.manager),r=e.handlerId,n=e.unregister;this.handlerId=r,this.handlerMonitor.receiveHandlerId(r),this.handlerConnector.receiveHandlerId(r);var o=this.manager.getMonitor().subscribeToStateChange(this.handleChange,{handlerIds:[r]});this.disposable.setDisposable(new c.CompositeDisposable(new c.Disposable(o),new c.Disposable(n)))}},p.prototype.dispose=function(){this.disposable.dispose(),this.handlerConnector&&this.handlerConnector.receiveHandlerId(null)},p.prototype.getCurrentState=function(){return this.handlerConnector?y(this.handlerConnector.hooks,this.handlerMonitor):{}},p.prototype.render=function(){var t=this;return a.createElement(u.Consumer,null,function(e){var r=e.dragDropManager;return void 0===r?null:(t.receiveDragDropManager(r),a.createElement(m,i({},t.props,t.getCurrentState(),{ref:t.handler&&s(m)?t.handler.ref:void 0})))})},p.prototype.receiveDragDropManager=function(t){void 0===this.manager&&(this.manager=t,f("object"==typeof t,"Could not find the drag and drop manager in the context of %s. Make sure to wrap the top-level component of your app with DragDropContext. Read more: http://react-dnd.github.io/react-dnd/docs-troubleshooting.html#could-not-find-the-drag-and-drop-manager-in-the-context",_,_),this.handlerMonitor=n(t),this.handlerConnector=l(t.getBackend()),this.handler=r(this.handlerMonitor))},p.DecoratedComponent=e,p.displayName=g+"("+_+")",p}(a.Component);return p(D,e)}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,r){var n=r.getRegistry(),o=n.addSource(t,e);return{handlerId:o,unregister:function(){return n.removeSource(o)}}}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(0),o=!1,i=!1,a=function(){function t(t){this.sourceId=null,this.internalMonitor=t.getMonitor()}return t.prototype.receiveHandlerId=function(t){this.sourceId=t},t.prototype.getHandlerId=function(){return this.sourceId},t.prototype.canDrag=function(){n(!o,"You may not call monitor.canDrag() inside your canDrag() implementation. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source-monitor.html");try{return o=!0,this.internalMonitor.canDragSource(this.sourceId)}finally{o=!1}},t.prototype.isDragging=function(){n(!i,"You may not call monitor.isDragging() inside your isDragging() implementation. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source-monitor.html");try{return i=!0,this.internalMonitor.isDraggingSource(this.sourceId)}finally{i=!1}},t.prototype.subscribeToStateChange=function(t,e){return this.internalMonitor.subscribeToStateChange(t,e)},t.prototype.isDraggingSource=function(t){return this.internalMonitor.isDraggingSource(t)},t.prototype.isOverTarget=function(t,e){return this.internalMonitor.isOverTarget(t,e)},t.prototype.getTargetIds=function(){return this.internalMonitor.getTargetIds()},t.prototype.isSourcePublic=function(){return this.internalMonitor.isSourcePublic()},t.prototype.getSourceId=function(){return this.internalMonitor.getSourceId()},t.prototype.subscribeToOffsetChange=function(t){return this.internalMonitor.subscribeToOffsetChange(t)},t.prototype.canDragSource=function(t){return this.internalMonitor.canDragSource(t)},t.prototype.canDropOnTarget=function(t){return this.internalMonitor.canDropOnTarget(t)},t.prototype.getItemType=function(){return this.internalMonitor.getItemType()},t.prototype.getItem=function(){return this.internalMonitor.getItem()},t.prototype.getDropResult=function(){return this.internalMonitor.getDropResult()},t.prototype.didDrop=function(){return this.internalMonitor.didDrop()},t.prototype.getInitialClientOffset=function(){return this.internalMonitor.getInitialClientOffset()},t.prototype.getInitialSourceClientOffset=function(){return this.internalMonitor.getInitialSourceClientOffset()},t.prototype.getSourceClientOffset=function(){return this.internalMonitor.getSourceClientOffset()},t.prototype.getClientOffset=function(){return this.internalMonitor.getClientOffset()},t.prototype.getDifferenceFromInitialOffset=function(){return this.internalMonitor.getDifferenceFromInitialOffset()},t}();e.default=a},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(1),o=r(158);function i(t){return function(e,r){if(void 0===e&&(e=null),void 0===r&&(r=null),n.isValidElement(e)){var i=e;!function(t){if("string"!=typeof t.type){var e=t.type.displayName||t.type.name||"the component";throw new Error("Only native element nodes can now be passed to React DnD connectors.You can either wrap "+e+" into a <div>, or turn it into a drag source or a drop target itself.")}}(i);var a=r?function(e){return t(e,r)}:t;return o.default(i,a)}t(e,r)}}e.default=function(t){var e={};return Object.keys(t).forEach(function(r){var n=i(t[r]);e[r]=function(){return n}}),e}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function t(e,r){return"string"==typeof e||"symbol"==typeof e||!!r&&Array.isArray(e)&&e.every(function(e){return t(e,!1)})}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,r){var n=r.getRegistry(),o=n.addTarget(t,e);return{handlerId:o,unregister:function(){return n.removeTarget(o)}}}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(0),o=!1,i=function(){function t(t){this.targetId=null,this.internalMonitor=t.getMonitor()}return t.prototype.receiveHandlerId=function(t){this.targetId=t},t.prototype.getHandlerId=function(){return this.targetId},t.prototype.subscribeToStateChange=function(t,e){return this.internalMonitor.subscribeToStateChange(t,e)},t.prototype.canDrop=function(){n(!o,"You may not call monitor.canDrop() inside your canDrop() implementation. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target-monitor.html");try{return o=!0,this.internalMonitor.canDropOnTarget(this.targetId)}finally{o=!1}},t.prototype.isOver=function(t){return this.internalMonitor.isOverTarget(this.targetId,t)},t.prototype.getItemType=function(){return this.internalMonitor.getItemType()},t.prototype.getItem=function(){return this.internalMonitor.getItem()},t.prototype.getDropResult=function(){return this.internalMonitor.getDropResult()},t.prototype.didDrop=function(){return this.internalMonitor.didDrop()},t.prototype.getInitialClientOffset=function(){return this.internalMonitor.getInitialClientOffset()},t.prototype.getInitialSourceClientOffset=function(){return this.internalMonitor.getInitialSourceClientOffset()},t.prototype.getSourceClientOffset=function(){return this.internalMonitor.getSourceClientOffset()},t.prototype.getClientOffset=function(){return this.internalMonitor.getClientOffset()},t.prototype.getDifferenceFromInitialOffset=function(){return this.internalMonitor.getDifferenceFromInitialOffset()},t}();e.default=i},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(1),o=r(52);e.useMonitorOutput=function(t,e){var r=o.useCollector(t,e),i=r[0],a=r[1];return n.useEffect(function(){var e=t.getHandlerId();if(null!=e)return t.subscribeToStateChange(a,{handlerIds:[e]})}),i}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(1),o=r(5);e.useCollector=function(t,e){var r=n.useState(function(){return e(t)}),i=r[0],a=r[1];return[i,function(){var r=e(t);o(i,r)||a(r)}]}},function(t,e,r){"use strict";function n(t){var e,r=t.Symbol;return"function"==typeof r?r.observable?e=r.observable:(e=r("observable"),r.observable=e):e="@@observable",e}r.d(e,"a",function(){return n})},function(t,e,r){"use strict";function n(t){for(var r in t)e.hasOwnProperty(r)||(e[r]=t[r])}Object.defineProperty(e,"__esModule",{value:!0});var o=r(6);e.DragDropContext=o.DragDropContext,e.DragDropContextProvider=o.DragDropContextProvider,e.DragDropContextProviderProps=o.DragDropContextProviderProps;var i=r(148);e.DragLayer=i.default;var a=r(151);e.DragSource=a.default;var u=r(159);e.DropTarget=u.default,n(r(162)),n(r(171))},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(56);e.createDragDropManager=function(t,e,r){return new n.default(t,e,r)}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(57),o=r(59),i=r(7),a=r(139),u=r(141);var c=function(){function t(t,e,r){void 0===e&&(e={}),void 0===r&&(r=!1);var i=this;this.context=e,this.isSetUp=!1,this.handleRefCountChange=function(){var t=i.store.getState().refCount>0;t&&!i.isSetUp?(i.backend.setup(),i.isSetUp=!0):!t&&i.isSetUp&&(i.backend.teardown(),i.isSetUp=!1)};var c=function(t){var e="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__;return n.createStore(o.default,t&&e&&e({name:"dnd-core",instanceId:"dnd-core"}))}(r);this.store=c,this.monitor=new a.default(c,new u.default(c)),this.backend=t(this),c.subscribe(this.handleRefCountChange)}return t.prototype.getContext=function(){return this.context},t.prototype.getMonitor=function(){return this.monitor},t.prototype.getBackend=function(){return this.backend},t.prototype.getRegistry=function(){return this.monitor.registry},t.prototype.getActions=function(){var t=this,e=this.store.dispatch;var r=i.default(this);return Object.keys(r).reduce(function(n,o){var i,a=r[o];return n[o]=(i=a,function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var o=i.apply(t,r);void 0!==o&&e(o)}),n},{})},t.prototype.dispatch=function(t){this.store.dispatch(t)},t}();e.default=c},function(t,e,r){"use strict";r.r(e),r.d(e,"createStore",function(){return u}),r.d(e,"combineReducers",function(){return s}),r.d(e,"bindActionCreators",function(){return p}),r.d(e,"applyMiddleware",function(){return h}),r.d(e,"compose",function(){return l}),r.d(e,"__DO_NOT_USE__ActionTypes",function(){return i});var n=r(32),o=function(){return Math.random().toString(36).substring(7).split("").join(".")},i={INIT:"@@redux/INIT"+o(),REPLACE:"@@redux/REPLACE"+o(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+o()}};function a(t){if("object"!=typeof t||null===t)return!1;for(var e=t;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}function u(t,e,r){var o;if("function"==typeof e&&"function"==typeof r||"function"==typeof r&&"function"==typeof arguments[3])throw new Error("It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function");if("function"==typeof e&&void 0===r&&(r=e,e=void 0),void 0!==r){if("function"!=typeof r)throw new Error("Expected the enhancer to be a function.");return r(u)(t,e)}if("function"!=typeof t)throw new Error("Expected the reducer to be a function.");var c=t,s=e,f=[],p=f,d=!1;function l(){p===f&&(p=f.slice())}function h(){if(d)throw new Error("You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");return s}function g(t){if("function"!=typeof t)throw new Error("Expected the listener to be a function.");if(d)throw new Error("You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api-reference/store#subscribe(listener) for more details.");var e=!0;return l(),p.push(t),function(){if(e){if(d)throw new Error("You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api-reference/store#subscribe(listener) for more details.");e=!1,l();var r=p.indexOf(t);p.splice(r,1)}}}function v(t){if(!a(t))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if(void 0===t.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(d)throw new Error("Reducers may not dispatch actions.");try{d=!0,s=c(s,t)}finally{d=!1}for(var e=f=p,r=0;r<e.length;r++){(0,e[r])()}return t}return v({type:i.INIT}),(o={dispatch:v,subscribe:g,getState:h,replaceReducer:function(t){if("function"!=typeof t)throw new Error("Expected the nextReducer to be a function.");c=t,v({type:i.REPLACE})}})[n.a]=function(){var t,e=g;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new TypeError("Expected the observer to be an object.");function r(){t.next&&t.next(h())}return r(),{unsubscribe:e(r)}}})[n.a]=function(){return this},t},o}function c(t,e){var r=e&&e.type;return"Given "+(r&&'action "'+String(r)+'"'||"an action")+', reducer "'+t+'" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.'}function s(t){for(var e=Object.keys(t),r={},n=0;n<e.length;n++){var o=e[n];0,"function"==typeof t[o]&&(r[o]=t[o])}var a,u=Object.keys(r);try{!function(t){Object.keys(t).forEach(function(e){var r=t[e];if(void 0===r(void 0,{type:i.INIT}))throw new Error('Reducer "'+e+"\" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.");if(void 0===r(void 0,{type:i.PROBE_UNKNOWN_ACTION()}))throw new Error('Reducer "'+e+"\" returned undefined when probed with a random type. Don't try to handle "+i.INIT+' or other actions in "redux/*" namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.')})}(r)}catch(t){a=t}return function(t,e){if(void 0===t&&(t={}),a)throw a;for(var n=!1,o={},i=0;i<u.length;i++){var s=u[i],f=r[s],p=t[s],d=f(p,e);if(void 0===d){var l=c(s,e);throw new Error(l)}o[s]=d,n=n||d!==p}return n?o:t}}function f(t,e){return function(){return e(t.apply(this,arguments))}}function p(t,e){if("function"==typeof t)return f(t,e);if("object"!=typeof t||null===t)throw new Error("bindActionCreators expected an object or a function, instead received "+(null===t?"null":typeof t)+'. Did you write "import ActionCreators from" instead of "import * as ActionCreators from"?');for(var r=Object.keys(t),n={},o=0;o<r.length;o++){var i=r[o],a=t[i];"function"==typeof a&&(n[i]=f(a,e))}return n}function d(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function l(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return 0===e.length?function(t){return t}:1===e.length?e[0]:e.reduce(function(t,e){return function(){return t(e.apply(void 0,arguments))}})}function h(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return function(t){return function(){var r=t.apply(void 0,arguments),n=function(){throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},o={getState:r.getState,dispatch:function(){return n.apply(void 0,arguments)}},i=e.map(function(t){return t(o)});return function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable}))),n.forEach(function(e){d(t,e,r[e])})}return t}({},r,{dispatch:n=l.apply(void 0,i)(r.dispatch)})}}}},function(t,e){t.exports=function(t){if(!t.webpackPolyfill){var e=Object.create(t);e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),Object.defineProperty(e,"exports",{enumerable:!0}),e.webpackPolyfill=1}return e}},function(t,e,r){"use strict";var n=this&&this.__assign||function(){return(n=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0});var o=r(60),i=r(67),a=r(112),u=r(113),c=r(128),s=r(129);e.default=function(t,e){return void 0===t&&(t={}),{dirtyHandlerIds:u.default(t.dirtyHandlerIds,{type:e.type,payload:n({},e.payload,{prevTargetIds:s(t,"dragOperation.targetIds",[])})}),dragOffset:o.default(t.dragOffset,e),refCount:a.default(t.refCount,e),dragOperation:i.default(t.dragOperation,e),stateId:c.default(t.stateId)}}},function(t,e,r){"use strict";var n=this&&this.__assign||function(){return(n=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0});var o=r(7),i=r(36),a={initialSourceClientOffset:null,initialClientOffset:null,clientOffset:null};e.default=function(t,e){void 0===t&&(t=a);var r=e.payload;switch(e.type){case o.INIT_COORDS:case o.BEGIN_DRAG:return{initialSourceClientOffset:r.sourceClientOffset,initialClientOffset:r.clientOffset,clientOffset:r.clientOffset};case o.HOVER:return i.areCoordsEqual(t.clientOffset,r.clientOffset)?t:n({},t,{clientOffset:r.clientOffset});case o.END_DRAG:case o.DROP:return a;default:return t}}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(62),o=r(0),i=r(8),a=r(2),u={type:a.INIT_COORDS,payload:{clientOffset:null,sourceClientOffset:null}};e.default=function(t){return function(e,r){void 0===e&&(e=[]),void 0===r&&(r={publishSource:!0});var c=r.publishSource,s=void 0===c||c,f=r.clientOffset,p=r.getSourceClientOffset,d=t.getMonitor(),l=t.getRegistry();t.dispatch(n.setClientOffset(f)),function(t,e,r){o(!e.isDragging(),"Cannot call beginDrag while dragging.");for(var n=0,i=t;n<i.length;n++){var a=i[n];o(r.getSource(a),"Expected sourceIds to be registered.")}}(e,d,l);var h=function(t,e){for(var r=null,n=t.length-1;n>=0;n--)if(e.canDragSource(t[n])){r=t[n];break}return r}(e,d);if(null!==h){var g=null;f&&(function(t){o("function"==typeof t,"When clientOffset is provided, getSourceClientOffset must be a function.")}(p),g=p(h)),t.dispatch(n.setClientOffset(f,g));var v=l.getSource(h).beginDrag(d,h);!function(t){o(i(t),"Item must be an object.")}(v),l.pinSource(h);var y=l.getSourceType(h);return{type:a.BEGIN_DRAG,payload:{itemType:y,item:v,sourceId:h,clientOffset:f||null,sourceClientOffset:g||null,isSourcePublic:!!s}}}t.dispatch(u)}}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(2);e.setClientOffset=function(t,e){return{type:n.INIT_COORDS,payload:{sourceClientOffset:e||null,clientOffset:t||null}}}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(2);e.default=function(t){return function(){if(t.getMonitor().isDragging())return{type:n.PUBLISH_DRAG_SOURCE}}}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(35),o=r(2),i=r(0);e.default=function(t){return function(e,r){var a=(void 0===r?{}:r).clientOffset;!function(t){i(Array.isArray(t),"Expected targetIds to be an array.")}(e);var u=e.slice(0),c=t.getMonitor(),s=t.getRegistry();return function(t,e,r){i(e.isDragging(),"Cannot call hover while not dragging."),i(!e.didDrop(),"Cannot call hover after drop.");for(var n=0;n<t.length;n++){var o=t[n];i(t.lastIndexOf(o)===n,"Expected targetIds to be unique in the passed array.");var a=r.getTarget(o);i(a,"Expected targetIds to be registered.")}}(u,c,s),function(t,e,r){for(var o=t.length-1;o>=0;o--){var i=t[o],a=e.getTargetType(i);n.default(a,r)||t.splice(o,1)}}(u,s,c.getItemType()),function(t,e,r){for(var n=0,o=t;n<o.length;n++){var i=o[n],a=r.getTarget(i);a.hover(e,i)}}(u,c,s),{type:o.HOVER,payload:{targetIds:u,clientOffset:a||null}}}}},function(t,e,r){"use strict";var n=this&&this.__assign||function(){return(n=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0});var o=r(2),i=r(0),a=r(8);e.default=function(t){return function(e){void 0===e&&(e={});var r=t.getMonitor(),u=t.getRegistry();!function(t){i(t.isDragging(),"Cannot call drop while not dragging."),i(!t.didDrop(),"Cannot call drop twice during one drag operation.")}(r),function(t){var e=t.getTargetIds().filter(t.canDropOnTarget,t);return e.reverse(),e}(r).forEach(function(c,s){var f=function(t,e,r,n){var o=r.getTarget(t).drop(n,t);return function(t){i(void 0===t||a(t),"Drop result must either be an object or undefined.")}(o),void 0===o&&(o=0===e?{}:n.getDropResult()),o}(c,s,u,r),p={type:o.DROP,payload:{dropResult:n({},e,f)}};t.dispatch(p)})}}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(2),o=r(0);e.default=function(t){return function(){var e=t.getMonitor(),r=t.getRegistry();!function(t){o(t.isDragging(),"Cannot call endDrag while not dragging.")}(e);var i=e.getSourceId();return r.getSource(i,!0).endDrag(e,i),r.unpinSource(),{type:n.END_DRAG}}}},function(t,e,r){"use strict";var n=this&&this.__assign||function(){return(n=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0});var o=r(7),i=r(9),a=r(68),u={itemType:null,item:null,sourceId:null,targetIds:[],dropResult:null,didDrop:!1,isSourcePublic:null};e.default=function(t,e){void 0===t&&(t=u);var r=e.payload;switch(e.type){case o.BEGIN_DRAG:return n({},t,{itemType:r.itemType,item:r.item,sourceId:r.sourceId,isSourcePublic:r.isSourcePublic,dropResult:null,didDrop:!1});case o.PUBLISH_DRAG_SOURCE:return n({},t,{isSourcePublic:!0});case o.HOVER:return n({},t,{targetIds:r.targetIds});case i.REMOVE_TARGET:return-1===t.targetIds.indexOf(r.targetId)?t:n({},t,{targetIds:a(t.targetIds,r.targetId)});case o.DROP:return n({},t,{dropResult:r.dropResult,didDrop:!0,targetIds:[]});case o.END_DRAG:return n({},t,{itemType:null,item:null,sourceId:null,dropResult:null,didDrop:!1,isSourcePublic:null,targetIds:[]});default:return t}}},function(t,e,r){var n=r(37),o=r(26),i=r(27),a=o(function(t,e){return i(t)?n(t,e):[]});t.exports=a},function(t,e,r){var n=r(70),o=r(84),i=r(91);t.exports=function(){this.size=0,this.__data__={hash:new n,map:new(i||o),string:new n}}},function(t,e,r){var n=r(71),o=r(80),i=r(81),a=r(82),u=r(83);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}c.prototype.clear=n,c.prototype.delete=o,c.prototype.get=i,c.prototype.has=a,c.prototype.set=u,t.exports=c},function(t,e,r){var n=r(10);t.exports=function(){this.__data__=n?n(null):{},this.size=0}},function(t,e,r){var n=r(22),o=r(76),i=r(8),a=r(78),u=/^\[object .+?Constructor\]$/,c=Function.prototype,s=Object.prototype,f=c.toString,p=s.hasOwnProperty,d=RegExp("^"+f.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!i(t)||o(t))&&(n(t)?d:u).test(a(t))}},function(t,e,r){(function(e){var r="object"==typeof e&&e&&e.Object===Object&&e;t.exports=r}).call(this,r(20))},function(t,e,r){var n=r(13),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,u=n?n.toStringTag:void 0;t.exports=function(t){var e=i.call(t,u),r=t[u];try{t[u]=void 0;var n=!0}catch(t){}var o=a.call(t);return n&&(e?t[u]=r:delete t[u]),o}},function(t,e){var r=Object.prototype.toString;t.exports=function(t){return r.call(t)}},function(t,e,r){var n,o=r(77),i=(n=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";t.exports=function(t){return!!i&&i in t}},function(t,e,r){var n=r(14)["__core-js_shared__"];t.exports=n},function(t,e){var r=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return r.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},function(t,e){t.exports=function(t,e){return null==t?void 0:t[e]}},function(t,e){t.exports=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}},function(t,e,r){var n=r(10),o="__lodash_hash_undefined__",i=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;if(n){var r=e[t];return r===o?void 0:r}return i.call(e,t)?e[t]:void 0}},function(t,e,r){var n=r(10),o=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;return n?void 0!==e[t]:o.call(e,t)}},function(t,e,r){var n=r(10),o="__lodash_hash_undefined__";t.exports=function(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=n&&void 0===e?o:e,this}},function(t,e,r){var n=r(85),o=r(86),i=r(88),a=r(89),u=r(90);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}c.prototype.clear=n,c.prototype.delete=o,c.prototype.get=i,c.prototype.has=a,c.prototype.set=u,t.exports=c},function(t,e){t.exports=function(){this.__data__=[],this.size=0}},function(t,e,r){var n=r(15),o=Array.prototype.splice;t.exports=function(t){var e=this.__data__,r=n(e,t);return!(r<0||(r==e.length-1?e.pop():o.call(e,r,1),--this.size,0))}},function(t,e){t.exports=function(t,e){return t===e||t!=t&&e!=e}},function(t,e,r){var n=r(15);t.exports=function(t){var e=this.__data__,r=n(e,t);return r<0?void 0:e[r][1]}},function(t,e,r){var n=r(15);t.exports=function(t){return n(this.__data__,t)>-1}},function(t,e,r){var n=r(15);t.exports=function(t,e){var r=this.__data__,o=n(r,t);return o<0?(++this.size,r.push([t,e])):r[o][1]=e,this}},function(t,e,r){var n=r(11)(r(14),"Map");t.exports=n},function(t,e,r){var n=r(16);t.exports=function(t){var e=n(this,t).delete(t);return this.size-=e?1:0,e}},function(t,e){t.exports=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}},function(t,e,r){var n=r(16);t.exports=function(t){return n(this,t).get(t)}},function(t,e,r){var n=r(16);t.exports=function(t){return n(this,t).has(t)}},function(t,e,r){var n=r(16);t.exports=function(t,e){var r=n(this,t),o=r.size;return r.set(t,e),this.size+=r.size==o?0:1,this}},function(t,e){var r="__lodash_hash_undefined__";t.exports=function(t){return this.__data__.set(t,r),this}},function(t,e){t.exports=function(t){return this.__data__.has(t)}},function(t,e,r){var n=r(100),o=r(101),i=r(102);t.exports=function(t,e,r){return e==e?i(t,e,r):n(t,o,r)}},function(t,e){t.exports=function(t,e,r,n){for(var o=t.length,i=r+(n?1:-1);n?i--:++i<o;)if(e(t[i],i,t))return i;return-1}},function(t,e){t.exports=function(t){return t!=t}},function(t,e){t.exports=function(t,e,r){for(var n=r-1,o=t.length;++n<o;)if(t[n]===e)return n;return-1}},function(t,e,r){var n=r(104),o=Math.max;t.exports=function(t,e,r){return e=o(void 0===e?t.length-1:e,0),function(){for(var i=arguments,a=-1,u=o(i.length-e,0),c=Array(u);++a<u;)c[a]=i[e+a];a=-1;for(var s=Array(e+1);++a<e;)s[a]=i[a];return s[e]=r(c),n(t,this,s)}}},function(t,e){t.exports=function(t,e,r){switch(r.length){case 0:return t.call(e);case 1:return t.call(e,r[0]);case 2:return t.call(e,r[0],r[1]);case 3:return t.call(e,r[0],r[1],r[2])}return t.apply(e,r)}},function(t,e,r){var n=r(106),o=r(109)(n);t.exports=o},function(t,e,r){var n=r(107),o=r(108),i=r(40),a=o?function(t,e){return o(t,"toString",{configurable:!0,enumerable:!1,value:n(e),writable:!0})}:i;t.exports=a},function(t,e){t.exports=function(t){return function(){return t}}},function(t,e,r){var n=r(11),o=function(){try{var t=n(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=o},function(t,e){var r=800,n=16,o=Date.now;t.exports=function(t){var e=0,i=0;return function(){var a=o(),u=n-(a-i);if(i=a,u>0){if(++e>=r)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}},function(t,e,r){var n=r(22),o=r(111);t.exports=function(t){return null!=t&&o(t.length)&&!n(t)}},function(t,e){var r=9007199254740991;t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=r}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(9);e.default=function(t,e){switch(void 0===t&&(t=0),e.type){case n.ADD_SOURCE:case n.ADD_TARGET:return t+1;case n.REMOVE_SOURCE:case n.REMOVE_TARGET:return t-1;default:return t}}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(7),o=r(9),i=r(36),a=r(41),u=r(117);e.default=function(t,e){switch(void 0===t&&(t=a.NONE),e.type){case n.HOVER:break;case o.ADD_SOURCE:case o.ADD_TARGET:case o.REMOVE_TARGET:case o.REMOVE_SOURCE:return a.NONE;case n.BEGIN_DRAG:case n.PUBLISH_DRAG_SOURCE:case n.END_DRAG:case n.DROP:default:return a.ALL}var r=e.payload,c=r.targetIds,s=void 0===c?[]:c,f=r.prevTargetIds,p=void 0===f?[]:f,d=u(s,p);if(!(d.length>0)&&i.areArraysEqual(s,p))return a.NONE;var l=p[p.length-1],h=s[s.length-1];return l!==h&&(l&&d.push(l),h&&d.push(h)),d}},function(t,e,r){var n=r(17),o=r(115),i=r(26),a=r(116),u=i(function(t){var e=n(t,a);return e.length&&e[0]===t[0]?o(e):[]});t.exports=u},function(t,e,r){var n=r(21),o=r(23),i=r(24),a=r(17),u=r(39),c=r(25),s=Math.min;t.exports=function(t,e,r){for(var f=r?i:o,p=t[0].length,d=t.length,l=d,h=Array(d),g=1/0,v=[];l--;){var y=t[l];l&&e&&(y=a(y,u(e))),g=s(y.length,g),h[l]=!r&&(e||p>=120&&y.length>=120)?new n(l&&y):void 0}y=t[0];var b=-1,O=h[0];t:for(;++b<p&&v.length<g;){var m=y[b],_=e?e(m):m;if(m=r||0!==m?m:0,!(O?c(O,_):f(v,_,r))){for(l=d;--l;){var D=h[l];if(!(D?c(D,_):f(t[l],_,r)))continue t}O&&O.push(_),v.push(m)}}return v}},function(t,e,r){var n=r(27);t.exports=function(t){return n(t)?t:[]}},function(t,e,r){var n=r(118),o=r(26),i=r(119),a=r(27),u=o(function(t){return i(n(t,a))});t.exports=u},function(t,e){t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length,o=0,i=[];++r<n;){var a=t[r];e(a,r,t)&&(i[o++]=a)}return i}},function(t,e,r){var n=r(37),o=r(120),i=r(125);t.exports=function(t,e,r){var a=t.length;if(a<2)return a?i(t[0]):[];for(var u=-1,c=Array(a);++u<a;)for(var s=t[u],f=-1;++f<a;)f!=u&&(c[u]=n(c[u]||s,t[f],e,r));return i(o(c,1),e,r)}},function(t,e,r){var n=r(121),o=r(122);t.exports=function t(e,r,i,a,u){var c=-1,s=e.length;for(i||(i=o),u||(u=[]);++c<s;){var f=e[c];r>0&&i(f)?r>1?t(f,r-1,i,a,u):n(u,f):a||(u[u.length]=f)}return u}},function(t,e){t.exports=function(t,e){for(var r=-1,n=e.length,o=t.length;++r<n;)t[o+r]=e[r];return t}},function(t,e,r){var n=r(13),o=r(123),i=r(18),a=n?n.isConcatSpreadable:void 0;t.exports=function(t){return i(t)||o(t)||!!(a&&t&&t[a])}},function(t,e,r){var n=r(124),o=r(4),i=Object.prototype,a=i.hasOwnProperty,u=i.propertyIsEnumerable,c=n(function(){return arguments}())?n:function(t){return o(t)&&a.call(t,"callee")&&!u.call(t,"callee")};t.exports=c},function(t,e,r){var n=r(12),o=r(4),i="[object Arguments]";t.exports=function(t){return o(t)&&n(t)==i}},function(t,e,r){var n=r(21),o=r(23),i=r(24),a=r(25),u=r(126),c=r(43),s=200;t.exports=function(t,e,r){var f=-1,p=o,d=t.length,l=!0,h=[],g=h;if(r)l=!1,p=i;else if(d>=s){var v=e?null:u(t);if(v)return c(v);l=!1,p=a,g=new n}else g=e?[]:h;t:for(;++f<d;){var y=t[f],b=e?e(y):y;if(y=r||0!==y?y:0,l&&b==b){for(var O=g.length;O--;)if(g[O]===b)continue t;e&&g.push(b),h.push(y)}else p(g,b,r)||(g!==h&&g.push(b),h.push(y))}return h}},function(t,e,r){var n=r(127),o=r(42),i=r(43),a=n&&1/i(new n([,-0]))[1]==1/0?function(t){return new n(t)}:o;t.exports=a},function(t,e,r){var n=r(11)(r(14),"Set");t.exports=n},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return void 0===t&&(t=0),t+1}},function(t,e,r){var n=r(130);t.exports=function(t,e,r){var o=null==t?void 0:n(t,e);return void 0===o?r:o}},function(t,e,r){var n=r(131),o=r(138);t.exports=function(t,e){for(var r=0,i=(e=n(e,t)).length;null!=t&&r<i;)t=t[o(e[r++])];return r&&r==i?t:void 0}},function(t,e,r){var n=r(18),o=r(132),i=r(133),a=r(136);t.exports=function(t,e){return n(t)?t:o(t,e)?[t]:i(a(t))}},function(t,e,r){var n=r(18),o=r(28),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;t.exports=function(t,e){if(n(t))return!1;var r=typeof t;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=t&&!o(t))||a.test(t)||!i.test(t)||null!=e&&t in Object(e)}},function(t,e,r){var n=r(134),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,a=n(function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(o,function(t,r,n,o){e.push(n?o.replace(i,"$1"):r||t)}),e});t.exports=a},function(t,e,r){var n=r(135),o=500;t.exports=function(t){var e=n(t,function(t){return r.size===o&&r.clear(),t}),r=e.cache;return e}},function(t,e,r){var n=r(38),o="Expected a function";function i(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError(o);var r=function(){var n=arguments,o=e?e.apply(this,n):n[0],i=r.cache;if(i.has(o))return i.get(o);var a=t.apply(this,n);return r.cache=i.set(o,a)||i,a};return r.cache=new(i.Cache||n),r}i.Cache=n,t.exports=i},function(t,e,r){var n=r(137);t.exports=function(t){return null==t?"":n(t)}},function(t,e,r){var n=r(13),o=r(17),i=r(18),a=r(28),u=1/0,c=n?n.prototype:void 0,s=c?c.toString:void 0;t.exports=function t(e){if("string"==typeof e)return e;if(i(e))return o(e,t)+"";if(a(e))return s?s.call(e):"";var r=e+"";return"0"==r&&1/e==-u?"-0":r}},function(t,e,r){var n=r(28),o=1/0;t.exports=function(t){if("string"==typeof t||n(t))return t;var e=t+"";return"0"==e&&1/t==-o?"-0":e}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(35),o=r(140),i=r(41),a=r(0),u=function(){function t(t,e){this.store=t,this.registry=e}return t.prototype.subscribeToStateChange=function(t,e){var r=this;void 0===e&&(e={handlerIds:void 0});var n=e.handlerIds;a("function"==typeof t,"listener must be a function."),a(void 0===n||Array.isArray(n),"handlerIds, when specified, must be an array of strings.");var o=this.store.getState().stateId;return this.store.subscribe(function(){var e=r.store.getState(),a=e.stateId;try{a===o||a===o+1&&!i.areDirty(e.dirtyHandlerIds,n)||t()}finally{o=a}})},t.prototype.subscribeToOffsetChange=function(t){var e=this;a("function"==typeof t,"listener must be a function.");var r=this.store.getState().dragOffset;return this.store.subscribe(function(){var n=e.store.getState().dragOffset;n!==r&&(r=n,t())})},t.prototype.canDragSource=function(t){if(!t)return!1;var e=this.registry.getSource(t);return a(e,"Expected to find a valid source."),!this.isDragging()&&e.canDrag(this,t)},t.prototype.canDropOnTarget=function(t){if(!t)return!1;var e=this.registry.getTarget(t);if(a(e,"Expected to find a valid target."),!this.isDragging()||this.didDrop())return!1;var r=this.registry.getTargetType(t),o=this.getItemType();return n.default(r,o)&&e.canDrop(this,t)},t.prototype.isDragging=function(){return Boolean(this.getItemType())},t.prototype.isDraggingSource=function(t){if(!t)return!1;var e=this.registry.getSource(t,!0);return a(e,"Expected to find a valid source."),!(!this.isDragging()||!this.isSourcePublic())&&(this.registry.getSourceType(t)===this.getItemType()&&e.isDragging(this,t))},t.prototype.isOverTarget=function(t,e){if(void 0===e&&(e={shallow:!1}),!t)return!1;var r=e.shallow;if(!this.isDragging())return!1;var o=this.registry.getTargetType(t),i=this.getItemType();if(i&&!n.default(o,i))return!1;var a=this.getTargetIds();if(!a.length)return!1;var u=a.indexOf(t);return r?u===a.length-1:u>-1},t.prototype.getItemType=function(){return this.store.getState().dragOperation.itemType},t.prototype.getItem=function(){return this.store.getState().dragOperation.item},t.prototype.getSourceId=function(){return this.store.getState().dragOperation.sourceId},t.prototype.getTargetIds=function(){return this.store.getState().dragOperation.targetIds},t.prototype.getDropResult=function(){return this.store.getState().dragOperation.dropResult},t.prototype.didDrop=function(){return this.store.getState().dragOperation.didDrop},t.prototype.isSourcePublic=function(){return this.store.getState().dragOperation.isSourcePublic},t.prototype.getInitialClientOffset=function(){return this.store.getState().dragOffset.initialClientOffset},t.prototype.getInitialSourceClientOffset=function(){return this.store.getState().dragOffset.initialSourceClientOffset},t.prototype.getClientOffset=function(){return this.store.getState().dragOffset.clientOffset},t.prototype.getSourceClientOffset=function(){return o.getSourceClientOffset(this.store.getState().dragOffset)},t.prototype.getDifferenceFromInitialOffset=function(){return o.getDifferenceFromInitialOffset(this.store.getState().dragOffset)},t}();e.default=u},function(t,e,r){"use strict";function n(t,e){return{x:t.x+e.x,y:t.y+e.y}}function o(t,e){return{x:t.x-e.x,y:t.y-e.y}}Object.defineProperty(e,"__esModule",{value:!0}),e.add=n,e.subtract=o,e.getSourceClientOffset=function(t){var e=t.clientOffset,r=t.initialClientOffset,i=t.initialSourceClientOffset;return e&&r&&i?o(n(e,i),r):null},e.getDifferenceFromInitialOffset=function(t){var e=t.clientOffset,r=t.initialClientOffset;return e&&r?o(e,r):null}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(9),o=r(142),i=r(34),a=r(143),u=r(0),c=r(144);function s(t){switch(t[0]){case"S":return i.HandlerRole.SOURCE;case"T":return i.HandlerRole.TARGET;default:u(!1,"Cannot parse handler ID: "+t)}}function f(t,e){var r=t.entries(),n=!1;do{var o=r.next(),i=o.done;if(o.value[1]===e)return!0;n=i}while(!n);return!1}var p=function(){function t(t){this.store=t,this.types=new Map,this.dragSources=new Map,this.dropTargets=new Map,this.pinnedSourceId=null,this.pinnedSource=null}return t.prototype.addSource=function(t,e){a.validateType(t),a.validateSourceContract(e);var r=this.addHandler(i.HandlerRole.SOURCE,t,e);return this.store.dispatch(n.addSource(r)),r},t.prototype.addTarget=function(t,e){a.validateType(t,!0),a.validateTargetContract(e);var r=this.addHandler(i.HandlerRole.TARGET,t,e);return this.store.dispatch(n.addTarget(r)),r},t.prototype.containsHandler=function(t){return f(this.dragSources,t)||f(this.dropTargets,t)},t.prototype.getSource=function(t,e){return void 0===e&&(e=!1),u(this.isSourceId(t),"Expected a valid source ID."),e&&t===this.pinnedSourceId?this.pinnedSource:this.dragSources.get(t)},t.prototype.getTarget=function(t){return u(this.isTargetId(t),"Expected a valid target ID."),this.dropTargets.get(t)},t.prototype.getSourceType=function(t){return u(this.isSourceId(t),"Expected a valid source ID."),this.types.get(t)},t.prototype.getTargetType=function(t){return u(this.isTargetId(t),"Expected a valid target ID."),this.types.get(t)},t.prototype.isSourceId=function(t){return s(t)===i.HandlerRole.SOURCE},t.prototype.isTargetId=function(t){return s(t)===i.HandlerRole.TARGET},t.prototype.removeSource=function(t){var e=this;u(this.getSource(t),"Expected an existing source."),this.store.dispatch(n.removeSource(t)),c(function(){e.dragSources.delete(t),e.types.delete(t)})},t.prototype.removeTarget=function(t){u(this.getTarget(t),"Expected an existing target."),this.store.dispatch(n.removeTarget(t)),this.dropTargets.delete(t),this.types.delete(t)},t.prototype.pinSource=function(t){var e=this.getSource(t);u(e,"Expected an existing source."),this.pinnedSourceId=t,this.pinnedSource=e},t.prototype.unpinSource=function(){u(this.pinnedSource,"No source is pinned at the time."),this.pinnedSourceId=null,this.pinnedSource=null},t.prototype.addHandler=function(t,e,r){var n=function(t){var e=o.default().toString();switch(t){case i.HandlerRole.SOURCE:return"S"+e;case i.HandlerRole.TARGET:return"T"+e;default:throw new Error("Unknown Handler Role: "+t)}}(t);return this.types.set(n,e),t===i.HandlerRole.SOURCE?this.dragSources.set(n,r):t===i.HandlerRole.TARGET&&this.dropTargets.set(n,r),n},t}();e.default=p},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=0;e.default=function(){return n++}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(0);e.validateSourceContract=function(t){n("function"==typeof t.canDrag,"Expected canDrag to be a function."),n("function"==typeof t.beginDrag,"Expected beginDrag to be a function."),n("function"==typeof t.endDrag,"Expected endDrag to be a function.")},e.validateTargetContract=function(t){n("function"==typeof t.canDrop,"Expected canDrop to be a function."),n("function"==typeof t.hover,"Expected hover to be a function."),n("function"==typeof t.drop,"Expected beginDrag to be a function.")},e.validateType=function t(e,r){r&&Array.isArray(e)?e.forEach(function(e){return t(e,!1)}):n("string"==typeof e||"symbol"==typeof e,r?"Type can only be a string, a symbol, or an array of either.":"Type can only be a string or a symbol.")}},function(t,e,r){"use strict";var n=r(145),o=[],i=[],a=n.makeRequestCallFromTimer(function(){if(i.length)throw i.shift()});function u(t){var e;(e=o.length?o.pop():new c).task=t,n(e)}function c(){this.task=null}t.exports=u,c.prototype.call=function(){try{this.task.call()}catch(t){u.onerror?u.onerror(t):(i.push(t),a())}finally{this.task=null,o[o.length]=this}}},function(t,e,r){"use strict";(function(e){function r(t){o.length||(n(),!0),o[o.length]=t}t.exports=r;var n,o=[],i=0,a=1024;function u(){for(;i<o.length;){var t=i;if(i+=1,o[t].call(),i>a){for(var e=0,r=o.length-i;e<r;e++)o[e]=o[e+i];o.length-=i,i=0}}o.length=0,i=0,!1}var c,s,f,p=void 0!==e?e:self,d=p.MutationObserver||p.WebKitMutationObserver;function l(t){return function(){var e=setTimeout(n,0),r=setInterval(n,50);function n(){clearTimeout(e),clearInterval(r),t()}}}"function"==typeof d?(c=1,s=new d(u),f=document.createTextNode(""),s.observe(f,{characterData:!0}),n=function(){c=-c,f.data=c}):n=l(u),r.requestFlush=n,r.makeRequestCallFromTimer=l}).call(this,r(20))},function(t,e,r){"use strict";t.exports=r(147)},function(t,e,r){"use strict";
/** @license React v16.8.4
* react-is.production.min.js
*
@@ -6,4 +6,4 @@
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
- */Object.defineProperty(e,"__esModule",{value:!0});var n="function"==typeof Symbol&&Symbol.for,o=n?Symbol.for("react.element"):60103,i=n?Symbol.for("react.portal"):60106,s=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,c=n?Symbol.for("react.profiler"):60114,u=n?Symbol.for("react.provider"):60109,f=n?Symbol.for("react.context"):60110,d=n?Symbol.for("react.async_mode"):60111,l=n?Symbol.for("react.concurrent_mode"):60111,p=n?Symbol.for("react.forward_ref"):60112,h=n?Symbol.for("react.suspense"):60113,g=n?Symbol.for("react.memo"):60115,y=n?Symbol.for("react.lazy"):60116;function v(t){if("object"==typeof t&&null!==t){var e=t.$$typeof;switch(e){case o:switch(t=t.type){case d:case l:case s:case c:case a:case h:return t;default:switch(t=t&&t.$$typeof){case f:case p:case u:return t;default:return e}}case y:case g:case i:return e}}}function b(t){return v(t)===l}e.typeOf=v,e.AsyncMode=d,e.ConcurrentMode=l,e.ContextConsumer=f,e.ContextProvider=u,e.Element=o,e.ForwardRef=p,e.Fragment=s,e.Lazy=y,e.Memo=g,e.Portal=i,e.Profiler=c,e.StrictMode=a,e.Suspense=h,e.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===s||t===l||t===c||t===a||t===h||"object"==typeof t&&null!==t&&(t.$$typeof===y||t.$$typeof===g||t.$$typeof===u||t.$$typeof===f||t.$$typeof===p)},e.isAsyncMode=function(t){return b(t)||v(t)===d},e.isConcurrentMode=b,e.isContextConsumer=function(t){return v(t)===f},e.isContextProvider=function(t){return v(t)===u},e.isElement=function(t){return"object"==typeof t&&null!==t&&t.$$typeof===o},e.isForwardRef=function(t){return v(t)===p},e.isFragment=function(t){return v(t)===s},e.isLazy=function(t){return v(t)===y},e.isMemo=function(t){return v(t)===g},e.isPortal=function(t){return v(t)===i},e.isProfiler=function(t){return v(t)===c},e.isStrictMode=function(t){return v(t)===a},e.isSuspense=function(t){return v(t)===h}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const n=r(1),o=r(17),i=r(19),s=r(29),a=r(3),c=r(0),u=r(18),f=r(30).default;e.default=function(t,e={}){return o.default("DragLayer","collect[, options]",t,e),c("function"==typeof t,'Expected "collect" provided as the first argument to DragLayer to be a function that collects props to inject into the component. ',"Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-layer.html",t),c(a(e),'Expected "options" provided as the second argument to DragLayer to be a plain object when specified. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-layer.html',e),function(r){const o=r,{arePropsEqual:a=u}=e,d=o.displayName||o.name||"Component";class l extends n.Component{constructor(){super(...arguments),this.isCurrentlyMounted=!1,this.ref=n.createRef(),this.handleChange=(()=>{if(!this.isCurrentlyMounted)return;const t=this.getCurrentState();u(t,this.state)||this.setState(t)})}getDecoratedComponentInstance(){return c(this.ref.current,"In order to access an instance of the decorated component it can not be a stateless component."),this.ref.current}shouldComponentUpdate(t,e){return!a(t,this.props)||!u(e,this.state)}componentDidMount(){this.isCurrentlyMounted=!0,this.handleChange()}componentWillUnmount(){this.isCurrentlyMounted=!1,this.unsubscribeFromOffsetChange&&(this.unsubscribeFromOffsetChange(),this.unsubscribeFromOffsetChange=void 0),this.unsubscribeFromStateChange&&(this.unsubscribeFromStateChange(),this.unsubscribeFromStateChange=void 0)}render(){return n.createElement(i.Consumer,null,({dragDropManager:t})=>void 0===t?null:(this.receiveDragDropManager(t),this.isCurrentlyMounted?n.createElement(o,Object.assign({},this.props,this.state,{ref:f(o)?this.ref:void 0})):null))}receiveDragDropManager(t){if(void 0!==this.manager)return;this.manager=t,c("object"==typeof t,"Could not find the drag and drop manager in the context of %s. Make sure to wrap the top-level component of your app with DragDropContext. Read more: http://react-dnd.github.io/react-dnd/docs-troubleshooting.html#could-not-find-the-drag-and-drop-manager-in-the-context",d,d);const e=this.manager.getMonitor();this.unsubscribeFromOffsetChange=e.subscribeToOffsetChange(this.handleChange),this.unsubscribeFromStateChange=e.subscribeToStateChange(this.handleChange)}getCurrentState(){if(!this.manager)return{};const e=this.manager.getMonitor();return t(e,this.props)}}return l.displayName=`DragLayer(${d})`,l.DecoratedComponent=r,s(l,r)}}},function(t,e,r){var n=r(143)(Object.getPrototypeOf,Object);t.exports=n},function(t,e){t.exports=function(t,e){return function(r){return t(e(r))}}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const n=r(17),o=r(43),i=r(149),s=r(150),a=r(151),c=r(152),u=r(45),f=r(0),d=r(3);e.default=function(t,e,r,l={}){n.default("DragSource","type, spec, collect[, options]",t,e,r,l);let p=t;"function"!=typeof t&&(f(u.default(t),'Expected "type" provided as the first argument to DragSource to be a string, or a function that returns a string given the current props. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html',t),p=(()=>t)),f(d(e),'Expected "spec" provided as the second argument to DragSource to be a plain object. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html',e);const h=s.default(e);return f("function"==typeof r,'Expected "collect" provided as the third argument to DragSource to be a function that returns a plain object of props to inject. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html',r),f(d(l),'Expected "options" provided as the fourth argument to DragSource to be a plain object when specified. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html',r),function(t){return o.default({containerDisplayName:"DragSource",createHandler:h,registerHandler:i.default,createMonitor:a.default,createConnector:c.default,DecoratedComponent:t,getType:p,collect:r,options:l})}}},function(t,e,r){"use strict";function n(t){for(var r in t)e.hasOwnProperty(r)||(e[r]=t[r])}Object.defineProperty(e,"__esModule",{value:!0}),n(r(146)),n(r(147)),n(r(148))},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const n=r(22),o=r(41);class i{constructor(t){this.isDisposed=!1,this.action=n(t)?t:o}static isDisposable(t){return t&&n(t.dispose)}static _fixup(t){return i.isDisposable(t)?t:i.empty}static create(t){return new i(t)}dispose(){this.isDisposed||(this.action(),this.isDisposed=!0)}}i.empty={dispose:o},e.Disposable=i},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.SerialDisposable=class{constructor(){this.isDisposed=!1}getDisposable(){return this.current}setDisposable(t){const e=this.isDisposed;if(!e){const e=this.current;this.current=t,e&&e.dispose()}e&&t&&t.dispose()}dispose(){if(!this.isDisposed){this.isDisposed=!0;const t=this.current;this.current=void 0,t&&t.dispose()}}}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.CompositeDisposable=class{constructor(...t){this.isDisposed=!1,this.disposables=t}add(t){this.isDisposed?t.dispose():this.disposables.push(t)}remove(t){let e=!1;if(!this.isDisposed){const r=this.disposables.indexOf(t);-1!==r&&(e=!0,this.disposables.splice(r,1),t.dispose())}return e}clear(){if(!this.isDisposed){const t=this.disposables.length,e=new Array(t);for(let r=0;r<t;r++)e[r]=this.disposables[r];this.disposables=[];for(let r=0;r<t;r++)e[r].dispose()}}dispose(){if(!this.isDisposed){this.isDisposed=!0;const t=this.disposables.length,e=new Array(t);for(let r=0;r<t;r++)e[r]=this.disposables[r];this.disposables=[];for(let r=0;r<t;r++)e[r].dispose()}}}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,r){const n=r.getRegistry(),o=n.addSource(t,e);return{handlerId:o,unregister:function(){n.removeSource(o)}}}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const n=r(1),o=r(0),i=(r(3),["canDrag","beginDrag","isDragging","endDrag"]),s=["beginDrag"];e.default=function(t){Object.keys(t).forEach(e=>{o(i.indexOf(e)>-1,'Expected the drag source specification to only have some of the following keys: %s. Instead received a specification with an unexpected "%s" key. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html',i.join(", "),e),o("function"==typeof t[e],"Expected %s in the drag source specification to be a function. Instead received a specification with %s: %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html",e,e,t[e])}),s.forEach(e=>{o("function"==typeof t[e],"Expected %s in the drag source specification to be a function. Instead received a specification with %s: %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html",e,e,t[e])});class e{constructor(e){this.monitor=e,this.props=null,this.ref=n.createRef(),this.beginDrag=(()=>{if(this.props)return t.beginDrag(this.props,this.monitor,this.ref.current)})}receiveProps(t){this.props=t}canDrag(){return!!this.props&&(!t.canDrag||t.canDrag(this.props,this.monitor))}isDragging(e,r){return!!this.props&&(t.isDragging?t.isDragging(this.props,this.monitor):r===e.getSourceId())}endDrag(){this.props&&t.endDrag&&t.endDrag(this.props,this.monitor,this.ref.current)}}return function(t){return new e(t)}}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const n=r(0);let o=!1,i=!1;class s{constructor(t){this.internalMonitor=t.getMonitor()}receiveHandlerId(t){this.sourceId=t}canDrag(){n(!o,"You may not call monitor.canDrag() inside your canDrag() implementation. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source-monitor.html");try{return o=!0,this.internalMonitor.canDragSource(this.sourceId)}finally{o=!1}}isDragging(){n(!i,"You may not call monitor.isDragging() inside your isDragging() implementation. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source-monitor.html");try{return i=!0,this.internalMonitor.isDraggingSource(this.sourceId)}finally{i=!1}}subscribeToStateChange(t,e){return this.internalMonitor.subscribeToStateChange(t,e)}isDraggingSource(t){return this.internalMonitor.isDraggingSource(t)}isOverTarget(t,e){return this.internalMonitor.isOverTarget(t,e)}getTargetIds(){return this.internalMonitor.getTargetIds()}isSourcePublic(){return this.internalMonitor.isSourcePublic()}getSourceId(){return this.internalMonitor.getSourceId()}subscribeToOffsetChange(t){return this.internalMonitor.subscribeToOffsetChange(t)}canDragSource(t){return this.internalMonitor.canDragSource(t)}canDropOnTarget(t){return this.internalMonitor.canDropOnTarget(t)}getItemType(){return this.internalMonitor.getItemType()}getItem(){return this.internalMonitor.getItem()}getDropResult(){return this.internalMonitor.getDropResult()}didDrop(){return this.internalMonitor.didDrop()}getInitialClientOffset(){return this.internalMonitor.getInitialClientOffset()}getInitialSourceClientOffset(){return this.internalMonitor.getInitialSourceClientOffset()}getSourceClientOffset(){return this.internalMonitor.getSourceClientOffset()}getClientOffset(){return this.internalMonitor.getClientOffset()}getDifferenceFromInitialOffset(){return this.internalMonitor.getDifferenceFromInitialOffset()}}e.default=function(t){return new s(t)}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const n=r(44),o=r(18);e.default=function(t){let e,r,i,s,a,c,u;function f(){s&&(s(),s=void 0),e&&r&&(s=t.connectDragSource(e,r,i))}function d(){u&&(u(),u=void 0),e&&a&&(u=t.connectDragPreview(e,a,c))}return{receiveHandlerId:function(t){t!==e&&(e=t,f(),d())},hooks:n.default({dragSource:function(t,e){t===r&&o(e,i)||(r=t,i=e,f())},dragPreview:function(t,e){t===a&&o(e,c)||(a=t,c=e,d())}})}}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const n=r(1),o=r(0);function i(t,e){"function"==typeof t?t(e):t.current=e}e.default=function(t,e){const r=t.ref;return o("string"!=typeof r,"Cannot connect React DnD to an element with an existing string ref. Please convert it to use a callback ref instead, or wrap it into a <span> or <div>. Read more: https://facebook.github.io/react/docs/more-about-refs.html#the-ref-callback-attribute"),r?n.cloneElement(t,{ref:t=>{i(e,t),r&&i(r,t)}}):n.cloneElement(t,{ref:e})}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const n=r(17),o=r(43),i=r(155),s=r(156),a=r(157),c=r(158),u=r(45),f=r(0),d=r(3);e.default=function(t,e,r,l={}){n.default("DropTarget","type, spec, collect[, options]",t,e,r,l);let p=t;"function"!=typeof t&&(f(u.default(t,!0),'Expected "type" provided as the first argument to DropTarget to be a string, an array of strings, or a function that returns either given the current props. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target.html',t),p=(()=>t)),f(d(e),'Expected "spec" provided as the second argument to DropTarget to be a plain object. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target.html',e);const h=s.default(e);return f("function"==typeof r,'Expected "collect" provided as the third argument to DropTarget to be a function that returns a plain object of props to inject. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target.html',r),f(d(l),'Expected "options" provided as the fourth argument to DropTarget to be a plain object when specified. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target.html',r),function(t){return o.default({containerDisplayName:"DropTarget",createHandler:h,registerHandler:i.default,createMonitor:a.default,createConnector:c.default,DecoratedComponent:t,getType:p,collect:r,options:l})}}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,r){const n=r.getRegistry(),o=n.addTarget(t,e);return{handlerId:o,unregister:function(){n.removeTarget(o)}}}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const n=r(1),o=r(0),i=(r(3),["canDrop","hover","drop"]);e.default=function(t){Object.keys(t).forEach(e=>{o(i.indexOf(e)>-1,'Expected the drop target specification to only have some of the following keys: %s. Instead received a specification with an unexpected "%s" key. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target.html',i.join(", "),e),o("function"==typeof t[e],"Expected %s in the drop target specification to be a function. Instead received a specification with %s: %s. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target.html",e,e,t[e])});class e{constructor(t){this.monitor=t,this.props=null,this.ref=n.createRef()}receiveProps(t){this.props=t}receiveMonitor(t){this.monitor=t}canDrop(){return!t.canDrop||t.canDrop(this.props,this.monitor)}hover(){t.hover&&t.hover(this.props,this.monitor,this.ref.current)}drop(){if(t.drop)return t.drop(this.props,this.monitor,this.ref.current)}}return function(t){return new e(t)}}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const n=r(0);let o=!1;class i{constructor(t){this.internalMonitor=t.getMonitor()}receiveHandlerId(t){this.targetId=t}canDrop(){n(!o,"You may not call monitor.canDrop() inside your canDrop() implementation. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target-monitor.html");try{return o=!0,this.internalMonitor.canDropOnTarget(this.targetId)}finally{o=!1}}isOver(t){return this.internalMonitor.isOverTarget(this.targetId,t)}getItemType(){return this.internalMonitor.getItemType()}getItem(){return this.internalMonitor.getItem()}getDropResult(){return this.internalMonitor.getDropResult()}didDrop(){return this.internalMonitor.didDrop()}getInitialClientOffset(){return this.internalMonitor.getInitialClientOffset()}getInitialSourceClientOffset(){return this.internalMonitor.getInitialSourceClientOffset()}getSourceClientOffset(){return this.internalMonitor.getSourceClientOffset()}getClientOffset(){return this.internalMonitor.getClientOffset()}getDifferenceFromInitialOffset(){return this.internalMonitor.getDifferenceFromInitialOffset()}}e.TargetMonitor=i,e.default=function(t){return new i(t)}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const n=r(44),o=r(18);e.default=function(t){let e,r,i,s;function a(){s&&(s(),s=void 0),e&&r&&(s=t.connectDropTarget(e,r,i))}return{receiveHandlerId:function(t){t!==e&&(e=t,a())},hooks:n.default({dropTarget:function(t,e){t===r&&o(e,i)||(r=t,i=e,a())}})}}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const n=r(32);e.XYCoord=n.XYCoord}])});
\ No newline at end of file
+ */Object.defineProperty(e,"__esModule",{value:!0});var n="function"==typeof Symbol&&Symbol.for,o=n?Symbol.for("react.element"):60103,i=n?Symbol.for("react.portal"):60106,a=n?Symbol.for("react.fragment"):60107,u=n?Symbol.for("react.strict_mode"):60108,c=n?Symbol.for("react.profiler"):60114,s=n?Symbol.for("react.provider"):60109,f=n?Symbol.for("react.context"):60110,p=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,l=n?Symbol.for("react.forward_ref"):60112,h=n?Symbol.for("react.suspense"):60113,g=n?Symbol.for("react.memo"):60115,v=n?Symbol.for("react.lazy"):60116;function y(t){if("object"==typeof t&&null!==t){var e=t.$$typeof;switch(e){case o:switch(t=t.type){case p:case d:case a:case c:case u:case h:return t;default:switch(t=t&&t.$$typeof){case f:case l:case s:return t;default:return e}}case v:case g:case i:return e}}}function b(t){return y(t)===d}e.typeOf=y,e.AsyncMode=p,e.ConcurrentMode=d,e.ContextConsumer=f,e.ContextProvider=s,e.Element=o,e.ForwardRef=l,e.Fragment=a,e.Lazy=v,e.Memo=g,e.Portal=i,e.Profiler=c,e.StrictMode=u,e.Suspense=h,e.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===a||t===d||t===c||t===u||t===h||"object"==typeof t&&null!==t&&(t.$$typeof===v||t.$$typeof===g||t.$$typeof===s||t.$$typeof===f||t.$$typeof===l)},e.isAsyncMode=function(t){return b(t)||y(t)===p},e.isConcurrentMode=b,e.isContextConsumer=function(t){return y(t)===f},e.isContextProvider=function(t){return y(t)===s},e.isElement=function(t){return"object"==typeof t&&null!==t&&t.$$typeof===o},e.isForwardRef=function(t){return y(t)===l},e.isFragment=function(t){return y(t)===a},e.isLazy=function(t){return y(t)===v},e.isMemo=function(t){return y(t)===g},e.isPortal=function(t){return y(t)===i},e.isProfiler=function(t){return y(t)===c},e.isStrictMode=function(t){return y(t)===u},e.isSuspense=function(t){return y(t)===h}},function(t,e,r){"use strict";var n,o=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),i=this&&this.__assign||function(){return(i=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0});var a=r(1),u=r(19),c=r(6),s=r(29),f=r(3),p=r(0),d=r(5),l=r(30).default;e.default=function(t,e){return void 0===e&&(e={}),u.default("DragLayer","collect[, options]",t,e),p("function"==typeof t,'Expected "collect" provided as the first argument to DragLayer to be a function that collects props to inject into the component. ',"Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-layer.html",t),p(f(e),'Expected "options" provided as the second argument to DragLayer to be a plain object when specified. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-layer.html',e),function(r){var n=r,u=e.arePropsEqual,f=void 0===u?d:u,h=n.displayName||n.name||"Component",g=function(e){function u(){var t=null!==e&&e.apply(this,arguments)||this;return t.isCurrentlyMounted=!1,t.ref=a.createRef(),t.handleChange=function(){if(t.isCurrentlyMounted){var e=t.getCurrentState();d(e,t.state)||t.setState(e)}},t}return o(u,e),u.prototype.getDecoratedComponentInstance=function(){return p(this.ref.current,"In order to access an instance of the decorated component it can not be a stateless component."),this.ref.current},u.prototype.shouldComponentUpdate=function(t,e){return!f(t,this.props)||!d(e,this.state)},u.prototype.componentDidMount=function(){this.isCurrentlyMounted=!0,this.handleChange()},u.prototype.componentWillUnmount=function(){this.isCurrentlyMounted=!1,this.unsubscribeFromOffsetChange&&(this.unsubscribeFromOffsetChange(),this.unsubscribeFromOffsetChange=void 0),this.unsubscribeFromStateChange&&(this.unsubscribeFromStateChange(),this.unsubscribeFromStateChange=void 0)},u.prototype.render=function(){var t=this;return a.createElement(c.Consumer,null,function(e){var r=e.dragDropManager;return void 0===r?null:(t.receiveDragDropManager(r),t.isCurrentlyMounted?a.createElement(n,i({},t.props,t.state,{ref:l(n)?t.ref:void 0})):null)})},u.prototype.receiveDragDropManager=function(t){if(void 0===this.manager){this.manager=t,p("object"==typeof t,"Could not find the drag and drop manager in the context of %s. Make sure to wrap the top-level component of your app with DragDropContext. Read more: http://react-dnd.github.io/react-dnd/docs-troubleshooting.html#could-not-find-the-drag-and-drop-manager-in-the-context",h,h);var e=this.manager.getMonitor();this.unsubscribeFromOffsetChange=e.subscribeToOffsetChange(this.handleChange),this.unsubscribeFromStateChange=e.subscribeToStateChange(this.handleChange)}},u.prototype.getCurrentState=function(){if(!this.manager)return{};var e=this.manager.getMonitor();return t(e,this.props)},u.displayName="DragLayer("+h+")",u.DecoratedComponent=r,u}(a.Component);return s(g,r)}}},function(t,e,r){var n=r(150)(Object.getPrototypeOf,Object);t.exports=n},function(t,e){t.exports=function(t,e){return function(r){return t(e(r))}}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(19),o=r(44),i=r(45),a=r(156),u=r(46),c=r(157),s=r(48),f=r(0),p=r(3);e.default=function(t,e,r,d){void 0===d&&(d={}),n.default("DragSource","type, spec, collect[, options]",t,e,r,d);var l=t;"function"!=typeof t&&(f(s.default(t),'Expected "type" provided as the first argument to DragSource to be a string, or a function that returns a string given the current props. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html',t),l=function(){return t}),f(p(e),'Expected "spec" provided as the second argument to DragSource to be a plain object. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html',e);var h=a.default(e);return f("function"==typeof r,'Expected "collect" provided as the third argument to DragSource to be a function that returns a plain object of props to inject. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html',r),f(p(d),'Expected "options" provided as the fourth argument to DragSource to be a plain object when specified. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html',r),function(t){return o.default({containerDisplayName:"DragSource",createHandler:h,registerHandler:i.default,createMonitor:function(t){return new u.default(t)},createConnector:c.default,DecoratedComponent:t,getType:l,collect:r,options:d})}}},function(t,e,r){"use strict";function n(t){for(var r in t)e.hasOwnProperty(r)||(e[r]=t[r])}Object.defineProperty(e,"__esModule",{value:!0}),n(r(153)),n(r(154)),n(r(155))},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(22),o=r(42),i=function(){function t(t){this.isDisposed=!1,this.action=n(t)?t:o}return t.isDisposable=function(t){return t&&n(t.dispose)},t._fixup=function(e){return t.isDisposable(e)?e:t.empty},t.create=function(e){return new t(e)},t.prototype.dispose=function(){this.isDisposed||(this.action(),this.isDisposed=!0)},t.empty={dispose:o},t}();e.Disposable=i},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(){this.isDisposed=!1}return t.prototype.getDisposable=function(){return this.current},t.prototype.setDisposable=function(t){var e=this.isDisposed;if(!e){var r=this.current;this.current=t,r&&r.dispose()}e&&t&&t.dispose()},t.prototype.dispose=function(){if(!this.isDisposed){this.isDisposed=!0;var t=this.current;this.current=void 0,t&&t.dispose()}},t}();e.SerialDisposable=n},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this.isDisposed=!1,this.disposables=t}return t.prototype.add=function(t){this.isDisposed?t.dispose():this.disposables.push(t)},t.prototype.remove=function(t){var e=!1;if(!this.isDisposed){var r=this.disposables.indexOf(t);-1!==r&&(e=!0,this.disposables.splice(r,1),t.dispose())}return e},t.prototype.clear=function(){if(!this.isDisposed){for(var t=this.disposables.length,e=new Array(t),r=0;r<t;r++)e[r]=this.disposables[r];this.disposables=[];for(r=0;r<t;r++)e[r].dispose()}},t.prototype.dispose=function(){if(!this.isDisposed){this.isDisposed=!0;for(var t=this.disposables.length,e=new Array(t),r=0;r<t;r++)e[r]=this.disposables[r];this.disposables=[];for(r=0;r<t;r++)e[r].dispose()}},t}();e.CompositeDisposable=n},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(1),o=r(0),i=(r(3),["canDrag","beginDrag","isDragging","endDrag"]),a=["beginDrag"];e.default=function(t){Object.keys(t).forEach(function(e){o(i.indexOf(e)>-1,'Expected the drag source specification to only have some of the following keys: %s. Instead received a specification with an unexpected "%s" key. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html',i.join(", "),e),o("function"==typeof t[e],"Expected %s in the drag source specification to be a function. Instead received a specification with %s: %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html",e,e,t[e])}),a.forEach(function(e){o("function"==typeof t[e],"Expected %s in the drag source specification to be a function. Instead received a specification with %s: %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html",e,e,t[e])});var e=function(){function e(e){var r=this;this.monitor=e,this.props=null,this.ref=n.createRef(),this.beginDrag=function(){if(r.props)return t.beginDrag(r.props,r.monitor,r.ref.current)}}return e.prototype.receiveProps=function(t){this.props=t},e.prototype.canDrag=function(){return!!this.props&&(!t.canDrag||t.canDrag(this.props,this.monitor))},e.prototype.isDragging=function(e,r){return!!this.props&&(t.isDragging?t.isDragging(this.props,this.monitor):r===e.getSourceId())},e.prototype.endDrag=function(){this.props&&t.endDrag&&t.endDrag(this.props,this.monitor,this.ref.current)},e}();return function(t){return new e(t)}}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(47),o=r(5);e.default=function(t){var e,r,i,a,u,c,s;function f(){a&&(a(),a=void 0),e&&r&&(a=t.connectDragSource(e,r,i))}function p(){s&&(s(),s=void 0),e&&u&&(s=t.connectDragPreview(e,u,c))}return{receiveHandlerId:function(t){t!==e&&(e=t,f(),p())},hooks:n.default({dragSource:function(t,e){t===r&&o(e,i)||(r=t,i=e,f())},dragPreview:function(t,e){t===u&&o(e,c)||(u=t,c=e,p())}})}}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(1),o=r(0);function i(t,e){"function"==typeof t?t(e):t.current=e}e.default=function(t,e){var r=t.ref;return o("string"!=typeof r,"Cannot connect React DnD to an element with an existing string ref. Please convert it to use a callback ref instead, or wrap it into a <span> or <div>. Read more: https://facebook.github.io/react/docs/more-about-refs.html#the-ref-callback-attribute"),r?n.cloneElement(t,{ref:function(t){i(e,t),r&&i(r,t)}}):n.cloneElement(t,{ref:e})}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(19),o=r(44),i=r(49),a=r(160),u=r(161),c=r(48),s=r(50),f=r(0),p=r(3);e.default=function(t,e,r,d){void 0===d&&(d={}),n.default("DropTarget","type, spec, collect[, options]",t,e,r,d);var l=t;"function"!=typeof t&&(f(c.default(t,!0),'Expected "type" provided as the first argument to DropTarget to be a string, an array of strings, or a function that returns either given the current props. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target.html',t),l=function(){return t}),f(p(e),'Expected "spec" provided as the second argument to DropTarget to be a plain object. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target.html',e);var h=a.default(e);return f("function"==typeof r,'Expected "collect" provided as the third argument to DropTarget to be a function that returns a plain object of props to inject. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target.html',r),f(p(d),'Expected "options" provided as the fourth argument to DropTarget to be a plain object when specified. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target.html',r),function(t){return o.default({containerDisplayName:"DropTarget",createHandler:h,registerHandler:i.default,createMonitor:function(t){return new s.default(t)},createConnector:u.default,DecoratedComponent:t,getType:l,collect:r,options:d})}}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(1),o=r(0),i=(r(3),["canDrop","hover","drop"]);e.default=function(t){Object.keys(t).forEach(function(e){o(i.indexOf(e)>-1,'Expected the drop target specification to only have some of the following keys: %s. Instead received a specification with an unexpected "%s" key. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target.html',i.join(", "),e),o("function"==typeof t[e],"Expected %s in the drop target specification to be a function. Instead received a specification with %s: %s. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target.html",e,e,t[e])});var e=function(){function e(t){this.monitor=t,this.props=null,this.ref=n.createRef()}return e.prototype.receiveProps=function(t){this.props=t},e.prototype.receiveMonitor=function(t){this.monitor=t},e.prototype.canDrop=function(){return!t.canDrop||t.canDrop(this.props,this.monitor)},e.prototype.hover=function(){t.hover&&t.hover(this.props,this.monitor,this.ref.current)},e.prototype.drop=function(){if(t.drop)return t.drop(this.props,this.monitor,this.ref.current)},e}();return function(t){return new e(t)}}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(47),o=r(5);e.default=function(t){var e,r,i,a;function u(){a&&(a(),a=void 0),e&&r&&(a=t.connectDropTarget(e,r,i))}return{receiveHandlerId:function(t){t!==e&&(e=t,u())},hooks:n.default({dropTarget:function(t,e){t===r&&o(e,i)||(r=t,i=e,u())}})}}},function(t,e,r){"use strict";function n(t){for(var r in t)e.hasOwnProperty(r)||(e[r]=t[r])}Object.defineProperty(e,"__esModule",{value:!0}),n(r(163)),n(r(167)),n(r(170))},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(1),o=r(164),i=r(31),a=r(165),u=r(51),c=r(166);e.useDragSource=function(t,e,r){var s=i.useDragDropManager(),f=s.getBackend(),p=o.useDragSourceHandler(r),d=c.useDragSourceMonitor(e,p,s);n.useEffect(function(){var e=t.current,n=r.dragSourceOptions;return f.connectDragSource(d.getHandlerId(),e,n)},[]),n.useEffect(function(){if(null!=r.dragPreview){var t=a.isRef(r.dragPreview)?r.dragPreview.current:r.dragPreview,e=r.dragPreviewOptions;return f.connectDragPreview(d.getHandlerId(),t,e)}},[]);var l=r.collect||function(){return{}};return u.useMonitorOutput(d,l)}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(1);e.useDragSourceHandler=function(t){var e=n.useRef(t);return n.useEffect(function(){e.current=t}),n.useMemo(function(){return{beginDrag:function(t,r){return(0,e.current.beginDrag)(t)},canDrag:function(t,r){var n=e.current.canDrag;return!n||n(t)},isDragging:function(t,r){var n=e.current.isDragging;return n?n(t):r===t.getSourceId()},endDrag:function(t,r){var n=e.current.endDrag;n&&n(t)}}},[])}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isRef=function(t){if(null!==t&&"object"==typeof t){var e=Object.keys(t);return 1===e.length&&"current"===e[0]}return!1}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(1),o=r(45),i=r(46);e.useDragSourceMonitor=function(t,e,r){var a=n.useMemo(function(){return new i.default(r)},[r]);return n.useEffect(function(){var n=o.default(t,e,r),i=n.handlerId,u=n.unregister;return a.receiveHandlerId(i),u},[a]),a}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(1),o=r(31),i=r(168),a=r(51),u=r(169);e.useDropTarget=function(t,e,r){var c=o.useDragDropManager(),s=c.getBackend(),f=i.useDropTargetHandler(r),p=u.useDropTargetMonitor(e,f,c);n.useEffect(function(){var e=t.current;if(e){var n=r.dropTargetOptions;return s.connectDropTarget(p.getHandlerId(),e,n)}},[]);var d=r.collect||function(){return{}};return a.useMonitorOutput(p,d)}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(1);e.useDropTargetHandler=function(t){var e=n.useRef(t);return n.useEffect(function(){e.current=t}),n.useMemo(function(){return{canDrop:function(t,r){var n=e.current.canDrop;return!n||n(t)},hover:function(t,r){var n=e.current.hover;n&&n(t)},drop:function(t,r){var n=e.current.drop;n&&n(t)}}},[])}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(1),o=r(49),i=r(50);e.useDropTargetMonitor=function(t,e,r){var a=n.useMemo(function(){return new i.default(r)},[r]);return n.useEffect(function(){var n=o.default(t,e,r),i=n.handlerId,u=n.unregister;return a.receiveHandlerId(i),u},[a]),a}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(1),o=r(31),i=r(52);e.useDragLayer=function(t){var e=o.useDragDropManager().getMonitor(),r=i.useCollector(e,t),a=r[0],u=r[1];return n.useEffect(function(){return e.subscribeToOffsetChange(u)}),n.useEffect(function(){return e.subscribeToStateChange(u)}),a}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(33);e.XYCoord=n.XYCoord}])});
\ No newline at end of file