function serviceHeader(){return new ServiceHeader(13,"Babylon","Search for literally millions of terms in Babylon\u2019s database of over 1,600 dictionaries and glossaries from the most varied fields of information. All in more than 75 languages."+Const.NL2+serviceHost()+Const.NL2+"\u00a9 2014-2017 Babylon Software Ltd",Capability.TRANSLATE)}function serviceHost(a,b,c){return"https://translation.babylon-software.com"}function serviceLink(a,b,c){return serviceHost()}
SupportedLanguages=[-1,-1,-1,-1,-1,15,-1,-1,-1,-1,99,10,9,-1,31,43,4,0,-1,-1,-1,1,-1,6,11,-1,14,60,30,-1,-1,2,-1,8,-1,12,-1,-1,-1,-1,-1,46,51,29,5,47,7,-1,-1,-1,3,-1,48,16,13,49,39,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1];function serviceTranslateRequest(a,b,c){a=format("/translate/babylon.php?v=1.0&q={0}&langpair={1}%7C{2}&callback=callbackFn&context=babylon",encodeGetParam(prepareSource(a)),codeFromLanguage(b),codeFromLanguage(c));return new RequestData(HttpMethod.GET,a)}
function serviceTranslateResponse(a,b,c,e){if(a=b){b=a.indexOf("(");if(-1!==b){var d=a.lastIndexOf(")");-1!==d&&(a=a.slice(b+1,d),a="["+a+"]")}(b=eval(a))&&2<b.length&&(b=b[1])&&(a=stripHtml(b.translatedText),a=a.replace(/\*/g,Const.NL))}return new ResponseData(a,c,e)};
