create-nkvs-mongoose-hono 1.0.2 → 1.0.4

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/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Package
2
2
 
3
- The logic of this package is not yet perfect, but you can try using it.
3
+ The logic of this package is not yet perfect, but you can try to use it.
4
4
 
5
5
  Once you start the project, you can open http://localhost:3000/static/compass (default port is 3000).
6
6
 
@@ -15,3 +15,167 @@ Once you start the project, you can open http://localhost:3000/static/compass (d
15
15
  - npm run dev
16
16
  - npm run build
17
17
  - npm run start
18
+
19
+ ### Global Middleware
20
+
21
+ ```JavaScript
22
+ import { cors } from 'hono/cors'
23
+ import { prettyJSON } from 'hono/pretty-json'
24
+
25
+ const { globalMiddleware } = store.get('app')
26
+ globalMiddleware.push(cors(), prettyJSON())
27
+ ```
28
+
29
+ ### Middleware
30
+
31
+ ```JavaScript
32
+ const { middleware } = store.get('app')
33
+ middleware['test'] = async function (context, next) {
34
+ console.log(1)
35
+ await next()
36
+ }
37
+ ```
38
+
39
+ ### Global Middleware & Middleware / middleware/_import.js
40
+
41
+ ```JavaScript
42
+ import './global.js'
43
+ import './test.js'
44
+ ```
45
+
46
+ ### Global Middleware - Dev
47
+
48
+ ```JavaScript
49
+ const { globalMiddleware } = store.get('_app')
50
+ globalMiddleware['cors'] = 'cors.'
51
+ globalMiddleware['prettyJSON'] = 'pretty JSON.'
52
+ ```
53
+
54
+ ### Middleware - Dev
55
+
56
+ ```JavaScript
57
+ const { middleware } = store.get('_app')
58
+ middleware['test'] = 'console log 1.'
59
+ ```
60
+
61
+ ### Global Middleware - Dev & Middleware - Dev / middleware/_import.dev.js
62
+
63
+ ```JavaScript
64
+ import './global.dev.js'
65
+ import './test.dev.js'
66
+ ```
67
+
68
+ ### Router
69
+
70
+ ```JavaScript
71
+ store.get('app').routers.push({
72
+ path: '/apples',
73
+ crud: {
74
+ model: 'Apple',
75
+ findAll: { count: true, populate: 'color', limit: 5 },
76
+ findOne: { populate: 'color' }
77
+ },
78
+ events: {
79
+ 'GET /test': { middleware: ['test'], async handler({ json }) { return json({}) } }
80
+ }
81
+ )}
82
+ ```
83
+
84
+ ### Router / findAll
85
+
86
+ Boolean or Object
87
+
88
+ | Name | Type | Example |
89
+ | :--------- | :------------------------------- | :----------------------------------------------------------- |
90
+ | middleware | Array-String | ['test'] |
91
+ | filter | Object | { 'age[gte]': 18 } |
92
+ | fields | String | 'name color' ✅, 'name -createdAt' ❌, '-createdAt -upadtedAt' ❌ |
93
+ | sort | String | '-createdAt' |
94
+ | page | Number | 1 |
95
+ | limit | Number or Boolean | false, 10, If number > 300 then number = 300 |
96
+ | populate | String or Object or Array-Object | 'color', { path: 'color', select: 'name', populate: {} }, [{ path: 'color' }] |
97
+ | count | Boolean | true |
98
+
99
+ ### Router / findOne
100
+
101
+ Boolean or Object
102
+
103
+ | Name | Type | Example |
104
+ | :--------- | :------------------------------- | :----------------------------------------------------------- |
105
+ | middleware | Array-String | ['test'] |
106
+ | filter | Object | { 'age[gte]': 18 } |
107
+ | fields | String | 'name color' ✅, 'name -createdAt' ❌, '-createdAt -upadtedAt' ❌ |
108
+ | populate | String or Object or Array-Object | 'color', { path: 'color', select: 'name', populate: {} }, [{ path: 'color' }] |
109
+
110
+ ### Router / create
111
+
112
+ Boolean or Object
113
+
114
+ | Name | Type | Example |
115
+ | :--------- | :----------- | :------- |
116
+ | middleware | Array-String | ['test'] |
117
+
118
+ ### Router / update
119
+
120
+ Boolean or Object
121
+
122
+ | Name | Type | Example |
123
+ | :----------- | :----------- | :------------ |
124
+ | middleware | Array-String | ['test'] |
125
+ | ignoreFields | Array | ['active'] |
126
+ | options | Object | { new: true } |
127
+
128
+ ### Router / remove
129
+
130
+ Boolean or Object
131
+
132
+ | Name | Type | Example |
133
+ | :--------- | :----------- | :------- |
134
+ | middleware | Array-String | ['test'] |
135
+
136
+ ### Router / _import.js
137
+
138
+ ```JavaScript
139
+ import './apples.js'
140
+ ```
141
+
142
+ ### Router - Dev
143
+
144
+ ```JavaScript
145
+ store.get('_app').routers['/apples'] = {
146
+ description: 'Apple',
147
+ events: {
148
+ 'GET /test': { description: 'Apple test interface.' }
149
+ }
150
+ }
151
+ ```
152
+
153
+ ### Router - Dev / _import.dev.js
154
+
155
+ ```JavaScript
156
+ import './apples.dev.js'
157
+ ```
158
+
159
+ ### Model
160
+
161
+ ```JavaScript
162
+ store.get('app').models.Apple = {
163
+ collection: 'apples',
164
+ documentName: 'apple',
165
+ schema: {
166
+ name: { type: 'String', required: true },
167
+ color: { type: 'ObjectId', ref: 'Color' }
168
+ },
169
+ options: { timestamps: true, methods: {}, statics: {} },
170
+ middleware: [{ hook: 'pre', 'method': 'save', async handler(doc) {} }]
171
+ }
172
+ ```
173
+
174
+ ### Model / _import.js
175
+
176
+ ```JavaScript
177
+ import './Apple.js'
178
+ import './Color.js'
179
+ ```
180
+
181
+ For more details: [Mongoose](https://mongoosejs.com/) and [Hono](https://hono.dev/).
@@ -1 +1 @@
1
- import{g as f,c as r,a as t,u as s,w as d,v as i,F as m,r as v,o as a,t as u}from"./index-D6H45Mb0.js";const C={class:"flex flex-col gap-4"},R={class:"border border-slate-200 rounded-lg overflow-hidden"},U={class:"flex justify-between"},D={class:"w-full"},L={class:"border-t border-slate-200"},_={class:"border-l border-slate-200 flex items-center focus-within:bg-slate-50 transition"},k={class:"border-t border-slate-200"},E={class:"border-l border-slate-200 flex items-center focus-within:bg-slate-50 transition"},B={class:"border-t border-slate-200"},z={class:"border-l border-slate-200 flex items-center focus-within:bg-slate-50 transition"},S={class:"border-t border-slate-200"},H={class:"border-l border-slate-200 flex items-center transition p-4"},V={class:"border-t border-slate-200"},I={class:"border-l border-slate-200 flex items-center focus-within:bg-slate-50 transition"},F={class:"border border-slate-200 rounded-lg overflow-hidden"},A={class:"w-full"},O={class:"px-4 py-3 w-64"},j={class:"border-l border-slate-200 px-4 py-3"},T={__name:"config",setup(M){const e=f("front-end"),c=f("back-end");function g(l){localStorage.setItem("configURL",l.target.value),alert("Change the DOC URL")}function p(l){localStorage.setItem("configBaseURL",l.target.value),alert("Change the baseURL")}function x(l){localStorage.setItem("configAuthorization",l.target.value),alert("Change the authorization")}function w(l){localStorage.setItem("configBodyRows",l.target.value),alert("Change the bodyRows")}function h(){e.config.showDoc=!0,alert("show doc.")}function y(){e.config.showDoc=!1,alert("hide doc.")}return(l,o)=>(a(),r("div",C,[t("div",R,[t("div",U,[o[5]||(o[5]=t("div",{class:"px-4 py-3 font-bold bg-slate-100 flex-1"},"FrontEnd Config",-1)),t("button",{class:"px-4 py-3 cursor-pointer border-l border-slate-200 hover:bg-slate-50 transition",onClick:o[0]||(o[0]=(...n)=>s(e).methods.refreshData&&s(e).methods.refreshData(...n))},"Refresh Data")]),t("table",D,[t("tbody",null,[t("tr",L,[o[7]||(o[7]=t("td",{class:"px-4 py-3 w-64"},"DOC URL",-1)),t("td",_,[d(t("input",{type:"text","onUpdate:modelValue":o[1]||(o[1]=n=>s(e).config.URL=n),class:"w-full outline-none px-4 py-3",onChange:g},null,544),[[i,s(e).config.URL]]),o[6]||(o[6]=t("div",{class:"text-xs font-bold mr-4"},"Editable",-1))])]),t("tr",k,[o[9]||(o[9]=t("td",{class:"px-4 py-3 w-64"},"baseURL",-1)),t("td",E,[d(t("input",{type:"text","onUpdate:modelValue":o[2]||(o[2]=n=>s(e).config.baseURL=n),class:"w-full outline-none px-4 py-3",onChange:p},null,544),[[i,s(e).config.baseURL]]),o[8]||(o[8]=t("div",{class:"text-xs font-bold mr-4"},"Editable",-1))])]),t("tr",B,[o[11]||(o[11]=t("td",{class:"px-4 py-3 w-64"},"authorization",-1)),t("td",z,[d(t("input",{type:"text","onUpdate:modelValue":o[3]||(o[3]=n=>s(e).config.authorization=n),class:"w-full outline-none px-4 py-3",onChange:x},null,544),[[i,s(e).config.authorization]]),o[10]||(o[10]=t("div",{class:"text-xs font-bold mr-4"},"Editable",-1))])]),t("tr",S,[o[12]||(o[12]=t("td",{class:"px-4 py-3 w-64"},"showDoc",-1)),t("td",H,[s(e).config.showDoc?(a(),r("button",{key:1,class:"px-4 py-3 border border-slate-200 rounded-lg cursor-pointer hover:bg-slate-50",onClick:y},"Hide")):(a(),r("button",{key:0,class:"px-4 py-3 border border-slate-200 rounded-lg cursor-pointer hover:bg-slate-50",onClick:h},"Show"))])]),t("tr",V,[o[14]||(o[14]=t("td",{class:"px-4 py-3 w-64"},"bodyRows",-1)),t("td",I,[d(t("input",{type:"text","onUpdate:modelValue":o[4]||(o[4]=n=>s(e).config.bodyRows=n),class:"w-full outline-none px-4 py-3",onChange:w},null,544),[[i,s(e).config.bodyRows]]),o[13]||(o[13]=t("div",{class:"text-xs font-bold mr-4"},"Editable",-1))])])])])]),t("div",F,[o[15]||(o[15]=t("div",{class:"px-4 py-3 bg-slate-100 font-bold"},"BackEnd Config",-1)),t("table",A,[t("tbody",null,[(a(!0),r(m,null,v(s(c).config,(n,b)=>(a(),r("tr",{key:b,class:"even:bg-slate-100 border-t border-slate-200"},[t("td",O,u(b),1),t("td",j,u(n),1)]))),128))])])])]))}};export{T as default};
1
+ import{g as f,c as r,a as t,u as s,w as d,v as i,F as m,r as v,o as a,t as u}from"./index-C5y1FKiV.js";const C={class:"flex flex-col gap-4"},R={class:"border border-slate-200 rounded-lg overflow-hidden"},U={class:"flex justify-between"},D={class:"w-full"},L={class:"border-t border-slate-200"},_={class:"border-l border-slate-200 flex items-center focus-within:bg-slate-50 transition"},k={class:"border-t border-slate-200"},E={class:"border-l border-slate-200 flex items-center focus-within:bg-slate-50 transition"},B={class:"border-t border-slate-200"},S={class:"border-l border-slate-200 flex items-center focus-within:bg-slate-50 transition"},z={class:"border-t border-slate-200"},H={class:"border-l border-slate-200 flex items-center transition p-4"},V={class:"border-t border-slate-200"},I={class:"border-l border-slate-200 flex items-center focus-within:bg-slate-50 transition"},F={class:"border border-slate-200 rounded-lg overflow-hidden"},A={class:"w-full"},O={class:"px-4 py-3 w-64"},j={class:"border-l border-slate-200 px-4 py-3"},T={__name:"config",setup(M){const e=f("front-end"),c=f("back-end");function g(l){localStorage.setItem("configURL",l.target.value),alert("Change the DOC URL")}function p(l){localStorage.setItem("configBaseURL",l.target.value),alert("Change the baseURL")}function x(l){localStorage.setItem("configAuthorization",l.target.value),alert("Change the authorization")}function w(l){localStorage.setItem("configBodyRows",l.target.value),alert("Change the bodyRows")}function h(){e.config.showDoc=!0,alert("Show doc.")}function y(){e.config.showDoc=!1,alert("Hide doc.")}return(l,o)=>(a(),r("div",C,[t("div",R,[t("div",U,[o[5]||(o[5]=t("div",{class:"px-4 py-3 font-bold bg-slate-100 flex-1"},"FrontEnd Config",-1)),t("button",{class:"px-4 py-3 cursor-pointer border-l border-slate-200 hover:bg-slate-50 transition",onClick:o[0]||(o[0]=(...n)=>s(e).methods.refreshData&&s(e).methods.refreshData(...n))},"Refresh Data")]),t("table",D,[t("tbody",null,[t("tr",L,[o[7]||(o[7]=t("td",{class:"px-4 py-3 w-64"},"DOC URL",-1)),t("td",_,[d(t("input",{type:"text","onUpdate:modelValue":o[1]||(o[1]=n=>s(e).config.URL=n),class:"w-full outline-none px-4 py-3",onChange:g},null,544),[[i,s(e).config.URL]]),o[6]||(o[6]=t("div",{class:"text-xs font-bold mr-4"},"Editable",-1))])]),t("tr",k,[o[9]||(o[9]=t("td",{class:"px-4 py-3 w-64"},"baseURL",-1)),t("td",E,[d(t("input",{type:"text","onUpdate:modelValue":o[2]||(o[2]=n=>s(e).config.baseURL=n),class:"w-full outline-none px-4 py-3",onChange:p},null,544),[[i,s(e).config.baseURL]]),o[8]||(o[8]=t("div",{class:"text-xs font-bold mr-4"},"Editable",-1))])]),t("tr",B,[o[11]||(o[11]=t("td",{class:"px-4 py-3 w-64"},"authorization",-1)),t("td",S,[d(t("input",{type:"text","onUpdate:modelValue":o[3]||(o[3]=n=>s(e).config.authorization=n),class:"w-full outline-none px-4 py-3",onChange:x},null,544),[[i,s(e).config.authorization]]),o[10]||(o[10]=t("div",{class:"text-xs font-bold mr-4"},"Editable",-1))])]),t("tr",z,[o[12]||(o[12]=t("td",{class:"px-4 py-3 w-64"},"showDoc",-1)),t("td",H,[s(e).config.showDoc?(a(),r("button",{key:1,class:"px-4 py-3 border border-slate-200 rounded-lg cursor-pointer hover:bg-slate-50",onClick:y},"Hide")):(a(),r("button",{key:0,class:"px-4 py-3 border border-slate-200 rounded-lg cursor-pointer hover:bg-slate-50",onClick:h},"Show"))])]),t("tr",V,[o[14]||(o[14]=t("td",{class:"px-4 py-3 w-64"},"bodyRows",-1)),t("td",I,[d(t("input",{type:"text","onUpdate:modelValue":o[4]||(o[4]=n=>s(e).config.bodyRows=n),class:"w-full outline-none px-4 py-3",onChange:w},null,544),[[i,s(e).config.bodyRows]]),o[13]||(o[13]=t("div",{class:"text-xs font-bold mr-4"},"Editable",-1))])])])])]),t("div",F,[o[15]||(o[15]=t("div",{class:"px-4 py-3 bg-slate-100 font-bold"},"BackEnd Config",-1)),t("table",A,[t("tbody",null,[(a(!0),r(m,null,v(s(c).config,(n,b)=>(a(),r("tr",{key:b,class:"even:bg-slate-100 border-t border-slate-200"},[t("td",O,u(b),1),t("td",j,u(n),1)]))),128))])])])]))}};export{T as default};
@@ -1 +1 @@
1
- import{g as c,c as a,a as e,f as m,u as s,F as p,r as f,d as r,o as l,t as b}from"./index-D6H45Mb0.js";import{G as _,a as u,H as w}from"./how-to-import-dev-middleware-BKbmlczn.js";import{H as g}from"./how-to-import-middleware-BWMQNy7n.js";const h={class:"flex flex-col gap-4"},x={class:"border border-slate-200 rounded-lg overflow-hidden"},v={class:"flex justify-between"},y={class:"w-full"},D={class:"px-4 py-3 w-64"},M={class:"border-l border-slate-200 px-4 py-3"},C={__name:"global-middleware",setup(k){const o=c("front-end"),n=c("back-end");return(E,t)=>(l(),a("div",h,[e("div",x,[e("div",v,[t[1]||(t[1]=e("div",{class:"px-4 py-3 font-bold bg-slate-100 flex-1"},"Global Middleware Compass",-1)),e("button",{class:"px-4 py-3 cursor-pointer border-l border-slate-200 hover:bg-slate-50 transition",onClick:t[0]||(t[0]=(...d)=>s(o).methods.refreshData&&s(o).methods.refreshData(...d))},"Refresh Data")]),e("table",y,[(l(!0),a(p,null,f(s(n).globalMiddleware,(d,i)=>(l(),a("tr",{key:i,class:"even:bg-slate-100 border-t border-slate-200"},[e("td",D,b(i),1),e("td",M,b(d),1)]))),128))])]),s(o).methods.isEmptyObject(s(n).globalMiddleware)||s(o).config.showDoc?(l(),a(p,{key:0},[r(_),r(g),r(u),r(w)],64)):m("",!0)]))}};export{C as default};
1
+ import{g as c,c as a,a as e,f as m,u as s,F as p,r as f,d as r,o as l,t as b}from"./index-C5y1FKiV.js";import{G as _,a as u,H as w}from"./how-to-import-dev-middleware-JuvI7_42.js";import{H as g}from"./how-to-import-middleware-DRn2rKNh.js";const h={class:"flex flex-col gap-4"},x={class:"border border-slate-200 rounded-lg overflow-hidden"},v={class:"flex justify-between"},y={class:"w-full"},D={class:"px-4 py-3 w-64"},M={class:"border-l border-slate-200 px-4 py-3"},C={__name:"global-middleware",setup(k){const o=c("front-end"),n=c("back-end");return(E,t)=>(l(),a("div",h,[e("div",x,[e("div",v,[t[1]||(t[1]=e("div",{class:"px-4 py-3 font-bold bg-slate-100 flex-1"},"Global Middleware Compass",-1)),e("button",{class:"px-4 py-3 cursor-pointer border-l border-slate-200 hover:bg-slate-50 transition",onClick:t[0]||(t[0]=(...d)=>s(o).methods.refreshData&&s(o).methods.refreshData(...d))},"Refresh Data")]),e("table",y,[(l(!0),a(p,null,f(s(n).globalMiddleware,(d,i)=>(l(),a("tr",{key:i,class:"even:bg-slate-100 border-t border-slate-200"},[e("td",D,b(i),1),e("td",M,b(d),1)]))),128))])]),s(o).methods.isEmptyObject(s(n).globalMiddleware)||s(o).config.showDoc?(l(),a(p,{key:0},[r(_),r(g),r(u),r(w)],64)):m("",!0)]))}};export{C as default};
@@ -1 +1 @@
1
- import{G as p,a as n,H as i}from"./how-to-import-dev-middleware-BKbmlczn.js";import{M as m}from"./middleware-example-CjbC5awT.js";import{_ as c,c as s,a as o,o as d,b as v,d as e,e as t}from"./index-D6H45Mb0.js";import{H as b}from"./how-to-import-middleware-BWMQNy7n.js";import{R as x,a as f,b as u,c as w,d as g,e as _,H as y,f as M,g as h}from"./how-to-import-dev-router-Chu2o0sm.js";import{M as D,H as R}from"./how-to-import-model-BvwXzDVv.js";const H={},E={class:"border border-slate-200 rounded-lg overflow-hidden"};function k(l,a){return d(),s("div",E,[...a[0]||(a[0]=[o("div",{class:"px-4 py-3 bg-slate-100 font-bold"},"Middleware - Dev",-1),o("div",{class:"px-4 py-3 border-t border-slate-200"},"const { middleware } = store.get('_app')",-1),o("div",{class:"px-4 py-3 border-t border-slate-100"},"middleware['test'] = 'console log 1.'",-1)])])}const T=c(H,[["render",k]]),j={class:"flex flex-col gap-4"},$={__name:"home",setup(l){return(a,r)=>(d(),s("div",j,[r[0]||(r[0]=v('<div class="border border-slate-200 px-4 py-3 font-bold bg-slate-100 rounded-lg flex justify-between"><div>Example</div><a href="https://www.npmjs.com/package/create-nkvs-mongoose-hono" target="_blank">create-nkvs-mongoose-hono</a></div><div class="border border-slate-200 rounded-lg overflow-hidden"><div class="px-4 py-3 bg-slate-100 font-bold">npm create nkvs-mongoose-hono@latest project-name</div><div class="px-4 py-3 border-t border-slate-200">cd project-name</div><div class="px-4 py-3 border-t border-slate-200">npm install</div><div class="px-4 py-3 border-t border-slate-200">npm run dev</div><div class="px-4 py-3 border-t border-slate-200">npm run build</div><div class="px-4 py-3 border-t border-slate-200">npm run start</div></div>',2)),e(p),e(m),e(b),e(n),e(T),e(i),e(x),e(f),e(u),e(w),e(g),e(_),e(y),e(M),e(h),e(D),e(R),r[1]||(r[1]=o("div",{class:"border border-slate-200 px-4 py-3 text-center rounded-lg"},[t("For more details: "),o("a",{href:"https://mongoosejs.com/",class:"font-bold"},"Mongoose"),t(" and "),o("a",{href:"https://hono.dev/",class:"font-bold"},"Hono"),t(".")],-1))]))}};export{$ as default};
1
+ import{G as p,a as n,H as i}from"./how-to-import-dev-middleware-JuvI7_42.js";import{M as m}from"./middleware-example-CjtUCHgf.js";import{_ as c,c as s,a as o,o as d,b as v,d as e,e as t}from"./index-C5y1FKiV.js";import{H as b}from"./how-to-import-middleware-DRn2rKNh.js";import{R as x,a as f,b as u,c as w,d as g,e as _,H as y,f as M,g as h}from"./how-to-import-dev-router-DjZWhZMa.js";import{M as D,H as R}from"./how-to-import-model-Dc4Nt8Mc.js";const H={},E={class:"border border-slate-200 rounded-lg overflow-hidden"};function k(l,a){return d(),s("div",E,[...a[0]||(a[0]=[o("div",{class:"px-4 py-3 bg-slate-100 font-bold"},"Middleware - Dev",-1),o("div",{class:"px-4 py-3 border-t border-slate-200"},"const { middleware } = store.get('_app')",-1),o("div",{class:"px-4 py-3 border-t border-slate-100"},"middleware['test'] = 'console log 1.'",-1)])])}const T=c(H,[["render",k]]),j={class:"flex flex-col gap-4"},$={__name:"home",setup(l){return(a,r)=>(d(),s("div",j,[r[0]||(r[0]=v('<div class="border border-slate-200 px-4 py-3 font-bold bg-slate-100 rounded-lg flex justify-between"><div>Example</div><a href="https://www.npmjs.com/package/create-nkvs-mongoose-hono" target="_blank">create-nkvs-mongoose-hono</a></div><div class="border border-slate-200 rounded-lg overflow-hidden"><div class="px-4 py-3 bg-slate-100 font-bold">npm create nkvs-mongoose-hono@latest project-name</div><div class="px-4 py-3 border-t border-slate-200">cd project-name</div><div class="px-4 py-3 border-t border-slate-200">npm install</div><div class="px-4 py-3 border-t border-slate-200">npm run dev</div><div class="px-4 py-3 border-t border-slate-200">npm run build</div><div class="px-4 py-3 border-t border-slate-200">npm run start</div></div>',2)),e(p),e(m),e(b),e(n),e(T),e(i),e(x),e(f),e(u),e(w),e(g),e(_),e(y),e(M),e(h),e(D),e(R),r[1]||(r[1]=o("div",{class:"border border-slate-200 px-4 py-3 text-center rounded-lg"},[t("For more details: "),o("a",{href:"https://mongoosejs.com/",class:"font-bold"},"Mongoose"),t(" and "),o("a",{href:"https://hono.dev/",class:"font-bold"},"Hono"),t(".")],-1))]))}};export{$ as default};
@@ -1 +1 @@
1
- import{_ as d,c as o,b as l,o as s,a as r}from"./index-D6H45Mb0.js";const a={},i={class:"border border-slate-200 rounded-lg overflow-hidden"};function p(t,e){return s(),o("div",i,[...e[0]||(e[0]=[l('<div class="px-4 py-3 bg-slate-100 font-bold">Global Middleware</div><div class="px-4 py-3 border-t border-slate-200">import { cors } from &#39;hono/cors&#39;</div><div class="px-4 py-3 border-t border-slate-100">import { prettyJSON } from &#39;hono/pretty-json&#39;</div><div class="px-4 py-3 border-t border-slate-100">const { globalMiddleware } = store.get(&#39;app&#39;)</div><div class="px-4 py-3 border-t border-slate-100">globalMiddleware.push(cors(), prettyJSON())</div>',5)])])}const m=d(a,[["render",p]]),c={},n={class:"border border-slate-200 rounded-lg overflow-hidden"};function b(t,e){return s(),o("div",n,[...e[0]||(e[0]=[r("div",{class:"px-4 py-3 bg-slate-100 font-bold"},"Global Middleware - Dev",-1),r("div",{class:"px-4 py-3 border-t border-slate-200"},"const { globalMiddleware } = store.get('_app')",-1),r("div",{class:"px-4 py-3 border-t border-slate-100"},"globalMiddleware['cors'] = 'cors.'",-1),r("div",{class:"px-4 py-3 border-t border-slate-100"},"globalMiddleware['prettyJSON'] = 'pretty JSON.'",-1)])])}const w=d(c,[["render",b]]),v={},_={class:"border border-slate-200 rounded-lg overflow-hidden"};function f(t,e){return s(),o("div",_,[...e[0]||(e[0]=[r("div",{class:"px-4 py-3 bg-slate-100 font-bold"},"Global Middleware - Dev & Middleware - Dev / middleware/_import.dev.js",-1),r("div",{class:"px-4 py-3 border-t border-slate-200"},"import './global.dev.js'",-1),r("div",{class:"px-4 py-3 border-t border-slate-100"},"import './test.dev.js'",-1)])])}const y=d(v,[["render",f]]);export{m as G,y as H,w as a};
1
+ import{_ as d,c as o,b as l,o as s,a as r}from"./index-C5y1FKiV.js";const a={},i={class:"border border-slate-200 rounded-lg overflow-hidden"};function p(t,e){return s(),o("div",i,[...e[0]||(e[0]=[l('<div class="px-4 py-3 bg-slate-100 font-bold">Global Middleware</div><div class="px-4 py-3 border-t border-slate-200">import { cors } from &#39;hono/cors&#39;</div><div class="px-4 py-3 border-t border-slate-100">import { prettyJSON } from &#39;hono/pretty-json&#39;</div><div class="px-4 py-3 border-t border-slate-100">const { globalMiddleware } = store.get(&#39;app&#39;)</div><div class="px-4 py-3 border-t border-slate-100">globalMiddleware.push(cors(), prettyJSON())</div>',5)])])}const m=d(a,[["render",p]]),c={},n={class:"border border-slate-200 rounded-lg overflow-hidden"};function b(t,e){return s(),o("div",n,[...e[0]||(e[0]=[r("div",{class:"px-4 py-3 bg-slate-100 font-bold"},"Global Middleware - Dev",-1),r("div",{class:"px-4 py-3 border-t border-slate-200"},"const { globalMiddleware } = store.get('_app')",-1),r("div",{class:"px-4 py-3 border-t border-slate-100"},"globalMiddleware['cors'] = 'cors.'",-1),r("div",{class:"px-4 py-3 border-t border-slate-100"},"globalMiddleware['prettyJSON'] = 'pretty JSON.'",-1)])])}const w=d(c,[["render",b]]),v={},_={class:"border border-slate-200 rounded-lg overflow-hidden"};function f(t,e){return s(),o("div",_,[...e[0]||(e[0]=[r("div",{class:"px-4 py-3 bg-slate-100 font-bold"},"Global Middleware - Dev & Middleware - Dev / middleware/_import.dev.js",-1),r("div",{class:"px-4 py-3 border-t border-slate-200"},"import './global.dev.js'",-1),r("div",{class:"px-4 py-3 border-t border-slate-100"},"import './test.dev.js'",-1)])])}const y=d(v,[["render",f]]);export{m as G,y as H,w as a};
@@ -0,0 +1 @@
1
+ import{_ as e,c as t,b as l,o as d,a as o}from"./index-C5y1FKiV.js";const a={},p={class:"border border-slate-200 rounded-lg overflow-hidden"};function b(s,r){return d(),t("div",p,[...r[0]||(r[0]=[l('<div class="px-4 py-3 bg-slate-100 font-bold">Router</div><div class="px-4 py-3 border-t border-slate-200">store.get(&#39;app&#39;).routers.push({</div><div class="px-4 py-3 border-t border-slate-100">  path: &#39;/apples&#39;,</div><div class="px-4 py-3 border-t border-slate-100">  crud: {</div><div class="px-4 py-3 border-t border-slate-100">    model: &#39;Apple&#39;,</div><div class="px-4 py-3 border-t border-slate-100">    findAll: { count: true, populate: &#39;color&#39;, limit: 5 },</div><div class="px-4 py-3 border-t border-slate-100">    findOne: { populate: &#39;color&#39; }</div><div class="px-4 py-3 border-t border-slate-100">  },</div><div class="px-4 py-3 border-t border-slate-100">  events: {</div><div class="px-4 py-3 border-t border-slate-100">    &#39;GET /test&#39;: { middleware: [&#39;test&#39;], async handler({ json }) { return json({}) } }</div><div class="px-4 py-3 border-t border-slate-100">  }</div><div class="px-4 py-3 border-t border-slate-100">)}</div>',12)])])}const H=e(a,[["render",b]]),c={},n={class:"border border-slate-200 rounded-lg overflow-hidden"};function i(s,r){return d(),t("div",n,[...r[0]||(r[0]=[l('<div class="px-4 py-3 bg-slate-100 font-bold">Router / findAll</div><div class="px-4 py-3 border-t border-slate-200">Boolean or Object</div><table class="w-full"><thead><tr class="border-t border-slate-200"><th class="px-4 py-3 text-left w-32">Name</th><th class="px-4 py-3 border-l border-slate-200 text-left w-96">Type</th><th class="px-4 py-3 border-l border-slate-200 text-left">Example</th></tr></thead><tbody><tr class="border-t border-slate-200"><td class="px-4 py-3">middleware</td><td class="px-4 py-3 border-l border-slate-200">Array-String</td><td class="px-4 py-3 border-l border-slate-200">[&#39;test&#39;]</td></tr><tr class="border-t border-slate-200"><td class="px-4 py-3">filter</td><td class="px-4 py-3 border-l border-slate-200">Object</td><td class="px-4 py-3 border-l border-slate-200">{ &#39;age[gte]&#39;: 18 }</td></tr><tr class="border-t border-slate-200"><td class="px-4 py-3">fields</td><td class="px-4 py-3 border-l border-slate-200">String</td><td class="px-4 py-3 border-l border-slate-200">&#39;name color&#39; ✅, &#39;name -createdAt&#39; ❌, &#39;-createdAt -upadtedAt&#39; ❌</td></tr><tr class="border-t border-slate-200"><td class="px-4 py-3">sort</td><td class="px-4 py-3 border-l border-slate-200">String</td><td class="px-4 py-3 border-l border-slate-200">&#39;-createdAt&#39;</td></tr><tr class="border-t border-slate-200"><td class="px-4 py-3">page</td><td class="px-4 py-3 border-l border-slate-200">Number</td><td class="px-4 py-3 border-l border-slate-200">1</td></tr><tr class="border-t border-slate-200"><td class="px-4 py-3">limit</td><td class="px-4 py-3 border-l border-slate-200">Number or Boolean</td><td class="px-4 py-3 border-l border-slate-200">false, 10, If number &gt; 300 then number = 300</td></tr><tr class="border-t border-slate-200"><td class="px-4 py-3">populate</td><td class="px-4 py-3 border-l border-slate-200">String or Object or Array-Object</td><td class="px-4 py-3 border-l border-slate-200">&#39;color&#39;, { path: &#39;color&#39;, select: &#39;name&#39;, populate: {} }, [{ path: &#39;color&#39; }]</td></tr><tr class="border-t border-slate-200"><td class="px-4 py-3">count</td><td class="px-4 py-3 border-l border-slate-200">Boolean</td><td class="px-4 py-3 border-l border-slate-200">true</td></tr></tbody></table>',3)])])}const I=e(c,[["render",i]]),x={},y={class:"border border-slate-200 rounded-lg overflow-hidden"};function v(s,r){return d(),t("div",y,[...r[0]||(r[0]=[l('<div class="px-4 py-3 bg-slate-100 font-bold">Router / findOne</div><div class="px-4 py-3 border-t border-slate-200">Boolean or Object</div><table class="w-full"><thead><tr class="border-t border-slate-200"><th class="px-4 py-3 text-left w-32">Name</th><th class="px-4 py-3 border-l border-slate-200 text-left w-96">Type</th><th class="px-4 py-3 border-l border-slate-200 text-left">Example</th></tr></thead><tbody><tr class="border-t border-slate-200"><td class="px-4 py-3">middleware</td><td class="px-4 py-3 border-l border-slate-200">Array-String</td><td class="px-4 py-3 border-l border-slate-200">[&#39;test&#39;]</td></tr><tr class="border-t border-slate-200"><td class="px-4 py-3">filter</td><td class="px-4 py-3 border-l border-slate-200">Object</td><td class="px-4 py-3 border-l border-slate-200">{ &#39;age[gte]&#39;: 18 }</td></tr><tr class="border-t border-slate-200"><td class="px-4 py-3">fields</td><td class="px-4 py-3 border-l border-slate-200">String</td><td class="px-4 py-3 border-l border-slate-200">&#39;name color&#39; ✅, &#39;name -createdAt&#39; ❌, &#39;-createdAt -upadtedAt&#39; ❌</td></tr><tr class="border-t border-slate-200"><td class="px-4 py-3">populate</td><td class="px-4 py-3 border-l border-slate-200">String or Object or Array-Object</td><td class="px-4 py-3 border-l border-slate-200">&#39;color&#39;, { path: &#39;color&#39;, select: &#39;name&#39;, populate: {} }, [{ path: &#39;color&#39; }]</td></tr></tbody></table>',3)])])}const k=e(x,[["render",v]]),f={},u={class:"border border-slate-200 rounded-lg overflow-hidden"};function _(s,r){return d(),t("div",u,[...r[0]||(r[0]=[l('<div class="px-4 py-3 bg-slate-100 font-bold">Router / create</div><div class="px-4 py-3 border-t border-slate-200">Boolean or Object</div><table class="w-full"><thead><tr class="border-t border-slate-200"><th class="px-4 py-3 text-left w-32">Name</th><th class="px-4 py-3 border-l border-slate-200 text-left w-96">Type</th><th class="px-4 py-3 border-l border-slate-200 text-left">Example</th></tr></thead><tbody><tr class="border-t border-slate-200"><td class="px-4 py-3">middleware</td><td class="px-4 py-3 border-l border-slate-200">Array-String</td><td class="px-4 py-3 border-l border-slate-200">[&#39;test&#39;]</td></tr></tbody></table>',3)])])}const G=e(f,[["render",_]]),h={},m={class:"border border-slate-200 rounded-lg overflow-hidden"};function g(s,r){return d(),t("div",m,[...r[0]||(r[0]=[l('<div class="px-4 py-3 bg-slate-100 font-bold">Router / update</div><div class="px-4 py-3 border-t border-slate-200">Boolean or Object</div><table class="w-full"><thead><tr class="border-t border-slate-200"><th class="px-4 py-3 text-left w-32">Name</th><th class="px-4 py-3 border-l border-slate-200 text-left w-96">Type</th><th class="px-4 py-3 border-l border-slate-200 text-left">Example</th></tr></thead><tbody><tr class="border-t border-slate-200"><td class="px-4 py-3">middleware</td><td class="px-4 py-3 border-l border-slate-200">Array-String</td><td class="px-4 py-3 border-l border-slate-200">[&#39;test&#39;]</td></tr><tr class="border-t border-slate-200"><td class="px-4 py-3">ignoreFields</td><td class="px-4 py-3 border-l border-slate-200">Array-String</td><td class="px-4 py-3 border-l border-slate-200">[&#39;active&#39;]</td></tr><tr class="border-t border-slate-200"><td class="px-4 py-3">options</td><td class="px-4 py-3 border-l border-slate-200">Object</td><td class="px-4 py-3 border-l border-slate-200">{ new: true }</td></tr></tbody></table>',3)])])}const V=e(h,[["render",g]]),w={},$={class:"border border-slate-200 rounded-lg overflow-hidden"};function A(s,r){return d(),t("div",$,[...r[0]||(r[0]=[l('<div class="px-4 py-3 bg-slate-100 font-bold">Router / remove</div><div class="px-4 py-3 border-t border-slate-200">Boolean or Object</div><table class="w-full"><thead><tr class="border-t border-slate-200"><th class="px-4 py-3 text-left w-32">Name</th><th class="px-4 py-3 border-l border-slate-200 text-left w-96">Type</th><th class="px-4 py-3 border-l border-slate-200 text-left">Example</th></tr></thead><tbody><tr class="border-t border-slate-200"><td class="px-4 py-3">middleware</td><td class="px-4 py-3 border-l border-slate-200">Array-String</td><td class="px-4 py-3 border-l border-slate-200">[&#39;test&#39;]</td></tr></tbody></table>',3)])])}const C=e(w,[["render",A]]),R={},j={class:"border border-slate-200 rounded-lg overflow-hidden"};function O(s,r){return d(),t("div",j,[...r[0]||(r[0]=[o("div",{class:"px-4 py-3 bg-slate-100 font-bold"},"Router / _import.js",-1),o("div",{class:"px-4 py-3 border-t border-slate-200"},"import './apples.js'",-1)])])}const U=e(R,[["render",O]]),S={},B={class:"border border-slate-200 rounded-lg overflow-hidden"};function E(s,r){return d(),t("div",B,[...r[0]||(r[0]=[l('<div class="px-4 py-3 bg-slate-100 font-bold">Router - Dev</div><div class="px-4 py-3 border-t border-slate-200">store.get(&#39;_app&#39;).routers[&#39;/apples&#39;] = {</div><div class="px-4 py-3 border-t border-slate-100">  description: &#39;Apple&#39;,</div><div class="px-4 py-3 border-t border-slate-100">  events: {</div><div class="px-4 py-3 border-t border-slate-100">    &#39;GET /test&#39;: { description: &#39;Apple test interface.&#39; }</div><div class="px-4 py-3 border-t border-slate-100">  }</div><div class="px-4 py-3 border-t border-slate-100">}</div>',7)])])}const q=e(S,[["render",E]]),D={},N={class:"border border-slate-200 rounded-lg overflow-hidden"};function T(s,r){return d(),t("div",N,[...r[0]||(r[0]=[o("div",{class:"px-4 py-3 bg-slate-100 font-bold"},"Router - Dev / _import.dev.js",-1),o("div",{class:"px-4 py-3 border-t border-slate-200"},"import './apples.dev.js'",-1)])])}const z=e(D,[["render",T]]);export{U as H,H as R,I as a,k as b,G as c,V as d,C as e,q as f,z as g};
@@ -1 +1 @@
1
- import{_ as o,c as s,a as e,o as d}from"./index-D6H45Mb0.js";const t={},a={class:"border border-slate-200 rounded-lg overflow-hidden"};function l(i,r){return d(),s("div",a,[...r[0]||(r[0]=[e("div",{class:"px-4 py-3 bg-slate-100 font-bold"},"Global Middleware & Middleware / middleware/_import.js",-1),e("div",{class:"px-4 py-3 border-t border-slate-200"},"import './global.js'",-1),e("div",{class:"px-4 py-3 border-t border-slate-100"},"import './test.js'",-1)])])}const n=o(t,[["render",l]]);export{n as H};
1
+ import{_ as o,c as s,a as e,o as d}from"./index-C5y1FKiV.js";const t={},a={class:"border border-slate-200 rounded-lg overflow-hidden"};function l(i,r){return d(),s("div",a,[...r[0]||(r[0]=[e("div",{class:"px-4 py-3 bg-slate-100 font-bold"},"Global Middleware & Middleware / middleware/_import.js",-1),e("div",{class:"px-4 py-3 border-t border-slate-200"},"import './global.js'",-1),e("div",{class:"px-4 py-3 border-t border-slate-100"},"import './test.js'",-1)])])}const n=o(t,[["render",l]]);export{n as H};
@@ -0,0 +1 @@
1
+ import{_ as d,c as o,b as a,o as s,a as r}from"./index-C5y1FKiV.js";const l={},p={class:"border border-slate-200 rounded-lg overflow-hidden"};function i(t,e){return s(),o("div",p,[...e[0]||(e[0]=[a('<div class="px-4 py-3 bg-slate-100 font-bold">Model</div><div class="px-4 py-3 border-t border-slate-200">store.get(&#39;app&#39;).models.Apple = {</div><div class="px-4 py-3 border-t border-slate-100">  collection: &#39;apples&#39;,</div><div class="px-4 py-3 border-t border-slate-100">  documentName: &#39;apple&#39;,</div><div class="px-4 py-3 border-t border-slate-100">  schema: {</div><div class="px-4 py-3 border-t border-slate-100">    name: { type: &#39;String&#39;, required: true },</div><div class="px-4 py-3 border-t border-slate-100">    color: { type: &#39;ObjectId&#39;, ref: &#39;Color&#39; }</div><div class="px-4 py-3 border-t border-slate-100">  },</div><div class="px-4 py-3 border-t border-slate-100">  options: { timestamps: true, methods: {}, statics: {} },</div><div class="px-4 py-3 border-t border-slate-100">  middleware: [{ hook: &#39;pre&#39;, &#39;method&#39;: &#39;save&#39;, async handler(doc) {} }]</div><div class="px-4 py-3 border-t border-slate-100">}</div>',11)])])}const m=d(l,[["render",i]]),c={},b={class:"border border-slate-200 rounded-lg overflow-hidden"};function n(t,e){return s(),o("div",b,[...e[0]||(e[0]=[r("div",{class:"px-4 py-3 bg-slate-100 font-bold"},"Model / _import.js",-1),r("div",{class:"px-4 py-3 border-t border-slate-200"},"import './Apple.js'",-1),r("div",{class:"px-4 py-3 border-t border-slate-100"},"import './Color.js'",-1)])])}const x=d(c,[["render",n]]);export{x as H,m as M};
@@ -1,2 +1,2 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/home--bVFpcXR.js","assets/how-to-import-dev-middleware-BKbmlczn.js","assets/middleware-example-CjbC5awT.js","assets/how-to-import-middleware-BWMQNy7n.js","assets/how-to-import-dev-router-Chu2o0sm.js","assets/how-to-import-model-BvwXzDVv.js","assets/global-middleware-D_iAyTrE.js","assets/middleware-CiRXg1kd.js","assets/routers-BrLbEkdM.js","assets/models-BNO9a_uW.js"])))=>i.map(i=>d[i]);
2
- (function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))s(r);new MutationObserver(r=>{for(const i of r)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&s(o)}).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 s(r){if(r.ep)return;r.ep=!0;const i=n(r);fetch(r.href,i)}})();function Vs(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const ie={},Gt=[],Ze=()=>{},mi=()=>!1,Gn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),ks=e=>e.startsWith("onUpdate:"),pe=Object.assign,js=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},qo=Object.prototype.hasOwnProperty,ne=(e,t)=>qo.call(e,t),U=Array.isArray,$t=e=>$n(e)==="[object Map]",_i=e=>$n(e)==="[object Set]",G=e=>typeof e=="function",ae=e=>typeof e=="string",xt=e=>typeof e=="symbol",ce=e=>e!==null&&typeof e=="object",Us=e=>(ce(e)||G(e))&&G(e.then)&&G(e.catch),vi=Object.prototype.toString,$n=e=>vi.call(e),zo=e=>$n(e).slice(8,-1),yi=e=>$n(e)==="[object Object]",Gs=e=>ae(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,rn=Vs(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Kn=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},Jo=/-\w/g,He=Kn(e=>e.replace(Jo,t=>t.slice(1).toUpperCase())),Yo=/\B([A-Z])/g,Dt=Kn(e=>e.replace(Yo,"-$1").toLowerCase()),Wn=Kn(e=>e.charAt(0).toUpperCase()+e.slice(1)),ss=Kn(e=>e?`on${Wn(e)}`:""),yt=(e,t)=>!Object.is(e,t),On=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},bi=(e,t,n,s=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},$s=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Ei=e=>{const t=ae(e)?Number(e):NaN;return isNaN(t)?e:t};let pr;const qn=()=>pr||(pr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Ks(e){if(U(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],r=ae(s)?el(s):Ks(s);if(r)for(const i in r)t[i]=r[i]}return t}else if(ae(e)||ce(e))return e}const Qo=/;(?![^(]*\))/g,Zo=/:([^]+)/,Xo=/\/\*[^]*?\*\//g;function el(e){const t={};return e.replace(Xo,"").split(Qo).forEach(n=>{if(n){const s=n.split(Zo);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function zn(e){let t="";if(ae(e))t=e;else if(U(e))for(let n=0;n<e.length;n++){const s=zn(e[n]);s&&(t+=s+" ")}else if(ce(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const tl="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",nl=Vs(tl);function xi(e){return!!e||e===""}const wi=e=>!!(e&&e.__v_isRef===!0),Ws=e=>ae(e)?e:e==null?"":U(e)||ce(e)&&(e.toString===vi||!G(e.toString))?wi(e)?Ws(e.value):JSON.stringify(e,Ai,2):String(e),Ai=(e,t)=>wi(t)?Ai(e,t.value):$t(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],i)=>(n[rs(s,i)+" =>"]=r,n),{})}:_i(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>rs(n))}:xt(t)?rs(t):ce(t)&&!U(t)&&!yi(t)?String(t):t,rs=(e,t="")=>{var n;return xt(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};let Te;class sl{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Te,!t&&Te&&(this.index=(Te.scopes||(Te.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=Te;try{return Te=this,t()}finally{Te=n}}}on(){++this._on===1&&(this.prevScope=Te,Te=this)}off(){this._on>0&&--this._on===0&&(Te=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let n,s;for(n=0,s=this.effects.length;n<s;n++)this.effects[n].stop();for(this.effects.length=0,n=0,s=this.cleanups.length;n<s;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,s=this.scopes.length;n<s;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0}}}function rl(){return Te}let le;const is=new WeakSet;class Ci{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,Te&&Te.active&&Te.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,is.has(this)&&(is.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Si(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,gr(this),Ti(this);const t=le,n=je;le=this,je=!0;try{return this.fn()}finally{Oi(this),le=t,je=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Js(t);this.deps=this.depsTail=void 0,gr(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?is.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){ys(this)&&this.run()}get dirty(){return ys(this)}}let Ri=0,on,ln;function Si(e,t=!1){if(e.flags|=8,t){e.next=ln,ln=e;return}e.next=on,on=e}function qs(){Ri++}function zs(){if(--Ri>0)return;if(ln){let t=ln;for(ln=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;on;){let t=on;for(on=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(s){e||(e=s)}t=n}}if(e)throw e}function Ti(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Oi(e){let t,n=e.depsTail,s=n;for(;s;){const r=s.prevDep;s.version===-1?(s===n&&(n=r),Js(s),il(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=r}e.deps=t,e.depsTail=n}function ys(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Ii(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Ii(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===hn)||(e.globalVersion=hn,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!ys(e))))return;e.flags|=2;const t=e.dep,n=le,s=je;le=e,je=!0;try{Ti(e);const r=e.fn(e._value);(t.version===0||yt(r,e._value))&&(e.flags|=128,e._value=r,t.version++)}catch(r){throw t.version++,r}finally{le=n,je=s,Oi(e),e.flags&=-3}}function Js(e,t=!1){const{dep:n,prevSub:s,nextSub:r}=e;if(s&&(s.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=s,e.nextSub=void 0),n.subs===e&&(n.subs=s,!s&&n.computed)){n.computed.flags&=-5;for(let i=n.computed.deps;i;i=i.nextDep)Js(i,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function il(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let je=!0;const Pi=[];function ct(){Pi.push(je),je=!1}function ft(){const e=Pi.pop();je=e===void 0?!0:e}function gr(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=le;le=void 0;try{t()}finally{le=n}}}let hn=0;class ol{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Ys{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!le||!je||le===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==le)n=this.activeLink=new ol(le,this),le.deps?(n.prevDep=le.depsTail,le.depsTail.nextDep=n,le.depsTail=n):le.deps=le.depsTail=n,Ni(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const s=n.nextDep;s.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=s),n.prevDep=le.depsTail,n.nextDep=void 0,le.depsTail.nextDep=n,le.depsTail=n,le.deps===n&&(le.deps=s)}return n}trigger(t){this.version++,hn++,this.notify(t)}notify(t){qs();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{zs()}}}function Ni(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let s=t.deps;s;s=s.nextDep)Ni(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const bs=new WeakMap,Pt=Symbol(""),Es=Symbol(""),pn=Symbol("");function _e(e,t,n){if(je&&le){let s=bs.get(e);s||bs.set(e,s=new Map);let r=s.get(n);r||(s.set(n,r=new Ys),r.map=s,r.key=n),r.track()}}function ot(e,t,n,s,r,i){const o=bs.get(e);if(!o){hn++;return}const l=c=>{c&&c.trigger()};if(qs(),t==="clear")o.forEach(l);else{const c=U(e),d=c&&Gs(n);if(c&&n==="length"){const f=Number(s);o.forEach((u,p)=>{(p==="length"||p===pn||!xt(p)&&p>=f)&&l(u)})}else switch((n!==void 0||o.has(void 0))&&l(o.get(n)),d&&l(o.get(pn)),t){case"add":c?d&&l(o.get("length")):(l(o.get(Pt)),$t(e)&&l(o.get(Es)));break;case"delete":c||(l(o.get(Pt)),$t(e)&&l(o.get(Es)));break;case"set":$t(e)&&l(o.get(Pt));break}}zs()}function Ht(e){const t=X(e);return t===e?t:(_e(t,"iterate",pn),Be(e)?t:t.map(Ue))}function Jn(e){return _e(e=X(e),"iterate",pn),e}function gt(e,t){return ut(e)?Nt(e)?Jt(Ue(t)):Jt(t):Ue(t)}const ll={__proto__:null,[Symbol.iterator](){return os(this,Symbol.iterator,e=>gt(this,e))},concat(...e){return Ht(this).concat(...e.map(t=>U(t)?Ht(t):t))},entries(){return os(this,"entries",e=>(e[1]=gt(this,e[1]),e))},every(e,t){return tt(this,"every",e,t,void 0,arguments)},filter(e,t){return tt(this,"filter",e,t,n=>n.map(s=>gt(this,s)),arguments)},find(e,t){return tt(this,"find",e,t,n=>gt(this,n),arguments)},findIndex(e,t){return tt(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return tt(this,"findLast",e,t,n=>gt(this,n),arguments)},findLastIndex(e,t){return tt(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return tt(this,"forEach",e,t,void 0,arguments)},includes(...e){return ls(this,"includes",e)},indexOf(...e){return ls(this,"indexOf",e)},join(e){return Ht(this).join(e)},lastIndexOf(...e){return ls(this,"lastIndexOf",e)},map(e,t){return tt(this,"map",e,t,void 0,arguments)},pop(){return en(this,"pop")},push(...e){return en(this,"push",e)},reduce(e,...t){return mr(this,"reduce",e,t)},reduceRight(e,...t){return mr(this,"reduceRight",e,t)},shift(){return en(this,"shift")},some(e,t){return tt(this,"some",e,t,void 0,arguments)},splice(...e){return en(this,"splice",e)},toReversed(){return Ht(this).toReversed()},toSorted(e){return Ht(this).toSorted(e)},toSpliced(...e){return Ht(this).toSpliced(...e)},unshift(...e){return en(this,"unshift",e)},values(){return os(this,"values",e=>gt(this,e))}};function os(e,t,n){const s=Jn(e),r=s[t]();return s!==e&&!Be(e)&&(r._next=r.next,r.next=()=>{const i=r._next();return i.done||(i.value=n(i.value)),i}),r}const cl=Array.prototype;function tt(e,t,n,s,r,i){const o=Jn(e),l=o!==e&&!Be(e),c=o[t];if(c!==cl[t]){const u=c.apply(e,i);return l?Ue(u):u}let d=n;o!==e&&(l?d=function(u,p){return n.call(this,gt(e,u),p,e)}:n.length>2&&(d=function(u,p){return n.call(this,u,p,e)}));const f=c.call(o,d,s);return l&&r?r(f):f}function mr(e,t,n,s){const r=Jn(e);let i=n;return r!==e&&(Be(e)?n.length>3&&(i=function(o,l,c){return n.call(this,o,l,c,e)}):i=function(o,l,c){return n.call(this,o,gt(e,l),c,e)}),r[t](i,...s)}function ls(e,t,n){const s=X(e);_e(s,"iterate",pn);const r=s[t](...n);return(r===-1||r===!1)&&Xs(n[0])?(n[0]=X(n[0]),s[t](...n)):r}function en(e,t,n=[]){ct(),qs();const s=X(e)[t].apply(e,n);return zs(),ft(),s}const fl=Vs("__proto__,__v_isRef,__isVue"),Li=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(xt));function ul(e){xt(e)||(e=String(e));const t=X(this);return _e(t,"has",e),t.hasOwnProperty(e)}class Mi{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){if(n==="__v_skip")return t.__v_skip;const r=this._isReadonly,i=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return i;if(n==="__v_raw")return s===(r?i?bl:Hi:i?Bi:Fi).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const o=U(t);if(!r){let c;if(o&&(c=ll[n]))return c;if(n==="hasOwnProperty")return ul}const l=Reflect.get(t,n,ye(t)?t:s);if((xt(n)?Li.has(n):fl(n))||(r||_e(t,"get",n),i))return l;if(ye(l)){const c=o&&Gs(n)?l:l.value;return r&&ce(c)?ws(c):c}return ce(l)?r?ws(l):zt(l):l}}class Di extends Mi{constructor(t=!1){super(!1,t)}set(t,n,s,r){let i=t[n];const o=U(t)&&Gs(n);if(!this._isShallow){const d=ut(i);if(!Be(s)&&!ut(s)&&(i=X(i),s=X(s)),!o&&ye(i)&&!ye(s))return d||(i.value=s),!0}const l=o?Number(n)<t.length:ne(t,n),c=Reflect.set(t,n,s,ye(t)?t:r);return t===X(r)&&(l?yt(s,i)&&ot(t,"set",n,s):ot(t,"add",n,s)),c}deleteProperty(t,n){const s=ne(t,n);t[n];const r=Reflect.deleteProperty(t,n);return r&&s&&ot(t,"delete",n,void 0),r}has(t,n){const s=Reflect.has(t,n);return(!xt(n)||!Li.has(n))&&_e(t,"has",n),s}ownKeys(t){return _e(t,"iterate",U(t)?"length":Pt),Reflect.ownKeys(t)}}class al extends Mi{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const dl=new Di,hl=new al,pl=new Di(!0);const xs=e=>e,An=e=>Reflect.getPrototypeOf(e);function gl(e,t,n){return function(...s){const r=this.__v_raw,i=X(r),o=$t(i),l=e==="entries"||e===Symbol.iterator&&o,c=e==="keys"&&o,d=r[e](...s),f=n?xs:t?Jt:Ue;return!t&&_e(i,"iterate",c?Es:Pt),{next(){const{value:u,done:p}=d.next();return p?{value:u,done:p}:{value:l?[f(u[0]),f(u[1])]:f(u),done:p}},[Symbol.iterator](){return this}}}}function Cn(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function ml(e,t){const n={get(r){const i=this.__v_raw,o=X(i),l=X(r);e||(yt(r,l)&&_e(o,"get",r),_e(o,"get",l));const{has:c}=An(o),d=t?xs:e?Jt:Ue;if(c.call(o,r))return d(i.get(r));if(c.call(o,l))return d(i.get(l));i!==o&&i.get(r)},get size(){const r=this.__v_raw;return!e&&_e(X(r),"iterate",Pt),r.size},has(r){const i=this.__v_raw,o=X(i),l=X(r);return e||(yt(r,l)&&_e(o,"has",r),_e(o,"has",l)),r===l?i.has(r):i.has(r)||i.has(l)},forEach(r,i){const o=this,l=o.__v_raw,c=X(l),d=t?xs:e?Jt:Ue;return!e&&_e(c,"iterate",Pt),l.forEach((f,u)=>r.call(i,d(f),d(u),o))}};return pe(n,e?{add:Cn("add"),set:Cn("set"),delete:Cn("delete"),clear:Cn("clear")}:{add(r){!t&&!Be(r)&&!ut(r)&&(r=X(r));const i=X(this);return An(i).has.call(i,r)||(i.add(r),ot(i,"add",r,r)),this},set(r,i){!t&&!Be(i)&&!ut(i)&&(i=X(i));const o=X(this),{has:l,get:c}=An(o);let d=l.call(o,r);d||(r=X(r),d=l.call(o,r));const f=c.call(o,r);return o.set(r,i),d?yt(i,f)&&ot(o,"set",r,i):ot(o,"add",r,i),this},delete(r){const i=X(this),{has:o,get:l}=An(i);let c=o.call(i,r);c||(r=X(r),c=o.call(i,r)),l&&l.call(i,r);const d=i.delete(r);return c&&ot(i,"delete",r,void 0),d},clear(){const r=X(this),i=r.size!==0,o=r.clear();return i&&ot(r,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(r=>{n[r]=gl(r,e,t)}),n}function Qs(e,t){const n=ml(e,t);return(s,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(ne(n,r)&&r in s?n:s,r,i)}const _l={get:Qs(!1,!1)},vl={get:Qs(!1,!0)},yl={get:Qs(!0,!1)};const Fi=new WeakMap,Bi=new WeakMap,Hi=new WeakMap,bl=new WeakMap;function El(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function xl(e){return e.__v_skip||!Object.isExtensible(e)?0:El(zo(e))}function zt(e){return ut(e)?e:Zs(e,!1,dl,_l,Fi)}function Vi(e){return Zs(e,!1,pl,vl,Bi)}function ws(e){return Zs(e,!0,hl,yl,Hi)}function Zs(e,t,n,s,r){if(!ce(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=xl(e);if(i===0)return e;const o=r.get(e);if(o)return o;const l=new Proxy(e,i===2?s:n);return r.set(e,l),l}function Nt(e){return ut(e)?Nt(e.__v_raw):!!(e&&e.__v_isReactive)}function ut(e){return!!(e&&e.__v_isReadonly)}function Be(e){return!!(e&&e.__v_isShallow)}function Xs(e){return e?!!e.__v_raw:!1}function X(e){const t=e&&e.__v_raw;return t?X(t):e}function wl(e){return!ne(e,"__v_skip")&&Object.isExtensible(e)&&bi(e,"__v_skip",!0),e}const Ue=e=>ce(e)?zt(e):e,Jt=e=>ce(e)?ws(e):e;function ye(e){return e?e.__v_isRef===!0:!1}function In(e){return ki(e,!1)}function Al(e){return ki(e,!0)}function ki(e,t){return ye(e)?e:new Cl(e,t)}class Cl{constructor(t,n){this.dep=new Ys,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:X(t),this._value=n?t:Ue(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||Be(t)||ut(t);t=s?t:X(t),yt(t,n)&&(this._rawValue=t,this._value=s?t:Ue(t),this.dep.trigger())}}function Lt(e){return ye(e)?e.value:e}const Rl={get:(e,t,n)=>t==="__v_raw"?e:Lt(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return ye(r)&&!ye(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function ji(e){return Nt(e)?e:new Proxy(e,Rl)}class Sl{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Ys(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=hn-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&le!==this)return Si(this,!0),!0}get value(){const t=this.dep.track();return Ii(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Tl(e,t,n=!1){let s,r;return G(e)?s=e:(s=e.get,r=e.set),new Sl(s,r,n)}const Rn={},Fn=new WeakMap;let Ot;function Ol(e,t=!1,n=Ot){if(n){let s=Fn.get(n);s||Fn.set(n,s=[]),s.push(e)}}function Il(e,t,n=ie){const{immediate:s,deep:r,once:i,scheduler:o,augmentJob:l,call:c}=n,d=L=>r?L:Be(L)||r===!1||r===0?lt(L,1):lt(L);let f,u,p,m,x=!1,C=!1;if(ye(e)?(u=()=>e.value,x=Be(e)):Nt(e)?(u=()=>d(e),x=!0):U(e)?(C=!0,x=e.some(L=>Nt(L)||Be(L)),u=()=>e.map(L=>{if(ye(L))return L.value;if(Nt(L))return d(L);if(G(L))return c?c(L,2):L()})):G(e)?t?u=c?()=>c(e,2):e:u=()=>{if(p){ct();try{p()}finally{ft()}}const L=Ot;Ot=f;try{return c?c(e,3,[m]):e(m)}finally{Ot=L}}:u=Ze,t&&r){const L=u,I=r===!0?1/0:r;u=()=>lt(L(),I)}const j=rl(),N=()=>{f.stop(),j&&j.active&&js(j.effects,f)};if(i&&t){const L=t;t=(...I)=>{L(...I),N()}}let O=C?new Array(e.length).fill(Rn):Rn;const D=L=>{if(!(!(f.flags&1)||!f.dirty&&!L))if(t){const I=f.run();if(r||x||(C?I.some((B,W)=>yt(B,O[W])):yt(I,O))){p&&p();const B=Ot;Ot=f;try{const W=[I,O===Rn?void 0:C&&O[0]===Rn?[]:O,m];O=I,c?c(t,3,W):t(...W)}finally{Ot=B}}}else f.run()};return l&&l(D),f=new Ci(u),f.scheduler=o?()=>o(D,!1):D,m=L=>Ol(L,!1,f),p=f.onStop=()=>{const L=Fn.get(f);if(L){if(c)c(L,4);else for(const I of L)I();Fn.delete(f)}},t?s?D(!0):O=f.run():o?o(D.bind(null,!0),!0):f.run(),N.pause=f.pause.bind(f),N.resume=f.resume.bind(f),N.stop=N,N}function lt(e,t=1/0,n){if(t<=0||!ce(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,ye(e))lt(e.value,t,n);else if(U(e))for(let s=0;s<e.length;s++)lt(e[s],t,n);else if(_i(e)||$t(e))e.forEach(s=>{lt(s,t,n)});else if(yi(e)){for(const s in e)lt(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&lt(e[s],t,n)}return e}function xn(e,t,n,s){try{return s?e(...s):e()}catch(r){wn(r,t,n)}}function Ge(e,t,n,s){if(G(e)){const r=xn(e,t,n,s);return r&&Us(r)&&r.catch(i=>{wn(i,t,n)}),r}if(U(e)){const r=[];for(let i=0;i<e.length;i++)r.push(Ge(e[i],t,n,s));return r}}function wn(e,t,n,s=!0){const r=t?t.vnode:null,{errorHandler:i,throwUnhandledErrorInProduction:o}=t&&t.appContext.config||ie;if(t){let l=t.parent;const c=t.proxy,d=`https://vuejs.org/error-reference/#runtime-${n}`;for(;l;){const f=l.ec;if(f){for(let u=0;u<f.length;u++)if(f[u](e,c,d)===!1)return}l=l.parent}if(i){ct(),xn(i,null,10,[e,c,d]),ft();return}}Pl(e,n,r,s,o)}function Pl(e,t,n,s=!0,r=!1){if(r)throw e;console.error(e)}const xe=[];let Ye=-1;const Kt=[];let mt=null,Vt=0;const Ui=Promise.resolve();let Bn=null;function Gi(e){const t=Bn||Ui;return e?t.then(this?e.bind(this):e):t}function Nl(e){let t=Ye+1,n=xe.length;for(;t<n;){const s=t+n>>>1,r=xe[s],i=gn(r);i<e||i===e&&r.flags&2?t=s+1:n=s}return t}function er(e){if(!(e.flags&1)){const t=gn(e),n=xe[xe.length-1];!n||!(e.flags&2)&&t>=gn(n)?xe.push(e):xe.splice(Nl(t),0,e),e.flags|=1,$i()}}function $i(){Bn||(Bn=Ui.then(Wi))}function As(e){U(e)?Kt.push(...e):mt&&e.id===-1?mt.splice(Vt+1,0,e):e.flags&1||(Kt.push(e),e.flags|=1),$i()}function _r(e,t,n=Ye+1){for(;n<xe.length;n++){const s=xe[n];if(s&&s.flags&2){if(e&&s.id!==e.uid)continue;xe.splice(n,1),n--,s.flags&4&&(s.flags&=-2),s(),s.flags&4||(s.flags&=-2)}}}function Ki(e){if(Kt.length){const t=[...new Set(Kt)].sort((n,s)=>gn(n)-gn(s));if(Kt.length=0,mt){mt.push(...t);return}for(mt=t,Vt=0;Vt<mt.length;Vt++){const n=mt[Vt];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}mt=null,Vt=0}}const gn=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Wi(e){try{for(Ye=0;Ye<xe.length;Ye++){const t=xe[Ye];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),xn(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;Ye<xe.length;Ye++){const t=xe[Ye];t&&(t.flags&=-2)}Ye=-1,xe.length=0,Ki(),Bn=null,(xe.length||Kt.length)&&Wi()}}let Le=null,qi=null;function Hn(e){const t=Le;return Le=e,qi=e&&e.type.__scopeId||null,t}function Yn(e,t=Le,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&jn(-1);const i=Hn(t);let o;try{o=e(...r)}finally{Hn(i),s._d&&jn(1)}return o};return s._n=!0,s._c=!0,s._d=!0,s}function aa(e,t){if(Le===null)return e;const n=ts(Le),s=e.dirs||(e.dirs=[]);for(let r=0;r<t.length;r++){let[i,o,l,c=ie]=t[r];i&&(G(i)&&(i={mounted:i,updated:i}),i.deep&&lt(o),s.push({dir:i,instance:n,value:o,oldValue:void 0,arg:l,modifiers:c}))}return e}function At(e,t,n,s){const r=e.dirs,i=t&&t.dirs;for(let o=0;o<r.length;o++){const l=r[o];i&&(l.oldValue=i[o].value);let c=l.dir[s];c&&(ct(),Ge(c,n,8,[e.el,l,e,t]),ft())}}function Pn(e,t){if(ve){let n=ve.provides;const s=ve.parent&&ve.parent.provides;s===n&&(n=ve.provides=Object.create(s)),n[e]=t}}function Xe(e,t,n=!1){const s=ir();if(s||Wt){let r=Wt?Wt._context.provides:s?s.parent==null||s.ce?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides:void 0;if(r&&e in r)return r[e];if(arguments.length>1)return n&&G(t)?t.call(s&&s.proxy):t}}const Ll=Symbol.for("v-scx"),Ml=()=>Xe(Ll);function Nn(e,t,n){return zi(e,t,n)}function zi(e,t,n=ie){const{immediate:s,deep:r,flush:i,once:o}=n,l=pe({},n),c=t&&s||!t&&i!=="post";let d;if(yn){if(i==="sync"){const m=Ml();d=m.__watcherHandles||(m.__watcherHandles=[])}else if(!c){const m=()=>{};return m.stop=Ze,m.resume=Ze,m.pause=Ze,m}}const f=ve;l.call=(m,x,C)=>Ge(m,f,x,C);let u=!1;i==="post"?l.scheduler=m=>{Se(m,f&&f.suspense)}:i!=="sync"&&(u=!0,l.scheduler=(m,x)=>{x?m():er(m)}),l.augmentJob=m=>{t&&(m.flags|=4),u&&(m.flags|=2,f&&(m.id=f.uid,m.i=f))};const p=Il(e,t,l);return yn&&(d?d.push(p):c&&p()),p}function Dl(e,t,n){const s=this.proxy,r=ae(e)?e.includes(".")?Ji(s,e):()=>s[e]:e.bind(s,s);let i;G(t)?i=t:(i=t.handler,n=t);const o=Mt(this),l=zi(r,i.bind(s),n);return o(),l}function Ji(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;r<n.length&&s;r++)s=s[n[r]];return s}}const Fl=Symbol("_vte"),Yi=e=>e.__isTeleport,it=Symbol("_leaveCb"),Sn=Symbol("_enterCb");function Bl(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return io(()=>{e.isMounted=!0}),oo(()=>{e.isUnmounting=!0}),e}const De=[Function,Array],Qi={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:De,onEnter:De,onAfterEnter:De,onEnterCancelled:De,onBeforeLeave:De,onLeave:De,onAfterLeave:De,onLeaveCancelled:De,onBeforeAppear:De,onAppear:De,onAfterAppear:De,onAppearCancelled:De},Zi=e=>{const t=e.subTree;return t.component?Zi(t.component):t},Hl={name:"BaseTransition",props:Qi,setup(e,{slots:t}){const n=ir(),s=Bl();return()=>{const r=t.default&&to(t.default(),!0);if(!r||!r.length)return;const i=Xi(r),o=X(e),{mode:l}=o;if(s.isLeaving)return cs(i);const c=vr(i);if(!c)return cs(i);let d=Cs(c,o,s,n,u=>d=u);c.type!==ge&&mn(c,d);let f=n.subTree&&vr(n.subTree);if(f&&f.type!==ge&&!Qe(f,c)&&Zi(n).type!==ge){let u=Cs(f,o,s,n);if(mn(f,u),l==="out-in"&&c.type!==ge)return s.isLeaving=!0,u.afterLeave=()=>{s.isLeaving=!1,n.job.flags&8||n.update(),delete u.afterLeave,f=void 0},cs(i);l==="in-out"&&c.type!==ge?u.delayLeave=(p,m,x)=>{const C=eo(s,f);C[String(f.key)]=f,p[it]=()=>{m(),p[it]=void 0,delete d.delayedLeave,f=void 0},d.delayedLeave=()=>{x(),delete d.delayedLeave,f=void 0}}:f=void 0}else f&&(f=void 0);return i}}};function Xi(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==ge){t=n;break}}return t}const Vl=Hl;function eo(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function Cs(e,t,n,s,r){const{appear:i,mode:o,persisted:l=!1,onBeforeEnter:c,onEnter:d,onAfterEnter:f,onEnterCancelled:u,onBeforeLeave:p,onLeave:m,onAfterLeave:x,onLeaveCancelled:C,onBeforeAppear:j,onAppear:N,onAfterAppear:O,onAppearCancelled:D}=t,L=String(e.key),I=eo(n,e),B=(F,$)=>{F&&Ge(F,s,9,$)},W=(F,$)=>{const z=$[1];B(F,$),U(F)?F.every(R=>R.length<=1)&&z():F.length<=1&&z()},ee={mode:o,persisted:l,beforeEnter(F){let $=c;if(!n.isMounted)if(i)$=j||c;else return;F[it]&&F[it](!0);const z=I[L];z&&Qe(e,z)&&z.el[it]&&z.el[it](),B($,[F])},enter(F){let $=d,z=f,R=u;if(!n.isMounted)if(i)$=N||d,z=O||f,R=D||u;else return;let q=!1;const fe=F[Sn]=me=>{q||(q=!0,me?B(R,[F]):B(z,[F]),ee.delayedLeave&&ee.delayedLeave(),F[Sn]=void 0)};$?W($,[F,fe]):fe()},leave(F,$){const z=String(e.key);if(F[Sn]&&F[Sn](!0),n.isUnmounting)return $();B(p,[F]);let R=!1;const q=F[it]=fe=>{R||(R=!0,$(),fe?B(C,[F]):B(x,[F]),F[it]=void 0,I[z]===e&&delete I[z])};I[z]=e,m?W(m,[F,q]):q()},clone(F){const $=Cs(F,t,n,s,r);return r&&r($),$}};return ee}function cs(e){if(Qn(e))return e=Et(e),e.children=null,e}function vr(e){if(!Qn(e))return Yi(e.type)&&e.children?Xi(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&G(n.default))return n.default()}}function mn(e,t){e.shapeFlag&6&&e.component?(e.transition=t,mn(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function to(e,t=!1,n){let s=[],r=0;for(let i=0;i<e.length;i++){let o=e[i];const l=n==null?o.key:String(n)+String(o.key!=null?o.key:i);o.type===Oe?(o.patchFlag&128&&r++,s=s.concat(to(o.children,t,l))):(t||o.type!==ge)&&s.push(l!=null?Et(o,{key:l}):o)}if(r>1)for(let i=0;i<s.length;i++)s[i].patchFlag=-2;return s}function no(e,t){return G(e)?pe({name:e.name},t,{setup:e}):e}function so(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}const Vn=new WeakMap;function cn(e,t,n,s,r=!1){if(U(e)){e.forEach((x,C)=>cn(x,t&&(U(t)?t[C]:t),n,s,r));return}if(fn(s)&&!r){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&cn(e,t,n,s.component.subTree);return}const i=s.shapeFlag&4?ts(s.component):s.el,o=r?null:i,{i:l,r:c}=e,d=t&&t.r,f=l.refs===ie?l.refs={}:l.refs,u=l.setupState,p=X(u),m=u===ie?mi:x=>ne(p,x);if(d!=null&&d!==c){if(yr(t),ae(d))f[d]=null,m(d)&&(u[d]=null);else if(ye(d)){d.value=null;const x=t;x.k&&(f[x.k]=null)}}if(G(c))xn(c,l,12,[o,f]);else{const x=ae(c),C=ye(c);if(x||C){const j=()=>{if(e.f){const N=x?m(c)?u[c]:f[c]:c.value;if(r)U(N)&&js(N,i);else if(U(N))N.includes(i)||N.push(i);else if(x)f[c]=[i],m(c)&&(u[c]=f[c]);else{const O=[i];c.value=O,e.k&&(f[e.k]=O)}}else x?(f[c]=o,m(c)&&(u[c]=o)):C&&(c.value=o,e.k&&(f[e.k]=o))};if(o){const N=()=>{j(),Vn.delete(e)};N.id=-1,Vn.set(e,N),Se(N,n)}else yr(e),j()}}}function yr(e){const t=Vn.get(e);t&&(t.flags|=8,Vn.delete(e))}qn().requestIdleCallback;qn().cancelIdleCallback;const fn=e=>!!e.type.__asyncLoader,Qn=e=>e.type.__isKeepAlive;function kl(e,t){ro(e,"a",t)}function jl(e,t){ro(e,"da",t)}function ro(e,t,n=ve){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Zn(t,s,n),n){let r=n.parent;for(;r&&r.parent;)Qn(r.parent.vnode)&&Ul(s,t,n,r),r=r.parent}}function Ul(e,t,n,s){const r=Zn(t,e,s,!0);lo(()=>{js(s[t],r)},n)}function Zn(e,t,n=ve,s=!1){if(n){const r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{ct();const l=Mt(n),c=Ge(t,n,e,o);return l(),ft(),c});return s?r.unshift(i):r.push(i),i}}const at=e=>(t,n=ve)=>{(!yn||e==="sp")&&Zn(e,(...s)=>t(...s),n)},Gl=at("bm"),io=at("m"),$l=at("bu"),Kl=at("u"),oo=at("bum"),lo=at("um"),Wl=at("sp"),ql=at("rtg"),zl=at("rtc");function Jl(e,t=ve){Zn("ec",e,t)}const Yl="components";function co(e,t){return Zl(Yl,e,!0,t)||e}const Ql=Symbol.for("v-ndc");function Zl(e,t,n=!0,s=!1){const r=Le||ve;if(r){const i=r.type;{const l=$c(i,!1);if(l&&(l===t||l===He(t)||l===Wn(He(t))))return i}const o=br(r[e]||i[e],t)||br(r.appContext[e],t);return!o&&s?i:o}}function br(e,t){return e&&(e[t]||e[He(t)]||e[Wn(He(t))])}function Xl(e,t,n,s){let r;const i=n,o=U(e);if(o||ae(e)){const l=o&&Nt(e);let c=!1,d=!1;l&&(c=!Be(e),d=ut(e),e=Jn(e)),r=new Array(e.length);for(let f=0,u=e.length;f<u;f++)r[f]=t(c?d?Jt(Ue(e[f])):Ue(e[f]):e[f],f,void 0,i)}else if(typeof e=="number"){r=new Array(e);for(let l=0;l<e;l++)r[l]=t(l+1,l,void 0,i)}else if(ce(e))if(e[Symbol.iterator])r=Array.from(e,(l,c)=>t(l,c,void 0,i));else{const l=Object.keys(e);r=new Array(l.length);for(let c=0,d=l.length;c<d;c++){const f=l[c];r[c]=t(e[f],f,c,i)}}else r=[];return r}const Rs=e=>e?Po(e)?ts(e):Rs(e.parent):null,un=pe(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Rs(e.parent),$root:e=>Rs(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>uo(e),$forceUpdate:e=>e.f||(e.f=()=>{er(e.update)}),$nextTick:e=>e.n||(e.n=Gi.bind(e.proxy)),$watch:e=>Dl.bind(e)}),fs=(e,t)=>e!==ie&&!e.__isScriptSetup&&ne(e,t),ec={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:r,props:i,accessCache:o,type:l,appContext:c}=e;if(t[0]!=="$"){const p=o[t];if(p!==void 0)switch(p){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return i[t]}else{if(fs(s,t))return o[t]=1,s[t];if(r!==ie&&ne(r,t))return o[t]=2,r[t];if(ne(i,t))return o[t]=3,i[t];if(n!==ie&&ne(n,t))return o[t]=4,n[t];Ss&&(o[t]=0)}}const d=un[t];let f,u;if(d)return t==="$attrs"&&_e(e.attrs,"get",""),d(e);if((f=l.__cssModules)&&(f=f[t]))return f;if(n!==ie&&ne(n,t))return o[t]=4,n[t];if(u=c.config.globalProperties,ne(u,t))return u[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:i}=e;return fs(r,t)?(r[t]=n,!0):s!==ie&&ne(s,t)?(s[t]=n,!0):ne(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,props:i,type:o}},l){let c;return!!(n[l]||e!==ie&&l[0]!=="$"&&ne(e,l)||fs(t,l)||ne(i,l)||ne(s,l)||ne(un,l)||ne(r.config.globalProperties,l)||(c=o.__cssModules)&&c[l])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:ne(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Er(e){return U(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function tc(e){const t=ir();let n=e();return Ns(),Us(n)&&(n=n.catch(s=>{throw Mt(t),s})),[n,()=>Mt(t)]}let Ss=!0;function nc(e){const t=uo(e),n=e.proxy,s=e.ctx;Ss=!1,t.beforeCreate&&xr(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:o,watch:l,provide:c,inject:d,created:f,beforeMount:u,mounted:p,beforeUpdate:m,updated:x,activated:C,deactivated:j,beforeDestroy:N,beforeUnmount:O,destroyed:D,unmounted:L,render:I,renderTracked:B,renderTriggered:W,errorCaptured:ee,serverPrefetch:F,expose:$,inheritAttrs:z,components:R,directives:q,filters:fe}=t;if(d&&sc(d,s,null),o)for(const J in o){const Z=o[J];G(Z)&&(s[J]=Z.bind(n))}if(r){const J=r.call(n,n);ce(J)&&(e.data=zt(J))}if(Ss=!0,i)for(const J in i){const Z=i[J],et=G(Z)?Z.bind(n,n):G(Z.get)?Z.get.bind(n,n):Ze,dt=!G(Z)&&G(Z.set)?Z.set.bind(n):Ze,Ke=ke({get:et,set:dt});Object.defineProperty(s,J,{enumerable:!0,configurable:!0,get:()=>Ke.value,set:Ae=>Ke.value=Ae})}if(l)for(const J in l)fo(l[J],s,n,J);if(c){const J=G(c)?c.call(n):c;Reflect.ownKeys(J).forEach(Z=>{Pn(Z,J[Z])})}f&&xr(f,e,"c");function re(J,Z){U(Z)?Z.forEach(et=>J(et.bind(n))):Z&&J(Z.bind(n))}if(re(Gl,u),re(io,p),re($l,m),re(Kl,x),re(kl,C),re(jl,j),re(Jl,ee),re(zl,B),re(ql,W),re(oo,O),re(lo,L),re(Wl,F),U($))if($.length){const J=e.exposed||(e.exposed={});$.forEach(Z=>{Object.defineProperty(J,Z,{get:()=>n[Z],set:et=>n[Z]=et,enumerable:!0})})}else e.exposed||(e.exposed={});I&&e.render===Ze&&(e.render=I),z!=null&&(e.inheritAttrs=z),R&&(e.components=R),q&&(e.directives=q),F&&so(e)}function sc(e,t,n=Ze){U(e)&&(e=Ts(e));for(const s in e){const r=e[s];let i;ce(r)?"default"in r?i=Xe(r.from||s,r.default,!0):i=Xe(r.from||s):i=Xe(r),ye(i)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):t[s]=i}}function xr(e,t,n){Ge(U(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function fo(e,t,n,s){let r=s.includes(".")?Ji(n,s):()=>n[s];if(ae(e)){const i=t[e];G(i)&&Nn(r,i)}else if(G(e))Nn(r,e.bind(n));else if(ce(e))if(U(e))e.forEach(i=>fo(i,t,n,s));else{const i=G(e.handler)?e.handler.bind(n):t[e.handler];G(i)&&Nn(r,i,e)}}function uo(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,l=i.get(t);let c;return l?c=l:!r.length&&!n&&!s?c=t:(c={},r.length&&r.forEach(d=>kn(c,d,o,!0)),kn(c,t,o)),ce(t)&&i.set(t,c),c}function kn(e,t,n,s=!1){const{mixins:r,extends:i}=t;i&&kn(e,i,n,!0),r&&r.forEach(o=>kn(e,o,n,!0));for(const o in t)if(!(s&&o==="expose")){const l=rc[o]||n&&n[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const rc={data:wr,props:Ar,emits:Ar,methods:sn,computed:sn,beforeCreate:be,created:be,beforeMount:be,mounted:be,beforeUpdate:be,updated:be,beforeDestroy:be,beforeUnmount:be,destroyed:be,unmounted:be,activated:be,deactivated:be,errorCaptured:be,serverPrefetch:be,components:sn,directives:sn,watch:oc,provide:wr,inject:ic};function wr(e,t){return t?e?function(){return pe(G(e)?e.call(this,this):e,G(t)?t.call(this,this):t)}:t:e}function ic(e,t){return sn(Ts(e),Ts(t))}function Ts(e){if(U(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function be(e,t){return e?[...new Set([].concat(e,t))]:t}function sn(e,t){return e?pe(Object.create(null),e,t):t}function Ar(e,t){return e?U(e)&&U(t)?[...new Set([...e,...t])]:pe(Object.create(null),Er(e),Er(t??{})):t}function oc(e,t){if(!e)return t;if(!t)return e;const n=pe(Object.create(null),e);for(const s in t)n[s]=be(e[s],t[s]);return n}function ao(){return{app:null,config:{isNativeTag:mi,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let lc=0;function cc(e,t){return function(s,r=null){G(s)||(s=pe({},s)),r!=null&&!ce(r)&&(r=null);const i=ao(),o=new WeakSet,l=[];let c=!1;const d=i.app={_uid:lc++,_component:s,_props:r,_container:null,_context:i,_instance:null,version:Wc,get config(){return i.config},set config(f){},use(f,...u){return o.has(f)||(f&&G(f.install)?(o.add(f),f.install(d,...u)):G(f)&&(o.add(f),f(d,...u))),d},mixin(f){return i.mixins.includes(f)||i.mixins.push(f),d},component(f,u){return u?(i.components[f]=u,d):i.components[f]},directive(f,u){return u?(i.directives[f]=u,d):i.directives[f]},mount(f,u,p){if(!c){const m=d._ceVNode||de(s,r);return m.appContext=i,p===!0?p="svg":p===!1&&(p=void 0),e(m,f,p),c=!0,d._container=f,f.__vue_app__=d,ts(m.component)}},onUnmount(f){l.push(f)},unmount(){c&&(Ge(l,d._instance,16),e(null,d._container),delete d._container.__vue_app__)},provide(f,u){return i.provides[f]=u,d},runWithContext(f){const u=Wt;Wt=d;try{return f()}finally{Wt=u}}};return d}}let Wt=null;const fc=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${He(t)}Modifiers`]||e[`${Dt(t)}Modifiers`];function uc(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||ie;let r=n;const i=t.startsWith("update:"),o=i&&fc(s,t.slice(7));o&&(o.trim&&(r=n.map(f=>ae(f)?f.trim():f)),o.number&&(r=n.map($s)));let l,c=s[l=ss(t)]||s[l=ss(He(t))];!c&&i&&(c=s[l=ss(Dt(t))]),c&&Ge(c,e,6,r);const d=s[l+"Once"];if(d){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Ge(d,e,6,r)}}const ac=new WeakMap;function ho(e,t,n=!1){const s=n?ac:t.emitsCache,r=s.get(e);if(r!==void 0)return r;const i=e.emits;let o={},l=!1;if(!G(e)){const c=d=>{const f=ho(d,t,!0);f&&(l=!0,pe(o,f))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!i&&!l?(ce(e)&&s.set(e,null),null):(U(i)?i.forEach(c=>o[c]=null):pe(o,i),ce(e)&&s.set(e,o),o)}function Xn(e,t){return!e||!Gn(t)?!1:(t=t.slice(2).replace(/Once$/,""),ne(e,t[0].toLowerCase()+t.slice(1))||ne(e,Dt(t))||ne(e,t))}function Cr(e){const{type:t,vnode:n,proxy:s,withProxy:r,propsOptions:[i],slots:o,attrs:l,emit:c,render:d,renderCache:f,props:u,data:p,setupState:m,ctx:x,inheritAttrs:C}=e,j=Hn(e);let N,O;try{if(n.shapeFlag&4){const L=r||s,I=L;N=Ve(d.call(I,L,f,u,m,p,x)),O=l}else{const L=t;N=Ve(L.length>1?L(u,{attrs:l,slots:o,emit:c}):L(u,null)),O=t.props?l:hc(l)}}catch(L){an.length=0,wn(L,e,1),N=de(ge)}let D=N;if(O&&C!==!1){const L=Object.keys(O),{shapeFlag:I}=D;L.length&&I&7&&(i&&L.some(ks)&&(O=pc(O,i)),D=Et(D,O,!1,!0))}return n.dirs&&(D=Et(D,null,!1,!0),D.dirs=D.dirs?D.dirs.concat(n.dirs):n.dirs),n.transition&&mn(D,n.transition),N=D,Hn(j),N}function dc(e,t=!0){let n;for(let s=0;s<e.length;s++){const r=e[s];if(vn(r)){if(r.type!==ge||r.children==="v-if"){if(n)return;n=r}}else return}return n}const hc=e=>{let t;for(const n in e)(n==="class"||n==="style"||Gn(n))&&((t||(t={}))[n]=e[n]);return t},pc=(e,t)=>{const n={};for(const s in e)(!ks(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function gc(e,t,n){const{props:s,children:r,component:i}=e,{props:o,children:l,patchFlag:c}=t,d=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return s?Rr(s,o,d):!!o;if(c&8){const f=t.dynamicProps;for(let u=0;u<f.length;u++){const p=f[u];if(o[p]!==s[p]&&!Xn(d,p))return!0}}}else return(r||l)&&(!l||!l.$stable)?!0:s===o?!1:s?o?Rr(s,o,d):!0:!!o;return!1}function Rr(e,t,n){const s=Object.keys(t);if(s.length!==Object.keys(e).length)return!0;for(let r=0;r<s.length;r++){const i=s[r];if(t[i]!==e[i]&&!Xn(n,i))return!0}return!1}function tr({vnode:e,parent:t},n){for(;t;){const s=t.subTree;if(s.suspense&&s.suspense.activeBranch===e&&(s.el=e.el),s===e)(e=t.vnode).el=n,t=t.parent;else break}}const po={},go=()=>Object.create(po),mo=e=>Object.getPrototypeOf(e)===po;function mc(e,t,n,s=!1){const r={},i=go();e.propsDefaults=Object.create(null),_o(e,t,r,i);for(const o in e.propsOptions[0])o in r||(r[o]=void 0);n?e.props=s?r:Vi(r):e.type.props?e.props=r:e.props=i,e.attrs=i}function _c(e,t,n,s){const{props:r,attrs:i,vnode:{patchFlag:o}}=e,l=X(r),[c]=e.propsOptions;let d=!1;if((s||o>0)&&!(o&16)){if(o&8){const f=e.vnode.dynamicProps;for(let u=0;u<f.length;u++){let p=f[u];if(Xn(e.emitsOptions,p))continue;const m=t[p];if(c)if(ne(i,p))m!==i[p]&&(i[p]=m,d=!0);else{const x=He(p);r[x]=Os(c,l,x,m,e,!1)}else m!==i[p]&&(i[p]=m,d=!0)}}}else{_o(e,t,r,i)&&(d=!0);let f;for(const u in l)(!t||!ne(t,u)&&((f=Dt(u))===u||!ne(t,f)))&&(c?n&&(n[u]!==void 0||n[f]!==void 0)&&(r[u]=Os(c,l,u,void 0,e,!0)):delete r[u]);if(i!==l)for(const u in i)(!t||!ne(t,u))&&(delete i[u],d=!0)}d&&ot(e.attrs,"set","")}function _o(e,t,n,s){const[r,i]=e.propsOptions;let o=!1,l;if(t)for(let c in t){if(rn(c))continue;const d=t[c];let f;r&&ne(r,f=He(c))?!i||!i.includes(f)?n[f]=d:(l||(l={}))[f]=d:Xn(e.emitsOptions,c)||(!(c in s)||d!==s[c])&&(s[c]=d,o=!0)}if(i){const c=X(n),d=l||ie;for(let f=0;f<i.length;f++){const u=i[f];n[u]=Os(r,c,u,d[u],e,!ne(d,u))}}return o}function Os(e,t,n,s,r,i){const o=e[n];if(o!=null){const l=ne(o,"default");if(l&&s===void 0){const c=o.default;if(o.type!==Function&&!o.skipFactory&&G(c)){const{propsDefaults:d}=r;if(n in d)s=d[n];else{const f=Mt(r);s=d[n]=c.call(null,t),f()}}else s=c;r.ce&&r.ce._setProp(n,s)}o[0]&&(i&&!l?s=!1:o[1]&&(s===""||s===Dt(n))&&(s=!0))}return s}const vc=new WeakMap;function vo(e,t,n=!1){const s=n?vc:t.propsCache,r=s.get(e);if(r)return r;const i=e.props,o={},l=[];let c=!1;if(!G(e)){const f=u=>{c=!0;const[p,m]=vo(u,t,!0);pe(o,p),m&&l.push(...m)};!n&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}if(!i&&!c)return ce(e)&&s.set(e,Gt),Gt;if(U(i))for(let f=0;f<i.length;f++){const u=He(i[f]);Sr(u)&&(o[u]=ie)}else if(i)for(const f in i){const u=He(f);if(Sr(u)){const p=i[f],m=o[u]=U(p)||G(p)?{type:p}:pe({},p),x=m.type;let C=!1,j=!0;if(U(x))for(let N=0;N<x.length;++N){const O=x[N],D=G(O)&&O.name;if(D==="Boolean"){C=!0;break}else D==="String"&&(j=!1)}else C=G(x)&&x.name==="Boolean";m[0]=C,m[1]=j,(C||ne(m,"default"))&&l.push(u)}}const d=[o,l];return ce(e)&&s.set(e,d),d}function Sr(e){return e[0]!=="$"&&!rn(e)}const nr=e=>e==="_"||e==="_ctx"||e==="$stable",sr=e=>U(e)?e.map(Ve):[Ve(e)],yc=(e,t,n)=>{if(t._n)return t;const s=Yn((...r)=>sr(t(...r)),n);return s._c=!1,s},yo=(e,t,n)=>{const s=e._ctx;for(const r in e){if(nr(r))continue;const i=e[r];if(G(i))t[r]=yc(r,i,s);else if(i!=null){const o=sr(i);t[r]=()=>o}}},bo=(e,t)=>{const n=sr(t);e.slots.default=()=>n},Eo=(e,t,n)=>{for(const s in t)(n||!nr(s))&&(e[s]=t[s])},bc=(e,t,n)=>{const s=e.slots=go();if(e.vnode.shapeFlag&32){const r=t._;r?(Eo(s,t,n),n&&bi(s,"_",r,!0)):yo(t,s)}else t&&bo(e,t)},Ec=(e,t,n)=>{const{vnode:s,slots:r}=e;let i=!0,o=ie;if(s.shapeFlag&32){const l=t._;l?n&&l===1?i=!1:Eo(r,t,n):(i=!t.$stable,yo(t,r)),o=t}else t&&(bo(e,t),o={default:1});if(i)for(const l in r)!nr(l)&&o[l]==null&&delete r[l]},Se=Nc;function xc(e){return wc(e)}function wc(e,t){const n=qn();n.__VUE__=!0;const{insert:s,remove:r,patchProp:i,createElement:o,createText:l,createComment:c,setText:d,setElementText:f,parentNode:u,nextSibling:p,setScopeId:m=Ze,insertStaticContent:x}=e,C=(a,h,g,_=null,b=null,v=null,S=void 0,A=null,w=!!h.dynamicChildren)=>{if(a===h)return;a&&!Qe(a,h)&&(_=y(a),Ae(a,b,v,!0),a=null),h.patchFlag===-2&&(w=!1,h.dynamicChildren=null);const{type:E,ref:k,shapeFlag:P}=h;switch(E){case es:j(a,h,g,_);break;case ge:N(a,h,g,_);break;case Ln:a==null&&O(h,g,_,S);break;case Oe:R(a,h,g,_,b,v,S,A,w);break;default:P&1?I(a,h,g,_,b,v,S,A,w):P&6?q(a,h,g,_,b,v,S,A,w):(P&64||P&128)&&E.process(a,h,g,_,b,v,S,A,w,H)}k!=null&&b?cn(k,a&&a.ref,v,h||a,!h):k==null&&a&&a.ref!=null&&cn(a.ref,null,v,a,!0)},j=(a,h,g,_)=>{if(a==null)s(h.el=l(h.children),g,_);else{const b=h.el=a.el;h.children!==a.children&&d(b,h.children)}},N=(a,h,g,_)=>{a==null?s(h.el=c(h.children||""),g,_):h.el=a.el},O=(a,h,g,_)=>{[a.el,a.anchor]=x(a.children,h,g,_,a.el,a.anchor)},D=({el:a,anchor:h},g,_)=>{let b;for(;a&&a!==h;)b=p(a),s(a,g,_),a=b;s(h,g,_)},L=({el:a,anchor:h})=>{let g;for(;a&&a!==h;)g=p(a),r(a),a=g;r(h)},I=(a,h,g,_,b,v,S,A,w)=>{if(h.type==="svg"?S="svg":h.type==="math"&&(S="mathml"),a==null)B(h,g,_,b,v,S,A,w);else{const E=a.el&&a.el._isVueCE?a.el:null;try{E&&E._beginPatch(),F(a,h,b,v,S,A,w)}finally{E&&E._endPatch()}}},B=(a,h,g,_,b,v,S,A)=>{let w,E;const{props:k,shapeFlag:P,transition:V,dirs:K}=a;if(w=a.el=o(a.type,v,k&&k.is,k),P&8?f(w,a.children):P&16&&ee(a.children,w,null,_,b,us(a,v),S,A),K&&At(a,null,_,"created"),W(w,a,a.scopeId,S,_),k){for(const oe in k)oe!=="value"&&!rn(oe)&&i(w,oe,null,k[oe],v,_);"value"in k&&i(w,"value",null,k.value,v),(E=k.onVnodeBeforeMount)&&Je(E,_,a)}K&&At(a,null,_,"beforeMount");const Q=Ac(b,V);Q&&V.beforeEnter(w),s(w,h,g),((E=k&&k.onVnodeMounted)||Q||K)&&Se(()=>{E&&Je(E,_,a),Q&&V.enter(w),K&&At(a,null,_,"mounted")},b)},W=(a,h,g,_,b)=>{if(g&&m(a,g),_)for(let v=0;v<_.length;v++)m(a,_[v]);if(b){let v=b.subTree;if(h===v||Co(v.type)&&(v.ssContent===h||v.ssFallback===h)){const S=b.vnode;W(a,S,S.scopeId,S.slotScopeIds,b.parent)}}},ee=(a,h,g,_,b,v,S,A,w=0)=>{for(let E=w;E<a.length;E++){const k=a[E]=A?_t(a[E]):Ve(a[E]);C(null,k,h,g,_,b,v,S,A)}},F=(a,h,g,_,b,v,S)=>{const A=h.el=a.el;let{patchFlag:w,dynamicChildren:E,dirs:k}=h;w|=a.patchFlag&16;const P=a.props||ie,V=h.props||ie;let K;if(g&&Ct(g,!1),(K=V.onVnodeBeforeUpdate)&&Je(K,g,h,a),k&&At(h,a,g,"beforeUpdate"),g&&Ct(g,!0),(P.innerHTML&&V.innerHTML==null||P.textContent&&V.textContent==null)&&f(A,""),E?$(a.dynamicChildren,E,A,g,_,us(h,b),v):S||Z(a,h,A,null,g,_,us(h,b),v,!1),w>0){if(w&16)z(A,P,V,g,b);else if(w&2&&P.class!==V.class&&i(A,"class",null,V.class,b),w&4&&i(A,"style",P.style,V.style,b),w&8){const Q=h.dynamicProps;for(let oe=0;oe<Q.length;oe++){const se=Q[oe],Ce=P[se],Re=V[se];(Re!==Ce||se==="value")&&i(A,se,Ce,Re,b,g)}}w&1&&a.children!==h.children&&f(A,h.children)}else!S&&E==null&&z(A,P,V,g,b);((K=V.onVnodeUpdated)||k)&&Se(()=>{K&&Je(K,g,h,a),k&&At(h,a,g,"updated")},_)},$=(a,h,g,_,b,v,S)=>{for(let A=0;A<h.length;A++){const w=a[A],E=h[A],k=w.el&&(w.type===Oe||!Qe(w,E)||w.shapeFlag&198)?u(w.el):g;C(w,E,k,null,_,b,v,S,!0)}},z=(a,h,g,_,b)=>{if(h!==g){if(h!==ie)for(const v in h)!rn(v)&&!(v in g)&&i(a,v,h[v],null,b,_);for(const v in g){if(rn(v))continue;const S=g[v],A=h[v];S!==A&&v!=="value"&&i(a,v,A,S,b,_)}"value"in g&&i(a,"value",h.value,g.value,b)}},R=(a,h,g,_,b,v,S,A,w)=>{const E=h.el=a?a.el:l(""),k=h.anchor=a?a.anchor:l("");let{patchFlag:P,dynamicChildren:V,slotScopeIds:K}=h;K&&(A=A?A.concat(K):K),a==null?(s(E,g,_),s(k,g,_),ee(h.children||[],g,k,b,v,S,A,w)):P>0&&P&64&&V&&a.dynamicChildren&&a.dynamicChildren.length===V.length?($(a.dynamicChildren,V,g,b,v,S,A),(h.key!=null||b&&h===b.subTree)&&xo(a,h,!0)):Z(a,h,g,k,b,v,S,A,w)},q=(a,h,g,_,b,v,S,A,w)=>{h.slotScopeIds=A,a==null?h.shapeFlag&512?b.ctx.activate(h,g,_,S,w):fe(h,g,_,b,v,S,w):me(a,h,w)},fe=(a,h,g,_,b,v,S)=>{const A=a.component=Vc(a,_,b);if(Qn(a)&&(A.ctx.renderer=H),kc(A,!1,S),A.asyncDep){if(b&&b.registerDep(A,re,S),!a.el){const w=A.subTree=de(ge);N(null,w,h,g),a.placeholder=w.el}}else re(A,a,h,g,b,v,S)},me=(a,h,g)=>{const _=h.component=a.component;if(gc(a,h,g))if(_.asyncDep&&!_.asyncResolved){J(_,h,g);return}else _.next=h,_.update();else h.el=a.el,_.vnode=h},re=(a,h,g,_,b,v,S)=>{const A=()=>{if(a.isMounted){let{next:P,bu:V,u:K,parent:Q,vnode:oe}=a;{const qe=wo(a);if(qe){P&&(P.el=oe.el,J(a,P,S)),qe.asyncDep.then(()=>{a.isUnmounted||A()});return}}let se=P,Ce;Ct(a,!1),P?(P.el=oe.el,J(a,P,S)):P=oe,V&&On(V),(Ce=P.props&&P.props.onVnodeBeforeUpdate)&&Je(Ce,Q,P,oe),Ct(a,!0);const Re=Cr(a),We=a.subTree;a.subTree=Re,C(We,Re,u(We.el),y(We),a,b,v),P.el=Re.el,se===null&&tr(a,Re.el),K&&Se(K,b),(Ce=P.props&&P.props.onVnodeUpdated)&&Se(()=>Je(Ce,Q,P,oe),b)}else{let P;const{el:V,props:K}=h,{bm:Q,m:oe,parent:se,root:Ce,type:Re}=a,We=fn(h);Ct(a,!1),Q&&On(Q),!We&&(P=K&&K.onVnodeBeforeMount)&&Je(P,se,h),Ct(a,!0);{Ce.ce&&Ce.ce._def.shadowRoot!==!1&&Ce.ce._injectChildStyle(Re);const qe=a.subTree=Cr(a);C(null,qe,g,_,a,b,v),h.el=qe.el}if(oe&&Se(oe,b),!We&&(P=K&&K.onVnodeMounted)){const qe=h;Se(()=>Je(P,se,qe),b)}(h.shapeFlag&256||se&&fn(se.vnode)&&se.vnode.shapeFlag&256)&&a.a&&Se(a.a,b),a.isMounted=!0,h=g=_=null}};a.scope.on();const w=a.effect=new Ci(A);a.scope.off();const E=a.update=w.run.bind(w),k=a.job=w.runIfDirty.bind(w);k.i=a,k.id=a.uid,w.scheduler=()=>er(k),Ct(a,!0),E()},J=(a,h,g)=>{h.component=a;const _=a.vnode.props;a.vnode=h,a.next=null,_c(a,h.props,_,g),Ec(a,h.children,g),ct(),_r(a),ft()},Z=(a,h,g,_,b,v,S,A,w=!1)=>{const E=a&&a.children,k=a?a.shapeFlag:0,P=h.children,{patchFlag:V,shapeFlag:K}=h;if(V>0){if(V&128){dt(E,P,g,_,b,v,S,A,w);return}else if(V&256){et(E,P,g,_,b,v,S,A,w);return}}K&8?(k&16&&Me(E,b,v),P!==E&&f(g,P)):k&16?K&16?dt(E,P,g,_,b,v,S,A,w):Me(E,b,v,!0):(k&8&&f(g,""),K&16&&ee(P,g,_,b,v,S,A,w))},et=(a,h,g,_,b,v,S,A,w)=>{a=a||Gt,h=h||Gt;const E=a.length,k=h.length,P=Math.min(E,k);let V;for(V=0;V<P;V++){const K=h[V]=w?_t(h[V]):Ve(h[V]);C(a[V],K,g,null,b,v,S,A,w)}E>k?Me(a,b,v,!0,!1,P):ee(h,g,_,b,v,S,A,w,P)},dt=(a,h,g,_,b,v,S,A,w)=>{let E=0;const k=h.length;let P=a.length-1,V=k-1;for(;E<=P&&E<=V;){const K=a[E],Q=h[E]=w?_t(h[E]):Ve(h[E]);if(Qe(K,Q))C(K,Q,g,null,b,v,S,A,w);else break;E++}for(;E<=P&&E<=V;){const K=a[P],Q=h[V]=w?_t(h[V]):Ve(h[V]);if(Qe(K,Q))C(K,Q,g,null,b,v,S,A,w);else break;P--,V--}if(E>P){if(E<=V){const K=V+1,Q=K<k?h[K].el:_;for(;E<=V;)C(null,h[E]=w?_t(h[E]):Ve(h[E]),g,Q,b,v,S,A,w),E++}}else if(E>V)for(;E<=P;)Ae(a[E],b,v,!0),E++;else{const K=E,Q=E,oe=new Map;for(E=Q;E<=V;E++){const Pe=h[E]=w?_t(h[E]):Ve(h[E]);Pe.key!=null&&oe.set(Pe.key,E)}let se,Ce=0;const Re=V-Q+1;let We=!1,qe=0;const Xt=new Array(Re);for(E=0;E<Re;E++)Xt[E]=0;for(E=K;E<=P;E++){const Pe=a[E];if(Ce>=Re){Ae(Pe,b,v,!0);continue}let ze;if(Pe.key!=null)ze=oe.get(Pe.key);else for(se=Q;se<=V;se++)if(Xt[se-Q]===0&&Qe(Pe,h[se])){ze=se;break}ze===void 0?Ae(Pe,b,v,!0):(Xt[ze-Q]=E+1,ze>=qe?qe=ze:We=!0,C(Pe,h[ze],g,null,b,v,S,A,w),Ce++)}const ar=We?Cc(Xt):Gt;for(se=ar.length-1,E=Re-1;E>=0;E--){const Pe=Q+E,ze=h[Pe],dr=h[Pe+1],hr=Pe+1<k?dr.el||Ao(dr):_;Xt[E]===0?C(null,ze,g,hr,b,v,S,A,w):We&&(se<0||E!==ar[se]?Ke(ze,g,hr,2):se--)}}},Ke=(a,h,g,_,b=null)=>{const{el:v,type:S,transition:A,children:w,shapeFlag:E}=a;if(E&6){Ke(a.component.subTree,h,g,_);return}if(E&128){a.suspense.move(h,g,_);return}if(E&64){S.move(a,h,g,H);return}if(S===Oe){s(v,h,g);for(let P=0;P<w.length;P++)Ke(w[P],h,g,_);s(a.anchor,h,g);return}if(S===Ln){D(a,h,g);return}if(_!==2&&E&1&&A)if(_===0)A.beforeEnter(v),s(v,h,g),Se(()=>A.enter(v),b);else{const{leave:P,delayLeave:V,afterLeave:K}=A,Q=()=>{a.ctx.isUnmounted?r(v):s(v,h,g)},oe=()=>{v._isLeaving&&v[it](!0),P(v,()=>{Q(),K&&K()})};V?V(v,Q,oe):oe()}else s(v,h,g)},Ae=(a,h,g,_=!1,b=!1)=>{const{type:v,props:S,ref:A,children:w,dynamicChildren:E,shapeFlag:k,patchFlag:P,dirs:V,cacheIndex:K}=a;if(P===-2&&(b=!1),A!=null&&(ct(),cn(A,null,g,a,!0),ft()),K!=null&&(h.renderCache[K]=void 0),k&256){h.ctx.deactivate(a);return}const Q=k&1&&V,oe=!fn(a);let se;if(oe&&(se=S&&S.onVnodeBeforeUnmount)&&Je(se,h,a),k&6)wt(a.component,g,_);else{if(k&128){a.suspense.unmount(g,_);return}Q&&At(a,null,h,"beforeUnmount"),k&64?a.type.remove(a,h,g,H,_):E&&!E.hasOnce&&(v!==Oe||P>0&&P&64)?Me(E,h,g,!1,!0):(v===Oe&&P&384||!b&&k&16)&&Me(w,h,g),_&&Ft(a)}(oe&&(se=S&&S.onVnodeUnmounted)||Q)&&Se(()=>{se&&Je(se,h,a),Q&&At(a,null,h,"unmounted")},g)},Ft=a=>{const{type:h,el:g,anchor:_,transition:b}=a;if(h===Oe){Bt(g,_);return}if(h===Ln){L(a);return}const v=()=>{r(g),b&&!b.persisted&&b.afterLeave&&b.afterLeave()};if(a.shapeFlag&1&&b&&!b.persisted){const{leave:S,delayLeave:A}=b,w=()=>S(g,v);A?A(a.el,v,w):w()}else v()},Bt=(a,h)=>{let g;for(;a!==h;)g=p(a),r(a),a=g;r(h)},wt=(a,h,g)=>{const{bum:_,scope:b,job:v,subTree:S,um:A,m:w,a:E}=a;Tr(w),Tr(E),_&&On(_),b.stop(),v&&(v.flags|=8,Ae(S,a,h,g)),A&&Se(A,h),Se(()=>{a.isUnmounted=!0},h)},Me=(a,h,g,_=!1,b=!1,v=0)=>{for(let S=v;S<a.length;S++)Ae(a[S],h,g,_,b)},y=a=>{if(a.shapeFlag&6)return y(a.component.subTree);if(a.shapeFlag&128)return a.suspense.next();const h=p(a.anchor||a.el),g=h&&h[Fl];return g?p(g):h};let M=!1;const T=(a,h,g)=>{let _;a==null?h._vnode&&(Ae(h._vnode,null,null,!0),_=h._vnode.component):C(h._vnode||null,a,h,null,null,null,g),h._vnode=a,M||(M=!0,_r(_),Ki(),M=!1)},H={p:C,um:Ae,m:Ke,r:Ft,mt:fe,mc:ee,pc:Z,pbc:$,n:y,o:e};return{render:T,hydrate:void 0,createApp:cc(T)}}function us({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function Ct({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Ac(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function xo(e,t,n=!1){const s=e.children,r=t.children;if(U(s)&&U(r))for(let i=0;i<s.length;i++){const o=s[i];let l=r[i];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=r[i]=_t(r[i]),l.el=o.el),!n&&l.patchFlag!==-2&&xo(o,l)),l.type===es&&(l.patchFlag!==-1?l.el=o.el:l.__elIndex=i+(e.type===Oe?1:0)),l.type===ge&&!l.el&&(l.el=o.el)}}function Cc(e){const t=e.slice(),n=[0];let s,r,i,o,l;const c=e.length;for(s=0;s<c;s++){const d=e[s];if(d!==0){if(r=n[n.length-1],e[r]<d){t[s]=r,n.push(s);continue}for(i=0,o=n.length-1;i<o;)l=i+o>>1,e[n[l]]<d?i=l+1:o=l;d<e[n[i]]&&(i>0&&(t[s]=n[i-1]),n[i]=s)}}for(i=n.length,o=n[i-1];i-- >0;)n[i]=o,o=t[o];return n}function wo(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:wo(t)}function Tr(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function Ao(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?Ao(t.subTree):null}const Co=e=>e.__isSuspense;let Is=0;const Rc={name:"Suspense",__isSuspense:!0,process(e,t,n,s,r,i,o,l,c,d){if(e==null)Tc(t,n,s,r,i,o,l,c,d);else{if(i&&i.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}Oc(e,t,n,s,r,o,l,c,d)}},hydrate:Ic,normalize:Pc},Sc=Rc;function _n(e,t){const n=e.props&&e.props[t];G(n)&&n()}function Tc(e,t,n,s,r,i,o,l,c){const{p:d,o:{createElement:f}}=c,u=f("div"),p=e.suspense=Ro(e,r,s,t,u,n,i,o,l,c);d(null,p.pendingBranch=e.ssContent,u,null,s,p,i,o),p.deps>0?(_n(e,"onPending"),_n(e,"onFallback"),d(null,e.ssFallback,t,n,s,null,i,o),qt(p,e.ssFallback)):p.resolve(!1,!0)}function Oc(e,t,n,s,r,i,o,l,{p:c,um:d,o:{createElement:f}}){const u=t.suspense=e.suspense;u.vnode=t,t.el=e.el;const p=t.ssContent,m=t.ssFallback,{activeBranch:x,pendingBranch:C,isInFallback:j,isHydrating:N}=u;if(C)u.pendingBranch=p,Qe(C,p)?(c(C,p,u.hiddenContainer,null,r,u,i,o,l),u.deps<=0?u.resolve():j&&(N||(c(x,m,n,s,r,null,i,o,l),qt(u,m)))):(u.pendingId=Is++,N?(u.isHydrating=!1,u.activeBranch=C):d(C,r,u),u.deps=0,u.effects.length=0,u.hiddenContainer=f("div"),j?(c(null,p,u.hiddenContainer,null,r,u,i,o,l),u.deps<=0?u.resolve():(c(x,m,n,s,r,null,i,o,l),qt(u,m))):x&&Qe(x,p)?(c(x,p,n,s,r,u,i,o,l),u.resolve(!0)):(c(null,p,u.hiddenContainer,null,r,u,i,o,l),u.deps<=0&&u.resolve()));else if(x&&Qe(x,p))c(x,p,n,s,r,u,i,o,l),qt(u,p);else if(_n(t,"onPending"),u.pendingBranch=p,p.shapeFlag&512?u.pendingId=p.component.suspenseId:u.pendingId=Is++,c(null,p,u.hiddenContainer,null,r,u,i,o,l),u.deps<=0)u.resolve();else{const{timeout:O,pendingId:D}=u;O>0?setTimeout(()=>{u.pendingId===D&&u.fallback(m)},O):O===0&&u.fallback(m)}}function Ro(e,t,n,s,r,i,o,l,c,d,f=!1){const{p:u,m:p,um:m,n:x,o:{parentNode:C,remove:j}}=d;let N;const O=Lc(e);O&&t&&t.pendingBranch&&(N=t.pendingId,t.deps++);const D=e.props?Ei(e.props.timeout):void 0,L=i,I={vnode:e,parent:t,parentComponent:n,namespace:o,container:s,hiddenContainer:r,deps:0,pendingId:Is++,timeout:typeof D=="number"?D:-1,activeBranch:null,pendingBranch:null,isInFallback:!f,isHydrating:f,isUnmounted:!1,effects:[],resolve(B=!1,W=!1){const{vnode:ee,activeBranch:F,pendingBranch:$,pendingId:z,effects:R,parentComponent:q,container:fe,isInFallback:me}=I;let re=!1;I.isHydrating?I.isHydrating=!1:B||(re=F&&$.transition&&$.transition.mode==="out-in",re&&(F.transition.afterLeave=()=>{z===I.pendingId&&(p($,fe,i===L?x(F):i,0),As(R),me&&ee.ssFallback&&(ee.ssFallback.el=null))}),F&&(C(F.el)===fe&&(i=x(F)),m(F,q,I,!0),!re&&me&&ee.ssFallback&&Se(()=>ee.ssFallback.el=null,I)),re||p($,fe,i,0)),qt(I,$),I.pendingBranch=null,I.isInFallback=!1;let J=I.parent,Z=!1;for(;J;){if(J.pendingBranch){J.effects.push(...R),Z=!0;break}J=J.parent}!Z&&!re&&As(R),I.effects=[],O&&t&&t.pendingBranch&&N===t.pendingId&&(t.deps--,t.deps===0&&!W&&t.resolve()),_n(ee,"onResolve")},fallback(B){if(!I.pendingBranch)return;const{vnode:W,activeBranch:ee,parentComponent:F,container:$,namespace:z}=I;_n(W,"onFallback");const R=x(ee),q=()=>{I.isInFallback&&(u(null,B,$,R,F,null,z,l,c),qt(I,B))},fe=B.transition&&B.transition.mode==="out-in";fe&&(ee.transition.afterLeave=q),I.isInFallback=!0,m(ee,F,null,!0),fe||q()},move(B,W,ee){I.activeBranch&&p(I.activeBranch,B,W,ee),I.container=B},next(){return I.activeBranch&&x(I.activeBranch)},registerDep(B,W,ee){const F=!!I.pendingBranch;F&&I.deps++;const $=B.vnode.el;B.asyncDep.catch(z=>{wn(z,B,0)}).then(z=>{if(B.isUnmounted||I.isUnmounted||I.pendingId!==B.suspenseId)return;B.asyncResolved=!0;const{vnode:R}=B;Ls(B,z),$&&(R.el=$);const q=!$&&B.subTree.el;W(B,R,C($||B.subTree.el),$?null:x(B.subTree),I,o,ee),q&&(R.placeholder=null,j(q)),tr(B,R.el),F&&--I.deps===0&&I.resolve()})},unmount(B,W){I.isUnmounted=!0,I.activeBranch&&m(I.activeBranch,n,B,W),I.pendingBranch&&m(I.pendingBranch,n,B,W)}};return I}function Ic(e,t,n,s,r,i,o,l,c){const d=t.suspense=Ro(t,s,n,e.parentNode,document.createElement("div"),null,r,i,o,l,!0),f=c(e,d.pendingBranch=t.ssContent,n,d,i,o);return d.deps===0&&d.resolve(!1,!0),f}function Pc(e){const{shapeFlag:t,children:n}=e,s=t&32;e.ssContent=Or(s?n.default:n),e.ssFallback=s?Or(n.fallback):de(ge)}function Or(e){let t;if(G(e)){const n=Yt&&e._c;n&&(e._d=!1,we()),e=e(),n&&(e._d=!0,t=Ie,So())}return U(e)&&(e=dc(e)),e=Ve(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function Nc(e,t){t&&t.pendingBranch?U(e)?t.effects.push(...e):t.effects.push(e):As(e)}function qt(e,t){e.activeBranch=t;const{vnode:n,parentComponent:s}=e;let r=t.el;for(;!r&&t.component;)t=t.component.subTree,r=t.el;n.el=r,s&&s.subTree===n&&(s.vnode.el=r,tr(s,r))}function Lc(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const Oe=Symbol.for("v-fgt"),es=Symbol.for("v-txt"),ge=Symbol.for("v-cmt"),Ln=Symbol.for("v-stc"),an=[];let Ie=null;function we(e=!1){an.push(Ie=e?null:[])}function So(){an.pop(),Ie=an[an.length-1]||null}let Yt=1;function jn(e,t=!1){Yt+=e,e<0&&Ie&&t&&(Ie.hasOnce=!0)}function To(e){return e.dynamicChildren=Yt>0?Ie||Gt:null,So(),Yt>0&&Ie&&Ie.push(e),e}function bt(e,t,n,s,r,i){return To(Ne(e,t,n,s,r,i,!0))}function Ut(e,t,n,s,r){return To(de(e,t,n,s,r,!0))}function vn(e){return e?e.__v_isVNode===!0:!1}function Qe(e,t){return e.type===t.type&&e.key===t.key}const Oo=({key:e})=>e??null,Mn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?ae(e)||ye(e)||G(e)?{i:Le,r:e,k:t,f:!!n}:e:null);function Ne(e,t=null,n=null,s=0,r=null,i=e===Oe?0:1,o=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Oo(t),ref:t&&Mn(t),scopeId:qi,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:Le};return l?(rr(c,n),i&128&&e.normalize(c)):n&&(c.shapeFlag|=ae(n)?8:16),Yt>0&&!o&&Ie&&(c.patchFlag>0||i&6)&&c.patchFlag!==32&&Ie.push(c),c}const de=Mc;function Mc(e,t=null,n=null,s=0,r=null,i=!1){if((!e||e===Ql)&&(e=ge),vn(e)){const l=Et(e,t,!0);return n&&rr(l,n),Yt>0&&!i&&Ie&&(l.shapeFlag&6?Ie[Ie.indexOf(e)]=l:Ie.push(l)),l.patchFlag=-2,l}if(Kc(e)&&(e=e.__vccOpts),t){t=Dc(t);let{class:l,style:c}=t;l&&!ae(l)&&(t.class=zn(l)),ce(c)&&(Xs(c)&&!U(c)&&(c=pe({},c)),t.style=Ks(c))}const o=ae(e)?1:Co(e)?128:Yi(e)?64:ce(e)?4:G(e)?2:0;return Ne(e,t,n,s,r,o,i,!0)}function Dc(e){return e?Xs(e)||mo(e)?pe({},e):e:null}function Et(e,t,n=!1,s=!1){const{props:r,ref:i,patchFlag:o,children:l,transition:c}=e,d=t?Fc(r||{},t):r,f={__v_isVNode:!0,__v_skip:!0,type:e.type,props:d,key:d&&Oo(d),ref:t&&t.ref?n&&i?U(i)?i.concat(Mn(t)):[i,Mn(t)]:Mn(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Oe?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Et(e.ssContent),ssFallback:e.ssFallback&&Et(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&s&&mn(f,c.clone(f)),f}function Io(e=" ",t=0){return de(es,null,e,t)}function da(e,t){const n=de(Ln,null,e);return n.staticCount=t,n}function Tn(e="",t=!1){return t?(we(),Ut(ge,null,e)):de(ge,null,e)}function Ve(e){return e==null||typeof e=="boolean"?de(ge):U(e)?de(Oe,null,e.slice()):vn(e)?_t(e):de(es,null,String(e))}function _t(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Et(e)}function rr(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(U(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),rr(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!mo(t)?t._ctx=Le:r===3&&Le&&(Le.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else G(t)?(t={default:t,_ctx:Le},n=32):(t=String(t),s&64?(n=16,t=[Io(t)]):n=8);e.children=t,e.shapeFlag|=n}function Fc(...e){const t={};for(let n=0;n<e.length;n++){const s=e[n];for(const r in s)if(r==="class")t.class!==s.class&&(t.class=zn([t.class,s.class]));else if(r==="style")t.style=Ks([t.style,s.style]);else if(Gn(r)){const i=t[r],o=s[r];o&&i!==o&&!(U(i)&&i.includes(o))&&(t[r]=i?[].concat(i,o):o)}else r!==""&&(t[r]=s[r])}return t}function Je(e,t,n,s=null){Ge(e,t,7,[n,s])}const Bc=ao();let Hc=0;function Vc(e,t,n){const s=e.type,r=(t?t.appContext:e.appContext)||Bc,i={uid:Hc++,vnode:e,type:s,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new sl(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:vo(s,r),emitsOptions:ho(s,r),emit:null,emitted:null,propsDefaults:ie,inheritAttrs:s.inheritAttrs,ctx:ie,data:ie,props:ie,attrs:ie,slots:ie,refs:ie,setupState:ie,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return i.ctx={_:i},i.root=t?t.root:i,i.emit=uc.bind(null,i),e.ce&&e.ce(i),i}let ve=null;const ir=()=>ve||Le;let Un,Ps;{const e=qn(),t=(n,s)=>{let r;return(r=e[n])||(r=e[n]=[]),r.push(s),i=>{r.length>1?r.forEach(o=>o(i)):r[0](i)}};Un=t("__VUE_INSTANCE_SETTERS__",n=>ve=n),Ps=t("__VUE_SSR_SETTERS__",n=>yn=n)}const Mt=e=>{const t=ve;return Un(e),e.scope.on(),()=>{e.scope.off(),Un(t)}},Ns=()=>{ve&&ve.scope.off(),Un(null)};function Po(e){return e.vnode.shapeFlag&4}let yn=!1;function kc(e,t=!1,n=!1){t&&Ps(t);const{props:s,children:r}=e.vnode,i=Po(e);mc(e,s,i,t),bc(e,r,n||t);const o=i?jc(e,t):void 0;return t&&Ps(!1),o}function jc(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,ec);const{setup:s}=n;if(s){ct();const r=e.setupContext=s.length>1?Gc(e):null,i=Mt(e),o=xn(s,e,0,[e.props,r]),l=Us(o);if(ft(),i(),(l||e.sp)&&!fn(e)&&so(e),l){if(o.then(Ns,Ns),t)return o.then(c=>{Ls(e,c)}).catch(c=>{wn(c,e,0)});e.asyncDep=o}else Ls(e,o)}else No(e)}function Ls(e,t,n){G(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ce(t)&&(e.setupState=ji(t)),No(e)}function No(e,t,n){const s=e.type;e.render||(e.render=s.render||Ze);{const r=Mt(e);ct();try{nc(e)}finally{ft(),r()}}}const Uc={get(e,t){return _e(e,"get",""),e[t]}};function Gc(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Uc),slots:e.slots,emit:e.emit,expose:t}}function ts(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(ji(wl(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in un)return un[n](e)},has(t,n){return n in t||n in un}})):e.proxy}function $c(e,t=!0){return G(e)?e.displayName||e.name:e.name||t&&e.__name}function Kc(e){return G(e)&&"__vccOpts"in e}const ke=(e,t)=>Tl(e,t,yn);function or(e,t,n){try{jn(-1);const s=arguments.length;return s===2?ce(t)&&!U(t)?vn(t)?de(e,null,[t]):de(e,t):de(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&vn(n)&&(n=[n]),de(e,t,n))}finally{jn(1)}}const Wc="3.5.26";let Ms;const Ir=typeof window<"u"&&window.trustedTypes;if(Ir)try{Ms=Ir.createPolicy("vue",{createHTML:e=>e})}catch{}const Lo=Ms?e=>Ms.createHTML(e):e=>e,qc="http://www.w3.org/2000/svg",zc="http://www.w3.org/1998/Math/MathML",rt=typeof document<"u"?document:null,Pr=rt&&rt.createElement("template"),Jc={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t==="svg"?rt.createElementNS(qc,e):t==="mathml"?rt.createElementNS(zc,e):n?rt.createElement(e,{is:n}):rt.createElement(e);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>rt.createTextNode(e),createComment:e=>rt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>rt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,i){const o=n?n.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===i||!(r=r.nextSibling)););else{Pr.innerHTML=Lo(s==="svg"?`<svg>${e}</svg>`:s==="mathml"?`<math>${e}</math>`:e);const l=Pr.content;if(s==="svg"||s==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},ht="transition",tn="animation",bn=Symbol("_vtc"),Mo={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},Yc=pe({},Qi,Mo),Qc=e=>(e.displayName="Transition",e.props=Yc,e),Zc=Qc((e,{slots:t})=>or(Vl,Xc(e),t)),Rt=(e,t=[])=>{U(e)?e.forEach(n=>n(...t)):e&&e(...t)},Nr=e=>e?U(e)?e.some(t=>t.length>1):e.length>1:!1;function Xc(e){const t={};for(const R in e)R in Mo||(t[R]=e[R]);if(e.css===!1)return t;const{name:n="v",type:s,duration:r,enterFromClass:i=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:c=i,appearActiveClass:d=o,appearToClass:f=l,leaveFromClass:u=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:m=`${n}-leave-to`}=e,x=ef(r),C=x&&x[0],j=x&&x[1],{onBeforeEnter:N,onEnter:O,onEnterCancelled:D,onLeave:L,onLeaveCancelled:I,onBeforeAppear:B=N,onAppear:W=O,onAppearCancelled:ee=D}=t,F=(R,q,fe,me)=>{R._enterCancelled=me,St(R,q?f:l),St(R,q?d:o),fe&&fe()},$=(R,q)=>{R._isLeaving=!1,St(R,u),St(R,m),St(R,p),q&&q()},z=R=>(q,fe)=>{const me=R?W:O,re=()=>F(q,R,fe);Rt(me,[q,re]),Lr(()=>{St(q,R?c:i),nt(q,R?f:l),Nr(me)||Mr(q,s,C,re)})};return pe(t,{onBeforeEnter(R){Rt(N,[R]),nt(R,i),nt(R,o)},onBeforeAppear(R){Rt(B,[R]),nt(R,c),nt(R,d)},onEnter:z(!1),onAppear:z(!0),onLeave(R,q){R._isLeaving=!0;const fe=()=>$(R,q);nt(R,u),R._enterCancelled?(nt(R,p),Br(R)):(Br(R),nt(R,p)),Lr(()=>{R._isLeaving&&(St(R,u),nt(R,m),Nr(L)||Mr(R,s,j,fe))}),Rt(L,[R,fe])},onEnterCancelled(R){F(R,!1,void 0,!0),Rt(D,[R])},onAppearCancelled(R){F(R,!0,void 0,!0),Rt(ee,[R])},onLeaveCancelled(R){$(R),Rt(I,[R])}})}function ef(e){if(e==null)return null;if(ce(e))return[as(e.enter),as(e.leave)];{const t=as(e);return[t,t]}}function as(e){return Ei(e)}function nt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[bn]||(e[bn]=new Set)).add(t)}function St(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[bn];n&&(n.delete(t),n.size||(e[bn]=void 0))}function Lr(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let tf=0;function Mr(e,t,n,s){const r=e._endId=++tf,i=()=>{r===e._endId&&s()};if(n!=null)return setTimeout(i,n);const{type:o,timeout:l,propCount:c}=nf(e,t);if(!o)return s();const d=o+"end";let f=0;const u=()=>{e.removeEventListener(d,p),i()},p=m=>{m.target===e&&++f>=c&&u()};setTimeout(()=>{f<c&&u()},l+1),e.addEventListener(d,p)}function nf(e,t){const n=window.getComputedStyle(e),s=x=>(n[x]||"").split(", "),r=s(`${ht}Delay`),i=s(`${ht}Duration`),o=Dr(r,i),l=s(`${tn}Delay`),c=s(`${tn}Duration`),d=Dr(l,c);let f=null,u=0,p=0;t===ht?o>0&&(f=ht,u=o,p=i.length):t===tn?d>0&&(f=tn,u=d,p=c.length):(u=Math.max(o,d),f=u>0?o>d?ht:tn:null,p=f?f===ht?i.length:c.length:0);const m=f===ht&&/\b(?:transform|all)(?:,|$)/.test(s(`${ht}Property`).toString());return{type:f,timeout:u,propCount:p,hasTransform:m}}function Dr(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,s)=>Fr(n)+Fr(e[s])))}function Fr(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Br(e){return(e?e.ownerDocument:document).body.offsetHeight}function sf(e,t,n){const s=e[bn];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Hr=Symbol("_vod"),rf=Symbol("_vsh"),of=Symbol(""),lf=/(?:^|;)\s*display\s*:/;function cf(e,t,n){const s=e.style,r=ae(n);let i=!1;if(n&&!r){if(t)if(ae(t))for(const o of t.split(";")){const l=o.slice(0,o.indexOf(":")).trim();n[l]==null&&Dn(s,l,"")}else for(const o in t)n[o]==null&&Dn(s,o,"");for(const o in n)o==="display"&&(i=!0),Dn(s,o,n[o])}else if(r){if(t!==n){const o=s[of];o&&(n+=";"+o),s.cssText=n,i=lf.test(n)}}else t&&e.removeAttribute("style");Hr in e&&(e[Hr]=i?s.display:"",e[rf]&&(s.display="none"))}const Vr=/\s*!important$/;function Dn(e,t,n){if(U(n))n.forEach(s=>Dn(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=ff(e,t);Vr.test(n)?e.setProperty(Dt(s),n.replace(Vr,""),"important"):e[s]=n}}const kr=["Webkit","Moz","ms"],ds={};function ff(e,t){const n=ds[t];if(n)return n;let s=He(t);if(s!=="filter"&&s in e)return ds[t]=s;s=Wn(s);for(let r=0;r<kr.length;r++){const i=kr[r]+s;if(i in e)return ds[t]=i}return t}const jr="http://www.w3.org/1999/xlink";function Ur(e,t,n,s,r,i=nl(t)){s&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(jr,t.slice(6,t.length)):e.setAttributeNS(jr,t,n):n==null||i&&!xi(n)?e.removeAttribute(t):e.setAttribute(t,i?"":xt(n)?String(n):n)}function Gr(e,t,n,s,r){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?Lo(n):n);return}const i=e.tagName;if(t==="value"&&i!=="PROGRESS"&&!i.includes("-")){const l=i==="OPTION"?e.getAttribute("value")||"":e.value,c=n==null?e.type==="checkbox"?"on":"":String(n);(l!==c||!("_value"in e))&&(e.value=c),n==null&&e.removeAttribute(t),e._value=n;return}let o=!1;if(n===""||n==null){const l=typeof e[t];l==="boolean"?n=xi(n):n==null&&l==="string"?(n="",o=!0):l==="number"&&(n=0,o=!0)}try{e[t]=n}catch{}o&&e.removeAttribute(r||t)}function kt(e,t,n,s){e.addEventListener(t,n,s)}function uf(e,t,n,s){e.removeEventListener(t,n,s)}const $r=Symbol("_vei");function af(e,t,n,s,r=null){const i=e[$r]||(e[$r]={}),o=i[t];if(s&&o)o.value=s;else{const[l,c]=df(t);if(s){const d=i[t]=gf(s,r);kt(e,l,d,c)}else o&&(uf(e,l,o,c),i[t]=void 0)}}const Kr=/(?:Once|Passive|Capture)$/;function df(e){let t;if(Kr.test(e)){t={};let s;for(;s=e.match(Kr);)e=e.slice(0,e.length-s[0].length),t[s[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Dt(e.slice(2)),t]}let hs=0;const hf=Promise.resolve(),pf=()=>hs||(hf.then(()=>hs=0),hs=Date.now());function gf(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;Ge(mf(s,n.value),t,5,[s])};return n.value=e,n.attached=pf(),n}function mf(e,t){if(U(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>r=>!r._stopped&&s&&s(r))}else return t}const Wr=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,_f=(e,t,n,s,r,i)=>{const o=r==="svg";t==="class"?sf(e,s,o):t==="style"?cf(e,n,s):Gn(t)?ks(t)||af(e,t,n,s,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):vf(e,t,s,o))?(Gr(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Ur(e,t,s,o,i,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!ae(s))?Gr(e,He(t),s,i,t):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),Ur(e,t,s,o))};function vf(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&Wr(t)&&G(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return Wr(t)&&ae(n)?!1:t in e}const qr=e=>{const t=e.props["onUpdate:modelValue"]||!1;return U(t)?n=>On(t,n):t};function yf(e){e.target.composing=!0}function zr(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const ps=Symbol("_assign");function Jr(e,t,n){return t&&(e=e.trim()),n&&(e=$s(e)),e}const ha={created(e,{modifiers:{lazy:t,trim:n,number:s}},r){e[ps]=qr(r);const i=s||r.props&&r.props.type==="number";kt(e,t?"change":"input",o=>{o.target.composing||e[ps](Jr(e.value,n,i))}),(n||i)&&kt(e,"change",()=>{e.value=Jr(e.value,n,i)}),t||(kt(e,"compositionstart",yf),kt(e,"compositionend",zr),kt(e,"change",zr))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:r,number:i}},o){if(e[ps]=qr(o),e.composing)return;const l=(i||e.type==="number")&&!/^0\d/.test(e.value)?$s(e.value):e.value,c=t??"";l!==c&&(document.activeElement===e&&e.type!=="range"&&(s&&t===n||r&&e.value.trim()===c)||(e.value=c))}},bf=pe({patchProp:_f},Jc);let Yr;function Ef(){return Yr||(Yr=xc(bf))}const xf=((...e)=>{const t=Ef().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=Af(s);if(!r)return;const i=t._component;!G(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const o=n(r,!1,wf(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),o},t});function wf(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Af(e){return ae(e)?document.querySelector(e):e}const Cf="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20aria-hidden='true'%20role='img'%20class='iconify%20iconify--logos'%20width='31.88'%20height='32'%20preserveAspectRatio='xMidYMid%20meet'%20viewBox='0%200%20256%20257'%3e%3cdefs%3e%3clinearGradient%20id='IconifyId1813088fe1fbc01fb466'%20x1='-.828%25'%20x2='57.636%25'%20y1='7.652%25'%20y2='78.411%25'%3e%3cstop%20offset='0%25'%20stop-color='%2341D1FF'%3e%3c/stop%3e%3cstop%20offset='100%25'%20stop-color='%23BD34FE'%3e%3c/stop%3e%3c/linearGradient%3e%3clinearGradient%20id='IconifyId1813088fe1fbc01fb467'%20x1='43.376%25'%20x2='50.316%25'%20y1='2.242%25'%20y2='89.03%25'%3e%3cstop%20offset='0%25'%20stop-color='%23FFEA83'%3e%3c/stop%3e%3cstop%20offset='8.333%25'%20stop-color='%23FFDD35'%3e%3c/stop%3e%3cstop%20offset='100%25'%20stop-color='%23FFA800'%3e%3c/stop%3e%3c/linearGradient%3e%3c/defs%3e%3cpath%20fill='url(%23IconifyId1813088fe1fbc01fb466)'%20d='M255.153%2037.938L134.897%20252.976c-2.483%204.44-8.862%204.466-11.382.048L.875%2037.958c-2.746-4.814%201.371-10.646%206.827-9.67l120.385%2021.517a6.537%206.537%200%200%200%202.322-.004l117.867-21.483c5.438-.991%209.574%204.796%206.877%209.62Z'%3e%3c/path%3e%3cpath%20fill='url(%23IconifyId1813088fe1fbc01fb467)'%20d='M185.432.063L96.44%2017.501a3.268%203.268%200%200%200-2.634%203.014l-5.474%2092.456a3.268%203.268%200%200%200%203.997%203.378l24.777-5.718c2.318-.535%204.413%201.507%203.936%203.838l-7.361%2036.047c-.495%202.426%201.782%204.5%204.151%203.78l15.304-4.649c2.372-.72%204.652%201.36%204.15%203.788l-11.698%2056.621c-.732%203.542%203.979%205.473%205.943%202.437l1.313-2.028l72.516-144.72c1.215-2.423-.88-5.186-3.54-4.672l-25.505%204.922c-2.396.462-4.435-1.77-3.759-4.114l16.646-57.705c.677-2.35-1.37-4.583-3.769-4.113Z'%3e%3c/path%3e%3c/svg%3e",Rf="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20aria-hidden='true'%20role='img'%20class='iconify%20iconify--logos'%20width='37.07'%20height='36'%20preserveAspectRatio='xMidYMid%20meet'%20viewBox='0%200%20256%20198'%3e%3cpath%20fill='%2341B883'%20d='M204.8%200H256L128%20220.8L0%200h97.92L128%2051.2L157.44%200h47.36Z'%3e%3c/path%3e%3cpath%20fill='%2341B883'%20d='m0%200l128%20220.8L256%200h-51.2L128%20132.48L50.56%200H0Z'%3e%3c/path%3e%3cpath%20fill='%2335495E'%20d='M50.56%200L128%20133.12L204.8%200h-47.36L128%2051.2L97.92%200H50.56Z'%3e%3c/path%3e%3c/svg%3e";const jt=typeof document<"u";function Do(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Sf(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&Do(e.default)}const te=Object.assign;function gs(e,t){const n={};for(const s in t){const r=t[s];n[s]=$e(r)?r.map(e):e(r)}return n}const dn=()=>{},$e=Array.isArray;function Qr(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}const Fo=/#/g,Tf=/&/g,Of=/\//g,If=/=/g,Pf=/\?/g,Bo=/\+/g,Nf=/%5B/g,Lf=/%5D/g,Ho=/%5E/g,Mf=/%60/g,Vo=/%7B/g,Df=/%7C/g,ko=/%7D/g,Ff=/%20/g;function lr(e){return e==null?"":encodeURI(""+e).replace(Df,"|").replace(Nf,"[").replace(Lf,"]")}function Bf(e){return lr(e).replace(Vo,"{").replace(ko,"}").replace(Ho,"^")}function Ds(e){return lr(e).replace(Bo,"%2B").replace(Ff,"+").replace(Fo,"%23").replace(Tf,"%26").replace(Mf,"`").replace(Vo,"{").replace(ko,"}").replace(Ho,"^")}function Hf(e){return Ds(e).replace(If,"%3D")}function Vf(e){return lr(e).replace(Fo,"%23").replace(Pf,"%3F")}function kf(e){return Vf(e).replace(Of,"%2F")}function En(e){if(e==null)return null;try{return decodeURIComponent(""+e)}catch{}return""+e}const jf=/\/$/,Uf=e=>e.replace(jf,"");function ms(e,t,n="/"){let s,r={},i="",o="";const l=t.indexOf("#");let c=t.indexOf("?");return c=l>=0&&c>l?-1:c,c>=0&&(s=t.slice(0,c),i=t.slice(c,l>0?l:t.length),r=e(i.slice(1))),l>=0&&(s=s||t.slice(0,l),o=t.slice(l,t.length)),s=Wf(s??t,n),{fullPath:s+i+o,path:s,query:r,hash:En(o)}}function Gf(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Zr(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function $f(e,t,n){const s=t.matched.length-1,r=n.matched.length-1;return s>-1&&s===r&&Qt(t.matched[s],n.matched[r])&&jo(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Qt(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function jo(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!Kf(e[n],t[n]))return!1;return!0}function Kf(e,t){return $e(e)?Xr(e,t):$e(t)?Xr(t,e):e?.valueOf()===t?.valueOf()}function Xr(e,t){return $e(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function Wf(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),s=e.split("/"),r=s[s.length-1];(r===".."||r===".")&&s.push("");let i=n.length-1,o,l;for(o=0;o<s.length;o++)if(l=s[o],l!==".")if(l==="..")i>1&&i--;else break;return n.slice(0,i).join("/")+"/"+s.slice(o).join("/")}const pt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let Fs=(function(e){return e.pop="pop",e.push="push",e})({}),_s=(function(e){return e.back="back",e.forward="forward",e.unknown="",e})({});function qf(e){if(!e)if(jt){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Uf(e)}const zf=/^[^#]+#/;function Jf(e,t){return e.replace(zf,"#")+t}function Yf(e,t){const n=document.documentElement.getBoundingClientRect(),s=e.getBoundingClientRect();return{behavior:t.behavior,left:s.left-n.left-(t.left||0),top:s.top-n.top-(t.top||0)}}const ns=()=>({left:window.scrollX,top:window.scrollY});function Qf(e){let t;if("el"in e){const n=e.el,s=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=Yf(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function ei(e,t){return(history.state?history.state.position-t:-1)+e}const Bs=new Map;function Zf(e,t){Bs.set(e,t)}function Xf(e){const t=Bs.get(e);return Bs.delete(e),t}function eu(e){return typeof e=="string"||e&&typeof e=="object"}function Uo(e){return typeof e=="string"||typeof e=="symbol"}let ue=(function(e){return e[e.MATCHER_NOT_FOUND=1]="MATCHER_NOT_FOUND",e[e.NAVIGATION_GUARD_REDIRECT=2]="NAVIGATION_GUARD_REDIRECT",e[e.NAVIGATION_ABORTED=4]="NAVIGATION_ABORTED",e[e.NAVIGATION_CANCELLED=8]="NAVIGATION_CANCELLED",e[e.NAVIGATION_DUPLICATED=16]="NAVIGATION_DUPLICATED",e})({});const Go=Symbol("");ue.MATCHER_NOT_FOUND+"",ue.NAVIGATION_GUARD_REDIRECT+"",ue.NAVIGATION_ABORTED+"",ue.NAVIGATION_CANCELLED+"",ue.NAVIGATION_DUPLICATED+"";function Zt(e,t){return te(new Error,{type:e,[Go]:!0},t)}function st(e,t){return e instanceof Error&&Go in e&&(t==null||!!(e.type&t))}const tu=["params","query","hash"];function nu(e){if(typeof e=="string")return e;if(e.path!=null)return e.path;const t={};for(const n of tu)n in e&&(t[n]=e[n]);return JSON.stringify(t,null,2)}function su(e){const t={};if(e===""||e==="?")return t;const n=(e[0]==="?"?e.slice(1):e).split("&");for(let s=0;s<n.length;++s){const r=n[s].replace(Bo," "),i=r.indexOf("="),o=En(i<0?r:r.slice(0,i)),l=i<0?null:En(r.slice(i+1));if(o in t){let c=t[o];$e(c)||(c=t[o]=[c]),c.push(l)}else t[o]=l}return t}function ti(e){let t="";for(let n in e){const s=e[n];if(n=Hf(n),s==null){s!==void 0&&(t+=(t.length?"&":"")+n);continue}($e(s)?s.map(r=>r&&Ds(r)):[s&&Ds(s)]).forEach(r=>{r!==void 0&&(t+=(t.length?"&":"")+n,r!=null&&(t+="="+r))})}return t}function ru(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=$e(s)?s.map(r=>r==null?null:""+r):s==null?s:""+s)}return t}const iu=Symbol(""),ni=Symbol(""),cr=Symbol(""),fr=Symbol(""),Hs=Symbol("");function nn(){let e=[];function t(s){return e.push(s),()=>{const r=e.indexOf(s);r>-1&&e.splice(r,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function vt(e,t,n,s,r,i=o=>o()){const o=s&&(s.enterCallbacks[r]=s.enterCallbacks[r]||[]);return()=>new Promise((l,c)=>{const d=p=>{p===!1?c(Zt(ue.NAVIGATION_ABORTED,{from:n,to:t})):p instanceof Error?c(p):eu(p)?c(Zt(ue.NAVIGATION_GUARD_REDIRECT,{from:t,to:p})):(o&&s.enterCallbacks[r]===o&&typeof p=="function"&&o.push(p),l())},f=i(()=>e.call(s&&s.instances[r],t,n,d));let u=Promise.resolve(f);e.length<3&&(u=u.then(d)),u.catch(p=>c(p))})}function vs(e,t,n,s,r=i=>i()){const i=[];for(const o of e)for(const l in o.components){let c=o.components[l];if(!(t!=="beforeRouteEnter"&&!o.instances[l]))if(Do(c)){const d=(c.__vccOpts||c)[t];d&&i.push(vt(d,n,s,o,l,r))}else{let d=c();i.push(()=>d.then(f=>{if(!f)throw new Error(`Couldn't resolve component "${l}" at "${o.path}"`);const u=Sf(f)?f.default:f;o.mods[l]=f,o.components[l]=u;const p=(u.__vccOpts||u)[t];return p&&vt(p,n,s,o,l,r)()}))}}return i}function ou(e,t){const n=[],s=[],r=[],i=Math.max(t.matched.length,e.matched.length);for(let o=0;o<i;o++){const l=t.matched[o];l&&(e.matched.find(d=>Qt(d,l))?s.push(l):n.push(l));const c=e.matched[o];c&&(t.matched.find(d=>Qt(d,c))||r.push(c))}return[n,s,r]}let lu=()=>location.protocol+"//"+location.host;function $o(e,t){const{pathname:n,search:s,hash:r}=t,i=e.indexOf("#");if(i>-1){let o=r.includes(e.slice(i))?e.slice(i).length:1,l=r.slice(o);return l[0]!=="/"&&(l="/"+l),Zr(l,"")}return Zr(n,e)+s+r}function cu(e,t,n,s){let r=[],i=[],o=null;const l=({state:p})=>{const m=$o(e,location),x=n.value,C=t.value;let j=0;if(p){if(n.value=m,t.value=p,o&&o===x){o=null;return}j=C?p.position-C.position:0}else s(m);r.forEach(N=>{N(n.value,x,{delta:j,type:Fs.pop,direction:j?j>0?_s.forward:_s.back:_s.unknown})})};function c(){o=n.value}function d(p){r.push(p);const m=()=>{const x=r.indexOf(p);x>-1&&r.splice(x,1)};return i.push(m),m}function f(){if(document.visibilityState==="hidden"){const{history:p}=window;if(!p.state)return;p.replaceState(te({},p.state,{scroll:ns()}),"")}}function u(){for(const p of i)p();i=[],window.removeEventListener("popstate",l),window.removeEventListener("pagehide",f),document.removeEventListener("visibilitychange",f)}return window.addEventListener("popstate",l),window.addEventListener("pagehide",f),document.addEventListener("visibilitychange",f),{pauseListeners:c,listen:d,destroy:u}}function si(e,t,n,s=!1,r=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:r?ns():null}}function fu(e){const{history:t,location:n}=window,s={value:$o(e,n)},r={value:t.state};r.value||i(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function i(c,d,f){const u=e.indexOf("#"),p=u>-1?(n.host&&document.querySelector("base")?e:e.slice(u))+c:lu()+e+c;try{t[f?"replaceState":"pushState"](d,"",p),r.value=d}catch(m){console.error(m),n[f?"replace":"assign"](p)}}function o(c,d){i(c,te({},t.state,si(r.value.back,c,r.value.forward,!0),d,{position:r.value.position}),!0),s.value=c}function l(c,d){const f=te({},r.value,t.state,{forward:c,scroll:ns()});i(f.current,f,!0),i(c,te({},si(s.value,c,null),{position:f.position+1},d),!1),s.value=c}return{location:s,state:r,push:l,replace:o}}function uu(e){e=qf(e);const t=fu(e),n=cu(e,t.state,t.location,t.replace);function s(i,o=!0){o||n.pauseListeners(),history.go(i)}const r=te({location:"",base:e,go:s,createHref:Jf.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}function au(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),uu(e)}let It=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.Group=2]="Group",e})({});var he=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.ParamRegExp=2]="ParamRegExp",e[e.ParamRegExpEnd=3]="ParamRegExpEnd",e[e.EscapeNext=4]="EscapeNext",e})(he||{});const du={type:It.Static,value:""},hu=/[a-zA-Z0-9_]/;function pu(e){if(!e)return[[]];if(e==="/")return[[du]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(m){throw new Error(`ERR (${n})/"${d}": ${m}`)}let n=he.Static,s=n;const r=[];let i;function o(){i&&r.push(i),i=[]}let l=0,c,d="",f="";function u(){d&&(n===he.Static?i.push({type:It.Static,value:d}):n===he.Param||n===he.ParamRegExp||n===he.ParamRegExpEnd?(i.length>1&&(c==="*"||c==="+")&&t(`A repeatable param (${d}) must be alone in its segment. eg: '/:ids+.`),i.push({type:It.Param,value:d,regexp:f,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):t("Invalid state to consume buffer"),d="")}function p(){d+=c}for(;l<e.length;){if(c=e[l++],c==="\\"&&n!==he.ParamRegExp){s=n,n=he.EscapeNext;continue}switch(n){case he.Static:c==="/"?(d&&u(),o()):c===":"?(u(),n=he.Param):p();break;case he.EscapeNext:p(),n=s;break;case he.Param:c==="("?n=he.ParamRegExp:hu.test(c)?p():(u(),n=he.Static,c!=="*"&&c!=="?"&&c!=="+"&&l--);break;case he.ParamRegExp:c===")"?f[f.length-1]=="\\"?f=f.slice(0,-1)+c:n=he.ParamRegExpEnd:f+=c;break;case he.ParamRegExpEnd:u(),n=he.Static,c!=="*"&&c!=="?"&&c!=="+"&&l--,f="";break;default:t("Unknown state");break}}return n===he.ParamRegExp&&t(`Unfinished custom RegExp for param "${d}"`),u(),o(),r}const ri="[^/]+?",gu={sensitive:!1,strict:!1,start:!0,end:!0};var Ee=(function(e){return e[e._multiplier=10]="_multiplier",e[e.Root=90]="Root",e[e.Segment=40]="Segment",e[e.SubSegment=30]="SubSegment",e[e.Static=40]="Static",e[e.Dynamic=20]="Dynamic",e[e.BonusCustomRegExp=10]="BonusCustomRegExp",e[e.BonusWildcard=-50]="BonusWildcard",e[e.BonusRepeatable=-20]="BonusRepeatable",e[e.BonusOptional=-8]="BonusOptional",e[e.BonusStrict=.7000000000000001]="BonusStrict",e[e.BonusCaseSensitive=.25]="BonusCaseSensitive",e})(Ee||{});const mu=/[.+*?^${}()[\]/\\]/g;function _u(e,t){const n=te({},gu,t),s=[];let r=n.start?"^":"";const i=[];for(const d of e){const f=d.length?[]:[Ee.Root];n.strict&&!d.length&&(r+="/");for(let u=0;u<d.length;u++){const p=d[u];let m=Ee.Segment+(n.sensitive?Ee.BonusCaseSensitive:0);if(p.type===It.Static)u||(r+="/"),r+=p.value.replace(mu,"\\$&"),m+=Ee.Static;else if(p.type===It.Param){const{value:x,repeatable:C,optional:j,regexp:N}=p;i.push({name:x,repeatable:C,optional:j});const O=N||ri;if(O!==ri){m+=Ee.BonusCustomRegExp;try{`${O}`}catch(L){throw new Error(`Invalid custom RegExp for param "${x}" (${O}): `+L.message)}}let D=C?`((?:${O})(?:/(?:${O}))*)`:`(${O})`;u||(D=j&&d.length<2?`(?:/${D})`:"/"+D),j&&(D+="?"),r+=D,m+=Ee.Dynamic,j&&(m+=Ee.BonusOptional),C&&(m+=Ee.BonusRepeatable),O===".*"&&(m+=Ee.BonusWildcard)}f.push(m)}s.push(f)}if(n.strict&&n.end){const d=s.length-1;s[d][s[d].length-1]+=Ee.BonusStrict}n.strict||(r+="/?"),n.end?r+="$":n.strict&&!r.endsWith("/")&&(r+="(?:/|$)");const o=new RegExp(r,n.sensitive?"":"i");function l(d){const f=d.match(o),u={};if(!f)return null;for(let p=1;p<f.length;p++){const m=f[p]||"",x=i[p-1];u[x.name]=m&&x.repeatable?m.split("/"):m}return u}function c(d){let f="",u=!1;for(const p of e){(!u||!f.endsWith("/"))&&(f+="/"),u=!1;for(const m of p)if(m.type===It.Static)f+=m.value;else if(m.type===It.Param){const{value:x,repeatable:C,optional:j}=m,N=x in d?d[x]:"";if($e(N)&&!C)throw new Error(`Provided param "${x}" is an array but it is not repeatable (* or + modifiers)`);const O=$e(N)?N.join("/"):N;if(!O)if(j)p.length<2&&(f.endsWith("/")?f=f.slice(0,-1):u=!0);else throw new Error(`Missing required param "${x}"`);f+=O}}return f||"/"}return{re:o,score:s,keys:i,parse:l,stringify:c}}function vu(e,t){let n=0;for(;n<e.length&&n<t.length;){const s=t[n]-e[n];if(s)return s;n++}return e.length<t.length?e.length===1&&e[0]===Ee.Static+Ee.Segment?-1:1:e.length>t.length?t.length===1&&t[0]===Ee.Static+Ee.Segment?1:-1:0}function Ko(e,t){let n=0;const s=e.score,r=t.score;for(;n<s.length&&n<r.length;){const i=vu(s[n],r[n]);if(i)return i;n++}if(Math.abs(r.length-s.length)===1){if(ii(s))return 1;if(ii(r))return-1}return r.length-s.length}function ii(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const yu={strict:!1,end:!0,sensitive:!1};function bu(e,t,n){const s=_u(pu(e.path),n),r=te(s,{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function Eu(e,t){const n=[],s=new Map;t=Qr(yu,t);function r(u){return s.get(u)}function i(u,p,m){const x=!m,C=li(u);C.aliasOf=m&&m.record;const j=Qr(t,u),N=[C];if("alias"in u){const L=typeof u.alias=="string"?[u.alias]:u.alias;for(const I of L)N.push(li(te({},C,{components:m?m.record.components:C.components,path:I,aliasOf:m?m.record:C})))}let O,D;for(const L of N){const{path:I}=L;if(p&&I[0]!=="/"){const B=p.record.path,W=B[B.length-1]==="/"?"":"/";L.path=p.record.path+(I&&W+I)}if(O=bu(L,p,j),m?m.alias.push(O):(D=D||O,D!==O&&D.alias.push(O),x&&u.name&&!ci(O)&&o(u.name)),Wo(O)&&c(O),C.children){const B=C.children;for(let W=0;W<B.length;W++)i(B[W],O,m&&m.children[W])}m=m||O}return D?()=>{o(D)}:dn}function o(u){if(Uo(u)){const p=s.get(u);p&&(s.delete(u),n.splice(n.indexOf(p),1),p.children.forEach(o),p.alias.forEach(o))}else{const p=n.indexOf(u);p>-1&&(n.splice(p,1),u.record.name&&s.delete(u.record.name),u.children.forEach(o),u.alias.forEach(o))}}function l(){return n}function c(u){const p=Au(u,n);n.splice(p,0,u),u.record.name&&!ci(u)&&s.set(u.record.name,u)}function d(u,p){let m,x={},C,j;if("name"in u&&u.name){if(m=s.get(u.name),!m)throw Zt(ue.MATCHER_NOT_FOUND,{location:u});j=m.record.name,x=te(oi(p.params,m.keys.filter(D=>!D.optional).concat(m.parent?m.parent.keys.filter(D=>D.optional):[]).map(D=>D.name)),u.params&&oi(u.params,m.keys.map(D=>D.name))),C=m.stringify(x)}else if(u.path!=null)C=u.path,m=n.find(D=>D.re.test(C)),m&&(x=m.parse(C),j=m.record.name);else{if(m=p.name?s.get(p.name):n.find(D=>D.re.test(p.path)),!m)throw Zt(ue.MATCHER_NOT_FOUND,{location:u,currentLocation:p});j=m.record.name,x=te({},p.params,u.params),C=m.stringify(x)}const N=[];let O=m;for(;O;)N.unshift(O.record),O=O.parent;return{name:j,path:C,params:x,matched:N,meta:wu(N)}}e.forEach(u=>i(u));function f(){n.length=0,s.clear()}return{addRoute:i,resolve:d,removeRoute:o,clearRoutes:f,getRoutes:l,getRecordMatcher:r}}function oi(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function li(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:xu(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function xu(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const s in e.components)t[s]=typeof n=="object"?n[s]:n;return t}function ci(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function wu(e){return e.reduce((t,n)=>te(t,n.meta),{})}function Au(e,t){let n=0,s=t.length;for(;n!==s;){const i=n+s>>1;Ko(e,t[i])<0?s=i:n=i+1}const r=Cu(e);return r&&(s=t.lastIndexOf(r,s-1)),s}function Cu(e){let t=e;for(;t=t.parent;)if(Wo(t)&&Ko(e,t)===0)return t}function Wo({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function fi(e){const t=Xe(cr),n=Xe(fr),s=ke(()=>{const c=Lt(e.to);return t.resolve(c)}),r=ke(()=>{const{matched:c}=s.value,{length:d}=c,f=c[d-1],u=n.matched;if(!f||!u.length)return-1;const p=u.findIndex(Qt.bind(null,f));if(p>-1)return p;const m=ui(c[d-2]);return d>1&&ui(f)===m&&u[u.length-1].path!==m?u.findIndex(Qt.bind(null,c[d-2])):p}),i=ke(()=>r.value>-1&&Iu(n.params,s.value.params)),o=ke(()=>r.value>-1&&r.value===n.matched.length-1&&jo(n.params,s.value.params));function l(c={}){if(Ou(c)){const d=t[Lt(e.replace)?"replace":"push"](Lt(e.to)).catch(dn);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>d),d}return Promise.resolve()}return{route:s,href:ke(()=>s.value.href),isActive:i,isExactActive:o,navigate:l}}function Ru(e){return e.length===1?e[0]:e}const Su=no({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:fi,setup(e,{slots:t}){const n=zt(fi(e)),{options:s}=Xe(cr),r=ke(()=>({[ai(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[ai(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const i=t.default&&Ru(t.default(n));return e.custom?i:or("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},i)}}}),Tu=Su;function Ou(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function Iu(e,t){for(const n in t){const s=t[n],r=e[n];if(typeof s=="string"){if(s!==r)return!1}else if(!$e(r)||r.length!==s.length||s.some((i,o)=>i.valueOf()!==r[o].valueOf()))return!1}return!0}function ui(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const ai=(e,t,n)=>e??t??n,Pu=no({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=Xe(Hs),r=ke(()=>e.route||s.value),i=Xe(ni,0),o=ke(()=>{let d=Lt(i);const{matched:f}=r.value;let u;for(;(u=f[d])&&!u.components;)d++;return d}),l=ke(()=>r.value.matched[o.value]);Pn(ni,ke(()=>o.value+1)),Pn(iu,l),Pn(Hs,r);const c=In();return Nn(()=>[c.value,l.value,e.name],([d,f,u],[p,m,x])=>{f&&(f.instances[u]=d,m&&m!==f&&d&&d===p&&(f.leaveGuards.size||(f.leaveGuards=m.leaveGuards),f.updateGuards.size||(f.updateGuards=m.updateGuards))),d&&f&&(!m||!Qt(f,m)||!p)&&(f.enterCallbacks[u]||[]).forEach(C=>C(d))},{flush:"post"}),()=>{const d=r.value,f=e.name,u=l.value,p=u&&u.components[f];if(!p)return di(n.default,{Component:p,route:d});const m=u.props[f],x=m?m===!0?d.params:typeof m=="function"?m(d):m:null,j=or(p,te({},x,t,{onVnodeUnmounted:N=>{N.component.isUnmounted&&(u.instances[f]=null)},ref:c}));return di(n.default,{Component:j,route:d})||j}}});function di(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Nu=Pu;function Lu(e){const t=Eu(e.routes,e),n=e.parseQuery||su,s=e.stringifyQuery||ti,r=e.history,i=nn(),o=nn(),l=nn(),c=Al(pt);let d=pt;jt&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const f=gs.bind(null,y=>""+y),u=gs.bind(null,kf),p=gs.bind(null,En);function m(y,M){let T,H;return Uo(y)?(T=t.getRecordMatcher(y),H=M):H=y,t.addRoute(H,T)}function x(y){const M=t.getRecordMatcher(y);M&&t.removeRoute(M)}function C(){return t.getRoutes().map(y=>y.record)}function j(y){return!!t.getRecordMatcher(y)}function N(y,M){if(M=te({},M||c.value),typeof y=="string"){const g=ms(n,y,M.path),_=t.resolve({path:g.path},M),b=r.createHref(g.fullPath);return te(g,_,{params:p(_.params),hash:En(g.hash),redirectedFrom:void 0,href:b})}let T;if(y.path!=null)T=te({},y,{path:ms(n,y.path,M.path).path});else{const g=te({},y.params);for(const _ in g)g[_]==null&&delete g[_];T=te({},y,{params:u(g)}),M.params=u(M.params)}const H=t.resolve(T,M),Y=y.hash||"";H.params=f(p(H.params));const a=Gf(s,te({},y,{hash:Bf(Y),path:H.path})),h=r.createHref(a);return te({fullPath:a,hash:Y,query:s===ti?ru(y.query):y.query||{}},H,{redirectedFrom:void 0,href:h})}function O(y){return typeof y=="string"?ms(n,y,c.value.path):te({},y)}function D(y,M){if(d!==y)return Zt(ue.NAVIGATION_CANCELLED,{from:M,to:y})}function L(y){return W(y)}function I(y){return L(te(O(y),{replace:!0}))}function B(y,M){const T=y.matched[y.matched.length-1];if(T&&T.redirect){const{redirect:H}=T;let Y=typeof H=="function"?H(y,M):H;return typeof Y=="string"&&(Y=Y.includes("?")||Y.includes("#")?Y=O(Y):{path:Y},Y.params={}),te({query:y.query,hash:y.hash,params:Y.path!=null?{}:y.params},Y)}}function W(y,M){const T=d=N(y),H=c.value,Y=y.state,a=y.force,h=y.replace===!0,g=B(T,H);if(g)return W(te(O(g),{state:typeof g=="object"?te({},Y,g.state):Y,force:a,replace:h}),M||T);const _=T;_.redirectedFrom=M;let b;return!a&&$f(s,H,T)&&(b=Zt(ue.NAVIGATION_DUPLICATED,{to:_,from:H}),Ke(H,H,!0,!1)),(b?Promise.resolve(b):$(_,H)).catch(v=>st(v)?st(v,ue.NAVIGATION_GUARD_REDIRECT)?v:dt(v):Z(v,_,H)).then(v=>{if(v){if(st(v,ue.NAVIGATION_GUARD_REDIRECT))return W(te({replace:h},O(v.to),{state:typeof v.to=="object"?te({},Y,v.to.state):Y,force:a}),M||_)}else v=R(_,H,!0,h,Y);return z(_,H,v),v})}function ee(y,M){const T=D(y,M);return T?Promise.reject(T):Promise.resolve()}function F(y){const M=Bt.values().next().value;return M&&typeof M.runWithContext=="function"?M.runWithContext(y):y()}function $(y,M){let T;const[H,Y,a]=ou(y,M);T=vs(H.reverse(),"beforeRouteLeave",y,M);for(const g of H)g.leaveGuards.forEach(_=>{T.push(vt(_,y,M))});const h=ee.bind(null,y,M);return T.push(h),Me(T).then(()=>{T=[];for(const g of i.list())T.push(vt(g,y,M));return T.push(h),Me(T)}).then(()=>{T=vs(Y,"beforeRouteUpdate",y,M);for(const g of Y)g.updateGuards.forEach(_=>{T.push(vt(_,y,M))});return T.push(h),Me(T)}).then(()=>{T=[];for(const g of a)if(g.beforeEnter)if($e(g.beforeEnter))for(const _ of g.beforeEnter)T.push(vt(_,y,M));else T.push(vt(g.beforeEnter,y,M));return T.push(h),Me(T)}).then(()=>(y.matched.forEach(g=>g.enterCallbacks={}),T=vs(a,"beforeRouteEnter",y,M,F),T.push(h),Me(T))).then(()=>{T=[];for(const g of o.list())T.push(vt(g,y,M));return T.push(h),Me(T)}).catch(g=>st(g,ue.NAVIGATION_CANCELLED)?g:Promise.reject(g))}function z(y,M,T){l.list().forEach(H=>F(()=>H(y,M,T)))}function R(y,M,T,H,Y){const a=D(y,M);if(a)return a;const h=M===pt,g=jt?history.state:{};T&&(H||h?r.replace(y.fullPath,te({scroll:h&&g&&g.scroll},Y)):r.push(y.fullPath,Y)),c.value=y,Ke(y,M,T,h),dt()}let q;function fe(){q||(q=r.listen((y,M,T)=>{if(!wt.listening)return;const H=N(y),Y=B(H,wt.currentRoute.value);if(Y){W(te(Y,{replace:!0,force:!0}),H).catch(dn);return}d=H;const a=c.value;jt&&Zf(ei(a.fullPath,T.delta),ns()),$(H,a).catch(h=>st(h,ue.NAVIGATION_ABORTED|ue.NAVIGATION_CANCELLED)?h:st(h,ue.NAVIGATION_GUARD_REDIRECT)?(W(te(O(h.to),{force:!0}),H).then(g=>{st(g,ue.NAVIGATION_ABORTED|ue.NAVIGATION_DUPLICATED)&&!T.delta&&T.type===Fs.pop&&r.go(-1,!1)}).catch(dn),Promise.reject()):(T.delta&&r.go(-T.delta,!1),Z(h,H,a))).then(h=>{h=h||R(H,a,!1),h&&(T.delta&&!st(h,ue.NAVIGATION_CANCELLED)?r.go(-T.delta,!1):T.type===Fs.pop&&st(h,ue.NAVIGATION_ABORTED|ue.NAVIGATION_DUPLICATED)&&r.go(-1,!1)),z(H,a,h)}).catch(dn)}))}let me=nn(),re=nn(),J;function Z(y,M,T){dt(y);const H=re.list();return H.length?H.forEach(Y=>Y(y,M,T)):console.error(y),Promise.reject(y)}function et(){return J&&c.value!==pt?Promise.resolve():new Promise((y,M)=>{me.add([y,M])})}function dt(y){return J||(J=!y,fe(),me.list().forEach(([M,T])=>y?T(y):M()),me.reset()),y}function Ke(y,M,T,H){const{scrollBehavior:Y}=e;if(!jt||!Y)return Promise.resolve();const a=!T&&Xf(ei(y.fullPath,0))||(H||!T)&&history.state&&history.state.scroll||null;return Gi().then(()=>Y(y,M,a)).then(h=>h&&Qf(h)).catch(h=>Z(h,y,M))}const Ae=y=>r.go(y);let Ft;const Bt=new Set,wt={currentRoute:c,listening:!0,addRoute:m,removeRoute:x,clearRoutes:t.clearRoutes,hasRoute:j,getRoutes:C,resolve:N,options:e,push:L,replace:I,go:Ae,back:()=>Ae(-1),forward:()=>Ae(1),beforeEach:i.add,beforeResolve:o.add,afterEach:l.add,onError:re.add,isReady:et,install(y){y.component("RouterLink",Tu),y.component("RouterView",Nu),y.config.globalProperties.$router=wt,Object.defineProperty(y.config.globalProperties,"$route",{enumerable:!0,get:()=>Lt(c)}),jt&&!Ft&&c.value===pt&&(Ft=!0,L(r.location).catch(H=>{}));const M={};for(const H in pt)Object.defineProperty(M,H,{get:()=>c.value[H],enumerable:!0});y.provide(cr,wt),y.provide(fr,Vi(M)),y.provide(Hs,c);const T=y.unmount;Bt.add(y),y.unmount=function(){Bt.delete(y),Bt.size<1&&(d=pt,q&&q(),q=null,c.value=pt,Ft=!1,J=!1),T()}}};function Me(y){return y.reduce((M,T)=>M.then(()=>F(T)),Promise.resolve())}return wt}function Mu(e){return Xe(fr)}const Du={class:"p-4 flex justify-between items-center sticky top-0 bg-white/75 border-b border-b-slate-200 backdrop-blur"},Fu={class:"flex gap-4"},Bu={__name:"header",setup(e){const t=Mu(),n=[{to:"/",title:"Home"},{to:"/global-middleware",title:"GlobalMiddleware"},{to:"/middleware",title:"Middleware"},{to:"/routers",title:"Router"},{to:"/models",title:"Model"},{to:"/config",title:"Config"},{to:"/requests",title:"Request"}];return(s,r)=>{const i=co("RouterLink");return we(),bt("header",Du,[Ne("nav",Fu,[(we(),bt(Oe,null,Xl(n,({to:o,title:l})=>de(i,{to:o,class:zn(["px-4 py-1 rounded-full",{"bg-slate-100":Lt(t).path===o}])},{default:Yn(()=>[Io(Ws(l),1)]),_:2},1032,["to","class"])),64))]),r[0]||(r[0]=Ne("div",{class:"flex gap-4 items-center"},[Ne("div",null,"Develop with"),Ne("img",{class:"size-8",src:Cf}),Ne("img",{class:"size-8",src:Rf})],-1))])}}},Fe={};function Hu(e,t,n){Fe[e]||(Fe[e]={}),Fe[e][t]=n}function Vu(e,t){return Fe[e]?Fe[e][t]:null}function ku(e,t){Fe[e]&&delete Fe[e][t]}function ju(e,t){Fe[e]=t,Fe[e].setItem=function(n,s){Hu(e,n,s)},Fe[e].getItem=function(n){return Vu(e,n)},Fe[e].removeItem=function(n){ku(e,n)}}function Uu(e){return Fe[e]}const hi=ju,pi=Uu,Gu={class:"p-4"},$u={__name:"main",async setup(e){let t,n;hi("front-end",zt({config:{URL:"http://localhost:3000/static/doc.json",baseURL:"http://localhost:3000",authorization:"",path:"/apples",query:"",method:"GET",body:"",showDoc:!1,bodyRows:8},cache:{result:""},methods:{}})),hi("back-end",zt({}));const s=pi("front-end"),r=pi("back-end");for(const i in s.config){const o="config"+i.charAt(0).toUpperCase()+i.slice(1);localStorage[o]&&(s.config[i]=localStorage[o])}return s.methods.refreshData=async()=>{try{const i=await fetch(s.config.URL);if(!i.ok){alert("Please check your URL.","client-error");return}const o=await i.json();for(const l in o.data)r[l]=o.data[l];alert("Data fetched successfully.","success")}catch{alert("Data fetch failed.","server-error")}},s.methods.isObject=i=>typeof i=="object"&&i!==null&&!Array.isArray(i),s.methods.isEmptyObject=i=>{if(!s.methods.isObject(i))return!1;for(const o in i)if(i.hasOwnProperty(o))return!1;return!0},[t,n]=tc(()=>s.methods.refreshData()),await t,n(),(i,o)=>{const l=co("RouterView");return we(),bt(Oe,null,[de(Bu),Ne("main",Gu,[de(l,{class:"max-w-7xl mx-auto"})])],64)}}},ur=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n},Ku={},Wu={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"};function qu(e,t){return we(),bt("svg",Wu,[...t[0]||(t[0]=[Ne("path",{d:"M256 48C141.31 48 48 141.31 48 256s93.31 208 208 208s208-93.31 208-208S370.69 48 256 48zm108.25 138.29l-134.4 160a16 16 0 0 1-12 5.71h-.27a16 16 0 0 1-11.89-5.3l-57.6-64a16 16 0 1 1 23.78-21.4l45.29 50.32l122.59-145.91a16 16 0 0 1 24.5 20.58z",fill:"currentColor"},null,-1)])])}const zu=ur(Ku,[["render",qu]]),Ju={},Yu={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"};function Qu(e,t){return we(),bt("svg",Yu,[...t[0]||(t[0]=[Ne("path",{d:"M256 48C141.31 48 48 141.31 48 256s93.31 208 208 208s208-93.31 208-208S370.69 48 256 48zm0 319.91a20 20 0 1 1 20-20a20 20 0 0 1-20 20zm21.72-201.15l-5.74 122a16 16 0 0 1-32 0l-5.74-121.94v-.05a21.74 21.74 0 1 1 43.44 0z",fill:"currentColor"},null,-1)])])}const Zu=ur(Ju,[["render",Qu]]),Xu={},ea={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"};function ta(e,t){return we(),bt("svg",ea,[...t[0]||(t[0]=[Ne("path",{d:"M256 48C141.31 48 48 141.31 48 256s93.31 208 208 208s208-93.31 208-208S370.69 48 256 48zm75.31 260.69a16 16 0 1 1-22.62 22.62L256 278.63l-52.69 52.68a16 16 0 0 1-22.62-22.62L233.37 256l-52.68-52.69a16 16 0 0 1 22.62-22.62L256 233.37l52.69-52.68a16 16 0 0 1 22.62 22.62L278.63 256z",fill:"currentColor"},null,-1)])])}const na=ur(Xu,[["render",ta]]),sa={key:0,class:"pointer-events-none fixed left-0 top-4 z-50 flex w-full justify-center leading-none"},ra={class:"mx-4 flex items-center gap-2 rounded-lg border border-slate-200 bg-white p-4 shadow"},ia={__name:"alert",setup(e){const t=In("title"),n=In(""),s=In(!1);let r;return window.alert=(i,o)=>{t.value=i,n.value=o,s.value=!0,r&&clearTimeout(r),r=setTimeout(()=>{s.value=!1,t.value="",n.value=""},3e3)},(i,o)=>(we(),Ut(Zc,{name:"custom"},{default:Yn(()=>[s.value?(we(),bt("div",sa,[Ne("div",ra,[n.value==="success"?(we(),Ut(zu,{key:0,class:"h-8 w-8 text-green-600"})):Tn("",!0),n.value==="client-error"?(we(),Ut(Zu,{key:1,class:"h-8 w-8 text-red-600"})):Tn("",!0),n.value==="server-error"?(we(),Ut(na,{key:2,class:"h-8 w-8 text-red-600"})):Tn("",!0),Ne("div",null,Ws(t.value),1)])])):Tn("",!0)]),_:1}))}},oa={__name:"App",setup(e){return(t,n)=>(we(),bt(Oe,null,[(we(),Ut(Sc,null,{default:Yn(()=>[de($u)]),_:1})),de(ia)],64))}},la="modulepreload",ca=function(e){return"/static/compass/"+e},gi={},Tt=function(t,n,s){let r=Promise.resolve();if(n&&n.length>0){let c=function(d){return Promise.all(d.map(f=>Promise.resolve(f).then(u=>({status:"fulfilled",value:u}),u=>({status:"rejected",reason:u}))))};document.getElementsByTagName("link");const o=document.querySelector("meta[property=csp-nonce]"),l=o?.nonce||o?.getAttribute("nonce");r=c(n.map(d=>{if(d=ca(d),d in gi)return;gi[d]=!0;const f=d.endsWith(".css"),u=f?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${d}"]${u}`))return;const p=document.createElement("link");if(p.rel=f?"stylesheet":la,f||(p.as="script"),p.crossOrigin="",p.href=d,l&&p.setAttribute("nonce",l),document.head.appendChild(p),f)return new Promise((m,x)=>{p.addEventListener("load",m),p.addEventListener("error",()=>x(new Error(`Unable to preload CSS for ${d}`)))})}))}function i(o){const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=o,window.dispatchEvent(l),!l.defaultPrevented)throw o}return r.then(o=>{for(const l of o||[])l.status==="rejected"&&i(l.reason);return t().catch(i)})},fa=[{path:"/",component:()=>Tt(()=>import("./home--bVFpcXR.js"),__vite__mapDeps([0,1,2,3,4,5]))},{path:"/global-middleware",component:()=>Tt(()=>import("./global-middleware-D_iAyTrE.js"),__vite__mapDeps([6,1,3]))},{path:"/middleware",component:()=>Tt(()=>import("./middleware-CiRXg1kd.js"),__vite__mapDeps([7,2,3]))},{path:"/routers",component:()=>Tt(()=>import("./routers-BrLbEkdM.js"),__vite__mapDeps([8,4]))},{path:"/models",component:()=>Tt(()=>import("./models-BNO9a_uW.js"),__vite__mapDeps([9,5]))},{path:"/config",component:()=>Tt(()=>import("./config-DiQ0KSRC.js"),[])},{path:"/requests",component:()=>Tt(()=>import("./requests-CrVIycm3.js"),[])}],ua=Lu({history:au(),routes:fa});xf(oa).use(ua).mount("#app");export{Oe as F,ur as _,Ne as a,da as b,bt as c,de as d,Io as e,Tn as f,pi as g,we as o,Xl as r,Ws as t,Lt as u,ha as v,aa as w};
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/home-C7i1weSE.js","assets/how-to-import-dev-middleware-JuvI7_42.js","assets/middleware-example-CjtUCHgf.js","assets/how-to-import-middleware-DRn2rKNh.js","assets/how-to-import-dev-router-DjZWhZMa.js","assets/how-to-import-model-Dc4Nt8Mc.js","assets/global-middleware-D1JBNrrW.js","assets/middleware-B1SDSS_H.js","assets/routers-x0cqWJvJ.js","assets/models-BshuNPI2.js"])))=>i.map(i=>d[i]);
2
+ (function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))s(r);new MutationObserver(r=>{for(const i of r)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&s(o)}).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 s(r){if(r.ep)return;r.ep=!0;const i=n(r);fetch(r.href,i)}})();function Vs(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const ie={},Gt=[],Ze=()=>{},mi=()=>!1,Gn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),ks=e=>e.startsWith("onUpdate:"),pe=Object.assign,js=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},qo=Object.prototype.hasOwnProperty,ne=(e,t)=>qo.call(e,t),U=Array.isArray,$t=e=>$n(e)==="[object Map]",_i=e=>$n(e)==="[object Set]",G=e=>typeof e=="function",ae=e=>typeof e=="string",xt=e=>typeof e=="symbol",ce=e=>e!==null&&typeof e=="object",Us=e=>(ce(e)||G(e))&&G(e.then)&&G(e.catch),vi=Object.prototype.toString,$n=e=>vi.call(e),zo=e=>$n(e).slice(8,-1),yi=e=>$n(e)==="[object Object]",Gs=e=>ae(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,rn=Vs(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Kn=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},Jo=/-\w/g,He=Kn(e=>e.replace(Jo,t=>t.slice(1).toUpperCase())),Yo=/\B([A-Z])/g,Dt=Kn(e=>e.replace(Yo,"-$1").toLowerCase()),Wn=Kn(e=>e.charAt(0).toUpperCase()+e.slice(1)),ss=Kn(e=>e?`on${Wn(e)}`:""),yt=(e,t)=>!Object.is(e,t),On=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},bi=(e,t,n,s=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},$s=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Ei=e=>{const t=ae(e)?Number(e):NaN;return isNaN(t)?e:t};let pr;const qn=()=>pr||(pr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Ks(e){if(U(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],r=ae(s)?el(s):Ks(s);if(r)for(const i in r)t[i]=r[i]}return t}else if(ae(e)||ce(e))return e}const Qo=/;(?![^(]*\))/g,Zo=/:([^]+)/,Xo=/\/\*[^]*?\*\//g;function el(e){const t={};return e.replace(Xo,"").split(Qo).forEach(n=>{if(n){const s=n.split(Zo);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function zn(e){let t="";if(ae(e))t=e;else if(U(e))for(let n=0;n<e.length;n++){const s=zn(e[n]);s&&(t+=s+" ")}else if(ce(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const tl="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",nl=Vs(tl);function xi(e){return!!e||e===""}const wi=e=>!!(e&&e.__v_isRef===!0),Ws=e=>ae(e)?e:e==null?"":U(e)||ce(e)&&(e.toString===vi||!G(e.toString))?wi(e)?Ws(e.value):JSON.stringify(e,Ai,2):String(e),Ai=(e,t)=>wi(t)?Ai(e,t.value):$t(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],i)=>(n[rs(s,i)+" =>"]=r,n),{})}:_i(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>rs(n))}:xt(t)?rs(t):ce(t)&&!U(t)&&!yi(t)?String(t):t,rs=(e,t="")=>{var n;return xt(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};let Te;class sl{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Te,!t&&Te&&(this.index=(Te.scopes||(Te.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=Te;try{return Te=this,t()}finally{Te=n}}}on(){++this._on===1&&(this.prevScope=Te,Te=this)}off(){this._on>0&&--this._on===0&&(Te=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let n,s;for(n=0,s=this.effects.length;n<s;n++)this.effects[n].stop();for(this.effects.length=0,n=0,s=this.cleanups.length;n<s;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,s=this.scopes.length;n<s;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0}}}function rl(){return Te}let le;const is=new WeakSet;class Ci{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,Te&&Te.active&&Te.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,is.has(this)&&(is.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Si(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,gr(this),Ti(this);const t=le,n=je;le=this,je=!0;try{return this.fn()}finally{Oi(this),le=t,je=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Js(t);this.deps=this.depsTail=void 0,gr(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?is.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){ys(this)&&this.run()}get dirty(){return ys(this)}}let Ri=0,on,ln;function Si(e,t=!1){if(e.flags|=8,t){e.next=ln,ln=e;return}e.next=on,on=e}function qs(){Ri++}function zs(){if(--Ri>0)return;if(ln){let t=ln;for(ln=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;on;){let t=on;for(on=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(s){e||(e=s)}t=n}}if(e)throw e}function Ti(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Oi(e){let t,n=e.depsTail,s=n;for(;s;){const r=s.prevDep;s.version===-1?(s===n&&(n=r),Js(s),il(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=r}e.deps=t,e.depsTail=n}function ys(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Ii(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Ii(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===hn)||(e.globalVersion=hn,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!ys(e))))return;e.flags|=2;const t=e.dep,n=le,s=je;le=e,je=!0;try{Ti(e);const r=e.fn(e._value);(t.version===0||yt(r,e._value))&&(e.flags|=128,e._value=r,t.version++)}catch(r){throw t.version++,r}finally{le=n,je=s,Oi(e),e.flags&=-3}}function Js(e,t=!1){const{dep:n,prevSub:s,nextSub:r}=e;if(s&&(s.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=s,e.nextSub=void 0),n.subs===e&&(n.subs=s,!s&&n.computed)){n.computed.flags&=-5;for(let i=n.computed.deps;i;i=i.nextDep)Js(i,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function il(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let je=!0;const Pi=[];function ct(){Pi.push(je),je=!1}function ft(){const e=Pi.pop();je=e===void 0?!0:e}function gr(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=le;le=void 0;try{t()}finally{le=n}}}let hn=0;class ol{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Ys{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!le||!je||le===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==le)n=this.activeLink=new ol(le,this),le.deps?(n.prevDep=le.depsTail,le.depsTail.nextDep=n,le.depsTail=n):le.deps=le.depsTail=n,Ni(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const s=n.nextDep;s.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=s),n.prevDep=le.depsTail,n.nextDep=void 0,le.depsTail.nextDep=n,le.depsTail=n,le.deps===n&&(le.deps=s)}return n}trigger(t){this.version++,hn++,this.notify(t)}notify(t){qs();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{zs()}}}function Ni(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let s=t.deps;s;s=s.nextDep)Ni(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const bs=new WeakMap,Pt=Symbol(""),Es=Symbol(""),pn=Symbol("");function _e(e,t,n){if(je&&le){let s=bs.get(e);s||bs.set(e,s=new Map);let r=s.get(n);r||(s.set(n,r=new Ys),r.map=s,r.key=n),r.track()}}function ot(e,t,n,s,r,i){const o=bs.get(e);if(!o){hn++;return}const l=c=>{c&&c.trigger()};if(qs(),t==="clear")o.forEach(l);else{const c=U(e),d=c&&Gs(n);if(c&&n==="length"){const f=Number(s);o.forEach((u,p)=>{(p==="length"||p===pn||!xt(p)&&p>=f)&&l(u)})}else switch((n!==void 0||o.has(void 0))&&l(o.get(n)),d&&l(o.get(pn)),t){case"add":c?d&&l(o.get("length")):(l(o.get(Pt)),$t(e)&&l(o.get(Es)));break;case"delete":c||(l(o.get(Pt)),$t(e)&&l(o.get(Es)));break;case"set":$t(e)&&l(o.get(Pt));break}}zs()}function Ht(e){const t=X(e);return t===e?t:(_e(t,"iterate",pn),Be(e)?t:t.map(Ue))}function Jn(e){return _e(e=X(e),"iterate",pn),e}function gt(e,t){return ut(e)?Nt(e)?Jt(Ue(t)):Jt(t):Ue(t)}const ll={__proto__:null,[Symbol.iterator](){return os(this,Symbol.iterator,e=>gt(this,e))},concat(...e){return Ht(this).concat(...e.map(t=>U(t)?Ht(t):t))},entries(){return os(this,"entries",e=>(e[1]=gt(this,e[1]),e))},every(e,t){return tt(this,"every",e,t,void 0,arguments)},filter(e,t){return tt(this,"filter",e,t,n=>n.map(s=>gt(this,s)),arguments)},find(e,t){return tt(this,"find",e,t,n=>gt(this,n),arguments)},findIndex(e,t){return tt(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return tt(this,"findLast",e,t,n=>gt(this,n),arguments)},findLastIndex(e,t){return tt(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return tt(this,"forEach",e,t,void 0,arguments)},includes(...e){return ls(this,"includes",e)},indexOf(...e){return ls(this,"indexOf",e)},join(e){return Ht(this).join(e)},lastIndexOf(...e){return ls(this,"lastIndexOf",e)},map(e,t){return tt(this,"map",e,t,void 0,arguments)},pop(){return en(this,"pop")},push(...e){return en(this,"push",e)},reduce(e,...t){return mr(this,"reduce",e,t)},reduceRight(e,...t){return mr(this,"reduceRight",e,t)},shift(){return en(this,"shift")},some(e,t){return tt(this,"some",e,t,void 0,arguments)},splice(...e){return en(this,"splice",e)},toReversed(){return Ht(this).toReversed()},toSorted(e){return Ht(this).toSorted(e)},toSpliced(...e){return Ht(this).toSpliced(...e)},unshift(...e){return en(this,"unshift",e)},values(){return os(this,"values",e=>gt(this,e))}};function os(e,t,n){const s=Jn(e),r=s[t]();return s!==e&&!Be(e)&&(r._next=r.next,r.next=()=>{const i=r._next();return i.done||(i.value=n(i.value)),i}),r}const cl=Array.prototype;function tt(e,t,n,s,r,i){const o=Jn(e),l=o!==e&&!Be(e),c=o[t];if(c!==cl[t]){const u=c.apply(e,i);return l?Ue(u):u}let d=n;o!==e&&(l?d=function(u,p){return n.call(this,gt(e,u),p,e)}:n.length>2&&(d=function(u,p){return n.call(this,u,p,e)}));const f=c.call(o,d,s);return l&&r?r(f):f}function mr(e,t,n,s){const r=Jn(e);let i=n;return r!==e&&(Be(e)?n.length>3&&(i=function(o,l,c){return n.call(this,o,l,c,e)}):i=function(o,l,c){return n.call(this,o,gt(e,l),c,e)}),r[t](i,...s)}function ls(e,t,n){const s=X(e);_e(s,"iterate",pn);const r=s[t](...n);return(r===-1||r===!1)&&Xs(n[0])?(n[0]=X(n[0]),s[t](...n)):r}function en(e,t,n=[]){ct(),qs();const s=X(e)[t].apply(e,n);return zs(),ft(),s}const fl=Vs("__proto__,__v_isRef,__isVue"),Li=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(xt));function ul(e){xt(e)||(e=String(e));const t=X(this);return _e(t,"has",e),t.hasOwnProperty(e)}class Mi{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){if(n==="__v_skip")return t.__v_skip;const r=this._isReadonly,i=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return i;if(n==="__v_raw")return s===(r?i?bl:Hi:i?Bi:Fi).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const o=U(t);if(!r){let c;if(o&&(c=ll[n]))return c;if(n==="hasOwnProperty")return ul}const l=Reflect.get(t,n,ye(t)?t:s);if((xt(n)?Li.has(n):fl(n))||(r||_e(t,"get",n),i))return l;if(ye(l)){const c=o&&Gs(n)?l:l.value;return r&&ce(c)?ws(c):c}return ce(l)?r?ws(l):zt(l):l}}class Di extends Mi{constructor(t=!1){super(!1,t)}set(t,n,s,r){let i=t[n];const o=U(t)&&Gs(n);if(!this._isShallow){const d=ut(i);if(!Be(s)&&!ut(s)&&(i=X(i),s=X(s)),!o&&ye(i)&&!ye(s))return d||(i.value=s),!0}const l=o?Number(n)<t.length:ne(t,n),c=Reflect.set(t,n,s,ye(t)?t:r);return t===X(r)&&(l?yt(s,i)&&ot(t,"set",n,s):ot(t,"add",n,s)),c}deleteProperty(t,n){const s=ne(t,n);t[n];const r=Reflect.deleteProperty(t,n);return r&&s&&ot(t,"delete",n,void 0),r}has(t,n){const s=Reflect.has(t,n);return(!xt(n)||!Li.has(n))&&_e(t,"has",n),s}ownKeys(t){return _e(t,"iterate",U(t)?"length":Pt),Reflect.ownKeys(t)}}class al extends Mi{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const dl=new Di,hl=new al,pl=new Di(!0);const xs=e=>e,An=e=>Reflect.getPrototypeOf(e);function gl(e,t,n){return function(...s){const r=this.__v_raw,i=X(r),o=$t(i),l=e==="entries"||e===Symbol.iterator&&o,c=e==="keys"&&o,d=r[e](...s),f=n?xs:t?Jt:Ue;return!t&&_e(i,"iterate",c?Es:Pt),{next(){const{value:u,done:p}=d.next();return p?{value:u,done:p}:{value:l?[f(u[0]),f(u[1])]:f(u),done:p}},[Symbol.iterator](){return this}}}}function Cn(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function ml(e,t){const n={get(r){const i=this.__v_raw,o=X(i),l=X(r);e||(yt(r,l)&&_e(o,"get",r),_e(o,"get",l));const{has:c}=An(o),d=t?xs:e?Jt:Ue;if(c.call(o,r))return d(i.get(r));if(c.call(o,l))return d(i.get(l));i!==o&&i.get(r)},get size(){const r=this.__v_raw;return!e&&_e(X(r),"iterate",Pt),r.size},has(r){const i=this.__v_raw,o=X(i),l=X(r);return e||(yt(r,l)&&_e(o,"has",r),_e(o,"has",l)),r===l?i.has(r):i.has(r)||i.has(l)},forEach(r,i){const o=this,l=o.__v_raw,c=X(l),d=t?xs:e?Jt:Ue;return!e&&_e(c,"iterate",Pt),l.forEach((f,u)=>r.call(i,d(f),d(u),o))}};return pe(n,e?{add:Cn("add"),set:Cn("set"),delete:Cn("delete"),clear:Cn("clear")}:{add(r){!t&&!Be(r)&&!ut(r)&&(r=X(r));const i=X(this);return An(i).has.call(i,r)||(i.add(r),ot(i,"add",r,r)),this},set(r,i){!t&&!Be(i)&&!ut(i)&&(i=X(i));const o=X(this),{has:l,get:c}=An(o);let d=l.call(o,r);d||(r=X(r),d=l.call(o,r));const f=c.call(o,r);return o.set(r,i),d?yt(i,f)&&ot(o,"set",r,i):ot(o,"add",r,i),this},delete(r){const i=X(this),{has:o,get:l}=An(i);let c=o.call(i,r);c||(r=X(r),c=o.call(i,r)),l&&l.call(i,r);const d=i.delete(r);return c&&ot(i,"delete",r,void 0),d},clear(){const r=X(this),i=r.size!==0,o=r.clear();return i&&ot(r,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(r=>{n[r]=gl(r,e,t)}),n}function Qs(e,t){const n=ml(e,t);return(s,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(ne(n,r)&&r in s?n:s,r,i)}const _l={get:Qs(!1,!1)},vl={get:Qs(!1,!0)},yl={get:Qs(!0,!1)};const Fi=new WeakMap,Bi=new WeakMap,Hi=new WeakMap,bl=new WeakMap;function El(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function xl(e){return e.__v_skip||!Object.isExtensible(e)?0:El(zo(e))}function zt(e){return ut(e)?e:Zs(e,!1,dl,_l,Fi)}function Vi(e){return Zs(e,!1,pl,vl,Bi)}function ws(e){return Zs(e,!0,hl,yl,Hi)}function Zs(e,t,n,s,r){if(!ce(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=xl(e);if(i===0)return e;const o=r.get(e);if(o)return o;const l=new Proxy(e,i===2?s:n);return r.set(e,l),l}function Nt(e){return ut(e)?Nt(e.__v_raw):!!(e&&e.__v_isReactive)}function ut(e){return!!(e&&e.__v_isReadonly)}function Be(e){return!!(e&&e.__v_isShallow)}function Xs(e){return e?!!e.__v_raw:!1}function X(e){const t=e&&e.__v_raw;return t?X(t):e}function wl(e){return!ne(e,"__v_skip")&&Object.isExtensible(e)&&bi(e,"__v_skip",!0),e}const Ue=e=>ce(e)?zt(e):e,Jt=e=>ce(e)?ws(e):e;function ye(e){return e?e.__v_isRef===!0:!1}function In(e){return ki(e,!1)}function Al(e){return ki(e,!0)}function ki(e,t){return ye(e)?e:new Cl(e,t)}class Cl{constructor(t,n){this.dep=new Ys,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:X(t),this._value=n?t:Ue(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||Be(t)||ut(t);t=s?t:X(t),yt(t,n)&&(this._rawValue=t,this._value=s?t:Ue(t),this.dep.trigger())}}function Lt(e){return ye(e)?e.value:e}const Rl={get:(e,t,n)=>t==="__v_raw"?e:Lt(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return ye(r)&&!ye(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function ji(e){return Nt(e)?e:new Proxy(e,Rl)}class Sl{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Ys(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=hn-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&le!==this)return Si(this,!0),!0}get value(){const t=this.dep.track();return Ii(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Tl(e,t,n=!1){let s,r;return G(e)?s=e:(s=e.get,r=e.set),new Sl(s,r,n)}const Rn={},Fn=new WeakMap;let Ot;function Ol(e,t=!1,n=Ot){if(n){let s=Fn.get(n);s||Fn.set(n,s=[]),s.push(e)}}function Il(e,t,n=ie){const{immediate:s,deep:r,once:i,scheduler:o,augmentJob:l,call:c}=n,d=L=>r?L:Be(L)||r===!1||r===0?lt(L,1):lt(L);let f,u,p,m,x=!1,C=!1;if(ye(e)?(u=()=>e.value,x=Be(e)):Nt(e)?(u=()=>d(e),x=!0):U(e)?(C=!0,x=e.some(L=>Nt(L)||Be(L)),u=()=>e.map(L=>{if(ye(L))return L.value;if(Nt(L))return d(L);if(G(L))return c?c(L,2):L()})):G(e)?t?u=c?()=>c(e,2):e:u=()=>{if(p){ct();try{p()}finally{ft()}}const L=Ot;Ot=f;try{return c?c(e,3,[m]):e(m)}finally{Ot=L}}:u=Ze,t&&r){const L=u,I=r===!0?1/0:r;u=()=>lt(L(),I)}const j=rl(),N=()=>{f.stop(),j&&j.active&&js(j.effects,f)};if(i&&t){const L=t;t=(...I)=>{L(...I),N()}}let O=C?new Array(e.length).fill(Rn):Rn;const D=L=>{if(!(!(f.flags&1)||!f.dirty&&!L))if(t){const I=f.run();if(r||x||(C?I.some((B,W)=>yt(B,O[W])):yt(I,O))){p&&p();const B=Ot;Ot=f;try{const W=[I,O===Rn?void 0:C&&O[0]===Rn?[]:O,m];O=I,c?c(t,3,W):t(...W)}finally{Ot=B}}}else f.run()};return l&&l(D),f=new Ci(u),f.scheduler=o?()=>o(D,!1):D,m=L=>Ol(L,!1,f),p=f.onStop=()=>{const L=Fn.get(f);if(L){if(c)c(L,4);else for(const I of L)I();Fn.delete(f)}},t?s?D(!0):O=f.run():o?o(D.bind(null,!0),!0):f.run(),N.pause=f.pause.bind(f),N.resume=f.resume.bind(f),N.stop=N,N}function lt(e,t=1/0,n){if(t<=0||!ce(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,ye(e))lt(e.value,t,n);else if(U(e))for(let s=0;s<e.length;s++)lt(e[s],t,n);else if(_i(e)||$t(e))e.forEach(s=>{lt(s,t,n)});else if(yi(e)){for(const s in e)lt(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&lt(e[s],t,n)}return e}function xn(e,t,n,s){try{return s?e(...s):e()}catch(r){wn(r,t,n)}}function Ge(e,t,n,s){if(G(e)){const r=xn(e,t,n,s);return r&&Us(r)&&r.catch(i=>{wn(i,t,n)}),r}if(U(e)){const r=[];for(let i=0;i<e.length;i++)r.push(Ge(e[i],t,n,s));return r}}function wn(e,t,n,s=!0){const r=t?t.vnode:null,{errorHandler:i,throwUnhandledErrorInProduction:o}=t&&t.appContext.config||ie;if(t){let l=t.parent;const c=t.proxy,d=`https://vuejs.org/error-reference/#runtime-${n}`;for(;l;){const f=l.ec;if(f){for(let u=0;u<f.length;u++)if(f[u](e,c,d)===!1)return}l=l.parent}if(i){ct(),xn(i,null,10,[e,c,d]),ft();return}}Pl(e,n,r,s,o)}function Pl(e,t,n,s=!0,r=!1){if(r)throw e;console.error(e)}const xe=[];let Ye=-1;const Kt=[];let mt=null,Vt=0;const Ui=Promise.resolve();let Bn=null;function Gi(e){const t=Bn||Ui;return e?t.then(this?e.bind(this):e):t}function Nl(e){let t=Ye+1,n=xe.length;for(;t<n;){const s=t+n>>>1,r=xe[s],i=gn(r);i<e||i===e&&r.flags&2?t=s+1:n=s}return t}function er(e){if(!(e.flags&1)){const t=gn(e),n=xe[xe.length-1];!n||!(e.flags&2)&&t>=gn(n)?xe.push(e):xe.splice(Nl(t),0,e),e.flags|=1,$i()}}function $i(){Bn||(Bn=Ui.then(Wi))}function As(e){U(e)?Kt.push(...e):mt&&e.id===-1?mt.splice(Vt+1,0,e):e.flags&1||(Kt.push(e),e.flags|=1),$i()}function _r(e,t,n=Ye+1){for(;n<xe.length;n++){const s=xe[n];if(s&&s.flags&2){if(e&&s.id!==e.uid)continue;xe.splice(n,1),n--,s.flags&4&&(s.flags&=-2),s(),s.flags&4||(s.flags&=-2)}}}function Ki(e){if(Kt.length){const t=[...new Set(Kt)].sort((n,s)=>gn(n)-gn(s));if(Kt.length=0,mt){mt.push(...t);return}for(mt=t,Vt=0;Vt<mt.length;Vt++){const n=mt[Vt];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}mt=null,Vt=0}}const gn=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Wi(e){try{for(Ye=0;Ye<xe.length;Ye++){const t=xe[Ye];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),xn(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;Ye<xe.length;Ye++){const t=xe[Ye];t&&(t.flags&=-2)}Ye=-1,xe.length=0,Ki(),Bn=null,(xe.length||Kt.length)&&Wi()}}let Le=null,qi=null;function Hn(e){const t=Le;return Le=e,qi=e&&e.type.__scopeId||null,t}function Yn(e,t=Le,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&jn(-1);const i=Hn(t);let o;try{o=e(...r)}finally{Hn(i),s._d&&jn(1)}return o};return s._n=!0,s._c=!0,s._d=!0,s}function aa(e,t){if(Le===null)return e;const n=ts(Le),s=e.dirs||(e.dirs=[]);for(let r=0;r<t.length;r++){let[i,o,l,c=ie]=t[r];i&&(G(i)&&(i={mounted:i,updated:i}),i.deep&&lt(o),s.push({dir:i,instance:n,value:o,oldValue:void 0,arg:l,modifiers:c}))}return e}function At(e,t,n,s){const r=e.dirs,i=t&&t.dirs;for(let o=0;o<r.length;o++){const l=r[o];i&&(l.oldValue=i[o].value);let c=l.dir[s];c&&(ct(),Ge(c,n,8,[e.el,l,e,t]),ft())}}function Pn(e,t){if(ve){let n=ve.provides;const s=ve.parent&&ve.parent.provides;s===n&&(n=ve.provides=Object.create(s)),n[e]=t}}function Xe(e,t,n=!1){const s=ir();if(s||Wt){let r=Wt?Wt._context.provides:s?s.parent==null||s.ce?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides:void 0;if(r&&e in r)return r[e];if(arguments.length>1)return n&&G(t)?t.call(s&&s.proxy):t}}const Ll=Symbol.for("v-scx"),Ml=()=>Xe(Ll);function Nn(e,t,n){return zi(e,t,n)}function zi(e,t,n=ie){const{immediate:s,deep:r,flush:i,once:o}=n,l=pe({},n),c=t&&s||!t&&i!=="post";let d;if(yn){if(i==="sync"){const m=Ml();d=m.__watcherHandles||(m.__watcherHandles=[])}else if(!c){const m=()=>{};return m.stop=Ze,m.resume=Ze,m.pause=Ze,m}}const f=ve;l.call=(m,x,C)=>Ge(m,f,x,C);let u=!1;i==="post"?l.scheduler=m=>{Se(m,f&&f.suspense)}:i!=="sync"&&(u=!0,l.scheduler=(m,x)=>{x?m():er(m)}),l.augmentJob=m=>{t&&(m.flags|=4),u&&(m.flags|=2,f&&(m.id=f.uid,m.i=f))};const p=Il(e,t,l);return yn&&(d?d.push(p):c&&p()),p}function Dl(e,t,n){const s=this.proxy,r=ae(e)?e.includes(".")?Ji(s,e):()=>s[e]:e.bind(s,s);let i;G(t)?i=t:(i=t.handler,n=t);const o=Mt(this),l=zi(r,i.bind(s),n);return o(),l}function Ji(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;r<n.length&&s;r++)s=s[n[r]];return s}}const Fl=Symbol("_vte"),Yi=e=>e.__isTeleport,it=Symbol("_leaveCb"),Sn=Symbol("_enterCb");function Bl(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return io(()=>{e.isMounted=!0}),oo(()=>{e.isUnmounting=!0}),e}const De=[Function,Array],Qi={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:De,onEnter:De,onAfterEnter:De,onEnterCancelled:De,onBeforeLeave:De,onLeave:De,onAfterLeave:De,onLeaveCancelled:De,onBeforeAppear:De,onAppear:De,onAfterAppear:De,onAppearCancelled:De},Zi=e=>{const t=e.subTree;return t.component?Zi(t.component):t},Hl={name:"BaseTransition",props:Qi,setup(e,{slots:t}){const n=ir(),s=Bl();return()=>{const r=t.default&&to(t.default(),!0);if(!r||!r.length)return;const i=Xi(r),o=X(e),{mode:l}=o;if(s.isLeaving)return cs(i);const c=vr(i);if(!c)return cs(i);let d=Cs(c,o,s,n,u=>d=u);c.type!==ge&&mn(c,d);let f=n.subTree&&vr(n.subTree);if(f&&f.type!==ge&&!Qe(f,c)&&Zi(n).type!==ge){let u=Cs(f,o,s,n);if(mn(f,u),l==="out-in"&&c.type!==ge)return s.isLeaving=!0,u.afterLeave=()=>{s.isLeaving=!1,n.job.flags&8||n.update(),delete u.afterLeave,f=void 0},cs(i);l==="in-out"&&c.type!==ge?u.delayLeave=(p,m,x)=>{const C=eo(s,f);C[String(f.key)]=f,p[it]=()=>{m(),p[it]=void 0,delete d.delayedLeave,f=void 0},d.delayedLeave=()=>{x(),delete d.delayedLeave,f=void 0}}:f=void 0}else f&&(f=void 0);return i}}};function Xi(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==ge){t=n;break}}return t}const Vl=Hl;function eo(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function Cs(e,t,n,s,r){const{appear:i,mode:o,persisted:l=!1,onBeforeEnter:c,onEnter:d,onAfterEnter:f,onEnterCancelled:u,onBeforeLeave:p,onLeave:m,onAfterLeave:x,onLeaveCancelled:C,onBeforeAppear:j,onAppear:N,onAfterAppear:O,onAppearCancelled:D}=t,L=String(e.key),I=eo(n,e),B=(F,$)=>{F&&Ge(F,s,9,$)},W=(F,$)=>{const z=$[1];B(F,$),U(F)?F.every(R=>R.length<=1)&&z():F.length<=1&&z()},ee={mode:o,persisted:l,beforeEnter(F){let $=c;if(!n.isMounted)if(i)$=j||c;else return;F[it]&&F[it](!0);const z=I[L];z&&Qe(e,z)&&z.el[it]&&z.el[it](),B($,[F])},enter(F){let $=d,z=f,R=u;if(!n.isMounted)if(i)$=N||d,z=O||f,R=D||u;else return;let q=!1;const fe=F[Sn]=me=>{q||(q=!0,me?B(R,[F]):B(z,[F]),ee.delayedLeave&&ee.delayedLeave(),F[Sn]=void 0)};$?W($,[F,fe]):fe()},leave(F,$){const z=String(e.key);if(F[Sn]&&F[Sn](!0),n.isUnmounting)return $();B(p,[F]);let R=!1;const q=F[it]=fe=>{R||(R=!0,$(),fe?B(C,[F]):B(x,[F]),F[it]=void 0,I[z]===e&&delete I[z])};I[z]=e,m?W(m,[F,q]):q()},clone(F){const $=Cs(F,t,n,s,r);return r&&r($),$}};return ee}function cs(e){if(Qn(e))return e=Et(e),e.children=null,e}function vr(e){if(!Qn(e))return Yi(e.type)&&e.children?Xi(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&G(n.default))return n.default()}}function mn(e,t){e.shapeFlag&6&&e.component?(e.transition=t,mn(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function to(e,t=!1,n){let s=[],r=0;for(let i=0;i<e.length;i++){let o=e[i];const l=n==null?o.key:String(n)+String(o.key!=null?o.key:i);o.type===Oe?(o.patchFlag&128&&r++,s=s.concat(to(o.children,t,l))):(t||o.type!==ge)&&s.push(l!=null?Et(o,{key:l}):o)}if(r>1)for(let i=0;i<s.length;i++)s[i].patchFlag=-2;return s}function no(e,t){return G(e)?pe({name:e.name},t,{setup:e}):e}function so(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}const Vn=new WeakMap;function cn(e,t,n,s,r=!1){if(U(e)){e.forEach((x,C)=>cn(x,t&&(U(t)?t[C]:t),n,s,r));return}if(fn(s)&&!r){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&cn(e,t,n,s.component.subTree);return}const i=s.shapeFlag&4?ts(s.component):s.el,o=r?null:i,{i:l,r:c}=e,d=t&&t.r,f=l.refs===ie?l.refs={}:l.refs,u=l.setupState,p=X(u),m=u===ie?mi:x=>ne(p,x);if(d!=null&&d!==c){if(yr(t),ae(d))f[d]=null,m(d)&&(u[d]=null);else if(ye(d)){d.value=null;const x=t;x.k&&(f[x.k]=null)}}if(G(c))xn(c,l,12,[o,f]);else{const x=ae(c),C=ye(c);if(x||C){const j=()=>{if(e.f){const N=x?m(c)?u[c]:f[c]:c.value;if(r)U(N)&&js(N,i);else if(U(N))N.includes(i)||N.push(i);else if(x)f[c]=[i],m(c)&&(u[c]=f[c]);else{const O=[i];c.value=O,e.k&&(f[e.k]=O)}}else x?(f[c]=o,m(c)&&(u[c]=o)):C&&(c.value=o,e.k&&(f[e.k]=o))};if(o){const N=()=>{j(),Vn.delete(e)};N.id=-1,Vn.set(e,N),Se(N,n)}else yr(e),j()}}}function yr(e){const t=Vn.get(e);t&&(t.flags|=8,Vn.delete(e))}qn().requestIdleCallback;qn().cancelIdleCallback;const fn=e=>!!e.type.__asyncLoader,Qn=e=>e.type.__isKeepAlive;function kl(e,t){ro(e,"a",t)}function jl(e,t){ro(e,"da",t)}function ro(e,t,n=ve){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Zn(t,s,n),n){let r=n.parent;for(;r&&r.parent;)Qn(r.parent.vnode)&&Ul(s,t,n,r),r=r.parent}}function Ul(e,t,n,s){const r=Zn(t,e,s,!0);lo(()=>{js(s[t],r)},n)}function Zn(e,t,n=ve,s=!1){if(n){const r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{ct();const l=Mt(n),c=Ge(t,n,e,o);return l(),ft(),c});return s?r.unshift(i):r.push(i),i}}const at=e=>(t,n=ve)=>{(!yn||e==="sp")&&Zn(e,(...s)=>t(...s),n)},Gl=at("bm"),io=at("m"),$l=at("bu"),Kl=at("u"),oo=at("bum"),lo=at("um"),Wl=at("sp"),ql=at("rtg"),zl=at("rtc");function Jl(e,t=ve){Zn("ec",e,t)}const Yl="components";function co(e,t){return Zl(Yl,e,!0,t)||e}const Ql=Symbol.for("v-ndc");function Zl(e,t,n=!0,s=!1){const r=Le||ve;if(r){const i=r.type;{const l=$c(i,!1);if(l&&(l===t||l===He(t)||l===Wn(He(t))))return i}const o=br(r[e]||i[e],t)||br(r.appContext[e],t);return!o&&s?i:o}}function br(e,t){return e&&(e[t]||e[He(t)]||e[Wn(He(t))])}function Xl(e,t,n,s){let r;const i=n,o=U(e);if(o||ae(e)){const l=o&&Nt(e);let c=!1,d=!1;l&&(c=!Be(e),d=ut(e),e=Jn(e)),r=new Array(e.length);for(let f=0,u=e.length;f<u;f++)r[f]=t(c?d?Jt(Ue(e[f])):Ue(e[f]):e[f],f,void 0,i)}else if(typeof e=="number"){r=new Array(e);for(let l=0;l<e;l++)r[l]=t(l+1,l,void 0,i)}else if(ce(e))if(e[Symbol.iterator])r=Array.from(e,(l,c)=>t(l,c,void 0,i));else{const l=Object.keys(e);r=new Array(l.length);for(let c=0,d=l.length;c<d;c++){const f=l[c];r[c]=t(e[f],f,c,i)}}else r=[];return r}const Rs=e=>e?Po(e)?ts(e):Rs(e.parent):null,un=pe(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Rs(e.parent),$root:e=>Rs(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>uo(e),$forceUpdate:e=>e.f||(e.f=()=>{er(e.update)}),$nextTick:e=>e.n||(e.n=Gi.bind(e.proxy)),$watch:e=>Dl.bind(e)}),fs=(e,t)=>e!==ie&&!e.__isScriptSetup&&ne(e,t),ec={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:r,props:i,accessCache:o,type:l,appContext:c}=e;if(t[0]!=="$"){const p=o[t];if(p!==void 0)switch(p){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return i[t]}else{if(fs(s,t))return o[t]=1,s[t];if(r!==ie&&ne(r,t))return o[t]=2,r[t];if(ne(i,t))return o[t]=3,i[t];if(n!==ie&&ne(n,t))return o[t]=4,n[t];Ss&&(o[t]=0)}}const d=un[t];let f,u;if(d)return t==="$attrs"&&_e(e.attrs,"get",""),d(e);if((f=l.__cssModules)&&(f=f[t]))return f;if(n!==ie&&ne(n,t))return o[t]=4,n[t];if(u=c.config.globalProperties,ne(u,t))return u[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:i}=e;return fs(r,t)?(r[t]=n,!0):s!==ie&&ne(s,t)?(s[t]=n,!0):ne(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,props:i,type:o}},l){let c;return!!(n[l]||e!==ie&&l[0]!=="$"&&ne(e,l)||fs(t,l)||ne(i,l)||ne(s,l)||ne(un,l)||ne(r.config.globalProperties,l)||(c=o.__cssModules)&&c[l])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:ne(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Er(e){return U(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function tc(e){const t=ir();let n=e();return Ns(),Us(n)&&(n=n.catch(s=>{throw Mt(t),s})),[n,()=>Mt(t)]}let Ss=!0;function nc(e){const t=uo(e),n=e.proxy,s=e.ctx;Ss=!1,t.beforeCreate&&xr(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:o,watch:l,provide:c,inject:d,created:f,beforeMount:u,mounted:p,beforeUpdate:m,updated:x,activated:C,deactivated:j,beforeDestroy:N,beforeUnmount:O,destroyed:D,unmounted:L,render:I,renderTracked:B,renderTriggered:W,errorCaptured:ee,serverPrefetch:F,expose:$,inheritAttrs:z,components:R,directives:q,filters:fe}=t;if(d&&sc(d,s,null),o)for(const J in o){const Z=o[J];G(Z)&&(s[J]=Z.bind(n))}if(r){const J=r.call(n,n);ce(J)&&(e.data=zt(J))}if(Ss=!0,i)for(const J in i){const Z=i[J],et=G(Z)?Z.bind(n,n):G(Z.get)?Z.get.bind(n,n):Ze,dt=!G(Z)&&G(Z.set)?Z.set.bind(n):Ze,Ke=ke({get:et,set:dt});Object.defineProperty(s,J,{enumerable:!0,configurable:!0,get:()=>Ke.value,set:Ae=>Ke.value=Ae})}if(l)for(const J in l)fo(l[J],s,n,J);if(c){const J=G(c)?c.call(n):c;Reflect.ownKeys(J).forEach(Z=>{Pn(Z,J[Z])})}f&&xr(f,e,"c");function re(J,Z){U(Z)?Z.forEach(et=>J(et.bind(n))):Z&&J(Z.bind(n))}if(re(Gl,u),re(io,p),re($l,m),re(Kl,x),re(kl,C),re(jl,j),re(Jl,ee),re(zl,B),re(ql,W),re(oo,O),re(lo,L),re(Wl,F),U($))if($.length){const J=e.exposed||(e.exposed={});$.forEach(Z=>{Object.defineProperty(J,Z,{get:()=>n[Z],set:et=>n[Z]=et,enumerable:!0})})}else e.exposed||(e.exposed={});I&&e.render===Ze&&(e.render=I),z!=null&&(e.inheritAttrs=z),R&&(e.components=R),q&&(e.directives=q),F&&so(e)}function sc(e,t,n=Ze){U(e)&&(e=Ts(e));for(const s in e){const r=e[s];let i;ce(r)?"default"in r?i=Xe(r.from||s,r.default,!0):i=Xe(r.from||s):i=Xe(r),ye(i)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):t[s]=i}}function xr(e,t,n){Ge(U(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function fo(e,t,n,s){let r=s.includes(".")?Ji(n,s):()=>n[s];if(ae(e)){const i=t[e];G(i)&&Nn(r,i)}else if(G(e))Nn(r,e.bind(n));else if(ce(e))if(U(e))e.forEach(i=>fo(i,t,n,s));else{const i=G(e.handler)?e.handler.bind(n):t[e.handler];G(i)&&Nn(r,i,e)}}function uo(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,l=i.get(t);let c;return l?c=l:!r.length&&!n&&!s?c=t:(c={},r.length&&r.forEach(d=>kn(c,d,o,!0)),kn(c,t,o)),ce(t)&&i.set(t,c),c}function kn(e,t,n,s=!1){const{mixins:r,extends:i}=t;i&&kn(e,i,n,!0),r&&r.forEach(o=>kn(e,o,n,!0));for(const o in t)if(!(s&&o==="expose")){const l=rc[o]||n&&n[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const rc={data:wr,props:Ar,emits:Ar,methods:sn,computed:sn,beforeCreate:be,created:be,beforeMount:be,mounted:be,beforeUpdate:be,updated:be,beforeDestroy:be,beforeUnmount:be,destroyed:be,unmounted:be,activated:be,deactivated:be,errorCaptured:be,serverPrefetch:be,components:sn,directives:sn,watch:oc,provide:wr,inject:ic};function wr(e,t){return t?e?function(){return pe(G(e)?e.call(this,this):e,G(t)?t.call(this,this):t)}:t:e}function ic(e,t){return sn(Ts(e),Ts(t))}function Ts(e){if(U(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function be(e,t){return e?[...new Set([].concat(e,t))]:t}function sn(e,t){return e?pe(Object.create(null),e,t):t}function Ar(e,t){return e?U(e)&&U(t)?[...new Set([...e,...t])]:pe(Object.create(null),Er(e),Er(t??{})):t}function oc(e,t){if(!e)return t;if(!t)return e;const n=pe(Object.create(null),e);for(const s in t)n[s]=be(e[s],t[s]);return n}function ao(){return{app:null,config:{isNativeTag:mi,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let lc=0;function cc(e,t){return function(s,r=null){G(s)||(s=pe({},s)),r!=null&&!ce(r)&&(r=null);const i=ao(),o=new WeakSet,l=[];let c=!1;const d=i.app={_uid:lc++,_component:s,_props:r,_container:null,_context:i,_instance:null,version:Wc,get config(){return i.config},set config(f){},use(f,...u){return o.has(f)||(f&&G(f.install)?(o.add(f),f.install(d,...u)):G(f)&&(o.add(f),f(d,...u))),d},mixin(f){return i.mixins.includes(f)||i.mixins.push(f),d},component(f,u){return u?(i.components[f]=u,d):i.components[f]},directive(f,u){return u?(i.directives[f]=u,d):i.directives[f]},mount(f,u,p){if(!c){const m=d._ceVNode||de(s,r);return m.appContext=i,p===!0?p="svg":p===!1&&(p=void 0),e(m,f,p),c=!0,d._container=f,f.__vue_app__=d,ts(m.component)}},onUnmount(f){l.push(f)},unmount(){c&&(Ge(l,d._instance,16),e(null,d._container),delete d._container.__vue_app__)},provide(f,u){return i.provides[f]=u,d},runWithContext(f){const u=Wt;Wt=d;try{return f()}finally{Wt=u}}};return d}}let Wt=null;const fc=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${He(t)}Modifiers`]||e[`${Dt(t)}Modifiers`];function uc(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||ie;let r=n;const i=t.startsWith("update:"),o=i&&fc(s,t.slice(7));o&&(o.trim&&(r=n.map(f=>ae(f)?f.trim():f)),o.number&&(r=n.map($s)));let l,c=s[l=ss(t)]||s[l=ss(He(t))];!c&&i&&(c=s[l=ss(Dt(t))]),c&&Ge(c,e,6,r);const d=s[l+"Once"];if(d){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Ge(d,e,6,r)}}const ac=new WeakMap;function ho(e,t,n=!1){const s=n?ac:t.emitsCache,r=s.get(e);if(r!==void 0)return r;const i=e.emits;let o={},l=!1;if(!G(e)){const c=d=>{const f=ho(d,t,!0);f&&(l=!0,pe(o,f))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!i&&!l?(ce(e)&&s.set(e,null),null):(U(i)?i.forEach(c=>o[c]=null):pe(o,i),ce(e)&&s.set(e,o),o)}function Xn(e,t){return!e||!Gn(t)?!1:(t=t.slice(2).replace(/Once$/,""),ne(e,t[0].toLowerCase()+t.slice(1))||ne(e,Dt(t))||ne(e,t))}function Cr(e){const{type:t,vnode:n,proxy:s,withProxy:r,propsOptions:[i],slots:o,attrs:l,emit:c,render:d,renderCache:f,props:u,data:p,setupState:m,ctx:x,inheritAttrs:C}=e,j=Hn(e);let N,O;try{if(n.shapeFlag&4){const L=r||s,I=L;N=Ve(d.call(I,L,f,u,m,p,x)),O=l}else{const L=t;N=Ve(L.length>1?L(u,{attrs:l,slots:o,emit:c}):L(u,null)),O=t.props?l:hc(l)}}catch(L){an.length=0,wn(L,e,1),N=de(ge)}let D=N;if(O&&C!==!1){const L=Object.keys(O),{shapeFlag:I}=D;L.length&&I&7&&(i&&L.some(ks)&&(O=pc(O,i)),D=Et(D,O,!1,!0))}return n.dirs&&(D=Et(D,null,!1,!0),D.dirs=D.dirs?D.dirs.concat(n.dirs):n.dirs),n.transition&&mn(D,n.transition),N=D,Hn(j),N}function dc(e,t=!0){let n;for(let s=0;s<e.length;s++){const r=e[s];if(vn(r)){if(r.type!==ge||r.children==="v-if"){if(n)return;n=r}}else return}return n}const hc=e=>{let t;for(const n in e)(n==="class"||n==="style"||Gn(n))&&((t||(t={}))[n]=e[n]);return t},pc=(e,t)=>{const n={};for(const s in e)(!ks(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function gc(e,t,n){const{props:s,children:r,component:i}=e,{props:o,children:l,patchFlag:c}=t,d=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return s?Rr(s,o,d):!!o;if(c&8){const f=t.dynamicProps;for(let u=0;u<f.length;u++){const p=f[u];if(o[p]!==s[p]&&!Xn(d,p))return!0}}}else return(r||l)&&(!l||!l.$stable)?!0:s===o?!1:s?o?Rr(s,o,d):!0:!!o;return!1}function Rr(e,t,n){const s=Object.keys(t);if(s.length!==Object.keys(e).length)return!0;for(let r=0;r<s.length;r++){const i=s[r];if(t[i]!==e[i]&&!Xn(n,i))return!0}return!1}function tr({vnode:e,parent:t},n){for(;t;){const s=t.subTree;if(s.suspense&&s.suspense.activeBranch===e&&(s.el=e.el),s===e)(e=t.vnode).el=n,t=t.parent;else break}}const po={},go=()=>Object.create(po),mo=e=>Object.getPrototypeOf(e)===po;function mc(e,t,n,s=!1){const r={},i=go();e.propsDefaults=Object.create(null),_o(e,t,r,i);for(const o in e.propsOptions[0])o in r||(r[o]=void 0);n?e.props=s?r:Vi(r):e.type.props?e.props=r:e.props=i,e.attrs=i}function _c(e,t,n,s){const{props:r,attrs:i,vnode:{patchFlag:o}}=e,l=X(r),[c]=e.propsOptions;let d=!1;if((s||o>0)&&!(o&16)){if(o&8){const f=e.vnode.dynamicProps;for(let u=0;u<f.length;u++){let p=f[u];if(Xn(e.emitsOptions,p))continue;const m=t[p];if(c)if(ne(i,p))m!==i[p]&&(i[p]=m,d=!0);else{const x=He(p);r[x]=Os(c,l,x,m,e,!1)}else m!==i[p]&&(i[p]=m,d=!0)}}}else{_o(e,t,r,i)&&(d=!0);let f;for(const u in l)(!t||!ne(t,u)&&((f=Dt(u))===u||!ne(t,f)))&&(c?n&&(n[u]!==void 0||n[f]!==void 0)&&(r[u]=Os(c,l,u,void 0,e,!0)):delete r[u]);if(i!==l)for(const u in i)(!t||!ne(t,u))&&(delete i[u],d=!0)}d&&ot(e.attrs,"set","")}function _o(e,t,n,s){const[r,i]=e.propsOptions;let o=!1,l;if(t)for(let c in t){if(rn(c))continue;const d=t[c];let f;r&&ne(r,f=He(c))?!i||!i.includes(f)?n[f]=d:(l||(l={}))[f]=d:Xn(e.emitsOptions,c)||(!(c in s)||d!==s[c])&&(s[c]=d,o=!0)}if(i){const c=X(n),d=l||ie;for(let f=0;f<i.length;f++){const u=i[f];n[u]=Os(r,c,u,d[u],e,!ne(d,u))}}return o}function Os(e,t,n,s,r,i){const o=e[n];if(o!=null){const l=ne(o,"default");if(l&&s===void 0){const c=o.default;if(o.type!==Function&&!o.skipFactory&&G(c)){const{propsDefaults:d}=r;if(n in d)s=d[n];else{const f=Mt(r);s=d[n]=c.call(null,t),f()}}else s=c;r.ce&&r.ce._setProp(n,s)}o[0]&&(i&&!l?s=!1:o[1]&&(s===""||s===Dt(n))&&(s=!0))}return s}const vc=new WeakMap;function vo(e,t,n=!1){const s=n?vc:t.propsCache,r=s.get(e);if(r)return r;const i=e.props,o={},l=[];let c=!1;if(!G(e)){const f=u=>{c=!0;const[p,m]=vo(u,t,!0);pe(o,p),m&&l.push(...m)};!n&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}if(!i&&!c)return ce(e)&&s.set(e,Gt),Gt;if(U(i))for(let f=0;f<i.length;f++){const u=He(i[f]);Sr(u)&&(o[u]=ie)}else if(i)for(const f in i){const u=He(f);if(Sr(u)){const p=i[f],m=o[u]=U(p)||G(p)?{type:p}:pe({},p),x=m.type;let C=!1,j=!0;if(U(x))for(let N=0;N<x.length;++N){const O=x[N],D=G(O)&&O.name;if(D==="Boolean"){C=!0;break}else D==="String"&&(j=!1)}else C=G(x)&&x.name==="Boolean";m[0]=C,m[1]=j,(C||ne(m,"default"))&&l.push(u)}}const d=[o,l];return ce(e)&&s.set(e,d),d}function Sr(e){return e[0]!=="$"&&!rn(e)}const nr=e=>e==="_"||e==="_ctx"||e==="$stable",sr=e=>U(e)?e.map(Ve):[Ve(e)],yc=(e,t,n)=>{if(t._n)return t;const s=Yn((...r)=>sr(t(...r)),n);return s._c=!1,s},yo=(e,t,n)=>{const s=e._ctx;for(const r in e){if(nr(r))continue;const i=e[r];if(G(i))t[r]=yc(r,i,s);else if(i!=null){const o=sr(i);t[r]=()=>o}}},bo=(e,t)=>{const n=sr(t);e.slots.default=()=>n},Eo=(e,t,n)=>{for(const s in t)(n||!nr(s))&&(e[s]=t[s])},bc=(e,t,n)=>{const s=e.slots=go();if(e.vnode.shapeFlag&32){const r=t._;r?(Eo(s,t,n),n&&bi(s,"_",r,!0)):yo(t,s)}else t&&bo(e,t)},Ec=(e,t,n)=>{const{vnode:s,slots:r}=e;let i=!0,o=ie;if(s.shapeFlag&32){const l=t._;l?n&&l===1?i=!1:Eo(r,t,n):(i=!t.$stable,yo(t,r)),o=t}else t&&(bo(e,t),o={default:1});if(i)for(const l in r)!nr(l)&&o[l]==null&&delete r[l]},Se=Nc;function xc(e){return wc(e)}function wc(e,t){const n=qn();n.__VUE__=!0;const{insert:s,remove:r,patchProp:i,createElement:o,createText:l,createComment:c,setText:d,setElementText:f,parentNode:u,nextSibling:p,setScopeId:m=Ze,insertStaticContent:x}=e,C=(a,h,g,_=null,b=null,v=null,S=void 0,A=null,w=!!h.dynamicChildren)=>{if(a===h)return;a&&!Qe(a,h)&&(_=y(a),Ae(a,b,v,!0),a=null),h.patchFlag===-2&&(w=!1,h.dynamicChildren=null);const{type:E,ref:k,shapeFlag:P}=h;switch(E){case es:j(a,h,g,_);break;case ge:N(a,h,g,_);break;case Ln:a==null&&O(h,g,_,S);break;case Oe:R(a,h,g,_,b,v,S,A,w);break;default:P&1?I(a,h,g,_,b,v,S,A,w):P&6?q(a,h,g,_,b,v,S,A,w):(P&64||P&128)&&E.process(a,h,g,_,b,v,S,A,w,H)}k!=null&&b?cn(k,a&&a.ref,v,h||a,!h):k==null&&a&&a.ref!=null&&cn(a.ref,null,v,a,!0)},j=(a,h,g,_)=>{if(a==null)s(h.el=l(h.children),g,_);else{const b=h.el=a.el;h.children!==a.children&&d(b,h.children)}},N=(a,h,g,_)=>{a==null?s(h.el=c(h.children||""),g,_):h.el=a.el},O=(a,h,g,_)=>{[a.el,a.anchor]=x(a.children,h,g,_,a.el,a.anchor)},D=({el:a,anchor:h},g,_)=>{let b;for(;a&&a!==h;)b=p(a),s(a,g,_),a=b;s(h,g,_)},L=({el:a,anchor:h})=>{let g;for(;a&&a!==h;)g=p(a),r(a),a=g;r(h)},I=(a,h,g,_,b,v,S,A,w)=>{if(h.type==="svg"?S="svg":h.type==="math"&&(S="mathml"),a==null)B(h,g,_,b,v,S,A,w);else{const E=a.el&&a.el._isVueCE?a.el:null;try{E&&E._beginPatch(),F(a,h,b,v,S,A,w)}finally{E&&E._endPatch()}}},B=(a,h,g,_,b,v,S,A)=>{let w,E;const{props:k,shapeFlag:P,transition:V,dirs:K}=a;if(w=a.el=o(a.type,v,k&&k.is,k),P&8?f(w,a.children):P&16&&ee(a.children,w,null,_,b,us(a,v),S,A),K&&At(a,null,_,"created"),W(w,a,a.scopeId,S,_),k){for(const oe in k)oe!=="value"&&!rn(oe)&&i(w,oe,null,k[oe],v,_);"value"in k&&i(w,"value",null,k.value,v),(E=k.onVnodeBeforeMount)&&Je(E,_,a)}K&&At(a,null,_,"beforeMount");const Q=Ac(b,V);Q&&V.beforeEnter(w),s(w,h,g),((E=k&&k.onVnodeMounted)||Q||K)&&Se(()=>{E&&Je(E,_,a),Q&&V.enter(w),K&&At(a,null,_,"mounted")},b)},W=(a,h,g,_,b)=>{if(g&&m(a,g),_)for(let v=0;v<_.length;v++)m(a,_[v]);if(b){let v=b.subTree;if(h===v||Co(v.type)&&(v.ssContent===h||v.ssFallback===h)){const S=b.vnode;W(a,S,S.scopeId,S.slotScopeIds,b.parent)}}},ee=(a,h,g,_,b,v,S,A,w=0)=>{for(let E=w;E<a.length;E++){const k=a[E]=A?_t(a[E]):Ve(a[E]);C(null,k,h,g,_,b,v,S,A)}},F=(a,h,g,_,b,v,S)=>{const A=h.el=a.el;let{patchFlag:w,dynamicChildren:E,dirs:k}=h;w|=a.patchFlag&16;const P=a.props||ie,V=h.props||ie;let K;if(g&&Ct(g,!1),(K=V.onVnodeBeforeUpdate)&&Je(K,g,h,a),k&&At(h,a,g,"beforeUpdate"),g&&Ct(g,!0),(P.innerHTML&&V.innerHTML==null||P.textContent&&V.textContent==null)&&f(A,""),E?$(a.dynamicChildren,E,A,g,_,us(h,b),v):S||Z(a,h,A,null,g,_,us(h,b),v,!1),w>0){if(w&16)z(A,P,V,g,b);else if(w&2&&P.class!==V.class&&i(A,"class",null,V.class,b),w&4&&i(A,"style",P.style,V.style,b),w&8){const Q=h.dynamicProps;for(let oe=0;oe<Q.length;oe++){const se=Q[oe],Ce=P[se],Re=V[se];(Re!==Ce||se==="value")&&i(A,se,Ce,Re,b,g)}}w&1&&a.children!==h.children&&f(A,h.children)}else!S&&E==null&&z(A,P,V,g,b);((K=V.onVnodeUpdated)||k)&&Se(()=>{K&&Je(K,g,h,a),k&&At(h,a,g,"updated")},_)},$=(a,h,g,_,b,v,S)=>{for(let A=0;A<h.length;A++){const w=a[A],E=h[A],k=w.el&&(w.type===Oe||!Qe(w,E)||w.shapeFlag&198)?u(w.el):g;C(w,E,k,null,_,b,v,S,!0)}},z=(a,h,g,_,b)=>{if(h!==g){if(h!==ie)for(const v in h)!rn(v)&&!(v in g)&&i(a,v,h[v],null,b,_);for(const v in g){if(rn(v))continue;const S=g[v],A=h[v];S!==A&&v!=="value"&&i(a,v,A,S,b,_)}"value"in g&&i(a,"value",h.value,g.value,b)}},R=(a,h,g,_,b,v,S,A,w)=>{const E=h.el=a?a.el:l(""),k=h.anchor=a?a.anchor:l("");let{patchFlag:P,dynamicChildren:V,slotScopeIds:K}=h;K&&(A=A?A.concat(K):K),a==null?(s(E,g,_),s(k,g,_),ee(h.children||[],g,k,b,v,S,A,w)):P>0&&P&64&&V&&a.dynamicChildren&&a.dynamicChildren.length===V.length?($(a.dynamicChildren,V,g,b,v,S,A),(h.key!=null||b&&h===b.subTree)&&xo(a,h,!0)):Z(a,h,g,k,b,v,S,A,w)},q=(a,h,g,_,b,v,S,A,w)=>{h.slotScopeIds=A,a==null?h.shapeFlag&512?b.ctx.activate(h,g,_,S,w):fe(h,g,_,b,v,S,w):me(a,h,w)},fe=(a,h,g,_,b,v,S)=>{const A=a.component=Vc(a,_,b);if(Qn(a)&&(A.ctx.renderer=H),kc(A,!1,S),A.asyncDep){if(b&&b.registerDep(A,re,S),!a.el){const w=A.subTree=de(ge);N(null,w,h,g),a.placeholder=w.el}}else re(A,a,h,g,b,v,S)},me=(a,h,g)=>{const _=h.component=a.component;if(gc(a,h,g))if(_.asyncDep&&!_.asyncResolved){J(_,h,g);return}else _.next=h,_.update();else h.el=a.el,_.vnode=h},re=(a,h,g,_,b,v,S)=>{const A=()=>{if(a.isMounted){let{next:P,bu:V,u:K,parent:Q,vnode:oe}=a;{const qe=wo(a);if(qe){P&&(P.el=oe.el,J(a,P,S)),qe.asyncDep.then(()=>{a.isUnmounted||A()});return}}let se=P,Ce;Ct(a,!1),P?(P.el=oe.el,J(a,P,S)):P=oe,V&&On(V),(Ce=P.props&&P.props.onVnodeBeforeUpdate)&&Je(Ce,Q,P,oe),Ct(a,!0);const Re=Cr(a),We=a.subTree;a.subTree=Re,C(We,Re,u(We.el),y(We),a,b,v),P.el=Re.el,se===null&&tr(a,Re.el),K&&Se(K,b),(Ce=P.props&&P.props.onVnodeUpdated)&&Se(()=>Je(Ce,Q,P,oe),b)}else{let P;const{el:V,props:K}=h,{bm:Q,m:oe,parent:se,root:Ce,type:Re}=a,We=fn(h);Ct(a,!1),Q&&On(Q),!We&&(P=K&&K.onVnodeBeforeMount)&&Je(P,se,h),Ct(a,!0);{Ce.ce&&Ce.ce._def.shadowRoot!==!1&&Ce.ce._injectChildStyle(Re);const qe=a.subTree=Cr(a);C(null,qe,g,_,a,b,v),h.el=qe.el}if(oe&&Se(oe,b),!We&&(P=K&&K.onVnodeMounted)){const qe=h;Se(()=>Je(P,se,qe),b)}(h.shapeFlag&256||se&&fn(se.vnode)&&se.vnode.shapeFlag&256)&&a.a&&Se(a.a,b),a.isMounted=!0,h=g=_=null}};a.scope.on();const w=a.effect=new Ci(A);a.scope.off();const E=a.update=w.run.bind(w),k=a.job=w.runIfDirty.bind(w);k.i=a,k.id=a.uid,w.scheduler=()=>er(k),Ct(a,!0),E()},J=(a,h,g)=>{h.component=a;const _=a.vnode.props;a.vnode=h,a.next=null,_c(a,h.props,_,g),Ec(a,h.children,g),ct(),_r(a),ft()},Z=(a,h,g,_,b,v,S,A,w=!1)=>{const E=a&&a.children,k=a?a.shapeFlag:0,P=h.children,{patchFlag:V,shapeFlag:K}=h;if(V>0){if(V&128){dt(E,P,g,_,b,v,S,A,w);return}else if(V&256){et(E,P,g,_,b,v,S,A,w);return}}K&8?(k&16&&Me(E,b,v),P!==E&&f(g,P)):k&16?K&16?dt(E,P,g,_,b,v,S,A,w):Me(E,b,v,!0):(k&8&&f(g,""),K&16&&ee(P,g,_,b,v,S,A,w))},et=(a,h,g,_,b,v,S,A,w)=>{a=a||Gt,h=h||Gt;const E=a.length,k=h.length,P=Math.min(E,k);let V;for(V=0;V<P;V++){const K=h[V]=w?_t(h[V]):Ve(h[V]);C(a[V],K,g,null,b,v,S,A,w)}E>k?Me(a,b,v,!0,!1,P):ee(h,g,_,b,v,S,A,w,P)},dt=(a,h,g,_,b,v,S,A,w)=>{let E=0;const k=h.length;let P=a.length-1,V=k-1;for(;E<=P&&E<=V;){const K=a[E],Q=h[E]=w?_t(h[E]):Ve(h[E]);if(Qe(K,Q))C(K,Q,g,null,b,v,S,A,w);else break;E++}for(;E<=P&&E<=V;){const K=a[P],Q=h[V]=w?_t(h[V]):Ve(h[V]);if(Qe(K,Q))C(K,Q,g,null,b,v,S,A,w);else break;P--,V--}if(E>P){if(E<=V){const K=V+1,Q=K<k?h[K].el:_;for(;E<=V;)C(null,h[E]=w?_t(h[E]):Ve(h[E]),g,Q,b,v,S,A,w),E++}}else if(E>V)for(;E<=P;)Ae(a[E],b,v,!0),E++;else{const K=E,Q=E,oe=new Map;for(E=Q;E<=V;E++){const Pe=h[E]=w?_t(h[E]):Ve(h[E]);Pe.key!=null&&oe.set(Pe.key,E)}let se,Ce=0;const Re=V-Q+1;let We=!1,qe=0;const Xt=new Array(Re);for(E=0;E<Re;E++)Xt[E]=0;for(E=K;E<=P;E++){const Pe=a[E];if(Ce>=Re){Ae(Pe,b,v,!0);continue}let ze;if(Pe.key!=null)ze=oe.get(Pe.key);else for(se=Q;se<=V;se++)if(Xt[se-Q]===0&&Qe(Pe,h[se])){ze=se;break}ze===void 0?Ae(Pe,b,v,!0):(Xt[ze-Q]=E+1,ze>=qe?qe=ze:We=!0,C(Pe,h[ze],g,null,b,v,S,A,w),Ce++)}const ar=We?Cc(Xt):Gt;for(se=ar.length-1,E=Re-1;E>=0;E--){const Pe=Q+E,ze=h[Pe],dr=h[Pe+1],hr=Pe+1<k?dr.el||Ao(dr):_;Xt[E]===0?C(null,ze,g,hr,b,v,S,A,w):We&&(se<0||E!==ar[se]?Ke(ze,g,hr,2):se--)}}},Ke=(a,h,g,_,b=null)=>{const{el:v,type:S,transition:A,children:w,shapeFlag:E}=a;if(E&6){Ke(a.component.subTree,h,g,_);return}if(E&128){a.suspense.move(h,g,_);return}if(E&64){S.move(a,h,g,H);return}if(S===Oe){s(v,h,g);for(let P=0;P<w.length;P++)Ke(w[P],h,g,_);s(a.anchor,h,g);return}if(S===Ln){D(a,h,g);return}if(_!==2&&E&1&&A)if(_===0)A.beforeEnter(v),s(v,h,g),Se(()=>A.enter(v),b);else{const{leave:P,delayLeave:V,afterLeave:K}=A,Q=()=>{a.ctx.isUnmounted?r(v):s(v,h,g)},oe=()=>{v._isLeaving&&v[it](!0),P(v,()=>{Q(),K&&K()})};V?V(v,Q,oe):oe()}else s(v,h,g)},Ae=(a,h,g,_=!1,b=!1)=>{const{type:v,props:S,ref:A,children:w,dynamicChildren:E,shapeFlag:k,patchFlag:P,dirs:V,cacheIndex:K}=a;if(P===-2&&(b=!1),A!=null&&(ct(),cn(A,null,g,a,!0),ft()),K!=null&&(h.renderCache[K]=void 0),k&256){h.ctx.deactivate(a);return}const Q=k&1&&V,oe=!fn(a);let se;if(oe&&(se=S&&S.onVnodeBeforeUnmount)&&Je(se,h,a),k&6)wt(a.component,g,_);else{if(k&128){a.suspense.unmount(g,_);return}Q&&At(a,null,h,"beforeUnmount"),k&64?a.type.remove(a,h,g,H,_):E&&!E.hasOnce&&(v!==Oe||P>0&&P&64)?Me(E,h,g,!1,!0):(v===Oe&&P&384||!b&&k&16)&&Me(w,h,g),_&&Ft(a)}(oe&&(se=S&&S.onVnodeUnmounted)||Q)&&Se(()=>{se&&Je(se,h,a),Q&&At(a,null,h,"unmounted")},g)},Ft=a=>{const{type:h,el:g,anchor:_,transition:b}=a;if(h===Oe){Bt(g,_);return}if(h===Ln){L(a);return}const v=()=>{r(g),b&&!b.persisted&&b.afterLeave&&b.afterLeave()};if(a.shapeFlag&1&&b&&!b.persisted){const{leave:S,delayLeave:A}=b,w=()=>S(g,v);A?A(a.el,v,w):w()}else v()},Bt=(a,h)=>{let g;for(;a!==h;)g=p(a),r(a),a=g;r(h)},wt=(a,h,g)=>{const{bum:_,scope:b,job:v,subTree:S,um:A,m:w,a:E}=a;Tr(w),Tr(E),_&&On(_),b.stop(),v&&(v.flags|=8,Ae(S,a,h,g)),A&&Se(A,h),Se(()=>{a.isUnmounted=!0},h)},Me=(a,h,g,_=!1,b=!1,v=0)=>{for(let S=v;S<a.length;S++)Ae(a[S],h,g,_,b)},y=a=>{if(a.shapeFlag&6)return y(a.component.subTree);if(a.shapeFlag&128)return a.suspense.next();const h=p(a.anchor||a.el),g=h&&h[Fl];return g?p(g):h};let M=!1;const T=(a,h,g)=>{let _;a==null?h._vnode&&(Ae(h._vnode,null,null,!0),_=h._vnode.component):C(h._vnode||null,a,h,null,null,null,g),h._vnode=a,M||(M=!0,_r(_),Ki(),M=!1)},H={p:C,um:Ae,m:Ke,r:Ft,mt:fe,mc:ee,pc:Z,pbc:$,n:y,o:e};return{render:T,hydrate:void 0,createApp:cc(T)}}function us({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function Ct({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Ac(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function xo(e,t,n=!1){const s=e.children,r=t.children;if(U(s)&&U(r))for(let i=0;i<s.length;i++){const o=s[i];let l=r[i];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=r[i]=_t(r[i]),l.el=o.el),!n&&l.patchFlag!==-2&&xo(o,l)),l.type===es&&(l.patchFlag!==-1?l.el=o.el:l.__elIndex=i+(e.type===Oe?1:0)),l.type===ge&&!l.el&&(l.el=o.el)}}function Cc(e){const t=e.slice(),n=[0];let s,r,i,o,l;const c=e.length;for(s=0;s<c;s++){const d=e[s];if(d!==0){if(r=n[n.length-1],e[r]<d){t[s]=r,n.push(s);continue}for(i=0,o=n.length-1;i<o;)l=i+o>>1,e[n[l]]<d?i=l+1:o=l;d<e[n[i]]&&(i>0&&(t[s]=n[i-1]),n[i]=s)}}for(i=n.length,o=n[i-1];i-- >0;)n[i]=o,o=t[o];return n}function wo(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:wo(t)}function Tr(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function Ao(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?Ao(t.subTree):null}const Co=e=>e.__isSuspense;let Is=0;const Rc={name:"Suspense",__isSuspense:!0,process(e,t,n,s,r,i,o,l,c,d){if(e==null)Tc(t,n,s,r,i,o,l,c,d);else{if(i&&i.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}Oc(e,t,n,s,r,o,l,c,d)}},hydrate:Ic,normalize:Pc},Sc=Rc;function _n(e,t){const n=e.props&&e.props[t];G(n)&&n()}function Tc(e,t,n,s,r,i,o,l,c){const{p:d,o:{createElement:f}}=c,u=f("div"),p=e.suspense=Ro(e,r,s,t,u,n,i,o,l,c);d(null,p.pendingBranch=e.ssContent,u,null,s,p,i,o),p.deps>0?(_n(e,"onPending"),_n(e,"onFallback"),d(null,e.ssFallback,t,n,s,null,i,o),qt(p,e.ssFallback)):p.resolve(!1,!0)}function Oc(e,t,n,s,r,i,o,l,{p:c,um:d,o:{createElement:f}}){const u=t.suspense=e.suspense;u.vnode=t,t.el=e.el;const p=t.ssContent,m=t.ssFallback,{activeBranch:x,pendingBranch:C,isInFallback:j,isHydrating:N}=u;if(C)u.pendingBranch=p,Qe(C,p)?(c(C,p,u.hiddenContainer,null,r,u,i,o,l),u.deps<=0?u.resolve():j&&(N||(c(x,m,n,s,r,null,i,o,l),qt(u,m)))):(u.pendingId=Is++,N?(u.isHydrating=!1,u.activeBranch=C):d(C,r,u),u.deps=0,u.effects.length=0,u.hiddenContainer=f("div"),j?(c(null,p,u.hiddenContainer,null,r,u,i,o,l),u.deps<=0?u.resolve():(c(x,m,n,s,r,null,i,o,l),qt(u,m))):x&&Qe(x,p)?(c(x,p,n,s,r,u,i,o,l),u.resolve(!0)):(c(null,p,u.hiddenContainer,null,r,u,i,o,l),u.deps<=0&&u.resolve()));else if(x&&Qe(x,p))c(x,p,n,s,r,u,i,o,l),qt(u,p);else if(_n(t,"onPending"),u.pendingBranch=p,p.shapeFlag&512?u.pendingId=p.component.suspenseId:u.pendingId=Is++,c(null,p,u.hiddenContainer,null,r,u,i,o,l),u.deps<=0)u.resolve();else{const{timeout:O,pendingId:D}=u;O>0?setTimeout(()=>{u.pendingId===D&&u.fallback(m)},O):O===0&&u.fallback(m)}}function Ro(e,t,n,s,r,i,o,l,c,d,f=!1){const{p:u,m:p,um:m,n:x,o:{parentNode:C,remove:j}}=d;let N;const O=Lc(e);O&&t&&t.pendingBranch&&(N=t.pendingId,t.deps++);const D=e.props?Ei(e.props.timeout):void 0,L=i,I={vnode:e,parent:t,parentComponent:n,namespace:o,container:s,hiddenContainer:r,deps:0,pendingId:Is++,timeout:typeof D=="number"?D:-1,activeBranch:null,pendingBranch:null,isInFallback:!f,isHydrating:f,isUnmounted:!1,effects:[],resolve(B=!1,W=!1){const{vnode:ee,activeBranch:F,pendingBranch:$,pendingId:z,effects:R,parentComponent:q,container:fe,isInFallback:me}=I;let re=!1;I.isHydrating?I.isHydrating=!1:B||(re=F&&$.transition&&$.transition.mode==="out-in",re&&(F.transition.afterLeave=()=>{z===I.pendingId&&(p($,fe,i===L?x(F):i,0),As(R),me&&ee.ssFallback&&(ee.ssFallback.el=null))}),F&&(C(F.el)===fe&&(i=x(F)),m(F,q,I,!0),!re&&me&&ee.ssFallback&&Se(()=>ee.ssFallback.el=null,I)),re||p($,fe,i,0)),qt(I,$),I.pendingBranch=null,I.isInFallback=!1;let J=I.parent,Z=!1;for(;J;){if(J.pendingBranch){J.effects.push(...R),Z=!0;break}J=J.parent}!Z&&!re&&As(R),I.effects=[],O&&t&&t.pendingBranch&&N===t.pendingId&&(t.deps--,t.deps===0&&!W&&t.resolve()),_n(ee,"onResolve")},fallback(B){if(!I.pendingBranch)return;const{vnode:W,activeBranch:ee,parentComponent:F,container:$,namespace:z}=I;_n(W,"onFallback");const R=x(ee),q=()=>{I.isInFallback&&(u(null,B,$,R,F,null,z,l,c),qt(I,B))},fe=B.transition&&B.transition.mode==="out-in";fe&&(ee.transition.afterLeave=q),I.isInFallback=!0,m(ee,F,null,!0),fe||q()},move(B,W,ee){I.activeBranch&&p(I.activeBranch,B,W,ee),I.container=B},next(){return I.activeBranch&&x(I.activeBranch)},registerDep(B,W,ee){const F=!!I.pendingBranch;F&&I.deps++;const $=B.vnode.el;B.asyncDep.catch(z=>{wn(z,B,0)}).then(z=>{if(B.isUnmounted||I.isUnmounted||I.pendingId!==B.suspenseId)return;B.asyncResolved=!0;const{vnode:R}=B;Ls(B,z),$&&(R.el=$);const q=!$&&B.subTree.el;W(B,R,C($||B.subTree.el),$?null:x(B.subTree),I,o,ee),q&&(R.placeholder=null,j(q)),tr(B,R.el),F&&--I.deps===0&&I.resolve()})},unmount(B,W){I.isUnmounted=!0,I.activeBranch&&m(I.activeBranch,n,B,W),I.pendingBranch&&m(I.pendingBranch,n,B,W)}};return I}function Ic(e,t,n,s,r,i,o,l,c){const d=t.suspense=Ro(t,s,n,e.parentNode,document.createElement("div"),null,r,i,o,l,!0),f=c(e,d.pendingBranch=t.ssContent,n,d,i,o);return d.deps===0&&d.resolve(!1,!0),f}function Pc(e){const{shapeFlag:t,children:n}=e,s=t&32;e.ssContent=Or(s?n.default:n),e.ssFallback=s?Or(n.fallback):de(ge)}function Or(e){let t;if(G(e)){const n=Yt&&e._c;n&&(e._d=!1,we()),e=e(),n&&(e._d=!0,t=Ie,So())}return U(e)&&(e=dc(e)),e=Ve(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function Nc(e,t){t&&t.pendingBranch?U(e)?t.effects.push(...e):t.effects.push(e):As(e)}function qt(e,t){e.activeBranch=t;const{vnode:n,parentComponent:s}=e;let r=t.el;for(;!r&&t.component;)t=t.component.subTree,r=t.el;n.el=r,s&&s.subTree===n&&(s.vnode.el=r,tr(s,r))}function Lc(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const Oe=Symbol.for("v-fgt"),es=Symbol.for("v-txt"),ge=Symbol.for("v-cmt"),Ln=Symbol.for("v-stc"),an=[];let Ie=null;function we(e=!1){an.push(Ie=e?null:[])}function So(){an.pop(),Ie=an[an.length-1]||null}let Yt=1;function jn(e,t=!1){Yt+=e,e<0&&Ie&&t&&(Ie.hasOnce=!0)}function To(e){return e.dynamicChildren=Yt>0?Ie||Gt:null,So(),Yt>0&&Ie&&Ie.push(e),e}function bt(e,t,n,s,r,i){return To(Ne(e,t,n,s,r,i,!0))}function Ut(e,t,n,s,r){return To(de(e,t,n,s,r,!0))}function vn(e){return e?e.__v_isVNode===!0:!1}function Qe(e,t){return e.type===t.type&&e.key===t.key}const Oo=({key:e})=>e??null,Mn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?ae(e)||ye(e)||G(e)?{i:Le,r:e,k:t,f:!!n}:e:null);function Ne(e,t=null,n=null,s=0,r=null,i=e===Oe?0:1,o=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Oo(t),ref:t&&Mn(t),scopeId:qi,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:Le};return l?(rr(c,n),i&128&&e.normalize(c)):n&&(c.shapeFlag|=ae(n)?8:16),Yt>0&&!o&&Ie&&(c.patchFlag>0||i&6)&&c.patchFlag!==32&&Ie.push(c),c}const de=Mc;function Mc(e,t=null,n=null,s=0,r=null,i=!1){if((!e||e===Ql)&&(e=ge),vn(e)){const l=Et(e,t,!0);return n&&rr(l,n),Yt>0&&!i&&Ie&&(l.shapeFlag&6?Ie[Ie.indexOf(e)]=l:Ie.push(l)),l.patchFlag=-2,l}if(Kc(e)&&(e=e.__vccOpts),t){t=Dc(t);let{class:l,style:c}=t;l&&!ae(l)&&(t.class=zn(l)),ce(c)&&(Xs(c)&&!U(c)&&(c=pe({},c)),t.style=Ks(c))}const o=ae(e)?1:Co(e)?128:Yi(e)?64:ce(e)?4:G(e)?2:0;return Ne(e,t,n,s,r,o,i,!0)}function Dc(e){return e?Xs(e)||mo(e)?pe({},e):e:null}function Et(e,t,n=!1,s=!1){const{props:r,ref:i,patchFlag:o,children:l,transition:c}=e,d=t?Fc(r||{},t):r,f={__v_isVNode:!0,__v_skip:!0,type:e.type,props:d,key:d&&Oo(d),ref:t&&t.ref?n&&i?U(i)?i.concat(Mn(t)):[i,Mn(t)]:Mn(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Oe?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Et(e.ssContent),ssFallback:e.ssFallback&&Et(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&s&&mn(f,c.clone(f)),f}function Io(e=" ",t=0){return de(es,null,e,t)}function da(e,t){const n=de(Ln,null,e);return n.staticCount=t,n}function Tn(e="",t=!1){return t?(we(),Ut(ge,null,e)):de(ge,null,e)}function Ve(e){return e==null||typeof e=="boolean"?de(ge):U(e)?de(Oe,null,e.slice()):vn(e)?_t(e):de(es,null,String(e))}function _t(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Et(e)}function rr(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(U(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),rr(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!mo(t)?t._ctx=Le:r===3&&Le&&(Le.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else G(t)?(t={default:t,_ctx:Le},n=32):(t=String(t),s&64?(n=16,t=[Io(t)]):n=8);e.children=t,e.shapeFlag|=n}function Fc(...e){const t={};for(let n=0;n<e.length;n++){const s=e[n];for(const r in s)if(r==="class")t.class!==s.class&&(t.class=zn([t.class,s.class]));else if(r==="style")t.style=Ks([t.style,s.style]);else if(Gn(r)){const i=t[r],o=s[r];o&&i!==o&&!(U(i)&&i.includes(o))&&(t[r]=i?[].concat(i,o):o)}else r!==""&&(t[r]=s[r])}return t}function Je(e,t,n,s=null){Ge(e,t,7,[n,s])}const Bc=ao();let Hc=0;function Vc(e,t,n){const s=e.type,r=(t?t.appContext:e.appContext)||Bc,i={uid:Hc++,vnode:e,type:s,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new sl(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:vo(s,r),emitsOptions:ho(s,r),emit:null,emitted:null,propsDefaults:ie,inheritAttrs:s.inheritAttrs,ctx:ie,data:ie,props:ie,attrs:ie,slots:ie,refs:ie,setupState:ie,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return i.ctx={_:i},i.root=t?t.root:i,i.emit=uc.bind(null,i),e.ce&&e.ce(i),i}let ve=null;const ir=()=>ve||Le;let Un,Ps;{const e=qn(),t=(n,s)=>{let r;return(r=e[n])||(r=e[n]=[]),r.push(s),i=>{r.length>1?r.forEach(o=>o(i)):r[0](i)}};Un=t("__VUE_INSTANCE_SETTERS__",n=>ve=n),Ps=t("__VUE_SSR_SETTERS__",n=>yn=n)}const Mt=e=>{const t=ve;return Un(e),e.scope.on(),()=>{e.scope.off(),Un(t)}},Ns=()=>{ve&&ve.scope.off(),Un(null)};function Po(e){return e.vnode.shapeFlag&4}let yn=!1;function kc(e,t=!1,n=!1){t&&Ps(t);const{props:s,children:r}=e.vnode,i=Po(e);mc(e,s,i,t),bc(e,r,n||t);const o=i?jc(e,t):void 0;return t&&Ps(!1),o}function jc(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,ec);const{setup:s}=n;if(s){ct();const r=e.setupContext=s.length>1?Gc(e):null,i=Mt(e),o=xn(s,e,0,[e.props,r]),l=Us(o);if(ft(),i(),(l||e.sp)&&!fn(e)&&so(e),l){if(o.then(Ns,Ns),t)return o.then(c=>{Ls(e,c)}).catch(c=>{wn(c,e,0)});e.asyncDep=o}else Ls(e,o)}else No(e)}function Ls(e,t,n){G(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ce(t)&&(e.setupState=ji(t)),No(e)}function No(e,t,n){const s=e.type;e.render||(e.render=s.render||Ze);{const r=Mt(e);ct();try{nc(e)}finally{ft(),r()}}}const Uc={get(e,t){return _e(e,"get",""),e[t]}};function Gc(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Uc),slots:e.slots,emit:e.emit,expose:t}}function ts(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(ji(wl(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in un)return un[n](e)},has(t,n){return n in t||n in un}})):e.proxy}function $c(e,t=!0){return G(e)?e.displayName||e.name:e.name||t&&e.__name}function Kc(e){return G(e)&&"__vccOpts"in e}const ke=(e,t)=>Tl(e,t,yn);function or(e,t,n){try{jn(-1);const s=arguments.length;return s===2?ce(t)&&!U(t)?vn(t)?de(e,null,[t]):de(e,t):de(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&vn(n)&&(n=[n]),de(e,t,n))}finally{jn(1)}}const Wc="3.5.26";let Ms;const Ir=typeof window<"u"&&window.trustedTypes;if(Ir)try{Ms=Ir.createPolicy("vue",{createHTML:e=>e})}catch{}const Lo=Ms?e=>Ms.createHTML(e):e=>e,qc="http://www.w3.org/2000/svg",zc="http://www.w3.org/1998/Math/MathML",rt=typeof document<"u"?document:null,Pr=rt&&rt.createElement("template"),Jc={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t==="svg"?rt.createElementNS(qc,e):t==="mathml"?rt.createElementNS(zc,e):n?rt.createElement(e,{is:n}):rt.createElement(e);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>rt.createTextNode(e),createComment:e=>rt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>rt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,i){const o=n?n.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===i||!(r=r.nextSibling)););else{Pr.innerHTML=Lo(s==="svg"?`<svg>${e}</svg>`:s==="mathml"?`<math>${e}</math>`:e);const l=Pr.content;if(s==="svg"||s==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},ht="transition",tn="animation",bn=Symbol("_vtc"),Mo={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},Yc=pe({},Qi,Mo),Qc=e=>(e.displayName="Transition",e.props=Yc,e),Zc=Qc((e,{slots:t})=>or(Vl,Xc(e),t)),Rt=(e,t=[])=>{U(e)?e.forEach(n=>n(...t)):e&&e(...t)},Nr=e=>e?U(e)?e.some(t=>t.length>1):e.length>1:!1;function Xc(e){const t={};for(const R in e)R in Mo||(t[R]=e[R]);if(e.css===!1)return t;const{name:n="v",type:s,duration:r,enterFromClass:i=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:c=i,appearActiveClass:d=o,appearToClass:f=l,leaveFromClass:u=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:m=`${n}-leave-to`}=e,x=ef(r),C=x&&x[0],j=x&&x[1],{onBeforeEnter:N,onEnter:O,onEnterCancelled:D,onLeave:L,onLeaveCancelled:I,onBeforeAppear:B=N,onAppear:W=O,onAppearCancelled:ee=D}=t,F=(R,q,fe,me)=>{R._enterCancelled=me,St(R,q?f:l),St(R,q?d:o),fe&&fe()},$=(R,q)=>{R._isLeaving=!1,St(R,u),St(R,m),St(R,p),q&&q()},z=R=>(q,fe)=>{const me=R?W:O,re=()=>F(q,R,fe);Rt(me,[q,re]),Lr(()=>{St(q,R?c:i),nt(q,R?f:l),Nr(me)||Mr(q,s,C,re)})};return pe(t,{onBeforeEnter(R){Rt(N,[R]),nt(R,i),nt(R,o)},onBeforeAppear(R){Rt(B,[R]),nt(R,c),nt(R,d)},onEnter:z(!1),onAppear:z(!0),onLeave(R,q){R._isLeaving=!0;const fe=()=>$(R,q);nt(R,u),R._enterCancelled?(nt(R,p),Br(R)):(Br(R),nt(R,p)),Lr(()=>{R._isLeaving&&(St(R,u),nt(R,m),Nr(L)||Mr(R,s,j,fe))}),Rt(L,[R,fe])},onEnterCancelled(R){F(R,!1,void 0,!0),Rt(D,[R])},onAppearCancelled(R){F(R,!0,void 0,!0),Rt(ee,[R])},onLeaveCancelled(R){$(R),Rt(I,[R])}})}function ef(e){if(e==null)return null;if(ce(e))return[as(e.enter),as(e.leave)];{const t=as(e);return[t,t]}}function as(e){return Ei(e)}function nt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[bn]||(e[bn]=new Set)).add(t)}function St(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[bn];n&&(n.delete(t),n.size||(e[bn]=void 0))}function Lr(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let tf=0;function Mr(e,t,n,s){const r=e._endId=++tf,i=()=>{r===e._endId&&s()};if(n!=null)return setTimeout(i,n);const{type:o,timeout:l,propCount:c}=nf(e,t);if(!o)return s();const d=o+"end";let f=0;const u=()=>{e.removeEventListener(d,p),i()},p=m=>{m.target===e&&++f>=c&&u()};setTimeout(()=>{f<c&&u()},l+1),e.addEventListener(d,p)}function nf(e,t){const n=window.getComputedStyle(e),s=x=>(n[x]||"").split(", "),r=s(`${ht}Delay`),i=s(`${ht}Duration`),o=Dr(r,i),l=s(`${tn}Delay`),c=s(`${tn}Duration`),d=Dr(l,c);let f=null,u=0,p=0;t===ht?o>0&&(f=ht,u=o,p=i.length):t===tn?d>0&&(f=tn,u=d,p=c.length):(u=Math.max(o,d),f=u>0?o>d?ht:tn:null,p=f?f===ht?i.length:c.length:0);const m=f===ht&&/\b(?:transform|all)(?:,|$)/.test(s(`${ht}Property`).toString());return{type:f,timeout:u,propCount:p,hasTransform:m}}function Dr(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,s)=>Fr(n)+Fr(e[s])))}function Fr(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Br(e){return(e?e.ownerDocument:document).body.offsetHeight}function sf(e,t,n){const s=e[bn];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Hr=Symbol("_vod"),rf=Symbol("_vsh"),of=Symbol(""),lf=/(?:^|;)\s*display\s*:/;function cf(e,t,n){const s=e.style,r=ae(n);let i=!1;if(n&&!r){if(t)if(ae(t))for(const o of t.split(";")){const l=o.slice(0,o.indexOf(":")).trim();n[l]==null&&Dn(s,l,"")}else for(const o in t)n[o]==null&&Dn(s,o,"");for(const o in n)o==="display"&&(i=!0),Dn(s,o,n[o])}else if(r){if(t!==n){const o=s[of];o&&(n+=";"+o),s.cssText=n,i=lf.test(n)}}else t&&e.removeAttribute("style");Hr in e&&(e[Hr]=i?s.display:"",e[rf]&&(s.display="none"))}const Vr=/\s*!important$/;function Dn(e,t,n){if(U(n))n.forEach(s=>Dn(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=ff(e,t);Vr.test(n)?e.setProperty(Dt(s),n.replace(Vr,""),"important"):e[s]=n}}const kr=["Webkit","Moz","ms"],ds={};function ff(e,t){const n=ds[t];if(n)return n;let s=He(t);if(s!=="filter"&&s in e)return ds[t]=s;s=Wn(s);for(let r=0;r<kr.length;r++){const i=kr[r]+s;if(i in e)return ds[t]=i}return t}const jr="http://www.w3.org/1999/xlink";function Ur(e,t,n,s,r,i=nl(t)){s&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(jr,t.slice(6,t.length)):e.setAttributeNS(jr,t,n):n==null||i&&!xi(n)?e.removeAttribute(t):e.setAttribute(t,i?"":xt(n)?String(n):n)}function Gr(e,t,n,s,r){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?Lo(n):n);return}const i=e.tagName;if(t==="value"&&i!=="PROGRESS"&&!i.includes("-")){const l=i==="OPTION"?e.getAttribute("value")||"":e.value,c=n==null?e.type==="checkbox"?"on":"":String(n);(l!==c||!("_value"in e))&&(e.value=c),n==null&&e.removeAttribute(t),e._value=n;return}let o=!1;if(n===""||n==null){const l=typeof e[t];l==="boolean"?n=xi(n):n==null&&l==="string"?(n="",o=!0):l==="number"&&(n=0,o=!0)}try{e[t]=n}catch{}o&&e.removeAttribute(r||t)}function kt(e,t,n,s){e.addEventListener(t,n,s)}function uf(e,t,n,s){e.removeEventListener(t,n,s)}const $r=Symbol("_vei");function af(e,t,n,s,r=null){const i=e[$r]||(e[$r]={}),o=i[t];if(s&&o)o.value=s;else{const[l,c]=df(t);if(s){const d=i[t]=gf(s,r);kt(e,l,d,c)}else o&&(uf(e,l,o,c),i[t]=void 0)}}const Kr=/(?:Once|Passive|Capture)$/;function df(e){let t;if(Kr.test(e)){t={};let s;for(;s=e.match(Kr);)e=e.slice(0,e.length-s[0].length),t[s[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Dt(e.slice(2)),t]}let hs=0;const hf=Promise.resolve(),pf=()=>hs||(hf.then(()=>hs=0),hs=Date.now());function gf(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;Ge(mf(s,n.value),t,5,[s])};return n.value=e,n.attached=pf(),n}function mf(e,t){if(U(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>r=>!r._stopped&&s&&s(r))}else return t}const Wr=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,_f=(e,t,n,s,r,i)=>{const o=r==="svg";t==="class"?sf(e,s,o):t==="style"?cf(e,n,s):Gn(t)?ks(t)||af(e,t,n,s,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):vf(e,t,s,o))?(Gr(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Ur(e,t,s,o,i,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!ae(s))?Gr(e,He(t),s,i,t):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),Ur(e,t,s,o))};function vf(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&Wr(t)&&G(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return Wr(t)&&ae(n)?!1:t in e}const qr=e=>{const t=e.props["onUpdate:modelValue"]||!1;return U(t)?n=>On(t,n):t};function yf(e){e.target.composing=!0}function zr(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const ps=Symbol("_assign");function Jr(e,t,n){return t&&(e=e.trim()),n&&(e=$s(e)),e}const ha={created(e,{modifiers:{lazy:t,trim:n,number:s}},r){e[ps]=qr(r);const i=s||r.props&&r.props.type==="number";kt(e,t?"change":"input",o=>{o.target.composing||e[ps](Jr(e.value,n,i))}),(n||i)&&kt(e,"change",()=>{e.value=Jr(e.value,n,i)}),t||(kt(e,"compositionstart",yf),kt(e,"compositionend",zr),kt(e,"change",zr))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:r,number:i}},o){if(e[ps]=qr(o),e.composing)return;const l=(i||e.type==="number")&&!/^0\d/.test(e.value)?$s(e.value):e.value,c=t??"";l!==c&&(document.activeElement===e&&e.type!=="range"&&(s&&t===n||r&&e.value.trim()===c)||(e.value=c))}},bf=pe({patchProp:_f},Jc);let Yr;function Ef(){return Yr||(Yr=xc(bf))}const xf=((...e)=>{const t=Ef().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=Af(s);if(!r)return;const i=t._component;!G(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const o=n(r,!1,wf(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),o},t});function wf(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Af(e){return ae(e)?document.querySelector(e):e}const Cf="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20aria-hidden='true'%20role='img'%20class='iconify%20iconify--logos'%20width='31.88'%20height='32'%20preserveAspectRatio='xMidYMid%20meet'%20viewBox='0%200%20256%20257'%3e%3cdefs%3e%3clinearGradient%20id='IconifyId1813088fe1fbc01fb466'%20x1='-.828%25'%20x2='57.636%25'%20y1='7.652%25'%20y2='78.411%25'%3e%3cstop%20offset='0%25'%20stop-color='%2341D1FF'%3e%3c/stop%3e%3cstop%20offset='100%25'%20stop-color='%23BD34FE'%3e%3c/stop%3e%3c/linearGradient%3e%3clinearGradient%20id='IconifyId1813088fe1fbc01fb467'%20x1='43.376%25'%20x2='50.316%25'%20y1='2.242%25'%20y2='89.03%25'%3e%3cstop%20offset='0%25'%20stop-color='%23FFEA83'%3e%3c/stop%3e%3cstop%20offset='8.333%25'%20stop-color='%23FFDD35'%3e%3c/stop%3e%3cstop%20offset='100%25'%20stop-color='%23FFA800'%3e%3c/stop%3e%3c/linearGradient%3e%3c/defs%3e%3cpath%20fill='url(%23IconifyId1813088fe1fbc01fb466)'%20d='M255.153%2037.938L134.897%20252.976c-2.483%204.44-8.862%204.466-11.382.048L.875%2037.958c-2.746-4.814%201.371-10.646%206.827-9.67l120.385%2021.517a6.537%206.537%200%200%200%202.322-.004l117.867-21.483c5.438-.991%209.574%204.796%206.877%209.62Z'%3e%3c/path%3e%3cpath%20fill='url(%23IconifyId1813088fe1fbc01fb467)'%20d='M185.432.063L96.44%2017.501a3.268%203.268%200%200%200-2.634%203.014l-5.474%2092.456a3.268%203.268%200%200%200%203.997%203.378l24.777-5.718c2.318-.535%204.413%201.507%203.936%203.838l-7.361%2036.047c-.495%202.426%201.782%204.5%204.151%203.78l15.304-4.649c2.372-.72%204.652%201.36%204.15%203.788l-11.698%2056.621c-.732%203.542%203.979%205.473%205.943%202.437l1.313-2.028l72.516-144.72c1.215-2.423-.88-5.186-3.54-4.672l-25.505%204.922c-2.396.462-4.435-1.77-3.759-4.114l16.646-57.705c.677-2.35-1.37-4.583-3.769-4.113Z'%3e%3c/path%3e%3c/svg%3e",Rf="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20aria-hidden='true'%20role='img'%20class='iconify%20iconify--logos'%20width='37.07'%20height='36'%20preserveAspectRatio='xMidYMid%20meet'%20viewBox='0%200%20256%20198'%3e%3cpath%20fill='%2341B883'%20d='M204.8%200H256L128%20220.8L0%200h97.92L128%2051.2L157.44%200h47.36Z'%3e%3c/path%3e%3cpath%20fill='%2341B883'%20d='m0%200l128%20220.8L256%200h-51.2L128%20132.48L50.56%200H0Z'%3e%3c/path%3e%3cpath%20fill='%2335495E'%20d='M50.56%200L128%20133.12L204.8%200h-47.36L128%2051.2L97.92%200H50.56Z'%3e%3c/path%3e%3c/svg%3e";const jt=typeof document<"u";function Do(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Sf(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&Do(e.default)}const te=Object.assign;function gs(e,t){const n={};for(const s in t){const r=t[s];n[s]=$e(r)?r.map(e):e(r)}return n}const dn=()=>{},$e=Array.isArray;function Qr(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}const Fo=/#/g,Tf=/&/g,Of=/\//g,If=/=/g,Pf=/\?/g,Bo=/\+/g,Nf=/%5B/g,Lf=/%5D/g,Ho=/%5E/g,Mf=/%60/g,Vo=/%7B/g,Df=/%7C/g,ko=/%7D/g,Ff=/%20/g;function lr(e){return e==null?"":encodeURI(""+e).replace(Df,"|").replace(Nf,"[").replace(Lf,"]")}function Bf(e){return lr(e).replace(Vo,"{").replace(ko,"}").replace(Ho,"^")}function Ds(e){return lr(e).replace(Bo,"%2B").replace(Ff,"+").replace(Fo,"%23").replace(Tf,"%26").replace(Mf,"`").replace(Vo,"{").replace(ko,"}").replace(Ho,"^")}function Hf(e){return Ds(e).replace(If,"%3D")}function Vf(e){return lr(e).replace(Fo,"%23").replace(Pf,"%3F")}function kf(e){return Vf(e).replace(Of,"%2F")}function En(e){if(e==null)return null;try{return decodeURIComponent(""+e)}catch{}return""+e}const jf=/\/$/,Uf=e=>e.replace(jf,"");function ms(e,t,n="/"){let s,r={},i="",o="";const l=t.indexOf("#");let c=t.indexOf("?");return c=l>=0&&c>l?-1:c,c>=0&&(s=t.slice(0,c),i=t.slice(c,l>0?l:t.length),r=e(i.slice(1))),l>=0&&(s=s||t.slice(0,l),o=t.slice(l,t.length)),s=Wf(s??t,n),{fullPath:s+i+o,path:s,query:r,hash:En(o)}}function Gf(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Zr(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function $f(e,t,n){const s=t.matched.length-1,r=n.matched.length-1;return s>-1&&s===r&&Qt(t.matched[s],n.matched[r])&&jo(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Qt(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function jo(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!Kf(e[n],t[n]))return!1;return!0}function Kf(e,t){return $e(e)?Xr(e,t):$e(t)?Xr(t,e):e?.valueOf()===t?.valueOf()}function Xr(e,t){return $e(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function Wf(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),s=e.split("/"),r=s[s.length-1];(r===".."||r===".")&&s.push("");let i=n.length-1,o,l;for(o=0;o<s.length;o++)if(l=s[o],l!==".")if(l==="..")i>1&&i--;else break;return n.slice(0,i).join("/")+"/"+s.slice(o).join("/")}const pt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let Fs=(function(e){return e.pop="pop",e.push="push",e})({}),_s=(function(e){return e.back="back",e.forward="forward",e.unknown="",e})({});function qf(e){if(!e)if(jt){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Uf(e)}const zf=/^[^#]+#/;function Jf(e,t){return e.replace(zf,"#")+t}function Yf(e,t){const n=document.documentElement.getBoundingClientRect(),s=e.getBoundingClientRect();return{behavior:t.behavior,left:s.left-n.left-(t.left||0),top:s.top-n.top-(t.top||0)}}const ns=()=>({left:window.scrollX,top:window.scrollY});function Qf(e){let t;if("el"in e){const n=e.el,s=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=Yf(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function ei(e,t){return(history.state?history.state.position-t:-1)+e}const Bs=new Map;function Zf(e,t){Bs.set(e,t)}function Xf(e){const t=Bs.get(e);return Bs.delete(e),t}function eu(e){return typeof e=="string"||e&&typeof e=="object"}function Uo(e){return typeof e=="string"||typeof e=="symbol"}let ue=(function(e){return e[e.MATCHER_NOT_FOUND=1]="MATCHER_NOT_FOUND",e[e.NAVIGATION_GUARD_REDIRECT=2]="NAVIGATION_GUARD_REDIRECT",e[e.NAVIGATION_ABORTED=4]="NAVIGATION_ABORTED",e[e.NAVIGATION_CANCELLED=8]="NAVIGATION_CANCELLED",e[e.NAVIGATION_DUPLICATED=16]="NAVIGATION_DUPLICATED",e})({});const Go=Symbol("");ue.MATCHER_NOT_FOUND+"",ue.NAVIGATION_GUARD_REDIRECT+"",ue.NAVIGATION_ABORTED+"",ue.NAVIGATION_CANCELLED+"",ue.NAVIGATION_DUPLICATED+"";function Zt(e,t){return te(new Error,{type:e,[Go]:!0},t)}function st(e,t){return e instanceof Error&&Go in e&&(t==null||!!(e.type&t))}const tu=["params","query","hash"];function nu(e){if(typeof e=="string")return e;if(e.path!=null)return e.path;const t={};for(const n of tu)n in e&&(t[n]=e[n]);return JSON.stringify(t,null,2)}function su(e){const t={};if(e===""||e==="?")return t;const n=(e[0]==="?"?e.slice(1):e).split("&");for(let s=0;s<n.length;++s){const r=n[s].replace(Bo," "),i=r.indexOf("="),o=En(i<0?r:r.slice(0,i)),l=i<0?null:En(r.slice(i+1));if(o in t){let c=t[o];$e(c)||(c=t[o]=[c]),c.push(l)}else t[o]=l}return t}function ti(e){let t="";for(let n in e){const s=e[n];if(n=Hf(n),s==null){s!==void 0&&(t+=(t.length?"&":"")+n);continue}($e(s)?s.map(r=>r&&Ds(r)):[s&&Ds(s)]).forEach(r=>{r!==void 0&&(t+=(t.length?"&":"")+n,r!=null&&(t+="="+r))})}return t}function ru(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=$e(s)?s.map(r=>r==null?null:""+r):s==null?s:""+s)}return t}const iu=Symbol(""),ni=Symbol(""),cr=Symbol(""),fr=Symbol(""),Hs=Symbol("");function nn(){let e=[];function t(s){return e.push(s),()=>{const r=e.indexOf(s);r>-1&&e.splice(r,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function vt(e,t,n,s,r,i=o=>o()){const o=s&&(s.enterCallbacks[r]=s.enterCallbacks[r]||[]);return()=>new Promise((l,c)=>{const d=p=>{p===!1?c(Zt(ue.NAVIGATION_ABORTED,{from:n,to:t})):p instanceof Error?c(p):eu(p)?c(Zt(ue.NAVIGATION_GUARD_REDIRECT,{from:t,to:p})):(o&&s.enterCallbacks[r]===o&&typeof p=="function"&&o.push(p),l())},f=i(()=>e.call(s&&s.instances[r],t,n,d));let u=Promise.resolve(f);e.length<3&&(u=u.then(d)),u.catch(p=>c(p))})}function vs(e,t,n,s,r=i=>i()){const i=[];for(const o of e)for(const l in o.components){let c=o.components[l];if(!(t!=="beforeRouteEnter"&&!o.instances[l]))if(Do(c)){const d=(c.__vccOpts||c)[t];d&&i.push(vt(d,n,s,o,l,r))}else{let d=c();i.push(()=>d.then(f=>{if(!f)throw new Error(`Couldn't resolve component "${l}" at "${o.path}"`);const u=Sf(f)?f.default:f;o.mods[l]=f,o.components[l]=u;const p=(u.__vccOpts||u)[t];return p&&vt(p,n,s,o,l,r)()}))}}return i}function ou(e,t){const n=[],s=[],r=[],i=Math.max(t.matched.length,e.matched.length);for(let o=0;o<i;o++){const l=t.matched[o];l&&(e.matched.find(d=>Qt(d,l))?s.push(l):n.push(l));const c=e.matched[o];c&&(t.matched.find(d=>Qt(d,c))||r.push(c))}return[n,s,r]}let lu=()=>location.protocol+"//"+location.host;function $o(e,t){const{pathname:n,search:s,hash:r}=t,i=e.indexOf("#");if(i>-1){let o=r.includes(e.slice(i))?e.slice(i).length:1,l=r.slice(o);return l[0]!=="/"&&(l="/"+l),Zr(l,"")}return Zr(n,e)+s+r}function cu(e,t,n,s){let r=[],i=[],o=null;const l=({state:p})=>{const m=$o(e,location),x=n.value,C=t.value;let j=0;if(p){if(n.value=m,t.value=p,o&&o===x){o=null;return}j=C?p.position-C.position:0}else s(m);r.forEach(N=>{N(n.value,x,{delta:j,type:Fs.pop,direction:j?j>0?_s.forward:_s.back:_s.unknown})})};function c(){o=n.value}function d(p){r.push(p);const m=()=>{const x=r.indexOf(p);x>-1&&r.splice(x,1)};return i.push(m),m}function f(){if(document.visibilityState==="hidden"){const{history:p}=window;if(!p.state)return;p.replaceState(te({},p.state,{scroll:ns()}),"")}}function u(){for(const p of i)p();i=[],window.removeEventListener("popstate",l),window.removeEventListener("pagehide",f),document.removeEventListener("visibilitychange",f)}return window.addEventListener("popstate",l),window.addEventListener("pagehide",f),document.addEventListener("visibilitychange",f),{pauseListeners:c,listen:d,destroy:u}}function si(e,t,n,s=!1,r=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:r?ns():null}}function fu(e){const{history:t,location:n}=window,s={value:$o(e,n)},r={value:t.state};r.value||i(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function i(c,d,f){const u=e.indexOf("#"),p=u>-1?(n.host&&document.querySelector("base")?e:e.slice(u))+c:lu()+e+c;try{t[f?"replaceState":"pushState"](d,"",p),r.value=d}catch(m){console.error(m),n[f?"replace":"assign"](p)}}function o(c,d){i(c,te({},t.state,si(r.value.back,c,r.value.forward,!0),d,{position:r.value.position}),!0),s.value=c}function l(c,d){const f=te({},r.value,t.state,{forward:c,scroll:ns()});i(f.current,f,!0),i(c,te({},si(s.value,c,null),{position:f.position+1},d),!1),s.value=c}return{location:s,state:r,push:l,replace:o}}function uu(e){e=qf(e);const t=fu(e),n=cu(e,t.state,t.location,t.replace);function s(i,o=!0){o||n.pauseListeners(),history.go(i)}const r=te({location:"",base:e,go:s,createHref:Jf.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}function au(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),uu(e)}let It=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.Group=2]="Group",e})({});var he=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.ParamRegExp=2]="ParamRegExp",e[e.ParamRegExpEnd=3]="ParamRegExpEnd",e[e.EscapeNext=4]="EscapeNext",e})(he||{});const du={type:It.Static,value:""},hu=/[a-zA-Z0-9_]/;function pu(e){if(!e)return[[]];if(e==="/")return[[du]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(m){throw new Error(`ERR (${n})/"${d}": ${m}`)}let n=he.Static,s=n;const r=[];let i;function o(){i&&r.push(i),i=[]}let l=0,c,d="",f="";function u(){d&&(n===he.Static?i.push({type:It.Static,value:d}):n===he.Param||n===he.ParamRegExp||n===he.ParamRegExpEnd?(i.length>1&&(c==="*"||c==="+")&&t(`A repeatable param (${d}) must be alone in its segment. eg: '/:ids+.`),i.push({type:It.Param,value:d,regexp:f,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):t("Invalid state to consume buffer"),d="")}function p(){d+=c}for(;l<e.length;){if(c=e[l++],c==="\\"&&n!==he.ParamRegExp){s=n,n=he.EscapeNext;continue}switch(n){case he.Static:c==="/"?(d&&u(),o()):c===":"?(u(),n=he.Param):p();break;case he.EscapeNext:p(),n=s;break;case he.Param:c==="("?n=he.ParamRegExp:hu.test(c)?p():(u(),n=he.Static,c!=="*"&&c!=="?"&&c!=="+"&&l--);break;case he.ParamRegExp:c===")"?f[f.length-1]=="\\"?f=f.slice(0,-1)+c:n=he.ParamRegExpEnd:f+=c;break;case he.ParamRegExpEnd:u(),n=he.Static,c!=="*"&&c!=="?"&&c!=="+"&&l--,f="";break;default:t("Unknown state");break}}return n===he.ParamRegExp&&t(`Unfinished custom RegExp for param "${d}"`),u(),o(),r}const ri="[^/]+?",gu={sensitive:!1,strict:!1,start:!0,end:!0};var Ee=(function(e){return e[e._multiplier=10]="_multiplier",e[e.Root=90]="Root",e[e.Segment=40]="Segment",e[e.SubSegment=30]="SubSegment",e[e.Static=40]="Static",e[e.Dynamic=20]="Dynamic",e[e.BonusCustomRegExp=10]="BonusCustomRegExp",e[e.BonusWildcard=-50]="BonusWildcard",e[e.BonusRepeatable=-20]="BonusRepeatable",e[e.BonusOptional=-8]="BonusOptional",e[e.BonusStrict=.7000000000000001]="BonusStrict",e[e.BonusCaseSensitive=.25]="BonusCaseSensitive",e})(Ee||{});const mu=/[.+*?^${}()[\]/\\]/g;function _u(e,t){const n=te({},gu,t),s=[];let r=n.start?"^":"";const i=[];for(const d of e){const f=d.length?[]:[Ee.Root];n.strict&&!d.length&&(r+="/");for(let u=0;u<d.length;u++){const p=d[u];let m=Ee.Segment+(n.sensitive?Ee.BonusCaseSensitive:0);if(p.type===It.Static)u||(r+="/"),r+=p.value.replace(mu,"\\$&"),m+=Ee.Static;else if(p.type===It.Param){const{value:x,repeatable:C,optional:j,regexp:N}=p;i.push({name:x,repeatable:C,optional:j});const O=N||ri;if(O!==ri){m+=Ee.BonusCustomRegExp;try{`${O}`}catch(L){throw new Error(`Invalid custom RegExp for param "${x}" (${O}): `+L.message)}}let D=C?`((?:${O})(?:/(?:${O}))*)`:`(${O})`;u||(D=j&&d.length<2?`(?:/${D})`:"/"+D),j&&(D+="?"),r+=D,m+=Ee.Dynamic,j&&(m+=Ee.BonusOptional),C&&(m+=Ee.BonusRepeatable),O===".*"&&(m+=Ee.BonusWildcard)}f.push(m)}s.push(f)}if(n.strict&&n.end){const d=s.length-1;s[d][s[d].length-1]+=Ee.BonusStrict}n.strict||(r+="/?"),n.end?r+="$":n.strict&&!r.endsWith("/")&&(r+="(?:/|$)");const o=new RegExp(r,n.sensitive?"":"i");function l(d){const f=d.match(o),u={};if(!f)return null;for(let p=1;p<f.length;p++){const m=f[p]||"",x=i[p-1];u[x.name]=m&&x.repeatable?m.split("/"):m}return u}function c(d){let f="",u=!1;for(const p of e){(!u||!f.endsWith("/"))&&(f+="/"),u=!1;for(const m of p)if(m.type===It.Static)f+=m.value;else if(m.type===It.Param){const{value:x,repeatable:C,optional:j}=m,N=x in d?d[x]:"";if($e(N)&&!C)throw new Error(`Provided param "${x}" is an array but it is not repeatable (* or + modifiers)`);const O=$e(N)?N.join("/"):N;if(!O)if(j)p.length<2&&(f.endsWith("/")?f=f.slice(0,-1):u=!0);else throw new Error(`Missing required param "${x}"`);f+=O}}return f||"/"}return{re:o,score:s,keys:i,parse:l,stringify:c}}function vu(e,t){let n=0;for(;n<e.length&&n<t.length;){const s=t[n]-e[n];if(s)return s;n++}return e.length<t.length?e.length===1&&e[0]===Ee.Static+Ee.Segment?-1:1:e.length>t.length?t.length===1&&t[0]===Ee.Static+Ee.Segment?1:-1:0}function Ko(e,t){let n=0;const s=e.score,r=t.score;for(;n<s.length&&n<r.length;){const i=vu(s[n],r[n]);if(i)return i;n++}if(Math.abs(r.length-s.length)===1){if(ii(s))return 1;if(ii(r))return-1}return r.length-s.length}function ii(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const yu={strict:!1,end:!0,sensitive:!1};function bu(e,t,n){const s=_u(pu(e.path),n),r=te(s,{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function Eu(e,t){const n=[],s=new Map;t=Qr(yu,t);function r(u){return s.get(u)}function i(u,p,m){const x=!m,C=li(u);C.aliasOf=m&&m.record;const j=Qr(t,u),N=[C];if("alias"in u){const L=typeof u.alias=="string"?[u.alias]:u.alias;for(const I of L)N.push(li(te({},C,{components:m?m.record.components:C.components,path:I,aliasOf:m?m.record:C})))}let O,D;for(const L of N){const{path:I}=L;if(p&&I[0]!=="/"){const B=p.record.path,W=B[B.length-1]==="/"?"":"/";L.path=p.record.path+(I&&W+I)}if(O=bu(L,p,j),m?m.alias.push(O):(D=D||O,D!==O&&D.alias.push(O),x&&u.name&&!ci(O)&&o(u.name)),Wo(O)&&c(O),C.children){const B=C.children;for(let W=0;W<B.length;W++)i(B[W],O,m&&m.children[W])}m=m||O}return D?()=>{o(D)}:dn}function o(u){if(Uo(u)){const p=s.get(u);p&&(s.delete(u),n.splice(n.indexOf(p),1),p.children.forEach(o),p.alias.forEach(o))}else{const p=n.indexOf(u);p>-1&&(n.splice(p,1),u.record.name&&s.delete(u.record.name),u.children.forEach(o),u.alias.forEach(o))}}function l(){return n}function c(u){const p=Au(u,n);n.splice(p,0,u),u.record.name&&!ci(u)&&s.set(u.record.name,u)}function d(u,p){let m,x={},C,j;if("name"in u&&u.name){if(m=s.get(u.name),!m)throw Zt(ue.MATCHER_NOT_FOUND,{location:u});j=m.record.name,x=te(oi(p.params,m.keys.filter(D=>!D.optional).concat(m.parent?m.parent.keys.filter(D=>D.optional):[]).map(D=>D.name)),u.params&&oi(u.params,m.keys.map(D=>D.name))),C=m.stringify(x)}else if(u.path!=null)C=u.path,m=n.find(D=>D.re.test(C)),m&&(x=m.parse(C),j=m.record.name);else{if(m=p.name?s.get(p.name):n.find(D=>D.re.test(p.path)),!m)throw Zt(ue.MATCHER_NOT_FOUND,{location:u,currentLocation:p});j=m.record.name,x=te({},p.params,u.params),C=m.stringify(x)}const N=[];let O=m;for(;O;)N.unshift(O.record),O=O.parent;return{name:j,path:C,params:x,matched:N,meta:wu(N)}}e.forEach(u=>i(u));function f(){n.length=0,s.clear()}return{addRoute:i,resolve:d,removeRoute:o,clearRoutes:f,getRoutes:l,getRecordMatcher:r}}function oi(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function li(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:xu(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function xu(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const s in e.components)t[s]=typeof n=="object"?n[s]:n;return t}function ci(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function wu(e){return e.reduce((t,n)=>te(t,n.meta),{})}function Au(e,t){let n=0,s=t.length;for(;n!==s;){const i=n+s>>1;Ko(e,t[i])<0?s=i:n=i+1}const r=Cu(e);return r&&(s=t.lastIndexOf(r,s-1)),s}function Cu(e){let t=e;for(;t=t.parent;)if(Wo(t)&&Ko(e,t)===0)return t}function Wo({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function fi(e){const t=Xe(cr),n=Xe(fr),s=ke(()=>{const c=Lt(e.to);return t.resolve(c)}),r=ke(()=>{const{matched:c}=s.value,{length:d}=c,f=c[d-1],u=n.matched;if(!f||!u.length)return-1;const p=u.findIndex(Qt.bind(null,f));if(p>-1)return p;const m=ui(c[d-2]);return d>1&&ui(f)===m&&u[u.length-1].path!==m?u.findIndex(Qt.bind(null,c[d-2])):p}),i=ke(()=>r.value>-1&&Iu(n.params,s.value.params)),o=ke(()=>r.value>-1&&r.value===n.matched.length-1&&jo(n.params,s.value.params));function l(c={}){if(Ou(c)){const d=t[Lt(e.replace)?"replace":"push"](Lt(e.to)).catch(dn);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>d),d}return Promise.resolve()}return{route:s,href:ke(()=>s.value.href),isActive:i,isExactActive:o,navigate:l}}function Ru(e){return e.length===1?e[0]:e}const Su=no({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:fi,setup(e,{slots:t}){const n=zt(fi(e)),{options:s}=Xe(cr),r=ke(()=>({[ai(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[ai(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const i=t.default&&Ru(t.default(n));return e.custom?i:or("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},i)}}}),Tu=Su;function Ou(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function Iu(e,t){for(const n in t){const s=t[n],r=e[n];if(typeof s=="string"){if(s!==r)return!1}else if(!$e(r)||r.length!==s.length||s.some((i,o)=>i.valueOf()!==r[o].valueOf()))return!1}return!0}function ui(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const ai=(e,t,n)=>e??t??n,Pu=no({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=Xe(Hs),r=ke(()=>e.route||s.value),i=Xe(ni,0),o=ke(()=>{let d=Lt(i);const{matched:f}=r.value;let u;for(;(u=f[d])&&!u.components;)d++;return d}),l=ke(()=>r.value.matched[o.value]);Pn(ni,ke(()=>o.value+1)),Pn(iu,l),Pn(Hs,r);const c=In();return Nn(()=>[c.value,l.value,e.name],([d,f,u],[p,m,x])=>{f&&(f.instances[u]=d,m&&m!==f&&d&&d===p&&(f.leaveGuards.size||(f.leaveGuards=m.leaveGuards),f.updateGuards.size||(f.updateGuards=m.updateGuards))),d&&f&&(!m||!Qt(f,m)||!p)&&(f.enterCallbacks[u]||[]).forEach(C=>C(d))},{flush:"post"}),()=>{const d=r.value,f=e.name,u=l.value,p=u&&u.components[f];if(!p)return di(n.default,{Component:p,route:d});const m=u.props[f],x=m?m===!0?d.params:typeof m=="function"?m(d):m:null,j=or(p,te({},x,t,{onVnodeUnmounted:N=>{N.component.isUnmounted&&(u.instances[f]=null)},ref:c}));return di(n.default,{Component:j,route:d})||j}}});function di(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Nu=Pu;function Lu(e){const t=Eu(e.routes,e),n=e.parseQuery||su,s=e.stringifyQuery||ti,r=e.history,i=nn(),o=nn(),l=nn(),c=Al(pt);let d=pt;jt&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const f=gs.bind(null,y=>""+y),u=gs.bind(null,kf),p=gs.bind(null,En);function m(y,M){let T,H;return Uo(y)?(T=t.getRecordMatcher(y),H=M):H=y,t.addRoute(H,T)}function x(y){const M=t.getRecordMatcher(y);M&&t.removeRoute(M)}function C(){return t.getRoutes().map(y=>y.record)}function j(y){return!!t.getRecordMatcher(y)}function N(y,M){if(M=te({},M||c.value),typeof y=="string"){const g=ms(n,y,M.path),_=t.resolve({path:g.path},M),b=r.createHref(g.fullPath);return te(g,_,{params:p(_.params),hash:En(g.hash),redirectedFrom:void 0,href:b})}let T;if(y.path!=null)T=te({},y,{path:ms(n,y.path,M.path).path});else{const g=te({},y.params);for(const _ in g)g[_]==null&&delete g[_];T=te({},y,{params:u(g)}),M.params=u(M.params)}const H=t.resolve(T,M),Y=y.hash||"";H.params=f(p(H.params));const a=Gf(s,te({},y,{hash:Bf(Y),path:H.path})),h=r.createHref(a);return te({fullPath:a,hash:Y,query:s===ti?ru(y.query):y.query||{}},H,{redirectedFrom:void 0,href:h})}function O(y){return typeof y=="string"?ms(n,y,c.value.path):te({},y)}function D(y,M){if(d!==y)return Zt(ue.NAVIGATION_CANCELLED,{from:M,to:y})}function L(y){return W(y)}function I(y){return L(te(O(y),{replace:!0}))}function B(y,M){const T=y.matched[y.matched.length-1];if(T&&T.redirect){const{redirect:H}=T;let Y=typeof H=="function"?H(y,M):H;return typeof Y=="string"&&(Y=Y.includes("?")||Y.includes("#")?Y=O(Y):{path:Y},Y.params={}),te({query:y.query,hash:y.hash,params:Y.path!=null?{}:y.params},Y)}}function W(y,M){const T=d=N(y),H=c.value,Y=y.state,a=y.force,h=y.replace===!0,g=B(T,H);if(g)return W(te(O(g),{state:typeof g=="object"?te({},Y,g.state):Y,force:a,replace:h}),M||T);const _=T;_.redirectedFrom=M;let b;return!a&&$f(s,H,T)&&(b=Zt(ue.NAVIGATION_DUPLICATED,{to:_,from:H}),Ke(H,H,!0,!1)),(b?Promise.resolve(b):$(_,H)).catch(v=>st(v)?st(v,ue.NAVIGATION_GUARD_REDIRECT)?v:dt(v):Z(v,_,H)).then(v=>{if(v){if(st(v,ue.NAVIGATION_GUARD_REDIRECT))return W(te({replace:h},O(v.to),{state:typeof v.to=="object"?te({},Y,v.to.state):Y,force:a}),M||_)}else v=R(_,H,!0,h,Y);return z(_,H,v),v})}function ee(y,M){const T=D(y,M);return T?Promise.reject(T):Promise.resolve()}function F(y){const M=Bt.values().next().value;return M&&typeof M.runWithContext=="function"?M.runWithContext(y):y()}function $(y,M){let T;const[H,Y,a]=ou(y,M);T=vs(H.reverse(),"beforeRouteLeave",y,M);for(const g of H)g.leaveGuards.forEach(_=>{T.push(vt(_,y,M))});const h=ee.bind(null,y,M);return T.push(h),Me(T).then(()=>{T=[];for(const g of i.list())T.push(vt(g,y,M));return T.push(h),Me(T)}).then(()=>{T=vs(Y,"beforeRouteUpdate",y,M);for(const g of Y)g.updateGuards.forEach(_=>{T.push(vt(_,y,M))});return T.push(h),Me(T)}).then(()=>{T=[];for(const g of a)if(g.beforeEnter)if($e(g.beforeEnter))for(const _ of g.beforeEnter)T.push(vt(_,y,M));else T.push(vt(g.beforeEnter,y,M));return T.push(h),Me(T)}).then(()=>(y.matched.forEach(g=>g.enterCallbacks={}),T=vs(a,"beforeRouteEnter",y,M,F),T.push(h),Me(T))).then(()=>{T=[];for(const g of o.list())T.push(vt(g,y,M));return T.push(h),Me(T)}).catch(g=>st(g,ue.NAVIGATION_CANCELLED)?g:Promise.reject(g))}function z(y,M,T){l.list().forEach(H=>F(()=>H(y,M,T)))}function R(y,M,T,H,Y){const a=D(y,M);if(a)return a;const h=M===pt,g=jt?history.state:{};T&&(H||h?r.replace(y.fullPath,te({scroll:h&&g&&g.scroll},Y)):r.push(y.fullPath,Y)),c.value=y,Ke(y,M,T,h),dt()}let q;function fe(){q||(q=r.listen((y,M,T)=>{if(!wt.listening)return;const H=N(y),Y=B(H,wt.currentRoute.value);if(Y){W(te(Y,{replace:!0,force:!0}),H).catch(dn);return}d=H;const a=c.value;jt&&Zf(ei(a.fullPath,T.delta),ns()),$(H,a).catch(h=>st(h,ue.NAVIGATION_ABORTED|ue.NAVIGATION_CANCELLED)?h:st(h,ue.NAVIGATION_GUARD_REDIRECT)?(W(te(O(h.to),{force:!0}),H).then(g=>{st(g,ue.NAVIGATION_ABORTED|ue.NAVIGATION_DUPLICATED)&&!T.delta&&T.type===Fs.pop&&r.go(-1,!1)}).catch(dn),Promise.reject()):(T.delta&&r.go(-T.delta,!1),Z(h,H,a))).then(h=>{h=h||R(H,a,!1),h&&(T.delta&&!st(h,ue.NAVIGATION_CANCELLED)?r.go(-T.delta,!1):T.type===Fs.pop&&st(h,ue.NAVIGATION_ABORTED|ue.NAVIGATION_DUPLICATED)&&r.go(-1,!1)),z(H,a,h)}).catch(dn)}))}let me=nn(),re=nn(),J;function Z(y,M,T){dt(y);const H=re.list();return H.length?H.forEach(Y=>Y(y,M,T)):console.error(y),Promise.reject(y)}function et(){return J&&c.value!==pt?Promise.resolve():new Promise((y,M)=>{me.add([y,M])})}function dt(y){return J||(J=!y,fe(),me.list().forEach(([M,T])=>y?T(y):M()),me.reset()),y}function Ke(y,M,T,H){const{scrollBehavior:Y}=e;if(!jt||!Y)return Promise.resolve();const a=!T&&Xf(ei(y.fullPath,0))||(H||!T)&&history.state&&history.state.scroll||null;return Gi().then(()=>Y(y,M,a)).then(h=>h&&Qf(h)).catch(h=>Z(h,y,M))}const Ae=y=>r.go(y);let Ft;const Bt=new Set,wt={currentRoute:c,listening:!0,addRoute:m,removeRoute:x,clearRoutes:t.clearRoutes,hasRoute:j,getRoutes:C,resolve:N,options:e,push:L,replace:I,go:Ae,back:()=>Ae(-1),forward:()=>Ae(1),beforeEach:i.add,beforeResolve:o.add,afterEach:l.add,onError:re.add,isReady:et,install(y){y.component("RouterLink",Tu),y.component("RouterView",Nu),y.config.globalProperties.$router=wt,Object.defineProperty(y.config.globalProperties,"$route",{enumerable:!0,get:()=>Lt(c)}),jt&&!Ft&&c.value===pt&&(Ft=!0,L(r.location).catch(H=>{}));const M={};for(const H in pt)Object.defineProperty(M,H,{get:()=>c.value[H],enumerable:!0});y.provide(cr,wt),y.provide(fr,Vi(M)),y.provide(Hs,c);const T=y.unmount;Bt.add(y),y.unmount=function(){Bt.delete(y),Bt.size<1&&(d=pt,q&&q(),q=null,c.value=pt,Ft=!1,J=!1),T()}}};function Me(y){return y.reduce((M,T)=>M.then(()=>F(T)),Promise.resolve())}return wt}function Mu(e){return Xe(fr)}const Du={class:"p-4 flex justify-between items-center sticky top-0 bg-white/75 border-b border-b-slate-200 backdrop-blur"},Fu={class:"flex gap-4"},Bu={__name:"header",setup(e){const t=Mu(),n=[{to:"/",title:"Home"},{to:"/global-middleware",title:"GlobalMiddleware"},{to:"/middleware",title:"Middleware"},{to:"/routers",title:"Router"},{to:"/models",title:"Model"},{to:"/config",title:"Config"},{to:"/requests",title:"Request"}];return(s,r)=>{const i=co("RouterLink");return we(),bt("header",Du,[Ne("nav",Fu,[(we(),bt(Oe,null,Xl(n,({to:o,title:l})=>de(i,{to:o,class:zn(["px-4 py-1 rounded-full",{"bg-slate-100":Lt(t).path===o}])},{default:Yn(()=>[Io(Ws(l),1)]),_:2},1032,["to","class"])),64))]),r[0]||(r[0]=Ne("div",{class:"flex gap-4 items-center"},[Ne("div",null,"Develop with"),Ne("img",{class:"size-8",src:Cf}),Ne("img",{class:"size-8",src:Rf})],-1))])}}},Fe={};function Hu(e,t,n){Fe[e]||(Fe[e]={}),Fe[e][t]=n}function Vu(e,t){return Fe[e]?Fe[e][t]:null}function ku(e,t){Fe[e]&&delete Fe[e][t]}function ju(e,t){Fe[e]=t,Fe[e].setItem=function(n,s){Hu(e,n,s)},Fe[e].getItem=function(n){return Vu(e,n)},Fe[e].removeItem=function(n){ku(e,n)}}function Uu(e){return Fe[e]}const hi=ju,pi=Uu,Gu={class:"p-4"},$u={__name:"main",async setup(e){let t,n;hi("front-end",zt({config:{URL:"http://localhost:3000/static/doc.json",baseURL:"http://localhost:3000",authorization:"",path:"/apples",query:"",method:"GET",body:"",showDoc:!1,bodyRows:8},cache:{result:""},methods:{}})),hi("back-end",zt({}));const s=pi("front-end"),r=pi("back-end");for(const i in s.config){const o="config"+i.charAt(0).toUpperCase()+i.slice(1);localStorage[o]&&(s.config[i]=localStorage[o])}return s.methods.refreshData=async()=>{try{const i=await fetch(s.config.URL);if(!i.ok){alert("Please check your URL.","client-error");return}const o=await i.json();for(const l in o.data)r[l]=o.data[l];alert("Data fetched successfully.","success")}catch{alert("Data fetch failed.","server-error")}},s.methods.isObject=i=>typeof i=="object"&&i!==null&&!Array.isArray(i),s.methods.isEmptyObject=i=>{if(!s.methods.isObject(i))return!1;for(const o in i)if(i.hasOwnProperty(o))return!1;return!0},[t,n]=tc(()=>s.methods.refreshData()),await t,n(),(i,o)=>{const l=co("RouterView");return we(),bt(Oe,null,[de(Bu),Ne("main",Gu,[de(l,{class:"max-w-7xl mx-auto"})])],64)}}},ur=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n},Ku={},Wu={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"};function qu(e,t){return we(),bt("svg",Wu,[...t[0]||(t[0]=[Ne("path",{d:"M256 48C141.31 48 48 141.31 48 256s93.31 208 208 208s208-93.31 208-208S370.69 48 256 48zm108.25 138.29l-134.4 160a16 16 0 0 1-12 5.71h-.27a16 16 0 0 1-11.89-5.3l-57.6-64a16 16 0 1 1 23.78-21.4l45.29 50.32l122.59-145.91a16 16 0 0 1 24.5 20.58z",fill:"currentColor"},null,-1)])])}const zu=ur(Ku,[["render",qu]]),Ju={},Yu={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"};function Qu(e,t){return we(),bt("svg",Yu,[...t[0]||(t[0]=[Ne("path",{d:"M256 48C141.31 48 48 141.31 48 256s93.31 208 208 208s208-93.31 208-208S370.69 48 256 48zm0 319.91a20 20 0 1 1 20-20a20 20 0 0 1-20 20zm21.72-201.15l-5.74 122a16 16 0 0 1-32 0l-5.74-121.94v-.05a21.74 21.74 0 1 1 43.44 0z",fill:"currentColor"},null,-1)])])}const Zu=ur(Ju,[["render",Qu]]),Xu={},ea={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"};function ta(e,t){return we(),bt("svg",ea,[...t[0]||(t[0]=[Ne("path",{d:"M256 48C141.31 48 48 141.31 48 256s93.31 208 208 208s208-93.31 208-208S370.69 48 256 48zm75.31 260.69a16 16 0 1 1-22.62 22.62L256 278.63l-52.69 52.68a16 16 0 0 1-22.62-22.62L233.37 256l-52.68-52.69a16 16 0 0 1 22.62-22.62L256 233.37l52.69-52.68a16 16 0 0 1 22.62 22.62L278.63 256z",fill:"currentColor"},null,-1)])])}const na=ur(Xu,[["render",ta]]),sa={key:0,class:"pointer-events-none fixed left-0 top-4 z-50 flex w-full justify-center leading-none"},ra={class:"mx-4 flex items-center gap-2 rounded-lg border border-slate-200 bg-white p-4 shadow"},ia={__name:"alert",setup(e){const t=In("title"),n=In(""),s=In(!1);let r;return window.alert=(i,o)=>{t.value=i,n.value=o,s.value=!0,r&&clearTimeout(r),r=setTimeout(()=>{s.value=!1,t.value="",n.value=""},3e3)},(i,o)=>(we(),Ut(Zc,{name:"custom"},{default:Yn(()=>[s.value?(we(),bt("div",sa,[Ne("div",ra,[n.value==="success"?(we(),Ut(zu,{key:0,class:"h-8 w-8 text-green-600"})):Tn("",!0),n.value==="client-error"?(we(),Ut(Zu,{key:1,class:"h-8 w-8 text-red-600"})):Tn("",!0),n.value==="server-error"?(we(),Ut(na,{key:2,class:"h-8 w-8 text-red-600"})):Tn("",!0),Ne("div",null,Ws(t.value),1)])])):Tn("",!0)]),_:1}))}},oa={__name:"App",setup(e){return(t,n)=>(we(),bt(Oe,null,[(we(),Ut(Sc,null,{default:Yn(()=>[de($u)]),_:1})),de(ia)],64))}},la="modulepreload",ca=function(e){return"/static/compass/"+e},gi={},Tt=function(t,n,s){let r=Promise.resolve();if(n&&n.length>0){let c=function(d){return Promise.all(d.map(f=>Promise.resolve(f).then(u=>({status:"fulfilled",value:u}),u=>({status:"rejected",reason:u}))))};document.getElementsByTagName("link");const o=document.querySelector("meta[property=csp-nonce]"),l=o?.nonce||o?.getAttribute("nonce");r=c(n.map(d=>{if(d=ca(d),d in gi)return;gi[d]=!0;const f=d.endsWith(".css"),u=f?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${d}"]${u}`))return;const p=document.createElement("link");if(p.rel=f?"stylesheet":la,f||(p.as="script"),p.crossOrigin="",p.href=d,l&&p.setAttribute("nonce",l),document.head.appendChild(p),f)return new Promise((m,x)=>{p.addEventListener("load",m),p.addEventListener("error",()=>x(new Error(`Unable to preload CSS for ${d}`)))})}))}function i(o){const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=o,window.dispatchEvent(l),!l.defaultPrevented)throw o}return r.then(o=>{for(const l of o||[])l.status==="rejected"&&i(l.reason);return t().catch(i)})},fa=[{path:"/",component:()=>Tt(()=>import("./home-C7i1weSE.js"),__vite__mapDeps([0,1,2,3,4,5]))},{path:"/global-middleware",component:()=>Tt(()=>import("./global-middleware-D1JBNrrW.js"),__vite__mapDeps([6,1,3]))},{path:"/middleware",component:()=>Tt(()=>import("./middleware-B1SDSS_H.js"),__vite__mapDeps([7,2,3]))},{path:"/routers",component:()=>Tt(()=>import("./routers-x0cqWJvJ.js"),__vite__mapDeps([8,4]))},{path:"/models",component:()=>Tt(()=>import("./models-BshuNPI2.js"),__vite__mapDeps([9,5]))},{path:"/config",component:()=>Tt(()=>import("./config-Bj8XL5bH.js"),[])},{path:"/requests",component:()=>Tt(()=>import("./requests-ow_59cUv.js"),[])}],ua=Lu({history:au(),routes:fa});xf(oa).use(ua).mount("#app");export{Oe as F,ur as _,Ne as a,da as b,bt as c,de as d,Io as e,Tn as f,pi as g,we as o,Xl as r,Ws as t,Lt as u,ha as v,aa as w};
@@ -1 +1 @@
1
- import{g as i,c as r,a as e,f,u as s,F as c,r as b,d as p,o as a,t as m}from"./index-D6H45Mb0.js";import{M as u}from"./middleware-example-CjbC5awT.js";import{H as _}from"./how-to-import-middleware-BWMQNy7n.js";const h={class:"flex flex-col gap-4"},w={class:"border border-slate-200 rounded-lg overflow-hidden"},x={class:"flex justify-between"},g={class:"w-full"},y={class:"px-4 py-3 w-64"},v={class:"border-l border-slate-200 px-4 py-3"},C={__name:"middleware",setup(k){const t=i("front-end"),l=i("back-end");return(D,o)=>(a(),r("div",h,[e("div",w,[e("div",x,[o[1]||(o[1]=e("div",{class:"px-4 py-3 font-bold bg-slate-100 flex-1"},"Middleware Compass",-1)),e("button",{class:"px-4 py-3 cursor-pointer border-l border-slate-200 hover:bg-slate-50 transition",onClick:o[0]||(o[0]=(...d)=>s(t).methods.refreshData&&s(t).methods.refreshData(...d))},"Refresh Data")]),e("table",g,[e("tbody",null,[(a(!0),r(c,null,b(s(l).middleware,(d,n)=>(a(),r("tr",{key:n,class:"even:bg-slate-100 border-t border-slate-200"},[e("td",y,m(n),1),e("td",v,m(d),1)]))),128))])])]),s(t).methods.isEmptyObject(s(l).middleware)||s(t).config.showDoc?(a(),r(c,{key:0},[p(u),p(_)],64)):f("",!0)]))}};export{C as default};
1
+ import{g as i,c as r,a as e,f,u as s,F as c,r as b,d as p,o as a,t as m}from"./index-C5y1FKiV.js";import{M as u}from"./middleware-example-CjtUCHgf.js";import{H as _}from"./how-to-import-middleware-DRn2rKNh.js";const h={class:"flex flex-col gap-4"},w={class:"border border-slate-200 rounded-lg overflow-hidden"},x={class:"flex justify-between"},g={class:"w-full"},y={class:"px-4 py-3 w-64"},v={class:"border-l border-slate-200 px-4 py-3"},C={__name:"middleware",setup(k){const t=i("front-end"),l=i("back-end");return(D,o)=>(a(),r("div",h,[e("div",w,[e("div",x,[o[1]||(o[1]=e("div",{class:"px-4 py-3 font-bold bg-slate-100 flex-1"},"Middleware Compass",-1)),e("button",{class:"px-4 py-3 cursor-pointer border-l border-slate-200 hover:bg-slate-50 transition",onClick:o[0]||(o[0]=(...d)=>s(t).methods.refreshData&&s(t).methods.refreshData(...d))},"Refresh Data")]),e("table",g,[e("tbody",null,[(a(!0),r(c,null,b(s(l).middleware,(d,n)=>(a(),r("tr",{key:n,class:"even:bg-slate-100 border-t border-slate-200"},[e("td",y,m(n),1),e("td",v,m(d),1)]))),128))])])]),s(t).methods.isEmptyObject(s(l).middleware)||s(t).config.showDoc?(a(),r(c,{key:0},[p(u),p(_)],64)):f("",!0)]))}};export{C as default};
@@ -1 +1 @@
1
- import{_ as r,c as d,b as t,o}from"./index-D6H45Mb0.js";const s={},a={class:"border border-slate-200 rounded-lg overflow-hidden"};function l(i,e){return o(),d("div",a,[...e[0]||(e[0]=[t('<div class="px-4 py-3 bg-slate-100 font-bold">Middleware</div><div class="px-4 py-3 border-t border-slate-200">const { middleware } = store.get(&#39;app&#39;)</div><div class="px-4 py-3 border-t border-slate-100">middleware[&#39;test&#39;] = async function (context, next) {</div><div class="px-4 py-3 border-t border-slate-100">  console.log(1)</div><div class="px-4 py-3 border-t border-slate-100">  await next()</div><div class="px-4 py-3 border-t border-slate-100">}</div>',6)])])}const n=r(s,[["render",l]]);export{n as M};
1
+ import{_ as r,c as d,b as t,o}from"./index-C5y1FKiV.js";const s={},a={class:"border border-slate-200 rounded-lg overflow-hidden"};function l(i,e){return o(),d("div",a,[...e[0]||(e[0]=[t('<div class="px-4 py-3 bg-slate-100 font-bold">Middleware</div><div class="px-4 py-3 border-t border-slate-200">const { middleware } = store.get(&#39;app&#39;)</div><div class="px-4 py-3 border-t border-slate-100">middleware[&#39;test&#39;] = async function (context, next) {</div><div class="px-4 py-3 border-t border-slate-100">  console.log(1)</div><div class="px-4 py-3 border-t border-slate-100">  await next()</div><div class="px-4 py-3 border-t border-slate-100">}</div>',6)])])}const n=r(s,[["render",l]]);export{n as M};
@@ -1 +1 @@
1
- import{g as m,c as o,a as e,f as p,u as a,F as n,d as x,r as i,o as t,t as d}from"./index-D6H45Mb0.js";import{M as v,H as y}from"./how-to-import-model-BvwXzDVv.js";const g={class:"flex flex-col gap-4"},w={class:"border border-slate-200 rounded-lg overflow-hidden"},k={class:"flex justify-between"},D={class:"bg-slate-100 font-bold flex justify-between items-center"},E={class:"px-4 py-3"},M={class:"w-full"},N={class:"border-t border-slate-200"},j={class:"border-l border-slate-200 px-4 py-3"},B={class:"border-t border-slate-200"},C={class:"border-l border-slate-200 px-4 py-3"},V={key:0,class:"border border-slate-200 m-4"},F={class:"border-t border-slate-200 flex"},H={class:"border-r border-slate-200 px-4 py-3 w-32 flex items-center"},I={class:"flex p-4 gap-4"},L={class:"px-4 py-3 border border-slate-200 rounded-lg"},O={key:1,class:"border border-slate-200 m-4"},R={class:"flex gap-4 border-t border-slate-200 p-4 flex-wrap"},S={class:"flex border border-slate-200 rounded-lg overflow-hidden"},T={class:"border-r border-slate-200 px-4 py-3 bg-slate-100"},q={class:"flex px-4 py-3 gap-4"},z={key:2,class:"border border-slate-200 m-4"},A={class:"flex gap-4 border-t border-slate-200 p-4 flex-wrap"},G={class:"flex border border-slate-200 rounded-lg overflow-hidden"},J={class:"border-r border-slate-200 px-4 py-3 bg-slate-100",title:"hook"},K={class:"flex px-4 py-3 gap-4",title:"method"},X={__name:"models",setup(P){const b=m("front-end"),f=m("back-end");return(Q,s)=>(t(),o("div",g,[e("div",w,[e("div",k,[s[1]||(s[1]=e("div",{class:"px-4 py-3 font-bold bg-slate-100 flex-1"},"Model Compass",-1)),e("button",{class:"px-4 py-3 cursor-pointer border-l border-slate-200 hover:bg-slate-50 transition",onClick:s[0]||(s[0]=(...r)=>a(b).methods.refreshData&&a(b).methods.refreshData(...r))},"Refresh Data")])]),a(b).methods.isEmptyObject(a(f).models)||a(b).config.showDoc?(t(),o(n,{key:0},[x(v),x(y)],64)):p("",!0),(t(!0),o(n,null,i(a(f).models,(r,_)=>(t(),o("div",{class:"border border-slate-200 rounded-lg overflow-hidden",key:_},[e("div",D,[e("div",E,d(_),1),s[2]||(s[2]=e("div",{class:"text-xs mr-4"},"Model",-1))]),e("table",M,[e("tbody",null,[e("tr",N,[s[3]||(s[3]=e("td",{class:"px-4 py-3 w-64"},"collection",-1)),e("td",j,d(r.collection),1)]),e("tr",B,[s[4]||(s[4]=e("td",{class:"px-4 py-3 w-64"},"documentName",-1)),e("td",C,d(r.documentName),1)])])]),s[8]||(s[8]=e("div",{class:"border-t border-slate-200"},null,-1)),r.schema?(t(),o("div",V,[s[5]||(s[5]=e("div",{class:"px-4 py-3 bg-slate-100 font-bold"},"schema",-1)),(t(!0),o(n,null,i(r.schema,(l,c)=>(t(),o("div",F,[e("div",H,d(c),1),e("div",I,[(t(!0),o(n,null,i(l,(u,h)=>(t(),o("div",L,d(h)+": "+d(u),1))),256))])]))),256))])):p("",!0),r.options?(t(),o("div",O,[s[6]||(s[6]=e("div",{class:"px-4 py-3 bg-slate-100 font-bold"},"options",-1)),e("div",R,[(t(!0),o(n,null,i(r.options,(l,c)=>(t(),o("div",S,[e("div",T,d(c),1),e("div",q,d(l),1)]))),256))])])):p("",!0),r.middleware?(t(),o("div",z,[s[7]||(s[7]=e("div",{class:"px-4 py-3 bg-slate-100 font-bold"},"middleware",-1)),e("div",A,[(t(!0),o(n,null,i(r.middleware,l=>(t(),o("div",G,[e("div",J,d(l.hook),1),e("div",K,d(l.method),1)]))),256))])])):p("",!0)]))),128))]))}};export{X as default};
1
+ import{g as m,c as o,a as e,f as p,u as a,F as n,d as x,r as i,o as t,t as d}from"./index-C5y1FKiV.js";import{M as v,H as y}from"./how-to-import-model-Dc4Nt8Mc.js";const g={class:"flex flex-col gap-4"},w={class:"border border-slate-200 rounded-lg overflow-hidden"},k={class:"flex justify-between"},D={class:"bg-slate-100 font-bold flex justify-between items-center"},E={class:"px-4 py-3"},M={class:"w-full"},N={class:"border-t border-slate-200"},j={class:"border-l border-slate-200 px-4 py-3"},B={class:"border-t border-slate-200"},C={class:"border-l border-slate-200 px-4 py-3"},V={key:0,class:"border border-slate-200 m-4"},F={class:"border-t border-slate-200 flex"},H={class:"border-r border-slate-200 px-4 py-3 w-32 flex items-center"},I={class:"flex p-4 gap-4"},L={class:"px-4 py-3 border border-slate-200 rounded-lg"},O={key:1,class:"border border-slate-200 m-4"},R={class:"flex gap-4 border-t border-slate-200 p-4 flex-wrap"},S={class:"flex border border-slate-200 rounded-lg overflow-hidden"},T={class:"border-r border-slate-200 px-4 py-3 bg-slate-100"},q={class:"flex px-4 py-3 gap-4"},z={key:2,class:"border border-slate-200 m-4"},A={class:"flex gap-4 border-t border-slate-200 p-4 flex-wrap"},G={class:"flex border border-slate-200 rounded-lg overflow-hidden"},J={class:"border-r border-slate-200 px-4 py-3 bg-slate-100",title:"hook"},K={class:"flex px-4 py-3 gap-4",title:"method"},X={__name:"models",setup(P){const b=m("front-end"),f=m("back-end");return(Q,s)=>(t(),o("div",g,[e("div",w,[e("div",k,[s[1]||(s[1]=e("div",{class:"px-4 py-3 font-bold bg-slate-100 flex-1"},"Model Compass",-1)),e("button",{class:"px-4 py-3 cursor-pointer border-l border-slate-200 hover:bg-slate-50 transition",onClick:s[0]||(s[0]=(...r)=>a(b).methods.refreshData&&a(b).methods.refreshData(...r))},"Refresh Data")])]),a(b).methods.isEmptyObject(a(f).models)||a(b).config.showDoc?(t(),o(n,{key:0},[x(v),x(y)],64)):p("",!0),(t(!0),o(n,null,i(a(f).models,(r,_)=>(t(),o("div",{class:"border border-slate-200 rounded-lg overflow-hidden",key:_},[e("div",D,[e("div",E,d(_),1),s[2]||(s[2]=e("div",{class:"text-xs mr-4"},"Model",-1))]),e("table",M,[e("tbody",null,[e("tr",N,[s[3]||(s[3]=e("td",{class:"px-4 py-3 w-64"},"collection",-1)),e("td",j,d(r.collection),1)]),e("tr",B,[s[4]||(s[4]=e("td",{class:"px-4 py-3 w-64"},"documentName",-1)),e("td",C,d(r.documentName),1)])])]),s[8]||(s[8]=e("div",{class:"border-t border-slate-200"},null,-1)),r.schema?(t(),o("div",V,[s[5]||(s[5]=e("div",{class:"px-4 py-3 bg-slate-100 font-bold"},"schema",-1)),(t(!0),o(n,null,i(r.schema,(l,c)=>(t(),o("div",F,[e("div",H,d(c),1),e("div",I,[(t(!0),o(n,null,i(l,(u,h)=>(t(),o("div",L,d(h)+": "+d(u),1))),256))])]))),256))])):p("",!0),r.options?(t(),o("div",O,[s[6]||(s[6]=e("div",{class:"px-4 py-3 bg-slate-100 font-bold"},"options",-1)),e("div",R,[(t(!0),o(n,null,i(r.options,(l,c)=>(t(),o("div",S,[e("div",T,d(c),1),e("div",q,d(l),1)]))),256))])])):p("",!0),r.middleware?(t(),o("div",z,[s[7]||(s[7]=e("div",{class:"px-4 py-3 bg-slate-100 font-bold"},"middleware",-1)),e("div",A,[(t(!0),o(n,null,i(r.middleware,l=>(t(),o("div",G,[e("div",J,d(l.hook),1),e("div",K,d(l.method),1)]))),256))])])):p("",!0)]))),128))]))}};export{X as default};
@@ -1 +1 @@
1
- import{g as R,c as u,a as e,w as r,v as a,u as l,f as U,t as z,o as f}from"./index-D6H45Mb0.js";const B={class:"flex flex-col gap-4"},E={class:"border border-slate-200 rounded-lg overflow-hidden"},V={class:"w-full"},S={class:"border-t border-slate-200"},q={class:"border-l border-slate-200 flex items-center focus-within:bg-slate-50 transition"},H={class:"border-t border-slate-200"},I={class:"border-l border-slate-200 flex items-center focus-within:bg-slate-50 transition"},L={class:"border-t border-slate-200"},k={class:"border-l border-slate-200 flex items-center focus-within:bg-slate-50 transition"},D={class:"border-t border-slate-200"},M={class:"border-l border-slate-200 flex items-center focus-within:bg-slate-50 transition"},P={class:"border-t border-slate-200"},j={class:"border-l border-slate-200 flex items-center focus-within:bg-slate-50 transition"},A={class:"border-t border-slate-200"},N={class:"border-l border-slate-200 flex items-center focus-within:bg-slate-50 transition"},Q={class:"border-t border-slate-200"},_={class:"border-l border-slate-200 flex focus-within:bg-slate-50 transition px-4 py-3"},F=["rows"],T={class:"border border-slate-200 rounded-lg overflow-hidden"},G={key:0,class:"px-4 py-3 border-t border-slate-200"},O={__name:"requests",setup(J){const o=R("front-end");async function b(){try{const{baseURL:s,path:t,query:n,method:w,body:d,authorization:v}=o.config,i=await fetch(s+t+(n?"?"+n:""),{method:w,headers:{authorization:v},body:d||null});if(!i.ok){alert("Please check your options.","client-error");return}const C=await i.json();alert("Data fetched successfully.","success"),o.cache.result=C}catch(s){o.cache.result=s.message,alert("Data fetch failed.","server-error")}}function g(s){localStorage.setItem("configBaseURL",s.target.value),alert("Change the baseURL")}function p(s){localStorage.setItem("configPath",s.target.value),alert("Change the path")}function c(s){localStorage.setItem("configQuery",s.target.value),alert("Change the query")}function y(s){localStorage.setItem("configMethod",s.target.value),alert("Change the method")}function x(s){localStorage.setItem("configAuthorization",s.target.value),alert("Change the authorization")}function h(s){localStorage.setItem("configBody",s.target.value),alert("Change the body")}function m(s){localStorage.setItem("configBodyRows",s.target.value),alert("Change the bodyRows")}return(s,t)=>(f(),u("div",B,[e("div",E,[e("div",{class:"flex justify-between"},[t[7]||(t[7]=e("div",{class:"px-4 py-3 font-bold bg-slate-100 flex-1"},"Request Compass",-1)),e("button",{class:"px-4 py-3 cursor-pointer border-l border-slate-200 hover:bg-slate-50 transition",onClick:b},"Fetch Data")]),e("table",V,[e("tbody",null,[e("tr",S,[t[9]||(t[9]=e("td",{class:"px-4 py-3 w-64"},"baseURL",-1)),e("td",q,[r(e("input",{type:"text","onUpdate:modelValue":t[0]||(t[0]=n=>l(o).config.baseURL=n),class:"w-full outline-none px-4 py-3",onChange:g},null,544),[[a,l(o).config.baseURL]]),t[8]||(t[8]=e("div",{class:"text-xs font-bold mr-4"},"Editable",-1))])]),e("tr",H,[t[11]||(t[11]=e("td",{class:"px-4 py-3 w-64"},"path",-1)),e("td",I,[r(e("input",{type:"text","onUpdate:modelValue":t[1]||(t[1]=n=>l(o).config.path=n),class:"w-full outline-none px-4 py-3",onChange:p},null,544),[[a,l(o).config.path]]),t[10]||(t[10]=e("div",{class:"text-xs font-bold mr-4"},"Editable",-1))])]),e("tr",L,[t[13]||(t[13]=e("td",{class:"px-4 py-3 w-64"},"query",-1)),e("td",k,[r(e("input",{type:"text","onUpdate:modelValue":t[2]||(t[2]=n=>l(o).config.query=n),class:"w-full outline-none px-4 py-3",onChange:c},null,544),[[a,l(o).config.query]]),t[12]||(t[12]=e("div",{class:"text-xs font-bold mr-4"},"Editable",-1))])]),e("tr",D,[t[15]||(t[15]=e("td",{class:"px-4 py-3 w-64"},"method",-1)),e("td",M,[r(e("input",{type:"text","onUpdate:modelValue":t[3]||(t[3]=n=>l(o).config.method=n),class:"w-full outline-none px-4 py-3",onChange:y},null,544),[[a,l(o).config.method]]),t[14]||(t[14]=e("div",{class:"text-xs font-bold mr-4"},"Editable",-1))])]),e("tr",P,[t[17]||(t[17]=e("td",{class:"px-4 py-3 w-64"},"authorization",-1)),e("td",j,[r(e("input",{type:"text","onUpdate:modelValue":t[4]||(t[4]=n=>l(o).config.authorization=n),class:"w-full outline-none px-4 py-3",onChange:x},null,544),[[a,l(o).config.authorization]]),t[16]||(t[16]=e("div",{class:"text-xs font-bold mr-4"},"Editable",-1))])]),e("tr",A,[t[19]||(t[19]=e("td",{class:"px-4 py-3 w-64"},"bodyRows",-1)),e("td",N,[r(e("input",{type:"text","onUpdate:modelValue":t[5]||(t[5]=n=>l(o).config.bodyRows=n),class:"w-full outline-none px-4 py-3",onChange:m},null,544),[[a,l(o).config.bodyRows,void 0,{lazy:!0}]]),t[18]||(t[18]=e("div",{class:"text-xs font-bold mr-4"},"Editable",-1))])]),e("tr",Q,[t[21]||(t[21]=e("td",{class:"px-4 py-3 w-64"},"body",-1)),e("td",_,[r(e("textarea",{type:"text","onUpdate:modelValue":t[6]||(t[6]=n=>l(o).config.body=n),class:"w-full outline-none resize-none",onChange:h,rows:l(o).config.bodyRows},null,40,F),[[a,l(o).config.body]]),t[20]||(t[20]=e("div",{class:"text-xs font-bold mt-1"},"Editable",-1))])])])])]),e("div",T,[t[22]||(t[22]=e("div",{class:"px-4 py-3 bg-slate-100 font-bold"},"Result",-1)),l(o).cache.result?(f(),u("pre",G,z(l(o).cache.result),1)):U("",!0)])]))}};export{O as default};
1
+ import{g as R,c as u,a as e,w as r,v as a,u as l,f as U,t as z,o as f}from"./index-C5y1FKiV.js";const B={class:"flex flex-col gap-4"},E={class:"border border-slate-200 rounded-lg overflow-hidden"},V={class:"w-full"},S={class:"border-t border-slate-200"},q={class:"border-l border-slate-200 flex items-center focus-within:bg-slate-50 transition"},H={class:"border-t border-slate-200"},I={class:"border-l border-slate-200 flex items-center focus-within:bg-slate-50 transition"},L={class:"border-t border-slate-200"},k={class:"border-l border-slate-200 flex items-center focus-within:bg-slate-50 transition"},D={class:"border-t border-slate-200"},M={class:"border-l border-slate-200 flex items-center focus-within:bg-slate-50 transition"},P={class:"border-t border-slate-200"},j={class:"border-l border-slate-200 flex items-center focus-within:bg-slate-50 transition"},A={class:"border-t border-slate-200"},N={class:"border-l border-slate-200 flex items-center focus-within:bg-slate-50 transition"},Q={class:"border-t border-slate-200"},_={class:"border-l border-slate-200 flex focus-within:bg-slate-50 transition px-4 py-3"},F=["rows"],T={class:"border border-slate-200 rounded-lg overflow-hidden"},G={key:0,class:"px-4 py-3 border-t border-slate-200"},O={__name:"requests",setup(J){const o=R("front-end");async function b(){try{const{baseURL:s,path:t,query:n,method:w,body:d,authorization:v}=o.config,i=await fetch(s+t+(n?"?"+n:""),{method:w,headers:{authorization:v},body:d||null});if(!i.ok){alert("Please check your options.","client-error");return}const C=await i.json();alert("Data fetched successfully.","success"),o.cache.result=C}catch(s){o.cache.result=s.message,alert("Data fetch failed.","server-error")}}function g(s){localStorage.setItem("configBaseURL",s.target.value),alert("Change the baseURL")}function p(s){localStorage.setItem("configPath",s.target.value),alert("Change the path")}function c(s){localStorage.setItem("configQuery",s.target.value),alert("Change the query")}function y(s){localStorage.setItem("configMethod",s.target.value),alert("Change the method")}function x(s){localStorage.setItem("configAuthorization",s.target.value),alert("Change the authorization")}function h(s){localStorage.setItem("configBody",s.target.value),alert("Change the body")}function m(s){localStorage.setItem("configBodyRows",s.target.value),alert("Change the bodyRows")}return(s,t)=>(f(),u("div",B,[e("div",E,[e("div",{class:"flex justify-between"},[t[7]||(t[7]=e("div",{class:"px-4 py-3 font-bold bg-slate-100 flex-1"},"Request Compass",-1)),e("button",{class:"px-4 py-3 cursor-pointer border-l border-slate-200 hover:bg-slate-50 transition",onClick:b},"Fetch Data")]),e("table",V,[e("tbody",null,[e("tr",S,[t[9]||(t[9]=e("td",{class:"px-4 py-3 w-64"},"baseURL",-1)),e("td",q,[r(e("input",{type:"text","onUpdate:modelValue":t[0]||(t[0]=n=>l(o).config.baseURL=n),class:"w-full outline-none px-4 py-3",onChange:g},null,544),[[a,l(o).config.baseURL]]),t[8]||(t[8]=e("div",{class:"text-xs font-bold mr-4"},"Editable",-1))])]),e("tr",H,[t[11]||(t[11]=e("td",{class:"px-4 py-3 w-64"},"path",-1)),e("td",I,[r(e("input",{type:"text","onUpdate:modelValue":t[1]||(t[1]=n=>l(o).config.path=n),class:"w-full outline-none px-4 py-3",onChange:p},null,544),[[a,l(o).config.path]]),t[10]||(t[10]=e("div",{class:"text-xs font-bold mr-4"},"Editable",-1))])]),e("tr",L,[t[13]||(t[13]=e("td",{class:"px-4 py-3 w-64"},"query",-1)),e("td",k,[r(e("input",{type:"text","onUpdate:modelValue":t[2]||(t[2]=n=>l(o).config.query=n),class:"w-full outline-none px-4 py-3",onChange:c},null,544),[[a,l(o).config.query]]),t[12]||(t[12]=e("div",{class:"text-xs font-bold mr-4"},"Editable",-1))])]),e("tr",D,[t[15]||(t[15]=e("td",{class:"px-4 py-3 w-64"},"method",-1)),e("td",M,[r(e("input",{type:"text","onUpdate:modelValue":t[3]||(t[3]=n=>l(o).config.method=n),class:"w-full outline-none px-4 py-3",onChange:y},null,544),[[a,l(o).config.method]]),t[14]||(t[14]=e("div",{class:"text-xs font-bold mr-4"},"Editable",-1))])]),e("tr",P,[t[17]||(t[17]=e("td",{class:"px-4 py-3 w-64"},"authorization",-1)),e("td",j,[r(e("input",{type:"text","onUpdate:modelValue":t[4]||(t[4]=n=>l(o).config.authorization=n),class:"w-full outline-none px-4 py-3",onChange:x},null,544),[[a,l(o).config.authorization]]),t[16]||(t[16]=e("div",{class:"text-xs font-bold mr-4"},"Editable",-1))])]),e("tr",A,[t[19]||(t[19]=e("td",{class:"px-4 py-3 w-64"},"bodyRows",-1)),e("td",N,[r(e("input",{type:"text","onUpdate:modelValue":t[5]||(t[5]=n=>l(o).config.bodyRows=n),class:"w-full outline-none px-4 py-3",onChange:m},null,544),[[a,l(o).config.bodyRows,void 0,{lazy:!0}]]),t[18]||(t[18]=e("div",{class:"text-xs font-bold mr-4"},"Editable",-1))])]),e("tr",Q,[t[21]||(t[21]=e("td",{class:"px-4 py-3 w-64"},"body",-1)),e("td",_,[r(e("textarea",{type:"text","onUpdate:modelValue":t[6]||(t[6]=n=>l(o).config.body=n),class:"w-full outline-none resize-none",onChange:h,rows:l(o).config.bodyRows},null,40,F),[[a,l(o).config.body]]),t[20]||(t[20]=e("div",{class:"text-xs font-bold mt-1"},"Editable",-1))])])])])]),e("div",T,[t[22]||(t[22]=e("div",{class:"px-4 py-3 bg-slate-100 font-bold"},"Result",-1)),l(o).cache.result?(f(),u("pre",G,z(l(o).cache.result),1)):U("",!0)])]))}};export{O as default};
@@ -1 +1 @@
1
- import{_ as m,c as s,o as r,a as e,g as x,f as p,u as b,F as i,d as a,r as c,t as o}from"./index-D6H45Mb0.js";import{R as g,a as y,b as w,c as k,d as R,e as D,H as A,f as C,g as F}from"./how-to-import-dev-router-Chu2o0sm.js";const $={name:"LucideArrowRightFromLine"},E={xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24"};function j(v,u,_,h,t,d){return r(),s("svg",E,[...u[0]||(u[0]=[e("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M3 5v14m18-7H7m8 6l6-6l-6-6"},null,-1)])])}const B=m($,[["render",j]]),H={class:"flex flex-col gap-4"},L={class:"border border-slate-200 rounded-lg overflow-hidden"},O={class:"flex justify-between"},I={class:"bg-slate-100 font-bold flex justify-between items-center"},N={class:"px-4 py-3"},V={class:"px-4 py-3 border-t border-slate-200"},T={class:"w-full"},U={class:"border-t border-slate-200"},M={class:"px-4 py-3 w-64"},S={class:"border-l border-slate-200"},q={key:0,class:"flex px-4 pt-4 gap-4 flex-wrap"},z=["title"],G={class:"border-r border-slate-200 px-4 py-1 bg-slate-100"},J={class:"px-4 py-3"},K={class:"border border-slate-200 m-4"},P={class:"flex justify-between bg-slate-100 font-bold items-center"},Q={class:"px-4 py-3"},W={class:"border-t border-slate-200 flex"},X={class:"flex p-4 gap-4 flex-wrap"},Y={class:"px-4 py-3 border border-slate-200 rounded-lg"},Z={key:0,class:"px-4 py-3 border border-slate-200 rounded-lg"},ee={class:"border-t border-slate-200 flex"},se={class:"flex p-4 gap-4 flex-wrap"},re={class:"px-4 py-3 border border-slate-200 rounded-lg"},te={key:0,class:"px-4 py-3 border border-slate-200 rounded-lg"},de={class:"border-t border-slate-200 flex"},oe={class:"flex p-4 gap-4 flex-wrap"},le={class:"px-4 py-3 border border-slate-200 rounded-lg"},ne={key:0,class:"px-4 py-3 border border-slate-200 rounded-lg"},ae={class:"border-t border-slate-200 flex"},ie={class:"flex p-4 gap-4 flex-wrap"},ce={class:"px-4 py-3 border border-slate-200 rounded-lg"},pe={key:0,class:"px-4 py-3 border border-slate-200 rounded-lg"},be={class:"border-t border-slate-200 flex"},ue={class:"flex p-4 gap-4 flex-wrap"},_e={class:"px-4 py-3 border border-slate-200 rounded-lg"},fe={key:0,class:"px-4 py-3 border border-slate-200 rounded-lg"},he={__name:"routers",setup(v){const u=x("front-end"),_=x("back-end");return(h,t)=>(r(),s("div",H,[e("div",L,[e("div",O,[t[1]||(t[1]=e("div",{class:"px-4 py-3 font-bold bg-slate-100 flex-1"},"Router Compass",-1)),e("button",{class:"px-4 py-3 cursor-pointer border-l border-slate-200 hover:bg-slate-50 transition",onClick:t[0]||(t[0]=(...d)=>b(u).methods.refreshData&&b(u).methods.refreshData(...d))},"Refresh Data")])]),!b(_).routers||b(_).routers.length===0||b(u).config.showDoc?(r(),s(i,{key:0},[a(g),a(y),a(w),a(k),a(R),a(D),a(A),a(C),a(F)],64)):p("",!0),(r(!0),s(i,null,c(b(_).routers,d=>(r(),s("div",{class:"border border-slate-200 rounded-lg overflow-hidden",key:d.path},[e("div",null,[e("div",I,[e("div",N,o(d.path),1),t[2]||(t[2]=e("div",{class:"text-xs mr-4"},"Router",-1))]),e("div",V,o(d.description),1)]),e("table",T,[e("tbody",null,[(r(!0),s(i,null,c(d.events,(l,n)=>(r(),s("tr",U,[e("td",M,o(n),1),e("td",S,[l.middleware?(r(),s("div",q,[(r(!0),s(i,null,c(l.middleware,f=>(r(),s("div",{key:f,class:"pr-4 border border-slate-200 bg-white flex items-center gap-4",title:b(_).middleware[f]},[e("div",G,o(f),1),a(B)],8,z))),128))])):p("",!0),e("div",J,o(l.description),1)])]))),256))])]),t[9]||(t[9]=e("div",{class:"border-t border-slate-200"},null,-1)),e("div",K,[e("div",P,[e("div",Q,o(d.crud.model),1),t[3]||(t[3]=e("div",{class:"text-xs mr-4"},"CRUD",-1))]),e("div",W,[t[4]||(t[4]=e("div",{class:"border-r border-slate-200 px-4 py-3 w-32 flex items-center shrink-0"},"findAll",-1)),e("div",X,[(r(!0),s(i,null,c(d.crud.findAll,(l,n)=>(r(),s("div",Y,o(n)+": "+o(l),1))),256)),d.crud.findAll?p("",!0):(r(),s("div",Z,"enable: false"))])]),e("div",ee,[t[5]||(t[5]=e("div",{class:"border-r border-slate-200 px-4 py-3 w-32 flex items-center shrink-0"},"findOne",-1)),e("div",se,[(r(!0),s(i,null,c(d.crud.findOne,(l,n)=>(r(),s("div",re,o(n)+": "+o(l),1))),256)),d.crud.findOne?p("",!0):(r(),s("div",te,"enable: false"))])]),e("div",de,[t[6]||(t[6]=e("div",{class:"border-r border-slate-200 px-4 py-3 w-32 flex items-center shrink-0"},"create",-1)),e("div",oe,[(r(!0),s(i,null,c(d.crud.create,(l,n)=>(r(),s("div",le,o(n)+": "+o(l),1))),256)),d.crud.create?p("",!0):(r(),s("div",ne,"enable: false"))])]),e("div",ae,[t[7]||(t[7]=e("div",{class:"border-r border-slate-200 px-4 py-3 w-32 flex items-center shrink-0"},"update",-1)),e("div",ie,[(r(!0),s(i,null,c(d.crud.update,(l,n)=>(r(),s("div",ce,o(n)+": "+o(l),1))),256)),d.crud.update?p("",!0):(r(),s("div",pe,"enable: false"))])]),e("div",be,[t[8]||(t[8]=e("div",{class:"border-r border-slate-200 px-4 py-3 w-32 flex items-center shrink-0"},"remove",-1)),e("div",ue,[(r(!0),s(i,null,c(d.crud.remove,(l,n)=>(r(),s("div",_e,o(n)+": "+o(l),1))),256)),d.crud.remove?p("",!0):(r(),s("div",fe,"enable: false"))])])])]))),128))]))}};export{he as default};
1
+ import{_ as m,c as s,o as r,a as e,g as x,f as p,u as b,F as i,d as a,r as c,t as o}from"./index-C5y1FKiV.js";import{R as g,a as y,b as w,c as k,d as R,e as D,H as A,f as C,g as F}from"./how-to-import-dev-router-DjZWhZMa.js";const $={name:"LucideArrowRightFromLine"},E={xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24"};function j(v,u,_,h,t,d){return r(),s("svg",E,[...u[0]||(u[0]=[e("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M3 5v14m18-7H7m8 6l6-6l-6-6"},null,-1)])])}const B=m($,[["render",j]]),H={class:"flex flex-col gap-4"},L={class:"border border-slate-200 rounded-lg overflow-hidden"},O={class:"flex justify-between"},I={class:"bg-slate-100 font-bold flex justify-between items-center"},N={class:"px-4 py-3"},V={class:"px-4 py-3 border-t border-slate-200"},T={class:"w-full"},U={class:"border-t border-slate-200"},M={class:"px-4 py-3 w-64"},S={class:"border-l border-slate-200"},q={key:0,class:"flex px-4 pt-4 gap-4 flex-wrap"},z=["title"],G={class:"border-r border-slate-200 px-4 py-1 bg-slate-100"},J={class:"px-4 py-3"},K={class:"border border-slate-200 m-4"},P={class:"flex justify-between bg-slate-100 font-bold items-center"},Q={class:"px-4 py-3"},W={class:"border-t border-slate-200 flex"},X={class:"flex p-4 gap-4 flex-wrap"},Y={class:"px-4 py-3 border border-slate-200 rounded-lg"},Z={key:0,class:"px-4 py-3 border border-slate-200 rounded-lg"},ee={class:"border-t border-slate-200 flex"},se={class:"flex p-4 gap-4 flex-wrap"},re={class:"px-4 py-3 border border-slate-200 rounded-lg"},te={key:0,class:"px-4 py-3 border border-slate-200 rounded-lg"},de={class:"border-t border-slate-200 flex"},oe={class:"flex p-4 gap-4 flex-wrap"},le={class:"px-4 py-3 border border-slate-200 rounded-lg"},ne={key:0,class:"px-4 py-3 border border-slate-200 rounded-lg"},ae={class:"border-t border-slate-200 flex"},ie={class:"flex p-4 gap-4 flex-wrap"},ce={class:"px-4 py-3 border border-slate-200 rounded-lg"},pe={key:0,class:"px-4 py-3 border border-slate-200 rounded-lg"},be={class:"border-t border-slate-200 flex"},ue={class:"flex p-4 gap-4 flex-wrap"},_e={class:"px-4 py-3 border border-slate-200 rounded-lg"},fe={key:0,class:"px-4 py-3 border border-slate-200 rounded-lg"},he={__name:"routers",setup(v){const u=x("front-end"),_=x("back-end");return(h,t)=>(r(),s("div",H,[e("div",L,[e("div",O,[t[1]||(t[1]=e("div",{class:"px-4 py-3 font-bold bg-slate-100 flex-1"},"Router Compass",-1)),e("button",{class:"px-4 py-3 cursor-pointer border-l border-slate-200 hover:bg-slate-50 transition",onClick:t[0]||(t[0]=(...d)=>b(u).methods.refreshData&&b(u).methods.refreshData(...d))},"Refresh Data")])]),!b(_).routers||b(_).routers.length===0||b(u).config.showDoc?(r(),s(i,{key:0},[a(g),a(y),a(w),a(k),a(R),a(D),a(A),a(C),a(F)],64)):p("",!0),(r(!0),s(i,null,c(b(_).routers,d=>(r(),s("div",{class:"border border-slate-200 rounded-lg overflow-hidden",key:d.path},[e("div",null,[e("div",I,[e("div",N,o(d.path),1),t[2]||(t[2]=e("div",{class:"text-xs mr-4"},"Router",-1))]),e("div",V,o(d.description),1)]),e("table",T,[e("tbody",null,[(r(!0),s(i,null,c(d.events,(l,n)=>(r(),s("tr",U,[e("td",M,o(n),1),e("td",S,[l.middleware?(r(),s("div",q,[(r(!0),s(i,null,c(l.middleware,f=>(r(),s("div",{key:f,class:"pr-4 border border-slate-200 bg-white flex items-center gap-4",title:b(_).middleware[f]},[e("div",G,o(f),1),a(B)],8,z))),128))])):p("",!0),e("div",J,o(l.description),1)])]))),256))])]),t[9]||(t[9]=e("div",{class:"border-t border-slate-200"},null,-1)),e("div",K,[e("div",P,[e("div",Q,o(d.crud.model),1),t[3]||(t[3]=e("div",{class:"text-xs mr-4"},"CRUD",-1))]),e("div",W,[t[4]||(t[4]=e("div",{class:"border-r border-slate-200 px-4 py-3 w-32 flex items-center shrink-0"},"findAll",-1)),e("div",X,[(r(!0),s(i,null,c(d.crud.findAll,(l,n)=>(r(),s("div",Y,o(n)+": "+o(l),1))),256)),d.crud.findAll?p("",!0):(r(),s("div",Z,"enable: false"))])]),e("div",ee,[t[5]||(t[5]=e("div",{class:"border-r border-slate-200 px-4 py-3 w-32 flex items-center shrink-0"},"findOne",-1)),e("div",se,[(r(!0),s(i,null,c(d.crud.findOne,(l,n)=>(r(),s("div",re,o(n)+": "+o(l),1))),256)),d.crud.findOne?p("",!0):(r(),s("div",te,"enable: false"))])]),e("div",de,[t[6]||(t[6]=e("div",{class:"border-r border-slate-200 px-4 py-3 w-32 flex items-center shrink-0"},"create",-1)),e("div",oe,[(r(!0),s(i,null,c(d.crud.create,(l,n)=>(r(),s("div",le,o(n)+": "+o(l),1))),256)),d.crud.create?p("",!0):(r(),s("div",ne,"enable: false"))])]),e("div",ae,[t[7]||(t[7]=e("div",{class:"border-r border-slate-200 px-4 py-3 w-32 flex items-center shrink-0"},"update",-1)),e("div",ie,[(r(!0),s(i,null,c(d.crud.update,(l,n)=>(r(),s("div",ce,o(n)+": "+o(l),1))),256)),d.crud.update?p("",!0):(r(),s("div",pe,"enable: false"))])]),e("div",be,[t[8]||(t[8]=e("div",{class:"border-r border-slate-200 px-4 py-3 w-32 flex items-center shrink-0"},"remove",-1)),e("div",ue,[(r(!0),s(i,null,c(d.crud.remove,(l,n)=>(r(),s("div",_e,o(n)+": "+o(l),1))),256)),d.crud.remove?p("",!0):(r(),s("div",fe,"enable: false"))])])])]))),128))]))}};export{he as default};
@@ -5,7 +5,7 @@
5
5
  <link rel="icon" type="image/svg+xml" href="/static/compass/vite.svg" />
6
6
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7
7
  <title>nkvs-mongoose-hono-compass</title>
8
- <script type="module" crossorigin src="/static/compass/assets/index-D6H45Mb0.js"></script>
8
+ <script type="module" crossorigin src="/static/compass/assets/index-C5y1FKiV.js"></script>
9
9
  <link rel="stylesheet" crossorigin href="/static/compass/assets/index-Cu-UoRpJ.css">
10
10
  </head>
11
11
  <body>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-nkvs-mongoose-hono",
3
- "version": "1.0.2",
3
+ "version": "1.0.4",
4
4
  "description": "Create a mongoose-hono project.",
5
5
  "bin": {
6
6
  "create-nkvs-mongoose-hono": "index.js"
@@ -1 +0,0 @@
1
- import{_ as e,c as t,b as l,o as d,a as o}from"./index-D6H45Mb0.js";const a={},p={class:"border border-slate-200 rounded-lg overflow-hidden"};function b(s,r){return d(),t("div",p,[...r[0]||(r[0]=[l('<div class="px-4 py-3 bg-slate-100 font-bold">Router</div><div class="px-4 py-3 border-t border-slate-200">store.get(&#39;app&#39;).routers.push({</div><div class="px-4 py-3 border-t border-slate-100">  path: &#39;/apples&#39;,</div><div class="px-4 py-3 border-t border-slate-100">  crud: {</div><div class="px-4 py-3 border-t border-slate-100">    model: &#39;Apple&#39;,</div><div class="px-4 py-3 border-t border-slate-100">    findAll: { count: true, populate: &#39;color&#39;, limit: 5 }</div><div class="px-4 py-3 border-t border-slate-100">    findOne: { populate: &#39;color&#39; }</div><div class="px-4 py-3 border-t border-slate-100">  },</div><div class="px-4 py-3 border-t border-slate-100">  events: {</div><div class="px-4 py-3 border-t border-slate-100">    &#39;GET /test&#39;: { middleware: [&#39;test&#39;], async handler({ json }) { return json({}) } }</div><div class="px-4 py-3 border-t border-slate-100">  }</div><div class="px-4 py-3 border-t border-slate-100">)}</div>',12)])])}const H=e(a,[["render",b]]),c={},n={class:"border border-slate-200 rounded-lg overflow-hidden"};function i(s,r){return d(),t("div",n,[...r[0]||(r[0]=[l('<div class="px-4 py-3 bg-slate-100 font-bold">Router / findAll</div><div class="px-4 py-3 border-t border-slate-200">Boolean or Object</div><table class="w-full"><thead><tr class="border-t border-slate-200"><th class="px-4 py-3 text-left w-32">Name</th><th class="px-4 py-3 border-l border-slate-200 text-left w-96">Type</th><th class="px-4 py-3 border-l border-slate-200 text-left">Example</th></tr></thead><tbody><tr class="border-t border-slate-200"><td class="px-4 py-3">middleware</td><td class="px-4 py-3 border-l border-slate-200">Array-String</td><td class="px-4 py-3 border-l border-slate-200">[&#39;test&#39;]</td></tr><tr class="border-t border-slate-200"><td class="px-4 py-3">filter</td><td class="px-4 py-3 border-l border-slate-200">Object</td><td class="px-4 py-3 border-l border-slate-200">{ &#39;age[gte]&#39;: 18 }</td></tr><tr class="border-t border-slate-200"><td class="px-4 py-3">fields</td><td class="px-4 py-3 border-l border-slate-200">String</td><td class="px-4 py-3 border-l border-slate-200">&#39;name color&#39; ✅, &#39;name -createdAt&#39; ❌, &#39;-createdAt -upadtedAt&#39; ❌</td></tr><tr class="border-t border-slate-200"><td class="px-4 py-3">sort</td><td class="px-4 py-3 border-l border-slate-200">String</td><td class="px-4 py-3 border-l border-slate-200">&#39;-createdAt&#39;</td></tr><tr class="border-t border-slate-200"><td class="px-4 py-3">page</td><td class="px-4 py-3 border-l border-slate-200">Number</td><td class="px-4 py-3 border-l border-slate-200">1</td></tr><tr class="border-t border-slate-200"><td class="px-4 py-3">limit</td><td class="px-4 py-3 border-l border-slate-200">Number or Boolean</td><td class="px-4 py-3 border-l border-slate-200">false, 10, If number &gt; 300 then number = 300</td></tr><tr class="border-t border-slate-200"><td class="px-4 py-3">populate</td><td class="px-4 py-3 border-l border-slate-200">String or Object or Array-Object</td><td class="px-4 py-3 border-l border-slate-200">&#39;color&#39;, { path: &#39;color&#39;, select: &#39;name&#39;, populate: {} }, [{ path: &#39;color&#39; }]</td></tr><tr class="border-t border-slate-200"><td class="px-4 py-3">count</td><td class="px-4 py-3 border-l border-slate-200">Boolean</td><td class="px-4 py-3 border-l border-slate-200">true</td></tr></tbody></table>',3)])])}const I=e(c,[["render",i]]),x={},y={class:"border border-slate-200 rounded-lg overflow-hidden"};function v(s,r){return d(),t("div",y,[...r[0]||(r[0]=[l('<div class="px-4 py-3 bg-slate-100 font-bold">Router / findOne</div><div class="px-4 py-3 border-t border-slate-200">Boolean or Object</div><table class="w-full"><thead><tr class="border-t border-slate-200"><th class="px-4 py-3 text-left w-32">Name</th><th class="px-4 py-3 border-l border-slate-200 text-left w-96">Type</th><th class="px-4 py-3 border-l border-slate-200 text-left">Example</th></tr></thead><tbody><tr class="border-t border-slate-200"><td class="px-4 py-3">middleware</td><td class="px-4 py-3 border-l border-slate-200">Array-String</td><td class="px-4 py-3 border-l border-slate-200">[&#39;test&#39;]</td></tr><tr class="border-t border-slate-200"><td class="px-4 py-3">filter</td><td class="px-4 py-3 border-l border-slate-200">Object</td><td class="px-4 py-3 border-l border-slate-200">{ &#39;age[gte]&#39;: 18 }</td></tr><tr class="border-t border-slate-200"><td class="px-4 py-3">fields</td><td class="px-4 py-3 border-l border-slate-200">String</td><td class="px-4 py-3 border-l border-slate-200">&#39;name color&#39; ✅, &#39;name -createdAt&#39; ❌, &#39;-createdAt -upadtedAt&#39; ❌</td></tr><tr class="border-t border-slate-200"><td class="px-4 py-3">populate</td><td class="px-4 py-3 border-l border-slate-200">String or Object or Array-Object</td><td class="px-4 py-3 border-l border-slate-200">&#39;color&#39;, { path: &#39;color&#39;, select: &#39;name&#39;, populate: {} }, [{ path: &#39;color&#39; }]</td></tr></tbody></table>',3)])])}const k=e(x,[["render",v]]),f={},u={class:"border border-slate-200 rounded-lg overflow-hidden"};function _(s,r){return d(),t("div",u,[...r[0]||(r[0]=[l('<div class="px-4 py-3 bg-slate-100 font-bold">Router / create</div><div class="px-4 py-3 border-t border-slate-200">Boolean or Object</div><table class="w-full"><thead><tr class="border-t border-slate-200"><th class="px-4 py-3 text-left w-32">Name</th><th class="px-4 py-3 border-l border-slate-200 text-left w-96">Type</th><th class="px-4 py-3 border-l border-slate-200 text-left">Example</th></tr></thead><tbody><tr class="border-t border-slate-200"><td class="px-4 py-3">middleware</td><td class="px-4 py-3 border-l border-slate-200">Array-String</td><td class="px-4 py-3 border-l border-slate-200">[&#39;test&#39;]</td></tr></tbody></table>',3)])])}const G=e(f,[["render",_]]),h={},m={class:"border border-slate-200 rounded-lg overflow-hidden"};function g(s,r){return d(),t("div",m,[...r[0]||(r[0]=[l('<div class="px-4 py-3 bg-slate-100 font-bold">Router / update</div><div class="px-4 py-3 border-t border-slate-200">Boolean or Object</div><table class="w-full"><thead><tr class="border-t border-slate-200"><th class="px-4 py-3 text-left w-32">Name</th><th class="px-4 py-3 border-l border-slate-200 text-left w-96">Type</th><th class="px-4 py-3 border-l border-slate-200 text-left">Example</th></tr></thead><tbody><tr class="border-t border-slate-200"><td class="px-4 py-3">middleware</td><td class="px-4 py-3 border-l border-slate-200">Array-String</td><td class="px-4 py-3 border-l border-slate-200">[&#39;test&#39;]</td></tr><tr class="border-t border-slate-200"><td class="px-4 py-3">ignoreFields</td><td class="px-4 py-3 border-l border-slate-200">Array</td><td class="px-4 py-3 border-l border-slate-200">[&#39;active&#39;]</td></tr><tr class="border-t border-slate-200"><td class="px-4 py-3">options</td><td class="px-4 py-3 border-l border-slate-200">Object</td><td class="px-4 py-3 border-l border-slate-200">{ new: true }</td></tr></tbody></table>',3)])])}const V=e(h,[["render",g]]),w={},$={class:"border border-slate-200 rounded-lg overflow-hidden"};function A(s,r){return d(),t("div",$,[...r[0]||(r[0]=[l('<div class="px-4 py-3 bg-slate-100 font-bold">Router / remove</div><div class="px-4 py-3 border-t border-slate-200">Boolean or Object</div><table class="w-full"><thead><tr class="border-t border-slate-200"><th class="px-4 py-3 text-left w-32">Name</th><th class="px-4 py-3 border-l border-slate-200 text-left w-96">Type</th><th class="px-4 py-3 border-l border-slate-200 text-left">Example</th></tr></thead><tbody><tr class="border-t border-slate-200"><td class="px-4 py-3">middleware</td><td class="px-4 py-3 border-l border-slate-200">Array-String</td><td class="px-4 py-3 border-l border-slate-200">[&#39;test&#39;]</td></tr></tbody></table>',3)])])}const C=e(w,[["render",A]]),R={},j={class:"border border-slate-200 rounded-lg overflow-hidden"};function O(s,r){return d(),t("div",j,[...r[0]||(r[0]=[o("div",{class:"px-4 py-3 bg-slate-100 font-bold"},"Router / _import.js",-1),o("div",{class:"px-4 py-3 border-t border-slate-200"},"import './apples.js'",-1)])])}const U=e(R,[["render",O]]),S={},B={class:"border border-slate-200 rounded-lg overflow-hidden"};function E(s,r){return d(),t("div",B,[...r[0]||(r[0]=[l('<div class="px-4 py-3 bg-slate-100 font-bold">Router - Dev</div><div class="px-4 py-3 border-t border-slate-200">store.get(&#39;_app&#39;).routers[&#39;/apples&#39;] = {</div><div class="px-4 py-3 border-t border-slate-100">  description: &#39;Apple&#39;,</div><div class="px-4 py-3 border-t border-slate-100">  events: {</div><div class="px-4 py-3 border-t border-slate-100">    &#39;GET /test&#39;: { description: &#39;Apple test interface.&#39; }</div><div class="px-4 py-3 border-t border-slate-100">  }</div><div class="px-4 py-3 border-t border-slate-100">}</div>',7)])])}const q=e(S,[["render",E]]),D={},N={class:"border border-slate-200 rounded-lg overflow-hidden"};function T(s,r){return d(),t("div",N,[...r[0]||(r[0]=[o("div",{class:"px-4 py-3 bg-slate-100 font-bold"},"Router - Dev / _import.dev.js",-1),o("div",{class:"px-4 py-3 border-t border-slate-200"},"import './apples.dev.js'",-1)])])}const z=e(D,[["render",T]]);export{U as H,H as R,I as a,k as b,G as c,V as d,C as e,q as f,z as g};
@@ -1 +0,0 @@
1
- import{_ as d,c as o,b as a,o as s,a as r}from"./index-D6H45Mb0.js";const l={},p={class:"border border-slate-200 rounded-lg overflow-hidden"};function i(t,e){return s(),o("div",p,[...e[0]||(e[0]=[a('<div class="px-4 py-3 bg-slate-100 font-bold">Model</div><div class="px-4 py-3 border-t border-slate-200">store.get(&#39;app&#39;).models.Apple = {</div><div class="px-4 py-3 border-t border-slate-100">  collection: &#39;apples&#39;,</div><div class="px-4 py-3 border-t border-slate-100">  documentName: &#39;apple&#39;,</div><div class="px-4 py-3 border-t border-slate-100">  schema: {</div><div class="px-4 py-3 border-t border-slate-100">    name: { type: &#39;String&#39;, required: true },</div><div class="px-4 py-3 border-t border-slate-100">    color: { type: &#39;ObjectId&#39;, ref: &#39;Color&#39; },</div><div class="px-4 py-3 border-t border-slate-100">  },</div><div class="px-4 py-3 border-t border-slate-100">  options: { timestamps: true, methods: {}, statics: {} },</div><div class="px-4 py-3 border-t border-slate-100">  middleware: [{ hook: &#39;pre&#39;, &#39;method&#39;: &#39;save&#39;, async handler(doc) {} }]</div><div class="px-4 py-3 border-t border-slate-100">}</div>',11)])])}const m=d(l,[["render",i]]),c={},b={class:"border border-slate-200 rounded-lg overflow-hidden"};function n(t,e){return s(),o("div",b,[...e[0]||(e[0]=[r("div",{class:"px-4 py-3 bg-slate-100 font-bold"},"Model / _import.js",-1),r("div",{class:"px-4 py-3 border-t border-slate-200"},"import './Apple.js'",-1),r("div",{class:"px-4 py-3 border-t border-slate-100"},"import './Color.js'",-1)])])}const x=d(c,[["render",n]]);export{x as H,m as M};