Files
Modern-Password-Generator/node_modules/vue-i18n/dist/vue-i18n.runtime.global.prod.js

7 lines
39 KiB
JavaScript
Raw Normal View History

/*!
* vue-i18n v9.14.5
* (c) 2025 kazuya kawaguchi
* Released under the MIT License.
*/
var VueI18n=function(e,t){"use strict";function a(e,t){"undefined"!=typeof console&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const n="undefined"!=typeof window,r=(e,t=!1)=>t?Symbol.for(e):Symbol(e),l=(e,t,a)=>o({l:e,k:t,s:a}),o=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),s=e=>"number"==typeof e&&isFinite(e),i=e=>"[object Date]"===y(e),c=e=>"[object RegExp]"===y(e),u=e=>N(e)&&0===Object.keys(e).length,m=Object.assign,f=Object.create,_=(e=null)=>f(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 p(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 v=Object.prototype.hasOwnProperty;function d(e,t){return v.call(e,t)}const b=Array.isArray,E=e=>"function"==typeof e,h=e=>"string"==typeof e,k=e=>"boolean"==typeof e,L=e=>null!==e&&"object"==typeof e,T=e=>L(e)&&E(e.then)&&E(e.catch),F=Object.prototype.toString,y=e=>F.call(e),N=e=>{if(!L(e))return!1;const t=Object.getPrototypeOf(e);return null===t||t.constructor===Object};function I(e){let t=e;return()=>++t}const R=e=>!L(e)||b(e);function O(e,t){if(R(e)||R(t))throw new Error("Invalid value");const a=[{src:e,des:t}];for(;a.length;){const{src:e,des:t}=a.pop();Object.keys(e).forEach((n=>{"__proto__"!==n&&(L(e[n])&&!L(t[n])&&(t[n]=Array.isArray(e[n])?[]:_()),R(t[n])||R(e[n])?t[n]=e[n]:a.push({src:e[n],des:t[n]}))}))}}function M(e,t,a={}){const{domain:n,messages:r,args:l}=a,o=new SyntaxError(String(e));return o.code=e,t&&(o.location=t),o.domain=n,o}function W(e){return L(e)&&0===function(e,t,a){for(let n=0;n<t.length;n++){const a=t[n];if(d(e,a)&&null!=e[a])return e[a]}return a}(e,w)&&(d(e,"b")||d(e,"body"))}const w=["t","type"];const P=["b","body","c","cases","s","static","i","items","k","key","m","modifier","v","value",...w],C=[];C[0]={w:[0],i:[3,0],"[":[4],o:[7]},C[1]={w:[1],".":[2],"[":[4],o:[7]},C[2]={w:[2],i:[3,0],0:[3,0]},C[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]},C[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]},C[5]={"'":[4,0],o:8,l:[5,0]},C[6]={'"':[4,0],o:8,l:[6,0]};const D=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function A(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 S(e){const t=e.trim();return("0"!==e.charAt(0)||!isNaN(parseInt(e)))&&(a=t,D.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 $=new Map;function U(e,t){return L(e)?e[t]:null}const x=e=>e,H=e=>"",j="text",V=e=>0===e.length?"":function(e,t=""){return e.reduce(((e,a,n)=>0===n?e+a:e+t+a),"")}(e),G=e=>null==e?"":b(e)||N(e)&&e.toString===F?JSON.stringify(e,null,2):String(e);function Y(e,t){return e=Math.abs(e),2===t?e?e>1?1:0:1:e?Math.min(e,2):0}function B(e={}){const t=e.locale,a=function(e){const t=s(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(s(e.named.count)||s(e.named.n))?s(e.named.count)?e.named.count:s(e.named.n)?e.named.n:t:t}(e),n=L(e.pluralRules)&&h(t)&&E(e.pluralRules[t])?e.pluralRules[t]:Y,r=L(e.pluralRules)&&h(t)&&E(e.pluralRules[t])?Y:void 0,l=e.list||[],o=e.named||_();s(e.pluralIndex)&&function(e,t){t.count||(t.count=e),t.n||(t.n=e)}(a,o);function i(t){const a=E(e.messages)?e.messages(t):!!L(e.messages)&&e.messages[t];return a||(e.parent?e.parent.message(t):H)}const c=N(e.processor)&&E(e.processor.normalize)?e.processor.normalize:V,u=N(e.processor)&&E(e.processor.interpolate)?e.processor.interpolate:G,f={list:e=>l[e],named:e=>o[e],plural:e=>e[n(a,e.length,r)],linked:(t,...a)=>{const[n,r]=a;let l="text",o="";1===a.length?L(n)?(o=n.modifier||o,l=n.type||l):h(n)&&(o=n||o):2===a.length&&(h(n)&&(o=n||o),h(r)&&(l=r||l));const s=i(t)(f),c="vnode"===l&&b(s)&&o?s[0]:s;return o?(u=o,e.modifiers?e.mo