(window["wpJsonpOkeReviews"]=window["wpJsonpOkeReviews"]||[]).push([["okendo-reviews-translation"],{a925:function(t,e,n){"use strict"; /*! * vue-i18n v8.28.2 * (c) 2022 kazuya kawaguchi * Released under the MIT License. */var r=["compactDisplay","currency","currencyDisplay","currencySign","localeMatcher","notation","numberingSystem","signDisplay","style","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits"],a=["dateStyle","timeStyle","calendar","localeMatcher","hour12","hourCycle","timeZone","formatMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName"];function i(t,e){"undefined"!==typeof console&&(console.warn("[vue-i18n] "+t),e&&console.warn(e.stack))}function o(t,e){"undefined"!==typeof console&&(console.error("[vue-i18n] "+t),e&&console.error(e.stack))}var s=Array.isArray;function l(t){return null!==t&&"object"===typeof t}function c(t){return"boolean"===typeof t}function u(t){return"string"===typeof t}var h=Object.prototype.toString,f="[object Object]";function p(t){return h.call(t)===f}function _(t){return null===t||void 0===t}function m(t){return"function"===typeof t}function g(){var t=[],e=arguments.length;while(e--)t[e]=arguments[e];var n=null,r=null;return 1===t.length?l(t[0])||s(t[0])?r=t[0]:"string"===typeof t[0]&&(n=t[0]):2===t.length&&("string"===typeof t[0]&&(n=t[0]),(l(t[1])||s(t[1]))&&(r=t[1])),{locale:n,params:r}}function v(t){return JSON.parse(JSON.stringify(t))}function d(t,e){if(t.delete(e))return t}function b(t){var e=[];return t.forEach((function(t){return e.push(t)})),e}function y(t,e){return!!~t.indexOf(e)}var w=Object.prototype.hasOwnProperty;function k(t,e){return w.call(t,e)}function F(t){for(var e=arguments,n=Object(t),r=1;r/g,">").replace(/"/g,""").replace(/'/g,"'")}function T(t){return null!=t&&Object.keys(t).forEach((function(e){"string"==typeof t[e]&&(t[e]=M(t[e]))})),t}function C(t){t.prototype.hasOwnProperty("$i18n")||Object.defineProperty(t.prototype,"$i18n",{get:function(){return this._i18n}}),t.prototype.$t=function(t){var e=[],n=arguments.length-1;while(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){var n=[],r=arguments.length-2;while(r-- >0)n[r]=arguments[r+2];var a=this.$i18n;return a._tc.apply(a,[t,a.locale,a._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){var e,n=[],r=arguments.length-1;while(r-- >0)n[r]=arguments[r+1];return(e=this.$i18n).d.apply(e,[t].concat(n))},t.prototype.$n=function(t){var e,n=[],r=arguments.length-1;while(r-- >0)n[r]=arguments[r+1];return(e=this.$i18n).n.apply(e,[t].concat(n))}}function I(t){function e(){this!==this.$root&&this.$options.__INTLIFY_META__&&this.$el&&this.$el.setAttribute("data-intlify",this.$options.__INTLIFY_META__)}return void 0===t&&(t=!1),t?{mounted:e}:{beforeCreate:function(){var t=this.$options;if(t.i18n=t.i18n||(t.__i18nBridge||t.__i18n?{}:null),t.i18n)if(t.i18n instanceof Tt){if(t.__i18nBridge||t.__i18n)try{var e=t.i18n&&t.i18n.messages?t.i18n.messages:{},n=t.__i18nBridge||t.__i18n;n.forEach((function(t){e=F(e,JSON.parse(t))})),Object.keys(e).forEach((function(n){t.i18n.mergeLocaleMessage(n,e[n])}))}catch(l){0}this._i18n=t.i18n,this._i18nWatcher=this._i18n.watchI18nData()}else if(p(t.i18n)){var r=this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof Tt?this.$root.$i18n:null;if(r&&(t.i18n.root=this.$root,t.i18n.formatter=r.formatter,t.i18n.fallbackLocale=r.fallbackLocale,t.i18n.formatFallbackMessages=r.formatFallbackMessages,t.i18n.silentTranslationWarn=r.silentTranslationWarn,t.i18n.silentFallbackWarn=r.silentFallbackWarn,t.i18n.pluralizationRules=r.pluralizationRules,t.i18n.preserveDirectiveContent=r.preserveDirectiveContent),t.__i18nBridge||t.__i18n)try{var a=t.i18n&&t.i18n.messages?t.i18n.messages:{},i=t.__i18nBridge||t.__i18n;i.forEach((function(t){a=F(a,JSON.parse(t))})),t.i18n.messages=a}catch(l){0}var o=t.i18n,s=o.sharedMessages;s&&p(s)&&(t.i18n.messages=F(t.i18n.messages,s)),this._i18n=new Tt(t.i18n),this._i18nWatcher=this._i18n.watchI18nData(),(void 0===t.i18n.sync||t.i18n.sync)&&(this._localeWatcher=this.$i18n.watchLocale()),r&&r.onComponentInstanceCreated(this._i18n)}else 0;else this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof Tt?this._i18n=this.$root.$i18n:t.parent&&t.parent.$i18n&&t.parent.$i18n instanceof Tt&&(this._i18n=t.parent.$i18n)},beforeMount:function(){var t=this.$options;t.i18n=t.i18n||(t.__i18nBridge||t.__i18n?{}:null),t.i18n?(t.i18n instanceof Tt||p(t.i18n))&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0):(this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof Tt||t.parent&&t.parent.$i18n&&t.parent.$i18n instanceof Tt)&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0)},mounted:e,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)}))}}}}var D={name:"i18n",functional:!0,props:{tag:{type:[String,Boolean,Object],default:"span"},path:{type:String,required:!0},locale:{type:String},places:{type:[Array,Object]}},render:function(t,e){var n=e.data,r=e.parent,a=e.props,i=e.slots,o=r.$i18n;if(o){var s=a.path,l=a.locale,c=a.places,u=i(),h=o.i(s,l,L(u)||c?O(u.default,c):u),f=a.tag&&!0!==a.tag||!1===a.tag?a.tag:"span";return f?t(f,n,h):h}}};function L(t){var e;for(e in t)if("default"!==e)return!1;return Boolean(e)}function O(t,e){var n=e?x(e):{};if(!t)return n;t=t.filter((function(t){return t.tag||""!==t.text.trim()}));var r=t.every(j);return t.reduce(r?W:N,n)}function x(t){return Array.isArray(t)?t.reduce(N,{}):Object.assign({},t)}function W(t,e){return e.data&&e.data.attrs&&e.data.attrs.place&&(t[e.data.attrs.place]=e),t}function N(t,e,n){return t[n]=e,t}function j(t){return Boolean(t.data&&t.data.attrs&&t.data.attrs.place)}var S,E={name:"i18n-n",functional:!0,props:{tag:{type:[String,Boolean,Object],default:"span"},value:{type:Number,required:!0},format:{type:[String,Object]},locale:{type:String}},render:function(t,e){var n=e.props,a=e.parent,i=e.data,o=a.$i18n;if(!o)return null;var s=null,c=null;u(n.format)?s=n.format:l(n.format)&&(n.format.key&&(s=n.format.key),c=Object.keys(n.format).reduce((function(t,e){var a;return y(r,e)?Object.assign({},t,(a={},a[e]=n.format[e],a)):t}),null));var h=n.locale||o.locale,f=o._ntp(n.value,h,s,c),p=f.map((function(t,e){var n,r=i.scopedSlots&&i.scopedSlots[t.type];return r?r((n={},n[t.type]=t.value,n.index=e,n.parts=f,n)):t.value})),_=n.tag&&!0!==n.tag||!1===n.tag?n.tag:"span";return _?t(_,{attrs:i.attrs,class:i["class"],staticClass:i.staticClass},p):p}};function R(t,e,n){P(t,n)&&B(t,e,n)}function H(t,e,n,r){if(P(t,n)){var a=n.context.$i18n;A(t,n)&&$(e.value,e.oldValue)&&$(t._localeMessage,a.getLocaleMessage(a.locale))||B(t,e,n)}}function V(t,e,n,r){var a=n.context;if(a){var o=n.context.$i18n||{};e.modifiers.preserve||o.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 i("Vue instance does not exists in VNode context")}function P(t,e){var n=e.context;return n?!!n.$i18n||(i("VueI18n instance does not exists in Vue instance"),!1):(i("Vue instance does not exists in VNode context"),!1)}function A(t,e){var n=e.context;return t._locale===n.$i18n.locale}function B(t,e,n){var r,a,o=e.value,s=U(o),l=s.path,c=s.locale,u=s.args,h=s.choice;if(l||c||u)if(l){var f=n.context;t._vt=t.textContent=null!=h?(r=f.$i18n).tc.apply(r,[l,h].concat(z(c,u))):(a=f.$i18n).t.apply(a,[l].concat(z(c,u))),t._locale=f.$i18n.locale,t._localeMessage=f.$i18n.getLocaleMessage(f.$i18n.locale)}else i("`path` is required in v-t directive");else i("value type not supported")}function U(t){var e,n,r,a;return u(t)?e=t:p(t)&&(e=t.path,n=t.locale,r=t.args,a=t.choice),{path:e,locale:n,args:r,choice:a}}function z(t,e){var n=[];return t&&n.push(t),e&&(Array.isArray(e)||p(e))&&n.push(e),n}function J(t,e){void 0===e&&(e={bridge:!1}),J.installed=!0,S=t;S.version&&Number(S.version.split(".")[0]);C(S),S.mixin(I(e.bridge)),S.directive("t",{bind:R,update:H,unbind:V}),S.component(D.name,D),S.component(E.name,E);var n=S.config.optionMergeStrategies;n.i18n=function(t,e){return void 0===e?t:e}}var G=function(){this._caches=Object.create(null)};G.prototype.interpolate=function(t,e){if(!e)return[t];var n=this._caches[t];return n||(n=Y(t),this._caches[t]=n),X(n,e)};var q=/^(?:\d)+/,Z=/^(?:\w)+/;function Y(t){var e=[],n=0,r="";while(n0)h--,u=ot,f[K]();else{if(h=0,void 0===n)return!1;if(n=gt(n),!1===n)return!1;f[Q]()}};while(null!==u)if(c++,e=t[c],"\\"!==e||!p()){if(a=mt(e),s=ht[u],i=s[a]||s["else"]||ut,i===ut)return;if(u=i[0],o=f[i[1]],o&&(r=i[2],r=void 0===r?e:r,!1===o()))return;if(u===ct)return l}}var dt=function(){this._cache=Object.create(null)};dt.prototype.parsePath=function(t){var e=this._cache[t];return e||(e=vt(t),e&&(this._cache[t]=e)),e||[]},dt.prototype.getPathValue=function(t,e){if(!l(t))return null;var n=this.parsePath(e);if(0===n.length)return null;var r=n.length,a=t,i=0;while(i/,wt=/(?:@(?:\.[a-zA-Z]+)?:(?:[\w\-_|./]+|\([\w\-_:|./]+\)))/g,kt=/^@(?:\.([a-zA-Z]+))?:/,Ft=/[()]/g,$t={upper:function(t){return t.toLocaleUpperCase()},lower:function(t){return t.toLocaleLowerCase()},capitalize:function(t){return""+t.charAt(0).toLocaleUpperCase()+t.substr(1)}},Mt=new G,Tt=function(t){var e=this;void 0===t&&(t={}),!S&&"undefined"!==typeof window&&window.Vue&&J(window.Vue);var n=t.locale||"en-US",r=!1!==t.fallbackLocale&&(t.fallbackLocale||"en-US"),a=t.messages||{},i=t.dateTimeFormats||t.datetimeFormats||{},o=t.numberFormats||{};this._vm=null,this._formatter=t.formatter||Mt,this._modifiers=t.modifiers||{},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._fallbackRootWithEmptyString=void 0===t.fallbackRootWithEmptyString||!!t.fallbackRootWithEmptyString,this._formatFallbackMessages=void 0!==t.formatFallbackMessages&&!!t.formatFallbackMessages,this._silentTranslationWarn=void 0!==t.silentTranslationWarn&&t.silentTranslationWarn,this._silentFallbackWarn=void 0!==t.silentFallbackWarn&&!!t.silentFallbackWarn,this._dateTimeFormatters={},this._numberFormatters={},this._path=new dt,this._dataListeners=new Set,this._componentInstanceCreatedListener=t.componentInstanceCreatedListener||null,this._preserveDirectiveContent=void 0!==t.preserveDirectiveContent&&!!t.preserveDirectiveContent,this.pluralizationRules=t.pluralizationRules||{},this._warnHtmlInMessage=t.warnHtmlInMessage||"off",this._postTranslation=t.postTranslation||null,this._escapeParameterHtml=t.escapeParameterHtml||!1,"__VUE_I18N_BRIDGE__"in t&&(this.__VUE_I18N_BRIDGE__=t.__VUE_I18N_BRIDGE__),this.getChoiceIndex=function(t,n){var r=Object.getPrototypeOf(e);if(r&&r.getChoiceIndex){var a=r.getChoiceIndex;return a.call(e,t,n)}var i=function(t,e){return t=Math.abs(t),2===e?t?t>1?1:0:1:t?Math.min(t,2):0};return e.locale in e.pluralizationRules?e.pluralizationRules[e.locale].apply(e,[t,n]):i(t,n)},this._exist=function(t,n){return!(!t||!n)&&(!_(e._path.getPathValue(t,n))||!!t[n])},"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||Object.keys(a).forEach((function(t){e._checkLocaleMessage(t,e._warnHtmlInMessage,a[t])})),this._initVM({locale:n,fallbackLocale:r,messages:a,dateTimeFormats:i,numberFormats:o})},Ct={vm:{configurable:!0},messages:{configurable:!0},dateTimeFormats:{configurable:!0},numberFormats:{configurable:!0},availableLocales:{configurable:!0},locale:{configurable:!0},fallbackLocale:{configurable:!0},formatFallbackMessages:{configurable:!0},missing:{configurable:!0},formatter:{configurable:!0},silentTranslationWarn:{configurable:!0},silentFallbackWarn:{configurable:!0},preserveDirectiveContent:{configurable:!0},warnHtmlInMessage:{configurable:!0},postTranslation:{configurable:!0},sync:{configurable:!0}};Tt.prototype._checkLocaleMessage=function(t,e,n){var r=[],a=function(t,e,n,r){if(p(n))Object.keys(n).forEach((function(i){var o=n[i];p(o)?(r.push(i),r.push("."),a(t,e,o,r),r.pop(),r.pop()):(r.push(i),a(t,e,o,r),r.pop())}));else if(s(n))n.forEach((function(n,i){p(n)?(r.push("["+i+"]"),r.push("."),a(t,e,n,r),r.pop(),r.pop()):(r.push("["+i+"]"),a(t,e,n,r),r.pop())}));else if(u(n)){var l=yt.test(n);if(l){var c="Detected HTML in message '"+n+"' of keypath '"+r.join("")+"' at '"+e+"'. Consider component interpolation with '' to avoid XSS. See https://bit.ly/2ZqJzkp";"warn"===t?i(c):"error"===t&&o(c)}}};a(e,t,n,r)},Tt.prototype._initVM=function(t){var e=S.config.silent;S.config.silent=!0,this._vm=new S({data:t,__VUE18N__INSTANCE__:!0}),S.config.silent=e},Tt.prototype.destroyVM=function(){this._vm.$destroy()},Tt.prototype.subscribeDataChanging=function(t){this._dataListeners.add(t)},Tt.prototype.unsubscribeDataChanging=function(t){d(this._dataListeners,t)},Tt.prototype.watchI18nData=function(){var t=this;return this._vm.$watch("$data",(function(){var e=b(t._dataListeners),n=e.length;while(n--)S.nextTick((function(){e[n]&&e[n].$forceUpdate()}))}),{deep:!0})},Tt.prototype.watchLocale=function(t){if(t){if(!this.__VUE_I18N_BRIDGE__)return null;var e=this,n=this._vm;return this.vm.$watch("locale",(function(r){n.$set(n,"locale",r),e.__VUE_I18N_BRIDGE__&&t&&(t.locale.value=r),n.$forceUpdate()}),{immediate:!0})}if(!this._sync||!this._root)return null;var r=this._vm;return this._root.$i18n.vm.$watch("locale",(function(t){r.$set(r,"locale",t),r.$forceUpdate()}),{immediate:!0})},Tt.prototype.onComponentInstanceCreated=function(t){this._componentInstanceCreatedListener&&this._componentInstanceCreatedListener(t,this)},Ct.vm.get=function(){return this._vm},Ct.messages.get=function(){return v(this._getMessages())},Ct.dateTimeFormats.get=function(){return v(this._getDateTimeFormats())},Ct.numberFormats.get=function(){return v(this._getNumberFormats())},Ct.availableLocales.get=function(){return Object.keys(this.messages).sort()},Ct.locale.get=function(){return this._vm.locale},Ct.locale.set=function(t){this._vm.$set(this._vm,"locale",t)},Ct.fallbackLocale.get=function(){return this._vm.fallbackLocale},Ct.fallbackLocale.set=function(t){this._localeChainCache={},this._vm.$set(this._vm,"fallbackLocale",t)},Ct.formatFallbackMessages.get=function(){return this._formatFallbackMessages},Ct.formatFallbackMessages.set=function(t){this._formatFallbackMessages=t},Ct.missing.get=function(){return this._missing},Ct.missing.set=function(t){this._missing=t},Ct.formatter.get=function(){return this._formatter},Ct.formatter.set=function(t){this._formatter=t},Ct.silentTranslationWarn.get=function(){return this._silentTranslationWarn},Ct.silentTranslationWarn.set=function(t){this._silentTranslationWarn=t},Ct.silentFallbackWarn.get=function(){return this._silentFallbackWarn},Ct.silentFallbackWarn.set=function(t){this._silentFallbackWarn=t},Ct.preserveDirectiveContent.get=function(){return this._preserveDirectiveContent},Ct.preserveDirectiveContent.set=function(t){this._preserveDirectiveContent=t},Ct.warnHtmlInMessage.get=function(){return this._warnHtmlInMessage},Ct.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])}))}},Ct.postTranslation.get=function(){return this._postTranslation},Ct.postTranslation.set=function(t){this._postTranslation=t},Ct.sync.get=function(){return this._sync},Ct.sync.set=function(t){this._sync=t},Tt.prototype._getMessages=function(){return this._vm.messages},Tt.prototype._getDateTimeFormats=function(){return this._vm.dateTimeFormats},Tt.prototype._getNumberFormats=function(){return this._vm.numberFormats},Tt.prototype._warnDefault=function(t,e,n,r,a,i){if(!_(n))return n;if(this._missing){var o=this._missing.apply(null,[t,e,r,a]);if(u(o))return o}else 0;if(this._formatFallbackMessages){var s=g.apply(void 0,a);return this._render(e,i,s.params,e)}return e},Tt.prototype._isFallbackRoot=function(t){return(this._fallbackRootWithEmptyString?!t:_(t))&&!_(this._root)&&this._fallbackRoot},Tt.prototype._isSilentFallbackWarn=function(t){return this._silentFallbackWarn instanceof RegExp?this._silentFallbackWarn.test(t):this._silentFallbackWarn},Tt.prototype._isSilentFallback=function(t,e){return this._isSilentFallbackWarn(e)&&(this._isFallbackRoot()||t!==this.fallbackLocale)},Tt.prototype._isSilentTranslationWarn=function(t){return this._silentTranslationWarn instanceof RegExp?this._silentTranslationWarn.test(t):this._silentTranslationWarn},Tt.prototype._interpolate=function(t,e,n,r,a,i,o){if(!e)return null;var l,c=this._path.getPathValue(e,n);if(s(c)||p(c))return c;if(_(c)){if(!p(e))return null;if(l=e[n],!u(l)&&!m(l))return null}else{if(!u(c)&&!m(c))return null;l=c}return u(l)&&(l.indexOf("@:")>=0||l.indexOf("@.")>=0)&&(l=this._link(t,e,l,r,"raw",i,o)),this._render(l,a,i,n)},Tt.prototype._link=function(t,e,n,r,a,i,o){var l=n,c=l.match(wt);for(var u in c)if(c.hasOwnProperty(u)){var h=c[u],f=h.match(kt),p=f[0],_=f[1],m=h.replace(p,"").replace(Ft,"");if(y(o,m))return l;o.push(m);var g=this._interpolate(t,e,m,r,"raw"===a?"string":a,"raw"===a?void 0:i,o);if(this._isFallbackRoot(g)){if(!this._root)throw Error("unexpected error");var v=this._root.$i18n;g=v._translate(v._getMessages(),v.locale,v.fallbackLocale,m,r,a,i)}g=this._warnDefault(t,m,g,r,s(i)?i:[i],a),this._modifiers.hasOwnProperty(_)?g=this._modifiers[_](g):$t.hasOwnProperty(_)&&(g=$t[_](g)),o.pop(),l=g?l.replace(h,g):l}return l},Tt.prototype._createMessageContext=function(t,e,n,r){var a=this,i=s(t)?t:[],o=l(t)?t:{},c=function(t){return i[t]},u=function(t){return o[t]},h=this._getMessages(),f=this.locale;return{list:c,named:u,values:t,formatter:e,path:n,messages:h,locale:f,linked:function(t){return a._interpolate(f,h[f]||{},t,null,r,void 0,[t])}}},Tt.prototype._render=function(t,e,n,r){if(m(t))return t(this._createMessageContext(n,this._formatter||Mt,r,e));var a=this._formatter.interpolate(t,n,r);return a||(a=Mt.interpolate(t,n,r)),"string"!==e||u(a)?a:a.join("")},Tt.prototype._appendItemToChain=function(t,e,n){var r=!1;return y(t,e)||(r=!0,e&&(r="!"!==e[e.length-1],e=e.replace(/!/g,""),t.push(e),n&&n[e]&&(r=n[e]))),r},Tt.prototype._appendLocaleToChain=function(t,e,n){var r,a=e.split("-");do{var i=a.join("-");r=this._appendItemToChain(t,i,n),a.splice(-1,1)}while(a.length&&!0===r);return r},Tt.prototype._appendBlockToChain=function(t,e,n){for(var r=!0,a=0;a0)i[o]=arguments[o+4];if(!t)return"";var s=g.apply(void 0,i);this._escapeParameterHtml&&(s.params=T(s.params));var l=s.locale||e,c=this._translate(n,l,this.fallbackLocale,t,r,"string",s.params);if(this._isFallbackRoot(c)){if(!this._root)throw Error("unexpected error");return(a=this._root).$t.apply(a,[t].concat(i))}return c=this._warnDefault(l,t,c,r,i,"string"),this._postTranslation&&null!==c&&void 0!==c&&(c=this._postTranslation(c,t)),c},Tt.prototype.t=function(t){var e,n=[],r=arguments.length-1;while(r-- >0)n[r]=arguments[r+1];return(e=this)._t.apply(e,[t,this.locale,this._getMessages(),null].concat(n))},Tt.prototype._i=function(t,e,n,r,a){var i=this._translate(n,e,this.fallbackLocale,t,r,"raw",a);if(this._isFallbackRoot(i)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.i(t,e,a)}return this._warnDefault(e,t,i,r,[a],"raw")},Tt.prototype.i=function(t,e,n){return t?(u(e)||(e=this.locale),this._i(t,e,this._getMessages(),null,n)):""},Tt.prototype._tc=function(t,e,n,r,a){var i,o=[],s=arguments.length-5;while(s-- >0)o[s]=arguments[s+5];if(!t)return"";void 0===a&&(a=1);var l={count:a,n:a},c=g.apply(void 0,o);return c.params=Object.assign(l,c.params),o=null===c.locale?[c.params]:[c.locale,c.params],this.fetchChoice((i=this)._t.apply(i,[t,e,n,r].concat(o)),a)},Tt.prototype.fetchChoice=function(t,e){if(!t||!u(t))return null;var n=t.split("|");return e=this.getChoiceIndex(e,n.length),n[e]?n[e].trim():t},Tt.prototype.tc=function(t,e){var n,r=[],a=arguments.length-2;while(a-- >0)r[a]=arguments[a+2];return(n=this)._tc.apply(n,[t,this.locale,this._getMessages(),null,e].concat(r))},Tt.prototype._te=function(t,e,n){var r=[],a=arguments.length-3;while(a-- >0)r[a]=arguments[a+3];var i=g.apply(void 0,r).locale||e;return this._exist(n[i],t)},Tt.prototype.te=function(t,e){return this._te(t,this.locale,this._getMessages(),e)},Tt.prototype.getLocaleMessage=function(t){return v(this._vm.messages[t]||{})},Tt.prototype.setLocaleMessage=function(t,e){"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||this._checkLocaleMessage(t,this._warnHtmlInMessage,e),this._vm.$set(this._vm.messages,t,e)},Tt.prototype.mergeLocaleMessage=function(t,e){"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||this._checkLocaleMessage(t,this._warnHtmlInMessage,e),this._vm.$set(this._vm.messages,t,F("undefined"!==typeof this._vm.messages[t]&&Object.keys(this._vm.messages[t]).length?Object.assign({},this._vm.messages[t]):{},e))},Tt.prototype.getDateTimeFormat=function(t){return v(this._vm.dateTimeFormats[t]||{})},Tt.prototype.setDateTimeFormat=function(t,e){this._vm.$set(this._vm.dateTimeFormats,t,e),this._clearDateTimeFormat(t,e)},Tt.prototype.mergeDateTimeFormat=function(t,e){this._vm.$set(this._vm.dateTimeFormats,t,F(this._vm.dateTimeFormats[t]||{},e)),this._clearDateTimeFormat(t,e)},Tt.prototype._clearDateTimeFormat=function(t,e){for(var n in e){var r=t+"__"+n;this._dateTimeFormatters.hasOwnProperty(r)&&delete this._dateTimeFormatters[r]}},Tt.prototype._localizeDateTime=function(t,e,n,r,a,i){for(var o=e,s=r[o],l=this._getLocaleChain(e,n),c=0;c0)e[n]=arguments[n+1];var r=this.locale,i=null,o=null;return 1===e.length?(u(e[0])?i=e[0]:l(e[0])&&(e[0].locale&&(r=e[0].locale),e[0].key&&(i=e[0].key)),o=Object.keys(e[0]).reduce((function(t,n){var r;return y(a,n)?Object.assign({},t,(r={},r[n]=e[0][n],r)):t}),null)):2===e.length&&(u(e[0])&&(i=e[0]),u(e[1])&&(r=e[1])),this._d(t,r,i,o)},Tt.prototype.getNumberFormat=function(t){return v(this._vm.numberFormats[t]||{})},Tt.prototype.setNumberFormat=function(t,e){this._vm.$set(this._vm.numberFormats,t,e),this._clearNumberFormat(t,e)},Tt.prototype.mergeNumberFormat=function(t,e){this._vm.$set(this._vm.numberFormats,t,F(this._vm.numberFormats[t]||{},e)),this._clearNumberFormat(t,e)},Tt.prototype._clearNumberFormat=function(t,e){for(var n in e){var r=t+"__"+n;this._numberFormatters.hasOwnProperty(r)&&delete this._numberFormatters[r]}},Tt.prototype._getNumberFormatter=function(t,e,n,r,a,i){for(var o=e,s=r[o],l=this._getLocaleChain(e,n),c=0;c0)e[n]=arguments[n+1];var a=this.locale,i=null,o=null;return 1===e.length?u(e[0])?i=e[0]:l(e[0])&&(e[0].locale&&(a=e[0].locale),e[0].key&&(i=e[0].key),o=Object.keys(e[0]).reduce((function(t,n){var a;return y(r,n)?Object.assign({},t,(a={},a[n]=e[0][n],a)):t}),null)):2===e.length&&(u(e[0])&&(i=e[0]),u(e[1])&&(a=e[1])),this._n(t,a,i,o)},Tt.prototype._ntp=function(t,e,n,r){if(!Tt.availabilities.numberFormat)return[];if(!n){var a=r?new Intl.NumberFormat(e,r):new Intl.NumberFormat(e);return a.formatToParts(t)}var i=this._getNumberFormatter(t,e,this.fallbackLocale,this._getNumberFormats(),n,r),o=i&&i.formatToParts(t);if(this._isFallbackRoot(o)){if(!this._root)throw Error("unexpected error");return this._root.$i18n._ntp(t,e,n,r)}return o||[]},Object.defineProperties(Tt.prototype,Ct),Object.defineProperty(Tt,"availabilities",{get:function(){if(!bt){var t="undefined"!==typeof Intl;bt={dateTimeFormat:t&&"undefined"!==typeof Intl.DateTimeFormat,numberFormat:t&&"undefined"!==typeof Intl.NumberFormat}}return bt}}),Tt.install=J,Tt.version="8.28.2",e["a"]=Tt}}]);