@ipa-community/element-plus 0.0.2 → 0.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 +6 -4
- package/components.d.ts +2 -1
- package/eslint.config.js +7 -1
- package/lib/ElAuthCode-BtEs4aSF.js +84 -0
- package/lib/ElAuthCode-CjW7VQCs.cjs +1 -0
- package/lib/{index-DD0ylEu2.js → ElTablePlus-BFmsdH61.js} +1759 -1759
- package/lib/ElTablePlus-DGAKgtzB.cjs +13 -0
- package/lib/HelloWorld-DUGHI-ql.js +872 -0
- package/lib/HelloWorld-DkE5myvU.cjs +1 -0
- package/lib/_plugin-vue_export-helper-BHFhmbuH.cjs +1 -0
- package/lib/_plugin-vue_export-helper-CHgC5LLL.js +9 -0
- package/lib/assets/ElAuthCode.css +1 -0
- package/lib/{index.css → assets/ElTablePlus.css} +1 -1
- package/lib/assets/HelloWorld.css +1 -0
- package/lib/assets/base.css +1 -0
- package/lib/assets/index.css +1 -0
- package/lib/base-BKS5Bata.cjs +8 -0
- package/lib/base-D3FwvTBU.js +1648 -0
- package/lib/components/index.d.ts +64 -9
- package/lib/components/input/ElAuthCode.vue.d.ts +53 -0
- package/lib/components/{ElTablePlus/index.vue.d.ts → table/ElTablePlus.vue.d.ts} +3 -3
- package/lib/components/{ElTablePlus → table}/types.d.ts +1 -1
- package/lib/{index-CUQIwkb8.cjs → index-B9aGVsah.cjs} +1 -1
- package/lib/index-C3NSW_8F.cjs +6 -0
- package/lib/index-Dkgs1rld.js +3784 -0
- package/lib/{index-Dqu6455K.js → index-DlT5uboQ.js} +1 -1
- package/lib/index.cjs +1 -1
- package/lib/index.es.js +11 -10
- package/lib/index.umd.js +14 -42
- package/lib/{table-pPX_scdG.cjs → table-DnNkGrLR.cjs} +1 -1
- package/lib/{table-Dw-Nh_fr.js → table-T2Jkjf7q.js} +1 -1
- package/package.json +1 -1
- package/lib/index-B64Elx8V.cjs +0 -41
- package/lib/index-CMrOepdZ.js +0 -11923
- package/lib/index-DpfpHOHg.cjs +0 -13
- package/lib/index2.css +0 -1
- package/lib/types/page.d.ts +0 -25
|
@@ -1,17 +1,16 @@
|
|
|
1
|
-
export { default as HelloWorld } from "./HelloWorld.vue";
|
|
2
1
|
export declare const ElTablePlus: <T extends Record<string, any> = any>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: {
|
|
3
2
|
attrs: any;
|
|
3
|
+
emit: (((evt: "page-change", page: number, pageSize: number) => void) & ((evt: "size-change", pageSize: number) => void) & ((evt: "load-success", data: T[], total: number) => void) & ((evt: "load-error", error: any) => void) & ((evt: "update:modelValue", tableData: T[]) => void)) & ((evt: "update:modelValue", value: T[]) => void);
|
|
4
4
|
slots: {
|
|
5
5
|
header?: (props: {}) => any;
|
|
6
6
|
} & {
|
|
7
7
|
empty?: (props: {}) => any;
|
|
8
8
|
};
|
|
9
|
-
emit: (((evt: "page-change", page: number, pageSize: number) => void) & ((evt: "size-change", pageSize: number) => void) & ((evt: "load-success", data: T[], total: number) => void) & ((evt: "load-error", error: any) => void) & ((evt: "update:modelValue", tableData: T[]) => void)) & ((evt: "update:modelValue", value: T[]) => void);
|
|
10
9
|
}, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
11
10
|
props: {
|
|
12
|
-
fetchData?: ((params: import("
|
|
13
|
-
columns?: import("./
|
|
14
|
-
columnMergeMode?: import("./
|
|
11
|
+
fetchData?: ((params: import("@ipa-schema/api").Pager) => Promise<import("@ipa-schema/api").PageResult<T> | undefined>) | undefined;
|
|
12
|
+
columns?: import("./table/types.js").TableColumn<any>[] | undefined;
|
|
13
|
+
columnMergeMode?: import("./table/types.js").ColumnMergeMode | undefined;
|
|
15
14
|
hiddenColumns?: string[] | undefined;
|
|
16
15
|
showColumns?: string[] | undefined;
|
|
17
16
|
autoLoad?: boolean | undefined;
|
|
@@ -24,7 +23,7 @@ export declare const ElTablePlus: <T extends Record<string, any> = any>(__VLS_pr
|
|
|
24
23
|
emptyText?: string | undefined;
|
|
25
24
|
version?: "v1" | "v2" | undefined;
|
|
26
25
|
tableProps?: Record<string, any> | undefined;
|
|
27
|
-
columnProps?: Record<string, Partial<import("./
|
|
26
|
+
columnProps?: Record<string, Partial<import("./table/types.js").TableColumnV2<any> & {
|
|
28
27
|
[k: string]: any;
|
|
29
28
|
width?: number;
|
|
30
29
|
align?: string;
|
|
@@ -44,12 +43,12 @@ export declare const ElTablePlus: <T extends Record<string, any> = any>(__VLS_pr
|
|
|
44
43
|
expose: (exposed: import("vue").ShallowUnwrapRef<{
|
|
45
44
|
refresh: () => void;
|
|
46
45
|
reset: () => void;
|
|
47
|
-
loadData: (resetPage?: boolean, data?: import("
|
|
46
|
+
loadData: (resetPage?: boolean, data?: import("@ipa-schema/api").PageResult<T>) => Promise<void>;
|
|
48
47
|
currentPage: globalThis.Ref<number, number>;
|
|
49
|
-
pageSize:
|
|
48
|
+
pageSize: import("@vueuse/shared").RemovableRef<number>;
|
|
50
49
|
total: globalThis.Ref<number, number>;
|
|
51
50
|
tableData: import("vue").ModelRef<T[], string, T[], T[]>;
|
|
52
|
-
deleteRow: (row: any, predicate?: (v: T, idx: number, arr:
|
|
51
|
+
deleteRow: (row: any, predicate?: (v: T, idx: number, arr: T[]) => boolean) => void;
|
|
53
52
|
}>) => void;
|
|
54
53
|
attrs: any;
|
|
55
54
|
slots: {
|
|
@@ -61,3 +60,59 @@ export declare const ElTablePlus: <T extends Record<string, any> = any>(__VLS_pr
|
|
|
61
60
|
}>) => import("vue").VNode & {
|
|
62
61
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
63
62
|
};
|
|
63
|
+
export declare const ElAuthCode: import("vue").DefineComponent<globalThis.ExtractPropTypes<{
|
|
64
|
+
length: {
|
|
65
|
+
type: NumberConstructor;
|
|
66
|
+
default: number;
|
|
67
|
+
};
|
|
68
|
+
disabled: {
|
|
69
|
+
type: BooleanConstructor;
|
|
70
|
+
default: boolean;
|
|
71
|
+
};
|
|
72
|
+
itemStyle: {
|
|
73
|
+
type: ObjectConstructor;
|
|
74
|
+
default: () => {
|
|
75
|
+
width: string;
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
modelValue: {
|
|
79
|
+
type: globalThis.PropType<string>;
|
|
80
|
+
required: true;
|
|
81
|
+
};
|
|
82
|
+
}>, {
|
|
83
|
+
reset: () => void;
|
|
84
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
85
|
+
"update:modelValue": (...args: any[]) => void;
|
|
86
|
+
complete: (...args: any[]) => void;
|
|
87
|
+
}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
88
|
+
length: {
|
|
89
|
+
type: NumberConstructor;
|
|
90
|
+
default: number;
|
|
91
|
+
};
|
|
92
|
+
disabled: {
|
|
93
|
+
type: BooleanConstructor;
|
|
94
|
+
default: boolean;
|
|
95
|
+
};
|
|
96
|
+
itemStyle: {
|
|
97
|
+
type: ObjectConstructor;
|
|
98
|
+
default: () => {
|
|
99
|
+
width: string;
|
|
100
|
+
};
|
|
101
|
+
};
|
|
102
|
+
modelValue: {
|
|
103
|
+
type: globalThis.PropType<string>;
|
|
104
|
+
required: true;
|
|
105
|
+
};
|
|
106
|
+
}>> & Readonly<{
|
|
107
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
108
|
+
onComplete?: ((...args: any[]) => any) | undefined;
|
|
109
|
+
}>, {
|
|
110
|
+
length: number;
|
|
111
|
+
disabled: boolean;
|
|
112
|
+
itemStyle: Record<string, any>;
|
|
113
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
114
|
+
export declare const HelloWorld: import("vue").DefineComponent<{
|
|
115
|
+
msg: string;
|
|
116
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
117
|
+
msg: string;
|
|
118
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
declare const __VLS_export: import("vue").DefineComponent<globalThis.ExtractPropTypes<{
|
|
2
|
+
length: {
|
|
3
|
+
type: NumberConstructor;
|
|
4
|
+
default: number;
|
|
5
|
+
};
|
|
6
|
+
disabled: {
|
|
7
|
+
type: BooleanConstructor;
|
|
8
|
+
default: boolean;
|
|
9
|
+
};
|
|
10
|
+
itemStyle: {
|
|
11
|
+
type: ObjectConstructor;
|
|
12
|
+
default: () => {
|
|
13
|
+
width: string;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
modelValue: {
|
|
17
|
+
type: globalThis.PropType<string>;
|
|
18
|
+
required: true;
|
|
19
|
+
};
|
|
20
|
+
}>, {
|
|
21
|
+
reset: () => void;
|
|
22
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
23
|
+
"update:modelValue": (...args: any[]) => void;
|
|
24
|
+
complete: (...args: any[]) => void;
|
|
25
|
+
}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
26
|
+
length: {
|
|
27
|
+
type: NumberConstructor;
|
|
28
|
+
default: number;
|
|
29
|
+
};
|
|
30
|
+
disabled: {
|
|
31
|
+
type: BooleanConstructor;
|
|
32
|
+
default: boolean;
|
|
33
|
+
};
|
|
34
|
+
itemStyle: {
|
|
35
|
+
type: ObjectConstructor;
|
|
36
|
+
default: () => {
|
|
37
|
+
width: string;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
modelValue: {
|
|
41
|
+
type: globalThis.PropType<string>;
|
|
42
|
+
required: true;
|
|
43
|
+
};
|
|
44
|
+
}>> & Readonly<{
|
|
45
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
46
|
+
onComplete?: ((...args: any[]) => any) | undefined;
|
|
47
|
+
}>, {
|
|
48
|
+
length: number;
|
|
49
|
+
disabled: boolean;
|
|
50
|
+
itemStyle: Record<string, any>;
|
|
51
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
52
|
+
declare const _default: typeof __VLS_export;
|
|
53
|
+
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { PageResult } from "
|
|
1
|
+
import type { PageResult } from "@ipa-schema/api";
|
|
2
2
|
import type { ElTablePlusProps } from "./types";
|
|
3
3
|
declare const __VLS_export: <T extends Record<string, any> = any>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
4
4
|
props: __VLS_PrettifyLocal<(ElTablePlusProps<T> & {
|
|
@@ -17,10 +17,10 @@ declare const __VLS_export: <T extends Record<string, any> = any>(__VLS_props: N
|
|
|
17
17
|
reset: () => void;
|
|
18
18
|
loadData: (resetPage?: boolean, data?: PageResult<T>) => Promise<void>;
|
|
19
19
|
currentPage: globalThis.Ref<number, number>;
|
|
20
|
-
pageSize:
|
|
20
|
+
pageSize: import("@vueuse/shared").RemovableRef<number>;
|
|
21
21
|
total: globalThis.Ref<number, number>;
|
|
22
22
|
tableData: import("vue").ModelRef<T[], string, T[], T[]>;
|
|
23
|
-
deleteRow: (row: any, predicate?: (v: T, idx: number, arr:
|
|
23
|
+
deleteRow: (row: any, predicate?: (v: T, idx: number, arr: T[]) => boolean) => void;
|
|
24
24
|
}>) => void;
|
|
25
25
|
attrs: any;
|
|
26
26
|
slots: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),t=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),t=require("./index-C3NSW_8F.cjs"),n={class:"text-center margin-x-auto pt-10"},o=e.defineComponent({__name:"index",setup(r){return(c,u)=>(e.openBlock(),e.createElementBlock("div",n,[e.createVNode(e.unref(t.HelloWorld),{msg:"Vite + Vue + Bun + UnoCSS + Unplugin + I18n + ElementPlus"})]))}});exports.default=o;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";const S=require("vue"),Cr=require("pinia"),Zt=require("vue-router");function yr(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const zt=yr(S);function Dr(e){return S.getCurrentScope()?(S.onScopeDispose(e),!0):!1}const Nt=new WeakMap,Pr=(...e)=>{var t;const n=e[0],r=(t=S.getCurrentInstance())==null?void 0:t.proxy;if(r==null&&!S.hasInjectionContext())throw new Error("injectLocal must be called in setup");return r&&Nt.has(r)&&n in Nt.get(r)?Nt.get(r)[n]:S.inject(...e)},kr=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Rr=Object.prototype.toString,Mr=e=>Rr.call(e)==="[object Object]",wr=()=>{};function Vn(...e){if(e.length!==1)return S.toRef(...e);const t=e[0];return typeof t=="function"?S.readonly(S.customRef(()=>({get:t,set:wr}))):S.ref(t)}function Fr(e,t){function n(...r){return new Promise((s,o)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(s).catch(o)})}return n}const Wn=e=>e();function Ur(e=Wn,t={}){const{initialState:n="active"}=t,r=Vn(n==="active");function s(){r.value=!1}function o(){r.value=!0}const a=(...l)=>{r.value&&e(...l)};return{isActive:S.readonly(r),pause:s,resume:o,eventFilter:a}}function en(e){return e.endsWith("rem")?Number.parseFloat(e)*16:Number.parseFloat(e)}function ht(e){return Array.isArray(e)?e:[e]}function Vr(e){return S.getCurrentInstance()}function Wr(e,t,n={}){const{eventFilter:r=Wn,...s}=n;return S.watch(e,Fr(r,t),s)}function $r(e,t,n={}){const{eventFilter:r,initialState:s="active",...o}=n,{eventFilter:a,pause:l,resume:u,isActive:_}=Ur(r,{initialState:s});return{stop:Wr(e,t,{...o,eventFilter:a}),pause:l,resume:u,isActive:_}}function $n(e,t=!0,n){Vr()?S.onMounted(e,n):t?e():S.nextTick(e)}function Gr(e,t,n){return S.watch(e,t,{...n,immediate:!0})}const ye=kr?window:void 0;function Gn(e){var t;const n=S.toValue(e);return(t=n?.$el)!=null?t:n}function It(...e){const t=[],n=()=>{t.forEach(l=>l()),t.length=0},r=(l,u,_,h)=>(l.addEventListener(u,_,h),()=>l.removeEventListener(u,_,h)),s=S.computed(()=>{const l=ht(S.toValue(e[0])).filter(u=>u!=null);return l.every(u=>typeof u!="string")?l:void 0}),o=Gr(()=>{var l,u;return[(u=(l=s.value)==null?void 0:l.map(_=>Gn(_)))!=null?u:[ye].filter(_=>_!=null),ht(S.toValue(s.value?e[1]:e[0])),ht(S.unref(s.value?e[2]:e[1])),S.toValue(s.value?e[3]:e[2])]},([l,u,_,h])=>{if(n(),!l?.length||!u?.length||!_?.length)return;const T=Mr(h)?{...h}:h;t.push(...l.flatMap(p=>u.flatMap(A=>_.map(D=>r(p,A,D,T)))))},{flush:"post"}),a=()=>{o(),n()};return Dr(n),a}function jr(){const e=S.shallowRef(!1),t=S.getCurrentInstance();return t&&S.onMounted(()=>{e.value=!0},t),e}function Hr(e){const t=jr();return S.computed(()=>(t.value,!!e()))}const Yr=Symbol("vueuse-ssr-width");function xr(){const e=S.hasInjectionContext()?Pr(Yr,null):null;return typeof e=="number"?e:void 0}function Kr(e,t={}){const{window:n=ye,ssrWidth:r=xr()}=t,s=Hr(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function"),o=S.shallowRef(typeof r=="number"),a=S.shallowRef(),l=S.shallowRef(!1),u=_=>{l.value=_.matches};return S.watchEffect(()=>{if(o.value){o.value=!s.value;const _=S.toValue(e).split(",");l.value=_.some(h=>{const T=h.includes("not all"),p=h.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),A=h.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let D=!!(p||A);return p&&D&&(D=r>=en(p[1])),A&&D&&(D=r<=en(A[1])),T?!D:D});return}s.value&&(a.value=n.matchMedia(S.toValue(e)),l.value=a.value.matches)}),It(a,"change",u,{passive:!0}),S.computed(()=>l.value)}const xe=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Ke="__vueuse_ssr_handlers__",Br=Xr();function Xr(){return Ke in xe||(xe[Ke]=xe[Ke]||{}),xe[Ke]}function jn(e,t){return Br[e]||t}function Jr(e){return Kr("(prefers-color-scheme: dark)",e)}function Qr(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const qr={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},tn="vueuse-storage";function Hn(e,t,n,r={}){var s;const{flush:o="pre",deep:a=!0,listenToStorageChanges:l=!0,writeDefaults:u=!0,mergeDefaults:_=!1,shallow:h,window:T=ye,eventFilter:p,onError:A=M=>{console.error(M)},initOnMounted:D}=r,L=(h?S.shallowRef:S.ref)(typeof t=="function"?t():t),C=S.computed(()=>S.toValue(e));if(!n)try{n=jn("getDefaultStorage",()=>{var M;return(M=ye)==null?void 0:M.localStorage})()}catch(M){A(M)}if(!n)return L;const f=S.toValue(t),E=Qr(f),v=(s=r.serializer)!=null?s:qr[E],{pause:m,resume:b}=$r(L,M=>j(M),{flush:o,deep:a,eventFilter:p});S.watch(C,()=>U(),{flush:o});let I=!1;const g=M=>{D&&!I||U(M)},R=M=>{D&&!I||re(M)};T&&l&&(n instanceof Storage?It(T,"storage",g,{passive:!0}):It(T,tn,R)),D?$n(()=>{I=!0,U()}):U();function w(M,X){if(T){const ne={key:C.value,oldValue:M,newValue:X,storageArea:n};T.dispatchEvent(n instanceof Storage?new StorageEvent("storage",ne):new CustomEvent(tn,{detail:ne}))}}function j(M){try{const X=n.getItem(C.value);if(M==null)w(X,null),n.removeItem(C.value);else{const ne=v.write(M);X!==ne&&(n.setItem(C.value,ne),w(X,ne))}}catch(X){A(X)}}function Z(M){const X=M?M.newValue:n.getItem(C.value);if(X==null)return u&&f!=null&&n.setItem(C.value,v.write(f)),f;if(!M&&_){const ne=v.read(X);return typeof _=="function"?_(ne,f):E==="object"&&!Array.isArray(ne)?{...f,...ne}:ne}else return typeof X!="string"?X:v.read(X)}function U(M){if(!(M&&M.storageArea!==n)){if(M&&M.key==null){L.value=f;return}if(!(M&&M.key!==C.value)){m();try{const X=v.write(L.value);(M===void 0||M?.newValue!==X)&&(L.value=Z(M))}catch(X){A(X)}finally{M?S.nextTick(b):b()}}}}function re(M){U(M.detail)}return L}const Zr="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function zr(e={}){const{selector:t="html",attribute:n="class",initialValue:r="auto",window:s=ye,storage:o,storageKey:a="vueuse-color-scheme",listenToStorageChanges:l=!0,storageRef:u,emitAuto:_,disableTransition:h=!0}=e,T={auto:"",light:"light",dark:"dark",...e.modes||{}},p=Jr({window:s}),A=S.computed(()=>p.value?"dark":"light"),D=u||(a==null?Vn(r):Hn(a,r,o,{window:s,listenToStorageChanges:l})),L=S.computed(()=>D.value==="auto"?A.value:D.value),C=jn("updateHTMLAttrs",(m,b,I)=>{const g=typeof m=="string"?s?.document.querySelector(m):Gn(m);if(!g)return;const R=new Set,w=new Set;let j=null;if(b==="class"){const U=I.split(/\s/g);Object.values(T).flatMap(re=>(re||"").split(/\s/g)).filter(Boolean).forEach(re=>{U.includes(re)?R.add(re):w.add(re)})}else j={key:b,value:I};if(R.size===0&&w.size===0&&j===null)return;let Z;h&&(Z=s.document.createElement("style"),Z.appendChild(document.createTextNode(Zr)),s.document.head.appendChild(Z));for(const U of R)g.classList.add(U);for(const U of w)g.classList.remove(U);j&&g.setAttribute(j.key,j.value),h&&(s.getComputedStyle(Z).opacity,document.head.removeChild(Z))});function f(m){var b;C(t,n,(b=T[m])!=null?b:m)}function E(m){e.onChanged?e.onChanged(m,f):f(m)}S.watch(L,E,{flush:"post",immediate:!0}),$n(()=>E(L.value));const v=S.computed({get(){return _?D.value:L.value},set(m){D.value=m}});return Object.assign(v,{store:D,system:A,state:L})}function es(e={}){const{valueDark:t="dark",valueLight:n=""}=e,r=zr({...e,onChanged:(a,l)=>{var u;e.onChanged?(u=e.onChanged)==null||u.call(e,a==="dark",l,a):l(a)},modes:{dark:t,light:n}}),s=S.computed(()=>r.system.value);return S.computed({get(){return r.value==="dark"},set(a){const l=a?"dark":"light";s.value===l?r.value="auto":r.value=l}})}function ts(e,t,n={}){const{window:r=ye}=n;return Hn(e,t,r?.sessionStorage,n)}function de(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const nn={};function Yn(e){nn[e]||(nn[e]=!0,de(e))}const fe=typeof window<"u";let oe,be;if(process.env.NODE_ENV!=="production"){const e=fe&&window.performance;e&&e.mark&&e.measure&&e.clearMarks&&e.clearMeasures&&(oe=t=>{e.mark(t)},be=(t,n,r)=>{e.measure(t,n,r),e.clearMarks(n),e.clearMarks(r)})}const ns=/\{([0-9a-zA-Z]+)\}/g;function tt(e,...t){return t.length===1&&V(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(ns,(n,r)=>t.hasOwnProperty(r)?t[r]:"")}const Ee=(e,t=!1)=>t?Symbol.for(e):Symbol(e),rs=(e,t,n)=>ss({l:e,k:t,s:n}),ss=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),q=e=>typeof e=="number"&&isFinite(e),os=e=>Gt(e)==="[object Date]",Ze=e=>Gt(e)==="[object RegExp]",nt=e=>F(e)&&Object.keys(e).length===0,z=Object.assign,as=Object.create,G=(e=null)=>as(e);let rn;const $t=()=>rn||(rn=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:G());function sn(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'").replace(/\//g,"/").replace(/=/g,"=")}function on(e){return e.replace(/&(?![a-zA-Z0-9#]{2,6};)/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function ls(e){return e=e.replace(/(\w+)\s*=\s*"([^"]*)"/g,(r,s,o)=>`${s}="${on(o)}"`),e=e.replace(/(\w+)\s*=\s*'([^']*)'/g,(r,s,o)=>`${s}='${on(o)}'`),/\s*on\w+\s*=\s*["']?[^"'>]+["']?/gi.test(e)&&(process.env.NODE_ENV!=="production"&&de("Potentially dangerous event handlers detected in translation. Consider removing onclick, onerror, etc. from your translation messages."),e=e.replace(/(\s+)(on)(\w+\s*=)/gi,"$1on$3")),[/(\s+(?:href|src|action|formaction)\s*=\s*["']?)\s*javascript:/gi,/(style\s*=\s*["'][^"']*url\s*\(\s*)javascript:/gi].forEach(r=>{e=e.replace(r,"$1javascript:")}),e}const is=Object.prototype.hasOwnProperty;function ue(e,t){return is.call(e,t)}const B=Array.isArray,H=e=>typeof e=="function",y=e=>typeof e=="string",K=e=>typeof e=="boolean",V=e=>e!==null&&typeof e=="object",cs=e=>V(e)&&H(e.then)&&H(e.catch),xn=Object.prototype.toString,Gt=e=>xn.call(e),F=e=>Gt(e)==="[object Object]",us=e=>e==null?"":B(e)||F(e)&&e.toString===xn?JSON.stringify(e,null,2):String(e);function jt(e,t=""){return e.reduce((n,r,s)=>s===0?n+r:n+t+r,"")}const an=2;function fs(e,t=0,n=e.length){const r=e.split(/\r?\n/);let s=0;const o=[];for(let a=0;a<r.length;a++)if(s+=r[a].length+1,s>=t){for(let l=a-an;l<=a+an||n>s;l++){if(l<0||l>=r.length)continue;const u=l+1;o.push(`${u}${" ".repeat(3-String(u).length)}| ${r[l]}`);const _=r[l].length;if(l===a){const h=t-(s-_)+1,T=Math.max(1,n>s?_-h:n-t);o.push(" | "+" ".repeat(h)+"^".repeat(T))}else if(l>a){if(n>s){const h=Math.max(Math.min(n-s,_),1);o.push(" | "+"^".repeat(h))}s+=_+1}}break}return o.join(`
|
|
2
|
+
`)}function Kn(){const e=new Map;return{events:e,on(n,r){const s=e.get(n);s&&s.push(r)||e.set(n,[r])},off(n,r){const s=e.get(n);s&&s.splice(s.indexOf(r)>>>0,1)},emit(n,r){(e.get(n)||[]).slice().map(s=>s(r)),(e.get("*")||[]).slice().map(s=>s(n,r))}}}const Be=e=>!V(e)||B(e);function Qe(e,t){if(Be(e)||Be(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:r,des:s}=n.pop();Object.keys(r).forEach(o=>{o!=="__proto__"&&(V(r[o])&&!V(s[o])&&(s[o]=Array.isArray(r[o])?[]:G()),Be(s[o])||Be(r[o])?s[o]=r[o]:n.push({src:r[o],des:s[o]}))})}}function _s(e,t,n){return{line:e,column:t,offset:n}}function St(e,t,n){return{start:e,end:t}}const k={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16},ms=17,ds={[k.EXPECTED_TOKEN]:"Expected token: '{0}'",[k.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[k.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[k.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[k.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[k.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[k.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[k.EMPTY_PLACEHOLDER]:"Empty placeholder",[k.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[k.INVALID_LINKED_FORMAT]:"Invalid linked format",[k.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[k.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[k.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[k.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[k.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[k.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function Pe(e,t,n={}){const{domain:r,messages:s,args:o}=n,a=process.env.NODE_ENV!=="production"?tt((s||ds)[e]||"",...o||[]):e,l=new SyntaxError(String(a));return l.code=e,t&&(l.location=t),l.domain=r,l}function Es(e){throw e}const ps=/<\/?[\w\s="/.':;#-\/]+>/,gs=e=>ps.test(e),_e=" ",Ns="\r",ee=`
|
|
3
|
+
`,hs="\u2028",Ts="\u2029";function vs(e){const t=e;let n=0,r=1,s=1,o=0;const a=g=>t[g]===Ns&&t[g+1]===ee,l=g=>t[g]===ee,u=g=>t[g]===Ts,_=g=>t[g]===hs,h=g=>a(g)||l(g)||u(g)||_(g),T=()=>n,p=()=>r,A=()=>s,D=()=>o,L=g=>a(g)||u(g)||_(g)?ee:t[g],C=()=>L(n),f=()=>L(n+o);function E(){return o=0,h(n)&&(r++,s=0),a(n)&&n++,n++,s++,t[n]}function v(){return a(n+o)&&o++,o++,t[n+o]}function m(){n=0,r=1,s=1,o=0}function b(g=0){o=g}function I(){const g=n+o;for(;g!==n;)E();o=0}return{index:T,line:p,column:A,peekOffset:D,charAt:L,currentChar:C,currentPeek:f,next:E,peek:v,reset:m,resetPeek:b,skipToPeek:I}}const ge=void 0,Os=".",ln="'",Ls="tokenizer";function bs(e,t={}){const n=t.location!==!1,r=vs(e),s=()=>r.index(),o=()=>_s(r.line(),r.column(),r.index()),a=o(),l=s(),u={currentType:13,offset:l,startLoc:a,endLoc:a,lastType:13,lastOffset:l,lastStartLoc:a,lastEndLoc:a,braceNest:0,inLinked:!1,text:""},_=()=>u,{onError:h}=t;function T(i,c,N,...P){const Y=_();if(c.column+=N,c.offset+=N,h){const J=n?St(Y.startLoc,c):null,W=Pe(i,J,{domain:Ls,args:P});h(W)}}function p(i,c,N){i.endLoc=o(),i.currentType=c;const P={type:c};return n&&(P.loc=St(i.startLoc,i.endLoc)),N!=null&&(P.value=N),P}const A=i=>p(i,13);function D(i,c){return i.currentChar()===c?(i.next(),c):(T(k.EXPECTED_TOKEN,o(),0,c),"")}function L(i){let c="";for(;i.currentPeek()===_e||i.currentPeek()===ee;)c+=i.currentPeek(),i.peek();return c}function C(i){const c=L(i);return i.skipToPeek(),c}function f(i){if(i===ge)return!1;const c=i.charCodeAt(0);return c>=97&&c<=122||c>=65&&c<=90||c===95}function E(i){if(i===ge)return!1;const c=i.charCodeAt(0);return c>=48&&c<=57}function v(i,c){const{currentType:N}=c;if(N!==2)return!1;L(i);const P=f(i.currentPeek());return i.resetPeek(),P}function m(i,c){const{currentType:N}=c;if(N!==2)return!1;L(i);const P=i.currentPeek()==="-"?i.peek():i.currentPeek(),Y=E(P);return i.resetPeek(),Y}function b(i,c){const{currentType:N}=c;if(N!==2)return!1;L(i);const P=i.currentPeek()===ln;return i.resetPeek(),P}function I(i,c){const{currentType:N}=c;if(N!==7)return!1;L(i);const P=i.currentPeek()===".";return i.resetPeek(),P}function g(i,c){const{currentType:N}=c;if(N!==8)return!1;L(i);const P=f(i.currentPeek());return i.resetPeek(),P}function R(i,c){const{currentType:N}=c;if(!(N===7||N===11))return!1;L(i);const P=i.currentPeek()===":";return i.resetPeek(),P}function w(i,c){const{currentType:N}=c;if(N!==9)return!1;const P=()=>{const J=i.currentPeek();return J==="{"?f(i.peek()):J==="@"||J==="|"||J===":"||J==="."||J===_e||!J?!1:J===ee?(i.peek(),P()):Z(i,!1)},Y=P();return i.resetPeek(),Y}function j(i){L(i);const c=i.currentPeek()==="|";return i.resetPeek(),c}function Z(i,c=!0){const N=(Y=!1,J="")=>{const W=i.currentPeek();return W==="{"||W==="@"||!W?Y:W==="|"?!(J===_e||J===ee):W===_e?(i.peek(),N(!0,_e)):W===ee?(i.peek(),N(!0,ee)):!0},P=N();return c&&i.resetPeek(),P}function U(i,c){const N=i.currentChar();return N===ge?ge:c(N)?(i.next(),N):null}function re(i){const c=i.charCodeAt(0);return c>=97&&c<=122||c>=65&&c<=90||c>=48&&c<=57||c===95||c===36}function M(i){return U(i,re)}function X(i){const c=i.charCodeAt(0);return c>=97&&c<=122||c>=65&&c<=90||c>=48&&c<=57||c===95||c===36||c===45}function ne(i){return U(i,X)}function at(i){const c=i.charCodeAt(0);return c>=48&&c<=57}function lt(i){return U(i,at)}function it(i){const c=i.charCodeAt(0);return c>=48&&c<=57||c>=65&&c<=70||c>=97&&c<=102}function pe(i){return U(i,it)}function ke(i){let c="",N="";for(;c=lt(i);)N+=c;return N}function ct(i){let c="";for(;;){const N=i.currentChar();if(N==="{"||N==="}"||N==="@"||N==="|"||!N)break;if(N===_e||N===ee)if(Z(i))c+=N,i.next();else{if(j(i))break;c+=N,i.next()}else c+=N,i.next()}return c}function ut(i){C(i);let c="",N="";for(;c=ne(i);)N+=c;const P=i.currentChar();if(P&&P!=="}"&&P!==ge&&P!==_e&&P!==ee&&P!==" "){const Y=He(i);return T(k.INVALID_TOKEN_IN_PLACEHOLDER,o(),0,N+Y),N+Y}return i.currentChar()===ge&&T(k.UNTERMINATED_CLOSING_BRACE,o(),0),N}function ft(i){C(i);let c="";return i.currentChar()==="-"?(i.next(),c+=`-${ke(i)}`):c+=ke(i),i.currentChar()===ge&&T(k.UNTERMINATED_CLOSING_BRACE,o(),0),c}function _t(i){return i!==ln&&i!==ee}function Qt(i){C(i),D(i,"'");let c="",N="";for(;c=U(i,_t);)c==="\\"?N+=mt(i):N+=c;const P=i.currentChar();return P===ee||P===ge?(T(k.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,o(),0),P===ee&&(i.next(),D(i,"'")),N):(D(i,"'"),N)}function mt(i){const c=i.currentChar();switch(c){case"\\":case"'":return i.next(),`\\${c}`;case"u":return je(i,c,4);case"U":return je(i,c,6);default:return T(k.UNKNOWN_ESCAPE_SEQUENCE,o(),0,c),""}}function je(i,c,N){D(i,c);let P="";for(let Y=0;Y<N;Y++){const J=pe(i);if(!J){T(k.INVALID_UNICODE_ESCAPE_SEQUENCE,o(),0,`\\${c}${P}${i.currentChar()}`);break}P+=J}return`\\${c}${P}`}function dt(i){return i!=="{"&&i!=="}"&&i!==_e&&i!==ee}function He(i){C(i);let c="",N="";for(;c=U(i,dt);)N+=c;return N}function Et(i){let c="",N="";for(;c=M(i);)N+=c;return N}function pt(i){const c=N=>{const P=i.currentChar();return P==="{"||P==="@"||P==="|"||P==="("||P===")"||!P||P===_e?N:(N+=P,i.next(),c(N))};return c("")}function Re(i){C(i);const c=D(i,"|");return C(i),c}function Me(i,c){let N=null;switch(i.currentChar()){case"{":return c.braceNest>=1&&T(k.NOT_ALLOW_NEST_PLACEHOLDER,o(),0),i.next(),N=p(c,2,"{"),C(i),c.braceNest++,N;case"}":return c.braceNest>0&&c.currentType===2&&T(k.EMPTY_PLACEHOLDER,o(),0),i.next(),N=p(c,3,"}"),c.braceNest--,c.braceNest>0&&C(i),c.inLinked&&c.braceNest===0&&(c.inLinked=!1),N;case"@":return c.braceNest>0&&T(k.UNTERMINATED_CLOSING_BRACE,o(),0),N=ve(i,c)||A(c),c.braceNest=0,N;default:{let Y=!0,J=!0,W=!0;if(j(i))return c.braceNest>0&&T(k.UNTERMINATED_CLOSING_BRACE,o(),0),N=p(c,1,Re(i)),c.braceNest=0,c.inLinked=!1,N;if(c.braceNest>0&&(c.currentType===4||c.currentType===5||c.currentType===6))return T(k.UNTERMINATED_CLOSING_BRACE,o(),0),c.braceNest=0,we(i,c);if(Y=v(i,c))return N=p(c,4,ut(i)),C(i),N;if(J=m(i,c))return N=p(c,5,ft(i)),C(i),N;if(W=b(i,c))return N=p(c,6,Qt(i)),C(i),N;if(!Y&&!J&&!W)return N=p(c,12,He(i)),T(k.INVALID_TOKEN_IN_PLACEHOLDER,o(),0,N.value),C(i),N;break}}return N}function ve(i,c){const{currentType:N}=c;let P=null;const Y=i.currentChar();switch((N===7||N===8||N===11||N===9)&&(Y===ee||Y===_e)&&T(k.INVALID_LINKED_FORMAT,o(),0),Y){case"@":return i.next(),P=p(c,7,"@"),c.inLinked=!0,P;case".":return C(i),i.next(),p(c,8,".");case":":return C(i),i.next(),p(c,9,":");default:return j(i)?(P=p(c,1,Re(i)),c.braceNest=0,c.inLinked=!1,P):I(i,c)||R(i,c)?(C(i),ve(i,c)):g(i,c)?(C(i),p(c,11,Et(i))):w(i,c)?(C(i),Y==="{"?Me(i,c)||P:p(c,10,pt(i))):(N===7&&T(k.INVALID_LINKED_FORMAT,o(),0),c.braceNest=0,c.inLinked=!1,we(i,c))}}function we(i,c){let N={type:13};if(c.braceNest>0)return Me(i,c)||A(c);if(c.inLinked)return ve(i,c)||A(c);switch(i.currentChar()){case"{":return Me(i,c)||A(c);case"}":return T(k.UNBALANCED_CLOSING_BRACE,o(),0),i.next(),p(c,3,"}");case"@":return ve(i,c)||A(c);default:{if(j(i))return N=p(c,1,Re(i)),c.braceNest=0,c.inLinked=!1,N;if(Z(i))return p(c,0,ct(i));break}}return N}function gt(){const{currentType:i,offset:c,startLoc:N,endLoc:P}=u;return u.lastType=i,u.lastOffset=c,u.lastStartLoc=N,u.lastEndLoc=P,u.offset=s(),u.startLoc=o(),r.currentChar()===ge?p(u,13):we(r,u)}return{nextToken:gt,currentOffset:s,currentPosition:o,context:_}}const Is="parser",Ss=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function As(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const r=parseInt(t||n,16);return r<=55295||r>=57344?String.fromCodePoint(r):"�"}}}function Cs(e={}){const t=e.location!==!1,{onError:n}=e;function r(f,E,v,m,...b){const I=f.currentPosition();if(I.offset+=m,I.column+=m,n){const g=t?St(v,I):null,R=Pe(E,g,{domain:Is,args:b});n(R)}}function s(f,E,v){const m={type:f};return t&&(m.start=E,m.end=E,m.loc={start:v,end:v}),m}function o(f,E,v,m){t&&(f.end=E,f.loc&&(f.loc.end=v))}function a(f,E){const v=f.context(),m=s(3,v.offset,v.startLoc);return m.value=E,o(m,f.currentOffset(),f.currentPosition()),m}function l(f,E){const v=f.context(),{lastOffset:m,lastStartLoc:b}=v,I=s(5,m,b);return I.index=parseInt(E,10),f.nextToken(),o(I,f.currentOffset(),f.currentPosition()),I}function u(f,E){const v=f.context(),{lastOffset:m,lastStartLoc:b}=v,I=s(4,m,b);return I.key=E,f.nextToken(),o(I,f.currentOffset(),f.currentPosition()),I}function _(f,E){const v=f.context(),{lastOffset:m,lastStartLoc:b}=v,I=s(9,m,b);return I.value=E.replace(Ss,As),f.nextToken(),o(I,f.currentOffset(),f.currentPosition()),I}function h(f){const E=f.nextToken(),v=f.context(),{lastOffset:m,lastStartLoc:b}=v,I=s(8,m,b);return E.type!==11?(r(f,k.UNEXPECTED_EMPTY_LINKED_MODIFIER,v.lastStartLoc,0),I.value="",o(I,m,b),{nextConsumeToken:E,node:I}):(E.value==null&&r(f,k.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,me(E)),I.value=E.value||"",o(I,f.currentOffset(),f.currentPosition()),{node:I})}function T(f,E){const v=f.context(),m=s(7,v.offset,v.startLoc);return m.value=E,o(m,f.currentOffset(),f.currentPosition()),m}function p(f){const E=f.context(),v=s(6,E.offset,E.startLoc);let m=f.nextToken();if(m.type===8){const b=h(f);v.modifier=b.node,m=b.nextConsumeToken||f.nextToken()}switch(m.type!==9&&r(f,k.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,me(m)),m=f.nextToken(),m.type===2&&(m=f.nextToken()),m.type){case 10:m.value==null&&r(f,k.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,me(m)),v.key=T(f,m.value||"");break;case 4:m.value==null&&r(f,k.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,me(m)),v.key=u(f,m.value||"");break;case 5:m.value==null&&r(f,k.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,me(m)),v.key=l(f,m.value||"");break;case 6:m.value==null&&r(f,k.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,me(m)),v.key=_(f,m.value||"");break;default:{r(f,k.UNEXPECTED_EMPTY_LINKED_KEY,E.lastStartLoc,0);const b=f.context(),I=s(7,b.offset,b.startLoc);return I.value="",o(I,b.offset,b.startLoc),v.key=I,o(v,b.offset,b.startLoc),{nextConsumeToken:m,node:v}}}return o(v,f.currentOffset(),f.currentPosition()),{node:v}}function A(f){const E=f.context(),v=E.currentType===1?f.currentOffset():E.offset,m=E.currentType===1?E.endLoc:E.startLoc,b=s(2,v,m);b.items=[];let I=null;do{const w=I||f.nextToken();switch(I=null,w.type){case 0:w.value==null&&r(f,k.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,me(w)),b.items.push(a(f,w.value||""));break;case 5:w.value==null&&r(f,k.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,me(w)),b.items.push(l(f,w.value||""));break;case 4:w.value==null&&r(f,k.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,me(w)),b.items.push(u(f,w.value||""));break;case 6:w.value==null&&r(f,k.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,me(w)),b.items.push(_(f,w.value||""));break;case 7:{const j=p(f);b.items.push(j.node),I=j.nextConsumeToken||null;break}}}while(E.currentType!==13&&E.currentType!==1);const g=E.currentType===1?E.lastOffset:f.currentOffset(),R=E.currentType===1?E.lastEndLoc:f.currentPosition();return o(b,g,R),b}function D(f,E,v,m){const b=f.context();let I=m.items.length===0;const g=s(1,E,v);g.cases=[],g.cases.push(m);do{const R=A(f);I||(I=R.items.length===0),g.cases.push(R)}while(b.currentType!==13);return I&&r(f,k.MUST_HAVE_MESSAGES_IN_PLURAL,v,0),o(g,f.currentOffset(),f.currentPosition()),g}function L(f){const E=f.context(),{offset:v,startLoc:m}=E,b=A(f);return E.currentType===13?b:D(f,v,m,b)}function C(f){const E=bs(f,z({},e)),v=E.context(),m=s(0,v.offset,v.startLoc);return t&&m.loc&&(m.loc.source=f),m.body=L(E),e.onCacheKey&&(m.cacheKey=e.onCacheKey(f)),v.currentType!==13&&r(E,k.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,f[v.offset]||""),o(m,E.currentOffset(),E.currentPosition()),m}return{parse:C}}function me(e){if(e.type===13)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function ys(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:o=>(n.helpers.add(o),o)}}function cn(e,t){for(let n=0;n<e.length;n++)Ht(e[n],t)}function Ht(e,t){switch(e.type){case 1:cn(e.cases,t),t.helper("plural");break;case 2:cn(e.items,t);break;case 6:{Ht(e.key,t),t.helper("linked"),t.helper("type");break}case 5:t.helper("interpolate"),t.helper("list");break;case 4:t.helper("interpolate"),t.helper("named");break}}function Ds(e,t={}){const n=ys(e);n.helper("normalize"),e.body&&Ht(e.body,n);const r=n.context();e.helpers=Array.from(r.helpers)}function Ps(e){const t=e.body;return t.type===2?un(t):t.cases.forEach(n=>un(n)),e}function un(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let n=0;n<e.items.length;n++){const r=e.items[n];if(!(r.type===3||r.type===9)||r.value==null)break;t.push(r.value)}if(t.length===e.items.length){e.static=jt(t);for(let n=0;n<e.items.length;n++){const r=e.items[n];(r.type===3||r.type===9)&&delete r.value}}}}const ks="minifier";function Ce(e){switch(e.t=e.type,e.type){case 0:{const t=e;Ce(t.body),t.b=t.body,delete t.body;break}case 1:{const t=e,n=t.cases;for(let r=0;r<n.length;r++)Ce(n[r]);t.c=n,delete t.cases;break}case 2:{const t=e,n=t.items;for(let r=0;r<n.length;r++)Ce(n[r]);t.i=n,delete t.items,t.static&&(t.s=t.static,delete t.static);break}case 3:case 9:case 8:case 7:{const t=e;t.value&&(t.v=t.value,delete t.value);break}case 6:{const t=e;Ce(t.key),t.k=t.key,delete t.key,t.modifier&&(Ce(t.modifier),t.m=t.modifier,delete t.modifier);break}case 5:{const t=e;t.i=t.index,delete t.index;break}case 4:{const t=e;t.k=t.key,delete t.key;break}default:if(process.env.NODE_ENV!=="production")throw Pe(k.UNHANDLED_MINIFIER_NODE_TYPE,null,{domain:ks,args:[e.type]})}delete e.type}const Rs="parser";function Ms(e,t){const{filename:n,breakLineCode:r,needIndent:s}=t,o=t.location!==!1,a={filename:n,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:r,needIndent:s,indentLevel:0};o&&e.loc&&(a.source=e.loc.source);const l=()=>a;function u(L,C){a.code+=L}function _(L,C=!0){const f=C?r:"";u(s?f+" ".repeat(L):f)}function h(L=!0){const C=++a.indentLevel;L&&_(C)}function T(L=!0){const C=--a.indentLevel;L&&_(C)}function p(){_(a.indentLevel)}return{context:l,push:u,indent:h,deindent:T,newline:p,helper:L=>`_${L}`,needIndent:()=>a.needIndent}}function ws(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),De(e,t.key),t.modifier?(e.push(", "),De(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function Fs(e,t){const{helper:n,needIndent:r}=e;e.push(`${n("normalize")}([`),e.indent(r());const s=t.items.length;for(let o=0;o<s&&(De(e,t.items[o]),o!==s-1);o++)e.push(", ");e.deindent(r()),e.push("])")}function Us(e,t){const{helper:n,needIndent:r}=e;if(t.cases.length>1){e.push(`${n("plural")}([`),e.indent(r());const s=t.cases.length;for(let o=0;o<s&&(De(e,t.cases[o]),o!==s-1);o++)e.push(", ");e.deindent(r()),e.push("])")}}function Vs(e,t){t.body?De(e,t.body):e.push("null")}function De(e,t){const{helper:n}=e;switch(t.type){case 0:Vs(e,t);break;case 1:Us(e,t);break;case 2:Fs(e,t);break;case 6:ws(e,t);break;case 8:e.push(JSON.stringify(t.value),t);break;case 7:e.push(JSON.stringify(t.value),t);break;case 5:e.push(`${n("interpolate")}(${n("list")}(${t.index}))`,t);break;case 4:e.push(`${n("interpolate")}(${n("named")}(${JSON.stringify(t.key)}))`,t);break;case 9:e.push(JSON.stringify(t.value),t);break;case 3:e.push(JSON.stringify(t.value),t);break;default:if(process.env.NODE_ENV!=="production")throw Pe(k.UNHANDLED_CODEGEN_NODE_TYPE,null,{domain:Rs,args:[t.type]})}}const Ws=(e,t={})=>{const n=y(t.mode)?t.mode:"normal",r=y(t.filename)?t.filename:"message.intl";t.sourceMap;const s=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":`
|
|
4
|
+
`,o=t.needIndent?t.needIndent:n!=="arrow",a=e.helpers||[],l=Ms(e,{filename:r,breakLineCode:s,needIndent:o});l.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),l.indent(o),a.length>0&&(l.push(`const { ${jt(a.map(h=>`${h}: _${h}`),", ")} } = ctx`),l.newline()),l.push("return "),De(l,e),l.deindent(o),l.push("}"),delete e.helpers;const{code:u,map:_}=l.context();return{ast:e,code:u,map:_?_.toJSON():void 0}};function $s(e,t={}){const n=z({},t),r=!!n.jit,s=!!n.minify,o=n.optimize==null?!0:n.optimize,l=Cs(n).parse(e);return r?(o&&Ps(l),s&&Ce(l),{ast:l,code:""}):(Ds(l,n),Ws(l,n))}function Gs(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&($t().__INTLIFY_PROD_DEVTOOLS__=!1)}function le(e){return V(e)&&Yt(e)===0&&(ue(e,"b")||ue(e,"body"))}const Bn=["b","body"];function js(e){return he(e,Bn)}const Xn=["c","cases"];function Hs(e){return he(e,Xn,[])}const Jn=["s","static"];function Ys(e){return he(e,Jn)}const Qn=["i","items"];function xs(e){return he(e,Qn,[])}const qn=["t","type"];function Yt(e){return he(e,qn)}const Zn=["v","value"];function Xe(e,t){const n=he(e,Zn);if(n!=null)return n;throw Ue(t)}const zn=["m","modifier"];function Ks(e){return he(e,zn)}const er=["k","key"];function Bs(e){const t=he(e,er);if(t)return t;throw Ue(6)}function he(e,t,n){for(let r=0;r<t.length;r++){const s=t[r];if(ue(e,s)&&e[s]!=null)return e[s]}return n}const tr=[...Bn,...Xn,...Jn,...Qn,...er,...zn,...Zn,...qn];function Ue(e){return new Error(`unhandled node type: ${e}`)}function Tt(e){return n=>Xs(n,e)}function Xs(e,t){const n=js(t);if(n==null)throw Ue(0);if(Yt(n)===1){const o=Hs(n);return e.plural(o.reduce((a,l)=>[...a,fn(e,l)],[]))}else return fn(e,n)}function fn(e,t){const n=Ys(t);if(n!=null)return e.type==="text"?n:e.normalize([n]);{const r=xs(t).reduce((s,o)=>[...s,At(e,o)],[]);return e.normalize(r)}}function At(e,t){const n=Yt(t);switch(n){case 3:return Xe(t,n);case 9:return Xe(t,n);case 4:{const r=t;if(ue(r,"k")&&r.k)return e.interpolate(e.named(r.k));if(ue(r,"key")&&r.key)return e.interpolate(e.named(r.key));throw Ue(n)}case 5:{const r=t;if(ue(r,"i")&&q(r.i))return e.interpolate(e.list(r.i));if(ue(r,"index")&&q(r.index))return e.interpolate(e.list(r.index));throw Ue(n)}case 6:{const r=t,s=Ks(r),o=Bs(r);return e.linked(At(e,o),s?At(e,s):void 0,e.type)}case 7:return Xe(t,n);case 8:return Xe(t,n);default:throw new Error(`unhandled node on format message part: ${n}`)}}const Js="Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.";function Qs(e,t){t&&gs(e)&&de(tt(Js,{source:e}))}const qs=e=>e;let Je=G();function Zs(e,t={}){let n=!1;const r=t.onError||Es;return t.onError=s=>{n=!0,r(s)},{...$s(e,t),detectError:n}}function zs(e,t){if(y(e)){const n=K(t.warnHtmlMessage)?t.warnHtmlMessage:!0;process.env.NODE_ENV!=="production"&&Qs(e,n);const s=(t.onCacheKey||qs)(e),o=Je[s];if(o)return o;const{ast:a,detectError:l}=Zs(e,{...t,location:process.env.NODE_ENV!=="production",jit:!0}),u=Tt(a);return l?u:Je[s]=u}else{if(process.env.NODE_ENV!=="production"&&!le(e))return de(`the message that is resolve with key '${t.key}' is not supported for jit compilation`),(()=>e);const n=e.cacheKey;if(n){const r=Je[n];return r||(Je[n]=Tt(e))}else return Tt(e)}}let Ve=null;function eo(e){Ve=e}function to(e,t,n){Ve&&Ve.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const no=ro("function:translate");function ro(e){return t=>Ve&&Ve.emit(e,t)}const te={INVALID_ARGUMENT:ms,INVALID_DATE_ARGUMENT:18,INVALID_ISO_DATE_ARGUMENT:19,NOT_SUPPORT_NON_STRING_MESSAGE:20,NOT_SUPPORT_LOCALE_PROMISE_VALUE:21,NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:22,NOT_SUPPORT_LOCALE_TYPE:23},so=24;function Ne(e){return Pe(e,null,process.env.NODE_ENV!=="production"?{messages:oo}:void 0)}const oo={[te.INVALID_ARGUMENT]:"Invalid arguments",[te.INVALID_DATE_ARGUMENT]:"The date provided is an invalid Date object.Make sure your Date represents a valid date.",[te.INVALID_ISO_DATE_ARGUMENT]:"The argument provided is not a valid ISO date string",[te.NOT_SUPPORT_NON_STRING_MESSAGE]:"Not support non-string message",[te.NOT_SUPPORT_LOCALE_PROMISE_VALUE]:"cannot support promise value",[te.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION]:"cannot support async function",[te.NOT_SUPPORT_LOCALE_TYPE]:"cannot support locale type"};function xt(e,t){return t.locale!=null?_n(t.locale):_n(e.locale)}let vt;function _n(e){if(y(e))return e;if(H(e)){if(e.resolvedOnce&&vt!=null)return vt;if(e.constructor.name==="Function"){const t=e();if(cs(t))throw Ne(te.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return vt=t}else throw Ne(te.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw Ne(te.NOT_SUPPORT_LOCALE_TYPE)}function ao(e,t,n){return[...new Set([n,...B(t)?t:V(t)?Object.keys(t):y(t)?[t]:[n]])]}function nr(e,t,n){const r=y(n)?n:ze,s=e;s.__localeChainCache||(s.__localeChainCache=new Map);let o=s.__localeChainCache.get(r);if(!o){o=[];let a=[n];for(;B(a);)a=mn(o,a,t);const l=B(t)||!F(t)?t:t.default?t.default:null;a=y(l)?[l]:l,B(a)&&mn(o,a,!1),s.__localeChainCache.set(r,o)}return o}function mn(e,t,n){let r=!0;for(let s=0;s<t.length&&K(r);s++){const o=t[s];y(o)&&(r=lo(e,t[s],n))}return r}function lo(e,t,n){let r;const s=t.split("-");do{const o=s.join("-");r=io(e,o,n),s.splice(-1,1)}while(s.length&&r===!0);return r}function io(e,t,n){let r=!1;if(!e.includes(t)&&(r=!0,t)){r=t[t.length-1]!=="!";const s=t.replace(/!/g,"");e.push(s),(B(n)||F(n))&&n[s]&&(r=n[s])}return r}const Te=[];Te[0]={w:[0],i:[3,0],"[":[4],o:[7]};Te[1]={w:[1],".":[2],"[":[4],o:[7]};Te[2]={w:[2],i:[3,0],0:[3,0]};Te[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};Te[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};Te[5]={"'":[4,0],o:8,l:[5,0]};Te[6]={'"':[4,0],o:8,l:[6,0]};const co=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function uo(e){return co.test(e)}function fo(e){const t=e.charCodeAt(0),n=e.charCodeAt(e.length-1);return t===n&&(t===34||t===39)?e.slice(1,-1):e}function _o(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function mo(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:uo(t)?fo(t):"*"+t}function Eo(e){const t=[];let n=-1,r=0,s=0,o,a,l,u,_,h,T;const p=[];p[0]=()=>{a===void 0?a=l:a+=l},p[1]=()=>{a!==void 0&&(t.push(a),a=void 0)},p[2]=()=>{p[0](),s++},p[3]=()=>{if(s>0)s--,r=4,p[0]();else{if(s=0,a===void 0||(a=mo(a),a===!1))return!1;p[1]()}};function A(){const D=e[n+1];if(r===5&&D==="'"||r===6&&D==='"')return n++,l="\\"+D,p[0](),!0}for(;r!==null;)if(n++,o=e[n],!(o==="\\"&&A())){if(u=_o(o),T=Te[r],_=T[u]||T.l||8,_===8||(r=_[0],_[1]!==void 0&&(h=p[_[1]],h&&(l=o,h()===!1))))return;if(r===7)return t}}const dn=new Map;function po(e,t){return V(e)?e[t]:null}function go(e,t){if(!V(e))return null;let n=dn.get(t);if(n||(n=Eo(t),n&&dn.set(t,n)),!n)return null;const r=n.length;let s=e,o=0;for(;o<r;){const a=n[o];if(tr.includes(a)&&le(s))return null;const l=s[a];if(l===void 0||H(s))return null;s=l,o++}return s}const se={NOT_FOUND_KEY:1,FALLBACK_TO_TRANSLATE:2,CANNOT_FORMAT_NUMBER:3,FALLBACK_TO_NUMBER_FORMAT:4,CANNOT_FORMAT_DATE:5,FALLBACK_TO_DATE_FORMAT:6,EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:7},No=8,ho={[se.NOT_FOUND_KEY]:"Not found '{key}' key in '{locale}' locale messages.",[se.FALLBACK_TO_TRANSLATE]:"Fall back to translate '{key}' key with '{target}' locale.",[se.CANNOT_FORMAT_NUMBER]:"Cannot format a number value due to not supported Intl.NumberFormat.",[se.FALLBACK_TO_NUMBER_FORMAT]:"Fall back to number format '{key}' key with '{target}' locale.",[se.CANNOT_FORMAT_DATE]:"Cannot format a date value due to not supported Intl.DateTimeFormat.",[se.FALLBACK_TO_DATE_FORMAT]:"Fall back to datetime format '{key}' key with '{target}' locale.",[se.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER]:"This project is using Custom Message Compiler, which is an experimental feature. It may receive breaking changes or be removed in the future."};function Ie(e,...t){return tt(ho[e],...t)}const To="11.2.1",rt=-1,ze="en-US",et="",En=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function vo(){return{upper:(e,t)=>t==="text"&&y(e)?e.toUpperCase():t==="vnode"&&V(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&y(e)?e.toLowerCase():t==="vnode"&&V(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&y(e)?En(e):t==="vnode"&&V(e)&&"__v_isVNode"in e?En(e.children):e}}let rr;function Oo(e){rr=e}let sr;function Lo(e){sr=e}let or;function bo(e){or=e}let ar=null;const Io=e=>{ar=e},So=()=>ar;let lr=null;const pn=e=>{lr=e},Ao=()=>lr;let gn=0;function Co(e={}){const t=H(e.onWarn)?e.onWarn:de,n=y(e.version)?e.version:To,r=y(e.locale)||H(e.locale)?e.locale:ze,s=H(r)?ze:r,o=B(e.fallbackLocale)||F(e.fallbackLocale)||y(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:s,a=F(e.messages)?e.messages:Ot(s),l=F(e.datetimeFormats)?e.datetimeFormats:Ot(s),u=F(e.numberFormats)?e.numberFormats:Ot(s),_=z(G(),e.modifiers,vo()),h=e.pluralRules||G(),T=H(e.missing)?e.missing:null,p=K(e.missingWarn)||Ze(e.missingWarn)?e.missingWarn:!0,A=K(e.fallbackWarn)||Ze(e.fallbackWarn)?e.fallbackWarn:!0,D=!!e.fallbackFormat,L=!!e.unresolving,C=H(e.postTranslation)?e.postTranslation:null,f=F(e.processor)?e.processor:null,E=K(e.warnHtmlMessage)?e.warnHtmlMessage:!0,v=!!e.escapeParameter,m=H(e.messageCompiler)?e.messageCompiler:rr;process.env.NODE_ENV!=="production"&&H(e.messageCompiler)&&Yn(Ie(se.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));const b=H(e.messageResolver)?e.messageResolver:sr||po,I=H(e.localeFallbacker)?e.localeFallbacker:or||ao,g=V(e.fallbackContext)?e.fallbackContext:void 0,R=e,w=V(R.__datetimeFormatters)?R.__datetimeFormatters:new Map,j=V(R.__numberFormatters)?R.__numberFormatters:new Map,Z=V(R.__meta)?R.__meta:{};gn++;const U={version:n,cid:gn,locale:r,fallbackLocale:o,messages:a,modifiers:_,pluralRules:h,missing:T,missingWarn:p,fallbackWarn:A,fallbackFormat:D,unresolving:L,postTranslation:C,processor:f,warnHtmlMessage:E,escapeParameter:v,messageCompiler:m,messageResolver:b,localeFallbacker:I,fallbackContext:g,onWarn:t,__meta:Z};return U.datetimeFormats=l,U.numberFormats=u,U.__datetimeFormatters=w,U.__numberFormatters=j,process.env.NODE_ENV!=="production"&&(U.__v_emitter=R.__v_emitter!=null?R.__v_emitter:void 0),(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&to(U,n,Z),U}const Ot=e=>({[e]:G()});function st(e,t){return e instanceof RegExp?e.test(t):e}function ir(e,t){return e instanceof RegExp?e.test(t):e}function Kt(e,t,n,r,s){const{missing:o,onWarn:a}=e;if(process.env.NODE_ENV!=="production"){const l=e.__v_emitter;l&&l.emit("missing",{locale:n,key:t,type:s,groupId:`${s}:${t}`})}if(o!==null){const l=o(e,n,t,s);return y(l)?l:t}else return process.env.NODE_ENV!=="production"&&ir(r,t)&&a(Ie(se.NOT_FOUND_KEY,{key:t,locale:n})),t}function Fe(e,t,n){const r=e;r.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function cr(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function yo(e,t){const n=t.indexOf(e);if(n===-1)return!1;for(let r=n+1;r<t.length;r++)if(cr(e,t[r]))return!0;return!1}const Nn=typeof Intl<"u",ur={dateTimeFormat:Nn&&typeof Intl.DateTimeFormat<"u",numberFormat:Nn&&typeof Intl.NumberFormat<"u"};function hn(e,...t){const{datetimeFormats:n,unresolving:r,fallbackLocale:s,onWarn:o,localeFallbacker:a}=e,{__datetimeFormatters:l}=e;if(process.env.NODE_ENV!=="production"&&!ur.dateTimeFormat)return o(Ie(se.CANNOT_FORMAT_DATE)),et;const[u,_,h,T]=Ct(...t),p=K(h.missingWarn)?h.missingWarn:e.missingWarn,A=K(h.fallbackWarn)?h.fallbackWarn:e.fallbackWarn,D=!!h.part,L=xt(e,h),C=a(e,s,L);if(!y(u)||u==="")return new Intl.DateTimeFormat(L,T).format(_);let f={},E,v=null,m=L,b=null;const I="datetime format";for(let w=0;w<C.length;w++){if(E=b=C[w],process.env.NODE_ENV!=="production"&&L!==E&&st(A,u)&&o(Ie(se.FALLBACK_TO_DATE_FORMAT,{key:u,target:E})),process.env.NODE_ENV!=="production"&&L!==E){const j=e.__v_emitter;j&&j.emit("fallback",{type:I,key:u,from:m,to:b,groupId:`${I}:${u}`})}if(f=n[E]||{},v=f[u],F(v))break;Kt(e,u,E,p,I),m=b}if(!F(v)||!y(E))return r?rt:u;let g=`${E}__${u}`;nt(T)||(g=`${g}__${JSON.stringify(T)}`);let R=l.get(g);return R||(R=new Intl.DateTimeFormat(E,z({},v,T)),l.set(g,R)),D?R.formatToParts(_):R.format(_)}const fr=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function Ct(...e){const[t,n,r,s]=e,o=G();let a=G(),l;if(y(t)){const u=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!u)throw Ne(te.INVALID_ISO_DATE_ARGUMENT);const _=u[3]?u[3].trim().startsWith("T")?`${u[1].trim()}${u[3].trim()}`:`${u[1].trim()}T${u[3].trim()}`:u[1].trim();l=new Date(_);try{l.toISOString()}catch{throw Ne(te.INVALID_ISO_DATE_ARGUMENT)}}else if(os(t)){if(isNaN(t.getTime()))throw Ne(te.INVALID_DATE_ARGUMENT);l=t}else if(q(t))l=t;else throw Ne(te.INVALID_ARGUMENT);return y(n)?o.key=n:F(n)&&Object.keys(n).forEach(u=>{fr.includes(u)?a[u]=n[u]:o[u]=n[u]}),y(r)?o.locale=r:F(r)&&(a=r),F(s)&&(a=s),[o.key||"",l,o,a]}function Tn(e,t,n){const r=e;for(const s in n){const o=`${t}__${s}`;r.__datetimeFormatters.has(o)&&r.__datetimeFormatters.delete(o)}}function vn(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:s,onWarn:o,localeFallbacker:a}=e,{__numberFormatters:l}=e;if(process.env.NODE_ENV!=="production"&&!ur.numberFormat)return o(Ie(se.CANNOT_FORMAT_NUMBER)),et;const[u,_,h,T]=yt(...t),p=K(h.missingWarn)?h.missingWarn:e.missingWarn,A=K(h.fallbackWarn)?h.fallbackWarn:e.fallbackWarn,D=!!h.part,L=xt(e,h),C=a(e,s,L);if(!y(u)||u==="")return new Intl.NumberFormat(L,T).format(_);let f={},E,v=null,m=L,b=null;const I="number format";for(let w=0;w<C.length;w++){if(E=b=C[w],process.env.NODE_ENV!=="production"&&L!==E&&st(A,u)&&o(Ie(se.FALLBACK_TO_NUMBER_FORMAT,{key:u,target:E})),process.env.NODE_ENV!=="production"&&L!==E){const j=e.__v_emitter;j&&j.emit("fallback",{type:I,key:u,from:m,to:b,groupId:`${I}:${u}`})}if(f=n[E]||{},v=f[u],F(v))break;Kt(e,u,E,p,I),m=b}if(!F(v)||!y(E))return r?rt:u;let g=`${E}__${u}`;nt(T)||(g=`${g}__${JSON.stringify(T)}`);let R=l.get(g);return R||(R=new Intl.NumberFormat(E,z({},v,T)),l.set(g,R)),D?R.formatToParts(_):R.format(_)}const _r=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function yt(...e){const[t,n,r,s]=e,o=G();let a=G();if(!q(t))throw Ne(te.INVALID_ARGUMENT);const l=t;return y(n)?o.key=n:F(n)&&Object.keys(n).forEach(u=>{_r.includes(u)?a[u]=n[u]:o[u]=n[u]}),y(r)?o.locale=r:F(r)&&(a=r),F(s)&&(a=s),[o.key||"",l,o,a]}function On(e,t,n){const r=e;for(const s in n){const o=`${t}__${s}`;r.__numberFormatters.has(o)&&r.__numberFormatters.delete(o)}}const Do=e=>e,Po=e=>"",ko="text",Ro=e=>e.length===0?"":jt(e),Mo=us;function Ln(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function wo(e){const t=q(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(q(e.named.count)||q(e.named.n))?q(e.named.count)?e.named.count:q(e.named.n)?e.named.n:t:t}function Fo(e,t){t.count||(t.count=e),t.n||(t.n=e)}function Uo(e={}){const t=e.locale,n=wo(e),r=V(e.pluralRules)&&y(t)&&H(e.pluralRules[t])?e.pluralRules[t]:Ln,s=V(e.pluralRules)&&y(t)&&H(e.pluralRules[t])?Ln:void 0,o=f=>f[r(n,f.length,s)],a=e.list||[],l=f=>a[f],u=e.named||G();q(e.pluralIndex)&&Fo(n,u);const _=f=>u[f];function h(f,E){const v=H(e.messages)?e.messages(f,!!E):V(e.messages)?e.messages[f]:!1;return v||(e.parent?e.parent.message(f):Po)}const T=f=>e.modifiers?e.modifiers[f]:Do,p=F(e.processor)&&H(e.processor.normalize)?e.processor.normalize:Ro,A=F(e.processor)&&H(e.processor.interpolate)?e.processor.interpolate:Mo,D=F(e.processor)&&y(e.processor.type)?e.processor.type:ko,C={list:l,named:_,plural:o,linked:(f,...E)=>{const[v,m]=E;let b="text",I="";E.length===1?V(v)?(I=v.modifier||I,b=v.type||b):y(v)&&(I=v||I):E.length===2&&(y(v)&&(I=v||I),y(m)&&(b=m||b));const g=h(f,!0)(C),R=b==="vnode"&&B(g)&&I?g[0]:g;return I?T(I)(R,b):R},message:h,type:D,interpolate:A,normalize:p,values:z(G(),a,u)};return C}const bn=()=>"",ae=e=>H(e);function In(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:s,messageCompiler:o,fallbackLocale:a,messages:l}=e,[u,_]=Dt(...t),h=K(_.missingWarn)?_.missingWarn:e.missingWarn,T=K(_.fallbackWarn)?_.fallbackWarn:e.fallbackWarn,p=K(_.escapeParameter)?_.escapeParameter:e.escapeParameter,A=!!_.resolvedMessage,D=y(_.default)||K(_.default)?K(_.default)?o?u:()=>u:_.default:n?o?u:()=>u:null,L=n||D!=null&&(y(D)||H(D)),C=xt(e,_);p&&Vo(_);let[f,E,v]=A?[u,C,l[C]||G()]:mr(e,u,C,a,T,h),m=f,b=u;if(!A&&!(y(m)||le(m)||ae(m))&&L&&(m=D,b=m),!A&&(!(y(m)||le(m)||ae(m))||!y(E)))return s?rt:u;if(process.env.NODE_ENV!=="production"&&y(m)&&e.messageCompiler==null)return de(`The message format compilation is not supported in this build. Because message compiler isn't included. You need to pre-compilation all message format. So translate function return '${u}'.`),u;let I=!1;const g=()=>{I=!0},R=ae(m)?m:dr(e,u,E,m,b,g);if(I)return m;const w=jo(e,E,v,_),j=Uo(w),Z=Wo(e,R,j);let U=r?r(Z,u):Z;if(p&&y(U)&&(U=ls(U)),process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const re={timestamp:Date.now(),key:y(u)?u:ae(m)?m.key:"",locale:E||(ae(m)?m.locale:""),format:y(m)?m:ae(m)?m.source:"",message:U};re.meta=z({},e.__meta,So()||{}),no(re)}return U}function Vo(e){B(e.list)?e.list=e.list.map(t=>y(t)?sn(t):t):V(e.named)&&Object.keys(e.named).forEach(t=>{y(e.named[t])&&(e.named[t]=sn(e.named[t]))})}function mr(e,t,n,r,s,o){const{messages:a,onWarn:l,messageResolver:u,localeFallbacker:_}=e,h=_(e,r,n);let T=G(),p,A=null,D=n,L=null;const C="translate";for(let f=0;f<h.length;f++){if(p=L=h[f],process.env.NODE_ENV!=="production"&&n!==p&&!cr(n,p)&&st(s,t)&&l(Ie(se.FALLBACK_TO_TRANSLATE,{key:t,target:p})),process.env.NODE_ENV!=="production"&&n!==p){const b=e.__v_emitter;b&&b.emit("fallback",{type:C,key:t,from:D,to:L,groupId:`${C}:${t}`})}T=a[p]||G();let E=null,v,m;if(process.env.NODE_ENV!=="production"&&fe&&(E=window.performance.now(),v="intlify-message-resolve-start",m="intlify-message-resolve-end",oe&&oe(v)),(A=u(T,t))===null&&(A=T[t]),process.env.NODE_ENV!=="production"&&fe){const b=window.performance.now(),I=e.__v_emitter;I&&E&&A&&I.emit("message-resolve",{type:"message-resolve",key:t,message:A,time:b-E,groupId:`${C}:${t}`}),v&&m&&oe&&be&&(oe(m),be("intlify message resolve",v,m))}if(y(A)||le(A)||ae(A))break;if(!yo(p,h)){const b=Kt(e,t,p,o,C);b!==t&&(A=b)}D=L}return[A,p,T]}function dr(e,t,n,r,s,o){const{messageCompiler:a,warnHtmlMessage:l}=e;if(ae(r)){const p=r;return p.locale=p.locale||n,p.key=p.key||t,p}if(a==null){const p=(()=>r);return p.locale=n,p.key=t,p}let u=null,_,h;process.env.NODE_ENV!=="production"&&fe&&(u=window.performance.now(),_="intlify-message-compilation-start",h="intlify-message-compilation-end",oe&&oe(_));const T=a(r,$o(e,n,s,r,l,o));if(process.env.NODE_ENV!=="production"&&fe){const p=window.performance.now(),A=e.__v_emitter;A&&u&&A.emit("message-compilation",{type:"message-compilation",message:r,time:p-u,groupId:`translate:${t}`}),_&&h&&oe&&be&&(oe(h),be("intlify message compilation",_,h))}return T.locale=n,T.key=t,T.source=r,T}function Wo(e,t,n){let r=null,s,o;process.env.NODE_ENV!=="production"&&fe&&(r=window.performance.now(),s="intlify-message-evaluation-start",o="intlify-message-evaluation-end",oe&&oe(s));const a=t(n);if(process.env.NODE_ENV!=="production"&&fe){const l=window.performance.now(),u=e.__v_emitter;u&&r&&u.emit("message-evaluation",{type:"message-evaluation",value:a,time:l-r,groupId:`translate:${t.key}`}),s&&o&&oe&&be&&(oe(o),be("intlify message evaluation",s,o))}return a}function Dt(...e){const[t,n,r]=e,s=G();if(!y(t)&&!q(t)&&!ae(t)&&!le(t))throw Ne(te.INVALID_ARGUMENT);const o=q(t)?String(t):(ae(t),t);return q(n)?s.plural=n:y(n)?s.default=n:F(n)&&!nt(n)?s.named=n:B(n)&&(s.list=n),q(r)?s.plural=r:y(r)?s.default=r:F(r)&&z(s,r),[o,s]}function $o(e,t,n,r,s,o){return{locale:t,key:n,warnHtmlMessage:s,onError:a=>{if(o&&o(a),process.env.NODE_ENV!=="production"){const l=Go(r),u=`Message compilation error: ${a.message}`,_=a.location&&l&&fs(l,a.location.start.offset,a.location.end.offset),h=e.__v_emitter;h&&l&&h.emit("compile-error",{message:l,error:a.message,start:a.location&&a.location.start.offset,end:a.location&&a.location.end.offset,groupId:`translate:${n}`}),console.error(_?`${u}
|
|
5
|
+
${_}`:u)}else throw a},onCacheKey:a=>rs(t,n,a)}}function Go(e){if(y(e))return e;if(e.loc&&e.loc.source)return e.loc.source}function jo(e,t,n,r){const{modifiers:s,pluralRules:o,messageResolver:a,fallbackLocale:l,fallbackWarn:u,missingWarn:_,fallbackContext:h}=e,p={locale:t,modifiers:s,pluralRules:o,messages:(A,D)=>{let L=a(n,A);if(L==null&&(h||D)){const[,,C]=mr(h||e,A,t,l,u,_);L=a(C,A)}if(y(L)||le(L)){let C=!1;const E=dr(e,A,t,L,A,()=>{C=!0});return C?bn:E}else return ae(L)?L:bn}};return e.processor&&(p.processor=e.processor),r.list&&(p.list=r.list),r.named&&(p.named=r.named),q(r.plural)&&(p.pluralIndex=r.plural),p}Gs();function Ho(){return Er().__VUE_DEVTOOLS_GLOBAL_HOOK__}function Er(){return typeof navigator<"u"&&typeof window<"u"?window:typeof globalThis<"u"?globalThis:{}}const Yo=typeof Proxy=="function",xo="devtools-plugin:setup",Ko="plugin:settings:set";let Ae,Pt;function Bo(){var e;return Ae!==void 0||(typeof window<"u"&&window.performance?(Ae=!0,Pt=window.performance):typeof globalThis<"u"&&(!((e=globalThis.perf_hooks)===null||e===void 0)&&e.performance)?(Ae=!0,Pt=globalThis.perf_hooks.performance):Ae=!1),Ae}function Xo(){return Bo()?Pt.now():Date.now()}class Jo{constructor(t,n){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=t,this.hook=n;const r={};if(t.settings)for(const a in t.settings){const l=t.settings[a];r[a]=l.defaultValue}const s=`__vue-devtools-plugin-settings__${t.id}`;let o=Object.assign({},r);try{const a=localStorage.getItem(s),l=JSON.parse(a);Object.assign(o,l)}catch{}this.fallbacks={getSettings(){return o},setSettings(a){try{localStorage.setItem(s,JSON.stringify(a))}catch{}o=a},now(){return Xo()}},n&&n.on(Ko,(a,l)=>{a===this.plugin.id&&this.fallbacks.setSettings(l)}),this.proxiedOn=new Proxy({},{get:(a,l)=>this.target?this.target.on[l]:(...u)=>{this.onQueue.push({method:l,args:u})}}),this.proxiedTarget=new Proxy({},{get:(a,l)=>this.target?this.target[l]:l==="on"?this.proxiedOn:Object.keys(this.fallbacks).includes(l)?(...u)=>(this.targetQueue.push({method:l,args:u,resolve:()=>{}}),this.fallbacks[l](...u)):(...u)=>new Promise(_=>{this.targetQueue.push({method:l,args:u,resolve:_})})})}async setRealTarget(t){this.target=t;for(const n of this.onQueue)this.target.on[n.method](...n.args);for(const n of this.targetQueue)n.resolve(await this.target[n.method](...n.args))}}function Qo(e,t){const n=e,r=Er(),s=Ho(),o=Yo&&n.enableEarlyProxy;if(s&&(r.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!o))s.emit(xo,e,t);else{const a=o?new Jo(n,s):null;(r.__VUE_DEVTOOLS_PLUGINS__=r.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:n,setupFn:t,proxy:a}),a&&t(a.proxiedTarget)}}const qo="11.2.1";function Zo(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&($t().__INTLIFY_PROD_DEVTOOLS__=!1)}const x={UNEXPECTED_RETURN_TYPE:so,INVALID_ARGUMENT:25,MUST_BE_CALL_SETUP_TOP:26,NOT_INSTALLED:27,REQUIRED_VALUE:28,INVALID_VALUE:29,CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:30,NOT_INSTALLED_WITH_PROVIDE:31,UNEXPECTED_ERROR:32,NOT_COMPATIBLE_LEGACY_VUE_I18N:33,NOT_AVAILABLE_COMPOSITION_IN_LEGACY:34};function ie(e,...t){return Pe(e,null,process.env.NODE_ENV!=="production"?{messages:zo,args:t}:void 0)}const zo={[x.UNEXPECTED_RETURN_TYPE]:"Unexpected return type in composer",[x.INVALID_ARGUMENT]:"Invalid argument",[x.MUST_BE_CALL_SETUP_TOP]:"Must be called at the top of a `setup` function",[x.NOT_INSTALLED]:"Need to install with `app.use` function",[x.UNEXPECTED_ERROR]:"Unexpected error",[x.REQUIRED_VALUE]:"Required in value: {0}",[x.INVALID_VALUE]:"Invalid value",[x.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN]:"Cannot setup vue-devtools plugin",[x.NOT_INSTALLED_WITH_PROVIDE]:"Need to install with `provide` function",[x.NOT_COMPATIBLE_LEGACY_VUE_I18N]:"Not compatible legacy VueI18n.",[x.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]:"Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"},kt=Ee("__translateVNode"),Rt=Ee("__datetimeParts"),Mt=Ee("__numberParts"),We=Ee("__enableEmitter"),wt=Ee("__disableEmitter"),ea=Ee("__setPluralRules"),ta=Ee("__injectWithOption"),Ft=Ee("__dispose"),ce={FALLBACK_TO_ROOT:No,NOT_FOUND_PARENT_SCOPE:9,IGNORE_OBJ_FLATTEN:10,DEPRECATE_LEGACY_MODE:11,DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE:12,DUPLICATE_USE_I18N_CALLING:13},na={[ce.FALLBACK_TO_ROOT]:"Fall back to {type} '{key}' with root locale.",[ce.NOT_FOUND_PARENT_SCOPE]:"Not found parent scope. use the global scope.",[ce.IGNORE_OBJ_FLATTEN]:"Ignore object flatten: '{key}' key has an string value",[ce.DEPRECATE_LEGACY_MODE]:`Legacy API mode has been deprecated in v11. Use Composition API mode instead.
|
|
6
|
+
About how to use the Composition API mode, see https://vue-i18n.intlify.dev/guide/advanced/composition.html`,[ce.DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE]:"'v-t' has been deprecated in v11. Use translate APIs ('t' or '$t') instead.",[ce.DUPLICATE_USE_I18N_CALLING]:"Duplicate `useI18n` calling by local scope. Please don't call it on local scope, due to it does not work properly in component."};function $e(e,...t){return tt(na[e],...t)}function Ge(e){if(!V(e)||le(e))return e;for(const t in e)if(ue(e,t))if(!t.includes("."))V(e[t])&&Ge(e[t]);else{const n=t.split("."),r=n.length-1;let s=e,o=!1;for(let a=0;a<r;a++){if(n[a]==="__proto__")throw new Error(`unsafe key: ${n[a]}`);if(n[a]in s||(s[n[a]]=G()),!V(s[n[a]])){process.env.NODE_ENV!=="production"&&de($e(ce.IGNORE_OBJ_FLATTEN,{key:n[a]})),o=!0;break}s=s[n[a]]}if(o||(le(s)?tr.includes(n[r])||delete e[t]:(s[n[r]]=e[t],delete e[t])),!le(s)){const a=s[n[r]];V(a)&&Ge(a)}}return e}function pr(e,t){const{messages:n,__i18n:r,messageResolver:s,flatJson:o}=t,a=F(n)?n:B(r)?G():{[e]:G()};if(B(r)&&r.forEach(l=>{if("locale"in l&&"resource"in l){const{locale:u,resource:_}=l;u?(a[u]=a[u]||G(),Qe(_,a[u])):Qe(_,a)}else y(l)&&Qe(JSON.parse(l),a)}),s==null&&o)for(const l in a)ue(a,l)&&Ge(a[l]);return a}function gr(e){return e.type}function ra(e,t,n){let r=V(t.messages)?t.messages:G();"__i18nGlobal"in n&&(r=pr(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const s=Object.keys(r);s.length&&s.forEach(o=>{e.mergeLocaleMessage(o,r[o])});{if(V(t.datetimeFormats)){const o=Object.keys(t.datetimeFormats);o.length&&o.forEach(a=>{e.mergeDateTimeFormat(a,t.datetimeFormats[a])})}if(V(t.numberFormats)){const o=Object.keys(t.numberFormats);o.length&&o.forEach(a=>{e.mergeNumberFormat(a,t.numberFormats[a])})}}}function Sn(e){return S.createVNode(S.Text,null,e,0)}function Bt(){return zt.currentInstance||zt.getCurrentInstance()}const An="__INTLIFY_META__",Cn=()=>[],sa=()=>!1;let yn=0;function Dn(e){return((t,n,r,s)=>e(n,r,Bt()||void 0,s))}const oa=()=>{const e=Bt();let t=null;return e&&(t=gr(e)[An])?{[An]:t}:null};function Nr(e={}){const{__root:t,__injectWithOption:n}=e,r=t===void 0,s=e.flatJson,o=fe?S.ref:S.shallowRef;let a=K(e.inheritLocale)?e.inheritLocale:!0;const l=o(t&&a?t.locale.value:y(e.locale)?e.locale:ze),u=o(t&&a?t.fallbackLocale.value:y(e.fallbackLocale)||B(e.fallbackLocale)||F(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:l.value),_=o(pr(l.value,e)),h=o(F(e.datetimeFormats)?e.datetimeFormats:{[l.value]:{}}),T=o(F(e.numberFormats)?e.numberFormats:{[l.value]:{}});let p=t?t.missingWarn:K(e.missingWarn)||Ze(e.missingWarn)?e.missingWarn:!0,A=t?t.fallbackWarn:K(e.fallbackWarn)||Ze(e.fallbackWarn)?e.fallbackWarn:!0,D=t?t.fallbackRoot:K(e.fallbackRoot)?e.fallbackRoot:!0,L=!!e.fallbackFormat,C=H(e.missing)?e.missing:null,f=H(e.missing)?Dn(e.missing):null,E=H(e.postTranslation)?e.postTranslation:null,v=t?t.warnHtmlMessage:K(e.warnHtmlMessage)?e.warnHtmlMessage:!0,m=!!e.escapeParameter;const b=t?t.modifiers:F(e.modifiers)?e.modifiers:{};let I=e.pluralRules||t&&t.pluralRules,g;g=(()=>{r&&pn(null);const d={version:qo,locale:l.value,fallbackLocale:u.value,messages:_.value,modifiers:b,pluralRules:I,missing:f===null?void 0:f,missingWarn:p,fallbackWarn:A,fallbackFormat:L,unresolving:!0,postTranslation:E===null?void 0:E,warnHtmlMessage:v,escapeParameter:m,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};d.datetimeFormats=h.value,d.numberFormats=T.value,d.__datetimeFormatters=F(g)?g.__datetimeFormatters:void 0,d.__numberFormatters=F(g)?g.__numberFormatters:void 0,process.env.NODE_ENV!=="production"&&(d.__v_emitter=F(g)?g.__v_emitter:void 0);const O=Co(d);return r&&pn(O),O})(),Fe(g,l.value,u.value);function w(){return[l.value,u.value,_.value,h.value,T.value]}const j=S.computed({get:()=>l.value,set:d=>{g.locale=d,l.value=d}}),Z=S.computed({get:()=>u.value,set:d=>{g.fallbackLocale=d,u.value=d,Fe(g,l.value,d)}}),U=S.computed(()=>_.value),re=S.computed(()=>h.value),M=S.computed(()=>T.value);function X(){return H(E)?E:null}function ne(d){E=d,g.postTranslation=d}function at(){return C}function lt(d){d!==null&&(f=Dn(d)),C=d,g.missing=f}function it(d,O){return d!=="translate"||!O.resolvedMessage}const pe=(d,O,$,Q,Oe,Ye)=>{w();let Se;try{process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__,r||(g.fallbackContext=t?Ao():void 0),Se=d(g)}finally{process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__,r||(g.fallbackContext=void 0)}if($!=="translate exists"&&q(Se)&&Se===rt||$==="translate exists"&&!Se){const[Le,Ar]=O();if(process.env.NODE_ENV!=="production"&&t&&y(Le)&&it($,Ar)&&(D&&(st(A,Le)||ir(p,Le))&&de($e(ce.FALLBACK_TO_ROOT,{key:Le,type:$})),process.env.NODE_ENV!=="production")){const{__v_emitter:qt}=g;qt&&D&&qt.emit("fallback",{type:$,key:Le,to:"global",groupId:`${$}:${Le}`})}return t&&D?Q(t):Oe(Le)}else{if(Ye(Se))return Se;throw ie(x.UNEXPECTED_RETURN_TYPE)}};function ke(...d){return pe(O=>Reflect.apply(In,null,[O,...d]),()=>Dt(...d),"translate",O=>Reflect.apply(O.t,O,[...d]),O=>O,O=>y(O))}function ct(...d){const[O,$,Q]=d;if(Q&&!V(Q))throw ie(x.INVALID_ARGUMENT);return ke(O,$,z({resolvedMessage:!0},Q||{}))}function ut(...d){return pe(O=>Reflect.apply(hn,null,[O,...d]),()=>Ct(...d),"datetime format",O=>Reflect.apply(O.d,O,[...d]),()=>et,O=>y(O)||B(O))}function ft(...d){return pe(O=>Reflect.apply(vn,null,[O,...d]),()=>yt(...d),"number format",O=>Reflect.apply(O.n,O,[...d]),()=>et,O=>y(O)||B(O))}function _t(d){return d.map(O=>y(O)||q(O)||K(O)?Sn(String(O)):O)}const mt={normalize:_t,interpolate:d=>d,type:"vnode"};function je(...d){return pe(O=>{let $;const Q=O;try{Q.processor=mt,$=Reflect.apply(In,null,[Q,...d])}finally{Q.processor=null}return $},()=>Dt(...d),"translate",O=>O[kt](...d),O=>[Sn(O)],O=>B(O))}function dt(...d){return pe(O=>Reflect.apply(vn,null,[O,...d]),()=>yt(...d),"number format",O=>O[Mt](...d),Cn,O=>y(O)||B(O))}function He(...d){return pe(O=>Reflect.apply(hn,null,[O,...d]),()=>Ct(...d),"datetime format",O=>O[Rt](...d),Cn,O=>y(O)||B(O))}function Et(d){I=d,g.pluralRules=I}function pt(d,O){return pe(()=>{if(!d)return!1;const $=y(O)?O:l.value,Q=ve($),Oe=g.messageResolver(Q,d);return le(Oe)||ae(Oe)||y(Oe)},()=>[d],"translate exists",$=>Reflect.apply($.te,$,[d,O]),sa,$=>K($))}function Re(d){let O=null;const $=nr(g,u.value,l.value);for(let Q=0;Q<$.length;Q++){const Oe=_.value[$[Q]]||{},Ye=g.messageResolver(Oe,d);if(Ye!=null){O=Ye;break}}return O}function Me(d){const O=Re(d);return O??(t?t.tm(d)||{}:{})}function ve(d){return _.value[d]||{}}function we(d,O){if(s){const $={[d]:O};for(const Q in $)ue($,Q)&&Ge($[Q]);O=$[d]}_.value[d]=O,g.messages=_.value}function gt(d,O){_.value[d]=_.value[d]||{};const $={[d]:O};if(s)for(const Q in $)ue($,Q)&&Ge($[Q]);O=$[d],Qe(O,_.value[d]),g.messages=_.value}function i(d){return h.value[d]||{}}function c(d,O){h.value[d]=O,g.datetimeFormats=h.value,Tn(g,d,O)}function N(d,O){h.value[d]=z(h.value[d]||{},O),g.datetimeFormats=h.value,Tn(g,d,O)}function P(d){return T.value[d]||{}}function Y(d,O){T.value[d]=O,g.numberFormats=T.value,On(g,d,O)}function J(d,O){T.value[d]=z(T.value[d]||{},O),g.numberFormats=T.value,On(g,d,O)}yn++,t&&fe&&(S.watch(t.locale,d=>{a&&(l.value=d,g.locale=d,Fe(g,l.value,u.value))}),S.watch(t.fallbackLocale,d=>{a&&(u.value=d,g.fallbackLocale=d,Fe(g,l.value,u.value))}));const W={id:yn,locale:j,fallbackLocale:Z,get inheritLocale(){return a},set inheritLocale(d){a=d,d&&t&&(l.value=t.locale.value,u.value=t.fallbackLocale.value,Fe(g,l.value,u.value))},get availableLocales(){return Object.keys(_.value).sort()},messages:U,get modifiers(){return b},get pluralRules(){return I||{}},get isGlobal(){return r},get missingWarn(){return p},set missingWarn(d){p=d,g.missingWarn=p},get fallbackWarn(){return A},set fallbackWarn(d){A=d,g.fallbackWarn=A},get fallbackRoot(){return D},set fallbackRoot(d){D=d},get fallbackFormat(){return L},set fallbackFormat(d){L=d,g.fallbackFormat=L},get warnHtmlMessage(){return v},set warnHtmlMessage(d){v=d,g.warnHtmlMessage=d},get escapeParameter(){return m},set escapeParameter(d){m=d,g.escapeParameter=d},t:ke,getLocaleMessage:ve,setLocaleMessage:we,mergeLocaleMessage:gt,getPostTranslationHandler:X,setPostTranslationHandler:ne,getMissingHandler:at,setMissingHandler:lt,[ea]:Et};return W.datetimeFormats=re,W.numberFormats=M,W.rt=ct,W.te=pt,W.tm=Me,W.d=ut,W.n=ft,W.getDateTimeFormat=i,W.setDateTimeFormat=c,W.mergeDateTimeFormat=N,W.getNumberFormat=P,W.setNumberFormat=Y,W.mergeNumberFormat=J,W[ta]=n,W[kt]=je,W[Rt]=He,W[Mt]=dt,process.env.NODE_ENV!=="production"&&(W[We]=d=>{g.__v_emitter=d},W[wt]=()=>{g.__v_emitter=void 0}),W}const hr="vue-i18n: composer properties",Lt={"vue-devtools-plugin-vue-i18n":"Vue I18n DevTools","vue-i18n-resource-inspector":"Vue I18n DevTools","vue-i18n-timeline":"Vue I18n"},aa={"vue-i18n-resource-inspector":"Search for scopes ..."},la={"vue-i18n-timeline":16764185};let Ut;async function ia(e,t){return new Promise((n,r)=>{try{Qo({id:"vue-devtools-plugin-vue-i18n",label:Lt["vue-devtools-plugin-vue-i18n"],packageName:"vue-i18n",homepage:"https://vue-i18n.intlify.dev",logo:"https://vue-i18n.intlify.dev/vue-i18n-devtools-logo.png",componentStateTypes:[hr],app:e},s=>{Ut=s,s.on.visitComponentTree(({componentInstance:a,treeNode:l})=>{ca(a,l,t)}),s.on.inspectComponent(({componentInstance:a,instanceData:l})=>{a.__VUE_I18N__&&l&&(t.mode==="legacy"?a.__VUE_I18N__!==t.global.__composer&&Pn(l,a.__VUE_I18N__):Pn(l,a.__VUE_I18N__))}),s.addInspector({id:"vue-i18n-resource-inspector",label:Lt["vue-i18n-resource-inspector"],icon:"language",treeFilterPlaceholder:aa["vue-i18n-resource-inspector"]}),s.on.getInspectorTree(a=>{a.app===e&&a.inspectorId==="vue-i18n-resource-inspector"&&da(a,t)});const o=new Map;s.on.getInspectorState(async a=>{if(a.app===e&&a.inspectorId==="vue-i18n-resource-inspector")if(s.unhighlightElement(),pa(a,t),a.nodeId==="global"){if(!o.has(a.app)){const[l]=await s.getComponentInstances(a.app);o.set(a.app,l)}s.highlightElement(o.get(a.app))}else{const l=Ea(a.nodeId,t);l&&s.highlightElement(l)}}),s.on.editInspectorState(a=>{a.app===e&&a.inspectorId==="vue-i18n-resource-inspector"&&Na(a,t)}),s.addTimelineLayer({id:"vue-i18n-timeline",label:Lt["vue-i18n-timeline"],color:la["vue-i18n-timeline"]}),n(!0)})}catch(s){console.error(s),r(!1)}})}function Tr(e){return e.type.name||e.type.displayName||e.type.__file||"Anonymous"}function ca(e,t,n){const r=n.mode==="composition"?n.global:n.global.__composer;if(e&&e.__VUE_I18N__&&e.__VUE_I18N__!==r){const s={label:`i18n (${Tr(e)} Scope)`,textColor:0,backgroundColor:16764185};t.tags.push(s)}}function Pn(e,t){const n=hr;e.state.push({type:n,key:"locale",editable:!0,value:t.locale.value}),e.state.push({type:n,key:"availableLocales",editable:!1,value:t.availableLocales}),e.state.push({type:n,key:"fallbackLocale",editable:!0,value:t.fallbackLocale.value}),e.state.push({type:n,key:"inheritLocale",editable:!0,value:t.inheritLocale}),e.state.push({type:n,key:"messages",editable:!1,value:Xt(t.messages.value)}),e.state.push({type:n,key:"datetimeFormats",editable:!1,value:t.datetimeFormats.value}),e.state.push({type:n,key:"numberFormats",editable:!1,value:t.numberFormats.value})}function Xt(e){const t={};return Object.keys(e).forEach(n=>{const r=e[n];H(r)&&"source"in r?t[n]=ma(r):le(r)&&r.loc&&r.loc.source?t[n]=r.loc.source:V(r)?t[n]=Xt(r):t[n]=r}),t}const ua={"<":"<",">":">",'"':""","&":"&"};function fa(e){return e.replace(/[<>"&]/g,_a)}function _a(e){return ua[e]||e}function ma(e){return{_custom:{type:"function",display:`<span>ƒ</span> ${e.source?`("${fa(e.source)}")`:"(?)"}`}}}function da(e,t){e.rootNodes.push({id:"global",label:"Global Scope"});const n=t.mode==="composition"?t.global:t.global.__composer;for(const[r,s]of t.__instances){const o=t.mode==="composition"?s:s.__composer;n!==o&&e.rootNodes.push({id:o.id.toString(),label:`${Tr(r)} Scope`})}}function Ea(e,t){let n=null;if(e!=="global"){for(const[r,s]of t.__instances.entries())if(s.id.toString()===e){n=r;break}}return n}function vr(e,t){if(e==="global")return t.mode==="composition"?t.global:t.global.__composer;{const n=Array.from(t.__instances.values()).find(r=>r.id.toString()===e);return n?t.mode==="composition"?n:n.__composer:null}}function pa(e,t){const n=vr(e.nodeId,t);return n&&(e.state=ga(n)),null}function ga(e){const t={},n="Locale related info",r=[{type:n,key:"locale",editable:!0,value:e.locale.value},{type:n,key:"fallbackLocale",editable:!0,value:e.fallbackLocale.value},{type:n,key:"availableLocales",editable:!1,value:e.availableLocales},{type:n,key:"inheritLocale",editable:!0,value:e.inheritLocale}];t[n]=r;const s="Locale messages info",o=[{type:s,key:"messages",editable:!1,value:Xt(e.messages.value)}];t[s]=o;{const a="Datetime formats info",l=[{type:a,key:"datetimeFormats",editable:!1,value:e.datetimeFormats.value}];t[a]=l;const u="Datetime formats info",_=[{type:u,key:"numberFormats",editable:!1,value:e.numberFormats.value}];t[u]=_}return t}function Vt(e,t){if(Ut){let n;t&&"groupId"in t&&(n=t.groupId,delete t.groupId),Ut.addTimelineEvent({layerId:"vue-i18n-timeline",event:{title:e,groupId:n,time:Date.now(),meta:{},data:t||{},logType:e==="compile-error"?"error":e==="fallback"||e==="missing"?"warning":"default"}})}}function Na(e,t){const n=vr(e.nodeId,t);if(n){const[r]=e.path;r==="locale"&&y(e.state.value)?n.locale.value=e.state.value:r==="fallbackLocale"&&(y(e.state.value)||B(e.state.value)||V(e.state.value))?n.fallbackLocale.value=e.state.value:r==="inheritLocale"&&K(e.state.value)&&(n.inheritLocale=e.state.value)}}const Jt={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function ha({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((r,s)=>[...r,...s.type===S.Fragment?s.children:[s]],[]):t.reduce((n,r)=>{const s=e[r];return s&&(n[r]=s()),n},G())}function Or(){return S.Fragment}const Ta=S.defineComponent({name:"i18n-t",props:z({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>q(e)||!isNaN(e)}},Jt),setup(e,t){const{slots:n,attrs:r}=t,s=e.i18n||ot({useScope:e.scope,__useComponent:!0});return()=>{const o=Object.keys(n).filter(T=>T[0]!=="_"),a=G();e.locale&&(a.locale=e.locale),e.plural!==void 0&&(a.plural=y(e.plural)?+e.plural:e.plural);const l=ha(t,o),u=s[kt](e.keypath,l,a),_=z(G(),r),h=y(e.tag)||V(e.tag)?e.tag:Or();return S.h(h,_,u)}}}),kn=Ta;function va(e){return B(e)&&!y(e[0])}function Lr(e,t,n,r){const{slots:s,attrs:o}=t;return()=>{const a={part:!0};let l=G();e.locale&&(a.locale=e.locale),y(e.format)?a.key=e.format:V(e.format)&&(y(e.format.key)&&(a.key=e.format.key),l=Object.keys(e.format).reduce((p,A)=>n.includes(A)?z(G(),p,{[A]:e.format[A]}):p,G()));const u=r(e.value,a,l);let _=[a.key];B(u)?_=u.map((p,A)=>{const D=s[p.type],L=D?D({[p.type]:p.value,index:A,parts:u}):[p.value];return va(L)&&(L[0].key=`${p.type}-${A}`),L}):y(u)&&(_=[u]);const h=z(G(),o),T=y(e.tag)||V(e.tag)?e.tag:Or();return S.h(T,h,_)}}const Oa=S.defineComponent({name:"i18n-n",props:z({value:{type:Number,required:!0},format:{type:[String,Object]}},Jt),setup(e,t){const n=e.i18n||ot({useScope:e.scope,__useComponent:!0});return Lr(e,t,_r,(...r)=>n[Mt](...r))}}),Rn=Oa;function La(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const r=n.__getInstance(t);return r!=null?r.__composer:e.global.__composer}}function ba(e){const t=a=>{process.env.NODE_ENV!=="production"&&Yn($e(ce.DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE));const{instance:l,value:u}=a;if(!l||!l.$)throw ie(x.UNEXPECTED_ERROR);const _=La(e,l.$),h=Mn(u);return[Reflect.apply(_.t,_,[...wn(h)]),_]};return{created:(a,l)=>{const[u,_]=t(l);fe&&e.global===_&&(a.__i18nWatcher=S.watch(_.locale,()=>{l.instance&&l.instance.$forceUpdate()})),a.__composer=_,a.textContent=u},unmounted:a=>{fe&&a.__i18nWatcher&&(a.__i18nWatcher(),a.__i18nWatcher=void 0,delete a.__i18nWatcher),a.__composer&&(a.__composer=void 0,delete a.__composer)},beforeUpdate:(a,{value:l})=>{if(a.__composer){const u=a.__composer,_=Mn(l);a.textContent=Reflect.apply(u.t,u,[...wn(_)])}},getSSRProps:a=>{const[l]=t(a);return{textContent:l}}}}function Mn(e){if(y(e))return{path:e};if(F(e)){if(!("path"in e))throw ie(x.REQUIRED_VALUE,"path");return e}else throw ie(x.INVALID_VALUE)}function wn(e){const{path:t,locale:n,args:r,choice:s,plural:o}=e,a={},l=r||{};return y(n)&&(a.locale=n),q(s)&&(a.plural=s),q(o)&&(a.plural=o),[t,l,a]}function Ia(e,t,...n){const r=F(n[0])?n[0]:{};(K(r.globalInstall)?r.globalInstall:!0)&&([kn.name,"I18nT"].forEach(o=>e.component(o,kn)),[Rn.name,"I18nN"].forEach(o=>e.component(o,Rn)),[Un.name,"I18nD"].forEach(o=>e.component(o,Un))),e.directive("t",ba(t))}const Sa=Ee("global-vue-i18n");function Aa(e={}){process.env.NODE_ENV;const n=K(e.globalInjection)?e.globalInjection:!0,r=new Map,[s,o]=Ca(e),a=Ee(process.env.NODE_ENV!=="production"?"vue-i18n":"");function l(T){return r.get(T)||null}function u(T,p){r.set(T,p)}function _(T){r.delete(T)}const h={get mode(){return"composition"},async install(T,...p){if(process.env.NODE_ENV!=="production"&&(T.__VUE_I18N__=h),T.__VUE_I18N_SYMBOL__=a,T.provide(T.__VUE_I18N_SYMBOL__,h),F(p[0])){const L=p[0];h.__composerExtend=L.__composerExtend,h.__vueI18nExtend=L.__vueI18nExtend}let A=null;n&&(A=Fa(T,h.global)),Ia(T,h,...p);const D=T.unmount;if(T.unmount=()=>{A&&A(),h.dispose(),D()},process.env.NODE_ENV!=="production"){if(!await ia(T,h))throw ie(x.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN);const C=Kn();{const f=o;f[We]&&f[We](C)}C.on("*",Vt)}},get global(){return o},dispose(){s.stop()},__instances:r,__getInstance:l,__setInstance:u,__deleteInstance:_};return h}function ot(e={}){const t=Bt();if(t==null)throw ie(x.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw ie(x.NOT_INSTALLED);const n=ya(t),r=Pa(n),s=gr(t),o=Da(e,s);if(o==="global")return ra(r,e,s),r;if(o==="parent"){let u=ka(n,t,e.__useComponent);return u==null&&(process.env.NODE_ENV!=="production"&&de($e(ce.NOT_FOUND_PARENT_SCOPE)),u=r),u}const a=n;let l=a.__getInstance(t);if(l==null){const u=z({},e);"__i18n"in s&&(u.__i18n=s.__i18n),r&&(u.__root=r),l=Nr(u),a.__composerExtend&&(l[Ft]=a.__composerExtend(l)),Ma(a,t,l),a.__setInstance(t,l)}else process.env.NODE_ENV!=="production"&&o==="local"&&de($e(ce.DUPLICATE_USE_I18N_CALLING));return l}function Ca(e,t){const n=S.effectScope(),r=n.run(()=>Nr(e));if(r==null)throw ie(x.UNEXPECTED_ERROR);return[n,r]}function ya(e){const t=S.inject(e.isCE?Sa:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw ie(e.isCE?x.NOT_INSTALLED_WITH_PROVIDE:x.UNEXPECTED_ERROR);return t}function Da(e,t){return nt(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function Pa(e){return e.mode==="composition"?e.global:e.global.__composer}function ka(e,t,n=!1){let r=null;const s=t.root;let o=Ra(t,n);for(;o!=null;){const a=e;if(e.mode==="composition"&&(r=a.__getInstance(o)),r!=null||s===o)break;o=o.parent}return r}function Ra(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function Ma(e,t,n){let r=null;S.onMounted(()=>{if(process.env.NODE_ENV!=="production"){t.__VUE_I18N__=n,r=Kn();const s=n;s[We]&&s[We](r),r.on("*",Vt)}},t),S.onUnmounted(()=>{const s=n;process.env.NODE_ENV!=="production"&&(r&&r.off("*",Vt),s[wt]&&s[wt](),delete t.__VUE_I18N__),e.__deleteInstance(t);const o=s[Ft];o&&(o(),delete s[Ft])},t)}const wa=["locale","fallbackLocale","availableLocales"],Fn=["t","rt","d","n","tm","te"];function Fa(e,t){const n=Object.create(null);return wa.forEach(s=>{const o=Object.getOwnPropertyDescriptor(t,s);if(!o)throw ie(x.UNEXPECTED_ERROR);const a=S.isRef(o.value)?{get(){return o.value.value},set(l){o.value.value=l}}:{get(){return o.get&&o.get()}};Object.defineProperty(n,s,a)}),e.config.globalProperties.$i18n=n,Fn.forEach(s=>{const o=Object.getOwnPropertyDescriptor(t,s);if(!o||!o.value)throw ie(x.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${s}`,o)}),()=>{delete e.config.globalProperties.$i18n,Fn.forEach(s=>{delete e.config.globalProperties[`$${s}`]})}}const Ua=S.defineComponent({name:"i18n-d",props:z({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Jt),setup(e,t){const n=e.i18n||ot({useScope:e.scope,__useComponent:!0});return Lr(e,t,fr,(...r)=>n[Rt](...r))}}),Un=Ua;Zo();Oo(zs);Lo(go);bo(nr);if(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const e=$t();e.__INTLIFY__=!0,eo(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}process.env.NODE_ENV;const bt=e=>e&&typeof e=="object"&&!Array.isArray(e),Wt=(e,...t)=>{if(!t.length)return e;const n=t.shift();if(bt(e)&&bt(n))for(const r in n)bt(n[r])?(e[r]||Object.assign(e,{[r]:{}}),Wt(e[r],n[r])):Object.assign(e,{[r]:n[r]});return Wt(e,...t)},Va=Wt({},{"zh-CN":{hello:{t:0,b:{t:2,i:[{t:3}],s:"你好"}},age:{t:0,b:{t:2,i:[{t:3}],s:"年龄"}}}}),Wa=[{path:"/",name:"/",component:()=>Promise.resolve().then(()=>require("./index-B9aGVsah.cjs"))},{path:"/test",children:[{path:"table",name:"/test/table",component:()=>Promise.resolve().then(()=>require("./table-DnNkGrLR.cjs"))}]}],br=Zt.createRouter({history:Zt.createWebHistory(),routes:Wa}),Ir=Cr.createPinia(),Sr=Aa({locale:"zh-CN",fallbackLocale:"en",messages:Va}),qe=es({valueLight:"light",valueDark:"dark"}),$a=()=>{qe.value=!qe.value,console.info("dark:",qe.value)},Ga=e=>{const t=S.createApp(e);return t.use(br).use(Sr).use(Ir),t},ja=S.ref(),Ha=e=>{e.value=e},Ya=S.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./ElTablePlus-DGAKgtzB.cjs"))),xa=S.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./ElAuthCode-CjW7VQCs.cjs"))),Ka=S.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./HelloWorld-DkE5myvU.cjs")));exports.ElAuthCode=xa;exports.ElTablePlus=Ya;exports.HelloWorld=Ka;exports.createApp=Ga;exports.i18n=Sr;exports.isDark=qe;exports.locale=ja;exports.pinia=Ir;exports.router=br;exports.toggleLocale=Ha;exports.toggleTheme=$a;exports.useI18n=ot;exports.useSessionStorage=ts;
|