PageSourceSearch

https://yzu.edu.cn/static/vue-i18n.min.js

js yzu.edu.cn collected 2026-09-24 09:25:38 UTC 22,733 bytes, 6 lines download raw bytes

1/*!
2 * vue-i18n v8.11.2
3 * (c) 2019 kazuya kawaguchi
4 * Released under the MIT License.
5 */
6var t,e;t=this,e=function(){"use strict";var t=["style","currency","currencyDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","localeMatcher","formatMatcher"];function e(t,e){"undefined"!=typeof console&&(console.warn("[vue-i18n] "+t),e&&console.warn(e.stack))}function n(t){return null!==t&&"object"==typeof t}var r=Object.prototype.toString,i="[object Object]";function a(t){return r.call(t)===i}function o(t){return null==t}function s(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var r=null,i=null;return 1===t.length?n(t[0])||Array.isArray(t[0])?i=t[0]:"string"==typeof t[0]&&(r=t[0]):2===t.length&&("string"==typeof t[0]&&(r=t[0]),(n(t[1])||Array.isArray(t[1]))&&(i=t[1])),{locale:r,params:i}}function l(t){return JSON.parse(JSON.stringify(t))}var c=Object.prototype.hasOwnProperty;function u(t,e){return c.call(t,e)}function f(t){for(var e=arguments,r=Object(t),i=1;i<arguments.length;i++){var a=e[i];if(null!=a){var o=void 0;for(o in a)u(a,o)&&(n(a[o])?r[o]=f(r[o],a[o]):r[o]=a[o])}}return r}function h(t,e){if(t===e)return!0;var r=n(t),i=n(e);if(!r||!i)return!r&&!i&&String(t)===String(e);try{var a=Array.isArray(t),o=Array.isArray(e);if(a&&o)return t.length===e.length&&t.every(function(t,n){return h(t,e[n])});if(a||o)return!1;var s=Object.keys(t),l=Object.keys(e);return s.length===l.length&&s.every(function(n){return h(t[n],e[n])})}catch(t){return!1}}var p,m={beforeCreate:function(){var t=this.$options;if(t.i18n=t.i18n||(t.__i18n?{}:null),t.i18n){if(t.i18n instanceof Z){if(t.__i18n)try{var e={};t.__i18n.forEach(function(t){e=f(e,JSON.parse(t))}),Object.keys(e).forEach(function(n){t.i18n.mergeLocaleMessage(n,e[n])})}catch(t){}this._i18n=t.i18n,this._i18nWatcher=this._i18n.watchI18nData()}else if(a(t.i18n)){if(this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof Z&&(t.i18n.root=this.$root,t.i18n.formatter=this.$root.$i18n.formatter,t.i18n.fallbackLocale=this.$root.$i18n.fallbackLocale,t.i18n.silentTranslationWarn=this.$root.$i18n.silentTranslationWarn,t.i18n.silentFallbackWarn=this.$root.$i18n.silentFallbackWarn,t.i18n.pluralizationRules=this.$root.$i18n.pluralizationRules,t.i18n.preserveDirectiveContent=this.$root.$i18n.preserveDirectiveContent),t.__i18n)try{var n={};t.__i18n.forEach(function(t){n=f(n,JSON.parse(t))}),t.i18n.messages=n}catch(t){}this._i18n=new Z(t.i18n),this._i18nWatcher=this._i18n.watchI18nData(),(void 0===t.i18n.sync||t.i18n.sync)&&(this._localeWatcher=this.$i18n.watchLocale())}}else this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof Z?this._i18n=this.$root.$i18n:t.parent&&t.parent.$i18n&&t.parent.$i18n instanceof Z&&(this._i18n=t.parent.$i18n)},beforeMount:function(){var t=this.$options;t.i18n=t.i18n||(t.__i18n?{}:null),t.i18n?t.i18n instanceof Z?(this._i18n.subscribeDataChanging(this),this._subscribing=!0):a(t.i18n)&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0):this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof Z?(this._i18n.subscribeDataChanging(this),this._subscribing=!0):t.parent&&t.parent.$i18n&&t.parent.$i18n instanceof Z&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0)},beforeDestroy:function(){if(this._i18n){var t=this;this.$nextTick(function(){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),t._i18n=null})}}},_={name:"i18n",functional:!0,props:{tag:{type:String,default:"span"},path:{type:String,required:!0},locale:{type:String},places:{type:[Array,Object]}},render:function(t,e){var n=e.props,r=e.data,i=e.children,a=e.parent.$i18n;if(i=(i||[]).filter(function(t){return t.tag||(t.text=t.text.trim())}),!a)return i;var o=n.path,s=n.locale,l={},c=n.places||{},u=(Array.isArray(c)?c.length:Object.keys(c).length,i.every(function(t){if(t.data&&t.data.attrs){var e=t.data.attrs.place;return void 0!==e&&""!==e}}));
6return Array.isArray(c)?c.forEach(function(t,e){l[e]=t}):Object.keys(c).forEach(function(t){l[t]=c[t]}),i.forEach(function(t,e){var n=u?""+t.data.attrs.place:""+e;l[n]=t}),t(n.tag,r,a.i(o,s,l))}},g={name:"i18n-n",functional:!0,props:{tag:{type:String,default:"span"},value:{type:Number,required:!0},format:{type:[String,Object]},locale:{type:String}},render:function(e,r){var i=r.props,a=r.parent,o=r.data,s=a.$i18n;if(!s)return null;var l=null,c=null;"string"==typeof i.format?l=i.format:n(i.format)&&(i.format.key&&(l=i.format.key),c=Object.keys(i.format).reduce(function(e,n){var r;return t.includes(n)?Object.assign({},e,((r={})[n]=i.format[n],r)):e},null));var u=i.locale||s.locale,f=s._ntp(i.value,u,l,c),h=f.map(function(t,e){var n,r=o.scopedSlots&&o.scopedSlots[t.type];return r?r(((n={})[t.type]=t.value,n.index=e,n.parts=f,n)):t.value});return e(i.tag,{attrs:o.attrs,class:o.class,staticClass:o.staticClass},h)}};function v(t,e,n){d(t,n)&&w(t,e,n)}function y(t,e,n,r){if(d(t,n)){var i=n.context.$i18n;(function(t,e){var n=e.context;return t._locale===n.$i18n.locale})(t,n)&&h(e.value,e.oldValue)&&h(t._localeMessage,i.getLocaleMessage(i.locale))||w(t,e,n)}}function b(t,n,r,i){if(r.context){var a=r.context.$i18n||{};n.modifiers.preserve||a.preserveDirectiveContent||(t.textContent=""),t._vt=void 0,delete t._vt,t._locale=void 0,delete t._locale,t._localeMessage=void 0,delete t._localeMessage}else e("Vue instance does not exists in VNode context")}function d(t,n){var r=n.context;return r?!!r.$i18n||(e("VueI18n instance does not exists in Vue instance"),!1):(e("Vue instance does not exists in VNode context"),!1)}function w(t,n,r){var i,o,s=function(t){var e,n,r,i;"string"==typeof t?e=t:a(t)&&(e=t.path,n=t.locale,r=t.args,i=t.choice);return{path:e,locale:n,args:r,choice:i}}(n.value),l=s.path,c=s.locale,u=s.args,f=s.choice;if(l||c||u)if(l){var h=r.context;t._vt=t.textContent=f?(i=h.$i18n).tc.apply(i,[l,f].concat($(c,u))):(o=h.$i18n).t.apply(o,[l].concat($(c,u))),t._locale=h.$i18n.locale,t._localeMessage=h.$i18n.getLocaleMessage(h.$i18n.locale)}else e("`path` is required in v-t directive");else e("value type not supported")}function $(t,e){var n=[];return t&&n.push(t),e&&(Array.isArray(e)||a(e))&&n.push(e),n}function k(t){k.installed=!0;(p=t).version&&Number(p.version.split(".")[0]);!function(t){t.prototype.hasOwnProperty("$i18n")||Object.defineProperty(t.prototype,"$i18n",{get:function(){return this._i18n}}),t.prototype.$t=function(t){for(var e=[],n=arguments.length-1;n-- >0;)e[n]=arguments[n+1];var r=this.$i18n;return r._t.apply(r,[t,r.locale,r._getMessages(),this].concat(e))},t.prototype.$tc=function(t,e){for(var n=[],r=arguments.length-2;r-- >0;)n[r]=arguments[r+2];var i=this.$i18n;return i._tc.apply(i,[t,i.locale,i._getMessages(),this,e].concat(n))},t.prototype.$te=function(t,e){var n=this.$i18n;return n._te(t,n.locale,n._getMessages(),e)},t.prototype.$d=function(t){for(var e,n=[],r=arguments.length-1;r-- >0;)n[r]=arguments[r+1];return(e=this.$i18n).d.apply(e,[t].concat(n))},t.prototype.$n=function(t){for(var e,n=[],r=arguments.length-1;r-- >0;)n[r]=arguments[r+1];return(e=this.$i18n).n.apply(e,[t].concat(n))}}(p),p.mixin(m),p.directive("t",{bind:v,update:y,unbind:b}),p.component(_.name,_),p.component(g.name,g),p.config.optionMergeStrategies.i18n=function(t,e){return void 0===e?t:e}}var F=function(){this._caches=Object.create(null)};F.prototype.interpolate=function(t,e){if(!e)return[t];var r=this._caches[t];return r||(r=function(t){var e=[],n=0,r="";for(;n<t.length;){var i=t[n++];if("{"===i){r&&e.push({type:"text",value:r}),r="";var a="";for(i=t[n++];void 0!==i&&"}"!==i;)a+=i,i=t[n++];var o="}"===i,s=M.test(a)?"list":o&&D.test(a)?"named":"unknown";e.push({value:a,type:s})}else"%"===i?"{"!==t[n]&&(r+=i):r+=i}return r&&e.push({type:"text",value:r}),e}(t),this._caches[t]=r),function(t,e){var r=[],i=0,a=Array.isArray(e)?"list":n(e)?"named":"unknown";if("unknown"===a)return r;for(;i<t.length;){var o=t[i];switch(o.type){case"text":r.push(o.value);break;case"list":r.push(e[parseInt(o.value,10)]);break;case"named":"named"===a&&r.push(e[o.value])}i++}return r}(r,e)};var M=/^(?:\d)+/,D=/^(?:\w)+/,L=0,I=1,x=2,T=3,O=0,C=4,j=5,W=6,A=7,N=8,S=[];S[O]={ws:[O],ident:[3,L],"[":[C],eof:[A]},S[1]={ws:[1],".":[2],"[":[C],eof:[A]},S[2]={ws:[2],ident:[3,L],0:[3,L],number:[3,L]},S[3]={ident:[3,L],0:[3,L],number:[3,L],ws:[1,I],".":[2,I],"[":[C,I],eof:[A,I]},S[C]={"'":[j,L],'"':[W,L],"[":[C,x],"]":[1,T],eof:N,else:[C,L]},S[j]={"'":[C,L],eof:N,else:[j,L]},S[W]={'"':[C,L],eof:N,else:[W,L]};var H=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function R(t){if(null==t)return"eof";switch(t.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return t;case 95:case 36:case 45:return"ident";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"ws"}return"ident"}function V(t){var e,n,r,i=t.trim();
6return("0"!==t.charAt(0)||!isNaN(t))&&(r=i,H.test(r)?(n=(e=i).charCodeAt(0))!==e.charCodeAt(e.length-1)||34!==n&&39!==n?e:e.slice(1,-1):"*"+i)}var E=function(){this._cache=Object.create(null)};E.prototype.parsePath=function(t){var e=this._cache[t];return e||(e=function(t){var e,n,r,i,a,o,s,l=[],c=-1,u=O,f=0,h=[];function p(){var e=t[c+1];if(u===j&&"'"===e||u===W&&'"'===e)return c++,r="\\"+e,h[L](),!0}for(h[I]=function(){void 0!==n&&(l.push(n),n=void 0)},h[L]=function(){void 0===n?n=r:n+=r},h[x]=function(){h[L](),f++},h[T]=function(){if(f>0)f--,u=C,h[L]();else{if(f=0,!1===(n=V(n)))return!1;h[I]()}};null!==u;)if("\\"!==(e=t[++c])||!p()){if(i=R(e),(a=(s=S[u])[i]||s.else||N)===N)return;if(u=a[0],(o=h[a[1]])&&(r=void 0===(r=a[2])?e:r,!1===o()))return;if(u===A)return l}}(t))&&(this._cache[t]=e),e||[]},E.prototype.getPathValue=function(t,e){if(!n(t))return null;var r=this.parsePath(e);if(0===r.length)return null;for(var i=r.length,a=t,o=0;o<i;){var s=a[r[o]];if(void 0===s)return null;a=s,o++}return a};var P,z=/<\/?[\w\s="\/.':;#-\/]+>/,J=/(?:@(?:\.[a-z]+)?:(?:[\w\-_|.]+|\([\w\-_|.]+\)))/g,U=/^@(?:\.([a-z]+))?:/,q=/[()]/g,G={upper:function(t){return t.toLocaleUpperCase()},lower:function(t){return t.toLocaleLowerCase()}},X=new F,Z=function(t){var e=this;void 0===t&&(t={}),!p&&"undefined"!=typeof window&&window.Vue&&k(window.Vue);var n=t.locale||"en-US",r=t.fallbackLocale||"en-US",i=t.messages||{},a=t.dateTimeFormats||{},s=t.numberFormats||{};this._vm=null,this._formatter=t.formatter||X,this._missing=t.missing||null,this._root=t.root||null,this._sync=void 0===t.sync||!!t.sync,this._fallbackRoot=void 0===t.fallbackRoot||!!t.fallbackRoot,this._silentTranslationWarn=void 0!==t.silentTranslationWarn&&!!t.silentTranslationWarn,this._silentFallbackWarn=void 0!==t.silentFallbackWarn&&!!t.silentFallbackWarn,this._dateTimeFormatters={},this._numberFormatters={},this._path=new E,this._dataListeners=[],this._preserveDirectiveContent=void 0!==t.preserveDirectiveContent&&!!t.preserveDirectiveContent,this.pluralizationRules=t.pluralizationRules||{},this._warnHtmlInMessage=t.warnHtmlInMessage||"off",this._exist=function(t,n){return!(!t||!n)&&(!o(e._path.getPathValue(t,n))||!!t[n])},"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||Object.keys(i).forEac
6h(function(t){e._checkLocaleMessage(t,e._warnHtmlInMessage,i[t])}),this._initVM({locale:n,fallbackLocale:r,messages:i,dateTimeFormats:a,numberFormats:s})},B={vm:{configurable:!0},messages:{configurable:!0},dateTimeFormats:{configurable:!0},numberFormats:{configurable:!0},availableLocales:{configurable:!0},locale:{configurable:!0},fallbackLocale:{configurable:!0},missing:{configurable:!0},formatter:{configurable:!0},silentTranslationWarn:{configurable:!0},silentFallbackWarn:{configurable:!0},preserveDirectiveContent:{configurable:!0},warnHtmlInMessage:{configurable:!0}};return Z.prototype._checkLocaleMessage=function(t,n,r){var i=function(t,n,r,o){if(a(r))Object.keys(r).forEach(function(e){var s=r[e];a(s)?(o.push(e),o.push("."),i(t,n,s,o),o.pop(),o.pop()):(o.push(e),i(t,n,s,o),o.pop())});else if(Array.isArray(r))r.forEach(function(e,r){a(e)?(o.push("["+r+"]"),o.push("."),i(t,n,e,o),o.pop(),o.pop()):(o.push("["+r+"]"),i(t,n,e,o),o.pop())});else if("string"==typeof r){if(z.test(r)){var s="Detected HTML in message '"+r+"' of keypath '"+o.join("")+"' at '"+n+"'. Consider component interpolation with '<i18n>' to avoid XSS. See https://bit.ly/2ZqJzkp";"warn"===t?e(s):"error"===t&&function(t,e){"undefined"!=typeof console&&(console.error("[vue-i18n] "+t),e&&console.error(e.stack))}(s)}}};i(n,t,r,[])},Z.prototype._initVM=function(t){var e=p.config.silent;p.config.silent=!0,this._vm=new p({data:t}),p.config.silent=e},Z.prototype.destroyVM=function(){this._vm.$destroy()},Z.prototype.subscribeDataChanging=function(t){this._dataListeners.push(t)},Z.prototype.unsubscribeDataChanging=function(t){!function(t,e){if(t.length){var n=t.indexOf(e);if(n>-1)t.splice(n,1)}}(this._dataListeners,t)},Z.prototype.watchI18nData=function(){var t=this;return this._vm.$watch("$data",function(){for(var e=t._dataListeners.length;e--;)p.nextTick(function(){t._dataListeners[e]&&t._dataListeners[e].$forceUpdate()})},{deep:!0})},Z.prototype.watchLocale=function(){if(!this._sync||!this._root)return null;var t=this._vm;return this._root.$i18n.vm.$watch("locale",function(e){t.$set(t,"locale",e),t.$forceUpdate()},{immediate:!0})},B.vm.get=function(){return this._vm},B.messages.get=function(){return l(this._getMessages())},B.dateTimeFormats.get=function(){return l(this._getDateTimeFormats())},B.numberFormats.get=function(){return l(this._getNumberFormats())},B.availableLocales.get=function(){return Object.keys(this.messages).sort()},B.locale.get=function(){return this._vm.locale},B.locale.set=function(t){this._vm.$set(this._vm,"locale",t)},B.fallbackLocale.get=function(){return this._vm.fallbackLocale},B.fallbackLocale.set=function(t){this._vm.$set(this._vm,"fallbackLocale",t)},B.missing.get=function(){return this._missing},B.missing.set=function(t){this._missing=t},B.formatter.get=function(){return this._formatter},B.formatter.set=function(t){this._formatter=t},B.silentTranslationWarn.get=function(){return this._silentTranslationWarn},B.silentTranslationWarn.set=function(t){this._silentTranslationWarn=t},B.silentFallbackWarn.get=function(){return this._silentFallbackWarn},B.silentFallbackWarn.set=function(t){this._silentFallbackWarn=t},B.preserveDirectiveContent.get=function(){return this._preserveDirectiveContent},B.preserveDirectiveContent.set=function(t){this._preserveDirectiveContent=t},B.warnHtmlInMessage.get=function(){return this._warnHtmlInMessage},B.warnHtmlInMessage.set=function(t){var e=this,n=this._warnHtmlInMessage;if(this._warnHtmlInMessage=t,n!==t&&("warn"===t||"error"===t)){var r=this._getMessages();Object.keys(r).forEach(function(t){e._checkLocaleMessage(t,e._warnHtmlInMessage,r[t])})}},Z.prototype._getMessages=function(){return this._vm.messages},Z.prototype._getDateTimeFormats=function(){return this._vm.dateTimeFormats},Z.prototype._getNumberFormats=function(){return this._vm.numberFormats},Z.prototype._warnDefault=function(t,e,n,r,i){if(!o(n))return n;if(this._missing){var a=this._missing.apply(null,[t,e,r,i]);if("string"==typeof a)return a}return e},Z.prototype._isFallbackRoot=function(t){return!t&&!o(this._root)&&this._fallbackRoot},Z.prototype._isSilentFallback=function(t){return this._silentFallbackWarn&&(this._isFallbackRoot()||t!==this.fallbackLocale)}
6,Z.prototype._interpolate=function(t,e,n,r,i,s,l){if(!e)return null;var c,u=this._path.getPathValue(e,n);if(Array.isArray(u)||a(u))return u;if(o(u)){if(!a(e))return null;if("string"!=typeof(c=e[n]))return null}else{if("string"!=typeof u)return null;c=u}return(c.indexOf("@:")>=0||c.indexOf("@.")>=0)&&(c=this._link(t,e,c,r,"raw",s,l)),this._render(c,i,s,n)},Z.prototype._link=function(t,e,n,r,i,a,o){var s=n,l=s.match(J);for(var c in l)if(l.hasOwnProperty(c)){var u=l[c],f=u.match(U),h=f[0],p=f[1],m=u.replace(h,"").replace(q,"");if(o.includes(m))return s;o.push(m);var _=this._interpolate(t,e,m,r,"raw"===i?"string":i,"raw"===i?void 0:a,o);if(this._isFallbackRoot(_)){if(!this._root)throw Error("unexpected error");var g=this._root.$i18n;_=g._translate(g._getMessages(),g.locale,g.fallbackLocale,m,r,i,a)}_=this._warnDefault(t,m,_,r,Array.isArray(a)?a:[a]),G.hasOwnProperty(p)&&(_=G[p](_)),o.pop(),s=_?s.replace(u,_):s}return s},Z.prototype._render=function(t,e,n,r){var i=this._formatter.interpolate(t,n,r);return i||(i=X.interpolate(t,n,r)),"string"===e?i.join(""):i},Z.prototype._translate=function(t,e,n,r,i,a,s){var l=this._interpolate(e,t[e],r,i,a,s,[r]);return o(l)&&o(l=this._interpolate(n,t[n],r,i,a,s,[r]))?null:l},Z.prototype._t=function(t,e,n,r){for(var i,a=[],o=arguments.length-4;o-- >0;)a[o]=arguments[o+4];if(!t)return"";var l=s.apply(void 0,a),c=l.locale||e,u=this._translate(n,c,this.fallbackLocale,t,r,"string",l.params);if(this._isFallbackRoot(u)){if(!this._root)throw Error("unexpected error");return(i=this._root).$t.apply(i,[t].concat(a))}return this._warnDefault(c,t,u,r,a)},Z.prototype.t=function(t){for(var e,n=[],r=arguments.length-1;r-- >0;)n[r]=arguments[r+1];return(e=this)._t.apply(e,[t,this.locale,this._getMessages(),null].concat(n))},Z.prototype._i=function(t,e,n,r,i){var a=this._translate(n,e,this.fallbackLocale,t,r,"raw",i);if(this._isFallbackRoot(a)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.i(t,e,i)}return this._warnDefault(e,t,a,r,[i])},Z.prototype.i=function(t,e,n){return t?("string"!=typeof e&&(e=this.locale),this._i(t,e,this._getMessages(),null,n)):""},Z.prototype._tc=function(t,e,n,r,i){for(var a,o=[],l=arguments.length-5;l-- >0;)o[l]=arguments[l+5];if(!t)return"";void 0===i&&(i=1);var c={count:i,n:i},u=s.apply(void 0,o);return u.params=Object.assign(c,u.params),o=null===u.locale?[u.params]:[u.locale,u.params],this.fetchChoice((a=this)._t.apply(a,[t,e,n,r].concat(o)),i)},Z.prototype.fetchChoice=function(t,e){if(!t&&"string"!=typeof t)return null;var n=t.split("|");return n[e=this.getChoiceIndex(e,n.length)]?n[e].trim():t},Z.prototype.getChoiceIndex=function(t,e){var n,r;return this.locale in this.pluralizationRules?this.pluralizationRules[this.locale].apply(this,[t,e]):(n=t,r=e,n=Math.abs(n),2===r?n?n>1?1:0:1:n?Math.min(n,2):0)},Z.prototype.tc=function(t,e){for(var n,r=[],i=arguments.length-2;i-- >0;)r[i]=arguments[i+2];return(n=this)._tc.apply(n,[t,this.locale,this._getMessages(),null,e].concat(r))},Z.prototype._te=function(t,e,n){for(var r=[],i=arguments.length-3;i-- >0;)r[i]=arguments[i+3];var a=s.apply(void 0,r).locale||e;return this._exist(n[a],t)},Z.prototype.te=function(t,e){return this._te(t,this.locale,this._getMessages(),e)},Z.prototype.getLocaleMessage=function(t){return l(this._vm.messages[t]||{})},Z.prototype.setLocaleMessage=function(t,e){("warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||(this._checkLocaleMessage(t,this._warnHtmlInMessage,e),"error"!==this._warnHtmlInMessage))&&this._vm.$set(this._vm.messages,t,e)},Z.prototype.mergeLocaleMessage=function(t,e){("warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||(this._checkLocaleMessage(t,this._warnHtmlInMessage,e),"error"!==this._warnHtmlInMessage))&&this._vm.$set(this._vm.messages,t,f(this._vm.messages[t]||{},e))},Z.prototype.getDateTimeFormat=function(t){return l(this._vm.dateTimeFormats[t]||{})},Z.prototype.setDateTimeFormat=function(t,e){this._vm.$set(this._vm.dateTimeFormats,t,e)},Z.prototype.mergeDateTimeFormat=function(t,e){this._vm.$set(this._vm.dateTimeFormats,t,f(this._vm.dateTimeFormats[t]||{},e))},Z.prototype._localizeDateTime=function(t,e,n,r,i){var a=e,s=r[a];if((o(s)||o(s[i]))&&(s=r[a=n]),o(s)||o(s[i]))return null;var l=s[i],c=a+"__"+i,u=this._dateTimeFormatters[c];return u||(u=this._dateTimeFormatters[c]=new Intl.DateTimeFormat(a,l)),u.format(t)},Z.prototype._d=function(t,e,n){if(!n)return new Intl.DateTimeFormat(e).format(t);var r=this._localizeDateTime(t,e,this.fallbackLocale,this._getDateTimeFormats(),n);if(this._isFallbackRoot(r)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.d(t,n,e)}return r||""},Z.prototype.d=function(t){for(var e=[],r=arguments.length-1;r-- >0;)e[r]=arguments[r+1];var i=this.locale,a=null;return 1===e.length?"string"==typeof e[0]?a=e[0]:n(e[0])&&(e[0].locale&&(i=e[0].locale),e[0].key&&(a=e[0].key)):2===e.length&&("string"==typeof e[0]&&(a=e[0]),"string"==typeof e[1]&&(i=e[1])),this._d(t,i,a)},Z.prototype.getNumberFormat=function(t){return l(this._vm.numberFormats[t]||{})},Z.prototype.setNumberFormat=function(t,e){this._vm.$set(this._vm.numberFormats,t,e)},Z.prototype.mergeNumberFormat=function(t,e){this._vm.$set(this._vm.numberFormats,t,f(this._vm.numberFormats[t]||{},e))},Z.prototype._getNumberFormatter=function(t,e,n,r,i,a){var s=e,l=r[s];if((o(l)||o(l[i]))&&(l=r[s=n]),o(l)||o(l[i]))return null;var c,u=l[i];if(a)c=new Intl.NumberFormat(s,Object.assign({},u,a));else{var f=s+"__"+i;(c=this._numberFormatters[f])||(c=this._numberFormatters[f]=new Intl.NumberFormat(s,u))}return c},Z.prototype._n=function(t,e,n,r){if(!Z.availabilities.numberFormat)return"";if(!n)return(r?new Intl.NumberFormat(e,r):new Intl.NumberFormat(e)).format(t);var i=this._getNumberFormatter(t,e,this.fallbackLocale,this._getNumberFormats(),n,r),a=i&&i.format(t);if(this._isFallbackRoot(a)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.n(t,Object.assign({},{key:n,locale:e},r))}return a||""},Z.prototype.n=function(e){for(var r=[],i=arguments.length-1;i-- >0;)r[i]=arguments[i+1];var a=this.locale,o=null,s=null;return 1===r.length?"string"==typeof r[0]?o=r[0]:n(r[0])&&(r[0].locale&&(a=r[0].locale),r[0].key&&(o=r[0].key),s=Object.keys(r[0]).reduce(function(e,n){var i;return t.includes(n)?Object.assign({},e,((i={})[n]=r[0][n],i)):e},null)):2===r.length&&("string"==typeof r[0]&&(o=r[0]),"string"==typeof r[1]&&(a=r[1])),this._n(e,a,o,s)},Z.prototype._ntp=function(t,e,n,r){if(!Z.availabilities.numberFormat)return[];if(!n)return(r?new Intl.NumberFormat(e,r):new Intl.NumberFormat(e)).formatToParts(t);var i=this._getNumberFormatter(t,e,this.fallbackLocale,this._getNumberFormats(),n,r),a=i&&i.formatToParts(t);if(this._isFallbackRoot(a)){if(!this._root)throw Error("unexpected error");return this._root.$i18n._ntp(t,e,n,r)}return a||[]}
6,Object.defineProperties(Z.prototype,B),Object.defineProperty(Z,"availabilities",{get:function(){if(!P){var t="undefined"!=typeof Intl;P={dateTimeFormat:t&&void 0!==Intl.DateTimeFormat,numberFormat:t&&void 0!==Intl.NumberFormat}}return P}}),Z.install=k,Z.version="8.11.2",Z},"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.VueI18n=e();

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.