(window.webpackJsonp=window.webpackJsonp||[]).push([[9],{"/hW8":function(n,a,t){"use strict";t.r(a);var e=t("VtSi"),r=t.n(e),s=t("QsI/"),u=t("ERkP"),o=t("apO0"),l=t("23aj"),i=t("TWeG"),c=t.n(i),g=u.createElement,p=function(n){return g(o.a,{languages:n.languages},g("div",{style:{display:"grid",gridAutoFlow:"column",paddingTop:"68px"}},n.lang?g(l.Translation,{translation:n.translations,defaultText:n.defaultText,language:n.lang}):"Not a valid language"))};p.getInitialProps=function(){var n=Object(s.a)(r.a.mark((function n(a){var t,e,s,u,o,l,i;return r.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,c()("http://localhost:8080/translations");case 2:return t=n.sent,n.next=5,t.json();case 5:return e=n.sent,s=Object.keys(e),u=s.includes("".concat(a.query.lang,".json")),o=u?e["".concat(a.query.lang,".json")]:[],l=e["default.json"],i=u?a.query.lang:"",n.abrupt("return",{translations:o,defaultText:l,languages:s,lang:i});case 12:case"end":return n.stop()}}),n)})));return function(a){return n.apply(this,arguments)}}(),a.default=p},"5hRi":function(n,a,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/translations/[lang]",function(){return t("/hW8")}])}},[["5hRi",0,2,1,3]]]);