import{Bt as e,Et as t,Gt as n,Ht as r,It as i,Jt as a,Kt as o,Lt as s,Mt as c,Ot as l,St as u,Tt as d,Ut as f,Vt as p,Wt as m,Xt as h,Yt as g,_t as _,bt as v,gt as y,lt as b,qt as x,vt as S,yt as ee,zt as C}from"./vendor-quasar-BdHTqpDy.js";var w=typeof window<`u`,T,E=e=>T=e,D=Symbol();function O(e){return e&&typeof e==`object`&&Object.prototype.toString.call(e)===`[object Object]`&&typeof e.toJSON!=`function`}var k;(function(e){e.direct=`direct`,e.patchObject=`patch object`,e.patchFunction=`patch function`})(k||={});var te=typeof window==`object`&&window.window===window?window:typeof self==`object`&&self.self===self?self:typeof global==`object`&&global.global===global?global:typeof globalThis==`object`?globalThis:{HTMLElement:null};function ne(e,{autoBom:t=!1}={}){return t&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob([``,e],{type:e.type}):e}function re(e,t,n){let r=new XMLHttpRequest;r.open(`GET`,e),r.responseType=`blob`,r.onload=function(){ce(r.response,t,n)},r.onerror=function(){console.error(`could not download file`)},r.send()}function ie(e){let t=new XMLHttpRequest;t.open(`HEAD`,e,!1);try{t.send()}catch{}return t.status>=200&&t.status<=299}function ae(e){try{e.dispatchEvent(new MouseEvent(`click`))}catch{let t=new MouseEvent(`click`,{bubbles:!0,cancelable:!0,view:window,detail:0,screenX:80,screenY:20,clientX:80,clientY:20,ctrlKey:!1,altKey:!1,shiftKey:!1,metaKey:!1,button:0,relatedTarget:null});e.dispatchEvent(t)}}var oe=typeof navigator==`object`?navigator:{userAgent:``},se=/Macintosh/.test(oe.userAgent)&&/AppleWebKit/.test(oe.userAgent)&&!/Safari/.test(oe.userAgent),ce=w?typeof HTMLAnchorElement<`u`&&`download`in HTMLAnchorElement.prototype&&!se?le:`msSaveOrOpenBlob`in oe?ue:de:()=>{};function le(e,t=`download`,n){let r=document.createElement(`a`);r.download=t,r.rel=`noopener`,typeof e==`string`?(r.href=e,r.origin===location.origin?ae(r):ie(r.href)?re(e,t,n):(r.target=`_blank`,ae(r))):(r.href=URL.createObjectURL(e),setTimeout(function(){URL.revokeObjectURL(r.href)},4e4),setTimeout(function(){ae(r)},0))}function ue(e,t=`download`,n){if(typeof e==`string`)if(ie(e))re(e,t,n);else{let t=document.createElement(`a`);t.href=e,t.target=`_blank`,setTimeout(function(){ae(t)})}else navigator.msSaveOrOpenBlob(ne(e,n),t)}function de(e,t,n,r){if(r||=open(``,`_blank`),r&&(r.document.title=r.document.body.innerText=`downloading...`),typeof e==`string`)return re(e,t,n);let i=e.type===`application/octet-stream`,a=/constructor/i.test(String(te.HTMLElement))||`safari`in te,o=/CriOS\/[\d]+/.test(navigator.userAgent);if((o||i&&a||se)&&typeof FileReader<`u`){let t=new FileReader;t.onloadend=function(){let e=t.result;if(typeof e!=`string`)throw r=null,Error(`Wrong reader.result type`);e=o?e:e.replace(/^data:[^;]*;/,`data:attachment/file;`),r?r.location.href=e:location.assign(e),r=null},t.readAsDataURL(e)}else{let t=URL.createObjectURL(e);r?r.location.assign(t):location.href=t,r=null,setTimeout(function(){URL.revokeObjectURL(t)},4e4)}}var{assign:fe}=Object;function pe(){let e=i(!0),t=e.run(()=>m({})),n=[],r=[],a=p({install(e){E(a),a._a=e,e.provide(D,a),e.config.globalProperties.$pinia=a,r.forEach(e=>n.push(e)),r=[]},use(e){return this._a?n.push(e):r.push(e),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return a}var me=()=>{};function he(e,t,n,i=me){e.add(t);let a=()=>{e.delete(t)&&i()};return!n&&s()&&r(a),a}function A(e,...t){e.forEach(e=>{e(...t)})}var ge=e=>e(),_e=Symbol(),ve=Symbol();function ye(t,n){t instanceof Map&&n instanceof Map?n.forEach((e,n)=>t.set(n,e)):t instanceof Set&&n instanceof Set&&n.forEach(t.add,t);for(let r in n){if(!n.hasOwnProperty(r))continue;let i=n[r],a=t[r];O(a)&&O(i)&&t.hasOwnProperty(r)&&!e(i)&&!C(i)?t[r]=ye(a,i):t[r]=i}return t}var be=Symbol();function xe(e){return!O(e)||!Object.prototype.hasOwnProperty.call(e,be)}var{assign:Se}=Object;function Ce(t){return!!(e(t)&&t.effect)}function we(e,t,n,r){let{state:i,actions:a,getters:o}=t,s=n.state.value[e],c;function l(){return s||(n.state.value[e]=i?i():{}),Se(g(n.state.value[e]),a,Object.keys(o||{}).reduce((t,r)=>(t[r]=p(b(()=>{E(n);let t=n._s.get(e);return o[r].call(t,t)})),t),{}))}return c=Te(e,l,t,n,r,!0),c}function Te(t,n,r={},a,o,s){let l,d=Se({actions:{}},r),p={deep:!0},h,g,_=new Set,v=new Set,y=a.state.value[t];!s&&!y&&(a.state.value[t]={}),m({});let b;function S(e){let n;h=g=!1,typeof e==`function`?(e(a.state.value[t]),n={type:k.patchFunction,storeId:t,events:void 0}):(ye(a.state.value[t],e),n={type:k.patchObject,payload:e,storeId:t,events:void 0});let r=b=Symbol();u().then(()=>{b===r&&(h=!0)}),g=!0,A(_,n,a.state.value[t])}let ee=s?function(){let{state:e}=r,t=e?e():{};this.$patch(e=>{Se(e,t)})}:me;function w(){l.stop(),_.clear(),v.clear(),a._s.delete(t)}let T=(e,n=``)=>{if(_e in e)return e[ve]=n,e;let r=function(){E(a);let n=Array.from(arguments),i=new Set,o=new Set;function s(e){i.add(e)}function c(e){o.add(e)}A(v,{args:n,name:r[ve],store:D,after:s,onError:c});let l;try{l=e.apply(this&&this.$id===t?this:D,n)}catch(e){throw A(o,e),e}return l instanceof Promise?l.then(e=>(A(i,e),e)).catch(e=>(A(o,e),Promise.reject(e))):(A(i,l),l)};return r[_e]=!0,r[ve]=n,r},D=f({_p:a,$id:t,$onAction:he.bind(null,v),$patch:S,$reset:ee,$subscribe(e,n={}){let r=he(_,e,n.detached,()=>i()),i=l.run(()=>c(()=>a.state.value[t],r=>{(n.flush===`sync`?g:h)&&e({storeId:t,type:k.direct,events:void 0},r)},Se({},p,n)));return r},$dispose:w});a._s.set(t,D);let O=(a._a&&a._a.runWithContext||ge)(()=>a._e.run(()=>(l=i()).run(()=>n({action:T}))));for(let n in O){let r=O[n];e(r)&&!Ce(r)||C(r)?s||(y&&xe(r)&&(e(r)?r.value=y[n]:ye(r,y[n])),a.state.value[t][n]=r):typeof r==`function`&&(O[n]=T(r,n),d.actions[n]=r)}return Se(D,O),Se(x(D),O),Object.defineProperty(D,`$state`,{get:()=>a.state.value[t],set:e=>{S(t=>{Se(t,e)})}}),a._p.forEach(e=>{Se(D,l.run(()=>e({store:D,app:a._a,pinia:a,options:d})))}),y&&s&&r.hydrate&&r.hydrate(D.$state,y),h=!0,g=!0,D}function Ee(e,t,n){let r,i=typeof t==`function`;r=i?n:t;function a(n,a){let o=ee();return n||=o?v(D,null):null,n&&E(n),n=T,n._s.has(e)||(i?Te(e,t,r,n):we(e,r,n)),n._s.get(e)}return a.$id=e,a}function De(t){let n=x(t),r={};for(let i in n){let o=n[i];o.effect?r[i]=b({get:()=>t[i],set(e){t[i]=e}}):(e(o)||C(o))&&(r[i]=a(t,i))}return r}var Oe=typeof document<`u`;function ke(e){return typeof e==`object`||`displayName`in e||`props`in e||`__vccOpts`in e}function Ae(e){return e.__esModule||e[Symbol.toStringTag]===`Module`||e.default&&ke(e.default)}var j=Object.assign;function je(e,t){let n={};for(let r in t){let i=t[r];n[r]=Ne(i)?i.map(e):e(i)}return n}var Me=()=>{},Ne=Array.isArray;function Pe(e,t){let n={};for(let r in e)n[r]=r in t?t[r]:e[r];return n}var M=function(e){return e[e.MATCHER_NOT_FOUND=1]=`MATCHER_NOT_FOUND`,e[e.NAVIGATION_GUARD_REDIRECT=2]=`NAVIGATION_GUARD_REDIRECT`,e[e.NAVIGATION_ABORTED=4]=`NAVIGATION_ABORTED`,e[e.NAVIGATION_CANCELLED=8]=`NAVIGATION_CANCELLED`,e[e.NAVIGATION_DUPLICATED=16]=`NAVIGATION_DUPLICATED`,e}({}),Fe=Symbol(``);M.MATCHER_NOT_FOUND,M.NAVIGATION_GUARD_REDIRECT,M.NAVIGATION_ABORTED,M.NAVIGATION_CANCELLED,M.NAVIGATION_DUPLICATED;function Ie(e,t){return j(Error(),{type:e,[Fe]:!0},t)}function Le(e,t){return e instanceof Error&&Fe in e&&(t==null||!!(e.type&t))}var Re=Symbol(``),ze=Symbol(``),Be=Symbol(``),Ve=Symbol(``),He=Symbol(``),Ue=/#/g,We=/&/g,Ge=/\//g,Ke=/=/g,qe=/\?/g,Je=/\+/g,Ye=/%5B/g,Xe=/%5D/g,Ze=/%5E/g,Qe=/%60/g,$e=/%7B/g,et=/%7C/g,tt=/%7D/g,nt=/%20/g;function rt(e){return e==null?``:encodeURI(``+e).replace(et,`|`).replace(Ye,`[`).replace(Xe,`]`)}function it(e){return rt(e).replace($e,`{`).replace(tt,`}`).replace(Ze,`^`)}function at(e){return rt(e).replace(Je,`%2B`).replace(nt,`+`).replace(Ue,`%23`).replace(We,`%26`).replace(Qe,"`").replace($e,`{`).replace(tt,`}`).replace(Ze,`^`)}function ot(e){return at(e).replace(Ke,`%3D`)}function st(e){return rt(e).replace(Ue,`%23`).replace(qe,`%3F`)}function ct(e){return st(e).replace(Ge,`%2F`)}function lt(e){if(e==null)return null;try{return decodeURIComponent(``+e)}catch{}return``+e}var ut=/\/$/,dt=e=>e.replace(ut,``);function ft(e,t,n=`/`){let r,i={},a=``,o=``,s=t.indexOf(`#`),c=t.indexOf(`?`);return c=s>=0&&c>s?-1:c,c>=0&&(r=t.slice(0,c),a=t.slice(c,s>0?s:t.length),i=e(a.slice(1))),s>=0&&(r||=t.slice(0,s),o=t.slice(s,t.length)),r=bt(r??t,n),{fullPath:r+a+o,path:r,query:i,hash:lt(o)}}function pt(e,t){let n=t.query?e(t.query):``;return t.path+(n&&`?`)+n+(t.hash||``)}function mt(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||`/`}function ht(e,t,n){let r=t.matched.length-1,i=n.matched.length-1;return r>-1&&r===i&>(t.matched[r],n.matched[i])&&_t(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function gt(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function _t(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!vt(e[n],t[n]))return!1;return!0}function vt(e,t){return Ne(e)?yt(e,t):Ne(t)?yt(t,e):(e&&e.valueOf())===(t&&t.valueOf())}function yt(e,t){return Ne(t)?e.length===t.length&&e.every((e,n)=>e===t[n]):e.length===1&&e[0]===t}function bt(e,t){if(e.startsWith(`/`))return e;if(!e)return t;let n=t.split(`/`),r=e.split(`/`),i=r[r.length-1];(i===`..`||i===`.`)&&r.push(``);let a=n.length-1,o,s;for(o=0;o1&&a--;else break;return n.slice(0,a).join(`/`)+`/`+r.slice(o).join(`/`)}var xt={path:`/`,name:void 0,params:{},query:{},hash:``,fullPath:`/`,matched:[],meta:{},redirectedFrom:void 0},St=function(e){return e.pop=`pop`,e.push=`push`,e}({}),Ct=function(e){return e.back=`back`,e.forward=`forward`,e.unknown=``,e}({});function wt(e){if(!e)if(Oe){let t=document.querySelector(`base`);e=t&&t.getAttribute(`href`)||`/`,e=e.replace(/^\w+:\/\/[^\/]+/,``)}else e=`/`;return e[0]!==`/`&&e[0]!==`#`&&(e=`/`+e),dt(e)}var Tt=/^[^#]+#/;function Et(e,t){return e.replace(Tt,`#`)+t}function Dt(e,t){let n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}var Ot=()=>({left:window.scrollX,top:window.scrollY});function kt(e){let t;if(`el`in e){let n=e.el,r=typeof n==`string`&&n.startsWith(`#`),i=typeof n==`string`?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!i)return;t=Dt(i,e)}else t=e;`scrollBehavior`in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left==null?window.scrollX:t.left,t.top==null?window.scrollY:t.top)}function At(e,t){return(history.state?history.state.position-t:-1)+e}var jt=new Map;function Mt(e,t){jt.set(e,t)}function Nt(e){let t=jt.get(e);return jt.delete(e),t}function Pt(e){return typeof e==`string`||e&&typeof e==`object`}function Ft(e){return typeof e==`string`||typeof e==`symbol`}function It(e){let t={};if(e===``||e===`?`)return t;let n=(e[0]===`?`?e.slice(1):e).split(`&`);for(let e=0;ee&&at(e)):[r&&at(r)]).forEach(e=>{e!==void 0&&(t+=(t.length?`&`:``)+n,e!=null&&(t+=`=`+e))})}return t}function Rt(e){let t={};for(let n in e){let r=e[n];r!==void 0&&(t[n]=Ne(r)?r.map(e=>e==null?null:``+e):r==null?r:``+r)}return t}function zt(){let e=[];function t(t){return e.push(t),()=>{let n=e.indexOf(t);n>-1&&e.splice(n,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Bt(e,t,n,r,i,a=e=>e()){let o=r&&(r.enterCallbacks[i]=r.enterCallbacks[i]||[]);return()=>new Promise((s,c)=>{let l=e=>{e===!1?c(Ie(M.NAVIGATION_ABORTED,{from:n,to:t})):e instanceof Error?c(e):Pt(e)?c(Ie(M.NAVIGATION_GUARD_REDIRECT,{from:t,to:e})):(o&&r.enterCallbacks[i]===o&&typeof e==`function`&&o.push(e),s())},u=a(()=>e.call(r&&r.instances[i],t,n,l)),d=Promise.resolve(u);e.length<3&&(d=d.then(l)),d.catch(e=>c(e))})}function Vt(e,t,n,r,i=e=>e()){let a=[];for(let o of e)for(let e in o.components){let s=o.components[e];if(!(t!==`beforeRouteEnter`&&!o.instances[e]))if(ke(s)){let c=(s.__vccOpts||s)[t];c&&a.push(Bt(c,n,r,o,e,i))}else{let c=s();a.push(()=>c.then(a=>{if(!a)throw Error(`Couldn't resolve component "${e}" at "${o.path}"`);let s=Ae(a)?a.default:a;o.mods[e]=a,o.components[e]=s;let c=(s.__vccOpts||s)[t];return c&&Bt(c,n,r,o,e,i)()}))}}return a}function Ht(e,t){let n=[],r=[],i=[],a=Math.max(t.matched.length,e.matched.length);for(let o=0;ogt(e,a))?r.push(a):n.push(a));let s=e.matched[o];s&&(t.matched.find(e=>gt(e,s))||i.push(s))}return[n,r,i]}var Ut=()=>location.protocol+`//`+location.host;function Wt(e,t){let{pathname:n,search:r,hash:i}=t,a=e.indexOf(`#`);if(a>-1){let t=i.includes(e.slice(a))?e.slice(a).length:1,n=i.slice(t);return n[0]!==`/`&&(n=`/`+n),mt(n,``)}return mt(n,e)+r+i}function Gt(e,t,n,r){let i=[],a=[],o=null,s=({state:a})=>{let s=Wt(e,location),c=n.value,l=t.value,u=0;if(a){if(n.value=s,t.value=a,o&&o===c){o=null;return}u=l?a.position-l.position:0}else r(s);i.forEach(e=>{e(n.value,c,{delta:u,type:St.pop,direction:u?u>0?Ct.forward:Ct.back:Ct.unknown})})};function c(){o=n.value}function l(e){i.push(e);let t=()=>{let t=i.indexOf(e);t>-1&&i.splice(t,1)};return a.push(t),t}function u(){if(document.visibilityState===`hidden`){let{history:e}=window;if(!e.state)return;e.replaceState(j({},e.state,{scroll:Ot()}),``)}}function d(){for(let e of a)e();a=[],window.removeEventListener(`popstate`,s),window.removeEventListener(`pagehide`,u),document.removeEventListener(`visibilitychange`,u)}return window.addEventListener(`popstate`,s),window.addEventListener(`pagehide`,u),document.addEventListener(`visibilitychange`,u),{pauseListeners:c,listen:l,destroy:d}}function Kt(e,t,n,r=!1,i=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:i?Ot():null}}function qt(e){let{history:t,location:n}=window,r={value:Wt(e,n)},i={value:t.state};i.value||a(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function a(r,a,o){let s=e.indexOf(`#`),c=s>-1?(n.host&&document.querySelector(`base`)?e:e.slice(s))+r:Ut()+e+r;try{t[o?`replaceState`:`pushState`](a,``,c),i.value=a}catch(e){console.error(e),n[o?`replace`:`assign`](c)}}function o(e,n){a(e,j({},t.state,Kt(i.value.back,e,i.value.forward,!0),n,{position:i.value.position}),!0),r.value=e}function s(e,n){let o=j({},i.value,t.state,{forward:e,scroll:Ot()});a(o.current,o,!0),a(e,j({},Kt(r.value,e,null),{position:o.position+1},n),!1),r.value=e}return{location:r,state:i,push:s,replace:o}}function Jt(e){e=wt(e);let t=qt(e),n=Gt(e,t.state,t.location,t.replace);function r(e,t=!0){t||n.pauseListeners(),history.go(e)}let i=j({location:``,base:e,go:r,createHref:Et.bind(null,e)},t,n);return Object.defineProperty(i,`location`,{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(i,`state`,{enumerable:!0,get:()=>t.state.value}),i}var Yt=function(e){return e[e.Static=0]=`Static`,e[e.Param=1]=`Param`,e[e.Group=2]=`Group`,e}({}),N=function(e){return e[e.Static=0]=`Static`,e[e.Param=1]=`Param`,e[e.ParamRegExp=2]=`ParamRegExp`,e[e.ParamRegExpEnd=3]=`ParamRegExpEnd`,e[e.EscapeNext=4]=`EscapeNext`,e}(N||{}),Xt={type:Yt.Static,value:``},Zt=/[a-zA-Z0-9_]/;function Qt(e){if(!e)return[[]];if(e===`/`)return[[Xt]];if(!e.startsWith(`/`))throw Error(`Invalid path "${e}"`);function t(e){throw Error(`ERR (${n})/"${l}": ${e}`)}let n=N.Static,r=n,i=[],a;function o(){a&&i.push(a),a=[]}let s=0,c,l=``,u=``;function d(){l&&=(n===N.Static?a.push({type:Yt.Static,value:l}):n===N.Param||n===N.ParamRegExp||n===N.ParamRegExpEnd?(a.length>1&&(c===`*`||c===`+`)&&t(`A repeatable param (${l}) must be alone in its segment. eg: '/:ids+.`),a.push({type:Yt.Param,value:l,regexp:u,repeatable:c===`*`||c===`+`,optional:c===`*`||c===`?`})):t(`Invalid state to consume buffer`),``)}function f(){l+=c}for(;st.length?t.length===1&&t[0]===P.Static+P.Segment?1:-1:0}function an(e,t){let n=0,r=e.score,i=t.score;for(;n0&&t[t.length-1]<0}var sn={strict:!1,end:!0,sensitive:!1};function cn(e,t,n){let r=j(nn(Qt(e.path),n),{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function ln(e,t){let n=[],r=new Map;t=Pe(sn,t);function i(e){return r.get(e)}function a(e,n,r){let i=!r,s=dn(e);s.aliasOf=r&&r.record;let l=Pe(t,e),u=[s];if(`alias`in e){let t=typeof e.alias==`string`?[e.alias]:e.alias;for(let e of t)u.push(dn(j({},s,{components:r?r.record.components:s.components,path:e,aliasOf:r?r.record:s})))}let d,f;for(let t of u){let{path:u}=t;if(n&&u[0]!==`/`){let e=n.record.path,r=e[e.length-1]===`/`?``:`/`;t.path=n.record.path+(u&&r+u)}if(d=cn(t,n,l),r?r.alias.push(d):(f||=d,f!==d&&f.alias.push(d),i&&e.name&&!pn(d)&&o(e.name)),_n(d)&&c(d),s.children){let e=s.children;for(let t=0;t{o(f)}:Me}function o(e){if(Ft(e)){let t=r.get(e);t&&(r.delete(e),n.splice(n.indexOf(t),1),t.children.forEach(o),t.alias.forEach(o))}else{let t=n.indexOf(e);t>-1&&(n.splice(t,1),e.record.name&&r.delete(e.record.name),e.children.forEach(o),e.alias.forEach(o))}}function s(){return n}function c(e){let t=hn(e,n);n.splice(t,0,e),e.record.name&&!pn(e)&&r.set(e.record.name,e)}function l(e,t){let i,a={},o,s;if(`name`in e&&e.name){if(i=r.get(e.name),!i)throw Ie(M.MATCHER_NOT_FOUND,{location:e});s=i.record.name,a=j(un(t.params,i.keys.filter(e=>!e.optional).concat(i.parent?i.parent.keys.filter(e=>e.optional):[]).map(e=>e.name)),e.params&&un(e.params,i.keys.map(e=>e.name))),o=i.stringify(a)}else if(e.path!=null)o=e.path,i=n.find(e=>e.re.test(o)),i&&(a=i.parse(o),s=i.record.name);else{if(i=t.name?r.get(t.name):n.find(e=>e.re.test(t.path)),!i)throw Ie(M.MATCHER_NOT_FOUND,{location:e,currentLocation:t});s=i.record.name,a=j({},t.params,e.params),o=i.stringify(a)}let c=[],l=i;for(;l;)c.unshift(l.record),l=l.parent;return{name:s,path:o,params:a,matched:c,meta:mn(c)}}e.forEach(e=>a(e));function u(){n.length=0,r.clear()}return{addRoute:a,resolve:l,removeRoute:o,clearRoutes:u,getRoutes:s,getRecordMatcher:i}}function un(e,t){let n={};for(let r of t)r in e&&(n[r]=e[r]);return n}function dn(e){let t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:fn(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:`components`in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,`mods`,{value:{}}),t}function fn(e){let t={},n=e.props||!1;if(`component`in e)t.default=n;else for(let r in e.components)t[r]=typeof n==`object`?n[r]:n;return t}function pn(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function mn(e){return e.reduce((e,t)=>j(e,t.meta),{})}function hn(e,t){let n=0,r=t.length;for(;n!==r;){let i=n+r>>1;an(e,t[i])<0?r=i:n=i+1}let i=gn(e);return i&&(r=t.lastIndexOf(i,r-1)),r}function gn(e){let t=e;for(;t=t.parent;)if(_n(t)&&an(e,t)===0)return t}function _n({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function vn(e){let t=v(Be),n=v(Ve),r=b(()=>{let n=h(e.to);return t.resolve(n)}),i=b(()=>{let{matched:e}=r.value,{length:t}=e,i=e[t-1],a=n.matched;if(!i||!a.length)return-1;let o=a.findIndex(gt.bind(null,i));if(o>-1)return o;let s=Cn(e[t-2]);return t>1&&Cn(i)===s&&a[a.length-1].path!==s?a.findIndex(gt.bind(null,e[t-2])):o}),a=b(()=>i.value>-1&&Sn(n.params,r.value.params)),o=b(()=>i.value>-1&&i.value===n.matched.length-1&&_t(n.params,r.value.params));function s(n={}){if(xn(n)){let n=t[h(e.replace)?`replace`:`push`](h(e.to)).catch(Me);return e.viewTransition&&typeof document<`u`&&`startViewTransition`in document&&document.startViewTransition(()=>n),n}return Promise.resolve()}return{route:r,href:b(()=>r.value.href),isActive:a,isExactActive:o,navigate:s}}function yn(e){return e.length===1?e[0]:e}var bn=y({name:`RouterLink`,compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:`page`},viewTransition:Boolean},useLink:vn,setup(e,{slots:t}){let n=f(vn(e)),{options:r}=v(Be),i=b(()=>({[wn(e.activeClass,r.linkActiveClass,`router-link-active`)]:n.isActive,[wn(e.exactActiveClass,r.linkExactActiveClass,`router-link-exact-active`)]:n.isExactActive}));return()=>{let r=t.default&&yn(t.default(n));return e.custom?r:S(`a`,{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:i.value},r)}}});function xn(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){let t=e.currentTarget.getAttribute(`target`);if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function Sn(e,t){for(let n in t){let r=t[n],i=e[n];if(typeof r==`string`){if(r!==i)return!1}else if(!Ne(i)||i.length!==r.length||r.some((e,t)=>e.valueOf()!==i[t].valueOf()))return!1}return!0}function Cn(e){return e?e.aliasOf?e.aliasOf.path:e.path:``}var wn=(e,t,n)=>e??t??n,Tn=y({name:`RouterView`,inheritAttrs:!1,props:{name:{type:String,default:`default`},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){let r=v(He),i=b(()=>e.route||r.value),a=v(ze,0),o=b(()=>{let e=h(a),{matched:t}=i.value,n;for(;(n=t[e])&&!n.components;)e++;return e}),s=b(()=>i.value.matched[o.value]);l(ze,b(()=>o.value+1)),l(Re,s),l(He,i);let u=m();return c(()=>[u.value,s.value,e.name],([e,t,n],[r,i,a])=>{t&&(t.instances[n]=e,i&&i!==t&&e&&e===r&&(t.leaveGuards.size||(t.leaveGuards=i.leaveGuards),t.updateGuards.size||(t.updateGuards=i.updateGuards))),e&&t&&(!i||!gt(t,i)||!r)&&(t.enterCallbacks[n]||[]).forEach(t=>t(e))},{flush:`post`}),()=>{let r=i.value,a=e.name,o=s.value,c=o&&o.components[a];if(!c)return En(n.default,{Component:c,route:r});let l=o.props[a],d=S(c,j({},l?l===!0?r.params:typeof l==`function`?l(r):l:null,t,{onVnodeUnmounted:e=>{e.component.isUnmounted&&(o.instances[a]=null)},ref:u}));return En(n.default,{Component:d,route:r})||d}}});function En(e,t){if(!e)return null;let n=e(t);return n.length===1?n[0]:n}var Dn=Tn;function On(e){let t=ln(e.routes,e),r=e.parseQuery||It,i=e.stringifyQuery||Lt,a=e.history,s=zt(),c=zt(),l=zt(),d=o(xt),f=xt;Oe&&e.scrollBehavior&&`scrollRestoration`in history&&(history.scrollRestoration=`manual`);let p=je.bind(null,e=>``+e),m=je.bind(null,ct),g=je.bind(null,lt);function _(e,n){let r,i;return Ft(e)?(r=t.getRecordMatcher(e),i=n):i=e,t.addRoute(i,r)}function v(e){let n=t.getRecordMatcher(e);n&&t.removeRoute(n)}function y(){return t.getRoutes().map(e=>e.record)}function b(e){return!!t.getRecordMatcher(e)}function x(e,n){if(n=j({},n||d.value),typeof e==`string`){let i=ft(r,e,n.path),o=t.resolve({path:i.path},n),s=a.createHref(i.fullPath);return j(i,o,{params:g(o.params),hash:lt(i.hash),redirectedFrom:void 0,href:s})}let o;if(e.path!=null)o=j({},e,{path:ft(r,e.path,n.path).path});else{let t=j({},e.params);for(let e in t)t[e]??delete t[e];o=j({},e,{params:m(t)}),n.params=m(n.params)}let s=t.resolve(o,n),c=e.hash||``;s.params=p(g(s.params));let l=pt(i,j({},e,{hash:it(c),path:s.path})),u=a.createHref(l);return j({fullPath:l,hash:c,query:i===Lt?Rt(e.query):e.query||{}},s,{redirectedFrom:void 0,href:u})}function S(e){return typeof e==`string`?ft(r,e,d.value.path):j({},e)}function ee(e,t){if(f!==e)return Ie(M.NAVIGATION_CANCELLED,{from:t,to:e})}function C(e){return E(e)}function w(e){return C(j(S(e),{replace:!0}))}function T(e,t){let n=e.matched[e.matched.length-1];if(n&&n.redirect){let{redirect:r}=n,i=typeof r==`function`?r(e,t):r;return typeof i==`string`&&(i=i.includes(`?`)||i.includes(`#`)?i=S(i):{path:i},i.params={}),j({query:e.query,hash:e.hash,params:i.path==null?e.params:{}},i)}}function E(e,t){let n=f=x(e),r=d.value,a=e.state,o=e.force,s=e.replace===!0,c=T(n,r);if(c)return E(j(S(c),{state:typeof c==`object`?j({},a,c.state):a,force:o,replace:s}),t||n);let l=n;l.redirectedFrom=t;let u;return!o&&ht(i,r,n)&&(u=Ie(M.NAVIGATION_DUPLICATED,{to:l,from:r}),de(r,r,!0,!1)),(u?Promise.resolve(u):k(l,r)).catch(e=>Le(e)?Le(e,M.NAVIGATION_GUARD_REDIRECT)?e:ue(e):ce(e,l,r)).then(e=>{if(e){if(Le(e,M.NAVIGATION_GUARD_REDIRECT))return E(j({replace:s},S(e.to),{state:typeof e.to==`object`?j({},a,e.to.state):a,force:o}),t||l)}else e=ne(l,r,!0,s,a);return te(l,r,e),e})}function D(e,t){let n=ee(e,t);return n?Promise.reject(n):Promise.resolve()}function O(e){let t=me.values().next().value;return t&&typeof t.runWithContext==`function`?t.runWithContext(e):e()}function k(e,t){let n,[r,i,a]=Ht(e,t);n=Vt(r.reverse(),`beforeRouteLeave`,e,t);for(let i of r)i.leaveGuards.forEach(r=>{n.push(Bt(r,e,t))});let o=D.bind(null,e,t);return n.push(o),A(n).then(()=>{n=[];for(let r of s.list())n.push(Bt(r,e,t));return n.push(o),A(n)}).then(()=>{n=Vt(i,`beforeRouteUpdate`,e,t);for(let r of i)r.updateGuards.forEach(r=>{n.push(Bt(r,e,t))});return n.push(o),A(n)}).then(()=>{n=[];for(let r of a)if(r.beforeEnter)if(Ne(r.beforeEnter))for(let i of r.beforeEnter)n.push(Bt(i,e,t));else n.push(Bt(r.beforeEnter,e,t));return n.push(o),A(n)}).then(()=>(e.matched.forEach(e=>e.enterCallbacks={}),n=Vt(a,`beforeRouteEnter`,e,t,O),n.push(o),A(n))).then(()=>{n=[];for(let r of c.list())n.push(Bt(r,e,t));return n.push(o),A(n)}).catch(e=>Le(e,M.NAVIGATION_CANCELLED)?e:Promise.reject(e))}function te(e,t,n){l.list().forEach(r=>O(()=>r(e,t,n)))}function ne(e,t,n,r,i){let o=ee(e,t);if(o)return o;let s=t===xt,c=Oe?history.state:{};n&&(r||s?a.replace(e.fullPath,j({scroll:s&&c&&c.scroll},i)):a.push(e.fullPath,i)),d.value=e,de(e,t,n,s),ue()}let re;function ie(){re||=a.listen((e,t,n)=>{if(!he.listening)return;let r=x(e),i=T(r,he.currentRoute.value);if(i){E(j(i,{replace:!0,force:!0}),r).catch(Me);return}f=r;let o=d.value;Oe&&Mt(At(o.fullPath,n.delta),Ot()),k(r,o).catch(e=>Le(e,M.NAVIGATION_ABORTED|M.NAVIGATION_CANCELLED)?e:Le(e,M.NAVIGATION_GUARD_REDIRECT)?(E(j(S(e.to),{force:!0}),r).then(e=>{Le(e,M.NAVIGATION_ABORTED|M.NAVIGATION_DUPLICATED)&&!n.delta&&n.type===St.pop&&a.go(-1,!1)}).catch(Me),Promise.reject()):(n.delta&&a.go(-n.delta,!1),ce(e,r,o))).then(e=>{e||=ne(r,o,!1),e&&(n.delta&&!Le(e,M.NAVIGATION_CANCELLED)?a.go(-n.delta,!1):n.type===St.pop&&Le(e,M.NAVIGATION_ABORTED|M.NAVIGATION_DUPLICATED)&&a.go(-1,!1)),te(r,o,e)}).catch(Me)})}let ae=zt(),oe=zt(),se;function ce(e,t,n){ue(e);let r=oe.list();return r.length?r.forEach(r=>r(e,t,n)):console.error(e),Promise.reject(e)}function le(){return se&&d.value!==xt?Promise.resolve():new Promise((e,t)=>{ae.add([e,t])})}function ue(e){return se||(se=!e,ie(),ae.list().forEach(([t,n])=>e?n(e):t()),ae.reset()),e}function de(t,n,r,i){let{scrollBehavior:a}=e;if(!Oe||!a)return Promise.resolve();let o=!r&&Nt(At(t.fullPath,0))||(i||!r)&&history.state&&history.state.scroll||null;return u().then(()=>a(t,n,o)).then(e=>e&&kt(e)).catch(e=>ce(e,t,n))}let fe=e=>a.go(e),pe,me=new Set,he={currentRoute:d,listening:!0,addRoute:_,removeRoute:v,clearRoutes:t.clearRoutes,hasRoute:b,getRoutes:y,resolve:x,options:e,push:C,replace:w,go:fe,back:()=>fe(-1),forward:()=>fe(1),beforeEach:s.add,beforeResolve:c.add,afterEach:l.add,onError:oe.add,isReady:le,install(e){e.component(`RouterLink`,bn),e.component(`RouterView`,Dn),e.config.globalProperties.$router=he,Object.defineProperty(e.config.globalProperties,`$route`,{enumerable:!0,get:()=>h(d)}),Oe&&!pe&&d.value===xt&&(pe=!0,C(a.location).catch(e=>{}));let t={};for(let e in xt)Object.defineProperty(t,e,{get:()=>d.value[e],enumerable:!0});e.provide(Be,he),e.provide(Ve,n(t)),e.provide(He,d);let r=e.unmount;me.add(e),e.unmount=function(){me.delete(e),me.size<1&&(f=xt,re&&re(),re=null,d.value=xt,pe=!1,se=!1),r()}}};function A(e){return e.reduce((e,t)=>e.then(()=>O(t)),Promise.resolve())}return he}var kn=Object.defineProperty,An=Object.getOwnPropertySymbols,jn=Object.prototype.hasOwnProperty,Mn=Object.prototype.propertyIsEnumerable,Nn=(e,t,n)=>t in e?kn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Pn=(e,t)=>{for(var n in t||={})jn.call(t,n)&&Nn(e,n,t[n]);if(An)for(var n of An(t))Mn.call(t,n)&&Nn(e,n,t[n]);return e},Fn=(e,t)=>{var n={};for(var r in e)jn.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&An)for(var r of An(e))t.indexOf(r)<0&&Mn.call(e,r)&&(n[r]=e[r]);return n},In=`[vue-draggable-plus]: `;function Ln(e){console.warn(In+e)}function Rn(e){console.error(In+e)}function zn(e,t,n){return n>=0&&nt?t.toUpperCase():``)}function Vn(e){return Object.keys(e).reduce((t,n)=>(e[n]!==void 0&&(t[Bn(n)]=e[n]),t),{})}function Hn(e,t){return Array.isArray(e)&&e.splice(t,1),e}function Un(e,t,n){return Array.isArray(e)&&e.splice(t,0,n),e}function Wn(e){return e===void 0}function Gn(e){return typeof e==`string`}function Kn(e,t,n){let r=e.children[n];e.insertBefore(t,r)}function qn(e){e.parentNode&&e.parentNode.removeChild(e)}function Jn(e,t=document){let n=null;return n=typeof t?.querySelector==`function`?(t?.querySelector)?.call(t,e):document.querySelector(e),n||Ln(`Element not found: ${e}`),n}function Yn(e,t,n=null){return function(...r){return e.apply(n,r),t.apply(n,r)}}function Xn(e,t){let n=Pn({},e);return Object.keys(t).forEach(r=>{n[r]?n[r]=Yn(e[r],t[r]):n[r]=t[r]}),n}function Zn(e){return e instanceof HTMLElement}function Qn(e,t){Object.keys(e).forEach(n=>{t(n,e[n])})}function $n(e){return e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97)}var er=Object.assign;function tr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function nr(e){for(var t=1;t=0)&&(n[i]=e[i]);return n}function sr(e,t){if(e==null)return{};var n=or(e,t),r,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}var cr=`1.15.2`;function lr(e){if(typeof window<`u`&&window.navigator)return!!navigator.userAgent.match(e)}var ur=lr(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),dr=lr(/Edge/i),fr=lr(/firefox/i),pr=lr(/safari/i)&&!lr(/chrome/i)&&!lr(/android/i),mr=lr(/iP(ad|od|hone)/i),hr=lr(/chrome/i)&&lr(/android/i),gr={capture:!1,passive:!1};function F(e,t,n){e.addEventListener(t,n,!ur&&gr)}function I(e,t,n){e.removeEventListener(t,n,!ur&&gr)}function _r(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 vr(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function yr(e,t,n,r){if(e){n||=document;do{if(t!=null&&(t[0]===`>`?e.parentNode===n&&_r(e,t):_r(e,t))||r&&e===n)return e;if(e===n)break}while(e=vr(e))}return null}var br=/\s+/g;function L(e,t,n){e&&t&&(e.classList?e.classList[n?`add`:`remove`](t):e.className=((` `+e.className+` `).replace(br,` `).replace(` `+t+` `,` `)+(n?` `+t:``)).replace(br,` `))}function R(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 xr(e,t){var n=``;if(typeof e==`string`)n=e;else do{var r=R(e,`transform`);r&&r!==`none`&&(n=r+` `+n)}while(!t&&(e=e.parentNode));var i=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return i&&new i(n)}function Sr(e,t,n){if(e){var r=e.getElementsByTagName(t),i=0,a=r.length;if(n)for(;i=a,!o)return r;if(r===Cr())break;r=kr(r,!1)}return!1}function Tr(e,t,n,r){for(var i=0,a=0,o=e.children;a2&&arguments[2]!==void 0?arguments[2]:{},r=n.evt,i=sr(n,Gr);Ur.pluginEvent.bind(Q)(e,t,nr({dragEl:W,parentEl:G,ghostEl:K,rootEl:q,nextEl:Kr,lastDownEl:qr,cloneEl:J,cloneHidden:Jr,dragStarted:ci,putSortable:X,activeSortable:Q.active,originalEvent:r,oldIndex:Yr,oldDraggableIndex:Xr,newIndex:Y,newDraggableIndex:Zr,hideGhostForTarget:Ei,unhideGhostForTarget:Di,cloneNowHidden:function(){Jr=!0},cloneNowShown:function(){Jr=!1},dispatchSortableEvent:function(e){U({sortable:t,name:e,originalEvent:r})}},i))};function U(e){Wr(nr({putSortable:X,cloneEl:J,targetEl:W,rootEl:q,oldIndex:Yr,oldDraggableIndex:Xr,newIndex:Y,newDraggableIndex:Zr},e))}var W,G,K,q,Kr,qr,J,Jr,Yr,Y,Xr,Zr,Qr,X,$r=!1,ei=!1,ti=[],ni,ri,ii,ai,oi,si,ci,li,ui,di=!1,fi=!1,pi,Z,mi=[],hi=!1,gi=[],_i=typeof document<`u`,vi=mr,yi=dr||ur?`cssFloat`:`float`,bi=_i&&!hr&&!mr&&`draggable`in document.createElement(`div`),xi=function(){if(_i){if(ur)return!1;var e=document.createElement(`x`);return e.style.cssText=`pointer-events:auto`,e.style.pointerEvents===`auto`}}(),Si=function(e,t){var n=R(e),r=parseInt(n.width)-parseInt(n.paddingLeft)-parseInt(n.paddingRight)-parseInt(n.borderLeftWidth)-parseInt(n.borderRightWidth),i=Tr(e,0,t),a=Tr(e,1,t),o=i&&R(i),s=a&&R(a),c=o&&parseInt(o.marginLeft)+parseInt(o.marginRight)+z(i).width,l=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+z(a).width;if(n.display===`flex`)return n.flexDirection===`column`||n.flexDirection===`column-reverse`?`vertical`:`horizontal`;if(n.display===`grid`)return n.gridTemplateColumns.split(` `).length<=1?`vertical`:`horizontal`;if(i&&o.float&&o.float!==`none`){var u=o.float===`left`?`left`:`right`;return a&&(s.clear===`both`||s.clear===u)?`vertical`:`horizontal`}return i&&(o.display===`block`||o.display===`flex`||o.display===`table`||o.display===`grid`||c>=r&&n[yi]===`none`||a&&n[yi]===`none`&&c+l>r)?`vertical`:`horizontal`},Ci=function(e,t,n){var r=n?e.left:e.top,i=n?e.right:e.bottom,a=n?e.width:e.height,o=n?t.left:t.top,s=n?t.right:t.bottom,c=n?t.width:t.height;return r===o||i===s||r+a/2===o+c/2},wi=function(e,t){var n;return ti.some(function(r){var i=r[V].options.emptyInsertThreshold;if(!(!i||Er(r))){var a=z(r),o=e>=a.left-i&&e<=a.right+i,s=t>=a.top-i&&t<=a.bottom+i;if(o&&s)return n=r}}),n},Ti=function(e){function t(e,n){return function(r,i,a,o){var s=r.options.group.name&&i.options.group.name&&r.options.group.name===i.options.group.name;if(e==null&&(n||s))return!0;if(e==null||e===!1)return!1;if(n&&e===`clone`)return e;if(typeof e==`function`)return t(e(r,i,a,o),n)(r,i,a,o);var c=(n?r:i).options.group.name;return e===!0||typeof e==`string`&&e===c||e.join&&e.indexOf(c)>-1}}var n={},r=e.group;(!r||rr(r)!=`object`)&&(r={name:r}),n.name=r.name,n.checkPull=t(r.pull,!0),n.checkPut=t(r.put),n.revertClone=r.revertClone,e.group=n},Ei=function(){!xi&&K&&R(K,`display`,`none`)},Di=function(){!xi&&K&&R(K,`display`,``)};_i&&!hr&&document.addEventListener(`click`,function(e){if(ei)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),ei=!1,!1},!0);var Oi=function(e){if(W){e=e.touches?e.touches[0]:e;var t=wi(e.clientX,e.clientY);if(t){var n={};for(var r in e)e.hasOwnProperty(r)&&(n[r]=e[r]);n.target=n.rootEl=t,n.preventDefault=void 0,n.stopPropagation=void 0,t[V]._onDragOver(n)}}},ki=function(e){W&&W.parentNode[V]._isOutsideThisEl(e.target)};function Q(e,t){if(!(e&&e.nodeType&&e.nodeType===1))throw`Sortable: \`el\` must be an HTMLElement, not ${{}.toString.call(e)}`;this.el=e,this.options=t=ar({},t),e[V]=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 Si(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(e,t){e.setData(`Text`,t.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:Q.supportPointer!==!1&&`PointerEvent`in window&&!pr,emptyInsertThreshold:5};for(var r in Ur.initializePlugins(this,e,n),n)!(r in t)&&(t[r]=n[r]);for(var i in Ti(t),this)i.charAt(0)===`_`&&typeof this[i]==`function`&&(this[i]=this[i].bind(this));this.nativeDraggable=t.forceFallback?!1:bi,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?F(e,`pointerdown`,this._onTapStart):(F(e,`mousedown`,this._onTapStart),F(e,`touchstart`,this._onTapStart)),this.nativeDraggable&&(F(e,`dragover`,this),F(e,`dragenter`,this)),ti.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),ar(this,Rr())}Q.prototype={constructor:Q,_isOutsideThisEl:function(e){!this.el.contains(e)&&e!==this.el&&(li=null)},_getDirection:function(e,t){return typeof this.options.direction==`function`?this.options.direction.call(this,e,t,W):this.options.direction},_onTapStart:function(e){if(e.cancelable){var t=this,n=this.el,r=this.options,i=r.preventOnFilter,a=e.type,o=e.touches&&e.touches[0]||e.pointerType&&e.pointerType===`touch`&&e,s=(o||e).target,c=e.target.shadowRoot&&(e.path&&e.path[0]||e.composedPath&&e.composedPath()[0])||s,l=r.filter;if(zi(n),!W&&!(/mousedown|pointerdown/.test(a)&&e.button!==0||r.disabled)&&!c.isContentEditable&&!(!this.nativeDraggable&&pr&&s&&s.tagName.toUpperCase()===`SELECT`)&&(s=yr(s,r.draggable,n,!1),!(s&&s.animated)&&qr!==s)){if(Yr=B(s),Xr=B(s,r.draggable),typeof l==`function`){if(l.call(this,e,s,this)){U({sortable:t,rootEl:c,name:`filter`,targetEl:s,toEl:n,fromEl:n}),H(`filter`,t,{evt:e}),i&&e.cancelable&&e.preventDefault();return}}else if(l&&(l=l.split(`,`).some(function(r){if(r=yr(c,r.trim(),n,!1),r)return U({sortable:t,rootEl:r,name:`filter`,targetEl:s,fromEl:n,toEl:n}),H(`filter`,t,{evt:e}),!0}),l)){i&&e.cancelable&&e.preventDefault();return}r.handle&&!yr(c,r.handle,n,!1)||this._prepareDragStart(e,o,s)}}},_prepareDragStart:function(e,t,n){var r=this,i=r.el,a=r.options,o=i.ownerDocument,s;if(n&&!W&&n.parentNode===i){var c=z(n);if(q=i,W=n,G=W.parentNode,Kr=W.nextSibling,qr=n,Qr=a.group,Q.dragged=W,ni={target:W,clientX:(t||e).clientX,clientY:(t||e).clientY},oi=ni.clientX-c.left,si=ni.clientY-c.top,this._lastX=(t||e).clientX,this._lastY=(t||e).clientY,W.style[`will-change`]=`all`,s=function(){if(H(`delayEnded`,r,{evt:e}),Q.eventCanceled){r._onDrop();return}r._disableDelayedDragEvents(),!fr&&r.nativeDraggable&&(W.draggable=!0),r._triggerDragStart(e,t),U({sortable:r,name:`choose`,originalEvent:e}),L(W,a.chosenClass,!0)},a.ignore.split(`,`).forEach(function(e){Sr(W,e.trim(),Mi)}),F(o,`dragover`,Oi),F(o,`mousemove`,Oi),F(o,`touchmove`,Oi),F(o,`mouseup`,r._onDrop),F(o,`touchend`,r._onDrop),F(o,`touchcancel`,r._onDrop),fr&&this.nativeDraggable&&(this.options.touchStartThreshold=4,W.draggable=!0),H(`delayStart`,this,{evt:e}),a.delay&&(!a.delayOnTouchOnly||t)&&(!this.nativeDraggable||!(dr||ur))){if(Q.eventCanceled){this._onDrop();return}F(o,`mouseup`,r._disableDelayedDrag),F(o,`touchend`,r._disableDelayedDrag),F(o,`touchcancel`,r._disableDelayedDrag),F(o,`mousemove`,r._delayedDragTouchMoveHandler),F(o,`touchmove`,r._delayedDragTouchMoveHandler),a.supportPointer&&F(o,`pointermove`,r._delayedDragTouchMoveHandler),r._dragStartTimer=setTimeout(s,a.delay)}else s()}},_delayedDragTouchMoveHandler:function(e){var t=e.touches?e.touches[0]:e;Math.max(Math.abs(t.clientX-this._lastX),Math.abs(t.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){W&&Mi(W),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var e=this.el.ownerDocument;I(e,`mouseup`,this._disableDelayedDrag),I(e,`touchend`,this._disableDelayedDrag),I(e,`touchcancel`,this._disableDelayedDrag),I(e,`mousemove`,this._delayedDragTouchMoveHandler),I(e,`touchmove`,this._delayedDragTouchMoveHandler),I(e,`pointermove`,this._delayedDragTouchMoveHandler)},_triggerDragStart:function(e,t){t||=e.pointerType==`touch`&&e,!this.nativeDraggable||t?this.options.supportPointer?F(document,`pointermove`,this._onTouchMove):t?F(document,`touchmove`,this._onTouchMove):F(document,`mousemove`,this._onTouchMove):(F(W,`dragend`,this),F(q,`dragstart`,this._onDragStart));try{document.selection?Bi(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(e,t){if($r=!1,q&&W){H(`dragStarted`,this,{evt:t}),this.nativeDraggable&&F(document,`dragover`,ki);var n=this.options;!e&&L(W,n.dragClass,!1),L(W,n.ghostClass,!0),Q.active=this,e&&this._appendGhost(),U({sortable:this,name:`start`,originalEvent:t})}else this._nulling()},_emulateDragOver:function(){if(ri){this._lastX=ri.clientX,this._lastY=ri.clientY,Ei();for(var e=document.elementFromPoint(ri.clientX,ri.clientY),t=e;e&&e.shadowRoot&&(e=e.shadowRoot.elementFromPoint(ri.clientX,ri.clientY),e!==t);)t=e;if(W.parentNode[V]._isOutsideThisEl(e),t)do{if(t[V]){var n=void 0;if(n=t[V]._onDragOver({clientX:ri.clientX,clientY:ri.clientY,target:e,rootEl:t}),n&&!this.options.dragoverBubble)break}e=t}while(t=t.parentNode);Di()}},_onTouchMove:function(e){if(ni){var t=this.options,n=t.fallbackTolerance,r=t.fallbackOffset,i=e.touches?e.touches[0]:e,a=K&&xr(K,!0),o=K&&a&&a.a,s=K&&a&&a.d,c=vi&&Z&&Dr(Z),l=(i.clientX-ni.clientX+r.x)/(o||1)+(c?c[0]-mi[0]:0)/(o||1),u=(i.clientY-ni.clientY+r.y)/(s||1)+(c?c[1]-mi[1]:0)/(s||1);if(!Q.active&&!$r){if(n&&Math.max(Math.abs(i.clientX-this._lastX),Math.abs(i.clientY-this._lastY))=0&&(U({sortable:this,name:`update`,toEl:G,originalEvent:e}),U({sortable:this,name:`sort`,toEl:G,originalEvent:e})):(Y>=0&&(U({rootEl:G,name:`add`,toEl:G,fromEl:q,originalEvent:e}),U({sortable:this,name:`remove`,toEl:G,originalEvent:e}),U({rootEl:G,name:`sort`,toEl:G,fromEl:q,originalEvent:e}),U({sortable:this,name:`sort`,toEl:G,originalEvent:e})),X&&X.save()),Q.active&&((Y==null||Y===-1)&&(Y=Yr,Zr=Xr),U({sortable:this,name:`end`,toEl:G,originalEvent:e}),this.save()))),this._nulling()},_nulling:function(){H(`nulling`,this),q=W=G=K=Kr=J=qr=Jr=ni=ri=ci=Y=Zr=Yr=Xr=li=ui=X=Qr=Q.dragged=Q.ghost=Q.clone=Q.active=null,gi.forEach(function(e){e.checked=!0}),gi.length=ii=ai=0},handleEvent:function(e){switch(e.type){case`drop`:case`dragend`:this._onDrop(e);break;case`dragenter`:case`dragover`:W&&(this._onDragOver(e),Ai(e));break;case`selectstart`:e.preventDefault();break}},toArray:function(){for(var e=[],t,n=this.el.children,r=0,i=n.length,a=this.options;ri.right+a||e.clientY>r.bottom&&e.clientX>r.left:e.clientY>i.bottom+a||e.clientX>r.right&&e.clientY>r.top}function Ii(e,t,n,r,i,a,o,s){var c=r?e.clientY:e.clientX,l=r?n.height:n.width,u=r?n.top:n.left,d=r?n.bottom:n.right,f=!1;if(!o){if(s&&piu+l*a/2:cd-pi)return-ui}else if(c>u+l*(1-i)/2&&cd-l*a/2)?c>u+l/2?1:-1:0}function Li(e){return B(W){if(e&&r?.length!==a.childNodes.length)return i.insertBefore(e,t.nextSibling),!0;let o=a.childNodes[n];e=a?.replaceChild(t,o)})}}catch(e){o=e}finally{r=null}u(()=>{if(sa(),o)throw o})}let S={onUpdate:b,onStart:g,onAdd:v,onRemove:y,onEnd:x};function ee(e){let t=h(i);return e||=Gn(t)?Jn(t,n?.$el):t,e&&!Zn(e)&&(e=e.$el),e||Rn(`Root element not found`),e}function C(){let e=h(o)??{},{immediate:t,clone:n}=e,r=Fn(e,[`immediate`,`clone`]);return Qn(r,(e,t)=>{$n(e)&&(r[e]=(e,...n)=>(er(e,ca()),t(e,...n)))}),Xn(a===null?{}:S,r)}let w=e=>{e=ee(e),s&&T.destroy(),s=new Q(e,C())};c(()=>o,()=>{s&&Qn(C(),(e,t)=>{s?.option(e,t)})},{deep:!0});let T={option:(e,t)=>s?.option(e,t),destroy:()=>{s?.destroy(),s=null},save:()=>s?.save(),toArray:()=>s?.toArray(),closest:(...e)=>s?.closest(...e)};return ia(()=>{l&&w()}),ra(T.destroy),Pn({start:w,pause:()=>T?.option(`disabled`,!0),resume:()=>T?.option(`disabled`,!1)},T)}var da=[`update`,`start`,`add`,`remove`,`choose`,`unchoose`,`end`,`sort`,`filter`,`clone`,`move`,`change`],fa=y({name:`VueDraggable`,model:{prop:`modelValue`,event:`update:modelValue`},props:[`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`,...da.map(e=>`on${e.replace(/^\S/,e=>e.toUpperCase())}`)],emits:[`update:modelValue`,...da],setup(e,{slots:t,emit:n,expose:r,attrs:i}){let a=da.reduce((e,t)=>{let r=`on${t.replace(/^\S/,e=>e.toUpperCase())}`;return e[r]=(...e)=>n(t,...e),e},{}),o=b(()=>{let t=g(e),{modelValue:n}=t,r=Fn(t,[`modelValue`]),o=Object.entries(r).reduce((e,[t,n])=>{let r=h(n);return r!==void 0&&(e[t]=r),e},{});return Pn(Pn({},a),Vn(Pn(Pn({},i),o)))}),s=b({get:()=>e.modelValue,set:e=>n(`update:modelValue`,e)}),c=m(),l=f(ua(e.target||c,s,o));return r(l),()=>S(e.tag||`div`,{ref:c},(t?.default)?.call(t,l))}}),pa={mounted:`mounted`,unmounted:`unmounted`};pa.mounted,pa.unmounted;export{Ee as a,pe as i,On as n,De as o,Jt as r,fa as t};