From d19d87e72fa5bc274d23e8de899a02549a1df52d Mon Sep 17 00:00:00 2001 From: fancn21th Date: Thu, 9 Nov 2023 10:06:32 +0800 Subject: [PATCH] deploy --- assets/{BranchA-f3e064c7.js => BranchA-0358e166.js} | 2 +- assets/{TrunkA-e4561e66.js => TrunkA-456166fc.js} | 2 +- assets/github-mark-7a0dd11e.svg | 1 + assets/index-38e03fea.js | 11 ----------- assets/index-46f56cb6.css | 1 + assets/index-4c052022.js | 11 +++++++++++ assets/index-c447836f.css | 1 - index.html | 4 ++-- 8 files changed, 17 insertions(+), 16 deletions(-) rename assets/{BranchA-f3e064c7.js => BranchA-0358e166.js} (99%) rename assets/{TrunkA-e4561e66.js => TrunkA-456166fc.js} (72%) create mode 100644 assets/github-mark-7a0dd11e.svg delete mode 100644 assets/index-38e03fea.js create mode 100644 assets/index-46f56cb6.css create mode 100644 assets/index-4c052022.js delete mode 100644 assets/index-c447836f.css diff --git a/assets/BranchA-f3e064c7.js b/assets/BranchA-0358e166.js similarity index 99% rename from assets/BranchA-f3e064c7.js rename to assets/BranchA-0358e166.js index 8f18baa..cb0dddd 100644 --- a/assets/BranchA-f3e064c7.js +++ b/assets/BranchA-0358e166.js @@ -1 +1 @@ -var Y=Object.defineProperty,q=Object.defineProperties;var T=Object.getOwnPropertyDescriptors;var A=Object.getOwnPropertySymbols;var M=Object.prototype.hasOwnProperty,D=Object.prototype.propertyIsEnumerable;var z=(e,t,o)=>t in e?Y(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,C=(e,t)=>{for(var o in t||(t={}))M.call(t,o)&&z(e,o,t[o]);if(A)for(var o of A(t))D.call(t,o)&&z(e,o,t[o]);return e},N=(e,t)=>q(e,T(t));var H=(e,t)=>{var o={};for(var n in e)M.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(e!=null&&A)for(var n of A(e))t.indexOf(n)<0&&D.call(e,n)&&(o[n]=e[n]);return o};import{g as U,b as X,u as v,t as G,d as J,e as K,f as h,w as g,h as B,i as Q,j as Z,_ as I,k as ee,l as te,m as oe,n as ne,p as re,o as w,c as W,a as _,q as p,F as se,s as ae,v as S,M as ue,x as ce,y as le,r as L,z as k,L as ie}from"./index-38e03fea.js";function E(e){return U()?(X(e),!0):!1}function b(e){return typeof e=="function"?e():v(e)}const j=typeof window<"u"&&typeof document<"u",fe=Object.prototype.toString,de=e=>fe.call(e)==="[object Object]",F=()=>{},$=pe();function pe(){var e;return j&&((e=window==null?void 0:window.navigator)==null?void 0:e.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent)}const ve={mounted:"mounted",updated:"updated",unmounted:"unmounted"};function he(...e){if(e.length!==1)return G(...e);const t=e[0];return typeof t=="function"?J(K(()=>({get:t,set:F}))):h(t)}function y(e){var t;const o=b(e);return(t=o==null?void 0:o.$el)!=null?t:o}const R=j?window:void 0;function me(...e){let t,o,n,u;if(typeof e[0]=="string"||Array.isArray(e[0])?([o,n,u]=e,t=R):[t,o,n,u]=e,!t)return F;Array.isArray(o)||(o=[o]),Array.isArray(n)||(n=[n]);const s=[],c=()=>{s.forEach(l=>l()),s.length=0},r=(l,i,d,m)=>(l.addEventListener(i,d,m),()=>l.removeEventListener(i,d,m)),a=g(()=>[y(t),b(u)],([l,i])=>{if(c(),!l)return;const d=de(i)?C({},i):i;s.push(...o.flatMap(m=>n.map(P=>r(l,m,P,d))))},{immediate:!0,flush:"post"}),f=()=>{a(),c()};return E(f),f}function _e(){const e=h(!1);return Q()&&Z(()=>{e.value=!0}),e}function we(e){const t=_e();return B(()=>(t.value,!!e()))}function ye(e,t,o={}){const i=o,{window:n=R}=i,u=H(i,["window"]);let s;const c=we(()=>n&&"ResizeObserver"in n),r=()=>{s&&(s.disconnect(),s=void 0)},a=B(()=>Array.isArray(e)?e.map(d=>y(d)):[y(e)]),f=g(a,d=>{if(r(),c.value&&n){s=new ResizeObserver(t);for(const m of d)m&&s.observe(m,u)}},{immediate:!0,flush:"post",deep:!0}),l=()=>{r(),f()};return E(l),{isSupported:c,stop:l}}function ge(e,t={width:0,height:0},o={}){const{window:n=R,box:u="content-box"}=o,s=B(()=>{var a,f;return(f=(a=y(e))==null?void 0:a.namespaceURI)==null?void 0:f.includes("svg")}),c=h(t.width),r=h(t.height);return ye(e,([a])=>{const f=u==="border-box"?a.borderBoxSize:u==="content-box"?a.contentBoxSize:a.devicePixelContentBoxSize;if(n&&s.value){const l=y(e);if(l){const i=n.getComputedStyle(l);c.value=Number.parseFloat(i.width),r.value=Number.parseFloat(i.height)}}else if(f){const l=Array.isArray(f)?f:[f];c.value=l.reduce((i,{inlineSize:d})=>i+d,0),r.value=l.reduce((i,{blockSize:d})=>i+d,0)}else c.value=a.contentRect.width,r.value=a.contentRect.height},o),g(()=>y(e),a=>{c.value=a?t.width:0,r.value=a?t.height:0}),{width:c,height:r}}const xe={[ve.mounted](e,t){var o;const n=typeof t.value=="function"?t.value:(o=t.value)==null?void 0:o[0],u=typeof t.value=="function"?[]:t.value.slice(1),{width:s,height:c}=ge(e,...u);g([s,c],([r,a])=>n({width:r,height:a}))}};function O(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}function V(e){const t=window.getComputedStyle(e);if(t.overflowX==="scroll"||t.overflowY==="scroll"||t.overflowX==="auto"&&e.clientWidth1?!0:(t.preventDefault&&t.preventDefault(),!1)}function Se(e,t=!1){const o=h(t);let n=null,u;g(he(e),r=>{const a=O(b(r));if(a){const f=a;u=f.style.overflow,o.value&&(f.style.overflow="hidden")}},{immediate:!0});const s=()=>{const r=O(b(e));!r||o.value||($&&(n=me(r,"touchmove",a=>{be(a)},{passive:!1})),r.style.overflow="hidden",o.value=!0)},c=()=>{const r=O(b(e));!r||!o.value||($&&(n==null||n()),r.style.overflow=u,o.value=!1)};return E(c),B({get(){return o.value},set(r){r?s():c()}})}function Ae(){let e=!1;const t=h(!1);return(o,n)=>{if(t.value=n.value,e)return;e=!0;const u=Se(o,n.value);g(t,s=>u.value=s)}}Ae();const Le=4,ke=(e=window.innerHeight,t=10)=>Math.floor((e-t*(Le+1))/4),Be=16,Ce={class:"cards-container"},Oe=!0,Ee=!0,Re={__name:"CardsLayout",props:{layout:{type:Array,required:!0}},setup(e){const t=e;ee(()=>{document.documentElement.style.setProperty("--top-row-height-with-gutter",`${te+oe}px`)});const o=h(0);function n({height:s}){s>0&&(o.value=ke(s))}const u=h(t.layout.map(s=>N(C({},s),{component:ne(s.component)})));return(s,c)=>re((w(),W("div",Ce,[_(v(le),{layout:u.value,"onUpdate:layout":c[0]||(c[0]=r=>u.value=r),"col-num":v(Be),"row-height":o.value,"is-draggable":Oe,"is-resizable":Ee,"vertical-compact":!0,"use-css-transforms":!1,margin:[10,10]},{default:p(()=>[(w(!0),W(se,null,ae(u.value,r=>(w(),S(v(ue),{key:r.i,static:r.static,x:r.x,y:r.y,w:r.w,h:r.h,i:r.i},{default:p(()=>[(w(),S(ce(r.component),{meta:r.meta},null,8,["meta"]))]),_:2},1032,["static","x","y","w","h","i"]))),128))]),_:1},8,["layout","col-num","row-height"])])),[[v(xe),n]])}},ze=I(Re,[["__scopeId","data-v-af3643e6"]]),Me={};function De(e,t){const o=L("f-card-header"),n=L("f-card-tab"),u=L("f-card-body"),s=L("f-card");return w(),S(s,null,{default:p(()=>[_(o,null,{default:p(()=>[k("业务单元A")]),_:1}),_(u,null,{default:p(()=>[_(n,{title:"A"},{default:p(()=>[k("业务功能A")]),_:1}),_(n,{title:"B"},{default:p(()=>[k("业务功能B")]),_:1}),_(n,{title:"C"},{default:p(()=>[k("业务功能C")]),_:1})]),_:1})]),_:1})}const x=I(Me,[["render",De]]),Ne={__name:"Leaves",setup(e){const t=[{x:10,y:0,w:6,h:1,i:1,static:!1,component:x,meta:{}},{x:10,y:1,w:6,h:1,i:2,static:!1,component:x,meta:{}},{x:10,y:2,w:6,h:1,i:3,static:!1,component:x,meta:{}},{x:10,y:3,w:3,h:1,i:4,static:!1,component:x,meta:{}},{x:13,y:3,w:3,h:1,i:5,static:!1,component:x,meta:{}}];return(o,n)=>(w(),S(v(ze),{layout:t}))}},$e={__name:"BranchA",setup(e){return(t,o)=>(w(),S(v(ie),{index:100},{default:p(()=>[_(v(Ne))]),_:1}))}};export{$e as default}; +var Y=Object.defineProperty,q=Object.defineProperties;var T=Object.getOwnPropertyDescriptors;var A=Object.getOwnPropertySymbols;var M=Object.prototype.hasOwnProperty,D=Object.prototype.propertyIsEnumerable;var z=(e,t,o)=>t in e?Y(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,C=(e,t)=>{for(var o in t||(t={}))M.call(t,o)&&z(e,o,t[o]);if(A)for(var o of A(t))D.call(t,o)&&z(e,o,t[o]);return e},N=(e,t)=>q(e,T(t));var H=(e,t)=>{var o={};for(var n in e)M.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(e!=null&&A)for(var n of A(e))t.indexOf(n)<0&&D.call(e,n)&&(o[n]=e[n]);return o};import{g as U,b as X,u as v,t as G,d as J,e as K,f as h,w as g,h as B,i as Q,j as Z,_ as I,k as ee,l as te,m as oe,n as ne,p as re,o as w,c as W,a as _,q as p,F as se,s as ae,v as S,M as ue,x as ce,y as le,r as L,z as k,L as ie}from"./index-4c052022.js";function E(e){return U()?(X(e),!0):!1}function b(e){return typeof e=="function"?e():v(e)}const j=typeof window<"u"&&typeof document<"u",fe=Object.prototype.toString,de=e=>fe.call(e)==="[object Object]",F=()=>{},$=pe();function pe(){var e;return j&&((e=window==null?void 0:window.navigator)==null?void 0:e.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent)}const ve={mounted:"mounted",updated:"updated",unmounted:"unmounted"};function he(...e){if(e.length!==1)return G(...e);const t=e[0];return typeof t=="function"?J(K(()=>({get:t,set:F}))):h(t)}function y(e){var t;const o=b(e);return(t=o==null?void 0:o.$el)!=null?t:o}const R=j?window:void 0;function me(...e){let t,o,n,u;if(typeof e[0]=="string"||Array.isArray(e[0])?([o,n,u]=e,t=R):[t,o,n,u]=e,!t)return F;Array.isArray(o)||(o=[o]),Array.isArray(n)||(n=[n]);const s=[],c=()=>{s.forEach(l=>l()),s.length=0},r=(l,i,d,m)=>(l.addEventListener(i,d,m),()=>l.removeEventListener(i,d,m)),a=g(()=>[y(t),b(u)],([l,i])=>{if(c(),!l)return;const d=de(i)?C({},i):i;s.push(...o.flatMap(m=>n.map(P=>r(l,m,P,d))))},{immediate:!0,flush:"post"}),f=()=>{a(),c()};return E(f),f}function _e(){const e=h(!1);return Q()&&Z(()=>{e.value=!0}),e}function we(e){const t=_e();return B(()=>(t.value,!!e()))}function ye(e,t,o={}){const i=o,{window:n=R}=i,u=H(i,["window"]);let s;const c=we(()=>n&&"ResizeObserver"in n),r=()=>{s&&(s.disconnect(),s=void 0)},a=B(()=>Array.isArray(e)?e.map(d=>y(d)):[y(e)]),f=g(a,d=>{if(r(),c.value&&n){s=new ResizeObserver(t);for(const m of d)m&&s.observe(m,u)}},{immediate:!0,flush:"post",deep:!0}),l=()=>{r(),f()};return E(l),{isSupported:c,stop:l}}function ge(e,t={width:0,height:0},o={}){const{window:n=R,box:u="content-box"}=o,s=B(()=>{var a,f;return(f=(a=y(e))==null?void 0:a.namespaceURI)==null?void 0:f.includes("svg")}),c=h(t.width),r=h(t.height);return ye(e,([a])=>{const f=u==="border-box"?a.borderBoxSize:u==="content-box"?a.contentBoxSize:a.devicePixelContentBoxSize;if(n&&s.value){const l=y(e);if(l){const i=n.getComputedStyle(l);c.value=Number.parseFloat(i.width),r.value=Number.parseFloat(i.height)}}else if(f){const l=Array.isArray(f)?f:[f];c.value=l.reduce((i,{inlineSize:d})=>i+d,0),r.value=l.reduce((i,{blockSize:d})=>i+d,0)}else c.value=a.contentRect.width,r.value=a.contentRect.height},o),g(()=>y(e),a=>{c.value=a?t.width:0,r.value=a?t.height:0}),{width:c,height:r}}const xe={[ve.mounted](e,t){var o;const n=typeof t.value=="function"?t.value:(o=t.value)==null?void 0:o[0],u=typeof t.value=="function"?[]:t.value.slice(1),{width:s,height:c}=ge(e,...u);g([s,c],([r,a])=>n({width:r,height:a}))}};function O(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}function V(e){const t=window.getComputedStyle(e);if(t.overflowX==="scroll"||t.overflowY==="scroll"||t.overflowX==="auto"&&e.clientWidth1?!0:(t.preventDefault&&t.preventDefault(),!1)}function Se(e,t=!1){const o=h(t);let n=null,u;g(he(e),r=>{const a=O(b(r));if(a){const f=a;u=f.style.overflow,o.value&&(f.style.overflow="hidden")}},{immediate:!0});const s=()=>{const r=O(b(e));!r||o.value||($&&(n=me(r,"touchmove",a=>{be(a)},{passive:!1})),r.style.overflow="hidden",o.value=!0)},c=()=>{const r=O(b(e));!r||!o.value||($&&(n==null||n()),r.style.overflow=u,o.value=!1)};return E(c),B({get(){return o.value},set(r){r?s():c()}})}function Ae(){let e=!1;const t=h(!1);return(o,n)=>{if(t.value=n.value,e)return;e=!0;const u=Se(o,n.value);g(t,s=>u.value=s)}}Ae();const Le=4,ke=(e=window.innerHeight,t=10)=>Math.floor((e-t*(Le+1))/4),Be=16,Ce={class:"cards-container"},Oe=!0,Ee=!0,Re={__name:"CardsLayout",props:{layout:{type:Array,required:!0}},setup(e){const t=e;ee(()=>{document.documentElement.style.setProperty("--top-row-height-with-gutter",`${te+oe}px`)});const o=h(0);function n({height:s}){s>0&&(o.value=ke(s))}const u=h(t.layout.map(s=>N(C({},s),{component:ne(s.component)})));return(s,c)=>re((w(),W("div",Ce,[_(v(le),{layout:u.value,"onUpdate:layout":c[0]||(c[0]=r=>u.value=r),"col-num":v(Be),"row-height":o.value,"is-draggable":Oe,"is-resizable":Ee,"vertical-compact":!0,"use-css-transforms":!1,margin:[10,10]},{default:p(()=>[(w(!0),W(se,null,ae(u.value,r=>(w(),S(v(ue),{key:r.i,static:r.static,x:r.x,y:r.y,w:r.w,h:r.h,i:r.i},{default:p(()=>[(w(),S(ce(r.component),{meta:r.meta},null,8,["meta"]))]),_:2},1032,["static","x","y","w","h","i"]))),128))]),_:1},8,["layout","col-num","row-height"])])),[[v(xe),n]])}},ze=I(Re,[["__scopeId","data-v-af3643e6"]]),Me={};function De(e,t){const o=L("f-card-header"),n=L("f-card-tab"),u=L("f-card-body"),s=L("f-card");return w(),S(s,null,{default:p(()=>[_(o,null,{default:p(()=>[k("业务单元A")]),_:1}),_(u,null,{default:p(()=>[_(n,{title:"A"},{default:p(()=>[k("业务功能A")]),_:1}),_(n,{title:"B"},{default:p(()=>[k("业务功能B")]),_:1}),_(n,{title:"C"},{default:p(()=>[k("业务功能C")]),_:1})]),_:1})]),_:1})}const x=I(Me,[["render",De]]),Ne={__name:"Leaves",setup(e){const t=[{x:10,y:0,w:6,h:1,i:1,static:!1,component:x,meta:{}},{x:10,y:1,w:6,h:1,i:2,static:!1,component:x,meta:{}},{x:10,y:2,w:6,h:1,i:3,static:!1,component:x,meta:{}},{x:10,y:3,w:3,h:1,i:4,static:!1,component:x,meta:{}},{x:13,y:3,w:3,h:1,i:5,static:!1,component:x,meta:{}}];return(o,n)=>(w(),S(v(ze),{layout:t}))}},$e={__name:"BranchA",setup(e){return(t,o)=>(w(),S(v(ie),{index:100},{default:p(()=>[_(v(Ne))]),_:1}))}};export{$e as default}; diff --git a/assets/TrunkA-e4561e66.js b/assets/TrunkA-456166fc.js similarity index 72% rename from assets/TrunkA-e4561e66.js rename to assets/TrunkA-456166fc.js index 9ae793a..2c7c425 100644 --- a/assets/TrunkA-e4561e66.js +++ b/assets/TrunkA-456166fc.js @@ -1 +1 @@ -import{r as o,o as a,c as n,a as e,u as t,L as s,F as c}from"./index-38e03fea.js";const l={__name:"TrunkA",setup(_){return(u,m)=>{const r=o("router-view");return a(),n(c,null,[e(t(s),{index:10}),e(r)],64)}}};export{l as default}; +import{r as o,o as a,c as n,a as e,u as t,L as s,F as c}from"./index-4c052022.js";const l={__name:"TrunkA",setup(_){return(u,m)=>{const r=o("router-view");return a(),n(c,null,[e(t(s),{index:10}),e(r)],64)}}};export{l as default}; diff --git a/assets/github-mark-7a0dd11e.svg b/assets/github-mark-7a0dd11e.svg new file mode 100644 index 0000000..37fa923 --- /dev/null +++ b/assets/github-mark-7a0dd11e.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/index-38e03fea.js b/assets/index-38e03fea.js deleted file mode 100644 index aaf48a7..0000000 --- a/assets/index-38e03fea.js +++ /dev/null @@ -1,11 +0,0 @@ -var Za=Object.defineProperty,tc=Object.defineProperties;var ec=Object.getOwnPropertyDescriptors;var Ri=Object.getOwnPropertySymbols;var nc=Object.prototype.hasOwnProperty,oc=Object.prototype.propertyIsEnumerable;var Oi=(t,e,n)=>e in t?Za(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,oe=(t,e)=>{for(var n in e||(e={}))nc.call(e,n)&&Oi(t,n,e[n]);if(Ri)for(var n of Ri(e))oc.call(e,n)&&Oi(t,n,e[n]);return t},Ue=(t,e)=>tc(t,ec(e));(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))o(r);new MutationObserver(r=>{for(const i of r)if(i.type==="childList")for(const s of i.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&o(s)}).observe(document,{childList:!0,subtree:!0});function n(r){const i={};return r.integrity&&(i.integrity=r.integrity),r.referrerPolicy&&(i.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?i.credentials="include":r.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function o(r){if(r.ep)return;r.ep=!0;const i=n(r);fetch(r.href,i)}})();function qr(t,e){const n=Object.create(null),o=t.split(",");for(let r=0;r!!n[r.toLowerCase()]:r=>!!n[r]}const Ct={},dn=[],le=()=>{},rc=()=>!1,ic=/^on[^a-z]/,Po=t=>ic.test(t),Vr=t=>t.startsWith("onUpdate:"),jt=Object.assign,Yr=(t,e)=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)},sc=Object.prototype.hasOwnProperty,yt=(t,e)=>sc.call(t,e),rt=Array.isArray,hn=t=>Ao(t)==="[object Map]",el=t=>Ao(t)==="[object Set]",st=t=>typeof t=="function",Ot=t=>typeof t=="string",Co=t=>typeof t=="symbol",At=t=>t!==null&&typeof t=="object",nl=t=>(At(t)||st(t))&&st(t.then)&&st(t.catch),ol=Object.prototype.toString,Ao=t=>ol.call(t),lc=t=>Ao(t).slice(8,-1),rl=t=>Ao(t)==="[object Object]",Xr=t=>Ot(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,uo=qr(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Mo=t=>{const e=Object.create(null);return n=>e[n]||(e[n]=t(n))},ac=/-(\w)/g,me=Mo(t=>t.replace(ac,(e,n)=>n?n.toUpperCase():"")),cc=/\B([A-Z])/g,Tn=Mo(t=>t.replace(cc,"-$1").toLowerCase()),Ro=Mo(t=>t.charAt(0).toUpperCase()+t.slice(1)),er=Mo(t=>t?`on${Ro(t)}`:""),tn=(t,e)=>!Object.is(t,e),nr=(t,e)=>{for(let n=0;n{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value:n})},uc=t=>{const e=parseFloat(t);return isNaN(e)?t:e};let Ii;const vr=()=>Ii||(Ii=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Te(t){if(rt(t)){const e={};for(let n=0;n{if(n){const o=n.split(dc);o.length>1&&(e[o[0].trim()]=o[1].trim())}}),e}function en(t){let e="";if(Ot(t))e=t;else if(rt(t))for(let n=0;nOt(t)?t:t==null?"":rt(t)||At(t)&&(t.toString===ol||!st(t.toString))?JSON.stringify(t,sl,2):String(t),sl=(t,e)=>e&&e.__v_isRef?sl(t,e.value):hn(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((n,[o,r])=>(n[`${o} =>`]=r,n),{})}:el(e)?{[`Set(${e.size})`]:[...e.values()]}:At(e)&&!rt(e)&&!rl(e)?String(e):e;let Gt;class yc{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Gt,!e&&Gt&&(this.index=(Gt.scopes||(Gt.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const n=Gt;try{return Gt=this,e()}finally{Gt=n}}}on(){Gt=this}off(){Gt=this.parent}stop(e){if(this._active){let n,o;for(n=0,o=this.effects.length;n{const e=new Set(t);return e.w=0,e.n=0,e},ll=t=>(t.w&Fe)>0,al=t=>(t.n&Fe)>0,_c=({deps:t})=>{if(t.length)for(let e=0;e{const{deps:e}=t;if(e.length){let n=0;for(let o=0;o{(u==="length"||!Co(u)&&u>=a)&&l.push(c)})}else switch(n!==void 0&&l.push(s.get(n)),e){case"add":rt(t)?Xr(n)&&l.push(s.get("length")):(l.push(s.get(Qe)),hn(t)&&l.push(s.get(br)));break;case"delete":rt(t)||(l.push(s.get(Qe)),hn(t)&&l.push(s.get(br)));break;case"set":hn(t)&&l.push(s.get(Qe));break}if(l.length===1)l[0]&&xr(l[0]);else{const a=[];for(const c of l)c&&a.push(...c);xr(Gr(a))}}function xr(t,e){const n=rt(t)?t:[...t];for(const o of n)o.computed&&Di(o);for(const o of n)o.computed||Di(o)}function Di(t,e){(t!==ie||t.allowRecurse)&&(t.scheduler?t.scheduler():t.run())}function Ec(t,e){var n;return(n=go.get(t))==null?void 0:n.get(e)}const Sc=qr("__proto__,__v_isRef,__isVue"),fl=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(Co)),ki=Tc();function Tc(){const t={};return["includes","indexOf","lastIndexOf"].forEach(e=>{t[e]=function(...n){const o=xt(this);for(let i=0,s=this.length;i{t[e]=function(...n){Pn();const o=xt(this)[e].apply(this,n);return Cn(),o}}),t}function Pc(t){const e=xt(this);return Yt(e,"has",t),e.hasOwnProperty(t)}class dl{constructor(e=!1,n=!1){this._isReadonly=e,this._shallow=n}get(e,n,o){const r=this._isReadonly,i=this._shallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return i;if(n==="__v_raw"&&o===(r?i?Lc:ml:i?gl:pl).get(e))return e;const s=rt(e);if(!r){if(s&&yt(ki,n))return Reflect.get(ki,n,o);if(n==="hasOwnProperty")return Pc}const l=Reflect.get(e,n,o);return(Co(n)?fl.has(n):Sc(n))||(r||Yt(e,"get",n),i)?l:Nt(l)?s&&Xr(n)?l:l.value:At(l)?r?yl(l):Io(l):l}}class hl extends dl{constructor(e=!1){super(!1,e)}set(e,n,o,r){let i=e[n];if(bn(i)&&Nt(i)&&!Nt(o))return!1;if(!this._shallow&&(!mo(o)&&!bn(o)&&(i=xt(i),o=xt(o)),!rt(e)&&Nt(i)&&!Nt(o)))return i.value=o,!0;const s=rt(e)&&Xr(n)?Number(n)t,Oo=t=>Reflect.getPrototypeOf(t);function eo(t,e,n=!1,o=!1){t=t.__v_raw;const r=xt(t),i=xt(e);n||(tn(e,i)&&Yt(r,"get",e),Yt(r,"get",i));const{has:s}=Oo(r),l=o?Jr:n?ei:qn;if(s.call(r,e))return l(t.get(e));if(s.call(r,i))return l(t.get(i));t!==r&&t.get(e)}function no(t,e=!1){const n=this.__v_raw,o=xt(n),r=xt(t);return e||(tn(t,r)&&Yt(o,"has",t),Yt(o,"has",r)),t===r?n.has(t):n.has(t)||n.has(r)}function oo(t,e=!1){return t=t.__v_raw,!e&&Yt(xt(t),"iterate",Qe),Reflect.get(t,"size",t)}function Fi(t){t=xt(t);const e=xt(this);return Oo(e).has.call(e,t)||(e.add(t),Ee(e,"add",t,t)),this}function Ni(t,e){e=xt(e);const n=xt(this),{has:o,get:r}=Oo(n);let i=o.call(n,t);i||(t=xt(t),i=o.call(n,t));const s=r.call(n,t);return n.set(t,e),i?tn(e,s)&&Ee(n,"set",t,e):Ee(n,"add",t,e),this}function Hi(t){const e=xt(this),{has:n,get:o}=Oo(e);let r=n.call(e,t);r||(t=xt(t),r=n.call(e,t)),o&&o.call(e,t);const i=e.delete(t);return r&&Ee(e,"delete",t,void 0),i}function Li(){const t=xt(this),e=t.size!==0,n=t.clear();return e&&Ee(t,"clear",void 0,void 0),n}function ro(t,e){return function(o,r){const i=this,s=i.__v_raw,l=xt(s),a=e?Jr:t?ei:qn;return!t&&Yt(l,"iterate",Qe),s.forEach((c,u)=>o.call(r,a(c),a(u),i))}}function io(t,e,n){return function(...o){const r=this.__v_raw,i=xt(r),s=hn(i),l=t==="entries"||t===Symbol.iterator&&s,a=t==="keys"&&s,c=r[t](...o),u=n?Jr:e?ei:qn;return!e&&Yt(i,"iterate",a?br:Qe),{next(){const{value:f,done:d}=c.next();return d?{value:f,done:d}:{value:l?[u(f[0]),u(f[1])]:u(f),done:d}},[Symbol.iterator](){return this}}}}function Ae(t){return function(...e){return t==="delete"?!1:this}}function Oc(){const t={get(i){return eo(this,i)},get size(){return oo(this)},has:no,add:Fi,set:Ni,delete:Hi,clear:Li,forEach:ro(!1,!1)},e={get(i){return eo(this,i,!1,!0)},get size(){return oo(this)},has:no,add:Fi,set:Ni,delete:Hi,clear:Li,forEach:ro(!1,!0)},n={get(i){return eo(this,i,!0)},get size(){return oo(this,!0)},has(i){return no.call(this,i,!0)},add:Ae("add"),set:Ae("set"),delete:Ae("delete"),clear:Ae("clear"),forEach:ro(!0,!1)},o={get(i){return eo(this,i,!0,!0)},get size(){return oo(this,!0)},has(i){return no.call(this,i,!0)},add:Ae("add"),set:Ae("set"),delete:Ae("delete"),clear:Ae("clear"),forEach:ro(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{t[i]=io(i,!1,!1),n[i]=io(i,!0,!1),e[i]=io(i,!1,!0),o[i]=io(i,!0,!0)}),[t,n,e,o]}const[Ic,zc,Dc,kc]=Oc();function Zr(t,e){const n=e?t?kc:Dc:t?zc:Ic;return(o,r,i)=>r==="__v_isReactive"?!t:r==="__v_isReadonly"?t:r==="__v_raw"?o:Reflect.get(yt(n,r)&&r in o?n:o,r,i)}const Fc={get:Zr(!1,!1)},Nc={get:Zr(!1,!0)},Hc={get:Zr(!0,!1)},pl=new WeakMap,gl=new WeakMap,ml=new WeakMap,Lc=new WeakMap;function Bc(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function jc(t){return t.__v_skip||!Object.isExtensible(t)?0:Bc(lc(t))}function Io(t){return bn(t)?t:ti(t,!1,Ac,Fc,pl)}function vl(t){return ti(t,!1,Rc,Nc,gl)}function yl(t){return ti(t,!0,Mc,Hc,ml)}function ti(t,e,n,o,r){if(!At(t)||t.__v_raw&&!(e&&t.__v_isReactive))return t;const i=r.get(t);if(i)return i;const s=jc(t);if(s===0)return t;const l=new Proxy(t,s===2?o:n);return r.set(t,l),l}function pn(t){return bn(t)?pn(t.__v_raw):!!(t&&t.__v_isReactive)}function bn(t){return!!(t&&t.__v_isReadonly)}function mo(t){return!!(t&&t.__v_isShallow)}function bl(t){return pn(t)||bn(t)}function xt(t){const e=t&&t.__v_raw;return e?xt(e):t}function xl(t){return po(t,"__v_skip",!0),t}const qn=t=>At(t)?Io(t):t,ei=t=>At(t)?yl(t):t;function ni(t){De&&ie&&(t=xt(t),ul(t.dep||(t.dep=Gr())))}function oi(t,e){t=xt(t);const n=t.dep;n&&xr(n)}function Nt(t){return!!(t&&t.__v_isRef===!0)}function tt(t){return _l(t,!1)}function $c(t){return _l(t,!0)}function _l(t,e){return Nt(t)?t:new Wc(t,e)}class Wc{constructor(e,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?e:xt(e),this._value=n?e:qn(e)}get value(){return ni(this),this._value}set value(e){const n=this.__v_isShallow||mo(e)||bn(e);e=n?e:xt(e),tn(e,this._rawValue)&&(this._rawValue=e,this._value=n?e:qn(e),oi(this))}}function Vt(t){return Nt(t)?t.value:t}const Uc={get:(t,e,n)=>Vt(Reflect.get(t,e,n)),set:(t,e,n,o)=>{const r=t[e];return Nt(r)&&!Nt(n)?(r.value=n,!0):Reflect.set(t,e,n,o)}};function wl(t){return pn(t)?t:new Proxy(t,Uc)}class Kc{constructor(e){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:o}=e(()=>ni(this),()=>oi(this));this._get=n,this._set=o}get value(){return this._get()}set value(e){this._set(e)}}function Um(t){return new Kc(t)}class qc{constructor(e,n,o){this._object=e,this._key=n,this._defaultValue=o,this.__v_isRef=!0}get value(){const e=this._object[this._key];return e===void 0?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){return Ec(xt(this._object),this._key)}}class Vc{constructor(e){this._getter=e,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function Km(t,e,n){return Nt(t)?t:st(t)?new Vc(t):At(t)&&arguments.length>1?Yc(t,e,n):tt(t)}function Yc(t,e,n){const o=t[e];return Nt(o)?o:new qc(t,e,n)}class Xc{constructor(e,n,o,r){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new Qr(e,()=>{this._dirty||(this._dirty=!0,oi(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=o}get value(){const e=xt(this);return ni(e),(e._dirty||!e._cacheable)&&(e._dirty=!1,e._value=e.effect.run()),e._value}set value(e){this._setter(e)}}function Gc(t,e,n=!1){let o,r;const i=st(t);return i?(o=t,r=le):(o=t.get,r=t.set),new Xc(o,r,i||!r,n)}function ke(t,e,n,o){let r;try{r=o?t(...o):t()}catch(i){zo(i,e,n)}return r}function ae(t,e,n,o){if(st(t)){const i=ke(t,e,n,o);return i&&nl(i)&&i.catch(s=>{zo(s,e,n)}),i}const r=[];for(let i=0;i>>1,r=$t[o],i=Yn(r);ige&&$t.splice(e,1)}function tu(t){rt(t)?gn.push(...t):(!_e||!_e.includes(t,t.allowRecurse?Ye+1:Ye))&&gn.push(t),Sl()}function Bi(t,e=Vn?ge+1:0){for(;e<$t.length;e++){const n=$t[e];n&&n.pre&&($t.splice(e,1),e--,n())}}function Tl(t){if(gn.length){const e=[...new Set(gn)];if(gn.length=0,_e){_e.push(...e);return}for(_e=e,_e.sort((n,o)=>Yn(n)-Yn(o)),Ye=0;Ye<_e.length;Ye++)_e[Ye]();_e=null,Ye=0}}const Yn=t=>t.id==null?1/0:t.id,eu=(t,e)=>{const n=Yn(t)-Yn(e);if(n===0){if(t.pre&&!e.pre)return-1;if(e.pre&&!t.pre)return 1}return n};function Pl(t){_r=!1,Vn=!0,$t.sort(eu);const e=le;try{for(ge=0;ge<$t.length;ge++){const n=$t[ge];n&&n.active!==!1&&ke(n,null,14)}}finally{ge=0,$t.length=0,Tl(),Vn=!1,ri=null,($t.length||gn.length)&&Pl()}}function nu(t,e,...n){if(t.isUnmounted)return;const o=t.vnode.props||Ct;let r=n;const i=e.startsWith("update:"),s=i&&e.slice(7);if(s&&s in o){const u=`${s==="modelValue"?"model":s}Modifiers`,{number:f,trim:d}=o[u]||Ct;d&&(r=n.map(g=>Ot(g)?g.trim():g)),f&&(r=n.map(uc))}let l,a=o[l=er(e)]||o[l=er(me(e))];!a&&i&&(a=o[l=er(Tn(e))]),a&&ae(a,t,6,r);const c=o[l+"Once"];if(c){if(!t.emitted)t.emitted={};else if(t.emitted[l])return;t.emitted[l]=!0,ae(c,t,6,r)}}function Cl(t,e,n=!1){const o=e.emitsCache,r=o.get(t);if(r!==void 0)return r;const i=t.emits;let s={},l=!1;if(!st(t)){const a=c=>{const u=Cl(c,e,!0);u&&(l=!0,jt(s,u))};!n&&e.mixins.length&&e.mixins.forEach(a),t.extends&&a(t.extends),t.mixins&&t.mixins.forEach(a)}return!i&&!l?(At(t)&&o.set(t,null),null):(rt(i)?i.forEach(a=>s[a]=null):jt(s,i),At(t)&&o.set(t,s),s)}function Do(t,e){return!t||!Po(e)?!1:(e=e.slice(2).replace(/Once$/,""),yt(t,e[0].toLowerCase()+e.slice(1))||yt(t,Tn(e))||yt(t,e))}let Bt=null,ko=null;function vo(t){const e=Bt;return Bt=t,ko=t&&t.type.__scopeId||null,e}function Al(t){ko=t}function Ml(){ko=null}function wr(t,e=Bt,n){if(!e||t._n)return t;const o=(...r)=>{o._d&&Ji(-1);const i=vo(e);let s;try{s=t(...r)}finally{vo(i),o._d&&Ji(1)}return s};return o._n=!0,o._c=!0,o._d=!0,o}function or(t){const{type:e,vnode:n,proxy:o,withProxy:r,props:i,propsOptions:[s],slots:l,attrs:a,emit:c,render:u,renderCache:f,data:d,setupState:g,ctx:b,inheritAttrs:S}=t;let A,F;const P=vo(t);try{if(n.shapeFlag&4){const y=r||o;A=pe(u.call(y,y,f,i,g,d,b)),F=a}else{const y=e;A=pe(y.length>1?y(i,{attrs:a,slots:l,emit:c}):y(i,null)),F=e.props?a:ou(a)}}catch(y){jn.length=0,zo(y,t,1),A=Dt(Ne)}let L=A;if(F&&S!==!1){const y=Object.keys(F),{shapeFlag:v}=L;y.length&&v&7&&(s&&y.some(Vr)&&(F=ru(F,s)),L=xn(L,F))}return n.dirs&&(L=xn(L),L.dirs=L.dirs?L.dirs.concat(n.dirs):n.dirs),n.transition&&(L.transition=n.transition),A=L,vo(P),A}const ou=t=>{let e;for(const n in t)(n==="class"||n==="style"||Po(n))&&((e||(e={}))[n]=t[n]);return e},ru=(t,e)=>{const n={};for(const o in t)(!Vr(o)||!(o.slice(9)in e))&&(n[o]=t[o]);return n};function iu(t,e,n){const{props:o,children:r,component:i}=t,{props:s,children:l,patchFlag:a}=e,c=i.emitsOptions;if(e.dirs||e.transition)return!0;if(n&&a>=0){if(a&1024)return!0;if(a&16)return o?ji(o,s,c):!!s;if(a&8){const u=e.dynamicProps;for(let f=0;ft.__isSuspense;function au(t,e){e&&e.pendingBranch?rt(t)?e.effects.push(...t):e.effects.push(t):tu(t)}const so={};function dt(t,e,n){return Rl(t,e,n)}function Rl(t,e,{immediate:n,deep:o,flush:r,onTrack:i,onTrigger:s}=Ct){var l;const a=xc()===((l=Ft)==null?void 0:l.scope)?Ft:null;let c,u=!1,f=!1;if(Nt(t)?(c=()=>t.value,u=mo(t)):pn(t)?(c=()=>t,o=!0):rt(t)?(f=!0,u=t.some(y=>pn(y)||mo(y)),c=()=>t.map(y=>{if(Nt(y))return y.value;if(pn(y))return Ge(y);if(st(y))return ke(y,a,2)})):st(t)?e?c=()=>ke(t,a,2):c=()=>{if(!(a&&a.isUnmounted))return d&&d(),ae(t,a,3,[g])}:c=le,e&&o){const y=c;c=()=>Ge(y())}let d,g=y=>{d=P.onStop=()=>{ke(y,a,4)}},b;if(Gn)if(g=le,e?n&&ae(e,a,3,[c(),f?[]:void 0,g]):c(),r==="sync"){const y=rf();b=y.__watcherHandles||(y.__watcherHandles=[])}else return le;let S=f?new Array(t.length).fill(so):so;const A=()=>{if(P.active)if(e){const y=P.run();(o||u||(f?y.some((v,K)=>tn(v,S[K])):tn(y,S)))&&(d&&d(),ae(e,a,3,[y,S===so?void 0:f&&S[0]===so?[]:S,g]),S=y)}else P.run()};A.allowRecurse=!!e;let F;r==="sync"?F=A:r==="post"?F=()=>Kt(A,a&&a.suspense):(A.pre=!0,a&&(A.id=a.uid),F=()=>ii(A));const P=new Qr(c,F);e?n?A():S=P.run():r==="post"?Kt(P.run.bind(P),a&&a.suspense):P.run();const L=()=>{P.stop(),a&&a.scope&&Yr(a.scope.effects,P)};return b&&b.push(L),L}function cu(t,e,n){const o=this.proxy,r=Ot(t)?t.includes(".")?Ol(o,t):()=>o[t]:t.bind(o,o);let i;st(e)?i=e:(i=e.handler,n=e);const s=Ft;_n(this);const l=Rl(r,i.bind(o),n);return s?_n(s):Je(),l}function Ol(t,e){const n=e.split(".");return()=>{let o=t;for(let r=0;r{Ge(n,e)});else if(rl(t))for(const n in t)Ge(t[n],e);return t}function uu(t,e){const n=Bt;if(n===null)return t;const o=jo(n)||n.proxy,r=t.dirs||(t.dirs=[]);for(let i=0;ijt({name:t.name},e,{setup:t}))():t}const Hn=t=>!!t.type.__asyncLoader,Il=t=>t.type.__isKeepAlive;function fu(t,e){zl(t,"a",e)}function du(t,e){zl(t,"da",e)}function zl(t,e,n=Ft){const o=t.__wdc||(t.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return t()});if(No(e,o,n),n){let r=n.parent;for(;r&&r.parent;)Il(r.parent.vnode)&&hu(o,e,n,r),r=r.parent}}function hu(t,e,n,o){const r=No(e,t,o,!0);Dl(()=>{Yr(o[e],r)},n)}function No(t,e,n=Ft,o=!1){if(n){const r=n[t]||(n[t]=[]),i=e.__weh||(e.__weh=(...s)=>{if(n.isUnmounted)return;Pn(),_n(n);const l=ae(e,n,t,s);return Je(),Cn(),l});return o?r.unshift(i):r.push(i),i}}const Pe=t=>(e,n=Ft)=>(!Gn||t==="sp")&&No(t,(...o)=>e(...o),n),to=Pe("bm"),si=Pe("m"),pu=Pe("bu"),gu=Pe("u"),li=Pe("bum"),Dl=Pe("um"),mu=Pe("sp"),vu=Pe("rtg"),yu=Pe("rtc");function bu(t,e=Ft){No("ec",t,e)}const ai="components";function kl(t,e){return Nl(ai,t,!0,e)||t}const Fl=Symbol.for("v-ndc");function qm(t){return Ot(t)?Nl(ai,t,!1)||t:t||Fl}function Nl(t,e,n=!0,o=!1){const r=Bt||Ft;if(r){const i=r.type;if(t===ai){const l=ef(i,!1);if(l&&(l===e||l===me(e)||l===Ro(me(e))))return i}const s=$i(r[t]||i[t],e)||$i(r.appContext[t],e);return!s&&o?i:s}}function $i(t,e){return t&&(t[e]||t[me(e)]||t[Ro(me(e))])}function xu(t,e,n,o){let r;const i=n&&n[o];if(rt(t)||Ot(t)){r=new Array(t.length);for(let s=0,l=t.length;se(s,l,void 0,i&&i[l]));else{const s=Object.keys(t);r=new Array(s.length);for(let l=0,a=s.length;lxo(e)?!(e.type===Ne||e.type===Qt&&!Hl(e.children)):!0)?t:null}const Er=t=>t?Ql(t)?jo(t)||t.proxy:Er(t.parent):null,Ln=jt(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>t.props,$attrs:t=>t.attrs,$slots:t=>t.slots,$refs:t=>t.refs,$parent:t=>Er(t.parent),$root:t=>Er(t.root),$emit:t=>t.emit,$options:t=>ci(t),$forceUpdate:t=>t.f||(t.f=()=>ii(t.update)),$nextTick:t=>t.n||(t.n=re.bind(t.proxy)),$watch:t=>cu.bind(t)}),rr=(t,e)=>t!==Ct&&!t.__isScriptSetup&&yt(t,e),_u={get({_:t},e){const{ctx:n,setupState:o,data:r,props:i,accessCache:s,type:l,appContext:a}=t;let c;if(e[0]!=="$"){const g=s[e];if(g!==void 0)switch(g){case 1:return o[e];case 2:return r[e];case 4:return n[e];case 3:return i[e]}else{if(rr(o,e))return s[e]=1,o[e];if(r!==Ct&&yt(r,e))return s[e]=2,r[e];if((c=t.propsOptions[0])&&yt(c,e))return s[e]=3,i[e];if(n!==Ct&&yt(n,e))return s[e]=4,n[e];Sr&&(s[e]=0)}}const u=Ln[e];let f,d;if(u)return e==="$attrs"&&Yt(t,"get",e),u(t);if((f=l.__cssModules)&&(f=f[e]))return f;if(n!==Ct&&yt(n,e))return s[e]=4,n[e];if(d=a.config.globalProperties,yt(d,e))return d[e]},set({_:t},e,n){const{data:o,setupState:r,ctx:i}=t;return rr(r,e)?(r[e]=n,!0):o!==Ct&&yt(o,e)?(o[e]=n,!0):yt(t.props,e)||e[0]==="$"&&e.slice(1)in t?!1:(i[e]=n,!0)},has({_:{data:t,setupState:e,accessCache:n,ctx:o,appContext:r,propsOptions:i}},s){let l;return!!n[s]||t!==Ct&&yt(t,s)||rr(e,s)||(l=i[0])&&yt(l,s)||yt(o,s)||yt(Ln,s)||yt(r.config.globalProperties,s)},defineProperty(t,e,n){return n.get!=null?t._.accessCache[e]=0:yt(n,"value")&&this.set(t,e,n.value,null),Reflect.defineProperty(t,e,n)}};function wu(){return Eu().slots}function Eu(){const t=Gl();return t.setupContext||(t.setupContext=Zl(t))}function Wi(t){return rt(t)?t.reduce((e,n)=>(e[n]=null,e),{}):t}let Sr=!0;function Su(t){const e=ci(t),n=t.proxy,o=t.ctx;Sr=!1,e.beforeCreate&&Ui(e.beforeCreate,t,"bc");const{data:r,computed:i,methods:s,watch:l,provide:a,inject:c,created:u,beforeMount:f,mounted:d,beforeUpdate:g,updated:b,activated:S,deactivated:A,beforeDestroy:F,beforeUnmount:P,destroyed:L,unmounted:y,render:v,renderTracked:K,renderTriggered:k,errorCaptured:et,serverPrefetch:ft,expose:X,inheritAttrs:ot,components:z,directives:V,filters:at}=e;if(c&&Tu(c,o,null),s)for(const Q in s){const B=s[Q];st(B)&&(o[Q]=B.bind(n))}if(r){const Q=r.call(n,n);At(Q)&&(t.data=Io(Q))}if(Sr=!0,i)for(const Q in i){const B=i[Q],_t=st(B)?B.bind(n,n):st(B.get)?B.get.bind(n,n):le,Et=!st(B)&&st(B.set)?B.set.bind(n):le,ht=Lt({get:_t,set:Et});Object.defineProperty(o,Q,{enumerable:!0,configurable:!0,get:()=>ht.value,set:wt=>ht.value=wt})}if(l)for(const Q in l)Ll(l[Q],o,n,Q);if(a){const Q=st(a)?a.call(n):a;Reflect.ownKeys(Q).forEach(B=>{mn(B,Q[B])})}u&&Ui(u,t,"c");function lt(Q,B){rt(B)?B.forEach(_t=>Q(_t.bind(n))):B&&Q(B.bind(n))}if(lt(to,f),lt(si,d),lt(pu,g),lt(gu,b),lt(fu,S),lt(du,A),lt(bu,et),lt(yu,K),lt(vu,k),lt(li,P),lt(Dl,y),lt(mu,ft),rt(X))if(X.length){const Q=t.exposed||(t.exposed={});X.forEach(B=>{Object.defineProperty(Q,B,{get:()=>n[B],set:_t=>n[B]=_t})})}else t.exposed||(t.exposed={});v&&t.render===le&&(t.render=v),ot!=null&&(t.inheritAttrs=ot),z&&(t.components=z),V&&(t.directives=V)}function Tu(t,e,n=le){rt(t)&&(t=Tr(t));for(const o in t){const r=t[o];let i;At(r)?"default"in r?i=te(r.from||o,r.default,!0):i=te(r.from||o):i=te(r),Nt(i)?Object.defineProperty(e,o,{enumerable:!0,configurable:!0,get:()=>i.value,set:s=>i.value=s}):e[o]=i}}function Ui(t,e,n){ae(rt(t)?t.map(o=>o.bind(e.proxy)):t.bind(e.proxy),e,n)}function Ll(t,e,n,o){const r=o.includes(".")?Ol(n,o):()=>n[o];if(Ot(t)){const i=e[t];st(i)&&dt(r,i)}else if(st(t))dt(r,t.bind(n));else if(At(t))if(rt(t))t.forEach(i=>Ll(i,e,n,o));else{const i=st(t.handler)?t.handler.bind(n):e[t.handler];st(i)&&dt(r,i,t)}}function ci(t){const e=t.type,{mixins:n,extends:o}=e,{mixins:r,optionsCache:i,config:{optionMergeStrategies:s}}=t.appContext,l=i.get(e);let a;return l?a=l:!r.length&&!n&&!o?a=e:(a={},r.length&&r.forEach(c=>yo(a,c,s,!0)),yo(a,e,s)),At(e)&&i.set(e,a),a}function yo(t,e,n,o=!1){const{mixins:r,extends:i}=e;i&&yo(t,i,n,!0),r&&r.forEach(s=>yo(t,s,n,!0));for(const s in e)if(!(o&&s==="expose")){const l=Pu[s]||n&&n[s];t[s]=l?l(t[s],e[s]):e[s]}return t}const Pu={data:Ki,props:qi,emits:qi,methods:Fn,computed:Fn,beforeCreate:Wt,created:Wt,beforeMount:Wt,mounted:Wt,beforeUpdate:Wt,updated:Wt,beforeDestroy:Wt,beforeUnmount:Wt,destroyed:Wt,unmounted:Wt,activated:Wt,deactivated:Wt,errorCaptured:Wt,serverPrefetch:Wt,components:Fn,directives:Fn,watch:Au,provide:Ki,inject:Cu};function Ki(t,e){return e?t?function(){return jt(st(t)?t.call(this,this):t,st(e)?e.call(this,this):e)}:e:t}function Cu(t,e){return Fn(Tr(t),Tr(e))}function Tr(t){if(rt(t)){const e={};for(let n=0;n1)return n&&st(e)?e.call(o&&o.proxy):e}}function Ou(t,e,n,o=!1){const r={},i={};po(i,Bo,1),t.propsDefaults=Object.create(null),jl(t,e,r,i);for(const s in t.propsOptions[0])s in r||(r[s]=void 0);n?t.props=o?r:vl(r):t.type.props?t.props=r:t.props=i,t.attrs=i}function Iu(t,e,n,o){const{props:r,attrs:i,vnode:{patchFlag:s}}=t,l=xt(r),[a]=t.propsOptions;let c=!1;if((o||s>0)&&!(s&16)){if(s&8){const u=t.vnode.dynamicProps;for(let f=0;f{a=!0;const[d,g]=$l(f,e,!0);jt(s,d),g&&l.push(...g)};!n&&e.mixins.length&&e.mixins.forEach(u),t.extends&&u(t.extends),t.mixins&&t.mixins.forEach(u)}if(!i&&!a)return At(t)&&o.set(t,dn),dn;if(rt(i))for(let u=0;u-1,g[1]=S<0||b-1||yt(g,"default"))&&l.push(f)}}}const c=[s,l];return At(t)&&o.set(t,c),c}function Vi(t){return t[0]!=="$"}function Yi(t){const e=t&&t.toString().match(/^\s*(function|class) (\w+)/);return e?e[2]:t===null?"null":""}function Xi(t,e){return Yi(t)===Yi(e)}function Gi(t,e){return rt(e)?e.findIndex(n=>Xi(n,t)):st(e)&&Xi(e,t)?0:-1}const Wl=t=>t[0]==="_"||t==="$stable",ui=t=>rt(t)?t.map(pe):[pe(t)],zu=(t,e,n)=>{if(e._n)return e;const o=wr((...r)=>ui(e(...r)),n);return o._c=!1,o},Ul=(t,e,n)=>{const o=t._ctx;for(const r in t){if(Wl(r))continue;const i=t[r];if(st(i))e[r]=zu(r,i,o);else if(i!=null){const s=ui(i);e[r]=()=>s}}},Kl=(t,e)=>{const n=ui(e);t.slots.default=()=>n},Du=(t,e)=>{if(t.vnode.shapeFlag&32){const n=e._;n?(t.slots=xt(e),po(e,"_",n)):Ul(e,t.slots={})}else t.slots={},e&&Kl(t,e);po(t.slots,Bo,1)},ku=(t,e,n)=>{const{vnode:o,slots:r}=t;let i=!0,s=Ct;if(o.shapeFlag&32){const l=e._;l?n&&l===1?i=!1:(jt(r,e),!n&&l===1&&delete r._):(i=!e.$stable,Ul(e,r)),s=e}else e&&(Kl(t,e),s={default:1});if(i)for(const l in r)!Wl(l)&&s[l]==null&&delete r[l]};function Cr(t,e,n,o,r=!1){if(rt(t)){t.forEach((d,g)=>Cr(d,e&&(rt(e)?e[g]:e),n,o,r));return}if(Hn(o)&&!r)return;const i=o.shapeFlag&4?jo(o.component)||o.component.proxy:o.el,s=r?null:i,{i:l,r:a}=t,c=e&&e.r,u=l.refs===Ct?l.refs={}:l.refs,f=l.setupState;if(c!=null&&c!==a&&(Ot(c)?(u[c]=null,yt(f,c)&&(f[c]=null)):Nt(c)&&(c.value=null)),st(a))ke(a,l,12,[s,u]);else{const d=Ot(a),g=Nt(a);if(d||g){const b=()=>{if(t.f){const S=d?yt(f,a)?f[a]:u[a]:a.value;r?rt(S)&&Yr(S,i):rt(S)?S.includes(i)||S.push(i):d?(u[a]=[i],yt(f,a)&&(f[a]=u[a])):(a.value=[i],t.k&&(u[t.k]=a.value))}else d?(u[a]=s,yt(f,a)&&(f[a]=s)):g&&(a.value=s,t.k&&(u[t.k]=s))};s?(b.id=-1,Kt(b,n)):b()}}}const Kt=au;function Fu(t){return Nu(t)}function Nu(t,e){const n=vr();n.__VUE__=!0;const{insert:o,remove:r,patchProp:i,createElement:s,createText:l,createComment:a,setText:c,setElementText:u,parentNode:f,nextSibling:d,setScopeId:g=le,insertStaticContent:b}=t,S=(h,p,m,_=null,T=null,w=null,H=!1,D=null,O=!!p.dynamicChildren)=>{if(h===p)return;h&&!Mn(h,p)&&(_=E(h),wt(h,T,w,!0),h=null),p.patchFlag===-2&&(O=!1,p.dynamicChildren=null);const{type:C,ref:q,shapeFlag:$}=p;switch(C){case Ho:A(h,p,m,_);break;case Ne:F(h,p,m,_);break;case ir:h==null&&P(p,m,_,H);break;case Qt:z(h,p,m,_,T,w,H,D,O);break;default:$&1?v(h,p,m,_,T,w,H,D,O):$&6?V(h,p,m,_,T,w,H,D,O):($&64||$&128)&&C.process(h,p,m,_,T,w,H,D,O,x)}q!=null&&T&&Cr(q,h&&h.ref,w,p||h,!p)},A=(h,p,m,_)=>{if(h==null)o(p.el=l(p.children),m,_);else{const T=p.el=h.el;p.children!==h.children&&c(T,p.children)}},F=(h,p,m,_)=>{h==null?o(p.el=a(p.children||""),m,_):p.el=h.el},P=(h,p,m,_)=>{[h.el,h.anchor]=b(h.children,p,m,_,h.el,h.anchor)},L=({el:h,anchor:p},m,_)=>{let T;for(;h&&h!==p;)T=d(h),o(h,m,_),h=T;o(p,m,_)},y=({el:h,anchor:p})=>{let m;for(;h&&h!==p;)m=d(h),r(h),h=m;r(p)},v=(h,p,m,_,T,w,H,D,O)=>{H=H||p.type==="svg",h==null?K(p,m,_,T,w,H,D,O):ft(h,p,T,w,H,D,O)},K=(h,p,m,_,T,w,H,D)=>{let O,C;const{type:q,props:$,shapeFlag:W,transition:Z,dirs:it}=h;if(O=h.el=s(h.type,w,$&&$.is,$),W&8?u(O,h.children):W&16&&et(h.children,O,null,_,T,w&&q!=="foreignObject",H,D),it&&Ke(h,null,_,"created"),k(O,h,h.scopeId,H,_),$){for(const J in $)J!=="value"&&!uo(J)&&i(O,J,null,$[J],w,h.children,_,T,It);"value"in $&&i(O,"value",null,$.value),(C=$.onVnodeBeforeMount)&&he(C,_,h)}it&&Ke(h,null,_,"beforeMount");const bt=Hu(T,Z);bt&&Z.beforeEnter(O),o(O,p,m),((C=$&&$.onVnodeMounted)||bt||it)&&Kt(()=>{C&&he(C,_,h),bt&&Z.enter(O),it&&Ke(h,null,_,"mounted")},T)},k=(h,p,m,_,T)=>{if(m&&g(h,m),_)for(let w=0;w<_.length;w++)g(h,_[w]);if(T){let w=T.subTree;if(p===w){const H=T.vnode;k(h,H,H.scopeId,H.slotScopeIds,T.parent)}}},et=(h,p,m,_,T,w,H,D,O=0)=>{for(let C=O;C{const D=p.el=h.el;let{patchFlag:O,dynamicChildren:C,dirs:q}=p;O|=h.patchFlag&16;const $=h.props||Ct,W=p.props||Ct;let Z;m&&qe(m,!1),(Z=W.onVnodeBeforeUpdate)&&he(Z,m,p,h),q&&Ke(p,h,m,"beforeUpdate"),m&&qe(m,!0);const it=T&&p.type!=="foreignObject";if(C?X(h.dynamicChildren,C,D,m,_,it,w):H||B(h,p,D,null,m,_,it,w,!1),O>0){if(O&16)ot(D,p,$,W,m,_,T);else if(O&2&&$.class!==W.class&&i(D,"class",null,W.class,T),O&4&&i(D,"style",$.style,W.style,T),O&8){const bt=p.dynamicProps;for(let J=0;J{Z&&he(Z,m,p,h),q&&Ke(p,h,m,"updated")},_)},X=(h,p,m,_,T,w,H)=>{for(let D=0;D{if(m!==_){if(m!==Ct)for(const D in m)!uo(D)&&!(D in _)&&i(h,D,m[D],null,H,p.children,T,w,It);for(const D in _){if(uo(D))continue;const O=_[D],C=m[D];O!==C&&D!=="value"&&i(h,D,C,O,H,p.children,T,w,It)}"value"in _&&i(h,"value",m.value,_.value)}},z=(h,p,m,_,T,w,H,D,O)=>{const C=p.el=h?h.el:l(""),q=p.anchor=h?h.anchor:l("");let{patchFlag:$,dynamicChildren:W,slotScopeIds:Z}=p;Z&&(D=D?D.concat(Z):Z),h==null?(o(C,m,_),o(q,m,_),et(p.children,m,q,T,w,H,D,O)):$>0&&$&64&&W&&h.dynamicChildren?(X(h.dynamicChildren,W,m,T,w,H,D),(p.key!=null||T&&p===T.subTree)&&fi(h,p,!0)):B(h,p,m,q,T,w,H,D,O)},V=(h,p,m,_,T,w,H,D,O)=>{p.slotScopeIds=D,h==null?p.shapeFlag&512?T.ctx.activate(p,m,_,H,O):at(p,m,_,T,w,H,O):Tt(h,p,O)},at=(h,p,m,_,T,w,H)=>{const D=h.component=Qu(h,_,T);if(Il(h)&&(D.ctx.renderer=x),Ju(D),D.asyncDep){if(T&&T.registerDep(D,lt),!h.el){const O=D.subTree=Dt(Ne);F(null,O,p,m)}return}lt(D,h,p,m,T,w,H)},Tt=(h,p,m)=>{const _=p.component=h.component;if(iu(h,p,m))if(_.asyncDep&&!_.asyncResolved){Q(_,p,m);return}else _.next=p,Zc(_.update),_.update();else p.el=h.el,_.vnode=p},lt=(h,p,m,_,T,w,H)=>{const D=()=>{if(h.isMounted){let{next:q,bu:$,u:W,parent:Z,vnode:it}=h,bt=q,J;qe(h,!1),q?(q.el=it.el,Q(h,q,H)):q=it,$&&nr($),(J=q.props&&q.props.onVnodeBeforeUpdate)&&he(J,Z,q,it),qe(h,!0);const gt=or(h),zt=h.subTree;h.subTree=gt,S(zt,gt,f(zt.el),E(zt),h,T,w),q.el=gt.el,bt===null&&su(h,gt.el),W&&Kt(W,T),(J=q.props&&q.props.onVnodeUpdated)&&Kt(()=>he(J,Z,q,it),T)}else{let q;const{el:$,props:W}=p,{bm:Z,m:it,parent:bt}=h,J=Hn(p);if(qe(h,!1),Z&&nr(Z),!J&&(q=W&&W.onVnodeBeforeMount)&&he(q,bt,p),qe(h,!0),$&&Y){const gt=()=>{h.subTree=or(h),Y($,h.subTree,h,T,null)};J?p.type.__asyncLoader().then(()=>!h.isUnmounted&>()):gt()}else{const gt=h.subTree=or(h);S(null,gt,m,_,h,T,w),p.el=gt.el}if(it&&Kt(it,T),!J&&(q=W&&W.onVnodeMounted)){const gt=p;Kt(()=>he(q,bt,gt),T)}(p.shapeFlag&256||bt&&Hn(bt.vnode)&&bt.vnode.shapeFlag&256)&&h.a&&Kt(h.a,T),h.isMounted=!0,p=m=_=null}},O=h.effect=new Qr(D,()=>ii(C),h.scope),C=h.update=()=>O.run();C.id=h.uid,qe(h,!0),C()},Q=(h,p,m)=>{p.component=h;const _=h.vnode.props;h.vnode=p,h.next=null,Iu(h,p.props,_,m),ku(h,p.children,m),Pn(),Bi(),Cn()},B=(h,p,m,_,T,w,H,D,O=!1)=>{const C=h&&h.children,q=h?h.shapeFlag:0,$=p.children,{patchFlag:W,shapeFlag:Z}=p;if(W>0){if(W&128){Et(C,$,m,_,T,w,H,D,O);return}else if(W&256){_t(C,$,m,_,T,w,H,D,O);return}}Z&8?(q&16&&It(C,T,w),$!==C&&u(m,$)):q&16?Z&16?Et(C,$,m,_,T,w,H,D,O):It(C,T,w,!0):(q&8&&u(m,""),Z&16&&et($,m,_,T,w,H,D,O))},_t=(h,p,m,_,T,w,H,D,O)=>{h=h||dn,p=p||dn;const C=h.length,q=p.length,$=Math.min(C,q);let W;for(W=0;W<$;W++){const Z=p[W]=O?Ie(p[W]):pe(p[W]);S(h[W],Z,m,null,T,w,H,D,O)}C>q?It(h,T,w,!0,!1,$):et(p,m,_,T,w,H,D,O,$)},Et=(h,p,m,_,T,w,H,D,O)=>{let C=0;const q=p.length;let $=h.length-1,W=q-1;for(;C<=$&&C<=W;){const Z=h[C],it=p[C]=O?Ie(p[C]):pe(p[C]);if(Mn(Z,it))S(Z,it,m,null,T,w,H,D,O);else break;C++}for(;C<=$&&C<=W;){const Z=h[$],it=p[W]=O?Ie(p[W]):pe(p[W]);if(Mn(Z,it))S(Z,it,m,null,T,w,H,D,O);else break;$--,W--}if(C>$){if(C<=W){const Z=W+1,it=ZW)for(;C<=$;)wt(h[C],T,w,!0),C++;else{const Z=C,it=C,bt=new Map;for(C=it;C<=W;C++){const kt=p[C]=O?Ie(p[C]):pe(p[C]);kt.key!=null&&bt.set(kt.key,C)}let J,gt=0;const zt=W-it+1;let Ht=!1,$e=0;const Mt=new Array(zt);for(C=0;C=zt){wt(kt,T,w,!0);continue}let M;if(kt.key!=null)M=bt.get(kt.key);else for(J=it;J<=W;J++)if(Mt[J-it]===0&&Mn(kt,p[J])){M=J;break}M===void 0?wt(kt,T,w,!0):(Mt[M-it]=C+1,M>=$e?$e=M:Ht=!0,S(kt,p[M],m,null,T,w,H,D,O),gt++)}const We=Ht?Lu(Mt):dn;for(J=We.length-1,C=zt-1;C>=0;C--){const kt=it+C,M=p[kt],U=kt+1{const{el:w,type:H,transition:D,children:O,shapeFlag:C}=h;if(C&6){ht(h.component.subTree,p,m,_);return}if(C&128){h.suspense.move(p,m,_);return}if(C&64){H.move(h,p,m,x);return}if(H===Qt){o(w,p,m);for(let $=0;$D.enter(w),T);else{const{leave:$,delayLeave:W,afterLeave:Z}=D,it=()=>o(w,p,m),bt=()=>{$(w,()=>{it(),Z&&Z()})};W?W(w,it,bt):bt()}else o(w,p,m)},wt=(h,p,m,_=!1,T=!1)=>{const{type:w,props:H,ref:D,children:O,dynamicChildren:C,shapeFlag:q,patchFlag:$,dirs:W}=h;if(D!=null&&Cr(D,null,m,h,!0),q&256){p.ctx.deactivate(h);return}const Z=q&1&&W,it=!Hn(h);let bt;if(it&&(bt=H&&H.onVnodeBeforeUnmount)&&he(bt,p,h),q&6)Ce(h.component,m,_);else{if(q&128){h.suspense.unmount(m,_);return}Z&&Ke(h,null,p,"beforeUnmount"),q&64?h.type.remove(h,p,m,T,x,_):C&&(w!==Qt||$>0&&$&64)?It(C,p,m,!1,!0):(w===Qt&&$&384||!T&&q&16)&&It(O,p,m),_&&pt(h)}(it&&(bt=H&&H.onVnodeUnmounted)||Z)&&Kt(()=>{bt&&he(bt,p,h),Z&&Ke(h,null,p,"unmounted")},m)},pt=h=>{const{type:p,el:m,anchor:_,transition:T}=h;if(p===Qt){ee(m,_);return}if(p===ir){y(h);return}const w=()=>{r(m),T&&!T.persisted&&T.afterLeave&&T.afterLeave()};if(h.shapeFlag&1&&T&&!T.persisted){const{leave:H,delayLeave:D}=T,O=()=>H(m,w);D?D(h.el,w,O):O()}else w()},ee=(h,p)=>{let m;for(;h!==p;)m=d(h),r(h),h=m;r(p)},Ce=(h,p,m)=>{const{bum:_,scope:T,update:w,subTree:H,um:D}=h;_&&nr(_),T.stop(),w&&(w.active=!1,wt(H,h,p,m)),D&&Kt(D,p),Kt(()=>{h.isUnmounted=!0},p),p&&p.pendingBranch&&!p.isUnmounted&&h.asyncDep&&!h.asyncResolved&&h.suspenseId===p.pendingId&&(p.deps--,p.deps===0&&p.resolve())},It=(h,p,m,_=!1,T=!1,w=0)=>{for(let H=w;Hh.shapeFlag&6?E(h.component.subTree):h.shapeFlag&128?h.suspense.next():d(h.anchor||h.el),j=(h,p,m)=>{h==null?p._vnode&&wt(p._vnode,null,null,!0):S(p._vnode||null,h,p,null,null,null,m),Bi(),Tl(),p._vnode=h},x={p:S,um:wt,m:ht,r:pt,mt:at,mc:et,pc:B,pbc:X,n:E,o:t};let N,Y;return e&&([N,Y]=e(x)),{render:j,hydrate:N,createApp:Ru(j,N)}}function qe({effect:t,update:e},n){t.allowRecurse=e.allowRecurse=n}function Hu(t,e){return(!t||t&&!t.pendingBranch)&&e&&!e.persisted}function fi(t,e,n=!1){const o=t.children,r=e.children;if(rt(o)&&rt(r))for(let i=0;i>1,t[n[l]]0&&(e[o]=n[i-1]),n[i]=o)}}for(i=n.length,s=n[i-1];i-- >0;)n[i]=s,s=e[s];return n}const Bu=t=>t.__isTeleport,Bn=t=>t&&(t.disabled||t.disabled===""),Qi=t=>typeof SVGElement<"u"&&t instanceof SVGElement,Ar=(t,e)=>{const n=t&&t.to;return Ot(n)?e?e(n):null:n},ju={__isTeleport:!0,process(t,e,n,o,r,i,s,l,a,c){const{mc:u,pc:f,pbc:d,o:{insert:g,querySelector:b,createText:S,createComment:A}}=c,F=Bn(e.props);let{shapeFlag:P,children:L,dynamicChildren:y}=e;if(t==null){const v=e.el=S(""),K=e.anchor=S("");g(v,n,o),g(K,n,o);const k=e.target=Ar(e.props,b),et=e.targetAnchor=S("");k&&(g(et,k),s=s||Qi(k));const ft=(X,ot)=>{P&16&&u(L,X,ot,r,i,s,l,a)};F?ft(n,K):k&&ft(k,et)}else{e.el=t.el;const v=e.anchor=t.anchor,K=e.target=t.target,k=e.targetAnchor=t.targetAnchor,et=Bn(t.props),ft=et?n:K,X=et?v:k;if(s=s||Qi(K),y?(d(t.dynamicChildren,y,ft,r,i,s,l),fi(t,e,!0)):a||f(t,e,ft,X,r,i,s,l,!1),F)et?e.props&&t.props&&e.props.to!==t.props.to&&(e.props.to=t.props.to):lo(e,n,v,c,1);else if((e.props&&e.props.to)!==(t.props&&t.props.to)){const ot=e.target=Ar(e.props,b);ot&&lo(e,ot,null,c,0)}else et&&lo(e,K,k,c,1)}ql(e)},remove(t,e,n,o,{um:r,o:{remove:i}},s){const{shapeFlag:l,children:a,anchor:c,targetAnchor:u,target:f,props:d}=t;if(f&&i(u),s&&i(c),l&16){const g=s||!Bn(d);for(let b=0;b0?se||dn:null,Uu(),Xn>0&&se&&se.push(t),t}function ce(t,e,n,o,r,i){return Vl(ue(t,e,n,o,r,i,!0))}function Lo(t,e,n,o,r){return Vl(Dt(t,e,n,o,r,!0))}function xo(t){return t?t.__v_isVNode===!0:!1}function Mn(t,e){return t.type===e.type&&t.key===e.key}const Bo="__vInternal",Yl=({key:t})=>t!=null?t:null,fo=({ref:t,ref_key:e,ref_for:n})=>(typeof t=="number"&&(t=""+t),t!=null?Ot(t)||Nt(t)||st(t)?{i:Bt,r:t,k:e,f:!!n}:t:null);function ue(t,e=null,n=null,o=0,r=null,i=t===Qt?0:1,s=!1,l=!1){const a={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&Yl(e),ref:e&&fo(e),scopeId:ko,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:o,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:Bt};return l?(di(a,n),i&128&&t.normalize(a)):n&&(a.shapeFlag|=Ot(n)?8:16),Xn>0&&!s&&se&&(a.patchFlag>0||i&6)&&a.patchFlag!==32&&se.push(a),a}const Dt=Ku;function Ku(t,e=null,n=null,o=0,r=null,i=!1){if((!t||t===Fl)&&(t=Ne),xo(t)){const l=xn(t,e,!0);return n&&di(l,n),Xn>0&&!i&&se&&(l.shapeFlag&6?se[se.indexOf(t)]=l:se.push(l)),l.patchFlag|=-2,l}if(nf(t)&&(t=t.__vccOpts),e){e=qu(e);let{class:l,style:a}=e;l&&!Ot(l)&&(e.class=en(l)),At(a)&&(bl(a)&&!rt(a)&&(a=jt({},a)),e.style=Te(a))}const s=Ot(t)?1:lu(t)?128:Bu(t)?64:At(t)?4:st(t)?2:0;return ue(t,e,n,o,r,s,i,!0)}function qu(t){return t?bl(t)||Bo in t?jt({},t):t:null}function xn(t,e,n=!1){const{props:o,ref:r,patchFlag:i,children:s}=t,l=e?Yu(o||{},e):o;return{__v_isVNode:!0,__v_skip:!0,type:t.type,props:l,key:l&&Yl(l),ref:e&&e.ref?n&&r?rt(r)?r.concat(fo(e)):[r,fo(e)]:fo(e):r,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:s,target:t.target,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==Qt?i===-1?16:i|16:i,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:t.transition,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&xn(t.ssContent),ssFallback:t.ssFallback&&xn(t.ssFallback),el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce}}function Vu(t=" ",e=0){return Dt(Ho,null,t,e)}function Xl(t="",e=!1){return e?(Ut(),Lo(Ne,null,t)):Dt(Ne,null,t)}function pe(t){return t==null||typeof t=="boolean"?Dt(Ne):rt(t)?Dt(Qt,null,t.slice()):typeof t=="object"?Ie(t):Dt(Ho,null,String(t))}function Ie(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:xn(t)}function di(t,e){let n=0;const{shapeFlag:o}=t;if(e==null)e=null;else if(rt(e))n=16;else if(typeof e=="object")if(o&65){const r=e.default;r&&(r._c&&(r._d=!1),di(t,r()),r._c&&(r._d=!0));return}else{n=32;const r=e._;!r&&!(Bo in e)?e._ctx=Bt:r===3&&Bt&&(Bt.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else st(e)?(e={default:e,_ctx:Bt},n=32):(e=String(e),o&64?(n=16,e=[Vu(e)]):n=8);t.children=e,t.shapeFlag|=n}function Yu(...t){const e={};for(let n=0;nFt||Bt;let hi,ln,Zi="__VUE_INSTANCE_SETTERS__";(ln=vr()[Zi])||(ln=vr()[Zi]=[]),ln.push(t=>Ft=t),hi=t=>{ln.length>1?ln.forEach(e=>e(t)):ln[0](t)};const _n=t=>{hi(t),t.scope.on()},Je=()=>{Ft&&Ft.scope.off(),hi(null)};function Ql(t){return t.vnode.shapeFlag&4}let Gn=!1;function Ju(t,e=!1){Gn=e;const{props:n,children:o}=t.vnode,r=Ql(t);Ou(t,n,r,e),Du(t,o);const i=r?Zu(t,e):void 0;return Gn=!1,i}function Zu(t,e){const n=t.type;t.accessCache=Object.create(null),t.proxy=xl(new Proxy(t.ctx,_u));const{setup:o}=n;if(o){const r=t.setupContext=o.length>1?Zl(t):null;_n(t),Pn();const i=ke(o,t,0,[t.props,r]);if(Cn(),Je(),nl(i)){if(i.then(Je,Je),e)return i.then(s=>{ts(t,s,e)}).catch(s=>{zo(s,t,0)});t.asyncDep=i}else ts(t,i,e)}else Jl(t,e)}function ts(t,e,n){st(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:At(e)&&(t.setupState=wl(e)),Jl(t,n)}let es;function Jl(t,e,n){const o=t.type;if(!t.render){if(!e&&es&&!o.render){const r=o.template||ci(t).template;if(r){const{isCustomElement:i,compilerOptions:s}=t.appContext.config,{delimiters:l,compilerOptions:a}=o,c=jt(jt({isCustomElement:i,delimiters:l},s),a);o.render=es(r,c)}}t.render=o.render||le}{_n(t),Pn();try{Su(t)}finally{Cn(),Je()}}}function tf(t){return t.attrsProxy||(t.attrsProxy=new Proxy(t.attrs,{get(e,n){return Yt(t,"get","$attrs"),e[n]}}))}function Zl(t){const e=n=>{t.exposed=n||{}};return{get attrs(){return tf(t)},slots:t.slots,emit:t.emit,expose:e}}function jo(t){if(t.exposed)return t.exposeProxy||(t.exposeProxy=new Proxy(wl(xl(t.exposed)),{get(e,n){if(n in e)return e[n];if(n in Ln)return Ln[n](t)},has(e,n){return n in e||n in Ln}}))}function ef(t,e=!0){return st(t)?t.displayName||t.name:t.name||e&&t.__name}function nf(t){return st(t)&&"__vccOpts"in t}const Lt=(t,e)=>Gc(t,e,Gn);function ta(t,e,n){const o=arguments.length;return o===2?At(e)&&!rt(e)?xo(e)?Dt(t,null,[e]):Dt(t,e):Dt(t,null,e):(o>3?n=Array.prototype.slice.call(arguments,2):o===3&&xo(n)&&(n=[n]),Dt(t,e,n))}const of=Symbol.for("v-scx"),rf=()=>te(of),sf="3.3.7",lf="http://www.w3.org/2000/svg",Xe=typeof document<"u"?document:null,ns=Xe&&Xe.createElement("template"),af={insert:(t,e,n)=>{e.insertBefore(t,n||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,n,o)=>{const r=e?Xe.createElementNS(lf,t):Xe.createElement(t,n?{is:n}:void 0);return t==="select"&&o&&o.multiple!=null&&r.setAttribute("multiple",o.multiple),r},createText:t=>Xe.createTextNode(t),createComment:t=>Xe.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>Xe.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},insertStaticContent(t,e,n,o,r,i){const s=n?n.previousSibling:e.lastChild;if(r&&(r===i||r.nextSibling))for(;e.insertBefore(r.cloneNode(!0),n),!(r===i||!(r=r.nextSibling)););else{ns.innerHTML=o?`${t}`:t;const l=ns.content;if(o){const a=l.firstChild;for(;a.firstChild;)l.appendChild(a.firstChild);l.removeChild(a)}e.insertBefore(l,n)}return[s?s.nextSibling:e.firstChild,n?n.previousSibling:e.lastChild]}},cf=Symbol("_vtc");function uf(t,e,n){const o=t[cf];o&&(e=(e?[e,...o]:[...o]).join(" ")),e==null?t.removeAttribute("class"):n?t.setAttribute("class",e):t.className=e}const pi=Symbol("_vod"),ff={beforeMount(t,{value:e},{transition:n}){t[pi]=t.style.display==="none"?"":t.style.display,n&&e?n.beforeEnter(t):Rn(t,e)},mounted(t,{value:e},{transition:n}){n&&e&&n.enter(t)},updated(t,{value:e,oldValue:n},{transition:o}){!e!=!n&&(o?e?(o.beforeEnter(t),Rn(t,!0),o.enter(t)):o.leave(t,()=>{Rn(t,!1)}):Rn(t,e))},beforeUnmount(t,{value:e}){Rn(t,e)}};function Rn(t,e){t.style.display=e?t[pi]:"none"}function df(t,e,n){const o=t.style,r=Ot(n);if(n&&!r){if(e&&!Ot(e))for(const i in e)n[i]==null&&Mr(o,i,"");for(const i in n)Mr(o,i,n[i])}else{const i=o.display;r?e!==n&&(o.cssText=n):e&&t.removeAttribute("style"),pi in t&&(o.display=i)}}const os=/\s*!important$/;function Mr(t,e,n){if(rt(n))n.forEach(o=>Mr(t,e,o));else if(n==null&&(n=""),e.startsWith("--"))t.setProperty(e,n);else{const o=hf(t,e);os.test(n)?t.setProperty(Tn(o),n.replace(os,""),"important"):t[o]=n}}const rs=["Webkit","Moz","ms"],sr={};function hf(t,e){const n=sr[e];if(n)return n;let o=me(e);if(o!=="filter"&&o in t)return sr[e]=o;o=Ro(o);for(let r=0;rlr||(xf.then(()=>lr=0),lr=Date.now());function wf(t,e){const n=o=>{if(!o._vts)o._vts=Date.now();else if(o._vts<=n.attached)return;ae(Ef(o,n.value),e,5,[o])};return n.value=t,n.attached=_f(),n}function Ef(t,e){if(rt(e)){const n=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{n.call(t),t._stopped=!0},e.map(o=>r=>!r._stopped&&o&&o(r))}else return e}const as=/^on[a-z]/,Sf=(t,e,n,o,r=!1,i,s,l,a)=>{e==="class"?uf(t,o,r):e==="style"?df(t,n,o):Po(e)?Vr(e)||yf(t,e,n,o,s):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):Tf(t,e,o,r))?gf(t,e,o,i,s,l,a):(e==="true-value"?t._trueValue=o:e==="false-value"&&(t._falseValue=o),pf(t,e,o,r))};function Tf(t,e,n,o){return o?!!(e==="innerHTML"||e==="textContent"||e in t&&as.test(e)&&st(n)):e==="spellcheck"||e==="draggable"||e==="translate"||e==="form"||e==="list"&&t.tagName==="INPUT"||e==="type"&&t.tagName==="TEXTAREA"||as.test(e)&&Ot(n)?!1:e in t}const Pf=jt({patchProp:Sf},af);let cs;function Cf(){return cs||(cs=Fu(Pf))}const Af=(...t)=>{const e=Cf().createApp(...t),{mount:n}=e;return e.mount=o=>{const r=Mf(o);if(!r)return;const i=e._component;!st(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.innerHTML="";const s=n(r,!1,r instanceof SVGElement);return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),s},e};function Mf(t){return Ot(t)?document.querySelector(t):t}const Rr=1920,Or=1080,Rf=`${Rr}px`,Of=`${Or}px`;const If={__name:"App",setup(t){return to(()=>{const e=document.documentElement.clientWidth/document.documentElement.clientHeight{const o=kl("router-view");return Ut(),Lo(o)}}},zf="modulepreload",Df=function(t){return"/"+t},us={},ea=function(e,n,o){if(!n||n.length===0)return e();const r=document.getElementsByTagName("link");return Promise.all(n.map(i=>{if(i=Df(i),i in us)return;us[i]=!0;const s=i.endsWith(".css"),l=s?'[rel="stylesheet"]':"";if(!!o)for(let u=r.length-1;u>=0;u--){const f=r[u];if(f.href===i&&(!s||f.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${i}"]${l}`))return;const c=document.createElement("link");if(c.rel=s?"stylesheet":zf,s||(c.as="script",c.crossOrigin=""),c.href=i,document.head.appendChild(c),s)return new Promise((u,f)=>{c.addEventListener("load",u),c.addEventListener("error",()=>f(new Error(`Unable to preload CSS for ${i}`)))})})).then(()=>e()).catch(i=>{const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=i,window.dispatchEvent(s),!s.defaultPrevented)throw i})};/*! - * vue-router v4.2.5 - * (c) 2023 Eduardo San Martin Morote - * @license MIT - */const cn=typeof window<"u";function kf(t){return t.__esModule||t[Symbol.toStringTag]==="Module"}const St=Object.assign;function ar(t,e){const n={};for(const o in e){const r=e[o];n[o]=fe(r)?r.map(t):t(r)}return n}const $n=()=>{},fe=Array.isArray,Ff=/\/$/,Nf=t=>t.replace(Ff,"");function cr(t,e,n="/"){let o,r={},i="",s="";const l=e.indexOf("#");let a=e.indexOf("?");return l=0&&(a=-1),a>-1&&(o=e.slice(0,a),i=e.slice(a+1,l>-1?l:e.length),r=t(i)),l>-1&&(o=o||e.slice(0,l),s=e.slice(l,e.length)),o=jf(o!=null?o:e,n),{fullPath:o+(i&&"?")+i+s,path:o,query:r,hash:s}}function Hf(t,e){const n=e.query?t(e.query):"";return e.path+(n&&"?")+n+(e.hash||"")}function fs(t,e){return!e||!t.toLowerCase().startsWith(e.toLowerCase())?t:t.slice(e.length)||"/"}function Lf(t,e,n){const o=e.matched.length-1,r=n.matched.length-1;return o>-1&&o===r&&wn(e.matched[o],n.matched[r])&&na(e.params,n.params)&&t(e.query)===t(n.query)&&e.hash===n.hash}function wn(t,e){return(t.aliasOf||t)===(e.aliasOf||e)}function na(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!1;for(const n in t)if(!Bf(t[n],e[n]))return!1;return!0}function Bf(t,e){return fe(t)?ds(t,e):fe(e)?ds(e,t):t===e}function ds(t,e){return fe(e)?t.length===e.length&&t.every((n,o)=>n===e[o]):t.length===1&&t[0]===e}function jf(t,e){if(t.startsWith("/"))return t;if(!t)return e;const n=e.split("/"),o=t.split("/"),r=o[o.length-1];(r===".."||r===".")&&o.push("");let i=n.length-1,s,l;for(s=0;s1&&i--;else break;return n.slice(0,i).join("/")+"/"+o.slice(s-(s===o.length?1:0)).join("/")}var Qn;(function(t){t.pop="pop",t.push="push"})(Qn||(Qn={}));var Wn;(function(t){t.back="back",t.forward="forward",t.unknown=""})(Wn||(Wn={}));function $f(t){if(!t)if(cn){const e=document.querySelector("base");t=e&&e.getAttribute("href")||"/",t=t.replace(/^\w+:\/\/[^\/]+/,"")}else t="/";return t[0]!=="/"&&t[0]!=="#"&&(t="/"+t),Nf(t)}const Wf=/^[^#]+#/;function Uf(t,e){return t.replace(Wf,"#")+e}function Kf(t,e){const n=document.documentElement.getBoundingClientRect(),o=t.getBoundingClientRect();return{behavior:e.behavior,left:o.left-n.left-(e.left||0),top:o.top-n.top-(e.top||0)}}const $o=()=>({left:window.pageXOffset,top:window.pageYOffset});function qf(t){let e;if("el"in t){const n=t.el,o=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?o?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;e=Kf(r,t)}else e=t;"scrollBehavior"in document.documentElement.style?window.scrollTo(e):window.scrollTo(e.left!=null?e.left:window.pageXOffset,e.top!=null?e.top:window.pageYOffset)}function hs(t,e){return(history.state?history.state.position-e:-1)+t}const Ir=new Map;function Vf(t,e){Ir.set(t,e)}function Yf(t){const e=Ir.get(t);return Ir.delete(t),e}let Xf=()=>location.protocol+"//"+location.host;function oa(t,e){const{pathname:n,search:o,hash:r}=e,i=t.indexOf("#");if(i>-1){let l=r.includes(t.slice(i))?t.slice(i).length:1,a=r.slice(l);return a[0]!=="/"&&(a="/"+a),fs(a,"")}return fs(n,t)+o+r}function Gf(t,e,n,o){let r=[],i=[],s=null;const l=({state:d})=>{const g=oa(t,location),b=n.value,S=e.value;let A=0;if(d){if(n.value=g,e.value=d,s&&s===b){s=null;return}A=S?d.position-S.position:0}else o(g);r.forEach(F=>{F(n.value,b,{delta:A,type:Qn.pop,direction:A?A>0?Wn.forward:Wn.back:Wn.unknown})})};function a(){s=n.value}function c(d){r.push(d);const g=()=>{const b=r.indexOf(d);b>-1&&r.splice(b,1)};return i.push(g),g}function u(){const{history:d}=window;d.state&&d.replaceState(St({},d.state,{scroll:$o()}),"")}function f(){for(const d of i)d();i=[],window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",l),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:a,listen:c,destroy:f}}function ps(t,e,n,o=!1,r=!1){return{back:t,current:e,forward:n,replaced:o,position:window.history.length,scroll:r?$o():null}}function Qf(t){const{history:e,location:n}=window,o={value:oa(t,n)},r={value:e.state};r.value||i(o.value,{back:null,current:o.value,forward:null,position:e.length-1,replaced:!0,scroll:null},!0);function i(a,c,u){const f=t.indexOf("#"),d=f>-1?(n.host&&document.querySelector("base")?t:t.slice(f))+a:Xf()+t+a;try{e[u?"replaceState":"pushState"](c,"",d),r.value=c}catch(g){console.error(g),n[u?"replace":"assign"](d)}}function s(a,c){const u=St({},e.state,ps(r.value.back,a,r.value.forward,!0),c,{position:r.value.position});i(a,u,!0),o.value=a}function l(a,c){const u=St({},r.value,e.state,{forward:a,scroll:$o()});i(u.current,u,!0);const f=St({},ps(o.value,a,null),{position:u.position+1},c);i(a,f,!1),o.value=a}return{location:o,state:r,push:l,replace:s}}function Jf(t){t=$f(t);const e=Qf(t),n=Gf(t,e.state,e.location,e.replace);function o(i,s=!0){s||n.pauseListeners(),history.go(i)}const r=St({location:"",base:t,go:o,createHref:Uf.bind(null,t)},e,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>e.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>e.state.value}),r}function Zf(t){return t=location.host?t||location.pathname+location.search:"",t.includes("#")||(t+="#"),Jf(t)}function td(t){return typeof t=="string"||t&&typeof t=="object"}function ra(t){return typeof t=="string"||typeof t=="symbol"}const Me={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},ia=Symbol("");var gs;(function(t){t[t.aborted=4]="aborted",t[t.cancelled=8]="cancelled",t[t.duplicated=16]="duplicated"})(gs||(gs={}));function En(t,e){return St(new Error,{type:t,[ia]:!0},e)}function be(t,e){return t instanceof Error&&ia in t&&(e==null||!!(t.type&e))}const ms="[^/]+?",ed={sensitive:!1,strict:!1,start:!0,end:!0},nd=/[.+*?^${}()[\]/\\]/g;function od(t,e){const n=St({},ed,e),o=[];let r=n.start?"^":"";const i=[];for(const c of t){const u=c.length?[]:[90];n.strict&&!c.length&&(r+="/");for(let f=0;fe.length?e.length===1&&e[0]===40+40?1:-1:0}function id(t,e){let n=0;const o=t.score,r=e.score;for(;n0&&e[e.length-1]<0}const sd={type:0,value:""},ld=/[a-zA-Z0-9_]/;function ad(t){if(!t)return[[]];if(t==="/")return[[sd]];if(!t.startsWith("/"))throw new Error(`Invalid path "${t}"`);function e(g){throw new Error(`ERR (${n})/"${c}": ${g}`)}let n=0,o=n;const r=[];let i;function s(){i&&r.push(i),i=[]}let l=0,a,c="",u="";function f(){c&&(n===0?i.push({type:0,value:c}):n===1||n===2||n===3?(i.length>1&&(a==="*"||a==="+")&&e(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:c,regexp:u,repeatable:a==="*"||a==="+",optional:a==="*"||a==="?"})):e("Invalid state to consume buffer"),c="")}function d(){c+=a}for(;l{s(P)}:$n}function s(u){if(ra(u)){const f=o.get(u);f&&(o.delete(u),n.splice(n.indexOf(f),1),f.children.forEach(s),f.alias.forEach(s))}else{const f=n.indexOf(u);f>-1&&(n.splice(f,1),u.record.name&&o.delete(u.record.name),u.children.forEach(s),u.alias.forEach(s))}}function l(){return n}function a(u){let f=0;for(;f=0&&(u.record.path!==n[f].record.path||!sa(u,n[f]));)f++;n.splice(f,0,u),u.record.name&&!bs(u)&&o.set(u.record.name,u)}function c(u,f){let d,g={},b,S;if("name"in u&&u.name){if(d=o.get(u.name),!d)throw En(1,{location:u});S=d.record.name,g=St(ys(f.params,d.keys.filter(P=>!P.optional).map(P=>P.name)),u.params&&ys(u.params,d.keys.map(P=>P.name))),b=d.stringify(g)}else if("path"in u)b=u.path,d=n.find(P=>P.re.test(b)),d&&(g=d.parse(b),S=d.record.name);else{if(d=f.name?o.get(f.name):n.find(P=>P.re.test(f.path)),!d)throw En(1,{location:u,currentLocation:f});S=d.record.name,g=St({},f.params,u.params),b=d.stringify(g)}const A=[];let F=d;for(;F;)A.unshift(F.record),F=F.parent;return{name:S,path:b,params:g,matched:A,meta:hd(A)}}return t.forEach(u=>i(u)),{addRoute:i,resolve:c,removeRoute:s,getRoutes:l,getRecordMatcher:r}}function ys(t,e){const n={};for(const o of e)o in t&&(n[o]=t[o]);return n}function fd(t){return{path:t.path,redirect:t.redirect,name:t.name,meta:t.meta||{},aliasOf:void 0,beforeEnter:t.beforeEnter,props:dd(t),children:t.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in t?t.components||null:t.component&&{default:t.component}}}function dd(t){const e={},n=t.props||!1;if("component"in t)e.default=n;else for(const o in t.components)e[o]=typeof n=="object"?n[o]:n;return e}function bs(t){for(;t;){if(t.record.aliasOf)return!0;t=t.parent}return!1}function hd(t){return t.reduce((e,n)=>St(e,n.meta),{})}function xs(t,e){const n={};for(const o in t)n[o]=o in e?e[o]:t[o];return n}function sa(t,e){return e.children.some(n=>n===t||sa(t,n))}const la=/#/g,pd=/&/g,gd=/\//g,md=/=/g,vd=/\?/g,aa=/\+/g,yd=/%5B/g,bd=/%5D/g,ca=/%5E/g,xd=/%60/g,ua=/%7B/g,_d=/%7C/g,fa=/%7D/g,wd=/%20/g;function gi(t){return encodeURI(""+t).replace(_d,"|").replace(yd,"[").replace(bd,"]")}function Ed(t){return gi(t).replace(ua,"{").replace(fa,"}").replace(ca,"^")}function zr(t){return gi(t).replace(aa,"%2B").replace(wd,"+").replace(la,"%23").replace(pd,"%26").replace(xd,"`").replace(ua,"{").replace(fa,"}").replace(ca,"^")}function Sd(t){return zr(t).replace(md,"%3D")}function Td(t){return gi(t).replace(la,"%23").replace(vd,"%3F")}function Pd(t){return t==null?"":Td(t).replace(gd,"%2F")}function _o(t){try{return decodeURIComponent(""+t)}catch(e){}return""+t}function Cd(t){const e={};if(t===""||t==="?")return e;const o=(t[0]==="?"?t.slice(1):t).split("&");for(let r=0;ri&&zr(i)):[o&&zr(o)]).forEach(i=>{i!==void 0&&(e+=(e.length?"&":"")+n,i!=null&&(e+="="+i))})}return e}function Ad(t){const e={};for(const n in t){const o=t[n];o!==void 0&&(e[n]=fe(o)?o.map(r=>r==null?null:""+r):o==null?o:""+o)}return e}const Md=Symbol(""),ws=Symbol(""),mi=Symbol(""),da=Symbol(""),Dr=Symbol("");function On(){let t=[];function e(o){return t.push(o),()=>{const r=t.indexOf(o);r>-1&&t.splice(r,1)}}function n(){t=[]}return{add:e,list:()=>t.slice(),reset:n}}function ze(t,e,n,o,r){const i=o&&(o.enterCallbacks[r]=o.enterCallbacks[r]||[]);return()=>new Promise((s,l)=>{const a=f=>{f===!1?l(En(4,{from:n,to:e})):f instanceof Error?l(f):td(f)?l(En(2,{from:e,to:f})):(i&&o.enterCallbacks[r]===i&&typeof f=="function"&&i.push(f),s())},c=t.call(o&&o.instances[r],e,n,a);let u=Promise.resolve(c);t.length<3&&(u=u.then(a)),u.catch(f=>l(f))})}function ur(t,e,n,o){const r=[];for(const i of t)for(const s in i.components){let l=i.components[s];if(!(e!=="beforeRouteEnter"&&!i.instances[s]))if(Rd(l)){const c=(l.__vccOpts||l)[e];c&&r.push(ze(c,n,o,i,s))}else{let a=l();r.push(()=>a.then(c=>{if(!c)return Promise.reject(new Error(`Couldn't resolve component "${s}" at "${i.path}"`));const u=kf(c)?c.default:c;i.components[s]=u;const d=(u.__vccOpts||u)[e];return d&&ze(d,n,o,i,s)()}))}}return r}function Rd(t){return typeof t=="object"||"displayName"in t||"props"in t||"__vccOpts"in t}function Es(t){const e=te(mi),n=te(da),o=Lt(()=>e.resolve(Vt(t.to))),r=Lt(()=>{const{matched:a}=o.value,{length:c}=a,u=a[c-1],f=n.matched;if(!u||!f.length)return-1;const d=f.findIndex(wn.bind(null,u));if(d>-1)return d;const g=Ss(a[c-2]);return c>1&&Ss(u)===g&&f[f.length-1].path!==g?f.findIndex(wn.bind(null,a[c-2])):d}),i=Lt(()=>r.value>-1&&Dd(n.params,o.value.params)),s=Lt(()=>r.value>-1&&r.value===n.matched.length-1&&na(n.params,o.value.params));function l(a={}){return zd(a)?e[Vt(t.replace)?"replace":"push"](Vt(t.to)).catch($n):Promise.resolve()}return{route:o,href:Lt(()=>o.value.href),isActive:i,isExactActive:s,navigate:l}}const Od=Fo({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Es,setup(t,{slots:e}){const n=Io(Es(t)),{options:o}=te(mi),r=Lt(()=>({[Ts(t.activeClass,o.linkActiveClass,"router-link-active")]:n.isActive,[Ts(t.exactActiveClass,o.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const i=e.default&&e.default(n);return t.custom?i:ta("a",{"aria-current":n.isExactActive?t.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},i)}}}),Id=Od;function zd(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)&&!t.defaultPrevented&&!(t.button!==void 0&&t.button!==0)){if(t.currentTarget&&t.currentTarget.getAttribute){const e=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return t.preventDefault&&t.preventDefault(),!0}}function Dd(t,e){for(const n in e){const o=e[n],r=t[n];if(typeof o=="string"){if(o!==r)return!1}else if(!fe(r)||r.length!==o.length||o.some((i,s)=>i!==r[s]))return!1}return!0}function Ss(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}const Ts=(t,e,n)=>t!=null?t:e!=null?e:n,kd=Fo({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(t,{attrs:e,slots:n}){const o=te(Dr),r=Lt(()=>t.route||o.value),i=te(ws,0),s=Lt(()=>{let c=Vt(i);const{matched:u}=r.value;let f;for(;(f=u[c])&&!f.components;)c++;return c}),l=Lt(()=>r.value.matched[s.value]);mn(ws,Lt(()=>s.value+1)),mn(Md,l),mn(Dr,r);const a=tt();return dt(()=>[a.value,l.value,t.name],([c,u,f],[d,g,b])=>{u&&(u.instances[f]=c,g&&g!==u&&c&&c===d&&(u.leaveGuards.size||(u.leaveGuards=g.leaveGuards),u.updateGuards.size||(u.updateGuards=g.updateGuards))),c&&u&&(!g||!wn(u,g)||!d)&&(u.enterCallbacks[f]||[]).forEach(S=>S(c))},{flush:"post"}),()=>{const c=r.value,u=t.name,f=l.value,d=f&&f.components[u];if(!d)return Ps(n.default,{Component:d,route:c});const g=f.props[u],b=g?g===!0?c.params:typeof g=="function"?g(c):g:null,A=ta(d,St({},b,e,{onVnodeUnmounted:F=>{F.component.isUnmounted&&(f.instances[u]=null)},ref:a}));return Ps(n.default,{Component:A,route:c})||A}}});function Ps(t,e){if(!t)return null;const n=t(e);return n.length===1?n[0]:n}const Fd=kd;function Nd(t){const e=ud(t.routes,t),n=t.parseQuery||Cd,o=t.stringifyQuery||_s,r=t.history,i=On(),s=On(),l=On(),a=$c(Me);let c=Me;cn&&t.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=ar.bind(null,E=>""+E),f=ar.bind(null,Pd),d=ar.bind(null,_o);function g(E,j){let x,N;return ra(E)?(x=e.getRecordMatcher(E),N=j):N=E,e.addRoute(N,x)}function b(E){const j=e.getRecordMatcher(E);j&&e.removeRoute(j)}function S(){return e.getRoutes().map(E=>E.record)}function A(E){return!!e.getRecordMatcher(E)}function F(E,j){if(j=St({},j||a.value),typeof E=="string"){const m=cr(n,E,j.path),_=e.resolve({path:m.path},j),T=r.createHref(m.fullPath);return St(m,_,{params:d(_.params),hash:_o(m.hash),redirectedFrom:void 0,href:T})}let x;if("path"in E)x=St({},E,{path:cr(n,E.path,j.path).path});else{const m=St({},E.params);for(const _ in m)m[_]==null&&delete m[_];x=St({},E,{params:f(m)}),j.params=f(j.params)}const N=e.resolve(x,j),Y=E.hash||"";N.params=u(d(N.params));const h=Hf(o,St({},E,{hash:Ed(Y),path:N.path})),p=r.createHref(h);return St({fullPath:h,hash:Y,query:o===_s?Ad(E.query):E.query||{}},N,{redirectedFrom:void 0,href:p})}function P(E){return typeof E=="string"?cr(n,E,a.value.path):St({},E)}function L(E,j){if(c!==E)return En(8,{from:j,to:E})}function y(E){return k(E)}function v(E){return y(St(P(E),{replace:!0}))}function K(E){const j=E.matched[E.matched.length-1];if(j&&j.redirect){const{redirect:x}=j;let N=typeof x=="function"?x(E):x;return typeof N=="string"&&(N=N.includes("?")||N.includes("#")?N=P(N):{path:N},N.params={}),St({query:E.query,hash:E.hash,params:"path"in N?{}:E.params},N)}}function k(E,j){const x=c=F(E),N=a.value,Y=E.state,h=E.force,p=E.replace===!0,m=K(x);if(m)return k(St(P(m),{state:typeof m=="object"?St({},Y,m.state):Y,force:h,replace:p}),j||x);const _=x;_.redirectedFrom=j;let T;return!h&&Lf(o,N,x)&&(T=En(16,{to:_,from:N}),ht(N,N,!0,!1)),(T?Promise.resolve(T):X(_,N)).catch(w=>be(w)?be(w,2)?w:Et(w):B(w,_,N)).then(w=>{if(w){if(be(w,2))return k(St({replace:p},P(w.to),{state:typeof w.to=="object"?St({},Y,w.to.state):Y,force:h}),j||_)}else w=z(_,N,!0,p,Y);return ot(_,N,w),w})}function et(E,j){const x=L(E,j);return x?Promise.reject(x):Promise.resolve()}function ft(E){const j=ee.values().next().value;return j&&typeof j.runWithContext=="function"?j.runWithContext(E):E()}function X(E,j){let x;const[N,Y,h]=Hd(E,j);x=ur(N.reverse(),"beforeRouteLeave",E,j);for(const m of N)m.leaveGuards.forEach(_=>{x.push(ze(_,E,j))});const p=et.bind(null,E,j);return x.push(p),It(x).then(()=>{x=[];for(const m of i.list())x.push(ze(m,E,j));return x.push(p),It(x)}).then(()=>{x=ur(Y,"beforeRouteUpdate",E,j);for(const m of Y)m.updateGuards.forEach(_=>{x.push(ze(_,E,j))});return x.push(p),It(x)}).then(()=>{x=[];for(const m of h)if(m.beforeEnter)if(fe(m.beforeEnter))for(const _ of m.beforeEnter)x.push(ze(_,E,j));else x.push(ze(m.beforeEnter,E,j));return x.push(p),It(x)}).then(()=>(E.matched.forEach(m=>m.enterCallbacks={}),x=ur(h,"beforeRouteEnter",E,j),x.push(p),It(x))).then(()=>{x=[];for(const m of s.list())x.push(ze(m,E,j));return x.push(p),It(x)}).catch(m=>be(m,8)?m:Promise.reject(m))}function ot(E,j,x){l.list().forEach(N=>ft(()=>N(E,j,x)))}function z(E,j,x,N,Y){const h=L(E,j);if(h)return h;const p=j===Me,m=cn?history.state:{};x&&(N||p?r.replace(E.fullPath,St({scroll:p&&m&&m.scroll},Y)):r.push(E.fullPath,Y)),a.value=E,ht(E,j,x,p),Et()}let V;function at(){V||(V=r.listen((E,j,x)=>{if(!Ce.listening)return;const N=F(E),Y=K(N);if(Y){k(St(Y,{replace:!0}),N).catch($n);return}c=N;const h=a.value;cn&&Vf(hs(h.fullPath,x.delta),$o()),X(N,h).catch(p=>be(p,12)?p:be(p,2)?(k(p.to,N).then(m=>{be(m,20)&&!x.delta&&x.type===Qn.pop&&r.go(-1,!1)}).catch($n),Promise.reject()):(x.delta&&r.go(-x.delta,!1),B(p,N,h))).then(p=>{p=p||z(N,h,!1),p&&(x.delta&&!be(p,8)?r.go(-x.delta,!1):x.type===Qn.pop&&be(p,20)&&r.go(-1,!1)),ot(N,h,p)}).catch($n)}))}let Tt=On(),lt=On(),Q;function B(E,j,x){Et(E);const N=lt.list();return N.length?N.forEach(Y=>Y(E,j,x)):console.error(E),Promise.reject(E)}function _t(){return Q&&a.value!==Me?Promise.resolve():new Promise((E,j)=>{Tt.add([E,j])})}function Et(E){return Q||(Q=!E,at(),Tt.list().forEach(([j,x])=>E?x(E):j()),Tt.reset()),E}function ht(E,j,x,N){const{scrollBehavior:Y}=t;if(!cn||!Y)return Promise.resolve();const h=!x&&Yf(hs(E.fullPath,0))||(N||!x)&&history.state&&history.state.scroll||null;return re().then(()=>Y(E,j,h)).then(p=>p&&qf(p)).catch(p=>B(p,E,j))}const wt=E=>r.go(E);let pt;const ee=new Set,Ce={currentRoute:a,listening:!0,addRoute:g,removeRoute:b,hasRoute:A,getRoutes:S,resolve:F,options:t,push:y,replace:v,go:wt,back:()=>wt(-1),forward:()=>wt(1),beforeEach:i.add,beforeResolve:s.add,afterEach:l.add,onError:lt.add,isReady:_t,install(E){const j=this;E.component("RouterLink",Id),E.component("RouterView",Fd),E.config.globalProperties.$router=j,Object.defineProperty(E.config.globalProperties,"$route",{enumerable:!0,get:()=>Vt(a)}),cn&&!pt&&a.value===Me&&(pt=!0,y(r.location).catch(Y=>{}));const x={};for(const Y in Me)Object.defineProperty(x,Y,{get:()=>a.value[Y],enumerable:!0});E.provide(mi,j),E.provide(da,vl(x)),E.provide(Dr,a);const N=E.unmount;ee.add(E),E.unmount=function(){ee.delete(E),ee.size<1&&(c=Me,V&&V(),V=null,a.value=Me,pt=!1,Q=!1),N()}}};function It(E){return E.reduce((j,x)=>j.then(()=>ft(x)),Promise.resolve())}return Ce}function Hd(t,e){const n=[],o=[],r=[],i=Math.max(e.matched.length,t.matched.length);for(let s=0;swn(c,l))?o.push(l):n.push(l));const a=t.matched[s];a&&(e.matched.find(c=>wn(c,a))||r.push(a))}return[n,o,r]}const He=(t,e)=>{const n=t.__vccOpts||t;for(const[o,r]of e)n[o]=r;return n},Ld={__name:"ScreenLayer",props:{index:{type:Number,default:0},fullscreen:{type:Boolean,default:!0}},setup(t){return(e,n)=>(Ut(),Lo(Wu,{to:"#app"},[ue("div",{class:en(["layer",{fullscreen:t.fullscreen}]),style:Te({zIndex:t.index})},[sn(e.$slots,"default",{},void 0,!0)],6)]))}},Cs=He(Ld,[["__scopeId","data-v-9070052b"]]),ha=100,Bd=`${ha}px`,jd=10;const $d={class:"header"},Wd={__name:"BasicHeader",setup(t){return to(()=>{document.documentElement.style.setProperty("--top-row-height",Bd)}),(e,n)=>(Ut(),ce("div",$d))}},Ud=He(Wd,[["__scopeId","data-v-16d584ed"]]);const Wo=t=>(Al("data-v-22abda97"),t=t(),Ml(),t),Kd={class:"sidenav"},qd=Wo(()=>ue("a",{class:"sidenav-item",href:"#"},"Trunk A",-1)),Vd=Wo(()=>ue("a",{class:"sidenav-item",href:"#"},"Trunk B",-1)),Yd=Wo(()=>ue("a",{class:"sidenav-item",href:"#"},"Trunk C",-1)),Xd=Wo(()=>ue("a",{class:"sidenav-item",href:"#"},"Trunk D",-1)),Gd=[qd,Vd,Yd,Xd],Qd={__name:"BasicSideNav",setup(t){return to(()=>{document.documentElement.style.setProperty("--starting-height",`${ha+jd*2}px`)}),(e,n)=>(Ut(),ce("div",Kd,Gd))}},Jd=He(Qd,[["__scopeId","data-v-22abda97"]]);const Zd=t=>(Al("data-v-77cb721d"),t=t(),Ml(),t),th={class:"shared-screen"},eh=Zd(()=>ue("div",{class:"background"},null,-1)),nh={__name:"BasicLayout",setup(t){return(e,n)=>{const o=kl("router-view");return Ut(),ce(Qt,null,[Dt(Vt(Cs),{index:1e3},{default:wr(()=>[ue("div",th,[Dt(Ud),Dt(Jd)]),Dt(o)]),_:1}),Dt(Vt(Cs),{index:1},{default:wr(()=>[eh]),_:1})],64)}}},oh=He(nh,[["__scopeId","data-v-77cb721d"]]);var rh=Object.defineProperty,ih=(t,e,n)=>e in t?rh(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,R=(t,e,n)=>(ih(t,typeof e!="symbol"?e+"":e,n),n);function sh(t){let e=0,n;for(let o=0,r=t.length;oe&&(e=n);return e}function kr(t){const e=Array(t.length);for(let n=0,o=t.length;n=e.x+e.w||t.y+t.h<=e.y||t.y>=e.y+e.h)}function un(t,e,n){const o=ma(t),r=va(t),i=Array(t.length);for(let s=0,l=r.length;s0&&!Un(t,e);)e.y--;else if(o){const i=o[e.i].y;for(;e.y>i&&!Un(t,e);)e.y--}let r;for(;r=Un(t,e);)e.y=r.y+r.h;return e}function ch(t,e){const n=ma(t);for(let o=0,r=t.length;oe.cols&&(i.x=e.cols-i.w),i.x<0&&(i.x=0,i.w=e.cols),!i.static)n.push(i);else for(;Un(n,i);)i.y++}return t}function As(t,e){for(let n=0,o=t.length;npa(n,e))}function ma(t){return t.filter(e=>e.static)}function Fr(t,e,n,o,r,i){if(e.static)return t;const s=e.x,l=e.y,a=o&&e.y>o;typeof n=="number"&&(e.x=n),typeof o=="number"&&(e.y=o),e.moved=!0;let c=va(t);a&&(c=c.reverse());const u=ga(c,e);if(i&&u.length)return e.x=s,e.y=l,e.moved=!1,t;for(let f=0,d=u.length;fg.y&&e.y-g.y>g.h/4||(g.static?t=Ms(t,g,e,r):t=Ms(t,e,g,r))}return t}function Ms(t,e,n,o){if(o){const r={x:n.x,y:n.y,w:n.w,h:n.h,i:"-1"};if(r.y=Math.max(e.y-n.h,0),!Un(t,r))return Fr(t,n,void 0,r.y,!1)}return Fr(t,n,void 0,n.y+1,!1)}function uh(t,e,n,o){const r="translate3d("+e+"px,"+t+"px, 0)";return{transform:r,WebkitTransform:r,MozTransform:r,msTransform:r,OTransform:r,width:n+"px",height:o+"px",position:"absolute"}}function fh(t,e,n,o){const r="translate3d("+e*-1+"px,"+t+"px, 0)";return{transform:r,WebkitTransform:r,MozTransform:r,msTransform:r,OTransform:r,width:n+"px",height:o+"px",position:"absolute"}}function dh(t,e,n,o){return{top:t+"px",left:e+"px",width:n+"px",height:o+"px",position:"absolute"}}function hh(t,e,n,o){return{top:t+"px",right:e+"px",width:n+"px",height:o+"px",position:"absolute"}}function va(t){return[].concat(t).sort(function(e,n){return e.y===n.y&&e.x===n.x?0:e.y>n.y||e.y===n.y&&e.x>n.x?1:-1})}function ph(t,e){e=e||"Layout";const n=["x","y","w","h"],o=[];if(!Array.isArray(t))throw new Error(e+" must be an array!");for(let r=0,i=t.length;r=0)throw new Error("VueGridLayout: "+e+"["+r+"].i must be unique!");if(o.push(s.i),s.static!==void 0&&typeof s.static!="boolean")throw new Error("VueGridLayout: "+e+"["+r+"].static must be a boolean!")}}function Rs(t){return gh(t)}function gh(t){const e=t.target,n=e.offsetParent||document.body,o=e.offsetParent===document.body?{left:0,top:0}:n.getBoundingClientRect(),r=t.clientX+n.scrollLeft-o.left,i=t.clientY+n.scrollTop-o.top;return{x:r,y:i}}function Os(t,e,n,o){return mh(t)?{deltaX:n-t,deltaY:o-e,lastX:t,lastY:e,x:n,y:o}:{deltaX:0,deltaY:0,lastX:n,lastY:o,x:n,y:o}}function mh(t){return typeof t=="number"&&!isNaN(t)}function vh(t,e){const n=ya(t);let o=n[0];for(let r=1,i=n.length;rt[s]&&(o=s)}return o}function Nr(t,e){if(!e[t])throw new Error("ResponsiveGridLayout: `cols` entry for breakpoint "+t+" is missing!");return e[t]}function yh(t,e,n,o,r,i,s){if(e[o])return kr(e[o]);let l=t;const a=ya(n),c=a.slice(a.indexOf(o));for(let u=0,f=c.length;u!!(t&&t.Window)&&t instanceof t.Window;let _a,Le;function wa(t){_a=t;const e=t.document.createTextNode("");e.ownerDocument!==t.document&&typeof t.wrap=="function"&&t.wrap(e)===e&&(t=t.wrap(t)),Le=t}typeof window<"u"&&window&&wa(window);function nn(t){return xa(t)?t:(t.ownerDocument||t).defaultView||Le.window}const Sh=t=>t===Le||xa(t),Th=t=>Uo(t)&&t.nodeType===11,Uo=t=>!!t&&typeof t=="object",Ea=t=>typeof t=="function",Ph=t=>typeof t=="number",Ch=t=>typeof t=="boolean",Ah=t=>typeof t=="string",Mh=t=>{if(!t||typeof t!="object")return!1;const e=nn(t)||Le;return/object|function/.test(typeof Element)?t instanceof Element||t instanceof e.Element:t.nodeType===1&&typeof t.nodeName=="string"},Rh=t=>Uo(t)&&!!t.constructor&&/function Object\b/.test(t.constructor.toString()),Oh=t=>Uo(t)&&typeof t.length<"u"&&Ea(t.splice),I={window:Sh,docFrag:Th,object:Uo,func:Ea,number:Ph,bool:Ch,string:Ah,element:Mh,plainObject:Rh,array:Oh},Zt={init:Ih,supportsTouch:null,supportsPointerEvent:null,isIOS7:null,isIOS:null,isIe9:null,isOperaMobile:null,prefixedMatchesSelector:null,pEventTypes:null,wheelEvent:null};function Ih(t){const e=qt.Element,n=t.navigator||{};Zt.supportsTouch="ontouchstart"in t||I.func(t.DocumentTouch)&&qt.document instanceof t.DocumentTouch,Zt.supportsPointerEvent=n.pointerEnabled!==!1&&!!qt.PointerEvent,Zt.isIOS=/iP(hone|od|ad)/.test(n.platform),Zt.isIOS7=/iP(hone|od|ad)/.test(n.platform)&&/OS 7[^\d]/.test(n.appVersion),Zt.isIe9=/MSIE 9/.test(n.userAgent),Zt.isOperaMobile=n.appName==="Opera"&&Zt.supportsTouch&&/Presto/.test(n.userAgent),Zt.prefixedMatchesSelector="matches"in e.prototype?"matches":"webkitMatchesSelector"in e.prototype?"webkitMatchesSelector":"mozMatchesSelector"in e.prototype?"mozMatchesSelector":"oMatchesSelector"in e.prototype?"oMatchesSelector":"msMatchesSelector",Zt.pEventTypes=Zt.supportsPointerEvent?qt.PointerEvent===t.MSPointerEvent?{up:"MSPointerUp",down:"MSPointerDown",over:"mouseover",out:"mouseout",move:"MSPointerMove",cancel:"MSPointerCancel"}:{up:"pointerup",down:"pointerdown",over:"pointerover",out:"pointerout",move:"pointermove",cancel:"pointercancel"}:null,Zt.wheelEvent=qt.document&&"onmousewheel"in qt.document?"mousewheel":"wheel"}const de=Zt;function Ze(t,e){if(t.contains)return t.contains(e);for(;e;){if(e===t)return!0;e=e.parentNode}return!1}function Sa(t,e){for(;I.element(t);){if(on(t,e))return t;t=Be(t)}return null}function Be(t){let e=t.parentNode;if(I.docFrag(e)){for(;(e=e.host)&&I.docFrag(e););return e}return e}function on(t,e){return Le!==_a&&(e=e.replace(/\/deep\//g," ")),t[de.prefixedMatchesSelector](e)}function Hr(t,e,n){for(;I.element(t);){if(on(t,e))return!0;if(t=Be(t),t===n)return on(t,e)}return!1}function zs(t){return t.correspondingUseElement||t}function zh(t){return t=t||Le,{x:t.scrollX||t.document.documentElement.scrollLeft,y:t.scrollY||t.document.documentElement.scrollTop}}function vi(t){const e=t instanceof qt.SVGElement?t.getBoundingClientRect():t.getClientRects()[0];return e&&{left:e.left,right:e.right,top:e.top,bottom:e.bottom,width:e.width||e.right-e.left,height:e.height||e.bottom-e.top}}function yi(t){const e=vi(t);if(!de.isIOS7&&e){const n=zh(nn(t));e.left+=n.x,e.right+=n.x,e.top+=n.y,e.bottom+=n.y}return e}function Ds(t){return I.string(t)?(qt.document.querySelector(t),!0):!1}function G(t,e){for(const n in e)t[n]=e[n];return t}function Jn(t,e){let n=!1;return function(){return n||(Le.console.warn(e),n=!0),t.apply(this,arguments)}}function Ta(t,e){return t.name=e.name,t.axis=e.axis,t.edges=e.edges,t}function Dh(t){const{Interactable:e}=t;e.prototype.getAction=function(n,o,r,i){const s=kh(this,o,r,i,t);return this.options.actionChecker?this.options.actionChecker(n,o,s,this,i,r):s},e.prototype.ignoreFrom=Jn(function(n){return this._backCompatOption("ignoreFrom",n)},"Interactable.ignoreFrom() has been deprecated. Use Interactble.draggable({ignoreFrom: newValue})."),e.prototype.allowFrom=Jn(function(n){return this._backCompatOption("allowFrom",n)},"Interactable.allowFrom() has been deprecated. Use Interactble.draggable({allowFrom: newValue})."),e.prototype.actionChecker=Nh,e.prototype.styleCursor=Fh}function kh(t,e,n,o,r){const i=t.getRect(o),s=e.buttons||{0:1,1:4,3:8,4:16}[e.button],l={action:null,interactable:t,interaction:n,element:o,rect:i,buttons:s};return r.fire("auto-start:check",l),l.action}function Fh(t){return I.bool(t)?(this.options.styleCursor=t,this):t===null?(delete this.options.styleCursor,this):this.options.styleCursor}function Nh(t){return I.func(t)?(this.options.actionChecker=t,this):t===null?(delete this.options.actionChecker,this):this.options.actionChecker}const Hh={id:"auto-start/interactableMethods",install:Dh};function Lh(t){const{interactStatic:e,defaults:n}=t;t.usePlugin(Hh),n.base.actionChecker=null,n.base.styleCursor=!0,G(n.perAction,{manualStart:!1,max:1/0,maxPerElement:1,allowFrom:null,ignoreFrom:null,mouseButtons:1}),e.maxInteractions=o=>Ma(o,t),t.autoStart={maxInteractions:1/0,withinInteractionLimit:Ko,cursorElement:null}}function Bh({interaction:t,pointer:e,event:n,eventTarget:o},r){if(t.interacting())return;const i=Ca(t,e,n,o,r);Aa(t,i,r)}function jh({interaction:t,pointer:e,event:n,eventTarget:o},r){if(t.pointerType!=="mouse"||t.pointerIsDown||t.interacting())return;const i=Ca(t,e,n,o,r);Aa(t,i,r)}function $h(t,e){const{interaction:n}=t;if(!n.pointerIsDown||n.interacting()||!n.pointerWasMoved||!n.prepared.name)return;e.fire("autoStart:before-start",t);const{interactable:o}=n,r=n.prepared.name;r&&o&&(o.options[r].manualStart||!Ko(o,n.element,n.prepared,e)?n.stop():(n.start(n.prepared,o,n.element),Ra(n,e)))}function Wh({interaction:t},e){const{interactable:n}=t;n&&n.options.styleCursor&&Lr(t.element,"",e)}function Pa(t,e,n,o,r){return e.testIgnoreAllow(e.options[t.name],n,o)&&e.options[t.name].enabled&&Ko(e,n,t,r)?t:null}function Uh(t,e,n,o,r,i,s){for(let l=0,a=o.length;l=l||f.interactable===t&&(c+=d===n.name?1:0,c>=i||f.element===e&&(u++,d===n.name&&u>=s))))return!1}return l>0}function Ma(t,e){return I.number(t)?(e.autoStart.maxInteractions=t,this):e.autoStart.maxInteractions}function Lr(t,e,n){const{cursorElement:o}=n.autoStart;o&&o!==t&&(o.style.cursor=""),t.ownerDocument.documentElement.style.cursor=e,t.style.cursor=e,n.autoStart.cursorElement=e?t:null}function Ra(t,e){const{interactable:n,element:o,prepared:r}=t;if(!(t.pointerType==="mouse"&&n&&n.options.styleCursor)){e.autoStart.cursorElement&&Lr(e.autoStart.cursorElement,"",e);return}let i="";if(r.name){const s=n.options[r.name].cursorChecker;I.func(s)?i=s(r,n,o,t._interacting):i=e.actions.map[r.name].getCursor(r)}Lr(t.element,i||"",e)}const Kh={id:"auto-start/base",before:["actions"],install:Lh,listeners:{"interactions:down":Bh,"interactions:move":(t,e)=>{jh(t,e),$h(t,e)},"interactions:stop":Wh},maxInteractions:Ma,withinInteractionLimit:Ko,validateAction:Pa},bi=Kh;function qh({interaction:t,eventTarget:e,dx:n,dy:o},r){if(t.prepared.name!=="drag")return;const i=Math.abs(n),s=Math.abs(o),l=t.interactable.options.drag,a=l.startAxis,c=i>s?"x":i{t.autoStartHoldTimer=null},"autoStart:prepared":({interaction:t})=>{const e=fr(t);e>0&&(t.autoStartHoldTimer=setTimeout(()=>{t.start(t.prepared,t.interactable,t.element)},e))},"interactions:move":({interaction:t,duplicate:e})=>{t.autoStartHoldTimer&&t.pointerWasMoved&&!e&&(clearTimeout(t.autoStartHoldTimer),t.autoStartHoldTimer=null)},"autoStart:before-start":({interaction:t})=>{fr(t)>0&&(t.prepared.name=null)}},getHoldDuration:fr},Qh=Gh,Jh={id:"auto-start",install(t){t.usePlugin(bi),t.usePlugin(Qh),t.usePlugin(Yh)}},Zh=(t,e)=>t.indexOf(e)!==-1,Oa=(t,e)=>{for(const n of e)t.push(n);return t},Ia=t=>Oa([],t),qo=(t,e)=>{for(let n=0;nt[qo(t,e)];function Sn(t){const e={};for(const n in t){const o=t[n];I.plainObject(o)?e[n]=Sn(o):I.array(o)?e[n]=Ia(o):e[n]=o}return e}let ks=0,xe,Ve;function tp(t){if(xe=t.requestAnimationFrame,Ve=t.cancelAnimationFrame,!xe){const e=["ms","moz","webkit","o"];for(const n of e)xe=t[`${n}RequestAnimationFrame`],Ve=t[`${n}CancelAnimationFrame`]||t[`${n}CancelRequestAnimationFrame`]}xe=xe&&xe.bind(t),Ve=Ve&&Ve.bind(t),xe||(xe=e=>{const n=Date.now(),o=Math.max(0,16-(n-ks)),r=t.setTimeout(()=>{e(n+o)},o);return ks=n+o,r},Ve=e=>clearTimeout(e))}const fn={request:t=>xe(t),cancel:t=>Ve(t),init:tp};function vn(t,e,n){if(n=n||{},I.string(t)&&t.search(" ")!==-1&&(t=Fs(t)),I.array(t))return t.reduce((o,r)=>G(o,vn(r,e,n)),n);if(I.object(t)&&(e=t,t=""),I.func(e))n[t]=n[t]||[],n[t].push(e);else if(I.array(e))for(const o of e)vn(t,o,n);else if(I.object(e))for(const o in e){const r=Fs(o).map(i=>`${t}${i}`);vn(r,e[o],n)}return n}function Fs(t){return t.trim().split(/ +/)}function Ns(t,e){for(const n of e){if(t.immediatePropagationStopped)break;n(t)}}class za{constructor(e){R(this,"options"),R(this,"types",{}),R(this,"propagationStopped",!1),R(this,"immediatePropagationStopped",!1),R(this,"global"),this.options=G({},e||{})}fire(e){let n;const o=this.global;(n=this.types[e.type])&&Ns(e,n),!e.propagationStopped&&o&&(n=o[e.type])&&Ns(e,n)}on(e,n){const o=vn(e,n);for(e in o)this.types[e]=Oa(this.types[e]||[],o[e])}off(e,n){const o=vn(e,n);for(e in o){const r=this.types[e];if(!(!r||!r.length))for(const i of o[e]){const s=r.indexOf(i);s!==-1&&r.splice(s,1)}}}getRect(e){return null}}function Da(t,e,n){return t==="parent"?Be(n):t==="self"?e.getRect(n):Sa(n,t)}function Zn(t,e,n,o){let r=t;return I.string(r)?r=Da(r,e,n):I.func(r)&&(r=r(...o)),I.element(r)&&(r=yi(r)),r}function Vo(t){return t&&{x:"x"in t?t.x:t.left,y:"y"in t?t.y:t.top}}function ep(t){return t&&!("left"in t&&"top"in t)&&(t=G({},t),t.left=t.x||0,t.top=t.y||0,t.right=t.right||t.left+t.width,t.bottom=t.bottom||t.top+t.height),t}function Hs(t){return t&&!("x"in t&&"y"in t)&&(t=G({},t),t.x=t.left||0,t.y=t.top||0,t.width=t.width||(t.right||0)-t.x,t.height=t.height||(t.bottom||0)-t.y),t}function xi(t,e,n){t.left&&(e.left+=n.x),t.right&&(e.right+=n.x),t.top&&(e.top+=n.y),t.bottom&&(e.bottom+=n.y),e.width=e.right-e.left,e.height=e.bottom-e.top}function _i(t,e,n){const o=t.options[n],r=o&&o.origin||t.options.origin,i=Zn(r,t,e,[t&&e]);return Vo(i)||{x:0,y:0}}const Yo=(t,e)=>Math.sqrt(t*t+e*e);class ka{constructor(e){R(this,"immediatePropagationStopped",!1),R(this,"propagationStopped",!1),this._interaction=e}preventDefault(){}stopPropagation(){this.propagationStopped=!0}stopImmediatePropagation(){this.immediatePropagationStopped=this.propagationStopped=!0}}Object.defineProperty(ka.prototype,"interaction",{get(){return this._interaction._proxy},set(){}});const Fa={base:{preventDefault:"auto",deltaSource:"page"},perAction:{enabled:!1,origin:{x:0,y:0}},actions:{}};class wi extends ka{constructor(e,n,o,r,i,s,l){super(e),R(this,"relatedTarget",null),R(this,"screenX"),R(this,"screenY"),R(this,"button"),R(this,"buttons"),R(this,"ctrlKey"),R(this,"shiftKey"),R(this,"altKey"),R(this,"metaKey"),R(this,"page"),R(this,"client"),R(this,"delta"),R(this,"rect"),R(this,"x0"),R(this,"y0"),R(this,"t0"),R(this,"dt"),R(this,"duration"),R(this,"clientX0"),R(this,"clientY0"),R(this,"velocity"),R(this,"speed"),R(this,"swipe"),R(this,"axes"),R(this,"preEnd"),i=i||e.element;const a=e.interactable,c=(a&&a.options||Fa).deltaSource,u=_i(a,i,o),f=r==="start",d=r==="end",g=f?this:e.prevEvent,b=f?e.coords.start:d?{page:g.page,client:g.client,timeStamp:e.coords.cur.timeStamp}:e.coords.cur;this.page=G({},b.page),this.client=G({},b.client),this.rect=G({},e.rect),this.timeStamp=b.timeStamp,d||(this.page.x-=u.x,this.page.y-=u.y,this.client.x-=u.x,this.client.y-=u.y),this.ctrlKey=n.ctrlKey,this.altKey=n.altKey,this.shiftKey=n.shiftKey,this.metaKey=n.metaKey,this.button=n.button,this.buttons=n.buttons,this.target=i,this.currentTarget=i,this.preEnd=s,this.type=l||o+(r||""),this.interactable=a,this.t0=f?e.pointers[e.pointers.length-1].downTime:g.t0,this.x0=e.coords.start.page.x-u.x,this.y0=e.coords.start.page.y-u.y,this.clientX0=e.coords.start.client.x-u.x,this.clientY0=e.coords.start.client.y-u.y,f||d?this.delta={x:0,y:0}:this.delta={x:this[c].x-g[c].x,y:this[c].y-g[c].y},this.dt=e.coords.delta.timeStamp,this.duration=this.timeStamp-this.t0,this.velocity=G({},e.coords.velocity[c]),this.speed=Yo(this.velocity.x,this.velocity.y),this.swipe=d||r==="inertiastart"?this.getSwipe():null}getSwipe(){const e=this._interaction;if(e.prevEvent.speed<600||this.timeStamp-e.prevEvent.timeStamp>150)return null;let n=180*Math.atan2(e.prevEvent.velocityY,e.prevEvent.velocityX)/Math.PI;const o=22.5;n<0&&(n+=360);const r=135-o<=n&&n<225+o,i=225-o<=n&&n<315+o,s=!r&&(315-o<=n||n<45+o),l=!i&&45-o<=n&&n<135+o;return{up:i,down:l,left:r,right:s,angle:n,speed:e.prevEvent.speed,velocity:{x:e.prevEvent.velocityX,y:e.prevEvent.velocityY}}}preventDefault(){}stopImmediatePropagation(){this.immediatePropagationStopped=this.propagationStopped=!0}stopPropagation(){this.propagationStopped=!0}}Object.defineProperties(wi.prototype,{pageX:{get(){return this.page.x},set(t){this.page.x=t}},pageY:{get(){return this.page.y},set(t){this.page.y=t}},clientX:{get(){return this.client.x},set(t){this.client.x=t}},clientY:{get(){return this.client.y},set(t){this.client.y=t}},dx:{get(){return this.delta.x},set(t){this.delta.x=t}},dy:{get(){return this.delta.y},set(t){this.delta.y=t}},velocityX:{get(){return this.velocity.x},set(t){this.velocity.x=t}},velocityY:{get(){return this.velocity.y},set(t){this.velocity.y=t}}});function Na(t,e){t.__set||(t.__set={});for(const n in e)typeof t[n]!="function"&&n!=="__set"&&Object.defineProperty(t,n,{get(){return n in t.__set?t.__set[n]:t.__set[n]=e[n]},set(o){t.__set[n]=o},configurable:!0});return t}function dr(t,e){t.page=t.page||{},t.page.x=e.page.x,t.page.y=e.page.y,t.client=t.client||{},t.client.x=e.client.x,t.client.y=e.client.y,t.timeStamp=e.timeStamp}function np(t,e,n){t.page.x=n.page.x-e.page.x,t.page.y=n.page.y-e.page.y,t.client.x=n.client.x-e.client.x,t.client.y=n.client.y-e.client.y,t.timeStamp=n.timeStamp-e.timeStamp}function op(t,e){const n=Math.max(e.timeStamp/1e3,.001);t.page.x=e.page.x/n,t.page.y=e.page.y/n,t.client.x=e.client.x/n,t.client.y=e.client.y/n,t.timeStamp=n}function rp(t){t.page.x=0,t.page.y=0,t.client.x=0,t.client.y=0}function Ha(t){return t instanceof qt.Event||t instanceof qt.Touch}function wo(t,e,n){return n=n||{},t=t||"page",n.x=e[t+"X"],n.y=e[t+"Y"],n}function ip(t,e){return e=e||{x:0,y:0},de.isOperaMobile&&Ha(t)?(wo("screen",t,e),e.x+=window.scrollX,e.y+=window.scrollY):wo("page",t,e),e}function sp(t,e){return e=e||{},de.isOperaMobile&&Ha(t)?wo("screen",t,e):wo("client",t,e),e}function Eo(t){return I.number(t.pointerId)?t.pointerId:t.identifier}function lp(t,e,n){const o=e.length>1?La(e):e[0];ip(o,t.page),sp(o,t.client),t.timeStamp=n}function Ei(t){const e=[];return I.array(t)?(e[0]=t[0],e[1]=t[1]):t.type==="touchend"?t.touches.length===1?(e[0]=t.touches[0],e[1]=t.changedTouches[0]):t.touches.length===0&&(e[0]=t.changedTouches[0],e[1]=t.changedTouches[1]):(e[0]=t.touches[0],e[1]=t.touches[1]),e}function La(t){const e={pageX:0,pageY:0,clientX:0,clientY:0,screenX:0,screenY:0};for(const n of t)for(const o in e)e[o]+=n[o];for(const n in e)e[n]/=t.length;return e}function ap(t){if(!t.length)return null;const e=Ei(t),n=Math.min(e[0].pageX,e[1].pageX),o=Math.min(e[0].pageY,e[1].pageY),r=Math.max(e[0].pageX,e[1].pageX),i=Math.max(e[0].pageY,e[1].pageY);return{x:n,y:o,left:n,top:o,right:r,bottom:i,width:r-n,height:i-o}}function cp(t,e){const n=e+"X",o=e+"Y",r=Ei(t),i=r[0][n]-r[1][n],s=r[0][o]-r[1][o];return Yo(i,s)}function up(t,e){const n=e+"X",o=e+"Y",r=Ei(t),i=r[1][n]-r[0][n],s=r[1][o]-r[0][o];return 180*Math.atan2(s,i)/Math.PI}function fp(t){return I.string(t.pointerType)?t.pointerType:I.number(t.pointerType)?[void 0,void 0,"touch","pen","mouse"][t.pointerType]:/touch/.test(t.type||"")||t instanceof qt.Touch?"touch":"mouse"}function Ba(t){const e=I.func(t.composedPath)?t.composedPath():t.path;return[zs(e?e[0]:t.target),zs(t.currentTarget)]}function In(){return{page:{x:0,y:0},client:{x:0,y:0},timeStamp:0}}function jr(t,e){if(e.phaselessTypes[t])return!0;for(const n in e.map)if(t.indexOf(n)===0&&t.substr(n.length)in e.phases)return!0;return!1}function dp(t){const e=(n,o)=>{let r=t.interactables.get(n,o);return r||(r=t.interactables.new(n,o),r.events.global=e.globalEvents),r};return e.getPointerAverage=La,e.getTouchBBox=ap,e.getTouchDistance=cp,e.getTouchAngle=up,e.getElementRect=yi,e.getElementClientRect=vi,e.matchesSelector=on,e.closest=Sa,e.globalEvents={},e.version="1.10.18",e.scope=t,e.use=function(n,o){return this.scope.usePlugin(n,o),this},e.isSet=function(n,o){return!!this.scope.interactables.get(n,o&&o.context)},e.on=Jn(function(n,o,r){if(I.string(n)&&n.search(" ")!==-1&&(n=n.trim().split(/ +/)),I.array(n)){for(const i of n)this.on(i,o,r);return this}if(I.object(n)){for(const i in n)this.on(i,n[i],o);return this}return jr(n,this.scope.actions)?this.globalEvents[n]?this.globalEvents[n].push(o):this.globalEvents[n]=[o]:this.scope.events.add(this.scope.document,n,o,{options:r}),this},"The interact.on() method is being deprecated"),e.off=Jn(function(n,o,r){if(I.string(n)&&n.search(" ")!==-1&&(n=n.trim().split(/ +/)),I.array(n)){for(const i of n)this.off(i,o,r);return this}if(I.object(n)){for(const i in n)this.off(i,n[i],o);return this}if(jr(n,this.scope.actions)){let i;n in this.globalEvents&&(i=this.globalEvents[n].indexOf(o))!==-1&&this.globalEvents[n].splice(i,1)}else this.scope.events.remove(this.scope.document,n,o,r);return this},"The interact.off() method is being deprecated"),e.debug=function(){return this.scope},e.supportsTouch=function(){return de.supportsTouch},e.supportsPointerEvent=function(){return de.supportsPointerEvent},e.stop=function(){for(const n of this.scope.interactions.list)n.stop();return this},e.pointerMoveTolerance=function(n){return I.number(n)?(this.scope.interactions.pointerMoveTolerance=n,this):this.scope.interactions.pointerMoveTolerance},e.addDocument=function(n,o){this.scope.addDocument(n,o)},e.removeDocument=function(n){this.scope.removeDocument(n)},e}class hp{constructor(e,n,o,r){R(this,"options"),R(this,"_actions"),R(this,"target"),R(this,"events",new za),R(this,"_context"),R(this,"_win"),R(this,"_doc"),R(this,"_scopeEvents"),R(this,"_rectChecker"),this._actions=n.actions,this.target=e,this._context=n.context||o,this._win=nn(Ds(e)?this._context:e),this._doc=this._win.document,this._scopeEvents=r,this.set(n)}get _defaults(){return{base:{},perAction:{},actions:{}}}setOnEvents(e,n){return I.func(n.onstart)&&this.on(`${e}start`,n.onstart),I.func(n.onmove)&&this.on(`${e}move`,n.onmove),I.func(n.onend)&&this.on(`${e}end`,n.onend),I.func(n.oninertiastart)&&this.on(`${e}inertiastart`,n.oninertiastart),this}updatePerActionListeners(e,n,o){(I.array(n)||I.object(n))&&this.off(e,n),(I.array(o)||I.object(o))&&this.on(e,o)}setPerAction(e,n){const o=this._defaults;for(const r in n){const i=r,s=this.options[e],l=n[i];i==="listeners"&&this.updatePerActionListeners(e,s.listeners,l),I.array(l)?s[i]=Ia(l):I.plainObject(l)?(s[i]=G(s[i]||{},Sn(l)),I.object(o.perAction[i])&&"enabled"in o.perAction[i]&&(s[i].enabled=l.enabled!==!1)):I.bool(l)&&I.object(o.perAction[i])?s[i].enabled=l:s[i]=l}}getRect(e){return e=e||(I.element(this.target)?this.target:null),I.string(this.target)&&(e=e||this._context.querySelector(this.target)),yi(e)}rectChecker(e){return I.func(e)?(this._rectChecker=e,this.getRect=n=>{const o=G({},this._rectChecker(n));return"width"in o||(o.width=o.right-o.left,o.height=o.bottom-o.top),o},this):e===null?(delete this.getRect,delete this._rectChecker,this):this.getRect}_backCompatOption(e,n){if(Ds(n)||I.object(n)){this.options[e]=n;for(const o in this._actions.map)this.options[o][e]=n;return this}return this.options[e]}origin(e){return this._backCompatOption("origin",e)}deltaSource(e){return e==="page"||e==="client"?(this.options.deltaSource=e,this):this.options.deltaSource}context(){return this._context}inContext(e){return this._context===e.ownerDocument||Ze(this._context,e)}testIgnoreAllow(e,n,o){return!this.testIgnore(e.ignoreFrom,n,o)&&this.testAllow(e.allowFrom,n,o)}testAllow(e,n,o){return e?I.element(o)?I.string(e)?Hr(o,e,n):I.element(e)?Ze(e,o):!1:!1:!0}testIgnore(e,n,o){return!e||!I.element(o)?!1:I.string(e)?Hr(o,e,n):I.element(e)?Ze(e,o):!1}fire(e){return this.events.fire(e),this}_onOff(e,n,o,r){I.object(n)&&!I.array(n)&&(r=o,o=null);const i=e==="on"?"add":"remove",s=vn(n,o);for(let l in s){l==="wheel"&&(l=de.wheelEvent);for(const a of s[l])jr(l,this._actions)?this.events[e](l,a):I.string(this.target)?this._scopeEvents[`${i}Delegate`](this.target,this._context,l,a,r):this._scopeEvents[i](this.target,l,a,r)}return this}on(e,n,o){return this._onOff("on",e,n,o)}off(e,n,o){return this._onOff("off",e,n,o)}set(e){const n=this._defaults;I.object(e)||(e={}),this.options=Sn(n.base);for(const o in this._actions.methodDict){const r=o,i=this._actions.methodDict[r];this.options[r]={},this.setPerAction(r,G(G({},n.perAction),n.actions[r])),this[i](e[r])}for(const o in e)I.func(this[o])&&this[o](e[o]);return this}unset(){if(I.string(this.target))for(const e in this._scopeEvents.delegatedEvents){const n=this._scopeEvents.delegatedEvents[e];for(let o=n.length-1;o>=0;o--){const{selector:r,context:i,listeners:s}=n[o];r===this.target&&i===this._context&&n.splice(o,1);for(let l=s.length-1;l>=0;l--)this._scopeEvents.removeDelegate(this.target,this._context,e,s[l][0],s[l][1])}}else this._scopeEvents.remove(this.target,"all")}}class pp{constructor(e){R(this,"list",[]),R(this,"selectorMap",{}),R(this,"scope"),this.scope=e,e.addListeners({"interactable:unset":({interactable:n})=>{const{target:o,_context:r}=n,i=I.string(o)?this.selectorMap[o]:o[this.scope.id],s=qo(i,l=>l.context===r);i[s]&&(i[s].context=null,i[s].interactable=null),i.splice(s,1)}})}new(e,n){n=G(n||{},{actions:this.scope.actions});const o=new this.scope.Interactable(e,n,this.scope.document,this.scope.events),r={context:o._context,interactable:o};return this.scope.addDocument(o._doc),this.list.push(o),I.string(e)?(this.selectorMap[e]||(this.selectorMap[e]=[]),this.selectorMap[e].push(r)):(o.target[this.scope.id]||Object.defineProperty(e,this.scope.id,{value:[],configurable:!0}),e[this.scope.id].push(r)),this.scope.fire("interactable:new",{target:e,options:n,interactable:o,win:this.scope._win}),o}get(e,n){const o=n&&n.context||this.scope.document,r=I.string(e),i=r?this.selectorMap[e]:e[this.scope.id];if(!i)return null;const s=Br(i,l=>l.context===o&&(r||l.interactable.inContext(e)));return s&&s.interactable}forEachMatch(e,n){for(const o of this.list){let r;if((I.string(o.target)?I.element(e)&&on(e,o.target):e===o.target)&&o.inContext(e)&&(r=n(o)),r!==void 0)return r}}}function gp(t){var e;const n=[],o={},r=[],i={add:s,remove:l,addDelegate:a,removeDelegate:c,delegateListener:u,delegateUseCapture:f,delegatedEvents:o,documents:r,targets:n,supportsOptions:!1,supportsPassive:!1};(e=t.document)==null||e.createElement("div").addEventListener("test",null,{get capture(){return i.supportsOptions=!0},get passive(){return i.supportsPassive=!0}}),t.events=i;function s(d,g,b,S){const A=zn(S);let F=Br(n,P=>P.eventTarget===d);F||(F={eventTarget:d,events:{}},n.push(F)),F.events[g]||(F.events[g]=[]),d.addEventListener&&!Zh(F.events[g],b)&&(d.addEventListener(g,b,i.supportsOptions?A:A.capture),F.events[g].push(b))}function l(d,g,b,S){const A=zn(S),F=qo(n,v=>v.eventTarget===d),P=n[F];if(!P||!P.events)return;if(g==="all"){for(g in P.events)P.events.hasOwnProperty(g)&&l(d,g,"all");return}let L=!1;const y=P.events[g];if(y){if(b==="all"){for(let v=y.length-1;v>=0;v--)l(d,g,y[v],A);return}else for(let v=0;vy.selector===d&&y.context===g);L||(L={selector:d,context:g,listeners:[]},P.push(L)),L.listeners.push([S,F])}function c(d,g,b,S,A){const F=zn(A),P=o[b];let L=!1,y;if(P)for(y=P.length-1;y>=0;y--){const v=P[y];if(v.selector===d&&v.context===g){const{listeners:K}=v;for(let k=K.length-1;k>=0;k--){const[et,{capture:ft,passive:X}]=K[k];if(et===S&&ft===F.capture&&X===F.passive){K.splice(k,1),K.length||(P.splice(y,1),l(g,b,u),l(g,b,f,!0)),L=!0;break}}if(L)break}}}function u(d,g){const b=zn(g),S=new mp(d),A=o[d.type],[F]=Ba(d);let P=F;for(;I.element(P);){for(let L=0;Lo[r](...i)});this._scopeFire("interactions:new",{interaction:this})}get pointerMoveTolerance(){return 1}pointerDown(e,n,o){const r=this.updatePointer(e,n,o,!0),i=this.pointers[r];this._scopeFire("interactions:down",{pointer:e,event:n,eventTarget:o,pointerIndex:r,pointerInfo:i,type:"down",interaction:this})}start(e,n,o){return this.interacting()||!this.pointerIsDown||this.pointers.length<(e.name==="gesture"?2:1)||!n.options[e.name].enabled?!1:(Ta(this.prepared,e),this.interactable=n,this.element=o,this.rect=n.getRect(o),this.edges=this.prepared.edges?G({},this.prepared.edges):{left:!0,right:!0,top:!0,bottom:!0},this._stopped=!1,this._interacting=this._doPhase({interaction:this,event:this.downEvent,phase:"start"})&&!this._stopped,this._interacting)}pointerMove(e,n,o){!this.simulation&&!(this.modification&&this.modification.endResult)&&this.updatePointer(e,n,o,!1);const r=this.coords.cur.page.x===this.coords.prev.page.x&&this.coords.cur.page.y===this.coords.prev.page.y&&this.coords.cur.client.x===this.coords.prev.client.x&&this.coords.cur.client.y===this.coords.prev.client.y;let i,s;this.pointerIsDown&&!this.pointerWasMoved&&(i=this.coords.cur.client.x-this.coords.start.client.x,s=this.coords.cur.client.y-this.coords.start.client.y,this.pointerWasMoved=Yo(i,s)>this.pointerMoveTolerance);const l=this.getPointerIndex(e),a={pointer:e,pointerIndex:l,pointerInfo:this.pointers[l],event:n,type:"move",eventTarget:o,dx:i,dy:s,duplicate:r,interaction:this};r||op(this.coords.velocity,this.coords.delta),this._scopeFire("interactions:move",a),!r&&!this.simulation&&(this.interacting()&&(a.type=null,this.move(a)),this.pointerWasMoved&&dr(this.coords.prev,this.coords.cur))}move(e){(!e||!e.event)&&rp(this.coords.delta),e=G({pointer:this._latestPointer.pointer,event:this._latestPointer.event,eventTarget:this._latestPointer.eventTarget,interaction:this},e||{}),e.phase="move",this._doPhase(e)}pointerUp(e,n,o,r){let i=this.getPointerIndex(e);i===-1&&(i=this.updatePointer(e,n,o,!1));const s=/cancel$/i.test(n.type)?"cancel":"up";this._scopeFire(`interactions:${s}`,{pointer:e,pointerIndex:i,pointerInfo:this.pointers[i],event:n,eventTarget:o,type:s,curEventTarget:r,interaction:this}),this.simulation||this.end(n),this.removePointer(e,n)}documentBlur(e){this.end(e),this._scopeFire("interactions:blur",{event:e,type:"blur",interaction:this})}end(e){this._ending=!0,e=e||this._latestPointer.event;let n;this.interacting()&&(n=this._doPhase({event:e,interaction:this,phase:"end"})),this._ending=!1,n===!0&&this.stop()}currentAction(){return this._interacting?this.prepared.name:null}interacting(){return this._interacting}stop(){this._scopeFire("interactions:stop",{interaction:this}),this.interactable=this.element=null,this._interacting=!1,this._stopped=!0,this.prepared.name=this.prevEvent=null}getPointerIndex(e){const n=Eo(e);return this.pointerType==="mouse"||this.pointerType==="pen"?this.pointers.length-1:qo(this.pointers,o=>o.id===n)}getPointerInfo(e){return this.pointers[this.getPointerIndex(e)]}updatePointer(e,n,o,r){const i=Eo(e);let s=this.getPointerIndex(e),l=this.pointers[s];return r=r===!1?!1:r||/(down|start)$/i.test(n.type),l?l.pointer=e:(l=new yp(i,e,n,null,null),s=this.pointers.length,this.pointers.push(l)),lp(this.coords.cur,this.pointers.map(a=>a.pointer),this._now()),np(this.coords.delta,this.coords.prev,this.coords.cur),r&&(this.pointerIsDown=!0,l.downTime=this.coords.cur.timeStamp,l.downTarget=o,Na(this.downPointer,e),this.interacting()||(dr(this.coords.start,this.coords.cur),dr(this.coords.prev,this.coords.cur),this.downEvent=n,this.pointerWasMoved=!1)),this._updateLatestPointer(e,n,o),this._scopeFire("interactions:update-pointer",{pointer:e,event:n,eventTarget:o,down:r,pointerInfo:l,pointerIndex:s,interaction:this}),s}removePointer(e,n){const o=this.getPointerIndex(e);if(o===-1)return;const r=this.pointers[o];this._scopeFire("interactions:remove-pointer",{pointer:e,event:n,eventTarget:null,pointerIndex:o,pointerInfo:r,interaction:this}),this.pointers.splice(o,1),this.pointerIsDown=!1}_updateLatestPointer(e,n,o){this._latestPointer.pointer=e,this._latestPointer.event=n,this._latestPointer.eventTarget=o}destroy(){this._latestPointer.pointer=null,this._latestPointer.event=null,this._latestPointer.eventTarget=null}_createPreparedEvent(e,n,o,r){return new wi(this,e,this.prepared.name,n,this.element,o,r)}_fireEvent(e){var n;(n=this.interactable)==null||n.fire(e),(!this.prevEvent||e.timeStamp>=this.prevEvent.timeStamp)&&(this.prevEvent=e)}_doPhase(e){const{event:n,phase:o,preEnd:r,type:i}=e,{rect:s}=this;if(s&&o==="move"&&(xi(this.edges,s,this.coords.delta[this.interactable.options.deltaSource]),s.width=s.right-s.left,s.height=s.bottom-s.top),this._scopeFire(`interactions:before-action-${o}`,e)===!1)return!1;const l=e.iEvent=this._createPreparedEvent(n,o,r,i);return this._scopeFire(`interactions:action-${o}`,e),o==="start"&&(this.prevEvent=l),this._fireEvent(l),this._scopeFire(`interactions:after-action-${o}`,e),!0}_now(){return Date.now()}}const _p=xp;function wp(t){return/^(always|never|auto)$/.test(t)?(this.options.preventDefault=t,this):I.bool(t)?(this.options.preventDefault=t?"always":"never",this):this.options.preventDefault}function Ep(t,e,n){const o=t.options.preventDefault;if(o!=="never"){if(o==="always"){n.preventDefault();return}if(e.events.supportsPassive&&/^touch(start|move)$/.test(n.type)){const r=nn(n.target).document,i=e.getDocOptions(r);if(!(i&&i.events)||i.events.passive!==!1)return}/^(mouse|pointer|touch)*(down|start)/i.test(n.type)||I.element(n.target)&&on(n.target,"input,select,textarea,[contenteditable=true],[contenteditable=true] *")||n.preventDefault()}}function Sp({interaction:t,event:e}){t.interactable&&t.interactable.checkAndPreventDefault(e)}function Tp(t){const{Interactable:e}=t;e.prototype.preventDefault=wp,e.prototype.checkAndPreventDefault=function(n){return Ep(this,t,n)},t.interactions.docEvents.push({type:"dragstart",listener(n){for(const o of t.interactions.list)if(o.element&&(o.element===n.target||Ze(o.element,n.target))){o.interactable.checkAndPreventDefault(n);return}}})}const Pp={id:"core/interactablePreventDefault",install:Tp,listeners:["down","move","up","cancel"].reduce((t,e)=>(t[`interactions:${e}`]=Sp,t),{})},Ur={methodOrder:["simulationResume","mouseOrPen","hasPointer","idle"],search(t){for(const e of Ur.methodOrder){const n=Ur[e](t);if(n)return n}return null},simulationResume({pointerType:t,eventType:e,eventTarget:n,scope:o}){if(!/down|start/i.test(e))return null;for(const r of o.interactions.list){let i=n;if(r.simulation&&r.simulation.allowResume&&r.pointerType===t)for(;i;){if(i===r.element)return r;i=Be(i)}}return null},mouseOrPen({pointerId:t,pointerType:e,eventType:n,scope:o}){if(e!=="mouse"&&e!=="pen")return null;let r;for(const i of o.interactions.list)if(i.pointerType===e){if(i.simulation&&!Ls(i,t))continue;if(i.interacting())return i;r||(r=i)}if(r)return r;for(const i of o.interactions.list)if(i.pointerType===e&&!(/down/i.test(n)&&i.simulation))return i;return null},hasPointer({pointerId:t,scope:e}){for(const n of e.interactions.list)if(Ls(n,t))return n;return null},idle({pointerType:t,scope:e}){for(const n of e.interactions.list){if(n.pointers.length===1){const o=n.interactable;if(o&&!(o.options.gesture&&o.options.gesture.enabled))continue}else if(n.pointers.length>=2)continue;if(!n.interacting()&&t===n.pointerType)return n}return null}};function Ls(t,e){return t.pointers.some(({id:n})=>n===e)}const Cp=Ur,ja=["pointerDown","pointerMove","pointerUp","updatePointer","removePointer","windowBlur"];function Ap(t){const e={};for(const i of ja)e[i]=$a(i,t);const n=de.pEventTypes;let o;qt.PointerEvent?o=[{type:n.down,listener:r},{type:n.down,listener:e.pointerDown},{type:n.move,listener:e.pointerMove},{type:n.up,listener:e.pointerUp},{type:n.cancel,listener:e.pointerUp}]:o=[{type:"mousedown",listener:e.pointerDown},{type:"mousemove",listener:e.pointerMove},{type:"mouseup",listener:e.pointerUp},{type:"touchstart",listener:r},{type:"touchstart",listener:e.pointerDown},{type:"touchmove",listener:e.pointerMove},{type:"touchend",listener:e.pointerUp},{type:"touchcancel",listener:e.pointerUp}],o.push({type:"blur",listener(i){for(const s of t.interactions.list)s.documentBlur(i)}}),t.prevTouchTime=0,t.Interaction=class extends _p{get pointerMoveTolerance(){return t.interactions.pointerMoveTolerance}set pointerMoveTolerance(i){t.interactions.pointerMoveTolerance=i}_now(){return t.now()}},t.interactions={list:[],new(i){i.scopeFire=(l,a)=>t.fire(l,a);const s=new t.Interaction(i);return t.interactions.list.push(s),s},listeners:e,docEvents:o,pointerMoveTolerance:1};function r(){for(const i of t.interactions.list)if(!(!i.pointerIsDown||i.pointerType!=="touch"||i._interacting))for(const s of i.pointers)t.documents.some(({doc:l})=>Ze(l,s.downTarget))||i.removePointer(s.pointer,s.event)}t.usePlugin(Pp)}function $a(t,e){return function(n){const o=e.interactions.list,r=fp(n),[i,s]=Ba(n),l=[];if(/^touch/.test(n.type)){e.prevTouchTime=e.now();for(const a of n.changedTouches){const c=a,u=Eo(c),f={pointer:c,pointerId:u,pointerType:r,eventType:n.type,eventTarget:i,curEventTarget:s,scope:e},d=Bs(f);l.push([f.pointer,f.eventTarget,f.curEventTarget,d])}}else{let a=!1;if(!de.supportsPointerEvent&&/mouse/.test(n.type)){for(let c=0;chr(t,"add"),"scope:remove-document":t=>hr(t,"remove"),"interactable:unset":({interactable:t},e)=>{for(let n=e.interactions.list.length-1;n>=0;n--){const o=e.interactions.list[n];o.interactable===t&&(o.stop(),e.fire("interactions:destroy",{interaction:o}),o.destroy(),e.interactions.list.length>2&&e.interactions.list.splice(n,1))}}},onDocSignal:hr,doOnInteractions:$a,methodNames:ja},Rp=Mp;class Op{constructor(){R(this,"id",`__interact_scope_${Math.floor(Math.random()*100)}`),R(this,"isInitialized",!1),R(this,"listenerMaps",[]),R(this,"browser",de),R(this,"defaults",Sn(Fa)),R(this,"Eventable",za),R(this,"actions",{map:{},phases:{start:!0,move:!0,end:!0},methodDict:{},phaselessTypes:{}}),R(this,"interactStatic",dp(this)),R(this,"InteractEvent",wi),R(this,"Interactable"),R(this,"interactables",new pp(this)),R(this,"_win"),R(this,"document"),R(this,"window"),R(this,"documents",[]),R(this,"_plugins",{list:[],map:{}}),R(this,"onWindowUnload",n=>this.removeDocument(n.target));const e=this;this.Interactable=class extends hp{get _defaults(){return e.defaults}set(n){return super.set(n),e.fire("interactable:set",{options:n,interactable:this}),this}unset(){super.unset();const n=e.interactables.list.indexOf(this);n<0||(super.unset(),e.interactables.list.splice(n,1),e.fire("interactable:unset",{interactable:this}))}}}addListeners(e,n){this.listenerMaps.push({id:n,map:e})}fire(e,n){for(const{map:{[e]:o}}of this.listenerMaps)if(o&&o(n,this,e)===!1)return!1}init(e){return this.isInitialized?this:Ip(this,e)}pluginIsInstalled(e){return this._plugins.map[e.id]||this._plugins.list.indexOf(e)!==-1}usePlugin(e,n){if(!this.isInitialized)return this;if(this.pluginIsInstalled(e))return this;if(e.id&&(this._plugins.map[e.id]=e),this._plugins.list.push(e),e.install&&e.install(this,n),e.listeners&&e.before){let o=0;const r=this.listenerMaps.length,i=e.before.reduce((s,l)=>(s[l]=!0,s[js(l)]=!0,s),{});for(;ot.now(),n.phaselessTypes.autoscroll=!0,e.perAction.autoScroll=nt.defaults}const nt={defaults:{enabled:!1,margin:60,container:null,speed:300},now:Date.now,interaction:null,i:0,x:0,y:0,isScrolling:!1,prevTime:0,margin:0,speed:0,start(t){nt.isScrolling=!0,fn.cancel(nt.i),t.autoScroll=nt,nt.interaction=t,nt.prevTime=nt.now(),nt.i=fn.request(nt.scroll)},stop(){nt.isScrolling=!1,nt.interaction&&(nt.interaction.autoScroll=null),fn.cancel(nt.i)},scroll(){const{interaction:t}=nt,{interactable:e,element:n}=t,o=t.prepared.name,r=e.options[o].autoScroll,i=$s(r.container,e,n),s=nt.now(),l=(s-nt.prevTime)/1e3,a=r.speed*l;if(a>=1){const c={x:nt.x*a,y:nt.y*a};if(c.x||c.y){const u=Ws(i);I.window(i)?i.scrollBy(c.x,c.y):i&&(i.scrollLeft+=c.x,i.scrollTop+=c.y);const f=Ws(i),d={x:f.x-u.x,y:f.y-u.y};(d.x||d.y)&&e.fire({type:"autoscroll",target:n,interactable:e,delta:d,interaction:t,container:i})}nt.prevTime=s}nt.isScrolling&&(fn.cancel(nt.i),nt.i=fn.request(nt.scroll))},check(t,e){var n;return(n=t.options[e].autoScroll)==null?void 0:n.enabled},onInteractionMove({interaction:t,pointer:e}){if(!(t.interacting()&&nt.check(t.interactable,t.prepared.name)))return;if(t.simulation){nt.x=nt.y=0;return}let n,o,r,i;const{interactable:s,element:l}=t,a=t.prepared.name,c=s.options[a].autoScroll,u=$s(c.container,s,l);if(I.window(u))i=e.clientXu.innerWidth-nt.margin,r=e.clientY>u.innerHeight-nt.margin;else{const f=vi(u);i=e.clientXf.right-nt.margin,r=e.clientY>f.bottom-nt.margin}nt.x=o?1:i?-1:0,nt.y=r?1:n?-1:0,nt.isScrolling||(nt.margin=c.margin,nt.speed=c.speed,nt.start(t))}};function $s(t,e,n){return(I.string(t)?Da(t,e,n):t)||nn(n)}function Ws(t){return I.window(t)&&(t=window.document.body),{x:t.scrollLeft,y:t.scrollTop}}const Fp={id:"auto-scroll",install:kp,listeners:{"interactions:new":({interaction:t})=>{t.autoScroll=null},"interactions:destroy":({interaction:t})=>{t.autoScroll=null,nt.stop(),nt.interaction&&(nt.interaction=null)},"interactions:stop":nt.stop,"interactions:action-move":t=>nt.onInteractionMove(t)}},Np=Fp;Se.use(Np);function Hp(t){const{actions:e,Interactable:n,defaults:o}=t;n.prototype.draggable=ho.draggable,e.map.drag=ho,e.methodDict.drag="draggable",o.actions.drag=ho.defaults}function pr({interaction:t}){if(t.prepared.name!=="drag")return;const e=t.prepared.axis;e==="x"?(t.coords.cur.page.y=t.coords.start.page.y,t.coords.cur.client.y=t.coords.start.client.y,t.coords.velocity.client.y=0,t.coords.velocity.page.y=0):e==="y"&&(t.coords.cur.page.x=t.coords.start.page.x,t.coords.cur.client.x=t.coords.start.client.x,t.coords.velocity.client.x=0,t.coords.velocity.page.x=0)}function Us({iEvent:t,interaction:e}){if(e.prepared.name!=="drag")return;const n=e.prepared.axis;if(n==="x"||n==="y"){const o=n==="x"?"y":"x";t.page[o]=e.coords.start.page[o],t.client[o]=e.coords.start.client[o],t.delta[o]=0}}const Lp=function(t){return I.object(t)?(this.options.drag.enabled=t.enabled!==!1,this.setPerAction("drag",t),this.setOnEvents("drag",t),/^(xy|x|y|start)$/.test(t.lockAxis)&&(this.options.drag.lockAxis=t.lockAxis),/^(xy|x|y)$/.test(t.startAxis)&&(this.options.drag.startAxis=t.startAxis),this):I.bool(t)?(this.options.drag.enabled=t,this):this.options.drag},ho={id:"actions/drag",install:Hp,listeners:{"interactions:before-action-move":pr,"interactions:action-resume":pr,"interactions:action-move":Us,"auto-start:check":t=>{const{interaction:e,interactable:n,buttons:o}=t,r=n.options.drag;if(!(!(r&&r.enabled)||e.pointerIsDown&&/mouse|pointer/.test(e.pointerType)&&!(o&n.options.drag.mouseButtons)))return t.action={name:"drag",axis:r.lockAxis==="start"?r.startAxis:r.lockAxis},!1}},draggable:Lp,beforeMove:pr,move:Us,defaults:{startAxis:"xy",lockAxis:"xy"},getCursor(){return"move"}},Bp=ho;Se.use(Bp);function jp(t){const{actions:e,browser:n,Interactable:o,defaults:r}=t;we.cursors=Kp(n),we.defaultMargin=n.supportsTouch||n.supportsPointerEvent?20:10,o.prototype.resizable=function(i){return Wp(this,i,t)},e.map.resize=we,e.methodDict.resize="resizable",r.actions.resize=we.defaults}function $p(t){const{interaction:e,interactable:n,element:o,rect:r,buttons:i}=t;if(!r)return;const s=G({},e.coords.cur.page),l=n.options.resize;if(!(!(l&&l.enabled)||e.pointerIsDown&&/mouse|pointer/.test(e.pointerType)&&!(i&l.mouseButtons))){if(I.object(l.edges)){const a={left:!1,right:!1,top:!1,bottom:!1};for(const c in a)a[c]=Up(c,l.edges[c],s,e._latestPointer.eventTarget,o,r,l.margin||we.defaultMargin);a.left=a.left&&!a.right,a.top=a.top&&!a.bottom,(a.left||a.right||a.top||a.bottom)&&(t.action={name:"resize",edges:a})}else{const a=l.axis!=="y"&&s.x>r.right-we.defaultMargin,c=l.axis!=="x"&&s.y>r.bottom-we.defaultMargin;(a||c)&&(t.action={name:"resize",axes:(a?"x":"")+(c?"y":"")})}return t.action?!1:void 0}}function Wp(t,e,n){return I.object(e)?(t.options.resize.enabled=e.enabled!==!1,t.setPerAction("resize",e),t.setOnEvents("resize",e),I.string(e.axis)&&/^x$|^y$|^xy$/.test(e.axis)?t.options.resize.axis=e.axis:e.axis===null&&(t.options.resize.axis=n.defaults.actions.resize.axis),I.bool(e.preserveAspectRatio)?t.options.resize.preserveAspectRatio=e.preserveAspectRatio:I.bool(e.square)&&(t.options.resize.square=e.square),t):I.bool(e)?(t.options.resize.enabled=e,t):t.options.resize}function Up(t,e,n,o,r,i,s){if(!e)return!1;if(e===!0){const l=I.number(i.width)?i.width:i.right-i.left,a=I.number(i.height)?i.height:i.bottom-i.top;if(s=Math.min(s,Math.abs((t==="left"||t==="right"?l:a)/2)),l<0&&(t==="left"?t="right":t==="right"&&(t="left")),a<0&&(t==="top"?t="bottom":t==="bottom"&&(t="top")),t==="left"){const c=l>=0?i.left:i.right;return n.x=0?i.top:i.bottom;return n.y(l>=0?i.right:i.left)-s;if(t==="bottom")return n.y>(a>=0?i.bottom:i.top)-s}return I.element(o)?I.element(e)?e===o:Hr(o,e,r):!1}function Kp(t){return t.isIe9?{x:"e-resize",y:"s-resize",xy:"se-resize",top:"n-resize",left:"w-resize",bottom:"s-resize",right:"e-resize",topleft:"se-resize",bottomright:"se-resize",topright:"ne-resize",bottomleft:"ne-resize"}:{x:"ew-resize",y:"ns-resize",xy:"nwse-resize",top:"ns-resize",left:"ew-resize",bottom:"ns-resize",right:"ew-resize",topleft:"nwse-resize",bottomright:"nwse-resize",topright:"nesw-resize",bottomleft:"nesw-resize"}}function qp({iEvent:t,interaction:e}){if(e.prepared.name!=="resize"||!e.prepared.edges)return;const n=t,o=e.rect;e._rects={start:G({},o),corrected:G({},o),previous:G({},o),delta:{left:0,right:0,width:0,top:0,bottom:0,height:0}},n.edges=e.prepared.edges,n.rect=e._rects.corrected,n.deltaRect=e._rects.delta}function Vp({iEvent:t,interaction:e}){if(e.prepared.name!=="resize"||!e.prepared.edges)return;const n=t,o=e.interactable.options.resize.invert,r=o==="reposition"||o==="negate",i=e.rect,{start:s,corrected:l,delta:a,previous:c}=e._rects;if(G(c,l),r){if(G(l,i),o==="reposition"){if(l.top>l.bottom){const u=l.top;l.top=l.bottom,l.bottom=u}if(l.left>l.right){const u=l.left;l.left=l.right,l.right=u}}}else l.top=Math.min(i.top,s.bottom),l.bottom=Math.max(i.bottom,s.top),l.left=Math.min(i.left,s.right),l.right=Math.max(i.right,s.left);l.width=l.right-l.left,l.height=l.bottom-l.top;for(const u in l)a[u]=l[u]-c[u];n.edges=e.prepared.edges,n.rect=l,n.deltaRect=a}function Yp({iEvent:t,interaction:e}){if(e.prepared.name!=="resize"||!e.prepared.edges)return;const n=t;n.edges=e.prepared.edges,n.rect=e._rects.corrected,n.deltaRect=e._rects.delta}function Ks({iEvent:t,interaction:e}){if(e.prepared.name!=="resize"||!e.resizeAxes)return;const n=e.interactable.options,o=t;n.resize.square?(e.resizeAxes==="y"?o.delta.x=o.delta.y:o.delta.y=o.delta.x,o.axes="xy"):(o.axes=e.resizeAxes,e.resizeAxes==="x"?o.delta.y=0:e.resizeAxes==="y"&&(o.delta.x=0))}const we={id:"actions/resize",before:["actions/drag"],install:jp,listeners:{"interactions:new":({interaction:t})=>{t.resizeAxes="xy"},"interactions:action-start":t=>{qp(t),Ks(t)},"interactions:action-move":t=>{Vp(t),Ks(t)},"interactions:action-end":Yp,"auto-start:check":$p},defaults:{square:!1,preserveAspectRatio:!1,axis:"xy",margin:NaN,edges:null,invert:"none"},cursors:null,getCursor({edges:t,axis:e,name:n}){const o=we.cursors;let r=null;if(e)r=o[n+e];else if(t){let i="";for(const s of["top","bottom","left","right"])t[s]&&(i+=s);r=o[i]}return r},defaultMargin:null},Xp=we;Se.use(Xp);const Gp=()=>{},Qp=()=>{},Jp=t=>{const e=[["x","y"],["left","top"],["right","bottom"],["width","height"]].filter(([o,r])=>o in t||r in t),n=(o,r)=>{const{range:i,limits:s={left:-1/0,right:1/0,top:-1/0,bottom:1/0},offset:l={x:0,y:0}}=t,a={range:i,grid:t,x:null,y:null};for(const[c,u]of e){const f=Math.round((o-l.x)/t[c]),d=Math.round((r-l.y)/t[u]);a[c]=Math.max(s.left,Math.min(s.right,f*t[c]+l.x)),a[u]=Math.max(s.top,Math.min(s.bottom,d*t[u]+l.y))}return a};return n.grid=t,n.coordFields=e,n},Zp=Object.freeze(Object.defineProperty({__proto__:null,edgeTarget:Gp,elements:Qp,grid:Jp},Symbol.toStringTag,{value:"Module"})),tg={id:"snappers",install(t){const{interactStatic:e}=t;e.snappers=G(e.snappers||{},Zp),e.createSnapGrid=e.snappers.grid}},eg=tg;class Ua{constructor(e){R(this,"states",[]),R(this,"startOffset",{left:0,right:0,top:0,bottom:0}),R(this,"startDelta"),R(this,"result"),R(this,"endResult"),R(this,"startEdges"),R(this,"edges"),R(this,"interaction"),this.interaction=e,this.result=ao(),this.edges={left:!1,right:!1,top:!1,bottom:!1}}start({phase:e},n){const{interaction:o}=this,r=ng(o);this.prepareStates(r),this.startEdges=G({},o.edges),this.edges=G({},this.startEdges),this.startOffset=og(o.rect,n),this.startDelta={x:0,y:0};const i=this.fillArg({phase:e,pageCoords:n,preEnd:!1});return this.result=ao(),this.startAll(i),this.result=this.setAll(i)}fillArg(e){const{interaction:n}=this;return e.interaction=n,e.interactable=n.interactable,e.element=n.element,e.rect||(e.rect=n.rect),e.edges||(e.edges=this.startEdges),e.startOffset=this.startOffset,e}startAll(e){for(const n of this.states)n.methods.start&&(e.state=n,n.methods.start(e))}setAll(e){const{phase:n,preEnd:o,skipModifiers:r,rect:i,edges:s}=e;e.coords=G({},e.pageCoords),e.rect=G({},i),e.edges=G({},s);const l=r?this.states.slice(r):this.states,a=ao(e.coords,e.rect);for(const d of l){var c;const{options:g}=d,b=G({},e.coords);let S=null;(c=d.methods)!=null&&c.set&&this.shouldDo(g,o,n)&&(e.state=d,S=d.methods.set(e),xi(e.edges,e.rect,{x:e.coords.x-b.x,y:e.coords.y-b.y})),a.eventProps.push(S)}G(this.edges,e.edges),a.delta.x=e.coords.x-e.pageCoords.x,a.delta.y=e.coords.y-e.pageCoords.y,a.rectDelta.left=e.rect.left-i.left,a.rectDelta.right=e.rect.right-i.right,a.rectDelta.top=e.rect.top-i.top,a.rectDelta.bottom=e.rect.bottom-i.bottom;const u=this.result.coords,f=this.result.rect;if(u&&f){const d=a.rect.left!==f.left||a.rect.right!==f.right||a.rect.top!==f.top||a.rect.bottom!==f.bottom;a.changed=d||u.x!==a.coords.x||u.y!==a.coords.y}return a}applyToInteraction(e){const{interaction:n}=this,{phase:o}=e,r=n.coords.cur,i=n.coords.start,{result:s,startDelta:l}=this,a=s.delta;o==="start"&&G(this.startDelta,s.delta);for(const[f,d]of[[i,l],[r,a]])f.page.x+=d.x,f.page.y+=d.y,f.client.x+=d.x,f.client.y+=d.y;const{rectDelta:c}=this.result,u=e.rect||n.rect;u.left+=c.left,u.right+=c.right,u.top+=c.top,u.bottom+=c.bottom,u.width=u.right-u.left,u.height=u.bottom-u.top}setAndApply(e){const{interaction:n}=this,{phase:o,preEnd:r,skipModifiers:i}=e,s=this.setAll(this.fillArg({preEnd:r,phase:o,pageCoords:e.modifiedCoords||n.coords.cur.page}));if(this.result=s,!s.changed&&(!i||iSn(n)),this.result=ao(G({},e.result.coords),G({},e.result.rect))}destroy(){for(const e in this)this[e]=null}}function ao(t,e){return{rect:e,coords:t,delta:{x:0,y:0},rectDelta:{left:0,right:0,top:0,bottom:0},eventProps:[],changed:!0}}function ng(t){const e=t.interactable.options[t.prepared.name],n=e.modifiers;return n&&n.length?n:["snap","snapSize","snapEdges","restrict","restrictEdges","restrictSize"].map(o=>{const r=e[o];return r&&r.enabled&&{options:r,methods:r._methods}}).filter(o=>!!o)}function og(t,e){return t?{left:e.x-t.left,top:e.y-t.top,right:t.right-e.x,bottom:t.bottom-e.y}:{left:0,top:0,right:0,bottom:0}}function je(t,e){const{defaults:n}=t,o={start:t.start,set:t.set,beforeEnd:t.beforeEnd,stop:t.stop},r=i=>{const s=i||{};s.enabled=s.enabled!==!1;for(const a in n)a in s||(s[a]=n[a]);const l={options:s,methods:o,name:e,enable:()=>(s.enabled=!0,l),disable:()=>(s.enabled=!1,l)};return l};return e&&typeof e=="string"&&(r._defaults=n,r._methods=o),r}function gr({iEvent:t,interaction:e}){const n=e.modification.result;n&&(t.modifiers=n.eventProps)}const rg={id:"modifiers/base",before:["actions"],install:t=>{t.defaults.perAction.modifiers=[]},listeners:{"interactions:new":({interaction:t})=>{t.modification=new Ua(t)},"interactions:before-action-start":t=>{const{interaction:e}=t,n=t.interaction.modification;n.start(t,e.coords.start.page),e.edges=n.edges,n.applyToInteraction(t)},"interactions:before-action-move":t=>{const{interaction:e}=t,{modification:n}=e,o=n.setAndApply(t);return e.edges=n.edges,o},"interactions:before-action-end":t=>{const{interaction:e}=t,{modification:n}=e,o=n.beforeEnd(t);return e.edges=n.startEdges,o},"interactions:action-start":gr,"interactions:action-move":gr,"interactions:action-end":gr,"interactions:after-action-start":t=>t.interaction.modification.restoreInteractionCoords(t),"interactions:after-action-move":t=>t.interaction.modification.restoreInteractionCoords(t),"interactions:stop":t=>t.interaction.modification.stop(t)}},ig=rg,sg={start(t){const{state:e,rect:n,edges:o,pageCoords:r}=t;let{ratio:i,enabled:s}=e.options;const{equalDelta:l,modifiers:a}=e.options;i==="preserve"&&(i=n.width/n.height),e.startCoords=G({},r),e.startRect=G({},n),e.ratio=i,e.equalDelta=l;const c=e.linkedEdges={top:o.top||o.left&&!o.bottom,left:o.left||o.top&&!o.right,bottom:o.bottom||o.right&&!o.top,right:o.right||o.bottom&&!o.left};if(e.xIsPrimaryAxis=!!(o.left||o.right),e.equalDelta){const f=(c.left?1:-1)*(c.top?1:-1);e.edgeSign={x:f,y:f}}else e.edgeSign={x:c.left?-1:1,y:c.top?-1:1};if(s!==!1&&G(o,c),!(a!=null&&a.length))return;const u=new Ua(t.interaction);u.copyFrom(t.interaction.modification),u.prepareStates(a),e.subModification=u,u.startAll(oe({},t))},set(t){const{state:e,rect:n,coords:o}=t,{linkedEdges:r}=e,i=G({},o),s=e.equalDelta?lg:ag;if(G(t.edges,r),s(e,e.xIsPrimaryAxis,o,n),!e.subModification)return null;const l=G({},n);xi(r,l,{x:o.x-i.x,y:o.y-i.y});const a=e.subModification.setAll(Ue(oe({},t),{rect:l,edges:r,pageCoords:o,prevCoords:o,prevRect:l})),{delta:c}=a;if(a.changed){const u=Math.abs(c.x)>Math.abs(c.y);s(e,u,a.coords,a.rect),G(o,a.coords)}return a.eventProps},defaults:{ratio:"preserve",equalDelta:!1,modifiers:[],enabled:!1}};function lg({startCoords:t,edgeSign:e},n,o){n?o.y=t.y+(o.x-t.x)*e.y:o.x=t.x+(o.y-t.y)*e.x}function ag({startRect:t,startCoords:e,ratio:n,edgeSign:o},r,i,s){if(r){const l=s.width/n;i.y=e.y+(l-t.height)*o.y}else{const l=s.height*n;i.x=e.x+(l-t.width)*o.x}}const cg=je(sg,"aspectRatio"),Ka=()=>{};Ka._defaults={};const co=Ka;function ug({rect:t,startOffset:e,state:n,interaction:o,pageCoords:r}){const{options:i}=n,{elementRect:s}=i,l=G({left:0,top:0,right:0,bottom:0},i.offset||{});if(t&&s){const a=rn(i.restriction,o,r);if(a){const c=a.right-a.left-t.width,u=a.bottom-a.top-t.height;c<0&&(l.left+=c,l.right+=c),u<0&&(l.top+=u,l.bottom+=u)}l.left+=e.left-t.width*s.left,l.top+=e.top-t.height*s.top,l.right+=e.right-t.width*(1-s.right),l.bottom+=e.bottom-t.height*(1-s.bottom)}n.offset=l}function fg({coords:t,interaction:e,state:n}){const{options:o,offset:r}=n,i=rn(o.restriction,e,t);if(!i)return;const s=ep(i);t.x=Math.max(Math.min(s.right-r.right,t.x),s.left+r.left),t.y=Math.max(Math.min(s.bottom-r.bottom,t.y),s.top+r.top)}function rn(t,e,n){return I.func(t)?Zn(t,e.interactable,e.element,[n.x,n.y,e]):Zn(t,e.interactable,e.element)}const dg={restriction:null,elementRect:null,offset:null,endOnly:!1,enabled:!1},So={start:ug,set:fg,defaults:dg},hg=je(So,"restrict"),qa={top:1/0,left:1/0,bottom:-1/0,right:-1/0},Va={top:-1/0,left:-1/0,bottom:1/0,right:1/0};function pg({interaction:t,startOffset:e,state:n}){const{options:o}=n;let r;if(o){const i=rn(o.offset,t,t.coords.start.page);r=Vo(i)}r=r||{x:0,y:0},n.offset={top:r.y+e.top,left:r.x+e.left,bottom:r.y-e.bottom,right:r.x-e.right}}function gg({coords:t,edges:e,interaction:n,state:o}){const{offset:r,options:i}=o;if(!e)return;const s=G({},t),l=rn(i.inner,n,s)||{},a=rn(i.outer,n,s)||{};qs(l,qa),qs(a,Va),e.top?t.y=Math.min(Math.max(a.top+r.top,s.y),l.top+r.top):e.bottom&&(t.y=Math.max(Math.min(a.bottom+r.bottom,s.y),l.bottom+r.bottom)),e.left?t.x=Math.min(Math.max(a.left+r.left,s.x),l.left+r.left):e.right&&(t.x=Math.max(Math.min(a.right+r.right,s.x),l.right+r.right))}function qs(t,e){for(const n of["top","left","bottom","right"])n in t||(t[n]=e[n]);return t}const mg={inner:null,outer:null,offset:null,endOnly:!1,enabled:!1},Kn={noInner:qa,noOuter:Va,start:pg,set:gg,defaults:mg},vg=je(Kn,"restrictEdges"),yg=G({get elementRect(){return{top:0,left:0,bottom:1,right:1}},set elementRect(t){}},So.defaults),bg={start:So.start,set:So.set,defaults:yg},xg=je(bg,"restrictRect"),_g={width:-1/0,height:-1/0},wg={width:1/0,height:1/0};function Eg(t){return Kn.start(t)}function Sg(t){const{interaction:e,state:n,rect:o,edges:r}=t,{options:i}=n;if(!r)return;const s=Hs(rn(i.min,e,t.coords))||_g,l=Hs(rn(i.max,e,t.coords))||wg;n.options={endOnly:i.endOnly,inner:G({},Kn.noInner),outer:G({},Kn.noOuter)},r.top?(n.options.inner.top=o.bottom-s.height,n.options.outer.top=o.bottom-l.height):r.bottom&&(n.options.inner.bottom=o.top+s.height,n.options.outer.bottom=o.top+l.height),r.left?(n.options.inner.left=o.right-s.width,n.options.outer.left=o.right-l.width):r.right&&(n.options.inner.right=o.left+s.width,n.options.outer.right=o.left+l.width),Kn.set(t),n.options=i}const Tg={min:null,max:null,endOnly:!1,enabled:!1},Pg={start:Eg,set:Sg,defaults:Tg},Cg=je(Pg,"restrictSize");function Ag(t){const{interaction:e,interactable:n,element:o,rect:r,state:i,startOffset:s}=t,{options:l}=i,a=l.offsetWithOrigin?Rg(t):{x:0,y:0};let c;if(l.offset==="startCoords")c={x:e.coords.start.page.x,y:e.coords.start.page.y};else{const f=Zn(l.offset,n,o,[e]);c=Vo(f)||{x:0,y:0},c.x+=a.x,c.y+=a.y}const{relativePoints:u}=l;i.offsets=r&&u&&u.length?u.map((f,d)=>({index:d,relativePoint:f,x:s.left-r.width*f.x+c.x,y:s.top-r.height*f.y+c.y})):[{index:0,relativePoint:null,x:c.x,y:c.y}]}function Mg(t){const{interaction:e,coords:n,state:o}=t,{options:r,offsets:i}=o,s=_i(e.interactable,e.element,e.prepared.name),l=G({},n),a=[];r.offsetWithOrigin||(l.x-=s.x,l.y-=s.y);for(const u of i){const f=l.x-u.x,d=l.y-u.y;for(let g=0,b=r.targets.length;g{for(const n of Ys){const o=t.interactable&&t.interactable.options;!(o&&o.devTools&&o.devTools.ignore[n.name])&&n.perform(t)&&e.logger.warn(Vs+n.text,...n.getInfo(t))}}},checks:Ys,CheckName:yn,links:Kr,prefix:Vs},Vg=qg;Se.use(Vg);function Yg(){const{appContext:t,proxy:e}=Gl(),n=t.config.globalProperties;return{proxy:e,appContext:t,globalProperties:n}}const Xg={name:"GridItem"},Gg=Fo(Ue(oe({},Xg),{props:{isDraggable:{type:[Boolean,null],default:null},isResizable:{type:[Boolean,null],default:null},isBounded:{type:[Boolean,null],default:null},static:{type:Boolean,default:!1},minH:{default:1},minW:{default:1},maxH:{default:1/0},maxW:{default:1/0},x:{},y:{},w:{},h:{},i:{},dragIgnoreFrom:{default:"a, button"},dragAllowFrom:{default:null},resizeIgnoreFrom:{default:"a, button"},preserveAspectRatio:{type:Boolean,default:!1},dragOption:{default:()=>({})},resizeOption:{default:()=>({})}},emits:["container-resized","resize","resized","move","moved"],setup(t,{expose:e,emit:n}){const o=t,{proxy:r}=Yg(),i=r==null?void 0:r.$parent,s=te("eventBus"),l=tt({}),a=tt(1),c=tt(100),u=tt(30),f=tt([10,10]),d=tt(1/0),g=tt(null),b=tt(null),S=tt(1),A=tt(!0),F=tt(!0),P=tt(!1),L=tt(null),y=tt(!1),v=tt(null),K=tt(NaN),k=tt(NaN),et=tt(NaN),ft=tt(NaN),X=tt({}),ot=tt(!1),z=tt(!1),V=tt(!1),at=tt(null),Tt=tt(null),lt=tt(null),Q=tt(null),B=tt(o.x),_t=tt(o.y),Et=tt(o.w),ht=tt(o.h),wt=tt(null),pt=tt(null),ee=Lt(()=>b.value&&!o.static),Ce=Lt(()=>(g.value||b.value)&&!o.static),It=Lt(()=>navigator.userAgent.toLowerCase().indexOf("android")!==-1),E=Lt(()=>i!=null&&i.isMirrored?!ot.value:ot.value),j=Lt(()=>({"vue-resizable":ee.value,static:o.static,resizing:y.value,"vue-draggable-dragging":P.value,cssTransforms:A.value,"render-rtl":E.value,"disable-userselect":P.value,"no-touch":It.value&&Ce.value})),x=Lt(()=>E.value?"vue-resizable-handle vue-rtl-resizable-handle":"vue-resizable-handle");dt(()=>o.isDraggable,M=>{g.value=M}),dt(()=>o.static,()=>{$e(),Mt()}),dt(g,()=>{$e()}),dt(()=>o.isResizable,M=>{b.value=M}),dt(()=>o.isBounded,M=>{wt.value=M}),dt(b,()=>{Mt()}),dt(u,()=>{O(),C()}),dt(a,()=>{Mt(),O(),C()}),dt(c,()=>{Mt(),O()}),dt(()=>o.x,M=>{B.value=M,O()}),dt(()=>o.y,M=>{_t.value=M,O()}),dt(()=>o.h,M=>{ht.value=M,O()}),dt(()=>o.w,M=>{Et.value=M,O()}),dt(E,()=>{Mt(),O()}),dt(()=>o.minH,()=>{Mt()}),dt(()=>o.maxH,()=>{Mt()}),dt(()=>o.minW,()=>{Mt()}),dt(()=>o.maxW,()=>{Mt()}),dt(()=>i==null?void 0:i.margin,M=>{!M||M[0]==f.value[0]&&M[1]==f.value[1]||(f.value=M.map(U=>Number(U)),O(),C())});function N(M){zt(M)}function Y(M){Ht()}function h(M){o.isDraggable===null&&(g.value=M)}function p(M){o.isResizable===null&&(b.value=M)}function m(M){o.isBounded===null&&(wt.value=M)}function _(M){S.value=M}function T(M){u.value=M}function w(M){d.value=M}function H(){ot.value=Is()==="rtl",Ht()}function D(M){const U=M.toString();a.value=parseInt(U)}s.on("updateWidth",N),s.on("compact",Y),s.on("setDraggable",h),s.on("setResizable",p),s.on("setBounded",m),s.on("setTransformScale",_),s.on("setRowHeight",T),s.on("setMaxRows",w),s.on("directionchange",H),s.on("setColNum",D),ot.value=Is()==="rtl",li(()=>{s.off("updateWidth",N),s.off("compact",Y),s.off("setDraggable",h),s.off("setResizable",p),s.off("setBounded",m),s.off("setTransformScale",_),s.off("setRowHeight",T),s.off("setMaxRows",w),s.off("directionchange",H),s.off("setColNum",D),pt.value&&pt.value.unset()}),si(()=>{i!=null&&i.responsive&&i.lastBreakpoint?a.value=Nr(i.lastBreakpoint,i==null?void 0:i.cols):a.value=i==null?void 0:i.colNum,u.value=i==null?void 0:i.rowHeight,c.value=(i==null?void 0:i.width)!==null?i==null?void 0:i.width:100,f.value=(i==null?void 0:i.margin)!==void 0?i.margin:[10,10],d.value=i==null?void 0:i.maxRows,o.isDraggable===null?g.value=i==null?void 0:i.isDraggable:g.value=o.isDraggable,o.isResizable===null?b.value=i==null?void 0:i.isResizable:b.value=o.isResizable,o.isBounded===null?wt.value=i==null?void 0:i.isBounded:wt.value=o.isBounded,S.value=i==null?void 0:i.transformScale,A.value=i==null?void 0:i.useCssTransforms,F.value=i==null?void 0:i.useStyleCursor,O()});function O(){var M,U,mt,Pt,Rt;o.x+o.w>a.value?(B.value=0,Et.value=o.w>a.value?a.value:o.w):(B.value=o.x,Et.value=o.w);let ct=W(B.value,_t.value,Et.value,ht.value);P.value&&(ct.top=(M=L.value)==null?void 0:M.top,E.value?ct.right=(U=L.value)==null?void 0:U.left:ct.left=(mt=L.value)==null?void 0:mt.left),y.value&&(ct.width=(Pt=v.value)==null?void 0:Pt.width,ct.height=(Rt=v.value)==null?void 0:Rt.height);let ne;A.value?E.value?ne=fh(ct.top,ct.right,ct.width,ct.height):ne=uh(ct.top,ct.left,ct.width,ct.height):E.value?ne=hh(ct.top,ct.right,ct.width,ct.height):ne=dh(ct.top,ct.left,ct.width,ct.height),X.value=ne}function C(){let M={};for(let U of["width","height"]){let mt=X.value[U].match(/^(\d+)px$/);if(!mt)return;M[U]=mt[1]}n("container-resized",o.i,o.h,o.w,M.height,M.width)}function q(M){var U,mt,Pt;{if(o.static)return;const Rt=Rs(M);if(Rt==null)return;const{x:ct,y:ne}=Rt,vt={width:0,height:0};let ut;switch(M.type){case"resizestart":{Mt(),at.value=Et.value,Tt.value=ht.value,ut=W(B.value,_t.value,Et.value,ht.value),vt.width=ut.width,vt.height=ut.height,v.value=vt,y.value=!0;break}case"resizemove":{const Xt=Os(et.value,ft.value,ct,ne);E.value?vt.width=Number((U=v.value)==null?void 0:U.width)-Xt.deltaX/S.value:vt.width=Number((mt=v.value)==null?void 0:mt.width)+Xt.deltaX/S.value,vt.height=Number((Pt=v.value)==null?void 0:Pt.height)+Xt.deltaY/S.value,v.value=vt;break}case"resizeend":{ut=W(B.value,_t.value,Et.value,ht.value),vt.width=ut.width,vt.height=ut.height,v.value=null,y.value=!1;break}}ut=gt(vt.height,vt.width),ut.wo.maxW&&(ut.w=o.maxW),ut.ho.maxH&&(ut.h=o.maxH),ut.h<1&&(ut.h=1),ut.w<1&&(ut.w=1),et.value=ct,ft.value=ne,(Et.value!==ut.w||ht.value!==ut.h)&&n("resize",o.i,ut.h,ut.w,vt.height,vt.width),M.type==="resizeend"&&(at.value!==Et.value||Tt.value!==ht.value)&&n("resized",o.i,ut.h,ut.w,vt.height,vt.width);const Xo={eventType:M.type,i:o.i,x:B.value,y:_t.value,h:ut.h,w:ut.w};s.emit("resizeEvent",Xo)}}function $(M){var U,mt,Pt;if(o.static||y.value)return;const Rt=Rs(M);if(Rt===null)return;const{x:ct,y:ne}=Rt;let vt={top:0,left:0};switch(M.type){case"dragstart":{lt.value=B.value,Q.value=_t.value;const Xt=M.target;let ve=Xt.offsetParent.getBoundingClientRect(),ye=Xt.getBoundingClientRect();const An=ye.left/S.value,Go=ve.left/S.value,Qo=ye.right/S.value,Jo=ve.right/S.value,Zo=ye.top/S.value,tr=ve.top/S.value;E.value?vt.left=(Qo-Jo)*-1:vt.left=An-Go,vt.top=Zo-tr,L.value=vt,P.value=!0;break}case"dragend":{if(!P.value)return;const Xt=M.target;let ve=Xt.offsetParent.getBoundingClientRect(),ye=Xt.getBoundingClientRect();const An=ye.left/S.value,Go=ve.left/S.value,Qo=ye.right/S.value,Jo=ve.right/S.value,Zo=ye.top/S.value,tr=ve.top/S.value;E.value?vt.left=(Qo-Jo)*-1:vt.left=An-Go,vt.top=Zo-tr,L.value=null,P.value=!1;break}case"dragmove":{const Xt=Os(K.value,k.value,ct,ne);if(E.value?vt.left=Number((U=L.value)==null?void 0:U.left)-Xt.deltaX/S.value:vt.left=Number((mt=L.value)==null?void 0:mt.left)+Xt.deltaX/S.value,vt.top=Number((Pt=L.value)==null?void 0:Pt.top)+Xt.deltaY/S.value,wt.value){const ve=M.target.offsetParent.clientHeight-bt(o.h,u.value,f.value[1]);vt.top=J(vt.top,0,ve);const ye=it(),An=c.value-bt(o.w,ye,f.value[0]);vt.left=J(vt.left,0,An)}L.value=vt;break}}let ut;E.value,ut=Z(vt.top,vt.left),K.value=ct,k.value=ne,(B.value!==ut.x||_t.value!==ut.y)&&n("move",o.i,ut.x,ut.y),M.type==="dragend"&&(lt.value!==B.value||Q.value!==_t.value)&&n("moved",o.i,ut.x,ut.y);const Xo={eventType:M.type,i:o.i,x:ut.x,y:ut.y,h:ht.value,w:Et.value};s.emit("dragEvent",Xo)}function W(M,U,mt,Pt){const Rt=it();let ct;return E.value?ct={right:Math.round(Rt*M+(M+1)*f.value[0]),top:Math.round(u.value*U+(U+1)*f.value[1]),width:mt===1/0?mt:Math.round(Rt*mt+Math.max(0,mt-1)*f.value[0]),height:Pt===1/0?Pt:Math.round(u.value*Pt+Math.max(0,Pt-1)*f.value[1])}:ct={left:Math.round(Rt*M+(M+1)*f.value[0]),top:Math.round(u.value*U+(U+1)*f.value[1]),width:mt===1/0?mt:Math.round(Rt*mt+Math.max(0,mt-1)*f.value[0]),height:Pt===1/0?Pt:Math.round(u.value*Pt+Math.max(0,Pt-1)*f.value[1])},ct}function Z(M,U){const mt=it();let Pt=Math.round((U-f.value[0])/(mt+f.value[0])),Rt=Math.round((M-f.value[1])/(u.value+f.value[1]));return Pt=Math.max(Math.min(Pt,a.value-Et.value),0),Rt=Math.max(Math.min(Rt,d.value-ht.value),0),{x:Pt,y:Rt}}function it(){return(c.value-f.value[0]*(a.value+1))/a.value}function bt(M,U,mt){return Number.isFinite(M)?Math.round(U*M+Math.max(0,M-1)*mt):M}function J(M,U,mt){return Math.max(Math.min(M,mt),U)}function gt(M,U,mt=!1){const Pt=it();let Rt=Math.round((U+f.value[0])/(Pt+f.value[0])),ct=0;return mt?ct=Math.ceil((M+f.value[1])/(u.value+f.value[1])):ct=Math.round((M+f.value[1])/(u.value+f.value[1])),Rt=Math.max(Math.min(Rt,a.value-B.value),0),ct=Math.max(Math.min(ct,d.value-_t.value),0),{w:Rt,h:ct}}function zt(M,U){c.value=M,U!=null&&(a.value=U)}function Ht(M){O()}function $e(){if((pt.value===null||pt.value===void 0)&&(pt.value=Se(l.value),F.value||pt.value.styleCursor(!1)),g.value&&!o.static){const M=oe({ignoreFrom:o.dragIgnoreFrom,allowFrom:o.dragAllowFrom},o.dragOption);pt.value.draggable(M),z.value||(z.value=!0,pt.value.on("dragstart dragmove dragend",function(U){$(U)}))}else pt.value.draggable({enabled:!1})}function Mt(){if((pt.value===null||pt.value===void 0)&&(pt.value=Se(l.value),F.value||pt.value.styleCursor(!1)),b.value&&!o.static){let M=W(0,0,o.maxW,o.maxH),U=W(0,0,o.minW,o.minH);const mt=oe({edges:{left:!1,right:"."+x.value.trim().replace(" ","."),bottom:"."+x.value.trim().replace(" ","."),top:!1},ignoreFrom:o.resizeIgnoreFrom,restrictSize:{min:{height:U.height*S.value,width:U.width*S.value},max:{height:M.height*S.value,width:M.width*S.value}}},o.resizeOption);o.preserveAspectRatio&&(mt.modifiers=[Se.modifiers.aspectRatio({ratio:"preserve"})]),pt.value.resizable(mt),V.value||(V.value=!0,pt.value.on("resizestart resizemove resizeend",function(Pt){q(Pt)}))}else pt.value.resizable({enabled:!1})}const We=wu();function kt(){at.value=Et.value,Tt.value=ht.value;let M=We==null?void 0:We.default[0].elm.getBoundingClientRect(),U=gt(M.height,M.width,!0);if(U.wo.maxW&&(U.w=o.maxW),U.ho.maxH&&(U.h=o.maxH),U.h<1&&(U.h=1),U.w<1&&(U.w=1),(Et.value!==U.w||ht.value!==U.h)&&n("resize",o.i,U.h,U.w,M.height,M.width),at.value!==U.w||Tt.value!==U.h){n("resized",o.i,U.h,U.w,M.height,M.width);const mt={eventType:"resizeend",i:o.i,x:B.value,y:_t.value,h:U.h,w:U.w};s.emit("resizeEvent",mt)}}return e(oe({autoSize:kt,calcXY:Z,dragging:L},o)),(M,U)=>(Ut(),ce("div",{ref_key:"this$refsItem",ref:l,class:en(["vue-grid-item",j.value]),style:Te(X.value)},[sn(M.$slots,"default",{style:Te(X.value)}),ee.value?(Ut(),ce("span",{key:0,ref:"handle",class:en(x.value)},null,2)):Xl("",!0)],6))}}));function Qg(t){return{all:t=t||new Map,on:function(e,n){var o=t.get(e);o?o.push(n):t.set(e,[n])},off:function(e,n){var o=t.get(e);o&&(n?o.splice(o.indexOf(n)>>>0,1):t.set(e,[]))},emit:function(e,n){var o=t.get(e);o&&o.slice().map(function(r){r(n)}),(o=t.get("*"))&&o.slice().map(function(r){r(e,n)})}}}var Ti={exports:{}},Jg=Ti.exports={};Jg.forEach=function(t,e){for(var n=0;n";while(s[0]);return r>4?r:o}();return t===n};Xa.isLegacyOpera=function(){return!!window.opera};var Ga={exports:{}},rm=Ga.exports={};rm.getOption=im;function im(t,e,n){var o=t[e];return o==null&&n!==void 0?n:o}var Xs=Ga.exports,sm=function(t){t=t||{};var e=t.reporter,n=Xs.getOption(t,"async",!0),o=Xs.getOption(t,"auto",!0);o&&!n&&(e&&e.warn("Invalid options combination. auto=true and async=false is invalid. Setting async=true."),n=!0);var r=Gs(),i,s=!1;function l(g,b){!s&&o&&n&&r.size()===0&&u(),r.add(g,b)}function a(){for(s=!0;r.size();){var g=r;r=Gs(),g.process()}s=!1}function c(g){s||(g===void 0&&(g=n),i&&(f(i),i=null),g?u():a())}function u(){i=d(a)}function f(g){var b=clearTimeout;return b(g)}function d(g){var b=function(S){return setTimeout(S,0)};return b(g)}return{add:l,force:c}};function Gs(){var t={},e=0,n=0,o=0;function r(l,a){a||(a=l,l=0),l>n?n=l:l div::-webkit-scrollbar { "+c(["display: none"])+` } - -`,X+="."+ft+" { "+c(["-webkit-animation-duration: 0.1s","animation-duration: 0.1s","-webkit-animation-name: "+et,"animation-name: "+et])+` } -`,X+="@-webkit-keyframes "+et+` { 0% { opacity: 1; } 50% { opacity: 0; } 100% { opacity: 1; } } -`,X+="@keyframes "+et+" { 0% { opacity: 1; } 50% { opacity: 0; } 100% { opacity: 1; } }",k(X)}}function d(y){y.className+=" "+l+"_animation_active"}function g(y,v,K){if(y.addEventListener)y.addEventListener(v,K);else if(y.attachEvent)y.attachEvent("on"+v,K);else return e.error("[scroll] Don't know how to add event listeners.")}function b(y,v,K){if(y.removeEventListener)y.removeEventListener(v,K);else if(y.detachEvent)y.detachEvent("on"+v,K);else return e.error("[scroll] Don't know how to remove event listeners.")}function S(y){return o(y).container.childNodes[0].childNodes[0].childNodes[0]}function A(y){return o(y).container.childNodes[0].childNodes[0].childNodes[1]}function F(y,v){var K=o(y).listeners;if(!K.push)throw new Error("Cannot add listener to an element that is not detectable.");o(y).listeners.push(v)}function P(y,v,K){K||(K=v,v=y,y=null),y=y||{};function k(){if(y.debug){var x=Array.prototype.slice.call(arguments);if(x.unshift(r.get(v),"Scroll: "),e.log.apply)e.log.apply(null,x);else for(var N=0;N[10,10]},isDraggable:{type:Boolean,default:!0},isResizable:{type:Boolean,default:!0},isMirrored:{type:Boolean,default:!1},isBounded:{type:Boolean,default:!1},useCssTransforms:{type:Boolean,default:!0},verticalCompact:{type:Boolean,default:!0},restoreOnDrag:{type:Boolean,default:!1},layout:{},responsive:{type:Boolean,default:!1},responsiveLayouts:{default:()=>({})},transformScale:{default:1},breakpoints:{default:()=>({lg:1200,md:996,sm:768,xs:480,xxs:0})},cols:{default:()=>({lg:12,md:10,sm:6,xs:4,xxs:2})},preventCollision:{type:Boolean,default:!1},useStyleCursor:{type:Boolean,default:!0}},emits:["layout-created","layout-before-mount","layout-mounted","layout-updated","layout-ready","update:layout","breakpoint-changed"],setup(t,{expose:e,emit:n}){const o=t,r=tt(null),i=tt({}),s=tt(0),l=tt(!1),a=tt({x:0,y:0,w:0,h:0,i:-1}),c=tt({}),u=tt(null),f=tt(null),d=tt(null),g=tt(),b=tt({}),S=tt(),A=Qg();mn("eventBus",A);function F(z){if(!z)et();else{const{eventType:V,i:at,x:Tt,y:lt,h:Q,w:B}=z;et(V,at,Tt,lt,Q,B)}}function P(z){if(!z)k();else{const{eventType:V,i:at,x:Tt,y:lt,h:Q,w:B}=z;k(V,at,Tt,lt,Q,B)}}A.on("resizeEvent",F),A.on("dragEvent",P),n("layout-created",o.layout),li(()=>{A.off("resizeEvent",F),A.off("dragEvent",P),wh("resize",v),d.value&&d.value.uninstall(b.value)}),to(()=>{n("layout-before-mount",o.layout)}),si(()=>{n("layout-mounted",o.layout),re(function(){ph(o.layout),f.value=o.layout,re(()=>{X(),v(),_h("resize",v),un(o.layout,o.verticalCompact),n("layout-updated",o.layout),y(),re(()=>{d.value=_m({strategy:"scroll",callOnAdd:!1}),d.value.listenTo(b.value,function(){v()})})})})}),dt(r,(z,V)=>{re(()=>{A.emit("updateWidth",z),V===null&&re(()=>{n("layout-ready",o.layout)}),y()})}),dt(()=>o.layout,()=>{L()}),dt(()=>o.layout.length,()=>{L()}),dt(()=>o.colNum,z=>{A.emit("setColNum",z)}),dt(()=>o.rowHeight,z=>{A.emit("setRowHeight",z)}),dt(()=>o.isDraggable,z=>{A.emit("setDraggable",z)}),dt(()=>o.isResizable,z=>{A.emit("setResizable",z)}),dt(()=>o.isBounded,z=>{A.emit("setBounded",z)}),dt(()=>o.transformScale,z=>{A.emit("setTransformScale",z)}),dt(()=>o.responsive,z=>{z||(n("update:layout",f.value||[]),A.emit("setColNum",o.colNum)),v()}),dt(()=>o.maxRows,z=>{A.emit("setMaxRows",z)}),dt(()=>o.margin,()=>{y()});function L(){if(o.layout!==void 0&&f.value!==null){if(o.layout.length!==f.value.length){let z=ot(o.layout,f.value);z.length>0&&(o.layout.length>f.value.length?f.value=f.value.concat(z):f.value=f.value.filter(V=>!z.some(at=>V.i===at.i))),s.value=o.layout.length,X()}un(o.layout,o.verticalCompact),A.emit("updateWidth",r.value),y(),n("layout-updated",o.layout)}}function y(){i.value={height:K()}}function v(){b.value!==null&&b.value!==void 0&&(r.value=b.value.offsetWidth),A.emit("resizeEvent")}function K(){return o.autoSize?sh(o.layout)*(o.rowHeight+o.margin[1])+o.margin[1]+"px":""}function k(z,V,at,Tt,lt,Q){let B=As(o.layout,V);B==null&&(B={x:0,y:0}),z==="dragstart"&&!o.verticalCompact&&(g.value=o.layout.reduce((Et,{i:ht,x:wt,y:pt})=>Ue(oe({},Et),{[ht]:{x:wt,y:pt}}),{})),z==="dragmove"||z==="dragstart"?(a.value.i=V,a.value.x=B.x,a.value.y=B.y,a.value.w=Q,a.value.h=lt,re(function(){l.value=!0}),A.emit("updateWidth",r.value)):re(function(){l.value=!1});const _t=Fr(o.layout,B,at,Tt,!0,o.preventCollision);n("update:layout",_t),o.restoreOnDrag?(B.static=!0,un(o.layout,o.verticalCompact,g.value),B.static=!1):un(o.layout,o.verticalCompact),A.emit("compact"),y(),z==="dragend"&&(g.value=void 0,n("layout-updated",_t))}function et(z,V,at,Tt,lt,Q){let B=As(o.layout,V);B==null&&(B={h:0,w:0}),Q=Number(Q),lt=Number(lt);let _t;if(o.preventCollision){const Et=ga(o.layout,Ue(oe({},B),{w:Q,h:lt})).filter(ht=>ht.i!==(B==null?void 0:B.i));if(_t=Et.length>0,_t){let ht=1/0,wt=1/0;Et.forEach(pt=>{pt.x>Number(B==null?void 0:B.x)&&(ht=Math.min(ht,pt.x)),pt.y>Number(B==null?void 0:B.y)&&(wt=Math.min(wt,pt.y))}),Number.isFinite(ht)&&(B.w=ht-B.x),Number.isFinite(wt)&&(B.h=wt-B.y)}}_t||(B.w=Q,B.h=lt),z==="resizestart"||z==="resizemove"?(a.value.i=V,a.value.x=at,a.value.y=Tt,a.value.w=B.w,a.value.h=B.h,re(function(){l.value=!0}),A.emit("updateWidth",r.value)):re(function(){l.value=!1}),o.responsive&&ft(),un(o.layout,o.verticalCompact),A.emit("compact"),y(),z==="resizeend"&&n("layout-updated",o.layout)}function ft(){let z=vh(o.breakpoints,r.value),V=Nr(z,o.cols);u.value!=null&&!c.value[u.value]&&(c.value[u.value]=kr(o.layout));let at=yh(f.value,c.value,o.breakpoints,z,u.value,V,o.verticalCompact);c.value[z]=at,u.value!==z&&n("breakpoint-changed",z,at),n("update:layout",at),u.value=z,A.emit("setColNum",Nr(z,o.cols))}function X(){c.value=Object.assign({},o.responsiveLayouts)}function ot(z,V){let at=z.filter(function(lt){return!V.some(function(Q){return lt.i===Q.i})}),Tt=V.filter(function(lt){return!z.some(function(Q){return lt.i===Q.i})});return at.concat(Tt)}return e(Ue(oe({},o),{width:r,mergeStyle:i,lastLayoutLength:s,isDragging:l,placeholder:a,layouts:c,lastBreakpoint:u,originalLayout:f,erd:d,defaultGridItem:S,dragEvent:k})),(z,V)=>(Ut(),ce("div",{ref_key:"this$refsLayout",ref:b,class:"vue-grid-layout",style:Te(i.value)},[sn(z.$slots,"default"),uu(Dt(Gg,{ref_key:"defaultGridItem",ref:S,class:"vue-grid-placeholder",x:a.value.x,y:a.value.y,w:a.value.w,h:a.value.h,i:a.value.i},null,8,["x","y","w","h","i"]),[[ff,l.value]])],4))}}));const Em=()=>ea(()=>import("./TrunkA-e4561e66.js"),[]),Sm=()=>ea(()=>import("./BranchA-f3e064c7.js"),[]),Tm=[{path:"/",redirect:{name:"shared-screen"}},{path:"/shared-screen/",name:"shared-screen",component:oh,redirect:{name:"trunk-a"},children:[{path:"trunk-a",name:"trunk-a",component:Em,redirect:{name:"branch-a"},children:[{path:"branch-a",name:"branch-a",component:Sm}]}]}],Pm=Nd({history:Zf(),routes:Tm}),Ai=Symbol.for("scream:f--group"),Ja="30px";const Cm={class:"f-card"},Am={__name:"FCard",setup(t){const e=tt(null),n=tt([]);return mn(Ai,{activatedTab:e,tabs:n,addTab:o=>{n.value.length||(e.value=o),n.value.push(o)},updateTab:o=>{e.value=o}}),(o,r)=>(Ut(),ce("div",Cm,[sn(o.$slots,"default",{},void 0,!0)]))}},Mm=He(Am,[["__scopeId","data-v-c613d4bf"]]);const Rm={class:"f-card-header"},Om={class:"f-card-header__title"},Im={class:"f-card-header__tabs"},zm=["onClick"],Dm={__name:"FCardHeader",setup(t){const{tabs:e,updateTab:n,activatedTab:o}=te(Ai);return(r,i)=>(Ut(),ce("div",Rm,[ue("div",Om,[sn(r.$slots,"default",{},void 0,!0)]),ue("div",Im,[(Ut(!0),ce(Qt,null,xu(Vt(e),s=>(Ut(),ce("li",{key:s,class:en([{"f-card-header__tab--activated":Vt(o)===s},"f-card-header__tab"]),style:Te({height:Vt(Ja)}),onClick:()=>{Vt(n)(s)}},vc(s),15,zm))),128))])]))}},km=He(Dm,[["__scopeId","data-v-04280698"]]),Fm={};function Nm(t,e){return sn(t.$slots,"default")}const Hm=He(Fm,[["render",Nm]]);const Lm={__name:"FCardTab",props:{title:{type:String,required:!0}},setup(t){const e=t,{addTab:n,activatedTab:o}=te(Ai);return n(e.title),(r,i)=>Vt(o)===e.title?(Ut(),ce("div",{key:0,class:"f-card-tab",style:Te({paddingTop:Vt(Ja)})},[sn(r.$slots,"default",{},void 0,!0)],4)):Xl("",!0)}},Bm=He(Lm,[["__scopeId","data-v-1832e360"]]),jm=Object.freeze(Object.defineProperty({__proto__:null,FCard:Mm,FCardBody:Hm,FCardHeader:km,FCardTab:Bm},Symbol.toStringTag,{value:"Module"})),Mi=Af(If);Mi.use(Pm);Object.entries(jm).forEach(([t,e])=>{Mi.component(t,e)});Mi.mount("#app");export{Qt as F,Cs as L,Gg as M,He as _,Dt as a,Wm as b,ce as c,yl as d,Um as e,tt as f,xc as g,Lt as h,Gl as i,si as j,to as k,ha as l,jd as m,xl as n,Ut as o,uu as p,wr as q,kl as r,xu as s,Km as t,Vt as u,Lo as v,dt as w,qm as x,Vm as y,Vu as z}; diff --git a/assets/index-46f56cb6.css b/assets/index-46f56cb6.css new file mode 100644 index 0000000..23d43ed --- /dev/null +++ b/assets/index-46f56cb6.css @@ -0,0 +1 @@ +*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}html,body{height:100%;width:100%;min-height:100%;min-width:100%}#app{position:relative;width:var(--design-width);height:var(--design-height);transform:scale(var(--scale));transform-origin:left top}.fullscreen[data-v-9070052b]{width:100%;height:100%}.layer{position:absolute;top:0;left:0;background-color:transparent;overflow:hidden;visibility:hidden}.layer *{visibility:visible}.header[data-v-11e7c589]{width:100%;height:var(--top-row-height);border:1px solid black;padding:0 20px;display:flex;flex-direction:row;align-items:center;justify-content:flex-end}.project[data-v-11e7c589]{width:50px;height:50px}.document[data-v-11e7c589]{width:50px;height:50px;border-radius:100%;margin-right:20px}.sidenav[data-v-22abda97]{position:fixed;top:var(--starting-height)}.sidenav-item[data-v-22abda97]{display:block;position:relative;left:-180px;transition:.3s;padding:15px;width:200px;text-decoration:none;font-size:20px;border:1px solid black;margin-top:10px;text-align:right}.sidenav-item[data-v-22abda97]:hover{left:0;text-align:center}.shared-screen[data-v-77cb721d]{width:100%;padding:10px}.background[data-v-77cb721d]{width:100%;height:100%;background-size:50px 50px;background-color:#fff;background-image:-webkit-linear-gradient(transparent 99%,rgba(0,0,0,.1) 99%,rgba(0,0,0,.1)),-webkit-linear-gradient(0deg,transparent 99%,rgba(0,0,0,.1) 99%,rgba(0,0,0,.1));background-image:-moz-linear-gradient(transparent 99%,rgba(0,0,0,.1) 99%,rgba(0,0,0,.1)),-moz-linear-gradient(0deg,transparent 99%,rgba(0,0,0,.1) 99%,rgba(0,0,0,.1));background-image:linear-gradient(transparent 99%,rgba(0,0,0,.1) 99%,rgba(0,0,0,.1)),linear-gradient(90deg,transparent 99%,rgba(0,0,0,.1) 99%,rgba(0,0,0,.1))}.vue-grid-item{transition:all .2s ease;transition-property:left,top,right}.vue-grid-item.no-touch{-ms-touch-action:none;touch-action:none}.vue-grid-item.cssTransforms{transition-property:transform;left:0;right:auto}.vue-grid-item.cssTransforms.render-rtl{left:auto;right:0}.vue-grid-item.resizing{opacity:.6;z-index:3}.vue-grid-item.vue-draggable-dragging{transition:none;z-index:3}.vue-grid-item.vue-grid-placeholder{background:red;opacity:.2;transition-duration:.1s;z-index:2;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none}.vue-grid-item>.vue-resizable-handle{position:absolute;width:20px;height:20px;bottom:0;right:0;background:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJubyI/Pg08IS0tIEdlbmVyYXRvcjogQWRvYmUgRmlyZXdvcmtzIENTNiwgRXhwb3J0IFNWRyBFeHRlbnNpb24gYnkgQWFyb24gQmVhbGwgKGh0dHA6Ly9maXJld29ya3MuYWJlYWxsLmNvbSkgLiBWZXJzaW9uOiAwLjYuMSAgLS0+DTwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+DTxzdmcgaWQ9IlVudGl0bGVkLVBhZ2UlMjAxIiB2aWV3Qm94PSIwIDAgNiA2IiBzdHlsZT0iYmFja2dyb3VuZC1jb2xvcjojZmZmZmZmMDAiIHZlcnNpb249IjEuMSINCXhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbDpzcGFjZT0icHJlc2VydmUiDQl4PSIwcHgiIHk9IjBweCIgd2lkdGg9IjZweCIgaGVpZ2h0PSI2cHgiDT4NCTxnIG9wYWNpdHk9IjAuMzAyIj4NCQk8cGF0aCBkPSJNIDYgNiBMIDAgNiBMIDAgNC4yIEwgNCA0LjIgTCA0LjIgNC4yIEwgNC4yIDAgTCA2IDAgTCA2IDYgTCA2IDYgWiIgZmlsbD0iIzAwMDAwMCIvPg0JPC9nPg08L3N2Zz4=);background-position:bottom right;padding:0 3px 3px 0;background-repeat:no-repeat;background-origin:content-box;box-sizing:border-box;cursor:se-resize}.vue-grid-item>.vue-rtl-resizable-handle{bottom:0;left:0;background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAuMDAwMDAwMDAwMDAwMDAyIiBoZWlnaHQ9IjEwLjAwMDAwMDAwMDAwMDAwMiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KIDwhLS0gQ3JlYXRlZCB3aXRoIE1ldGhvZCBEcmF3IC0gaHR0cDovL2dpdGh1Yi5jb20vZHVvcGl4ZWwvTWV0aG9kLURyYXcvIC0tPgogPGc+CiAgPHRpdGxlPmJhY2tncm91bmQ8L3RpdGxlPgogIDxyZWN0IGZpbGw9Im5vbmUiIGlkPSJjYW52YXNfYmFja2dyb3VuZCIgaGVpZ2h0PSIxMiIgd2lkdGg9IjEyIiB5PSItMSIgeD0iLTEiLz4KICA8ZyBkaXNwbGF5PSJub25lIiBvdmVyZmxvdz0idmlzaWJsZSIgeT0iMCIgeD0iMCIgaGVpZ2h0PSIxMDAlIiB3aWR0aD0iMTAwJSIgaWQ9ImNhbnZhc0dyaWQiPgogICA8cmVjdCBmaWxsPSJ1cmwoI2dyaWRwYXR0ZXJuKSIgc3Ryb2tlLXdpZHRoPSIwIiB5PSIwIiB4PSIwIiBoZWlnaHQ9IjEwMCUiIHdpZHRoPSIxMDAlIi8+CiAgPC9nPgogPC9nPgogPGc+CiAgPHRpdGxlPkxheWVyIDE8L3RpdGxlPgogIDxsaW5lIGNhbnZhcz0iI2ZmZmZmZiIgY2FudmFzLW9wYWNpdHk9IjEiIHN0cm9rZS1saW5lY2FwPSJ1bmRlZmluZWQiIHN0cm9rZS1saW5lam9pbj0idW5kZWZpbmVkIiBpZD0ic3ZnXzEiIHkyPSItNzAuMTc4NDA3IiB4Mj0iMTI0LjQ2NDE3NSIgeTE9Ii0zOC4zOTI3MzciIHgxPSIxNDQuODIxMjg5IiBzdHJva2Utd2lkdGg9IjEuNSIgc3Ryb2tlPSIjMDAwIiBmaWxsPSJub25lIi8+CiAgPGxpbmUgc3Ryb2tlPSIjNjY2NjY2IiBzdHJva2UtbGluZWNhcD0idW5kZWZpbmVkIiBzdHJva2UtbGluZWpvaW49InVuZGVmaW5lZCIgaWQ9InN2Z181IiB5Mj0iOS4xMDY5NTciIHgyPSIwLjk0NzI0NyIgeTE9Ii0wLjAxODEyOCIgeDE9IjAuOTQ3MjQ3IiBzdHJva2Utd2lkdGg9IjIiIGZpbGw9Im5vbmUiLz4KICA8bGluZSBzdHJva2UtbGluZWNhcD0idW5kZWZpbmVkIiBzdHJva2UtbGluZWpvaW49InVuZGVmaW5lZCIgaWQ9InN2Z183IiB5Mj0iOSIgeDI9IjEwLjA3MzUyOSIgeTE9IjkiIHgxPSItMC42NTU2NCIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2U9IiM2NjY2NjYiIGZpbGw9Im5vbmUiLz4KIDwvZz4KPC9zdmc+);background-position:bottom left;padding-left:3px;background-repeat:no-repeat;background-origin:content-box;cursor:sw-resize;right:auto}.vue-grid-item.disable-userselect{user-select:none}.vue-grid-layout{position:relative;transition:height .2s ease}.cards-container[data-v-af3643e6]{width:100%;height:100%;padding-top:var(--top-row-height-with-gutter);pointer-events:none}.vue-grid-item[data-v-af3643e6]{pointer-events:all;transition:none;border:1px solid black}.vue-grid-item>div[data-v-af3643e6]{height:100%;width:100%}.vue-grid-item .resizing[data-v-af3643e6]{opacity:.9}.vue-grid-item .text[data-v-af3643e6]{font-size:24px;text-align:center;position:absolute;top:0;bottom:0;left:0;right:0;margin:auto;height:100%;width:100%}.vue-grid-item .no-drag[data-v-af3643e6]{height:100%;width:100%}.vue-grid-item .minMax[data-v-af3643e6]{font-size:12px}.vue-grid-item .add[data-v-af3643e6]{cursor:pointer}.vue-draggable-handle[data-v-af3643e6]{position:absolute;width:20px;height:20px;top:0;left:0;background:url("data:image/svg+xml;utf8,") no-repeat;background-position:bottom right;padding:0 8px 8px 0;background-repeat:no-repeat;background-origin:content-box;box-sizing:border-box;cursor:pointer}.f-card[data-v-c613d4bf]{width:100%;height:100%;cursor:pointer;position:relative}.f-card-header[data-v-04280698]{display:flex;flex-direction:row}.f-card-header__title[data-v-04280698]{position:relative;left:-1px;top:-1px;border-left:1px solid white;border-top:1px solid white;border-bottom:1px solid black;border-right:1px solid black;border-bottom-right-radius:130px 120px;padding-left:10px;padding-right:30px;background-color:#fff}.f-card-header__tab[data-v-04280698]{display:inline-block;padding:0 10px;margin:0 10px}.f-card-header__tab--activated[data-v-04280698]{border-bottom:1.5px solid black}.f-card-tab[data-v-1832e360]{width:100%;height:100%;position:absolute;top:0;pointer-events:none} diff --git a/assets/index-4c052022.js b/assets/index-4c052022.js new file mode 100644 index 0000000..947dec2 --- /dev/null +++ b/assets/index-4c052022.js @@ -0,0 +1,11 @@ +var tc=Object.defineProperty,ec=Object.defineProperties;var nc=Object.getOwnPropertyDescriptors;var Ii=Object.getOwnPropertySymbols;var oc=Object.prototype.hasOwnProperty,rc=Object.prototype.propertyIsEnumerable;var zi=(t,e,n)=>e in t?tc(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,re=(t,e)=>{for(var n in e||(e={}))oc.call(e,n)&&zi(t,n,e[n]);if(Ii)for(var n of Ii(e))rc.call(e,n)&&zi(t,n,e[n]);return t},Ue=(t,e)=>ec(t,nc(e));(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))o(r);new MutationObserver(r=>{for(const i of r)if(i.type==="childList")for(const s of i.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&o(s)}).observe(document,{childList:!0,subtree:!0});function n(r){const i={};return r.integrity&&(i.integrity=r.integrity),r.referrerPolicy&&(i.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?i.credentials="include":r.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function o(r){if(r.ep)return;r.ep=!0;const i=n(r);fetch(r.href,i)}})();function qr(t,e){const n=Object.create(null),o=t.split(",");for(let r=0;r!!n[r.toLowerCase()]:r=>!!n[r]}const Ct={},dn=[],ae=()=>{},ic=()=>!1,sc=/^on[^a-z]/,Po=t=>sc.test(t),Vr=t=>t.startsWith("onUpdate:"),$t=Object.assign,Yr=(t,e)=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)},lc=Object.prototype.hasOwnProperty,yt=(t,e)=>lc.call(t,e),rt=Array.isArray,hn=t=>Ao(t)==="[object Map]",ol=t=>Ao(t)==="[object Set]",st=t=>typeof t=="function",Ot=t=>typeof t=="string",Co=t=>typeof t=="symbol",At=t=>t!==null&&typeof t=="object",rl=t=>(At(t)||st(t))&&st(t.then)&&st(t.catch),il=Object.prototype.toString,Ao=t=>il.call(t),ac=t=>Ao(t).slice(8,-1),sl=t=>Ao(t)==="[object Object]",Xr=t=>Ot(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,uo=qr(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Mo=t=>{const e=Object.create(null);return n=>e[n]||(e[n]=t(n))},cc=/-(\w)/g,me=Mo(t=>t.replace(cc,(e,n)=>n?n.toUpperCase():"")),uc=/\B([A-Z])/g,Tn=Mo(t=>t.replace(uc,"-$1").toLowerCase()),Ro=Mo(t=>t.charAt(0).toUpperCase()+t.slice(1)),er=Mo(t=>t?`on${Ro(t)}`:""),tn=(t,e)=>!Object.is(t,e),nr=(t,e)=>{for(let n=0;n{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value:n})},fc=t=>{const e=parseFloat(t);return isNaN(e)?t:e};let Di;const vr=()=>Di||(Di=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Te(t){if(rt(t)){const e={};for(let n=0;n{if(n){const o=n.split(hc);o.length>1&&(e[o[0].trim()]=o[1].trim())}}),e}function en(t){let e="";if(Ot(t))e=t;else if(rt(t))for(let n=0;nOt(t)?t:t==null?"":rt(t)||At(t)&&(t.toString===il||!st(t.toString))?JSON.stringify(t,al,2):String(t),al=(t,e)=>e&&e.__v_isRef?al(t,e.value):hn(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((n,[o,r])=>(n[`${o} =>`]=r,n),{})}:ol(e)?{[`Set(${e.size})`]:[...e.values()]}:At(e)&&!rt(e)&&!sl(e)?String(e):e;let Qt;class bc{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Qt,!e&&Qt&&(this.index=(Qt.scopes||(Qt.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const n=Qt;try{return Qt=this,e()}finally{Qt=n}}}on(){Qt=this}off(){Qt=this.parent}stop(e){if(this._active){let n,o;for(n=0,o=this.effects.length;n{const e=new Set(t);return e.w=0,e.n=0,e},cl=t=>(t.w&Fe)>0,ul=t=>(t.n&Fe)>0,wc=({deps:t})=>{if(t.length)for(let e=0;e{const{deps:e}=t;if(e.length){let n=0;for(let o=0;o{(u==="length"||!Co(u)&&u>=a)&&l.push(c)})}else switch(n!==void 0&&l.push(s.get(n)),e){case"add":rt(t)?Xr(n)&&l.push(s.get("length")):(l.push(s.get(Qe)),hn(t)&&l.push(s.get(br)));break;case"delete":rt(t)||(l.push(s.get(Qe)),hn(t)&&l.push(s.get(br)));break;case"set":hn(t)&&l.push(s.get(Qe));break}if(l.length===1)l[0]&&xr(l[0]);else{const a=[];for(const c of l)c&&a.push(...c);xr(Gr(a))}}function xr(t,e){const n=rt(t)?t:[...t];for(const o of n)o.computed&&Fi(o);for(const o of n)o.computed||Fi(o)}function Fi(t,e){(t!==se||t.allowRecurse)&&(t.scheduler?t.scheduler():t.run())}function Sc(t,e){var n;return(n=go.get(t))==null?void 0:n.get(e)}const Tc=qr("__proto__,__v_isRef,__isVue"),hl=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(Co)),Ni=Pc();function Pc(){const t={};return["includes","indexOf","lastIndexOf"].forEach(e=>{t[e]=function(...n){const o=xt(this);for(let i=0,s=this.length;i{t[e]=function(...n){Pn();const o=xt(this)[e].apply(this,n);return Cn(),o}}),t}function Cc(t){const e=xt(this);return Xt(e,"has",t),e.hasOwnProperty(t)}class pl{constructor(e=!1,n=!1){this._isReadonly=e,this._shallow=n}get(e,n,o){const r=this._isReadonly,i=this._shallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return i;if(n==="__v_raw"&&o===(r?i?Bc:yl:i?vl:ml).get(e))return e;const s=rt(e);if(!r){if(s&&yt(Ni,n))return Reflect.get(Ni,n,o);if(n==="hasOwnProperty")return Cc}const l=Reflect.get(e,n,o);return(Co(n)?hl.has(n):Tc(n))||(r||Xt(e,"get",n),i)?l:Nt(l)?s&&Xr(n)?l:l.value:At(l)?r?xl(l):Io(l):l}}class gl extends pl{constructor(e=!1){super(!1,e)}set(e,n,o,r){let i=e[n];if(bn(i)&&Nt(i)&&!Nt(o))return!1;if(!this._shallow&&(!mo(o)&&!bn(o)&&(i=xt(i),o=xt(o)),!rt(e)&&Nt(i)&&!Nt(o)))return i.value=o,!0;const s=rt(e)&&Xr(n)?Number(n)t,Oo=t=>Reflect.getPrototypeOf(t);function eo(t,e,n=!1,o=!1){t=t.__v_raw;const r=xt(t),i=xt(e);n||(tn(e,i)&&Xt(r,"get",e),Xt(r,"get",i));const{has:s}=Oo(r),l=o?Jr:n?ei:qn;if(s.call(r,e))return l(t.get(e));if(s.call(r,i))return l(t.get(i));t!==r&&t.get(e)}function no(t,e=!1){const n=this.__v_raw,o=xt(n),r=xt(t);return e||(tn(t,r)&&Xt(o,"has",t),Xt(o,"has",r)),t===r?n.has(t):n.has(t)||n.has(r)}function oo(t,e=!1){return t=t.__v_raw,!e&&Xt(xt(t),"iterate",Qe),Reflect.get(t,"size",t)}function Hi(t){t=xt(t);const e=xt(this);return Oo(e).has.call(e,t)||(e.add(t),Ee(e,"add",t,t)),this}function Li(t,e){e=xt(e);const n=xt(this),{has:o,get:r}=Oo(n);let i=o.call(n,t);i||(t=xt(t),i=o.call(n,t));const s=r.call(n,t);return n.set(t,e),i?tn(e,s)&&Ee(n,"set",t,e):Ee(n,"add",t,e),this}function Bi(t){const e=xt(this),{has:n,get:o}=Oo(e);let r=n.call(e,t);r||(t=xt(t),r=n.call(e,t)),o&&o.call(e,t);const i=e.delete(t);return r&&Ee(e,"delete",t,void 0),i}function ji(){const t=xt(this),e=t.size!==0,n=t.clear();return e&&Ee(t,"clear",void 0,void 0),n}function ro(t,e){return function(o,r){const i=this,s=i.__v_raw,l=xt(s),a=e?Jr:t?ei:qn;return!t&&Xt(l,"iterate",Qe),s.forEach((c,u)=>o.call(r,a(c),a(u),i))}}function io(t,e,n){return function(...o){const r=this.__v_raw,i=xt(r),s=hn(i),l=t==="entries"||t===Symbol.iterator&&s,a=t==="keys"&&s,c=r[t](...o),u=n?Jr:e?ei:qn;return!e&&Xt(i,"iterate",a?br:Qe),{next(){const{value:f,done:d}=c.next();return d?{value:f,done:d}:{value:l?[u(f[0]),u(f[1])]:u(f),done:d}},[Symbol.iterator](){return this}}}}function Ae(t){return function(...e){return t==="delete"?!1:this}}function Ic(){const t={get(i){return eo(this,i)},get size(){return oo(this)},has:no,add:Hi,set:Li,delete:Bi,clear:ji,forEach:ro(!1,!1)},e={get(i){return eo(this,i,!1,!0)},get size(){return oo(this)},has:no,add:Hi,set:Li,delete:Bi,clear:ji,forEach:ro(!1,!0)},n={get(i){return eo(this,i,!0)},get size(){return oo(this,!0)},has(i){return no.call(this,i,!0)},add:Ae("add"),set:Ae("set"),delete:Ae("delete"),clear:Ae("clear"),forEach:ro(!0,!1)},o={get(i){return eo(this,i,!0,!0)},get size(){return oo(this,!0)},has(i){return no.call(this,i,!0)},add:Ae("add"),set:Ae("set"),delete:Ae("delete"),clear:Ae("clear"),forEach:ro(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{t[i]=io(i,!1,!1),n[i]=io(i,!0,!1),e[i]=io(i,!1,!0),o[i]=io(i,!0,!0)}),[t,n,e,o]}const[zc,Dc,kc,Fc]=Ic();function Zr(t,e){const n=e?t?Fc:kc:t?Dc:zc;return(o,r,i)=>r==="__v_isReactive"?!t:r==="__v_isReadonly"?t:r==="__v_raw"?o:Reflect.get(yt(n,r)&&r in o?n:o,r,i)}const Nc={get:Zr(!1,!1)},Hc={get:Zr(!1,!0)},Lc={get:Zr(!0,!1)},ml=new WeakMap,vl=new WeakMap,yl=new WeakMap,Bc=new WeakMap;function jc(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function $c(t){return t.__v_skip||!Object.isExtensible(t)?0:jc(ac(t))}function Io(t){return bn(t)?t:ti(t,!1,Mc,Nc,ml)}function bl(t){return ti(t,!1,Oc,Hc,vl)}function xl(t){return ti(t,!0,Rc,Lc,yl)}function ti(t,e,n,o,r){if(!At(t)||t.__v_raw&&!(e&&t.__v_isReactive))return t;const i=r.get(t);if(i)return i;const s=$c(t);if(s===0)return t;const l=new Proxy(t,s===2?o:n);return r.set(t,l),l}function pn(t){return bn(t)?pn(t.__v_raw):!!(t&&t.__v_isReactive)}function bn(t){return!!(t&&t.__v_isReadonly)}function mo(t){return!!(t&&t.__v_isShallow)}function _l(t){return pn(t)||bn(t)}function xt(t){const e=t&&t.__v_raw;return e?xt(e):t}function wl(t){return po(t,"__v_skip",!0),t}const qn=t=>At(t)?Io(t):t,ei=t=>At(t)?xl(t):t;function ni(t){De&&se&&(t=xt(t),dl(t.dep||(t.dep=Gr())))}function oi(t,e){t=xt(t);const n=t.dep;n&&xr(n)}function Nt(t){return!!(t&&t.__v_isRef===!0)}function tt(t){return El(t,!1)}function Wc(t){return El(t,!0)}function El(t,e){return Nt(t)?t:new Uc(t,e)}class Uc{constructor(e,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?e:xt(e),this._value=n?e:qn(e)}get value(){return ni(this),this._value}set value(e){const n=this.__v_isShallow||mo(e)||bn(e);e=n?e:xt(e),tn(e,this._rawValue)&&(this._rawValue=e,this._value=n?e:qn(e),oi(this))}}function Yt(t){return Nt(t)?t.value:t}const Kc={get:(t,e,n)=>Yt(Reflect.get(t,e,n)),set:(t,e,n,o)=>{const r=t[e];return Nt(r)&&!Nt(n)?(r.value=n,!0):Reflect.set(t,e,n,o)}};function Sl(t){return pn(t)?t:new Proxy(t,Kc)}class qc{constructor(e){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:o}=e(()=>ni(this),()=>oi(this));this._get=n,this._set=o}get value(){return this._get()}set value(e){this._set(e)}}function Xm(t){return new qc(t)}class Vc{constructor(e,n,o){this._object=e,this._key=n,this._defaultValue=o,this.__v_isRef=!0}get value(){const e=this._object[this._key];return e===void 0?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){return Sc(xt(this._object),this._key)}}class Yc{constructor(e){this._getter=e,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function Gm(t,e,n){return Nt(t)?t:st(t)?new Yc(t):At(t)&&arguments.length>1?Xc(t,e,n):tt(t)}function Xc(t,e,n){const o=t[e];return Nt(o)?o:new Vc(t,e,n)}class Gc{constructor(e,n,o,r){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new Qr(e,()=>{this._dirty||(this._dirty=!0,oi(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=o}get value(){const e=xt(this);return ni(e),(e._dirty||!e._cacheable)&&(e._dirty=!1,e._value=e.effect.run()),e._value}set value(e){this._setter(e)}}function Qc(t,e,n=!1){let o,r;const i=st(t);return i?(o=t,r=ae):(o=t.get,r=t.set),new Gc(o,r,i||!r,n)}function ke(t,e,n,o){let r;try{r=o?t(...o):t()}catch(i){zo(i,e,n)}return r}function ce(t,e,n,o){if(st(t)){const i=ke(t,e,n,o);return i&&rl(i)&&i.catch(s=>{zo(s,e,n)}),i}const r=[];for(let i=0;i>>1,r=Wt[o],i=Yn(r);ige&&Wt.splice(e,1)}function eu(t){rt(t)?gn.push(...t):(!_e||!_e.includes(t,t.allowRecurse?Ye+1:Ye))&&gn.push(t),Pl()}function $i(t,e=Vn?ge+1:0){for(;eYn(n)-Yn(o)),Ye=0;Ye<_e.length;Ye++)_e[Ye]();_e=null,Ye=0}}const Yn=t=>t.id==null?1/0:t.id,nu=(t,e)=>{const n=Yn(t)-Yn(e);if(n===0){if(t.pre&&!e.pre)return-1;if(e.pre&&!t.pre)return 1}return n};function Al(t){_r=!1,Vn=!0,Wt.sort(nu);const e=ae;try{for(ge=0;geOt(g)?g.trim():g)),f&&(r=n.map(fc))}let l,a=o[l=er(e)]||o[l=er(me(e))];!a&&i&&(a=o[l=er(Tn(e))]),a&&ce(a,t,6,r);const c=o[l+"Once"];if(c){if(!t.emitted)t.emitted={};else if(t.emitted[l])return;t.emitted[l]=!0,ce(c,t,6,r)}}function Ml(t,e,n=!1){const o=e.emitsCache,r=o.get(t);if(r!==void 0)return r;const i=t.emits;let s={},l=!1;if(!st(t)){const a=c=>{const u=Ml(c,e,!0);u&&(l=!0,$t(s,u))};!n&&e.mixins.length&&e.mixins.forEach(a),t.extends&&a(t.extends),t.mixins&&t.mixins.forEach(a)}return!i&&!l?(At(t)&&o.set(t,null),null):(rt(i)?i.forEach(a=>s[a]=null):$t(s,i),At(t)&&o.set(t,s),s)}function Do(t,e){return!t||!Po(e)?!1:(e=e.slice(2).replace(/Once$/,""),yt(t,e[0].toLowerCase()+e.slice(1))||yt(t,Tn(e))||yt(t,e))}let Bt=null,ko=null;function vo(t){const e=Bt;return Bt=t,ko=t&&t.type.__scopeId||null,e}function si(t){ko=t}function li(){ko=null}function wr(t,e=Bt,n){if(!e||t._n)return t;const o=(...r)=>{o._d&&ts(-1);const i=vo(e);let s;try{s=t(...r)}finally{vo(i),o._d&&ts(1)}return s};return o._n=!0,o._c=!0,o._d=!0,o}function or(t){const{type:e,vnode:n,proxy:o,withProxy:r,props:i,propsOptions:[s],slots:l,attrs:a,emit:c,render:u,renderCache:f,data:d,setupState:g,ctx:b,inheritAttrs:S}=t;let A,F;const P=vo(t);try{if(n.shapeFlag&4){const y=r||o;A=pe(u.call(y,y,f,i,g,d,b)),F=a}else{const y=e;A=pe(y.length>1?y(i,{attrs:a,slots:l,emit:c}):y(i,null)),F=e.props?a:ru(a)}}catch(y){jn.length=0,zo(y,t,1),A=Dt(Ne)}let L=A;if(F&&S!==!1){const y=Object.keys(F),{shapeFlag:v}=L;y.length&&v&7&&(s&&y.some(Vr)&&(F=iu(F,s)),L=xn(L,F))}return n.dirs&&(L=xn(L),L.dirs=L.dirs?L.dirs.concat(n.dirs):n.dirs),n.transition&&(L.transition=n.transition),A=L,vo(P),A}const ru=t=>{let e;for(const n in t)(n==="class"||n==="style"||Po(n))&&((e||(e={}))[n]=t[n]);return e},iu=(t,e)=>{const n={};for(const o in t)(!Vr(o)||!(o.slice(9)in e))&&(n[o]=t[o]);return n};function su(t,e,n){const{props:o,children:r,component:i}=t,{props:s,children:l,patchFlag:a}=e,c=i.emitsOptions;if(e.dirs||e.transition)return!0;if(n&&a>=0){if(a&1024)return!0;if(a&16)return o?Wi(o,s,c):!!s;if(a&8){const u=e.dynamicProps;for(let f=0;ft.__isSuspense;function cu(t,e){e&&e.pendingBranch?rt(t)?e.effects.push(...t):e.effects.push(t):eu(t)}const so={};function dt(t,e,n){return Rl(t,e,n)}function Rl(t,e,{immediate:n,deep:o,flush:r,onTrack:i,onTrigger:s}=Ct){var l;const a=_c()===((l=Ft)==null?void 0:l.scope)?Ft:null;let c,u=!1,f=!1;if(Nt(t)?(c=()=>t.value,u=mo(t)):pn(t)?(c=()=>t,o=!0):rt(t)?(f=!0,u=t.some(y=>pn(y)||mo(y)),c=()=>t.map(y=>{if(Nt(y))return y.value;if(pn(y))return Ge(y);if(st(y))return ke(y,a,2)})):st(t)?e?c=()=>ke(t,a,2):c=()=>{if(!(a&&a.isUnmounted))return d&&d(),ce(t,a,3,[g])}:c=ae,e&&o){const y=c;c=()=>Ge(y())}let d,g=y=>{d=P.onStop=()=>{ke(y,a,4)}},b;if(Gn)if(g=ae,e?n&&ce(e,a,3,[c(),f?[]:void 0,g]):c(),r==="sync"){const y=sf();b=y.__watcherHandles||(y.__watcherHandles=[])}else return ae;let S=f?new Array(t.length).fill(so):so;const A=()=>{if(P.active)if(e){const y=P.run();(o||u||(f?y.some((v,K)=>tn(v,S[K])):tn(y,S)))&&(d&&d(),ce(e,a,3,[y,S===so?void 0:f&&S[0]===so?[]:S,g]),S=y)}else P.run()};A.allowRecurse=!!e;let F;r==="sync"?F=A:r==="post"?F=()=>qt(A,a&&a.suspense):(A.pre=!0,a&&(A.id=a.uid),F=()=>ii(A));const P=new Qr(c,F);e?n?A():S=P.run():r==="post"?qt(P.run.bind(P),a&&a.suspense):P.run();const L=()=>{P.stop(),a&&a.scope&&Yr(a.scope.effects,P)};return b&&b.push(L),L}function uu(t,e,n){const o=this.proxy,r=Ot(t)?t.includes(".")?Ol(o,t):()=>o[t]:t.bind(o,o);let i;st(e)?i=e:(i=e.handler,n=e);const s=Ft;_n(this);const l=Rl(r,i.bind(o),n);return s?_n(s):Je(),l}function Ol(t,e){const n=e.split(".");return()=>{let o=t;for(let r=0;r{Ge(n,e)});else if(sl(t))for(const n in t)Ge(t[n],e);return t}function fu(t,e){const n=Bt;if(n===null)return t;const o=jo(n)||n.proxy,r=t.dirs||(t.dirs=[]);for(let i=0;i$t({name:t.name},e,{setup:t}))():t}const Hn=t=>!!t.type.__asyncLoader,Il=t=>t.type.__isKeepAlive;function du(t,e){zl(t,"a",e)}function hu(t,e){zl(t,"da",e)}function zl(t,e,n=Ft){const o=t.__wdc||(t.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return t()});if(No(e,o,n),n){let r=n.parent;for(;r&&r.parent;)Il(r.parent.vnode)&&pu(o,e,n,r),r=r.parent}}function pu(t,e,n,o){const r=No(e,t,o,!0);Dl(()=>{Yr(o[e],r)},n)}function No(t,e,n=Ft,o=!1){if(n){const r=n[t]||(n[t]=[]),i=e.__weh||(e.__weh=(...s)=>{if(n.isUnmounted)return;Pn(),_n(n);const l=ce(e,n,t,s);return Je(),Cn(),l});return o?r.unshift(i):r.push(i),i}}const Pe=t=>(e,n=Ft)=>(!Gn||t==="sp")&&No(t,(...o)=>e(...o),n),to=Pe("bm"),ai=Pe("m"),gu=Pe("bu"),mu=Pe("u"),ci=Pe("bum"),Dl=Pe("um"),vu=Pe("sp"),yu=Pe("rtg"),bu=Pe("rtc");function xu(t,e=Ft){No("ec",t,e)}const ui="components";function kl(t,e){return Nl(ui,t,!0,e)||t}const Fl=Symbol.for("v-ndc");function Qm(t){return Ot(t)?Nl(ui,t,!1)||t:t||Fl}function Nl(t,e,n=!0,o=!1){const r=Bt||Ft;if(r){const i=r.type;if(t===ui){const l=nf(i,!1);if(l&&(l===e||l===me(e)||l===Ro(me(e))))return i}const s=Ui(r[t]||i[t],e)||Ui(r.appContext[t],e);return!s&&o?i:s}}function Ui(t,e){return t&&(t[e]||t[me(e)]||t[Ro(me(e))])}function _u(t,e,n,o){let r;const i=n&&n[o];if(rt(t)||Ot(t)){r=new Array(t.length);for(let s=0,l=t.length;se(s,l,void 0,i&&i[l]));else{const s=Object.keys(t);r=new Array(s.length);for(let l=0,a=s.length;lxo(e)?!(e.type===Ne||e.type===Jt&&!Hl(e.children)):!0)?t:null}const Er=t=>t?Ql(t)?jo(t)||t.proxy:Er(t.parent):null,Ln=$t(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>t.props,$attrs:t=>t.attrs,$slots:t=>t.slots,$refs:t=>t.refs,$parent:t=>Er(t.parent),$root:t=>Er(t.root),$emit:t=>t.emit,$options:t=>fi(t),$forceUpdate:t=>t.f||(t.f=()=>ii(t.update)),$nextTick:t=>t.n||(t.n=ie.bind(t.proxy)),$watch:t=>uu.bind(t)}),rr=(t,e)=>t!==Ct&&!t.__isScriptSetup&&yt(t,e),wu={get({_:t},e){const{ctx:n,setupState:o,data:r,props:i,accessCache:s,type:l,appContext:a}=t;let c;if(e[0]!=="$"){const g=s[e];if(g!==void 0)switch(g){case 1:return o[e];case 2:return r[e];case 4:return n[e];case 3:return i[e]}else{if(rr(o,e))return s[e]=1,o[e];if(r!==Ct&&yt(r,e))return s[e]=2,r[e];if((c=t.propsOptions[0])&&yt(c,e))return s[e]=3,i[e];if(n!==Ct&&yt(n,e))return s[e]=4,n[e];Sr&&(s[e]=0)}}const u=Ln[e];let f,d;if(u)return e==="$attrs"&&Xt(t,"get",e),u(t);if((f=l.__cssModules)&&(f=f[e]))return f;if(n!==Ct&&yt(n,e))return s[e]=4,n[e];if(d=a.config.globalProperties,yt(d,e))return d[e]},set({_:t},e,n){const{data:o,setupState:r,ctx:i}=t;return rr(r,e)?(r[e]=n,!0):o!==Ct&&yt(o,e)?(o[e]=n,!0):yt(t.props,e)||e[0]==="$"&&e.slice(1)in t?!1:(i[e]=n,!0)},has({_:{data:t,setupState:e,accessCache:n,ctx:o,appContext:r,propsOptions:i}},s){let l;return!!n[s]||t!==Ct&&yt(t,s)||rr(e,s)||(l=i[0])&&yt(l,s)||yt(o,s)||yt(Ln,s)||yt(r.config.globalProperties,s)},defineProperty(t,e,n){return n.get!=null?t._.accessCache[e]=0:yt(n,"value")&&this.set(t,e,n.value,null),Reflect.defineProperty(t,e,n)}};function Eu(){return Su().slots}function Su(){const t=Gl();return t.setupContext||(t.setupContext=Zl(t))}function Ki(t){return rt(t)?t.reduce((e,n)=>(e[n]=null,e),{}):t}let Sr=!0;function Tu(t){const e=fi(t),n=t.proxy,o=t.ctx;Sr=!1,e.beforeCreate&&qi(e.beforeCreate,t,"bc");const{data:r,computed:i,methods:s,watch:l,provide:a,inject:c,created:u,beforeMount:f,mounted:d,beforeUpdate:g,updated:b,activated:S,deactivated:A,beforeDestroy:F,beforeUnmount:P,destroyed:L,unmounted:y,render:v,renderTracked:K,renderTriggered:k,errorCaptured:et,serverPrefetch:ft,expose:X,inheritAttrs:ot,components:z,directives:V,filters:at}=e;if(c&&Pu(c,o,null),s)for(const Q in s){const B=s[Q];st(B)&&(o[Q]=B.bind(n))}if(r){const Q=r.call(n,n);At(Q)&&(t.data=Io(Q))}if(Sr=!0,i)for(const Q in i){const B=i[Q],_t=st(B)?B.bind(n,n):st(B.get)?B.get.bind(n,n):ae,Et=!st(B)&&st(B.set)?B.set.bind(n):ae,ht=Lt({get:_t,set:Et});Object.defineProperty(o,Q,{enumerable:!0,configurable:!0,get:()=>ht.value,set:wt=>ht.value=wt})}if(l)for(const Q in l)Ll(l[Q],o,n,Q);if(a){const Q=st(a)?a.call(n):a;Reflect.ownKeys(Q).forEach(B=>{mn(B,Q[B])})}u&&qi(u,t,"c");function lt(Q,B){rt(B)?B.forEach(_t=>Q(_t.bind(n))):B&&Q(B.bind(n))}if(lt(to,f),lt(ai,d),lt(gu,g),lt(mu,b),lt(du,S),lt(hu,A),lt(xu,et),lt(bu,K),lt(yu,k),lt(ci,P),lt(Dl,y),lt(vu,ft),rt(X))if(X.length){const Q=t.exposed||(t.exposed={});X.forEach(B=>{Object.defineProperty(Q,B,{get:()=>n[B],set:_t=>n[B]=_t})})}else t.exposed||(t.exposed={});v&&t.render===ae&&(t.render=v),ot!=null&&(t.inheritAttrs=ot),z&&(t.components=z),V&&(t.directives=V)}function Pu(t,e,n=ae){rt(t)&&(t=Tr(t));for(const o in t){const r=t[o];let i;At(r)?"default"in r?i=ee(r.from||o,r.default,!0):i=ee(r.from||o):i=ee(r),Nt(i)?Object.defineProperty(e,o,{enumerable:!0,configurable:!0,get:()=>i.value,set:s=>i.value=s}):e[o]=i}}function qi(t,e,n){ce(rt(t)?t.map(o=>o.bind(e.proxy)):t.bind(e.proxy),e,n)}function Ll(t,e,n,o){const r=o.includes(".")?Ol(n,o):()=>n[o];if(Ot(t)){const i=e[t];st(i)&&dt(r,i)}else if(st(t))dt(r,t.bind(n));else if(At(t))if(rt(t))t.forEach(i=>Ll(i,e,n,o));else{const i=st(t.handler)?t.handler.bind(n):e[t.handler];st(i)&&dt(r,i,t)}}function fi(t){const e=t.type,{mixins:n,extends:o}=e,{mixins:r,optionsCache:i,config:{optionMergeStrategies:s}}=t.appContext,l=i.get(e);let a;return l?a=l:!r.length&&!n&&!o?a=e:(a={},r.length&&r.forEach(c=>yo(a,c,s,!0)),yo(a,e,s)),At(e)&&i.set(e,a),a}function yo(t,e,n,o=!1){const{mixins:r,extends:i}=e;i&&yo(t,i,n,!0),r&&r.forEach(s=>yo(t,s,n,!0));for(const s in e)if(!(o&&s==="expose")){const l=Cu[s]||n&&n[s];t[s]=l?l(t[s],e[s]):e[s]}return t}const Cu={data:Vi,props:Yi,emits:Yi,methods:Fn,computed:Fn,beforeCreate:Ut,created:Ut,beforeMount:Ut,mounted:Ut,beforeUpdate:Ut,updated:Ut,beforeDestroy:Ut,beforeUnmount:Ut,destroyed:Ut,unmounted:Ut,activated:Ut,deactivated:Ut,errorCaptured:Ut,serverPrefetch:Ut,components:Fn,directives:Fn,watch:Mu,provide:Vi,inject:Au};function Vi(t,e){return e?t?function(){return $t(st(t)?t.call(this,this):t,st(e)?e.call(this,this):e)}:e:t}function Au(t,e){return Fn(Tr(t),Tr(e))}function Tr(t){if(rt(t)){const e={};for(let n=0;n1)return n&&st(e)?e.call(o&&o.proxy):e}}function Iu(t,e,n,o=!1){const r={},i={};po(i,Bo,1),t.propsDefaults=Object.create(null),jl(t,e,r,i);for(const s in t.propsOptions[0])s in r||(r[s]=void 0);n?t.props=o?r:bl(r):t.type.props?t.props=r:t.props=i,t.attrs=i}function zu(t,e,n,o){const{props:r,attrs:i,vnode:{patchFlag:s}}=t,l=xt(r),[a]=t.propsOptions;let c=!1;if((o||s>0)&&!(s&16)){if(s&8){const u=t.vnode.dynamicProps;for(let f=0;f{a=!0;const[d,g]=$l(f,e,!0);$t(s,d),g&&l.push(...g)};!n&&e.mixins.length&&e.mixins.forEach(u),t.extends&&u(t.extends),t.mixins&&t.mixins.forEach(u)}if(!i&&!a)return At(t)&&o.set(t,dn),dn;if(rt(i))for(let u=0;u-1,g[1]=S<0||b-1||yt(g,"default"))&&l.push(f)}}}const c=[s,l];return At(t)&&o.set(t,c),c}function Xi(t){return t[0]!=="$"}function Gi(t){const e=t&&t.toString().match(/^\s*(function|class) (\w+)/);return e?e[2]:t===null?"null":""}function Qi(t,e){return Gi(t)===Gi(e)}function Ji(t,e){return rt(e)?e.findIndex(n=>Qi(n,t)):st(e)&&Qi(e,t)?0:-1}const Wl=t=>t[0]==="_"||t==="$stable",di=t=>rt(t)?t.map(pe):[pe(t)],Du=(t,e,n)=>{if(e._n)return e;const o=wr((...r)=>di(e(...r)),n);return o._c=!1,o},Ul=(t,e,n)=>{const o=t._ctx;for(const r in t){if(Wl(r))continue;const i=t[r];if(st(i))e[r]=Du(r,i,o);else if(i!=null){const s=di(i);e[r]=()=>s}}},Kl=(t,e)=>{const n=di(e);t.slots.default=()=>n},ku=(t,e)=>{if(t.vnode.shapeFlag&32){const n=e._;n?(t.slots=xt(e),po(e,"_",n)):Ul(e,t.slots={})}else t.slots={},e&&Kl(t,e);po(t.slots,Bo,1)},Fu=(t,e,n)=>{const{vnode:o,slots:r}=t;let i=!0,s=Ct;if(o.shapeFlag&32){const l=e._;l?n&&l===1?i=!1:($t(r,e),!n&&l===1&&delete r._):(i=!e.$stable,Ul(e,r)),s=e}else e&&(Kl(t,e),s={default:1});if(i)for(const l in r)!Wl(l)&&s[l]==null&&delete r[l]};function Cr(t,e,n,o,r=!1){if(rt(t)){t.forEach((d,g)=>Cr(d,e&&(rt(e)?e[g]:e),n,o,r));return}if(Hn(o)&&!r)return;const i=o.shapeFlag&4?jo(o.component)||o.component.proxy:o.el,s=r?null:i,{i:l,r:a}=t,c=e&&e.r,u=l.refs===Ct?l.refs={}:l.refs,f=l.setupState;if(c!=null&&c!==a&&(Ot(c)?(u[c]=null,yt(f,c)&&(f[c]=null)):Nt(c)&&(c.value=null)),st(a))ke(a,l,12,[s,u]);else{const d=Ot(a),g=Nt(a);if(d||g){const b=()=>{if(t.f){const S=d?yt(f,a)?f[a]:u[a]:a.value;r?rt(S)&&Yr(S,i):rt(S)?S.includes(i)||S.push(i):d?(u[a]=[i],yt(f,a)&&(f[a]=u[a])):(a.value=[i],t.k&&(u[t.k]=a.value))}else d?(u[a]=s,yt(f,a)&&(f[a]=s)):g&&(a.value=s,t.k&&(u[t.k]=s))};s?(b.id=-1,qt(b,n)):b()}}}const qt=cu;function Nu(t){return Hu(t)}function Hu(t,e){const n=vr();n.__VUE__=!0;const{insert:o,remove:r,patchProp:i,createElement:s,createText:l,createComment:a,setText:c,setElementText:u,parentNode:f,nextSibling:d,setScopeId:g=ae,insertStaticContent:b}=t,S=(h,p,m,_=null,T=null,w=null,H=!1,D=null,O=!!p.dynamicChildren)=>{if(h===p)return;h&&!Mn(h,p)&&(_=E(h),wt(h,T,w,!0),h=null),p.patchFlag===-2&&(O=!1,p.dynamicChildren=null);const{type:C,ref:q,shapeFlag:$}=p;switch(C){case Ho:A(h,p,m,_);break;case Ne:F(h,p,m,_);break;case ir:h==null&&P(p,m,_,H);break;case Jt:z(h,p,m,_,T,w,H,D,O);break;default:$&1?v(h,p,m,_,T,w,H,D,O):$&6?V(h,p,m,_,T,w,H,D,O):($&64||$&128)&&C.process(h,p,m,_,T,w,H,D,O,x)}q!=null&&T&&Cr(q,h&&h.ref,w,p||h,!p)},A=(h,p,m,_)=>{if(h==null)o(p.el=l(p.children),m,_);else{const T=p.el=h.el;p.children!==h.children&&c(T,p.children)}},F=(h,p,m,_)=>{h==null?o(p.el=a(p.children||""),m,_):p.el=h.el},P=(h,p,m,_)=>{[h.el,h.anchor]=b(h.children,p,m,_,h.el,h.anchor)},L=({el:h,anchor:p},m,_)=>{let T;for(;h&&h!==p;)T=d(h),o(h,m,_),h=T;o(p,m,_)},y=({el:h,anchor:p})=>{let m;for(;h&&h!==p;)m=d(h),r(h),h=m;r(p)},v=(h,p,m,_,T,w,H,D,O)=>{H=H||p.type==="svg",h==null?K(p,m,_,T,w,H,D,O):ft(h,p,T,w,H,D,O)},K=(h,p,m,_,T,w,H,D)=>{let O,C;const{type:q,props:$,shapeFlag:W,transition:Z,dirs:it}=h;if(O=h.el=s(h.type,w,$&&$.is,$),W&8?u(O,h.children):W&16&&et(h.children,O,null,_,T,w&&q!=="foreignObject",H,D),it&&Ke(h,null,_,"created"),k(O,h,h.scopeId,H,_),$){for(const J in $)J!=="value"&&!uo(J)&&i(O,J,null,$[J],w,h.children,_,T,It);"value"in $&&i(O,"value",null,$.value),(C=$.onVnodeBeforeMount)&&he(C,_,h)}it&&Ke(h,null,_,"beforeMount");const bt=Lu(T,Z);bt&&Z.beforeEnter(O),o(O,p,m),((C=$&&$.onVnodeMounted)||bt||it)&&qt(()=>{C&&he(C,_,h),bt&&Z.enter(O),it&&Ke(h,null,_,"mounted")},T)},k=(h,p,m,_,T)=>{if(m&&g(h,m),_)for(let w=0;w<_.length;w++)g(h,_[w]);if(T){let w=T.subTree;if(p===w){const H=T.vnode;k(h,H,H.scopeId,H.slotScopeIds,T.parent)}}},et=(h,p,m,_,T,w,H,D,O=0)=>{for(let C=O;C{const D=p.el=h.el;let{patchFlag:O,dynamicChildren:C,dirs:q}=p;O|=h.patchFlag&16;const $=h.props||Ct,W=p.props||Ct;let Z;m&&qe(m,!1),(Z=W.onVnodeBeforeUpdate)&&he(Z,m,p,h),q&&Ke(p,h,m,"beforeUpdate"),m&&qe(m,!0);const it=T&&p.type!=="foreignObject";if(C?X(h.dynamicChildren,C,D,m,_,it,w):H||B(h,p,D,null,m,_,it,w,!1),O>0){if(O&16)ot(D,p,$,W,m,_,T);else if(O&2&&$.class!==W.class&&i(D,"class",null,W.class,T),O&4&&i(D,"style",$.style,W.style,T),O&8){const bt=p.dynamicProps;for(let J=0;J{Z&&he(Z,m,p,h),q&&Ke(p,h,m,"updated")},_)},X=(h,p,m,_,T,w,H)=>{for(let D=0;D{if(m!==_){if(m!==Ct)for(const D in m)!uo(D)&&!(D in _)&&i(h,D,m[D],null,H,p.children,T,w,It);for(const D in _){if(uo(D))continue;const O=_[D],C=m[D];O!==C&&D!=="value"&&i(h,D,C,O,H,p.children,T,w,It)}"value"in _&&i(h,"value",m.value,_.value)}},z=(h,p,m,_,T,w,H,D,O)=>{const C=p.el=h?h.el:l(""),q=p.anchor=h?h.anchor:l("");let{patchFlag:$,dynamicChildren:W,slotScopeIds:Z}=p;Z&&(D=D?D.concat(Z):Z),h==null?(o(C,m,_),o(q,m,_),et(p.children,m,q,T,w,H,D,O)):$>0&&$&64&&W&&h.dynamicChildren?(X(h.dynamicChildren,W,m,T,w,H,D),(p.key!=null||T&&p===T.subTree)&&hi(h,p,!0)):B(h,p,m,q,T,w,H,D,O)},V=(h,p,m,_,T,w,H,D,O)=>{p.slotScopeIds=D,h==null?p.shapeFlag&512?T.ctx.activate(p,m,_,H,O):at(p,m,_,T,w,H,O):Tt(h,p,O)},at=(h,p,m,_,T,w,H)=>{const D=h.component=Ju(h,_,T);if(Il(h)&&(D.ctx.renderer=x),Zu(D),D.asyncDep){if(T&&T.registerDep(D,lt),!h.el){const O=D.subTree=Dt(Ne);F(null,O,p,m)}return}lt(D,h,p,m,T,w,H)},Tt=(h,p,m)=>{const _=p.component=h.component;if(su(h,p,m))if(_.asyncDep&&!_.asyncResolved){Q(_,p,m);return}else _.next=p,tu(_.update),_.update();else p.el=h.el,_.vnode=p},lt=(h,p,m,_,T,w,H)=>{const D=()=>{if(h.isMounted){let{next:q,bu:$,u:W,parent:Z,vnode:it}=h,bt=q,J;qe(h,!1),q?(q.el=it.el,Q(h,q,H)):q=it,$&&nr($),(J=q.props&&q.props.onVnodeBeforeUpdate)&&he(J,Z,q,it),qe(h,!0);const gt=or(h),zt=h.subTree;h.subTree=gt,S(zt,gt,f(zt.el),E(zt),h,T,w),q.el=gt.el,bt===null&&lu(h,gt.el),W&&qt(W,T),(J=q.props&&q.props.onVnodeUpdated)&&qt(()=>he(J,Z,q,it),T)}else{let q;const{el:$,props:W}=p,{bm:Z,m:it,parent:bt}=h,J=Hn(p);if(qe(h,!1),Z&&nr(Z),!J&&(q=W&&W.onVnodeBeforeMount)&&he(q,bt,p),qe(h,!0),$&&Y){const gt=()=>{h.subTree=or(h),Y($,h.subTree,h,T,null)};J?p.type.__asyncLoader().then(()=>!h.isUnmounted&>()):gt()}else{const gt=h.subTree=or(h);S(null,gt,m,_,h,T,w),p.el=gt.el}if(it&&qt(it,T),!J&&(q=W&&W.onVnodeMounted)){const gt=p;qt(()=>he(q,bt,gt),T)}(p.shapeFlag&256||bt&&Hn(bt.vnode)&&bt.vnode.shapeFlag&256)&&h.a&&qt(h.a,T),h.isMounted=!0,p=m=_=null}},O=h.effect=new Qr(D,()=>ii(C),h.scope),C=h.update=()=>O.run();C.id=h.uid,qe(h,!0),C()},Q=(h,p,m)=>{p.component=h;const _=h.vnode.props;h.vnode=p,h.next=null,zu(h,p.props,_,m),Fu(h,p.children,m),Pn(),$i(),Cn()},B=(h,p,m,_,T,w,H,D,O=!1)=>{const C=h&&h.children,q=h?h.shapeFlag:0,$=p.children,{patchFlag:W,shapeFlag:Z}=p;if(W>0){if(W&128){Et(C,$,m,_,T,w,H,D,O);return}else if(W&256){_t(C,$,m,_,T,w,H,D,O);return}}Z&8?(q&16&&It(C,T,w),$!==C&&u(m,$)):q&16?Z&16?Et(C,$,m,_,T,w,H,D,O):It(C,T,w,!0):(q&8&&u(m,""),Z&16&&et($,m,_,T,w,H,D,O))},_t=(h,p,m,_,T,w,H,D,O)=>{h=h||dn,p=p||dn;const C=h.length,q=p.length,$=Math.min(C,q);let W;for(W=0;W<$;W++){const Z=p[W]=O?Ie(p[W]):pe(p[W]);S(h[W],Z,m,null,T,w,H,D,O)}C>q?It(h,T,w,!0,!1,$):et(p,m,_,T,w,H,D,O,$)},Et=(h,p,m,_,T,w,H,D,O)=>{let C=0;const q=p.length;let $=h.length-1,W=q-1;for(;C<=$&&C<=W;){const Z=h[C],it=p[C]=O?Ie(p[C]):pe(p[C]);if(Mn(Z,it))S(Z,it,m,null,T,w,H,D,O);else break;C++}for(;C<=$&&C<=W;){const Z=h[$],it=p[W]=O?Ie(p[W]):pe(p[W]);if(Mn(Z,it))S(Z,it,m,null,T,w,H,D,O);else break;$--,W--}if(C>$){if(C<=W){const Z=W+1,it=ZW)for(;C<=$;)wt(h[C],T,w,!0),C++;else{const Z=C,it=C,bt=new Map;for(C=it;C<=W;C++){const kt=p[C]=O?Ie(p[C]):pe(p[C]);kt.key!=null&&bt.set(kt.key,C)}let J,gt=0;const zt=W-it+1;let Ht=!1,$e=0;const Mt=new Array(zt);for(C=0;C=zt){wt(kt,T,w,!0);continue}let M;if(kt.key!=null)M=bt.get(kt.key);else for(J=it;J<=W;J++)if(Mt[J-it]===0&&Mn(kt,p[J])){M=J;break}M===void 0?wt(kt,T,w,!0):(Mt[M-it]=C+1,M>=$e?$e=M:Ht=!0,S(kt,p[M],m,null,T,w,H,D,O),gt++)}const We=Ht?Bu(Mt):dn;for(J=We.length-1,C=zt-1;C>=0;C--){const kt=it+C,M=p[kt],U=kt+1{const{el:w,type:H,transition:D,children:O,shapeFlag:C}=h;if(C&6){ht(h.component.subTree,p,m,_);return}if(C&128){h.suspense.move(p,m,_);return}if(C&64){H.move(h,p,m,x);return}if(H===Jt){o(w,p,m);for(let $=0;$D.enter(w),T);else{const{leave:$,delayLeave:W,afterLeave:Z}=D,it=()=>o(w,p,m),bt=()=>{$(w,()=>{it(),Z&&Z()})};W?W(w,it,bt):bt()}else o(w,p,m)},wt=(h,p,m,_=!1,T=!1)=>{const{type:w,props:H,ref:D,children:O,dynamicChildren:C,shapeFlag:q,patchFlag:$,dirs:W}=h;if(D!=null&&Cr(D,null,m,h,!0),q&256){p.ctx.deactivate(h);return}const Z=q&1&&W,it=!Hn(h);let bt;if(it&&(bt=H&&H.onVnodeBeforeUnmount)&&he(bt,p,h),q&6)Ce(h.component,m,_);else{if(q&128){h.suspense.unmount(m,_);return}Z&&Ke(h,null,p,"beforeUnmount"),q&64?h.type.remove(h,p,m,T,x,_):C&&(w!==Jt||$>0&&$&64)?It(C,p,m,!1,!0):(w===Jt&&$&384||!T&&q&16)&&It(O,p,m),_&&pt(h)}(it&&(bt=H&&H.onVnodeUnmounted)||Z)&&qt(()=>{bt&&he(bt,p,h),Z&&Ke(h,null,p,"unmounted")},m)},pt=h=>{const{type:p,el:m,anchor:_,transition:T}=h;if(p===Jt){ne(m,_);return}if(p===ir){y(h);return}const w=()=>{r(m),T&&!T.persisted&&T.afterLeave&&T.afterLeave()};if(h.shapeFlag&1&&T&&!T.persisted){const{leave:H,delayLeave:D}=T,O=()=>H(m,w);D?D(h.el,w,O):O()}else w()},ne=(h,p)=>{let m;for(;h!==p;)m=d(h),r(h),h=m;r(p)},Ce=(h,p,m)=>{const{bum:_,scope:T,update:w,subTree:H,um:D}=h;_&&nr(_),T.stop(),w&&(w.active=!1,wt(H,h,p,m)),D&&qt(D,p),qt(()=>{h.isUnmounted=!0},p),p&&p.pendingBranch&&!p.isUnmounted&&h.asyncDep&&!h.asyncResolved&&h.suspenseId===p.pendingId&&(p.deps--,p.deps===0&&p.resolve())},It=(h,p,m,_=!1,T=!1,w=0)=>{for(let H=w;Hh.shapeFlag&6?E(h.component.subTree):h.shapeFlag&128?h.suspense.next():d(h.anchor||h.el),j=(h,p,m)=>{h==null?p._vnode&&wt(p._vnode,null,null,!0):S(p._vnode||null,h,p,null,null,null,m),$i(),Cl(),p._vnode=h},x={p:S,um:wt,m:ht,r:pt,mt:at,mc:et,pc:B,pbc:X,n:E,o:t};let N,Y;return e&&([N,Y]=e(x)),{render:j,hydrate:N,createApp:Ou(j,N)}}function qe({effect:t,update:e},n){t.allowRecurse=e.allowRecurse=n}function Lu(t,e){return(!t||t&&!t.pendingBranch)&&e&&!e.persisted}function hi(t,e,n=!1){const o=t.children,r=e.children;if(rt(o)&&rt(r))for(let i=0;i>1,t[n[l]]0&&(e[o]=n[i-1]),n[i]=o)}}for(i=n.length,s=n[i-1];i-- >0;)n[i]=s,s=e[s];return n}const ju=t=>t.__isTeleport,Bn=t=>t&&(t.disabled||t.disabled===""),Zi=t=>typeof SVGElement<"u"&&t instanceof SVGElement,Ar=(t,e)=>{const n=t&&t.to;return Ot(n)?e?e(n):null:n},$u={__isTeleport:!0,process(t,e,n,o,r,i,s,l,a,c){const{mc:u,pc:f,pbc:d,o:{insert:g,querySelector:b,createText:S,createComment:A}}=c,F=Bn(e.props);let{shapeFlag:P,children:L,dynamicChildren:y}=e;if(t==null){const v=e.el=S(""),K=e.anchor=S("");g(v,n,o),g(K,n,o);const k=e.target=Ar(e.props,b),et=e.targetAnchor=S("");k&&(g(et,k),s=s||Zi(k));const ft=(X,ot)=>{P&16&&u(L,X,ot,r,i,s,l,a)};F?ft(n,K):k&&ft(k,et)}else{e.el=t.el;const v=e.anchor=t.anchor,K=e.target=t.target,k=e.targetAnchor=t.targetAnchor,et=Bn(t.props),ft=et?n:K,X=et?v:k;if(s=s||Zi(K),y?(d(t.dynamicChildren,y,ft,r,i,s,l),hi(t,e,!0)):a||f(t,e,ft,X,r,i,s,l,!1),F)et?e.props&&t.props&&e.props.to!==t.props.to&&(e.props.to=t.props.to):lo(e,n,v,c,1);else if((e.props&&e.props.to)!==(t.props&&t.props.to)){const ot=e.target=Ar(e.props,b);ot&&lo(e,ot,null,c,0)}else et&&lo(e,K,k,c,1)}ql(e)},remove(t,e,n,o,{um:r,o:{remove:i}},s){const{shapeFlag:l,children:a,anchor:c,targetAnchor:u,target:f,props:d}=t;if(f&&i(u),s&&i(c),l&16){const g=s||!Bn(d);for(let b=0;b0?le||dn:null,Ku(),Xn>0&&le&&le.push(t),t}function ue(t,e,n,o,r,i){return Vl(jt(t,e,n,o,r,i,!0))}function Lo(t,e,n,o,r){return Vl(Dt(t,e,n,o,r,!0))}function xo(t){return t?t.__v_isVNode===!0:!1}function Mn(t,e){return t.type===e.type&&t.key===e.key}const Bo="__vInternal",Yl=({key:t})=>t!=null?t:null,fo=({ref:t,ref_key:e,ref_for:n})=>(typeof t=="number"&&(t=""+t),t!=null?Ot(t)||Nt(t)||st(t)?{i:Bt,r:t,k:e,f:!!n}:t:null);function jt(t,e=null,n=null,o=0,r=null,i=t===Jt?0:1,s=!1,l=!1){const a={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&Yl(e),ref:e&&fo(e),scopeId:ko,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:o,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:Bt};return l?(pi(a,n),i&128&&t.normalize(a)):n&&(a.shapeFlag|=Ot(n)?8:16),Xn>0&&!s&&le&&(a.patchFlag>0||i&6)&&a.patchFlag!==32&&le.push(a),a}const Dt=qu;function qu(t,e=null,n=null,o=0,r=null,i=!1){if((!t||t===Fl)&&(t=Ne),xo(t)){const l=xn(t,e,!0);return n&&pi(l,n),Xn>0&&!i&&le&&(l.shapeFlag&6?le[le.indexOf(t)]=l:le.push(l)),l.patchFlag|=-2,l}if(of(t)&&(t=t.__vccOpts),e){e=Vu(e);let{class:l,style:a}=e;l&&!Ot(l)&&(e.class=en(l)),At(a)&&(_l(a)&&!rt(a)&&(a=$t({},a)),e.style=Te(a))}const s=Ot(t)?1:au(t)?128:ju(t)?64:At(t)?4:st(t)?2:0;return jt(t,e,n,o,r,s,i,!0)}function Vu(t){return t?_l(t)||Bo in t?$t({},t):t:null}function xn(t,e,n=!1){const{props:o,ref:r,patchFlag:i,children:s}=t,l=e?Xu(o||{},e):o;return{__v_isVNode:!0,__v_skip:!0,type:t.type,props:l,key:l&&Yl(l),ref:e&&e.ref?n&&r?rt(r)?r.concat(fo(e)):[r,fo(e)]:fo(e):r,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:s,target:t.target,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==Jt?i===-1?16:i|16:i,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:t.transition,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&xn(t.ssContent),ssFallback:t.ssFallback&&xn(t.ssFallback),el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce}}function Yu(t=" ",e=0){return Dt(Ho,null,t,e)}function Xl(t="",e=!1){return e?(Kt(),Lo(Ne,null,t)):Dt(Ne,null,t)}function pe(t){return t==null||typeof t=="boolean"?Dt(Ne):rt(t)?Dt(Jt,null,t.slice()):typeof t=="object"?Ie(t):Dt(Ho,null,String(t))}function Ie(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:xn(t)}function pi(t,e){let n=0;const{shapeFlag:o}=t;if(e==null)e=null;else if(rt(e))n=16;else if(typeof e=="object")if(o&65){const r=e.default;r&&(r._c&&(r._d=!1),pi(t,r()),r._c&&(r._d=!0));return}else{n=32;const r=e._;!r&&!(Bo in e)?e._ctx=Bt:r===3&&Bt&&(Bt.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else st(e)?(e={default:e,_ctx:Bt},n=32):(e=String(e),o&64?(n=16,e=[Yu(e)]):n=8);t.children=e,t.shapeFlag|=n}function Xu(...t){const e={};for(let n=0;nFt||Bt;let gi,ln,es="__VUE_INSTANCE_SETTERS__";(ln=vr()[es])||(ln=vr()[es]=[]),ln.push(t=>Ft=t),gi=t=>{ln.length>1?ln.forEach(e=>e(t)):ln[0](t)};const _n=t=>{gi(t),t.scope.on()},Je=()=>{Ft&&Ft.scope.off(),gi(null)};function Ql(t){return t.vnode.shapeFlag&4}let Gn=!1;function Zu(t,e=!1){Gn=e;const{props:n,children:o}=t.vnode,r=Ql(t);Iu(t,n,r,e),ku(t,o);const i=r?tf(t,e):void 0;return Gn=!1,i}function tf(t,e){const n=t.type;t.accessCache=Object.create(null),t.proxy=wl(new Proxy(t.ctx,wu));const{setup:o}=n;if(o){const r=t.setupContext=o.length>1?Zl(t):null;_n(t),Pn();const i=ke(o,t,0,[t.props,r]);if(Cn(),Je(),rl(i)){if(i.then(Je,Je),e)return i.then(s=>{ns(t,s,e)}).catch(s=>{zo(s,t,0)});t.asyncDep=i}else ns(t,i,e)}else Jl(t,e)}function ns(t,e,n){st(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:At(e)&&(t.setupState=Sl(e)),Jl(t,n)}let os;function Jl(t,e,n){const o=t.type;if(!t.render){if(!e&&os&&!o.render){const r=o.template||fi(t).template;if(r){const{isCustomElement:i,compilerOptions:s}=t.appContext.config,{delimiters:l,compilerOptions:a}=o,c=$t($t({isCustomElement:i,delimiters:l},s),a);o.render=os(r,c)}}t.render=o.render||ae}{_n(t),Pn();try{Tu(t)}finally{Cn(),Je()}}}function ef(t){return t.attrsProxy||(t.attrsProxy=new Proxy(t.attrs,{get(e,n){return Xt(t,"get","$attrs"),e[n]}}))}function Zl(t){const e=n=>{t.exposed=n||{}};return{get attrs(){return ef(t)},slots:t.slots,emit:t.emit,expose:e}}function jo(t){if(t.exposed)return t.exposeProxy||(t.exposeProxy=new Proxy(Sl(wl(t.exposed)),{get(e,n){if(n in e)return e[n];if(n in Ln)return Ln[n](t)},has(e,n){return n in e||n in Ln}}))}function nf(t,e=!0){return st(t)?t.displayName||t.name:t.name||e&&t.__name}function of(t){return st(t)&&"__vccOpts"in t}const Lt=(t,e)=>Qc(t,e,Gn);function ta(t,e,n){const o=arguments.length;return o===2?At(e)&&!rt(e)?xo(e)?Dt(t,null,[e]):Dt(t,e):Dt(t,null,e):(o>3?n=Array.prototype.slice.call(arguments,2):o===3&&xo(n)&&(n=[n]),Dt(t,e,n))}const rf=Symbol.for("v-scx"),sf=()=>ee(rf),lf="3.3.7",af="http://www.w3.org/2000/svg",Xe=typeof document<"u"?document:null,rs=Xe&&Xe.createElement("template"),cf={insert:(t,e,n)=>{e.insertBefore(t,n||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,n,o)=>{const r=e?Xe.createElementNS(af,t):Xe.createElement(t,n?{is:n}:void 0);return t==="select"&&o&&o.multiple!=null&&r.setAttribute("multiple",o.multiple),r},createText:t=>Xe.createTextNode(t),createComment:t=>Xe.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>Xe.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},insertStaticContent(t,e,n,o,r,i){const s=n?n.previousSibling:e.lastChild;if(r&&(r===i||r.nextSibling))for(;e.insertBefore(r.cloneNode(!0),n),!(r===i||!(r=r.nextSibling)););else{rs.innerHTML=o?`${t}`:t;const l=rs.content;if(o){const a=l.firstChild;for(;a.firstChild;)l.appendChild(a.firstChild);l.removeChild(a)}e.insertBefore(l,n)}return[s?s.nextSibling:e.firstChild,n?n.previousSibling:e.lastChild]}},uf=Symbol("_vtc");function ff(t,e,n){const o=t[uf];o&&(e=(e?[e,...o]:[...o]).join(" ")),e==null?t.removeAttribute("class"):n?t.setAttribute("class",e):t.className=e}const mi=Symbol("_vod"),df={beforeMount(t,{value:e},{transition:n}){t[mi]=t.style.display==="none"?"":t.style.display,n&&e?n.beforeEnter(t):Rn(t,e)},mounted(t,{value:e},{transition:n}){n&&e&&n.enter(t)},updated(t,{value:e,oldValue:n},{transition:o}){!e!=!n&&(o?e?(o.beforeEnter(t),Rn(t,!0),o.enter(t)):o.leave(t,()=>{Rn(t,!1)}):Rn(t,e))},beforeUnmount(t,{value:e}){Rn(t,e)}};function Rn(t,e){t.style.display=e?t[mi]:"none"}function hf(t,e,n){const o=t.style,r=Ot(n);if(n&&!r){if(e&&!Ot(e))for(const i in e)n[i]==null&&Mr(o,i,"");for(const i in n)Mr(o,i,n[i])}else{const i=o.display;r?e!==n&&(o.cssText=n):e&&t.removeAttribute("style"),mi in t&&(o.display=i)}}const is=/\s*!important$/;function Mr(t,e,n){if(rt(n))n.forEach(o=>Mr(t,e,o));else if(n==null&&(n=""),e.startsWith("--"))t.setProperty(e,n);else{const o=pf(t,e);is.test(n)?t.setProperty(Tn(o),n.replace(is,""),"important"):t[o]=n}}const ss=["Webkit","Moz","ms"],sr={};function pf(t,e){const n=sr[e];if(n)return n;let o=me(e);if(o!=="filter"&&o in t)return sr[e]=o;o=Ro(o);for(let r=0;rlr||(_f.then(()=>lr=0),lr=Date.now());function Ef(t,e){const n=o=>{if(!o._vts)o._vts=Date.now();else if(o._vts<=n.attached)return;ce(Sf(o,n.value),e,5,[o])};return n.value=t,n.attached=wf(),n}function Sf(t,e){if(rt(e)){const n=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{n.call(t),t._stopped=!0},e.map(o=>r=>!r._stopped&&o&&o(r))}else return e}const us=/^on[a-z]/,Tf=(t,e,n,o,r=!1,i,s,l,a)=>{e==="class"?ff(t,o,r):e==="style"?hf(t,n,o):Po(e)?Vr(e)||bf(t,e,n,o,s):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):Pf(t,e,o,r))?mf(t,e,o,i,s,l,a):(e==="true-value"?t._trueValue=o:e==="false-value"&&(t._falseValue=o),gf(t,e,o,r))};function Pf(t,e,n,o){return o?!!(e==="innerHTML"||e==="textContent"||e in t&&us.test(e)&&st(n)):e==="spellcheck"||e==="draggable"||e==="translate"||e==="form"||e==="list"&&t.tagName==="INPUT"||e==="type"&&t.tagName==="TEXTAREA"||us.test(e)&&Ot(n)?!1:e in t}const Cf=$t({patchProp:Tf},cf);let fs;function Af(){return fs||(fs=Nu(Cf))}const Mf=(...t)=>{const e=Af().createApp(...t),{mount:n}=e;return e.mount=o=>{const r=Rf(o);if(!r)return;const i=e._component;!st(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.innerHTML="";const s=n(r,!1,r instanceof SVGElement);return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),s},e};function Rf(t){return Ot(t)?document.querySelector(t):t}const Rr=1920,Or=1080,Of=`${Rr}px`,If=`${Or}px`;const zf={__name:"App",setup(t){return to(()=>{const e=document.documentElement.clientWidth/document.documentElement.clientHeight{const o=kl("router-view");return Kt(),Lo(o)}}},Df="modulepreload",kf=function(t){return"/"+t},ds={},ea=function(e,n,o){if(!n||n.length===0)return e();const r=document.getElementsByTagName("link");return Promise.all(n.map(i=>{if(i=kf(i),i in ds)return;ds[i]=!0;const s=i.endsWith(".css"),l=s?'[rel="stylesheet"]':"";if(!!o)for(let u=r.length-1;u>=0;u--){const f=r[u];if(f.href===i&&(!s||f.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${i}"]${l}`))return;const c=document.createElement("link");if(c.rel=s?"stylesheet":Df,s||(c.as="script",c.crossOrigin=""),c.href=i,document.head.appendChild(c),s)return new Promise((u,f)=>{c.addEventListener("load",u),c.addEventListener("error",()=>f(new Error(`Unable to preload CSS for ${i}`)))})})).then(()=>e()).catch(i=>{const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=i,window.dispatchEvent(s),!s.defaultPrevented)throw i})};/*! + * vue-router v4.2.5 + * (c) 2023 Eduardo San Martin Morote + * @license MIT + */const cn=typeof window<"u";function Ff(t){return t.__esModule||t[Symbol.toStringTag]==="Module"}const St=Object.assign;function ar(t,e){const n={};for(const o in e){const r=e[o];n[o]=fe(r)?r.map(t):t(r)}return n}const $n=()=>{},fe=Array.isArray,Nf=/\/$/,Hf=t=>t.replace(Nf,"");function cr(t,e,n="/"){let o,r={},i="",s="";const l=e.indexOf("#");let a=e.indexOf("?");return l=0&&(a=-1),a>-1&&(o=e.slice(0,a),i=e.slice(a+1,l>-1?l:e.length),r=t(i)),l>-1&&(o=o||e.slice(0,l),s=e.slice(l,e.length)),o=$f(o!=null?o:e,n),{fullPath:o+(i&&"?")+i+s,path:o,query:r,hash:s}}function Lf(t,e){const n=e.query?t(e.query):"";return e.path+(n&&"?")+n+(e.hash||"")}function hs(t,e){return!e||!t.toLowerCase().startsWith(e.toLowerCase())?t:t.slice(e.length)||"/"}function Bf(t,e,n){const o=e.matched.length-1,r=n.matched.length-1;return o>-1&&o===r&&wn(e.matched[o],n.matched[r])&&na(e.params,n.params)&&t(e.query)===t(n.query)&&e.hash===n.hash}function wn(t,e){return(t.aliasOf||t)===(e.aliasOf||e)}function na(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!1;for(const n in t)if(!jf(t[n],e[n]))return!1;return!0}function jf(t,e){return fe(t)?ps(t,e):fe(e)?ps(e,t):t===e}function ps(t,e){return fe(e)?t.length===e.length&&t.every((n,o)=>n===e[o]):t.length===1&&t[0]===e}function $f(t,e){if(t.startsWith("/"))return t;if(!t)return e;const n=e.split("/"),o=t.split("/"),r=o[o.length-1];(r===".."||r===".")&&o.push("");let i=n.length-1,s,l;for(s=0;s1&&i--;else break;return n.slice(0,i).join("/")+"/"+o.slice(s-(s===o.length?1:0)).join("/")}var Qn;(function(t){t.pop="pop",t.push="push"})(Qn||(Qn={}));var Wn;(function(t){t.back="back",t.forward="forward",t.unknown=""})(Wn||(Wn={}));function Wf(t){if(!t)if(cn){const e=document.querySelector("base");t=e&&e.getAttribute("href")||"/",t=t.replace(/^\w+:\/\/[^\/]+/,"")}else t="/";return t[0]!=="/"&&t[0]!=="#"&&(t="/"+t),Hf(t)}const Uf=/^[^#]+#/;function Kf(t,e){return t.replace(Uf,"#")+e}function qf(t,e){const n=document.documentElement.getBoundingClientRect(),o=t.getBoundingClientRect();return{behavior:e.behavior,left:o.left-n.left-(e.left||0),top:o.top-n.top-(e.top||0)}}const $o=()=>({left:window.pageXOffset,top:window.pageYOffset});function Vf(t){let e;if("el"in t){const n=t.el,o=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?o?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;e=qf(r,t)}else e=t;"scrollBehavior"in document.documentElement.style?window.scrollTo(e):window.scrollTo(e.left!=null?e.left:window.pageXOffset,e.top!=null?e.top:window.pageYOffset)}function gs(t,e){return(history.state?history.state.position-e:-1)+t}const Ir=new Map;function Yf(t,e){Ir.set(t,e)}function Xf(t){const e=Ir.get(t);return Ir.delete(t),e}let Gf=()=>location.protocol+"//"+location.host;function oa(t,e){const{pathname:n,search:o,hash:r}=e,i=t.indexOf("#");if(i>-1){let l=r.includes(t.slice(i))?t.slice(i).length:1,a=r.slice(l);return a[0]!=="/"&&(a="/"+a),hs(a,"")}return hs(n,t)+o+r}function Qf(t,e,n,o){let r=[],i=[],s=null;const l=({state:d})=>{const g=oa(t,location),b=n.value,S=e.value;let A=0;if(d){if(n.value=g,e.value=d,s&&s===b){s=null;return}A=S?d.position-S.position:0}else o(g);r.forEach(F=>{F(n.value,b,{delta:A,type:Qn.pop,direction:A?A>0?Wn.forward:Wn.back:Wn.unknown})})};function a(){s=n.value}function c(d){r.push(d);const g=()=>{const b=r.indexOf(d);b>-1&&r.splice(b,1)};return i.push(g),g}function u(){const{history:d}=window;d.state&&d.replaceState(St({},d.state,{scroll:$o()}),"")}function f(){for(const d of i)d();i=[],window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",l),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:a,listen:c,destroy:f}}function ms(t,e,n,o=!1,r=!1){return{back:t,current:e,forward:n,replaced:o,position:window.history.length,scroll:r?$o():null}}function Jf(t){const{history:e,location:n}=window,o={value:oa(t,n)},r={value:e.state};r.value||i(o.value,{back:null,current:o.value,forward:null,position:e.length-1,replaced:!0,scroll:null},!0);function i(a,c,u){const f=t.indexOf("#"),d=f>-1?(n.host&&document.querySelector("base")?t:t.slice(f))+a:Gf()+t+a;try{e[u?"replaceState":"pushState"](c,"",d),r.value=c}catch(g){console.error(g),n[u?"replace":"assign"](d)}}function s(a,c){const u=St({},e.state,ms(r.value.back,a,r.value.forward,!0),c,{position:r.value.position});i(a,u,!0),o.value=a}function l(a,c){const u=St({},r.value,e.state,{forward:a,scroll:$o()});i(u.current,u,!0);const f=St({},ms(o.value,a,null),{position:u.position+1},c);i(a,f,!1),o.value=a}return{location:o,state:r,push:l,replace:s}}function Zf(t){t=Wf(t);const e=Jf(t),n=Qf(t,e.state,e.location,e.replace);function o(i,s=!0){s||n.pauseListeners(),history.go(i)}const r=St({location:"",base:t,go:o,createHref:Kf.bind(null,t)},e,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>e.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>e.state.value}),r}function td(t){return t=location.host?t||location.pathname+location.search:"",t.includes("#")||(t+="#"),Zf(t)}function ed(t){return typeof t=="string"||t&&typeof t=="object"}function ra(t){return typeof t=="string"||typeof t=="symbol"}const Me={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},ia=Symbol("");var vs;(function(t){t[t.aborted=4]="aborted",t[t.cancelled=8]="cancelled",t[t.duplicated=16]="duplicated"})(vs||(vs={}));function En(t,e){return St(new Error,{type:t,[ia]:!0},e)}function be(t,e){return t instanceof Error&&ia in t&&(e==null||!!(t.type&e))}const ys="[^/]+?",nd={sensitive:!1,strict:!1,start:!0,end:!0},od=/[.+*?^${}()[\]/\\]/g;function rd(t,e){const n=St({},nd,e),o=[];let r=n.start?"^":"";const i=[];for(const c of t){const u=c.length?[]:[90];n.strict&&!c.length&&(r+="/");for(let f=0;fe.length?e.length===1&&e[0]===40+40?1:-1:0}function sd(t,e){let n=0;const o=t.score,r=e.score;for(;n0&&e[e.length-1]<0}const ld={type:0,value:""},ad=/[a-zA-Z0-9_]/;function cd(t){if(!t)return[[]];if(t==="/")return[[ld]];if(!t.startsWith("/"))throw new Error(`Invalid path "${t}"`);function e(g){throw new Error(`ERR (${n})/"${c}": ${g}`)}let n=0,o=n;const r=[];let i;function s(){i&&r.push(i),i=[]}let l=0,a,c="",u="";function f(){c&&(n===0?i.push({type:0,value:c}):n===1||n===2||n===3?(i.length>1&&(a==="*"||a==="+")&&e(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:c,regexp:u,repeatable:a==="*"||a==="+",optional:a==="*"||a==="?"})):e("Invalid state to consume buffer"),c="")}function d(){c+=a}for(;l{s(P)}:$n}function s(u){if(ra(u)){const f=o.get(u);f&&(o.delete(u),n.splice(n.indexOf(f),1),f.children.forEach(s),f.alias.forEach(s))}else{const f=n.indexOf(u);f>-1&&(n.splice(f,1),u.record.name&&o.delete(u.record.name),u.children.forEach(s),u.alias.forEach(s))}}function l(){return n}function a(u){let f=0;for(;f=0&&(u.record.path!==n[f].record.path||!sa(u,n[f]));)f++;n.splice(f,0,u),u.record.name&&!_s(u)&&o.set(u.record.name,u)}function c(u,f){let d,g={},b,S;if("name"in u&&u.name){if(d=o.get(u.name),!d)throw En(1,{location:u});S=d.record.name,g=St(xs(f.params,d.keys.filter(P=>!P.optional).map(P=>P.name)),u.params&&xs(u.params,d.keys.map(P=>P.name))),b=d.stringify(g)}else if("path"in u)b=u.path,d=n.find(P=>P.re.test(b)),d&&(g=d.parse(b),S=d.record.name);else{if(d=f.name?o.get(f.name):n.find(P=>P.re.test(f.path)),!d)throw En(1,{location:u,currentLocation:f});S=d.record.name,g=St({},f.params,u.params),b=d.stringify(g)}const A=[];let F=d;for(;F;)A.unshift(F.record),F=F.parent;return{name:S,path:b,params:g,matched:A,meta:pd(A)}}return t.forEach(u=>i(u)),{addRoute:i,resolve:c,removeRoute:s,getRoutes:l,getRecordMatcher:r}}function xs(t,e){const n={};for(const o of e)o in t&&(n[o]=t[o]);return n}function dd(t){return{path:t.path,redirect:t.redirect,name:t.name,meta:t.meta||{},aliasOf:void 0,beforeEnter:t.beforeEnter,props:hd(t),children:t.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in t?t.components||null:t.component&&{default:t.component}}}function hd(t){const e={},n=t.props||!1;if("component"in t)e.default=n;else for(const o in t.components)e[o]=typeof n=="object"?n[o]:n;return e}function _s(t){for(;t;){if(t.record.aliasOf)return!0;t=t.parent}return!1}function pd(t){return t.reduce((e,n)=>St(e,n.meta),{})}function ws(t,e){const n={};for(const o in t)n[o]=o in e?e[o]:t[o];return n}function sa(t,e){return e.children.some(n=>n===t||sa(t,n))}const la=/#/g,gd=/&/g,md=/\//g,vd=/=/g,yd=/\?/g,aa=/\+/g,bd=/%5B/g,xd=/%5D/g,ca=/%5E/g,_d=/%60/g,ua=/%7B/g,wd=/%7C/g,fa=/%7D/g,Ed=/%20/g;function vi(t){return encodeURI(""+t).replace(wd,"|").replace(bd,"[").replace(xd,"]")}function Sd(t){return vi(t).replace(ua,"{").replace(fa,"}").replace(ca,"^")}function zr(t){return vi(t).replace(aa,"%2B").replace(Ed,"+").replace(la,"%23").replace(gd,"%26").replace(_d,"`").replace(ua,"{").replace(fa,"}").replace(ca,"^")}function Td(t){return zr(t).replace(vd,"%3D")}function Pd(t){return vi(t).replace(la,"%23").replace(yd,"%3F")}function Cd(t){return t==null?"":Pd(t).replace(md,"%2F")}function _o(t){try{return decodeURIComponent(""+t)}catch(e){}return""+t}function Ad(t){const e={};if(t===""||t==="?")return e;const o=(t[0]==="?"?t.slice(1):t).split("&");for(let r=0;ri&&zr(i)):[o&&zr(o)]).forEach(i=>{i!==void 0&&(e+=(e.length?"&":"")+n,i!=null&&(e+="="+i))})}return e}function Md(t){const e={};for(const n in t){const o=t[n];o!==void 0&&(e[n]=fe(o)?o.map(r=>r==null?null:""+r):o==null?o:""+o)}return e}const Rd=Symbol(""),Ss=Symbol(""),yi=Symbol(""),da=Symbol(""),Dr=Symbol("");function On(){let t=[];function e(o){return t.push(o),()=>{const r=t.indexOf(o);r>-1&&t.splice(r,1)}}function n(){t=[]}return{add:e,list:()=>t.slice(),reset:n}}function ze(t,e,n,o,r){const i=o&&(o.enterCallbacks[r]=o.enterCallbacks[r]||[]);return()=>new Promise((s,l)=>{const a=f=>{f===!1?l(En(4,{from:n,to:e})):f instanceof Error?l(f):ed(f)?l(En(2,{from:e,to:f})):(i&&o.enterCallbacks[r]===i&&typeof f=="function"&&i.push(f),s())},c=t.call(o&&o.instances[r],e,n,a);let u=Promise.resolve(c);t.length<3&&(u=u.then(a)),u.catch(f=>l(f))})}function ur(t,e,n,o){const r=[];for(const i of t)for(const s in i.components){let l=i.components[s];if(!(e!=="beforeRouteEnter"&&!i.instances[s]))if(Od(l)){const c=(l.__vccOpts||l)[e];c&&r.push(ze(c,n,o,i,s))}else{let a=l();r.push(()=>a.then(c=>{if(!c)return Promise.reject(new Error(`Couldn't resolve component "${s}" at "${i.path}"`));const u=Ff(c)?c.default:c;i.components[s]=u;const d=(u.__vccOpts||u)[e];return d&&ze(d,n,o,i,s)()}))}}return r}function Od(t){return typeof t=="object"||"displayName"in t||"props"in t||"__vccOpts"in t}function Ts(t){const e=ee(yi),n=ee(da),o=Lt(()=>e.resolve(Yt(t.to))),r=Lt(()=>{const{matched:a}=o.value,{length:c}=a,u=a[c-1],f=n.matched;if(!u||!f.length)return-1;const d=f.findIndex(wn.bind(null,u));if(d>-1)return d;const g=Ps(a[c-2]);return c>1&&Ps(u)===g&&f[f.length-1].path!==g?f.findIndex(wn.bind(null,a[c-2])):d}),i=Lt(()=>r.value>-1&&kd(n.params,o.value.params)),s=Lt(()=>r.value>-1&&r.value===n.matched.length-1&&na(n.params,o.value.params));function l(a={}){return Dd(a)?e[Yt(t.replace)?"replace":"push"](Yt(t.to)).catch($n):Promise.resolve()}return{route:o,href:Lt(()=>o.value.href),isActive:i,isExactActive:s,navigate:l}}const Id=Fo({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Ts,setup(t,{slots:e}){const n=Io(Ts(t)),{options:o}=ee(yi),r=Lt(()=>({[Cs(t.activeClass,o.linkActiveClass,"router-link-active")]:n.isActive,[Cs(t.exactActiveClass,o.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const i=e.default&&e.default(n);return t.custom?i:ta("a",{"aria-current":n.isExactActive?t.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},i)}}}),zd=Id;function Dd(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)&&!t.defaultPrevented&&!(t.button!==void 0&&t.button!==0)){if(t.currentTarget&&t.currentTarget.getAttribute){const e=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return t.preventDefault&&t.preventDefault(),!0}}function kd(t,e){for(const n in e){const o=e[n],r=t[n];if(typeof o=="string"){if(o!==r)return!1}else if(!fe(r)||r.length!==o.length||o.some((i,s)=>i!==r[s]))return!1}return!0}function Ps(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}const Cs=(t,e,n)=>t!=null?t:e!=null?e:n,Fd=Fo({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(t,{attrs:e,slots:n}){const o=ee(Dr),r=Lt(()=>t.route||o.value),i=ee(Ss,0),s=Lt(()=>{let c=Yt(i);const{matched:u}=r.value;let f;for(;(f=u[c])&&!f.components;)c++;return c}),l=Lt(()=>r.value.matched[s.value]);mn(Ss,Lt(()=>s.value+1)),mn(Rd,l),mn(Dr,r);const a=tt();return dt(()=>[a.value,l.value,t.name],([c,u,f],[d,g,b])=>{u&&(u.instances[f]=c,g&&g!==u&&c&&c===d&&(u.leaveGuards.size||(u.leaveGuards=g.leaveGuards),u.updateGuards.size||(u.updateGuards=g.updateGuards))),c&&u&&(!g||!wn(u,g)||!d)&&(u.enterCallbacks[f]||[]).forEach(S=>S(c))},{flush:"post"}),()=>{const c=r.value,u=t.name,f=l.value,d=f&&f.components[u];if(!d)return As(n.default,{Component:d,route:c});const g=f.props[u],b=g?g===!0?c.params:typeof g=="function"?g(c):g:null,A=ta(d,St({},b,e,{onVnodeUnmounted:F=>{F.component.isUnmounted&&(f.instances[u]=null)},ref:a}));return As(n.default,{Component:A,route:c})||A}}});function As(t,e){if(!t)return null;const n=t(e);return n.length===1?n[0]:n}const Nd=Fd;function Hd(t){const e=fd(t.routes,t),n=t.parseQuery||Ad,o=t.stringifyQuery||Es,r=t.history,i=On(),s=On(),l=On(),a=Wc(Me);let c=Me;cn&&t.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=ar.bind(null,E=>""+E),f=ar.bind(null,Cd),d=ar.bind(null,_o);function g(E,j){let x,N;return ra(E)?(x=e.getRecordMatcher(E),N=j):N=E,e.addRoute(N,x)}function b(E){const j=e.getRecordMatcher(E);j&&e.removeRoute(j)}function S(){return e.getRoutes().map(E=>E.record)}function A(E){return!!e.getRecordMatcher(E)}function F(E,j){if(j=St({},j||a.value),typeof E=="string"){const m=cr(n,E,j.path),_=e.resolve({path:m.path},j),T=r.createHref(m.fullPath);return St(m,_,{params:d(_.params),hash:_o(m.hash),redirectedFrom:void 0,href:T})}let x;if("path"in E)x=St({},E,{path:cr(n,E.path,j.path).path});else{const m=St({},E.params);for(const _ in m)m[_]==null&&delete m[_];x=St({},E,{params:f(m)}),j.params=f(j.params)}const N=e.resolve(x,j),Y=E.hash||"";N.params=u(d(N.params));const h=Lf(o,St({},E,{hash:Sd(Y),path:N.path})),p=r.createHref(h);return St({fullPath:h,hash:Y,query:o===Es?Md(E.query):E.query||{}},N,{redirectedFrom:void 0,href:p})}function P(E){return typeof E=="string"?cr(n,E,a.value.path):St({},E)}function L(E,j){if(c!==E)return En(8,{from:j,to:E})}function y(E){return k(E)}function v(E){return y(St(P(E),{replace:!0}))}function K(E){const j=E.matched[E.matched.length-1];if(j&&j.redirect){const{redirect:x}=j;let N=typeof x=="function"?x(E):x;return typeof N=="string"&&(N=N.includes("?")||N.includes("#")?N=P(N):{path:N},N.params={}),St({query:E.query,hash:E.hash,params:"path"in N?{}:E.params},N)}}function k(E,j){const x=c=F(E),N=a.value,Y=E.state,h=E.force,p=E.replace===!0,m=K(x);if(m)return k(St(P(m),{state:typeof m=="object"?St({},Y,m.state):Y,force:h,replace:p}),j||x);const _=x;_.redirectedFrom=j;let T;return!h&&Bf(o,N,x)&&(T=En(16,{to:_,from:N}),ht(N,N,!0,!1)),(T?Promise.resolve(T):X(_,N)).catch(w=>be(w)?be(w,2)?w:Et(w):B(w,_,N)).then(w=>{if(w){if(be(w,2))return k(St({replace:p},P(w.to),{state:typeof w.to=="object"?St({},Y,w.to.state):Y,force:h}),j||_)}else w=z(_,N,!0,p,Y);return ot(_,N,w),w})}function et(E,j){const x=L(E,j);return x?Promise.reject(x):Promise.resolve()}function ft(E){const j=ne.values().next().value;return j&&typeof j.runWithContext=="function"?j.runWithContext(E):E()}function X(E,j){let x;const[N,Y,h]=Ld(E,j);x=ur(N.reverse(),"beforeRouteLeave",E,j);for(const m of N)m.leaveGuards.forEach(_=>{x.push(ze(_,E,j))});const p=et.bind(null,E,j);return x.push(p),It(x).then(()=>{x=[];for(const m of i.list())x.push(ze(m,E,j));return x.push(p),It(x)}).then(()=>{x=ur(Y,"beforeRouteUpdate",E,j);for(const m of Y)m.updateGuards.forEach(_=>{x.push(ze(_,E,j))});return x.push(p),It(x)}).then(()=>{x=[];for(const m of h)if(m.beforeEnter)if(fe(m.beforeEnter))for(const _ of m.beforeEnter)x.push(ze(_,E,j));else x.push(ze(m.beforeEnter,E,j));return x.push(p),It(x)}).then(()=>(E.matched.forEach(m=>m.enterCallbacks={}),x=ur(h,"beforeRouteEnter",E,j),x.push(p),It(x))).then(()=>{x=[];for(const m of s.list())x.push(ze(m,E,j));return x.push(p),It(x)}).catch(m=>be(m,8)?m:Promise.reject(m))}function ot(E,j,x){l.list().forEach(N=>ft(()=>N(E,j,x)))}function z(E,j,x,N,Y){const h=L(E,j);if(h)return h;const p=j===Me,m=cn?history.state:{};x&&(N||p?r.replace(E.fullPath,St({scroll:p&&m&&m.scroll},Y)):r.push(E.fullPath,Y)),a.value=E,ht(E,j,x,p),Et()}let V;function at(){V||(V=r.listen((E,j,x)=>{if(!Ce.listening)return;const N=F(E),Y=K(N);if(Y){k(St(Y,{replace:!0}),N).catch($n);return}c=N;const h=a.value;cn&&Yf(gs(h.fullPath,x.delta),$o()),X(N,h).catch(p=>be(p,12)?p:be(p,2)?(k(p.to,N).then(m=>{be(m,20)&&!x.delta&&x.type===Qn.pop&&r.go(-1,!1)}).catch($n),Promise.reject()):(x.delta&&r.go(-x.delta,!1),B(p,N,h))).then(p=>{p=p||z(N,h,!1),p&&(x.delta&&!be(p,8)?r.go(-x.delta,!1):x.type===Qn.pop&&be(p,20)&&r.go(-1,!1)),ot(N,h,p)}).catch($n)}))}let Tt=On(),lt=On(),Q;function B(E,j,x){Et(E);const N=lt.list();return N.length?N.forEach(Y=>Y(E,j,x)):console.error(E),Promise.reject(E)}function _t(){return Q&&a.value!==Me?Promise.resolve():new Promise((E,j)=>{Tt.add([E,j])})}function Et(E){return Q||(Q=!E,at(),Tt.list().forEach(([j,x])=>E?x(E):j()),Tt.reset()),E}function ht(E,j,x,N){const{scrollBehavior:Y}=t;if(!cn||!Y)return Promise.resolve();const h=!x&&Xf(gs(E.fullPath,0))||(N||!x)&&history.state&&history.state.scroll||null;return ie().then(()=>Y(E,j,h)).then(p=>p&&Vf(p)).catch(p=>B(p,E,j))}const wt=E=>r.go(E);let pt;const ne=new Set,Ce={currentRoute:a,listening:!0,addRoute:g,removeRoute:b,hasRoute:A,getRoutes:S,resolve:F,options:t,push:y,replace:v,go:wt,back:()=>wt(-1),forward:()=>wt(1),beforeEach:i.add,beforeResolve:s.add,afterEach:l.add,onError:lt.add,isReady:_t,install(E){const j=this;E.component("RouterLink",zd),E.component("RouterView",Nd),E.config.globalProperties.$router=j,Object.defineProperty(E.config.globalProperties,"$route",{enumerable:!0,get:()=>Yt(a)}),cn&&!pt&&a.value===Me&&(pt=!0,y(r.location).catch(Y=>{}));const x={};for(const Y in Me)Object.defineProperty(x,Y,{get:()=>a.value[Y],enumerable:!0});E.provide(yi,j),E.provide(da,bl(x)),E.provide(Dr,a);const N=E.unmount;ne.add(E),E.unmount=function(){ne.delete(E),ne.size<1&&(c=Me,V&&V(),V=null,a.value=Me,pt=!1,Q=!1),N()}}};function It(E){return E.reduce((j,x)=>j.then(()=>ft(x)),Promise.resolve())}return Ce}function Ld(t,e){const n=[],o=[],r=[],i=Math.max(e.matched.length,t.matched.length);for(let s=0;swn(c,l))?o.push(l):n.push(l));const a=t.matched[s];a&&(e.matched.find(c=>wn(c,a))||r.push(a))}return[n,o,r]}const He=(t,e)=>{const n=t.__vccOpts||t;for(const[o,r]of e)n[o]=r;return n},Bd={__name:"ScreenLayer",props:{index:{type:Number,default:0},fullscreen:{type:Boolean,default:!0}},setup(t){return(e,n)=>(Kt(),Lo(Uu,{to:"#app"},[jt("div",{class:en(["layer",{fullscreen:t.fullscreen}]),style:Te({zIndex:t.index})},[sn(e.$slots,"default",{},void 0,!0)],6)]))}},Ms=He(Bd,[["__scopeId","data-v-9070052b"]]),jd="/assets/github-mark-7a0dd11e.svg",ha=100,$d=`${ha}px`,Wd=10;const pa=t=>(si("data-v-11e7c589"),t=t(),li(),t),Ud={class:"header"},Kd=pa(()=>jt("figure",null,[jt("a",{href:"https://fancn21th.cn/zh/normalization/bigscreen/"},[jt("img",{src:"https://avatars.githubusercontent.com/u/4645715?v=4",alt:"document",class:"document"})])],-1)),qd=pa(()=>jt("figure",null,[jt("a",{href:"https://github.com/fancn21th/scream"},[jt("img",{src:jd,alt:"project",class:"project"})])],-1)),Vd=[Kd,qd],Yd={__name:"BasicHeader",setup(t){return to(()=>{document.documentElement.style.setProperty("--top-row-height",$d)}),(e,n)=>(Kt(),ue("div",Ud,Vd))}},Xd=He(Yd,[["__scopeId","data-v-11e7c589"]]);const Wo=t=>(si("data-v-22abda97"),t=t(),li(),t),Gd={class:"sidenav"},Qd=Wo(()=>jt("a",{class:"sidenav-item",href:"#"},"Trunk A",-1)),Jd=Wo(()=>jt("a",{class:"sidenav-item",href:"#"},"Trunk B",-1)),Zd=Wo(()=>jt("a",{class:"sidenav-item",href:"#"},"Trunk C",-1)),th=Wo(()=>jt("a",{class:"sidenav-item",href:"#"},"Trunk D",-1)),eh=[Qd,Jd,Zd,th],nh={__name:"BasicSideNav",setup(t){return to(()=>{document.documentElement.style.setProperty("--starting-height",`${ha+Wd*2}px`)}),(e,n)=>(Kt(),ue("div",Gd,eh))}},oh=He(nh,[["__scopeId","data-v-22abda97"]]);const rh=t=>(si("data-v-77cb721d"),t=t(),li(),t),ih={class:"shared-screen"},sh=rh(()=>jt("div",{class:"background"},null,-1)),lh={__name:"BasicLayout",setup(t){return(e,n)=>{const o=kl("router-view");return Kt(),ue(Jt,null,[Dt(Yt(Ms),{index:1e3},{default:wr(()=>[jt("div",ih,[Dt(Xd),Dt(oh)]),Dt(o)]),_:1}),Dt(Yt(Ms),{index:1},{default:wr(()=>[sh]),_:1})],64)}}},ah=He(lh,[["__scopeId","data-v-77cb721d"]]);var ch=Object.defineProperty,uh=(t,e,n)=>e in t?ch(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,R=(t,e,n)=>(uh(t,typeof e!="symbol"?e+"":e,n),n);function fh(t){let e=0,n;for(let o=0,r=t.length;oe&&(e=n);return e}function kr(t){const e=Array(t.length);for(let n=0,o=t.length;n=e.x+e.w||t.y+t.h<=e.y||t.y>=e.y+e.h)}function un(t,e,n){const o=va(t),r=ya(t),i=Array(t.length);for(let s=0,l=r.length;s0&&!Un(t,e);)e.y--;else if(o){const i=o[e.i].y;for(;e.y>i&&!Un(t,e);)e.y--}let r;for(;r=Un(t,e);)e.y=r.y+r.h;return e}function ph(t,e){const n=va(t);for(let o=0,r=t.length;oe.cols&&(i.x=e.cols-i.w),i.x<0&&(i.x=0,i.w=e.cols),!i.static)n.push(i);else for(;Un(n,i);)i.y++}return t}function Rs(t,e){for(let n=0,o=t.length;nga(n,e))}function va(t){return t.filter(e=>e.static)}function Fr(t,e,n,o,r,i){if(e.static)return t;const s=e.x,l=e.y,a=o&&e.y>o;typeof n=="number"&&(e.x=n),typeof o=="number"&&(e.y=o),e.moved=!0;let c=ya(t);a&&(c=c.reverse());const u=ma(c,e);if(i&&u.length)return e.x=s,e.y=l,e.moved=!1,t;for(let f=0,d=u.length;fg.y&&e.y-g.y>g.h/4||(g.static?t=Os(t,g,e,r):t=Os(t,e,g,r))}return t}function Os(t,e,n,o){if(o){const r={x:n.x,y:n.y,w:n.w,h:n.h,i:"-1"};if(r.y=Math.max(e.y-n.h,0),!Un(t,r))return Fr(t,n,void 0,r.y,!1)}return Fr(t,n,void 0,n.y+1,!1)}function gh(t,e,n,o){const r="translate3d("+e+"px,"+t+"px, 0)";return{transform:r,WebkitTransform:r,MozTransform:r,msTransform:r,OTransform:r,width:n+"px",height:o+"px",position:"absolute"}}function mh(t,e,n,o){const r="translate3d("+e*-1+"px,"+t+"px, 0)";return{transform:r,WebkitTransform:r,MozTransform:r,msTransform:r,OTransform:r,width:n+"px",height:o+"px",position:"absolute"}}function vh(t,e,n,o){return{top:t+"px",left:e+"px",width:n+"px",height:o+"px",position:"absolute"}}function yh(t,e,n,o){return{top:t+"px",right:e+"px",width:n+"px",height:o+"px",position:"absolute"}}function ya(t){return[].concat(t).sort(function(e,n){return e.y===n.y&&e.x===n.x?0:e.y>n.y||e.y===n.y&&e.x>n.x?1:-1})}function bh(t,e){e=e||"Layout";const n=["x","y","w","h"],o=[];if(!Array.isArray(t))throw new Error(e+" must be an array!");for(let r=0,i=t.length;r=0)throw new Error("VueGridLayout: "+e+"["+r+"].i must be unique!");if(o.push(s.i),s.static!==void 0&&typeof s.static!="boolean")throw new Error("VueGridLayout: "+e+"["+r+"].static must be a boolean!")}}function Is(t){return xh(t)}function xh(t){const e=t.target,n=e.offsetParent||document.body,o=e.offsetParent===document.body?{left:0,top:0}:n.getBoundingClientRect(),r=t.clientX+n.scrollLeft-o.left,i=t.clientY+n.scrollTop-o.top;return{x:r,y:i}}function zs(t,e,n,o){return _h(t)?{deltaX:n-t,deltaY:o-e,lastX:t,lastY:e,x:n,y:o}:{deltaX:0,deltaY:0,lastX:n,lastY:o,x:n,y:o}}function _h(t){return typeof t=="number"&&!isNaN(t)}function wh(t,e){const n=ba(t);let o=n[0];for(let r=1,i=n.length;rt[s]&&(o=s)}return o}function Nr(t,e){if(!e[t])throw new Error("ResponsiveGridLayout: `cols` entry for breakpoint "+t+" is missing!");return e[t]}function Eh(t,e,n,o,r,i,s){if(e[o])return kr(e[o]);let l=t;const a=ba(n),c=a.slice(a.indexOf(o));for(let u=0,f=c.length;u!!(t&&t.Window)&&t instanceof t.Window;let wa,Le;function Ea(t){wa=t;const e=t.document.createTextNode("");e.ownerDocument!==t.document&&typeof t.wrap=="function"&&t.wrap(e)===e&&(t=t.wrap(t)),Le=t}typeof window<"u"&&window&&Ea(window);function nn(t){return _a(t)?t:(t.ownerDocument||t).defaultView||Le.window}const Mh=t=>t===Le||_a(t),Rh=t=>Uo(t)&&t.nodeType===11,Uo=t=>!!t&&typeof t=="object",Sa=t=>typeof t=="function",Oh=t=>typeof t=="number",Ih=t=>typeof t=="boolean",zh=t=>typeof t=="string",Dh=t=>{if(!t||typeof t!="object")return!1;const e=nn(t)||Le;return/object|function/.test(typeof Element)?t instanceof Element||t instanceof e.Element:t.nodeType===1&&typeof t.nodeName=="string"},kh=t=>Uo(t)&&!!t.constructor&&/function Object\b/.test(t.constructor.toString()),Fh=t=>Uo(t)&&typeof t.length<"u"&&Sa(t.splice),I={window:Mh,docFrag:Rh,object:Uo,func:Sa,number:Oh,bool:Ih,string:zh,element:Dh,plainObject:kh,array:Fh},te={init:Nh,supportsTouch:null,supportsPointerEvent:null,isIOS7:null,isIOS:null,isIe9:null,isOperaMobile:null,prefixedMatchesSelector:null,pEventTypes:null,wheelEvent:null};function Nh(t){const e=Vt.Element,n=t.navigator||{};te.supportsTouch="ontouchstart"in t||I.func(t.DocumentTouch)&&Vt.document instanceof t.DocumentTouch,te.supportsPointerEvent=n.pointerEnabled!==!1&&!!Vt.PointerEvent,te.isIOS=/iP(hone|od|ad)/.test(n.platform),te.isIOS7=/iP(hone|od|ad)/.test(n.platform)&&/OS 7[^\d]/.test(n.appVersion),te.isIe9=/MSIE 9/.test(n.userAgent),te.isOperaMobile=n.appName==="Opera"&&te.supportsTouch&&/Presto/.test(n.userAgent),te.prefixedMatchesSelector="matches"in e.prototype?"matches":"webkitMatchesSelector"in e.prototype?"webkitMatchesSelector":"mozMatchesSelector"in e.prototype?"mozMatchesSelector":"oMatchesSelector"in e.prototype?"oMatchesSelector":"msMatchesSelector",te.pEventTypes=te.supportsPointerEvent?Vt.PointerEvent===t.MSPointerEvent?{up:"MSPointerUp",down:"MSPointerDown",over:"mouseover",out:"mouseout",move:"MSPointerMove",cancel:"MSPointerCancel"}:{up:"pointerup",down:"pointerdown",over:"pointerover",out:"pointerout",move:"pointermove",cancel:"pointercancel"}:null,te.wheelEvent=Vt.document&&"onmousewheel"in Vt.document?"mousewheel":"wheel"}const de=te;function Ze(t,e){if(t.contains)return t.contains(e);for(;e;){if(e===t)return!0;e=e.parentNode}return!1}function Ta(t,e){for(;I.element(t);){if(on(t,e))return t;t=Be(t)}return null}function Be(t){let e=t.parentNode;if(I.docFrag(e)){for(;(e=e.host)&&I.docFrag(e););return e}return e}function on(t,e){return Le!==wa&&(e=e.replace(/\/deep\//g," ")),t[de.prefixedMatchesSelector](e)}function Hr(t,e,n){for(;I.element(t);){if(on(t,e))return!0;if(t=Be(t),t===n)return on(t,e)}return!1}function ks(t){return t.correspondingUseElement||t}function Hh(t){return t=t||Le,{x:t.scrollX||t.document.documentElement.scrollLeft,y:t.scrollY||t.document.documentElement.scrollTop}}function bi(t){const e=t instanceof Vt.SVGElement?t.getBoundingClientRect():t.getClientRects()[0];return e&&{left:e.left,right:e.right,top:e.top,bottom:e.bottom,width:e.width||e.right-e.left,height:e.height||e.bottom-e.top}}function xi(t){const e=bi(t);if(!de.isIOS7&&e){const n=Hh(nn(t));e.left+=n.x,e.right+=n.x,e.top+=n.y,e.bottom+=n.y}return e}function Fs(t){return I.string(t)?(Vt.document.querySelector(t),!0):!1}function G(t,e){for(const n in e)t[n]=e[n];return t}function Jn(t,e){let n=!1;return function(){return n||(Le.console.warn(e),n=!0),t.apply(this,arguments)}}function Pa(t,e){return t.name=e.name,t.axis=e.axis,t.edges=e.edges,t}function Lh(t){const{Interactable:e}=t;e.prototype.getAction=function(n,o,r,i){const s=Bh(this,o,r,i,t);return this.options.actionChecker?this.options.actionChecker(n,o,s,this,i,r):s},e.prototype.ignoreFrom=Jn(function(n){return this._backCompatOption("ignoreFrom",n)},"Interactable.ignoreFrom() has been deprecated. Use Interactble.draggable({ignoreFrom: newValue})."),e.prototype.allowFrom=Jn(function(n){return this._backCompatOption("allowFrom",n)},"Interactable.allowFrom() has been deprecated. Use Interactble.draggable({allowFrom: newValue})."),e.prototype.actionChecker=$h,e.prototype.styleCursor=jh}function Bh(t,e,n,o,r){const i=t.getRect(o),s=e.buttons||{0:1,1:4,3:8,4:16}[e.button],l={action:null,interactable:t,interaction:n,element:o,rect:i,buttons:s};return r.fire("auto-start:check",l),l.action}function jh(t){return I.bool(t)?(this.options.styleCursor=t,this):t===null?(delete this.options.styleCursor,this):this.options.styleCursor}function $h(t){return I.func(t)?(this.options.actionChecker=t,this):t===null?(delete this.options.actionChecker,this):this.options.actionChecker}const Wh={id:"auto-start/interactableMethods",install:Lh};function Uh(t){const{interactStatic:e,defaults:n}=t;t.usePlugin(Wh),n.base.actionChecker=null,n.base.styleCursor=!0,G(n.perAction,{manualStart:!1,max:1/0,maxPerElement:1,allowFrom:null,ignoreFrom:null,mouseButtons:1}),e.maxInteractions=o=>Ra(o,t),t.autoStart={maxInteractions:1/0,withinInteractionLimit:Ko,cursorElement:null}}function Kh({interaction:t,pointer:e,event:n,eventTarget:o},r){if(t.interacting())return;const i=Aa(t,e,n,o,r);Ma(t,i,r)}function qh({interaction:t,pointer:e,event:n,eventTarget:o},r){if(t.pointerType!=="mouse"||t.pointerIsDown||t.interacting())return;const i=Aa(t,e,n,o,r);Ma(t,i,r)}function Vh(t,e){const{interaction:n}=t;if(!n.pointerIsDown||n.interacting()||!n.pointerWasMoved||!n.prepared.name)return;e.fire("autoStart:before-start",t);const{interactable:o}=n,r=n.prepared.name;r&&o&&(o.options[r].manualStart||!Ko(o,n.element,n.prepared,e)?n.stop():(n.start(n.prepared,o,n.element),Oa(n,e)))}function Yh({interaction:t},e){const{interactable:n}=t;n&&n.options.styleCursor&&Lr(t.element,"",e)}function Ca(t,e,n,o,r){return e.testIgnoreAllow(e.options[t.name],n,o)&&e.options[t.name].enabled&&Ko(e,n,t,r)?t:null}function Xh(t,e,n,o,r,i,s){for(let l=0,a=o.length;l=l||f.interactable===t&&(c+=d===n.name?1:0,c>=i||f.element===e&&(u++,d===n.name&&u>=s))))return!1}return l>0}function Ra(t,e){return I.number(t)?(e.autoStart.maxInteractions=t,this):e.autoStart.maxInteractions}function Lr(t,e,n){const{cursorElement:o}=n.autoStart;o&&o!==t&&(o.style.cursor=""),t.ownerDocument.documentElement.style.cursor=e,t.style.cursor=e,n.autoStart.cursorElement=e?t:null}function Oa(t,e){const{interactable:n,element:o,prepared:r}=t;if(!(t.pointerType==="mouse"&&n&&n.options.styleCursor)){e.autoStart.cursorElement&&Lr(e.autoStart.cursorElement,"",e);return}let i="";if(r.name){const s=n.options[r.name].cursorChecker;I.func(s)?i=s(r,n,o,t._interacting):i=e.actions.map[r.name].getCursor(r)}Lr(t.element,i||"",e)}const Gh={id:"auto-start/base",before:["actions"],install:Uh,listeners:{"interactions:down":Kh,"interactions:move":(t,e)=>{qh(t,e),Vh(t,e)},"interactions:stop":Yh},maxInteractions:Ra,withinInteractionLimit:Ko,validateAction:Ca},_i=Gh;function Qh({interaction:t,eventTarget:e,dx:n,dy:o},r){if(t.prepared.name!=="drag")return;const i=Math.abs(n),s=Math.abs(o),l=t.interactable.options.drag,a=l.startAxis,c=i>s?"x":i{t.autoStartHoldTimer=null},"autoStart:prepared":({interaction:t})=>{const e=fr(t);e>0&&(t.autoStartHoldTimer=setTimeout(()=>{t.start(t.prepared,t.interactable,t.element)},e))},"interactions:move":({interaction:t,duplicate:e})=>{t.autoStartHoldTimer&&t.pointerWasMoved&&!e&&(clearTimeout(t.autoStartHoldTimer),t.autoStartHoldTimer=null)},"autoStart:before-start":({interaction:t})=>{fr(t)>0&&(t.prepared.name=null)}},getHoldDuration:fr},np=ep,op={id:"auto-start",install(t){t.usePlugin(_i),t.usePlugin(np),t.usePlugin(Zh)}},rp=(t,e)=>t.indexOf(e)!==-1,Ia=(t,e)=>{for(const n of e)t.push(n);return t},za=t=>Ia([],t),qo=(t,e)=>{for(let n=0;nt[qo(t,e)];function Sn(t){const e={};for(const n in t){const o=t[n];I.plainObject(o)?e[n]=Sn(o):I.array(o)?e[n]=za(o):e[n]=o}return e}let Ns=0,xe,Ve;function ip(t){if(xe=t.requestAnimationFrame,Ve=t.cancelAnimationFrame,!xe){const e=["ms","moz","webkit","o"];for(const n of e)xe=t[`${n}RequestAnimationFrame`],Ve=t[`${n}CancelAnimationFrame`]||t[`${n}CancelRequestAnimationFrame`]}xe=xe&&xe.bind(t),Ve=Ve&&Ve.bind(t),xe||(xe=e=>{const n=Date.now(),o=Math.max(0,16-(n-Ns)),r=t.setTimeout(()=>{e(n+o)},o);return Ns=n+o,r},Ve=e=>clearTimeout(e))}const fn={request:t=>xe(t),cancel:t=>Ve(t),init:ip};function vn(t,e,n){if(n=n||{},I.string(t)&&t.search(" ")!==-1&&(t=Hs(t)),I.array(t))return t.reduce((o,r)=>G(o,vn(r,e,n)),n);if(I.object(t)&&(e=t,t=""),I.func(e))n[t]=n[t]||[],n[t].push(e);else if(I.array(e))for(const o of e)vn(t,o,n);else if(I.object(e))for(const o in e){const r=Hs(o).map(i=>`${t}${i}`);vn(r,e[o],n)}return n}function Hs(t){return t.trim().split(/ +/)}function Ls(t,e){for(const n of e){if(t.immediatePropagationStopped)break;n(t)}}class Da{constructor(e){R(this,"options"),R(this,"types",{}),R(this,"propagationStopped",!1),R(this,"immediatePropagationStopped",!1),R(this,"global"),this.options=G({},e||{})}fire(e){let n;const o=this.global;(n=this.types[e.type])&&Ls(e,n),!e.propagationStopped&&o&&(n=o[e.type])&&Ls(e,n)}on(e,n){const o=vn(e,n);for(e in o)this.types[e]=Ia(this.types[e]||[],o[e])}off(e,n){const o=vn(e,n);for(e in o){const r=this.types[e];if(!(!r||!r.length))for(const i of o[e]){const s=r.indexOf(i);s!==-1&&r.splice(s,1)}}}getRect(e){return null}}function ka(t,e,n){return t==="parent"?Be(n):t==="self"?e.getRect(n):Ta(n,t)}function Zn(t,e,n,o){let r=t;return I.string(r)?r=ka(r,e,n):I.func(r)&&(r=r(...o)),I.element(r)&&(r=xi(r)),r}function Vo(t){return t&&{x:"x"in t?t.x:t.left,y:"y"in t?t.y:t.top}}function sp(t){return t&&!("left"in t&&"top"in t)&&(t=G({},t),t.left=t.x||0,t.top=t.y||0,t.right=t.right||t.left+t.width,t.bottom=t.bottom||t.top+t.height),t}function Bs(t){return t&&!("x"in t&&"y"in t)&&(t=G({},t),t.x=t.left||0,t.y=t.top||0,t.width=t.width||(t.right||0)-t.x,t.height=t.height||(t.bottom||0)-t.y),t}function wi(t,e,n){t.left&&(e.left+=n.x),t.right&&(e.right+=n.x),t.top&&(e.top+=n.y),t.bottom&&(e.bottom+=n.y),e.width=e.right-e.left,e.height=e.bottom-e.top}function Ei(t,e,n){const o=t.options[n],r=o&&o.origin||t.options.origin,i=Zn(r,t,e,[t&&e]);return Vo(i)||{x:0,y:0}}const Yo=(t,e)=>Math.sqrt(t*t+e*e);class Fa{constructor(e){R(this,"immediatePropagationStopped",!1),R(this,"propagationStopped",!1),this._interaction=e}preventDefault(){}stopPropagation(){this.propagationStopped=!0}stopImmediatePropagation(){this.immediatePropagationStopped=this.propagationStopped=!0}}Object.defineProperty(Fa.prototype,"interaction",{get(){return this._interaction._proxy},set(){}});const Na={base:{preventDefault:"auto",deltaSource:"page"},perAction:{enabled:!1,origin:{x:0,y:0}},actions:{}};class Si extends Fa{constructor(e,n,o,r,i,s,l){super(e),R(this,"relatedTarget",null),R(this,"screenX"),R(this,"screenY"),R(this,"button"),R(this,"buttons"),R(this,"ctrlKey"),R(this,"shiftKey"),R(this,"altKey"),R(this,"metaKey"),R(this,"page"),R(this,"client"),R(this,"delta"),R(this,"rect"),R(this,"x0"),R(this,"y0"),R(this,"t0"),R(this,"dt"),R(this,"duration"),R(this,"clientX0"),R(this,"clientY0"),R(this,"velocity"),R(this,"speed"),R(this,"swipe"),R(this,"axes"),R(this,"preEnd"),i=i||e.element;const a=e.interactable,c=(a&&a.options||Na).deltaSource,u=Ei(a,i,o),f=r==="start",d=r==="end",g=f?this:e.prevEvent,b=f?e.coords.start:d?{page:g.page,client:g.client,timeStamp:e.coords.cur.timeStamp}:e.coords.cur;this.page=G({},b.page),this.client=G({},b.client),this.rect=G({},e.rect),this.timeStamp=b.timeStamp,d||(this.page.x-=u.x,this.page.y-=u.y,this.client.x-=u.x,this.client.y-=u.y),this.ctrlKey=n.ctrlKey,this.altKey=n.altKey,this.shiftKey=n.shiftKey,this.metaKey=n.metaKey,this.button=n.button,this.buttons=n.buttons,this.target=i,this.currentTarget=i,this.preEnd=s,this.type=l||o+(r||""),this.interactable=a,this.t0=f?e.pointers[e.pointers.length-1].downTime:g.t0,this.x0=e.coords.start.page.x-u.x,this.y0=e.coords.start.page.y-u.y,this.clientX0=e.coords.start.client.x-u.x,this.clientY0=e.coords.start.client.y-u.y,f||d?this.delta={x:0,y:0}:this.delta={x:this[c].x-g[c].x,y:this[c].y-g[c].y},this.dt=e.coords.delta.timeStamp,this.duration=this.timeStamp-this.t0,this.velocity=G({},e.coords.velocity[c]),this.speed=Yo(this.velocity.x,this.velocity.y),this.swipe=d||r==="inertiastart"?this.getSwipe():null}getSwipe(){const e=this._interaction;if(e.prevEvent.speed<600||this.timeStamp-e.prevEvent.timeStamp>150)return null;let n=180*Math.atan2(e.prevEvent.velocityY,e.prevEvent.velocityX)/Math.PI;const o=22.5;n<0&&(n+=360);const r=135-o<=n&&n<225+o,i=225-o<=n&&n<315+o,s=!r&&(315-o<=n||n<45+o),l=!i&&45-o<=n&&n<135+o;return{up:i,down:l,left:r,right:s,angle:n,speed:e.prevEvent.speed,velocity:{x:e.prevEvent.velocityX,y:e.prevEvent.velocityY}}}preventDefault(){}stopImmediatePropagation(){this.immediatePropagationStopped=this.propagationStopped=!0}stopPropagation(){this.propagationStopped=!0}}Object.defineProperties(Si.prototype,{pageX:{get(){return this.page.x},set(t){this.page.x=t}},pageY:{get(){return this.page.y},set(t){this.page.y=t}},clientX:{get(){return this.client.x},set(t){this.client.x=t}},clientY:{get(){return this.client.y},set(t){this.client.y=t}},dx:{get(){return this.delta.x},set(t){this.delta.x=t}},dy:{get(){return this.delta.y},set(t){this.delta.y=t}},velocityX:{get(){return this.velocity.x},set(t){this.velocity.x=t}},velocityY:{get(){return this.velocity.y},set(t){this.velocity.y=t}}});function Ha(t,e){t.__set||(t.__set={});for(const n in e)typeof t[n]!="function"&&n!=="__set"&&Object.defineProperty(t,n,{get(){return n in t.__set?t.__set[n]:t.__set[n]=e[n]},set(o){t.__set[n]=o},configurable:!0});return t}function dr(t,e){t.page=t.page||{},t.page.x=e.page.x,t.page.y=e.page.y,t.client=t.client||{},t.client.x=e.client.x,t.client.y=e.client.y,t.timeStamp=e.timeStamp}function lp(t,e,n){t.page.x=n.page.x-e.page.x,t.page.y=n.page.y-e.page.y,t.client.x=n.client.x-e.client.x,t.client.y=n.client.y-e.client.y,t.timeStamp=n.timeStamp-e.timeStamp}function ap(t,e){const n=Math.max(e.timeStamp/1e3,.001);t.page.x=e.page.x/n,t.page.y=e.page.y/n,t.client.x=e.client.x/n,t.client.y=e.client.y/n,t.timeStamp=n}function cp(t){t.page.x=0,t.page.y=0,t.client.x=0,t.client.y=0}function La(t){return t instanceof Vt.Event||t instanceof Vt.Touch}function wo(t,e,n){return n=n||{},t=t||"page",n.x=e[t+"X"],n.y=e[t+"Y"],n}function up(t,e){return e=e||{x:0,y:0},de.isOperaMobile&&La(t)?(wo("screen",t,e),e.x+=window.scrollX,e.y+=window.scrollY):wo("page",t,e),e}function fp(t,e){return e=e||{},de.isOperaMobile&&La(t)?wo("screen",t,e):wo("client",t,e),e}function Eo(t){return I.number(t.pointerId)?t.pointerId:t.identifier}function dp(t,e,n){const o=e.length>1?Ba(e):e[0];up(o,t.page),fp(o,t.client),t.timeStamp=n}function Ti(t){const e=[];return I.array(t)?(e[0]=t[0],e[1]=t[1]):t.type==="touchend"?t.touches.length===1?(e[0]=t.touches[0],e[1]=t.changedTouches[0]):t.touches.length===0&&(e[0]=t.changedTouches[0],e[1]=t.changedTouches[1]):(e[0]=t.touches[0],e[1]=t.touches[1]),e}function Ba(t){const e={pageX:0,pageY:0,clientX:0,clientY:0,screenX:0,screenY:0};for(const n of t)for(const o in e)e[o]+=n[o];for(const n in e)e[n]/=t.length;return e}function hp(t){if(!t.length)return null;const e=Ti(t),n=Math.min(e[0].pageX,e[1].pageX),o=Math.min(e[0].pageY,e[1].pageY),r=Math.max(e[0].pageX,e[1].pageX),i=Math.max(e[0].pageY,e[1].pageY);return{x:n,y:o,left:n,top:o,right:r,bottom:i,width:r-n,height:i-o}}function pp(t,e){const n=e+"X",o=e+"Y",r=Ti(t),i=r[0][n]-r[1][n],s=r[0][o]-r[1][o];return Yo(i,s)}function gp(t,e){const n=e+"X",o=e+"Y",r=Ti(t),i=r[1][n]-r[0][n],s=r[1][o]-r[0][o];return 180*Math.atan2(s,i)/Math.PI}function mp(t){return I.string(t.pointerType)?t.pointerType:I.number(t.pointerType)?[void 0,void 0,"touch","pen","mouse"][t.pointerType]:/touch/.test(t.type||"")||t instanceof Vt.Touch?"touch":"mouse"}function ja(t){const e=I.func(t.composedPath)?t.composedPath():t.path;return[ks(e?e[0]:t.target),ks(t.currentTarget)]}function In(){return{page:{x:0,y:0},client:{x:0,y:0},timeStamp:0}}function jr(t,e){if(e.phaselessTypes[t])return!0;for(const n in e.map)if(t.indexOf(n)===0&&t.substr(n.length)in e.phases)return!0;return!1}function vp(t){const e=(n,o)=>{let r=t.interactables.get(n,o);return r||(r=t.interactables.new(n,o),r.events.global=e.globalEvents),r};return e.getPointerAverage=Ba,e.getTouchBBox=hp,e.getTouchDistance=pp,e.getTouchAngle=gp,e.getElementRect=xi,e.getElementClientRect=bi,e.matchesSelector=on,e.closest=Ta,e.globalEvents={},e.version="1.10.18",e.scope=t,e.use=function(n,o){return this.scope.usePlugin(n,o),this},e.isSet=function(n,o){return!!this.scope.interactables.get(n,o&&o.context)},e.on=Jn(function(n,o,r){if(I.string(n)&&n.search(" ")!==-1&&(n=n.trim().split(/ +/)),I.array(n)){for(const i of n)this.on(i,o,r);return this}if(I.object(n)){for(const i in n)this.on(i,n[i],o);return this}return jr(n,this.scope.actions)?this.globalEvents[n]?this.globalEvents[n].push(o):this.globalEvents[n]=[o]:this.scope.events.add(this.scope.document,n,o,{options:r}),this},"The interact.on() method is being deprecated"),e.off=Jn(function(n,o,r){if(I.string(n)&&n.search(" ")!==-1&&(n=n.trim().split(/ +/)),I.array(n)){for(const i of n)this.off(i,o,r);return this}if(I.object(n)){for(const i in n)this.off(i,n[i],o);return this}if(jr(n,this.scope.actions)){let i;n in this.globalEvents&&(i=this.globalEvents[n].indexOf(o))!==-1&&this.globalEvents[n].splice(i,1)}else this.scope.events.remove(this.scope.document,n,o,r);return this},"The interact.off() method is being deprecated"),e.debug=function(){return this.scope},e.supportsTouch=function(){return de.supportsTouch},e.supportsPointerEvent=function(){return de.supportsPointerEvent},e.stop=function(){for(const n of this.scope.interactions.list)n.stop();return this},e.pointerMoveTolerance=function(n){return I.number(n)?(this.scope.interactions.pointerMoveTolerance=n,this):this.scope.interactions.pointerMoveTolerance},e.addDocument=function(n,o){this.scope.addDocument(n,o)},e.removeDocument=function(n){this.scope.removeDocument(n)},e}class yp{constructor(e,n,o,r){R(this,"options"),R(this,"_actions"),R(this,"target"),R(this,"events",new Da),R(this,"_context"),R(this,"_win"),R(this,"_doc"),R(this,"_scopeEvents"),R(this,"_rectChecker"),this._actions=n.actions,this.target=e,this._context=n.context||o,this._win=nn(Fs(e)?this._context:e),this._doc=this._win.document,this._scopeEvents=r,this.set(n)}get _defaults(){return{base:{},perAction:{},actions:{}}}setOnEvents(e,n){return I.func(n.onstart)&&this.on(`${e}start`,n.onstart),I.func(n.onmove)&&this.on(`${e}move`,n.onmove),I.func(n.onend)&&this.on(`${e}end`,n.onend),I.func(n.oninertiastart)&&this.on(`${e}inertiastart`,n.oninertiastart),this}updatePerActionListeners(e,n,o){(I.array(n)||I.object(n))&&this.off(e,n),(I.array(o)||I.object(o))&&this.on(e,o)}setPerAction(e,n){const o=this._defaults;for(const r in n){const i=r,s=this.options[e],l=n[i];i==="listeners"&&this.updatePerActionListeners(e,s.listeners,l),I.array(l)?s[i]=za(l):I.plainObject(l)?(s[i]=G(s[i]||{},Sn(l)),I.object(o.perAction[i])&&"enabled"in o.perAction[i]&&(s[i].enabled=l.enabled!==!1)):I.bool(l)&&I.object(o.perAction[i])?s[i].enabled=l:s[i]=l}}getRect(e){return e=e||(I.element(this.target)?this.target:null),I.string(this.target)&&(e=e||this._context.querySelector(this.target)),xi(e)}rectChecker(e){return I.func(e)?(this._rectChecker=e,this.getRect=n=>{const o=G({},this._rectChecker(n));return"width"in o||(o.width=o.right-o.left,o.height=o.bottom-o.top),o},this):e===null?(delete this.getRect,delete this._rectChecker,this):this.getRect}_backCompatOption(e,n){if(Fs(n)||I.object(n)){this.options[e]=n;for(const o in this._actions.map)this.options[o][e]=n;return this}return this.options[e]}origin(e){return this._backCompatOption("origin",e)}deltaSource(e){return e==="page"||e==="client"?(this.options.deltaSource=e,this):this.options.deltaSource}context(){return this._context}inContext(e){return this._context===e.ownerDocument||Ze(this._context,e)}testIgnoreAllow(e,n,o){return!this.testIgnore(e.ignoreFrom,n,o)&&this.testAllow(e.allowFrom,n,o)}testAllow(e,n,o){return e?I.element(o)?I.string(e)?Hr(o,e,n):I.element(e)?Ze(e,o):!1:!1:!0}testIgnore(e,n,o){return!e||!I.element(o)?!1:I.string(e)?Hr(o,e,n):I.element(e)?Ze(e,o):!1}fire(e){return this.events.fire(e),this}_onOff(e,n,o,r){I.object(n)&&!I.array(n)&&(r=o,o=null);const i=e==="on"?"add":"remove",s=vn(n,o);for(let l in s){l==="wheel"&&(l=de.wheelEvent);for(const a of s[l])jr(l,this._actions)?this.events[e](l,a):I.string(this.target)?this._scopeEvents[`${i}Delegate`](this.target,this._context,l,a,r):this._scopeEvents[i](this.target,l,a,r)}return this}on(e,n,o){return this._onOff("on",e,n,o)}off(e,n,o){return this._onOff("off",e,n,o)}set(e){const n=this._defaults;I.object(e)||(e={}),this.options=Sn(n.base);for(const o in this._actions.methodDict){const r=o,i=this._actions.methodDict[r];this.options[r]={},this.setPerAction(r,G(G({},n.perAction),n.actions[r])),this[i](e[r])}for(const o in e)I.func(this[o])&&this[o](e[o]);return this}unset(){if(I.string(this.target))for(const e in this._scopeEvents.delegatedEvents){const n=this._scopeEvents.delegatedEvents[e];for(let o=n.length-1;o>=0;o--){const{selector:r,context:i,listeners:s}=n[o];r===this.target&&i===this._context&&n.splice(o,1);for(let l=s.length-1;l>=0;l--)this._scopeEvents.removeDelegate(this.target,this._context,e,s[l][0],s[l][1])}}else this._scopeEvents.remove(this.target,"all")}}class bp{constructor(e){R(this,"list",[]),R(this,"selectorMap",{}),R(this,"scope"),this.scope=e,e.addListeners({"interactable:unset":({interactable:n})=>{const{target:o,_context:r}=n,i=I.string(o)?this.selectorMap[o]:o[this.scope.id],s=qo(i,l=>l.context===r);i[s]&&(i[s].context=null,i[s].interactable=null),i.splice(s,1)}})}new(e,n){n=G(n||{},{actions:this.scope.actions});const o=new this.scope.Interactable(e,n,this.scope.document,this.scope.events),r={context:o._context,interactable:o};return this.scope.addDocument(o._doc),this.list.push(o),I.string(e)?(this.selectorMap[e]||(this.selectorMap[e]=[]),this.selectorMap[e].push(r)):(o.target[this.scope.id]||Object.defineProperty(e,this.scope.id,{value:[],configurable:!0}),e[this.scope.id].push(r)),this.scope.fire("interactable:new",{target:e,options:n,interactable:o,win:this.scope._win}),o}get(e,n){const o=n&&n.context||this.scope.document,r=I.string(e),i=r?this.selectorMap[e]:e[this.scope.id];if(!i)return null;const s=Br(i,l=>l.context===o&&(r||l.interactable.inContext(e)));return s&&s.interactable}forEachMatch(e,n){for(const o of this.list){let r;if((I.string(o.target)?I.element(e)&&on(e,o.target):e===o.target)&&o.inContext(e)&&(r=n(o)),r!==void 0)return r}}}function xp(t){var e;const n=[],o={},r=[],i={add:s,remove:l,addDelegate:a,removeDelegate:c,delegateListener:u,delegateUseCapture:f,delegatedEvents:o,documents:r,targets:n,supportsOptions:!1,supportsPassive:!1};(e=t.document)==null||e.createElement("div").addEventListener("test",null,{get capture(){return i.supportsOptions=!0},get passive(){return i.supportsPassive=!0}}),t.events=i;function s(d,g,b,S){const A=zn(S);let F=Br(n,P=>P.eventTarget===d);F||(F={eventTarget:d,events:{}},n.push(F)),F.events[g]||(F.events[g]=[]),d.addEventListener&&!rp(F.events[g],b)&&(d.addEventListener(g,b,i.supportsOptions?A:A.capture),F.events[g].push(b))}function l(d,g,b,S){const A=zn(S),F=qo(n,v=>v.eventTarget===d),P=n[F];if(!P||!P.events)return;if(g==="all"){for(g in P.events)P.events.hasOwnProperty(g)&&l(d,g,"all");return}let L=!1;const y=P.events[g];if(y){if(b==="all"){for(let v=y.length-1;v>=0;v--)l(d,g,y[v],A);return}else for(let v=0;vy.selector===d&&y.context===g);L||(L={selector:d,context:g,listeners:[]},P.push(L)),L.listeners.push([S,F])}function c(d,g,b,S,A){const F=zn(A),P=o[b];let L=!1,y;if(P)for(y=P.length-1;y>=0;y--){const v=P[y];if(v.selector===d&&v.context===g){const{listeners:K}=v;for(let k=K.length-1;k>=0;k--){const[et,{capture:ft,passive:X}]=K[k];if(et===S&&ft===F.capture&&X===F.passive){K.splice(k,1),K.length||(P.splice(y,1),l(g,b,u),l(g,b,f,!0)),L=!0;break}}if(L)break}}}function u(d,g){const b=zn(g),S=new _p(d),A=o[d.type],[F]=ja(d);let P=F;for(;I.element(P);){for(let L=0;Lo[r](...i)});this._scopeFire("interactions:new",{interaction:this})}get pointerMoveTolerance(){return 1}pointerDown(e,n,o){const r=this.updatePointer(e,n,o,!0),i=this.pointers[r];this._scopeFire("interactions:down",{pointer:e,event:n,eventTarget:o,pointerIndex:r,pointerInfo:i,type:"down",interaction:this})}start(e,n,o){return this.interacting()||!this.pointerIsDown||this.pointers.length<(e.name==="gesture"?2:1)||!n.options[e.name].enabled?!1:(Pa(this.prepared,e),this.interactable=n,this.element=o,this.rect=n.getRect(o),this.edges=this.prepared.edges?G({},this.prepared.edges):{left:!0,right:!0,top:!0,bottom:!0},this._stopped=!1,this._interacting=this._doPhase({interaction:this,event:this.downEvent,phase:"start"})&&!this._stopped,this._interacting)}pointerMove(e,n,o){!this.simulation&&!(this.modification&&this.modification.endResult)&&this.updatePointer(e,n,o,!1);const r=this.coords.cur.page.x===this.coords.prev.page.x&&this.coords.cur.page.y===this.coords.prev.page.y&&this.coords.cur.client.x===this.coords.prev.client.x&&this.coords.cur.client.y===this.coords.prev.client.y;let i,s;this.pointerIsDown&&!this.pointerWasMoved&&(i=this.coords.cur.client.x-this.coords.start.client.x,s=this.coords.cur.client.y-this.coords.start.client.y,this.pointerWasMoved=Yo(i,s)>this.pointerMoveTolerance);const l=this.getPointerIndex(e),a={pointer:e,pointerIndex:l,pointerInfo:this.pointers[l],event:n,type:"move",eventTarget:o,dx:i,dy:s,duplicate:r,interaction:this};r||ap(this.coords.velocity,this.coords.delta),this._scopeFire("interactions:move",a),!r&&!this.simulation&&(this.interacting()&&(a.type=null,this.move(a)),this.pointerWasMoved&&dr(this.coords.prev,this.coords.cur))}move(e){(!e||!e.event)&&cp(this.coords.delta),e=G({pointer:this._latestPointer.pointer,event:this._latestPointer.event,eventTarget:this._latestPointer.eventTarget,interaction:this},e||{}),e.phase="move",this._doPhase(e)}pointerUp(e,n,o,r){let i=this.getPointerIndex(e);i===-1&&(i=this.updatePointer(e,n,o,!1));const s=/cancel$/i.test(n.type)?"cancel":"up";this._scopeFire(`interactions:${s}`,{pointer:e,pointerIndex:i,pointerInfo:this.pointers[i],event:n,eventTarget:o,type:s,curEventTarget:r,interaction:this}),this.simulation||this.end(n),this.removePointer(e,n)}documentBlur(e){this.end(e),this._scopeFire("interactions:blur",{event:e,type:"blur",interaction:this})}end(e){this._ending=!0,e=e||this._latestPointer.event;let n;this.interacting()&&(n=this._doPhase({event:e,interaction:this,phase:"end"})),this._ending=!1,n===!0&&this.stop()}currentAction(){return this._interacting?this.prepared.name:null}interacting(){return this._interacting}stop(){this._scopeFire("interactions:stop",{interaction:this}),this.interactable=this.element=null,this._interacting=!1,this._stopped=!0,this.prepared.name=this.prevEvent=null}getPointerIndex(e){const n=Eo(e);return this.pointerType==="mouse"||this.pointerType==="pen"?this.pointers.length-1:qo(this.pointers,o=>o.id===n)}getPointerInfo(e){return this.pointers[this.getPointerIndex(e)]}updatePointer(e,n,o,r){const i=Eo(e);let s=this.getPointerIndex(e),l=this.pointers[s];return r=r===!1?!1:r||/(down|start)$/i.test(n.type),l?l.pointer=e:(l=new Ep(i,e,n,null,null),s=this.pointers.length,this.pointers.push(l)),dp(this.coords.cur,this.pointers.map(a=>a.pointer),this._now()),lp(this.coords.delta,this.coords.prev,this.coords.cur),r&&(this.pointerIsDown=!0,l.downTime=this.coords.cur.timeStamp,l.downTarget=o,Ha(this.downPointer,e),this.interacting()||(dr(this.coords.start,this.coords.cur),dr(this.coords.prev,this.coords.cur),this.downEvent=n,this.pointerWasMoved=!1)),this._updateLatestPointer(e,n,o),this._scopeFire("interactions:update-pointer",{pointer:e,event:n,eventTarget:o,down:r,pointerInfo:l,pointerIndex:s,interaction:this}),s}removePointer(e,n){const o=this.getPointerIndex(e);if(o===-1)return;const r=this.pointers[o];this._scopeFire("interactions:remove-pointer",{pointer:e,event:n,eventTarget:null,pointerIndex:o,pointerInfo:r,interaction:this}),this.pointers.splice(o,1),this.pointerIsDown=!1}_updateLatestPointer(e,n,o){this._latestPointer.pointer=e,this._latestPointer.event=n,this._latestPointer.eventTarget=o}destroy(){this._latestPointer.pointer=null,this._latestPointer.event=null,this._latestPointer.eventTarget=null}_createPreparedEvent(e,n,o,r){return new Si(this,e,this.prepared.name,n,this.element,o,r)}_fireEvent(e){var n;(n=this.interactable)==null||n.fire(e),(!this.prevEvent||e.timeStamp>=this.prevEvent.timeStamp)&&(this.prevEvent=e)}_doPhase(e){const{event:n,phase:o,preEnd:r,type:i}=e,{rect:s}=this;if(s&&o==="move"&&(wi(this.edges,s,this.coords.delta[this.interactable.options.deltaSource]),s.width=s.right-s.left,s.height=s.bottom-s.top),this._scopeFire(`interactions:before-action-${o}`,e)===!1)return!1;const l=e.iEvent=this._createPreparedEvent(n,o,r,i);return this._scopeFire(`interactions:action-${o}`,e),o==="start"&&(this.prevEvent=l),this._fireEvent(l),this._scopeFire(`interactions:after-action-${o}`,e),!0}_now(){return Date.now()}}const Pp=Tp;function Cp(t){return/^(always|never|auto)$/.test(t)?(this.options.preventDefault=t,this):I.bool(t)?(this.options.preventDefault=t?"always":"never",this):this.options.preventDefault}function Ap(t,e,n){const o=t.options.preventDefault;if(o!=="never"){if(o==="always"){n.preventDefault();return}if(e.events.supportsPassive&&/^touch(start|move)$/.test(n.type)){const r=nn(n.target).document,i=e.getDocOptions(r);if(!(i&&i.events)||i.events.passive!==!1)return}/^(mouse|pointer|touch)*(down|start)/i.test(n.type)||I.element(n.target)&&on(n.target,"input,select,textarea,[contenteditable=true],[contenteditable=true] *")||n.preventDefault()}}function Mp({interaction:t,event:e}){t.interactable&&t.interactable.checkAndPreventDefault(e)}function Rp(t){const{Interactable:e}=t;e.prototype.preventDefault=Cp,e.prototype.checkAndPreventDefault=function(n){return Ap(this,t,n)},t.interactions.docEvents.push({type:"dragstart",listener(n){for(const o of t.interactions.list)if(o.element&&(o.element===n.target||Ze(o.element,n.target))){o.interactable.checkAndPreventDefault(n);return}}})}const Op={id:"core/interactablePreventDefault",install:Rp,listeners:["down","move","up","cancel"].reduce((t,e)=>(t[`interactions:${e}`]=Mp,t),{})},Ur={methodOrder:["simulationResume","mouseOrPen","hasPointer","idle"],search(t){for(const e of Ur.methodOrder){const n=Ur[e](t);if(n)return n}return null},simulationResume({pointerType:t,eventType:e,eventTarget:n,scope:o}){if(!/down|start/i.test(e))return null;for(const r of o.interactions.list){let i=n;if(r.simulation&&r.simulation.allowResume&&r.pointerType===t)for(;i;){if(i===r.element)return r;i=Be(i)}}return null},mouseOrPen({pointerId:t,pointerType:e,eventType:n,scope:o}){if(e!=="mouse"&&e!=="pen")return null;let r;for(const i of o.interactions.list)if(i.pointerType===e){if(i.simulation&&!js(i,t))continue;if(i.interacting())return i;r||(r=i)}if(r)return r;for(const i of o.interactions.list)if(i.pointerType===e&&!(/down/i.test(n)&&i.simulation))return i;return null},hasPointer({pointerId:t,scope:e}){for(const n of e.interactions.list)if(js(n,t))return n;return null},idle({pointerType:t,scope:e}){for(const n of e.interactions.list){if(n.pointers.length===1){const o=n.interactable;if(o&&!(o.options.gesture&&o.options.gesture.enabled))continue}else if(n.pointers.length>=2)continue;if(!n.interacting()&&t===n.pointerType)return n}return null}};function js(t,e){return t.pointers.some(({id:n})=>n===e)}const Ip=Ur,$a=["pointerDown","pointerMove","pointerUp","updatePointer","removePointer","windowBlur"];function zp(t){const e={};for(const i of $a)e[i]=Wa(i,t);const n=de.pEventTypes;let o;Vt.PointerEvent?o=[{type:n.down,listener:r},{type:n.down,listener:e.pointerDown},{type:n.move,listener:e.pointerMove},{type:n.up,listener:e.pointerUp},{type:n.cancel,listener:e.pointerUp}]:o=[{type:"mousedown",listener:e.pointerDown},{type:"mousemove",listener:e.pointerMove},{type:"mouseup",listener:e.pointerUp},{type:"touchstart",listener:r},{type:"touchstart",listener:e.pointerDown},{type:"touchmove",listener:e.pointerMove},{type:"touchend",listener:e.pointerUp},{type:"touchcancel",listener:e.pointerUp}],o.push({type:"blur",listener(i){for(const s of t.interactions.list)s.documentBlur(i)}}),t.prevTouchTime=0,t.Interaction=class extends Pp{get pointerMoveTolerance(){return t.interactions.pointerMoveTolerance}set pointerMoveTolerance(i){t.interactions.pointerMoveTolerance=i}_now(){return t.now()}},t.interactions={list:[],new(i){i.scopeFire=(l,a)=>t.fire(l,a);const s=new t.Interaction(i);return t.interactions.list.push(s),s},listeners:e,docEvents:o,pointerMoveTolerance:1};function r(){for(const i of t.interactions.list)if(!(!i.pointerIsDown||i.pointerType!=="touch"||i._interacting))for(const s of i.pointers)t.documents.some(({doc:l})=>Ze(l,s.downTarget))||i.removePointer(s.pointer,s.event)}t.usePlugin(Op)}function Wa(t,e){return function(n){const o=e.interactions.list,r=mp(n),[i,s]=ja(n),l=[];if(/^touch/.test(n.type)){e.prevTouchTime=e.now();for(const a of n.changedTouches){const c=a,u=Eo(c),f={pointer:c,pointerId:u,pointerType:r,eventType:n.type,eventTarget:i,curEventTarget:s,scope:e},d=$s(f);l.push([f.pointer,f.eventTarget,f.curEventTarget,d])}}else{let a=!1;if(!de.supportsPointerEvent&&/mouse/.test(n.type)){for(let c=0;chr(t,"add"),"scope:remove-document":t=>hr(t,"remove"),"interactable:unset":({interactable:t},e)=>{for(let n=e.interactions.list.length-1;n>=0;n--){const o=e.interactions.list[n];o.interactable===t&&(o.stop(),e.fire("interactions:destroy",{interaction:o}),o.destroy(),e.interactions.list.length>2&&e.interactions.list.splice(n,1))}}},onDocSignal:hr,doOnInteractions:Wa,methodNames:$a},kp=Dp;class Fp{constructor(){R(this,"id",`__interact_scope_${Math.floor(Math.random()*100)}`),R(this,"isInitialized",!1),R(this,"listenerMaps",[]),R(this,"browser",de),R(this,"defaults",Sn(Na)),R(this,"Eventable",Da),R(this,"actions",{map:{},phases:{start:!0,move:!0,end:!0},methodDict:{},phaselessTypes:{}}),R(this,"interactStatic",vp(this)),R(this,"InteractEvent",Si),R(this,"Interactable"),R(this,"interactables",new bp(this)),R(this,"_win"),R(this,"document"),R(this,"window"),R(this,"documents",[]),R(this,"_plugins",{list:[],map:{}}),R(this,"onWindowUnload",n=>this.removeDocument(n.target));const e=this;this.Interactable=class extends yp{get _defaults(){return e.defaults}set(n){return super.set(n),e.fire("interactable:set",{options:n,interactable:this}),this}unset(){super.unset();const n=e.interactables.list.indexOf(this);n<0||(super.unset(),e.interactables.list.splice(n,1),e.fire("interactable:unset",{interactable:this}))}}}addListeners(e,n){this.listenerMaps.push({id:n,map:e})}fire(e,n){for(const{map:{[e]:o}}of this.listenerMaps)if(o&&o(n,this,e)===!1)return!1}init(e){return this.isInitialized?this:Np(this,e)}pluginIsInstalled(e){return this._plugins.map[e.id]||this._plugins.list.indexOf(e)!==-1}usePlugin(e,n){if(!this.isInitialized)return this;if(this.pluginIsInstalled(e))return this;if(e.id&&(this._plugins.map[e.id]=e),this._plugins.list.push(e),e.install&&e.install(this,n),e.listeners&&e.before){let o=0;const r=this.listenerMaps.length,i=e.before.reduce((s,l)=>(s[l]=!0,s[Ws(l)]=!0,s),{});for(;ot.now(),n.phaselessTypes.autoscroll=!0,e.perAction.autoScroll=nt.defaults}const nt={defaults:{enabled:!1,margin:60,container:null,speed:300},now:Date.now,interaction:null,i:0,x:0,y:0,isScrolling:!1,prevTime:0,margin:0,speed:0,start(t){nt.isScrolling=!0,fn.cancel(nt.i),t.autoScroll=nt,nt.interaction=t,nt.prevTime=nt.now(),nt.i=fn.request(nt.scroll)},stop(){nt.isScrolling=!1,nt.interaction&&(nt.interaction.autoScroll=null),fn.cancel(nt.i)},scroll(){const{interaction:t}=nt,{interactable:e,element:n}=t,o=t.prepared.name,r=e.options[o].autoScroll,i=Us(r.container,e,n),s=nt.now(),l=(s-nt.prevTime)/1e3,a=r.speed*l;if(a>=1){const c={x:nt.x*a,y:nt.y*a};if(c.x||c.y){const u=Ks(i);I.window(i)?i.scrollBy(c.x,c.y):i&&(i.scrollLeft+=c.x,i.scrollTop+=c.y);const f=Ks(i),d={x:f.x-u.x,y:f.y-u.y};(d.x||d.y)&&e.fire({type:"autoscroll",target:n,interactable:e,delta:d,interaction:t,container:i})}nt.prevTime=s}nt.isScrolling&&(fn.cancel(nt.i),nt.i=fn.request(nt.scroll))},check(t,e){var n;return(n=t.options[e].autoScroll)==null?void 0:n.enabled},onInteractionMove({interaction:t,pointer:e}){if(!(t.interacting()&&nt.check(t.interactable,t.prepared.name)))return;if(t.simulation){nt.x=nt.y=0;return}let n,o,r,i;const{interactable:s,element:l}=t,a=t.prepared.name,c=s.options[a].autoScroll,u=Us(c.container,s,l);if(I.window(u))i=e.clientXu.innerWidth-nt.margin,r=e.clientY>u.innerHeight-nt.margin;else{const f=bi(u);i=e.clientXf.right-nt.margin,r=e.clientY>f.bottom-nt.margin}nt.x=o?1:i?-1:0,nt.y=r?1:n?-1:0,nt.isScrolling||(nt.margin=c.margin,nt.speed=c.speed,nt.start(t))}};function Us(t,e,n){return(I.string(t)?ka(t,e,n):t)||nn(n)}function Ks(t){return I.window(t)&&(t=window.document.body),{x:t.scrollLeft,y:t.scrollTop}}const jp={id:"auto-scroll",install:Bp,listeners:{"interactions:new":({interaction:t})=>{t.autoScroll=null},"interactions:destroy":({interaction:t})=>{t.autoScroll=null,nt.stop(),nt.interaction&&(nt.interaction=null)},"interactions:stop":nt.stop,"interactions:action-move":t=>nt.onInteractionMove(t)}},$p=jp;Se.use($p);function Wp(t){const{actions:e,Interactable:n,defaults:o}=t;n.prototype.draggable=ho.draggable,e.map.drag=ho,e.methodDict.drag="draggable",o.actions.drag=ho.defaults}function pr({interaction:t}){if(t.prepared.name!=="drag")return;const e=t.prepared.axis;e==="x"?(t.coords.cur.page.y=t.coords.start.page.y,t.coords.cur.client.y=t.coords.start.client.y,t.coords.velocity.client.y=0,t.coords.velocity.page.y=0):e==="y"&&(t.coords.cur.page.x=t.coords.start.page.x,t.coords.cur.client.x=t.coords.start.client.x,t.coords.velocity.client.x=0,t.coords.velocity.page.x=0)}function qs({iEvent:t,interaction:e}){if(e.prepared.name!=="drag")return;const n=e.prepared.axis;if(n==="x"||n==="y"){const o=n==="x"?"y":"x";t.page[o]=e.coords.start.page[o],t.client[o]=e.coords.start.client[o],t.delta[o]=0}}const Up=function(t){return I.object(t)?(this.options.drag.enabled=t.enabled!==!1,this.setPerAction("drag",t),this.setOnEvents("drag",t),/^(xy|x|y|start)$/.test(t.lockAxis)&&(this.options.drag.lockAxis=t.lockAxis),/^(xy|x|y)$/.test(t.startAxis)&&(this.options.drag.startAxis=t.startAxis),this):I.bool(t)?(this.options.drag.enabled=t,this):this.options.drag},ho={id:"actions/drag",install:Wp,listeners:{"interactions:before-action-move":pr,"interactions:action-resume":pr,"interactions:action-move":qs,"auto-start:check":t=>{const{interaction:e,interactable:n,buttons:o}=t,r=n.options.drag;if(!(!(r&&r.enabled)||e.pointerIsDown&&/mouse|pointer/.test(e.pointerType)&&!(o&n.options.drag.mouseButtons)))return t.action={name:"drag",axis:r.lockAxis==="start"?r.startAxis:r.lockAxis},!1}},draggable:Up,beforeMove:pr,move:qs,defaults:{startAxis:"xy",lockAxis:"xy"},getCursor(){return"move"}},Kp=ho;Se.use(Kp);function qp(t){const{actions:e,browser:n,Interactable:o,defaults:r}=t;we.cursors=Gp(n),we.defaultMargin=n.supportsTouch||n.supportsPointerEvent?20:10,o.prototype.resizable=function(i){return Yp(this,i,t)},e.map.resize=we,e.methodDict.resize="resizable",r.actions.resize=we.defaults}function Vp(t){const{interaction:e,interactable:n,element:o,rect:r,buttons:i}=t;if(!r)return;const s=G({},e.coords.cur.page),l=n.options.resize;if(!(!(l&&l.enabled)||e.pointerIsDown&&/mouse|pointer/.test(e.pointerType)&&!(i&l.mouseButtons))){if(I.object(l.edges)){const a={left:!1,right:!1,top:!1,bottom:!1};for(const c in a)a[c]=Xp(c,l.edges[c],s,e._latestPointer.eventTarget,o,r,l.margin||we.defaultMargin);a.left=a.left&&!a.right,a.top=a.top&&!a.bottom,(a.left||a.right||a.top||a.bottom)&&(t.action={name:"resize",edges:a})}else{const a=l.axis!=="y"&&s.x>r.right-we.defaultMargin,c=l.axis!=="x"&&s.y>r.bottom-we.defaultMargin;(a||c)&&(t.action={name:"resize",axes:(a?"x":"")+(c?"y":"")})}return t.action?!1:void 0}}function Yp(t,e,n){return I.object(e)?(t.options.resize.enabled=e.enabled!==!1,t.setPerAction("resize",e),t.setOnEvents("resize",e),I.string(e.axis)&&/^x$|^y$|^xy$/.test(e.axis)?t.options.resize.axis=e.axis:e.axis===null&&(t.options.resize.axis=n.defaults.actions.resize.axis),I.bool(e.preserveAspectRatio)?t.options.resize.preserveAspectRatio=e.preserveAspectRatio:I.bool(e.square)&&(t.options.resize.square=e.square),t):I.bool(e)?(t.options.resize.enabled=e,t):t.options.resize}function Xp(t,e,n,o,r,i,s){if(!e)return!1;if(e===!0){const l=I.number(i.width)?i.width:i.right-i.left,a=I.number(i.height)?i.height:i.bottom-i.top;if(s=Math.min(s,Math.abs((t==="left"||t==="right"?l:a)/2)),l<0&&(t==="left"?t="right":t==="right"&&(t="left")),a<0&&(t==="top"?t="bottom":t==="bottom"&&(t="top")),t==="left"){const c=l>=0?i.left:i.right;return n.x=0?i.top:i.bottom;return n.y(l>=0?i.right:i.left)-s;if(t==="bottom")return n.y>(a>=0?i.bottom:i.top)-s}return I.element(o)?I.element(e)?e===o:Hr(o,e,r):!1}function Gp(t){return t.isIe9?{x:"e-resize",y:"s-resize",xy:"se-resize",top:"n-resize",left:"w-resize",bottom:"s-resize",right:"e-resize",topleft:"se-resize",bottomright:"se-resize",topright:"ne-resize",bottomleft:"ne-resize"}:{x:"ew-resize",y:"ns-resize",xy:"nwse-resize",top:"ns-resize",left:"ew-resize",bottom:"ns-resize",right:"ew-resize",topleft:"nwse-resize",bottomright:"nwse-resize",topright:"nesw-resize",bottomleft:"nesw-resize"}}function Qp({iEvent:t,interaction:e}){if(e.prepared.name!=="resize"||!e.prepared.edges)return;const n=t,o=e.rect;e._rects={start:G({},o),corrected:G({},o),previous:G({},o),delta:{left:0,right:0,width:0,top:0,bottom:0,height:0}},n.edges=e.prepared.edges,n.rect=e._rects.corrected,n.deltaRect=e._rects.delta}function Jp({iEvent:t,interaction:e}){if(e.prepared.name!=="resize"||!e.prepared.edges)return;const n=t,o=e.interactable.options.resize.invert,r=o==="reposition"||o==="negate",i=e.rect,{start:s,corrected:l,delta:a,previous:c}=e._rects;if(G(c,l),r){if(G(l,i),o==="reposition"){if(l.top>l.bottom){const u=l.top;l.top=l.bottom,l.bottom=u}if(l.left>l.right){const u=l.left;l.left=l.right,l.right=u}}}else l.top=Math.min(i.top,s.bottom),l.bottom=Math.max(i.bottom,s.top),l.left=Math.min(i.left,s.right),l.right=Math.max(i.right,s.left);l.width=l.right-l.left,l.height=l.bottom-l.top;for(const u in l)a[u]=l[u]-c[u];n.edges=e.prepared.edges,n.rect=l,n.deltaRect=a}function Zp({iEvent:t,interaction:e}){if(e.prepared.name!=="resize"||!e.prepared.edges)return;const n=t;n.edges=e.prepared.edges,n.rect=e._rects.corrected,n.deltaRect=e._rects.delta}function Vs({iEvent:t,interaction:e}){if(e.prepared.name!=="resize"||!e.resizeAxes)return;const n=e.interactable.options,o=t;n.resize.square?(e.resizeAxes==="y"?o.delta.x=o.delta.y:o.delta.y=o.delta.x,o.axes="xy"):(o.axes=e.resizeAxes,e.resizeAxes==="x"?o.delta.y=0:e.resizeAxes==="y"&&(o.delta.x=0))}const we={id:"actions/resize",before:["actions/drag"],install:qp,listeners:{"interactions:new":({interaction:t})=>{t.resizeAxes="xy"},"interactions:action-start":t=>{Qp(t),Vs(t)},"interactions:action-move":t=>{Jp(t),Vs(t)},"interactions:action-end":Zp,"auto-start:check":Vp},defaults:{square:!1,preserveAspectRatio:!1,axis:"xy",margin:NaN,edges:null,invert:"none"},cursors:null,getCursor({edges:t,axis:e,name:n}){const o=we.cursors;let r=null;if(e)r=o[n+e];else if(t){let i="";for(const s of["top","bottom","left","right"])t[s]&&(i+=s);r=o[i]}return r},defaultMargin:null},tg=we;Se.use(tg);const eg=()=>{},ng=()=>{},og=t=>{const e=[["x","y"],["left","top"],["right","bottom"],["width","height"]].filter(([o,r])=>o in t||r in t),n=(o,r)=>{const{range:i,limits:s={left:-1/0,right:1/0,top:-1/0,bottom:1/0},offset:l={x:0,y:0}}=t,a={range:i,grid:t,x:null,y:null};for(const[c,u]of e){const f=Math.round((o-l.x)/t[c]),d=Math.round((r-l.y)/t[u]);a[c]=Math.max(s.left,Math.min(s.right,f*t[c]+l.x)),a[u]=Math.max(s.top,Math.min(s.bottom,d*t[u]+l.y))}return a};return n.grid=t,n.coordFields=e,n},rg=Object.freeze(Object.defineProperty({__proto__:null,edgeTarget:eg,elements:ng,grid:og},Symbol.toStringTag,{value:"Module"})),ig={id:"snappers",install(t){const{interactStatic:e}=t;e.snappers=G(e.snappers||{},rg),e.createSnapGrid=e.snappers.grid}},sg=ig;class Ka{constructor(e){R(this,"states",[]),R(this,"startOffset",{left:0,right:0,top:0,bottom:0}),R(this,"startDelta"),R(this,"result"),R(this,"endResult"),R(this,"startEdges"),R(this,"edges"),R(this,"interaction"),this.interaction=e,this.result=ao(),this.edges={left:!1,right:!1,top:!1,bottom:!1}}start({phase:e},n){const{interaction:o}=this,r=lg(o);this.prepareStates(r),this.startEdges=G({},o.edges),this.edges=G({},this.startEdges),this.startOffset=ag(o.rect,n),this.startDelta={x:0,y:0};const i=this.fillArg({phase:e,pageCoords:n,preEnd:!1});return this.result=ao(),this.startAll(i),this.result=this.setAll(i)}fillArg(e){const{interaction:n}=this;return e.interaction=n,e.interactable=n.interactable,e.element=n.element,e.rect||(e.rect=n.rect),e.edges||(e.edges=this.startEdges),e.startOffset=this.startOffset,e}startAll(e){for(const n of this.states)n.methods.start&&(e.state=n,n.methods.start(e))}setAll(e){const{phase:n,preEnd:o,skipModifiers:r,rect:i,edges:s}=e;e.coords=G({},e.pageCoords),e.rect=G({},i),e.edges=G({},s);const l=r?this.states.slice(r):this.states,a=ao(e.coords,e.rect);for(const d of l){var c;const{options:g}=d,b=G({},e.coords);let S=null;(c=d.methods)!=null&&c.set&&this.shouldDo(g,o,n)&&(e.state=d,S=d.methods.set(e),wi(e.edges,e.rect,{x:e.coords.x-b.x,y:e.coords.y-b.y})),a.eventProps.push(S)}G(this.edges,e.edges),a.delta.x=e.coords.x-e.pageCoords.x,a.delta.y=e.coords.y-e.pageCoords.y,a.rectDelta.left=e.rect.left-i.left,a.rectDelta.right=e.rect.right-i.right,a.rectDelta.top=e.rect.top-i.top,a.rectDelta.bottom=e.rect.bottom-i.bottom;const u=this.result.coords,f=this.result.rect;if(u&&f){const d=a.rect.left!==f.left||a.rect.right!==f.right||a.rect.top!==f.top||a.rect.bottom!==f.bottom;a.changed=d||u.x!==a.coords.x||u.y!==a.coords.y}return a}applyToInteraction(e){const{interaction:n}=this,{phase:o}=e,r=n.coords.cur,i=n.coords.start,{result:s,startDelta:l}=this,a=s.delta;o==="start"&&G(this.startDelta,s.delta);for(const[f,d]of[[i,l],[r,a]])f.page.x+=d.x,f.page.y+=d.y,f.client.x+=d.x,f.client.y+=d.y;const{rectDelta:c}=this.result,u=e.rect||n.rect;u.left+=c.left,u.right+=c.right,u.top+=c.top,u.bottom+=c.bottom,u.width=u.right-u.left,u.height=u.bottom-u.top}setAndApply(e){const{interaction:n}=this,{phase:o,preEnd:r,skipModifiers:i}=e,s=this.setAll(this.fillArg({preEnd:r,phase:o,pageCoords:e.modifiedCoords||n.coords.cur.page}));if(this.result=s,!s.changed&&(!i||iSn(n)),this.result=ao(G({},e.result.coords),G({},e.result.rect))}destroy(){for(const e in this)this[e]=null}}function ao(t,e){return{rect:e,coords:t,delta:{x:0,y:0},rectDelta:{left:0,right:0,top:0,bottom:0},eventProps:[],changed:!0}}function lg(t){const e=t.interactable.options[t.prepared.name],n=e.modifiers;return n&&n.length?n:["snap","snapSize","snapEdges","restrict","restrictEdges","restrictSize"].map(o=>{const r=e[o];return r&&r.enabled&&{options:r,methods:r._methods}}).filter(o=>!!o)}function ag(t,e){return t?{left:e.x-t.left,top:e.y-t.top,right:t.right-e.x,bottom:t.bottom-e.y}:{left:0,top:0,right:0,bottom:0}}function je(t,e){const{defaults:n}=t,o={start:t.start,set:t.set,beforeEnd:t.beforeEnd,stop:t.stop},r=i=>{const s=i||{};s.enabled=s.enabled!==!1;for(const a in n)a in s||(s[a]=n[a]);const l={options:s,methods:o,name:e,enable:()=>(s.enabled=!0,l),disable:()=>(s.enabled=!1,l)};return l};return e&&typeof e=="string"&&(r._defaults=n,r._methods=o),r}function gr({iEvent:t,interaction:e}){const n=e.modification.result;n&&(t.modifiers=n.eventProps)}const cg={id:"modifiers/base",before:["actions"],install:t=>{t.defaults.perAction.modifiers=[]},listeners:{"interactions:new":({interaction:t})=>{t.modification=new Ka(t)},"interactions:before-action-start":t=>{const{interaction:e}=t,n=t.interaction.modification;n.start(t,e.coords.start.page),e.edges=n.edges,n.applyToInteraction(t)},"interactions:before-action-move":t=>{const{interaction:e}=t,{modification:n}=e,o=n.setAndApply(t);return e.edges=n.edges,o},"interactions:before-action-end":t=>{const{interaction:e}=t,{modification:n}=e,o=n.beforeEnd(t);return e.edges=n.startEdges,o},"interactions:action-start":gr,"interactions:action-move":gr,"interactions:action-end":gr,"interactions:after-action-start":t=>t.interaction.modification.restoreInteractionCoords(t),"interactions:after-action-move":t=>t.interaction.modification.restoreInteractionCoords(t),"interactions:stop":t=>t.interaction.modification.stop(t)}},ug=cg,fg={start(t){const{state:e,rect:n,edges:o,pageCoords:r}=t;let{ratio:i,enabled:s}=e.options;const{equalDelta:l,modifiers:a}=e.options;i==="preserve"&&(i=n.width/n.height),e.startCoords=G({},r),e.startRect=G({},n),e.ratio=i,e.equalDelta=l;const c=e.linkedEdges={top:o.top||o.left&&!o.bottom,left:o.left||o.top&&!o.right,bottom:o.bottom||o.right&&!o.top,right:o.right||o.bottom&&!o.left};if(e.xIsPrimaryAxis=!!(o.left||o.right),e.equalDelta){const f=(c.left?1:-1)*(c.top?1:-1);e.edgeSign={x:f,y:f}}else e.edgeSign={x:c.left?-1:1,y:c.top?-1:1};if(s!==!1&&G(o,c),!(a!=null&&a.length))return;const u=new Ka(t.interaction);u.copyFrom(t.interaction.modification),u.prepareStates(a),e.subModification=u,u.startAll(re({},t))},set(t){const{state:e,rect:n,coords:o}=t,{linkedEdges:r}=e,i=G({},o),s=e.equalDelta?dg:hg;if(G(t.edges,r),s(e,e.xIsPrimaryAxis,o,n),!e.subModification)return null;const l=G({},n);wi(r,l,{x:o.x-i.x,y:o.y-i.y});const a=e.subModification.setAll(Ue(re({},t),{rect:l,edges:r,pageCoords:o,prevCoords:o,prevRect:l})),{delta:c}=a;if(a.changed){const u=Math.abs(c.x)>Math.abs(c.y);s(e,u,a.coords,a.rect),G(o,a.coords)}return a.eventProps},defaults:{ratio:"preserve",equalDelta:!1,modifiers:[],enabled:!1}};function dg({startCoords:t,edgeSign:e},n,o){n?o.y=t.y+(o.x-t.x)*e.y:o.x=t.x+(o.y-t.y)*e.x}function hg({startRect:t,startCoords:e,ratio:n,edgeSign:o},r,i,s){if(r){const l=s.width/n;i.y=e.y+(l-t.height)*o.y}else{const l=s.height*n;i.x=e.x+(l-t.width)*o.x}}const pg=je(fg,"aspectRatio"),qa=()=>{};qa._defaults={};const co=qa;function gg({rect:t,startOffset:e,state:n,interaction:o,pageCoords:r}){const{options:i}=n,{elementRect:s}=i,l=G({left:0,top:0,right:0,bottom:0},i.offset||{});if(t&&s){const a=rn(i.restriction,o,r);if(a){const c=a.right-a.left-t.width,u=a.bottom-a.top-t.height;c<0&&(l.left+=c,l.right+=c),u<0&&(l.top+=u,l.bottom+=u)}l.left+=e.left-t.width*s.left,l.top+=e.top-t.height*s.top,l.right+=e.right-t.width*(1-s.right),l.bottom+=e.bottom-t.height*(1-s.bottom)}n.offset=l}function mg({coords:t,interaction:e,state:n}){const{options:o,offset:r}=n,i=rn(o.restriction,e,t);if(!i)return;const s=sp(i);t.x=Math.max(Math.min(s.right-r.right,t.x),s.left+r.left),t.y=Math.max(Math.min(s.bottom-r.bottom,t.y),s.top+r.top)}function rn(t,e,n){return I.func(t)?Zn(t,e.interactable,e.element,[n.x,n.y,e]):Zn(t,e.interactable,e.element)}const vg={restriction:null,elementRect:null,offset:null,endOnly:!1,enabled:!1},So={start:gg,set:mg,defaults:vg},yg=je(So,"restrict"),Va={top:1/0,left:1/0,bottom:-1/0,right:-1/0},Ya={top:-1/0,left:-1/0,bottom:1/0,right:1/0};function bg({interaction:t,startOffset:e,state:n}){const{options:o}=n;let r;if(o){const i=rn(o.offset,t,t.coords.start.page);r=Vo(i)}r=r||{x:0,y:0},n.offset={top:r.y+e.top,left:r.x+e.left,bottom:r.y-e.bottom,right:r.x-e.right}}function xg({coords:t,edges:e,interaction:n,state:o}){const{offset:r,options:i}=o;if(!e)return;const s=G({},t),l=rn(i.inner,n,s)||{},a=rn(i.outer,n,s)||{};Ys(l,Va),Ys(a,Ya),e.top?t.y=Math.min(Math.max(a.top+r.top,s.y),l.top+r.top):e.bottom&&(t.y=Math.max(Math.min(a.bottom+r.bottom,s.y),l.bottom+r.bottom)),e.left?t.x=Math.min(Math.max(a.left+r.left,s.x),l.left+r.left):e.right&&(t.x=Math.max(Math.min(a.right+r.right,s.x),l.right+r.right))}function Ys(t,e){for(const n of["top","left","bottom","right"])n in t||(t[n]=e[n]);return t}const _g={inner:null,outer:null,offset:null,endOnly:!1,enabled:!1},Kn={noInner:Va,noOuter:Ya,start:bg,set:xg,defaults:_g},wg=je(Kn,"restrictEdges"),Eg=G({get elementRect(){return{top:0,left:0,bottom:1,right:1}},set elementRect(t){}},So.defaults),Sg={start:So.start,set:So.set,defaults:Eg},Tg=je(Sg,"restrictRect"),Pg={width:-1/0,height:-1/0},Cg={width:1/0,height:1/0};function Ag(t){return Kn.start(t)}function Mg(t){const{interaction:e,state:n,rect:o,edges:r}=t,{options:i}=n;if(!r)return;const s=Bs(rn(i.min,e,t.coords))||Pg,l=Bs(rn(i.max,e,t.coords))||Cg;n.options={endOnly:i.endOnly,inner:G({},Kn.noInner),outer:G({},Kn.noOuter)},r.top?(n.options.inner.top=o.bottom-s.height,n.options.outer.top=o.bottom-l.height):r.bottom&&(n.options.inner.bottom=o.top+s.height,n.options.outer.bottom=o.top+l.height),r.left?(n.options.inner.left=o.right-s.width,n.options.outer.left=o.right-l.width):r.right&&(n.options.inner.right=o.left+s.width,n.options.outer.right=o.left+l.width),Kn.set(t),n.options=i}const Rg={min:null,max:null,endOnly:!1,enabled:!1},Og={start:Ag,set:Mg,defaults:Rg},Ig=je(Og,"restrictSize");function zg(t){const{interaction:e,interactable:n,element:o,rect:r,state:i,startOffset:s}=t,{options:l}=i,a=l.offsetWithOrigin?kg(t):{x:0,y:0};let c;if(l.offset==="startCoords")c={x:e.coords.start.page.x,y:e.coords.start.page.y};else{const f=Zn(l.offset,n,o,[e]);c=Vo(f)||{x:0,y:0},c.x+=a.x,c.y+=a.y}const{relativePoints:u}=l;i.offsets=r&&u&&u.length?u.map((f,d)=>({index:d,relativePoint:f,x:s.left-r.width*f.x+c.x,y:s.top-r.height*f.y+c.y})):[{index:0,relativePoint:null,x:c.x,y:c.y}]}function Dg(t){const{interaction:e,coords:n,state:o}=t,{options:r,offsets:i}=o,s=Ei(e.interactable,e.element,e.prepared.name),l=G({},n),a=[];r.offsetWithOrigin||(l.x-=s.x,l.y-=s.y);for(const u of i){const f=l.x-u.x,d=l.y-u.y;for(let g=0,b=r.targets.length;g{for(const n of Gs){const o=t.interactable&&t.interactable.options;!(o&&o.devTools&&o.devTools.ignore[n.name])&&n.perform(t)&&e.logger.warn(Xs+n.text,...n.getInfo(t))}}},checks:Gs,CheckName:yn,links:Kr,prefix:Xs},Jg=Qg;Se.use(Jg);function Zg(){const{appContext:t,proxy:e}=Gl(),n=t.config.globalProperties;return{proxy:e,appContext:t,globalProperties:n}}const tm={name:"GridItem"},em=Fo(Ue(re({},tm),{props:{isDraggable:{type:[Boolean,null],default:null},isResizable:{type:[Boolean,null],default:null},isBounded:{type:[Boolean,null],default:null},static:{type:Boolean,default:!1},minH:{default:1},minW:{default:1},maxH:{default:1/0},maxW:{default:1/0},x:{},y:{},w:{},h:{},i:{},dragIgnoreFrom:{default:"a, button"},dragAllowFrom:{default:null},resizeIgnoreFrom:{default:"a, button"},preserveAspectRatio:{type:Boolean,default:!1},dragOption:{default:()=>({})},resizeOption:{default:()=>({})}},emits:["container-resized","resize","resized","move","moved"],setup(t,{expose:e,emit:n}){const o=t,{proxy:r}=Zg(),i=r==null?void 0:r.$parent,s=ee("eventBus"),l=tt({}),a=tt(1),c=tt(100),u=tt(30),f=tt([10,10]),d=tt(1/0),g=tt(null),b=tt(null),S=tt(1),A=tt(!0),F=tt(!0),P=tt(!1),L=tt(null),y=tt(!1),v=tt(null),K=tt(NaN),k=tt(NaN),et=tt(NaN),ft=tt(NaN),X=tt({}),ot=tt(!1),z=tt(!1),V=tt(!1),at=tt(null),Tt=tt(null),lt=tt(null),Q=tt(null),B=tt(o.x),_t=tt(o.y),Et=tt(o.w),ht=tt(o.h),wt=tt(null),pt=tt(null),ne=Lt(()=>b.value&&!o.static),Ce=Lt(()=>(g.value||b.value)&&!o.static),It=Lt(()=>navigator.userAgent.toLowerCase().indexOf("android")!==-1),E=Lt(()=>i!=null&&i.isMirrored?!ot.value:ot.value),j=Lt(()=>({"vue-resizable":ne.value,static:o.static,resizing:y.value,"vue-draggable-dragging":P.value,cssTransforms:A.value,"render-rtl":E.value,"disable-userselect":P.value,"no-touch":It.value&&Ce.value})),x=Lt(()=>E.value?"vue-resizable-handle vue-rtl-resizable-handle":"vue-resizable-handle");dt(()=>o.isDraggable,M=>{g.value=M}),dt(()=>o.static,()=>{$e(),Mt()}),dt(g,()=>{$e()}),dt(()=>o.isResizable,M=>{b.value=M}),dt(()=>o.isBounded,M=>{wt.value=M}),dt(b,()=>{Mt()}),dt(u,()=>{O(),C()}),dt(a,()=>{Mt(),O(),C()}),dt(c,()=>{Mt(),O()}),dt(()=>o.x,M=>{B.value=M,O()}),dt(()=>o.y,M=>{_t.value=M,O()}),dt(()=>o.h,M=>{ht.value=M,O()}),dt(()=>o.w,M=>{Et.value=M,O()}),dt(E,()=>{Mt(),O()}),dt(()=>o.minH,()=>{Mt()}),dt(()=>o.maxH,()=>{Mt()}),dt(()=>o.minW,()=>{Mt()}),dt(()=>o.maxW,()=>{Mt()}),dt(()=>i==null?void 0:i.margin,M=>{!M||M[0]==f.value[0]&&M[1]==f.value[1]||(f.value=M.map(U=>Number(U)),O(),C())});function N(M){zt(M)}function Y(M){Ht()}function h(M){o.isDraggable===null&&(g.value=M)}function p(M){o.isResizable===null&&(b.value=M)}function m(M){o.isBounded===null&&(wt.value=M)}function _(M){S.value=M}function T(M){u.value=M}function w(M){d.value=M}function H(){ot.value=Ds()==="rtl",Ht()}function D(M){const U=M.toString();a.value=parseInt(U)}s.on("updateWidth",N),s.on("compact",Y),s.on("setDraggable",h),s.on("setResizable",p),s.on("setBounded",m),s.on("setTransformScale",_),s.on("setRowHeight",T),s.on("setMaxRows",w),s.on("directionchange",H),s.on("setColNum",D),ot.value=Ds()==="rtl",ci(()=>{s.off("updateWidth",N),s.off("compact",Y),s.off("setDraggable",h),s.off("setResizable",p),s.off("setBounded",m),s.off("setTransformScale",_),s.off("setRowHeight",T),s.off("setMaxRows",w),s.off("directionchange",H),s.off("setColNum",D),pt.value&&pt.value.unset()}),ai(()=>{i!=null&&i.responsive&&i.lastBreakpoint?a.value=Nr(i.lastBreakpoint,i==null?void 0:i.cols):a.value=i==null?void 0:i.colNum,u.value=i==null?void 0:i.rowHeight,c.value=(i==null?void 0:i.width)!==null?i==null?void 0:i.width:100,f.value=(i==null?void 0:i.margin)!==void 0?i.margin:[10,10],d.value=i==null?void 0:i.maxRows,o.isDraggable===null?g.value=i==null?void 0:i.isDraggable:g.value=o.isDraggable,o.isResizable===null?b.value=i==null?void 0:i.isResizable:b.value=o.isResizable,o.isBounded===null?wt.value=i==null?void 0:i.isBounded:wt.value=o.isBounded,S.value=i==null?void 0:i.transformScale,A.value=i==null?void 0:i.useCssTransforms,F.value=i==null?void 0:i.useStyleCursor,O()});function O(){var M,U,mt,Pt,Rt;o.x+o.w>a.value?(B.value=0,Et.value=o.w>a.value?a.value:o.w):(B.value=o.x,Et.value=o.w);let ct=W(B.value,_t.value,Et.value,ht.value);P.value&&(ct.top=(M=L.value)==null?void 0:M.top,E.value?ct.right=(U=L.value)==null?void 0:U.left:ct.left=(mt=L.value)==null?void 0:mt.left),y.value&&(ct.width=(Pt=v.value)==null?void 0:Pt.width,ct.height=(Rt=v.value)==null?void 0:Rt.height);let oe;A.value?E.value?oe=mh(ct.top,ct.right,ct.width,ct.height):oe=gh(ct.top,ct.left,ct.width,ct.height):E.value?oe=yh(ct.top,ct.right,ct.width,ct.height):oe=vh(ct.top,ct.left,ct.width,ct.height),X.value=oe}function C(){let M={};for(let U of["width","height"]){let mt=X.value[U].match(/^(\d+)px$/);if(!mt)return;M[U]=mt[1]}n("container-resized",o.i,o.h,o.w,M.height,M.width)}function q(M){var U,mt,Pt;{if(o.static)return;const Rt=Is(M);if(Rt==null)return;const{x:ct,y:oe}=Rt,vt={width:0,height:0};let ut;switch(M.type){case"resizestart":{Mt(),at.value=Et.value,Tt.value=ht.value,ut=W(B.value,_t.value,Et.value,ht.value),vt.width=ut.width,vt.height=ut.height,v.value=vt,y.value=!0;break}case"resizemove":{const Gt=zs(et.value,ft.value,ct,oe);E.value?vt.width=Number((U=v.value)==null?void 0:U.width)-Gt.deltaX/S.value:vt.width=Number((mt=v.value)==null?void 0:mt.width)+Gt.deltaX/S.value,vt.height=Number((Pt=v.value)==null?void 0:Pt.height)+Gt.deltaY/S.value,v.value=vt;break}case"resizeend":{ut=W(B.value,_t.value,Et.value,ht.value),vt.width=ut.width,vt.height=ut.height,v.value=null,y.value=!1;break}}ut=gt(vt.height,vt.width),ut.wo.maxW&&(ut.w=o.maxW),ut.ho.maxH&&(ut.h=o.maxH),ut.h<1&&(ut.h=1),ut.w<1&&(ut.w=1),et.value=ct,ft.value=oe,(Et.value!==ut.w||ht.value!==ut.h)&&n("resize",o.i,ut.h,ut.w,vt.height,vt.width),M.type==="resizeend"&&(at.value!==Et.value||Tt.value!==ht.value)&&n("resized",o.i,ut.h,ut.w,vt.height,vt.width);const Xo={eventType:M.type,i:o.i,x:B.value,y:_t.value,h:ut.h,w:ut.w};s.emit("resizeEvent",Xo)}}function $(M){var U,mt,Pt;if(o.static||y.value)return;const Rt=Is(M);if(Rt===null)return;const{x:ct,y:oe}=Rt;let vt={top:0,left:0};switch(M.type){case"dragstart":{lt.value=B.value,Q.value=_t.value;const Gt=M.target;let ve=Gt.offsetParent.getBoundingClientRect(),ye=Gt.getBoundingClientRect();const An=ye.left/S.value,Go=ve.left/S.value,Qo=ye.right/S.value,Jo=ve.right/S.value,Zo=ye.top/S.value,tr=ve.top/S.value;E.value?vt.left=(Qo-Jo)*-1:vt.left=An-Go,vt.top=Zo-tr,L.value=vt,P.value=!0;break}case"dragend":{if(!P.value)return;const Gt=M.target;let ve=Gt.offsetParent.getBoundingClientRect(),ye=Gt.getBoundingClientRect();const An=ye.left/S.value,Go=ve.left/S.value,Qo=ye.right/S.value,Jo=ve.right/S.value,Zo=ye.top/S.value,tr=ve.top/S.value;E.value?vt.left=(Qo-Jo)*-1:vt.left=An-Go,vt.top=Zo-tr,L.value=null,P.value=!1;break}case"dragmove":{const Gt=zs(K.value,k.value,ct,oe);if(E.value?vt.left=Number((U=L.value)==null?void 0:U.left)-Gt.deltaX/S.value:vt.left=Number((mt=L.value)==null?void 0:mt.left)+Gt.deltaX/S.value,vt.top=Number((Pt=L.value)==null?void 0:Pt.top)+Gt.deltaY/S.value,wt.value){const ve=M.target.offsetParent.clientHeight-bt(o.h,u.value,f.value[1]);vt.top=J(vt.top,0,ve);const ye=it(),An=c.value-bt(o.w,ye,f.value[0]);vt.left=J(vt.left,0,An)}L.value=vt;break}}let ut;E.value,ut=Z(vt.top,vt.left),K.value=ct,k.value=oe,(B.value!==ut.x||_t.value!==ut.y)&&n("move",o.i,ut.x,ut.y),M.type==="dragend"&&(lt.value!==B.value||Q.value!==_t.value)&&n("moved",o.i,ut.x,ut.y);const Xo={eventType:M.type,i:o.i,x:ut.x,y:ut.y,h:ht.value,w:Et.value};s.emit("dragEvent",Xo)}function W(M,U,mt,Pt){const Rt=it();let ct;return E.value?ct={right:Math.round(Rt*M+(M+1)*f.value[0]),top:Math.round(u.value*U+(U+1)*f.value[1]),width:mt===1/0?mt:Math.round(Rt*mt+Math.max(0,mt-1)*f.value[0]),height:Pt===1/0?Pt:Math.round(u.value*Pt+Math.max(0,Pt-1)*f.value[1])}:ct={left:Math.round(Rt*M+(M+1)*f.value[0]),top:Math.round(u.value*U+(U+1)*f.value[1]),width:mt===1/0?mt:Math.round(Rt*mt+Math.max(0,mt-1)*f.value[0]),height:Pt===1/0?Pt:Math.round(u.value*Pt+Math.max(0,Pt-1)*f.value[1])},ct}function Z(M,U){const mt=it();let Pt=Math.round((U-f.value[0])/(mt+f.value[0])),Rt=Math.round((M-f.value[1])/(u.value+f.value[1]));return Pt=Math.max(Math.min(Pt,a.value-Et.value),0),Rt=Math.max(Math.min(Rt,d.value-ht.value),0),{x:Pt,y:Rt}}function it(){return(c.value-f.value[0]*(a.value+1))/a.value}function bt(M,U,mt){return Number.isFinite(M)?Math.round(U*M+Math.max(0,M-1)*mt):M}function J(M,U,mt){return Math.max(Math.min(M,mt),U)}function gt(M,U,mt=!1){const Pt=it();let Rt=Math.round((U+f.value[0])/(Pt+f.value[0])),ct=0;return mt?ct=Math.ceil((M+f.value[1])/(u.value+f.value[1])):ct=Math.round((M+f.value[1])/(u.value+f.value[1])),Rt=Math.max(Math.min(Rt,a.value-B.value),0),ct=Math.max(Math.min(ct,d.value-_t.value),0),{w:Rt,h:ct}}function zt(M,U){c.value=M,U!=null&&(a.value=U)}function Ht(M){O()}function $e(){if((pt.value===null||pt.value===void 0)&&(pt.value=Se(l.value),F.value||pt.value.styleCursor(!1)),g.value&&!o.static){const M=re({ignoreFrom:o.dragIgnoreFrom,allowFrom:o.dragAllowFrom},o.dragOption);pt.value.draggable(M),z.value||(z.value=!0,pt.value.on("dragstart dragmove dragend",function(U){$(U)}))}else pt.value.draggable({enabled:!1})}function Mt(){if((pt.value===null||pt.value===void 0)&&(pt.value=Se(l.value),F.value||pt.value.styleCursor(!1)),b.value&&!o.static){let M=W(0,0,o.maxW,o.maxH),U=W(0,0,o.minW,o.minH);const mt=re({edges:{left:!1,right:"."+x.value.trim().replace(" ","."),bottom:"."+x.value.trim().replace(" ","."),top:!1},ignoreFrom:o.resizeIgnoreFrom,restrictSize:{min:{height:U.height*S.value,width:U.width*S.value},max:{height:M.height*S.value,width:M.width*S.value}}},o.resizeOption);o.preserveAspectRatio&&(mt.modifiers=[Se.modifiers.aspectRatio({ratio:"preserve"})]),pt.value.resizable(mt),V.value||(V.value=!0,pt.value.on("resizestart resizemove resizeend",function(Pt){q(Pt)}))}else pt.value.resizable({enabled:!1})}const We=Eu();function kt(){at.value=Et.value,Tt.value=ht.value;let M=We==null?void 0:We.default[0].elm.getBoundingClientRect(),U=gt(M.height,M.width,!0);if(U.wo.maxW&&(U.w=o.maxW),U.ho.maxH&&(U.h=o.maxH),U.h<1&&(U.h=1),U.w<1&&(U.w=1),(Et.value!==U.w||ht.value!==U.h)&&n("resize",o.i,U.h,U.w,M.height,M.width),at.value!==U.w||Tt.value!==U.h){n("resized",o.i,U.h,U.w,M.height,M.width);const mt={eventType:"resizeend",i:o.i,x:B.value,y:_t.value,h:U.h,w:U.w};s.emit("resizeEvent",mt)}}return e(re({autoSize:kt,calcXY:Z,dragging:L},o)),(M,U)=>(Kt(),ue("div",{ref_key:"this$refsItem",ref:l,class:en(["vue-grid-item",j.value]),style:Te(X.value)},[sn(M.$slots,"default",{style:Te(X.value)}),ne.value?(Kt(),ue("span",{key:0,ref:"handle",class:en(x.value)},null,2)):Xl("",!0)],6))}}));function nm(t){return{all:t=t||new Map,on:function(e,n){var o=t.get(e);o?o.push(n):t.set(e,[n])},off:function(e,n){var o=t.get(e);o&&(n?o.splice(o.indexOf(n)>>>0,1):t.set(e,[]))},emit:function(e,n){var o=t.get(e);o&&o.slice().map(function(r){r(n)}),(o=t.get("*"))&&o.slice().map(function(r){r(e,n)})}}}var Ci={exports:{}},om=Ci.exports={};om.forEach=function(t,e){for(var n=0;n";while(s[0]);return r>4?r:o}();return t===n};Ga.isLegacyOpera=function(){return!!window.opera};var Qa={exports:{}},cm=Qa.exports={};cm.getOption=um;function um(t,e,n){var o=t[e];return o==null&&n!==void 0?n:o}var Qs=Qa.exports,fm=function(t){t=t||{};var e=t.reporter,n=Qs.getOption(t,"async",!0),o=Qs.getOption(t,"auto",!0);o&&!n&&(e&&e.warn("Invalid options combination. auto=true and async=false is invalid. Setting async=true."),n=!0);var r=Js(),i,s=!1;function l(g,b){!s&&o&&n&&r.size()===0&&u(),r.add(g,b)}function a(){for(s=!0;r.size();){var g=r;r=Js(),g.process()}s=!1}function c(g){s||(g===void 0&&(g=n),i&&(f(i),i=null),g?u():a())}function u(){i=d(a)}function f(g){var b=clearTimeout;return b(g)}function d(g){var b=function(S){return setTimeout(S,0)};return b(g)}return{add:l,force:c}};function Js(){var t={},e=0,n=0,o=0;function r(l,a){a||(a=l,l=0),l>n?n=l:l div::-webkit-scrollbar { "+c(["display: none"])+` } + +`,X+="."+ft+" { "+c(["-webkit-animation-duration: 0.1s","animation-duration: 0.1s","-webkit-animation-name: "+et,"animation-name: "+et])+` } +`,X+="@-webkit-keyframes "+et+` { 0% { opacity: 1; } 50% { opacity: 0; } 100% { opacity: 1; } } +`,X+="@keyframes "+et+" { 0% { opacity: 1; } 50% { opacity: 0; } 100% { opacity: 1; } }",k(X)}}function d(y){y.className+=" "+l+"_animation_active"}function g(y,v,K){if(y.addEventListener)y.addEventListener(v,K);else if(y.attachEvent)y.attachEvent("on"+v,K);else return e.error("[scroll] Don't know how to add event listeners.")}function b(y,v,K){if(y.removeEventListener)y.removeEventListener(v,K);else if(y.detachEvent)y.detachEvent("on"+v,K);else return e.error("[scroll] Don't know how to remove event listeners.")}function S(y){return o(y).container.childNodes[0].childNodes[0].childNodes[0]}function A(y){return o(y).container.childNodes[0].childNodes[0].childNodes[1]}function F(y,v){var K=o(y).listeners;if(!K.push)throw new Error("Cannot add listener to an element that is not detectable.");o(y).listeners.push(v)}function P(y,v,K){K||(K=v,v=y,y=null),y=y||{};function k(){if(y.debug){var x=Array.prototype.slice.call(arguments);if(x.unshift(r.get(v),"Scroll: "),e.log.apply)e.log.apply(null,x);else for(var N=0;N[10,10]},isDraggable:{type:Boolean,default:!0},isResizable:{type:Boolean,default:!0},isMirrored:{type:Boolean,default:!1},isBounded:{type:Boolean,default:!1},useCssTransforms:{type:Boolean,default:!0},verticalCompact:{type:Boolean,default:!0},restoreOnDrag:{type:Boolean,default:!1},layout:{},responsive:{type:Boolean,default:!1},responsiveLayouts:{default:()=>({})},transformScale:{default:1},breakpoints:{default:()=>({lg:1200,md:996,sm:768,xs:480,xxs:0})},cols:{default:()=>({lg:12,md:10,sm:6,xs:4,xxs:2})},preventCollision:{type:Boolean,default:!1},useStyleCursor:{type:Boolean,default:!0}},emits:["layout-created","layout-before-mount","layout-mounted","layout-updated","layout-ready","update:layout","breakpoint-changed"],setup(t,{expose:e,emit:n}){const o=t,r=tt(null),i=tt({}),s=tt(0),l=tt(!1),a=tt({x:0,y:0,w:0,h:0,i:-1}),c=tt({}),u=tt(null),f=tt(null),d=tt(null),g=tt(),b=tt({}),S=tt(),A=nm();mn("eventBus",A);function F(z){if(!z)et();else{const{eventType:V,i:at,x:Tt,y:lt,h:Q,w:B}=z;et(V,at,Tt,lt,Q,B)}}function P(z){if(!z)k();else{const{eventType:V,i:at,x:Tt,y:lt,h:Q,w:B}=z;k(V,at,Tt,lt,Q,B)}}A.on("resizeEvent",F),A.on("dragEvent",P),n("layout-created",o.layout),ci(()=>{A.off("resizeEvent",F),A.off("dragEvent",P),Ch("resize",v),d.value&&d.value.uninstall(b.value)}),to(()=>{n("layout-before-mount",o.layout)}),ai(()=>{n("layout-mounted",o.layout),ie(function(){bh(o.layout),f.value=o.layout,ie(()=>{X(),v(),Ph("resize",v),un(o.layout,o.verticalCompact),n("layout-updated",o.layout),y(),ie(()=>{d.value=Pm({strategy:"scroll",callOnAdd:!1}),d.value.listenTo(b.value,function(){v()})})})})}),dt(r,(z,V)=>{ie(()=>{A.emit("updateWidth",z),V===null&&ie(()=>{n("layout-ready",o.layout)}),y()})}),dt(()=>o.layout,()=>{L()}),dt(()=>o.layout.length,()=>{L()}),dt(()=>o.colNum,z=>{A.emit("setColNum",z)}),dt(()=>o.rowHeight,z=>{A.emit("setRowHeight",z)}),dt(()=>o.isDraggable,z=>{A.emit("setDraggable",z)}),dt(()=>o.isResizable,z=>{A.emit("setResizable",z)}),dt(()=>o.isBounded,z=>{A.emit("setBounded",z)}),dt(()=>o.transformScale,z=>{A.emit("setTransformScale",z)}),dt(()=>o.responsive,z=>{z||(n("update:layout",f.value||[]),A.emit("setColNum",o.colNum)),v()}),dt(()=>o.maxRows,z=>{A.emit("setMaxRows",z)}),dt(()=>o.margin,()=>{y()});function L(){if(o.layout!==void 0&&f.value!==null){if(o.layout.length!==f.value.length){let z=ot(o.layout,f.value);z.length>0&&(o.layout.length>f.value.length?f.value=f.value.concat(z):f.value=f.value.filter(V=>!z.some(at=>V.i===at.i))),s.value=o.layout.length,X()}un(o.layout,o.verticalCompact),A.emit("updateWidth",r.value),y(),n("layout-updated",o.layout)}}function y(){i.value={height:K()}}function v(){b.value!==null&&b.value!==void 0&&(r.value=b.value.offsetWidth),A.emit("resizeEvent")}function K(){return o.autoSize?fh(o.layout)*(o.rowHeight+o.margin[1])+o.margin[1]+"px":""}function k(z,V,at,Tt,lt,Q){let B=Rs(o.layout,V);B==null&&(B={x:0,y:0}),z==="dragstart"&&!o.verticalCompact&&(g.value=o.layout.reduce((Et,{i:ht,x:wt,y:pt})=>Ue(re({},Et),{[ht]:{x:wt,y:pt}}),{})),z==="dragmove"||z==="dragstart"?(a.value.i=V,a.value.x=B.x,a.value.y=B.y,a.value.w=Q,a.value.h=lt,ie(function(){l.value=!0}),A.emit("updateWidth",r.value)):ie(function(){l.value=!1});const _t=Fr(o.layout,B,at,Tt,!0,o.preventCollision);n("update:layout",_t),o.restoreOnDrag?(B.static=!0,un(o.layout,o.verticalCompact,g.value),B.static=!1):un(o.layout,o.verticalCompact),A.emit("compact"),y(),z==="dragend"&&(g.value=void 0,n("layout-updated",_t))}function et(z,V,at,Tt,lt,Q){let B=Rs(o.layout,V);B==null&&(B={h:0,w:0}),Q=Number(Q),lt=Number(lt);let _t;if(o.preventCollision){const Et=ma(o.layout,Ue(re({},B),{w:Q,h:lt})).filter(ht=>ht.i!==(B==null?void 0:B.i));if(_t=Et.length>0,_t){let ht=1/0,wt=1/0;Et.forEach(pt=>{pt.x>Number(B==null?void 0:B.x)&&(ht=Math.min(ht,pt.x)),pt.y>Number(B==null?void 0:B.y)&&(wt=Math.min(wt,pt.y))}),Number.isFinite(ht)&&(B.w=ht-B.x),Number.isFinite(wt)&&(B.h=wt-B.y)}}_t||(B.w=Q,B.h=lt),z==="resizestart"||z==="resizemove"?(a.value.i=V,a.value.x=at,a.value.y=Tt,a.value.w=B.w,a.value.h=B.h,ie(function(){l.value=!0}),A.emit("updateWidth",r.value)):ie(function(){l.value=!1}),o.responsive&&ft(),un(o.layout,o.verticalCompact),A.emit("compact"),y(),z==="resizeend"&&n("layout-updated",o.layout)}function ft(){let z=wh(o.breakpoints,r.value),V=Nr(z,o.cols);u.value!=null&&!c.value[u.value]&&(c.value[u.value]=kr(o.layout));let at=Eh(f.value,c.value,o.breakpoints,z,u.value,V,o.verticalCompact);c.value[z]=at,u.value!==z&&n("breakpoint-changed",z,at),n("update:layout",at),u.value=z,A.emit("setColNum",Nr(z,o.cols))}function X(){c.value=Object.assign({},o.responsiveLayouts)}function ot(z,V){let at=z.filter(function(lt){return!V.some(function(Q){return lt.i===Q.i})}),Tt=V.filter(function(lt){return!z.some(function(Q){return lt.i===Q.i})});return at.concat(Tt)}return e(Ue(re({},o),{width:r,mergeStyle:i,lastLayoutLength:s,isDragging:l,placeholder:a,layouts:c,lastBreakpoint:u,originalLayout:f,erd:d,defaultGridItem:S,dragEvent:k})),(z,V)=>(Kt(),ue("div",{ref_key:"this$refsLayout",ref:b,class:"vue-grid-layout",style:Te(i.value)},[sn(z.$slots,"default"),fu(Dt(em,{ref_key:"defaultGridItem",ref:S,class:"vue-grid-placeholder",x:a.value.x,y:a.value.y,w:a.value.w,h:a.value.h,i:a.value.i},null,8,["x","y","w","h","i"]),[[df,l.value]])],4))}}));const Am=()=>ea(()=>import("./TrunkA-456166fc.js"),[]),Mm=()=>ea(()=>import("./BranchA-0358e166.js"),[]),Rm=[{path:"/",redirect:{name:"shared-screen"}},{path:"/shared-screen/",name:"shared-screen",component:ah,redirect:{name:"trunk-a"},children:[{path:"trunk-a",name:"trunk-a",component:Am,redirect:{name:"branch-a"},children:[{path:"branch-a",name:"branch-a",component:Mm}]}]}],Om=Hd({history:td(),routes:Rm}),Ri=Symbol.for("scream:f--group"),Za="30px";const Im={class:"f-card"},zm={__name:"FCard",setup(t){const e=tt(null),n=tt([]);return mn(Ri,{activatedTab:e,tabs:n,addTab:o=>{n.value.length||(e.value=o),n.value.push(o)},updateTab:o=>{e.value=o}}),(o,r)=>(Kt(),ue("div",Im,[sn(o.$slots,"default",{},void 0,!0)]))}},Dm=He(zm,[["__scopeId","data-v-c613d4bf"]]);const km={class:"f-card-header"},Fm={class:"f-card-header__title"},Nm={class:"f-card-header__tabs"},Hm=["onClick"],Lm={__name:"FCardHeader",setup(t){const{tabs:e,updateTab:n,activatedTab:o}=ee(Ri);return(r,i)=>(Kt(),ue("div",km,[jt("div",Fm,[sn(r.$slots,"default",{},void 0,!0)]),jt("div",Nm,[(Kt(!0),ue(Jt,null,_u(Yt(e),s=>(Kt(),ue("li",{key:s,class:en([{"f-card-header__tab--activated":Yt(o)===s},"f-card-header__tab"]),style:Te({height:Yt(Za)}),onClick:()=>{Yt(n)(s)}},yc(s),15,Hm))),128))])]))}},Bm=He(Lm,[["__scopeId","data-v-04280698"]]),jm={};function $m(t,e){return sn(t.$slots,"default")}const Wm=He(jm,[["render",$m]]);const Um={__name:"FCardTab",props:{title:{type:String,required:!0}},setup(t){const e=t,{addTab:n,activatedTab:o}=ee(Ri);return n(e.title),(r,i)=>Yt(o)===e.title?(Kt(),ue("div",{key:0,class:"f-card-tab",style:Te({paddingTop:Yt(Za)})},[sn(r.$slots,"default",{},void 0,!0)],4)):Xl("",!0)}},Km=He(Um,[["__scopeId","data-v-1832e360"]]),qm=Object.freeze(Object.defineProperty({__proto__:null,FCard:Dm,FCardBody:Wm,FCardHeader:Bm,FCardTab:Km},Symbol.toStringTag,{value:"Module"})),Oi=Mf(zf);Oi.use(Om);Object.entries(qm).forEach(([t,e])=>{Oi.component(t,e)});Oi.mount("#app");export{Jt as F,Ms as L,em as M,He as _,Dt as a,Ym as b,ue as c,xl as d,Xm as e,tt as f,_c as g,Lt as h,Gl as i,ai as j,to as k,ha as l,Wd as m,wl as n,Kt as o,fu as p,wr as q,kl as r,_u as s,Gm as t,Yt as u,Lo as v,dt as w,Qm as x,Jm as y,Yu as z}; diff --git a/assets/index-c447836f.css b/assets/index-c447836f.css deleted file mode 100644 index c0e8c00..0000000 --- a/assets/index-c447836f.css +++ /dev/null @@ -1 +0,0 @@ -*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}html,body{height:100%;width:100%;min-height:100%;min-width:100%}#app{position:relative;width:var(--design-width);height:var(--design-height);transform:scale(var(--scale));transform-origin:left top}.fullscreen[data-v-9070052b]{width:100%;height:100%}.layer{position:absolute;top:0;left:0;background-color:transparent;overflow:hidden;visibility:hidden}.layer *{visibility:visible}.header[data-v-16d584ed]{width:100%;height:var(--top-row-height);border:1px solid black}.sidenav[data-v-22abda97]{position:fixed;top:var(--starting-height)}.sidenav-item[data-v-22abda97]{display:block;position:relative;left:-180px;transition:.3s;padding:15px;width:200px;text-decoration:none;font-size:20px;border:1px solid black;margin-top:10px;text-align:right}.sidenav-item[data-v-22abda97]:hover{left:0;text-align:center}.shared-screen[data-v-77cb721d]{width:100%;padding:10px}.background[data-v-77cb721d]{width:100%;height:100%;background-size:50px 50px;background-color:#fff;background-image:-webkit-linear-gradient(transparent 99%,rgba(0,0,0,.1) 99%,rgba(0,0,0,.1)),-webkit-linear-gradient(0deg,transparent 99%,rgba(0,0,0,.1) 99%,rgba(0,0,0,.1));background-image:-moz-linear-gradient(transparent 99%,rgba(0,0,0,.1) 99%,rgba(0,0,0,.1)),-moz-linear-gradient(0deg,transparent 99%,rgba(0,0,0,.1) 99%,rgba(0,0,0,.1));background-image:linear-gradient(transparent 99%,rgba(0,0,0,.1) 99%,rgba(0,0,0,.1)),linear-gradient(90deg,transparent 99%,rgba(0,0,0,.1) 99%,rgba(0,0,0,.1))}.vue-grid-item{transition:all .2s ease;transition-property:left,top,right}.vue-grid-item.no-touch{-ms-touch-action:none;touch-action:none}.vue-grid-item.cssTransforms{transition-property:transform;left:0;right:auto}.vue-grid-item.cssTransforms.render-rtl{left:auto;right:0}.vue-grid-item.resizing{opacity:.6;z-index:3}.vue-grid-item.vue-draggable-dragging{transition:none;z-index:3}.vue-grid-item.vue-grid-placeholder{background:red;opacity:.2;transition-duration:.1s;z-index:2;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none}.vue-grid-item>.vue-resizable-handle{position:absolute;width:20px;height:20px;bottom:0;right:0;background:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJubyI/Pg08IS0tIEdlbmVyYXRvcjogQWRvYmUgRmlyZXdvcmtzIENTNiwgRXhwb3J0IFNWRyBFeHRlbnNpb24gYnkgQWFyb24gQmVhbGwgKGh0dHA6Ly9maXJld29ya3MuYWJlYWxsLmNvbSkgLiBWZXJzaW9uOiAwLjYuMSAgLS0+DTwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+DTxzdmcgaWQ9IlVudGl0bGVkLVBhZ2UlMjAxIiB2aWV3Qm94PSIwIDAgNiA2IiBzdHlsZT0iYmFja2dyb3VuZC1jb2xvcjojZmZmZmZmMDAiIHZlcnNpb249IjEuMSINCXhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbDpzcGFjZT0icHJlc2VydmUiDQl4PSIwcHgiIHk9IjBweCIgd2lkdGg9IjZweCIgaGVpZ2h0PSI2cHgiDT4NCTxnIG9wYWNpdHk9IjAuMzAyIj4NCQk8cGF0aCBkPSJNIDYgNiBMIDAgNiBMIDAgNC4yIEwgNCA0LjIgTCA0LjIgNC4yIEwgNC4yIDAgTCA2IDAgTCA2IDYgTCA2IDYgWiIgZmlsbD0iIzAwMDAwMCIvPg0JPC9nPg08L3N2Zz4=);background-position:bottom right;padding:0 3px 3px 0;background-repeat:no-repeat;background-origin:content-box;box-sizing:border-box;cursor:se-resize}.vue-grid-item>.vue-rtl-resizable-handle{bottom:0;left:0;background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAuMDAwMDAwMDAwMDAwMDAyIiBoZWlnaHQ9IjEwLjAwMDAwMDAwMDAwMDAwMiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KIDwhLS0gQ3JlYXRlZCB3aXRoIE1ldGhvZCBEcmF3IC0gaHR0cDovL2dpdGh1Yi5jb20vZHVvcGl4ZWwvTWV0aG9kLURyYXcvIC0tPgogPGc+CiAgPHRpdGxlPmJhY2tncm91bmQ8L3RpdGxlPgogIDxyZWN0IGZpbGw9Im5vbmUiIGlkPSJjYW52YXNfYmFja2dyb3VuZCIgaGVpZ2h0PSIxMiIgd2lkdGg9IjEyIiB5PSItMSIgeD0iLTEiLz4KICA8ZyBkaXNwbGF5PSJub25lIiBvdmVyZmxvdz0idmlzaWJsZSIgeT0iMCIgeD0iMCIgaGVpZ2h0PSIxMDAlIiB3aWR0aD0iMTAwJSIgaWQ9ImNhbnZhc0dyaWQiPgogICA8cmVjdCBmaWxsPSJ1cmwoI2dyaWRwYXR0ZXJuKSIgc3Ryb2tlLXdpZHRoPSIwIiB5PSIwIiB4PSIwIiBoZWlnaHQ9IjEwMCUiIHdpZHRoPSIxMDAlIi8+CiAgPC9nPgogPC9nPgogPGc+CiAgPHRpdGxlPkxheWVyIDE8L3RpdGxlPgogIDxsaW5lIGNhbnZhcz0iI2ZmZmZmZiIgY2FudmFzLW9wYWNpdHk9IjEiIHN0cm9rZS1saW5lY2FwPSJ1bmRlZmluZWQiIHN0cm9rZS1saW5lam9pbj0idW5kZWZpbmVkIiBpZD0ic3ZnXzEiIHkyPSItNzAuMTc4NDA3IiB4Mj0iMTI0LjQ2NDE3NSIgeTE9Ii0zOC4zOTI3MzciIHgxPSIxNDQuODIxMjg5IiBzdHJva2Utd2lkdGg9IjEuNSIgc3Ryb2tlPSIjMDAwIiBmaWxsPSJub25lIi8+CiAgPGxpbmUgc3Ryb2tlPSIjNjY2NjY2IiBzdHJva2UtbGluZWNhcD0idW5kZWZpbmVkIiBzdHJva2UtbGluZWpvaW49InVuZGVmaW5lZCIgaWQ9InN2Z181IiB5Mj0iOS4xMDY5NTciIHgyPSIwLjk0NzI0NyIgeTE9Ii0wLjAxODEyOCIgeDE9IjAuOTQ3MjQ3IiBzdHJva2Utd2lkdGg9IjIiIGZpbGw9Im5vbmUiLz4KICA8bGluZSBzdHJva2UtbGluZWNhcD0idW5kZWZpbmVkIiBzdHJva2UtbGluZWpvaW49InVuZGVmaW5lZCIgaWQ9InN2Z183IiB5Mj0iOSIgeDI9IjEwLjA3MzUyOSIgeTE9IjkiIHgxPSItMC42NTU2NCIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2U9IiM2NjY2NjYiIGZpbGw9Im5vbmUiLz4KIDwvZz4KPC9zdmc+);background-position:bottom left;padding-left:3px;background-repeat:no-repeat;background-origin:content-box;cursor:sw-resize;right:auto}.vue-grid-item.disable-userselect{user-select:none}.vue-grid-layout{position:relative;transition:height .2s ease}.cards-container[data-v-af3643e6]{width:100%;height:100%;padding-top:var(--top-row-height-with-gutter);pointer-events:none}.vue-grid-item[data-v-af3643e6]{pointer-events:all;transition:none;border:1px solid black}.vue-grid-item>div[data-v-af3643e6]{height:100%;width:100%}.vue-grid-item .resizing[data-v-af3643e6]{opacity:.9}.vue-grid-item .text[data-v-af3643e6]{font-size:24px;text-align:center;position:absolute;top:0;bottom:0;left:0;right:0;margin:auto;height:100%;width:100%}.vue-grid-item .no-drag[data-v-af3643e6]{height:100%;width:100%}.vue-grid-item .minMax[data-v-af3643e6]{font-size:12px}.vue-grid-item .add[data-v-af3643e6]{cursor:pointer}.vue-draggable-handle[data-v-af3643e6]{position:absolute;width:20px;height:20px;top:0;left:0;background:url("data:image/svg+xml;utf8,") no-repeat;background-position:bottom right;padding:0 8px 8px 0;background-repeat:no-repeat;background-origin:content-box;box-sizing:border-box;cursor:pointer}.f-card[data-v-c613d4bf]{width:100%;height:100%;cursor:pointer;position:relative}.f-card-header[data-v-04280698]{display:flex;flex-direction:row}.f-card-header__title[data-v-04280698]{position:relative;left:-1px;top:-1px;border-left:1px solid white;border-top:1px solid white;border-bottom:1px solid black;border-right:1px solid black;border-bottom-right-radius:130px 120px;padding-left:10px;padding-right:30px;background-color:#fff}.f-card-header__tab[data-v-04280698]{display:inline-block;padding:0 10px;margin:0 10px}.f-card-header__tab--activated[data-v-04280698]{border-bottom:1.5px solid black}.f-card-tab[data-v-1832e360]{width:100%;height:100%;position:absolute;top:0;pointer-events:none} diff --git a/index.html b/index.html index faaa794..09a4c96 100644 --- a/index.html +++ b/index.html @@ -5,8 +5,8 @@ Big Screen | 大屏规范化项目 - - + +