@vtj/pro 0.9.30 → 0.10.1-alpha.0
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.
- package/dist/@vtj/materials/assets/antdv/index.umd.js +2 -2
- package/dist/@vtj/materials/assets/charts/index.umd.js +2 -2
- package/dist/@vtj/materials/assets/element/index.umd.js +2 -2
- package/dist/@vtj/materials/assets/ui/index.umd.js +2 -2
- package/dist/@vtj/materials/assets/uni-h5/index.umd.js +7 -0
- package/dist/@vtj/materials/assets/vant/index.umd.js +5 -5
- package/dist/@vtj/materials/deps/@vtj/charts/index.umd.js +2 -2
- package/dist/@vtj/materials/deps/@vtj/icons/index.umd.js +2 -2
- package/dist/@vtj/materials/deps/@vtj/icons/style.css +1 -1
- package/dist/@vtj/materials/deps/@vtj/ui/index.umd.js +2 -2
- package/dist/@vtj/materials/deps/@vtj/uni/index.umd.js +7 -0
- package/dist/@vtj/materials/deps/@vtj/uni/style.css +1 -0
- package/dist/@vtj/materials/deps/@vtj/utils/index.umd.js +2 -2
- package/dist/@vtj/materials/deps/@vueuse/core/index.iife.min.js +1 -1
- package/dist/@vtj/materials/deps/uni-app/index.umd.js +1 -0
- package/dist/@vtj/materials/deps/uni-h5/index.umd.js +19 -0
- package/dist/@vtj/materials/deps/uni-h5/style.css +1 -0
- package/dist/@vtj/materials/deps/uni-h5-vue/index.umd.js +8 -0
- package/dist/assets/{@element-plus-icons-vue-JgjQwxw0.js → @element-plus-icons-vue-CKT2Xck5.js} +1 -1
- package/dist/assets/@vueuse-PLVskUkm.js +1 -0
- package/dist/assets/{Editor-BFm57YMW-C94rZ-PX.js → Editor-BFm57YMW-ICS0kLhR.js} +1 -1
- package/dist/assets/auth-DOf-FTU6.js +1 -0
- package/dist/assets/{element-plus-BFFi_tB4.js → element-plus-DQ6lwucB.js} +1 -1
- package/dist/assets/extension-Al38NjBF.css +1 -0
- package/dist/assets/extension-BFNwuAqn.js +167 -0
- package/dist/assets/index-BQgIWiKT.js +159 -0
- package/dist/assets/index-qxxdDj8s.css +1 -0
- package/dist/assets/index-u0ty6Cb-.js +1 -0
- package/dist/assets/{mockjs-D_zazQCp.js → mockjs-DPQI6pPj.js} +1 -1
- package/dist/assets/page-CwpyqtAT.js +2 -0
- package/dist/assets/preview-DX069QZG.js +2 -0
- package/dist/assets/uni-page-Bjgk97mC.js +1 -0
- package/dist/assets/uni-page-Diqmj53r.css +1 -0
- package/dist/assets/{utils-CR3FiZqd.js → utils-QKipar_R.js} +1 -1
- package/dist/assets/{vue-Crnm0cHZ.js → vue-DnfbZNhx.js} +1 -1
- package/dist/assets/vue-router-D8EXeL0F.js +5 -0
- package/dist/assets/{vxe-cI65GXN1.js → vxe-DAcKvQ6r.js} +1 -1
- package/dist/index.html +12 -10
- package/dist/uni/assets/@dcloudio-uni-h5-vue-Bu5X-z7t.js +5 -0
- package/dist/uni/assets/@dcloudio-uni-shared-VStmjWbh.js +1 -0
- package/dist/uni/assets/index-DBvmFwEC.js +155 -0
- package/dist/uni/assets/mockjs-DMVMD3cZ.js +9 -0
- package/dist/uni/assets/vue-BK7aLblh.js +5 -0
- package/dist/{assets/vue-router-CmJCdr1O.js → uni/assets/vue-router-C0BknHSK.js} +2 -2
- package/dist/uni/index.html +26 -0
- package/package.json +15 -13
- package/src/App.vue +2 -0
- package/src/manifest.json +72 -0
- package/src/vtj/files/45t8zpljt.json +28 -0
- package/src/vtj/files/45t98u7le.json +19 -0
- package/src/vtj/histories/45t8zpljt/45t8zrek0.json +28 -0
- package/src/vtj/histories/45t8zpljt/45t90beoh.json +28 -0
- package/src/vtj/histories/45t8zpljt/45t90fn02.json +28 -0
- package/src/vtj/histories/45t8zpljt/45t923wpf.json +32 -0
- package/src/vtj/histories/45t8zpljt/7pf6pkqbb.json +28 -0
- package/src/vtj/histories/45t8zpljt/7pf6rxqsj.json +32 -0
- package/src/vtj/histories/45t8zpljt/b914fe2oe.json +28 -0
- package/src/vtj/histories/45t8zpljt/b914g2z9c.json +40 -0
- package/src/vtj/histories/45t8zpljt/esn260aw6.json +28 -0
- package/src/vtj/histories/45t8zpljt.json +41 -0
- package/src/vtj/materials/@vtj/pro.json +14729 -0
- package/src/vtj/projects/@vtj/pro.json +216 -0
- package/dist/assets/@vueuse-DbIzleUK.js +0 -1
- package/dist/assets/auth-ClPL45D5.js +0 -1
- package/dist/assets/extension-9SSJdadf.js +0 -154
- package/dist/assets/extension-Bc_SvzI0.css +0 -1
- package/dist/assets/index-CdSv23YK.css +0 -1
- package/dist/assets/index-CmegD0Ke.js +0 -1
- package/dist/assets/index-DzEED7Jk.js +0 -157
- package/dist/assets/page-BhC1yzc2.js +0 -2
- package/dist/assets/preview-Ci4NxL5B.js +0 -2
|
@@ -0,0 +1,216 @@
|
|
|
1
|
+
{
|
|
2
|
+
"__VTJ_PROJECT__": true,
|
|
3
|
+
"id": "@vtj/pro",
|
|
4
|
+
"platform": "uniapp",
|
|
5
|
+
"name": "VTJ.PRO",
|
|
6
|
+
"homepage": "",
|
|
7
|
+
"description": "VTJ.PRO",
|
|
8
|
+
"dependencies": [
|
|
9
|
+
{
|
|
10
|
+
"package": "vue",
|
|
11
|
+
"version": "latest",
|
|
12
|
+
"library": "Vue",
|
|
13
|
+
"urls": [
|
|
14
|
+
"@vtj/materials/deps/uni-h5-vue/index.umd.js"
|
|
15
|
+
],
|
|
16
|
+
"assetsLibrary": "VueMaterial",
|
|
17
|
+
"required": true,
|
|
18
|
+
"official": true,
|
|
19
|
+
"enabled": true,
|
|
20
|
+
"platform": "uniapp"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"package": "vue-router",
|
|
24
|
+
"version": "latest",
|
|
25
|
+
"library": "VueRouter",
|
|
26
|
+
"urls": [
|
|
27
|
+
"@vtj/materials/deps/vue-router/vue-router.global.prod.js"
|
|
28
|
+
],
|
|
29
|
+
"assetsLibrary": "VueRouterMaterial",
|
|
30
|
+
"required": true,
|
|
31
|
+
"official": true,
|
|
32
|
+
"enabled": true
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"package": "uni-app",
|
|
36
|
+
"version": "latest",
|
|
37
|
+
"library": "UniApp",
|
|
38
|
+
"urls": [
|
|
39
|
+
"@vtj/materials/deps/uni-app/index.umd.js"
|
|
40
|
+
],
|
|
41
|
+
"required": true,
|
|
42
|
+
"official": true,
|
|
43
|
+
"enabled": true,
|
|
44
|
+
"platform": "uniapp"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"package": "uni-h5",
|
|
48
|
+
"version": "latest",
|
|
49
|
+
"library": "UniH5",
|
|
50
|
+
"urls": [
|
|
51
|
+
"@vtj/materials/deps/uni-h5/style.css",
|
|
52
|
+
"@vtj/materials/deps/uni-h5/index.umd.js"
|
|
53
|
+
],
|
|
54
|
+
"required": true,
|
|
55
|
+
"official": true,
|
|
56
|
+
"enabled": true,
|
|
57
|
+
"assetsUrl": "@vtj/materials/assets/uni-h5/index.umd.js",
|
|
58
|
+
"assetsLibrary": "UniH5Material",
|
|
59
|
+
"platform": "uniapp"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"package": "@vtj/utils",
|
|
63
|
+
"version": "latest",
|
|
64
|
+
"library": "VtjUtils",
|
|
65
|
+
"urls": [
|
|
66
|
+
"@vtj/materials/deps/@vtj/utils/index.umd.js"
|
|
67
|
+
],
|
|
68
|
+
"required": true,
|
|
69
|
+
"official": true,
|
|
70
|
+
"enabled": true
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"package": "vant",
|
|
74
|
+
"version": "latest",
|
|
75
|
+
"library": "vant",
|
|
76
|
+
"urls": [
|
|
77
|
+
"@vtj/materials/deps/vant/index.css",
|
|
78
|
+
"@vtj/materials/deps/vant/vant.min.js"
|
|
79
|
+
],
|
|
80
|
+
"assetsUrl": "@vtj/materials/assets/vant/index.umd.js",
|
|
81
|
+
"assetsLibrary": "VantMaterial",
|
|
82
|
+
"required": false,
|
|
83
|
+
"official": true,
|
|
84
|
+
"enabled": true,
|
|
85
|
+
"platform": [
|
|
86
|
+
"h5",
|
|
87
|
+
"uniapp"
|
|
88
|
+
]
|
|
89
|
+
}
|
|
90
|
+
],
|
|
91
|
+
"pages": [
|
|
92
|
+
{
|
|
93
|
+
"dir": false,
|
|
94
|
+
"name": "Aaa",
|
|
95
|
+
"title": "aaa",
|
|
96
|
+
"icon": "",
|
|
97
|
+
"mask": true,
|
|
98
|
+
"hidden": false,
|
|
99
|
+
"raw": false,
|
|
100
|
+
"pure": true,
|
|
101
|
+
"meta": null,
|
|
102
|
+
"cache": false,
|
|
103
|
+
"needLogin": false,
|
|
104
|
+
"style": "",
|
|
105
|
+
"id": "45t8zpljt",
|
|
106
|
+
"type": "page"
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"dir": false,
|
|
110
|
+
"name": "Bb",
|
|
111
|
+
"title": "bb",
|
|
112
|
+
"icon": "",
|
|
113
|
+
"mask": true,
|
|
114
|
+
"hidden": false,
|
|
115
|
+
"raw": false,
|
|
116
|
+
"pure": true,
|
|
117
|
+
"meta": null,
|
|
118
|
+
"cache": false,
|
|
119
|
+
"needLogin": false,
|
|
120
|
+
"style": "",
|
|
121
|
+
"id": "45t98u7le",
|
|
122
|
+
"type": "page"
|
|
123
|
+
}
|
|
124
|
+
],
|
|
125
|
+
"blocks": [],
|
|
126
|
+
"apis": [],
|
|
127
|
+
"meta": [],
|
|
128
|
+
"config": {
|
|
129
|
+
"title": ""
|
|
130
|
+
},
|
|
131
|
+
"uniConfig": {
|
|
132
|
+
"manifestJson": {
|
|
133
|
+
"name": "VTJ.PRO",
|
|
134
|
+
"appid": "__UNI__VTJPRO",
|
|
135
|
+
"description": "VTJ.PRO",
|
|
136
|
+
"versionName": "1.0.0",
|
|
137
|
+
"versionCode": "100",
|
|
138
|
+
"transformPx": false,
|
|
139
|
+
"app-plus": {
|
|
140
|
+
"usingComponents": true,
|
|
141
|
+
"nvueStyleCompiler": "uni-app",
|
|
142
|
+
"compilerVersion": 3,
|
|
143
|
+
"splashscreen": {
|
|
144
|
+
"alwaysShowBeforeRender": true,
|
|
145
|
+
"waiting": true,
|
|
146
|
+
"autoclose": true,
|
|
147
|
+
"delay": 0
|
|
148
|
+
},
|
|
149
|
+
"modules": {},
|
|
150
|
+
"distribute": {
|
|
151
|
+
"android": {
|
|
152
|
+
"permissions": [
|
|
153
|
+
"<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>",
|
|
154
|
+
"<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>",
|
|
155
|
+
"<uses-permission android:name=\"android.permission.VIBRATE\"/>",
|
|
156
|
+
"<uses-permission android:name=\"android.permission.READ_LOGS\"/>",
|
|
157
|
+
"<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>",
|
|
158
|
+
"<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",
|
|
159
|
+
"<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>",
|
|
160
|
+
"<uses-permission android:name=\"android.permission.CAMERA\"/>",
|
|
161
|
+
"<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>",
|
|
162
|
+
"<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>",
|
|
163
|
+
"<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>",
|
|
164
|
+
"<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>",
|
|
165
|
+
"<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>",
|
|
166
|
+
"<uses-feature android:name=\"android.hardware.camera\"/>",
|
|
167
|
+
"<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"
|
|
168
|
+
]
|
|
169
|
+
},
|
|
170
|
+
"ios": {},
|
|
171
|
+
"sdkConfigs": {},
|
|
172
|
+
"icons": {
|
|
173
|
+
"android": {
|
|
174
|
+
"hdpi": "src/static/logo.png",
|
|
175
|
+
"xhdpi": "src/static/logo.png",
|
|
176
|
+
"xxhdpi": "src/static/logo.png",
|
|
177
|
+
"xxxhdpi": "src/static/logo.png"
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
},
|
|
182
|
+
"quickapp": {},
|
|
183
|
+
"mp-weixin": {
|
|
184
|
+
"appid": "",
|
|
185
|
+
"setting": {
|
|
186
|
+
"urlCheck": false
|
|
187
|
+
},
|
|
188
|
+
"usingComponents": true
|
|
189
|
+
},
|
|
190
|
+
"mp-alipay": {
|
|
191
|
+
"usingComponents": true
|
|
192
|
+
},
|
|
193
|
+
"mp-baidu": {
|
|
194
|
+
"usingComponents": true
|
|
195
|
+
},
|
|
196
|
+
"mp-toutiao": {
|
|
197
|
+
"usingComponents": true
|
|
198
|
+
},
|
|
199
|
+
"uniStatistics": {
|
|
200
|
+
"enable": false
|
|
201
|
+
},
|
|
202
|
+
"vueVersion": "3"
|
|
203
|
+
},
|
|
204
|
+
"pagesJson": {
|
|
205
|
+
"pages": [],
|
|
206
|
+
"globalStyle": {
|
|
207
|
+
"navigationBarTextStyle": "black",
|
|
208
|
+
"navigationBarTitleText": "uni-app",
|
|
209
|
+
"navigationBarBackgroundColor": "#F8F8F8",
|
|
210
|
+
"backgroundColor": "#F8F8F8"
|
|
211
|
+
}
|
|
212
|
+
},
|
|
213
|
+
"css": ""
|
|
214
|
+
},
|
|
215
|
+
"__BASE_PATH__": "/"
|
|
216
|
+
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var ke=Object.defineProperty,Be=Object.defineProperties;var Xe=Object.getOwnPropertyDescriptors;var X=Object.getOwnPropertySymbols;var ue=Object.prototype.hasOwnProperty,le=Object.prototype.propertyIsEnumerable;var ae=(e,t,n)=>t in e?ke(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,F=(e,t)=>{for(var n in t||(t={}))ue.call(t,n)&&ae(e,n,t[n]);if(X)for(var n of X(t))le.call(t,n)&&ae(e,n,t[n]);return e},k=(e,t)=>Be(e,Xe(t));var Y=(e,t)=>{var n={};for(var r in e)ue.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&X)for(var r of X(e))t.indexOf(r)<0&&le.call(e,r)&&(n[r]=e[r]);return n};import{g as Se,b as Ee,s as ee,w as Pe,r as G,e as g,f as C,h as B,i as te,n as ne,u as Te,j as re,k as x,l as Ye,t as Qe,m as Je,p as xe,q as Ge}from"./vue-Crnm0cHZ.js";var Ue=Object.defineProperty,Ke=Object.defineProperties,qe=Object.getOwnPropertyDescriptors,ce=Object.getOwnPropertySymbols,Ze=Object.prototype.hasOwnProperty,et=Object.prototype.propertyIsEnumerable,fe=(e,t,n)=>t in e?Ue(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,tt=(e,t)=>{for(var n in t||(t={}))Ze.call(t,n)&&fe(e,n,t[n]);if(ce)for(var n of ce(t))et.call(t,n)&&fe(e,n,t[n]);return e},nt=(e,t)=>Ke(e,qe(t));function nn(e,t){var n;const r=ee();return Pe(()=>{r.value=e()},nt(tt({},t),{flush:(n=void 0)!=null?n:"sync"})),G(r)}var de;const U=typeof window!="undefined",rt=e=>typeof e!="undefined",Z=e=>typeof e=="function",ot=e=>typeof e=="string",H=()=>{},st=U&&((de=window==null?void 0:window.navigator)==null?void 0:de.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function z(e){return typeof e=="function"?e():Te(e)}function Ce(e,t){function n(...r){return new Promise((o,s)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(o).catch(s)})}return n}function it(e,t={}){let n,r,o=H;const s=a=>{clearTimeout(a),o(),o=H};return a=>{const l=z(e),d=z(t.maxWait);return n&&s(n),l<=0||d!==void 0&&d<=0?(r&&(s(r),r=null),Promise.resolve(a())):new Promise((v,c)=>{o=t.rejectOnCancel?c:v,d&&!r&&(r=setTimeout(()=>{n&&s(n),r=null,v(a())},d)),n=setTimeout(()=>{r&&s(r),r=null,v(a())},l)})}}function at(e,t=!0,n=!0,r=!1){let o=0,s,i=!0,a=H,l;const d=()=>{s&&(clearTimeout(s),s=void 0,a(),a=H)};return c=>{const u=z(e),f=Date.now()-o,p=()=>l=c();return d(),u<=0?(o=Date.now(),p()):(f>u&&(n||!i)?(o=Date.now(),p()):t&&(l=new Promise((m,y)=>{a=r?y:m,s=setTimeout(()=>{o=Date.now(),i=!0,m(p()),d()},Math.max(0,u-f))})),!n&&!s&&(s=setTimeout(()=>i=!0,u)),i=!1,l)}}function ut(e){return e}function lt(e,t){let n,r,o;const s=g(!0),i=()=>{s.value=!0,o()};C(e,i,{flush:"sync"});const a=Z(t)?t:t.get,l=Z(t)?void 0:t.set,d=re((v,c)=>(r=v,o=c,{get(){return s.value&&(n=a(),s.value=!1),r(),n},set(u){l==null||l(u)}}));return Object.isExtensible(d)&&(d.trigger=i),d}function K(e){return Se()?(Ee(e),!0):!1}function ct(e,t=200,n={}){return Ce(it(t,n),e)}function rn(e,t=200,n={}){const r=g(e.value),o=ct(()=>{r.value=e.value},t,n);return C(e,()=>o()),r}function on(e,t=200,n=!1,r=!0,o=!1){return Ce(at(t,n,r,o),e)}function oe(e,t=!0){B()?te(e):t?e():ne(e)}function sn(e,t,n={}){const{immediate:r=!0}=n,o=g(!1);let s=null;function i(){s&&(clearTimeout(s),s=null)}function a(){o.value=!1,i()}function l(...d){i(),o.value=!0,s=setTimeout(()=>{o.value=!1,s=null,e(...d)},z(t))}return r&&(o.value=!0,U&&l()),K(a),{isPending:G(o),start:l,stop:a}}function R(e){var t;const n=z(e);return(t=n==null?void 0:n.$el)!=null?t:n}const j=U?window:void 0,ft=U?window.document:void 0;function M(...e){let t,n,r,o;if(ot(e[0])||Array.isArray(e[0])?([n,r,o]=e,t=j):[t,n,r,o]=e,!t)return H;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const s=[],i=()=>{s.forEach(v=>v()),s.length=0},a=(v,c,u,f)=>(v.addEventListener(c,u,f),()=>v.removeEventListener(c,u,f)),l=C(()=>[R(t),z(o)],([v,c])=>{i(),v&&s.push(...n.flatMap(u=>r.map(f=>a(v,u,f,c))))},{immediate:!0,flush:"post"}),d=()=>{l(),i()};return K(d),d}let ve=!1;function an(e,t,n={}){const{window:r=j,ignore:o=[],capture:s=!0,detectIframe:i=!1}=n;if(!r)return;st&&!ve&&(ve=!0,Array.from(r.document.body.children).forEach(u=>u.addEventListener("click",H)));let a=!0;const l=u=>o.some(f=>{if(typeof f=="string")return Array.from(r.document.querySelectorAll(f)).some(p=>p===u.target||u.composedPath().includes(p));{const p=R(f);return p&&(u.target===p||u.composedPath().includes(p))}}),v=[M(r,"click",u=>{const f=R(e);if(!(!f||f===u.target||u.composedPath().includes(f))){if(u.detail===0&&(a=!l(u)),!a){a=!0;return}t(u)}},{passive:!0,capture:s}),M(r,"pointerdown",u=>{const f=R(e);f&&(a=!u.composedPath().includes(f)&&!l(u))},{passive:!0}),i&&M(r,"blur",u=>{var f;const p=R(e);((f=r.document.activeElement)==null?void 0:f.tagName)==="IFRAME"&&!(p!=null&&p.contains(r.document.activeElement))&&t(u)})].filter(Boolean);return()=>v.forEach(u=>u())}function un(e={}){var t;const{window:n=j}=e,r=(t=e.document)!=null?t:n==null?void 0:n.document,o=lt(()=>null,()=>r==null?void 0:r.activeElement);return n&&(M(n,"blur",s=>{s.relatedTarget===null&&o.trigger()},!0),M(n,"focus",o.trigger,!0)),o}function Ae(e,t=!1){const n=g(),r=()=>n.value=!!e();return r(),oe(r,t),n}function dt(e){return JSON.parse(JSON.stringify(e))}const pe=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},me="__vueuse_ssr_handlers__";pe[me]=pe[me]||{};function ln(e,t,{window:n=j,initialValue:r=""}={}){const o=g(r),s=x(()=>{var i;return R(t)||((i=n==null?void 0:n.document)==null?void 0:i.documentElement)});return C([s,()=>z(e)],([i,a])=>{var l;if(i&&n){const d=(l=n.getComputedStyle(i).getPropertyValue(a))==null?void 0:l.trim();o.value=d||r}},{immediate:!0}),C(o,i=>{var a;(a=s.value)!=null&&a.style&&s.value.style.setProperty(z(e),i)}),o}function cn({document:e=ft}={}){if(!e)return g("visible");const t=g(e.visibilityState);return M(e,"visibilitychange",()=>{t.value=e.visibilityState}),t}var he=Object.getOwnPropertySymbols,vt=Object.prototype.hasOwnProperty,pt=Object.prototype.propertyIsEnumerable,mt=(e,t)=>{var n={};for(var r in e)vt.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&he)for(var r of he(e))t.indexOf(r)<0&&pt.call(e,r)&&(n[r]=e[r]);return n};function ht(e,t,n={}){const r=n,{window:o=j}=r,s=mt(r,["window"]);let i;const a=Ae(()=>o&&"ResizeObserver"in o),l=()=>{i&&(i.disconnect(),i=void 0)},d=C(()=>R(e),c=>{l(),a.value&&o&&c&&(i=new ResizeObserver(t),i.observe(c,s))},{immediate:!0,flush:"post"}),v=()=>{l(),d()};return K(v),{isSupported:a,stop:v}}function fn(e,t={}){const{reset:n=!0,windowResize:r=!0,windowScroll:o=!0,immediate:s=!0}=t,i=g(0),a=g(0),l=g(0),d=g(0),v=g(0),c=g(0),u=g(0),f=g(0);function p(){const m=R(e);if(!m){n&&(i.value=0,a.value=0,l.value=0,d.value=0,v.value=0,c.value=0,u.value=0,f.value=0);return}const y=m.getBoundingClientRect();i.value=y.height,a.value=y.bottom,l.value=y.left,d.value=y.right,v.value=y.top,c.value=y.width,u.value=y.x,f.value=y.y}return ht(e,p),C(()=>R(e),m=>!m&&p()),o&&M("scroll",p,{capture:!0,passive:!0}),r&&M("resize",p,{passive:!0}),oe(()=>{s&&p()}),{height:i,bottom:a,left:l,right:d,top:v,width:c,x:u,y:f,update:p}}var ge=Object.getOwnPropertySymbols,gt=Object.prototype.hasOwnProperty,yt=Object.prototype.propertyIsEnumerable,wt=(e,t)=>{var n={};for(var r in e)gt.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&ge)for(var r of ge(e))t.indexOf(r)<0&&yt.call(e,r)&&(n[r]=e[r]);return n};function dn(e,t,n={}){const r=n,{window:o=j}=r,s=wt(r,["window"]);let i;const a=Ae(()=>o&&"MutationObserver"in o),l=()=>{i&&(i.disconnect(),i=void 0)},d=C(()=>R(e),c=>{l(),a.value&&o&&c&&(i=new MutationObserver(t),i.observe(c,s))},{immediate:!0}),v=()=>{l(),d()};return K(v),{isSupported:a,stop:v}}var ye;(function(e){e.UP="UP",e.RIGHT="RIGHT",e.DOWN="DOWN",e.LEFT="LEFT",e.NONE="NONE"})(ye||(ye={}));var bt=Object.defineProperty,we=Object.getOwnPropertySymbols,Ot=Object.prototype.hasOwnProperty,_t=Object.prototype.propertyIsEnumerable,be=(e,t,n)=>t in e?bt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,St=(e,t)=>{for(var n in t||(t={}))Ot.call(t,n)&&be(e,n,t[n]);if(we)for(var n of we(t))_t.call(t,n)&&be(e,n,t[n]);return e};const Et={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]};St({linear:ut},Et);function vn(e,t,n,r={}){var o,s,i;const{clone:a=!1,passive:l=!1,eventName:d,deep:v=!1,defaultValue:c}=r,u=B(),f=n||(u==null?void 0:u.emit)||((o=u==null?void 0:u.$emit)==null?void 0:o.bind(u))||((i=(s=u==null?void 0:u.proxy)==null?void 0:s.$emit)==null?void 0:i.bind(u==null?void 0:u.proxy));let p=d;t||(t="modelValue"),p=d||p||`update:${t.toString()}`;const m=O=>a?Z(a)?a(O):dt(O):O,y=()=>rt(e[t])?m(e[t]):c;if(l){const O=y(),_=g(O);return C(()=>e[t],A=>_.value=m(A)),C(_,A=>{(A!==e[t]||v)&&f(p,A)},{deep:v}),_}else return x({get(){return y()},set(O){f(p,O)}})}function pn({window:e=j}={}){if(!e)return g(!1);const t=g(e.document.hasFocus());return M(e,"blur",()=>{t.value=!1}),M(e,"focus",()=>{t.value=!0}),t}function mn(e={}){const{window:t=j,initialWidth:n=1/0,initialHeight:r=1/0,listenOrientation:o=!0,includeScrollbar:s=!0}=e,i=g(n),a=g(r),l=()=>{t&&(s?(i.value=t.innerWidth,a.value=t.innerHeight):(i.value=t.document.documentElement.clientWidth,a.value=t.document.documentElement.clientHeight))};return l(),oe(l),M("resize",l,{passive:!0}),o&&M("orientationchange",l,{passive:!0}),{width:i,height:a}}function se(e){return Se()?(Ee(e),!0):!1}const q=new WeakMap,Pt=(...e)=>{var t;const n=e[0],r=(t=B())==null?void 0:t.proxy;if(r==null&&!xe())throw new Error("injectLocal must be called in setup");return r&&q.has(r)&&n in q.get(r)?q.get(r)[n]:Ge(...e)};function T(e){return typeof e=="function"?e():Te(e)}const We=typeof window!="undefined"&&typeof document!="undefined";typeof WorkerGlobalScope!="undefined"&&globalThis instanceof WorkerGlobalScope;const Tt=Object.prototype.toString,xt=e=>Tt.call(e)==="[object Object]",$e=()=>{};function Ct(e,t){function n(...r){return new Promise((o,s)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(o).catch(s)})}return n}const Le=e=>e();function At(e=Le){const t=g(!0);function n(){t.value=!1}function r(){t.value=!0}const o=(...s)=>{t.value&&e(...s)};return{isActive:G(t),pause:n,resume:r,eventFilter:o}}function Oe(e){return e.endsWith("rem")?Number.parseFloat(e)*16:Number.parseFloat(e)}function Wt(e){return B()}function $t(...e){if(e.length!==1)return Je(...e);const t=e[0];return typeof t=="function"?G(re(()=>({get:t,set:$e}))):g(t)}function Lt(e,t,n={}){const s=n,{eventFilter:r=Le}=s,o=Y(s,["eventFilter"]);return C(e,Ct(r,t),o)}function Mt(e,t,n={}){const v=n,{eventFilter:r}=v,o=Y(v,["eventFilter"]),{eventFilter:s,pause:i,resume:a,isActive:l}=At(r);return{stop:Lt(e,t,k(F({},o),{eventFilter:s})),pause:i,resume:a,isActive:l}}function Rt(e,t={}){if(!Ye(e))return Qe(e);const n=Array.isArray(e.value)?Array.from({length:e.value.length}):{};for(const r in e.value)n[r]=re(()=>({get(){return e.value[r]},set(o){var s;if((s=T(t.replaceRef))!=null?s:!0)if(Array.isArray(e.value)){const a=[...e.value];a[r]=o,e.value=a}else{const a=k(F({},e.value),{[r]:o});Object.setPrototypeOf(a,Object.getPrototypeOf(e.value)),e.value=a}else e.value[r]=o}}));return n}function ie(e,t=!0,n){Wt()?te(e,n):t?e():ne(e)}const D=We?window:void 0;function V(e){var t;const n=T(e);return(t=n==null?void 0:n.$el)!=null?t:n}function I(...e){let t,n,r,o;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,r,o]=e,t=D):[t,n,r,o]=e,!t)return $e;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const s=[],i=()=>{s.forEach(v=>v()),s.length=0},a=(v,c,u,f)=>(v.addEventListener(c,u,f),()=>v.removeEventListener(c,u,f)),l=C(()=>[V(t),T(o)],([v,c])=>{if(i(),!v)return;const u=xt(c)?F({},c):c;s.push(...n.flatMap(f=>r.map(p=>a(v,f,p,u))))},{immediate:!0,flush:"post"}),d=()=>{l(),i()};return se(d),d}function It(){const e=g(!1),t=B();return t&&te(()=>{e.value=!0},t),e}function Me(e){const t=It();return x(()=>(t.value,!!e()))}const Dt=Symbol("vueuse-ssr-width");function Ft(){const e=xe()?Pt(Dt,null):null;return typeof e=="number"?e:void 0}function Vt(e,t={}){const{window:n=D,ssrWidth:r=Ft()}=t,o=Me(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function"),s=g(typeof r=="number");let i;const a=g(!1),l=c=>{a.value=c.matches},d=()=>{i&&("removeEventListener"in i?i.removeEventListener("change",l):i.removeListener(l))},v=Pe(()=>{if(s.value){s.value=!o.value;const c=T(e).split(",");a.value=c.some(u=>{const f=u.includes("not all"),p=u.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),m=u.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let y=!!(p||m);return p&&y&&(y=r>=Oe(p[1])),m&&y&&(y=r<=Oe(m[1])),f?!y:y});return}o.value&&(d(),i=n.matchMedia(T(e)),"addEventListener"in i?i.addEventListener("change",l):i.addListener(l),a.value=i.matches)});return se(()=>{v(),d(),i=void 0}),x(()=>a.value)}const Q=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},J="__vueuse_ssr_handlers__",Nt=zt();function zt(){return J in Q||(Q[J]=Q[J]||{}),Q[J]}function Re(e,t){return Nt[e]||t}function jt(e){return Vt("(prefers-color-scheme: dark)",e)}function Ht(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const kt={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},_e="vueuse-storage";function Bt(e,t,n,r={}){var o;const{flush:s="pre",deep:i=!0,listenToStorageChanges:a=!0,writeDefaults:l=!0,mergeDefaults:d=!1,shallow:v,window:c=D,eventFilter:u,onError:f=h=>{console.error(h)},initOnMounted:p}=r,m=(v?ee:g)(typeof t=="function"?t():t);if(!n)try{n=Re("getDefaultStorage",()=>{var h;return(h=D)==null?void 0:h.localStorage})()}catch(h){f(h)}if(!n)return m;const y=T(t),O=Ht(y),_=(o=r.serializer)!=null?o:kt[O],{pause:A,resume:P}=Mt(m,()=>L(m.value),{flush:s,deep:i,eventFilter:u});c&&a&&ie(()=>{n instanceof Storage?I(c,"storage",w):I(c,_e,$),p&&w()}),p||w();function W(h,S){if(c){const E={key:e,oldValue:h,newValue:S,storageArea:n};c.dispatchEvent(n instanceof Storage?new StorageEvent("storage",E):new CustomEvent(_e,{detail:E}))}}function L(h){try{const S=n.getItem(e);if(h==null)W(S,null),n.removeItem(e);else{const E=_.write(h);S!==E&&(n.setItem(e,E),W(S,E))}}catch(S){f(S)}}function b(h){const S=h?h.newValue:n.getItem(e);if(S==null)return l&&y!=null&&n.setItem(e,_.write(y)),y;if(!h&&d){const E=_.read(S);return typeof d=="function"?d(E,y):O==="object"&&!Array.isArray(E)?F(F({},y),E):E}else return typeof S!="string"?S:_.read(S)}function w(h){if(!(h&&h.storageArea!==n)){if(h&&h.key==null){m.value=y;return}if(!(h&&h.key!==e)){A();try{(h==null?void 0:h.newValue)!==_.write(m.value)&&(m.value=b(h))}catch(S){f(S)}finally{h?ne(P):P()}}}}function $(h){w(h.detail)}return m}const Xt="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function Yt(e={}){const{selector:t="html",attribute:n="class",initialValue:r="auto",window:o=D,storage:s,storageKey:i="vueuse-color-scheme",listenToStorageChanges:a=!0,storageRef:l,emitAuto:d,disableTransition:v=!0}=e,c=F({auto:"",light:"light",dark:"dark"},e.modes||{}),u=jt({window:o}),f=x(()=>u.value?"dark":"light"),p=l||(i==null?$t(r):Bt(i,r,s,{window:o,listenToStorageChanges:a})),m=x(()=>p.value==="auto"?f.value:p.value),y=Re("updateHTMLAttrs",(P,W,L)=>{const b=typeof P=="string"?o==null?void 0:o.document.querySelector(P):V(P);if(!b)return;const w=new Set,$=new Set;let h=null;if(W==="class"){const E=L.split(/\s/g);Object.values(c).flatMap(N=>(N||"").split(/\s/g)).filter(Boolean).forEach(N=>{E.includes(N)?w.add(N):$.add(N)})}else h={key:W,value:L};if(w.size===0&&$.size===0&&h===null)return;let S;v&&(S=o.document.createElement("style"),S.appendChild(document.createTextNode(Xt)),o.document.head.appendChild(S));for(const E of w)b.classList.add(E);for(const E of $)b.classList.remove(E);h&&b.setAttribute(h.key,h.value),v&&(o.getComputedStyle(S).opacity,document.head.removeChild(S))});function O(P){var W;y(t,n,(W=c[P])!=null?W:P)}function _(P){e.onChanged?e.onChanged(P,O):O(P)}C(m,_,{flush:"post",immediate:!0}),ie(()=>_(m.value));const A=x({get(){return d?p.value:m.value},set(P){p.value=P}});return Object.assign(A,{store:p,system:f,state:m})}function hn(e={}){const{valueDark:t="dark",valueLight:n=""}=e,r=Yt(k(F({},e),{onChanged:(i,a)=>{var l;e.onChanged?(l=e.onChanged)==null||l.call(e,i==="dark",a,i):a(i)},modes:{dark:t,light:n}})),o=x(()=>r.system.value);return x({get(){return r.value==="dark"},set(i){const a=i?"dark":"light";o.value===a?r.value="auto":r.value=a}})}function gn(e,t={}){var n,r;const{pointerTypes:o,preventDefault:s,stopPropagation:i,exact:a,onMove:l,onEnd:d,onStart:v,initialValue:c,axis:u="both",draggingElement:f=D,containerElement:p,handle:m=e,buttons:y=[0]}=t,O=g((n=T(c))!=null?n:{x:0,y:0}),_=g(),A=w=>o?o.includes(w.pointerType):!0,P=w=>{T(s)&&w.preventDefault(),T(i)&&w.stopPropagation()},W=w=>{var $;if(!T(y).includes(w.button)||T(t.disabled)||!A(w)||T(a)&&w.target!==T(e))return;const h=T(p),S=($=h==null?void 0:h.getBoundingClientRect)==null?void 0:$.call(h),E=T(e).getBoundingClientRect(),N={x:w.clientX-(h?E.left-S.left+h.scrollLeft:E.left),y:w.clientY-(h?E.top-S.top+h.scrollTop:E.top)};(v==null?void 0:v(N,w))!==!1&&(_.value=N,P(w))},L=w=>{if(T(t.disabled)||!A(w)||!_.value)return;const $=T(p),h=T(e).getBoundingClientRect();let{x:S,y:E}=O.value;(u==="x"||u==="both")&&(S=w.clientX-_.value.x,$&&(S=Math.min(Math.max(0,S),$.scrollWidth-h.width))),(u==="y"||u==="both")&&(E=w.clientY-_.value.y,$&&(E=Math.min(Math.max(0,E),$.scrollHeight-h.height))),O.value={x:S,y:E},l==null||l(O.value,w),P(w)},b=w=>{T(t.disabled)||!A(w)||_.value&&(_.value=void 0,d==null||d(O.value,w),P(w))};if(We){const w={capture:(r=t.capture)!=null?r:!0};I(m,"pointerdown",W,w),I(f,"pointermove",L,w),I(f,"pointerup",b,w)}return k(F({},Rt(O)),{position:O,isDragging:x(()=>!!_.value),style:x(()=>`left:${O.value.x}px;top:${O.value.y}px;`)})}function Qt(e,t,n={}){const c=n,{window:r=D}=c,o=Y(c,["window"]);let s;const i=Me(()=>r&&"ResizeObserver"in r),a=()=>{s&&(s.disconnect(),s=void 0)},l=x(()=>{const u=T(e);return Array.isArray(u)?u.map(f=>V(f)):[V(u)]}),d=C(l,u=>{if(a(),i.value&&r){s=new ResizeObserver(t);for(const f of u)f&&s.observe(f,o)}},{immediate:!0,flush:"post"}),v=()=>{a(),d()};return se(v),{isSupported:i,stop:v}}function Jt(e,t={width:0,height:0},n={}){const{window:r=D,box:o="content-box"}=n,s=x(()=>{var c,u;return(u=(c=V(e))==null?void 0:c.namespaceURI)==null?void 0:u.includes("svg")}),i=g(t.width),a=g(t.height),{stop:l}=Qt(e,([c])=>{const u=o==="border-box"?c.borderBoxSize:o==="content-box"?c.contentBoxSize:c.devicePixelContentBoxSize;if(r&&s.value){const f=V(e);if(f){const p=f.getBoundingClientRect();i.value=p.width,a.value=p.height}}else if(u){const f=Array.isArray(u)?u:[u];i.value=f.reduce((p,{inlineSize:m})=>p+m,0),a.value=f.reduce((p,{blockSize:m})=>p+m,0)}else i.value=c.contentRect.width,a.value=c.contentRect.height},n);ie(()=>{const c=V(e);c&&(i.value="offsetWidth"in c?c.offsetWidth:t.width,a.value="offsetHeight"in c?c.offsetHeight:t.height)});const d=C(()=>V(e),c=>{i.value=c?t.width:0,a.value=c?t.height:0});function v(){l(),d()}return{width:i,height:a,stop:v}}const Gt={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 Ut(e={}){const{type:t="page",touch:n=!0,resetOnTouchEnds:r=!1,initialValue:o={x:0,y:0},window:s=D,target:i=s,scroll:a=!0,eventFilter:l}=e;let d=null,v=0,c=0;const u=g(o.x),f=g(o.y),p=g(null),m=typeof t=="function"?t:Gt[t],y=b=>{const w=m(b);d=b,w&&([u.value,f.value]=w,p.value="mouse"),s&&(v=s.scrollX,c=s.scrollY)},O=b=>{if(b.touches.length>0){const w=m(b.touches[0]);w&&([u.value,f.value]=w,p.value="touch")}},_=()=>{if(!d||!s)return;const b=m(d);d instanceof MouseEvent&&b&&(u.value=b[0]+s.scrollX-v,f.value=b[1]+s.scrollY-c)},A=()=>{u.value=o.x,f.value=o.y},P=l?b=>l(()=>y(b),{}):b=>y(b),W=l?b=>l(()=>O(b),{}):b=>O(b),L=l?()=>l(()=>_(),{}):()=>_();if(i){const b={passive:!0};I(i,["mousemove","dragover"],P,b),n&&t!=="movement"&&(I(i,["touchstart","touchmove"],W,b),r&&I(i,"touchend",A,b)),a&&t==="page"&&I(s,"scroll",L,{passive:!0})}return{x:u,y:f,sourceType:p}}function yn(e,t={}){const{handleOutside:n=!0,window:r=D}=t,o=t.type||"page",{x:s,y:i,sourceType:a}=Ut(t),l=g(e!=null?e:r==null?void 0:r.document.body),d=g(0),v=g(0),c=g(0),u=g(0),f=g(0),p=g(0),m=g(!0);let y=()=>{};return r&&(y=C([l,s,i],()=>{const O=V(l);if(!O||!(O instanceof Element))return;const{left:_,top:A,width:P,height:W}=O.getBoundingClientRect();c.value=_+(o==="page"?r.pageXOffset:0),u.value=A+(o==="page"?r.pageYOffset:0),f.value=W,p.value=P;const L=s.value-c.value,b=i.value-u.value;m.value=P===0||W===0||L<0||b<0||L>P||b>W,(n||!m.value)&&(d.value=L,v.value=b)},{immediate:!0}),I(document,"mouseleave",()=>{m.value=!0})),{x:s,y:i,sourceType:a,elementX:d,elementY:v,elementPositionX:c,elementPositionY:u,elementHeight:f,elementWidth:p,isOutside:m,stop:y}}function wn(e,t){const{containerStyle:n,wrapperProps:r,scrollTo:o,calculateRange:s,currentList:i,containerRef:a}="itemHeight"in t?Zt(t,e):qt(t,e);return{list:i,scrollTo:o,containerProps:{ref:a,onScroll:()=>{s()},style:n},wrapperProps:r}}function Ie(e){const t=g(null),n=Jt(t),r=g([]),o=ee(e);return{state:g({start:0,end:10}),source:o,currentList:r,size:n,containerRef:t}}function De(e,t,n){return r=>{if(typeof n=="number")return Math.ceil(r/n);const{start:o=0}=e.value;let s=0,i=0;for(let a=o;a<t.value.length;a++){const l=n(a);if(s+=l,i=a,s>r)break}return i-o}}function Fe(e,t){return n=>{if(typeof t=="number")return Math.floor(n/t)+1;let r=0,o=0;for(let s=0;s<e.value.length;s++){const i=t(s);if(r+=i,r>=n){o=s;break}}return o+1}}function Ve(e,t,n,r,{containerRef:o,state:s,currentList:i,source:a}){return()=>{const l=o.value;if(l){const d=n(e==="vertical"?l.scrollTop:l.scrollLeft),v=r(e==="vertical"?l.clientHeight:l.clientWidth),c=d-t,u=d+v+t;s.value={start:c<0?0:c,end:u>a.value.length?a.value.length:u},i.value=a.value.slice(s.value.start,s.value.end).map((f,p)=>({data:f,index:p+s.value.start}))}}}function Ne(e,t){return n=>typeof e=="number"?n*e:t.value.slice(0,n).reduce((o,s,i)=>o+e(i),0)}function ze(e,t,n,r){C([e.width,e.height,t,n],()=>{r()})}function je(e,t){return x(()=>typeof e=="number"?t.value.length*e:t.value.reduce((n,r,o)=>n+e(o),0))}const Kt={horizontal:"scrollLeft",vertical:"scrollTop"};function He(e,t,n,r){return o=>{r.value&&(r.value[Kt[e]]=n(o),t())}}function qt(e,t){const n=Ie(t),{state:r,source:o,currentList:s,size:i,containerRef:a}=n,l={overflowX:"auto"},{itemWidth:d,overscan:v=5}=e,c=De(r,o,d),u=Fe(o,d),f=Ve("horizontal",v,u,c,n),p=Ne(d,o),m=x(()=>p(r.value.start)),y=je(d,o);ze(i,t,a,f);const O=He("horizontal",f,p,a),_=x(()=>({style:{height:"100%",width:`${y.value-m.value}px`,marginLeft:`${m.value}px`,display:"flex"}}));return{scrollTo:O,calculateRange:f,wrapperProps:_,containerStyle:l,currentList:s,containerRef:a}}function Zt(e,t){const n=Ie(t),{state:r,source:o,currentList:s,size:i,containerRef:a}=n,l={overflowY:"auto"},{itemHeight:d,overscan:v=5}=e,c=De(r,o,d),u=Fe(o,d),f=Ve("vertical",v,u,c,n),p=Ne(d,o),m=x(()=>p(r.value.start)),y=je(d,o);ze(i,t,a,f);const O=He("vertical",f,p,a),_=x(()=>({style:{width:"100%",height:`${y.value-m.value}px`,marginTop:`${m.value}px`}}));return{calculateRange:f,scrollTo:O,containerStyle:l,wrapperProps:_,currentList:s,containerRef:a}}export{fn as a,M as b,nn as c,ht as d,R as e,on as f,ln as g,sn as h,U as i,st as j,dn as k,cn as l,pn as m,vn as n,an as o,un as p,gn as q,rn as r,yn as s,K as t,mn as u,I as v,wn as w,Jt as x,hn as y};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var C=Object.defineProperty,I=Object.defineProperties;var k=Object.getOwnPropertyDescriptors;var w=Object.getOwnPropertySymbols;var v=Object.prototype.hasOwnProperty,B=Object.prototype.propertyIsEnumerable;var g=(e,t,o)=>t in e?C(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,E=(e,t)=>{for(var o in t||(t={}))v.call(t,o)&&g(e,o,t[o]);if(w)for(var o of w(t))B.call(t,o)&&g(e,o,t[o]);return e},x=(e,t)=>I(e,k(t));var _=(e,t,o)=>new Promise((i,m)=>{var p=n=>{try{r(o.next(n))}catch(a){m(a)}},s=n=>{try{r(o.throw(n))}catch(a){m(a)}},r=n=>n.done?i(n.value):Promise.resolve(n.value).then(p,s);r((o=o.apply(e,t)).next())});import{useRoute as R}from"./vue-router-CmJCdr1O.js";import{I as S,A as U,U as q,P as K}from"./index-DzEED7Jk.js";import{a as y}from"./element-plus-BFFi_tB4.js";import"./vxe-cI65GXN1.js";import{E as O}from"./extension-9SSJdadf.js";import{d as P,aA as u,c as $,o as b}from"./vue-Crnm0cHZ.js";import{_ as G}from"./_plugin-vue_export-helper-DlAUqK2U.js";import"./mockjs-D_zazQCp.js";import"./dayjs-DO-COJPZ.js";import"./monaco-editor-BfuwkNVi.js";import"./lodash-es-BL-d_OSa.js";import"./@vueuse-DbIzleUK.js";import"./@element-plus-icons-vue-JgjQwxw0.js";import"./shared-CFJLz5mK.js";import"./html2canvas-CIV5arX1.js";const L={class:"loading"},M=P({__name:"auth",setup(e){return _(this,null,function*(){let t,o;const i=R(),m=new q,p=([t,o]=u(()=>m.getExtension().catch(()=>null)),t=yield t,o(),t),{adapters:s}=p?([t,o]=u(()=>new O(p).load()),t=yield t,o(),t):{},r=s==null?void 0:s.access,n=s==null?void 0:s.remote,a=r?new S(x(E({},r),{alert:y.alert,storageKey:U})):void 0,A=c=>_(this,null,function*(){const h=`${n}/api/open/user/${c}`,l=yield K(h).catch(()=>null);return!l||!l.success?(yield y.alert("登录失败"),null):l.data}),f=i.query.token,d=f?([t,o]=u(()=>A(f)),t=yield t,o(),t):null;if(d)try{a==null||a.login(d);const c=i.query.redirect;location.href=decodeURIComponent(c||"/")}catch(c){location.reload()}return(c,h)=>(b(),$("div",L,"正在登录中..."))})}}),et=G(M,[["__scopeId","data-v-b861aa1a"]]);export{et as default};
|