import{ay as tn,b8 as pe,bP as en,bn as V,aB as nn,bd as on,bQ as rn,bR as ue,be as an,br as ln,bS as Ne,bp as sn,bT as Gt}from"./chat-u6cKkSMp.js";const eo="data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1744092984968'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='1250'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M384%20768a64%2064%200%201%200%200%20128%2064%2064%200%200%200%200-128z%20m0-320a64%2064%200%201%200%200%20128%2064%2064%200%200%200%200-128z%20m0-320a64%2064%200%201%200%200%20128%2064%2064%200%200%200%200-128z%20m256%20640a64%2064%200%201%200%200%20128%2064%2064%200%200%200%200-128z%20m0-320a64%2064%200%201%200%200%20128%2064%2064%200%200%200%200-128z%20m0-320a64%2064%200%201%200%200%20128%2064%2064%200%200%200%200-128z'%20p-id='1251'%3e%3c/path%3e%3c/svg%3e";var un=Object.defineProperty,Ft=Object.getOwnPropertySymbols,Pe=Object.prototype.hasOwnProperty,ke=Object.prototype.propertyIsEnumerable,ge=(t,n,e)=>n in t?un(t,n,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[n]=e,vt=(t,n)=>{for(var e in n||(n={}))Pe.call(n,e)&&ge(t,e,n[e]);if(Ft)for(var e of Ft(n))ke.call(n,e)&&ge(t,e,n[e]);return t},Re=(t,n)=>{var e={};for(var o in t)Pe.call(t,o)&&n.indexOf(o)<0&&(e[o]=t[o]);if(t!=null&&Ft)for(var o of Ft(t))n.indexOf(o)<0&&ke.call(t,o)&&(e[o]=t[o]);return e};const Ye="[vue-draggable-plus]: ";function cn(t){console.warn(Ye+t)}function dn(t){console.error(Ye+t)}function ve(t,n,e){return e>=0&&ee?e.toUpperCase():"")}function hn(t){return Object.keys(t).reduce((n,e)=>(typeof t[e]<"u"&&(n[fn(e)]=t[e]),n),{})}function me(t,n){return Array.isArray(t)&&t.splice(n,1),t}function be(t,n,e){return Array.isArray(t)&&t.splice(n,0,e),t}function pn(t){return typeof t>"u"}function gn(t){return typeof t=="string"}function ye(t,n,e){const o=t.children[e];t.insertBefore(n,o)}function qt(t){t.parentNode&&t.parentNode.removeChild(t)}function vn(t,n=document){var e;let o=null;return typeof(n==null?void 0:n.querySelector)=="function"?o=(e=n==null?void 0:n.querySelector)==null?void 0:e.call(n,t):o=document.querySelector(t),o||cn(`Element not found: ${t}`),o}function mn(t,n,e=null){return function(...o){return t.apply(e,o),n.apply(e,o)}}function bn(t,n){const e=vt({},t);return Object.keys(n).forEach(o=>{e[o]?e[o]=mn(t[o],n[o]):e[o]=n[o]}),e}function yn(t){return t instanceof HTMLElement}function we(t,n){Object.keys(t).forEach(e=>{n(e,t[e])})}function wn(t){return t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&(t.charCodeAt(2)>122||t.charCodeAt(2)<97)}const Sn=Object.assign;/**! * Sortable 1.15.2 * @author RubaXa * @author owenm * @license MIT */function Se(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);n&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),e.push.apply(e,o)}return e}function tt(t){for(var n=1;n=0)&&(e[r]=t[r]);return e}function _n(t,n){if(t==null)return{};var e=En(t,n),o,r;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(t,o)&&(e[o]=t[o])}return e}var Cn="1.15.2";function ot(t){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(t)}var it=ot(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),Ot=ot(/Edge/i),De=ot(/firefox/i),Et=ot(/safari/i)&&!ot(/chrome/i)&&!ot(/android/i),Xe=ot(/iP(ad|od|hone)/i),Be=ot(/chrome/i)&&ot(/android/i),Fe={capture:!1,passive:!1};function S(t,n,e){t.addEventListener(n,e,!it&&Fe)}function y(t,n,e){t.removeEventListener(n,e,!it&&Fe)}function jt(t,n){if(n){if(n[0]===">"&&(n=n.substring(1)),t)try{if(t.matches)return t.matches(n);if(t.msMatchesSelector)return t.msMatchesSelector(n);if(t.webkitMatchesSelector)return t.webkitMatchesSelector(n)}catch{return!1}return!1}}function Tn(t){return t.host&&t!==document&&t.host.nodeType?t.host:t.parentNode}function Z(t,n,e,o){if(t){e=e||document;do{if(n!=null&&(n[0]===">"?t.parentNode===e&&jt(t,n):jt(t,n))||o&&t===e)return t;if(t===e)break}while(t=Tn(t))}return null}var Ee=/\s+/g;function z(t,n,e){if(t&&n)if(t.classList)t.classList[e?"add":"remove"](n);else{var o=(" "+t.className+" ").replace(Ee," ").replace(" "+n+" "," ");t.className=(o+(e?" "+n:"")).replace(Ee," ")}}function p(t,n,e){var o=t&&t.style;if(o){if(e===void 0)return document.defaultView&&document.defaultView.getComputedStyle?e=document.defaultView.getComputedStyle(t,""):t.currentStyle&&(e=t.currentStyle),n===void 0?e:e[n];!(n in o)&&n.indexOf("webkit")===-1&&(n="-webkit-"+n),o[n]=e+(typeof e=="string"?"":"px")}}function bt(t,n){var e="";if(typeof t=="string")e=t;else do{var o=p(t,"transform");o&&o!=="none"&&(e=o+" "+e)}while(!n&&(t=t.parentNode));var r=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return r&&new r(e)}function je(t,n,e){if(t){var o=t.getElementsByTagName(n),r=0,i=o.length;if(e)for(;r=i,!a)return o;if(o===Q())break;o=st(o,!1)}return!1}function yt(t,n,e,o){for(var r=0,i=0,a=t.children;i2&&arguments[2]!==void 0?arguments[2]:{},o=e.evt,r=_n(e,kn);At.pluginEvent.bind(g)(t,n,tt({dragEl:u,parentEl:x,ghostEl:v,rootEl:C,nextEl:ft,lastDownEl:Rt,cloneEl:T,cloneHidden:lt,dragStarted:wt,putSortable:X,activeSortable:g.active,originalEvent:o,oldIndex:mt,oldDraggableIndex:Ct,newIndex:U,newDraggableIndex:at,hideGhostForTarget:qe,unhideGhostForTarget:$e,cloneNowHidden:function(){lt=!0},cloneNowShown:function(){lt=!1},dispatchSortableEvent:function(i){F({sortable:n,name:i,originalEvent:o})}},r))};function F(t){Pn(tt({putSortable:X,cloneEl:T,targetEl:u,rootEl:C,oldIndex:mt,oldDraggableIndex:Ct,newIndex:U,newDraggableIndex:at},t))}var u,x,v,C,ft,Rt,T,lt,mt,U,Ct,at,It,X,gt=!1,Ht=!1,Wt=[],ct,J,Zt,Kt,Te,xe,wt,pt,Tt,xt=!1,Mt=!1,Yt,B,Qt=[],re=!1,Vt=[],Ut=typeof document<"u",Nt=Xe,Oe=Ot||it?"cssFloat":"float",Rn=Ut&&!Be&&!Xe&&"draggable"in document.createElement("div"),Ue=(function(){if(Ut){if(it)return!1;var t=document.createElement("x");return t.style.cssText="pointer-events:auto",t.style.pointerEvents==="auto"}})(),Le=function(t,n){var e=p(t),o=parseInt(e.width)-parseInt(e.paddingLeft)-parseInt(e.paddingRight)-parseInt(e.borderLeftWidth)-parseInt(e.borderRightWidth),r=yt(t,0,n),i=yt(t,1,n),a=r&&p(r),s=i&&p(i),l=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+N(r).width,d=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+N(i).width;if(e.display==="flex")return e.flexDirection==="column"||e.flexDirection==="column-reverse"?"vertical":"horizontal";if(e.display==="grid")return e.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(r&&a.float&&a.float!=="none"){var c=a.float==="left"?"left":"right";return i&&(s.clear==="both"||s.clear===c)?"vertical":"horizontal"}return r&&(a.display==="block"||a.display==="flex"||a.display==="table"||a.display==="grid"||l>=o&&e[Oe]==="none"||i&&e[Oe]==="none"&&l+d>o)?"vertical":"horizontal"},Yn=function(t,n,e){var o=e?t.left:t.top,r=e?t.right:t.bottom,i=e?t.width:t.height,a=e?n.left:n.top,s=e?n.right:n.bottom,l=e?n.width:n.height;return o===a||r===s||o+i/2===a+l/2},Xn=function(t,n){var e;return Wt.some(function(o){var r=o[L].options.emptyInsertThreshold;if(!(!r||ce(o))){var i=N(o),a=t>=i.left-r&&t<=i.right+r,s=n>=i.top-r&&n<=i.bottom+r;if(a&&s)return e=o}}),e},Ge=function(t){function n(r,i){return function(a,s,l,d){var c=a.options.group.name&&s.options.group.name&&a.options.group.name===s.options.group.name;if(r==null&&(i||c))return!0;if(r==null||r===!1)return!1;if(i&&r==="clone")return r;if(typeof r=="function")return n(r(a,s,l,d),i)(a,s,l,d);var f=(i?a:s).options.group.name;return r===!0||typeof r=="string"&&r===f||r.join&&r.indexOf(f)>-1}}var e={},o=t.group;(!o||kt(o)!="object")&&(o={name:o}),e.name=o.name,e.checkPull=n(o.pull,!0),e.checkPut=n(o.put),e.revertClone=o.revertClone,t.group=e},qe=function(){!Ue&&v&&p(v,"display","none")},$e=function(){!Ue&&v&&p(v,"display","")};Ut&&!Be&&document.addEventListener("click",function(t){if(Ht)return t.preventDefault(),t.stopPropagation&&t.stopPropagation(),t.stopImmediatePropagation&&t.stopImmediatePropagation(),Ht=!1,!1},!0);var dt=function(t){if(u){t=t.touches?t.touches[0]:t;var n=Xn(t.clientX,t.clientY);if(n){var e={};for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o]);e.target=e.rootEl=n,e.preventDefault=void 0,e.stopPropagation=void 0,n[L]._onDragOver(e)}}},Bn=function(t){u&&u.parentNode[L]._isOutsideThisEl(t.target)};function g(t,n){if(!(t&&t.nodeType&&t.nodeType===1))throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(t));this.el=t,this.options=n=rt({},n),t[L]=this;var e={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 Le(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(i,a){i.setData("Text",a.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:g.supportPointer!==!1&&"PointerEvent"in window&&!Et,emptyInsertThreshold:5};At.initializePlugins(this,t,e);for(var o in e)!(o in n)&&(n[o]=e[o]);Ge(n);for(var r in this)r.charAt(0)==="_"&&typeof this[r]=="function"&&(this[r]=this[r].bind(this));this.nativeDraggable=n.forceFallback?!1:Rn,this.nativeDraggable&&(this.options.touchStartThreshold=1),n.supportPointer?S(t,"pointerdown",this._onTapStart):(S(t,"mousedown",this._onTapStart),S(t,"touchstart",this._onTapStart)),this.nativeDraggable&&(S(t,"dragover",this),S(t,"dragenter",this)),Wt.push(this.el),n.store&&n.store.get&&this.sort(n.store.get(this)||[]),rt(this,In())}g.prototype={constructor:g,_isOutsideThisEl:function(t){!this.el.contains(t)&&t!==this.el&&(pt=null)},_getDirection:function(t,n){return typeof this.options.direction=="function"?this.options.direction.call(this,t,n,u):this.options.direction},_onTapStart:function(t){if(t.cancelable){var n=this,e=this.el,o=this.options,r=o.preventOnFilter,i=t.type,a=t.touches&&t.touches[0]||t.pointerType&&t.pointerType==="touch"&&t,s=(a||t).target,l=t.target.shadowRoot&&(t.path&&t.path[0]||t.composedPath&&t.composedPath()[0])||s,d=o.filter;if(Ln(e),!u&&!(/mousedown|pointerdown/.test(i)&&t.button!==0||o.disabled)&&!l.isContentEditable&&!(!this.nativeDraggable&&Et&&s&&s.tagName.toUpperCase()==="SELECT")&&(s=Z(s,o.draggable,e,!1),!(s&&s.animated)&&Rt!==s)){if(mt=q(s),Ct=q(s,o.draggable),typeof d=="function"){if(d.call(this,t,s,this)){F({sortable:n,rootEl:l,name:"filter",targetEl:s,toEl:e,fromEl:e}),H("filter",n,{evt:t}),r&&t.cancelable&&t.preventDefault();return}}else if(d&&(d=d.split(",").some(function(c){if(c=Z(l,c.trim(),e,!1),c)return F({sortable:n,rootEl:c,name:"filter",targetEl:s,fromEl:e,toEl:e}),H("filter",n,{evt:t}),!0}),d)){r&&t.cancelable&&t.preventDefault();return}o.handle&&!Z(l,o.handle,e,!1)||this._prepareDragStart(t,a,s)}}},_prepareDragStart:function(t,n,e){var o=this,r=o.el,i=o.options,a=r.ownerDocument,s;if(e&&!u&&e.parentNode===r){var l=N(e);if(C=r,u=e,x=u.parentNode,ft=u.nextSibling,Rt=e,It=i.group,g.dragged=u,ct={target:u,clientX:(n||t).clientX,clientY:(n||t).clientY},Te=ct.clientX-l.left,xe=ct.clientY-l.top,this._lastX=(n||t).clientX,this._lastY=(n||t).clientY,u.style["will-change"]="all",s=function(){if(H("delayEnded",o,{evt:t}),g.eventCanceled){o._onDrop();return}o._disableDelayedDragEvents(),!De&&o.nativeDraggable&&(u.draggable=!0),o._triggerDragStart(t,n),F({sortable:o,name:"choose",originalEvent:t}),z(u,i.chosenClass,!0)},i.ignore.split(",").forEach(function(d){je(u,d.trim(),te)}),S(a,"dragover",dt),S(a,"mousemove",dt),S(a,"touchmove",dt),S(a,"mouseup",o._onDrop),S(a,"touchend",o._onDrop),S(a,"touchcancel",o._onDrop),De&&this.nativeDraggable&&(this.options.touchStartThreshold=4,u.draggable=!0),H("delayStart",this,{evt:t}),i.delay&&(!i.delayOnTouchOnly||n)&&(!this.nativeDraggable||!(Ot||it))){if(g.eventCanceled){this._onDrop();return}S(a,"mouseup",o._disableDelayedDrag),S(a,"touchend",o._disableDelayedDrag),S(a,"touchcancel",o._disableDelayedDrag),S(a,"mousemove",o._delayedDragTouchMoveHandler),S(a,"touchmove",o._delayedDragTouchMoveHandler),i.supportPointer&&S(a,"pointermove",o._delayedDragTouchMoveHandler),o._dragStartTimer=setTimeout(s,i.delay)}else s()}},_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(){u&&te(u),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var t=this.el.ownerDocument;y(t,"mouseup",this._disableDelayedDrag),y(t,"touchend",this._disableDelayedDrag),y(t,"touchcancel",this._disableDelayedDrag),y(t,"mousemove",this._delayedDragTouchMoveHandler),y(t,"touchmove",this._delayedDragTouchMoveHandler),y(t,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(t,n){n=n||t.pointerType=="touch"&&t,!this.nativeDraggable||n?this.options.supportPointer?S(document,"pointermove",this._onTouchMove):n?S(document,"touchmove",this._onTouchMove):S(document,"mousemove",this._onTouchMove):(S(u,"dragend",this),S(C,"dragstart",this._onDragStart));try{document.selection?Xt(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(t,n){if(gt=!1,C&&u){H("dragStarted",this,{evt:n}),this.nativeDraggable&&S(document,"dragover",Bn);var e=this.options;!t&&z(u,e.dragClass,!1),z(u,e.ghostClass,!0),g.active=this,t&&this._appendGhost(),F({sortable:this,name:"start",originalEvent:n})}else this._nulling()},_emulateDragOver:function(){if(J){this._lastX=J.clientX,this._lastY=J.clientY,qe();for(var t=document.elementFromPoint(J.clientX,J.clientY),n=t;t&&t.shadowRoot&&(t=t.shadowRoot.elementFromPoint(J.clientX,J.clientY),t!==n);)n=t;if(u.parentNode[L]._isOutsideThisEl(t),n)do{if(n[L]){var e=void 0;if(e=n[L]._onDragOver({clientX:J.clientX,clientY:J.clientY,target:t,rootEl:n}),e&&!this.options.dragoverBubble)break}t=n}while(n=n.parentNode);$e()}},_onTouchMove:function(t){if(ct){var n=this.options,e=n.fallbackTolerance,o=n.fallbackOffset,r=t.touches?t.touches[0]:t,i=v&&bt(v,!0),a=v&&i&&i.a,s=v&&i&&i.d,l=Nt&&B&&Ce(B),d=(r.clientX-ct.clientX+o.x)/(a||1)+(l?l[0]-Qt[0]:0)/(a||1),c=(r.clientY-ct.clientY+o.y)/(s||1)+(l?l[1]-Qt[1]:0)/(s||1);if(!g.active&&!gt){if(e&&Math.max(Math.abs(r.clientX-this._lastX),Math.abs(r.clientY-this._lastY))=0&&(F({rootEl:x,name:"add",toEl:x,fromEl:C,originalEvent:t}),F({sortable:this,name:"remove",toEl:x,originalEvent:t}),F({rootEl:x,name:"sort",toEl:x,fromEl:C,originalEvent:t}),F({sortable:this,name:"sort",toEl:x,originalEvent:t})),X&&X.save()):U!==mt&&U>=0&&(F({sortable:this,name:"update",toEl:x,originalEvent:t}),F({sortable:this,name:"sort",toEl:x,originalEvent:t})),g.active&&((U==null||U===-1)&&(U=mt,at=Ct),F({sortable:this,name:"end",toEl:x,originalEvent:t}),this.save()))),this._nulling()},_nulling:function(){H("nulling",this),C=u=x=v=ft=T=Rt=lt=ct=J=wt=U=at=mt=Ct=pt=Tt=X=It=g.dragged=g.ghost=g.clone=g.active=null,Vt.forEach(function(t){t.checked=!0}),Vt.length=Zt=Kt=0},handleEvent:function(t){switch(t.type){case"drop":case"dragend":this._onDrop(t);break;case"dragenter":case"dragover":u&&(this._onDragOver(t),Fn(t));break;case"selectstart":t.preventDefault();break}},toArray:function(){for(var t=[],n,e=this.el.children,o=0,r=e.length,i=this.options;or.right+i||t.clientY>o.bottom&&t.clientX>o.left:t.clientY>r.bottom+i||t.clientX>o.right&&t.clientY>o.top}function Vn(t,n,e,o,r,i,a,s){var l=o?t.clientY:t.clientX,d=o?e.height:e.width,c=o?e.top:e.left,f=o?e.bottom:e.right,D=!1;if(!a){if(s&&Ytc+d*i/2:lf-Yt)return-Tt}else if(l>c+d*(1-r)/2&&lf-d*i/2)?l>c+d/2?1:-1:0}function zn(t){return q(u){if(k&&(r==null?void 0:r.length)!==E.childNodes.length)return j.insertBefore(k,G.nextSibling),!0;const Lt=E.childNodes[nt];k=E==null?void 0:E.replaceChild(G,Lt)})}}catch(k){O=k}finally{r=null}Ne(()=>{if(Ie(),O)throw O})}const A={onUpdate:w,onStart:D,onAdd:h,onRemove:_,onEnd:W};function $(m){const b=V(i);return m||(m=gn(b)?vn(b,o==null?void 0:o.$el):b),m&&!yn(m)&&(m=m.$el),m||dn("Root element not found"),m}function P(){var m;const b=(m=V(s))!=null?m:{},{immediate:I,clone:j}=b,E=Re(b,["immediate","clone"]);return we(E,(O,Y)=>{wn(O)&&(E[O]=(k,...G)=>{const nt=Zn();return Sn(k,nt),Y(k,...G)})}),bn(a===null?{}:A,E)}const K=m=>{m=$(m),l&&R.destroy(),l=new g(m,P())};an(()=>s,()=>{l&&we(P(),(m,b)=>{l==null||l.option(m,b)})},{deep:!0});const R={option:(m,b)=>l==null?void 0:l.option(m,b),destroy:()=>{l==null||l.destroy(),l=null},save:()=>l==null?void 0:l.save(),toArray:()=>l==null?void 0:l.toArray(),closest:(...m)=>l==null?void 0:l.closest(...m)},et=()=>R==null?void 0:R.option("disabled",!0),ut=()=>R==null?void 0:R.option("disabled",!1);return Jn(()=>{d&&K()}),$n(R.destroy),vt({start:K,pause:et,resume:ut},R)}const se=["update","start","add","remove","choose","unchoose","end","sort","filter","clone","move","change"],Qn=["clone","animation","ghostClass","group","sort","disabled","store","handle","draggable","swapThreshold","invertSwap","invertedSwapThreshold","removeCloneOnHide","direction","chosenClass","dragClass","ignore","filter","preventOnFilter","easing","setData","dropBubble","dragoverBubble","dataIdAttr","delay","delayOnTouchOnly","touchStartThreshold","forceFallback","fallbackClass","fallbackOnBody","fallbackTolerance","fallbackOffset","supportPointer","emptyInsertThreshold","scroll","forceAutoScrollFallback","scrollSensitivity","scrollSpeed","bubbleScroll","modelValue","tag","target","customUpdate",...se.map(t=>`on${t.replace(/^\S/,n=>n.toUpperCase())}`)],no=tn({name:"VueDraggable",model:{prop:"modelValue",event:"update:modelValue"},props:Qn,emits:["update:modelValue",...se],setup(t,{slots:n,emit:e,expose:o,attrs:r}){const i=se.reduce((c,f)=>{const D=`on${f.replace(/^\S/,h=>h.toUpperCase())}`;return c[D]=(...h)=>e(f,...h),c},{}),a=pe(()=>{const c=en(t),{modelValue:f}=c,D=Re(c,["modelValue"]),h=Object.entries(D).reduce((_,[w,W])=>{const A=V(W);return A!==void 0&&(_[w]=A),_},{});return vt(vt({},i),hn(vt(vt({},r),h)))}),s=pe({get:()=>t.modelValue,set:c=>e("update:modelValue",c)}),l=nn(),d=on(Kn(t.target||l,s,a));return o(d),()=>{var c;return rn(t.tag||"div",{ref:l},(c=n==null?void 0:n.default)==null?void 0:c.call(n,d))}}});export{eo as _,no as l};