function serviceHeader(){return new ServiceHeader(29,"Oxford Learner Dictionary","The largest and most trusted free online dictionary for learners of British and American English."+Const.NL2+serviceHost()+Const.NL2+"\u00a9 2018 Oxford University Press",Capability.DICTIONARY)}function serviceHost(b,a,c){return"https://www.oxfordlearnersdictionaries.com"}function serviceLink(b,a,c){return serviceHost()}
SupportedLanguages=[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1];function serviceDictionaryRequest(b,a,c){b="/search/english/?q="+encodeGetParam(b);return new RequestData(HttpMethod.GET,b)}
function serviceDictionaryResponse(b,a,c,d){var e=serviceHost(Capability.DICTIONARY,c,d);if(a=stringFindSub(a,'<div id="ox-wrapper"',!1,'<div id="rightcolumn"',!1))a=updateHtmlLinks(a,e),a=a.replace(/(https?:\/\/)?(www\.)?oxfordlearnersdictionaries\.com\/(search\/english\/\?q=|definition\/english\/)/ig,"qtdp:"),a=removeAttributes("<div "+a,["id","dpsid","dpsref","geo"]),a=removeElements(a,["script"]),a=a.replace(/<div class="sound(.|\n)*?<\/div>/gi,""),a='<div><style>.phonetics-font,.eph,.phon{font-family:"Lucida Sans Unicode",Arial}.oxford3000,.link-right,.wl-add,a.topic,.bre,.name,.nbsp,.side-panel>div,.vp-gs>div,.top-g .pos-g,.z_n+.z,.z_gr_br,#ox-enlarge+.z,.h-g+.z,.pron-gs .wrap,li.sn-g>.num,span[hide~="y"],.top-container br{display:none}.serif-italic,.wx,.x,.x-g,.sans-italic,.ei,.etym_i,.geo,.pos,.reg,.subj,.wfp,.xpos,.webtop-g .pos+.pnc,.collapse .ff,.collapse[title^="AWL Collocations"] .er{font-style:italic}.label-g{color:#767676}.x-gs{display:block}.x-g{display:block;margin-top:6px;position:relative;margin-left:11px}.entry-box-style,.collapse{display:block;margin:12px 0 18px 0;position:relative;overflow:hidden}.collapse{padding:12px 18px 12px 18px;border-left:3px solid #C76E06}.collapse .heading,.collapse pnc.heading,.collapse .body,.collapse .h1,.collapse .li,.collapse .inline{display:block}.collapse .p{margin:0;display:block}.entry-box-style-heading,.collapse .heading,.collapse pnc.heading{padding:6px;margin:-12px -18px -12px -18px}.entry-box-style,.collapse{display:block;margin:12px 0 18px 0;position:relative;overflow:hidden}.collapse .h1{color:#C76E06;margin:12px 0 6px 0;font-weight:bold;display:block}.collapse .h3,.collapse .h2{margin:6px 0 3px 0;font-weight:bold;display:block;color:#333}.collapse .bullet .li,.collapse ul.bullet .li{margin-top:3px;margin-left:16px;position:relative;display:block}.collapse .inline .li,.collapse ul.inline .li{display:inline-block;font-weight:bold}.collapse .deflist .li,.collapse ul.deflist .li{margin-top:6px;padding-left:12px;text-indent:-12px}.unbox .p{display:block}.unbox .p+.p{margin-top:18px}.unbox .heading,.unbox pnc.heading{margin-bottom:12px}.bold,.eb,.title_bold{font-weight:bold}.sans-bold,.cf,.dhb,.dr,.eb,.id,.idm,.if,.pv,.th,.v,.ve,.vp,.wfo,.wfw,.xh,.xw{font-weight:bold;font-style:normal}.shcut{display:block;margin-top:18px;border-bottom:1px solid #C76E06}.xr-gs{display:block;margin-top:6px}.collapse .p .xr-gs{display:inline;margin:0}.xh{font-variant:small-caps}.sans-sc,.sc,.xr-gs .prefix,.xr-gs pnc.prefix{font-variant:small-caps}.pv-gs .Ref{display:block}</style>'+
a+"</div>";b=format("{0}/search/english/?q={1}",e,encodeGetParam(b));return new ResponseData(a,c,d,b)};
