// sortablejs@1.15.7 downloaded from https://ga.jspm.io/npm:sortablejs@1.15.7/modular/sortable.esm.js /**! * Sortable 1.15.7 * @author RubaXa * @author owenm * @license MIT */ function t(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=Array(e);n"&&(e=e.substring(1));if(t)try{if(t.matches)return t.matches(e);if(t.msMatchesSelector)return t.msMatchesSelector(e);if(t.webkitMatchesSelector)return t.webkitMatchesSelector(e)}catch(t){return false}return false}}function x(t){return t.host&&t!==document&&t.host.nodeType&&t.host!==t?t.host:t.parentNode}function M(t,e,n,o){if(t){n=n||document;do{if(e!=null&&(e[0]===">"?t.parentNode===n&&T(t,e):T(t,e))||o&&t===n)return t;if(t===n)break}while(t=x(t))}return null}var O=/\s+/g;function A(t,e,n){if(t&&e)if(t.classList)t.classList[n?"add":"remove"](e);else{var o=(" "+t.className+" ").replace(O," ").replace(" "+e+" "," ");t.className=(o+(n?" "+e:"")).replace(O," ")}}function N(t,e,n){var o=t&&t.style;if(o){if(n===void 0){document.defaultView&&document.defaultView.getComputedStyle?n=document.defaultView.getComputedStyle(t,""):t.currentStyle&&(n=t.currentStyle);return e===void 0?n:n[e]}e in o||e.indexOf("webkit")!==-1||(e="-webkit-"+e);o[e]=n+(typeof n==="string"?"":"px")}}function I(t,e){var n="";if(typeof t==="string")n=t;else do{var o=N(t,"transform");o&&o!=="none"&&(n=o+" "+n)}while(!e&&(t=t.parentNode));var i=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return i&&new i(n)}function P(t,e,n){if(t){var o=t.getElementsByTagName(e),i=0,r=o.length;if(n)for(;i=r:i<=r;if(!a)return o;if(o===k())break;o=L(o,false)}return false} /** * Gets nth child of el, ignoring hidden children, sortable's elements (does not ignore clone if it's visible) * and non-draggable elements * @param {HTMLElement} el The parent element * @param {Number} childNum The index of the child * @param {Object} options Parent Sortable's options * @return {HTMLElement} The child at index childNum, or null if not found */function Y(t,e,n,o){var i=0,r=0,a=t.children;while(r2&&arguments[2]!==void 0?arguments[2]:{},o=n.evt,i=s(n,lt);rt.pluginEvent.bind(ne)(t,e,l({dragEl:ct,parentEl:ft,ghostEl:dt,rootEl:ht,nextEl:pt,lastDownEl:gt,cloneEl:vt,cloneHidden:mt,dragStarted:At,putSortable:St,activeSortable:ne.active,originalEvent:o,oldIndex:bt,oldDraggableIndex:wt,newIndex:yt,newDraggableIndex:Dt,hideGhostForTarget:Qt,unhideGhostForTarget:Jt,cloneNowHidden:function(){mt=true},cloneNowShown:function(){mt=false},dispatchSortableEvent:function(t){ut({sortable:e,name:t,originalEvent:o})}},i))};function ut(t){at(l({putSortable:St,cloneEl:vt,targetEl:ct,rootEl:ht,oldIndex:bt,oldDraggableIndex:wt,newIndex:yt,newDraggableIndex:Dt},t))}var ct,ft,dt,ht,pt,gt,vt,mt,bt,yt,wt,Dt,Et,St,_t,Ct,Tt,xt,Mt,Ot,At,Nt,It,Pt,kt,Rt=false,Xt=false,Yt=[],Bt=false,Ft=false,Ht=[],jt=false,Lt=[];var Kt=typeof document!=="undefined",Wt=D,zt=b||m?"cssFloat":"float",Gt=Kt&&!E&&!D&&"draggable"in document.createElement("div"),Ut=function(){if(Kt){if(m)return false;var t=document.createElement("x");t.style.cssText="pointer-events:auto";return t.style.pointerEvents==="auto"}}(),qt=function(t,e){var n=N(t),o=parseInt(n.width)-parseInt(n.paddingLeft)-parseInt(n.paddingRight)-parseInt(n.borderLeftWidth)-parseInt(n.borderRightWidth),i=Y(t,0,e),r=Y(t,1,e),a=i&&N(i),l=r&&N(r),s=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+R(i).width,u=l&&parseInt(l.marginLeft)+parseInt(l.marginRight)+R(r).width;if(n.display==="flex")return n.flexDirection==="column"||n.flexDirection==="column-reverse"?"vertical":"horizontal";if(n.display==="grid")return n.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(i&&a.float&&a.float!=="none"){var c=a.float==="left"?"left":"right";return!r||l.clear!=="both"&&l.clear!==c?"horizontal":"vertical"}return i&&(a.display==="block"||a.display==="flex"||a.display==="table"||a.display==="grid"||s>=o&&n[zt]==="none"||r&&n[zt]==="none"&&s+u>o)?"vertical":"horizontal"},Vt=function(t,e,n){var o=n?t.left:t.top,i=n?t.right:t.bottom,r=n?t.width:t.height,a=n?e.left:e.top,l=n?e.right:e.bottom,s=n?e.width:e.height;return o===a||i===l||o+r/2===a+s/2}, /** * Detects first nearest empty sortable to X and Y position using emptyInsertThreshold. * @param {Number} x X position * @param {Number} y Y position * @return {HTMLElement} Element of the first found nearest Sortable */ Zt=function(t,e){var n;Yt.some((function(o){var i=o[J].options.emptyInsertThreshold;if(i&&!B(o)){var r=R(o),a=t>=r.left-i&&t<=r.right+i,l=e>=r.top-i&&e<=r.bottom+i;return a&&l?n=o:void 0}}));return n},$t=function(t){function e(t,n){return function(o,i,r,a){var l=o.options.group.name&&i.options.group.name&&o.options.group.name===i.options.group.name;if(t==null&&(n||l))return true;if(t==null||t===false)return false;if(n&&t==="clone")return t;if(typeof t==="function")return e(t(o,i,r,a),n)(o,i,r,a);var s=(n?o:i).options.group.name;return t===true||typeof t==="string"&&t===s||t.join&&t.indexOf(s)>-1}}var n={};var o=t.group;o&&h(o)=="object"||(o={name:o});n.name=o.name;n.checkPull=e(o.pull,true);n.checkPut=e(o.put);n.revertClone=o.revertClone;t.group=n},Qt=function(){!Ut&&dt&&N(dt,"display","none")},Jt=function(){!Ut&&dt&&N(dt,"display","")};Kt&&!E&&document.addEventListener("click",(function(t){if(Xt){t.preventDefault();t.stopPropagation&&t.stopPropagation();t.stopImmediatePropagation&&t.stopImmediatePropagation();Xt=false;return false}}),true);var te=function(t){if(ct){t=t.touches?t.touches[0]:t;var e=Zt(t.clientX,t.clientY);if(e){var n={};for(var o in t)t.hasOwnProperty(o)&&(n[o]=t[o]);n.target=n.rootEl=e;n.preventDefault=void 0;n.stopPropagation=void 0;e[J]._onDragOver(n)}}};var ee=function(t){ct&&ct.parentNode[J]._isOutsideThisEl(t.target)}; /** * @class Sortable * @param {HTMLElement} el * @param {Object} [options] */function ne(t,e){if(!(t&&t.nodeType&&t.nodeType===1))throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(t));this.el=t;this.options=e=o({},e);t[J]=this;var n={group:null,sort:true,disabled:false,store:null,handle:null,draggable:/^[uo]l$/i.test(t.nodeName)?">li":">*",swapThreshold:1,invertSwap:false,invertedSwapThreshold:null,removeCloneOnHide:true,direction:function(){return qt(t,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:true,animation:0,easing:null,setData:function(t,e){t.setData("Text",e.textContent)},dropBubble:false,dragoverBubble:false,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:false,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:false,fallbackClass:"sortable-fallback",fallbackOnBody:false,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:ne.supportPointer!==false&&"PointerEvent"in window&&(!w||D),emptyInsertThreshold:5};rt.initializePlugins(this,t,n);for(var i in n)!(i in e)&&(e[i]=n[i]);$t(e);for(var r in this)r.charAt(0)==="_"&&typeof this[r]==="function"&&(this[r]=this[r].bind(this));this.nativeDraggable=!e.forceFallback&≫this.nativeDraggable&&(this.options.touchStartThreshold=1);if(e.supportPointer)_(t,"pointerdown",this._onTapStart);else{_(t,"mousedown",this._onTapStart);_(t,"touchstart",this._onTapStart)}if(this.nativeDraggable){_(t,"dragover",this);_(t,"dragenter",this)}Yt.push(this.el);e.store&&e.store.get&&this.sort(e.store.get(this)||[]);o(this,tt())}ne.prototype={constructor:ne,_isOutsideThisEl:function(t){this.el.contains(t)||t===this.el||(Nt=null)},_getDirection:function(t,e){return typeof this.options.direction==="function"?this.options.direction.call(this,t,e,ct):this.options.direction},_onTapStart:function(t){if(t.cancelable){var e=this,n=this.el,o=this.options,i=o.preventOnFilter,r=t.type,a=t.touches&&t.touches[0]||t.pointerType&&t.pointerType==="touch"&&t,l=(a||t).target,s=t.target.shadowRoot&&(t.path&&t.path[0]||t.composedPath&&t.composedPath()[0])||l,u=o.filter;de(n);if(!ct&&!(/mousedown|pointerdown/.test(r)&&t.button!==0||o.disabled)&&!s.isContentEditable&&(this.nativeDraggable||!w||!l||l.tagName.toUpperCase()!=="SELECT")){l=M(l,o.draggable,n,false);if((!l||!l.animated)&>!==l){bt=F(l);wt=F(l,o.draggable);if(typeof u==="function"){if(u.call(this,t,l,this)){ut({sortable:e,rootEl:s,name:"filter",targetEl:l,toEl:n,fromEl:n});st("filter",e,{evt:t});i&&t.preventDefault();return}}else if(u){u=u.split(",").some((function(o){o=M(s,o.trim(),n,false);if(o){ut({sortable:e,rootEl:o,name:"filter",targetEl:l,fromEl:n,toEl:n});st("filter",e,{evt:t});return true}}));if(u){i&&t.preventDefault();return}}o.handle&&!M(s,o.handle,n,false)||this._prepareDragStart(t,a,l)}}}},_prepareDragStart:function(t,e,n){var o,i=this,r=i.el,a=i.options,l=r.ownerDocument;if(n&&!ct&&n.parentNode===r){var s=R(n);ht=r;ct=n;ft=ct.parentNode;pt=ct.nextSibling;gt=n;Et=a.group;ne.dragged=ct;_t={target:ct,clientX:(e||t).clientX,clientY:(e||t).clientY};Mt=_t.clientX-s.left;Ot=_t.clientY-s.top;this._lastX=(e||t).clientX;this._lastY=(e||t).clientY;ct.style["will-change"]="all";o=function(){st("delayEnded",i,{evt:t});if(ne.eventCanceled)i._onDrop();else{i._disableDelayedDragEvents();!y&&i.nativeDraggable&&(ct.draggable=true);i._triggerDragStart(t,e);ut({sortable:i,name:"choose",originalEvent:t});A(ct,a.chosenClass,true)}};a.ignore.split(",").forEach((function(t){P(ct,t.trim(),re)}));_(l,"dragover",te);_(l,"mousemove",te);_(l,"touchmove",te);if(a.supportPointer){_(l,"pointerup",i._onDrop);!this.nativeDraggable&&_(l,"pointercancel",i._onDrop)}else{_(l,"mouseup",i._onDrop);_(l,"touchend",i._onDrop);_(l,"touchcancel",i._onDrop)}if(y&&this.nativeDraggable){this.options.touchStartThreshold=4;ct.draggable=true}st("delayStart",this,{evt:t});if(!a.delay||a.delayOnTouchOnly&&!e||this.nativeDraggable&&(b||m))o();else{if(ne.eventCanceled){this._onDrop();return}if(a.supportPointer){_(l,"pointerup",i._disableDelayedDrag);_(l,"pointercancel",i._disableDelayedDrag)}else{_(l,"mouseup",i._disableDelayedDrag);_(l,"touchend",i._disableDelayedDrag);_(l,"touchcancel",i._disableDelayedDrag)}_(l,"mousemove",i._delayedDragTouchMoveHandler);_(l,"touchmove",i._delayedDragTouchMoveHandler);a.supportPointer&&_(l,"pointermove",i._delayedDragTouchMoveHandler);i._dragStartTimer=setTimeout(o,a.delay)}}},_delayedDragTouchMoveHandler:function(t){var e=t.touches?t.touches[0]:t;Math.max(Math.abs(e.clientX-this._lastX),Math.abs(e.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){ct&&re(ct);clearTimeout(this._dragStartTimer);this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var t=this.el.ownerDocument;C(t,"mouseup",this._disableDelayedDrag);C(t,"touchend",this._disableDelayedDrag);C(t,"touchcancel",this._disableDelayedDrag);C(t,"pointerup",this._disableDelayedDrag);C(t,"pointercancel",this._disableDelayedDrag);C(t,"mousemove",this._delayedDragTouchMoveHandler);C(t,"touchmove",this._delayedDragTouchMoveHandler);C(t,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(t,e){e=e||t.pointerType=="touch"&&t;if(!this.nativeDraggable||e)this.options.supportPointer?_(document,"pointermove",this._onTouchMove):_(document,e?"touchmove":"mousemove",this._onTouchMove);else{_(ct,"dragend",this);_(ht,"dragstart",this._onDragStart)}try{document.selection?he((function(){document.selection.empty()})):window.getSelection().removeAllRanges()}catch(t){}},_dragStarted:function(t,e){Rt=false;if(ht&&ct){st("dragStarted",this,{evt:e});this.nativeDraggable&&_(document,"dragover",ee);var n=this.options;!t&&A(ct,n.dragClass,false);A(ct,n.ghostClass,true);ne.active=this;t&&this._appendGhost();ut({sortable:this,name:"start",originalEvent:e})}else this._nulling()},_emulateDragOver:function(){if(Ct){this._lastX=Ct.clientX;this._lastY=Ct.clientY;Qt();var t=document.elementFromPoint(Ct.clientX,Ct.clientY);var e=t;while(t&&t.shadowRoot){t=t.shadowRoot.elementFromPoint(Ct.clientX,Ct.clientY);if(t===e)break;e=t}ct.parentNode[J]._isOutsideThisEl(t);if(e)do{if(e[J]){var n=void 0;n=e[J]._onDragOver({clientX:Ct.clientX,clientY:Ct.clientY,target:t,rootEl:e});if(n&&!this.options.dragoverBubble)break}t=e}while(e=x(e));Jt()}},_onTouchMove:function(t){if(_t){var e=this.options,n=e.fallbackTolerance,o=e.fallbackOffset,i=t.touches?t.touches[0]:t,r=dt&&I(dt,true),a=dt&&r&&r.a,l=dt&&r&&r.d,s=Wt&&kt&&H(kt),u=(i.clientX-_t.clientX+o.x)/(a||1)+(s?s[0]-Ht[0]:0)/(a||1),c=(i.clientY-_t.clientY+o.y)/(l||1)+(s?s[1]-Ht[1]:0)/(l||1);if(!ne.active&&!Rt){if(n&&Math.max(Math.abs(i.clientX-this._lastX),Math.abs(i.clientY-this._lastY))=0){ut({rootEl:ft,name:"add",toEl:ft,fromEl:ht,originalEvent:t});ut({sortable:this,name:"remove",toEl:ft,originalEvent:t});ut({rootEl:ft,name:"sort",toEl:ft,fromEl:ht,originalEvent:t});ut({sortable:this,name:"sort",toEl:ft,originalEvent:t})}St&&St.save()}else if(yt!==bt&&yt>=0){ut({sortable:this,name:"update",toEl:ft,originalEvent:t});ut({sortable:this,name:"sort",toEl:ft,originalEvent:t})}if(ne.active){if(yt==null||yt===-1){yt=bt;Dt=wt}ut({sortable:this,name:"end",toEl:ft,originalEvent:t});this.save()}}}this._nulling()}},_nulling:function(){st("nulling",this);ht=ct=ft=dt=pt=vt=gt=mt=_t=Ct=At=yt=Dt=bt=wt=Nt=It=St=Et=ne.dragged=ne.ghost=ne.clone=ne.active=null;var t=this.el;Lt.forEach((function(e){t.contains(e)&&(e.checked=true)}));Lt.length=Tt=xt=0},handleEvent:function(t){switch(t.type){case"drop":case"dragend":this._onDrop(t);break;case"dragenter":case"dragover":if(ct){this._onDragOver(t);oe(t)}break;case"selectstart":t.preventDefault();break}}, /** * Serializes the item into an array of string. * @returns {String[]} */ toArray:function(){var t,e=[],n=this.el.children,o=0,i=n.length,r=this.options;for(;oi.right+r||t.clientY>o.bottom&&t.clientX>o.left:t.clientY>i.bottom+r||t.clientX>o.right&&t.clientY>o.top}function ue(t,e,n,o,i,r,a,l){var s=o?t.clientY:t.clientX,u=o?n.height:n.width,c=o?n.top:n.left,f=o?n.bottom:n.right,d=false;if(!a)if(l&&Ptc+u*r/2:sf-Pt)return-It}else if(s>c+u*(1-i)/2&&sf-u*r/2)?s>c+u/2?1:-1:0} /** * Gets the direction dragEl must be swapped relative to target in order to make it * seem that dragEl has been "inserted" into that element's position * @param {HTMLElement} target The target whose position dragEl is being inserted at * @return {Number} Direction dragEl must be swapped */function ce(t){return F(ct)1){Be.forEach((function(t){o.addAnimationState({target:t,rect:je?R(t):i});$(t);t.fromRect=i;e.removeAnimationState(t)}));je=false;We(!this.options.removeCloneOnHide,n)}},dragOverCompleted:function(t){var e=t.sortable,n=t.isOwner,o=t.insertion,i=t.activeSortable,r=t.parentEl,a=t.putSortable;var l=this.options;if(o){n&&i._hideClone();He=false;if(l.animation&&Be.length>1&&(je||!n&&!i.options.sort&&!a)){var s=R(Re,false,true,true);Be.forEach((function(t){if(t!==Re){Z(t,s);r.appendChild(t)}}));je=true}if(!n){je||Ge();if(Be.length>1){var u=Ye;i._showClone(e);i.options.animation&&!Ye&&u&&Fe.forEach((function(t){i.addAnimationState({target:t,rect:Xe});t.fromRect=Xe;t.thisAnimationDuration=null}))}else i._showClone(e)}}},dragOverAnimationCapture:function(t){var e=t.dragRect,n=t.isOwner,i=t.activeSortable;Be.forEach((function(t){t.thisAnimationDuration=null}));if(i.options.animation&&!n&&i.multiDrag.isMultiDrag){Xe=o({},e);var r=I(Re,true);Xe.top-=r.f;Xe.left-=r.e}},dragOverAnimationComplete:function(){if(je){je=false;Ge()}},drop:function(t){var e=t.originalEvent,n=t.rootEl,o=t.parentEl,i=t.sortable,r=t.dispatchSortableEvent,a=t.oldIndex,l=t.putSortable;var s=l||this.sortable;if(e){var u=this.options,c=o.children;if(!Le){u.multiDragKey&&!this.multiDragKeyDown&&this._deselectMultiDrag();A(Re,u.selectedClass,!~Be.indexOf(Re));if(~Be.indexOf(Re)){Be.splice(Be.indexOf(Re),1);Pe=null;at({sortable:i,rootEl:n,name:"deselect",targetEl:Re,originalEvent:e})}else{Be.push(Re);at({sortable:i,rootEl:n,name:"select",targetEl:Re,originalEvent:e});if(e.shiftKey&&Pe&&i.el.contains(Pe)){var f=F(Pe),d=F(Re);~f&&~d&&f!==d&&function(){var t,r;if(d>f){r=f;t=d}else{r=d;t=f+1}var a=u.filter;for(;r1){var h=R(Re),p=F(Re,":not(."+this.options.selectedClass+")");!He&&u.animation&&(Re.thisAnimationDuration=null);s.captureAnimationState();if(!He){if(u.animation){Re.fromRect=h;Be.forEach((function(t){t.thisAnimationDuration=null;if(t!==Re){var e=je?R(t):h;t.fromRect=e;s.addAnimationState({target:t,rect:e})}}))}Ge();Be.forEach((function(t){c[p]?o.insertBefore(t,c[p]):o.appendChild(t);p++}));if(a===F(Re)){var g=false;Be.forEach((function(t){t.sortableIndex===F(t)||(g=true)}));if(g){r("update");r("sort")}}}Be.forEach((function(t){$(t)}));s.animateAll()}ke=s}(n===o||l&&l.lastPutMode!=="clone")&&Fe.forEach((function(t){t.parentNode&&t.parentNode.removeChild(t)}))}},nullingGlobal:function(){this.isMultiDrag=Le=false;Fe.length=0},destroyGlobal:function(){this._deselectMultiDrag();C(document,"pointerup",this._deselectMultiDrag);C(document,"mouseup",this._deselectMultiDrag);C(document,"touchend",this._deselectMultiDrag);C(document,"keydown",this._checkKeyDown);C(document,"keyup",this._checkKeyUp)},_deselectMultiDrag:function(t){if((typeof Le==="undefined"||!Le)&&ke===this.sortable&&(!t||!M(t.target,this.options.draggable,this.sortable.el,false))&&(!t||t.button===0))while(Be.length){var e=Be[0];A(e,this.options.selectedClass,false);Be.shift();at({sortable:this.sortable,rootEl:this.sortable.el,name:"deselect",targetEl:e,originalEvent:t})}},_checkKeyDown:function(t){t.key===this.options.multiDragKey&&(this.multiDragKeyDown=true)},_checkKeyUp:function(t){t.key===this.options.multiDragKey&&(this.multiDragKeyDown=false)}};return o(t,{pluginName:"multiDrag",utils:{ /** * Selects the provided multi-drag item * @param {HTMLElement} el The element to be selected */ select:function(t){var e=t.parentNode[J];if(e&&e.options.multiDrag&&!~Be.indexOf(t)){if(ke&&ke!==e){ke.multiDrag._deselectMultiDrag();ke=e}A(t,e.options.selectedClass,true);Be.push(t)}}, /** * Deselects the provided multi-drag item * @param {HTMLElement} el The element to be deselected */ deselect:function(t){var e=t.parentNode[J],n=Be.indexOf(t);if(e&&e.options.multiDrag&&~n){A(t,e.options.selectedClass,false);Be.splice(n,1)}}},eventProperties:function(){var t=this;var e=[],n=[];Be.forEach((function(o){e.push({multiDragElement:o,index:o.sortableIndex});var i;i=je&&o!==Re?-1:je?F(o,":not(."+t.options.selectedClass+")"):F(o);n.push({multiDragElement:o,index:i})}));return{items:c(Be),clones:[].concat(Fe),oldIndicies:e,newIndicies:n}},optionListeners:{multiDragKey:function(t){t=t.toLowerCase();t==="ctrl"?t="Control":t.length>1&&(t=t.charAt(0).toUpperCase()+t.substr(1));return t}}})}function We(t,e){Be.forEach((function(n,o){var i=e.children[n.sortableIndex+(t?Number(o):0)];i?e.insertBefore(n,i):e.appendChild(n)}))} /** * Insert multi-drag clones * @param {[Boolean]} elementsInserted Whether the multi-drag elements are inserted * @param {HTMLElement} rootEl */function ze(t,e){Fe.forEach((function(n,o){var i=e.children[n.sortableIndex+(t?Number(o):0)];i?e.insertBefore(n,i):e.appendChild(n)}))}function Ge(){Be.forEach((function(t){t!==Re&&t.parentNode&&t.parentNode.removeChild(t)}))}ne.mount(new Se);ne.mount(Oe,Me);export{Ke as MultiDrag,ne as Sortable,Ne as Swap,ne as default};