"use strict";(self.webpackChunkdvls=self.webpackChunkdvls||[]).push([[9327],{9327:(x,u,a)=>{a.r(u),a.d(u,{I18n:()=>f,default:()=>w});var k=function g(r,t,e){var n,i;if(e=e||0,!function y(r){return r instanceof Array}(t))return-1;if(Array.prototype.indexOf)return Array.prototype.indexOf.call(t,r,e);for(i=t.length,n=e;e>=0&&n<i;n+=1)if(t[n]===r)return n;return-1},d=function(){function r(){this.keys=[],this.values=[]}return r.prototype.getKeyIndex=function(t){return k(t,this.keys)},r.prototype.get=function(t){return this.values[this.getKeyIndex(t)]},r.prototype.set=function(t,e){var n=this.getKeyIndex(t);return n>-1?this.values[n]=e:(this.keys.push(t),this.values.push(e)),this},r.prototype.has=function(t){return this.getKeyIndex(t)>-1},r.prototype.delete=function(t){var e=this.getKeyIndex(t);return e>-1&&(this.keys.splice(e,1),this.values.splice(e,1),!0)},r.prototype.forEach=function(t,e){var n=this;void 0===e&&(e=this),this.values.forEach(function(i,s){i&&n.keys[s]&&t.call(e,i,n.keys[s],n)})},r.prototype.clear=function(){this.keys=[],this.values=[]},r}(),o="en-US",f=function(){function r(){this.code=o,this.langs=new d}return r.prototype.setCode=function(t){this.code=t||o},r.prototype.setLanguage=function(t,e){var n=this;(t=[].concat(t)).forEach(function(i){if(n.langs.has(i)){var s=n.langs.get(i);n.langs.set(i,function p(r,t){var n,i,s,h,e=Object.prototype.hasOwnProperty;for(s=1,h=arguments.length;s<h;s+=1)for(i in n=arguments[s])e.call(n,i)&&(r[i]=n[i]);return r}(s,e))}else n.langs.set(i,e)})},r.prototype.get=function(t,e){e||(e=this.code);var n=this.langs.get(e);n||(n=this.langs.get(o));var i=n[t];if(!i)throw new Error('There is no text key "'+t+'" in '+e);return i},r}(),w=new f}}]);