vendor: 21,911 bytes, line 1
1"use strict";(globalThis.webpackChunkpod001_frontend=globalThis.webpackChunkpod001_frontend||[]).push([[2090],{25237:function(e,t,r){var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},n(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)},a=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};Object.defineProperty(t,"__esModule",{value:!0});var s=r(67294),c=r(20369),u=r(96395),d=r(89745),p=r(41143),f=r(8679);function l(e,t,r){return{dragDropManager:c.createDragDropManager(e,t,r)}}t.context=s.createContext({dragDropManager:void 0}),t.Consumer=t.context.Consumer,t.Provider=t.context.Provider,t.createChildContext=l,t.DragDropContextProvider=function(e){var r=e.children,n=a(e,["children"]),o="manager"in n?{dragDropManager:n.manager}:l(n.backend,n.context,n.debugMode);return s.createElement(t.Provider,{value:o},r)},t.DragDropContext=function(e,r,n){u.default("DragDropContext","backend",e);var a=l(e,r,n);return function(e){var r=e,n=r.displayName||r.name||"Component",c=function(c){function u(){var e=null!==c&&c.apply(this,arguments)||this;return e.ref=s.createRef(),e.getManager=function(){return a.dragDropManager},e}return o(u,c),u.prototype.getDecoratedComponentInstance=function(){return p(this.ref.current,"In order to access an instance of the decorated component, it must either be a class component or use React.forwardRef()"),this.ref.current},u.prototype.render=function(){return s.createElement(t.Provider,{value:a},s.createElement(r,i({},this.props,{ref:d.isRefable(r)?this.ref:null})))},u.DecoratedComponent=e,u.displayName="DragDropContext("+n+")",u}(s.Component);return f(c,e)}}},28202:function(e,t,r){var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},n(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var a=r(67294),s=r(96395),c=r(25237),u=r(89745),d=r(53924),p=r(8679),f=r(41143),l=r(96774);t.default=function(e,t){return void 0===t&&(t={}),s.default("DragLayer","collect[, options]",e,t),f("function"==typeof e,'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/api/drag-layer",e),f(d.isPlainObject(t),'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/api/drag-layer',t),function(r){var n=r,s=t.arePropsEqual,d=void 0===s?l:s,h=n.displayName||n.name||"Component",g=function(t){function s(){var e=null!==t&&t.apply(this,arguments)||this;return e.isCurrentlyMounted=!1,e.ref=a.createRef(),e.handleChange=function(){if(e.isCurrentlyMounted){var t=e.getCurrentState();l(t,e.state)||e.setState(t)}},e}return o(s,t),s.prototype.getDecoratedComponentInstance=function(){return f(this.ref.current,"In order to access an instance of the decorated component, it must either be a class component or use React.forwardRef()"),this.ref.current},s.prototype.shouldComponentUpdate=function(e,t){return!d(e,this.props)||!l(t,this.state)},s.prototype.componentDidMount=function(){this.isCurrentlyMounted=!0,this.handleChange()},s.prototype.componentWillUnmount=function(){this.isCurrentlyMounted=!1,this.unsubscribeFromOffsetChange&&(this.unsubscribeFromOffsetChange(),this.unsubscribeFromOffsetChange=void 0),this.unsubscribeFromStateChange&&(this.unsubscribeFromStateChange(),this.unsubscribeFromStateChange=void 0)},s.prototype.render=function(){var e=this;return a.createElement(c.Consumer,null,function(t){var r=t.dragDropManager;return void 0===r?null:(e.receiveDragDropManager(r),e.isCurrentlyMounted?a.createElement(n,i({},e.props,e.state,{ref:u.isRefable(n)?e.ref:null})):null)})},s.prototype.receiveDragDropManager=function(e){if(void 0===this.manager){this.manager=e,f("object"==typeof e,"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#could-not-find-the-drag-and-drop-manager-in-the-context",h,h);var t=this.manager.getMonitor();this.unsubscribeFromOffsetChange=t.subscribeToOffsetChange(this.handleChange),this.unsubscribeFromStateChange=t.subscribeToStateChange(this.handleChange)}},s.prototype.getCurrentState=function(){if(!this.manager)return{};var t=this.manager.getMonitor();return e(t,this.props)},s.displayName="DragLayer("+h+")",s.DecoratedComponent=r,s}(a.Component);return p(g,r)}}},44319:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0});var n=r(67294).memo(function(e){var t=e.connect,r=e.src;if("undefined"!=typeof Image){var n=new Image;n.src=r,n.onload=function(){return t(n)}}return null});n.displayName="DragPreviewImage",t.default=n},50793:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0});var n=r(96395),o=r(42742),i=r(10513),a=r(26706),s=r(91081),c=r(47277),u=r(70942),d=r(53924),p=r(41143);t.default=function(e,t,r,f){void 0===f&&(f={}),n.default("DragSource","type, spec, collect[, options]",e,t,r,f);var l=e;"function"!=typeof e&&(p(u.default(e),'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/api/drag-source',e),l=function(){return e}),p(d.isPlainObject(t),'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/api/drag-source',t);var h=a.default(t);return p("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/api/drag-source',r),p(d.isPlainObject(f),'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/api/drag-source',r),function(e){return o.default({containerDisplayName:"DragSource",createHandler:h,registerHandler:i.default,createConnector:function(e){return new c.default(e)},createMonitor:function(e){return new s.default(e)},DecoratedComponent:e,getType:l,collect:r,options:f})}}},91081:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0});var n=r(41143),o=!1,i=!1,a=function(){function e(e){this.sourceId=null,this.internalMonitor=e.getMonitor()}return e.prototype.receiveHandlerId=function(e){this.sourceId=e},e.prototype.getHandlerId=function(){return this.sourceId},e.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/api/drag-source-monitor");try{return o=!0,this.internalMonitor.canDragSource(this.sourceId)}finally{o=!1}},e.prototype.isDragging=function(){if(!this.sourceId)return!1;n(!i,"You may not call monitor.isDragging() inside your isDragging() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source-monitor");try{return i=!0,this.internalMonitor.isDraggingSource(this.sourceId)}finally{i=!1}},e.prototype.subscribeToStateChange=function(e,t){return this.internalMonitor.subscribeToStateChange(e,t)},e.prototype.isDraggingSource=function(e){return this.internalMonitor.isDraggingSource(e)},e.prototype.isOverTarget=function(e,t){return this.internalMonitor.isOverTarget(e,t)},e.prototype.getTargetIds=function(){return this.internalMonitor.getTargetIds()},e.prototype.isSourcePublic=function(){return this.internalMonitor.isSourcePublic()},e.prototype.getSourceId=function(){return this.internalMonitor.getSourceId()},e.prototype.subscribeToOffsetChange=function(e){return this.internalMonitor.subscribeToOffsetChange(e)},e.prototype.canDragSource=function(e){return this.internalMonitor.canDragSource(e)},e.prototype.canDropOnTarget=function(e){return this.internalMonitor.canDropOnTarget(e)},e.prototype.getItemType=function(){return this.internalMonitor.getItemType()},e.prototype.getItem=function(){return this.internalMonitor.getItem()},e.prototype.getDropResult=function(){return this.internalMonitor.getDropResult()},e.prototype.didDrop=function(){return this.internalMonitor.didDrop()},e.prototype.getInitialClientOffset=function(){return this.internalMonitor.getInitialClientOffset()},e.prototype.getInitialSourceClientOffset=function(){return this.internalMonitor.getInitialSourceClientOffset()},e.prototype.getSourceClientOffset=function(){return this.internalMonitor.getSourceClientOffset()},e.prototype.getClientOffset=function(){return this.internalMonitor.getClientOffset()},e.prototype.getDifferenceFromInitialOffset=function(){return this.internalMonitor.getDifferenceFromInitialOffset()},e}();t.default=a},6059:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0});var n=r(96395),o=r(42742),i=r(48537),a=r(29492),s=r(70942),c=r(96177),u=r(50986),d=r(53924),p=r(41143);t.default=function(e,t,r,f){void 0===f&&(f={}),n.default("DropTarget","type, spec, collect[, options]",e,t,r,f);var l=e;"function"!=typeof e&&(p(s.default(e,!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/api/drop-target',e),l=function(){return e}),p(d.isPlainObject(t),'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/api/drop-target',t);var h=a.default(t);return p("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/api/drop-target',r),p(d.isPlainObject(f),'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/api/drop-target',r),function(e){return o.default({containerDisplayName:"DropTarget",createHandler:h,registerHandler:i.default,createMonitor:function(e){return new c.default(e)},createConnector:function(e){return new u.default(e)},DecoratedComponent:e,getType:l,collect:r,options:f})}}},96177:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0});var n=r(41143),o=!1,i=function(){function e(e){this.targetId=null,this.internalMonitor=e.getMonitor()}return e.prototype.receiveHandlerId=function(e){this.targetId=e},e.prototype.getHandlerId=function(){return this.targetId},e.prototype.subscribeToStateChange=function(e,t){return this.internalMonitor.subscribeToStateChange(e,t)},e.prototype.canDrop=function(){if(!this.targetId)return!1;n(!o,"You may not call monitor.canDrop() inside your canDrop() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drop-target-monitor");try{return o=!0,this.internalMonitor.canDropOnTarget(this.targetId)}finally{o=!1}},e.prototype.isOver=function(e){return!!this.targetId&&this.internalMonitor.isOverTarget(this.targetId,e)},e.prototype.getItemType=function(){return this.internalMonitor.getItemType()},e.prototype.getItem=function(){return this.internalMonitor.getItem()},e.prototype.getDropResult=function(){return this.internalMonitor.getDropResult()},e.prototype.didDrop=function(){return this.internalMonitor.didDrop()},e.prototype.getInitialClientOffset=function(){return this.internalMonitor.getInitialClientOffset()},e.prototype.getInitialSourceClientOffset=function(){return this.internalMonitor.getInitialSourceClientOffset()},e.prototype.getSourceClientOffset=function(){return this.internalMonitor.getSourceClientOffset()},e.prototype.getClientOffset=function(){return this.internalMonitor.getClientOffset()},e.prototype.getDifferenceFromInitialOffset=function(){return this.internalMonitor.getDifferenceFromInitialOffset()},e}();t.default=i},47277:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0});var n=r(65435),o=r(65525),i=r(96774),a=function(){function e(e){var t=this;this.backend=e,this.hooks=n.default({dragSource:function(e,r){t.dragSourceOptions=r||null,o.isRef(e)?t.dragSourceRef=e:t.dragSourceNode=e,t.reconnectDragSource()},dragPreview:function(e,r){t.dragPreviewOptions=r||null,o.isRef(e)?t.dragPreviewRef=e:t.dragPreviewNode=e,t.reconnectDragPreview()}}),this.handlerId=null,this.dragSourceRef=null,this.dragSourceOptionsInternal=null,this.dragPreviewRef=null,this.dragPreviewOptionsInternal=null,this.lastConnectedHandlerId=null,this.lastConnectedDragSource=null,this.lastConnectedDragSourceOptions=null,this.lastConnectedDragPreview=null,this.lastConnectedDragPreviewOptions=null}return e.prototype.receiveHandlerId=function(e){this.handlerId!==e&&(this.handlerId=e,this.reconnect())},Object.defineProperty(e.prototype,"connectTarget",{get:function(){return this.dragSource},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dragSourceOptions",{get:function(){return this.dragSourceOptionsInternal},set:function(e){this.dragSourceOptionsInternal=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dragPreviewOptions",{get:function(){return this.dragPreviewOptionsInternal},set:function(e){this.dragPreviewOptionsInternal=e},enumerable:!0,configurable:!0}),e.prototype.reconnect=function(){this.reconnectDragSource(),this.reconnectDragPreview()},e.prototype.reconnectDragSource=function(){var e=this.didHandlerIdChange()||this.didConnectedDragSourceChange()||this.didDragSourceOptionsChange();e&&this.disconnectDragSource();var t=this.dragSource;this.handlerId&&(t?e&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDragSource=t,this.lastConnectedDragSourceOptions=this.dragSourceOptions,this.dragSourceUnsubscribe=this.backend.connectDragSource(this.handlerId,t,this.dragSourceOptions)):this.lastConnectedDragSource=t)},e.prototype.reconnectDragPreview=function(){var e=this.didHandlerIdChange()||this.didConnectedDragPreviewChange()||this.didDragPreviewOptionsChange();e&&this.disconnectDragPreview();var t=this.dragPreview;this.handlerId&&t&&e&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDragPreview=t,this.lastConnectedDragPreviewOptions=this.dragPreviewOptions,this.dragPreviewUnsubscribe=this.backend.connectDragPreview(this.handlerId,t,this.dragPreviewOptions))},e.prototype.didHandlerIdChange=function(){return this.lastConnectedHandlerId!==this.handlerId},e.prototype.didConnectedDragSourceChange=function(){return this.lastConnectedDragSource!==this.dragSource},e.prototype.didConnectedDragPreviewChange=function(){return this.lastConnectedDragPreview!==this.dragPreview},e.prototype.didDragSourceOptionsChange=function(){return!i(this.lastConnectedDragSourceOptions,this.dragSourceOptions)},e.prototype.didDragPreviewOptionsChange=function(){return!i(this.lastConnectedDragPreviewOptions,this.dragPreviewOptions)},e.prototype.disconnectDragSource=function(){this.dragSourceUnsubscribe&&(this.dragSourceUnsubscribe(),this.dragSourceUnsubscribe=void 0,this.dragPreviewNode=null,this.dragPreviewRef=null)},e.prototype.disconnectDragPreview=function(){this.dragPreviewUnsubscribe&&(this.dragPreviewUnsubscribe(),this.dragPreviewUnsubscribe=void 0,this.dragPreviewNode=null,this.dragPreviewRef=null)},Object.defineProperty(e.prototype,"dragSource",{get:function(){return this.dragSourceNode||this.dragSourceRef&&this.dragSourceRef.current},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dragPreview",{get:function(){return this.dragPreviewNode||this.dragPreviewRef&&this.dragPreviewRef.current},enumerable:!0,configurable:!0}),e}();t.default=a},50986:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0});var n=r(65435),o=r(65525),i=r(96774),a=function(){function e(e){var t=this;this.backend=e,this.hooks=n.default({dropTarget:function(e,r){t.dropTargetOptions=r,o.isRef(e)?t.dropTargetRef=e:t.dropTargetNode=e,t.reconnect()}}),this.handlerId=null,this.dropTargetRef=null,this.dropTargetOptionsInternal=null,this.lastConnectedHandlerId=null,this.lastConnectedDropTarget=null,this.lastConnectedDropTargetOptions=null}return Object.defineProperty(e.prototype,"connectTarget",{get:function(){return this.dropTarget},enumerable:!0,configurable:!0}),e.prototype.reconnect=function(){var e=this.didHandlerIdChange()||this.didDropTargetChange()||this.didOptionsChange();e&&this.disconnectDropTarget();var t=this.dropTarget;this.handlerId&&(t?e&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDropTarget=t,this.lastConnectedDropTargetOptions=this.dropTargetOptions,this.unsubscribeDropTarget=this.backend.connectDropTarget(this.handlerId,t,this.dropTargetOptions)):this.lastConnectedDropTarget=t)},e.prototype.receiveHandlerId=function(e){e!==this.handlerId&&(this.handlerId=e,this.reconnect())},Object.defineProperty(e.prototype,"dropTargetOptions",{get:function(){return this.dropTargetOptionsInternal},set:function(e){this.dropTargetOptionsInternal=e},enumerable:!0,configurable:!0}),e.prototype.didHandlerIdChange=function(){return this.lastConnectedHandlerId!==this.handlerId},e.prototype.didDropTargetChange=function(){return this.lastConnectedDropTarget!==this.dropTarget},e.prototype.didOptionsChange=function(){return!i(this.lastConnectedDropTargetOptions,this.dropTargetOptions)},e.prototype.disconnectDropTarget=function(){this.unsubscribeDropTarget&&(this.unsubscribeDropTarget(),this.unsubscribeDropTarget=void 0)},Object.defineProperty(e.prototype,"dropTarget",{get:function(){return this.dropTargetNode||this.dropTargetRef&&this.dropTargetRef.current},enumerable:!0,configurable:!0}),e}();t.default=a},26706:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0});var n=r(87943),o=(r(53924),r(41143)),i=["canDrag","beginDrag","isDragging","endDrag"],a=["beginDrag"],s=function(){function e(e,t,r){var n=this;this.spec=e,this.monitor=t,this.ref=r,this.props=null,this.beginDrag=function(){if(n.props)return n.spec.beginDrag(n.props,n.monitor,n.ref.current)}}return e.prototype.receiveProps=function(e){this.props=e},e.prototype.canDrag=function(){return!!this.props&&(!this.spec.canDrag||this.spec.canDrag(this.props,this.monitor))},e.prototype.isDragging=function(e,t){return!!this.props&&(this.spec.isDragging?this.spec.isDragging(this.props,this.monitor):t===e.getSourceId())},e.prototype.endDrag=function(){this.props&&this.spec.endDrag&&this.spec.endDrag(this.props,this.monitor,n.getDecoratedComponent(this.ref))},e}();t.default=function(e){return Object.keys(e).forEach(function(t){o(i.indexOf(t)>-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/api/drag-source',i.join(", "),t),o("function"==typeof e[t],"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/api/drag-source",t,t,e[t])}),a.forEach(function(t){o("function"==typeof e[t],"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/api/drag-source",t,t,e[t])}),function(t,r){return new s(e,t,r)}}},29492:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0});var n=r(87943),o=(r(53924),r(41143)),i=["canDrop","hover","drop"],a=function(){function e(e,t,r){this.spec=e,this.monitor=t,this.ref=r,this.props=null}return e.prototype.receiveProps=function(e){this.props=e},e.prototype.receiveMonitor=function(e){this.monitor=e},e.prototype.canDrop=function(){return!this.spec.canDrop||this.spec.canDrop(this.props,this.monitor)},e.prototype.hover=function(){this.spec.hover&&this.spec.hover(this.props,this.monitor,n.getDecoratedComponent(this.ref))},e.prototype.drop=function(){if(this.spec.drop)return this.spec.drop(this.props,this.monitor,this.ref.current)},e}();t.default=function(e){return Object.keys(e).forEach(function(t){o(i.indexOf(t)>-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/api/drop-target',i.join(", "),t),o("function"==typeof e[t],"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/api/drop-target",t,t,e[t])}),function(t,r){return new a(e,t,r)}}},42742:function(e,t,r){var n,o=this&&this.__extends||(n=function(e,t){return n=Object.
1setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},n(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var a=r(67294),s=r(25237),c=r(86998),u=r(89745),d=(r(53924),r(41143)),p=r(8679),f=r(96774);t.default=function(e){var t=e.DecoratedComponent,r=e.createHandler,n=e.createMonitor,l=e.createConnector,h=e.registerHandler,g=e.containerDisplayName,v=e.getType,y=e.collect,b=e.options.arePropsEqual,D=void 0===b?f:b,m=t,O=t.displayName||t.name||"Component",C=function(e){function p(t){var r=e.call(this,t)||this;return r.decoratedRef=a.createRef(),r.handleChange=function(){var e=r.getCurrentState();f(e,r.state)||r.setState(e)},r.disposable=new c.SerialDisposable,r.receiveProps(t),r.dispose(),r}return o(p,e),p.prototype.getHandlerId=function(){return this.handlerId},p.prototype.getDecoratedComponentInstance=function(){return d(this.decoratedRef.current,"In order to access an instance of the decorated component, it must either be a class component or use React.forwardRef()"),this.decoratedRef.current},p.prototype.shouldComponentUpdate=function(e,t){return!D(e,this.props)||!f(t,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(e){D(this.props,e)||(this.receiveProps(this.props),this.handleChange())},p.prototype.componentWillUnmount=function(){this.dispose()},p.prototype.receiveProps=function(e){this.handler&&(this.handler.receiveProps(e),this.receiveType(v(e)))},p.prototype.receiveType=function(e){if(this.handlerMonitor&&this.manager&&this.handlerConnector&&e!==this.currentType){this.currentType=e;var t=h(e,this.handler,this.manager),r=t[0],n=t[1];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,this.props):{}},p.prototype.render=function(){var e=this;return a.createElement(s.Consumer,null,function(t){var r=t.dragDropManager;return e.receiveDragDropManager(r),"undefined"!=typeof requestAnimationFrame&&requestAnimationFrame(function(){return e.handlerConnector.reconnect()}),a.createElement(m,i({},e.props,e.getCurrentState(),{ref:u.isRefable(m)?e.decoratedRef:null}))})},p.prototype.receiveDragDropManager=function(e){void 0===this.manager&&(d(void 0!==e,"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#could-not-find-the-drag-and-drop-manager-in-the-context",O,O),void 0!==e&&(this.manager=e,this.handlerMonitor=n(e),this.handlerConnector=l(e.getBackend()),this.handler=r(this.handlerMonitor,this.decoratedRef)))},p.DecoratedComponent=t,p.displayName=g+"("+O+")",p}(a.Component);return p(C,t)}},76108:(e,t,r)=>{function n(e){for(var r in e)t.hasOwnProperty(r)||(t[r]=e[r])}Object.defineProperty(t,"__esModule",{value:!0}),n(r(74399)),n(r(87559)),n(r(59296))},41365:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0});var n=r(67294),o=r(10513),i=r(98008),a=r(91081),s=r(47277),c=r(41143);t.useDragSourceMonitor=function(){var e=i.useDragDropManager();return[n.useMemo(function(){return new a.default(e)},[e]),n.useMemo(function(){return new s.default(e.getBackend())},[e])]},t.useDragHandler=function(e,t,r){var a=i.useDragDropManager(),s=n.useMemo(function(){return{beginDrag:function(){var r=e.current,n=r.begin,o=r.item;if(n){var i=n(t);return c(null==i||"object"==typeof i,"dragSpec.begin() must either return an object, undefined, or null"),i||o||{}}return o||{}},canDrag:function(){return"boolean"==typeof e.current.canDrag?e.current.canDrag:"function"!=typeof e.current.canDrag||e.current.canDrag(t)},isDragging:function(r,n){var o=e.current.isDragging;return o?o(t):n===r.getSourceId()},endDrag:function(){var n=e.current.end;n&&n(t.getItem(),t),r.reconnect()}}},[]);n.useEffect(function(){var n=o.default(e.current.item.type,s,a),i=n[0],c=n[1];return t.receiveHandlerId(i),r.receiveHandlerId(i),c},[])}},87458:(e,t,r)=>
1{Object.defineProperty(t,"__esModule",{value:!0});var n=r(67294),o=r(48537),i=r(98008),a=r(50986),s=r(96177);t.useDropTargetMonitor=function(){var e=i.useDragDropManager();return[n.useMemo(function(){return new s.default(e)},[e]),n.useMemo(function(){return new a.default(e.getBackend())},[e])]},t.useDropHandler=function(e,t,r){var a=i.useDragDropManager(),s=n.useMemo(function(){return{canDrop:function(){var r=e.current.canDrop;return!r||r(t.getItem(),t)},hover:function(){var r=e.current.hover;r&&r(t.getItem(),t)},drop:function(){var r=e.current.drop;if(r)return r(t.getItem(),t)}}},[t]);n.useEffect(function(){var n=o.default(e.current.accept,s,a),i=n[0],c=n[1];return t.receiveHandlerId(i),r.receiveHandlerId(i),c},[t,r])}},65353:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0});var n=r(96774),o=r(67294);t.useCollector=function(e,t,r){var i=o.useState(function(){return t(e)}),a=i[0],s=i[1],c=o.useCallback(function(){var o=t(e);n(a,o)||(s(o),r&&r())},[a,e,r]);return[a,c]}},98008:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0});var n=r(67294),o=r(25237),i=r(41143);t.useDragDropManager=function(){var e=n.useContext(o.context).dragDropManager;return i(null!=e,"Expected drag drop context"),e}},79411:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0});var n=r(67294),o=r(65353);t.useMonitorOutput=function(e,t,r){var i=o.useCollector(e,t,r),a=i[0],s=i[1];return n.useEffect(function(){var t=e.getHandlerId();if(null!=t)return e.subscribeToStateChange(s,{handlerIds:[t]})},[e,s]),a}},74399:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0});var n=r(79411),o=r(41365),i=r(67294),a=r(41143);t.useDrag=function(e){var t=i.useRef(e);t.current=e,a(null!=e.item,"item must be defined"),a(null!=e.item.type,"item type must be defined");var r=o.useDragSourceMonitor(),s=r[0],c=r[1];o.useDragHandler(t,s,c);var u=n.useMonitorOutput(s,t.current.collect||function(){return{}},function(){return c.reconnect()}),d=i.useMemo(function(){return c.hooks.dragSource()},[c]),p=i.useMemo(function(){return c.hooks.dragPreview()},[c]);return i.useEffect(function(){c.dragSourceOptions=t.current.options||null,c.reconnect()},[c]),i.useEffect(function(){c.dragPreviewOptions=t.current.previewOptions||null,c.reconnect()},[c]),[u,d,p]}},59296:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0});var n=r(67294),o=r(98008),i=r(65353);t.useDragLayer=function(e){var t=o.useDragDropManager().getMonitor(),r=i.useCollector(t,e),a=r[0],s=r[1];return n.useEffect(function(){return t.subscribeToOffsetChange(s)}),n.useEffect(function(){return t.subscribeToStateChange(s)}),a}},87559:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0});var n=r(79411),o=r(87458),i=r(67294),a=r(41143);t.useDrop=function(e){var t=i.useRef(e);t.current=e,a(null!=e.accept,"accept must be defined");var r=o.useDropTargetMonitor(),s=r[0],c=r[1];o.useDropHandler(t,s,c);var u=n.useMonitorOutput(s,t.current.collect||function(){return{}},function(){return c.reconnect()}),d=i.useMemo(function(){return c.hooks.dropTarget()},[c]);return i.useEffect(function(){c.dropTargetOptions=e.options||null,c.reconnect()},[e.options]),[u,d]}},60598:(e,t,r)=>{var n=r(25237);t.Z5=n.DragDropContext,n.DragDropContextProvider,n.Consumer,r(28202).default;var o=r(50793);t.Ej=o.default;var i=r(6059);t.GR=i.default,r(44319).default;var a=r(76108);a.useDrag,a.useDragLayer,a.useDrop},10513:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){var n=r.getRegistry(),o=n.addSource(e,t);return[o,function(){return n.removeSource(o)}]}},48537:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){var n=r.getRegistry(),o=n.addTarget(e,t);return[o,function(){return n.removeTarget(o)}]}},96395:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n]}},57523:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0});var n=r(67294),o=r(41143);function i(e,t){"function"==typeof e?e(t):e.current=t}t.default=function(e,t){var r=e.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(e,{ref:function(e){i(t,e),r&&i(r,e)}}):n.cloneElement(e,{ref:t})}},53924:(e,t)=>
vendor: 4,098 bytes, lines 1-2
1{Object.defineProperty(t,"__esModule",{value:!0}),t.isFunction=function(e){return"function"==typeof e},t.noop=function(){},t.isPlainObject=function(e){if(!function(e){return"object"==typeof e&&null!==e}(e))return!1;if(null===Object.getPrototypeOf(e))return!0;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}},90539:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.isDisposed=!1,this.disposables=e}return e.prototype.add=function(e){this.isDisposed?e.dispose():this.disposables.push(e)},e.prototype.remove=function(e){var t=!1;if(!this.isDisposed){var r=this.disposables.indexOf(e);-1!==r&&(t=!0,this.disposables.splice(r,1),e.dispose())}return t},e.prototype.clear=function(){if(!this.isDisposed){for(var e=this.disposables.length,t=new Array(e),r=0;r<e;r++)t[r]=this.disposables[r];for(this.disposables=[],r=0;r<e;r++)t[r].dispose()}},e.prototype.dispose=function(){if(!this.isDisposed){this.isDisposed=!0;for(var e=this.disposables.length,t=new Array(e),r=0;r<e;r++)t[r]=this.disposables[r];for(this.disposables=[],r=0;r<e;r++)t[r].dispose()}},e}();t.CompositeDisposable=r},53473:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0});var n=r(53924),o=function(){function e(e){this.isDisposed=!1,this.action=n.isFunction(e)?e:n.noop}return e.isDisposable=function(e){return e&&n.isFunction(e.dispose)},e._fixup=function(t){return e.isDisposable(t)?t:e.empty},e.create=function(t){return new e(t)},e.prototype.dispose=function(){this.isDisposed||(this.action(),this.isDisposed=!0)},e.empty={dispose:n.noop},e}();t.Disposable=o},9591:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(){this.isDisposed=!1}return e.prototype.getDisposable=function(){return this.current},e.prototype.setDisposable=function(e){var t=this.isDisposed;if(!t){var r=this.current;this.current=e,r&&r.dispose()}t&&e&&e.dispose()},e.prototype.dispose=function(){if(!this.isDisposed){this.isDisposed=!0;var e=this.current;this.current=void 0,e&&e.dispose()}},e}();t.SerialDisposable=r},86998:(e,t,r)=>{function n(e){for(var r in e)t.hasOwnProperty(r)||(t[r]=e[r])}Object.defineProperty(t,"__esModule",{value:!0}),n(r(53473)),n(r(9591)),n(r(90539))},87943:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.getDecoratedComponent=function(e){var t=e.current;return null==t?null:t.decoratedRef?t.decoratedRef.current:t}},65525:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.isRef=function(e){return null!==e&&"object"==typeof e&&e.hasOwnProperty("current")}},89745:(e,t)=>{function r(e){return e&&e.$$typeof&&"Symbol(react.forward_ref)"===e.$$typeof.toString()}Object.defineProperty(t,"__esModule",{value:!0}),t.isRefForwardingComponent=r,t.isRefable=function(e){return(t=e)&&t.prototype&&"function"==typeof t.prototype.render||r(e);var t}},70942:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t,r){return"string"==typeof t||"symbol"==typeof t||!!r&&Array.isArray(t)&&t.every(function(t){return e(t,!1)})}},52548:()=>{String.prototype.endsWith||(String.prototype.endsWith=function(e,t){return(void 0===t||t>this.length)&&(t=this.length),this.substring(t-e.length,t)===e})},65435:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0});var n=r(67294),o=r(57523);r(52548),t.default=function(e){var t={};return Object.keys(e).forEach(function(r){var i=e[r];if(r.endsWith("Ref"))t[r]=e[r];else{var a=function(e){return function(t,r){if(void 0===t&&(t=null),void 0===r&&(r=null),!n.isValidElement(t)){var i=t;return e(i,r),i}var a=t;!function(e){if("string"!=typeof e.type){var t=e.type.displayName||e.type.name||"the component";throw new Error("Only native element nodes can now be passed to React DnD connectors.You can either wrap "+t+" into a <div>, or turn it into a drag source or a drop target itself.")}}(a);var s=r?function(t){return e(t,r)}:e;return o.default(a,s)}}(i);t[r]=function(){return a}}}),t}}}]); 2//# sourceMappingURL=npm.react-dnd.642ff459c2843a323c69.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.