diff --git a/THIRD_PARTY.txt b/THIRD_PARTY.txt
index 7b0b2e7a..155282c4 100644
--- a/THIRD_PARTY.txt
+++ b/THIRD_PARTY.txt
@@ -1415,6 +1415,7 @@ https://cdnjs.cloudflare.com/ajax/libs/video.js/7.21.1/video.min.js
https://cdnjs.cloudflare.com/ajax/libs/video.js/8.18.0/video-js.min.css
https://cdnjs.cloudflare.com/ajax/libs/video.js/8.18.0/video.min.js
https://cdnjs.cloudflare.com/ajax/libs/vue/3.5.4/vue.global.prod.js
+https://cdnjs.cloudflare.com/ajax/libs/vue-i18n/10.0.1/vue-i18n.cjs.min.js
https://cdnjs.cloudflare.com/ajax/libs/vue-i18n/8.27.2/vue-i18n.min.js
https://cdnjs.cloudflare.com/ajax/libs/vue-i18n/9.14.0/vue-i18n.cjs.min.js
https://cdnjs.cloudflare.com/ajax/libs/vue-router/3.6.5/vue-router.min.js
diff --git a/modules/internal/targets.js b/modules/internal/targets.js
index d33aa30e..c7972a54 100644
--- a/modules/internal/targets.js
+++ b/modules/internal/targets.js
@@ -498,6 +498,7 @@ targets.setLastVersion = function (type, version) {
if (type.startsWith('/vue/3.')) return '3.5.4';
if (type.startsWith('/vue-i18n/8.')) return '8.27.2';
if (type.startsWith('/vue-i18n/9.')) return '9.14.0';
+ if (type.startsWith('/vue-i18n/10.')) return '10.0.1';
if (type.startsWith('/vue-match-media/1.')) return '1.0.3';
if (type.startsWith('/vue-resource/1.')) return '1.5.3';
if (type.startsWith('/vue-router/3.')) return '3.6.5';
diff --git a/pages/updates/updates.html b/pages/updates/updates.html
index 14826788..e836d170 100644
--- a/pages/updates/updates.html
+++ b/pages/updates/updates.html
@@ -37,6 +37,7 @@
search-insights v2.17.1 -> v2.17.2
video.js v8.17.4 -> v8.18.0
vue v3.5.3 -> v3.5.4
+ vue-i18n v10.0.1
Improved
diff --git a/resources/vue-i18n/10.0.1/note b/resources/vue-i18n/10.0.1/note
new file mode 100644
index 00000000..76d6cf67
--- /dev/null
+++ b/resources/vue-i18n/10.0.1/note
@@ -0,0 +1,4 @@
+In this directory the file was renamed.
+
+Original: vue-i18n.global.prod.min.js
+Now: vue-i18n.min.jsm
diff --git a/resources/vue-i18n/10.0.1/vue-i18n.min.jsm b/resources/vue-i18n/10.0.1/vue-i18n.min.jsm
new file mode 100644
index 00000000..b139dafe
--- /dev/null
+++ b/resources/vue-i18n/10.0.1/vue-i18n.min.jsm
@@ -0,0 +1 @@
+var VueI18n=function(e,D){"use strict";const x="undefined"!=typeof window,a=(e,t=!1)=>t?Symbol.for(e):Symbol(e),m=(e,t,n)=>(e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"))({l:e,k:t,s:n}),M=e=>"number"==typeof e&&isFinite(e),i=e=>"[object Date]"===u(e),w=e=>"[object RegExp]"===u(e),b=e=>G(e)&&0===Object.keys(e).length,U=Object.assign;function I(e){return e.replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}const n=Object.prototype.hasOwnProperty;function W(e,t){return n.call(e,t)}const H=Array.isArray,$=e=>"function"==typeof e,j=e=>"string"==typeof e,V=e=>"boolean"==typeof e,X=e=>null!==e&&"object"==typeof e,t=e=>X(e)&&$(e.then)&&$(e.catch),s=Object.prototype.toString,u=e=>s.call(e),G=e=>{if(!X(e))return!1;e=Object.getPrototypeOf(e);return null===e||e.constructor===Object};function f(e,r=""){return e.reduce((e,t,n)=>0===n?e+t:e+r+t,"")}function ee(e,t){"undefined"!=typeof console&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const o=e=>!X(e)||H(e);function Y(t,n){if(o(t)||o(n))throw new Error("Invalid value");const r=[{src:t,des:n}];for(;r.length;){const{src:t,des:n}=r.pop();Object.keys(t).forEach(e=>{o(t[e])||o(n[e])?n[e]=t[e]:r.push({src:t[e],des:n[e]})})}}const P={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};function _(e){throw e}const R=" ",S="\n",h=String.fromCharCode(8232),k=String.fromCharCode(8233);function te(e){const t=e;let n=0,r=1,a=1,o=0;const l=e=>"\r"===t[e]&&t[e+1]===S,s=e=>t[e]===k,c=e=>t[e]===h,i=e=>l(e)||s(e)||c(e)?S:t[e];function u(){return o=0,e=n,(l(e)||(e=>t[e]===S)(e)||s(e)||c(e))&&(r++,a=0),l(n)&&n++,n++,a++,t[n];var e}return{index:()=>n,line:()=>r,column:()=>a,peekOffset:()=>o,charAt:i,currentChar:()=>i(n),currentPeek:()=>i(n+o),next:u,peek:function(){return l(n+o)&&o++,o++,t[n+o]},reset:function(){n=0,r=1,a=1,o=0},resetPeek:function(e=0){o=e},skipToPeek:function(){for(var e=n+o;e!==n;)u();o=0}}}const F=void 0;function L(e,t={}){const a=!1!==t.location,o=te(e),l=()=>o.index(),s=()=>{return{line:o.line(),column:o.column(),offset:o.index()}},n=s(),r=l(),c={currentType:13,offset:r,startLoc:n,endLoc:n,lastType:13,lastOffset:r,lastStartLoc:n,lastEndLoc:n,braceNest:0,inLinked:!1,text:""},{}=t;function i(e,t,n){e.endLoc=s();const r={type:e.currentType=t};return a&&(r.loc={start:e.startLoc,end:e.endLoc}),null!=n&&(r.value=n),r}const u=e=>i(e,13);function f(e,t){return e.currentChar()===t?(e.next(),t):(P.EXPECTED_TOKEN,s(),"")}function m(e){let t="";for(;e.currentPeek()===R||e.currentPeek()===S;)t+=e.currentPeek(),e.peek();return t}function _(e){m(e);e.skipToPeek()}function p(e){if(e===F)return!1;e=e.charCodeAt(0);return 97<=e&&e<=122||65<=e&&e<=90||95===e}function d(e){m(e);var t="|"===e.currentPeek();return e.resetPeek(),t}function g(r,e=!0){const a=(e=!1,t="")=>{var n=r.currentPeek();return"{"!==n&&"@"!==n&&n?"|"===n?!(t===R||t===S):n===R?(r.peek(),a(!0,R)):n!==S||(r.peek(),a(!0,S)):e},t=a();return e&&r.resetPeek(),t}function E(e,t){var n=e.currentChar();return n===F?F:t(n)?(e.next(),n):null}function b(e){e=e.charCodeAt(0);return 97<=e&&e<=122||65<=e&&e<=90||48<=e&&e<=57||95===e||36===e}function v(e){e=e.charCodeAt(0);return 97<=e&&e<=122||65<=e&&e<=90||48<=e&&e<=57||95===e||36===e||45===e}function h(e){e=e.charCodeAt(0);return 48<=e&&e<=57}function k(e){e=e.charCodeAt(0);return 48<=e&&e<=57||65<=e&&e<=70||97<=e&&e<=102}function L(e){let t="",n="";for(;t=E(e,h);)n+=t;return n}function N(e){return"'"!==e&&e!==S}function y(t,n,r){f(t,n);let a="";for(let e=0;e{var e=t.currentPeek();return"{"===e?p(t.peek()):!("@"===e||"|"===e||":"===e||"."===e||e===R||!e)&&(e===S?(t.peek(),n()):g(t,!1))},r=n();return t.resetPeek(),r}}(e)?(_(e),"{"===r?C(e,a)||n:i(a,10,function(n){const r=e=>{var t=n.currentChar();return"{"===t||"@"===t||"|"===t||"("===t||")"===t||!t||t===R?e:(e+=t,n.next(),r(e))};return r("")}(e))):(7===t&&(P.INVALID_LINKED_FORMAT,s()),a.braceNest=0,a.inLinked=!1,A(e,a))}}function A(e,t){let n={type:13};if(0c}}const N=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function y(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const e=parseInt(t||n,16);return e<=55295||57344<=e?String.fromCodePoint(e):"�"}}}function T(a={}){const o=!1!==a.location,{}=a;function u(e,t,n){const r={type:e};return o&&(r.start=t,r.end=t,r.loc={start:n,end:n}),r}function f(e,t,n){o&&(e.end=t,e.loc&&(e.loc.end=n))}function l(e,t){const n=e.context(),r=u(3,n.offset,n.startLoc);return r.value=t,f(r,e.currentOffset(),e.currentPosition()),r}function s(e,t){const n=e.context(),{lastOffset:r,lastStartLoc:a}=n,o=u(5,r,a);return o.index=parseInt(t,10),e.nextToken(),f(o,e.currentOffset(),e.currentPosition()),o}function c(e,t){const n=e.context(),{lastOffset:r,lastStartLoc:a}=n,o=u(4,r,a);return o.key=t,e.nextToken(),f(o,e.currentOffset(),e.currentPosition()),o}function i(e,t){const n=e.context(),{lastOffset:r,lastStartLoc:a}=n,o=u(9,r,a);return o.value=t.replace(N,y),e.nextToken(),f(o,e.currentOffset(),e.currentPosition()),o}function m(e){const t=e.context(),n=u(6,t.offset,t.startLoc);let r=e.nextToken();if(8===r.type){const t=function(e){const t=e.nextToken(),n=e.context(),{lastOffset:r,lastStartLoc:a}=n,o=u(8,r,a);return 11!==t.type?(P.UNEXPECTED_EMPTY_LINKED_MODIFIER,n.lastStartLoc,o.value="",f(o,r,a),{nextConsumeToken:t,node:o}):(null==t.value&&(P.UNEXPECTED_LEXICAL_ANALYSIS,n.lastStartLoc,p(t)),o.value=t.value||"",f(o,e.currentOffset(),e.currentPosition()),{node:o})}(e);n.modifier=t.node,r=t.nextConsumeToken||e.nextToken()}switch(9!==r.type&&(P.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,p(r)),(r=2===(r=e.nextToken()).type?e.nextToken():r).type){case 10:null==r.value&&(P.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,p(r)),n.key=function(e,t){const n=e.context(),r=u(7,n.offset,n.startLoc);return r.value=t,f(r,e.currentOffset(),e.currentPosition()),r}(e,r.value||"");break;case 4:null==r.value&&(P.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,p(r)),n.key=c(e,r.value||"");break;case 5:null==r.value&&(P.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,p(r)),n.key=s(e,r.value||"");break;case 6:null==r.value&&(P.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,p(r)),n.key=i(e,r.value||"");break;default:{P.UNEXPECTED_EMPTY_LINKED_KEY,t.lastStartLoc;const s=e.context(),c=u(7,s.offset,s.startLoc);return c.value="",f(c,s.offset,s.startLoc),n.key=c,f(n,s.offset,s.startLoc),{nextConsumeToken:r,node:n}}}return f(n,e.currentOffset(),e.currentPosition()),{node:n}}function _(e){const t=e.context(),n=u(2,1===t.currentType?e.currentOffset():t.offset,1===t.currentType?t.endLoc:t.startLoc);n.items=[];let r=null;do{const u=r||e.nextToken();switch(r=null,u.type){case 0:null==u.value&&(P.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,p(u)),n.items.push(l(e,u.value||""));break;case 5:null==u.value&&(P.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,p(u)),n.items.push(s(e,u.value||""));break;case 4:null==u.value&&(P.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,p(u)),n.items.push(c(e,u.value||""));break;case 6:null==u.value&&(P.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,p(u)),n.items.push(i(e,u.value||""));break;case 7:{const t=m(e);n.items.push(t.node),r=t.nextConsumeToken||null;break}}}while(13!==t.currentType&&1!==t.currentType);return f(n,1===t.currentType?t.lastOffset:e.currentOffset(),1===t.currentType?t.lastEndLoc:e.currentPosition()),n}return{parse:function(e){const t=L(e,U({},a)),n=t.context(),r=u(0,n.offset,n.startLoc);return o&&r.loc&&(r.loc.source=e),r.body=function(t){var{offset:n,startLoc:r}=s=t.context(),a=_(t);if(13===s.currentType)return a;{var o=t,l=n,s=r,t=a,c=o.context();let e=0===t.items.length;const i=u(1,l,s);i.cases=[],i.cases.push(t);do{const l=_(o);e=e||0===l.items.length,i.cases.push(l)}while(13!==c.currentType);return f(i,o.currentOffset(),o.currentPosition()),i}}(t),a.onCacheKey&&(r.cacheKey=a.onCacheKey(e)),13!==n.currentType&&(P.UNEXPECTED_LEXICAL_ANALYSIS,n.lastStartLoc,e[n.offset]),f(r,t.currentOffset(),t.currentPosition()),r}}}function p(e){if(13!==e.type){const t=(e.value||"").replace(/\r?\n/gu,"\\n");10{const n=j(t.mode)?t.mode:"normal",r=j(t.filename)?t.filename:"message.intl",a=!!t.sourceMap,o=null!=t.breakLineCode?t.breakLineCode:"arrow"===n?";":"\n",l=t.needIndent||"arrow"!==n,s=e.helpers||[],c=function(e,t){const{filename:n,breakLineCode:r,needIndent:a}=t,o=!1!==t.location,l={filename:n,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:r,needIndent:a,indentLevel:0};function s(e,t){l.code+=e}function c(e,t=!0){t=t?r:"";s(a?t+" ".repeat(e):t)}return o&&e.loc&&(l.source=e.loc.source),{context:()=>l,push:s,indent:function(e=!0){var t=++l.indentLevel;e&&c(t)},deindent:function(e=!0){var t=--l.indentLevel;e&&c(t)},newline:function(){c(l.indentLevel)},helper:e=>"_"+e,needIndent:()=>l.needIndent}}(e,{mode:n,filename:r,sourceMap:a,breakLineCode:o,needIndent:l}),{code:i,map:u}=(c.push("normal"===n?"function __msg__ (ctx) {":"(ctx) => {"),c.indent(l),0e+": _"+e),", ")} } = ctx`),c.newline()),c.push("return "),function t(e,n){const r=e.helper;switch(n.type){case 0:f=e,n.body?t(f,n.body):f.push("null");break;case 1:{var a=e,o=n;const{helper:m,needIndent:_}=a;if(1A(e))}return r&&function t(e){switch(e.t=e.type,e.type){case 0:{const n=e;t(n.body),n.b=n.body,delete n.body;break}case 1:{const r=e,a=r.cases;for(let e=0;et,helper:e=>(t.helpers.add(e),e)}}(n=e);l.helper("normalize"),n.body&&O(n.body,l),a=l.context(),n.helpers=Array.from(a.helpers)}return ne(e,t)}}function ae(a){return e=>{var n=e,t=a,e=t.b||t.body;if(1!==(e.t||e.type))return oe(n,e);{const t=e,r=t.c||t.cases;return n.plural(r.reduce((e,t)=>[...e,oe(n,t)],[]))}}}function oe(n,e){const t=e.s||e.static;if(t)return"text"===n.type?t:n.normalize([t]);{const t=(e.i||e.items).reduce((e,t)=>[...e,function e(t,n){const r=n.t||n.type;switch(r){case 3:case 9:{const t=n;return t.v||t.value}case 4:{const r=n;return t.interpolate(t.named(r.k||r.key))}case 5:{const r=n;return t.interpolate(t.list(null!=r.i?r.i:r.index))}case 6:{const r=n,a=r.m||r.modifier;return t.linked(e(t,r.k||r.key),a?e(t,a):void 0,t.type)}case 7:case 8:{const t=n;return t.v||t.value}default:throw new Error("unhandled node type on format message part: "+r)}}(n,t)],[]);return n.normalize(t)}}const le=e=>e;let l=Object.create(null);const K=e=>X(e)&&(0===e.t||0===e.type)&&("b"in e||"body"in e),c={INVALID_ARGUMENT:17,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};function se(e,t){return null!=t.locale?ie(t.locale):ie(e.locale)}let ce;function ie(e){if(j(e))return e;if($(e)){if(e.resolvedOnce&&null!=ce)return ce;if("Function"!==e.constructor.name)throw Error(c.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION);e=e();if(t(e))throw Error(c.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return ce=e}throw Error(c.NOT_SUPPORT_LOCALE_TYPE)}function ue(e,t,n){return[...new Set([n,...H(t)?t:X(t)?Object.keys(t):j(t)?[t]:[n]])]}function fe(t,n,r){const a=j(r)?r:z,o=t;o.__localeChainCache||(o.__localeChainCache=new Map);let l=o.__localeChainCache.get(a);if(!l){l=[];let e=[r];for(;H(e);)e=me(l,e,n);t=H(n)||!G(n)?n:n.default||null;e=j(t)?[t]:t,H(e)&&me(l,e,!1),o.__localeChainCache.set(a,l)}return l}function me(t,n,r){let a=!0;for(let e=0;e""+e.charAt(0).toLocaleUpperCase()+e.substr(1);let be,ve,he,ke=null;const Le=e=>{ke=e},Ne=()=>ke;let ye=0;function Te(e,t,n,r,a){const o=e["missing"];if(null===o)return t;{const r=o(e,n,t,a);return j(r)?r:t}}function J(e,t,n){e.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function Ie(t,...e){const{datetimeFormats:n,unresolving:r,fallbackLocale:a,localeFallbacker:o}=t,l=t["__datetimeFormatters"],[s,c,i,u]=Oe(...e);(V(i.missingWarn)?i:t).missingWarn,(V(i.fallbackWarn)?i:t).fallbackWarn;var e=!!i.part,f=se(t,i),m=o(t,a,f);if(!j(s)||""===s)return new Intl.DateTimeFormat(f,u).format(c);let _,p,d=null;for(let e=0;e{Ce.includes(e)?s[e]=n[e]:o[e]=n[e]}),j(r)?o.locale=r:G(r)&&(s=r),G(a)&&(s=a),[o.key||"",l,o,s]}function Ae(e,t,n){const r=e;for(const a in n){const e=t+"__"+a;r.__datetimeFormatters.has(e)&&r.__datetimeFormatters.delete(e)}}function Pe(t,...e){const{numberFormats:n,unresolving:r,fallbackLocale:a,localeFallbacker:o}=t,l=t["__numberFormatters"],[s,c,i,u]=Se(...e);(V(i.missingWarn)?i:t).missingWarn,(V(i.fallbackWarn)?i:t).fallbackWarn;var e=!!i.part,f=se(t,i),m=o(t,a,f);if(!j(s)||""===s)return new Intl.NumberFormat(f,u).format(c);let _,p,d=null;for(let e=0;e{Re.includes(e)?l[e]=n[e]:o[e]=n[e]}),j(r)?o.locale=r:G(r)&&(l=r),G(a)&&(l=a),[o.key||"",e,o,l]}function Fe(e,t,n){const r=e;for(const a in n){const e=t+"__"+a;r.__numberFormatters.has(e)&&r.__numberFormatters.delete(e)}}const De=e=>e,xe=e=>"",Me=e=>0===e.length?"":f(e),we=e=>null==e?"":H(e)||G(e)&&e.toString===s?JSON.stringify(e,null,2):String(e);function Ue(e,t){return e=Math.abs(e),2===t?!e||1a[e],named:e=>o[e],plural:e=>e[n(t,e.length,r)],linked:(e,...t)=>{var[n,r]=t;let a="text",o="";1===t.length?X(n)?(o=n.modifier||o,a=n.type||a):j(n)&&(o=n||o):2===t.length&&(j(n)&&(o=n||o),j(r)&&(a=r||a));t=i(e,!0)(m),n="vnode"===a&&H(t)&&o?t[0]:t;return o?(r=o,(l.modifiers?l.modifiers[r]:De)(n,a)):n},message:i,type:G(l.processor)&&j(l.processor.type)?l.processor.type:"text",interpolate:f,normalize:u,values:U({},a,o)};return m}const He=()=>"",Q=e=>$(e);function $e(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:a,messageCompiler:o,fallbackLocale:l,messages:s}=e,[c,i]=Xe(...t),u=(V(i.missingWarn)?i:e).missingWarn,f=(V(i.fallbackWarn)?i:e).fallbackWarn,m=(V(i.escapeParameter)?i:e).escapeParameter,_=!!i.resolvedMessage,p=j(i.default)||V(i.default)?V(i.default)?o?c:()=>c:i.default:n?o?c:()=>c:null,d=n||null!=p&&(j(p)||$(p)),g=se(e,i);var E;m&&(E=i,H(E.list)?E.list=E.list.map(e=>j(e)?I(e):e):X(E.named)&&Object.keys(E.named).forEach(e=>{j(E.named[e])&&(E.named[e]=I(E.named[e]))}));let[b,v,h]=_?[c,g,s[g]||{}]:je(e,c,g,l),k=b,L=c;if(_||j(k)||K(k)||Q(k)||d&&(k=p,L=k),!(_||(j(k)||K(k)||Q(k))&&j(v)))return a?B:c;let N=!1;t=Q(k)?k:Ve(e,c,v,k,L,()=>{N=!0});if(N)return k;const y=function(a,o,e,t){const{modifiers:n,pluralRules:r,messageResolver:l,fallbackLocale:s,fallbackWarn:c,missingWarn:i,fallbackContext:u}=a,f={locale:o,modifiers:n,pluralRules:r,messages:(t,n)=>{let r=l(e,t);if(null==r&&(u||n)){const[,,e]=je(u||a,t,o,s,c,i);r=l(e,t)}if(j(r)||K(r)){let e=!1;const n=Ve(a,t,o,r,t,()=>{e=!0});return e?He:n}return Q(r)?r:He}};return a.processor&&(f.processor=a.processor),t.list&&(f.list=t.list),t.named&&(f.named=t.named),M(t.plural)&&(f.pluralIndex=t.plural),f}(e,v,h,i),T=t(We(y));return r?r(T,c):T}function je(t,n,r,e){const{messages:a,messageResolver:o,localeFallbacker:l}=t,s=l(t,e,r);let c,i={},u=null;for(let e=0;er;return e.locale=n,e.key=t,e}const c=l(r,(f=o,{locale:i=n,key:u=a,warnHtmlMessage:s,onError:e=>{throw f&&f(e),e},onCacheKey:e=>m(i,u,e)}));var i,u,f;return c.locale=n,c.key=t,c.source=r,c}function Xe(...e){const[t,n,r]=e,a={};if(!(j(t)||M(t)||Q(t)||K(t)))throw Error(c.INVALID_ARGUMENT);e=M(t)?String(t):(Q(t),t);return M(n)?a.plural=n:j(n)?a.default=n:G(n)&&!b(n)?a.named=n:H(n)&&(a.list=n),M(r)?a.plural=r:j(r)?a.default=r:G(r)&&U(a,r),[e,a]}const Ge="10.0.1",q={UNEXPECTED_RETURN_TYPE:24,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},Ye=a("__translateVNode"),Ke=a("__datetimeParts"),Be=a("__numberParts"),ze=a("__setPluralRules"),Je=a("__injectWithOption"),Qe=a("__dispose");function Z(e){if(X(e))for(const o in e)if(W(e,o))if(o.includes(".")){var r=o.split("."),a=r.length-1;let t=e,n=!1;for(let e=0;e{var t,n;"locale"in e&&"resource"in e?({locale:t,resource:n}=e,t?(l[t]=l[t]||{},Y(n,l[t])):Y(n,l)):j(e)&&Y(JSON.parse(e),l)}),null==a&&o)for(const s in l)W(l,s)&&Z(l[s]);return l}function Ze(t,n,e){let r=X(n.messages)?n.messages:{};"__i18nGlobal"in e&&(r=qe(t.locale.value,{messages:r,__i18n:e.__i18nGlobal}));const a=Object.keys(r);if(a.length&&a.forEach(e=>{t.mergeLocaleMessage(e,r[e])}),X(n.datetimeFormats)){const e=Object.keys(n.datetimeFormats);e.length&&e.forEach(e=>{t.mergeDateTimeFormat(e,n.datetimeFormats[e])})}if(X(n.numberFormats)){const e=Object.keys(n.numberFormats);e.length&&e.forEach(e=>{t.mergeNumberFormat(e,n.numberFormats[e])})}}function et(e){return D.createVNode(D.Text,null,e,0)}const tt=()=>[],nt=()=>!1;let rt=0;function at(a){return(e,t,n,r)=>a(t,n,D.getCurrentInstance()||void 0,r)}function ot(n={}){const{__root:s,__injectWithOption:e}=n,c=void 0===s,a=n.flatJson,t=x?D.ref:D.shallowRef;let r=!V(n.inheritLocale)||n.inheritLocale;const i=t(s&&r?s.locale.value:j(n.locale)?n.locale:z),u=t(s&&r?s.fallbackLocale.value:j(n.fallbackLocale)||H(n.fallbackLocale)||G(n.fallbackLocale)||!1===n.fallbackLocale?n.fallbackLocale:i.value),f=t(qe(i.value,n)),m=t(G(n.datetimeFormats)?n.datetimeFormats:{[i.value]:{}}),_=t(G(n.numberFormats)?n.numberFormats:{[i.value]:{}});let o=s?s.missingWarn:!V(n.missingWarn)&&!w(n.missingWarn)||n.missingWarn,l=s?s.fallbackWarn:!V(n.fallbackWarn)&&!w(n.fallbackWarn)||n.fallbackWarn,p=s?s.fallbackRoot:!V(n.fallbackRoot)||n.fallbackRoot,d=!!n.fallbackFormat,g=$(n.missing)?n.missing:null,E=$(n.missing)?at(n.missing):null,b=$(n.postTranslation)?n.postTranslation:null,v=s?s.warnHtmlMessage:!V(n.warnHtmlMessage)||n.warnHtmlMessage,h=!!n.escapeParameter;const k=s?s.modifiers:G(n.modifiers)?n.modifiers:{};let L,N=n.pluralRules||s&&s.pluralRules;J(L=(()=>{c&&Le(null);const e={version:Ge,locale:i.value,fallbackLocale:u.value,messages:f.value,modifiers:k,pluralRules:N,missing:null===E?void 0:E,missingWarn:o,fallbackWarn:l,fallbackFormat:d,unresolving:!0,postTranslation:null===b?void 0:b,warnHtmlMessage:v,escapeParameter:h,messageResolver:n.messageResolver,messageCompiler:n.messageCompiler,__meta:{framework:"vue"}};e.datetimeFormats=m.value,e.numberFormats=_.value,e.__datetimeFormatters=G(L)?L.__datetimeFormatters:void 0,e.__numberFormatters=G(L)?L.__numberFormatters:void 0;var t=function(e={}){var t=$(e.onWarn)?e.onWarn:ee,n=j(e.version)?e.version:de,r=j(e.locale)||$(e.locale)?e.locale:z,a=$(r)?z:r,o=H(e.fallbackLocale)||G(e.fallbackLocale)||j(e.fallbackLocale)||!1===e.fallbackLocale?e.fallbackLocale:a,l=G(e.messages)?e.messages:{[a]:{}},s=G(e.datetimeFormats)?e.datetimeFormats:{[a]:{}},a=G(e.numberFormats)?e.numberFormats:{[a]:{}},c=U({},e.modifiers||{},{upper:(e,t)=>"text"===t&&j(e)?e.toUpperCase():"vnode"===t&&X(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>"text"===t&&j(e)?e.toLowerCase():"vnode"===t&&X(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>"text"===t&&j(e)?Ee(e):"vnode"===t&&X(e)&&"__v_isVNode"in e?Ee(e.children):e}),i=e.pluralRules||{},u=$(e.missing)?e.missing:null,f=!V(e.missingWarn)&&!w(e.missingWarn)||e.missingWarn,m=!V(e.fallbackWarn)&&!w(e.fallbackWarn)||e.fallbackWarn,_=!!e.fallbackFormat,p=!!e.unresolving,d=$(e.postTranslation)?e.postTranslation:null,g=G(e.processor)?e.processor:null,E=!V(e.warnHtmlMessage)||e.warnHtmlMessage,b=!!e.escapeParameter,v=$(e.messageCompiler)?e.messageCompiler:be,h=$(e.messageResolver)?e.messageResolver:ve,k=$(e.localeFallbacker)?e.localeFallbacker:he||ue,L=X(e.fallbackContext)?e.fallbackContext:void 0,N=X(e.__datetimeFormatters)?e.__datetimeFormatters:new Map,y=X(e.__numberFormatters)?e.__numberFormatters:new Map,e=X(e.__meta)?e.__meta:{};const T={version:n,cid:++ye,locale:r,fallbackLocale:o,messages:l,modifiers:c,pluralRules:i,missing:u,missingWarn:f,fallbackWarn:m,fallbackFormat:_,unresolving:p,postTranslation:d,processor:g,warnHtmlMessage:E,escapeParameter:b,messageCompiler:v,messageResolver:h,localeFallbacker:k,fallbackContext:L,onWarn:t,__meta:e};return T.datetimeFormats=s,T.numberFormats=a,T.__datetimeFormatters=N,T.__numberFormatters=y,T}(e);return c&&Le(t),t})(),i.value,u.value);var y=D.computed({get:()=>i.value,set:e=>{i.value=e,L.locale=i.value}}),T=D.computed({get:()=>u.value,set:e=>{u.value=e,L.fallbackLocale=u.value,J(L,i.value,e)}}),I=D.computed(()=>f.value),C=D.computed(()=>m.value),O=D.computed(()=>_.value);const A=(e,t,n,r,a,o)=>{let l;i.value,u.value,f.value,m.value,_.value;try{c||(L.fallbackContext=s?Ne():void 0),l=e(L)}finally{c||(L.fallbackContext=void 0)}if("translate exists"!==n&&M(l)&&l===B||"translate exists"===n&&!l){const[e,n]=t();return s&&p?r(s):a(e)}if(o(l))return l;throw Error(q.UNEXPECTED_RETURN_TYPE)};function P(...t){return A(e=>Reflect.apply($e,null,[e,...t]),()=>Xe(...t),"translate",e=>Reflect.apply(e.t,e,[...t]),e=>e,e=>j(e))}const R={normalize:function(e){return e.map(e=>j(e)||M(e)||V(e)?et(String(e)):e)},interpolate:e=>e,type:"vnode"};function S(e){return f.value[e]||{}}rt++,s&&x&&(D.watch(s.locale,e=>{r&&(i.value=e,L.locale=e,J(L,i.value,u.value))}),D.watch(s.fallbackLocale,e=>{r&&(u.value=e,L.fallbackLocale=e,J(L,i.value,u.value))}));const F={id:rt,locale:y,fallbackLocale:T,get inheritLocale(){return r},set inheritLocale(e){(r=e)&&s&&(i.value=s.locale.value,u.value=s.fallbackLocale.value,J(L,i.value,u.value))},get availableLocales(){return Object.keys(f.value).sort()},messages:I,get modifiers(){return k},get pluralRules(){return N||{}},get isGlobal(){return c},get missingWarn(){return o},set missingWarn(e){o=e,L.missingWarn=o},get fallbackWarn(){return l},set fallbackWarn(e){l=e,L.fallbackWarn=l},get fallbackRoot(){return p},set fallbackRoot(e){p=e},get fallbackFormat(){return d},set fallbackFormat(e){d=e,L.fallbackFormat=d},get warnHtmlMessage(){return v},set warnHtmlMessage(e){v=e,L.warnHtmlMessage=e},get escapeParameter(){return h},set escapeParameter(e){h=e,L.escapeParameter=e},t:P,getLocaleMessage:S,setLocaleMessage:function(e,t){if(a){var n={[e]:t};for(const e in n)W(n,e)&&Z(n[e]);t=n[e]}f.value[e]=t,L.messages=f.value},mergeLocaleMessage:function(e,t){f.value[e]=f.value[e]||{};var n={[e]:t};if(a)for(const r in n)W(n,r)&&Z(n[r]);Y(t=n[e],f.value[e]),L.messages=f.value},getPostTranslationHandler:function(){return $(b)?b:null},setPostTranslationHandler:function(e){b=e,L.postTranslation=e},getMissingHandler:function(){return g},setMissingHandler:function(e){null!==e&&(E=at(e)),g=e,L.missing=E},[ze]:function(e){N=e,L.pluralRules=N}};return F.datetimeFormats=C,F.numberFormats=O,F.rt=function(...e){var[e,t,n]=e;if(n&&!X(n))throw Error(q.INVALID_ARGUMENT);return P(e,t,U({resolvedMessage:!0},n||{}))},F.te=function(t,n){return A(()=>{if(!t)return!1;var e=S(j(n)?n:i.value),e=L.messageResolver(e,t);return K(e)||Q(e)||j(e)},()=>[t],"translate exists",e=>Reflect.apply(e.te,e,[t,n]),nt,e=>V(e))},F.tm=function(e){var t=function(t){let n=null;var r=fe(L,u.value,i.value);for(let e=0;eReflect.apply(Ie,null,[e,...t]),()=>Oe(...t),"datetime format",e=>Reflect.apply(e.d,e,[...t]),()=>ge,e=>j(e))},F.n=function(...t){return A(e=>Reflect.apply(Pe,null,[e,...t]),()=>Se(...t),"number format",e=>Reflect.apply(e.n,e,[...t]),()=>ge,e=>j(e))},F.getDateTimeFormat=function(e){return m.value[e]||{}},F.setDateTimeFormat=function(e,t){m.value[e]=t,L.datetimeFormats=m.value,Ae(L,e,t)},F.mergeDateTimeFormat=function(e,t){m.value[e]=U(m.value[e]||{},t),L.datetimeFormats=m.value,Ae(L,e,t)},F.getNumberFormat=function(e){return _.value[e]||{}},F.setNumberFormat=function(e,t){_.value[e]=t,L.numberFormats=_.value,Fe(L,e,t)},F.mergeNumberFormat=function(e,t){_.value[e]=U(_.value[e]||{},t),L.numberFormats=_.value,Fe(L,e,t)},F[Je]=e,F[Ye]=function(...r){return A(e=>{let t;const n=e;try{n.processor=R,t=Reflect.apply($e,null,[n,...r])}finally{n.processor=null}return t},()=>Xe(...r),"translate",e=>e[Ye](...r),e=>[et(e)],e=>H(e))},F[Ke]=function(...t){return A(e=>Reflect.apply(Ie,null,[e,...t]),()=>Oe(...t),"datetime format",e=>e[Ke](...t),tt,e=>j(e)||H(e))},F[Be]=function(...t){return A(e=>Reflect.apply(Pe,null,[e,...t]),()=>Se(...t),"number format",e=>e[Be](...t),tt,e=>j(e)||H(e))},F}function lt(e={}){const s=ot(function(e){const r=j(e.locale)?e.locale:z,t=j(e.fallbackLocale)||H(e.fallbackLocale)||G(e.fallbackLocale)||!1===e.fallbackLocale?e.fallbackLocale:r,n=$(e.missing)?e.missing:void 0,a=!V(e.silentTranslationWarn)&&!w(e.silentTranslationWarn)||!e.silentTranslationWarn,o=!V(e.silentFallbackWarn)&&!w(e.silentFallbackWarn)||!e.silentFallbackWarn,l=!V(e.fallbackRoot)||e.fallbackRoot,s=!!e.formatFallbackMessages,c=G(e.modifiers)?e.modifiers:{},i=e.pluralizationRules,u=$(e.postTranslation)?e.postTranslation:void 0,f=!j(e.warnHtmlInMessage)||"off"!==e.warnHtmlInMessage,m=!!e.escapeParameterHtml,_=!V(e.sync)||e.sync;let p=e.messages;if(G(e.sharedMessages)){const r=e.sharedMessages;p=Object.keys(r).reduce((e,t)=>{var n=e[t]||(e[t]={});return U(n,r[t]),e},p||{})}var{__i18n:d,__root:g,__injectWithOption:E}=e,b=e.datetimeFormats,v=e.numberFormats;return{locale:r,fallbackLocale:t,messages:p,flatJson:e.flatJson,datetimeFormats:b,numberFormats:v,missing:n,missingWarn:a,fallbackWarn:o,fallbackRoot:l,fallbackFormat:s,modifiers:c,pluralRules:i,postTranslation:u,warnHtmlMessage:f,escapeParameter:m,messageResolver:e.messageResolver,inheritLocale:_,__i18n:d,__root:g,__injectWithOption:E}}(e)),t=e["__extender"],n={id:s.id,get locale(){return s.locale.value},set locale(e){s.locale.value=e},get fallbackLocale(){return s.fallbackLocale.value},set fallbackLocale(e){s.fallbackLocale.value=e},get messages(){return s.messages.value},get datetimeFormats(){return s.datetimeFormats.value},get numberFormats(){return s.numberFormats.value},get availableLocales(){return s.availableLocales},get missing(){return s.getMissingHandler()},set missing(e){s.setMissingHandler(e)},get silentTranslationWarn(){return V(s.missingWarn)?!s.missingWarn:s.missingWarn},set silentTranslationWarn(e){s.missingWarn=V(e)?!e:e},get silentFallbackWarn(){return V(s.fallbackWarn)?!s.fallbackWarn:s.fallbackWarn},set silentFallbackWarn(e){s.fallbackWarn=V(e)?!e:e},get modifiers(){return s.modifiers},get formatFallbackMessages(){return s.fallbackFormat},set formatFallbackMessages(e){s.fallbackFormat=e},get postTranslation(){return s.getPostTranslationHandler()},set postTranslation(e){s.setPostTranslationHandler(e)},get sync(){return s.inheritLocale},set sync(e){s.inheritLocale=e},get warnHtmlInMessage(){return s.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(e){s.warnHtmlMessage="off"!==e},get escapeParameterHtml(){return s.escapeParameter},set escapeParameterHtml(e){s.escapeParameter=e},get pluralizationRules(){return s.pluralRules||{}},__composer:s,t:(...e)=>Reflect.apply(s.t,s,[...e]),rt:(...e)=>Reflect.apply(s.rt,s,[...e]),tc(...e){const[t,n,r]=e,a={plural:1};let o=null,l=null;if(!j(t))throw Error(q.INVALID_ARGUMENT);e=t;return j(n)?a.locale=n:M(n)?a.plural=n:H(n)?o=n:G(n)&&(l=n),j(r)?a.locale=r:H(r)?o=r:G(r)&&(l=r),Reflect.apply(s.t,s,[e,o||l||{},a])},te:(e,t)=>s.te(e,t),tm:e=>s.tm(e),getLocaleMessage:e=>s.getLocaleMessage(e),setLocaleMessage(e,t){s.setLocaleMessage(e,t)},mergeLocaleMessage(e,t){s.mergeLocaleMessage(e,t)},d:(...e)=>Reflect.apply(s.d,s,[...e]),getDateTimeFormat:e=>s.getDateTimeFormat(e),setDateTimeFormat(e,t){s.setDateTimeFormat(e,t)},mergeDateTimeFormat(e,t){s.mergeDateTimeFormat(e,t)},n:(...e)=>Reflect.apply(s.n,s,[...e]),getNumberFormat:e=>s.getNumberFormat(e),setNumberFormat(e,t){s.setNumberFormat(e,t)},mergeNumberFormat(e,t){s.mergeNumberFormat(e,t)}};return n.__extender=t,n}function st(t,n){t.locale=n.locale||t.locale,t.fallbackLocale=n.fallbackLocale||t.fallbackLocale,t.missing=n.missing||t.missing,t.silentTranslationWarn=n.silentTranslationWarn||t.silentFallbackWarn,t.silentFallbackWarn=n.silentFallbackWarn||t.silentFallbackWarn,t.formatFallbackMessages=n.formatFallbackMessages||t.formatFallbackMessages,t.postTranslation=n.postTranslation||t.postTranslation,t.warnHtmlInMessage=n.warnHtmlInMessage||t.warnHtmlInMessage,t.escapeParameterHtml=n.escapeParameterHtml||t.escapeParameterHtml,t.sync=n.sync||t.sync,t.__composer[ze](n.pluralizationRules||t.pluralizationRules);const r=qe(t.locale,{messages:n.messages,__i18n:n.__i18n});return Object.keys(r).forEach(e=>t.mergeLocaleMessage(e,r[e])),n.datetimeFormats&&Object.keys(n.datetimeFormats).forEach(e=>t.mergeDateTimeFormat(e,n.datetimeFormats[e])),n.numberFormats&&Object.keys(n.numberFormats).forEach(e=>t.mergeNumberFormat(e,n.numberFormats[e])),t}var ct={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>"parent"===e||"global"===e,default:"parent"},i18n:{type:Object}};function it(){return D.Fragment}const g=D.defineComponent({name:"i18n-t",props:U({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>M(e)||!isNaN(e)}},ct),setup(l,s){const{slots:c,attrs:i}=s,u=l.i18n||r({useScope:l.scope,__useComponent:!0});return()=>{const e=Object.keys(c).filter(e=>"_"!==e),t={};l.locale&&(t.locale=l.locale),void 0!==l.plural&&(t.plural=j(l.plural)?+l.plural:l.plural);[r,n]=[s["slots"],e];var r,n=1===n.length&&"default"===n[0]?(r.default?r.default():[]).reduce((e,t)=>[...e,...t.type===D.Fragment?t.children:[t]],[]):n.reduce((e,t)=>{const n=r[t];return n&&(e[t]=n()),e},{}),n=u[Ye](l.keypath,n,t),a=U({},i),o=j(l.tag)||X(l.tag)?l.tag:it();return D.h(o,a,n)}}}),ut=g;function ft(l,e,s,c){const{slots:i,attrs:u}=e;return()=>{const e={part:!0};let t={};l.locale&&(e.locale=l.locale),j(l.format)?e.key=l.format:X(l.format)&&(j(l.format.key)&&(e.key=l.format.key),t=Object.keys(l.format).reduce((e,t)=>s.includes(t)?U({},e,{[t]:l.format[t]}):e,{}));const o=c(l.value,e,t);let n=[e.key];H(o)?n=o.map((e,t)=>{const n=i[e.type],r=n?n({[e.type]:e.value,index:t,parts:o}):[e.value];var a;return H(a=r)&&!j(a[0])&&(r[0].key=e.type+"-"+t),r}):j(o)&&(n=[o]);var r=U({},u),a=j(l.tag)||X(l.tag)?l.tag:it();return D.h(a,r,n)}}const E=D.defineComponent({name:"i18n-n",props:U({value:{type:Number,required:!0},format:{type:[String,Object]}},ct),setup(e,t){const n=e.i18n||r({useScope:e.scope,__useComponent:!0});return ft(e,t,Re,(...e)=>n[Be](...e))}}),mt=E,v=D.defineComponent({name:"i18n-d",props:U({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},ct),setup(e,t){const n=e.i18n||r({useScope:e.scope,__useComponent:!0});return ft(e,t,Ce,(...e)=>n[Ke](...e))}}),_t=v;function pt(a){const o=e=>{var{instance:e,value:t}=e;if(!e||!e.$)throw Error(q.UNEXPECTED_ERROR);e=function(e,t){const n=e;if("composition"===e.mode)return n.__getInstance(t)||e.global;t=n.__getInstance(t);return(null!=t?t:e.global).__composer}(a,e.$),t=dt(t);return[Reflect.apply(e.t,e,[...gt(t)]),e]};return{created:(e,t)=>{var[n,r]=o(t);x&&a.global===r&&(e.__i18nWatcher=D.watch(r.locale,()=>{t.instance&&t.instance.$forceUpdate()})),e.__composer=r,e.textContent=n},unmounted:e=>{x&&e.__i18nWatcher&&(e.__i18nWatcher(),e.__i18nWatcher=void 0,delete e.__i18nWatcher),e.__composer&&(e.__composer=void 0,delete e.__composer)},beforeUpdate:(e,{value:t})=>{var n;e.__composer&&(n=e.__composer,t=dt(t),e.textContent=Reflect.apply(n.t,n,[...gt(t)]))},getSSRProps:e=>{var[e]=o(e);return{textContent:e}}}}function dt(e){if(j(e))return{path:e};if(G(e)){if("path"in e)return e;throw Error(q.REQUIRED_VALUE,"path")}throw Error(q.INVALID_VALUE)}function gt(e){const{path:t,locale:n,args:r,choice:a,plural:o}=e,l={},s=r||{};return j(n)&&(l.locale=n),M(a)&&(l.plural=a),M(o)&&(l.plural=o),[t,s,l]}const Et=a("global-vue-i18n");function r(t={}){var e,n,r,a,o,l=D.getCurrentInstance();if(null==l)throw Error(q.MUST_BE_CALL_SETUP_TOP);if(!l.isCE&&null!=l.appContext.app&&!l.appContext.app.__VUE_I18N_SYMBOL__)throw Error(q.NOT_INSTALLED);const s=function(e){var t=D.inject(e.isCE?Et:e.appContext.app.__VUE_I18N_SYMBOL__);if(t)return t;throw Error(e.isCE?q.NOT_INSTALLED_WITH_PROVIDE:q.UNEXPECTED_ERROR)}(l),c="composition"===(n=s).mode?n.global:n.global.__composer,i=l.type,u=(n=t,e=i,b(n)?"__i18n"in e?"local":"global":n.useScope||"local");if("global"===u)return Ze(c,t,i),c;if("parent"===u){let e=function(e,t,n=!1){let r=null;var a,o=t.root;[t,a=!1]=[t,n];let l=null==t?null:a&&t.vnode.ctx||t.parent;for(;null!=l;){const t=e;if("composition"===e.mode)r=t.__getInstance(l);else{const e=t.__getInstance(l);null!=e&&(r=e.__composer,n&&r&&!r[Je]&&(r=null))}if(null!=r)break;if(o===l)break;l=l.parent}return r}(s,l,t.__useComponent);return e=null==e?c:e}const f=s;let m=f.__getInstance(l);if(null==m){const s=U({},t);"__i18n"in i&&(s.__i18n=i.__i18n),c&&(s.__root=c),m=ot(s),f.__composerExtend&&(m[Qe]=f.__composerExtend(m)),r=f,a=l,o=m,D.onMounted(()=>{},a),D.onUnmounted(()=>{const e=o,t=(r.__deleteInstance(a),e[Qe]);t&&(t(),delete e[Qe])},a),f.__setInstance(l,m)}return m}const bt=["locale","fallbackLocale","availableLocales"],vt=["t","rt","d","n","tm","te"];return be=function(e,t){if(j(e)){V(t.warnHtmlMessage)&&t.warnHtmlMessage;var n=(t.onCacheKey||le)(e),r=l[n];if(r)return r;var{ast:r,detectError:t}=function(e,t){let n=!1;const r=t.onError||_;return t.onError=e=>{n=!0,r(e)},{...re(e,t),detectError:n}}(e,{...t,location:!1,jit:!0}),r=ae(r);return t?r:l[n]=r}{const t=e.cacheKey;return t?l[t]||(l[t]=ae(e)):ae(e)}},ve=function(e,t){if(!X(e))return null;let n=pe.get(t);if(n||(n=function(e){const t=[];let n,r,a,o,l,s,c,i=-1,u=0,f=0;const m=[];for(m[0]=()=>{void 0===r?r=a:r+=a},m[1]=()=>{void 0!==r&&(t.push(r),r=void 0)},m[2]=()=>{m[0](),f++},m[3]=()=>{if(!(0lt(e)):n.run(()=>ot(e));if(null==r)throw Error(q.UNEXPECTED_ERROR);return[n,r]}(e,i),m=a(""),_={get mode(){return i?"legacy":"composition"},async install(e,...t){if(e.__VUE_I18N_SYMBOL__=m,e.provide(e.__VUE_I18N_SYMBOL__,_),G(t[0])){const e=t[0];_.__composerExtend=e.__composerExtend,_.__vueI18nExtend=e.__vueI18nExtend}let n=null;!i&&u&&(n=function(n,r){const a=Object.create(null);bt.forEach(e=>{const t=Object.getOwnPropertyDescriptor(r,e);if(!t)throw Error(q.UNEXPECTED_ERROR);var n=D.isRef(t.value)?{get:()=>t.value.value,set(e){t.value.value=e}}:{get:()=>t.get&&t.get()};Object.defineProperty(a,e,n)}),n.config.globalProperties.$i18n=a,vt.forEach(e=>{var t=Object.getOwnPropertyDescriptor(r,e);if(!t||!t.value)throw Error(q.UNEXPECTED_ERROR);Object.defineProperty(n.config.globalProperties,"$"+e,t)});return()=>{delete n.config.globalProperties.$i18n,vt.forEach(e=>{delete n.config.globalProperties["$"+e]})}}(e,_.global));var r,a,o,[l,t,...s]=[e,_,...t];s=G(s[0])?s[0]:{},V(s.globalInstall)&&!s.globalInstall||([g.name,"I18nT"].forEach(e=>l.component(e,g)),[E.name,"I18nN"].forEach(e=>l.component(e,E)),[v.name,"I18nD"].forEach(e=>l.component(e,v))),l.directive("t",pt(t)),i&&e.mixin((r=f,a=f.__composer,o=_,{beforeCreate(){var e=D.getCurrentInstance();if(!e)throw Error(q.UNEXPECTED_ERROR);var t=this.$options;if(t.i18n){const D=t.i18n;if(t.__i18n&&(D.__i18n=t.__i18n),D.__root=a,this===this.$root)this.$i18n=st(r,D);else{D.__injectWithOption=!0,D.__extender=o.__vueI18nExtend,this.$i18n=lt(D);const r=this.$i18n;r.__extender&&(r.__disposer=r.__extender(this.$i18n))}}else if(t.__i18n)if(this===this.$root)this.$i18n=st(r,t);else{this.$i18n=lt({__i18n:t.__i18n,__injectWithOption:!0,__extender:o.__vueI18nExtend,__root:a});const r=this.$i18n;r.__extender&&(r.__disposer=r.__extender(this.$i18n))}else this.$i18n=r;t.__i18nGlobal&&Ze(a,t,t),this.$t=(...e)=>this.$i18n.t(...e),this.$rt=(...e)=>this.$i18n.rt(...e),this.$tc=(...e)=>this.$i18n.tc(...e),this.$te=(e,t)=>this.$i18n.te(e,t),this.$d=(...e)=>this.$i18n.d(...e),this.$n=(...e)=>this.$i18n.n(...e),this.$tm=e=>this.$i18n.tm(e),o.__setInstance(e,this.$i18n)},mounted(){},unmounted(){var e=D.getCurrentInstance();if(!e)throw Error(q.UNEXPECTED_ERROR);const t=this.$i18n;delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,t.__disposer&&(t.__disposer(),delete t.__disposer,delete t.__extender),o.__deleteInstance(e),delete this.$i18n}}));const c=e.unmount;e.unmount=()=>{n&&n(),_.dispose(),c()}},get global(){return f},dispose(){r.stop()},__instances:n,__getInstance:function(e){return n.get(e)||null},__setInstance:function(e,t){n.set(e,t)},__deleteInstance:function(e){n.delete(e)}};return _},e.useI18n=r,e.vTDirective=pt,e}({},Vue);
\ No newline at end of file