@vtj/pro 0.8.25 → 0.8.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,2 +1,2 @@
1
- const __vite__fileDeps=["./index-DFLh1Xwk.js","./vue-router-pxpwpbvr.js","./@vue-DXjs1h6G.js","./element-plus-CmJkoIJL.js","./lodash-es-iLqVnzBD.js","./@vueuse-ByKc4Ggo.js","./@element-plus-Vqo2cZUp.js","./@popperjs-egqNnATr.js","./@ctrl-riLredlm.js","./dayjs-6gUf-wcg.js","./async-validator-7GrF_zuj.js","./memoize-one-BdPwpGay.js","./normalize-wheel-es-B6fDCfyv.js","./@floating-ui-CIcp7egp.js","./element-plus-Dj7XYlV7.css","./index-Dqe2lhtz.js","./monaco-editor-DwlLClUG.js","./monaco-editor-BgBQhOSF.css","./vue-DsB9nCS4.js","./mockjs-IStUBvTQ.js","./index-pPiycE5T.css","./index-D9EpXQVL.css","./preview-CemgC4vI.js"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]);
2
- import{d as f,S as n,u as p,ai as d,o as a,U as c,aF as _,_ as h,at as y}from"./@vue-DXjs1h6G.js";import{z as v,E as g}from"./element-plus-CmJkoIJL.js";import{_ as m}from"./monaco-editor-DwlLClUG.js";import{createRouter as O,createWebHashHistory as P}from"./vue-router-pxpwpbvr.js";import"./lodash-es-iLqVnzBD.js";import"./@vueuse-ByKc4Ggo.js";import"./@element-plus-Vqo2cZUp.js";import"./@popperjs-egqNnATr.js";import"./@ctrl-riLredlm.js";import"./dayjs-6gUf-wcg.js";import"./async-validator-7GrF_zuj.js";import"./memoize-one-BdPwpGay.js";import"./normalize-wheel-es-B6fDCfyv.js";import"./@floating-ui-CIcp7egp.js";(function(){const r=document.createElement("link").relList;if(r&&r.supports&&r.supports("modulepreload"))return;for(const e of document.querySelectorAll('link[rel="modulepreload"]'))o(e);new MutationObserver(e=>{for(const t of e)if(t.type==="childList")for(const i of t.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&o(i)}).observe(document,{childList:!0,subtree:!0});function s(e){const t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),e.crossOrigin==="use-credentials"?t.credentials="include":e.crossOrigin==="anonymous"?t.credentials="omit":t.credentials="same-origin",t}function o(e){if(e.ep)return;e.ep=!0;const t=s(e);fetch(e.href,t)}})();const E=f({__name:"app",setup(l){return(r,s)=>{const o=d("router-view");return a(),n(p(g),{locale:p(v)},{default:c(()=>[(a(),n(_,null,{default:c(()=>[h(o)]),_:1}))]),_:1},8,["locale"])}}}),L=[{path:"/",name:"home",component:()=>m(()=>import("./index-DFLh1Xwk.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21]),import.meta.url)},{path:"/preview/:id",name:"preview",component:()=>m(()=>import("./preview-CemgC4vI.js"),__vite__mapDeps([22,16,17,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,18,19,20]),import.meta.url)}],w=O({history:P(),routes:L}),u=y(E);u.use(w);u.mount("#app");
1
+ const __vite__fileDeps=["./index-Bk6g5atx.js","./vue-router-CPADLzbG.js","./@vue-DQ4WxKa6.js","./element-plus-BAJGvxQa.js","./lodash-es-iLqVnzBD.js","./@vueuse-8c25s-Jh.js","./@element-plus-D-VgZRoc.js","./@popperjs-egqNnATr.js","./@ctrl-riLredlm.js","./dayjs-6gUf-wcg.js","./async-validator-7GrF_zuj.js","./memoize-one-BdPwpGay.js","./normalize-wheel-es-B6fDCfyv.js","./@floating-ui-CIcp7egp.js","./element-plus-Dj7XYlV7.css","./index-DjAxfaii.js","./monaco-editor-DwlLClUG.js","./monaco-editor-BgBQhOSF.css","./vue-J7T6X87Y.js","./mockjs-IStUBvTQ.js","./index-pPiycE5T.css","./index-D9EpXQVL.css","./preview-DVOMDOhU.js"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]);
2
+ import{d as f,S as n,u as p,ai as d,o as a,U as c,aF as _,_ as h,at as y}from"./@vue-DQ4WxKa6.js";import{z as v,E as g}from"./element-plus-BAJGvxQa.js";import{_ as m}from"./monaco-editor-DwlLClUG.js";import{createRouter as O,createWebHashHistory as P}from"./vue-router-CPADLzbG.js";import"./lodash-es-iLqVnzBD.js";import"./@vueuse-8c25s-Jh.js";import"./@element-plus-D-VgZRoc.js";import"./@popperjs-egqNnATr.js";import"./@ctrl-riLredlm.js";import"./dayjs-6gUf-wcg.js";import"./async-validator-7GrF_zuj.js";import"./memoize-one-BdPwpGay.js";import"./normalize-wheel-es-B6fDCfyv.js";import"./@floating-ui-CIcp7egp.js";(function(){const r=document.createElement("link").relList;if(r&&r.supports&&r.supports("modulepreload"))return;for(const e of document.querySelectorAll('link[rel="modulepreload"]'))o(e);new MutationObserver(e=>{for(const t of e)if(t.type==="childList")for(const i of t.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&o(i)}).observe(document,{childList:!0,subtree:!0});function s(e){const t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),e.crossOrigin==="use-credentials"?t.credentials="include":e.crossOrigin==="anonymous"?t.credentials="omit":t.credentials="same-origin",t}function o(e){if(e.ep)return;e.ep=!0;const t=s(e);fetch(e.href,t)}})();const E=f({__name:"app",setup(l){return(r,s)=>{const o=d("router-view");return a(),n(p(g),{locale:p(v)},{default:c(()=>[(a(),n(_,null,{default:c(()=>[h(o)]),_:1}))]),_:1},8,["locale"])}}}),L=[{path:"/",name:"home",component:()=>m(()=>import("./index-Bk6g5atx.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21]),import.meta.url)},{path:"/preview/:id",name:"preview",component:()=>m(()=>import("./preview-DVOMDOhU.js"),__vite__mapDeps([22,16,17,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,18,19,20]),import.meta.url)}],w=O({history:P(),routes:L}),u=y(E);u.use(w);u.mount("#app");
@@ -1,2 +1,2 @@
1
- const __vite__fileDeps=["./vue-DsB9nCS4.js","./@vue-DXjs1h6G.js","./vue-router-pxpwpbvr.js","./element-plus-CmJkoIJL.js","./lodash-es-iLqVnzBD.js","./@vueuse-ByKc4Ggo.js","./@element-plus-Vqo2cZUp.js","./@popperjs-egqNnATr.js","./@ctrl-riLredlm.js","./dayjs-6gUf-wcg.js","./async-validator-7GrF_zuj.js","./memoize-one-BdPwpGay.js","./normalize-wheel-es-B6fDCfyv.js","./@floating-ui-CIcp7egp.js","./element-plus-Dj7XYlV7.css"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]);
2
- var u=(_,i,o)=>new Promise((a,p)=>{var r=t=>{try{e(o.next(t))}catch(n){p(n)}},m=t=>{try{e(o.throw(t))}catch(n){p(n)}},e=t=>t.done?a(t.value):Promise.resolve(t.value).then(r,m);e((o=o.apply(_,i)).next())});import{_ as s}from"./monaco-editor-DwlLClUG.js";import{useRoute as c}from"./vue-router-pxpwpbvr.js";import"./element-plus-CmJkoIJL.js";import{x as d,w as l,M as v}from"./index-Dqe2lhtz.js";import{d as f,r as R,S as E,W as V,X as C,o as x,i as P}from"./@vue-DXjs1h6G.js";import"./lodash-es-iLqVnzBD.js";import"./@vueuse-ByKc4Ggo.js";import"./@element-plus-Vqo2cZUp.js";import"./@popperjs-egqNnATr.js";import"./@ctrl-riLredlm.js";import"./dayjs-6gUf-wcg.js";import"./async-validator-7GrF_zuj.js";import"./memoize-one-BdPwpGay.js";import"./normalize-wheel-es-B6fDCfyv.js";import"./@floating-ui-CIcp7egp.js";import"./vue-DsB9nCS4.js";import"./mockjs-IStUBvTQ.js";const j=f({__name:"preview",setup(_){const i=new v,{provider:o,onReady:a}=d({mode:l.Runtime,service:i,dependencies:{Vue:()=>s(()=>import("./vue-DsB9nCS4.js").then(e=>e.V),__vite__mapDeps([0,1]),import.meta.url),VueRouter:()=>s(()=>import("./vue-router-pxpwpbvr.js"),__vite__mapDeps([2,1]),import.meta.url),ElementPlus:()=>s(()=>import("./element-plus-CmJkoIJL.js").then(e=>e.a),__vite__mapDeps([3,1,4,5,6,7,8,9,10,11,12,13,14]),import.meta.url)}}),p=c(),r=R(),m=P();return a(()=>u(this,null,function*(){m==null||m.appContext.app.use(o),r.value=yield o.getRenderComponent(p.params.id.toString())})),(e,t)=>r.value?(x(),E(V(r.value),{key:0})):C("",!0)}});export{j as default};
1
+ const __vite__fileDeps=["./vue-J7T6X87Y.js","./@vue-DQ4WxKa6.js","./vue-router-CPADLzbG.js","./element-plus-BAJGvxQa.js","./lodash-es-iLqVnzBD.js","./@vueuse-8c25s-Jh.js","./@element-plus-D-VgZRoc.js","./@popperjs-egqNnATr.js","./@ctrl-riLredlm.js","./dayjs-6gUf-wcg.js","./async-validator-7GrF_zuj.js","./memoize-one-BdPwpGay.js","./normalize-wheel-es-B6fDCfyv.js","./@floating-ui-CIcp7egp.js","./element-plus-Dj7XYlV7.css"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]);
2
+ var u=(_,i,o)=>new Promise((a,p)=>{var r=t=>{try{e(o.next(t))}catch(n){p(n)}},m=t=>{try{e(o.throw(t))}catch(n){p(n)}},e=t=>t.done?a(t.value):Promise.resolve(t.value).then(r,m);e((o=o.apply(_,i)).next())});import{_ as s}from"./monaco-editor-DwlLClUG.js";import{useRoute as c}from"./vue-router-CPADLzbG.js";import"./element-plus-BAJGvxQa.js";import{x as d,w as l,M as v}from"./index-DjAxfaii.js";import{d as f,r as R,S as E,W as V,X as C,o as x,i as P}from"./@vue-DQ4WxKa6.js";import"./lodash-es-iLqVnzBD.js";import"./@vueuse-8c25s-Jh.js";import"./@element-plus-D-VgZRoc.js";import"./@popperjs-egqNnATr.js";import"./@ctrl-riLredlm.js";import"./dayjs-6gUf-wcg.js";import"./async-validator-7GrF_zuj.js";import"./memoize-one-BdPwpGay.js";import"./normalize-wheel-es-B6fDCfyv.js";import"./@floating-ui-CIcp7egp.js";import"./vue-J7T6X87Y.js";import"./mockjs-IStUBvTQ.js";const j=f({__name:"preview",setup(_){const i=new v,{provider:o,onReady:a}=d({mode:l.Runtime,service:i,dependencies:{Vue:()=>s(()=>import("./vue-J7T6X87Y.js").then(e=>e.V),__vite__mapDeps([0,1]),import.meta.url),VueRouter:()=>s(()=>import("./vue-router-CPADLzbG.js"),__vite__mapDeps([2,1]),import.meta.url),ElementPlus:()=>s(()=>import("./element-plus-BAJGvxQa.js").then(e=>e.a),__vite__mapDeps([3,1,4,5,6,7,8,9,10,11,12,13,14]),import.meta.url)}}),p=c(),r=R(),m=P();return a(()=>u(this,null,function*(){m==null||m.appContext.app.use(o),r.value=yield o.getRenderComponent(p.params.id.toString())})),(e,t)=>r.value?(x(),E(V(r.value),{key:0})):C("",!0)}});export{j as default};
@@ -1,4 +1,4 @@
1
- import{aw as a,ax as e,E as s,ay as o,az as t,aA as r,aB as n,F as i,aC as l,aD as c,aE as d,aF as b,T as p,a7 as m,aG as f,a0 as u,a3 as S,aH as h,aI as R,aJ as v,aK as y,aL as C,aM as g,aN as T,a6 as w,aO as E,k as M,at as x,S as V,X as k,c as D,a as P,aP as B,aQ as N,aR as A,aS as H,ab as O,aT as z,Y as F,_ as I,h as U,aU as j,d as K,aV as _,aW as G,aX as L,aY as W,aZ as q,a_ as J,a$ as Q,b0 as X,b1 as Y,b2 as Z,ao as $,i as aa,g as ea,b3 as sa,ae as oa,J as ta,b4 as ra,b5 as na,b6 as ia,b7 as la,b8 as ca,G as da,b9 as ba,ba as pa,bb as ma,bc as fa,m as ua,bd as Sa,be as ha,D as Ra,an as va,bf as ya,bg as Ca,Q as ga,n as Ta,O as wa,ad as Ea,P as Ma,bh as xa,K as Va,l as ka,aj as Da,a8 as Pa,bi as Ba,j as Na,bj as Aa,bk as Ha,b as Oa,bl as za,I as Fa,a2 as Ia,o as Ua,bm as ja,L as Ka,bn as _a,bo as Ga,bp as La,a1 as Wa,e as qa,r as Ja,bq as Qa,ar as Xa,a9 as Ya,M as Za,ai as $a,aq as ae,W as ee,br as se,bs as oe,bt as te,bu as re,bv as ne,av as ie,bw as le,s as ce,bx as de,by as be,bz as pe,Z as me,bA as fe,am as ue,af as Se,t as he,p as Re,bB as ve,bC as ye,bD as Ce,u as ge,a4 as Te,bE as we,bF as Ee,bG as Me,bH as xe,R as Ve,bI as ke,ag as De,bJ as Pe,ah as Be,bK as Ne,al as Ae,$ as He,bL as Oe,B as ze,f as Fe,w as Ie,bM as Ue,bN as je,bO as Ke,U as _e,bP as Ge,V as Le,aa as We,bQ as qe,a5 as Je,bR as Qe}from"./@vue-DXjs1h6G.js";/**
1
+ import{aw as a,ax as e,E as s,ay as o,az as t,aA as r,aB as n,F as i,aC as l,aD as c,aE as d,aF as b,T as p,a7 as m,aG as f,a0 as u,a3 as S,aH as h,aI as R,aJ as v,aK as y,aL as C,aM as g,aN as T,a6 as w,aO as E,k as M,at as x,S as V,X as k,c as D,a as P,aP as B,aQ as N,aR as A,aS as H,ab as O,aT as z,Y as F,_ as I,h as U,aU as j,d as K,aV as _,aW as G,aX as L,aY as W,aZ as q,a_ as J,a$ as Q,b0 as X,b1 as Y,b2 as Z,ao as $,i as aa,g as ea,b3 as sa,ae as oa,J as ta,b4 as ra,b5 as na,b6 as ia,b7 as la,b8 as ca,G as da,b9 as ba,ba as pa,bb as ma,bc as fa,l as ua,bd as Sa,be as ha,D as Ra,an as va,bf as ya,bg as Ca,Q as ga,n as Ta,O as wa,ad as Ea,P as Ma,bh as xa,K as Va,p as ka,aj as Da,a8 as Pa,bi as Ba,j as Na,bj as Aa,bk as Ha,b as Oa,bl as za,I as Fa,a2 as Ia,o as Ua,bm as ja,L as Ka,bn as _a,bo as Ga,bp as La,a1 as Wa,e as qa,r as Ja,bq as Qa,ar as Xa,a9 as Ya,M as Za,ai as $a,aq as ae,W as ee,br as se,bs as oe,bt as te,bu as re,bv as ne,av as ie,bw as le,s as ce,bx as de,by as be,bz as pe,Z as me,bA as fe,am as ue,af as Se,t as he,m as Re,bB as ve,bC as ye,bD as Ce,u as ge,a4 as Te,bE as we,bF as Ee,bG as Me,bH as xe,R as Ve,bI as ke,ag as De,bJ as Pe,ah as Be,bK as Ne,al as Ae,$ as He,bL as Oe,B as ze,f as Fe,w as Ie,bM as Ue,bN as je,bO as Ke,U as _e,bP as Ge,V as Le,aa as We,bQ as qe,a5 as Je,bR as Qe}from"./@vue-DQ4WxKa6.js";/**
2
2
  * vue v3.4.27
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
@@ -1,4 +1,4 @@
1
- import{s as it,u as Y,av as at,G as I,k as T,n as lt,I as ut,a8 as ft,bh as ht,d as ze,a1 as pt,J as Ue,L as le,r as dt,f as mt}from"./@vue-DXjs1h6G.js";/*!
1
+ import{s as it,u as Y,av as at,G as I,k as T,n as lt,I as ut,a8 as ft,bh as ht,d as ze,a1 as pt,J as Ue,L as le,r as dt,f as mt}from"./@vue-DQ4WxKa6.js";/*!
2
2
  * vue-router v4.3.2
3
3
  * (c) 2024 Eduardo San Martin Morote
4
4
  * @license MIT
package/dist/index.html CHANGED
@@ -8,11 +8,11 @@
8
8
  <meta http-equiv="Pragma" content="no-cache"/>
9
9
  <meta http-equiv="Expires" content="0"/>
10
10
  <title>低代码设计器 - VTJ.PRO</title>
11
- <script type="module" crossorigin src="./assets/index-CzJDrYeY.js"></script>
12
- <link rel="modulepreload" crossorigin href="./assets/@vue-DXjs1h6G.js">
11
+ <script type="module" crossorigin src="./assets/index-yJspJ_Ow.js"></script>
12
+ <link rel="modulepreload" crossorigin href="./assets/@vue-DQ4WxKa6.js">
13
13
  <link rel="modulepreload" crossorigin href="./assets/lodash-es-iLqVnzBD.js">
14
- <link rel="modulepreload" crossorigin href="./assets/@vueuse-ByKc4Ggo.js">
15
- <link rel="modulepreload" crossorigin href="./assets/@element-plus-Vqo2cZUp.js">
14
+ <link rel="modulepreload" crossorigin href="./assets/@vueuse-8c25s-Jh.js">
15
+ <link rel="modulepreload" crossorigin href="./assets/@element-plus-D-VgZRoc.js">
16
16
  <link rel="modulepreload" crossorigin href="./assets/@popperjs-egqNnATr.js">
17
17
  <link rel="modulepreload" crossorigin href="./assets/@ctrl-riLredlm.js">
18
18
  <link rel="modulepreload" crossorigin href="./assets/dayjs-6gUf-wcg.js">
@@ -20,9 +20,9 @@
20
20
  <link rel="modulepreload" crossorigin href="./assets/memoize-one-BdPwpGay.js">
21
21
  <link rel="modulepreload" crossorigin href="./assets/normalize-wheel-es-B6fDCfyv.js">
22
22
  <link rel="modulepreload" crossorigin href="./assets/@floating-ui-CIcp7egp.js">
23
- <link rel="modulepreload" crossorigin href="./assets/element-plus-CmJkoIJL.js">
23
+ <link rel="modulepreload" crossorigin href="./assets/element-plus-BAJGvxQa.js">
24
24
  <link rel="modulepreload" crossorigin href="./assets/monaco-editor-DwlLClUG.js">
25
- <link rel="modulepreload" crossorigin href="./assets/vue-router-pxpwpbvr.js">
25
+ <link rel="modulepreload" crossorigin href="./assets/vue-router-CPADLzbG.js">
26
26
  <link rel="stylesheet" crossorigin href="./assets/element-plus-Dj7XYlV7.css">
27
27
  <link rel="stylesheet" crossorigin href="./assets/monaco-editor-BgBQhOSF.css">
28
28
  <link rel="stylesheet" crossorigin href="./assets/index-CMrtph8S.css">
package/package.json CHANGED
@@ -2,23 +2,23 @@
2
2
  "name": "@vtj/pro",
3
3
  "description": "VTJ.PRO",
4
4
  "private": false,
5
- "version": "0.8.25",
5
+ "version": "0.8.26",
6
6
  "type": "module",
7
7
  "dependencies": {
8
- "@vtj/core": "~0.8.25",
9
- "@vtj/designer": "~0.8.25",
10
- "@vtj/materials": "~0.8.25",
11
- "@vtj/renderer": "~0.8.25",
12
- "@vtj/local": "~0.8.25"
8
+ "@vtj/core": "~0.8.26",
9
+ "@vtj/materials": "~0.8.26",
10
+ "@vtj/local": "~0.8.26",
11
+ "@vtj/designer": "~0.8.26",
12
+ "@vtj/renderer": "~0.8.26"
13
13
  },
14
14
  "devDependencies": {
15
15
  "vue": "~3.4.15",
16
16
  "vue-router": "~4.3.0",
17
- "@vtj/charts": "~0.8.25",
18
- "@vtj/icons": "~0.8.25",
19
- "@vtj/ui": "~0.8.25",
17
+ "@vtj/icons": "~0.8.26",
18
+ "@vtj/charts": "~0.8.26",
20
19
  "@vtj/cli": "~0.8.10",
21
- "@vtj/utils": "~0.8.25"
20
+ "@vtj/utils": "~0.8.26",
21
+ "@vtj/ui": "~0.8.26"
22
22
  },
23
23
  "exports": {
24
24
  "./vite": {
package/src/extension.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  import * as Vue from 'vue';
2
2
  import * as core from '@vtj/core';
3
3
  import * as VtjUtils from '@vtj/utils';
4
+ import * as VtjUI from '@vtj/ui';
4
5
  import * as designer from '@vtj/designer';
5
6
  import * as renderer from '@vtj/renderer';
6
7
  import * as VtjIcons from '@vtj/icons';
@@ -31,6 +32,7 @@ export class Extension {
31
32
  (window as any).__VTJ_PRO__ = __VTJ_PRO__;
32
33
  (window as any).VtjUtils = VtjUtils;
33
34
  (window as any).VtjIcons = VtjIcons;
35
+ (window as any).VtjUI = VtjUI;
34
36
  (window as any).ElementPlus = ElementPlus;
35
37
  const { urls, library, params = [] } = options;
36
38
  this.urls = urls;
@@ -1 +0,0 @@
1
- var Ie=Object.defineProperty,Te=Object.defineProperties;var Ae=Object.getOwnPropertyDescriptors;var V=Object.getOwnPropertySymbols;var ie=Object.prototype.hasOwnProperty,se=Object.prototype.propertyIsEnumerable;var re=(e,t,n)=>t in e?Ie(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,z=(e,t)=>{for(var n in t||(t={}))ie.call(t,n)&&re(e,n,t[n]);if(V)for(var n of V(t))se.call(t,n)&&re(e,n,t[n]);return e},J=(e,t)=>Te(e,Ae(t));var K=(e,t)=>{var n={};for(var o in e)ie.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&V)for(var o of V(e))t.indexOf(o)<0&&se.call(e,o)&&(n[o]=e[o]);return n};var X=(e,t,n)=>new Promise((o,s)=>{var r=c=>{try{u(n.next(c))}catch(v){s(v)}},l=c=>{try{u(n.throw(c))}catch(v){s(v)}},u=c=>c.done?o(c.value):Promise.resolve(c.value).then(r,l);u((n=n.apply(e,t)).next())});import{g as be,b as Oe,u as _e,r as m,e as Y,s as Ce,w as Re,f as P,h as ee,i as k,j as te,n as Ee,k as W,t as We,l as Me,m as Be,p as De}from"./@vue-DXjs1h6G.js";var Fe=Object.defineProperty,Ne=Object.defineProperties,Le=Object.getOwnPropertyDescriptors,ue=Object.getOwnPropertySymbols,He=Object.prototype.hasOwnProperty,je=Object.prototype.propertyIsEnumerable,le=(e,t,n)=>t in e?Fe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Ve=(e,t)=>{for(var n in t||(t={}))He.call(t,n)&&le(e,n,t[n]);if(ue)for(var n of ue(t))je.call(t,n)&&le(e,n,t[n]);return e},ze=(e,t)=>Ne(e,Le(t));function Ct(e,t){var n;const o=Ce();return Re(()=>{o.value=e()},ze(Ve({},t),{flush:(n=void 0)!=null?n:"sync"})),Y(o)}var ae;const Q=typeof window!="undefined",Xe=e=>typeof e!="undefined",Z=e=>typeof e=="function",Ye=e=>typeof e=="string",L=()=>{},ke=Q&&((ae=window==null?void 0:window.navigator)==null?void 0:ae.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function M(e){return typeof e=="function"?e():_e(e)}function Pe(e,t){function n(...o){return new Promise((s,r)=>{Promise.resolve(e(()=>t.apply(this,o),{fn:t,thisArg:this,args:o})).then(s).catch(r)})}return n}function Qe(e,t={}){let n,o,s=L;const r=u=>{clearTimeout(u),s(),s=L};return u=>{const c=M(e),v=M(t.maxWait);return n&&r(n),c<=0||v!==void 0&&v<=0?(o&&(r(o),o=null),Promise.resolve(u())):new Promise((d,a)=>{s=t.rejectOnCancel?a:d,v&&!o&&(o=setTimeout(()=>{n&&r(n),o=null,d(u())},v)),n=setTimeout(()=>{o&&r(o),o=null,d(u())},c)})}}function Ue(e,t=!0,n=!0,o=!1){let s=0,r,l=!0,u=L,c;const v=()=>{r&&(clearTimeout(r),r=void 0,u(),u=L)};return a=>{const i=M(e),f=Date.now()-s,p=()=>c=a();return v(),i<=0?(s=Date.now(),p()):(f>i&&(n||!l)?(s=Date.now(),p()):t&&(c=new Promise((b,g)=>{u=o?g:b,r=setTimeout(()=>{s=Date.now(),l=!0,b(p()),v()},Math.max(0,i-f))})),!n&&!r&&(r=setTimeout(()=>l=!0,i)),l=!1,c)}}function qe(e){return e}function Ge(e,t){let n,o,s;const r=m(!0),l=()=>{r.value=!0,s()};P(e,l,{flush:"sync"});const u=Z(t)?t:t.get,c=Z(t)?void 0:t.set,v=ee((d,a)=>(o=d,s=a,{get(){return r.value&&(n=u(),r.value=!1),o(),n},set(i){c==null||c(i)}}));return Object.isExtensible(v)&&(v.trigger=l),v}function U(e){return be()?(Oe(e),!0):!1}function Je(e,t=200,n={}){return Pe(Qe(t,n),e)}function Rt(e,t=200,n={}){const o=m(e.value),s=Je(()=>{o.value=e.value},t,n);return P(e,()=>s()),o}function Wt(e,t=200,n=!1,o=!0,s=!1){return Pe(Ue(t,n,o,s),e)}function ne(e,t=!0){k()?te(e):t?e():Ee(e)}function Mt(e,t,n={}){const{immediate:o=!0}=n,s=m(!1);let r=null;function l(){r&&(clearTimeout(r),r=null)}function u(){s.value=!1,l()}function c(...v){l(),s.value=!0,r=setTimeout(()=>{s.value=!1,r=null,e(...v)},M(t))}return o&&(s.value=!0,Q&&c()),U(u),{isPending:Y(s),start:c,stop:u}}function C(e){var t;const n=M(e);return(t=n==null?void 0:n.$el)!=null?t:n}const B=Q?window:void 0,Ke=Q?window.document:void 0;function $(...e){let t,n,o,s;if(Ye(e[0])||Array.isArray(e[0])?([n,o,s]=e,t=B):[t,n,o,s]=e,!t)return L;Array.isArray(n)||(n=[n]),Array.isArray(o)||(o=[o]);const r=[],l=()=>{r.forEach(d=>d()),r.length=0},u=(d,a,i,f)=>(d.addEventListener(a,i,f),()=>d.removeEventListener(a,i,f)),c=P(()=>[C(t),M(s)],([d,a])=>{l(),d&&r.push(...n.flatMap(i=>o.map(f=>u(d,i,f,a))))},{immediate:!0,flush:"post"}),v=()=>{c(),l()};return U(v),v}let ce=!1;function Bt(e,t,n={}){const{window:o=B,ignore:s=[],capture:r=!0,detectIframe:l=!1}=n;if(!o)return;ke&&!ce&&(ce=!0,Array.from(o.document.body.children).forEach(i=>i.addEventListener("click",L)));let u=!0;const c=i=>s.some(f=>{if(typeof f=="string")return Array.from(o.document.querySelectorAll(f)).some(p=>p===i.target||i.composedPath().includes(p));{const p=C(f);return p&&(i.target===p||i.composedPath().includes(p))}}),d=[$(o,"click",i=>{const f=C(e);if(!(!f||f===i.target||i.composedPath().includes(f))){if(i.detail===0&&(u=!c(i)),!u){u=!0;return}t(i)}},{passive:!0,capture:r}),$(o,"pointerdown",i=>{const f=C(e);f&&(u=!i.composedPath().includes(f)&&!c(i))},{passive:!0}),l&&$(o,"blur",i=>{var f;const p=C(e);((f=o.document.activeElement)==null?void 0:f.tagName)==="IFRAME"&&!(p!=null&&p.contains(o.document.activeElement))&&t(i)})].filter(Boolean);return()=>d.forEach(i=>i())}function Dt(e={}){var t;const{window:n=B}=e,o=(t=e.document)!=null?t:n==null?void 0:n.document,s=Ge(()=>null,()=>o==null?void 0:o.activeElement);return n&&($(n,"blur",r=>{r.relatedTarget===null&&s.trigger()},!0),$(n,"focus",s.trigger,!0)),s}function xe(e,t=!1){const n=m(),o=()=>n.value=!!e();return o(),ne(o,t),n}function Ze(e){return JSON.parse(JSON.stringify(e))}const fe=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},de="__vueuse_ssr_handlers__";fe[de]=fe[de]||{};function Ft(e,t,{window:n=B,initialValue:o=""}={}){const s=m(o),r=W(()=>{var l;return C(t)||((l=n==null?void 0:n.document)==null?void 0:l.documentElement)});return P([r,()=>M(e)],([l,u])=>{var c;if(l&&n){const v=(c=n.getComputedStyle(l).getPropertyValue(u))==null?void 0:c.trim();s.value=v||o}},{immediate:!0}),P(s,l=>{var u;(u=r.value)!=null&&u.style&&r.value.style.setProperty(M(e),l)}),s}function Nt({document:e=Ke}={}){if(!e)return m("visible");const t=m(e.visibilityState);return $(e,"visibilitychange",()=>{t.value=e.visibilityState}),t}var ve=Object.getOwnPropertySymbols,et=Object.prototype.hasOwnProperty,tt=Object.prototype.propertyIsEnumerable,nt=(e,t)=>{var n={};for(var o in e)et.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&ve)for(var o of ve(e))t.indexOf(o)<0&&tt.call(e,o)&&(n[o]=e[o]);return n};function ot(e,t,n={}){const o=n,{window:s=B}=o,r=nt(o,["window"]);let l;const u=xe(()=>s&&"ResizeObserver"in s),c=()=>{l&&(l.disconnect(),l=void 0)},v=P(()=>C(e),a=>{c(),u.value&&s&&a&&(l=new ResizeObserver(t),l.observe(a,r))},{immediate:!0,flush:"post"}),d=()=>{c(),v()};return U(d),{isSupported:u,stop:d}}function Lt(e,t={}){const{reset:n=!0,windowResize:o=!0,windowScroll:s=!0,immediate:r=!0}=t,l=m(0),u=m(0),c=m(0),v=m(0),d=m(0),a=m(0),i=m(0),f=m(0);function p(){const b=C(e);if(!b){n&&(l.value=0,u.value=0,c.value=0,v.value=0,d.value=0,a.value=0,i.value=0,f.value=0);return}const g=b.getBoundingClientRect();l.value=g.height,u.value=g.bottom,c.value=g.left,v.value=g.right,d.value=g.top,a.value=g.width,i.value=g.x,f.value=g.y}return ot(e,p),P(()=>C(e),b=>!b&&p()),s&&$("scroll",p,{capture:!0,passive:!0}),o&&$("resize",p,{passive:!0}),ne(()=>{r&&p()}),{height:l,bottom:u,left:c,right:v,top:d,width:a,x:i,y:f,update:p}}var pe=Object.getOwnPropertySymbols,rt=Object.prototype.hasOwnProperty,it=Object.prototype.propertyIsEnumerable,st=(e,t)=>{var n={};for(var o in e)rt.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&pe)for(var o of pe(e))t.indexOf(o)<0&&it.call(e,o)&&(n[o]=e[o]);return n};function Ht(e,t,n={}){const o=n,{window:s=B}=o,r=st(o,["window"]);let l;const u=xe(()=>s&&"MutationObserver"in s),c=()=>{l&&(l.disconnect(),l=void 0)},v=P(()=>C(e),a=>{c(),u.value&&s&&a&&(l=new MutationObserver(t),l.observe(a,r))},{immediate:!0}),d=()=>{c(),v()};return U(d),{isSupported:u,stop:d}}var me;(function(e){e.UP="UP",e.RIGHT="RIGHT",e.DOWN="DOWN",e.LEFT="LEFT",e.NONE="NONE"})(me||(me={}));var ut=Object.defineProperty,ge=Object.getOwnPropertySymbols,lt=Object.prototype.hasOwnProperty,at=Object.prototype.propertyIsEnumerable,he=(e,t,n)=>t in e?ut(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ct=(e,t)=>{for(var n in t||(t={}))lt.call(t,n)&&he(e,n,t[n]);if(ge)for(var n of ge(t))at.call(t,n)&&he(e,n,t[n]);return e};const ft={easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]};ct({linear:qe},ft);function jt(e,t,n,o={}){var s,r,l;const{clone:u=!1,passive:c=!1,eventName:v,deep:d=!1,defaultValue:a}=o,i=k(),f=n||(i==null?void 0:i.emit)||((s=i==null?void 0:i.$emit)==null?void 0:s.bind(i))||((l=(r=i==null?void 0:i.proxy)==null?void 0:r.$emit)==null?void 0:l.bind(i==null?void 0:i.proxy));let p=v;t||(t="modelValue"),p=v||p||`update:${t.toString()}`;const b=O=>u?Z(u)?u(O):Ze(O):O,g=()=>Xe(e[t])?b(e[t]):a;if(c){const O=g(),y=m(O);return P(()=>e[t],_=>y.value=b(_)),P(y,_=>{(_!==e[t]||d)&&f(p,_)},{deep:d}),y}else return W({get(){return g()},set(O){f(p,O)}})}function Vt({window:e=B}={}){if(!e)return m(!1);const t=m(e.document.hasFocus());return $(e,"blur",()=>{t.value=!1}),$(e,"focus",()=>{t.value=!0}),t}function zt(e={}){const{window:t=B,initialWidth:n=1/0,initialHeight:o=1/0,listenOrientation:s=!0,includeScrollbar:r=!0}=e,l=m(n),u=m(o),c=()=>{t&&(r?(l.value=t.innerWidth,u.value=t.innerHeight):(l.value=t.document.documentElement.clientWidth,u.value=t.document.documentElement.clientHeight))};return c(),ne(c),$("resize",c,{passive:!0}),s&&$("orientationchange",c,{passive:!0}),{width:l,height:u}}function q(e){return be()?(Oe(e),!0):!1}function E(e){return typeof e=="function"?e():_e(e)}const H=typeof window!="undefined"&&typeof document!="undefined";typeof WorkerGlobalScope!="undefined"&&globalThis instanceof WorkerGlobalScope;const dt=e=>e!=null,vt=Object.prototype.toString,pt=e=>vt.call(e)==="[object Object]",j=()=>{},mt=gt();function gt(){var e,t;return H&&((e=window==null?void 0:window.navigator)==null?void 0:e.userAgent)&&(/iP(ad|hone|od)/.test(window.navigator.userAgent)||((t=window==null?void 0:window.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function ht(e){let t;function n(){return t||(t=e()),t}return n.reset=()=>X(this,null,function*(){const o=t;t=void 0,o&&(yield o)}),n}function Se(e){return k()}function yt(...e){if(e.length!==1)return We(...e);const t=e[0];return typeof t=="function"?Y(ee(()=>({get:t,set:j}))):m(t)}function wt(e,t={}){if(!Be(e))return De(e);const n=Array.isArray(e.value)?Array.from({length:e.value.length}):{};for(const o in e.value)n[o]=ee(()=>({get(){return e.value[o]},set(s){var r;if((r=E(t.replaceRef))!=null?r:!0)if(Array.isArray(e.value)){const u=[...e.value];u[o]=s,e.value=u}else{const u=J(z({},e.value),{[o]:s});Object.setPrototypeOf(u,Object.getPrototypeOf(e.value)),e.value=u}else e.value[o]=s}}));return n}function bt(e,t){Se()&&Me(e,t)}function Ot(e,t=!0,n){Se()?te(e,n):t?e():Ee(e)}function _t(e,t,n={}){const{immediate:o=!0}=n,s=m(!1);let r=null;function l(){r&&(clearTimeout(r),r=null)}function u(){s.value=!1,l()}function c(...v){l(),s.value=!0,r=setTimeout(()=>{s.value=!1,r=null,e(...v)},E(t))}return o&&(s.value=!0,H&&c()),q(u),{isPending:Y(s),start:c,stop:u}}function x(e){var t;const n=E(e);return(t=n==null?void 0:n.$el)!=null?t:n}const D=H?window:void 0,Et=H?window.document:void 0,$e=H?window.navigator:void 0;function S(...e){let t,n,o,s;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,o,s]=e,t=D):[t,n,o,s]=e,!t)return j;Array.isArray(n)||(n=[n]),Array.isArray(o)||(o=[o]);const r=[],l=()=>{r.forEach(d=>d()),r.length=0},u=(d,a,i,f)=>(d.addEventListener(a,i,f),()=>d.removeEventListener(a,i,f)),c=P(()=>[x(t),E(s)],([d,a])=>{if(l(),!d)return;const i=pt(a)?z({},a):a;r.push(...n.flatMap(f=>o.map(p=>u(d,f,p,i))))},{immediate:!0,flush:"post"}),v=()=>{c(),l()};return q(v),v}let ye=!1;function Xt(e,t,n={}){const{window:o=D,ignore:s=[],capture:r=!0,detectIframe:l=!1}=n;if(!o)return j;mt&&!ye&&(ye=!0,Array.from(o.document.body.children).forEach(i=>i.addEventListener("click",j)),o.document.documentElement.addEventListener("click",j));let u=!0;const c=i=>s.some(f=>{if(typeof f=="string")return Array.from(o.document.querySelectorAll(f)).some(p=>p===i.target||i.composedPath().includes(p));{const p=x(f);return p&&(i.target===p||i.composedPath().includes(p))}}),d=[S(o,"click",i=>{const f=x(e);if(!(!f||f===i.target||i.composedPath().includes(f))){if(i.detail===0&&(u=!c(i)),!u){u=!0;return}t(i)}},{passive:!0,capture:r}),S(o,"pointerdown",i=>{const f=x(e);u=!c(i)&&!!(f&&!i.composedPath().includes(f))},{passive:!0}),l&&S(o,"blur",i=>{setTimeout(()=>{var f;const p=x(e);((f=o.document.activeElement)==null?void 0:f.tagName)==="IFRAME"&&!(p!=null&&p.contains(o.document.activeElement))&&t(i)},0)})].filter(Boolean);return()=>d.forEach(i=>i())}function Pt(){const e=m(!1),t=k();return t&&te(()=>{e.value=!0},t),e}function G(e){const t=Pt();return W(()=>(t.value,!!e()))}function we(e,t={}){const{controls:n=!1,navigator:o=$e}=t,s=G(()=>o&&"permissions"in o);let r;const l=typeof e=="string"?{name:e}:e,u=m(),c=()=>{r&&(u.value=r.state)},v=ht(()=>X(this,null,function*(){if(s.value){if(!r)try{r=yield o.permissions.query(l),S(r,"change",c),c()}catch(d){u.value="prompt"}return r}}));return v(),n?{state:u,isSupported:s,query:v}:u}function Yt(e={}){const{navigator:t=$e,read:n=!1,source:o,copiedDuring:s=1500,legacy:r=!1}=e,l=G(()=>t&&"clipboard"in t),u=we("clipboard-read"),c=we("clipboard-write"),v=W(()=>l.value||r),d=m(""),a=m(!1),i=_t(()=>a.value=!1,s);function f(){l.value&&O(u.value)?t.clipboard.readText().then(y=>{d.value=y}):d.value=g()}v.value&&n&&S(["copy","cut"],f);function p(){return X(this,arguments,function*(y=E(o)){v.value&&y!=null&&(l.value&&O(c.value)?yield t.clipboard.writeText(y):b(y),d.value=y,a.value=!0,i.start())})}function b(y){const _=document.createElement("textarea");_.value=y!=null?y:"",_.style.position="absolute",_.style.opacity="0",document.body.appendChild(_),_.select(),document.execCommand("copy"),_.remove()}function g(){var y,_,T;return(T=(_=(y=document==null?void 0:document.getSelection)==null?void 0:y.call(document))==null?void 0:_.toString())!=null?T:""}function O(y){return y==="granted"||y==="prompt"}return{isSupported:v,text:d,copied:a,copy:p}}function xt(e,t,n={}){const i=n,{window:o=D}=i,s=K(i,["window"]);let r;const l=G(()=>o&&"MutationObserver"in o),u=()=>{r&&(r.disconnect(),r=void 0)},c=W(()=>{const f=E(e),p=(Array.isArray(f)?f:[f]).map(x).filter(dt);return new Set(p)}),v=P(()=>c.value,f=>{u(),l.value&&o&&f.size&&(r=new MutationObserver(t),f.forEach(p=>r.observe(p,s)))},{immediate:!0,flush:"post"}),d=()=>r==null?void 0:r.takeRecords(),a=()=>{u(),v()};return q(a),{isSupported:l,stop:a,takeRecords:d}}function kt(e,t={}){var n,o;const{pointerTypes:s,preventDefault:r,stopPropagation:l,exact:u,onMove:c,onEnd:v,onStart:d,initialValue:a,axis:i="both",draggingElement:f=D,containerElement:p,handle:b=e}=t,g=m((n=E(a))!=null?n:{x:0,y:0}),O=m(),y=h=>s?s.includes(h.pointerType):!0,_=h=>{E(r)&&h.preventDefault(),E(l)&&h.stopPropagation()},T=h=>{var F;if(E(t.disabled)||!y(h)||E(u)&&h.target!==E(e))return;const A=E(p),N=(F=A==null?void 0:A.getBoundingClientRect)==null?void 0:F.call(A),R=E(e).getBoundingClientRect(),oe={x:h.clientX-(A?R.left-N.left+A.scrollLeft:R.left),y:h.clientY-(A?R.top-N.top+A.scrollTop:R.top)};(d==null?void 0:d(oe,h))!==!1&&(O.value=oe,_(h))},w=h=>{if(E(t.disabled)||!y(h)||!O.value)return;const F=E(p),A=E(e).getBoundingClientRect();let{x:N,y:R}=g.value;(i==="x"||i==="both")&&(N=h.clientX-O.value.x,F&&(N=Math.min(Math.max(0,N),F.scrollWidth-A.width))),(i==="y"||i==="both")&&(R=h.clientY-O.value.y,F&&(R=Math.min(Math.max(0,R),F.scrollHeight-A.height))),g.value={x:N,y:R},c==null||c(g.value,h),_(h)},I=h=>{E(t.disabled)||!y(h)||O.value&&(O.value=void 0,v==null||v(g.value,h),_(h))};if(H){const h={capture:(o=t.capture)!=null?o:!0};S(b,"pointerdown",T,h),S(f,"pointermove",w,h),S(f,"pointerup",I,h)}return J(z({},wt(g)),{position:g,isDragging:W(()=>!!O.value),style:W(()=>`left:${g.value.x}px;top:${g.value.y}px;`)})}function St(e,t,n={}){const a=n,{window:o=D}=a,s=K(a,["window"]);let r;const l=G(()=>o&&"ResizeObserver"in o),u=()=>{r&&(r.disconnect(),r=void 0)},c=W(()=>Array.isArray(e)?e.map(i=>x(i)):[x(e)]),v=P(c,i=>{if(u(),l.value&&o){r=new ResizeObserver(t);for(const f of i)f&&r.observe(f,s)}},{immediate:!0,flush:"post"}),d=()=>{u(),v()};return q(d),{isSupported:l,stop:d}}function Qt(e,t={width:0,height:0},n={}){const{window:o=D,box:s="content-box"}=n,r=W(()=>{var a,i;return(i=(a=x(e))==null?void 0:a.namespaceURI)==null?void 0:i.includes("svg")}),l=m(t.width),u=m(t.height),{stop:c}=St(e,([a])=>{const i=s==="border-box"?a.borderBoxSize:s==="content-box"?a.contentBoxSize:a.devicePixelContentBoxSize;if(o&&r.value){const f=x(e);if(f){const p=o.getComputedStyle(f);l.value=Number.parseFloat(p.width),u.value=Number.parseFloat(p.height)}}else if(i){const f=Array.isArray(i)?i:[i];l.value=f.reduce((p,{inlineSize:b})=>p+b,0),u.value=f.reduce((p,{blockSize:b})=>p+b,0)}else l.value=a.contentRect.width,u.value=a.contentRect.height},n);Ot(()=>{const a=x(e);a&&(l.value="offsetWidth"in a?a.offsetWidth:t.width,u.value="offsetHeight"in a?a.offsetHeight:t.height)});const v=P(()=>x(e),a=>{l.value=a?t.width:0,u.value=a?t.height:0});function d(){c(),v()}return{width:l,height:u,stop:d}}const $t={page:e=>[e.pageX,e.pageY],client:e=>[e.clientX,e.clientY],screen:e=>[e.screenX,e.screenY],movement:e=>e instanceof Touch?null:[e.movementX,e.movementY]};function It(e={}){const{type:t="page",touch:n=!0,resetOnTouchEnds:o=!1,initialValue:s={x:0,y:0},window:r=D,target:l=r,scroll:u=!0,eventFilter:c}=e;let v=null;const d=m(s.x),a=m(s.y),i=m(null),f=typeof t=="function"?t:$t[t],p=w=>{const I=f(w);v=w,I&&([d.value,a.value]=I,i.value="mouse")},b=w=>{if(w.touches.length>0){const I=f(w.touches[0]);I&&([d.value,a.value]=I,i.value="touch")}},g=()=>{if(!v||!r)return;const w=f(v);v instanceof MouseEvent&&w&&(d.value=w[0]+r.scrollX,a.value=w[1]+r.scrollY)},O=()=>{d.value=s.x,a.value=s.y},y=c?w=>c(()=>p(w),{}):w=>p(w),_=c?w=>c(()=>b(w),{}):w=>b(w),T=c?()=>c(()=>g(),{}):()=>g();if(l){const w={passive:!0};S(l,["mousemove","dragover"],y,w),n&&t!=="movement"&&(S(l,["touchstart","touchmove"],_,w),o&&S(l,"touchend",O,w)),u&&t==="page"&&S(r,"scroll",T,{passive:!0})}return{x:d,y:a,sourceType:i}}function Ut(e,t={}){const{handleOutside:n=!0,window:o=D}=t,s=t.type||"page",{x:r,y:l,sourceType:u}=It(t),c=m(e!=null?e:o==null?void 0:o.document.body),v=m(0),d=m(0),a=m(0),i=m(0),f=m(0),p=m(0),b=m(!0);let g=()=>{};return o&&(g=P([c,r,l],()=>{const O=x(c);if(!O)return;const{left:y,top:_,width:T,height:w}=O.getBoundingClientRect();a.value=y+(s==="page"?o.pageXOffset:0),i.value=_+(s==="page"?o.pageYOffset:0),f.value=w,p.value=T;const I=r.value-a.value,h=l.value-i.value;b.value=T===0||w===0||I<0||h<0||I>T||h>w,(n||!b.value)&&(v.value=I,d.value=h)},{immediate:!0}),S(document,"mouseleave",()=>{b.value=!0})),{x:r,y:l,sourceType:u,elementX:v,elementY:d,elementPositionX:a,elementPositionY:i,elementHeight:f,elementWidth:p,isOutside:b,stop:g}}function qt(e=null,t={}){var n,o,s;const{document:r=Et,restoreOnUnmount:l=a=>a}=t,u=(n=r==null?void 0:r.title)!=null?n:"",c=yt((o=e!=null?e:r==null?void 0:r.title)!=null?o:null),v=e&&typeof e=="function";function d(a){if(!("titleTemplate"in t))return a;const i=t.titleTemplate||"%s";return typeof i=="function"?i(a):E(i).replace(/%s/g,a)}return P(c,(a,i)=>{a!==i&&r&&(r.title=d(typeof a=="string"?a:""))},{immediate:!0}),t.observe&&!t.titleTemplate&&r&&!v&&xt((s=r.head)==null?void 0:s.querySelector("title"),()=>{r&&r.title!==c.value&&(c.value=d(r.title))},{childList:!0}),bt(()=>{if(l){const a=l(u,c.value||"");a!=null&&r&&(r.title=a)}}),c}export{C as a,zt as b,Lt as c,ot as d,Wt as e,Ft as f,Mt as g,Ht as h,Q as i,Nt as j,Vt as k,Ct as l,jt as m,Dt as n,Bt as o,Ut as p,S as q,Rt as r,Qt as s,U as t,$ as u,kt as v,qt as w,Yt as x,Xt as y};
@@ -1 +0,0 @@
1
- var g=Object.defineProperty;var h=Object.getOwnPropertySymbols;var v=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable;var f=(r,t,e)=>t in r?g(r,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):r[t]=e,p=(r,t)=>{for(var e in t||(t={}))v.call(t,e)&&f(r,e,t[e]);if(h)for(var e of h(t))x.call(t,e)&&f(r,e,t[e]);return r};var _=(r,t,e)=>(f(r,typeof t!="symbol"?t+"":t,e),e);var w=(r,t,e)=>new Promise((o,a)=>{var i=s=>{try{c(e.next(s))}catch(n){a(n)}},l=s=>{try{c(e.throw(s))}catch(n){a(n)}},c=s=>s.done?o(s.value):Promise.resolve(s.value).then(i,l);c((e=e.apply(r,t)).next())});import{useRoute as b}from"./vue-router-pxpwpbvr.js";import{a as j}from"./element-plus-CmJkoIJL.js";import{V as P,a as k,b as B,L as E,o as O,B as $,c as C,d as F,r as I,j as y,e as J,M as R}from"./index-Dqe2lhtz.js";import{V as T}from"./vue-DsB9nCS4.js";import{d as q,r as M,bO as V,f as U,c as A,o as L}from"./@vue-DXjs1h6G.js";import"./lodash-es-iLqVnzBD.js";import"./@vueuse-ByKc4Ggo.js";import"./@element-plus-Vqo2cZUp.js";import"./@popperjs-egqNnATr.js";import"./@ctrl-riLredlm.js";import"./dayjs-6gUf-wcg.js";import"./async-validator-7GrF_zuj.js";import"./memoize-one-BdPwpGay.js";import"./normalize-wheel-es-B6fDCfyv.js";import"./@floating-ui-CIcp7egp.js";import"./monaco-editor-DwlLClUG.js";import"./mockjs-IStUBvTQ.js";class S{constructor(t){_(this,"urls",[]);_(this,"library","");_(this,"params",[]);const e=p(p(p({},C),F),I);window.Vue=T,window.__VTJ_PRO__=e,window.VtjUtils=P,window.VtjIcons=k,window.ElementPlus=j;const{urls:o,library:a,params:i=[]}=t;this.urls=o,this.library=a,this.params=i}load(){return w(this,null,function*(){const t=this.urls.filter(o=>B(o)),e=this.urls.filter(o=>E(o));if(O(t),e.length){const o=yield $(e,this.library).catch(()=>null);if(o&&typeof o=="function")return o.apply(o,this.params)}})}}const z=q({__name:"index",setup(r){return w(this,null,function*(){let t,e;const o=b(),a=M(),i=new R,l=([t,e]=V(()=>i.getExtension().catch(()=>null)),t=yield t,e(),t),c=l?([t,e]=V(()=>new S(l).load()),t=yield t,e(),t):void 0;y.set("Switcher",{props:{onClick:n=>{const m=location.pathname;let d=m==="/@vtj/pro/"?"/":m;const u=n.currentFile;u&&u.type==="page"&&n.homepage!==u.id&&(d=`${d}#/page/${u.id}`),window.open(d,"VTJProject")}}}),y.set("Previewer",{props:{path:n=>`${location.pathname}#/preview/${n.id}`}});const s=new J(p({container:a,service:i},c));return s.ready(()=>{s.openFile(o.query.id)}),U(()=>o.query.id,n=>{s.openFile(n)}),(n,m)=>(L(),A("div",{class:"designer",ref_key:"container",ref:a},null,512))})}}),D=(r,t)=>{const e=r.__vccOpts||r;for(const[o,a]of t)e[o]=a;return e},pt=D(z,[["__scopeId","data-v-b233af06"]]);export{pt as default};