import{cQ as tn,fL as en,dN as nn,fM as on,dp as de,gN as V,gZ as rn,fr as an,fa as Pe,fs as ln,c9 as ge,gD as sn,ez as qt}from"./builder-DygomDiV.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,Ht=Object.getOwnPropertySymbols,ke=Object.prototype.hasOwnProperty,Re=Object.prototype.propertyIsEnumerable,ve=(t,n,e)=>n in t?un(t,n,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[n]=e,bt=(t,n)=>{for(var e in n||(n={}))ke.call(n,e)&&ve(t,e,n[e]);if(Ht)for(var e of Ht(n))Re.call(n,e)&&ve(t,e,n[e]);return t},Ye=(t,n)=>{var e={};for(var o in t)ke.call(t,o)&&n.indexOf(o)<0&&(e[o]=t[o]);if(t!=null&&Ht)for(var o of Ht(t))n.indexOf(o)<0&&Re.call(t,o)&&(e[o]=t[o]);return e};const Xe="[vue-draggable-plus]: ";function cn(t){console.warn(Xe+t)}function dn(t){console.error(Xe+t)}function me(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 be(t,n){return Array.isArray(t)&&t.splice(n,1),t}function ye(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 we(t,n,e){const o=t.children[e];t.insertBefore(n,o)}function Zt(t){t.parentNode&&t.parentNode.removeChild(t)}function vn(t,n=document){var e;let o=null;return typeof n?.querySelector=="function"?o=(e=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=bt({},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 Ee(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 En=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 et(t){for(var n=1;n=0)&&(e[r]=t[r]);return e}function _n(t,n){if(t==null)return{};var e=Dn(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 Tn="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),Nt=ot(/Edge/i),De=ot(/firefox/i),Tt=ot(/safari/i)&&!ot(/chrome/i)&&!ot(/android/i),Fe=ot(/iP(ad|od|hone)/i),je=ot(/chrome/i)&&ot(/android/i),Be={capture:!1,passive:!1};function w(t,n,e){t.addEventListener(n,e,!it&&Be)}function b(t,n,e){t.removeEventListener(n,e,!it&&Be)}function Lt(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 Cn(t){return t.host&&t!==document&&t.host.nodeType?t.host:t.parentNode}function Q(t,n,e,o){if(t){e=e||document;do{if(n!=null&&(n[0]===">"?t.parentNode===e&&Lt(t,n):Lt(t,n))||o&&t===e)return t;if(t===e)break}while(t=Cn(t))}return null}var _e=/\s+/g;function U(t,n,e){if(t&&n)if(t.classList)t.classList[e?"add":"remove"](n);else{var o=(" "+t.className+" ").replace(_e," ").replace(" "+n+" "," ");t.className=(o+(e?" "+n:"")).replace(_e," ")}}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 wt(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 He(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===tt())break;o=ut(o,!1)}return!1}function Et(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);It.pluginEvent.bind(g)(t,n,et({dragEl:u,parentEl:O,ghostEl:m,rootEl:T,nextEl:ft,lastDownEl:Xt,cloneEl:x,cloneHidden:st,dragStarted:St,putSortable:Y,activeSortable:g.active,originalEvent:o,oldIndex:yt,oldDraggableIndex:xt,newIndex:G,newDraggableIndex:lt,hideGhostForTarget:qe,unhideGhostForTarget:Ze,cloneNowHidden:function(){st=!0},cloneNowShown:function(){st=!1},dispatchSortableEvent:function(i){B({sortable:n,name:i,originalEvent:o})}},r))};function B(t){Pn(et({putSortable:Y,cloneEl:x,targetEl:u,rootEl:T,oldIndex:yt,oldDraggableIndex:xt,newIndex:G,newDraggableIndex:lt},t))}var u,O,m,T,ft,Xt,x,st,yt,G,xt,lt,Mt,Y,mt=!1,zt=!1,Wt=[],ct,J,Kt,te,xe,Oe,St,vt,Ot,At=!1,Pt=!1,Ft,F,ee=[],ae=!1,Vt=[],Gt=typeof document<"u",kt=Fe,Ae=Nt||it?"cssFloat":"float",Rn=Gt&&!je&&!Fe&&"draggable"in document.createElement("div"),Ue=(function(){if(Gt){if(it)return!1;var t=document.createElement("x");return t.style.cssText="pointer-events:auto",t.style.pointerEvents==="auto"}})(),Ge=function(t,n){var e=p(t),o=parseInt(e.width)-parseInt(e.paddingLeft)-parseInt(e.paddingRight)-parseInt(e.borderLeftWidth)-parseInt(e.borderRightWidth),r=Et(t,0,n),i=Et(t,1,n),a=r&&p(r),s=i&&p(i),l=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+M(r).width,d=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+M(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[Ae]==="none"||i&&e[Ae]==="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[$].options.emptyInsertThreshold;if(!(!r||fe(o))){var i=M(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},$e=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||Yt(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&&m&&p(m,"display","none")},Ze=function(){!Ue&&m&&p(m,"display","")};Gt&&!je&&document.addEventListener("click",function(t){if(zt)return t.preventDefault(),t.stopPropagation&&t.stopPropagation(),t.stopImmediatePropagation&&t.stopImmediatePropagation(),zt=!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[$]._onDragOver(e)}}},Fn=function(t){u&&u.parentNode[$]._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[$]=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 Ge(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&&!Tt,emptyInsertThreshold:5};It.initializePlugins(this,t,e);for(var o in e)!(o in n)&&(n[o]=e[o]);$e(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?w(t,"pointerdown",this._onTapStart):(w(t,"mousedown",this._onTapStart),w(t,"touchstart",this._onTapStart)),this.nativeDraggable&&(w(t,"dragover",this),w(t,"dragenter",this)),Wt.push(this.el),n.store&&n.store.get&&this.sort(n.store.get(this)||[]),rt(this,Nn())}g.prototype={constructor:g,_isOutsideThisEl:function(t){!this.el.contains(t)&&t!==this.el&&(vt=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(Un(e),!u&&!(/mousedown|pointerdown/.test(i)&&t.button!==0||o.disabled)&&!l.isContentEditable&&!(!this.nativeDraggable&&Tt&&s&&s.tagName.toUpperCase()==="SELECT")&&(s=Q(s,o.draggable,e,!1),!(s&&s.animated)&&Xt!==s)){if(yt=q(s),xt=q(s,o.draggable),typeof d=="function"){if(d.call(this,t,s,this)){B({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=Q(l,c.trim(),e,!1),c)return B({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&&!Q(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=M(e);if(T=r,u=e,O=u.parentNode,ft=u.nextSibling,Xt=e,Mt=i.group,g.dragged=u,ct={target:u,clientX:(n||t).clientX,clientY:(n||t).clientY},xe=ct.clientX-l.left,Oe=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),B({sortable:o,name:"choose",originalEvent:t}),U(u,i.chosenClass,!0)},i.ignore.split(",").forEach(function(d){He(u,d.trim(),ne)}),w(a,"dragover",dt),w(a,"mousemove",dt),w(a,"touchmove",dt),w(a,"mouseup",o._onDrop),w(a,"touchend",o._onDrop),w(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||!(Nt||it))){if(g.eventCanceled){this._onDrop();return}w(a,"mouseup",o._disableDelayedDrag),w(a,"touchend",o._disableDelayedDrag),w(a,"touchcancel",o._disableDelayedDrag),w(a,"mousemove",o._delayedDragTouchMoveHandler),w(a,"touchmove",o._delayedDragTouchMoveHandler),i.supportPointer&&w(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&&ne(u),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var t=this.el.ownerDocument;b(t,"mouseup",this._disableDelayedDrag),b(t,"touchend",this._disableDelayedDrag),b(t,"touchcancel",this._disableDelayedDrag),b(t,"mousemove",this._delayedDragTouchMoveHandler),b(t,"touchmove",this._delayedDragTouchMoveHandler),b(t,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(t,n){n=n||t.pointerType=="touch"&&t,!this.nativeDraggable||n?this.options.supportPointer?w(document,"pointermove",this._onTouchMove):n?w(document,"touchmove",this._onTouchMove):w(document,"mousemove",this._onTouchMove):(w(u,"dragend",this),w(T,"dragstart",this._onDragStart));try{document.selection?jt(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(t,n){if(mt=!1,T&&u){H("dragStarted",this,{evt:n}),this.nativeDraggable&&w(document,"dragover",Fn);var e=this.options;!t&&U(u,e.dragClass,!1),U(u,e.ghostClass,!0),g.active=this,t&&this._appendGhost(),B({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[$]._isOutsideThisEl(t),n)do{if(n[$]){var e=void 0;if(e=n[$]._onDragOver({clientX:J.clientX,clientY:J.clientY,target:t,rootEl:n}),e&&!this.options.dragoverBubble)break}t=n}while(n=n.parentNode);Ze()}},_onTouchMove:function(t){if(ct){var n=this.options,e=n.fallbackTolerance,o=n.fallbackOffset,r=t.touches?t.touches[0]:t,i=m&&wt(m,!0),a=m&&i&&i.a,s=m&&i&&i.d,l=kt&&F&&Ce(F),d=(r.clientX-ct.clientX+o.x)/(a||1)+(l?l[0]-ee[0]:0)/(a||1),c=(r.clientY-ct.clientY+o.y)/(s||1)+(l?l[1]-ee[1]:0)/(s||1);if(!g.active&&!mt){if(e&&Math.max(Math.abs(r.clientX-this._lastX),Math.abs(r.clientY-this._lastY))=0&&(B({rootEl:O,name:"add",toEl:O,fromEl:T,originalEvent:t}),B({sortable:this,name:"remove",toEl:O,originalEvent:t}),B({rootEl:O,name:"sort",toEl:O,fromEl:T,originalEvent:t}),B({sortable:this,name:"sort",toEl:O,originalEvent:t})),Y&&Y.save()):G!==yt&&G>=0&&(B({sortable:this,name:"update",toEl:O,originalEvent:t}),B({sortable:this,name:"sort",toEl:O,originalEvent:t})),g.active&&((G==null||G===-1)&&(G=yt,lt=xt),B({sortable:this,name:"end",toEl:O,originalEvent:t}),this.save()))),this._nulling()},_nulling:function(){H("nulling",this),T=u=O=m=ft=x=Xt=st=ct=J=St=G=lt=yt=xt=vt=Ot=Y=Mt=g.dragged=g.ghost=g.clone=g.active=null,Vt.forEach(function(t){t.checked=!0}),Vt.length=Kt=te=0},handleEvent:function(t){switch(t.type){case"drop":case"dragend":this._onDrop(t);break;case"dragenter":case"dragover":u&&(this._onDragOver(t),jn(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 zn(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,E=!1;if(!a){if(s&&Ftc+d*i/2:lf-Ft)return-Ot}else if(l>c+d*(1-r)/2&&lf-d*i/2)?l>c+d/2?1:-1:0}function Wn(t){return q(u){if(P&&r?.length!==D.childNodes.length)return X.insertBefore(P,ht.nextSibling),!0;const $t=D.childNodes[pt];P=D?.replaceChild(ht,$t)})}}catch(P){C=P}finally{r=null}Pe(()=>{if(Ie(),C)throw C})}const k={onUpdate:N,onStart:_,onAdd:y,onRemove:L,onEnd:Z};function nt(v){const S=V(i);return v||(v=gn(S)?vn(S,o?.$el):S),v&&!yn(v)&&(v=v.$el),v||dn("Root element not found"),v}function z(){var v;const S=(v=V(s))!=null?v:{},{immediate:A,clone:X}=S,D=Ye(S,["immediate","clone"]);return Ee(D,(C,R)=>{wn(C)&&(D[C]=(P,...ht)=>{const pt=Jn();return En(P,pt),R(P,...ht)})}),bn(a===null?{}:k,D)}const K=v=>{v=nt(v),l&&W.destroy(),l=new g(v,z())};rn(()=>s,()=>{l&&Ee(z(),(v,S)=>{l?.option(v,S)})},{deep:!0});const W={option:(v,S)=>l?.option(v,S),destroy:()=>{l?.destroy(),l=null},save:()=>l?.save(),toArray:()=>l?.toArray(),closest:(...v)=>l?.closest(...v)},at=()=>W?.option("disabled",!0),j=()=>W?.option("disabled",!1);return Zn(()=>{d&&K()}),qn(W.destroy),bt({start:K,pause:at,resume:j},W)}const ce=["update","start","add","remove","choose","unchoose","end","sort","filter","clone","move","change"],Kn=["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",...ce.map(t=>`on${t.replace(/^\S/,n=>n.toUpperCase())}`)],no=tn({name:"VueDraggable",model:{prop:"modelValue",event:"update:modelValue"},props:Kn,emits:["update:modelValue",...ce],setup(t,{slots:n,emit:e,expose:o,attrs:r}){const i=ce.reduce((c,f)=>{const E=`on${f.replace(/^\S/,h=>h.toUpperCase())}`;return c[E]=(...h)=>e(f,...h),c},{}),a=ge(()=>{const c=sn(t),{modelValue:f}=c,E=Ye(c,["modelValue"]),h=Object.entries(E).reduce((_,[y,L])=>{const N=V(L);return N!==void 0&&(_[y]=N),_},{});return bt(bt({},i),hn(bt(bt({},r),h)))}),s=ge({get:()=>t.modelValue,set:c=>e("update:modelValue",c)}),l=on(),d=en(Qn(t.target||l,s,a));return o(d),()=>{var c;return nn(t.tag||"div",{ref:l},(c=n?.default)==null?void 0:c.call(n,d))}}});export{eo as _,no as l};