Files
wuhan-saga/client/node_modules/vue-i18n/dist/vue-i18n.global.prod.js

7 lines
51 KiB
JavaScript
Raw Normal View History

/*!
* vue-i18n v11.4.0
* (c) 2026 kazuya kawaguchi
* Released under the MIT License.
*/
var VueI18n=function(e,t){"use strict";function n(e){var t=Object.create(null);if(e)for(var n in e)t[n]=e[n];return t.default=e,Object.freeze(t)}var r=n(t);function a(e,t){"undefined"!=typeof console&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const o="undefined"!=typeof window,s=(e,t=!1)=>t?Symbol.for(e):Symbol(e),l=(e,t,n)=>c({l:e,k:t,s:n}),c=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),i=e=>"number"==typeof e&&isFinite(e),u=e=>"[object Date]"===C(e),f=e=>"[object RegExp]"===C(e),m=e=>O(e)&&0===Object.keys(e).length,_=Object.assign,p=Object.create,d=(e=null)=>p(e);function g(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;").replace(/\//g,"&#x2F;").replace(/=/g,"&#x3D;")}function E(e){return e.replace(/&(?![a-zA-Z0-9#]{2,6};)/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&apos;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}const b=Object.prototype.hasOwnProperty;function h(e,t){return b.call(e,t)}const k=Array.isArray,L=e=>"function"==typeof e,N=e=>"string"==typeof e,y=e=>"boolean"==typeof e,T=e=>null!==e&&"object"==typeof e,v=e=>T(e)&&L(e.then)&&L(e.catch),I=Object.prototype.toString,C=e=>I.call(e),O=e=>"[object Object]"===C(e);function A(e,t=""){return e.reduce(((e,n,r)=>0===r?e+n:e+t+n),"")}const P=e=>!T(e)||k(e);function S(e,t){if(P(e)||P(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:e,des:t}=n.pop();Object.keys(e).forEach((r=>{"__proto__"!==r&&(T(e[r])&&!T(t[r])&&(t[r]=Array.isArray(e[r])?[]:d()),P(t[r])||P(e[r])?t[r]=e[r]:n.push({src:e[r],des:t[r]}))}))}}function R(e,t,n){return{start:e,end:t}}const D={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16};function F(e){throw e}const x=" ",w="\r",M="\n",U=String.fromCharCode(8232),W=String.fromCharCode(8233);function $(e){const t=e;let n=0,r=1,a=1,o=0;const s=e=>t[e]===w&&t[e+1]===M,l=e=>t[e]===W,c=e=>t[e]===U,i=e=>s(e)||(e=>t[e]===M)(e)||l(e)||c(e),u=e=>s(e)||l(e)||c(e)?M:t[e];function f(){return o=0,i(n)&&(r++,a=0),s(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 s(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 j=void 0,H="'";function V(e,t={}){const n=!1!==t.location,r=$(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},s=o(),l=a(),c={currentType:13,offset:l,startLoc:s,endLoc:s,lastType:13,lastOffset:l,lastStartLoc:s,lastEndLoc:s,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=R(e.startLoc,e.endLoc)),null!=r&&(a.value=r),a}const m=e=>f(e,13);function _(e,t){return e.currentChar()===t?(e.next(),t):(D.EXPECTED_TOKEN,o(),"")}function p(e){let t="";for(;e.currentPeek()===x||e.currentPeek()===M;)t+=e.currentPeek(),e.peek();return t}function d(e){const t=p(e);return e.skipToPeek(),t}function g(e){if(e===j)return!1;const t=e.charCodeAt(0);return t>=97&&t<=122||t>=65&&t<=90||95===t}function E(e,t){const{currentType:n}=t;if(2!==n)return!1;p(e);const r=function(e){if(e===j)return!1;const t=e.charCodeAt(0);return t>=48&&t<=57}("-"===e.currentPeek()?e.peek():e.currentPeek());return e.resetPeek(),r}function b(e){p(e);const t="|"===e.currentPeek();return e.resetPeek(),t}function h(e,t=!0){const n=(t=!1,r="")=>{const a=e.currentPeek();return"{"===a?t:"@"!==a&&a?"|"===a?!(r===x||r===M):a===x?(e.peek(),n(!0,x)):a!==M||(e.peek