Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

vue-i18n

Package Overview
Dependencies
Maintainers
1
Versions
356
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-i18n - npm Package Compare versions

Comparing version 9.14.0 to 9.14.1

4

dist/vue-i18n.global.prod.js
/*!
* vue-i18n v9.14.0
* vue-i18n v9.14.1
* (c) 2024 kazuya kawaguchi
* Released under the MIT License.
*/
var VueI18n=function(e,t){"use strict";const n="undefined"!=typeof window,r=(e,t=!1)=>t?Symbol.for(e):Symbol(e),a=(e,t,n)=>l({l:e,k:t,s:n}),l=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),o=e=>"number"==typeof e&&isFinite(e),s=e=>"[object Date]"===L(e),c=e=>"[object RegExp]"===L(e),u=e=>h(e)&&0===Object.keys(e).length,i=Object.assign;function f(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}const m=Object.prototype.hasOwnProperty;function _(e,t){return m.call(e,t)}const p=Array.isArray,d=e=>"function"==typeof e,g=e=>"string"==typeof e,E=e=>"boolean"==typeof e,b=e=>null!==e&&"object"==typeof e,v=e=>b(e)&&d(e.then)&&d(e.catch),k=Object.prototype.toString,L=e=>k.call(e),h=e=>{if(!b(e))return!1;const t=Object.getPrototypeOf(e);return null===t||t.constructor===Object};function N(e,t=""){return e.reduce(((e,n,r)=>0===r?e+n:e+t+n),"")}function T(e){let t=e;return()=>++t}function y(e,t){"undefined"!=typeof console&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const I=e=>!b(e)||p(e);function O(e,t){if(I(e)||I(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:e,des:t}=n.pop();Object.keys(e).forEach((r=>{I(e[r])||I(t[r])?t[r]=e[r]:n.push({src:e[r],des:t[r]})}))}}function C(e,t,n){const r={start:e,end:t};return null!=n&&(r.source=n),r}const P={USE_MODULO_SYNTAX:1,__EXTEND_POINT__:2};const A={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,__EXTEND_POINT__:17};function R(e,t,n={}){const{domain:r,messages:a,args:l}=n,o=new SyntaxError(String(e));return o.code=e,t&&(o.location=t),o.domain=r,o}function F(e){throw e}const S=" ",D="\r",M="\n",w=String.fromCharCode(8232),x=String.fromCharCode(8233);function W(e){const t=e;let n=0,r=1,a=1,l=0;const o=e=>t[e]===D&&t[e+1]===M,s=e=>t[e]===x,c=e=>t[e]===w,u=e=>o(e)||(e=>t[e]===M)(e)||s(e)||c(e),i=e=>o(e)||s(e)||c(e)?M:t[e];function f(){return l=0,u(n)&&(r++,a=0),o(n)&&n++,n++,a++,t[n]}return{index:()=>n,line:()=>r,column:()=>a,peekOffset:()=>l,charAt:i,currentChar:()=>i(n),currentPeek:()=>i(n+l),next:f,peek:function(){return o(n+l)&&l++,l++,t[n+l]},reset:function(){n=0,r=1,a=1,l=0},resetPeek:function(e=0){l=e},skipToPeek:function(){const e=n+l;for(;e!==n;)f();l=0}}}const U=void 0,$="'";function H(e,t={}){const n=!1!==t.location,r=W(e),a=()=>r.index(),l=()=>{return e=r.line(),t=r.column(),n=r.index(),{line:e,column:t,offset:n};var e,t,n},o=l(),s=a(),c={currentType:14,offset:s,startLoc:o,endLoc:o,lastType:14,lastOffset:s,lastStartLoc:o,lastEndLoc:o,braceNest:0,inLinked:!1,text:""},u=()=>c,{onError:i}=t;function f(e,t,r){e.endLoc=l(),e.currentType=t;const a={type:t};return n&&(a.loc=C(e.startLoc,e.endLoc)),null!=r&&(a.value=r),a}const m=e=>f(e,14);function _(e,t){return e.currentChar()===t?(e.next(),t):(A.EXPECTED_TOKEN,l(),"")}function p(e){let t="";for(;e.currentPeek()===S||e.currentPeek()===M;)t+=e.currentPeek(),e.peek();return t}function d(e){const t=p(e);return e.skipToPeek(),t}function g(e){if(e===U)return!1;const t=e.charCodeAt(0);return t>=97&&t<=122||t>=65&&t<=90||95===t}function E(e,t){const{currentType:n}=t;if(2!==n)return!1;p(e);const r=function(e){if(e===U)return!1;const t=e.charCodeAt(0);return t>=48&&t<=57}("-"===e.currentPeek()?e.peek():e.currentPeek());return e.resetPeek(),r}function b(e){p(e);const t="|"===e.currentPeek();return e.resetPeek(),t}function v(e,t=!0){const n=(t=!1,r="",a=!1)=>{const l=e.currentPeek();return"{"===l?"%"!==r&&t:"@"!==l&&l?"%"===l?(e.peek(),n(t,"%",!0)):"|"===l?!("%"!==r&&!a)||!(r===S||r===M):l===S?(e.peek(),n(!0,S,a)):l!==M||(e.peek(),n(!0,M,a)):"%"===r||t},r=n();return t&&e.resetPeek(),r}function k(e,t){const n=e.currentChar();return n===U?U:t(n)?(e.next(),n):null}function L(e){const t=e.charCodeAt(0);return t>=97&&t<=122||t>=65&&t<=90||t>=48&&t<=57||95===t||36===t}function h(e){return k(e,L)}function N(e){const t=e.charCodeAt(0);return t>=97&&t<=122||t>=65&&t<=90||t>=48&&t<=57||95===t||36===t||45===t}function T(e){return k(e,N)}function y(e){const t=e.charCodeAt(0);return t>=48&&t<=57}function I(e){return k(e,y)}function O(e){const t=e.charCodeAt(0);return t>=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102}function P(e){return k(e,O)}function R(e){let t="",n="";for(;t=I(e);)n+=t;return n}function F(e){let t="";for(;;){const n=e.currentChar();if("{"===n||"}"===n||"@"===n||"|"===n||!n)break;if("%"===n){if(!v(e))break;t+=n,e.next()}else if(n===S||n===M)if(v(e))t+=n,e.next();else{if(b(e))break;t+=n,e.next()}else t+=n,e.next()}return t}function D(e){return e!==$&&e!==M}function w(e){const t=e.currentChar();switch(t){case"\\":case"'":return e.next(),`\\${t}`;case"u":return x(e,t,4);case"U":return x(e,t,6);default:return A.UNKNOWN_ESCAPE_SEQUENCE,l(),""}}function x(e,t,n){_(e,t);let r="";for(let a=0;a<n;a++){const t=P(e);if(!t){A.INVALID_UNICODE_ESCAPE_SEQUENCE,l(),e.currentChar();break}r+=t}return`\\${t}${r}`}function H(e){return"{"!==e&&"}"!==e&&e!==S&&e!==M}function V(e){d(e);const t=_(e,"|");return d(e),t}function j(e,t){let n=null;switch(e.currentChar()){case"{":return t.braceNest>=1&&(A.NOT_ALLOW_NEST_PLACEHOLDER,l()),e.next(),n=f(t,2,"{"),d(e),t.braceNest++,n;case"}":return t.braceNest>0&&2===t.currentType&&(A.EMPTY_PLACEHOLDER,l()),e.next(),n=f(t,3,"}"),t.braceNest--,t.braceNest>0&&d(e),t.inLinked&&0===t.braceNest&&(t.inLinked=!1),n;case"@":return t.braceNest>0&&(A.UNTERMINATED_CLOSING_BRACE,l()),n=X(e,t)||m(t),t.braceNest=0,n;default:{let r=!0,a=!0,o=!0;if(b(e))return t.braceNest>0&&(A.UNTERMINATED_CLOSING_BRACE,l()),n=f(t,1,V(e)),t.braceNest=0,t.inLinked=!1,n;if(t.braceNest>0&&(5===t.currentType||6===t.currentType||7===t.currentType))return A.UNTERMINATED_CLOSING_BRACE,l(),t.braceNest=0,G(e,t);if(r=function(e,t){const{currentType:n}=t;if(2!==n)return!1;p(e);const r=g(e.currentPeek());return e.resetPeek(),r}(e,t))return n=f(t,5,function(e){d(e);let t="",n="";for(;t=T(e);)n+=t;return e.currentChar()===U&&(A.UNTERMINATED_CLOSING_BRACE,l()),n}(e)),d(e),n;if(a=E(e,t))return n=f(t,6,function(e){d(e);let t="";return"-"===e.currentChar()?(e.next(),t+=`-${R(e)}`):t+=R(e),e.currentChar()===U&&(A.UNTERMINATED_CLOSING_BRACE,l()),t}(e)),d(e),n;if(o=function(e,t){const{currentType:n}=t;if(2!==n)return!1;p(e);const r=e.currentPeek()===$;return e.resetPeek(),r}(e,t))return n=f(t,7,function(e){d(e),_(e,"'");let t="",n="";for(;t=k(e,D);)n+="\\"===t?w(e):t;const r=e.currentChar();return r===M||r===U?(A.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,l(),r===M&&(e.next(),_(e,"'")),n):(_(e,"'"),n)}(e)),d(e),n;if(!r&&!a&&!o)return n=f(t,13,function(e){d(e);let t="",n="";for(;t=k(e,H);)n+=t;return n}(e)),A.INVALID_TOKEN_IN_PLACEHOLDER,l(),n.value,d(e),n;break}}return n}function X(e,t){const{currentType:n}=t;let r=null;const a=e.currentChar();switch(8!==n&&9!==n&&12!==n&&10!==n||a!==M&&a!==S||(A.INVALID_LINKED_FORMAT,l()),a){case"@":return e.next(),r=f(t,8,"@"),t.inLinked=!0,r;case".":return d(e),e.next(),f(t,9,".");case":":return d(e),e.next(),f(t,10,":");default:return b(e)?(r=f(t,1,V(e)),t.braceNest=0,t.inLinked=!1,r):function(e,t){const{currentType:n}=t;if(8!==n)return!1;p(e);const r="."===e.currentPeek();return e.resetPeek(),r}(e,t)||function(e,t){const{currentType:n}=t;if(8!==n&&12!==n)return!1;p(e);const r=":"===e.currentPeek();return e.resetPeek(),r}(e,t)?(d(e),X(e,t)):function(e,t){const{currentType:n}=t;if(9!==n)return!1;p(e);const r=g(e.currentPeek());return e.resetPeek(),r}(e,t)?(d(e),f(t,12,function(e){let t="",n="";for(;t=h(e);)n+=t;return n}(e))):function(e,t){const{currentType:n}=t;if(10!==n)return!1;const r=()=>{const t=e.currentPeek();return"{"===t?g(e.peek()):!("@"===t||"%"===t||"|"===t||":"===t||"."===t||t===S||!t)&&(t===M?(e.peek(),r()):v(e,!1))},a=r();return e.resetPeek(),a}(e,t)?(d(e),"{"===a?j(e,t)||r:f(t,11,function(e){const t=n=>{const r=e.currentChar();return"{"!==r&&"%"!==r&&"@"!==r&&"|"!==r&&"("!==r&&")"!==r&&r?r===S?n:(n+=r,e.next(),t(n)):n};return t("")}(e))):(8===n&&(A.INVALID_LINKED_FORMAT,l()),t.braceNest=0,t.inLinked=!1,G(e,t))}}function G(e,t){let n={type:14};if(t.braceNest>0)return j(e,t)||m(t);if(t.inLinked)return X(e,t)||m(t);switch(e.currentChar()){case"{":return j(e,t)||m(t);case"}":return A.UNBALANCED_CLOSING_BRACE,l(),e.next(),f(t,3,"}");case"@":return X(e,t)||m(t);default:{if(b(e))return n=f(t,1,V(e)),t.braceNest=0,t.inLinked=!1,n;const{isModulo:r,hasSpace:a}=function(e){const t=p(e),n="%"===e.currentPeek()&&"{"===e.peek();return e.resetPeek(),{isModulo:n,hasSpace:t.length>0}}(e);if(r)return a?f(t,0,F(e)):f(t,4,function(e){d(e);const t=e.currentChar();return"%"!==t&&(A.EXPECTED_TOKEN,l()),e.next(),"%"}(e));if(v(e))return f(t,0,F(e));break}}return n}return{nextToken:function(){const{currentType:e,offset:t,startLoc:n,endLoc:o}=c;return c.lastType=e,c.lastOffset=t,c.lastStartLoc=n,c.lastEndLoc=o,c.offset=a(),c.startLoc=l(),r.currentChar()===U?f(c,14):G(r,c)},currentOffset:a,currentPosition:l,context:u}}const V=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function j(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const e=parseInt(t||n,16);return e<=55295||e>=57344?String.fromCodePoint(e):"�"}}}function X(e={}){const t=!1!==e.location,{onError:n,onWarn:r}=e;function a(e,n,r){const a={type:e};return t&&(a.start=n,a.end=n,a.loc={start:r,end:r}),a}function l(e,n,r,a){a&&(e.type=a),t&&(e.end=n,e.loc&&(e.loc.end=r))}function o(e,t){const n=e.context(),r=a(3,n.offset,n.startLoc);return r.value=t,l(r,e.currentOffset(),e.currentPosition()),r}function s(e,t){const n=e.context(),{lastOffset:r,lastStartLoc:o}=n,s=a(5,r,o);return s.index=parseInt(t,10),e.nextToken(),l(s,e.currentOffset(),e.currentPosition()),s}function c(e,t,n){const r=e.context(),{lastOffset:o,lastStartLoc:s}=r,c=a(4,o,s);return c.key=t,!0===n&&(c.modulo=!0),e.nextToken(),l(c,e.currentOffset(),e.currentPosition()),c}function u(e,t){const n=e.context(),{lastOffset:r,lastStartLoc:o}=n,s=a(9,r,o);return s.value=t.replace(V,j),e.nextToken(),l(s,e.currentOffset(),e.currentPosition()),s}function f(e){const t=e.context(),n=a(6,t.offset,t.startLoc);let r=e.nextToken();if(9===r.type){const t=function(e){const t=e.nextToken(),n=e.context(),{lastOffset:r,lastStartLoc:o}=n,s=a(8,r,o);return 12!==t.type?(A.UNEXPECTED_EMPTY_LINKED_MODIFIER,n.lastStartLoc,s.value="",l(s,r,o),{nextConsumeToken:t,node:s}):(null==t.value&&(A.UNEXPECTED_LEXICAL_ANALYSIS,n.lastStartLoc,G(t)),s.value=t.value||"",l(s,e.currentOffset(),e.currentPosition()),{node:s})}(e);n.modifier=t.node,r=t.nextConsumeToken||e.nextToken()}switch(10!==r.type&&(A.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,G(r)),r=e.nextToken(),2===r.type&&(r=e.nextToken()),r.type){case 11:null==r.value&&(A.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,G(r)),n.key=function(e,t){const n=e.context(),r=a(7,n.offset,n.startLoc);return r.value=t,l(r,e.currentOffset(),e.currentPosition()),r}(e,r.value||"");break;case 5:null==r.value&&(A.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,G(r)),n.key=c(e,r.value||"");break;case 6:null==r.value&&(A.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,G(r)),n.key=s(e,r.value||"");break;case 7:null==r.value&&(A.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,G(r)),n.key=u(e,r.value||"");break;default:{A.UNEXPECTED_EMPTY_LINKED_KEY,t.lastStartLoc;const o=e.context(),s=a(7,o.offset,o.startLoc);return s.value="",l(s,o.offset,o.startLoc),n.key=s,l(n,o.offset,o.startLoc),{nextConsumeToken:r,node:n}}}return l(n,e.currentOffset(),e.currentPosition()),{node:n}}function m(e){const t=e.context(),n=a(2,1===t.currentType?e.currentOffset():t.offset,1===t.currentType?t.endLoc:t.startLoc);n.items=[];let r=null,i=null;do{const a=r||e.nextToken();switch(r=null,a.type){case 0:null==a.value&&(A.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,G(a)),n.items.push(o(e,a.value||""));break;case 6:null==a.value&&(A.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,G(a)),n.items.push(s(e,a.value||""));break;case 4:i=!0;break;case 5:null==a.value&&(A.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,G(a)),n.items.push(c(e,a.value||"",!!i)),i&&(P.USE_MODULO_SYNTAX,t.lastStartLoc,G(a),i=null);break;case 7:null==a.value&&(A.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,G(a)),n.items.push(u(e,a.value||""));break;case 8:{const t=f(e);n.items.push(t.node),r=t.nextConsumeToken||null;break}}}while(14!==t.currentType&&1!==t.currentType);return l(n,1===t.currentType?t.lastOffset:e.currentOffset(),1===t.currentType?t.lastEndLoc:e.currentPosition()),n}function _(e){const t=e.context(),{offset:n,startLoc:r}=t,o=m(e);return 14===t.currentType?o:function(e,t,n,r){const o=e.context();let s=0===r.items.length;const c=a(1,t,n);c.cases=[],c.cases.push(r);do{const t=m(e);s||(s=0===t.items.length),c.cases.push(t)}while(14!==o.currentType);return l(c,e.currentOffset(),e.currentPosition()),c}(e,n,r,o)}return{parse:function(n){const r=H(n,i({},e)),o=r.context(),s=a(0,o.offset,o.startLoc);return t&&s.loc&&(s.loc.source=n),s.body=_(r),e.onCacheKey&&(s.cacheKey=e.onCacheKey(n)),14!==o.currentType&&(A.UNEXPECTED_LEXICAL_ANALYSIS,o.lastStartLoc,n[o.offset]),l(s,r.currentOffset(),r.currentPosition()),s}}}function G(e){if(14===e.type)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function Y(e,t){for(let n=0;n<e.length;n++)B(e[n],t)}function B(e,t){switch(e.type){case 1:Y(e.cases,t),t.helper("plural");break;case 2:Y(e.items,t);break;case 6:B(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")}}function K(e,t={}){const n=function(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:e=>(n.helpers.add(e),e)}}(e);n.helper("normalize"),e.body&&B(e.body,n);const r=n.context();e.helpers=Array.from(r.helpers)}function z(e){if(1===e.items.length){const t=e.items[0];3!==t.type&&9!==t.type||(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(3!==r.type&&9!==r.type)break;if(null==r.value)break;t.push(r.value)}if(t.length===e.items.length){e.static=N(t);for(let t=0;t<e.items.length;t++){const n=e.items[t];3!==n.type&&9!==n.type||delete n.value}}}}function J(e){switch(e.t=e.type,e.type){case 0:{const t=e;J(t.body),t.b=t.body,delete t.body;break}case 1:{const t=e,n=t.cases;for(let e=0;e<n.length;e++)J(n[e]);t.c=n,delete t.cases;break}case 2:{const t=e,n=t.items;for(let e=0;e<n.length;e++)J(n[e]);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;J(t.key),t.k=t.key,delete t.key,t.modifier&&(J(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}}delete e.type}function Q(e,t){const{helper:n}=e;switch(t.type){case 0:!function(e,t){t.body?Q(e,t.body):e.push("null")}(e,t);break;case 1:!function(e,t){const{helper:n,needIndent:r}=e;if(t.cases.length>1){e.push(`${n("plural")}([`),e.indent(r());const a=t.cases.length;for(let n=0;n<a&&(Q(e,t.cases[n]),n!==a-1);n++)e.push(", ");e.deindent(r()),e.push("])")}}(e,t);break;case 2:!function(e,t){const{helper:n,needIndent:r}=e;e.push(`${n("normalize")}([`),e.indent(r());const a=t.items.length;for(let l=0;l<a&&(Q(e,t.items[l]),l!==a-1);l++)e.push(", ");e.deindent(r()),e.push("])")}(e,t);break;case 6:!function(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),Q(e,t.key),t.modifier?(e.push(", "),Q(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}(e,t);break;case 8:case 7:case 9:case 3: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)}}const q=(e,t={})=>{const n=g(t.mode)?t.mode:"normal",r=g(t.filename)?t.filename:"message.intl",a=!!t.sourceMap,l=null!=t.breakLineCode?t.breakLineCode:"arrow"===n?";":"\n",o=t.needIndent?t.needIndent:"arrow"!==n,s=e.helpers||[],c=function(e,t){const{sourceMap:n,filename:r,breakLineCode:a,needIndent:l}=t,o=!1!==t.location,s={filename:r,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:a,needIndent:l,indentLevel:0};function c(e,t){s.code+=e}function u(e,t=!0){const n=t?a:"";c(l?n+" ".repeat(e):n)}return o&&e.loc&&(s.source=e.loc.source),{context:()=>s,push:c,indent:function(e=!0){const t=++s.indentLevel;e&&u(t)},deindent:function(e=!0){const t=--s.indentLevel;e&&u(t)},newline:function(){u(s.indentLevel)},helper:e=>`_${e}`,needIndent:()=>s.needIndent}}(e,{mode:n,filename:r,sourceMap:a,breakLineCode:l,needIndent:o});c.push("normal"===n?"function __msg__ (ctx) {":"(ctx) => {"),c.indent(o),s.length>0&&(c.push(`const { ${N(s.map((e=>`${e}: _${e}`)),", ")} } = ctx`),c.newline()),c.push("return "),Q(c,e),c.deindent(o),c.push("}"),delete e.helpers;const{code:u,map:i}=c.context();return{ast:e,code:u,map:i?i.toJSON():void 0}};function Z(e,t={}){const n=i({},t),r=!!n.jit,a=!!n.minify,l=null==n.optimize||n.optimize,o=X(n).parse(e);return r?(l&&function(e){const t=e.body;2===t.type?z(t):t.cases.forEach((e=>z(e)))}(o),a&&J(o),{ast:o,code:""}):(K(o,n),q(o,n))}const ee=[];ee[0]={w:[0],i:[3,0],"[":[4],o:[7]},ee[1]={w:[1],".":[2],"[":[4],o:[7]},ee[2]={w:[2],i:[3,0],0:[3,0]},ee[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]},ee[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]},ee[5]={"'":[4,0],o:8,l:[5,0]},ee[6]={'"':[4,0],o:8,l:[6,0]};const te=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function ne(e){if(null==e)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 re(e){const t=e.trim();return("0"!==e.charAt(0)||!isNaN(parseInt(e)))&&(n=t,te.test(n)?function(e){const t=e.charCodeAt(0);return t!==e.charCodeAt(e.length-1)||34!==t&&39!==t?e:e.slice(1,-1)}(t):"*"+t);var n}const ae=new Map;function le(e,t){return b(e)?e[t]:null}const oe=e=>e,se=e=>"",ce="text",ue=e=>0===e.length?"":N(e),ie=e=>null==e?"":p(e)||h(e)&&e.toString===k?JSON.stringify(e,null,2):String(e);function fe(e,t){return e=Math.abs(e),2===t?e?e>1?1:0:1:e?Math.min(e,2):0}function me(e={}){const t=e.locale,n=function(e){const t=o(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(o(e.named.count)||o(e.named.n))?o(e.named.count)?e.named.count:o(e.named.n)?e.named.n:t:t}(e),r=b(e.pluralRules)&&g(t)&&d(e.pluralRules[t])?e.pluralRules[t]:fe,a=b(e.pluralRules)&&g(t)&&d(e.pluralRules[t])?fe:void 0,l=e.list||[],s=e.named||{};o(e.pluralIndex)&&function(e,t){t.count||(t.count=e),t.n||(t.n=e)}(n,s);function c(t){const n=d(e.messages)?e.messages(t):!!b(e.messages)&&e.messages[t];return n||(e.parent?e.parent.message(t):se)}const u=h(e.processor)&&d(e.processor.normalize)?e.processor.normalize:ue,f=h(e.processor)&&d(e.processor.interpolate)?e.processor.interpolate:ie,m={list:e=>l[e],named:e=>s[e],plural:e=>e[r(n,e.length,a)],linked:(t,...n)=>{const[r,a]=n;let l="text",o="";1===n.length?b(r)?(o=r.modifier||o,l=r.type||l):g(r)&&(o=r||o):2===n.length&&(g(r)&&(o=r||o),g(a)&&(l=a||l));const s=c(t)(m),u="vnode"===l&&p(s)&&o?s[0]:s;return o?(i=o,e.modifiers?e.modifiers[i]:oe)(u,l):u;var i},message:c,type:h(e.processor)&&g(e.processor.type)?e.processor.type:ce,interpolate:f,normalize:u,values:i({},l,s)};return m}const _e=A.__EXTEND_POINT__,pe=T(_e),de={INVALID_ARGUMENT:_e,INVALID_DATE_ARGUMENT:pe(),INVALID_ISO_DATE_ARGUMENT:pe(),NOT_SUPPORT_NON_STRING_MESSAGE:pe(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:pe(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:pe(),NOT_SUPPORT_LOCALE_TYPE:pe(),__EXTEND_POINT__:pe()};function ge(e,t){return null!=t.locale?be(t.locale):be(e.locale)}let Ee;function be(e){if(g(e))return e;if(d(e)){if(e.resolvedOnce&&null!=Ee)return Ee;if("Function"===e.constructor.name){const t=e();if(v(t))throw Error(de.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Ee=t}throw Error(de.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}throw Error(de.NOT_SUPPORT_LOCALE_TYPE)}function ve(e,t,n){return[...new Set([n,...p(t)?t:b(t)?Object.keys(t):g(t)?[t]:[n]])]}function ke(e,t,n){const r=g(n)?n:Ie,a=e;a.__localeChainCache||(a.__localeChainCache=new Map);let l=a.__localeChainCache.get(r);if(!l){l=[];let e=[n];for(;p(e);)e=Le(l,e,t);const o=p(t)||!h(t)?t:t.default?t.default:null;e=g(o)?[o]:o,p(e)&&Le(l,e,!1),a.__localeChainCache.set(r,l)}return l}function Le(e,t,n){let r=!0;for(let a=0;a<t.length&&E(r);a++){const l=t[a];g(l)&&(r=he(e,t[a],n))}return r}function he(e,t,n){let r;const a=t.split("-");do{r=Ne(e,a.join("-"),n),a.splice(-1,1)}while(a.length&&!0===r);return r}function Ne(e,t,n){let r=!1;if(!e.includes(t)&&(r=!0,t)){r="!"!==t[t.length-1];const a=t.replace(/!/g,"");e.push(a),(p(n)||h(n))&&n[a]&&(r=n[a])}return r}const Te="9.14.0",ye=-1,Ie="en-US",Oe="",Ce=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;let Pe,Ae,Re;let Fe=null;const Se=e=>{Fe=e},De=()=>Fe;let Me=0;function we(e={}){const t=d(e.onWarn)?e.onWarn:y,n=g(e.version)?e.version:Te,r=g(e.locale)||d(e.locale)?e.locale:Ie,a=d(r)?Ie:r,l=p(e.fallbackLocale)||h(e.fallbackLocale)||g(e.fallbackLocale)||!1===e.fallbackLocale?e.fallbackLocale:a,o=h(e.messages)?e.messages:{[a]:{}},s=h(e.datetimeFormats)?e.datetimeFormats:{[a]:{}},u=h(e.numberFormats)?e.numberFormats:{[a]:{}},f=i({},e.modifiers||{},{upper:(e,t)=>"text"===t&&g(e)?e.toUpperCase():"vnode"===t&&b(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>"text"===t&&g(e)?e.toLowerCase():"vnode"===t&&b(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>"text"===t&&g(e)?Ce(e):"vnode"===t&&b(e)&&"__v_isVNode"in e?Ce(e.children):e}),m=e.pluralRules||{},_=d(e.missing)?e.missing:null,v=!E(e.missingWarn)&&!c(e.missingWarn)||e.missingWarn,k=!E(e.fallbackWarn)&&!c(e.fallbackWarn)||e.fallbackWarn,L=!!e.fallbackFormat,N=!!e.unresolving,T=d(e.postTranslation)?e.postTranslation:null,I=h(e.processor)?e.processor:null,O=!E(e.warnHtmlMessage)||e.warnHtmlMessage,C=!!e.escapeParameter,P=d(e.messageCompiler)?e.messageCompiler:Pe,A=d(e.messageResolver)?e.messageResolver:Ae||le,R=d(e.localeFallbacker)?e.localeFallbacker:Re||ve,F=b(e.fallbackContext)?e.fallbackContext:void 0,S=e,D=b(S.__datetimeFormatters)?S.__datetimeFormatters:new Map,M=b(S.__numberFormatters)?S.__numberFormatters:new Map,w=b(S.__meta)?S.__meta:{};Me++;const x={version:n,cid:Me,locale:r,fallbackLocale:l,messages:o,modifiers:f,pluralRules:m,missing:_,missingWarn:v,fallbackWarn:k,fallbackFormat:L,unresolving:N,postTranslation:T,processor:I,warnHtmlMessage:O,escapeParameter:C,messageCompiler:P,messageResolver:A,localeFallbacker:R,fallbackContext:F,onWarn:t,__meta:w};return x.datetimeFormats=s,x.numberFormats=u,x.__datetimeFormatters=D,x.__numberFormatters=M,x}function xe(e,t,n,r,a){const{missing:l,onWarn:o}=e;if(null!==l){const r=l(e,n,t,a);return g(r)?r:t}return t}function We(e,t,n){e.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function Ue(e,t){const n=t.indexOf(e);if(-1===n)return!1;for(let l=n+1;l<t.length;l++)if(r=e,a=t[l],r!==a&&r.split("-")[0]===a.split("-")[0])return!0;var r,a;return!1}function $e(e){return t=>function(e,t){const n=t.b||t.body;if(1===(n.t||n.type)){const t=n,r=t.c||t.cases;return e.plural(r.reduce(((t,n)=>[...t,He(e,n)]),[]))}return He(e,n)}(t,e)}function He(e,t){const n=t.s||t.static;if(n)return"text"===e.type?n:e.normalize([n]);{const n=(t.i||t.items).reduce(((t,n)=>[...t,Ve(e,n)]),[]);return e.normalize(n)}}function Ve(e,t){const n=t.t||t.type;switch(n){case 3:{const e=t;return e.v||e.value}case 9:{const e=t;return e.v||e.value}case 4:{const n=t;return e.interpolate(e.named(n.k||n.key))}case 5:{const n=t;return e.interpolate(e.list(null!=n.i?n.i:n.index))}case 6:{const n=t,r=n.m||n.modifier;return e.linked(Ve(e,n.k||n.key),r?Ve(e,r):void 0,e.type)}case 7:{const e=t;return e.v||e.value}case 8:{const e=t;return e.v||e.value}default:throw new Error(`unhandled node type on format message part: ${n}`)}}const je=e=>e;let Xe=Object.create(null);const Ge=e=>b(e)&&(0===e.t||0===e.type)&&("b"in e||"body"in e);const Ye=()=>"",Be=e=>d(e);function Ke(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:a,messageCompiler:l,fallbackLocale:s,messages:c}=e,[u,i]=Qe(...t),m=E(i.missingWarn)?i.missingWarn:e.missingWarn,_=E(i.fallbackWarn)?i.fallbackWarn:e.fallbackWarn,d=E(i.escapeParameter)?i.escapeParameter:e.escapeParameter,v=!!i.resolvedMessage,k=g(i.default)||E(i.default)?E(i.default)?l?u:()=>u:i.default:n?l?u:()=>u:"",L=n||""!==k,h=ge(e,i);d&&function(e){p(e.list)?e.list=e.list.map((e=>g(e)?f(e):e)):b(e.named)&&Object.keys(e.named).forEach((t=>{g(e.named[t])&&(e.named[t]=f(e.named[t]))}))}(i);let[N,T,y]=v?[u,h,c[h]||{}]:ze(e,u,h,s,_,m),I=N,O=u;if(v||g(I)||Ge(I)||Be(I)||L&&(I=k,O=I),!(v||(g(I)||Ge(I)||Be(I))&&g(T)))return a?ye:u;let C=!1;const P=Be(I)?I:Je(e,u,T,I,O,(()=>{C=!0}));if(C)return I;const A=function(e,t,n,r){const{modifiers:a,pluralRules:l,messageResolver:s,fallbackLocale:c,fallbackWarn:u,missingWarn:i,fallbackContext:f}=e,m=r=>{let a=s(n,r);if(null==a&&f){const[,,e]=ze(f,r,t,c,u,i);a=s(e,r)}if(g(a)||Ge(a)){let n=!1;const l=Je(e,r,t,a,r,(()=>{n=!0}));return n?Ye:l}return Be(a)?a:Ye},_={locale:t,modifiers:a,pluralRules:l,messages:m};e.processor&&(_.processor=e.processor);r.list&&(_.list=r.list);r.named&&(_.named=r.named);o(r.plural)&&(_.pluralIndex=r.plural);return _}(e,T,y,i),R=function(e,t,n){const r=t(n);return r}(0,P,me(A));return r?r(R,u):R}function ze(e,t,n,r,a,l){const{messages:o,onWarn:s,messageResolver:c,localeFallbacker:u}=e,i=u(e,r,n);let f,m={},_=null;for(let p=0;p<i.length&&(f=i[p],m=o[f]||{},null===(_=c(m,t))&&(_=m[t]),!(g(_)||Ge(_)||Be(_)));p++)if(!Ue(f,i)){const n=xe(e,t,f,0,"translate");n!==t&&(_=n)}return[_,f,m]}function Je(e,t,n,r,l,o){const{messageCompiler:s,warnHtmlMessage:c}=e;if(Be(r)){const e=r;return e.locale=e.locale||n,e.key=e.key||t,e}if(null==s){const e=()=>r;return e.locale=n,e.key=t,e}const u=s(r,function(e,t,n,r,l,o){return{locale:t,key:n,warnHtmlMessage:l,onError:e=>{throw o&&o(e),e},onCacheKey:e=>a(t,n,e)}}(0,n,l,0,c,o));return u.locale=n,u.key=t,u.source=r,u}function Qe(...e){const[t,n,r]=e,a={};if(!(g(t)||o(t)||Be(t)||Ge(t)))throw Error(de.INVALID_ARGUMENT);const l=o(t)?String(t):(Be(t),t);return o(n)?a.plural=n:g(n)?a.default=n:h(n)&&!u(n)?a.named=n:p(n)&&(a.list=n),o(r)?a.plural=r:g(r)?a.default=r:h(r)&&i(a,r),[l,a]}function qe(e,...t){const{datetimeFormats:n,unresolving:r,fallbackLocale:a,onWarn:l,localeFallbacker:o}=e,{__datetimeFormatters:s}=e,[c,f,m,_]=et(...t);E(m.missingWarn)?m.missingWarn:e.missingWarn;E(m.fallbackWarn)?m.fallbackWarn:e.fallbackWarn;const p=!!m.part,d=ge(e,m),b=o(e,a,d);if(!g(c)||""===c)return new Intl.DateTimeFormat(d,_).format(f);let v,k={},L=null;for(let u=0;u<b.length&&(v=b[u],k=n[v]||{},L=k[c],!h(L));u++)xe(e,c,v,0,"datetime format");if(!h(L)||!g(v))return r?ye:c;let N=`${v}__${c}`;u(_)||(N=`${N}__${JSON.stringify(_)}`);let T=s.get(N);return T||(T=new Intl.DateTimeFormat(v,i({},L,_)),s.set(N,T)),p?T.formatToParts(f):T.format(f)}const Ze=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function et(...e){const[t,n,r,a]=e,l={};let c,u={};if(g(t)){const e=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!e)throw Error(de.INVALID_ISO_DATE_ARGUMENT);const n=e[3]?e[3].trim().startsWith("T")?`${e[1].trim()}${e[3].trim()}`:`${e[1].trim()}T${e[3].trim()}`:e[1].trim();c=new Date(n);try{c.toISOString()}catch(i){throw Error(de.INVALID_ISO_DATE_ARGUMENT)}}else if(s(t)){if(isNaN(t.getTime()))throw Error(de.INVALID_DATE_ARGUMENT);c=t}else{if(!o(t))throw Error(de.INVALID_ARGUMENT);c=t}return g(n)?l.key=n:h(n)&&Object.keys(n).forEach((e=>{Ze.includes(e)?u[e]=n[e]:l[e]=n[e]})),g(r)?l.locale=r:h(r)&&(u=r),h(a)&&(u=a),[l.key||"",c,l,u]}function tt(e,t,n){const r=e;for(const a in n){const e=`${t}__${a}`;r.__datetimeFormatters.has(e)&&r.__datetimeFormatters.delete(e)}}function nt(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:a,onWarn:l,localeFallbacker:o}=e,{__numberFormatters:s}=e,[c,f,m,_]=at(...t);E(m.missingWarn)?m.missingWarn:e.missingWarn;E(m.fallbackWarn)?m.fallbackWarn:e.fallbackWarn;const p=!!m.part,d=ge(e,m),b=o(e,a,d);if(!g(c)||""===c)return new Intl.NumberFormat(d,_).format(f);let v,k={},L=null;for(let u=0;u<b.length&&(v=b[u],k=n[v]||{},L=k[c],!h(L));u++)xe(e,c,v,0,"number format");if(!h(L)||!g(v))return r?ye:c;let N=`${v}__${c}`;u(_)||(N=`${N}__${JSON.stringify(_)}`);let T=s.get(N);return T||(T=new Intl.NumberFormat(v,i({},L,_)),s.set(N,T)),p?T.formatToParts(f):T.format(f)}const rt=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function at(...e){const[t,n,r,a]=e,l={};let s={};if(!o(t))throw Error(de.INVALID_ARGUMENT);const c=t;return g(n)?l.key=n:h(n)&&Object.keys(n).forEach((e=>{rt.includes(e)?s[e]=n[e]:l[e]=n[e]})),g(r)?l.locale=r:h(r)&&(s=r),h(a)&&(s=a),[l.key||"",c,l,s]}function lt(e,t,n){const r=e;for(const a in n){const e=`${t}__${a}`;r.__numberFormatters.has(e)&&r.__numberFormatters.delete(e)}}const ot="9.14.0",st=de.__EXTEND_POINT__,ct=T(st),ut={UNEXPECTED_RETURN_TYPE:st,INVALID_ARGUMENT:ct(),MUST_BE_CALL_SETUP_TOP:ct(),NOT_INSTALLED:ct(),NOT_AVAILABLE_IN_LEGACY_MODE:ct(),REQUIRED_VALUE:ct(),INVALID_VALUE:ct(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:ct(),NOT_INSTALLED_WITH_PROVIDE:ct(),UNEXPECTED_ERROR:ct(),NOT_COMPATIBLE_LEGACY_VUE_I18N:ct(),BRIDGE_SUPPORT_VUE_2_ONLY:ct(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:ct(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:ct(),__EXTEND_POINT__:ct()};const it=r("__translateVNode"),ft=r("__datetimeParts"),mt=r("__numberParts"),_t=r("__setPluralRules"),pt=r("__injectWithOption"),dt=r("__dispose");function gt(e){if(!b(e))return e;for(const t in e)if(_(e,t))if(t.includes(".")){const n=t.split("."),r=n.length-1;let a=e,l=!1;for(let e=0;e<r;e++){if(n[e]in a||(a[n[e]]={}),!b(a[n[e]])){l=!0;break}a=a[n[e]]}l||(a[n[r]]=e[t],delete e[t]),b(a[n[r]])&&gt(a[n[r]])}else b(e[t])&&gt(e[t]);return e}function Et(e,t){const{messages:n,__i18n:r,messageResolver:a,flatJson:l}=t,o=h(n)?n:p(r)?{}:{[e]:{}};if(p(r)&&r.forEach((e=>{if("locale"in e&&"resource"in e){const{locale:t,resource:n}=e;t?(o[t]=o[t]||{},O(n,o[t])):O(n,o)}else g(e)&&O(JSON.parse(e),o)})),null==a&&l)for(const s in o)_(o,s)&&gt(o[s]);return o}function bt(e){return e.type}function vt(e,t,n){let r=b(t.messages)?t.messages:{};"__i18nGlobal"in n&&(r=Et(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const a=Object.keys(r);if(a.length&&a.forEach((t=>{e.mergeLocaleMessage(t,r[t])})),b(t.datetimeFormats)){const n=Object.keys(t.datetimeFormats);n.length&&n.forEach((n=>{e.mergeDateTimeFormat(n,t.datetimeFormats[n])}))}if(b(t.numberFormats)){const n=Object.keys(t.numberFormats);n.length&&n.forEach((n=>{e.mergeNumberFormat(n,t.numberFormats[n])}))}}function kt(e){return t.createVNode(t.Text,null,e,0)}const Lt=()=>[],ht=()=>!1;let Nt=0;function Tt(e){return(n,r,a,l)=>e(r,a,t.getCurrentInstance()||void 0,l)}function yt(e={},r){const{__root:a,__injectWithOption:l}=e,s=void 0===a,u=e.flatJson,f=n?t.ref:t.shallowRef,m=!!e.translateExistCompatible;let v=!E(e.inheritLocale)||e.inheritLocale;const k=f(a&&v?a.locale.value:g(e.locale)?e.locale:Ie),L=f(a&&v?a.fallbackLocale.value:g(e.fallbackLocale)||p(e.fallbackLocale)||h(e.fallbackLocale)||!1===e.fallbackLocale?e.fallbackLocale:k.value),N=f(Et(k.value,e)),T=f(h(e.datetimeFormats)?e.datetimeFormats:{[k.value]:{}}),y=f(h(e.numberFormats)?e.numberFormats:{[k.value]:{}});let I=a?a.missingWarn:!E(e.missingWarn)&&!c(e.missingWarn)||e.missingWarn,C=a?a.fallbackWarn:!E(e.fallbackWarn)&&!c(e.fallbackWarn)||e.fallbackWarn,P=a?a.fallbackRoot:!E(e.fallbackRoot)||e.fallbackRoot,A=!!e.fallbackFormat,R=d(e.missing)?e.missing:null,F=d(e.missing)?Tt(e.missing):null,S=d(e.postTranslation)?e.postTranslation:null,D=a?a.warnHtmlMessage:!E(e.warnHtmlMessage)||e.warnHtmlMessage,M=!!e.escapeParameter;const w=a?a.modifiers:h(e.modifiers)?e.modifiers:{};let x,W=e.pluralRules||a&&a.pluralRules;x=(()=>{s&&Se(null);const t={version:ot,locale:k.value,fallbackLocale:L.value,messages:N.value,modifiers:w,pluralRules:W,missing:null===F?void 0:F,missingWarn:I,fallbackWarn:C,fallbackFormat:A,unresolving:!0,postTranslation:null===S?void 0:S,warnHtmlMessage:D,escapeParameter:M,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};t.datetimeFormats=T.value,t.numberFormats=y.value,t.__datetimeFormatters=h(x)?x.__datetimeFormatters:void 0,t.__numberFormatters=h(x)?x.__numberFormatters:void 0;const n=we(t);return s&&Se(n),n})(),We(x,k.value,L.value);const U=t.computed({get:()=>k.value,set:e=>{k.value=e,x.locale=k.value}}),$=t.computed({get:()=>L.value,set:e=>{L.value=e,x.fallbackLocale=L.value,We(x,k.value,e)}}),H=t.computed((()=>N.value)),V=t.computed((()=>T.value)),j=t.computed((()=>y.value));const X=(e,t,n,r,l,c)=>{let u;k.value,L.value,N.value,T.value,y.value;try{0,s||(x.fallbackContext=a?De():void 0),u=e(x)}finally{s||(x.fallbackContext=void 0)}if("translate exists"!==n&&o(u)&&u===ye||"translate exists"===n&&!u){const[e,n]=t();return a&&P?r(a):l(e)}if(c(u))return u;throw Error(ut.UNEXPECTED_RETURN_TYPE)};function G(...e){return X((t=>Reflect.apply(Ke,null,[t,...e])),(()=>Qe(...e)),"translate",(t=>Reflect.apply(t.t,t,[...e])),(e=>e),(e=>g(e)))}const Y={normalize:function(e){return e.map((e=>g(e)||o(e)||E(e)?kt(String(e)):e))},interpolate:e=>e,type:"vnode"};function B(e){return N.value[e]||{}}Nt++,a&&n&&(t.watch(a.locale,(e=>{v&&(k.value=e,x.locale=e,We(x,k.value,L.value))})),t.watch(a.fallbackLocale,(e=>{v&&(L.value=e,x.fallbackLocale=e,We(x,k.value,L.value))})));const K={id:Nt,locale:U,fallbackLocale:$,get inheritLocale(){return v},set inheritLocale(e){v=e,e&&a&&(k.value=a.locale.value,L.value=a.fallbackLocale.value,We(x,k.value,L.value))},get availableLocales(){return Object.keys(N.value).sort()},messages:H,get modifiers(){return w},get pluralRules(){return W||{}},get isGlobal(){return s},get missingWarn(){return I},set missingWarn(e){I=e,x.missingWarn=I},get fallbackWarn(){return C},set fallbackWarn(e){C=e,x.fallbackWarn=C},get fallbackRoot(){return P},set fallbackRoot(e){P=e},get fallbackFormat(){return A},set fallbackFormat(e){A=e,x.fallbackFormat=A},get warnHtmlMessage(){return D},set warnHtmlMessage(e){D=e,x.warnHtmlMessage=e},get escapeParameter(){return M},set escapeParameter(e){M=e,x.escapeParameter=e},t:G,getLocaleMessage:B,setLocaleMessage:function(e,t){if(u){const n={[e]:t};for(const e in n)_(n,e)&&gt(n[e]);t=n[e]}N.value[e]=t,x.messages=N.value},mergeLocaleMessage:function(e,t){N.value[e]=N.value[e]||{};const n={[e]:t};if(u)for(const r in n)_(n,r)&&gt(n[r]);O(t=n[e],N.value[e]),x.messages=N.value},getPostTranslationHandler:function(){return d(S)?S:null},setPostTranslationHandler:function(e){S=e,x.postTranslation=e},getMissingHandler:function(){return R},setMissingHandler:function(e){null!==e&&(F=Tt(e)),R=e,x.missing=F},[_t]:function(e){W=e,x.pluralRules=W}};return K.datetimeFormats=V,K.numberFormats=j,K.rt=function(...e){const[t,n,r]=e;if(r&&!b(r))throw Error(ut.INVALID_ARGUMENT);return G(t,n,i({resolvedMessage:!0},r||{}))},K.te=function(e,t){return X((()=>{if(!e)return!1;const n=B(g(t)?t:k.value),r=x.messageResolver(n,e);return m?null!=r:Ge(r)||Be(r)||g(r)}),(()=>[e]),"translate exists",(n=>Reflect.apply(n.te,n,[e,t])),ht,(e=>E(e)))},K.tm=function(e){const t=function(e){let t=null;const n=ke(x,L.value,k.value);for(let r=0;r<n.length;r++){const a=N.value[n[r]]||{},l=x.messageResolver(a,e);if(null!=l){t=l;break}}return t}(e);return null!=t?t:a&&a.tm(e)||{}},K.d=function(...e){return X((t=>Reflect.apply(qe,null,[t,...e])),(()=>et(...e)),"datetime format",(t=>Reflect.apply(t.d,t,[...e])),(()=>Oe),(e=>g(e)))},K.n=function(...e){return X((t=>Reflect.apply(nt,null,[t,...e])),(()=>at(...e)),"number format",(t=>Reflect.apply(t.n,t,[...e])),(()=>Oe),(e=>g(e)))},K.getDateTimeFormat=function(e){return T.value[e]||{}},K.setDateTimeFormat=function(e,t){T.value[e]=t,x.datetimeFormats=T.value,tt(x,e,t)},K.mergeDateTimeFormat=function(e,t){T.value[e]=i(T.value[e]||{},t),x.datetimeFormats=T.value,tt(x,e,t)},K.getNumberFormat=function(e){return y.value[e]||{}},K.setNumberFormat=function(e,t){y.value[e]=t,x.numberFormats=y.value,lt(x,e,t)},K.mergeNumberFormat=function(e,t){y.value[e]=i(y.value[e]||{},t),x.numberFormats=y.value,lt(x,e,t)},K[pt]=l,K[it]=function(...e){return X((t=>{let n;const r=t;try{r.processor=Y,n=Reflect.apply(Ke,null,[r,...e])}finally{r.processor=null}return n}),(()=>Qe(...e)),"translate",(t=>t[it](...e)),(e=>[kt(e)]),(e=>p(e)))},K[ft]=function(...e){return X((t=>Reflect.apply(qe,null,[t,...e])),(()=>et(...e)),"datetime format",(t=>t[ft](...e)),Lt,(e=>g(e)||p(e)))},K[mt]=function(...e){return X((t=>Reflect.apply(nt,null,[t,...e])),(()=>at(...e)),"number format",(t=>t[mt](...e)),Lt,(e=>g(e)||p(e)))},K}function It(e={},t){{const t=yt(function(e){const t=g(e.locale)?e.locale:Ie,n=g(e.fallbackLocale)||p(e.fallbackLocale)||h(e.fallbackLocale)||!1===e.fallbackLocale?e.fallbackLocale:t,r=d(e.missing)?e.missing:void 0,a=!E(e.silentTranslationWarn)&&!c(e.silentTranslationWarn)||!e.silentTranslationWarn,l=!E(e.silentFallbackWarn)&&!c(e.silentFallbackWarn)||!e.silentFallbackWarn,o=!E(e.fallbackRoot)||e.fallbackRoot,s=!!e.formatFallbackMessages,u=h(e.modifiers)?e.modifiers:{},f=e.pluralizationRules,m=d(e.postTranslation)?e.postTranslation:void 0,_=!g(e.warnHtmlInMessage)||"off"!==e.warnHtmlInMessage,b=!!e.escapeParameterHtml,v=!E(e.sync)||e.sync;let k=e.messages;if(h(e.sharedMessages)){const t=e.sharedMessages;k=Object.keys(t).reduce(((e,n)=>{const r=e[n]||(e[n]={});return i(r,t[n]),e}),k||{})}const{__i18n:L,__root:N,__injectWithOption:T}=e,y=e.datetimeFormats,I=e.numberFormats,O=e.flatJson,C=e.translateExistCompatible;return{locale:t,fallbackLocale:n,messages:k,flatJson:O,datetimeFormats:y,numberFormats:I,missing:r,missingWarn:a,fallbackWarn:l,fallbackRoot:o,fallbackFormat:s,modifiers:u,pluralRules:f,postTranslation:m,warnHtmlMessage:_,escapeParameter:b,messageResolver:e.messageResolver,inheritLocale:v,translateExistCompatible:C,__i18n:L,__root:N,__injectWithOption:T}}(e)),{__extender:n}=e,r={id:t.id,get locale(){return t.locale.value},set locale(e){t.locale.value=e},get fallbackLocale(){return t.fallbackLocale.value},set fallbackLocale(e){t.fallbackLocale.value=e},get messages(){return t.messages.value},get datetimeFormats(){return t.datetimeFormats.value},get numberFormats(){return t.numberFormats.value},get availableLocales(){return t.availableLocales},get formatter(){return{interpolate:()=>[]}},set formatter(e){},get missing(){return t.getMissingHandler()},set missing(e){t.setMissingHandler(e)},get silentTranslationWarn(){return E(t.missingWarn)?!t.missingWarn:t.missingWarn},set silentTranslationWarn(e){t.missingWarn=E(e)?!e:e},get silentFallbackWarn(){return E(t.fallbackWarn)?!t.fallbackWarn:t.fallbackWarn},set silentFallbackWarn(e){t.fallbackWarn=E(e)?!e:e},get modifiers(){return t.modifiers},get formatFallbackMessages(){return t.fallbackFormat},set formatFallbackMessages(e){t.fallbackFormat=e},get postTranslation(){return t.getPostTranslationHandler()},set postTranslation(e){t.setPostTranslationHandler(e)},get sync(){return t.inheritLocale},set sync(e){t.inheritLocale=e},get warnHtmlInMessage(){return t.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(e){t.warnHtmlMessage="off"!==e},get escapeParameterHtml(){return t.escapeParameter},set escapeParameterHtml(e){t.escapeParameter=e},get preserveDirectiveContent(){return!0},set preserveDirectiveContent(e){},get pluralizationRules(){return t.pluralRules||{}},__composer:t,t(...e){const[n,r,a]=e,l={};let o=null,s=null;if(!g(n))throw Error(ut.INVALID_ARGUMENT);const c=n;return g(r)?l.locale=r:p(r)?o=r:h(r)&&(s=r),p(a)?o=a:h(a)&&(s=a),Reflect.apply(t.t,t,[c,o||s||{},l])},rt:(...e)=>Reflect.apply(t.rt,t,[...e]),tc(...e){const[n,r,a]=e,l={plural:1};let s=null,c=null;if(!g(n))throw Error(ut.INVALID_ARGUMENT);const u=n;return g(r)?l.locale=r:o(r)?l.plural=r:p(r)?s=r:h(r)&&(c=r),g(a)?l.locale=a:p(a)?s=a:h(a)&&(c=a),Reflect.apply(t.t,t,[u,s||c||{},l])},te:(e,n)=>t.te(e,n),tm:e=>t.tm(e),getLocaleMessage:e=>t.getLocaleMessage(e),setLocaleMessage(e,n){t.setLocaleMessage(e,n)},mergeLocaleMessage(e,n){t.mergeLocaleMessage(e,n)},d:(...e)=>Reflect.apply(t.d,t,[...e]),getDateTimeFormat:e=>t.getDateTimeFormat(e),setDateTimeFormat(e,n){t.setDateTimeFormat(e,n)},mergeDateTimeFormat(e,n){t.mergeDateTimeFormat(e,n)},n:(...e)=>Reflect.apply(t.n,t,[...e]),getNumberFormat:e=>t.getNumberFormat(e),setNumberFormat(e,n){t.setNumberFormat(e,n)},mergeNumberFormat(e,n){t.mergeNumberFormat(e,n)},getChoiceIndex:(e,t)=>-1};return r.__extender=n,r}}const Ot={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>"parent"===e||"global"===e,default:"parent"},i18n:{type:Object}};function Ct(e){return t.Fragment}const Pt=t.defineComponent({name:"i18n-t",props:i({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>o(e)||!isNaN(e)}},Ot),setup(e,n){const{slots:r,attrs:a}=n,l=e.i18n||Ht({useScope:e.scope,__useComponent:!0});return()=>{const o=Object.keys(r).filter((e=>"_"!==e)),s={};e.locale&&(s.locale=e.locale),void 0!==e.plural&&(s.plural=g(e.plural)?+e.plural:e.plural);const c=function({slots:e},n){if(1===n.length&&"default"===n[0])return(e.default?e.default():[]).reduce(((e,n)=>[...e,...n.type===t.Fragment?n.children:[n]]),[]);return n.reduce(((t,n)=>{const r=e[n];return r&&(t[n]=r()),t}),{})}(n,o),u=l[it](e.keypath,c,s),f=i({},a),m=g(e.tag)||b(e.tag)?e.tag:Ct();return t.h(m,f,u)}}}),At=Pt;function Rt(e,n,r,a){const{slots:l,attrs:o}=n;return()=>{const n={part:!0};let s={};e.locale&&(n.locale=e.locale),g(e.format)?n.key=e.format:b(e.format)&&(g(e.format.key)&&(n.key=e.format.key),s=Object.keys(e.format).reduce(((t,n)=>r.includes(n)?i({},t,{[n]:e.format[n]}):t),{}));const c=a(e.value,n,s);let u=[n.key];p(c)?u=c.map(((e,t)=>{const n=l[e.type],r=n?n({[e.type]:e.value,index:t,parts:c}):[e.value];var a;return p(a=r)&&!g(a[0])&&(r[0].key=`${e.type}-${t}`),r})):g(c)&&(u=[c]);const f=i({},o),m=g(e.tag)||b(e.tag)?e.tag:Ct();return t.h(m,f,u)}}const Ft=t.defineComponent({name:"i18n-n",props:i({value:{type:Number,required:!0},format:{type:[String,Object]}},Ot),setup(e,t){const n=e.i18n||Ht({useScope:e.scope,__useComponent:!0});return Rt(e,t,rt,((...e)=>n[mt](...e)))}}),St=Ft,Dt=t.defineComponent({name:"i18n-d",props:i({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Ot),setup(e,t){const n=e.i18n||Ht({useScope:e.scope,__useComponent:!0});return Rt(e,t,Ze,((...e)=>n[ft](...e)))}}),Mt=Dt;function wt(e){const r=t=>{const{instance:n,modifiers:r,value:a}=t;if(!n||!n.$)throw Error(ut.UNEXPECTED_ERROR);const l=function(e,t){const n=e;if("composition"===e.mode)return n.__getInstance(t)||e.global;{const r=n.__getInstance(t);return null!=r?r.__composer:e.global.__composer}}(e,n.$),o=xt(a);return[Reflect.apply(l.t,l,[...Wt(o)]),l]};return{created:(a,l)=>{const[o,s]=r(l);n&&e.global===s&&(a.__i18nWatcher=t.watch(s.locale,(()=>{l.instance&&l.instance.$forceUpdate()}))),a.__composer=s,a.textContent=o},unmounted:e=>{n&&e.__i18nWatcher&&(e.__i18nWatcher(),e.__i18nWatcher=void 0,delete e.__i18nWatcher),e.__composer&&(e.__composer=void 0,delete e.__composer)},beforeUpdate:(e,{value:t})=>{if(e.__composer){const n=e.__composer,r=xt(t);e.textContent=Reflect.apply(n.t,n,[...Wt(r)])}},getSSRProps:e=>{const[t]=r(e);return{textContent:t}}}}function xt(e){if(g(e))return{path:e};if(h(e)){if(!("path"in e))throw Error(ut.REQUIRED_VALUE,"path");return e}throw Error(ut.INVALID_VALUE)}function Wt(e){const{path:t,locale:n,args:r,choice:a,plural:l}=e,s={},c=r||{};return g(n)&&(s.locale=n),o(a)&&(s.plural=a),o(l)&&(s.plural=l),[t,c,s]}function Ut(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[_t](t.pluralizationRules||e.pluralizationRules);const n=Et(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(n).forEach((t=>e.mergeLocaleMessage(t,n[t]))),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach((n=>e.mergeDateTimeFormat(n,t.datetimeFormats[n]))),t.numberFormats&&Object.keys(t.numberFormats).forEach((n=>e.mergeNumberFormat(n,t.numberFormats[n]))),e}const $t=r("global-vue-i18n");function Ht(e={}){const n=t.getCurrentInstance();if(null==n)throw Error(ut.MUST_BE_CALL_SETUP_TOP);if(!n.isCE&&null!=n.appContext.app&&!n.appContext.app.__VUE_I18N_SYMBOL__)throw Error(ut.NOT_INSTALLED);const r=function(e){{const n=t.inject(e.isCE?$t:e.appContext.app.__VUE_I18N_SYMBOL__);if(!n)throw function(e,...t){return R(e,null,void 0)}(e.isCE?ut.NOT_INSTALLED_WITH_PROVIDE:ut.UNEXPECTED_ERROR);return n}}(n),a=function(e){return"composition"===e.mode?e.global:e.global.__composer}(r),l=bt(n),o=function(e,t){return u(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}(e,l);if("legacy"===r.mode&&!e.__useComponent){if(!r.allowComposition)throw Error(ut.NOT_AVAILABLE_IN_LEGACY_MODE);return function(e,n,r,a={}){const l="local"===n,o=t.shallowRef(null);if(l&&e.proxy&&!e.proxy.$options.i18n&&!e.proxy.$options.__i18n)throw Error(ut.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const s=E(a.inheritLocale)?a.inheritLocale:!g(a.locale),u=t.ref(!l||s?r.locale.value:g(a.locale)?a.locale:Ie),i=t.ref(!l||s?r.fallbackLocale.value:g(a.fallbackLocale)||p(a.fallbackLocale)||h(a.fallbackLocale)||!1===a.fallbackLocale?a.fallbackLocale:u.value),f=t.ref(Et(u.value,a)),m=t.ref(h(a.datetimeFormats)?a.datetimeFormats:{[u.value]:{}}),_=t.ref(h(a.numberFormats)?a.numberFormats:{[u.value]:{}}),b=l?r.missingWarn:!E(a.missingWarn)&&!c(a.missingWarn)||a.missingWarn,v=l?r.fallbackWarn:!E(a.fallbackWarn)&&!c(a.fallbackWarn)||a.fallbackWarn,k=l?r.fallbackRoot:!E(a.fallbackRoot)||a.fallbackRoot,L=!!a.fallbackFormat,N=d(a.missing)?a.missing:null,T=d(a.postTranslation)?a.postTranslation:null,y=l?r.warnHtmlMessage:!E(a.warnHtmlMessage)||a.warnHtmlMessage,I=!!a.escapeParameter,O=l?r.modifiers:h(a.modifiers)?a.modifiers:{},C=a.pluralRules||l&&r.pluralRules;function P(){return[u.value,i.value,f.value,m.value,_.value]}const A=t.computed({get:()=>o.value?o.value.locale.value:u.value,set:e=>{o.value&&(o.value.locale.value=e),u.value=e}}),R=t.computed({get:()=>o.value?o.value.fallbackLocale.value:i.value,set:e=>{o.value&&(o.value.fallbackLocale.value=e),i.value=e}}),F=t.computed((()=>o.value?o.value.messages.value:f.value)),S=t.computed((()=>m.value)),D=t.computed((()=>_.value));function M(){return o.value?o.value.getPostTranslationHandler():T}function w(e){o.value&&o.value.setPostTranslationHandler(e)}function x(){return o.value?o.value.getMissingHandler():N}function W(e){o.value&&o.value.setMissingHandler(e)}function U(e){return P(),e()}function $(...e){return o.value?U((()=>Reflect.apply(o.value.t,null,[...e]))):U((()=>""))}function H(...e){return o.value?Reflect.apply(o.value.rt,null,[...e]):""}function V(...e){return o.value?U((()=>Reflect.apply(o.value.d,null,[...e]))):U((()=>""))}function j(...e){return o.value?U((()=>Reflect.apply(o.value.n,null,[...e]))):U((()=>""))}function X(e){return o.value?o.value.tm(e):{}}function G(e,t){return!!o.value&&o.value.te(e,t)}function Y(e){return o.value?o.value.getLocaleMessage(e):{}}function B(e,t){o.value&&(o.value.setLocaleMessage(e,t),f.value[e]=t)}function K(e,t){o.value&&o.value.mergeLocaleMessage(e,t)}function z(e){return o.value?o.value.getDateTimeFormat(e):{}}function J(e,t){o.value&&(o.value.setDateTimeFormat(e,t),m.value[e]=t)}function Q(e,t){o.value&&o.value.mergeDateTimeFormat(e,t)}function q(e){return o.value?o.value.getNumberFormat(e):{}}function Z(e,t){o.value&&(o.value.setNumberFormat(e,t),_.value[e]=t)}function ee(e,t){o.value&&o.value.mergeNumberFormat(e,t)}const te={get id(){return o.value?o.value.id:-1},locale:A,fallbackLocale:R,messages:F,datetimeFormats:S,numberFormats:D,get inheritLocale(){return o.value?o.value.inheritLocale:s},set inheritLocale(e){o.value&&(o.value.inheritLocale=e)},get availableLocales(){return o.value?o.value.availableLocales:Object.keys(f.value)},get modifiers(){return o.value?o.value.modifiers:O},get pluralRules(){return o.value?o.value.pluralRules:C},get isGlobal(){return!!o.value&&o.value.isGlobal},get missingWarn(){return o.value?o.value.missingWarn:b},set missingWarn(e){o.value&&(o.value.missingWarn=e)},get fallbackWarn(){return o.value?o.value.fallbackWarn:v},set fallbackWarn(e){o.value&&(o.value.missingWarn=e)},get fallbackRoot(){return o.value?o.value.fallbackRoot:k},set fallbackRoot(e){o.value&&(o.value.fallbackRoot=e)},get fallbackFormat(){return o.value?o.value.fallbackFormat:L},set fallbackFormat(e){o.value&&(o.value.fallbackFormat=e)},get warnHtmlMessage(){return o.value?o.value.warnHtmlMessage:y},set warnHtmlMessage(e){o.value&&(o.value.warnHtmlMessage=e)},get escapeParameter(){return o.value?o.value.escapeParameter:I},set escapeParameter(e){o.value&&(o.value.escapeParameter=e)},t:$,getPostTranslationHandler:M,setPostTranslationHandler:w,getMissingHandler:x,setMissingHandler:W,rt:H,d:V,n:j,tm:X,te:G,getLocaleMessage:Y,setLocaleMessage:B,mergeLocaleMessage:K,getDateTimeFormat:z,setDateTimeFormat:J,mergeDateTimeFormat:Q,getNumberFormat:q,setNumberFormat:Z,mergeNumberFormat:ee};function ne(e){e.locale.value=u.value,e.fallbackLocale.value=i.value,Object.keys(f.value).forEach((t=>{e.mergeLocaleMessage(t,f.value[t])})),Object.keys(m.value).forEach((t=>{e.mergeDateTimeFormat(t,m.value[t])})),Object.keys(_.value).forEach((t=>{e.mergeNumberFormat(t,_.value[t])})),e.escapeParameter=I,e.fallbackFormat=L,e.fallbackRoot=k,e.fallbackWarn=v,e.missingWarn=b,e.warnHtmlMessage=y}return t.onBeforeMount((()=>{if(null==e.proxy||null==e.proxy.$i18n)throw Error(ut.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const t=o.value=e.proxy.$i18n.__composer;"global"===n?(u.value=t.locale.value,i.value=t.fallbackLocale.value,f.value=t.messages.value,m.value=t.datetimeFormats.value,_.value=t.numberFormats.value):l&&ne(t)})),te}(n,o,a,e)}if("global"===o)return vt(a,e,l),a;if("parent"===o){let t=function(e,t,n=!1){let r=null;const a=t.root;let l=function(e,t=!1){if(null==e)return null;return t&&e.vnode.ctx||e.parent}(t,n);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[pt]&&(r=null))}if(null!=r)break;if(a===l)break;l=l.parent}return r}(r,n,e.__useComponent);return null==t&&(t=a),t}const s=r;let f=s.__getInstance(n);if(null==f){const r=i({},e);"__i18n"in l&&(r.__i18n=l.__i18n),a&&(r.__root=a),f=yt(r),s.__composerExtend&&(f[dt]=s.__composerExtend(f)),function(e,n,r){t.onMounted((()=>{}),n),t.onUnmounted((()=>{const t=r;e.__deleteInstance(n);const a=t[dt];a&&(a(),delete t[dt])}),n)}(s,n,f),s.__setInstance(n,f)}return f}const Vt=["locale","fallbackLocale","availableLocales"],jt=["t","rt","d","n","tm","te"];return Pe=function(e,t){if(g(e)){!E(t.warnHtmlMessage)||t.warnHtmlMessage;const n=(t.onCacheKey||je)(e),r=Xe[n];if(r)return r;const{ast:a,detectError:l}=function(e,t={}){let n=!1;const r=t.onError||F;return t.onError=e=>{n=!0,r(e)},{...Z(e,t),detectError:n}}(e,{...t,location:!1,jit:!0}),o=$e(a);return l?o:Xe[n]=o}{const t=e.cacheKey;return t?Xe[t]||(Xe[t]=$e(e)):$e(e)}},Ae=function(e,t){if(!b(e))return null;let n=ae.get(t);if(n||(n=function(e){const t=[];let n,r,a,l,o,s,c,u=-1,i=0,f=0;const m=[];function _(){const t=e[u+1];if(5===i&&"'"===t||6===i&&'"'===t)return u++,a="\\"+t,m[0](),!0}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(f>0)f--,i=4,m[0]();else{if(f=0,void 0===r)return!1;if(r=re(r),!1===r)return!1;m[1]()}};null!==i;)if(u++,n=e[u],"\\"!==n||!_()){if(l=ne(n),c=ee[i],o=c[l]||c.l||8,8===o)return;if(i=o[0],void 0!==o[1]&&(s=m[o[1]],s&&(a=n,!1===s())))return;if(7===i)return t}}(t),n&&ae.set(t,n)),!n)return null;const r=n.length;let a=e,l=0;for(;l<r;){const e=a[n[l]];if(void 0===e)return null;if(d(a))return null;a=e,l++}return a},Re=ke,e.DatetimeFormat=Dt,e.I18nD=Mt,e.I18nInjectionKey=$t,e.I18nN=St,e.I18nT=At,e.NumberFormat=Ft,e.Translation=Pt,e.VERSION=ot,e.castToVueI18n=e=>{if(!("__VUE_I18N_BRIDGE__"in e))throw Error(ut.NOT_COMPATIBLE_LEGACY_VUE_I18N);return e},e.createI18n=function(e={},n){const a=!E(e.legacy)||e.legacy,l=!E(e.globalInjection)||e.globalInjection,o=!a||!!e.allowComposition,s=new Map,[c,u]=function(e,n,r){const a=t.effectScope();{const t=n?a.run((()=>It(e))):a.run((()=>yt(e)));if(null==t)throw Error(ut.UNEXPECTED_ERROR);return[a,t]}}(e,a),i=r("");{const e={get mode(){return a?"legacy":"composition"},get allowComposition(){return o},async install(n,...r){if(n.__VUE_I18N_SYMBOL__=i,n.provide(n.__VUE_I18N_SYMBOL__,e),h(r[0])){const t=r[0];e.__composerExtend=t.__composerExtend,e.__vueI18nExtend=t.__vueI18nExtend}let o=null;!a&&l&&(o=function(e,n){const r=Object.create(null);Vt.forEach((e=>{const a=Object.getOwnPropertyDescriptor(n,e);if(!a)throw Error(ut.UNEXPECTED_ERROR);const l=t.isRef(a.value)?{get:()=>a.value.value,set(e){a.value.value=e}}:{get:()=>a.get&&a.get()};Object.defineProperty(r,e,l)})),e.config.globalProperties.$i18n=r,jt.forEach((t=>{const r=Object.getOwnPropertyDescriptor(n,t);if(!r||!r.value)throw Error(ut.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${t}`,r)}));const a=()=>{delete e.config.globalProperties.$i18n,jt.forEach((t=>{delete e.config.globalProperties[`$${t}`]}))};return a}(n,e.global)),function(e,t,...n){const r=h(n[0])?n[0]:{},a=!!r.useI18nComponentName;(!E(r.globalInstall)||r.globalInstall)&&([a?"i18n":Pt.name,"I18nT"].forEach((t=>e.component(t,Pt))),[Ft.name,"I18nN"].forEach((t=>e.component(t,Ft))),[Dt.name,"I18nD"].forEach((t=>e.component(t,Dt)))),e.directive("t",wt(t))}(n,e,...r),a&&n.mixin(function(e,n,r){return{beforeCreate(){const a=t.getCurrentInstance();if(!a)throw Error(ut.UNEXPECTED_ERROR);const l=this.$options;if(l.i18n){const t=l.i18n;if(l.__i18n&&(t.__i18n=l.__i18n),t.__root=n,this===this.$root)this.$i18n=Ut(e,t);else{t.__injectWithOption=!0,t.__extender=r.__vueI18nExtend,this.$i18n=It(t);const e=this.$i18n;e.__extender&&(e.__disposer=e.__extender(this.$i18n))}}else if(l.__i18n)if(this===this.$root)this.$i18n=Ut(e,l);else{this.$i18n=It({__i18n:l.__i18n,__injectWithOption:!0,__extender:r.__vueI18nExtend,__root:n});const e=this.$i18n;e.__extender&&(e.__disposer=e.__extender(this.$i18n))}else this.$i18n=e;l.__i18nGlobal&&vt(n,l,l),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),r.__setInstance(a,this.$i18n)},mounted(){},unmounted(){const e=t.getCurrentInstance();if(!e)throw Error(ut.UNEXPECTED_ERROR);const n=this.$i18n;delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,n.__disposer&&(n.__disposer(),delete n.__disposer,delete n.__extender),r.__deleteInstance(e),delete this.$i18n}}}(u,u.__composer,e));const s=n.unmount;n.unmount=()=>{o&&o(),e.dispose(),s()}},get global(){return u},dispose(){c.stop()},__instances:s,__getInstance:function(e){return s.get(e)||null},__setInstance:function(e,t){s.set(e,t)},__deleteInstance:function(e){s.delete(e)}};return e}},e.useI18n=Ht,e.vTDirective=wt,e}({},Vue);
var VueI18n=function(e,t){"use strict";const n="undefined"!=typeof window,r=(e,t=!1)=>t?Symbol.for(e):Symbol(e),a=(e,t,n)=>l({l:e,k:t,s:n}),l=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),o=e=>"number"==typeof e&&isFinite(e),s=e=>"[object Date]"===L(e),c=e=>"[object RegExp]"===L(e),u=e=>h(e)&&0===Object.keys(e).length,i=Object.assign;function f(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}const m=Object.prototype.hasOwnProperty;function _(e,t){return m.call(e,t)}const p=Array.isArray,d=e=>"function"==typeof e,g=e=>"string"==typeof e,E=e=>"boolean"==typeof e,b=e=>null!==e&&"object"==typeof e,v=e=>b(e)&&d(e.then)&&d(e.catch),k=Object.prototype.toString,L=e=>k.call(e),h=e=>{if(!b(e))return!1;const t=Object.getPrototypeOf(e);return null===t||t.constructor===Object};function N(e,t=""){return e.reduce(((e,n,r)=>0===r?e+n:e+t+n),"")}function T(e){let t=e;return()=>++t}function y(e,t){"undefined"!=typeof console&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const I=e=>!b(e)||p(e);function O(e,t){if(I(e)||I(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:e,des:t}=n.pop();Object.keys(e).forEach((r=>{b(e[r])&&!b(t[r])&&(t[r]=Array.isArray(e[r])?[]:{}),I(t[r])||I(e[r])?t[r]=e[r]:n.push({src:e[r],des:t[r]})}))}}function C(e,t,n){const r={start:e,end:t};return null!=n&&(r.source=n),r}const P={USE_MODULO_SYNTAX:1,__EXTEND_POINT__:2};const A={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,__EXTEND_POINT__:17};function R(e,t,n={}){const{domain:r,messages:a,args:l}=n,o=new SyntaxError(String(e));return o.code=e,t&&(o.location=t),o.domain=r,o}function F(e){throw e}const S=" ",D="\r",M="\n",w=String.fromCharCode(8232),x=String.fromCharCode(8233);function W(e){const t=e;let n=0,r=1,a=1,l=0;const o=e=>t[e]===D&&t[e+1]===M,s=e=>t[e]===x,c=e=>t[e]===w,u=e=>o(e)||(e=>t[e]===M)(e)||s(e)||c(e),i=e=>o(e)||s(e)||c(e)?M:t[e];function f(){return l=0,u(n)&&(r++,a=0),o(n)&&n++,n++,a++,t[n]}return{index:()=>n,line:()=>r,column:()=>a,peekOffset:()=>l,charAt:i,currentChar:()=>i(n),currentPeek:()=>i(n+l),next:f,peek:function(){return o(n+l)&&l++,l++,t[n+l]},reset:function(){n=0,r=1,a=1,l=0},resetPeek:function(e=0){l=e},skipToPeek:function(){const e=n+l;for(;e!==n;)f();l=0}}}const U=void 0,$="'";function H(e,t={}){const n=!1!==t.location,r=W(e),a=()=>r.index(),l=()=>{return e=r.line(),t=r.column(),n=r.index(),{line:e,column:t,offset:n};var e,t,n},o=l(),s=a(),c={currentType:14,offset:s,startLoc:o,endLoc:o,lastType:14,lastOffset:s,lastStartLoc:o,lastEndLoc:o,braceNest:0,inLinked:!1,text:""},u=()=>c,{onError:i}=t;function f(e,t,r){e.endLoc=l(),e.currentType=t;const a={type:t};return n&&(a.loc=C(e.startLoc,e.endLoc)),null!=r&&(a.value=r),a}const m=e=>f(e,14);function _(e,t){return e.currentChar()===t?(e.next(),t):(A.EXPECTED_TOKEN,l(),"")}function p(e){let t="";for(;e.currentPeek()===S||e.currentPeek()===M;)t+=e.currentPeek(),e.peek();return t}function d(e){const t=p(e);return e.skipToPeek(),t}function g(e){if(e===U)return!1;const t=e.charCodeAt(0);return t>=97&&t<=122||t>=65&&t<=90||95===t}function E(e,t){const{currentType:n}=t;if(2!==n)return!1;p(e);const r=function(e){if(e===U)return!1;const t=e.charCodeAt(0);return t>=48&&t<=57}("-"===e.currentPeek()?e.peek():e.currentPeek());return e.resetPeek(),r}function b(e){p(e);const t="|"===e.currentPeek();return e.resetPeek(),t}function v(e,t=!0){const n=(t=!1,r="",a=!1)=>{const l=e.currentPeek();return"{"===l?"%"!==r&&t:"@"!==l&&l?"%"===l?(e.peek(),n(t,"%",!0)):"|"===l?!("%"!==r&&!a)||!(r===S||r===M):l===S?(e.peek(),n(!0,S,a)):l!==M||(e.peek(),n(!0,M,a)):"%"===r||t},r=n();return t&&e.resetPeek(),r}function k(e,t){const n=e.currentChar();return n===U?U:t(n)?(e.next(),n):null}function L(e){const t=e.charCodeAt(0);return t>=97&&t<=122||t>=65&&t<=90||t>=48&&t<=57||95===t||36===t}function h(e){return k(e,L)}function N(e){const t=e.charCodeAt(0);return t>=97&&t<=122||t>=65&&t<=90||t>=48&&t<=57||95===t||36===t||45===t}function T(e){return k(e,N)}function y(e){const t=e.charCodeAt(0);return t>=48&&t<=57}function I(e){return k(e,y)}function O(e){const t=e.charCodeAt(0);return t>=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102}function P(e){return k(e,O)}function R(e){let t="",n="";for(;t=I(e);)n+=t;return n}function F(e){let t="";for(;;){const n=e.currentChar();if("{"===n||"}"===n||"@"===n||"|"===n||!n)break;if("%"===n){if(!v(e))break;t+=n,e.next()}else if(n===S||n===M)if(v(e))t+=n,e.next();else{if(b(e))break;t+=n,e.next()}else t+=n,e.next()}return t}function D(e){return e!==$&&e!==M}function w(e){const t=e.currentChar();switch(t){case"\\":case"'":return e.next(),`\\${t}`;case"u":return x(e,t,4);case"U":return x(e,t,6);default:return A.UNKNOWN_ESCAPE_SEQUENCE,l(),""}}function x(e,t,n){_(e,t);let r="";for(let a=0;a<n;a++){const t=P(e);if(!t){A.INVALID_UNICODE_ESCAPE_SEQUENCE,l(),e.currentChar();break}r+=t}return`\\${t}${r}`}function H(e){return"{"!==e&&"}"!==e&&e!==S&&e!==M}function V(e){d(e);const t=_(e,"|");return d(e),t}function j(e,t){let n=null;switch(e.currentChar()){case"{":return t.braceNest>=1&&(A.NOT_ALLOW_NEST_PLACEHOLDER,l()),e.next(),n=f(t,2,"{"),d(e),t.braceNest++,n;case"}":return t.braceNest>0&&2===t.currentType&&(A.EMPTY_PLACEHOLDER,l()),e.next(),n=f(t,3,"}"),t.braceNest--,t.braceNest>0&&d(e),t.inLinked&&0===t.braceNest&&(t.inLinked=!1),n;case"@":return t.braceNest>0&&(A.UNTERMINATED_CLOSING_BRACE,l()),n=X(e,t)||m(t),t.braceNest=0,n;default:{let r=!0,a=!0,o=!0;if(b(e))return t.braceNest>0&&(A.UNTERMINATED_CLOSING_BRACE,l()),n=f(t,1,V(e)),t.braceNest=0,t.inLinked=!1,n;if(t.braceNest>0&&(5===t.currentType||6===t.currentType||7===t.currentType))return A.UNTERMINATED_CLOSING_BRACE,l(),t.braceNest=0,G(e,t);if(r=function(e,t){const{currentType:n}=t;if(2!==n)return!1;p(e);const r=g(e.currentPeek());return e.resetPeek(),r}(e,t))return n=f(t,5,function(e){d(e);let t="",n="";for(;t=T(e);)n+=t;return e.currentChar()===U&&(A.UNTERMINATED_CLOSING_BRACE,l()),n}(e)),d(e),n;if(a=E(e,t))return n=f(t,6,function(e){d(e);let t="";return"-"===e.currentChar()?(e.next(),t+=`-${R(e)}`):t+=R(e),e.currentChar()===U&&(A.UNTERMINATED_CLOSING_BRACE,l()),t}(e)),d(e),n;if(o=function(e,t){const{currentType:n}=t;if(2!==n)return!1;p(e);const r=e.currentPeek()===$;return e.resetPeek(),r}(e,t))return n=f(t,7,function(e){d(e),_(e,"'");let t="",n="";for(;t=k(e,D);)n+="\\"===t?w(e):t;const r=e.currentChar();return r===M||r===U?(A.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,l(),r===M&&(e.next(),_(e,"'")),n):(_(e,"'"),n)}(e)),d(e),n;if(!r&&!a&&!o)return n=f(t,13,function(e){d(e);let t="",n="";for(;t=k(e,H);)n+=t;return n}(e)),A.INVALID_TOKEN_IN_PLACEHOLDER,l(),n.value,d(e),n;break}}return n}function X(e,t){const{currentType:n}=t;let r=null;const a=e.currentChar();switch(8!==n&&9!==n&&12!==n&&10!==n||a!==M&&a!==S||(A.INVALID_LINKED_FORMAT,l()),a){case"@":return e.next(),r=f(t,8,"@"),t.inLinked=!0,r;case".":return d(e),e.next(),f(t,9,".");case":":return d(e),e.next(),f(t,10,":");default:return b(e)?(r=f(t,1,V(e)),t.braceNest=0,t.inLinked=!1,r):function(e,t){const{currentType:n}=t;if(8!==n)return!1;p(e);const r="."===e.currentPeek();return e.resetPeek(),r}(e,t)||function(e,t){const{currentType:n}=t;if(8!==n&&12!==n)return!1;p(e);const r=":"===e.currentPeek();return e.resetPeek(),r}(e,t)?(d(e),X(e,t)):function(e,t){const{currentType:n}=t;if(9!==n)return!1;p(e);const r=g(e.currentPeek());return e.resetPeek(),r}(e,t)?(d(e),f(t,12,function(e){let t="",n="";for(;t=h(e);)n+=t;return n}(e))):function(e,t){const{currentType:n}=t;if(10!==n)return!1;const r=()=>{const t=e.currentPeek();return"{"===t?g(e.peek()):!("@"===t||"%"===t||"|"===t||":"===t||"."===t||t===S||!t)&&(t===M?(e.peek(),r()):v(e,!1))},a=r();return e.resetPeek(),a}(e,t)?(d(e),"{"===a?j(e,t)||r:f(t,11,function(e){const t=n=>{const r=e.currentChar();return"{"!==r&&"%"!==r&&"@"!==r&&"|"!==r&&"("!==r&&")"!==r&&r?r===S?n:(n+=r,e.next(),t(n)):n};return t("")}(e))):(8===n&&(A.INVALID_LINKED_FORMAT,l()),t.braceNest=0,t.inLinked=!1,G(e,t))}}function G(e,t){let n={type:14};if(t.braceNest>0)return j(e,t)||m(t);if(t.inLinked)return X(e,t)||m(t);switch(e.currentChar()){case"{":return j(e,t)||m(t);case"}":return A.UNBALANCED_CLOSING_BRACE,l(),e.next(),f(t,3,"}");case"@":return X(e,t)||m(t);default:{if(b(e))return n=f(t,1,V(e)),t.braceNest=0,t.inLinked=!1,n;const{isModulo:r,hasSpace:a}=function(e){const t=p(e),n="%"===e.currentPeek()&&"{"===e.peek();return e.resetPeek(),{isModulo:n,hasSpace:t.length>0}}(e);if(r)return a?f(t,0,F(e)):f(t,4,function(e){d(e);const t=e.currentChar();return"%"!==t&&(A.EXPECTED_TOKEN,l()),e.next(),"%"}(e));if(v(e))return f(t,0,F(e));break}}return n}return{nextToken:function(){const{currentType:e,offset:t,startLoc:n,endLoc:o}=c;return c.lastType=e,c.lastOffset=t,c.lastStartLoc=n,c.lastEndLoc=o,c.offset=a(),c.startLoc=l(),r.currentChar()===U?f(c,14):G(r,c)},currentOffset:a,currentPosition:l,context:u}}const V=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function j(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const e=parseInt(t||n,16);return e<=55295||e>=57344?String.fromCodePoint(e):"�"}}}function X(e={}){const t=!1!==e.location,{onError:n,onWarn:r}=e;function a(e,n,r){const a={type:e};return t&&(a.start=n,a.end=n,a.loc={start:r,end:r}),a}function l(e,n,r,a){a&&(e.type=a),t&&(e.end=n,e.loc&&(e.loc.end=r))}function o(e,t){const n=e.context(),r=a(3,n.offset,n.startLoc);return r.value=t,l(r,e.currentOffset(),e.currentPosition()),r}function s(e,t){const n=e.context(),{lastOffset:r,lastStartLoc:o}=n,s=a(5,r,o);return s.index=parseInt(t,10),e.nextToken(),l(s,e.currentOffset(),e.currentPosition()),s}function c(e,t,n){const r=e.context(),{lastOffset:o,lastStartLoc:s}=r,c=a(4,o,s);return c.key=t,!0===n&&(c.modulo=!0),e.nextToken(),l(c,e.currentOffset(),e.currentPosition()),c}function u(e,t){const n=e.context(),{lastOffset:r,lastStartLoc:o}=n,s=a(9,r,o);return s.value=t.replace(V,j),e.nextToken(),l(s,e.currentOffset(),e.currentPosition()),s}function f(e){const t=e.context(),n=a(6,t.offset,t.startLoc);let r=e.nextToken();if(9===r.type){const t=function(e){const t=e.nextToken(),n=e.context(),{lastOffset:r,lastStartLoc:o}=n,s=a(8,r,o);return 12!==t.type?(A.UNEXPECTED_EMPTY_LINKED_MODIFIER,n.lastStartLoc,s.value="",l(s,r,o),{nextConsumeToken:t,node:s}):(null==t.value&&(A.UNEXPECTED_LEXICAL_ANALYSIS,n.lastStartLoc,G(t)),s.value=t.value||"",l(s,e.currentOffset(),e.currentPosition()),{node:s})}(e);n.modifier=t.node,r=t.nextConsumeToken||e.nextToken()}switch(10!==r.type&&(A.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,G(r)),r=e.nextToken(),2===r.type&&(r=e.nextToken()),r.type){case 11:null==r.value&&(A.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,G(r)),n.key=function(e,t){const n=e.context(),r=a(7,n.offset,n.startLoc);return r.value=t,l(r,e.currentOffset(),e.currentPosition()),r}(e,r.value||"");break;case 5:null==r.value&&(A.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,G(r)),n.key=c(e,r.value||"");break;case 6:null==r.value&&(A.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,G(r)),n.key=s(e,r.value||"");break;case 7:null==r.value&&(A.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,G(r)),n.key=u(e,r.value||"");break;default:{A.UNEXPECTED_EMPTY_LINKED_KEY,t.lastStartLoc;const o=e.context(),s=a(7,o.offset,o.startLoc);return s.value="",l(s,o.offset,o.startLoc),n.key=s,l(n,o.offset,o.startLoc),{nextConsumeToken:r,node:n}}}return l(n,e.currentOffset(),e.currentPosition()),{node:n}}function m(e){const t=e.context(),n=a(2,1===t.currentType?e.currentOffset():t.offset,1===t.currentType?t.endLoc:t.startLoc);n.items=[];let r=null,i=null;do{const a=r||e.nextToken();switch(r=null,a.type){case 0:null==a.value&&(A.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,G(a)),n.items.push(o(e,a.value||""));break;case 6:null==a.value&&(A.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,G(a)),n.items.push(s(e,a.value||""));break;case 4:i=!0;break;case 5:null==a.value&&(A.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,G(a)),n.items.push(c(e,a.value||"",!!i)),i&&(P.USE_MODULO_SYNTAX,t.lastStartLoc,G(a),i=null);break;case 7:null==a.value&&(A.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,G(a)),n.items.push(u(e,a.value||""));break;case 8:{const t=f(e);n.items.push(t.node),r=t.nextConsumeToken||null;break}}}while(14!==t.currentType&&1!==t.currentType);return l(n,1===t.currentType?t.lastOffset:e.currentOffset(),1===t.currentType?t.lastEndLoc:e.currentPosition()),n}function _(e){const t=e.context(),{offset:n,startLoc:r}=t,o=m(e);return 14===t.currentType?o:function(e,t,n,r){const o=e.context();let s=0===r.items.length;const c=a(1,t,n);c.cases=[],c.cases.push(r);do{const t=m(e);s||(s=0===t.items.length),c.cases.push(t)}while(14!==o.currentType);return l(c,e.currentOffset(),e.currentPosition()),c}(e,n,r,o)}return{parse:function(n){const r=H(n,i({},e)),o=r.context(),s=a(0,o.offset,o.startLoc);return t&&s.loc&&(s.loc.source=n),s.body=_(r),e.onCacheKey&&(s.cacheKey=e.onCacheKey(n)),14!==o.currentType&&(A.UNEXPECTED_LEXICAL_ANALYSIS,o.lastStartLoc,n[o.offset]),l(s,r.currentOffset(),r.currentPosition()),s}}}function G(e){if(14===e.type)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function Y(e,t){for(let n=0;n<e.length;n++)B(e[n],t)}function B(e,t){switch(e.type){case 1:Y(e.cases,t),t.helper("plural");break;case 2:Y(e.items,t);break;case 6:B(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")}}function K(e,t={}){const n=function(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:e=>(n.helpers.add(e),e)}}(e);n.helper("normalize"),e.body&&B(e.body,n);const r=n.context();e.helpers=Array.from(r.helpers)}function z(e){if(1===e.items.length){const t=e.items[0];3!==t.type&&9!==t.type||(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(3!==r.type&&9!==r.type)break;if(null==r.value)break;t.push(r.value)}if(t.length===e.items.length){e.static=N(t);for(let t=0;t<e.items.length;t++){const n=e.items[t];3!==n.type&&9!==n.type||delete n.value}}}}function J(e){switch(e.t=e.type,e.type){case 0:{const t=e;J(t.body),t.b=t.body,delete t.body;break}case 1:{const t=e,n=t.cases;for(let e=0;e<n.length;e++)J(n[e]);t.c=n,delete t.cases;break}case 2:{const t=e,n=t.items;for(let e=0;e<n.length;e++)J(n[e]);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;J(t.key),t.k=t.key,delete t.key,t.modifier&&(J(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}}delete e.type}function Q(e,t){const{helper:n}=e;switch(t.type){case 0:!function(e,t){t.body?Q(e,t.body):e.push("null")}(e,t);break;case 1:!function(e,t){const{helper:n,needIndent:r}=e;if(t.cases.length>1){e.push(`${n("plural")}([`),e.indent(r());const a=t.cases.length;for(let n=0;n<a&&(Q(e,t.cases[n]),n!==a-1);n++)e.push(", ");e.deindent(r()),e.push("])")}}(e,t);break;case 2:!function(e,t){const{helper:n,needIndent:r}=e;e.push(`${n("normalize")}([`),e.indent(r());const a=t.items.length;for(let l=0;l<a&&(Q(e,t.items[l]),l!==a-1);l++)e.push(", ");e.deindent(r()),e.push("])")}(e,t);break;case 6:!function(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),Q(e,t.key),t.modifier?(e.push(", "),Q(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}(e,t);break;case 8:case 7:case 9:case 3: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)}}const q=(e,t={})=>{const n=g(t.mode)?t.mode:"normal",r=g(t.filename)?t.filename:"message.intl",a=!!t.sourceMap,l=null!=t.breakLineCode?t.breakLineCode:"arrow"===n?";":"\n",o=t.needIndent?t.needIndent:"arrow"!==n,s=e.helpers||[],c=function(e,t){const{sourceMap:n,filename:r,breakLineCode:a,needIndent:l}=t,o=!1!==t.location,s={filename:r,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:a,needIndent:l,indentLevel:0};function c(e,t){s.code+=e}function u(e,t=!0){const n=t?a:"";c(l?n+" ".repeat(e):n)}return o&&e.loc&&(s.source=e.loc.source),{context:()=>s,push:c,indent:function(e=!0){const t=++s.indentLevel;e&&u(t)},deindent:function(e=!0){const t=--s.indentLevel;e&&u(t)},newline:function(){u(s.indentLevel)},helper:e=>`_${e}`,needIndent:()=>s.needIndent}}(e,{mode:n,filename:r,sourceMap:a,breakLineCode:l,needIndent:o});c.push("normal"===n?"function __msg__ (ctx) {":"(ctx) => {"),c.indent(o),s.length>0&&(c.push(`const { ${N(s.map((e=>`${e}: _${e}`)),", ")} } = ctx`),c.newline()),c.push("return "),Q(c,e),c.deindent(o),c.push("}"),delete e.helpers;const{code:u,map:i}=c.context();return{ast:e,code:u,map:i?i.toJSON():void 0}};function Z(e,t={}){const n=i({},t),r=!!n.jit,a=!!n.minify,l=null==n.optimize||n.optimize,o=X(n).parse(e);return r?(l&&function(e){const t=e.body;2===t.type?z(t):t.cases.forEach((e=>z(e)))}(o),a&&J(o),{ast:o,code:""}):(K(o,n),q(o,n))}const ee=[];ee[0]={w:[0],i:[3,0],"[":[4],o:[7]},ee[1]={w:[1],".":[2],"[":[4],o:[7]},ee[2]={w:[2],i:[3,0],0:[3,0]},ee[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]},ee[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]},ee[5]={"'":[4,0],o:8,l:[5,0]},ee[6]={'"':[4,0],o:8,l:[6,0]};const te=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function ne(e){if(null==e)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 re(e){const t=e.trim();return("0"!==e.charAt(0)||!isNaN(parseInt(e)))&&(n=t,te.test(n)?function(e){const t=e.charCodeAt(0);return t!==e.charCodeAt(e.length-1)||34!==t&&39!==t?e:e.slice(1,-1)}(t):"*"+t);var n}const ae=new Map;function le(e,t){return b(e)?e[t]:null}const oe=e=>e,se=e=>"",ce="text",ue=e=>0===e.length?"":N(e),ie=e=>null==e?"":p(e)||h(e)&&e.toString===k?JSON.stringify(e,null,2):String(e);function fe(e,t){return e=Math.abs(e),2===t?e?e>1?1:0:1:e?Math.min(e,2):0}function me(e={}){const t=e.locale,n=function(e){const t=o(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(o(e.named.count)||o(e.named.n))?o(e.named.count)?e.named.count:o(e.named.n)?e.named.n:t:t}(e),r=b(e.pluralRules)&&g(t)&&d(e.pluralRules[t])?e.pluralRules[t]:fe,a=b(e.pluralRules)&&g(t)&&d(e.pluralRules[t])?fe:void 0,l=e.list||[],s=e.named||{};o(e.pluralIndex)&&function(e,t){t.count||(t.count=e),t.n||(t.n=e)}(n,s);function c(t){const n=d(e.messages)?e.messages(t):!!b(e.messages)&&e.messages[t];return n||(e.parent?e.parent.message(t):se)}const u=h(e.processor)&&d(e.processor.normalize)?e.processor.normalize:ue,f=h(e.processor)&&d(e.processor.interpolate)?e.processor.interpolate:ie,m={list:e=>l[e],named:e=>s[e],plural:e=>e[r(n,e.length,a)],linked:(t,...n)=>{const[r,a]=n;let l="text",o="";1===n.length?b(r)?(o=r.modifier||o,l=r.type||l):g(r)&&(o=r||o):2===n.length&&(g(r)&&(o=r||o),g(a)&&(l=a||l));const s=c(t)(m),u="vnode"===l&&p(s)&&o?s[0]:s;return o?(i=o,e.modifiers?e.modifiers[i]:oe)(u,l):u;var i},message:c,type:h(e.processor)&&g(e.processor.type)?e.processor.type:ce,interpolate:f,normalize:u,values:i({},l,s)};return m}const _e=A.__EXTEND_POINT__,pe=T(_e),de={INVALID_ARGUMENT:_e,INVALID_DATE_ARGUMENT:pe(),INVALID_ISO_DATE_ARGUMENT:pe(),NOT_SUPPORT_NON_STRING_MESSAGE:pe(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:pe(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:pe(),NOT_SUPPORT_LOCALE_TYPE:pe(),__EXTEND_POINT__:pe()};function ge(e,t){return null!=t.locale?be(t.locale):be(e.locale)}let Ee;function be(e){if(g(e))return e;if(d(e)){if(e.resolvedOnce&&null!=Ee)return Ee;if("Function"===e.constructor.name){const t=e();if(v(t))throw Error(de.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Ee=t}throw Error(de.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}throw Error(de.NOT_SUPPORT_LOCALE_TYPE)}function ve(e,t,n){return[...new Set([n,...p(t)?t:b(t)?Object.keys(t):g(t)?[t]:[n]])]}function ke(e,t,n){const r=g(n)?n:Ie,a=e;a.__localeChainCache||(a.__localeChainCache=new Map);let l=a.__localeChainCache.get(r);if(!l){l=[];let e=[n];for(;p(e);)e=Le(l,e,t);const o=p(t)||!h(t)?t:t.default?t.default:null;e=g(o)?[o]:o,p(e)&&Le(l,e,!1),a.__localeChainCache.set(r,l)}return l}function Le(e,t,n){let r=!0;for(let a=0;a<t.length&&E(r);a++){const l=t[a];g(l)&&(r=he(e,t[a],n))}return r}function he(e,t,n){let r;const a=t.split("-");do{r=Ne(e,a.join("-"),n),a.splice(-1,1)}while(a.length&&!0===r);return r}function Ne(e,t,n){let r=!1;if(!e.includes(t)&&(r=!0,t)){r="!"!==t[t.length-1];const a=t.replace(/!/g,"");e.push(a),(p(n)||h(n))&&n[a]&&(r=n[a])}return r}const Te="9.14.1",ye=-1,Ie="en-US",Oe="",Ce=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;let Pe,Ae,Re;let Fe=null;const Se=e=>{Fe=e},De=()=>Fe;let Me=0;function we(e={}){const t=d(e.onWarn)?e.onWarn:y,n=g(e.version)?e.version:Te,r=g(e.locale)||d(e.locale)?e.locale:Ie,a=d(r)?Ie:r,l=p(e.fallbackLocale)||h(e.fallbackLocale)||g(e.fallbackLocale)||!1===e.fallbackLocale?e.fallbackLocale:a,o=h(e.messages)?e.messages:{[a]:{}},s=h(e.datetimeFormats)?e.datetimeFormats:{[a]:{}},u=h(e.numberFormats)?e.numberFormats:{[a]:{}},f=i({},e.modifiers||{},{upper:(e,t)=>"text"===t&&g(e)?e.toUpperCase():"vnode"===t&&b(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>"text"===t&&g(e)?e.toLowerCase():"vnode"===t&&b(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>"text"===t&&g(e)?Ce(e):"vnode"===t&&b(e)&&"__v_isVNode"in e?Ce(e.children):e}),m=e.pluralRules||{},_=d(e.missing)?e.missing:null,v=!E(e.missingWarn)&&!c(e.missingWarn)||e.missingWarn,k=!E(e.fallbackWarn)&&!c(e.fallbackWarn)||e.fallbackWarn,L=!!e.fallbackFormat,N=!!e.unresolving,T=d(e.postTranslation)?e.postTranslation:null,I=h(e.processor)?e.processor:null,O=!E(e.warnHtmlMessage)||e.warnHtmlMessage,C=!!e.escapeParameter,P=d(e.messageCompiler)?e.messageCompiler:Pe,A=d(e.messageResolver)?e.messageResolver:Ae||le,R=d(e.localeFallbacker)?e.localeFallbacker:Re||ve,F=b(e.fallbackContext)?e.fallbackContext:void 0,S=e,D=b(S.__datetimeFormatters)?S.__datetimeFormatters:new Map,M=b(S.__numberFormatters)?S.__numberFormatters:new Map,w=b(S.__meta)?S.__meta:{};Me++;const x={version:n,cid:Me,locale:r,fallbackLocale:l,messages:o,modifiers:f,pluralRules:m,missing:_,missingWarn:v,fallbackWarn:k,fallbackFormat:L,unresolving:N,postTranslation:T,processor:I,warnHtmlMessage:O,escapeParameter:C,messageCompiler:P,messageResolver:A,localeFallbacker:R,fallbackContext:F,onWarn:t,__meta:w};return x.datetimeFormats=s,x.numberFormats=u,x.__datetimeFormatters=D,x.__numberFormatters=M,x}function xe(e,t,n,r,a){const{missing:l,onWarn:o}=e;if(null!==l){const r=l(e,n,t,a);return g(r)?r:t}return t}function We(e,t,n){e.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function Ue(e,t){const n=t.indexOf(e);if(-1===n)return!1;for(let l=n+1;l<t.length;l++)if(r=e,a=t[l],r!==a&&r.split("-")[0]===a.split("-")[0])return!0;var r,a;return!1}function $e(e){return t=>function(e,t){const n=t.b||t.body;if(1===(n.t||n.type)){const t=n,r=t.c||t.cases;return e.plural(r.reduce(((t,n)=>[...t,He(e,n)]),[]))}return He(e,n)}(t,e)}function He(e,t){const n=t.s||t.static;if(n)return"text"===e.type?n:e.normalize([n]);{const n=(t.i||t.items).reduce(((t,n)=>[...t,Ve(e,n)]),[]);return e.normalize(n)}}function Ve(e,t){const n=t.t||t.type;switch(n){case 3:{const e=t;return e.v||e.value}case 9:{const e=t;return e.v||e.value}case 4:{const n=t;return e.interpolate(e.named(n.k||n.key))}case 5:{const n=t;return e.interpolate(e.list(null!=n.i?n.i:n.index))}case 6:{const n=t,r=n.m||n.modifier;return e.linked(Ve(e,n.k||n.key),r?Ve(e,r):void 0,e.type)}case 7:{const e=t;return e.v||e.value}case 8:{const e=t;return e.v||e.value}default:throw new Error(`unhandled node type on format message part: ${n}`)}}const je=e=>e;let Xe=Object.create(null);const Ge=e=>b(e)&&(0===e.t||0===e.type)&&("b"in e||"body"in e);const Ye=()=>"",Be=e=>d(e);function Ke(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:a,messageCompiler:l,fallbackLocale:s,messages:c}=e,[u,i]=Qe(...t),m=E(i.missingWarn)?i.missingWarn:e.missingWarn,_=E(i.fallbackWarn)?i.fallbackWarn:e.fallbackWarn,d=E(i.escapeParameter)?i.escapeParameter:e.escapeParameter,v=!!i.resolvedMessage,k=g(i.default)||E(i.default)?E(i.default)?l?u:()=>u:i.default:n?l?u:()=>u:"",L=n||""!==k,h=ge(e,i);d&&function(e){p(e.list)?e.list=e.list.map((e=>g(e)?f(e):e)):b(e.named)&&Object.keys(e.named).forEach((t=>{g(e.named[t])&&(e.named[t]=f(e.named[t]))}))}(i);let[N,T,y]=v?[u,h,c[h]||{}]:ze(e,u,h,s,_,m),I=N,O=u;if(v||g(I)||Ge(I)||Be(I)||L&&(I=k,O=I),!(v||(g(I)||Ge(I)||Be(I))&&g(T)))return a?ye:u;let C=!1;const P=Be(I)?I:Je(e,u,T,I,O,(()=>{C=!0}));if(C)return I;const A=function(e,t,n,r){const{modifiers:a,pluralRules:l,messageResolver:s,fallbackLocale:c,fallbackWarn:u,missingWarn:i,fallbackContext:f}=e,m=r=>{let a=s(n,r);if(null==a&&f){const[,,e]=ze(f,r,t,c,u,i);a=s(e,r)}if(g(a)||Ge(a)){let n=!1;const l=Je(e,r,t,a,r,(()=>{n=!0}));return n?Ye:l}return Be(a)?a:Ye},_={locale:t,modifiers:a,pluralRules:l,messages:m};e.processor&&(_.processor=e.processor);r.list&&(_.list=r.list);r.named&&(_.named=r.named);o(r.plural)&&(_.pluralIndex=r.plural);return _}(e,T,y,i),R=function(e,t,n){const r=t(n);return r}(0,P,me(A));return r?r(R,u):R}function ze(e,t,n,r,a,l){const{messages:o,onWarn:s,messageResolver:c,localeFallbacker:u}=e,i=u(e,r,n);let f,m={},_=null;for(let p=0;p<i.length&&(f=i[p],m=o[f]||{},null===(_=c(m,t))&&(_=m[t]),!(g(_)||Ge(_)||Be(_)));p++)if(!Ue(f,i)){const n=xe(e,t,f,0,"translate");n!==t&&(_=n)}return[_,f,m]}function Je(e,t,n,r,l,o){const{messageCompiler:s,warnHtmlMessage:c}=e;if(Be(r)){const e=r;return e.locale=e.locale||n,e.key=e.key||t,e}if(null==s){const e=()=>r;return e.locale=n,e.key=t,e}const u=s(r,function(e,t,n,r,l,o){return{locale:t,key:n,warnHtmlMessage:l,onError:e=>{throw o&&o(e),e},onCacheKey:e=>a(t,n,e)}}(0,n,l,0,c,o));return u.locale=n,u.key=t,u.source=r,u}function Qe(...e){const[t,n,r]=e,a={};if(!(g(t)||o(t)||Be(t)||Ge(t)))throw Error(de.INVALID_ARGUMENT);const l=o(t)?String(t):(Be(t),t);return o(n)?a.plural=n:g(n)?a.default=n:h(n)&&!u(n)?a.named=n:p(n)&&(a.list=n),o(r)?a.plural=r:g(r)?a.default=r:h(r)&&i(a,r),[l,a]}function qe(e,...t){const{datetimeFormats:n,unresolving:r,fallbackLocale:a,onWarn:l,localeFallbacker:o}=e,{__datetimeFormatters:s}=e,[c,f,m,_]=et(...t);E(m.missingWarn)?m.missingWarn:e.missingWarn;E(m.fallbackWarn)?m.fallbackWarn:e.fallbackWarn;const p=!!m.part,d=ge(e,m),b=o(e,a,d);if(!g(c)||""===c)return new Intl.DateTimeFormat(d,_).format(f);let v,k={},L=null;for(let u=0;u<b.length&&(v=b[u],k=n[v]||{},L=k[c],!h(L));u++)xe(e,c,v,0,"datetime format");if(!h(L)||!g(v))return r?ye:c;let N=`${v}__${c}`;u(_)||(N=`${N}__${JSON.stringify(_)}`);let T=s.get(N);return T||(T=new Intl.DateTimeFormat(v,i({},L,_)),s.set(N,T)),p?T.formatToParts(f):T.format(f)}const Ze=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function et(...e){const[t,n,r,a]=e,l={};let c,u={};if(g(t)){const e=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!e)throw Error(de.INVALID_ISO_DATE_ARGUMENT);const n=e[3]?e[3].trim().startsWith("T")?`${e[1].trim()}${e[3].trim()}`:`${e[1].trim()}T${e[3].trim()}`:e[1].trim();c=new Date(n);try{c.toISOString()}catch(i){throw Error(de.INVALID_ISO_DATE_ARGUMENT)}}else if(s(t)){if(isNaN(t.getTime()))throw Error(de.INVALID_DATE_ARGUMENT);c=t}else{if(!o(t))throw Error(de.INVALID_ARGUMENT);c=t}return g(n)?l.key=n:h(n)&&Object.keys(n).forEach((e=>{Ze.includes(e)?u[e]=n[e]:l[e]=n[e]})),g(r)?l.locale=r:h(r)&&(u=r),h(a)&&(u=a),[l.key||"",c,l,u]}function tt(e,t,n){const r=e;for(const a in n){const e=`${t}__${a}`;r.__datetimeFormatters.has(e)&&r.__datetimeFormatters.delete(e)}}function nt(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:a,onWarn:l,localeFallbacker:o}=e,{__numberFormatters:s}=e,[c,f,m,_]=at(...t);E(m.missingWarn)?m.missingWarn:e.missingWarn;E(m.fallbackWarn)?m.fallbackWarn:e.fallbackWarn;const p=!!m.part,d=ge(e,m),b=o(e,a,d);if(!g(c)||""===c)return new Intl.NumberFormat(d,_).format(f);let v,k={},L=null;for(let u=0;u<b.length&&(v=b[u],k=n[v]||{},L=k[c],!h(L));u++)xe(e,c,v,0,"number format");if(!h(L)||!g(v))return r?ye:c;let N=`${v}__${c}`;u(_)||(N=`${N}__${JSON.stringify(_)}`);let T=s.get(N);return T||(T=new Intl.NumberFormat(v,i({},L,_)),s.set(N,T)),p?T.formatToParts(f):T.format(f)}const rt=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function at(...e){const[t,n,r,a]=e,l={};let s={};if(!o(t))throw Error(de.INVALID_ARGUMENT);const c=t;return g(n)?l.key=n:h(n)&&Object.keys(n).forEach((e=>{rt.includes(e)?s[e]=n[e]:l[e]=n[e]})),g(r)?l.locale=r:h(r)&&(s=r),h(a)&&(s=a),[l.key||"",c,l,s]}function lt(e,t,n){const r=e;for(const a in n){const e=`${t}__${a}`;r.__numberFormatters.has(e)&&r.__numberFormatters.delete(e)}}const ot="9.14.1",st=de.__EXTEND_POINT__,ct=T(st),ut={UNEXPECTED_RETURN_TYPE:st,INVALID_ARGUMENT:ct(),MUST_BE_CALL_SETUP_TOP:ct(),NOT_INSTALLED:ct(),NOT_AVAILABLE_IN_LEGACY_MODE:ct(),REQUIRED_VALUE:ct(),INVALID_VALUE:ct(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:ct(),NOT_INSTALLED_WITH_PROVIDE:ct(),UNEXPECTED_ERROR:ct(),NOT_COMPATIBLE_LEGACY_VUE_I18N:ct(),BRIDGE_SUPPORT_VUE_2_ONLY:ct(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:ct(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:ct(),__EXTEND_POINT__:ct()};const it=r("__translateVNode"),ft=r("__datetimeParts"),mt=r("__numberParts"),_t=r("__setPluralRules"),pt=r("__injectWithOption"),dt=r("__dispose");function gt(e){if(!b(e))return e;for(const t in e)if(_(e,t))if(t.includes(".")){const n=t.split("."),r=n.length-1;let a=e,l=!1;for(let e=0;e<r;e++){if(n[e]in a||(a[n[e]]={}),!b(a[n[e]])){l=!0;break}a=a[n[e]]}l||(a[n[r]]=e[t],delete e[t]),b(a[n[r]])&&gt(a[n[r]])}else b(e[t])&&gt(e[t]);return e}function Et(e,t){const{messages:n,__i18n:r,messageResolver:a,flatJson:l}=t,o=h(n)?n:p(r)?{}:{[e]:{}};if(p(r)&&r.forEach((e=>{if("locale"in e&&"resource"in e){const{locale:t,resource:n}=e;t?(o[t]=o[t]||{},O(n,o[t])):O(n,o)}else g(e)&&O(JSON.parse(e),o)})),null==a&&l)for(const s in o)_(o,s)&&gt(o[s]);return o}function bt(e){return e.type}function vt(e,t,n){let r=b(t.messages)?t.messages:{};"__i18nGlobal"in n&&(r=Et(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const a=Object.keys(r);if(a.length&&a.forEach((t=>{e.mergeLocaleMessage(t,r[t])})),b(t.datetimeFormats)){const n=Object.keys(t.datetimeFormats);n.length&&n.forEach((n=>{e.mergeDateTimeFormat(n,t.datetimeFormats[n])}))}if(b(t.numberFormats)){const n=Object.keys(t.numberFormats);n.length&&n.forEach((n=>{e.mergeNumberFormat(n,t.numberFormats[n])}))}}function kt(e){return t.createVNode(t.Text,null,e,0)}const Lt=()=>[],ht=()=>!1;let Nt=0;function Tt(e){return(n,r,a,l)=>e(r,a,t.getCurrentInstance()||void 0,l)}function yt(e={},r){const{__root:a,__injectWithOption:l}=e,s=void 0===a,u=e.flatJson,f=n?t.ref:t.shallowRef,m=!!e.translateExistCompatible;let v=!E(e.inheritLocale)||e.inheritLocale;const k=f(a&&v?a.locale.value:g(e.locale)?e.locale:Ie),L=f(a&&v?a.fallbackLocale.value:g(e.fallbackLocale)||p(e.fallbackLocale)||h(e.fallbackLocale)||!1===e.fallbackLocale?e.fallbackLocale:k.value),N=f(Et(k.value,e)),T=f(h(e.datetimeFormats)?e.datetimeFormats:{[k.value]:{}}),y=f(h(e.numberFormats)?e.numberFormats:{[k.value]:{}});let I=a?a.missingWarn:!E(e.missingWarn)&&!c(e.missingWarn)||e.missingWarn,C=a?a.fallbackWarn:!E(e.fallbackWarn)&&!c(e.fallbackWarn)||e.fallbackWarn,P=a?a.fallbackRoot:!E(e.fallbackRoot)||e.fallbackRoot,A=!!e.fallbackFormat,R=d(e.missing)?e.missing:null,F=d(e.missing)?Tt(e.missing):null,S=d(e.postTranslation)?e.postTranslation:null,D=a?a.warnHtmlMessage:!E(e.warnHtmlMessage)||e.warnHtmlMessage,M=!!e.escapeParameter;const w=a?a.modifiers:h(e.modifiers)?e.modifiers:{};let x,W=e.pluralRules||a&&a.pluralRules;x=(()=>{s&&Se(null);const t={version:ot,locale:k.value,fallbackLocale:L.value,messages:N.value,modifiers:w,pluralRules:W,missing:null===F?void 0:F,missingWarn:I,fallbackWarn:C,fallbackFormat:A,unresolving:!0,postTranslation:null===S?void 0:S,warnHtmlMessage:D,escapeParameter:M,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};t.datetimeFormats=T.value,t.numberFormats=y.value,t.__datetimeFormatters=h(x)?x.__datetimeFormatters:void 0,t.__numberFormatters=h(x)?x.__numberFormatters:void 0;const n=we(t);return s&&Se(n),n})(),We(x,k.value,L.value);const U=t.computed({get:()=>k.value,set:e=>{k.value=e,x.locale=k.value}}),$=t.computed({get:()=>L.value,set:e=>{L.value=e,x.fallbackLocale=L.value,We(x,k.value,e)}}),H=t.computed((()=>N.value)),V=t.computed((()=>T.value)),j=t.computed((()=>y.value));const X=(e,t,n,r,l,c)=>{let u;k.value,L.value,N.value,T.value,y.value;try{0,s||(x.fallbackContext=a?De():void 0),u=e(x)}finally{s||(x.fallbackContext=void 0)}if("translate exists"!==n&&o(u)&&u===ye||"translate exists"===n&&!u){const[e,n]=t();return a&&P?r(a):l(e)}if(c(u))return u;throw Error(ut.UNEXPECTED_RETURN_TYPE)};function G(...e){return X((t=>Reflect.apply(Ke,null,[t,...e])),(()=>Qe(...e)),"translate",(t=>Reflect.apply(t.t,t,[...e])),(e=>e),(e=>g(e)))}const Y={normalize:function(e){return e.map((e=>g(e)||o(e)||E(e)?kt(String(e)):e))},interpolate:e=>e,type:"vnode"};function B(e){return N.value[e]||{}}Nt++,a&&n&&(t.watch(a.locale,(e=>{v&&(k.value=e,x.locale=e,We(x,k.value,L.value))})),t.watch(a.fallbackLocale,(e=>{v&&(L.value=e,x.fallbackLocale=e,We(x,k.value,L.value))})));const K={id:Nt,locale:U,fallbackLocale:$,get inheritLocale(){return v},set inheritLocale(e){v=e,e&&a&&(k.value=a.locale.value,L.value=a.fallbackLocale.value,We(x,k.value,L.value))},get availableLocales(){return Object.keys(N.value).sort()},messages:H,get modifiers(){return w},get pluralRules(){return W||{}},get isGlobal(){return s},get missingWarn(){return I},set missingWarn(e){I=e,x.missingWarn=I},get fallbackWarn(){return C},set fallbackWarn(e){C=e,x.fallbackWarn=C},get fallbackRoot(){return P},set fallbackRoot(e){P=e},get fallbackFormat(){return A},set fallbackFormat(e){A=e,x.fallbackFormat=A},get warnHtmlMessage(){return D},set warnHtmlMessage(e){D=e,x.warnHtmlMessage=e},get escapeParameter(){return M},set escapeParameter(e){M=e,x.escapeParameter=e},t:G,getLocaleMessage:B,setLocaleMessage:function(e,t){if(u){const n={[e]:t};for(const e in n)_(n,e)&&gt(n[e]);t=n[e]}N.value[e]=t,x.messages=N.value},mergeLocaleMessage:function(e,t){N.value[e]=N.value[e]||{};const n={[e]:t};if(u)for(const r in n)_(n,r)&&gt(n[r]);O(t=n[e],N.value[e]),x.messages=N.value},getPostTranslationHandler:function(){return d(S)?S:null},setPostTranslationHandler:function(e){S=e,x.postTranslation=e},getMissingHandler:function(){return R},setMissingHandler:function(e){null!==e&&(F=Tt(e)),R=e,x.missing=F},[_t]:function(e){W=e,x.pluralRules=W}};return K.datetimeFormats=V,K.numberFormats=j,K.rt=function(...e){const[t,n,r]=e;if(r&&!b(r))throw Error(ut.INVALID_ARGUMENT);return G(t,n,i({resolvedMessage:!0},r||{}))},K.te=function(e,t){return X((()=>{if(!e)return!1;const n=B(g(t)?t:k.value),r=x.messageResolver(n,e);return m?null!=r:Ge(r)||Be(r)||g(r)}),(()=>[e]),"translate exists",(n=>Reflect.apply(n.te,n,[e,t])),ht,(e=>E(e)))},K.tm=function(e){const t=function(e){let t=null;const n=ke(x,L.value,k.value);for(let r=0;r<n.length;r++){const a=N.value[n[r]]||{},l=x.messageResolver(a,e);if(null!=l){t=l;break}}return t}(e);return null!=t?t:a&&a.tm(e)||{}},K.d=function(...e){return X((t=>Reflect.apply(qe,null,[t,...e])),(()=>et(...e)),"datetime format",(t=>Reflect.apply(t.d,t,[...e])),(()=>Oe),(e=>g(e)))},K.n=function(...e){return X((t=>Reflect.apply(nt,null,[t,...e])),(()=>at(...e)),"number format",(t=>Reflect.apply(t.n,t,[...e])),(()=>Oe),(e=>g(e)))},K.getDateTimeFormat=function(e){return T.value[e]||{}},K.setDateTimeFormat=function(e,t){T.value[e]=t,x.datetimeFormats=T.value,tt(x,e,t)},K.mergeDateTimeFormat=function(e,t){T.value[e]=i(T.value[e]||{},t),x.datetimeFormats=T.value,tt(x,e,t)},K.getNumberFormat=function(e){return y.value[e]||{}},K.setNumberFormat=function(e,t){y.value[e]=t,x.numberFormats=y.value,lt(x,e,t)},K.mergeNumberFormat=function(e,t){y.value[e]=i(y.value[e]||{},t),x.numberFormats=y.value,lt(x,e,t)},K[pt]=l,K[it]=function(...e){return X((t=>{let n;const r=t;try{r.processor=Y,n=Reflect.apply(Ke,null,[r,...e])}finally{r.processor=null}return n}),(()=>Qe(...e)),"translate",(t=>t[it](...e)),(e=>[kt(e)]),(e=>p(e)))},K[ft]=function(...e){return X((t=>Reflect.apply(qe,null,[t,...e])),(()=>et(...e)),"datetime format",(t=>t[ft](...e)),Lt,(e=>g(e)||p(e)))},K[mt]=function(...e){return X((t=>Reflect.apply(nt,null,[t,...e])),(()=>at(...e)),"number format",(t=>t[mt](...e)),Lt,(e=>g(e)||p(e)))},K}function It(e={},t){{const t=yt(function(e){const t=g(e.locale)?e.locale:Ie,n=g(e.fallbackLocale)||p(e.fallbackLocale)||h(e.fallbackLocale)||!1===e.fallbackLocale?e.fallbackLocale:t,r=d(e.missing)?e.missing:void 0,a=!E(e.silentTranslationWarn)&&!c(e.silentTranslationWarn)||!e.silentTranslationWarn,l=!E(e.silentFallbackWarn)&&!c(e.silentFallbackWarn)||!e.silentFallbackWarn,o=!E(e.fallbackRoot)||e.fallbackRoot,s=!!e.formatFallbackMessages,u=h(e.modifiers)?e.modifiers:{},f=e.pluralizationRules,m=d(e.postTranslation)?e.postTranslation:void 0,_=!g(e.warnHtmlInMessage)||"off"!==e.warnHtmlInMessage,b=!!e.escapeParameterHtml,v=!E(e.sync)||e.sync;let k=e.messages;if(h(e.sharedMessages)){const t=e.sharedMessages;k=Object.keys(t).reduce(((e,n)=>{const r=e[n]||(e[n]={});return i(r,t[n]),e}),k||{})}const{__i18n:L,__root:N,__injectWithOption:T}=e,y=e.datetimeFormats,I=e.numberFormats,O=e.flatJson,C=e.translateExistCompatible;return{locale:t,fallbackLocale:n,messages:k,flatJson:O,datetimeFormats:y,numberFormats:I,missing:r,missingWarn:a,fallbackWarn:l,fallbackRoot:o,fallbackFormat:s,modifiers:u,pluralRules:f,postTranslation:m,warnHtmlMessage:_,escapeParameter:b,messageResolver:e.messageResolver,inheritLocale:v,translateExistCompatible:C,__i18n:L,__root:N,__injectWithOption:T}}(e)),{__extender:n}=e,r={id:t.id,get locale(){return t.locale.value},set locale(e){t.locale.value=e},get fallbackLocale(){return t.fallbackLocale.value},set fallbackLocale(e){t.fallbackLocale.value=e},get messages(){return t.messages.value},get datetimeFormats(){return t.datetimeFormats.value},get numberFormats(){return t.numberFormats.value},get availableLocales(){return t.availableLocales},get formatter(){return{interpolate:()=>[]}},set formatter(e){},get missing(){return t.getMissingHandler()},set missing(e){t.setMissingHandler(e)},get silentTranslationWarn(){return E(t.missingWarn)?!t.missingWarn:t.missingWarn},set silentTranslationWarn(e){t.missingWarn=E(e)?!e:e},get silentFallbackWarn(){return E(t.fallbackWarn)?!t.fallbackWarn:t.fallbackWarn},set silentFallbackWarn(e){t.fallbackWarn=E(e)?!e:e},get modifiers(){return t.modifiers},get formatFallbackMessages(){return t.fallbackFormat},set formatFallbackMessages(e){t.fallbackFormat=e},get postTranslation(){return t.getPostTranslationHandler()},set postTranslation(e){t.setPostTranslationHandler(e)},get sync(){return t.inheritLocale},set sync(e){t.inheritLocale=e},get warnHtmlInMessage(){return t.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(e){t.warnHtmlMessage="off"!==e},get escapeParameterHtml(){return t.escapeParameter},set escapeParameterHtml(e){t.escapeParameter=e},get preserveDirectiveContent(){return!0},set preserveDirectiveContent(e){},get pluralizationRules(){return t.pluralRules||{}},__composer:t,t(...e){const[n,r,a]=e,l={};let o=null,s=null;if(!g(n))throw Error(ut.INVALID_ARGUMENT);const c=n;return g(r)?l.locale=r:p(r)?o=r:h(r)&&(s=r),p(a)?o=a:h(a)&&(s=a),Reflect.apply(t.t,t,[c,o||s||{},l])},rt:(...e)=>Reflect.apply(t.rt,t,[...e]),tc(...e){const[n,r,a]=e,l={plural:1};let s=null,c=null;if(!g(n))throw Error(ut.INVALID_ARGUMENT);const u=n;return g(r)?l.locale=r:o(r)?l.plural=r:p(r)?s=r:h(r)&&(c=r),g(a)?l.locale=a:p(a)?s=a:h(a)&&(c=a),Reflect.apply(t.t,t,[u,s||c||{},l])},te:(e,n)=>t.te(e,n),tm:e=>t.tm(e),getLocaleMessage:e=>t.getLocaleMessage(e),setLocaleMessage(e,n){t.setLocaleMessage(e,n)},mergeLocaleMessage(e,n){t.mergeLocaleMessage(e,n)},d:(...e)=>Reflect.apply(t.d,t,[...e]),getDateTimeFormat:e=>t.getDateTimeFormat(e),setDateTimeFormat(e,n){t.setDateTimeFormat(e,n)},mergeDateTimeFormat(e,n){t.mergeDateTimeFormat(e,n)},n:(...e)=>Reflect.apply(t.n,t,[...e]),getNumberFormat:e=>t.getNumberFormat(e),setNumberFormat(e,n){t.setNumberFormat(e,n)},mergeNumberFormat(e,n){t.mergeNumberFormat(e,n)},getChoiceIndex:(e,t)=>-1};return r.__extender=n,r}}const Ot={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>"parent"===e||"global"===e,default:"parent"},i18n:{type:Object}};function Ct(e){return t.Fragment}const Pt=t.defineComponent({name:"i18n-t",props:i({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>o(e)||!isNaN(e)}},Ot),setup(e,n){const{slots:r,attrs:a}=n,l=e.i18n||Ht({useScope:e.scope,__useComponent:!0});return()=>{const o=Object.keys(r).filter((e=>"_"!==e)),s={};e.locale&&(s.locale=e.locale),void 0!==e.plural&&(s.plural=g(e.plural)?+e.plural:e.plural);const c=function({slots:e},n){if(1===n.length&&"default"===n[0])return(e.default?e.default():[]).reduce(((e,n)=>[...e,...n.type===t.Fragment?n.children:[n]]),[]);return n.reduce(((t,n)=>{const r=e[n];return r&&(t[n]=r()),t}),{})}(n,o),u=l[it](e.keypath,c,s),f=i({},a),m=g(e.tag)||b(e.tag)?e.tag:Ct();return t.h(m,f,u)}}}),At=Pt;function Rt(e,n,r,a){const{slots:l,attrs:o}=n;return()=>{const n={part:!0};let s={};e.locale&&(n.locale=e.locale),g(e.format)?n.key=e.format:b(e.format)&&(g(e.format.key)&&(n.key=e.format.key),s=Object.keys(e.format).reduce(((t,n)=>r.includes(n)?i({},t,{[n]:e.format[n]}):t),{}));const c=a(e.value,n,s);let u=[n.key];p(c)?u=c.map(((e,t)=>{const n=l[e.type],r=n?n({[e.type]:e.value,index:t,parts:c}):[e.value];var a;return p(a=r)&&!g(a[0])&&(r[0].key=`${e.type}-${t}`),r})):g(c)&&(u=[c]);const f=i({},o),m=g(e.tag)||b(e.tag)?e.tag:Ct();return t.h(m,f,u)}}const Ft=t.defineComponent({name:"i18n-n",props:i({value:{type:Number,required:!0},format:{type:[String,Object]}},Ot),setup(e,t){const n=e.i18n||Ht({useScope:e.scope,__useComponent:!0});return Rt(e,t,rt,((...e)=>n[mt](...e)))}}),St=Ft,Dt=t.defineComponent({name:"i18n-d",props:i({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Ot),setup(e,t){const n=e.i18n||Ht({useScope:e.scope,__useComponent:!0});return Rt(e,t,Ze,((...e)=>n[ft](...e)))}}),Mt=Dt;function wt(e){const r=t=>{const{instance:n,modifiers:r,value:a}=t;if(!n||!n.$)throw Error(ut.UNEXPECTED_ERROR);const l=function(e,t){const n=e;if("composition"===e.mode)return n.__getInstance(t)||e.global;{const r=n.__getInstance(t);return null!=r?r.__composer:e.global.__composer}}(e,n.$),o=xt(a);return[Reflect.apply(l.t,l,[...Wt(o)]),l]};return{created:(a,l)=>{const[o,s]=r(l);n&&e.global===s&&(a.__i18nWatcher=t.watch(s.locale,(()=>{l.instance&&l.instance.$forceUpdate()}))),a.__composer=s,a.textContent=o},unmounted:e=>{n&&e.__i18nWatcher&&(e.__i18nWatcher(),e.__i18nWatcher=void 0,delete e.__i18nWatcher),e.__composer&&(e.__composer=void 0,delete e.__composer)},beforeUpdate:(e,{value:t})=>{if(e.__composer){const n=e.__composer,r=xt(t);e.textContent=Reflect.apply(n.t,n,[...Wt(r)])}},getSSRProps:e=>{const[t]=r(e);return{textContent:t}}}}function xt(e){if(g(e))return{path:e};if(h(e)){if(!("path"in e))throw Error(ut.REQUIRED_VALUE,"path");return e}throw Error(ut.INVALID_VALUE)}function Wt(e){const{path:t,locale:n,args:r,choice:a,plural:l}=e,s={},c=r||{};return g(n)&&(s.locale=n),o(a)&&(s.plural=a),o(l)&&(s.plural=l),[t,c,s]}function Ut(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[_t](t.pluralizationRules||e.pluralizationRules);const n=Et(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(n).forEach((t=>e.mergeLocaleMessage(t,n[t]))),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach((n=>e.mergeDateTimeFormat(n,t.datetimeFormats[n]))),t.numberFormats&&Object.keys(t.numberFormats).forEach((n=>e.mergeNumberFormat(n,t.numberFormats[n]))),e}const $t=r("global-vue-i18n");function Ht(e={}){const n=t.getCurrentInstance();if(null==n)throw Error(ut.MUST_BE_CALL_SETUP_TOP);if(!n.isCE&&null!=n.appContext.app&&!n.appContext.app.__VUE_I18N_SYMBOL__)throw Error(ut.NOT_INSTALLED);const r=function(e){{const n=t.inject(e.isCE?$t:e.appContext.app.__VUE_I18N_SYMBOL__);if(!n)throw function(e,...t){return R(e,null,void 0)}(e.isCE?ut.NOT_INSTALLED_WITH_PROVIDE:ut.UNEXPECTED_ERROR);return n}}(n),a=function(e){return"composition"===e.mode?e.global:e.global.__composer}(r),l=bt(n),o=function(e,t){return u(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}(e,l);if("legacy"===r.mode&&!e.__useComponent){if(!r.allowComposition)throw Error(ut.NOT_AVAILABLE_IN_LEGACY_MODE);return function(e,n,r,a={}){const l="local"===n,o=t.shallowRef(null);if(l&&e.proxy&&!e.proxy.$options.i18n&&!e.proxy.$options.__i18n)throw Error(ut.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const s=E(a.inheritLocale)?a.inheritLocale:!g(a.locale),u=t.ref(!l||s?r.locale.value:g(a.locale)?a.locale:Ie),i=t.ref(!l||s?r.fallbackLocale.value:g(a.fallbackLocale)||p(a.fallbackLocale)||h(a.fallbackLocale)||!1===a.fallbackLocale?a.fallbackLocale:u.value),f=t.ref(Et(u.value,a)),m=t.ref(h(a.datetimeFormats)?a.datetimeFormats:{[u.value]:{}}),_=t.ref(h(a.numberFormats)?a.numberFormats:{[u.value]:{}}),b=l?r.missingWarn:!E(a.missingWarn)&&!c(a.missingWarn)||a.missingWarn,v=l?r.fallbackWarn:!E(a.fallbackWarn)&&!c(a.fallbackWarn)||a.fallbackWarn,k=l?r.fallbackRoot:!E(a.fallbackRoot)||a.fallbackRoot,L=!!a.fallbackFormat,N=d(a.missing)?a.missing:null,T=d(a.postTranslation)?a.postTranslation:null,y=l?r.warnHtmlMessage:!E(a.warnHtmlMessage)||a.warnHtmlMessage,I=!!a.escapeParameter,O=l?r.modifiers:h(a.modifiers)?a.modifiers:{},C=a.pluralRules||l&&r.pluralRules;function P(){return[u.value,i.value,f.value,m.value,_.value]}const A=t.computed({get:()=>o.value?o.value.locale.value:u.value,set:e=>{o.value&&(o.value.locale.value=e),u.value=e}}),R=t.computed({get:()=>o.value?o.value.fallbackLocale.value:i.value,set:e=>{o.value&&(o.value.fallbackLocale.value=e),i.value=e}}),F=t.computed((()=>o.value?o.value.messages.value:f.value)),S=t.computed((()=>m.value)),D=t.computed((()=>_.value));function M(){return o.value?o.value.getPostTranslationHandler():T}function w(e){o.value&&o.value.setPostTranslationHandler(e)}function x(){return o.value?o.value.getMissingHandler():N}function W(e){o.value&&o.value.setMissingHandler(e)}function U(e){return P(),e()}function $(...e){return o.value?U((()=>Reflect.apply(o.value.t,null,[...e]))):U((()=>""))}function H(...e){return o.value?Reflect.apply(o.value.rt,null,[...e]):""}function V(...e){return o.value?U((()=>Reflect.apply(o.value.d,null,[...e]))):U((()=>""))}function j(...e){return o.value?U((()=>Reflect.apply(o.value.n,null,[...e]))):U((()=>""))}function X(e){return o.value?o.value.tm(e):{}}function G(e,t){return!!o.value&&o.value.te(e,t)}function Y(e){return o.value?o.value.getLocaleMessage(e):{}}function B(e,t){o.value&&(o.value.setLocaleMessage(e,t),f.value[e]=t)}function K(e,t){o.value&&o.value.mergeLocaleMessage(e,t)}function z(e){return o.value?o.value.getDateTimeFormat(e):{}}function J(e,t){o.value&&(o.value.setDateTimeFormat(e,t),m.value[e]=t)}function Q(e,t){o.value&&o.value.mergeDateTimeFormat(e,t)}function q(e){return o.value?o.value.getNumberFormat(e):{}}function Z(e,t){o.value&&(o.value.setNumberFormat(e,t),_.value[e]=t)}function ee(e,t){o.value&&o.value.mergeNumberFormat(e,t)}const te={get id(){return o.value?o.value.id:-1},locale:A,fallbackLocale:R,messages:F,datetimeFormats:S,numberFormats:D,get inheritLocale(){return o.value?o.value.inheritLocale:s},set inheritLocale(e){o.value&&(o.value.inheritLocale=e)},get availableLocales(){return o.value?o.value.availableLocales:Object.keys(f.value)},get modifiers(){return o.value?o.value.modifiers:O},get pluralRules(){return o.value?o.value.pluralRules:C},get isGlobal(){return!!o.value&&o.value.isGlobal},get missingWarn(){return o.value?o.value.missingWarn:b},set missingWarn(e){o.value&&(o.value.missingWarn=e)},get fallbackWarn(){return o.value?o.value.fallbackWarn:v},set fallbackWarn(e){o.value&&(o.value.missingWarn=e)},get fallbackRoot(){return o.value?o.value.fallbackRoot:k},set fallbackRoot(e){o.value&&(o.value.fallbackRoot=e)},get fallbackFormat(){return o.value?o.value.fallbackFormat:L},set fallbackFormat(e){o.value&&(o.value.fallbackFormat=e)},get warnHtmlMessage(){return o.value?o.value.warnHtmlMessage:y},set warnHtmlMessage(e){o.value&&(o.value.warnHtmlMessage=e)},get escapeParameter(){return o.value?o.value.escapeParameter:I},set escapeParameter(e){o.value&&(o.value.escapeParameter=e)},t:$,getPostTranslationHandler:M,setPostTranslationHandler:w,getMissingHandler:x,setMissingHandler:W,rt:H,d:V,n:j,tm:X,te:G,getLocaleMessage:Y,setLocaleMessage:B,mergeLocaleMessage:K,getDateTimeFormat:z,setDateTimeFormat:J,mergeDateTimeFormat:Q,getNumberFormat:q,setNumberFormat:Z,mergeNumberFormat:ee};function ne(e){e.locale.value=u.value,e.fallbackLocale.value=i.value,Object.keys(f.value).forEach((t=>{e.mergeLocaleMessage(t,f.value[t])})),Object.keys(m.value).forEach((t=>{e.mergeDateTimeFormat(t,m.value[t])})),Object.keys(_.value).forEach((t=>{e.mergeNumberFormat(t,_.value[t])})),e.escapeParameter=I,e.fallbackFormat=L,e.fallbackRoot=k,e.fallbackWarn=v,e.missingWarn=b,e.warnHtmlMessage=y}return t.onBeforeMount((()=>{if(null==e.proxy||null==e.proxy.$i18n)throw Error(ut.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const t=o.value=e.proxy.$i18n.__composer;"global"===n?(u.value=t.locale.value,i.value=t.fallbackLocale.value,f.value=t.messages.value,m.value=t.datetimeFormats.value,_.value=t.numberFormats.value):l&&ne(t)})),te}(n,o,a,e)}if("global"===o)return vt(a,e,l),a;if("parent"===o){let t=function(e,t,n=!1){let r=null;const a=t.root;let l=function(e,t=!1){if(null==e)return null;return t&&e.vnode.ctx||e.parent}(t,n);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[pt]&&(r=null))}if(null!=r)break;if(a===l)break;l=l.parent}return r}(r,n,e.__useComponent);return null==t&&(t=a),t}const s=r;let f=s.__getInstance(n);if(null==f){const r=i({},e);"__i18n"in l&&(r.__i18n=l.__i18n),a&&(r.__root=a),f=yt(r),s.__composerExtend&&(f[dt]=s.__composerExtend(f)),function(e,n,r){t.onMounted((()=>{}),n),t.onUnmounted((()=>{const t=r;e.__deleteInstance(n);const a=t[dt];a&&(a(),delete t[dt])}),n)}(s,n,f),s.__setInstance(n,f)}return f}const Vt=["locale","fallbackLocale","availableLocales"],jt=["t","rt","d","n","tm","te"];return Pe=function(e,t){if(g(e)){!E(t.warnHtmlMessage)||t.warnHtmlMessage;const n=(t.onCacheKey||je)(e),r=Xe[n];if(r)return r;const{ast:a,detectError:l}=function(e,t={}){let n=!1;const r=t.onError||F;return t.onError=e=>{n=!0,r(e)},{...Z(e,t),detectError:n}}(e,{...t,location:!1,jit:!0}),o=$e(a);return l?o:Xe[n]=o}{const t=e.cacheKey;return t?Xe[t]||(Xe[t]=$e(e)):$e(e)}},Ae=function(e,t){if(!b(e))return null;let n=ae.get(t);if(n||(n=function(e){const t=[];let n,r,a,l,o,s,c,u=-1,i=0,f=0;const m=[];function _(){const t=e[u+1];if(5===i&&"'"===t||6===i&&'"'===t)return u++,a="\\"+t,m[0](),!0}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(f>0)f--,i=4,m[0]();else{if(f=0,void 0===r)return!1;if(r=re(r),!1===r)return!1;m[1]()}};null!==i;)if(u++,n=e[u],"\\"!==n||!_()){if(l=ne(n),c=ee[i],o=c[l]||c.l||8,8===o)return;if(i=o[0],void 0!==o[1]&&(s=m[o[1]],s&&(a=n,!1===s())))return;if(7===i)return t}}(t),n&&ae.set(t,n)),!n)return null;const r=n.length;let a=e,l=0;for(;l<r;){const e=a[n[l]];if(void 0===e)return null;if(d(a))return null;a=e,l++}return a},Re=ke,e.DatetimeFormat=Dt,e.I18nD=Mt,e.I18nInjectionKey=$t,e.I18nN=St,e.I18nT=At,e.NumberFormat=Ft,e.Translation=Pt,e.VERSION=ot,e.castToVueI18n=e=>{if(!("__VUE_I18N_BRIDGE__"in e))throw Error(ut.NOT_COMPATIBLE_LEGACY_VUE_I18N);return e},e.createI18n=function(e={},n){const a=!E(e.legacy)||e.legacy,l=!E(e.globalInjection)||e.globalInjection,o=!a||!!e.allowComposition,s=new Map,[c,u]=function(e,n,r){const a=t.effectScope();{const t=n?a.run((()=>It(e))):a.run((()=>yt(e)));if(null==t)throw Error(ut.UNEXPECTED_ERROR);return[a,t]}}(e,a),i=r("");{const e={get mode(){return a?"legacy":"composition"},get allowComposition(){return o},async install(n,...r){if(n.__VUE_I18N_SYMBOL__=i,n.provide(n.__VUE_I18N_SYMBOL__,e),h(r[0])){const t=r[0];e.__composerExtend=t.__composerExtend,e.__vueI18nExtend=t.__vueI18nExtend}let o=null;!a&&l&&(o=function(e,n){const r=Object.create(null);Vt.forEach((e=>{const a=Object.getOwnPropertyDescriptor(n,e);if(!a)throw Error(ut.UNEXPECTED_ERROR);const l=t.isRef(a.value)?{get:()=>a.value.value,set(e){a.value.value=e}}:{get:()=>a.get&&a.get()};Object.defineProperty(r,e,l)})),e.config.globalProperties.$i18n=r,jt.forEach((t=>{const r=Object.getOwnPropertyDescriptor(n,t);if(!r||!r.value)throw Error(ut.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${t}`,r)}));const a=()=>{delete e.config.globalProperties.$i18n,jt.forEach((t=>{delete e.config.globalProperties[`$${t}`]}))};return a}(n,e.global)),function(e,t,...n){const r=h(n[0])?n[0]:{},a=!!r.useI18nComponentName;(!E(r.globalInstall)||r.globalInstall)&&([a?"i18n":Pt.name,"I18nT"].forEach((t=>e.component(t,Pt))),[Ft.name,"I18nN"].forEach((t=>e.component(t,Ft))),[Dt.name,"I18nD"].forEach((t=>e.component(t,Dt)))),e.directive("t",wt(t))}(n,e,...r),a&&n.mixin(function(e,n,r){return{beforeCreate(){const a=t.getCurrentInstance();if(!a)throw Error(ut.UNEXPECTED_ERROR);const l=this.$options;if(l.i18n){const t=l.i18n;if(l.__i18n&&(t.__i18n=l.__i18n),t.__root=n,this===this.$root)this.$i18n=Ut(e,t);else{t.__injectWithOption=!0,t.__extender=r.__vueI18nExtend,this.$i18n=It(t);const e=this.$i18n;e.__extender&&(e.__disposer=e.__extender(this.$i18n))}}else if(l.__i18n)if(this===this.$root)this.$i18n=Ut(e,l);else{this.$i18n=It({__i18n:l.__i18n,__injectWithOption:!0,__extender:r.__vueI18nExtend,__root:n});const e=this.$i18n;e.__extender&&(e.__disposer=e.__extender(this.$i18n))}else this.$i18n=e;l.__i18nGlobal&&vt(n,l,l),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),r.__setInstance(a,this.$i18n)},mounted(){},unmounted(){const e=t.getCurrentInstance();if(!e)throw Error(ut.UNEXPECTED_ERROR);const n=this.$i18n;delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,n.__disposer&&(n.__disposer(),delete n.__disposer,delete n.__extender),r.__deleteInstance(e),delete this.$i18n}}}(u,u.__composer,e));const s=n.unmount;n.unmount=()=>{o&&o(),e.dispose(),s()}},get global(){return u},dispose(){c.stop()},__instances:s,__getInstance:function(e){return s.get(e)||null},__setInstance:function(e,t){s.set(e,t)},__deleteInstance:function(e){s.delete(e)}};return e}},e.useI18n=Ht,e.vTDirective=wt,e}({},Vue);
/*!
* vue-i18n v9.14.0
* vue-i18n v9.14.1
* (c) 2024 kazuya kawaguchi
* Released under the MIT License.
*/
import{createVNode,Text,computed,watch,getCurrentInstance,ref,shallowRef,Fragment,defineComponent,h,effectScope,inject,onMounted,onUnmounted,onBeforeMount,isRef}from"vue";const inBrowser="undefined"!=typeof window,makeSymbol=(e,t=!1)=>t?Symbol.for(e):Symbol(e),generateFormatCacheKey=(e,t,a)=>friendlyJSONstringify({l:e,k:t,s:a}),friendlyJSONstringify=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),isNumber=e=>"number"==typeof e&&isFinite(e),isDate=e=>"[object Date]"===toTypeString(e),isRegExp=e=>"[object RegExp]"===toTypeString(e),isEmptyObject=e=>isPlainObject(e)&&0===Object.keys(e).length,assign=Object.assign;function escapeHtml(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}const hasOwnProperty=Object.prototype.hasOwnProperty;function hasOwn(e,t){return hasOwnProperty.call(e,t)}const isArray=Array.isArray,isFunction=e=>"function"==typeof e,isString=e=>"string"==typeof e,isBoolean=e=>"boolean"==typeof e,isObject=e=>null!==e&&"object"==typeof e,isPromise=e=>isObject(e)&&isFunction(e.then)&&isFunction(e.catch),objectToString=Object.prototype.toString,toTypeString=e=>objectToString.call(e),isPlainObject=e=>{if(!isObject(e))return!1;const t=Object.getPrototypeOf(e);return null===t||t.constructor===Object},toDisplayString=e=>null==e?"":isArray(e)||isPlainObject(e)&&e.toString===objectToString?JSON.stringify(e,null,2):String(e);function join(e,t=""){return e.reduce(((e,a,n)=>0===n?e+a:e+t+a),"")}function incrementer(e){let t=e;return()=>++t}function warn(e,t){"undefined"!=typeof console&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const isNotObjectOrIsArray=e=>!isObject(e)||isArray(e);function deepCopy(e,t){if(isNotObjectOrIsArray(e)||isNotObjectOrIsArray(t))throw new Error("Invalid value");const a=[{src:e,des:t}];for(;a.length;){const{src:e,des:t}=a.pop();Object.keys(e).forEach((n=>{isNotObjectOrIsArray(e[n])||isNotObjectOrIsArray(t[n])?t[n]=e[n]:a.push({src:e[n],des:t[n]})}))}}const CompileErrorCodes={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,__EXTEND_POINT__:17};function createCompileError(e,t,a={}){const{domain:n,messages:r,args:s}=a,l=new SyntaxError(String(e));return l.code=e,t&&(l.location=t),l.domain=n,l}const pathStateMachine=[];pathStateMachine[0]={w:[0],i:[3,0],"[":[4],o:[7]},pathStateMachine[1]={w:[1],".":[2],"[":[4],o:[7]},pathStateMachine[2]={w:[2],i:[3,0],0:[3,0]},pathStateMachine[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]},pathStateMachine[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]},pathStateMachine[5]={"'":[4,0],o:8,l:[5,0]},pathStateMachine[6]={'"':[4,0],o:8,l:[6,0]};const literalValueRE=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function isLiteral(e){return literalValueRE.test(e)}function stripQuotes(e){const t=e.charCodeAt(0);return t!==e.charCodeAt(e.length-1)||34!==t&&39!==t?e:e.slice(1,-1)}function getPathCharType(e){if(null==e)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 formatSubPath(e){const t=e.trim();return("0"!==e.charAt(0)||!isNaN(parseInt(e)))&&(isLiteral(t)?stripQuotes(t):"*"+t)}function parse(e){const t=[];let a,n,r,s,l,o,i,c=-1,u=0,m=0;const g=[];function _(){const t=e[c+1];if(5===u&&"'"===t||6===u&&'"'===t)return c++,r="\\"+t,g[0](),!0}for(g[0]=()=>{void 0===n?n=r:n+=r},g[1]=()=>{void 0!==n&&(t.push(n),n=void 0)},g[2]=()=>{g[0](),m++},g[3]=()=>{if(m>0)m--,u=4,g[0]();else{if(m=0,void 0===n)return!1;if(n=formatSubPath(n),!1===n)return!1;g[1]()}};null!==u;)if(c++,a=e[c],"\\"!==a||!_()){if(s=getPathCharType(a),i=pathStateMachine[u],l=i[s]||i.l||8,8===l)return;if(u=l[0],void 0!==l[1]&&(o=g[l[1]],o&&(r=a,!1===o())))return;if(7===u)return t}}const cache=new Map;function resolveWithKeyValue(e,t){return isObject(e)?e[t]:null}function resolveValue(e,t){if(!isObject(e))return null;let a=cache.get(t);if(a||(a=parse(t),a&&cache.set(t,a)),!a)return null;const n=a.length;let r=e,s=0;for(;s<n;){const e=r[a[s]];if(void 0===e)return null;if(isFunction(r))return null;r=e,s++}return r}const DEFAULT_MODIFIER=e=>e,DEFAULT_MESSAGE=e=>"",DEFAULT_MESSAGE_DATA_TYPE="text",DEFAULT_NORMALIZE=e=>0===e.length?"":join(e),DEFAULT_INTERPOLATE=toDisplayString;function pluralDefault(e,t){return e=Math.abs(e),2===t?e?e>1?1:0:1:e?Math.min(e,2):0}function getPluralIndex(e){const t=isNumber(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(isNumber(e.named.count)||isNumber(e.named.n))?isNumber(e.named.count)?e.named.count:isNumber(e.named.n)?e.named.n:t:t}function normalizeNamed(e,t){t.count||(t.count=e),t.n||(t.n=e)}function createMessageContext(e={}){const t=e.locale,a=getPluralIndex(e),n=isObject(e.pluralRules)&&isString(t)&&isFunction(e.pluralRules[t])?e.pluralRules[t]:pluralDefault,r=isObject(e.pluralRules)&&isString(t)&&isFunction(e.pluralRules[t])?pluralDefault:void 0,s=e.list||[],l=e.named||{};isNumber(e.pluralIndex)&&normalizeNamed(a,l);function o(t){const a=isFunction(e.messages)?e.messages(t):!!isObject(e.messages)&&e.messages[t];return a||(e.parent?e.parent.message(t):DEFAULT_MESSAGE)}const i=isPlainObject(e.processor)&&isFunction(e.processor.normalize)?e.processor.normalize:DEFAULT_NORMALIZE,c=isPlainObject(e.processor)&&isFunction(e.processor.interpolate)?e.processor.interpolate:DEFAULT_INTERPOLATE,u={list:e=>s[e],named:e=>l[e],plural:e=>e[n(a,e.length,r)],linked:(t,...a)=>{const[n,r]=a;let s="text",l="";1===a.length?isObject(n)?(l=n.modifier||l,s=n.type||s):isString(n)&&(l=n||l):2===a.length&&(isString(n)&&(l=n||l),isString(r)&&(s=r||s));const i=o(t)(u),c="vnode"===s&&isArray(i)&&l?i[0]:i;return l?(m=l,e.modifiers?e.modifiers[m]:DEFAULT_MODIFIER)(c,s):c;var m},message:o,type:isPlainObject(e.processor)&&isString(e.processor.type)?e.processor.type:DEFAULT_MESSAGE_DATA_TYPE,interpolate:c,normalize:i,values:assign({},s,l)};return u}const code$1=CompileErrorCodes.__EXTEND_POINT__,inc$1=incrementer(code$1),CoreErrorCodes={INVALID_ARGUMENT:code$1,INVALID_DATE_ARGUMENT:inc$1(),INVALID_ISO_DATE_ARGUMENT:inc$1(),NOT_SUPPORT_NON_STRING_MESSAGE:inc$1(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:inc$1(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:inc$1(),NOT_SUPPORT_LOCALE_TYPE:inc$1(),__EXTEND_POINT__:inc$1()};function getLocale(e,t){return null!=t.locale?resolveLocale(t.locale):resolveLocale(e.locale)}let _resolveLocale;function resolveLocale(e){if(isString(e))return e;if(isFunction(e)){if(e.resolvedOnce&&null!=_resolveLocale)return _resolveLocale;if("Function"===e.constructor.name){const t=e();if(isPromise(t))throw Error(CoreErrorCodes.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return _resolveLocale=t}throw Error(CoreErrorCodes.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}throw Error(CoreErrorCodes.NOT_SUPPORT_LOCALE_TYPE)}function fallbackWithSimple(e,t,a){return[...new Set([a,...isArray(t)?t:isObject(t)?Object.keys(t):isString(t)?[t]:[a]])]}function fallbackWithLocaleChain(e,t,a){const n=isString(a)?a:DEFAULT_LOCALE,r=e;r.__localeChainCache||(r.__localeChainCache=new Map);let s=r.__localeChainCache.get(n);if(!s){s=[];let e=[a];for(;isArray(e);)e=appendBlockToChain(s,e,t);const l=isArray(t)||!isPlainObject(t)?t:t.default?t.default:null;e=isString(l)?[l]:l,isArray(e)&&appendBlockToChain(s,e,!1),r.__localeChainCache.set(n,s)}return s}function appendBlockToChain(e,t,a){let n=!0;for(let r=0;r<t.length&&isBoolean(n);r++){const s=t[r];isString(s)&&(n=appendLocaleToChain(e,t[r],a))}return n}function appendLocaleToChain(e,t,a){let n;const r=t.split("-");do{n=appendItemToChain(e,r.join("-"),a),r.splice(-1,1)}while(r.length&&!0===n);return n}function appendItemToChain(e,t,a){let n=!1;if(!e.includes(t)&&(n=!0,t)){n="!"!==t[t.length-1];const r=t.replace(/!/g,"");e.push(r),(isArray(a)||isPlainObject(a))&&a[r]&&(n=a[r])}return n}const VERSION$1="9.14.0",NOT_REOSLVED=-1,DEFAULT_LOCALE="en-US",MISSING_RESOLVE_VALUE="",capitalize=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function getDefaultLinkedModifiers(){return{upper:(e,t)=>"text"===t&&isString(e)?e.toUpperCase():"vnode"===t&&isObject(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>"text"===t&&isString(e)?e.toLowerCase():"vnode"===t&&isObject(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>"text"===t&&isString(e)?capitalize(e):"vnode"===t&&isObject(e)&&"__v_isVNode"in e?capitalize(e.children):e}}let _compiler,_resolver,_fallbacker;function registerMessageResolver(e){_resolver=e}function registerLocaleFallbacker(e){_fallbacker=e}const setAdditionalMeta=e=>{};let _fallbackContext=null;const setFallbackContext=e=>{_fallbackContext=e},getFallbackContext=()=>_fallbackContext;let _cid=0;function createCoreContext(e={}){const t=isFunction(e.onWarn)?e.onWarn:warn,a=isString(e.version)?e.version:VERSION$1,n=isString(e.locale)||isFunction(e.locale)?e.locale:DEFAULT_LOCALE,r=isFunction(n)?DEFAULT_LOCALE:n,s=isArray(e.fallbackLocale)||isPlainObject(e.fallbackLocale)||isString(e.fallbackLocale)||!1===e.fallbackLocale?e.fallbackLocale:r,l=isPlainObject(e.messages)?e.messages:{[r]:{}},o=isPlainObject(e.datetimeFormats)?e.datetimeFormats:{[r]:{}},i=isPlainObject(e.numberFormats)?e.numberFormats:{[r]:{}},c=assign({},e.modifiers||{},getDefaultLinkedModifiers()),u=e.pluralRules||{},m=isFunction(e.missing)?e.missing:null,g=!isBoolean(e.missingWarn)&&!isRegExp(e.missingWarn)||e.missingWarn,_=!isBoolean(e.fallbackWarn)&&!isRegExp(e.fallbackWarn)||e.fallbackWarn,f=!!e.fallbackFormat,p=!!e.unresolving,b=isFunction(e.postTranslation)?e.postTranslation:null,E=isPlainObject(e.processor)?e.processor:null,d=!isBoolean(e.warnHtmlMessage)||e.warnHtmlMessage,O=!!e.escapeParameter,v=isFunction(e.messageCompiler)?e.messageCompiler:_compiler,T=isFunction(e.messageResolver)?e.messageResolver:_resolver||resolveWithKeyValue,N=isFunction(e.localeFallbacker)?e.localeFallbacker:_fallbacker||fallbackWithSimple,F=isObject(e.fallbackContext)?e.fallbackContext:void 0,I=e,S=isObject(I.__datetimeFormatters)?I.__datetimeFormatters:new Map,L=isObject(I.__numberFormatters)?I.__numberFormatters:new Map,h=isObject(I.__meta)?I.__meta:{};_cid++;const y={version:a,cid:_cid,locale:n,fallbackLocale:s,messages:l,modifiers:c,pluralRules:u,missing:m,missingWarn:g,fallbackWarn:_,fallbackFormat:f,unresolving:p,postTranslation:b,processor:E,warnHtmlMessage:d,escapeParameter:O,messageCompiler:v,messageResolver:T,localeFallbacker:N,fallbackContext:F,onWarn:t,__meta:h};return y.datetimeFormats=o,y.numberFormats=i,y.__datetimeFormatters=S,y.__numberFormatters=L,y}function handleMissing(e,t,a,n,r){const{missing:s,onWarn:l}=e;if(null!==s){const n=s(e,a,t,r);return isString(n)?n:t}return t}function updateFallbackLocale(e,t,a){e.__localeChainCache=new Map,e.localeFallbacker(e,a,t)}function isAlmostSameLocale(e,t){return e!==t&&e.split("-")[0]===t.split("-")[0]}function isImplicitFallback(e,t){const a=t.indexOf(e);if(-1===a)return!1;for(let n=a+1;n<t.length;n++)if(isAlmostSameLocale(e,t[n]))return!0;return!1}const isMessageAST=e=>isObject(e)&&(0===e.t||0===e.type)&&("b"in e||"body"in e),NOOP_MESSAGE_FUNCTION=()=>"",isMessageFunction=e=>isFunction(e);function translate(e,...t){const{fallbackFormat:a,postTranslation:n,unresolving:r,messageCompiler:s,fallbackLocale:l,messages:o}=e,[i,c]=parseTranslateArgs(...t),u=isBoolean(c.missingWarn)?c.missingWarn:e.missingWarn,m=isBoolean(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,g=isBoolean(c.escapeParameter)?c.escapeParameter:e.escapeParameter,_=!!c.resolvedMessage,f=isString(c.default)||isBoolean(c.default)?isBoolean(c.default)?s?i:()=>i:c.default:a?s?i:()=>i:"",p=a||""!==f,b=getLocale(e,c);g&&escapeParams(c);let[E,d,O]=_?[i,b,o[b]||{}]:resolveMessageFormat(e,i,b,l,m,u),v=E,T=i;if(_||isString(v)||isMessageAST(v)||isMessageFunction(v)||p&&(v=f,T=v),!(_||(isString(v)||isMessageAST(v)||isMessageFunction(v))&&isString(d)))return r?NOT_REOSLVED:i;let N=!1;const F=isMessageFunction(v)?v:compileMessageFormat(e,i,d,v,T,(()=>{N=!0}));if(N)return v;const I=evaluateMessage(e,F,createMessageContext(getMessageContextOptions(e,d,O,c)));return n?n(I,i):I}function escapeParams(e){isArray(e.list)?e.list=e.list.map((e=>isString(e)?escapeHtml(e):e)):isObject(e.named)&&Object.keys(e.named).forEach((t=>{isString(e.named[t])&&(e.named[t]=escapeHtml(e.named[t]))}))}function resolveMessageFormat(e,t,a,n,r,s){const{messages:l,onWarn:o,messageResolver:i,localeFallbacker:c}=e,u=c(e,n,a);let m,g={},_=null;for(let f=0;f<u.length&&(m=u[f],g=l[m]||{},null===(_=i(g,t))&&(_=g[t]),!(isString(_)||isMessageAST(_)||isMessageFunction(_)));f++)if(!isImplicitFallback(m,u)){const a=handleMissing(e,t,m,s,"translate");a!==t&&(_=a)}return[_,m,g]}function compileMessageFormat(e,t,a,n,r,s){const{messageCompiler:l,warnHtmlMessage:o}=e;if(isMessageFunction(n)){const e=n;return e.locale=e.locale||a,e.key=e.key||t,e}if(null==l){const e=()=>n;return e.locale=a,e.key=t,e}const i=l(n,getCompileContext(e,a,r,n,o,s));return i.locale=a,i.key=t,i.source=n,i}function evaluateMessage(e,t,a){return t(a)}function parseTranslateArgs(...e){const[t,a,n]=e,r={};if(!(isString(t)||isNumber(t)||isMessageFunction(t)||isMessageAST(t)))throw Error(CoreErrorCodes.INVALID_ARGUMENT);const s=isNumber(t)?String(t):(isMessageFunction(t),t);return isNumber(a)?r.plural=a:isString(a)?r.default=a:isPlainObject(a)&&!isEmptyObject(a)?r.named=a:isArray(a)&&(r.list=a),isNumber(n)?r.plural=n:isString(n)?r.default=n:isPlainObject(n)&&assign(r,n),[s,r]}function getCompileContext(e,t,a,n,r,s){return{locale:t,key:a,warnHtmlMessage:r,onError:e=>{throw s&&s(e),e},onCacheKey:e=>generateFormatCacheKey(t,a,e)}}function getMessageContextOptions(e,t,a,n){const{modifiers:r,pluralRules:s,messageResolver:l,fallbackLocale:o,fallbackWarn:i,missingWarn:c,fallbackContext:u}=e,m={locale:t,modifiers:r,pluralRules:s,messages:n=>{let r=l(a,n);if(null==r&&u){const[,,e]=resolveMessageFormat(u,n,t,o,i,c);r=l(e,n)}if(isString(r)||isMessageAST(r)){let a=!1;const s=compileMessageFormat(e,n,t,r,n,(()=>{a=!0}));return a?NOOP_MESSAGE_FUNCTION:s}return isMessageFunction(r)?r:NOOP_MESSAGE_FUNCTION}};return e.processor&&(m.processor=e.processor),n.list&&(m.list=n.list),n.named&&(m.named=n.named),isNumber(n.plural)&&(m.pluralIndex=n.plural),m}function datetime(e,...t){const{datetimeFormats:a,unresolving:n,fallbackLocale:r,onWarn:s,localeFallbacker:l}=e,{__datetimeFormatters:o}=e,[i,c,u,m]=parseDateTimeArgs(...t),g=isBoolean(u.missingWarn)?u.missingWarn:e.missingWarn;isBoolean(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const _=!!u.part,f=getLocale(e,u),p=l(e,r,f);if(!isString(i)||""===i)return new Intl.DateTimeFormat(f,m).format(c);let b,E={},d=null;for(let T=0;T<p.length&&(b=p[T],E=a[b]||{},d=E[i],!isPlainObject(d));T++)handleMissing(e,i,b,g,"datetime format");if(!isPlainObject(d)||!isString(b))return n?NOT_REOSLVED:i;let O=`${b}__${i}`;isEmptyObject(m)||(O=`${O}__${JSON.stringify(m)}`);let v=o.get(O);return v||(v=new Intl.DateTimeFormat(b,assign({},d,m)),o.set(O,v)),_?v.formatToParts(c):v.format(c)}const DATETIME_FORMAT_OPTIONS_KEYS=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function parseDateTimeArgs(...e){const[t,a,n,r]=e,s={};let l,o={};if(isString(t)){const e=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!e)throw Error(CoreErrorCodes.INVALID_ISO_DATE_ARGUMENT);const a=e[3]?e[3].trim().startsWith("T")?`${e[1].trim()}${e[3].trim()}`:`${e[1].trim()}T${e[3].trim()}`:e[1].trim();l=new Date(a);try{l.toISOString()}catch(i){throw Error(CoreErrorCodes.INVALID_ISO_DATE_ARGUMENT)}}else if(isDate(t)){if(isNaN(t.getTime()))throw Error(CoreErrorCodes.INVALID_DATE_ARGUMENT);l=t}else{if(!isNumber(t))throw Error(CoreErrorCodes.INVALID_ARGUMENT);l=t}return isString(a)?s.key=a:isPlainObject(a)&&Object.keys(a).forEach((e=>{DATETIME_FORMAT_OPTIONS_KEYS.includes(e)?o[e]=a[e]:s[e]=a[e]})),isString(n)?s.locale=n:isPlainObject(n)&&(o=n),isPlainObject(r)&&(o=r),[s.key||"",l,s,o]}function clearDateTimeFormat(e,t,a){const n=e;for(const r in a){const e=`${t}__${r}`;n.__datetimeFormatters.has(e)&&n.__datetimeFormatters.delete(e)}}function number(e,...t){const{numberFormats:a,unresolving:n,fallbackLocale:r,onWarn:s,localeFallbacker:l}=e,{__numberFormatters:o}=e,[i,c,u,m]=parseNumberArgs(...t),g=isBoolean(u.missingWarn)?u.missingWarn:e.missingWarn;isBoolean(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const _=!!u.part,f=getLocale(e,u),p=l(e,r,f);if(!isString(i)||""===i)return new Intl.NumberFormat(f,m).format(c);let b,E={},d=null;for(let T=0;T<p.length&&(b=p[T],E=a[b]||{},d=E[i],!isPlainObject(d));T++)handleMissing(e,i,b,g,"number format");if(!isPlainObject(d)||!isString(b))return n?NOT_REOSLVED:i;let O=`${b}__${i}`;isEmptyObject(m)||(O=`${O}__${JSON.stringify(m)}`);let v=o.get(O);return v||(v=new Intl.NumberFormat(b,assign({},d,m)),o.set(O,v)),_?v.formatToParts(c):v.format(c)}const NUMBER_FORMAT_OPTIONS_KEYS=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function parseNumberArgs(...e){const[t,a,n,r]=e,s={};let l={};if(!isNumber(t))throw Error(CoreErrorCodes.INVALID_ARGUMENT);const o=t;return isString(a)?s.key=a:isPlainObject(a)&&Object.keys(a).forEach((e=>{NUMBER_FORMAT_OPTIONS_KEYS.includes(e)?l[e]=a[e]:s[e]=a[e]})),isString(n)?s.locale=n:isPlainObject(n)&&(l=n),isPlainObject(r)&&(l=r),[s.key||"",o,s,l]}function clearNumberFormat(e,t,a){const n=e;for(const r in a){const e=`${t}__${r}`;n.__numberFormatters.has(e)&&n.__numberFormatters.delete(e)}}const VERSION="9.14.0",code=CoreErrorCodes.__EXTEND_POINT__,inc=incrementer(code),I18nErrorCodes={UNEXPECTED_RETURN_TYPE:code,INVALID_ARGUMENT:inc(),MUST_BE_CALL_SETUP_TOP:inc(),NOT_INSTALLED:inc(),NOT_AVAILABLE_IN_LEGACY_MODE:inc(),REQUIRED_VALUE:inc(),INVALID_VALUE:inc(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:inc(),NOT_INSTALLED_WITH_PROVIDE:inc(),UNEXPECTED_ERROR:inc(),NOT_COMPATIBLE_LEGACY_VUE_I18N:inc(),BRIDGE_SUPPORT_VUE_2_ONLY:inc(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:inc(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:inc(),__EXTEND_POINT__:inc()};function createI18nError(e,...t){return createCompileError(e,null,void 0)}const TranslateVNodeSymbol=makeSymbol("__translateVNode"),DatetimePartsSymbol=makeSymbol("__datetimeParts"),NumberPartsSymbol=makeSymbol("__numberParts"),SetPluralRulesSymbol=makeSymbol("__setPluralRules"),InejctWithOptionSymbol=makeSymbol("__injectWithOption"),DisposeSymbol=makeSymbol("__dispose"),__VUE_I18N_BRIDGE__="__VUE_I18N_BRIDGE__";function handleFlatJson(e){if(!isObject(e))return e;for(const t in e)if(hasOwn(e,t))if(t.includes(".")){const a=t.split("."),n=a.length-1;let r=e,s=!1;for(let e=0;e<n;e++){if(a[e]in r||(r[a[e]]={}),!isObject(r[a[e]])){s=!0;break}r=r[a[e]]}s||(r[a[n]]=e[t],delete e[t]),isObject(r[a[n]])&&handleFlatJson(r[a[n]])}else isObject(e[t])&&handleFlatJson(e[t]);return e}function getLocaleMessages(e,t){const{messages:a,__i18n:n,messageResolver:r,flatJson:s}=t,l=isPlainObject(a)?a:isArray(n)?{}:{[e]:{}};if(isArray(n)&&n.forEach((e=>{if("locale"in e&&"resource"in e){const{locale:t,resource:a}=e;t?(l[t]=l[t]||{},deepCopy(a,l[t])):deepCopy(a,l)}else isString(e)&&deepCopy(JSON.parse(e),l)})),null==r&&s)for(const o in l)hasOwn(l,o)&&handleFlatJson(l[o]);return l}function getComponentOptions(e){return e.type}function adjustI18nResources(e,t,a){let n=isObject(t.messages)?t.messages:{};"__i18nGlobal"in a&&(n=getLocaleMessages(e.locale.value,{messages:n,__i18n:a.__i18nGlobal}));const r=Object.keys(n);if(r.length&&r.forEach((t=>{e.mergeLocaleMessage(t,n[t])})),isObject(t.datetimeFormats)){const a=Object.keys(t.datetimeFormats);a.length&&a.forEach((a=>{e.mergeDateTimeFormat(a,t.datetimeFormats[a])}))}if(isObject(t.numberFormats)){const a=Object.keys(t.numberFormats);a.length&&a.forEach((a=>{e.mergeNumberFormat(a,t.numberFormats[a])}))}}function createTextNode(e){return createVNode(Text,null,e,0)}const DEVTOOLS_META="__INTLIFY_META__",NOOP_RETURN_ARRAY=()=>[],NOOP_RETURN_FALSE=()=>!1;let composerID=0;function defineCoreMissingHandler(e){return(t,a,n,r)=>e(a,n,getCurrentInstance()||void 0,r)}const getMetaInfo=()=>{const e=getCurrentInstance();let t=null;return e&&(t=getComponentOptions(e)[DEVTOOLS_META])?{[DEVTOOLS_META]:t}:null};function createComposer(e={},t){const{__root:a,__injectWithOption:n}=e,r=void 0===a,s=e.flatJson,l=inBrowser?ref:shallowRef,o=!!e.translateExistCompatible;let i=!isBoolean(e.inheritLocale)||e.inheritLocale;const c=l(a&&i?a.locale.value:isString(e.locale)?e.locale:DEFAULT_LOCALE),u=l(a&&i?a.fallbackLocale.value:isString(e.fallbackLocale)||isArray(e.fallbackLocale)||isPlainObject(e.fallbackLocale)||!1===e.fallbackLocale?e.fallbackLocale:c.value),m=l(getLocaleMessages(c.value,e)),g=l(isPlainObject(e.datetimeFormats)?e.datetimeFormats:{[c.value]:{}}),_=l(isPlainObject(e.numberFormats)?e.numberFormats:{[c.value]:{}});let f=a?a.missingWarn:!isBoolean(e.missingWarn)&&!isRegExp(e.missingWarn)||e.missingWarn,p=a?a.fallbackWarn:!isBoolean(e.fallbackWarn)&&!isRegExp(e.fallbackWarn)||e.fallbackWarn,b=a?a.fallbackRoot:!isBoolean(e.fallbackRoot)||e.fallbackRoot,E=!!e.fallbackFormat,d=isFunction(e.missing)?e.missing:null,O=isFunction(e.missing)?defineCoreMissingHandler(e.missing):null,v=isFunction(e.postTranslation)?e.postTranslation:null,T=a?a.warnHtmlMessage:!isBoolean(e.warnHtmlMessage)||e.warnHtmlMessage,N=!!e.escapeParameter;const F=a?a.modifiers:isPlainObject(e.modifiers)?e.modifiers:{};let I,S=e.pluralRules||a&&a.pluralRules;I=(()=>{r&&setFallbackContext(null);const t={version:VERSION,locale:c.value,fallbackLocale:u.value,messages:m.value,modifiers:F,pluralRules:S,missing:null===O?void 0:O,missingWarn:f,fallbackWarn:p,fallbackFormat:E,unresolving:!0,postTranslation:null===v?void 0:v,warnHtmlMessage:T,escapeParameter:N,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};t.datetimeFormats=g.value,t.numberFormats=_.value,t.__datetimeFormatters=isPlainObject(I)?I.__datetimeFormatters:void 0,t.__numberFormatters=isPlainObject(I)?I.__numberFormatters:void 0;const a=createCoreContext(t);return r&&setFallbackContext(a),a})(),updateFallbackLocale(I,c.value,u.value);const L=computed({get:()=>c.value,set:e=>{c.value=e,I.locale=c.value}}),h=computed({get:()=>u.value,set:e=>{u.value=e,I.fallbackLocale=u.value,updateFallbackLocale(I,c.value,e)}}),y=computed((()=>m.value)),C=computed((()=>g.value)),k=computed((()=>_.value));const A=(e,t,n,s,l,o)=>{let i;c.value,u.value,m.value,g.value,_.value;try{0,r||(I.fallbackContext=a?getFallbackContext():void 0),i=e(I)}finally{r||(I.fallbackContext=void 0)}if("translate exists"!==n&&isNumber(i)&&i===NOT_REOSLVED||"translate exists"===n&&!i){const[e,n]=t();return a&&b?s(a):l(e)}if(o(i))return i;throw Error(I18nErrorCodes.UNEXPECTED_RETURN_TYPE)};function P(...e){return A((t=>Reflect.apply(translate,null,[t,...e])),(()=>parseTranslateArgs(...e)),"translate",(t=>Reflect.apply(t.t,t,[...e])),(e=>e),(e=>isString(e)))}const R={normalize:function(e){return e.map((e=>isString(e)||isNumber(e)||isBoolean(e)?createTextNode(String(e)):e))},interpolate:e=>e,type:"vnode"};function M(e){return m.value[e]||{}}composerID++,a&&inBrowser&&(watch(a.locale,(e=>{i&&(c.value=e,I.locale=e,updateFallbackLocale(I,c.value,u.value))})),watch(a.fallbackLocale,(e=>{i&&(u.value=e,I.fallbackLocale=e,updateFallbackLocale(I,c.value,u.value))})));const D={id:composerID,locale:L,fallbackLocale:h,get inheritLocale(){return i},set inheritLocale(e){i=e,e&&a&&(c.value=a.locale.value,u.value=a.fallbackLocale.value,updateFallbackLocale(I,c.value,u.value))},get availableLocales(){return Object.keys(m.value).sort()},messages:y,get modifiers(){return F},get pluralRules(){return S||{}},get isGlobal(){return r},get missingWarn(){return f},set missingWarn(e){f=e,I.missingWarn=f},get fallbackWarn(){return p},set fallbackWarn(e){p=e,I.fallbackWarn=p},get fallbackRoot(){return b},set fallbackRoot(e){b=e},get fallbackFormat(){return E},set fallbackFormat(e){E=e,I.fallbackFormat=E},get warnHtmlMessage(){return T},set warnHtmlMessage(e){T=e,I.warnHtmlMessage=e},get escapeParameter(){return N},set escapeParameter(e){N=e,I.escapeParameter=e},t:P,getLocaleMessage:M,setLocaleMessage:function(e,t){if(s){const a={[e]:t};for(const e in a)hasOwn(a,e)&&handleFlatJson(a[e]);t=a[e]}m.value[e]=t,I.messages=m.value},mergeLocaleMessage:function(e,t){m.value[e]=m.value[e]||{};const a={[e]:t};if(s)for(const n in a)hasOwn(a,n)&&handleFlatJson(a[n]);deepCopy(t=a[e],m.value[e]),I.messages=m.value},getPostTranslationHandler:function(){return isFunction(v)?v:null},setPostTranslationHandler:function(e){v=e,I.postTranslation=e},getMissingHandler:function(){return d},setMissingHandler:function(e){null!==e&&(O=defineCoreMissingHandler(e)),d=e,I.missing=O},[SetPluralRulesSymbol]:function(e){S=e,I.pluralRules=S}};return D.datetimeFormats=C,D.numberFormats=k,D.rt=function(...e){const[t,a,n]=e;if(n&&!isObject(n))throw Error(I18nErrorCodes.INVALID_ARGUMENT);return P(t,a,assign({resolvedMessage:!0},n||{}))},D.te=function(e,t){return A((()=>{if(!e)return!1;const a=M(isString(t)?t:c.value),n=I.messageResolver(a,e);return o?null!=n:isMessageAST(n)||isMessageFunction(n)||isString(n)}),(()=>[e]),"translate exists",(a=>Reflect.apply(a.te,a,[e,t])),NOOP_RETURN_FALSE,(e=>isBoolean(e)))},D.tm=function(e){const t=function(e){let t=null;const a=fallbackWithLocaleChain(I,u.value,c.value);for(let n=0;n<a.length;n++){const r=m.value[a[n]]||{},s=I.messageResolver(r,e);if(null!=s){t=s;break}}return t}(e);return null!=t?t:a&&a.tm(e)||{}},D.d=function(...e){return A((t=>Reflect.apply(datetime,null,[t,...e])),(()=>parseDateTimeArgs(...e)),"datetime format",(t=>Reflect.apply(t.d,t,[...e])),(()=>MISSING_RESOLVE_VALUE),(e=>isString(e)))},D.n=function(...e){return A((t=>Reflect.apply(number,null,[t,...e])),(()=>parseNumberArgs(...e)),"number format",(t=>Reflect.apply(t.n,t,[...e])),(()=>MISSING_RESOLVE_VALUE),(e=>isString(e)))},D.getDateTimeFormat=function(e){return g.value[e]||{}},D.setDateTimeFormat=function(e,t){g.value[e]=t,I.datetimeFormats=g.value,clearDateTimeFormat(I,e,t)},D.mergeDateTimeFormat=function(e,t){g.value[e]=assign(g.value[e]||{},t),I.datetimeFormats=g.value,clearDateTimeFormat(I,e,t)},D.getNumberFormat=function(e){return _.value[e]||{}},D.setNumberFormat=function(e,t){_.value[e]=t,I.numberFormats=_.value,clearNumberFormat(I,e,t)},D.mergeNumberFormat=function(e,t){_.value[e]=assign(_.value[e]||{},t),I.numberFormats=_.value,clearNumberFormat(I,e,t)},D[InejctWithOptionSymbol]=n,D[TranslateVNodeSymbol]=function(...e){return A((t=>{let a;const n=t;try{n.processor=R,a=Reflect.apply(translate,null,[n,...e])}finally{n.processor=null}return a}),(()=>parseTranslateArgs(...e)),"translate",(t=>t[TranslateVNodeSymbol](...e)),(e=>[createTextNode(e)]),(e=>isArray(e)))},D[DatetimePartsSymbol]=function(...e){return A((t=>Reflect.apply(datetime,null,[t,...e])),(()=>parseDateTimeArgs(...e)),"datetime format",(t=>t[DatetimePartsSymbol](...e)),NOOP_RETURN_ARRAY,(e=>isString(e)||isArray(e)))},D[NumberPartsSymbol]=function(...e){return A((t=>Reflect.apply(number,null,[t,...e])),(()=>parseNumberArgs(...e)),"number format",(t=>t[NumberPartsSymbol](...e)),NOOP_RETURN_ARRAY,(e=>isString(e)||isArray(e)))},D}function convertComposerOptions(e){const t=isString(e.locale)?e.locale:DEFAULT_LOCALE,a=isString(e.fallbackLocale)||isArray(e.fallbackLocale)||isPlainObject(e.fallbackLocale)||!1===e.fallbackLocale?e.fallbackLocale:t,n=isFunction(e.missing)?e.missing:void 0,r=!isBoolean(e.silentTranslationWarn)&&!isRegExp(e.silentTranslationWarn)||!e.silentTranslationWarn,s=!isBoolean(e.silentFallbackWarn)&&!isRegExp(e.silentFallbackWarn)||!e.silentFallbackWarn,l=!isBoolean(e.fallbackRoot)||e.fallbackRoot,o=!!e.formatFallbackMessages,i=isPlainObject(e.modifiers)?e.modifiers:{},c=e.pluralizationRules,u=isFunction(e.postTranslation)?e.postTranslation:void 0,m=!isString(e.warnHtmlInMessage)||"off"!==e.warnHtmlInMessage,g=!!e.escapeParameterHtml,_=!isBoolean(e.sync)||e.sync;let f=e.messages;if(isPlainObject(e.sharedMessages)){const t=e.sharedMessages;f=Object.keys(t).reduce(((e,a)=>{const n=e[a]||(e[a]={});return assign(n,t[a]),e}),f||{})}const{__i18n:p,__root:b,__injectWithOption:E}=e,d=e.datetimeFormats,O=e.numberFormats,v=e.flatJson,T=e.translateExistCompatible;return{locale:t,fallbackLocale:a,messages:f,flatJson:v,datetimeFormats:d,numberFormats:O,missing:n,missingWarn:r,fallbackWarn:s,fallbackRoot:l,fallbackFormat:o,modifiers:i,pluralRules:c,postTranslation:u,warnHtmlMessage:m,escapeParameter:g,messageResolver:e.messageResolver,inheritLocale:_,translateExistCompatible:T,__i18n:p,__root:b,__injectWithOption:E}}function createVueI18n(e={},t){{const t=createComposer(convertComposerOptions(e)),{__extender:a}=e,n={id:t.id,get locale(){return t.locale.value},set locale(e){t.locale.value=e},get fallbackLocale(){return t.fallbackLocale.value},set fallbackLocale(e){t.fallbackLocale.value=e},get messages(){return t.messages.value},get datetimeFormats(){return t.datetimeFormats.value},get numberFormats(){return t.numberFormats.value},get availableLocales(){return t.availableLocales},get formatter(){return{interpolate:()=>[]}},set formatter(e){},get missing(){return t.getMissingHandler()},set missing(e){t.setMissingHandler(e)},get silentTranslationWarn(){return isBoolean(t.missingWarn)?!t.missingWarn:t.missingWarn},set silentTranslationWarn(e){t.missingWarn=isBoolean(e)?!e:e},get silentFallbackWarn(){return isBoolean(t.fallbackWarn)?!t.fallbackWarn:t.fallbackWarn},set silentFallbackWarn(e){t.fallbackWarn=isBoolean(e)?!e:e},get modifiers(){return t.modifiers},get formatFallbackMessages(){return t.fallbackFormat},set formatFallbackMessages(e){t.fallbackFormat=e},get postTranslation(){return t.getPostTranslationHandler()},set postTranslation(e){t.setPostTranslationHandler(e)},get sync(){return t.inheritLocale},set sync(e){t.inheritLocale=e},get warnHtmlInMessage(){return t.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(e){t.warnHtmlMessage="off"!==e},get escapeParameterHtml(){return t.escapeParameter},set escapeParameterHtml(e){t.escapeParameter=e},get preserveDirectiveContent(){return!0},set preserveDirectiveContent(e){},get pluralizationRules(){return t.pluralRules||{}},__composer:t,t(...e){const[a,n,r]=e,s={};let l=null,o=null;if(!isString(a))throw Error(I18nErrorCodes.INVALID_ARGUMENT);const i=a;return isString(n)?s.locale=n:isArray(n)?l=n:isPlainObject(n)&&(o=n),isArray(r)?l=r:isPlainObject(r)&&(o=r),Reflect.apply(t.t,t,[i,l||o||{},s])},rt:(...e)=>Reflect.apply(t.rt,t,[...e]),tc(...e){const[a,n,r]=e,s={plural:1};let l=null,o=null;if(!isString(a))throw Error(I18nErrorCodes.INVALID_ARGUMENT);const i=a;return isString(n)?s.locale=n:isNumber(n)?s.plural=n:isArray(n)?l=n:isPlainObject(n)&&(o=n),isString(r)?s.locale=r:isArray(r)?l=r:isPlainObject(r)&&(o=r),Reflect.apply(t.t,t,[i,l||o||{},s])},te:(e,a)=>t.te(e,a),tm:e=>t.tm(e),getLocaleMessage:e=>t.getLocaleMessage(e),setLocaleMessage(e,a){t.setLocaleMessage(e,a)},mergeLocaleMessage(e,a){t.mergeLocaleMessage(e,a)},d:(...e)=>Reflect.apply(t.d,t,[...e]),getDateTimeFormat:e=>t.getDateTimeFormat(e),setDateTimeFormat(e,a){t.setDateTimeFormat(e,a)},mergeDateTimeFormat(e,a){t.mergeDateTimeFormat(e,a)},n:(...e)=>Reflect.apply(t.n,t,[...e]),getNumberFormat:e=>t.getNumberFormat(e),setNumberFormat(e,a){t.setNumberFormat(e,a)},mergeNumberFormat(e,a){t.mergeNumberFormat(e,a)},getChoiceIndex:(e,t)=>-1};return n.__extender=a,n}}const baseFormatProps={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>"parent"===e||"global"===e,default:"parent"},i18n:{type:Object}};function getInterpolateArg({slots:e},t){if(1===t.length&&"default"===t[0]){return(e.default?e.default():[]).reduce(((e,t)=>[...e,...t.type===Fragment?t.children:[t]]),[])}return t.reduce(((t,a)=>{const n=e[a];return n&&(t[a]=n()),t}),{})}function getFragmentableTag(e){return Fragment}const TranslationImpl=defineComponent({name:"i18n-t",props:assign({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>isNumber(e)||!isNaN(e)}},baseFormatProps),setup(e,t){const{slots:a,attrs:n}=t,r=e.i18n||useI18n({useScope:e.scope,__useComponent:!0});return()=>{const s=Object.keys(a).filter((e=>"_"!==e)),l={};e.locale&&(l.locale=e.locale),void 0!==e.plural&&(l.plural=isString(e.plural)?+e.plural:e.plural);const o=getInterpolateArg(t,s),i=r[TranslateVNodeSymbol](e.keypath,o,l),c=assign({},n),u=isString(e.tag)||isObject(e.tag)?e.tag:getFragmentableTag();return h(u,c,i)}}}),Translation=TranslationImpl,I18nT=Translation;function isVNode(e){return isArray(e)&&!isString(e[0])}function renderFormatter(e,t,a,n){const{slots:r,attrs:s}=t;return()=>{const t={part:!0};let l={};e.locale&&(t.locale=e.locale),isString(e.format)?t.key=e.format:isObject(e.format)&&(isString(e.format.key)&&(t.key=e.format.key),l=Object.keys(e.format).reduce(((t,n)=>a.includes(n)?assign({},t,{[n]:e.format[n]}):t),{}));const o=n(e.value,t,l);let i=[t.key];isArray(o)?i=o.map(((e,t)=>{const a=r[e.type],n=a?a({[e.type]:e.value,index:t,parts:o}):[e.value];return isVNode(n)&&(n[0].key=`${e.type}-${t}`),n})):isString(o)&&(i=[o]);const c=assign({},s),u=isString(e.tag)||isObject(e.tag)?e.tag:getFragmentableTag();return h(u,c,i)}}const NumberFormatImpl=defineComponent({name:"i18n-n",props:assign({value:{type:Number,required:!0},format:{type:[String,Object]}},baseFormatProps),setup(e,t){const a=e.i18n||useI18n({useScope:e.scope,__useComponent:!0});return renderFormatter(e,t,NUMBER_FORMAT_OPTIONS_KEYS,((...e)=>a[NumberPartsSymbol](...e)))}}),NumberFormat=NumberFormatImpl,I18nN=NumberFormat,DatetimeFormatImpl=defineComponent({name:"i18n-d",props:assign({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},baseFormatProps),setup(e,t){const a=e.i18n||useI18n({useScope:e.scope,__useComponent:!0});return renderFormatter(e,t,DATETIME_FORMAT_OPTIONS_KEYS,((...e)=>a[DatetimePartsSymbol](...e)))}}),DatetimeFormat=DatetimeFormatImpl,I18nD=DatetimeFormat;function getComposer$1(e,t){const a=e;if("composition"===e.mode)return a.__getInstance(t)||e.global;{const n=a.__getInstance(t);return null!=n?n.__composer:e.global.__composer}}function vTDirective(e){const t=t=>{const{instance:a,modifiers:n,value:r}=t;if(!a||!a.$)throw Error(I18nErrorCodes.UNEXPECTED_ERROR);const s=getComposer$1(e,a.$),l=parseValue(r);return[Reflect.apply(s.t,s,[...makeParams(l)]),s]};return{created:(a,n)=>{const[r,s]=t(n);inBrowser&&e.global===s&&(a.__i18nWatcher=watch(s.locale,(()=>{n.instance&&n.instance.$forceUpdate()}))),a.__composer=s,a.textContent=r},unmounted:e=>{inBrowser&&e.__i18nWatcher&&(e.__i18nWatcher(),e.__i18nWatcher=void 0,delete e.__i18nWatcher),e.__composer&&(e.__composer=void 0,delete e.__composer)},beforeUpdate:(e,{value:t})=>{if(e.__composer){const a=e.__composer,n=parseValue(t);e.textContent=Reflect.apply(a.t,a,[...makeParams(n)])}},getSSRProps:e=>{const[a]=t(e);return{textContent:a}}}}function parseValue(e){if(isString(e))return{path:e};if(isPlainObject(e)){if(!("path"in e))throw Error(I18nErrorCodes.REQUIRED_VALUE,"path");return e}throw Error(I18nErrorCodes.INVALID_VALUE)}function makeParams(e){const{path:t,locale:a,args:n,choice:r,plural:s}=e,l={},o=n||{};return isString(a)&&(l.locale=a),isNumber(r)&&(l.plural=r),isNumber(s)&&(l.plural=s),[t,o,l]}function apply(e,t,...a){const n=isPlainObject(a[0])?a[0]:{},r=!!n.useI18nComponentName;(!isBoolean(n.globalInstall)||n.globalInstall)&&([r?"i18n":Translation.name,"I18nT"].forEach((t=>e.component(t,Translation))),[NumberFormat.name,"I18nN"].forEach((t=>e.component(t,NumberFormat))),[DatetimeFormat.name,"I18nD"].forEach((t=>e.component(t,DatetimeFormat)))),e.directive("t",vTDirective(t))}function defineMixin(e,t,a){return{beforeCreate(){const n=getCurrentInstance();if(!n)throw Error(I18nErrorCodes.UNEXPECTED_ERROR);const r=this.$options;if(r.i18n){const n=r.i18n;if(r.__i18n&&(n.__i18n=r.__i18n),n.__root=t,this===this.$root)this.$i18n=mergeToGlobal(e,n);else{n.__injectWithOption=!0,n.__extender=a.__vueI18nExtend,this.$i18n=createVueI18n(n);const e=this.$i18n;e.__extender&&(e.__disposer=e.__extender(this.$i18n))}}else if(r.__i18n)if(this===this.$root)this.$i18n=mergeToGlobal(e,r);else{this.$i18n=createVueI18n({__i18n:r.__i18n,__injectWithOption:!0,__extender:a.__vueI18nExtend,__root:t});const e=this.$i18n;e.__extender&&(e.__disposer=e.__extender(this.$i18n))}else this.$i18n=e;r.__i18nGlobal&&adjustI18nResources(t,r,r),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),a.__setInstance(n,this.$i18n)},mounted(){},unmounted(){const e=getCurrentInstance();if(!e)throw Error(I18nErrorCodes.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),a.__deleteInstance(e),delete this.$i18n}}}function mergeToGlobal(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[SetPluralRulesSymbol](t.pluralizationRules||e.pluralizationRules);const a=getLocaleMessages(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(a).forEach((t=>e.mergeLocaleMessage(t,a[t]))),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach((a=>e.mergeDateTimeFormat(a,t.datetimeFormats[a]))),t.numberFormats&&Object.keys(t.numberFormats).forEach((a=>e.mergeNumberFormat(a,t.numberFormats[a]))),e}const I18nInjectionKey=makeSymbol("global-vue-i18n");function createI18n(e={},t){const a=!isBoolean(e.legacy)||e.legacy,n=!isBoolean(e.globalInjection)||e.globalInjection,r=!a||!!e.allowComposition,s=new Map,[l,o]=createGlobal(e,a),i=makeSymbol("");{const e={get mode(){return a?"legacy":"composition"},get allowComposition(){return r},async install(t,...r){if(t.__VUE_I18N_SYMBOL__=i,t.provide(t.__VUE_I18N_SYMBOL__,e),isPlainObject(r[0])){const t=r[0];e.__composerExtend=t.__composerExtend,e.__vueI18nExtend=t.__vueI18nExtend}let s=null;!a&&n&&(s=injectGlobalFields(t,e.global)),apply(t,e,...r),a&&t.mixin(defineMixin(o,o.__composer,e));const l=t.unmount;t.unmount=()=>{s&&s(),e.dispose(),l()}},get global(){return o},dispose(){l.stop()},__instances:s,__getInstance:function(e){return s.get(e)||null},__setInstance:function(e,t){s.set(e,t)},__deleteInstance:function(e){s.delete(e)}};return e}}function useI18n(e={}){const t=getCurrentInstance();if(null==t)throw Error(I18nErrorCodes.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&null!=t.appContext.app&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Error(I18nErrorCodes.NOT_INSTALLED);const a=getI18nInstance(t),n=getGlobalComposer(a),r=getComponentOptions(t),s=getScope(e,r);if("legacy"===a.mode&&!e.__useComponent){if(!a.allowComposition)throw Error(I18nErrorCodes.NOT_AVAILABLE_IN_LEGACY_MODE);return useI18nForLegacy(t,s,n,e)}if("global"===s)return adjustI18nResources(n,e,r),n;if("parent"===s){let r=getComposer(a,t,e.__useComponent);return null==r&&(r=n),r}const l=a;let o=l.__getInstance(t);if(null==o){const a=assign({},e);"__i18n"in r&&(a.__i18n=r.__i18n),n&&(a.__root=n),o=createComposer(a),l.__composerExtend&&(o[DisposeSymbol]=l.__composerExtend(o)),setupLifeCycle(l,t,o),l.__setInstance(t,o)}return o}const castToVueI18n=e=>{if(!(__VUE_I18N_BRIDGE__ in e))throw Error(I18nErrorCodes.NOT_COMPATIBLE_LEGACY_VUE_I18N);return e};function createGlobal(e,t,a){const n=effectScope();{const a=t?n.run((()=>createVueI18n(e))):n.run((()=>createComposer(e)));if(null==a)throw Error(I18nErrorCodes.UNEXPECTED_ERROR);return[n,a]}}function getI18nInstance(e){{const t=inject(e.isCE?I18nInjectionKey:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw createI18nError(e.isCE?I18nErrorCodes.NOT_INSTALLED_WITH_PROVIDE:I18nErrorCodes.UNEXPECTED_ERROR);return t}}function getScope(e,t){return isEmptyObject(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function getGlobalComposer(e){return"composition"===e.mode?e.global:e.global.__composer}function getComposer(e,t,a=!1){let n=null;const r=t.root;let s=getParentComponentInstance(t,a);for(;null!=s;){const t=e;if("composition"===e.mode)n=t.__getInstance(s);else{const e=t.__getInstance(s);null!=e&&(n=e.__composer,a&&n&&!n[InejctWithOptionSymbol]&&(n=null))}if(null!=n)break;if(r===s)break;s=s.parent}return n}function getParentComponentInstance(e,t=!1){return null==e?null:t&&e.vnode.ctx||e.parent}function setupLifeCycle(e,t,a){onMounted((()=>{}),t),onUnmounted((()=>{const n=a;e.__deleteInstance(t);const r=n[DisposeSymbol];r&&(r(),delete n[DisposeSymbol])}),t)}function useI18nForLegacy(e,t,a,n={}){const r="local"===t,s=shallowRef(null);if(r&&e.proxy&&!e.proxy.$options.i18n&&!e.proxy.$options.__i18n)throw Error(I18nErrorCodes.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const l=isBoolean(n.inheritLocale)?n.inheritLocale:!isString(n.locale),o=ref(!r||l?a.locale.value:isString(n.locale)?n.locale:DEFAULT_LOCALE),i=ref(!r||l?a.fallbackLocale.value:isString(n.fallbackLocale)||isArray(n.fallbackLocale)||isPlainObject(n.fallbackLocale)||!1===n.fallbackLocale?n.fallbackLocale:o.value),c=ref(getLocaleMessages(o.value,n)),u=ref(isPlainObject(n.datetimeFormats)?n.datetimeFormats:{[o.value]:{}}),m=ref(isPlainObject(n.numberFormats)?n.numberFormats:{[o.value]:{}}),g=r?a.missingWarn:!isBoolean(n.missingWarn)&&!isRegExp(n.missingWarn)||n.missingWarn,_=r?a.fallbackWarn:!isBoolean(n.fallbackWarn)&&!isRegExp(n.fallbackWarn)||n.fallbackWarn,f=r?a.fallbackRoot:!isBoolean(n.fallbackRoot)||n.fallbackRoot,p=!!n.fallbackFormat,b=isFunction(n.missing)?n.missing:null,E=isFunction(n.postTranslation)?n.postTranslation:null,d=r?a.warnHtmlMessage:!isBoolean(n.warnHtmlMessage)||n.warnHtmlMessage,O=!!n.escapeParameter,v=r?a.modifiers:isPlainObject(n.modifiers)?n.modifiers:{},T=n.pluralRules||r&&a.pluralRules;function N(e){return o.value,i.value,c.value,u.value,m.value,e()}const F={get id(){return s.value?s.value.id:-1},locale:computed({get:()=>s.value?s.value.locale.value:o.value,set:e=>{s.value&&(s.value.locale.value=e),o.value=e}}),fallbackLocale:computed({get:()=>s.value?s.value.fallbackLocale.value:i.value,set:e=>{s.value&&(s.value.fallbackLocale.value=e),i.value=e}}),messages:computed((()=>s.value?s.value.messages.value:c.value)),datetimeFormats:computed((()=>u.value)),numberFormats:computed((()=>m.value)),get inheritLocale(){return s.value?s.value.inheritLocale:l},set inheritLocale(e){s.value&&(s.value.inheritLocale=e)},get availableLocales(){return s.value?s.value.availableLocales:Object.keys(c.value)},get modifiers(){return s.value?s.value.modifiers:v},get pluralRules(){return s.value?s.value.pluralRules:T},get isGlobal(){return!!s.value&&s.value.isGlobal},get missingWarn(){return s.value?s.value.missingWarn:g},set missingWarn(e){s.value&&(s.value.missingWarn=e)},get fallbackWarn(){return s.value?s.value.fallbackWarn:_},set fallbackWarn(e){s.value&&(s.value.missingWarn=e)},get fallbackRoot(){return s.value?s.value.fallbackRoot:f},set fallbackRoot(e){s.value&&(s.value.fallbackRoot=e)},get fallbackFormat(){return s.value?s.value.fallbackFormat:p},set fallbackFormat(e){s.value&&(s.value.fallbackFormat=e)},get warnHtmlMessage(){return s.value?s.value.warnHtmlMessage:d},set warnHtmlMessage(e){s.value&&(s.value.warnHtmlMessage=e)},get escapeParameter(){return s.value?s.value.escapeParameter:O},set escapeParameter(e){s.value&&(s.value.escapeParameter=e)},t:function(...e){return s.value?N((()=>Reflect.apply(s.value.t,null,[...e]))):N((()=>""))},getPostTranslationHandler:function(){return s.value?s.value.getPostTranslationHandler():E},setPostTranslationHandler:function(e){s.value&&s.value.setPostTranslationHandler(e)},getMissingHandler:function(){return s.value?s.value.getMissingHandler():b},setMissingHandler:function(e){s.value&&s.value.setMissingHandler(e)},rt:function(...e){return s.value?Reflect.apply(s.value.rt,null,[...e]):""},d:function(...e){return s.value?N((()=>Reflect.apply(s.value.d,null,[...e]))):N((()=>""))},n:function(...e){return s.value?N((()=>Reflect.apply(s.value.n,null,[...e]))):N((()=>""))},tm:function(e){return s.value?s.value.tm(e):{}},te:function(e,t){return!!s.value&&s.value.te(e,t)},getLocaleMessage:function(e){return s.value?s.value.getLocaleMessage(e):{}},setLocaleMessage:function(e,t){s.value&&(s.value.setLocaleMessage(e,t),c.value[e]=t)},mergeLocaleMessage:function(e,t){s.value&&s.value.mergeLocaleMessage(e,t)},getDateTimeFormat:function(e){return s.value?s.value.getDateTimeFormat(e):{}},setDateTimeFormat:function(e,t){s.value&&(s.value.setDateTimeFormat(e,t),u.value[e]=t)},mergeDateTimeFormat:function(e,t){s.value&&s.value.mergeDateTimeFormat(e,t)},getNumberFormat:function(e){return s.value?s.value.getNumberFormat(e):{}},setNumberFormat:function(e,t){s.value&&(s.value.setNumberFormat(e,t),m.value[e]=t)},mergeNumberFormat:function(e,t){s.value&&s.value.mergeNumberFormat(e,t)}};return onBeforeMount((()=>{if(null==e.proxy||null==e.proxy.$i18n)throw Error(I18nErrorCodes.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const a=s.value=e.proxy.$i18n.__composer;"global"===t?(o.value=a.locale.value,i.value=a.fallbackLocale.value,c.value=a.messages.value,u.value=a.datetimeFormats.value,m.value=a.numberFormats.value):r&&function(e){e.locale.value=o.value,e.fallbackLocale.value=i.value,Object.keys(c.value).forEach((t=>{e.mergeLocaleMessage(t,c.value[t])})),Object.keys(u.value).forEach((t=>{e.mergeDateTimeFormat(t,u.value[t])})),Object.keys(m.value).forEach((t=>{e.mergeNumberFormat(t,m.value[t])})),e.escapeParameter=O,e.fallbackFormat=p,e.fallbackRoot=f,e.fallbackWarn=_,e.missingWarn=g,e.warnHtmlMessage=d}(a)})),F}const globalExportProps=["locale","fallbackLocale","availableLocales"],globalExportMethods=["t","rt","d","n","tm","te"];function injectGlobalFields(e,t){const a=Object.create(null);globalExportProps.forEach((e=>{const n=Object.getOwnPropertyDescriptor(t,e);if(!n)throw Error(I18nErrorCodes.UNEXPECTED_ERROR);const r=isRef(n.value)?{get:()=>n.value.value,set(e){n.value.value=e}}:{get:()=>n.get&&n.get()};Object.defineProperty(a,e,r)})),e.config.globalProperties.$i18n=a,globalExportMethods.forEach((a=>{const n=Object.getOwnPropertyDescriptor(t,a);if(!n||!n.value)throw Error(I18nErrorCodes.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${a}`,n)}));return()=>{delete e.config.globalProperties.$i18n,globalExportMethods.forEach((t=>{delete e.config.globalProperties[`$${t}`]}))}}registerMessageResolver(resolveValue),registerLocaleFallbacker(fallbackWithLocaleChain);export{DatetimeFormat,I18nD,I18nInjectionKey,I18nN,I18nT,NumberFormat,Translation,VERSION,castToVueI18n,createI18n,useI18n,vTDirective};
import{createVNode,Text,computed,watch,getCurrentInstance,ref,shallowRef,Fragment,defineComponent,h,effectScope,inject,onMounted,onUnmounted,onBeforeMount,isRef}from"vue";const inBrowser="undefined"!=typeof window,makeSymbol=(e,t=!1)=>t?Symbol.for(e):Symbol(e),generateFormatCacheKey=(e,t,a)=>friendlyJSONstringify({l:e,k:t,s:a}),friendlyJSONstringify=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),isNumber=e=>"number"==typeof e&&isFinite(e),isDate=e=>"[object Date]"===toTypeString(e),isRegExp=e=>"[object RegExp]"===toTypeString(e),isEmptyObject=e=>isPlainObject(e)&&0===Object.keys(e).length,assign=Object.assign;function escapeHtml(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}const hasOwnProperty=Object.prototype.hasOwnProperty;function hasOwn(e,t){return hasOwnProperty.call(e,t)}const isArray=Array.isArray,isFunction=e=>"function"==typeof e,isString=e=>"string"==typeof e,isBoolean=e=>"boolean"==typeof e,isObject=e=>null!==e&&"object"==typeof e,isPromise=e=>isObject(e)&&isFunction(e.then)&&isFunction(e.catch),objectToString=Object.prototype.toString,toTypeString=e=>objectToString.call(e),isPlainObject=e=>{if(!isObject(e))return!1;const t=Object.getPrototypeOf(e);return null===t||t.constructor===Object},toDisplayString=e=>null==e?"":isArray(e)||isPlainObject(e)&&e.toString===objectToString?JSON.stringify(e,null,2):String(e);function join(e,t=""){return e.reduce(((e,a,n)=>0===n?e+a:e+t+a),"")}function incrementer(e){let t=e;return()=>++t}function warn(e,t){"undefined"!=typeof console&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const isNotObjectOrIsArray=e=>!isObject(e)||isArray(e);function deepCopy(e,t){if(isNotObjectOrIsArray(e)||isNotObjectOrIsArray(t))throw new Error("Invalid value");const a=[{src:e,des:t}];for(;a.length;){const{src:e,des:t}=a.pop();Object.keys(e).forEach((n=>{isObject(e[n])&&!isObject(t[n])&&(t[n]=Array.isArray(e[n])?[]:{}),isNotObjectOrIsArray(t[n])||isNotObjectOrIsArray(e[n])?t[n]=e[n]:a.push({src:e[n],des:t[n]})}))}}const CompileErrorCodes={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,__EXTEND_POINT__:17};function createCompileError(e,t,a={}){const{domain:n,messages:r,args:s}=a,l=new SyntaxError(String(e));return l.code=e,t&&(l.location=t),l.domain=n,l}const pathStateMachine=[];pathStateMachine[0]={w:[0],i:[3,0],"[":[4],o:[7]},pathStateMachine[1]={w:[1],".":[2],"[":[4],o:[7]},pathStateMachine[2]={w:[2],i:[3,0],0:[3,0]},pathStateMachine[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]},pathStateMachine[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]},pathStateMachine[5]={"'":[4,0],o:8,l:[5,0]},pathStateMachine[6]={'"':[4,0],o:8,l:[6,0]};const literalValueRE=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function isLiteral(e){return literalValueRE.test(e)}function stripQuotes(e){const t=e.charCodeAt(0);return t!==e.charCodeAt(e.length-1)||34!==t&&39!==t?e:e.slice(1,-1)}function getPathCharType(e){if(null==e)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 formatSubPath(e){const t=e.trim();return("0"!==e.charAt(0)||!isNaN(parseInt(e)))&&(isLiteral(t)?stripQuotes(t):"*"+t)}function parse(e){const t=[];let a,n,r,s,l,o,i,c=-1,u=0,m=0;const g=[];function _(){const t=e[c+1];if(5===u&&"'"===t||6===u&&'"'===t)return c++,r="\\"+t,g[0](),!0}for(g[0]=()=>{void 0===n?n=r:n+=r},g[1]=()=>{void 0!==n&&(t.push(n),n=void 0)},g[2]=()=>{g[0](),m++},g[3]=()=>{if(m>0)m--,u=4,g[0]();else{if(m=0,void 0===n)return!1;if(n=formatSubPath(n),!1===n)return!1;g[1]()}};null!==u;)if(c++,a=e[c],"\\"!==a||!_()){if(s=getPathCharType(a),i=pathStateMachine[u],l=i[s]||i.l||8,8===l)return;if(u=l[0],void 0!==l[1]&&(o=g[l[1]],o&&(r=a,!1===o())))return;if(7===u)return t}}const cache=new Map;function resolveWithKeyValue(e,t){return isObject(e)?e[t]:null}function resolveValue(e,t){if(!isObject(e))return null;let a=cache.get(t);if(a||(a=parse(t),a&&cache.set(t,a)),!a)return null;const n=a.length;let r=e,s=0;for(;s<n;){const e=r[a[s]];if(void 0===e)return null;if(isFunction(r))return null;r=e,s++}return r}const DEFAULT_MODIFIER=e=>e,DEFAULT_MESSAGE=e=>"",DEFAULT_MESSAGE_DATA_TYPE="text",DEFAULT_NORMALIZE=e=>0===e.length?"":join(e),DEFAULT_INTERPOLATE=toDisplayString;function pluralDefault(e,t){return e=Math.abs(e),2===t?e?e>1?1:0:1:e?Math.min(e,2):0}function getPluralIndex(e){const t=isNumber(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(isNumber(e.named.count)||isNumber(e.named.n))?isNumber(e.named.count)?e.named.count:isNumber(e.named.n)?e.named.n:t:t}function normalizeNamed(e,t){t.count||(t.count=e),t.n||(t.n=e)}function createMessageContext(e={}){const t=e.locale,a=getPluralIndex(e),n=isObject(e.pluralRules)&&isString(t)&&isFunction(e.pluralRules[t])?e.pluralRules[t]:pluralDefault,r=isObject(e.pluralRules)&&isString(t)&&isFunction(e.pluralRules[t])?pluralDefault:void 0,s=e.list||[],l=e.named||{};isNumber(e.pluralIndex)&&normalizeNamed(a,l);function o(t){const a=isFunction(e.messages)?e.messages(t):!!isObject(e.messages)&&e.messages[t];return a||(e.parent?e.parent.message(t):DEFAULT_MESSAGE)}const i=isPlainObject(e.processor)&&isFunction(e.processor.normalize)?e.processor.normalize:DEFAULT_NORMALIZE,c=isPlainObject(e.processor)&&isFunction(e.processor.interpolate)?e.processor.interpolate:DEFAULT_INTERPOLATE,u={list:e=>s[e],named:e=>l[e],plural:e=>e[n(a,e.length,r)],linked:(t,...a)=>{const[n,r]=a;let s="text",l="";1===a.length?isObject(n)?(l=n.modifier||l,s=n.type||s):isString(n)&&(l=n||l):2===a.length&&(isString(n)&&(l=n||l),isString(r)&&(s=r||s));const i=o(t)(u),c="vnode"===s&&isArray(i)&&l?i[0]:i;return l?(m=l,e.modifiers?e.modifiers[m]:DEFAULT_MODIFIER)(c,s):c;var m},message:o,type:isPlainObject(e.processor)&&isString(e.processor.type)?e.processor.type:DEFAULT_MESSAGE_DATA_TYPE,interpolate:c,normalize:i,values:assign({},s,l)};return u}const code$1=CompileErrorCodes.__EXTEND_POINT__,inc$1=incrementer(code$1),CoreErrorCodes={INVALID_ARGUMENT:code$1,INVALID_DATE_ARGUMENT:inc$1(),INVALID_ISO_DATE_ARGUMENT:inc$1(),NOT_SUPPORT_NON_STRING_MESSAGE:inc$1(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:inc$1(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:inc$1(),NOT_SUPPORT_LOCALE_TYPE:inc$1(),__EXTEND_POINT__:inc$1()};function getLocale(e,t){return null!=t.locale?resolveLocale(t.locale):resolveLocale(e.locale)}let _resolveLocale;function resolveLocale(e){if(isString(e))return e;if(isFunction(e)){if(e.resolvedOnce&&null!=_resolveLocale)return _resolveLocale;if("Function"===e.constructor.name){const t=e();if(isPromise(t))throw Error(CoreErrorCodes.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return _resolveLocale=t}throw Error(CoreErrorCodes.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}throw Error(CoreErrorCodes.NOT_SUPPORT_LOCALE_TYPE)}function fallbackWithSimple(e,t,a){return[...new Set([a,...isArray(t)?t:isObject(t)?Object.keys(t):isString(t)?[t]:[a]])]}function fallbackWithLocaleChain(e,t,a){const n=isString(a)?a:DEFAULT_LOCALE,r=e;r.__localeChainCache||(r.__localeChainCache=new Map);let s=r.__localeChainCache.get(n);if(!s){s=[];let e=[a];for(;isArray(e);)e=appendBlockToChain(s,e,t);const l=isArray(t)||!isPlainObject(t)?t:t.default?t.default:null;e=isString(l)?[l]:l,isArray(e)&&appendBlockToChain(s,e,!1),r.__localeChainCache.set(n,s)}return s}function appendBlockToChain(e,t,a){let n=!0;for(let r=0;r<t.length&&isBoolean(n);r++){const s=t[r];isString(s)&&(n=appendLocaleToChain(e,t[r],a))}return n}function appendLocaleToChain(e,t,a){let n;const r=t.split("-");do{n=appendItemToChain(e,r.join("-"),a),r.splice(-1,1)}while(r.length&&!0===n);return n}function appendItemToChain(e,t,a){let n=!1;if(!e.includes(t)&&(n=!0,t)){n="!"!==t[t.length-1];const r=t.replace(/!/g,"");e.push(r),(isArray(a)||isPlainObject(a))&&a[r]&&(n=a[r])}return n}const VERSION$1="9.14.1",NOT_REOSLVED=-1,DEFAULT_LOCALE="en-US",MISSING_RESOLVE_VALUE="",capitalize=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function getDefaultLinkedModifiers(){return{upper:(e,t)=>"text"===t&&isString(e)?e.toUpperCase():"vnode"===t&&isObject(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>"text"===t&&isString(e)?e.toLowerCase():"vnode"===t&&isObject(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>"text"===t&&isString(e)?capitalize(e):"vnode"===t&&isObject(e)&&"__v_isVNode"in e?capitalize(e.children):e}}let _compiler,_resolver,_fallbacker;function registerMessageResolver(e){_resolver=e}function registerLocaleFallbacker(e){_fallbacker=e}const setAdditionalMeta=e=>{};let _fallbackContext=null;const setFallbackContext=e=>{_fallbackContext=e},getFallbackContext=()=>_fallbackContext;let _cid=0;function createCoreContext(e={}){const t=isFunction(e.onWarn)?e.onWarn:warn,a=isString(e.version)?e.version:VERSION$1,n=isString(e.locale)||isFunction(e.locale)?e.locale:DEFAULT_LOCALE,r=isFunction(n)?DEFAULT_LOCALE:n,s=isArray(e.fallbackLocale)||isPlainObject(e.fallbackLocale)||isString(e.fallbackLocale)||!1===e.fallbackLocale?e.fallbackLocale:r,l=isPlainObject(e.messages)?e.messages:{[r]:{}},o=isPlainObject(e.datetimeFormats)?e.datetimeFormats:{[r]:{}},i=isPlainObject(e.numberFormats)?e.numberFormats:{[r]:{}},c=assign({},e.modifiers||{},getDefaultLinkedModifiers()),u=e.pluralRules||{},m=isFunction(e.missing)?e.missing:null,g=!isBoolean(e.missingWarn)&&!isRegExp(e.missingWarn)||e.missingWarn,_=!isBoolean(e.fallbackWarn)&&!isRegExp(e.fallbackWarn)||e.fallbackWarn,f=!!e.fallbackFormat,p=!!e.unresolving,b=isFunction(e.postTranslation)?e.postTranslation:null,E=isPlainObject(e.processor)?e.processor:null,d=!isBoolean(e.warnHtmlMessage)||e.warnHtmlMessage,O=!!e.escapeParameter,v=isFunction(e.messageCompiler)?e.messageCompiler:_compiler,T=isFunction(e.messageResolver)?e.messageResolver:_resolver||resolveWithKeyValue,N=isFunction(e.localeFallbacker)?e.localeFallbacker:_fallbacker||fallbackWithSimple,F=isObject(e.fallbackContext)?e.fallbackContext:void 0,I=e,S=isObject(I.__datetimeFormatters)?I.__datetimeFormatters:new Map,L=isObject(I.__numberFormatters)?I.__numberFormatters:new Map,h=isObject(I.__meta)?I.__meta:{};_cid++;const y={version:a,cid:_cid,locale:n,fallbackLocale:s,messages:l,modifiers:c,pluralRules:u,missing:m,missingWarn:g,fallbackWarn:_,fallbackFormat:f,unresolving:p,postTranslation:b,processor:E,warnHtmlMessage:d,escapeParameter:O,messageCompiler:v,messageResolver:T,localeFallbacker:N,fallbackContext:F,onWarn:t,__meta:h};return y.datetimeFormats=o,y.numberFormats=i,y.__datetimeFormatters=S,y.__numberFormatters=L,y}function handleMissing(e,t,a,n,r){const{missing:s,onWarn:l}=e;if(null!==s){const n=s(e,a,t,r);return isString(n)?n:t}return t}function updateFallbackLocale(e,t,a){e.__localeChainCache=new Map,e.localeFallbacker(e,a,t)}function isAlmostSameLocale(e,t){return e!==t&&e.split("-")[0]===t.split("-")[0]}function isImplicitFallback(e,t){const a=t.indexOf(e);if(-1===a)return!1;for(let n=a+1;n<t.length;n++)if(isAlmostSameLocale(e,t[n]))return!0;return!1}const isMessageAST=e=>isObject(e)&&(0===e.t||0===e.type)&&("b"in e||"body"in e),NOOP_MESSAGE_FUNCTION=()=>"",isMessageFunction=e=>isFunction(e);function translate(e,...t){const{fallbackFormat:a,postTranslation:n,unresolving:r,messageCompiler:s,fallbackLocale:l,messages:o}=e,[i,c]=parseTranslateArgs(...t),u=isBoolean(c.missingWarn)?c.missingWarn:e.missingWarn,m=isBoolean(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,g=isBoolean(c.escapeParameter)?c.escapeParameter:e.escapeParameter,_=!!c.resolvedMessage,f=isString(c.default)||isBoolean(c.default)?isBoolean(c.default)?s?i:()=>i:c.default:a?s?i:()=>i:"",p=a||""!==f,b=getLocale(e,c);g&&escapeParams(c);let[E,d,O]=_?[i,b,o[b]||{}]:resolveMessageFormat(e,i,b,l,m,u),v=E,T=i;if(_||isString(v)||isMessageAST(v)||isMessageFunction(v)||p&&(v=f,T=v),!(_||(isString(v)||isMessageAST(v)||isMessageFunction(v))&&isString(d)))return r?NOT_REOSLVED:i;let N=!1;const F=isMessageFunction(v)?v:compileMessageFormat(e,i,d,v,T,(()=>{N=!0}));if(N)return v;const I=evaluateMessage(e,F,createMessageContext(getMessageContextOptions(e,d,O,c)));return n?n(I,i):I}function escapeParams(e){isArray(e.list)?e.list=e.list.map((e=>isString(e)?escapeHtml(e):e)):isObject(e.named)&&Object.keys(e.named).forEach((t=>{isString(e.named[t])&&(e.named[t]=escapeHtml(e.named[t]))}))}function resolveMessageFormat(e,t,a,n,r,s){const{messages:l,onWarn:o,messageResolver:i,localeFallbacker:c}=e,u=c(e,n,a);let m,g={},_=null;for(let f=0;f<u.length&&(m=u[f],g=l[m]||{},null===(_=i(g,t))&&(_=g[t]),!(isString(_)||isMessageAST(_)||isMessageFunction(_)));f++)if(!isImplicitFallback(m,u)){const a=handleMissing(e,t,m,s,"translate");a!==t&&(_=a)}return[_,m,g]}function compileMessageFormat(e,t,a,n,r,s){const{messageCompiler:l,warnHtmlMessage:o}=e;if(isMessageFunction(n)){const e=n;return e.locale=e.locale||a,e.key=e.key||t,e}if(null==l){const e=()=>n;return e.locale=a,e.key=t,e}const i=l(n,getCompileContext(e,a,r,n,o,s));return i.locale=a,i.key=t,i.source=n,i}function evaluateMessage(e,t,a){return t(a)}function parseTranslateArgs(...e){const[t,a,n]=e,r={};if(!(isString(t)||isNumber(t)||isMessageFunction(t)||isMessageAST(t)))throw Error(CoreErrorCodes.INVALID_ARGUMENT);const s=isNumber(t)?String(t):(isMessageFunction(t),t);return isNumber(a)?r.plural=a:isString(a)?r.default=a:isPlainObject(a)&&!isEmptyObject(a)?r.named=a:isArray(a)&&(r.list=a),isNumber(n)?r.plural=n:isString(n)?r.default=n:isPlainObject(n)&&assign(r,n),[s,r]}function getCompileContext(e,t,a,n,r,s){return{locale:t,key:a,warnHtmlMessage:r,onError:e=>{throw s&&s(e),e},onCacheKey:e=>generateFormatCacheKey(t,a,e)}}function getMessageContextOptions(e,t,a,n){const{modifiers:r,pluralRules:s,messageResolver:l,fallbackLocale:o,fallbackWarn:i,missingWarn:c,fallbackContext:u}=e,m={locale:t,modifiers:r,pluralRules:s,messages:n=>{let r=l(a,n);if(null==r&&u){const[,,e]=resolveMessageFormat(u,n,t,o,i,c);r=l(e,n)}if(isString(r)||isMessageAST(r)){let a=!1;const s=compileMessageFormat(e,n,t,r,n,(()=>{a=!0}));return a?NOOP_MESSAGE_FUNCTION:s}return isMessageFunction(r)?r:NOOP_MESSAGE_FUNCTION}};return e.processor&&(m.processor=e.processor),n.list&&(m.list=n.list),n.named&&(m.named=n.named),isNumber(n.plural)&&(m.pluralIndex=n.plural),m}function datetime(e,...t){const{datetimeFormats:a,unresolving:n,fallbackLocale:r,onWarn:s,localeFallbacker:l}=e,{__datetimeFormatters:o}=e,[i,c,u,m]=parseDateTimeArgs(...t),g=isBoolean(u.missingWarn)?u.missingWarn:e.missingWarn;isBoolean(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const _=!!u.part,f=getLocale(e,u),p=l(e,r,f);if(!isString(i)||""===i)return new Intl.DateTimeFormat(f,m).format(c);let b,E={},d=null;for(let T=0;T<p.length&&(b=p[T],E=a[b]||{},d=E[i],!isPlainObject(d));T++)handleMissing(e,i,b,g,"datetime format");if(!isPlainObject(d)||!isString(b))return n?NOT_REOSLVED:i;let O=`${b}__${i}`;isEmptyObject(m)||(O=`${O}__${JSON.stringify(m)}`);let v=o.get(O);return v||(v=new Intl.DateTimeFormat(b,assign({},d,m)),o.set(O,v)),_?v.formatToParts(c):v.format(c)}const DATETIME_FORMAT_OPTIONS_KEYS=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function parseDateTimeArgs(...e){const[t,a,n,r]=e,s={};let l,o={};if(isString(t)){const e=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!e)throw Error(CoreErrorCodes.INVALID_ISO_DATE_ARGUMENT);const a=e[3]?e[3].trim().startsWith("T")?`${e[1].trim()}${e[3].trim()}`:`${e[1].trim()}T${e[3].trim()}`:e[1].trim();l=new Date(a);try{l.toISOString()}catch(i){throw Error(CoreErrorCodes.INVALID_ISO_DATE_ARGUMENT)}}else if(isDate(t)){if(isNaN(t.getTime()))throw Error(CoreErrorCodes.INVALID_DATE_ARGUMENT);l=t}else{if(!isNumber(t))throw Error(CoreErrorCodes.INVALID_ARGUMENT);l=t}return isString(a)?s.key=a:isPlainObject(a)&&Object.keys(a).forEach((e=>{DATETIME_FORMAT_OPTIONS_KEYS.includes(e)?o[e]=a[e]:s[e]=a[e]})),isString(n)?s.locale=n:isPlainObject(n)&&(o=n),isPlainObject(r)&&(o=r),[s.key||"",l,s,o]}function clearDateTimeFormat(e,t,a){const n=e;for(const r in a){const e=`${t}__${r}`;n.__datetimeFormatters.has(e)&&n.__datetimeFormatters.delete(e)}}function number(e,...t){const{numberFormats:a,unresolving:n,fallbackLocale:r,onWarn:s,localeFallbacker:l}=e,{__numberFormatters:o}=e,[i,c,u,m]=parseNumberArgs(...t),g=isBoolean(u.missingWarn)?u.missingWarn:e.missingWarn;isBoolean(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const _=!!u.part,f=getLocale(e,u),p=l(e,r,f);if(!isString(i)||""===i)return new Intl.NumberFormat(f,m).format(c);let b,E={},d=null;for(let T=0;T<p.length&&(b=p[T],E=a[b]||{},d=E[i],!isPlainObject(d));T++)handleMissing(e,i,b,g,"number format");if(!isPlainObject(d)||!isString(b))return n?NOT_REOSLVED:i;let O=`${b}__${i}`;isEmptyObject(m)||(O=`${O}__${JSON.stringify(m)}`);let v=o.get(O);return v||(v=new Intl.NumberFormat(b,assign({},d,m)),o.set(O,v)),_?v.formatToParts(c):v.format(c)}const NUMBER_FORMAT_OPTIONS_KEYS=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function parseNumberArgs(...e){const[t,a,n,r]=e,s={};let l={};if(!isNumber(t))throw Error(CoreErrorCodes.INVALID_ARGUMENT);const o=t;return isString(a)?s.key=a:isPlainObject(a)&&Object.keys(a).forEach((e=>{NUMBER_FORMAT_OPTIONS_KEYS.includes(e)?l[e]=a[e]:s[e]=a[e]})),isString(n)?s.locale=n:isPlainObject(n)&&(l=n),isPlainObject(r)&&(l=r),[s.key||"",o,s,l]}function clearNumberFormat(e,t,a){const n=e;for(const r in a){const e=`${t}__${r}`;n.__numberFormatters.has(e)&&n.__numberFormatters.delete(e)}}const VERSION="9.14.1",code=CoreErrorCodes.__EXTEND_POINT__,inc=incrementer(code),I18nErrorCodes={UNEXPECTED_RETURN_TYPE:code,INVALID_ARGUMENT:inc(),MUST_BE_CALL_SETUP_TOP:inc(),NOT_INSTALLED:inc(),NOT_AVAILABLE_IN_LEGACY_MODE:inc(),REQUIRED_VALUE:inc(),INVALID_VALUE:inc(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:inc(),NOT_INSTALLED_WITH_PROVIDE:inc(),UNEXPECTED_ERROR:inc(),NOT_COMPATIBLE_LEGACY_VUE_I18N:inc(),BRIDGE_SUPPORT_VUE_2_ONLY:inc(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:inc(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:inc(),__EXTEND_POINT__:inc()};function createI18nError(e,...t){return createCompileError(e,null,void 0)}const TranslateVNodeSymbol=makeSymbol("__translateVNode"),DatetimePartsSymbol=makeSymbol("__datetimeParts"),NumberPartsSymbol=makeSymbol("__numberParts"),SetPluralRulesSymbol=makeSymbol("__setPluralRules"),InejctWithOptionSymbol=makeSymbol("__injectWithOption"),DisposeSymbol=makeSymbol("__dispose"),__VUE_I18N_BRIDGE__="__VUE_I18N_BRIDGE__";function handleFlatJson(e){if(!isObject(e))return e;for(const t in e)if(hasOwn(e,t))if(t.includes(".")){const a=t.split("."),n=a.length-1;let r=e,s=!1;for(let e=0;e<n;e++){if(a[e]in r||(r[a[e]]={}),!isObject(r[a[e]])){s=!0;break}r=r[a[e]]}s||(r[a[n]]=e[t],delete e[t]),isObject(r[a[n]])&&handleFlatJson(r[a[n]])}else isObject(e[t])&&handleFlatJson(e[t]);return e}function getLocaleMessages(e,t){const{messages:a,__i18n:n,messageResolver:r,flatJson:s}=t,l=isPlainObject(a)?a:isArray(n)?{}:{[e]:{}};if(isArray(n)&&n.forEach((e=>{if("locale"in e&&"resource"in e){const{locale:t,resource:a}=e;t?(l[t]=l[t]||{},deepCopy(a,l[t])):deepCopy(a,l)}else isString(e)&&deepCopy(JSON.parse(e),l)})),null==r&&s)for(const o in l)hasOwn(l,o)&&handleFlatJson(l[o]);return l}function getComponentOptions(e){return e.type}function adjustI18nResources(e,t,a){let n=isObject(t.messages)?t.messages:{};"__i18nGlobal"in a&&(n=getLocaleMessages(e.locale.value,{messages:n,__i18n:a.__i18nGlobal}));const r=Object.keys(n);if(r.length&&r.forEach((t=>{e.mergeLocaleMessage(t,n[t])})),isObject(t.datetimeFormats)){const a=Object.keys(t.datetimeFormats);a.length&&a.forEach((a=>{e.mergeDateTimeFormat(a,t.datetimeFormats[a])}))}if(isObject(t.numberFormats)){const a=Object.keys(t.numberFormats);a.length&&a.forEach((a=>{e.mergeNumberFormat(a,t.numberFormats[a])}))}}function createTextNode(e){return createVNode(Text,null,e,0)}const DEVTOOLS_META="__INTLIFY_META__",NOOP_RETURN_ARRAY=()=>[],NOOP_RETURN_FALSE=()=>!1;let composerID=0;function defineCoreMissingHandler(e){return(t,a,n,r)=>e(a,n,getCurrentInstance()||void 0,r)}const getMetaInfo=()=>{const e=getCurrentInstance();let t=null;return e&&(t=getComponentOptions(e)[DEVTOOLS_META])?{[DEVTOOLS_META]:t}:null};function createComposer(e={},t){const{__root:a,__injectWithOption:n}=e,r=void 0===a,s=e.flatJson,l=inBrowser?ref:shallowRef,o=!!e.translateExistCompatible;let i=!isBoolean(e.inheritLocale)||e.inheritLocale;const c=l(a&&i?a.locale.value:isString(e.locale)?e.locale:DEFAULT_LOCALE),u=l(a&&i?a.fallbackLocale.value:isString(e.fallbackLocale)||isArray(e.fallbackLocale)||isPlainObject(e.fallbackLocale)||!1===e.fallbackLocale?e.fallbackLocale:c.value),m=l(getLocaleMessages(c.value,e)),g=l(isPlainObject(e.datetimeFormats)?e.datetimeFormats:{[c.value]:{}}),_=l(isPlainObject(e.numberFormats)?e.numberFormats:{[c.value]:{}});let f=a?a.missingWarn:!isBoolean(e.missingWarn)&&!isRegExp(e.missingWarn)||e.missingWarn,p=a?a.fallbackWarn:!isBoolean(e.fallbackWarn)&&!isRegExp(e.fallbackWarn)||e.fallbackWarn,b=a?a.fallbackRoot:!isBoolean(e.fallbackRoot)||e.fallbackRoot,E=!!e.fallbackFormat,d=isFunction(e.missing)?e.missing:null,O=isFunction(e.missing)?defineCoreMissingHandler(e.missing):null,v=isFunction(e.postTranslation)?e.postTranslation:null,T=a?a.warnHtmlMessage:!isBoolean(e.warnHtmlMessage)||e.warnHtmlMessage,N=!!e.escapeParameter;const F=a?a.modifiers:isPlainObject(e.modifiers)?e.modifiers:{};let I,S=e.pluralRules||a&&a.pluralRules;I=(()=>{r&&setFallbackContext(null);const t={version:VERSION,locale:c.value,fallbackLocale:u.value,messages:m.value,modifiers:F,pluralRules:S,missing:null===O?void 0:O,missingWarn:f,fallbackWarn:p,fallbackFormat:E,unresolving:!0,postTranslation:null===v?void 0:v,warnHtmlMessage:T,escapeParameter:N,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};t.datetimeFormats=g.value,t.numberFormats=_.value,t.__datetimeFormatters=isPlainObject(I)?I.__datetimeFormatters:void 0,t.__numberFormatters=isPlainObject(I)?I.__numberFormatters:void 0;const a=createCoreContext(t);return r&&setFallbackContext(a),a})(),updateFallbackLocale(I,c.value,u.value);const L=computed({get:()=>c.value,set:e=>{c.value=e,I.locale=c.value}}),h=computed({get:()=>u.value,set:e=>{u.value=e,I.fallbackLocale=u.value,updateFallbackLocale(I,c.value,e)}}),y=computed((()=>m.value)),C=computed((()=>g.value)),k=computed((()=>_.value));const A=(e,t,n,s,l,o)=>{let i;c.value,u.value,m.value,g.value,_.value;try{0,r||(I.fallbackContext=a?getFallbackContext():void 0),i=e(I)}finally{r||(I.fallbackContext=void 0)}if("translate exists"!==n&&isNumber(i)&&i===NOT_REOSLVED||"translate exists"===n&&!i){const[e,n]=t();return a&&b?s(a):l(e)}if(o(i))return i;throw Error(I18nErrorCodes.UNEXPECTED_RETURN_TYPE)};function P(...e){return A((t=>Reflect.apply(translate,null,[t,...e])),(()=>parseTranslateArgs(...e)),"translate",(t=>Reflect.apply(t.t,t,[...e])),(e=>e),(e=>isString(e)))}const R={normalize:function(e){return e.map((e=>isString(e)||isNumber(e)||isBoolean(e)?createTextNode(String(e)):e))},interpolate:e=>e,type:"vnode"};function M(e){return m.value[e]||{}}composerID++,a&&inBrowser&&(watch(a.locale,(e=>{i&&(c.value=e,I.locale=e,updateFallbackLocale(I,c.value,u.value))})),watch(a.fallbackLocale,(e=>{i&&(u.value=e,I.fallbackLocale=e,updateFallbackLocale(I,c.value,u.value))})));const D={id:composerID,locale:L,fallbackLocale:h,get inheritLocale(){return i},set inheritLocale(e){i=e,e&&a&&(c.value=a.locale.value,u.value=a.fallbackLocale.value,updateFallbackLocale(I,c.value,u.value))},get availableLocales(){return Object.keys(m.value).sort()},messages:y,get modifiers(){return F},get pluralRules(){return S||{}},get isGlobal(){return r},get missingWarn(){return f},set missingWarn(e){f=e,I.missingWarn=f},get fallbackWarn(){return p},set fallbackWarn(e){p=e,I.fallbackWarn=p},get fallbackRoot(){return b},set fallbackRoot(e){b=e},get fallbackFormat(){return E},set fallbackFormat(e){E=e,I.fallbackFormat=E},get warnHtmlMessage(){return T},set warnHtmlMessage(e){T=e,I.warnHtmlMessage=e},get escapeParameter(){return N},set escapeParameter(e){N=e,I.escapeParameter=e},t:P,getLocaleMessage:M,setLocaleMessage:function(e,t){if(s){const a={[e]:t};for(const e in a)hasOwn(a,e)&&handleFlatJson(a[e]);t=a[e]}m.value[e]=t,I.messages=m.value},mergeLocaleMessage:function(e,t){m.value[e]=m.value[e]||{};const a={[e]:t};if(s)for(const n in a)hasOwn(a,n)&&handleFlatJson(a[n]);deepCopy(t=a[e],m.value[e]),I.messages=m.value},getPostTranslationHandler:function(){return isFunction(v)?v:null},setPostTranslationHandler:function(e){v=e,I.postTranslation=e},getMissingHandler:function(){return d},setMissingHandler:function(e){null!==e&&(O=defineCoreMissingHandler(e)),d=e,I.missing=O},[SetPluralRulesSymbol]:function(e){S=e,I.pluralRules=S}};return D.datetimeFormats=C,D.numberFormats=k,D.rt=function(...e){const[t,a,n]=e;if(n&&!isObject(n))throw Error(I18nErrorCodes.INVALID_ARGUMENT);return P(t,a,assign({resolvedMessage:!0},n||{}))},D.te=function(e,t){return A((()=>{if(!e)return!1;const a=M(isString(t)?t:c.value),n=I.messageResolver(a,e);return o?null!=n:isMessageAST(n)||isMessageFunction(n)||isString(n)}),(()=>[e]),"translate exists",(a=>Reflect.apply(a.te,a,[e,t])),NOOP_RETURN_FALSE,(e=>isBoolean(e)))},D.tm=function(e){const t=function(e){let t=null;const a=fallbackWithLocaleChain(I,u.value,c.value);for(let n=0;n<a.length;n++){const r=m.value[a[n]]||{},s=I.messageResolver(r,e);if(null!=s){t=s;break}}return t}(e);return null!=t?t:a&&a.tm(e)||{}},D.d=function(...e){return A((t=>Reflect.apply(datetime,null,[t,...e])),(()=>parseDateTimeArgs(...e)),"datetime format",(t=>Reflect.apply(t.d,t,[...e])),(()=>MISSING_RESOLVE_VALUE),(e=>isString(e)))},D.n=function(...e){return A((t=>Reflect.apply(number,null,[t,...e])),(()=>parseNumberArgs(...e)),"number format",(t=>Reflect.apply(t.n,t,[...e])),(()=>MISSING_RESOLVE_VALUE),(e=>isString(e)))},D.getDateTimeFormat=function(e){return g.value[e]||{}},D.setDateTimeFormat=function(e,t){g.value[e]=t,I.datetimeFormats=g.value,clearDateTimeFormat(I,e,t)},D.mergeDateTimeFormat=function(e,t){g.value[e]=assign(g.value[e]||{},t),I.datetimeFormats=g.value,clearDateTimeFormat(I,e,t)},D.getNumberFormat=function(e){return _.value[e]||{}},D.setNumberFormat=function(e,t){_.value[e]=t,I.numberFormats=_.value,clearNumberFormat(I,e,t)},D.mergeNumberFormat=function(e,t){_.value[e]=assign(_.value[e]||{},t),I.numberFormats=_.value,clearNumberFormat(I,e,t)},D[InejctWithOptionSymbol]=n,D[TranslateVNodeSymbol]=function(...e){return A((t=>{let a;const n=t;try{n.processor=R,a=Reflect.apply(translate,null,[n,...e])}finally{n.processor=null}return a}),(()=>parseTranslateArgs(...e)),"translate",(t=>t[TranslateVNodeSymbol](...e)),(e=>[createTextNode(e)]),(e=>isArray(e)))},D[DatetimePartsSymbol]=function(...e){return A((t=>Reflect.apply(datetime,null,[t,...e])),(()=>parseDateTimeArgs(...e)),"datetime format",(t=>t[DatetimePartsSymbol](...e)),NOOP_RETURN_ARRAY,(e=>isString(e)||isArray(e)))},D[NumberPartsSymbol]=function(...e){return A((t=>Reflect.apply(number,null,[t,...e])),(()=>parseNumberArgs(...e)),"number format",(t=>t[NumberPartsSymbol](...e)),NOOP_RETURN_ARRAY,(e=>isString(e)||isArray(e)))},D}function convertComposerOptions(e){const t=isString(e.locale)?e.locale:DEFAULT_LOCALE,a=isString(e.fallbackLocale)||isArray(e.fallbackLocale)||isPlainObject(e.fallbackLocale)||!1===e.fallbackLocale?e.fallbackLocale:t,n=isFunction(e.missing)?e.missing:void 0,r=!isBoolean(e.silentTranslationWarn)&&!isRegExp(e.silentTranslationWarn)||!e.silentTranslationWarn,s=!isBoolean(e.silentFallbackWarn)&&!isRegExp(e.silentFallbackWarn)||!e.silentFallbackWarn,l=!isBoolean(e.fallbackRoot)||e.fallbackRoot,o=!!e.formatFallbackMessages,i=isPlainObject(e.modifiers)?e.modifiers:{},c=e.pluralizationRules,u=isFunction(e.postTranslation)?e.postTranslation:void 0,m=!isString(e.warnHtmlInMessage)||"off"!==e.warnHtmlInMessage,g=!!e.escapeParameterHtml,_=!isBoolean(e.sync)||e.sync;let f=e.messages;if(isPlainObject(e.sharedMessages)){const t=e.sharedMessages;f=Object.keys(t).reduce(((e,a)=>{const n=e[a]||(e[a]={});return assign(n,t[a]),e}),f||{})}const{__i18n:p,__root:b,__injectWithOption:E}=e,d=e.datetimeFormats,O=e.numberFormats,v=e.flatJson,T=e.translateExistCompatible;return{locale:t,fallbackLocale:a,messages:f,flatJson:v,datetimeFormats:d,numberFormats:O,missing:n,missingWarn:r,fallbackWarn:s,fallbackRoot:l,fallbackFormat:o,modifiers:i,pluralRules:c,postTranslation:u,warnHtmlMessage:m,escapeParameter:g,messageResolver:e.messageResolver,inheritLocale:_,translateExistCompatible:T,__i18n:p,__root:b,__injectWithOption:E}}function createVueI18n(e={},t){{const t=createComposer(convertComposerOptions(e)),{__extender:a}=e,n={id:t.id,get locale(){return t.locale.value},set locale(e){t.locale.value=e},get fallbackLocale(){return t.fallbackLocale.value},set fallbackLocale(e){t.fallbackLocale.value=e},get messages(){return t.messages.value},get datetimeFormats(){return t.datetimeFormats.value},get numberFormats(){return t.numberFormats.value},get availableLocales(){return t.availableLocales},get formatter(){return{interpolate:()=>[]}},set formatter(e){},get missing(){return t.getMissingHandler()},set missing(e){t.setMissingHandler(e)},get silentTranslationWarn(){return isBoolean(t.missingWarn)?!t.missingWarn:t.missingWarn},set silentTranslationWarn(e){t.missingWarn=isBoolean(e)?!e:e},get silentFallbackWarn(){return isBoolean(t.fallbackWarn)?!t.fallbackWarn:t.fallbackWarn},set silentFallbackWarn(e){t.fallbackWarn=isBoolean(e)?!e:e},get modifiers(){return t.modifiers},get formatFallbackMessages(){return t.fallbackFormat},set formatFallbackMessages(e){t.fallbackFormat=e},get postTranslation(){return t.getPostTranslationHandler()},set postTranslation(e){t.setPostTranslationHandler(e)},get sync(){return t.inheritLocale},set sync(e){t.inheritLocale=e},get warnHtmlInMessage(){return t.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(e){t.warnHtmlMessage="off"!==e},get escapeParameterHtml(){return t.escapeParameter},set escapeParameterHtml(e){t.escapeParameter=e},get preserveDirectiveContent(){return!0},set preserveDirectiveContent(e){},get pluralizationRules(){return t.pluralRules||{}},__composer:t,t(...e){const[a,n,r]=e,s={};let l=null,o=null;if(!isString(a))throw Error(I18nErrorCodes.INVALID_ARGUMENT);const i=a;return isString(n)?s.locale=n:isArray(n)?l=n:isPlainObject(n)&&(o=n),isArray(r)?l=r:isPlainObject(r)&&(o=r),Reflect.apply(t.t,t,[i,l||o||{},s])},rt:(...e)=>Reflect.apply(t.rt,t,[...e]),tc(...e){const[a,n,r]=e,s={plural:1};let l=null,o=null;if(!isString(a))throw Error(I18nErrorCodes.INVALID_ARGUMENT);const i=a;return isString(n)?s.locale=n:isNumber(n)?s.plural=n:isArray(n)?l=n:isPlainObject(n)&&(o=n),isString(r)?s.locale=r:isArray(r)?l=r:isPlainObject(r)&&(o=r),Reflect.apply(t.t,t,[i,l||o||{},s])},te:(e,a)=>t.te(e,a),tm:e=>t.tm(e),getLocaleMessage:e=>t.getLocaleMessage(e),setLocaleMessage(e,a){t.setLocaleMessage(e,a)},mergeLocaleMessage(e,a){t.mergeLocaleMessage(e,a)},d:(...e)=>Reflect.apply(t.d,t,[...e]),getDateTimeFormat:e=>t.getDateTimeFormat(e),setDateTimeFormat(e,a){t.setDateTimeFormat(e,a)},mergeDateTimeFormat(e,a){t.mergeDateTimeFormat(e,a)},n:(...e)=>Reflect.apply(t.n,t,[...e]),getNumberFormat:e=>t.getNumberFormat(e),setNumberFormat(e,a){t.setNumberFormat(e,a)},mergeNumberFormat(e,a){t.mergeNumberFormat(e,a)},getChoiceIndex:(e,t)=>-1};return n.__extender=a,n}}const baseFormatProps={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>"parent"===e||"global"===e,default:"parent"},i18n:{type:Object}};function getInterpolateArg({slots:e},t){if(1===t.length&&"default"===t[0]){return(e.default?e.default():[]).reduce(((e,t)=>[...e,...t.type===Fragment?t.children:[t]]),[])}return t.reduce(((t,a)=>{const n=e[a];return n&&(t[a]=n()),t}),{})}function getFragmentableTag(e){return Fragment}const TranslationImpl=defineComponent({name:"i18n-t",props:assign({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>isNumber(e)||!isNaN(e)}},baseFormatProps),setup(e,t){const{slots:a,attrs:n}=t,r=e.i18n||useI18n({useScope:e.scope,__useComponent:!0});return()=>{const s=Object.keys(a).filter((e=>"_"!==e)),l={};e.locale&&(l.locale=e.locale),void 0!==e.plural&&(l.plural=isString(e.plural)?+e.plural:e.plural);const o=getInterpolateArg(t,s),i=r[TranslateVNodeSymbol](e.keypath,o,l),c=assign({},n),u=isString(e.tag)||isObject(e.tag)?e.tag:getFragmentableTag();return h(u,c,i)}}}),Translation=TranslationImpl,I18nT=Translation;function isVNode(e){return isArray(e)&&!isString(e[0])}function renderFormatter(e,t,a,n){const{slots:r,attrs:s}=t;return()=>{const t={part:!0};let l={};e.locale&&(t.locale=e.locale),isString(e.format)?t.key=e.format:isObject(e.format)&&(isString(e.format.key)&&(t.key=e.format.key),l=Object.keys(e.format).reduce(((t,n)=>a.includes(n)?assign({},t,{[n]:e.format[n]}):t),{}));const o=n(e.value,t,l);let i=[t.key];isArray(o)?i=o.map(((e,t)=>{const a=r[e.type],n=a?a({[e.type]:e.value,index:t,parts:o}):[e.value];return isVNode(n)&&(n[0].key=`${e.type}-${t}`),n})):isString(o)&&(i=[o]);const c=assign({},s),u=isString(e.tag)||isObject(e.tag)?e.tag:getFragmentableTag();return h(u,c,i)}}const NumberFormatImpl=defineComponent({name:"i18n-n",props:assign({value:{type:Number,required:!0},format:{type:[String,Object]}},baseFormatProps),setup(e,t){const a=e.i18n||useI18n({useScope:e.scope,__useComponent:!0});return renderFormatter(e,t,NUMBER_FORMAT_OPTIONS_KEYS,((...e)=>a[NumberPartsSymbol](...e)))}}),NumberFormat=NumberFormatImpl,I18nN=NumberFormat,DatetimeFormatImpl=defineComponent({name:"i18n-d",props:assign({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},baseFormatProps),setup(e,t){const a=e.i18n||useI18n({useScope:e.scope,__useComponent:!0});return renderFormatter(e,t,DATETIME_FORMAT_OPTIONS_KEYS,((...e)=>a[DatetimePartsSymbol](...e)))}}),DatetimeFormat=DatetimeFormatImpl,I18nD=DatetimeFormat;function getComposer$1(e,t){const a=e;if("composition"===e.mode)return a.__getInstance(t)||e.global;{const n=a.__getInstance(t);return null!=n?n.__composer:e.global.__composer}}function vTDirective(e){const t=t=>{const{instance:a,modifiers:n,value:r}=t;if(!a||!a.$)throw Error(I18nErrorCodes.UNEXPECTED_ERROR);const s=getComposer$1(e,a.$),l=parseValue(r);return[Reflect.apply(s.t,s,[...makeParams(l)]),s]};return{created:(a,n)=>{const[r,s]=t(n);inBrowser&&e.global===s&&(a.__i18nWatcher=watch(s.locale,(()=>{n.instance&&n.instance.$forceUpdate()}))),a.__composer=s,a.textContent=r},unmounted:e=>{inBrowser&&e.__i18nWatcher&&(e.__i18nWatcher(),e.__i18nWatcher=void 0,delete e.__i18nWatcher),e.__composer&&(e.__composer=void 0,delete e.__composer)},beforeUpdate:(e,{value:t})=>{if(e.__composer){const a=e.__composer,n=parseValue(t);e.textContent=Reflect.apply(a.t,a,[...makeParams(n)])}},getSSRProps:e=>{const[a]=t(e);return{textContent:a}}}}function parseValue(e){if(isString(e))return{path:e};if(isPlainObject(e)){if(!("path"in e))throw Error(I18nErrorCodes.REQUIRED_VALUE,"path");return e}throw Error(I18nErrorCodes.INVALID_VALUE)}function makeParams(e){const{path:t,locale:a,args:n,choice:r,plural:s}=e,l={},o=n||{};return isString(a)&&(l.locale=a),isNumber(r)&&(l.plural=r),isNumber(s)&&(l.plural=s),[t,o,l]}function apply(e,t,...a){const n=isPlainObject(a[0])?a[0]:{},r=!!n.useI18nComponentName;(!isBoolean(n.globalInstall)||n.globalInstall)&&([r?"i18n":Translation.name,"I18nT"].forEach((t=>e.component(t,Translation))),[NumberFormat.name,"I18nN"].forEach((t=>e.component(t,NumberFormat))),[DatetimeFormat.name,"I18nD"].forEach((t=>e.component(t,DatetimeFormat)))),e.directive("t",vTDirective(t))}function defineMixin(e,t,a){return{beforeCreate(){const n=getCurrentInstance();if(!n)throw Error(I18nErrorCodes.UNEXPECTED_ERROR);const r=this.$options;if(r.i18n){const n=r.i18n;if(r.__i18n&&(n.__i18n=r.__i18n),n.__root=t,this===this.$root)this.$i18n=mergeToGlobal(e,n);else{n.__injectWithOption=!0,n.__extender=a.__vueI18nExtend,this.$i18n=createVueI18n(n);const e=this.$i18n;e.__extender&&(e.__disposer=e.__extender(this.$i18n))}}else if(r.__i18n)if(this===this.$root)this.$i18n=mergeToGlobal(e,r);else{this.$i18n=createVueI18n({__i18n:r.__i18n,__injectWithOption:!0,__extender:a.__vueI18nExtend,__root:t});const e=this.$i18n;e.__extender&&(e.__disposer=e.__extender(this.$i18n))}else this.$i18n=e;r.__i18nGlobal&&adjustI18nResources(t,r,r),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),a.__setInstance(n,this.$i18n)},mounted(){},unmounted(){const e=getCurrentInstance();if(!e)throw Error(I18nErrorCodes.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),a.__deleteInstance(e),delete this.$i18n}}}function mergeToGlobal(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[SetPluralRulesSymbol](t.pluralizationRules||e.pluralizationRules);const a=getLocaleMessages(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(a).forEach((t=>e.mergeLocaleMessage(t,a[t]))),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach((a=>e.mergeDateTimeFormat(a,t.datetimeFormats[a]))),t.numberFormats&&Object.keys(t.numberFormats).forEach((a=>e.mergeNumberFormat(a,t.numberFormats[a]))),e}const I18nInjectionKey=makeSymbol("global-vue-i18n");function createI18n(e={},t){const a=!isBoolean(e.legacy)||e.legacy,n=!isBoolean(e.globalInjection)||e.globalInjection,r=!a||!!e.allowComposition,s=new Map,[l,o]=createGlobal(e,a),i=makeSymbol("");{const e={get mode(){return a?"legacy":"composition"},get allowComposition(){return r},async install(t,...r){if(t.__VUE_I18N_SYMBOL__=i,t.provide(t.__VUE_I18N_SYMBOL__,e),isPlainObject(r[0])){const t=r[0];e.__composerExtend=t.__composerExtend,e.__vueI18nExtend=t.__vueI18nExtend}let s=null;!a&&n&&(s=injectGlobalFields(t,e.global)),apply(t,e,...r),a&&t.mixin(defineMixin(o,o.__composer,e));const l=t.unmount;t.unmount=()=>{s&&s(),e.dispose(),l()}},get global(){return o},dispose(){l.stop()},__instances:s,__getInstance:function(e){return s.get(e)||null},__setInstance:function(e,t){s.set(e,t)},__deleteInstance:function(e){s.delete(e)}};return e}}function useI18n(e={}){const t=getCurrentInstance();if(null==t)throw Error(I18nErrorCodes.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&null!=t.appContext.app&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Error(I18nErrorCodes.NOT_INSTALLED);const a=getI18nInstance(t),n=getGlobalComposer(a),r=getComponentOptions(t),s=getScope(e,r);if("legacy"===a.mode&&!e.__useComponent){if(!a.allowComposition)throw Error(I18nErrorCodes.NOT_AVAILABLE_IN_LEGACY_MODE);return useI18nForLegacy(t,s,n,e)}if("global"===s)return adjustI18nResources(n,e,r),n;if("parent"===s){let r=getComposer(a,t,e.__useComponent);return null==r&&(r=n),r}const l=a;let o=l.__getInstance(t);if(null==o){const a=assign({},e);"__i18n"in r&&(a.__i18n=r.__i18n),n&&(a.__root=n),o=createComposer(a),l.__composerExtend&&(o[DisposeSymbol]=l.__composerExtend(o)),setupLifeCycle(l,t,o),l.__setInstance(t,o)}return o}const castToVueI18n=e=>{if(!(__VUE_I18N_BRIDGE__ in e))throw Error(I18nErrorCodes.NOT_COMPATIBLE_LEGACY_VUE_I18N);return e};function createGlobal(e,t,a){const n=effectScope();{const a=t?n.run((()=>createVueI18n(e))):n.run((()=>createComposer(e)));if(null==a)throw Error(I18nErrorCodes.UNEXPECTED_ERROR);return[n,a]}}function getI18nInstance(e){{const t=inject(e.isCE?I18nInjectionKey:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw createI18nError(e.isCE?I18nErrorCodes.NOT_INSTALLED_WITH_PROVIDE:I18nErrorCodes.UNEXPECTED_ERROR);return t}}function getScope(e,t){return isEmptyObject(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function getGlobalComposer(e){return"composition"===e.mode?e.global:e.global.__composer}function getComposer(e,t,a=!1){let n=null;const r=t.root;let s=getParentComponentInstance(t,a);for(;null!=s;){const t=e;if("composition"===e.mode)n=t.__getInstance(s);else{const e=t.__getInstance(s);null!=e&&(n=e.__composer,a&&n&&!n[InejctWithOptionSymbol]&&(n=null))}if(null!=n)break;if(r===s)break;s=s.parent}return n}function getParentComponentInstance(e,t=!1){return null==e?null:t&&e.vnode.ctx||e.parent}function setupLifeCycle(e,t,a){onMounted((()=>{}),t),onUnmounted((()=>{const n=a;e.__deleteInstance(t);const r=n[DisposeSymbol];r&&(r(),delete n[DisposeSymbol])}),t)}function useI18nForLegacy(e,t,a,n={}){const r="local"===t,s=shallowRef(null);if(r&&e.proxy&&!e.proxy.$options.i18n&&!e.proxy.$options.__i18n)throw Error(I18nErrorCodes.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const l=isBoolean(n.inheritLocale)?n.inheritLocale:!isString(n.locale),o=ref(!r||l?a.locale.value:isString(n.locale)?n.locale:DEFAULT_LOCALE),i=ref(!r||l?a.fallbackLocale.value:isString(n.fallbackLocale)||isArray(n.fallbackLocale)||isPlainObject(n.fallbackLocale)||!1===n.fallbackLocale?n.fallbackLocale:o.value),c=ref(getLocaleMessages(o.value,n)),u=ref(isPlainObject(n.datetimeFormats)?n.datetimeFormats:{[o.value]:{}}),m=ref(isPlainObject(n.numberFormats)?n.numberFormats:{[o.value]:{}}),g=r?a.missingWarn:!isBoolean(n.missingWarn)&&!isRegExp(n.missingWarn)||n.missingWarn,_=r?a.fallbackWarn:!isBoolean(n.fallbackWarn)&&!isRegExp(n.fallbackWarn)||n.fallbackWarn,f=r?a.fallbackRoot:!isBoolean(n.fallbackRoot)||n.fallbackRoot,p=!!n.fallbackFormat,b=isFunction(n.missing)?n.missing:null,E=isFunction(n.postTranslation)?n.postTranslation:null,d=r?a.warnHtmlMessage:!isBoolean(n.warnHtmlMessage)||n.warnHtmlMessage,O=!!n.escapeParameter,v=r?a.modifiers:isPlainObject(n.modifiers)?n.modifiers:{},T=n.pluralRules||r&&a.pluralRules;function N(e){return o.value,i.value,c.value,u.value,m.value,e()}const F={get id(){return s.value?s.value.id:-1},locale:computed({get:()=>s.value?s.value.locale.value:o.value,set:e=>{s.value&&(s.value.locale.value=e),o.value=e}}),fallbackLocale:computed({get:()=>s.value?s.value.fallbackLocale.value:i.value,set:e=>{s.value&&(s.value.fallbackLocale.value=e),i.value=e}}),messages:computed((()=>s.value?s.value.messages.value:c.value)),datetimeFormats:computed((()=>u.value)),numberFormats:computed((()=>m.value)),get inheritLocale(){return s.value?s.value.inheritLocale:l},set inheritLocale(e){s.value&&(s.value.inheritLocale=e)},get availableLocales(){return s.value?s.value.availableLocales:Object.keys(c.value)},get modifiers(){return s.value?s.value.modifiers:v},get pluralRules(){return s.value?s.value.pluralRules:T},get isGlobal(){return!!s.value&&s.value.isGlobal},get missingWarn(){return s.value?s.value.missingWarn:g},set missingWarn(e){s.value&&(s.value.missingWarn=e)},get fallbackWarn(){return s.value?s.value.fallbackWarn:_},set fallbackWarn(e){s.value&&(s.value.missingWarn=e)},get fallbackRoot(){return s.value?s.value.fallbackRoot:f},set fallbackRoot(e){s.value&&(s.value.fallbackRoot=e)},get fallbackFormat(){return s.value?s.value.fallbackFormat:p},set fallbackFormat(e){s.value&&(s.value.fallbackFormat=e)},get warnHtmlMessage(){return s.value?s.value.warnHtmlMessage:d},set warnHtmlMessage(e){s.value&&(s.value.warnHtmlMessage=e)},get escapeParameter(){return s.value?s.value.escapeParameter:O},set escapeParameter(e){s.value&&(s.value.escapeParameter=e)},t:function(...e){return s.value?N((()=>Reflect.apply(s.value.t,null,[...e]))):N((()=>""))},getPostTranslationHandler:function(){return s.value?s.value.getPostTranslationHandler():E},setPostTranslationHandler:function(e){s.value&&s.value.setPostTranslationHandler(e)},getMissingHandler:function(){return s.value?s.value.getMissingHandler():b},setMissingHandler:function(e){s.value&&s.value.setMissingHandler(e)},rt:function(...e){return s.value?Reflect.apply(s.value.rt,null,[...e]):""},d:function(...e){return s.value?N((()=>Reflect.apply(s.value.d,null,[...e]))):N((()=>""))},n:function(...e){return s.value?N((()=>Reflect.apply(s.value.n,null,[...e]))):N((()=>""))},tm:function(e){return s.value?s.value.tm(e):{}},te:function(e,t){return!!s.value&&s.value.te(e,t)},getLocaleMessage:function(e){return s.value?s.value.getLocaleMessage(e):{}},setLocaleMessage:function(e,t){s.value&&(s.value.setLocaleMessage(e,t),c.value[e]=t)},mergeLocaleMessage:function(e,t){s.value&&s.value.mergeLocaleMessage(e,t)},getDateTimeFormat:function(e){return s.value?s.value.getDateTimeFormat(e):{}},setDateTimeFormat:function(e,t){s.value&&(s.value.setDateTimeFormat(e,t),u.value[e]=t)},mergeDateTimeFormat:function(e,t){s.value&&s.value.mergeDateTimeFormat(e,t)},getNumberFormat:function(e){return s.value?s.value.getNumberFormat(e):{}},setNumberFormat:function(e,t){s.value&&(s.value.setNumberFormat(e,t),m.value[e]=t)},mergeNumberFormat:function(e,t){s.value&&s.value.mergeNumberFormat(e,t)}};return onBeforeMount((()=>{if(null==e.proxy||null==e.proxy.$i18n)throw Error(I18nErrorCodes.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const a=s.value=e.proxy.$i18n.__composer;"global"===t?(o.value=a.locale.value,i.value=a.fallbackLocale.value,c.value=a.messages.value,u.value=a.datetimeFormats.value,m.value=a.numberFormats.value):r&&function(e){e.locale.value=o.value,e.fallbackLocale.value=i.value,Object.keys(c.value).forEach((t=>{e.mergeLocaleMessage(t,c.value[t])})),Object.keys(u.value).forEach((t=>{e.mergeDateTimeFormat(t,u.value[t])})),Object.keys(m.value).forEach((t=>{e.mergeNumberFormat(t,m.value[t])})),e.escapeParameter=O,e.fallbackFormat=p,e.fallbackRoot=f,e.fallbackWarn=_,e.missingWarn=g,e.warnHtmlMessage=d}(a)})),F}const globalExportProps=["locale","fallbackLocale","availableLocales"],globalExportMethods=["t","rt","d","n","tm","te"];function injectGlobalFields(e,t){const a=Object.create(null);globalExportProps.forEach((e=>{const n=Object.getOwnPropertyDescriptor(t,e);if(!n)throw Error(I18nErrorCodes.UNEXPECTED_ERROR);const r=isRef(n.value)?{get:()=>n.value.value,set(e){n.value.value=e}}:{get:()=>n.get&&n.get()};Object.defineProperty(a,e,r)})),e.config.globalProperties.$i18n=a,globalExportMethods.forEach((a=>{const n=Object.getOwnPropertyDescriptor(t,a);if(!n||!n.value)throw Error(I18nErrorCodes.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${a}`,n)}));return()=>{delete e.config.globalProperties.$i18n,globalExportMethods.forEach((t=>{delete e.config.globalProperties[`$${t}`]}))}}registerMessageResolver(resolveValue),registerLocaleFallbacker(fallbackWithLocaleChain);export{DatetimeFormat,I18nD,I18nInjectionKey,I18nN,I18nT,NumberFormat,Translation,VERSION,castToVueI18n,createI18n,useI18n,vTDirective};
/*!
* vue-i18n v9.14.0
* vue-i18n v9.14.1
* (c) 2024 kazuya kawaguchi
* Released under the MIT License.
*/
var VueI18n=function(e,t){"use strict";const a="undefined"!=typeof window,n=(e,t=!1)=>t?Symbol.for(e):Symbol(e),l=(e,t,a)=>r({l:e,k:t,s:a}),r=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),o=e=>"number"==typeof e&&isFinite(e),s=e=>"[object Date]"===k(e),i=e=>"[object RegExp]"===k(e),c=e=>L(e)&&0===Object.keys(e).length,u=Object.assign;function m(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}const f=Object.prototype.hasOwnProperty;function _(e,t){return f.call(e,t)}const g=Array.isArray,p=e=>"function"==typeof e,v=e=>"string"==typeof e,d=e=>"boolean"==typeof e,b=e=>null!==e&&"object"==typeof e,E=e=>b(e)&&p(e.then)&&p(e.catch),h=Object.prototype.toString,k=e=>h.call(e),L=e=>{if(!b(e))return!1;const t=Object.getPrototypeOf(e);return null===t||t.constructor===Object};function T(e){let t=e;return()=>++t}function F(e,t){"undefined"!=typeof console&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const y=e=>!b(e)||g(e);function N(e,t){if(y(e)||y(t))throw new Error("Invalid value");const a=[{src:e,des:t}];for(;a.length;){const{src:e,des:t}=a.pop();Object.keys(e).forEach((n=>{y(e[n])||y(t[n])?t[n]=e[n]:a.push({src:e[n],des:t[n]})}))}}function I(e,t,a={}){const{domain:n,messages:l,args:r}=a,o=new SyntaxError(String(e));return o.code=e,t&&(o.location=t),o.domain=n,o}const R=[];R[0]={w:[0],i:[3,0],"[":[4],o:[7]},R[1]={w:[1],".":[2],"[":[4],o:[7]},R[2]={w:[2],i:[3,0],0:[3,0]},R[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]},R[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]},R[5]={"'":[4,0],o:8,l:[5,0]},R[6]={'"':[4,0],o:8,l:[6,0]};const O=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function M(e){if(null==e)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 W(e){const t=e.trim();return("0"!==e.charAt(0)||!isNaN(parseInt(e)))&&(a=t,O.test(a)?function(e){const t=e.charCodeAt(0);return t!==e.charCodeAt(e.length-1)||34!==t&&39!==t?e:e.slice(1,-1)}(t):"*"+t);var a}const w=new Map;function P(e,t){return b(e)?e[t]:null}const C=e=>e,D=e=>"",A="text",S=e=>0===e.length?"":function(e,t=""){return e.reduce(((e,a,n)=>0===n?e+a:e+t+a),"")}(e),$=e=>null==e?"":g(e)||L(e)&&e.toString===h?JSON.stringify(e,null,2):String(e);function U(e,t){return e=Math.abs(e),2===t?e?e>1?1:0:1:e?Math.min(e,2):0}function x(e={}){const t=e.locale,a=function(e){const t=o(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(o(e.named.count)||o(e.named.n))?o(e.named.count)?e.named.count:o(e.named.n)?e.named.n:t:t}(e),n=b(e.pluralRules)&&v(t)&&p(e.pluralRules[t])?e.pluralRules[t]:U,l=b(e.pluralRules)&&v(t)&&p(e.pluralRules[t])?U:void 0,r=e.list||[],s=e.named||{};o(e.pluralIndex)&&function(e,t){t.count||(t.count=e),t.n||(t.n=e)}(a,s);function i(t){const a=p(e.messages)?e.messages(t):!!b(e.messages)&&e.messages[t];return a||(e.parent?e.parent.message(t):D)}const c=L(e.processor)&&p(e.processor.normalize)?e.processor.normalize:S,m=L(e.processor)&&p(e.processor.interpolate)?e.processor.interpolate:$,f={list:e=>r[e],named:e=>s[e],plural:e=>e[n(a,e.length,l)],linked:(t,...a)=>{const[n,l]=a;let r="text",o="";1===a.length?b(n)?(o=n.modifier||o,r=n.type||r):v(n)&&(o=n||o):2===a.length&&(v(n)&&(o=n||o),v(l)&&(r=l||r));const s=i(t)(f),c="vnode"===r&&g(s)&&o?s[0]:s;return o?(u=o,e.modifiers?e.modifiers[u]:C)(c,r):c;var u},message:i,type:L(e.processor)&&v(e.processor.type)?e.processor.type:A,interpolate:m,normalize:c,values:u({},r,s)};return f}const H=T(17),j={INVALID_ARGUMENT:17,INVALID_DATE_ARGUMENT:H(),INVALID_ISO_DATE_ARGUMENT:H(),NOT_SUPPORT_NON_STRING_MESSAGE:H(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:H(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:H(),NOT_SUPPORT_LOCALE_TYPE:H(),__EXTEND_POINT__:H()};function V(e,t){return null!=t.locale?Y(t.locale):Y(e.locale)}let G;function Y(e){if(v(e))return e;if(p(e)){if(e.resolvedOnce&&null!=G)return G;if("Function"===e.constructor.name){const t=e();if(E(t))throw Error(j.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return G=t}throw Error(j.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}throw Error(j.NOT_SUPPORT_LOCALE_TYPE)}function B(e,t,a){return[...new Set([a,...g(t)?t:b(t)?Object.keys(t):v(t)?[t]:[a]])]}function X(e,t,a){const n=v(a)?a:Q,l=e;l.__localeChainCache||(l.__localeChainCache=new Map);let r=l.__localeChainCache.get(n);if(!r){r=[];let e=[a];for(;g(e);)e=z(r,e,t);const o=g(t)||!L(t)?t:t.default?t.default:null;e=v(o)?[o]:o,g(e)&&z(r,e,!1),l.__localeChainCache.set(n,r)}return r}function z(e,t,a){let n=!0;for(let l=0;l<t.length&&d(n);l++){const r=t[l];v(r)&&(n=J(e,t[l],a))}return n}function J(e,t,a){let n;const l=t.split("-");do{n=q(e,l.join("-"),a),l.splice(-1,1)}while(l.length&&!0===n);return n}function q(e,t,a){let n=!1;if(!e.includes(t)&&(n=!0,t)){n="!"!==t[t.length-1];const l=t.replace(/!/g,"");e.push(l),(g(a)||L(a))&&a[l]&&(n=a[l])}return n}const Z="9.14.0",K=-1,Q="en-US",ee="",te=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;let ae,ne,le;let re=null;const oe=e=>{re=e},se=()=>re;let ie=0;function ce(e={}){const t=p(e.onWarn)?e.onWarn:F,a=v(e.version)?e.version:Z,n=v(e.locale)||p(e.locale)?e.locale:Q,l=p(n)?Q:n,r=g(e.fallbackLocale)||L(e.fallbackLocale)||v(e.fallbackLocale)||!1===e.fallbackLocale?e.fallbackLocale:l,o=L(e.messages)?e.messages:{[l]:{}},s=L(e.datetimeFormats)?e.datetimeFormats:{[l]:{}},c=L(e.numberFormats)?e.numberFormats:{[l]:{}},m=u({},e.modifiers||{},{upper:(e,t)=>"text"===t&&v(e)?e.toUpperCase():"vnode"===t&&b(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>"text"===t&&v(e)?e.toLowerCase():"vnode"===t&&b(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>"text"===t&&v(e)?te(e):"vnode"===t&&b(e)&&"__v_isVNode"in e?te(e.children):e}),f=e.pluralRules||{},_=p(e.missing)?e.missing:null,E=!d(e.missingWarn)&&!i(e.missingWarn)||e.missingWarn,h=!d(e.fallbackWarn)&&!i(e.fallbackWarn)||e.fallbackWarn,k=!!e.fallbackFormat,T=!!e.unresolving,y=p(e.postTranslation)?e.postTranslation:null,N=L(e.processor)?e.processor:null,I=!d(e.warnHtmlMessage)||e.warnHtmlMessage,R=!!e.escapeParameter,O=p(e.messageCompiler)?e.messageCompiler:ae,M=p(e.messageResolver)?e.messageResolver:ne||P,W=p(e.localeFallbacker)?e.localeFallbacker:le||B,w=b(e.fallbackContext)?e.fallbackContext:void 0,C=e,D=b(C.__datetimeFormatters)?C.__datetimeFormatters:new Map,A=b(C.__numberFormatters)?C.__numberFormatters:new Map,S=b(C.__meta)?C.__meta:{};ie++;const $={version:a,cid:ie,locale:n,fallbackLocale:r,messages:o,modifiers:m,pluralRules:f,missing:_,missingWarn:E,fallbackWarn:h,fallbackFormat:k,unresolving:T,postTranslation:y,processor:N,warnHtmlMessage:I,escapeParameter:R,messageCompiler:O,messageResolver:M,localeFallbacker:W,fallbackContext:w,onWarn:t,__meta:S};return $.datetimeFormats=s,$.numberFormats=c,$.__datetimeFormatters=D,$.__numberFormatters=A,$}function ue(e,t,a,n,l){const{missing:r,onWarn:o}=e;if(null!==r){const n=r(e,a,t,l);return v(n)?n:t}return t}function me(e,t,a){e.__localeChainCache=new Map,e.localeFallbacker(e,a,t)}function fe(e,t){const a=t.indexOf(e);if(-1===a)return!1;for(let r=a+1;r<t.length;r++)if(n=e,l=t[r],n!==l&&n.split("-")[0]===l.split("-")[0])return!0;var n,l;return!1}const _e=e=>b(e)&&(0===e.t||0===e.type)&&("b"in e||"body"in e),ge=()=>"",pe=e=>p(e);function ve(e,...t){const{fallbackFormat:a,postTranslation:n,unresolving:l,messageCompiler:r,fallbackLocale:s,messages:i}=e,[c,u]=Ee(...t),f=d(u.missingWarn)?u.missingWarn:e.missingWarn,_=d(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn,p=d(u.escapeParameter)?u.escapeParameter:e.escapeParameter,E=!!u.resolvedMessage,h=v(u.default)||d(u.default)?d(u.default)?r?c:()=>c:u.default:a?r?c:()=>c:"",k=a||""!==h,L=V(e,u);p&&function(e){g(e.list)?e.list=e.list.map((e=>v(e)?m(e):e)):b(e.named)&&Object.keys(e.named).forEach((t=>{v(e.named[t])&&(e.named[t]=m(e.named[t]))}))}(u);let[T,F,y]=E?[c,L,i[L]||{}]:de(e,c,L,s,_,f),N=T,I=c;if(E||v(N)||_e(N)||pe(N)||k&&(N=h,I=N),!(E||(v(N)||_e(N)||pe(N))&&v(F)))return l?K:c;let R=!1;const O=pe(N)?N:be(e,c,F,N,I,(()=>{R=!0}));if(R)return N;const M=function(e,t,a,n){const{modifiers:l,pluralRules:r,messageResolver:s,fallbackLocale:i,fallbackWarn:c,missingWarn:u,fallbackContext:m}=e,f=n=>{let l=s(a,n);if(null==l&&m){const[,,e]=de(m,n,t,i,c,u);l=s(e,n)}if(v(l)||_e(l)){let a=!1;const r=be(e,n,t,l,n,(()=>{a=!0}));return a?ge:r}return pe(l)?l:ge},_={locale:t,modifiers:l,pluralRules:r,messages:f};e.processor&&(_.processor=e.processor);n.list&&(_.list=n.list);n.named&&(_.named=n.named);o(n.plural)&&(_.pluralIndex=n.plural);return _}(e,F,y,u),W=function(e,t,a){const n=t(a);return n}(0,O,x(M));return n?n(W,c):W}function de(e,t,a,n,l,r){const{messages:o,onWarn:s,messageResolver:i,localeFallbacker:c}=e,u=c(e,n,a);let m,f={},_=null;for(let g=0;g<u.length&&(m=u[g],f=o[m]||{},null===(_=i(f,t))&&(_=f[t]),!(v(_)||_e(_)||pe(_)));g++)if(!fe(m,u)){const a=ue(e,t,m,0,"translate");a!==t&&(_=a)}return[_,m,f]}function be(e,t,a,n,r,o){const{messageCompiler:s,warnHtmlMessage:i}=e;if(pe(n)){const e=n;return e.locale=e.locale||a,e.key=e.key||t,e}if(null==s){const e=()=>n;return e.locale=a,e.key=t,e}const c=s(n,function(e,t,a,n,r,o){return{locale:t,key:a,warnHtmlMessage:r,onError:e=>{throw o&&o(e),e},onCacheKey:e=>l(t,a,e)}}(0,a,r,0,i,o));return c.locale=a,c.key=t,c.source=n,c}function Ee(...e){const[t,a,n]=e,l={};if(!(v(t)||o(t)||pe(t)||_e(t)))throw Error(j.INVALID_ARGUMENT);const r=o(t)?String(t):(pe(t),t);return o(a)?l.plural=a:v(a)?l.default=a:L(a)&&!c(a)?l.named=a:g(a)&&(l.list=a),o(n)?l.plural=n:v(n)?l.default=n:L(n)&&u(l,n),[r,l]}function he(e,...t){const{datetimeFormats:a,unresolving:n,fallbackLocale:l,onWarn:r,localeFallbacker:o}=e,{__datetimeFormatters:s}=e,[i,m,f,_]=Le(...t);d(f.missingWarn)?f.missingWarn:e.missingWarn;d(f.fallbackWarn)?f.fallbackWarn:e.fallbackWarn;const g=!!f.part,p=V(e,f),b=o(e,l,p);if(!v(i)||""===i)return new Intl.DateTimeFormat(p,_).format(m);let E,h={},k=null;for(let c=0;c<b.length&&(E=b[c],h=a[E]||{},k=h[i],!L(k));c++)ue(e,i,E,0,"datetime format");if(!L(k)||!v(E))return n?K:i;let T=`${E}__${i}`;c(_)||(T=`${T}__${JSON.stringify(_)}`);let F=s.get(T);return F||(F=new Intl.DateTimeFormat(E,u({},k,_)),s.set(T,F)),g?F.formatToParts(m):F.format(m)}const ke=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function Le(...e){const[t,a,n,l]=e,r={};let i,c={};if(v(t)){const e=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!e)throw Error(j.INVALID_ISO_DATE_ARGUMENT);const a=e[3]?e[3].trim().startsWith("T")?`${e[1].trim()}${e[3].trim()}`:`${e[1].trim()}T${e[3].trim()}`:e[1].trim();i=new Date(a);try{i.toISOString()}catch(u){throw Error(j.INVALID_ISO_DATE_ARGUMENT)}}else if(s(t)){if(isNaN(t.getTime()))throw Error(j.INVALID_DATE_ARGUMENT);i=t}else{if(!o(t))throw Error(j.INVALID_ARGUMENT);i=t}return v(a)?r.key=a:L(a)&&Object.keys(a).forEach((e=>{ke.includes(e)?c[e]=a[e]:r[e]=a[e]})),v(n)?r.locale=n:L(n)&&(c=n),L(l)&&(c=l),[r.key||"",i,r,c]}function Te(e,t,a){const n=e;for(const l in a){const e=`${t}__${l}`;n.__datetimeFormatters.has(e)&&n.__datetimeFormatters.delete(e)}}function Fe(e,...t){const{numberFormats:a,unresolving:n,fallbackLocale:l,onWarn:r,localeFallbacker:o}=e,{__numberFormatters:s}=e,[i,m,f,_]=Ne(...t);d(f.missingWarn)?f.missingWarn:e.missingWarn;d(f.fallbackWarn)?f.fallbackWarn:e.fallbackWarn;const g=!!f.part,p=V(e,f),b=o(e,l,p);if(!v(i)||""===i)return new Intl.NumberFormat(p,_).format(m);let E,h={},k=null;for(let c=0;c<b.length&&(E=b[c],h=a[E]||{},k=h[i],!L(k));c++)ue(e,i,E,0,"number format");if(!L(k)||!v(E))return n?K:i;let T=`${E}__${i}`;c(_)||(T=`${T}__${JSON.stringify(_)}`);let F=s.get(T);return F||(F=new Intl.NumberFormat(E,u({},k,_)),s.set(T,F)),g?F.formatToParts(m):F.format(m)}const ye=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function Ne(...e){const[t,a,n,l]=e,r={};let s={};if(!o(t))throw Error(j.INVALID_ARGUMENT);const i=t;return v(a)?r.key=a:L(a)&&Object.keys(a).forEach((e=>{ye.includes(e)?s[e]=a[e]:r[e]=a[e]})),v(n)?r.locale=n:L(n)&&(s=n),L(l)&&(s=l),[r.key||"",i,r,s]}function Ie(e,t,a){const n=e;for(const l in a){const e=`${t}__${l}`;n.__numberFormatters.has(e)&&n.__numberFormatters.delete(e)}}const Re="9.14.0",Oe=j.__EXTEND_POINT__,Me=T(Oe),We={UNEXPECTED_RETURN_TYPE:Oe,INVALID_ARGUMENT:Me(),MUST_BE_CALL_SETUP_TOP:Me(),NOT_INSTALLED:Me(),NOT_AVAILABLE_IN_LEGACY_MODE:Me(),REQUIRED_VALUE:Me(),INVALID_VALUE:Me(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:Me(),NOT_INSTALLED_WITH_PROVIDE:Me(),UNEXPECTED_ERROR:Me(),NOT_COMPATIBLE_LEGACY_VUE_I18N:Me(),BRIDGE_SUPPORT_VUE_2_ONLY:Me(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:Me(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:Me(),__EXTEND_POINT__:Me()};const we=n("__translateVNode"),Pe=n("__datetimeParts"),Ce=n("__numberParts"),De=n("__setPluralRules"),Ae=n("__injectWithOption"),Se=n("__dispose");function $e(e){if(!b(e))return e;for(const t in e)if(_(e,t))if(t.includes(".")){const a=t.split("."),n=a.length-1;let l=e,r=!1;for(let e=0;e<n;e++){if(a[e]in l||(l[a[e]]={}),!b(l[a[e]])){r=!0;break}l=l[a[e]]}r||(l[a[n]]=e[t],delete e[t]),b(l[a[n]])&&$e(l[a[n]])}else b(e[t])&&$e(e[t]);return e}function Ue(e,t){const{messages:a,__i18n:n,messageResolver:l,flatJson:r}=t,o=L(a)?a:g(n)?{}:{[e]:{}};if(g(n)&&n.forEach((e=>{if("locale"in e&&"resource"in e){const{locale:t,resource:a}=e;t?(o[t]=o[t]||{},N(a,o[t])):N(a,o)}else v(e)&&N(JSON.parse(e),o)})),null==l&&r)for(const s in o)_(o,s)&&$e(o[s]);return o}function xe(e){return e.type}function He(e,t,a){let n=b(t.messages)?t.messages:{};"__i18nGlobal"in a&&(n=Ue(e.locale.value,{messages:n,__i18n:a.__i18nGlobal}));const l=Object.keys(n);if(l.length&&l.forEach((t=>{e.mergeLocaleMessage(t,n[t])})),b(t.datetimeFormats)){const a=Object.keys(t.datetimeFormats);a.length&&a.forEach((a=>{e.mergeDateTimeFormat(a,t.datetimeFormats[a])}))}if(b(t.numberFormats)){const a=Object.keys(t.numberFormats);a.length&&a.forEach((a=>{e.mergeNumberFormat(a,t.numberFormats[a])}))}}function je(e){return t.createVNode(t.Text,null,e,0)}const Ve=()=>[],Ge=()=>!1;let Ye=0;function Be(e){return(a,n,l,r)=>e(n,l,t.getCurrentInstance()||void 0,r)}function Xe(e={},n){const{__root:l,__injectWithOption:r}=e,s=void 0===l,c=e.flatJson,m=a?t.ref:t.shallowRef,f=!!e.translateExistCompatible;let E=!d(e.inheritLocale)||e.inheritLocale;const h=m(l&&E?l.locale.value:v(e.locale)?e.locale:Q),k=m(l&&E?l.fallbackLocale.value:v(e.fallbackLocale)||g(e.fallbackLocale)||L(e.fallbackLocale)||!1===e.fallbackLocale?e.fallbackLocale:h.value),T=m(Ue(h.value,e)),F=m(L(e.datetimeFormats)?e.datetimeFormats:{[h.value]:{}}),y=m(L(e.numberFormats)?e.numberFormats:{[h.value]:{}});let I=l?l.missingWarn:!d(e.missingWarn)&&!i(e.missingWarn)||e.missingWarn,R=l?l.fallbackWarn:!d(e.fallbackWarn)&&!i(e.fallbackWarn)||e.fallbackWarn,O=l?l.fallbackRoot:!d(e.fallbackRoot)||e.fallbackRoot,M=!!e.fallbackFormat,W=p(e.missing)?e.missing:null,w=p(e.missing)?Be(e.missing):null,P=p(e.postTranslation)?e.postTranslation:null,C=l?l.warnHtmlMessage:!d(e.warnHtmlMessage)||e.warnHtmlMessage,D=!!e.escapeParameter;const A=l?l.modifiers:L(e.modifiers)?e.modifiers:{};let S,$=e.pluralRules||l&&l.pluralRules;S=(()=>{s&&oe(null);const t={version:Re,locale:h.value,fallbackLocale:k.value,messages:T.value,modifiers:A,pluralRules:$,missing:null===w?void 0:w,missingWarn:I,fallbackWarn:R,fallbackFormat:M,unresolving:!0,postTranslation:null===P?void 0:P,warnHtmlMessage:C,escapeParameter:D,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};t.datetimeFormats=F.value,t.numberFormats=y.value,t.__datetimeFormatters=L(S)?S.__datetimeFormatters:void 0,t.__numberFormatters=L(S)?S.__numberFormatters:void 0;const a=ce(t);return s&&oe(a),a})(),me(S,h.value,k.value);const U=t.computed({get:()=>h.value,set:e=>{h.value=e,S.locale=h.value}}),x=t.computed({get:()=>k.value,set:e=>{k.value=e,S.fallbackLocale=k.value,me(S,h.value,e)}}),H=t.computed((()=>T.value)),j=t.computed((()=>F.value)),V=t.computed((()=>y.value));const G=(e,t,a,n,r,i)=>{let c;h.value,k.value,T.value,F.value,y.value;try{0,s||(S.fallbackContext=l?se():void 0),c=e(S)}finally{s||(S.fallbackContext=void 0)}if("translate exists"!==a&&o(c)&&c===K||"translate exists"===a&&!c){const[e,a]=t();return l&&O?n(l):r(e)}if(i(c))return c;throw Error(We.UNEXPECTED_RETURN_TYPE)};function Y(...e){return G((t=>Reflect.apply(ve,null,[t,...e])),(()=>Ee(...e)),"translate",(t=>Reflect.apply(t.t,t,[...e])),(e=>e),(e=>v(e)))}const B={normalize:function(e){return e.map((e=>v(e)||o(e)||d(e)?je(String(e)):e))},interpolate:e=>e,type:"vnode"};function z(e){return T.value[e]||{}}Ye++,l&&a&&(t.watch(l.locale,(e=>{E&&(h.value=e,S.locale=e,me(S,h.value,k.value))})),t.watch(l.fallbackLocale,(e=>{E&&(k.value=e,S.fallbackLocale=e,me(S,h.value,k.value))})));const J={id:Ye,locale:U,fallbackLocale:x,get inheritLocale(){return E},set inheritLocale(e){E=e,e&&l&&(h.value=l.locale.value,k.value=l.fallbackLocale.value,me(S,h.value,k.value))},get availableLocales(){return Object.keys(T.value).sort()},messages:H,get modifiers(){return A},get pluralRules(){return $||{}},get isGlobal(){return s},get missingWarn(){return I},set missingWarn(e){I=e,S.missingWarn=I},get fallbackWarn(){return R},set fallbackWarn(e){R=e,S.fallbackWarn=R},get fallbackRoot(){return O},set fallbackRoot(e){O=e},get fallbackFormat(){return M},set fallbackFormat(e){M=e,S.fallbackFormat=M},get warnHtmlMessage(){return C},set warnHtmlMessage(e){C=e,S.warnHtmlMessage=e},get escapeParameter(){return D},set escapeParameter(e){D=e,S.escapeParameter=e},t:Y,getLocaleMessage:z,setLocaleMessage:function(e,t){if(c){const a={[e]:t};for(const e in a)_(a,e)&&$e(a[e]);t=a[e]}T.value[e]=t,S.messages=T.value},mergeLocaleMessage:function(e,t){T.value[e]=T.value[e]||{};const a={[e]:t};if(c)for(const n in a)_(a,n)&&$e(a[n]);N(t=a[e],T.value[e]),S.messages=T.value},getPostTranslationHandler:function(){return p(P)?P:null},setPostTranslationHandler:function(e){P=e,S.postTranslation=e},getMissingHandler:function(){return W},setMissingHandler:function(e){null!==e&&(w=Be(e)),W=e,S.missing=w},[De]:function(e){$=e,S.pluralRules=$}};return J.datetimeFormats=j,J.numberFormats=V,J.rt=function(...e){const[t,a,n]=e;if(n&&!b(n))throw Error(We.INVALID_ARGUMENT);return Y(t,a,u({resolvedMessage:!0},n||{}))},J.te=function(e,t){return G((()=>{if(!e)return!1;const a=z(v(t)?t:h.value),n=S.messageResolver(a,e);return f?null!=n:_e(n)||pe(n)||v(n)}),(()=>[e]),"translate exists",(a=>Reflect.apply(a.te,a,[e,t])),Ge,(e=>d(e)))},J.tm=function(e){const t=function(e){let t=null;const a=X(S,k.value,h.value);for(let n=0;n<a.length;n++){const l=T.value[a[n]]||{},r=S.messageResolver(l,e);if(null!=r){t=r;break}}return t}(e);return null!=t?t:l&&l.tm(e)||{}},J.d=function(...e){return G((t=>Reflect.apply(he,null,[t,...e])),(()=>Le(...e)),"datetime format",(t=>Reflect.apply(t.d,t,[...e])),(()=>ee),(e=>v(e)))},J.n=function(...e){return G((t=>Reflect.apply(Fe,null,[t,...e])),(()=>Ne(...e)),"number format",(t=>Reflect.apply(t.n,t,[...e])),(()=>ee),(e=>v(e)))},J.getDateTimeFormat=function(e){return F.value[e]||{}},J.setDateTimeFormat=function(e,t){F.value[e]=t,S.datetimeFormats=F.value,Te(S,e,t)},J.mergeDateTimeFormat=function(e,t){F.value[e]=u(F.value[e]||{},t),S.datetimeFormats=F.value,Te(S,e,t)},J.getNumberFormat=function(e){return y.value[e]||{}},J.setNumberFormat=function(e,t){y.value[e]=t,S.numberFormats=y.value,Ie(S,e,t)},J.mergeNumberFormat=function(e,t){y.value[e]=u(y.value[e]||{},t),S.numberFormats=y.value,Ie(S,e,t)},J[Ae]=r,J[we]=function(...e){return G((t=>{let a;const n=t;try{n.processor=B,a=Reflect.apply(ve,null,[n,...e])}finally{n.processor=null}return a}),(()=>Ee(...e)),"translate",(t=>t[we](...e)),(e=>[je(e)]),(e=>g(e)))},J[Pe]=function(...e){return G((t=>Reflect.apply(he,null,[t,...e])),(()=>Le(...e)),"datetime format",(t=>t[Pe](...e)),Ve,(e=>v(e)||g(e)))},J[Ce]=function(...e){return G((t=>Reflect.apply(Fe,null,[t,...e])),(()=>Ne(...e)),"number format",(t=>t[Ce](...e)),Ve,(e=>v(e)||g(e)))},J}function ze(e={},t){{const t=Xe(function(e){const t=v(e.locale)?e.locale:Q,a=v(e.fallbackLocale)||g(e.fallbackLocale)||L(e.fallbackLocale)||!1===e.fallbackLocale?e.fallbackLocale:t,n=p(e.missing)?e.missing:void 0,l=!d(e.silentTranslationWarn)&&!i(e.silentTranslationWarn)||!e.silentTranslationWarn,r=!d(e.silentFallbackWarn)&&!i(e.silentFallbackWarn)||!e.silentFallbackWarn,o=!d(e.fallbackRoot)||e.fallbackRoot,s=!!e.formatFallbackMessages,c=L(e.modifiers)?e.modifiers:{},m=e.pluralizationRules,f=p(e.postTranslation)?e.postTranslation:void 0,_=!v(e.warnHtmlInMessage)||"off"!==e.warnHtmlInMessage,b=!!e.escapeParameterHtml,E=!d(e.sync)||e.sync;let h=e.messages;if(L(e.sharedMessages)){const t=e.sharedMessages;h=Object.keys(t).reduce(((e,a)=>{const n=e[a]||(e[a]={});return u(n,t[a]),e}),h||{})}const{__i18n:k,__root:T,__injectWithOption:F}=e,y=e.datetimeFormats,N=e.numberFormats,I=e.flatJson,R=e.translateExistCompatible;return{locale:t,fallbackLocale:a,messages:h,flatJson:I,datetimeFormats:y,numberFormats:N,missing:n,missingWarn:l,fallbackWarn:r,fallbackRoot:o,fallbackFormat:s,modifiers:c,pluralRules:m,postTranslation:f,warnHtmlMessage:_,escapeParameter:b,messageResolver:e.messageResolver,inheritLocale:E,translateExistCompatible:R,__i18n:k,__root:T,__injectWithOption:F}}(e)),{__extender:a}=e,n={id:t.id,get locale(){return t.locale.value},set locale(e){t.locale.value=e},get fallbackLocale(){return t.fallbackLocale.value},set fallbackLocale(e){t.fallbackLocale.value=e},get messages(){return t.messages.value},get datetimeFormats(){return t.datetimeFormats.value},get numberFormats(){return t.numberFormats.value},get availableLocales(){return t.availableLocales},get formatter(){return{interpolate:()=>[]}},set formatter(e){},get missing(){return t.getMissingHandler()},set missing(e){t.setMissingHandler(e)},get silentTranslationWarn(){return d(t.missingWarn)?!t.missingWarn:t.missingWarn},set silentTranslationWarn(e){t.missingWarn=d(e)?!e:e},get silentFallbackWarn(){return d(t.fallbackWarn)?!t.fallbackWarn:t.fallbackWarn},set silentFallbackWarn(e){t.fallbackWarn=d(e)?!e:e},get modifiers(){return t.modifiers},get formatFallbackMessages(){return t.fallbackFormat},set formatFallbackMessages(e){t.fallbackFormat=e},get postTranslation(){return t.getPostTranslationHandler()},set postTranslation(e){t.setPostTranslationHandler(e)},get sync(){return t.inheritLocale},set sync(e){t.inheritLocale=e},get warnHtmlInMessage(){return t.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(e){t.warnHtmlMessage="off"!==e},get escapeParameterHtml(){return t.escapeParameter},set escapeParameterHtml(e){t.escapeParameter=e},get preserveDirectiveContent(){return!0},set preserveDirectiveContent(e){},get pluralizationRules(){return t.pluralRules||{}},__composer:t,t(...e){const[a,n,l]=e,r={};let o=null,s=null;if(!v(a))throw Error(We.INVALID_ARGUMENT);const i=a;return v(n)?r.locale=n:g(n)?o=n:L(n)&&(s=n),g(l)?o=l:L(l)&&(s=l),Reflect.apply(t.t,t,[i,o||s||{},r])},rt:(...e)=>Reflect.apply(t.rt,t,[...e]),tc(...e){const[a,n,l]=e,r={plural:1};let s=null,i=null;if(!v(a))throw Error(We.INVALID_ARGUMENT);const c=a;return v(n)?r.locale=n:o(n)?r.plural=n:g(n)?s=n:L(n)&&(i=n),v(l)?r.locale=l:g(l)?s=l:L(l)&&(i=l),Reflect.apply(t.t,t,[c,s||i||{},r])},te:(e,a)=>t.te(e,a),tm:e=>t.tm(e),getLocaleMessage:e=>t.getLocaleMessage(e),setLocaleMessage(e,a){t.setLocaleMessage(e,a)},mergeLocaleMessage(e,a){t.mergeLocaleMessage(e,a)},d:(...e)=>Reflect.apply(t.d,t,[...e]),getDateTimeFormat:e=>t.getDateTimeFormat(e),setDateTimeFormat(e,a){t.setDateTimeFormat(e,a)},mergeDateTimeFormat(e,a){t.mergeDateTimeFormat(e,a)},n:(...e)=>Reflect.apply(t.n,t,[...e]),getNumberFormat:e=>t.getNumberFormat(e),setNumberFormat(e,a){t.setNumberFormat(e,a)},mergeNumberFormat(e,a){t.mergeNumberFormat(e,a)},getChoiceIndex:(e,t)=>-1};return n.__extender=a,n}}const Je={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>"parent"===e||"global"===e,default:"parent"},i18n:{type:Object}};function qe(e){return t.Fragment}const Ze=t.defineComponent({name:"i18n-t",props:u({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>o(e)||!isNaN(e)}},Je),setup(e,a){const{slots:n,attrs:l}=a,r=e.i18n||ct({useScope:e.scope,__useComponent:!0});return()=>{const o=Object.keys(n).filter((e=>"_"!==e)),s={};e.locale&&(s.locale=e.locale),void 0!==e.plural&&(s.plural=v(e.plural)?+e.plural:e.plural);const i=function({slots:e},a){if(1===a.length&&"default"===a[0])return(e.default?e.default():[]).reduce(((e,a)=>[...e,...a.type===t.Fragment?a.children:[a]]),[]);return a.reduce(((t,a)=>{const n=e[a];return n&&(t[a]=n()),t}),{})}(a,o),c=r[we](e.keypath,i,s),m=u({},l),f=v(e.tag)||b(e.tag)?e.tag:qe();return t.h(f,m,c)}}}),Ke=Ze;function Qe(e,a,n,l){const{slots:r,attrs:o}=a;return()=>{const a={part:!0};let s={};e.locale&&(a.locale=e.locale),v(e.format)?a.key=e.format:b(e.format)&&(v(e.format.key)&&(a.key=e.format.key),s=Object.keys(e.format).reduce(((t,a)=>n.includes(a)?u({},t,{[a]:e.format[a]}):t),{}));const i=l(e.value,a,s);let c=[a.key];g(i)?c=i.map(((e,t)=>{const a=r[e.type],n=a?a({[e.type]:e.value,index:t,parts:i}):[e.value];var l;return g(l=n)&&!v(l[0])&&(n[0].key=`${e.type}-${t}`),n})):v(i)&&(c=[i]);const m=u({},o),f=v(e.tag)||b(e.tag)?e.tag:qe();return t.h(f,m,c)}}const et=t.defineComponent({name:"i18n-n",props:u({value:{type:Number,required:!0},format:{type:[String,Object]}},Je),setup(e,t){const a=e.i18n||ct({useScope:e.scope,__useComponent:!0});return Qe(e,t,ye,((...e)=>a[Ce](...e)))}}),tt=et,at=t.defineComponent({name:"i18n-d",props:u({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Je),setup(e,t){const a=e.i18n||ct({useScope:e.scope,__useComponent:!0});return Qe(e,t,ke,((...e)=>a[Pe](...e)))}}),nt=at;function lt(e){const n=t=>{const{instance:a,modifiers:n,value:l}=t;if(!a||!a.$)throw Error(We.UNEXPECTED_ERROR);const r=function(e,t){const a=e;if("composition"===e.mode)return a.__getInstance(t)||e.global;{const n=a.__getInstance(t);return null!=n?n.__composer:e.global.__composer}}(e,a.$),o=rt(l);return[Reflect.apply(r.t,r,[...ot(o)]),r]};return{created:(l,r)=>{const[o,s]=n(r);a&&e.global===s&&(l.__i18nWatcher=t.watch(s.locale,(()=>{r.instance&&r.instance.$forceUpdate()}))),l.__composer=s,l.textContent=o},unmounted:e=>{a&&e.__i18nWatcher&&(e.__i18nWatcher(),e.__i18nWatcher=void 0,delete e.__i18nWatcher),e.__composer&&(e.__composer=void 0,delete e.__composer)},beforeUpdate:(e,{value:t})=>{if(e.__composer){const a=e.__composer,n=rt(t);e.textContent=Reflect.apply(a.t,a,[...ot(n)])}},getSSRProps:e=>{const[t]=n(e);return{textContent:t}}}}function rt(e){if(v(e))return{path:e};if(L(e)){if(!("path"in e))throw Error(We.REQUIRED_VALUE,"path");return e}throw Error(We.INVALID_VALUE)}function ot(e){const{path:t,locale:a,args:n,choice:l,plural:r}=e,s={},i=n||{};return v(a)&&(s.locale=a),o(l)&&(s.plural=l),o(r)&&(s.plural=r),[t,i,s]}function st(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[De](t.pluralizationRules||e.pluralizationRules);const a=Ue(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(a).forEach((t=>e.mergeLocaleMessage(t,a[t]))),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach((a=>e.mergeDateTimeFormat(a,t.datetimeFormats[a]))),t.numberFormats&&Object.keys(t.numberFormats).forEach((a=>e.mergeNumberFormat(a,t.numberFormats[a]))),e}const it=n("global-vue-i18n");function ct(e={}){const a=t.getCurrentInstance();if(null==a)throw Error(We.MUST_BE_CALL_SETUP_TOP);if(!a.isCE&&null!=a.appContext.app&&!a.appContext.app.__VUE_I18N_SYMBOL__)throw Error(We.NOT_INSTALLED);const n=function(e){{const a=t.inject(e.isCE?it:e.appContext.app.__VUE_I18N_SYMBOL__);if(!a)throw function(e,...t){return I(e,null,void 0)}(e.isCE?We.NOT_INSTALLED_WITH_PROVIDE:We.UNEXPECTED_ERROR);return a}}(a),l=function(e){return"composition"===e.mode?e.global:e.global.__composer}(n),r=xe(a),o=function(e,t){return c(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}(e,r);if("legacy"===n.mode&&!e.__useComponent){if(!n.allowComposition)throw Error(We.NOT_AVAILABLE_IN_LEGACY_MODE);return function(e,a,n,l={}){const r="local"===a,o=t.shallowRef(null);if(r&&e.proxy&&!e.proxy.$options.i18n&&!e.proxy.$options.__i18n)throw Error(We.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const s=d(l.inheritLocale)?l.inheritLocale:!v(l.locale),c=t.ref(!r||s?n.locale.value:v(l.locale)?l.locale:Q),u=t.ref(!r||s?n.fallbackLocale.value:v(l.fallbackLocale)||g(l.fallbackLocale)||L(l.fallbackLocale)||!1===l.fallbackLocale?l.fallbackLocale:c.value),m=t.ref(Ue(c.value,l)),f=t.ref(L(l.datetimeFormats)?l.datetimeFormats:{[c.value]:{}}),_=t.ref(L(l.numberFormats)?l.numberFormats:{[c.value]:{}}),b=r?n.missingWarn:!d(l.missingWarn)&&!i(l.missingWarn)||l.missingWarn,E=r?n.fallbackWarn:!d(l.fallbackWarn)&&!i(l.fallbackWarn)||l.fallbackWarn,h=r?n.fallbackRoot:!d(l.fallbackRoot)||l.fallbackRoot,k=!!l.fallbackFormat,T=p(l.missing)?l.missing:null,F=p(l.postTranslation)?l.postTranslation:null,y=r?n.warnHtmlMessage:!d(l.warnHtmlMessage)||l.warnHtmlMessage,N=!!l.escapeParameter,I=r?n.modifiers:L(l.modifiers)?l.modifiers:{},R=l.pluralRules||r&&n.pluralRules;function O(){return[c.value,u.value,m.value,f.value,_.value]}const M=t.computed({get:()=>o.value?o.value.locale.value:c.value,set:e=>{o.value&&(o.value.locale.value=e),c.value=e}}),W=t.computed({get:()=>o.value?o.value.fallbackLocale.value:u.value,set:e=>{o.value&&(o.value.fallbackLocale.value=e),u.value=e}}),w=t.computed((()=>o.value?o.value.messages.value:m.value)),P=t.computed((()=>f.value)),C=t.computed((()=>_.value));function D(){return o.value?o.value.getPostTranslationHandler():F}function A(e){o.value&&o.value.setPostTranslationHandler(e)}function S(){return o.value?o.value.getMissingHandler():T}function $(e){o.value&&o.value.setMissingHandler(e)}function U(e){return O(),e()}function x(...e){return o.value?U((()=>Reflect.apply(o.value.t,null,[...e]))):U((()=>""))}function H(...e){return o.value?Reflect.apply(o.value.rt,null,[...e]):""}function j(...e){return o.value?U((()=>Reflect.apply(o.value.d,null,[...e]))):U((()=>""))}function V(...e){return o.value?U((()=>Reflect.apply(o.value.n,null,[...e]))):U((()=>""))}function G(e){return o.value?o.value.tm(e):{}}function Y(e,t){return!!o.value&&o.value.te(e,t)}function B(e){return o.value?o.value.getLocaleMessage(e):{}}function X(e,t){o.value&&(o.value.setLocaleMessage(e,t),m.value[e]=t)}function z(e,t){o.value&&o.value.mergeLocaleMessage(e,t)}function J(e){return o.value?o.value.getDateTimeFormat(e):{}}function q(e,t){o.value&&(o.value.setDateTimeFormat(e,t),f.value[e]=t)}function Z(e,t){o.value&&o.value.mergeDateTimeFormat(e,t)}function K(e){return o.value?o.value.getNumberFormat(e):{}}function ee(e,t){o.value&&(o.value.setNumberFormat(e,t),_.value[e]=t)}function te(e,t){o.value&&o.value.mergeNumberFormat(e,t)}const ae={get id(){return o.value?o.value.id:-1},locale:M,fallbackLocale:W,messages:w,datetimeFormats:P,numberFormats:C,get inheritLocale(){return o.value?o.value.inheritLocale:s},set inheritLocale(e){o.value&&(o.value.inheritLocale=e)},get availableLocales(){return o.value?o.value.availableLocales:Object.keys(m.value)},get modifiers(){return o.value?o.value.modifiers:I},get pluralRules(){return o.value?o.value.pluralRules:R},get isGlobal(){return!!o.value&&o.value.isGlobal},get missingWarn(){return o.value?o.value.missingWarn:b},set missingWarn(e){o.value&&(o.value.missingWarn=e)},get fallbackWarn(){return o.value?o.value.fallbackWarn:E},set fallbackWarn(e){o.value&&(o.value.missingWarn=e)},get fallbackRoot(){return o.value?o.value.fallbackRoot:h},set fallbackRoot(e){o.value&&(o.value.fallbackRoot=e)},get fallbackFormat(){return o.value?o.value.fallbackFormat:k},set fallbackFormat(e){o.value&&(o.value.fallbackFormat=e)},get warnHtmlMessage(){return o.value?o.value.warnHtmlMessage:y},set warnHtmlMessage(e){o.value&&(o.value.warnHtmlMessage=e)},get escapeParameter(){return o.value?o.value.escapeParameter:N},set escapeParameter(e){o.value&&(o.value.escapeParameter=e)},t:x,getPostTranslationHandler:D,setPostTranslationHandler:A,getMissingHandler:S,setMissingHandler:$,rt:H,d:j,n:V,tm:G,te:Y,getLocaleMessage:B,setLocaleMessage:X,mergeLocaleMessage:z,getDateTimeFormat:J,setDateTimeFormat:q,mergeDateTimeFormat:Z,getNumberFormat:K,setNumberFormat:ee,mergeNumberFormat:te};function ne(e){e.locale.value=c.value,e.fallbackLocale.value=u.value,Object.keys(m.value).forEach((t=>{e.mergeLocaleMessage(t,m.value[t])})),Object.keys(f.value).forEach((t=>{e.mergeDateTimeFormat(t,f.value[t])})),Object.keys(_.value).forEach((t=>{e.mergeNumberFormat(t,_.value[t])})),e.escapeParameter=N,e.fallbackFormat=k,e.fallbackRoot=h,e.fallbackWarn=E,e.missingWarn=b,e.warnHtmlMessage=y}return t.onBeforeMount((()=>{if(null==e.proxy||null==e.proxy.$i18n)throw Error(We.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const t=o.value=e.proxy.$i18n.__composer;"global"===a?(c.value=t.locale.value,u.value=t.fallbackLocale.value,m.value=t.messages.value,f.value=t.datetimeFormats.value,_.value=t.numberFormats.value):r&&ne(t)})),ae}(a,o,l,e)}if("global"===o)return He(l,e,r),l;if("parent"===o){let t=function(e,t,a=!1){let n=null;const l=t.root;let r=function(e,t=!1){if(null==e)return null;return t&&e.vnode.ctx||e.parent}(t,a);for(;null!=r;){const t=e;if("composition"===e.mode)n=t.__getInstance(r);else{const e=t.__getInstance(r);null!=e&&(n=e.__composer,a&&n&&!n[Ae]&&(n=null))}if(null!=n)break;if(l===r)break;r=r.parent}return n}(n,a,e.__useComponent);return null==t&&(t=l),t}const s=n;let m=s.__getInstance(a);if(null==m){const n=u({},e);"__i18n"in r&&(n.__i18n=r.__i18n),l&&(n.__root=l),m=Xe(n),s.__composerExtend&&(m[Se]=s.__composerExtend(m)),function(e,a,n){t.onMounted((()=>{}),a),t.onUnmounted((()=>{const t=n;e.__deleteInstance(a);const l=t[Se];l&&(l(),delete t[Se])}),a)}(s,a,m),s.__setInstance(a,m)}return m}const ut=["locale","fallbackLocale","availableLocales"],mt=["t","rt","d","n","tm","te"];return ne=function(e,t){if(!b(e))return null;let a=w.get(t);if(a||(a=function(e){const t=[];let a,n,l,r,o,s,i,c=-1,u=0,m=0;const f=[];function _(){const t=e[c+1];if(5===u&&"'"===t||6===u&&'"'===t)return c++,l="\\"+t,f[0](),!0}for(f[0]=()=>{void 0===n?n=l:n+=l},f[1]=()=>{void 0!==n&&(t.push(n),n=void 0)},f[2]=()=>{f[0](),m++},f[3]=()=>{if(m>0)m--,u=4,f[0]();else{if(m=0,void 0===n)return!1;if(n=W(n),!1===n)return!1;f[1]()}};null!==u;)if(c++,a=e[c],"\\"!==a||!_()){if(r=M(a),i=R[u],o=i[r]||i.l||8,8===o)return;if(u=o[0],void 0!==o[1]&&(s=f[o[1]],s&&(l=a,!1===s())))return;if(7===u)return t}}(t),a&&w.set(t,a)),!a)return null;const n=a.length;let l=e,r=0;for(;r<n;){const e=l[a[r]];if(void 0===e)return null;if(p(l))return null;l=e,r++}return l},le=X,e.DatetimeFormat=at,e.I18nD=nt,e.I18nInjectionKey=it,e.I18nN=tt,e.I18nT=Ke,e.NumberFormat=et,e.Translation=Ze,e.VERSION=Re,e.castToVueI18n=e=>{if(!("__VUE_I18N_BRIDGE__"in e))throw Error(We.NOT_COMPATIBLE_LEGACY_VUE_I18N);return e},e.createI18n=function(e={},a){const l=!d(e.legacy)||e.legacy,r=!d(e.globalInjection)||e.globalInjection,o=!l||!!e.allowComposition,s=new Map,[i,c]=function(e,a,n){const l=t.effectScope();{const t=a?l.run((()=>ze(e))):l.run((()=>Xe(e)));if(null==t)throw Error(We.UNEXPECTED_ERROR);return[l,t]}}(e,l),u=n("");{const e={get mode(){return l?"legacy":"composition"},get allowComposition(){return o},async install(a,...n){if(a.__VUE_I18N_SYMBOL__=u,a.provide(a.__VUE_I18N_SYMBOL__,e),L(n[0])){const t=n[0];e.__composerExtend=t.__composerExtend,e.__vueI18nExtend=t.__vueI18nExtend}let o=null;!l&&r&&(o=function(e,a){const n=Object.create(null);ut.forEach((e=>{const l=Object.getOwnPropertyDescriptor(a,e);if(!l)throw Error(We.UNEXPECTED_ERROR);const r=t.isRef(l.value)?{get:()=>l.value.value,set(e){l.value.value=e}}:{get:()=>l.get&&l.get()};Object.defineProperty(n,e,r)})),e.config.globalProperties.$i18n=n,mt.forEach((t=>{const n=Object.getOwnPropertyDescriptor(a,t);if(!n||!n.value)throw Error(We.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${t}`,n)}));const l=()=>{delete e.config.globalProperties.$i18n,mt.forEach((t=>{delete e.config.globalProperties[`$${t}`]}))};return l}(a,e.global)),function(e,t,...a){const n=L(a[0])?a[0]:{},l=!!n.useI18nComponentName;(!d(n.globalInstall)||n.globalInstall)&&([l?"i18n":Ze.name,"I18nT"].forEach((t=>e.component(t,Ze))),[et.name,"I18nN"].forEach((t=>e.component(t,et))),[at.name,"I18nD"].forEach((t=>e.component(t,at)))),e.directive("t",lt(t))}(a,e,...n),l&&a.mixin(function(e,a,n){return{beforeCreate(){const l=t.getCurrentInstance();if(!l)throw Error(We.UNEXPECTED_ERROR);const r=this.$options;if(r.i18n){const t=r.i18n;if(r.__i18n&&(t.__i18n=r.__i18n),t.__root=a,this===this.$root)this.$i18n=st(e,t);else{t.__injectWithOption=!0,t.__extender=n.__vueI18nExtend,this.$i18n=ze(t);const e=this.$i18n;e.__extender&&(e.__disposer=e.__extender(this.$i18n))}}else if(r.__i18n)if(this===this.$root)this.$i18n=st(e,r);else{this.$i18n=ze({__i18n:r.__i18n,__injectWithOption:!0,__extender:n.__vueI18nExtend,__root:a});const e=this.$i18n;e.__extender&&(e.__disposer=e.__extender(this.$i18n))}else this.$i18n=e;r.__i18nGlobal&&He(a,r,r),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),n.__setInstance(l,this.$i18n)},mounted(){},unmounted(){const e=t.getCurrentInstance();if(!e)throw Error(We.UNEXPECTED_ERROR);const a=this.$i18n;delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,a.__disposer&&(a.__disposer(),delete a.__disposer,delete a.__extender),n.__deleteInstance(e),delete this.$i18n}}}(c,c.__composer,e));const s=a.unmount;a.unmount=()=>{o&&o(),e.dispose(),s()}},get global(){return c},dispose(){i.stop()},__instances:s,__getInstance:function(e){return s.get(e)||null},__setInstance:function(e,t){s.set(e,t)},__deleteInstance:function(e){s.delete(e)}};return e}},e.useI18n=ct,e.vTDirective=lt,e}({},Vue);
var VueI18n=function(e,t){"use strict";const a="undefined"!=typeof window,n=(e,t=!1)=>t?Symbol.for(e):Symbol(e),l=(e,t,a)=>r({l:e,k:t,s:a}),r=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),o=e=>"number"==typeof e&&isFinite(e),s=e=>"[object Date]"===k(e),i=e=>"[object RegExp]"===k(e),c=e=>L(e)&&0===Object.keys(e).length,u=Object.assign;function m(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}const f=Object.prototype.hasOwnProperty;function _(e,t){return f.call(e,t)}const g=Array.isArray,p=e=>"function"==typeof e,v=e=>"string"==typeof e,d=e=>"boolean"==typeof e,b=e=>null!==e&&"object"==typeof e,E=e=>b(e)&&p(e.then)&&p(e.catch),h=Object.prototype.toString,k=e=>h.call(e),L=e=>{if(!b(e))return!1;const t=Object.getPrototypeOf(e);return null===t||t.constructor===Object};function T(e){let t=e;return()=>++t}function F(e,t){"undefined"!=typeof console&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const y=e=>!b(e)||g(e);function N(e,t){if(y(e)||y(t))throw new Error("Invalid value");const a=[{src:e,des:t}];for(;a.length;){const{src:e,des:t}=a.pop();Object.keys(e).forEach((n=>{b(e[n])&&!b(t[n])&&(t[n]=Array.isArray(e[n])?[]:{}),y(t[n])||y(e[n])?t[n]=e[n]:a.push({src:e[n],des:t[n]})}))}}function I(e,t,a={}){const{domain:n,messages:l,args:r}=a,o=new SyntaxError(String(e));return o.code=e,t&&(o.location=t),o.domain=n,o}const R=[];R[0]={w:[0],i:[3,0],"[":[4],o:[7]},R[1]={w:[1],".":[2],"[":[4],o:[7]},R[2]={w:[2],i:[3,0],0:[3,0]},R[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]},R[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]},R[5]={"'":[4,0],o:8,l:[5,0]},R[6]={'"':[4,0],o:8,l:[6,0]};const O=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function M(e){if(null==e)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 W(e){const t=e.trim();return("0"!==e.charAt(0)||!isNaN(parseInt(e)))&&(a=t,O.test(a)?function(e){const t=e.charCodeAt(0);return t!==e.charCodeAt(e.length-1)||34!==t&&39!==t?e:e.slice(1,-1)}(t):"*"+t);var a}const w=new Map;function P(e,t){return b(e)?e[t]:null}const C=e=>e,D=e=>"",A="text",S=e=>0===e.length?"":function(e,t=""){return e.reduce(((e,a,n)=>0===n?e+a:e+t+a),"")}(e),$=e=>null==e?"":g(e)||L(e)&&e.toString===h?JSON.stringify(e,null,2):String(e);function U(e,t){return e=Math.abs(e),2===t?e?e>1?1:0:1:e?Math.min(e,2):0}function x(e={}){const t=e.locale,a=function(e){const t=o(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(o(e.named.count)||o(e.named.n))?o(e.named.count)?e.named.count:o(e.named.n)?e.named.n:t:t}(e),n=b(e.pluralRules)&&v(t)&&p(e.pluralRules[t])?e.pluralRules[t]:U,l=b(e.pluralRules)&&v(t)&&p(e.pluralRules[t])?U:void 0,r=e.list||[],s=e.named||{};o(e.pluralIndex)&&function(e,t){t.count||(t.count=e),t.n||(t.n=e)}(a,s);function i(t){const a=p(e.messages)?e.messages(t):!!b(e.messages)&&e.messages[t];return a||(e.parent?e.parent.message(t):D)}const c=L(e.processor)&&p(e.processor.normalize)?e.processor.normalize:S,m=L(e.processor)&&p(e.processor.interpolate)?e.processor.interpolate:$,f={list:e=>r[e],named:e=>s[e],plural:e=>e[n(a,e.length,l)],linked:(t,...a)=>{const[n,l]=a;let r="text",o="";1===a.length?b(n)?(o=n.modifier||o,r=n.type||r):v(n)&&(o=n||o):2===a.length&&(v(n)&&(o=n||o),v(l)&&(r=l||r));const s=i(t)(f),c="vnode"===r&&g(s)&&o?s[0]:s;return o?(u=o,e.modifiers?e.modifiers[u]:C)(c,r):c;var u},message:i,type:L(e.processor)&&v(e.processor.type)?e.processor.type:A,interpolate:m,normalize:c,values:u({},r,s)};return f}const H=T(17),j={INVALID_ARGUMENT:17,INVALID_DATE_ARGUMENT:H(),INVALID_ISO_DATE_ARGUMENT:H(),NOT_SUPPORT_NON_STRING_MESSAGE:H(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:H(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:H(),NOT_SUPPORT_LOCALE_TYPE:H(),__EXTEND_POINT__:H()};function V(e,t){return null!=t.locale?Y(t.locale):Y(e.locale)}let G;function Y(e){if(v(e))return e;if(p(e)){if(e.resolvedOnce&&null!=G)return G;if("Function"===e.constructor.name){const t=e();if(E(t))throw Error(j.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return G=t}throw Error(j.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}throw Error(j.NOT_SUPPORT_LOCALE_TYPE)}function B(e,t,a){return[...new Set([a,...g(t)?t:b(t)?Object.keys(t):v(t)?[t]:[a]])]}function X(e,t,a){const n=v(a)?a:Q,l=e;l.__localeChainCache||(l.__localeChainCache=new Map);let r=l.__localeChainCache.get(n);if(!r){r=[];let e=[a];for(;g(e);)e=z(r,e,t);const o=g(t)||!L(t)?t:t.default?t.default:null;e=v(o)?[o]:o,g(e)&&z(r,e,!1),l.__localeChainCache.set(n,r)}return r}function z(e,t,a){let n=!0;for(let l=0;l<t.length&&d(n);l++){const r=t[l];v(r)&&(n=J(e,t[l],a))}return n}function J(e,t,a){let n;const l=t.split("-");do{n=q(e,l.join("-"),a),l.splice(-1,1)}while(l.length&&!0===n);return n}function q(e,t,a){let n=!1;if(!e.includes(t)&&(n=!0,t)){n="!"!==t[t.length-1];const l=t.replace(/!/g,"");e.push(l),(g(a)||L(a))&&a[l]&&(n=a[l])}return n}const Z="9.14.1",K=-1,Q="en-US",ee="",te=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;let ae,ne,le;let re=null;const oe=e=>{re=e},se=()=>re;let ie=0;function ce(e={}){const t=p(e.onWarn)?e.onWarn:F,a=v(e.version)?e.version:Z,n=v(e.locale)||p(e.locale)?e.locale:Q,l=p(n)?Q:n,r=g(e.fallbackLocale)||L(e.fallbackLocale)||v(e.fallbackLocale)||!1===e.fallbackLocale?e.fallbackLocale:l,o=L(e.messages)?e.messages:{[l]:{}},s=L(e.datetimeFormats)?e.datetimeFormats:{[l]:{}},c=L(e.numberFormats)?e.numberFormats:{[l]:{}},m=u({},e.modifiers||{},{upper:(e,t)=>"text"===t&&v(e)?e.toUpperCase():"vnode"===t&&b(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>"text"===t&&v(e)?e.toLowerCase():"vnode"===t&&b(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>"text"===t&&v(e)?te(e):"vnode"===t&&b(e)&&"__v_isVNode"in e?te(e.children):e}),f=e.pluralRules||{},_=p(e.missing)?e.missing:null,E=!d(e.missingWarn)&&!i(e.missingWarn)||e.missingWarn,h=!d(e.fallbackWarn)&&!i(e.fallbackWarn)||e.fallbackWarn,k=!!e.fallbackFormat,T=!!e.unresolving,y=p(e.postTranslation)?e.postTranslation:null,N=L(e.processor)?e.processor:null,I=!d(e.warnHtmlMessage)||e.warnHtmlMessage,R=!!e.escapeParameter,O=p(e.messageCompiler)?e.messageCompiler:ae,M=p(e.messageResolver)?e.messageResolver:ne||P,W=p(e.localeFallbacker)?e.localeFallbacker:le||B,w=b(e.fallbackContext)?e.fallbackContext:void 0,C=e,D=b(C.__datetimeFormatters)?C.__datetimeFormatters:new Map,A=b(C.__numberFormatters)?C.__numberFormatters:new Map,S=b(C.__meta)?C.__meta:{};ie++;const $={version:a,cid:ie,locale:n,fallbackLocale:r,messages:o,modifiers:m,pluralRules:f,missing:_,missingWarn:E,fallbackWarn:h,fallbackFormat:k,unresolving:T,postTranslation:y,processor:N,warnHtmlMessage:I,escapeParameter:R,messageCompiler:O,messageResolver:M,localeFallbacker:W,fallbackContext:w,onWarn:t,__meta:S};return $.datetimeFormats=s,$.numberFormats=c,$.__datetimeFormatters=D,$.__numberFormatters=A,$}function ue(e,t,a,n,l){const{missing:r,onWarn:o}=e;if(null!==r){const n=r(e,a,t,l);return v(n)?n:t}return t}function me(e,t,a){e.__localeChainCache=new Map,e.localeFallbacker(e,a,t)}function fe(e,t){const a=t.indexOf(e);if(-1===a)return!1;for(let r=a+1;r<t.length;r++)if(n=e,l=t[r],n!==l&&n.split("-")[0]===l.split("-")[0])return!0;var n,l;return!1}const _e=e=>b(e)&&(0===e.t||0===e.type)&&("b"in e||"body"in e),ge=()=>"",pe=e=>p(e);function ve(e,...t){const{fallbackFormat:a,postTranslation:n,unresolving:l,messageCompiler:r,fallbackLocale:s,messages:i}=e,[c,u]=Ee(...t),f=d(u.missingWarn)?u.missingWarn:e.missingWarn,_=d(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn,p=d(u.escapeParameter)?u.escapeParameter:e.escapeParameter,E=!!u.resolvedMessage,h=v(u.default)||d(u.default)?d(u.default)?r?c:()=>c:u.default:a?r?c:()=>c:"",k=a||""!==h,L=V(e,u);p&&function(e){g(e.list)?e.list=e.list.map((e=>v(e)?m(e):e)):b(e.named)&&Object.keys(e.named).forEach((t=>{v(e.named[t])&&(e.named[t]=m(e.named[t]))}))}(u);let[T,F,y]=E?[c,L,i[L]||{}]:de(e,c,L,s,_,f),N=T,I=c;if(E||v(N)||_e(N)||pe(N)||k&&(N=h,I=N),!(E||(v(N)||_e(N)||pe(N))&&v(F)))return l?K:c;let R=!1;const O=pe(N)?N:be(e,c,F,N,I,(()=>{R=!0}));if(R)return N;const M=function(e,t,a,n){const{modifiers:l,pluralRules:r,messageResolver:s,fallbackLocale:i,fallbackWarn:c,missingWarn:u,fallbackContext:m}=e,f=n=>{let l=s(a,n);if(null==l&&m){const[,,e]=de(m,n,t,i,c,u);l=s(e,n)}if(v(l)||_e(l)){let a=!1;const r=be(e,n,t,l,n,(()=>{a=!0}));return a?ge:r}return pe(l)?l:ge},_={locale:t,modifiers:l,pluralRules:r,messages:f};e.processor&&(_.processor=e.processor);n.list&&(_.list=n.list);n.named&&(_.named=n.named);o(n.plural)&&(_.pluralIndex=n.plural);return _}(e,F,y,u),W=function(e,t,a){const n=t(a);return n}(0,O,x(M));return n?n(W,c):W}function de(e,t,a,n,l,r){const{messages:o,onWarn:s,messageResolver:i,localeFallbacker:c}=e,u=c(e,n,a);let m,f={},_=null;for(let g=0;g<u.length&&(m=u[g],f=o[m]||{},null===(_=i(f,t))&&(_=f[t]),!(v(_)||_e(_)||pe(_)));g++)if(!fe(m,u)){const a=ue(e,t,m,0,"translate");a!==t&&(_=a)}return[_,m,f]}function be(e,t,a,n,r,o){const{messageCompiler:s,warnHtmlMessage:i}=e;if(pe(n)){const e=n;return e.locale=e.locale||a,e.key=e.key||t,e}if(null==s){const e=()=>n;return e.locale=a,e.key=t,e}const c=s(n,function(e,t,a,n,r,o){return{locale:t,key:a,warnHtmlMessage:r,onError:e=>{throw o&&o(e),e},onCacheKey:e=>l(t,a,e)}}(0,a,r,0,i,o));return c.locale=a,c.key=t,c.source=n,c}function Ee(...e){const[t,a,n]=e,l={};if(!(v(t)||o(t)||pe(t)||_e(t)))throw Error(j.INVALID_ARGUMENT);const r=o(t)?String(t):(pe(t),t);return o(a)?l.plural=a:v(a)?l.default=a:L(a)&&!c(a)?l.named=a:g(a)&&(l.list=a),o(n)?l.plural=n:v(n)?l.default=n:L(n)&&u(l,n),[r,l]}function he(e,...t){const{datetimeFormats:a,unresolving:n,fallbackLocale:l,onWarn:r,localeFallbacker:o}=e,{__datetimeFormatters:s}=e,[i,m,f,_]=Le(...t);d(f.missingWarn)?f.missingWarn:e.missingWarn;d(f.fallbackWarn)?f.fallbackWarn:e.fallbackWarn;const g=!!f.part,p=V(e,f),b=o(e,l,p);if(!v(i)||""===i)return new Intl.DateTimeFormat(p,_).format(m);let E,h={},k=null;for(let c=0;c<b.length&&(E=b[c],h=a[E]||{},k=h[i],!L(k));c++)ue(e,i,E,0,"datetime format");if(!L(k)||!v(E))return n?K:i;let T=`${E}__${i}`;c(_)||(T=`${T}__${JSON.stringify(_)}`);let F=s.get(T);return F||(F=new Intl.DateTimeFormat(E,u({},k,_)),s.set(T,F)),g?F.formatToParts(m):F.format(m)}const ke=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function Le(...e){const[t,a,n,l]=e,r={};let i,c={};if(v(t)){const e=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!e)throw Error(j.INVALID_ISO_DATE_ARGUMENT);const a=e[3]?e[3].trim().startsWith("T")?`${e[1].trim()}${e[3].trim()}`:`${e[1].trim()}T${e[3].trim()}`:e[1].trim();i=new Date(a);try{i.toISOString()}catch(u){throw Error(j.INVALID_ISO_DATE_ARGUMENT)}}else if(s(t)){if(isNaN(t.getTime()))throw Error(j.INVALID_DATE_ARGUMENT);i=t}else{if(!o(t))throw Error(j.INVALID_ARGUMENT);i=t}return v(a)?r.key=a:L(a)&&Object.keys(a).forEach((e=>{ke.includes(e)?c[e]=a[e]:r[e]=a[e]})),v(n)?r.locale=n:L(n)&&(c=n),L(l)&&(c=l),[r.key||"",i,r,c]}function Te(e,t,a){const n=e;for(const l in a){const e=`${t}__${l}`;n.__datetimeFormatters.has(e)&&n.__datetimeFormatters.delete(e)}}function Fe(e,...t){const{numberFormats:a,unresolving:n,fallbackLocale:l,onWarn:r,localeFallbacker:o}=e,{__numberFormatters:s}=e,[i,m,f,_]=Ne(...t);d(f.missingWarn)?f.missingWarn:e.missingWarn;d(f.fallbackWarn)?f.fallbackWarn:e.fallbackWarn;const g=!!f.part,p=V(e,f),b=o(e,l,p);if(!v(i)||""===i)return new Intl.NumberFormat(p,_).format(m);let E,h={},k=null;for(let c=0;c<b.length&&(E=b[c],h=a[E]||{},k=h[i],!L(k));c++)ue(e,i,E,0,"number format");if(!L(k)||!v(E))return n?K:i;let T=`${E}__${i}`;c(_)||(T=`${T}__${JSON.stringify(_)}`);let F=s.get(T);return F||(F=new Intl.NumberFormat(E,u({},k,_)),s.set(T,F)),g?F.formatToParts(m):F.format(m)}const ye=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function Ne(...e){const[t,a,n,l]=e,r={};let s={};if(!o(t))throw Error(j.INVALID_ARGUMENT);const i=t;return v(a)?r.key=a:L(a)&&Object.keys(a).forEach((e=>{ye.includes(e)?s[e]=a[e]:r[e]=a[e]})),v(n)?r.locale=n:L(n)&&(s=n),L(l)&&(s=l),[r.key||"",i,r,s]}function Ie(e,t,a){const n=e;for(const l in a){const e=`${t}__${l}`;n.__numberFormatters.has(e)&&n.__numberFormatters.delete(e)}}const Re="9.14.1",Oe=j.__EXTEND_POINT__,Me=T(Oe),We={UNEXPECTED_RETURN_TYPE:Oe,INVALID_ARGUMENT:Me(),MUST_BE_CALL_SETUP_TOP:Me(),NOT_INSTALLED:Me(),NOT_AVAILABLE_IN_LEGACY_MODE:Me(),REQUIRED_VALUE:Me(),INVALID_VALUE:Me(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:Me(),NOT_INSTALLED_WITH_PROVIDE:Me(),UNEXPECTED_ERROR:Me(),NOT_COMPATIBLE_LEGACY_VUE_I18N:Me(),BRIDGE_SUPPORT_VUE_2_ONLY:Me(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:Me(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:Me(),__EXTEND_POINT__:Me()};const we=n("__translateVNode"),Pe=n("__datetimeParts"),Ce=n("__numberParts"),De=n("__setPluralRules"),Ae=n("__injectWithOption"),Se=n("__dispose");function $e(e){if(!b(e))return e;for(const t in e)if(_(e,t))if(t.includes(".")){const a=t.split("."),n=a.length-1;let l=e,r=!1;for(let e=0;e<n;e++){if(a[e]in l||(l[a[e]]={}),!b(l[a[e]])){r=!0;break}l=l[a[e]]}r||(l[a[n]]=e[t],delete e[t]),b(l[a[n]])&&$e(l[a[n]])}else b(e[t])&&$e(e[t]);return e}function Ue(e,t){const{messages:a,__i18n:n,messageResolver:l,flatJson:r}=t,o=L(a)?a:g(n)?{}:{[e]:{}};if(g(n)&&n.forEach((e=>{if("locale"in e&&"resource"in e){const{locale:t,resource:a}=e;t?(o[t]=o[t]||{},N(a,o[t])):N(a,o)}else v(e)&&N(JSON.parse(e),o)})),null==l&&r)for(const s in o)_(o,s)&&$e(o[s]);return o}function xe(e){return e.type}function He(e,t,a){let n=b(t.messages)?t.messages:{};"__i18nGlobal"in a&&(n=Ue(e.locale.value,{messages:n,__i18n:a.__i18nGlobal}));const l=Object.keys(n);if(l.length&&l.forEach((t=>{e.mergeLocaleMessage(t,n[t])})),b(t.datetimeFormats)){const a=Object.keys(t.datetimeFormats);a.length&&a.forEach((a=>{e.mergeDateTimeFormat(a,t.datetimeFormats[a])}))}if(b(t.numberFormats)){const a=Object.keys(t.numberFormats);a.length&&a.forEach((a=>{e.mergeNumberFormat(a,t.numberFormats[a])}))}}function je(e){return t.createVNode(t.Text,null,e,0)}const Ve=()=>[],Ge=()=>!1;let Ye=0;function Be(e){return(a,n,l,r)=>e(n,l,t.getCurrentInstance()||void 0,r)}function Xe(e={},n){const{__root:l,__injectWithOption:r}=e,s=void 0===l,c=e.flatJson,m=a?t.ref:t.shallowRef,f=!!e.translateExistCompatible;let E=!d(e.inheritLocale)||e.inheritLocale;const h=m(l&&E?l.locale.value:v(e.locale)?e.locale:Q),k=m(l&&E?l.fallbackLocale.value:v(e.fallbackLocale)||g(e.fallbackLocale)||L(e.fallbackLocale)||!1===e.fallbackLocale?e.fallbackLocale:h.value),T=m(Ue(h.value,e)),F=m(L(e.datetimeFormats)?e.datetimeFormats:{[h.value]:{}}),y=m(L(e.numberFormats)?e.numberFormats:{[h.value]:{}});let I=l?l.missingWarn:!d(e.missingWarn)&&!i(e.missingWarn)||e.missingWarn,R=l?l.fallbackWarn:!d(e.fallbackWarn)&&!i(e.fallbackWarn)||e.fallbackWarn,O=l?l.fallbackRoot:!d(e.fallbackRoot)||e.fallbackRoot,M=!!e.fallbackFormat,W=p(e.missing)?e.missing:null,w=p(e.missing)?Be(e.missing):null,P=p(e.postTranslation)?e.postTranslation:null,C=l?l.warnHtmlMessage:!d(e.warnHtmlMessage)||e.warnHtmlMessage,D=!!e.escapeParameter;const A=l?l.modifiers:L(e.modifiers)?e.modifiers:{};let S,$=e.pluralRules||l&&l.pluralRules;S=(()=>{s&&oe(null);const t={version:Re,locale:h.value,fallbackLocale:k.value,messages:T.value,modifiers:A,pluralRules:$,missing:null===w?void 0:w,missingWarn:I,fallbackWarn:R,fallbackFormat:M,unresolving:!0,postTranslation:null===P?void 0:P,warnHtmlMessage:C,escapeParameter:D,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};t.datetimeFormats=F.value,t.numberFormats=y.value,t.__datetimeFormatters=L(S)?S.__datetimeFormatters:void 0,t.__numberFormatters=L(S)?S.__numberFormatters:void 0;const a=ce(t);return s&&oe(a),a})(),me(S,h.value,k.value);const U=t.computed({get:()=>h.value,set:e=>{h.value=e,S.locale=h.value}}),x=t.computed({get:()=>k.value,set:e=>{k.value=e,S.fallbackLocale=k.value,me(S,h.value,e)}}),H=t.computed((()=>T.value)),j=t.computed((()=>F.value)),V=t.computed((()=>y.value));const G=(e,t,a,n,r,i)=>{let c;h.value,k.value,T.value,F.value,y.value;try{0,s||(S.fallbackContext=l?se():void 0),c=e(S)}finally{s||(S.fallbackContext=void 0)}if("translate exists"!==a&&o(c)&&c===K||"translate exists"===a&&!c){const[e,a]=t();return l&&O?n(l):r(e)}if(i(c))return c;throw Error(We.UNEXPECTED_RETURN_TYPE)};function Y(...e){return G((t=>Reflect.apply(ve,null,[t,...e])),(()=>Ee(...e)),"translate",(t=>Reflect.apply(t.t,t,[...e])),(e=>e),(e=>v(e)))}const B={normalize:function(e){return e.map((e=>v(e)||o(e)||d(e)?je(String(e)):e))},interpolate:e=>e,type:"vnode"};function z(e){return T.value[e]||{}}Ye++,l&&a&&(t.watch(l.locale,(e=>{E&&(h.value=e,S.locale=e,me(S,h.value,k.value))})),t.watch(l.fallbackLocale,(e=>{E&&(k.value=e,S.fallbackLocale=e,me(S,h.value,k.value))})));const J={id:Ye,locale:U,fallbackLocale:x,get inheritLocale(){return E},set inheritLocale(e){E=e,e&&l&&(h.value=l.locale.value,k.value=l.fallbackLocale.value,me(S,h.value,k.value))},get availableLocales(){return Object.keys(T.value).sort()},messages:H,get modifiers(){return A},get pluralRules(){return $||{}},get isGlobal(){return s},get missingWarn(){return I},set missingWarn(e){I=e,S.missingWarn=I},get fallbackWarn(){return R},set fallbackWarn(e){R=e,S.fallbackWarn=R},get fallbackRoot(){return O},set fallbackRoot(e){O=e},get fallbackFormat(){return M},set fallbackFormat(e){M=e,S.fallbackFormat=M},get warnHtmlMessage(){return C},set warnHtmlMessage(e){C=e,S.warnHtmlMessage=e},get escapeParameter(){return D},set escapeParameter(e){D=e,S.escapeParameter=e},t:Y,getLocaleMessage:z,setLocaleMessage:function(e,t){if(c){const a={[e]:t};for(const e in a)_(a,e)&&$e(a[e]);t=a[e]}T.value[e]=t,S.messages=T.value},mergeLocaleMessage:function(e,t){T.value[e]=T.value[e]||{};const a={[e]:t};if(c)for(const n in a)_(a,n)&&$e(a[n]);N(t=a[e],T.value[e]),S.messages=T.value},getPostTranslationHandler:function(){return p(P)?P:null},setPostTranslationHandler:function(e){P=e,S.postTranslation=e},getMissingHandler:function(){return W},setMissingHandler:function(e){null!==e&&(w=Be(e)),W=e,S.missing=w},[De]:function(e){$=e,S.pluralRules=$}};return J.datetimeFormats=j,J.numberFormats=V,J.rt=function(...e){const[t,a,n]=e;if(n&&!b(n))throw Error(We.INVALID_ARGUMENT);return Y(t,a,u({resolvedMessage:!0},n||{}))},J.te=function(e,t){return G((()=>{if(!e)return!1;const a=z(v(t)?t:h.value),n=S.messageResolver(a,e);return f?null!=n:_e(n)||pe(n)||v(n)}),(()=>[e]),"translate exists",(a=>Reflect.apply(a.te,a,[e,t])),Ge,(e=>d(e)))},J.tm=function(e){const t=function(e){let t=null;const a=X(S,k.value,h.value);for(let n=0;n<a.length;n++){const l=T.value[a[n]]||{},r=S.messageResolver(l,e);if(null!=r){t=r;break}}return t}(e);return null!=t?t:l&&l.tm(e)||{}},J.d=function(...e){return G((t=>Reflect.apply(he,null,[t,...e])),(()=>Le(...e)),"datetime format",(t=>Reflect.apply(t.d,t,[...e])),(()=>ee),(e=>v(e)))},J.n=function(...e){return G((t=>Reflect.apply(Fe,null,[t,...e])),(()=>Ne(...e)),"number format",(t=>Reflect.apply(t.n,t,[...e])),(()=>ee),(e=>v(e)))},J.getDateTimeFormat=function(e){return F.value[e]||{}},J.setDateTimeFormat=function(e,t){F.value[e]=t,S.datetimeFormats=F.value,Te(S,e,t)},J.mergeDateTimeFormat=function(e,t){F.value[e]=u(F.value[e]||{},t),S.datetimeFormats=F.value,Te(S,e,t)},J.getNumberFormat=function(e){return y.value[e]||{}},J.setNumberFormat=function(e,t){y.value[e]=t,S.numberFormats=y.value,Ie(S,e,t)},J.mergeNumberFormat=function(e,t){y.value[e]=u(y.value[e]||{},t),S.numberFormats=y.value,Ie(S,e,t)},J[Ae]=r,J[we]=function(...e){return G((t=>{let a;const n=t;try{n.processor=B,a=Reflect.apply(ve,null,[n,...e])}finally{n.processor=null}return a}),(()=>Ee(...e)),"translate",(t=>t[we](...e)),(e=>[je(e)]),(e=>g(e)))},J[Pe]=function(...e){return G((t=>Reflect.apply(he,null,[t,...e])),(()=>Le(...e)),"datetime format",(t=>t[Pe](...e)),Ve,(e=>v(e)||g(e)))},J[Ce]=function(...e){return G((t=>Reflect.apply(Fe,null,[t,...e])),(()=>Ne(...e)),"number format",(t=>t[Ce](...e)),Ve,(e=>v(e)||g(e)))},J}function ze(e={},t){{const t=Xe(function(e){const t=v(e.locale)?e.locale:Q,a=v(e.fallbackLocale)||g(e.fallbackLocale)||L(e.fallbackLocale)||!1===e.fallbackLocale?e.fallbackLocale:t,n=p(e.missing)?e.missing:void 0,l=!d(e.silentTranslationWarn)&&!i(e.silentTranslationWarn)||!e.silentTranslationWarn,r=!d(e.silentFallbackWarn)&&!i(e.silentFallbackWarn)||!e.silentFallbackWarn,o=!d(e.fallbackRoot)||e.fallbackRoot,s=!!e.formatFallbackMessages,c=L(e.modifiers)?e.modifiers:{},m=e.pluralizationRules,f=p(e.postTranslation)?e.postTranslation:void 0,_=!v(e.warnHtmlInMessage)||"off"!==e.warnHtmlInMessage,b=!!e.escapeParameterHtml,E=!d(e.sync)||e.sync;let h=e.messages;if(L(e.sharedMessages)){const t=e.sharedMessages;h=Object.keys(t).reduce(((e,a)=>{const n=e[a]||(e[a]={});return u(n,t[a]),e}),h||{})}const{__i18n:k,__root:T,__injectWithOption:F}=e,y=e.datetimeFormats,N=e.numberFormats,I=e.flatJson,R=e.translateExistCompatible;return{locale:t,fallbackLocale:a,messages:h,flatJson:I,datetimeFormats:y,numberFormats:N,missing:n,missingWarn:l,fallbackWarn:r,fallbackRoot:o,fallbackFormat:s,modifiers:c,pluralRules:m,postTranslation:f,warnHtmlMessage:_,escapeParameter:b,messageResolver:e.messageResolver,inheritLocale:E,translateExistCompatible:R,__i18n:k,__root:T,__injectWithOption:F}}(e)),{__extender:a}=e,n={id:t.id,get locale(){return t.locale.value},set locale(e){t.locale.value=e},get fallbackLocale(){return t.fallbackLocale.value},set fallbackLocale(e){t.fallbackLocale.value=e},get messages(){return t.messages.value},get datetimeFormats(){return t.datetimeFormats.value},get numberFormats(){return t.numberFormats.value},get availableLocales(){return t.availableLocales},get formatter(){return{interpolate:()=>[]}},set formatter(e){},get missing(){return t.getMissingHandler()},set missing(e){t.setMissingHandler(e)},get silentTranslationWarn(){return d(t.missingWarn)?!t.missingWarn:t.missingWarn},set silentTranslationWarn(e){t.missingWarn=d(e)?!e:e},get silentFallbackWarn(){return d(t.fallbackWarn)?!t.fallbackWarn:t.fallbackWarn},set silentFallbackWarn(e){t.fallbackWarn=d(e)?!e:e},get modifiers(){return t.modifiers},get formatFallbackMessages(){return t.fallbackFormat},set formatFallbackMessages(e){t.fallbackFormat=e},get postTranslation(){return t.getPostTranslationHandler()},set postTranslation(e){t.setPostTranslationHandler(e)},get sync(){return t.inheritLocale},set sync(e){t.inheritLocale=e},get warnHtmlInMessage(){return t.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(e){t.warnHtmlMessage="off"!==e},get escapeParameterHtml(){return t.escapeParameter},set escapeParameterHtml(e){t.escapeParameter=e},get preserveDirectiveContent(){return!0},set preserveDirectiveContent(e){},get pluralizationRules(){return t.pluralRules||{}},__composer:t,t(...e){const[a,n,l]=e,r={};let o=null,s=null;if(!v(a))throw Error(We.INVALID_ARGUMENT);const i=a;return v(n)?r.locale=n:g(n)?o=n:L(n)&&(s=n),g(l)?o=l:L(l)&&(s=l),Reflect.apply(t.t,t,[i,o||s||{},r])},rt:(...e)=>Reflect.apply(t.rt,t,[...e]),tc(...e){const[a,n,l]=e,r={plural:1};let s=null,i=null;if(!v(a))throw Error(We.INVALID_ARGUMENT);const c=a;return v(n)?r.locale=n:o(n)?r.plural=n:g(n)?s=n:L(n)&&(i=n),v(l)?r.locale=l:g(l)?s=l:L(l)&&(i=l),Reflect.apply(t.t,t,[c,s||i||{},r])},te:(e,a)=>t.te(e,a),tm:e=>t.tm(e),getLocaleMessage:e=>t.getLocaleMessage(e),setLocaleMessage(e,a){t.setLocaleMessage(e,a)},mergeLocaleMessage(e,a){t.mergeLocaleMessage(e,a)},d:(...e)=>Reflect.apply(t.d,t,[...e]),getDateTimeFormat:e=>t.getDateTimeFormat(e),setDateTimeFormat(e,a){t.setDateTimeFormat(e,a)},mergeDateTimeFormat(e,a){t.mergeDateTimeFormat(e,a)},n:(...e)=>Reflect.apply(t.n,t,[...e]),getNumberFormat:e=>t.getNumberFormat(e),setNumberFormat(e,a){t.setNumberFormat(e,a)},mergeNumberFormat(e,a){t.mergeNumberFormat(e,a)},getChoiceIndex:(e,t)=>-1};return n.__extender=a,n}}const Je={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>"parent"===e||"global"===e,default:"parent"},i18n:{type:Object}};function qe(e){return t.Fragment}const Ze=t.defineComponent({name:"i18n-t",props:u({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>o(e)||!isNaN(e)}},Je),setup(e,a){const{slots:n,attrs:l}=a,r=e.i18n||ct({useScope:e.scope,__useComponent:!0});return()=>{const o=Object.keys(n).filter((e=>"_"!==e)),s={};e.locale&&(s.locale=e.locale),void 0!==e.plural&&(s.plural=v(e.plural)?+e.plural:e.plural);const i=function({slots:e},a){if(1===a.length&&"default"===a[0])return(e.default?e.default():[]).reduce(((e,a)=>[...e,...a.type===t.Fragment?a.children:[a]]),[]);return a.reduce(((t,a)=>{const n=e[a];return n&&(t[a]=n()),t}),{})}(a,o),c=r[we](e.keypath,i,s),m=u({},l),f=v(e.tag)||b(e.tag)?e.tag:qe();return t.h(f,m,c)}}}),Ke=Ze;function Qe(e,a,n,l){const{slots:r,attrs:o}=a;return()=>{const a={part:!0};let s={};e.locale&&(a.locale=e.locale),v(e.format)?a.key=e.format:b(e.format)&&(v(e.format.key)&&(a.key=e.format.key),s=Object.keys(e.format).reduce(((t,a)=>n.includes(a)?u({},t,{[a]:e.format[a]}):t),{}));const i=l(e.value,a,s);let c=[a.key];g(i)?c=i.map(((e,t)=>{const a=r[e.type],n=a?a({[e.type]:e.value,index:t,parts:i}):[e.value];var l;return g(l=n)&&!v(l[0])&&(n[0].key=`${e.type}-${t}`),n})):v(i)&&(c=[i]);const m=u({},o),f=v(e.tag)||b(e.tag)?e.tag:qe();return t.h(f,m,c)}}const et=t.defineComponent({name:"i18n-n",props:u({value:{type:Number,required:!0},format:{type:[String,Object]}},Je),setup(e,t){const a=e.i18n||ct({useScope:e.scope,__useComponent:!0});return Qe(e,t,ye,((...e)=>a[Ce](...e)))}}),tt=et,at=t.defineComponent({name:"i18n-d",props:u({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Je),setup(e,t){const a=e.i18n||ct({useScope:e.scope,__useComponent:!0});return Qe(e,t,ke,((...e)=>a[Pe](...e)))}}),nt=at;function lt(e){const n=t=>{const{instance:a,modifiers:n,value:l}=t;if(!a||!a.$)throw Error(We.UNEXPECTED_ERROR);const r=function(e,t){const a=e;if("composition"===e.mode)return a.__getInstance(t)||e.global;{const n=a.__getInstance(t);return null!=n?n.__composer:e.global.__composer}}(e,a.$),o=rt(l);return[Reflect.apply(r.t,r,[...ot(o)]),r]};return{created:(l,r)=>{const[o,s]=n(r);a&&e.global===s&&(l.__i18nWatcher=t.watch(s.locale,(()=>{r.instance&&r.instance.$forceUpdate()}))),l.__composer=s,l.textContent=o},unmounted:e=>{a&&e.__i18nWatcher&&(e.__i18nWatcher(),e.__i18nWatcher=void 0,delete e.__i18nWatcher),e.__composer&&(e.__composer=void 0,delete e.__composer)},beforeUpdate:(e,{value:t})=>{if(e.__composer){const a=e.__composer,n=rt(t);e.textContent=Reflect.apply(a.t,a,[...ot(n)])}},getSSRProps:e=>{const[t]=n(e);return{textContent:t}}}}function rt(e){if(v(e))return{path:e};if(L(e)){if(!("path"in e))throw Error(We.REQUIRED_VALUE,"path");return e}throw Error(We.INVALID_VALUE)}function ot(e){const{path:t,locale:a,args:n,choice:l,plural:r}=e,s={},i=n||{};return v(a)&&(s.locale=a),o(l)&&(s.plural=l),o(r)&&(s.plural=r),[t,i,s]}function st(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[De](t.pluralizationRules||e.pluralizationRules);const a=Ue(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(a).forEach((t=>e.mergeLocaleMessage(t,a[t]))),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach((a=>e.mergeDateTimeFormat(a,t.datetimeFormats[a]))),t.numberFormats&&Object.keys(t.numberFormats).forEach((a=>e.mergeNumberFormat(a,t.numberFormats[a]))),e}const it=n("global-vue-i18n");function ct(e={}){const a=t.getCurrentInstance();if(null==a)throw Error(We.MUST_BE_CALL_SETUP_TOP);if(!a.isCE&&null!=a.appContext.app&&!a.appContext.app.__VUE_I18N_SYMBOL__)throw Error(We.NOT_INSTALLED);const n=function(e){{const a=t.inject(e.isCE?it:e.appContext.app.__VUE_I18N_SYMBOL__);if(!a)throw function(e,...t){return I(e,null,void 0)}(e.isCE?We.NOT_INSTALLED_WITH_PROVIDE:We.UNEXPECTED_ERROR);return a}}(a),l=function(e){return"composition"===e.mode?e.global:e.global.__composer}(n),r=xe(a),o=function(e,t){return c(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}(e,r);if("legacy"===n.mode&&!e.__useComponent){if(!n.allowComposition)throw Error(We.NOT_AVAILABLE_IN_LEGACY_MODE);return function(e,a,n,l={}){const r="local"===a,o=t.shallowRef(null);if(r&&e.proxy&&!e.proxy.$options.i18n&&!e.proxy.$options.__i18n)throw Error(We.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const s=d(l.inheritLocale)?l.inheritLocale:!v(l.locale),c=t.ref(!r||s?n.locale.value:v(l.locale)?l.locale:Q),u=t.ref(!r||s?n.fallbackLocale.value:v(l.fallbackLocale)||g(l.fallbackLocale)||L(l.fallbackLocale)||!1===l.fallbackLocale?l.fallbackLocale:c.value),m=t.ref(Ue(c.value,l)),f=t.ref(L(l.datetimeFormats)?l.datetimeFormats:{[c.value]:{}}),_=t.ref(L(l.numberFormats)?l.numberFormats:{[c.value]:{}}),b=r?n.missingWarn:!d(l.missingWarn)&&!i(l.missingWarn)||l.missingWarn,E=r?n.fallbackWarn:!d(l.fallbackWarn)&&!i(l.fallbackWarn)||l.fallbackWarn,h=r?n.fallbackRoot:!d(l.fallbackRoot)||l.fallbackRoot,k=!!l.fallbackFormat,T=p(l.missing)?l.missing:null,F=p(l.postTranslation)?l.postTranslation:null,y=r?n.warnHtmlMessage:!d(l.warnHtmlMessage)||l.warnHtmlMessage,N=!!l.escapeParameter,I=r?n.modifiers:L(l.modifiers)?l.modifiers:{},R=l.pluralRules||r&&n.pluralRules;function O(){return[c.value,u.value,m.value,f.value,_.value]}const M=t.computed({get:()=>o.value?o.value.locale.value:c.value,set:e=>{o.value&&(o.value.locale.value=e),c.value=e}}),W=t.computed({get:()=>o.value?o.value.fallbackLocale.value:u.value,set:e=>{o.value&&(o.value.fallbackLocale.value=e),u.value=e}}),w=t.computed((()=>o.value?o.value.messages.value:m.value)),P=t.computed((()=>f.value)),C=t.computed((()=>_.value));function D(){return o.value?o.value.getPostTranslationHandler():F}function A(e){o.value&&o.value.setPostTranslationHandler(e)}function S(){return o.value?o.value.getMissingHandler():T}function $(e){o.value&&o.value.setMissingHandler(e)}function U(e){return O(),e()}function x(...e){return o.value?U((()=>Reflect.apply(o.value.t,null,[...e]))):U((()=>""))}function H(...e){return o.value?Reflect.apply(o.value.rt,null,[...e]):""}function j(...e){return o.value?U((()=>Reflect.apply(o.value.d,null,[...e]))):U((()=>""))}function V(...e){return o.value?U((()=>Reflect.apply(o.value.n,null,[...e]))):U((()=>""))}function G(e){return o.value?o.value.tm(e):{}}function Y(e,t){return!!o.value&&o.value.te(e,t)}function B(e){return o.value?o.value.getLocaleMessage(e):{}}function X(e,t){o.value&&(o.value.setLocaleMessage(e,t),m.value[e]=t)}function z(e,t){o.value&&o.value.mergeLocaleMessage(e,t)}function J(e){return o.value?o.value.getDateTimeFormat(e):{}}function q(e,t){o.value&&(o.value.setDateTimeFormat(e,t),f.value[e]=t)}function Z(e,t){o.value&&o.value.mergeDateTimeFormat(e,t)}function K(e){return o.value?o.value.getNumberFormat(e):{}}function ee(e,t){o.value&&(o.value.setNumberFormat(e,t),_.value[e]=t)}function te(e,t){o.value&&o.value.mergeNumberFormat(e,t)}const ae={get id(){return o.value?o.value.id:-1},locale:M,fallbackLocale:W,messages:w,datetimeFormats:P,numberFormats:C,get inheritLocale(){return o.value?o.value.inheritLocale:s},set inheritLocale(e){o.value&&(o.value.inheritLocale=e)},get availableLocales(){return o.value?o.value.availableLocales:Object.keys(m.value)},get modifiers(){return o.value?o.value.modifiers:I},get pluralRules(){return o.value?o.value.pluralRules:R},get isGlobal(){return!!o.value&&o.value.isGlobal},get missingWarn(){return o.value?o.value.missingWarn:b},set missingWarn(e){o.value&&(o.value.missingWarn=e)},get fallbackWarn(){return o.value?o.value.fallbackWarn:E},set fallbackWarn(e){o.value&&(o.value.missingWarn=e)},get fallbackRoot(){return o.value?o.value.fallbackRoot:h},set fallbackRoot(e){o.value&&(o.value.fallbackRoot=e)},get fallbackFormat(){return o.value?o.value.fallbackFormat:k},set fallbackFormat(e){o.value&&(o.value.fallbackFormat=e)},get warnHtmlMessage(){return o.value?o.value.warnHtmlMessage:y},set warnHtmlMessage(e){o.value&&(o.value.warnHtmlMessage=e)},get escapeParameter(){return o.value?o.value.escapeParameter:N},set escapeParameter(e){o.value&&(o.value.escapeParameter=e)},t:x,getPostTranslationHandler:D,setPostTranslationHandler:A,getMissingHandler:S,setMissingHandler:$,rt:H,d:j,n:V,tm:G,te:Y,getLocaleMessage:B,setLocaleMessage:X,mergeLocaleMessage:z,getDateTimeFormat:J,setDateTimeFormat:q,mergeDateTimeFormat:Z,getNumberFormat:K,setNumberFormat:ee,mergeNumberFormat:te};function ne(e){e.locale.value=c.value,e.fallbackLocale.value=u.value,Object.keys(m.value).forEach((t=>{e.mergeLocaleMessage(t,m.value[t])})),Object.keys(f.value).forEach((t=>{e.mergeDateTimeFormat(t,f.value[t])})),Object.keys(_.value).forEach((t=>{e.mergeNumberFormat(t,_.value[t])})),e.escapeParameter=N,e.fallbackFormat=k,e.fallbackRoot=h,e.fallbackWarn=E,e.missingWarn=b,e.warnHtmlMessage=y}return t.onBeforeMount((()=>{if(null==e.proxy||null==e.proxy.$i18n)throw Error(We.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const t=o.value=e.proxy.$i18n.__composer;"global"===a?(c.value=t.locale.value,u.value=t.fallbackLocale.value,m.value=t.messages.value,f.value=t.datetimeFormats.value,_.value=t.numberFormats.value):r&&ne(t)})),ae}(a,o,l,e)}if("global"===o)return He(l,e,r),l;if("parent"===o){let t=function(e,t,a=!1){let n=null;const l=t.root;let r=function(e,t=!1){if(null==e)return null;return t&&e.vnode.ctx||e.parent}(t,a);for(;null!=r;){const t=e;if("composition"===e.mode)n=t.__getInstance(r);else{const e=t.__getInstance(r);null!=e&&(n=e.__composer,a&&n&&!n[Ae]&&(n=null))}if(null!=n)break;if(l===r)break;r=r.parent}return n}(n,a,e.__useComponent);return null==t&&(t=l),t}const s=n;let m=s.__getInstance(a);if(null==m){const n=u({},e);"__i18n"in r&&(n.__i18n=r.__i18n),l&&(n.__root=l),m=Xe(n),s.__composerExtend&&(m[Se]=s.__composerExtend(m)),function(e,a,n){t.onMounted((()=>{}),a),t.onUnmounted((()=>{const t=n;e.__deleteInstance(a);const l=t[Se];l&&(l(),delete t[Se])}),a)}(s,a,m),s.__setInstance(a,m)}return m}const ut=["locale","fallbackLocale","availableLocales"],mt=["t","rt","d","n","tm","te"];return ne=function(e,t){if(!b(e))return null;let a=w.get(t);if(a||(a=function(e){const t=[];let a,n,l,r,o,s,i,c=-1,u=0,m=0;const f=[];function _(){const t=e[c+1];if(5===u&&"'"===t||6===u&&'"'===t)return c++,l="\\"+t,f[0](),!0}for(f[0]=()=>{void 0===n?n=l:n+=l},f[1]=()=>{void 0!==n&&(t.push(n),n=void 0)},f[2]=()=>{f[0](),m++},f[3]=()=>{if(m>0)m--,u=4,f[0]();else{if(m=0,void 0===n)return!1;if(n=W(n),!1===n)return!1;f[1]()}};null!==u;)if(c++,a=e[c],"\\"!==a||!_()){if(r=M(a),i=R[u],o=i[r]||i.l||8,8===o)return;if(u=o[0],void 0!==o[1]&&(s=f[o[1]],s&&(l=a,!1===s())))return;if(7===u)return t}}(t),a&&w.set(t,a)),!a)return null;const n=a.length;let l=e,r=0;for(;r<n;){const e=l[a[r]];if(void 0===e)return null;if(p(l))return null;l=e,r++}return l},le=X,e.DatetimeFormat=at,e.I18nD=nt,e.I18nInjectionKey=it,e.I18nN=tt,e.I18nT=Ke,e.NumberFormat=et,e.Translation=Ze,e.VERSION=Re,e.castToVueI18n=e=>{if(!("__VUE_I18N_BRIDGE__"in e))throw Error(We.NOT_COMPATIBLE_LEGACY_VUE_I18N);return e},e.createI18n=function(e={},a){const l=!d(e.legacy)||e.legacy,r=!d(e.globalInjection)||e.globalInjection,o=!l||!!e.allowComposition,s=new Map,[i,c]=function(e,a,n){const l=t.effectScope();{const t=a?l.run((()=>ze(e))):l.run((()=>Xe(e)));if(null==t)throw Error(We.UNEXPECTED_ERROR);return[l,t]}}(e,l),u=n("");{const e={get mode(){return l?"legacy":"composition"},get allowComposition(){return o},async install(a,...n){if(a.__VUE_I18N_SYMBOL__=u,a.provide(a.__VUE_I18N_SYMBOL__,e),L(n[0])){const t=n[0];e.__composerExtend=t.__composerExtend,e.__vueI18nExtend=t.__vueI18nExtend}let o=null;!l&&r&&(o=function(e,a){const n=Object.create(null);ut.forEach((e=>{const l=Object.getOwnPropertyDescriptor(a,e);if(!l)throw Error(We.UNEXPECTED_ERROR);const r=t.isRef(l.value)?{get:()=>l.value.value,set(e){l.value.value=e}}:{get:()=>l.get&&l.get()};Object.defineProperty(n,e,r)})),e.config.globalProperties.$i18n=n,mt.forEach((t=>{const n=Object.getOwnPropertyDescriptor(a,t);if(!n||!n.value)throw Error(We.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${t}`,n)}));const l=()=>{delete e.config.globalProperties.$i18n,mt.forEach((t=>{delete e.config.globalProperties[`$${t}`]}))};return l}(a,e.global)),function(e,t,...a){const n=L(a[0])?a[0]:{},l=!!n.useI18nComponentName;(!d(n.globalInstall)||n.globalInstall)&&([l?"i18n":Ze.name,"I18nT"].forEach((t=>e.component(t,Ze))),[et.name,"I18nN"].forEach((t=>e.component(t,et))),[at.name,"I18nD"].forEach((t=>e.component(t,at)))),e.directive("t",lt(t))}(a,e,...n),l&&a.mixin(function(e,a,n){return{beforeCreate(){const l=t.getCurrentInstance();if(!l)throw Error(We.UNEXPECTED_ERROR);const r=this.$options;if(r.i18n){const t=r.i18n;if(r.__i18n&&(t.__i18n=r.__i18n),t.__root=a,this===this.$root)this.$i18n=st(e,t);else{t.__injectWithOption=!0,t.__extender=n.__vueI18nExtend,this.$i18n=ze(t);const e=this.$i18n;e.__extender&&(e.__disposer=e.__extender(this.$i18n))}}else if(r.__i18n)if(this===this.$root)this.$i18n=st(e,r);else{this.$i18n=ze({__i18n:r.__i18n,__injectWithOption:!0,__extender:n.__vueI18nExtend,__root:a});const e=this.$i18n;e.__extender&&(e.__disposer=e.__extender(this.$i18n))}else this.$i18n=e;r.__i18nGlobal&&He(a,r,r),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),n.__setInstance(l,this.$i18n)},mounted(){},unmounted(){const e=t.getCurrentInstance();if(!e)throw Error(We.UNEXPECTED_ERROR);const a=this.$i18n;delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,a.__disposer&&(a.__disposer(),delete a.__disposer,delete a.__extender),n.__deleteInstance(e),delete this.$i18n}}}(c,c.__composer,e));const s=a.unmount;a.unmount=()=>{o&&o(),e.dispose(),s()}},get global(){return c},dispose(){i.stop()},__instances:s,__getInstance:function(e){return s.get(e)||null},__setInstance:function(e,t){s.set(e,t)},__deleteInstance:function(e){s.delete(e)}};return e}},e.useI18n=ct,e.vTDirective=lt,e}({},Vue);
{
"name": "vue-i18n",
"version": "9.14.0",
"version": "9.14.1",
"description": "Internationalization plugin for Vue.js",

@@ -39,8 +39,8 @@ "keywords": [

"@vue/devtools-api": "^6.5.0",
"@intlify/core-base": "9.14.0",
"@intlify/shared": "9.14.0"
"@intlify/core-base": "9.14.1",
"@intlify/shared": "9.14.1"
},
"devDependencies": {
"@intlify/devtools-if": "9.14.0",
"@intlify/vue-devtools": "9.14.0"
"@intlify/vue-devtools": "9.14.1",
"@intlify/devtools-if": "9.14.1"
},

@@ -47,0 +47,0 @@ "peerDependencies": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc