From 77716992a52f7bbae3f89edef81d927b6504f94b Mon Sep 17 00:00:00 2001 From: Sonny Le Date: Mon, 15 Jul 2024 17:31:37 +0700 Subject: [PATCH] Fix issue Article System Block does not updated when delete a block --- assets/vendor/manager/dist/index.js | 2 +- assets/vendor/manager/src/components/helpers/LayoutBuilder.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/vendor/manager/dist/index.js b/assets/vendor/manager/dist/index.js index 7e4fbba1..29101725 100644 --- a/assets/vendor/manager/dist/index.js +++ b/assets/vendor/manager/dist/index.js @@ -29,7 +29,7 @@ PERFORMANCE OF THIS SOFTWARE. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var QM="1.14.0";function fi(t){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(t)}var Ti=fi(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),Dc=fi(/Edge/i),E1=fi(/firefox/i),$u=fi(/safari/i)&&!fi(/chrome/i)&&!fi(/android/i),PT=fi(/iP(ad|od|hone)/i),ZM=fi(/chrome/i)&&fi(/android/i),MT={capture:!1,passive:!1};function Et(t,e,n){t.addEventListener(e,n,!Ti&&MT)}function _t(t,e,n){t.removeEventListener(e,n,!Ti&&MT)}function Rf(t,e){if(e){if(e[0]===">"&&(e=e.substring(1)),t)try{if(t.matches)return t.matches(e);if(t.msMatchesSelector)return t.msMatchesSelector(e);if(t.webkitMatchesSelector)return t.webkitMatchesSelector(e)}catch{return!1}return!1}}function eL(t){return t.host&&t!==document&&t.host.nodeType?t.host:t.parentNode}function ia(t,e,n,r){if(t){n=n||document;do{if(e!=null&&(e[0]===">"?t.parentNode===n&&Rf(t,e):Rf(t,e))||r&&t===n)return t;if(t===n)break}while(t=eL(t))}return null}var x1=/\s+/g;function en(t,e,n){if(t&&e)if(t.classList)t.classList[n?"add":"remove"](e);else{var r=(" "+t.className+" ").replace(x1," ").replace(" "+e+" "," ");t.className=(r+(n?" "+e:"")).replace(x1," ")}}function Ke(t,e,n){var r=t&&t.style;if(r){if(n===void 0)return document.defaultView&&document.defaultView.getComputedStyle?n=document.defaultView.getComputedStyle(t,""):t.currentStyle&&(n=t.currentStyle),e===void 0?n:n[e];!(e in r)&&e.indexOf("webkit")===-1&&(e="-webkit-"+e),r[e]=n+(typeof n=="string"?"":"px")}}function zo(t,e){var n="";if(typeof t=="string")n=t;else do{var r=Ke(t,"transform");r&&r!=="none"&&(n=r+" "+n)}while(!e&&(t=t.parentNode));var a=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return a&&new a(n)}function LT(t,e,n){if(t){var r=t.getElementsByTagName(e),a=0,i=r.length;if(n)for(;a=i:o=a<=i,!o)return r;if(r===Ma())break;r=Wi(r,!1)}return!1}function pl(t,e,n,r){for(var a=0,i=0,o=t.children;i2&&arguments[2]!==void 0?arguments[2]:{},a=r.evt,i=qM(r,sL);Ic.pluginEvent.bind(lt)(e,n,Ya({dragEl:$e,parentEl:rn,ghostEl:pt,rootEl:Gt,nextEl:Do,lastDownEl:ff,cloneEl:an,cloneHidden:Yi,dragStarted:gu,putSortable:Pn,activeSortable:lt.active,originalEvent:a,oldIndex:zs,oldDraggableIndex:Du,newIndex:wr,newDraggableIndex:Hi,hideGhostForTarget:VT,unhideGhostForTarget:HT,cloneNowHidden:function(){Yi=!0},cloneNowShown:function(){Yi=!1},dispatchSortableEvent:function(s){Qn({sortable:n,name:s,originalEvent:a})}},i))};function Qn(t){vu(Ya({putSortable:Pn,cloneEl:an,targetEl:$e,rootEl:Gt,oldIndex:zs,oldDraggableIndex:Du,newIndex:wr,newDraggableIndex:Hi},t))}var $e,rn,pt,Gt,Do,ff,an,Yi,zs,wr,Du,Hi,Od,Pn,Ls=!1,Ff=!1,jf=[],ko,ea,om,sm,O1,C1,gu,ks,Iu,Pu=!1,Cd=!1,hf,Un,lm=[],Lv=!1,Bf=[],Ph=typeof document<"u",kd=PT,k1=Dc||Ti?"cssFloat":"float",lL=Ph&&!ZM&&!PT&&"draggable"in document.createElement("div"),jT=function(){if(Ph){if(Ti)return!1;var t=document.createElement("x");return t.style.cssText="pointer-events:auto",t.style.pointerEvents==="auto"}}(),BT=function(e,n){var r=Ke(e),a=parseInt(r.width)-parseInt(r.paddingLeft)-parseInt(r.paddingRight)-parseInt(r.borderLeftWidth)-parseInt(r.borderRightWidth),i=pl(e,0,n),o=pl(e,1,n),s=i&&Ke(i),l=o&&Ke(o),u=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+Xt(i).width,c=l&&parseInt(l.marginLeft)+parseInt(l.marginRight)+Xt(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[k1]==="none"||o&&r[k1]==="none"&&u+c>a)?"vertical":"horizontal"},uL=function(e,n,r){var a=r?e.left:e.top,i=r?e.right:e.bottom,o=r?e.width:e.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},cL=function(e,n){var r;return jf.some(function(a){var i=a[Yn].options.emptyInsertThreshold;if(!(!i||My(a))){var o=Xt(a),s=e>=o.left-i&&e<=o.right+i,l=n>=o.top-i&&n<=o.bottom+i;if(s&&l)return r=a}}),r},UT=function(e){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=e.group;(!a||df(a)!="object")&&(a={name:a}),r.name=a.name,r.checkPull=n(a.pull,!0),r.checkPut=n(a.put),r.revertClone=a.revertClone,e.group=r},VT=function(){!jT&&pt&&Ke(pt,"display","none")},HT=function(){!jT&&pt&&Ke(pt,"display","")};Ph&&document.addEventListener("click",function(t){if(Ff)return t.preventDefault(),t.stopPropagation&&t.stopPropagation(),t.stopImmediatePropagation&&t.stopImmediatePropagation(),Ff=!1,!1},!0);var $o=function(e){if($e){e=e.touches?e.touches[0]:e;var n=cL(e.clientX,e.clientY);if(n){var r={};for(var a in e)e.hasOwnProperty(a)&&(r[a]=e[a]);r.target=r.rootEl=n,r.preventDefault=void 0,r.stopPropagation=void 0,n[Yn]._onDragOver(r)}}},dL=function(e){$e&&$e.parentNode[Yn]._isOutsideThisEl(e.target)};function lt(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=qr({},e),t[Yn]=this;var n={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(t.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return BT(t,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:lt.supportPointer!==!1&&"PointerEvent"in window&&!$u,emptyInsertThreshold:5};Ic.initializePlugins(this,t,n);for(var r in n)!(r in e)&&(e[r]=n[r]);UT(e);for(var a in this)a.charAt(0)==="_"&&typeof this[a]=="function"&&(this[a]=this[a].bind(this));this.nativeDraggable=e.forceFallback?!1:lL,this.nativeDraggable&&(this.options.touchStartThreshold=1),e.supportPointer?Et(t,"pointerdown",this._onTapStart):(Et(t,"mousedown",this._onTapStart),Et(t,"touchstart",this._onTapStart)),this.nativeDraggable&&(Et(t,"dragover",this),Et(t,"dragenter",this)),jf.push(this.el),e.store&&e.store.get&&this.sort(e.store.get(this)||[]),qr(this,aL())}lt.prototype={constructor:lt,_isOutsideThisEl:function(e){!this.el.contains(e)&&e!==this.el&&(ks=null)},_getDirection:function(e,n){return typeof this.options.direction=="function"?this.options.direction.call(this,e,n,$e):this.options.direction},_onTapStart:function(e){if(e.cancelable){var n=this,r=this.el,a=this.options,i=a.preventOnFilter,o=e.type,s=e.touches&&e.touches[0]||e.pointerType&&e.pointerType==="touch"&&e,l=(s||e).target,u=e.target.shadowRoot&&(e.path&&e.path[0]||e.composedPath&&e.composedPath()[0])||l,c=a.filter;if(bL(r),!$e&&!(/mousedown|pointerdown/.test(o)&&e.button!==0||a.disabled)&&!u.isContentEditable&&!(!this.nativeDraggable&&$u&&l&&l.tagName.toUpperCase()==="SELECT")&&(l=ia(l,a.draggable,r,!1),!(l&&l.animated)&&ff!==l)){if(zs=on(l),Du=on(l,a.draggable),typeof c=="function"){if(c.call(this,e,l,this)){Qn({sortable:n,rootEl:u,name:"filter",targetEl:l,toEl:r,fromEl:r}),sr("filter",n,{evt:e}),i&&e.cancelable&&e.preventDefault();return}}else if(c&&(c=c.split(",").some(function(d){if(d=ia(u,d.trim(),r,!1),d)return Qn({sortable:n,rootEl:d,name:"filter",targetEl:l,fromEl:r,toEl:r}),sr("filter",n,{evt:e}),!0}),c)){i&&e.cancelable&&e.preventDefault();return}a.handle&&!ia(u,a.handle,r,!1)||this._prepareDragStart(e,s,l)}}},_prepareDragStart:function(e,n,r){var a=this,i=a.el,o=a.options,s=i.ownerDocument,l;if(r&&!$e&&r.parentNode===i){var u=Xt(r);if(Gt=i,$e=r,rn=$e.parentNode,Do=$e.nextSibling,ff=r,Od=o.group,lt.dragged=$e,ko={target:$e,clientX:(n||e).clientX,clientY:(n||e).clientY},O1=ko.clientX-u.left,C1=ko.clientY-u.top,this._lastX=(n||e).clientX,this._lastY=(n||e).clientY,$e.style["will-change"]="all",l=function(){if(sr("delayEnded",a,{evt:e}),lt.eventCanceled){a._onDrop();return}a._disableDelayedDragEvents(),!E1&&a.nativeDraggable&&($e.draggable=!0),a._triggerDragStart(e,n),Qn({sortable:a,name:"choose",originalEvent:e}),en($e,o.chosenClass,!0)},o.ignore.split(",").forEach(function(c){LT($e,c.trim(),um)}),Et(s,"dragover",$o),Et(s,"mousemove",$o),Et(s,"touchmove",$o),Et(s,"mouseup",a._onDrop),Et(s,"touchend",a._onDrop),Et(s,"touchcancel",a._onDrop),E1&&this.nativeDraggable&&(this.options.touchStartThreshold=4,$e.draggable=!0),sr("delayStart",this,{evt:e}),o.delay&&(!o.delayOnTouchOnly||n)&&(!this.nativeDraggable||!(Dc||Ti))){if(lt.eventCanceled){this._onDrop();return}Et(s,"mouseup",a._disableDelayedDrag),Et(s,"touchend",a._disableDelayedDrag),Et(s,"touchcancel",a._disableDelayedDrag),Et(s,"mousemove",a._delayedDragTouchMoveHandler),Et(s,"touchmove",a._delayedDragTouchMoveHandler),o.supportPointer&&Et(s,"pointermove",a._delayedDragTouchMoveHandler),a._dragStartTimer=setTimeout(l,o.delay)}else l()}},_delayedDragTouchMoveHandler:function(e){var n=e.touches?e.touches[0]:e;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(){$e&&um($e),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var e=this.el.ownerDocument;_t(e,"mouseup",this._disableDelayedDrag),_t(e,"touchend",this._disableDelayedDrag),_t(e,"touchcancel",this._disableDelayedDrag),_t(e,"mousemove",this._delayedDragTouchMoveHandler),_t(e,"touchmove",this._delayedDragTouchMoveHandler),_t(e,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(e,n){n=n||e.pointerType=="touch"&&e,!this.nativeDraggable||n?this.options.supportPointer?Et(document,"pointermove",this._onTouchMove):n?Et(document,"touchmove",this._onTouchMove):Et(document,"mousemove",this._onTouchMove):(Et($e,"dragend",this),Et(Gt,"dragstart",this._onDragStart));try{document.selection?pf(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(e,n){if(Ls=!1,Gt&&$e){sr("dragStarted",this,{evt:n}),this.nativeDraggable&&Et(document,"dragover",dL);var r=this.options;!e&&en($e,r.dragClass,!1),en($e,r.ghostClass,!0),lt.active=this,e&&this._appendGhost(),Qn({sortable:this,name:"start",originalEvent:n})}else this._nulling()},_emulateDragOver:function(){if(ea){this._lastX=ea.clientX,this._lastY=ea.clientY,VT();for(var e=document.elementFromPoint(ea.clientX,ea.clientY),n=e;e&&e.shadowRoot&&(e=e.shadowRoot.elementFromPoint(ea.clientX,ea.clientY),e!==n);)n=e;if($e.parentNode[Yn]._isOutsideThisEl(e),n)do{if(n[Yn]){var r=void 0;if(r=n[Yn]._onDragOver({clientX:ea.clientX,clientY:ea.clientY,target:e,rootEl:n}),r&&!this.options.dragoverBubble)break}e=n}while(n=n.parentNode);HT()}},_onTouchMove:function(e){if(ko){var n=this.options,r=n.fallbackTolerance,a=n.fallbackOffset,i=e.touches?e.touches[0]:e,o=pt&&zo(pt,!0),s=pt&&o&&o.a,l=pt&&o&&o.d,u=kd&&Un&&S1(Un),c=(i.clientX-ko.clientX+a.x)/(s||1)+(u?u[0]-lm[0]:0)/(s||1),d=(i.clientY-ko.clientY+a.y)/(l||1)+(u?u[1]-lm[1]:0)/(l||1);if(!lt.active&&!Ls){if(r&&Math.max(Math.abs(i.clientX-this._lastX),Math.abs(i.clientY-this._lastY))=0&&(Qn({rootEl:rn,name:"add",toEl:rn,fromEl:Gt,originalEvent:e}),Qn({sortable:this,name:"remove",toEl:rn,originalEvent:e}),Qn({rootEl:rn,name:"sort",toEl:rn,fromEl:Gt,originalEvent:e}),Qn({sortable:this,name:"sort",toEl:rn,originalEvent:e})),Pn&&Pn.save()):wr!==zs&&wr>=0&&(Qn({sortable:this,name:"update",toEl:rn,originalEvent:e}),Qn({sortable:this,name:"sort",toEl:rn,originalEvent:e})),lt.active&&((wr==null||wr===-1)&&(wr=zs,Hi=Du),Qn({sortable:this,name:"end",toEl:rn,originalEvent:e}),this.save()))),this._nulling()},_nulling:function(){sr("nulling",this),Gt=$e=rn=pt=Do=an=ff=Yi=ko=ea=gu=wr=Hi=zs=Du=ks=Iu=Pn=Od=lt.dragged=lt.ghost=lt.clone=lt.active=null,Bf.forEach(function(e){e.checked=!0}),Bf.length=om=sm=0},handleEvent:function(e){switch(e.type){case"drop":case"dragend":this._onDrop(e);break;case"dragenter":case"dragover":$e&&(this._onDragOver(e),fL(e));break;case"selectstart":e.preventDefault();break}},toArray:function(){for(var e=[],n,r=this.el.children,a=0,i=r.length,o=this.options;ar.right+a||t.clientX<=r.right&&t.clientY>r.bottom&&t.clientX>=r.left:t.clientX>r.right&&t.clientY>r.top||t.clientX<=r.right&&t.clientY>r.bottom+a}function vL(t,e,n,r,a,i,o,s){var l=r?t.clientY:t.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&&hfc+u*i/2:ld-hf)return-Iu}else if(l>c+u*(1-a)/2&&ld-u*i/2)?l>c+u/2?1:-1:0}function gL(t){return on($e)1&&(ht.forEach(function(s){i.addAnimationState({target:s,rect:lr?Xt(s):o}),am(s),s.fromRect=o,r.removeAnimationState(s)}),lr=!1,TL(!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(),ru=!1,u.animation&&ht.length>1&&(lr||!a&&!o.options.sort&&!l)){var c=Xt(Ht,!1,!0,!0);ht.forEach(function(f){f!==Ht&&(A1(f,c),s.appendChild(f))}),lr=!0}if(!a)if(lr||Dd(),ht.length>1){var d=Nd;o._showClone(r),o.options.animation&&!Nd&&d&&br.forEach(function(f){o.addAnimationState({target:f,rect:au}),f.fromRect=au,f.thisAnimationDuration=null})}else o._showClone(r)}},dragOverAnimationCapture:function(n){var r=n.dragRect,a=n.isOwner,i=n.activeSortable;if(ht.forEach(function(s){s.thisAnimationDuration=null}),i.options.animation&&!a&&i.multiDrag.isMultiDrag){au=qr({},r);var o=zo(Ht,!0);au.top-=o.f,au.left-=o.e}},dragOverAnimationComplete:function(){lr&&(lr=!1,Dd())},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(!$s)if(d.multiDragKey&&!this.multiDragKeyDown&&this._deselectMultiDrag(),en(Ht,d.selectedClass,!~ht.indexOf(Ht)),~ht.indexOf(Ht))ht.splice(ht.indexOf(Ht),1),nu=null,vu({sortable:o,rootEl:a,name:"deselect",targetEl:Ht,originalEvt:r});else{if(ht.push(Ht),vu({sortable:o,rootEl:a,name:"select",targetEl:Ht,originalEvt:r}),r.shiftKey&&nu&&o.el.contains(nu)){var h=on(nu),p=on(Ht);if(~h&&~p&&h!==p){var m,y;for(p>h?(y=h,m=p):(y=p,m=h+1);y1){var g=Xt(Ht),_=on(Ht,":not(."+this.options.selectedClass+")");if(!ru&&d.animation&&(Ht.thisAnimationDuration=null),c.captureAnimationState(),!ru&&(d.animation&&(Ht.fromRect=g,ht.forEach(function(w){if(w.thisAnimationDuration=null,w!==Ht){var C=lr?Xt(w):g;w.fromRect=C,c.addAnimationState({target:w,rect:C})}})),Dd(),ht.forEach(function(w){f[_]?i.insertBefore(w,f[_]):i.appendChild(w),_++}),l===on(Ht))){var b=!1;ht.forEach(function(w){if(w.sortableIndex!==on(w)){b=!0;return}}),b&&s("update")}ht.forEach(function(w){am(w)}),c.animateAll()}ta=c}(a===i||u&&u.lastPutMode!=="clone")&&br.forEach(function(w){w.parentNode&&w.parentNode.removeChild(w)})}},nullingGlobal:function(){this.isMultiDrag=$s=!1,br.length=0},destroyGlobal:function(){this._deselectMultiDrag(),_t(document,"pointerup",this._deselectMultiDrag),_t(document,"mouseup",this._deselectMultiDrag),_t(document,"touchend",this._deselectMultiDrag),_t(document,"keydown",this._checkKeyDown),_t(document,"keyup",this._checkKeyUp)},_deselectMultiDrag:function(n){if(!(typeof $s<"u"&&$s)&&ta===this.sortable&&!(n&&ia(n.target,this.options.draggable,this.sortable.el,!1))&&!(n&&n.button!==0))for(;ht.length;){var r=ht[0];en(r,this.options.selectedClass,!1),ht.shift(),vu({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)}},qr(t,{pluginName:"multiDrag",utils:{select:function(n){var r=n.parentNode[Yn];!r||!r.options.multiDrag||~ht.indexOf(n)||(ta&&ta!==r&&(ta.multiDrag._deselectMultiDrag(),ta=r),en(n,r.options.selectedClass,!0),ht.push(n))},deselect:function(n){var r=n.parentNode[Yn],a=ht.indexOf(n);!r||!r.options.multiDrag||!~a||(en(n,r.options.selectedClass,!1),ht.splice(a,1))}},eventProperties:function(){var n=this,r=[],a=[];return ht.forEach(function(i){r.push({multiDragElement:i,index:i.sortableIndex});var o;lr&&i!==Ht?o=-1:lr?o=on(i,":not(."+n.options.selectedClass+")"):o=on(i),a.push({multiDragElement:i,index:o})}),{items:zM(ht),clones:[].concat(br),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 TL(t,e){ht.forEach(function(n,r){var a=e.children[n.sortableIndex+(t?Number(r):0)];a?e.insertBefore(n,a):e.appendChild(n)})}function N1(t,e){br.forEach(function(n,r){var a=e.children[n.sortableIndex+(t?Number(r):0)];a?e.insertBefore(n,a):e.appendChild(n)})}function Dd(){ht.forEach(function(t){t!==Ht&&t.parentNode&&t.parentNode.removeChild(t)})}lt.mount(new _L);lt.mount(Fy,Ry);const SL=Object.freeze(Object.defineProperty({__proto__:null,MultiDrag:xL,Sortable:lt,Swap:wL,default:lt},Symbol.toStringTag,{value:"Module"})),AL=CT(SL);(function(t,e){(function(r,a){t.exports=a(HM,AL)})(typeof self<"u"?self:si,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,_=p.stat,b,w,C,$,L,O;if(g?w=s:_?w=s[y]||d(y,{}):w=(s[y]||{}).prototype,w)for(C in m){if(L=m[C],p.noTargetGet?(O=l(w,C),$=O&&O.value):$=w[C],b=h(g?C:y+(_?".":"#")+C,p.forced),!b&&$!==void 0){if(typeof L==typeof $)continue;f(L,$)}(p.sham||$&&$.sham)&&u(L,"sham",!0),c(w,C,L,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),_=String(g.source),b=g.flags,w=String(b===void 0&&g instanceof RegExp&&!("flags"in f)?c.call(g):b);return"/"+_+"/"+w},{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 _=l(String.prototype,"startsWith");return _&&!_.writable}();s({target:"String",proto:!0,forced:!g&&!y},{startsWith:function(b){var w=String(d(this));c(b);var C=u(m(arguments.length>1?arguments[1]:void 0,w.length)),$=String(b);return p?p.call(w,$,C):w.slice(C,C+$.length)===$}})},"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),_;if(d&&h!=h){for(;y>g;)if(_=m[g++],_!=_)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,_=arguments.length,b=_>1?arguments[1]:void 0,w=b!==void 0,C=h(y),$=0,L,O,T,x,S,D;if(w&&(b=s(b,_>2?arguments[2]:void 0,2)),C!=null&&!(g==Array&&c(C)))for(x=C.call(y),S=x.next,O=new g;!(T=S.call(x)).done;$++)D=w?u(x,b,[T.value,$],!0):T.value,f(O,$,D);else for(L=d(y.length),O=new g(L);L>$;$++)D=w?b(y[$],$):y[$],f(O,$,D);return O.length=$,O}},"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,_=/\$([$&'`]|\d\d?|<[^>]*>)/g,b=/\$([$&'`]|\d\d?)/g,w=function(C){return C===void 0?C:String(C)};s("replace",2,function(C,$,L,O){var T=O.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,x=O.REPLACE_KEEPS_$0,S=T?"$":"$0";return[function(F,j){var B=f(this),X=F==null?void 0:F[C];return X!==void 0?X.call(F,B,j):$.call(String(B),F,j)},function(I,F){if(!T&&x||typeof F=="string"&&F.indexOf(S)===-1){var j=L($,I,this,F);if(j.done)return j.value}var B=l(I),X=String(this),k=typeof F=="function";k||(F=String(F));var V=B.global;if(V){var M=B.unicode;B.lastIndex=0}for(var te=[];;){var J=p(B,X);if(J===null||(te.push(J),!V))break;var H=String(J[0]);H===""&&(B.lastIndex=h(X,c(B.lastIndex),M))}for(var oe="",fe=0,ce=0;ce=fe&&(oe+=X.slice(fe,ve)+W,fe=ve+Ce.length)}return oe+X.slice(fe)}];function D(I,F,j,B,X,k){var V=j+I.length,M=B.length,te=b;return X!==void 0&&(X=u(X),te=_),$.call(k,te,function(J,H){var oe;switch(H.charAt(0)){case"$":return"$";case"&":return I;case"`":return F.slice(0,j);case"'":return F.slice(V);case"<":oe=X[H.slice(1,-1)];break;default:var fe=+H;if(fe===0)return J;if(fe>M){var ce=g(fe/10);return ce===0?J:ce<=M?B[ce-1]===void 0?H.charAt(1):B[ce-1]+H.charAt(1):J}oe=B[fe-1]}return oe===void 0?"":oe})}})},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,_=function(T){return g(T)?y(T):m(T,{})},b=function(T){return function(x){var S;if(!u(x)||(S=y(x)).type!==T)throw TypeError("Incompatible receiver, "+T+" required");return S}};if(s){var w=new p,C=w.get,$=w.has,L=w.set;m=function(T,x){return L.call(w,T,x),x},y=function(T){return C.call(w,T)||{}},g=function(T){return $.call(w,T)}}else{var O=f("state");h[O]=!0,m=function(T,x){return c(T,O,x),x},y=function(T){return d(T,O)?T[O]:{}},g=function(T){return d(T,O)}}a.exports={set:m,get:y,has:g,enforce:_,getterFor:b}},"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,_,b){var w=b?!!b.unsafe:!1,C=b?!!b.enumerable:!1,$=b?!!b.noTargetGet:!1;if(typeof _=="function"&&(typeof g=="string"&&!u(_,"name")&&l(_,"name",g),p(_).source=m.join(typeof g=="string"?g:"")),y===s){C?y[g]=_:c(g,_);return}else w?!$&&y[g]&&(C=!0):delete y[g];C?y[g]=_:l(y,g,_)})(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,_=[],b;y>g;)b=m[g++],(!s||c.call(p,b))&&_.push(f?[b,p[b]]:p[b]);return _}};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",_=h("IE_PROTO"),b=function(){},w=function(T){return m+g+p+T+m+"/"+g+p},C=function(T){T.write(w("")),T.close();var x=T.parentWindow.Object;return T=null,x},$=function(){var T=f("iframe"),x="java"+g+":",S;return T.style.display="none",d.appendChild(T),T.src=String(x),S=T.contentWindow.document,S.open(),S.write(w("document.F=Object")),S.close(),S.F},L,O=function(){try{L=document.domain&&new ActiveXObject("htmlfile")}catch{}O=L?C(L):$();for(var T=u.length;T--;)delete O[y][u[T]];return O()};c[_]=!0,a.exports=Object.create||function(x,S){var D;return x!==null?(b[y]=s(x),D=new b,b[y]=null,D[_]=x):D=O(),S===void 0?D:l(D,S)}},"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"),_=g.IteratorPrototype,b=g.BUGGY_SAFARI_ITERATORS,w=p("iterator"),C="keys",$="values",L="entries",O=function(){return this};a.exports=function(T,x,S,D,I,F,j){l(S,x,D);var B=function(ce){if(ce===I&&te)return te;if(!b&&ce in V)return V[ce];switch(ce){case C:return function(){return new S(this,ce)};case $:return function(){return new S(this,ce)};case L:return function(){return new S(this,ce)}}return function(){return new S(this)}},X=x+" Iterator",k=!1,V=T.prototype,M=V[w]||V["@@iterator"]||I&&V[I],te=!b&&M||B(I),J=x=="Array"&&V.entries||M,H,oe,fe;if(J&&(H=u(J.call(new T)),_!==Object.prototype&&H.next&&(!m&&u(H)!==_&&(c?c(H,_):typeof H[w]!="function"&&f(H,w,O)),d(H,X,!0,!0),m&&(y[X]=O))),I==$&&M&&M.name!==$&&(k=!0,te=function(){return M.call(this)}),(!m||j)&&V[w]!==te&&f(V,w,te),y[x]=te,I)if(oe={values:B($),keys:F?te:B(C),entries:B(L)},j)for(fe in oe)(b||k||!(fe in V))&&h(V,fe,oe[fe]);else s({target:x,proto:!0,forced:b||k},oe);return oe}},"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(L){var f=/.*at [^(]*\((.*):(.+):(.+)\)$/ig,h=/@([^@]*):(\d+):(\d+)\s*$/ig,p=f.exec(L.stack)||h.exec(L.stack),m=p&&p[1]||!1,y=p&&p[2]||!1,g=document.location.href.replace(document.location.hash,""),_,b,w,C=document.getElementsByTagName("script");m===g&&(_=document.documentElement.outerHTML,b=new RegExp("(?:[^\\n]+?\\n){0,"+(y-2)+"}[^<]*