diff --git a/assets/vendor/articlelayout/dist/index.js b/assets/vendor/articlelayout/dist/index.js index 6bc4968f..5aa7d204 100644 --- a/assets/vendor/articlelayout/dist/index.js +++ b/assets/vendor/articlelayout/dist/index.js @@ -789,7 +789,7 @@ PERFORMANCE OF THIS SOFTWARE. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var LN="1.14.0";function Xa(e){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(e)}var oi=Xa(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),Pu=Xa(/Edge/i),$0=Xa(/firefox/i),Il=Xa(/safari/i)&&!Xa(/chrome/i)&&!Xa(/android/i),u_=Xa(/iP(ad|od|hone)/i),RN=Xa(/chrome/i)&&Xa(/android/i),c_={capture:!1,passive:!1};function bt(e,t,n){e.addEventListener(t,n,!oi&&c_)}function yt(e,t,n){e.removeEventListener(t,n,!oi&&c_)}function xd(e,t){if(t){if(t[0]===">"&&(t=t.substring(1)),e)try{if(e.matches)return e.matches(t);if(e.msMatchesSelector)return e.msMatchesSelector(t);if(e.webkitMatchesSelector)return e.webkitMatchesSelector(t)}catch{return!1}return!1}}function FN(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function Wr(e,t,n,r){if(e){n=n||document;do{if(t!=null&&(t[0]===">"?e.parentNode===n&&xd(e,t):xd(e,t))||r&&e===n)return e;if(e===n)break}while(e=FN(e))}return null}var D0=/\s+/g;function Qt(e,t,n){if(e&&t)if(e.classList)e.classList[n?"add":"remove"](t);else{var r=(" "+e.className+" ").replace(D0," ").replace(" "+t+" "," ");e.className=(r+(n?" "+t:"")).replace(D0," ")}}function ze(e,t,n){var r=e&&e.style;if(r){if(n===void 0)return document.defaultView&&document.defaultView.getComputedStyle?n=document.defaultView.getComputedStyle(e,""):e.currentStyle&&(n=e.currentStyle),t===void 0?n:n[t];!(t in r)&&t.indexOf("webkit")===-1&&(t="-webkit-"+t),r[t]=n+(typeof n=="string"?"":"px")}}function yo(e,t){var n="";if(typeof e=="string")n=e;else do{var r=ze(e,"transform");r&&r!=="none"&&(n=r+" "+n)}while(!t&&(e=e.parentNode));var a=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return a&&new a(n)}function d_(e,t,n){if(e){var r=e.getElementsByTagName(t),a=0,i=r.length;if(n)for(;a=i:o=a<=i,!o)return r;if(r===_a())break;r=Ei(r,!1)}return!1}function ks(e,t,n,r){for(var a=0,i=0,o=e.children;i2&&arguments[2]!==void 0?arguments[2]:{},a=r.evt,i=$N(r,qN);Iu.pluginEvent.bind(ot)(t,n,ka({dragEl:Ce,parentEl:en,ghostEl:ft,rootEl:Wt,nextEl:ao,lastDownEl:Jc,cloneEl:tn,cloneHidden:Si,dragStarted:xl,putSortable:Dn,activeSortable:ot.active,originalEvent:a,oldIndex:cs,oldDraggableIndex:Ll,newIndex:vr,newDraggableIndex:_i,hideGhostForTarget:g_,unhideGhostForTarget:y_,cloneNowHidden:function(){Si=!0},cloneNowShown:function(){Si=!1},dispatchSortableEvent:function(s){Xn({sortable:n,name:s,originalEvent:a})}},i))};function Xn(e){wl(ka({putSortable:Dn,cloneEl:tn,targetEl:Ce,rootEl:Wt,oldIndex:cs,oldDraggableIndex:Ll,newIndex:vr,newDraggableIndex:_i},e))}var Ce,en,ft,Wt,ao,Jc,tn,Si,cs,vr,Ll,_i,Cc,Dn,es=!1,_d=!1,Sd=[],to,Vr,Ih,Mh,M0,L0,xl,Go,Rl,Fl=!1,Ac=!1,Qc,Fn,Lh=[],nm=!1,Ed=[],mf=typeof document<"u",kc=u_,R0=Pu||oi?"cssFloat":"float",zN=mf&&!RN&&!u_&&"draggable"in document.createElement("div"),p_=function(){if(mf){if(oi)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto",e.style.pointerEvents==="auto"}}(),m_=function(t,n){var r=ze(t),a=parseInt(r.width)-parseInt(r.paddingLeft)-parseInt(r.paddingRight)-parseInt(r.borderLeftWidth)-parseInt(r.borderRightWidth),i=ks(t,0,n),o=ks(t,1,n),s=i&&ze(i),l=o&&ze(o),u=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+Kt(i).width,c=l&&parseInt(l.marginLeft)+parseInt(l.marginRight)+Kt(o).width;if(r.display==="flex")return r.flexDirection==="column"||r.flexDirection==="column-reverse"?"vertical":"horizontal";if(r.display==="grid")return r.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(i&&s.float&&s.float!=="none"){var d=s.float==="left"?"left":"right";return o&&(l.clear==="both"||l.clear===d)?"vertical":"horizontal"}return i&&(s.display==="block"||s.display==="flex"||s.display==="table"||s.display==="grid"||u>=a&&r[R0]==="none"||o&&r[R0]==="none"&&u+c>a)?"vertical":"horizontal"},WN=function(t,n,r){var a=r?t.left:t.top,i=r?t.right:t.bottom,o=r?t.width:t.height,s=r?n.left:n.top,l=r?n.right:n.bottom,u=r?n.width:n.height;return a===s||i===l||a+o/2===s+u/2},KN=function(t,n){var r;return Sd.some(function(a){var i=a[Bn].options.emptyInsertThreshold;if(!(!i||Jv(a))){var o=Kt(a),s=t>=o.left-i&&t<=o.right+i,l=n>=o.top-i&&n<=o.bottom+i;if(s&&l)return r=a}}),r},v_=function(t){function n(i,o){return function(s,l,u,c){var d=s.options.group.name&&l.options.group.name&&s.options.group.name===l.options.group.name;if(i==null&&(o||d))return!0;if(i==null||i===!1)return!1;if(o&&i==="clone")return i;if(typeof i=="function")return n(i(s,l,u,c),o)(s,l,u,c);var f=(o?s:l).options.group.name;return i===!0||typeof i=="string"&&i===f||i.join&&i.indexOf(f)>-1}}var r={},a=t.group;(!a||Xc(a)!="object")&&(a={name:a}),r.name=a.name,r.checkPull=n(a.pull,!0),r.checkPut=n(a.put),r.revertClone=a.revertClone,t.group=r},g_=function(){!p_&&ft&&ze(ft,"display","none")},y_=function(){!p_&&ft&&ze(ft,"display","")};mf&&document.addEventListener("click",function(e){if(_d)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),_d=!1,!1},!0);var no=function(t){if(Ce){t=t.touches?t.touches[0]:t;var n=KN(t.clientX,t.clientY);if(n){var r={};for(var a in t)t.hasOwnProperty(a)&&(r[a]=t[a]);r.target=r.rootEl=n,r.preventDefault=void 0,r.stopPropagation=void 0,n[Bn]._onDragOver(r)}}},GN=function(t){Ce&&Ce.parentNode[Bn]._isOutsideThisEl(t.target)};function ot(e,t){if(!(e&&e.nodeType&&e.nodeType===1))throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(e));this.el=e,this.options=t=Rr({},t),e[Bn]=this;var n={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(e.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return m_(e,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(o,s){o.setData("Text",s.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:ot.supportPointer!==!1&&"PointerEvent"in window&&!Il,emptyInsertThreshold:5};Iu.initializePlugins(this,e,n);for(var r in n)!(r in t)&&(t[r]=n[r]);v_(t);for(var a in this)a.charAt(0)==="_"&&typeof this[a]=="function"&&(this[a]=this[a].bind(this));this.nativeDraggable=t.forceFallback?!1:zN,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?bt(e,"pointerdown",this._onTapStart):(bt(e,"mousedown",this._onTapStart),bt(e,"touchstart",this._onTapStart)),this.nativeDraggable&&(bt(e,"dragover",this),bt(e,"dragenter",this)),Sd.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),Rr(this,VN())}ot.prototype={constructor:ot,_isOutsideThisEl:function(t){!this.el.contains(t)&&t!==this.el&&(Go=null)},_getDirection:function(t,n){return typeof this.options.direction=="function"?this.options.direction.call(this,t,n,Ce):this.options.direction},_onTapStart:function(t){if(t.cancelable){var n=this,r=this.el,a=this.options,i=a.preventOnFilter,o=t.type,s=t.touches&&t.touches[0]||t.pointerType&&t.pointerType==="touch"&&t,l=(s||t).target,u=t.target.shadowRoot&&(t.path&&t.path[0]||t.composedPath&&t.composedPath()[0])||l,c=a.filter;if(rP(r),!Ce&&!(/mousedown|pointerdown/.test(o)&&t.button!==0||a.disabled)&&!u.isContentEditable&&!(!this.nativeDraggable&&Il&&l&&l.tagName.toUpperCase()==="SELECT")&&(l=Wr(l,a.draggable,r,!1),!(l&&l.animated)&&Jc!==l)){if(cs=nn(l),Ll=nn(l,a.draggable),typeof c=="function"){if(c.call(this,t,l,this)){Xn({sortable:n,rootEl:u,name:"filter",targetEl:l,toEl:r,fromEl:r}),rr("filter",n,{evt:t}),i&&t.cancelable&&t.preventDefault();return}}else if(c&&(c=c.split(",").some(function(d){if(d=Wr(u,d.trim(),r,!1),d)return Xn({sortable:n,rootEl:d,name:"filter",targetEl:l,fromEl:r,toEl:r}),rr("filter",n,{evt:t}),!0}),c)){i&&t.cancelable&&t.preventDefault();return}a.handle&&!Wr(u,a.handle,r,!1)||this._prepareDragStart(t,s,l)}}},_prepareDragStart:function(t,n,r){var a=this,i=a.el,o=a.options,s=i.ownerDocument,l;if(r&&!Ce&&r.parentNode===i){var u=Kt(r);if(Wt=i,Ce=r,en=Ce.parentNode,ao=Ce.nextSibling,Jc=r,Cc=o.group,ot.dragged=Ce,to={target:Ce,clientX:(n||t).clientX,clientY:(n||t).clientY},M0=to.clientX-u.left,L0=to.clientY-u.top,this._lastX=(n||t).clientX,this._lastY=(n||t).clientY,Ce.style["will-change"]="all",l=function(){if(rr("delayEnded",a,{evt:t}),ot.eventCanceled){a._onDrop();return}a._disableDelayedDragEvents(),!$0&&a.nativeDraggable&&(Ce.draggable=!0),a._triggerDragStart(t,n),Xn({sortable:a,name:"choose",originalEvent:t}),Qt(Ce,o.chosenClass,!0)},o.ignore.split(",").forEach(function(c){d_(Ce,c.trim(),Rh)}),bt(s,"dragover",no),bt(s,"mousemove",no),bt(s,"touchmove",no),bt(s,"mouseup",a._onDrop),bt(s,"touchend",a._onDrop),bt(s,"touchcancel",a._onDrop),$0&&this.nativeDraggable&&(this.options.touchStartThreshold=4,Ce.draggable=!0),rr("delayStart",this,{evt:t}),o.delay&&(!o.delayOnTouchOnly||n)&&(!this.nativeDraggable||!(Pu||oi))){if(ot.eventCanceled){this._onDrop();return}bt(s,"mouseup",a._disableDelayedDrag),bt(s,"touchend",a._disableDelayedDrag),bt(s,"touchcancel",a._disableDelayedDrag),bt(s,"mousemove",a._delayedDragTouchMoveHandler),bt(s,"touchmove",a._delayedDragTouchMoveHandler),o.supportPointer&&bt(s,"pointermove",a._delayedDragTouchMoveHandler),a._dragStartTimer=setTimeout(l,o.delay)}else l()}},_delayedDragTouchMoveHandler:function(t){var n=t.touches?t.touches[0]:t;Math.max(Math.abs(n.clientX-this._lastX),Math.abs(n.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){Ce&&Rh(Ce),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var t=this.el.ownerDocument;yt(t,"mouseup",this._disableDelayedDrag),yt(t,"touchend",this._disableDelayedDrag),yt(t,"touchcancel",this._disableDelayedDrag),yt(t,"mousemove",this._delayedDragTouchMoveHandler),yt(t,"touchmove",this._delayedDragTouchMoveHandler),yt(t,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(t,n){n=n||t.pointerType=="touch"&&t,!this.nativeDraggable||n?this.options.supportPointer?bt(document,"pointermove",this._onTouchMove):n?bt(document,"touchmove",this._onTouchMove):bt(document,"mousemove",this._onTouchMove):(bt(Ce,"dragend",this),bt(Wt,"dragstart",this._onDragStart));try{document.selection?Zc(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(t,n){if(es=!1,Wt&&Ce){rr("dragStarted",this,{evt:n}),this.nativeDraggable&&bt(document,"dragover",GN);var r=this.options;!t&&Qt(Ce,r.dragClass,!1),Qt(Ce,r.ghostClass,!0),ot.active=this,t&&this._appendGhost(),Xn({sortable:this,name:"start",originalEvent:n})}else this._nulling()},_emulateDragOver:function(){if(Vr){this._lastX=Vr.clientX,this._lastY=Vr.clientY,g_();for(var t=document.elementFromPoint(Vr.clientX,Vr.clientY),n=t;t&&t.shadowRoot&&(t=t.shadowRoot.elementFromPoint(Vr.clientX,Vr.clientY),t!==n);)n=t;if(Ce.parentNode[Bn]._isOutsideThisEl(t),n)do{if(n[Bn]){var r=void 0;if(r=n[Bn]._onDragOver({clientX:Vr.clientX,clientY:Vr.clientY,target:t,rootEl:n}),r&&!this.options.dragoverBubble)break}t=n}while(n=n.parentNode);y_()}},_onTouchMove:function(t){if(to){var n=this.options,r=n.fallbackTolerance,a=n.fallbackOffset,i=t.touches?t.touches[0]:t,o=ft&&yo(ft,!0),s=ft&&o&&o.a,l=ft&&o&&o.d,u=kc&&Fn&&P0(Fn),c=(i.clientX-to.clientX+a.x)/(s||1)+(u?u[0]-Lh[0]:0)/(s||1),d=(i.clientY-to.clientY+a.y)/(l||1)+(u?u[1]-Lh[1]:0)/(l||1);if(!ot.active&&!es){if(r&&Math.max(Math.abs(i.clientX-this._lastX),Math.abs(i.clientY-this._lastY))=0&&(Xn({rootEl:en,name:"add",toEl:en,fromEl:Wt,originalEvent:t}),Xn({sortable:this,name:"remove",toEl:en,originalEvent:t}),Xn({rootEl:en,name:"sort",toEl:en,fromEl:Wt,originalEvent:t}),Xn({sortable:this,name:"sort",toEl:en,originalEvent:t})),Dn&&Dn.save()):vr!==cs&&vr>=0&&(Xn({sortable:this,name:"update",toEl:en,originalEvent:t}),Xn({sortable:this,name:"sort",toEl:en,originalEvent:t})),ot.active&&((vr==null||vr===-1)&&(vr=cs,_i=Ll),Xn({sortable:this,name:"end",toEl:en,originalEvent:t}),this.save()))),this._nulling()},_nulling:function(){rr("nulling",this),Wt=Ce=en=ft=ao=tn=Jc=Si=to=Vr=xl=vr=_i=cs=Ll=Go=Rl=Dn=Cc=ot.dragged=ot.ghost=ot.clone=ot.active=null,Ed.forEach(function(t){t.checked=!0}),Ed.length=Ih=Mh=0},handleEvent:function(t){switch(t.type){case"drop":case"dragend":this._onDrop(t);break;case"dragenter":case"dragover":Ce&&(this._onDragOver(t),XN(t));break;case"selectstart":t.preventDefault();break}},toArray:function(){for(var t=[],n,r=this.el.children,a=0,i=r.length,o=this.options;ar.right+a||e.clientX<=r.right&&e.clientY>r.bottom&&e.clientX>=r.left:e.clientX>r.right&&e.clientY>r.top||e.clientX<=r.right&&e.clientY>r.bottom+a}function eP(e,t,n,r,a,i,o,s){var l=r?e.clientY:e.clientX,u=r?n.height:n.width,c=r?n.top:n.left,d=r?n.bottom:n.right,f=!1;if(!o){if(s&&Qcc+u*i/2:ld-Qc)return-Rl}else if(l>c+u*(1-a)/2&&ld-u*i/2)?l>c+u/2?1:-1:0}function tP(e){return nn(Ce)1&&(dt.forEach(function(s){i.addAnimationState({target:s,rect:ar?Kt(s):o}),Nh(s),s.fromRect=o,r.removeAnimationState(s)}),ar=!1,lP(!this.options.removeCloneOnHide,a))},dragOverCompleted:function(n){var r=n.sortable,a=n.isOwner,i=n.insertion,o=n.activeSortable,s=n.parentEl,l=n.putSortable,u=this.options;if(i){if(a&&o._hideClone(),ll=!1,u.animation&&dt.length>1&&(ar||!a&&!o.options.sort&&!l)){var c=Kt(Bt,!1,!0,!0);dt.forEach(function(f){f!==Bt&&(I0(f,c),s.appendChild(f))}),ar=!0}if(!a)if(ar||Nc(),dt.length>1){var d=Dc;o._showClone(r),o.options.animation&&!Dc&&d&&pr.forEach(function(f){o.addAnimationState({target:f,rect:ul}),f.fromRect=ul,f.thisAnimationDuration=null})}else o._showClone(r)}},dragOverAnimationCapture:function(n){var r=n.dragRect,a=n.isOwner,i=n.activeSortable;if(dt.forEach(function(s){s.thisAnimationDuration=null}),i.options.animation&&!a&&i.multiDrag.isMultiDrag){ul=Rr({},r);var o=yo(Bt,!0);ul.top-=o.f,ul.left-=o.e}},dragOverAnimationComplete:function(){ar&&(ar=!1,Nc())},drop:function(n){var r=n.originalEvent,a=n.rootEl,i=n.parentEl,o=n.sortable,s=n.dispatchSortableEvent,l=n.oldIndex,u=n.putSortable,c=u||this.sortable;if(r){var d=this.options,f=i.children;if(!Xo)if(d.multiDragKey&&!this.multiDragKeyDown&&this._deselectMultiDrag(),Qt(Bt,d.selectedClass,!~dt.indexOf(Bt)),~dt.indexOf(Bt))dt.splice(dt.indexOf(Bt),1),sl=null,wl({sortable:o,rootEl:a,name:"deselect",targetEl:Bt,originalEvt:r});else{if(dt.push(Bt),wl({sortable:o,rootEl:a,name:"select",targetEl:Bt,originalEvt:r}),r.shiftKey&&sl&&o.el.contains(sl)){var h=nn(sl),p=nn(Bt);if(~h&&~p&&h!==p){var m,y;for(p>h?(y=h,m=p):(y=p,m=h+1);y1){var g=Kt(Bt),w=nn(Bt,":not(."+this.options.selectedClass+")");if(!ll&&d.animation&&(Bt.thisAnimationDuration=null),c.captureAnimationState(),!ll&&(d.animation&&(Bt.fromRect=g,dt.forEach(function(x){if(x.thisAnimationDuration=null,x!==Bt){var k=ar?Kt(x):g;x.fromRect=k,c.addAnimationState({target:x,rect:k})}})),Nc(),dt.forEach(function(x){f[w]?i.insertBefore(x,f[w]):i.appendChild(x),w++}),l===nn(Bt))){var _=!1;dt.forEach(function(x){if(x.sortableIndex!==nn(x)){_=!0;return}}),_&&s("update")}dt.forEach(function(x){Nh(x)}),c.animateAll()}Hr=c}(a===i||u&&u.lastPutMode!=="clone")&&pr.forEach(function(x){x.parentNode&&x.parentNode.removeChild(x)})}},nullingGlobal:function(){this.isMultiDrag=Xo=!1,pr.length=0},destroyGlobal:function(){this._deselectMultiDrag(),yt(document,"pointerup",this._deselectMultiDrag),yt(document,"mouseup",this._deselectMultiDrag),yt(document,"touchend",this._deselectMultiDrag),yt(document,"keydown",this._checkKeyDown),yt(document,"keyup",this._checkKeyUp)},_deselectMultiDrag:function(n){if(!(typeof Xo<"u"&&Xo)&&Hr===this.sortable&&!(n&&Wr(n.target,this.options.draggable,this.sortable.el,!1))&&!(n&&n.button!==0))for(;dt.length;){var r=dt[0];Qt(r,this.options.selectedClass,!1),dt.shift(),wl({sortable:this.sortable,rootEl:this.sortable.el,name:"deselect",targetEl:r,originalEvt:n})}},_checkKeyDown:function(n){n.key===this.options.multiDragKey&&(this.multiDragKeyDown=!0)},_checkKeyUp:function(n){n.key===this.options.multiDragKey&&(this.multiDragKeyDown=!1)}},Rr(e,{pluginName:"multiDrag",utils:{select:function(n){var r=n.parentNode[Bn];!r||!r.options.multiDrag||~dt.indexOf(n)||(Hr&&Hr!==r&&(Hr.multiDrag._deselectMultiDrag(),Hr=r),Qt(n,r.options.selectedClass,!0),dt.push(n))},deselect:function(n){var r=n.parentNode[Bn],a=dt.indexOf(n);!r||!r.options.multiDrag||!~a||(Qt(n,r.options.selectedClass,!1),dt.splice(a,1))}},eventProperties:function(){var n=this,r=[],a=[];return dt.forEach(function(i){r.push({multiDragElement:i,index:i.sortableIndex});var o;ar&&i!==Bt?o=-1:ar?o=nn(i,":not(."+n.options.selectedClass+")"):o=nn(i),a.push({multiDragElement:i,index:o})}),{items:DN(dt),clones:[].concat(pr),oldIndicies:r,newIndicies:a}},optionListeners:{multiDragKey:function(n){return n=n.toLowerCase(),n==="ctrl"?n="Control":n.length>1&&(n=n.charAt(0).toUpperCase()+n.substr(1)),n}}})}function lP(e,t){dt.forEach(function(n,r){var a=t.children[n.sortableIndex+(e?Number(r):0)];a?t.insertBefore(n,a):t.appendChild(n)})}function j0(e,t){pr.forEach(function(n,r){var a=t.children[n.sortableIndex+(e?Number(r):0)];a?t.insertBefore(n,a):t.appendChild(n)})}function Nc(){dt.forEach(function(e){e!==Bt&&e.parentNode&&e.parentNode.removeChild(e)})}ot.mount(new aP);ot.mount(eg,Zv);const uP=Object.freeze(Object.defineProperty({__proto__:null,MultiDrag:sP,Sortable:ot,Swap:iP,default:ot},Symbol.toStringTag,{value:"Module"})),cP=r_(uP);(function(e,t){(function(r,a){e.exports=a(CN,cP)})(typeof self<"u"?self:qa,function(n,r){return function(a){var i={};function o(s){if(i[s])return i[s].exports;var l=i[s]={i:s,l:!1,exports:{}};return a[s].call(l.exports,l,l.exports,o),l.l=!0,l.exports}return o.m=a,o.c=i,o.d=function(s,l,u){o.o(s,l)||Object.defineProperty(s,l,{enumerable:!0,get:u})},o.r=function(s){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(s,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(s,"__esModule",{value:!0})},o.t=function(s,l){if(l&1&&(s=o(s)),l&8||l&4&&typeof s=="object"&&s&&s.__esModule)return s;var u=Object.create(null);if(o.r(u),Object.defineProperty(u,"default",{enumerable:!0,value:s}),l&2&&typeof s!="string")for(var c in s)o.d(u,c,(function(d){return s[d]}).bind(null,c));return u},o.n=function(s){var l=s&&s.__esModule?function(){return s.default}:function(){return s};return o.d(l,"a",l),l},o.o=function(s,l){return Object.prototype.hasOwnProperty.call(s,l)},o.p="",o(o.s="fb15")}({"00ee":function(a,i,o){var s=o("b622"),l=s("toStringTag"),u={};u[l]="z",a.exports=String(u)==="[object z]"},"0366":function(a,i,o){var s=o("1c0b");a.exports=function(l,u,c){if(s(l),u===void 0)return l;switch(c){case 0:return function(){return l.call(u)};case 1:return function(d){return l.call(u,d)};case 2:return function(d,f){return l.call(u,d,f)};case 3:return function(d,f,h){return l.call(u,d,f,h)}}return function(){return l.apply(u,arguments)}}},"057f":function(a,i,o){var s=o("fc6a"),l=o("241c").f,u={}.toString,c=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],d=function(f){try{return l(f)}catch{return c.slice()}};a.exports.f=function(h){return c&&u.call(h)=="[object Window]"?d(h):l(s(h))}},"06cf":function(a,i,o){var s=o("83ab"),l=o("d1e7"),u=o("5c6c"),c=o("fc6a"),d=o("c04e"),f=o("5135"),h=o("0cfb"),p=Object.getOwnPropertyDescriptor;i.f=s?p:function(y,g){if(y=c(y),g=d(g,!0),h)try{return p(y,g)}catch{}if(f(y,g))return u(!l.f.call(y,g),y[g])}},"0cfb":function(a,i,o){var s=o("83ab"),l=o("d039"),u=o("cc12");a.exports=!s&&!l(function(){return Object.defineProperty(u("div"),"a",{get:function(){return 7}}).a!=7})},"13d5":function(a,i,o){var s=o("23e7"),l=o("d58f").left,u=o("a640"),c=o("ae40"),d=u("reduce"),f=c("reduce",{1:0});s({target:"Array",proto:!0,forced:!d||!f},{reduce:function(p){return l(this,p,arguments.length,arguments.length>1?arguments[1]:void 0)}})},"14c3":function(a,i,o){var s=o("c6b6"),l=o("9263");a.exports=function(u,c){var d=u.exec;if(typeof d=="function"){var f=d.call(u,c);if(typeof f!="object")throw TypeError("RegExp exec method returned something other than an Object or null");return f}if(s(u)!=="RegExp")throw TypeError("RegExp#exec called on incompatible receiver");return l.call(u,c)}},"159b":function(a,i,o){var s=o("da84"),l=o("fdbc"),u=o("17c2"),c=o("9112");for(var d in l){var f=s[d],h=f&&f.prototype;if(h&&h.forEach!==u)try{c(h,"forEach",u)}catch{h.forEach=u}}},"17c2":function(a,i,o){var s=o("b727").forEach,l=o("a640"),u=o("ae40"),c=l("forEach"),d=u("forEach");a.exports=!c||!d?function(h){return s(this,h,arguments.length>1?arguments[1]:void 0)}:[].forEach},"1be4":function(a,i,o){var s=o("d066");a.exports=s("document","documentElement")},"1c0b":function(a,i){a.exports=function(o){if(typeof o!="function")throw TypeError(String(o)+" is not a function");return o}},"1c7e":function(a,i,o){var s=o("b622"),l=s("iterator"),u=!1;try{var c=0,d={next:function(){return{done:!!c++}},return:function(){u=!0}};d[l]=function(){return this},Array.from(d,function(){throw 2})}catch{}a.exports=function(f,h){if(!h&&!u)return!1;var p=!1;try{var m={};m[l]=function(){return{next:function(){return{done:p=!0}}}},f(m)}catch{}return p}},"1d80":function(a,i){a.exports=function(o){if(o==null)throw TypeError("Can't call method on "+o);return o}},"1dde":function(a,i,o){var s=o("d039"),l=o("b622"),u=o("2d00"),c=l("species");a.exports=function(d){return u>=51||!s(function(){var f=[],h=f.constructor={};return h[c]=function(){return{foo:1}},f[d](Boolean).foo!==1})}},"23cb":function(a,i,o){var s=o("a691"),l=Math.max,u=Math.min;a.exports=function(c,d){var f=s(c);return f<0?l(f+d,0):u(f,d)}},"23e7":function(a,i,o){var s=o("da84"),l=o("06cf").f,u=o("9112"),c=o("6eeb"),d=o("ce4e"),f=o("e893"),h=o("94ca");a.exports=function(p,m){var y=p.target,g=p.global,w=p.stat,_,x,k,D,R,A;if(g?x=s:w?x=s[y]||d(y,{}):x=(s[y]||{}).prototype,x)for(k in m){if(R=m[k],p.noTargetGet?(A=l(x,k),D=A&&A.value):D=x[k],_=h(g?k:y+(w?".":"#")+k,p.forced),!_&&D!==void 0){if(typeof R==typeof D)continue;f(R,D)}(p.sham||D&&D.sham)&&u(R,"sham",!0),c(x,k,R,p)}}},"241c":function(a,i,o){var s=o("ca84"),l=o("7839"),u=l.concat("length","prototype");i.f=Object.getOwnPropertyNames||function(d){return s(d,u)}},"25f0":function(a,i,o){var s=o("6eeb"),l=o("825a"),u=o("d039"),c=o("ad6d"),d="toString",f=RegExp.prototype,h=f[d],p=u(function(){return h.call({source:"a",flags:"b"})!="/a/b"}),m=h.name!=d;(p||m)&&s(RegExp.prototype,d,function(){var g=l(this),w=String(g.source),_=g.flags,x=String(_===void 0&&g instanceof RegExp&&!("flags"in f)?c.call(g):_);return"/"+w+"/"+x},{unsafe:!0})},"2ca0":function(a,i,o){var s=o("23e7"),l=o("06cf").f,u=o("50c4"),c=o("5a34"),d=o("1d80"),f=o("ab13"),h=o("c430"),p="".startsWith,m=Math.min,y=f("startsWith"),g=!h&&!y&&!!function(){var w=l(String.prototype,"startsWith");return w&&!w.writable}();s({target:"String",proto:!0,forced:!g&&!y},{startsWith:function(_){var x=String(d(this));c(_);var k=u(m(arguments.length>1?arguments[1]:void 0,x.length)),D=String(_);return p?p.call(x,D,k):x.slice(k,k+D.length)===D}})},"2d00":function(a,i,o){var s=o("da84"),l=o("342f"),u=s.process,c=u&&u.versions,d=c&&c.v8,f,h;d?(f=d.split("."),h=f[0]+f[1]):l&&(f=l.match(/Edge\/(\d+)/),(!f||f[1]>=74)&&(f=l.match(/Chrome\/(\d+)/),f&&(h=f[1]))),a.exports=h&&+h},"342f":function(a,i,o){var s=o("d066");a.exports=s("navigator","userAgent")||""},"35a1":function(a,i,o){var s=o("f5df"),l=o("3f8c"),u=o("b622"),c=u("iterator");a.exports=function(d){if(d!=null)return d[c]||d["@@iterator"]||l[s(d)]}},"37e8":function(a,i,o){var s=o("83ab"),l=o("9bf2"),u=o("825a"),c=o("df75");a.exports=s?Object.defineProperties:function(f,h){u(f);for(var p=c(h),m=p.length,y=0,g;m>y;)l.f(f,g=p[y++],h[g]);return f}},"3bbe":function(a,i,o){var s=o("861d");a.exports=function(l){if(!s(l)&&l!==null)throw TypeError("Can't set "+String(l)+" as a prototype");return l}},"3ca3":function(a,i,o){var s=o("6547").charAt,l=o("69f3"),u=o("7dd0"),c="String Iterator",d=l.set,f=l.getterFor(c);u(String,"String",function(h){d(this,{type:c,string:String(h),index:0})},function(){var p=f(this),m=p.string,y=p.index,g;return y>=m.length?{value:void 0,done:!0}:(g=s(m,y),p.index+=g.length,{value:g,done:!1})})},"3f8c":function(a,i){a.exports={}},4160:function(a,i,o){var s=o("23e7"),l=o("17c2");s({target:"Array",proto:!0,forced:[].forEach!=l},{forEach:l})},"428f":function(a,i,o){var s=o("da84");a.exports=s},"44ad":function(a,i,o){var s=o("d039"),l=o("c6b6"),u="".split;a.exports=s(function(){return!Object("z").propertyIsEnumerable(0)})?function(c){return l(c)=="String"?u.call(c,""):Object(c)}:Object},"44d2":function(a,i,o){var s=o("b622"),l=o("7c73"),u=o("9bf2"),c=s("unscopables"),d=Array.prototype;d[c]==null&&u.f(d,c,{configurable:!0,value:l(null)}),a.exports=function(f){d[c][f]=!0}},"44e7":function(a,i,o){var s=o("861d"),l=o("c6b6"),u=o("b622"),c=u("match");a.exports=function(d){var f;return s(d)&&((f=d[c])!==void 0?!!f:l(d)=="RegExp")}},4930:function(a,i,o){var s=o("d039");a.exports=!!Object.getOwnPropertySymbols&&!s(function(){return!String(Symbol())})},"4d64":function(a,i,o){var s=o("fc6a"),l=o("50c4"),u=o("23cb"),c=function(d){return function(f,h,p){var m=s(f),y=l(m.length),g=u(p,y),w;if(d&&h!=h){for(;y>g;)if(w=m[g++],w!=w)return!0}else for(;y>g;g++)if((d||g in m)&&m[g]===h)return d||g||0;return!d&&-1}};a.exports={includes:c(!0),indexOf:c(!1)}},"4de4":function(a,i,o){var s=o("23e7"),l=o("b727").filter,u=o("1dde"),c=o("ae40"),d=u("filter"),f=c("filter");s({target:"Array",proto:!0,forced:!d||!f},{filter:function(p){return l(this,p,arguments.length>1?arguments[1]:void 0)}})},"4df4":function(a,i,o){var s=o("0366"),l=o("7b0b"),u=o("9bdd"),c=o("e95a"),d=o("50c4"),f=o("8418"),h=o("35a1");a.exports=function(m){var y=l(m),g=typeof this=="function"?this:Array,w=arguments.length,_=w>1?arguments[1]:void 0,x=_!==void 0,k=h(y),D=0,R,A,E,S,T,N;if(x&&(_=s(_,w>2?arguments[2]:void 0,2)),k!=null&&!(g==Array&&c(k)))for(S=k.call(y),T=S.next,A=new g;!(E=T.call(S)).done;D++)N=x?u(S,_,[E.value,D],!0):E.value,f(A,D,N);else for(R=d(y.length),A=new g(R);R>D;D++)N=x?_(y[D],D):y[D],f(A,D,N);return A.length=D,A}},"4fad":function(a,i,o){var s=o("23e7"),l=o("6f53").entries;s({target:"Object",stat:!0},{entries:function(c){return l(c)}})},"50c4":function(a,i,o){var s=o("a691"),l=Math.min;a.exports=function(u){return u>0?l(s(u),9007199254740991):0}},5135:function(a,i){var o={}.hasOwnProperty;a.exports=function(s,l){return o.call(s,l)}},5319:function(a,i,o){var s=o("d784"),l=o("825a"),u=o("7b0b"),c=o("50c4"),d=o("a691"),f=o("1d80"),h=o("8aa5"),p=o("14c3"),m=Math.max,y=Math.min,g=Math.floor,w=/\$([$&'`]|\d\d?|<[^>]*>)/g,_=/\$([$&'`]|\d\d?)/g,x=function(k){return k===void 0?k:String(k)};s("replace",2,function(k,D,R,A){var E=A.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,S=A.REPLACE_KEEPS_$0,T=E?"$":"$0";return[function(F,j){var B=f(this),J=F==null?void 0:F[k];return J!==void 0?J.call(F,B,j):D.call(String(B),F,j)},function(P,F){if(!E&&S||typeof F=="string"&&F.indexOf(T)===-1){var j=R(D,P,this,F);if(j.done)return j.value}var B=l(P),J=String(this),C=typeof F=="function";C||(F=String(F));var V=B.global;if(V){var M=B.unicode;B.lastIndex=0}for(var Z=[];;){var X=p(B,J);if(X===null||(Z.push(X),!V))break;var H=String(X[0]);H===""&&(B.lastIndex=h(J,c(B.lastIndex),M))}for(var le="",ye=0,de=0;de=ye&&(le+=J.slice(ye,we)+q,ye=we+Ae.length)}return le+J.slice(ye)}];function N(P,F,j,B,J,C){var V=j+P.length,M=B.length,Z=_;return J!==void 0&&(J=u(J),Z=w),D.call(C,Z,function(X,H){var le;switch(H.charAt(0)){case"$":return"$";case"&":return P;case"`":return F.slice(0,j);case"'":return F.slice(V);case"<":le=J[H.slice(1,-1)];break;default:var ye=+H;if(ye===0)return X;if(ye>M){var de=g(ye/10);return de===0?X:de<=M?B[de-1]===void 0?H.charAt(1):B[de-1]+H.charAt(1):X}le=B[ye-1]}return le===void 0?"":le})}})},5692:function(a,i,o){var s=o("c430"),l=o("c6cd");(a.exports=function(u,c){return l[u]||(l[u]=c!==void 0?c:{})})("versions",[]).push({version:"3.6.5",mode:s?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},"56ef":function(a,i,o){var s=o("d066"),l=o("241c"),u=o("7418"),c=o("825a");a.exports=s("Reflect","ownKeys")||function(f){var h=l.f(c(f)),p=u.f;return p?h.concat(p(f)):h}},"5a34":function(a,i,o){var s=o("44e7");a.exports=function(l){if(s(l))throw TypeError("The method doesn't accept regular expressions");return l}},"5c6c":function(a,i){a.exports=function(o,s){return{enumerable:!(o&1),configurable:!(o&2),writable:!(o&4),value:s}}},"5db7":function(a,i,o){var s=o("23e7"),l=o("a2bf"),u=o("7b0b"),c=o("50c4"),d=o("1c0b"),f=o("65f0");s({target:"Array",proto:!0},{flatMap:function(p){var m=u(this),y=c(m.length),g;return d(p),g=f(m,0),g.length=l(g,m,m,y,0,1,p,arguments.length>1?arguments[1]:void 0),g}})},6547:function(a,i,o){var s=o("a691"),l=o("1d80"),u=function(c){return function(d,f){var h=String(l(d)),p=s(f),m=h.length,y,g;return p<0||p>=m?c?"":void 0:(y=h.charCodeAt(p),y<55296||y>56319||p+1===m||(g=h.charCodeAt(p+1))<56320||g>57343?c?h.charAt(p):y:c?h.slice(p,p+2):(y-55296<<10)+(g-56320)+65536)}};a.exports={codeAt:u(!1),charAt:u(!0)}},"65f0":function(a,i,o){var s=o("861d"),l=o("e8b5"),u=o("b622"),c=u("species");a.exports=function(d,f){var h;return l(d)&&(h=d.constructor,typeof h=="function"&&(h===Array||l(h.prototype))?h=void 0:s(h)&&(h=h[c],h===null&&(h=void 0))),new(h===void 0?Array:h)(f===0?0:f)}},"69f3":function(a,i,o){var s=o("7f9a"),l=o("da84"),u=o("861d"),c=o("9112"),d=o("5135"),f=o("f772"),h=o("d012"),p=l.WeakMap,m,y,g,w=function(E){return g(E)?y(E):m(E,{})},_=function(E){return function(S){var T;if(!u(S)||(T=y(S)).type!==E)throw TypeError("Incompatible receiver, "+E+" required");return T}};if(s){var x=new p,k=x.get,D=x.has,R=x.set;m=function(E,S){return R.call(x,E,S),S},y=function(E){return k.call(x,E)||{}},g=function(E){return D.call(x,E)}}else{var A=f("state");h[A]=!0,m=function(E,S){return c(E,A,S),S},y=function(E){return d(E,A)?E[A]:{}},g=function(E){return d(E,A)}}a.exports={set:m,get:y,has:g,enforce:w,getterFor:_}},"6eeb":function(a,i,o){var s=o("da84"),l=o("9112"),u=o("5135"),c=o("ce4e"),d=o("8925"),f=o("69f3"),h=f.get,p=f.enforce,m=String(String).split("String");(a.exports=function(y,g,w,_){var x=_?!!_.unsafe:!1,k=_?!!_.enumerable:!1,D=_?!!_.noTargetGet:!1;if(typeof w=="function"&&(typeof g=="string"&&!u(w,"name")&&l(w,"name",g),p(w).source=m.join(typeof g=="string"?g:"")),y===s){k?y[g]=w:c(g,w);return}else x?!D&&y[g]&&(k=!0):delete y[g];k?y[g]=w:l(y,g,w)})(Function.prototype,"toString",function(){return typeof this=="function"&&h(this).source||d(this)})},"6f53":function(a,i,o){var s=o("83ab"),l=o("df75"),u=o("fc6a"),c=o("d1e7").f,d=function(f){return function(h){for(var p=u(h),m=l(p),y=m.length,g=0,w=[],_;y>g;)_=m[g++],(!s||c.call(p,_))&&w.push(f?[_,p[_]]:p[_]);return w}};a.exports={entries:d(!0),values:d(!1)}},"73d9":function(a,i,o){var s=o("44d2");s("flatMap")},7418:function(a,i){i.f=Object.getOwnPropertySymbols},"746f":function(a,i,o){var s=o("428f"),l=o("5135"),u=o("e538"),c=o("9bf2").f;a.exports=function(d){var f=s.Symbol||(s.Symbol={});l(f,d)||c(f,d,{value:u.f(d)})}},7839:function(a,i){a.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"7b0b":function(a,i,o){var s=o("1d80");a.exports=function(l){return Object(s(l))}},"7c73":function(a,i,o){var s=o("825a"),l=o("37e8"),u=o("7839"),c=o("d012"),d=o("1be4"),f=o("cc12"),h=o("f772"),p=">",m="<",y="prototype",g="script",w=h("IE_PROTO"),_=function(){},x=function(E){return m+g+p+E+m+"/"+g+p},k=function(E){E.write(x("")),E.close();var S=E.parentWindow.Object;return E=null,S},D=function(){var E=f("iframe"),S="java"+g+":",T;return E.style.display="none",d.appendChild(E),E.src=String(S),T=E.contentWindow.document,T.open(),T.write(x("document.F=Object")),T.close(),T.F},R,A=function(){try{R=document.domain&&new ActiveXObject("htmlfile")}catch{}A=R?k(R):D();for(var E=u.length;E--;)delete A[y][u[E]];return A()};c[w]=!0,a.exports=Object.create||function(S,T){var N;return S!==null?(_[y]=s(S),N=new _,_[y]=null,N[w]=S):N=A(),T===void 0?N:l(N,T)}},"7dd0":function(a,i,o){var s=o("23e7"),l=o("9ed3"),u=o("e163"),c=o("d2bb"),d=o("d44e"),f=o("9112"),h=o("6eeb"),p=o("b622"),m=o("c430"),y=o("3f8c"),g=o("ae93"),w=g.IteratorPrototype,_=g.BUGGY_SAFARI_ITERATORS,x=p("iterator"),k="keys",D="values",R="entries",A=function(){return this};a.exports=function(E,S,T,N,P,F,j){l(T,S,N);var B=function(de){if(de===P&&Z)return Z;if(!_&&de in V)return V[de];switch(de){case k:return function(){return new T(this,de)};case D:return function(){return new T(this,de)};case R:return function(){return new T(this,de)}}return function(){return new T(this)}},J=S+" Iterator",C=!1,V=E.prototype,M=V[x]||V["@@iterator"]||P&&V[P],Z=!_&&M||B(P),X=S=="Array"&&V.entries||M,H,le,ye;if(X&&(H=u(X.call(new E)),w!==Object.prototype&&H.next&&(!m&&u(H)!==w&&(c?c(H,w):typeof H[x]!="function"&&f(H,x,A)),d(H,J,!0,!0),m&&(y[J]=A))),P==D&&M&&M.name!==D&&(C=!0,Z=function(){return M.call(this)}),(!m||j)&&V[x]!==Z&&f(V,x,Z),y[S]=Z,P)if(le={values:B(D),keys:F?Z:B(k),entries:B(R)},j)for(ye in le)(_||C||!(ye in V))&&h(V,ye,le[ye]);else s({target:S,proto:!0,forced:_||C},le);return le}},"7f9a":function(a,i,o){var s=o("da84"),l=o("8925"),u=s.WeakMap;a.exports=typeof u=="function"&&/native code/.test(l(u))},"825a":function(a,i,o){var s=o("861d");a.exports=function(l){if(!s(l))throw TypeError(String(l)+" is not an object");return l}},"83ab":function(a,i,o){var s=o("d039");a.exports=!s(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},8418:function(a,i,o){var s=o("c04e"),l=o("9bf2"),u=o("5c6c");a.exports=function(c,d,f){var h=s(d);h in c?l.f(c,h,u(0,f)):c[h]=f}},"861d":function(a,i){a.exports=function(o){return typeof o=="object"?o!==null:typeof o=="function"}},8875:function(a,i,o){var s,l,u;(function(c,d){l=[],s=d,u=typeof s=="function"?s.apply(i,l):s,u!==void 0&&(a.exports=u)})(typeof self<"u"?self:this,function(){function c(){var d=Object.getOwnPropertyDescriptor(document,"currentScript");if(!d&&"currentScript"in document&&document.currentScript||d&&d.get!==c&&document.currentScript)return document.currentScript;try{throw new Error}catch(R){var f=/.*at [^(]*\((.*):(.+):(.+)\)$/ig,h=/@([^@]*):(\d+):(\d+)\s*$/ig,p=f.exec(R.stack)||h.exec(R.stack),m=p&&p[1]||!1,y=p&&p[2]||!1,g=document.location.href.replace(document.location.hash,""),w,_,x,k=document.getElementsByTagName("script");m===g&&(w=document.documentElement.outerHTML,_=new RegExp("(?:[^\\n]+?\\n){0,"+(y-2)+"}[^<]*