diff --git a/docs/index.c6146c1f.js b/docs/index.6605109c.js
similarity index 97%
rename from docs/index.c6146c1f.js
rename to docs/index.6605109c.js
index 40f2863..8d5c6ce 100644
--- a/docs/index.c6146c1f.js
+++ b/docs/index.6605109c.js
@@ -19,7 +19,7 @@ mounted:function(e,t){ep(e,t.value)},beforeUpdate:function(e,t,n){e._assign=el(n
// As long as the user only uses trusted templates, this is safe.
insertStaticContent:function(e,t,n,r,i,o){var a=n?n.previousSibling:t.lastChild;if(i&&(i===o||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),i!==o&&(i=i.nextSibling););else{_.innerHTML=r?""):e;var l=_.content;if(r){for(var u=l.firstChild;u.firstChild;)l.appendChild(u.firstChild);l.removeChild(u)}t.insertBefore(l,n)}return[// first
a?a.nextSibling:t.firstChild,// last
-n?n.previousSibling:t.lastChild]}}),eT=!1;function eA(){return i||(i=(0,g.createRenderer)(eN))}function eD(){return i=eT?i:(0,g.createHydrationRenderer)(eN),eT=!0,i}var eR=function(){for(var e,t=arguments.length,n=Array(t),r=0;r-1)return{checked:!0}}else if((0,p.isSet)(n)){if(t.props&&n.has(t.props.value))return{checked:!0}}else if(n)return{checked:!0}},ey.getSSRProps=function(e,t){if("string"==typeof t.type){var n=e_(t.type.toUpperCase(),t.props&&t.props.type);if(n.getSSRProps)return n.getSSRProps(e,t)}},eE.getSSRProps=function(e){if(!e.value)return{style:{display:"none"}}})};e(n.exports,g)}),f.register("disEZ",function(e,n){t(e.exports,"_",function(){return r});function r(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}}),f.register("fJNo6",function(e,n){function r(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=Array(t);n1?t-1:0),r=1;r3)||void 0===arguments[3]||arguments[3],i=t?t.vnode:null;if(t){for(var o=t.parent,a=t.proxy;o;){var l=o.ec;if(l){for(var u=0;u3&&void 0!==arguments[3]&&arguments[3],console.error(e)})(e,n,i,r)}r={},(0,d._)(r,"sp","serverPrefetch hook"),(0,d._)(r,"bc","beforeCreate hook"),(0,d._)(r,"c","created hook"),(0,d._)(r,"bm","beforeMount hook"),(0,d._)(r,"m","mounted hook"),(0,d._)(r,"bu","beforeUpdate hook"),(0,d._)(r,"u","updated"),(0,d._)(r,"bum","beforeUnmount hook"),(0,d._)(r,"um","unmounted hook"),(0,d._)(r,"a","activated hook"),(0,d._)(r,"da","deactivated hook"),(0,d._)(r,"ec","errorCaptured hook"),(0,d._)(r,"rtc","renderTracked hook"),(0,d._)(r,"rtg","renderTriggered hook"),(0,d._)(r,0,"setup function"),(0,d._)(r,1,"render function"),(0,d._)(r,2,"watcher getter"),(0,d._)(r,3,"watcher callback"),(0,d._)(r,4,"watcher cleanup function"),(0,d._)(r,5,"native event handler"),(0,d._)(r,6,"component event handler"),(0,d._)(r,7,"vnode hook"),(0,d._)(r,8,"directive hook"),(0,d._)(r,9,"transition hook"),(0,d._)(r,10,"app errorHandler"),(0,d._)(r,11,"app warnHandler"),(0,d._)(r,12,"ref function"),(0,d._)(r,13,"async component loader"),(0,d._)(r,14,"scheduler flush. This is likely a Vue internals bug. Please open an issue at https://new-issue.vuejs.org/?repo=vuejs/core");var k=!1,S=!1,C=[],E=0,V=[],N=null,T=0,A=/* @__PURE__ */Promise.resolve(),D=null;function R(e){var t=D||A;return e?t.then(this?e.bind(this):e):t}function O(e){C.length&&C.includes(e,k&&e.allowRecurse?E+1:E)||(null==e.id?C.push(e):C.splice(function(e){for(var t=E+1,n=C.length;t>>1;L(C[r])1&&void 0!==arguments[1]?arguments[1]:k?E+1:0;t1?n-1:0),o=1;o-1)return{checked:!0}}else if((0,p.isSet)(n)){if(t.props&&n.has(t.props.value))return{checked:!0}}else if(n)return{checked:!0}},ey.getSSRProps=function(e,t){if("string"==typeof t.type){var n=e_(t.type.toUpperCase(),t.props&&t.props.type);if(n.getSSRProps)return n.getSSRProps(e,t)}},eE.getSSRProps=function(e){if(!e.value)return{style:{display:"none"}}})};e(n.exports,g)}),f.register("disEZ",function(e,n){t(e.exports,"_",function(){return r});function r(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}}),f.register("fJNo6",function(e,n){function r(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=Array(t);n1?t-1:0),r=1;r3)||void 0===arguments[3]||arguments[3],i=t?t.vnode:null;if(t){for(var o=t.parent,a=t.proxy;o;){var l=o.ec;if(l){for(var u=0;u3&&void 0!==arguments[3]&&arguments[3],console.error(e)})(e,n,i,r)}r={},(0,d._)(r,"sp","serverPrefetch hook"),(0,d._)(r,"bc","beforeCreate hook"),(0,d._)(r,"c","created hook"),(0,d._)(r,"bm","beforeMount hook"),(0,d._)(r,"m","mounted hook"),(0,d._)(r,"bu","beforeUpdate hook"),(0,d._)(r,"u","updated"),(0,d._)(r,"bum","beforeUnmount hook"),(0,d._)(r,"um","unmounted hook"),(0,d._)(r,"a","activated hook"),(0,d._)(r,"da","deactivated hook"),(0,d._)(r,"ec","errorCaptured hook"),(0,d._)(r,"rtc","renderTracked hook"),(0,d._)(r,"rtg","renderTriggered hook"),(0,d._)(r,0,"setup function"),(0,d._)(r,1,"render function"),(0,d._)(r,2,"watcher getter"),(0,d._)(r,3,"watcher callback"),(0,d._)(r,4,"watcher cleanup function"),(0,d._)(r,5,"native event handler"),(0,d._)(r,6,"component event handler"),(0,d._)(r,7,"vnode hook"),(0,d._)(r,8,"directive hook"),(0,d._)(r,9,"transition hook"),(0,d._)(r,10,"app errorHandler"),(0,d._)(r,11,"app warnHandler"),(0,d._)(r,12,"ref function"),(0,d._)(r,13,"async component loader"),(0,d._)(r,14,"scheduler flush. This is likely a Vue internals bug. Please open an issue at https://new-issue.vuejs.org/?repo=vuejs/core");var k=!1,S=!1,C=[],E=0,V=[],N=null,T=0,A=/* @__PURE__ */Promise.resolve(),D=null;function R(e){var t=D||A;return e?t.then(this?e.bind(this):e):t}function O(e){C.length&&C.includes(e,k&&e.allowRecurse?E+1:E)||(null==e.id?C.push(e):C.splice(function(e){for(var t=E+1,n=C.length;t>>1;L(C[r])1&&void 0!==arguments[1]?arguments[1]:k?E+1:0;t1?n-1:0),o=1;o1){var l=!0,u=!1,s=void 0;try{for(var c,d=t[Symbol.iterator]();!(l=(c=d.next()).done);l=!0){var f=c.value;if(f.type!==nd){a=f;break}}}catch(e){u=!0,s=e}finally{try{l||null==d.return||d.return()}finally{if(u)throw s}}}var h=(0,g.toRaw)(e),p=h.mode;if(o.isLeaving)return eO(a);var m=eI(a);if(!m)return eO(a);var y=eR(m,h,o,i);eB(m,y);var _=i.subTree,b=_&&eI(_),w=!1,x=m.type.getTransitionKey;if(x){var k=x();void 0===n?n=k:k!==n&&(n=k,w=!0)}if(b&&b.type!==nd&&(!nk(m,b)||w)){var S=eR(b,h,o,i);if(eB(b,S),"out-in"===p)return o.isLeaving=!0,S.afterLeave=function(){o.isLeaving=!1,!1!==i.update.active&&i.update()},eO(a);"in-out"===p&&m.type!==nd&&(S.delayLeave=function(e,t,n){eD(o,b)[String(b.key)]=b,e._leaveCb=function(){t(),e._leaveCb=void 0,delete y.delayedLeave},y.delayedLeave=n})}return a}}}};function eD(e,t){var n=e.leavingVNodes,r=n.get(t.type);return r||(r=/* @__PURE__ */Object.create(null),n.set(t.type,r)),r}function eR(e,t,n,r){var i=t.appear,o=t.mode,a=t.persisted,l=t.onBeforeEnter,u=t.onEnter,s=t.onAfterEnter,c=t.onEnterCancelled,d=t.onBeforeLeave,f=t.onLeave,h=t.onAfterLeave,p=t.onLeaveCancelled,g=t.onBeforeAppear,y=t.onAppear,_=t.onAfterAppear,b=t.onAppearCancelled,x=String(e.key),k=eD(n,e),S=function(e,t){e&&w(e,r,9,t)},C=function(e,t){var n=t[1];S(e,t),(0,m.isArray)(e)?e.every(function(e){return e.length<=1})&&n():e.length<=1&&n()},E={mode:o,persisted:void 0!==a&&a,beforeEnter:function(t){var r=l;if(!n.isMounted){if(!i)return;r=g||l}t._leaveCb&&t._leaveCb(!0);var o=k[x];o&&nk(e,o)&&o.el._leaveCb&&o.el._leaveCb(),S(r,[t])},enter:function(e){var t=u,r=s,o=c;if(!n.isMounted){if(!i)return;t=y||u,r=_||s,o=b||c}var a=!1,l=e._enterCb=function(t){a||(a=!0,t?S(o,[e]):S(r,[e]),E.delayedLeave&&E.delayedLeave(),e._enterCb=void 0)};t?C(t,[e,l]):l()},leave:function(t,r){var i=String(e.key);if(t._enterCb&&t._enterCb(!0),n.isUnmounting)return r();S(d,[t]);var o=!1,a=t._leaveCb=function(n){o||(o=!0,r(),n?S(p,[t]):S(h,[t]),t._leaveCb=void 0,k[i]!==e||delete k[i])};k[i]=e,f?C(f,[t,a]):a()},clone:function(e){return eR(e,t,n,r)}};return E}function eO(e){if(eU(e))return(e=nD(e)).children=null,e}function eI(e){return eU(e)?e.children?e.children[0]:void 0:e}function eB(e,t){6&e.shapeFlag&&e.component?eB(e.component.subTree,t):128&e.shapeFlag?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function eP(e){for(var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2?arguments[2]:void 0,r=[],i=0,o=0;o1)for(var u=0;u1)return c=null,t;if(!nx(r)||!(4&r.shapeFlag)&&!(128&r.shapeFlag))return c=null,r;var i=eX(r),a=i.type,l=n3(eL(i)?i.type.__asyncResolved||{}:a),d=e.include,f=e.exclude,h=e.max;if(d&&(!l||!eY(d,l))||f&&l&&eY(f,l))return c=i,r;var p=null==i.key?a:i.key,g=u.get(p);return i.el&&(i=nD(i),128&r.shapeFlag&&(r.ssContent=i)),b=p,g?(i.el=g.el,i.component=g.component,i.transition&&eB(i,i.transition),i.shapeFlag|=512,s.delete(p),s.add(p)):(s.add(p),h&&s.size>parseInt(h,10)&&o(s.values().next().value)),i.shapeFlag|=256,c=i,es(r.type)?r:i}}};function eY(e,t){return(0,m.isArray)(e)?e.some(function(e){return eY(e,t)}):(0,m.isString)(e)?e.split(",").includes(t):!!(0,m.isRegExp)(e)&&e.test(t)}function eH(e,t){eW(e,"a",t)}function eq(e,t){eW(e,"da",t)}function eW(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:nY,r=e.__wdc||(e.__wdc=function(){for(var t=n;t;){if(t.isDeactivated)return;t=t.parent}return e()});if(eG(t,r,n),n)for(var i=n.parent;i&&i.parent;)eU(i.parent.vnode)&&function(e,t,n,r){var i=eG(t,e,r,!0);e2(function(){(0,m.remove)(r[t],i)},n)}(r,t,n,i),i=i.parent}function eK(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function eX(e){return 128&e.shapeFlag?e.ssContent:e}function eG(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:nY,r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(n){var i=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=function(){for(var r=arguments.length,i=Array(r),o=0;o1&&void 0!==arguments[1]?arguments[1]:nY;return(!nG||"sp"===e)&&eG(e,function(){for(var e=arguments.length,n=Array(e),r=0;r1&&void 0!==arguments[1]?arguments[1]:nY;eG("ec",e,t)}var e8="components";function e7(e,t){return tn(e8,e,!0,t)||e}var e9=Symbol.for("v-ndc");function te(e){return(0,m.isString)(e)?tn(e8,e,!1)||e:e||e9}function tt(e){return tn("directives",e)}function tn(e,t){arguments.length>2&&void 0!==arguments[2]&&arguments[2];var n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],r=J||nY;if(r){var i=r.type;if(e===e8){var o=n3(i,!1);if(o&&(o===t||o===(0,m.camelize)(t)||o===(0,m.capitalize)((0,m.camelize)(t))))return i}var a=// check instance[type] first which is resolved for options API
+__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup:function(e,t){var n=t.slots,r=function(e){eK(e),y(e,a,d,!0)},i=function(e){u.forEach(function(t,n){var r=n3(t.type);!r||e&&e(r)||o(n)})},o=function(e){var t=u.get(e);c&&nk(t,c)?c&&eK(c):r(t),u.delete(e),s.delete(e)},a=nH(),l=a.ctx;if(!l.renderer)return function(){var e=n.default&&n.default();return e&&1===e.length?e[0]:e};var u=/* @__PURE__ */new Map,s=/* @__PURE__ */new Set,c=null;__VUE_PROD_DEVTOOLS__&&(a.__v_cache=u);var d=a.suspense,f=l.renderer,p=f.p,g=f.m,y=f.um,_=(0,f.o.createElement)("div");l.activate=function(e,t,n,r,i){var o=e.component;g(e,t,n,0,d),p(o.vnode,e,t,n,o,d,r,e.slotScopeIds,i),t8(function(){o.isDeactivated=!1,o.a&&(0,m.invokeArrayFns)(o.a);var t=e.props&&e.props.onVnodeMounted;t&&nj(t,o.parent,e)},d),__VUE_PROD_DEVTOOLS__&&H(o)},l.deactivate=function(e){var t=e.component;g(e,_,null,1,d),t8(function(){t.da&&(0,m.invokeArrayFns)(t.da);var n=e.props&&e.props.onVnodeUnmounted;n&&nj(n,t.parent,e),t.isDeactivated=!0},d),__VUE_PROD_DEVTOOLS__&&H(t)},ew(function(){return[e.include,e.exclude]},function(e){var t=(0,h._)(e,2),n=t[0],r=t[1];n&&i(function(e){return eY(n,e)}),r&&i(function(e){return!eY(r,e)})},{flush:"post",deep:!0});var b=null,w=function(){null!=b&&u.set(b,eX(a.subTree))};return eZ(w),e0(w),e1(function(){u.forEach(function(e){var t=a.subTree,n=a.suspense,i=eX(t);if(e.type===i.type&&e.key===i.key){eK(i);var o=i.component.da;o&&t8(o,n);return}r(e)})}),function(){if(b=null,!n.default)return null;var t=n.default(),r=t[0];if(t.length>1)return c=null,t;if(!nx(r)||!(4&r.shapeFlag)&&!(128&r.shapeFlag))return c=null,r;var i=eX(r),a=i.type,l=n3(eL(i)?i.type.__asyncResolved||{}:a),d=e.include,f=e.exclude,h=e.max;if(d&&(!l||!eY(d,l))||f&&l&&eY(f,l))return c=i,r;var p=null==i.key?a:i.key,g=u.get(p);return i.el&&(i=nD(i),128&r.shapeFlag&&(r.ssContent=i)),b=p,g?(i.el=g.el,i.component=g.component,i.transition&&eB(i,i.transition),i.shapeFlag|=512,s.delete(p),s.add(p)):(s.add(p),h&&s.size>parseInt(h,10)&&o(s.values().next().value)),i.shapeFlag|=256,c=i,es(r.type)?r:i}}};function eY(e,t){return(0,m.isArray)(e)?e.some(function(e){return eY(e,t)}):(0,m.isString)(e)?e.split(",").includes(t):!!(0,m.isRegExp)(e)&&e.test(t)}function eH(e,t){eW(e,"a",t)}function eq(e,t){eW(e,"da",t)}function eW(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:nY,r=e.__wdc||(e.__wdc=function(){for(var t=n;t;){if(t.isDeactivated)return;t=t.parent}return e()});if(eG(t,r,n),n)for(var i=n.parent;i&&i.parent;)eU(i.parent.vnode)&&function(e,t,n,r){var i=eG(t,e,r,!0);e2(function(){(0,m.remove)(r[t],i)},n)}(r,t,n,i),i=i.parent}function eK(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function eX(e){return 128&e.shapeFlag?e.ssContent:e}function eG(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:nY,r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(n){var i=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=function(){for(var r=arguments.length,i=Array(r),o=0;o1&&void 0!==arguments[1]?arguments[1]:nY;return(!nG||"sp"===e)&&eG(e,function(){for(var e=arguments.length,n=Array(e),r=0;r1&&void 0!==arguments[1]?arguments[1]:nY;eG("ec",e,t)}var e8="components";function e7(e,t){return tn(e8,e,!0,t)||e}var e9=Symbol.for("v-ndc");function te(e){return(0,m.isString)(e)?tn(e8,e,!1)||e:e||e9}function tt(e){return tn("directives",e)}function tn(e,t){arguments.length>2&&void 0!==arguments[2]&&arguments[2];var n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],r=J||nY;if(r){var i=r.type;if(e===e8){var o=n3(i,!1);if(o&&(o===t||o===(0,m.camelize)(t)||o===(0,m.capitalize)((0,m.camelize)(t))))return i}var a=// check instance[type] first which is resolved for options API
tr(r[e]||i[e],t)||// global registration
tr(r.appContext[e],t);return!a&&n?i:a}}function tr(e,t){return e&&(e[t]||e[(0,m.camelize)(t)]||e[(0,m.capitalize)((0,m.camelize)(t))])}function ti(e,t,n,r){var i,o=n&&n[r];if((0,m.isArray)(e)||(0,m.isString)(e)){i=Array(e.length);for(var a=0,l=e.length;a2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3?arguments[3]:void 0,i=arguments.length>4?arguments[4]:void 0;if(J.isCE||J.parent&&eL(J.parent)&&J.parent.isCE)return"default"!==t&&(n.name=t),nT("slot",n,r&&r());var o=e[t];o&&o._c&&(o._d=!1),np();var a=o&&function e(t){return t.some(function(t){return!nx(t)||!!(t.type!==nd&&(t.type!==ns||e(t.children)))})?t:null}(o(n)),l=nw(ns,{key:n.key||// slot content array of a dynamic conditional slot may have a branch
// key attached in the `createSlots` helper, respect that
@@ -49,8 +49,8 @@ methods:tM,computed:tM,// lifecycle
beforeCreate:tP,created:tP,beforeMount:tP,mounted:tP,beforeUpdate:tP,updated:tP,beforeDestroy:tP,beforeUnmount:tP,destroyed:tP,unmounted:tP,activated:tP,deactivated:tP,errorCaptured:tP,serverPrefetch:tP,// assets
components:tM,directives:tM,// watch
watch:function(e,t){if(!e)return t;if(!t)return e;var n=(0,m.extend)(/* @__PURE__ */Object.create(null),e);for(var r in t)n[r]=tP(e[r],t[r]);return n},// provide / inject
-provide:tI,inject:function(e,t){return tM(tB(e),tB(t))}};function tI(e,t){return t?e?function(){return(0,m.extend)((0,m.isFunction)(e)?e.call(this,this):e,(0,m.isFunction)(t)?t.call(this,this):t)}:t:e}function tB(e){if((0,m.isArray)(e)){for(var t={},n=0;n2&&void 0!==arguments[2]&&arguments[2],r=nY||J;if(r||tU){var i=r?null==r.parent?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:tU._context.provides;if(i&&e in i)return i[e];if(arguments.length>1)return n&&(0,m.isFunction)(t)?t.call(r&&r.proxy):t}}function tH(){return!!(nY||J||tU)}function tq(e,t,n,r){var i,o=(0,h._)(e.propsOptions,2),a=o[0],l=o[1],u=!1;if(t){for(var s in t)if(!(0,m.isReservedProp)(s)){var c=t[s],d=void 0;a&&(0,m.hasOwn)(a,d=(0,m.camelize)(s))?l&&l.includes(d)?(i||(i={}))[d]=c:n[d]=c:$(e.emitsOptions,s)||s in r&&c===r[s]||(r[s]=c,u=!0)}}if(l)for(var f=(0,g.toRaw)(n),p=i||m.EMPTY_OBJ,y=0;y4&&void 0!==arguments[4]&&arguments[4];if((0,m.isArray)(e)){e.forEach(function(e,o){return t2(e,t&&((0,m.isArray)(t)?t[o]:t),n,r,i)});return}if(!eL(r)||i){var o=4&r.shapeFlag?n2(r.component)||r.component.proxy:r.el,a=i?null:o,l=e.i,u=e.r,s=t&&t.r,c=l.refs===m.EMPTY_OBJ?l.refs={}:l.refs,d=l.setupState;if(null!=s&&s!==u&&((0,m.isString)(s)?(c[s]=null,(0,m.hasOwn)(d,s)&&(d[s]=null)):(0,g.isRef)(s)&&(s.value=null)),(0,m.isFunction)(u))b(u,l,12,[a,c]);else{var f=(0,m.isString)(u),h=(0,g.isRef)(u);if(f||h){var p=function(){if(e.f){var t=f?(0,m.hasOwn)(d,u)?d[u]:c[u]:u.value;i?(0,m.isArray)(t)&&(0,m.remove)(t,o):(0,m.isArray)(t)?t.includes(o)||t.push(o):f?(c[u]=[o],(0,m.hasOwn)(d,u)&&(d[u]=c[u])):(u.value=[o],e.k&&(c[e.k]=u.value))}else f?(c[u]=a,(0,m.hasOwn)(d,u)&&(d[u]=a)):h&&(u.value=a,e.k&&(c[e.k]=a))};a?(p.id=-1,t8(p,n)):p()}}}}var t3=!1,t5=function(e){return/svg/.test(e.namespaceURI)&&"foreignObject"!==e.tagName},t4=function(e){return 8/* COMMENT */===e.nodeType};function t6(e){var t=e.mt,n=e.p,r=e.o,i=r.patchProp,o=r.createText,a=r.nextSibling,l=r.parentNode,u=r.remove,s=r.insert,c=r.createComment,d=function(n,r,i,u,c){var m=arguments.length>5&&void 0!==arguments[5]&&arguments[5],_=t4(n)&&"["===n.data,b=function(){return g(n,r,i,u,c,_)},w=r.type,x=r.ref,k=r.shapeFlag,S=r.patchFlag,C=n.nodeType;r.el=n,-2===S&&(m=!1,r.dynamicChildren=null);var E=null;switch(w){case nc:3/* TEXT */!==C?""===r.children?(s(r.el=o(""),l(n),n),E=n):E=b():(n.data!==r.children&&(t3=!0,n.data=r.children),E=a(n));break;case nd:E=8/* COMMENT */!==C||_?b():a(n);break;case nf:if(_&&(C=(n=a(n)).nodeType),1/* ELEMENT */===C||3/* TEXT */===C){E=n;for(var V=!r.children.length,N=0;N3&&void 0!==arguments[3]?arguments[3]:null,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:null,a=arguments.length>6&&void 0!==arguments[6]&&arguments[6],l=arguments.length>7&&void 0!==arguments[7]?arguments[7]:null,u=arguments.length>8&&void 0!==arguments[8]?arguments[8]:!!t.dynamicChildren;if(e!==t){e&&!nk(e,t)&&(r=eh(e),ea(e,i,o,!0),e=null),-2===t.patchFlag&&(u=!1,t.dynamicChildren=null);var s=t.type,c=t.ref,d=t.shapeFlag;switch(s){case nc:N(e,t,n,r);break;case nd:T(e,t,n,r);break;case nf:null==e&&A(t,n,r,a);break;case ns:X(e,t,n,r,i,o,a,l,u);break;default:1&d?I(e,t,n,r,i,o,a,l,u):6&d?G(e,t,n,r,i,o,a,l,u):64&d?s.process(e,t,n,r,i,o,a,l,u,ep):128&d&&s.process(e,t,n,r,i,o,a,l,u,ep)}null!=c&&i&&t2(c,e&&e.ref,o,t||e,!t)}},N=function(e,t,n,r){if(null==e)l(t.el=d(t.children),n,r);else{var i=t.el=e.el;t.children!==e.children&&y(i,t.children)}},T=function(e,t,n,r){null==e?l(t.el=f(t.children||""),n,r):t.el=e.el},A=function(e,t,n,r){var i;i=(0,h._)(S(e.children,t,n,r,e.el,e.anchor),2),e.el=i[0],e.anchor=i[1]},D=function(e,t,n){for(var r,i=e.el,o=e.anchor;i&&i!==o;)r=w(i),l(i,t,n),i=r;l(o,t,n)},R=function(e){for(var t,n=e.el,r=e.anchor;n&&n!==r;)t=w(n),u(n),n=t;u(r)},I=function(e,t,n,r,i,o,a,l,u){a=a||"svg"===t.type,null==e?B(t,n,r,i,o,a,l,u):F(e,t,i,o,a,l,u)},B=function(e,t,n,r,i,o,a,u){var d,f,h=e.type,p=e.props,g=e.shapeFlag,y=e.transition,b=e.dirs;if(d=e.el=c(e.type,o,p&&p.is,p),8&g?_(d,e.children):16&g&&j(e.children,d,null,r,i,o&&"foreignObject"!==h,a,u),b&&eE(e,null,r,"created"),L(d,e,e.scopeId,a,r),p){for(var w in p)"value"===w||(0,m.isReservedProp)(w)||s(d,w,null,p[w],o,e.children,r,i,ef);"value"in p&&s(d,"value",null,p.value),(f=p.onVnodeBeforeMount)&&nj(f,r,e)}__VUE_PROD_DEVTOOLS__&&(Object.defineProperty(d,"__vnode",{value:e,enumerable:!1}),Object.defineProperty(d,"__vueParentComponent",{value:r,enumerable:!1})),b&&eE(e,null,r,"beforeMount");var x=(!i||i&&!i.pendingBranch)&&y&&!y.persisted;x&&y.beforeEnter(d),l(d,t,n),((f=p&&p.onVnodeMounted)||x||b)&&t8(function(){f&&nj(f,r,e),x&&y.enter(d),b&&eE(e,null,r,"mounted")},i)},L=function(e,t,n,r,i){if(n&&k(e,n),r)for(var o=0;o8&&void 0!==arguments[8]?arguments[8]:0,s=u;s0){if(16&c)W(u,t,h,p,n,r,i);else if(2&c&&h.class!==p.class&&s(u,"class",null,p.class,i),4&c&&s(u,"style",h.style,p.style,i),8&c)for(var y=t.dynamicProps,b=0;b2&&void 0!==arguments[2]&&arguments[2],r=nY||J;if(r||tU){var i=r?null==r.parent?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:tU._context.provides;if(i&&e in i)return i[e];if(arguments.length>1)return n&&(0,m.isFunction)(t)?t.call(r&&r.proxy):t}}function tH(){return!!(nY||J||tU)}function tq(e,t,n,r){var i,o=(0,h._)(e.propsOptions,2),a=o[0],l=o[1],u=!1;if(t){for(var s in t)if(!(0,m.isReservedProp)(s)){var c=t[s],d=void 0;a&&(0,m.hasOwn)(a,d=(0,m.camelize)(s))?l&&l.includes(d)?(i||(i={}))[d]=c:n[d]=c:$(e.emitsOptions,s)||s in r&&c===r[s]||(r[s]=c,u=!0)}}if(l)for(var f=(0,g.toRaw)(n),p=i||m.EMPTY_OBJ,y=0;y4&&void 0!==arguments[4]&&arguments[4];if((0,m.isArray)(e)){e.forEach(function(e,o){return t2(e,t&&((0,m.isArray)(t)?t[o]:t),n,r,i)});return}if(!eL(r)||i){var o=4&r.shapeFlag?n2(r.component)||r.component.proxy:r.el,a=i?null:o,l=e.i,u=e.r,s=t&&t.r,c=l.refs===m.EMPTY_OBJ?l.refs={}:l.refs,d=l.setupState;if(null!=s&&s!==u&&((0,m.isString)(s)?(c[s]=null,(0,m.hasOwn)(d,s)&&(d[s]=null)):(0,g.isRef)(s)&&(s.value=null)),(0,m.isFunction)(u))b(u,l,12,[a,c]);else{var f=(0,m.isString)(u),h=(0,g.isRef)(u);if(f||h){var p=function(){if(e.f){var t=f?(0,m.hasOwn)(d,u)?d[u]:c[u]:u.value;i?(0,m.isArray)(t)&&(0,m.remove)(t,o):(0,m.isArray)(t)?t.includes(o)||t.push(o):f?(c[u]=[o],(0,m.hasOwn)(d,u)&&(d[u]=c[u])):(u.value=[o],e.k&&(c[e.k]=u.value))}else f?(c[u]=a,(0,m.hasOwn)(d,u)&&(d[u]=a)):h&&(u.value=a,e.k&&(c[e.k]=a))};a?(p.id=-1,t8(p,n)):p()}}}}var t3=!1,t4=function(e){return/svg/.test(e.namespaceURI)&&"foreignObject"!==e.tagName},t5=function(e){return 8/* COMMENT */===e.nodeType};function t6(e){var t=e.mt,n=e.p,r=e.o,i=r.patchProp,o=r.createText,a=r.nextSibling,l=r.parentNode,u=r.remove,s=r.insert,c=r.createComment,d=function(n,r,i,u,c){var m=arguments.length>5&&void 0!==arguments[5]&&arguments[5],_=t5(n)&&"["===n.data,b=function(){return g(n,r,i,u,c,_)},w=r.type,x=r.ref,k=r.shapeFlag,S=r.patchFlag,C=n.nodeType;r.el=n,-2===S&&(m=!1,r.dynamicChildren=null);var E=null;switch(w){case nc:3/* TEXT */!==C?""===r.children?(s(r.el=o(""),l(n),n),E=n):E=b():(n.data!==r.children&&(t3=!0,n.data=r.children),E=a(n));break;case nd:E=8/* COMMENT */!==C||_?b():a(n);break;case nf:if(_&&(C=(n=a(n)).nodeType),1/* ELEMENT */===C||3/* TEXT */===C){E=n;for(var V=!r.children.length,N=0;N3&&void 0!==arguments[3]?arguments[3]:null,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:null,a=arguments.length>6&&void 0!==arguments[6]&&arguments[6],l=arguments.length>7&&void 0!==arguments[7]?arguments[7]:null,u=arguments.length>8&&void 0!==arguments[8]?arguments[8]:!!t.dynamicChildren;if(e!==t){e&&!nk(e,t)&&(r=eh(e),ea(e,i,o,!0),e=null),-2===t.patchFlag&&(u=!1,t.dynamicChildren=null);var s=t.type,c=t.ref,d=t.shapeFlag;switch(s){case nc:N(e,t,n,r);break;case nd:T(e,t,n,r);break;case nf:null==e&&A(t,n,r,a);break;case ns:X(e,t,n,r,i,o,a,l,u);break;default:1&d?I(e,t,n,r,i,o,a,l,u):6&d?G(e,t,n,r,i,o,a,l,u):64&d?s.process(e,t,n,r,i,o,a,l,u,ep):128&d&&s.process(e,t,n,r,i,o,a,l,u,ep)}null!=c&&i&&t2(c,e&&e.ref,o,t||e,!t)}},N=function(e,t,n,r){if(null==e)l(t.el=d(t.children),n,r);else{var i=t.el=e.el;t.children!==e.children&&y(i,t.children)}},T=function(e,t,n,r){null==e?l(t.el=f(t.children||""),n,r):t.el=e.el},A=function(e,t,n,r){var i;i=(0,h._)(S(e.children,t,n,r,e.el,e.anchor),2),e.el=i[0],e.anchor=i[1]},D=function(e,t,n){for(var r,i=e.el,o=e.anchor;i&&i!==o;)r=w(i),l(i,t,n),i=r;l(o,t,n)},R=function(e){for(var t,n=e.el,r=e.anchor;n&&n!==r;)t=w(n),u(n),n=t;u(r)},I=function(e,t,n,r,i,o,a,l,u){a=a||"svg"===t.type,null==e?B(t,n,r,i,o,a,l,u):F(e,t,i,o,a,l,u)},B=function(e,t,n,r,i,o,a,u){var d,f,h=e.type,p=e.props,g=e.shapeFlag,y=e.transition,b=e.dirs;if(d=e.el=c(e.type,o,p&&p.is,p),8&g?_(d,e.children):16&g&&j(e.children,d,null,r,i,o&&"foreignObject"!==h,a,u),b&&eE(e,null,r,"created"),L(d,e,e.scopeId,a,r),p){for(var w in p)"value"===w||(0,m.isReservedProp)(w)||s(d,w,null,p[w],o,e.children,r,i,ef);"value"in p&&s(d,"value",null,p.value),(f=p.onVnodeBeforeMount)&&nj(f,r,e)}__VUE_PROD_DEVTOOLS__&&(Object.defineProperty(d,"__vnode",{value:e,enumerable:!1}),Object.defineProperty(d,"__vueParentComponent",{value:r,enumerable:!1})),b&&eE(e,null,r,"beforeMount");var x=(!i||i&&!i.pendingBranch)&&y&&!y.persisted;x&&y.beforeEnter(d),l(d,t,n),((f=p&&p.onVnodeMounted)||x||b)&&t8(function(){f&&nj(f,r,e),x&&y.enter(d),b&&eE(e,null,r,"mounted")},i)},L=function(e,t,n,r,i){if(n&&k(e,n),r)for(var o=0;o8&&void 0!==arguments[8]?arguments[8]:0,s=u;s0){if(16&c)W(u,t,h,p,n,r,i);else if(2&c&&h.class!==p.class&&s(u,"class",null,p.class,i),4&c&&s(u,"style",h.style,p.style,i),8&c)for(var y=t.dynamicProps,b=0;b1?u.forEach(function(t){return t(e)}):u[0](e)};var nW=function(e){l(e),e.scope.on()},nK=function(){nY&&nY.scope.off(),l(null)};function nX(e){return 4&e.vnode.shapeFlag}var nG=!1;function n$(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];nG=t;var n=e.vnode,r=n.props,i=n.children,o=nX(e);(function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i={},o={};for(var a in(0,m.def)(o,nC,1),e.propsDefaults=/* @__PURE__ */Object.create(null),tq(e,t,i,o),e.propsOptions[0])a in i||(i[a]=void 0);n?e.props=r?i:(0,g.shallowReactive)(i):e.type.props?e.props=i:e.props=o,e.attrs=o})(e,r,o,t),t0(e,i);var a=o?function(e,t){var n=e.type;e.accessCache=/* @__PURE__ */Object.create(null),e.proxy=(0,g.markRaw)(new Proxy(e.ctx,td));var r=n.setup;if(r){var i=e.setupContext=r.length>1?n1(e):null;nW(e),(0,g.pauseTracking)();var o=b(r,e,0,[e.props,i]);if((0,g.resetTracking)(),nK(),(0,m.isPromise)(o)){if(o.then(nK,nK),t)return o.then(function(n){nJ(e,n,t)}).catch(function(t){x(t,e,0)});e.asyncDep=o}else nJ(e,o,t)}else n0(e,t)}(e,t):void 0;return nG=!1,a}function nJ(e,t,n){(0,m.isFunction)(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:(0,m.isObject)(t)&&(__VUE_PROD_DEVTOOLS__&&(e.devtoolsRawSetupState=t),e.setupState=(0,g.proxyRefs)(t)),n0(e,n)}function nZ(e){s=e,c=function(e){e.render._rc&&(e.withProxy=new Proxy(e.ctx,tf))}}var nQ=function(){return!s};function n0(e,t,n){var r=e.type;if(!e.render){if(!t&&s&&!r.render){var i=r.template||tD(e).template;if(i){var o=e.appContext.config,a=o.isCustomElement,l=o.compilerOptions,u=r.delimiters,d=r.compilerOptions,f=(0,m.extend)((0,m.extend)({isCustomElement:a,delimiters:u},l),d);r.render=s(i,f)}}e.render=r.render||m.NOOP,c&&c(e)}__VUE_OPTIONS_API__&&(nW(e),(0,g.pauseTracking)(),function(e){var t=function(e,t){(0,m.isArray)(t)?t.forEach(function(t){return e(t.bind(r))}):t&&e(t.bind(r))},n=tD(e),r=e.proxy,i=e.ctx;tT=!1,n.beforeCreate&&tA(n.beforeCreate,e,"bc");var o=n.data,a=n.computed,l=n.methods,u=n.watch,s=n.provide,c=n.inject,d=n.created,f=n.beforeMount,h=n.mounted,p=n.beforeUpdate,y=n.updated,_=n.activated,b=n.deactivated,w=(n.beforeDestroy,n.beforeUnmount),x=(n.destroyed,n.unmounted),k=n.render,S=n.renderTracked,C=n.renderTriggered,E=n.errorCaptured,V=n.serverPrefetch,N=n.expose,T=n.inheritAttrs,A=n.components,D=n.directives;if(n.filters,c&&function(e,t){for(var n in arguments.length>2&&void 0!==arguments[2]?arguments[2]:m.NOOP,(0,m.isArray)(e)&&(e=tB(e)),e)!function(n){var r=e[n],i=void 0;i=(0,m.isObject)(r)?"default"in r?tY(r.from||n,r.default,!0):tY(r.from||n):tY(r),(0,g.isRef)(i)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:function(){return i.value},set:function(e){return i.value=e}}):t[n]=i}(n)}(c,i,null),l)for(var R in l){var O=l[R];(0,m.isFunction)(O)&&(i[R]=O.bind(r))}if(o){var I=o.call(r,r);(0,m.isObject)(I)&&(e.data=(0,g.reactive)(I))}if(tT=!0,a)for(var B in a)!function(e){var t=a[e],n=n5({get:(0,m.isFunction)(t)?t.bind(r,r):(0,m.isFunction)(t.get)?t.get.bind(r,r):m.NOOP,set:!(0,m.isFunction)(t)&&(0,m.isFunction)(t.set)?t.set.bind(r):m.NOOP});Object.defineProperty(i,e,{enumerable:!0,configurable:!0,get:function(){return n.value},set:function(e){return n.value=e}})}(B);if(u)for(var P in u)(function e(t,n,r,i){var o=i.includes(".")?ek(r,i):function(){return r[i]};if((0,m.isString)(t)){var a=n[t];(0,m.isFunction)(a)&&ew(o,a,void 0)}else if((0,m.isFunction)(t))ew(o,t.bind(r),void 0);else if((0,m.isObject)(t)){if((0,m.isArray)(t))t.forEach(function(t){return e(t,n,r,i)});else{var l=(0,m.isFunction)(t.handler)?t.handler.bind(r):n[t.handler];(0,m.isFunction)(l)&&ew(o,l,t)}}})(u[P],i,r,P);if(s){var M=(0,m.isFunction)(s)?s.call(r):s;Reflect.ownKeys(M).forEach(function(e){tz(e,M[e])})}if(d&&tA(d,e,"c"),t(eJ,f),t(eZ,h),t(eQ,p),t(e0,y),t(eH,_),t(eq,b),t(e6,E),t(e4,S),t(e5,C),t(e1,w),t(e2,x),t(e3,V),(0,m.isArray)(N)){if(N.length){var L=e.exposed||(e.exposed={});N.forEach(function(e){Object.defineProperty(L,e,{get:function(){return r[e]},set:function(t){return r[e]=t}})})}else e.exposed||(e.exposed={})}k&&e.render===m.NOOP&&(e.render=k),null!=T&&(e.inheritAttrs=T),A&&(e.components=A),D&&(e.directives=D)}(e),(0,g.resetTracking)(),nK())}function n1(e){return{get attrs(){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get:function(t,n){return(0,g.track)(e,"get","$attrs"),t[n]}}))},slots:e.slots,emit:e.emit,expose:function(t){e.exposed=t||{}}}}function n2(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy((0,g.proxyRefs)((0,g.markRaw)(e.exposed)),{get:function(t,n){return n in t?t[n]:n in ts?ts[n](e):void 0},has:function(e,t){return t in e||t in ts}}))}function n3(e){var t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];return(0,m.isFunction)(e)?e.displayName||e.name:e.name||t&&e.__name}var n5=function(e,t){return(0,g.computed)(e,t,nG)};function n4(e,t,n){var r=arguments.length;return 2!==r?(r>3?n=Array.prototype.slice.call(arguments,2):3===r&&nx(n)&&(n=[n]),nT(e,t,n)):!(0,m.isObject)(t)||(0,m.isArray)(t)?nT(e,null,t):nx(t)?nT(e,null,[t]):nT(e,t)}var n6=Symbol.for("v-scx"),n8=function(){return tY(n6)};function n7(){}function n9(e,t,n,r){var i=n[r];if(i&&re(i,e))return i;var o=t();return o.memo=e.slice(),n[r]=o}function re(e,t){var n=e.memo;if(n.length!=t.length)return!1;for(var r=0;r0&&nv&&nv.push(e),!0}var rt="3.3.4",rn={createComponentInstance:nz,setupComponent:n$,renderComponentRoot:ei,setCurrentRenderingInstance:Q,isVNode:nx,normalizeVNode:nB},rr=null,ri=null}),f.register("bNhjt",function(e,n){t(e.exports,"EffectScope",function(){return y}),t(e.exports,"effectScope",function(){return _}),t(e.exports,"getCurrentScope",function(){return w}),t(e.exports,"onScopeDispose",function(){return x}),t(e.exports,"ReactiveEffect",function(){return O}),t(e.exports,"effect",function(){return B}),t(e.exports,"stop",function(){return P}),t(e.exports,"pauseTracking",function(){return j}),t(e.exports,"resetTracking",function(){return F}),t(e.exports,"track",function(){return U}),t(e.exports,"trigger",function(){return Y}),t(e.exports,"toRaw",function(){return eY}),t(e.exports,"isRef",function(){return eG}),t(e.exports,"readonly",function(){return eP}),t(e.exports,"reactive",function(){return eI}),t(e.exports,"isReadonly",function(){return eF}),t(e.exports,"isShallow",function(){return eU}),t(e.exports,"shallowReactive",function(){return eB}),t(e.exports,"shallowReadonly",function(){return eM}),t(e.exports,"isReactive",function(){return ej}),t(e.exports,"isProxy",function(){return ez}),t(e.exports,"markRaw",function(){return eH}),t(e.exports,"ref",function(){return e$}),t(e.exports,"shallowRef",function(){return eJ}),t(e.exports,"triggerRef",function(){return e0}),t(e.exports,"unref",function(){return e1}),t(e.exports,"toValue",function(){return e2}),t(e.exports,"proxyRefs",function(){return e5}),t(e.exports,"customRef",function(){return e6}),t(e.exports,"toRefs",function(){return e8}),t(e.exports,"toRef",function(){return te}),t(e.exports,"computed",function(){return tr});var r,i,o,a,l,u,s,c=f("disEZ"),d=f("fJNo6"),h=f("h8xva"),p=f("6wEIk"),g=f("2Yjkq"),m=f("9Nw75"),y=/*#__PURE__*/function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];(0,c._)(this,e),this.detached=t,/**
+isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return o.ctx={_:o},o.root=t?t.root:o,o.emit=G.bind(null,o),e.ce&&e.ce(o),o}var nY=null,nH=function(){return nY||J},nq="__VUE_INSTANCE_SETTERS__";(u=(0,m.getGlobalThis)()[nq])||(u=(0,m.getGlobalThis)()[nq]=[]),u.push(function(e){return nY=e}),l=function(e){u.length>1?u.forEach(function(t){return t(e)}):u[0](e)};var nW=function(e){l(e),e.scope.on()},nK=function(){nY&&nY.scope.off(),l(null)};function nX(e){return 4&e.vnode.shapeFlag}var nG=!1;function n$(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];nG=t;var n=e.vnode,r=n.props,i=n.children,o=nX(e);(function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i={},o={};for(var a in(0,m.def)(o,nC,1),e.propsDefaults=/* @__PURE__ */Object.create(null),tq(e,t,i,o),e.propsOptions[0])a in i||(i[a]=void 0);n?e.props=r?i:(0,g.shallowReactive)(i):e.type.props?e.props=i:e.props=o,e.attrs=o})(e,r,o,t),t0(e,i);var a=o?function(e,t){var n=e.type;e.accessCache=/* @__PURE__ */Object.create(null),e.proxy=(0,g.markRaw)(new Proxy(e.ctx,td));var r=n.setup;if(r){var i=e.setupContext=r.length>1?n1(e):null;nW(e),(0,g.pauseTracking)();var o=b(r,e,0,[e.props,i]);if((0,g.resetTracking)(),nK(),(0,m.isPromise)(o)){if(o.then(nK,nK),t)return o.then(function(n){nJ(e,n,t)}).catch(function(t){x(t,e,0)});e.asyncDep=o}else nJ(e,o,t)}else n0(e,t)}(e,t):void 0;return nG=!1,a}function nJ(e,t,n){(0,m.isFunction)(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:(0,m.isObject)(t)&&(__VUE_PROD_DEVTOOLS__&&(e.devtoolsRawSetupState=t),e.setupState=(0,g.proxyRefs)(t)),n0(e,n)}function nZ(e){s=e,c=function(e){e.render._rc&&(e.withProxy=new Proxy(e.ctx,tf))}}var nQ=function(){return!s};function n0(e,t,n){var r=e.type;if(!e.render){if(!t&&s&&!r.render){var i=r.template||tD(e).template;if(i){var o=e.appContext.config,a=o.isCustomElement,l=o.compilerOptions,u=r.delimiters,d=r.compilerOptions,f=(0,m.extend)((0,m.extend)({isCustomElement:a,delimiters:u},l),d);r.render=s(i,f)}}e.render=r.render||m.NOOP,c&&c(e)}__VUE_OPTIONS_API__&&(nW(e),(0,g.pauseTracking)(),function(e){var t=function(e,t){(0,m.isArray)(t)?t.forEach(function(t){return e(t.bind(r))}):t&&e(t.bind(r))},n=tD(e),r=e.proxy,i=e.ctx;tT=!1,n.beforeCreate&&tA(n.beforeCreate,e,"bc");var o=n.data,a=n.computed,l=n.methods,u=n.watch,s=n.provide,c=n.inject,d=n.created,f=n.beforeMount,h=n.mounted,p=n.beforeUpdate,y=n.updated,_=n.activated,b=n.deactivated,w=(n.beforeDestroy,n.beforeUnmount),x=(n.destroyed,n.unmounted),k=n.render,S=n.renderTracked,C=n.renderTriggered,E=n.errorCaptured,V=n.serverPrefetch,N=n.expose,T=n.inheritAttrs,A=n.components,D=n.directives;if(n.filters,c&&function(e,t){for(var n in arguments.length>2&&void 0!==arguments[2]?arguments[2]:m.NOOP,(0,m.isArray)(e)&&(e=tB(e)),e)!function(n){var r=e[n],i=void 0;i=(0,m.isObject)(r)?"default"in r?tY(r.from||n,r.default,!0):tY(r.from||n):tY(r),(0,g.isRef)(i)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:function(){return i.value},set:function(e){return i.value=e}}):t[n]=i}(n)}(c,i,null),l)for(var R in l){var O=l[R];(0,m.isFunction)(O)&&(i[R]=O.bind(r))}if(o){var I=o.call(r,r);(0,m.isObject)(I)&&(e.data=(0,g.reactive)(I))}if(tT=!0,a)for(var B in a)!function(e){var t=a[e],n=n4({get:(0,m.isFunction)(t)?t.bind(r,r):(0,m.isFunction)(t.get)?t.get.bind(r,r):m.NOOP,set:!(0,m.isFunction)(t)&&(0,m.isFunction)(t.set)?t.set.bind(r):m.NOOP});Object.defineProperty(i,e,{enumerable:!0,configurable:!0,get:function(){return n.value},set:function(e){return n.value=e}})}(B);if(u)for(var P in u)(function e(t,n,r,i){var o=i.includes(".")?ek(r,i):function(){return r[i]};if((0,m.isString)(t)){var a=n[t];(0,m.isFunction)(a)&&ew(o,a,void 0)}else if((0,m.isFunction)(t))ew(o,t.bind(r),void 0);else if((0,m.isObject)(t)){if((0,m.isArray)(t))t.forEach(function(t){return e(t,n,r,i)});else{var l=(0,m.isFunction)(t.handler)?t.handler.bind(r):n[t.handler];(0,m.isFunction)(l)&&ew(o,l,t)}}})(u[P],i,r,P);if(s){var M=(0,m.isFunction)(s)?s.call(r):s;Reflect.ownKeys(M).forEach(function(e){tz(e,M[e])})}if(d&&tA(d,e,"c"),t(eJ,f),t(eZ,h),t(eQ,p),t(e0,y),t(eH,_),t(eq,b),t(e6,E),t(e5,S),t(e4,C),t(e1,w),t(e2,x),t(e3,V),(0,m.isArray)(N)){if(N.length){var L=e.exposed||(e.exposed={});N.forEach(function(e){Object.defineProperty(L,e,{get:function(){return r[e]},set:function(t){return r[e]=t}})})}else e.exposed||(e.exposed={})}k&&e.render===m.NOOP&&(e.render=k),null!=T&&(e.inheritAttrs=T),A&&(e.components=A),D&&(e.directives=D)}(e),(0,g.resetTracking)(),nK())}function n1(e){return{get attrs(){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get:function(t,n){return(0,g.track)(e,"get","$attrs"),t[n]}}))},slots:e.slots,emit:e.emit,expose:function(t){e.exposed=t||{}}}}function n2(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy((0,g.proxyRefs)((0,g.markRaw)(e.exposed)),{get:function(t,n){return n in t?t[n]:n in ts?ts[n](e):void 0},has:function(e,t){return t in e||t in ts}}))}function n3(e){var t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];return(0,m.isFunction)(e)?e.displayName||e.name:e.name||t&&e.__name}var n4=function(e,t){return(0,g.computed)(e,t,nG)};function n5(e,t,n){var r=arguments.length;return 2!==r?(r>3?n=Array.prototype.slice.call(arguments,2):3===r&&nx(n)&&(n=[n]),nT(e,t,n)):!(0,m.isObject)(t)||(0,m.isArray)(t)?nT(e,null,t):nx(t)?nT(e,null,[t]):nT(e,t)}var n6=Symbol.for("v-scx"),n8=function(){return tY(n6)};function n7(){}function n9(e,t,n,r){var i=n[r];if(i&&re(i,e))return i;var o=t();return o.memo=e.slice(),n[r]=o}function re(e,t){var n=e.memo;if(n.length!=t.length)return!1;for(var r=0;r0&&nv&&nv.push(e),!0}var rt="3.3.4",rn={createComponentInstance:nz,setupComponent:n$,renderComponentRoot:ei,setCurrentRenderingInstance:Q,isVNode:nx,normalizeVNode:nB},rr=null,ri=null}),f.register("bNhjt",function(e,n){t(e.exports,"EffectScope",function(){return y}),t(e.exports,"effectScope",function(){return _}),t(e.exports,"getCurrentScope",function(){return w}),t(e.exports,"onScopeDispose",function(){return x}),t(e.exports,"ReactiveEffect",function(){return O}),t(e.exports,"effect",function(){return B}),t(e.exports,"stop",function(){return P}),t(e.exports,"pauseTracking",function(){return j}),t(e.exports,"resetTracking",function(){return F}),t(e.exports,"track",function(){return U}),t(e.exports,"trigger",function(){return Y}),t(e.exports,"toRaw",function(){return eY}),t(e.exports,"isRef",function(){return eG}),t(e.exports,"readonly",function(){return eP}),t(e.exports,"reactive",function(){return eI}),t(e.exports,"isReadonly",function(){return eF}),t(e.exports,"isShallow",function(){return eU}),t(e.exports,"shallowReactive",function(){return eB}),t(e.exports,"shallowReadonly",function(){return eM}),t(e.exports,"isReactive",function(){return ej}),t(e.exports,"isProxy",function(){return ez}),t(e.exports,"markRaw",function(){return eH}),t(e.exports,"ref",function(){return e$}),t(e.exports,"shallowRef",function(){return eJ}),t(e.exports,"triggerRef",function(){return e0}),t(e.exports,"unref",function(){return e1}),t(e.exports,"toValue",function(){return e2}),t(e.exports,"proxyRefs",function(){return e4}),t(e.exports,"customRef",function(){return e6}),t(e.exports,"toRefs",function(){return e8}),t(e.exports,"toRef",function(){return te}),t(e.exports,"computed",function(){return tr});var r,i,o,a,l,u,s,c=f("disEZ"),d=f("fJNo6"),h=f("h8xva"),p=f("6wEIk"),g=f("2Yjkq"),m=f("9Nw75"),y=/*#__PURE__*/function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];(0,c._)(this,e),this.detached=t,/**
* @internal
*/this._active=!0,/**
* @internal
@@ -117,7 +117,7 @@ isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:nu
* This should only be called on non-detached scopes
* @internal
*/key:"off",value:function(){u=this.parent}},{key:"stop",value:function(e){if(this._active){var t,n;for(t=0,n=this.effects.length;t1&&void 0!==arguments[1]?arguments[1]:u;t&&t.active&&t.effects.push(e)}function w(){return u}function x(e){u&&u.cleanups.push(e)}var k=function(e){var t=new Set(e);return t.w=0,t.n=0,t},S=function(e){return(e.w&A)>0},C=function(e){return(e.n&A)>0},E=function(e){var t=e.deps;if(t.length)for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2?arguments[2]:void 0;(0,c._)(this,e),this.fn=t,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,b(this,r)}return(0,d._)(e,[{key:"run",value:function(){if(!this.active)return this.fn();for(var e=s,t=M;e;){if(e===this)return;e=e.parent}try{return this.parent=s,s=this,M=!0,A=1<<++T,T<=30?E(this):I(this),this.fn()}finally{T<=30&&V(this),A=1<<--T,s=this.parent,M=t,this.parent=void 0,this.deferStop&&this.stop()}}},{key:"stop",value:function(){s===this?this.deferStop=!0:this.active&&(I(this),this.onStop&&this.onStop(),this.active=!1)}}]),e}();function I(e){var t=e.deps;if(t.length){for(var n=0;n=u)&&l.push(e)})}else switch(void 0!==n&&l.push(a.get(n)),t){case"add":(0,m.isArray)(e)?(0,m.isIntegerKey)(n)&&l.push(a.get("length")):(l.push(a.get(D)),(0,m.isMap)(e)&&l.push(a.get(R)));break;case"delete":!(0,m.isArray)(e)&&(l.push(a.get(D)),(0,m.isMap)(e)&&l.push(a.get(R)));break;case"set":(0,m.isMap)(e)&&l.push(a.get(D))}if(1===l.length)l[0]&&H(l[0]);else{var s=[],c=!0,d=!1,f=void 0;try{for(var h,p=l[Symbol.iterator]();!(c=(h=p.next()).done);c=!0){var y=h.value;y&&s.push.apply(s,(0,g._)(y))}}catch(e){d=!0,f=e}finally{try{c||null==p.return||p.return()}finally{if(d)throw f}}H(k(s))}}}function H(e,t){var n=(0,m.isArray)(e)?e:(0,g._)(e),r=!0,i=!1,o=void 0;try{for(var a,l=n[Symbol.iterator]();!(r=(a=l.next()).done);r=!0){var u=a.value;u.computed&&q(u,t)}}catch(e){i=!0,o=e}finally{try{r||null==l.return||l.return()}finally{if(i)throw o}}var s=!0,c=!1,d=void 0;try{for(var f,h=n[Symbol.iterator]();!(s=(f=h.next()).done);s=!0){var p=f.value;p.computed||q(p,t)}}catch(e){c=!0,d=e}finally{try{s||null==h.return||h.return()}finally{if(c)throw d}}}function q(e,t){(e!==s||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}var W=/* @__PURE__ */(0,m.makeMap)("__proto__,__v_isRef,__isVue"),K=new Set(/* @__PURE__ */Object.getOwnPropertyNames(Symbol).filter(function(e){return"arguments"!==e&&"caller"!==e}).map(function(e){return Symbol[e]}).filter(m.isSymbol)),X=/* @__PURE__ */ee(),G=/* @__PURE__ */ee(!1,!0),$=/* @__PURE__ */ee(!0),J=/* @__PURE__ */ee(!0,!0),Z=(r={},["includes","indexOf","lastIndexOf"].forEach(function(e){r[e]=function(){for(var t=arguments.length,n=Array(t),r=0;r0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(n,r,i){if("__v_isReactive"===r)return!e;if("__v_isReadonly"===r)return e;if("__v_isShallow"===r)return t;if("__v_raw"===r&&i===(e?t?eO:eR:t?eD:eA).get(n))return n;var o=(0,m.isArray)(n);if(!e){if(o&&(0,m.hasOwn)(Z,r))return Reflect.get(Z,r,i);if("hasOwnProperty"===r)return Q}var a=Reflect.get(n,r,i);return((0,m.isSymbol)(r)?K.has(r):W(r))?a:(e||U(n,"get",r),t)?a:eG(a)?o&&(0,m.isIntegerKey)(r)?a:a.value:(0,m.isObject)(a)?e?eP(a):eI(a):a}}var et=/* @__PURE__ */er(),en=/* @__PURE__ */er(!0);function er(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return function(t,n,r,i){var o=t[n];if(eF(o)&&eG(o)&&!eG(r))return!1;if(!e&&(eU(r)||eF(r)||(o=eY(o),r=eY(r)),!(0,m.isArray)(t)&&eG(o)&&!eG(r)))return o.value=r,!0;var a=(0,m.isArray)(t)&&(0,m.isIntegerKey)(n)?Number(n)2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=eY(e=e.__v_raw),o=eY(t);n||(t!==o&&U(i,"get",t),U(i,"get",o));var a=es(i).has,l=r?eu:n?eW:eq;return a.call(i,t)?l(e.get(t)):a.call(i,o)?l(e.get(o)):void(e!==i&&e.get(t))}function ed(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.__v_raw,r=eY(n),i=eY(e);return t||(e!==i&&U(r,"has",e),U(r,"has",i)),e===i?n.has(e):n.has(e)||n.has(i)}function ef(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e=e.__v_raw,t||U(eY(e),"iterate",D),Reflect.get(e,"size",e)}function eh(e){e=eY(e);var t=eY(this);return es(t).has.call(t,e)||(t.add(e),Y(t,"add",e,e)),this}function ev(e,t){t=eY(t);var n=eY(this),r=es(n),i=r.has,o=r.get,a=i.call(n,e);a||(e=eY(e),a=i.call(n,e));var l=o.call(n,e);return n.set(e,t),a?(0,m.hasChanged)(t,l)&&Y(n,"set",e,t,l):Y(n,"add",e,t),this}function ep(e){var t=eY(this),n=es(t),r=n.has,i=n.get,o=r.call(t,e);o||(e=eY(e),o=r.call(t,e));var a=i?i.call(t,e):void 0,l=t.delete(e);return o&&Y(t,"delete",e,void 0,a),l}function eg(){var e=eY(this),t=0!==e.size,n=e.clear();return t&&Y(e,"clear",void 0,void 0,void 0),n}function em(e,t){return function(n,r){var i=this,o=i.__v_raw,a=eY(o),l=t?eu:e?eW:eq;return e||U(a,"iterate",D),o.forEach(function(e,t){return n.call(r,l(e),l(t),i)})}}function ey(e,t,n){return function(){for(var r=arguments.length,i=Array(r),o=0;o1?tt(e,t,n):e$(e)}function tt(e,t,n){var r=e[t];return eG(r)?r:new e7(e,t,n)}var tn=/*#__PURE__*/function(){function e(t,n,r,i){var o=this;(0,c._)(this,e),this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new O(t,function(){o._dirty||(o._dirty=!0,eX(o))}),this.effect.computed=this,this.effect.active=this._cacheable=!i,this.__v_isReadonly=r}return(0,d._)(e,[{key:"value",get:function(){var e=eY(this);return eK(e),(e._dirty||!e._cacheable)&&(e._dirty=!1,e._value=e.effect.run()),e._value},set:function(e){this._setter(e)}}]),e}();function tr(e,t){var n,r,i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=(0,m.isFunction)(e);return o?(n=e,r=m.NOOP):(n=e.get,r=e.set),new tn(n,r,o||!r,i)}}),f.register("9Nw75",function(e,n){t(e.exports,"makeMap",function(){return d}),t(e.exports,"EMPTY_OBJ",function(){return h}),t(e.exports,"EMPTY_ARR",function(){return p}),t(e.exports,"NOOP",function(){return g}),t(e.exports,"NO",function(){return m}),t(e.exports,"isOn",function(){return _}),t(e.exports,"isModelListener",function(){return b}),t(e.exports,"extend",function(){return w}),t(e.exports,"remove",function(){return x}),t(e.exports,"hasOwn",function(){return S}),t(e.exports,"isArray",function(){return C}),t(e.exports,"isMap",function(){return E}),t(e.exports,"isSet",function(){return V}),t(e.exports,"isRegExp",function(){return T}),t(e.exports,"isFunction",function(){return A}),t(e.exports,"isString",function(){return D}),t(e.exports,"isSymbol",function(){return R}),t(e.exports,"isObject",function(){return O}),t(e.exports,"isPromise",function(){return I}),t(e.exports,"toRawType",function(){return M}),t(e.exports,"isPlainObject",function(){return L}),t(e.exports,"isIntegerKey",function(){return j}),t(e.exports,"isReservedProp",function(){return F}),t(e.exports,"isBuiltInDirective",function(){return U}),t(e.exports,"camelize",function(){return H}),t(e.exports,"hyphenate",function(){return W}),t(e.exports,"capitalize",function(){return K}),t(e.exports,"toHandlerKey",function(){return X}),t(e.exports,"hasChanged",function(){return G}),t(e.exports,"invokeArrayFns",function(){return $}),t(e.exports,"def",function(){return J}),t(e.exports,"looseToNumber",function(){return Z}),t(e.exports,"toNumber",function(){return Q}),t(e.exports,"getGlobalThis",function(){return ee}),t(e.exports,"isGloballyWhitelisted",function(){return et}),t(e.exports,"normalizeStyle",function(){return en}),t(e.exports,"normalizeClass",function(){return ea}),t(e.exports,"normalizeProps",function(){return el}),t(e.exports,"isHTMLTag",function(){return eu}),t(e.exports,"isSVGTag",function(){return es}),t(e.exports,"isSpecialBooleanAttr",function(){return ec}),t(e.exports,"includeBooleanAttr",function(){return ed}),t(e.exports,"looseEqual",function(){return ef}),t(e.exports,"looseIndexOf",function(){return eh}),t(e.exports,"toDisplayString",function(){return ev});var r,i,o,a=f("h8xva"),u=f("6wEIk"),s=f("2Yjkq"),c=f("jZ8XT");function d(e,t){for(var n=/* @__PURE__ */Object.create(null),r=e.split(","),i=0;i-1&&e.splice(n,1)},k=Object.prototype.hasOwnProperty,S=function(e,t){return k.call(e,t)},C=Array.isArray,E=function(e){return"[object Map]"===P(e)},V=function(e){return"[object Set]"===P(e)},N=function(e){return"[object Date]"===P(e)},T=function(e){return"[object RegExp]"===P(e)},A=function(e){return"function"==typeof e},D=function(e){return"string"==typeof e},R=function(e){return(void 0===e?"undefined":(0,c._)(e))==="symbol"},O=function(e){return null!==e&&"object"==typeof e},I=function(e){return O(e)&&A(e.then)&&A(e.catch)},B=Object.prototype.toString,P=function(e){return B.call(e)},M=function(e){return P(e).slice(8,-1)},L=function(e){return"[object Object]"===P(e)},j=function(e){return D(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e},F=/* @__PURE__ */d(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),U=/* @__PURE__ */d("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),z=function(e){var t=/* @__PURE__ */Object.create(null);return function(n){return t[n]||(t[n]=e(n))}},Y=/-(\w)/g,H=z(function(e){return e.replace(Y,function(e,t){return t?t.toUpperCase():""})}),q=/\B([A-Z])/g,W=z(function(e){return e.replace(q,"-$1").toLowerCase()}),K=z(function(e){return e.charAt(0).toUpperCase()+e.slice(1)}),X=z(function(e){return e?"on".concat(K(e)):""}),G=function(e,t){return!Object.is(e,t)},$=function(e,t){for(var n=0;n1&&(t[n[0].trim()]=n[1].trim())}}),t}(r):en(r);if(i)for(var o in i)t[o]=i[o]}return t}if(D(e)||O(e))return e}var er=/;(?![^(]*\))/g,ei=/:([^]+)/,eo=/\/\*[^]*?\*\//g;function ea(e){var t="";if(D(e))t=e;else if(C(e))for(var n=0;n")]=i,e},{})):V(t)?(0,a._)({},"Set(".concat(t.size,")"),(0,s._)(t.values())):!O(t)||C(t)||L(t)?t:String(t)}}),f.register("aayhd",function(e,n){u(e.exports),t(e.exports,"default",function(){return l});var r=f("xJRWs"),i=f("3XT9C"),o=f("d6xbH"),a=f("9BzA6"),l={data:function(){var e=this,t=new o.Database;return t.setObservable("*",function(t){e.classrooms=t}),{database:t,classrooms:[],peerID:(0,a.getPeerID)()}},methods:{deleteClass:function(e){this.database.drop(e)},forkClass:function(e){console.log(e=(0,a.clone)(e));var t=(0,a.infoHash)();e.data.createdBy=(0,a.getPeerID)(),e.id=t,this.database.put({id:t,data:e.data,timestamp:Date.now()}),window.location.search="?/classroom/".concat(t)},createClass:function(){return(0,r._)(function(){var e,t;return(0,i.__generator)(this,function(n){return t={id:e=(0,a.infoHash)(),createdBy:(0,a.getPeerID)(),dateCreated:new Date().getTime(),name:"My New Class",meta:{logo:"",description:"",selfAssign:!1,defaultNumberOfRooms:0},members:{teacher:[],student:[]},modules:[{url:"https://edrys-org.github.io/module-reference/",config:"",studentConfig:"",teacherConfig:"",stationConfig:"",width:"full",height:"tall"}]},this.database.put({id:e,data:t,timestamp:Date.now()}),window.location.search="?/classroom/".concat(e),[2]})}).apply(this)}}}}),f.register("xJRWs",function(e,n){function r(e,t,n,r,i,o,a){try{var l=e[o](a),u=l.value}catch(e){n(e);return}l.done?t(u):Promise.resolve(u).then(r,i)}function i(e){return function(){var t=this,n=arguments;return new Promise(function(i,o){var a=e.apply(t,n);function l(e){r(a,i,o,l,u,"next",e)}function u(e){r(a,i,o,l,u,"throw",e)}l(void 0)})}}t(e.exports,"_",function(){return i})}),f.register("3XT9C",function(e,n){function r(e,t){var n,r,i,o,a=function(e){return function(t){return l([e,t])}},l=function(a){if(n)throw TypeError("Generator is already executing.");for(;o&&(o=0,a[0]&&(u=0)),u;)try{if(n=1,r&&(i=2&a[0]?r.return:a[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,a[1])).done)return i;switch(r=0,i&&(a=[2&a[0],i.value]),a[0]){case 0:case 1:i=a;break;case 4:return u.label++,{value:a[1],done:!1};case 5:u.label++,r=a[1],a=[0];continue;case 7:a=u.ops.pop(),u.trys.pop();continue;default:if(!(i=(i=u.trys).length>0&&i[i.length-1])&&(6===a[0]||2===a[0])){u=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}t(e.exports,"__generator",function(){return r}),t(e.exports,"__values",function(){return i}),f("jZ8XT"),"function"==typeof SuppressedError&&SuppressedError}),f.register("d6xbH",function(e,n){t(e.exports,"Database",function(){return u});var r=f("xJRWs"),i=f("disEZ"),o=f("fJNo6"),a=f("3XT9C"),l=f("3Zw54"),u=/*#__PURE__*/function(){function e(){(0,i._)(this,e),this.observables={},this.db=new l.Dexie("EdrysLite"),this.db.version(1).stores({data:"\n &id,\n timestamp,\n data"}),this.db.open().then(function(e){// Database opened successfully
+next:function(){var e=d.next(),t=e.value,n=e.done;return n?{value:t,done:n}:{value:s?[f(t[0]),f(t[1])]:f(t),done:n}}},Symbol.iterator,function(){return this})}}function e_(e){return function(){for(var t=arguments.length,n=Array(t),r=0;r1?tt(e,t,n):e$(e)}function tt(e,t,n){var r=e[t];return eG(r)?r:new e7(e,t,n)}var tn=/*#__PURE__*/function(){function e(t,n,r,i){var o=this;(0,c._)(this,e),this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new O(t,function(){o._dirty||(o._dirty=!0,eX(o))}),this.effect.computed=this,this.effect.active=this._cacheable=!i,this.__v_isReadonly=r}return(0,d._)(e,[{key:"value",get:function(){var e=eY(this);return eK(e),(e._dirty||!e._cacheable)&&(e._dirty=!1,e._value=e.effect.run()),e._value},set:function(e){this._setter(e)}}]),e}();function tr(e,t){var n,r,i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=(0,m.isFunction)(e);return o?(n=e,r=m.NOOP):(n=e.get,r=e.set),new tn(n,r,o||!r,i)}}),f.register("9Nw75",function(e,n){t(e.exports,"makeMap",function(){return d}),t(e.exports,"EMPTY_OBJ",function(){return h}),t(e.exports,"EMPTY_ARR",function(){return p}),t(e.exports,"NOOP",function(){return g}),t(e.exports,"NO",function(){return m}),t(e.exports,"isOn",function(){return _}),t(e.exports,"isModelListener",function(){return b}),t(e.exports,"extend",function(){return w}),t(e.exports,"remove",function(){return x}),t(e.exports,"hasOwn",function(){return S}),t(e.exports,"isArray",function(){return C}),t(e.exports,"isMap",function(){return E}),t(e.exports,"isSet",function(){return V}),t(e.exports,"isRegExp",function(){return T}),t(e.exports,"isFunction",function(){return A}),t(e.exports,"isString",function(){return D}),t(e.exports,"isSymbol",function(){return R}),t(e.exports,"isObject",function(){return O}),t(e.exports,"isPromise",function(){return I}),t(e.exports,"toRawType",function(){return M}),t(e.exports,"isPlainObject",function(){return L}),t(e.exports,"isIntegerKey",function(){return j}),t(e.exports,"isReservedProp",function(){return F}),t(e.exports,"isBuiltInDirective",function(){return U}),t(e.exports,"camelize",function(){return H}),t(e.exports,"hyphenate",function(){return W}),t(e.exports,"capitalize",function(){return K}),t(e.exports,"toHandlerKey",function(){return X}),t(e.exports,"hasChanged",function(){return G}),t(e.exports,"invokeArrayFns",function(){return $}),t(e.exports,"def",function(){return J}),t(e.exports,"looseToNumber",function(){return Z}),t(e.exports,"toNumber",function(){return Q}),t(e.exports,"getGlobalThis",function(){return ee}),t(e.exports,"isGloballyWhitelisted",function(){return et}),t(e.exports,"normalizeStyle",function(){return en}),t(e.exports,"normalizeClass",function(){return ea}),t(e.exports,"normalizeProps",function(){return el}),t(e.exports,"isHTMLTag",function(){return eu}),t(e.exports,"isSVGTag",function(){return es}),t(e.exports,"isSpecialBooleanAttr",function(){return ec}),t(e.exports,"includeBooleanAttr",function(){return ed}),t(e.exports,"looseEqual",function(){return ef}),t(e.exports,"looseIndexOf",function(){return eh}),t(e.exports,"toDisplayString",function(){return ev});var r,i,o,a=f("h8xva"),u=f("6wEIk"),s=f("2Yjkq"),c=f("jZ8XT");function d(e,t){for(var n=/* @__PURE__ */Object.create(null),r=e.split(","),i=0;i-1&&e.splice(n,1)},k=Object.prototype.hasOwnProperty,S=function(e,t){return k.call(e,t)},C=Array.isArray,E=function(e){return"[object Map]"===P(e)},V=function(e){return"[object Set]"===P(e)},N=function(e){return"[object Date]"===P(e)},T=function(e){return"[object RegExp]"===P(e)},A=function(e){return"function"==typeof e},D=function(e){return"string"==typeof e},R=function(e){return(void 0===e?"undefined":(0,c._)(e))==="symbol"},O=function(e){return null!==e&&"object"==typeof e},I=function(e){return O(e)&&A(e.then)&&A(e.catch)},B=Object.prototype.toString,P=function(e){return B.call(e)},M=function(e){return P(e).slice(8,-1)},L=function(e){return"[object Object]"===P(e)},j=function(e){return D(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e},F=/* @__PURE__ */d(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),U=/* @__PURE__ */d("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),z=function(e){var t=/* @__PURE__ */Object.create(null);return function(n){return t[n]||(t[n]=e(n))}},Y=/-(\w)/g,H=z(function(e){return e.replace(Y,function(e,t){return t?t.toUpperCase():""})}),q=/\B([A-Z])/g,W=z(function(e){return e.replace(q,"-$1").toLowerCase()}),K=z(function(e){return e.charAt(0).toUpperCase()+e.slice(1)}),X=z(function(e){return e?"on".concat(K(e)):""}),G=function(e,t){return!Object.is(e,t)},$=function(e,t){for(var n=0;n1&&(t[n[0].trim()]=n[1].trim())}}),t}(r):en(r);if(i)for(var o in i)t[o]=i[o]}return t}if(D(e)||O(e))return e}var er=/;(?![^(]*\))/g,ei=/:([^]+)/,eo=/\/\*[^]*?\*\//g;function ea(e){var t="";if(D(e))t=e;else if(C(e))for(var n=0;n")]=i,e},{})):V(t)?(0,a._)({},"Set(".concat(t.size,")"),(0,s._)(t.values())):!O(t)||C(t)||L(t)?t:String(t)}}),f.register("aayhd",function(e,n){u(e.exports),t(e.exports,"default",function(){return l});var r=f("xJRWs"),i=f("3XT9C"),o=f("d6xbH"),a=f("9BzA6"),l={data:function(){var e=this,t=new o.Database;return t.setObservable("*",function(t){e.classrooms=t}),{database:t,classrooms:[],peerID:(0,a.getPeerID)()}},methods:{deleteClass:function(e){this.database.drop(e)},forkClass:function(e){console.log(e=(0,a.clone)(e));var t=(0,a.infoHash)();e.data.createdBy=(0,a.getPeerID)(),e.id=t,this.database.put({id:t,data:e.data,timestamp:Date.now()}),window.location.search="?/classroom/".concat(t)},createClass:function(){return(0,r._)(function(){var e,t;return(0,i.__generator)(this,function(n){return t={id:e=(0,a.infoHash)(),createdBy:(0,a.getPeerID)(),dateCreated:new Date().getTime(),name:"My New Class",meta:{logo:"",description:"",selfAssign:!1,defaultNumberOfRooms:0},members:{teacher:[],student:[]},modules:[{url:"https://edrys-org.github.io/module-reference/",config:"",studentConfig:"",teacherConfig:"",stationConfig:"",width:"full",height:"tall"}]},this.database.put({id:e,data:t,timestamp:Date.now()}),window.location.search="?/classroom/".concat(e),[2]})}).apply(this)}}}}),f.register("xJRWs",function(e,n){function r(e,t,n,r,i,o,a){try{var l=e[o](a),u=l.value}catch(e){n(e);return}l.done?t(u):Promise.resolve(u).then(r,i)}function i(e){return function(){var t=this,n=arguments;return new Promise(function(i,o){var a=e.apply(t,n);function l(e){r(a,i,o,l,u,"next",e)}function u(e){r(a,i,o,l,u,"throw",e)}l(void 0)})}}t(e.exports,"_",function(){return i})}),f.register("3XT9C",function(e,n){function r(e,t){var n,r,i,o,a=function(e){return function(t){return l([e,t])}},l=function(a){if(n)throw TypeError("Generator is already executing.");for(;o&&(o=0,a[0]&&(u=0)),u;)try{if(n=1,r&&(i=2&a[0]?r.return:a[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,a[1])).done)return i;switch(r=0,i&&(a=[2&a[0],i.value]),a[0]){case 0:case 1:i=a;break;case 4:return u.label++,{value:a[1],done:!1};case 5:u.label++,r=a[1],a=[0];continue;case 7:a=u.ops.pop(),u.trys.pop();continue;default:if(!(i=(i=u.trys).length>0&&i[i.length-1])&&(6===a[0]||2===a[0])){u=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}t(e.exports,"__generator",function(){return r}),t(e.exports,"__values",function(){return i}),f("jZ8XT"),"function"==typeof SuppressedError&&SuppressedError}),f.register("d6xbH",function(e,n){t(e.exports,"Database",function(){return u});var r=f("xJRWs"),i=f("disEZ"),o=f("fJNo6"),a=f("3XT9C"),l=f("3Zw54"),u=/*#__PURE__*/function(){function e(){(0,i._)(this,e),this.observables={},this.db=new l.Dexie("EdrysLite"),this.db.version(1).stores({data:"\n &id,\n timestamp,\n data"}),this.db.open().then(function(e){// Database opened successfully
console.log("Database opened successfully")}).catch(function(e){console.warn("Database error: "+e.message)})}return(0,o._)(e,[{key:"getAll",value:function(){return this.db.data.orderBy("timestamp").desc().toArray()}},{key:"exists",value:function(e){var t=this;return(0,r._)(function(){return(0,a.__generator)(this,function(n){switch(n.label){case 0:return[4,t.get(e)];case 1:return[2,!!n.sent()]}})})()}},{key:"get",value:function(e){var t=this;return(0,r._)(function(){return(0,a.__generator)(this,function(n){switch(n.label){case 0:return[4,t.db.data.get(e)];case 1:return[2,n.sent()]}})})()}},{key:"put",value:function(e){return this.db.data.put(e)}},{key:"update",value:function(e){return e.timestamp=Date.now(),this.put(e)}},{key:"drop",value:function(e){this.db.data.delete(e)}},{key:"setObservable",value:function(e,t){this.observables[e]&&(this.observables[e].unsubscribe(),delete this.observables[e]);var n=this.db.data,r="*"===e?(0,l.liveQuery)(function(){return n.orderBy("timestamp").desc().toArray()}):(0,l.liveQuery)(function(){return n.where("id").equals(e).first()});this.observables[e]=r.subscribe({next:function(e){return t(e)},error:function(e){return console.warn(e)}})}},{key:"deleteObservable",value:function(e){this.observables[e]&&(this.observables[e].unsubscribe(),delete this.observables[e])}}]),e}()}),f.register("3Zw54",function(e,n){t(e.exports,"Dexie",function(){return nD}),t(e.exports,"liveQuery",function(){return nB});/*
* Dexie.js - a minimalistic wrapper for IndexedDB
* ===============================================
@@ -140,7 +140,7 @@ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
-***************************************************************************** */var r,i,o,a,u,s,c,d,h=f("jZ8XT"),p=function(){return(p=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=0)n=t;else{var o=w(t);for(var a in n=o===Object.prototype?{}:Object.create(o),Y&&Y.set(t,n),t)k(t,a)&&(n[a]=e(t[a]))}return n}(e);return Y=null,t}var q={}.toString;function W(e){return q.call(e).slice(8,-1)}var K="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator",X=(void 0===K?"undefined":(0,h._)(K))==="symbol"?function(e){var t;return null!=e&&(t=e[K])&&t.apply(e)}:function(){return null},G={};function $(e){var t,n,r,i;if(1==arguments.length){if(_(e))return e.slice();if(this===G&&"string"==typeof e)return[e];if(i=X(e)){for(n=[];!(r=i.next()).done;)n.push(r.value);return n}if(null==e)return[e];if("number"==typeof(t=e.length)){for(n=Array(t);t--;)n[t]=e[t];return n}return[e]}for(t=arguments.length,n=Array(t);t--;)n[t]=arguments[t];return n}var J="undefined"!=typeof Symbol?function(e){return"AsyncFunction"===e[Symbol.toStringTag]}:function(){return!1},Z="undefined"!=typeof location&&/^(http|https):\/\/(localhost|127\.0\.0\.1)/.test(location.href),Q=function(){return!0},ee=!Error("").stack;function et(){if(ee)try{throw et.arguments,Error()}catch(e){return e}return Error()}function en(e,t){var n=e.stack;return n?(t=t||0,0===n.indexOf(e.name)&&(t+=(e.name+e.message).split("\n").length),n.split("\n").slice(t).filter(Q).map(function(e){return"\n"+e}).join("")):""}var er=["Unknown","Constraint","Data","TransactionInactive","ReadOnly","Version","NotFound","InvalidState","InvalidAccess","Abort","Timeout","QuotaExceeded","Syntax","DataClone"],ei=["Modify","Bulk","OpenFailed","VersionChange","Schema","Upgrade","InvalidTable","MissingAPI","NoSuchDatabase","InvalidArgument","SubTransaction","Unsupported","Internal","DatabaseClosed","PrematureCommit","ForeignAwait"].concat(er),eo={VersionChanged:"Database version changed by other database connection",DatabaseClosed:"Database has been closed",Abort:"Transaction aborted",TransactionInactive:"Transaction has already completed or failed",MissingAPI:"IndexedDB API missing. Please visit https://tinyurl.com/y2uuvskb"};function ea(e,t){this._e=et(),this.name=e,this.message=t}function el(e,t){return e+". Errors: "+Object.keys(t).map(function(e){return t[e].toString()}).filter(function(e,t,n){return n.indexOf(e)===t}).join("\n")}function eu(e,t,n,r){this._e=et(),this.failures=t,this.failedKeys=r,this.successCount=n,this.message=el(e,t)}function es(e,t){this._e=et(),this.name="BulkError",this.failures=Object.keys(t).map(function(e){return t[e]}),this.failuresByPos=t,this.message=el(e,t)}V(ea).from(Error).extend({stack:{get:function(){return this._stack||(this._stack=this.name+": "+this.message+en(this._e,2))}},toString:function(){return this.name+": "+this.message}}),V(eu).from(ea),V(es).from(ea);var ec=ei.reduce(function(e,t){return e[t]=t+"Error",e},{}),ed=ei.reduce(function(e,t){var n=function(e,n){this._e=et(),this.name=r,e?"string"==typeof e?(this.message=""+e+(n?"\n "+n:""),this.inner=n||null):"object"==typeof e&&(this.message=e.name+" "+e.message,this.inner=e):(this.message=eo[t]||r,this.inner=null)},r=t+"Error";return V(n).from(ea),e[t]=n,e},{});ed.Syntax=SyntaxError,ed.Type=TypeError,ed.Range=RangeError;var ef=er.reduce(function(e,t){return e[t+"Error"]=ed[t],e},{}),eh=ei.reduce(function(e,t){return -1===["Syntax","Type","Range"].indexOf(t)&&(e[t+"Error"]=ed[t]),e},{});function ev(){}function ep(e){return e}function eg(e,t){return null==e||e===ep?t:function(n){return t(e(n))}}function em(e,t){return function(){e.apply(this,arguments),t.apply(this,arguments)}}function ey(e,t){return e===ev?t:function(){var n=e.apply(this,arguments);void 0!==n&&(arguments[0]=n);var r=this.onsuccess,i=this.onerror;this.onsuccess=null,this.onerror=null;var o=t.apply(this,arguments);return r&&(this.onsuccess=this.onsuccess?em(r,this.onsuccess):r),i&&(this.onerror=this.onerror?em(i,this.onerror):i),void 0!==o?o:n}}function e_(e,t){return e===ev?t:function(){e.apply(this,arguments);var n=this.onsuccess,r=this.onerror;this.onsuccess=this.onerror=null,t.apply(this,arguments),n&&(this.onsuccess=this.onsuccess?em(n,this.onsuccess):n),r&&(this.onerror=this.onerror?em(r,this.onerror):r)}}function eb(e,t){return e===ev?t:function(n){var r=e.apply(this,arguments);b(n,r);var i=this.onsuccess,o=this.onerror;this.onsuccess=null,this.onerror=null;var a=t.apply(this,arguments);return i&&(this.onsuccess=this.onsuccess?em(i,this.onsuccess):i),o&&(this.onerror=this.onerror?em(o,this.onerror):o),void 0===r?void 0===a?void 0:a:b(r,a)}}function ew(e,t){return e===ev?t:function(){return!1!==t.apply(this,arguments)&&e.apply(this,arguments)}}function ex(e,t){return e===ev?t:function(){var n=e.apply(this,arguments);if(n&&"function"==typeof n.then){for(var r=this,i=arguments.length,o=Array(i);i--;)o[i]=arguments[i];return n.then(function(){return t.apply(r,o)})}return t.apply(this,arguments)}}eh.ModifyError=eu,eh.DexieError=ea,eh.BulkError=es;var ek={},eS="undefined"==typeof Promise?[]:function(){var e=Promise.resolve();if("undefined"==typeof crypto||!crypto.subtle)return[e,w(e),e];var t=crypto.subtle.digest("SHA-512",new Uint8Array([0]));return[t,w(t),e]}(),eC=eS[0],eE=eS[1],eV=eS[2],eN=eE&&eE.then,eT=eC&&eC.constructor,eA=!!eV,eD=!1,eR=eV?function(){eV.then(eQ)}:m.setImmediate?setImmediate.bind(null,eQ):m.MutationObserver?function(){var e=document.createElement("div");new MutationObserver(function(){eQ(),e=null}).observe(e,{attributes:!0}),e.setAttribute("i","1")}:function(){setTimeout(eQ,0)},eO=function(e,t){ez.push([e,t]),eB&&(eR(),eB=!1)},eI=!0,eB=!0,eP=[],eM=[],eL=null,ej=ep,eF={id:"global",global:!0,ref:0,unhandleds:[],onunhandled:th,pgp:!1,env:{},finalize:function(){this.unhandleds.forEach(function(e){try{th(e[0],e[1])}catch(e){}})}},eU=eF,ez=[],eY=0,eH=[];function eq(e){if("object"!=typeof this)throw TypeError("Promises must be constructed via new");this._listeners=[],this.onuncatched=ev,this._lib=!1;var t=this._PSD=eU;if(Z&&(this._stackHolder=et(),this._prev=null,this._numPrev=0),"function"!=typeof e){if(e!==ek)throw TypeError("Not a function");this._state=arguments[1],this._value=arguments[2],!1===this._state&&eX(this,this._value);return}this._state=null,this._value=null,++t.ref,function e(t,n){try{n(function(n){if(null===t._state){if(n===t)throw TypeError("A promise cannot be resolved with itself.");var r=t._lib&&e0();n&&"function"==typeof n.then?e(t,function(e,t){n instanceof eq?n._then(e,t):n.then(e,t)}):(t._state=!0,t._value=n,eG(t)),r&&e1()}},eX.bind(null,t))}catch(e){eX(t,e)}}(this,e)}var eW={get:function(){var e=function(e,r){var i=this,o=!t.global&&(t!==eU||n!==e9),a=o&&!tr(),l=new eq(function(n,l){e$(i,new eK(tc(e,t,o,a),tc(r,t,o,a),n,l,t))});return Z&&eZ(l,this),l},t=eU,n=e9;return e.prototype=ek,e},set:function(e){E(this,"then",e&&e.prototype===ek?eW:{get:function(){return e},set:eW.set})}};function eK(e,t,n,r,i){this.onFulfilled="function"==typeof e?e:null,this.onRejected="function"==typeof t?t:null,this.resolve=n,this.reject=r,this.psd=i}function eX(e,t){if(eM.push(t),null===e._state){var n=e._lib&&e0();t=ej(t),e._state=!1,e._value=t,Z&&null!==t&&"object"==typeof t&&!t._promise&&function(e,t,n){try{e.apply(null,void 0)}catch(e){t&&t(e)}}(function(){var n=T(t,"stack");t._promise=e,E(t,"stack",{get:function(){return eD?n&&(n.get?n.get.apply(t):n.value):e.stack}})}),eP.some(function(t){return t._value===e._value})||eP.push(e),eG(e),n&&e1()}}function eG(e){var t=e._listeners;e._listeners=[];for(var n=0,r=t.length;n0;)for(t=0,e=ez,ez=[],n=e.length;t0)eI=!0,eB=!0}function e2(){var e=eP;eP=[],e.forEach(function(e){e._PSD.onunhandled.call(null,e._value,e)});for(var t=eH.slice(0),n=t.length;n;)t[--n]()}function e3(e){return new eq(ek,!1,e)}function e5(e,t){var n=eU;return function(){var r=e0(),i=eU;try{return tl(n,!0),e.apply(this,arguments)}catch(e){t&&t(e)}finally{tl(i,!1),r&&e1()}}}S(eq.prototype,{then:eW,_then:function(e,t){e$(this,new eK(null,null,e,t,eU))},catch:function(e){if(1==arguments.length)return this.then(null,e);var t=arguments[0],n=arguments[1];return"function"==typeof t?this.then(null,function(e){return e instanceof t?n(e):e3(e)}):this.then(null,function(e){return e&&e.name===t?n(e):e3(e)})},finally:function(e){return this.then(function(t){return e(),t},function(t){return e(),e3(t)})},stack:{get:function(){if(this._stack)return this._stack;try{eD=!0;var e=(function e(t,n,r){if(n.length===r)return n;var i="";if(!1===t._state){var o,a,l=t._value;null!=l?(o=l.name||"Error",a=l.message||l,i=en(l,0)):(o=l,a=""),n.push(o+(a?": "+a:"")+i)}return Z&&((i=en(t._stackHolder,2))&&-1===n.indexOf(i)&&n.push(i),t._prev&&e(t._prev,n,r)),n})(this,[],20).join("\nFrom previous: ");return null!==this._state&&(this._stack=e),e}finally{eD=!1}}},timeout:function(e,t){var n=this;return e<1/0?new eq(function(r,i){var o=setTimeout(function(){return i(new ed.Timeout(t))},e);n.then(r,i).finally(clearTimeout.bind(null,o))}):this}}),"undefined"!=typeof Symbol&&Symbol.toStringTag&&E(eq.prototype,Symbol.toStringTag,"Dexie.Promise"),eF.env=tu(),S(eq,{all:function(){var e=$.apply(null,arguments).map(ti);return new eq(function(t,n){0===e.length&&t([]);var r=e.length;e.forEach(function(i,o){return eq.resolve(i).then(function(n){e[o]=n,--r||t(e)},n)})})},resolve:function(e){if(e instanceof eq)return e;if(e&&"function"==typeof e.then)return new eq(function(t,n){e.then(t,n)});var t=new eq(ek,!0,e);return eZ(t,eL),t},reject:e3,race:function(){var e=$.apply(null,arguments).map(ti);return new eq(function(t,n){e.map(function(e){return eq.resolve(e).then(t,n)})})},PSD:{get:function(){return eU},set:function(e){return eU=e}},totalEchoes:{get:function(){return e9}},newPSD:tt,usePSD:ts,scheduler:{get:function(){return eO},set:function(e){eO=e}},rejectionMapper:{get:function(){return ej},set:function(e){ej=e}},follow:function(e,t){return new eq(function(n,r){return tt(function(t,n){var r=eU;r.unhandleds=[],r.onunhandled=n,r.finalize=em(function(){var e,r=this;e=function(){0===r.unhandleds.length?t():n(r.unhandleds[0])},eH.push(function t(){e(),eH.splice(eH.indexOf(t),1)}),++eY,eO(function(){0==--eY&&e2()},[])},r.finalize),e()},t,n,r)})}}),eT&&(eT.allSettled&&E(eq,"allSettled",function(){var e=$.apply(null,arguments).map(ti);return new eq(function(t){0===e.length&&t([]);var n=e.length,r=Array(n);e.forEach(function(e,i){return eq.resolve(e).then(function(e){return r[i]={status:"fulfilled",value:e}},function(e){return r[i]={status:"rejected",reason:e}}).then(function(){return--n||t(r)})})})}),eT.any&&"undefined"!=typeof AggregateError&&E(eq,"any",function(){var e=$.apply(null,arguments).map(ti);return new eq(function(t,n){0===e.length&&n(AggregateError([]));var r=e.length,i=Array(r);e.forEach(function(e,o){return eq.resolve(e).then(function(e){return t(e)},function(e){i[o]=e,--r||n(AggregateError(i))})})})}));var e4={awaits:0,echoes:0,id:0},e6=0,e8=[],e7=0,e9=0,te=0;function tt(e,t,n,r){var i=eU,o=Object.create(i);o.parent=i,o.ref=0,o.global=!1,o.id=++te;var a=eF.env;o.env=eA?{Promise:eq,PromiseProp:{value:eq,configurable:!0,writable:!0},all:eq.all,race:eq.race,allSettled:eq.allSettled,any:eq.any,resolve:eq.resolve,reject:eq.reject,nthen:td(a.nthen,o),gthen:td(a.gthen,o)}:{},t&&b(o,t),++i.ref,o.finalize=function(){--this.parent.ref||this.parent.finalize()};var l=ts(o,e,n,r);return 0===o.ref&&o.finalize(),l}function tn(){return e4.id||(e4.id=++e6),++e4.awaits,e4.echoes+=100,e4.id}function tr(){return!!e4.awaits&&(0==--e4.awaits&&(e4.id=0),e4.echoes=100*e4.awaits,!0)}function ti(e){return e4.echoes&&e&&e.constructor===eT?(tn(),e.then(function(e){return tr(),e},function(e){return tr(),tv(e)})):e}function to(e){++e9,e4.echoes&&0!=--e4.echoes||(e4.echoes=e4.id=0),e8.push(eU),tl(e,!0)}function ta(){var e=e8[e8.length-1];e8.pop(),tl(e,!1)}function tl(e,t){var n,r=eU;if((t?!e4.echoes||e7++&&e===eU:!e7||--e7&&e===eU)||(n=t?to.bind(null,e):ta,eN.call(eC,n)),e!==eU&&(eU=e,r===eF&&(eF.env=tu()),eA)){var i=eF.env.Promise,o=e.env;eE.then=o.nthen,i.prototype.then=o.gthen,(r.global||e.global)&&(Object.defineProperty(m,"Promise",o.PromiseProp),i.all=o.all,i.race=o.race,i.resolve=o.resolve,i.reject=o.reject,o.allSettled&&(i.allSettled=o.allSettled),o.any&&(i.any=o.any))}}function tu(){var e=m.Promise;return eA?{Promise:e,PromiseProp:Object.getOwnPropertyDescriptor(m,"Promise"),all:e.all,race:e.race,allSettled:e.allSettled,any:e.any,resolve:e.resolve,reject:e.reject,nthen:eE.then,gthen:e.prototype.then}:{}}function ts(e,t,n,r,i){var o=eU;try{return tl(e,!0),t(n,r,i)}finally{tl(o,!1)}}function tc(e,t,n,r){return"function"!=typeof e?e:function(){var i,o=eU;n&&tn(),tl(t,!0);try{return e.apply(this,arguments)}finally{tl(o,!1),r&&(i=tr,eN.call(eC,i))}}}function td(e,t){return function(n,r){return e.call(this,tc(n,t),tc(r,t))}}-1===(""+eN).indexOf("[native code]")&&(tn=tr=ev);var tf="unhandledrejection";function th(e,t){var n;try{n=t.onuncatched(e)}catch(e){}if(!1!==n)try{var r,i={promise:t,reason:e};if(m.document&&document.createEvent?((r=document.createEvent("Event")).initEvent(tf,!0,!0),b(r,i)):m.CustomEvent&&(r=new CustomEvent(tf,{detail:i}),b(r,i)),r&&m.dispatchEvent&&(dispatchEvent(r),!m.PromiseRejectionEvent&&m.onunhandledrejection))try{m.onunhandledrejection(r)}catch(e){}Z&&r&&!r.defaultPrevented&&console.warn("Unhandled rejection: "+(e.stack||e))}catch(e){}}var tv=eq.reject,tp="3.2.4",tg=String.fromCharCode(65535),tm=-1/0,ty="Invalid key provided. Keys must be of type string, number, Date or Array.",t_="String expected.",tb=[],tw="undefined"!=typeof navigator&&/(MSIE|Trident|Edge)/.test(navigator.userAgent),tx=function(e){return!/(dexie\.js|dexie\.min\.js)/.test(e)},tk="__dbnames",tS="readonly",tC="readwrite";function tE(e,t){return e?t?function(){return e.apply(this,arguments)&&t.apply(this,arguments)}:e:t}var tV={type:3,lower:-1/0,lowerOpen:!1,upper:[[]],upperOpen:!1};function tN(e){return"string"!=typeof e||/\./.test(e)?function(e){return e}:function(t){return void 0===t[e]&&e in t&&(t=H(t),delete t[e]),t}}var tT=((r=function(){}).prototype._trans=function(e,t,n){var r=function(e,n,r){if(!r.schema[o])throw new ed.NotFound("Table "+o+" not part of transaction");return t(r.idbtrans,r)},i=this._tx||eU.trans,o=this.name,a=e0();try{return i&&i.db===this.db?i===eU.trans?i._promise(e,r,n):tt(function(){return i._promise(e,r,n)},{trans:i,transless:eU.transless||eU}):function e(t,n,r,i){if(t.idbdb&&(t._state.openComplete||eU.letThrough||t._vip)){var o=t._createTransaction(n,r,t._dbSchema);try{o.create(),t._state.PR1398_maxLoop=3}catch(o){if(o.name===ec.InvalidState&&t.isOpen()&&--t._state.PR1398_maxLoop>0)return console.warn("Dexie: Need to reopen db"),t._close(),t.open().then(function(){return e(t,n,r,i)});return tv(o)}return o._promise(n,function(e,t){return tt(function(){return eU.trans=o,i(e,t,o)})}).then(function(e){return o._completion.then(function(){return e})})}if(t._state.openComplete)return tv(new ed.DatabaseClosed(t._state.dbOpenError));if(!t._state.isBeingOpened){if(!t._options.autoOpen)return tv(new ed.DatabaseClosed);t.open().catch(ev)}return t._state.dbReadyPromise.then(function(){return e(t,n,r,i)})}(this.db,e,[this.name],r)}finally{a&&e1()}},r.prototype.get=function(e,t){var n=this;return e&&e.constructor===Object?this.where(e).first(t):this._trans("readonly",function(t){return n.core.get({trans:t,key:e}).then(function(e){return n.hook.reading.fire(e)})}).then(t)},r.prototype.where=function(e){var t=function(e,t){try{return 0===o.cmp(e,t)}catch(e){return!1}};if("string"==typeof e)return new this.db.WhereClause(this,e);if(_(e))return new this.db.WhereClause(this,"["+e.join("+")+"]");var n=y(e);if(1===n.length)return this.where(n[0]).equals(e[n[0]]);var r=this.schema.indexes.concat(this.schema.primKey).filter(function(e){return e.compound&&n.every(function(t){return e.keyPath.indexOf(t)>=0})&&e.keyPath.every(function(e){return n.indexOf(e)>=0})})[0];if(r&&this.db._maxKey!==tg)return this.where(r.name).equals(r.keyPath.map(function(t){return e[t]}));!r&&Z&&console.warn("The query "+JSON.stringify(e)+" on "+this.name+" would benefit of a compound index ["+n.join("+")+"]");var i=this.schema.idxByName,o=this.db._deps.indexedDB,a=n.reduce(function(n,r){var o=n[0],a=n[1],l=i[r],u=e[r];return[o||l,o||!l?tE(a,l&&l.multi?function(e){var n=P(e,r);return _(n)&&n.some(function(e){return t(u,e)})}:function(e){return t(u,P(e,r))}):a]},[null,null]),l=a[0],u=a[1];return l?this.where(l.name).equals(e[l.keyPath]).filter(u):r?this.filter(u):this.where(n).equals("")},r.prototype.filter=function(e){return this.toCollection().and(e)},r.prototype.count=function(e){return this.toCollection().count(e)},r.prototype.offset=function(e){return this.toCollection().offset(e)},r.prototype.limit=function(e){return this.toCollection().limit(e)},r.prototype.each=function(e){return this.toCollection().each(e)},r.prototype.toArray=function(e){return this.toCollection().toArray(e)},r.prototype.toCollection=function(){return new this.db.Collection(new this.db.WhereClause(this))},r.prototype.orderBy=function(e){return new this.db.Collection(new this.db.WhereClause(this,_(e)?"["+e.join("+")+"]":e))},r.prototype.reverse=function(){return this.toCollection().reverse()},r.prototype.mapToClass=function(e){this.schema.mappedClass=e;var t=function(t){if(!t)return t;var n=Object.create(e.prototype);for(var r in t)if(k(t,r))try{n[r]=t[r]}catch(e){}return n};return this.schema.readHook&&this.hook.reading.unsubscribe(this.schema.readHook),this.schema.readHook=t,this.hook("reading",t),e},r.prototype.defineClass=function(){return this.mapToClass(function(e){b(this,e)})},r.prototype.add=function(e,t){var n=this,r=this.schema.primKey,i=r.auto,o=r.keyPath,a=e;return o&&i&&(a=tN(o)(e)),this._trans("readwrite",function(e){return n.core.mutate({trans:e,type:"add",keys:null!=t?[t]:null,values:[a]})}).then(function(e){return e.numFailures?eq.reject(e.failures[0]):e.lastResult}).then(function(t){if(o)try{M(e,o,t)}catch(e){}return t})},r.prototype.update=function(e,t){if("object"!=typeof e||_(e))return this.where(":id").equals(e).modify(t);var n=P(e,this.schema.primKey.keyPath);if(void 0===n)return tv(new ed.InvalidArgument("Given object does not contain its primary key"));try{"function"!=typeof t?y(t).forEach(function(n){M(e,n,t[n])}):t(e,{value:e,primKey:n})}catch(e){}return this.where(":id").equals(n).modify(t)},r.prototype.put=function(e,t){var n=this,r=this.schema.primKey,i=r.auto,o=r.keyPath,a=e;return o&&i&&(a=tN(o)(e)),this._trans("readwrite",function(e){return n.core.mutate({trans:e,type:"put",values:[a],keys:null!=t?[t]:null})}).then(function(e){return e.numFailures?eq.reject(e.failures[0]):e.lastResult}).then(function(t){if(o)try{M(e,o,t)}catch(e){}return t})},r.prototype.delete=function(e){var t=this;return this._trans("readwrite",function(n){return t.core.mutate({trans:n,type:"delete",keys:[e]})}).then(function(e){return e.numFailures?eq.reject(e.failures[0]):void 0})},r.prototype.clear=function(){var e=this;return this._trans("readwrite",function(t){return e.core.mutate({trans:t,type:"deleteRange",range:tV})}).then(function(e){return e.numFailures?eq.reject(e.failures[0]):void 0})},r.prototype.bulkGet=function(e){var t=this;return this._trans("readonly",function(n){return t.core.getMany({keys:e,trans:n}).then(function(e){return e.map(function(e){return t.hook.reading.fire(e)})})})},r.prototype.bulkAdd=function(e,t,n){var r=this,i=Array.isArray(t)?t:void 0,o=(n=n||(i?void 0:t))?n.allKeys:void 0;return this._trans("readwrite",function(t){var n=r.schema.primKey,a=n.auto,l=n.keyPath;if(l&&i)throw new ed.InvalidArgument("bulkAdd(): keys argument invalid on tables with inbound keys");if(i&&i.length!==e.length)throw new ed.InvalidArgument("Arguments objects and keys must have the same length");var u=e.length,s=l&&a?e.map(tN(l)):e;return r.core.mutate({trans:t,type:"add",keys:i,values:s,wantResults:o}).then(function(e){var t=e.numFailures,n=e.results,i=e.lastResult,a=e.failures;if(0===t)return o?n:i;throw new es(r.name+".bulkAdd(): "+t+" of "+u+" operations failed",a)})})},r.prototype.bulkPut=function(e,t,n){var r=this,i=Array.isArray(t)?t:void 0,o=(n=n||(i?void 0:t))?n.allKeys:void 0;return this._trans("readwrite",function(t){var n=r.schema.primKey,a=n.auto,l=n.keyPath;if(l&&i)throw new ed.InvalidArgument("bulkPut(): keys argument invalid on tables with inbound keys");if(i&&i.length!==e.length)throw new ed.InvalidArgument("Arguments objects and keys must have the same length");var u=e.length,s=l&&a?e.map(tN(l)):e;return r.core.mutate({trans:t,type:"put",keys:i,values:s,wantResults:o}).then(function(e){var t=e.numFailures,n=e.results,i=e.lastResult,a=e.failures;if(0===t)return o?n:i;throw new es(r.name+".bulkPut(): "+t+" of "+u+" operations failed",a)})})},r.prototype.bulkDelete=function(e){var t=this,n=e.length;return this._trans("readwrite",function(n){return t.core.mutate({trans:n,type:"delete",keys:e})}).then(function(e){var r=e.numFailures,i=e.lastResult,o=e.failures;if(0===r)return i;throw new es(t.name+".bulkDelete(): "+r+" of "+n+" operations failed",o)})},r);function tA(e){var t=function(e,t,o){if("object"==typeof e)return n(e);t||(t=ew),o||(o=ev);var a={subscribers:[],fire:o,subscribe:function(e){-1===a.subscribers.indexOf(e)&&(a.subscribers.push(e),a.fire=t(a.fire,e))},unsubscribe:function(e){a.subscribers=a.subscribers.filter(function(t){return t!==e}),a.fire=a.subscribers.reduce(t,o)}};return r[e]=i[e]=a,a},n=function(e){y(e).forEach(function(n){var r=e[n];if(_(r))t(n,e[n][0],e[n][1]);else if("asap"===r)var i=t(n,ep,function(){for(var e=arguments.length,t=Array(e);e--;)t[e]=arguments[e];i.subscribers.forEach(function(e){I(function(){e.apply(null,t)})})});else throw new ed.InvalidArgument("Invalid event config")})},r={},i=function(t,n){if(n){for(var i=arguments.length,o=Array(i-1);--i;)o[i-1]=arguments[i];return r[t].subscribe.apply(null,o),e}if("string"==typeof t)return r[t]};i.addEventType=t;for(var o=1,a=arguments.length;ot?1:er?l:0},r=e.split(".").reverse(),i=r[0],o=r.length-1;function a(e,t){return t?a(e[r[t]],t-1):e[i]}var l="next"===this._ctx.dir?1:-1;return this.toArray(function(e){return e.sort(n)}).then(t)},i.prototype.toArray=function(e){var t=this;return this._read(function(e){var n=t._ctx;if("next"===n.dir&&tR(n,!0)&&n.limit>0){var r=n.valueMapper,i=tB(n,n.table.core.schema);return n.table.core.query({trans:e,limit:n.limit,values:!0,query:{index:i,range:n.range}}).then(function(e){var t=e.result;return r?t.map(r):t})}var o=[];return tM(n,function(e){return o.push(e)},e,n.table.core).then(function(){return o})},e)},i.prototype.offset=function(e){var t=this._ctx;return e<=0||(t.offset+=e,tR(t)?tI(t,function(){var t=e;return function(e,n){return 0===t||(1===t?--t:n(function(){e.advance(t),t=0}),!1)}}):tI(t,function(){var t=e;return function(){return--t<0}})),this},i.prototype.limit=function(e){return this._ctx.limit=Math.min(this._ctx.limit,e),tI(this._ctx,function(){var t=e;return function(e,n,r){return--t<=0&&n(r),t>=0}},!0),this},i.prototype.until=function(e,t){return tO(this._ctx,function(n,r,i){return!e(n.value)||(r(i),t)}),this},i.prototype.first=function(e){return this.limit(1).toArray(function(e){return e[0]}).then(e)},i.prototype.last=function(e){return this.reverse().first(e)},i.prototype.filter=function(e){var t;return tO(this._ctx,function(t){return e(t.value)}),(t=this._ctx).isMatch=tE(t.isMatch,e),this},i.prototype.and=function(e){return this.filter(e)},i.prototype.or=function(e){return new this.db.WhereClause(this._ctx.table,e,this)},i.prototype.reverse=function(){return this._ctx.dir="prev"===this._ctx.dir?"next":"prev",this._ondirectionchange&&this._ondirectionchange(this._ctx.dir),this},i.prototype.desc=function(){return this.reverse()},i.prototype.eachKey=function(e){var t=this._ctx;return t.keysOnly=!t.isMatch,this.each(function(t,n){e(n.key,n)})},i.prototype.eachUniqueKey=function(e){return this._ctx.unique="unique",this.eachKey(e)},i.prototype.eachPrimaryKey=function(e){var t=this._ctx;return t.keysOnly=!t.isMatch,this.each(function(t,n){e(n.primaryKey,n)})},i.prototype.keys=function(e){var t=this._ctx;t.keysOnly=!t.isMatch;var n=[];return this.each(function(e,t){n.push(t.key)}).then(function(){return n}).then(e)},i.prototype.primaryKeys=function(e){var t=this._ctx;if("next"===t.dir&&tR(t,!0)&&t.limit>0)return this._read(function(e){var n=tB(t,t.table.core.schema);return t.table.core.query({trans:e,values:!1,limit:t.limit,query:{index:n,range:t.range}})}).then(function(e){return e.result}).then(e);t.keysOnly=!t.isMatch;var n=[];return this.each(function(e,t){n.push(t.primaryKey)}).then(function(){return n}).then(e)},i.prototype.uniqueKeys=function(e){return this._ctx.unique="unique",this.keys(e)},i.prototype.firstKey=function(e){return this.limit(1).keys(function(e){return e[0]}).then(e)},i.prototype.lastKey=function(e){return this.reverse().firstKey(e)},i.prototype.distinct=function(){var e=this._ctx,t=e.index&&e.table.schema.idxByName[e.index];if(!t||!t.multi)return this;var n={};return tO(this._ctx,function(e){var t=e.primaryKey.toString(),r=k(n,t);return n[t]=!0,!r}),this},i.prototype.modify=function(e){var t=this,n=this._ctx;return this._write(function(r){if("function"==typeof e)i=e;else{var i,o=y(e),a=o.length;i=function(t){for(var n=!1,r=0;r0&&l.mutate({trans:r,type:"add",values:h}).then(function(e){for(var t in e.failures)y.splice(parseInt(t),1);g(h.length,e)})).then(function(){return(p.length>0||x&&"object"==typeof e)&&l.mutate({trans:r,type:"put",keys:m,values:p,criteria:x,changeSpec:"function"!=typeof e&&e}).then(function(e){return g(p.length,e)})}).then(function(){return(y.length>0||x&&e===tY)&&l.mutate({trans:r,type:"delete",keys:y,criteria:x}).then(function(e){return g(y.length,e)})}).then(function(){return t.length>a+u&&o(a+d)})})};return o(0).then(function(){if(f.length>0)throw new eu("Error modifying one or more objects",f,h,p);return t.length})})})},i.prototype.delete=function(){var e=this._ctx,t=e.range;return tR(e)&&(e.isPrimKey&&!tw||3===t.type)?this._write(function(n){var r=e.table.core.schema.primaryKey;return e.table.core.count({trans:n,query:{index:r,range:t}}).then(function(r){return e.table.core.mutate({trans:n,type:"deleteRange",range:t}).then(function(e){var t=e.failures;e.lastResult,e.results;var n=e.numFailures;if(n)throw new eu("Could not delete some values",Object.keys(t).map(function(e){return t[e]}),r-n);return r-n})})}):this.modify(tY)},i),tY=function(e,t){return t.value=null};function tH(e,t){return et?-1:e===t?0:1}function tW(e,t,n){var r=e instanceof tJ?new e.Collection(e):e;return r._ctx.error=n?new n(t):TypeError(t),r}function tK(e){return new e.Collection(e,function(){return t$("")}).limit(0)}function tX(e,t,n,r){var i,o,a,l,u,s,c,d=function(e){i="next"===e?function(e){return e.toUpperCase()}:function(e){return e.toLowerCase()},o="next"===e?function(e){return e.toLowerCase()}:function(e){return e.toUpperCase()},a="next"===e?tH:tq;var t=n.map(function(e){return{lower:o(e),upper:i(e)}}).sort(function(e,t){return a(e.lower,t.lower)});l=t.map(function(e){return e.upper}),u=t.map(function(e){return e.lower}),s=e,c="next"===e?"":r},f=n.length;if(!n.every(function(e){return"string"==typeof e}))return tW(e,t_);d("next");var h=new e.Collection(e,function(){return tG(l[0],u[f-1]+r)});h._ondirectionchange=function(e){d(e)};var p=0;return h._addAlgorithm(function(e,n,r){var i=e.key;if("string"!=typeof i)return!1;var d=o(i);if(t(d,u,p))return!0;for(var h=null,g=p;gi(e[u],n[u]))return e.substr(0,u)+n[u]+n.substr(u+1);if(0>i(e[u],r[u]))return e.substr(0,u)+r[u]+n.substr(u+1);if(l>=0)return e.substr(0,l)+t[l]+n.substr(l+1);return null}0>i(e[u],s)&&(l=u)}return a0)&&(h=m)}return n(null!==h?function(){e.continue(h+c)}:r),!1}),h}function tG(e,t,n,r){return{type:2,lower:e,upper:t,lowerOpen:n,upperOpen:r}}function t$(e){return{type:1,lower:e,upper:e}}var tJ=(Object.defineProperty((o=function(){}).prototype,"Collection",{get:function(){return this._ctx.table.db.Collection},enumerable:!1,configurable:!0}),o.prototype.between=function(e,t,n,r){n=!1!==n,r=!0===r;try{if(this._cmp(e,t)>0||0===this._cmp(e,t)&&(n||r)&&!(n&&r))return tK(this);return new this.Collection(this,function(){return tG(e,t,!n,!r)})}catch(e){return tW(this,ty)}},o.prototype.equals=function(e){return null==e?tW(this,ty):new this.Collection(this,function(){return t$(e)})},o.prototype.above=function(e){return null==e?tW(this,ty):new this.Collection(this,function(){return tG(e,void 0,!0)})},o.prototype.aboveOrEqual=function(e){return null==e?tW(this,ty):new this.Collection(this,function(){return tG(e,void 0,!1)})},o.prototype.below=function(e){return null==e?tW(this,ty):new this.Collection(this,function(){return tG(void 0,e,!1,!0)})},o.prototype.belowOrEqual=function(e){return null==e?tW(this,ty):new this.Collection(this,function(){return tG(void 0,e)})},o.prototype.startsWith=function(e){return"string"!=typeof e?tW(this,t_):this.between(e,e+tg,!0,!0)},o.prototype.startsWithIgnoreCase=function(e){return""===e?this.startsWith(e):tX(this,function(e,t){return 0===e.indexOf(t[0])},[e],tg)},o.prototype.equalsIgnoreCase=function(e){return tX(this,function(e,t){return e===t[0]},[e],"")},o.prototype.anyOfIgnoreCase=function(){var e=$.apply(G,arguments);return 0===e.length?tK(this):tX(this,function(e,t){return -1!==t.indexOf(e)},e,"")},o.prototype.startsWithAnyOfIgnoreCase=function(){var e=$.apply(G,arguments);return 0===e.length?tK(this):tX(this,function(e,t){return t.some(function(t){return 0===e.indexOf(t)})},e,tg)},o.prototype.anyOf=function(){var e=this,t=$.apply(G,arguments),n=this._cmp;try{t.sort(n)}catch(e){return tW(this,ty)}if(0===t.length)return tK(this);var r=new this.Collection(this,function(){return tG(t[0],t[t.length-1])});r._ondirectionchange=function(r){n="next"===r?e._ascending:e._descending,t.sort(n)};var i=0;return r._addAlgorithm(function(e,r,o){for(var a=e.key;n(a,t[i])>0;)if(++i===t.length)return r(o),!1;return 0===n(a,t[i])||(r(function(){e.continue(t[i])}),!1)}),r},o.prototype.notEqual=function(e){return this.inAnyRange([[tm,e],[e,this.db._maxKey]],{includeLowers:!1,includeUppers:!1})},o.prototype.noneOf=function(){var e=$.apply(G,arguments);if(0===e.length)return new this.Collection(this);try{e.sort(this._ascending)}catch(e){return tW(this,ty)}var t=e.reduce(function(e,t){return e?e.concat([[e[e.length-1][1],t]]):[[tm,t]]},null);return t.push([e[e.length-1],this.db._maxKey]),this.inAnyRange(t,{includeLowers:!1,includeUppers:!1})},o.prototype.inAnyRange=function(e,t){var n,r=function(e,t){return f(e[0],t[0])},i=this,o=this._cmp,a=this._ascending,l=this._descending,u=this._min,s=this._max;if(0===e.length)return tK(this);if(!e.every(function(e){return void 0!==e[0]&&void 0!==e[1]&&0>=a(e[0],e[1])}))return tW(this,"First argument to inAnyRange() must be an Array of two-value Arrays [lower,upper] where upper must not be lower than lower",ed.InvalidArgument);var c=!t||!1!==t.includeLowers,d=t&&!0===t.includeUppers,f=a;try{(n=e.reduce(function(e,t){for(var n=0,r=e.length;no(t[0],i[1])&&o(t[1],i[0])>0){i[0]=u(i[0],t[0]),i[1]=s(i[1],t[1]);break}}return n===r&&e.push(t),e},[])).sort(r)}catch(e){return tW(this,ty)}var h=0,p=d?function(e){return a(e,n[h][1])>0}:function(e){return a(e,n[h][1])>=0},g=c?function(e){return l(e,n[h][0])>0}:function(e){return l(e,n[h][0])>=0},m=p,y=new this.Collection(this,function(){return tG(n[0][0],n[n.length-1][1],!c,!d)});return y._ondirectionchange=function(e){"next"===e?(m=p,f=a):(m=g,f=l),n.sort(r)},y._addAlgorithm(function(e,t,r){for(var o=e.key;m(o);)if(++h===n.length)return t(r),!1;return!(p(o)||g(o))||0!==i._cmp(o,n[h][1])&&0!==i._cmp(o,n[h][0])&&(t(function(){f===a?e.continue(n[h][0]):e.continue(n[h][1])}),!1)}),y},o.prototype.startsWithAnyOf=function(){var e=$.apply(G,arguments);return e.every(function(e){return"string"==typeof e})?0===e.length?tK(this):this.inAnyRange(e.map(function(e){return[e,e+tg]})):tW(this,"startsWithAnyOf() only works with strings")},o);function tZ(e){return e5(function(t){return tQ(t),e(t.target.error),!1})}function tQ(e){e.stopPropagation&&e.stopPropagation(),e.preventDefault&&e.preventDefault()}var t0="storagemutated",t1="x-storagemutated-1",t2=tA(null,t0),t3=((a=function(){}).prototype._lock=function(){return O(!eU.global),++this._reculock,1!==this._reculock||eU.global||(eU.lockOwnerFor=this),this},a.prototype._unlock=function(){if(O(!eU.global),0==--this._reculock)for(eU.global||(eU.lockOwnerFor=null);this._blockedFuncs.length>0&&!this._locked();){var e=this._blockedFuncs.shift();try{ts(e[1],e[0])}catch(e){}}return this},a.prototype._locked=function(){return this._reculock&&eU.lockOwnerFor!==this},a.prototype.create=function(e){var t=this;if(!this.mode)return this;var n=this.db.idbdb,r=this.db._state.dbOpenError;if(O(!this.idbtrans),!e&&!n)switch(r&&r.name){case"DatabaseClosedError":throw new ed.DatabaseClosed(r);case"MissingAPIError":throw new ed.MissingAPI(r.message,r);default:throw new ed.OpenFailed(r)}if(!this.active)throw new ed.TransactionInactive;return O(null===this._completion._state),(e=this.idbtrans=e||(this.db.core?this.db.core.transaction(this.storeNames,this.mode,{durability:this.chromeTransactionDurability}):n.transaction(this.storeNames,this.mode,{durability:this.chromeTransactionDurability}))).onerror=e5(function(n){tQ(n),t._reject(e.error)}),e.onabort=e5(function(n){tQ(n),t.active&&t._reject(new ed.Abort(e.error)),t.active=!1,t.on("abort").fire(n)}),e.oncomplete=e5(function(){t.active=!1,t._resolve(),"mutatedParts"in e&&t2.storagemutated.fire(e.mutatedParts)}),this},a.prototype._promise=function(e,t,n){var r=this;if("readwrite"===e&&"readwrite"!==this.mode)return tv(new ed.ReadOnly("Transaction is readonly"));if(!this.active)return tv(new ed.TransactionInactive);if(this._locked())return new eq(function(i,o){r._blockedFuncs.push([function(){r._promise(e,t,n).then(i,o)},eU])});if(n)return tt(function(){var e=new eq(function(e,n){r._lock();var i=t(e,n,r);i&&i.then&&i.then(e,n)});return e.finally(function(){return r._unlock()}),e._lib=!0,e});var i=new eq(function(e,n){var i=t(e,n,r);i&&i.then&&i.then(e,n)});return i._lib=!0,i},a.prototype._root=function(){return this.parent?this.parent._root():this},a.prototype.waitFor=function(e){var t=this._root(),n=eq.resolve(e);if(t._waitingFor)t._waitingFor=t._waitingFor.then(function(){return n});else{t._waitingFor=n,t._waitingQueue=[];var r=t.idbtrans.objectStore(t.storeNames[0]);!function e(){for(++t._spinCount;t._waitingQueue.length;)t._waitingQueue.shift()();t._waitingFor&&(r.get(-1/0).onsuccess=e)}()}var i=t._waitingFor;return new eq(function(e,r){n.then(function(n){return t._waitingQueue.push(e5(e.bind(null,n)))},function(e){return t._waitingQueue.push(e5(r.bind(null,e)))}).finally(function(){t._waitingFor===i&&(t._waitingFor=null)})})},a.prototype.abort=function(){this.active&&(this.active=!1,this.idbtrans&&this.idbtrans.abort(),this._reject(new ed.Abort))},a.prototype.table=function(e){var t=this._memoizedTables||(this._memoizedTables={});if(k(t,e))return t[e];var n=this.schema[e];if(!n)throw new ed.NotFound("Table "+e+" not part of transaction");var r=new this.db.Table(e,n,this);return r.core=this.db.core.table(e),t[e]=r,r},a);function t5(e,t,n,r,i,o,a){return{name:e,keyPath:t,unique:n,multi:r,auto:i,compound:o,src:(n&&!a?"&":"")+(r?"*":"")+(i?"++":"")+t4(t)}}function t4(e){return"string"==typeof e?e:e?"["+[].join.call(e,"+")+"]":""}function t6(e,t,n){return{name:e,primKey:t,indexes:n,mappedClass:null,idxByName:B(n,function(e){return[e.name,e]})}}var t8=function(e){try{return e.only([[]]),t8=function(){return[[]]},[[]]}catch(e){return t8=function(){return tg},tg}};function t7(e){return null==e?function(){}:"string"==typeof e?1===e.split(".").length?function(t){return t[e]}:function(t){return P(t,e)}:function(t){return P(t,e)}}function t9(e){return[].slice.call(e)}var ne=0;function nt(e){return null==e?":id":"string"==typeof e?e:"["+e.join("+")+"]"}function nn(e,t){var n,r,i,o,a,l,u,s,c,d,f,h,g=e._novip,m=t.db,y=(n=g._middlewares,i=(r=g._deps).IDBKeyRange,r.indexedDB,{dbcore:(o=function(e){if(3===e.type)return null;if(4===e.type)throw Error("Cannot convert never type to IDBKeyRange");var t=e.lower,n=e.upper,r=e.lowerOpen,o=e.upperOpen;return void 0===t?void 0===n?null:i.upperBound(n,!!o):void 0===n?i.lowerBound(t,!!r):i.bound(t,n,!!r,!!o)},a=function(e){var t,n=e.name;return{name:n,schema:e,mutate:function(e){var t=e.trans,r=e.type,i=e.keys,a=e.values,l=e.range;return new Promise(function(e,u){e=e5(e);var s,c=t.objectStore(n),d=null==c.keyPath,f="put"===r||"add"===r;if(!f&&"delete"!==r&&"deleteRange"!==r)throw Error("Invalid operation type: "+r);var h=(i||a||{length:1}).length;if(i&&a&&i.length!==a.length)throw Error("Given keys array must have same length as given values array.");if(0===h)return e({numFailures:0,failures:{},results:[],lastResult:void 0});var p=[],g=[],m=0,y=function(e){++m,tQ(e)};if("deleteRange"===r){if(4===l.type)return e({numFailures:m,failures:g,results:[],lastResult:void 0});3===l.type?p.push(s=c.clear()):p.push(s=c.delete(o(l)))}else{var _=f?d?[a,i]:[a,null]:[i,null],b=_[0],w=_[1];if(f)for(var x=0;x0&&"getAll"in t.objectStore(l[0])&&!("undefined"!=typeof navigator&&/Safari/.test(navigator.userAgent)&&!/(Chrome\/|Edge\/)/.test(navigator.userAgent)&&[].concat(navigator.userAgent.match(/Safari\/(\d*)/))[1]<604)}).schema,c=u.hasGetAll,d=s.tables.map(function(e){return a(e)}),f={},d.forEach(function(e){return f[e.name]=e}),h={stack:"dbcore",transaction:m.transaction.bind(m),table:function(e){if(!f[e])throw Error("Table '"+e+"' not found");return f[e]},MIN_KEY:-1/0,MAX_KEY:t8(i),schema:s},n.dbcore.reduce(function(e,t){var n=t.create;return p(p({},e),n(e))},h))});g.core=y.dbcore,g.tables.forEach(function(e){var t=e.name;g.core.schema.tables.some(function(e){return e.name===t})&&(e.core=g.core.table(t),g[t]instanceof g.Table&&(g[t].core=e.core))})}function nr(e,t,n,r){var i=e._novip;n.forEach(function(e){var n=r[e];t.forEach(function(t){var r=T(t,e);(!r||"value"in r&&void 0===r.value)&&(t===i.Transaction.prototype||t instanceof i.Transaction?E(t,e,{get:function(){return this.table(e)},set:function(t){C(this,e,{value:t,writable:!0,configurable:!0,enumerable:!0})}}):t[e]=new i.Table(e,n))})})}function ni(e,t){var n=e._novip;t.forEach(function(e){for(var t in e)e[t]instanceof n.Table&&delete e[t]})}function no(e,t){return e._cfg.version-t._cfg.version}function na(e,t){var n,r={del:[],add:[],change:[]};for(n in e)t[n]||r.del.push(n);for(n in t){var i=e[n],o=t[n];if(i){var a={name:n,def:o,recreate:!1,del:[],add:[],change:[]};if(""+(i.primKey.keyPath||"")==""+(o.primKey.keyPath||"")&&(i.primKey.auto===o.primKey.auto||tw)){var l=i.idxByName,u=o.idxByName,s=void 0;for(s in l)u[s]||a.del.push(s);for(s in u){var c=l[s],d=u[s];c?c.src!==d.src&&a.change.push(d):a.add.push(d)}(a.del.length>0||a.add.length>0||a.change.length>0)&&r.change.push(a)}else a.recreate=!0,r.change.push(a)}else r.add.push([n,o])}return r}function nl(e,t,n,r){var i=e.db.createObjectStore(t,n.keyPath?{keyPath:n.keyPath,autoIncrement:n.auto}:{autoIncrement:n.auto});return r.forEach(function(e){return nu(i,e)}),i}function nu(e,t){e.createIndex(t.name,t.keyPath,{unique:t.unique,multiEntry:t.multi})}function ns(e,t,n){var r={};return D(t.objectStoreNames,0).forEach(function(e){for(var t=n.objectStore(e),i=t.keyPath,o=t5(t4(i),i||"",!1,!1,!!t.autoIncrement,i&&"string"!=typeof i,!0),a=[],l=0;l0,c=p(p({},n),{isVirtual:s,keyTail:t,keyLength:u,extractKey:t7(e),unique:!s&&n.unique});return i.push(c),c.isPrimaryKey||a.push(c),u>1&&l(2===u?e[0]:e.slice(0,u-1),t+1,n),i.sort(function(e,t){return e.keyTail-t.keyTail}),c}var u=l(i.primaryKey.keyPath,0,i.primaryKey);o[":id"]=[u];for(var s=0,c=i.indexes;s0?Promise.reject(n.failures[0]):r.length1?t:e}:{d:0});else{var n=new nS;return e&&"d"in e&&b(n,e),n}};function nC(e,t,n){var r=tj(t,n);if(!isNaN(r)){if(r>0)throw RangeError();if(nk(e))return b(e,{from:t,to:n,d:1});var i=e.l,o=e.r;if(0>tj(n,e.from))return i?nC(i,t,n):e.l={from:t,to:n,d:1,l:null,r:null},nN(e);if(tj(t,e.to)>0)return o?nC(o,t,n):e.r={from:t,to:n,d:1,l:null,r:null},nN(e);0>tj(t,e.from)&&(e.from=t,e.l=null,e.d=o?o.d+1:1),tj(n,e.to)>0&&(e.to=n,e.r=null,e.d=e.l?e.l.d+1:1);var a=!e.r;i&&!e.l&&nE(e,i),o&&a&&nE(e,o)}}function nE(e,t){nk(t)||function e(t,n){var r=n.from,i=n.to,o=n.l,a=n.r;nC(t,r,i),o&&e(t,o),a&&e(t,a)}(e,t)}function nV(e){var t=nk(e)?null:{s:0,n:e};return{next:function(e){for(var n=arguments.length>0;t;)switch(t.s){case 0:if(t.s=1,n)for(;t.n.l&&0>tj(e,t.n.from);)t={up:t,n:t.n.l,s:1};else for(;t.n.l;)t={up:t,n:t.n.l,s:1};case 1:if(t.s=2,!n||0>=tj(e,t.n.to))return{value:t.n,done:!1};case 2:if(t.n.r){t.s=3,t={up:t,n:t.n.r,s:0};continue}case 3:t=t.up}return{done:!0}}}}function nN(e){var t,n,r=((null===(t=e.r)||void 0===t?void 0:t.d)||0)-((null===(n=e.l)||void 0===n?void 0:n.d)||0),i=r>1?"r":r<-1?"l":"";if(i){var o="r"===i?"l":"r",a=p({},e),l=e[i];e.from=l.from,e.to=l.to,e[i]=l[i],a[i]=l[o],e[o]=a,a.d=nT(a)}e.d=nT(e)}function nT(e){var t=e.r,n=e.l;return(t?n?Math.max(t.d,n.d):t.d:n?n.d:0)+1}S(nS.prototype,((c={add:function(e){return nE(this,e),this},addKey:function(e){return nC(this,e,e),this},addKeys:function(e){var t=this;return e.forEach(function(e){return nC(t,e,e)}),this}})[K]=function(){return nV(this)},c));var nA={stack:"dbcore",level:0,create:function(e){var t=e.schema.name,n=new nS(e.MIN_KEY,e.MAX_KEY);return p(p({},e),{table:function(r){var i=e.table(r),o=i.schema,a=o.primaryKey,l=a.extractKey,u=a.outbound,s=p(p({},i),{mutate:function(e){var a=e.trans,l=a.mutatedParts||(a.mutatedParts={}),u=function(e){var n="idb://"+t+"/"+r+"/"+e;return l[n]||(l[n]=new nS)},s=u(""),c=u(":dels"),d=e.type,f="deleteRange"===e.type?[e.range]:"delete"===e.type?[e.keys]:e.values.length<50?[[],e.values]:[],h=f[0],p=f[1],g=e.trans._cache;return i.mutate(e).then(function(e){if(_(h)){"delete"!==d&&(h=e.results),s.addKeys(h);var t=nw(h,g);t||"add"===d||c.addKeys(h),(t||p)&&function(e,t,n,r){t.indexes.forEach(function(t){var i=e(t.name||"");function o(e){return null!=e?t.extractKey(e):null}var a=function(e){return t.multiEntry&&_(e)?e.forEach(function(e){return i.addKey(e)}):i.addKey(e)};(n||r).forEach(function(e,t){var i=n&&o(n[t]),l=r&&o(r[t]);0!==tj(i,l)&&(null!=i&&a(i),null!=l&&a(l))})})}(u,o,t,p)}else if(h){var r={from:h.lower,to:h.upper};c.add(r),s.add(r)}else s.add(n),c.add(n),o.indexes.forEach(function(e){return u(e.name).add(n)});return e})}}),c=function(t){var n,r,i=t.query,o=i.index,a=i.range;return[o,new nS(null!==(n=a.lower)&&void 0!==n?n:e.MIN_KEY,null!==(r=a.upper)&&void 0!==r?r:e.MAX_KEY)]},d={get:function(e){return[a,new nS(e.key)]},getMany:function(e){return[a,new nS().addKeys(e.keys)]},count:c,query:c,openCursor:c};return y(d).forEach(function(e){s[e]=function(o){var a=eU.subscr;if(a){var s=function(e){var n="idb://"+t+"/"+r+"/"+e;return a[n]||(a[n]=new nS)},c=s(""),f=s(":dels"),h=d[e](o),g=h[0],m=h[1];if(s(g.name||"").add(m),!g.isPrimaryKey){if("count"===e)f.add(n);else{var y="query"===e&&u&&o.values&&i.query(p(p({},o),{values:!1}));return i[e].apply(this,arguments).then(function(t){if("query"===e){if(u&&o.values)return y.then(function(e){var n=e.result;return c.addKeys(n),t});var n=o.values?t.result.map(l):t.result;o.values?c.addKeys(n):f.addKeys(n)}else if("openCursor"===e){var r=o.values;return t&&Object.create(t,{key:{get:function(){return f.addKey(t.primaryKey),t.key}},primaryKey:{get:function(){var e=t.primaryKey;return f.addKey(e),e}},value:{get:function(){return r&&c.addKey(t.primaryKey),t.value}}})}return t})}}}return i[e].apply(this,arguments)}}),s}})}},nD=function(){function e(t,n){var r,i,o,a,l,u=this;this._middlewares={},this.verno=0;var s=e.dependencies;this._options=n=p({addons:e.addons,autoOpen:!0,indexedDB:s.indexedDB,IDBKeyRange:s.IDBKeyRange},n),this._deps={indexedDB:n.indexedDB,IDBKeyRange:n.IDBKeyRange};var c=n.addons;this._dbSchema={},this._versions=[],this._storeNames=[],this._allTables={},this.idbdb=null,this._novip=this;var d={dbOpenError:null,isBeingOpened:!1,onReadyBeingFired:null,openComplete:!1,dbReadyResolve:ev,dbReadyPromise:null,cancelOpen:ev,openCanceller:null,autoSchema:!0,PR1398_maxLoop:3};d.dbReadyPromise=new eq(function(e){d.dbReadyResolve=e}),d.openCanceller=new eq(function(e,t){d.cancelOpen=t}),this._state=d,this.name=t,this.on=tA(this,"populate","blocked","versionchange","close",{ready:[ex,ev]}),this.on.ready.subscribe=R(this.on.ready.subscribe,function(t){return function(n,r){e.vip(function(){var e=u._state;e.openComplete?(e.dbOpenError||eq.resolve().then(n),r&&t(n)):e.onReadyBeingFired?(e.onReadyBeingFired.push(n),r&&t(n)):(t(n),r||t(function e(){u.on.ready.unsubscribe(n),u.on.ready.unsubscribe(e)}))})}}),this.Collection=(r=this,tD(tz.prototype,function(e,t){this.db=r;var n=tV,i=null;if(t)try{n=t()}catch(e){i=e}var o=e._ctx,a=o.table,l=a.hook.reading.fire;this._ctx={table:a,index:o.index,isPrimKey:!o.index||a.schema.primKey.keyPath&&o.index===a.schema.primKey.name,range:n,keysOnly:!1,dir:"next",unique:"",algorithm:null,filter:null,replayFilter:null,justLimit:!0,isMatch:null,offset:0,limit:1/0,error:i,or:o.or,valueMapper:l!==ep?l:null}})),this.Table=(i=this,tD(tT.prototype,function(e,t,n){this.db=i,this._tx=n,this.name=e,this.schema=t,this.hook=i._allTables[e]?i._allTables[e].hook:tA(null,{creating:[ey,ev],reading:[eg,ep],updating:[eb,ev],deleting:[e_,ev]})})),this.Transaction=(o=this,tD(t3.prototype,function(e,t,n,r,i){var a=this;this.db=o,this.mode=e,this.storeNames=t,this.schema=n,this.chromeTransactionDurability=r,this.idbtrans=null,this.on=tA(this,"complete","error","abort"),this.parent=i||null,this.active=!0,this._reculock=0,this._blockedFuncs=[],this._resolve=null,this._reject=null,this._waitingFor=null,this._waitingQueue=null,this._spinCount=0,this._completion=new eq(function(e,t){a._resolve=e,a._reject=t}),this._completion.then(function(){a.active=!1,a.on.complete.fire()},function(e){var t=a.active;return a.active=!1,a.on.error.fire(e),a.parent?a.parent._reject(e):t&&a.idbtrans&&a.idbtrans.abort(),tv(e)})})),this.Version=(a=this,tD(nd.prototype,function(e){this.db=a,this._cfg={version:e,storesSource:null,dbschema:{},tables:{},contentUpgrade:null}})),this.WhereClause=(l=this,tD(tJ.prototype,function(e,t,n){this.db=l,this._ctx={table:e,index:":id"===t?null:t,or:n};var r=l._deps.indexedDB;if(!r)throw new ed.MissingAPI;this._cmp=this._ascending=r.cmp.bind(r),this._descending=function(e,t){return r.cmp(t,e)},this._max=function(e,t){return r.cmp(e,t)>0?e:t},this._min=function(e,t){return 0>r.cmp(e,t)?e:t},this._IDBKeyRange=l._deps.IDBKeyRange})),this.on("versionchange",function(e){e.newVersion>0?console.warn("Another connection wants to upgrade database '"+u.name+"'. Closing db now to resume the upgrade."):console.warn("Another connection wants to delete database '"+u.name+"'. Closing db now to resume the delete request."),u.close()}),this.on("blocked",function(e){!e.newVersion||e.newVersion0x4000000000000000?0:t.oldVersion;u=m<1,e._novip.idbdb=s.result,c=m/10,d=l,f=e._dbSchema,(h=e._createTransaction("readwrite",e._storeNames,f)).create(d),h._completion.catch(o),p=h._reject.bind(h),g=eU.transless||eU,tt(function(){var t,n,r,i,o;eU.trans=h,eU.transless=g,0===c?(y(f).forEach(function(e){nl(d,e,f[e].primKey,f[e].indexes)}),nn(e,d),eq.follow(function(){return e.on.populate.fire(h)}).catch(p)):(t=e._novip,n=[],r=t._versions,i=t._dbSchema=ns(t,t.idbdb,d),o=!1,r.filter(function(e){return e._cfg.version>=c}).forEach(function(e){n.push(function(){var n=i,r=e._cfg.dbschema;nc(t,n,d),nc(t,r,d),i=t._dbSchema=r;var a=na(n,r);a.add.forEach(function(e){nl(d,e[0],e[1].primKey,e[1].indexes)}),a.change.forEach(function(e){if(e.recreate)throw new ed.Upgrade("Not yet support for changing primary key");var t=d.objectStore(e.name);e.add.forEach(function(e){return nu(t,e)}),e.change.forEach(function(e){t.deleteIndex(e.name),nu(t,e)}),e.del.forEach(function(e){return t.deleteIndex(e)})});var l=e._cfg.contentUpgrade;if(l&&e._cfg.version>c){nn(t,d),h._memoizedTables={},o=!0;var u,s=L(r);a.del.forEach(function(e){s[e]=n[e]}),ni(t,[t.Transaction.prototype]),nr(t,[t.Transaction.prototype],y(s),s),h.schema=s;var f=J(l);f&&tn();var p=eq.follow(function(){if((u=l(h))&&f){var e=tr.bind(null,null);u.then(e,e)}});return u&&"function"==typeof u.then?eq.resolve(u):p.then(function(){return u})}}),n.push(function(n){o&&tw||function(e,t){[].slice.call(t.db.objectStoreNames).forEach(function(n){return null==e[n]&&t.db.deleteObjectStore(n)})}(e._cfg.dbschema,n),ni(t,[t.Transaction.prototype]),nr(t,[t.Transaction.prototype],t._storeNames,t._dbSchema),h.schema=t._dbSchema})}),(function e(){return n.length?eq.resolve(n.shift()(h.idbtrans)).then(e):eq.resolve()})().then(function(){(function(e,t){y(e).forEach(function(n){t.db.objectStoreNames.contains(n)||nl(t,n,e[n].primKey,e[n].indexes)})})(i,d)})).catch(p)})}},o),s.onsuccess=e5(function(){l=null;var n,i,o,c=e._novip.idbdb=s.result,d=D(c.objectStoreNames);if(d.length>0)try{var f,h,p,g=c.transaction(1===d.length?d[0]:d,"readonly");r.autoSchema?((f=e._novip).verno=c.version/10,h=f._dbSchema=ns(f,c,g),f._storeNames=D(c.objectStoreNames,0),nr(f,[f._allTables],y(h),h)):(nc(e,e._dbSchema,g),((p=na(ns(e,e.idbdb,g),e._dbSchema)).add.length||p.change.some(function(e){return e.add.length||e.change.length}))&&console.warn("Dexie SchemaDiff: Schema was extended without increasing the number passed to db.version(). Some queries may fail.")),nn(e,g)}catch(e){}tb.push(e),c.onversionchange=e5(function(t){r.vcFired=!0,e.on("versionchange").fire(t)}),c.onclose=e5(function(t){e.on("close").fire(t)}),u&&(i=(n=e._deps).indexedDB,o=n.IDBKeyRange,nh(i)||a===tk||nf(i,o).put({name:a}).catch(ev)),t()},o)})})]).then(function(){return n(),r.onReadyBeingFired=[],eq.resolve(nv(function(){return e.on.ready.fire(e.vip)})).then(function t(){if(r.onReadyBeingFired.length>0){var n=r.onReadyBeingFired.reduce(ex,ev);return r.onReadyBeingFired=[],eq.resolve(nv(function(){return n(e.vip)})).then(t)}})}).finally(function(){r.onReadyBeingFired=null,r.isBeingOpened=!1}).then(function(){return e}).catch(function(t){r.dbOpenError=t;try{l&&l.abort()}catch(e){}return o===r.openCanceller&&e._close(),tv(t)}).finally(function(){r.openComplete=!0,a()})}(this)},e.prototype._close=function(){var e=this._state,t=tb.indexOf(this);if(t>=0&&tb.splice(t,1),this.idbdb){try{this.idbdb.close()}catch(e){}this._novip.idbdb=null}e.dbReadyPromise=new eq(function(t){e.dbReadyResolve=t}),e.openCanceller=new eq(function(t,n){e.cancelOpen=n})},e.prototype.close=function(){this._close();var e=this._state;this._options.autoOpen=!1,e.dbOpenError=new ed.DatabaseClosed,e.isBeingOpened&&e.cancelOpen(e.dbOpenError)},e.prototype.delete=function(){var e=this,t=arguments.length>0,n=this._state;return new eq(function(r,i){var o=function(){e.close();var t=e._deps.indexedDB.deleteDatabase(e.name);t.onsuccess=e5(function(){var t,n,i,o;t=e._deps,n=e.name,i=t.indexedDB,o=t.IDBKeyRange,nh(i)||n===tk||nf(i,o).delete(n).catch(ev),r()}),t.onerror=tZ(i),t.onblocked=e._fireOnBlocked};if(t)throw new ed.InvalidArgument("Arguments not allowed in db.delete()");n.isBeingOpened?n.dbReadyPromise.then(o):o()})},e.prototype.backendDB=function(){return this.idbdb},e.prototype.isOpen=function(){return null!==this.idbdb},e.prototype.hasBeenClosed=function(){var e=this._state.dbOpenError;return e&&"DatabaseClosed"===e.name},e.prototype.hasFailed=function(){return null!==this._state.dbOpenError},e.prototype.dynamicallyOpened=function(){return this._state.autoSchema},Object.defineProperty(e.prototype,"tables",{get:function(){var e=this;return y(this._allTables).map(function(t){return e._allTables[t]})},enumerable:!1,configurable:!0}),e.prototype.transaction=function(){var e=ng.apply(this,arguments);return this._transaction.apply(this,e)},e.prototype._transaction=function(e,t,n){var r,i,o=this,a=eU.trans;a&&a.db===this&&-1===e.indexOf("!")||(a=null);var l=-1!==e.indexOf("?");e=e.replace("!","").replace("?","");try{if(i=t.map(function(e){var t=e instanceof o.Table?e.name:e;if("string"!=typeof t)throw TypeError("Invalid table argument to Dexie.transaction(). Only Table or String are allowed");return t}),"r"==e||e===tS)r=tS;else if("rw"==e||e==tC)r=tC;else throw new ed.InvalidArgument("Invalid transaction mode: "+e);if(a){if(a.mode===tS&&r===tC){if(l)a=null;else throw new ed.SubTransaction("Cannot enter a sub-transaction with READWRITE mode when parent transaction is READONLY")}a&&i.forEach(function(e){if(a&&-1===a.storeNames.indexOf(e)){if(l)a=null;else throw new ed.SubTransaction("Table "+e+" not included in parent transaction.")}}),l&&a&&!a.active&&(a=null)}}catch(e){return a?a._promise(null,function(t,n){n(e)}):tv(e)}var u=(function e(t,n,r,i,o){return eq.resolve().then(function(){var a,l=eU.transless||eU,u=t._createTransaction(n,r,t._dbSchema,i);if(i)u.idbtrans=i.idbtrans;else try{u.create(),t._state.PR1398_maxLoop=3}catch(i){if(i.name===ec.InvalidState&&t.isOpen()&&--t._state.PR1398_maxLoop>0)return console.warn("Dexie: Need to reopen db"),t._close(),t.open().then(function(){return e(t,n,r,null,o)});return tv(i)}var s=J(o);s&&tn();var c=eq.follow(function(){if(a=o.call(u,u)){if(s){var e=tr.bind(null,null);a.then(e,e)}else"function"==typeof a.next&&"function"==typeof a.throw&&(a=np(a))}},{trans:u,transless:l});return(a&&"function"==typeof a.then?eq.resolve(a).then(function(e){return u.active?e:tv(new ed.PrematureCommit("Transaction committed too early. See http://bit.ly/2kdckMn"))}):c.then(function(){return a})).then(function(e){return i&&u._resolve(),u._completion.then(function(){return e})}).catch(function(e){return u._reject(e),tv(e)})})}).bind(null,this,r,i,a,n);return a?a._promise(r,u,"lock"):eU.trans?ts(eU.transless,function(){return o._whenReady(u)}):this._whenReady(u)},e.prototype.table=function(e){if(!k(this._allTables,e))throw new ed.InvalidTable("Table "+e+" does not exist");return this._allTables[e]},e}(),nR="undefined"!=typeof Symbol&&"observable"in Symbol?Symbol.observable:"@@observable",nO=((s=function(e){this._subscribe=e}).prototype.subscribe=function(e,t,n){return this._subscribe(e&&"function"!=typeof e?e:{next:e,error:t,complete:n})},s.prototype[nR]=function(){return this},s);function nI(e,t){return y(t).forEach(function(n){nE(e[n]||(e[n]=new nS),t[n])}),e}function nB(e){var t=!1,n=void 0,r=new nO(function(r){var i=function(t){a&&tn();var n=function(){return tt(e,{subscr:t,trans:null})},r=eU.trans?ts(eU.transless,n):n();return a&&r.then(tr,tr),r},o=function(){return y(s).some(function(e){return u[e]&&function(e,t){var n=nV(t),r=n.next();if(r.done)return!1;for(var i=r.value,o=nV(e),a=o.next(i.from),l=a.value;!r.done&&!a.done;){if(0>=tj(l.from,i.to)&&tj(l.to,i.from)>=0)return!0;0>tj(i.from,l.from)?i=(r=n.next(l.from)).value:l=(a=o.next(i.from)).value}return!1}(u[e],s[e])})},a=J(e),l=!1,u={},s={},c={get closed(){return l},unsubscribe:function(){l=!0,t2.storagemutated.unsubscribe(h)}};r.start&&r.start(c);var d=!1,f=!1,h=function(e){nI(u,e),o()&&p()},p=function(){if(!d&&!l){u={};var e={},a=i(e);f||(t2(t0,h),f=!0),d=!0,Promise.resolve(a).then(function(i){t=!0,n=i,d=!1,!l&&(o()?p():(u={},s=e,r.next&&r.next(i)))},function(e){d=!1,t=!1,r.error&&r.error(e),c.unsubscribe()})}};return p(),c});return r.hasValue=function(){return t},r.getValue=function(){return n},r}try{d={indexedDB:m.indexedDB||m.mozIndexedDB||m.webkitIndexedDB||m.msIndexedDB,IDBKeyRange:m.IDBKeyRange||m.webkitIDBKeyRange}}catch(e){d={indexedDB:null,IDBKeyRange:null}}function nP(e){var t=nM;try{nM=!0,t2.storagemutated.fire(e)}finally{nM=t}}S(nD,p(p({},eh),{delete:function(e){return new nD(e,{addons:[]}).delete()},exists:function(e){return new nD(e,{addons:[]}).open().then(function(e){return e.close(),!0}).catch("NoSuchDatabaseError",function(){return!1})},getDatabaseNames:function(e){try{var t,n,r;return(n=(t=nD.dependencies).indexedDB,r=t.IDBKeyRange,nh(n)?Promise.resolve(n.databases()).then(function(e){return e.map(function(e){return e.name}).filter(function(e){return e!==tk})}):nf(n,r).toCollection().primaryKeys()).then(e)}catch(e){return tv(new ed.MissingAPI)}},defineClass:function(){return function(e){b(this,e)}},ignoreTransaction:function(e){return eU.trans?ts(eU.transless,e):e()},vip:nv,async:function(e){return function(){try{var t=np(e.apply(this,arguments));if(!t||"function"!=typeof t.then)return eq.resolve(t);return t}catch(e){return tv(e)}}},spawn:function(e,t,n){try{var r=np(e.apply(n,t||[]));if(!r||"function"!=typeof r.then)return eq.resolve(r);return r}catch(e){return tv(e)}},currentTransaction:{get:function(){return eU.trans||null}},waitFor:function(e,t){var n=eq.resolve("function"==typeof e?nD.ignoreTransaction(e):e).timeout(t||6e4);return eU.trans?eU.trans.waitFor(n):n},Promise:eq,debug:{get:function(){return Z},set:function(e){Z=e,Q="dexie"===e?function(){return!0}:tx}},derive:V,extend:b,props:S,override:R,Events:tA,on:t2,liveQuery:nB,extendObservabilitySet:nI,getByKeyPath:P,setByKeyPath:M,delByKeyPath:function(e,t){"string"==typeof t?M(e,t,void 0):"length"in t&&[].map.call(t,function(t){M(e,t,void 0)})},shallowClone:L,deepClone:H,getObjectDiff:n_,cmp:tj,asap:I,minKey:tm,addons:[],connections:tb,errnames:ec,dependencies:d,semVer:tp,version:tp.split(".").map(function(e){return parseInt(e)}).reduce(function(e,t,n){return e+t/Math.pow(10,2*n)})})),nD.maxKey=t8(nD.dependencies.IDBKeyRange),"undefined"!=typeof dispatchEvent&&"undefined"!=typeof addEventListener&&(t2(t0,function(e){if(!nM){var t;tw?(t=document.createEvent("CustomEvent")).initCustomEvent(t1,!0,!0,e):t=new CustomEvent(t1,{detail:e}),nM=!0,dispatchEvent(t),nM=!1}}),addEventListener(t1,function(e){var t=e.detail;nM||nP(t)}));var nM=!1;if("undefined"!=typeof BroadcastChannel){var nL=new BroadcastChannel(t1);"function"==typeof nL.unref&&nL.unref(),t2(t0,function(e){nM||nL.postMessage(e)}),nL.onmessage=function(e){e.data&&nP(e.data)}}else if("undefined"!=typeof self&&"undefined"!=typeof navigator){t2(t0,function(e){try{nM||("undefined"!=typeof localStorage&&localStorage.setItem(t1,JSON.stringify({trig:Math.random(),changedParts:e})),"object"==typeof self.clients&&g([],self.clients.matchAll({includeUncontrolled:!0}),!0).forEach(function(t){return t.postMessage({type:t1,changedParts:e})}))}catch(e){}}),"undefined"!=typeof addEventListener&&addEventListener("storage",function(e){if(e.key===t1){var t=JSON.parse(e.newValue);t&&nP(t.changedParts)}});var nj=self.document&&navigator.serviceWorker;nj&&nj.addEventListener("message",function(e){var t=e.data;t&&t.type===t1&&nP(t.changedParts)})}eq.rejectionMapper=function(e,t){if(!e||e instanceof ea||e instanceof TypeError||e instanceof SyntaxError||!e.name||!ef[e.name])return e;var n=new ef[e.name](t||e.message,e);return"stack"in e&&E(n,"stack",{get:function(){return this.inner.stack}}),n},Q=tx}),f.register("9BzA6",function(e,n){t(e.exports,"copyToClipboard",function(){return s}),t(e.exports,"parseClassroom",function(){return c}),t(e.exports,"parse",function(){return d}),t(e.exports,"stringify",function(){return h}),t(e.exports,"scrapeModule",function(){return p}),t(e.exports,"validateUrl",function(){return m}),t(e.exports,"infoHash",function(){return y}),t(e.exports,"getPeerID",function(){return _}),t(e.exports,"clone",function(){return b});var r=f("xJRWs"),i=f("a42Vg"),o=f("9zFRg"),a=f("3XT9C"),l=f("i1Uxe");function u(e,t,n){if(t.match(/(https?)?:\/\//i))return"script"===e?''):'');var r=new URL(t,n).toString();return'\n ')}function s(e){navigator.clipboard.writeText(e)}function c(e){var t;console.warn("parse Classroom",e);try{if(t=d(e))for(var n=0;n\n \n \n ".concat(c.map(function(t){return u("css",t,e.url)}).join("\n"),"\n \n ").concat(d.map(function(t){return u("script",t,e.url)}).join("\n"),'\n\n \n \n \n \n ").concat(s.body||"","\n \n \n "),[2,(0,o._)((0,i._)({},e),{name:s.name,description:s.description,icon:s.icon||"mdi-package",shownIn:s["show-in"]||["*"],srcdoc:"data:text/html,"+escape(f),origin:"*"})]}catch(e){throw console.warn("loading yaml:",e),Error("Could not load the YAML-declaration: "+e.message)}else{if((h=document.createElement("html")).innerHTML=t,(p=Object.fromEntries(Object.values(h.getElementsByTagName("meta")).map(function(e){return[e.name,e.content]}))).fetch&&"false"!==p.fetch)return[2,(0,o._)((0,i._)({},e),{name:h.getElementsByTagName("title")[0].innerText||p.name,description:p.description,icon:p.icon||"mdi-package",shownIn:(p["show-in"]||"*").replace(/\s+/g,"").split(","),srcdoc:"data:text/html,"+escape(function(e,t){try{var n=e.match(RegExp(".*?<\\/head>","is"))[0];return n=(n=n.replace(RegExp(".*?<\\/script>","gims"),function(e){var n=e.match(RegExp("src=(?:'|\")([^\"']+)(?:'|\")","is"));return n&&!((n=n[1]).startsWith("https://")||n.startsWith("http://"))?u("script",n,t):e})).replace(RegExp("","gims"),function(e){var n=e.match(RegExp("href=(?:'|\")([^\"']+)(?:'|\")","is"));return n&&!((n=n[1]).startsWith("https://")||n.startsWith("http://"))?u("css",n,t):e}),e.replace(RegExp(".*?<\\/head>","is"),n)}catch(e){console.warn("problems parsing html:",e)}}(t,e.url)),origin:"*"})];try{return[2,(0,o._)((0,i._)({},e),{name:h.getElementsByTagName("title")[0].innerText||p.name,description:p.description,icon:p.icon||"mdi-package",shownIn:(p["show-in"]||"*").replace(/\s+/g,"").split(",")})]}catch(e){throw Error("This does not seem to be a valid module declaration, check the URL manually.")}}return[3,4];case 3:return g=a.sent(),[2,(0,o._)((0,i._)({},e),{name:"",description:g,icon:"mdi-alert",shownIn:""})];case 4:return[2]}})})).apply(this,arguments)}function m(e){try{var t=new URL(e);if(["http:","https:","file:","ipfs:","ipns:","blob:","dat:","hyper:"].includes(t.protocol))return!0}catch(e){}return!1}function y(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:40,t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",n="",r=0;r=0)n=t;else{var o=w(t);for(var a in n=o===Object.prototype?{}:Object.create(o),Y&&Y.set(t,n),t)k(t,a)&&(n[a]=e(t[a]))}return n}(e);return Y=null,t}var q={}.toString;function W(e){return q.call(e).slice(8,-1)}var K="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator",X=(void 0===K?"undefined":(0,h._)(K))==="symbol"?function(e){var t;return null!=e&&(t=e[K])&&t.apply(e)}:function(){return null},G={};function $(e){var t,n,r,i;if(1==arguments.length){if(_(e))return e.slice();if(this===G&&"string"==typeof e)return[e];if(i=X(e)){for(n=[];!(r=i.next()).done;)n.push(r.value);return n}if(null==e)return[e];if("number"==typeof(t=e.length)){for(n=Array(t);t--;)n[t]=e[t];return n}return[e]}for(t=arguments.length,n=Array(t);t--;)n[t]=arguments[t];return n}var J="undefined"!=typeof Symbol?function(e){return"AsyncFunction"===e[Symbol.toStringTag]}:function(){return!1},Z="undefined"!=typeof location&&/^(http|https):\/\/(localhost|127\.0\.0\.1)/.test(location.href),Q=function(){return!0},ee=!Error("").stack;function et(){if(ee)try{throw et.arguments,Error()}catch(e){return e}return Error()}function en(e,t){var n=e.stack;return n?(t=t||0,0===n.indexOf(e.name)&&(t+=(e.name+e.message).split("\n").length),n.split("\n").slice(t).filter(Q).map(function(e){return"\n"+e}).join("")):""}var er=["Unknown","Constraint","Data","TransactionInactive","ReadOnly","Version","NotFound","InvalidState","InvalidAccess","Abort","Timeout","QuotaExceeded","Syntax","DataClone"],ei=["Modify","Bulk","OpenFailed","VersionChange","Schema","Upgrade","InvalidTable","MissingAPI","NoSuchDatabase","InvalidArgument","SubTransaction","Unsupported","Internal","DatabaseClosed","PrematureCommit","ForeignAwait"].concat(er),eo={VersionChanged:"Database version changed by other database connection",DatabaseClosed:"Database has been closed",Abort:"Transaction aborted",TransactionInactive:"Transaction has already completed or failed",MissingAPI:"IndexedDB API missing. Please visit https://tinyurl.com/y2uuvskb"};function ea(e,t){this._e=et(),this.name=e,this.message=t}function el(e,t){return e+". Errors: "+Object.keys(t).map(function(e){return t[e].toString()}).filter(function(e,t,n){return n.indexOf(e)===t}).join("\n")}function eu(e,t,n,r){this._e=et(),this.failures=t,this.failedKeys=r,this.successCount=n,this.message=el(e,t)}function es(e,t){this._e=et(),this.name="BulkError",this.failures=Object.keys(t).map(function(e){return t[e]}),this.failuresByPos=t,this.message=el(e,t)}V(ea).from(Error).extend({stack:{get:function(){return this._stack||(this._stack=this.name+": "+this.message+en(this._e,2))}},toString:function(){return this.name+": "+this.message}}),V(eu).from(ea),V(es).from(ea);var ec=ei.reduce(function(e,t){return e[t]=t+"Error",e},{}),ed=ei.reduce(function(e,t){var n=function(e,n){this._e=et(),this.name=r,e?"string"==typeof e?(this.message=""+e+(n?"\n "+n:""),this.inner=n||null):"object"==typeof e&&(this.message=e.name+" "+e.message,this.inner=e):(this.message=eo[t]||r,this.inner=null)},r=t+"Error";return V(n).from(ea),e[t]=n,e},{});ed.Syntax=SyntaxError,ed.Type=TypeError,ed.Range=RangeError;var ef=er.reduce(function(e,t){return e[t+"Error"]=ed[t],e},{}),eh=ei.reduce(function(e,t){return -1===["Syntax","Type","Range"].indexOf(t)&&(e[t+"Error"]=ed[t]),e},{});function ev(){}function ep(e){return e}function eg(e,t){return null==e||e===ep?t:function(n){return t(e(n))}}function em(e,t){return function(){e.apply(this,arguments),t.apply(this,arguments)}}function ey(e,t){return e===ev?t:function(){var n=e.apply(this,arguments);void 0!==n&&(arguments[0]=n);var r=this.onsuccess,i=this.onerror;this.onsuccess=null,this.onerror=null;var o=t.apply(this,arguments);return r&&(this.onsuccess=this.onsuccess?em(r,this.onsuccess):r),i&&(this.onerror=this.onerror?em(i,this.onerror):i),void 0!==o?o:n}}function e_(e,t){return e===ev?t:function(){e.apply(this,arguments);var n=this.onsuccess,r=this.onerror;this.onsuccess=this.onerror=null,t.apply(this,arguments),n&&(this.onsuccess=this.onsuccess?em(n,this.onsuccess):n),r&&(this.onerror=this.onerror?em(r,this.onerror):r)}}function eb(e,t){return e===ev?t:function(n){var r=e.apply(this,arguments);b(n,r);var i=this.onsuccess,o=this.onerror;this.onsuccess=null,this.onerror=null;var a=t.apply(this,arguments);return i&&(this.onsuccess=this.onsuccess?em(i,this.onsuccess):i),o&&(this.onerror=this.onerror?em(o,this.onerror):o),void 0===r?void 0===a?void 0:a:b(r,a)}}function ew(e,t){return e===ev?t:function(){return!1!==t.apply(this,arguments)&&e.apply(this,arguments)}}function ex(e,t){return e===ev?t:function(){var n=e.apply(this,arguments);if(n&&"function"==typeof n.then){for(var r=this,i=arguments.length,o=Array(i);i--;)o[i]=arguments[i];return n.then(function(){return t.apply(r,o)})}return t.apply(this,arguments)}}eh.ModifyError=eu,eh.DexieError=ea,eh.BulkError=es;var ek={},eS="undefined"==typeof Promise?[]:function(){var e=Promise.resolve();if("undefined"==typeof crypto||!crypto.subtle)return[e,w(e),e];var t=crypto.subtle.digest("SHA-512",new Uint8Array([0]));return[t,w(t),e]}(),eC=eS[0],eE=eS[1],eV=eS[2],eN=eE&&eE.then,eT=eC&&eC.constructor,eA=!!eV,eD=!1,eR=eV?function(){eV.then(eQ)}:m.setImmediate?setImmediate.bind(null,eQ):m.MutationObserver?function(){var e=document.createElement("div");new MutationObserver(function(){eQ(),e=null}).observe(e,{attributes:!0}),e.setAttribute("i","1")}:function(){setTimeout(eQ,0)},eO=function(e,t){ez.push([e,t]),eB&&(eR(),eB=!1)},eI=!0,eB=!0,eP=[],eM=[],eL=null,ej=ep,eF={id:"global",global:!0,ref:0,unhandleds:[],onunhandled:th,pgp:!1,env:{},finalize:function(){this.unhandleds.forEach(function(e){try{th(e[0],e[1])}catch(e){}})}},eU=eF,ez=[],eY=0,eH=[];function eq(e){if("object"!=typeof this)throw TypeError("Promises must be constructed via new");this._listeners=[],this.onuncatched=ev,this._lib=!1;var t=this._PSD=eU;if(Z&&(this._stackHolder=et(),this._prev=null,this._numPrev=0),"function"!=typeof e){if(e!==ek)throw TypeError("Not a function");this._state=arguments[1],this._value=arguments[2],!1===this._state&&eX(this,this._value);return}this._state=null,this._value=null,++t.ref,function e(t,n){try{n(function(n){if(null===t._state){if(n===t)throw TypeError("A promise cannot be resolved with itself.");var r=t._lib&&e0();n&&"function"==typeof n.then?e(t,function(e,t){n instanceof eq?n._then(e,t):n.then(e,t)}):(t._state=!0,t._value=n,eG(t)),r&&e1()}},eX.bind(null,t))}catch(e){eX(t,e)}}(this,e)}var eW={get:function(){var e=function(e,r){var i=this,o=!t.global&&(t!==eU||n!==e9),a=o&&!tr(),l=new eq(function(n,l){e$(i,new eK(tc(e,t,o,a),tc(r,t,o,a),n,l,t))});return Z&&eZ(l,this),l},t=eU,n=e9;return e.prototype=ek,e},set:function(e){E(this,"then",e&&e.prototype===ek?eW:{get:function(){return e},set:eW.set})}};function eK(e,t,n,r,i){this.onFulfilled="function"==typeof e?e:null,this.onRejected="function"==typeof t?t:null,this.resolve=n,this.reject=r,this.psd=i}function eX(e,t){if(eM.push(t),null===e._state){var n=e._lib&&e0();t=ej(t),e._state=!1,e._value=t,Z&&null!==t&&"object"==typeof t&&!t._promise&&function(e,t,n){try{e.apply(null,void 0)}catch(e){t&&t(e)}}(function(){var n=T(t,"stack");t._promise=e,E(t,"stack",{get:function(){return eD?n&&(n.get?n.get.apply(t):n.value):e.stack}})}),eP.some(function(t){return t._value===e._value})||eP.push(e),eG(e),n&&e1()}}function eG(e){var t=e._listeners;e._listeners=[];for(var n=0,r=t.length;n0;)for(t=0,e=ez,ez=[],n=e.length;t0)eI=!0,eB=!0}function e2(){var e=eP;eP=[],e.forEach(function(e){e._PSD.onunhandled.call(null,e._value,e)});for(var t=eH.slice(0),n=t.length;n;)t[--n]()}function e3(e){return new eq(ek,!1,e)}function e4(e,t){var n=eU;return function(){var r=e0(),i=eU;try{return tl(n,!0),e.apply(this,arguments)}catch(e){t&&t(e)}finally{tl(i,!1),r&&e1()}}}S(eq.prototype,{then:eW,_then:function(e,t){e$(this,new eK(null,null,e,t,eU))},catch:function(e){if(1==arguments.length)return this.then(null,e);var t=arguments[0],n=arguments[1];return"function"==typeof t?this.then(null,function(e){return e instanceof t?n(e):e3(e)}):this.then(null,function(e){return e&&e.name===t?n(e):e3(e)})},finally:function(e){return this.then(function(t){return e(),t},function(t){return e(),e3(t)})},stack:{get:function(){if(this._stack)return this._stack;try{eD=!0;var e=(function e(t,n,r){if(n.length===r)return n;var i="";if(!1===t._state){var o,a,l=t._value;null!=l?(o=l.name||"Error",a=l.message||l,i=en(l,0)):(o=l,a=""),n.push(o+(a?": "+a:"")+i)}return Z&&((i=en(t._stackHolder,2))&&-1===n.indexOf(i)&&n.push(i),t._prev&&e(t._prev,n,r)),n})(this,[],20).join("\nFrom previous: ");return null!==this._state&&(this._stack=e),e}finally{eD=!1}}},timeout:function(e,t){var n=this;return e<1/0?new eq(function(r,i){var o=setTimeout(function(){return i(new ed.Timeout(t))},e);n.then(r,i).finally(clearTimeout.bind(null,o))}):this}}),"undefined"!=typeof Symbol&&Symbol.toStringTag&&E(eq.prototype,Symbol.toStringTag,"Dexie.Promise"),eF.env=tu(),S(eq,{all:function(){var e=$.apply(null,arguments).map(ti);return new eq(function(t,n){0===e.length&&t([]);var r=e.length;e.forEach(function(i,o){return eq.resolve(i).then(function(n){e[o]=n,--r||t(e)},n)})})},resolve:function(e){if(e instanceof eq)return e;if(e&&"function"==typeof e.then)return new eq(function(t,n){e.then(t,n)});var t=new eq(ek,!0,e);return eZ(t,eL),t},reject:e3,race:function(){var e=$.apply(null,arguments).map(ti);return new eq(function(t,n){e.map(function(e){return eq.resolve(e).then(t,n)})})},PSD:{get:function(){return eU},set:function(e){return eU=e}},totalEchoes:{get:function(){return e9}},newPSD:tt,usePSD:ts,scheduler:{get:function(){return eO},set:function(e){eO=e}},rejectionMapper:{get:function(){return ej},set:function(e){ej=e}},follow:function(e,t){return new eq(function(n,r){return tt(function(t,n){var r=eU;r.unhandleds=[],r.onunhandled=n,r.finalize=em(function(){var e,r=this;e=function(){0===r.unhandleds.length?t():n(r.unhandleds[0])},eH.push(function t(){e(),eH.splice(eH.indexOf(t),1)}),++eY,eO(function(){0==--eY&&e2()},[])},r.finalize),e()},t,n,r)})}}),eT&&(eT.allSettled&&E(eq,"allSettled",function(){var e=$.apply(null,arguments).map(ti);return new eq(function(t){0===e.length&&t([]);var n=e.length,r=Array(n);e.forEach(function(e,i){return eq.resolve(e).then(function(e){return r[i]={status:"fulfilled",value:e}},function(e){return r[i]={status:"rejected",reason:e}}).then(function(){return--n||t(r)})})})}),eT.any&&"undefined"!=typeof AggregateError&&E(eq,"any",function(){var e=$.apply(null,arguments).map(ti);return new eq(function(t,n){0===e.length&&n(AggregateError([]));var r=e.length,i=Array(r);e.forEach(function(e,o){return eq.resolve(e).then(function(e){return t(e)},function(e){i[o]=e,--r||n(AggregateError(i))})})})}));var e5={awaits:0,echoes:0,id:0},e6=0,e8=[],e7=0,e9=0,te=0;function tt(e,t,n,r){var i=eU,o=Object.create(i);o.parent=i,o.ref=0,o.global=!1,o.id=++te;var a=eF.env;o.env=eA?{Promise:eq,PromiseProp:{value:eq,configurable:!0,writable:!0},all:eq.all,race:eq.race,allSettled:eq.allSettled,any:eq.any,resolve:eq.resolve,reject:eq.reject,nthen:td(a.nthen,o),gthen:td(a.gthen,o)}:{},t&&b(o,t),++i.ref,o.finalize=function(){--this.parent.ref||this.parent.finalize()};var l=ts(o,e,n,r);return 0===o.ref&&o.finalize(),l}function tn(){return e5.id||(e5.id=++e6),++e5.awaits,e5.echoes+=100,e5.id}function tr(){return!!e5.awaits&&(0==--e5.awaits&&(e5.id=0),e5.echoes=100*e5.awaits,!0)}function ti(e){return e5.echoes&&e&&e.constructor===eT?(tn(),e.then(function(e){return tr(),e},function(e){return tr(),tv(e)})):e}function to(e){++e9,e5.echoes&&0!=--e5.echoes||(e5.echoes=e5.id=0),e8.push(eU),tl(e,!0)}function ta(){var e=e8[e8.length-1];e8.pop(),tl(e,!1)}function tl(e,t){var n,r=eU;if((t?!e5.echoes||e7++&&e===eU:!e7||--e7&&e===eU)||(n=t?to.bind(null,e):ta,eN.call(eC,n)),e!==eU&&(eU=e,r===eF&&(eF.env=tu()),eA)){var i=eF.env.Promise,o=e.env;eE.then=o.nthen,i.prototype.then=o.gthen,(r.global||e.global)&&(Object.defineProperty(m,"Promise",o.PromiseProp),i.all=o.all,i.race=o.race,i.resolve=o.resolve,i.reject=o.reject,o.allSettled&&(i.allSettled=o.allSettled),o.any&&(i.any=o.any))}}function tu(){var e=m.Promise;return eA?{Promise:e,PromiseProp:Object.getOwnPropertyDescriptor(m,"Promise"),all:e.all,race:e.race,allSettled:e.allSettled,any:e.any,resolve:e.resolve,reject:e.reject,nthen:eE.then,gthen:e.prototype.then}:{}}function ts(e,t,n,r,i){var o=eU;try{return tl(e,!0),t(n,r,i)}finally{tl(o,!1)}}function tc(e,t,n,r){return"function"!=typeof e?e:function(){var i,o=eU;n&&tn(),tl(t,!0);try{return e.apply(this,arguments)}finally{tl(o,!1),r&&(i=tr,eN.call(eC,i))}}}function td(e,t){return function(n,r){return e.call(this,tc(n,t),tc(r,t))}}-1===(""+eN).indexOf("[native code]")&&(tn=tr=ev);var tf="unhandledrejection";function th(e,t){var n;try{n=t.onuncatched(e)}catch(e){}if(!1!==n)try{var r,i={promise:t,reason:e};if(m.document&&document.createEvent?((r=document.createEvent("Event")).initEvent(tf,!0,!0),b(r,i)):m.CustomEvent&&(r=new CustomEvent(tf,{detail:i}),b(r,i)),r&&m.dispatchEvent&&(dispatchEvent(r),!m.PromiseRejectionEvent&&m.onunhandledrejection))try{m.onunhandledrejection(r)}catch(e){}Z&&r&&!r.defaultPrevented&&console.warn("Unhandled rejection: "+(e.stack||e))}catch(e){}}var tv=eq.reject,tp="3.2.4",tg=String.fromCharCode(65535),tm=-1/0,ty="Invalid key provided. Keys must be of type string, number, Date or Array.",t_="String expected.",tb=[],tw="undefined"!=typeof navigator&&/(MSIE|Trident|Edge)/.test(navigator.userAgent),tx=function(e){return!/(dexie\.js|dexie\.min\.js)/.test(e)},tk="__dbnames",tS="readonly",tC="readwrite";function tE(e,t){return e?t?function(){return e.apply(this,arguments)&&t.apply(this,arguments)}:e:t}var tV={type:3,lower:-1/0,lowerOpen:!1,upper:[[]],upperOpen:!1};function tN(e){return"string"!=typeof e||/\./.test(e)?function(e){return e}:function(t){return void 0===t[e]&&e in t&&(t=H(t),delete t[e]),t}}var tT=((r=function(){}).prototype._trans=function(e,t,n){var r=function(e,n,r){if(!r.schema[o])throw new ed.NotFound("Table "+o+" not part of transaction");return t(r.idbtrans,r)},i=this._tx||eU.trans,o=this.name,a=e0();try{return i&&i.db===this.db?i===eU.trans?i._promise(e,r,n):tt(function(){return i._promise(e,r,n)},{trans:i,transless:eU.transless||eU}):function e(t,n,r,i){if(t.idbdb&&(t._state.openComplete||eU.letThrough||t._vip)){var o=t._createTransaction(n,r,t._dbSchema);try{o.create(),t._state.PR1398_maxLoop=3}catch(o){if(o.name===ec.InvalidState&&t.isOpen()&&--t._state.PR1398_maxLoop>0)return console.warn("Dexie: Need to reopen db"),t._close(),t.open().then(function(){return e(t,n,r,i)});return tv(o)}return o._promise(n,function(e,t){return tt(function(){return eU.trans=o,i(e,t,o)})}).then(function(e){return o._completion.then(function(){return e})})}if(t._state.openComplete)return tv(new ed.DatabaseClosed(t._state.dbOpenError));if(!t._state.isBeingOpened){if(!t._options.autoOpen)return tv(new ed.DatabaseClosed);t.open().catch(ev)}return t._state.dbReadyPromise.then(function(){return e(t,n,r,i)})}(this.db,e,[this.name],r)}finally{a&&e1()}},r.prototype.get=function(e,t){var n=this;return e&&e.constructor===Object?this.where(e).first(t):this._trans("readonly",function(t){return n.core.get({trans:t,key:e}).then(function(e){return n.hook.reading.fire(e)})}).then(t)},r.prototype.where=function(e){var t=function(e,t){try{return 0===o.cmp(e,t)}catch(e){return!1}};if("string"==typeof e)return new this.db.WhereClause(this,e);if(_(e))return new this.db.WhereClause(this,"["+e.join("+")+"]");var n=y(e);if(1===n.length)return this.where(n[0]).equals(e[n[0]]);var r=this.schema.indexes.concat(this.schema.primKey).filter(function(e){return e.compound&&n.every(function(t){return e.keyPath.indexOf(t)>=0})&&e.keyPath.every(function(e){return n.indexOf(e)>=0})})[0];if(r&&this.db._maxKey!==tg)return this.where(r.name).equals(r.keyPath.map(function(t){return e[t]}));!r&&Z&&console.warn("The query "+JSON.stringify(e)+" on "+this.name+" would benefit of a compound index ["+n.join("+")+"]");var i=this.schema.idxByName,o=this.db._deps.indexedDB,a=n.reduce(function(n,r){var o=n[0],a=n[1],l=i[r],u=e[r];return[o||l,o||!l?tE(a,l&&l.multi?function(e){var n=P(e,r);return _(n)&&n.some(function(e){return t(u,e)})}:function(e){return t(u,P(e,r))}):a]},[null,null]),l=a[0],u=a[1];return l?this.where(l.name).equals(e[l.keyPath]).filter(u):r?this.filter(u):this.where(n).equals("")},r.prototype.filter=function(e){return this.toCollection().and(e)},r.prototype.count=function(e){return this.toCollection().count(e)},r.prototype.offset=function(e){return this.toCollection().offset(e)},r.prototype.limit=function(e){return this.toCollection().limit(e)},r.prototype.each=function(e){return this.toCollection().each(e)},r.prototype.toArray=function(e){return this.toCollection().toArray(e)},r.prototype.toCollection=function(){return new this.db.Collection(new this.db.WhereClause(this))},r.prototype.orderBy=function(e){return new this.db.Collection(new this.db.WhereClause(this,_(e)?"["+e.join("+")+"]":e))},r.prototype.reverse=function(){return this.toCollection().reverse()},r.prototype.mapToClass=function(e){this.schema.mappedClass=e;var t=function(t){if(!t)return t;var n=Object.create(e.prototype);for(var r in t)if(k(t,r))try{n[r]=t[r]}catch(e){}return n};return this.schema.readHook&&this.hook.reading.unsubscribe(this.schema.readHook),this.schema.readHook=t,this.hook("reading",t),e},r.prototype.defineClass=function(){return this.mapToClass(function(e){b(this,e)})},r.prototype.add=function(e,t){var n=this,r=this.schema.primKey,i=r.auto,o=r.keyPath,a=e;return o&&i&&(a=tN(o)(e)),this._trans("readwrite",function(e){return n.core.mutate({trans:e,type:"add",keys:null!=t?[t]:null,values:[a]})}).then(function(e){return e.numFailures?eq.reject(e.failures[0]):e.lastResult}).then(function(t){if(o)try{M(e,o,t)}catch(e){}return t})},r.prototype.update=function(e,t){if("object"!=typeof e||_(e))return this.where(":id").equals(e).modify(t);var n=P(e,this.schema.primKey.keyPath);if(void 0===n)return tv(new ed.InvalidArgument("Given object does not contain its primary key"));try{"function"!=typeof t?y(t).forEach(function(n){M(e,n,t[n])}):t(e,{value:e,primKey:n})}catch(e){}return this.where(":id").equals(n).modify(t)},r.prototype.put=function(e,t){var n=this,r=this.schema.primKey,i=r.auto,o=r.keyPath,a=e;return o&&i&&(a=tN(o)(e)),this._trans("readwrite",function(e){return n.core.mutate({trans:e,type:"put",values:[a],keys:null!=t?[t]:null})}).then(function(e){return e.numFailures?eq.reject(e.failures[0]):e.lastResult}).then(function(t){if(o)try{M(e,o,t)}catch(e){}return t})},r.prototype.delete=function(e){var t=this;return this._trans("readwrite",function(n){return t.core.mutate({trans:n,type:"delete",keys:[e]})}).then(function(e){return e.numFailures?eq.reject(e.failures[0]):void 0})},r.prototype.clear=function(){var e=this;return this._trans("readwrite",function(t){return e.core.mutate({trans:t,type:"deleteRange",range:tV})}).then(function(e){return e.numFailures?eq.reject(e.failures[0]):void 0})},r.prototype.bulkGet=function(e){var t=this;return this._trans("readonly",function(n){return t.core.getMany({keys:e,trans:n}).then(function(e){return e.map(function(e){return t.hook.reading.fire(e)})})})},r.prototype.bulkAdd=function(e,t,n){var r=this,i=Array.isArray(t)?t:void 0,o=(n=n||(i?void 0:t))?n.allKeys:void 0;return this._trans("readwrite",function(t){var n=r.schema.primKey,a=n.auto,l=n.keyPath;if(l&&i)throw new ed.InvalidArgument("bulkAdd(): keys argument invalid on tables with inbound keys");if(i&&i.length!==e.length)throw new ed.InvalidArgument("Arguments objects and keys must have the same length");var u=e.length,s=l&&a?e.map(tN(l)):e;return r.core.mutate({trans:t,type:"add",keys:i,values:s,wantResults:o}).then(function(e){var t=e.numFailures,n=e.results,i=e.lastResult,a=e.failures;if(0===t)return o?n:i;throw new es(r.name+".bulkAdd(): "+t+" of "+u+" operations failed",a)})})},r.prototype.bulkPut=function(e,t,n){var r=this,i=Array.isArray(t)?t:void 0,o=(n=n||(i?void 0:t))?n.allKeys:void 0;return this._trans("readwrite",function(t){var n=r.schema.primKey,a=n.auto,l=n.keyPath;if(l&&i)throw new ed.InvalidArgument("bulkPut(): keys argument invalid on tables with inbound keys");if(i&&i.length!==e.length)throw new ed.InvalidArgument("Arguments objects and keys must have the same length");var u=e.length,s=l&&a?e.map(tN(l)):e;return r.core.mutate({trans:t,type:"put",keys:i,values:s,wantResults:o}).then(function(e){var t=e.numFailures,n=e.results,i=e.lastResult,a=e.failures;if(0===t)return o?n:i;throw new es(r.name+".bulkPut(): "+t+" of "+u+" operations failed",a)})})},r.prototype.bulkDelete=function(e){var t=this,n=e.length;return this._trans("readwrite",function(n){return t.core.mutate({trans:n,type:"delete",keys:e})}).then(function(e){var r=e.numFailures,i=e.lastResult,o=e.failures;if(0===r)return i;throw new es(t.name+".bulkDelete(): "+r+" of "+n+" operations failed",o)})},r);function tA(e){var t=function(e,t,o){if("object"==typeof e)return n(e);t||(t=ew),o||(o=ev);var a={subscribers:[],fire:o,subscribe:function(e){-1===a.subscribers.indexOf(e)&&(a.subscribers.push(e),a.fire=t(a.fire,e))},unsubscribe:function(e){a.subscribers=a.subscribers.filter(function(t){return t!==e}),a.fire=a.subscribers.reduce(t,o)}};return r[e]=i[e]=a,a},n=function(e){y(e).forEach(function(n){var r=e[n];if(_(r))t(n,e[n][0],e[n][1]);else if("asap"===r)var i=t(n,ep,function(){for(var e=arguments.length,t=Array(e);e--;)t[e]=arguments[e];i.subscribers.forEach(function(e){I(function(){e.apply(null,t)})})});else throw new ed.InvalidArgument("Invalid event config")})},r={},i=function(t,n){if(n){for(var i=arguments.length,o=Array(i-1);--i;)o[i-1]=arguments[i];return r[t].subscribe.apply(null,o),e}if("string"==typeof t)return r[t]};i.addEventType=t;for(var o=1,a=arguments.length;ot?1:er?l:0},r=e.split(".").reverse(),i=r[0],o=r.length-1;function a(e,t){return t?a(e[r[t]],t-1):e[i]}var l="next"===this._ctx.dir?1:-1;return this.toArray(function(e){return e.sort(n)}).then(t)},i.prototype.toArray=function(e){var t=this;return this._read(function(e){var n=t._ctx;if("next"===n.dir&&tR(n,!0)&&n.limit>0){var r=n.valueMapper,i=tB(n,n.table.core.schema);return n.table.core.query({trans:e,limit:n.limit,values:!0,query:{index:i,range:n.range}}).then(function(e){var t=e.result;return r?t.map(r):t})}var o=[];return tM(n,function(e){return o.push(e)},e,n.table.core).then(function(){return o})},e)},i.prototype.offset=function(e){var t=this._ctx;return e<=0||(t.offset+=e,tR(t)?tI(t,function(){var t=e;return function(e,n){return 0===t||(1===t?--t:n(function(){e.advance(t),t=0}),!1)}}):tI(t,function(){var t=e;return function(){return--t<0}})),this},i.prototype.limit=function(e){return this._ctx.limit=Math.min(this._ctx.limit,e),tI(this._ctx,function(){var t=e;return function(e,n,r){return--t<=0&&n(r),t>=0}},!0),this},i.prototype.until=function(e,t){return tO(this._ctx,function(n,r,i){return!e(n.value)||(r(i),t)}),this},i.prototype.first=function(e){return this.limit(1).toArray(function(e){return e[0]}).then(e)},i.prototype.last=function(e){return this.reverse().first(e)},i.prototype.filter=function(e){var t;return tO(this._ctx,function(t){return e(t.value)}),(t=this._ctx).isMatch=tE(t.isMatch,e),this},i.prototype.and=function(e){return this.filter(e)},i.prototype.or=function(e){return new this.db.WhereClause(this._ctx.table,e,this)},i.prototype.reverse=function(){return this._ctx.dir="prev"===this._ctx.dir?"next":"prev",this._ondirectionchange&&this._ondirectionchange(this._ctx.dir),this},i.prototype.desc=function(){return this.reverse()},i.prototype.eachKey=function(e){var t=this._ctx;return t.keysOnly=!t.isMatch,this.each(function(t,n){e(n.key,n)})},i.prototype.eachUniqueKey=function(e){return this._ctx.unique="unique",this.eachKey(e)},i.prototype.eachPrimaryKey=function(e){var t=this._ctx;return t.keysOnly=!t.isMatch,this.each(function(t,n){e(n.primaryKey,n)})},i.prototype.keys=function(e){var t=this._ctx;t.keysOnly=!t.isMatch;var n=[];return this.each(function(e,t){n.push(t.key)}).then(function(){return n}).then(e)},i.prototype.primaryKeys=function(e){var t=this._ctx;if("next"===t.dir&&tR(t,!0)&&t.limit>0)return this._read(function(e){var n=tB(t,t.table.core.schema);return t.table.core.query({trans:e,values:!1,limit:t.limit,query:{index:n,range:t.range}})}).then(function(e){return e.result}).then(e);t.keysOnly=!t.isMatch;var n=[];return this.each(function(e,t){n.push(t.primaryKey)}).then(function(){return n}).then(e)},i.prototype.uniqueKeys=function(e){return this._ctx.unique="unique",this.keys(e)},i.prototype.firstKey=function(e){return this.limit(1).keys(function(e){return e[0]}).then(e)},i.prototype.lastKey=function(e){return this.reverse().firstKey(e)},i.prototype.distinct=function(){var e=this._ctx,t=e.index&&e.table.schema.idxByName[e.index];if(!t||!t.multi)return this;var n={};return tO(this._ctx,function(e){var t=e.primaryKey.toString(),r=k(n,t);return n[t]=!0,!r}),this},i.prototype.modify=function(e){var t=this,n=this._ctx;return this._write(function(r){if("function"==typeof e)i=e;else{var i,o=y(e),a=o.length;i=function(t){for(var n=!1,r=0;r0&&l.mutate({trans:r,type:"add",values:h}).then(function(e){for(var t in e.failures)y.splice(parseInt(t),1);g(h.length,e)})).then(function(){return(p.length>0||x&&"object"==typeof e)&&l.mutate({trans:r,type:"put",keys:m,values:p,criteria:x,changeSpec:"function"!=typeof e&&e}).then(function(e){return g(p.length,e)})}).then(function(){return(y.length>0||x&&e===tY)&&l.mutate({trans:r,type:"delete",keys:y,criteria:x}).then(function(e){return g(y.length,e)})}).then(function(){return t.length>a+u&&o(a+d)})})};return o(0).then(function(){if(f.length>0)throw new eu("Error modifying one or more objects",f,h,p);return t.length})})})},i.prototype.delete=function(){var e=this._ctx,t=e.range;return tR(e)&&(e.isPrimKey&&!tw||3===t.type)?this._write(function(n){var r=e.table.core.schema.primaryKey;return e.table.core.count({trans:n,query:{index:r,range:t}}).then(function(r){return e.table.core.mutate({trans:n,type:"deleteRange",range:t}).then(function(e){var t=e.failures;e.lastResult,e.results;var n=e.numFailures;if(n)throw new eu("Could not delete some values",Object.keys(t).map(function(e){return t[e]}),r-n);return r-n})})}):this.modify(tY)},i),tY=function(e,t){return t.value=null};function tH(e,t){return et?-1:e===t?0:1}function tW(e,t,n){var r=e instanceof tJ?new e.Collection(e):e;return r._ctx.error=n?new n(t):TypeError(t),r}function tK(e){return new e.Collection(e,function(){return t$("")}).limit(0)}function tX(e,t,n,r){var i,o,a,l,u,s,c,d=function(e){i="next"===e?function(e){return e.toUpperCase()}:function(e){return e.toLowerCase()},o="next"===e?function(e){return e.toLowerCase()}:function(e){return e.toUpperCase()},a="next"===e?tH:tq;var t=n.map(function(e){return{lower:o(e),upper:i(e)}}).sort(function(e,t){return a(e.lower,t.lower)});l=t.map(function(e){return e.upper}),u=t.map(function(e){return e.lower}),s=e,c="next"===e?"":r},f=n.length;if(!n.every(function(e){return"string"==typeof e}))return tW(e,t_);d("next");var h=new e.Collection(e,function(){return tG(l[0],u[f-1]+r)});h._ondirectionchange=function(e){d(e)};var p=0;return h._addAlgorithm(function(e,n,r){var i=e.key;if("string"!=typeof i)return!1;var d=o(i);if(t(d,u,p))return!0;for(var h=null,g=p;gi(e[u],n[u]))return e.substr(0,u)+n[u]+n.substr(u+1);if(0>i(e[u],r[u]))return e.substr(0,u)+r[u]+n.substr(u+1);if(l>=0)return e.substr(0,l)+t[l]+n.substr(l+1);return null}0>i(e[u],s)&&(l=u)}return a0)&&(h=m)}return n(null!==h?function(){e.continue(h+c)}:r),!1}),h}function tG(e,t,n,r){return{type:2,lower:e,upper:t,lowerOpen:n,upperOpen:r}}function t$(e){return{type:1,lower:e,upper:e}}var tJ=(Object.defineProperty((o=function(){}).prototype,"Collection",{get:function(){return this._ctx.table.db.Collection},enumerable:!1,configurable:!0}),o.prototype.between=function(e,t,n,r){n=!1!==n,r=!0===r;try{if(this._cmp(e,t)>0||0===this._cmp(e,t)&&(n||r)&&!(n&&r))return tK(this);return new this.Collection(this,function(){return tG(e,t,!n,!r)})}catch(e){return tW(this,ty)}},o.prototype.equals=function(e){return null==e?tW(this,ty):new this.Collection(this,function(){return t$(e)})},o.prototype.above=function(e){return null==e?tW(this,ty):new this.Collection(this,function(){return tG(e,void 0,!0)})},o.prototype.aboveOrEqual=function(e){return null==e?tW(this,ty):new this.Collection(this,function(){return tG(e,void 0,!1)})},o.prototype.below=function(e){return null==e?tW(this,ty):new this.Collection(this,function(){return tG(void 0,e,!1,!0)})},o.prototype.belowOrEqual=function(e){return null==e?tW(this,ty):new this.Collection(this,function(){return tG(void 0,e)})},o.prototype.startsWith=function(e){return"string"!=typeof e?tW(this,t_):this.between(e,e+tg,!0,!0)},o.prototype.startsWithIgnoreCase=function(e){return""===e?this.startsWith(e):tX(this,function(e,t){return 0===e.indexOf(t[0])},[e],tg)},o.prototype.equalsIgnoreCase=function(e){return tX(this,function(e,t){return e===t[0]},[e],"")},o.prototype.anyOfIgnoreCase=function(){var e=$.apply(G,arguments);return 0===e.length?tK(this):tX(this,function(e,t){return -1!==t.indexOf(e)},e,"")},o.prototype.startsWithAnyOfIgnoreCase=function(){var e=$.apply(G,arguments);return 0===e.length?tK(this):tX(this,function(e,t){return t.some(function(t){return 0===e.indexOf(t)})},e,tg)},o.prototype.anyOf=function(){var e=this,t=$.apply(G,arguments),n=this._cmp;try{t.sort(n)}catch(e){return tW(this,ty)}if(0===t.length)return tK(this);var r=new this.Collection(this,function(){return tG(t[0],t[t.length-1])});r._ondirectionchange=function(r){n="next"===r?e._ascending:e._descending,t.sort(n)};var i=0;return r._addAlgorithm(function(e,r,o){for(var a=e.key;n(a,t[i])>0;)if(++i===t.length)return r(o),!1;return 0===n(a,t[i])||(r(function(){e.continue(t[i])}),!1)}),r},o.prototype.notEqual=function(e){return this.inAnyRange([[tm,e],[e,this.db._maxKey]],{includeLowers:!1,includeUppers:!1})},o.prototype.noneOf=function(){var e=$.apply(G,arguments);if(0===e.length)return new this.Collection(this);try{e.sort(this._ascending)}catch(e){return tW(this,ty)}var t=e.reduce(function(e,t){return e?e.concat([[e[e.length-1][1],t]]):[[tm,t]]},null);return t.push([e[e.length-1],this.db._maxKey]),this.inAnyRange(t,{includeLowers:!1,includeUppers:!1})},o.prototype.inAnyRange=function(e,t){var n,r=function(e,t){return f(e[0],t[0])},i=this,o=this._cmp,a=this._ascending,l=this._descending,u=this._min,s=this._max;if(0===e.length)return tK(this);if(!e.every(function(e){return void 0!==e[0]&&void 0!==e[1]&&0>=a(e[0],e[1])}))return tW(this,"First argument to inAnyRange() must be an Array of two-value Arrays [lower,upper] where upper must not be lower than lower",ed.InvalidArgument);var c=!t||!1!==t.includeLowers,d=t&&!0===t.includeUppers,f=a;try{(n=e.reduce(function(e,t){for(var n=0,r=e.length;no(t[0],i[1])&&o(t[1],i[0])>0){i[0]=u(i[0],t[0]),i[1]=s(i[1],t[1]);break}}return n===r&&e.push(t),e},[])).sort(r)}catch(e){return tW(this,ty)}var h=0,p=d?function(e){return a(e,n[h][1])>0}:function(e){return a(e,n[h][1])>=0},g=c?function(e){return l(e,n[h][0])>0}:function(e){return l(e,n[h][0])>=0},m=p,y=new this.Collection(this,function(){return tG(n[0][0],n[n.length-1][1],!c,!d)});return y._ondirectionchange=function(e){"next"===e?(m=p,f=a):(m=g,f=l),n.sort(r)},y._addAlgorithm(function(e,t,r){for(var o=e.key;m(o);)if(++h===n.length)return t(r),!1;return!(p(o)||g(o))||0!==i._cmp(o,n[h][1])&&0!==i._cmp(o,n[h][0])&&(t(function(){f===a?e.continue(n[h][0]):e.continue(n[h][1])}),!1)}),y},o.prototype.startsWithAnyOf=function(){var e=$.apply(G,arguments);return e.every(function(e){return"string"==typeof e})?0===e.length?tK(this):this.inAnyRange(e.map(function(e){return[e,e+tg]})):tW(this,"startsWithAnyOf() only works with strings")},o);function tZ(e){return e4(function(t){return tQ(t),e(t.target.error),!1})}function tQ(e){e.stopPropagation&&e.stopPropagation(),e.preventDefault&&e.preventDefault()}var t0="storagemutated",t1="x-storagemutated-1",t2=tA(null,t0),t3=((a=function(){}).prototype._lock=function(){return O(!eU.global),++this._reculock,1!==this._reculock||eU.global||(eU.lockOwnerFor=this),this},a.prototype._unlock=function(){if(O(!eU.global),0==--this._reculock)for(eU.global||(eU.lockOwnerFor=null);this._blockedFuncs.length>0&&!this._locked();){var e=this._blockedFuncs.shift();try{ts(e[1],e[0])}catch(e){}}return this},a.prototype._locked=function(){return this._reculock&&eU.lockOwnerFor!==this},a.prototype.create=function(e){var t=this;if(!this.mode)return this;var n=this.db.idbdb,r=this.db._state.dbOpenError;if(O(!this.idbtrans),!e&&!n)switch(r&&r.name){case"DatabaseClosedError":throw new ed.DatabaseClosed(r);case"MissingAPIError":throw new ed.MissingAPI(r.message,r);default:throw new ed.OpenFailed(r)}if(!this.active)throw new ed.TransactionInactive;return O(null===this._completion._state),(e=this.idbtrans=e||(this.db.core?this.db.core.transaction(this.storeNames,this.mode,{durability:this.chromeTransactionDurability}):n.transaction(this.storeNames,this.mode,{durability:this.chromeTransactionDurability}))).onerror=e4(function(n){tQ(n),t._reject(e.error)}),e.onabort=e4(function(n){tQ(n),t.active&&t._reject(new ed.Abort(e.error)),t.active=!1,t.on("abort").fire(n)}),e.oncomplete=e4(function(){t.active=!1,t._resolve(),"mutatedParts"in e&&t2.storagemutated.fire(e.mutatedParts)}),this},a.prototype._promise=function(e,t,n){var r=this;if("readwrite"===e&&"readwrite"!==this.mode)return tv(new ed.ReadOnly("Transaction is readonly"));if(!this.active)return tv(new ed.TransactionInactive);if(this._locked())return new eq(function(i,o){r._blockedFuncs.push([function(){r._promise(e,t,n).then(i,o)},eU])});if(n)return tt(function(){var e=new eq(function(e,n){r._lock();var i=t(e,n,r);i&&i.then&&i.then(e,n)});return e.finally(function(){return r._unlock()}),e._lib=!0,e});var i=new eq(function(e,n){var i=t(e,n,r);i&&i.then&&i.then(e,n)});return i._lib=!0,i},a.prototype._root=function(){return this.parent?this.parent._root():this},a.prototype.waitFor=function(e){var t=this._root(),n=eq.resolve(e);if(t._waitingFor)t._waitingFor=t._waitingFor.then(function(){return n});else{t._waitingFor=n,t._waitingQueue=[];var r=t.idbtrans.objectStore(t.storeNames[0]);!function e(){for(++t._spinCount;t._waitingQueue.length;)t._waitingQueue.shift()();t._waitingFor&&(r.get(-1/0).onsuccess=e)}()}var i=t._waitingFor;return new eq(function(e,r){n.then(function(n){return t._waitingQueue.push(e4(e.bind(null,n)))},function(e){return t._waitingQueue.push(e4(r.bind(null,e)))}).finally(function(){t._waitingFor===i&&(t._waitingFor=null)})})},a.prototype.abort=function(){this.active&&(this.active=!1,this.idbtrans&&this.idbtrans.abort(),this._reject(new ed.Abort))},a.prototype.table=function(e){var t=this._memoizedTables||(this._memoizedTables={});if(k(t,e))return t[e];var n=this.schema[e];if(!n)throw new ed.NotFound("Table "+e+" not part of transaction");var r=new this.db.Table(e,n,this);return r.core=this.db.core.table(e),t[e]=r,r},a);function t4(e,t,n,r,i,o,a){return{name:e,keyPath:t,unique:n,multi:r,auto:i,compound:o,src:(n&&!a?"&":"")+(r?"*":"")+(i?"++":"")+t5(t)}}function t5(e){return"string"==typeof e?e:e?"["+[].join.call(e,"+")+"]":""}function t6(e,t,n){return{name:e,primKey:t,indexes:n,mappedClass:null,idxByName:B(n,function(e){return[e.name,e]})}}var t8=function(e){try{return e.only([[]]),t8=function(){return[[]]},[[]]}catch(e){return t8=function(){return tg},tg}};function t7(e){return null==e?function(){}:"string"==typeof e?1===e.split(".").length?function(t){return t[e]}:function(t){return P(t,e)}:function(t){return P(t,e)}}function t9(e){return[].slice.call(e)}var ne=0;function nt(e){return null==e?":id":"string"==typeof e?e:"["+e.join("+")+"]"}function nn(e,t){var n,r,i,o,a,l,u,s,c,d,f,h,g=e._novip,m=t.db,y=(n=g._middlewares,i=(r=g._deps).IDBKeyRange,r.indexedDB,{dbcore:(o=function(e){if(3===e.type)return null;if(4===e.type)throw Error("Cannot convert never type to IDBKeyRange");var t=e.lower,n=e.upper,r=e.lowerOpen,o=e.upperOpen;return void 0===t?void 0===n?null:i.upperBound(n,!!o):void 0===n?i.lowerBound(t,!!r):i.bound(t,n,!!r,!!o)},a=function(e){var t,n=e.name;return{name:n,schema:e,mutate:function(e){var t=e.trans,r=e.type,i=e.keys,a=e.values,l=e.range;return new Promise(function(e,u){e=e4(e);var s,c=t.objectStore(n),d=null==c.keyPath,f="put"===r||"add"===r;if(!f&&"delete"!==r&&"deleteRange"!==r)throw Error("Invalid operation type: "+r);var h=(i||a||{length:1}).length;if(i&&a&&i.length!==a.length)throw Error("Given keys array must have same length as given values array.");if(0===h)return e({numFailures:0,failures:{},results:[],lastResult:void 0});var p=[],g=[],m=0,y=function(e){++m,tQ(e)};if("deleteRange"===r){if(4===l.type)return e({numFailures:m,failures:g,results:[],lastResult:void 0});3===l.type?p.push(s=c.clear()):p.push(s=c.delete(o(l)))}else{var _=f?d?[a,i]:[a,null]:[i,null],b=_[0],w=_[1];if(f)for(var x=0;x0&&"getAll"in t.objectStore(l[0])&&!("undefined"!=typeof navigator&&/Safari/.test(navigator.userAgent)&&!/(Chrome\/|Edge\/)/.test(navigator.userAgent)&&[].concat(navigator.userAgent.match(/Safari\/(\d*)/))[1]<604)}).schema,c=u.hasGetAll,d=s.tables.map(function(e){return a(e)}),f={},d.forEach(function(e){return f[e.name]=e}),h={stack:"dbcore",transaction:m.transaction.bind(m),table:function(e){if(!f[e])throw Error("Table '"+e+"' not found");return f[e]},MIN_KEY:-1/0,MAX_KEY:t8(i),schema:s},n.dbcore.reduce(function(e,t){var n=t.create;return p(p({},e),n(e))},h))});g.core=y.dbcore,g.tables.forEach(function(e){var t=e.name;g.core.schema.tables.some(function(e){return e.name===t})&&(e.core=g.core.table(t),g[t]instanceof g.Table&&(g[t].core=e.core))})}function nr(e,t,n,r){var i=e._novip;n.forEach(function(e){var n=r[e];t.forEach(function(t){var r=T(t,e);(!r||"value"in r&&void 0===r.value)&&(t===i.Transaction.prototype||t instanceof i.Transaction?E(t,e,{get:function(){return this.table(e)},set:function(t){C(this,e,{value:t,writable:!0,configurable:!0,enumerable:!0})}}):t[e]=new i.Table(e,n))})})}function ni(e,t){var n=e._novip;t.forEach(function(e){for(var t in e)e[t]instanceof n.Table&&delete e[t]})}function no(e,t){return e._cfg.version-t._cfg.version}function na(e,t){var n,r={del:[],add:[],change:[]};for(n in e)t[n]||r.del.push(n);for(n in t){var i=e[n],o=t[n];if(i){var a={name:n,def:o,recreate:!1,del:[],add:[],change:[]};if(""+(i.primKey.keyPath||"")==""+(o.primKey.keyPath||"")&&(i.primKey.auto===o.primKey.auto||tw)){var l=i.idxByName,u=o.idxByName,s=void 0;for(s in l)u[s]||a.del.push(s);for(s in u){var c=l[s],d=u[s];c?c.src!==d.src&&a.change.push(d):a.add.push(d)}(a.del.length>0||a.add.length>0||a.change.length>0)&&r.change.push(a)}else a.recreate=!0,r.change.push(a)}else r.add.push([n,o])}return r}function nl(e,t,n,r){var i=e.db.createObjectStore(t,n.keyPath?{keyPath:n.keyPath,autoIncrement:n.auto}:{autoIncrement:n.auto});return r.forEach(function(e){return nu(i,e)}),i}function nu(e,t){e.createIndex(t.name,t.keyPath,{unique:t.unique,multiEntry:t.multi})}function ns(e,t,n){var r={};return D(t.objectStoreNames,0).forEach(function(e){for(var t=n.objectStore(e),i=t.keyPath,o=t4(t5(i),i||"",!1,!1,!!t.autoIncrement,i&&"string"!=typeof i,!0),a=[],l=0;l0,c=p(p({},n),{isVirtual:s,keyTail:t,keyLength:u,extractKey:t7(e),unique:!s&&n.unique});return i.push(c),c.isPrimaryKey||a.push(c),u>1&&l(2===u?e[0]:e.slice(0,u-1),t+1,n),i.sort(function(e,t){return e.keyTail-t.keyTail}),c}var u=l(i.primaryKey.keyPath,0,i.primaryKey);o[":id"]=[u];for(var s=0,c=i.indexes;s0?Promise.reject(n.failures[0]):r.length1?t:e}:{d:0});else{var n=new nS;return e&&"d"in e&&b(n,e),n}};function nC(e,t,n){var r=tj(t,n);if(!isNaN(r)){if(r>0)throw RangeError();if(nk(e))return b(e,{from:t,to:n,d:1});var i=e.l,o=e.r;if(0>tj(n,e.from))return i?nC(i,t,n):e.l={from:t,to:n,d:1,l:null,r:null},nN(e);if(tj(t,e.to)>0)return o?nC(o,t,n):e.r={from:t,to:n,d:1,l:null,r:null},nN(e);0>tj(t,e.from)&&(e.from=t,e.l=null,e.d=o?o.d+1:1),tj(n,e.to)>0&&(e.to=n,e.r=null,e.d=e.l?e.l.d+1:1);var a=!e.r;i&&!e.l&&nE(e,i),o&&a&&nE(e,o)}}function nE(e,t){nk(t)||function e(t,n){var r=n.from,i=n.to,o=n.l,a=n.r;nC(t,r,i),o&&e(t,o),a&&e(t,a)}(e,t)}function nV(e){var t=nk(e)?null:{s:0,n:e};return{next:function(e){for(var n=arguments.length>0;t;)switch(t.s){case 0:if(t.s=1,n)for(;t.n.l&&0>tj(e,t.n.from);)t={up:t,n:t.n.l,s:1};else for(;t.n.l;)t={up:t,n:t.n.l,s:1};case 1:if(t.s=2,!n||0>=tj(e,t.n.to))return{value:t.n,done:!1};case 2:if(t.n.r){t.s=3,t={up:t,n:t.n.r,s:0};continue}case 3:t=t.up}return{done:!0}}}}function nN(e){var t,n,r=((null===(t=e.r)||void 0===t?void 0:t.d)||0)-((null===(n=e.l)||void 0===n?void 0:n.d)||0),i=r>1?"r":r<-1?"l":"";if(i){var o="r"===i?"l":"r",a=p({},e),l=e[i];e.from=l.from,e.to=l.to,e[i]=l[i],a[i]=l[o],e[o]=a,a.d=nT(a)}e.d=nT(e)}function nT(e){var t=e.r,n=e.l;return(t?n?Math.max(t.d,n.d):t.d:n?n.d:0)+1}S(nS.prototype,((c={add:function(e){return nE(this,e),this},addKey:function(e){return nC(this,e,e),this},addKeys:function(e){var t=this;return e.forEach(function(e){return nC(t,e,e)}),this}})[K]=function(){return nV(this)},c));var nA={stack:"dbcore",level:0,create:function(e){var t=e.schema.name,n=new nS(e.MIN_KEY,e.MAX_KEY);return p(p({},e),{table:function(r){var i=e.table(r),o=i.schema,a=o.primaryKey,l=a.extractKey,u=a.outbound,s=p(p({},i),{mutate:function(e){var a=e.trans,l=a.mutatedParts||(a.mutatedParts={}),u=function(e){var n="idb://"+t+"/"+r+"/"+e;return l[n]||(l[n]=new nS)},s=u(""),c=u(":dels"),d=e.type,f="deleteRange"===e.type?[e.range]:"delete"===e.type?[e.keys]:e.values.length<50?[[],e.values]:[],h=f[0],p=f[1],g=e.trans._cache;return i.mutate(e).then(function(e){if(_(h)){"delete"!==d&&(h=e.results),s.addKeys(h);var t=nw(h,g);t||"add"===d||c.addKeys(h),(t||p)&&function(e,t,n,r){t.indexes.forEach(function(t){var i=e(t.name||"");function o(e){return null!=e?t.extractKey(e):null}var a=function(e){return t.multiEntry&&_(e)?e.forEach(function(e){return i.addKey(e)}):i.addKey(e)};(n||r).forEach(function(e,t){var i=n&&o(n[t]),l=r&&o(r[t]);0!==tj(i,l)&&(null!=i&&a(i),null!=l&&a(l))})})}(u,o,t,p)}else if(h){var r={from:h.lower,to:h.upper};c.add(r),s.add(r)}else s.add(n),c.add(n),o.indexes.forEach(function(e){return u(e.name).add(n)});return e})}}),c=function(t){var n,r,i=t.query,o=i.index,a=i.range;return[o,new nS(null!==(n=a.lower)&&void 0!==n?n:e.MIN_KEY,null!==(r=a.upper)&&void 0!==r?r:e.MAX_KEY)]},d={get:function(e){return[a,new nS(e.key)]},getMany:function(e){return[a,new nS().addKeys(e.keys)]},count:c,query:c,openCursor:c};return y(d).forEach(function(e){s[e]=function(o){var a=eU.subscr;if(a){var s=function(e){var n="idb://"+t+"/"+r+"/"+e;return a[n]||(a[n]=new nS)},c=s(""),f=s(":dels"),h=d[e](o),g=h[0],m=h[1];if(s(g.name||"").add(m),!g.isPrimaryKey){if("count"===e)f.add(n);else{var y="query"===e&&u&&o.values&&i.query(p(p({},o),{values:!1}));return i[e].apply(this,arguments).then(function(t){if("query"===e){if(u&&o.values)return y.then(function(e){var n=e.result;return c.addKeys(n),t});var n=o.values?t.result.map(l):t.result;o.values?c.addKeys(n):f.addKeys(n)}else if("openCursor"===e){var r=o.values;return t&&Object.create(t,{key:{get:function(){return f.addKey(t.primaryKey),t.key}},primaryKey:{get:function(){var e=t.primaryKey;return f.addKey(e),e}},value:{get:function(){return r&&c.addKey(t.primaryKey),t.value}}})}return t})}}}return i[e].apply(this,arguments)}}),s}})}},nD=function(){function e(t,n){var r,i,o,a,l,u=this;this._middlewares={},this.verno=0;var s=e.dependencies;this._options=n=p({addons:e.addons,autoOpen:!0,indexedDB:s.indexedDB,IDBKeyRange:s.IDBKeyRange},n),this._deps={indexedDB:n.indexedDB,IDBKeyRange:n.IDBKeyRange};var c=n.addons;this._dbSchema={},this._versions=[],this._storeNames=[],this._allTables={},this.idbdb=null,this._novip=this;var d={dbOpenError:null,isBeingOpened:!1,onReadyBeingFired:null,openComplete:!1,dbReadyResolve:ev,dbReadyPromise:null,cancelOpen:ev,openCanceller:null,autoSchema:!0,PR1398_maxLoop:3};d.dbReadyPromise=new eq(function(e){d.dbReadyResolve=e}),d.openCanceller=new eq(function(e,t){d.cancelOpen=t}),this._state=d,this.name=t,this.on=tA(this,"populate","blocked","versionchange","close",{ready:[ex,ev]}),this.on.ready.subscribe=R(this.on.ready.subscribe,function(t){return function(n,r){e.vip(function(){var e=u._state;e.openComplete?(e.dbOpenError||eq.resolve().then(n),r&&t(n)):e.onReadyBeingFired?(e.onReadyBeingFired.push(n),r&&t(n)):(t(n),r||t(function e(){u.on.ready.unsubscribe(n),u.on.ready.unsubscribe(e)}))})}}),this.Collection=(r=this,tD(tz.prototype,function(e,t){this.db=r;var n=tV,i=null;if(t)try{n=t()}catch(e){i=e}var o=e._ctx,a=o.table,l=a.hook.reading.fire;this._ctx={table:a,index:o.index,isPrimKey:!o.index||a.schema.primKey.keyPath&&o.index===a.schema.primKey.name,range:n,keysOnly:!1,dir:"next",unique:"",algorithm:null,filter:null,replayFilter:null,justLimit:!0,isMatch:null,offset:0,limit:1/0,error:i,or:o.or,valueMapper:l!==ep?l:null}})),this.Table=(i=this,tD(tT.prototype,function(e,t,n){this.db=i,this._tx=n,this.name=e,this.schema=t,this.hook=i._allTables[e]?i._allTables[e].hook:tA(null,{creating:[ey,ev],reading:[eg,ep],updating:[eb,ev],deleting:[e_,ev]})})),this.Transaction=(o=this,tD(t3.prototype,function(e,t,n,r,i){var a=this;this.db=o,this.mode=e,this.storeNames=t,this.schema=n,this.chromeTransactionDurability=r,this.idbtrans=null,this.on=tA(this,"complete","error","abort"),this.parent=i||null,this.active=!0,this._reculock=0,this._blockedFuncs=[],this._resolve=null,this._reject=null,this._waitingFor=null,this._waitingQueue=null,this._spinCount=0,this._completion=new eq(function(e,t){a._resolve=e,a._reject=t}),this._completion.then(function(){a.active=!1,a.on.complete.fire()},function(e){var t=a.active;return a.active=!1,a.on.error.fire(e),a.parent?a.parent._reject(e):t&&a.idbtrans&&a.idbtrans.abort(),tv(e)})})),this.Version=(a=this,tD(nd.prototype,function(e){this.db=a,this._cfg={version:e,storesSource:null,dbschema:{},tables:{},contentUpgrade:null}})),this.WhereClause=(l=this,tD(tJ.prototype,function(e,t,n){this.db=l,this._ctx={table:e,index:":id"===t?null:t,or:n};var r=l._deps.indexedDB;if(!r)throw new ed.MissingAPI;this._cmp=this._ascending=r.cmp.bind(r),this._descending=function(e,t){return r.cmp(t,e)},this._max=function(e,t){return r.cmp(e,t)>0?e:t},this._min=function(e,t){return 0>r.cmp(e,t)?e:t},this._IDBKeyRange=l._deps.IDBKeyRange})),this.on("versionchange",function(e){e.newVersion>0?console.warn("Another connection wants to upgrade database '"+u.name+"'. Closing db now to resume the upgrade."):console.warn("Another connection wants to delete database '"+u.name+"'. Closing db now to resume the delete request."),u.close()}),this.on("blocked",function(e){!e.newVersion||e.newVersion0x4000000000000000?0:t.oldVersion;u=m<1,e._novip.idbdb=s.result,c=m/10,d=l,f=e._dbSchema,(h=e._createTransaction("readwrite",e._storeNames,f)).create(d),h._completion.catch(o),p=h._reject.bind(h),g=eU.transless||eU,tt(function(){var t,n,r,i,o;eU.trans=h,eU.transless=g,0===c?(y(f).forEach(function(e){nl(d,e,f[e].primKey,f[e].indexes)}),nn(e,d),eq.follow(function(){return e.on.populate.fire(h)}).catch(p)):(t=e._novip,n=[],r=t._versions,i=t._dbSchema=ns(t,t.idbdb,d),o=!1,r.filter(function(e){return e._cfg.version>=c}).forEach(function(e){n.push(function(){var n=i,r=e._cfg.dbschema;nc(t,n,d),nc(t,r,d),i=t._dbSchema=r;var a=na(n,r);a.add.forEach(function(e){nl(d,e[0],e[1].primKey,e[1].indexes)}),a.change.forEach(function(e){if(e.recreate)throw new ed.Upgrade("Not yet support for changing primary key");var t=d.objectStore(e.name);e.add.forEach(function(e){return nu(t,e)}),e.change.forEach(function(e){t.deleteIndex(e.name),nu(t,e)}),e.del.forEach(function(e){return t.deleteIndex(e)})});var l=e._cfg.contentUpgrade;if(l&&e._cfg.version>c){nn(t,d),h._memoizedTables={},o=!0;var u,s=L(r);a.del.forEach(function(e){s[e]=n[e]}),ni(t,[t.Transaction.prototype]),nr(t,[t.Transaction.prototype],y(s),s),h.schema=s;var f=J(l);f&&tn();var p=eq.follow(function(){if((u=l(h))&&f){var e=tr.bind(null,null);u.then(e,e)}});return u&&"function"==typeof u.then?eq.resolve(u):p.then(function(){return u})}}),n.push(function(n){o&&tw||function(e,t){[].slice.call(t.db.objectStoreNames).forEach(function(n){return null==e[n]&&t.db.deleteObjectStore(n)})}(e._cfg.dbschema,n),ni(t,[t.Transaction.prototype]),nr(t,[t.Transaction.prototype],t._storeNames,t._dbSchema),h.schema=t._dbSchema})}),(function e(){return n.length?eq.resolve(n.shift()(h.idbtrans)).then(e):eq.resolve()})().then(function(){(function(e,t){y(e).forEach(function(n){t.db.objectStoreNames.contains(n)||nl(t,n,e[n].primKey,e[n].indexes)})})(i,d)})).catch(p)})}},o),s.onsuccess=e4(function(){l=null;var n,i,o,c=e._novip.idbdb=s.result,d=D(c.objectStoreNames);if(d.length>0)try{var f,h,p,g=c.transaction(1===d.length?d[0]:d,"readonly");r.autoSchema?((f=e._novip).verno=c.version/10,h=f._dbSchema=ns(f,c,g),f._storeNames=D(c.objectStoreNames,0),nr(f,[f._allTables],y(h),h)):(nc(e,e._dbSchema,g),((p=na(ns(e,e.idbdb,g),e._dbSchema)).add.length||p.change.some(function(e){return e.add.length||e.change.length}))&&console.warn("Dexie SchemaDiff: Schema was extended without increasing the number passed to db.version(). Some queries may fail.")),nn(e,g)}catch(e){}tb.push(e),c.onversionchange=e4(function(t){r.vcFired=!0,e.on("versionchange").fire(t)}),c.onclose=e4(function(t){e.on("close").fire(t)}),u&&(i=(n=e._deps).indexedDB,o=n.IDBKeyRange,nh(i)||a===tk||nf(i,o).put({name:a}).catch(ev)),t()},o)})})]).then(function(){return n(),r.onReadyBeingFired=[],eq.resolve(nv(function(){return e.on.ready.fire(e.vip)})).then(function t(){if(r.onReadyBeingFired.length>0){var n=r.onReadyBeingFired.reduce(ex,ev);return r.onReadyBeingFired=[],eq.resolve(nv(function(){return n(e.vip)})).then(t)}})}).finally(function(){r.onReadyBeingFired=null,r.isBeingOpened=!1}).then(function(){return e}).catch(function(t){r.dbOpenError=t;try{l&&l.abort()}catch(e){}return o===r.openCanceller&&e._close(),tv(t)}).finally(function(){r.openComplete=!0,a()})}(this)},e.prototype._close=function(){var e=this._state,t=tb.indexOf(this);if(t>=0&&tb.splice(t,1),this.idbdb){try{this.idbdb.close()}catch(e){}this._novip.idbdb=null}e.dbReadyPromise=new eq(function(t){e.dbReadyResolve=t}),e.openCanceller=new eq(function(t,n){e.cancelOpen=n})},e.prototype.close=function(){this._close();var e=this._state;this._options.autoOpen=!1,e.dbOpenError=new ed.DatabaseClosed,e.isBeingOpened&&e.cancelOpen(e.dbOpenError)},e.prototype.delete=function(){var e=this,t=arguments.length>0,n=this._state;return new eq(function(r,i){var o=function(){e.close();var t=e._deps.indexedDB.deleteDatabase(e.name);t.onsuccess=e4(function(){var t,n,i,o;t=e._deps,n=e.name,i=t.indexedDB,o=t.IDBKeyRange,nh(i)||n===tk||nf(i,o).delete(n).catch(ev),r()}),t.onerror=tZ(i),t.onblocked=e._fireOnBlocked};if(t)throw new ed.InvalidArgument("Arguments not allowed in db.delete()");n.isBeingOpened?n.dbReadyPromise.then(o):o()})},e.prototype.backendDB=function(){return this.idbdb},e.prototype.isOpen=function(){return null!==this.idbdb},e.prototype.hasBeenClosed=function(){var e=this._state.dbOpenError;return e&&"DatabaseClosed"===e.name},e.prototype.hasFailed=function(){return null!==this._state.dbOpenError},e.prototype.dynamicallyOpened=function(){return this._state.autoSchema},Object.defineProperty(e.prototype,"tables",{get:function(){var e=this;return y(this._allTables).map(function(t){return e._allTables[t]})},enumerable:!1,configurable:!0}),e.prototype.transaction=function(){var e=ng.apply(this,arguments);return this._transaction.apply(this,e)},e.prototype._transaction=function(e,t,n){var r,i,o=this,a=eU.trans;a&&a.db===this&&-1===e.indexOf("!")||(a=null);var l=-1!==e.indexOf("?");e=e.replace("!","").replace("?","");try{if(i=t.map(function(e){var t=e instanceof o.Table?e.name:e;if("string"!=typeof t)throw TypeError("Invalid table argument to Dexie.transaction(). Only Table or String are allowed");return t}),"r"==e||e===tS)r=tS;else if("rw"==e||e==tC)r=tC;else throw new ed.InvalidArgument("Invalid transaction mode: "+e);if(a){if(a.mode===tS&&r===tC){if(l)a=null;else throw new ed.SubTransaction("Cannot enter a sub-transaction with READWRITE mode when parent transaction is READONLY")}a&&i.forEach(function(e){if(a&&-1===a.storeNames.indexOf(e)){if(l)a=null;else throw new ed.SubTransaction("Table "+e+" not included in parent transaction.")}}),l&&a&&!a.active&&(a=null)}}catch(e){return a?a._promise(null,function(t,n){n(e)}):tv(e)}var u=(function e(t,n,r,i,o){return eq.resolve().then(function(){var a,l=eU.transless||eU,u=t._createTransaction(n,r,t._dbSchema,i);if(i)u.idbtrans=i.idbtrans;else try{u.create(),t._state.PR1398_maxLoop=3}catch(i){if(i.name===ec.InvalidState&&t.isOpen()&&--t._state.PR1398_maxLoop>0)return console.warn("Dexie: Need to reopen db"),t._close(),t.open().then(function(){return e(t,n,r,null,o)});return tv(i)}var s=J(o);s&&tn();var c=eq.follow(function(){if(a=o.call(u,u)){if(s){var e=tr.bind(null,null);a.then(e,e)}else"function"==typeof a.next&&"function"==typeof a.throw&&(a=np(a))}},{trans:u,transless:l});return(a&&"function"==typeof a.then?eq.resolve(a).then(function(e){return u.active?e:tv(new ed.PrematureCommit("Transaction committed too early. See http://bit.ly/2kdckMn"))}):c.then(function(){return a})).then(function(e){return i&&u._resolve(),u._completion.then(function(){return e})}).catch(function(e){return u._reject(e),tv(e)})})}).bind(null,this,r,i,a,n);return a?a._promise(r,u,"lock"):eU.trans?ts(eU.transless,function(){return o._whenReady(u)}):this._whenReady(u)},e.prototype.table=function(e){if(!k(this._allTables,e))throw new ed.InvalidTable("Table "+e+" does not exist");return this._allTables[e]},e}(),nR="undefined"!=typeof Symbol&&"observable"in Symbol?Symbol.observable:"@@observable",nO=((s=function(e){this._subscribe=e}).prototype.subscribe=function(e,t,n){return this._subscribe(e&&"function"!=typeof e?e:{next:e,error:t,complete:n})},s.prototype[nR]=function(){return this},s);function nI(e,t){return y(t).forEach(function(n){nE(e[n]||(e[n]=new nS),t[n])}),e}function nB(e){var t=!1,n=void 0,r=new nO(function(r){var i=function(t){a&&tn();var n=function(){return tt(e,{subscr:t,trans:null})},r=eU.trans?ts(eU.transless,n):n();return a&&r.then(tr,tr),r},o=function(){return y(s).some(function(e){return u[e]&&function(e,t){var n=nV(t),r=n.next();if(r.done)return!1;for(var i=r.value,o=nV(e),a=o.next(i.from),l=a.value;!r.done&&!a.done;){if(0>=tj(l.from,i.to)&&tj(l.to,i.from)>=0)return!0;0>tj(i.from,l.from)?i=(r=n.next(l.from)).value:l=(a=o.next(i.from)).value}return!1}(u[e],s[e])})},a=J(e),l=!1,u={},s={},c={get closed(){return l},unsubscribe:function(){l=!0,t2.storagemutated.unsubscribe(h)}};r.start&&r.start(c);var d=!1,f=!1,h=function(e){nI(u,e),o()&&p()},p=function(){if(!d&&!l){u={};var e={},a=i(e);f||(t2(t0,h),f=!0),d=!0,Promise.resolve(a).then(function(i){t=!0,n=i,d=!1,!l&&(o()?p():(u={},s=e,r.next&&r.next(i)))},function(e){d=!1,t=!1,r.error&&r.error(e),c.unsubscribe()})}};return p(),c});return r.hasValue=function(){return t},r.getValue=function(){return n},r}try{d={indexedDB:m.indexedDB||m.mozIndexedDB||m.webkitIndexedDB||m.msIndexedDB,IDBKeyRange:m.IDBKeyRange||m.webkitIDBKeyRange}}catch(e){d={indexedDB:null,IDBKeyRange:null}}function nP(e){var t=nM;try{nM=!0,t2.storagemutated.fire(e)}finally{nM=t}}S(nD,p(p({},eh),{delete:function(e){return new nD(e,{addons:[]}).delete()},exists:function(e){return new nD(e,{addons:[]}).open().then(function(e){return e.close(),!0}).catch("NoSuchDatabaseError",function(){return!1})},getDatabaseNames:function(e){try{var t,n,r;return(n=(t=nD.dependencies).indexedDB,r=t.IDBKeyRange,nh(n)?Promise.resolve(n.databases()).then(function(e){return e.map(function(e){return e.name}).filter(function(e){return e!==tk})}):nf(n,r).toCollection().primaryKeys()).then(e)}catch(e){return tv(new ed.MissingAPI)}},defineClass:function(){return function(e){b(this,e)}},ignoreTransaction:function(e){return eU.trans?ts(eU.transless,e):e()},vip:nv,async:function(e){return function(){try{var t=np(e.apply(this,arguments));if(!t||"function"!=typeof t.then)return eq.resolve(t);return t}catch(e){return tv(e)}}},spawn:function(e,t,n){try{var r=np(e.apply(n,t||[]));if(!r||"function"!=typeof r.then)return eq.resolve(r);return r}catch(e){return tv(e)}},currentTransaction:{get:function(){return eU.trans||null}},waitFor:function(e,t){var n=eq.resolve("function"==typeof e?nD.ignoreTransaction(e):e).timeout(t||6e4);return eU.trans?eU.trans.waitFor(n):n},Promise:eq,debug:{get:function(){return Z},set:function(e){Z=e,Q="dexie"===e?function(){return!0}:tx}},derive:V,extend:b,props:S,override:R,Events:tA,on:t2,liveQuery:nB,extendObservabilitySet:nI,getByKeyPath:P,setByKeyPath:M,delByKeyPath:function(e,t){"string"==typeof t?M(e,t,void 0):"length"in t&&[].map.call(t,function(t){M(e,t,void 0)})},shallowClone:L,deepClone:H,getObjectDiff:n_,cmp:tj,asap:I,minKey:tm,addons:[],connections:tb,errnames:ec,dependencies:d,semVer:tp,version:tp.split(".").map(function(e){return parseInt(e)}).reduce(function(e,t,n){return e+t/Math.pow(10,2*n)})})),nD.maxKey=t8(nD.dependencies.IDBKeyRange),"undefined"!=typeof dispatchEvent&&"undefined"!=typeof addEventListener&&(t2(t0,function(e){if(!nM){var t;tw?(t=document.createEvent("CustomEvent")).initCustomEvent(t1,!0,!0,e):t=new CustomEvent(t1,{detail:e}),nM=!0,dispatchEvent(t),nM=!1}}),addEventListener(t1,function(e){var t=e.detail;nM||nP(t)}));var nM=!1;if("undefined"!=typeof BroadcastChannel){var nL=new BroadcastChannel(t1);"function"==typeof nL.unref&&nL.unref(),t2(t0,function(e){nM||nL.postMessage(e)}),nL.onmessage=function(e){e.data&&nP(e.data)}}else if("undefined"!=typeof self&&"undefined"!=typeof navigator){t2(t0,function(e){try{nM||("undefined"!=typeof localStorage&&localStorage.setItem(t1,JSON.stringify({trig:Math.random(),changedParts:e})),"object"==typeof self.clients&&g([],self.clients.matchAll({includeUncontrolled:!0}),!0).forEach(function(t){return t.postMessage({type:t1,changedParts:e})}))}catch(e){}}),"undefined"!=typeof addEventListener&&addEventListener("storage",function(e){if(e.key===t1){var t=JSON.parse(e.newValue);t&&nP(t.changedParts)}});var nj=self.document&&navigator.serviceWorker;nj&&nj.addEventListener("message",function(e){var t=e.data;t&&t.type===t1&&nP(t.changedParts)})}eq.rejectionMapper=function(e,t){if(!e||e instanceof ea||e instanceof TypeError||e instanceof SyntaxError||!e.name||!ef[e.name])return e;var n=new ef[e.name](t||e.message,e);return"stack"in e&&E(n,"stack",{get:function(){return this.inner.stack}}),n},Q=tx}),f.register("9BzA6",function(e,n){t(e.exports,"copyToClipboard",function(){return s}),t(e.exports,"parseClassroom",function(){return c}),t(e.exports,"parse",function(){return d}),t(e.exports,"stringify",function(){return h}),t(e.exports,"scrapeModule",function(){return p}),t(e.exports,"validateUrl",function(){return m}),t(e.exports,"infoHash",function(){return y}),t(e.exports,"getPeerID",function(){return _}),t(e.exports,"clone",function(){return b});var r=f("xJRWs"),i=f("a42Vg"),o=f("9zFRg"),a=f("3XT9C"),l=f("i1Uxe");function u(e,t,n){if(t.match(/(https?)?:\/\//i))return"script"===e?''):'');var r=new URL(t,n).toString();return'\n ')}function s(e){navigator.clipboard.writeText(e)}function c(e){var t;console.warn("parse Classroom",e);try{if(t=d(e))for(var n=0;n\n \n \n ".concat(c.map(function(t){return u("css",t,e.url)}).join("\n"),"\n \n ").concat(d.map(function(t){return u("script",t,e.url)}).join("\n"),'\n\n \n \n \n \n ").concat(s.body||"","\n \n \n "),[2,(0,o._)((0,i._)({},e),{name:s.name,description:s.description,icon:s.icon||"mdi-package",shownIn:s["show-in"]||["*"],srcdoc:"data:text/html,"+escape(f),origin:"*"})]}catch(e){throw console.warn("loading yaml:",e),Error("Could not load the YAML-declaration: "+e.message)}else{if((h=document.createElement("html")).innerHTML=t,(p=Object.fromEntries(Object.values(h.getElementsByTagName("meta")).map(function(e){return[e.name,e.content]}))).fetch&&"false"!==p.fetch)return[2,(0,o._)((0,i._)({},e),{name:h.getElementsByTagName("title")[0].innerText||p.name,description:p.description,icon:p.icon||"mdi-package",shownIn:(p["show-in"]||"*").replace(/\s+/g,"").split(","),srcdoc:"data:text/html,"+escape(function(e,t){try{var n=e.match(RegExp(".*?<\\/head>","is"))[0];return n=(n=n.replace(RegExp(".*?<\\/script>","gims"),function(e){var n=e.match(RegExp("src=(?:'|\")([^\"']+)(?:'|\")","is"));return n&&!((n=n[1]).startsWith("https://")||n.startsWith("http://"))?u("script",n,t):e})).replace(RegExp("","gims"),function(e){var n=e.match(RegExp("href=(?:'|\")([^\"']+)(?:'|\")","is"));return n&&!((n=n[1]).startsWith("https://")||n.startsWith("http://"))?u("css",n,t):e}),e.replace(RegExp(".*?<\\/head>","is"),n)}catch(e){console.warn("problems parsing html:",e)}}(t,e.url)),origin:"*"})];try{return[2,(0,o._)((0,i._)({},e),{name:h.getElementsByTagName("title")[0].innerText||p.name,description:p.description,icon:p.icon||"mdi-package",shownIn:(p["show-in"]||"*").replace(/\s+/g,"").split(",")})]}catch(e){throw Error("This does not seem to be a valid module declaration, check the URL manually.")}}return[3,4];case 3:return g=a.sent(),[2,(0,o._)((0,i._)({},e),{name:"",description:g,icon:"mdi-alert",shownIn:""})];case 4:return[2]}})})).apply(this,arguments)}function m(e){try{var t=new URL(e);if(["http:","https:","file:","ipfs:","ipns:","blob:","dat:","hyper:"].includes(t.protocol))return!0}catch(e){}return!1}function y(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:40,t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",n="",r=0;rl&&(t=r-l+(o=" ... ").length),n-r>l&&(n=r+l-(a=" ...").length),{str:o+e.slice(t,n).replace(/\t/g,"→")+a,pos:r-t+o.length// relative position
@@ -767,7 +767,7 @@ eU.utils={on:y,off:_,css:S,find:E,is:function(e,t){return!!w(e,t,e,!1)},extend:f
if(t.scroll){var i,o=(e.touches?e.touches[0]:e).clientX,a=(e.touches?e.touches[0]:e).clientY,l=t.scrollSensitivity,u=t.scrollSpeed,s=V(),c=!1;eX!==n&&(eX=n,e1(),eK=t.scroll,i=t.scrollFn,!0===eK&&(eK=I(n,!0)));var d=0,f=eK;do{var h=f,p=N(h),g=p.top,m=p.bottom,y=p.left,_=p.right,b=p.width,w=p.height,x=void 0,k=void 0,C=h.scrollWidth,E=h.scrollHeight,T=S(h),A=h.scrollLeft,D=h.scrollTop;h===s?(x=b"},lineNumbersCount:function(){return this.codeData.split(/\r\n|\n/).length}},mounted:function(){this._recordCurrentState(),this.styleLineNumbers()},methods:{setLineNumbersHeight:function(){this.lineNumbersHeight=getComputedStyle(this.$refs.pre).height},styleLineNumbers:function(){if(this.lineNumbers&&this.autoStyleLineNumbers){var e=this.$refs.pre,t=this.$el.querySelector(".prism-editor__line-numbers"),n=window.getComputedStyle(e);this.$nextTick(function(){var r="border-top-left-radius",i="border-bottom-left-radius";t&&(t.style[r]=n[r],t.style[i]=n[i],e.style[r]="0",e.style[i]="0",["background-color","margin-top","padding-top","font-family","font-size","line-height"].forEach(function(e){t.style[e]=n[e]}),t.style["margin-bottom"]="-"+n["padding-top"])})}},_recordCurrentState:function(){var e=this.$refs.textarea;if(e){var t=e.value,n=e.selectionStart,r=e.selectionEnd;this._recordChange({value:t,selectionStart:n,selectionEnd:r})}// Save current state of the input
},_getLines:function(e,t){return e.substring(0,t).split("\n")},_applyEdits:function(e){// Save last selection state
@@ -1382,11 +1382,11 @@ Prism.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/
* @param {string} value
* @param {string} [flags]
* @returns {RegExp}
- */function(e,t){return t=(t||"").replace(/m/g,"")+"m",RegExp(/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,function(){return a}).replace(/<>/g,function(){return e}),t)},i=/[*&][^\s[\]{},]+/,a="(?:"+(o=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/).source+"(?:[ ]+"+i.source+")?|"+i.source+"(?:[ ]+"+o.source+")?)",l=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-])(?:[ \t]*(?:(?![#:])|:))*/.source.replace(//g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),u=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source,n.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,function(){return a})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,function(){return a}).replace(/<>/g,function(){return"(?:"+l+"|"+u+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:r(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:r(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:r(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:r(u),lookbehind:!0,greedy:!0},number:{pattern:r(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:o,important:i,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},n.languages.yml=n.languages.yaml}),f.register("8ussG",function(e,n){t(e.exports,"render",function(){return o}),f("7DTtY");var r=f("5BxzC"),i=f("9Nw75");function o(e,t,n,o,a,l){var u=(0,r.resolveComponent)("v-icon"),s=(0,r.resolveComponent)("v-expansion-panel-title"),c=(0,r.resolveComponent)("v-divider"),d=(0,r.resolveComponent)("prism-editor"),f=(0,r.resolveComponent)("v-expansion-panel-text"),h=(0,r.resolveComponent)("v-expansion-panel");return(0,r.openBlock)(),(0,r.createBlock)(h,null,{default:(0,r.withCtx)(function(){return[(0,r.createVNode)(s,null,{actions:(0,r.withCtx)(function(){return[(0,r.createVNode)(u,{style:(0,i.normalizeStyle)(a.errorMessage?"color: red;":"")},{default:(0,r.withCtx)(function(){return[(0,r.createTextVNode)((0,i.toDisplayString)(n.icon),1)]}),_:1},8,["style"])]}),default:(0,r.withCtx)(function(){return[(0,r.createTextVNode)((0,i.toDisplayString)(n.title)+" ",1)]}),_:1}),(0,r.createVNode)(f,null,{default:(0,r.withCtx)(function(){return[(0,r.createElementVNode)("div",{style:(0,i.normalizeStyle)([{"font-size":"small","margin-bottom":"0.25rem"},a.errorMessage?"color: red;":"color: gray;"])},(0,i.toDisplayString)(a.errorMessage||"Valid YAML or JSON configuration"),5),(0,r.createVNode)(c,{style:{"margin-bottom":"0.5rem"}}),(0,r.createVNode)(d,{modelValue:a.code,"onUpdate:modelValue":t[0]||(t[0]=function(e){return a.code=e}),highlight:l.highlighter,"line-numbers":""},null,8,["modelValue","highlight"])]}),_:1})]}),_:1})}}),f.register("6INDR",function(e,n){t(e.exports,"default",function(){return r});var r=function(e){}}),f.register("atDkO",function(e,n){t(e.exports,"render",function(){return a}),f("7DTtY");var r=f("5BxzC"),i=/*#__PURE__*/(0,r.createElementVNode)("p",null,"Width",-1),o=/*#__PURE__*/(0,r.createElementVNode)("p",null,"Height",-1);function a(e,t,n,a,l,u){var s=(0,r.resolveComponent)("v-icon"),c=(0,r.resolveComponent)("v-expansion-panel-title"),d=(0,r.resolveComponent)("v-text-field"),f=(0,r.resolveComponent)("v-expansion-panel-text"),h=(0,r.resolveComponent)("v-expansion-panel"),p=(0,r.resolveComponent)("v-radio"),g=(0,r.resolveComponent)("v-radio-group"),m=(0,r.resolveComponent)("v-container"),y=(0,r.resolveComponent)("v-col"),_=(0,r.resolveComponent)("v-row"),b=(0,r.resolveComponent)("Editor"),w=(0,r.resolveComponent)("v-expansion-panels");return(0,r.openBlock)(),(0,r.createBlock)(w,{variant:"accordion",style:{"min-width":"400px"}},{default:(0,r.withCtx)(function(){return[(0,r.createVNode)(h,null,{default:(0,r.withCtx)(function(){return[(0,r.createVNode)(c,null,{actions:(0,r.withCtx)(function(){return[(0,r.createVNode)(s,null,{default:(0,r.withCtx)(function(){return[(0,r.createTextVNode)(" mdi-link ")]}),_:1})]}),default:(0,r.withCtx)(function(){return[(0,r.createTextVNode)(" URL ")]}),_:1}),(0,r.createVNode)(f,null,{default:(0,r.withCtx)(function(){return[(0,r.createVNode)(d,{variant:"underlined",label:"Module URL",modelValue:n.module.url,"onUpdate:modelValue":t[0]||(t[0]=function(e){return n.module.url=e})},null,8,["modelValue"])]}),_:1})]}),_:1}),(0,r.createVNode)(h,null,{default:(0,r.withCtx)(function(){return[(0,r.createVNode)(c,null,{actions:(0,r.withCtx)(function(){return[(0,r.createVNode)(s,null,{default:(0,r.withCtx)(function(){return[(0,r.createTextVNode)(" mdi-pencil-ruler ")]}),_:1})]}),default:(0,r.withCtx)(function(){return[(0,r.createTextVNode)(" Design ")]}),_:1}),(0,r.createVNode)(f,null,{default:(0,r.withCtx)(function(){return[(0,r.createVNode)(_,null,{default:(0,r.withCtx)(function(){return[(0,r.createVNode)(y,{cols:"6"},{default:(0,r.withCtx)(function(){return[(0,r.createVNode)(m,{fluid:""},{default:(0,r.withCtx)(function(){return[i,(0,r.createVNode)(g,{modelValue:n.module.width,"onUpdate:modelValue":t[1]||(t[1]=function(e){return n.module.width=e})},{default:(0,r.withCtx)(function(){return[(0,r.createVNode)(p,{label:"Full (1000px)",value:"full"}),(0,r.createVNode)(p,{label:"Half (500px)",value:"half"}),(0,r.createVNode)(p,{label:"Quarter (250px)",value:"third"})]}),_:1},8,["modelValue"])]}),_:1})]}),_:1}),(0,r.createVNode)(y,{cols:"6"},{default:(0,r.withCtx)(function(){return[(0,r.createVNode)(m,{fluid:""},{default:(0,r.withCtx)(function(){return[o,(0,r.createVNode)(g,{modelValue:n.module.height,"onUpdate:modelValue":t[2]||(t[2]=function(e){return n.module.height=e})},{default:(0,r.withCtx)(function(){return[(0,r.createVNode)(p,{label:"HUGE (830px)",value:"huge"}),(0,r.createVNode)(p,{label:"Tall (720x)",value:"tall"}),(0,r.createVNode)(p,{label:"Medium (410px)",value:"medium"}),(0,r.createVNode)(p,{label:"Short (200px)",value:"short"})]}),_:1},8,["modelValue"])]}),_:1})]}),_:1})]}),_:1})]}),_:1})]}),_:1}),(0,r.createVNode)(b,{title:"General settings",icon:"mdi-script-text",config:n.module.config,"onUpdate:config":t[3]||(t[3]=function(e){return n.module.config=e}),error:n.error.config,"onUpdate:error":t[4]||(t[4]=function(e){return n.error.config=e})},null,8,["config","error"]),(0,r.createVNode)(b,{title:"Student settings",icon:"mdi-account-circle-outline",config:n.module.studentConfig,"onUpdate:config":t[5]||(t[5]=function(e){return n.module.studentConfig=e}),error:n.error.studentConfig,"onUpdate:error":t[6]||(t[6]=function(e){return n.error.studentConfig=e})},null,8,["config","error"]),(0,r.createVNode)(b,{title:"Teacher settings",icon:"mdi-clipboard-account-outline",config:n.module.teacherConfig,"onUpdate:config":t[7]||(t[7]=function(e){return n.module.teacherConfig=e}),error:n.error.teacherConfig,"onUpdate:error":t[8]||(t[8]=function(e){return n.error.teacherConfig=e})},null,8,["config","error"]),(0,r.createVNode)(b,{title:"Station settings",icon:"mdi-router-wireless",config:n.module.stationConfig,"onUpdate:config":t[9]||(t[9]=function(e){return n.module.stationConfig=e}),error:n.error.stationConfig,"onUpdate:error":t[10]||(t[10]=function(e){return n.error.stationConfig=e})},null,8,["config","error"]),(0,r.createVNode)(h,null,{default:(0,r.withCtx)(function(){return[(0,r.createVNode)(c,null,{actions:(0,r.withCtx)(function(){return[(0,r.createVNode)(s,null,{default:(0,r.withCtx)(function(){return[(0,r.createTextVNode)(" mdi-eye ")]}),_:1})]}),default:(0,r.withCtx)(function(){return[(0,r.createTextVNode)(" Show in ")]}),_:1}),(0,r.createVNode)(f,null,{default:(0,r.withCtx)(function(){return[(0,r.createVNode)(d,{variant:"underlined",label:"Comma separated list of rooms, or: lobby, * for all, teacher-only, station",modelValue:n.module.showInCustom,"onUpdate:modelValue":t[11]||(t[11]=function(e){return n.module.showInCustom=e})},null,8,["modelValue"])]}),_:1})]}),_:1})]}),_:1})}}),f.register("czxFg",function(e,n){t(e.exports,"default",function(){return r});var r=function(e){}}),f.register("b2vdk",function(e,n){t(e.exports,"render",function(){return o}),f("7DTtY");var r=f("5BxzC"),i=f("9Nw75");function o(e,t,n,o,a,l){var u=(0,r.resolveComponent)("v-icon"),s=(0,r.resolveComponent)("v-chip"),c=(0,r.resolveComponent)("v-list-item-title"),d=(0,r.resolveComponent)("v-list-item-subtitle"),f=(0,r.resolveComponent)("v-btn"),h=(0,r.resolveComponent)("Module"),p=(0,r.resolveComponent)("v-menu"),g=(0,r.resolveComponent)("v-list-item"),m=(0,r.resolveComponent)("v-list"),y=(0,r.resolveComponent)("draggable"),_=(0,r.resolveComponent)("v-text-field"),b=(0,r.resolveComponent)("v-divider");return(0,r.openBlock)(),(0,r.createElementBlock)(r.Fragment,null,[(0,r.createVNode)(m,{lines:"three"},{default:(0,r.withCtx)(function(){return[(0,r.createVNode)(y,{list:n.config.modules,"item-key":"id",onEnd:l.move,class:"list-group"},{item:(0,r.withCtx)(function(e){var t=e.element,o=e.index;return[((0,r.openBlock)(),(0,r.createBlock)(g,{key:o,class:"list-group-item"},{prepend:(0,r.withCtx)(function(){return[(0,r.createVNode)(u,{icon:n.scrapedModules[o].icon||"mdi-package"},null,8,["icon"])]}),append:(0,r.withCtx)(function(){return[(0,r.createVNode)(p,{"close-on-content-click":!1},{activator:(0,r.withCtx)(function(e){var t=e.props;return[(0,r.createVNode)(f,(0,r.mergeProps)({icon:"mdi-cog",variant:"text"},t,{style:l.validate_config(o)?"":"color: red"}),null,16,["style"])]}),default:(0,r.withCtx)(function(){return[(0,r.createVNode)(h,{module:n.config.modules[o],"onUpdate:module":function(e){return n.config.modules[o]=e},error:a.errors[o],"onUpdate:error":function(e){return a.errors[o]=e}},null,8,["module","onUpdate:module","error","onUpdate:error"])]}),_:2},1024),(0,r.createVNode)(p,null,{activator:(0,r.withCtx)(function(e){var t=e.props;return[(0,r.createVNode)(f,(0,r.mergeProps)(t,{icon:"mdi-delete",variant:"text"}),null,16)]}),default:(0,r.withCtx)(function(){return[(0,r.createVNode)(m,null,{default:(0,r.withCtx)(function(){return[(0,r.createVNode)(g,null,{default:(0,r.withCtx)(function(){return[(0,r.createVNode)(c,null,{default:(0,r.withCtx)(function(){return[(0,r.createTextVNode)(" Delete the module and its configuration? ")]}),_:1}),(0,r.createVNode)(f,{color:"red",depressed:"",onClick:function(e){return l.deleteModule(o)},class:"float-right",style:{"margin-top":"10px"}},{default:(0,r.withCtx)(function(){return[(0,r.createTextVNode)(" Yes ")]}),_:2},1032,["onClick"])]}),_:2},1024)]}),_:2},1024)]}),_:2},1024)]}),default:(0,r.withCtx)(function(){var e;return[(0,r.createVNode)(c,null,{default:(0,r.withCtx)(function(){return[(0,r.createTextVNode)((0,i.toDisplayString)(n.scrapedModules[o].name)+" ",1),(0,r.createVNode)(s,{size:"x-small"},{default:(0,r.withCtx)(function(){return[(0,r.createTextVNode)((0,i.toDisplayString)(t.showInCustom||"*"),1)]}),_:2},1024)]}),_:2},1024),(0,r.createVNode)(d,{innerHTML:(null===(e=n.scrapedModules[o])||void 0===e?void 0:e.description)||"No description",style:{"white-space":"break-spaces"}},null,8,["innerHTML"])]}),_:2},1024))]}),_:1},8,["list","onEnd"]),(0,r.createVNode)(g,null,{prepend:(0,r.withCtx)(function(){return[(0,r.createVNode)(u,{icon:"mdi-link"})]}),append:(0,r.withCtx)(function(){return[(0,r.createVNode)(f,{onClick:l.loadURL,disabled:!l.validate_url(a.moduleImportUrl)},{default:(0,r.withCtx)(function(){return[(0,r.createVNode)(u,{left:""},{default:(0,r.withCtx)(function(){return[(0,r.createTextVNode)(" mdi-view-grid-plus ")]}),_:1}),(0,r.createTextVNode)(" Add ")]}),_:1},8,["onClick","disabled"])]}),default:(0,r.withCtx)(function(){return[(0,r.createVNode)(_,{modelValue:a.moduleImportUrl,"onUpdate:modelValue":t[0]||(t[0]=function(e){return a.moduleImportUrl=e}),label:"Module URL",variant:"underlined",required:"",style:{width:"calc(100% - 40px)"}},null,8,["modelValue"])]}),_:1})]}),_:1}),(0,r.createVNode)(b,{class:"pb-2"}),(0,r.createVNode)(f,{href:"https://github.com/topics/edrys-module",target:"_blank"},{default:(0,r.withCtx)(function(){return[(0,r.createVNode)(u,{left:""},{default:(0,r.withCtx)(function(){return[(0,r.createTextVNode)(" mdi-github ")]}),_:1}),(0,r.createTextVNode)(" Explore on GitHub ")]}),_:1})],64)}}),f.register("3XaP9",function(e,n){t(e.exports,"default",function(){return r});var r=function(e){}}),f.register("aj2m5",function(e,n){t(e.exports,"default",function(){return i}),(r=f("ge8Ut")).__esModule&&(r=r.default),r.render=f("ch5tX").render,f("3nSv6").default(r),r.__scopeId="data-v-af4199",r.__file="Stations.vue";var r,i=r}),f.register("ge8Ut",function(e,n){u(e.exports),t(e.exports,"default",function(){return i});var r=f("9BzA6"),i={name:"Settings-Stations",props:{config:{type:Object,required:!0}},data:function(){return{url:window.location.toString().replace("classroom","station")}},methods:{copyUrl:function(){(0,r.copyToClipboard)(this.url)}}}}),f.register("ch5tX",function(e,n){t(e.exports,"render",function(){return a}),f("7DTtY");var r=f("5BxzC"),i=f("9Nw75"),o=["href"];function a(e,t,n,a,l,u){var s=(0,r.resolveComponent)("v-container"),c=(0,r.resolveComponent)("v-btn"),d=(0,r.resolveComponent)("v-alert");return(0,r.openBlock)(),(0,r.createBlock)(d,{outlined:"",dense:"",type:"info",text:"To add a new station, simply open this link on the client device: "},{append:(0,r.withCtx)(function(){return[(0,r.createVNode)(c,{icon:"mdi-content-copy",onClick:u.copyUrl,variant:"text"},null,8,["onClick"])]}),default:(0,r.withCtx)(function(){return[(0,r.createVNode)(s,null,{default:(0,r.withCtx)(function(){return[(0,r.createElementVNode)("a",{href:l.url,target:"_blank"},(0,i.toDisplayString)(l.url),9,o)]}),_:1})]}),_:1})}}),f.register("3nSv6",function(e,n){t(e.exports,"default",function(){return r});var r=function(e){}}),f.register("54yBi",function(e,n){t(e.exports,"default",function(){return i}),(r=f("bmM2m")).__esModule&&(r=r.default),r.render=f("bS67F").render,f("3CRKo").default(r),r.__scopeId="data-v-8b8f43",r.__file="Share.vue";var r,i=r}),f.register("bmM2m",function(e,n){u(e.exports),t(e.exports,"default",function(){return l});var r=f("xJRWs"),i=f("3XT9C"),o=f("i1Uxe"),a=f("9BzA6"),l={name:"Settings-Share",props:{config:{type:Object,required:!0}},data:function(){return console.log("Classroom config",JSON.stringify(this.config,null,2)),{url:window.location.toString(),selectedURL:"",selectedFile:[],showTemplate:!1,restoreSuccess:!1,saveError:!1,errorMessage:"",restoreFileRules:[function(e){return!e||e.size<2e6||"File should be less than 2 MB!"}]}},methods:{updateConfig:function(e){e.meta||(e.meta={logo:"",description:"",selfAssign:!1,defaultNumberOfRooms:0}),this.config.name=e.name,this.config.meta=e.meta,this.config.createdBy=(0,a.getPeerID)(),this.config.dateCreated=e.dateCreated,this.config.members=e.members,this.config.modules=e.modules},updateModules:function(){console.warn("updateModules",this.scrapedModules)},downloadClass:function(e){var t="yaml"===e?o.dump(this.config):JSON.stringify(this.config,null,2),n="class-"+this.config.id+("yaml"===e?".yml":".json"),r=new Blob([t],{type:"text/"+e}),i=URL.createObjectURL(r),a=document.createElement("a");a.href=i,a.download=n,document.body.appendChild(a),a.click(),document.body.removeChild(a),URL.revokeObjectURL(i)},restoreURL:function(){return(0,r._)(function(){var e,t,n;return(0,i.__generator)(this,function(r){switch(r.label){case 0:return this.restoreSuccess=!1,this.saveError=!1,[4,fetch(this.selectedURL)];case 1:if(!(e=r.sent()).ok)return[3,3];return[4,e.text()];case 2:if(t=r.sent(),n=(0,a.parseClassroom)(t))return this.updateConfig(n),this.restoreSuccess=!0,[2];r.label=3;case 3:return this.saveError=!0,this.errorMessage="Could not parse the content within the URL: ".concat(this.selectedURL),console.warn("Could not parse the content within the URL:",this.selectedURL),[2]}})}).apply(this)},restoreFile:function(){var e=this;this.restoreSuccess=!1,this.saveError=!1;var t=new FileReader;t.readAsText(this.selectedFile[0]),t.onload=function(n){// will load yaml and json as well
+ */function(e,t){return t=(t||"").replace(/m/g,"")+"m",RegExp(/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,function(){return a}).replace(/<>/g,function(){return e}),t)},i=/[*&][^\s[\]{},]+/,a="(?:"+(o=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/).source+"(?:[ ]+"+i.source+")?|"+i.source+"(?:[ ]+"+o.source+")?)",l=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-])(?:[ \t]*(?:(?![#:])|:))*/.source.replace(//g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),u=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source,n.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,function(){return a})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,function(){return a}).replace(/<>/g,function(){return"(?:"+l+"|"+u+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:r(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:r(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:r(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:r(u),lookbehind:!0,greedy:!0},number:{pattern:r(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:o,important:i,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},n.languages.yml=n.languages.yaml}),f.register("8ussG",function(e,n){t(e.exports,"render",function(){return o}),f("7DTtY");var r=f("5BxzC"),i=f("9Nw75");function o(e,t,n,o,a,l){var u=(0,r.resolveComponent)("v-icon"),s=(0,r.resolveComponent)("v-expansion-panel-title"),c=(0,r.resolveComponent)("v-divider"),d=(0,r.resolveComponent)("prism-editor"),f=(0,r.resolveComponent)("v-expansion-panel-text"),h=(0,r.resolveComponent)("v-expansion-panel");return(0,r.openBlock)(),(0,r.createBlock)(h,null,{default:(0,r.withCtx)(function(){return[(0,r.createVNode)(s,null,{actions:(0,r.withCtx)(function(){return[(0,r.createVNode)(u,{style:(0,i.normalizeStyle)(a.errorMessage?"color: red;":"")},{default:(0,r.withCtx)(function(){return[(0,r.createTextVNode)((0,i.toDisplayString)(n.icon),1)]}),_:1},8,["style"])]}),default:(0,r.withCtx)(function(){return[(0,r.createTextVNode)((0,i.toDisplayString)(n.title)+" ",1)]}),_:1}),(0,r.createVNode)(f,{style:{"max-height":"60vh"}},{default:(0,r.withCtx)(function(){return[(0,r.createElementVNode)("div",{style:(0,i.normalizeStyle)([{"font-size":"small","margin-bottom":"0.25rem"},a.errorMessage?"color: red;":"color: gray;"])},(0,i.toDisplayString)(a.errorMessage||"Valid YAML or JSON configuration"),5),(0,r.createVNode)(c,{style:{"margin-bottom":"0.5rem"}}),(0,r.createVNode)(d,{modelValue:a.code,"onUpdate:modelValue":t[0]||(t[0]=function(e){return a.code=e}),highlight:l.highlighter,"line-numbers":""},null,8,["modelValue","highlight"])]}),_:1})]}),_:1})}}),f.register("6INDR",function(e,n){t(e.exports,"default",function(){return r});var r=function(e){}}),f.register("atDkO",function(e,n){t(e.exports,"render",function(){return a}),f("7DTtY");var r=f("5BxzC"),i=/*#__PURE__*/(0,r.createElementVNode)("p",null,"Width",-1),o=/*#__PURE__*/(0,r.createElementVNode)("p",null,"Height",-1);function a(e,t,n,a,l,u){var s=(0,r.resolveComponent)("v-icon"),c=(0,r.resolveComponent)("v-expansion-panel-title"),d=(0,r.resolveComponent)("v-text-field"),f=(0,r.resolveComponent)("v-expansion-panel-text"),h=(0,r.resolveComponent)("v-expansion-panel"),p=(0,r.resolveComponent)("v-radio"),g=(0,r.resolveComponent)("v-radio-group"),m=(0,r.resolveComponent)("v-container"),y=(0,r.resolveComponent)("v-col"),_=(0,r.resolveComponent)("v-row"),b=(0,r.resolveComponent)("Editor"),w=(0,r.resolveComponent)("v-expansion-panels");return(0,r.openBlock)(),(0,r.createBlock)(w,{variant:"accordion",style:{"min-width":"400px"}},{default:(0,r.withCtx)(function(){return[(0,r.createVNode)(h,null,{default:(0,r.withCtx)(function(){return[(0,r.createVNode)(c,null,{actions:(0,r.withCtx)(function(){return[(0,r.createVNode)(s,null,{default:(0,r.withCtx)(function(){return[(0,r.createTextVNode)(" mdi-link ")]}),_:1})]}),default:(0,r.withCtx)(function(){return[(0,r.createTextVNode)(" URL ")]}),_:1}),(0,r.createVNode)(f,null,{default:(0,r.withCtx)(function(){return[(0,r.createVNode)(d,{variant:"underlined",label:"Module URL",modelValue:n.module.url,"onUpdate:modelValue":t[0]||(t[0]=function(e){return n.module.url=e})},null,8,["modelValue"])]}),_:1})]}),_:1}),(0,r.createVNode)(h,null,{default:(0,r.withCtx)(function(){return[(0,r.createVNode)(c,null,{actions:(0,r.withCtx)(function(){return[(0,r.createVNode)(s,null,{default:(0,r.withCtx)(function(){return[(0,r.createTextVNode)(" mdi-pencil-ruler ")]}),_:1})]}),default:(0,r.withCtx)(function(){return[(0,r.createTextVNode)(" Design ")]}),_:1}),(0,r.createVNode)(f,null,{default:(0,r.withCtx)(function(){return[(0,r.createVNode)(_,null,{default:(0,r.withCtx)(function(){return[(0,r.createVNode)(y,{cols:"6"},{default:(0,r.withCtx)(function(){return[(0,r.createVNode)(m,{fluid:""},{default:(0,r.withCtx)(function(){return[i,(0,r.createVNode)(g,{modelValue:n.module.width,"onUpdate:modelValue":t[1]||(t[1]=function(e){return n.module.width=e})},{default:(0,r.withCtx)(function(){return[(0,r.createVNode)(p,{label:"Full (1000px)",value:"full"}),(0,r.createVNode)(p,{label:"Half (500px)",value:"half"}),(0,r.createVNode)(p,{label:"Quarter (250px)",value:"third"})]}),_:1},8,["modelValue"])]}),_:1})]}),_:1}),(0,r.createVNode)(y,{cols:"6"},{default:(0,r.withCtx)(function(){return[(0,r.createVNode)(m,{fluid:""},{default:(0,r.withCtx)(function(){return[o,(0,r.createVNode)(g,{modelValue:n.module.height,"onUpdate:modelValue":t[2]||(t[2]=function(e){return n.module.height=e})},{default:(0,r.withCtx)(function(){return[(0,r.createVNode)(p,{label:"HUGE (830px)",value:"huge"}),(0,r.createVNode)(p,{label:"Tall (720x)",value:"tall"}),(0,r.createVNode)(p,{label:"Medium (410px)",value:"medium"}),(0,r.createVNode)(p,{label:"Short (200px)",value:"short"})]}),_:1},8,["modelValue"])]}),_:1})]}),_:1})]}),_:1})]}),_:1})]}),_:1}),(0,r.createVNode)(b,{title:"General settings",icon:"mdi-script-text",config:n.module.config,"onUpdate:config":t[3]||(t[3]=function(e){return n.module.config=e}),error:n.error.config,"onUpdate:error":t[4]||(t[4]=function(e){return n.error.config=e})},null,8,["config","error"]),(0,r.createVNode)(b,{title:"Student settings",icon:"mdi-account-circle-outline",config:n.module.studentConfig,"onUpdate:config":t[5]||(t[5]=function(e){return n.module.studentConfig=e}),error:n.error.studentConfig,"onUpdate:error":t[6]||(t[6]=function(e){return n.error.studentConfig=e})},null,8,["config","error"]),(0,r.createVNode)(b,{title:"Teacher settings",icon:"mdi-clipboard-account-outline",config:n.module.teacherConfig,"onUpdate:config":t[7]||(t[7]=function(e){return n.module.teacherConfig=e}),error:n.error.teacherConfig,"onUpdate:error":t[8]||(t[8]=function(e){return n.error.teacherConfig=e})},null,8,["config","error"]),(0,r.createVNode)(b,{title:"Station settings",icon:"mdi-router-wireless",config:n.module.stationConfig,"onUpdate:config":t[9]||(t[9]=function(e){return n.module.stationConfig=e}),error:n.error.stationConfig,"onUpdate:error":t[10]||(t[10]=function(e){return n.error.stationConfig=e})},null,8,["config","error"]),(0,r.createVNode)(h,null,{default:(0,r.withCtx)(function(){return[(0,r.createVNode)(c,null,{actions:(0,r.withCtx)(function(){return[(0,r.createVNode)(s,null,{default:(0,r.withCtx)(function(){return[(0,r.createTextVNode)(" mdi-eye ")]}),_:1})]}),default:(0,r.withCtx)(function(){return[(0,r.createTextVNode)(" Show in ")]}),_:1}),(0,r.createVNode)(f,null,{default:(0,r.withCtx)(function(){return[(0,r.createVNode)(d,{variant:"underlined",label:"Comma separated list of rooms, or: lobby, * for all, teacher-only, station",modelValue:n.module.showInCustom,"onUpdate:modelValue":t[11]||(t[11]=function(e){return n.module.showInCustom=e})},null,8,["modelValue"])]}),_:1})]}),_:1})]}),_:1})}}),f.register("czxFg",function(e,n){t(e.exports,"default",function(){return r});var r=function(e){}}),f.register("b2vdk",function(e,n){t(e.exports,"render",function(){return o}),f("7DTtY");var r=f("5BxzC"),i=f("9Nw75");function o(e,t,n,o,a,l){var u=(0,r.resolveComponent)("v-icon"),s=(0,r.resolveComponent)("v-chip"),c=(0,r.resolveComponent)("v-list-item-title"),d=(0,r.resolveComponent)("v-list-item-subtitle"),f=(0,r.resolveComponent)("v-btn"),h=(0,r.resolveComponent)("Module"),p=(0,r.resolveComponent)("v-menu"),g=(0,r.resolveComponent)("v-list-item"),m=(0,r.resolveComponent)("v-list"),y=(0,r.resolveComponent)("draggable"),_=(0,r.resolveComponent)("v-text-field"),b=(0,r.resolveComponent)("v-divider");return(0,r.openBlock)(),(0,r.createElementBlock)(r.Fragment,null,[(0,r.createVNode)(m,{lines:"three"},{default:(0,r.withCtx)(function(){return[(0,r.createVNode)(y,{list:n.config.modules,"item-key":"id",onEnd:l.move,class:"list-group"},{item:(0,r.withCtx)(function(e){var t=e.element,o=e.index;return[((0,r.openBlock)(),(0,r.createBlock)(g,{key:o,class:"list-group-item"},{prepend:(0,r.withCtx)(function(){return[(0,r.createVNode)(u,{icon:n.scrapedModules[o].icon||"mdi-package"},null,8,["icon"])]}),append:(0,r.withCtx)(function(){return[(0,r.createVNode)(p,{"close-on-content-click":!1},{activator:(0,r.withCtx)(function(e){var t=e.props;return[(0,r.createVNode)(f,(0,r.mergeProps)({icon:"mdi-cog",variant:"text"},t,{style:l.validate_config(o)?"":"color: red"}),null,16,["style"])]}),default:(0,r.withCtx)(function(){return[(0,r.createVNode)(h,{module:n.config.modules[o],"onUpdate:module":function(e){return n.config.modules[o]=e},error:a.errors[o],"onUpdate:error":function(e){return a.errors[o]=e}},null,8,["module","onUpdate:module","error","onUpdate:error"])]}),_:2},1024),(0,r.createVNode)(p,null,{activator:(0,r.withCtx)(function(e){var t=e.props;return[(0,r.createVNode)(f,(0,r.mergeProps)(t,{icon:"mdi-delete",variant:"text"}),null,16)]}),default:(0,r.withCtx)(function(){return[(0,r.createVNode)(m,null,{default:(0,r.withCtx)(function(){return[(0,r.createVNode)(g,null,{default:(0,r.withCtx)(function(){return[(0,r.createVNode)(c,null,{default:(0,r.withCtx)(function(){return[(0,r.createTextVNode)(" Delete the module and its configuration? ")]}),_:1}),(0,r.createVNode)(f,{color:"red",depressed:"",onClick:function(e){return l.deleteModule(o)},class:"float-right",style:{"margin-top":"10px"}},{default:(0,r.withCtx)(function(){return[(0,r.createTextVNode)(" Yes ")]}),_:2},1032,["onClick"])]}),_:2},1024)]}),_:2},1024)]}),_:2},1024)]}),default:(0,r.withCtx)(function(){var e;return[(0,r.createVNode)(c,null,{default:(0,r.withCtx)(function(){return[(0,r.createTextVNode)((0,i.toDisplayString)(n.scrapedModules[o].name)+" ",1),(0,r.createVNode)(s,{size:"x-small"},{default:(0,r.withCtx)(function(){return[(0,r.createTextVNode)((0,i.toDisplayString)(t.showInCustom||"*"),1)]}),_:2},1024)]}),_:2},1024),(0,r.createVNode)(d,{innerHTML:(null===(e=n.scrapedModules[o])||void 0===e?void 0:e.description)||"No description",style:{"white-space":"break-spaces"}},null,8,["innerHTML"])]}),_:2},1024))]}),_:1},8,["list","onEnd"]),(0,r.createVNode)(g,null,{prepend:(0,r.withCtx)(function(){return[(0,r.createVNode)(u,{icon:"mdi-link"})]}),append:(0,r.withCtx)(function(){return[(0,r.createVNode)(f,{onClick:l.loadURL,disabled:!l.validate_url(a.moduleImportUrl)},{default:(0,r.withCtx)(function(){return[(0,r.createVNode)(u,{left:""},{default:(0,r.withCtx)(function(){return[(0,r.createTextVNode)(" mdi-view-grid-plus ")]}),_:1}),(0,r.createTextVNode)(" Add ")]}),_:1},8,["onClick","disabled"])]}),default:(0,r.withCtx)(function(){return[(0,r.createVNode)(_,{modelValue:a.moduleImportUrl,"onUpdate:modelValue":t[0]||(t[0]=function(e){return a.moduleImportUrl=e}),label:"Module URL",variant:"underlined",required:"",style:{width:"calc(100% - 40px)"}},null,8,["modelValue"])]}),_:1})]}),_:1}),(0,r.createVNode)(b,{class:"pb-2"}),(0,r.createVNode)(f,{href:"https://github.com/topics/edrys-module",target:"_blank"},{default:(0,r.withCtx)(function(){return[(0,r.createVNode)(u,{left:""},{default:(0,r.withCtx)(function(){return[(0,r.createTextVNode)(" mdi-github ")]}),_:1}),(0,r.createTextVNode)(" Explore on GitHub ")]}),_:1})],64)}}),f.register("3XaP9",function(e,n){t(e.exports,"default",function(){return r});var r=function(e){}}),f.register("aj2m5",function(e,n){t(e.exports,"default",function(){return i}),(r=f("ge8Ut")).__esModule&&(r=r.default),r.render=f("ch5tX").render,f("3nSv6").default(r),r.__scopeId="data-v-af4199",r.__file="Stations.vue";var r,i=r}),f.register("ge8Ut",function(e,n){u(e.exports),t(e.exports,"default",function(){return i});var r=f("9BzA6"),i={name:"Settings-Stations",props:{config:{type:Object,required:!0}},data:function(){return{url:window.location.toString().replace("classroom","station")}},methods:{copyUrl:function(){(0,r.copyToClipboard)(this.url)}}}}),f.register("ch5tX",function(e,n){t(e.exports,"render",function(){return a}),f("7DTtY");var r=f("5BxzC"),i=f("9Nw75"),o=["href"];function a(e,t,n,a,l,u){var s=(0,r.resolveComponent)("v-container"),c=(0,r.resolveComponent)("v-btn"),d=(0,r.resolveComponent)("v-alert");return(0,r.openBlock)(),(0,r.createBlock)(d,{outlined:"",dense:"",type:"info",text:"To add a new station, simply open this link on the client device: "},{append:(0,r.withCtx)(function(){return[(0,r.createVNode)(c,{icon:"mdi-content-copy",onClick:u.copyUrl,variant:"text"},null,8,["onClick"])]}),default:(0,r.withCtx)(function(){return[(0,r.createVNode)(s,null,{default:(0,r.withCtx)(function(){return[(0,r.createElementVNode)("a",{href:l.url,target:"_blank"},(0,i.toDisplayString)(l.url),9,o)]}),_:1})]}),_:1})}}),f.register("3nSv6",function(e,n){t(e.exports,"default",function(){return r});var r=function(e){}}),f.register("54yBi",function(e,n){t(e.exports,"default",function(){return i}),(r=f("bmM2m")).__esModule&&(r=r.default),r.render=f("bS67F").render,f("3CRKo").default(r),r.__scopeId="data-v-8b8f43",r.__file="Share.vue";var r,i=r}),f.register("bmM2m",function(e,n){u(e.exports),t(e.exports,"default",function(){return l});var r=f("xJRWs"),i=f("3XT9C"),o=f("i1Uxe"),a=f("9BzA6"),l={name:"Settings-Share",props:{config:{type:Object,required:!0}},data:function(){return console.log("Classroom config",JSON.stringify(this.config,null,2)),{url:window.location.toString(),selectedURL:"",selectedFile:[],showTemplate:!1,restoreSuccess:!1,saveError:!1,errorMessage:"",restoreFileRules:[function(e){return!e||e.size<2e6||"File should be less than 2 MB!"}]}},methods:{updateConfig:function(e){e.meta||(e.meta={logo:"",description:"",selfAssign:!1,defaultNumberOfRooms:0}),this.config.name=e.name,this.config.meta=e.meta,this.config.createdBy=(0,a.getPeerID)(),this.config.dateCreated=e.dateCreated,this.config.members=e.members,this.config.modules=e.modules},updateModules:function(){console.warn("updateModules",this.scrapedModules)},downloadClass:function(e){var t="yaml"===e?o.dump(this.config):JSON.stringify(this.config,null,2),n="class-"+this.config.id+("yaml"===e?".yml":".json"),r=new Blob([t],{type:"text/"+e}),i=URL.createObjectURL(r),a=document.createElement("a");a.href=i,a.download=n,document.body.appendChild(a),a.click(),document.body.removeChild(a),URL.revokeObjectURL(i)},restoreURL:function(){return(0,r._)(function(){var e,t,n;return(0,i.__generator)(this,function(r){switch(r.label){case 0:return this.restoreSuccess=!1,this.saveError=!1,[4,fetch(this.selectedURL)];case 1:if(!(e=r.sent()).ok)return[3,3];return[4,e.text()];case 2:if(t=r.sent(),n=(0,a.parseClassroom)(t))return this.updateConfig(n),this.restoreSuccess=!0,[2];r.label=3;case 3:return this.saveError=!0,this.errorMessage="Could not parse the content within the URL: ".concat(this.selectedURL),console.warn("Could not parse the content within the URL:",this.selectedURL),[2]}})}).apply(this)},restoreFile:function(){var e=this;this.restoreSuccess=!1,this.saveError=!1;var t=new FileReader;t.readAsText(this.selectedFile[0]),t.onload=function(n){// will load yaml and json as well
var r,i=(0,a.parseClassroom)((null===(r=t.result)||void 0===r?void 0:r.toString())||"");i?(//this.updateState(newClass);
e.updateConfig(i),e.restoreSuccess=!0,console.log("restoreFile: loaded class",i)):(e.restoreSuccess=!1,e.saveError=!0,e.errorMessage="Failed to restore classroom configuration from file.",console.warn("restoreFile: failed to load class",i))},t.onerror=function(t){e.restoreSuccess=!1,e.saveError=!0,console.warn("restoreFile",t)}}},computed:{selectedURLIcon:function(){return this.selectedURL?"mdi-upload":""},selectedFileIcon:function(){return void 0!==this.selectedFile[0]?"mdi-upload":""}}}}),f.register("bS67F",function(e,n){t(e.exports,"render",function(){return o}),f("7DTtY");var r=f("5BxzC"),i=f("jo4gN");function o(e,t,n,o,a,l){var u=(0,r.resolveComponent)("v-icon"),s=(0,r.resolveComponent)("v-btn"),c=(0,r.resolveComponent)("v-col"),d=(0,r.resolveComponent)("v-row"),f=(0,r.resolveComponent)("v-file-input"),h=(0,r.resolveComponent)("v-text-field"),p=(0,r.resolveComponent)("v-divider");return(0,r.openBlock)(),(0,r.createElementBlock)(r.Fragment,null,[(0,r.createVNode)(d,null,{default:(0,r.withCtx)(function(){return[(0,r.createVNode)(c,null,{default:(0,r.withCtx)(function(){return[(0,r.createVNode)(s,{depressed:"",block:"",onClick:t[0]||(t[0]=function(e){return l.downloadClass("yaml")})},{default:(0,r.withCtx)(function(){return[(0,r.createVNode)(u,{left:""},{default:(0,r.withCtx)(function(){return[(0,r.createTextVNode)(" mdi-download ")]}),_:1}),(0,r.createTextVNode)(" Download class file (.yml) ")]}),_:1})]}),_:1}),(0,r.createVNode)(c,null,{default:(0,r.withCtx)(function(){return[(0,r.createVNode)(s,{depressed:"",block:"",onClick:t[1]||(t[1]=function(e){return l.downloadClass("json")})},{default:(0,r.withCtx)(function(){return[(0,r.createVNode)(u,{left:""},{default:(0,r.withCtx)(function(){return[(0,r.createTextVNode)(" mdi-download ")]}),_:1}),(0,r.createTextVNode)(" Download class file (.json) ")]}),_:1})]}),_:1})]}),_:1}),(0,r.createVNode)(d,null,{default:(0,r.withCtx)(function(){return[(0,r.createVNode)(c,null,{default:(0,r.withCtx)(function(){return[(0,r.createVNode)(f,{dense:"",accept:".yml,.yaml,.json,application/yaml,application/json",label:"Restore class from file (yaml, json)",modelValue:a.selectedFile,"onUpdate:modelValue":t[2]||(t[2]=function(e){return a.selectedFile=e}),"append-icon":l.selectedFileIcon,"onClick:append":(0,i.withModifiers)(l.restoreFile,["self"])},null,8,["modelValue","append-icon","onClick:append"])]}),_:1}),(0,r.createVNode)(c,null,{default:(0,r.withCtx)(function(){return[(0,r.createVNode)(h,{dense:"",label:"Restore class from URL (http, https)",modelValue:a.selectedURL,"onUpdate:modelValue":t[6]||(t[6]=function(e){return a.selectedURL=e}),"prepend-icon":"mdi-link","append-icon":l.selectedURLIcon,"onClick:append":(0,i.withModifiers)(l.restoreURL,["self"]),onMouseover:t[7]||(t[7]=function(e){return a.showTemplate=!0}),onMouseleave:t[8]||(t[8]=function(e){return a.showTemplate=!1})},{"append-inner":(0,r.withCtx)(function(){return[a.selectedURL.length>0&&a.showTemplate?((0,r.openBlock)(),(0,r.createBlock)(u,{key:0,onMouseover:t[3]||(t[3]=function(e){return a.showTemplate=!0}),onMouseleave:t[4]||(t[4]=function(e){return a.showTemplate=!1}),onClick:t[5]||(t[5]=function(e){return a.selectedURL=""})},{default:(0,r.withCtx)(function(){return[(0,r.createTextVNode)("mdi-close-circle")]}),_:1})):(0,r.createCommentVNode)("",!0)]}),_:1},8,["modelValue","append-icon","onClick:append"])]}),_:1})]}),_:1}),(0,r.createVNode)(p,{class:"pb-2"}),(0,r.createVNode)(s,{href:"https://github.com/topics/edrys-classroom",target:"_blank"},{default:(0,r.withCtx)(function(){return[(0,r.createVNode)(u,{left:""},{default:(0,r.withCtx)(function(){return[(0,r.createTextVNode)(" mdi-github ")]}),_:1}),(0,r.createTextVNode)(" Explore on GitHub ")]}),_:1})],64)}}),f.register("3CRKo",function(e,n){t(e.exports,"default",function(){return r});var r=function(e){}}),f.register("gQjAn",function(e,n){t(e.exports,"render",function(){return i}),f("7DTtY");var r=f("5BxzC");function i(e,t,n,i,o,a){var l=(0,r.resolveComponent)("v-toolbar-title"),u=(0,r.resolveComponent)("v-spacer"),s=(0,r.resolveComponent)("v-icon"),c=(0,r.resolveComponent)("v-btn"),d=(0,r.resolveComponent)("v-tab"),f=(0,r.resolveComponent)("v-tabs"),h=(0,r.resolveComponent)("v-toolbar"),p=(0,r.resolveComponent)("Main"),g=(0,r.resolveComponent)("v-window-item"),m=(0,r.resolveComponent)("Members"),y=(0,r.resolveComponent)("Modules"),_=(0,r.resolveComponent)("Stations"),b=(0,r.resolveComponent)("Share"),w=(0,r.resolveComponent)("v-window"),x=(0,r.resolveComponent)("v-card-text"),k=(0,r.resolveComponent)("v-badge"),S=(0,r.resolveComponent)("v-list-item-title"),C=(0,r.resolveComponent)("v-list-item"),E=(0,r.resolveComponent)("v-list"),V=(0,r.resolveComponent)("v-menu"),N=(0,r.resolveComponent)("v-card-actions"),T=(0,r.resolveComponent)("v-card");return(0,r.openBlock)(),(0,r.createBlock)(T,null,{default:(0,r.withCtx)(function(){return[(0,r.createVNode)(h,{dark:"",flat:""},{extension:(0,r.withCtx)(function(){return[(0,r.createVNode)(f,{modelValue:o.tab,"onUpdate:modelValue":t[1]||(t[1]=function(e){return o.tab=e}),"fixed-tabs":"","center-active":"","show-arrows":""},{default:(0,r.withCtx)(function(){return[(0,r.createVNode)(d,{active:""},{default:(0,r.withCtx)(function(){return[(0,r.createVNode)(s,{left:""},{default:(0,r.withCtx)(function(){return[(0,r.createTextVNode)(" mdi-book-open-outline ")]}),_:1}),(0,r.createTextVNode)(" Settings ")]}),_:1}),(0,r.createVNode)(d,null,{default:(0,r.withCtx)(function(){return[(0,r.createVNode)(s,{left:""},{default:(0,r.withCtx)(function(){return[(0,r.createTextVNode)(" mdi-account-group ")]}),_:1}),(0,r.createTextVNode)(" Members ")]}),_:1}),(0,r.createVNode)(d,null,{default:(0,r.withCtx)(function(){return[(0,r.createVNode)(s,{left:""},{default:(0,r.withCtx)(function(){return[(0,r.createTextVNode)(" mdi-view-dashboard ")]}),_:1}),(0,r.createTextVNode)(" Modules ")]}),_:1}),(0,r.createVNode)(d,null,{default:(0,r.withCtx)(function(){return[(0,r.createVNode)(s,{left:""},{default:(0,r.withCtx)(function(){return[(0,r.createTextVNode)(" mdi-router-wireless ")]}),_:1}),(0,r.createTextVNode)(" Stations ")]}),_:1}),(0,r.createVNode)(d,null,{default:(0,r.withCtx)(function(){return[(0,r.createVNode)(s,{left:""},{default:(0,r.withCtx)(function(){return[(0,r.createTextVNode)(" mdi-share-variant ")]}),_:1}),(0,r.createTextVNode)(" Share ")]}),_:1})]}),_:1},8,["modelValue"])]}),default:(0,r.withCtx)(function(){return[(0,r.createVNode)(l,null,{default:(0,r.withCtx)(function(){return[(0,r.createTextVNode)("Class Settings")]}),_:1}),(0,r.createVNode)(u),(0,r.createVNode)(c,{icon:"",onClick:t[0]||(t[0]=function(t){return e.$emit("close")})},{default:(0,r.withCtx)(function(){return[(0,r.createVNode)(s,null,{default:(0,r.withCtx)(function(){return[(0,r.createTextVNode)("mdi-close")]}),_:1})]}),_:1})]}),_:1}),(0,r.createVNode)(x,{style:{height:"565px"}},{default:(0,r.withCtx)(function(){return[(0,r.createVNode)(w,{modelValue:o.tab,"onUpdate:modelValue":t[2]||(t[2]=function(e){return o.tab=e}),class:"pt-5"},{default:(0,r.withCtx)(function(){return[(0,r.createVNode)(g,null,{default:(0,r.withCtx)(function(){return[(0,r.createVNode)(p,{config:n.config},null,8,["config"])]}),_:1}),(0,r.createVNode)(g,null,{default:(0,r.withCtx)(function(){return[(0,r.createVNode)(m,{members:n.config.members,onUpdateMembers:a.updateMembers},null,8,["members","onUpdateMembers"])]}),_:1}),(0,r.createVNode)(g,null,{default:(0,r.withCtx)(function(){return[(0,r.createVNode)(y,{config:n.config,"scraped-modules":n.scrapedModules},null,8,["config","scraped-modules"])]}),_:1}),(0,r.createVNode)(g,null,{default:(0,r.withCtx)(function(){return[(0,r.createVNode)(_,{config:n.config},null,8,["config"])]}),_:1}),(0,r.createVNode)(g,null,{default:(0,r.withCtx)(function(){return[(0,r.createVNode)(b,{config:n.config},null,8,["config"])]}),_:1})]}),_:1},8,["modelValue"])]}),_:1}),(0,r.createVNode)(N,null,{default:(0,r.withCtx)(function(){return[(0,r.createVNode)(c,{onClick:a.saveClass,color:"primary",style:{"margin-top":"30px"}},{default:(0,r.withCtx)(function(){return[(0,r.createVNode)(s,{left:""},{default:(0,r.withCtx)(function(){return[(0,r.createTextVNode)(" mdi-upload ")]}),_:1}),(0,r.createTextVNode)(" Save "),o.configChanged?((0,r.openBlock)(),(0,r.createBlock)(k,{key:0,overlap:"",dot:"",color:"red",style:{position:"relative",bottom:"12px",left:"6px"}})):(0,r.createCommentVNode)("",!0)]}),_:1},8,["onClick"]),(0,r.createVNode)(V,null,{activator:(0,r.withCtx)(function(e){var t=e.props;return[(0,r.createVNode)(c,(0,r.mergeProps)({color:""},t,{style:{"margin-top":"30px","margin-right":"10px","margin-left":"30px"},class:"float-right"}),{default:(0,r.withCtx)(function(){return[(0,r.createTextVNode)(" Delete Class ")]}),_:2},1040)]}),default:(0,r.withCtx)(function(){return[(0,r.createVNode)(E,null,{default:(0,r.withCtx)(function(){return[(0,r.createVNode)(C,null,{default:(0,r.withCtx)(function(){return[(0,r.createVNode)(S,null,{default:(0,r.withCtx)(function(){return[(0,r.createTextVNode)(" Are you sure? ")]}),_:1}),(0,r.createVNode)(c,{color:"red",depressed:"",onClick:a.deleteClass,class:"float-right",style:{"margin-top":"10px"}},{default:(0,r.withCtx)(function(){return[(0,r.createTextVNode)(" Yes, delete forever")]}),_:1},8,["onClick"])]}),_:1})]}),_:1})]}),_:1})]}),_:1})]}),_:1})}}),f.register("4jdFA",function(e,n){t(e.exports,"default",function(){return r});var r=function(e){}}),f.register("gUtJX",function(e,n){t(e.exports,"default",function(){return i}),(r=f("giAxm")).__esModule&&(r=r.default),r.render=f("8fSY0").render,r.__cssModules={},f("2F8S7").default(r),r.__scopeId="data-v-0961a5",r.__file="Modules.vue";var r,i=r}),f.register("giAxm",function(e,n){u(e.exports),t(e.exports,"default",function(){return s});var r=f("xJRWs"),i=f("a42Vg"),o=f("3XT9C"),a=f("cDaaW"),l=f("4qftf"),s={components:{Module:a.default},name:"Modules",props:["role","username_","liveClassProxy","scrapedModules_","communication","class_id"],data:function(){return{username:this.username_,grid:null,//scrapedModules: JSON.parse(JSON.stringify(this.scrapedModules_)),
count:0}},computed:{roomName:function(){var e,t=this;return setTimeout(function(){t.gridUpdate()},1e3),(null===(e=this.liveClassProxy.users[this.username])||void 0===e?void 0:e.room)||"Station "+this.username},modulesType:function(){return this.roomName.startsWith("Station ")?"station":"chat"},scrapedModulesFilter:function(){var e=this;return this.scrapedModules_.filter(function(t){var n=t.showInCustom?t.showInCustom.split(",").map(function(e){return e.trim()}):t.shownIn;return(n.includes(e.modulesType)||n.map(function(e){return e.toLowerCase().replace(/\*/g,".*")}).map(function(e){return new RegExp(e)}).map(function(t){return null!==e.roomName.toLowerCase().match(t)}).includes(!0)||"*"==n)&&!n.includes("teacher-only")})}},created:function(){window.addEventListener("message",this.messageHandler);var e=document.getElementsByTagName("iframe");this.communication.on("message",function(t){for(var n=0;ni?1:0:io?1:0)return a;return a||(g||(g=t3(p)),a=h?t5(g,t,e):t5(g,e,t)),a},y=function(e,t){var n=h?-d(e,t):d(e,t);return n||(g||(g=t3(p)),n=h?t5(g,t,e):t5(g,e,t)),n},function(e,t){if(this._isDestroyed||this._items.length<2)return this;var n=this._items,r=t||{},i=r.layout?r.layout:void 0===r.layout;// If function is provided do a native array sort.
+i=(e._sortData?e:e._refreshSortData())._sortData[n],o=(t._sortData?t:t._refreshSortData())._sortData[n],a="desc"===r||!r&&h?oi?1:0:io?1:0)return a;return a||(g||(g=t3(p)),a=h?t4(g,t,e):t4(g,e,t)),a},y=function(e,t){var n=h?-d(e,t):d(e,t);return n||(g||(g=t3(p)),n=h?t4(g,t,e):t4(g,e,t)),n},function(e,t){if(this._isDestroyed||this._items.length<2)return this;var n=this._items,r=t||{},i=r.layout?r.layout:void 0===r.layout;// If function is provided do a native array sort.
if(// Setup parent scope data.
h=!!r.descending,p=n.slice(0),g=null,eO(e))d=e,n.sort(y);else if((void 0===e?"undefined":(0,b._)(e))===tJ)d=e.trim().split(" ").filter(function(e){return e}).map(function(e){return e.split(":")}),n.sort(m);else if(Array.isArray(e))n.length=0,n.push.apply(n,e);else throw d=h=p=g=null,Error("Invalid comparer argument provided.");return this._hasListeners(D)&&this._emit(D,n.slice(0),p),i&&this.layout(i===tZ,eO(i)?i:void 0),// Reset data (to avoid mem leaks).
d=h=p=g=null,this}),/**
@@ -3471,7 +3471,7 @@ for(i=0;i true
- */function(){return this._path||(this._path=e4(this.currentTarget,this.target))}},{/**
+ */function(){return this._path||(this._path=e5(this.currentTarget,this.target))}},{/**
* Check if a struct is deleted by this event.
*
* In contrast to change.deleted, this method also returns true if the struct was added and then deleted.
@@ -5216,7 +5216,7 @@ i="delete",o=x.last(/** @type {Item} */a.content.getContent())}t.set(r,{action:i
* is to store the `changes` or the `delta` object. Avoid storing the `transaction` object.
*
* @type {{added:Set- ,deleted:Set
- ,keys:Map,delta:Array<{insert?:Array|string, delete?:number, retain?:number}>}}
- */function(){var e=this._changes;if(null===e){if(0===this.transaction.doc._transactionCleanups.length)throw A.create(e3);var t=this.target,n=O.create(),r=O.create(),i=[];if(e={added:n,deleted:r,delta:i,keys:this.keys},/** @type Set */this.transaction.changed.get(t).has(null)){for(var o=null,a=function(){o&&i.push(o)},l=t._start;null!==l;l=l.right)l.deleted?this.deletes(l)&&!this.adds(l)&&((null===o||void 0===o.delete)&&(a(),o={delete:0}),o.delete+=l.length,r.add(l)):this.adds(l)?((null===o||void 0===o.insert)&&(a(),o={insert:[]}),o.insert=o.insert.concat(l.content.getContent()),n.add(l)):((null===o||void 0===o.retain)&&(a(),o={retain:0}),o.retain+=l.length);null!==o&&void 0===o.retain&&a()}this._changes=e}return /** @type {any} */e}}]),e}(),e4=function(e,t){for(var n=[];null!==t._item&&t!==e;){if(null!==t._item.parentSub)n.unshift(t._item.parentSub);else{for(// parent is array-ish
+ */function(){var e=this._changes;if(null===e){if(0===this.transaction.doc._transactionCleanups.length)throw A.create(e3);var t=this.target,n=O.create(),r=O.create(),i=[];if(e={added:n,deleted:r,delta:i,keys:this.keys},/** @type Set */this.transaction.changed.get(t).has(null)){for(var o=null,a=function(){o&&i.push(o)},l=t._start;null!==l;l=l.right)l.deleted?this.deletes(l)&&!this.adds(l)&&((null===o||void 0===o.delete)&&(a(),o={delete:0}),o.delete+=l.length,r.add(l)):this.adds(l)?((null===o||void 0===o.insert)&&(a(),o={insert:[]}),o.insert=o.insert.concat(l.content.getContent()),n.add(l)):((null===o||void 0===o.retain)&&(a(),o={retain:0}),o.retain+=l.length);null!==o&&void 0===o.retain&&a()}this._changes=e}return /** @type {any} */e}}]),e}(),e5=function(e,t){for(var n=[];null!==t._item&&t!==e;){if(null!==t._item.parentSub)n.unshift(t._item.parentSub);else{for(// parent is array-ish
var r=0,i=/** @type {AbstractType} */t._item.parent._start;i!==t._item&&null!==i;)!i.deleted&&r++,i=i.right;n.unshift(r)}t=/** @type {AbstractType} */t._item.parent}return n},e6=0,e8=function e(t,n){(0,a._)(this,e),t.marker=!0,this.p=t,this.index=n,this.timestamp=e6++},e7=function(e){e.timestamp=e6++},e9=function(e,t,n){e.p.marker=!1,e.p=t,t.marker=!0,e.index=n,e.timestamp=e6++},te=function(e,t,n){if(e.length>=80){// override oldest marker (we don't want to create more objects)
var r=e.reduce(function(e,t){return e.timestamp0&&((i=new na(ek(a,eT(l,a)),i,i&&i.lastId,u,u&&u.id,t,null,new t5(s))).integrate(e,0),s=[])};r.forEach(function(n){if(null===n)s.push(n);else switch(n.constructor){case Number:case Object:case Boolean:case Array:case String:s.push(n);break;default:switch(c(),n.constructor){case Uint8Array:case ArrayBuffer:(i=new na(ek(a,eT(l,a)),i,i&&i.lastId,u,u&&u.id,t,null,new tJ(new Uint8Array(/** @type {Uint8Array} */n)))).integrate(e,0);break;case Z:(i=new na(ek(a,eT(l,a)),i,i&&i.lastId,u,u&&u.id,t,null,new t0(/** @type {Doc} */n))).integrate(e,0);break;default:if(n instanceof ti)(i=new na(ek(a,eT(l,a)),i,i&&i.lastId,u,u&&u.id,t,null,new ni(n))).integrate(e,0);else throw Error("Unexpected content type in insert operation")}}}),c()},tf=function(){return A.create("Length exceeded!")},th=function(e,t,n,r){if(n>t._length)throw tf();if(0===n)return t._searchMarker&&tn(t._searchMarker,n,r.length),td(e,t,null,r);var i=n,o=tt(t,n),a=t._start;for(null!==o&&(a=o.p,0==(n-=o.index)&&(n+=// @todo refactor this as it actually doesn't consider formats
+r=n.content.getContent(),i=0,n=n.right}var e=r[i++];return r.length<=i&&(r=null),{done:!1,value:e}}),t},tc=function(e,t){var n=tt(e,t),r=e._start;for(null!==n&&(r=n.p,t-=n.index);null!==r;r=r.right)if(!r.deleted&&r.countable){if(t0&&((i=new na(ek(a,eT(l,a)),i,i&&i.lastId,u,u&&u.id,t,null,new t4(s))).integrate(e,0),s=[])};r.forEach(function(n){if(null===n)s.push(n);else switch(n.constructor){case Number:case Object:case Boolean:case Array:case String:s.push(n);break;default:switch(c(),n.constructor){case Uint8Array:case ArrayBuffer:(i=new na(ek(a,eT(l,a)),i,i&&i.lastId,u,u&&u.id,t,null,new tJ(new Uint8Array(/** @type {Uint8Array} */n)))).integrate(e,0);break;case Z:(i=new na(ek(a,eT(l,a)),i,i&&i.lastId,u,u&&u.id,t,null,new t0(/** @type {Doc} */n))).integrate(e,0);break;default:if(n instanceof ti)(i=new na(ek(a,eT(l,a)),i,i&&i.lastId,u,u&&u.id,t,null,new ni(n))).integrate(e,0);else throw Error("Unexpected content type in insert operation")}}}),c()},tf=function(){return A.create("Length exceeded!")},th=function(e,t,n,r){if(n>t._length)throw tf();if(0===n)return t._searchMarker&&tn(t._searchMarker,n,r.length),td(e,t,null,r);var i=n,o=tt(t,n),a=t._start;for(null!==o&&(a=o.p,0==(n-=o.index)&&(n+=// @todo refactor this as it actually doesn't consider formats
(a=a.prev)&&a.countable&&!a.deleted?a.length:0));null!==a;a=a.right)if(!a.deleted&&a.countable){if(n<=a.length){ne.index?t:e},{index:0,p:t._start}).p;if(r)for(;r.right;)r=r.right;return td(e,t,r,n)},tp=function(e,t,n,r){if(0!==r){var i=n,o=r,a=tt(t,n),l=t._start;// compute the first item to be deleted
for(null!==a&&(l=a.p,n-=a.index);null!==l&&n>0;l=l.right)!l.deleted&&l.countable&&(n0&&null!==l;)l.deleted||(r0)throw tf();t._searchMarker&&tn(t._searchMarker,i,-o+r/* in case we remove the above exception */)}},tg=function(e,t,n){var r=t._map.get(n);void 0!==r&&r.delete(e)},tm=function(e,t,n,r){var i,o=t._map.get(n)||null,a=e.doc,l=a.clientID;if(null==r)i=new t5([r]);else switch(r.constructor){case Number:case Object:case Boolean:case Array:case String:i=new t5([r]);break;case Uint8Array:i=new tJ(/** @type {Uint8Array} */r);break;case Z:i=new t0(/** @type {Doc} */r);break;default:if(r instanceof ti)i=new ni(r);else throw Error("Unexpected content type")}new na(ek(l,eT(a.store,l)),o,o&&o.lastId,null,null,t,n,i).integrate(e,0)},ty=function(e,t){var n=e._map.get(t);return void 0===n||n.deleted?void 0:n.content.getContent()[n.length-1]},t_=function(e){/**
+for(;r>0&&null!==l;)l.deleted||(r0)throw tf();t._searchMarker&&tn(t._searchMarker,i,-o+r/* in case we remove the above exception */)}},tg=function(e,t,n){var r=t._map.get(n);void 0!==r&&r.delete(e)},tm=function(e,t,n,r){var i,o=t._map.get(n)||null,a=e.doc,l=a.clientID;if(null==r)i=new t4([r]);else switch(r.constructor){case Number:case Object:case Boolean:case Array:case String:i=new t4([r]);break;case Uint8Array:i=new tJ(/** @type {Uint8Array} */r);break;case Z:i=new t0(/** @type {Doc} */r);break;default:if(r instanceof ti)i=new ni(r);else throw Error("Unexpected content type")}new na(ek(l,eT(a.store,l)),o,o&&o.lastId,null,null,t,n,i).integrate(e,0)},ty=function(e,t){var n=e._map.get(t);return void 0===n||n.deleted?void 0:n.content.getContent()[n.length-1]},t_=function(e){/**
* @type {Object}
- */var t={};return e._map.forEach(function(e,n){e.deleted||(t[n]=e.content.getContent()[e.length-1])}),t},tb=function(e,t){var n=e._map.get(t);return void 0!==n&&!n.deleted},tw=function(e){return P.iteratorFilter(e.entries(),/** @param {any} entry */function(e){return!e[1].deleted})},tx=/*#__PURE__*/function(e){(0,h._)(n,e);var t=(0,_._)(n);function n(e,r){var i;return(0,a._)(this,n),(i=t.call(this,e,r))._transaction=r,i}return n}(e5),tk=/*#__PURE__*/function(e){(0,h._)(n,e);var t=(0,_._)(n);function n(){var e;return(0,a._)(this,n),/**
+ */var t={};return e._map.forEach(function(e,n){e.deleted||(t[n]=e.content.getContent()[e.length-1])}),t},tb=function(e,t){var n=e._map.get(t);return void 0!==n&&!n.deleted},tw=function(e){return P.iteratorFilter(e.entries(),/** @param {any} entry */function(e){return!e[1].deleted})},tx=/*#__PURE__*/function(e){(0,h._)(n,e);var t=(0,_._)(n);function n(e,r){var i;return(0,a._)(this,n),(i=t.call(this,e,r))._transaction=r,i}return n}(e4),tk=/*#__PURE__*/function(e){(0,h._)(n,e);var t=(0,_._)(n);function n(){var e;return(0,a._)(this,n),/**
* @type {Array?}
* @private
*/(e=t.call(this))._prelimContent=[],/**
@@ -5423,7 +5423,7 @@ for(;r>0&&null!==l;)l.deleted||(r}
*/function(e){/**
* @type {YArray}
- */var t=new n;return t.push(e),t}}]),n}(ti),tS=/*#__PURE__*/function(e){(0,h._)(n,e);var t=(0,_._)(n);function n(e,r,i){var o;return(0,a._)(this,n),(o=t.call(this,e,r)).keysChanged=i,o}return n}(e5),tC=/*#__PURE__*/function(e){(0,h._)(n,e);var t=(0,_._)(n);function n(e){var r;return(0,a._)(this,n),/**
+ */var t=new n;return t.push(e),t}}]),n}(ti),tS=/*#__PURE__*/function(e){(0,h._)(n,e);var t=(0,_._)(n);function n(e,r,i){var o;return(0,a._)(this,n),(o=t.call(this,e,r)).keysChanged=i,o}return n}(e4),tC=/*#__PURE__*/function(e){(0,h._)(n,e);var t=(0,_._)(n);function n(e){var r;return(0,a._)(this,n),/**
* @type {Map?}
* @private
*/(r=t.call(this))._prelimContent=null,void 0===e?r._prelimContent=new Map:r._prelimContent=new Map(e),r}return(0,u._)(n,[{/**
@@ -5507,10 +5507,10 @@ for(;r>0&&null!==l;)l.deleted||(r0||l.size>0&&(n.right.deleted||n.right.content.constructor===t2));){if(!n.right.deleted){if(n.right.content.constructor===t2){var /** @type {ContentFormat} */u=n.right.content,s=u.key,c=u.value,d=i[s];if(void 0!==d){if(tE(d,c))l.delete(s);else{if(0===r)break;l.set(s,c)}n.right.delete(e)}else n.currentAttributes.set(s,c)}else r0||l.size>0&&(n.right.deleted||n.right.content.constructor===t2));){if(!n.right.deleted){if(n.right.content.constructor===t2){var /** @type {ContentFormat} */u=n.right.content,s=u.key,c=u.value,d=i[s];if(void 0!==d){if(tE(d,c))l.delete(s);else{if(0===r)break;l.set(s,c)}n.right.delete(e)}else n.currentAttributes.set(s,c)}else r0){for(var f="";r>0;r--)f+="\n";n.right=new na(ek(a,eT(o.store,a)),n.left,n.left&&n.left.lastId,n.right,n.right&&n.right.id,t,null,new t4(f)),n.right.integrate(e,0),n.forward()}tA(e,t,n,l)},tP=function(e,t,n,r,i){for(/**
+if(r>0){for(var f="";r>0;r--)f+="\n";n.right=new na(ek(a,eT(o.store,a)),n.left,n.left&&n.left.lastId,n.right,n.right&&n.right.id,t,null,new t5(f)),n.right.integrate(e,0),n.forward()}tA(e,t,n,l)},tP=function(e,t,n,r,i){for(/**
* @type {Item|null}
*/var o=t,a=S.create();o&&(!o.countable||o.deleted);){if(!o.deleted&&o.content.constructor===t2){var l=/** @type {ContentFormat} */o.content;a.set(l.key,l)}o=o.right}for(var u=0,s=!1;t!==o;){if(n===t&&(s=!0),!t.deleted){var c=t.content;if(c.constructor===t2){var d=/** @type {ContentFormat} */c.key,f=c.value,h=r.get(d)||null;a.get(d)===c&&h!==f||(// Either this format is overwritten or it is not necessary because the attribute already existed.
t.delete(e),u++,s||(i.get(d)||null)!==f||h===f||(null===h?i.delete(d):i.set(d,h))),s||t.deleted||tD(i,/** @type {ContentFormat} */c)}}t=/** @type {Item} */t.right}return u},tM=function(e,t){// iterate until item.right is null or content
@@ -5522,7 +5522,7 @@ eq(n,function(n){F(e,e.deleteSet,function(e){if(!(e instanceof t$||!/** @type {Y
// Contextless: it is not necessary to compute currentAttributes for the affected position.
tM(n,e)}});var r=!0,i=!1,o=void 0;try{// If a formatting item was inserted, we simply clean the whole type.
// We need to compute currentAttributes for the current position anyway.
-for(var a,l=t[Symbol.iterator]();!(r=(a=l.next()).done);r=!0){var u=a.value;tL(u)}}catch(e){i=!0,o=e}finally{try{r||null==l.return||l.return()}finally{if(i)throw o}}})},tF=function(e,t,n){for(var r=n,i=S.copy(t.currentAttributes),o=t.right;n>0&&null!==t.right;){if(!1===t.right.deleted)switch(t.right.content.constructor){case ni:case t1:case t4:n} *//** @type {Item} */(t.left||t.right).parent;return a._searchMarker&&tn(a._searchMarker,t.index,-r+n),t},tU=/*#__PURE__*/function(e){(0,h._)(n,e);var t=(0,_._)(n);function n(e,r,i){var o;return(0,a._)(this,n),/**
+for(var a,l=t[Symbol.iterator]();!(r=(a=l.next()).done);r=!0){var u=a.value;tL(u)}}catch(e){i=!0,o=e}finally{try{r||null==l.return||l.return()}finally{if(i)throw o}}})},tF=function(e,t,n){for(var r=n,i=S.copy(t.currentAttributes),o=t.right;n>0&&null!==t.right;){if(!1===t.right.deleted)switch(t.right.content.constructor){case ni:case t1:case t5:n} *//** @type {Item} */(t.left||t.right).parent;return a._searchMarker&&tn(a._searchMarker,t.index,-r+n),t},tU=/*#__PURE__*/function(e){(0,h._)(n,e);var t=(0,_._)(n);function n(e,r,i){var o;return(0,a._)(this,n),/**
* Whether the children changed.
* @type {Boolean}
* @private
@@ -5542,7 +5542,7 @@ for(var a,l=t[Symbol.iterator]();!(r=(a=l.next()).done);r=!0){var u=a.value;tL(u
* @public
*/function(){var e=this;if(null===this._delta){var t=/** @type {Doc} */this.target.doc,n=[];eq(t,function(t){for(var r=new Map,i=new Map,o=e.target._start,a=null,l={},u="",s=0,c=0,d=function(){if(null!==a){/**
* @type {any}
- */var e=null;switch(a){case"delete":c>0&&(e={delete:c}),c=0;break;case"insert":("object"==typeof u||u.length>0)&&(e={insert:u},r.size>0&&(e.attributes={},r.forEach(function(t,n){null!==t&&(e.attributes[n]=t)}))),u="";break;case"retain":s>0&&(e={retain:s},M.isEmpty(l)||(e.attributes=M.assign({},l))),s=0}e&&n.push(e),a=null}};null!==o;){switch(o.content.constructor){case ni:case t1:e.adds(o)?e.deletes(o)||(d(),a="insert",u=o.content.getContent()[0],d()):e.deletes(o)?("delete"!==a&&(d(),a="delete"),c+=1):o.deleted||("retain"!==a&&(d(),a="retain"),s+=1);break;case t4:e.adds(o)?e.deletes(o)||("insert"!==a&&(d(),a="insert"),u+=/** @type {ContentString} */o.content.str):e.deletes(o)?("delete"!==a&&(d(),a="delete"),c+=o.length):o.deleted||("retain"!==a&&(d(),a="retain"),s+=o.length);break;case t2:var /** @type {ContentFormat} */f=o.content,h=f.key,p=f.value;if(e.adds(o))e.deletes(o)||(tE(r.get(h)||null,p)?null!==p&&o.delete(t):("retain"===a&&d(),tE(p,i.get(h)||null)?delete l[h]:l[h]=p));else if(e.deletes(o)){i.set(h,p);var g=r.get(h)||null;tE(g,p)||("retain"===a&&d(),l[h]=g)}else if(!o.deleted){i.set(h,p);var m=l[h];void 0!==m&&(tE(m,p)?null!==m&&o.delete(t):("retain"===a&&d(),null===p?delete l[h]:l[h]=p))}o.deleted||("insert"===a&&d(),tD(r,/** @type {ContentFormat} */o.content))}o=o.right}for(d();n.length>0;){var y=n[n.length-1];if(void 0!==y.retain&&void 0===y.attributes)n.pop();else break}}),this._delta=n}return /** @type {any} */this._delta}}]),n}(e5),tz=/*#__PURE__*/function(e){(0,h._)(n,e);var t=(0,_._)(n);function n(e){var r;return(0,a._)(this,n),/**
+ */var e=null;switch(a){case"delete":c>0&&(e={delete:c}),c=0;break;case"insert":("object"==typeof u||u.length>0)&&(e={insert:u},r.size>0&&(e.attributes={},r.forEach(function(t,n){null!==t&&(e.attributes[n]=t)}))),u="";break;case"retain":s>0&&(e={retain:s},M.isEmpty(l)||(e.attributes=M.assign({},l))),s=0}e&&n.push(e),a=null}};null!==o;){switch(o.content.constructor){case ni:case t1:e.adds(o)?e.deletes(o)||(d(),a="insert",u=o.content.getContent()[0],d()):e.deletes(o)?("delete"!==a&&(d(),a="delete"),c+=1):o.deleted||("retain"!==a&&(d(),a="retain"),s+=1);break;case t5:e.adds(o)?e.deletes(o)||("insert"!==a&&(d(),a="insert"),u+=/** @type {ContentString} */o.content.str):e.deletes(o)?("delete"!==a&&(d(),a="delete"),c+=o.length):o.deleted||("retain"!==a&&(d(),a="retain"),s+=o.length);break;case t2:var /** @type {ContentFormat} */f=o.content,h=f.key,p=f.value;if(e.adds(o))e.deletes(o)||(tE(r.get(h)||null,p)?null!==p&&o.delete(t):("retain"===a&&d(),tE(p,i.get(h)||null)?delete l[h]:l[h]=p));else if(e.deletes(o)){i.set(h,p);var g=r.get(h)||null;tE(g,p)||("retain"===a&&d(),l[h]=g)}else if(!o.deleted){i.set(h,p);var m=l[h];void 0!==m&&(tE(m,p)?null!==m&&o.delete(t):("retain"===a&&d(),null===p?delete l[h]:l[h]=p))}o.deleted||("insert"===a&&d(),tD(r,/** @type {ContentFormat} */o.content))}o=o.right}for(d();n.length>0;){var y=n[n.length-1];if(void 0!==y.retain&&void 0===y.attributes)n.pop();else break}}),this._delta=n}return /** @type {any} */this._delta}}]),n}(e4),tz=/*#__PURE__*/function(e){(0,h._)(n,e);var t=(0,_._)(n);function n(e){var r;return(0,a._)(this,n),/**
* Array of pending operations on this type
* @type {Array?}
*/(r=t.call(this))._pending=void 0!==e?[function(){return r.insert(0,e)}]:[],/**
@@ -5568,7 +5568,7 @@ for(var a,l=t[Symbol.iterator]();!(r=(a=l.next()).done);r=!0){var u=a.value;tL(u
* Returns the unformatted string representation of this YText type.
*
* @public
- */key:"toString",value:function(){for(var e="",t=this._start;null!==t;)!t.deleted&&t.countable&&t.content.constructor===t4&&(e+=/** @type {ContentString} */t.content.str),t=t.right;return e}},{/**
+ */key:"toString",value:function(){for(var e="",t=this._start;null!==t;)!t.deleted&&t.countable&&t.content.constructor===t5&&(e+=/** @type {ContentString} */t.content.str),t=t.right;return e}},{/**
* Returns the unformatted string representation of this YText type.
*
* @return {string}
@@ -5601,7 +5601,7 @@ var l=r||"string"!=typeof a.insert||o!==e.length-1||null!==n.right||"\n"!==a.ins
* @type {Object}
*/var e={},t=!1;o.forEach(function(n,r){t=!0,e[r]=n});/**
* @type {Object}
- */var n={insert:l};t&&(n.attributes=e),i.push(n),l=""}},i=[],o=new Map,a=/** @type {Doc} */this.doc,l="",u=this._start,s=function(){for(;null!==u;)!function(){if(eC(u,e)||void 0!==t&&eC(u,t))switch(u.content.constructor){case t4:var a=o.get("ychange");void 0===e||eC(u,e)?void 0===t||eC(u,t)?void 0!==a&&(r(),o.delete("ychange")):(void 0===a||a.user!==u.id.client||"added"!==a.type)&&(r(),o.set("ychange",n?n("added",u.id):{type:"added"})):(void 0===a||a.user!==u.id.client||"removed"!==a.type)&&(r(),o.set("ychange",n?n("removed",u.id):{type:"removed"})),l+=/** @type {ContentString} */u.content.str;break;case ni:case t1:r();/**
+ */var n={insert:l};t&&(n.attributes=e),i.push(n),l=""}},i=[],o=new Map,a=/** @type {Doc} */this.doc,l="",u=this._start,s=function(){for(;null!==u;)!function(){if(eC(u,e)||void 0!==t&&eC(u,t))switch(u.content.constructor){case t5:var a=o.get("ychange");void 0===e||eC(u,e)?void 0===t||eC(u,t)?void 0!==a&&(r(),o.delete("ychange")):(void 0===a||a.user!==u.id.client||"added"!==a.type)&&(r(),o.set("ychange",n?n("added",u.id):{type:"added"})):(void 0===a||a.user!==u.id.client||"removed"!==a.type)&&(r(),o.set("ychange",n?n("removed",u.id):{type:"removed"})),l+=/** @type {ContentString} */u.content.str;break;case ni:case t1:r();/**
* @type {Object}
*/var s={insert:u.content.getContent()[0]};if(o.size>0){var c=/** @type {Object} */{};s.attributes=c,o.forEach(function(e,t){c[t]=e})}i.push(s);break;case t2:eC(u,e)&&(r(),tD(o,/** @type {ContentFormat} */u.content))}u=u.right}();r()};return e||t?// transaction alive until we are done
eq(a,function(n){e&&eE(n,e),t&&eE(n,t),s()},"cleanup"):s(),i}},{/**
@@ -5923,7 +5923,7 @@ e.insert(0,this.toArray().map(function(e){return e instanceof ti?e.clone():e})),
*/(o=t.call(this,e,i)).childListChanged=!1,/**
* Set of all changed attributes.
* @type {Set}
- */o.attributesChanged=new Set,r.forEach(function(e){null===e?o.childListChanged=!0:o.attributesChanged.add(e)}),o}return n}(e5),tK=/*#__PURE__*/function(e){(0,h._)(n,e);var t=(0,_._)(n);function n(e){var r;return(0,a._)(this,n),/**
+ */o.attributesChanged=new Set,r.forEach(function(e){null===e?o.childListChanged=!0:o.attributesChanged.add(e)}),o}return n}(e4),tK=/*#__PURE__*/function(e){(0,h._)(n,e);var t=(0,_._)(n);function n(e){var r;return(0,a._)(this,n),/**
* @type {string}
*/(r=t.call(this)).hookName=e,r}return(0,u._)(n,[{/**
* Creates an Item with the same effect as this Item (without position effect)
@@ -6169,7 +6169,7 @@ var n=/** @type {YText} */t.parent;n._searchMarker=null,n._hasFormatting=!0}},{/
* @param {number} offset
*/key:"write",value:function(e,t){var n=this.arr.length;e.writeLen(n-t);for(var r=t;r}
*/this.arr=t}return(0,u._)(e,[{/**
* @return {number}
@@ -6197,7 +6197,7 @@ var n=/** @type {YText} */t.parent;n._searchMarker=null,n._hasFormatting=!0}},{/
* @param {number} offset
*/key:"write",value:function(e,t){var n=this.arr.length;e.writeLen(n-t);for(var r=t;r} */this.parent;if(void 0!==a._item){var l=a._item;if(null===l){// parent type on y._map
// find the correct key
-var u=eS(a);e.writeParentInfo(!0),e.writeString(u)}else e.writeParentInfo(!1),e.writeLeftID(l.id)}else a.constructor===String?(e.writeParentInfo(!0),e.writeString(a)):a.constructor===ew?(e.writeParentInfo(!1),e.writeLeftID(a)):A.unexpectedCase();null!==i&&e.writeString(i)}this.content.write(e,t)}}]),n}(tG),nl=function(e,t){return nu[t&D.BITS5](e)},nu=[function(){A.unexpectedCase()},function(e){return new tZ(e.readLen())},function(e){for(var t=e.readLen(),n=[],r=0;r0&&
function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ew("injectSelf"),n=t.provides;if(n&&e in n)return n[e]}(eE,o);(0,S.provide)(eE,(0,S.computed)(function(){var t;return u.value?ei(null!==(t=null==e?void 0:e.value)&&void 0!==t?t:{},u.value):null==e?void 0:e.value}))}}}(t,null!==(r=t._as)&&void 0!==r?r:e.name,i),a=o.props,l=o.provideSubDefaults,u=e._setup(a,n);return l(),u}}return e}function eY(){var e=!(arguments.length>0)||void 0===arguments[0]||arguments[0];return function(t){return(e?ez:(0,S.defineComponent))(t)}}var eH=[String,Function,Object,Array],eq=Symbol.for("vuetify:icons"),eW=eU({icon:{type:eH},// Could not remove this and use makeTagProps, types complained because it is not required
tag:{type:String,required:!0}},"icon"),eK=eY()({name:"VComponentIcon",props:eW(),setup:function(e,t){var n=t.slots;return function(){var t=e.icon;return(0,S.createVNode)(e.tag,null,{default:function(){var r;return[e.icon?(0,S.createVNode)(t,null,null):null===(r=n.default)||void 0===r?void 0:r.call(n)]}})}}}),eX=ez({name:"VSvgIcon",inheritAttrs:!1,props:eW(),setup:function(e,t){var n=t.attrs;return function(){return(0,S.createVNode)(e.tag,(0,S.mergeProps)(n,{style:null}),{default:function(){return[(0,S.createVNode)("svg",{class:"v-icon__svg",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",role:"img","aria-hidden":"true"},[Array.isArray(e.icon)?e.icon.map(function(e){return Array.isArray(e)?(0,S.createVNode)("path",{d:e[0],"fill-opacity":e[1]},null):(0,S.createVNode)("path",{d:e},null)}):(0,S.createVNode)("path",{d:e.icon},null)])]}})}}}),eG=ez({name:"VLigatureIcon",props:eW(),setup:function(e){return function(){return(0,S.createVNode)(e.tag,null,{default:function(){return[e.icon]}})}}}),e$=ez({name:"VClassIcon",props:eW(),setup:function(e){return function(){return(0,S.createVNode)(e.tag,{class:e.icon},null)}}}),eJ={svg:{component:eX},class:{component:e$}},eZ=function(e){var t=(0,S.inject)(eq);if(!t)throw Error("Missing Vuetify Icons provide!");return{iconData:(0,S.computed)(function(){var n,r=(0,k.unref)(e);if(!r)return{component:eK};var i=r;if("string"==typeof i&&(i=i.trim()).startsWith("$")&&(i=null===(n=t.aliases)||void 0===n?void 0:n[i.slice(1)]),!i)throw Error('Could not find aliased icon "'.concat(r,'"'));if(Array.isArray(i))return{component:eX,icon:i};if("string"!=typeof i)return{component:eK,icon:i};var o=Object.keys(t.sets).find(function(e){return"string"==typeof i&&i.startsWith("".concat(e,":"))}),a=o?i.slice(o.length+1):i;return{component:t.sets[null!=o?o:t.defaultSet].component,icon:a}})}},p=f("a42Vg");f("7DTtY");var S=f("5BxzC"),k=f("bNhjt"),eQ={af:!1,ar:!0,bg:!1,ca:!1,ckb:!1,cs:!1,de:!1,el:!1,en:!1,es:!1,et:!1,fa:!0,fi:!1,fr:!1,hr:!1,hu:!1,he:!0,id:!1,it:!1,ja:!1,ko:!1,lv:!1,lt:!1,nl:!1,no:!1,pl:!1,pt:!1,ro:!1,ru:!1,sk:!1,sl:!1,srCyrl:!1,srLatn:!1,sv:!1,th:!1,tr:!1,az:!1,uk:!1,vi:!1,zhHans:!1,zhHant:!1},p=f("a42Vg");// Composables
// Utilities
-f("7DTtY");var k=f("bNhjt"),S=f("5BxzC");function e0(e,t){var n;(0,S.watch)(e,function(e){e&&!n?function e(){(n=(0,k.effectScope)()).run(function(){return t.length?t(function(){null==n||n.stop(),e()}):t()})}():e||(null==n||n.stop(),n=void 0)},{immediate:!0}),(0,k.onScopeDispose)(function(){null==n||n.stop()})}f("7DTtY");var k=f("bNhjt"),S=f("5BxzC");function e1(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:function(e){return e},i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:function(e){return e},o=ew("useProxiedModel"),a=(0,k.ref)(void 0!==e[t]?e[t]:n),l=eo(t),u=l!==t?(0,S.computed)(function(){var n,r,i,a;return e[t],!!(((null===(n=o.vnode.props)||void 0===n?void 0:n.hasOwnProperty(t))||(null===(r=o.vnode.props)||void 0===r?void 0:r.hasOwnProperty(l)))&&((null===(i=o.vnode.props)||void 0===i?void 0:i.hasOwnProperty("onUpdate:".concat(t)))||(null===(a=o.vnode.props)||void 0===a?void 0:a.hasOwnProperty("onUpdate:".concat(l)))))}):(0,S.computed)(function(){var n,r;return e[t],!!((null===(n=o.vnode.props)||void 0===n?void 0:n.hasOwnProperty(t))&&(null===(r=o.vnode.props)||void 0===r?void 0:r.hasOwnProperty("onUpdate:".concat(t))))});e0(function(){return!u.value},function(){(0,S.watch)(function(){return e[t]},function(e){a.value=e})});var s=(0,S.computed)({get:function(){var n=e[t];return r(u.value?n:a.value)},set:function(n){var l=i(n),s=(0,k.toRaw)(u.value?e[t]:a.value);s!==l&&r(s)!==n&&(a.value=l,null==o||o.emit("update:".concat(t),l))}});return Object.defineProperty(s,"externalValue",{get:function(){return u.value?e[t]:a.value}}),s}f("7DTtY");var S=f("5BxzC"),k=f("bNhjt"),e2={badge:"Badge",open:"Open",close:"Close",dataIterator:{noResultsText:"No matching records found",loadingText:"Loading items..."},dataTable:{itemsPerPageText:"Rows per page:",ariaLabel:{sortDescending:"Sorted descending.",sortAscending:"Sorted ascending.",sortNone:"Not sorted.",activateNone:"Activate to remove sorting.",activateDescending:"Activate to sort descending.",activateAscending:"Activate to sort ascending."},sortBy:"Sort by"},dataFooter:{itemsPerPageText:"Items per page:",itemsPerPageAll:"All",nextPage:"Next page",prevPage:"Previous page",firstPage:"First page",lastPage:"Last page",pageText:"{0}-{1} of {2}"},dateRangeInput:{divider:"to"},datePicker:{ok:"OK",cancel:"Cancel",range:{title:"Select dates",header:"Enter dates"},title:"Select date",header:"Enter date",input:{placeholder:"Enter date"}},noDataText:"No data available",carousel:{prev:"Previous visual",next:"Next visual",ariaLabel:{delimiter:"Carousel slide {0} of {1}"}},calendar:{moreEvents:"{0} more"},input:{clear:"Clear {0}",prependAction:"{0} prepended action",appendAction:"{0} appended action",otp:"Please enter OTP character {0}"},fileInput:{counter:"{0} files",counterSize:"{0} files ({1} in total)"},timePicker:{am:"AM",pm:"PM"},pagination:{ariaLabel:{root:"Pagination Navigation",next:"Next page",previous:"Previous page",page:"Go to page {0}",currentPage:"Page {0}, Current page",first:"First page",last:"Last page"}},stepper:{next:"Next",prev:"Previous"},rating:{ariaLabel:{item:"Rating {0} of {1}"}},loading:"Loading...",infiniteScroll:{loadMore:"Load more",empty:"No more"}},e3="$vuetify.",e5=function(e,t){return e.replace(/\{(\d+)\}/g,function(e,n){return String(t[+n])})},e4=function(e,t,n){return function(r){for(var i=arguments.length,o=Array(i>1?i-1:0),a=1;a3&&void 0!==arguments[3]?arguments[3]:function(e){return e},i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:function(e){return e},o=ew("useProxiedModel"),a=(0,k.ref)(void 0!==e[t]?e[t]:n),l=eo(t),u=l!==t?(0,S.computed)(function(){var n,r,i,a;return e[t],!!(((null===(n=o.vnode.props)||void 0===n?void 0:n.hasOwnProperty(t))||(null===(r=o.vnode.props)||void 0===r?void 0:r.hasOwnProperty(l)))&&((null===(i=o.vnode.props)||void 0===i?void 0:i.hasOwnProperty("onUpdate:".concat(t)))||(null===(a=o.vnode.props)||void 0===a?void 0:a.hasOwnProperty("onUpdate:".concat(l)))))}):(0,S.computed)(function(){var n,r;return e[t],!!((null===(n=o.vnode.props)||void 0===n?void 0:n.hasOwnProperty(t))&&(null===(r=o.vnode.props)||void 0===r?void 0:r.hasOwnProperty("onUpdate:".concat(t))))});e0(function(){return!u.value},function(){(0,S.watch)(function(){return e[t]},function(e){a.value=e})});var s=(0,S.computed)({get:function(){var n=e[t];return r(u.value?n:a.value)},set:function(n){var l=i(n),s=(0,k.toRaw)(u.value?e[t]:a.value);s!==l&&r(s)!==n&&(a.value=l,null==o||o.emit("update:".concat(t),l))}});return Object.defineProperty(s,"externalValue",{get:function(){return u.value?e[t]:a.value}}),s}f("7DTtY");var S=f("5BxzC"),k=f("bNhjt"),e2={badge:"Badge",open:"Open",close:"Close",dataIterator:{noResultsText:"No matching records found",loadingText:"Loading items..."},dataTable:{itemsPerPageText:"Rows per page:",ariaLabel:{sortDescending:"Sorted descending.",sortAscending:"Sorted ascending.",sortNone:"Not sorted.",activateNone:"Activate to remove sorting.",activateDescending:"Activate to sort descending.",activateAscending:"Activate to sort ascending."},sortBy:"Sort by"},dataFooter:{itemsPerPageText:"Items per page:",itemsPerPageAll:"All",nextPage:"Next page",prevPage:"Previous page",firstPage:"First page",lastPage:"Last page",pageText:"{0}-{1} of {2}"},dateRangeInput:{divider:"to"},datePicker:{ok:"OK",cancel:"Cancel",range:{title:"Select dates",header:"Enter dates"},title:"Select date",header:"Enter date",input:{placeholder:"Enter date"}},noDataText:"No data available",carousel:{prev:"Previous visual",next:"Next visual",ariaLabel:{delimiter:"Carousel slide {0} of {1}"}},calendar:{moreEvents:"{0} more"},input:{clear:"Clear {0}",prependAction:"{0} prepended action",appendAction:"{0} appended action",otp:"Please enter OTP character {0}"},fileInput:{counter:"{0} files",counterSize:"{0} files ({1} in total)"},timePicker:{am:"AM",pm:"PM"},pagination:{ariaLabel:{root:"Pagination Navigation",next:"Next page",previous:"Previous page",page:"Go to page {0}",currentPage:"Page {0}, Current page",first:"First page",last:"Last page"}},stepper:{next:"Next",prev:"Previous"},rating:{ariaLabel:{item:"Rating {0} of {1}"}},loading:"Loading...",infiniteScroll:{loadMore:"Load more",empty:"No more"}},e3="$vuetify.",e4=function(e,t){return e.replace(/\{(\d+)\}/g,function(e,n){return String(t[+n])})},e5=function(e,t,n){return function(r){for(var i=arguments.length,o=Array(i>1?i-1:0),a=1;a1&&void 0!==arguments[1]?arguments[1]:"content",n=(0,k.ref)(),r=(0,k.ref)();if(T){var i=new ResizeObserver(function(n){null==e||e(n,i),n.length&&("content"===t?r.value=n[0].contentRect:r.value=n[0].target.getBoundingClientRect())});(0,S.onBeforeUnmount)(function(){i.disconnect()}),(0,S.watch)(n,function(e,t){t&&(i.unobserve(z(t)),r.value=void 0),e&&i.observe(z(e))},{flush:"post"})}return{resizeRef:n,contentRect:(0,k.readonly)(r)}}f("7DTtY");var S=f("5BxzC"),k=f("bNhjt"),tJ=Symbol.for("vuetify:layout"),tZ=Symbol.for("vuetify:layout-item"),tQ=eU({overlaps:{type:Array,default:function(){return[]}},fullHeight:Boolean},"layout"),t0=eU({name:{type:String},order:{type:[Number,String],default:0},absolute:Boolean},"layout-item");function t1(e){var t,n=(0,S.inject)(tJ);if(!n)throw Error("[Vuetify] Could not find injected layout");var r=null!==(t=e.id)&&void 0!==t?t:"layout-item-".concat(eC()),i=ew("useLayoutItem");(0,S.provide)(tZ,{id:r});var o=(0,k.shallowRef)(!1);(0,S.onDeactivated)(function(){return o.value=!0}),(0,S.onActivated)(function(){return o.value=!1});var a=n.register(i,(0,b._)((0,p._)({},e),{active:(0,S.computed)(function(){return!o.value&&e.active.value}),id:r})),l=a.layoutItemStyles,u=a.layoutItemScrimStyles;return(0,S.onBeforeUnmount)(function(){return n.unregister(r)}),{layoutItemStyles:l,layoutRect:n.layoutRect,layoutItemScrimStyles:u}}var t2=function(e,t,n,r){var i={top:0,left:0,right:0,bottom:0},o=[{id:"",layer:(0,p._)({},i)}],a=!0,l=!1,u=void 0;try{for(var s,c=e[Symbol.iterator]();!(a=(s=c.next()).done);a=!0){var d=s.value,f=t.get(d),h=n.get(d),g=r.get(d);if(f&&h&&g){var m=(0,b._)((0,p._)({},i),(0,tG._)({},f.value,parseInt(i[f.value],10)+(g.value?parseInt(h.value,10):0)));o.push({id:d,layer:m}),i=m}}}catch(e){l=!0,u=e}finally{try{a||null==c.return||c.return()}finally{if(l)throw u}}return o};function t3(e){var t=(0,S.inject)(tJ,null),n=(0,S.computed)(function(){return t?t.rootZIndex.value-100:1e3}),r=(0,k.ref)([]),i=(0,k.reactive)(new Map),o=(0,k.reactive)(new Map),a=(0,k.reactive)(new Map),l=(0,k.reactive)(new Map),u=(0,k.reactive)(new Map),s=t$(),c=s.resizeRef,d=s.contentRect,f=(0,S.computed)(function(){var t=new Map,n=null!==(s=e.overlaps)&&void 0!==s?s:[],a=!0,l=!1,u=void 0;try{for(var s,c,d=n.filter(function(e){return e.includes(":")})[Symbol.iterator]();!(a=(c=d.next()).done);a=!0){var f=c.value,h=(0,x._)(f.split(":"),2),p=h[0],g=h[1];if(r.value.includes(p)&&r.value.includes(g)){var m=i.get(p),y=i.get(g),_=o.get(p),b=o.get(g);m&&y&&_&&b&&(t.set(g,{position:m.value,amount:parseInt(_.value,10)}),t.set(p,{position:y.value,amount:-parseInt(b.value,10)}))}}}catch(e){l=!0,u=e}finally{try{a||null==d.return||d.return()}finally{if(l)throw u}}return t}),h=(0,S.computed)(function(){var e=(0,V._)(new Set((0,V._)(a.values()).map(function(e){return e.value}))).sort(function(e,t){return e-t}),t=[],n=!0,u=!1,s=void 0;try{for(var c,d=e[Symbol.iterator]();!(n=(c=d.next()).done);n=!0)!function(){var e=c.value,n=r.value.filter(function(t){var n;return(null===(n=a.get(t))||void 0===n?void 0:n.value)===e});t.push.apply(t,(0,V._)(n))}()}catch(e){u=!0,s=e}finally{try{n||null==d.return||d.return()}finally{if(u)throw s}}return t2(t,i,o,l)}),g=(0,S.computed)(function(){return!Array.from(u.values()).some(function(e){return e.value})}),m=(0,S.computed)(function(){return h.value[h.value.length-1].layer}),y=(0,S.computed)(function(){return(0,p._)({"--v-layout-left":F(m.value.left),"--v-layout-right":F(m.value.right),"--v-layout-top":F(m.value.top),"--v-layout-bottom":F(m.value.bottom)},g.value?void 0:{transition:"none"})}),_=(0,S.computed)(function(){return h.value.slice(1).map(function(e,t){var n=e.id,r=h.value[t].layer,a=o.get(n),l=i.get(n);return(0,b._)((0,p._)({id:n},r),{size:Number(a.value),position:l.value})})}),w=function(e){return _.value.find(function(t){return t.id===e})},C=ew("createLayout"),E=(0,k.shallowRef)(!1);return(0,S.onMounted)(function(){E.value=!0}),(0,S.provide)(tJ,{register:function(e,t){var s=t.id,c=t.order,d=t.position,m=t.layoutSize,y=t.elementSize,w=t.active,x=t.disableTransitions,k=t.absolute;a.set(s,c),i.set(s,d),o.set(s,m),l.set(s,w),x&&u.set(s,x);var V=ea(tZ,null==C?void 0:C.vnode).indexOf(e);V>-1?r.value.splice(V,0,s):r.value.push(s);var N=(0,S.computed)(function(){return _.value.findIndex(function(e){return e.id===s})}),T=(0,S.computed)(function(){return n.value+2*h.value.length-2*N.value});return{layoutItemStyles:(0,S.computed)(function(){var e,t="left"===d.value||"right"===d.value,r="right"===d.value,i="bottom"===d.value,o=(0,p._)((e={},(0,tG._)(e,d.value,0),(0,tG._)(e,"zIndex",T.value),(0,tG._)(e,"transform","translate".concat(t?"X":"Y","(").concat((w.value?0:-110)*(r||i?-1:1),"%)")),(0,tG._)(e,"position",k.value||1e3!==n.value?"absolute":"fixed"),e),g.value?void 0:{transition:"none"});if(!E.value)return o;var a=_.value[N.value];if(!a)throw Error('[Vuetify] Could not find layout item "'.concat(s,'"'));var l=f.value.get(s);return l&&(a[l.position]+=l.amount),(0,b._)((0,p._)({},o),{height:t?"calc(100% - ".concat(a.top,"px - ").concat(a.bottom,"px)"):y.value?"".concat(y.value,"px"):void 0,left:r?void 0:"".concat(a.left,"px"),right:r?"".concat(a.right,"px"):void 0,top:"bottom"!==d.value?"".concat(a.top,"px"):void 0,bottom:"top"!==d.value?"".concat(a.bottom,"px"):void 0,width:t?y.value?"".concat(y.value,"px"):void 0:"calc(100% - ".concat(a.left,"px - ").concat(a.right,"px)")})}),layoutItemScrimStyles:(0,S.computed)(function(){return{zIndex:T.value-1}}),zIndex:T}},unregister:function(e){a.delete(e),i.delete(e),o.delete(e),l.delete(e),u.delete(e),r.value=r.value.filter(function(t){return t!==e})},mainRect:m,mainStyles:y,getLayoutItem:w,items:_,layoutRect:d,rootZIndex:n}),{layoutClasses:(0,S.computed)(function(){return["v-layout",{"v-layout--full-height":e.fullHeight}]}),layoutStyles:(0,S.computed)(function(){return{zIndex:n.value,position:t?"relative":void 0,overflow:t?"hidden":void 0}}),getLayoutItem:w,items:_,layoutRect:d,layoutRef:c}}// Utilities
-function t5(e){ew("useRender").render=e}var t4=eU((0,p._)({},tX(),tQ({fullHeight:!0}),tT()),"VApp"),t6=eY()({name:"VApp",props:t4(),setup:function(e,t){var n=t.slots,r=tD(e),i=t3(e),o=i.layoutClasses,a=i.layoutStyles,l=i.getLayoutItem,u=i.items,s=i.layoutRef,c=te().rtlClasses;return t5(function(){var t;return(0,S.createVNode)("div",{ref:s,class:["v-application",r.themeClasses.value,o.value,c.value,e.class],style:[a.value,e.style]},[(0,S.createVNode)("div",{class:"v-application__wrap"},[null===(t=n.default)||void 0===t?void 0:t.call(n)])])}),{getLayoutItem:l,items:u,theme:r}}}),t8={};t(t8,"VAppBar",function(){return n3}),t(t8,"VAppBarNavIcon",function(){return r9}),t(t8,"VAppBarTitle",function(){return ie});var p=f("a42Vg"),b=f("9zFRg"),x=f("6wEIk");f("7DTtY");var k=f("bNhjt"),S=f("5BxzC"),tG=f("h8xva"),p=f("a42Vg");f("7DTtY");var k=f("bNhjt"),S=f("5BxzC"),p=f("a42Vg");f("7DTtY");var S=f("5BxzC"),t7=eU({tag:{type:String,default:"div"}},"tag"),t9=eU((0,p._)({text:String},tX(),t7()),"VToolbarTitle"),ne=eY()({name:"VToolbarTitle",props:t9(),setup:function(e,t){var n=t.slots;return t5(function(){var t=!!(n.default||n.text||e.text);return(0,S.createVNode)(e.tag,{class:["v-toolbar-title",e.class],style:e.style},{default:function(){var r;return[t&&(0,S.createVNode)("div",{class:"v-toolbar-title__placeholder"},[n.text?n.text():e.text,null===(r=n.default)||void 0===r?void 0:r.call(n)])]}})}),{}}}),nt={};t(nt,"VFabTransition",function(){return np}),t(nt,"VDialogBottomTransition",function(){return ng}),t(nt,"VDialogTopTransition",function(){return nm}),t(nt,"VFadeTransition",function(){return ny}),t(nt,"VScaleTransition",function(){return n_}),t(nt,"VScrollXTransition",function(){return nb}),t(nt,"VScrollXReverseTransition",function(){return nw}),t(nt,"VScrollYTransition",function(){return nx}),t(nt,"VScrollYReverseTransition",function(){return nk}),t(nt,"VSlideXTransition",function(){return nS}),t(nt,"VSlideXReverseTransition",function(){return nC}),t(nt,"VSlideYTransition",function(){return nE}),t(nt,"VSlideYReverseTransition",function(){return nV}),t(nt,"VExpandTransition",function(){return nN}),t(nt,"VExpandXTransition",function(){return nT}),t(nt,"VDialogTransition",function(){return nf});// Utilities
+function t4(e){ew("useRender").render=e}var t5=eU((0,p._)({},tX(),tQ({fullHeight:!0}),tT()),"VApp"),t6=eY()({name:"VApp",props:t5(),setup:function(e,t){var n=t.slots,r=tD(e),i=t3(e),o=i.layoutClasses,a=i.layoutStyles,l=i.getLayoutItem,u=i.items,s=i.layoutRef,c=te().rtlClasses;return t4(function(){var t;return(0,S.createVNode)("div",{ref:s,class:["v-application",r.themeClasses.value,o.value,c.value,e.class],style:[a.value,e.style]},[(0,S.createVNode)("div",{class:"v-application__wrap"},[null===(t=n.default)||void 0===t?void 0:t.call(n)])])}),{getLayoutItem:l,items:u,theme:r}}}),t8={};t(t8,"VAppBar",function(){return n3}),t(t8,"VAppBarNavIcon",function(){return r9}),t(t8,"VAppBarTitle",function(){return ie});var p=f("a42Vg"),b=f("9zFRg"),x=f("6wEIk");f("7DTtY");var k=f("bNhjt"),S=f("5BxzC"),tG=f("h8xva"),p=f("a42Vg");f("7DTtY");var k=f("bNhjt"),S=f("5BxzC"),p=f("a42Vg");f("7DTtY");var S=f("5BxzC"),t7=eU({tag:{type:String,default:"div"}},"tag"),t9=eU((0,p._)({text:String},tX(),t7()),"VToolbarTitle"),ne=eY()({name:"VToolbarTitle",props:t9(),setup:function(e,t){var n=t.slots;return t4(function(){var t=!!(n.default||n.text||e.text);return(0,S.createVNode)(e.tag,{class:["v-toolbar-title",e.class],style:e.style},{default:function(){var r;return[t&&(0,S.createVNode)("div",{class:"v-toolbar-title__placeholder"},[n.text?n.text():e.text,null===(r=n.default)||void 0===r?void 0:r.call(n)])]}})}),{}}}),nt={};t(nt,"VFabTransition",function(){return np}),t(nt,"VDialogBottomTransition",function(){return ng}),t(nt,"VDialogTopTransition",function(){return nm}),t(nt,"VFadeTransition",function(){return ny}),t(nt,"VScaleTransition",function(){return n_}),t(nt,"VScrollXTransition",function(){return nb}),t(nt,"VScrollXReverseTransition",function(){return nw}),t(nt,"VScrollYTransition",function(){return nx}),t(nt,"VScrollYReverseTransition",function(){return nk}),t(nt,"VSlideXTransition",function(){return nS}),t(nt,"VSlideXReverseTransition",function(){return nC}),t(nt,"VSlideYTransition",function(){return nE}),t(nt,"VSlideYReverseTransition",function(){return nV}),t(nt,"VExpandTransition",function(){return nN}),t(nt,"VExpandXTransition",function(){return nT}),t(nt,"VDialogTransition",function(){return nf});// Utilities
var p=f("a42Vg");f("7DTtY");var m=f("jo4gN"),S=f("5BxzC"),nn=eU({disabled:Boolean,group:Boolean,hideOnLeave:Boolean,leaveAbsolute:Boolean,mode:String,origin:String},"transition");function nr(e,t,n){return eY()({name:e,props:nn({mode:n,origin:t}),setup:function(t,n){var r=n.slots,i={onBeforeEnter:function(e){t.origin&&(e.style.transformOrigin=t.origin)},onLeave:function(e){if(t.leaveAbsolute){var n=e.offsetTop,r=e.offsetLeft,i=e.offsetWidth,o=e.offsetHeight;e._transitionInitialStyles={position:e.style.position,top:e.style.top,left:e.style.left,width:e.style.width,height:e.style.height},e.style.position="absolute",e.style.top="".concat(n,"px"),e.style.left="".concat(r,"px"),e.style.width="".concat(i,"px"),e.style.height="".concat(o,"px")}t.hideOnLeave&&e.style.setProperty("display","none","important")},onAfterLeave:function(e){if(t.leaveAbsolute&&(null==e?void 0:e._transitionInitialStyles)){var n=e._transitionInitialStyles,r=n.position,i=n.top,o=n.left,a=n.width,l=n.height;delete e._transitionInitialStyles,e.style.position=r||"",e.style.top=i||"",e.style.left=o||"",e.style.width=a||"",e.style.height=l||""}}};return function(){var n=t.group?m.TransitionGroup:m.Transition;return(0,S.h)(n,(0,p._)({name:t.disabled?"":e,css:!t.disabled},t.group?void 0:{mode:t.mode},t.disabled?{}:i),r.default)}}})}function ni(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"in-out";return eY()({name:e,props:{mode:{type:String,default:n},disabled:Boolean},setup:function(n,r){var i=r.slots;return function(){return(0,S.h)(m.Transition,(0,p._)({name:n.disabled?"":e,css:!n.disabled},n.disabled?{}:t),i.default)}}})}// Utilities
var tG=f("h8xva");f("7DTtY");var N=f("9Nw75");function no(){var e=function(e){n&&e._parent&&e._parent.classList.remove(n),t(e)},t=function(e){var t=e._initialStyle[i];e.style.overflow=e._initialStyle.overflow,null!=t&&(e.style[i]=t),delete e._initialStyle},n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=r?"width":"height",o=(0,N.camelize)("offset-".concat(i));return{onBeforeEnter:function(e){e._parent=e.parentNode,e._initialStyle=(0,tG._)({transition:e.style.transition,overflow:e.style.overflow},i,e.style[i])},onEnter:function(e){var t=e._initialStyle;e.style.setProperty("transition","none","important"),// Hide overflow to account for collapsed margins in the calculated height
e.style.overflow="hidden";var r="".concat(e[o],"px");e.style[i]="0",e.offsetHeight,e.style.transition=t.transition,n&&e._parent&&e._parent.classList.add(n),requestAnimationFrame(function(){e.style[i]=r})},onAfterEnter:t,onEnterCancelled:t,onLeave:function(e){e._initialStyle=(0,tG._)({transition:"",overflow:e.style.overflow},i,e.style[i]),e.style.overflow="hidden",e.style[i]="".concat(e[o],"px"),e.offsetHeight,requestAnimationFrame(function(){return e.style[i]="0"})},onAfterLeave:e,onLeaveCancelled:e}}var h=f("xJRWs"),x=f("6wEIk"),V=f("2Yjkq"),g=f("3XT9C");f("7DTtY");var S=f("5BxzC"),m=f("jo4gN"),na="cubic-bezier(0.4, 0, 0.2, 1)",C=f("disEZ"),E=f("fJNo6"),nl=/*#__PURE__*/function(){function e(t){(0,C._)(this,e);var n=t.x,r=t.y,i=t.width,o=t.height;this.x=n,this.y=r,this.width=i,this.height=o}return(0,E._)(e,[{key:"top",get:function(){return this.y}},{key:"bottom",get:function(){return this.y+this.height}},{key:"left",get:function(){return this.x}},{key:"right",get:function(){return this.x+this.width}}]),e}();function nu(e,t){return{x:{before:Math.max(0,t.left-e.left),after:Math.max(0,e.right-t.right)},y:{before:Math.max(0,t.top-e.top),after:Math.max(0,e.bottom-t.bottom)}}}function ns(e){var t=e.getBoundingClientRect(),n=getComputedStyle(e),r=n.transform;if(!r)return new nl(t);if(r.startsWith("matrix3d("))o=+(i=r.slice(9,-1).split(/, /))[0],a=+i[5],l=+i[12],u=+i[13];else{if(!r.startsWith("matrix("))return new nl(t);o=+(i=r.slice(7,-1).split(/, /))[0],a=+i[3],l=+i[4],u=+i[5]}var i,o,a,l,u,s=n.transformOrigin,c=t.x-l-(1-o)*parseFloat(s),d=t.y-u-(1-a)*parseFloat(s.slice(s.indexOf(" ")+1)),f=o?t.width/o:e.offsetWidth+1,h=a?t.height/a:e.offsetHeight+1;return new nl({x:c,y:d,width:f,height:h})}function nc(e,t,n){var r;if(void 0===e.animate)return{finished:Promise.resolve()};try{r=e.animate(t,n)}catch(e){return{finished:Promise.resolve()}}return void 0===r.finished&&(r.finished=new Promise(function(e){r.onfinish=function(){e(r)}})),r}var nd=eU({target:Object},"v-dialog-transition"),nf=eY()({name:"VDialogTransition",props:nd(),setup:function(e,t){var n=t.slots,r={onBeforeEnter:function(e){e.style.pointerEvents="none",e.style.visibility="hidden"},onEnter:function(t,n){return(0,h._)(function(){var r,i,o,a,l,u,s,c;return(0,g.__generator)(this,function(d){switch(d.label){case 0:return[4,new Promise(function(e){return requestAnimationFrame(e)})];case 1:return d.sent(),[4,new Promise(function(e){return requestAnimationFrame(e)})];case 2:return d.sent(),t.style.visibility="",o=(i=nv(e.target,t)).x,a=i.y,l=i.sx,u=i.sy,s=i.speed,c=nc(t,[{transform:"translate(".concat(o,"px, ").concat(a,"px) scale(").concat(l,", ").concat(u,")"),opacity:0},{}],{duration:225*s,easing:"cubic-bezier(0.0, 0, 0.2, 1)"}),null===(r=nh(t))||void 0===r||r.forEach(function(e){nc(e,[{opacity:0},{opacity:0,offset:.33},{}],{duration:450*s,easing:na})}),c.finished.then(function(){return n()}),[2]}})})()},onAfterEnter:function(e){e.style.removeProperty("pointer-events")},onBeforeLeave:function(e){e.style.pointerEvents="none"},onLeave:function(t,n){return(0,h._)(function(){var r,i,o,a,l,u,s;return(0,g.__generator)(this,function(c){switch(c.label){case 0:return[4,new Promise(function(e){return requestAnimationFrame(e)})];case 1:return c.sent(),o=(i=nv(e.target,t)).x,a=i.y,l=i.sx,u=i.sy,s=i.speed,nc(t,[{},{transform:"translate(".concat(o,"px, ").concat(a,"px) scale(").concat(l,", ").concat(u,")"),opacity:0}],{duration:125*s,easing:"cubic-bezier(0.4, 0, 1, 1)"}).finished.then(function(){return n()}),null===(r=nh(t))||void 0===r||r.forEach(function(e){nc(e,[{},{opacity:0,offset:.2},{opacity:0}],{duration:250*s,easing:na})}),[2]}})})()},onAfterLeave:function(e){e.style.removeProperty("pointer-events")}};return function(){return e.target?(0,S.createVNode)(m.Transition,(0,S.mergeProps)({name:"dialog-transition"},r,{css:!1}),n):(0,S.createVNode)(m.Transition,{name:"dialog-transition"},n)}}});/** Animatable children (card, sheet, list) */function nh(e){var t,n=null===(t=e.querySelector(":scope > .v-card, :scope > .v-sheet, :scope > .v-list"))||void 0===t?void 0:t.children;return n&&(0,V._)(n)}function nv(e,t){var n=e.getBoundingClientRect(),r=ns(t),i=(0,x._)(getComputedStyle(t).transformOrigin.split(" ").map(function(e){return parseFloat(e)}),2),o=i[0],a=i[1],l=(0,x._)(getComputedStyle(t).getPropertyValue("--v-overlay-anchor-origin").split(" "),2),u=l[0],s=l[1],c=n.left+n.width/2;"left"===u||"left"===s?c-=n.width/2:("right"===u||"right"===s)&&(c+=n.width/2);var d=n.top+n.height/2;"top"===u||"top"===s?d-=n.height/2:("bottom"===u||"bottom"===s)&&(d+=n.height/2);var f=n.width/r.width,h=n.height/r.height,p=Math.max(1,f,h),g=r.width*r.height/(window.innerWidth*window.innerHeight);return{x:c-(o+r.left),y:d-(a+r.top),sx:f/p||0,sy:h/p||0,speed:g>.12?Math.min(1.5,(g-.12)*10+1):1}}var np=nr("fab-transition","center center","out-in"),ng=nr("dialog-bottom-transition"),nm=nr("dialog-top-transition"),ny=nr("fade-transition"),n_=nr("scale-transition"),nb=nr("scroll-x-transition"),nw=nr("scroll-x-reverse-transition"),nx=nr("scroll-y-transition"),nk=nr("scroll-y-reverse-transition"),nS=nr("slide-x-transition"),nC=nr("slide-x-reverse-transition"),nE=nr("slide-y-transition"),nV=nr("slide-y-reverse-transition"),nN=ni("expand-transition",no()),nT=ni("expand-x-transition",no("",!0));// Composables
f("7DTtY");var k=f("bNhjt"),nA=eU({defaults:Object,disabled:Boolean,reset:[Number,String],root:[Boolean,String],scoped:Boolean},"VDefaultsProvider"),nD=eY(!1)({name:"VDefaultsProvider",props:nA(),setup:function(e,t){var n=t.slots,r=(0,k.toRefs)(e),i=r.defaults,o=r.disabled;return eN(i,{reset:r.reset,root:r.root,scoped:r.scoped,disabled:o}),function(){var e;return null===(e=n.default)||void 0===e?void 0:e.call(n)}}}),p=f("a42Vg"),x=f("6wEIk");f("7DTtY");var S=f("5BxzC"),k=f("bNhjt"),m=f("jo4gN"),p=f("a42Vg");f("7DTtY");var S=f("5BxzC");// Utilities
-f("7DTtY");var S=f("5BxzC"),nR=eU({height:[Number,String],maxHeight:[Number,String],maxWidth:[Number,String],minHeight:[Number,String],minWidth:[Number,String],width:[Number,String]},"dimension");function nO(e){return{dimensionStyles:(0,S.computed)(function(){return{height:F(e.height),maxHeight:F(e.maxHeight),maxWidth:F(e.maxWidth),minHeight:F(e.minHeight),minWidth:F(e.minWidth),width:F(e.width)}})}}var nI=eU((0,p._)({aspectRatio:[String,Number],contentClass:String,inline:Boolean},tX(),nR()),"VResponsive"),nB=eY()({name:"VResponsive",props:nI(),setup:function(e,t){var n=t.slots,r={aspectStyles:(0,S.computed)(function(){var t=Number(e.aspectRatio);return t?{paddingBottom:String(1/t*100)+"%"}:void 0})}.aspectStyles,i=nO(e).dimensionStyles;return t5(function(){var t;return(0,S.createVNode)("div",{class:["v-responsive",{"v-responsive--inline":e.inline},e.class],style:[i.value,e.style]},[(0,S.createVNode)("div",{class:"v-responsive__sizer",style:r.value},null),null===(t=n.additional)||void 0===t?void 0:t.call(n),n.default&&(0,S.createVNode)("div",{class:["v-responsive__content",e.contentClass]},[n.default()])])}),{}}});// Utilities
+f("7DTtY");var S=f("5BxzC"),nR=eU({height:[Number,String],maxHeight:[Number,String],maxWidth:[Number,String],minHeight:[Number,String],minWidth:[Number,String],width:[Number,String]},"dimension");function nO(e){return{dimensionStyles:(0,S.computed)(function(){return{height:F(e.height),maxHeight:F(e.maxHeight),maxWidth:F(e.maxWidth),minHeight:F(e.minHeight),minWidth:F(e.minWidth),width:F(e.width)}})}}var nI=eU((0,p._)({aspectRatio:[String,Number],contentClass:String,inline:Boolean},tX(),nR()),"VResponsive"),nB=eY()({name:"VResponsive",props:nI(),setup:function(e,t){var n=t.slots,r={aspectStyles:(0,S.computed)(function(){var t=Number(e.aspectRatio);return t?{paddingBottom:String(1/t*100)+"%"}:void 0})}.aspectStyles,i=nO(e).dimensionStyles;return t4(function(){var t;return(0,S.createVNode)("div",{class:["v-responsive",{"v-responsive--inline":e.inline},e.class],style:[i.value,e.style]},[(0,S.createVNode)("div",{class:"v-responsive__sizer",style:r.value},null),null===(t=n.additional)||void 0===t?void 0:t.call(n),n.default&&(0,S.createVNode)("div",{class:["v-responsive__content",e.contentClass]},[n.default()])])}),{}}});// Utilities
f("7DTtY");var m=f("jo4gN"),S=f("5BxzC"),nP=eU({transition:{type:[Boolean,String,Object],default:"fade-transition",validator:function(e){return!0!==e}}},"transition"),nM=function(e,t){var n=t.slots,r=e.transition,i=e.disabled,o=w(e,["transition","disabled"]),a="object"==typeof r?r:{},l=a.component,u=void 0===l?m.Transition:l,s=w(a,["component"]);return(0,S.h)(u,(0,S.mergeProps)("string"==typeof r?{name:i?"":r}:s,o,{disabled:i}),n)};function nL(e,t){var n,r=null===(n=e._observe)||void 0===n?void 0:n[t.instance.$.uid];r&&(r.observer.unobserve(e),delete e._observe[t.instance.$.uid])}var nj={mounted:// Utilities
function(e,t){if(A){var n=t.modifiers||{},r=t.value,i="object"==typeof r?r:{handler:r,options:{}},o=i.handler,a=i.options,l=new IntersectionObserver(function(){var r,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],a=arguments.length>1?arguments[1]:void 0,l=null===(r=e._observe)||void 0===r?void 0:r[t.instance.$.uid];if(l){var u=i.some(function(e){return e.isIntersecting});o&&(!n.quiet||l.init)&&(!n.once||u||l.init)&&o(u,i,a),u&&n.once?nL(e,t):l.init=!0}// Just in case, should never fire
},a);e._observe=Object(e._observe),e._observe[t.instance.$.uid]={init:!1,observer:l},l.observe(e)}},unmounted:nL},nF=eU((0,p._)({alt:String,cover:Boolean,eager:Boolean,gradient:String,lazySrc:String,options:{type:Object,// For more information on types, navigate to:
// https://developer.mozilla.org/en-US/docs/Web/API/Intersection_Observer_API
default:function(){return{root:void 0,rootMargin:void 0,threshold:void 0}}},sizes:String,src:{type:[String,Object],default:""},srcset:String},nI(),tX(),nP()),"VImg"),nU=eY()({name:"VImg",directives:{intersect:nj},props:nF(),emits:{loadstart:function(e){return!0},load:function(e){return!0},error:function(e){return!0}},setup:function(e,t){var n=function(t){if((!e.eager||!t)&&(!A||t||e.eager)){if(d.value="loading",p.value.lazySrc){var n=new Image;n.src=p.value.lazySrc,a(n,null)}p.value.src&&(0,S.nextTick)(function(){var e,t;if(l("loadstart",(null===(e=c.value)||void 0===e?void 0:e.currentSrc)||p.value.src),null===(t=c.value)||void 0===t?void 0:t.complete){if(c.value.naturalWidth||i(),"error"===d.value)return;g.value||a(c.value,null),r()}else g.value||a(c.value),o()})}},r=function(){var e;o(),d.value="loaded",l("load",(null===(e=c.value)||void 0===e?void 0:e.currentSrc)||p.value.src)},i=function(){var e;d.value="error",l("error",(null===(e=c.value)||void 0===e?void 0:e.currentSrc)||p.value.src)},o=function(){var e=c.value;e&&(s.value=e.currentSrc||e.src)},a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:100,n=function(){clearTimeout(y);var r=e.naturalHeight,i=e.naturalWidth;r||i?(f.value=i,h.value=r):e.complete||"loading"!==d.value||null==t?(e.currentSrc.endsWith(".svg")||e.currentSrc.startsWith("data:image/svg+xml"))&&(f.value=1,h.value=1):y=window.setTimeout(n,t)};n()},l=t.emit,u=t.slots,s=(0,k.shallowRef)(""),c=(0,k.ref)(),d=(0,k.shallowRef)(e.eager?"loading":"idle"),f=(0,k.shallowRef)(),h=(0,k.shallowRef)(),p=(0,S.computed)(function(){return e.src&&"object"==typeof e.src?{src:e.src.src,srcset:e.srcset||e.src.srcset,lazySrc:e.lazySrc||e.src.lazySrc,aspect:Number(e.aspectRatio||e.src.aspect||0)}:{src:e.src,srcset:e.srcset,lazySrc:e.lazySrc,aspect:Number(e.aspectRatio||0)}}),g=(0,S.computed)(function(){return p.value.aspect||f.value/h.value||0});(0,S.watch)(function(){return e.src},function(){n("idle"!==d.value)}),(0,S.watch)(g,function(e,t){!e&&t&&c.value&&a(c.value)}),// TODO: getSrc when window width changes
(0,S.onBeforeMount)(function(){return n()});var y=-1,_=(0,S.computed)(function(){return{"v-img__img--cover":e.cover,"v-img__img--contain":!e.cover}}),b=function(){if(!p.value.src||"idle"===d.value)return null;var t,n=(0,S.createVNode)("img",{class:["v-img__img",_.value],src:p.value.src,srcset:p.value.srcset,alt:e.alt,sizes:e.sizes,ref:c,onLoad:r,onError:i},null),o=null===(t=u.sources)||void 0===t?void 0:t.call(u);return(0,S.createVNode)(nM,{transition:e.transition,appear:!0},{default:function(){return[(0,S.withDirectives)(o?(0,S.createVNode)("picture",{class:"v-img__picture"},[o,n]):n,[[m.vShow,"loaded"===d.value]])]}})},w=function(){return(0,S.createVNode)(nM,{transition:e.transition},{default:function(){return[p.value.lazySrc&&"loaded"!==d.value&&(0,S.createVNode)("img",{class:["v-img__img","v-img__img--preload",_.value],src:p.value.lazySrc,alt:e.alt},null)]}})},C=function(){return u.placeholder?(0,S.createVNode)(nM,{transition:e.transition,appear:!0},{default:function(){return[("loading"===d.value||"error"===d.value&&!u.error)&&(0,S.createVNode)("div",{class:"v-img__placeholder"},[u.placeholder()])]}}):null},E=function(){return u.error?(0,S.createVNode)(nM,{transition:e.transition,appear:!0},{default:function(){return["error"===d.value&&(0,S.createVNode)("div",{class:"v-img__error"},[u.error()])]}}):null},V=function(){return e.gradient?(0,S.createVNode)("div",{class:"v-img__gradient",style:{backgroundImage:"linear-gradient(".concat(e.gradient,")")}},null):null},N=(0,k.shallowRef)(!1),T=(0,S.watch)(g,function(e){e&&(// Doesn't work with nextTick, idk why
-requestAnimationFrame(function(){requestAnimationFrame(function(){N.value=!0})}),T())});return t5(function(){var t=(0,x._)(nB.filterProps(e),1)[0];return(0,S.withDirectives)((0,S.createVNode)(nB,(0,S.mergeProps)({class:["v-img",{"v-img--booting":!N.value},e.class],style:[{width:F("auto"===e.width?f.value:e.width)},e.style]},t,{aspectRatio:g.value,"aria-label":e.alt,role:e.alt?"img":void 0}),{additional:function(){return(0,S.createVNode)(S.Fragment,null,[(0,S.createVNode)(b,null,null),(0,S.createVNode)(w,null,null),(0,S.createVNode)(V,null,null),(0,S.createVNode)(C,null,null),(0,S.createVNode)(E,null,null)])},default:u.default}),[[(0,S.resolveDirective)("intersect"),{handler:n,options:e.options},null,{once:!0}]])}),{currentSrc:s,image:c,state:d,naturalWidth:f,naturalHeight:h}}});// Utilities
+requestAnimationFrame(function(){requestAnimationFrame(function(){N.value=!0})}),T())});return t4(function(){var t=(0,x._)(nB.filterProps(e),1)[0];return(0,S.withDirectives)((0,S.createVNode)(nB,(0,S.mergeProps)({class:["v-img",{"v-img--booting":!N.value},e.class],style:[{width:F("auto"===e.width?f.value:e.width)},e.style]},t,{aspectRatio:g.value,"aria-label":e.alt,role:e.alt?"img":void 0}),{additional:function(){return(0,S.createVNode)(S.Fragment,null,[(0,S.createVNode)(b,null,null),(0,S.createVNode)(w,null,null),(0,S.createVNode)(V,null,null),(0,S.createVNode)(C,null,null),(0,S.createVNode)(E,null,null)])},default:u.default}),[[(0,S.resolveDirective)("intersect"),{handler:n,options:e.options},null,{once:!0}]])}),{currentSrc:s,image:c,state:d,naturalWidth:f,naturalHeight:h}}});// Utilities
f("7DTtY");var S=f("5BxzC"),k=f("bNhjt"),nz=eU({border:[Boolean,Number,String]},"border");function nY(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ex();return{borderClasses:(0,S.computed)(function(){var n=(0,k.isRef)(e)?e.value:e.border,r=[],i=!0,o=!1,a=void 0;if(!0===n||""===n)r.push("".concat(t,"--border"));else if("string"==typeof n||0===n)try{for(var l,u=String(n).split(" ")[Symbol.iterator]();!(i=(l=u.next()).done);i=!0){var s=l.value;r.push("border-".concat(s))}}catch(e){o=!0,a=e}finally{try{i||null==u.return||u.return()}finally{if(o)throw a}}return r})}}// Utilities
f("7DTtY");var S=f("5BxzC"),k=f("bNhjt");function nH(e){return ec(function(){var t=[],n={};if(e.value.background){if(td(e.value.background)){if(n.backgroundColor=e.value.background,!e.value.text){var r=tV(n.backgroundColor);n.color=r,n.caretColor=r}}else t.push("bg-".concat(e.value.background))}return e.value.text&&(td(e.value.text)?(n.color=e.value.text,n.caretColor=e.value.text):t.push("text-".concat(e.value.text))),{colorClasses:t,colorStyles:n}})}function nq(e,t){var n=nH((0,S.computed)(function(){return{text:(0,k.isRef)(e)?e.value:t?e[t]:null}}));return{textColorClasses:n.colorClasses,textColorStyles:n.colorStyles}}function nW(e,t){var n=nH((0,S.computed)(function(){return{background:(0,k.isRef)(e)?e.value:t?e[t]:null}}));return{backgroundColorClasses:n.colorClasses,backgroundColorStyles:n.colorStyles}}// Utilities
f("7DTtY");var S=f("5BxzC"),k=f("bNhjt"),nK=eU({elevation:{type:[Number,String],validator:function(e){var t=parseInt(e);return!isNaN(t)&&t>=0&&// Material Design has a maximum elevation of 24
// https://material.io/design/environment/elevation.html#default-elevations
t<=24}}},"elevation");function nX(e){return{elevationClasses:(0,S.computed)(function(){var t=(0,k.isRef)(e)?e.value:e.elevation,n=[];return null==t||n.push("elevation-".concat(t)),n})}}// Utilities
-f("7DTtY");var S=f("5BxzC"),k=f("bNhjt"),nG=eU({rounded:{type:[Boolean,Number,String],default:void 0}},"rounded");function n$(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ex();return{roundedClasses:(0,S.computed)(function(){var n=(0,k.isRef)(e)?e.value:e.rounded,r=[],i=!0,o=!1,a=void 0;if(!0===n||""===n)r.push("".concat(t,"--rounded"));else if("string"==typeof n||0===n)try{for(var l,u=String(n).split(" ")[Symbol.iterator]();!(i=(l=u.next()).done);i=!0){var s=l.value;r.push("rounded-".concat(s))}}catch(e){o=!0,a=e}finally{try{i||null==u.return||u.return()}finally{if(o)throw a}}return r})}}var nJ=[null,"prominent","default","comfortable","compact"],nZ=eU((0,p._)({absolute:Boolean,collapse:Boolean,color:String,density:{type:String,default:"default",validator:function(e){return nJ.includes(e)}},extended:Boolean,extensionHeight:{type:[Number,String],default:48},flat:Boolean,floating:Boolean,height:{type:[Number,String],default:64},image:String,title:String},nz(),tX(),nK(),nG(),t7({tag:"header"}),tT()),"VToolbar"),nQ=eY()({name:"VToolbar",props:nZ(),setup:function(e,t){var n,r=t.slots,i=nW((0,k.toRef)(e,"color")),o=i.backgroundColorClasses,a=i.backgroundColorStyles,l=nY(e).borderClasses,u=nX(e).elevationClasses,s=n$(e).roundedClasses,c=tD(e).themeClasses,d=te().rtlClasses,f=(0,k.shallowRef)(!!(e.extended||(null===(n=r.extension)||void 0===n?void 0:n.call(r)))),h=(0,S.computed)(function(){return parseInt(Number(e.height)+("prominent"===e.density?Number(e.height):0)-("comfortable"===e.density?8:0)-("compact"===e.density?16:0),10)}),p=(0,S.computed)(function(){return f.value?parseInt(Number(e.extensionHeight)+("prominent"===e.density?Number(e.extensionHeight):0)-("comfortable"===e.density?4:0)-("compact"===e.density?8:0),10):0});return eN({VBtn:{variant:"text"}}),t5(function(){var t,n=!!(e.title||r.title),i=!!(r.image||e.image),g=null===(t=r.extension)||void 0===t?void 0:t.call(r);return f.value=!!(e.extended||g),(0,S.createVNode)(e.tag,{class:["v-toolbar",(0,tG._)({"v-toolbar--absolute":e.absolute,"v-toolbar--collapse":e.collapse,"v-toolbar--flat":e.flat,"v-toolbar--floating":e.floating},"v-toolbar--density-".concat(e.density),!0),o.value,l.value,u.value,s.value,c.value,d.value,e.class],style:[a.value,e.style]},{default:function(){return[i&&(0,S.createVNode)("div",{key:"image",class:"v-toolbar__image"},[r.image?(0,S.createVNode)(nD,{key:"image-defaults",disabled:!e.image,defaults:{VImg:{cover:!0,src:e.image}}},r.image):(0,S.createVNode)(nU,{key:"image-img",cover:!0,src:e.image},null)]),(0,S.createVNode)(nD,{defaults:{VTabs:{height:F(h.value)}}},{default:function(){var t,i,o;return[(0,S.createVNode)("div",{class:"v-toolbar__content",style:{height:F(h.value)}},[r.prepend&&(0,S.createVNode)("div",{class:"v-toolbar__prepend"},[null===(t=r.prepend)||void 0===t?void 0:t.call(r)]),n&&(0,S.createVNode)(ne,{key:"title",text:e.title},{text:r.title}),null===(i=r.default)||void 0===i?void 0:i.call(r),r.append&&(0,S.createVNode)("div",{class:"v-toolbar__append"},[null===(o=r.append)||void 0===o?void 0:o.call(r)])])]}}),(0,S.createVNode)(nD,{defaults:{VTabs:{height:F(p.value)}}},{default:function(){return[(0,S.createVNode)(nN,null,{default:function(){return[f.value&&(0,S.createVNode)("div",{class:"v-toolbar__extension",style:{height:F(p.value)}},[g])]}})]}})]}})}),{contentHeight:h,extensionHeight:p}}});// Utilities
+f("7DTtY");var S=f("5BxzC"),k=f("bNhjt"),nG=eU({rounded:{type:[Boolean,Number,String],default:void 0}},"rounded");function n$(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ex();return{roundedClasses:(0,S.computed)(function(){var n=(0,k.isRef)(e)?e.value:e.rounded,r=[],i=!0,o=!1,a=void 0;if(!0===n||""===n)r.push("".concat(t,"--rounded"));else if("string"==typeof n||0===n)try{for(var l,u=String(n).split(" ")[Symbol.iterator]();!(i=(l=u.next()).done);i=!0){var s=l.value;r.push("rounded-".concat(s))}}catch(e){o=!0,a=e}finally{try{i||null==u.return||u.return()}finally{if(o)throw a}}return r})}}var nJ=[null,"prominent","default","comfortable","compact"],nZ=eU((0,p._)({absolute:Boolean,collapse:Boolean,color:String,density:{type:String,default:"default",validator:function(e){return nJ.includes(e)}},extended:Boolean,extensionHeight:{type:[Number,String],default:48},flat:Boolean,floating:Boolean,height:{type:[Number,String],default:64},image:String,title:String},nz(),tX(),nK(),nG(),t7({tag:"header"}),tT()),"VToolbar"),nQ=eY()({name:"VToolbar",props:nZ(),setup:function(e,t){var n,r=t.slots,i=nW((0,k.toRef)(e,"color")),o=i.backgroundColorClasses,a=i.backgroundColorStyles,l=nY(e).borderClasses,u=nX(e).elevationClasses,s=n$(e).roundedClasses,c=tD(e).themeClasses,d=te().rtlClasses,f=(0,k.shallowRef)(!!(e.extended||(null===(n=r.extension)||void 0===n?void 0:n.call(r)))),h=(0,S.computed)(function(){return parseInt(Number(e.height)+("prominent"===e.density?Number(e.height):0)-("comfortable"===e.density?8:0)-("compact"===e.density?16:0),10)}),p=(0,S.computed)(function(){return f.value?parseInt(Number(e.extensionHeight)+("prominent"===e.density?Number(e.extensionHeight):0)-("comfortable"===e.density?4:0)-("compact"===e.density?8:0),10):0});return eN({VBtn:{variant:"text"}}),t4(function(){var t,n=!!(e.title||r.title),i=!!(r.image||e.image),g=null===(t=r.extension)||void 0===t?void 0:t.call(r);return f.value=!!(e.extended||g),(0,S.createVNode)(e.tag,{class:["v-toolbar",(0,tG._)({"v-toolbar--absolute":e.absolute,"v-toolbar--collapse":e.collapse,"v-toolbar--flat":e.flat,"v-toolbar--floating":e.floating},"v-toolbar--density-".concat(e.density),!0),o.value,l.value,u.value,s.value,c.value,d.value,e.class],style:[a.value,e.style]},{default:function(){return[i&&(0,S.createVNode)("div",{key:"image",class:"v-toolbar__image"},[r.image?(0,S.createVNode)(nD,{key:"image-defaults",disabled:!e.image,defaults:{VImg:{cover:!0,src:e.image}}},r.image):(0,S.createVNode)(nU,{key:"image-img",cover:!0,src:e.image},null)]),(0,S.createVNode)(nD,{defaults:{VTabs:{height:F(h.value)}}},{default:function(){var t,i,o;return[(0,S.createVNode)("div",{class:"v-toolbar__content",style:{height:F(h.value)}},[r.prepend&&(0,S.createVNode)("div",{class:"v-toolbar__prepend"},[null===(t=r.prepend)||void 0===t?void 0:t.call(r)]),n&&(0,S.createVNode)(ne,{key:"title",text:e.title},{text:r.title}),null===(i=r.default)||void 0===i?void 0:i.call(r),r.append&&(0,S.createVNode)("div",{class:"v-toolbar__append"},[null===(o=r.append)||void 0===o?void 0:o.call(r)])])]}}),(0,S.createVNode)(nD,{defaults:{VTabs:{height:F(p.value)}}},{default:function(){return[(0,S.createVNode)(nN,null,{default:function(){return[f.value&&(0,S.createVNode)("div",{class:"v-toolbar__extension",style:{height:F(p.value)}},[g])]}})]}})]}})}),{contentHeight:h,extensionHeight:p}}});// Utilities
f("7DTtY");var k=f("bNhjt"),S=f("5BxzC"),n0=eU({scrollTarget:{type:String},scrollThreshold:{type:[String,Number],default:300}},"scroll");// Utilities
f("7DTtY");var k=f("bNhjt"),S=f("5BxzC");function n1(){var e=(0,k.shallowRef)(!1);return(0,S.onMounted)(function(){window.requestAnimationFrame(function(){e.value=!0})}),{ssrBootStyles:(0,S.computed)(function(){return e.value?void 0:{transition:"none !important"}}),isBooted:(0,k.readonly)(e)}}var n2=eU((0,b._)((0,p._)({scrollBehavior:String,modelValue:{type:Boolean,default:!0},location:{type:String,default:"top",validator:function(e){return["top","bottom"].includes(e)}}},nZ(),t0(),n0()),{height:{type:[Number,String],default:64}}),"VAppBar"),n3=eY()({name:"VAppBar",props:n2(),emits:{"update:modelValue":function(e){return!0}},setup:function(e,t){var n=t.slots,r=(0,k.ref)(),i=e1(e,"modelValue"),o=(0,S.computed)(function(){var t,n,r=new Set(null!==(n=null===(t=e.scrollBehavior)||void 0===t?void 0:t.split(" "))&&void 0!==n?n:[]);return{hide:r.has("hide"),// fullyHide: behavior.has('fully-hide'),
inverted:r.has("inverted"),collapse:r.has("collapse"),elevate:r.has("elevate"),fadeImage:r.has("fade-image")}}),a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.canScroll,r=0,i=(0,k.ref)(null),o=(0,k.shallowRef)(0),a=(0,k.shallowRef)(0),l=(0,k.shallowRef)(0),u=(0,k.shallowRef)(!1),s=(0,k.shallowRef)(!1),c=(0,S.computed)(function(){return Number(e.scrollThreshold)}),d=(0,S.computed)(function(){return ee((c.value-o.value)/c.value||0)}),f=function(){var e=i.value;e&&(!n||n.value)&&(r=o.value,o.value="window"in e?e.pageYOffset:e.scrollTop,s.value=o.value0:0===c.value)}),f=(0,S.computed)(function(){return e.flat||o.value.elevate&&(o.value.inverted?l.value>0:0===l.value)}),h=(0,S.computed)(function(){return o.value.fadeImage?o.value.inverted?1-c.value:c.value:void 0}),g=(0,S.computed)(function(){var e,t,n,i;return o.value.hide&&o.value.inverted?0:(null!==(n=null===(e=r.value)||void 0===e?void 0:e.contentHeight)&&void 0!==n?n:0)+(null!==(i=null===(t=r.value)||void 0===t?void 0:t.extensionHeight)&&void 0!==i?i:0)});e0((0,S.computed)(function(){return!!e.scrollBehavior}),function(){(0,S.watchEffect)(function(){o.value.hide?o.value.inverted?i.value=l.value>u.value:i.value=s.value||l.value1&&void 0!==arguments[1]?arguments[1]:ex();return{densityClasses:(0,S.computed)(function(){return"".concat(t,"--density-").concat(e.density)})}}var tG=f("h8xva");f("7DTtY");var S=f("5BxzC"),k=f("bNhjt"),n8=["elevated","flat","tonal","outlined","text","plain"];function n7(e,t){return(0,S.createVNode)(S.Fragment,null,[e&&(0,S.createVNode)("span",{key:"overlay",class:"".concat(t,"__overlay")},null),(0,S.createVNode)("span",{key:"underlay",class:"".concat(t,"__underlay")},null)])}var n9=eU({color:String,variant:{type:String,default:"elevated",validator:function(e){return n8.includes(e)}}},"variant");function re(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ex(),n=(0,S.computed)(function(){var n=(0,k.unref)(e).variant;return"".concat(t,"--variant-").concat(n)}),r=nH((0,S.computed)(function(){var t=(0,k.unref)(e),n=t.variant,r=t.color;return(0,tG._)({},["elevated","flat"].includes(n)?"background":"text",r)}));return{colorClasses:r.colorClasses,colorStyles:r.colorStyles,variantClasses:n}}var rt=eU((0,p._)({divided:Boolean},nz(),tX(),n4(),nK(),nG(),t7(),tT(),n9()),"VBtnGroup"),rn=eY()({name:"VBtnGroup",props:rt(),setup:function(e,t){var n=t.slots,r=tD(e).themeClasses,i=n6(e).densityClasses,o=nY(e).borderClasses,a=nX(e).elevationClasses,l=n$(e).roundedClasses;eN({VBtn:{height:"auto",color:(0,k.toRef)(e,"color"),density:(0,k.toRef)(e,"density"),flat:!0,variant:(0,k.toRef)(e,"variant")}}),t5(function(){return(0,S.createVNode)(e.tag,{class:["v-btn-group",{"v-btn-group--divided":e.divided},r.value,o.value,i.value,a.value,l.value,e.class],style:e.style},n)})}});// Composables
+!i.value})}),l=a.currentScroll,u=a.scrollThreshold,s=a.isScrollingUp,c=a.scrollRatio,d=(0,S.computed)(function(){return e.collapse||o.value.collapse&&(o.value.inverted?c.value>0:0===c.value)}),f=(0,S.computed)(function(){return e.flat||o.value.elevate&&(o.value.inverted?l.value>0:0===l.value)}),h=(0,S.computed)(function(){return o.value.fadeImage?o.value.inverted?1-c.value:c.value:void 0}),g=(0,S.computed)(function(){var e,t,n,i;return o.value.hide&&o.value.inverted?0:(null!==(n=null===(e=r.value)||void 0===e?void 0:e.contentHeight)&&void 0!==n?n:0)+(null!==(i=null===(t=r.value)||void 0===t?void 0:t.extensionHeight)&&void 0!==i?i:0)});e0((0,S.computed)(function(){return!!e.scrollBehavior}),function(){(0,S.watchEffect)(function(){o.value.hide?o.value.inverted?i.value=l.value>u.value:i.value=s.value||l.value1&&void 0!==arguments[1]?arguments[1]:ex();return{densityClasses:(0,S.computed)(function(){return"".concat(t,"--density-").concat(e.density)})}}var tG=f("h8xva");f("7DTtY");var S=f("5BxzC"),k=f("bNhjt"),n8=["elevated","flat","tonal","outlined","text","plain"];function n7(e,t){return(0,S.createVNode)(S.Fragment,null,[e&&(0,S.createVNode)("span",{key:"overlay",class:"".concat(t,"__overlay")},null),(0,S.createVNode)("span",{key:"underlay",class:"".concat(t,"__underlay")},null)])}var n9=eU({color:String,variant:{type:String,default:"elevated",validator:function(e){return n8.includes(e)}}},"variant");function re(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ex(),n=(0,S.computed)(function(){var n=(0,k.unref)(e).variant;return"".concat(t,"--variant-").concat(n)}),r=nH((0,S.computed)(function(){var t=(0,k.unref)(e),n=t.variant,r=t.color;return(0,tG._)({},["elevated","flat"].includes(n)?"background":"text",r)}));return{colorClasses:r.colorClasses,colorStyles:r.colorStyles,variantClasses:n}}var rt=eU((0,p._)({divided:Boolean},nz(),tX(),n5(),nK(),nG(),t7(),tT(),n9()),"VBtnGroup"),rn=eY()({name:"VBtnGroup",props:rt(),setup:function(e,t){var n=t.slots,r=tD(e).themeClasses,i=n6(e).densityClasses,o=nY(e).borderClasses,a=nX(e).elevationClasses,l=n$(e).roundedClasses;eN({VBtn:{height:"auto",color:(0,k.toRef)(e,"color"),density:(0,k.toRef)(e,"density"),flat:!0,variant:(0,k.toRef)(e,"variant")}}),t4(function(){return(0,S.createVNode)(e.tag,{class:["v-btn-group",{"v-btn-group--divided":e.divided},r.value,o.value,i.value,a.value,l.value,e.class],style:e.style},n)})}});// Composables
f("7DTtY");var S=f("5BxzC"),k=f("bNhjt"),rr=eU({modelValue:{type:null,default:void 0},multiple:Boolean,mandatory:[Boolean,String],max:Number,selectedClass:String,disabled:Boolean},"group"),ri=eU({value:null,disabled:Boolean,selectedClass:String},"group-item");function ro(e,t){var n=!(arguments.length>2)||void 0===arguments[2]||arguments[2],r=ew("useGroupItem");if(!r)throw Error("[Vuetify] useGroupItem composable must be used inside a component setup function");var i=eC();(0,S.provide)(Symbol.for("".concat(t.description,":id")),i);var o=(0,S.inject)(t,null);if(!o){if(!n)return o;throw Error("[Vuetify] Could not find useGroup injection with symbol ".concat(t.description))}var a=(0,k.toRef)(e,"value"),l=(0,S.computed)(function(){return!!(o.disabled.value||e.disabled)});o.register({id:i,value:a,disabled:l},r),(0,S.onBeforeUnmount)(function(){o.unregister(i)});var u=(0,S.computed)(function(){return o.isSelected(i)}),s=(0,S.computed)(function(){return u.value&&[o.selectedClass.value,e.selectedClass]});return(0,S.watch)(u,function(e){r.emit("group:selected",{value:e})}),{id:i,isSelected:u,toggle:function(){return o.select(i,!u.value)},select:function(e){return o.select(i,e)},selectedClass:s,value:a,disabled:l,group:o}}function ra(e,t){var n=function(){var t=o.find(function(e){return!e.disabled});t&&"force"===e.mandatory&&!a.value.length&&(a.value=[t.id])},r=function(t){if(e.multiple&&ej('This method is not supported when using "multiple" prop'),a.value.length){for(var n=a.value[0],r=o.findIndex(function(e){return e.id===n}),i=(r+t)%o.length,l=o[i];l.disabled&&i!==r;)i=(i+t)%o.length,l=o[i];l.disabled||(a.value=[o[i].id])}else{var u=o.find(function(e){return!e.disabled});u&&(a.value=[u.id])}},i=!1,o=(0,k.reactive)([]),a=e1(e,"modelValue",[],function(e){return null==e?[]:rl(o,Q(e))},function(t){var n,r=(n=[],t.forEach(function(e){var t=o.findIndex(function(t){return t.id===e});if(~t){var r=o[t];n.push(null!=r.value?r.value:t)}}),n);return e.multiple?r:r[0]}),l=ew("useGroup");(0,S.onMounted)(function(){n()}),(0,S.onBeforeUnmount)(function(){i=!0});var u={register:function(e,n){var r=ea(Symbol.for("".concat(t.description,":id")),null==l?void 0:l.vnode).indexOf(n);r>-1?o.splice(r,0,e):o.push(e)},unregister:function(e){if(!i){// TODO: re-evaluate this line's importance in the future
// should we only modify the model if mandatory is set.
// selected.value = selected.value.filter(v => v !== id)
n();var t=o.findIndex(function(t){return t.id===e});o.splice(t,1)}},selected:a,select:function(t,n){var r=o.find(function(e){return e.id===t});if(!n||null==r||!r.disabled){if(e.multiple){var i=a.value.slice(),l=i.findIndex(function(e){return e===t}),u=~l;// We can't remove value if group is
// mandatory, value already exists,
// and it is the only value
-if(n=null!=n?n:!u,u&&e.mandatory&&i.length<=1||!u&&null!=e.max&&i.length+1>e.max)return;l<0&&n?i.push(t):l>=0&&!n&&i.splice(l,1),a.value=i}else{var s=a.value.includes(t);if(e.mandatory&&s)return;a.value=(null!=n?n:!s)?[t]:[]}}},disabled:(0,k.toRef)(e,"disabled"),prev:function(){return r(o.length-1)},next:function(){return r(1)},isSelected:function(e){return a.value.includes(e)},selectedClass:(0,S.computed)(function(){return e.selectedClass}),items:(0,S.computed)(function(){return o}),getItemIndex:function(e){var t;return(t=rl(o,[e])).length?o.findIndex(function(e){return e.id===t[0]}):-1}};return(0,S.provide)(t,u),u}function rl(e,t){var n=[];return t.forEach(function(t){var r=e.find(function(e){return P(t,e.value)}),i=e[t];(null==r?void 0:r.value)!=null?n.push(r.id):null!=i&&n.push(i.id)}),n}var ru=Symbol.for("vuetify:v-btn-toggle"),rs=eU((0,p._)({},rt(),rr()),"VBtnToggle"),rc=eY()({name:"VBtnToggle",props:rs(),emits:{"update:modelValue":function(e){return!0}},setup:function(e,t){var n=t.slots,r=ra(e,ru),i=r.isSelected,o=r.next,a=r.prev,l=r.select,u=r.selected;return t5(function(){var t=(0,x._)(rn.filterProps(e),1)[0];return(0,S.createVNode)(rn,(0,S.mergeProps)({class:["v-btn-toggle",e.class]},t,{style:e.style}),{default:function(){var e;return[null===(e=n.default)||void 0===e?void 0:e.call(n,{isSelected:i,next:o,prev:a,select:l,selected:u})]}})}),{next:o,prev:a,select:l}}}),p=f("a42Vg");f("7DTtY");var k=f("bNhjt"),S=f("5BxzC"),rd=["x-small","small","default","large","x-large"],rf=eU({size:{type:[String,Number],default:"default"}},"size");function rh(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ex();return ec(function(){var n,r;return ed(rd,e.size)?n="".concat(t,"--size-").concat(e.size):e.size&&(r={width:F(e.size),height:F(e.size)}),{sizeClasses:n,sizeStyles:r}})}var rv=eU((0,p._)({color:String,start:Boolean,end:Boolean,icon:eH},tX(),rf(),t7({tag:"i"}),tT()),"VIcon"),rp=eY()({name:"VIcon",props:rv(),setup:function(e,t){var n=t.attrs,r=t.slots,i=(0,k.ref)(),o=tD(e).themeClasses,a=eZ((0,S.computed)(function(){return i.value||e.icon})).iconData,l=rh(e).sizeClasses,u=nq((0,k.toRef)(e,"color")),s=u.textColorClasses,c=u.textColorStyles;return t5(function(){var t,u,d=null===(t=r.default)||void 0===t?void 0:t.call(r);return d&&(i.value=null===(u=(function e(t){return t.map(function(t){return t.type===S.Fragment?e(t.children):t}).flat()})(d).filter(function(e){return e.type===S.Text&&e.children&&"string"==typeof e.children})[0])||void 0===u?void 0:u.children),(0,S.createVNode)(a.value.component,{tag:e.tag,icon:a.value.icon,class:["v-icon","notranslate",o.value,l.value,s.value,{"v-icon--clickable":!!n.onClick,"v-icon--start":e.start,"v-icon--end":e.end},e.class],style:[l.value?void 0:{fontSize:F(e.size),height:F(e.size),width:F(e.size)},c.value,e.style],role:n.onClick?"button":void 0,"aria-hidden":!n.onClick},{default:function(){return[d]}})}),{}}}),p=f("a42Vg");f("7DTtY");var k=f("bNhjt"),S=f("5BxzC");// Utilities
+if(n=null!=n?n:!u,u&&e.mandatory&&i.length<=1||!u&&null!=e.max&&i.length+1>e.max)return;l<0&&n?i.push(t):l>=0&&!n&&i.splice(l,1),a.value=i}else{var s=a.value.includes(t);if(e.mandatory&&s)return;a.value=(null!=n?n:!s)?[t]:[]}}},disabled:(0,k.toRef)(e,"disabled"),prev:function(){return r(o.length-1)},next:function(){return r(1)},isSelected:function(e){return a.value.includes(e)},selectedClass:(0,S.computed)(function(){return e.selectedClass}),items:(0,S.computed)(function(){return o}),getItemIndex:function(e){var t;return(t=rl(o,[e])).length?o.findIndex(function(e){return e.id===t[0]}):-1}};return(0,S.provide)(t,u),u}function rl(e,t){var n=[];return t.forEach(function(t){var r=e.find(function(e){return P(t,e.value)}),i=e[t];(null==r?void 0:r.value)!=null?n.push(r.id):null!=i&&n.push(i.id)}),n}var ru=Symbol.for("vuetify:v-btn-toggle"),rs=eU((0,p._)({},rt(),rr()),"VBtnToggle"),rc=eY()({name:"VBtnToggle",props:rs(),emits:{"update:modelValue":function(e){return!0}},setup:function(e,t){var n=t.slots,r=ra(e,ru),i=r.isSelected,o=r.next,a=r.prev,l=r.select,u=r.selected;return t4(function(){var t=(0,x._)(rn.filterProps(e),1)[0];return(0,S.createVNode)(rn,(0,S.mergeProps)({class:["v-btn-toggle",e.class]},t,{style:e.style}),{default:function(){var e;return[null===(e=n.default)||void 0===e?void 0:e.call(n,{isSelected:i,next:o,prev:a,select:l,selected:u})]}})}),{next:o,prev:a,select:l}}}),p=f("a42Vg");f("7DTtY");var k=f("bNhjt"),S=f("5BxzC"),rd=["x-small","small","default","large","x-large"],rf=eU({size:{type:[String,Number],default:"default"}},"size");function rh(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ex();return ec(function(){var n,r;return ed(rd,e.size)?n="".concat(t,"--size-").concat(e.size):e.size&&(r={width:F(e.size),height:F(e.size)}),{sizeClasses:n,sizeStyles:r}})}var rv=eU((0,p._)({color:String,start:Boolean,end:Boolean,icon:eH},tX(),rf(),t7({tag:"i"}),tT()),"VIcon"),rp=eY()({name:"VIcon",props:rv(),setup:function(e,t){var n=t.attrs,r=t.slots,i=(0,k.ref)(),o=tD(e).themeClasses,a=eZ((0,S.computed)(function(){return i.value||e.icon})).iconData,l=rh(e).sizeClasses,u=nq((0,k.toRef)(e,"color")),s=u.textColorClasses,c=u.textColorStyles;return t4(function(){var t,u,d=null===(t=r.default)||void 0===t?void 0:t.call(r);return d&&(i.value=null===(u=(function e(t){return t.map(function(t){return t.type===S.Fragment?e(t.children):t}).flat()})(d).filter(function(e){return e.type===S.Text&&e.children&&"string"==typeof e.children})[0])||void 0===u?void 0:u.children),(0,S.createVNode)(a.value.component,{tag:e.tag,icon:a.value.icon,class:["v-icon","notranslate",o.value,l.value,s.value,{"v-icon--clickable":!!n.onClick,"v-icon--start":e.start,"v-icon--end":e.end},e.class],style:[l.value?void 0:{fontSize:F(e.size),height:F(e.size),width:F(e.size)},c.value,e.style],role:n.onClick?"button":void 0,"aria-hidden":!n.onClick},{default:function(){return[d]}})}),{}}}),p=f("a42Vg");f("7DTtY");var k=f("bNhjt"),S=f("5BxzC");// Utilities
f("7DTtY");var k=f("bNhjt"),S=f("5BxzC");function rg(e,t){var n=(0,k.ref)(),r=(0,k.shallowRef)(!1);if(A){var i=new IntersectionObserver(function(t){null==e||e(t,i),r.value=!!t.find(function(e){return e.isIntersecting})},t);(0,S.onBeforeUnmount)(function(){i.disconnect()}),(0,S.watch)(n,function(e,t){t&&(i.unobserve(t),r.value=!1),e&&i.observe(e)},{flush:"post"})}return{intersectionRef:n,isIntersecting:r}}var rm=eU((0,p._)({bgColor:String,color:String,indeterminate:[Boolean,String],modelValue:{type:[Number,String],default:0},rotate:{type:[Number,String],default:0},width:{type:[Number,String],default:4}},tX(),rf(),t7({tag:"div"}),tT()),"VProgressCircular"),ry=eY()({name:"VProgressCircular",props:rm(),setup:function(e,t){var n=t.slots,r=2*Math.PI*20,i=(0,k.ref)(),o=tD(e).themeClasses,a=rh(e),l=a.sizeClasses,u=a.sizeStyles,s=nq((0,k.toRef)(e,"color")),c=s.textColorClasses,d=s.textColorStyles,f=nq((0,k.toRef)(e,"bgColor")),h=f.textColorClasses,p=f.textColorStyles,g=rg(),m=g.intersectionRef,y=g.isIntersecting,_=t$(),b=_.resizeRef,w=_.contentRect,x=(0,S.computed)(function(){return Math.max(0,Math.min(100,parseFloat(e.modelValue)))}),C=(0,S.computed)(function(){return Number(e.width)}),E=(0,S.computed)(function(){// Get size from element if size prop value is small, large etc
-return u.value?Number(e.size):w.value?w.value.width:Math.max(C.value,32)}),V=(0,S.computed)(function(){return 20/(1-C.value/E.value)*2}),N=(0,S.computed)(function(){return C.value/E.value*V.value}),T=(0,S.computed)(function(){return F((100-x.value)/100*r)});return(0,S.watchEffect)(function(){m.value=i.value,b.value=i.value}),t5(function(){return(0,S.createVNode)(e.tag,{ref:i,class:["v-progress-circular",{"v-progress-circular--indeterminate":!!e.indeterminate,"v-progress-circular--visible":y.value,"v-progress-circular--disable-shrink":"disable-shrink"===e.indeterminate},o.value,l.value,c.value,e.class],style:[u.value,d.value,e.style],role:"progressbar","aria-valuemin":"0","aria-valuemax":"100","aria-valuenow":e.indeterminate?void 0:x.value},{default:function(){return[(0,S.createVNode)("svg",{style:{transform:"rotate(calc(-90deg + ".concat(Number(e.rotate),"deg))")},xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(V.value," ").concat(V.value)},[(0,S.createVNode)("circle",{class:["v-progress-circular__underlay",h.value],style:p.value,fill:"transparent",cx:"50%",cy:"50%",r:20,"stroke-width":N.value,"stroke-dasharray":r,"stroke-dashoffset":0},null),(0,S.createVNode)("circle",{class:"v-progress-circular__overlay",fill:"transparent",cx:"50%",cy:"50%",r:20,"stroke-width":N.value,"stroke-dasharray":r,"stroke-dashoffset":T.value},null)]),n.default&&(0,S.createVNode)("div",{class:"v-progress-circular__content"},[n.default({value:x.value})])]}})}),{}}}),tG=f("h8xva");f("7DTtY");var S=f("5BxzC"),tG=f("h8xva"),p=f("a42Vg"),b=f("9zFRg");f("7DTtY");var S=f("5BxzC"),m=f("jo4gN");// Composables
-f("7DTtY");var S=f("5BxzC"),x=f("6wEIk"),r_=["top","bottom"],rb=["start","end","left","right"];function rw(e,t){var n=(0,x._)(e.split(" "),2),r=n[0],i=n[1];return i||(i=ed(r_,r)?"start":ed(rb,r)?"top":"center"),{side:rx(r,t),align:rx(i,t)}}function rx(e,t){return"start"===e?t?"right":"left":"end"===e?t?"left":"right":e}function rk(e){return{side:({center:"center",top:"bottom",bottom:"top",left:"right",right:"left"})[e.side],align:e.align}}function rS(e){return{side:e.side,align:({center:"center",top:"bottom",bottom:"top",left:"right",right:"left"})[e.align]}}function rC(e){return{side:e.align,align:e.side}}function rE(e){return ed(r_,e.side)?"y":"x"}var rV={center:"center",top:"bottom",bottom:"top",left:"right",right:"left"},rN=eU({location:String},"location");function rT(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2?arguments[2]:void 0,r=te().isRtl;return{locationStyles:(0,S.computed)(function(){var i=function(e){return n?n(e):0};if(!e.location)return{};var o=rw(e.location.split(" ").length>1?e.location:"".concat(e.location," center"),r.value),a=o.side,l=o.align,u={};return"center"!==a&&(t?u[rV[a]]="calc(100% - ".concat(i(a),"px)"):u[a]=0),"center"!==l?t?u[rV[l]]="calc(100% - ".concat(i(l),"px)"):u[l]=0:("center"===a?u.top=u.left="50%":u[({top:"left",bottom:"left",left:"top",right:"top"})[a]]="50%",u.transform=({top:"translateX(-50%)",bottom:"translateX(-50%)",left:"translateY(-50%)",right:"translateY(-50%)",center:"translate(-50%, -50%)"})[a]),u})}}var rA=eU((0,p._)({absolute:Boolean,active:{type:Boolean,default:!0},bgColor:String,bgOpacity:[Number,String],bufferValue:{type:[Number,String],default:0},clickable:Boolean,color:String,height:{type:[Number,String],default:4},indeterminate:Boolean,max:{type:[Number,String],default:100},modelValue:{type:[Number,String],default:0},reverse:Boolean,stream:Boolean,striped:Boolean,roundedBar:Boolean},tX(),rN({location:"top"}),nG(),t7(),tT()),"VProgressLinear"),rD=eY()({name:"VProgressLinear",props:rA(),emits:{"update:modelValue":function(e){return!0}},setup:function(e,t){var n=function(e){if(E.value){var t=E.value.getBoundingClientRect(),n=t.left,r=t.right,o=t.width,a=R.value?o-e.clientX+(r-o):e.clientX-n;i.value=Math.round(a/o*N.value)}},r=t.slots,i=e1(e,"modelValue"),o=te(),a=o.isRtl,l=o.rtlClasses,u=tD(e).themeClasses,s=rT(e).locationStyles,c=nq(e,"color"),d=c.textColorClasses,f=c.textColorStyles,h=nW((0,S.computed)(function(){return e.bgColor||e.color})),g=h.backgroundColorClasses,y=h.backgroundColorStyles,_=nW(e,"color"),w=_.backgroundColorClasses,x=_.backgroundColorStyles,k=n$(e).roundedClasses,C=rg(),E=C.intersectionRef,V=C.isIntersecting,N=(0,S.computed)(function(){return parseInt(e.max,10)}),T=(0,S.computed)(function(){return parseInt(e.height,10)}),A=(0,S.computed)(function(){return parseFloat(e.bufferValue)/N.value*100}),D=(0,S.computed)(function(){return parseFloat(i.value)/N.value*100}),R=(0,S.computed)(function(){return a.value!==e.reverse}),O=(0,S.computed)(function(){return e.indeterminate?"fade-transition":"slide-x-transition"}),I=(0,S.computed)(function(){return null==e.bgOpacity?e.bgOpacity:parseFloat(e.bgOpacity)});return t5(function(){return(0,S.createVNode)(e.tag,{ref:E,class:["v-progress-linear",{"v-progress-linear--absolute":e.absolute,"v-progress-linear--active":e.active&&V.value,"v-progress-linear--reverse":R.value,"v-progress-linear--rounded":e.rounded,"v-progress-linear--rounded-bar":e.roundedBar,"v-progress-linear--striped":e.striped},k.value,u.value,l.value,e.class],style:[(0,p._)({bottom:"bottom"===e.location?0:void 0,top:"top"===e.location?0:void 0,height:e.active?F(T.value):0,"--v-progress-linear-height":F(T.value)},s.value),e.style],role:"progressbar","aria-hidden":e.active?"false":"true","aria-valuemin":"0","aria-valuemax":e.max,"aria-valuenow":e.indeterminate?void 0:D.value,onClick:e.clickable&&n},{default:function(){var t;return[e.stream&&(0,S.createVNode)("div",{key:"stream",class:["v-progress-linear__stream",d.value],style:(0,b._)((0,p._)({},f.value),(t={},(0,tG._)(t,R.value?"left":"right",F(-T.value)),(0,tG._)(t,"borderTop","".concat(F(T.value/2)," dotted")),(0,tG._)(t,"opacity",I.value),(0,tG._)(t,"top","calc(50% - ".concat(F(T.value/4),")")),(0,tG._)(t,"width",F(100-A.value,"%")),(0,tG._)(t,"--v-progress-linear-stream-to",F(T.value*(R.value?1:-1))),t))},null),(0,S.createVNode)("div",{class:["v-progress-linear__background",g.value],style:[y.value,{opacity:I.value,width:F(e.stream?A.value:100,"%")}]},null),(0,S.createVNode)(m.Transition,{name:O.value},{default:function(){return[e.indeterminate?(0,S.createVNode)("div",{class:"v-progress-linear__indeterminate"},[["long","short"].map(function(e){return(0,S.createVNode)("div",{key:e,class:["v-progress-linear__indeterminate",e,w.value],style:x.value},null)})]):(0,S.createVNode)("div",{class:["v-progress-linear__determinate",w.value],style:[x.value,{width:F(D.value,"%")}]},null)]}}),r.default&&(0,S.createVNode)("div",{class:"v-progress-linear__content"},[r.default({value:D.value,buffer:A.value})])]}})}),{}}}),rR=eU({loading:[Boolean,String]},"loader");function rO(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ex();return{loaderClasses:(0,S.computed)(function(){return(0,tG._)({},"".concat(t,"--loading"),e.loading)})}}function rI(e,t){var n,r=t.slots;return(0,S.createVNode)("div",{class:"".concat(e.name,"__loader")},[(null===(n=r.default)||void 0===n?void 0:n.call(r,{color:e.color,isActive:e.active}))||(0,S.createVNode)(rD,{active:e.active,color:e.color,height:"2",indeterminate:!0},null)])}// Utilities
+return u.value?Number(e.size):w.value?w.value.width:Math.max(C.value,32)}),V=(0,S.computed)(function(){return 20/(1-C.value/E.value)*2}),N=(0,S.computed)(function(){return C.value/E.value*V.value}),T=(0,S.computed)(function(){return F((100-x.value)/100*r)});return(0,S.watchEffect)(function(){m.value=i.value,b.value=i.value}),t4(function(){return(0,S.createVNode)(e.tag,{ref:i,class:["v-progress-circular",{"v-progress-circular--indeterminate":!!e.indeterminate,"v-progress-circular--visible":y.value,"v-progress-circular--disable-shrink":"disable-shrink"===e.indeterminate},o.value,l.value,c.value,e.class],style:[u.value,d.value,e.style],role:"progressbar","aria-valuemin":"0","aria-valuemax":"100","aria-valuenow":e.indeterminate?void 0:x.value},{default:function(){return[(0,S.createVNode)("svg",{style:{transform:"rotate(calc(-90deg + ".concat(Number(e.rotate),"deg))")},xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(V.value," ").concat(V.value)},[(0,S.createVNode)("circle",{class:["v-progress-circular__underlay",h.value],style:p.value,fill:"transparent",cx:"50%",cy:"50%",r:20,"stroke-width":N.value,"stroke-dasharray":r,"stroke-dashoffset":0},null),(0,S.createVNode)("circle",{class:"v-progress-circular__overlay",fill:"transparent",cx:"50%",cy:"50%",r:20,"stroke-width":N.value,"stroke-dasharray":r,"stroke-dashoffset":T.value},null)]),n.default&&(0,S.createVNode)("div",{class:"v-progress-circular__content"},[n.default({value:x.value})])]}})}),{}}}),tG=f("h8xva");f("7DTtY");var S=f("5BxzC"),tG=f("h8xva"),p=f("a42Vg"),b=f("9zFRg");f("7DTtY");var S=f("5BxzC"),m=f("jo4gN");// Composables
+f("7DTtY");var S=f("5BxzC"),x=f("6wEIk"),r_=["top","bottom"],rb=["start","end","left","right"];function rw(e,t){var n=(0,x._)(e.split(" "),2),r=n[0],i=n[1];return i||(i=ed(r_,r)?"start":ed(rb,r)?"top":"center"),{side:rx(r,t),align:rx(i,t)}}function rx(e,t){return"start"===e?t?"right":"left":"end"===e?t?"left":"right":e}function rk(e){return{side:({center:"center",top:"bottom",bottom:"top",left:"right",right:"left"})[e.side],align:e.align}}function rS(e){return{side:e.side,align:({center:"center",top:"bottom",bottom:"top",left:"right",right:"left"})[e.align]}}function rC(e){return{side:e.align,align:e.side}}function rE(e){return ed(r_,e.side)?"y":"x"}var rV={center:"center",top:"bottom",bottom:"top",left:"right",right:"left"},rN=eU({location:String},"location");function rT(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2?arguments[2]:void 0,r=te().isRtl;return{locationStyles:(0,S.computed)(function(){var i=function(e){return n?n(e):0};if(!e.location)return{};var o=rw(e.location.split(" ").length>1?e.location:"".concat(e.location," center"),r.value),a=o.side,l=o.align,u={};return"center"!==a&&(t?u[rV[a]]="calc(100% - ".concat(i(a),"px)"):u[a]=0),"center"!==l?t?u[rV[l]]="calc(100% - ".concat(i(l),"px)"):u[l]=0:("center"===a?u.top=u.left="50%":u[({top:"left",bottom:"left",left:"top",right:"top"})[a]]="50%",u.transform=({top:"translateX(-50%)",bottom:"translateX(-50%)",left:"translateY(-50%)",right:"translateY(-50%)",center:"translate(-50%, -50%)"})[a]),u})}}var rA=eU((0,p._)({absolute:Boolean,active:{type:Boolean,default:!0},bgColor:String,bgOpacity:[Number,String],bufferValue:{type:[Number,String],default:0},clickable:Boolean,color:String,height:{type:[Number,String],default:4},indeterminate:Boolean,max:{type:[Number,String],default:100},modelValue:{type:[Number,String],default:0},reverse:Boolean,stream:Boolean,striped:Boolean,roundedBar:Boolean},tX(),rN({location:"top"}),nG(),t7(),tT()),"VProgressLinear"),rD=eY()({name:"VProgressLinear",props:rA(),emits:{"update:modelValue":function(e){return!0}},setup:function(e,t){var n=function(e){if(E.value){var t=E.value.getBoundingClientRect(),n=t.left,r=t.right,o=t.width,a=R.value?o-e.clientX+(r-o):e.clientX-n;i.value=Math.round(a/o*N.value)}},r=t.slots,i=e1(e,"modelValue"),o=te(),a=o.isRtl,l=o.rtlClasses,u=tD(e).themeClasses,s=rT(e).locationStyles,c=nq(e,"color"),d=c.textColorClasses,f=c.textColorStyles,h=nW((0,S.computed)(function(){return e.bgColor||e.color})),g=h.backgroundColorClasses,y=h.backgroundColorStyles,_=nW(e,"color"),w=_.backgroundColorClasses,x=_.backgroundColorStyles,k=n$(e).roundedClasses,C=rg(),E=C.intersectionRef,V=C.isIntersecting,N=(0,S.computed)(function(){return parseInt(e.max,10)}),T=(0,S.computed)(function(){return parseInt(e.height,10)}),A=(0,S.computed)(function(){return parseFloat(e.bufferValue)/N.value*100}),D=(0,S.computed)(function(){return parseFloat(i.value)/N.value*100}),R=(0,S.computed)(function(){return a.value!==e.reverse}),O=(0,S.computed)(function(){return e.indeterminate?"fade-transition":"slide-x-transition"}),I=(0,S.computed)(function(){return null==e.bgOpacity?e.bgOpacity:parseFloat(e.bgOpacity)});return t4(function(){return(0,S.createVNode)(e.tag,{ref:E,class:["v-progress-linear",{"v-progress-linear--absolute":e.absolute,"v-progress-linear--active":e.active&&V.value,"v-progress-linear--reverse":R.value,"v-progress-linear--rounded":e.rounded,"v-progress-linear--rounded-bar":e.roundedBar,"v-progress-linear--striped":e.striped},k.value,u.value,l.value,e.class],style:[(0,p._)({bottom:"bottom"===e.location?0:void 0,top:"top"===e.location?0:void 0,height:e.active?F(T.value):0,"--v-progress-linear-height":F(T.value)},s.value),e.style],role:"progressbar","aria-hidden":e.active?"false":"true","aria-valuemin":"0","aria-valuemax":e.max,"aria-valuenow":e.indeterminate?void 0:D.value,onClick:e.clickable&&n},{default:function(){var t;return[e.stream&&(0,S.createVNode)("div",{key:"stream",class:["v-progress-linear__stream",d.value],style:(0,b._)((0,p._)({},f.value),(t={},(0,tG._)(t,R.value?"left":"right",F(-T.value)),(0,tG._)(t,"borderTop","".concat(F(T.value/2)," dotted")),(0,tG._)(t,"opacity",I.value),(0,tG._)(t,"top","calc(50% - ".concat(F(T.value/4),")")),(0,tG._)(t,"width",F(100-A.value,"%")),(0,tG._)(t,"--v-progress-linear-stream-to",F(T.value*(R.value?1:-1))),t))},null),(0,S.createVNode)("div",{class:["v-progress-linear__background",g.value],style:[y.value,{opacity:I.value,width:F(e.stream?A.value:100,"%")}]},null),(0,S.createVNode)(m.Transition,{name:O.value},{default:function(){return[e.indeterminate?(0,S.createVNode)("div",{class:"v-progress-linear__indeterminate"},[["long","short"].map(function(e){return(0,S.createVNode)("div",{key:e,class:["v-progress-linear__indeterminate",e,w.value],style:x.value},null)})]):(0,S.createVNode)("div",{class:["v-progress-linear__determinate",w.value],style:[x.value,{width:F(D.value,"%")}]},null)]}}),r.default&&(0,S.createVNode)("div",{class:"v-progress-linear__content"},[r.default({value:D.value,buffer:A.value})])]}})}),{}}}),rR=eU({loading:[Boolean,String]},"loader");function rO(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ex();return{loaderClasses:(0,S.computed)(function(){return(0,tG._)({},"".concat(t,"--loading"),e.loading)})}}function rI(e,t){var n,r=t.slots;return(0,S.createVNode)("div",{class:"".concat(e.name,"__loader")},[(null===(n=r.default)||void 0===n?void 0:n.call(r,{color:e.color,isActive:e.active}))||(0,S.createVNode)(rD,{active:e.active,color:e.color,height:"2",indeterminate:!0},null)])}// Utilities
f("7DTtY");var S=f("5BxzC"),rB=["static","relative","fixed","absolute","sticky"],rP=eU({position:{type:String,validator:/* istanbul ignore next */function(e){return rB.includes(e)}}},"position");function rM(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ex();return{positionClasses:(0,S.computed)(function(){return e.position?"".concat(t,"--").concat(e.position):void 0})}}// Utilities
f("7DTtY");var S=f("5BxzC"),k=f("bNhjt");function rL(){var e,t;return null===(e=ew("useRouter"))||void 0===e?void 0:null===(t=e.proxy)||void 0===t?void 0:t.$router}function rj(e,t){var n=(0,S.resolveDynamicComponent)("RouterLink"),r=(0,S.computed)(function(){return!!(e.href||e.to)}),i=(0,S.computed)(function(){return(null==r?void 0:r.value)||ev(t,"click")||ev(e,"click")});if("string"==typeof n)return{isLink:r,isClickable:i,href:(0,k.toRef)(e,"href")};var o=e.to?n.useLink(e):void 0;return{isLink:r,isClickable:i,route:null==o?void 0:o.route,navigate:null==o?void 0:o.navigate,isActive:o&&(0,S.computed)(function(){var t,n;return e.exact?null===(t=o.isExactActive)||void 0===t?void 0:t.value:null===(n=o.isActive)||void 0===n?void 0:n.value}),href:(0,S.computed)(function(){return e.to?null==o?void 0:o.route.value.href:e.href})}}var rF=eU({href:String,replace:Boolean,to:[String,Object],exact:Boolean},"router"),rU=!1;// Utilities
f("7DTtY");var S=f("5BxzC"),rz=Symbol("rippleStop");function rY(e,t){e.style.transform=t,e.style.webkitTransform=t}function rH(e){return"TouchEvent"===e.constructor.name}function rq(e){return"KeyboardEvent"===e.constructor.name}var rW=function(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=0,o=0;if(!rq(e)){var a=t.getBoundingClientRect(),l=rH(e)?e.touches[e.touches.length-1]:e;i=l.clientX-a.left,o=l.clientY-a.top}var u=0,s=.3;(null===(n=t._ripple)||void 0===n?void 0:n.circle)?(s=.15,u=t.clientWidth/2,u=r.center?u:u+Math.sqrt(Math.pow(i-u,2)+Math.pow(o-u,2))/4):u=Math.sqrt(Math.pow(t.clientWidth,2)+Math.pow(t.clientHeight,2))/2;var c="".concat((t.clientWidth-2*u)/2,"px"),d="".concat((t.clientHeight-2*u)/2,"px"),f=r.center?c:"".concat(i-u,"px"),h=r.center?d:"".concat(o-u,"px");return{radius:u,scale:s,x:f,y:h,centerX:c,centerY:d}},rK={/* eslint-disable max-statements */show:function(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(null==t?void 0:null===(n=t._ripple)||void 0===n?void 0:n.enabled){var i=document.createElement("span"),o=document.createElement("span");i.appendChild(o),i.className="v-ripple__container",r.class&&(i.className+=" ".concat(r.class));var a=rW(e,t,r),l=a.radius,u=a.scale,s=a.x,c=a.y,d=a.centerX,f=a.centerY,h="".concat(2*l,"px");o.className="v-ripple__animation",o.style.width=h,o.style.height=h,t.appendChild(i);var p=window.getComputedStyle(t);p&&"static"===p.position&&(t.style.position="relative",t.dataset.previousPosition="static"),o.classList.add("v-ripple__animation--enter"),o.classList.add("v-ripple__animation--visible"),rY(o,"translate(".concat(s,", ").concat(c,") scale3d(").concat(u,",").concat(u,",").concat(u,")")),o.dataset.activated=String(performance.now()),setTimeout(function(){o.classList.remove("v-ripple__animation--enter"),o.classList.add("v-ripple__animation--in"),rY(o,"translate(".concat(d,", ").concat(f,") scale3d(1,1,1)"))},0)}},hide:function(e){if(null==e?void 0:null===(t=e._ripple)||void 0===t?void 0:t.enabled){var t,n=e.getElementsByClassName("v-ripple__animation");if(0!==n.length){var r=n[n.length-1];if(r.dataset.isHiding)return;r.dataset.isHiding="true",setTimeout(function(){r.classList.remove("v-ripple__animation--in"),r.classList.add("v-ripple__animation--out"),setTimeout(function(){var t;1===e.getElementsByClassName("v-ripple__animation").length&&e.dataset.previousPosition&&(e.style.position=e.dataset.previousPosition,delete e.dataset.previousPosition),(null===(t=r.parentNode)||void 0===t?void 0:t.parentNode)===e&&e.removeChild(r.parentNode)},300)},Math.max(250-(performance.now()-Number(r.dataset.activated)),0))}}}};function rX(e){return void 0===e||!!e}function rG(e){var t={},n=e.currentTarget;if((null==n?void 0:n._ripple)&&!n._ripple.touched&&!e[rz]){if(// Don't allow the event to trigger ripples on any other elements
@@ -6803,14 +6803,14 @@ if(n._ripple.showTimerCommit)return;n._ripple.showTimerCommit=function(){rK.show
// We still want to show ripple effect.
if(window.clearTimeout(t._ripple.showTimer),"touchend"===e.type&&t._ripple.showTimerCommit){t._ripple.showTimerCommit(),t._ripple.showTimerCommit=null,// re-queue ripple hiding
t._ripple.showTimer=window.setTimeout(function(){rJ(e)});return}window.setTimeout(function(){t._ripple&&(t._ripple.touched=!1)}),rK.hide(t)}}function rZ(e){var t=e.currentTarget;(null==t?void 0:t._ripple)&&(t._ripple.showTimerCommit&&(t._ripple.showTimerCommit=null),window.clearTimeout(t._ripple.showTimer))}var rQ=!1;function r0(e){rQ||e.keyCode!==Y.enter&&e.keyCode!==Y.space||(rQ=!0,rG(e))}function r1(e){rQ=!1,rJ(e)}function r2(e){rQ&&(rQ=!1,rJ(e))}function r3(e,t,n){var r,i=t.value,o=t.modifiers,a=rX(i);if(a||rK.hide(e),e._ripple=null!==(r=e._ripple)&&void 0!==r?r:{},e._ripple.enabled=a,e._ripple.centered=o.center,e._ripple.circle=o.circle,U(i)&&i.class&&(e._ripple.class=i.class),a&&!n){if(o.stop){e.addEventListener("touchstart",r$,{passive:!0}),e.addEventListener("mousedown",r$);return}e.addEventListener("touchstart",rG,{passive:!0}),e.addEventListener("touchend",rJ,{passive:!0}),e.addEventListener("touchmove",rZ,{passive:!0}),e.addEventListener("touchcancel",rJ),e.addEventListener("mousedown",rG),e.addEventListener("mouseup",rJ),e.addEventListener("mouseleave",rJ),e.addEventListener("keydown",r0),e.addEventListener("keyup",r1),e.addEventListener("blur",r2),// Anchor tags can be dragged, causes other hides to fail - #1537
-e.addEventListener("dragstart",rJ,{passive:!0})}else!a&&n&&r5(e)}function r5(e){e.removeEventListener("mousedown",rG),e.removeEventListener("touchstart",rG),e.removeEventListener("touchend",rJ),e.removeEventListener("touchmove",rZ),e.removeEventListener("touchcancel",rJ),e.removeEventListener("mouseup",rJ),e.removeEventListener("mouseleave",rJ),e.removeEventListener("keydown",r0),e.removeEventListener("keyup",r1),e.removeEventListener("dragstart",rJ),e.removeEventListener("blur",r2)}var r4={mounted:function(e,t){r3(e,t,!1)},unmounted:function(e){delete e._ripple,r5(e)},updated:function(e,t){if(t.value!==t.oldValue){var n=rX(t.oldValue);r3(e,t,n)}}},r6=eU((0,p._)({active:{type:Boolean,default:void 0},symbol:{type:null,default:ru},flat:Boolean,icon:[Boolean,String,Function,Object],prependIcon:eH,appendIcon:eH,block:Boolean,stacked:Boolean,ripple:{type:[Boolean,Object],default:!0},text:String},nz(),tX(),n4(),nR(),nK(),ri(),rR(),rN(),rP(),nG(),rF(),rf(),t7({tag:"button"}),tT(),n9({variant:"elevated"})),"VBtn"),r8=eY()({name:"VBtn",directives:{Ripple:r4},props:r6(),emits:{"group:selected":function(e){return!0}},setup:function(e,t){var n,r=function(e){var t;V.value||C.isLink.value&&(e.metaKey||e.ctrlKey||e.shiftKey||0!==e.button||"_blank"===i.target)||(null===(t=C.navigate)||void 0===t||t.call(C,e),null==k||k.toggle())},i=t.attrs,o=t.slots,a=tD(e).themeClasses,l=nY(e).borderClasses,u=re(e),s=u.colorClasses,c=u.colorStyles,d=u.variantClasses,f=n6(e).densityClasses,h=nO(e).dimensionStyles,p=nX(e).elevationClasses,g=rO(e).loaderClasses,m=rT(e).locationStyles,y=rM(e).positionClasses,_=n$(e).roundedClasses,b=rh(e),w=b.sizeClasses,x=b.sizeStyles,k=ro(e,e.symbol,!1),C=rj(e,i),E=(0,S.computed)(function(){var t;return void 0!==e.active?e.active:C.isLink.value?null===(t=C.isActive)||void 0===t?void 0:t.value:null==k?void 0:k.isSelected.value}),V=(0,S.computed)(function(){return(null==k?void 0:k.disabled.value)||e.disabled}),N=(0,S.computed)(function(){return"elevated"===e.variant&&!(e.disabled||e.flat||e.border)}),T=(0,S.computed)(function(){if(void 0!==e.value)return Object(e.value)===e.value?JSON.stringify(e.value,null,0):e.value});return n=null==k?void 0:k.select,(0,S.watch)(function(){var e;return null===(e=C.isActive)||void 0===e?void 0:e.value},function(e){C.isLink.value&&e&&n&&(0,S.nextTick)(function(){n(!0)})},{immediate:!0}),t5(function(){var t,n,i,u,b=C.isLink.value?"a":e.tag,A=!!(e.prependIcon||o.prepend),D=!!(e.appendIcon||o.append),R=!!(e.icon&&!0!==e.icon),O=(null==k?void 0:k.isSelected.value)&&(!C.isLink.value||(null===(t=C.isActive)||void 0===t?void 0:t.value))||!k||(null===(n=C.isActive)||void 0===n?void 0:n.value);return(0,S.withDirectives)((0,S.createVNode)(b,{type:"a"===b?void 0:"button",class:["v-btn",null==k?void 0:k.selectedClass.value,{"v-btn--active":E.value,"v-btn--block":e.block,"v-btn--disabled":V.value,"v-btn--elevated":N.value,"v-btn--flat":e.flat,"v-btn--icon":!!e.icon,"v-btn--loading":e.loading,"v-btn--stacked":e.stacked},a.value,l.value,O?s.value:void 0,f.value,p.value,g.value,y.value,_.value,w.value,d.value,e.class],style:[O?c.value:void 0,h.value,m.value,x.value,e.style],disabled:V.value||void 0,href:C.href.value,onClick:r,value:T.value},{default:function(){var t;return[n7(!0,"v-btn"),!e.icon&&A&&(0,S.createVNode)("span",{key:"prepend",class:"v-btn__prepend"},[o.prepend?(0,S.createVNode)(nD,{key:"prepend-defaults",disabled:!e.prependIcon,defaults:{VIcon:{icon:e.prependIcon}}},o.prepend):(0,S.createVNode)(rp,{key:"prepend-icon",icon:e.prependIcon},null)]),(0,S.createVNode)("span",{class:"v-btn__content","data-no-activator":""},[!o.default&&R?(0,S.createVNode)(rp,{key:"content-icon",icon:e.icon},null):(0,S.createVNode)(nD,{key:"content-defaults",disabled:!R,defaults:{VIcon:{icon:e.icon}}},{default:function(){var t;return[null!==(i=null===(t=o.default)||void 0===t?void 0:t.call(o))&&void 0!==i?i:e.text]}})]),!e.icon&&D&&(0,S.createVNode)("span",{key:"append",class:"v-btn__append"},[o.append?(0,S.createVNode)(nD,{key:"append-defaults",disabled:!e.appendIcon,defaults:{VIcon:{icon:e.appendIcon}}},o.append):(0,S.createVNode)(rp,{key:"append-icon",icon:e.appendIcon},null)]),!!e.loading&&(0,S.createVNode)("span",{key:"loader",class:"v-btn__loader"},[null!==(u=null===(t=o.loader)||void 0===t?void 0:t.call(o))&&void 0!==u?u:(0,S.createVNode)(ry,{color:"boolean"==typeof e.loading?void 0:e.loading,indeterminate:!0,size:"23",width:"2"},null)])]}}),[[(0,S.resolveDirective)("ripple"),!V.value&&e.ripple,null]])}),{}}}),r7=eU((0,p._)({},r6({icon:"$menu",variant:"text"})),"VAppBarNavIcon"),r9=eY()({name:"VAppBarNavIcon",props:r7(),setup:function(e,t){var n=t.slots;return t5(function(){return(0,S.createVNode)(r8,(0,S.mergeProps)(e,{class:["v-app-bar-nav-icon"]}),n)}),{}}});f("7DTtY");var S=f("5BxzC"),ie=eY()({name:"VAppBarTitle",props:t9(),setup:function(e,t){var n=t.slots;return t5(function(){return(0,S.createVNode)(ne,(0,S.mergeProps)(e,{class:"v-app-bar-title"}),n)}),{}}}),it={};t(it,"VAlert",function(){return il}),t(it,"VAlertTitle",function(){return ii});var tG=f("h8xva"),p=f("a42Vg");f("7DTtY");var S=f("5BxzC"),k=f("bNhjt"),p=f("a42Vg");f("7DTtY");var N=f("9Nw75"),S=f("5BxzC");function ir(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"div",n=arguments.length>2?arguments[2]:void 0;return eY()({name:null!=n?n:(0,N.capitalize)((0,N.camelize)(e.replace(/__/g,"-"))),props:(0,p._)({tag:{type:String,default:t}},tX()),setup:function(t,n){var r=n.slots;return function(){var n;return(0,S.h)(t.tag,{class:[e,t.class],style:t.style},null===(n=r.default)||void 0===n?void 0:n.call(r))}}})}var ii=ir("v-alert-title"),io=["success","info","warning","error"],ia=eU((0,p._)({border:{type:[Boolean,String],validator:function(e){return"boolean"==typeof e||["top","end","bottom","start"].includes(e)}},borderColor:String,closable:Boolean,closeIcon:{type:eH,default:"$close"},closeLabel:{type:String,default:"$vuetify.close"},icon:{type:[Boolean,String,Function,Object],default:null},modelValue:{type:Boolean,default:!0},prominent:Boolean,title:String,text:String,type:{type:String,validator:function(e){return io.includes(e)}}},tX(),n4(),nR(),nK(),rN(),rP(),nG(),t7(),tT(),n9({variant:"flat"})),"VAlert"),il=eY()({name:"VAlert",props:ia(),emits:{"click:close":function(e){return!0},"update:modelValue":function(e){return!0}},setup:function(e,t){var n,r=t.emit,i=t.slots,o=e1(e,"modelValue"),a=(0,S.computed)(function(){var t;if(!1!==e.icon)return e.type?null!==(t=e.icon)&&void 0!==t?t:"$".concat(e.type):e.icon}),l=(0,S.computed)(function(){return{color:null!==(n=e.color)&&void 0!==n?n:e.type,variant:e.variant}}),u=tD(e).themeClasses,s=re(l),c=s.colorClasses,d=s.colorStyles,f=s.variantClasses,h=n6(e).densityClasses,p=nO(e).dimensionStyles,g=nX(e).elevationClasses,m=rT(e).locationStyles,y=rM(e).positionClasses,_=n$(e).roundedClasses,b=nq((0,k.toRef)(e,"borderColor")),w=b.textColorClasses,x=b.textColorStyles,C=e9().t,E=(0,S.computed)(function(){return{"aria-label":C(e.closeLabel),onClick:function(e){o.value=!1,r("click:close",e)}}});return function(){var t,n,r=!!(i.prepend||a.value),l=!!(i.title||e.title),s=!!(i.close||e.closable);return o.value&&(0,S.createVNode)(e.tag,{class:["v-alert",e.border&&(0,tG._)({"v-alert--border":!!e.border},"v-alert--border-".concat(!0===e.border?"start":e.border),!0),{"v-alert--prominent":e.prominent},u.value,c.value,h.value,g.value,y.value,_.value,f.value,e.class],style:[d.value,p.value,m.value,e.style],role:"alert"},{default:function(){var o,u;return[n7(!1,"v-alert"),e.border&&(0,S.createVNode)("div",{key:"border",class:["v-alert__border",w.value],style:x.value},null),r&&(0,S.createVNode)("div",{key:"prepend",class:"v-alert__prepend"},[i.prepend?(0,S.createVNode)(nD,{key:"prepend-defaults",disabled:!a.value,defaults:{VIcon:{density:e.density,icon:a.value,size:e.prominent?44:28}}},i.prepend):(0,S.createVNode)(rp,{key:"prepend-icon",density:e.density,icon:a.value,size:e.prominent?44:28},null)]),(0,S.createVNode)("div",{class:"v-alert__content"},[l&&(0,S.createVNode)(ii,{key:"title"},{default:function(){var n;return[null!==(t=null===(n=i.title)||void 0===n?void 0:n.call(i))&&void 0!==t?t:e.title]}}),null!==(n=null===(o=i.text)||void 0===o?void 0:o.call(i))&&void 0!==n?n:e.text,null===(u=i.default)||void 0===u?void 0:u.call(i)]),i.append&&(0,S.createVNode)("div",{key:"append",class:"v-alert__append"},[i.append()]),s&&(0,S.createVNode)("div",{key:"close",class:"v-alert__close"},[i.close?(0,S.createVNode)(nD,{key:"close-defaults",defaults:{VBtn:{icon:e.closeIcon,size:"x-small",variant:"text"}}},{default:function(){var e;return[null===(e=i.close)||void 0===e?void 0:e.call(i,{props:E.value})]}}):(0,S.createVNode)(r8,(0,S.mergeProps)({key:"close-btn",icon:e.closeIcon,size:"x-small",variant:"text"},E.value),null)])]}})}}}),iu={};t(iu,"VAutocomplete",function(){return ad});var p=f("a42Vg"),b=f("9zFRg"),x=f("6wEIk"),V=f("2Yjkq");f("7DTtY");var S=f("5BxzC"),k=f("bNhjt"),p=f("a42Vg");f("7DTtY");var S=f("5BxzC"),p=f("a42Vg"),x=f("6wEIk"),V=f("2Yjkq");f("7DTtY");var S=f("5BxzC"),k=f("bNhjt"),p=f("a42Vg");f("7DTtY");var S=f("5BxzC"),is=eU((0,p._)({text:String,clickable:Boolean},tX(),tT()),"VLabel"),ic=eY()({name:"VLabel",props:is(),setup:function(e,t){var n=t.slots;return t5(function(){var t;return(0,S.createVNode)("label",{class:["v-label",{"v-label--clickable":e.clickable},e.class],style:e.style},[e.text,null===(t=n.default)||void 0===t?void 0:t.call(n)])}),{}}}),tG=f("h8xva"),p=f("a42Vg");f("7DTtY");var S=f("5BxzC"),k=f("bNhjt"),id=Symbol.for("vuetify:selection-control-group"),ih=eU((0,p._)({color:String,disabled:{type:Boolean,default:null},defaultsTarget:String,error:Boolean,id:String,inline:Boolean,falseIcon:eH,trueIcon:eH,ripple:{type:Boolean,default:!0},multiple:{type:Boolean,default:null},name:String,readonly:Boolean,modelValue:null,type:String,valueComparator:{type:Function,default:P}},tX(),n4(),tT()),"SelectionControlGroup"),iv=eU((0,p._)({},ih({defaultsTarget:"VSelectionControl"})),"VSelectionControlGroup"),ip=eY()({name:"VSelectionControlGroup",props:iv(),emits:{"update:modelValue":function(e){return!0}},setup:function(e,t){var n=t.slots,r=e1(e,"modelValue"),i=eC(),o=(0,S.computed)(function(){return e.id||"v-selection-control-group-".concat(i)}),a=(0,S.computed)(function(){return e.name||o.value}),l=new Set;return(0,S.provide)(id,{modelValue:r,forceUpdate:function(){l.forEach(function(e){return e()})},onForceUpdate:function(e){l.add(e),(0,k.onScopeDispose)(function(){l.delete(e)})}}),eN((0,tG._)({},e.defaultsTarget,{color:(0,k.toRef)(e,"color"),disabled:(0,k.toRef)(e,"disabled"),density:(0,k.toRef)(e,"density"),error:(0,k.toRef)(e,"error"),inline:(0,k.toRef)(e,"inline"),modelValue:r,multiple:(0,S.computed)(function(){return!!e.multiple||null==e.multiple&&Array.isArray(r.value)}),name:a,falseIcon:(0,k.toRef)(e,"falseIcon"),trueIcon:(0,k.toRef)(e,"trueIcon"),readonly:(0,k.toRef)(e,"readonly"),ripple:(0,k.toRef)(e,"ripple"),type:(0,k.toRef)(e,"type"),valueComparator:(0,k.toRef)(e,"valueComparator")})),t5(function(){var t;return(0,S.createVNode)("div",{class:["v-selection-control-group",{"v-selection-control-group--inline":e.inline},e.class],style:e.style,role:"radio"===e.type?"radiogroup":void 0},[null===(t=n.default)||void 0===t?void 0:t.call(n)])}),{}}}),ig=eU((0,p._)({label:String,trueValue:null,falseValue:null,value:null},tX(),ih()),"VSelectionControl"),im=eY()({name:"VSelectionControl",directives:{Ripple:r4},inheritAttrs:!1,props:ig(),emits:{"update:modelValue":function(e){return!0}},setup:function(e,t){var n,r,i,o,a,l,u,s,c,d,f,h,p,g,m=function(e){L.value=!0,!1!==eb(e.target,":focus-visible")&&(j.value=!0)},y=function(){L.value=!1,j.value=!1},_=function(t){e.readonly&&E&&(0,S.nextTick)(function(){return E.forceUpdate()}),A.value=t.target.checked},b=t.attrs,w=t.slots,C=(n=(0,S.inject)(id,void 0),r=n6(e).densityClasses,i=e1(e,"modelValue"),o=(0,S.computed)(function(){return void 0!==e.trueValue?e.trueValue:void 0===e.value||e.value}),a=(0,S.computed)(function(){return void 0!==e.falseValue&&e.falseValue}),l=(0,S.computed)(function(){return!!e.multiple||null==e.multiple&&Array.isArray(i.value)}),u=(0,S.computed)({get:function(){var t=n?n.modelValue.value:i.value;return l.value?t.some(function(t){return e.valueComparator(t,o.value)}):e.valueComparator(t,o.value)},set:function(t){if(!e.readonly){var r=t?o.value:a.value,u=r;l.value&&(u=t?(0,V._)(Q(i.value)).concat([r]):Q(i.value).filter(function(t){return!e.valueComparator(t,o.value)})),n?n.modelValue.value=u:i.value=u}}}),c=(s=nq((0,S.computed)(function(){return!u.value||e.error||e.disabled?void 0:e.color}))).textColorClasses,d=s.textColorStyles,h=(f=nW((0,S.computed)(function(){return!u.value||e.error||e.disabled?void 0:e.color}))).backgroundColorClasses,p=f.backgroundColorStyles,g=(0,S.computed)(function(){return u.value?e.trueIcon:e.falseIcon}),{group:n,densityClasses:r,trueValue:o,falseValue:a,model:u,textColorClasses:c,textColorStyles:d,backgroundColorClasses:h,backgroundColorStyles:p,icon:g}),E=C.group,N=C.densityClasses,T=C.icon,A=C.model,D=C.textColorClasses,R=C.textColorStyles,O=C.backgroundColorClasses,I=C.backgroundColorStyles,B=C.trueValue,P=eC(),M=(0,S.computed)(function(){return e.id||"input-".concat(P)}),L=(0,k.shallowRef)(!1),j=(0,k.shallowRef)(!1),F=(0,k.ref)();return null==E||E.onForceUpdate(function(){F.value&&(F.value.checked=A.value)}),t5(function(){var t,n,r,i=w.label?w.label({label:e.label,props:{for:M.value}}):e.label,o=(0,x._)(Z(b),2),a=o[0],l=o[1],u=(0,S.createVNode)("input",(0,S.mergeProps)({ref:F,checked:A.value,disabled:!!(e.readonly||e.disabled),id:M.value,onBlur:y,onFocus:m,onInput:_,"aria-disabled":!!(e.readonly||e.disabled),type:e.type,value:B.value,name:e.name,"aria-checked":"checkbox"===e.type?A.value:void 0},l),null);return(0,S.createVNode)("div",(0,S.mergeProps)({class:["v-selection-control",{"v-selection-control--dirty":A.value,"v-selection-control--disabled":e.disabled,"v-selection-control--error":e.error,"v-selection-control--focused":L.value,"v-selection-control--focus-visible":j.value,"v-selection-control--inline":e.inline},N.value,e.class]},a,{style:e.style}),[(0,S.createVNode)("div",{class:["v-selection-control__wrapper",D.value],style:R.value},[null===(t=w.default)||void 0===t?void 0:t.call(w,{backgroundColorClasses:O,backgroundColorStyles:I}),(0,S.withDirectives)((0,S.createVNode)("div",{class:["v-selection-control__input"]},[null!==(r=null===(n=w.input)||void 0===n?void 0:n.call(w,{model:A,textColorClasses:D,textColorStyles:R,backgroundColorClasses:O,backgroundColorStyles:I,inputNode:u,icon:T.value,props:{onFocus:m,onBlur:y,id:M.value}}))&&void 0!==r?r:(0,S.createVNode)(S.Fragment,null,[T.value&&(0,S.createVNode)(rp,{key:"icon",icon:T.value},null),u])]),[[(0,S.resolveDirective)("ripple"),e.ripple&&[!e.disabled&&!e.readonly,null,["center","circle"]]]])]),i&&(0,S.createVNode)(ic,{for:M.value,clickable:!0,onClick:function(e){return e.stopPropagation()}},{default:function(){return[i]}})])}),{isFocused:L,input:F}}}),iy=eU((0,p._)({indeterminate:Boolean,indeterminateIcon:{type:eH,default:"$checkboxIndeterminate"}},ig({falseIcon:"$checkboxOff",trueIcon:"$checkboxOn"})),"VCheckboxBtn"),i_=eY()({name:"VCheckboxBtn",props:iy(),emits:{"update:modelValue":function(e){return!0},"update:indeterminate":function(e){return!0}},setup:function(e,t){var n=function(e){i.value&&(i.value=!1)},r=t.slots,i=e1(e,"indeterminate"),o=e1(e,"modelValue"),a=(0,S.computed)(function(){return i.value?e.indeterminateIcon:e.falseIcon}),l=(0,S.computed)(function(){return i.value?e.indeterminateIcon:e.trueIcon});return t5(function(){var t=X(im.filterProps(e)[0],["modelValue"]);return(0,S.createVNode)(im,(0,S.mergeProps)(t,{modelValue:o.value,"onUpdate:modelValue":[function(e){return o.value=e},n],class:["v-checkbox-btn",e.class],style:e.style,type:"checkbox",falseIcon:a.value,trueIcon:l.value,"aria-checked":i.value?"mixed":void 0}),r)}),{}}}),p=f("a42Vg");f("7DTtY");var S=f("5BxzC"),m=f("jo4gN"),p=f("a42Vg");f("7DTtY");var S=f("5BxzC"),ib=eU((0,p._)({start:Boolean,end:Boolean,icon:eH,image:String},tX(),n4(),nG(),rf(),t7(),tT(),n9({variant:"flat"})),"VAvatar"),iw=eY()({name:"VAvatar",props:ib(),setup:function(e,t){var n=t.slots,r=tD(e).themeClasses,i=re(e),o=i.colorClasses,a=i.colorStyles,l=i.variantClasses,u=n6(e).densityClasses,s=n$(e).roundedClasses,c=rh(e),d=c.sizeClasses,f=c.sizeStyles;return t5(function(){return(0,S.createVNode)(e.tag,{class:["v-avatar",{"v-avatar--start":e.start,"v-avatar--end":e.end},r.value,o.value,u.value,s.value,d.value,l.value,e.class],style:[a.value,f.value,e.style]},{default:function(){var t;return[e.image?(0,S.createVNode)(nU,{key:"image",src:e.image,alt:"",cover:!0},null):e.icon?(0,S.createVNode)(rp,{key:"icon",icon:e.icon},null):null===(t=n.default)||void 0===t?void 0:t.call(n),n7(!1,"v-avatar")]}})}),{}}}),p=f("a42Vg");f("7DTtY");var k=f("bNhjt"),S=f("5BxzC"),ix=Symbol.for("vuetify:v-chip-group"),ik=eU((0,p._)({column:Boolean,filter:Boolean,valueComparator:{type:Function,default:P}},tX(),rr({selectedClass:"v-chip--selected"}),t7(),tT(),n9({variant:"tonal"})),"VChipGroup"),iS=eY()({name:"VChipGroup",props:ik(),emits:{"update:modelValue":function(e){return!0}},setup:function(e,t){var n=t.slots,r=tD(e).themeClasses,i=ra(e,ix),o=i.isSelected,a=i.select,l=i.next,u=i.prev,s=i.selected;return eN({VChip:{color:(0,k.toRef)(e,"color"),disabled:(0,k.toRef)(e,"disabled"),filter:(0,k.toRef)(e,"filter"),variant:(0,k.toRef)(e,"variant")}}),t5(function(){return(0,S.createVNode)(e.tag,{class:["v-chip-group",{"v-chip-group--column":e.column},r.value,e.class],style:e.style},{default:function(){var e;return[null===(e=n.default)||void 0===e?void 0:e.call(n,{isSelected:o,select:a,next:l,prev:u,selected:s.value})]}})}),{}}}),iC=eU((0,p._)({activeClass:String,appendAvatar:String,appendIcon:eH,closable:Boolean,closeIcon:{type:eH,default:"$delete"},closeLabel:{type:String,default:"$vuetify.close"},draggable:Boolean,filter:Boolean,filterIcon:{type:String,default:"$complete"},label:Boolean,link:{type:Boolean,default:void 0},pill:Boolean,prependAvatar:String,prependIcon:eH,ripple:{type:[Boolean,Object],default:!0},text:String,modelValue:{type:Boolean,default:!0},onClick:eh(),onClickOnce:eh()},nz(),tX(),n4(),nK(),ri(),nG(),rF(),rf(),t7({tag:"span"}),tT(),n9({variant:"tonal"})),"VChip"),iE=eY()({name:"VChip",directives:{Ripple:r4},props:iC(),emits:{"click:close":function(e){return!0},"update:modelValue":function(e){return!0},"group:selected":function(e){return!0},click:function(e){return!0}},setup:function(e,t){var n=function(e){var t;o("click",e),C.value&&(null===(t=x.navigate)||void 0===t||t.call(x,e),null==w||w.toggle())},r=function(e){("Enter"===e.key||" "===e.key)&&(e.preventDefault(),n(e))},i=t.attrs,o=t.emit,a=t.slots,l=e9().t,u=nY(e).borderClasses,s=re(e),c=s.colorClasses,d=s.colorStyles,f=s.variantClasses,h=n6(e).densityClasses,p=nX(e).elevationClasses,g=n$(e).roundedClasses,y=rh(e).sizeClasses,_=tD(e).themeClasses,b=e1(e,"modelValue"),w=ro(e,ix,!1),x=rj(e,i),k=(0,S.computed)(function(){return!1!==e.link&&x.isLink.value}),C=(0,S.computed)(function(){return!e.disabled&&!1!==e.link&&(!!w||e.link||x.isClickable.value)}),E=(0,S.computed)(function(){return{"aria-label":l(e.closeLabel),onClick:function(e){e.stopPropagation(),b.value=!1,o("click:close",e)}}});return function(){var t,i=x.isLink.value?"a":e.tag,o=!!(e.appendIcon||e.appendAvatar),l=!!(o||a.append),s=!!(a.close||e.closable),V=!!(a.filter||e.filter)&&w,N=!!(e.prependIcon||e.prependAvatar),T=!!(N||a.prepend),A=!w||w.isSelected.value;return b.value&&(0,S.withDirectives)((0,S.createVNode)(i,{class:["v-chip",{"v-chip--disabled":e.disabled,"v-chip--label":e.label,"v-chip--link":C.value,"v-chip--filter":V,"v-chip--pill":e.pill},_.value,u.value,A?c.value:void 0,h.value,p.value,g.value,y.value,f.value,null==w?void 0:w.selectedClass.value,e.class],style:[A?d.value:void 0,e.style],disabled:e.disabled||void 0,draggable:e.draggable,href:x.href.value,tabindex:C.value?0:void 0,onClick:n,onKeydown:C.value&&!k.value&&r},{default:function(){var n;return[n7(C.value,"v-chip"),V&&(0,S.createVNode)(nT,{key:"filter"},{default:function(){return[(0,S.withDirectives)((0,S.createVNode)("div",{class:"v-chip__filter"},[a.filter?(0,S.createVNode)(nD,{key:"filter-defaults",disabled:!e.filterIcon,defaults:{VIcon:{icon:e.filterIcon}}},a.filter):(0,S.createVNode)(rp,{key:"filter-icon",icon:e.filterIcon},null)]),[[m.vShow,w.isSelected.value]])]}}),T&&(0,S.createVNode)("div",{key:"prepend",class:"v-chip__prepend"},[a.prepend?(0,S.createVNode)(nD,{key:"prepend-defaults",disabled:!N,defaults:{VAvatar:{image:e.prependAvatar,start:!0},VIcon:{icon:e.prependIcon,start:!0}}},a.prepend):(0,S.createVNode)(S.Fragment,null,[e.prependIcon&&(0,S.createVNode)(rp,{key:"prepend-icon",icon:e.prependIcon,start:!0},null),e.prependAvatar&&(0,S.createVNode)(iw,{key:"prepend-avatar",image:e.prependAvatar,start:!0},null)])]),(0,S.createVNode)("div",{class:"v-chip__content"},[null!==(t=null===(n=a.default)||void 0===n?void 0:n.call(a,{isSelected:null==w?void 0:w.isSelected.value,selectedClass:null==w?void 0:w.selectedClass.value,select:null==w?void 0:w.select,toggle:null==w?void 0:w.toggle,value:null==w?void 0:w.value.value,disabled:e.disabled}))&&void 0!==t?t:e.text]),l&&(0,S.createVNode)("div",{key:"append",class:"v-chip__append"},[a.append?(0,S.createVNode)(nD,{key:"append-defaults",disabled:!o,defaults:{VAvatar:{end:!0,image:e.appendAvatar},VIcon:{end:!0,icon:e.appendIcon}}},a.append):(0,S.createVNode)(S.Fragment,null,[e.appendIcon&&(0,S.createVNode)(rp,{key:"append-icon",end:!0,icon:e.appendIcon},null),e.appendAvatar&&(0,S.createVNode)(iw,{key:"append-avatar",end:!0,image:e.appendAvatar},null)])]),s&&(0,S.createVNode)("div",(0,S.mergeProps)({key:"close",class:"v-chip__close"},E.value),[a.close?(0,S.createVNode)(nD,{key:"close-defaults",defaults:{VIcon:{icon:e.closeIcon,size:"x-small"}}},a.close):(0,S.createVNode)(rp,{key:"close-icon",icon:e.closeIcon,size:"x-small"},null)])]}}),[[(0,S.resolveDirective)("ripple"),C.value&&e.ripple,null]])}}}),p=f("a42Vg"),b=f("9zFRg");f("7DTtY");var S=f("5BxzC"),k=f("bNhjt"),p=f("a42Vg"),b=f("9zFRg"),x=f("6wEIk");f("7DTtY");var S=f("5BxzC"),p=f("a42Vg");f("7DTtY");var k=f("bNhjt"),S=f("5BxzC"),m=f("jo4gN");// Utilities
+e.addEventListener("dragstart",rJ,{passive:!0})}else!a&&n&&r4(e)}function r4(e){e.removeEventListener("mousedown",rG),e.removeEventListener("touchstart",rG),e.removeEventListener("touchend",rJ),e.removeEventListener("touchmove",rZ),e.removeEventListener("touchcancel",rJ),e.removeEventListener("mouseup",rJ),e.removeEventListener("mouseleave",rJ),e.removeEventListener("keydown",r0),e.removeEventListener("keyup",r1),e.removeEventListener("dragstart",rJ),e.removeEventListener("blur",r2)}var r5={mounted:function(e,t){r3(e,t,!1)},unmounted:function(e){delete e._ripple,r4(e)},updated:function(e,t){if(t.value!==t.oldValue){var n=rX(t.oldValue);r3(e,t,n)}}},r6=eU((0,p._)({active:{type:Boolean,default:void 0},symbol:{type:null,default:ru},flat:Boolean,icon:[Boolean,String,Function,Object],prependIcon:eH,appendIcon:eH,block:Boolean,stacked:Boolean,ripple:{type:[Boolean,Object],default:!0},text:String},nz(),tX(),n5(),nR(),nK(),ri(),rR(),rN(),rP(),nG(),rF(),rf(),t7({tag:"button"}),tT(),n9({variant:"elevated"})),"VBtn"),r8=eY()({name:"VBtn",directives:{Ripple:r5},props:r6(),emits:{"group:selected":function(e){return!0}},setup:function(e,t){var n,r=function(e){var t;V.value||C.isLink.value&&(e.metaKey||e.ctrlKey||e.shiftKey||0!==e.button||"_blank"===i.target)||(null===(t=C.navigate)||void 0===t||t.call(C,e),null==k||k.toggle())},i=t.attrs,o=t.slots,a=tD(e).themeClasses,l=nY(e).borderClasses,u=re(e),s=u.colorClasses,c=u.colorStyles,d=u.variantClasses,f=n6(e).densityClasses,h=nO(e).dimensionStyles,p=nX(e).elevationClasses,g=rO(e).loaderClasses,m=rT(e).locationStyles,y=rM(e).positionClasses,_=n$(e).roundedClasses,b=rh(e),w=b.sizeClasses,x=b.sizeStyles,k=ro(e,e.symbol,!1),C=rj(e,i),E=(0,S.computed)(function(){var t;return void 0!==e.active?e.active:C.isLink.value?null===(t=C.isActive)||void 0===t?void 0:t.value:null==k?void 0:k.isSelected.value}),V=(0,S.computed)(function(){return(null==k?void 0:k.disabled.value)||e.disabled}),N=(0,S.computed)(function(){return"elevated"===e.variant&&!(e.disabled||e.flat||e.border)}),T=(0,S.computed)(function(){if(void 0!==e.value)return Object(e.value)===e.value?JSON.stringify(e.value,null,0):e.value});return n=null==k?void 0:k.select,(0,S.watch)(function(){var e;return null===(e=C.isActive)||void 0===e?void 0:e.value},function(e){C.isLink.value&&e&&n&&(0,S.nextTick)(function(){n(!0)})},{immediate:!0}),t4(function(){var t,n,i,u,b=C.isLink.value?"a":e.tag,A=!!(e.prependIcon||o.prepend),D=!!(e.appendIcon||o.append),R=!!(e.icon&&!0!==e.icon),O=(null==k?void 0:k.isSelected.value)&&(!C.isLink.value||(null===(t=C.isActive)||void 0===t?void 0:t.value))||!k||(null===(n=C.isActive)||void 0===n?void 0:n.value);return(0,S.withDirectives)((0,S.createVNode)(b,{type:"a"===b?void 0:"button",class:["v-btn",null==k?void 0:k.selectedClass.value,{"v-btn--active":E.value,"v-btn--block":e.block,"v-btn--disabled":V.value,"v-btn--elevated":N.value,"v-btn--flat":e.flat,"v-btn--icon":!!e.icon,"v-btn--loading":e.loading,"v-btn--stacked":e.stacked},a.value,l.value,O?s.value:void 0,f.value,p.value,g.value,y.value,_.value,w.value,d.value,e.class],style:[O?c.value:void 0,h.value,m.value,x.value,e.style],disabled:V.value||void 0,href:C.href.value,onClick:r,value:T.value},{default:function(){var t;return[n7(!0,"v-btn"),!e.icon&&A&&(0,S.createVNode)("span",{key:"prepend",class:"v-btn__prepend"},[o.prepend?(0,S.createVNode)(nD,{key:"prepend-defaults",disabled:!e.prependIcon,defaults:{VIcon:{icon:e.prependIcon}}},o.prepend):(0,S.createVNode)(rp,{key:"prepend-icon",icon:e.prependIcon},null)]),(0,S.createVNode)("span",{class:"v-btn__content","data-no-activator":""},[!o.default&&R?(0,S.createVNode)(rp,{key:"content-icon",icon:e.icon},null):(0,S.createVNode)(nD,{key:"content-defaults",disabled:!R,defaults:{VIcon:{icon:e.icon}}},{default:function(){var t;return[null!==(i=null===(t=o.default)||void 0===t?void 0:t.call(o))&&void 0!==i?i:e.text]}})]),!e.icon&&D&&(0,S.createVNode)("span",{key:"append",class:"v-btn__append"},[o.append?(0,S.createVNode)(nD,{key:"append-defaults",disabled:!e.appendIcon,defaults:{VIcon:{icon:e.appendIcon}}},o.append):(0,S.createVNode)(rp,{key:"append-icon",icon:e.appendIcon},null)]),!!e.loading&&(0,S.createVNode)("span",{key:"loader",class:"v-btn__loader"},[null!==(u=null===(t=o.loader)||void 0===t?void 0:t.call(o))&&void 0!==u?u:(0,S.createVNode)(ry,{color:"boolean"==typeof e.loading?void 0:e.loading,indeterminate:!0,size:"23",width:"2"},null)])]}}),[[(0,S.resolveDirective)("ripple"),!V.value&&e.ripple,null]])}),{}}}),r7=eU((0,p._)({},r6({icon:"$menu",variant:"text"})),"VAppBarNavIcon"),r9=eY()({name:"VAppBarNavIcon",props:r7(),setup:function(e,t){var n=t.slots;return t4(function(){return(0,S.createVNode)(r8,(0,S.mergeProps)(e,{class:["v-app-bar-nav-icon"]}),n)}),{}}});f("7DTtY");var S=f("5BxzC"),ie=eY()({name:"VAppBarTitle",props:t9(),setup:function(e,t){var n=t.slots;return t4(function(){return(0,S.createVNode)(ne,(0,S.mergeProps)(e,{class:"v-app-bar-title"}),n)}),{}}}),it={};t(it,"VAlert",function(){return il}),t(it,"VAlertTitle",function(){return ii});var tG=f("h8xva"),p=f("a42Vg");f("7DTtY");var S=f("5BxzC"),k=f("bNhjt"),p=f("a42Vg");f("7DTtY");var N=f("9Nw75"),S=f("5BxzC");function ir(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"div",n=arguments.length>2?arguments[2]:void 0;return eY()({name:null!=n?n:(0,N.capitalize)((0,N.camelize)(e.replace(/__/g,"-"))),props:(0,p._)({tag:{type:String,default:t}},tX()),setup:function(t,n){var r=n.slots;return function(){var n;return(0,S.h)(t.tag,{class:[e,t.class],style:t.style},null===(n=r.default)||void 0===n?void 0:n.call(r))}}})}var ii=ir("v-alert-title"),io=["success","info","warning","error"],ia=eU((0,p._)({border:{type:[Boolean,String],validator:function(e){return"boolean"==typeof e||["top","end","bottom","start"].includes(e)}},borderColor:String,closable:Boolean,closeIcon:{type:eH,default:"$close"},closeLabel:{type:String,default:"$vuetify.close"},icon:{type:[Boolean,String,Function,Object],default:null},modelValue:{type:Boolean,default:!0},prominent:Boolean,title:String,text:String,type:{type:String,validator:function(e){return io.includes(e)}}},tX(),n5(),nR(),nK(),rN(),rP(),nG(),t7(),tT(),n9({variant:"flat"})),"VAlert"),il=eY()({name:"VAlert",props:ia(),emits:{"click:close":function(e){return!0},"update:modelValue":function(e){return!0}},setup:function(e,t){var n,r=t.emit,i=t.slots,o=e1(e,"modelValue"),a=(0,S.computed)(function(){var t;if(!1!==e.icon)return e.type?null!==(t=e.icon)&&void 0!==t?t:"$".concat(e.type):e.icon}),l=(0,S.computed)(function(){return{color:null!==(n=e.color)&&void 0!==n?n:e.type,variant:e.variant}}),u=tD(e).themeClasses,s=re(l),c=s.colorClasses,d=s.colorStyles,f=s.variantClasses,h=n6(e).densityClasses,p=nO(e).dimensionStyles,g=nX(e).elevationClasses,m=rT(e).locationStyles,y=rM(e).positionClasses,_=n$(e).roundedClasses,b=nq((0,k.toRef)(e,"borderColor")),w=b.textColorClasses,x=b.textColorStyles,C=e9().t,E=(0,S.computed)(function(){return{"aria-label":C(e.closeLabel),onClick:function(e){o.value=!1,r("click:close",e)}}});return function(){var t,n,r=!!(i.prepend||a.value),l=!!(i.title||e.title),s=!!(i.close||e.closable);return o.value&&(0,S.createVNode)(e.tag,{class:["v-alert",e.border&&(0,tG._)({"v-alert--border":!!e.border},"v-alert--border-".concat(!0===e.border?"start":e.border),!0),{"v-alert--prominent":e.prominent},u.value,c.value,h.value,g.value,y.value,_.value,f.value,e.class],style:[d.value,p.value,m.value,e.style],role:"alert"},{default:function(){var o,u;return[n7(!1,"v-alert"),e.border&&(0,S.createVNode)("div",{key:"border",class:["v-alert__border",w.value],style:x.value},null),r&&(0,S.createVNode)("div",{key:"prepend",class:"v-alert__prepend"},[i.prepend?(0,S.createVNode)(nD,{key:"prepend-defaults",disabled:!a.value,defaults:{VIcon:{density:e.density,icon:a.value,size:e.prominent?44:28}}},i.prepend):(0,S.createVNode)(rp,{key:"prepend-icon",density:e.density,icon:a.value,size:e.prominent?44:28},null)]),(0,S.createVNode)("div",{class:"v-alert__content"},[l&&(0,S.createVNode)(ii,{key:"title"},{default:function(){var n;return[null!==(t=null===(n=i.title)||void 0===n?void 0:n.call(i))&&void 0!==t?t:e.title]}}),null!==(n=null===(o=i.text)||void 0===o?void 0:o.call(i))&&void 0!==n?n:e.text,null===(u=i.default)||void 0===u?void 0:u.call(i)]),i.append&&(0,S.createVNode)("div",{key:"append",class:"v-alert__append"},[i.append()]),s&&(0,S.createVNode)("div",{key:"close",class:"v-alert__close"},[i.close?(0,S.createVNode)(nD,{key:"close-defaults",defaults:{VBtn:{icon:e.closeIcon,size:"x-small",variant:"text"}}},{default:function(){var e;return[null===(e=i.close)||void 0===e?void 0:e.call(i,{props:E.value})]}}):(0,S.createVNode)(r8,(0,S.mergeProps)({key:"close-btn",icon:e.closeIcon,size:"x-small",variant:"text"},E.value),null)])]}})}}}),iu={};t(iu,"VAutocomplete",function(){return ad});var p=f("a42Vg"),b=f("9zFRg"),x=f("6wEIk"),V=f("2Yjkq");f("7DTtY");var S=f("5BxzC"),k=f("bNhjt"),p=f("a42Vg");f("7DTtY");var S=f("5BxzC"),p=f("a42Vg"),x=f("6wEIk"),V=f("2Yjkq");f("7DTtY");var S=f("5BxzC"),k=f("bNhjt"),p=f("a42Vg");f("7DTtY");var S=f("5BxzC"),is=eU((0,p._)({text:String,clickable:Boolean},tX(),tT()),"VLabel"),ic=eY()({name:"VLabel",props:is(),setup:function(e,t){var n=t.slots;return t4(function(){var t;return(0,S.createVNode)("label",{class:["v-label",{"v-label--clickable":e.clickable},e.class],style:e.style},[e.text,null===(t=n.default)||void 0===t?void 0:t.call(n)])}),{}}}),tG=f("h8xva"),p=f("a42Vg");f("7DTtY");var S=f("5BxzC"),k=f("bNhjt"),id=Symbol.for("vuetify:selection-control-group"),ih=eU((0,p._)({color:String,disabled:{type:Boolean,default:null},defaultsTarget:String,error:Boolean,id:String,inline:Boolean,falseIcon:eH,trueIcon:eH,ripple:{type:Boolean,default:!0},multiple:{type:Boolean,default:null},name:String,readonly:Boolean,modelValue:null,type:String,valueComparator:{type:Function,default:P}},tX(),n5(),tT()),"SelectionControlGroup"),iv=eU((0,p._)({},ih({defaultsTarget:"VSelectionControl"})),"VSelectionControlGroup"),ip=eY()({name:"VSelectionControlGroup",props:iv(),emits:{"update:modelValue":function(e){return!0}},setup:function(e,t){var n=t.slots,r=e1(e,"modelValue"),i=eC(),o=(0,S.computed)(function(){return e.id||"v-selection-control-group-".concat(i)}),a=(0,S.computed)(function(){return e.name||o.value}),l=new Set;return(0,S.provide)(id,{modelValue:r,forceUpdate:function(){l.forEach(function(e){return e()})},onForceUpdate:function(e){l.add(e),(0,k.onScopeDispose)(function(){l.delete(e)})}}),eN((0,tG._)({},e.defaultsTarget,{color:(0,k.toRef)(e,"color"),disabled:(0,k.toRef)(e,"disabled"),density:(0,k.toRef)(e,"density"),error:(0,k.toRef)(e,"error"),inline:(0,k.toRef)(e,"inline"),modelValue:r,multiple:(0,S.computed)(function(){return!!e.multiple||null==e.multiple&&Array.isArray(r.value)}),name:a,falseIcon:(0,k.toRef)(e,"falseIcon"),trueIcon:(0,k.toRef)(e,"trueIcon"),readonly:(0,k.toRef)(e,"readonly"),ripple:(0,k.toRef)(e,"ripple"),type:(0,k.toRef)(e,"type"),valueComparator:(0,k.toRef)(e,"valueComparator")})),t4(function(){var t;return(0,S.createVNode)("div",{class:["v-selection-control-group",{"v-selection-control-group--inline":e.inline},e.class],style:e.style,role:"radio"===e.type?"radiogroup":void 0},[null===(t=n.default)||void 0===t?void 0:t.call(n)])}),{}}}),ig=eU((0,p._)({label:String,trueValue:null,falseValue:null,value:null},tX(),ih()),"VSelectionControl"),im=eY()({name:"VSelectionControl",directives:{Ripple:r5},inheritAttrs:!1,props:ig(),emits:{"update:modelValue":function(e){return!0}},setup:function(e,t){var n,r,i,o,a,l,u,s,c,d,f,h,p,g,m=function(e){L.value=!0,!1!==eb(e.target,":focus-visible")&&(j.value=!0)},y=function(){L.value=!1,j.value=!1},_=function(t){e.readonly&&E&&(0,S.nextTick)(function(){return E.forceUpdate()}),A.value=t.target.checked},b=t.attrs,w=t.slots,C=(n=(0,S.inject)(id,void 0),r=n6(e).densityClasses,i=e1(e,"modelValue"),o=(0,S.computed)(function(){return void 0!==e.trueValue?e.trueValue:void 0===e.value||e.value}),a=(0,S.computed)(function(){return void 0!==e.falseValue&&e.falseValue}),l=(0,S.computed)(function(){return!!e.multiple||null==e.multiple&&Array.isArray(i.value)}),u=(0,S.computed)({get:function(){var t=n?n.modelValue.value:i.value;return l.value?t.some(function(t){return e.valueComparator(t,o.value)}):e.valueComparator(t,o.value)},set:function(t){if(!e.readonly){var r=t?o.value:a.value,u=r;l.value&&(u=t?(0,V._)(Q(i.value)).concat([r]):Q(i.value).filter(function(t){return!e.valueComparator(t,o.value)})),n?n.modelValue.value=u:i.value=u}}}),c=(s=nq((0,S.computed)(function(){return!u.value||e.error||e.disabled?void 0:e.color}))).textColorClasses,d=s.textColorStyles,h=(f=nW((0,S.computed)(function(){return!u.value||e.error||e.disabled?void 0:e.color}))).backgroundColorClasses,p=f.backgroundColorStyles,g=(0,S.computed)(function(){return u.value?e.trueIcon:e.falseIcon}),{group:n,densityClasses:r,trueValue:o,falseValue:a,model:u,textColorClasses:c,textColorStyles:d,backgroundColorClasses:h,backgroundColorStyles:p,icon:g}),E=C.group,N=C.densityClasses,T=C.icon,A=C.model,D=C.textColorClasses,R=C.textColorStyles,O=C.backgroundColorClasses,I=C.backgroundColorStyles,B=C.trueValue,P=eC(),M=(0,S.computed)(function(){return e.id||"input-".concat(P)}),L=(0,k.shallowRef)(!1),j=(0,k.shallowRef)(!1),F=(0,k.ref)();return null==E||E.onForceUpdate(function(){F.value&&(F.value.checked=A.value)}),t4(function(){var t,n,r,i=w.label?w.label({label:e.label,props:{for:M.value}}):e.label,o=(0,x._)(Z(b),2),a=o[0],l=o[1],u=(0,S.createVNode)("input",(0,S.mergeProps)({ref:F,checked:A.value,disabled:!!(e.readonly||e.disabled),id:M.value,onBlur:y,onFocus:m,onInput:_,"aria-disabled":!!(e.readonly||e.disabled),type:e.type,value:B.value,name:e.name,"aria-checked":"checkbox"===e.type?A.value:void 0},l),null);return(0,S.createVNode)("div",(0,S.mergeProps)({class:["v-selection-control",{"v-selection-control--dirty":A.value,"v-selection-control--disabled":e.disabled,"v-selection-control--error":e.error,"v-selection-control--focused":L.value,"v-selection-control--focus-visible":j.value,"v-selection-control--inline":e.inline},N.value,e.class]},a,{style:e.style}),[(0,S.createVNode)("div",{class:["v-selection-control__wrapper",D.value],style:R.value},[null===(t=w.default)||void 0===t?void 0:t.call(w,{backgroundColorClasses:O,backgroundColorStyles:I}),(0,S.withDirectives)((0,S.createVNode)("div",{class:["v-selection-control__input"]},[null!==(r=null===(n=w.input)||void 0===n?void 0:n.call(w,{model:A,textColorClasses:D,textColorStyles:R,backgroundColorClasses:O,backgroundColorStyles:I,inputNode:u,icon:T.value,props:{onFocus:m,onBlur:y,id:M.value}}))&&void 0!==r?r:(0,S.createVNode)(S.Fragment,null,[T.value&&(0,S.createVNode)(rp,{key:"icon",icon:T.value},null),u])]),[[(0,S.resolveDirective)("ripple"),e.ripple&&[!e.disabled&&!e.readonly,null,["center","circle"]]]])]),i&&(0,S.createVNode)(ic,{for:M.value,clickable:!0,onClick:function(e){return e.stopPropagation()}},{default:function(){return[i]}})])}),{isFocused:L,input:F}}}),iy=eU((0,p._)({indeterminate:Boolean,indeterminateIcon:{type:eH,default:"$checkboxIndeterminate"}},ig({falseIcon:"$checkboxOff",trueIcon:"$checkboxOn"})),"VCheckboxBtn"),i_=eY()({name:"VCheckboxBtn",props:iy(),emits:{"update:modelValue":function(e){return!0},"update:indeterminate":function(e){return!0}},setup:function(e,t){var n=function(e){i.value&&(i.value=!1)},r=t.slots,i=e1(e,"indeterminate"),o=e1(e,"modelValue"),a=(0,S.computed)(function(){return i.value?e.indeterminateIcon:e.falseIcon}),l=(0,S.computed)(function(){return i.value?e.indeterminateIcon:e.trueIcon});return t4(function(){var t=X(im.filterProps(e)[0],["modelValue"]);return(0,S.createVNode)(im,(0,S.mergeProps)(t,{modelValue:o.value,"onUpdate:modelValue":[function(e){return o.value=e},n],class:["v-checkbox-btn",e.class],style:e.style,type:"checkbox",falseIcon:a.value,trueIcon:l.value,"aria-checked":i.value?"mixed":void 0}),r)}),{}}}),p=f("a42Vg");f("7DTtY");var S=f("5BxzC"),m=f("jo4gN"),p=f("a42Vg");f("7DTtY");var S=f("5BxzC"),ib=eU((0,p._)({start:Boolean,end:Boolean,icon:eH,image:String},tX(),n5(),nG(),rf(),t7(),tT(),n9({variant:"flat"})),"VAvatar"),iw=eY()({name:"VAvatar",props:ib(),setup:function(e,t){var n=t.slots,r=tD(e).themeClasses,i=re(e),o=i.colorClasses,a=i.colorStyles,l=i.variantClasses,u=n6(e).densityClasses,s=n$(e).roundedClasses,c=rh(e),d=c.sizeClasses,f=c.sizeStyles;return t4(function(){return(0,S.createVNode)(e.tag,{class:["v-avatar",{"v-avatar--start":e.start,"v-avatar--end":e.end},r.value,o.value,u.value,s.value,d.value,l.value,e.class],style:[a.value,f.value,e.style]},{default:function(){var t;return[e.image?(0,S.createVNode)(nU,{key:"image",src:e.image,alt:"",cover:!0},null):e.icon?(0,S.createVNode)(rp,{key:"icon",icon:e.icon},null):null===(t=n.default)||void 0===t?void 0:t.call(n),n7(!1,"v-avatar")]}})}),{}}}),p=f("a42Vg");f("7DTtY");var k=f("bNhjt"),S=f("5BxzC"),ix=Symbol.for("vuetify:v-chip-group"),ik=eU((0,p._)({column:Boolean,filter:Boolean,valueComparator:{type:Function,default:P}},tX(),rr({selectedClass:"v-chip--selected"}),t7(),tT(),n9({variant:"tonal"})),"VChipGroup"),iS=eY()({name:"VChipGroup",props:ik(),emits:{"update:modelValue":function(e){return!0}},setup:function(e,t){var n=t.slots,r=tD(e).themeClasses,i=ra(e,ix),o=i.isSelected,a=i.select,l=i.next,u=i.prev,s=i.selected;return eN({VChip:{color:(0,k.toRef)(e,"color"),disabled:(0,k.toRef)(e,"disabled"),filter:(0,k.toRef)(e,"filter"),variant:(0,k.toRef)(e,"variant")}}),t4(function(){return(0,S.createVNode)(e.tag,{class:["v-chip-group",{"v-chip-group--column":e.column},r.value,e.class],style:e.style},{default:function(){var e;return[null===(e=n.default)||void 0===e?void 0:e.call(n,{isSelected:o,select:a,next:l,prev:u,selected:s.value})]}})}),{}}}),iC=eU((0,p._)({activeClass:String,appendAvatar:String,appendIcon:eH,closable:Boolean,closeIcon:{type:eH,default:"$delete"},closeLabel:{type:String,default:"$vuetify.close"},draggable:Boolean,filter:Boolean,filterIcon:{type:String,default:"$complete"},label:Boolean,link:{type:Boolean,default:void 0},pill:Boolean,prependAvatar:String,prependIcon:eH,ripple:{type:[Boolean,Object],default:!0},text:String,modelValue:{type:Boolean,default:!0},onClick:eh(),onClickOnce:eh()},nz(),tX(),n5(),nK(),ri(),nG(),rF(),rf(),t7({tag:"span"}),tT(),n9({variant:"tonal"})),"VChip"),iE=eY()({name:"VChip",directives:{Ripple:r5},props:iC(),emits:{"click:close":function(e){return!0},"update:modelValue":function(e){return!0},"group:selected":function(e){return!0},click:function(e){return!0}},setup:function(e,t){var n=function(e){var t;o("click",e),C.value&&(null===(t=x.navigate)||void 0===t||t.call(x,e),null==w||w.toggle())},r=function(e){("Enter"===e.key||" "===e.key)&&(e.preventDefault(),n(e))},i=t.attrs,o=t.emit,a=t.slots,l=e9().t,u=nY(e).borderClasses,s=re(e),c=s.colorClasses,d=s.colorStyles,f=s.variantClasses,h=n6(e).densityClasses,p=nX(e).elevationClasses,g=n$(e).roundedClasses,y=rh(e).sizeClasses,_=tD(e).themeClasses,b=e1(e,"modelValue"),w=ro(e,ix,!1),x=rj(e,i),k=(0,S.computed)(function(){return!1!==e.link&&x.isLink.value}),C=(0,S.computed)(function(){return!e.disabled&&!1!==e.link&&(!!w||e.link||x.isClickable.value)}),E=(0,S.computed)(function(){return{"aria-label":l(e.closeLabel),onClick:function(e){e.stopPropagation(),b.value=!1,o("click:close",e)}}});return function(){var t,i=x.isLink.value?"a":e.tag,o=!!(e.appendIcon||e.appendAvatar),l=!!(o||a.append),s=!!(a.close||e.closable),V=!!(a.filter||e.filter)&&w,N=!!(e.prependIcon||e.prependAvatar),T=!!(N||a.prepend),A=!w||w.isSelected.value;return b.value&&(0,S.withDirectives)((0,S.createVNode)(i,{class:["v-chip",{"v-chip--disabled":e.disabled,"v-chip--label":e.label,"v-chip--link":C.value,"v-chip--filter":V,"v-chip--pill":e.pill},_.value,u.value,A?c.value:void 0,h.value,p.value,g.value,y.value,f.value,null==w?void 0:w.selectedClass.value,e.class],style:[A?d.value:void 0,e.style],disabled:e.disabled||void 0,draggable:e.draggable,href:x.href.value,tabindex:C.value?0:void 0,onClick:n,onKeydown:C.value&&!k.value&&r},{default:function(){var n;return[n7(C.value,"v-chip"),V&&(0,S.createVNode)(nT,{key:"filter"},{default:function(){return[(0,S.withDirectives)((0,S.createVNode)("div",{class:"v-chip__filter"},[a.filter?(0,S.createVNode)(nD,{key:"filter-defaults",disabled:!e.filterIcon,defaults:{VIcon:{icon:e.filterIcon}}},a.filter):(0,S.createVNode)(rp,{key:"filter-icon",icon:e.filterIcon},null)]),[[m.vShow,w.isSelected.value]])]}}),T&&(0,S.createVNode)("div",{key:"prepend",class:"v-chip__prepend"},[a.prepend?(0,S.createVNode)(nD,{key:"prepend-defaults",disabled:!N,defaults:{VAvatar:{image:e.prependAvatar,start:!0},VIcon:{icon:e.prependIcon,start:!0}}},a.prepend):(0,S.createVNode)(S.Fragment,null,[e.prependIcon&&(0,S.createVNode)(rp,{key:"prepend-icon",icon:e.prependIcon,start:!0},null),e.prependAvatar&&(0,S.createVNode)(iw,{key:"prepend-avatar",image:e.prependAvatar,start:!0},null)])]),(0,S.createVNode)("div",{class:"v-chip__content"},[null!==(t=null===(n=a.default)||void 0===n?void 0:n.call(a,{isSelected:null==w?void 0:w.isSelected.value,selectedClass:null==w?void 0:w.selectedClass.value,select:null==w?void 0:w.select,toggle:null==w?void 0:w.toggle,value:null==w?void 0:w.value.value,disabled:e.disabled}))&&void 0!==t?t:e.text]),l&&(0,S.createVNode)("div",{key:"append",class:"v-chip__append"},[a.append?(0,S.createVNode)(nD,{key:"append-defaults",disabled:!o,defaults:{VAvatar:{end:!0,image:e.appendAvatar},VIcon:{end:!0,icon:e.appendIcon}}},a.append):(0,S.createVNode)(S.Fragment,null,[e.appendIcon&&(0,S.createVNode)(rp,{key:"append-icon",end:!0,icon:e.appendIcon},null),e.appendAvatar&&(0,S.createVNode)(iw,{key:"append-avatar",end:!0,image:e.appendAvatar},null)])]),s&&(0,S.createVNode)("div",(0,S.mergeProps)({key:"close",class:"v-chip__close"},E.value),[a.close?(0,S.createVNode)(nD,{key:"close-defaults",defaults:{VIcon:{icon:e.closeIcon,size:"x-small"}}},a.close):(0,S.createVNode)(rp,{key:"close-icon",icon:e.closeIcon,size:"x-small"},null)])]}}),[[(0,S.resolveDirective)("ripple"),C.value&&e.ripple,null]])}}}),p=f("a42Vg"),b=f("9zFRg");f("7DTtY");var S=f("5BxzC"),k=f("bNhjt"),p=f("a42Vg"),b=f("9zFRg"),x=f("6wEIk");f("7DTtY");var S=f("5BxzC"),p=f("a42Vg");f("7DTtY");var k=f("bNhjt"),S=f("5BxzC"),m=f("jo4gN");// Utilities
f("7DTtY");var S=f("5BxzC"),k=f("bNhjt");Symbol.for("vuetify:depth");var iV=Symbol.for("vuetify:list");function iN(){var e=(0,S.inject)(iV,{hasPrepend:(0,k.shallowRef)(!1),updateHasPrepend:function(){return null}}),t={hasPrepend:(0,k.shallowRef)(!1),updateHasPrepend:function(e){e&&(t.hasPrepend.value=e)}};return(0,S.provide)(iV,t),e}function iT(){return(0,S.inject)(iV,null)}// Composables
var p=f("a42Vg"),b=f("9zFRg"),x=f("6wEIk"),V=f("2Yjkq");f("7DTtY");var k=f("bNhjt"),S=f("5BxzC"),iA={open:function(e){var t=e.id,n=e.value,r=e.opened,i=e.parents;if(!n)return r.delete(t),r;var o=new Set;o.add(t);for(var a=i.get(t);null!=a;)o.add(a),a=i.get(a);return o},select:function(){return null}},iD={open:function(e){var t=e.id,n=e.value,r=e.opened,i=e.parents;if(n){var o=i.get(t);for(r.add(t);null!=o&&o!==t;)r.add(o),o=i.get(o)}else r.delete(t);return r},select:function(){return null}},iR={open:iD.open,select:function(e){var t=e.id,n=e.value,r=e.opened,i=e.parents;if(!n)return r;for(var o=[],a=i.get(t);null!=a;)o.push(a),a=i.get(a);return new Set(o)}},p=f("a42Vg"),b=f("9zFRg"),x=f("6wEIk"),V=f("2Yjkq");f("7DTtY");var k=f("bNhjt"),iO=function(e){var t={select:function(t){var n=t.id,r=t.value,i=t.selected;// When mandatory and we're trying to deselect when id
// is the only currently selected item then do nothing
if(n=(0,k.toRaw)(n),e&&!r){var o=Array.from(i.entries()).reduce(function(e,t){var n=(0,x._)(t,2),r=n[0];return"on"===n[1]?(0,V._)(e).concat([r]):e},[]);if(1===o.length&&o[0]===n)return i}return i.set(n,r?"on":"off"),i},in:function(e,n,r){var i=new Map,o=!0,a=!1,l=void 0;try{for(var u,s=(e||[])[Symbol.iterator]();!(o=(u=s.next()).done);o=!0){var c=u.value;i=t.select({id:c,value:!0,selected:new Map(i),children:n,parents:r})}}catch(e){a=!0,l=e}finally{try{o||null==s.return||s.return()}finally{if(a)throw l}}return i},out:function(e){var t=[],n=!0,r=!1,i=void 0;try{for(var o,a=e.entries()[Symbol.iterator]();!(n=(o=a.next()).done);n=!0){var l=(0,x._)(o.value,2),u=l[0],s=l[1];"on"===s&&t.push(u)}}catch(e){r=!0,i=e}finally{try{n||null==a.return||a.return()}finally{if(r)throw i}}return t}};return t},iI=function(e){var t=iO(e);return{select:function(e){var n=e.selected,r=e.id,i=w(e,["selected","id"]);r=(0,k.toRaw)(r);var o=n.has(r)?new Map([[r,n.get(r)]]):new Map;return t.select((0,b._)((0,p._)({},i),{id:r,selected:o}))},in:function(e,n,r){var i=new Map;return(null==e?void 0:e.length)&&(i=t.in(e.slice(0,1),n,r)),i},out:function(e,n,r){return t.out(e,n,r)}}},iB=function(e){var t=iO(e);return{select:function(e){var n=e.id,r=e.selected,i=e.children,o=w(e,["id","selected","children"]);return(n=(0,k.toRaw)(n),i.has(n))?r:t.select((0,p._)({id:n,selected:r,children:i},o))},in:t.in,out:t.out}},iP=function(e){var t=iI(e);return{select:function(e){var n=e.id,r=e.selected,i=e.children,o=w(e,["id","selected","children"]);return(n=(0,k.toRaw)(n),i.has(n))?r:t.select((0,p._)({id:n,selected:r,children:i},o))},in:t.in,out:t.out}},iM=function(e){var t={select:function(t){var n=t.id,r=t.value,i=t.selected,o=t.children,a=t.parents;n=(0,k.toRaw)(n);for(var l=new Map(i),u=[n];u.length;){var s=u.shift();i.set(s,r?"on":"off"),o.has(s)&&u.push.apply(u,(0,V._)(o.get(s)))}for(var c=a.get(n);c;){var d=o.get(c),f=d.every(function(e){return"on"===i.get(e)}),h=d.every(function(e){return!i.has(e)||"off"===i.get(e)});i.set(c,f?"on":h?"off":"indeterminate"),c=a.get(c)}return(// If mandatory and planned deselect results in no selected
// items then we can't do it, so return original state
-e&&!r&&0===Array.from(i.entries()).reduce(function(e,t){var n=(0,x._)(t,2),r=n[0];return"on"===n[1]?(0,V._)(e).concat([r]):e},[]).length?l:i)},in:function(e,n,r){var i=new Map,o=!0,a=!1,l=void 0;try{for(var u,s=(e||[])[Symbol.iterator]();!(o=(u=s.next()).done);o=!0){var c=u.value;i=t.select({id:c,value:!0,selected:new Map(i),children:n,parents:r})}}catch(e){a=!0,l=e}finally{try{o||null==s.return||s.return()}finally{if(a)throw l}}return i},out:function(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,l=e.entries()[Symbol.iterator]();!(r=(a=l.next()).done);r=!0){var u=(0,x._)(a.value,2),s=u[0],c=u[1];"on"!==c||t.has(s)||n.push(s)}}catch(e){i=!0,o=e}finally{try{r||null==l.return||l.return()}finally{if(i)throw o}}return n}};return t},iL=Symbol.for("vuetify:nested"),ij={id:(0,k.shallowRef)(),root:{register:function(){return null},unregister:function(){return null},parents:(0,k.ref)(new Map),children:(0,k.ref)(new Map),open:function(){return null},openOnSelect:function(){return null},select:function(){return null},opened:(0,k.ref)(new Set),selected:(0,k.ref)(new Map),selectedValues:(0,k.ref)([])}},iF=eU({selectStrategy:[String,Function],openStrategy:[String,Object],opened:Array,selected:Array,mandatory:Boolean},"nested"),iU=function(e){var t=function(e){for(var t=[],n=e;null!=n;)t.unshift(n),n=i.value.get(n);return t},n=!1,r=(0,k.ref)(new Map),i=(0,k.ref)(new Map),o=e1(e,"opened",e.opened,function(e){return new Set(e)},function(e){return(0,V._)(e.values())}),a=(0,S.computed)(function(){if("object"==typeof e.selectStrategy)return e.selectStrategy;switch(e.selectStrategy){case"single-leaf":return iP(e.mandatory);case"leaf":return iB(e.mandatory);case"independent":return iO(e.mandatory);case"single-independent":return iI(e.mandatory);default:return iM(e.mandatory)}}),l=(0,S.computed)(function(){if("object"==typeof e.openStrategy)return e.openStrategy;switch(e.openStrategy){case"list":return iR;case"single":return iA;default:return iD}}),u=e1(e,"selected",e.selected,function(e){return a.value.in(e,r.value,i.value)},function(e){return a.value.out(e,r.value,i.value)});(0,S.onBeforeUnmount)(function(){n=!0});var s=ew("nested"),c={id:(0,k.shallowRef)(),root:{opened:o,selected:u,selectedValues:(0,S.computed)(function(){var e=[],t=!0,n=!1,r=void 0;try{for(var i,o=u.value.entries()[Symbol.iterator]();!(t=(i=o.next()).done);t=!0){var a=(0,x._)(i.value,2),l=a[0],s=a[1];"on"===s&&e.push(l)}}catch(e){n=!0,r=e}finally{try{t||null==o.return||o.return()}finally{if(n)throw r}}return e}),register:function(e,t,n){t&&e!==t&&i.value.set(e,t),n&&r.value.set(e,[]),null!=t&&r.value.set(t,(0,V._)(r.value.get(t)||[]).concat([e]))},unregister:function(e){if(!n){r.value.delete(e);var t=i.value.get(e);if(t){var a,l=null!==(a=r.value.get(t))&&void 0!==a?a:[];r.value.set(t,l.filter(function(t){return t!==e}))}i.value.delete(e),o.value.delete(e)}},open:function(e,n,a){s.emit("click:open",{id:e,value:n,path:t(e),event:a});var u=l.value.open({id:e,value:n,opened:new Set(o.value),children:r.value,parents:i.value,event:a});u&&(o.value=u)},openOnSelect:function(e,t,n){var a=l.value.select({id:e,value:t,selected:new Map(u.value),opened:new Set(o.value),children:r.value,parents:i.value,event:n});a&&(o.value=a)},select:function(e,n,o){s.emit("click:select",{id:e,value:n,path:t(e),event:o});var l=a.value.select({id:e,value:n,selected:new Map(u.value),children:r.value,parents:i.value,event:o});l&&(u.value=l),c.root.openOnSelect(e,n,o)},children:r,parents:i}};return(0,S.provide)(iL,c),c.root},iz=function(e,t){var n=(0,S.inject)(iL,ij),r=Symbol(eC()),i=(0,S.computed)(function(){return void 0!==e.value?e.value:r}),o=(0,b._)((0,p._)({},n),{id:i,open:function(e,t){return n.root.open(i.value,e,t)},openOnSelect:function(e,t){return n.root.openOnSelect(i.value,e,t)},isOpen:(0,S.computed)(function(){return n.root.opened.value.has(i.value)}),parent:(0,S.computed)(function(){return n.root.parents.value.get(i.value)}),select:function(e,t){return n.root.select(i.value,e,t)},isSelected:(0,S.computed)(function(){return"on"===n.root.selected.value.get((0,k.toRaw)(i.value))}),isIndeterminate:(0,S.computed)(function(){return"indeterminate"===n.root.selected.value.get(i.value)}),isLeaf:(0,S.computed)(function(){return!n.root.children.value.get(i.value)}),isGroupActivator:n.isGroupActivator});return n.isGroupActivator||n.root.register(i.value,n.id.value,t),(0,S.onBeforeUnmount)(function(){n.isGroupActivator||n.root.unregister(i.value)}),t&&(0,S.provide)(iL,o),o},iY=function(){var e=(0,S.inject)(iL,ij);(0,S.provide)(iL,(0,b._)((0,p._)({},e),{isGroupActivator:!0}))},iH=ez({name:"VListGroupActivator",setup:function(e,t){var n=t.slots;return iY(),function(){var e;return null===(e=n.default)||void 0===e?void 0:e.call(n)}}}),iq=eU((0,p._)({/* @deprecated */activeColor:String,baseColor:String,color:String,collapseIcon:{type:eH,default:"$collapse"},expandIcon:{type:eH,default:"$expand"},prependIcon:eH,appendIcon:eH,fluid:Boolean,subgroup:Boolean,title:String,value:null},tX(),t7()),"VListGroup"),iW=eY()({name:"VListGroup",props:iq(),setup:function(e,t){var n=function(e){a(!o.value,e)},r=t.slots,i=iz((0,k.toRef)(e,"value"),!0),o=i.isOpen,a=i.open,l=i.id,u=(0,S.computed)(function(){return"v-list-group--id-".concat(String(l.value))}),s=iT(),c=n1().isBooted,d=(0,S.computed)(function(){return{onClick:n,class:"v-list-group__header",id:u.value}}),f=(0,S.computed)(function(){return o.value?e.collapseIcon:e.expandIcon}),h=(0,S.computed)(function(){return{VListItem:{active:o.value,activeColor:e.activeColor,baseColor:e.baseColor,color:e.color,prependIcon:e.prependIcon||e.subgroup&&f.value,appendIcon:e.appendIcon||!e.subgroup&&f.value,title:e.title,value:e.value}}});return t5(function(){return(0,S.createVNode)(e.tag,{class:["v-list-group",{"v-list-group--prepend":null==s?void 0:s.hasPrepend.value,"v-list-group--fluid":e.fluid,"v-list-group--subgroup":e.subgroup,"v-list-group--open":o.value},e.class],style:e.style},{default:function(){return[r.activator&&(0,S.createVNode)(nD,{defaults:h.value},{default:function(){return[(0,S.createVNode)(iH,null,{default:function(){return[r.activator({props:d.value,isOpen:o.value})]}})]}}),(0,S.createVNode)(nM,{transition:{component:nN},disabled:!c.value},{default:function(){var e;return[(0,S.withDirectives)((0,S.createVNode)("div",{class:"v-list-group__items",role:"group","aria-labelledby":u.value},[null===(e=r.default)||void 0===e?void 0:e.call(r)]),[[m.vShow,o.value]])]}})]}})}),{}}}),tG=f("h8xva"),p=f("a42Vg");f("7DTtY");var S=f("5BxzC"),iK=ir("v-list-item-subtitle"),iX=ir("v-list-item-title"),iG=eU((0,p._)({active:{type:Boolean,default:void 0},activeClass:String,/* @deprecated */activeColor:String,appendAvatar:String,appendIcon:eH,baseColor:String,disabled:Boolean,lines:String,link:{type:Boolean,default:void 0},nav:Boolean,prependAvatar:String,prependIcon:eH,ripple:{type:[Boolean,Object],default:!0},subtitle:[String,Number,Boolean],title:[String,Number,Boolean],value:null,onClick:eh(),onClickOnce:eh()},nz(),tX(),n4(),nR(),nK(),nG(),rF(),t7(),tT(),n9({variant:"text"})),"VListItem"),i$=eY()({name:"VListItem",directives:{Ripple:r4},props:iG(),emits:{click:function(e){return!0}},setup:function(e,t){var n,r,i=function(t){var n;u("click",t),!p&&x.value&&(null===(n=s.navigate)||void 0===n||n.call(s,t),null!=e.value&&d(!f.value,t))},o=function(e){("Enter"===e.key||" "===e.key)&&(e.preventDefault(),i(e))},a=t.attrs,l=t.slots,u=t.emit,s=rj(e,a),c=iz((0,S.computed)(function(){return void 0===e.value?s.href.value:e.value}),!1),d=c.select,f=c.isSelected,h=c.isIndeterminate,p=c.isGroupActivator,g=c.root,m=c.parent,y=c.openOnSelect,_=iT(),b=(0,S.computed)(function(){var t;return!1!==e.active&&(e.active||(null===(t=s.isActive)||void 0===t?void 0:t.value)||f.value)}),w=(0,S.computed)(function(){return!1!==e.link&&s.isLink.value}),x=(0,S.computed)(function(){return!e.disabled&&!1!==e.link&&(e.link||s.isClickable.value||null!=e.value&&!!_)}),k=(0,S.computed)(function(){return e.rounded||e.nav}),C=(0,S.computed)(function(){return null!==(n=e.color)&&void 0!==n?n:e.activeColor}),E=(0,S.computed)(function(){return{color:b.value&&null!==(r=C.value)&&void 0!==r?r:e.baseColor,variant:e.variant}});(0,S.watch)(function(){var e;return null===(e=s.isActive)||void 0===e?void 0:e.value},function(e){e&&null!=m.value&&g.open(m.value,!0),e&&y(e)},{immediate:!0});var V=tD(e).themeClasses,N=nY(e).borderClasses,T=re(E),A=T.colorClasses,D=T.colorStyles,R=T.variantClasses,O=n6(e).densityClasses,I=nO(e).dimensionStyles,B=nX(e).elevationClasses,P=n$(k).roundedClasses,M=(0,S.computed)(function(){return e.lines?"v-list-item--".concat(e.lines,"-line"):void 0}),L=(0,S.computed)(function(){return{isActive:b.value,select:d,isSelected:f.value,isIndeterminate:h.value}});return t5(function(){var t,n,r,a=w.value?"a":e.tag,u=l.title||e.title,c=l.subtitle||e.subtitle,d=!!(e.appendAvatar||e.appendIcon),f=!!(d||l.append),h=!!(e.prependAvatar||e.prependIcon),p=!!(h||l.prepend);return null==_||_.updateHasPrepend(p),e.activeColor&&(t=Array.isArray(t=["color","base-color"])?t.slice(0,-1).map(function(e){return"'".concat(e,"'")}).join(", ")+" or '".concat(t.at(-1),"'"):"'".concat(t,"'"),(0,S.warn)("[Vuetify UPGRADE] '".concat("active-color","' is deprecated, use ").concat(t," instead."))),(0,S.withDirectives)((0,S.createVNode)(a,{class:["v-list-item",(0,tG._)({"v-list-item--active":b.value,"v-list-item--disabled":e.disabled,"v-list-item--link":x.value,"v-list-item--nav":e.nav,"v-list-item--prepend":!p&&(null==_?void 0:_.hasPrepend.value)},"".concat(e.activeClass),e.activeClass&&b.value),V.value,N.value,A.value,O.value,B.value,M.value,P.value,R.value,e.class],style:[D.value,I.value,e.style],href:s.href.value,tabindex:x.value?_?-2:0:void 0,onClick:i,onKeydown:x.value&&!w.value&&o},{default:function(){var t;return[n7(x.value||b.value,"v-list-item"),p&&(0,S.createVNode)("div",{key:"prepend",class:"v-list-item__prepend"},[l.prepend?(0,S.createVNode)(nD,{key:"prepend-defaults",disabled:!h,defaults:{VAvatar:{density:e.density,image:e.prependAvatar},VIcon:{density:e.density,icon:e.prependIcon},VListItemAction:{start:!0}}},{default:function(){var e;return[null===(e=l.prepend)||void 0===e?void 0:e.call(l,L.value)]}}):(0,S.createVNode)(S.Fragment,null,[e.prependAvatar&&(0,S.createVNode)(iw,{key:"prepend-avatar",density:e.density,image:e.prependAvatar},null),e.prependIcon&&(0,S.createVNode)(rp,{key:"prepend-icon",density:e.density,icon:e.prependIcon},null)]),(0,S.createVNode)("div",{class:"v-list-item__spacer"},null)]),(0,S.createVNode)("div",{class:"v-list-item__content","data-no-activator":""},[u&&(0,S.createVNode)(iX,{key:"title"},{default:function(){var t;return[null!==(n=null===(t=l.title)||void 0===t?void 0:t.call(l,{title:e.title}))&&void 0!==n?n:e.title]}}),c&&(0,S.createVNode)(iK,{key:"subtitle"},{default:function(){var t;return[null!==(r=null===(t=l.subtitle)||void 0===t?void 0:t.call(l,{subtitle:e.subtitle}))&&void 0!==r?r:e.subtitle]}}),null===(t=l.default)||void 0===t?void 0:t.call(l,L.value)]),f&&(0,S.createVNode)("div",{key:"append",class:"v-list-item__append"},[l.append?(0,S.createVNode)(nD,{key:"append-defaults",disabled:!d,defaults:{VAvatar:{density:e.density,image:e.appendAvatar},VIcon:{density:e.density,icon:e.appendIcon},VListItemAction:{end:!0}}},{default:function(){var e;return[null===(e=l.append)||void 0===e?void 0:e.call(l,L.value)]}}):(0,S.createVNode)(S.Fragment,null,[e.appendIcon&&(0,S.createVNode)(rp,{key:"append-icon",density:e.density,icon:e.appendIcon},null),e.appendAvatar&&(0,S.createVNode)(iw,{key:"append-avatar",density:e.density,image:e.appendAvatar},null)]),(0,S.createVNode)("div",{class:"v-list-item__spacer"},null)])]}}),[[(0,S.resolveDirective)("ripple"),x.value&&e.ripple]])}),{}}}),p=f("a42Vg");f("7DTtY");var k=f("bNhjt"),S=f("5BxzC"),iJ=eU((0,p._)({color:String,inset:Boolean,sticky:Boolean,title:String},tX(),t7()),"VListSubheader"),iZ=eY()({name:"VListSubheader",props:iJ(),setup:function(e,t){var n=t.slots,r=nq((0,k.toRef)(e,"color")),i=r.textColorClasses,o=r.textColorStyles;return t5(function(){var t,r=!!(n.default||e.title);return(0,S.createVNode)(e.tag,{class:["v-list-subheader",{"v-list-subheader--inset":e.inset,"v-list-subheader--sticky":e.sticky},i.value,e.class],style:[{textColorStyles:o},e.style]},{default:function(){var i;return[r&&(0,S.createVNode)("div",{class:"v-list-subheader__text"},[null!==(t=null===(i=n.default)||void 0===i?void 0:i.call(n))&&void 0!==t?t:e.title])]}})}),{}}}),p=f("a42Vg");f("7DTtY");var k=f("bNhjt"),S=f("5BxzC"),iQ=eU((0,p._)({color:String,inset:Boolean,length:[Number,String],thickness:[Number,String],vertical:Boolean},tX(),tT()),"VDivider"),i0=eY()({name:"VDivider",props:iQ(),setup:function(e,t){var n=t.attrs,r=tD(e).themeClasses,i=nq((0,k.toRef)(e,"color")),o=i.textColorClasses,a=i.textColorStyles,l=(0,S.computed)(function(){var t={};return e.length&&(t[e.vertical?"maxHeight":"maxWidth"]=F(e.length)),e.thickness&&(t[e.vertical?"borderRightWidth":"borderTopWidth"]=F(e.thickness)),t});return t5(function(){return(0,S.createVNode)("hr",{class:[{"v-divider":!0,"v-divider--inset":e.inset,"v-divider--vertical":e.vertical},r.value,o.value,e.class],style:[l.value,a.value,e.style],"aria-orientation":n.role&&"separator"!==n.role?void 0:e.vertical?"vertical":"horizontal",role:"".concat(n.role||"separator")},null)}),{}}}),i1=eU({items:Array},"VListChildren"),i2=eY()({name:"VListChildren",props:i1(),setup:function(e,t){var n,r=t.slots;return iN(),function(){var t,i;return null!==(n=null===(t=r.default)||void 0===t?void 0:t.call(r))&&void 0!==n?n:null===(i=e.items)||void 0===i?void 0:i.map(function(e){var t,n,i,o,a=e.children,l=e.props,u=e.type,s=e.raw;if("divider"===u)return null!==(i=null===(t=r.divider)||void 0===t?void 0:t.call(r,{props:l}))&&void 0!==i?i:(0,S.createVNode)(i0,l,null);if("subheader"===u)return null!==(o=null===(n=r.subheader)||void 0===n?void 0:n.call(r,{props:l}))&&void 0!==o?o:(0,S.createVNode)(iZ,l,null);var c={subtitle:r.subtitle?function(e){var t;return null===(t=r.subtitle)||void 0===t?void 0:t.call(r,(0,b._)((0,p._)({},e),{item:s}))}:void 0,prepend:r.prepend?function(e){var t;return null===(t=r.prepend)||void 0===t?void 0:t.call(r,(0,b._)((0,p._)({},e),{item:s}))}:void 0,append:r.append?function(e){var t;return null===(t=r.append)||void 0===t?void 0:t.call(r,(0,b._)((0,p._)({},e),{item:s}))}:void 0,title:r.title?function(e){var t;return null===(t=r.title)||void 0===t?void 0:t.call(r,(0,b._)((0,p._)({},e),{item:s}))}:void 0},d=(0,x._)(iW.filterProps(l),2),f=d[0];return d[1],a?(0,S.createVNode)(iW,(0,S.mergeProps)({value:null==l?void 0:l.value},f),{activator:function(e){var t=e.props;return r.header?r.header({props:(0,p._)({},l,t)}):(0,S.createVNode)(i$,(0,S.mergeProps)(l,t),c)},default:function(){return(0,S.createVNode)(i2,{items:a},r)}}):r.item?r.item({props:l}):(0,S.createVNode)(i$,l,c)})}}}),p=f("a42Vg");f("7DTtY");var S=f("5BxzC"),i3=eU({items:{type:Array,default:function(){return[]}},itemTitle:{type:[String,Array,Function],default:"title"},itemValue:{type:[String,Array,Function],default:"value"},itemChildren:{type:[Boolean,String,Array,Function],default:"children"},itemProps:{type:[Boolean,String,Array,Function],default:"props"},returnObject:Boolean,valueComparator:{type:Function,default:P}},"list-items");function i5(e,t){var n,r=L(t,e.itemTitle,t),i=L(t,e.itemValue,r),o=L(t,e.itemChildren),a=!0===e.itemProps?"object"!=typeof t||null==t||Array.isArray(t)?void 0:"children"in t?K(t,["children"])[1]:t:L(t,e.itemProps),l=(0,p._)({title:r,value:i},a);return{title:String(null!==(n=l.title)&&void 0!==n?n:""),value:l.value,props:l,children:Array.isArray(o)?i4(e,o):void 0,raw:t}}function i4(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,l=t[Symbol.iterator]();!(r=(a=l.next()).done);r=!0){var u=a.value;n.push(i5(e,u))}}catch(e){i=!0,o=e}finally{try{r||null==l.return||l.return()}finally{if(i)throw o}}return n}function i6(e){var t=(0,S.computed)(function(){return i4(e,e.items)}),n=(0,S.computed)(function(){return t.value.some(function(e){return null===e.value})});return{items:t,transformIn:function(r){return n.value||// based on null only if null is one of the items
-(r=r.filter(function(e){return null!==e})),r.map(function(n){return e.returnObject&&"string"==typeof n?i5(e,n):t.value.find(function(t){return e.valueComparator(n,t.value)})||i5(e,n)})},transformOut:function(t){return e.returnObject?t.map(function(e){return e.raw}):t.map(function(e){return e.value})}}}var i8=eU((0,p._)((0,b._)((0,p._)({baseColor:String,/* @deprecated */activeColor:String,activeClass:String,bgColor:String,disabled:Boolean,lines:{type:[Boolean,String],default:"one"},nav:Boolean},iF({selectStrategy:"single-leaf",openStrategy:"list"}),nz(),tX(),n4(),nR(),nK()),{itemType:{type:String,default:"type"}}),i3(),nG(),t7(),tT(),n9({variant:"text"})),"VList"),i7=eY()({name:"VList",props:i8(),emits:{"update:selected":function(e){return!0},"update:opened":function(e){return!0},"click:open":function(e){return!0},"click:select":function(e){return!0}},setup:function(e,t){var n=function(e){T.value=!0},r=function(e){T.value=!1},i=function(e){var t;T.value||e.relatedTarget&&(null===(t=A.value)||void 0===t?void 0:t.contains(e.relatedTarget))||a()},o=function(e){if(A.value){if("ArrowDown"===e.key)a("next");else if("ArrowUp"===e.key)a("prev");else if("Home"===e.key)a("first");else{if("End"!==e.key)return;a("last")}e.preventDefault()}},a=function(e){if(A.value)return ey(A.value,e)},l=t.slots,u={items:(0,S.computed)(function(){return function e(t,n){var r=[],i=!0,o=!1,a=void 0;try{for(var l,u=n[Symbol.iterator]();!(i=(l=u.next()).done);i=!0){var s=l.value;r.push(function(t,n){var r=L(n,t.itemType,"item"),i="string"==typeof n||"number"==typeof n||"boolean"==typeof n?n:L(n,t.itemTitle),o=L(n,t.itemValue,void 0),a=L(n,t.itemChildren),l=!0===t.itemProps?K(n,["children"])[1]:L(n,t.itemProps),u=(0,p._)({title:i,value:o},l);return{type:r,title:u.title,value:u.value,props:u,children:"item"===r&&a?e(t,a):void 0,raw:n}}(t,s))}}catch(e){o=!0,a=e}finally{try{i||null==u.return||u.return()}finally{if(o)throw a}}return r}(e,e.items)})}.items,s=tD(e).themeClasses,c=nW((0,k.toRef)(e,"bgColor")),d=c.backgroundColorClasses,f=c.backgroundColorStyles,h=nY(e).borderClasses,g=n6(e).densityClasses,m=nO(e).dimensionStyles,y=nX(e).elevationClasses,_=n$(e).roundedClasses,b=iU(e),w=b.open,x=b.select,C=(0,S.computed)(function(){return e.lines?"v-list--".concat(e.lines,"-line"):void 0}),E=(0,k.toRef)(e,"activeColor"),V=(0,k.toRef)(e,"baseColor"),N=(0,k.toRef)(e,"color");iN(),eN({VListGroup:{activeColor:E,baseColor:V,color:N},VListItem:{activeClass:(0,k.toRef)(e,"activeClass"),activeColor:E,baseColor:V,color:N,density:(0,k.toRef)(e,"density"),disabled:(0,k.toRef)(e,"disabled"),lines:(0,k.toRef)(e,"lines"),nav:(0,k.toRef)(e,"nav"),variant:(0,k.toRef)(e,"variant")}});var T=(0,k.shallowRef)(!1),A=(0,k.ref)();return t5(function(){return(0,S.createVNode)(e.tag,{ref:A,class:["v-list",{"v-list--disabled":e.disabled,"v-list--nav":e.nav},s.value,d.value,h.value,g.value,y.value,C.value,_.value,e.class],style:[f.value,m.value,e.style],tabindex:e.disabled||T.value?-1:0,role:"listbox","aria-activedescendant":void 0,onFocusin:n,onFocusout:r,onFocus:i,onKeydown:o},{default:function(){return[(0,S.createVNode)(i2,{items:u.value},l)]}})}),{open:w,select:x,focus:a}}}),h=f("xJRWs"),p=f("a42Vg"),x=f("6wEIk"),V=f("2Yjkq"),g=f("3XT9C");f("7DTtY");var S=f("5BxzC"),k=f("bNhjt"),p=f("a42Vg");f("7DTtY");var S=f("5BxzC"),m=f("jo4gN"),k=f("bNhjt"),tG=f("h8xva"),p=f("a42Vg"),x=f("6wEIk");f("7DTtY");var k=f("bNhjt"),S=f("5BxzC");// Types
+e&&!r&&0===Array.from(i.entries()).reduce(function(e,t){var n=(0,x._)(t,2),r=n[0];return"on"===n[1]?(0,V._)(e).concat([r]):e},[]).length?l:i)},in:function(e,n,r){var i=new Map,o=!0,a=!1,l=void 0;try{for(var u,s=(e||[])[Symbol.iterator]();!(o=(u=s.next()).done);o=!0){var c=u.value;i=t.select({id:c,value:!0,selected:new Map(i),children:n,parents:r})}}catch(e){a=!0,l=e}finally{try{o||null==s.return||s.return()}finally{if(a)throw l}}return i},out:function(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,l=e.entries()[Symbol.iterator]();!(r=(a=l.next()).done);r=!0){var u=(0,x._)(a.value,2),s=u[0],c=u[1];"on"!==c||t.has(s)||n.push(s)}}catch(e){i=!0,o=e}finally{try{r||null==l.return||l.return()}finally{if(i)throw o}}return n}};return t},iL=Symbol.for("vuetify:nested"),ij={id:(0,k.shallowRef)(),root:{register:function(){return null},unregister:function(){return null},parents:(0,k.ref)(new Map),children:(0,k.ref)(new Map),open:function(){return null},openOnSelect:function(){return null},select:function(){return null},opened:(0,k.ref)(new Set),selected:(0,k.ref)(new Map),selectedValues:(0,k.ref)([])}},iF=eU({selectStrategy:[String,Function],openStrategy:[String,Object],opened:Array,selected:Array,mandatory:Boolean},"nested"),iU=function(e){var t=function(e){for(var t=[],n=e;null!=n;)t.unshift(n),n=i.value.get(n);return t},n=!1,r=(0,k.ref)(new Map),i=(0,k.ref)(new Map),o=e1(e,"opened",e.opened,function(e){return new Set(e)},function(e){return(0,V._)(e.values())}),a=(0,S.computed)(function(){if("object"==typeof e.selectStrategy)return e.selectStrategy;switch(e.selectStrategy){case"single-leaf":return iP(e.mandatory);case"leaf":return iB(e.mandatory);case"independent":return iO(e.mandatory);case"single-independent":return iI(e.mandatory);default:return iM(e.mandatory)}}),l=(0,S.computed)(function(){if("object"==typeof e.openStrategy)return e.openStrategy;switch(e.openStrategy){case"list":return iR;case"single":return iA;default:return iD}}),u=e1(e,"selected",e.selected,function(e){return a.value.in(e,r.value,i.value)},function(e){return a.value.out(e,r.value,i.value)});(0,S.onBeforeUnmount)(function(){n=!0});var s=ew("nested"),c={id:(0,k.shallowRef)(),root:{opened:o,selected:u,selectedValues:(0,S.computed)(function(){var e=[],t=!0,n=!1,r=void 0;try{for(var i,o=u.value.entries()[Symbol.iterator]();!(t=(i=o.next()).done);t=!0){var a=(0,x._)(i.value,2),l=a[0],s=a[1];"on"===s&&e.push(l)}}catch(e){n=!0,r=e}finally{try{t||null==o.return||o.return()}finally{if(n)throw r}}return e}),register:function(e,t,n){t&&e!==t&&i.value.set(e,t),n&&r.value.set(e,[]),null!=t&&r.value.set(t,(0,V._)(r.value.get(t)||[]).concat([e]))},unregister:function(e){if(!n){r.value.delete(e);var t=i.value.get(e);if(t){var a,l=null!==(a=r.value.get(t))&&void 0!==a?a:[];r.value.set(t,l.filter(function(t){return t!==e}))}i.value.delete(e),o.value.delete(e)}},open:function(e,n,a){s.emit("click:open",{id:e,value:n,path:t(e),event:a});var u=l.value.open({id:e,value:n,opened:new Set(o.value),children:r.value,parents:i.value,event:a});u&&(o.value=u)},openOnSelect:function(e,t,n){var a=l.value.select({id:e,value:t,selected:new Map(u.value),opened:new Set(o.value),children:r.value,parents:i.value,event:n});a&&(o.value=a)},select:function(e,n,o){s.emit("click:select",{id:e,value:n,path:t(e),event:o});var l=a.value.select({id:e,value:n,selected:new Map(u.value),children:r.value,parents:i.value,event:o});l&&(u.value=l),c.root.openOnSelect(e,n,o)},children:r,parents:i}};return(0,S.provide)(iL,c),c.root},iz=function(e,t){var n=(0,S.inject)(iL,ij),r=Symbol(eC()),i=(0,S.computed)(function(){return void 0!==e.value?e.value:r}),o=(0,b._)((0,p._)({},n),{id:i,open:function(e,t){return n.root.open(i.value,e,t)},openOnSelect:function(e,t){return n.root.openOnSelect(i.value,e,t)},isOpen:(0,S.computed)(function(){return n.root.opened.value.has(i.value)}),parent:(0,S.computed)(function(){return n.root.parents.value.get(i.value)}),select:function(e,t){return n.root.select(i.value,e,t)},isSelected:(0,S.computed)(function(){return"on"===n.root.selected.value.get((0,k.toRaw)(i.value))}),isIndeterminate:(0,S.computed)(function(){return"indeterminate"===n.root.selected.value.get(i.value)}),isLeaf:(0,S.computed)(function(){return!n.root.children.value.get(i.value)}),isGroupActivator:n.isGroupActivator});return n.isGroupActivator||n.root.register(i.value,n.id.value,t),(0,S.onBeforeUnmount)(function(){n.isGroupActivator||n.root.unregister(i.value)}),t&&(0,S.provide)(iL,o),o},iY=function(){var e=(0,S.inject)(iL,ij);(0,S.provide)(iL,(0,b._)((0,p._)({},e),{isGroupActivator:!0}))},iH=ez({name:"VListGroupActivator",setup:function(e,t){var n=t.slots;return iY(),function(){var e;return null===(e=n.default)||void 0===e?void 0:e.call(n)}}}),iq=eU((0,p._)({/* @deprecated */activeColor:String,baseColor:String,color:String,collapseIcon:{type:eH,default:"$collapse"},expandIcon:{type:eH,default:"$expand"},prependIcon:eH,appendIcon:eH,fluid:Boolean,subgroup:Boolean,title:String,value:null},tX(),t7()),"VListGroup"),iW=eY()({name:"VListGroup",props:iq(),setup:function(e,t){var n=function(e){a(!o.value,e)},r=t.slots,i=iz((0,k.toRef)(e,"value"),!0),o=i.isOpen,a=i.open,l=i.id,u=(0,S.computed)(function(){return"v-list-group--id-".concat(String(l.value))}),s=iT(),c=n1().isBooted,d=(0,S.computed)(function(){return{onClick:n,class:"v-list-group__header",id:u.value}}),f=(0,S.computed)(function(){return o.value?e.collapseIcon:e.expandIcon}),h=(0,S.computed)(function(){return{VListItem:{active:o.value,activeColor:e.activeColor,baseColor:e.baseColor,color:e.color,prependIcon:e.prependIcon||e.subgroup&&f.value,appendIcon:e.appendIcon||!e.subgroup&&f.value,title:e.title,value:e.value}}});return t4(function(){return(0,S.createVNode)(e.tag,{class:["v-list-group",{"v-list-group--prepend":null==s?void 0:s.hasPrepend.value,"v-list-group--fluid":e.fluid,"v-list-group--subgroup":e.subgroup,"v-list-group--open":o.value},e.class],style:e.style},{default:function(){return[r.activator&&(0,S.createVNode)(nD,{defaults:h.value},{default:function(){return[(0,S.createVNode)(iH,null,{default:function(){return[r.activator({props:d.value,isOpen:o.value})]}})]}}),(0,S.createVNode)(nM,{transition:{component:nN},disabled:!c.value},{default:function(){var e;return[(0,S.withDirectives)((0,S.createVNode)("div",{class:"v-list-group__items",role:"group","aria-labelledby":u.value},[null===(e=r.default)||void 0===e?void 0:e.call(r)]),[[m.vShow,o.value]])]}})]}})}),{}}}),tG=f("h8xva"),p=f("a42Vg");f("7DTtY");var S=f("5BxzC"),iK=ir("v-list-item-subtitle"),iX=ir("v-list-item-title"),iG=eU((0,p._)({active:{type:Boolean,default:void 0},activeClass:String,/* @deprecated */activeColor:String,appendAvatar:String,appendIcon:eH,baseColor:String,disabled:Boolean,lines:String,link:{type:Boolean,default:void 0},nav:Boolean,prependAvatar:String,prependIcon:eH,ripple:{type:[Boolean,Object],default:!0},subtitle:[String,Number,Boolean],title:[String,Number,Boolean],value:null,onClick:eh(),onClickOnce:eh()},nz(),tX(),n5(),nR(),nK(),nG(),rF(),t7(),tT(),n9({variant:"text"})),"VListItem"),i$=eY()({name:"VListItem",directives:{Ripple:r5},props:iG(),emits:{click:function(e){return!0}},setup:function(e,t){var n,r,i=function(t){var n;u("click",t),!p&&x.value&&(null===(n=s.navigate)||void 0===n||n.call(s,t),null!=e.value&&d(!f.value,t))},o=function(e){("Enter"===e.key||" "===e.key)&&(e.preventDefault(),i(e))},a=t.attrs,l=t.slots,u=t.emit,s=rj(e,a),c=iz((0,S.computed)(function(){return void 0===e.value?s.href.value:e.value}),!1),d=c.select,f=c.isSelected,h=c.isIndeterminate,p=c.isGroupActivator,g=c.root,m=c.parent,y=c.openOnSelect,_=iT(),b=(0,S.computed)(function(){var t;return!1!==e.active&&(e.active||(null===(t=s.isActive)||void 0===t?void 0:t.value)||f.value)}),w=(0,S.computed)(function(){return!1!==e.link&&s.isLink.value}),x=(0,S.computed)(function(){return!e.disabled&&!1!==e.link&&(e.link||s.isClickable.value||null!=e.value&&!!_)}),k=(0,S.computed)(function(){return e.rounded||e.nav}),C=(0,S.computed)(function(){return null!==(n=e.color)&&void 0!==n?n:e.activeColor}),E=(0,S.computed)(function(){return{color:b.value&&null!==(r=C.value)&&void 0!==r?r:e.baseColor,variant:e.variant}});(0,S.watch)(function(){var e;return null===(e=s.isActive)||void 0===e?void 0:e.value},function(e){e&&null!=m.value&&g.open(m.value,!0),e&&y(e)},{immediate:!0});var V=tD(e).themeClasses,N=nY(e).borderClasses,T=re(E),A=T.colorClasses,D=T.colorStyles,R=T.variantClasses,O=n6(e).densityClasses,I=nO(e).dimensionStyles,B=nX(e).elevationClasses,P=n$(k).roundedClasses,M=(0,S.computed)(function(){return e.lines?"v-list-item--".concat(e.lines,"-line"):void 0}),L=(0,S.computed)(function(){return{isActive:b.value,select:d,isSelected:f.value,isIndeterminate:h.value}});return t4(function(){var t,n,r,a=w.value?"a":e.tag,u=l.title||e.title,c=l.subtitle||e.subtitle,d=!!(e.appendAvatar||e.appendIcon),f=!!(d||l.append),h=!!(e.prependAvatar||e.prependIcon),p=!!(h||l.prepend);return null==_||_.updateHasPrepend(p),e.activeColor&&(t=Array.isArray(t=["color","base-color"])?t.slice(0,-1).map(function(e){return"'".concat(e,"'")}).join(", ")+" or '".concat(t.at(-1),"'"):"'".concat(t,"'"),(0,S.warn)("[Vuetify UPGRADE] '".concat("active-color","' is deprecated, use ").concat(t," instead."))),(0,S.withDirectives)((0,S.createVNode)(a,{class:["v-list-item",(0,tG._)({"v-list-item--active":b.value,"v-list-item--disabled":e.disabled,"v-list-item--link":x.value,"v-list-item--nav":e.nav,"v-list-item--prepend":!p&&(null==_?void 0:_.hasPrepend.value)},"".concat(e.activeClass),e.activeClass&&b.value),V.value,N.value,A.value,O.value,B.value,M.value,P.value,R.value,e.class],style:[D.value,I.value,e.style],href:s.href.value,tabindex:x.value?_?-2:0:void 0,onClick:i,onKeydown:x.value&&!w.value&&o},{default:function(){var t;return[n7(x.value||b.value,"v-list-item"),p&&(0,S.createVNode)("div",{key:"prepend",class:"v-list-item__prepend"},[l.prepend?(0,S.createVNode)(nD,{key:"prepend-defaults",disabled:!h,defaults:{VAvatar:{density:e.density,image:e.prependAvatar},VIcon:{density:e.density,icon:e.prependIcon},VListItemAction:{start:!0}}},{default:function(){var e;return[null===(e=l.prepend)||void 0===e?void 0:e.call(l,L.value)]}}):(0,S.createVNode)(S.Fragment,null,[e.prependAvatar&&(0,S.createVNode)(iw,{key:"prepend-avatar",density:e.density,image:e.prependAvatar},null),e.prependIcon&&(0,S.createVNode)(rp,{key:"prepend-icon",density:e.density,icon:e.prependIcon},null)]),(0,S.createVNode)("div",{class:"v-list-item__spacer"},null)]),(0,S.createVNode)("div",{class:"v-list-item__content","data-no-activator":""},[u&&(0,S.createVNode)(iX,{key:"title"},{default:function(){var t;return[null!==(n=null===(t=l.title)||void 0===t?void 0:t.call(l,{title:e.title}))&&void 0!==n?n:e.title]}}),c&&(0,S.createVNode)(iK,{key:"subtitle"},{default:function(){var t;return[null!==(r=null===(t=l.subtitle)||void 0===t?void 0:t.call(l,{subtitle:e.subtitle}))&&void 0!==r?r:e.subtitle]}}),null===(t=l.default)||void 0===t?void 0:t.call(l,L.value)]),f&&(0,S.createVNode)("div",{key:"append",class:"v-list-item__append"},[l.append?(0,S.createVNode)(nD,{key:"append-defaults",disabled:!d,defaults:{VAvatar:{density:e.density,image:e.appendAvatar},VIcon:{density:e.density,icon:e.appendIcon},VListItemAction:{end:!0}}},{default:function(){var e;return[null===(e=l.append)||void 0===e?void 0:e.call(l,L.value)]}}):(0,S.createVNode)(S.Fragment,null,[e.appendIcon&&(0,S.createVNode)(rp,{key:"append-icon",density:e.density,icon:e.appendIcon},null),e.appendAvatar&&(0,S.createVNode)(iw,{key:"append-avatar",density:e.density,image:e.appendAvatar},null)]),(0,S.createVNode)("div",{class:"v-list-item__spacer"},null)])]}}),[[(0,S.resolveDirective)("ripple"),x.value&&e.ripple]])}),{}}}),p=f("a42Vg");f("7DTtY");var k=f("bNhjt"),S=f("5BxzC"),iJ=eU((0,p._)({color:String,inset:Boolean,sticky:Boolean,title:String},tX(),t7()),"VListSubheader"),iZ=eY()({name:"VListSubheader",props:iJ(),setup:function(e,t){var n=t.slots,r=nq((0,k.toRef)(e,"color")),i=r.textColorClasses,o=r.textColorStyles;return t4(function(){var t,r=!!(n.default||e.title);return(0,S.createVNode)(e.tag,{class:["v-list-subheader",{"v-list-subheader--inset":e.inset,"v-list-subheader--sticky":e.sticky},i.value,e.class],style:[{textColorStyles:o},e.style]},{default:function(){var i;return[r&&(0,S.createVNode)("div",{class:"v-list-subheader__text"},[null!==(t=null===(i=n.default)||void 0===i?void 0:i.call(n))&&void 0!==t?t:e.title])]}})}),{}}}),p=f("a42Vg");f("7DTtY");var k=f("bNhjt"),S=f("5BxzC"),iQ=eU((0,p._)({color:String,inset:Boolean,length:[Number,String],thickness:[Number,String],vertical:Boolean},tX(),tT()),"VDivider"),i0=eY()({name:"VDivider",props:iQ(),setup:function(e,t){var n=t.attrs,r=tD(e).themeClasses,i=nq((0,k.toRef)(e,"color")),o=i.textColorClasses,a=i.textColorStyles,l=(0,S.computed)(function(){var t={};return e.length&&(t[e.vertical?"maxHeight":"maxWidth"]=F(e.length)),e.thickness&&(t[e.vertical?"borderRightWidth":"borderTopWidth"]=F(e.thickness)),t});return t4(function(){return(0,S.createVNode)("hr",{class:[{"v-divider":!0,"v-divider--inset":e.inset,"v-divider--vertical":e.vertical},r.value,o.value,e.class],style:[l.value,a.value,e.style],"aria-orientation":n.role&&"separator"!==n.role?void 0:e.vertical?"vertical":"horizontal",role:"".concat(n.role||"separator")},null)}),{}}}),i1=eU({items:Array},"VListChildren"),i2=eY()({name:"VListChildren",props:i1(),setup:function(e,t){var n,r=t.slots;return iN(),function(){var t,i;return null!==(n=null===(t=r.default)||void 0===t?void 0:t.call(r))&&void 0!==n?n:null===(i=e.items)||void 0===i?void 0:i.map(function(e){var t,n,i,o,a=e.children,l=e.props,u=e.type,s=e.raw;if("divider"===u)return null!==(i=null===(t=r.divider)||void 0===t?void 0:t.call(r,{props:l}))&&void 0!==i?i:(0,S.createVNode)(i0,l,null);if("subheader"===u)return null!==(o=null===(n=r.subheader)||void 0===n?void 0:n.call(r,{props:l}))&&void 0!==o?o:(0,S.createVNode)(iZ,l,null);var c={subtitle:r.subtitle?function(e){var t;return null===(t=r.subtitle)||void 0===t?void 0:t.call(r,(0,b._)((0,p._)({},e),{item:s}))}:void 0,prepend:r.prepend?function(e){var t;return null===(t=r.prepend)||void 0===t?void 0:t.call(r,(0,b._)((0,p._)({},e),{item:s}))}:void 0,append:r.append?function(e){var t;return null===(t=r.append)||void 0===t?void 0:t.call(r,(0,b._)((0,p._)({},e),{item:s}))}:void 0,title:r.title?function(e){var t;return null===(t=r.title)||void 0===t?void 0:t.call(r,(0,b._)((0,p._)({},e),{item:s}))}:void 0},d=(0,x._)(iW.filterProps(l),2),f=d[0];return d[1],a?(0,S.createVNode)(iW,(0,S.mergeProps)({value:null==l?void 0:l.value},f),{activator:function(e){var t=e.props;return r.header?r.header({props:(0,p._)({},l,t)}):(0,S.createVNode)(i$,(0,S.mergeProps)(l,t),c)},default:function(){return(0,S.createVNode)(i2,{items:a},r)}}):r.item?r.item({props:l}):(0,S.createVNode)(i$,l,c)})}}}),p=f("a42Vg");f("7DTtY");var S=f("5BxzC"),i3=eU({items:{type:Array,default:function(){return[]}},itemTitle:{type:[String,Array,Function],default:"title"},itemValue:{type:[String,Array,Function],default:"value"},itemChildren:{type:[Boolean,String,Array,Function],default:"children"},itemProps:{type:[Boolean,String,Array,Function],default:"props"},returnObject:Boolean,valueComparator:{type:Function,default:P}},"list-items");function i4(e,t){var n,r=L(t,e.itemTitle,t),i=L(t,e.itemValue,r),o=L(t,e.itemChildren),a=!0===e.itemProps?"object"!=typeof t||null==t||Array.isArray(t)?void 0:"children"in t?K(t,["children"])[1]:t:L(t,e.itemProps),l=(0,p._)({title:r,value:i},a);return{title:String(null!==(n=l.title)&&void 0!==n?n:""),value:l.value,props:l,children:Array.isArray(o)?i5(e,o):void 0,raw:t}}function i5(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,l=t[Symbol.iterator]();!(r=(a=l.next()).done);r=!0){var u=a.value;n.push(i4(e,u))}}catch(e){i=!0,o=e}finally{try{r||null==l.return||l.return()}finally{if(i)throw o}}return n}function i6(e){var t=(0,S.computed)(function(){return i5(e,e.items)}),n=(0,S.computed)(function(){return t.value.some(function(e){return null===e.value})});return{items:t,transformIn:function(r){return n.value||// based on null only if null is one of the items
+(r=r.filter(function(e){return null!==e})),r.map(function(n){return e.returnObject&&"string"==typeof n?i4(e,n):t.value.find(function(t){return e.valueComparator(n,t.value)})||i4(e,n)})},transformOut:function(t){return e.returnObject?t.map(function(e){return e.raw}):t.map(function(e){return e.value})}}}var i8=eU((0,p._)((0,b._)((0,p._)({baseColor:String,/* @deprecated */activeColor:String,activeClass:String,bgColor:String,disabled:Boolean,lines:{type:[Boolean,String],default:"one"},nav:Boolean},iF({selectStrategy:"single-leaf",openStrategy:"list"}),nz(),tX(),n5(),nR(),nK()),{itemType:{type:String,default:"type"}}),i3(),nG(),t7(),tT(),n9({variant:"text"})),"VList"),i7=eY()({name:"VList",props:i8(),emits:{"update:selected":function(e){return!0},"update:opened":function(e){return!0},"click:open":function(e){return!0},"click:select":function(e){return!0}},setup:function(e,t){var n=function(e){T.value=!0},r=function(e){T.value=!1},i=function(e){var t;T.value||e.relatedTarget&&(null===(t=A.value)||void 0===t?void 0:t.contains(e.relatedTarget))||a()},o=function(e){if(A.value){if("ArrowDown"===e.key)a("next");else if("ArrowUp"===e.key)a("prev");else if("Home"===e.key)a("first");else{if("End"!==e.key)return;a("last")}e.preventDefault()}},a=function(e){if(A.value)return ey(A.value,e)},l=t.slots,u={items:(0,S.computed)(function(){return function e(t,n){var r=[],i=!0,o=!1,a=void 0;try{for(var l,u=n[Symbol.iterator]();!(i=(l=u.next()).done);i=!0){var s=l.value;r.push(function(t,n){var r=L(n,t.itemType,"item"),i="string"==typeof n||"number"==typeof n||"boolean"==typeof n?n:L(n,t.itemTitle),o=L(n,t.itemValue,void 0),a=L(n,t.itemChildren),l=!0===t.itemProps?K(n,["children"])[1]:L(n,t.itemProps),u=(0,p._)({title:i,value:o},l);return{type:r,title:u.title,value:u.value,props:u,children:"item"===r&&a?e(t,a):void 0,raw:n}}(t,s))}}catch(e){o=!0,a=e}finally{try{i||null==u.return||u.return()}finally{if(o)throw a}}return r}(e,e.items)})}.items,s=tD(e).themeClasses,c=nW((0,k.toRef)(e,"bgColor")),d=c.backgroundColorClasses,f=c.backgroundColorStyles,h=nY(e).borderClasses,g=n6(e).densityClasses,m=nO(e).dimensionStyles,y=nX(e).elevationClasses,_=n$(e).roundedClasses,b=iU(e),w=b.open,x=b.select,C=(0,S.computed)(function(){return e.lines?"v-list--".concat(e.lines,"-line"):void 0}),E=(0,k.toRef)(e,"activeColor"),V=(0,k.toRef)(e,"baseColor"),N=(0,k.toRef)(e,"color");iN(),eN({VListGroup:{activeColor:E,baseColor:V,color:N},VListItem:{activeClass:(0,k.toRef)(e,"activeClass"),activeColor:E,baseColor:V,color:N,density:(0,k.toRef)(e,"density"),disabled:(0,k.toRef)(e,"disabled"),lines:(0,k.toRef)(e,"lines"),nav:(0,k.toRef)(e,"nav"),variant:(0,k.toRef)(e,"variant")}});var T=(0,k.shallowRef)(!1),A=(0,k.ref)();return t4(function(){return(0,S.createVNode)(e.tag,{ref:A,class:["v-list",{"v-list--disabled":e.disabled,"v-list--nav":e.nav},s.value,d.value,h.value,g.value,y.value,C.value,_.value,e.class],style:[f.value,m.value,e.style],tabindex:e.disabled||T.value?-1:0,role:"listbox","aria-activedescendant":void 0,onFocusin:n,onFocusout:r,onFocus:i,onKeydown:o},{default:function(){return[(0,S.createVNode)(i2,{items:u.value},l)]}})}),{open:w,select:x,focus:a}}}),h=f("xJRWs"),p=f("a42Vg"),x=f("6wEIk"),V=f("2Yjkq"),g=f("3XT9C");f("7DTtY");var S=f("5BxzC"),k=f("bNhjt"),p=f("a42Vg");f("7DTtY");var S=f("5BxzC"),m=f("jo4gN"),k=f("bNhjt"),tG=f("h8xva"),p=f("a42Vg"),x=f("6wEIk");f("7DTtY");var k=f("bNhjt"),S=f("5BxzC");// Types
/** Convert a point in local space to viewport space */function i9(e,t){return{x:e.x+t.x,y:e.y+t.y}}function oe(e,t){if("top"===e.side||"bottom"===e.side){var n=e.side,r=e.align;return i9({x:"left"===r?0:"center"===r?t.width/2:"right"===r?t.width:r,y:"top"===n?0:"bottom"===n?t.height:n},t)}if("left"===e.side||"right"===e.side){var i=e.side,o=e.align;return i9({x:"left"===i?0:"right"===i?t.width:i,y:"top"===o?0:"center"===o?t.height/2:"bottom"===o?t.height:o},t)}return i9({x:t.width/2,y:t.height/2},t)}function ot(e){for(var t,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];e;){if(n?!!(t=e)&&t.nodeType===Node.ELEMENT_NODE&&["scroll","auto"].includes(window.getComputedStyle(t).overflowY):or(e))return e;e=e.parentElement}return document.scrollingElement}function on(e,t){var n=[];if(t&&e&&!t.contains(e))return n;for(;e&&(or(e)&&n.push(e),e!==t);)e=e.parentElement;return n}function or(e){if(!e||e.nodeType!==Node.ELEMENT_NODE)return!1;var t=window.getComputedStyle(e);return"scroll"===t.overflowY||"auto"===t.overflowY&&e.scrollHeight>e.clientHeight}var oi={static:function(){// TODO
},// specific viewport position, usually centered
connected:function(e,t,n){var r=function(){if(h=!1,requestAnimationFrame(function(){requestAnimationFrame(function(){return h=!0})}),e.activatorEl.value&&e.contentEl.value){var t,r,i,l=e.activatorEl.value.getBoundingClientRect(),g=(t=e.contentEl.value,(r=e.isRtl.value)?t.style.removeProperty("left"):t.style.removeProperty("right"),i=ns(t),r?i.x+=parseFloat(t.style.right||0):i.x-=parseFloat(t.style.left||0),i.y-=parseFloat(t.style.top||0),i),m=on(e.contentEl.value);m.length||(m.push(document.documentElement),e.contentEl.value.style.top&&e.contentEl.value.style.left||(g.x-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-x")||0),g.y-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-y")||0)));var y=m.reduce(function(e,t){var n=t.getBoundingClientRect(),r=new nl({x:t===document.documentElement?0:n.x,y:t===document.documentElement?0:n.y,width:t.clientWidth,height:t.clientHeight});return e?new nl({x:Math.max(e.left,r.left),y:Math.max(e.top,r.top),width:Math.min(e.right,r.right)-Math.max(e.left,r.left),height:Math.min(e.bottom,r.bottom)-Math.max(e.top,r.top)}):r},void 0);y.x+=12,y.y+=12,y.width-=24,y.height-=24;for(var _={anchor:o.value,origin:a.value},b=0,w=0,x={x:0,y:0},k={x:!1,y:!1},S=-1;"break"!==function(){if(S++>10)return eF("Infinite loop detected in connectedLocationStrategy"),"break";var e=E(_),t=e.x,n=e.y,r=e.overflows;b+=t,w+=n,g.x+=t,g.y+=n;var i=rE(_.anchor),o=r.x.before||r.x.after,a=r.y.before||r.y.after,l=!1;if(["x","y"].forEach(function(e){if("x"===e&&o&&!k.x||"y"===e&&a&&!k.y){var t={anchor:(0,p._)({},_.anchor),origin:(0,p._)({},_.origin)},n="x"===e?"y"===i?rS:rk:"y"===i?rk:rS;t.anchor=n(t.anchor),t.origin=n(t.origin);var u=E(t).overflows;(u[e].before<=r[e].before&&u[e].after<=r[e].after||u[e].before+u[e].after<(r[e].before+r[e].after)/2)&&(_=t,l=k[e]=!0)}}),l)return"continue";r.x.before&&(b+=r.x.before,g.x+=r.x.before),r.x.after&&(b-=r.x.after,g.x-=r.x.after),r.y.before&&(w+=r.y.before,g.y+=r.y.before),r.y.after&&(w-=r.y.after,g.y-=r.y.after);var u=nu(g,y);return x.x=y.width-u.x.before-u.x.after,x.y=y.height-u.y.before-u.y.after,b+=u.x.before,g.x+=u.x.before,w+=u.y.before,g.y+=u.y.before,"break"}(););var C=rE(_.anchor);return Object.assign(n.value,{"--v-overlay-anchor-origin":"".concat(_.anchor.side," ").concat(_.anchor.align),transformOrigin:"".concat(_.origin.side," ").concat(_.origin.align),// transform: `translate(${pixelRound(x)}px, ${pixelRound(y)}px)`,
@@ -6858,7 +6858,7 @@ i.push(t),!i.some(function(t){return null==t?void 0:t.contains(e.target)}))}func
// available, iOS does not support
// clicks on body
mounted:function(e,t){var n=function(n){var r;return r="function"==typeof t.value?t.value:t.value.handler,void(e._clickOutside.lastMousedownWasOutside&&oE(n,e,t)&&setTimeout(function(){oV(n,t)&&r&&r(n)},0))},r=function(n){e._clickOutside.lastMousedownWasOutside=oE(n,e,t)};oN(e,function(e){e.addEventListener("click",n,!0),e.addEventListener("mousedown",r,!0)}),e._clickOutside||(e._clickOutside={lastMousedownWasOutside:!1}),e._clickOutside[t.instance.$.uid]={onClick:n,onMousedown:r}},unmounted:function(e,t){e._clickOutside&&(oN(e,function(n){if(n&&(null===(r=e._clickOutside)||void 0===r?void 0:r[t.instance.$.uid])){var r,i=e._clickOutside[t.instance.$.uid],o=i.onClick,a=i.onMousedown;n.removeEventListener("click",o,!0),n.removeEventListener("mousedown",a,!0)}}),delete e._clickOutside[t.instance.$.uid])}};function oA(e){e.modelValue,e.color;var t=w(e,["modelValue","color"]);return(0,S.createVNode)(m.Transition,{name:"fade-transition",appear:!0},{default:function(){return[e.modelValue&&(0,S.createVNode)("div",(0,S.mergeProps)({class:["v-overlay__scrim",e.color.backgroundColorClasses.value],style:e.color.backgroundColorStyles.value},t),null)]}})}var oD=eU((0,p._)({absolute:Boolean,attach:[Boolean,String,Object],closeOnBack:{type:Boolean,default:!0},contained:Boolean,contentClass:null,contentProps:null,disabled:Boolean,noClickAnimation:Boolean,modelValue:Boolean,persistent:Boolean,scrim:{type:[Boolean,String],default:!0},zIndex:{type:[Number,String],default:2e3}},oy(),tX(),nR(),ob(),oo(),of(),tT(),nP()),"VOverlay"),oR=eY()({name:"VOverlay",directives:{ClickOutside:oT},inheritAttrs:!1,props:(0,p._)({_disableGlobalStack:Boolean},oD()),emits:{"click:outside":function(e){return!0},"update:modelValue":function(e){return!0},afterLeave:function(){return!0}},setup:function(e,t){var n,r,i,o,a,l,u,s,c,d,f,p,y,_,b,w,C,E,N,A,D,R,O,I,B,P,M,L,j,U,Y,H,q,W,K,X=function(t){et("click:outside",t),e.persistent?Z():er.value=!1},G=function(){return er.value&&ep.value},J=function(t){if("Escape"===t.key&&ep.value){if(e.persistent)Z();else{var n,r;er.value=!1,(null===(n=eA.value)||void 0===n?void 0:n.contains(document.activeElement))&&(null===(r=e_.value)||void 0===r||r.focus())}}},Z=function(){!e.noClickAnimation&&eA.value&&nc(eA.value,[{transformOrigin:"center"},{transform:"scale(1.03)"},{transformOrigin:"center"}],{duration:150,easing:na})},Q=t.slots,ee=t.attrs,et=t.emit,en=e1(e,"modelValue"),er=(0,S.computed)({get:function(){return en.value},set:function(t){t&&e.disabled||(en.value=t)}}),ei=(n=(0,S.computed)(function(){return e.attach||e.contained}),{teleportTarget:(0,S.computed)(function(){var e=n.value;if(!0!==e&&T){var t=!1===e?document.body:"string"==typeof e?document.querySelector(e):e;if(null==t){(0,S.warn)("Unable to locate target ".concat(e));return}var r=t.querySelector(":scope > .v-overlay-container");return r||((r=document.createElement("div")).className="v-overlay-container",t.appendChild(r)),r}})}).teleportTarget,eo=tD(e).themeClasses,ea=te(),el=ea.rtlClasses,eu=ea.isRtl,es=ow(e,er),ec=es.hasContent,ed=es.onAfterLeave,eh=nW((0,S.computed)(function(){return"string"==typeof e.scrim?e.scrim:null})),ev=(r=(0,k.toRef)(e,"zIndex"),i=e._disableGlobalStack,o=ew("useStack"),a=!i,l=(0,S.inject)(ok,void 0),u=(0,k.reactive)({activeChildren:new Set}),(0,S.provide)(ok,u),s=(0,k.shallowRef)(+r.value),e0(er,function(){var e,t=null===(e=oS.at(-1))||void 0===e?void 0:e[1];s.value=t?t+10:+r.value,a&&oS.push([o.uid,s.value]),null==l||l.activeChildren.add(o.uid),(0,k.onScopeDispose)(function(){if(a){var e=(0,k.toRaw)(oS).findIndex(function(e){return e[0]===o.uid});oS.splice(e,1)}null==l||l.activeChildren.delete(o.uid)})}),c=(0,k.shallowRef)(!0),a&&(0,S.watchEffect)(function(){var e,t=(null===(e=oS.at(-1))||void 0===e?void 0:e[0])===o.uid;setTimeout(function(){return c.value=t})}),d=(0,S.computed)(function(){return!u.activeChildren.size}),{globalTop:(0,k.readonly)(c),localTop:d,stackStyles:(0,S.computed)(function(){return{zIndex:s.value}})}),ep=ev.globalTop,eg=ev.localTop,em=ev.stackStyles,ey=(y=(f={isActive:er,isTop:eg}).isActive,_=f.isTop,b=(0,k.ref)(),w=!1,C=!1,E=!0,N=(0,S.computed)(function(){return e.openOnFocus||null==e.openOnFocus&&e.openOnHover}),A=(0,S.computed)(function(){return e.openOnClick||null==e.openOnClick&&!e.openOnHover&&!N.value}),R=(D=og(e,function(t){t!==(e.openOnHover&&w||N.value&&C)||e.openOnHover&&y.value&&!_.value||(y.value!==t&&(E=!0),y.value=t)})).runOpenDelay,O=D.runCloseDelay,I={onClick:function(e){e.stopPropagation(),b.value=e.currentTarget||e.target,y.value=!y.value},onMouseenter:function(e){var t;null!==(t=e.sourceCapabilities)&&void 0!==t&&t.firesTouchEvents||(w=!0,b.value=e.currentTarget||e.target,R())},onMouseleave:function(e){w=!1,O()},onFocus:function(e){!1!==eb(e.target,":focus-visible")&&(C=!0,e.stopPropagation(),b.value=e.currentTarget||e.target,R())},onBlur:function(e){C=!1,e.stopPropagation(),O()}},B=(0,S.computed)(function(){var t={};return A.value&&(t.onClick=I.onClick),e.openOnHover&&(t.onMouseenter=I.onMouseenter,t.onMouseleave=I.onMouseleave),N.value&&(t.onFocus=I.onFocus,t.onBlur=I.onBlur),t}),P=(0,S.computed)(function(){var t={};if(e.openOnHover&&(t.onMouseenter=function(){w=!0,R()},t.onMouseleave=function(){w=!1,O()}),N.value&&(t.onFocusin=function(){C=!0,R()},t.onFocusout=function(){C=!1,O()}),e.closeOnContentClick){var n=(0,S.inject)(ov,null);t.onClick=function(){y.value=!1,null==n||n.closeParents()}}return t}),M=(0,S.computed)(function(){var t={};return e.openOnHover&&(t.onMouseenter=function(){E&&(w=!0,E=!1,R())},t.onMouseleave=function(){w=!1,O()}),t}),(0,S.watch)(_,function(t){!t||(!e.openOnHover||w||N.value&&C)&&(!N.value||C||e.openOnHover&&w)||(y.value=!1)}),L=(0,k.ref)(),(0,S.watchEffect)(function(){L.value&&(0,S.nextTick)(function(){b.value=z(L.value)})}),j=ew("useActivator"),(0,S.watch)(function(){return!!e.activator},function(t){t&&T?(p=(0,k.effectScope)()).run(function(){var t,n,r,i,o,a;t={activatorEl:b,activatorEvents:B},n=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i(),n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.activatorProps;t&&function(e,t){Object.keys(t).forEach(function(n){if($(n)){var r,i=ef(n),o=om.get(e);if(null==t[n])null==o||o.forEach(function(t){var n=(0,x._)(t,2),r=n[0],a=n[1];r===i&&(e.removeEventListener(i,a),o.delete(t))});else if(!o||!(null===(r=(0,V._)(o))||void 0===r?void 0:r.some(function(e){return e[0]===i&&e[1]===t[n]}))){e.addEventListener(i,t[n]);var a=o||new Set;a.add([i,t[n]]),om.has(e)||om.set(e,a)}}else null==t[n]?e.removeAttribute(n):e.setAttribute(n,t[n])})}(t,(0,S.mergeProps)(a.value,n))},r=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i(),n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.activatorProps;t&&function(e,t){Object.keys(t).forEach(function(t){if($(t)){var n=ef(t),r=om.get(e);null==r||r.forEach(function(t){var i=(0,x._)(t,2),o=i[0],a=i[1];o===n&&(e.removeEventListener(n,a),r.delete(t))})}else e.removeAttribute(t)})}(t,(0,S.mergeProps)(a.value,n))},i=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e.activator;if(t){if("parent"===t){for(var n,r,i,a=null==j?void 0:null===(r=j.proxy)||void 0===r?void 0:null===(i=r.$el)||void 0===i?void 0:i.parentNode;null==a?void 0:a.hasAttribute("data-no-activator");)a=a.parentNode;n=a}else n="string"==typeof t?document.querySelector(t):"$el"in t?t.$el:t}return(// The activator should only be a valid element (Ignore comments and text nodes)
-o.value=(null==n?void 0:n.nodeType)===Node.ELEMENT_NODE?n:null,o.value)},o=t.activatorEl,a=t.activatorEvents,(0,S.watch)(function(){return e.activator},function(e,t){if(t&&e!==t){var o=i(t);o&&r(o)}e&&(0,S.nextTick)(function(){return n()})},{immediate:!0}),(0,S.watch)(function(){return e.activatorProps},function(){n()}),(0,k.onScopeDispose)(function(){r()})}):p&&p.stop()},{flush:"post",immediate:!0}),(0,k.onScopeDispose)(function(){null==p||p.stop()}),{activatorEl:b,activatorRef:L,activatorEvents:B,contentEvents:P,scrimEvents:M}),e_=ey.activatorEl,ex=ey.activatorRef,ek=ey.activatorEvents,eS=ey.contentEvents,eC=ey.scrimEvents,eE=nO(e).dimensionStyles,eV=o_(),eN=ox().scopeId;(0,S.watch)(function(){return e.disabled},function(e){e&&(er.value=!1)});var eT=(0,k.ref)(),eA=(0,k.ref)(),eD=(U={isRtl:eu,contentEl:eA,activatorEl:e_,isActive:er},Y=function(e){var t;null===(t=q.value)||void 0===t||t.call(q,e)},H=(0,k.ref)({}),q=(0,k.ref)(),T&&(e0(function(){return!!(U.isActive.value&&e.locationStrategy)},function(t){var n,r;(0,S.watch)(function(){return e.locationStrategy},t),(0,k.onScopeDispose)(function(){q.value=void 0}),"function"==typeof e.locationStrategy?q.value=null===(n=e.locationStrategy(U,e,H))||void 0===n?void 0:n.updateLocation:q.value=null===(r=oi[e.locationStrategy](U,e,H))||void 0===r?void 0:r.updateLocation}),window.addEventListener("resize",Y,{passive:!0}),(0,k.onScopeDispose)(function(){window.removeEventListener("resize",Y),q.value=void 0})),{contentStyles:H,updateLocation:q}),eR=eD.contentStyles,eO=eD.updateLocation;W={root:eT,contentEl:eA,activatorEl:e_,isActive:er,updateLocation:eO},T&&((0,S.watchEffect)(/*#__PURE__*/(0,h._)(function(){return(0,g.__generator)(this,function(t){switch(t.label){case 0:if(null==K||K.stop(),!(W.isActive.value&&e.scrollStrategy))return[2];return K=(0,k.effectScope)(),[4,(0,S.nextTick)()];case 1:return t.sent(),K.active&&K.run(function(){var t;"function"==typeof e.scrollStrategy?e.scrollStrategy(W,e,K):null===(t=od[e.scrollStrategy])||void 0===t||t.call(od,W,e,K)}),[2]}})})),(0,k.onScopeDispose)(function(){null==K||K.stop()})),T&&(0,S.watch)(er,function(e){e?window.addEventListener("keydown",J):window.removeEventListener("keydown",J)},{immediate:!0});var eI=rL();e0(function(){return e.closeOnBack},function(){var t,n,r,i,o;t=function(t){ep.value&&er.value?(t(!1),e.persistent?Z():er.value=!1):t()},i=function(e){var t;null!==(t=e.state)&&void 0!==t&&t.replaced||(o=!0,setTimeout(function(){return o=!1}))},o=!1,T&&((0,S.nextTick)(function(){window.addEventListener("popstate",i),n=null==eI?void 0:eI.beforeEach(function(e,n,r){rU?o?t(r):r():setTimeout(function(){return o?t(r):r()}),rU=!0}),r=null==eI?void 0:eI.afterEach(function(){rU=!1})}),(0,k.onScopeDispose)(function(){window.removeEventListener("popstate",i),null==n||n(),null==r||r()}))});var eB=(0,k.ref)();return(0,S.watch)(function(){return er.value&&(e.absolute||e.contained)&&null==ei.value},function(e){if(e){var t=ot(eT.value);t&&t!==document.scrollingElement&&(eB.value=t.scrollTop)}}),t5(function(){var t;return(0,S.createVNode)(S.Fragment,null,[null===(t=Q.activator)||void 0===t?void 0:t.call(Q,{isActive:er.value,props:(0,S.mergeProps)({ref:ex},ek.value,e.activatorProps)}),eV.value&&ec.value&&(0,S.createVNode)(S.Teleport,{disabled:!ei.value,to:ei.value},{default:function(){return[(0,S.createVNode)("div",(0,S.mergeProps)({class:["v-overlay",{"v-overlay--absolute":e.absolute||e.contained,"v-overlay--active":er.value,"v-overlay--contained":e.contained},eo.value,el.value,e.class],style:[em.value,{top:F(eB.value)},e.style],ref:eT},eN,ee),[(0,S.createVNode)(oA,(0,S.mergeProps)({color:eh,modelValue:er.value&&!!e.scrim},eC.value),null),(0,S.createVNode)(nM,{appear:!0,persisted:!0,transition:e.transition,target:e_.value,onAfterLeave:function(){ed(),et("afterLeave")}},{default:function(){var t;return[(0,S.withDirectives)((0,S.createVNode)("div",(0,S.mergeProps)({ref:eA,class:["v-overlay__content",e.contentClass],style:[eE.value,eR.value]},eS.value,e.contentProps),[null===(t=Q.default)||void 0===t?void 0:t.call(Q,{isActive:er})]),[[m.vShow,er.value],[(0,S.resolveDirective)("click-outside"),{handler:X,closeConditional:G,include:function(){return[e_.value]}}]])]}})])]}})])}),{activatorEl:e_,animateClick:Z,contentEl:eA,globalTop:ep,localTop:eg,updateLocation:eO}}}),V=f("2Yjkq"),oO=f("jZ8XT"),oI=Symbol("Forwarded refs");/** Omit properties starting with P */function oB(e,t){for(var n=e;n;){var r=Reflect.getOwnPropertyDescriptor(n,t);if(r)return r;n=Object.getPrototypeOf(n)}}function oP(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r1?t-1:0),r=1;r=0})||(o.value=!1,null===(r=s.value)||void 0===r||null===(i=r.activatorEl)||void 0===i||i.focus())}},i=t.slots,o=e1(e,"modelValue"),a=ox().scopeId,l=eC(),u=(0,S.computed)(function(){return e.id||"v-menu-".concat(l)}),s=(0,k.ref)(),c=(0,S.inject)(ov,null),d=(0,k.shallowRef)(0);function f(e){return p.apply(this,arguments)}function p(){return(p=(0,h._)(function(e){var t,n,r,i,a;return(0,g.__generator)(this,function(l){switch(l.label){case 0:return r=e.relatedTarget,i=e.target,[4,(0,S.nextTick)()];case 1:return l.sent(),o.value&&r!==i&&(null===(t=s.value)||void 0===t?void 0:t.contentEl)&&(null===(n=s.value)||void 0===n?void 0:n.globalTop)&&// It isn't the document or the menu body
![document,s.value.contentEl].includes(i)&&// It isn't inside the menu body
-!s.value.contentEl.contains(i)&&(null===(a=eg(s.value.contentEl)[0])||void 0===a||a.focus()),[2]}})})).apply(this,arguments)}(0,S.provide)(ov,{register:function(){++d.value},unregister:function(){--d.value},closeParents:function(){setTimeout(function(){d.value||(o.value=!1,null==c||c.closeParents())},40)}}),(0,S.watch)(o,function(e){e?(null==c||c.register(),document.addEventListener("focusin",f,{once:!0})):(null==c||c.unregister(),document.removeEventListener("focusin",f))});var m=(0,S.computed)(function(){return(0,S.mergeProps)({"aria-haspopup":"menu","aria-expanded":String(o.value),"aria-owns":u.value,onKeydown:function t(n){if(!e.disabled){var r,i=null===(r=s.value)||void 0===r?void 0:r.contentEl;i&&o.value?"ArrowDown"===n.key?(n.preventDefault(),ey(i,"next")):"ArrowUp"===n.key&&(n.preventDefault(),ey(i,"prev")):["ArrowDown","ArrowUp"].includes(n.key)&&(o.value=!0,n.preventDefault(),setTimeout(function(){return setTimeout(function(){return t(n)})}))}}},e.activatorProps)});return t5(function(){var t=(0,x._)(oR.filterProps(e),1)[0];return(0,S.createVNode)(oR,(0,S.mergeProps)({ref:s,class:["v-menu",e.class],style:e.style},t,{modelValue:o.value,"onUpdate:modelValue":function(e){return o.value=e},absolute:!0,activatorProps:m.value,"onClick:outside":n,onKeydown:r},a),{activator:i.activator,default:function(){for(var e=arguments.length,t=Array(e),n=0;n1&&void 0!==arguments[1]?arguments[1]:ex(),n=e1(e,"focused");return{focusClasses:(0,S.computed)(function(){return(0,tG._)({},"".concat(t,"--focused"),n.value)}),isFocused:n,focus:function(){n.value=!0},blur:function(){n.value=!1}}}var oW=["underlined","outlined","filled","solo","solo-inverted","solo-filled","plain"],oK=eU((0,p._)({appendInnerIcon:eH,bgColor:String,clearable:Boolean,clearIcon:{type:eH,default:"$clear"},active:Boolean,centerAffix:{type:Boolean,default:void 0},color:String,baseColor:String,dirty:Boolean,disabled:{type:Boolean,default:null},error:Boolean,flat:Boolean,label:String,persistentClear:Boolean,prependInnerIcon:eH,reverse:Boolean,singleLine:Boolean,variant:{type:String,default:"filled",validator:function(e){return oW.includes(e)}},"onClick:clear":eh(),"onClick:appendInner":eh(),"onClick:prependInner":eh()},tX(),rR(),nG(),tT()),"VField"),oX=eY()({name:"VField",inheritAttrs:!1,props:(0,p._)({id:String},oH(),oK()),emits:{"update:focused":function(e){return!0},"update:modelValue":function(e){return!0}},setup:function(e,t){var n=function(e){e.target!==document.activeElement&&e.preventDefault()},r=t.attrs,i=(t.emit,t.slots),o=tD(e).themeClasses,a=rO(e).loaderClasses,l=oq(e),u=l.focusClasses,s=l.isFocused,c=l.focus,d=l.blur,f=oY(e).InputIcon,h=n$(e).roundedClasses,g=te().rtlClasses,y=(0,S.computed)(function(){return e.dirty||e.active}),_=(0,S.computed)(function(){return!e.singleLine&&!!(e.label||i.label)}),w=eC(),x=(0,S.computed)(function(){return e.id||"input-".concat(w)}),C=(0,S.computed)(function(){return"".concat(x.value,"-messages")}),E=(0,k.ref)(),V=(0,k.ref)(),N=(0,k.ref)(),T=(0,S.computed)(function(){return["plain","underlined"].includes(e.variant)}),A=nW((0,k.toRef)(e,"bgColor")),D=A.backgroundColorClasses,R=A.backgroundColorStyles,O=nq((0,S.computed)(function(){return e.error||e.disabled?void 0:y.value&&s.value?e.color:e.baseColor})),I=O.textColorClasses,B=O.textColorStyles;(0,S.watch)(y,function(e){if(_.value){var t=E.value.$el,n=V.value.$el;requestAnimationFrame(function(){var r=ns(t),i=n.getBoundingClientRect(),o=i.x-r.x,a=i.y-r.y-(r.height/2-i.height/2),l=i.width/.75,u=Math.abs(l-r.width)>1?{maxWidth:F(l)}:void 0,s=getComputedStyle(t),c=getComputedStyle(n),d=1e3*parseFloat(s.transitionDuration)||150,f=parseFloat(c.getPropertyValue("--v-field-label-scale")),h=c.getPropertyValue("color");t.style.visibility="visible",n.style.visibility="hidden",nc(t,(0,p._)({transform:"translate(".concat(o,"px, ").concat(a,"px) scale(").concat(f,")"),color:h},u),{duration:d,easing:na,direction:e?"normal":"reverse"}).finished.then(function(){t.style.removeProperty("visibility"),n.style.removeProperty("visibility")})})}},{flush:"post"});var P=(0,S.computed)(function(){return{isActive:y,isFocused:s,controlRef:N,blur:d,focus:c}});return t5(function(){var t,l,s,w,k="outlined"===e.variant,N=i["prepend-inner"]||e.prependInnerIcon,A=!!(e.clearable||i.clear),O=!!(i["append-inner"]||e.appendInnerIcon||A),M=i.label?i.label((0,b._)((0,p._)({},P.value),{label:e.label,props:{for:x.value}})):e.label;return(0,S.createVNode)("div",(0,S.mergeProps)({class:["v-field",(0,tG._)({"v-field--active":y.value,"v-field--appended":O,"v-field--center-affix":null!==(w=e.centerAffix)&&void 0!==w?w:!T.value,"v-field--disabled":e.disabled,"v-field--dirty":e.dirty,"v-field--error":e.error,"v-field--flat":e.flat,"v-field--has-background":!!e.bgColor,"v-field--persistent-clear":e.persistentClear,"v-field--prepended":N,"v-field--reverse":e.reverse,"v-field--single-line":e.singleLine,"v-field--no-label":!M},"v-field--variant-".concat(e.variant),!0),o.value,D.value,u.value,a.value,h.value,g.value,e.class],style:[R.value,e.style],onClick:n},r),[(0,S.createVNode)("div",{class:"v-field__overlay"},null),(0,S.createVNode)(rI,{name:"v-field",active:!!e.loading,color:e.error?"error":"string"==typeof e.loading?e.loading:e.color},{default:i.loader}),N&&(0,S.createVNode)("div",{key:"prepend",class:"v-field__prepend-inner"},[e.prependInnerIcon&&(0,S.createVNode)(f,{key:"prepend-icon",name:"prependInner"},null),null===(t=i["prepend-inner"])||void 0===t?void 0:t.call(i,P.value)]),(0,S.createVNode)("div",{class:"v-field__field","data-no-activator":""},[["filled","solo","solo-inverted","solo-filled"].includes(e.variant)&&_.value&&(0,S.createVNode)(oz,{key:"floating-label",ref:V,class:[I.value],floating:!0,for:x.value,style:B.value},{default:function(){return[M]}}),(0,S.createVNode)(oz,{ref:E,for:x.value},{default:function(){return[M]}}),null===(l=i.default)||void 0===l?void 0:l.call(i,(0,b._)((0,p._)({},P.value),{props:{id:x.value,class:"v-field__input","aria-describedby":C.value},focus:c,blur:d}))]),A&&(0,S.createVNode)(nT,{key:"clear"},{default:function(){return[(0,S.withDirectives)((0,S.createVNode)("div",{class:"v-field__clearable",onMousedown:function(e){e.preventDefault(),e.stopPropagation()}},[i.clear?i.clear():(0,S.createVNode)(f,{name:"clear"},null)]),[[m.vShow,e.dirty]])]}}),O&&(0,S.createVNode)("div",{key:"append",class:"v-field__append-inner"},[null===(s=i["append-inner"])||void 0===s?void 0:s.call(i,P.value),e.appendInnerIcon&&(0,S.createVNode)(f,{key:"append-icon",name:"appendInner"},null)]),(0,S.createVNode)("div",{class:["v-field__outline",I.value],style:B.value},[k&&(0,S.createVNode)(S.Fragment,null,[(0,S.createVNode)("div",{class:"v-field__outline__start"},null),_.value&&(0,S.createVNode)("div",{class:"v-field__outline__notch"},[(0,S.createVNode)(oz,{ref:V,floating:!0,for:x.value},{default:function(){return[M]}})]),(0,S.createVNode)("div",{class:"v-field__outline__end"},null)]),T.value&&_.value&&(0,S.createVNode)(oz,{ref:V,floating:!0,for:x.value},{default:function(){return[M]}})])])}),{controlRef:N}}});function oG(e){return K(e,Object.keys(oX.props).filter(function(e){return!$(e)&&"class"!==e&&"style"!==e}))}var p=f("a42Vg");f("7DTtY");var S=f("5BxzC"),p=f("a42Vg");f("7DTtY");var S=f("5BxzC"),o$=eU((0,p._)({active:Boolean,color:String,messages:{type:[Array,String],default:function(){return[]}}},tX(),nP({transition:{component:nE,leaveAbsolute:!0,group:!0}})),"VMessages"),oJ=eY()({name:"VMessages",props:o$(),setup:function(e,t){var n=t.slots,r=(0,S.computed)(function(){return Q(e.messages)}),i=nq((0,S.computed)(function(){return e.color})),o=i.textColorClasses,a=i.textColorStyles;return t5(function(){return(0,S.createVNode)(nM,{transition:e.transition,tag:"div",class:["v-messages",o.value,e.class],style:[a.value,e.style],role:"alert","aria-live":"polite"},{default:function(){return[e.active&&r.value.map(function(e,t){return(0,S.createVNode)("div",{class:"v-messages__message",key:"".concat(t,"-").concat(r.value)},[n.message?n.message({message:e}):e])})]}})}),{}}}),h=f("xJRWs"),tG=f("h8xva"),p=f("a42Vg"),g=(f("3XT9C"),f("3XT9C")),h=f("xJRWs"),g=f("3XT9C");f("7DTtY");var S=f("5BxzC"),k=f("bNhjt"),oZ=Symbol.for("vuetify:form"),oQ=eU({disabled:Boolean,fastFail:Boolean,readonly:Boolean,modelValue:{type:Boolean,default:null},validateOn:{type:String,default:"input"}},"form");function o0(){return(0,S.inject)(oZ,null)}f("7DTtY");var S=f("5BxzC"),k=f("bNhjt"),o1=eU((0,p._)({disabled:{type:Boolean,default:null},error:Boolean,errorMessages:{type:[Array,String],default:function(){return[]}},maxErrors:{type:[Number,String],default:1},name:String,label:String,readonly:{type:Boolean,default:null},rules:{type:Array,default:function(){return[]}},modelValue:null,validateOn:String,validationValue:null},oH()),"validation");function o2(e){var t,n,r,i=function(){u.value=null,(0,S.nextTick)(o)},o=function(){f.value=!0,b.value.lazy?d.value=[]:V(!0)},a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ex(),l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:eC(),u=e1(e,"modelValue"),s=(0,S.computed)(function(){return void 0===e.validationValue?u.value:e.validationValue}),c=o0(),d=(0,k.ref)([]),f=(0,k.shallowRef)(!0),p=(0,S.computed)(function(){return!!(Q(""===u.value?null:u.value).length||Q(""===s.value?null:s.value).length)}),m=(0,S.computed)(function(){return!!(null!==(t=e.disabled)&&void 0!==t?t:null==c?void 0:c.isDisabled.value)}),y=(0,S.computed)(function(){return!!(null!==(n=e.readonly)&&void 0!==n?n:null==c?void 0:c.isReadonly.value)}),_=(0,S.computed)(function(){return e.errorMessages.length?Q(e.errorMessages).slice(0,Math.max(0,+e.maxErrors)):d.value}),b=(0,S.computed)(function(){var t,n,r=(null!==(t=e.validateOn)&&void 0!==t?t:null==c?void 0:c.validateOn.value)||"input";"lazy"===r&&(r="input lazy");var i=new Set(null!==(n=null==r?void 0:r.split(" "))&&void 0!==n?n:[]);return{blur:i.has("blur")||i.has("input"),input:i.has("input"),submit:i.has("submit"),lazy:i.has("lazy")}}),w=(0,S.computed)(function(){return!e.error&&!e.errorMessages.length&&(!e.rules.length||(f.value?!d.value.length&&!b.value.lazy||null:!d.value.length))}),x=(0,k.shallowRef)(!1),C=(0,S.computed)(function(){var e;return e={},(0,tG._)(e,"".concat(a,"--error"),!1===w.value),(0,tG._)(e,"".concat(a,"--dirty"),p.value),(0,tG._)(e,"".concat(a,"--disabled"),m.value),(0,tG._)(e,"".concat(a,"--readonly"),y.value),e}),E=(0,S.computed)(function(){return null!==(r=e.name)&&void 0!==r?r:(0,k.unref)(l)});function V(){return N.apply(this,arguments)}function N(){return(N=(0,h._)(function(){var t,n,r,i,o,a,l,u,c;return(0,g.__generator)(this,function(h){switch(h.label){case 0:t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=[],x.value=!0,r=!0,i=!1,o=void 0,h.label=1;case 1:h.trys.push([1,6,7,8]),a=function(){var t,r,i;return(0,g.__generator)(this,function(o){switch(o.label){case 0:if(t=u.value,n.length>=+(null!==(r=e.maxErrors)&&void 0!==r?r:1))return[2,"break"];return[4,("function"==typeof t?t:function(){return t})(s.value)];case 1:if(!0===(i=o.sent()))return[2,"continue"];if(!1!==i&&"string"!=typeof i)return(// eslint-disable-next-line no-console
-console.warn("".concat(i," is not a valid value. Rule functions must return boolean true or a string.")),[2,"continue"]);return n.push(i||""),[2]}})},l=e.rules[Symbol.iterator](),h.label=2;case 2:if(r=(u=l.next()).done)return[3,5];return[5,(0,g.__values)(a())];case 3:if("break"===h.sent())return[3,5];h.label=4;case 4:return r=!0,[3,2];case 5:return[3,8];case 6:return c=h.sent(),i=!0,o=c,[3,8];case 7:try{r||null==l.return||l.return()}finally{if(i)throw o}return[7];case 8:return d.value=n,x.value=!1,f.value=t,[2,d.value]}})})).apply(this,arguments)}return(0,S.onBeforeMount)(function(){null==c||c.register({id:E.value,validate:V,reset:i,resetValidation:o})}),(0,S.onBeforeUnmount)(function(){null==c||c.unregister(E.value)}),(0,S.onMounted)(/*#__PURE__*/(0,h._)(function(){return(0,g.__generator)(this,function(e){switch(e.label){case 0:if(b.value.lazy)return[3,2];return[4,V(!0)];case 1:e.sent(),e.label=2;case 2:return null==c||c.update(E.value,w.value,_.value),[2]}})})),e0(function(){return b.value.input},function(){(0,S.watch)(s,function(){if(null!=s.value)V();else if(e.focused)var t=(0,S.watch)(function(){return e.focused},function(e){e||V(),t()})})}),e0(function(){return b.value.blur},function(){(0,S.watch)(function(){return e.focused},function(e){e||V()})}),(0,S.watch)(w,function(){null==c||c.update(E.value,w.value,_.value)}),{errorMessages:_,isDirty:p,isDisabled:m,isReadonly:y,isPristine:f,isValid:w,isValidating:x,reset:i,resetValidation:o,validate:V,validationClasses:C}}var o3=eU((0,p._)({id:String,appendIcon:eH,centerAffix:{type:Boolean,default:!0},prependIcon:eH,hideDetails:[Boolean,String],hint:String,persistentHint:Boolean,messages:{type:[Array,String],default:function(){return[]}},direction:{type:String,default:"horizontal",validator:function(e){return["horizontal","vertical"].includes(e)}},"onClick:prepend":eh(),"onClick:append":eh()},tX(),n4(),o1()),"VInput"),o5=eY()({name:"VInput",props:(0,p._)({},o3()),emits:{"update:modelValue":function(e){return!0}},setup:function(e,t){t.attrs;var n=t.slots;t.emit;var r=n6(e).densityClasses,i=te().rtlClasses,o=oY(e).InputIcon,a=eC(),l=(0,S.computed)(function(){return e.id||"input-".concat(a)}),u=(0,S.computed)(function(){return"".concat(l.value,"-messages")}),s=o2(e,"v-input",l),c=s.errorMessages,d=s.isDirty,f=s.isDisabled,h=s.isReadonly,p=s.isPristine,g=s.isValid,m=s.isValidating,y=s.reset,_=s.resetValidation,b=s.validate,w=s.validationClasses,x=(0,S.computed)(function(){return{id:l,messagesId:u,isDirty:d,isDisabled:f,isReadonly:h,isPristine:p,isValid:g,isValidating:m,reset:y,resetValidation:_,validate:b}}),k=(0,S.computed)(function(){var t;return(null===(t=e.errorMessages)||void 0===t?void 0:t.length)||!p.value&&c.value.length?c.value:e.hint&&(e.persistentHint||e.focused)?e.hint:e.messages});return t5(function(){var t,a,l,s,c=!!(n.prepend||e.prependIcon),d=!!(n.append||e.appendIcon),f=k.value.length>0,h=!e.hideDetails||"auto"===e.hideDetails&&(f||!!n.details);return(0,S.createVNode)("div",{class:["v-input","v-input--".concat(e.direction),{"v-input--center-affix":e.centerAffix},r.value,i.value,w.value,e.class],style:e.style},[c&&(0,S.createVNode)("div",{key:"prepend",class:"v-input__prepend"},[null===(t=n.prepend)||void 0===t?void 0:t.call(n,x.value),e.prependIcon&&(0,S.createVNode)(o,{key:"prepend-icon",name:"prepend"},null)]),n.default&&(0,S.createVNode)("div",{class:"v-input__control"},[null===(a=n.default)||void 0===a?void 0:a.call(n,x.value)]),d&&(0,S.createVNode)("div",{key:"append",class:"v-input__append"},[e.appendIcon&&(0,S.createVNode)(o,{key:"append-icon",name:"append"},null),null===(l=n.append)||void 0===l?void 0:l.call(n,x.value)]),h&&(0,S.createVNode)("div",{class:"v-input__details"},[(0,S.createVNode)(oJ,{id:u.value,active:f,messages:k.value},{message:n.message}),null===(s=n.details)||void 0===s?void 0:s.call(n,x.value)])])}),{reset:y,resetValidation:_,validate:b}}}),o4=["color","file","time","date","datetime-local","week","month"],o6=eU((0,p._)({autofocus:Boolean,counter:[Boolean,Number,String],counterValue:Function,prefix:String,placeholder:String,persistentPlaceholder:Boolean,persistentCounter:Boolean,suffix:String,role:String,type:{type:String,default:"text"},modelModifiers:Object},o3(),oK()),"VTextField"),o8=eY()({name:"VTextField",directives:{Intersect:nj},inheritAttrs:!1,props:o6(),emits:{"click:control":function(e){return!0},"mousedown:control":function(e){return!0},"update:focused":function(e){return!0},"update:modelValue":function(e){return!0}},setup:function(e,t){var n=function(t,n){var r,i;e.autofocus&&t&&(null===(r=n[0].target)||void 0===r||null===(i=r.focus)||void 0===i||i.call(r))},r=function(){var e;N.value!==document.activeElement&&(null===(e=N.value)||void 0===e||e.focus()),h.value||g()},i=function(e){s("mousedown:control",e),e.target!==N.value&&(r(),e.preventDefault())},o=function(e){r(),s("click:control",e)},a=function(t){t.stopPropagation(),r(),(0,S.nextTick)(function(){d.value=null,ep(e["onClick:clear"],t)})},l=function(t){var n,r=t.target;if(d.value=r.value,(null===(n=e.modelModifiers)||void 0===n?void 0:n.trim)&&["text","search","password","tel","url"].includes(e.type)){var i=[r.selectionStart,r.selectionEnd];(0,S.nextTick)(function(){r.selectionStart=i[0],r.selectionEnd=i[1]})}},u=t.attrs,s=t.emit,c=t.slots,d=e1(e,"modelValue"),f=oq(e),h=f.isFocused,g=f.focus,m=f.blur,y=(0,S.computed)(function(){var t;return"function"==typeof e.counterValue?e.counterValue(d.value):(null!==(t=d.value)&&void 0!==t?t:"").toString().length}),_=(0,S.computed)(function(){return u.maxlength?u.maxlength:e.counter&&("number"==typeof e.counter||"string"==typeof e.counter)?e.counter:void 0}),C=(0,S.computed)(function(){return["plain","underlined"].includes(e.variant)}),E=(0,k.ref)(),V=(0,k.ref)(),N=(0,k.ref)(),T=(0,S.computed)(function(){return o4.includes(e.type)||e.persistentPlaceholder||h.value||e.active});return t5(function(){var t=!!(c.counter||e.counter||e.counterValue),s=!!(t||c.details),f=(0,x._)(Z(u),2),g=f[0],k=f[1],A=o5.filterProps(e),D=((0,x._)(A,1)[0].modelValue,w(A[0],["modelValue"])),R=(0,x._)(oG(e),1)[0];return(0,S.createVNode)(o5,(0,S.mergeProps)({ref:E,modelValue:d.value,"onUpdate:modelValue":function(e){return d.value=e},class:["v-text-field",{"v-text-field--prefixed":e.prefix,"v-text-field--suffixed":e.suffix,"v-text-field--plain-underlined":["plain","underlined"].includes(e.variant)},e.class],style:e.style},g,D,{centerAffix:!C.value,focused:h.value}),(0,b._)((0,p._)({},c),{default:function(t){var u=t.id,s=t.isDisabled,f=t.isDirty,g=t.isReadonly,y=t.isValid;return(0,S.createVNode)(oX,(0,S.mergeProps)({ref:V,onMousedown:i,onClick:o,"onClick:clear":a,"onClick:prependInner":e["onClick:prependInner"],"onClick:appendInner":e["onClick:appendInner"],role:e.role},R,{id:u.value,active:T.value||f.value,dirty:f.value||e.dirty,disabled:s.value,focused:h.value,error:!1===y.value}),(0,b._)((0,p._)({},c),{default:function(t){var i=t.props.class,o=w(t.props,["class"]),a=(0,S.withDirectives)((0,S.createVNode)("input",(0,S.mergeProps)({ref:N,value:d.value,onInput:l,autofocus:e.autofocus,readonly:g.value,disabled:s.value,name:e.name,placeholder:e.placeholder,size:1,type:e.type,onFocus:r,onBlur:m},o,k),null),[[(0,S.resolveDirective)("intersect"),{handler:n},null,{once:!0}]]);return(0,S.createVNode)(S.Fragment,null,[e.prefix&&(0,S.createVNode)("span",{class:"v-text-field__prefix"},[(0,S.createVNode)("span",{class:"v-text-field__prefix__text"},[e.prefix])]),c.default?(0,S.createVNode)("div",{class:i,"data-no-activator":""},[c.default(),a]):(0,S.cloneVNode)(a,{class:i}),e.suffix&&(0,S.createVNode)("span",{class:"v-text-field__suffix"},[(0,S.createVNode)("span",{class:"v-text-field__suffix__text"},[e.suffix])])])}}))},details:s?function(n){var r;return(0,S.createVNode)(S.Fragment,null,[null===(r=c.details)||void 0===r?void 0:r.call(c,n),t&&(0,S.createVNode)(S.Fragment,null,[(0,S.createVNode)("span",null,null),(0,S.createVNode)(oF,{active:e.persistentCounter||h.value,value:y.value,max:_.value},c.counter)])])}:void 0}))}),oP({},E,V,N)}}),p=f("a42Vg");f("7DTtY");var k=f("bNhjt"),S=f("5BxzC"),p=f("a42Vg");f("7DTtY");var S=f("5BxzC"),o7=eU((0,p._)({renderless:Boolean},tX()),"VVirtualScrollItem"),o9=eY()({name:"VVirtualScrollItem",inheritAttrs:!1,props:o7(),emits:{"update:height":function(e){return!0}},setup:function(e,t){var n=t.attrs,r=t.emit,i=t.slots,o=t$(void 0,"border"),a=o.resizeRef,l=o.contentRect;(0,S.watch)(function(){var e;return null===(e=l.value)||void 0===e?void 0:e.height},function(e){null!=e&&r("update:height",e)}),t5(function(){var t,r;return e.renderless?(0,S.createVNode)(S.Fragment,null,[null===(t=i.default)||void 0===t?void 0:t.call(i,{itemRef:a})]):(0,S.createVNode)("div",(0,S.mergeProps)({ref:a,class:["v-virtual-scroll__item",e.class],style:e.style},n),[null===(r=i.default)||void 0===r?void 0:r.call(i)])})}});// Composables
-f("7DTtY");var k=f("bNhjt"),S=f("5BxzC"),ae=eU({itemHeight:{type:[Number,String],default:48}},"virtual"),at=eU((0,p._)({items:{type:Array,default:function(){return[]}},renderless:Boolean},ae(),tX(),nR()),"VVirtualScroll"),an=eY()({name:"VVirtualScroll",props:at(),setup:function(e,t){var n,r,i,o,a,l,u,s,c,d,f,h,g,m,y,_,b,w,x,C,E,V=t.slots,N=ew("VVirtualScroll"),T=nO(e).dimensionStyles,A=(n=(0,k.toRef)(e,"items"),o=function(e){return y.slice(0,e).reduce(function(e,t){return e+(t||s.value)},0)},a=function(e){for(var t=n.value.length,r=0,i=0;i=s&&(l.value=ee(u,0,n.value.length-_.value)),b=t}},handleItemResize:function(e,t){s.value=Math.max(s.value,t),y[e]=t,m.set(n.value[e],t)}}),D=A.containerRef,R=A.handleScroll,O=A.handleItemResize,I=A.scrollToIndex,B=A.paddingTop,P=A.paddingBottom,M=A.computedItems;return e0(function(){return e.renderless},function(){(0,S.onMounted)(function(){var e;D.value=ot(N.vnode.el,!0),null===(e=D.value)||void 0===e||e.addEventListener("scroll",R)}),(0,k.onScopeDispose)(function(){var e;null===(e=D.value)||void 0===e||e.removeEventListener("scroll",R)})}),t5(function(){var t=M.value.map(function(t){return(0,S.createVNode)(o9,{key:t.index,renderless:e.renderless,"onUpdate:height":function(e){return O(t.index,e)}},{default:function(e){var n;return null===(n=V.default)||void 0===n?void 0:n.call(V,(0,p._)({item:t.raw,index:t.index},e))}})});return e.renderless?(0,S.createVNode)(S.Fragment,null,[(0,S.createVNode)("div",{class:"v-virtual-scroll__spacer",style:{paddingTop:F(B.value)}},null),t,(0,S.createVNode)("div",{class:"v-virtual-scroll__spacer",style:{paddingBottom:F(P.value)}},null)]):(0,S.createVNode)("div",{ref:D,class:["v-virtual-scroll",e.class],onScroll:R,style:[T.value,e.style]},[(0,S.createVNode)("div",{class:"v-virtual-scroll__container",style:{paddingTop:F(B.value),paddingBottom:F(P.value)}},[t])])}),{scrollToIndex:I}}}),h=f("xJRWs"),V=f("2Yjkq"),g=f("3XT9C");f("7DTtY");var k=f("bNhjt"),S=f("5BxzC");function ar(e,t){var n,r=(0,k.shallowRef)(!1);function i(){return(i=(0,h._)(function(){return(0,g.__generator)(this,function(e){switch(e.label){case 0:return[4,new Promise(function(e){return requestAnimationFrame(e)})];case 1:return e.sent(),[4,new Promise(function(e){return requestAnimationFrame(e)})];case 2:return e.sent(),[4,new Promise(function(e){return requestAnimationFrame(e)})];case 3:return e.sent(),[4,new Promise(function(e){if(r.value)var t=(0,S.watch)(r,function(){t(),e()});else e()})];case 4:return e.sent(),[2]}})})).apply(this,arguments)}function o(){return(o=(0,h._)(function(n){var r,o,a,l,u,s,c,d,f,h,p,m,y,_,b,w,x,k;return(0,g.__generator)(this,function(g){switch(g.label){case 0:if("Tab"===n.key&&(null===(r=t.value)||void 0===r||r.focus()),!["PageDown","PageUp","Home","End"].includes(n.key)||!(a=null===(o=e.value)||void 0===o?void 0:o.$el))return[2];return("Home"===n.key||"End"===n.key)&&a.scrollTo({top:"Home"===n.key?0:a.scrollHeight,behavior:"smooth"}),[4,function(){return i.apply(this,arguments)}()];case 1:if(g.sent(),l=a.querySelectorAll(":scope > :not(.v-virtual-scroll__spacer)"),"PageDown"===n.key||"Home"===n.key){u=a.getBoundingClientRect().top,s=!0,c=!1,d=void 0;try{for(f=l[Symbol.iterator]();!(s=(h=f.next()).done);s=!0)if((p=h.value).getBoundingClientRect().top>=u){p.focus();break}}catch(e){c=!0,d=e}finally{try{s||null==f.return||f.return()}finally{if(c)throw d}}}else{m=a.getBoundingClientRect().bottom,y=!0,_=!1,b=void 0;try{for(w=(0,V._)(l).reverse()[Symbol.iterator]();!(y=(x=w.next()).done);y=!0)if((k=x.value).getBoundingClientRect().bottom<=m){k.focus();break}}catch(e){_=!0,b=e}finally{try{y||null==w.return||w.return()}finally{if(_)throw b}}}return[2]}})})).apply(this,arguments)}return{onListScroll:function(e){cancelAnimationFrame(n),r.value=!0,n=requestAnimationFrame(function(){n=requestAnimationFrame(function(){r.value=!1})})},onListKeydown:function(e){return o.apply(this,arguments)}}}var ai=eU((0,p._)({chips:Boolean,closableChips:Boolean,closeText:{type:String,default:"$vuetify.close"},openText:{type:String,default:"$vuetify.open"},eager:Boolean,hideNoData:Boolean,hideSelected:Boolean,menu:Boolean,menuIcon:{type:eH,default:"$dropdown"},menuProps:{type:Object},multiple:Boolean,noDataText:{type:String,default:"$vuetify.noDataText"},openOnClear:Boolean,itemColor:String},i3({itemChildren:!1})),"Select"),ao=eU((0,p._)({},ai(),X(o6({modelValue:null,role:"button"}),["validationValue","dirty","appendInnerIcon"]),nP({transition:{component:nf}})),"VSelect"),aa=eY()({name:"VSelect",props:ao(),emits:{"update:focused":function(e){return!0},"update:modelValue":function(e){return!0},"update:menu":function(e){return!0}},setup:function(e,t){var n,r=function(t){e.openOnClear&&(_.value=!0)},i=function(){M.value||(_.value=!_.value)},o=function(t){if(t.key&&!e.readonly&&(null==D||!D.isReadonly.value)&&(["Enter"," ","ArrowDown","ArrowUp","Home","End"].includes(t.key)&&t.preventDefault(),["Enter","ArrowDown"," "].includes(t.key)&&(_.value=!0),["Escape","Tab"].includes(t.key)&&(_.value=!1),"Home"===t.key?null===(r=L.value)||void 0===r||r.focus("first"):"End"===t.key&&(null===(i=L.value)||void 0===i||i.focus("last")),!e.multiple&&(o=1===t.key.length,a=!t.ctrlKey&&!t.metaKey&&!t.altKey,o&&a))){var r,i,o,a,l=performance.now();l-n>1e3&&(B=""),B+=t.key.toLowerCase(),n=l;var u=C.value.find(function(e){return e.title.toLowerCase().startsWith(B)});void 0!==u&&(A.value=[u])}},a=function(t){if(e.multiple){var n=A.value.findIndex(function(n){return e.valueComparator(n.value,t.value)});if(-1===n)A.value=(0,V._)(A.value).concat([t]);else{var r=(0,V._)(A.value);r.splice(n,1),A.value=r}}else A.value=[t],_.value=!1},l=function(e){var t;(null===(t=L.value)||void 0===t?void 0:t.$el.contains(e.relatedTarget))||(_.value=!1)},u=function(){var e;O.value&&(null===(e=h.value)||void 0===e||e.focus())},s=function(e){O.value=!0},c=function(e){if(null==e)A.value=[];else if(eb(h.value,":autofill")||eb(h.value,":-webkit-autofill")){var t=C.value.find(function(t){return t.title===e});t&&a(t)}else h.value&&(h.value.value="")},d=t.slots,f=e9().t,h=(0,k.ref)(),g=(0,k.ref)(),m=(0,k.ref)(),y=e1(e,"menu"),_=(0,S.computed)({get:function(){return y.value},set:function(e){var t;y.value&&!e&&null!==(t=g.value)&&void 0!==t&&t.ΨopenChildren||(y.value=e)}}),w=i6(e),C=w.items,E=w.transformIn,N=w.transformOut,A=e1(e,"modelValue",[],function(e){return E(null===e?[null]:Q(e))},function(t){var n,r=N(t);return e.multiple?r:null!==(n=r[0])&&void 0!==n?n:null}),D=o0(),R=(0,S.computed)(function(){return A.value.map(function(e){return e.value})}),O=(0,k.shallowRef)(!1),I=(0,S.computed)(function(){return _.value?e.closeText:e.openText}),B="",P=(0,S.computed)(function(){return e.hideSelected?C.value.filter(function(e){return!A.value.some(function(t){return t===e})}):C.value}),M=(0,S.computed)(function(){return e.hideNoData&&!C.value.length||e.readonly||(null==D?void 0:D.isReadonly.value)}),L=(0,k.ref)(),j=ar(L,h),F=j.onListScroll,U=j.onListKeydown;return(0,S.watch)(_,function(){if(!e.hideSelected&&_.value&&A.value.length){var t=P.value.findIndex(function(t){return A.value.some(function(n){return e.valueComparator(n.value,t.value)})});T&&window.requestAnimationFrame(function(){var e;t>=0&&(null===(e=m.value)||void 0===e||e.scrollToIndex(t))})}}),t5(function(){var t,n,y,w=!!(e.chips||d.chip),k=!!(!e.hideNoData||P.value.length||d["prepend-item"]||d["append-item"]||d["no-data"]),C=A.value.length>0,E=(0,x._)(o8.filterProps(e),1)[0],N=C||!O.value&&e.label&&!e.persistentPlaceholder?void 0:e.placeholder;return(0,S.createVNode)(o8,(0,S.mergeProps)({ref:h},E,{modelValue:A.value.map(function(e){return e.props.value}).join(", "),"onUpdate:modelValue":c,focused:O.value,"onUpdate:focused":function(e){return O.value=e},validationValue:A.externalValue,dirty:C,class:["v-select",(y={"v-select--active-menu":_.value,"v-select--chips":!!e.chips},(0,tG._)(y,"v-select--".concat(e.multiple?"multiple":"single"),!0),(0,tG._)(y,"v-select--selected",A.value.length),(0,tG._)(y,"v-select--selection-slot",!!d.selection),y),e.class],style:e.style,inputmode:"none",placeholder:N,"onClick:clear":r,"onMousedown:control":i,onBlur:l,onKeydown:o,"aria-label":f(I.value),title:f(I.value)}),(0,b._)((0,p._)({},d),{default:function(){return(0,S.createVNode)(S.Fragment,null,[(0,S.createVNode)(oL,(0,S.mergeProps)({ref:g,modelValue:_.value,"onUpdate:modelValue":function(e){return _.value=e},activator:"parent",contentClass:"v-select__content",disabled:M.value,eager:e.eager,maxHeight:310,openOnClick:!1,closeOnContentClick:!1,transition:e.transition,onAfterLeave:u},e.menuProps),{default:function(){return[k&&(0,S.createVNode)(i7,{ref:L,selected:R.value,selectStrategy:e.multiple?"independent":"single-independent",onMousedown:function(e){return e.preventDefault()},onKeydown:U,onFocusin:s,onScrollPassive:F,tabindex:"-1",color:null!==(t=e.itemColor)&&void 0!==t?t:e.color},{default:function(){var t,r,i;return[null===(t=d["prepend-item"])||void 0===t?void 0:t.call(d),!P.value.length&&!e.hideNoData&&(null!==(n=null===(r=d["no-data"])||void 0===r?void 0:r.call(d))&&void 0!==n?n:(0,S.createVNode)(i$,{title:f(e.noDataText)},null)),(0,S.createVNode)(an,{ref:m,renderless:!0,items:P.value},{default:function(t){var n,r,i=t.item,o=t.index,l=t.itemRef,u=(0,S.mergeProps)(i.props,{ref:l,key:o,onClick:function(){return a(i)}});return null!==(r=null===(n=d.item)||void 0===n?void 0:n.call(d,{item:i,index:o,props:u}))&&void 0!==r?r:(0,S.createVNode)(i$,u,{prepend:function(t){var n=t.isSelected;return(0,S.createVNode)(S.Fragment,null,[e.multiple&&!e.hideSelected?(0,S.createVNode)(i_,{key:i.value,modelValue:n,ripple:!1,tabindex:"-1"},null):void 0,i.props.prependIcon&&(0,S.createVNode)(rp,{icon:i.props.prependIcon},null)])}})}}),null===(i=d["append-item"])||void 0===i?void 0:i.call(d)]}})]}}),A.value.map(function(t,n){var r,i,o={"onClick:close":function(e){e.stopPropagation(),e.preventDefault(),a(t)},onMousedown:function(e){e.preventDefault(),e.stopPropagation()},modelValue:!0,"onUpdate:modelValue":void 0};return(0,S.createVNode)("div",{key:t.value,class:"v-select__selection"},[w?d.chip?(0,S.createVNode)(nD,{key:"chip-defaults",defaults:{VChip:{closable:e.closableChips,size:"small",text:t.title}}},{default:function(){var e;return[null===(e=d.chip)||void 0===e?void 0:e.call(d,{item:t,index:n,props:o})]}}):(0,S.createVNode)(iE,(0,S.mergeProps)({key:"chip",closable:e.closableChips,size:"small",text:t.title},o),null):null!==(i=null===(r=d.selection)||void 0===r?void 0:r.call(d,{item:t,index:n}))&&void 0!==i?i:(0,S.createVNode)("span",{class:"v-select__selection-text"},[t.title,e.multiple&&n-1||["Enter","ArrowDown","ArrowUp"].includes(t.key))&&t.preventDefault(),["Enter","ArrowDown"].includes(t.key)&&(A.value=!0),["Escape"].includes(t.key)&&(A.value=!1),G.value&&["Enter","Tab"].includes(t.key)&&f(K.value[0]),"ArrowDown"===t.key&&G.value&&(null===(a=J.value)||void 0===a||a.focus("next")),e.multiple){if(["Backspace","Delete"].includes(t.key)){if(D.value<0){"Backspace"!==t.key||U.value||(D.value=r-1);return}var i=D.value,o=z.value[D.value];o&&f(o),D.value=i>=r-1?r-2:i}if("ArrowLeft"===t.key){if(D.value<0&&n>0)return;var a,l,u,s=D.value>-1?D.value-1:r-1;z.value[s]?D.value=s:(D.value=-1,m.value.setSelectionRange(null===(l=U.value)||void 0===l?void 0:l.length,null===(u=U.value)||void 0===u?void 0:u.length))}if("ArrowRight"===t.key){if(D.value<0)return;var c=D.value+1;z.value[c]?D.value=c:(D.value=-1,m.value.setSelectionRange(0,0))}}}},a=function(e){U.value=e.target.value},l=function(e){if(eb(m.value,":autofill")||eb(m.value,":-webkit-autofill")){var t=B.value.find(function(t){return t.title===e.target.value});t&&f(t)}},u=function(){if(y.value){var e;_.value=!0,null===(e=m.value)||void 0===e||e.focus()}},s=function(e){y.value=!0,setTimeout(function(){w.value=!0})},c=function(e){w.value=!1},d=function(t){null!=t&&(""!==t||e.multiple)||(z.value=[])},f=function(t){if(e.multiple){var n=z.value.findIndex(function(n){return e.valueComparator(n.value,t.value)});if(-1===n)z.value=(0,V._)(z.value).concat([t]);else{var r=(0,V._)(z.value);r.splice(n,1),z.value=r}}else z.value=[t],en.value=!0,U.value=t.title,A.value=!1,_.value=!0,(0,S.nextTick)(function(){return en.value=!1})},h=t.slots,g=e9().t,m=(0,k.ref)(),y=(0,k.shallowRef)(!1),_=(0,k.shallowRef)(!0),w=(0,k.shallowRef)(!1),C=(0,k.ref)(),E=(0,k.ref)(),N=e1(e,"menu"),A=(0,S.computed)({get:function(){return N.value},set:function(e){var t;N.value&&!e&&null!==(t=C.value)&&void 0!==t&&t.ΨopenChildren||(N.value=e)}}),D=(0,k.shallowRef)(-1),R=(0,S.computed)(function(){var e;return null===(e=m.value)||void 0===e?void 0:e.color}),O=(0,S.computed)(function(){return A.value?e.closeText:e.openText}),I=i6(e),B=I.items,P=I.transformIn,M=I.transformOut,L=nq(R),j=L.textColorClasses,F=L.textColorStyles,U=e1(e,"search",""),z=e1(e,"modelValue",[],function(e){return P(null===e?[null]:Q(e))},function(t){var n,r=M(t);return e.multiple?r:null!==(n=r[0])&&void 0!==n?n:null}),Y=o0(),H=as(e,B,function(){return _.value?"":U.value}),q=H.filteredItems,W=H.getMatches,K=(0,S.computed)(function(){return e.hideSelected?q.value.filter(function(e){return!z.value.some(function(t){return t.value===e.value})}):q.value}),X=(0,S.computed)(function(){return z.value.map(function(e){return e.props.value})}),G=(0,S.computed)(function(){var t;return(!0===e.autoSelectFirst||"exact"===e.autoSelectFirst&&U.value===(null===(t=K.value[0])||void 0===t?void 0:t.title))&&K.value.length>0&&!_.value&&!w.value}),$=(0,S.computed)(function(){return e.hideNoData&&!B.value.length||e.readonly||(null==Y?void 0:Y.isReadonly.value)}),J=(0,k.ref)(),Z=ar(J,m),ee=Z.onListScroll,et=Z.onListKeydown,en=(0,k.shallowRef)(!1);return(0,S.watch)(y,function(t,n){if(t!==n){if(t){var r,i;en.value=!0,U.value=e.multiple?"":String(null!==(i=null===(r=z.value.at(-1))||void 0===r?void 0:r.props.title)&&void 0!==i?i:""),_.value=!0,(0,S.nextTick)(function(){return en.value=!1})}else e.multiple||U.value?!G.value||w.value||z.value.some(function(e){return e.value===K.value[0].value})||f(K.value[0]):z.value=[],A.value=!1,U.value="",D.value=-1}}),(0,S.watch)(U,function(e){y.value&&!en.value&&(e&&(A.value=!0),_.value=!e)}),(0,S.watch)(A,function(){if(!e.hideSelected&&A.value&&z.value.length){var t=K.value.findIndex(function(e){return z.value.some(function(t){return e.value===t.value})});T&&window.requestAnimationFrame(function(){var e;t>=0&&(null===(e=E.value)||void 0===e||e.scrollToIndex(t))})}}),t5(function(){var t,w,k=!!(e.chips||h.chip),N=!!(!e.hideNoData||K.value.length||h["prepend-item"]||h["append-item"]||h["no-data"]),T=z.value.length>0,R=(0,x._)(o8.filterProps(e),1)[0];return(0,S.createVNode)(o8,(0,S.mergeProps)({ref:m},R,{modelValue:U.value,"onUpdate:modelValue":d,focused:y.value,"onUpdate:focused":function(e){return y.value=e},validationValue:z.externalValue,dirty:T,onInput:a,onChange:l,class:["v-autocomplete","v-autocomplete--".concat(e.multiple?"multiple":"single"),{"v-autocomplete--active-menu":A.value,"v-autocomplete--chips":!!e.chips,"v-autocomplete--selection-slot":!!h.selection,"v-autocomplete--selecting-index":D.value>-1},e.class],style:e.style,readonly:e.readonly,placeholder:T?void 0:e.placeholder,"onClick:clear":n,"onMousedown:control":r,onKeydown:o}),(0,b._)((0,p._)({},h),{default:function(){return(0,S.createVNode)(S.Fragment,null,[(0,S.createVNode)(oL,(0,S.mergeProps)({ref:C,modelValue:A.value,"onUpdate:modelValue":function(e){return A.value=e},activator:"parent",contentClass:"v-autocomplete__content",disabled:$.value,eager:e.eager,maxHeight:310,openOnClick:!1,closeOnContentClick:!1,transition:e.transition,onAfterLeave:u},e.menuProps),{default:function(){return[N&&(0,S.createVNode)(i7,{ref:J,selected:X.value,selectStrategy:e.multiple?"independent":"single-independent",onMousedown:function(e){return e.preventDefault()},onKeydown:et,onFocusin:s,onFocusout:c,onScrollPassive:ee,tabindex:"-1",color:null!==(t=e.itemColor)&&void 0!==t?t:e.color},{default:function(){var t,n,r;return[null===(t=h["prepend-item"])||void 0===t?void 0:t.call(h),!K.value.length&&!e.hideNoData&&(null!==(w=null===(n=h["no-data"])||void 0===n?void 0:n.call(h))&&void 0!==w?w:(0,S.createVNode)(i$,{title:g(e.noDataText)},null)),(0,S.createVNode)(an,{ref:E,renderless:!0,items:K.value},{default:function(t){var n,r,i=t.item,o=t.index,a=t.itemRef,l=(0,S.mergeProps)(i.props,{ref:a,key:o,active:!!G.value&&0===o||void 0,onClick:function(){return f(i)}});return null!==(r=null===(n=h.item)||void 0===n?void 0:n.call(h,{item:i,index:o,props:l}))&&void 0!==r?r:(0,S.createVNode)(i$,l,{prepend:function(t){var n=t.isSelected;return(0,S.createVNode)(S.Fragment,null,[e.multiple&&!e.hideSelected?(0,S.createVNode)(i_,{key:i.value,modelValue:n,ripple:!1,tabindex:"-1"},null):void 0,i.props.prependIcon&&(0,S.createVNode)(rp,{icon:i.props.prependIcon},null)])},title:function(){var e,t,n;return _.value?i.title:function(e,t,n){if(null==t)return e;if(Array.isArray(t))throw Error("Multiple matches is not implemented");return"number"==typeof t&&~t?(0,S.createVNode)(S.Fragment,null,[(0,S.createVNode)("span",{class:"v-autocomplete__unmask"},[e.substr(0,t)]),(0,S.createVNode)("span",{class:"v-autocomplete__mask"},[e.substr(t,n)]),(0,S.createVNode)("span",{class:"v-autocomplete__unmask"},[e.substr(t+n)])]):e}(i.title,null===(e=W(i))||void 0===e?void 0:e.title,null!==(n=null===(t=U.value)||void 0===t?void 0:t.length)&&void 0!==n?n:0)}})}}),null===(r=h["append-item"])||void 0===r?void 0:r.call(h)]}})]}}),z.value.map(function(t,n){var r,i,o={"onClick:close":function(e){e.stopPropagation(),e.preventDefault(),f(t)},onMousedown:function(e){e.preventDefault(),e.stopPropagation()},modelValue:!0,"onUpdate:modelValue":void 0};return(0,S.createVNode)("div",{key:t.value,class:["v-autocomplete__selection",n===D.value&&["v-autocomplete__selection--selected",j.value]],style:n===D.value?F.value:{}},[k?h.chip?(0,S.createVNode)(nD,{key:"chip-defaults",defaults:{VChip:{closable:e.closableChips,size:"small",text:t.title}}},{default:function(){var e;return[null===(e=h.chip)||void 0===e?void 0:e.call(h,{item:t,index:n,props:o})]}}):(0,S.createVNode)(iE,(0,S.mergeProps)({key:"chip",closable:e.closableChips,size:"small",text:t.title},o),null):null!==(i=null===(r=h.selection)||void 0===r?void 0:r.call(h,{item:t,index:n}))&&void 0!==i?i:(0,S.createVNode)("span",{class:"v-autocomplete__selection-text"},[t.title,e.multiple&&n=r.length-1},i),{default:n.title?function(){var e;return null===(e=n.title)||void 0===e?void 0:e.call(n,{item:o,index:t})}:void 0}),tt+16&&e.right(e)),Math.abs(e.offsetX)<.5*Math.abs(e.offsetY)&&(e.up&&ir+16&&e.down(e))},aW={mounted:function(e,t){var n,r,i,o=t.value,a=(null==o?void 0:o.parent)?e.parentElement:e,l=null!==(r=null==o?void 0:o.options)&&void 0!==r?r:{passive:!0},u=null===(n=t.instance)||void 0===n?void 0:n.$.uid;if(a&&u){var s=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t={touchstartX:0,touchstartY:0,touchendX:0,touchendY:0,touchmoveX:0,touchmoveY:0,offsetX:0,offsetY:0,left:e.left,right:e.right,up:e.up,down:e.down,start:e.start,move:e.move,end:e.end};return{touchstart:function(e){var n,r;return r=e.changedTouches[0],void(t.touchstartX=r.clientX,t.touchstartY=r.clientY,null===(n=t.start)||void 0===n||n.call(t,(0,p._)({originalEvent:e},t)))},touchend:function(e){var n,r;return r=e.changedTouches[0],void(t.touchendX=r.clientX,t.touchendY=r.clientY,null===(n=t.end)||void 0===n||n.call(t,(0,p._)({originalEvent:e},t)),aq(t))},touchmove:function(e){var n,r;return r=e.changedTouches[0],void(t.touchmoveX=r.clientX,t.touchmoveY=r.clientY,null===(n=t.move)||void 0===n||n.call(t,(0,p._)({originalEvent:e},t)))}}}(t.value);a._touchHandlers=null!==(i=a._touchHandlers)&&void 0!==i?i:Object.create(null),a._touchHandlers[u]=s,q(s).forEach(function(e){a.addEventListener(e,s[e],l)})}},unmounted:function(e,t){var n,r,i=(null===(n=t.value)||void 0===n?void 0:n.parent)?e.parentElement:e,o=null===(r=t.instance)||void 0===r?void 0:r.$.uid;if((null==i?void 0:i._touchHandlers)&&o){var a=i._touchHandlers[o];q(a).forEach(function(e){i.removeEventListener(e,a[e])}),delete i._touchHandlers[o]}}},aK=Symbol.for("vuetify:v-window"),aX=Symbol.for("vuetify:v-window-group"),aG=eU((0,p._)({continuous:Boolean,nextIcon:{type:[Boolean,String,Function,Object],default:"$next"},prevIcon:{type:[Boolean,String,Function,Object],default:"$prev"},reverse:Boolean,showArrows:{type:[Boolean,String],validator:function(e){return"boolean"==typeof e||"hover"===e}},touch:{type:[Object,Boolean],default:void 0},direction:{type:String,default:"horizontal"},modelValue:null,disabled:Boolean,selectedClass:{type:String,default:"v-window-item--active"},// TODO: mandatory should probably not be exposed but do this for now
-mandatory:{type:[Boolean,String],default:"force"}},tX(),t7(),tT()),"VWindow"),a$=eY()({name:"VWindow",directives:{Touch:aW},props:aG(),emits:{"update:modelValue":function(e){return!0}},setup:function(e,t){var n=function(){y.value&&u.prev()},r=function(){_.value&&u.next()},i=t.slots,o=tD(e).themeClasses,a=te().isRtl,l=e9().t,u=ra(e,aX),s=(0,k.ref)(),c=(0,S.computed)(function(){return a.value?!e.reverse:e.reverse}),d=(0,k.shallowRef)(!1),f=(0,S.computed)(function(){var t="vertical"===e.direction?"y":"x",n=c.value?!d.value:d.value;return"v-window-".concat(t).concat(n?"-reverse":"","-transition")}),h=(0,k.shallowRef)(0),g=(0,k.ref)(void 0),m=(0,S.computed)(function(){return u.items.value.findIndex(function(e){return u.selected.value.includes(e.id)})});(0,S.watch)(m,function(e,t){var n=u.items.value.length,r=n-1;n<=2?d.value=e0}},progress:[Boolean,String],verticalDelimiters:[Boolean,String]},aG({continuous:!0,mandatory:"force",showArrows:!0})),"VCarousel"),aZ=eY()({name:"VCarousel",props:aJ(),emits:{"update:modelValue":function(e){return!0}},setup:function(e,t){var n=function(){e.cycle&&l.value&&(u=window.setTimeout(l.value.group.next,+e.interval>0?+e.interval:6e3))},r=function(){window.clearTimeout(u),window.requestAnimationFrame(n)},i=t.slots,o=e1(e,"modelValue"),a=e9().t,l=(0,k.ref)(),u=-1;return(0,S.watch)(o,r),(0,S.watch)(function(){return e.interval},r),(0,S.watch)(function(){return e.cycle},function(e){e?r():window.clearTimeout(u)}),(0,S.onMounted)(n),t5(function(){var t=(0,x._)(a$.filterProps(e),1)[0];return(0,S.createVNode)(a$,(0,S.mergeProps)({ref:l},t,{modelValue:o.value,"onUpdate:modelValue":function(e){return o.value=e},class:["v-carousel",{"v-carousel--hide-delimiter-background":e.hideDelimiterBackground,"v-carousel--vertical-delimiters":e.verticalDelimiters},e.class],style:[{height:F(e.height)},e.style]}),{default:i.default,additional:function(t){var n=t.group;return(0,S.createVNode)(S.Fragment,null,[!e.hideDelimiters&&(0,S.createVNode)("div",{class:"v-carousel__controls",style:{left:"left"===e.verticalDelimiters&&e.verticalDelimiters?0:"auto",right:"right"===e.verticalDelimiters?0:"auto"}},[n.items.value.length>0&&(0,S.createVNode)(nD,{defaults:{VBtn:{color:e.color,icon:e.delimiterIcon,size:"x-small",variant:"text"}},scoped:!0},{default:function(){return[n.items.value.map(function(e,t){var r={id:"carousel-item-".concat(e.id),"aria-label":a("$vuetify.carousel.ariaLabel.delimiter",t+1,n.items.value.length),class:[n.isSelected(e.id)&&"v-btn--active"],onClick:function(){return n.select(e.id,!0)}};return i.item?i.item({props:r,item:e}):(0,S.createVNode)(r8,(0,S.mergeProps)(e,r),null)})]}})]),e.progress&&(0,S.createVNode)(rD,{class:"v-carousel__progress",color:"string"==typeof e.progress?e.progress:void 0,modelValue:(n.getItemIndex(o.value)+1)/n.items.value.length*100},null)])},prev:i.prev,next:i.next})}),{}}}),p=f("a42Vg"),x=f("6wEIk");f("7DTtY");var S=f("5BxzC"),p=f("a42Vg");f("7DTtY");var S=f("5BxzC"),k=f("bNhjt"),m=f("jo4gN"),aQ=eU((0,p._)({reverseTransition:{type:[Boolean,String],default:void 0},transition:{type:[Boolean,String],default:void 0}},tX(),ri(),ob()),"VWindowItem"),a0=eY()({name:"VWindowItem",directives:{Touch:aW},props:aQ(),emits:{"group:selected":function(e){return!0}},setup:function(e,t){var n=function(){c.value&&l&&(// Finalize transition state.
+!s.value.contentEl.contains(i)&&(null===(a=eg(s.value.contentEl)[0])||void 0===a||a.focus()),[2]}})})).apply(this,arguments)}(0,S.provide)(ov,{register:function(){++d.value},unregister:function(){--d.value},closeParents:function(){setTimeout(function(){d.value||(o.value=!1,null==c||c.closeParents())},40)}}),(0,S.watch)(o,function(e){e?(null==c||c.register(),document.addEventListener("focusin",f,{once:!0})):(null==c||c.unregister(),document.removeEventListener("focusin",f))});var m=(0,S.computed)(function(){return(0,S.mergeProps)({"aria-haspopup":"menu","aria-expanded":String(o.value),"aria-owns":u.value,onKeydown:function t(n){if(!e.disabled){var r,i=null===(r=s.value)||void 0===r?void 0:r.contentEl;i&&o.value?"ArrowDown"===n.key?(n.preventDefault(),ey(i,"next")):"ArrowUp"===n.key&&(n.preventDefault(),ey(i,"prev")):["ArrowDown","ArrowUp"].includes(n.key)&&(o.value=!0,n.preventDefault(),setTimeout(function(){return setTimeout(function(){return t(n)})}))}}},e.activatorProps)});return t4(function(){var t=(0,x._)(oR.filterProps(e),1)[0];return(0,S.createVNode)(oR,(0,S.mergeProps)({ref:s,class:["v-menu",e.class],style:e.style},t,{modelValue:o.value,"onUpdate:modelValue":function(e){return o.value=e},absolute:!0,activatorProps:m.value,"onClick:outside":n,onKeydown:r},a),{activator:i.activator,default:function(){for(var e=arguments.length,t=Array(e),n=0;n1&&void 0!==arguments[1]?arguments[1]:ex(),n=e1(e,"focused");return{focusClasses:(0,S.computed)(function(){return(0,tG._)({},"".concat(t,"--focused"),n.value)}),isFocused:n,focus:function(){n.value=!0},blur:function(){n.value=!1}}}var oW=["underlined","outlined","filled","solo","solo-inverted","solo-filled","plain"],oK=eU((0,p._)({appendInnerIcon:eH,bgColor:String,clearable:Boolean,clearIcon:{type:eH,default:"$clear"},active:Boolean,centerAffix:{type:Boolean,default:void 0},color:String,baseColor:String,dirty:Boolean,disabled:{type:Boolean,default:null},error:Boolean,flat:Boolean,label:String,persistentClear:Boolean,prependInnerIcon:eH,reverse:Boolean,singleLine:Boolean,variant:{type:String,default:"filled",validator:function(e){return oW.includes(e)}},"onClick:clear":eh(),"onClick:appendInner":eh(),"onClick:prependInner":eh()},tX(),rR(),nG(),tT()),"VField"),oX=eY()({name:"VField",inheritAttrs:!1,props:(0,p._)({id:String},oH(),oK()),emits:{"update:focused":function(e){return!0},"update:modelValue":function(e){return!0}},setup:function(e,t){var n=function(e){e.target!==document.activeElement&&e.preventDefault()},r=t.attrs,i=(t.emit,t.slots),o=tD(e).themeClasses,a=rO(e).loaderClasses,l=oq(e),u=l.focusClasses,s=l.isFocused,c=l.focus,d=l.blur,f=oY(e).InputIcon,h=n$(e).roundedClasses,g=te().rtlClasses,y=(0,S.computed)(function(){return e.dirty||e.active}),_=(0,S.computed)(function(){return!e.singleLine&&!!(e.label||i.label)}),w=eC(),x=(0,S.computed)(function(){return e.id||"input-".concat(w)}),C=(0,S.computed)(function(){return"".concat(x.value,"-messages")}),E=(0,k.ref)(),V=(0,k.ref)(),N=(0,k.ref)(),T=(0,S.computed)(function(){return["plain","underlined"].includes(e.variant)}),A=nW((0,k.toRef)(e,"bgColor")),D=A.backgroundColorClasses,R=A.backgroundColorStyles,O=nq((0,S.computed)(function(){return e.error||e.disabled?void 0:y.value&&s.value?e.color:e.baseColor})),I=O.textColorClasses,B=O.textColorStyles;(0,S.watch)(y,function(e){if(_.value){var t=E.value.$el,n=V.value.$el;requestAnimationFrame(function(){var r=ns(t),i=n.getBoundingClientRect(),o=i.x-r.x,a=i.y-r.y-(r.height/2-i.height/2),l=i.width/.75,u=Math.abs(l-r.width)>1?{maxWidth:F(l)}:void 0,s=getComputedStyle(t),c=getComputedStyle(n),d=1e3*parseFloat(s.transitionDuration)||150,f=parseFloat(c.getPropertyValue("--v-field-label-scale")),h=c.getPropertyValue("color");t.style.visibility="visible",n.style.visibility="hidden",nc(t,(0,p._)({transform:"translate(".concat(o,"px, ").concat(a,"px) scale(").concat(f,")"),color:h},u),{duration:d,easing:na,direction:e?"normal":"reverse"}).finished.then(function(){t.style.removeProperty("visibility"),n.style.removeProperty("visibility")})})}},{flush:"post"});var P=(0,S.computed)(function(){return{isActive:y,isFocused:s,controlRef:N,blur:d,focus:c}});return t4(function(){var t,l,s,w,k="outlined"===e.variant,N=i["prepend-inner"]||e.prependInnerIcon,A=!!(e.clearable||i.clear),O=!!(i["append-inner"]||e.appendInnerIcon||A),M=i.label?i.label((0,b._)((0,p._)({},P.value),{label:e.label,props:{for:x.value}})):e.label;return(0,S.createVNode)("div",(0,S.mergeProps)({class:["v-field",(0,tG._)({"v-field--active":y.value,"v-field--appended":O,"v-field--center-affix":null!==(w=e.centerAffix)&&void 0!==w?w:!T.value,"v-field--disabled":e.disabled,"v-field--dirty":e.dirty,"v-field--error":e.error,"v-field--flat":e.flat,"v-field--has-background":!!e.bgColor,"v-field--persistent-clear":e.persistentClear,"v-field--prepended":N,"v-field--reverse":e.reverse,"v-field--single-line":e.singleLine,"v-field--no-label":!M},"v-field--variant-".concat(e.variant),!0),o.value,D.value,u.value,a.value,h.value,g.value,e.class],style:[R.value,e.style],onClick:n},r),[(0,S.createVNode)("div",{class:"v-field__overlay"},null),(0,S.createVNode)(rI,{name:"v-field",active:!!e.loading,color:e.error?"error":"string"==typeof e.loading?e.loading:e.color},{default:i.loader}),N&&(0,S.createVNode)("div",{key:"prepend",class:"v-field__prepend-inner"},[e.prependInnerIcon&&(0,S.createVNode)(f,{key:"prepend-icon",name:"prependInner"},null),null===(t=i["prepend-inner"])||void 0===t?void 0:t.call(i,P.value)]),(0,S.createVNode)("div",{class:"v-field__field","data-no-activator":""},[["filled","solo","solo-inverted","solo-filled"].includes(e.variant)&&_.value&&(0,S.createVNode)(oz,{key:"floating-label",ref:V,class:[I.value],floating:!0,for:x.value,style:B.value},{default:function(){return[M]}}),(0,S.createVNode)(oz,{ref:E,for:x.value},{default:function(){return[M]}}),null===(l=i.default)||void 0===l?void 0:l.call(i,(0,b._)((0,p._)({},P.value),{props:{id:x.value,class:"v-field__input","aria-describedby":C.value},focus:c,blur:d}))]),A&&(0,S.createVNode)(nT,{key:"clear"},{default:function(){return[(0,S.withDirectives)((0,S.createVNode)("div",{class:"v-field__clearable",onMousedown:function(e){e.preventDefault(),e.stopPropagation()}},[i.clear?i.clear():(0,S.createVNode)(f,{name:"clear"},null)]),[[m.vShow,e.dirty]])]}}),O&&(0,S.createVNode)("div",{key:"append",class:"v-field__append-inner"},[null===(s=i["append-inner"])||void 0===s?void 0:s.call(i,P.value),e.appendInnerIcon&&(0,S.createVNode)(f,{key:"append-icon",name:"appendInner"},null)]),(0,S.createVNode)("div",{class:["v-field__outline",I.value],style:B.value},[k&&(0,S.createVNode)(S.Fragment,null,[(0,S.createVNode)("div",{class:"v-field__outline__start"},null),_.value&&(0,S.createVNode)("div",{class:"v-field__outline__notch"},[(0,S.createVNode)(oz,{ref:V,floating:!0,for:x.value},{default:function(){return[M]}})]),(0,S.createVNode)("div",{class:"v-field__outline__end"},null)]),T.value&&_.value&&(0,S.createVNode)(oz,{ref:V,floating:!0,for:x.value},{default:function(){return[M]}})])])}),{controlRef:N}}});function oG(e){return K(e,Object.keys(oX.props).filter(function(e){return!$(e)&&"class"!==e&&"style"!==e}))}var p=f("a42Vg");f("7DTtY");var S=f("5BxzC"),p=f("a42Vg");f("7DTtY");var S=f("5BxzC"),o$=eU((0,p._)({active:Boolean,color:String,messages:{type:[Array,String],default:function(){return[]}}},tX(),nP({transition:{component:nE,leaveAbsolute:!0,group:!0}})),"VMessages"),oJ=eY()({name:"VMessages",props:o$(),setup:function(e,t){var n=t.slots,r=(0,S.computed)(function(){return Q(e.messages)}),i=nq((0,S.computed)(function(){return e.color})),o=i.textColorClasses,a=i.textColorStyles;return t4(function(){return(0,S.createVNode)(nM,{transition:e.transition,tag:"div",class:["v-messages",o.value,e.class],style:[a.value,e.style],role:"alert","aria-live":"polite"},{default:function(){return[e.active&&r.value.map(function(e,t){return(0,S.createVNode)("div",{class:"v-messages__message",key:"".concat(t,"-").concat(r.value)},[n.message?n.message({message:e}):e])})]}})}),{}}}),h=f("xJRWs"),tG=f("h8xva"),p=f("a42Vg"),g=(f("3XT9C"),f("3XT9C")),h=f("xJRWs"),g=f("3XT9C");f("7DTtY");var S=f("5BxzC"),k=f("bNhjt"),oZ=Symbol.for("vuetify:form"),oQ=eU({disabled:Boolean,fastFail:Boolean,readonly:Boolean,modelValue:{type:Boolean,default:null},validateOn:{type:String,default:"input"}},"form");function o0(){return(0,S.inject)(oZ,null)}f("7DTtY");var S=f("5BxzC"),k=f("bNhjt"),o1=eU((0,p._)({disabled:{type:Boolean,default:null},error:Boolean,errorMessages:{type:[Array,String],default:function(){return[]}},maxErrors:{type:[Number,String],default:1},name:String,label:String,readonly:{type:Boolean,default:null},rules:{type:Array,default:function(){return[]}},modelValue:null,validateOn:String,validationValue:null},oH()),"validation");function o2(e){var t,n,r,i=function(){u.value=null,(0,S.nextTick)(o)},o=function(){f.value=!0,b.value.lazy?d.value=[]:V(!0)},a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ex(),l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:eC(),u=e1(e,"modelValue"),s=(0,S.computed)(function(){return void 0===e.validationValue?u.value:e.validationValue}),c=o0(),d=(0,k.ref)([]),f=(0,k.shallowRef)(!0),p=(0,S.computed)(function(){return!!(Q(""===u.value?null:u.value).length||Q(""===s.value?null:s.value).length)}),m=(0,S.computed)(function(){return!!(null!==(t=e.disabled)&&void 0!==t?t:null==c?void 0:c.isDisabled.value)}),y=(0,S.computed)(function(){return!!(null!==(n=e.readonly)&&void 0!==n?n:null==c?void 0:c.isReadonly.value)}),_=(0,S.computed)(function(){return e.errorMessages.length?Q(e.errorMessages).slice(0,Math.max(0,+e.maxErrors)):d.value}),b=(0,S.computed)(function(){var t,n,r=(null!==(t=e.validateOn)&&void 0!==t?t:null==c?void 0:c.validateOn.value)||"input";"lazy"===r&&(r="input lazy");var i=new Set(null!==(n=null==r?void 0:r.split(" "))&&void 0!==n?n:[]);return{blur:i.has("blur")||i.has("input"),input:i.has("input"),submit:i.has("submit"),lazy:i.has("lazy")}}),w=(0,S.computed)(function(){return!e.error&&!e.errorMessages.length&&(!e.rules.length||(f.value?!d.value.length&&!b.value.lazy||null:!d.value.length))}),x=(0,k.shallowRef)(!1),C=(0,S.computed)(function(){var e;return e={},(0,tG._)(e,"".concat(a,"--error"),!1===w.value),(0,tG._)(e,"".concat(a,"--dirty"),p.value),(0,tG._)(e,"".concat(a,"--disabled"),m.value),(0,tG._)(e,"".concat(a,"--readonly"),y.value),e}),E=(0,S.computed)(function(){return null!==(r=e.name)&&void 0!==r?r:(0,k.unref)(l)});function V(){return N.apply(this,arguments)}function N(){return(N=(0,h._)(function(){var t,n,r,i,o,a,l,u,c;return(0,g.__generator)(this,function(h){switch(h.label){case 0:t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=[],x.value=!0,r=!0,i=!1,o=void 0,h.label=1;case 1:h.trys.push([1,6,7,8]),a=function(){var t,r,i;return(0,g.__generator)(this,function(o){switch(o.label){case 0:if(t=u.value,n.length>=+(null!==(r=e.maxErrors)&&void 0!==r?r:1))return[2,"break"];return[4,("function"==typeof t?t:function(){return t})(s.value)];case 1:if(!0===(i=o.sent()))return[2,"continue"];if(!1!==i&&"string"!=typeof i)return(// eslint-disable-next-line no-console
+console.warn("".concat(i," is not a valid value. Rule functions must return boolean true or a string.")),[2,"continue"]);return n.push(i||""),[2]}})},l=e.rules[Symbol.iterator](),h.label=2;case 2:if(r=(u=l.next()).done)return[3,5];return[5,(0,g.__values)(a())];case 3:if("break"===h.sent())return[3,5];h.label=4;case 4:return r=!0,[3,2];case 5:return[3,8];case 6:return c=h.sent(),i=!0,o=c,[3,8];case 7:try{r||null==l.return||l.return()}finally{if(i)throw o}return[7];case 8:return d.value=n,x.value=!1,f.value=t,[2,d.value]}})})).apply(this,arguments)}return(0,S.onBeforeMount)(function(){null==c||c.register({id:E.value,validate:V,reset:i,resetValidation:o})}),(0,S.onBeforeUnmount)(function(){null==c||c.unregister(E.value)}),(0,S.onMounted)(/*#__PURE__*/(0,h._)(function(){return(0,g.__generator)(this,function(e){switch(e.label){case 0:if(b.value.lazy)return[3,2];return[4,V(!0)];case 1:e.sent(),e.label=2;case 2:return null==c||c.update(E.value,w.value,_.value),[2]}})})),e0(function(){return b.value.input},function(){(0,S.watch)(s,function(){if(null!=s.value)V();else if(e.focused)var t=(0,S.watch)(function(){return e.focused},function(e){e||V(),t()})})}),e0(function(){return b.value.blur},function(){(0,S.watch)(function(){return e.focused},function(e){e||V()})}),(0,S.watch)(w,function(){null==c||c.update(E.value,w.value,_.value)}),{errorMessages:_,isDirty:p,isDisabled:m,isReadonly:y,isPristine:f,isValid:w,isValidating:x,reset:i,resetValidation:o,validate:V,validationClasses:C}}var o3=eU((0,p._)({id:String,appendIcon:eH,centerAffix:{type:Boolean,default:!0},prependIcon:eH,hideDetails:[Boolean,String],hint:String,persistentHint:Boolean,messages:{type:[Array,String],default:function(){return[]}},direction:{type:String,default:"horizontal",validator:function(e){return["horizontal","vertical"].includes(e)}},"onClick:prepend":eh(),"onClick:append":eh()},tX(),n5(),o1()),"VInput"),o4=eY()({name:"VInput",props:(0,p._)({},o3()),emits:{"update:modelValue":function(e){return!0}},setup:function(e,t){t.attrs;var n=t.slots;t.emit;var r=n6(e).densityClasses,i=te().rtlClasses,o=oY(e).InputIcon,a=eC(),l=(0,S.computed)(function(){return e.id||"input-".concat(a)}),u=(0,S.computed)(function(){return"".concat(l.value,"-messages")}),s=o2(e,"v-input",l),c=s.errorMessages,d=s.isDirty,f=s.isDisabled,h=s.isReadonly,p=s.isPristine,g=s.isValid,m=s.isValidating,y=s.reset,_=s.resetValidation,b=s.validate,w=s.validationClasses,x=(0,S.computed)(function(){return{id:l,messagesId:u,isDirty:d,isDisabled:f,isReadonly:h,isPristine:p,isValid:g,isValidating:m,reset:y,resetValidation:_,validate:b}}),k=(0,S.computed)(function(){var t;return(null===(t=e.errorMessages)||void 0===t?void 0:t.length)||!p.value&&c.value.length?c.value:e.hint&&(e.persistentHint||e.focused)?e.hint:e.messages});return t4(function(){var t,a,l,s,c=!!(n.prepend||e.prependIcon),d=!!(n.append||e.appendIcon),f=k.value.length>0,h=!e.hideDetails||"auto"===e.hideDetails&&(f||!!n.details);return(0,S.createVNode)("div",{class:["v-input","v-input--".concat(e.direction),{"v-input--center-affix":e.centerAffix},r.value,i.value,w.value,e.class],style:e.style},[c&&(0,S.createVNode)("div",{key:"prepend",class:"v-input__prepend"},[null===(t=n.prepend)||void 0===t?void 0:t.call(n,x.value),e.prependIcon&&(0,S.createVNode)(o,{key:"prepend-icon",name:"prepend"},null)]),n.default&&(0,S.createVNode)("div",{class:"v-input__control"},[null===(a=n.default)||void 0===a?void 0:a.call(n,x.value)]),d&&(0,S.createVNode)("div",{key:"append",class:"v-input__append"},[e.appendIcon&&(0,S.createVNode)(o,{key:"append-icon",name:"append"},null),null===(l=n.append)||void 0===l?void 0:l.call(n,x.value)]),h&&(0,S.createVNode)("div",{class:"v-input__details"},[(0,S.createVNode)(oJ,{id:u.value,active:f,messages:k.value},{message:n.message}),null===(s=n.details)||void 0===s?void 0:s.call(n,x.value)])])}),{reset:y,resetValidation:_,validate:b}}}),o5=["color","file","time","date","datetime-local","week","month"],o6=eU((0,p._)({autofocus:Boolean,counter:[Boolean,Number,String],counterValue:Function,prefix:String,placeholder:String,persistentPlaceholder:Boolean,persistentCounter:Boolean,suffix:String,role:String,type:{type:String,default:"text"},modelModifiers:Object},o3(),oK()),"VTextField"),o8=eY()({name:"VTextField",directives:{Intersect:nj},inheritAttrs:!1,props:o6(),emits:{"click:control":function(e){return!0},"mousedown:control":function(e){return!0},"update:focused":function(e){return!0},"update:modelValue":function(e){return!0}},setup:function(e,t){var n=function(t,n){var r,i;e.autofocus&&t&&(null===(r=n[0].target)||void 0===r||null===(i=r.focus)||void 0===i||i.call(r))},r=function(){var e;N.value!==document.activeElement&&(null===(e=N.value)||void 0===e||e.focus()),h.value||g()},i=function(e){s("mousedown:control",e),e.target!==N.value&&(r(),e.preventDefault())},o=function(e){r(),s("click:control",e)},a=function(t){t.stopPropagation(),r(),(0,S.nextTick)(function(){d.value=null,ep(e["onClick:clear"],t)})},l=function(t){var n,r=t.target;if(d.value=r.value,(null===(n=e.modelModifiers)||void 0===n?void 0:n.trim)&&["text","search","password","tel","url"].includes(e.type)){var i=[r.selectionStart,r.selectionEnd];(0,S.nextTick)(function(){r.selectionStart=i[0],r.selectionEnd=i[1]})}},u=t.attrs,s=t.emit,c=t.slots,d=e1(e,"modelValue"),f=oq(e),h=f.isFocused,g=f.focus,m=f.blur,y=(0,S.computed)(function(){var t;return"function"==typeof e.counterValue?e.counterValue(d.value):(null!==(t=d.value)&&void 0!==t?t:"").toString().length}),_=(0,S.computed)(function(){return u.maxlength?u.maxlength:e.counter&&("number"==typeof e.counter||"string"==typeof e.counter)?e.counter:void 0}),C=(0,S.computed)(function(){return["plain","underlined"].includes(e.variant)}),E=(0,k.ref)(),V=(0,k.ref)(),N=(0,k.ref)(),T=(0,S.computed)(function(){return o5.includes(e.type)||e.persistentPlaceholder||h.value||e.active});return t4(function(){var t=!!(c.counter||e.counter||e.counterValue),s=!!(t||c.details),f=(0,x._)(Z(u),2),g=f[0],k=f[1],A=o4.filterProps(e),D=((0,x._)(A,1)[0].modelValue,w(A[0],["modelValue"])),R=(0,x._)(oG(e),1)[0];return(0,S.createVNode)(o4,(0,S.mergeProps)({ref:E,modelValue:d.value,"onUpdate:modelValue":function(e){return d.value=e},class:["v-text-field",{"v-text-field--prefixed":e.prefix,"v-text-field--suffixed":e.suffix,"v-text-field--plain-underlined":["plain","underlined"].includes(e.variant)},e.class],style:e.style},g,D,{centerAffix:!C.value,focused:h.value}),(0,b._)((0,p._)({},c),{default:function(t){var u=t.id,s=t.isDisabled,f=t.isDirty,g=t.isReadonly,y=t.isValid;return(0,S.createVNode)(oX,(0,S.mergeProps)({ref:V,onMousedown:i,onClick:o,"onClick:clear":a,"onClick:prependInner":e["onClick:prependInner"],"onClick:appendInner":e["onClick:appendInner"],role:e.role},R,{id:u.value,active:T.value||f.value,dirty:f.value||e.dirty,disabled:s.value,focused:h.value,error:!1===y.value}),(0,b._)((0,p._)({},c),{default:function(t){var i=t.props.class,o=w(t.props,["class"]),a=(0,S.withDirectives)((0,S.createVNode)("input",(0,S.mergeProps)({ref:N,value:d.value,onInput:l,autofocus:e.autofocus,readonly:g.value,disabled:s.value,name:e.name,placeholder:e.placeholder,size:1,type:e.type,onFocus:r,onBlur:m},o,k),null),[[(0,S.resolveDirective)("intersect"),{handler:n},null,{once:!0}]]);return(0,S.createVNode)(S.Fragment,null,[e.prefix&&(0,S.createVNode)("span",{class:"v-text-field__prefix"},[(0,S.createVNode)("span",{class:"v-text-field__prefix__text"},[e.prefix])]),c.default?(0,S.createVNode)("div",{class:i,"data-no-activator":""},[c.default(),a]):(0,S.cloneVNode)(a,{class:i}),e.suffix&&(0,S.createVNode)("span",{class:"v-text-field__suffix"},[(0,S.createVNode)("span",{class:"v-text-field__suffix__text"},[e.suffix])])])}}))},details:s?function(n){var r;return(0,S.createVNode)(S.Fragment,null,[null===(r=c.details)||void 0===r?void 0:r.call(c,n),t&&(0,S.createVNode)(S.Fragment,null,[(0,S.createVNode)("span",null,null),(0,S.createVNode)(oF,{active:e.persistentCounter||h.value,value:y.value,max:_.value},c.counter)])])}:void 0}))}),oP({},E,V,N)}}),p=f("a42Vg");f("7DTtY");var k=f("bNhjt"),S=f("5BxzC"),p=f("a42Vg");f("7DTtY");var S=f("5BxzC"),o7=eU((0,p._)({renderless:Boolean},tX()),"VVirtualScrollItem"),o9=eY()({name:"VVirtualScrollItem",inheritAttrs:!1,props:o7(),emits:{"update:height":function(e){return!0}},setup:function(e,t){var n=t.attrs,r=t.emit,i=t.slots,o=t$(void 0,"border"),a=o.resizeRef,l=o.contentRect;(0,S.watch)(function(){var e;return null===(e=l.value)||void 0===e?void 0:e.height},function(e){null!=e&&r("update:height",e)}),t4(function(){var t,r;return e.renderless?(0,S.createVNode)(S.Fragment,null,[null===(t=i.default)||void 0===t?void 0:t.call(i,{itemRef:a})]):(0,S.createVNode)("div",(0,S.mergeProps)({ref:a,class:["v-virtual-scroll__item",e.class],style:e.style},n),[null===(r=i.default)||void 0===r?void 0:r.call(i)])})}});// Composables
+f("7DTtY");var k=f("bNhjt"),S=f("5BxzC"),ae=eU({itemHeight:{type:[Number,String],default:48}},"virtual"),at=eU((0,p._)({items:{type:Array,default:function(){return[]}},renderless:Boolean},ae(),tX(),nR()),"VVirtualScroll"),an=eY()({name:"VVirtualScroll",props:at(),setup:function(e,t){var n,r,i,o,a,l,u,s,c,d,f,h,g,m,y,_,b,w,x,C,E,V=t.slots,N=ew("VVirtualScroll"),T=nO(e).dimensionStyles,A=(n=(0,k.toRef)(e,"items"),o=function(e){return y.slice(0,e).reduce(function(e,t){return e+(t||s.value)},0)},a=function(e){for(var t=n.value.length,r=0,i=0;i=s&&(l.value=ee(u,0,n.value.length-_.value)),b=t}},handleItemResize:function(e,t){s.value=Math.max(s.value,t),y[e]=t,m.set(n.value[e],t)}}),D=A.containerRef,R=A.handleScroll,O=A.handleItemResize,I=A.scrollToIndex,B=A.paddingTop,P=A.paddingBottom,M=A.computedItems;return e0(function(){return e.renderless},function(){(0,S.onMounted)(function(){var e;D.value=ot(N.vnode.el,!0),null===(e=D.value)||void 0===e||e.addEventListener("scroll",R)}),(0,k.onScopeDispose)(function(){var e;null===(e=D.value)||void 0===e||e.removeEventListener("scroll",R)})}),t4(function(){var t=M.value.map(function(t){return(0,S.createVNode)(o9,{key:t.index,renderless:e.renderless,"onUpdate:height":function(e){return O(t.index,e)}},{default:function(e){var n;return null===(n=V.default)||void 0===n?void 0:n.call(V,(0,p._)({item:t.raw,index:t.index},e))}})});return e.renderless?(0,S.createVNode)(S.Fragment,null,[(0,S.createVNode)("div",{class:"v-virtual-scroll__spacer",style:{paddingTop:F(B.value)}},null),t,(0,S.createVNode)("div",{class:"v-virtual-scroll__spacer",style:{paddingBottom:F(P.value)}},null)]):(0,S.createVNode)("div",{ref:D,class:["v-virtual-scroll",e.class],onScroll:R,style:[T.value,e.style]},[(0,S.createVNode)("div",{class:"v-virtual-scroll__container",style:{paddingTop:F(B.value),paddingBottom:F(P.value)}},[t])])}),{scrollToIndex:I}}}),h=f("xJRWs"),V=f("2Yjkq"),g=f("3XT9C");f("7DTtY");var k=f("bNhjt"),S=f("5BxzC");function ar(e,t){var n,r=(0,k.shallowRef)(!1);function i(){return(i=(0,h._)(function(){return(0,g.__generator)(this,function(e){switch(e.label){case 0:return[4,new Promise(function(e){return requestAnimationFrame(e)})];case 1:return e.sent(),[4,new Promise(function(e){return requestAnimationFrame(e)})];case 2:return e.sent(),[4,new Promise(function(e){return requestAnimationFrame(e)})];case 3:return e.sent(),[4,new Promise(function(e){if(r.value)var t=(0,S.watch)(r,function(){t(),e()});else e()})];case 4:return e.sent(),[2]}})})).apply(this,arguments)}function o(){return(o=(0,h._)(function(n){var r,o,a,l,u,s,c,d,f,h,p,m,y,_,b,w,x,k;return(0,g.__generator)(this,function(g){switch(g.label){case 0:if("Tab"===n.key&&(null===(r=t.value)||void 0===r||r.focus()),!["PageDown","PageUp","Home","End"].includes(n.key)||!(a=null===(o=e.value)||void 0===o?void 0:o.$el))return[2];return("Home"===n.key||"End"===n.key)&&a.scrollTo({top:"Home"===n.key?0:a.scrollHeight,behavior:"smooth"}),[4,function(){return i.apply(this,arguments)}()];case 1:if(g.sent(),l=a.querySelectorAll(":scope > :not(.v-virtual-scroll__spacer)"),"PageDown"===n.key||"Home"===n.key){u=a.getBoundingClientRect().top,s=!0,c=!1,d=void 0;try{for(f=l[Symbol.iterator]();!(s=(h=f.next()).done);s=!0)if((p=h.value).getBoundingClientRect().top>=u){p.focus();break}}catch(e){c=!0,d=e}finally{try{s||null==f.return||f.return()}finally{if(c)throw d}}}else{m=a.getBoundingClientRect().bottom,y=!0,_=!1,b=void 0;try{for(w=(0,V._)(l).reverse()[Symbol.iterator]();!(y=(x=w.next()).done);y=!0)if((k=x.value).getBoundingClientRect().bottom<=m){k.focus();break}}catch(e){_=!0,b=e}finally{try{y||null==w.return||w.return()}finally{if(_)throw b}}}return[2]}})})).apply(this,arguments)}return{onListScroll:function(e){cancelAnimationFrame(n),r.value=!0,n=requestAnimationFrame(function(){n=requestAnimationFrame(function(){r.value=!1})})},onListKeydown:function(e){return o.apply(this,arguments)}}}var ai=eU((0,p._)({chips:Boolean,closableChips:Boolean,closeText:{type:String,default:"$vuetify.close"},openText:{type:String,default:"$vuetify.open"},eager:Boolean,hideNoData:Boolean,hideSelected:Boolean,menu:Boolean,menuIcon:{type:eH,default:"$dropdown"},menuProps:{type:Object},multiple:Boolean,noDataText:{type:String,default:"$vuetify.noDataText"},openOnClear:Boolean,itemColor:String},i3({itemChildren:!1})),"Select"),ao=eU((0,p._)({},ai(),X(o6({modelValue:null,role:"button"}),["validationValue","dirty","appendInnerIcon"]),nP({transition:{component:nf}})),"VSelect"),aa=eY()({name:"VSelect",props:ao(),emits:{"update:focused":function(e){return!0},"update:modelValue":function(e){return!0},"update:menu":function(e){return!0}},setup:function(e,t){var n,r=function(t){e.openOnClear&&(_.value=!0)},i=function(){M.value||(_.value=!_.value)},o=function(t){if(t.key&&!e.readonly&&(null==D||!D.isReadonly.value)&&(["Enter"," ","ArrowDown","ArrowUp","Home","End"].includes(t.key)&&t.preventDefault(),["Enter","ArrowDown"," "].includes(t.key)&&(_.value=!0),["Escape","Tab"].includes(t.key)&&(_.value=!1),"Home"===t.key?null===(r=L.value)||void 0===r||r.focus("first"):"End"===t.key&&(null===(i=L.value)||void 0===i||i.focus("last")),!e.multiple&&(o=1===t.key.length,a=!t.ctrlKey&&!t.metaKey&&!t.altKey,o&&a))){var r,i,o,a,l=performance.now();l-n>1e3&&(B=""),B+=t.key.toLowerCase(),n=l;var u=C.value.find(function(e){return e.title.toLowerCase().startsWith(B)});void 0!==u&&(A.value=[u])}},a=function(t){if(e.multiple){var n=A.value.findIndex(function(n){return e.valueComparator(n.value,t.value)});if(-1===n)A.value=(0,V._)(A.value).concat([t]);else{var r=(0,V._)(A.value);r.splice(n,1),A.value=r}}else A.value=[t],_.value=!1},l=function(e){var t;(null===(t=L.value)||void 0===t?void 0:t.$el.contains(e.relatedTarget))||(_.value=!1)},u=function(){var e;O.value&&(null===(e=h.value)||void 0===e||e.focus())},s=function(e){O.value=!0},c=function(e){if(null==e)A.value=[];else if(eb(h.value,":autofill")||eb(h.value,":-webkit-autofill")){var t=C.value.find(function(t){return t.title===e});t&&a(t)}else h.value&&(h.value.value="")},d=t.slots,f=e9().t,h=(0,k.ref)(),g=(0,k.ref)(),m=(0,k.ref)(),y=e1(e,"menu"),_=(0,S.computed)({get:function(){return y.value},set:function(e){var t;y.value&&!e&&null!==(t=g.value)&&void 0!==t&&t.ΨopenChildren||(y.value=e)}}),w=i6(e),C=w.items,E=w.transformIn,N=w.transformOut,A=e1(e,"modelValue",[],function(e){return E(null===e?[null]:Q(e))},function(t){var n,r=N(t);return e.multiple?r:null!==(n=r[0])&&void 0!==n?n:null}),D=o0(),R=(0,S.computed)(function(){return A.value.map(function(e){return e.value})}),O=(0,k.shallowRef)(!1),I=(0,S.computed)(function(){return _.value?e.closeText:e.openText}),B="",P=(0,S.computed)(function(){return e.hideSelected?C.value.filter(function(e){return!A.value.some(function(t){return t===e})}):C.value}),M=(0,S.computed)(function(){return e.hideNoData&&!C.value.length||e.readonly||(null==D?void 0:D.isReadonly.value)}),L=(0,k.ref)(),j=ar(L,h),F=j.onListScroll,U=j.onListKeydown;return(0,S.watch)(_,function(){if(!e.hideSelected&&_.value&&A.value.length){var t=P.value.findIndex(function(t){return A.value.some(function(n){return e.valueComparator(n.value,t.value)})});T&&window.requestAnimationFrame(function(){var e;t>=0&&(null===(e=m.value)||void 0===e||e.scrollToIndex(t))})}}),t4(function(){var t,n,y,w=!!(e.chips||d.chip),k=!!(!e.hideNoData||P.value.length||d["prepend-item"]||d["append-item"]||d["no-data"]),C=A.value.length>0,E=(0,x._)(o8.filterProps(e),1)[0],N=C||!O.value&&e.label&&!e.persistentPlaceholder?void 0:e.placeholder;return(0,S.createVNode)(o8,(0,S.mergeProps)({ref:h},E,{modelValue:A.value.map(function(e){return e.props.value}).join(", "),"onUpdate:modelValue":c,focused:O.value,"onUpdate:focused":function(e){return O.value=e},validationValue:A.externalValue,dirty:C,class:["v-select",(y={"v-select--active-menu":_.value,"v-select--chips":!!e.chips},(0,tG._)(y,"v-select--".concat(e.multiple?"multiple":"single"),!0),(0,tG._)(y,"v-select--selected",A.value.length),(0,tG._)(y,"v-select--selection-slot",!!d.selection),y),e.class],style:e.style,inputmode:"none",placeholder:N,"onClick:clear":r,"onMousedown:control":i,onBlur:l,onKeydown:o,"aria-label":f(I.value),title:f(I.value)}),(0,b._)((0,p._)({},d),{default:function(){return(0,S.createVNode)(S.Fragment,null,[(0,S.createVNode)(oL,(0,S.mergeProps)({ref:g,modelValue:_.value,"onUpdate:modelValue":function(e){return _.value=e},activator:"parent",contentClass:"v-select__content",disabled:M.value,eager:e.eager,maxHeight:310,openOnClick:!1,closeOnContentClick:!1,transition:e.transition,onAfterLeave:u},e.menuProps),{default:function(){return[k&&(0,S.createVNode)(i7,{ref:L,selected:R.value,selectStrategy:e.multiple?"independent":"single-independent",onMousedown:function(e){return e.preventDefault()},onKeydown:U,onFocusin:s,onScrollPassive:F,tabindex:"-1",color:null!==(t=e.itemColor)&&void 0!==t?t:e.color},{default:function(){var t,r,i;return[null===(t=d["prepend-item"])||void 0===t?void 0:t.call(d),!P.value.length&&!e.hideNoData&&(null!==(n=null===(r=d["no-data"])||void 0===r?void 0:r.call(d))&&void 0!==n?n:(0,S.createVNode)(i$,{title:f(e.noDataText)},null)),(0,S.createVNode)(an,{ref:m,renderless:!0,items:P.value},{default:function(t){var n,r,i=t.item,o=t.index,l=t.itemRef,u=(0,S.mergeProps)(i.props,{ref:l,key:o,onClick:function(){return a(i)}});return null!==(r=null===(n=d.item)||void 0===n?void 0:n.call(d,{item:i,index:o,props:u}))&&void 0!==r?r:(0,S.createVNode)(i$,u,{prepend:function(t){var n=t.isSelected;return(0,S.createVNode)(S.Fragment,null,[e.multiple&&!e.hideSelected?(0,S.createVNode)(i_,{key:i.value,modelValue:n,ripple:!1,tabindex:"-1"},null):void 0,i.props.prependIcon&&(0,S.createVNode)(rp,{icon:i.props.prependIcon},null)])}})}}),null===(i=d["append-item"])||void 0===i?void 0:i.call(d)]}})]}}),A.value.map(function(t,n){var r,i,o={"onClick:close":function(e){e.stopPropagation(),e.preventDefault(),a(t)},onMousedown:function(e){e.preventDefault(),e.stopPropagation()},modelValue:!0,"onUpdate:modelValue":void 0};return(0,S.createVNode)("div",{key:t.value,class:"v-select__selection"},[w?d.chip?(0,S.createVNode)(nD,{key:"chip-defaults",defaults:{VChip:{closable:e.closableChips,size:"small",text:t.title}}},{default:function(){var e;return[null===(e=d.chip)||void 0===e?void 0:e.call(d,{item:t,index:n,props:o})]}}):(0,S.createVNode)(iE,(0,S.mergeProps)({key:"chip",closable:e.closableChips,size:"small",text:t.title},o),null):null!==(i=null===(r=d.selection)||void 0===r?void 0:r.call(d,{item:t,index:n}))&&void 0!==i?i:(0,S.createVNode)("span",{class:"v-select__selection-text"},[t.title,e.multiple&&n-1||["Enter","ArrowDown","ArrowUp"].includes(t.key))&&t.preventDefault(),["Enter","ArrowDown"].includes(t.key)&&(A.value=!0),["Escape"].includes(t.key)&&(A.value=!1),G.value&&["Enter","Tab"].includes(t.key)&&f(K.value[0]),"ArrowDown"===t.key&&G.value&&(null===(a=J.value)||void 0===a||a.focus("next")),e.multiple){if(["Backspace","Delete"].includes(t.key)){if(D.value<0){"Backspace"!==t.key||U.value||(D.value=r-1);return}var i=D.value,o=z.value[D.value];o&&f(o),D.value=i>=r-1?r-2:i}if("ArrowLeft"===t.key){if(D.value<0&&n>0)return;var a,l,u,s=D.value>-1?D.value-1:r-1;z.value[s]?D.value=s:(D.value=-1,m.value.setSelectionRange(null===(l=U.value)||void 0===l?void 0:l.length,null===(u=U.value)||void 0===u?void 0:u.length))}if("ArrowRight"===t.key){if(D.value<0)return;var c=D.value+1;z.value[c]?D.value=c:(D.value=-1,m.value.setSelectionRange(0,0))}}}},a=function(e){U.value=e.target.value},l=function(e){if(eb(m.value,":autofill")||eb(m.value,":-webkit-autofill")){var t=B.value.find(function(t){return t.title===e.target.value});t&&f(t)}},u=function(){if(y.value){var e;_.value=!0,null===(e=m.value)||void 0===e||e.focus()}},s=function(e){y.value=!0,setTimeout(function(){w.value=!0})},c=function(e){w.value=!1},d=function(t){null!=t&&(""!==t||e.multiple)||(z.value=[])},f=function(t){if(e.multiple){var n=z.value.findIndex(function(n){return e.valueComparator(n.value,t.value)});if(-1===n)z.value=(0,V._)(z.value).concat([t]);else{var r=(0,V._)(z.value);r.splice(n,1),z.value=r}}else z.value=[t],en.value=!0,U.value=t.title,A.value=!1,_.value=!0,(0,S.nextTick)(function(){return en.value=!1})},h=t.slots,g=e9().t,m=(0,k.ref)(),y=(0,k.shallowRef)(!1),_=(0,k.shallowRef)(!0),w=(0,k.shallowRef)(!1),C=(0,k.ref)(),E=(0,k.ref)(),N=e1(e,"menu"),A=(0,S.computed)({get:function(){return N.value},set:function(e){var t;N.value&&!e&&null!==(t=C.value)&&void 0!==t&&t.ΨopenChildren||(N.value=e)}}),D=(0,k.shallowRef)(-1),R=(0,S.computed)(function(){var e;return null===(e=m.value)||void 0===e?void 0:e.color}),O=(0,S.computed)(function(){return A.value?e.closeText:e.openText}),I=i6(e),B=I.items,P=I.transformIn,M=I.transformOut,L=nq(R),j=L.textColorClasses,F=L.textColorStyles,U=e1(e,"search",""),z=e1(e,"modelValue",[],function(e){return P(null===e?[null]:Q(e))},function(t){var n,r=M(t);return e.multiple?r:null!==(n=r[0])&&void 0!==n?n:null}),Y=o0(),H=as(e,B,function(){return _.value?"":U.value}),q=H.filteredItems,W=H.getMatches,K=(0,S.computed)(function(){return e.hideSelected?q.value.filter(function(e){return!z.value.some(function(t){return t.value===e.value})}):q.value}),X=(0,S.computed)(function(){return z.value.map(function(e){return e.props.value})}),G=(0,S.computed)(function(){var t;return(!0===e.autoSelectFirst||"exact"===e.autoSelectFirst&&U.value===(null===(t=K.value[0])||void 0===t?void 0:t.title))&&K.value.length>0&&!_.value&&!w.value}),$=(0,S.computed)(function(){return e.hideNoData&&!B.value.length||e.readonly||(null==Y?void 0:Y.isReadonly.value)}),J=(0,k.ref)(),Z=ar(J,m),ee=Z.onListScroll,et=Z.onListKeydown,en=(0,k.shallowRef)(!1);return(0,S.watch)(y,function(t,n){if(t!==n){if(t){var r,i;en.value=!0,U.value=e.multiple?"":String(null!==(i=null===(r=z.value.at(-1))||void 0===r?void 0:r.props.title)&&void 0!==i?i:""),_.value=!0,(0,S.nextTick)(function(){return en.value=!1})}else e.multiple||U.value?!G.value||w.value||z.value.some(function(e){return e.value===K.value[0].value})||f(K.value[0]):z.value=[],A.value=!1,U.value="",D.value=-1}}),(0,S.watch)(U,function(e){y.value&&!en.value&&(e&&(A.value=!0),_.value=!e)}),(0,S.watch)(A,function(){if(!e.hideSelected&&A.value&&z.value.length){var t=K.value.findIndex(function(e){return z.value.some(function(t){return e.value===t.value})});T&&window.requestAnimationFrame(function(){var e;t>=0&&(null===(e=E.value)||void 0===e||e.scrollToIndex(t))})}}),t4(function(){var t,w,k=!!(e.chips||h.chip),N=!!(!e.hideNoData||K.value.length||h["prepend-item"]||h["append-item"]||h["no-data"]),T=z.value.length>0,R=(0,x._)(o8.filterProps(e),1)[0];return(0,S.createVNode)(o8,(0,S.mergeProps)({ref:m},R,{modelValue:U.value,"onUpdate:modelValue":d,focused:y.value,"onUpdate:focused":function(e){return y.value=e},validationValue:z.externalValue,dirty:T,onInput:a,onChange:l,class:["v-autocomplete","v-autocomplete--".concat(e.multiple?"multiple":"single"),{"v-autocomplete--active-menu":A.value,"v-autocomplete--chips":!!e.chips,"v-autocomplete--selection-slot":!!h.selection,"v-autocomplete--selecting-index":D.value>-1},e.class],style:e.style,readonly:e.readonly,placeholder:T?void 0:e.placeholder,"onClick:clear":n,"onMousedown:control":r,onKeydown:o}),(0,b._)((0,p._)({},h),{default:function(){return(0,S.createVNode)(S.Fragment,null,[(0,S.createVNode)(oL,(0,S.mergeProps)({ref:C,modelValue:A.value,"onUpdate:modelValue":function(e){return A.value=e},activator:"parent",contentClass:"v-autocomplete__content",disabled:$.value,eager:e.eager,maxHeight:310,openOnClick:!1,closeOnContentClick:!1,transition:e.transition,onAfterLeave:u},e.menuProps),{default:function(){return[N&&(0,S.createVNode)(i7,{ref:J,selected:X.value,selectStrategy:e.multiple?"independent":"single-independent",onMousedown:function(e){return e.preventDefault()},onKeydown:et,onFocusin:s,onFocusout:c,onScrollPassive:ee,tabindex:"-1",color:null!==(t=e.itemColor)&&void 0!==t?t:e.color},{default:function(){var t,n,r;return[null===(t=h["prepend-item"])||void 0===t?void 0:t.call(h),!K.value.length&&!e.hideNoData&&(null!==(w=null===(n=h["no-data"])||void 0===n?void 0:n.call(h))&&void 0!==w?w:(0,S.createVNode)(i$,{title:g(e.noDataText)},null)),(0,S.createVNode)(an,{ref:E,renderless:!0,items:K.value},{default:function(t){var n,r,i=t.item,o=t.index,a=t.itemRef,l=(0,S.mergeProps)(i.props,{ref:a,key:o,active:!!G.value&&0===o||void 0,onClick:function(){return f(i)}});return null!==(r=null===(n=h.item)||void 0===n?void 0:n.call(h,{item:i,index:o,props:l}))&&void 0!==r?r:(0,S.createVNode)(i$,l,{prepend:function(t){var n=t.isSelected;return(0,S.createVNode)(S.Fragment,null,[e.multiple&&!e.hideSelected?(0,S.createVNode)(i_,{key:i.value,modelValue:n,ripple:!1,tabindex:"-1"},null):void 0,i.props.prependIcon&&(0,S.createVNode)(rp,{icon:i.props.prependIcon},null)])},title:function(){var e,t,n;return _.value?i.title:function(e,t,n){if(null==t)return e;if(Array.isArray(t))throw Error("Multiple matches is not implemented");return"number"==typeof t&&~t?(0,S.createVNode)(S.Fragment,null,[(0,S.createVNode)("span",{class:"v-autocomplete__unmask"},[e.substr(0,t)]),(0,S.createVNode)("span",{class:"v-autocomplete__mask"},[e.substr(t,n)]),(0,S.createVNode)("span",{class:"v-autocomplete__unmask"},[e.substr(t+n)])]):e}(i.title,null===(e=W(i))||void 0===e?void 0:e.title,null!==(n=null===(t=U.value)||void 0===t?void 0:t.length)&&void 0!==n?n:0)}})}}),null===(r=h["append-item"])||void 0===r?void 0:r.call(h)]}})]}}),z.value.map(function(t,n){var r,i,o={"onClick:close":function(e){e.stopPropagation(),e.preventDefault(),f(t)},onMousedown:function(e){e.preventDefault(),e.stopPropagation()},modelValue:!0,"onUpdate:modelValue":void 0};return(0,S.createVNode)("div",{key:t.value,class:["v-autocomplete__selection",n===D.value&&["v-autocomplete__selection--selected",j.value]],style:n===D.value?F.value:{}},[k?h.chip?(0,S.createVNode)(nD,{key:"chip-defaults",defaults:{VChip:{closable:e.closableChips,size:"small",text:t.title}}},{default:function(){var e;return[null===(e=h.chip)||void 0===e?void 0:e.call(h,{item:t,index:n,props:o})]}}):(0,S.createVNode)(iE,(0,S.mergeProps)({key:"chip",closable:e.closableChips,size:"small",text:t.title},o),null):null!==(i=null===(r=h.selection)||void 0===r?void 0:r.call(h,{item:t,index:n}))&&void 0!==i?i:(0,S.createVNode)("span",{class:"v-autocomplete__selection-text"},[t.title,e.multiple&&n=r.length-1},i),{default:n.title?function(){var e;return null===(e=n.title)||void 0===e?void 0:e.call(n,{item:o,index:t})}:void 0}),tt+16&&e.right(e)),Math.abs(e.offsetX)<.5*Math.abs(e.offsetY)&&(e.up&&ir+16&&e.down(e))},aW={mounted:function(e,t){var n,r,i,o=t.value,a=(null==o?void 0:o.parent)?e.parentElement:e,l=null!==(r=null==o?void 0:o.options)&&void 0!==r?r:{passive:!0},u=null===(n=t.instance)||void 0===n?void 0:n.$.uid;if(a&&u){var s=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t={touchstartX:0,touchstartY:0,touchendX:0,touchendY:0,touchmoveX:0,touchmoveY:0,offsetX:0,offsetY:0,left:e.left,right:e.right,up:e.up,down:e.down,start:e.start,move:e.move,end:e.end};return{touchstart:function(e){var n,r;return r=e.changedTouches[0],void(t.touchstartX=r.clientX,t.touchstartY=r.clientY,null===(n=t.start)||void 0===n||n.call(t,(0,p._)({originalEvent:e},t)))},touchend:function(e){var n,r;return r=e.changedTouches[0],void(t.touchendX=r.clientX,t.touchendY=r.clientY,null===(n=t.end)||void 0===n||n.call(t,(0,p._)({originalEvent:e},t)),aq(t))},touchmove:function(e){var n,r;return r=e.changedTouches[0],void(t.touchmoveX=r.clientX,t.touchmoveY=r.clientY,null===(n=t.move)||void 0===n||n.call(t,(0,p._)({originalEvent:e},t)))}}}(t.value);a._touchHandlers=null!==(i=a._touchHandlers)&&void 0!==i?i:Object.create(null),a._touchHandlers[u]=s,q(s).forEach(function(e){a.addEventListener(e,s[e],l)})}},unmounted:function(e,t){var n,r,i=(null===(n=t.value)||void 0===n?void 0:n.parent)?e.parentElement:e,o=null===(r=t.instance)||void 0===r?void 0:r.$.uid;if((null==i?void 0:i._touchHandlers)&&o){var a=i._touchHandlers[o];q(a).forEach(function(e){i.removeEventListener(e,a[e])}),delete i._touchHandlers[o]}}},aK=Symbol.for("vuetify:v-window"),aX=Symbol.for("vuetify:v-window-group"),aG=eU((0,p._)({continuous:Boolean,nextIcon:{type:[Boolean,String,Function,Object],default:"$next"},prevIcon:{type:[Boolean,String,Function,Object],default:"$prev"},reverse:Boolean,showArrows:{type:[Boolean,String],validator:function(e){return"boolean"==typeof e||"hover"===e}},touch:{type:[Object,Boolean],default:void 0},direction:{type:String,default:"horizontal"},modelValue:null,disabled:Boolean,selectedClass:{type:String,default:"v-window-item--active"},// TODO: mandatory should probably not be exposed but do this for now
+mandatory:{type:[Boolean,String],default:"force"}},tX(),t7(),tT()),"VWindow"),a$=eY()({name:"VWindow",directives:{Touch:aW},props:aG(),emits:{"update:modelValue":function(e){return!0}},setup:function(e,t){var n=function(){y.value&&u.prev()},r=function(){_.value&&u.next()},i=t.slots,o=tD(e).themeClasses,a=te().isRtl,l=e9().t,u=ra(e,aX),s=(0,k.ref)(),c=(0,S.computed)(function(){return a.value?!e.reverse:e.reverse}),d=(0,k.shallowRef)(!1),f=(0,S.computed)(function(){var t="vertical"===e.direction?"y":"x",n=c.value?!d.value:d.value;return"v-window-".concat(t).concat(n?"-reverse":"","-transition")}),h=(0,k.shallowRef)(0),g=(0,k.ref)(void 0),m=(0,S.computed)(function(){return u.items.value.findIndex(function(e){return u.selected.value.includes(e.id)})});(0,S.watch)(m,function(e,t){var n=u.items.value.length,r=n-1;n<=2?d.value=e0}},progress:[Boolean,String],verticalDelimiters:[Boolean,String]},aG({continuous:!0,mandatory:"force",showArrows:!0})),"VCarousel"),aZ=eY()({name:"VCarousel",props:aJ(),emits:{"update:modelValue":function(e){return!0}},setup:function(e,t){var n=function(){e.cycle&&l.value&&(u=window.setTimeout(l.value.group.next,+e.interval>0?+e.interval:6e3))},r=function(){window.clearTimeout(u),window.requestAnimationFrame(n)},i=t.slots,o=e1(e,"modelValue"),a=e9().t,l=(0,k.ref)(),u=-1;return(0,S.watch)(o,r),(0,S.watch)(function(){return e.interval},r),(0,S.watch)(function(){return e.cycle},function(e){e?r():window.clearTimeout(u)}),(0,S.onMounted)(n),t4(function(){var t=(0,x._)(a$.filterProps(e),1)[0];return(0,S.createVNode)(a$,(0,S.mergeProps)({ref:l},t,{modelValue:o.value,"onUpdate:modelValue":function(e){return o.value=e},class:["v-carousel",{"v-carousel--hide-delimiter-background":e.hideDelimiterBackground,"v-carousel--vertical-delimiters":e.verticalDelimiters},e.class],style:[{height:F(e.height)},e.style]}),{default:i.default,additional:function(t){var n=t.group;return(0,S.createVNode)(S.Fragment,null,[!e.hideDelimiters&&(0,S.createVNode)("div",{class:"v-carousel__controls",style:{left:"left"===e.verticalDelimiters&&e.verticalDelimiters?0:"auto",right:"right"===e.verticalDelimiters?0:"auto"}},[n.items.value.length>0&&(0,S.createVNode)(nD,{defaults:{VBtn:{color:e.color,icon:e.delimiterIcon,size:"x-small",variant:"text"}},scoped:!0},{default:function(){return[n.items.value.map(function(e,t){var r={id:"carousel-item-".concat(e.id),"aria-label":a("$vuetify.carousel.ariaLabel.delimiter",t+1,n.items.value.length),class:[n.isSelected(e.id)&&"v-btn--active"],onClick:function(){return n.select(e.id,!0)}};return i.item?i.item({props:r,item:e}):(0,S.createVNode)(r8,(0,S.mergeProps)(e,r),null)})]}})]),e.progress&&(0,S.createVNode)(rD,{class:"v-carousel__progress",color:"string"==typeof e.progress?e.progress:void 0,modelValue:(n.getItemIndex(o.value)+1)/n.items.value.length*100},null)])},prev:i.prev,next:i.next})}),{}}}),p=f("a42Vg"),x=f("6wEIk");f("7DTtY");var S=f("5BxzC"),p=f("a42Vg");f("7DTtY");var S=f("5BxzC"),k=f("bNhjt"),m=f("jo4gN"),aQ=eU((0,p._)({reverseTransition:{type:[Boolean,String],default:void 0},transition:{type:[Boolean,String],default:void 0}},tX(),ri(),ob()),"VWindowItem"),a0=eY()({name:"VWindowItem",directives:{Touch:aW},props:aQ(),emits:{"group:selected":function(e){return!0}},setup:function(e,t){var n=function(){c.value&&l&&(// Finalize transition state.
c.value=!1,l.transitionCount.value>0&&(l.transitionCount.value-=1,0===l.transitionCount.value&&(l.transitionHeight.value=void 0)))},r=function(){var e;!c.value&&l&&(// Initialize transition state here.
c.value=!0,0===l.transitionCount.value&&(l.transitionHeight.value=F(null===(e=l.rootRef.value)||void 0===e?void 0:e.clientHeight)),l.transitionCount.value+=1)},i=function(){n();// This should have the same path as normal transition end.
},o=function(e){c.value&&(0,S.nextTick)(function(){// Do not set height if no transition or cancelled.
d.value&&c.value&&l&&// Set transition target height.
-(l.transitionHeight.value=F(e.clientHeight))})},a=t.slots,l=(0,S.inject)(aK),u=ro(e,aX),s=n1().isBooted;if(!l||!u)throw Error("[Vuetify] VWindowItem must be used inside VWindow");var c=(0,k.shallowRef)(!1),d=(0,S.computed)(function(){return s.value&&(l.isReversed.value?!1!==e.reverseTransition:!1!==e.transition)}),f=(0,S.computed)(function(){var t=l.isReversed.value?e.reverseTransition:e.transition;return!!d.value&&{name:"string"!=typeof t?l.transition.value:t,onBeforeEnter:r,onAfterEnter:n,onEnterCancelled:i,onBeforeLeave:r,onAfterLeave:n,onLeaveCancelled:i,onEnter:o}}),h=ow(e,u.isSelected).hasContent;return t5(function(){return(0,S.createVNode)(nM,{transition:f.value,disabled:!s.value},{default:function(){var t;return[(0,S.withDirectives)((0,S.createVNode)("div",{class:["v-window-item",u.selectedClass.value,e.class],style:e.style},[h.value&&(null===(t=a.default)||void 0===t?void 0:t.call(a))]),[[m.vShow,u.isSelected.value]])]}})}),{groupItem:u}}}),a1=eU((0,p._)({},nF(),aQ()),"VCarouselItem"),a2=eY()({name:"VCarouselItem",inheritAttrs:!1,props:a1(),setup:function(e,t){var n=t.slots,r=t.attrs;t5(function(){var t=(0,x._)(nU.filterProps(e),1)[0],i=(0,x._)(a0.filterProps(e),1)[0];return(0,S.createVNode)(a0,(0,S.mergeProps)({class:"v-carousel-item"},i),{default:function(){return[(0,S.createVNode)(nU,(0,S.mergeProps)(r,t),n)]}})})}}),a3={};t(a3,"VCheckbox",function(){return a4}),t(a3,"VCheckboxBtn",function(){return i_});var p=f("a42Vg"),b=f("9zFRg"),x=f("6wEIk");f("7DTtY");var S=f("5BxzC"),a5=eU((0,p._)({},o3(),X(iy(),["inline"])),"VCheckbox"),a4=eY()({name:"VCheckbox",inheritAttrs:!1,props:a5(),emits:{"update:modelValue":function(e){return!0},"update:focused":function(e){return!0}},setup:function(e,t){var n=t.attrs,r=t.slots,i=e1(e,"modelValue"),o=oq(e),a=o.isFocused,l=o.focus,u=o.blur,s=eC(),c=(0,S.computed)(function(){return e.id||"checkbox-".concat(s)});return t5(function(){var t=(0,x._)(Z(n),2),o=t[0],s=t[1],d=(0,x._)(o5.filterProps(e),2),f=d[0];d[1];var h=(0,x._)(i_.filterProps(e),2),g=h[0];return h[1],(0,S.createVNode)(o5,(0,S.mergeProps)({class:["v-checkbox",e.class]},o,f,{modelValue:i.value,"onUpdate:modelValue":function(e){return i.value=e},id:c.value,focused:a.value,style:e.style}),(0,b._)((0,p._)({},r),{default:function(e){var t=e.id,n=e.messagesId,o=e.isDisabled,a=e.isReadonly;return(0,S.createVNode)(i_,(0,S.mergeProps)(g,{id:t.value,"aria-describedby":n.value,disabled:o.value,readonly:a.value},s,{modelValue:i.value,"onUpdate:modelValue":function(e){return i.value=e},onFocus:l,onBlur:u}),r)}}))}),{}}}),a6={};t(a6,"VChip",function(){return iE});var a8={};t(a8,"VChipGroup",function(){return iS});var a7={};t(a7,"VCode",function(){return a9});// Styles
-var a9=ir("v-code"),le={};t(le,"VColorPicker",function(){return lV});var p=f("a42Vg"),b=f("9zFRg"),x=f("6wEIk");f("7DTtY");var k=f("bNhjt"),S=f("5BxzC"),p=f("a42Vg");f("7DTtY");var k=f("bNhjt"),S=f("5BxzC"),lt=ez({name:"VColorPickerCanvas",props:eU((0,p._)({color:{type:Object},disabled:Boolean,dotSize:{type:[Number,String],default:10},height:{type:[Number,String],default:150},width:{type:[Number,String],default:300}},tX()),"VColorPickerCanvas")(),emits:{"update:color":function(e){return!0},"update:position":function(e){return!0}},setup:function(e,t){var n=function(e,t,n){var r=n.left,i=n.top,o=n.width,a=n.height;f.value={x:ee(e-r,0,o),y:ee(t-i,0,a)}},r=function(t){"mousedown"===t.type&&t.preventDefault(),e.disabled||(i(t),window.addEventListener("mousemove",i),window.addEventListener("mouseup",g),window.addEventListener("touchmove",i),window.addEventListener("touchend",g))},i=function(t){if(!e.disabled&&u.value){l.value=!0;var r="touches"in t?{clientX:t.touches[0].clientX,clientY:t.touches[0].clientY}:{clientX:t.clientX,clientY:t.clientY};n(r.clientX,r.clientY,u.value.getBoundingClientRect())}},o=function(){if(u.value){var t,n,r=u.value,i=r.getContext("2d");if(i){var o=i.createLinearGradient(0,0,r.width,0);o.addColorStop(0,"hsla(0, 0%, 100%, 1)"),o.addColorStop(1,"hsla(".concat(null!==(n=null===(t=e.color)||void 0===t?void 0:t.h)&&void 0!==n?n:0,", 100%, 50%, 1)")),i.fillStyle=o,i.fillRect(0,0,r.width,r.height);var a=i.createLinearGradient(0,0,0,r.height);a.addColorStop(0,"hsla(0, 0%, 100%, 0)"),a.addColorStop(1,"hsla(0, 0%, 0%, 1)"),i.fillStyle=a,i.fillRect(0,0,r.width,r.height)}}},a=t.emit,l=(0,k.shallowRef)(!1),u=(0,k.ref)(),s=(0,k.shallowRef)(parseFloat(e.width)),c=(0,k.shallowRef)(parseFloat(e.height)),d=(0,k.ref)({x:0,y:0}),f=(0,S.computed)({get:function(){return d.value},set:function(t){if(u.value){var n,r,i,o,l=t.x,d=t.y;a("update:color",{h:null!==(i=null===(n=e.color)||void 0===n?void 0:n.h)&&void 0!==i?i:0,s:ee(l,0,s.value)/s.value,v:1-ee(d,0,c.value)/c.value,a:null!==(o=null===(r=e.color)||void 0===r?void 0:r.a)&&void 0!==o?o:1})}}}),h=(0,S.computed)(function(){var t=f.value,n=t.x,r=t.y,i=parseInt(e.dotSize,10)/2;return{width:F(e.dotSize),height:F(e.dotSize),transform:"translate(".concat(F(n-i),", ").concat(F(r-i),")")}}),p=t$(function(e){if(null===(t=p.value)||void 0===t?void 0:t.offsetParent){var t,n=e[0].contentRect,r=n.width,i=n.height;s.value=r,c.value=i}}).resizeRef;function g(){window.removeEventListener("mousemove",i),window.removeEventListener("mouseup",g),window.removeEventListener("touchmove",i),window.removeEventListener("touchend",g)}return(0,S.watch)(function(){var t;return null===(t=e.color)||void 0===t?void 0:t.h},o,{immediate:!0}),(0,S.watch)(function(){return[s.value,c.value]},function(e,t){o(),d.value={x:f.value.x*e[0]/t[0],y:f.value.y*e[1]/t[1]}},{flush:"post"}),(0,S.watch)(function(){return e.color},function(){if(l.value){l.value=!1;return}d.value=e.color?{x:e.color.s*s.value,y:(1-e.color.v)*c.value}:{x:0,y:0}},{deep:!0,immediate:!0}),(0,S.onMounted)(function(){return o()}),t5(function(){return(0,S.createVNode)("div",{ref:p,class:["v-color-picker-canvas",e.class],style:e.style,onMousedown:r,onTouchstartPassive:r},[(0,S.createVNode)("canvas",{ref:u,width:s.value,height:c.value},null),e.color&&(0,S.createVNode)("div",{class:["v-color-picker-canvas__dot",{"v-color-picker-canvas__dot--disabled":e.disabled}],style:h.value},null)])}),{}}}),p=f("a42Vg"),b=f("9zFRg");f("7DTtY");var S=f("5BxzC"),p=f("a42Vg"),b=f("9zFRg"),ln={h:0,s:0,v:1,a:1},lr={inputProps:{type:"number",min:0},inputs:[{label:"R",max:255,step:1,getValue:function(e){return Math.round(e.r)},getColor:function(e,t){return(0,b._)((0,p._)({},e),{r:Number(t)})}},{label:"G",max:255,step:1,getValue:function(e){return Math.round(e.g)},getColor:function(e,t){return(0,b._)((0,p._)({},e),{g:Number(t)})}},{label:"B",max:255,step:1,getValue:function(e){return Math.round(e.b)},getColor:function(e,t){return(0,b._)((0,p._)({},e),{b:Number(t)})}},{label:"A",max:1,step:.01,getValue:function(e){var t=e.a;return null!=t?Math.round(100*t)/100:1},getColor:function(e,t){return(0,b._)((0,p._)({},e),{a:Number(t)})}}],to:tp,from:tg},li=(0,b._)((0,p._)({},lr),{inputs:null===(o=lr.inputs)||void 0===o?void 0:o.slice(0,3)}),lo={inputProps:{type:"number",min:0},inputs:[{label:"H",max:360,step:1,getValue:function(e){return Math.round(e.h)},getColor:function(e,t){return(0,b._)((0,p._)({},e),{h:Number(t)})}},{label:"S",max:1,step:.01,getValue:function(e){return Math.round(100*e.s)/100},getColor:function(e,t){return(0,b._)((0,p._)({},e),{s:Number(t)})}},{label:"L",max:1,step:.01,getValue:function(e){return Math.round(100*e.l)/100},getColor:function(e,t){return(0,b._)((0,p._)({},e),{l:Number(t)})}},{label:"A",max:1,step:.01,getValue:function(e){var t=e.a;return null!=t?Math.round(100*t)/100:1},getColor:function(e,t){return(0,b._)((0,p._)({},e),{a:Number(t)})}}],to:tm,from:ty},la=(0,b._)((0,p._)({},lo),{inputs:lo.inputs.slice(0,3)}),ll={inputProps:{type:"text"},inputs:[{label:"HEXA",getValue:function(e){return e},getColor:function(e,t){return t}}],to:tk,from:function(e){return tg(tx(e))}},lu={rgb:li,rgba:lr,hsl:la,hsla:lo,hex:(0,b._)((0,p._)({},ll),{inputs:[{label:"HEX",getValue:function(e){return e.slice(0,7)},getColor:function(e,t){return t}}]}),hexa:ll},ls=function(e){var t=e.label,n=w(e,["label"]);return(0,S.createVNode)("div",{class:"v-color-picker-edit__input"},[(0,S.createVNode)("input",n,null),(0,S.createVNode)("span",null,[t])])},lc=ez({name:"VColorPickerEdit",props:eU((0,p._)({color:Object,disabled:Boolean,mode:{type:String,default:"rgba",validator:function(e){return Object.keys(lu).includes(e)}},modes:{type:Array,default:function(){return Object.keys(lu)},validator:function(e){return Array.isArray(e)&&e.every(function(e){return Object.keys(lu).includes(e)})}}},tX()),"VColorPickerEdit")(),emits:{"update:color":function(e){return!0},"update:mode":function(e){return!0}},setup:function(e,t){var n=t.emit,r=(0,S.computed)(function(){return e.modes.map(function(e){return(0,b._)((0,p._)({},lu[e]),{name:e})})}),i=(0,S.computed)(function(){var t,i=r.value.find(function(t){return t.name===e.mode});if(!i)return[];var o=e.color?i.to(e.color):null;return null===(t=i.inputs)||void 0===t?void 0:t.map(function(t){var r=t.getValue,a=t.getColor,l=w(t,["getValue","getColor"]);return(0,b._)((0,p._)({},i.inputProps,l),{disabled:e.disabled,value:o&&r(o),onChange:function(e){var t=e.target;t&&n("update:color",i.from(a(null!=o?o:ln,t.value)))}})})});return t5(function(){var t;return(0,S.createVNode)("div",{class:["v-color-picker-edit",e.class],style:e.style},[null===(t=i.value)||void 0===t?void 0:t.map(function(e){return(0,S.createVNode)(ls,e,null)}),r.value.length>1&&(0,S.createVNode)(r8,{icon:"$unfold",size:"x-small",variant:"plain",onClick:function(){var t=r.value.findIndex(function(t){return t.name===e.mode});n("update:mode",r.value[(t+1)%r.value.length].name)}},null)])}),{}}}),p=f("a42Vg"),b=f("9zFRg");f("7DTtY");var S=f("5BxzC"),p=f("a42Vg"),b=f("9zFRg"),x=f("6wEIk");f("7DTtY");var k=f("bNhjt"),S=f("5BxzC"),p=f("a42Vg");f("7DTtY");var S=f("5BxzC"),m=f("jo4gN"),p=f("a42Vg");f("7DTtY");var S=f("5BxzC"),k=f("bNhjt"),ld=Symbol.for("vuetify:v-slider");function lf(e,t,n){var r=t.getBoundingClientRect(),i="touches"in e?e.touches[0]:e;return"vertical"===n?i.clientY-(r.top+r.height/2):i.clientX-(r.left+r.width/2)}var lh=eU((0,p._)({disabled:{type:Boolean,default:null},error:Boolean,readonly:{type:Boolean,default:null},max:{type:[Number,String],default:100},min:{type:[Number,String],default:0},step:{type:[Number,String],default:0},thumbColor:String,thumbLabel:{type:[Boolean,String],default:void 0,validator:function(e){return"boolean"==typeof e||"always"===e}},thumbSize:{type:[Number,String],default:20},showTicks:{type:[Boolean,String],default:!1,validator:function(e){return"boolean"==typeof e||"always"===e}},ticks:{type:[Array,Object]},tickSize:{type:[Number,String],default:2},color:String,trackColor:String,trackFillColor:String,trackSize:{type:[Number,String],default:4},direction:{type:String,default:"horizontal",validator:function(e){return["vertical","horizontal"].includes(e)}},reverse:Boolean},nG(),nK({elevation:2})),"Slider"),lv=function(e){var t=(0,S.computed)(function(){return parseFloat(e.min)}),n=(0,S.computed)(function(){return parseFloat(e.max)}),r=(0,S.computed)(function(){return+e.step>0?parseFloat(e.step):0}),i=(0,S.computed)(function(){return Math.max(et(r.value),et(t.value))});return{min:t,max:n,step:r,decimals:i,roundValue:function(e){if(e=parseFloat(e),r.value<=0)return e;var o=ee(e,t.value,n.value),a=t.value%r.value;return parseFloat(Math.min(Math.round((o-a)/r.value)*r.value+a,n.value).toFixed(i.value))}}},lp=function(e){var t,n,r,i=function(e){var t,n,r="vertical"===a.direction,i=null===(n=I.value)||void 0===n?void 0:n.$el.getBoundingClientRect(),o=i[r?"top":"left"],l=i[r?"height":"width"],u=Math.min(Math.max((t=r?"clientY":"clientX",(("touches"in e&&e.touches.length?e.touches[0][t]:"changedTouches"in e&&e.changedTouches.length?e.changedTouches[0][t]:e[t])-o-O.value)/l),0),1)||0;return(r||"rtl"===p.value)&&(u=1-u),b(g.value+u*(m.value-g.value))},o=function(e){s({value:i(e)})},a=e.props,l=e.steps,u=e.onSliderStart,s=e.onSliderMove,c=e.onSliderEnd,d=e.getActiveThumb,f=te().isRtl,h=(0,k.toRef)(a,"reverse"),p=(0,S.computed)(function(){var e=f.value?"rtl":"ltr";return a.reverse&&(e="rtl"===e?"ltr":"rtl"),e}),g=l.min,m=l.max,y=l.step,_=l.decimals,b=l.roundValue,w=(0,S.computed)(function(){return parseInt(a.thumbSize,10)}),x=(0,S.computed)(function(){return parseInt(a.tickSize,10)}),C=(0,S.computed)(function(){return parseInt(a.trackSize,10)}),E=(0,S.computed)(function(){return(m.value-g.value)/y.value}),V=(0,k.toRef)(a,"disabled"),N=(0,S.computed)(function(){return"vertical"===a.direction}),T=(0,S.computed)(function(){return a.error||a.disabled?void 0:null!==(t=a.thumbColor)&&void 0!==t?t:a.color}),A=(0,S.computed)(function(){return a.error||a.disabled?void 0:null!==(n=a.trackColor)&&void 0!==n?n:a.color}),D=(0,S.computed)(function(){return a.error||a.disabled?void 0:null!==(r=a.trackFillColor)&&void 0!==r?r:a.color}),R=(0,k.shallowRef)(!1),O=(0,k.shallowRef)(0),I=(0,k.ref)(),B=(0,k.ref)(),P=function(e){c({value:i(e)}),R.value=!1,O.value=0},M=function(e){B.value=d(e),B.value&&(B.value.focus(),R.value=!0,B.value.contains(e.target)?O.value=lf(e,B.value,a.direction):(O.value=0,s({value:i(e)})),u({value:i(e)}))},L={passive:!0,capture:!0};function F(e){e.stopPropagation(),e.preventDefault(),P(e),window.removeEventListener("mousemove",o,L),window.removeEventListener("mouseup",F)}function U(e){var t;P(e),window.removeEventListener("touchmove",o,L),null===(t=e.target)||void 0===t||t.removeEventListener("touchend",U)}var z=function(e){var t=(e-g.value)/(m.value-g.value)*100;return ee(isNaN(t)?0:t,0,100)},Y=(0,k.toRef)(a,"showTicks"),H=(0,S.computed)(function(){return Y.value?a.ticks?Array.isArray(a.ticks)?a.ticks.map(function(e){return{value:e,position:z(e),label:e.toString()}}):Object.keys(a.ticks).map(function(e){return{value:parseFloat(e),position:z(parseFloat(e)),label:a.ticks[e]}}):E.value!==1/0?j(E.value+1).map(function(e){var t=g.value+e*y.value;return{value:t,position:z(t)}}):[]:[]}),q=(0,S.computed)(function(){return H.value.some(function(e){return!!e.label})}),W={activeThumbRef:B,color:(0,k.toRef)(a,"color"),decimals:_,disabled:V,direction:(0,k.toRef)(a,"direction"),elevation:(0,k.toRef)(a,"elevation"),hasLabels:q,horizontalDirection:p,isReversed:h,min:g,max:m,mousePressed:R,numTicks:E,onSliderMousedown:function(e){e.preventDefault(),M(e),window.addEventListener("mousemove",o,L),window.addEventListener("mouseup",F,{passive:!1})},onSliderTouchstart:function(e){var t;M(e),window.addEventListener("touchmove",o,L),null===(t=e.target)||void 0===t||t.addEventListener("touchend",U,{passive:!1})},parsedTicks:H,parseMouseMove:i,position:z,readonly:(0,k.toRef)(a,"readonly"),rounded:(0,k.toRef)(a,"rounded"),roundValue:b,showTicks:Y,startOffset:O,step:y,thumbSize:w,thumbColor:T,thumbLabel:(0,k.toRef)(a,"thumbLabel"),ticks:(0,k.toRef)(a,"ticks"),tickSize:x,trackColor:A,trackContainerRef:I,trackFillColor:D,trackSize:C,vertical:N};return(0,S.provide)(ld,W),W},lg=eU((0,p._)({focused:Boolean,max:{type:Number,required:!0},min:{type:Number,required:!0},modelValue:{type:Number,required:!0},position:{type:Number,required:!0},ripple:{type:[Boolean,Object],default:!0}},tX()),"VSliderThumb"),lm=eY()({name:"VSliderThumb",directives:{Ripple:r4},props:lg(),emits:{"update:modelValue":function(e){return!0}},setup:function(e,t){var n=function(t,n){if(P.includes(t.key)){t.preventDefault();var r=s.value||.1,i=(e.max-e.min)/r;if([R,O,I,B].includes(t.key)){var o=("rtl"===w.value?[R,B]:[O,B]).includes(t.key)?1:-1,a=t.shiftKey?2:t.ctrlKey?1:0;n+=o*r*M.value[a]}else t.key===D?n=e.min:t.key===A?n=e.max:n-=(t.key===T?1:-1)*r*(i>100?i/10:10);return Math.max(e.min,Math.min(e.max,n))}},r=function(t){var r=n(t,e.modelValue);null!=r&&o("update:modelValue",r)},i=t.slots,o=t.emit,a=(0,S.inject)(ld),l=te().rtlClasses;if(!a)throw Error("[Vuetify] v-slider-thumb must be used inside v-slider or v-range-slider");var u=a.thumbColor,s=a.step,c=a.vertical,d=a.disabled,f=a.thumbSize,h=a.thumbLabel,g=a.direction,y=a.readonly,_=a.elevation,b=a.isReversed,w=a.horizontalDirection,x=a.mousePressed,k=a.decimals,C=nq(u),E=C.textColorClasses,V=C.textColorStyles,N=H.pageup,T=H.pagedown,A=H.end,D=H.home,R=H.left,O=H.right,I=H.down,B=H.up,P=[N,T,A,D,R,O,I,B],M=(0,S.computed)(function(){return s.value?[1,2,3]:[1,5,10]});return t5(function(){var t,n=F(c.value||b.value?100-e.position:e.position,"%"),o=nX((0,S.computed)(function(){return d.value?void 0:_.value})).elevationClasses;return(0,S.createVNode)("div",{class:["v-slider-thumb",{"v-slider-thumb--focused":e.focused,"v-slider-thumb--pressed":e.focused&&x.value},e.class,l.value],style:[{"--v-slider-thumb-position":n,"--v-slider-thumb-size":F(f.value)},e.style],role:"slider",tabindex:d.value?-1:0,"aria-valuemin":e.min,"aria-valuemax":e.max,"aria-valuenow":e.modelValue,"aria-readonly":!!y.value,"aria-orientation":g.value,onKeydown:y.value?void 0:r},[(0,S.createVNode)("div",{class:["v-slider-thumb__surface",E.value,o.value],style:(0,p._)({},V.value)},null),(0,S.withDirectives)((0,S.createVNode)("div",{class:["v-slider-thumb__ripple",E.value],style:V.value},null),[[(0,S.resolveDirective)("ripple"),e.ripple,null,{circle:!0,center:!0}]]),(0,S.createVNode)(n_,{origin:"bottom center"},{default:function(){var n;return[(0,S.withDirectives)((0,S.createVNode)("div",{class:"v-slider-thumb__label-container"},[(0,S.createVNode)("div",{class:["v-slider-thumb__label"]},[(0,S.createVNode)("div",null,[null!==(t=null===(n=i["thumb-label"])||void 0===n?void 0:n.call(i,{modelValue:e.modelValue}))&&void 0!==t?t:e.modelValue.toFixed(s.value?k.value:1)])])]),[[m.vShow,h.value&&e.focused||"always"===h.value]])]}})])}),{}}}),tG=f("h8xva"),p=f("a42Vg");f("7DTtY");var S=f("5BxzC"),ly=eU((0,p._)({start:{type:Number,required:!0},stop:{type:Number,required:!0}},tX()),"VSliderTrack"),l_=eY()((0,tG._)({name:"VSliderTrack",props:ly(),emits:{}},"setup",function(e,t){var n=t.slots,r=(0,S.inject)(ld);if(!r)throw Error("[Vuetify] v-slider-track must be inside v-slider or v-range-slider");var i=r.color,o=r.horizontalDirection,a=r.parsedTicks,l=r.rounded,u=r.showTicks,s=r.tickSize,c=r.trackColor,d=r.trackFillColor,f=r.trackSize,h=r.vertical,g=r.min,m=r.max,y=n$(l).roundedClasses,_=nW(d),b=_.backgroundColorClasses,w=_.backgroundColorStyles,x=nW(c),k=x.backgroundColorClasses,C=x.backgroundColorStyles,E=(0,S.computed)(function(){return"inset-".concat(h.value?"block-end":"inline-start")}),V=(0,S.computed)(function(){return h.value?"height":"width"}),N=(0,S.computed)(function(){var e;return e={},(0,tG._)(e,E.value,"0%"),(0,tG._)(e,V.value,"100%"),e}),T=(0,S.computed)(function(){return e.stop-e.start}),A=(0,S.computed)(function(){var t;return t={},(0,tG._)(t,E.value,F(e.start,"%")),(0,tG._)(t,V.value,F(T.value,"%")),t}),D=(0,S.computed)(function(){return u.value?(h.value?a.value.slice().reverse():a.value).map(function(t,r){var i,o,a=h.value?"bottom":"margin-inline-start",l=t.value!==g.value&&t.value!==m.value?F(t.position,"%"):void 0;return(0,S.createVNode)("div",{key:t.value,class:["v-slider-track__tick",{"v-slider-track__tick--filled":t.position>=e.start&&t.position<=e.stop,"v-slider-track__tick--first":t.value===g.value,"v-slider-track__tick--last":t.value===m.value}],style:(0,tG._)({},a,l)},[(t.label||n["tick-label"])&&(0,S.createVNode)("div",{class:"v-slider-track__tick-label"},[null!==(o=null===(i=n["tick-label"])||void 0===i?void 0:i.call(n,{tick:t,index:r}))&&void 0!==o?o:t.label])])}):[]});return t5(function(){return(0,S.createVNode)("div",{class:["v-slider-track",y.value,e.class],style:[{"--v-slider-track-size":F(f.value),"--v-slider-tick-size":F(s.value),direction:h.value?void 0:o.value},e.style]},[(0,S.createVNode)("div",{class:["v-slider-track__background",k.value,{"v-slider-track__background--opacity":!!i.value||!d.value}],style:(0,p._)({},N.value,C.value)},null),(0,S.createVNode)("div",{class:["v-slider-track__fill",b.value],style:(0,p._)({},A.value,w.value)},null),u.value&&(0,S.createVNode)("div",{class:["v-slider-track__ticks",{"v-slider-track__ticks--always-show":"always"===u.value}]},[D.value])])}),{}})),lb=eU((0,b._)((0,p._)({},oH(),lh(),o3()),{modelValue:{type:[Number,String],default:0}}),"VSlider"),lw=eY()({name:"VSlider",props:lb(),emits:{"update:focused":function(e){return!0},"update:modelValue":function(e){return!0},start:function(e){return!0},end:function(e){return!0}},setup:function(e,t){var n=t.slots,r=t.emit,i=(0,k.ref)(),o=te().rtlClasses,a=lv(e),l=e1(e,"modelValue",void 0,function(e){return a.roundValue(null==e?a.min.value:e)}),u=lp({props:e,steps:a,onSliderStart:function(){r("start",l.value)},onSliderEnd:function(e){var t=f(e.value);l.value=t,r("end",t)},onSliderMove:function(e){var t=e.value;return l.value=f(t)},getActiveThumb:function(){var e;return null===(e=i.value)||void 0===e?void 0:e.$el}}),s=u.min,c=u.max,d=u.mousePressed,f=u.roundValue,h=u.onSliderMousedown,g=u.onSliderTouchstart,m=u.trackContainerRef,y=u.position,_=u.hasLabels,w=u.readonly,C=oq(e),E=C.isFocused,V=C.focus,N=C.blur,T=(0,S.computed)(function(){return y(l.value)});return t5(function(){var t,r=(0,x._)(o5.filterProps(e),2),a=r[0];r[1];var u=!!(e.label||n.label||n.prepend);return(0,S.createVNode)(o5,(0,S.mergeProps)({class:["v-slider",{"v-slider--has-labels":!!n["tick-label"]||_.value,"v-slider--focused":E.value,"v-slider--pressed":d.value,"v-slider--disabled":e.disabled},o.value,e.class],style:e.style},a,{focused:E.value}),(0,b._)((0,p._)({},n),{prepend:u?function(r){var i,o;return(0,S.createVNode)(S.Fragment,null,[(null!==(t=null===(i=n.label)||void 0===i?void 0:i.call(n,r))&&void 0!==t?t:e.label)?(0,S.createVNode)(ic,{id:r.id.value,class:"v-slider__label",text:e.label},null):void 0,null===(o=n.prepend)||void 0===o?void 0:o.call(n,r)])}:void 0,default:function(t){var r=t.id,o=t.messagesId;return(0,S.createVNode)("div",{class:"v-slider__container",onMousedown:w.value?void 0:h,onTouchstartPassive:w.value?void 0:g},[(0,S.createVNode)("input",{id:r.value,name:e.name||r.value,disabled:!!e.disabled,readonly:!!e.readonly,tabindex:"-1",value:l.value},null),(0,S.createVNode)(l_,{ref:m,start:0,stop:T.value},{"tick-label":n["tick-label"]}),(0,S.createVNode)(lm,{ref:i,"aria-describedby":o.value,focused:E.value,min:s.value,max:c.value,modelValue:l.value,"onUpdate:modelValue":function(e){return l.value=e},position:T.value,elevation:e.elevation,onFocus:V,onBlur:N},{"thumb-label":n["thumb-label"]})])}}))}),{}}}),lx=ez({name:"VColorPickerPreview",props:eU((0,p._)({color:{type:Object},disabled:Boolean,hideAlpha:Boolean},tX()),"VColorPickerPreview")(),emits:{"update:color":function(e){return!0}},setup:function(e,t){var n,r,i,o,a=t.emit;return t5(function(){var t,l;return(0,S.createVNode)("div",{class:["v-color-picker-preview",{"v-color-picker-preview--hide-alpha":e.hideAlpha},e.class],style:e.style},[(0,S.createVNode)("div",{class:"v-color-picker-preview__dot"},[(0,S.createVNode)("div",{style:{background:t_(tp(null!==(n=e.color)&&void 0!==n?n:ln))}},null)]),(0,S.createVNode)("div",{class:"v-color-picker-preview__sliders"},[(0,S.createVNode)(lw,{class:"v-color-picker-preview__track v-color-picker-preview__hue",modelValue:null===(t=e.color)||void 0===t?void 0:t.h,"onUpdate:modelValue":function(t){return a("update:color",(0,b._)((0,p._)({},null!==(r=e.color)&&void 0!==r?r:ln),{h:t}))},step:0,min:0,max:360,disabled:e.disabled,thumbSize:14,trackSize:8,trackFillColor:"white",hideDetails:!0},null),!e.hideAlpha&&(0,S.createVNode)(lw,{class:"v-color-picker-preview__track v-color-picker-preview__alpha",modelValue:null!==(i=null===(l=e.color)||void 0===l?void 0:l.a)&&void 0!==i?i:1,"onUpdate:modelValue":function(t){return a("update:color",(0,b._)((0,p._)({},null!==(o=e.color)&&void 0!==o?o:ln),{a:t}))},step:1/256,min:0,max:1,disabled:e.disabled,thumbSize:14,trackSize:8,trackFillColor:"white",hideDetails:!0},null)])])}),{}}}),p=f("a42Vg");f("7DTtY");var S=f("5BxzC"),lk=Object.freeze({red:Object.freeze({base:"#f44336",lighten5:"#ffebee",lighten4:"#ffcdd2",lighten3:"#ef9a9a",lighten2:"#e57373",lighten1:"#ef5350",darken1:"#e53935",darken2:"#d32f2f",darken3:"#c62828",darken4:"#b71c1c",accent1:"#ff8a80",accent2:"#ff5252",accent3:"#ff1744",accent4:"#d50000"}),pink:Object.freeze({base:"#e91e63",lighten5:"#fce4ec",lighten4:"#f8bbd0",lighten3:"#f48fb1",lighten2:"#f06292",lighten1:"#ec407a",darken1:"#d81b60",darken2:"#c2185b",darken3:"#ad1457",darken4:"#880e4f",accent1:"#ff80ab",accent2:"#ff4081",accent3:"#f50057",accent4:"#c51162"}),purple:Object.freeze({base:"#9c27b0",lighten5:"#f3e5f5",lighten4:"#e1bee7",lighten3:"#ce93d8",lighten2:"#ba68c8",lighten1:"#ab47bc",darken1:"#8e24aa",darken2:"#7b1fa2",darken3:"#6a1b9a",darken4:"#4a148c",accent1:"#ea80fc",accent2:"#e040fb",accent3:"#d500f9",accent4:"#aa00ff"}),deepPurple:Object.freeze({base:"#673ab7",lighten5:"#ede7f6",lighten4:"#d1c4e9",lighten3:"#b39ddb",lighten2:"#9575cd",lighten1:"#7e57c2",darken1:"#5e35b1",darken2:"#512da8",darken3:"#4527a0",darken4:"#311b92",accent1:"#b388ff",accent2:"#7c4dff",accent3:"#651fff",accent4:"#6200ea"}),indigo:Object.freeze({base:"#3f51b5",lighten5:"#e8eaf6",lighten4:"#c5cae9",lighten3:"#9fa8da",lighten2:"#7986cb",lighten1:"#5c6bc0",darken1:"#3949ab",darken2:"#303f9f",darken3:"#283593",darken4:"#1a237e",accent1:"#8c9eff",accent2:"#536dfe",accent3:"#3d5afe",accent4:"#304ffe"}),blue:Object.freeze({base:"#2196f3",lighten5:"#e3f2fd",lighten4:"#bbdefb",lighten3:"#90caf9",lighten2:"#64b5f6",lighten1:"#42a5f5",darken1:"#1e88e5",darken2:"#1976d2",darken3:"#1565c0",darken4:"#0d47a1",accent1:"#82b1ff",accent2:"#448aff",accent3:"#2979ff",accent4:"#2962ff"}),lightBlue:Object.freeze({base:"#03a9f4",lighten5:"#e1f5fe",lighten4:"#b3e5fc",lighten3:"#81d4fa",lighten2:"#4fc3f7",lighten1:"#29b6f6",darken1:"#039be5",darken2:"#0288d1",darken3:"#0277bd",darken4:"#01579b",accent1:"#80d8ff",accent2:"#40c4ff",accent3:"#00b0ff",accent4:"#0091ea"}),cyan:Object.freeze({base:"#00bcd4",lighten5:"#e0f7fa",lighten4:"#b2ebf2",lighten3:"#80deea",lighten2:"#4dd0e1",lighten1:"#26c6da",darken1:"#00acc1",darken2:"#0097a7",darken3:"#00838f",darken4:"#006064",accent1:"#84ffff",accent2:"#18ffff",accent3:"#00e5ff",accent4:"#00b8d4"}),teal:Object.freeze({base:"#009688",lighten5:"#e0f2f1",lighten4:"#b2dfdb",lighten3:"#80cbc4",lighten2:"#4db6ac",lighten1:"#26a69a",darken1:"#00897b",darken2:"#00796b",darken3:"#00695c",darken4:"#004d40",accent1:"#a7ffeb",accent2:"#64ffda",accent3:"#1de9b6",accent4:"#00bfa5"}),green:Object.freeze({base:"#4caf50",lighten5:"#e8f5e9",lighten4:"#c8e6c9",lighten3:"#a5d6a7",lighten2:"#81c784",lighten1:"#66bb6a",darken1:"#43a047",darken2:"#388e3c",darken3:"#2e7d32",darken4:"#1b5e20",accent1:"#b9f6ca",accent2:"#69f0ae",accent3:"#00e676",accent4:"#00c853"}),lightGreen:Object.freeze({base:"#8bc34a",lighten5:"#f1f8e9",lighten4:"#dcedc8",lighten3:"#c5e1a5",lighten2:"#aed581",lighten1:"#9ccc65",darken1:"#7cb342",darken2:"#689f38",darken3:"#558b2f",darken4:"#33691e",accent1:"#ccff90",accent2:"#b2ff59",accent3:"#76ff03",accent4:"#64dd17"}),lime:Object.freeze({base:"#cddc39",lighten5:"#f9fbe7",lighten4:"#f0f4c3",lighten3:"#e6ee9c",lighten2:"#dce775",lighten1:"#d4e157",darken1:"#c0ca33",darken2:"#afb42b",darken3:"#9e9d24",darken4:"#827717",accent1:"#f4ff81",accent2:"#eeff41",accent3:"#c6ff00",accent4:"#aeea00"}),yellow:Object.freeze({base:"#ffeb3b",lighten5:"#fffde7",lighten4:"#fff9c4",lighten3:"#fff59d",lighten2:"#fff176",lighten1:"#ffee58",darken1:"#fdd835",darken2:"#fbc02d",darken3:"#f9a825",darken4:"#f57f17",accent1:"#ffff8d",accent2:"#ffff00",accent3:"#ffea00",accent4:"#ffd600"}),amber:Object.freeze({base:"#ffc107",lighten5:"#fff8e1",lighten4:"#ffecb3",lighten3:"#ffe082",lighten2:"#ffd54f",lighten1:"#ffca28",darken1:"#ffb300",darken2:"#ffa000",darken3:"#ff8f00",darken4:"#ff6f00",accent1:"#ffe57f",accent2:"#ffd740",accent3:"#ffc400",accent4:"#ffab00"}),orange:Object.freeze({base:"#ff9800",lighten5:"#fff3e0",lighten4:"#ffe0b2",lighten3:"#ffcc80",lighten2:"#ffb74d",lighten1:"#ffa726",darken1:"#fb8c00",darken2:"#f57c00",darken3:"#ef6c00",darken4:"#e65100",accent1:"#ffd180",accent2:"#ffab40",accent3:"#ff9100",accent4:"#ff6d00"}),deepOrange:Object.freeze({base:"#ff5722",lighten5:"#fbe9e7",lighten4:"#ffccbc",lighten3:"#ffab91",lighten2:"#ff8a65",lighten1:"#ff7043",darken1:"#f4511e",darken2:"#e64a19",darken3:"#d84315",darken4:"#bf360c",accent1:"#ff9e80",accent2:"#ff6e40",accent3:"#ff3d00",accent4:"#dd2c00"}),brown:Object.freeze({base:"#795548",lighten5:"#efebe9",lighten4:"#d7ccc8",lighten3:"#bcaaa4",lighten2:"#a1887f",lighten1:"#8d6e63",darken1:"#6d4c41",darken2:"#5d4037",darken3:"#4e342e",darken4:"#3e2723"}),blueGrey:Object.freeze({base:"#607d8b",lighten5:"#eceff1",lighten4:"#cfd8dc",lighten3:"#b0bec5",lighten2:"#90a4ae",lighten1:"#78909c",darken1:"#546e7a",darken2:"#455a64",darken3:"#37474f",darken4:"#263238"}),grey:Object.freeze({base:"#9e9e9e",lighten5:"#fafafa",lighten4:"#f5f5f5",lighten3:"#eeeeee",lighten2:"#e0e0e0",lighten1:"#bdbdbd",darken1:"#757575",darken2:"#616161",darken3:"#424242",darken4:"#212121"}),shades:Object.freeze({black:"#000000",white:"#ffffff",transparent:"#ffffff00"})}),lS=ez({name:"VColorPickerSwatches",props:eU((0,p._)({swatches:{type:Array,default:function(){return Object.keys(lk).map(function(e){var t=lk[e];return t.base?[t.base,t.darken4,t.darken3,t.darken2,t.darken1,t.lighten1,t.lighten2,t.lighten3,t.lighten4,t.lighten5]:[t.black,t.white,t.transparent]})}},disabled:Boolean,color:Object,maxHeight:[Number,String]},tX()),"VColorPickerSwatches")(),emits:{"update:color":function(e){return!0}},setup:function(e,t){var n=t.emit;return t5(function(){return(0,S.createVNode)("div",{class:["v-color-picker-swatches",e.class],style:[{maxHeight:F(e.maxHeight)},e.style]},[(0,S.createVNode)("div",null,[e.swatches.map(function(t){return(0,S.createVNode)("div",{class:"v-color-picker-swatches__swatch"},[t.map(function(t){var r,i,o=tv(t),a=tg(o),l=t_(o);return(0,S.createVNode)("div",{class:"v-color-picker-swatches__color",onClick:function(){return a&&n("update:color",a)}},[(0,S.createVNode)("div",{style:{background:l}},[e.color&&P(e.color,a)?(0,S.createVNode)(rp,{size:"x-small",icon:"$success",color:(Math.max(r=tE(t),i=tE("#FFFFFF"))+.05)/(Math.min(r,i)+.05)>2?"white":"black"},null):void 0])])})])})])])}),{}}}),p=f("a42Vg");f("7DTtY");var k=f("bNhjt"),S=f("5BxzC"),lC=eU((0,p._)({color:String},nz(),tX(),nR(),nK(),rN(),rP(),nG(),t7(),tT()),"VSheet"),lE=eY()({name:"VSheet",props:lC(),setup:function(e,t){var n=t.slots,r=tD(e).themeClasses,i=nW((0,k.toRef)(e,"color")),o=i.backgroundColorClasses,a=i.backgroundColorStyles,l=nY(e).borderClasses,u=nO(e).dimensionStyles,s=nX(e).elevationClasses,c=rT(e).locationStyles,d=rM(e).positionClasses,f=n$(e).roundedClasses;return t5(function(){return(0,S.createVNode)(e.tag,{class:["v-sheet",r.value,o.value,l.value,s.value,d.value,f.value,e.class],style:[a.value,u.value,c.value,e.style]},n)}),{}}}),lV=ez({name:"VColorPicker",props:eU((0,p._)({canvasHeight:{type:[String,Number],default:150},disabled:Boolean,dotSize:{type:[Number,String],default:10},hideCanvas:Boolean,hideSliders:Boolean,hideInputs:Boolean,mode:{type:String,default:"rgba",validator:function(e){return Object.keys(lu).includes(e)}},modes:{type:Array,default:function(){return Object.keys(lu)},validator:function(e){return Array.isArray(e)&&e.every(function(e){return Object.keys(lu).includes(e)})}},showSwatches:Boolean,swatches:Array,swatchesMaxHeight:{type:[Number,String],default:150},modelValue:{type:[Object,String]}},X(lC({width:300}),["height","location","minHeight","maxHeight","minWidth","maxWidth"])),"VColorPicker")(),emits:{"update:modelValue":function(e){return!0},"update:mode":function(e){return!0}},setup:function(e){var t=e1(e,"mode"),n=(0,k.ref)(null),r=e1(e,"modelValue",void 0,function(e){var t;if(null==e||""===e)return null;try{t=tg(tv(e))}catch(e){return ej(e),null}return n.value&&(t=(0,b._)((0,p._)({},t),{h:n.value.h}),n.value=null),t},function(t){return t?function(e,t){if(null==t||"string"==typeof t){var n,r,i=tk(e);return 1===e.a?i.slice(0,7):i}return"object"==typeof t?(W(t,["r","g","b"])?r=tp(e):W(t,["h","s","l"])?r=tm(e):W(t,["h","s","v"])&&(r=e),n=r,W(t,["a"])||1!==e.a?n:(n.a,w(n,["a"]))):e}(t,e.modelValue):null}),i=te().rtlClasses,o=function(e){r.value=e,n.value=e};return(0,S.onMounted)(function(){e.modes.includes(t.value)||(t.value=e.modes[0])}),eN({VSlider:{color:void 0,trackColor:void 0,trackFillColor:void 0}}),t5(function(){var n,a=(0,x._)(lE.filterProps(e),1)[0];return(0,S.createVNode)(lE,(0,S.mergeProps)({rounded:e.rounded,elevation:e.elevation,theme:e.theme,class:["v-color-picker",i.value,e.class],style:[{"--v-color-picker-color-hsv":t_(tp((0,b._)((0,p._)({},null!==(n=r.value)&&void 0!==n?n:ln),{a:1})))},e.style]},a,{maxWidth:e.width}),{default:function(){return[!e.hideCanvas&&(0,S.createVNode)(lt,{key:"canvas",color:r.value,"onUpdate:color":o,disabled:e.disabled,dotSize:e.dotSize,width:e.width,height:e.canvasHeight},null),(!e.hideSliders||!e.hideInputs)&&(0,S.createVNode)("div",{key:"controls",class:"v-color-picker__controls"},[!e.hideSliders&&(0,S.createVNode)(lx,{key:"preview",color:r.value,"onUpdate:color":o,hideAlpha:!t.value.endsWith("a"),disabled:e.disabled},null),!e.hideInputs&&(0,S.createVNode)(lc,{key:"edit",modes:e.modes,mode:t.value,"onUpdate:mode":function(e){return t.value=e},color:r.value,"onUpdate:color":o,disabled:e.disabled},null)]),e.showSwatches&&(0,S.createVNode)(lS,{key:"swatches",color:r.value,"onUpdate:color":o,maxHeight:e.swatchesMaxHeight,swatches:e.swatches,disabled:e.disabled},null)]}})}),{}}}),lN={};t(lN,"VCombobox",function(){return lA});var tG=f("h8xva"),p=f("a42Vg"),b=f("9zFRg"),x=f("6wEIk"),V=f("2Yjkq");f("7DTtY");var S=f("5BxzC"),k=f("bNhjt"),lT=eU((0,p._)({autoSelectFirst:{type:[Boolean,String]},delimiters:Array},au({filterKeys:["title"]}),ai({hideNoData:!0,returnObject:!0}),X(o6({modelValue:null,role:"combobox"}),["validationValue","dirty","appendInnerIcon"]),nP({transition:!1})),"VCombobox"),lA=eY()({name:"VCombobox",props:lT(),emits:{"update:focused":function(e){return!0},"update:modelValue":function(e){return!0},"update:search":function(e){return!0},"update:menu":function(e){return!0}},setup:function(e,t){var n,r,i=function(t){O=!0,e.openOnClear&&(D.value=!0)},o=function(){ee.value||(D.value=!0)},a=function(e){ee.value||(_.value&&(e.preventDefault(),e.stopPropagation()),D.value=!D.value)},l=function(t){if(!e.readonly&&(null==H||!H.isReadonly.value)){var n,r=y.value.selectionStart,i=Y.value.length;if((R.value>-1||["Enter","ArrowDown","ArrowUp"].includes(t.key))&&t.preventDefault(),["Enter","ArrowDown"].includes(t.key)&&(D.value=!0),["Escape"].includes(t.key)&&(D.value=!1),["Enter","Escape","Tab"].includes(t.key)&&(Z.value&&["Enter","Tab"].includes(t.key)&&s(X.value[0]),w.value=!0),"ArrowDown"===t.key&&Z.value&&(null===(n=et.value)||void 0===n||n.focus("next")),e.multiple){if(["Backspace","Delete"].includes(t.key)){if(R.value<0){"Backspace"!==t.key||W.value||(R.value=i-1);return}var o=R.value,a=Y.value[R.value];a&&s(a),R.value=o>=i-1?i-2:o}if("ArrowLeft"===t.key){if(R.value<0&&r>0)return;var l=R.value>-1?R.value-1:i-1;Y.value[l]?R.value=l:(R.value=-1,y.value.setSelectionRange(W.value.length,W.value.length))}if("ArrowRight"===t.key){if(R.value<0)return;var u=R.value+1;Y.value[u]?R.value=u:(R.value=-1,y.value.setSelectionRange(0,0))}"Enter"===t.key&&W.value&&(s(i5(e,W.value)),W.value="")}}},u=function(){if(_.value){var e;w.value=!0,null===(e=y.value)||void 0===e||e.focus()}},s=function(t){if(e.multiple){var n=Y.value.findIndex(function(n){return e.valueComparator(n.value,t.value)});if(-1===n)Y.value=(0,V._)(Y.value).concat([t]);else{var r=(0,V._)(Y.value);r.splice(n,1),Y.value=r}W.value=""}else Y.value=[t],q.value=t.title,// watch for search watcher to trigger
-(0,S.nextTick)(function(){D.value=!1,w.value=!0})},c=function(e){_.value=!0,setTimeout(function(){C.value=!0})},d=function(e){C.value=!1},f=function(t){null!=t&&(""!==t||e.multiple)||(Y.value=[])},h=t.emit,g=t.slots,m=e9().t,y=(0,k.ref)(),_=(0,k.shallowRef)(!1),w=(0,k.shallowRef)(!0),C=(0,k.shallowRef)(!1),E=(0,k.ref)(),N=(0,k.ref)(),A=e1(e,"menu"),D=(0,S.computed)({get:function(){return A.value},set:function(e){var t;A.value&&!e&&null!==(t=E.value)&&void 0!==t&&t.ΨopenChildren||(A.value=e)}}),R=(0,k.shallowRef)(-1),O=!1,I=(0,S.computed)(function(){var e;return null===(e=y.value)||void 0===e?void 0:e.color}),B=(0,S.computed)(function(){return D.value?e.closeText:e.openText}),P=i6(e),M=P.items,L=P.transformIn,j=P.transformOut,F=nq(I),U=F.textColorClasses,z=F.textColorStyles,Y=e1(e,"modelValue",[],function(e){return L(Q(e))},function(t){var n,r=j(t);return e.multiple?r:null!==(n=r[0])&&void 0!==n?n:null}),H=o0(),q=(0,k.shallowRef)(e.multiple?"":null!==(r=null===(n=Y.value[0])||void 0===n?void 0:n.title)&&void 0!==r?r:""),W=(0,S.computed)({get:function(){return q.value},set:function(t){var n;if(q.value=t,e.multiple||(Y.value=[i5(e,t)]),t&&e.multiple&&(null===(n=e.delimiters)||void 0===n?void 0:n.length)){var r=t.split(new RegExp("(?:".concat(e.delimiters.join("|"),")+")));r.length>1&&(r.forEach(function(t){(t=t.trim())&&s(i5(e,t))}),q.value="")}t||(R.value=-1),w.value=!t}});(0,S.watch)(q,function(e){O?// then search computed triggers and updates _search to ''
-(0,S.nextTick)(function(){return O=!1}):_.value&&!D.value&&(D.value=!0),h("update:search",e)}),(0,S.watch)(Y,function(t){var n,r;e.multiple||(q.value=null!==(r=null===(n=t[0])||void 0===n?void 0:n.title)&&void 0!==r?r:"")});var K=as(e,M,function(){return w.value?"":W.value}),X=K.filteredItems,G=K.getMatches,$=(0,S.computed)(function(){return e.hideSelected?X.value.filter(function(e){return!Y.value.some(function(t){return t.value===e.value})}):X.value}),J=(0,S.computed)(function(){return Y.value.map(function(e){return e.value})}),Z=(0,S.computed)(function(){var t;return(!0===e.autoSelectFirst||"exact"===e.autoSelectFirst&&W.value===(null===(t=$.value[0])||void 0===t?void 0:t.title))&&$.value.length>0&&!w.value&&!C.value}),ee=(0,S.computed)(function(){return e.hideNoData&&!M.value.length||e.readonly||(null==H?void 0:H.isReadonly.value)}),et=(0,k.ref)(),en=ar(et,y),er=en.onListScroll,ei=en.onListKeydown;return(0,S.watch)(X,function(t){!t.length&&e.hideNoData&&(D.value=!1)}),(0,S.watch)(_,function(t,n){!t&&t!==n&&(R.value=-1,D.value=!1,!Z.value||C.value||Y.value.some(function(e){return e.value===$.value[0].value})?e.multiple&&W.value&&(Y.value=(0,V._)(Y.value).concat([i5(e,W.value)]),W.value=""):s($.value[0]))}),(0,S.watch)(D,function(){if(!e.hideSelected&&D.value&&Y.value.length){var t=$.value.findIndex(function(t){return Y.value.some(function(n){return e.valueComparator(n.value,t.value)})});T&&window.requestAnimationFrame(function(){var e;t>=0&&(null===(e=N.value)||void 0===e||e.scrollToIndex(t))})}}),t5(function(){var t,n,r=!!(e.chips||g.chip),h=!!(!e.hideNoData||$.value.length||g["prepend-item"]||g["append-item"]||g["no-data"]),k=Y.value.length>0,C=(0,x._)(o8.filterProps(e),1)[0];return(0,S.createVNode)(o8,(0,S.mergeProps)({ref:y},C,{modelValue:W.value,"onUpdate:modelValue":[function(e){return W.value=e},f],focused:_.value,"onUpdate:focused":function(e){return _.value=e},validationValue:Y.externalValue,dirty:k,class:["v-combobox",(0,tG._)({"v-combobox--active-menu":D.value,"v-combobox--chips":!!e.chips,"v-combobox--selection-slot":!!g.selection,"v-combobox--selecting-index":R.value>-1},"v-combobox--".concat(e.multiple?"multiple":"single"),!0),e.class],style:e.style,readonly:e.readonly,placeholder:k?void 0:e.placeholder,"onClick:clear":i,"onMousedown:control":o,onKeydown:l}),(0,b._)((0,p._)({},g),{default:function(){return(0,S.createVNode)(S.Fragment,null,[(0,S.createVNode)(oL,(0,S.mergeProps)({ref:E,modelValue:D.value,"onUpdate:modelValue":function(e){return D.value=e},activator:"parent",contentClass:"v-combobox__content",disabled:ee.value,eager:e.eager,maxHeight:310,openOnClick:!1,closeOnContentClick:!1,transition:e.transition,onAfterLeave:u},e.menuProps),{default:function(){return[h&&(0,S.createVNode)(i7,{ref:et,selected:J.value,selectStrategy:e.multiple?"independent":"single-independent",onMousedown:function(e){return e.preventDefault()},onKeydown:ei,onFocusin:c,onFocusout:d,onScrollPassive:er,tabindex:"-1",color:null!==(t=e.itemColor)&&void 0!==t?t:e.color},{default:function(){var t,r,i;return[null===(t=g["prepend-item"])||void 0===t?void 0:t.call(g),!$.value.length&&!e.hideNoData&&(null!==(n=null===(r=g["no-data"])||void 0===r?void 0:r.call(g))&&void 0!==n?n:(0,S.createVNode)(i$,{title:m(e.noDataText)},null)),(0,S.createVNode)(an,{ref:N,renderless:!0,items:$.value},{default:function(t){var n,r,i=t.item,o=t.index,a=t.itemRef,l=(0,S.mergeProps)(i.props,{ref:a,key:o,active:!!Z.value&&0===o||void 0,onClick:function(){return s(i)}});return null!==(r=null===(n=g.item)||void 0===n?void 0:n.call(g,{item:i,index:o,props:l}))&&void 0!==r?r:(0,S.createVNode)(i$,l,{prepend:function(t){var n=t.isSelected;return(0,S.createVNode)(S.Fragment,null,[e.multiple&&!e.hideSelected?(0,S.createVNode)(i_,{key:i.value,modelValue:n,ripple:!1,tabindex:"-1"},null):void 0,i.props.prependIcon&&(0,S.createVNode)(rp,{icon:i.props.prependIcon},null)])},title:function(){var e,t,n;return w.value?i.title:function(e,t,n){if(null==t)return e;if(Array.isArray(t))throw Error("Multiple matches is not implemented");return"number"==typeof t&&~t?(0,S.createVNode)(S.Fragment,null,[(0,S.createVNode)("span",{class:"v-combobox__unmask"},[e.substr(0,t)]),(0,S.createVNode)("span",{class:"v-combobox__mask"},[e.substr(t,n)]),(0,S.createVNode)("span",{class:"v-combobox__unmask"},[e.substr(t+n)])]):e}(i.title,null===(e=G(i))||void 0===e?void 0:e.title,null!==(n=null===(t=W.value)||void 0===t?void 0:t.length)&&void 0!==n?n:0)}})}}),null===(i=g["append-item"])||void 0===i?void 0:i.call(g)]}})]}}),Y.value.map(function(t,n){var i,o,a={"onClick:close":function(e){e.stopPropagation(),e.preventDefault(),s(t)},onMousedown:function(e){e.preventDefault(),e.stopPropagation()},modelValue:!0,"onUpdate:modelValue":void 0};return(0,S.createVNode)("div",{key:t.value,class:["v-combobox__selection",n===R.value&&["v-combobox__selection--selected",U.value]],style:n===R.value?z.value:{}},[r?g.chip?(0,S.createVNode)(nD,{key:"chip-defaults",defaults:{VChip:{closable:e.closableChips,size:"small",text:t.title}}},{default:function(){var e;return[null===(e=g.chip)||void 0===e?void 0:e.call(g,{item:t,index:n,props:a})]}}):(0,S.createVNode)(iE,(0,S.mergeProps)({key:"chip",closable:e.closableChips,size:"small",text:t.title},a),null):null!==(o=null===(i=g.selection)||void 0===i?void 0:i.call(g,{item:t,index:n}))&&void 0!==o?o:(0,S.createVNode)("span",{class:"v-combobox__selection-text"},[t.title,e.multiple&&n1&&(0,S.createVNode)(r8,{icon:"$unfold",size:"x-small",variant:"plain",onClick:function(){var t=r.value.findIndex(function(t){return t.name===e.mode});n("update:mode",r.value[(t+1)%r.value.length].name)}},null)])}),{}}}),p=f("a42Vg"),b=f("9zFRg");f("7DTtY");var S=f("5BxzC"),p=f("a42Vg"),b=f("9zFRg"),x=f("6wEIk");f("7DTtY");var k=f("bNhjt"),S=f("5BxzC"),p=f("a42Vg");f("7DTtY");var S=f("5BxzC"),m=f("jo4gN"),p=f("a42Vg");f("7DTtY");var S=f("5BxzC"),k=f("bNhjt"),ld=Symbol.for("vuetify:v-slider");function lf(e,t,n){var r=t.getBoundingClientRect(),i="touches"in e?e.touches[0]:e;return"vertical"===n?i.clientY-(r.top+r.height/2):i.clientX-(r.left+r.width/2)}var lh=eU((0,p._)({disabled:{type:Boolean,default:null},error:Boolean,readonly:{type:Boolean,default:null},max:{type:[Number,String],default:100},min:{type:[Number,String],default:0},step:{type:[Number,String],default:0},thumbColor:String,thumbLabel:{type:[Boolean,String],default:void 0,validator:function(e){return"boolean"==typeof e||"always"===e}},thumbSize:{type:[Number,String],default:20},showTicks:{type:[Boolean,String],default:!1,validator:function(e){return"boolean"==typeof e||"always"===e}},ticks:{type:[Array,Object]},tickSize:{type:[Number,String],default:2},color:String,trackColor:String,trackFillColor:String,trackSize:{type:[Number,String],default:4},direction:{type:String,default:"horizontal",validator:function(e){return["vertical","horizontal"].includes(e)}},reverse:Boolean},nG(),nK({elevation:2})),"Slider"),lv=function(e){var t=(0,S.computed)(function(){return parseFloat(e.min)}),n=(0,S.computed)(function(){return parseFloat(e.max)}),r=(0,S.computed)(function(){return+e.step>0?parseFloat(e.step):0}),i=(0,S.computed)(function(){return Math.max(et(r.value),et(t.value))});return{min:t,max:n,step:r,decimals:i,roundValue:function(e){if(e=parseFloat(e),r.value<=0)return e;var o=ee(e,t.value,n.value),a=t.value%r.value;return parseFloat(Math.min(Math.round((o-a)/r.value)*r.value+a,n.value).toFixed(i.value))}}},lp=function(e){var t,n,r,i=function(e){var t,n,r="vertical"===a.direction,i=null===(n=I.value)||void 0===n?void 0:n.$el.getBoundingClientRect(),o=i[r?"top":"left"],l=i[r?"height":"width"],u=Math.min(Math.max((t=r?"clientY":"clientX",(("touches"in e&&e.touches.length?e.touches[0][t]:"changedTouches"in e&&e.changedTouches.length?e.changedTouches[0][t]:e[t])-o-O.value)/l),0),1)||0;return(r||"rtl"===p.value)&&(u=1-u),b(g.value+u*(m.value-g.value))},o=function(e){s({value:i(e)})},a=e.props,l=e.steps,u=e.onSliderStart,s=e.onSliderMove,c=e.onSliderEnd,d=e.getActiveThumb,f=te().isRtl,h=(0,k.toRef)(a,"reverse"),p=(0,S.computed)(function(){var e=f.value?"rtl":"ltr";return a.reverse&&(e="rtl"===e?"ltr":"rtl"),e}),g=l.min,m=l.max,y=l.step,_=l.decimals,b=l.roundValue,w=(0,S.computed)(function(){return parseInt(a.thumbSize,10)}),x=(0,S.computed)(function(){return parseInt(a.tickSize,10)}),C=(0,S.computed)(function(){return parseInt(a.trackSize,10)}),E=(0,S.computed)(function(){return(m.value-g.value)/y.value}),V=(0,k.toRef)(a,"disabled"),N=(0,S.computed)(function(){return"vertical"===a.direction}),T=(0,S.computed)(function(){return a.error||a.disabled?void 0:null!==(t=a.thumbColor)&&void 0!==t?t:a.color}),A=(0,S.computed)(function(){return a.error||a.disabled?void 0:null!==(n=a.trackColor)&&void 0!==n?n:a.color}),D=(0,S.computed)(function(){return a.error||a.disabled?void 0:null!==(r=a.trackFillColor)&&void 0!==r?r:a.color}),R=(0,k.shallowRef)(!1),O=(0,k.shallowRef)(0),I=(0,k.ref)(),B=(0,k.ref)(),P=function(e){c({value:i(e)}),R.value=!1,O.value=0},M=function(e){B.value=d(e),B.value&&(B.value.focus(),R.value=!0,B.value.contains(e.target)?O.value=lf(e,B.value,a.direction):(O.value=0,s({value:i(e)})),u({value:i(e)}))},L={passive:!0,capture:!0};function F(e){e.stopPropagation(),e.preventDefault(),P(e),window.removeEventListener("mousemove",o,L),window.removeEventListener("mouseup",F)}function U(e){var t;P(e),window.removeEventListener("touchmove",o,L),null===(t=e.target)||void 0===t||t.removeEventListener("touchend",U)}var z=function(e){var t=(e-g.value)/(m.value-g.value)*100;return ee(isNaN(t)?0:t,0,100)},Y=(0,k.toRef)(a,"showTicks"),H=(0,S.computed)(function(){return Y.value?a.ticks?Array.isArray(a.ticks)?a.ticks.map(function(e){return{value:e,position:z(e),label:e.toString()}}):Object.keys(a.ticks).map(function(e){return{value:parseFloat(e),position:z(parseFloat(e)),label:a.ticks[e]}}):E.value!==1/0?j(E.value+1).map(function(e){var t=g.value+e*y.value;return{value:t,position:z(t)}}):[]:[]}),q=(0,S.computed)(function(){return H.value.some(function(e){return!!e.label})}),W={activeThumbRef:B,color:(0,k.toRef)(a,"color"),decimals:_,disabled:V,direction:(0,k.toRef)(a,"direction"),elevation:(0,k.toRef)(a,"elevation"),hasLabels:q,horizontalDirection:p,isReversed:h,min:g,max:m,mousePressed:R,numTicks:E,onSliderMousedown:function(e){e.preventDefault(),M(e),window.addEventListener("mousemove",o,L),window.addEventListener("mouseup",F,{passive:!1})},onSliderTouchstart:function(e){var t;M(e),window.addEventListener("touchmove",o,L),null===(t=e.target)||void 0===t||t.addEventListener("touchend",U,{passive:!1})},parsedTicks:H,parseMouseMove:i,position:z,readonly:(0,k.toRef)(a,"readonly"),rounded:(0,k.toRef)(a,"rounded"),roundValue:b,showTicks:Y,startOffset:O,step:y,thumbSize:w,thumbColor:T,thumbLabel:(0,k.toRef)(a,"thumbLabel"),ticks:(0,k.toRef)(a,"ticks"),tickSize:x,trackColor:A,trackContainerRef:I,trackFillColor:D,trackSize:C,vertical:N};return(0,S.provide)(ld,W),W},lg=eU((0,p._)({focused:Boolean,max:{type:Number,required:!0},min:{type:Number,required:!0},modelValue:{type:Number,required:!0},position:{type:Number,required:!0},ripple:{type:[Boolean,Object],default:!0}},tX()),"VSliderThumb"),lm=eY()({name:"VSliderThumb",directives:{Ripple:r5},props:lg(),emits:{"update:modelValue":function(e){return!0}},setup:function(e,t){var n=function(t,n){if(P.includes(t.key)){t.preventDefault();var r=s.value||.1,i=(e.max-e.min)/r;if([R,O,I,B].includes(t.key)){var o=("rtl"===w.value?[R,B]:[O,B]).includes(t.key)?1:-1,a=t.shiftKey?2:t.ctrlKey?1:0;n+=o*r*M.value[a]}else t.key===D?n=e.min:t.key===A?n=e.max:n-=(t.key===T?1:-1)*r*(i>100?i/10:10);return Math.max(e.min,Math.min(e.max,n))}},r=function(t){var r=n(t,e.modelValue);null!=r&&o("update:modelValue",r)},i=t.slots,o=t.emit,a=(0,S.inject)(ld),l=te().rtlClasses;if(!a)throw Error("[Vuetify] v-slider-thumb must be used inside v-slider or v-range-slider");var u=a.thumbColor,s=a.step,c=a.vertical,d=a.disabled,f=a.thumbSize,h=a.thumbLabel,g=a.direction,y=a.readonly,_=a.elevation,b=a.isReversed,w=a.horizontalDirection,x=a.mousePressed,k=a.decimals,C=nq(u),E=C.textColorClasses,V=C.textColorStyles,N=H.pageup,T=H.pagedown,A=H.end,D=H.home,R=H.left,O=H.right,I=H.down,B=H.up,P=[N,T,A,D,R,O,I,B],M=(0,S.computed)(function(){return s.value?[1,2,3]:[1,5,10]});return t4(function(){var t,n=F(c.value||b.value?100-e.position:e.position,"%"),o=nX((0,S.computed)(function(){return d.value?void 0:_.value})).elevationClasses;return(0,S.createVNode)("div",{class:["v-slider-thumb",{"v-slider-thumb--focused":e.focused,"v-slider-thumb--pressed":e.focused&&x.value},e.class,l.value],style:[{"--v-slider-thumb-position":n,"--v-slider-thumb-size":F(f.value)},e.style],role:"slider",tabindex:d.value?-1:0,"aria-valuemin":e.min,"aria-valuemax":e.max,"aria-valuenow":e.modelValue,"aria-readonly":!!y.value,"aria-orientation":g.value,onKeydown:y.value?void 0:r},[(0,S.createVNode)("div",{class:["v-slider-thumb__surface",E.value,o.value],style:(0,p._)({},V.value)},null),(0,S.withDirectives)((0,S.createVNode)("div",{class:["v-slider-thumb__ripple",E.value],style:V.value},null),[[(0,S.resolveDirective)("ripple"),e.ripple,null,{circle:!0,center:!0}]]),(0,S.createVNode)(n_,{origin:"bottom center"},{default:function(){var n;return[(0,S.withDirectives)((0,S.createVNode)("div",{class:"v-slider-thumb__label-container"},[(0,S.createVNode)("div",{class:["v-slider-thumb__label"]},[(0,S.createVNode)("div",null,[null!==(t=null===(n=i["thumb-label"])||void 0===n?void 0:n.call(i,{modelValue:e.modelValue}))&&void 0!==t?t:e.modelValue.toFixed(s.value?k.value:1)])])]),[[m.vShow,h.value&&e.focused||"always"===h.value]])]}})])}),{}}}),tG=f("h8xva"),p=f("a42Vg");f("7DTtY");var S=f("5BxzC"),ly=eU((0,p._)({start:{type:Number,required:!0},stop:{type:Number,required:!0}},tX()),"VSliderTrack"),l_=eY()((0,tG._)({name:"VSliderTrack",props:ly(),emits:{}},"setup",function(e,t){var n=t.slots,r=(0,S.inject)(ld);if(!r)throw Error("[Vuetify] v-slider-track must be inside v-slider or v-range-slider");var i=r.color,o=r.horizontalDirection,a=r.parsedTicks,l=r.rounded,u=r.showTicks,s=r.tickSize,c=r.trackColor,d=r.trackFillColor,f=r.trackSize,h=r.vertical,g=r.min,m=r.max,y=n$(l).roundedClasses,_=nW(d),b=_.backgroundColorClasses,w=_.backgroundColorStyles,x=nW(c),k=x.backgroundColorClasses,C=x.backgroundColorStyles,E=(0,S.computed)(function(){return"inset-".concat(h.value?"block-end":"inline-start")}),V=(0,S.computed)(function(){return h.value?"height":"width"}),N=(0,S.computed)(function(){var e;return e={},(0,tG._)(e,E.value,"0%"),(0,tG._)(e,V.value,"100%"),e}),T=(0,S.computed)(function(){return e.stop-e.start}),A=(0,S.computed)(function(){var t;return t={},(0,tG._)(t,E.value,F(e.start,"%")),(0,tG._)(t,V.value,F(T.value,"%")),t}),D=(0,S.computed)(function(){return u.value?(h.value?a.value.slice().reverse():a.value).map(function(t,r){var i,o,a=h.value?"bottom":"margin-inline-start",l=t.value!==g.value&&t.value!==m.value?F(t.position,"%"):void 0;return(0,S.createVNode)("div",{key:t.value,class:["v-slider-track__tick",{"v-slider-track__tick--filled":t.position>=e.start&&t.position<=e.stop,"v-slider-track__tick--first":t.value===g.value,"v-slider-track__tick--last":t.value===m.value}],style:(0,tG._)({},a,l)},[(t.label||n["tick-label"])&&(0,S.createVNode)("div",{class:"v-slider-track__tick-label"},[null!==(o=null===(i=n["tick-label"])||void 0===i?void 0:i.call(n,{tick:t,index:r}))&&void 0!==o?o:t.label])])}):[]});return t4(function(){return(0,S.createVNode)("div",{class:["v-slider-track",y.value,e.class],style:[{"--v-slider-track-size":F(f.value),"--v-slider-tick-size":F(s.value),direction:h.value?void 0:o.value},e.style]},[(0,S.createVNode)("div",{class:["v-slider-track__background",k.value,{"v-slider-track__background--opacity":!!i.value||!d.value}],style:(0,p._)({},N.value,C.value)},null),(0,S.createVNode)("div",{class:["v-slider-track__fill",b.value],style:(0,p._)({},A.value,w.value)},null),u.value&&(0,S.createVNode)("div",{class:["v-slider-track__ticks",{"v-slider-track__ticks--always-show":"always"===u.value}]},[D.value])])}),{}})),lb=eU((0,b._)((0,p._)({},oH(),lh(),o3()),{modelValue:{type:[Number,String],default:0}}),"VSlider"),lw=eY()({name:"VSlider",props:lb(),emits:{"update:focused":function(e){return!0},"update:modelValue":function(e){return!0},start:function(e){return!0},end:function(e){return!0}},setup:function(e,t){var n=t.slots,r=t.emit,i=(0,k.ref)(),o=te().rtlClasses,a=lv(e),l=e1(e,"modelValue",void 0,function(e){return a.roundValue(null==e?a.min.value:e)}),u=lp({props:e,steps:a,onSliderStart:function(){r("start",l.value)},onSliderEnd:function(e){var t=f(e.value);l.value=t,r("end",t)},onSliderMove:function(e){var t=e.value;return l.value=f(t)},getActiveThumb:function(){var e;return null===(e=i.value)||void 0===e?void 0:e.$el}}),s=u.min,c=u.max,d=u.mousePressed,f=u.roundValue,h=u.onSliderMousedown,g=u.onSliderTouchstart,m=u.trackContainerRef,y=u.position,_=u.hasLabels,w=u.readonly,C=oq(e),E=C.isFocused,V=C.focus,N=C.blur,T=(0,S.computed)(function(){return y(l.value)});return t4(function(){var t,r=(0,x._)(o4.filterProps(e),2),a=r[0];r[1];var u=!!(e.label||n.label||n.prepend);return(0,S.createVNode)(o4,(0,S.mergeProps)({class:["v-slider",{"v-slider--has-labels":!!n["tick-label"]||_.value,"v-slider--focused":E.value,"v-slider--pressed":d.value,"v-slider--disabled":e.disabled},o.value,e.class],style:e.style},a,{focused:E.value}),(0,b._)((0,p._)({},n),{prepend:u?function(r){var i,o;return(0,S.createVNode)(S.Fragment,null,[(null!==(t=null===(i=n.label)||void 0===i?void 0:i.call(n,r))&&void 0!==t?t:e.label)?(0,S.createVNode)(ic,{id:r.id.value,class:"v-slider__label",text:e.label},null):void 0,null===(o=n.prepend)||void 0===o?void 0:o.call(n,r)])}:void 0,default:function(t){var r=t.id,o=t.messagesId;return(0,S.createVNode)("div",{class:"v-slider__container",onMousedown:w.value?void 0:h,onTouchstartPassive:w.value?void 0:g},[(0,S.createVNode)("input",{id:r.value,name:e.name||r.value,disabled:!!e.disabled,readonly:!!e.readonly,tabindex:"-1",value:l.value},null),(0,S.createVNode)(l_,{ref:m,start:0,stop:T.value},{"tick-label":n["tick-label"]}),(0,S.createVNode)(lm,{ref:i,"aria-describedby":o.value,focused:E.value,min:s.value,max:c.value,modelValue:l.value,"onUpdate:modelValue":function(e){return l.value=e},position:T.value,elevation:e.elevation,onFocus:V,onBlur:N},{"thumb-label":n["thumb-label"]})])}}))}),{}}}),lx=ez({name:"VColorPickerPreview",props:eU((0,p._)({color:{type:Object},disabled:Boolean,hideAlpha:Boolean},tX()),"VColorPickerPreview")(),emits:{"update:color":function(e){return!0}},setup:function(e,t){var n,r,i,o,a=t.emit;return t4(function(){var t,l;return(0,S.createVNode)("div",{class:["v-color-picker-preview",{"v-color-picker-preview--hide-alpha":e.hideAlpha},e.class],style:e.style},[(0,S.createVNode)("div",{class:"v-color-picker-preview__dot"},[(0,S.createVNode)("div",{style:{background:t_(tp(null!==(n=e.color)&&void 0!==n?n:ln))}},null)]),(0,S.createVNode)("div",{class:"v-color-picker-preview__sliders"},[(0,S.createVNode)(lw,{class:"v-color-picker-preview__track v-color-picker-preview__hue",modelValue:null===(t=e.color)||void 0===t?void 0:t.h,"onUpdate:modelValue":function(t){return a("update:color",(0,b._)((0,p._)({},null!==(r=e.color)&&void 0!==r?r:ln),{h:t}))},step:0,min:0,max:360,disabled:e.disabled,thumbSize:14,trackSize:8,trackFillColor:"white",hideDetails:!0},null),!e.hideAlpha&&(0,S.createVNode)(lw,{class:"v-color-picker-preview__track v-color-picker-preview__alpha",modelValue:null!==(i=null===(l=e.color)||void 0===l?void 0:l.a)&&void 0!==i?i:1,"onUpdate:modelValue":function(t){return a("update:color",(0,b._)((0,p._)({},null!==(o=e.color)&&void 0!==o?o:ln),{a:t}))},step:1/256,min:0,max:1,disabled:e.disabled,thumbSize:14,trackSize:8,trackFillColor:"white",hideDetails:!0},null)])])}),{}}}),p=f("a42Vg");f("7DTtY");var S=f("5BxzC"),lk=Object.freeze({red:Object.freeze({base:"#f44336",lighten5:"#ffebee",lighten4:"#ffcdd2",lighten3:"#ef9a9a",lighten2:"#e57373",lighten1:"#ef5350",darken1:"#e53935",darken2:"#d32f2f",darken3:"#c62828",darken4:"#b71c1c",accent1:"#ff8a80",accent2:"#ff5252",accent3:"#ff1744",accent4:"#d50000"}),pink:Object.freeze({base:"#e91e63",lighten5:"#fce4ec",lighten4:"#f8bbd0",lighten3:"#f48fb1",lighten2:"#f06292",lighten1:"#ec407a",darken1:"#d81b60",darken2:"#c2185b",darken3:"#ad1457",darken4:"#880e4f",accent1:"#ff80ab",accent2:"#ff4081",accent3:"#f50057",accent4:"#c51162"}),purple:Object.freeze({base:"#9c27b0",lighten5:"#f3e5f5",lighten4:"#e1bee7",lighten3:"#ce93d8",lighten2:"#ba68c8",lighten1:"#ab47bc",darken1:"#8e24aa",darken2:"#7b1fa2",darken3:"#6a1b9a",darken4:"#4a148c",accent1:"#ea80fc",accent2:"#e040fb",accent3:"#d500f9",accent4:"#aa00ff"}),deepPurple:Object.freeze({base:"#673ab7",lighten5:"#ede7f6",lighten4:"#d1c4e9",lighten3:"#b39ddb",lighten2:"#9575cd",lighten1:"#7e57c2",darken1:"#5e35b1",darken2:"#512da8",darken3:"#4527a0",darken4:"#311b92",accent1:"#b388ff",accent2:"#7c4dff",accent3:"#651fff",accent4:"#6200ea"}),indigo:Object.freeze({base:"#3f51b5",lighten5:"#e8eaf6",lighten4:"#c5cae9",lighten3:"#9fa8da",lighten2:"#7986cb",lighten1:"#5c6bc0",darken1:"#3949ab",darken2:"#303f9f",darken3:"#283593",darken4:"#1a237e",accent1:"#8c9eff",accent2:"#536dfe",accent3:"#3d5afe",accent4:"#304ffe"}),blue:Object.freeze({base:"#2196f3",lighten5:"#e3f2fd",lighten4:"#bbdefb",lighten3:"#90caf9",lighten2:"#64b5f6",lighten1:"#42a5f5",darken1:"#1e88e5",darken2:"#1976d2",darken3:"#1565c0",darken4:"#0d47a1",accent1:"#82b1ff",accent2:"#448aff",accent3:"#2979ff",accent4:"#2962ff"}),lightBlue:Object.freeze({base:"#03a9f4",lighten5:"#e1f5fe",lighten4:"#b3e5fc",lighten3:"#81d4fa",lighten2:"#4fc3f7",lighten1:"#29b6f6",darken1:"#039be5",darken2:"#0288d1",darken3:"#0277bd",darken4:"#01579b",accent1:"#80d8ff",accent2:"#40c4ff",accent3:"#00b0ff",accent4:"#0091ea"}),cyan:Object.freeze({base:"#00bcd4",lighten5:"#e0f7fa",lighten4:"#b2ebf2",lighten3:"#80deea",lighten2:"#4dd0e1",lighten1:"#26c6da",darken1:"#00acc1",darken2:"#0097a7",darken3:"#00838f",darken4:"#006064",accent1:"#84ffff",accent2:"#18ffff",accent3:"#00e5ff",accent4:"#00b8d4"}),teal:Object.freeze({base:"#009688",lighten5:"#e0f2f1",lighten4:"#b2dfdb",lighten3:"#80cbc4",lighten2:"#4db6ac",lighten1:"#26a69a",darken1:"#00897b",darken2:"#00796b",darken3:"#00695c",darken4:"#004d40",accent1:"#a7ffeb",accent2:"#64ffda",accent3:"#1de9b6",accent4:"#00bfa5"}),green:Object.freeze({base:"#4caf50",lighten5:"#e8f5e9",lighten4:"#c8e6c9",lighten3:"#a5d6a7",lighten2:"#81c784",lighten1:"#66bb6a",darken1:"#43a047",darken2:"#388e3c",darken3:"#2e7d32",darken4:"#1b5e20",accent1:"#b9f6ca",accent2:"#69f0ae",accent3:"#00e676",accent4:"#00c853"}),lightGreen:Object.freeze({base:"#8bc34a",lighten5:"#f1f8e9",lighten4:"#dcedc8",lighten3:"#c5e1a5",lighten2:"#aed581",lighten1:"#9ccc65",darken1:"#7cb342",darken2:"#689f38",darken3:"#558b2f",darken4:"#33691e",accent1:"#ccff90",accent2:"#b2ff59",accent3:"#76ff03",accent4:"#64dd17"}),lime:Object.freeze({base:"#cddc39",lighten5:"#f9fbe7",lighten4:"#f0f4c3",lighten3:"#e6ee9c",lighten2:"#dce775",lighten1:"#d4e157",darken1:"#c0ca33",darken2:"#afb42b",darken3:"#9e9d24",darken4:"#827717",accent1:"#f4ff81",accent2:"#eeff41",accent3:"#c6ff00",accent4:"#aeea00"}),yellow:Object.freeze({base:"#ffeb3b",lighten5:"#fffde7",lighten4:"#fff9c4",lighten3:"#fff59d",lighten2:"#fff176",lighten1:"#ffee58",darken1:"#fdd835",darken2:"#fbc02d",darken3:"#f9a825",darken4:"#f57f17",accent1:"#ffff8d",accent2:"#ffff00",accent3:"#ffea00",accent4:"#ffd600"}),amber:Object.freeze({base:"#ffc107",lighten5:"#fff8e1",lighten4:"#ffecb3",lighten3:"#ffe082",lighten2:"#ffd54f",lighten1:"#ffca28",darken1:"#ffb300",darken2:"#ffa000",darken3:"#ff8f00",darken4:"#ff6f00",accent1:"#ffe57f",accent2:"#ffd740",accent3:"#ffc400",accent4:"#ffab00"}),orange:Object.freeze({base:"#ff9800",lighten5:"#fff3e0",lighten4:"#ffe0b2",lighten3:"#ffcc80",lighten2:"#ffb74d",lighten1:"#ffa726",darken1:"#fb8c00",darken2:"#f57c00",darken3:"#ef6c00",darken4:"#e65100",accent1:"#ffd180",accent2:"#ffab40",accent3:"#ff9100",accent4:"#ff6d00"}),deepOrange:Object.freeze({base:"#ff5722",lighten5:"#fbe9e7",lighten4:"#ffccbc",lighten3:"#ffab91",lighten2:"#ff8a65",lighten1:"#ff7043",darken1:"#f4511e",darken2:"#e64a19",darken3:"#d84315",darken4:"#bf360c",accent1:"#ff9e80",accent2:"#ff6e40",accent3:"#ff3d00",accent4:"#dd2c00"}),brown:Object.freeze({base:"#795548",lighten5:"#efebe9",lighten4:"#d7ccc8",lighten3:"#bcaaa4",lighten2:"#a1887f",lighten1:"#8d6e63",darken1:"#6d4c41",darken2:"#5d4037",darken3:"#4e342e",darken4:"#3e2723"}),blueGrey:Object.freeze({base:"#607d8b",lighten5:"#eceff1",lighten4:"#cfd8dc",lighten3:"#b0bec5",lighten2:"#90a4ae",lighten1:"#78909c",darken1:"#546e7a",darken2:"#455a64",darken3:"#37474f",darken4:"#263238"}),grey:Object.freeze({base:"#9e9e9e",lighten5:"#fafafa",lighten4:"#f5f5f5",lighten3:"#eeeeee",lighten2:"#e0e0e0",lighten1:"#bdbdbd",darken1:"#757575",darken2:"#616161",darken3:"#424242",darken4:"#212121"}),shades:Object.freeze({black:"#000000",white:"#ffffff",transparent:"#ffffff00"})}),lS=ez({name:"VColorPickerSwatches",props:eU((0,p._)({swatches:{type:Array,default:function(){return Object.keys(lk).map(function(e){var t=lk[e];return t.base?[t.base,t.darken4,t.darken3,t.darken2,t.darken1,t.lighten1,t.lighten2,t.lighten3,t.lighten4,t.lighten5]:[t.black,t.white,t.transparent]})}},disabled:Boolean,color:Object,maxHeight:[Number,String]},tX()),"VColorPickerSwatches")(),emits:{"update:color":function(e){return!0}},setup:function(e,t){var n=t.emit;return t4(function(){return(0,S.createVNode)("div",{class:["v-color-picker-swatches",e.class],style:[{maxHeight:F(e.maxHeight)},e.style]},[(0,S.createVNode)("div",null,[e.swatches.map(function(t){return(0,S.createVNode)("div",{class:"v-color-picker-swatches__swatch"},[t.map(function(t){var r,i,o=tv(t),a=tg(o),l=t_(o);return(0,S.createVNode)("div",{class:"v-color-picker-swatches__color",onClick:function(){return a&&n("update:color",a)}},[(0,S.createVNode)("div",{style:{background:l}},[e.color&&P(e.color,a)?(0,S.createVNode)(rp,{size:"x-small",icon:"$success",color:(Math.max(r=tE(t),i=tE("#FFFFFF"))+.05)/(Math.min(r,i)+.05)>2?"white":"black"},null):void 0])])})])})])])}),{}}}),p=f("a42Vg");f("7DTtY");var k=f("bNhjt"),S=f("5BxzC"),lC=eU((0,p._)({color:String},nz(),tX(),nR(),nK(),rN(),rP(),nG(),t7(),tT()),"VSheet"),lE=eY()({name:"VSheet",props:lC(),setup:function(e,t){var n=t.slots,r=tD(e).themeClasses,i=nW((0,k.toRef)(e,"color")),o=i.backgroundColorClasses,a=i.backgroundColorStyles,l=nY(e).borderClasses,u=nO(e).dimensionStyles,s=nX(e).elevationClasses,c=rT(e).locationStyles,d=rM(e).positionClasses,f=n$(e).roundedClasses;return t4(function(){return(0,S.createVNode)(e.tag,{class:["v-sheet",r.value,o.value,l.value,s.value,d.value,f.value,e.class],style:[a.value,u.value,c.value,e.style]},n)}),{}}}),lV=ez({name:"VColorPicker",props:eU((0,p._)({canvasHeight:{type:[String,Number],default:150},disabled:Boolean,dotSize:{type:[Number,String],default:10},hideCanvas:Boolean,hideSliders:Boolean,hideInputs:Boolean,mode:{type:String,default:"rgba",validator:function(e){return Object.keys(lu).includes(e)}},modes:{type:Array,default:function(){return Object.keys(lu)},validator:function(e){return Array.isArray(e)&&e.every(function(e){return Object.keys(lu).includes(e)})}},showSwatches:Boolean,swatches:Array,swatchesMaxHeight:{type:[Number,String],default:150},modelValue:{type:[Object,String]}},X(lC({width:300}),["height","location","minHeight","maxHeight","minWidth","maxWidth"])),"VColorPicker")(),emits:{"update:modelValue":function(e){return!0},"update:mode":function(e){return!0}},setup:function(e){var t=e1(e,"mode"),n=(0,k.ref)(null),r=e1(e,"modelValue",void 0,function(e){var t;if(null==e||""===e)return null;try{t=tg(tv(e))}catch(e){return ej(e),null}return n.value&&(t=(0,b._)((0,p._)({},t),{h:n.value.h}),n.value=null),t},function(t){return t?function(e,t){if(null==t||"string"==typeof t){var n,r,i=tk(e);return 1===e.a?i.slice(0,7):i}return"object"==typeof t?(W(t,["r","g","b"])?r=tp(e):W(t,["h","s","l"])?r=tm(e):W(t,["h","s","v"])&&(r=e),n=r,W(t,["a"])||1!==e.a?n:(n.a,w(n,["a"]))):e}(t,e.modelValue):null}),i=te().rtlClasses,o=function(e){r.value=e,n.value=e};return(0,S.onMounted)(function(){e.modes.includes(t.value)||(t.value=e.modes[0])}),eN({VSlider:{color:void 0,trackColor:void 0,trackFillColor:void 0}}),t4(function(){var n,a=(0,x._)(lE.filterProps(e),1)[0];return(0,S.createVNode)(lE,(0,S.mergeProps)({rounded:e.rounded,elevation:e.elevation,theme:e.theme,class:["v-color-picker",i.value,e.class],style:[{"--v-color-picker-color-hsv":t_(tp((0,b._)((0,p._)({},null!==(n=r.value)&&void 0!==n?n:ln),{a:1})))},e.style]},a,{maxWidth:e.width}),{default:function(){return[!e.hideCanvas&&(0,S.createVNode)(lt,{key:"canvas",color:r.value,"onUpdate:color":o,disabled:e.disabled,dotSize:e.dotSize,width:e.width,height:e.canvasHeight},null),(!e.hideSliders||!e.hideInputs)&&(0,S.createVNode)("div",{key:"controls",class:"v-color-picker__controls"},[!e.hideSliders&&(0,S.createVNode)(lx,{key:"preview",color:r.value,"onUpdate:color":o,hideAlpha:!t.value.endsWith("a"),disabled:e.disabled},null),!e.hideInputs&&(0,S.createVNode)(lc,{key:"edit",modes:e.modes,mode:t.value,"onUpdate:mode":function(e){return t.value=e},color:r.value,"onUpdate:color":o,disabled:e.disabled},null)]),e.showSwatches&&(0,S.createVNode)(lS,{key:"swatches",color:r.value,"onUpdate:color":o,maxHeight:e.swatchesMaxHeight,swatches:e.swatches,disabled:e.disabled},null)]}})}),{}}}),lN={};t(lN,"VCombobox",function(){return lA});var tG=f("h8xva"),p=f("a42Vg"),b=f("9zFRg"),x=f("6wEIk"),V=f("2Yjkq");f("7DTtY");var S=f("5BxzC"),k=f("bNhjt"),lT=eU((0,p._)({autoSelectFirst:{type:[Boolean,String]},delimiters:Array},au({filterKeys:["title"]}),ai({hideNoData:!0,returnObject:!0}),X(o6({modelValue:null,role:"combobox"}),["validationValue","dirty","appendInnerIcon"]),nP({transition:!1})),"VCombobox"),lA=eY()({name:"VCombobox",props:lT(),emits:{"update:focused":function(e){return!0},"update:modelValue":function(e){return!0},"update:search":function(e){return!0},"update:menu":function(e){return!0}},setup:function(e,t){var n,r,i=function(t){O=!0,e.openOnClear&&(D.value=!0)},o=function(){ee.value||(D.value=!0)},a=function(e){ee.value||(_.value&&(e.preventDefault(),e.stopPropagation()),D.value=!D.value)},l=function(t){if(!e.readonly&&(null==H||!H.isReadonly.value)){var n,r=y.value.selectionStart,i=Y.value.length;if((R.value>-1||["Enter","ArrowDown","ArrowUp"].includes(t.key))&&t.preventDefault(),["Enter","ArrowDown"].includes(t.key)&&(D.value=!0),["Escape"].includes(t.key)&&(D.value=!1),["Enter","Escape","Tab"].includes(t.key)&&(Z.value&&["Enter","Tab"].includes(t.key)&&s(X.value[0]),w.value=!0),"ArrowDown"===t.key&&Z.value&&(null===(n=et.value)||void 0===n||n.focus("next")),e.multiple){if(["Backspace","Delete"].includes(t.key)){if(R.value<0){"Backspace"!==t.key||W.value||(R.value=i-1);return}var o=R.value,a=Y.value[R.value];a&&s(a),R.value=o>=i-1?i-2:o}if("ArrowLeft"===t.key){if(R.value<0&&r>0)return;var l=R.value>-1?R.value-1:i-1;Y.value[l]?R.value=l:(R.value=-1,y.value.setSelectionRange(W.value.length,W.value.length))}if("ArrowRight"===t.key){if(R.value<0)return;var u=R.value+1;Y.value[u]?R.value=u:(R.value=-1,y.value.setSelectionRange(0,0))}"Enter"===t.key&&W.value&&(s(i4(e,W.value)),W.value="")}}},u=function(){if(_.value){var e;w.value=!0,null===(e=y.value)||void 0===e||e.focus()}},s=function(t){if(e.multiple){var n=Y.value.findIndex(function(n){return e.valueComparator(n.value,t.value)});if(-1===n)Y.value=(0,V._)(Y.value).concat([t]);else{var r=(0,V._)(Y.value);r.splice(n,1),Y.value=r}W.value=""}else Y.value=[t],q.value=t.title,// watch for search watcher to trigger
+(0,S.nextTick)(function(){D.value=!1,w.value=!0})},c=function(e){_.value=!0,setTimeout(function(){C.value=!0})},d=function(e){C.value=!1},f=function(t){null!=t&&(""!==t||e.multiple)||(Y.value=[])},h=t.emit,g=t.slots,m=e9().t,y=(0,k.ref)(),_=(0,k.shallowRef)(!1),w=(0,k.shallowRef)(!0),C=(0,k.shallowRef)(!1),E=(0,k.ref)(),N=(0,k.ref)(),A=e1(e,"menu"),D=(0,S.computed)({get:function(){return A.value},set:function(e){var t;A.value&&!e&&null!==(t=E.value)&&void 0!==t&&t.ΨopenChildren||(A.value=e)}}),R=(0,k.shallowRef)(-1),O=!1,I=(0,S.computed)(function(){var e;return null===(e=y.value)||void 0===e?void 0:e.color}),B=(0,S.computed)(function(){return D.value?e.closeText:e.openText}),P=i6(e),M=P.items,L=P.transformIn,j=P.transformOut,F=nq(I),U=F.textColorClasses,z=F.textColorStyles,Y=e1(e,"modelValue",[],function(e){return L(Q(e))},function(t){var n,r=j(t);return e.multiple?r:null!==(n=r[0])&&void 0!==n?n:null}),H=o0(),q=(0,k.shallowRef)(e.multiple?"":null!==(r=null===(n=Y.value[0])||void 0===n?void 0:n.title)&&void 0!==r?r:""),W=(0,S.computed)({get:function(){return q.value},set:function(t){var n;if(q.value=t,e.multiple||(Y.value=[i4(e,t)]),t&&e.multiple&&(null===(n=e.delimiters)||void 0===n?void 0:n.length)){var r=t.split(new RegExp("(?:".concat(e.delimiters.join("|"),")+")));r.length>1&&(r.forEach(function(t){(t=t.trim())&&s(i4(e,t))}),q.value="")}t||(R.value=-1),w.value=!t}});(0,S.watch)(q,function(e){O?// then search computed triggers and updates _search to ''
+(0,S.nextTick)(function(){return O=!1}):_.value&&!D.value&&(D.value=!0),h("update:search",e)}),(0,S.watch)(Y,function(t){var n,r;e.multiple||(q.value=null!==(r=null===(n=t[0])||void 0===n?void 0:n.title)&&void 0!==r?r:"")});var K=as(e,M,function(){return w.value?"":W.value}),X=K.filteredItems,G=K.getMatches,$=(0,S.computed)(function(){return e.hideSelected?X.value.filter(function(e){return!Y.value.some(function(t){return t.value===e.value})}):X.value}),J=(0,S.computed)(function(){return Y.value.map(function(e){return e.value})}),Z=(0,S.computed)(function(){var t;return(!0===e.autoSelectFirst||"exact"===e.autoSelectFirst&&W.value===(null===(t=$.value[0])||void 0===t?void 0:t.title))&&$.value.length>0&&!w.value&&!C.value}),ee=(0,S.computed)(function(){return e.hideNoData&&!M.value.length||e.readonly||(null==H?void 0:H.isReadonly.value)}),et=(0,k.ref)(),en=ar(et,y),er=en.onListScroll,ei=en.onListKeydown;return(0,S.watch)(X,function(t){!t.length&&e.hideNoData&&(D.value=!1)}),(0,S.watch)(_,function(t,n){!t&&t!==n&&(R.value=-1,D.value=!1,!Z.value||C.value||Y.value.some(function(e){return e.value===$.value[0].value})?e.multiple&&W.value&&(Y.value=(0,V._)(Y.value).concat([i4(e,W.value)]),W.value=""):s($.value[0]))}),(0,S.watch)(D,function(){if(!e.hideSelected&&D.value&&Y.value.length){var t=$.value.findIndex(function(t){return Y.value.some(function(n){return e.valueComparator(n.value,t.value)})});T&&window.requestAnimationFrame(function(){var e;t>=0&&(null===(e=N.value)||void 0===e||e.scrollToIndex(t))})}}),t4(function(){var t,n,r=!!(e.chips||g.chip),h=!!(!e.hideNoData||$.value.length||g["prepend-item"]||g["append-item"]||g["no-data"]),k=Y.value.length>0,C=(0,x._)(o8.filterProps(e),1)[0];return(0,S.createVNode)(o8,(0,S.mergeProps)({ref:y},C,{modelValue:W.value,"onUpdate:modelValue":[function(e){return W.value=e},f],focused:_.value,"onUpdate:focused":function(e){return _.value=e},validationValue:Y.externalValue,dirty:k,class:["v-combobox",(0,tG._)({"v-combobox--active-menu":D.value,"v-combobox--chips":!!e.chips,"v-combobox--selection-slot":!!g.selection,"v-combobox--selecting-index":R.value>-1},"v-combobox--".concat(e.multiple?"multiple":"single"),!0),e.class],style:e.style,readonly:e.readonly,placeholder:k?void 0:e.placeholder,"onClick:clear":i,"onMousedown:control":o,onKeydown:l}),(0,b._)((0,p._)({},g),{default:function(){return(0,S.createVNode)(S.Fragment,null,[(0,S.createVNode)(oL,(0,S.mergeProps)({ref:E,modelValue:D.value,"onUpdate:modelValue":function(e){return D.value=e},activator:"parent",contentClass:"v-combobox__content",disabled:ee.value,eager:e.eager,maxHeight:310,openOnClick:!1,closeOnContentClick:!1,transition:e.transition,onAfterLeave:u},e.menuProps),{default:function(){return[h&&(0,S.createVNode)(i7,{ref:et,selected:J.value,selectStrategy:e.multiple?"independent":"single-independent",onMousedown:function(e){return e.preventDefault()},onKeydown:ei,onFocusin:c,onFocusout:d,onScrollPassive:er,tabindex:"-1",color:null!==(t=e.itemColor)&&void 0!==t?t:e.color},{default:function(){var t,r,i;return[null===(t=g["prepend-item"])||void 0===t?void 0:t.call(g),!$.value.length&&!e.hideNoData&&(null!==(n=null===(r=g["no-data"])||void 0===r?void 0:r.call(g))&&void 0!==n?n:(0,S.createVNode)(i$,{title:m(e.noDataText)},null)),(0,S.createVNode)(an,{ref:N,renderless:!0,items:$.value},{default:function(t){var n,r,i=t.item,o=t.index,a=t.itemRef,l=(0,S.mergeProps)(i.props,{ref:a,key:o,active:!!Z.value&&0===o||void 0,onClick:function(){return s(i)}});return null!==(r=null===(n=g.item)||void 0===n?void 0:n.call(g,{item:i,index:o,props:l}))&&void 0!==r?r:(0,S.createVNode)(i$,l,{prepend:function(t){var n=t.isSelected;return(0,S.createVNode)(S.Fragment,null,[e.multiple&&!e.hideSelected?(0,S.createVNode)(i_,{key:i.value,modelValue:n,ripple:!1,tabindex:"-1"},null):void 0,i.props.prependIcon&&(0,S.createVNode)(rp,{icon:i.props.prependIcon},null)])},title:function(){var e,t,n;return w.value?i.title:function(e,t,n){if(null==t)return e;if(Array.isArray(t))throw Error("Multiple matches is not implemented");return"number"==typeof t&&~t?(0,S.createVNode)(S.Fragment,null,[(0,S.createVNode)("span",{class:"v-combobox__unmask"},[e.substr(0,t)]),(0,S.createVNode)("span",{class:"v-combobox__mask"},[e.substr(t,n)]),(0,S.createVNode)("span",{class:"v-combobox__unmask"},[e.substr(t+n)])]):e}(i.title,null===(e=G(i))||void 0===e?void 0:e.title,null!==(n=null===(t=W.value)||void 0===t?void 0:t.length)&&void 0!==n?n:0)}})}}),null===(i=g["append-item"])||void 0===i?void 0:i.call(g)]}})]}}),Y.value.map(function(t,n){var i,o,a={"onClick:close":function(e){e.stopPropagation(),e.preventDefault(),s(t)},onMousedown:function(e){e.preventDefault(),e.stopPropagation()},modelValue:!0,"onUpdate:modelValue":void 0};return(0,S.createVNode)("div",{key:t.value,class:["v-combobox__selection",n===R.value&&["v-combobox__selection--selected",U.value]],style:n===R.value?z.value:{}},[r?g.chip?(0,S.createVNode)(nD,{key:"chip-defaults",defaults:{VChip:{closable:e.closableChips,size:"small",text:t.title}}},{default:function(){var e;return[null===(e=g.chip)||void 0===e?void 0:e.call(g,{item:t,index:n,props:a})]}}):(0,S.createVNode)(iE,(0,S.mergeProps)({key:"chip",closable:e.closableChips,size:"small",text:t.title},a),null):null!==(o=null===(i=g.selection)||void 0===i?void 0:i.call(g,{item:t,index:n}))&&void 0!==o?o:(0,S.createVNode)("span",{class:"v-combobox__selection-text"},[t.title,e.multiple&&n0&&(n=!1,t.push({id:d.id,errorMessages:f})),!n&&e.fastFail)return[3,5];p.label=4;case 4:return r=!0,[3,2];case 5:return[3,8];case 6:return h=p.sent(),l=!0,u=h,[3,8];case 7:try{r||null==s.return||s.return()}finally{if(l)throw u}return[7];case 8:return a.value=t,i.value=!1,[2,{valid:n,errors:a.value}]}})})).apply(this,arguments)}return(0,S.watch)(o,function(){var e=0,n=0,r=[],i=!0,l=!1,u=void 0;try{for(var s,c=o.value[Symbol.iterator]();!(i=(s=c.next()).done);i=!0){var d=s.value;!1===d.isValid?(n++,r.push({id:d.id,errorMessages:d.errorMessages})):!0===d.isValid&&e++}}catch(e){l=!0,u=e}finally{try{i||null==c.return||c.return()}finally{if(l)throw u}}a.value=r,t.value=!(n>0)&&(e===o.value.length||null)},{deep:!0}),(0,S.provide)(oZ,{register:function(e){var t=e.id,n=e.validate,r=e.reset,i=e.resetValidation;o.value.some(function(e){return e.id===t})&&ej('Duplicate input name "'.concat(t,'"')),o.value.push({id:t,validate:n,reset:r,resetValidation:i,isValid:null,errorMessages:[]})},unregister:function(e){o.value=o.value.filter(function(t){return t.id!==e})},update:function(e,t,n){var r=o.value.find(function(t){return t.id===e});r&&(r.isValid=t,r.errorMessages=n)},isDisabled:n,isReadonly:r,isValidating:i,isValid:t,items:o,validateOn:(0,k.toRef)(e,"validateOn")}),{errors:a,isDisabled:n,isReadonly:r,isValidating:i,isValid:t,items:o,validate:function(){return l.apply(this,arguments)},reset:function(){o.value.forEach(function(e){return e.reset()})},resetValidation:function(){o.value.forEach(function(e){return e.resetValidation()})}}}(e),l=(0,k.ref)();return t5(function(){var t;return(0,S.createVNode)("form",{ref:l,class:["v-form",e.class],style:e.style,novalidate:!0,onReset:n,onSubmit:r},[null===(t=i.default)||void 0===t?void 0:t.call(i,a)])}),oP(a,l)}}),l5={};t(l5,"VContainer",function(){return l6}),t(l5,"VCol",function(){return ur}),t(l5,"VRow",function(){return u_}),t(l5,"VSpacer",function(){return ub});var p=f("a42Vg");f("7DTtY");var S=f("5BxzC"),l4=eU((0,p._)({fluid:{type:Boolean,default:!1}},tX(),t7()),"VContainer"),l6=eY()({name:"VContainer",props:l4(),setup:function(e,t){var n=t.slots,r=te().rtlClasses;return t5(function(){return(0,S.createVNode)(e.tag,{class:["v-container",{"v-container--fluid":e.fluid},r.value,e.class],style:e.style},n)}),{}}}),tG=f("h8xva"),p=f("a42Vg"),b=f("9zFRg");f("7DTtY");var N=f("9Nw75"),S=f("5BxzC"),l8=eT.reduce(function(e,t){return e[t]={type:[Boolean,String,Number],default:!1},e},{}),l7=eT.reduce(function(e,t){return e["offset"+(0,N.capitalize)(t)]={type:[String,Number],default:null},e},{}),l9=eT.reduce(function(e,t){return e["order"+(0,N.capitalize)(t)]={type:[String,Number],default:null},e},{}),ue={col:Object.keys(l8),offset:Object.keys(l7),order:Object.keys(l9)},ut=["auto","start","end","center","baseline","stretch"],un=eU((0,p._)((0,b._)((0,p._)((0,b._)((0,p._)((0,b._)((0,p._)({cols:{type:[Boolean,String,Number],default:!1}},l8),{offset:{type:[String,Number],default:null}}),l7),{order:{type:[String,Number],default:null}}),l9),{alignSelf:{type:String,default:null,validator:function(e){return ut.includes(e)}}}),tX(),t7()),"VCol"),ur=eY()({name:"VCol",props:un(),setup:function(e,t){var n=t.slots,r=(0,S.computed)(function(){var t,n,r=[];for(t in ue)ue[t].forEach(function(n){var i=e[n],o=function(e,t,n){var r=e;if(null!=n&&!1!==n){if(t){var i=t.replace(e,"");r+="-".concat(i)}return(// Handling the boolean style prop when accepting [Boolean, String, Number]
+!l.value.contentEl.contains(i)){var o=eg(l.value.contentEl);if(!o.length)return;var a=o[0],u=o[o.length-1];r===a?u.focus():a.focus()}},i=t.slots,o=e1(e,"modelValue"),a=ox().scopeId,l=(0,k.ref)();T&&(0,S.watch)(function(){return o.value&&e.retainFocus},function(e){e?document.addEventListener("focusin",r):document.removeEventListener("focusin",r)},{immediate:!0}),(0,S.watch)(o,(n=(0,h._)(function(e){var t,n;return(0,g.__generator)(this,function(r){switch(r.label){case 0:return[4,(0,S.nextTick)()];case 1:return r.sent(),e?null===(t=l.value.contentEl)||void 0===t||t.focus({preventScroll:!0}):null===(n=l.value.activatorEl)||void 0===n||n.focus({preventScroll:!0}),[2]}})}),function(e){return n.apply(this,arguments)}));var u=(0,S.computed)(function(){return(0,S.mergeProps)({"aria-haspopup":"dialog","aria-expanded":String(o.value)},e.activatorProps)});return t4(function(){var t=(0,x._)(oR.filterProps(e),1)[0];return(0,S.createVNode)(oR,(0,S.mergeProps)({ref:l,class:["v-dialog",{"v-dialog--fullscreen":e.fullscreen,"v-dialog--scrollable":e.scrollable},e.class],style:e.style},t,{modelValue:o.value,"onUpdate:modelValue":function(e){return o.value=e},"aria-modal":"true",activatorProps:u.value,role:"dialog"},a),{activator:i.activator,default:function(){for(var e=arguments.length,t=Array(e),n=0;n0&&(n=!1,t.push({id:d.id,errorMessages:f})),!n&&e.fastFail)return[3,5];p.label=4;case 4:return r=!0,[3,2];case 5:return[3,8];case 6:return h=p.sent(),l=!0,u=h,[3,8];case 7:try{r||null==s.return||s.return()}finally{if(l)throw u}return[7];case 8:return a.value=t,i.value=!1,[2,{valid:n,errors:a.value}]}})})).apply(this,arguments)}return(0,S.watch)(o,function(){var e=0,n=0,r=[],i=!0,l=!1,u=void 0;try{for(var s,c=o.value[Symbol.iterator]();!(i=(s=c.next()).done);i=!0){var d=s.value;!1===d.isValid?(n++,r.push({id:d.id,errorMessages:d.errorMessages})):!0===d.isValid&&e++}}catch(e){l=!0,u=e}finally{try{i||null==c.return||c.return()}finally{if(l)throw u}}a.value=r,t.value=!(n>0)&&(e===o.value.length||null)},{deep:!0}),(0,S.provide)(oZ,{register:function(e){var t=e.id,n=e.validate,r=e.reset,i=e.resetValidation;o.value.some(function(e){return e.id===t})&&ej('Duplicate input name "'.concat(t,'"')),o.value.push({id:t,validate:n,reset:r,resetValidation:i,isValid:null,errorMessages:[]})},unregister:function(e){o.value=o.value.filter(function(t){return t.id!==e})},update:function(e,t,n){var r=o.value.find(function(t){return t.id===e});r&&(r.isValid=t,r.errorMessages=n)},isDisabled:n,isReadonly:r,isValidating:i,isValid:t,items:o,validateOn:(0,k.toRef)(e,"validateOn")}),{errors:a,isDisabled:n,isReadonly:r,isValidating:i,isValid:t,items:o,validate:function(){return l.apply(this,arguments)},reset:function(){o.value.forEach(function(e){return e.reset()})},resetValidation:function(){o.value.forEach(function(e){return e.resetValidation()})}}}(e),l=(0,k.ref)();return t4(function(){var t;return(0,S.createVNode)("form",{ref:l,class:["v-form",e.class],style:e.style,novalidate:!0,onReset:n,onSubmit:r},[null===(t=i.default)||void 0===t?void 0:t.call(i,a)])}),oP(a,l)}}),l4={};t(l4,"VContainer",function(){return l6}),t(l4,"VCol",function(){return ur}),t(l4,"VRow",function(){return u_}),t(l4,"VSpacer",function(){return ub});var p=f("a42Vg");f("7DTtY");var S=f("5BxzC"),l5=eU((0,p._)({fluid:{type:Boolean,default:!1}},tX(),t7()),"VContainer"),l6=eY()({name:"VContainer",props:l5(),setup:function(e,t){var n=t.slots,r=te().rtlClasses;return t4(function(){return(0,S.createVNode)(e.tag,{class:["v-container",{"v-container--fluid":e.fluid},r.value,e.class],style:e.style},n)}),{}}}),tG=f("h8xva"),p=f("a42Vg"),b=f("9zFRg");f("7DTtY");var N=f("9Nw75"),S=f("5BxzC"),l8=eT.reduce(function(e,t){return e[t]={type:[Boolean,String,Number],default:!1},e},{}),l7=eT.reduce(function(e,t){return e["offset"+(0,N.capitalize)(t)]={type:[String,Number],default:null},e},{}),l9=eT.reduce(function(e,t){return e["order"+(0,N.capitalize)(t)]={type:[String,Number],default:null},e},{}),ue={col:Object.keys(l8),offset:Object.keys(l7),order:Object.keys(l9)},ut=["auto","start","end","center","baseline","stretch"],un=eU((0,p._)((0,b._)((0,p._)((0,b._)((0,p._)((0,b._)((0,p._)({cols:{type:[Boolean,String,Number],default:!1}},l8),{offset:{type:[String,Number],default:null}}),l7),{order:{type:[String,Number],default:null}}),l9),{alignSelf:{type:String,default:null,validator:function(e){return ut.includes(e)}}}),tX(),t7()),"VCol"),ur=eY()({name:"VCol",props:un(),setup:function(e,t){var n=t.slots,r=(0,S.computed)(function(){var t,n,r=[];for(t in ue)ue[t].forEach(function(n){var i=e[n],o=function(e,t,n){var r=e;if(null!=n&&!1!==n){if(t){var i=t.replace(e,"");r+="-".concat(i)}return(// Handling the boolean style prop when accepting [Boolean, String, Number]
// means Vue will not convert to sm: true for us.
// Since the default is false, an empty string indicates the prop's presence.
("col"===e&&(r="v-"+r),"col"===e&&(""===n||!0===n))?r.toLowerCase():// .order-md-6
@@ -6890,20 +6890,20 @@ var a9=ir("v-code"),le={};t(le,"VColorPicker",function(){return lV});var p=f("a4
"v-col":!i||!e.cols},(0,tG._)(n,"v-col-".concat(e.cols),e.cols),(0,tG._)(n,"offset-".concat(e.offset),e.offset),(0,tG._)(n,"order-".concat(e.order),e.order),(0,tG._)(n,"align-self-".concat(e.alignSelf),e.alignSelf),n)),r});return function(){var t;return(0,S.h)(e.tag,{class:[r.value,e.class],style:e.style},null===(t=n.default)||void 0===t?void 0:t.call(n))}}}),tG=f("h8xva"),p=f("a42Vg"),b=f("9zFRg"),V=f("2Yjkq");f("7DTtY");var N=f("9Nw75"),S=f("5BxzC"),ui=["start","end","center"],uo=["space-between","space-around","space-evenly"];function ua(e,t){return eT.reduce(function(n,r){return n[e+(0,N.capitalize)(r)]=t(),n},{})}var ul=(0,V._)(ui).concat(["baseline","stretch"]),uu=function(e){return ul.includes(e)},us=ua("align",function(){return{type:String,default:null,validator:uu}}),uc=(0,V._)(ui).concat((0,V._)(uo)),ud=function(e){return uc.includes(e)},uf=ua("justify",function(){return{type:String,default:null,validator:ud}}),uh=(0,V._)(ui).concat((0,V._)(uo),["stretch"]),uv=function(e){return uh.includes(e)},up=ua("alignContent",function(){return{type:String,default:null,validator:uv}}),ug={align:Object.keys(us),justify:Object.keys(uf),alignContent:Object.keys(up)},um={align:"align",justify:"justify",alignContent:"align-content"},uy=eU((0,p._)((0,b._)((0,p._)((0,b._)((0,p._)({dense:Boolean,noGutters:Boolean,align:{type:String,default:null,validator:uu}},us),{justify:{type:String,default:null,validator:ud}}),uf),{alignContent:{type:String,default:null,validator:uv}}),up,tX(),t7()),"VRow"),u_=eY()({name:"VRow",props:uy(),setup:function(e,t){var n=t.slots,r=(0,S.computed)(function(){var t,n,r=[];for(t in ug)ug[t].forEach(function(n){var i=e[n],o=function(e,t,n){var r=um[e];if(null!=n){if(t){// alignSm -> Sm
var i=t.replace(e,"");r+="-".concat(i)}return(// .align-items-sm-center
(r+="-".concat(n)).toLowerCase())}}(t,n,i);o&&r.push(o)});return r.push((n={"v-row--no-gutters":e.noGutters,"v-row--dense":e.dense},(0,tG._)(n,"align-".concat(e.align),e.align),(0,tG._)(n,"justify-".concat(e.justify),e.justify),(0,tG._)(n,"align-content-".concat(e.alignContent),e.alignContent),n)),r});return function(){var t;return(0,S.h)(e.tag,{class:["v-row",r.value,e.class],style:e.style},null===(t=n.default)||void 0===t?void 0:t.call(n))}}}),ub=ir("v-spacer","div","VSpacer"),uw={};t(uw,"VHover",function(){return uk});// Composables
-var p=f("a42Vg"),ux=eU((0,p._)({disabled:Boolean,modelValue:{type:Boolean,default:void 0}},op()),"VHover"),uk=eY()({name:"VHover",props:ux(),emits:{"update:modelValue":function(e){return!0}},setup:function(e,t){var n=t.slots,r=e1(e,"modelValue"),i=og(e,function(t){return!e.disabled&&(r.value=t)}),o=i.runOpenDelay,a=i.runCloseDelay;return function(){var e;return null===(e=n.default)||void 0===e?void 0:e.call(n,{isHovering:r.value,props:{onMouseenter:o,onMouseleave:a}})}}}),uS={};t(uS,"VIcon",function(){return rp}),t(uS,"VComponentIcon",function(){return eK}),t(uS,"VSvgIcon",function(){return eX}),t(uS,"VLigatureIcon",function(){return eG}),t(uS,"VClassIcon",function(){return e$});var uC={};t(uC,"VImg",function(){return nU});var uE={};t(uE,"VInput",function(){return o5});var uV={};t(uV,"VItemGroup",function(){return uA}),t(uV,"VItem",function(){return uD});var p=f("a42Vg");f("7DTtY");var S=f("5BxzC"),uN=Symbol.for("vuetify:v-item-group"),uT=eU((0,p._)({},tX(),rr({selectedClass:"v-item--selected"}),t7(),tT()),"VItemGroup"),uA=eY()({name:"VItemGroup",props:uT(),emits:{"update:modelValue":function(e){return!0}},setup:function(e,t){var n=t.slots,r=tD(e).themeClasses,i=ra(e,uN),o=i.isSelected,a=i.select,l=i.next,u=i.prev,s=i.selected;return function(){return(0,S.createVNode)(e.tag,{class:["v-item-group",r.value,e.class],style:e.style},{default:function(){var e;return[null===(e=n.default)||void 0===e?void 0:e.call(n,{isSelected:o,select:a,next:l,prev:u,selected:s.value})]}})}}}),uD=eY()({name:"VItem",props:ri(),emits:{"group:selected":function(e){return!0}},setup:function(e,t){var n=t.slots,r=ro(e,uN),i=r.isSelected,o=r.select,a=r.toggle,l=r.selectedClass,u=r.value,s=r.disabled;return function(){var e;return null===(e=n.default)||void 0===e?void 0:e.call(n,{isSelected:i.value,selectedClass:l.value,select:o,toggle:a,value:u.value,disabled:s.value})}}}),uR={};t(uR,"VKbd",function(){return uO});// Styles
-var uO=ir("v-kbd"),uI={};t(uI,"VLabel",function(){return ic});var uB={};t(uB,"VLayout",function(){return uM}),t(uB,"VLayoutItem",function(){return uj});var p=f("a42Vg");f("7DTtY");var S=f("5BxzC"),uP=eU((0,p._)({},tX(),tQ()),"VLayout"),uM=eY()({name:"VLayout",props:uP(),setup:function(e,t){var n=t.slots,r=t3(e),i=r.layoutClasses,o=r.layoutStyles,a=r.getLayoutItem,l=r.items,u=r.layoutRef;return t5(function(){var t;return(0,S.createVNode)("div",{ref:u,class:[i.value,e.class],style:[o.value,e.style]},[null===(t=n.default)||void 0===t?void 0:t.call(n)])}),{getLayoutItem:a,items:l}}}),p=f("a42Vg");f("7DTtY");var S=f("5BxzC"),k=f("bNhjt"),uL=eU((0,p._)({position:{type:String,required:!0},size:{type:[Number,String],default:300},modelValue:Boolean},tX(),t0()),"VLayoutItem"),uj=eY()({name:"VLayoutItem",props:uL(),setup:function(e,t){var n=t.slots,r=t1({id:e.name,order:(0,S.computed)(function(){return parseInt(e.order,10)}),position:(0,k.toRef)(e,"position"),elementSize:(0,k.toRef)(e,"size"),layoutSize:(0,k.toRef)(e,"size"),active:(0,k.toRef)(e,"modelValue"),absolute:(0,k.toRef)(e,"absolute")}).layoutItemStyles;return function(){var t;return(0,S.createVNode)("div",{class:["v-layout-item",e.class],style:[r.value,e.style]},[null===(t=n.default)||void 0===t?void 0:t.call(n)])}}}),uF={};t(uF,"VLazy",function(){return uz});var p=f("a42Vg");f("7DTtY");var S=f("5BxzC"),uU=eU((0,p._)({modelValue:Boolean,options:{type:Object,// For more information on types, navigate to:
+var p=f("a42Vg"),ux=eU((0,p._)({disabled:Boolean,modelValue:{type:Boolean,default:void 0}},op()),"VHover"),uk=eY()({name:"VHover",props:ux(),emits:{"update:modelValue":function(e){return!0}},setup:function(e,t){var n=t.slots,r=e1(e,"modelValue"),i=og(e,function(t){return!e.disabled&&(r.value=t)}),o=i.runOpenDelay,a=i.runCloseDelay;return function(){var e;return null===(e=n.default)||void 0===e?void 0:e.call(n,{isHovering:r.value,props:{onMouseenter:o,onMouseleave:a}})}}}),uS={};t(uS,"VIcon",function(){return rp}),t(uS,"VComponentIcon",function(){return eK}),t(uS,"VSvgIcon",function(){return eX}),t(uS,"VLigatureIcon",function(){return eG}),t(uS,"VClassIcon",function(){return e$});var uC={};t(uC,"VImg",function(){return nU});var uE={};t(uE,"VInput",function(){return o4});var uV={};t(uV,"VItemGroup",function(){return uA}),t(uV,"VItem",function(){return uD});var p=f("a42Vg");f("7DTtY");var S=f("5BxzC"),uN=Symbol.for("vuetify:v-item-group"),uT=eU((0,p._)({},tX(),rr({selectedClass:"v-item--selected"}),t7(),tT()),"VItemGroup"),uA=eY()({name:"VItemGroup",props:uT(),emits:{"update:modelValue":function(e){return!0}},setup:function(e,t){var n=t.slots,r=tD(e).themeClasses,i=ra(e,uN),o=i.isSelected,a=i.select,l=i.next,u=i.prev,s=i.selected;return function(){return(0,S.createVNode)(e.tag,{class:["v-item-group",r.value,e.class],style:e.style},{default:function(){var e;return[null===(e=n.default)||void 0===e?void 0:e.call(n,{isSelected:o,select:a,next:l,prev:u,selected:s.value})]}})}}}),uD=eY()({name:"VItem",props:ri(),emits:{"group:selected":function(e){return!0}},setup:function(e,t){var n=t.slots,r=ro(e,uN),i=r.isSelected,o=r.select,a=r.toggle,l=r.selectedClass,u=r.value,s=r.disabled;return function(){var e;return null===(e=n.default)||void 0===e?void 0:e.call(n,{isSelected:i.value,selectedClass:l.value,select:o,toggle:a,value:u.value,disabled:s.value})}}}),uR={};t(uR,"VKbd",function(){return uO});// Styles
+var uO=ir("v-kbd"),uI={};t(uI,"VLabel",function(){return ic});var uB={};t(uB,"VLayout",function(){return uM}),t(uB,"VLayoutItem",function(){return uj});var p=f("a42Vg");f("7DTtY");var S=f("5BxzC"),uP=eU((0,p._)({},tX(),tQ()),"VLayout"),uM=eY()({name:"VLayout",props:uP(),setup:function(e,t){var n=t.slots,r=t3(e),i=r.layoutClasses,o=r.layoutStyles,a=r.getLayoutItem,l=r.items,u=r.layoutRef;return t4(function(){var t;return(0,S.createVNode)("div",{ref:u,class:[i.value,e.class],style:[o.value,e.style]},[null===(t=n.default)||void 0===t?void 0:t.call(n)])}),{getLayoutItem:a,items:l}}}),p=f("a42Vg");f("7DTtY");var S=f("5BxzC"),k=f("bNhjt"),uL=eU((0,p._)({position:{type:String,required:!0},size:{type:[Number,String],default:300},modelValue:Boolean},tX(),t0()),"VLayoutItem"),uj=eY()({name:"VLayoutItem",props:uL(),setup:function(e,t){var n=t.slots,r=t1({id:e.name,order:(0,S.computed)(function(){return parseInt(e.order,10)}),position:(0,k.toRef)(e,"position"),elementSize:(0,k.toRef)(e,"size"),layoutSize:(0,k.toRef)(e,"size"),active:(0,k.toRef)(e,"modelValue"),absolute:(0,k.toRef)(e,"absolute")}).layoutItemStyles;return function(){var t;return(0,S.createVNode)("div",{class:["v-layout-item",e.class],style:[r.value,e.style]},[null===(t=n.default)||void 0===t?void 0:t.call(n)])}}}),uF={};t(uF,"VLazy",function(){return uz});var p=f("a42Vg");f("7DTtY");var S=f("5BxzC"),uU=eU((0,p._)({modelValue:Boolean,options:{type:Object,// For more information on types, navigate to:
// https://developer.mozilla.org/en-US/docs/Web/API/Intersection_Observer_API
-default:function(){return{root:void 0,rootMargin:void 0,threshold:void 0}}}},tX(),nR(),t7(),nP({transition:"fade-transition"})),"VLazy"),uz=eY()({name:"VLazy",directives:{intersect:nj},props:uU(),emits:{"update:modelValue":function(e){return!0}},setup:function(e,t){var n=function(e){o.value||(o.value=e)},r=t.slots,i=nO(e).dimensionStyles,o=e1(e,"modelValue");return t5(function(){return(0,S.withDirectives)((0,S.createVNode)(e.tag,{class:["v-lazy",e.class],style:[i.value,e.style]},{default:function(){return[o.value&&(0,S.createVNode)(nM,{transition:e.transition,appear:!0},{default:function(){var e;return[null===(e=r.default)||void 0===e?void 0:e.call(r)]}})]}}),[[(0,S.resolveDirective)("intersect"),{handler:n,options:e.options},null]])}),{}}}),uY={};t(uY,"VList",function(){return i7}),t(uY,"VListGroup",function(){return iW}),t(uY,"VListImg",function(){return uH}),t(uY,"VListItem",function(){return i$}),t(uY,"VListItemAction",function(){return uW}),t(uY,"VListItemMedia",function(){return uX}),t(uY,"VListItemSubtitle",function(){return iK}),t(uY,"VListItemTitle",function(){return iX}),t(uY,"VListSubheader",function(){return iZ});// Utilities
-var uH=ir("v-list-img"),p=f("a42Vg");f("7DTtY");var S=f("5BxzC"),uq=eU((0,p._)({start:Boolean,end:Boolean},tX(),t7()),"VListItemAction"),uW=eY()({name:"VListItemAction",props:uq(),setup:function(e,t){var n=t.slots;return t5(function(){return(0,S.createVNode)(e.tag,{class:["v-list-item-action",{"v-list-item-action--start":e.start,"v-list-item-action--end":e.end},e.class],style:e.style},n)}),{}}}),p=f("a42Vg");f("7DTtY");var S=f("5BxzC"),uK=eU((0,p._)({start:Boolean,end:Boolean},tX(),t7()),"VListItemMedia"),uX=eY()({name:"VListItemMedia",props:uK(),setup:function(e,t){var n=t.slots;return t5(function(){return(0,S.createVNode)(e.tag,{class:["v-list-item-media",{"v-list-item-media--start":e.start,"v-list-item-media--end":e.end},e.class],style:e.style},n)}),{}}}),uG={};t(uG,"VLocaleProvider",function(){return uJ});var p=f("a42Vg");f("7DTtY");var S=f("5BxzC"),u$=eU((0,p._)({locale:String,fallbackLocale:String,messages:Object,rtl:{type:Boolean,default:void 0}},tX()),"VLocaleProvider"),uJ=eY()({name:"VLocaleProvider",props:u$(),setup:function(e,t){var n=t.slots,r=function(e){var t,n,r,i,o=(0,S.inject)(e7);if(!o)throw Error("[Vuetify] Could not find injected locale instance");var a=o.provide(e),l=(t=o.rtl,{isRtl:i=(0,S.computed)(function(){return null!==(r=null!==(n=e.rtl)&&void 0!==n?n:t.value[a.current.value])&&void 0!==r&&r}),rtl:t,rtlClasses:(0,S.computed)(function(){return"v-locale--is-".concat(i.value?"rtl":"ltr")})}),u=(0,p._)({},a,l);return(0,S.provide)(e7,u),u}(e).rtlClasses;return t5(function(){var t;return(0,S.createVNode)("div",{class:["v-locale-provider",r.value,e.class],style:e.style},[null===(t=n.default)||void 0===t?void 0:t.call(n)])}),{}}}),uZ={};t(uZ,"VMain",function(){return u0});var p=f("a42Vg");f("7DTtY");var S=f("5BxzC"),uQ=eU((0,p._)({scrollable:Boolean},tX(),t7({tag:"main"})),"VMain"),u0=eY()({name:"VMain",props:uQ(),setup:function(e,t){var n=t.slots,r=function(){var e=(0,S.inject)(tJ);if(!e)throw Error("[Vuetify] Could not find injected layout");return{getLayoutItem:e.getLayoutItem,mainRect:e.mainRect,mainStyles:e.mainStyles}}().mainStyles,i=n1().ssrBootStyles;return t5(function(){return(0,S.createVNode)(e.tag,{class:["v-main",{"v-main--scrollable":e.scrollable},e.class],style:[r.value,i.value,e.style]},{default:function(){var t,r;return[e.scrollable?(0,S.createVNode)("div",{class:"v-main__scroller"},[null===(t=n.default)||void 0===t?void 0:t.call(n)]):null===(r=n.default)||void 0===r?void 0:r.call(n)]}})}),{}}}),u1={};t(u1,"VMenu",function(){return oL});var u2={};t(u2,"VMessages",function(){return oJ});var u3={};t(u3,"VNavigationDrawer",function(){return u9});var p=f("a42Vg");f("7DTtY");var k=f("bNhjt"),S=f("5BxzC"),m=f("jo4gN"),tG=f("h8xva");f("7DTtY");var k=f("bNhjt"),S=f("5BxzC");/** @see https://android.googlesource.com/platform/frameworks/native/+/master/libs/input/VelocityTracker.cpp */function u5(e){return(e<0?-1:1)*Math.sqrt(Math.abs(e))*1.41421356237}function u4(e){// The input should be in reversed time order (most recent sample at index i=0)
+default:function(){return{root:void 0,rootMargin:void 0,threshold:void 0}}}},tX(),nR(),t7(),nP({transition:"fade-transition"})),"VLazy"),uz=eY()({name:"VLazy",directives:{intersect:nj},props:uU(),emits:{"update:modelValue":function(e){return!0}},setup:function(e,t){var n=function(e){o.value||(o.value=e)},r=t.slots,i=nO(e).dimensionStyles,o=e1(e,"modelValue");return t4(function(){return(0,S.withDirectives)((0,S.createVNode)(e.tag,{class:["v-lazy",e.class],style:[i.value,e.style]},{default:function(){return[o.value&&(0,S.createVNode)(nM,{transition:e.transition,appear:!0},{default:function(){var e;return[null===(e=r.default)||void 0===e?void 0:e.call(r)]}})]}}),[[(0,S.resolveDirective)("intersect"),{handler:n,options:e.options},null]])}),{}}}),uY={};t(uY,"VList",function(){return i7}),t(uY,"VListGroup",function(){return iW}),t(uY,"VListImg",function(){return uH}),t(uY,"VListItem",function(){return i$}),t(uY,"VListItemAction",function(){return uW}),t(uY,"VListItemMedia",function(){return uX}),t(uY,"VListItemSubtitle",function(){return iK}),t(uY,"VListItemTitle",function(){return iX}),t(uY,"VListSubheader",function(){return iZ});// Utilities
+var uH=ir("v-list-img"),p=f("a42Vg");f("7DTtY");var S=f("5BxzC"),uq=eU((0,p._)({start:Boolean,end:Boolean},tX(),t7()),"VListItemAction"),uW=eY()({name:"VListItemAction",props:uq(),setup:function(e,t){var n=t.slots;return t4(function(){return(0,S.createVNode)(e.tag,{class:["v-list-item-action",{"v-list-item-action--start":e.start,"v-list-item-action--end":e.end},e.class],style:e.style},n)}),{}}}),p=f("a42Vg");f("7DTtY");var S=f("5BxzC"),uK=eU((0,p._)({start:Boolean,end:Boolean},tX(),t7()),"VListItemMedia"),uX=eY()({name:"VListItemMedia",props:uK(),setup:function(e,t){var n=t.slots;return t4(function(){return(0,S.createVNode)(e.tag,{class:["v-list-item-media",{"v-list-item-media--start":e.start,"v-list-item-media--end":e.end},e.class],style:e.style},n)}),{}}}),uG={};t(uG,"VLocaleProvider",function(){return uJ});var p=f("a42Vg");f("7DTtY");var S=f("5BxzC"),u$=eU((0,p._)({locale:String,fallbackLocale:String,messages:Object,rtl:{type:Boolean,default:void 0}},tX()),"VLocaleProvider"),uJ=eY()({name:"VLocaleProvider",props:u$(),setup:function(e,t){var n=t.slots,r=function(e){var t,n,r,i,o=(0,S.inject)(e7);if(!o)throw Error("[Vuetify] Could not find injected locale instance");var a=o.provide(e),l=(t=o.rtl,{isRtl:i=(0,S.computed)(function(){return null!==(r=null!==(n=e.rtl)&&void 0!==n?n:t.value[a.current.value])&&void 0!==r&&r}),rtl:t,rtlClasses:(0,S.computed)(function(){return"v-locale--is-".concat(i.value?"rtl":"ltr")})}),u=(0,p._)({},a,l);return(0,S.provide)(e7,u),u}(e).rtlClasses;return t4(function(){var t;return(0,S.createVNode)("div",{class:["v-locale-provider",r.value,e.class],style:e.style},[null===(t=n.default)||void 0===t?void 0:t.call(n)])}),{}}}),uZ={};t(uZ,"VMain",function(){return u0});var p=f("a42Vg");f("7DTtY");var S=f("5BxzC"),uQ=eU((0,p._)({scrollable:Boolean},tX(),t7({tag:"main"})),"VMain"),u0=eY()({name:"VMain",props:uQ(),setup:function(e,t){var n=t.slots,r=function(){var e=(0,S.inject)(tJ);if(!e)throw Error("[Vuetify] Could not find injected layout");return{getLayoutItem:e.getLayoutItem,mainRect:e.mainRect,mainStyles:e.mainStyles}}().mainStyles,i=n1().ssrBootStyles;return t4(function(){return(0,S.createVNode)(e.tag,{class:["v-main",{"v-main--scrollable":e.scrollable},e.class],style:[r.value,i.value,e.style]},{default:function(){var t,r;return[e.scrollable?(0,S.createVNode)("div",{class:"v-main__scroller"},[null===(t=n.default)||void 0===t?void 0:t.call(n)]):null===(r=n.default)||void 0===r?void 0:r.call(n)]}})}),{}}}),u1={};t(u1,"VMenu",function(){return oL});var u2={};t(u2,"VMessages",function(){return oJ});var u3={};t(u3,"VNavigationDrawer",function(){return u9});var p=f("a42Vg");f("7DTtY");var k=f("bNhjt"),S=f("5BxzC"),m=f("jo4gN"),tG=f("h8xva");f("7DTtY");var k=f("bNhjt"),S=f("5BxzC");/** @see https://android.googlesource.com/platform/frameworks/native/+/master/libs/input/VelocityTracker.cpp */function u4(e){return(e<0?-1:1)*Math.sqrt(Math.abs(e))*1.41421356237}function u5(e){// The input should be in reversed time order (most recent sample at index i=0)
if(e.length<2)return 0;// if (samples[1].t > samples[0].t) {
// // Algorithm will still work, but not perfectly
// consoleWarn('Samples provided to calculateImpulseVelocity in the wrong order')
// }
if(2===e.length)return(// if 2 points, basic linear calculation
-e[1].t===e[0].t?0:(e[1].d-e[0].d)/(e[1].t-e[0].t));for(var t=0,n=e.length-1;n>0;n--)if(e[n].t!==e[n-1].t){var r=u5(t),i=(e[n].d-e[n-1].d)/(e[n].t-e[n-1].t);// v[i-1]
-t+=(i-r)*Math.abs(i),n===e.length-1&&(t*=.5)}return 1e3*u5(t)}f("7DTtY");var S=f("5BxzC"),k=f("bNhjt");function u6(){throw Error()}var u8=["start","end","left","right","top","bottom"],u7=eU((0,p._)({color:String,disableResizeWatcher:Boolean,disableRouteWatcher:Boolean,expandOnHover:Boolean,floating:Boolean,modelValue:{type:Boolean,default:null},permanent:Boolean,rail:{type:Boolean,default:null},railWidth:{type:[Number,String],default:56},scrim:{type:[Boolean,String],default:!0},image:String,temporary:Boolean,touchless:Boolean,width:{type:[Number,String],default:256},location:{type:String,default:"start",validator:function(e){return u8.includes(e)}},sticky:Boolean},nz(),tX(),nK(),t0(),nG(),t7({tag:"nav"}),tT()),"VNavigationDrawer"),u9=eY()({name:"VNavigationDrawer",props:u7(),emits:{"update:modelValue":function(e){return!0},"update:rail":function(e){return!0}},setup:function(e,t){var n,r,i,o,a,l,u,s,c,d,f,h,g,y,_,b,w,x,C,E,V,N,T,A,D,R,O,I,B,P,M,L,j=function(){eo.value=!0},U=function(){eo.value=!1},z=t.attrs,Y=t.emit,H=t.slots,q=te().isRtl,W=tD(e).themeClasses,K=nY(e).borderClasses,X=nW((0,k.toRef)(e,"color")),G=X.backgroundColorClasses,$=X.backgroundColorStyles,J=nX(e).elevationClasses,Z=eP().mobile,Q=n$(e).roundedClasses,ee=rL(),et=e1(e,"modelValue",null,function(e){return!!e}),en=n1().ssrBootStyles,er=ox().scopeId,ei=(0,k.ref)(),eo=(0,k.shallowRef)(!1),ea=(0,S.computed)(function(){return e.rail&&e.expandOnHover&&eo.value?Number(e.width):Number(e.rail?e.railWidth:e.width)}),el=(0,S.computed)(function(){return rx(e.location,q.value)}),eu=(0,S.computed)(function(){return!e.permanent&&(Z.value||e.temporary)}),ec=(0,S.computed)(function(){return e.sticky&&!eu.value&&"bottom"!==el.value});e.expandOnHover&&null!=e.rail&&(0,S.watch)(eo,function(e){return Y("update:rail",!e)}),e.disableResizeWatcher||(0,S.watch)(eu,function(t){return!e.permanent&&(0,S.nextTick)(function(){return et.value=!t})}),!e.disableRouteWatcher&&ee&&(0,S.watch)(ee.currentRoute,function(){return eu.value&&(et.value=!1)}),(0,S.watch)(function(){return e.permanent},function(e){e&&(et.value=!0)}),(0,S.onBeforeMount)(function(){null!=e.modelValue||eu.value||(et.value=e.permanent||!Z.value)});var ed=(n={isActive:et,isTemporary:eu,width:ea,touchless:(0,k.toRef)(e,"touchless"),position:el},i=function(e,t){return("left"===h.value?e:"right"===h.value?document.documentElement.clientWidth-e:"top"===h.value?e:"bottom"===h.value?document.documentElement.clientHeight-e:u6())-(t?d.value:0)},o=function(e){var t=!(arguments.length>1)||void 0===arguments[1]||arguments[1],n="left"===h.value?(e-N.value)/d.value:"right"===h.value?(document.documentElement.clientWidth-e-N.value)/d.value:"top"===h.value?(e-N.value)/d.value:"bottom"===h.value?(document.documentElement.clientHeight-e-N.value)/d.value:u6();return t?Math.max(0,Math.min(1,n)):n},a=function(e){if(!f.value){var t=e.changedTouches[0].clientX,n=e.changedTouches[0].clientY,a="left"===h.value?t<25:"right"===h.value?t>document.documentElement.clientWidth-25:"top"===h.value?n<25:"bottom"===h.value?n>document.documentElement.clientHeight-25:u6(),l=s.value&&("left"===h.value?tdocument.documentElement.clientWidth-d.value:"top"===h.value?ndocument.documentElement.clientHeight-d.value:u6());(a||l||s.value&&c.value)&&(C=!0,r=[t,n],N.value=i(g.value?t:n,s.value),V.value=o(g.value?t:n),w(e),b(e))}},l=function(e){var t=e.changedTouches[0].clientX,n=e.changedTouches[0].clientY;if(C){if(!e.cancelable){C=!1;return}var a=Math.abs(t-r[0]),l=Math.abs(n-r[1]);(g.value?a>l&&a>3:l>a&&l>3)?(E.value=!0,C=!1):(g.value?l:a)>3&&(C=!1)}if(E.value){e.preventDefault(),b(e);var u=o(g.value?t:n,!1);V.value=Math.max(0,Math.min(1,u)),u>1?N.value=i(g.value?t:n,!0):u<0&&(N.value=i(g.value?t:n,!1))}},u=function(e){if(C=!1,E.value){b(e),E.value=!1;var t=x(e.changedTouches[0].identifier),n=Math.abs(t.x),r=Math.abs(t.y);(g.value?n>r&&n>400:r>n&&r>3)?s.value=t.direction===(({left:"right",right:"left",top:"down",bottom:"up"})[h.value]||u6()):s.value=V.value>.5}},s=n.isActive,c=n.isTemporary,d=n.width,f=n.touchless,h=n.position,(0,S.onMounted)(function(){window.addEventListener("touchstart",a,{passive:!0}),window.addEventListener("touchmove",l,{passive:!1}),window.addEventListener("touchend",u,{passive:!0})}),(0,S.onBeforeUnmount)(function(){window.removeEventListener("touchstart",a),window.removeEventListener("touchmove",l),window.removeEventListener("touchend",u)}),g=(0,S.computed)(function(){return["left","right"].includes(h.value)}),b=(y={},_={addMovement:function(e){Array.from(e.changedTouches).forEach(function(t){var n;(null!==(n=y[t.identifier])&&void 0!==n?n:y[t.identifier]=new es(20)).push([e.timeStamp,t])})},endTouch:function(e){Array.from(e.changedTouches).forEach(function(e){delete y[e.identifier]})},getVelocity:function(e){var t=null===(u=y[e])||void 0===u?void 0:u.values().reverse();if(!t)throw Error("No samples for touch id ".concat(e));var n=t[0],r=[],i=[],o=!0,a=!1,l=void 0;try{for(var u,s,c=t[Symbol.iterator]();!(o=(s=c.next()).done);o=!0){var d=s.value;if(n[0]-d[0]>100)break;r.push({t:d[0],d:d[1].clientX}),i.push({t:d[0],d:d[1].clientY})}}catch(e){a=!0,l=e}finally{try{o||null==c.return||c.return()}finally{if(a)throw l}}return{x:u4(r),y:u4(i),get direction(){var f=this.x,h=this.y,p=[Math.abs(f),Math.abs(h)],g=p[0],m=p[1];return g>m&&f>=0?"right":g>m&&f<=0?"left":m>g&&h>=0?"down":m>g&&h<=0?"up":function(){throw Error()}()}}}}).addMovement,w=_.endTouch,x=_.getVelocity,C=!1,E=(0,k.shallowRef)(!1),V=(0,k.shallowRef)(0),N=(0,k.shallowRef)(0),T=(0,S.computed)(function(){return E.value?{transform:"left"===h.value?"translateX(calc(-100% + ".concat(V.value*d.value,"px))"):"right"===h.value?"translateX(calc(100% - ".concat(V.value*d.value,"px))"):"top"===h.value?"translateY(calc(-100% + ".concat(V.value*d.value,"px))"):"bottom"===h.value?"translateY(calc(100% - ".concat(V.value*d.value,"px))"):u6(),transition:"none"}:void 0}),{isDragging:E,dragProgress:V,dragStyles:T}),ef=ed.isDragging,eh=ed.dragProgress,ev=ed.dragStyles,ep=(0,S.computed)(function(){var t=eu.value?0:e.rail&&e.expandOnHover?Number(e.railWidth):ea.value;return ef.value?t*eh.value:t}),eg=t1({id:e.name,order:(0,S.computed)(function(){return parseInt(e.order,10)}),position:el,layoutSize:ep,elementSize:ea,active:(0,S.computed)(function(){return et.value||ef.value}),disableTransitions:(0,S.computed)(function(){return ef.value}),absolute:(0,S.computed)(function(){return e.absolute||ec.value&&"string"!=typeof eb.value})}),em=eg.layoutItemStyles,ey=eg.layoutItemScrimStyles,e_=(A={rootEl:ei,isSticky:ec,layoutItemStyles:em},D=function(){var e,t=L>window.scrollY?"up":"down",n=R.value.getBoundingClientRect(),r=parseFloat(null!==(e=I.value.top)&&void 0!==e?e:0),i=window.scrollY-Math.max(0,P.value-r),o=n.height+Math.max(P.value,r)-window.scrollY-window.innerHeight,a=parseFloat(getComputedStyle(R.value).getPropertyValue("--v-body-scroll-y"))||0;n.height0;n--)if(e[n].t!==e[n-1].t){var r=u4(t),i=(e[n].d-e[n-1].d)/(e[n].t-e[n-1].t);// v[i-1]
+t+=(i-r)*Math.abs(i),n===e.length-1&&(t*=.5)}return 1e3*u4(t)}f("7DTtY");var S=f("5BxzC"),k=f("bNhjt");function u6(){throw Error()}var u8=["start","end","left","right","top","bottom"],u7=eU((0,p._)({color:String,disableResizeWatcher:Boolean,disableRouteWatcher:Boolean,expandOnHover:Boolean,floating:Boolean,modelValue:{type:Boolean,default:null},permanent:Boolean,rail:{type:Boolean,default:null},railWidth:{type:[Number,String],default:56},scrim:{type:[Boolean,String],default:!0},image:String,temporary:Boolean,touchless:Boolean,width:{type:[Number,String],default:256},location:{type:String,default:"start",validator:function(e){return u8.includes(e)}},sticky:Boolean},nz(),tX(),nK(),t0(),nG(),t7({tag:"nav"}),tT()),"VNavigationDrawer"),u9=eY()({name:"VNavigationDrawer",props:u7(),emits:{"update:modelValue":function(e){return!0},"update:rail":function(e){return!0}},setup:function(e,t){var n,r,i,o,a,l,u,s,c,d,f,h,g,y,_,b,w,x,C,E,V,N,T,A,D,R,O,I,B,P,M,L,j=function(){eo.value=!0},U=function(){eo.value=!1},z=t.attrs,Y=t.emit,H=t.slots,q=te().isRtl,W=tD(e).themeClasses,K=nY(e).borderClasses,X=nW((0,k.toRef)(e,"color")),G=X.backgroundColorClasses,$=X.backgroundColorStyles,J=nX(e).elevationClasses,Z=eP().mobile,Q=n$(e).roundedClasses,ee=rL(),et=e1(e,"modelValue",null,function(e){return!!e}),en=n1().ssrBootStyles,er=ox().scopeId,ei=(0,k.ref)(),eo=(0,k.shallowRef)(!1),ea=(0,S.computed)(function(){return e.rail&&e.expandOnHover&&eo.value?Number(e.width):Number(e.rail?e.railWidth:e.width)}),el=(0,S.computed)(function(){return rx(e.location,q.value)}),eu=(0,S.computed)(function(){return!e.permanent&&(Z.value||e.temporary)}),ec=(0,S.computed)(function(){return e.sticky&&!eu.value&&"bottom"!==el.value});e.expandOnHover&&null!=e.rail&&(0,S.watch)(eo,function(e){return Y("update:rail",!e)}),e.disableResizeWatcher||(0,S.watch)(eu,function(t){return!e.permanent&&(0,S.nextTick)(function(){return et.value=!t})}),!e.disableRouteWatcher&&ee&&(0,S.watch)(ee.currentRoute,function(){return eu.value&&(et.value=!1)}),(0,S.watch)(function(){return e.permanent},function(e){e&&(et.value=!0)}),(0,S.onBeforeMount)(function(){null!=e.modelValue||eu.value||(et.value=e.permanent||!Z.value)});var ed=(n={isActive:et,isTemporary:eu,width:ea,touchless:(0,k.toRef)(e,"touchless"),position:el},i=function(e,t){return("left"===h.value?e:"right"===h.value?document.documentElement.clientWidth-e:"top"===h.value?e:"bottom"===h.value?document.documentElement.clientHeight-e:u6())-(t?d.value:0)},o=function(e){var t=!(arguments.length>1)||void 0===arguments[1]||arguments[1],n="left"===h.value?(e-N.value)/d.value:"right"===h.value?(document.documentElement.clientWidth-e-N.value)/d.value:"top"===h.value?(e-N.value)/d.value:"bottom"===h.value?(document.documentElement.clientHeight-e-N.value)/d.value:u6();return t?Math.max(0,Math.min(1,n)):n},a=function(e){if(!f.value){var t=e.changedTouches[0].clientX,n=e.changedTouches[0].clientY,a="left"===h.value?t<25:"right"===h.value?t>document.documentElement.clientWidth-25:"top"===h.value?n<25:"bottom"===h.value?n>document.documentElement.clientHeight-25:u6(),l=s.value&&("left"===h.value?tdocument.documentElement.clientWidth-d.value:"top"===h.value?ndocument.documentElement.clientHeight-d.value:u6());(a||l||s.value&&c.value)&&(C=!0,r=[t,n],N.value=i(g.value?t:n,s.value),V.value=o(g.value?t:n),w(e),b(e))}},l=function(e){var t=e.changedTouches[0].clientX,n=e.changedTouches[0].clientY;if(C){if(!e.cancelable){C=!1;return}var a=Math.abs(t-r[0]),l=Math.abs(n-r[1]);(g.value?a>l&&a>3:l>a&&l>3)?(E.value=!0,C=!1):(g.value?l:a)>3&&(C=!1)}if(E.value){e.preventDefault(),b(e);var u=o(g.value?t:n,!1);V.value=Math.max(0,Math.min(1,u)),u>1?N.value=i(g.value?t:n,!0):u<0&&(N.value=i(g.value?t:n,!1))}},u=function(e){if(C=!1,E.value){b(e),E.value=!1;var t=x(e.changedTouches[0].identifier),n=Math.abs(t.x),r=Math.abs(t.y);(g.value?n>r&&n>400:r>n&&r>3)?s.value=t.direction===(({left:"right",right:"left",top:"down",bottom:"up"})[h.value]||u6()):s.value=V.value>.5}},s=n.isActive,c=n.isTemporary,d=n.width,f=n.touchless,h=n.position,(0,S.onMounted)(function(){window.addEventListener("touchstart",a,{passive:!0}),window.addEventListener("touchmove",l,{passive:!1}),window.addEventListener("touchend",u,{passive:!0})}),(0,S.onBeforeUnmount)(function(){window.removeEventListener("touchstart",a),window.removeEventListener("touchmove",l),window.removeEventListener("touchend",u)}),g=(0,S.computed)(function(){return["left","right"].includes(h.value)}),b=(y={},_={addMovement:function(e){Array.from(e.changedTouches).forEach(function(t){var n;(null!==(n=y[t.identifier])&&void 0!==n?n:y[t.identifier]=new es(20)).push([e.timeStamp,t])})},endTouch:function(e){Array.from(e.changedTouches).forEach(function(e){delete y[e.identifier]})},getVelocity:function(e){var t=null===(u=y[e])||void 0===u?void 0:u.values().reverse();if(!t)throw Error("No samples for touch id ".concat(e));var n=t[0],r=[],i=[],o=!0,a=!1,l=void 0;try{for(var u,s,c=t[Symbol.iterator]();!(o=(s=c.next()).done);o=!0){var d=s.value;if(n[0]-d[0]>100)break;r.push({t:d[0],d:d[1].clientX}),i.push({t:d[0],d:d[1].clientY})}}catch(e){a=!0,l=e}finally{try{o||null==c.return||c.return()}finally{if(a)throw l}}return{x:u5(r),y:u5(i),get direction(){var f=this.x,h=this.y,p=[Math.abs(f),Math.abs(h)],g=p[0],m=p[1];return g>m&&f>=0?"right":g>m&&f<=0?"left":m>g&&h>=0?"down":m>g&&h<=0?"up":function(){throw Error()}()}}}}).addMovement,w=_.endTouch,x=_.getVelocity,C=!1,E=(0,k.shallowRef)(!1),V=(0,k.shallowRef)(0),N=(0,k.shallowRef)(0),T=(0,S.computed)(function(){return E.value?{transform:"left"===h.value?"translateX(calc(-100% + ".concat(V.value*d.value,"px))"):"right"===h.value?"translateX(calc(100% - ".concat(V.value*d.value,"px))"):"top"===h.value?"translateY(calc(-100% + ".concat(V.value*d.value,"px))"):"bottom"===h.value?"translateY(calc(100% - ".concat(V.value*d.value,"px))"):u6(),transition:"none"}:void 0}),{isDragging:E,dragProgress:V,dragStyles:T}),ef=ed.isDragging,eh=ed.dragProgress,ev=ed.dragStyles,ep=(0,S.computed)(function(){var t=eu.value?0:e.rail&&e.expandOnHover?Number(e.railWidth):ea.value;return ef.value?t*eh.value:t}),eg=t1({id:e.name,order:(0,S.computed)(function(){return parseInt(e.order,10)}),position:el,layoutSize:ep,elementSize:ea,active:(0,S.computed)(function(){return et.value||ef.value}),disableTransitions:(0,S.computed)(function(){return ef.value}),absolute:(0,S.computed)(function(){return e.absolute||ec.value&&"string"!=typeof eb.value})}),em=eg.layoutItemStyles,ey=eg.layoutItemScrimStyles,e_=(A={rootEl:ei,isSticky:ec,layoutItemStyles:em},D=function(){var e,t=L>window.scrollY?"up":"down",n=R.value.getBoundingClientRect(),r=parseFloat(null!==(e=I.value.top)&&void 0!==e?e:0),i=window.scrollY-Math.max(0,P.value-r),o=n.height+Math.max(P.value,r)-window.scrollY-window.innerHeight,a=parseFloat(getComputedStyle(R.value).getPropertyValue("--v-body-scroll-y"))||0;n.height+e.start?(s.value=s.value-1,(0,S.nextTick)(o)):t.key===H.right&&!e.disabled&&s.value *");if(o){var a=i.width,l=o.offsetWidth+2*parseFloat(getComputedStyle(o).marginRight);m.value=r(a,l)}}}).resizeRef,_=(0,S.computed)(function(){return parseInt(e.length,10)}),b=(0,S.computed)(function(){return parseInt(e.start,10)}),w=(0,S.computed)(function(){return e.totalVisible?parseInt(e.totalVisible,10):m.value>=0?m.value:r(g.value,58)}),x=(0,S.computed)(function(){if(_.value<=0||isNaN(_.value)||_.value>Number.MAX_SAFE_INTEGER)return[];if(w.value<=1)return[s.value];if(_.value<=w.value)return j(_.value,b.value);var t=w.value%2==0,n=t?w.value/2:Math.floor(w.value/2),r=_.value-n;if((t?n:n+1)-s.value>=0)return(0,V._)(j(Math.max(1,w.value-1),b.value)).concat([e.ellipsis,_.value]);if(s.value-r>=(t?1:0)){var i=w.value-1,o=_.value-i+b.value;return[b.value,e.ellipsis].concat((0,V._)(j(i,o)))}var a=Math.max(1,w.value-3),l=1===a?s.value:s.value-Math.ceil(a/2)+b.value;return[b.value,e.ellipsis].concat((0,V._)(j(a,l)),[e.ellipsis,_.value])}),C=(n=(0,k.ref)([]),(0,S.onBeforeUpdate)(function(){return n.value=[]}),{refs:n,updateRef:function(e,t){n.value[t]=e}}),E=C.refs,N=C.updateRef;eN({VPaginationBtn:{color:(0,k.toRef)(e,"color"),border:(0,k.toRef)(e,"border"),density:(0,k.toRef)(e,"density"),size:(0,k.toRef)(e,"size"),variant:(0,k.toRef)(e,"variant"),rounded:(0,k.toRef)(e,"rounded"),elevation:(0,k.toRef)(e,"elevation")}});var T=(0,S.computed)(function(){return x.value.map(function(t,n){var r=function(e){return N(e,n)};if("string"==typeof t)return{isActive:!1,key:"ellipsis-".concat(n),page:t,props:{ref:r,ellipsis:!0,icon:!0,disabled:!0}};var o=t===s.value;return{isActive:o,key:t,page:f(t),props:{ref:r,ellipsis:!1,icon:!0,disabled:!!e.disabled||2>+e.length,color:o?e.activeColor:e.color,ariaCurrent:o,ariaLabel:d(o?e.currentPageAriaLabel:e.pageAriaLabel,t),onClick:function(e){return i(e,t)}}}})}),A=(0,S.computed)(function(){var t=!!e.disabled||s.value<=b.value,n=!!e.disabled||s.value>=b.value+_.value-1;return{first:e.showFirstLastPage?{icon:h.value?e.lastIcon:e.firstIcon,onClick:function(e){return i(e,b.value,"first")},disabled:t,ariaLabel:d(e.firstAriaLabel),ariaDisabled:t}:void 0,prev:{icon:h.value?e.nextIcon:e.prevIcon,onClick:function(e){return i(e,s.value-1,"prev")},disabled:t,ariaLabel:d(e.previousAriaLabel),ariaDisabled:t},next:{icon:h.value?e.prevIcon:e.nextIcon,onClick:function(e){return i(e,s.value+1,"next")},disabled:n,ariaLabel:d(e.nextAriaLabel),ariaDisabled:n},last:e.showFirstLastPage?{icon:h.value?e.firstIcon:e.lastIcon,onClick:function(e){return i(e,b.value+_.value-1,"last")},disabled:n,ariaLabel:d(e.lastAriaLabel),ariaDisabled:n}:void 0}});return t5(function(){return(0,S.createVNode)(e.tag,{ref:y,class:["v-pagination",p.value,e.class],style:e.style,role:"navigation","aria-label":d(e.ariaLabel),onKeydown:a,"data-test":"v-pagination-root"},{default:function(){return[(0,S.createVNode)("ul",{class:"v-pagination__list"},[e.showFirstLastPage&&(0,S.createVNode)("li",{key:"first",class:"v-pagination__first","data-test":"v-pagination-first"},[l.first?l.first(A.value.first):(0,S.createVNode)(r8,(0,S.mergeProps)({_as:"VPaginationBtn"},A.value.first),null)]),(0,S.createVNode)("li",{key:"prev",class:"v-pagination__prev","data-test":"v-pagination-prev"},[l.prev?l.prev(A.value.prev):(0,S.createVNode)(r8,(0,S.mergeProps)({_as:"VPaginationBtn"},A.value.prev),null)]),T.value.map(function(e,t){return(0,S.createVNode)("li",{key:e.key,class:["v-pagination__item",{"v-pagination__item--is-active":e.isActive}],"data-test":"v-pagination-item"},[l.item?l.item(e):(0,S.createVNode)(r8,(0,S.mergeProps)({_as:"VPaginationBtn"},e.props),{default:function(){return[e.page]}})])}),(0,S.createVNode)("li",{key:"next",class:"v-pagination__next","data-test":"v-pagination-next"},[l.next?l.next(A.value.next):(0,S.createVNode)(r8,(0,S.mergeProps)({_as:"VPaginationBtn"},A.value.next),null)]),e.showFirstLastPage&&(0,S.createVNode)("li",{key:"last",class:"v-pagination__last","data-test":"v-pagination-last"},[l.last?l.last(A.value.last):(0,S.createVNode)(r8,(0,S.mergeProps)({_as:"VPaginationBtn"},A.value.last),null)])])]}})}),{}}}),sa={};t(sa,"VParallax",function(){return su});var p=f("a42Vg");f("7DTtY");var k=f("bNhjt"),S=f("5BxzC"),sl=eU((0,p._)({scale:{type:[Number,String],default:.5}},tX()),"VParallax"),su=eY()({name:"VParallax",props:sl(),setup:function(e,t){var n,r=function(){l.value&&(cancelAnimationFrame(p),p=requestAnimationFrame(function(){var e,t=null===(e=f.value)||void 0===e?void 0:e.$el.querySelector(".v-img__img");if(t){var r,i=n instanceof Document?document.documentElement.clientHeight:n.clientHeight,o=n instanceof Document?window.scrollY:n.scrollTop,l=a.value.getBoundingClientRect().top+o,u=c.value.height,s=Math.floor(Math.abs(r=(o-(l+(u-i)/2))*h.value))*Math.sign(r),d=Math.max(1,(h.value*(i-u)+u)/u);t.style.setProperty("transform","translateY(".concat(s,"px) scale(").concat(d,")"))}}))},i=t.slots,o=rg(),a=o.intersectionRef,l=o.isIntersecting,u=t$(),s=u.resizeRef,c=u.contentRect,d=eP().height,f=(0,k.ref)();(0,S.watchEffect)(function(){var e;a.value=s.value=null===(e=f.value)||void 0===e?void 0:e.$el}),(0,S.watch)(l,function(e){e?((n=(n=ot(a.value))===document.scrollingElement?document:n).addEventListener("scroll",r,{passive:!0}),r()):n.removeEventListener("scroll",r)}),(0,S.onBeforeUnmount)(function(){null==n||n.removeEventListener("scroll",r)}),(0,S.watch)(d,r),(0,S.watch)(function(){var e;return null===(e=c.value)||void 0===e?void 0:e.height},r);var h=(0,S.computed)(function(){return 1-ee(+e.scale)}),p=-1;return t5(function(){return(0,S.createVNode)(nU,{class:["v-parallax",{"v-parallax--active":l.value},e.class],style:e.style,ref:f,cover:!0,onLoadstart:r,onLoad:r},i)}),{}}}),ss={};t(ss,"VProgressCircular",function(){return ry});var sc={};t(sc,"VProgressLinear",function(){return rD});var sd={};t(sd,"VRadio",function(){return sh});var p=f("a42Vg");f("7DTtY");var S=f("5BxzC"),sf=eU((0,p._)({},ig({falseIcon:"$radioOff",trueIcon:"$radioOn"})),"VRadio"),sh=eY()({name:"VRadio",props:sf(),setup:function(e,t){var n=t.slots;return t5(function(){return(0,S.createVNode)(im,(0,S.mergeProps)(e,{class:["v-radio",e.class],style:e.style,type:"radio"}),n)}),{}}}),sv={};t(sv,"VRadioGroup",function(){return sg});var p=f("a42Vg"),b=f("9zFRg"),x=f("6wEIk");f("7DTtY");var S=f("5BxzC"),sp=eU((0,b._)((0,p._)({height:{type:[Number,String],default:"auto"}},o3(),X(ih(),["multiple"])),{trueIcon:{type:eH,default:"$radioOn"},falseIcon:{type:eH,default:"$radioOff"},type:{type:String,default:"radio"}}),"VRadioGroup"),sg=eY()({name:"VRadioGroup",inheritAttrs:!1,props:sp(),emits:{"update:modelValue":function(e){return!0}},setup:function(e,t){var n=t.attrs,r=t.slots,i=eC(),o=(0,S.computed)(function(){return e.id||"radio-group-".concat(i)}),a=e1(e,"modelValue");return t5(function(){var t=(0,x._)(Z(n),2),i=t[0],l=t[1],u=(0,x._)(o5.filterProps(e),2),s=u[0];u[1];var c=(0,x._)(im.filterProps(e),2),d=c[0];c[1];var f=r.label?r.label({label:e.label,props:{for:o.value}}):e.label;return(0,S.createVNode)(o5,(0,S.mergeProps)({class:["v-radio-group",e.class],style:e.style},i,s,{modelValue:a.value,"onUpdate:modelValue":function(e){return a.value=e},id:o.value}),(0,b._)((0,p._)({},r),{default:function(t){var n=t.id,i=t.messagesId,o=t.isDisabled,u=t.isReadonly;return(0,S.createVNode)(S.Fragment,null,[f&&(0,S.createVNode)(ic,{id:n.value},{default:function(){return[f]}}),(0,S.createVNode)(ip,(0,S.mergeProps)(d,{id:n.value,"aria-describedby":i.value,defaultsTarget:"VRadio",trueIcon:e.trueIcon,falseIcon:e.falseIcon,type:e.type,disabled:o.value,readonly:u.value,"aria-labelledby":f?n.value:void 0,multiple:!1},l,{modelValue:a.value,"onUpdate:modelValue":function(e){return a.value=e}}),r)])}}))}),{}}}),sm={};t(sm,"VRangeSlider",function(){return s_});var p=f("a42Vg"),b=f("9zFRg"),x=f("6wEIk");f("7DTtY");var k=f("bNhjt"),S=f("5BxzC"),sy=eU((0,b._)((0,p._)({},oH(),o3(),lh()),{strict:Boolean,modelValue:{type:Array,default:function(){return[0,0]}}}),"VRangeSlider"),s_=eY()({name:"VRangeSlider",props:sy(),emits:{"update:focused":function(e){return!0},"update:modelValue":function(e){return!0},end:function(e){return!0},start:function(e){return!0}},setup:function(e,t){var n=t.slots,r=t.emit,i=(0,k.ref)(),o=(0,k.ref)(),a=(0,k.ref)(),l=te().rtlClasses,u=lv(e),s=e1(e,"modelValue",void 0,function(e){return(null==e?void 0:e.length)?e.map(function(e){return u.roundValue(e)}):[0,0]}),c=lp({props:e,steps:u,onSliderStart:function(){r("start",s.value)},onSliderEnd:function(t){var n,o=t.value,a=d.value===(null===(n=i.value)||void 0===n?void 0:n.$el)?[o,s.value[1]]:[s.value[0],o];!e.strict&&a[0]f?null===(r=o.value)||void 0===r?void 0:r.$el:null===(a=i.value)||void 0===a?void 0:a.$el,null===(l=d.value)||void 0===l||l.focus()),d.value===(null===(n=i.value)||void 0===n?void 0:n.$el)?s.value=[Math.min(u,h),h]:s.value=[f,Math.max(f,u)]},getActiveThumb:function(t){if(i.value&&o.value){var n=lf(t,i.value.$el,e.direction),r=lf(t,o.value.$el,e.direction),a=Math.abs(n),l=Math.abs(r);return a0,"v-rating__item--full":e.halfIncrements&&i%1==0},onMouseenter:f,onMouseleave:y,onClick:_},[(0,S.createVNode)("span",{class:"v-rating__hidden"},[a(e.itemAriaLabel,i,e.length)]),c?o.item?o.item((0,b._)((0,p._)({},h.value[l]),{props:x,value:i,index:l,rating:s.value})):(0,S.createVNode)(r8,(0,S.mergeProps)({"aria-label":a(e.itemAriaLabel,i,e.length)},x),null):void 0]),(0,S.createVNode)("input",{class:"v-rating__hidden",name:m.value,id:w,type:"radio",value:i,checked:s.value===i,tabindex:-1,readonly:e.readonly,disabled:e.disabled},null)])},i=function(e){return o["item-label"]?o["item-label"](e):e.label?(0,S.createVNode)("span",null,[e.label]):(0,S.createVNode)("span",null,[(0,S.createTextVNode)("\xa0")])},o=t.slots,a=e9().t,l=tD(e).themeClasses,u=e1(e,"modelValue"),s=(0,S.computed)(function(){return ee(parseFloat(u.value),0,+e.length)}),c=(0,S.computed)(function(){return j(Number(e.length),1)}),d=(0,S.computed)(function(){return c.value.flatMap(function(t){return e.halfIncrements?[t-.5,t]:[t]})}),f=(0,k.shallowRef)(-1),h=(0,S.computed)(function(){return d.value.map(function(t){var n,r=e.hover&&f.value>-1,i=s.value>=t,o=f.value>=t,a=(r?o:i)?e.fullIcon:e.emptyIcon,l=null!==(n=e.activeColor)&&void 0!==n?n:e.color,u=i||o?l:e.color;return{isFilled:i,isHovered:o,icon:a,color:u}})}),g=(0,S.computed)(function(){return[0].concat((0,V._)(d.value)).map(function(t){return{onMouseenter:e.hover?function(){f.value=t}:void 0,onMouseleave:e.hover?function(){f.value=-1}:void 0,onClick:function(){e.disabled||e.readonly||(u.value=s.value===t&&e.clearable?0:t)}}})}),m=(0,S.computed)(function(){return null!==(n=e.name)&&void 0!==n?n:"v-rating-".concat(eC())});return t5(function(){var t,n=!!(null===(t=e.itemLabels)||void 0===t?void 0:t.length)||o["item-label"];return(0,S.createVNode)(e.tag,{class:["v-rating",{"v-rating--hover":e.hover,"v-rating--readonly":e.readonly},l.value,e.class],style:e.style},{default:function(){return[(0,S.createVNode)(r,{value:0,index:-1,showStar:!1},null),c.value.map(function(t,o){var a,l;return(0,S.createVNode)("div",{class:"v-rating__wrapper"},[n&&"top"===e.itemLabelPosition?i({value:t,index:o,label:null===(a=e.itemLabels)||void 0===a?void 0:a[o]}):void 0,(0,S.createVNode)("div",{class:"v-rating__item"},[e.halfIncrements?(0,S.createVNode)(S.Fragment,null,[(0,S.createVNode)(r,{value:t-.5,index:2*o},null),(0,S.createVNode)(r,{value:t,index:2*o+1},null)]):(0,S.createVNode)(r,{value:t,index:o},null)]),n&&"bottom"===e.itemLabelPosition?i({value:t,index:o,label:null===(l=e.itemLabels)||void 0===l?void 0:l[o]}):void 0])})]}})}),{}}}),sk={};t(sk,"VResponsive",function(){return nB});var sS={};t(sS,"VSelect",function(){return aa});var sC={};t(sC,"VSelectionControl",function(){return im});var sE={};t(sE,"VSelectionControlGroup",function(){return ip});var sV={};t(sV,"VSheet",function(){return lE});var sN={};t(sN,"VSlideGroup",function(){return sO}),t(sN,"VSlideGroupItem",function(){return sI});var tG=f("h8xva"),p=f("a42Vg");f("7DTtY");var k=f("bNhjt"),S=f("5BxzC");function sT(e){var t=Math.abs(e);return Math.sign(e)*(t/((1.996007984031936-2)*(1-t)+1))}function sA(e){var t=e.selectedElement,n=e.containerSize,r=e.contentSize,i=e.isRtl,o=e.currentScrollOffset,a=e.isHorizontal,l=a?t.clientWidth:t.clientHeight,u=a?t.offsetLeft:t.offsetTop,s=i&&a?r-u-l:u,c=n+o,d=l+s,f=.4*l;return s<=o?o=Math.max(s-f,0):c<=d&&(o=Math.min(o-(c-d-f),r-n)),o}var sD=Symbol.for("vuetify:v-slide-group"),sR=eU((0,p._)({centerActive:Boolean,direction:{type:String,default:"horizontal"},symbol:{type:null,default:sD},nextIcon:{type:eH,default:"$next"},prevIcon:{type:eH,default:"$prev"},showArrows:{type:[Boolean,String],validator:function(e){return"boolean"==typeof e||["always","desktop","mobile"].includes(e)}}},tX(),t7(),rr({selectedClass:"v-slide-group-item--active"})),"VSlideGroup"),sO=eY()((0,tG._)({name:"VSlideGroup",props:sR(),emits:{"update:modelValue":function(e){return!0}}},"setup",function(e,t){var n,r,i=function(e){var t=x.value?"clientX":"clientY";M=(p.value&&x.value?-1:1)*_.value,P=e.touches[0][t],B.value=!0},o=function(e){if(y.value){var t=x.value?"clientX":"clientY",n=p.value&&x.value?-1:1;_.value=n*(M+P-e.touches[0][t])}},a=function(e){var t=w.value-b.value;_.value<0||!y.value?_.value=0:_.value>=t&&(_.value=t),B.value=!1},l=function(){E.value&&(E.value[x.value?"scrollLeft":"scrollTop"]=0)},u=function(e){if(L.value=!0,y.value&&A.value){var t=!0,n=!1,r=void 0;try{// Focused element is likely to be the root of an item, so a
+f("7DTtY");var k=f("bNhjt"),S=f("5BxzC"),si=eU((0,p._)({activeColor:String,start:{type:[Number,String],default:1},modelValue:{type:Number,default:function(e){return e.start}},disabled:Boolean,length:{type:[Number,String],default:1,validator:function(e){return e%1==0}},totalVisible:[Number,String],firstIcon:{type:eH,default:"$first"},prevIcon:{type:eH,default:"$prev"},nextIcon:{type:eH,default:"$next"},lastIcon:{type:eH,default:"$last"},ariaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.root"},pageAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.page"},currentPageAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.currentPage"},firstAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.first"},previousAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.previous"},nextAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.next"},lastAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.last"},ellipsis:{type:String,default:"..."},showFirstLastPage:Boolean},nz(),tX(),n5(),nK(),nG(),rf(),t7({tag:"nav"}),tT(),n9({variant:"text"})),"VPagination"),so=eY()({name:"VPagination",props:si(),emits:{"update:modelValue":function(e){return!0},first:function(e){return!0},prev:function(e){return!0},next:function(e){return!0},last:function(e){return!0}},setup:function(e,t){var n,r=function(t,n){return Math.max(0,Math.floor(+((t-n*(e.showFirstLastPage?5:3))/n).toFixed(2)))},i=function(e,t,n){e.preventDefault(),s.value=t,n&&u(n,t)},o=function(){var e,t=s.value-b.value;null===(e=E.value[t])||void 0===e||e.$el.focus()},a=function(t){t.key===H.left&&!e.disabled&&s.value>+e.start?(s.value=s.value-1,(0,S.nextTick)(o)):t.key===H.right&&!e.disabled&&s.value *");if(o){var a=i.width,l=o.offsetWidth+2*parseFloat(getComputedStyle(o).marginRight);m.value=r(a,l)}}}).resizeRef,_=(0,S.computed)(function(){return parseInt(e.length,10)}),b=(0,S.computed)(function(){return parseInt(e.start,10)}),w=(0,S.computed)(function(){return e.totalVisible?parseInt(e.totalVisible,10):m.value>=0?m.value:r(g.value,58)}),x=(0,S.computed)(function(){if(_.value<=0||isNaN(_.value)||_.value>Number.MAX_SAFE_INTEGER)return[];if(w.value<=1)return[s.value];if(_.value<=w.value)return j(_.value,b.value);var t=w.value%2==0,n=t?w.value/2:Math.floor(w.value/2),r=_.value-n;if((t?n:n+1)-s.value>=0)return(0,V._)(j(Math.max(1,w.value-1),b.value)).concat([e.ellipsis,_.value]);if(s.value-r>=(t?1:0)){var i=w.value-1,o=_.value-i+b.value;return[b.value,e.ellipsis].concat((0,V._)(j(i,o)))}var a=Math.max(1,w.value-3),l=1===a?s.value:s.value-Math.ceil(a/2)+b.value;return[b.value,e.ellipsis].concat((0,V._)(j(a,l)),[e.ellipsis,_.value])}),C=(n=(0,k.ref)([]),(0,S.onBeforeUpdate)(function(){return n.value=[]}),{refs:n,updateRef:function(e,t){n.value[t]=e}}),E=C.refs,N=C.updateRef;eN({VPaginationBtn:{color:(0,k.toRef)(e,"color"),border:(0,k.toRef)(e,"border"),density:(0,k.toRef)(e,"density"),size:(0,k.toRef)(e,"size"),variant:(0,k.toRef)(e,"variant"),rounded:(0,k.toRef)(e,"rounded"),elevation:(0,k.toRef)(e,"elevation")}});var T=(0,S.computed)(function(){return x.value.map(function(t,n){var r=function(e){return N(e,n)};if("string"==typeof t)return{isActive:!1,key:"ellipsis-".concat(n),page:t,props:{ref:r,ellipsis:!0,icon:!0,disabled:!0}};var o=t===s.value;return{isActive:o,key:t,page:f(t),props:{ref:r,ellipsis:!1,icon:!0,disabled:!!e.disabled||2>+e.length,color:o?e.activeColor:e.color,ariaCurrent:o,ariaLabel:d(o?e.currentPageAriaLabel:e.pageAriaLabel,t),onClick:function(e){return i(e,t)}}}})}),A=(0,S.computed)(function(){var t=!!e.disabled||s.value<=b.value,n=!!e.disabled||s.value>=b.value+_.value-1;return{first:e.showFirstLastPage?{icon:h.value?e.lastIcon:e.firstIcon,onClick:function(e){return i(e,b.value,"first")},disabled:t,ariaLabel:d(e.firstAriaLabel),ariaDisabled:t}:void 0,prev:{icon:h.value?e.nextIcon:e.prevIcon,onClick:function(e){return i(e,s.value-1,"prev")},disabled:t,ariaLabel:d(e.previousAriaLabel),ariaDisabled:t},next:{icon:h.value?e.prevIcon:e.nextIcon,onClick:function(e){return i(e,s.value+1,"next")},disabled:n,ariaLabel:d(e.nextAriaLabel),ariaDisabled:n},last:e.showFirstLastPage?{icon:h.value?e.firstIcon:e.lastIcon,onClick:function(e){return i(e,b.value+_.value-1,"last")},disabled:n,ariaLabel:d(e.lastAriaLabel),ariaDisabled:n}:void 0}});return t4(function(){return(0,S.createVNode)(e.tag,{ref:y,class:["v-pagination",p.value,e.class],style:e.style,role:"navigation","aria-label":d(e.ariaLabel),onKeydown:a,"data-test":"v-pagination-root"},{default:function(){return[(0,S.createVNode)("ul",{class:"v-pagination__list"},[e.showFirstLastPage&&(0,S.createVNode)("li",{key:"first",class:"v-pagination__first","data-test":"v-pagination-first"},[l.first?l.first(A.value.first):(0,S.createVNode)(r8,(0,S.mergeProps)({_as:"VPaginationBtn"},A.value.first),null)]),(0,S.createVNode)("li",{key:"prev",class:"v-pagination__prev","data-test":"v-pagination-prev"},[l.prev?l.prev(A.value.prev):(0,S.createVNode)(r8,(0,S.mergeProps)({_as:"VPaginationBtn"},A.value.prev),null)]),T.value.map(function(e,t){return(0,S.createVNode)("li",{key:e.key,class:["v-pagination__item",{"v-pagination__item--is-active":e.isActive}],"data-test":"v-pagination-item"},[l.item?l.item(e):(0,S.createVNode)(r8,(0,S.mergeProps)({_as:"VPaginationBtn"},e.props),{default:function(){return[e.page]}})])}),(0,S.createVNode)("li",{key:"next",class:"v-pagination__next","data-test":"v-pagination-next"},[l.next?l.next(A.value.next):(0,S.createVNode)(r8,(0,S.mergeProps)({_as:"VPaginationBtn"},A.value.next),null)]),e.showFirstLastPage&&(0,S.createVNode)("li",{key:"last",class:"v-pagination__last","data-test":"v-pagination-last"},[l.last?l.last(A.value.last):(0,S.createVNode)(r8,(0,S.mergeProps)({_as:"VPaginationBtn"},A.value.last),null)])])]}})}),{}}}),sa={};t(sa,"VParallax",function(){return su});var p=f("a42Vg");f("7DTtY");var k=f("bNhjt"),S=f("5BxzC"),sl=eU((0,p._)({scale:{type:[Number,String],default:.5}},tX()),"VParallax"),su=eY()({name:"VParallax",props:sl(),setup:function(e,t){var n,r=function(){l.value&&(cancelAnimationFrame(p),p=requestAnimationFrame(function(){var e,t=null===(e=f.value)||void 0===e?void 0:e.$el.querySelector(".v-img__img");if(t){var r,i=n instanceof Document?document.documentElement.clientHeight:n.clientHeight,o=n instanceof Document?window.scrollY:n.scrollTop,l=a.value.getBoundingClientRect().top+o,u=c.value.height,s=Math.floor(Math.abs(r=(o-(l+(u-i)/2))*h.value))*Math.sign(r),d=Math.max(1,(h.value*(i-u)+u)/u);t.style.setProperty("transform","translateY(".concat(s,"px) scale(").concat(d,")"))}}))},i=t.slots,o=rg(),a=o.intersectionRef,l=o.isIntersecting,u=t$(),s=u.resizeRef,c=u.contentRect,d=eP().height,f=(0,k.ref)();(0,S.watchEffect)(function(){var e;a.value=s.value=null===(e=f.value)||void 0===e?void 0:e.$el}),(0,S.watch)(l,function(e){e?((n=(n=ot(a.value))===document.scrollingElement?document:n).addEventListener("scroll",r,{passive:!0}),r()):n.removeEventListener("scroll",r)}),(0,S.onBeforeUnmount)(function(){null==n||n.removeEventListener("scroll",r)}),(0,S.watch)(d,r),(0,S.watch)(function(){var e;return null===(e=c.value)||void 0===e?void 0:e.height},r);var h=(0,S.computed)(function(){return 1-ee(+e.scale)}),p=-1;return t4(function(){return(0,S.createVNode)(nU,{class:["v-parallax",{"v-parallax--active":l.value},e.class],style:e.style,ref:f,cover:!0,onLoadstart:r,onLoad:r},i)}),{}}}),ss={};t(ss,"VProgressCircular",function(){return ry});var sc={};t(sc,"VProgressLinear",function(){return rD});var sd={};t(sd,"VRadio",function(){return sh});var p=f("a42Vg");f("7DTtY");var S=f("5BxzC"),sf=eU((0,p._)({},ig({falseIcon:"$radioOff",trueIcon:"$radioOn"})),"VRadio"),sh=eY()({name:"VRadio",props:sf(),setup:function(e,t){var n=t.slots;return t4(function(){return(0,S.createVNode)(im,(0,S.mergeProps)(e,{class:["v-radio",e.class],style:e.style,type:"radio"}),n)}),{}}}),sv={};t(sv,"VRadioGroup",function(){return sg});var p=f("a42Vg"),b=f("9zFRg"),x=f("6wEIk");f("7DTtY");var S=f("5BxzC"),sp=eU((0,b._)((0,p._)({height:{type:[Number,String],default:"auto"}},o3(),X(ih(),["multiple"])),{trueIcon:{type:eH,default:"$radioOn"},falseIcon:{type:eH,default:"$radioOff"},type:{type:String,default:"radio"}}),"VRadioGroup"),sg=eY()({name:"VRadioGroup",inheritAttrs:!1,props:sp(),emits:{"update:modelValue":function(e){return!0}},setup:function(e,t){var n=t.attrs,r=t.slots,i=eC(),o=(0,S.computed)(function(){return e.id||"radio-group-".concat(i)}),a=e1(e,"modelValue");return t4(function(){var t=(0,x._)(Z(n),2),i=t[0],l=t[1],u=(0,x._)(o4.filterProps(e),2),s=u[0];u[1];var c=(0,x._)(im.filterProps(e),2),d=c[0];c[1];var f=r.label?r.label({label:e.label,props:{for:o.value}}):e.label;return(0,S.createVNode)(o4,(0,S.mergeProps)({class:["v-radio-group",e.class],style:e.style},i,s,{modelValue:a.value,"onUpdate:modelValue":function(e){return a.value=e},id:o.value}),(0,b._)((0,p._)({},r),{default:function(t){var n=t.id,i=t.messagesId,o=t.isDisabled,u=t.isReadonly;return(0,S.createVNode)(S.Fragment,null,[f&&(0,S.createVNode)(ic,{id:n.value},{default:function(){return[f]}}),(0,S.createVNode)(ip,(0,S.mergeProps)(d,{id:n.value,"aria-describedby":i.value,defaultsTarget:"VRadio",trueIcon:e.trueIcon,falseIcon:e.falseIcon,type:e.type,disabled:o.value,readonly:u.value,"aria-labelledby":f?n.value:void 0,multiple:!1},l,{modelValue:a.value,"onUpdate:modelValue":function(e){return a.value=e}}),r)])}}))}),{}}}),sm={};t(sm,"VRangeSlider",function(){return s_});var p=f("a42Vg"),b=f("9zFRg"),x=f("6wEIk");f("7DTtY");var k=f("bNhjt"),S=f("5BxzC"),sy=eU((0,b._)((0,p._)({},oH(),o3(),lh()),{strict:Boolean,modelValue:{type:Array,default:function(){return[0,0]}}}),"VRangeSlider"),s_=eY()({name:"VRangeSlider",props:sy(),emits:{"update:focused":function(e){return!0},"update:modelValue":function(e){return!0},end:function(e){return!0},start:function(e){return!0}},setup:function(e,t){var n=t.slots,r=t.emit,i=(0,k.ref)(),o=(0,k.ref)(),a=(0,k.ref)(),l=te().rtlClasses,u=lv(e),s=e1(e,"modelValue",void 0,function(e){return(null==e?void 0:e.length)?e.map(function(e){return u.roundValue(e)}):[0,0]}),c=lp({props:e,steps:u,onSliderStart:function(){r("start",s.value)},onSliderEnd:function(t){var n,o=t.value,a=d.value===(null===(n=i.value)||void 0===n?void 0:n.$el)?[o,s.value[1]]:[s.value[0],o];!e.strict&&a[0]f?null===(r=o.value)||void 0===r?void 0:r.$el:null===(a=i.value)||void 0===a?void 0:a.$el,null===(l=d.value)||void 0===l||l.focus()),d.value===(null===(n=i.value)||void 0===n?void 0:n.$el)?s.value=[Math.min(u,h),h]:s.value=[f,Math.max(f,u)]},getActiveThumb:function(t){if(i.value&&o.value){var n=lf(t,i.value.$el,e.direction),r=lf(t,o.value.$el,e.direction),a=Math.abs(n),l=Math.abs(r);return a0,"v-rating__item--full":e.halfIncrements&&i%1==0},onMouseenter:f,onMouseleave:y,onClick:_},[(0,S.createVNode)("span",{class:"v-rating__hidden"},[a(e.itemAriaLabel,i,e.length)]),c?o.item?o.item((0,b._)((0,p._)({},h.value[l]),{props:x,value:i,index:l,rating:s.value})):(0,S.createVNode)(r8,(0,S.mergeProps)({"aria-label":a(e.itemAriaLabel,i,e.length)},x),null):void 0]),(0,S.createVNode)("input",{class:"v-rating__hidden",name:m.value,id:w,type:"radio",value:i,checked:s.value===i,tabindex:-1,readonly:e.readonly,disabled:e.disabled},null)])},i=function(e){return o["item-label"]?o["item-label"](e):e.label?(0,S.createVNode)("span",null,[e.label]):(0,S.createVNode)("span",null,[(0,S.createTextVNode)("\xa0")])},o=t.slots,a=e9().t,l=tD(e).themeClasses,u=e1(e,"modelValue"),s=(0,S.computed)(function(){return ee(parseFloat(u.value),0,+e.length)}),c=(0,S.computed)(function(){return j(Number(e.length),1)}),d=(0,S.computed)(function(){return c.value.flatMap(function(t){return e.halfIncrements?[t-.5,t]:[t]})}),f=(0,k.shallowRef)(-1),h=(0,S.computed)(function(){return d.value.map(function(t){var n,r=e.hover&&f.value>-1,i=s.value>=t,o=f.value>=t,a=(r?o:i)?e.fullIcon:e.emptyIcon,l=null!==(n=e.activeColor)&&void 0!==n?n:e.color,u=i||o?l:e.color;return{isFilled:i,isHovered:o,icon:a,color:u}})}),g=(0,S.computed)(function(){return[0].concat((0,V._)(d.value)).map(function(t){return{onMouseenter:e.hover?function(){f.value=t}:void 0,onMouseleave:e.hover?function(){f.value=-1}:void 0,onClick:function(){e.disabled||e.readonly||(u.value=s.value===t&&e.clearable?0:t)}}})}),m=(0,S.computed)(function(){return null!==(n=e.name)&&void 0!==n?n:"v-rating-".concat(eC())});return t4(function(){var t,n=!!(null===(t=e.itemLabels)||void 0===t?void 0:t.length)||o["item-label"];return(0,S.createVNode)(e.tag,{class:["v-rating",{"v-rating--hover":e.hover,"v-rating--readonly":e.readonly},l.value,e.class],style:e.style},{default:function(){return[(0,S.createVNode)(r,{value:0,index:-1,showStar:!1},null),c.value.map(function(t,o){var a,l;return(0,S.createVNode)("div",{class:"v-rating__wrapper"},[n&&"top"===e.itemLabelPosition?i({value:t,index:o,label:null===(a=e.itemLabels)||void 0===a?void 0:a[o]}):void 0,(0,S.createVNode)("div",{class:"v-rating__item"},[e.halfIncrements?(0,S.createVNode)(S.Fragment,null,[(0,S.createVNode)(r,{value:t-.5,index:2*o},null),(0,S.createVNode)(r,{value:t,index:2*o+1},null)]):(0,S.createVNode)(r,{value:t,index:o},null)]),n&&"bottom"===e.itemLabelPosition?i({value:t,index:o,label:null===(l=e.itemLabels)||void 0===l?void 0:l[o]}):void 0])})]}})}),{}}}),sk={};t(sk,"VResponsive",function(){return nB});var sS={};t(sS,"VSelect",function(){return aa});var sC={};t(sC,"VSelectionControl",function(){return im});var sE={};t(sE,"VSelectionControlGroup",function(){return ip});var sV={};t(sV,"VSheet",function(){return lE});var sN={};t(sN,"VSlideGroup",function(){return sO}),t(sN,"VSlideGroupItem",function(){return sI});var tG=f("h8xva"),p=f("a42Vg");f("7DTtY");var k=f("bNhjt"),S=f("5BxzC");function sT(e){var t=Math.abs(e);return Math.sign(e)*(t/((1.996007984031936-2)*(1-t)+1))}function sA(e){var t=e.selectedElement,n=e.containerSize,r=e.contentSize,i=e.isRtl,o=e.currentScrollOffset,a=e.isHorizontal,l=a?t.clientWidth:t.clientHeight,u=a?t.offsetLeft:t.offsetTop,s=i&&a?r-u-l:u,c=n+o,d=l+s,f=.4*l;return s<=o?o=Math.max(s-f,0):c<=d&&(o=Math.min(o-(c-d-f),r-n)),o}var sD=Symbol.for("vuetify:v-slide-group"),sR=eU((0,p._)({centerActive:Boolean,direction:{type:String,default:"horizontal"},symbol:{type:null,default:sD},nextIcon:{type:eH,default:"$next"},prevIcon:{type:eH,default:"$prev"},showArrows:{type:[Boolean,String],validator:function(e){return"boolean"==typeof e||["always","desktop","mobile"].includes(e)}}},tX(),t7(),rr({selectedClass:"v-slide-group-item--active"})),"VSlideGroup"),sO=eY()((0,tG._)({name:"VSlideGroup",props:sR(),emits:{"update:modelValue":function(e){return!0}}},"setup",function(e,t){var n,r,i=function(e){var t=x.value?"clientX":"clientY";M=(p.value&&x.value?-1:1)*_.value,P=e.touches[0][t],B.value=!0},o=function(e){if(y.value){var t=x.value?"clientX":"clientY",n=p.value&&x.value?-1:1;_.value=n*(M+P-e.touches[0][t])}},a=function(e){var t=w.value-b.value;_.value<0||!y.value?_.value=0:_.value>=t&&(_.value=t),B.value=!1},l=function(){E.value&&(E.value[x.value?"scrollLeft":"scrollTop"]=0)},u=function(e){if(L.value=!0,y.value&&A.value){var t=!0,n=!1,r=void 0;try{// Focused element is likely to be the root of an item, so a
// breadth-first search will probably find it in the first iteration
for(var i,o=e.composedPath()[Symbol.iterator]();!(t=(i=o.next()).done);t=!0){var a=i.value,l=!0,u=!1,s=void 0;try{for(var c,d=A.value.children[Symbol.iterator]();!(l=(c=d.next()).done);l=!0){var f=c.value;if(f===a){_.value=sA({selectedElement:f,containerSize:b.value,contentSize:w.value,isRtl:p.value,currentScrollOffset:_.value,isHorizontal:x.value});return}}}catch(e){u=!0,s=e}finally{try{l||null==d.return||d.return()}finally{if(u)throw s}}}}catch(e){n=!0,r=e}finally{try{t||null==o.return||o.return()}finally{if(n)throw r}}}},s=function(e){L.value=!1},c=function(e){var t;L.value||e.relatedTarget&&(null===(t=A.value)||void 0===t?void 0:t.contains(e.relatedTarget))||j()},d=function(e){A.value&&(x.value?"ArrowRight"===e.key?j(p.value?"prev":"next"):"ArrowLeft"===e.key&&j(p.value?"next":"prev"):"ArrowDown"===e.key?j("next"):"ArrowUp"===e.key&&j("prev"),"Home"===e.key?j("first"):"End"===e.key&&j("last"))},f=function(e){var t=_.value+("prev"===e?-1:1)*b.value;_.value=ee(t,0,w.value-b.value)},h=t.slots,p=te().isRtl,g=eP().mobile,m=ra(e,e.symbol),y=(0,k.shallowRef)(!1),_=(0,k.shallowRef)(0),b=(0,k.shallowRef)(0),w=(0,k.shallowRef)(0),x=(0,S.computed)(function(){return"horizontal"===e.direction}),C=t$(),E=C.resizeRef,V=C.contentRect,N=t$(),A=N.resizeRef,D=N.contentRect,R=(0,S.computed)(function(){return m.selected.value.length?m.items.value.findIndex(function(e){return e.id===m.selected.value[0]}):-1}),O=(0,S.computed)(function(){return m.selected.value.length?m.items.value.findIndex(function(e){return e.id===m.selected.value[m.selected.value.length-1]}):-1});if(T){var I=-1;(0,S.watch)(function(){return[m.selected.value,V.value,D.value,x.value]},function(){cancelAnimationFrame(I),I=requestAnimationFrame(function(){if(V.value&&D.value){var t=x.value?"width":"height";b.value=V.value[t],w.value=D.value[t],y.value=b.value+1=0&&A.value){// TODO: Is this too naive? Should we store element references in group composable?
var n,r,i,o,a,l,u,s,c=A.value.children[O.value];0!==R.value&&y.value?e.centerActive?_.value=(r=(n={selectedElement:c,containerSize:b.value,contentSize:w.value,isRtl:p.value,isHorizontal:x.value}).selectedElement,i=n.containerSize,o=n.contentSize,a=n.isRtl,u=(l=n.isHorizontal)?r.clientWidth:r.clientHeight,s=l?r.offsetLeft:r.offsetTop,Math.min(o-i,Math.max(0,a&&l?o-s-u/2-i/2:s+u/2-i/2))):y.value&&(_.value=sA({selectedElement:c,containerSize:b.value,contentSize:w.value,isRtl:p.value,currentScrollOffset:_.value,isHorizontal:x.value})):_.value=0}})})}var B=(0,k.shallowRef)(!1),P=0,M=0,L=(0,k.shallowRef)(!1);function j(e){var t,n;if(A.value){if(e){if("next"===e){var r,i,o=null===(i=A.value.querySelector(":focus"))||void 0===i?void 0:i.nextElementSibling;o?o.focus():j("first")}else if("prev"===e){var a,l=null===(a=A.value.querySelector(":focus"))||void 0===a?void 0:a.previousElementSibling;l?l.focus():j("last")}else"first"===e?null===(t=A.value.firstElementChild)||void 0===t||t.focus():"last"===e&&(null===(n=A.value.lastElementChild)||void 0===n||n.focus())}else null===(r=eg(A.value)[0])||void 0===r||r.focus()}}var F=(0,S.computed)(function(){// This adds friction when scrolling the 'wrong' way when at max offset
@@ -6917,8 +6917,8 @@ case"mobile":return g.value||y.value||Math.abs(_.value)>0;// https://material.io
// Always show arrows when
// overflowed on desktop
default:return!g.value&&(y.value||Math.abs(_.value)>0)}}),Y=(0,S.computed)(function(){return Math.abs(_.value)>0}),H=(0,S.computed)(function(){// Check one scroll ahead to know the width of right-most item
-return w.value>Math.abs(_.value)+b.value});return t5(function(){return(0,S.createVNode)(e.tag,{class:["v-slide-group",{"v-slide-group--vertical":!x.value,"v-slide-group--has-affixes":z.value,"v-slide-group--is-overflowing":y.value},e.class],style:e.style,tabindex:L.value||m.selected.value.length?-1:0,onFocus:c},{default:function(){var t,c,g;return[z.value&&(0,S.createVNode)("div",{key:"prev",class:["v-slide-group__prev",{"v-slide-group__prev--disabled":!Y.value}],onClick:function(){return f("prev")}},[null!==(n=null===(t=h.prev)||void 0===t?void 0:t.call(h,U.value))&&void 0!==n?n:(0,S.createVNode)(ny,null,{default:function(){return[(0,S.createVNode)(rp,{icon:p.value?e.nextIcon:e.prevIcon},null)]}})]),(0,S.createVNode)("div",{key:"container",ref:E,class:"v-slide-group__container",onScroll:l},[(0,S.createVNode)("div",{ref:A,class:"v-slide-group__content",style:F.value,onTouchstartPassive:i,onTouchmovePassive:o,onTouchendPassive:a,onFocusin:u,onFocusout:s,onKeydown:d},[null===(c=h.default)||void 0===c?void 0:c.call(h,U.value)])]),z.value&&(0,S.createVNode)("div",{key:"next",class:["v-slide-group__next",{"v-slide-group__next--disabled":!H.value}],onClick:function(){return f("next")}},[null!==(r=null===(g=h.next)||void 0===g?void 0:g.call(h,U.value))&&void 0!==r?r:(0,S.createVNode)(ny,null,{default:function(){return[(0,S.createVNode)(rp,{icon:p.value?e.prevIcon:e.nextIcon},null)]}})])]}})}),{selected:m.selected,scrollTo:f,scrollOffset:_,focus:j}})),sI=eY()({name:"VSlideGroupItem",props:ri(),emits:{"group:selected":function(e){return!0}},setup:function(e,t){var n=t.slots,r=ro(e,sD);return function(){var e;return null===(e=n.default)||void 0===e?void 0:e.call(n,{isSelected:r.isSelected.value,select:r.select,toggle:r.toggle,selectedClass:r.selectedClass.value})}}}),sB={};t(sB,"VSlider",function(){return lw});var sP={};t(sP,"VSnackbar",function(){return sL});var p=f("a42Vg"),x=f("6wEIk");f("7DTtY");var k=f("bNhjt"),S=f("5BxzC"),sM=eU((0,p._)({multiLine:Boolean,timeout:{type:[Number,String],default:5e3},vertical:Boolean},rN({location:"bottom"}),rP(),nG(),n9(),tT(),X(oD({transition:"v-snackbar-transition"}),["persistent","noClickAnimation","scrim","scrollStrategy"])),"VSnackbar"),sL=eY()({name:"VSnackbar",props:sM(),emits:{"update:modelValue":function(e){return!0}},setup:function(e,t){var n=function(){window.clearTimeout(m);var t=Number(e.timeout);o.value&&-1!==t&&(m=window.setTimeout(function(){o.value=!1},t))},r=function(){window.clearTimeout(m)},i=t.slots,o=e1(e,"modelValue"),a=rT(e).locationStyles,l=rM(e).positionClasses,u=ox().scopeId,s=tD(e).themeClasses,c=re(e),d=c.colorClasses,f=c.colorStyles,h=c.variantClasses,p=n$(e).roundedClasses,g=(0,k.ref)();(0,S.watch)(o,n),(0,S.watch)(function(){return e.timeout},n),(0,S.onMounted)(function(){o.value&&n()});var m=-1;return t5(function(){var t=(0,x._)(oR.filterProps(e),1)[0];return(0,S.createVNode)(oR,(0,S.mergeProps)({ref:g,class:["v-snackbar",{"v-snackbar--active":o.value,"v-snackbar--multi-line":e.multiLine&&!e.vertical,"v-snackbar--vertical":e.vertical},l.value,e.class],style:e.style},t,{modelValue:o.value,"onUpdate:modelValue":function(e){return o.value=e},contentProps:(0,S.mergeProps)({class:["v-snackbar__wrapper",s.value,d.value,p.value,h.value],style:[a.value,f.value],onPointerenter:r,onPointerleave:n},t.contentProps),persistent:!0,noClickAnimation:!0,scrim:!1,scrollStrategy:"none",_disableGlobalStack:!0},u),{default:function(){return[n7(!1,"v-snackbar"),i.default&&(0,S.createVNode)("div",{class:"v-snackbar__content",role:"status","aria-live":"polite"},[i.default()]),i.actions&&(0,S.createVNode)(nD,{defaults:{VBtn:{variant:"text",ripple:!1}}},{default:function(){return[(0,S.createVNode)("div",{class:"v-snackbar__actions"},[i.actions()])]}})]},activator:i.activator})}),oP({},g)}}),sj={};t(sj,"VSwitch",function(){return sU});var p=f("a42Vg"),b=f("9zFRg"),x=f("6wEIk"),V=f("2Yjkq");f("7DTtY");var k=f("bNhjt"),S=f("5BxzC"),sF=eU((0,p._)({indeterminate:Boolean,inset:Boolean,flat:Boolean,loading:{type:[Boolean,String],default:!1}},o3(),ig()),"VSwitch"),sU=eY()({name:"VSwitch",inheritAttrs:!1,props:sF(),emits:{"update:focused":function(e){return!0},"update:modelValue":function(){return!0},"update:indeterminate":function(e){return!0}},setup:function(e,t){var n=function(){a.value&&(a.value=!1)},r=function(e){var t,n;e.stopPropagation(),e.preventDefault(),null===(t=h.value)||void 0===t||null===(n=t.input)||void 0===n||n.click()},i=t.attrs,o=t.slots,a=e1(e,"indeterminate"),l=e1(e,"modelValue"),u=rO(e).loaderClasses,s=oq(e),c=s.isFocused,d=s.focus,f=s.blur,h=(0,k.ref)(),g=(0,S.computed)(function(){return"string"==typeof e.loading&&""!==e.loading?e.loading:e.color}),m=eC(),y=(0,S.computed)(function(){return e.id||"switch-".concat(m)});return t5(function(){var t=(0,x._)(Z(i),2),s=t[0],m=t[1],_=(0,x._)(o5.filterProps(e),2),w=_[0];_[1];var k=(0,x._)(im.filterProps(e),2),C=k[0];return k[1],(0,S.createVNode)(o5,(0,S.mergeProps)({class:["v-switch",{"v-switch--inset":e.inset},{"v-switch--indeterminate":a.value},u.value,e.class],style:e.style},s,w,{id:y.value,focused:c.value}),(0,b._)((0,p._)({},o),{default:function(t){var i=t.id,u=t.messagesId,s=t.isDisabled,c=t.isReadonly,y=t.isValid;return(0,S.createVNode)(im,(0,S.mergeProps)({ref:h},C,{modelValue:l.value,"onUpdate:modelValue":[function(e){return l.value=e},n],id:i.value,"aria-describedby":u.value,type:"checkbox","aria-checked":a.value?"mixed":void 0,disabled:s.value,readonly:c.value,onFocus:d,onBlur:f},m),(0,b._)((0,p._)({},o),{default:function(e){var t=e.backgroundColorClasses,n=e.backgroundColorStyles;return(0,S.createVNode)("div",{class:["v-switch__track"].concat((0,V._)(t.value)),style:n.value,onClick:r},null)},input:function(t){var n=t.inputNode,r=t.icon,i=t.backgroundColorClasses,a=t.backgroundColorStyles;return(0,S.createVNode)(S.Fragment,null,[n,(0,S.createVNode)("div",{class:["v-switch__thumb",{"v-switch__thumb--filled":r||e.loading},e.inset?void 0:i.value],style:e.inset?void 0:a.value},[(0,S.createVNode)(n_,null,{default:function(){return[e.loading?(0,S.createVNode)(rI,{name:"v-switch",active:!0,color:!1===y.value?void 0:g.value},{default:function(e){return o.loader?o.loader(e):(0,S.createVNode)(ry,{active:e.isActive,color:e.color,indeterminate:!0,size:"16",width:"2"},null)}}):r&&(0,S.createVNode)(rp,{key:r,icon:r,size:"x-small"},null)]}})])])}}))}}))}),{}}}),sz={};t(sz,"VSystemBar",function(){return sH});var p=f("a42Vg");f("7DTtY");var k=f("bNhjt"),S=f("5BxzC"),sY=eU((0,p._)({color:String,height:[Number,String],window:Boolean},tX(),nK(),t0(),nG(),t7(),tT()),"VSystemBar"),sH=eY()({name:"VSystemBar",props:sY(),setup:function(e,t){var n,r=t.slots,i=tD(e).themeClasses,o=nW((0,k.toRef)(e,"color")),a=o.backgroundColorClasses,l=o.backgroundColorStyles,u=nX(e).elevationClasses,s=n$(e).roundedClasses,c=n1().ssrBootStyles,d=(0,S.computed)(function(){return null!==(n=e.height)&&void 0!==n?n:e.window?32:24}),f=t1({id:e.name,order:(0,S.computed)(function(){return parseInt(e.order,10)}),position:(0,k.shallowRef)("top"),layoutSize:d,elementSize:d,active:(0,S.computed)(function(){return!0}),absolute:(0,k.toRef)(e,"absolute")}).layoutItemStyles;return t5(function(){return(0,S.createVNode)(e.tag,{class:["v-system-bar",{"v-system-bar--window":e.window},i.value,a.value,u.value,s.value,e.class],style:[l.value,f.value,c.value,e.style]},r)}),{}}}),sq={};t(sq,"VTabs",function(){return s$}),t(sq,"VTab",function(){return sX});var p=f("a42Vg"),x=f("6wEIk");f("7DTtY");var S=f("5BxzC"),k=f("bNhjt"),p=f("a42Vg"),x=f("6wEIk");f("7DTtY");var S=f("5BxzC"),k=f("bNhjt"),sW=Symbol.for("vuetify:v-tabs"),sK=eU((0,p._)({fixed:Boolean,sliderColor:String,hideSlider:Boolean,direction:{type:String,default:"horizontal"}},X(r6({selectedClass:"v-tab--selected",variant:"text"}),["active","block","flat","location","position","symbol"])),"VTab"),sX=eY()({name:"VTab",props:sK(),setup:function(e,t){var n=function(e){var t=e.value;if(s.value=t,t){var n,r,i=null===(n=null===(r=c.value)||void 0===r?void 0:r.$el.parentElement)||void 0===n?void 0:n.querySelector(".v-tab--selected .v-tab__slider"),o=d.value;if(!i||!o)return;var a=getComputedStyle(i).color,l=i.getBoundingClientRect(),f=o.getBoundingClientRect(),h=u.value?"x":"y",p=u.value?"X":"Y",g=u.value?"right":"bottom",m=u.value?"width":"height",y=l[h]>f[h]?l[g]-f[g]:l[h]-f[h],_=Math.sign(y)>0?u.value?"right":"bottom":0>Math.sign(y)?u.value?"left":"top":"center",b=(Math.abs(y)+(0>Math.sign(y)?l[m]:f[m]))/Math.max(l[m],f[m])||0,w=l[m]/f[m]||0;nc(o,{backgroundColor:[a,"currentcolor"],transform:["translate".concat(p,"(").concat(y,"px) scale").concat(p,"(").concat(w,")"),"translate".concat(p,"(").concat(y/1.5,"px) scale").concat(p,"(").concat((b-1)/1.5+1,")"),"none"],transformOrigin:[,,,].fill(_)},{duration:225,easing:na})}},r=t.slots,i=t.attrs,o=nq(e,"sliderColor"),a=o.textColorClasses,l=o.textColorStyles,u=(0,S.computed)(function(){return"horizontal"===e.direction}),s=(0,k.shallowRef)(!1),c=(0,k.ref)(),d=(0,k.ref)();return t5(function(){var t,o=(0,x._)(r8.filterProps(e),1)[0];return(0,S.createVNode)(r8,(0,S.mergeProps)({symbol:sW,ref:c,class:["v-tab",e.class],style:e.style,tabindex:s.value?0:-1,role:"tab","aria-selected":String(s.value),active:!1},o,i,{block:e.fixed,maxWidth:e.fixed?300:void 0,"onGroup:selected":n}),{default:function(){var n;return[null!==(t=null===(n=r.default)||void 0===n?void 0:n.call(r))&&void 0!==t?t:e.text,!e.hideSlider&&(0,S.createVNode)("div",{ref:d,class:["v-tab__slider",a.value],style:l.value},null)]}})}),{}}}),sG=eU((0,p._)({alignTabs:{type:String,default:"start"},color:String,fixedTabs:Boolean,items:{type:Array,default:function(){return[]}},stacked:Boolean,bgColor:String,grow:Boolean,height:{type:[Number,String],default:void 0},hideSlider:Boolean,sliderColor:String},sR({mandatory:"force"}),n4(),t7()),"VTabs"),s$=eY()({name:"VTabs",props:sG(),emits:{"update:modelValue":function(e){return!0}},setup:function(e,t){var n=t.slots,r=e1(e,"modelValue"),i=(0,S.computed)(function(){var t;return(t=e.items)?t.map(function(e){return"string"==typeof e?{title:e,value:e}:e}):[]}),o=n6(e).densityClasses,a=nW((0,k.toRef)(e,"bgColor")),l=a.backgroundColorClasses,u=a.backgroundColorStyles;return eN({VTab:{color:(0,k.toRef)(e,"color"),direction:(0,k.toRef)(e,"direction"),stacked:(0,k.toRef)(e,"stacked"),fixed:(0,k.toRef)(e,"fixedTabs"),sliderColor:(0,k.toRef)(e,"sliderColor"),hideSlider:(0,k.toRef)(e,"hideSlider")}}),t5(function(){var t=(0,x._)(sO.filterProps(e),1)[0];return(0,S.createVNode)(sO,(0,S.mergeProps)(t,{modelValue:r.value,"onUpdate:modelValue":function(e){return r.value=e},class:["v-tabs","v-tabs--".concat(e.direction),"v-tabs--align-tabs-".concat(e.alignTabs),{"v-tabs--fixed-tabs":e.fixedTabs,"v-tabs--grow":e.grow,"v-tabs--stacked":e.stacked},o.value,l.value,e.class],style:[{"--v-tabs-height":F(e.height)},u.value,e.style],role:"tablist",symbol:sW}),{default:function(){return[n.default?n.default():i.value.map(function(e){return(0,S.createVNode)(sX,(0,S.mergeProps)(e,{key:e.title}),null)})]}})}),{}}}),sJ={};t(sJ,"VTable",function(){return sQ});var p=f("a42Vg");f("7DTtY");var S=f("5BxzC"),sZ=eU((0,p._)({fixedHeader:Boolean,fixedFooter:Boolean,height:[Number,String],hover:Boolean},tX(),n4(),t7(),tT()),"VTable"),sQ=eY()({name:"VTable",props:sZ(),setup:function(e,t){var n=t.slots,r=tD(e).themeClasses,i=n6(e).densityClasses;return t5(function(){return(0,S.createVNode)(e.tag,{class:["v-table",{"v-table--fixed-height":!!e.height,"v-table--fixed-header":e.fixedHeader,"v-table--fixed-footer":e.fixedFooter,"v-table--has-top":!!n.top,"v-table--has-bottom":!!n.bottom,"v-table--hover":e.hover},r.value,i.value,e.class],style:e.style},{default:function(){var t,r,i;return[null===(t=n.top)||void 0===t?void 0:t.call(n),n.default?(0,S.createVNode)("div",{class:"v-table__wrapper",style:{height:F(e.height)}},[(0,S.createVNode)("table",null,[n.default()])]):null===(r=n.wrapper)||void 0===r?void 0:r.call(n),null===(i=n.bottom)||void 0===i?void 0:i.call(n)]}})}),{}}}),s0={};t(s0,"VTextarea",function(){return s2});var p=f("a42Vg"),b=f("9zFRg"),x=f("6wEIk");f("7DTtY");var S=f("5BxzC"),k=f("bNhjt"),m=f("jo4gN"),s1=eU((0,p._)({autoGrow:Boolean,autofocus:Boolean,counter:[Boolean,Number,String],counterValue:Function,prefix:String,placeholder:String,persistentPlaceholder:Boolean,persistentCounter:Boolean,noResize:Boolean,rows:{type:[Number,String],default:5,validator:function(e){return!isNaN(parseFloat(e))}},maxRows:{type:[Number,String],validator:function(e){return!isNaN(parseFloat(e))}},suffix:String,modelModifiers:Object},o3(),oK()),"VTextarea"),s2=eY()({name:"VTextarea",directives:{Intersect:nj},inheritAttrs:!1,props:s1(),emits:{"click:control":function(e){return!0},"mousedown:control":function(e){return!0},"update:focused":function(e){return!0},"update:modelValue":function(e){return!0}},setup:function(e,t){var n,r=function(t,n){var r,i;e.autofocus&&t&&(null===(r=n[0].target)||void 0===r||null===(i=r.focus)||void 0===i||i.call(r))},i=function(){var e;D.value!==document.activeElement&&(null===(e=D.value)||void 0===e||e.focus()),y.value||_()},o=function(e){i(),d("click:control",e)},a=function(e){d("mousedown:control",e)},l=function(t){t.stopPropagation(),i(),(0,S.nextTick)(function(){h.value="",ep(e["onClick:clear"],t)})},u=function(t){var n,r=t.target;if(h.value=r.value,null===(n=e.modelModifiers)||void 0===n?void 0:n.trim){var i=[r.selectionStart,r.selectionEnd];(0,S.nextTick)(function(){r.selectionStart=i[0],r.selectionEnd=i[1]})}},s=function(){e.autoGrow&&(0,S.nextTick)(function(){if(O.value&&T.value){var t=getComputedStyle(O.value),n=getComputedStyle(T.value.$el),r=parseFloat(t.getPropertyValue("--v-field-padding-top"))+parseFloat(t.getPropertyValue("--v-input-padding-top"))+parseFloat(t.getPropertyValue("--v-field-padding-bottom")),i=O.value.scrollHeight,o=parseFloat(t.lineHeight),a=ee(null!=i?i:0,Math.max(parseFloat(e.rows)*o+r,parseFloat(n.getPropertyValue("--v-input-control-height"))),parseFloat(e.maxRows)*o+r||1/0);I.value=Math.floor((a-r)/o),A.value=F(a)}})},c=t.attrs,d=t.emit,f=t.slots,h=e1(e,"modelValue"),g=oq(e),y=g.isFocused,_=g.focus,C=g.blur,E=(0,S.computed)(function(){return"function"==typeof e.counterValue?e.counterValue(h.value):(h.value||"").toString().length}),V=(0,S.computed)(function(){return c.maxlength?c.maxlength:e.counter&&("number"==typeof e.counter||"string"==typeof e.counter)?e.counter:void 0}),N=(0,k.ref)(),T=(0,k.ref)(),A=(0,k.shallowRef)(""),D=(0,k.ref)(),R=(0,S.computed)(function(){return e.persistentPlaceholder||y.value||e.active}),O=(0,k.ref)(),I=(0,k.ref)(+e.rows),B=(0,S.computed)(function(){return["plain","underlined"].includes(e.variant)});return(0,S.watchEffect)(function(){e.autoGrow||(I.value=+e.rows)}),(0,S.onMounted)(s),(0,S.watch)(h,s),(0,S.watch)(function(){return e.rows},s),(0,S.watch)(function(){return e.maxRows},s),(0,S.watch)(function(){return e.density},s),(0,S.watch)(O,function(e){e?(n=new ResizeObserver(s)).observe(O.value):null==n||n.disconnect()}),(0,S.onBeforeUnmount)(function(){null==n||n.disconnect()}),t5(function(){var t=!!(f.counter||e.counter||e.counterValue),n=!!(t||f.details),s=(0,x._)(Z(c),2),d=s[0],g=s[1],_=o5.filterProps(e),k=((0,x._)(_,1)[0].modelValue,w(_[0],["modelValue"])),P=(0,x._)(oG(e),1)[0];return(0,S.createVNode)(o5,(0,S.mergeProps)({ref:N,modelValue:h.value,"onUpdate:modelValue":function(e){return h.value=e},class:["v-textarea v-text-field",{"v-textarea--prefixed":e.prefix,"v-textarea--suffixed":e.suffix,"v-text-field--prefixed":e.prefix,"v-text-field--suffixed":e.suffix,"v-textarea--auto-grow":e.autoGrow,"v-textarea--no-resize":e.noResize||e.autoGrow,"v-text-field--plain-underlined":B.value},e.class],style:e.style},d,k,{centerAffix:1===I.value&&!B.value,focused:y.value}),(0,b._)((0,p._)({},f),{default:function(t){var n=t.isDisabled,s=t.isDirty,c=t.isReadonly,d=t.isValid;return(0,S.createVNode)(oX,(0,S.mergeProps)({ref:T,style:{"--v-textarea-control-height":A.value},onClick:o,onMousedown:a,"onClick:clear":l,"onClick:prependInner":e["onClick:prependInner"],"onClick:appendInner":e["onClick:appendInner"]},P,{active:R.value||s.value,centerAffix:1===I.value&&!B.value,dirty:s.value||e.dirty,disabled:n.value,focused:y.value,error:!1===d.value}),(0,b._)((0,p._)({},f),{default:function(t){var o=t.props.class,a=w(t.props,["class"]);return(0,S.createVNode)(S.Fragment,null,[e.prefix&&(0,S.createVNode)("span",{class:"v-text-field__prefix"},[e.prefix]),(0,S.withDirectives)((0,S.createVNode)("textarea",(0,S.mergeProps)({ref:D,class:o,value:h.value,onInput:u,autofocus:e.autofocus,readonly:c.value,disabled:n.value,placeholder:e.placeholder,rows:e.rows,name:e.name,onFocus:i,onBlur:C},a,g),null),[[(0,S.resolveDirective)("intersect"),{handler:r},null,{once:!0}]]),e.autoGrow&&(0,S.withDirectives)((0,S.createVNode)("textarea",{class:[o,"v-textarea__sizer"],id:"".concat(a.id,"-sizer"),"onUpdate:modelValue":function(e){return h.value=e},ref:O,readonly:!0,"aria-hidden":"true"},null),[[m.vModelText,h.value]]),e.suffix&&(0,S.createVNode)("span",{class:"v-text-field__suffix"},[e.suffix])])}}))},details:n?function(n){var r;return(0,S.createVNode)(S.Fragment,null,[null===(r=f.details)||void 0===r?void 0:r.call(f,n),t&&(0,S.createVNode)(S.Fragment,null,[(0,S.createVNode)("span",null,null),(0,S.createVNode)(oF,{active:e.persistentCounter||y.value,value:E.value,max:V.value},f.counter)])])}:void 0}))}),oP({},N,T,D)}}),s3={};t(s3,"VTextField",function(){return o8});var s5={};t(s5,"VThemeProvider",function(){return s6});var p=f("a42Vg");f("7DTtY");var S=f("5BxzC"),s4=eU((0,p._)({withBackground:Boolean},tX(),tT(),t7()),"VThemeProvider"),s6=eY()({name:"VThemeProvider",props:s4(),setup:function(e,t){var n=t.slots,r=tD(e).themeClasses;return function(){var t;return e.withBackground?(0,S.createVNode)(e.tag,{class:["v-theme-provider",r.value,e.class],style:e.style},{default:function(){var e;return[null===(e=n.default)||void 0===e?void 0:e.call(n)]}}):null===(t=n.default)||void 0===t?void 0:t.call(n)}}}),s8={};t(s8,"VTimeline",function(){return s9}),t(s8,"VTimelineItem",function(){return cr});var p=f("a42Vg");f("7DTtY");var k=f("bNhjt"),S=f("5BxzC"),s7=eU((0,p._)({align:{type:String,default:"center",validator:function(e){return["center","start"].includes(e)}},direction:{type:String,default:"vertical",validator:function(e){return["vertical","horizontal"].includes(e)}},justify:{type:String,default:"auto",validator:function(e){return["auto","center"].includes(e)}},side:{type:String,validator:function(e){return null==e||["start","end"].includes(e)}},lineInset:{type:[String,Number],default:0},lineThickness:{type:[String,Number],default:2},lineColor:String,truncateLine:{type:String,validator:function(e){return["start","end","both"].includes(e)}}},tX(),n4(),t7(),tT()),"VTimeline"),s9=eY()({name:"VTimeline",props:s7(),setup:function(e,t){var n=t.slots,r=tD(e).themeClasses,i=n6(e).densityClasses,o=te().rtlClasses;eN({VTimelineDivider:{lineColor:(0,k.toRef)(e,"lineColor")},VTimelineItem:{density:(0,k.toRef)(e,"density"),lineInset:(0,k.toRef)(e,"lineInset")}});var a=(0,S.computed)(function(){var t=e.side?e.side:"default"!==e.density?"end":null;return t&&"v-timeline--side-".concat(t)}),l=(0,S.computed)(function(){switch(e.truncateLine){case"both":return["v-timeline--truncate-line-start","v-timeline--truncate-line-end"];case"start":return"v-timeline--truncate-line-start";case"end":return"v-timeline--truncate-line-end";default:return null}});return t5(function(){return(0,S.createVNode)(e.tag,{class:["v-timeline","v-timeline--".concat(e.direction),"v-timeline--align-".concat(e.align),"v-timeline--justify-".concat(e.justify),l.value,{"v-timeline--inset-line":!!e.lineInset},r.value,i.value,a.value,o.value,e.class],style:[{"--v-timeline-line-thickness":F(e.lineThickness)},e.style]},n)}),{}}}),p=f("a42Vg");f("7DTtY");var k=f("bNhjt"),S=f("5BxzC"),p=f("a42Vg");f("7DTtY");var k=f("bNhjt"),S=f("5BxzC"),ce=eU((0,p._)({dotColor:String,fillDot:Boolean,hideDot:Boolean,icon:eH,iconColor:String,lineColor:String},tX(),nG(),rf(),nK()),"VTimelineDivider"),ct=eY()({name:"VTimelineDivider",props:ce(),setup:function(e,t){var n=t.slots,r=rh(e,"v-timeline-divider__dot"),i=r.sizeClasses,o=r.sizeStyles,a=nW((0,k.toRef)(e,"dotColor")),l=a.backgroundColorStyles,u=a.backgroundColorClasses,s=n$(e,"v-timeline-divider__dot").roundedClasses,c=nX(e).elevationClasses,d=nW((0,k.toRef)(e,"lineColor")),f=d.backgroundColorClasses,h=d.backgroundColorStyles;return t5(function(){return(0,S.createVNode)("div",{class:["v-timeline-divider",{"v-timeline-divider--fill-dot":e.fillDot},e.class],style:e.style},[(0,S.createVNode)("div",{class:["v-timeline-divider__before",f.value],style:h.value},null),!e.hideDot&&(0,S.createVNode)("div",{key:"dot",class:["v-timeline-divider__dot",c.value,s.value,i.value],style:o.value},[(0,S.createVNode)("div",{class:["v-timeline-divider__inner-dot",u.value,s.value],style:l.value},[n.default?(0,S.createVNode)(nD,{key:"icon-defaults",disabled:!e.icon,defaults:{VIcon:{color:e.iconColor,icon:e.icon,size:e.size}}},n.default):(0,S.createVNode)(rp,{key:"icon",color:e.iconColor,icon:e.icon,size:e.size},null)])]),(0,S.createVNode)("div",{class:["v-timeline-divider__after",f.value],style:h.value},null)])}),{}}}),cn=eU((0,p._)({density:String,dotColor:String,fillDot:Boolean,hideDot:Boolean,hideOpposite:{type:Boolean,default:void 0},icon:eH,iconColor:String,lineInset:[Number,String]},tX(),nR(),nK(),nG(),rf(),t7()),"VTimelineItem"),cr=eY()({name:"VTimelineItem",props:cn(),setup:function(e,t){var n=t.slots,r=nO(e).dimensionStyles,i=(0,k.shallowRef)(0),o=(0,k.ref)();return(0,S.watch)(o,function(e){var t,n;e&&(i.value=null!==(n=null===(t=e.$el.querySelector(".v-timeline-divider__dot"))||void 0===t?void 0:t.getBoundingClientRect().width)&&void 0!==n?n:0)},{flush:"post"}),t5(function(){var t,a;return(0,S.createVNode)("div",{class:["v-timeline-item",{"v-timeline-item--fill-dot":e.fillDot},e.class],style:[{"--v-timeline-dot-size":F(i.value),"--v-timeline-line-inset":e.lineInset?"calc(var(--v-timeline-dot-size) / 2 + ".concat(F(e.lineInset),")"):F(0)},e.style]},[(0,S.createVNode)("div",{class:"v-timeline-item__body",style:r.value},[null===(t=n.default)||void 0===t?void 0:t.call(n)]),(0,S.createVNode)(ct,{ref:o,hideDot:e.hideDot,icon:e.icon,iconColor:e.iconColor,size:e.size,elevation:e.elevation,dotColor:e.dotColor,fillDot:e.fillDot,rounded:e.rounded},{default:n.icon}),"compact"!==e.density&&(0,S.createVNode)("div",{class:"v-timeline-item__opposite"},[!e.hideOpposite&&(null===(a=n.opposite)||void 0===a?void 0:a.call(n))])])}),{}}}),ci={};t(ci,"VToolbar",function(){return nQ}),t(ci,"VToolbarTitle",function(){return ne}),t(ci,"VToolbarItems",function(){return ca});var p=f("a42Vg");f("7DTtY");var k=f("bNhjt"),S=f("5BxzC"),co=eU((0,p._)({},tX(),n9({variant:"text"})),"VToolbarItems"),ca=eY()({name:"VToolbarItems",props:co(),setup:function(e,t){var n=t.slots;return eN({VBtn:{color:(0,k.toRef)(e,"color"),height:"inherit",variant:(0,k.toRef)(e,"variant")}}),t5(function(){var t;return(0,S.createVNode)("div",{class:["v-toolbar-items",e.class],style:e.style},[null===(t=n.default)||void 0===t?void 0:t.call(n)])}),{}}}),cl={};t(cl,"VTooltip",function(){return cs});var p=f("a42Vg"),x=f("6wEIk"),V=f("2Yjkq");f("7DTtY");var S=f("5BxzC"),k=f("bNhjt"),cu=eU((0,p._)({id:String,text:String},X(oD({closeOnBack:!1,location:"end",locationStrategy:"connected",eager:!0,minWidth:0,offset:10,openOnClick:!1,openOnHover:!0,origin:"auto",scrim:!1,scrollStrategy:"reposition",transition:!1}),["absolute","persistent"])),"VTooltip"),cs=eY()({name:"VTooltip",props:cu(),emits:{"update:modelValue":function(e){return!0}},setup:function(e,t){var n=t.slots,r=e1(e,"modelValue"),i=ox().scopeId,o=eC(),a=(0,S.computed)(function(){return e.id||"v-tooltip-".concat(o)}),l=(0,k.ref)(),u=(0,S.computed)(function(){return e.location.split(" ").length>1?e.location:e.location+" center"}),s=(0,S.computed)(function(){return"auto"===e.origin||"overlap"===e.origin||e.origin.split(" ").length>1||e.location.split(" ").length>1?e.origin:e.origin+" center"}),c=(0,S.computed)(function(){return e.transition?e.transition:r.value?"scale-transition":"fade-transition"}),d=(0,S.computed)(function(){return(0,S.mergeProps)({"aria-describedby":a.value},e.activatorProps)});return t5(function(){var t=(0,x._)(oR.filterProps(e),1)[0];return(0,S.createVNode)(oR,(0,S.mergeProps)({ref:l,class:["v-tooltip",e.class],style:e.style,id:a.value},t,{modelValue:r.value,"onUpdate:modelValue":function(e){return r.value=e},transition:c.value,absolute:!0,location:u.value,origin:s.value,persistent:!0,role:"tooltip",activatorProps:d.value,_disableGlobalStack:!0},i),{activator:n.activator,default:function(){for(var t,r,i=arguments.length,o=Array(i),a=0;aMath.abs(_.value)+b.value});return t4(function(){return(0,S.createVNode)(e.tag,{class:["v-slide-group",{"v-slide-group--vertical":!x.value,"v-slide-group--has-affixes":z.value,"v-slide-group--is-overflowing":y.value},e.class],style:e.style,tabindex:L.value||m.selected.value.length?-1:0,onFocus:c},{default:function(){var t,c,g;return[z.value&&(0,S.createVNode)("div",{key:"prev",class:["v-slide-group__prev",{"v-slide-group__prev--disabled":!Y.value}],onClick:function(){return f("prev")}},[null!==(n=null===(t=h.prev)||void 0===t?void 0:t.call(h,U.value))&&void 0!==n?n:(0,S.createVNode)(ny,null,{default:function(){return[(0,S.createVNode)(rp,{icon:p.value?e.nextIcon:e.prevIcon},null)]}})]),(0,S.createVNode)("div",{key:"container",ref:E,class:"v-slide-group__container",onScroll:l},[(0,S.createVNode)("div",{ref:A,class:"v-slide-group__content",style:F.value,onTouchstartPassive:i,onTouchmovePassive:o,onTouchendPassive:a,onFocusin:u,onFocusout:s,onKeydown:d},[null===(c=h.default)||void 0===c?void 0:c.call(h,U.value)])]),z.value&&(0,S.createVNode)("div",{key:"next",class:["v-slide-group__next",{"v-slide-group__next--disabled":!H.value}],onClick:function(){return f("next")}},[null!==(r=null===(g=h.next)||void 0===g?void 0:g.call(h,U.value))&&void 0!==r?r:(0,S.createVNode)(ny,null,{default:function(){return[(0,S.createVNode)(rp,{icon:p.value?e.prevIcon:e.nextIcon},null)]}})])]}})}),{selected:m.selected,scrollTo:f,scrollOffset:_,focus:j}})),sI=eY()({name:"VSlideGroupItem",props:ri(),emits:{"group:selected":function(e){return!0}},setup:function(e,t){var n=t.slots,r=ro(e,sD);return function(){var e;return null===(e=n.default)||void 0===e?void 0:e.call(n,{isSelected:r.isSelected.value,select:r.select,toggle:r.toggle,selectedClass:r.selectedClass.value})}}}),sB={};t(sB,"VSlider",function(){return lw});var sP={};t(sP,"VSnackbar",function(){return sL});var p=f("a42Vg"),x=f("6wEIk");f("7DTtY");var k=f("bNhjt"),S=f("5BxzC"),sM=eU((0,p._)({multiLine:Boolean,timeout:{type:[Number,String],default:5e3},vertical:Boolean},rN({location:"bottom"}),rP(),nG(),n9(),tT(),X(oD({transition:"v-snackbar-transition"}),["persistent","noClickAnimation","scrim","scrollStrategy"])),"VSnackbar"),sL=eY()({name:"VSnackbar",props:sM(),emits:{"update:modelValue":function(e){return!0}},setup:function(e,t){var n=function(){window.clearTimeout(m);var t=Number(e.timeout);o.value&&-1!==t&&(m=window.setTimeout(function(){o.value=!1},t))},r=function(){window.clearTimeout(m)},i=t.slots,o=e1(e,"modelValue"),a=rT(e).locationStyles,l=rM(e).positionClasses,u=ox().scopeId,s=tD(e).themeClasses,c=re(e),d=c.colorClasses,f=c.colorStyles,h=c.variantClasses,p=n$(e).roundedClasses,g=(0,k.ref)();(0,S.watch)(o,n),(0,S.watch)(function(){return e.timeout},n),(0,S.onMounted)(function(){o.value&&n()});var m=-1;return t4(function(){var t=(0,x._)(oR.filterProps(e),1)[0];return(0,S.createVNode)(oR,(0,S.mergeProps)({ref:g,class:["v-snackbar",{"v-snackbar--active":o.value,"v-snackbar--multi-line":e.multiLine&&!e.vertical,"v-snackbar--vertical":e.vertical},l.value,e.class],style:e.style},t,{modelValue:o.value,"onUpdate:modelValue":function(e){return o.value=e},contentProps:(0,S.mergeProps)({class:["v-snackbar__wrapper",s.value,d.value,p.value,h.value],style:[a.value,f.value],onPointerenter:r,onPointerleave:n},t.contentProps),persistent:!0,noClickAnimation:!0,scrim:!1,scrollStrategy:"none",_disableGlobalStack:!0},u),{default:function(){return[n7(!1,"v-snackbar"),i.default&&(0,S.createVNode)("div",{class:"v-snackbar__content",role:"status","aria-live":"polite"},[i.default()]),i.actions&&(0,S.createVNode)(nD,{defaults:{VBtn:{variant:"text",ripple:!1}}},{default:function(){return[(0,S.createVNode)("div",{class:"v-snackbar__actions"},[i.actions()])]}})]},activator:i.activator})}),oP({},g)}}),sj={};t(sj,"VSwitch",function(){return sU});var p=f("a42Vg"),b=f("9zFRg"),x=f("6wEIk"),V=f("2Yjkq");f("7DTtY");var k=f("bNhjt"),S=f("5BxzC"),sF=eU((0,p._)({indeterminate:Boolean,inset:Boolean,flat:Boolean,loading:{type:[Boolean,String],default:!1}},o3(),ig()),"VSwitch"),sU=eY()({name:"VSwitch",inheritAttrs:!1,props:sF(),emits:{"update:focused":function(e){return!0},"update:modelValue":function(){return!0},"update:indeterminate":function(e){return!0}},setup:function(e,t){var n=function(){a.value&&(a.value=!1)},r=function(e){var t,n;e.stopPropagation(),e.preventDefault(),null===(t=h.value)||void 0===t||null===(n=t.input)||void 0===n||n.click()},i=t.attrs,o=t.slots,a=e1(e,"indeterminate"),l=e1(e,"modelValue"),u=rO(e).loaderClasses,s=oq(e),c=s.isFocused,d=s.focus,f=s.blur,h=(0,k.ref)(),g=(0,S.computed)(function(){return"string"==typeof e.loading&&""!==e.loading?e.loading:e.color}),m=eC(),y=(0,S.computed)(function(){return e.id||"switch-".concat(m)});return t4(function(){var t=(0,x._)(Z(i),2),s=t[0],m=t[1],_=(0,x._)(o4.filterProps(e),2),w=_[0];_[1];var k=(0,x._)(im.filterProps(e),2),C=k[0];return k[1],(0,S.createVNode)(o4,(0,S.mergeProps)({class:["v-switch",{"v-switch--inset":e.inset},{"v-switch--indeterminate":a.value},u.value,e.class],style:e.style},s,w,{id:y.value,focused:c.value}),(0,b._)((0,p._)({},o),{default:function(t){var i=t.id,u=t.messagesId,s=t.isDisabled,c=t.isReadonly,y=t.isValid;return(0,S.createVNode)(im,(0,S.mergeProps)({ref:h},C,{modelValue:l.value,"onUpdate:modelValue":[function(e){return l.value=e},n],id:i.value,"aria-describedby":u.value,type:"checkbox","aria-checked":a.value?"mixed":void 0,disabled:s.value,readonly:c.value,onFocus:d,onBlur:f},m),(0,b._)((0,p._)({},o),{default:function(e){var t=e.backgroundColorClasses,n=e.backgroundColorStyles;return(0,S.createVNode)("div",{class:["v-switch__track"].concat((0,V._)(t.value)),style:n.value,onClick:r},null)},input:function(t){var n=t.inputNode,r=t.icon,i=t.backgroundColorClasses,a=t.backgroundColorStyles;return(0,S.createVNode)(S.Fragment,null,[n,(0,S.createVNode)("div",{class:["v-switch__thumb",{"v-switch__thumb--filled":r||e.loading},e.inset?void 0:i.value],style:e.inset?void 0:a.value},[(0,S.createVNode)(n_,null,{default:function(){return[e.loading?(0,S.createVNode)(rI,{name:"v-switch",active:!0,color:!1===y.value?void 0:g.value},{default:function(e){return o.loader?o.loader(e):(0,S.createVNode)(ry,{active:e.isActive,color:e.color,indeterminate:!0,size:"16",width:"2"},null)}}):r&&(0,S.createVNode)(rp,{key:r,icon:r,size:"x-small"},null)]}})])])}}))}}))}),{}}}),sz={};t(sz,"VSystemBar",function(){return sH});var p=f("a42Vg");f("7DTtY");var k=f("bNhjt"),S=f("5BxzC"),sY=eU((0,p._)({color:String,height:[Number,String],window:Boolean},tX(),nK(),t0(),nG(),t7(),tT()),"VSystemBar"),sH=eY()({name:"VSystemBar",props:sY(),setup:function(e,t){var n,r=t.slots,i=tD(e).themeClasses,o=nW((0,k.toRef)(e,"color")),a=o.backgroundColorClasses,l=o.backgroundColorStyles,u=nX(e).elevationClasses,s=n$(e).roundedClasses,c=n1().ssrBootStyles,d=(0,S.computed)(function(){return null!==(n=e.height)&&void 0!==n?n:e.window?32:24}),f=t1({id:e.name,order:(0,S.computed)(function(){return parseInt(e.order,10)}),position:(0,k.shallowRef)("top"),layoutSize:d,elementSize:d,active:(0,S.computed)(function(){return!0}),absolute:(0,k.toRef)(e,"absolute")}).layoutItemStyles;return t4(function(){return(0,S.createVNode)(e.tag,{class:["v-system-bar",{"v-system-bar--window":e.window},i.value,a.value,u.value,s.value,e.class],style:[l.value,f.value,c.value,e.style]},r)}),{}}}),sq={};t(sq,"VTabs",function(){return s$}),t(sq,"VTab",function(){return sX});var p=f("a42Vg"),x=f("6wEIk");f("7DTtY");var S=f("5BxzC"),k=f("bNhjt"),p=f("a42Vg"),x=f("6wEIk");f("7DTtY");var S=f("5BxzC"),k=f("bNhjt"),sW=Symbol.for("vuetify:v-tabs"),sK=eU((0,p._)({fixed:Boolean,sliderColor:String,hideSlider:Boolean,direction:{type:String,default:"horizontal"}},X(r6({selectedClass:"v-tab--selected",variant:"text"}),["active","block","flat","location","position","symbol"])),"VTab"),sX=eY()({name:"VTab",props:sK(),setup:function(e,t){var n=function(e){var t=e.value;if(s.value=t,t){var n,r,i=null===(n=null===(r=c.value)||void 0===r?void 0:r.$el.parentElement)||void 0===n?void 0:n.querySelector(".v-tab--selected .v-tab__slider"),o=d.value;if(!i||!o)return;var a=getComputedStyle(i).color,l=i.getBoundingClientRect(),f=o.getBoundingClientRect(),h=u.value?"x":"y",p=u.value?"X":"Y",g=u.value?"right":"bottom",m=u.value?"width":"height",y=l[h]>f[h]?l[g]-f[g]:l[h]-f[h],_=Math.sign(y)>0?u.value?"right":"bottom":0>Math.sign(y)?u.value?"left":"top":"center",b=(Math.abs(y)+(0>Math.sign(y)?l[m]:f[m]))/Math.max(l[m],f[m])||0,w=l[m]/f[m]||0;nc(o,{backgroundColor:[a,"currentcolor"],transform:["translate".concat(p,"(").concat(y,"px) scale").concat(p,"(").concat(w,")"),"translate".concat(p,"(").concat(y/1.5,"px) scale").concat(p,"(").concat((b-1)/1.5+1,")"),"none"],transformOrigin:[,,,].fill(_)},{duration:225,easing:na})}},r=t.slots,i=t.attrs,o=nq(e,"sliderColor"),a=o.textColorClasses,l=o.textColorStyles,u=(0,S.computed)(function(){return"horizontal"===e.direction}),s=(0,k.shallowRef)(!1),c=(0,k.ref)(),d=(0,k.ref)();return t4(function(){var t,o=(0,x._)(r8.filterProps(e),1)[0];return(0,S.createVNode)(r8,(0,S.mergeProps)({symbol:sW,ref:c,class:["v-tab",e.class],style:e.style,tabindex:s.value?0:-1,role:"tab","aria-selected":String(s.value),active:!1},o,i,{block:e.fixed,maxWidth:e.fixed?300:void 0,"onGroup:selected":n}),{default:function(){var n;return[null!==(t=null===(n=r.default)||void 0===n?void 0:n.call(r))&&void 0!==t?t:e.text,!e.hideSlider&&(0,S.createVNode)("div",{ref:d,class:["v-tab__slider",a.value],style:l.value},null)]}})}),{}}}),sG=eU((0,p._)({alignTabs:{type:String,default:"start"},color:String,fixedTabs:Boolean,items:{type:Array,default:function(){return[]}},stacked:Boolean,bgColor:String,grow:Boolean,height:{type:[Number,String],default:void 0},hideSlider:Boolean,sliderColor:String},sR({mandatory:"force"}),n5(),t7()),"VTabs"),s$=eY()({name:"VTabs",props:sG(),emits:{"update:modelValue":function(e){return!0}},setup:function(e,t){var n=t.slots,r=e1(e,"modelValue"),i=(0,S.computed)(function(){var t;return(t=e.items)?t.map(function(e){return"string"==typeof e?{title:e,value:e}:e}):[]}),o=n6(e).densityClasses,a=nW((0,k.toRef)(e,"bgColor")),l=a.backgroundColorClasses,u=a.backgroundColorStyles;return eN({VTab:{color:(0,k.toRef)(e,"color"),direction:(0,k.toRef)(e,"direction"),stacked:(0,k.toRef)(e,"stacked"),fixed:(0,k.toRef)(e,"fixedTabs"),sliderColor:(0,k.toRef)(e,"sliderColor"),hideSlider:(0,k.toRef)(e,"hideSlider")}}),t4(function(){var t=(0,x._)(sO.filterProps(e),1)[0];return(0,S.createVNode)(sO,(0,S.mergeProps)(t,{modelValue:r.value,"onUpdate:modelValue":function(e){return r.value=e},class:["v-tabs","v-tabs--".concat(e.direction),"v-tabs--align-tabs-".concat(e.alignTabs),{"v-tabs--fixed-tabs":e.fixedTabs,"v-tabs--grow":e.grow,"v-tabs--stacked":e.stacked},o.value,l.value,e.class],style:[{"--v-tabs-height":F(e.height)},u.value,e.style],role:"tablist",symbol:sW}),{default:function(){return[n.default?n.default():i.value.map(function(e){return(0,S.createVNode)(sX,(0,S.mergeProps)(e,{key:e.title}),null)})]}})}),{}}}),sJ={};t(sJ,"VTable",function(){return sQ});var p=f("a42Vg");f("7DTtY");var S=f("5BxzC"),sZ=eU((0,p._)({fixedHeader:Boolean,fixedFooter:Boolean,height:[Number,String],hover:Boolean},tX(),n5(),t7(),tT()),"VTable"),sQ=eY()({name:"VTable",props:sZ(),setup:function(e,t){var n=t.slots,r=tD(e).themeClasses,i=n6(e).densityClasses;return t4(function(){return(0,S.createVNode)(e.tag,{class:["v-table",{"v-table--fixed-height":!!e.height,"v-table--fixed-header":e.fixedHeader,"v-table--fixed-footer":e.fixedFooter,"v-table--has-top":!!n.top,"v-table--has-bottom":!!n.bottom,"v-table--hover":e.hover},r.value,i.value,e.class],style:e.style},{default:function(){var t,r,i;return[null===(t=n.top)||void 0===t?void 0:t.call(n),n.default?(0,S.createVNode)("div",{class:"v-table__wrapper",style:{height:F(e.height)}},[(0,S.createVNode)("table",null,[n.default()])]):null===(r=n.wrapper)||void 0===r?void 0:r.call(n),null===(i=n.bottom)||void 0===i?void 0:i.call(n)]}})}),{}}}),s0={};t(s0,"VTextarea",function(){return s2});var p=f("a42Vg"),b=f("9zFRg"),x=f("6wEIk");f("7DTtY");var S=f("5BxzC"),k=f("bNhjt"),m=f("jo4gN"),s1=eU((0,p._)({autoGrow:Boolean,autofocus:Boolean,counter:[Boolean,Number,String],counterValue:Function,prefix:String,placeholder:String,persistentPlaceholder:Boolean,persistentCounter:Boolean,noResize:Boolean,rows:{type:[Number,String],default:5,validator:function(e){return!isNaN(parseFloat(e))}},maxRows:{type:[Number,String],validator:function(e){return!isNaN(parseFloat(e))}},suffix:String,modelModifiers:Object},o3(),oK()),"VTextarea"),s2=eY()({name:"VTextarea",directives:{Intersect:nj},inheritAttrs:!1,props:s1(),emits:{"click:control":function(e){return!0},"mousedown:control":function(e){return!0},"update:focused":function(e){return!0},"update:modelValue":function(e){return!0}},setup:function(e,t){var n,r=function(t,n){var r,i;e.autofocus&&t&&(null===(r=n[0].target)||void 0===r||null===(i=r.focus)||void 0===i||i.call(r))},i=function(){var e;D.value!==document.activeElement&&(null===(e=D.value)||void 0===e||e.focus()),y.value||_()},o=function(e){i(),d("click:control",e)},a=function(e){d("mousedown:control",e)},l=function(t){t.stopPropagation(),i(),(0,S.nextTick)(function(){h.value="",ep(e["onClick:clear"],t)})},u=function(t){var n,r=t.target;if(h.value=r.value,null===(n=e.modelModifiers)||void 0===n?void 0:n.trim){var i=[r.selectionStart,r.selectionEnd];(0,S.nextTick)(function(){r.selectionStart=i[0],r.selectionEnd=i[1]})}},s=function(){e.autoGrow&&(0,S.nextTick)(function(){if(O.value&&T.value){var t=getComputedStyle(O.value),n=getComputedStyle(T.value.$el),r=parseFloat(t.getPropertyValue("--v-field-padding-top"))+parseFloat(t.getPropertyValue("--v-input-padding-top"))+parseFloat(t.getPropertyValue("--v-field-padding-bottom")),i=O.value.scrollHeight,o=parseFloat(t.lineHeight),a=ee(null!=i?i:0,Math.max(parseFloat(e.rows)*o+r,parseFloat(n.getPropertyValue("--v-input-control-height"))),parseFloat(e.maxRows)*o+r||1/0);I.value=Math.floor((a-r)/o),A.value=F(a)}})},c=t.attrs,d=t.emit,f=t.slots,h=e1(e,"modelValue"),g=oq(e),y=g.isFocused,_=g.focus,C=g.blur,E=(0,S.computed)(function(){return"function"==typeof e.counterValue?e.counterValue(h.value):(h.value||"").toString().length}),V=(0,S.computed)(function(){return c.maxlength?c.maxlength:e.counter&&("number"==typeof e.counter||"string"==typeof e.counter)?e.counter:void 0}),N=(0,k.ref)(),T=(0,k.ref)(),A=(0,k.shallowRef)(""),D=(0,k.ref)(),R=(0,S.computed)(function(){return e.persistentPlaceholder||y.value||e.active}),O=(0,k.ref)(),I=(0,k.ref)(+e.rows),B=(0,S.computed)(function(){return["plain","underlined"].includes(e.variant)});return(0,S.watchEffect)(function(){e.autoGrow||(I.value=+e.rows)}),(0,S.onMounted)(s),(0,S.watch)(h,s),(0,S.watch)(function(){return e.rows},s),(0,S.watch)(function(){return e.maxRows},s),(0,S.watch)(function(){return e.density},s),(0,S.watch)(O,function(e){e?(n=new ResizeObserver(s)).observe(O.value):null==n||n.disconnect()}),(0,S.onBeforeUnmount)(function(){null==n||n.disconnect()}),t4(function(){var t=!!(f.counter||e.counter||e.counterValue),n=!!(t||f.details),s=(0,x._)(Z(c),2),d=s[0],g=s[1],_=o4.filterProps(e),k=((0,x._)(_,1)[0].modelValue,w(_[0],["modelValue"])),P=(0,x._)(oG(e),1)[0];return(0,S.createVNode)(o4,(0,S.mergeProps)({ref:N,modelValue:h.value,"onUpdate:modelValue":function(e){return h.value=e},class:["v-textarea v-text-field",{"v-textarea--prefixed":e.prefix,"v-textarea--suffixed":e.suffix,"v-text-field--prefixed":e.prefix,"v-text-field--suffixed":e.suffix,"v-textarea--auto-grow":e.autoGrow,"v-textarea--no-resize":e.noResize||e.autoGrow,"v-text-field--plain-underlined":B.value},e.class],style:e.style},d,k,{centerAffix:1===I.value&&!B.value,focused:y.value}),(0,b._)((0,p._)({},f),{default:function(t){var n=t.isDisabled,s=t.isDirty,c=t.isReadonly,d=t.isValid;return(0,S.createVNode)(oX,(0,S.mergeProps)({ref:T,style:{"--v-textarea-control-height":A.value},onClick:o,onMousedown:a,"onClick:clear":l,"onClick:prependInner":e["onClick:prependInner"],"onClick:appendInner":e["onClick:appendInner"]},P,{active:R.value||s.value,centerAffix:1===I.value&&!B.value,dirty:s.value||e.dirty,disabled:n.value,focused:y.value,error:!1===d.value}),(0,b._)((0,p._)({},f),{default:function(t){var o=t.props.class,a=w(t.props,["class"]);return(0,S.createVNode)(S.Fragment,null,[e.prefix&&(0,S.createVNode)("span",{class:"v-text-field__prefix"},[e.prefix]),(0,S.withDirectives)((0,S.createVNode)("textarea",(0,S.mergeProps)({ref:D,class:o,value:h.value,onInput:u,autofocus:e.autofocus,readonly:c.value,disabled:n.value,placeholder:e.placeholder,rows:e.rows,name:e.name,onFocus:i,onBlur:C},a,g),null),[[(0,S.resolveDirective)("intersect"),{handler:r},null,{once:!0}]]),e.autoGrow&&(0,S.withDirectives)((0,S.createVNode)("textarea",{class:[o,"v-textarea__sizer"],id:"".concat(a.id,"-sizer"),"onUpdate:modelValue":function(e){return h.value=e},ref:O,readonly:!0,"aria-hidden":"true"},null),[[m.vModelText,h.value]]),e.suffix&&(0,S.createVNode)("span",{class:"v-text-field__suffix"},[e.suffix])])}}))},details:n?function(n){var r;return(0,S.createVNode)(S.Fragment,null,[null===(r=f.details)||void 0===r?void 0:r.call(f,n),t&&(0,S.createVNode)(S.Fragment,null,[(0,S.createVNode)("span",null,null),(0,S.createVNode)(oF,{active:e.persistentCounter||y.value,value:E.value,max:V.value},f.counter)])])}:void 0}))}),oP({},N,T,D)}}),s3={};t(s3,"VTextField",function(){return o8});var s4={};t(s4,"VThemeProvider",function(){return s6});var p=f("a42Vg");f("7DTtY");var S=f("5BxzC"),s5=eU((0,p._)({withBackground:Boolean},tX(),tT(),t7()),"VThemeProvider"),s6=eY()({name:"VThemeProvider",props:s5(),setup:function(e,t){var n=t.slots,r=tD(e).themeClasses;return function(){var t;return e.withBackground?(0,S.createVNode)(e.tag,{class:["v-theme-provider",r.value,e.class],style:e.style},{default:function(){var e;return[null===(e=n.default)||void 0===e?void 0:e.call(n)]}}):null===(t=n.default)||void 0===t?void 0:t.call(n)}}}),s8={};t(s8,"VTimeline",function(){return s9}),t(s8,"VTimelineItem",function(){return cr});var p=f("a42Vg");f("7DTtY");var k=f("bNhjt"),S=f("5BxzC"),s7=eU((0,p._)({align:{type:String,default:"center",validator:function(e){return["center","start"].includes(e)}},direction:{type:String,default:"vertical",validator:function(e){return["vertical","horizontal"].includes(e)}},justify:{type:String,default:"auto",validator:function(e){return["auto","center"].includes(e)}},side:{type:String,validator:function(e){return null==e||["start","end"].includes(e)}},lineInset:{type:[String,Number],default:0},lineThickness:{type:[String,Number],default:2},lineColor:String,truncateLine:{type:String,validator:function(e){return["start","end","both"].includes(e)}}},tX(),n5(),t7(),tT()),"VTimeline"),s9=eY()({name:"VTimeline",props:s7(),setup:function(e,t){var n=t.slots,r=tD(e).themeClasses,i=n6(e).densityClasses,o=te().rtlClasses;eN({VTimelineDivider:{lineColor:(0,k.toRef)(e,"lineColor")},VTimelineItem:{density:(0,k.toRef)(e,"density"),lineInset:(0,k.toRef)(e,"lineInset")}});var a=(0,S.computed)(function(){var t=e.side?e.side:"default"!==e.density?"end":null;return t&&"v-timeline--side-".concat(t)}),l=(0,S.computed)(function(){switch(e.truncateLine){case"both":return["v-timeline--truncate-line-start","v-timeline--truncate-line-end"];case"start":return"v-timeline--truncate-line-start";case"end":return"v-timeline--truncate-line-end";default:return null}});return t4(function(){return(0,S.createVNode)(e.tag,{class:["v-timeline","v-timeline--".concat(e.direction),"v-timeline--align-".concat(e.align),"v-timeline--justify-".concat(e.justify),l.value,{"v-timeline--inset-line":!!e.lineInset},r.value,i.value,a.value,o.value,e.class],style:[{"--v-timeline-line-thickness":F(e.lineThickness)},e.style]},n)}),{}}}),p=f("a42Vg");f("7DTtY");var k=f("bNhjt"),S=f("5BxzC"),p=f("a42Vg");f("7DTtY");var k=f("bNhjt"),S=f("5BxzC"),ce=eU((0,p._)({dotColor:String,fillDot:Boolean,hideDot:Boolean,icon:eH,iconColor:String,lineColor:String},tX(),nG(),rf(),nK()),"VTimelineDivider"),ct=eY()({name:"VTimelineDivider",props:ce(),setup:function(e,t){var n=t.slots,r=rh(e,"v-timeline-divider__dot"),i=r.sizeClasses,o=r.sizeStyles,a=nW((0,k.toRef)(e,"dotColor")),l=a.backgroundColorStyles,u=a.backgroundColorClasses,s=n$(e,"v-timeline-divider__dot").roundedClasses,c=nX(e).elevationClasses,d=nW((0,k.toRef)(e,"lineColor")),f=d.backgroundColorClasses,h=d.backgroundColorStyles;return t4(function(){return(0,S.createVNode)("div",{class:["v-timeline-divider",{"v-timeline-divider--fill-dot":e.fillDot},e.class],style:e.style},[(0,S.createVNode)("div",{class:["v-timeline-divider__before",f.value],style:h.value},null),!e.hideDot&&(0,S.createVNode)("div",{key:"dot",class:["v-timeline-divider__dot",c.value,s.value,i.value],style:o.value},[(0,S.createVNode)("div",{class:["v-timeline-divider__inner-dot",u.value,s.value],style:l.value},[n.default?(0,S.createVNode)(nD,{key:"icon-defaults",disabled:!e.icon,defaults:{VIcon:{color:e.iconColor,icon:e.icon,size:e.size}}},n.default):(0,S.createVNode)(rp,{key:"icon",color:e.iconColor,icon:e.icon,size:e.size},null)])]),(0,S.createVNode)("div",{class:["v-timeline-divider__after",f.value],style:h.value},null)])}),{}}}),cn=eU((0,p._)({density:String,dotColor:String,fillDot:Boolean,hideDot:Boolean,hideOpposite:{type:Boolean,default:void 0},icon:eH,iconColor:String,lineInset:[Number,String]},tX(),nR(),nK(),nG(),rf(),t7()),"VTimelineItem"),cr=eY()({name:"VTimelineItem",props:cn(),setup:function(e,t){var n=t.slots,r=nO(e).dimensionStyles,i=(0,k.shallowRef)(0),o=(0,k.ref)();return(0,S.watch)(o,function(e){var t,n;e&&(i.value=null!==(n=null===(t=e.$el.querySelector(".v-timeline-divider__dot"))||void 0===t?void 0:t.getBoundingClientRect().width)&&void 0!==n?n:0)},{flush:"post"}),t4(function(){var t,a;return(0,S.createVNode)("div",{class:["v-timeline-item",{"v-timeline-item--fill-dot":e.fillDot},e.class],style:[{"--v-timeline-dot-size":F(i.value),"--v-timeline-line-inset":e.lineInset?"calc(var(--v-timeline-dot-size) / 2 + ".concat(F(e.lineInset),")"):F(0)},e.style]},[(0,S.createVNode)("div",{class:"v-timeline-item__body",style:r.value},[null===(t=n.default)||void 0===t?void 0:t.call(n)]),(0,S.createVNode)(ct,{ref:o,hideDot:e.hideDot,icon:e.icon,iconColor:e.iconColor,size:e.size,elevation:e.elevation,dotColor:e.dotColor,fillDot:e.fillDot,rounded:e.rounded},{default:n.icon}),"compact"!==e.density&&(0,S.createVNode)("div",{class:"v-timeline-item__opposite"},[!e.hideOpposite&&(null===(a=n.opposite)||void 0===a?void 0:a.call(n))])])}),{}}}),ci={};t(ci,"VToolbar",function(){return nQ}),t(ci,"VToolbarTitle",function(){return ne}),t(ci,"VToolbarItems",function(){return ca});var p=f("a42Vg");f("7DTtY");var k=f("bNhjt"),S=f("5BxzC"),co=eU((0,p._)({},tX(),n9({variant:"text"})),"VToolbarItems"),ca=eY()({name:"VToolbarItems",props:co(),setup:function(e,t){var n=t.slots;return eN({VBtn:{color:(0,k.toRef)(e,"color"),height:"inherit",variant:(0,k.toRef)(e,"variant")}}),t4(function(){var t;return(0,S.createVNode)("div",{class:["v-toolbar-items",e.class],style:e.style},[null===(t=n.default)||void 0===t?void 0:t.call(n)])}),{}}}),cl={};t(cl,"VTooltip",function(){return cs});var p=f("a42Vg"),x=f("6wEIk"),V=f("2Yjkq");f("7DTtY");var S=f("5BxzC"),k=f("bNhjt"),cu=eU((0,p._)({id:String,text:String},X(oD({closeOnBack:!1,location:"end",locationStrategy:"connected",eager:!0,minWidth:0,offset:10,openOnClick:!1,openOnHover:!0,origin:"auto",scrim:!1,scrollStrategy:"reposition",transition:!1}),["absolute","persistent"])),"VTooltip"),cs=eY()({name:"VTooltip",props:cu(),emits:{"update:modelValue":function(e){return!0}},setup:function(e,t){var n=t.slots,r=e1(e,"modelValue"),i=ox().scopeId,o=eC(),a=(0,S.computed)(function(){return e.id||"v-tooltip-".concat(o)}),l=(0,k.ref)(),u=(0,S.computed)(function(){return e.location.split(" ").length>1?e.location:e.location+" center"}),s=(0,S.computed)(function(){return"auto"===e.origin||"overlap"===e.origin||e.origin.split(" ").length>1||e.location.split(" ").length>1?e.origin:e.origin+" center"}),c=(0,S.computed)(function(){return e.transition?e.transition:r.value?"scale-transition":"fade-transition"}),d=(0,S.computed)(function(){return(0,S.mergeProps)({"aria-describedby":a.value},e.activatorProps)});return t4(function(){var t=(0,x._)(oR.filterProps(e),1)[0];return(0,S.createVNode)(oR,(0,S.mergeProps)({ref:l,class:["v-tooltip",e.class],style:e.style,id:a.value},t,{modelValue:r.value,"onUpdate:modelValue":function(e){return r.value=e},transition:c.value,absolute:!0,location:u.value,origin:s.value,persistent:!0,role:"tooltip",activatorProps:d.value,_disableGlobalStack:!0},i),{activator:n.activator,default:function(){for(var t,r,i=arguments.length,o=Array(i),a=0;a0&&void 0!==arguments[0]?arguments[0]:[],r=arguments.length>1?arguments[1]:void 0;null==h||h(n,r),u&&cp(e,t)});s&&(null==h||h([],g)),e._mutate=Object(e._mutate),e._mutate[t.instance.$.uid]={observer:g},g.observe(e,p)},unmounted:cp},cm={mounted:// Types
function(e,t){var n,r,i=t.value,o={passive:!(null===(n=t.modifiers)||void 0===n?void 0:n.active)};window.addEventListener("resize",i,o),e._onResize=Object(e._onResize),e._onResize[t.instance.$.uid]={handler:i,options:o},(null===(r=t.modifiers)||void 0===r?void 0:r.quiet)||i()},unmounted:function(e,t){if(null===(n=e._onResize)||void 0===n?void 0:n[t.instance.$.uid]){var n,r=e._onResize[t.instance.$.uid],i=r.handler,o=r.options;window.removeEventListener("resize",i,o),delete e._onResize[t.instance.$.uid]}}};// Types
function cy(e,t){var n,r=(null!==(n=t.modifiers)&&void 0!==n?n:{}).self,i=void 0!==r&&r,o=t.value,a="object"==typeof o&&o.options||{passive:!0},l="function"==typeof o||"handleEvent"in o?o:o.handler,u=i?e:t.arg?document.querySelector(t.arg):window;u&&(u.addEventListener("scroll",l,a),e._onScroll=Object(e._onScroll),e._onScroll[t.instance.$.uid]={handler:l,options:a,// Don't reference self
diff --git a/docs/index.90a29b64.js b/docs/index.7fd13e38.js
similarity index 99%
rename from docs/index.90a29b64.js
rename to docs/index.7fd13e38.js
index 98be4ce..e3e0c54 100644
--- a/docs/index.90a29b64.js
+++ b/docs/index.7fd13e38.js
@@ -865,7 +865,7 @@ this.options.dragOverBubble||t.rootEl||this._handleAutoScroll(t)},drop:function(
// Firefox and Chrome are good
if(eJ=e,t||this.options.forceAutoScrollFallback||d||c||h){e3(e,this.options,o,t);// Listener for pointer element change
var a=D(o,!0);e0&&(!eZ||r!==eW||i!==eK)&&(eZ&&e2(),eZ=setInterval(function(){var o=D(document.elementFromPoint(r,i),!0);o!==a&&(a=o,e1()),e3(e,n.options,o,t)},10),eW=r,eK=i)}else{// if DnD is enabled (and browser has good autoscrolling), first autoscroll will already scroll, so get parent autoscroll of first autoscroll
-if(!this.options.bubbleScroll||D(o,!0)===V()){e1();return}e3(e,this.options,D(o,!1),!1)}}},a(e,{pluginName:"scroll",initializeByDefault:!0})}),ej.mount(e4,e8);var tf=ej}),d.register("cyLFO",function(e,t){let n;r(e.exports,"default",function(){return i}),(n=d("71TMZ")).__esModule&&(n=n.default),n.render=d("9uqRJ").render,d("fKcpu").default(n),n.__scopeId="data-v-20f456",n.__file="Module.vue";var i=n}),d.register("71TMZ",function(e,t){l(e.exports),r(e.exports,"default",function(){return i});var n=d("86aMW"),i={name:"Settings-Module",props:{module:{type:Object,required:!0},error:{type:Object,required:!0}},data(){return this.module.showInCustom||(this.module.showInCustom="*"),{}},watch:{error:{handler(){this.$emit("update:error",this.error)},deep:!0}},components:{Editor:n.default}}}),d.register("86aMW",function(e,t){let n;r(e.exports,"default",function(){return i}),(n=d("gzttC")).__esModule&&(n=n.default),n.render=d("8xLHj").render,d("gKb85").default(n),n.__scopeId="data-v-d128be",n.__file="Editor.vue";var i=n}),d.register("gzttC",function(e,t){l(e.exports),r(e.exports,"default",function(){return a});// @ts-ignore
+if(!this.options.bubbleScroll||D(o,!0)===V()){e1();return}e3(e,this.options,D(o,!1),!1)}}},a(e,{pluginName:"scroll",initializeByDefault:!0})}),ej.mount(e4,e8);var tf=ej}),d.register("cyLFO",function(e,t){let n;r(e.exports,"default",function(){return i}),(n=d("71TMZ")).__esModule&&(n=n.default),n.render=d("9uqRJ").render,d("fKcpu").default(n),n.__scopeId="data-v-20f456",n.__file="Module.vue";var i=n}),d.register("71TMZ",function(e,t){l(e.exports),r(e.exports,"default",function(){return i});var n=d("86aMW"),i={name:"Settings-Module",props:{module:{type:Object,required:!0},error:{type:Object,required:!0}},data(){return this.module.showInCustom||(this.module.showInCustom="*"),{}},watch:{error:{handler(){this.$emit("update:error",this.error)},deep:!0}},components:{Editor:n.default}}}),d.register("86aMW",function(e,t){let n;r(e.exports,"default",function(){return i}),(n=d("gzttC")).__esModule&&(n=n.default),n.render=d("8xLHj").render,d("gKb85").default(n),n.__scopeId="data-v-4ecfdf",n.__file="Editor.vue";var i=n}),d.register("gzttC",function(e,t){l(e.exports),r(e.exports,"default",function(){return a});// @ts-ignore
var n=d("2uwU8"),i=d("cpyqo");d("7JCoM"),d("8bTTK");var o=d("74PtA"),a={name:"Editor",props:{config:{type:[Object,String],required:!0},error:{type:String,default:!1},title:{type:String,required:!0},icon:{type:String,required:!0}},data(){let e="string"==typeof this.config?this.config:(0,o.stringify)(this.config);return{code:"''\n"===e?"":e,errorMessage:this.error}},watch:{code(){this.check()},errorMessage(){this.$emit("update:error",this.errorMessage)}},methods:{highlighter:e=>(0,i.highlight)(e,i.languages.yaml,"yaml"),check(){try{let e=(0,o.parse)(this.code)||"";this.errorMessage="",this.$emit("update:config",e)}catch(e){this.errorMessage=e.message,this.$emit("update:config",this.code)}}},components:{PrismEditor:n.PrismEditor}}}),d.register("2uwU8",function(e,t){r(e.exports,"PrismEditor",function(){return l}),d("iLzJG");var n=d("7UzhH");function i(){return(i=Object.assign||function(e){for(var t=1;t"},lineNumbersCount:function(){return this.codeData.split(/\r\n|\n/).length}},mounted:function(){this._recordCurrentState(),this.styleLineNumbers()},methods:{setLineNumbersHeight:function(){this.lineNumbersHeight=getComputedStyle(this.$refs.pre).height},styleLineNumbers:function(){if(this.lineNumbers&&this.autoStyleLineNumbers){var e=this.$refs.pre,t=this.$el.querySelector(".prism-editor__line-numbers"),n=window.getComputedStyle(e);this.$nextTick(function(){var r="border-top-left-radius",i="border-bottom-left-radius";t&&(t.style[r]=n[r],t.style[i]=n[i],e.style[r]="0",e.style[i]="0",["background-color","margin-top","padding-top","font-family","font-size","line-height"].forEach(function(e){t.style[e]=n[e]}),t.style["margin-bottom"]="-"+n["padding-top"])})}},_recordCurrentState:function(){var e=this.$refs.textarea;if(e){var t=e.value,n=e.selectionStart,r=e.selectionEnd;this._recordChange({value:t,selectionStart:n,selectionEnd:r})}// Save current state of the input
},_getLines:function(e,t){return e.substring(0,t).split("\n")},_applyEdits:function(e){// Save last selection state
var t=this.$refs.textarea,n=this.history.stack[this.history.offset];n&&t&&(this.history.stack[this.history.offset]=i({},n,{selectionStart:t.selectionStart,selectionEnd:t.selectionEnd})),// Save the changes
@@ -1450,7 +1450,7 @@ var t=/[*&][^\s[\]{},]+/,n=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!
* @param {string} value
* @param {string} [flags]
* @returns {RegExp}
- */function a(e,t){return t=(t||"").replace(/m/g,"")+"m",RegExp(/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,function(){return r}).replace(/<>/g,function(){return e}),t)}e.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,function(){return r})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,function(){return r}).replace(/<>/g,function(){return"(?:"+i+"|"+o+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:a(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:a(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:a(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:a(o),lookbehind:!0,greedy:!0},number:{pattern:a(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:n,important:t,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},e.languages.yml=e.languages.yaml}(Prism)}),d.register("8xLHj",function(e,t){r(e.exports,"render",function(){return o}),d("iLzJG");var n=d("7UzhH"),i=d("1bZPG");function o(e,t,r,o,a,l){let s=(0,n.resolveComponent)("v-icon"),u=(0,n.resolveComponent)("v-expansion-panel-title"),c=(0,n.resolveComponent)("v-divider"),d=(0,n.resolveComponent)("prism-editor"),f=(0,n.resolveComponent)("v-expansion-panel-text"),h=(0,n.resolveComponent)("v-expansion-panel");return(0,n.openBlock)(),(0,n.createBlock)(h,null,{default:(0,n.withCtx)(()=>[(0,n.createVNode)(u,null,{actions:(0,n.withCtx)(()=>[(0,n.createVNode)(s,{style:(0,i.normalizeStyle)(a.errorMessage?"color: red;":"")},{default:(0,n.withCtx)(()=>[(0,n.createTextVNode)((0,i.toDisplayString)(r.icon),1)]),_:1},8,["style"])]),default:(0,n.withCtx)(()=>[(0,n.createTextVNode)((0,i.toDisplayString)(r.title)+" ",1)]),_:1}),(0,n.createVNode)(f,null,{default:(0,n.withCtx)(()=>[(0,n.createElementVNode)("div",{style:(0,i.normalizeStyle)([{"font-size":"small","margin-bottom":"0.25rem"},a.errorMessage?"color: red;":"color: gray;"])},(0,i.toDisplayString)(a.errorMessage||"Valid YAML or JSON configuration"),5),(0,n.createVNode)(c,{style:{"margin-bottom":"0.5rem"}}),(0,n.createVNode)(d,{modelValue:a.code,"onUpdate:modelValue":t[0]||(t[0]=e=>a.code=e),highlight:l.highlighter,"line-numbers":""},null,8,["modelValue","highlight"])]),_:1})]),_:1})}}),d.register("gKb85",function(e,t){r(e.exports,"default",function(){return n});var n=e=>{}}),d.register("9uqRJ",function(e,t){r(e.exports,"render",function(){return a}),d("iLzJG");var n=d("7UzhH");let i=/*#__PURE__*/(0,n.createElementVNode)("p",null,"Width",-1),o=/*#__PURE__*/(0,n.createElementVNode)("p",null,"Height",-1);function a(e,t,r,a,l,s){let u=(0,n.resolveComponent)("v-icon"),c=(0,n.resolveComponent)("v-expansion-panel-title"),d=(0,n.resolveComponent)("v-text-field"),f=(0,n.resolveComponent)("v-expansion-panel-text"),h=(0,n.resolveComponent)("v-expansion-panel"),p=(0,n.resolveComponent)("v-radio"),m=(0,n.resolveComponent)("v-radio-group"),g=(0,n.resolveComponent)("v-container"),y=(0,n.resolveComponent)("v-col"),b=(0,n.resolveComponent)("v-row"),_=(0,n.resolveComponent)("Editor"),w=(0,n.resolveComponent)("v-expansion-panels");return(0,n.openBlock)(),(0,n.createBlock)(w,{variant:"accordion",style:{"min-width":"400px"}},{default:(0,n.withCtx)(()=>[(0,n.createVNode)(h,null,{default:(0,n.withCtx)(()=>[(0,n.createVNode)(c,null,{actions:(0,n.withCtx)(()=>[(0,n.createVNode)(u,null,{default:(0,n.withCtx)(()=>[(0,n.createTextVNode)(" mdi-link ")]),_:1})]),default:(0,n.withCtx)(()=>[(0,n.createTextVNode)(" URL ")]),_:1}),(0,n.createVNode)(f,null,{default:(0,n.withCtx)(()=>[(0,n.createVNode)(d,{variant:"underlined",label:"Module URL",modelValue:r.module.url,"onUpdate:modelValue":t[0]||(t[0]=e=>r.module.url=e)},null,8,["modelValue"])]),_:1})]),_:1}),(0,n.createVNode)(h,null,{default:(0,n.withCtx)(()=>[(0,n.createVNode)(c,null,{actions:(0,n.withCtx)(()=>[(0,n.createVNode)(u,null,{default:(0,n.withCtx)(()=>[(0,n.createTextVNode)(" mdi-pencil-ruler ")]),_:1})]),default:(0,n.withCtx)(()=>[(0,n.createTextVNode)(" Design ")]),_:1}),(0,n.createVNode)(f,null,{default:(0,n.withCtx)(()=>[(0,n.createVNode)(b,null,{default:(0,n.withCtx)(()=>[(0,n.createVNode)(y,{cols:"6"},{default:(0,n.withCtx)(()=>[(0,n.createVNode)(g,{fluid:""},{default:(0,n.withCtx)(()=>[i,(0,n.createVNode)(m,{modelValue:r.module.width,"onUpdate:modelValue":t[1]||(t[1]=e=>r.module.width=e)},{default:(0,n.withCtx)(()=>[(0,n.createVNode)(p,{label:"Full (1000px)",value:"full"}),(0,n.createVNode)(p,{label:"Half (500px)",value:"half"}),(0,n.createVNode)(p,{label:"Quarter (250px)",value:"third"})]),_:1},8,["modelValue"])]),_:1})]),_:1}),(0,n.createVNode)(y,{cols:"6"},{default:(0,n.withCtx)(()=>[(0,n.createVNode)(g,{fluid:""},{default:(0,n.withCtx)(()=>[o,(0,n.createVNode)(m,{modelValue:r.module.height,"onUpdate:modelValue":t[2]||(t[2]=e=>r.module.height=e)},{default:(0,n.withCtx)(()=>[(0,n.createVNode)(p,{label:"HUGE (830px)",value:"huge"}),(0,n.createVNode)(p,{label:"Tall (720x)",value:"tall"}),(0,n.createVNode)(p,{label:"Medium (410px)",value:"medium"}),(0,n.createVNode)(p,{label:"Short (200px)",value:"short"})]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1})]),_:1}),(0,n.createVNode)(_,{title:"General settings",icon:"mdi-script-text",config:r.module.config,"onUpdate:config":t[3]||(t[3]=e=>r.module.config=e),error:r.error.config,"onUpdate:error":t[4]||(t[4]=e=>r.error.config=e)},null,8,["config","error"]),(0,n.createVNode)(_,{title:"Student settings",icon:"mdi-account-circle-outline",config:r.module.studentConfig,"onUpdate:config":t[5]||(t[5]=e=>r.module.studentConfig=e),error:r.error.studentConfig,"onUpdate:error":t[6]||(t[6]=e=>r.error.studentConfig=e)},null,8,["config","error"]),(0,n.createVNode)(_,{title:"Teacher settings",icon:"mdi-clipboard-account-outline",config:r.module.teacherConfig,"onUpdate:config":t[7]||(t[7]=e=>r.module.teacherConfig=e),error:r.error.teacherConfig,"onUpdate:error":t[8]||(t[8]=e=>r.error.teacherConfig=e)},null,8,["config","error"]),(0,n.createVNode)(_,{title:"Station settings",icon:"mdi-router-wireless",config:r.module.stationConfig,"onUpdate:config":t[9]||(t[9]=e=>r.module.stationConfig=e),error:r.error.stationConfig,"onUpdate:error":t[10]||(t[10]=e=>r.error.stationConfig=e)},null,8,["config","error"]),(0,n.createVNode)(h,null,{default:(0,n.withCtx)(()=>[(0,n.createVNode)(c,null,{actions:(0,n.withCtx)(()=>[(0,n.createVNode)(u,null,{default:(0,n.withCtx)(()=>[(0,n.createTextVNode)(" mdi-eye ")]),_:1})]),default:(0,n.withCtx)(()=>[(0,n.createTextVNode)(" Show in ")]),_:1}),(0,n.createVNode)(f,null,{default:(0,n.withCtx)(()=>[(0,n.createVNode)(d,{variant:"underlined",label:"Comma separated list of rooms, or: lobby, * for all, teacher-only, station",modelValue:r.module.showInCustom,"onUpdate:modelValue":t[11]||(t[11]=e=>r.module.showInCustom=e)},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})}}),d.register("fKcpu",function(e,t){r(e.exports,"default",function(){return n});var n=e=>{}}),d.register("49BHR",function(e,t){r(e.exports,"render",function(){return o}),d("iLzJG");var n=d("7UzhH"),i=d("1bZPG");function o(e,t,r,o,a,l){let s=(0,n.resolveComponent)("v-icon"),u=(0,n.resolveComponent)("v-chip"),c=(0,n.resolveComponent)("v-list-item-title"),d=(0,n.resolveComponent)("v-list-item-subtitle"),f=(0,n.resolveComponent)("v-btn"),h=(0,n.resolveComponent)("Module"),p=(0,n.resolveComponent)("v-menu"),m=(0,n.resolveComponent)("v-list-item"),g=(0,n.resolveComponent)("v-list"),y=(0,n.resolveComponent)("draggable"),b=(0,n.resolveComponent)("v-text-field"),_=(0,n.resolveComponent)("v-divider");return(0,n.openBlock)(),(0,n.createElementBlock)(n.Fragment,null,[(0,n.createVNode)(g,{lines:"three"},{default:(0,n.withCtx)(()=>[(0,n.createVNode)(y,{list:r.config.modules,"item-key":"id",onEnd:l.move,class:"list-group"},{item:(0,n.withCtx)(({element:e,index:t})=>[((0,n.openBlock)(),(0,n.createBlock)(m,{key:t,class:"list-group-item"},{prepend:(0,n.withCtx)(()=>[(0,n.createVNode)(s,{icon:r.scrapedModules[t].icon||"mdi-package"},null,8,["icon"])]),append:(0,n.withCtx)(()=>[(0,n.createVNode)(p,{"close-on-content-click":!1},{activator:(0,n.withCtx)(({props:e})=>[(0,n.createVNode)(f,(0,n.mergeProps)({icon:"mdi-cog",variant:"text"},e,{style:l.validate_config(t)?"":"color: red"}),null,16,["style"])]),default:(0,n.withCtx)(()=>[(0,n.createVNode)(h,{module:r.config.modules[t],"onUpdate:module":e=>r.config.modules[t]=e,error:a.errors[t],"onUpdate:error":e=>a.errors[t]=e},null,8,["module","onUpdate:module","error","onUpdate:error"])]),_:2},1024),(0,n.createVNode)(p,null,{activator:(0,n.withCtx)(({props:e})=>[(0,n.createVNode)(f,(0,n.mergeProps)(e,{icon:"mdi-delete",variant:"text"}),null,16)]),default:(0,n.withCtx)(()=>[(0,n.createVNode)(g,null,{default:(0,n.withCtx)(()=>[(0,n.createVNode)(m,null,{default:(0,n.withCtx)(()=>[(0,n.createVNode)(c,null,{default:(0,n.withCtx)(()=>[(0,n.createTextVNode)(" Delete the module and its configuration? ")]),_:1}),(0,n.createVNode)(f,{color:"red",depressed:"",onClick:e=>l.deleteModule(t),class:"float-right",style:{"margin-top":"10px"}},{default:(0,n.withCtx)(()=>[(0,n.createTextVNode)(" Yes ")]),_:2},1032,["onClick"])]),_:2},1024)]),_:2},1024)]),_:2},1024)]),default:(0,n.withCtx)(()=>{var o;return[(0,n.createVNode)(c,null,{default:(0,n.withCtx)(()=>[(0,n.createTextVNode)((0,i.toDisplayString)(r.scrapedModules[t].name)+" ",1),(0,n.createVNode)(u,{size:"x-small"},{default:(0,n.withCtx)(()=>[(0,n.createTextVNode)((0,i.toDisplayString)(e.showInCustom||"*"),1)]),_:2},1024)]),_:2},1024),(0,n.createVNode)(d,{innerHTML:(null===(o=r.scrapedModules[t])||void 0===o?void 0:o.description)||"No description",style:{"white-space":"break-spaces"}},null,8,["innerHTML"])]}),_:2},1024))]),_:1},8,["list","onEnd"]),(0,n.createVNode)(m,null,{prepend:(0,n.withCtx)(()=>[(0,n.createVNode)(s,{icon:"mdi-link"})]),append:(0,n.withCtx)(()=>[(0,n.createVNode)(f,{onClick:l.loadURL,disabled:!l.validate_url(a.moduleImportUrl)},{default:(0,n.withCtx)(()=>[(0,n.createVNode)(s,{left:""},{default:(0,n.withCtx)(()=>[(0,n.createTextVNode)(" mdi-view-grid-plus ")]),_:1}),(0,n.createTextVNode)(" Add ")]),_:1},8,["onClick","disabled"])]),default:(0,n.withCtx)(()=>[(0,n.createVNode)(b,{modelValue:a.moduleImportUrl,"onUpdate:modelValue":t[0]||(t[0]=e=>a.moduleImportUrl=e),label:"Module URL",variant:"underlined",required:"",style:{width:"calc(100% - 40px)"}},null,8,["modelValue"])]),_:1})]),_:1}),(0,n.createVNode)(_,{class:"pb-2"}),(0,n.createVNode)(f,{href:"https://github.com/topics/edrys-module",target:"_blank"},{default:(0,n.withCtx)(()=>[(0,n.createVNode)(s,{left:""},{default:(0,n.withCtx)(()=>[(0,n.createTextVNode)(" mdi-github ")]),_:1}),(0,n.createTextVNode)(" Explore on GitHub ")]),_:1})],64)}}),d.register("k7493",function(e,t){r(e.exports,"default",function(){return n});var n=e=>{}}),d.register("ecVAu",function(e,t){let n;r(e.exports,"default",function(){return i}),(n=d("8158m")).__esModule&&(n=n.default),n.render=d("8964U").render,d("61IQB").default(n),n.__scopeId="data-v-af4199",n.__file="Stations.vue";var i=n}),d.register("8158m",function(e,t){l(e.exports),r(e.exports,"default",function(){return i});var n=d("74PtA"),i={name:"Settings-Stations",props:{config:{type:Object,required:!0}},data:()=>({url:window.location.toString().replace("classroom","station")}),methods:{copyUrl(){(0,n.copyToClipboard)(this.url)}}}}),d.register("8964U",function(e,t){r(e.exports,"render",function(){return a}),d("iLzJG");var n=d("7UzhH"),i=d("1bZPG");let o=["href"];function a(e,t,r,a,l,s){let u=(0,n.resolveComponent)("v-container"),c=(0,n.resolveComponent)("v-btn"),d=(0,n.resolveComponent)("v-alert");return(0,n.openBlock)(),(0,n.createBlock)(d,{outlined:"",dense:"",type:"info",text:"To add a new station, simply open this link on the client device: "},{append:(0,n.withCtx)(()=>[(0,n.createVNode)(c,{icon:"mdi-content-copy",onClick:s.copyUrl,variant:"text"},null,8,["onClick"])]),default:(0,n.withCtx)(()=>[(0,n.createVNode)(u,null,{default:(0,n.withCtx)(()=>[(0,n.createElementVNode)("a",{href:l.url,target:"_blank"},(0,i.toDisplayString)(l.url),9,o)]),_:1})]),_:1})}}),d.register("61IQB",function(e,t){r(e.exports,"default",function(){return n});var n=e=>{}}),d.register("bWLh8",function(e,t){let n;r(e.exports,"default",function(){return i}),(n=d("cGhBm")).__esModule&&(n=n.default),n.render=d("jaOp2").render,d("fXGwc").default(n),n.__scopeId="data-v-8b8f43",n.__file="Share.vue";var i=n}),d.register("cGhBm",function(e,t){l(e.exports),r(e.exports,"default",function(){return o});var n=d("5dn3r"),i=d("74PtA"),o={name:"Settings-Share",props:{config:{type:Object,required:!0}},data(){return console.log("Classroom config",JSON.stringify(this.config,null,2)),{url:window.location.toString(),selectedURL:"",selectedFile:[],showTemplate:!1,restoreSuccess:!1,saveError:!1,errorMessage:"",restoreFileRules:[e=>!e||e.size<2e6||"File should be less than 2 MB!"]}},methods:{updateConfig(e){e.meta||(e.meta={logo:"",description:"",selfAssign:!1,defaultNumberOfRooms:0}),this.config.name=e.name,this.config.meta=e.meta,this.config.createdBy=(0,i.getPeerID)(),this.config.dateCreated=e.dateCreated,this.config.members=e.members,this.config.modules=e.modules},updateModules(){console.warn("updateModules",this.scrapedModules)},downloadClass(e){let t="yaml"===e?n.dump(this.config):JSON.stringify(this.config,null,2),r="class-"+this.config.id+("yaml"===e?".yml":".json"),i=new Blob([t],{type:"text/"+e}),o=URL.createObjectURL(i),a=document.createElement("a");a.href=o,a.download=r,document.body.appendChild(a),a.click(),document.body.removeChild(a),URL.revokeObjectURL(o)},async restoreURL(){this.restoreSuccess=!1,this.saveError=!1;let e=await fetch(this.selectedURL);if(e.ok){let t=await e.text(),n=(0,i.parseClassroom)(t);if(n){this.updateConfig(n),this.restoreSuccess=!0;return}}this.saveError=!0,this.errorMessage=`Could not parse the content within the URL: ${this.selectedURL}`,console.warn("Could not parse the content within the URL:",this.selectedURL)},restoreFile(){this.restoreSuccess=!1,this.saveError=!1;let e=new FileReader;e.readAsText(this.selectedFile[0]),e.onload=t=>{var n;// will load yaml and json as well
+ */function a(e,t){return t=(t||"").replace(/m/g,"")+"m",RegExp(/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,function(){return r}).replace(/<>/g,function(){return e}),t)}e.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,function(){return r})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,function(){return r}).replace(/<>/g,function(){return"(?:"+i+"|"+o+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:a(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:a(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:a(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:a(o),lookbehind:!0,greedy:!0},number:{pattern:a(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:n,important:t,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},e.languages.yml=e.languages.yaml}(Prism)}),d.register("8xLHj",function(e,t){r(e.exports,"render",function(){return o}),d("iLzJG");var n=d("7UzhH"),i=d("1bZPG");function o(e,t,r,o,a,l){let s=(0,n.resolveComponent)("v-icon"),u=(0,n.resolveComponent)("v-expansion-panel-title"),c=(0,n.resolveComponent)("v-divider"),d=(0,n.resolveComponent)("prism-editor"),f=(0,n.resolveComponent)("v-expansion-panel-text"),h=(0,n.resolveComponent)("v-expansion-panel");return(0,n.openBlock)(),(0,n.createBlock)(h,null,{default:(0,n.withCtx)(()=>[(0,n.createVNode)(u,null,{actions:(0,n.withCtx)(()=>[(0,n.createVNode)(s,{style:(0,i.normalizeStyle)(a.errorMessage?"color: red;":"")},{default:(0,n.withCtx)(()=>[(0,n.createTextVNode)((0,i.toDisplayString)(r.icon),1)]),_:1},8,["style"])]),default:(0,n.withCtx)(()=>[(0,n.createTextVNode)((0,i.toDisplayString)(r.title)+" ",1)]),_:1}),(0,n.createVNode)(f,{style:{"max-height":"60vh"}},{default:(0,n.withCtx)(()=>[(0,n.createElementVNode)("div",{style:(0,i.normalizeStyle)([{"font-size":"small","margin-bottom":"0.25rem"},a.errorMessage?"color: red;":"color: gray;"])},(0,i.toDisplayString)(a.errorMessage||"Valid YAML or JSON configuration"),5),(0,n.createVNode)(c,{style:{"margin-bottom":"0.5rem"}}),(0,n.createVNode)(d,{modelValue:a.code,"onUpdate:modelValue":t[0]||(t[0]=e=>a.code=e),highlight:l.highlighter,"line-numbers":""},null,8,["modelValue","highlight"])]),_:1})]),_:1})}}),d.register("gKb85",function(e,t){r(e.exports,"default",function(){return n});var n=e=>{}}),d.register("9uqRJ",function(e,t){r(e.exports,"render",function(){return a}),d("iLzJG");var n=d("7UzhH");let i=/*#__PURE__*/(0,n.createElementVNode)("p",null,"Width",-1),o=/*#__PURE__*/(0,n.createElementVNode)("p",null,"Height",-1);function a(e,t,r,a,l,s){let u=(0,n.resolveComponent)("v-icon"),c=(0,n.resolveComponent)("v-expansion-panel-title"),d=(0,n.resolveComponent)("v-text-field"),f=(0,n.resolveComponent)("v-expansion-panel-text"),h=(0,n.resolveComponent)("v-expansion-panel"),p=(0,n.resolveComponent)("v-radio"),m=(0,n.resolveComponent)("v-radio-group"),g=(0,n.resolveComponent)("v-container"),y=(0,n.resolveComponent)("v-col"),b=(0,n.resolveComponent)("v-row"),_=(0,n.resolveComponent)("Editor"),w=(0,n.resolveComponent)("v-expansion-panels");return(0,n.openBlock)(),(0,n.createBlock)(w,{variant:"accordion",style:{"min-width":"400px"}},{default:(0,n.withCtx)(()=>[(0,n.createVNode)(h,null,{default:(0,n.withCtx)(()=>[(0,n.createVNode)(c,null,{actions:(0,n.withCtx)(()=>[(0,n.createVNode)(u,null,{default:(0,n.withCtx)(()=>[(0,n.createTextVNode)(" mdi-link ")]),_:1})]),default:(0,n.withCtx)(()=>[(0,n.createTextVNode)(" URL ")]),_:1}),(0,n.createVNode)(f,null,{default:(0,n.withCtx)(()=>[(0,n.createVNode)(d,{variant:"underlined",label:"Module URL",modelValue:r.module.url,"onUpdate:modelValue":t[0]||(t[0]=e=>r.module.url=e)},null,8,["modelValue"])]),_:1})]),_:1}),(0,n.createVNode)(h,null,{default:(0,n.withCtx)(()=>[(0,n.createVNode)(c,null,{actions:(0,n.withCtx)(()=>[(0,n.createVNode)(u,null,{default:(0,n.withCtx)(()=>[(0,n.createTextVNode)(" mdi-pencil-ruler ")]),_:1})]),default:(0,n.withCtx)(()=>[(0,n.createTextVNode)(" Design ")]),_:1}),(0,n.createVNode)(f,null,{default:(0,n.withCtx)(()=>[(0,n.createVNode)(b,null,{default:(0,n.withCtx)(()=>[(0,n.createVNode)(y,{cols:"6"},{default:(0,n.withCtx)(()=>[(0,n.createVNode)(g,{fluid:""},{default:(0,n.withCtx)(()=>[i,(0,n.createVNode)(m,{modelValue:r.module.width,"onUpdate:modelValue":t[1]||(t[1]=e=>r.module.width=e)},{default:(0,n.withCtx)(()=>[(0,n.createVNode)(p,{label:"Full (1000px)",value:"full"}),(0,n.createVNode)(p,{label:"Half (500px)",value:"half"}),(0,n.createVNode)(p,{label:"Quarter (250px)",value:"third"})]),_:1},8,["modelValue"])]),_:1})]),_:1}),(0,n.createVNode)(y,{cols:"6"},{default:(0,n.withCtx)(()=>[(0,n.createVNode)(g,{fluid:""},{default:(0,n.withCtx)(()=>[o,(0,n.createVNode)(m,{modelValue:r.module.height,"onUpdate:modelValue":t[2]||(t[2]=e=>r.module.height=e)},{default:(0,n.withCtx)(()=>[(0,n.createVNode)(p,{label:"HUGE (830px)",value:"huge"}),(0,n.createVNode)(p,{label:"Tall (720x)",value:"tall"}),(0,n.createVNode)(p,{label:"Medium (410px)",value:"medium"}),(0,n.createVNode)(p,{label:"Short (200px)",value:"short"})]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1})]),_:1}),(0,n.createVNode)(_,{title:"General settings",icon:"mdi-script-text",config:r.module.config,"onUpdate:config":t[3]||(t[3]=e=>r.module.config=e),error:r.error.config,"onUpdate:error":t[4]||(t[4]=e=>r.error.config=e)},null,8,["config","error"]),(0,n.createVNode)(_,{title:"Student settings",icon:"mdi-account-circle-outline",config:r.module.studentConfig,"onUpdate:config":t[5]||(t[5]=e=>r.module.studentConfig=e),error:r.error.studentConfig,"onUpdate:error":t[6]||(t[6]=e=>r.error.studentConfig=e)},null,8,["config","error"]),(0,n.createVNode)(_,{title:"Teacher settings",icon:"mdi-clipboard-account-outline",config:r.module.teacherConfig,"onUpdate:config":t[7]||(t[7]=e=>r.module.teacherConfig=e),error:r.error.teacherConfig,"onUpdate:error":t[8]||(t[8]=e=>r.error.teacherConfig=e)},null,8,["config","error"]),(0,n.createVNode)(_,{title:"Station settings",icon:"mdi-router-wireless",config:r.module.stationConfig,"onUpdate:config":t[9]||(t[9]=e=>r.module.stationConfig=e),error:r.error.stationConfig,"onUpdate:error":t[10]||(t[10]=e=>r.error.stationConfig=e)},null,8,["config","error"]),(0,n.createVNode)(h,null,{default:(0,n.withCtx)(()=>[(0,n.createVNode)(c,null,{actions:(0,n.withCtx)(()=>[(0,n.createVNode)(u,null,{default:(0,n.withCtx)(()=>[(0,n.createTextVNode)(" mdi-eye ")]),_:1})]),default:(0,n.withCtx)(()=>[(0,n.createTextVNode)(" Show in ")]),_:1}),(0,n.createVNode)(f,null,{default:(0,n.withCtx)(()=>[(0,n.createVNode)(d,{variant:"underlined",label:"Comma separated list of rooms, or: lobby, * for all, teacher-only, station",modelValue:r.module.showInCustom,"onUpdate:modelValue":t[11]||(t[11]=e=>r.module.showInCustom=e)},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})}}),d.register("fKcpu",function(e,t){r(e.exports,"default",function(){return n});var n=e=>{}}),d.register("49BHR",function(e,t){r(e.exports,"render",function(){return o}),d("iLzJG");var n=d("7UzhH"),i=d("1bZPG");function o(e,t,r,o,a,l){let s=(0,n.resolveComponent)("v-icon"),u=(0,n.resolveComponent)("v-chip"),c=(0,n.resolveComponent)("v-list-item-title"),d=(0,n.resolveComponent)("v-list-item-subtitle"),f=(0,n.resolveComponent)("v-btn"),h=(0,n.resolveComponent)("Module"),p=(0,n.resolveComponent)("v-menu"),m=(0,n.resolveComponent)("v-list-item"),g=(0,n.resolveComponent)("v-list"),y=(0,n.resolveComponent)("draggable"),b=(0,n.resolveComponent)("v-text-field"),_=(0,n.resolveComponent)("v-divider");return(0,n.openBlock)(),(0,n.createElementBlock)(n.Fragment,null,[(0,n.createVNode)(g,{lines:"three"},{default:(0,n.withCtx)(()=>[(0,n.createVNode)(y,{list:r.config.modules,"item-key":"id",onEnd:l.move,class:"list-group"},{item:(0,n.withCtx)(({element:e,index:t})=>[((0,n.openBlock)(),(0,n.createBlock)(m,{key:t,class:"list-group-item"},{prepend:(0,n.withCtx)(()=>[(0,n.createVNode)(s,{icon:r.scrapedModules[t].icon||"mdi-package"},null,8,["icon"])]),append:(0,n.withCtx)(()=>[(0,n.createVNode)(p,{"close-on-content-click":!1},{activator:(0,n.withCtx)(({props:e})=>[(0,n.createVNode)(f,(0,n.mergeProps)({icon:"mdi-cog",variant:"text"},e,{style:l.validate_config(t)?"":"color: red"}),null,16,["style"])]),default:(0,n.withCtx)(()=>[(0,n.createVNode)(h,{module:r.config.modules[t],"onUpdate:module":e=>r.config.modules[t]=e,error:a.errors[t],"onUpdate:error":e=>a.errors[t]=e},null,8,["module","onUpdate:module","error","onUpdate:error"])]),_:2},1024),(0,n.createVNode)(p,null,{activator:(0,n.withCtx)(({props:e})=>[(0,n.createVNode)(f,(0,n.mergeProps)(e,{icon:"mdi-delete",variant:"text"}),null,16)]),default:(0,n.withCtx)(()=>[(0,n.createVNode)(g,null,{default:(0,n.withCtx)(()=>[(0,n.createVNode)(m,null,{default:(0,n.withCtx)(()=>[(0,n.createVNode)(c,null,{default:(0,n.withCtx)(()=>[(0,n.createTextVNode)(" Delete the module and its configuration? ")]),_:1}),(0,n.createVNode)(f,{color:"red",depressed:"",onClick:e=>l.deleteModule(t),class:"float-right",style:{"margin-top":"10px"}},{default:(0,n.withCtx)(()=>[(0,n.createTextVNode)(" Yes ")]),_:2},1032,["onClick"])]),_:2},1024)]),_:2},1024)]),_:2},1024)]),default:(0,n.withCtx)(()=>{var o;return[(0,n.createVNode)(c,null,{default:(0,n.withCtx)(()=>[(0,n.createTextVNode)((0,i.toDisplayString)(r.scrapedModules[t].name)+" ",1),(0,n.createVNode)(u,{size:"x-small"},{default:(0,n.withCtx)(()=>[(0,n.createTextVNode)((0,i.toDisplayString)(e.showInCustom||"*"),1)]),_:2},1024)]),_:2},1024),(0,n.createVNode)(d,{innerHTML:(null===(o=r.scrapedModules[t])||void 0===o?void 0:o.description)||"No description",style:{"white-space":"break-spaces"}},null,8,["innerHTML"])]}),_:2},1024))]),_:1},8,["list","onEnd"]),(0,n.createVNode)(m,null,{prepend:(0,n.withCtx)(()=>[(0,n.createVNode)(s,{icon:"mdi-link"})]),append:(0,n.withCtx)(()=>[(0,n.createVNode)(f,{onClick:l.loadURL,disabled:!l.validate_url(a.moduleImportUrl)},{default:(0,n.withCtx)(()=>[(0,n.createVNode)(s,{left:""},{default:(0,n.withCtx)(()=>[(0,n.createTextVNode)(" mdi-view-grid-plus ")]),_:1}),(0,n.createTextVNode)(" Add ")]),_:1},8,["onClick","disabled"])]),default:(0,n.withCtx)(()=>[(0,n.createVNode)(b,{modelValue:a.moduleImportUrl,"onUpdate:modelValue":t[0]||(t[0]=e=>a.moduleImportUrl=e),label:"Module URL",variant:"underlined",required:"",style:{width:"calc(100% - 40px)"}},null,8,["modelValue"])]),_:1})]),_:1}),(0,n.createVNode)(_,{class:"pb-2"}),(0,n.createVNode)(f,{href:"https://github.com/topics/edrys-module",target:"_blank"},{default:(0,n.withCtx)(()=>[(0,n.createVNode)(s,{left:""},{default:(0,n.withCtx)(()=>[(0,n.createTextVNode)(" mdi-github ")]),_:1}),(0,n.createTextVNode)(" Explore on GitHub ")]),_:1})],64)}}),d.register("k7493",function(e,t){r(e.exports,"default",function(){return n});var n=e=>{}}),d.register("ecVAu",function(e,t){let n;r(e.exports,"default",function(){return i}),(n=d("8158m")).__esModule&&(n=n.default),n.render=d("8964U").render,d("61IQB").default(n),n.__scopeId="data-v-af4199",n.__file="Stations.vue";var i=n}),d.register("8158m",function(e,t){l(e.exports),r(e.exports,"default",function(){return i});var n=d("74PtA"),i={name:"Settings-Stations",props:{config:{type:Object,required:!0}},data:()=>({url:window.location.toString().replace("classroom","station")}),methods:{copyUrl(){(0,n.copyToClipboard)(this.url)}}}}),d.register("8964U",function(e,t){r(e.exports,"render",function(){return a}),d("iLzJG");var n=d("7UzhH"),i=d("1bZPG");let o=["href"];function a(e,t,r,a,l,s){let u=(0,n.resolveComponent)("v-container"),c=(0,n.resolveComponent)("v-btn"),d=(0,n.resolveComponent)("v-alert");return(0,n.openBlock)(),(0,n.createBlock)(d,{outlined:"",dense:"",type:"info",text:"To add a new station, simply open this link on the client device: "},{append:(0,n.withCtx)(()=>[(0,n.createVNode)(c,{icon:"mdi-content-copy",onClick:s.copyUrl,variant:"text"},null,8,["onClick"])]),default:(0,n.withCtx)(()=>[(0,n.createVNode)(u,null,{default:(0,n.withCtx)(()=>[(0,n.createElementVNode)("a",{href:l.url,target:"_blank"},(0,i.toDisplayString)(l.url),9,o)]),_:1})]),_:1})}}),d.register("61IQB",function(e,t){r(e.exports,"default",function(){return n});var n=e=>{}}),d.register("bWLh8",function(e,t){let n;r(e.exports,"default",function(){return i}),(n=d("cGhBm")).__esModule&&(n=n.default),n.render=d("jaOp2").render,d("fXGwc").default(n),n.__scopeId="data-v-8b8f43",n.__file="Share.vue";var i=n}),d.register("cGhBm",function(e,t){l(e.exports),r(e.exports,"default",function(){return o});var n=d("5dn3r"),i=d("74PtA"),o={name:"Settings-Share",props:{config:{type:Object,required:!0}},data(){return console.log("Classroom config",JSON.stringify(this.config,null,2)),{url:window.location.toString(),selectedURL:"",selectedFile:[],showTemplate:!1,restoreSuccess:!1,saveError:!1,errorMessage:"",restoreFileRules:[e=>!e||e.size<2e6||"File should be less than 2 MB!"]}},methods:{updateConfig(e){e.meta||(e.meta={logo:"",description:"",selfAssign:!1,defaultNumberOfRooms:0}),this.config.name=e.name,this.config.meta=e.meta,this.config.createdBy=(0,i.getPeerID)(),this.config.dateCreated=e.dateCreated,this.config.members=e.members,this.config.modules=e.modules},updateModules(){console.warn("updateModules",this.scrapedModules)},downloadClass(e){let t="yaml"===e?n.dump(this.config):JSON.stringify(this.config,null,2),r="class-"+this.config.id+("yaml"===e?".yml":".json"),i=new Blob([t],{type:"text/"+e}),o=URL.createObjectURL(i),a=document.createElement("a");a.href=o,a.download=r,document.body.appendChild(a),a.click(),document.body.removeChild(a),URL.revokeObjectURL(o)},async restoreURL(){this.restoreSuccess=!1,this.saveError=!1;let e=await fetch(this.selectedURL);if(e.ok){let t=await e.text(),n=(0,i.parseClassroom)(t);if(n){this.updateConfig(n),this.restoreSuccess=!0;return}}this.saveError=!0,this.errorMessage=`Could not parse the content within the URL: ${this.selectedURL}`,console.warn("Could not parse the content within the URL:",this.selectedURL)},restoreFile(){this.restoreSuccess=!1,this.saveError=!1;let e=new FileReader;e.readAsText(this.selectedFile[0]),e.onload=t=>{var n;// will load yaml and json as well
let r=(0,i.parseClassroom)((null===(n=e.result)||void 0===n?void 0:n.toString())||"");r?(//this.updateState(newClass);
this.updateConfig(r),this.restoreSuccess=!0,console.log("restoreFile: loaded class",r)):(this.restoreSuccess=!1,this.saveError=!0,this.errorMessage="Failed to restore classroom configuration from file.",console.warn("restoreFile: failed to load class",r))},e.onerror=e=>{this.restoreSuccess=!1,this.saveError=!0,console.warn("restoreFile",e)}}},computed:{selectedURLIcon(){return this.selectedURL?"mdi-upload":""},selectedFileIcon(){return void 0!==this.selectedFile[0]?"mdi-upload":""}}}}),d.register("jaOp2",function(e,t){r(e.exports,"render",function(){return o}),d("iLzJG");var n=d("7UzhH"),i=d("kLzvi");function o(e,t,r,o,a,l){let s=(0,n.resolveComponent)("v-icon"),u=(0,n.resolveComponent)("v-btn"),c=(0,n.resolveComponent)("v-col"),d=(0,n.resolveComponent)("v-row"),f=(0,n.resolveComponent)("v-file-input"),h=(0,n.resolveComponent)("v-text-field"),p=(0,n.resolveComponent)("v-divider");return(0,n.openBlock)(),(0,n.createElementBlock)(n.Fragment,null,[(0,n.createVNode)(d,null,{default:(0,n.withCtx)(()=>[(0,n.createVNode)(c,null,{default:(0,n.withCtx)(()=>[(0,n.createVNode)(u,{depressed:"",block:"",onClick:t[0]||(t[0]=e=>l.downloadClass("yaml"))},{default:(0,n.withCtx)(()=>[(0,n.createVNode)(s,{left:""},{default:(0,n.withCtx)(()=>[(0,n.createTextVNode)(" mdi-download ")]),_:1}),(0,n.createTextVNode)(" Download class file (.yml) ")]),_:1})]),_:1}),(0,n.createVNode)(c,null,{default:(0,n.withCtx)(()=>[(0,n.createVNode)(u,{depressed:"",block:"",onClick:t[1]||(t[1]=e=>l.downloadClass("json"))},{default:(0,n.withCtx)(()=>[(0,n.createVNode)(s,{left:""},{default:(0,n.withCtx)(()=>[(0,n.createTextVNode)(" mdi-download ")]),_:1}),(0,n.createTextVNode)(" Download class file (.json) ")]),_:1})]),_:1})]),_:1}),(0,n.createVNode)(d,null,{default:(0,n.withCtx)(()=>[(0,n.createVNode)(c,null,{default:(0,n.withCtx)(()=>[(0,n.createVNode)(f,{dense:"",accept:".yml,.yaml,.json,application/yaml,application/json",label:"Restore class from file (yaml, json)",modelValue:a.selectedFile,"onUpdate:modelValue":t[2]||(t[2]=e=>a.selectedFile=e),"append-icon":l.selectedFileIcon,"onClick:append":(0,i.withModifiers)(l.restoreFile,["self"])},null,8,["modelValue","append-icon","onClick:append"])]),_:1}),(0,n.createVNode)(c,null,{default:(0,n.withCtx)(()=>[(0,n.createVNode)(h,{dense:"",label:"Restore class from URL (http, https)",modelValue:a.selectedURL,"onUpdate:modelValue":t[6]||(t[6]=e=>a.selectedURL=e),"prepend-icon":"mdi-link","append-icon":l.selectedURLIcon,"onClick:append":(0,i.withModifiers)(l.restoreURL,["self"]),onMouseover:t[7]||(t[7]=e=>a.showTemplate=!0),onMouseleave:t[8]||(t[8]=e=>a.showTemplate=!1)},{"append-inner":(0,n.withCtx)(()=>[a.selectedURL.length>0&&a.showTemplate?((0,n.openBlock)(),(0,n.createBlock)(s,{key:0,onMouseover:t[3]||(t[3]=e=>a.showTemplate=!0),onMouseleave:t[4]||(t[4]=e=>a.showTemplate=!1),onClick:t[5]||(t[5]=e=>a.selectedURL="")},{default:(0,n.withCtx)(()=>[(0,n.createTextVNode)("mdi-close-circle")]),_:1})):(0,n.createCommentVNode)("",!0)]),_:1},8,["modelValue","append-icon","onClick:append"])]),_:1})]),_:1}),(0,n.createVNode)(p,{class:"pb-2"}),(0,n.createVNode)(u,{href:"https://github.com/topics/edrys-classroom",target:"_blank"},{default:(0,n.withCtx)(()=>[(0,n.createVNode)(s,{left:""},{default:(0,n.withCtx)(()=>[(0,n.createTextVNode)(" mdi-github ")]),_:1}),(0,n.createTextVNode)(" Explore on GitHub ")]),_:1})],64)}}),d.register("fXGwc",function(e,t){r(e.exports,"default",function(){return n});var n=e=>{}}),d.register("cXXZ9",function(e,t){r(e.exports,"render",function(){return i}),d("iLzJG");var n=d("7UzhH");function i(e,t,r,i,o,a){let l=(0,n.resolveComponent)("v-toolbar-title"),s=(0,n.resolveComponent)("v-spacer"),u=(0,n.resolveComponent)("v-icon"),c=(0,n.resolveComponent)("v-btn"),d=(0,n.resolveComponent)("v-tab"),f=(0,n.resolveComponent)("v-tabs"),h=(0,n.resolveComponent)("v-toolbar"),p=(0,n.resolveComponent)("Main"),m=(0,n.resolveComponent)("v-window-item"),g=(0,n.resolveComponent)("Members"),y=(0,n.resolveComponent)("Modules"),b=(0,n.resolveComponent)("Stations"),_=(0,n.resolveComponent)("Share"),w=(0,n.resolveComponent)("v-window"),x=(0,n.resolveComponent)("v-card-text"),S=(0,n.resolveComponent)("v-badge"),C=(0,n.resolveComponent)("v-list-item-title"),k=(0,n.resolveComponent)("v-list-item"),E=(0,n.resolveComponent)("v-list"),V=(0,n.resolveComponent)("v-menu"),A=(0,n.resolveComponent)("v-card-actions"),N=(0,n.resolveComponent)("v-card");return(0,n.openBlock)(),(0,n.createBlock)(N,null,{default:(0,n.withCtx)(()=>[(0,n.createVNode)(h,{dark:"",flat:""},{extension:(0,n.withCtx)(()=>[(0,n.createVNode)(f,{modelValue:o.tab,"onUpdate:modelValue":t[1]||(t[1]=e=>o.tab=e),"fixed-tabs":"","center-active":"","show-arrows":""},{default:(0,n.withCtx)(()=>[(0,n.createVNode)(d,{active:""},{default:(0,n.withCtx)(()=>[(0,n.createVNode)(u,{left:""},{default:(0,n.withCtx)(()=>[(0,n.createTextVNode)(" mdi-book-open-outline ")]),_:1}),(0,n.createTextVNode)(" Settings ")]),_:1}),(0,n.createVNode)(d,null,{default:(0,n.withCtx)(()=>[(0,n.createVNode)(u,{left:""},{default:(0,n.withCtx)(()=>[(0,n.createTextVNode)(" mdi-account-group ")]),_:1}),(0,n.createTextVNode)(" Members ")]),_:1}),(0,n.createVNode)(d,null,{default:(0,n.withCtx)(()=>[(0,n.createVNode)(u,{left:""},{default:(0,n.withCtx)(()=>[(0,n.createTextVNode)(" mdi-view-dashboard ")]),_:1}),(0,n.createTextVNode)(" Modules ")]),_:1}),(0,n.createVNode)(d,null,{default:(0,n.withCtx)(()=>[(0,n.createVNode)(u,{left:""},{default:(0,n.withCtx)(()=>[(0,n.createTextVNode)(" mdi-router-wireless ")]),_:1}),(0,n.createTextVNode)(" Stations ")]),_:1}),(0,n.createVNode)(d,null,{default:(0,n.withCtx)(()=>[(0,n.createVNode)(u,{left:""},{default:(0,n.withCtx)(()=>[(0,n.createTextVNode)(" mdi-share-variant ")]),_:1}),(0,n.createTextVNode)(" Share ")]),_:1})]),_:1},8,["modelValue"])]),default:(0,n.withCtx)(()=>[(0,n.createVNode)(l,null,{default:(0,n.withCtx)(()=>[(0,n.createTextVNode)("Class Settings")]),_:1}),(0,n.createVNode)(s),(0,n.createVNode)(c,{icon:"",onClick:t[0]||(t[0]=t=>e.$emit("close"))},{default:(0,n.withCtx)(()=>[(0,n.createVNode)(u,null,{default:(0,n.withCtx)(()=>[(0,n.createTextVNode)("mdi-close")]),_:1})]),_:1})]),_:1}),(0,n.createVNode)(x,{style:{height:"565px"}},{default:(0,n.withCtx)(()=>[(0,n.createVNode)(w,{modelValue:o.tab,"onUpdate:modelValue":t[2]||(t[2]=e=>o.tab=e),class:"pt-5"},{default:(0,n.withCtx)(()=>[(0,n.createVNode)(m,null,{default:(0,n.withCtx)(()=>[(0,n.createVNode)(p,{config:r.config},null,8,["config"])]),_:1}),(0,n.createVNode)(m,null,{default:(0,n.withCtx)(()=>[(0,n.createVNode)(g,{members:r.config.members,onUpdateMembers:a.updateMembers},null,8,["members","onUpdateMembers"])]),_:1}),(0,n.createVNode)(m,null,{default:(0,n.withCtx)(()=>[(0,n.createVNode)(y,{config:r.config,"scraped-modules":r.scrapedModules},null,8,["config","scraped-modules"])]),_:1}),(0,n.createVNode)(m,null,{default:(0,n.withCtx)(()=>[(0,n.createVNode)(b,{config:r.config},null,8,["config"])]),_:1}),(0,n.createVNode)(m,null,{default:(0,n.withCtx)(()=>[(0,n.createVNode)(_,{config:r.config},null,8,["config"])]),_:1})]),_:1},8,["modelValue"])]),_:1}),(0,n.createVNode)(A,null,{default:(0,n.withCtx)(()=>[(0,n.createVNode)(c,{onClick:a.saveClass,color:"primary",style:{"margin-top":"30px"}},{default:(0,n.withCtx)(()=>[(0,n.createVNode)(u,{left:""},{default:(0,n.withCtx)(()=>[(0,n.createTextVNode)(" mdi-upload ")]),_:1}),(0,n.createTextVNode)(" Save "),o.configChanged?((0,n.openBlock)(),(0,n.createBlock)(S,{key:0,overlap:"",dot:"",color:"red",style:{position:"relative",bottom:"12px",left:"6px"}})):(0,n.createCommentVNode)("",!0)]),_:1},8,["onClick"]),(0,n.createVNode)(V,null,{activator:(0,n.withCtx)(({props:e})=>[(0,n.createVNode)(c,(0,n.mergeProps)({color:""},e,{style:{"margin-top":"30px","margin-right":"10px","margin-left":"30px"},class:"float-right"}),{default:(0,n.withCtx)(()=>[(0,n.createTextVNode)(" Delete Class ")]),_:2},1040)]),default:(0,n.withCtx)(()=>[(0,n.createVNode)(E,null,{default:(0,n.withCtx)(()=>[(0,n.createVNode)(k,null,{default:(0,n.withCtx)(()=>[(0,n.createVNode)(C,null,{default:(0,n.withCtx)(()=>[(0,n.createTextVNode)(" Are you sure? ")]),_:1}),(0,n.createVNode)(c,{color:"red",depressed:"",onClick:a.deleteClass,class:"float-right",style:{"margin-top":"10px"}},{default:(0,n.withCtx)(()=>[(0,n.createTextVNode)(" Yes, delete forever")]),_:1},8,["onClick"])]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})}}),d.register("3WWGY",function(e,t){r(e.exports,"default",function(){return n});var n=e=>{}}),d.register("fRuO3",function(e,t){let n;r(e.exports,"default",function(){return i}),(n=d("04a5i")).__esModule&&(n=n.default),n.render=d("1jUKt").render,n.__cssModules={},d("4Z55q").default(n),n.__scopeId="data-v-0961a5",n.__file="Modules.vue";var i=n}),d.register("04a5i",function(e,t){l(e.exports),r(e.exports,"default",function(){return o});var n=d("dfACG"),i=d("3M4pY"),o={components:{Module:n.default},name:"Modules",props:["role","username_","liveClassProxy","scrapedModules_","communication","class_id"],data(){return{username:this.username_,grid:null,//scrapedModules: JSON.parse(JSON.stringify(this.scrapedModules_)),
count:0}},computed:{roomName(){var e;let t=this;return setTimeout(()=>{t.gridUpdate()},1e3),(null===(e=this.liveClassProxy.users[this.username])||void 0===e?void 0:e.room)||"Station "+this.username},modulesType(){return this.roomName.startsWith("Station ")?"station":"chat"},scrapedModulesFilter(){return this.scrapedModules_.filter(e=>{let t=e.showInCustom?e.showInCustom.split(",").map(e=>e.trim()):e.shownIn;return(t.includes(this.modulesType)||t.map(e=>e.toLowerCase().replace(/\*/g,".*")).map(e=>new RegExp(e)).map(e=>null!==this.roomName.toLowerCase().match(e)).includes(!0)||"*"==t)&&!t.includes("teacher-only")})}},created(){window.addEventListener("message",this.messageHandler);let e=document.getElementsByTagName("iframe");this.communication.on("message",t=>{for(let n=0;n({}),computed:{iframeOrigin(){return new URL(this.scrapedModule.url).origin}},watch:{liveClassProxy(){this.updateIframe()}},methods:{updateIframe(){//console.warn("updateIframe", typeof this.liveClassProxy_);
diff --git a/docs/index.html b/docs/index.html
index 9cbbd44..052a337 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -1 +1 @@
-Edrys - Lite
\ No newline at end of file
+Edrys - Lite
\ No newline at end of file