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

vue-i18n-bridge

Package Overview
Dependencies
Maintainers
1
Versions
105
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-i18n-bridge - npm Package Compare versions

Comparing version 9.3.0-beta.1 to 9.3.0-beta.2

dist/vue-i18n-bridge.cjs

4

dist/vue-i18n-bridge.global.prod.js
/*!
* vue-i18n-bridge v9.3.0-beta.1
* vue-i18n-bridge v9.3.0-beta.2
* (c) 2022 kazuya kawaguchi
* Released under the MIT License.
*/
var VueI18nBridge=function(e,t){"use strict";const n="undefined"!=typeof window,r="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag,a=e=>r?Symbol(e):e,o=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),l=e=>"number"==typeof e&&isFinite(e),s=e=>"[object RegExp]"===k(e),c=e=>y(e)&&0===Object.keys(e).length;function i(e,t){"undefined"!=typeof console&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const u=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 p(e,t){return m.call(e,t)}const d=Array.isArray,g=e=>"function"==typeof e,_=e=>"string"==typeof e,v=e=>"boolean"==typeof e,b=e=>null!==e&&"object"==typeof e,h=Object.prototype.toString,k=e=>h.call(e),y=e=>"[object Object]"===k(e),L=15;function T(e){throw e}function E(e,t,n){const r={start:e,end:t};return null!=n&&(r.source=n),r}const N=" ",I="\n",O=String.fromCharCode(8232),F=String.fromCharCode(8233);function C(e){const t=e;let n=0,r=1,a=1,o=0;const l=e=>"\r"===t[e]&&t[e+1]===I,s=e=>t[e]===F,c=e=>t[e]===O,i=e=>l(e)||(e=>t[e]===I)(e)||s(e)||c(e),u=e=>l(e)||s(e)||c(e)?I:t[e];function f(){return o=0,i(n)&&(r++,a=0),l(n)&&n++,n++,a++,t[n]}return{index:()=>n,line:()=>r,column:()=>a,peekOffset:()=>o,charAt:u,currentChar:()=>u(n),currentPeek:()=>u(n+o),next:f,peek:function(){return l(n+o)&&o++,o++,t[n+o]},reset:function(){n=0,r=1,a=1,o=0},resetPeek:function(e=0){o=e},skipToPeek:function(){const e=n+o;for(;e!==n;)f();o=0}}}const P=void 0;function R(e,t={}){const n=!1!==t.location,r=C(e),a=()=>r.index(),o=()=>{return e=r.line(),t=r.column(),n=r.index(),{line:e,column:t,offset:n};var e,t,n},l=o(),s=a(),c={currentType:14,offset:s,startLoc:l,endLoc:l,lastType:14,lastOffset:s,lastStartLoc:l,lastEndLoc:l,braceNest:0,inLinked:!1,text:""},i=()=>c,{onError:u}=t;function f(e,t,r){e.endLoc=o(),e.currentType=t;const a={type:t};return n&&(a.loc=E(e.startLoc,e.endLoc)),null!=r&&(a.value=r),a}const m=e=>f(e,14);function p(e,t){return e.currentChar()===t?(e.next(),t):(o(),"")}function d(e){let t="";for(;e.currentPeek()===N||e.currentPeek()===I;)t+=e.currentPeek(),e.peek();return t}function g(e){const t=d(e);return e.skipToPeek(),t}function _(e){if(e===P)return!1;const t=e.charCodeAt(0);return t>=97&&t<=122||t>=65&&t<=90||95===t}function v(e,t){const{currentType:n}=t;if(2!==n)return!1;d(e);const r=function(e){if(e===P)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){d(e);const t="|"===e.currentPeek();return e.resetPeek(),t}function h(e,t=!0){const n=(t=!1,r="",a=!1)=>{const o=e.currentPeek();return"{"===o?"%"!==r&&t:"@"!==o&&o?"%"===o?(e.peek(),n(t,"%",!0)):"|"===o?!("%"!==r&&!a)||!(r===N||r===I):o===N?(e.peek(),n(!0,N,a)):o!==I||(e.peek(),n(!0,I,a)):"%"===r||t},r=n();return t&&e.resetPeek(),r}function k(e,t){const n=e.currentChar();return n===P?P:t(n)?(e.next(),n):null}function y(e){return k(e,(e=>{const t=e.charCodeAt(0);return t>=97&&t<=122||t>=65&&t<=90||t>=48&&t<=57||95===t||36===t}))}function L(e){return k(e,(e=>{const t=e.charCodeAt(0);return t>=48&&t<=57}))}function T(e){return k(e,(e=>{const t=e.charCodeAt(0);return t>=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102}))}function O(e){let t="",n="";for(;t=L(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(!h(e))break;t+=n,e.next()}else if(n===N||n===I)if(h(e))t+=n,e.next();else{if(b(e))break;t+=n,e.next()}else t+=n,e.next()}return t}function R(e){const t=e.currentChar();switch(t){case"\\":case"'":return e.next(),`\\${t}`;case"u":return w(e,t,4);case"U":return w(e,t,6);default:return o(),""}}function w(e,t,n){p(e,t);let r="";for(let t=0;t<n;t++){const t=T(e);if(!t){o(),e.currentChar();break}r+=t}return`\\${t}${r}`}function W(e){g(e);const t=p(e,"|");return g(e),t}function M(e,t){let n=null;switch(e.currentChar()){case"{":return t.braceNest>=1&&o(),e.next(),n=f(t,2,"{"),g(e),t.braceNest++,n;case"}":return t.braceNest>0&&2===t.currentType&&o(),e.next(),n=f(t,3,"}"),t.braceNest--,t.braceNest>0&&g(e),t.inLinked&&0===t.braceNest&&(t.inLinked=!1),n;case"@":return t.braceNest>0&&o(),n=S(e,t)||m(t),t.braceNest=0,n;default:let r=!0,a=!0,l=!0;if(b(e))return t.braceNest>0&&o(),n=f(t,1,W(e)),t.braceNest=0,t.inLinked=!1,n;if(t.braceNest>0&&(5===t.currentType||6===t.currentType||7===t.currentType))return o(),t.braceNest=0,x(e,t);if(r=function(e,t){const{currentType:n}=t;if(2!==n)return!1;d(e);const r=_(e.currentPeek());return e.resetPeek(),r}(e,t))return n=f(t,5,function(e){g(e);let t="",n="";for(;t=y(e);)n+=t;return e.currentChar()===P&&o(),n}(e)),g(e),n;if(a=v(e,t))return n=f(t,6,function(e){g(e);let t="";return"-"===e.currentChar()?(e.next(),t+=`-${O(e)}`):t+=O(e),e.currentChar()===P&&o(),t}(e)),g(e),n;if(l=function(e,t){const{currentType:n}=t;if(2!==n)return!1;d(e);const r="'"===e.currentPeek();return e.resetPeek(),r}(e,t))return n=f(t,7,function(e){g(e),p(e,"'");let t="",n="";const r=e=>"'"!==e&&e!==I;for(;t=k(e,r);)n+="\\"===t?R(e):t;const a=e.currentChar();return a===I||a===P?(o(),a===I&&(e.next(),p(e,"'")),n):(p(e,"'"),n)}(e)),g(e),n;if(!r&&!a&&!l)return n=f(t,13,function(e){g(e);let t="",n="";const r=e=>"{"!==e&&"}"!==e&&e!==N&&e!==I;for(;t=k(e,r);)n+=t;return n}(e)),o(),n.value,g(e),n}return n}function S(e,t){const{currentType:n}=t;let r=null;const a=e.currentChar();switch(8!==n&&9!==n&&12!==n&&10!==n||a!==I&&a!==N||o(),a){case"@":return e.next(),r=f(t,8,"@"),t.inLinked=!0,r;case".":return g(e),e.next(),f(t,9,".");case":":return g(e),e.next(),f(t,10,":");default:return b(e)?(r=f(t,1,W(e)),t.braceNest=0,t.inLinked=!1,r):function(e,t){const{currentType:n}=t;if(8!==n)return!1;d(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;d(e);const r=":"===e.currentPeek();return e.resetPeek(),r}(e,t)?(g(e),S(e,t)):function(e,t){const{currentType:n}=t;if(9!==n)return!1;d(e);const r=_(e.currentPeek());return e.resetPeek(),r}(e,t)?(g(e),f(t,12,function(e){let t="",n="";for(;t=y(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?_(e.peek()):!("@"===t||"%"===t||"|"===t||":"===t||"."===t||t===N||!t)&&(t===I?(e.peek(),r()):_(t))},a=r();return e.resetPeek(),a}(e,t)?(g(e),"{"===a?M(e,t)||r:f(t,11,function(e){const t=(n=!1,r)=>{const a=e.currentChar();return"{"!==a&&"%"!==a&&"@"!==a&&"|"!==a&&a?a===N?r:a===I?(r+=a,e.next(),t(n,r)):(r+=a,e.next(),t(!0,r)):r};return t(!1,"")}(e))):(8===n&&o(),t.braceNest=0,t.inLinked=!1,x(e,t))}}function x(e,t){let n={type:14};if(t.braceNest>0)return M(e,t)||m(t);if(t.inLinked)return S(e,t)||m(t);switch(e.currentChar()){case"{":return M(e,t)||m(t);case"}":return o(),e.next(),f(t,3,"}");case"@":return S(e,t)||m(t);default:if(b(e))return n=f(t,1,W(e)),t.braceNest=0,t.inLinked=!1,n;const{isModulo:r,hasSpace:a}=function(e){const t=d(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){g(e);return"%"!==e.currentChar()&&o(),e.next(),"%"}(e));if(h(e))return f(t,0,F(e))}return n}return{nextToken:function(){const{currentType:e,offset:t,startLoc:n,endLoc:l}=c;return c.lastType=e,c.lastOffset=t,c.lastStartLoc=n,c.lastEndLoc=l,c.offset=a(),c.startLoc=o(),r.currentChar()===P?f(c,14):x(r,c)},currentOffset:a,currentPosition:o,context:i}}const w=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function W(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 M(e={}){const t=!1!==e.location,{onError:n}=e;function r(e,n,r){const a={type:e,start:n,end:n};return t&&(a.loc={start:r,end:r}),a}function a(e,n,r,a){e.end=n,a&&(e.type=a),t&&e.loc&&(e.loc.end=r)}function o(e,t){const n=e.context(),o=r(3,n.offset,n.startLoc);return o.value=t,a(o,e.currentOffset(),e.currentPosition()),o}function l(e,t){const n=e.context(),{lastOffset:o,lastStartLoc:l}=n,s=r(5,o,l);return s.index=parseInt(t,10),e.nextToken(),a(s,e.currentOffset(),e.currentPosition()),s}function s(e,t){const n=e.context(),{lastOffset:o,lastStartLoc:l}=n,s=r(4,o,l);return s.key=t,e.nextToken(),a(s,e.currentOffset(),e.currentPosition()),s}function c(e,t){const n=e.context(),{lastOffset:o,lastStartLoc:l}=n,s=r(9,o,l);return s.value=t.replace(w,W),e.nextToken(),a(s,e.currentOffset(),e.currentPosition()),s}function i(e){const t=e.context(),n=r(6,t.offset,t.startLoc);let o=e.nextToken();if(9===o.type){const t=function(e){const t=e.nextToken(),n=e.context(),{lastOffset:o,lastStartLoc:l}=n,s=r(8,o,l);return 12!==t.type?(n.lastStartLoc,s.value="",a(s,o,l),{nextConsumeToken:t,node:s}):(null==t.value&&(n.lastStartLoc,S(t)),s.value=t.value||"",a(s,e.currentOffset(),e.currentPosition()),{node:s})}(e);n.modifier=t.node,o=t.nextConsumeToken||e.nextToken()}switch(10!==o.type&&(t.lastStartLoc,S(o)),o=e.nextToken(),2===o.type&&(o=e.nextToken()),o.type){case 11:null==o.value&&(t.lastStartLoc,S(o)),n.key=function(e,t){const n=e.context(),o=r(7,n.offset,n.startLoc);return o.value=t,a(o,e.currentOffset(),e.currentPosition()),o}(e,o.value||"");break;case 5:null==o.value&&(t.lastStartLoc,S(o)),n.key=s(e,o.value||"");break;case 6:null==o.value&&(t.lastStartLoc,S(o)),n.key=l(e,o.value||"");break;case 7:null==o.value&&(t.lastStartLoc,S(o)),n.key=c(e,o.value||"");break;default:t.lastStartLoc;const i=e.context(),u=r(7,i.offset,i.startLoc);return u.value="",a(u,i.offset,i.startLoc),n.key=u,a(n,i.offset,i.startLoc),{nextConsumeToken:o,node:n}}return a(n,e.currentOffset(),e.currentPosition()),{node:n}}function f(e){const t=e.context(),n=r(2,1===t.currentType?e.currentOffset():t.offset,1===t.currentType?t.endLoc:t.startLoc);n.items=[];let u=null;do{const r=u||e.nextToken();switch(u=null,r.type){case 0:null==r.value&&(t.lastStartLoc,S(r)),n.items.push(o(e,r.value||""));break;case 6:null==r.value&&(t.lastStartLoc,S(r)),n.items.push(l(e,r.value||""));break;case 5:null==r.value&&(t.lastStartLoc,S(r)),n.items.push(s(e,r.value||""));break;case 7:null==r.value&&(t.lastStartLoc,S(r)),n.items.push(c(e,r.value||""));break;case 8:const a=i(e);n.items.push(a.node),u=a.nextConsumeToken||null}}while(14!==t.currentType&&1!==t.currentType);return a(n,1===t.currentType?t.lastOffset:e.currentOffset(),1===t.currentType?t.lastEndLoc:e.currentPosition()),n}function m(e){const t=e.context(),{offset:n,startLoc:o}=t,l=f(e);return 14===t.currentType?l:function(e,t,n,o){const l=e.context();let s=0===o.items.length;const c=r(1,t,n);c.cases=[],c.cases.push(o);do{const t=f(e);s||(s=0===t.items.length),c.cases.push(t)}while(14!==l.currentType);return a(c,e.currentOffset(),e.currentPosition()),c}(e,n,o,l)}return{parse:function(n){const o=R(n,u({},e)),l=o.context(),s=r(0,l.offset,l.startLoc);return t&&s.loc&&(s.loc.source=n),s.body=m(o),14!==l.currentType&&(l.lastStartLoc,n[l.offset]),a(s,o.currentOffset(),o.currentPosition()),s}}}function S(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 x(e,t){for(let n=0;n<e.length;n++)D(e[n],t)}function D(e,t){switch(e.type){case 1:x(e.cases,t),t.helper("plural");break;case 2:x(e.items,t);break;case 6:D(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 A(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&&D(e.body,n);const r=n.context();e.helpers=Array.from(r.helpers)}function $(e,t){const{helper:n}=e;switch(t.type){case 0:!function(e,t){t.body?$(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&&($(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 n=0;n<a&&($(e,t.items[n]),n!==a-1);n++)e.push(", ");e.deindent(r()),e.push("])")}(e,t);break;case 6:!function(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),$(e,t.key),t.modifier?(e.push(", "),$(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)}}function U(e,t={}){const n=u({},t),r=M(n).parse(e);return A(r,n),((e,t={})=>{const n=_(t.mode)?t.mode:"normal",r=_(t.filename)?t.filename:"message.intl",a=!!t.sourceMap,o=null!=t.breakLineCode?t.breakLineCode:"arrow"===n?";":"\n",l=t.needIndent?t.needIndent:"arrow"!==n,s=e.helpers||[],c=function(e,t){const{sourceMap:n,filename:r,breakLineCode:a,needIndent:o}=t,l={source:e.loc.source,filename:r,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:a,needIndent:o,indentLevel:0};function s(e,t){l.code+=e}function c(e,t=!0){const n=t?a:"";s(o?n+" ".repeat(e):n)}return{context:()=>l,push:s,indent:function(e=!0){const t=++l.indentLevel;e&&c(t)},deindent:function(e=!0){const t=--l.indentLevel;e&&c(t)},newline:function(){c(l.indentLevel)},helper:e=>`_${e}`,needIndent:()=>l.needIndent}}(e,{mode:n,filename:r,sourceMap:a,breakLineCode:o,needIndent:l});c.push("normal"===n?"function __msg__ (ctx) {":"(ctx) => {"),c.indent(l),s.length>0&&(c.push(`const { ${s.map((e=>`${e}: _${e}`)).join(", ")} } = ctx`),c.newline()),c.push("return "),$(c,e),c.deindent(l),c.push("}");const{code:i,map:u}=c.context();return{ast:e,code:i,map:u?u.toJSON():void 0}})(r,n)}const j=[];j[0]={w:[0],i:[3,0],"[":[4],o:[7]},j[1]={w:[1],".":[2],"[":[4],o:[7]},j[2]={w:[2],i:[3,0],0:[3,0]},j[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]},j[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]},j[5]={"'":[4,0],o:8,l:[5,0]},j[6]={'"':[4,0],o:8,l:[6,0]};const V=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function H(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 G(e){const t=e.trim();return("0"!==e.charAt(0)||!isNaN(parseInt(e)))&&(n=t,V.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 B=new Map;function J(e,t){return b(e)?e[t]:null}const Y=e=>e,z=e=>"",X=e=>0===e.length?"":e.join(""),q=e=>null==e?"":d(e)||y(e)&&e.toString===h?JSON.stringify(e,null,2):String(e);function K(e,t){return e=Math.abs(e),2===t?e?e>1?1:0:1:e?Math.min(e,2):0}function Z(e={}){const t=e.locale,n=function(e){const t=l(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(l(e.named.count)||l(e.named.n))?l(e.named.count)?e.named.count:l(e.named.n)?e.named.n:t:t}(e),r=b(e.pluralRules)&&_(t)&&g(e.pluralRules[t])?e.pluralRules[t]:K,a=b(e.pluralRules)&&_(t)&&g(e.pluralRules[t])?K:void 0,o=e.list||[],s=e.named||{};l(e.pluralIndex)&&function(e,t){t.count||(t.count=e),t.n||(t.n=e)}(n,s);function c(t){const n=g(e.messages)?e.messages(t):!!b(e.messages)&&e.messages[t];return n||(e.parent?e.parent.message(t):z)}const i=y(e.processor)&&g(e.processor.normalize)?e.processor.normalize:X,u=y(e.processor)&&g(e.processor.interpolate)?e.processor.interpolate:q,f={list:e=>o[e],named:e=>s[e],plural:e=>e[r(n,e.length,a)],linked:(t,...n)=>{const[r,a]=n;let o="text",l="";1===n.length?b(r)?(l=r.modifier||l,o=r.type||o):_(r)&&(l=r||l):2===n.length&&(_(r)&&(l=r||l),_(a)&&(o=a||o));let s=c(t)(f);return"vnode"===o&&d(s)&&l&&(s=s[0]),l?(i=l,e.modifiers?e.modifiers[i]:Y)(s,o):s;var i},message:c,type:y(e.processor)&&_(e.processor.type)?e.processor.type:"text",interpolate:u,normalize:i};return f}function Q(e,t,n){return[...new Set([n,...d(t)?t:b(t)?Object.keys(t):_(t)?[t]:[n]])]}function ee(e,t,n){const r=_(n)?n:ae,a=e;a.__localeChainCache||(a.__localeChainCache=new Map);let o=a.__localeChainCache.get(r);if(!o){o=[];let e=[n];for(;d(e);)e=te(o,e,t);const l=d(t)||!y(t)?t:t.default?t.default:null;e=_(l)?[l]:l,d(e)&&te(o,e,!1),a.__localeChainCache.set(r,o)}return o}function te(e,t,n){let r=!0;for(let a=0;a<t.length&&v(r);a++){const o=t[a];_(o)&&(r=ne(e,t[a],n))}return r}function ne(e,t,n){let r;const a=t.split("-");do{r=re(e,a.join("-"),n),a.splice(-1,1)}while(a.length&&!0===r);return r}function re(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),(d(n)||y(n))&&n[a]&&(r=n[a])}return r}const ae="en-US",oe=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;let le,se,ce;let ie=0;function ue(e={}){const t=_(e.version)?e.version:"9.3.0-beta.1",n=_(e.locale)?e.locale:ae,r=d(e.fallbackLocale)||y(e.fallbackLocale)||_(e.fallbackLocale)||!1===e.fallbackLocale?e.fallbackLocale:n,a=y(e.messages)?e.messages:{[n]:{}},o=y(e.datetimeFormats)?e.datetimeFormats:{[n]:{}},l=y(e.numberFormats)?e.numberFormats:{[n]:{}},c=u({},e.modifiers||{},{upper:(e,t)=>"text"===t&&_(e)?e.toUpperCase():"vnode"===t&&b(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>"text"===t&&_(e)?e.toLowerCase():"vnode"===t&&b(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>"text"===t&&_(e)?oe(e):"vnode"===t&&b(e)&&"__v_isVNode"in e?oe(e.children):e}),f=e.pluralRules||{},m=g(e.missing)?e.missing:null,p=!v(e.missingWarn)&&!s(e.missingWarn)||e.missingWarn,h=!v(e.fallbackWarn)&&!s(e.fallbackWarn)||e.fallbackWarn,k=!!e.fallbackFormat,L=!!e.unresolving,T=g(e.postTranslation)?e.postTranslation:null,E=y(e.processor)?e.processor:null,N=!v(e.warnHtmlMessage)||e.warnHtmlMessage,I=!!e.escapeParameter,O=g(e.messageCompiler)?e.messageCompiler:le,F=g(e.messageResolver)?e.messageResolver:se||J,C=g(e.localeFallbacker)?e.localeFallbacker:ce||Q,P=b(e.fallbackContext)?e.fallbackContext:void 0,R=g(e.onWarn)?e.onWarn:i,w=e,W=b(w.__datetimeFormatters)?w.__datetimeFormatters:new Map,M=b(w.__numberFormatters)?w.__numberFormatters:new Map,S=b(w.__meta)?w.__meta:{};ie++;const x={version:t,cid:ie,locale:n,fallbackLocale:r,messages:a,modifiers:c,pluralRules:f,missing:m,missingWarn:p,fallbackWarn:h,fallbackFormat:k,unresolving:L,postTranslation:T,processor:E,warnHtmlMessage:N,escapeParameter:I,messageCompiler:O,messageResolver:F,localeFallbacker:C,fallbackContext:P,onWarn:R,__meta:S};return x.datetimeFormats=o,x.numberFormats=l,x.__datetimeFormatters=W,x.__numberFormatters=M,x}function fe(e,t,n,r,a){const{missing:o,onWarn:l}=e;if(null!==o){const r=o(e,n,t,a);return _(r)?r:t}return t}function me(e,t,n){e.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}const pe=e=>e;let de=Object.create(null);let ge=L;const _e=()=>++ge,ve={INVALID_ARGUMENT:ge,INVALID_DATE_ARGUMENT:_e(),INVALID_ISO_DATE_ARGUMENT:_e(),__EXTEND_POINT__:_e()},be=()=>"",he=e=>g(e);function ke(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:a,messageCompiler:o,fallbackLocale:s,messages:c}=e,[i,u]=Te(...t),m=v(u.missingWarn)?u.missingWarn:e.missingWarn,p=v(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn,g=v(u.escapeParameter)?u.escapeParameter:e.escapeParameter,h=!!u.resolvedMessage,k=_(u.default)||v(u.default)?v(u.default)?o?i:()=>i:u.default:n?o?i:()=>i:"",y=n||""!==k,L=_(u.locale)?u.locale:e.locale;g&&function(e){d(e.list)?e.list=e.list.map((e=>_(e)?f(e):e)):b(e.named)&&Object.keys(e.named).forEach((t=>{_(e.named[t])&&(e.named[t]=f(e.named[t]))}))}(u);let[T,E,N]=h?[i,L,c[L]||{}]:ye(e,i,L,s,p,m),I=T,O=i;if(h||_(I)||he(I)||y&&(I=k,O=I),!(h||(_(I)||he(I))&&_(E)))return a?-1:i;let F=!1;const C=he(I)?I:Le(e,i,E,I,O,(()=>{F=!0}));if(F)return I;const P=function(e,t,n,r){const{modifiers:a,pluralRules:o,messageResolver:s,fallbackLocale:c,fallbackWarn:i,missingWarn:u,fallbackContext:f}=e,m=r=>{let a=s(n,r);if(null==a&&f){const[,,e]=ye(f,r,t,c,i,u);a=s(e,r)}if(_(a)){let n=!1;const o=Le(e,r,t,a,r,(()=>{n=!0}));return n?be:o}return he(a)?a:be},p={locale:t,modifiers:a,pluralRules:o,messages:m};e.processor&&(p.processor=e.processor);r.list&&(p.list=r.list);r.named&&(p.named=r.named);l(r.plural)&&(p.pluralIndex=r.plural);return p}(e,E,N,u),R=function(e,t,n){return t(n)}(0,C,Z(P));return r?r(R,i):R}function ye(e,t,n,r,a,o){const{messages:l,onWarn:s,messageResolver:c,localeFallbacker:i}=e,u=i(e,r,n);let f,m={},p=null;for(let n=0;n<u.length&&(f=u[n],m=l[f]||{},null===(p=c(m,t))&&(p=m[t]),!_(p)&&!g(p));n++){const n=fe(e,t,f,0,"translate");n!==t&&(p=n)}return[p,f,m]}function Le(e,t,n,r,a,l){const{messageCompiler:s,warnHtmlMessage:c}=e;if(he(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 i=s(r,function(e,t,n,r,a,l){return{warnHtmlMessage:a,onError:e=>{throw l&&l(e),e},onCacheKey:e=>((e,t,n)=>o({l:e,k:t,s:n}))(t,n,e)}}(0,n,a,0,c,l));return i.locale=n,i.key=t,i.source=r,i}function Te(...e){const[t,n,r]=e,a={};if(!_(t)&&!l(t)&&!he(t))throw Error(ve.INVALID_ARGUMENT);const o=l(t)?String(t):(he(t),t);return l(n)?a.plural=n:_(n)?a.default=n:y(n)&&!c(n)?a.named=n:d(n)&&(a.list=n),l(r)?a.plural=r:_(r)?a.default=r:y(r)&&u(a,r),[o,a]}function Ee(e,...t){const{datetimeFormats:n,unresolving:r,fallbackLocale:a,onWarn:o,localeFallbacker:l}=e,{__datetimeFormatters:s}=e,[i,f,m,p]=Ie(...t);v(m.missingWarn)?m.missingWarn:e.missingWarn;v(m.fallbackWarn)?m.fallbackWarn:e.fallbackWarn;const d=!!m.part,g=_(m.locale)?m.locale:e.locale,b=l(e,a,g);if(!_(i)||""===i)return new Intl.DateTimeFormat(g,p).format(f);let h,k={},L=null;for(let t=0;t<b.length&&(h=b[t],k=n[h]||{},L=k[i],!y(L));t++)fe(e,i,h,0,"datetime format");if(!y(L)||!_(h))return r?-1:i;let T=`${h}__${i}`;c(p)||(T=`${T}__${JSON.stringify(p)}`);let E=s.get(T);return E||(E=new Intl.DateTimeFormat(h,u({},L,p)),s.set(T,E)),d?E.formatToParts(f):E.format(f)}const Ne=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function Ie(...e){const[t,n,r,a]=e,o={};let s,c={};if(_(t)){const e=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!e)throw Error(ve.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();s=new Date(n);try{s.toISOString()}catch(e){throw Error(ve.INVALID_ISO_DATE_ARGUMENT)}}else if("[object Date]"===k(t)){if(isNaN(t.getTime()))throw Error(ve.INVALID_DATE_ARGUMENT);s=t}else{if(!l(t))throw Error(ve.INVALID_ARGUMENT);s=t}return _(n)?o.key=n:y(n)&&Object.keys(n).forEach((e=>{Ne.includes(e)?c[e]=n[e]:o[e]=n[e]})),_(r)?o.locale=r:y(r)&&(c=r),y(a)&&(c=a),[o.key||"",s,o,c]}function Oe(e,t,n){const r=e;for(const e in n){const n=`${t}__${e}`;r.__datetimeFormatters.has(n)&&r.__datetimeFormatters.delete(n)}}function Fe(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:a,onWarn:o,localeFallbacker:l}=e,{__numberFormatters:s}=e,[i,f,m,p]=Pe(...t);v(m.missingWarn)?m.missingWarn:e.missingWarn;v(m.fallbackWarn)?m.fallbackWarn:e.fallbackWarn;const d=!!m.part,g=_(m.locale)?m.locale:e.locale,b=l(e,a,g);if(!_(i)||""===i)return new Intl.NumberFormat(g,p).format(f);let h,k={},L=null;for(let t=0;t<b.length&&(h=b[t],k=n[h]||{},L=k[i],!y(L));t++)fe(e,i,h,0,"number format");if(!y(L)||!_(h))return r?-1:i;let T=`${h}__${i}`;c(p)||(T=`${T}__${JSON.stringify(p)}`);let E=s.get(T);return E||(E=new Intl.NumberFormat(h,u({},L,p)),s.set(T,E)),d?E.formatToParts(f):E.format(f)}const Ce=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function Pe(...e){const[t,n,r,a]=e,o={};let s={};if(!l(t))throw Error(ve.INVALID_ARGUMENT);const c=t;return _(n)?o.key=n:y(n)&&Object.keys(n).forEach((e=>{Ce.includes(e)?s[e]=n[e]:o[e]=n[e]})),_(r)?o.locale=r:y(r)&&(s=r),y(a)&&(s=a),[o.key||"",c,o,s]}function Re(e,t,n){const r=e;for(const e in n){const n=`${t}__${e}`;r.__numberFormatters.has(n)&&r.__numberFormatters.delete(n)}}const we="9.3.0-beta.1";let We=L;const Me=()=>++We,Se={UNEXPECTED_RETURN_TYPE:We,INVALID_ARGUMENT:Me(),MUST_BE_CALL_SETUP_TOP:Me(),NOT_INSLALLED:Me(),NOT_AVAILABLE_IN_LEGACY_MODE:Me(),REQUIRED_VALUE:Me(),INVALID_VALUE:Me(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:Me(),NOT_INSLALLED_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()},xe=a("__transrateVNode"),De=a("__datetimeParts"),Ae=a("__numberParts"),$e=a("__setPluralRules"),Ue=a("__legacyVueI18n"),je=a("__injectWithOption"),Ve="__VUE_I18N_BRIDGE__";function He(e){return null!=e&&null!=e.version&&(Number(e.version.split(".")[0])||-1)>=8}function Ge(e){if(!b(e))return e;for(const t in e)if(p(e,t))if(t.includes(".")){const n=t.split("."),r=n.length-1;let a=e;for(let e=0;e<r;e++)n[e]in a||(a[n[e]]={}),a=a[n[e]];a[n[r]]=e[t],delete e[t],b(a[n[r]])&&Ge(a[n[r]])}else b(e[t])&&Ge(e[t]);return e}function Be(e,t){const{messages:n,__i18n:r,messageResolver:a,flatJson:o}=t,l=y(n)?n:d(r)?{}:{[e]:{}};if(d(r)&&r.forEach((e=>{if("locale"in e&&"resource"in e){const{locale:t,resource:n}=e;t?(l[t]=l[t]||{},Ye(n,l[t])):Ye(n,l)}else _(e)&&Ye(JSON.parse(e),l)})),null==a&&o)for(const e in l)p(l,e)&&Ge(l[e]);return l}const Je=e=>!b(e)||d(e);function Ye(e,t){if(Je(e)||Je(t))throw Error(Se.INVALID_VALUE);for(const n in e)p(e,n)&&(Je(e[n])||Je(t[n])?t[n]=e[n]:Ye(e[n],t[n]))}function ze(e){return function(e){const t=void 0;return{tag:void 0,data:void 0,children:void 0,text:e,elm:void 0,ns:void 0,context:void 0,fnContext:void 0,fnOptions:void 0,fnScopeId:void 0,key:void 0,componentOptions:void 0,componentInstance:t,parent:void 0,raw:!1,isStatic:!1,isRootInsert:!0,isComment:!1,isCloned:!1,isOnce:!1,asyncFactory:void 0,asyncMeta:void 0,isAsyncPlaceholder:!1,child:()=>t}}(e)}let Xe=0;function qe(e){return(n,r,a,o)=>e(r,a,t.getCurrentInstance()||void 0,o)}function Ke(e={},r){const{__root:a}=e,o=void 0===a;let c=!v(e.inheritLocale)||e.inheritLocale;const i=t.ref(a&&c?a.locale.value:_(e.locale)?e.locale:ae),f=t.ref(a&&c?a.fallbackLocale.value:_(e.fallbackLocale)||d(e.fallbackLocale)||y(e.fallbackLocale)||!1===e.fallbackLocale?e.fallbackLocale:i.value),m=t.ref(Be(i.value,e)),p=t.ref(y(e.datetimeFormats)?e.datetimeFormats:{[i.value]:{}}),h=t.ref(y(e.numberFormats)?e.numberFormats:{[i.value]:{}});let k=a?a.missingWarn:!v(e.missingWarn)&&!s(e.missingWarn)||e.missingWarn,L=a?a.fallbackWarn:!v(e.fallbackWarn)&&!s(e.fallbackWarn)||e.fallbackWarn,T=a?a.fallbackRoot:!v(e.fallbackRoot)||e.fallbackRoot,E=!!e.fallbackFormat,N=g(e.missing)?e.missing:null,I=g(e.missing)?qe(e.missing):null,O=g(e.postTranslation)?e.postTranslation:null,F=a?a.warnHtmlMessage:!v(e.warnHtmlMessage)||e.warnHtmlMessage,C=!!e.escapeParameter;const P=a?a.modifiers:y(e.modifiers)?e.modifiers:{};let R,w,W=e.pluralRules||a&&a.pluralRules;{He(r);const e={locale:i.value,fallbackLocale:f.value,messages:m.value,dateTimeFormats:p.value,numberFormats:h.value,modifiers:P,missing:N,fallbackRoot:T,postTranslation:O,pluralizationRules:W,escapeParameterHtml:C,sync:c,silentFallbackWarn:v(L)?!L:L,silentTranslationWarn:v(k)?!k:k,formatFallbackMessages:v(E)?!E:E,warnHtmlInMessage:v(F)&&F?"warn":"off",__VUE_I18N_BRIDGE__:Ve};R=new r(e)}w=(()=>{const t={version:we,locale:i.value,fallbackLocale:f.value,messages:m.value,modifiers:P,pluralRules:W,missing:null===I?void 0:I,missingWarn:k,fallbackWarn:L,fallbackFormat:E,unresolving:!0,postTranslation:null===O?void 0:O,warnHtmlMessage:F,escapeParameter:C,messageResolver:e.messageResolver,__meta:{framework:"vue"}};t.datetimeFormats=p.value,t.numberFormats=h.value,t.__datetimeFormatters=y(w)?w.__datetimeFormatters:void 0,t.__numberFormatters=y(w)?w.__numberFormatters:void 0;return ue(t)})(),me(w,i.value,f.value);const M=t.computed({get:()=>i.value,set:e=>{i.value=e,R&&!o&&(R.locale=e),w.locale=i.value}}),S=t.computed({get:()=>f.value,set:e=>{f.value=e,R&&!o&&(R.fallbackLocale=e),w.fallbackLocale=f.value,me(w,i.value,e)}}),x=t.computed((()=>m.value)),D=t.computed((()=>p.value)),A=t.computed((()=>h.value));const $=(e,t,n,r,o,s)=>{let c;if(i.value,f.value,m.value,p.value,h.value,c=e(w),l(c)&&-1===c){const[e,n]=t();return a&&T?r(a):o(e)}if(s(c))return c;throw Error(Se.UNEXPECTED_RETURN_TYPE)};function U(...e){return $((t=>Reflect.apply(ke,null,[t,...e])),(()=>Te(...e)),0,(t=>Reflect.apply(t.t,t,[...e])),(e=>e),(e=>_(e)))}const j={normalize:function(e){return e.map((e=>_(e)||l(e)||v(e)?ze(String(e)):e))},interpolate:e=>e,type:"vnode"};function V(e){return m.value[e]||{}}Xe++,a&&n&&(t.watch(a.locale,(e=>{c&&(i.value=e,R&&!o&&(R.locale=e),w.locale=e,me(w,i.value,f.value))})),t.watch(a.fallbackLocale,(e=>{c&&(f.value=e,R&&!o&&(R.fallbackLocale=e),w.fallbackLocale=e,me(w,i.value,f.value))})));const H={id:Xe,locale:M,fallbackLocale:S,get inheritLocale(){return c},set inheritLocale(e){c=e,R&&(R._sync=e),e&&a&&(i.value=a.locale.value,f.value=a.fallbackLocale.value,R&&(R.locale=a.locale.value,R.fallbackLocale=a.fallbackLocale.value),me(w,i.value,f.value))},get availableLocales(){return Object.keys(m.value).sort()},messages:x,get modifiers(){return P},get pluralRules(){return W||{}},get isGlobal(){return o},get missingWarn(){return k},set missingWarn(e){k=e,w.missingWarn=k},get fallbackWarn(){return L},set fallbackWarn(e){L=e,w.fallbackWarn=L},get fallbackRoot(){return T},set fallbackRoot(e){T=e},get fallbackFormat(){return E},set fallbackFormat(e){E=e,w.fallbackFormat=E},get warnHtmlMessage(){return F},set warnHtmlMessage(e){F=e,w.warnHtmlMessage=e},get escapeParameter(){return C},set escapeParameter(e){C=e,w.escapeParameter=e},t:U,getLocaleMessage:V,setLocaleMessage:function(e,t){m.value[e]=t,R&&R.setLocaleMessage(e,t),w.messages=m.value},mergeLocaleMessage:function(e,t){m.value[e]=m.value[e]||{},R&&R.mergeLocaleMessage(e,t),Ye(t,m.value[e]),w.messages=m.value},getPostTranslationHandler:function(){return g(O)?O:null},setPostTranslationHandler:function(e){O=e,w.postTranslation=e},getMissingHandler:function(){return N},setMissingHandler:function(e){null!==e&&(I=qe(e)),N=e,w.missing=I},[$e]:function(e){W=e,w.pluralRules=W}};return H.datetimeFormats=D,H.numberFormats=A,H.rt=function(...e){const[t,n,r]=e;if(r&&!b(r))throw Error(Se.INVALID_ARGUMENT);return U(t,n,u({resolvedMessage:!0},r||{}))},H.te=function(e,t){const n=V(_(t)?t:i.value);return null!==w.messageResolver(n,e)},H.tm=function(e){const t=function(e){let t=null;const n=ee(w,f.value,i.value);for(let r=0;r<n.length;r++){const a=m.value[n[r]]||{},o=w.messageResolver(a,e);if(null!=o){t=o;break}}return t}(e);return null!=t?t:a&&a.tm(e)||{}},H.d=function(...e){return $((t=>Reflect.apply(Ee,null,[t,...e])),(()=>Ie(...e)),0,(t=>Reflect.apply(t.d,t,[...e])),(()=>""),(e=>_(e)))},H.n=function(...e){return $((t=>Reflect.apply(Fe,null,[t,...e])),(()=>Pe(...e)),0,(t=>Reflect.apply(t.n,t,[...e])),(()=>""),(e=>_(e)))},H.getDateTimeFormat=function(e){return p.value[e]||{}},H.setDateTimeFormat=function(e,t){p.value[e]=t,R&&R.setDateTimeFormat(e,t),w.datetimeFormats=p.value,Oe(w,e,t)},H.mergeDateTimeFormat=function(e,t){p.value[e]=u(p.value[e]||{},t),R&&R.mergeDateTimeFormat(e,t),w.datetimeFormats=p.value,Oe(w,e,t)},H.getNumberFormat=function(e){return h.value[e]||{}},H.setNumberFormat=function(e,t){h.value[e]=t,R&&R.setNumberFormat(e,t),w.numberFormats=h.value,Re(w,e,t)},H.mergeNumberFormat=function(e,t){h.value[e]=u(h.value[e]||{},t),R&&R.mergeNumberFormat(e,t),w.numberFormats=h.value,Re(w,e,t)},H[je]=e.__injectWithOption,H[xe]=function(...e){return $((t=>{let n;const r=t;try{r.processor=j,n=Reflect.apply(ke,null,[r,...e])}finally{r.processor=null}return n}),(()=>Te(...e)),0,(t=>t[xe](...e)),(e=>[ze(e)]),(e=>d(e)))},H[De]=function(...e){return $((t=>Reflect.apply(Ee,null,[t,...e])),(()=>Ie(...e)),0,(t=>t[De](...e)),(()=>[]),(e=>_(e)||d(e)))},H[Ae]=function(...e){return $((t=>Reflect.apply(Fe,null,[t,...e])),(()=>Pe(...e)),0,(t=>t[Ae](...e)),(()=>[]),(e=>_(e)||d(e)))},H[Ue]=R,H}const Ze={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>"parent"===e||"global"===e,default:"parent"},i18n:{type:Object}};const Qe={name:"i18n-t",props:u({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>l(e)||!isNaN(e)}},Ze),setup(e,n){const{slots:r,attrs:a}=n,o=e.i18n||ot({useScope:e.scope,__useComponent:!0});return()=>{const l=Object.keys(r).filter((e=>"_"!==e)),s={};e.locale&&(s.locale=e.locale),void 0!==e.plural&&(s.plural=_(e.plural)?+e.plural:e.plural);const c=function({slots:e},t){if(1===t.length&&"default"===t[0])return(e.default?e.default():[]).reduce(((e,t)=>[...e,...d(t.children)?t.children:[t]]),[]);return t.reduce(((t,n)=>{const r=e[n];return r&&(t[n]=r()),t}),{})}(n,l),i=o[xe](e.keypath,c,s),f=u({},a),m=_(e.tag)||b(e.tag)?e.tag:"span";return t.h(m,f,i)}}};function et(e,n,r,a){const{slots:o,attrs:l}=n;return()=>{const n={part:!0};let s={};e.locale&&(n.locale=e.locale),_(e.format)?n.key=e.format:b(e.format)&&(_(e.format.key)&&(n.key=e.format.key),s=Object.keys(e.format).reduce(((t,n)=>r.includes(n)?u({},t,{[n]:e.format[n]}):t),{}));const c=a(e.value,n,s);let i=[n.key];d(c)?i=c.map(((e,t)=>{const n=o[e.type],r=n?n({[e.type]:e.value,index:t,parts:c}):[e.value];var a;return d(a=r)&&!_(a[0])&&(r[0].key=`${e.type}-${t}`),r})):_(c)&&(i=[c]);const f=u({},l),m=_(e.tag)||b(e.tag)?e.tag:"span";return t.h(m,f,i)}}const tt={name:"i18n-n",props:u({value:{type:Number,required:!0},format:{type:[String,Object]}},Ze),setup(e,t){const n=e.i18n||ot({useScope:"parent",__useComponent:!0});return et(e,t,Ce,((...e)=>n[Ae](...e)))}},nt={name:"i18n-d",props:u({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Ze),setup(e,t){const n=e.i18n||ot({useScope:"parent",__useComponent:!0});return et(e,t,Ne,((...e)=>n[De](...e)))}};let rt=null;const at=a("global-vue-i18n");function ot(e={}){const r=t.getCurrentInstance();if(null==r)throw Error(Se.MUST_BE_CALL_SETUP_TOP);if(null==rt)throw Error(Se.NOT_INSLALLED);const a=function(e){{const t=e.proxy;if(null==t)throw Error(Se.UNEXPECTED_ERROR);const n=t._i18nBridgeRoot;if(!n)throw Error(Se.NOT_INSLALLED);return n}}(r),o=function(e){return e.global}(a),l=function(e){return e.proxy.$options}(r),i=function(e,t){return c(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}(e,l);if("legacy"===a.mode&&!e.__useComponent){if(!a.allowComposition)throw Error(Se.NOT_AVAILABLE_IN_LEGACY_MODE);return function(e,n,r,a={}){const o="local"===n,l=t.shallowRef(null);if(o&&e.proxy&&!e.proxy.$options.i18n&&!e.proxy.$options.__i18n)throw Error(Se.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const c=!v(a.inheritLocale)||a.inheritLocale,i=t.ref(o&&c?r.locale.value:_(a.locale)?a.locale:ae),u=t.ref(o&&c?r.fallbackLocale.value:_(a.fallbackLocale)||d(a.fallbackLocale)||y(a.fallbackLocale)||!1===a.fallbackLocale?a.fallbackLocale:i.value),f=t.ref(Be(i.value,a)),m=t.ref(y(a.datetimeFormats)?a.datetimeFormats:{[i.value]:{}}),p=t.ref(y(a.numberFormats)?a.numberFormats:{[i.value]:{}}),b=o?r.missingWarn:!v(a.missingWarn)&&!s(a.missingWarn)||a.missingWarn,h=o?r.fallbackWarn:!v(a.fallbackWarn)&&!s(a.fallbackWarn)||a.fallbackWarn,k=o?r.fallbackRoot:!v(a.fallbackRoot)||a.fallbackRoot,L=!!a.fallbackFormat,T=g(a.missing)?a.missing:null,E=g(a.postTranslation)?a.postTranslation:null,N=o?r.warnHtmlMessage:!v(a.warnHtmlMessage)||a.warnHtmlMessage,I=!!a.escapeParameter,O=o?r.modifiers:y(a.modifiers)?a.modifiers:{},F=a.pluralRules||o&&r.pluralRules;function C(){return[i.value,u.value,f.value,m.value,p.value]}const P=t.computed({get:()=>l.value?l.value.locale.value:i.value,set:e=>{l.value&&(l.value.locale.value=e),i.value=e}}),R=t.computed({get:()=>l.value?l.value.fallbackLocale.value:u.value,set:e=>{l.value&&(l.value.fallbackLocale.value=e),u.value=e}}),w=t.computed((()=>l.value?l.value.messages.value:f.value)),W=t.computed((()=>m.value)),M=t.computed((()=>p.value));function S(){return l.value?l.value.getPostTranslationHandler():E}function x(e){l.value&&l.value.setPostTranslationHandler(e)}function D(){return l.value?l.value.getMissingHandler():T}function A(e){l.value&&l.value.setMissingHandler(e)}function $(e){return C(),e()}function U(...e){return l.value?$((()=>Reflect.apply(l.value.t,null,[...e]))):$((()=>""))}function j(...e){return l.value?Reflect.apply(l.value.rt,null,[...e]):""}function V(...e){return l.value?$((()=>Reflect.apply(l.value.d,null,[...e]))):$((()=>""))}function H(...e){return l.value?$((()=>Reflect.apply(l.value.n,null,[...e]))):$((()=>""))}function G(e){return l.value?l.value.tm(e):{}}function B(e,t){return!!l.value&&l.value.te(e,t)}function J(e){return l.value?l.value.getLocaleMessage(e):{}}function Y(e,t){l.value&&(l.value.setLocaleMessage(e,t),f.value[e]=t)}function z(e,t){l.value&&l.value.mergeLocaleMessage(e,t)}function X(e){return l.value?l.value.getDateTimeFormat(e):{}}function q(e,t){l.value&&(l.value.setDateTimeFormat(e,t),m.value[e]=t)}function K(e,t){l.value&&l.value.mergeDateTimeFormat(e,t)}function Z(e){return l.value?l.value.getNumberFormat(e):{}}function Q(e,t){l.value&&(l.value.setNumberFormat(e,t),p.value[e]=t)}function ee(e,t){l.value&&l.value.mergeNumberFormat(e,t)}const te={get id(){return l.value?l.value.id:-1},locale:P,fallbackLocale:R,messages:w,datetimeFormats:W,numberFormats:M,get inheritLocale(){return l.value?l.value.inheritLocale:c},set inheritLocale(e){l.value&&(l.value.inheritLocale=e)},get availableLocales(){return l.value?l.value.availableLocales:Object.keys(f.value)},get modifiers(){return l.value?l.value.modifiers:O},get pluralRules(){return l.value?l.value.pluralRules:F},get isGlobal(){return!!l.value&&l.value.isGlobal},get missingWarn(){return l.value?l.value.missingWarn:b},set missingWarn(e){l.value&&(l.value.missingWarn=e)},get fallbackWarn(){return l.value?l.value.fallbackWarn:h},set fallbackWarn(e){l.value&&(l.value.missingWarn=e)},get fallbackRoot(){return l.value?l.value.fallbackRoot:k},set fallbackRoot(e){l.value&&(l.value.fallbackRoot=e)},get fallbackFormat(){return l.value?l.value.fallbackFormat:L},set fallbackFormat(e){l.value&&(l.value.fallbackFormat=e)},get warnHtmlMessage(){return l.value?l.value.warnHtmlMessage:N},set warnHtmlMessage(e){l.value&&(l.value.warnHtmlMessage=e)},get escapeParameter(){return l.value?l.value.escapeParameter:I},set escapeParameter(e){l.value&&(l.value.escapeParameter=e)},t:U,getPostTranslationHandler:S,setPostTranslationHandler:x,getMissingHandler:D,setMissingHandler:A,rt:j,d:V,n:H,tm:G,te:B,getLocaleMessage:J,setLocaleMessage:Y,mergeLocaleMessage:z,getDateTimeFormat:X,setDateTimeFormat:q,mergeDateTimeFormat:K,getNumberFormat:Z,setNumberFormat:Q,mergeNumberFormat:ee};function ne(e){e.locale.value=i.value,e.fallbackLocale.value=u.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(p.value).forEach((t=>{e.mergeNumberFormat(t,p.value[t])})),e.escapeParameter=I,e.fallbackFormat=L,e.fallbackRoot=k,e.fallbackWarn=h,e.missingWarn=b,e.warnHtmlMessage=N}return t.onBeforeMount((()=>{if(null==e.proxy||null==e.proxy.$i18n)throw Error(Se.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const t=l.value=e.proxy.$i18n.__composer;"global"===n?(i.value=t.locale.value,u.value=t.fallbackLocale.value,f.value=t.messages.value,m.value=t.datetimeFormats.value,p.value=t.numberFormats.value):o&&ne(t)})),te}(r,i,o,e)}if("global"===i)return function(e,t,n){let r=b(t.messages)?t.messages:{};"__i18nGlobal"in n&&(r=Be(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])}))}}(o,e,l),o;if("parent"===i){let t=function(e,t,n=!1){let r=null;const a=t.root;let o=t.parent;for(;null!=o;){const t=e;if("composition"===e.mode)r=t.__getInstance(o);else{const e=t.__getInstance(o);null!=e&&(r=e.__composer,n&&r&&!r[je]&&(r=null))}if(null!=r)break;if(a===o)break;o=o.parent}return r}(a,r,e.__useComponent);return null==t&&(t=o),t}const f=a;let m=f.__getInstance(r);if(null==m){const a=u({},e);"__i18n"in l&&(a.__i18n=l.__i18n),o&&(a.__root=o),m=Ke(a,rt),function(e,r,a){{const o=r.proxy;if(null==o)throw Error(Se.UNEXPECTED_ERROR);const l=a[Ue];if(l===e)throw Error(Se.UNEXPECTED_ERROR);o._i18n=l,o._i18n_bridge=!0,n&&(o._i18nWatcher=o._i18n.watchI18nData(),o._i18n._sync&&(o._localeWatcher=o._i18n.watchLocale()));let s=!1;t.onBeforeMount((()=>{o._i18n.subscribeDataChanging(o),s=!0})),t.onUnmounted((()=>{s&&(o._i18n.unsubscribeDataChanging(o),s=!1),o._i18nWatcher&&(o._i18nWatcher(),o._i18n.destroyVM(),delete o._i18nWatcher),o._localeWatcher&&(o._localeWatcher(),delete o._localeWatcher),delete o._i18n_bridge,delete o._i18n}))}}(f,r,m),f.__setInstance(r,m)}return m}var lt;return lt=function(e,t={}){{const n=(t.onCacheKey||pe)(e),r=de[n];if(r)return r;let a=!1;const o=t.onError||T;t.onError=e=>{a=!0,o(e)};const{code:l}=U(e,t),s=new Function(`return ${l}`)();return a?s:de[n]=s}},le=lt,se=function(e,t){if(!b(e))return null;let n=B.get(t);if(n||(n=function(e){const t=[];let n,r,a,o,l,s,c,i=-1,u=0,f=0;const m=[];function p(){const t=e[i+1];if(5===u&&"'"===t||6===u&&'"'===t)return i++,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--,u=4,m[0]();else{if(f=0,void 0===r)return!1;if(r=G(r),!1===r)return!1;m[1]()}};null!==u;)if(i++,n=e[i],"\\"!==n||!p()){if(o=H(n),c=j[u],l=c[o]||c.l||8,8===l)return;if(u=l[0],void 0!==l[1]&&(s=m[l[1]],s&&(a=n,!1===s())))return;if(7===u)return t}}(t),n&&B.set(t,n)),!n)return null;const r=n.length;let a=e,o=0;for(;o<r;){const e=a[n[o]];if(void 0===e)return null;a=e,o++}return a},ce=ee,e.DatetimeFormat=nt,e.I18nInjectionKey=at,e.NumberFormat=tt,e.Translation=Qe,e.VERSION=we,e.castToVueI18n=e=>{if(!(Ve in e))throw Error(Se.NOT_COMPATIBLE_LEGACY_VUE_I18N);return e},e.createI18n=function(e={},n){rt=n;const r=!v(e.legacy)||e.legacy,o=!v(e.globalInjection)||e.globalInjection,l=!r||!!e.allowComposition,s=new Map,[c,i]=function(e,n,r){const a=t.effectScope();{if(!He(r))throw Error(Se.NOT_COMPATIBLE_LEGACY_VUE_I18N);const t=a.run((()=>Ke(e,r)));if(null==t)throw Error(Se.UNEXPECTED_ERROR);return[a,t]}}(e,0,n);a("");{const e=i[Ue];let t=null;Object.defineProperty(e,"global",{get:()=>i}),Object.defineProperty(e,"mode",{get:()=>r?"legacy":"composition"}),Object.defineProperty(e,"allowComposition",{get:()=>l}),Object.defineProperty(e,"__instances",{get:()=>s}),Object.defineProperty(e,"install",{writable:!0,value:(n,...a)=>{if(2!==(n&&n.version&&Number(n.version.split(".")[0])||-1))throw Error(Se.BRIDGE_SUPPORT_VUE_2_ONLY);!function(e,...t){const n=y(t[0])?t[0]:{};(!v(n.globalInstall)||n.globalInstall)&&(e.component(Qe.name,Qe),e.component(tt.name,tt),e.component(nt.name,nt))}(n,...a),!r&&o&&(t=function(e,t,n){const r=t.watchLocale(n);return e.prototype.$t=function(...e){return Reflect.apply(n.t,n,[...e])},e.prototype.$d=function(...e){return Reflect.apply(n.d,n,[...e])},e.prototype.$n=function(...e){return Reflect.apply(n.n,n,[...e])},r}(n,e,i)),n.mixin(function(e,t){return{beforeCreate(){const n=this.$options;if(!n.__VUE18N__INSTANCE__)if(n.i18n=n.i18n||(n.__i18nBridge?{}:null),this._i18nBridgeRoot=e,"composition"!==e.mode)if(n.i18n){if(n.i18n instanceof t){if(n.__i18nBridge)try{const e=n.i18n&&n.i18n.messages?n.i18n.messages:{};n.__i18nBridge.forEach((t=>Ye(JSON.parse(t),e))),Object.keys(e).forEach((t=>{n.i18n.mergeLocaleMessage(t,e[t])}))}catch(e){}this._i18n=n.i18n,this._i18nWatcher=this._i18n.watchI18nData()}else if(y(n.i18n)){const e=this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof t?this.$root.$i18n:null;if(e&&(n.i18n.root=this.$root,n.i18n.formatter=e.formatter,n.i18n.fallbackLocale=e.fallbackLocale,n.i18n.formatFallbackMessages=e.formatFallbackMessages,n.i18n.silentTranslationWarn=e.silentTranslationWarn,n.i18n.silentFallbackWarn=e.silentFallbackWarn,n.i18n.pluralizationRules=e.pluralizationRules,n.i18n.preserveDirectiveContent=e.preserveDirectiveContent),n.__i18nBridge)try{const e=n.i18n&&n.i18n.messages?n.i18n.messages:{};n.__i18nBridge.forEach((t=>Ye(JSON.parse(t),e))),n.i18n.messages=e}catch(e){}const{sharedMessages:r}=n.i18n;r&&y(r)&&Ye(r,n.i18n.messages),this._i18n=new t(n.i18n),this._i18nWatcher=this._i18n.watchI18nData(),(void 0===n.i18n.sync||n.i18n.sync)&&(this._localeWatcher=this.$i18n.watchLocale()),e&&e.onComponentInstanceCreated(this._i18n)}}else this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof t?this._i18n=this.$root.$i18n:n.parent&&n.parent.$i18n&&n.parent.$i18n instanceof t&&(this._i18n=n.parent.$i18n);else this._i18n=e},beforeMount(){const n=this.$options;n.__VUE18N__INSTANCE__||"composition"!==e.mode&&(n.i18n=n.i18n||(n.__i18nBridge?{}:null),n.i18n?(n.i18n instanceof t||y(n.i18n))&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0):(this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof t||n.parent&&n.parent.$i18n&&n.parent.$i18n instanceof t)&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0))},beforeDestroy(){if(this.$options.__VUE18N__INSTANCE__)return;if(this._i18nBridgeRoot)return void delete this._i18nBridgeRoot;if("composition"===e.mode)return void delete this._i18n;if(!this._i18n)return;const t=this;this.$nextTick((()=>{t._subscribing&&(t._i18n.unsubscribeDataChanging(t),delete t._subscribing),t._i18nWatcher&&(t._i18nWatcher(),t._i18n.destroyVM(),delete t._i18nWatcher),t._localeWatcher&&(t._localeWatcher(),delete t._localeWatcher)}))}}}(e,rt))}}),Object.defineProperty(e,"dispose",{value:()=>{t&&t(),c.stop()}});const n={__getInstance:function(e){return s.get(e)||null},__setInstance:function(e,t){s.set(e,t)},__deleteInstance:function(e){s.delete(e)}};return Object.keys(n).forEach((t=>Object.defineProperty(e,t,{value:n[t]}))),e}},e.useI18n=ot,Object.defineProperty(e,"__esModule",{value:!0}),e}({},VueDemi);
var VueI18nBridge=function(e,t){"use strict";const n="undefined"!=typeof window,r="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag,a=e=>r?Symbol(e):e,o=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),l=e=>"number"==typeof e&&isFinite(e),s=e=>"[object RegExp]"===k(e),c=e=>y(e)&&0===Object.keys(e).length;function i(e,t){"undefined"!=typeof console&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const u=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 p(e,t){return m.call(e,t)}const d=Array.isArray,g=e=>"function"==typeof e,_=e=>"string"==typeof e,v=e=>"boolean"==typeof e,b=e=>null!==e&&"object"==typeof e,h=Object.prototype.toString,k=e=>h.call(e),y=e=>"[object Object]"===k(e),L=15;function T(e){throw e}function E(e,t,n){const r={start:e,end:t};return null!=n&&(r.source=n),r}const N=" ",I="\n",O=String.fromCharCode(8232),F=String.fromCharCode(8233);function C(e){const t=e;let n=0,r=1,a=1,o=0;const l=e=>"\r"===t[e]&&t[e+1]===I,s=e=>t[e]===F,c=e=>t[e]===O,i=e=>l(e)||(e=>t[e]===I)(e)||s(e)||c(e),u=e=>l(e)||s(e)||c(e)?I:t[e];function f(){return o=0,i(n)&&(r++,a=0),l(n)&&n++,n++,a++,t[n]}return{index:()=>n,line:()=>r,column:()=>a,peekOffset:()=>o,charAt:u,currentChar:()=>u(n),currentPeek:()=>u(n+o),next:f,peek:function(){return l(n+o)&&o++,o++,t[n+o]},reset:function(){n=0,r=1,a=1,o=0},resetPeek:function(e=0){o=e},skipToPeek:function(){const e=n+o;for(;e!==n;)f();o=0}}}const P=void 0;function R(e,t={}){const n=!1!==t.location,r=C(e),a=()=>r.index(),o=()=>{return e=r.line(),t=r.column(),n=r.index(),{line:e,column:t,offset:n};var e,t,n},l=o(),s=a(),c={currentType:14,offset:s,startLoc:l,endLoc:l,lastType:14,lastOffset:s,lastStartLoc:l,lastEndLoc:l,braceNest:0,inLinked:!1,text:""},i=()=>c,{onError:u}=t;function f(e,t,r){e.endLoc=o(),e.currentType=t;const a={type:t};return n&&(a.loc=E(e.startLoc,e.endLoc)),null!=r&&(a.value=r),a}const m=e=>f(e,14);function p(e,t){return e.currentChar()===t?(e.next(),t):(o(),"")}function d(e){let t="";for(;e.currentPeek()===N||e.currentPeek()===I;)t+=e.currentPeek(),e.peek();return t}function g(e){const t=d(e);return e.skipToPeek(),t}function _(e){if(e===P)return!1;const t=e.charCodeAt(0);return t>=97&&t<=122||t>=65&&t<=90||95===t}function v(e,t){const{currentType:n}=t;if(2!==n)return!1;d(e);const r=function(e){if(e===P)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){d(e);const t="|"===e.currentPeek();return e.resetPeek(),t}function h(e,t=!0){const n=(t=!1,r="",a=!1)=>{const o=e.currentPeek();return"{"===o?"%"!==r&&t:"@"!==o&&o?"%"===o?(e.peek(),n(t,"%",!0)):"|"===o?!("%"!==r&&!a)||!(r===N||r===I):o===N?(e.peek(),n(!0,N,a)):o!==I||(e.peek(),n(!0,I,a)):"%"===r||t},r=n();return t&&e.resetPeek(),r}function k(e,t){const n=e.currentChar();return n===P?P:t(n)?(e.next(),n):null}function y(e){return k(e,(e=>{const t=e.charCodeAt(0);return t>=97&&t<=122||t>=65&&t<=90||t>=48&&t<=57||95===t||36===t}))}function L(e){return k(e,(e=>{const t=e.charCodeAt(0);return t>=48&&t<=57}))}function T(e){return k(e,(e=>{const t=e.charCodeAt(0);return t>=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102}))}function O(e){let t="",n="";for(;t=L(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(!h(e))break;t+=n,e.next()}else if(n===N||n===I)if(h(e))t+=n,e.next();else{if(b(e))break;t+=n,e.next()}else t+=n,e.next()}return t}function R(e){const t=e.currentChar();switch(t){case"\\":case"'":return e.next(),`\\${t}`;case"u":return w(e,t,4);case"U":return w(e,t,6);default:return o(),""}}function w(e,t,n){p(e,t);let r="";for(let t=0;t<n;t++){const t=T(e);if(!t){o(),e.currentChar();break}r+=t}return`\\${t}${r}`}function W(e){g(e);const t=p(e,"|");return g(e),t}function M(e,t){let n=null;switch(e.currentChar()){case"{":return t.braceNest>=1&&o(),e.next(),n=f(t,2,"{"),g(e),t.braceNest++,n;case"}":return t.braceNest>0&&2===t.currentType&&o(),e.next(),n=f(t,3,"}"),t.braceNest--,t.braceNest>0&&g(e),t.inLinked&&0===t.braceNest&&(t.inLinked=!1),n;case"@":return t.braceNest>0&&o(),n=S(e,t)||m(t),t.braceNest=0,n;default:let r=!0,a=!0,l=!0;if(b(e))return t.braceNest>0&&o(),n=f(t,1,W(e)),t.braceNest=0,t.inLinked=!1,n;if(t.braceNest>0&&(5===t.currentType||6===t.currentType||7===t.currentType))return o(),t.braceNest=0,x(e,t);if(r=function(e,t){const{currentType:n}=t;if(2!==n)return!1;d(e);const r=_(e.currentPeek());return e.resetPeek(),r}(e,t))return n=f(t,5,function(e){g(e);let t="",n="";for(;t=y(e);)n+=t;return e.currentChar()===P&&o(),n}(e)),g(e),n;if(a=v(e,t))return n=f(t,6,function(e){g(e);let t="";return"-"===e.currentChar()?(e.next(),t+=`-${O(e)}`):t+=O(e),e.currentChar()===P&&o(),t}(e)),g(e),n;if(l=function(e,t){const{currentType:n}=t;if(2!==n)return!1;d(e);const r="'"===e.currentPeek();return e.resetPeek(),r}(e,t))return n=f(t,7,function(e){g(e),p(e,"'");let t="",n="";const r=e=>"'"!==e&&e!==I;for(;t=k(e,r);)n+="\\"===t?R(e):t;const a=e.currentChar();return a===I||a===P?(o(),a===I&&(e.next(),p(e,"'")),n):(p(e,"'"),n)}(e)),g(e),n;if(!r&&!a&&!l)return n=f(t,13,function(e){g(e);let t="",n="";const r=e=>"{"!==e&&"}"!==e&&e!==N&&e!==I;for(;t=k(e,r);)n+=t;return n}(e)),o(),n.value,g(e),n}return n}function S(e,t){const{currentType:n}=t;let r=null;const a=e.currentChar();switch(8!==n&&9!==n&&12!==n&&10!==n||a!==I&&a!==N||o(),a){case"@":return e.next(),r=f(t,8,"@"),t.inLinked=!0,r;case".":return g(e),e.next(),f(t,9,".");case":":return g(e),e.next(),f(t,10,":");default:return b(e)?(r=f(t,1,W(e)),t.braceNest=0,t.inLinked=!1,r):function(e,t){const{currentType:n}=t;if(8!==n)return!1;d(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;d(e);const r=":"===e.currentPeek();return e.resetPeek(),r}(e,t)?(g(e),S(e,t)):function(e,t){const{currentType:n}=t;if(9!==n)return!1;d(e);const r=_(e.currentPeek());return e.resetPeek(),r}(e,t)?(g(e),f(t,12,function(e){let t="",n="";for(;t=y(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?_(e.peek()):!("@"===t||"%"===t||"|"===t||":"===t||"."===t||t===N||!t)&&(t===I?(e.peek(),r()):_(t))},a=r();return e.resetPeek(),a}(e,t)?(g(e),"{"===a?M(e,t)||r:f(t,11,function(e){const t=(n=!1,r)=>{const a=e.currentChar();return"{"!==a&&"%"!==a&&"@"!==a&&"|"!==a&&a?a===N?r:a===I?(r+=a,e.next(),t(n,r)):(r+=a,e.next(),t(!0,r)):r};return t(!1,"")}(e))):(8===n&&o(),t.braceNest=0,t.inLinked=!1,x(e,t))}}function x(e,t){let n={type:14};if(t.braceNest>0)return M(e,t)||m(t);if(t.inLinked)return S(e,t)||m(t);switch(e.currentChar()){case"{":return M(e,t)||m(t);case"}":return o(),e.next(),f(t,3,"}");case"@":return S(e,t)||m(t);default:if(b(e))return n=f(t,1,W(e)),t.braceNest=0,t.inLinked=!1,n;const{isModulo:r,hasSpace:a}=function(e){const t=d(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){g(e);return"%"!==e.currentChar()&&o(),e.next(),"%"}(e));if(h(e))return f(t,0,F(e))}return n}return{nextToken:function(){const{currentType:e,offset:t,startLoc:n,endLoc:l}=c;return c.lastType=e,c.lastOffset=t,c.lastStartLoc=n,c.lastEndLoc=l,c.offset=a(),c.startLoc=o(),r.currentChar()===P?f(c,14):x(r,c)},currentOffset:a,currentPosition:o,context:i}}const w=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function W(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 M(e={}){const t=!1!==e.location,{onError:n}=e;function r(e,n,r){const a={type:e,start:n,end:n};return t&&(a.loc={start:r,end:r}),a}function a(e,n,r,a){e.end=n,a&&(e.type=a),t&&e.loc&&(e.loc.end=r)}function o(e,t){const n=e.context(),o=r(3,n.offset,n.startLoc);return o.value=t,a(o,e.currentOffset(),e.currentPosition()),o}function l(e,t){const n=e.context(),{lastOffset:o,lastStartLoc:l}=n,s=r(5,o,l);return s.index=parseInt(t,10),e.nextToken(),a(s,e.currentOffset(),e.currentPosition()),s}function s(e,t){const n=e.context(),{lastOffset:o,lastStartLoc:l}=n,s=r(4,o,l);return s.key=t,e.nextToken(),a(s,e.currentOffset(),e.currentPosition()),s}function c(e,t){const n=e.context(),{lastOffset:o,lastStartLoc:l}=n,s=r(9,o,l);return s.value=t.replace(w,W),e.nextToken(),a(s,e.currentOffset(),e.currentPosition()),s}function i(e){const t=e.context(),n=r(6,t.offset,t.startLoc);let o=e.nextToken();if(9===o.type){const t=function(e){const t=e.nextToken(),n=e.context(),{lastOffset:o,lastStartLoc:l}=n,s=r(8,o,l);return 12!==t.type?(n.lastStartLoc,s.value="",a(s,o,l),{nextConsumeToken:t,node:s}):(null==t.value&&(n.lastStartLoc,S(t)),s.value=t.value||"",a(s,e.currentOffset(),e.currentPosition()),{node:s})}(e);n.modifier=t.node,o=t.nextConsumeToken||e.nextToken()}switch(10!==o.type&&(t.lastStartLoc,S(o)),o=e.nextToken(),2===o.type&&(o=e.nextToken()),o.type){case 11:null==o.value&&(t.lastStartLoc,S(o)),n.key=function(e,t){const n=e.context(),o=r(7,n.offset,n.startLoc);return o.value=t,a(o,e.currentOffset(),e.currentPosition()),o}(e,o.value||"");break;case 5:null==o.value&&(t.lastStartLoc,S(o)),n.key=s(e,o.value||"");break;case 6:null==o.value&&(t.lastStartLoc,S(o)),n.key=l(e,o.value||"");break;case 7:null==o.value&&(t.lastStartLoc,S(o)),n.key=c(e,o.value||"");break;default:t.lastStartLoc;const i=e.context(),u=r(7,i.offset,i.startLoc);return u.value="",a(u,i.offset,i.startLoc),n.key=u,a(n,i.offset,i.startLoc),{nextConsumeToken:o,node:n}}return a(n,e.currentOffset(),e.currentPosition()),{node:n}}function f(e){const t=e.context(),n=r(2,1===t.currentType?e.currentOffset():t.offset,1===t.currentType?t.endLoc:t.startLoc);n.items=[];let u=null;do{const r=u||e.nextToken();switch(u=null,r.type){case 0:null==r.value&&(t.lastStartLoc,S(r)),n.items.push(o(e,r.value||""));break;case 6:null==r.value&&(t.lastStartLoc,S(r)),n.items.push(l(e,r.value||""));break;case 5:null==r.value&&(t.lastStartLoc,S(r)),n.items.push(s(e,r.value||""));break;case 7:null==r.value&&(t.lastStartLoc,S(r)),n.items.push(c(e,r.value||""));break;case 8:const a=i(e);n.items.push(a.node),u=a.nextConsumeToken||null}}while(14!==t.currentType&&1!==t.currentType);return a(n,1===t.currentType?t.lastOffset:e.currentOffset(),1===t.currentType?t.lastEndLoc:e.currentPosition()),n}function m(e){const t=e.context(),{offset:n,startLoc:o}=t,l=f(e);return 14===t.currentType?l:function(e,t,n,o){const l=e.context();let s=0===o.items.length;const c=r(1,t,n);c.cases=[],c.cases.push(o);do{const t=f(e);s||(s=0===t.items.length),c.cases.push(t)}while(14!==l.currentType);return a(c,e.currentOffset(),e.currentPosition()),c}(e,n,o,l)}return{parse:function(n){const o=R(n,u({},e)),l=o.context(),s=r(0,l.offset,l.startLoc);return t&&s.loc&&(s.loc.source=n),s.body=m(o),14!==l.currentType&&(l.lastStartLoc,n[l.offset]),a(s,o.currentOffset(),o.currentPosition()),s}}}function S(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 x(e,t){for(let n=0;n<e.length;n++)D(e[n],t)}function D(e,t){switch(e.type){case 1:x(e.cases,t),t.helper("plural");break;case 2:x(e.items,t);break;case 6:D(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 A(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&&D(e.body,n);const r=n.context();e.helpers=Array.from(r.helpers)}function $(e,t){const{helper:n}=e;switch(t.type){case 0:!function(e,t){t.body?$(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&&($(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 n=0;n<a&&($(e,t.items[n]),n!==a-1);n++)e.push(", ");e.deindent(r()),e.push("])")}(e,t);break;case 6:!function(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),$(e,t.key),t.modifier?(e.push(", "),$(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)}}function U(e,t={}){const n=u({},t),r=M(n).parse(e);return A(r,n),((e,t={})=>{const n=_(t.mode)?t.mode:"normal",r=_(t.filename)?t.filename:"message.intl",a=!!t.sourceMap,o=null!=t.breakLineCode?t.breakLineCode:"arrow"===n?";":"\n",l=t.needIndent?t.needIndent:"arrow"!==n,s=e.helpers||[],c=function(e,t){const{sourceMap:n,filename:r,breakLineCode:a,needIndent:o}=t,l={source:e.loc.source,filename:r,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:a,needIndent:o,indentLevel:0};function s(e,t){l.code+=e}function c(e,t=!0){const n=t?a:"";s(o?n+" ".repeat(e):n)}return{context:()=>l,push:s,indent:function(e=!0){const t=++l.indentLevel;e&&c(t)},deindent:function(e=!0){const t=--l.indentLevel;e&&c(t)},newline:function(){c(l.indentLevel)},helper:e=>`_${e}`,needIndent:()=>l.needIndent}}(e,{mode:n,filename:r,sourceMap:a,breakLineCode:o,needIndent:l});c.push("normal"===n?"function __msg__ (ctx) {":"(ctx) => {"),c.indent(l),s.length>0&&(c.push(`const { ${s.map((e=>`${e}: _${e}`)).join(", ")} } = ctx`),c.newline()),c.push("return "),$(c,e),c.deindent(l),c.push("}");const{code:i,map:u}=c.context();return{ast:e,code:i,map:u?u.toJSON():void 0}})(r,n)}const j=[];j[0]={w:[0],i:[3,0],"[":[4],o:[7]},j[1]={w:[1],".":[2],"[":[4],o:[7]},j[2]={w:[2],i:[3,0],0:[3,0]},j[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]},j[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]},j[5]={"'":[4,0],o:8,l:[5,0]},j[6]={'"':[4,0],o:8,l:[6,0]};const V=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function H(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 G(e){const t=e.trim();return("0"!==e.charAt(0)||!isNaN(parseInt(e)))&&(n=t,V.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 B=new Map;function J(e,t){return b(e)?e[t]:null}const Y=e=>e,z=e=>"",X=e=>0===e.length?"":e.join(""),q=e=>null==e?"":d(e)||y(e)&&e.toString===h?JSON.stringify(e,null,2):String(e);function K(e,t){return e=Math.abs(e),2===t?e?e>1?1:0:1:e?Math.min(e,2):0}function Z(e={}){const t=e.locale,n=function(e){const t=l(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(l(e.named.count)||l(e.named.n))?l(e.named.count)?e.named.count:l(e.named.n)?e.named.n:t:t}(e),r=b(e.pluralRules)&&_(t)&&g(e.pluralRules[t])?e.pluralRules[t]:K,a=b(e.pluralRules)&&_(t)&&g(e.pluralRules[t])?K:void 0,o=e.list||[],s=e.named||{};l(e.pluralIndex)&&function(e,t){t.count||(t.count=e),t.n||(t.n=e)}(n,s);function c(t){const n=g(e.messages)?e.messages(t):!!b(e.messages)&&e.messages[t];return n||(e.parent?e.parent.message(t):z)}const i=y(e.processor)&&g(e.processor.normalize)?e.processor.normalize:X,u=y(e.processor)&&g(e.processor.interpolate)?e.processor.interpolate:q,f={list:e=>o[e],named:e=>s[e],plural:e=>e[r(n,e.length,a)],linked:(t,...n)=>{const[r,a]=n;let o="text",l="";1===n.length?b(r)?(l=r.modifier||l,o=r.type||o):_(r)&&(l=r||l):2===n.length&&(_(r)&&(l=r||l),_(a)&&(o=a||o));let s=c(t)(f);return"vnode"===o&&d(s)&&l&&(s=s[0]),l?(i=l,e.modifiers?e.modifiers[i]:Y)(s,o):s;var i},message:c,type:y(e.processor)&&_(e.processor.type)?e.processor.type:"text",interpolate:u,normalize:i};return f}function Q(e,t,n){return[...new Set([n,...d(t)?t:b(t)?Object.keys(t):_(t)?[t]:[n]])]}function ee(e,t,n){const r=_(n)?n:ae,a=e;a.__localeChainCache||(a.__localeChainCache=new Map);let o=a.__localeChainCache.get(r);if(!o){o=[];let e=[n];for(;d(e);)e=te(o,e,t);const l=d(t)||!y(t)?t:t.default?t.default:null;e=_(l)?[l]:l,d(e)&&te(o,e,!1),a.__localeChainCache.set(r,o)}return o}function te(e,t,n){let r=!0;for(let a=0;a<t.length&&v(r);a++){const o=t[a];_(o)&&(r=ne(e,t[a],n))}return r}function ne(e,t,n){let r;const a=t.split("-");do{r=re(e,a.join("-"),n),a.splice(-1,1)}while(a.length&&!0===r);return r}function re(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),(d(n)||y(n))&&n[a]&&(r=n[a])}return r}const ae="en-US",oe=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;let le,se,ce;let ie=0;function ue(e={}){const t=_(e.version)?e.version:"9.3.0-beta.2",n=_(e.locale)?e.locale:ae,r=d(e.fallbackLocale)||y(e.fallbackLocale)||_(e.fallbackLocale)||!1===e.fallbackLocale?e.fallbackLocale:n,a=y(e.messages)?e.messages:{[n]:{}},o=y(e.datetimeFormats)?e.datetimeFormats:{[n]:{}},l=y(e.numberFormats)?e.numberFormats:{[n]:{}},c=u({},e.modifiers||{},{upper:(e,t)=>"text"===t&&_(e)?e.toUpperCase():"vnode"===t&&b(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>"text"===t&&_(e)?e.toLowerCase():"vnode"===t&&b(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>"text"===t&&_(e)?oe(e):"vnode"===t&&b(e)&&"__v_isVNode"in e?oe(e.children):e}),f=e.pluralRules||{},m=g(e.missing)?e.missing:null,p=!v(e.missingWarn)&&!s(e.missingWarn)||e.missingWarn,h=!v(e.fallbackWarn)&&!s(e.fallbackWarn)||e.fallbackWarn,k=!!e.fallbackFormat,L=!!e.unresolving,T=g(e.postTranslation)?e.postTranslation:null,E=y(e.processor)?e.processor:null,N=!v(e.warnHtmlMessage)||e.warnHtmlMessage,I=!!e.escapeParameter,O=g(e.messageCompiler)?e.messageCompiler:le,F=g(e.messageResolver)?e.messageResolver:se||J,C=g(e.localeFallbacker)?e.localeFallbacker:ce||Q,P=b(e.fallbackContext)?e.fallbackContext:void 0,R=g(e.onWarn)?e.onWarn:i,w=e,W=b(w.__datetimeFormatters)?w.__datetimeFormatters:new Map,M=b(w.__numberFormatters)?w.__numberFormatters:new Map,S=b(w.__meta)?w.__meta:{};ie++;const x={version:t,cid:ie,locale:n,fallbackLocale:r,messages:a,modifiers:c,pluralRules:f,missing:m,missingWarn:p,fallbackWarn:h,fallbackFormat:k,unresolving:L,postTranslation:T,processor:E,warnHtmlMessage:N,escapeParameter:I,messageCompiler:O,messageResolver:F,localeFallbacker:C,fallbackContext:P,onWarn:R,__meta:S};return x.datetimeFormats=o,x.numberFormats=l,x.__datetimeFormatters=W,x.__numberFormatters=M,x}function fe(e,t,n,r,a){const{missing:o,onWarn:l}=e;if(null!==o){const r=o(e,n,t,a);return _(r)?r:t}return t}function me(e,t,n){e.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}const pe=e=>e;let de=Object.create(null);let ge=L;const _e=()=>++ge,ve={INVALID_ARGUMENT:ge,INVALID_DATE_ARGUMENT:_e(),INVALID_ISO_DATE_ARGUMENT:_e(),__EXTEND_POINT__:_e()},be=()=>"",he=e=>g(e);function ke(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:a,messageCompiler:o,fallbackLocale:s,messages:c}=e,[i,u]=Te(...t),m=v(u.missingWarn)?u.missingWarn:e.missingWarn,p=v(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn,g=v(u.escapeParameter)?u.escapeParameter:e.escapeParameter,h=!!u.resolvedMessage,k=_(u.default)||v(u.default)?v(u.default)?o?i:()=>i:u.default:n?o?i:()=>i:"",y=n||""!==k,L=_(u.locale)?u.locale:e.locale;g&&function(e){d(e.list)?e.list=e.list.map((e=>_(e)?f(e):e)):b(e.named)&&Object.keys(e.named).forEach((t=>{_(e.named[t])&&(e.named[t]=f(e.named[t]))}))}(u);let[T,E,N]=h?[i,L,c[L]||{}]:ye(e,i,L,s,p,m),I=T,O=i;if(h||_(I)||he(I)||y&&(I=k,O=I),!(h||(_(I)||he(I))&&_(E)))return a?-1:i;let F=!1;const C=he(I)?I:Le(e,i,E,I,O,(()=>{F=!0}));if(F)return I;const P=function(e,t,n,r){const{modifiers:a,pluralRules:o,messageResolver:s,fallbackLocale:c,fallbackWarn:i,missingWarn:u,fallbackContext:f}=e,m=r=>{let a=s(n,r);if(null==a&&f){const[,,e]=ye(f,r,t,c,i,u);a=s(e,r)}if(_(a)){let n=!1;const o=Le(e,r,t,a,r,(()=>{n=!0}));return n?be:o}return he(a)?a:be},p={locale:t,modifiers:a,pluralRules:o,messages:m};e.processor&&(p.processor=e.processor);r.list&&(p.list=r.list);r.named&&(p.named=r.named);l(r.plural)&&(p.pluralIndex=r.plural);return p}(e,E,N,u),R=function(e,t,n){return t(n)}(0,C,Z(P));return r?r(R,i):R}function ye(e,t,n,r,a,o){const{messages:l,onWarn:s,messageResolver:c,localeFallbacker:i}=e,u=i(e,r,n);let f,m={},p=null;for(let n=0;n<u.length&&(f=u[n],m=l[f]||{},null===(p=c(m,t))&&(p=m[t]),!_(p)&&!g(p));n++){const n=fe(e,t,f,0,"translate");n!==t&&(p=n)}return[p,f,m]}function Le(e,t,n,r,a,l){const{messageCompiler:s,warnHtmlMessage:c}=e;if(he(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 i=s(r,function(e,t,n,r,a,l){return{warnHtmlMessage:a,onError:e=>{throw l&&l(e),e},onCacheKey:e=>((e,t,n)=>o({l:e,k:t,s:n}))(t,n,e)}}(0,n,a,0,c,l));return i.locale=n,i.key=t,i.source=r,i}function Te(...e){const[t,n,r]=e,a={};if(!_(t)&&!l(t)&&!he(t))throw Error(ve.INVALID_ARGUMENT);const o=l(t)?String(t):(he(t),t);return l(n)?a.plural=n:_(n)?a.default=n:y(n)&&!c(n)?a.named=n:d(n)&&(a.list=n),l(r)?a.plural=r:_(r)?a.default=r:y(r)&&u(a,r),[o,a]}function Ee(e,...t){const{datetimeFormats:n,unresolving:r,fallbackLocale:a,onWarn:o,localeFallbacker:l}=e,{__datetimeFormatters:s}=e,[i,f,m,p]=Ie(...t);v(m.missingWarn)?m.missingWarn:e.missingWarn;v(m.fallbackWarn)?m.fallbackWarn:e.fallbackWarn;const d=!!m.part,g=_(m.locale)?m.locale:e.locale,b=l(e,a,g);if(!_(i)||""===i)return new Intl.DateTimeFormat(g,p).format(f);let h,k={},L=null;for(let t=0;t<b.length&&(h=b[t],k=n[h]||{},L=k[i],!y(L));t++)fe(e,i,h,0,"datetime format");if(!y(L)||!_(h))return r?-1:i;let T=`${h}__${i}`;c(p)||(T=`${T}__${JSON.stringify(p)}`);let E=s.get(T);return E||(E=new Intl.DateTimeFormat(h,u({},L,p)),s.set(T,E)),d?E.formatToParts(f):E.format(f)}const Ne=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function Ie(...e){const[t,n,r,a]=e,o={};let s,c={};if(_(t)){const e=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!e)throw Error(ve.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();s=new Date(n);try{s.toISOString()}catch(e){throw Error(ve.INVALID_ISO_DATE_ARGUMENT)}}else if("[object Date]"===k(t)){if(isNaN(t.getTime()))throw Error(ve.INVALID_DATE_ARGUMENT);s=t}else{if(!l(t))throw Error(ve.INVALID_ARGUMENT);s=t}return _(n)?o.key=n:y(n)&&Object.keys(n).forEach((e=>{Ne.includes(e)?c[e]=n[e]:o[e]=n[e]})),_(r)?o.locale=r:y(r)&&(c=r),y(a)&&(c=a),[o.key||"",s,o,c]}function Oe(e,t,n){const r=e;for(const e in n){const n=`${t}__${e}`;r.__datetimeFormatters.has(n)&&r.__datetimeFormatters.delete(n)}}function Fe(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:a,onWarn:o,localeFallbacker:l}=e,{__numberFormatters:s}=e,[i,f,m,p]=Pe(...t);v(m.missingWarn)?m.missingWarn:e.missingWarn;v(m.fallbackWarn)?m.fallbackWarn:e.fallbackWarn;const d=!!m.part,g=_(m.locale)?m.locale:e.locale,b=l(e,a,g);if(!_(i)||""===i)return new Intl.NumberFormat(g,p).format(f);let h,k={},L=null;for(let t=0;t<b.length&&(h=b[t],k=n[h]||{},L=k[i],!y(L));t++)fe(e,i,h,0,"number format");if(!y(L)||!_(h))return r?-1:i;let T=`${h}__${i}`;c(p)||(T=`${T}__${JSON.stringify(p)}`);let E=s.get(T);return E||(E=new Intl.NumberFormat(h,u({},L,p)),s.set(T,E)),d?E.formatToParts(f):E.format(f)}const Ce=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function Pe(...e){const[t,n,r,a]=e,o={};let s={};if(!l(t))throw Error(ve.INVALID_ARGUMENT);const c=t;return _(n)?o.key=n:y(n)&&Object.keys(n).forEach((e=>{Ce.includes(e)?s[e]=n[e]:o[e]=n[e]})),_(r)?o.locale=r:y(r)&&(s=r),y(a)&&(s=a),[o.key||"",c,o,s]}function Re(e,t,n){const r=e;for(const e in n){const n=`${t}__${e}`;r.__numberFormatters.has(n)&&r.__numberFormatters.delete(n)}}const we="9.3.0-beta.2";let We=L;const Me=()=>++We,Se={UNEXPECTED_RETURN_TYPE:We,INVALID_ARGUMENT:Me(),MUST_BE_CALL_SETUP_TOP:Me(),NOT_INSLALLED:Me(),NOT_AVAILABLE_IN_LEGACY_MODE:Me(),REQUIRED_VALUE:Me(),INVALID_VALUE:Me(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:Me(),NOT_INSLALLED_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()},xe=a("__transrateVNode"),De=a("__datetimeParts"),Ae=a("__numberParts"),$e=a("__setPluralRules"),Ue=a("__legacyVueI18n"),je=a("__injectWithOption"),Ve="__VUE_I18N_BRIDGE__";function He(e){return null!=e&&null!=e.version&&(Number(e.version.split(".")[0])||-1)>=8}function Ge(e){if(!b(e))return e;for(const t in e)if(p(e,t))if(t.includes(".")){const n=t.split("."),r=n.length-1;let a=e;for(let e=0;e<r;e++)n[e]in a||(a[n[e]]={}),a=a[n[e]];a[n[r]]=e[t],delete e[t],b(a[n[r]])&&Ge(a[n[r]])}else b(e[t])&&Ge(e[t]);return e}function Be(e,t){const{messages:n,__i18n:r,messageResolver:a,flatJson:o}=t,l=y(n)?n:d(r)?{}:{[e]:{}};if(d(r)&&r.forEach((e=>{if("locale"in e&&"resource"in e){const{locale:t,resource:n}=e;t?(l[t]=l[t]||{},Ye(n,l[t])):Ye(n,l)}else _(e)&&Ye(JSON.parse(e),l)})),null==a&&o)for(const e in l)p(l,e)&&Ge(l[e]);return l}const Je=e=>!b(e)||d(e);function Ye(e,t){if(Je(e)||Je(t))throw Error(Se.INVALID_VALUE);for(const n in e)p(e,n)&&(Je(e[n])||Je(t[n])?t[n]=e[n]:Ye(e[n],t[n]))}function ze(e){return function(e){const t=void 0;return{tag:void 0,data:void 0,children:void 0,text:e,elm:void 0,ns:void 0,context:void 0,fnContext:void 0,fnOptions:void 0,fnScopeId:void 0,key:void 0,componentOptions:void 0,componentInstance:t,parent:void 0,raw:!1,isStatic:!1,isRootInsert:!0,isComment:!1,isCloned:!1,isOnce:!1,asyncFactory:void 0,asyncMeta:void 0,isAsyncPlaceholder:!1,child:()=>t}}(e)}let Xe=0;function qe(e){return(n,r,a,o)=>e(r,a,t.getCurrentInstance()||void 0,o)}function Ke(e={},r){const{__root:a}=e,o=void 0===a;let c=!v(e.inheritLocale)||e.inheritLocale;const i=t.ref(a&&c?a.locale.value:_(e.locale)?e.locale:ae),f=t.ref(a&&c?a.fallbackLocale.value:_(e.fallbackLocale)||d(e.fallbackLocale)||y(e.fallbackLocale)||!1===e.fallbackLocale?e.fallbackLocale:i.value),m=t.ref(Be(i.value,e)),p=t.ref(y(e.datetimeFormats)?e.datetimeFormats:{[i.value]:{}}),h=t.ref(y(e.numberFormats)?e.numberFormats:{[i.value]:{}});let k=a?a.missingWarn:!v(e.missingWarn)&&!s(e.missingWarn)||e.missingWarn,L=a?a.fallbackWarn:!v(e.fallbackWarn)&&!s(e.fallbackWarn)||e.fallbackWarn,T=a?a.fallbackRoot:!v(e.fallbackRoot)||e.fallbackRoot,E=!!e.fallbackFormat,N=g(e.missing)?e.missing:null,I=g(e.missing)?qe(e.missing):null,O=g(e.postTranslation)?e.postTranslation:null,F=a?a.warnHtmlMessage:!v(e.warnHtmlMessage)||e.warnHtmlMessage,C=!!e.escapeParameter;const P=a?a.modifiers:y(e.modifiers)?e.modifiers:{};let R,w,W=e.pluralRules||a&&a.pluralRules;{He(r);const e={locale:i.value,fallbackLocale:f.value,messages:m.value,dateTimeFormats:p.value,numberFormats:h.value,modifiers:P,missing:N,fallbackRoot:T,postTranslation:O,pluralizationRules:W,escapeParameterHtml:C,sync:c,silentFallbackWarn:v(L)?!L:L,silentTranslationWarn:v(k)?!k:k,formatFallbackMessages:v(E)?!E:E,warnHtmlInMessage:v(F)&&F?"warn":"off",__VUE_I18N_BRIDGE__:Ve};R=new r(e)}w=(()=>{const t={version:we,locale:i.value,fallbackLocale:f.value,messages:m.value,modifiers:P,pluralRules:W,missing:null===I?void 0:I,missingWarn:k,fallbackWarn:L,fallbackFormat:E,unresolving:!0,postTranslation:null===O?void 0:O,warnHtmlMessage:F,escapeParameter:C,messageResolver:e.messageResolver,__meta:{framework:"vue"}};t.datetimeFormats=p.value,t.numberFormats=h.value,t.__datetimeFormatters=y(w)?w.__datetimeFormatters:void 0,t.__numberFormatters=y(w)?w.__numberFormatters:void 0;return ue(t)})(),me(w,i.value,f.value);const M=t.computed({get:()=>i.value,set:e=>{i.value=e,R&&!o&&(R.locale=e),w.locale=i.value}}),S=t.computed({get:()=>f.value,set:e=>{f.value=e,R&&!o&&(R.fallbackLocale=e),w.fallbackLocale=f.value,me(w,i.value,e)}}),x=t.computed((()=>m.value)),D=t.computed((()=>p.value)),A=t.computed((()=>h.value));const $=(e,t,n,r,o,s)=>{let c;if(i.value,f.value,m.value,p.value,h.value,c=e(w),l(c)&&-1===c){const[e,n]=t();return a&&T?r(a):o(e)}if(s(c))return c;throw Error(Se.UNEXPECTED_RETURN_TYPE)};function U(...e){return $((t=>Reflect.apply(ke,null,[t,...e])),(()=>Te(...e)),0,(t=>Reflect.apply(t.t,t,[...e])),(e=>e),(e=>_(e)))}const j={normalize:function(e){return e.map((e=>_(e)||l(e)||v(e)?ze(String(e)):e))},interpolate:e=>e,type:"vnode"};function V(e){return m.value[e]||{}}Xe++,a&&n&&(t.watch(a.locale,(e=>{c&&(i.value=e,R&&!o&&(R.locale=e),w.locale=e,me(w,i.value,f.value))})),t.watch(a.fallbackLocale,(e=>{c&&(f.value=e,R&&!o&&(R.fallbackLocale=e),w.fallbackLocale=e,me(w,i.value,f.value))})));const H={id:Xe,locale:M,fallbackLocale:S,get inheritLocale(){return c},set inheritLocale(e){c=e,R&&(R._sync=e),e&&a&&(i.value=a.locale.value,f.value=a.fallbackLocale.value,R&&(R.locale=a.locale.value,R.fallbackLocale=a.fallbackLocale.value),me(w,i.value,f.value))},get availableLocales(){return Object.keys(m.value).sort()},messages:x,get modifiers(){return P},get pluralRules(){return W||{}},get isGlobal(){return o},get missingWarn(){return k},set missingWarn(e){k=e,w.missingWarn=k},get fallbackWarn(){return L},set fallbackWarn(e){L=e,w.fallbackWarn=L},get fallbackRoot(){return T},set fallbackRoot(e){T=e},get fallbackFormat(){return E},set fallbackFormat(e){E=e,w.fallbackFormat=E},get warnHtmlMessage(){return F},set warnHtmlMessage(e){F=e,w.warnHtmlMessage=e},get escapeParameter(){return C},set escapeParameter(e){C=e,w.escapeParameter=e},t:U,getLocaleMessage:V,setLocaleMessage:function(e,t){m.value[e]=t,R&&R.setLocaleMessage(e,t),w.messages=m.value},mergeLocaleMessage:function(e,t){m.value[e]=m.value[e]||{},R&&R.mergeLocaleMessage(e,t),Ye(t,m.value[e]),w.messages=m.value},getPostTranslationHandler:function(){return g(O)?O:null},setPostTranslationHandler:function(e){O=e,w.postTranslation=e},getMissingHandler:function(){return N},setMissingHandler:function(e){null!==e&&(I=qe(e)),N=e,w.missing=I},[$e]:function(e){W=e,w.pluralRules=W}};return H.datetimeFormats=D,H.numberFormats=A,H.rt=function(...e){const[t,n,r]=e;if(r&&!b(r))throw Error(Se.INVALID_ARGUMENT);return U(t,n,u({resolvedMessage:!0},r||{}))},H.te=function(e,t){const n=V(_(t)?t:i.value);return null!==w.messageResolver(n,e)},H.tm=function(e){const t=function(e){let t=null;const n=ee(w,f.value,i.value);for(let r=0;r<n.length;r++){const a=m.value[n[r]]||{},o=w.messageResolver(a,e);if(null!=o){t=o;break}}return t}(e);return null!=t?t:a&&a.tm(e)||{}},H.d=function(...e){return $((t=>Reflect.apply(Ee,null,[t,...e])),(()=>Ie(...e)),0,(t=>Reflect.apply(t.d,t,[...e])),(()=>""),(e=>_(e)))},H.n=function(...e){return $((t=>Reflect.apply(Fe,null,[t,...e])),(()=>Pe(...e)),0,(t=>Reflect.apply(t.n,t,[...e])),(()=>""),(e=>_(e)))},H.getDateTimeFormat=function(e){return p.value[e]||{}},H.setDateTimeFormat=function(e,t){p.value[e]=t,R&&R.setDateTimeFormat(e,t),w.datetimeFormats=p.value,Oe(w,e,t)},H.mergeDateTimeFormat=function(e,t){p.value[e]=u(p.value[e]||{},t),R&&R.mergeDateTimeFormat(e,t),w.datetimeFormats=p.value,Oe(w,e,t)},H.getNumberFormat=function(e){return h.value[e]||{}},H.setNumberFormat=function(e,t){h.value[e]=t,R&&R.setNumberFormat(e,t),w.numberFormats=h.value,Re(w,e,t)},H.mergeNumberFormat=function(e,t){h.value[e]=u(h.value[e]||{},t),R&&R.mergeNumberFormat(e,t),w.numberFormats=h.value,Re(w,e,t)},H[je]=e.__injectWithOption,H[xe]=function(...e){return $((t=>{let n;const r=t;try{r.processor=j,n=Reflect.apply(ke,null,[r,...e])}finally{r.processor=null}return n}),(()=>Te(...e)),0,(t=>t[xe](...e)),(e=>[ze(e)]),(e=>d(e)))},H[De]=function(...e){return $((t=>Reflect.apply(Ee,null,[t,...e])),(()=>Ie(...e)),0,(t=>t[De](...e)),(()=>[]),(e=>_(e)||d(e)))},H[Ae]=function(...e){return $((t=>Reflect.apply(Fe,null,[t,...e])),(()=>Pe(...e)),0,(t=>t[Ae](...e)),(()=>[]),(e=>_(e)||d(e)))},H[Ue]=R,H}const Ze={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>"parent"===e||"global"===e,default:"parent"},i18n:{type:Object}};const Qe={name:"i18n-t",props:u({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>l(e)||!isNaN(e)}},Ze),setup(e,n){const{slots:r,attrs:a}=n,o=e.i18n||ot({useScope:e.scope,__useComponent:!0});return()=>{const l=Object.keys(r).filter((e=>"_"!==e)),s={};e.locale&&(s.locale=e.locale),void 0!==e.plural&&(s.plural=_(e.plural)?+e.plural:e.plural);const c=function({slots:e},t){if(1===t.length&&"default"===t[0])return(e.default?e.default():[]).reduce(((e,t)=>[...e,...d(t.children)?t.children:[t]]),[]);return t.reduce(((t,n)=>{const r=e[n];return r&&(t[n]=r()),t}),{})}(n,l),i=o[xe](e.keypath,c,s),f=u({},a),m=_(e.tag)||b(e.tag)?e.tag:"span";return t.h(m,f,i)}}};function et(e,n,r,a){const{slots:o,attrs:l}=n;return()=>{const n={part:!0};let s={};e.locale&&(n.locale=e.locale),_(e.format)?n.key=e.format:b(e.format)&&(_(e.format.key)&&(n.key=e.format.key),s=Object.keys(e.format).reduce(((t,n)=>r.includes(n)?u({},t,{[n]:e.format[n]}):t),{}));const c=a(e.value,n,s);let i=[n.key];d(c)?i=c.map(((e,t)=>{const n=o[e.type],r=n?n({[e.type]:e.value,index:t,parts:c}):[e.value];var a;return d(a=r)&&!_(a[0])&&(r[0].key=`${e.type}-${t}`),r})):_(c)&&(i=[c]);const f=u({},l),m=_(e.tag)||b(e.tag)?e.tag:"span";return t.h(m,f,i)}}const tt={name:"i18n-n",props:u({value:{type:Number,required:!0},format:{type:[String,Object]}},Ze),setup(e,t){const n=e.i18n||ot({useScope:"parent",__useComponent:!0});return et(e,t,Ce,((...e)=>n[Ae](...e)))}},nt={name:"i18n-d",props:u({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Ze),setup(e,t){const n=e.i18n||ot({useScope:"parent",__useComponent:!0});return et(e,t,Ne,((...e)=>n[De](...e)))}};let rt=null;const at=a("global-vue-i18n");function ot(e={}){const r=t.getCurrentInstance();if(null==r)throw Error(Se.MUST_BE_CALL_SETUP_TOP);if(null==rt)throw Error(Se.NOT_INSLALLED);const a=function(e){{const t=e.proxy;if(null==t)throw Error(Se.UNEXPECTED_ERROR);const n=t._i18nBridgeRoot;if(!n)throw Error(Se.NOT_INSLALLED);return n}}(r),o=function(e){return e.global}(a),l=function(e){return e.proxy.$options}(r),i=function(e,t){return c(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}(e,l);if("legacy"===a.mode&&!e.__useComponent){if(!a.allowComposition)throw Error(Se.NOT_AVAILABLE_IN_LEGACY_MODE);return function(e,n,r,a={}){const o="local"===n,l=t.shallowRef(null);if(o&&e.proxy&&!e.proxy.$options.i18n&&!e.proxy.$options.__i18n)throw Error(Se.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const c=!v(a.inheritLocale)||a.inheritLocale,i=t.ref(o&&c?r.locale.value:_(a.locale)?a.locale:ae),u=t.ref(o&&c?r.fallbackLocale.value:_(a.fallbackLocale)||d(a.fallbackLocale)||y(a.fallbackLocale)||!1===a.fallbackLocale?a.fallbackLocale:i.value),f=t.ref(Be(i.value,a)),m=t.ref(y(a.datetimeFormats)?a.datetimeFormats:{[i.value]:{}}),p=t.ref(y(a.numberFormats)?a.numberFormats:{[i.value]:{}}),b=o?r.missingWarn:!v(a.missingWarn)&&!s(a.missingWarn)||a.missingWarn,h=o?r.fallbackWarn:!v(a.fallbackWarn)&&!s(a.fallbackWarn)||a.fallbackWarn,k=o?r.fallbackRoot:!v(a.fallbackRoot)||a.fallbackRoot,L=!!a.fallbackFormat,T=g(a.missing)?a.missing:null,E=g(a.postTranslation)?a.postTranslation:null,N=o?r.warnHtmlMessage:!v(a.warnHtmlMessage)||a.warnHtmlMessage,I=!!a.escapeParameter,O=o?r.modifiers:y(a.modifiers)?a.modifiers:{},F=a.pluralRules||o&&r.pluralRules;function C(){return[i.value,u.value,f.value,m.value,p.value]}const P=t.computed({get:()=>l.value?l.value.locale.value:i.value,set:e=>{l.value&&(l.value.locale.value=e),i.value=e}}),R=t.computed({get:()=>l.value?l.value.fallbackLocale.value:u.value,set:e=>{l.value&&(l.value.fallbackLocale.value=e),u.value=e}}),w=t.computed((()=>l.value?l.value.messages.value:f.value)),W=t.computed((()=>m.value)),M=t.computed((()=>p.value));function S(){return l.value?l.value.getPostTranslationHandler():E}function x(e){l.value&&l.value.setPostTranslationHandler(e)}function D(){return l.value?l.value.getMissingHandler():T}function A(e){l.value&&l.value.setMissingHandler(e)}function $(e){return C(),e()}function U(...e){return l.value?$((()=>Reflect.apply(l.value.t,null,[...e]))):$((()=>""))}function j(...e){return l.value?Reflect.apply(l.value.rt,null,[...e]):""}function V(...e){return l.value?$((()=>Reflect.apply(l.value.d,null,[...e]))):$((()=>""))}function H(...e){return l.value?$((()=>Reflect.apply(l.value.n,null,[...e]))):$((()=>""))}function G(e){return l.value?l.value.tm(e):{}}function B(e,t){return!!l.value&&l.value.te(e,t)}function J(e){return l.value?l.value.getLocaleMessage(e):{}}function Y(e,t){l.value&&(l.value.setLocaleMessage(e,t),f.value[e]=t)}function z(e,t){l.value&&l.value.mergeLocaleMessage(e,t)}function X(e){return l.value?l.value.getDateTimeFormat(e):{}}function q(e,t){l.value&&(l.value.setDateTimeFormat(e,t),m.value[e]=t)}function K(e,t){l.value&&l.value.mergeDateTimeFormat(e,t)}function Z(e){return l.value?l.value.getNumberFormat(e):{}}function Q(e,t){l.value&&(l.value.setNumberFormat(e,t),p.value[e]=t)}function ee(e,t){l.value&&l.value.mergeNumberFormat(e,t)}const te={get id(){return l.value?l.value.id:-1},locale:P,fallbackLocale:R,messages:w,datetimeFormats:W,numberFormats:M,get inheritLocale(){return l.value?l.value.inheritLocale:c},set inheritLocale(e){l.value&&(l.value.inheritLocale=e)},get availableLocales(){return l.value?l.value.availableLocales:Object.keys(f.value)},get modifiers(){return l.value?l.value.modifiers:O},get pluralRules(){return l.value?l.value.pluralRules:F},get isGlobal(){return!!l.value&&l.value.isGlobal},get missingWarn(){return l.value?l.value.missingWarn:b},set missingWarn(e){l.value&&(l.value.missingWarn=e)},get fallbackWarn(){return l.value?l.value.fallbackWarn:h},set fallbackWarn(e){l.value&&(l.value.missingWarn=e)},get fallbackRoot(){return l.value?l.value.fallbackRoot:k},set fallbackRoot(e){l.value&&(l.value.fallbackRoot=e)},get fallbackFormat(){return l.value?l.value.fallbackFormat:L},set fallbackFormat(e){l.value&&(l.value.fallbackFormat=e)},get warnHtmlMessage(){return l.value?l.value.warnHtmlMessage:N},set warnHtmlMessage(e){l.value&&(l.value.warnHtmlMessage=e)},get escapeParameter(){return l.value?l.value.escapeParameter:I},set escapeParameter(e){l.value&&(l.value.escapeParameter=e)},t:U,getPostTranslationHandler:S,setPostTranslationHandler:x,getMissingHandler:D,setMissingHandler:A,rt:j,d:V,n:H,tm:G,te:B,getLocaleMessage:J,setLocaleMessage:Y,mergeLocaleMessage:z,getDateTimeFormat:X,setDateTimeFormat:q,mergeDateTimeFormat:K,getNumberFormat:Z,setNumberFormat:Q,mergeNumberFormat:ee};function ne(e){e.locale.value=i.value,e.fallbackLocale.value=u.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(p.value).forEach((t=>{e.mergeNumberFormat(t,p.value[t])})),e.escapeParameter=I,e.fallbackFormat=L,e.fallbackRoot=k,e.fallbackWarn=h,e.missingWarn=b,e.warnHtmlMessage=N}return t.onBeforeMount((()=>{if(null==e.proxy||null==e.proxy.$i18n)throw Error(Se.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const t=l.value=e.proxy.$i18n.__composer;"global"===n?(i.value=t.locale.value,u.value=t.fallbackLocale.value,f.value=t.messages.value,m.value=t.datetimeFormats.value,p.value=t.numberFormats.value):o&&ne(t)})),te}(r,i,o,e)}if("global"===i)return function(e,t,n){let r=b(t.messages)?t.messages:{};"__i18nGlobal"in n&&(r=Be(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])}))}}(o,e,l),o;if("parent"===i){let t=function(e,t,n=!1){let r=null;const a=t.root;let o=t.parent;for(;null!=o;){const t=e;if("composition"===e.mode)r=t.__getInstance(o);else{const e=t.__getInstance(o);null!=e&&(r=e.__composer,n&&r&&!r[je]&&(r=null))}if(null!=r)break;if(a===o)break;o=o.parent}return r}(a,r,e.__useComponent);return null==t&&(t=o),t}const f=a;let m=f.__getInstance(r);if(null==m){const a=u({},e);"__i18n"in l&&(a.__i18n=l.__i18n),o&&(a.__root=o),m=Ke(a,rt),function(e,r,a){{const o=r.proxy;if(null==o)throw Error(Se.UNEXPECTED_ERROR);const l=a[Ue];if(l===e)throw Error(Se.UNEXPECTED_ERROR);o._i18n=l,o._i18n_bridge=!0,n&&(o._i18nWatcher=o._i18n.watchI18nData(),o._i18n._sync&&(o._localeWatcher=o._i18n.watchLocale()));let s=!1;t.onBeforeMount((()=>{o._i18n.subscribeDataChanging(o),s=!0})),t.onUnmounted((()=>{s&&(o._i18n.unsubscribeDataChanging(o),s=!1),o._i18nWatcher&&(o._i18nWatcher(),o._i18n.destroyVM(),delete o._i18nWatcher),o._localeWatcher&&(o._localeWatcher(),delete o._localeWatcher),delete o._i18n_bridge,delete o._i18n}))}}(f,r,m),f.__setInstance(r,m)}return m}var lt;return lt=function(e,t={}){{const n=(t.onCacheKey||pe)(e),r=de[n];if(r)return r;let a=!1;const o=t.onError||T;t.onError=e=>{a=!0,o(e)};const{code:l}=U(e,t),s=new Function(`return ${l}`)();return a?s:de[n]=s}},le=lt,se=function(e,t){if(!b(e))return null;let n=B.get(t);if(n||(n=function(e){const t=[];let n,r,a,o,l,s,c,i=-1,u=0,f=0;const m=[];function p(){const t=e[i+1];if(5===u&&"'"===t||6===u&&'"'===t)return i++,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--,u=4,m[0]();else{if(f=0,void 0===r)return!1;if(r=G(r),!1===r)return!1;m[1]()}};null!==u;)if(i++,n=e[i],"\\"!==n||!p()){if(o=H(n),c=j[u],l=c[o]||c.l||8,8===l)return;if(u=l[0],void 0!==l[1]&&(s=m[l[1]],s&&(a=n,!1===s())))return;if(7===u)return t}}(t),n&&B.set(t,n)),!n)return null;const r=n.length;let a=e,o=0;for(;o<r;){const e=a[n[o]];if(void 0===e)return null;a=e,o++}return a},ce=ee,e.DatetimeFormat=nt,e.I18nInjectionKey=at,e.NumberFormat=tt,e.Translation=Qe,e.VERSION=we,e.castToVueI18n=e=>{if(!(Ve in e))throw Error(Se.NOT_COMPATIBLE_LEGACY_VUE_I18N);return e},e.createI18n=function(e={},n){rt=n;const r=!v(e.legacy)||e.legacy,o=!v(e.globalInjection)||e.globalInjection,l=!r||!!e.allowComposition,s=new Map,[c,i]=function(e,n,r){const a=t.effectScope();{if(!He(r))throw Error(Se.NOT_COMPATIBLE_LEGACY_VUE_I18N);const t=a.run((()=>Ke(e,r)));if(null==t)throw Error(Se.UNEXPECTED_ERROR);return[a,t]}}(e,0,n);a("");{const e=i[Ue];let t=null;Object.defineProperty(e,"global",{get:()=>i}),Object.defineProperty(e,"mode",{get:()=>r?"legacy":"composition"}),Object.defineProperty(e,"allowComposition",{get:()=>l}),Object.defineProperty(e,"__instances",{get:()=>s}),Object.defineProperty(e,"install",{writable:!0,value:(n,...a)=>{if(2!==(n&&n.version&&Number(n.version.split(".")[0])||-1))throw Error(Se.BRIDGE_SUPPORT_VUE_2_ONLY);!function(e,...t){const n=y(t[0])?t[0]:{};(!v(n.globalInstall)||n.globalInstall)&&(e.component(Qe.name,Qe),e.component(tt.name,tt),e.component(nt.name,nt))}(n,...a),!r&&o&&(t=function(e,t,n){const r=t.watchLocale(n);return e.prototype.$t=function(...e){return Reflect.apply(n.t,n,[...e])},e.prototype.$d=function(...e){return Reflect.apply(n.d,n,[...e])},e.prototype.$n=function(...e){return Reflect.apply(n.n,n,[...e])},r}(n,e,i)),n.mixin(function(e,t){return{beforeCreate(){const n=this.$options;if(!n.__VUE18N__INSTANCE__)if(n.i18n=n.i18n||(n.__i18nBridge?{}:null),this._i18nBridgeRoot=e,"composition"!==e.mode)if(n.i18n){if(n.i18n instanceof t){if(n.__i18nBridge)try{const e=n.i18n&&n.i18n.messages?n.i18n.messages:{};n.__i18nBridge.forEach((t=>Ye(JSON.parse(t),e))),Object.keys(e).forEach((t=>{n.i18n.mergeLocaleMessage(t,e[t])}))}catch(e){}this._i18n=n.i18n,this._i18nWatcher=this._i18n.watchI18nData()}else if(y(n.i18n)){const e=this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof t?this.$root.$i18n:null;if(e&&(n.i18n.root=this.$root,n.i18n.formatter=e.formatter,n.i18n.fallbackLocale=e.fallbackLocale,n.i18n.formatFallbackMessages=e.formatFallbackMessages,n.i18n.silentTranslationWarn=e.silentTranslationWarn,n.i18n.silentFallbackWarn=e.silentFallbackWarn,n.i18n.pluralizationRules=e.pluralizationRules,n.i18n.preserveDirectiveContent=e.preserveDirectiveContent),n.__i18nBridge)try{const e=n.i18n&&n.i18n.messages?n.i18n.messages:{};n.__i18nBridge.forEach((t=>Ye(JSON.parse(t),e))),n.i18n.messages=e}catch(e){}const{sharedMessages:r}=n.i18n;r&&y(r)&&Ye(r,n.i18n.messages),this._i18n=new t(n.i18n),this._i18nWatcher=this._i18n.watchI18nData(),(void 0===n.i18n.sync||n.i18n.sync)&&(this._localeWatcher=this.$i18n.watchLocale()),e&&e.onComponentInstanceCreated(this._i18n)}}else this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof t?this._i18n=this.$root.$i18n:n.parent&&n.parent.$i18n&&n.parent.$i18n instanceof t&&(this._i18n=n.parent.$i18n);else this._i18n=e},beforeMount(){const n=this.$options;n.__VUE18N__INSTANCE__||"composition"!==e.mode&&(n.i18n=n.i18n||(n.__i18nBridge?{}:null),n.i18n?(n.i18n instanceof t||y(n.i18n))&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0):(this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof t||n.parent&&n.parent.$i18n&&n.parent.$i18n instanceof t)&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0))},beforeDestroy(){if(this.$options.__VUE18N__INSTANCE__)return;if(this._i18nBridgeRoot)return void delete this._i18nBridgeRoot;if("composition"===e.mode)return void delete this._i18n;if(!this._i18n)return;const t=this;this.$nextTick((()=>{t._subscribing&&(t._i18n.unsubscribeDataChanging(t),delete t._subscribing),t._i18nWatcher&&(t._i18nWatcher(),t._i18n.destroyVM(),delete t._i18nWatcher),t._localeWatcher&&(t._localeWatcher(),delete t._localeWatcher)}))}}}(e,rt))}}),Object.defineProperty(e,"dispose",{value:()=>{t&&t(),c.stop()}});const n={__getInstance:function(e){return s.get(e)||null},__setInstance:function(e,t){s.set(e,t)},__deleteInstance:function(e){s.delete(e)}};return Object.keys(n).forEach((t=>Object.defineProperty(e,t,{value:n[t]}))),e}},e.useI18n=ot,Object.defineProperty(e,"__esModule",{value:!0}),e}({},VueDemi);
/*!
* vue-i18n-bridge v9.3.0-beta.1
* vue-i18n-bridge v9.3.0-beta.2
* (c) 2022 kazuya kawaguchi
* Released under the MIT License.
*/
var VueI18nBridge=function(e,t){"use strict";const a="undefined"!=typeof window,n="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag,l=e=>n?Symbol(e):e,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 RegExp]"===k(e),i=e=>y(e)&&0===Object.keys(e).length;function c(e,t){"undefined"!=typeof console&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const 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,b=e=>"boolean"==typeof e,d=e=>null!==e&&"object"==typeof e,h=Object.prototype.toString,k=e=>h.call(e),y=e=>"[object Object]"===k(e),E=15,L=[];L[0]={w:[0],i:[3,0],"[":[4],o:[7]},L[1]={w:[1],".":[2],"[":[4],o:[7]},L[2]={w:[2],i:[3,0],0:[3,0]},L[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]},L[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]},L[5]={"'":[4,0],o:8,l:[5,0]},L[6]={'"':[4,0],o:8,l:[6,0]};const N=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function I(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 F(e){const t=e.trim();return("0"!==e.charAt(0)||!isNaN(parseInt(e)))&&(a=t,N.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 T=new Map;function R(e,t){return d(e)?e[t]:null}const O=e=>e,W=e=>"",w=e=>0===e.length?"":e.join(""),M=e=>null==e?"":g(e)||y(e)&&e.toString===h?JSON.stringify(e,null,2):String(e);function D(e,t){return e=Math.abs(e),2===t?e?e>1?1:0:1:e?Math.min(e,2):0}function C(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=d(e.pluralRules)&&v(t)&&p(e.pluralRules[t])?e.pluralRules[t]:D,l=d(e.pluralRules)&&v(t)&&p(e.pluralRules[t])?D: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):!!d(e.messages)&&e.messages[t];return a||(e.parent?e.parent.message(t):W)}const c=y(e.processor)&&p(e.processor.normalize)?e.processor.normalize:w,u=y(e.processor)&&p(e.processor.interpolate)?e.processor.interpolate:M,m={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?d(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));let s=i(t)(m);return"vnode"===r&&g(s)&&o&&(s=s[0]),o?(c=o,e.modifiers?e.modifiers[c]:O)(s,r):s;var c},message:i,type:y(e.processor)&&v(e.processor.type)?e.processor.type:"text",interpolate:u,normalize:c};return m}function A(e,t,a){return[...new Set([a,...g(t)?t:d(t)?Object.keys(t):v(t)?[t]:[a]])]}function P(e,t,a){const n=v(a)?a:j,l=e;l.__localeChainCache||(l.__localeChainCache=new Map);let r=l.__localeChainCache.get(n);if(!r){r=[];let e=[a];for(;g(e);)e=S(r,e,t);const o=g(t)||!y(t)?t:t.default?t.default:null;e=v(o)?[o]:o,g(e)&&S(r,e,!1),l.__localeChainCache.set(n,r)}return r}function S(e,t,a){let n=!0;for(let l=0;l<t.length&&b(n);l++){const r=t[l];v(r)&&(n=$(e,t[l],a))}return n}function $(e,t,a){let n;const l=t.split("-");do{n=U(e,l.join("-"),a),l.splice(-1,1)}while(l.length&&!0===n);return n}function U(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)||y(a))&&a[l]&&(n=a[l])}return n}const j="en-US",V=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;let H,x;let G=0;function B(e={}){const t=v(e.version)?e.version:"9.3.0-beta.1",a=v(e.locale)?e.locale:j,n=g(e.fallbackLocale)||y(e.fallbackLocale)||v(e.fallbackLocale)||!1===e.fallbackLocale?e.fallbackLocale:a,l=y(e.messages)?e.messages:{[a]:{}},r=y(e.datetimeFormats)?e.datetimeFormats:{[a]:{}},o=y(e.numberFormats)?e.numberFormats:{[a]:{}},i=u({},e.modifiers||{},{upper:(e,t)=>"text"===t&&v(e)?e.toUpperCase():"vnode"===t&&d(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>"text"===t&&v(e)?e.toLowerCase():"vnode"===t&&d(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>"text"===t&&v(e)?V(e):"vnode"===t&&d(e)&&"__v_isVNode"in e?V(e.children):e}),m=e.pluralRules||{},f=p(e.missing)?e.missing:null,_=!b(e.missingWarn)&&!s(e.missingWarn)||e.missingWarn,h=!b(e.fallbackWarn)&&!s(e.fallbackWarn)||e.fallbackWarn,k=!!e.fallbackFormat,E=!!e.unresolving,L=p(e.postTranslation)?e.postTranslation:null,N=y(e.processor)?e.processor:null,I=!b(e.warnHtmlMessage)||e.warnHtmlMessage,F=!!e.escapeParameter,T=p(e.messageCompiler)?e.messageCompiler:undefined,O=p(e.messageResolver)?e.messageResolver:H||R,W=p(e.localeFallbacker)?e.localeFallbacker:x||A,w=d(e.fallbackContext)?e.fallbackContext:void 0,M=p(e.onWarn)?e.onWarn:c,D=e,C=d(D.__datetimeFormatters)?D.__datetimeFormatters:new Map,P=d(D.__numberFormatters)?D.__numberFormatters:new Map,S=d(D.__meta)?D.__meta:{};G++;const $={version:t,cid:G,locale:a,fallbackLocale:n,messages:l,modifiers:i,pluralRules:m,missing:f,missingWarn:_,fallbackWarn:h,fallbackFormat:k,unresolving:E,postTranslation:L,processor:N,warnHtmlMessage:I,escapeParameter:F,messageCompiler:T,messageResolver:O,localeFallbacker:W,fallbackContext:w,onWarn:M,__meta:S};return $.datetimeFormats=r,$.numberFormats=o,$.__datetimeFormatters=C,$.__numberFormatters=P,$}function Y(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 X(e,t,a){e.__localeChainCache=new Map,e.localeFallbacker(e,a,t)}let z=E;const J=()=>++z,q={INVALID_ARGUMENT:z,INVALID_DATE_ARGUMENT:J(),INVALID_ISO_DATE_ARGUMENT:J(),__EXTEND_POINT__:J()},Z=()=>"",K=e=>p(e);function Q(e,...t){const{fallbackFormat:a,postTranslation:n,unresolving:l,messageCompiler:r,fallbackLocale:s,messages:i}=e,[c,u]=ae(...t),f=b(u.missingWarn)?u.missingWarn:e.missingWarn,_=b(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn,p=b(u.escapeParameter)?u.escapeParameter:e.escapeParameter,h=!!u.resolvedMessage,k=v(u.default)||b(u.default)?b(u.default)?r?c:()=>c:u.default:a?r?c:()=>c:"",y=a||""!==k,E=v(u.locale)?u.locale:e.locale;p&&function(e){g(e.list)?e.list=e.list.map((e=>v(e)?m(e):e)):d(e.named)&&Object.keys(e.named).forEach((t=>{v(e.named[t])&&(e.named[t]=m(e.named[t]))}))}(u);let[L,N,I]=h?[c,E,i[E]||{}]:ee(e,c,E,s,_,f),F=L,T=c;if(h||v(F)||K(F)||y&&(F=k,T=F),!(h||(v(F)||K(F))&&v(N)))return l?-1:c;let R=!1;const O=K(F)?F:te(e,c,N,F,T,(()=>{R=!0}));if(R)return F;const W=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]=ee(m,n,t,i,c,u);l=s(e,n)}if(v(l)){let a=!1;const r=te(e,n,t,l,n,(()=>{a=!0}));return a?Z:r}return K(l)?l:Z},_={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,N,I,u),w=function(e,t,a){return t(a)}(0,O,C(W));return n?n(w,c):w}function ee(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 a=0;a<u.length&&(m=u[a],f=o[m]||{},null===(_=i(f,t))&&(_=f[t]),!v(_)&&!p(_));a++){const a=Y(e,t,m,0,"translate");a!==t&&(_=a)}return[_,m,f]}function te(e,t,a,n,l,o){const{messageCompiler:s,warnHtmlMessage:i}=e;if(K(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,l,o){return{warnHtmlMessage:l,onError:e=>{throw o&&o(e),e},onCacheKey:e=>((e,t,a)=>r({l:e,k:t,s:a}))(t,a,e)}}(0,a,l,0,i,o));return c.locale=a,c.key=t,c.source=n,c}function ae(...e){const[t,a,n]=e,l={};if(!v(t)&&!o(t)&&!K(t))throw Error(q.INVALID_ARGUMENT);const r=o(t)?String(t):(K(t),t);return o(a)?l.plural=a:v(a)?l.default=a:y(a)&&!i(a)?l.named=a:g(a)&&(l.list=a),o(n)?l.plural=n:v(n)?l.default=n:y(n)&&u(l,n),[r,l]}function ne(e,...t){const{datetimeFormats:a,unresolving:n,fallbackLocale:l,onWarn:r,localeFallbacker:o}=e,{__datetimeFormatters:s}=e,[c,m,f,_]=re(...t);b(f.missingWarn)?f.missingWarn:e.missingWarn;b(f.fallbackWarn)?f.fallbackWarn:e.fallbackWarn;const g=!!f.part,p=v(f.locale)?f.locale:e.locale,d=o(e,l,p);if(!v(c)||""===c)return new Intl.DateTimeFormat(p,_).format(m);let h,k={},E=null;for(let t=0;t<d.length&&(h=d[t],k=a[h]||{},E=k[c],!y(E));t++)Y(e,c,h,0,"datetime format");if(!y(E)||!v(h))return n?-1:c;let L=`${h}__${c}`;i(_)||(L=`${L}__${JSON.stringify(_)}`);let N=s.get(L);return N||(N=new Intl.DateTimeFormat(h,u({},E,_)),s.set(L,N)),g?N.formatToParts(m):N.format(m)}const le=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function re(...e){const[t,a,n,l]=e,r={};let s,i={};if(v(t)){const e=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!e)throw Error(q.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();s=new Date(a);try{s.toISOString()}catch(e){throw Error(q.INVALID_ISO_DATE_ARGUMENT)}}else if("[object Date]"===k(t)){if(isNaN(t.getTime()))throw Error(q.INVALID_DATE_ARGUMENT);s=t}else{if(!o(t))throw Error(q.INVALID_ARGUMENT);s=t}return v(a)?r.key=a:y(a)&&Object.keys(a).forEach((e=>{le.includes(e)?i[e]=a[e]:r[e]=a[e]})),v(n)?r.locale=n:y(n)&&(i=n),y(l)&&(i=l),[r.key||"",s,r,i]}function oe(e,t,a){const n=e;for(const e in a){const a=`${t}__${e}`;n.__datetimeFormatters.has(a)&&n.__datetimeFormatters.delete(a)}}function se(e,...t){const{numberFormats:a,unresolving:n,fallbackLocale:l,onWarn:r,localeFallbacker:o}=e,{__numberFormatters:s}=e,[c,m,f,_]=ce(...t);b(f.missingWarn)?f.missingWarn:e.missingWarn;b(f.fallbackWarn)?f.fallbackWarn:e.fallbackWarn;const g=!!f.part,p=v(f.locale)?f.locale:e.locale,d=o(e,l,p);if(!v(c)||""===c)return new Intl.NumberFormat(p,_).format(m);let h,k={},E=null;for(let t=0;t<d.length&&(h=d[t],k=a[h]||{},E=k[c],!y(E));t++)Y(e,c,h,0,"number format");if(!y(E)||!v(h))return n?-1:c;let L=`${h}__${c}`;i(_)||(L=`${L}__${JSON.stringify(_)}`);let N=s.get(L);return N||(N=new Intl.NumberFormat(h,u({},E,_)),s.set(L,N)),g?N.formatToParts(m):N.format(m)}const ie=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function ce(...e){const[t,a,n,l]=e,r={};let s={};if(!o(t))throw Error(q.INVALID_ARGUMENT);const i=t;return v(a)?r.key=a:y(a)&&Object.keys(a).forEach((e=>{ie.includes(e)?s[e]=a[e]:r[e]=a[e]})),v(n)?r.locale=n:y(n)&&(s=n),y(l)&&(s=l),[r.key||"",i,r,s]}function ue(e,t,a){const n=e;for(const e in a){const a=`${t}__${e}`;n.__numberFormatters.has(a)&&n.__numberFormatters.delete(a)}}const me="9.3.0-beta.1";let fe=E;const _e=()=>++fe,ge={UNEXPECTED_RETURN_TYPE:fe,INVALID_ARGUMENT:_e(),MUST_BE_CALL_SETUP_TOP:_e(),NOT_INSLALLED:_e(),NOT_AVAILABLE_IN_LEGACY_MODE:_e(),REQUIRED_VALUE:_e(),INVALID_VALUE:_e(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:_e(),NOT_INSLALLED_WITH_PROVIDE:_e(),UNEXPECTED_ERROR:_e(),NOT_COMPATIBLE_LEGACY_VUE_I18N:_e(),BRIDGE_SUPPORT_VUE_2_ONLY:_e(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:_e(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:_e(),__EXTEND_POINT__:_e()},pe=l("__transrateVNode"),ve=l("__datetimeParts"),be=l("__numberParts"),de=l("__setPluralRules"),he=l("__legacyVueI18n"),ke=l("__injectWithOption"),ye="__VUE_I18N_BRIDGE__";function Ee(e){return null!=e&&null!=e.version&&(Number(e.version.split(".")[0])||-1)>=8}function Le(e){if(!d(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;for(let e=0;e<n;e++)a[e]in l||(l[a[e]]={}),l=l[a[e]];l[a[n]]=e[t],delete e[t],d(l[a[n]])&&Le(l[a[n]])}else d(e[t])&&Le(e[t]);return e}function Ne(e,t){const{messages:a,__i18n:n,messageResolver:l,flatJson:r}=t,o=y(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]||{},Fe(a,o[t])):Fe(a,o)}else v(e)&&Fe(JSON.parse(e),o)})),null==l&&r)for(const e in o)_(o,e)&&Le(o[e]);return o}const Ie=e=>!d(e)||g(e);function Fe(e,t){if(Ie(e)||Ie(t))throw Error(ge.INVALID_VALUE);for(const a in e)_(e,a)&&(Ie(e[a])||Ie(t[a])?t[a]=e[a]:Fe(e[a],t[a]))}function Te(e){return function(e){const t=void 0;return{tag:void 0,data:void 0,children:void 0,text:e,elm:void 0,ns:void 0,context:void 0,fnContext:void 0,fnOptions:void 0,fnScopeId:void 0,key:void 0,componentOptions:void 0,componentInstance:t,parent:void 0,raw:!1,isStatic:!1,isRootInsert:!0,isComment:!1,isCloned:!1,isOnce:!1,asyncFactory:void 0,asyncMeta:void 0,isAsyncPlaceholder:!1,child:()=>t}}(e)}let Re=0;function Oe(e){return(a,n,l,r)=>e(n,l,t.getCurrentInstance()||void 0,r)}function We(e={},n){const{__root:l}=e,r=void 0===l;let i=!b(e.inheritLocale)||e.inheritLocale;const c=t.ref(l&&i?l.locale.value:v(e.locale)?e.locale:j),m=t.ref(l&&i?l.fallbackLocale.value:v(e.fallbackLocale)||g(e.fallbackLocale)||y(e.fallbackLocale)||!1===e.fallbackLocale?e.fallbackLocale:c.value),f=t.ref(Ne(c.value,e)),_=t.ref(y(e.datetimeFormats)?e.datetimeFormats:{[c.value]:{}}),h=t.ref(y(e.numberFormats)?e.numberFormats:{[c.value]:{}});let k=l?l.missingWarn:!b(e.missingWarn)&&!s(e.missingWarn)||e.missingWarn,E=l?l.fallbackWarn:!b(e.fallbackWarn)&&!s(e.fallbackWarn)||e.fallbackWarn,L=l?l.fallbackRoot:!b(e.fallbackRoot)||e.fallbackRoot,N=!!e.fallbackFormat,I=p(e.missing)?e.missing:null,F=p(e.missing)?Oe(e.missing):null,T=p(e.postTranslation)?e.postTranslation:null,R=l?l.warnHtmlMessage:!b(e.warnHtmlMessage)||e.warnHtmlMessage,O=!!e.escapeParameter;const W=l?l.modifiers:y(e.modifiers)?e.modifiers:{};let w,M,D=e.pluralRules||l&&l.pluralRules;{Ee(n);const e={locale:c.value,fallbackLocale:m.value,messages:f.value,dateTimeFormats:_.value,numberFormats:h.value,modifiers:W,missing:I,fallbackRoot:L,postTranslation:T,pluralizationRules:D,escapeParameterHtml:O,sync:i,silentFallbackWarn:b(E)?!E:E,silentTranslationWarn:b(k)?!k:k,formatFallbackMessages:b(N)?!N:N,warnHtmlInMessage:b(R)&&R?"warn":"off",__VUE_I18N_BRIDGE__:ye};w=new n(e)}M=(()=>{const t={version:me,locale:c.value,fallbackLocale:m.value,messages:f.value,modifiers:W,pluralRules:D,missing:null===F?void 0:F,missingWarn:k,fallbackWarn:E,fallbackFormat:N,unresolving:!0,postTranslation:null===T?void 0:T,warnHtmlMessage:R,escapeParameter:O,messageResolver:e.messageResolver,__meta:{framework:"vue"}};t.datetimeFormats=_.value,t.numberFormats=h.value,t.__datetimeFormatters=y(M)?M.__datetimeFormatters:void 0,t.__numberFormatters=y(M)?M.__numberFormatters:void 0;return B(t)})(),X(M,c.value,m.value);const C=t.computed({get:()=>c.value,set:e=>{c.value=e,w&&!r&&(w.locale=e),M.locale=c.value}}),A=t.computed({get:()=>m.value,set:e=>{m.value=e,w&&!r&&(w.fallbackLocale=e),M.fallbackLocale=m.value,X(M,c.value,e)}}),S=t.computed((()=>f.value)),$=t.computed((()=>_.value)),U=t.computed((()=>h.value));const V=(e,t,a,n,r,s)=>{let i;if(c.value,m.value,f.value,_.value,h.value,i=e(M),o(i)&&-1===i){const[e,a]=t();return l&&L?n(l):r(e)}if(s(i))return i;throw Error(ge.UNEXPECTED_RETURN_TYPE)};function H(...e){return V((t=>Reflect.apply(Q,null,[t,...e])),(()=>ae(...e)),0,(t=>Reflect.apply(t.t,t,[...e])),(e=>e),(e=>v(e)))}const x={normalize:function(e){return e.map((e=>v(e)||o(e)||b(e)?Te(String(e)):e))},interpolate:e=>e,type:"vnode"};function G(e){return f.value[e]||{}}Re++,l&&a&&(t.watch(l.locale,(e=>{i&&(c.value=e,w&&!r&&(w.locale=e),M.locale=e,X(M,c.value,m.value))})),t.watch(l.fallbackLocale,(e=>{i&&(m.value=e,w&&!r&&(w.fallbackLocale=e),M.fallbackLocale=e,X(M,c.value,m.value))})));const Y={id:Re,locale:C,fallbackLocale:A,get inheritLocale(){return i},set inheritLocale(e){i=e,w&&(w._sync=e),e&&l&&(c.value=l.locale.value,m.value=l.fallbackLocale.value,w&&(w.locale=l.locale.value,w.fallbackLocale=l.fallbackLocale.value),X(M,c.value,m.value))},get availableLocales(){return Object.keys(f.value).sort()},messages:S,get modifiers(){return W},get pluralRules(){return D||{}},get isGlobal(){return r},get missingWarn(){return k},set missingWarn(e){k=e,M.missingWarn=k},get fallbackWarn(){return E},set fallbackWarn(e){E=e,M.fallbackWarn=E},get fallbackRoot(){return L},set fallbackRoot(e){L=e},get fallbackFormat(){return N},set fallbackFormat(e){N=e,M.fallbackFormat=N},get warnHtmlMessage(){return R},set warnHtmlMessage(e){R=e,M.warnHtmlMessage=e},get escapeParameter(){return O},set escapeParameter(e){O=e,M.escapeParameter=e},t:H,getLocaleMessage:G,setLocaleMessage:function(e,t){f.value[e]=t,w&&w.setLocaleMessage(e,t),M.messages=f.value},mergeLocaleMessage:function(e,t){f.value[e]=f.value[e]||{},w&&w.mergeLocaleMessage(e,t),Fe(t,f.value[e]),M.messages=f.value},getPostTranslationHandler:function(){return p(T)?T:null},setPostTranslationHandler:function(e){T=e,M.postTranslation=e},getMissingHandler:function(){return I},setMissingHandler:function(e){null!==e&&(F=Oe(e)),I=e,M.missing=F},[de]:function(e){D=e,M.pluralRules=D}};return Y.datetimeFormats=$,Y.numberFormats=U,Y.rt=function(...e){const[t,a,n]=e;if(n&&!d(n))throw Error(ge.INVALID_ARGUMENT);return H(t,a,u({resolvedMessage:!0},n||{}))},Y.te=function(e,t){const a=G(v(t)?t:c.value);return null!==M.messageResolver(a,e)},Y.tm=function(e){const t=function(e){let t=null;const a=P(M,m.value,c.value);for(let n=0;n<a.length;n++){const l=f.value[a[n]]||{},r=M.messageResolver(l,e);if(null!=r){t=r;break}}return t}(e);return null!=t?t:l&&l.tm(e)||{}},Y.d=function(...e){return V((t=>Reflect.apply(ne,null,[t,...e])),(()=>re(...e)),0,(t=>Reflect.apply(t.d,t,[...e])),(()=>""),(e=>v(e)))},Y.n=function(...e){return V((t=>Reflect.apply(se,null,[t,...e])),(()=>ce(...e)),0,(t=>Reflect.apply(t.n,t,[...e])),(()=>""),(e=>v(e)))},Y.getDateTimeFormat=function(e){return _.value[e]||{}},Y.setDateTimeFormat=function(e,t){_.value[e]=t,w&&w.setDateTimeFormat(e,t),M.datetimeFormats=_.value,oe(M,e,t)},Y.mergeDateTimeFormat=function(e,t){_.value[e]=u(_.value[e]||{},t),w&&w.mergeDateTimeFormat(e,t),M.datetimeFormats=_.value,oe(M,e,t)},Y.getNumberFormat=function(e){return h.value[e]||{}},Y.setNumberFormat=function(e,t){h.value[e]=t,w&&w.setNumberFormat(e,t),M.numberFormats=h.value,ue(M,e,t)},Y.mergeNumberFormat=function(e,t){h.value[e]=u(h.value[e]||{},t),w&&w.mergeNumberFormat(e,t),M.numberFormats=h.value,ue(M,e,t)},Y[ke]=e.__injectWithOption,Y[pe]=function(...e){return V((t=>{let a;const n=t;try{n.processor=x,a=Reflect.apply(Q,null,[n,...e])}finally{n.processor=null}return a}),(()=>ae(...e)),0,(t=>t[pe](...e)),(e=>[Te(e)]),(e=>g(e)))},Y[ve]=function(...e){return V((t=>Reflect.apply(ne,null,[t,...e])),(()=>re(...e)),0,(t=>t[ve](...e)),(()=>[]),(e=>v(e)||g(e)))},Y[be]=function(...e){return V((t=>Reflect.apply(se,null,[t,...e])),(()=>ce(...e)),0,(t=>t[be](...e)),(()=>[]),(e=>v(e)||g(e)))},Y[he]=w,Y}const we={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>"parent"===e||"global"===e,default:"parent"},i18n:{type:Object}};const Me={name:"i18n-t",props:u({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>o(e)||!isNaN(e)}},we),setup(e,a){const{slots:n,attrs:l}=a,r=e.i18n||$e({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},t){if(1===t.length&&"default"===t[0])return(e.default?e.default():[]).reduce(((e,t)=>[...e,...g(t.children)?t.children:[t]]),[]);return t.reduce(((t,a)=>{const n=e[a];return n&&(t[a]=n()),t}),{})}(a,o),c=r[pe](e.keypath,i,s),m=u({},l),f=v(e.tag)||d(e.tag)?e.tag:"span";return t.h(f,m,c)}}};function De(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:d(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)||d(e.tag)?e.tag:"span";return t.h(f,m,c)}}const Ce={name:"i18n-n",props:u({value:{type:Number,required:!0},format:{type:[String,Object]}},we),setup(e,t){const a=e.i18n||$e({useScope:"parent",__useComponent:!0});return De(e,t,ie,((...e)=>a[be](...e)))}},Ae={name:"i18n-d",props:u({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},we),setup(e,t){const a=e.i18n||$e({useScope:"parent",__useComponent:!0});return De(e,t,le,((...e)=>a[ve](...e)))}};let Pe=null;const Se=l("global-vue-i18n");function $e(e={}){const n=t.getCurrentInstance();if(null==n)throw Error(ge.MUST_BE_CALL_SETUP_TOP);if(null==Pe)throw Error(ge.NOT_INSLALLED);const l=function(e){{const t=e.proxy;if(null==t)throw Error(ge.UNEXPECTED_ERROR);const a=t._i18nBridgeRoot;if(!a)throw Error(ge.NOT_INSLALLED);return a}}(n),r=function(e){return e.global}(l),o=function(e){return e.proxy.$options}(n),c=function(e,t){return i(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}(e,o);if("legacy"===l.mode&&!e.__useComponent){if(!l.allowComposition)throw Error(ge.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(ge.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const i=!b(l.inheritLocale)||l.inheritLocale,c=t.ref(r&&i?n.locale.value:v(l.locale)?l.locale:j),u=t.ref(r&&i?n.fallbackLocale.value:v(l.fallbackLocale)||g(l.fallbackLocale)||y(l.fallbackLocale)||!1===l.fallbackLocale?l.fallbackLocale:c.value),m=t.ref(Ne(c.value,l)),f=t.ref(y(l.datetimeFormats)?l.datetimeFormats:{[c.value]:{}}),_=t.ref(y(l.numberFormats)?l.numberFormats:{[c.value]:{}}),d=r?n.missingWarn:!b(l.missingWarn)&&!s(l.missingWarn)||l.missingWarn,h=r?n.fallbackWarn:!b(l.fallbackWarn)&&!s(l.fallbackWarn)||l.fallbackWarn,k=r?n.fallbackRoot:!b(l.fallbackRoot)||l.fallbackRoot,E=!!l.fallbackFormat,L=p(l.missing)?l.missing:null,N=p(l.postTranslation)?l.postTranslation:null,I=r?n.warnHtmlMessage:!b(l.warnHtmlMessage)||l.warnHtmlMessage,F=!!l.escapeParameter,T=r?n.modifiers:y(l.modifiers)?l.modifiers:{},R=l.pluralRules||r&&n.pluralRules;function O(){return[c.value,u.value,m.value,f.value,_.value]}const W=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}}),M=t.computed((()=>o.value?o.value.messages.value:m.value)),D=t.computed((()=>f.value)),C=t.computed((()=>_.value));function A(){return o.value?o.value.getPostTranslationHandler():N}function P(e){o.value&&o.value.setPostTranslationHandler(e)}function S(){return o.value?o.value.getMissingHandler():L}function $(e){o.value&&o.value.setMissingHandler(e)}function U(e){return O(),e()}function V(...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 x(...e){return o.value?U((()=>Reflect.apply(o.value.d,null,[...e]))):U((()=>""))}function G(...e){return o.value?U((()=>Reflect.apply(o.value.n,null,[...e]))):U((()=>""))}function B(e){return o.value?o.value.tm(e):{}}function Y(e,t){return!!o.value&&o.value.te(e,t)}function X(e){return o.value?o.value.getLocaleMessage(e):{}}function z(e,t){o.value&&(o.value.setLocaleMessage(e,t),m.value[e]=t)}function J(e,t){o.value&&o.value.mergeLocaleMessage(e,t)}function q(e){return o.value?o.value.getDateTimeFormat(e):{}}function Z(e,t){o.value&&(o.value.setDateTimeFormat(e,t),f.value[e]=t)}function K(e,t){o.value&&o.value.mergeDateTimeFormat(e,t)}function Q(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:W,fallbackLocale:w,messages:M,datetimeFormats:D,numberFormats:C,get inheritLocale(){return o.value?o.value.inheritLocale:i},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:T},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:d},set missingWarn(e){o.value&&(o.value.missingWarn=e)},get fallbackWarn(){return o.value?o.value.fallbackWarn:h},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:E},set fallbackFormat(e){o.value&&(o.value.fallbackFormat=e)},get warnHtmlMessage(){return o.value?o.value.warnHtmlMessage:I},set warnHtmlMessage(e){o.value&&(o.value.warnHtmlMessage=e)},get escapeParameter(){return o.value?o.value.escapeParameter:F},set escapeParameter(e){o.value&&(o.value.escapeParameter=e)},t:V,getPostTranslationHandler:A,setPostTranslationHandler:P,getMissingHandler:S,setMissingHandler:$,rt:H,d:x,n:G,tm:B,te:Y,getLocaleMessage:X,setLocaleMessage:z,mergeLocaleMessage:J,getDateTimeFormat:q,setDateTimeFormat:Z,mergeDateTimeFormat:K,getNumberFormat:Q,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=F,e.fallbackFormat=E,e.fallbackRoot=k,e.fallbackWarn=h,e.missingWarn=d,e.warnHtmlMessage=I}return t.onBeforeMount((()=>{if(null==e.proxy||null==e.proxy.$i18n)throw Error(ge.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}(n,c,r,e)}if("global"===c)return function(e,t,a){let n=d(t.messages)?t.messages:{};"__i18nGlobal"in a&&(n=Ne(e.locale.value,{messages:n,__i18n:a.__i18nGlobal}));const l=Object.keys(n);if(l.length&&l.forEach((t=>{e.mergeLocaleMessage(t,n[t])})),d(t.datetimeFormats)){const a=Object.keys(t.datetimeFormats);a.length&&a.forEach((a=>{e.mergeDateTimeFormat(a,t.datetimeFormats[a])}))}if(d(t.numberFormats)){const a=Object.keys(t.numberFormats);a.length&&a.forEach((a=>{e.mergeNumberFormat(a,t.numberFormats[a])}))}}(r,e,o),r;if("parent"===c){let t=function(e,t,a=!1){let n=null;const l=t.root;let r=t.parent;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[ke]&&(n=null))}if(null!=n)break;if(l===r)break;r=r.parent}return n}(l,n,e.__useComponent);return null==t&&(t=r),t}const m=l;let f=m.__getInstance(n);if(null==f){const l=u({},e);"__i18n"in o&&(l.__i18n=o.__i18n),r&&(l.__root=r),f=We(l,Pe),function(e,n,l){{const r=n.proxy;if(null==r)throw Error(ge.UNEXPECTED_ERROR);const o=l[he];if(o===e)throw Error(ge.UNEXPECTED_ERROR);r._i18n=o,r._i18n_bridge=!0,a&&(r._i18nWatcher=r._i18n.watchI18nData(),r._i18n._sync&&(r._localeWatcher=r._i18n.watchLocale()));let s=!1;t.onBeforeMount((()=>{r._i18n.subscribeDataChanging(r),s=!0})),t.onUnmounted((()=>{s&&(r._i18n.unsubscribeDataChanging(r),s=!1),r._i18nWatcher&&(r._i18nWatcher(),r._i18n.destroyVM(),delete r._i18nWatcher),r._localeWatcher&&(r._localeWatcher(),delete r._localeWatcher),delete r._i18n_bridge,delete r._i18n}))}}(m,n,f),m.__setInstance(n,f)}return f}return H=function(e,t){if(!d(e))return null;let a=T.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=F(n),!1===n)return!1;f[1]()}};null!==u;)if(c++,a=e[c],"\\"!==a||!_()){if(r=I(a),i=L[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&&T.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;l=e,r++}return l},x=P,e.DatetimeFormat=Ae,e.I18nInjectionKey=Se,e.NumberFormat=Ce,e.Translation=Me,e.VERSION=me,e.castToVueI18n=e=>{if(!(ye in e))throw Error(ge.NOT_COMPATIBLE_LEGACY_VUE_I18N);return e},e.createI18n=function(e={},a){Pe=a;const n=!b(e.legacy)||e.legacy,r=!b(e.globalInjection)||e.globalInjection,o=!n||!!e.allowComposition,s=new Map,[i,c]=function(e,a,n){const l=t.effectScope();{if(!Ee(n))throw Error(ge.NOT_COMPATIBLE_LEGACY_VUE_I18N);const t=l.run((()=>We(e,n)));if(null==t)throw Error(ge.UNEXPECTED_ERROR);return[l,t]}}(e,0,a);l("");{const e=c[he];let t=null;Object.defineProperty(e,"global",{get:()=>c}),Object.defineProperty(e,"mode",{get:()=>n?"legacy":"composition"}),Object.defineProperty(e,"allowComposition",{get:()=>o}),Object.defineProperty(e,"__instances",{get:()=>s}),Object.defineProperty(e,"install",{writable:!0,value:(a,...l)=>{if(2!==(a&&a.version&&Number(a.version.split(".")[0])||-1))throw Error(ge.BRIDGE_SUPPORT_VUE_2_ONLY);!function(e,...t){const a=y(t[0])?t[0]:{};(!b(a.globalInstall)||a.globalInstall)&&(e.component(Me.name,Me),e.component(Ce.name,Ce),e.component(Ae.name,Ae))}(a,...l),!n&&r&&(t=function(e,t,a){const n=t.watchLocale(a);return e.prototype.$t=function(...e){return Reflect.apply(a.t,a,[...e])},e.prototype.$d=function(...e){return Reflect.apply(a.d,a,[...e])},e.prototype.$n=function(...e){return Reflect.apply(a.n,a,[...e])},n}(a,e,c)),a.mixin(function(e,t){return{beforeCreate(){const a=this.$options;if(!a.__VUE18N__INSTANCE__)if(a.i18n=a.i18n||(a.__i18nBridge?{}:null),this._i18nBridgeRoot=e,"composition"!==e.mode)if(a.i18n){if(a.i18n instanceof t){if(a.__i18nBridge)try{const e=a.i18n&&a.i18n.messages?a.i18n.messages:{};a.__i18nBridge.forEach((t=>Fe(JSON.parse(t),e))),Object.keys(e).forEach((t=>{a.i18n.mergeLocaleMessage(t,e[t])}))}catch(e){}this._i18n=a.i18n,this._i18nWatcher=this._i18n.watchI18nData()}else if(y(a.i18n)){const e=this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof t?this.$root.$i18n:null;if(e&&(a.i18n.root=this.$root,a.i18n.formatter=e.formatter,a.i18n.fallbackLocale=e.fallbackLocale,a.i18n.formatFallbackMessages=e.formatFallbackMessages,a.i18n.silentTranslationWarn=e.silentTranslationWarn,a.i18n.silentFallbackWarn=e.silentFallbackWarn,a.i18n.pluralizationRules=e.pluralizationRules,a.i18n.preserveDirectiveContent=e.preserveDirectiveContent),a.__i18nBridge)try{const e=a.i18n&&a.i18n.messages?a.i18n.messages:{};a.__i18nBridge.forEach((t=>Fe(JSON.parse(t),e))),a.i18n.messages=e}catch(e){}const{sharedMessages:n}=a.i18n;n&&y(n)&&Fe(n,a.i18n.messages),this._i18n=new t(a.i18n),this._i18nWatcher=this._i18n.watchI18nData(),(void 0===a.i18n.sync||a.i18n.sync)&&(this._localeWatcher=this.$i18n.watchLocale()),e&&e.onComponentInstanceCreated(this._i18n)}}else this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof t?this._i18n=this.$root.$i18n:a.parent&&a.parent.$i18n&&a.parent.$i18n instanceof t&&(this._i18n=a.parent.$i18n);else this._i18n=e},beforeMount(){const a=this.$options;a.__VUE18N__INSTANCE__||"composition"!==e.mode&&(a.i18n=a.i18n||(a.__i18nBridge?{}:null),a.i18n?(a.i18n instanceof t||y(a.i18n))&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0):(this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof t||a.parent&&a.parent.$i18n&&a.parent.$i18n instanceof t)&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0))},beforeDestroy(){if(this.$options.__VUE18N__INSTANCE__)return;if(this._i18nBridgeRoot)return void delete this._i18nBridgeRoot;if("composition"===e.mode)return void delete this._i18n;if(!this._i18n)return;const t=this;this.$nextTick((()=>{t._subscribing&&(t._i18n.unsubscribeDataChanging(t),delete t._subscribing),t._i18nWatcher&&(t._i18nWatcher(),t._i18n.destroyVM(),delete t._i18nWatcher),t._localeWatcher&&(t._localeWatcher(),delete t._localeWatcher)}))}}}(e,Pe))}}),Object.defineProperty(e,"dispose",{value:()=>{t&&t(),i.stop()}});const a={__getInstance:function(e){return s.get(e)||null},__setInstance:function(e,t){s.set(e,t)},__deleteInstance:function(e){s.delete(e)}};return Object.keys(a).forEach((t=>Object.defineProperty(e,t,{value:a[t]}))),e}},e.useI18n=$e,Object.defineProperty(e,"__esModule",{value:!0}),e}({},VueDemi);
var VueI18nBridge=function(e,t){"use strict";const a="undefined"!=typeof window,n="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag,l=e=>n?Symbol(e):e,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 RegExp]"===k(e),i=e=>y(e)&&0===Object.keys(e).length;function c(e,t){"undefined"!=typeof console&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const 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,b=e=>"boolean"==typeof e,d=e=>null!==e&&"object"==typeof e,h=Object.prototype.toString,k=e=>h.call(e),y=e=>"[object Object]"===k(e),E=15,L=[];L[0]={w:[0],i:[3,0],"[":[4],o:[7]},L[1]={w:[1],".":[2],"[":[4],o:[7]},L[2]={w:[2],i:[3,0],0:[3,0]},L[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]},L[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]},L[5]={"'":[4,0],o:8,l:[5,0]},L[6]={'"':[4,0],o:8,l:[6,0]};const N=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function I(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 F(e){const t=e.trim();return("0"!==e.charAt(0)||!isNaN(parseInt(e)))&&(a=t,N.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 T=new Map;function R(e,t){return d(e)?e[t]:null}const O=e=>e,W=e=>"",w=e=>0===e.length?"":e.join(""),M=e=>null==e?"":g(e)||y(e)&&e.toString===h?JSON.stringify(e,null,2):String(e);function D(e,t){return e=Math.abs(e),2===t?e?e>1?1:0:1:e?Math.min(e,2):0}function C(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=d(e.pluralRules)&&v(t)&&p(e.pluralRules[t])?e.pluralRules[t]:D,l=d(e.pluralRules)&&v(t)&&p(e.pluralRules[t])?D: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):!!d(e.messages)&&e.messages[t];return a||(e.parent?e.parent.message(t):W)}const c=y(e.processor)&&p(e.processor.normalize)?e.processor.normalize:w,u=y(e.processor)&&p(e.processor.interpolate)?e.processor.interpolate:M,m={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?d(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));let s=i(t)(m);return"vnode"===r&&g(s)&&o&&(s=s[0]),o?(c=o,e.modifiers?e.modifiers[c]:O)(s,r):s;var c},message:i,type:y(e.processor)&&v(e.processor.type)?e.processor.type:"text",interpolate:u,normalize:c};return m}function A(e,t,a){return[...new Set([a,...g(t)?t:d(t)?Object.keys(t):v(t)?[t]:[a]])]}function P(e,t,a){const n=v(a)?a:j,l=e;l.__localeChainCache||(l.__localeChainCache=new Map);let r=l.__localeChainCache.get(n);if(!r){r=[];let e=[a];for(;g(e);)e=S(r,e,t);const o=g(t)||!y(t)?t:t.default?t.default:null;e=v(o)?[o]:o,g(e)&&S(r,e,!1),l.__localeChainCache.set(n,r)}return r}function S(e,t,a){let n=!0;for(let l=0;l<t.length&&b(n);l++){const r=t[l];v(r)&&(n=$(e,t[l],a))}return n}function $(e,t,a){let n;const l=t.split("-");do{n=U(e,l.join("-"),a),l.splice(-1,1)}while(l.length&&!0===n);return n}function U(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)||y(a))&&a[l]&&(n=a[l])}return n}const j="en-US",V=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;let H,x;let G=0;function B(e={}){const t=v(e.version)?e.version:"9.3.0-beta.2",a=v(e.locale)?e.locale:j,n=g(e.fallbackLocale)||y(e.fallbackLocale)||v(e.fallbackLocale)||!1===e.fallbackLocale?e.fallbackLocale:a,l=y(e.messages)?e.messages:{[a]:{}},r=y(e.datetimeFormats)?e.datetimeFormats:{[a]:{}},o=y(e.numberFormats)?e.numberFormats:{[a]:{}},i=u({},e.modifiers||{},{upper:(e,t)=>"text"===t&&v(e)?e.toUpperCase():"vnode"===t&&d(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>"text"===t&&v(e)?e.toLowerCase():"vnode"===t&&d(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>"text"===t&&v(e)?V(e):"vnode"===t&&d(e)&&"__v_isVNode"in e?V(e.children):e}),m=e.pluralRules||{},f=p(e.missing)?e.missing:null,_=!b(e.missingWarn)&&!s(e.missingWarn)||e.missingWarn,h=!b(e.fallbackWarn)&&!s(e.fallbackWarn)||e.fallbackWarn,k=!!e.fallbackFormat,E=!!e.unresolving,L=p(e.postTranslation)?e.postTranslation:null,N=y(e.processor)?e.processor:null,I=!b(e.warnHtmlMessage)||e.warnHtmlMessage,F=!!e.escapeParameter,T=p(e.messageCompiler)?e.messageCompiler:undefined,O=p(e.messageResolver)?e.messageResolver:H||R,W=p(e.localeFallbacker)?e.localeFallbacker:x||A,w=d(e.fallbackContext)?e.fallbackContext:void 0,M=p(e.onWarn)?e.onWarn:c,D=e,C=d(D.__datetimeFormatters)?D.__datetimeFormatters:new Map,P=d(D.__numberFormatters)?D.__numberFormatters:new Map,S=d(D.__meta)?D.__meta:{};G++;const $={version:t,cid:G,locale:a,fallbackLocale:n,messages:l,modifiers:i,pluralRules:m,missing:f,missingWarn:_,fallbackWarn:h,fallbackFormat:k,unresolving:E,postTranslation:L,processor:N,warnHtmlMessage:I,escapeParameter:F,messageCompiler:T,messageResolver:O,localeFallbacker:W,fallbackContext:w,onWarn:M,__meta:S};return $.datetimeFormats=r,$.numberFormats=o,$.__datetimeFormatters=C,$.__numberFormatters=P,$}function Y(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 X(e,t,a){e.__localeChainCache=new Map,e.localeFallbacker(e,a,t)}let z=E;const J=()=>++z,q={INVALID_ARGUMENT:z,INVALID_DATE_ARGUMENT:J(),INVALID_ISO_DATE_ARGUMENT:J(),__EXTEND_POINT__:J()},Z=()=>"",K=e=>p(e);function Q(e,...t){const{fallbackFormat:a,postTranslation:n,unresolving:l,messageCompiler:r,fallbackLocale:s,messages:i}=e,[c,u]=ae(...t),f=b(u.missingWarn)?u.missingWarn:e.missingWarn,_=b(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn,p=b(u.escapeParameter)?u.escapeParameter:e.escapeParameter,h=!!u.resolvedMessage,k=v(u.default)||b(u.default)?b(u.default)?r?c:()=>c:u.default:a?r?c:()=>c:"",y=a||""!==k,E=v(u.locale)?u.locale:e.locale;p&&function(e){g(e.list)?e.list=e.list.map((e=>v(e)?m(e):e)):d(e.named)&&Object.keys(e.named).forEach((t=>{v(e.named[t])&&(e.named[t]=m(e.named[t]))}))}(u);let[L,N,I]=h?[c,E,i[E]||{}]:ee(e,c,E,s,_,f),F=L,T=c;if(h||v(F)||K(F)||y&&(F=k,T=F),!(h||(v(F)||K(F))&&v(N)))return l?-1:c;let R=!1;const O=K(F)?F:te(e,c,N,F,T,(()=>{R=!0}));if(R)return F;const W=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]=ee(m,n,t,i,c,u);l=s(e,n)}if(v(l)){let a=!1;const r=te(e,n,t,l,n,(()=>{a=!0}));return a?Z:r}return K(l)?l:Z},_={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,N,I,u),w=function(e,t,a){return t(a)}(0,O,C(W));return n?n(w,c):w}function ee(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 a=0;a<u.length&&(m=u[a],f=o[m]||{},null===(_=i(f,t))&&(_=f[t]),!v(_)&&!p(_));a++){const a=Y(e,t,m,0,"translate");a!==t&&(_=a)}return[_,m,f]}function te(e,t,a,n,l,o){const{messageCompiler:s,warnHtmlMessage:i}=e;if(K(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,l,o){return{warnHtmlMessage:l,onError:e=>{throw o&&o(e),e},onCacheKey:e=>((e,t,a)=>r({l:e,k:t,s:a}))(t,a,e)}}(0,a,l,0,i,o));return c.locale=a,c.key=t,c.source=n,c}function ae(...e){const[t,a,n]=e,l={};if(!v(t)&&!o(t)&&!K(t))throw Error(q.INVALID_ARGUMENT);const r=o(t)?String(t):(K(t),t);return o(a)?l.plural=a:v(a)?l.default=a:y(a)&&!i(a)?l.named=a:g(a)&&(l.list=a),o(n)?l.plural=n:v(n)?l.default=n:y(n)&&u(l,n),[r,l]}function ne(e,...t){const{datetimeFormats:a,unresolving:n,fallbackLocale:l,onWarn:r,localeFallbacker:o}=e,{__datetimeFormatters:s}=e,[c,m,f,_]=re(...t);b(f.missingWarn)?f.missingWarn:e.missingWarn;b(f.fallbackWarn)?f.fallbackWarn:e.fallbackWarn;const g=!!f.part,p=v(f.locale)?f.locale:e.locale,d=o(e,l,p);if(!v(c)||""===c)return new Intl.DateTimeFormat(p,_).format(m);let h,k={},E=null;for(let t=0;t<d.length&&(h=d[t],k=a[h]||{},E=k[c],!y(E));t++)Y(e,c,h,0,"datetime format");if(!y(E)||!v(h))return n?-1:c;let L=`${h}__${c}`;i(_)||(L=`${L}__${JSON.stringify(_)}`);let N=s.get(L);return N||(N=new Intl.DateTimeFormat(h,u({},E,_)),s.set(L,N)),g?N.formatToParts(m):N.format(m)}const le=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function re(...e){const[t,a,n,l]=e,r={};let s,i={};if(v(t)){const e=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!e)throw Error(q.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();s=new Date(a);try{s.toISOString()}catch(e){throw Error(q.INVALID_ISO_DATE_ARGUMENT)}}else if("[object Date]"===k(t)){if(isNaN(t.getTime()))throw Error(q.INVALID_DATE_ARGUMENT);s=t}else{if(!o(t))throw Error(q.INVALID_ARGUMENT);s=t}return v(a)?r.key=a:y(a)&&Object.keys(a).forEach((e=>{le.includes(e)?i[e]=a[e]:r[e]=a[e]})),v(n)?r.locale=n:y(n)&&(i=n),y(l)&&(i=l),[r.key||"",s,r,i]}function oe(e,t,a){const n=e;for(const e in a){const a=`${t}__${e}`;n.__datetimeFormatters.has(a)&&n.__datetimeFormatters.delete(a)}}function se(e,...t){const{numberFormats:a,unresolving:n,fallbackLocale:l,onWarn:r,localeFallbacker:o}=e,{__numberFormatters:s}=e,[c,m,f,_]=ce(...t);b(f.missingWarn)?f.missingWarn:e.missingWarn;b(f.fallbackWarn)?f.fallbackWarn:e.fallbackWarn;const g=!!f.part,p=v(f.locale)?f.locale:e.locale,d=o(e,l,p);if(!v(c)||""===c)return new Intl.NumberFormat(p,_).format(m);let h,k={},E=null;for(let t=0;t<d.length&&(h=d[t],k=a[h]||{},E=k[c],!y(E));t++)Y(e,c,h,0,"number format");if(!y(E)||!v(h))return n?-1:c;let L=`${h}__${c}`;i(_)||(L=`${L}__${JSON.stringify(_)}`);let N=s.get(L);return N||(N=new Intl.NumberFormat(h,u({},E,_)),s.set(L,N)),g?N.formatToParts(m):N.format(m)}const ie=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function ce(...e){const[t,a,n,l]=e,r={};let s={};if(!o(t))throw Error(q.INVALID_ARGUMENT);const i=t;return v(a)?r.key=a:y(a)&&Object.keys(a).forEach((e=>{ie.includes(e)?s[e]=a[e]:r[e]=a[e]})),v(n)?r.locale=n:y(n)&&(s=n),y(l)&&(s=l),[r.key||"",i,r,s]}function ue(e,t,a){const n=e;for(const e in a){const a=`${t}__${e}`;n.__numberFormatters.has(a)&&n.__numberFormatters.delete(a)}}const me="9.3.0-beta.2";let fe=E;const _e=()=>++fe,ge={UNEXPECTED_RETURN_TYPE:fe,INVALID_ARGUMENT:_e(),MUST_BE_CALL_SETUP_TOP:_e(),NOT_INSLALLED:_e(),NOT_AVAILABLE_IN_LEGACY_MODE:_e(),REQUIRED_VALUE:_e(),INVALID_VALUE:_e(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:_e(),NOT_INSLALLED_WITH_PROVIDE:_e(),UNEXPECTED_ERROR:_e(),NOT_COMPATIBLE_LEGACY_VUE_I18N:_e(),BRIDGE_SUPPORT_VUE_2_ONLY:_e(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:_e(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:_e(),__EXTEND_POINT__:_e()},pe=l("__transrateVNode"),ve=l("__datetimeParts"),be=l("__numberParts"),de=l("__setPluralRules"),he=l("__legacyVueI18n"),ke=l("__injectWithOption"),ye="__VUE_I18N_BRIDGE__";function Ee(e){return null!=e&&null!=e.version&&(Number(e.version.split(".")[0])||-1)>=8}function Le(e){if(!d(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;for(let e=0;e<n;e++)a[e]in l||(l[a[e]]={}),l=l[a[e]];l[a[n]]=e[t],delete e[t],d(l[a[n]])&&Le(l[a[n]])}else d(e[t])&&Le(e[t]);return e}function Ne(e,t){const{messages:a,__i18n:n,messageResolver:l,flatJson:r}=t,o=y(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]||{},Fe(a,o[t])):Fe(a,o)}else v(e)&&Fe(JSON.parse(e),o)})),null==l&&r)for(const e in o)_(o,e)&&Le(o[e]);return o}const Ie=e=>!d(e)||g(e);function Fe(e,t){if(Ie(e)||Ie(t))throw Error(ge.INVALID_VALUE);for(const a in e)_(e,a)&&(Ie(e[a])||Ie(t[a])?t[a]=e[a]:Fe(e[a],t[a]))}function Te(e){return function(e){const t=void 0;return{tag:void 0,data:void 0,children:void 0,text:e,elm:void 0,ns:void 0,context:void 0,fnContext:void 0,fnOptions:void 0,fnScopeId:void 0,key:void 0,componentOptions:void 0,componentInstance:t,parent:void 0,raw:!1,isStatic:!1,isRootInsert:!0,isComment:!1,isCloned:!1,isOnce:!1,asyncFactory:void 0,asyncMeta:void 0,isAsyncPlaceholder:!1,child:()=>t}}(e)}let Re=0;function Oe(e){return(a,n,l,r)=>e(n,l,t.getCurrentInstance()||void 0,r)}function We(e={},n){const{__root:l}=e,r=void 0===l;let i=!b(e.inheritLocale)||e.inheritLocale;const c=t.ref(l&&i?l.locale.value:v(e.locale)?e.locale:j),m=t.ref(l&&i?l.fallbackLocale.value:v(e.fallbackLocale)||g(e.fallbackLocale)||y(e.fallbackLocale)||!1===e.fallbackLocale?e.fallbackLocale:c.value),f=t.ref(Ne(c.value,e)),_=t.ref(y(e.datetimeFormats)?e.datetimeFormats:{[c.value]:{}}),h=t.ref(y(e.numberFormats)?e.numberFormats:{[c.value]:{}});let k=l?l.missingWarn:!b(e.missingWarn)&&!s(e.missingWarn)||e.missingWarn,E=l?l.fallbackWarn:!b(e.fallbackWarn)&&!s(e.fallbackWarn)||e.fallbackWarn,L=l?l.fallbackRoot:!b(e.fallbackRoot)||e.fallbackRoot,N=!!e.fallbackFormat,I=p(e.missing)?e.missing:null,F=p(e.missing)?Oe(e.missing):null,T=p(e.postTranslation)?e.postTranslation:null,R=l?l.warnHtmlMessage:!b(e.warnHtmlMessage)||e.warnHtmlMessage,O=!!e.escapeParameter;const W=l?l.modifiers:y(e.modifiers)?e.modifiers:{};let w,M,D=e.pluralRules||l&&l.pluralRules;{Ee(n);const e={locale:c.value,fallbackLocale:m.value,messages:f.value,dateTimeFormats:_.value,numberFormats:h.value,modifiers:W,missing:I,fallbackRoot:L,postTranslation:T,pluralizationRules:D,escapeParameterHtml:O,sync:i,silentFallbackWarn:b(E)?!E:E,silentTranslationWarn:b(k)?!k:k,formatFallbackMessages:b(N)?!N:N,warnHtmlInMessage:b(R)&&R?"warn":"off",__VUE_I18N_BRIDGE__:ye};w=new n(e)}M=(()=>{const t={version:me,locale:c.value,fallbackLocale:m.value,messages:f.value,modifiers:W,pluralRules:D,missing:null===F?void 0:F,missingWarn:k,fallbackWarn:E,fallbackFormat:N,unresolving:!0,postTranslation:null===T?void 0:T,warnHtmlMessage:R,escapeParameter:O,messageResolver:e.messageResolver,__meta:{framework:"vue"}};t.datetimeFormats=_.value,t.numberFormats=h.value,t.__datetimeFormatters=y(M)?M.__datetimeFormatters:void 0,t.__numberFormatters=y(M)?M.__numberFormatters:void 0;return B(t)})(),X(M,c.value,m.value);const C=t.computed({get:()=>c.value,set:e=>{c.value=e,w&&!r&&(w.locale=e),M.locale=c.value}}),A=t.computed({get:()=>m.value,set:e=>{m.value=e,w&&!r&&(w.fallbackLocale=e),M.fallbackLocale=m.value,X(M,c.value,e)}}),S=t.computed((()=>f.value)),$=t.computed((()=>_.value)),U=t.computed((()=>h.value));const V=(e,t,a,n,r,s)=>{let i;if(c.value,m.value,f.value,_.value,h.value,i=e(M),o(i)&&-1===i){const[e,a]=t();return l&&L?n(l):r(e)}if(s(i))return i;throw Error(ge.UNEXPECTED_RETURN_TYPE)};function H(...e){return V((t=>Reflect.apply(Q,null,[t,...e])),(()=>ae(...e)),0,(t=>Reflect.apply(t.t,t,[...e])),(e=>e),(e=>v(e)))}const x={normalize:function(e){return e.map((e=>v(e)||o(e)||b(e)?Te(String(e)):e))},interpolate:e=>e,type:"vnode"};function G(e){return f.value[e]||{}}Re++,l&&a&&(t.watch(l.locale,(e=>{i&&(c.value=e,w&&!r&&(w.locale=e),M.locale=e,X(M,c.value,m.value))})),t.watch(l.fallbackLocale,(e=>{i&&(m.value=e,w&&!r&&(w.fallbackLocale=e),M.fallbackLocale=e,X(M,c.value,m.value))})));const Y={id:Re,locale:C,fallbackLocale:A,get inheritLocale(){return i},set inheritLocale(e){i=e,w&&(w._sync=e),e&&l&&(c.value=l.locale.value,m.value=l.fallbackLocale.value,w&&(w.locale=l.locale.value,w.fallbackLocale=l.fallbackLocale.value),X(M,c.value,m.value))},get availableLocales(){return Object.keys(f.value).sort()},messages:S,get modifiers(){return W},get pluralRules(){return D||{}},get isGlobal(){return r},get missingWarn(){return k},set missingWarn(e){k=e,M.missingWarn=k},get fallbackWarn(){return E},set fallbackWarn(e){E=e,M.fallbackWarn=E},get fallbackRoot(){return L},set fallbackRoot(e){L=e},get fallbackFormat(){return N},set fallbackFormat(e){N=e,M.fallbackFormat=N},get warnHtmlMessage(){return R},set warnHtmlMessage(e){R=e,M.warnHtmlMessage=e},get escapeParameter(){return O},set escapeParameter(e){O=e,M.escapeParameter=e},t:H,getLocaleMessage:G,setLocaleMessage:function(e,t){f.value[e]=t,w&&w.setLocaleMessage(e,t),M.messages=f.value},mergeLocaleMessage:function(e,t){f.value[e]=f.value[e]||{},w&&w.mergeLocaleMessage(e,t),Fe(t,f.value[e]),M.messages=f.value},getPostTranslationHandler:function(){return p(T)?T:null},setPostTranslationHandler:function(e){T=e,M.postTranslation=e},getMissingHandler:function(){return I},setMissingHandler:function(e){null!==e&&(F=Oe(e)),I=e,M.missing=F},[de]:function(e){D=e,M.pluralRules=D}};return Y.datetimeFormats=$,Y.numberFormats=U,Y.rt=function(...e){const[t,a,n]=e;if(n&&!d(n))throw Error(ge.INVALID_ARGUMENT);return H(t,a,u({resolvedMessage:!0},n||{}))},Y.te=function(e,t){const a=G(v(t)?t:c.value);return null!==M.messageResolver(a,e)},Y.tm=function(e){const t=function(e){let t=null;const a=P(M,m.value,c.value);for(let n=0;n<a.length;n++){const l=f.value[a[n]]||{},r=M.messageResolver(l,e);if(null!=r){t=r;break}}return t}(e);return null!=t?t:l&&l.tm(e)||{}},Y.d=function(...e){return V((t=>Reflect.apply(ne,null,[t,...e])),(()=>re(...e)),0,(t=>Reflect.apply(t.d,t,[...e])),(()=>""),(e=>v(e)))},Y.n=function(...e){return V((t=>Reflect.apply(se,null,[t,...e])),(()=>ce(...e)),0,(t=>Reflect.apply(t.n,t,[...e])),(()=>""),(e=>v(e)))},Y.getDateTimeFormat=function(e){return _.value[e]||{}},Y.setDateTimeFormat=function(e,t){_.value[e]=t,w&&w.setDateTimeFormat(e,t),M.datetimeFormats=_.value,oe(M,e,t)},Y.mergeDateTimeFormat=function(e,t){_.value[e]=u(_.value[e]||{},t),w&&w.mergeDateTimeFormat(e,t),M.datetimeFormats=_.value,oe(M,e,t)},Y.getNumberFormat=function(e){return h.value[e]||{}},Y.setNumberFormat=function(e,t){h.value[e]=t,w&&w.setNumberFormat(e,t),M.numberFormats=h.value,ue(M,e,t)},Y.mergeNumberFormat=function(e,t){h.value[e]=u(h.value[e]||{},t),w&&w.mergeNumberFormat(e,t),M.numberFormats=h.value,ue(M,e,t)},Y[ke]=e.__injectWithOption,Y[pe]=function(...e){return V((t=>{let a;const n=t;try{n.processor=x,a=Reflect.apply(Q,null,[n,...e])}finally{n.processor=null}return a}),(()=>ae(...e)),0,(t=>t[pe](...e)),(e=>[Te(e)]),(e=>g(e)))},Y[ve]=function(...e){return V((t=>Reflect.apply(ne,null,[t,...e])),(()=>re(...e)),0,(t=>t[ve](...e)),(()=>[]),(e=>v(e)||g(e)))},Y[be]=function(...e){return V((t=>Reflect.apply(se,null,[t,...e])),(()=>ce(...e)),0,(t=>t[be](...e)),(()=>[]),(e=>v(e)||g(e)))},Y[he]=w,Y}const we={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>"parent"===e||"global"===e,default:"parent"},i18n:{type:Object}};const Me={name:"i18n-t",props:u({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>o(e)||!isNaN(e)}},we),setup(e,a){const{slots:n,attrs:l}=a,r=e.i18n||$e({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},t){if(1===t.length&&"default"===t[0])return(e.default?e.default():[]).reduce(((e,t)=>[...e,...g(t.children)?t.children:[t]]),[]);return t.reduce(((t,a)=>{const n=e[a];return n&&(t[a]=n()),t}),{})}(a,o),c=r[pe](e.keypath,i,s),m=u({},l),f=v(e.tag)||d(e.tag)?e.tag:"span";return t.h(f,m,c)}}};function De(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:d(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)||d(e.tag)?e.tag:"span";return t.h(f,m,c)}}const Ce={name:"i18n-n",props:u({value:{type:Number,required:!0},format:{type:[String,Object]}},we),setup(e,t){const a=e.i18n||$e({useScope:"parent",__useComponent:!0});return De(e,t,ie,((...e)=>a[be](...e)))}},Ae={name:"i18n-d",props:u({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},we),setup(e,t){const a=e.i18n||$e({useScope:"parent",__useComponent:!0});return De(e,t,le,((...e)=>a[ve](...e)))}};let Pe=null;const Se=l("global-vue-i18n");function $e(e={}){const n=t.getCurrentInstance();if(null==n)throw Error(ge.MUST_BE_CALL_SETUP_TOP);if(null==Pe)throw Error(ge.NOT_INSLALLED);const l=function(e){{const t=e.proxy;if(null==t)throw Error(ge.UNEXPECTED_ERROR);const a=t._i18nBridgeRoot;if(!a)throw Error(ge.NOT_INSLALLED);return a}}(n),r=function(e){return e.global}(l),o=function(e){return e.proxy.$options}(n),c=function(e,t){return i(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}(e,o);if("legacy"===l.mode&&!e.__useComponent){if(!l.allowComposition)throw Error(ge.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(ge.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const i=!b(l.inheritLocale)||l.inheritLocale,c=t.ref(r&&i?n.locale.value:v(l.locale)?l.locale:j),u=t.ref(r&&i?n.fallbackLocale.value:v(l.fallbackLocale)||g(l.fallbackLocale)||y(l.fallbackLocale)||!1===l.fallbackLocale?l.fallbackLocale:c.value),m=t.ref(Ne(c.value,l)),f=t.ref(y(l.datetimeFormats)?l.datetimeFormats:{[c.value]:{}}),_=t.ref(y(l.numberFormats)?l.numberFormats:{[c.value]:{}}),d=r?n.missingWarn:!b(l.missingWarn)&&!s(l.missingWarn)||l.missingWarn,h=r?n.fallbackWarn:!b(l.fallbackWarn)&&!s(l.fallbackWarn)||l.fallbackWarn,k=r?n.fallbackRoot:!b(l.fallbackRoot)||l.fallbackRoot,E=!!l.fallbackFormat,L=p(l.missing)?l.missing:null,N=p(l.postTranslation)?l.postTranslation:null,I=r?n.warnHtmlMessage:!b(l.warnHtmlMessage)||l.warnHtmlMessage,F=!!l.escapeParameter,T=r?n.modifiers:y(l.modifiers)?l.modifiers:{},R=l.pluralRules||r&&n.pluralRules;function O(){return[c.value,u.value,m.value,f.value,_.value]}const W=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}}),M=t.computed((()=>o.value?o.value.messages.value:m.value)),D=t.computed((()=>f.value)),C=t.computed((()=>_.value));function A(){return o.value?o.value.getPostTranslationHandler():N}function P(e){o.value&&o.value.setPostTranslationHandler(e)}function S(){return o.value?o.value.getMissingHandler():L}function $(e){o.value&&o.value.setMissingHandler(e)}function U(e){return O(),e()}function V(...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 x(...e){return o.value?U((()=>Reflect.apply(o.value.d,null,[...e]))):U((()=>""))}function G(...e){return o.value?U((()=>Reflect.apply(o.value.n,null,[...e]))):U((()=>""))}function B(e){return o.value?o.value.tm(e):{}}function Y(e,t){return!!o.value&&o.value.te(e,t)}function X(e){return o.value?o.value.getLocaleMessage(e):{}}function z(e,t){o.value&&(o.value.setLocaleMessage(e,t),m.value[e]=t)}function J(e,t){o.value&&o.value.mergeLocaleMessage(e,t)}function q(e){return o.value?o.value.getDateTimeFormat(e):{}}function Z(e,t){o.value&&(o.value.setDateTimeFormat(e,t),f.value[e]=t)}function K(e,t){o.value&&o.value.mergeDateTimeFormat(e,t)}function Q(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:W,fallbackLocale:w,messages:M,datetimeFormats:D,numberFormats:C,get inheritLocale(){return o.value?o.value.inheritLocale:i},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:T},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:d},set missingWarn(e){o.value&&(o.value.missingWarn=e)},get fallbackWarn(){return o.value?o.value.fallbackWarn:h},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:E},set fallbackFormat(e){o.value&&(o.value.fallbackFormat=e)},get warnHtmlMessage(){return o.value?o.value.warnHtmlMessage:I},set warnHtmlMessage(e){o.value&&(o.value.warnHtmlMessage=e)},get escapeParameter(){return o.value?o.value.escapeParameter:F},set escapeParameter(e){o.value&&(o.value.escapeParameter=e)},t:V,getPostTranslationHandler:A,setPostTranslationHandler:P,getMissingHandler:S,setMissingHandler:$,rt:H,d:x,n:G,tm:B,te:Y,getLocaleMessage:X,setLocaleMessage:z,mergeLocaleMessage:J,getDateTimeFormat:q,setDateTimeFormat:Z,mergeDateTimeFormat:K,getNumberFormat:Q,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=F,e.fallbackFormat=E,e.fallbackRoot=k,e.fallbackWarn=h,e.missingWarn=d,e.warnHtmlMessage=I}return t.onBeforeMount((()=>{if(null==e.proxy||null==e.proxy.$i18n)throw Error(ge.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}(n,c,r,e)}if("global"===c)return function(e,t,a){let n=d(t.messages)?t.messages:{};"__i18nGlobal"in a&&(n=Ne(e.locale.value,{messages:n,__i18n:a.__i18nGlobal}));const l=Object.keys(n);if(l.length&&l.forEach((t=>{e.mergeLocaleMessage(t,n[t])})),d(t.datetimeFormats)){const a=Object.keys(t.datetimeFormats);a.length&&a.forEach((a=>{e.mergeDateTimeFormat(a,t.datetimeFormats[a])}))}if(d(t.numberFormats)){const a=Object.keys(t.numberFormats);a.length&&a.forEach((a=>{e.mergeNumberFormat(a,t.numberFormats[a])}))}}(r,e,o),r;if("parent"===c){let t=function(e,t,a=!1){let n=null;const l=t.root;let r=t.parent;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[ke]&&(n=null))}if(null!=n)break;if(l===r)break;r=r.parent}return n}(l,n,e.__useComponent);return null==t&&(t=r),t}const m=l;let f=m.__getInstance(n);if(null==f){const l=u({},e);"__i18n"in o&&(l.__i18n=o.__i18n),r&&(l.__root=r),f=We(l,Pe),function(e,n,l){{const r=n.proxy;if(null==r)throw Error(ge.UNEXPECTED_ERROR);const o=l[he];if(o===e)throw Error(ge.UNEXPECTED_ERROR);r._i18n=o,r._i18n_bridge=!0,a&&(r._i18nWatcher=r._i18n.watchI18nData(),r._i18n._sync&&(r._localeWatcher=r._i18n.watchLocale()));let s=!1;t.onBeforeMount((()=>{r._i18n.subscribeDataChanging(r),s=!0})),t.onUnmounted((()=>{s&&(r._i18n.unsubscribeDataChanging(r),s=!1),r._i18nWatcher&&(r._i18nWatcher(),r._i18n.destroyVM(),delete r._i18nWatcher),r._localeWatcher&&(r._localeWatcher(),delete r._localeWatcher),delete r._i18n_bridge,delete r._i18n}))}}(m,n,f),m.__setInstance(n,f)}return f}return H=function(e,t){if(!d(e))return null;let a=T.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=F(n),!1===n)return!1;f[1]()}};null!==u;)if(c++,a=e[c],"\\"!==a||!_()){if(r=I(a),i=L[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&&T.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;l=e,r++}return l},x=P,e.DatetimeFormat=Ae,e.I18nInjectionKey=Se,e.NumberFormat=Ce,e.Translation=Me,e.VERSION=me,e.castToVueI18n=e=>{if(!(ye in e))throw Error(ge.NOT_COMPATIBLE_LEGACY_VUE_I18N);return e},e.createI18n=function(e={},a){Pe=a;const n=!b(e.legacy)||e.legacy,r=!b(e.globalInjection)||e.globalInjection,o=!n||!!e.allowComposition,s=new Map,[i,c]=function(e,a,n){const l=t.effectScope();{if(!Ee(n))throw Error(ge.NOT_COMPATIBLE_LEGACY_VUE_I18N);const t=l.run((()=>We(e,n)));if(null==t)throw Error(ge.UNEXPECTED_ERROR);return[l,t]}}(e,0,a);l("");{const e=c[he];let t=null;Object.defineProperty(e,"global",{get:()=>c}),Object.defineProperty(e,"mode",{get:()=>n?"legacy":"composition"}),Object.defineProperty(e,"allowComposition",{get:()=>o}),Object.defineProperty(e,"__instances",{get:()=>s}),Object.defineProperty(e,"install",{writable:!0,value:(a,...l)=>{if(2!==(a&&a.version&&Number(a.version.split(".")[0])||-1))throw Error(ge.BRIDGE_SUPPORT_VUE_2_ONLY);!function(e,...t){const a=y(t[0])?t[0]:{};(!b(a.globalInstall)||a.globalInstall)&&(e.component(Me.name,Me),e.component(Ce.name,Ce),e.component(Ae.name,Ae))}(a,...l),!n&&r&&(t=function(e,t,a){const n=t.watchLocale(a);return e.prototype.$t=function(...e){return Reflect.apply(a.t,a,[...e])},e.prototype.$d=function(...e){return Reflect.apply(a.d,a,[...e])},e.prototype.$n=function(...e){return Reflect.apply(a.n,a,[...e])},n}(a,e,c)),a.mixin(function(e,t){return{beforeCreate(){const a=this.$options;if(!a.__VUE18N__INSTANCE__)if(a.i18n=a.i18n||(a.__i18nBridge?{}:null),this._i18nBridgeRoot=e,"composition"!==e.mode)if(a.i18n){if(a.i18n instanceof t){if(a.__i18nBridge)try{const e=a.i18n&&a.i18n.messages?a.i18n.messages:{};a.__i18nBridge.forEach((t=>Fe(JSON.parse(t),e))),Object.keys(e).forEach((t=>{a.i18n.mergeLocaleMessage(t,e[t])}))}catch(e){}this._i18n=a.i18n,this._i18nWatcher=this._i18n.watchI18nData()}else if(y(a.i18n)){const e=this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof t?this.$root.$i18n:null;if(e&&(a.i18n.root=this.$root,a.i18n.formatter=e.formatter,a.i18n.fallbackLocale=e.fallbackLocale,a.i18n.formatFallbackMessages=e.formatFallbackMessages,a.i18n.silentTranslationWarn=e.silentTranslationWarn,a.i18n.silentFallbackWarn=e.silentFallbackWarn,a.i18n.pluralizationRules=e.pluralizationRules,a.i18n.preserveDirectiveContent=e.preserveDirectiveContent),a.__i18nBridge)try{const e=a.i18n&&a.i18n.messages?a.i18n.messages:{};a.__i18nBridge.forEach((t=>Fe(JSON.parse(t),e))),a.i18n.messages=e}catch(e){}const{sharedMessages:n}=a.i18n;n&&y(n)&&Fe(n,a.i18n.messages),this._i18n=new t(a.i18n),this._i18nWatcher=this._i18n.watchI18nData(),(void 0===a.i18n.sync||a.i18n.sync)&&(this._localeWatcher=this.$i18n.watchLocale()),e&&e.onComponentInstanceCreated(this._i18n)}}else this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof t?this._i18n=this.$root.$i18n:a.parent&&a.parent.$i18n&&a.parent.$i18n instanceof t&&(this._i18n=a.parent.$i18n);else this._i18n=e},beforeMount(){const a=this.$options;a.__VUE18N__INSTANCE__||"composition"!==e.mode&&(a.i18n=a.i18n||(a.__i18nBridge?{}:null),a.i18n?(a.i18n instanceof t||y(a.i18n))&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0):(this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof t||a.parent&&a.parent.$i18n&&a.parent.$i18n instanceof t)&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0))},beforeDestroy(){if(this.$options.__VUE18N__INSTANCE__)return;if(this._i18nBridgeRoot)return void delete this._i18nBridgeRoot;if("composition"===e.mode)return void delete this._i18n;if(!this._i18n)return;const t=this;this.$nextTick((()=>{t._subscribing&&(t._i18n.unsubscribeDataChanging(t),delete t._subscribing),t._i18nWatcher&&(t._i18nWatcher(),t._i18n.destroyVM(),delete t._i18nWatcher),t._localeWatcher&&(t._localeWatcher(),delete t._localeWatcher)}))}}}(e,Pe))}}),Object.defineProperty(e,"dispose",{value:()=>{t&&t(),i.stop()}});const a={__getInstance:function(e){return s.get(e)||null},__setInstance:function(e,t){s.set(e,t)},__deleteInstance:function(e){s.delete(e)}};return Object.keys(a).forEach((t=>Object.defineProperty(e,t,{value:a[t]}))),e}},e.useI18n=$e,Object.defineProperty(e,"__esModule",{value:!0}),e}({},VueDemi);
'use strict'
if (process.env.NODE_ENV === 'production') {
module.exports = require('./dist/vue-i18n-bridge.cjs.prod.js')
module.exports = require('./dist/vue-i18n-bridge.prod.cjs')
} else {
module.exports = require('./dist/vue-i18n-bridge.cjs.js')
module.exports = require('./dist/vue-i18n-bridge.cjs')
}
{
"name": "vue-i18n-bridge",
"version": "9.3.0-beta.1",
"version": "9.3.0-beta.2",
"description": "A bridge for Vue I18n Legacy",

@@ -31,7 +31,6 @@ "keywords": [

"index.js",
"index.mjs",
"dist"
],
"main": "index.js",
"module": "dist/vue-i18n-bridge.esm-bundler.js",
"module": "dist/vue-i18n-bridge.mjs",
"unpkg": "dist/vue-i18n-bridge.global.js",

@@ -41,5 +40,5 @@ "jsdelivr": "dist/vue-i18n-bridge.global.js",

"dependencies": {
"@intlify/core-base": "9.3.0-beta.1",
"@intlify/shared": "9.3.0-beta.1",
"@intlify/vue-devtools": "9.3.0-beta.1",
"@intlify/core-base": "9.3.0-beta.2",
"@intlify/shared": "9.3.0-beta.2",
"@intlify/vue-devtools": "9.3.0-beta.2",
"@vue/devtools-api": "^6.2.1",

@@ -49,3 +48,3 @@ "vue-demi": "^0.13.4"

"devDependencies": {
"@intlify/devtools-if": "9.3.0-beta.1"
"@intlify/devtools-if": "9.3.0-beta.2"
},

@@ -61,6 +60,6 @@ "peerDependencies": {

"formats": [
"esm-bundler",
"esm-bundler-runtime",
"esm-browser",
"esm-browser-runtime",
"mjs",
"mjs-runtime",
"browser",
"browser-runtime",
"cjs",

@@ -73,10 +72,18 @@ "global",

".": {
"import": {
"node": "./index.mjs",
"default": "./dist/vue-i18n-bridge.esm-bundler.mjs"
},
"require": "./index.js"
"import": "./dist/vue-i18n-bridge.mjs",
"browser": "./dist/vue-i18n-bridge.esm-browser.js",
"node": {
"import": {
"production": "./dist/vue-i18n-bridge.node.mjs",
"development": "./dist/vue-i18n-bridge.mjs",
"default": "./dist/vue-i18n-bridge.mjs"
},
"require": {
"production": "./dist/vue-i18n-bridge.prod.cjs",
"development": "./dist/vue-i18n-bridge.cjs",
"default": "./index.js"
}
}
},
"./dist/*": "./dist/*",
"./index.mjs": "./index.mjs",
"./package.json": "./package.json"

@@ -83,0 +90,0 @@ },

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 too big to display

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