').html(link).html();return $.i18n('ext-uls-undo-language-tooltip-text',link);}});function showTipsy(timeout){var tipsyTimer=0;$ulsTrigger.tipsy('show');$('.tipsy').on('mouseover',function(){window.clearTimeout(tipsyTimer);});$('.tipsy').on('mouseout',function(){tipsyTimer=window.setTimeout(function(){hideTipsy();},timeout);});$('a.uls-prevlang-link').on(
'click.ulstipsy',function(event){var deferred=$.Deferred();event.preventDefault();deferred.done(function(){mw.uls.changeLanguage(event.target.lang);});mw.hook('mw.uls.language.revert').fire(deferred);window.setTimeout(function(){deferred.resolve();},mw.config.get('wgULSEventLogging')*500);});tipsyTimer=window.setTimeout(function(){hideTipsy();},timeout);}function hideTipsy(){$ulsTrigger.tipsy('hide');}window.setTimeout(function(){showTipsy(6000);},500);$ulsTrigger.on('mouseover',function(){if(!$('.uls-menu:visible').length){showTipsy(3000);}});$ulsTrigger.on('click',function(){hideTipsy();});}$(document).ready(function(){mw.uls.init(function(){var $triggers,$pLang,$ulsTrigger=$('.uls-trigger'),rtlPage=$('body').hasClass('rtl'),anonMode=(mw.user.isAnon()&&!mw.config.get('wgULSAnonCanChangeLanguage')),ulsPosition=mw.config.get('wgULSPosition');if(ulsPosition==='interlanguage'){$pLang=$('#p-lang');$ulsTrigger=$('
').addClass('uls-settings-trigger').attr('title',$.i18n(
'ext-uls-language-settings-title'));$pLang.show().prepend($ulsTrigger);$ulsTrigger=$('.uls-settings-trigger');$pLang.find('.uls-p-lang-dummy').remove();if(!$pLang.find('div ul').children().length){$pLang.find('h3').text(mw.msg('uls-plang-title-languages'));if(mw.config.get('skin')==='monobook'){$pLang.find('div.pBody').remove();}}$ulsTrigger.attr({title:$.i18n('ext-uls-select-language-settings-icon-tooltip')});$ulsTrigger.on('click',function(e,eventParams){var languagesettings=$ulsTrigger.data('languagesettings'),languageSettingsOptions;if(languagesettings){if(!languagesettings.shown){mw.hook('mw.uls.settings.open').fire(eventParams&&eventParams.source||'interlanguage');}}else{languageSettingsOptions={defaultModule:'display',onVisible:function(){var topRowHeight,caretHeight,caretWidth,$caretBefore=$('').addClass('caret-before'),$caretAfter=$('').addClass('caret-after'),ulsTriggerWidth=this.$element.width(),ulsTriggerOffset=this.$element.offset();this.$window.addClass(
'callout');this.$window.prepend($caretBefore,$caretAfter);if(rtlPage){caretWidth=parseInt($caretBefore.css('border-left-width'),10);this.left=ulsTriggerOffset.left-this.$window.width()-caretWidth;}else{caretWidth=parseInt($caretBefore.css('border-right-width'),10);this.left=ulsTriggerOffset.left+ulsTriggerWidth+caretWidth;}topRowHeight=this.$window.find('.row').height();caretHeight=parseInt($caretBefore.css('top'),10);this.top=ulsTriggerOffset.top-topRowHeight-caretHeight/2;this.position();}};mw.loader.using(mw.uls.languageSettingsModules,function(){$ulsTrigger.languagesettings(languageSettingsOptions).click();});e.stopPropagation();}});}else if(anonMode){$ulsTrigger.on('click',function(e,eventParams){var languagesettings=$ulsTrigger.data('languagesettings');if(languagesettings){if(!languagesettings.shown){mw.hook('mw.uls.settings.open').fire(eventParams&&eventParams.source||'personal');}}else{mw.loader.using(mw.uls.languageSettingsModules,function(){$ulsTrigger.languagesettings();
$ulsTrigger.trigger('click',eventParams);});e.stopPropagation();}});}else{$ulsTrigger.on('click',function(e,eventParams){var uls=$ulsTrigger.data('uls');if(uls){if(!uls.shown){mw.hook('mw.uls.settings.open').fire(eventParams&&eventParams.source||'personal');}}else{$ulsTrigger.uls({quickList:function(){return mw.uls.getFrequentLanguageList();},onReady:function(){var uls=this;mw.loader.using(mw.uls.languageSettingsModules,function(){addDisplaySettings(uls);addInputSettings(uls);});},onSelect:function(language){mw.uls.changeLanguage(language);},onVisible:function(){mw.uls.addEventLoggingTriggers();}}).trigger('click',eventParams);e.stopPropagation();}});}$triggers=$('.uls-settings-trigger, .uls-trigger');addAccessibilityFeatures($triggers);$('#uls-preferences-link').text($.i18n('ext-uls-language-settings-preferences-link')).click(function(){$ulsTrigger.trigger('click',{source:'preferences'});return false;});showULSTooltip();});});}(jQuery,mediaWiki));;},{},{"uls-plang-title-languages":
"Languages"});mw.loader.implement("ext.uls.languagenames",function(){mw.config.set("wgULSLanguages",{"ab":"Abkhazian","ace":"Achinese","af":"Afrikaans","ak":"Akan","aln":"Gheg Albanian","am":"Amharic","an":"Aragonese","ang":"Old English","anp":"Angika","ar":"Arabic","arc":"Aramaic","arn":"Mapuche","ary":"Moroccan Spoken Arabic","arz":"Egyptian Spoken Arabic","as":"Assamese","ast":"Asturian","av":"Avaric","avk":"Kotava","ay":"Aymara","az":"Azerbaijani","azb":"South Azerbaijani","ba":"Bashkir","bar":"Bavarian","bbc":"Batak Toba","bbc-latn":"Batak Toba","bcc":"Southern Balochi","bcl":"Bikol Central","be":"Belarusian","be-tarask":"Belarusian (Taraškievica orthography)","bg":"Bulgarian","bh":"Bihari","bho":"Bhojpuri","bi":"Bislama","bjn":"Banjar","bm":"Bambara","bn":"Bengali","bo":"Tibetan","bpy":"Bishnupria Manipuri","bqi":"Bakhtiari","br":"Breton","brh":"Brahui","bs":"Bosnian","bug":"Buginese","bxr":"буряад","ca":"Catalan","cbk-zam":"Chavacano de Zamboanga","cdo":"Min Dong Chinese"
,"ce":"Chechen","ceb":"Cebuano","ch":"Chamorro","chr":"Cherokee","ckb":"Sorani Kurdish","co":"Corsican","cps":"Capiznon","crh":"Crimean Turkish","crh-latn":"Crimean Turkish (Latin script)","crh-cyrl":"Crimean Turkish (Cyrillic script)","cs":"Czech","csb":"Kashubian","cu":"Church Slavic","cv":"Chuvash","cy":"Welsh","da":"Danish","de":"German","de-at":"Austrian German","de-ch":"Swiss High German","de-formal":"German (formal address)","diq":"Zazaki","dsb":"Lower Sorbian","dtp":"Central Dusun","dv":"Divehi","dz":"Dzongkha","ee":"Ewe","egl":"Emiliàn","el":"Greek","eml":"Emiliano-Romagnolo","en":"English","en-ca":"Canadian English","en-gb":"British English","eo":"Esperanto","es":"Spanish","et":"Estonian","eu":"Basque","ext":"Extremaduran","fa":"Persian","ff":"Fulah","fi":"Finnish","fit":"meänkieli","fj":"Fijian","fo":"Faroese","fr":"French","frc":"Cajun French","frp":"Franco-Provençal","frr":"Northern Frisian","fur":"Friulian","fy":"Western Frisian","ga":"Irish","gag":"Gagauz","gan":"Gan"
,"gan-hans":"Simplified Gan script","gan-hant":"Traditional Gan script","gd":"Scottish Gaelic","gl":"Galician","glk":"Gilaki","gn":"Guarani","got":"Gothic","grc":"Ancient Greek","gsw":"Swiss German","gu":"Gujarati","gv":"Manx","ha":"Hausa","hak":"Hakka","haw":"Hawaiian","he":"Hebrew","hi":"Hindi","hif":"Fiji Hindi","hif-latn":"Fiji Hindi (Latin script)","hil":"Hiligaynon","hr":"Croatian","hsb":"Upper Sorbian","ht":"Haitian","hu":"Hungarian","hy":"Armenian","ia":"Interlingua","id":"Indonesian","ie":"Interlingue","ig":"Igbo","ii":"Sichuan Yi","ik":"Inupiaq","ike-cans":"Eastern Canadian (Aboriginal syllabics)","ike-latn":"Eastern Canadian (Latin script)","ilo":"Iloko","inh":"Ingush","io":"Ido","is":"Icelandic","it":"Italian","iu":"Inuktitut","ja":"Japanese","jam":"Jamaican Creole English","jbo":"Lojban","jut":"Jutish","jv":"Javanese","ka":"Georgian","kaa":"Kara-Kalpak","kab":"Kabyle","kbd":"Kabardian","kbd-cyrl":"Адыгэбзэ","kg":"Kongo","khw":"Khowar","kiu":"Kirmanjki","kk":
"Kazakh","kk-arab":"Kazakh (Arabic script)","kk-cyrl":"Kazakh (Cyrillic script)","kk-latn":"Kazakh (Latin script)","kk-cn":"Kazakh (China)","kk-kz":"Kazakh (Kazakhstan)","kk-tr":"Kazakh (Turkey)","kl":"Kalaallisut","km":"Khmer","kn":"Kannada","ko":"Korean","ko-kp":"한국어 (조선)","koi":"Komi-Permyak","krc":"Karachay-Balkar","kri":"Krio","krj":"Kinaray-a","ks":"Kashmiri","ks-arab":"Kashmiri (Arabic script)","ks-deva":"Kashmiri (Devanagari script)","ksh":"Colognian","ku":"Kurdish","ku-latn":"Kurdish (Latin script)","ku-arab":"كوردي (عەرەبی)","kv":"Komi","kw":"Cornish","ky":"Kirghiz","la":"Latin","lad":"Ladino","lb":"Luxembourgish","lbe":"лакку","lez":"Lezghian","lfn":"Lingua Franca Nova","lg":"Ganda","li":"Limburgish","lij":"Ligure","liv":"Līvõ kēļ","lmo":"lumbaart","ln":"Lingala","lo":"Lao","loz":"Lozi","lt":"Lithuanian","ltg":"Latgalian","lus":"Mizo","lv":"Latvian","lzh":"Literary Chinese","lzz":"Lazuri","mai":"Maithili","map-bms":"Basa Banyumasan","mdf":
"Moksha","mg":"Malagasy","mhr":"Eastern Mari","mi":"Maori","min":"Minangkabau","mk":"Macedonian","ml":"Malayalam","mn":"Mongolian","mo":"Moldavian","mr":"Marathi","mrj":"Hill Mari","ms":"Malay","mt":"Maltese","mwl":"Mirandese","my":"Burmese","myv":"Erzya","mzn":"Mazanderani","na":"Nauru","nah":"Nahuatl","nan":"Min Nan Chinese","nap":"Neapolitan","nb":"Norwegian Bokmål","nds":"Low German","nds-nl":"Low Saxon (Netherlands)","ne":"Nepali","new":"Newari","niu":"Niuean","nl":"Dutch","nl-informal":"Nederlands (informeel)","nn":"Norwegian Nynorsk","nov":"Novial","nso":"Northern Sotho","nv":"Navajo","ny":"Nyanja","oc":"Occitan","om":"Oromo","or":"Oriya","os":"Ossetic","pa":"Punjabi","pag":"Pangasinan","pam":"Pampanga","pap":"Papiamento","pcd":"Picard","pdc":"Deitsch","pdt":"Plautdietsch","pfl":"Pälzisch","pi":"Pali","pih":"Norfuk / Pitkern","pl":"Polish","pms":"Piedmontese","pnb":"Western Punjabi","pnt":"Pontic","prg":"Prussian","ps":"Pashto","pt":"Portuguese","pt-br":
"Brazilian Portuguese","qu":"Quechua","qug":"Runa shimi","rgn":"Romagnol","rif":"Tarifit","rm":"Romansh","rmy":"Romani","ro":"Romanian","roa-tara":"tarandíne","ru":"Russian","rue":"Rusyn","rup":"Aromanian","ruq":"Megleno-Romanian","ruq-cyrl":"Megleno-Romanian (Cyrillic script)","ruq-latn":"Megleno-Romanian (Latin script)","sa":"Sanskrit","sah":"Sakha","sat":"Santali","sc":"Sardinian","scn":"Sicilian","sco":"Scots","sd":"Sindhi","sdc":"Sassaresu","se":"Northern Sami","sei":"Cmique Itom","sg":"Sango","sgs":"Samogitian","sh":"Serbo-Croatian","shi":"Tachelhit","si":"Sinhala","sk":"Slovak","sl":"Slovenian","sli":"Lower Silesian","sm":"Samoan","sma":"Southern Sami","sn":"Shona","so":"Somali","sq":"Albanian","sr":"Serbian","sr-ec":"Serbian (Cyrillic script)","sr-el":"Serbian (Latin script)","srn":"Sranan Tongo","ss":"Swati","st":"Southern Sotho","stq":"Seeltersk","su":"Sundanese","sv":"Swedish","sw":"Swahili","szl":"Silesian","ta":"Tamil","tcy":"Tulu","te":"Telugu","tet":"Tetum","tg":"Tajik"
,"tg-cyrl":"Tajik (Cyrillic script)","tg-latn":"Tajik (Latin script)","th":"Thai","ti":"Tigrinya","tk":"Turkmen","tl":"Tagalog","tly":"толышә зывон","tn":"Tswana","to":"Tongan","tokipona":"Toki Pona","tpi":"Tok Pisin","tr":"Turkish","tru":"Turoyo","ts":"Tsonga","tt":"Tatar","tt-cyrl":"Tatar (Cyrillic script)","tt-latn":"Tatar (Latin script)","ty":"Tahitian","tyv":"Tuvinian","udm":"Udmurt","ug":"Uyghur","ug-arab":"Uyghur (Arabic script)","ug-latn":"Uyghur (Latin script)","uk":"Ukrainian","ur":"Urdu","uz":"Uzbek","ve":"Venda","vec":"vèneto","vep":"Veps","vi":"Vietnamese","vls":"West-Vlams","vmf":"Upper Franconian","vo":"Volapük","vot":"Votic","vro":"Võro","wa":"Walloon","war":"Waray","wo":"Wolof","wuu":"Wu","xal":"Kalmyk","xh":"Xhosa","xmf":"Mingrelian","yi":"Yiddish","yo":"Yoruba","yue":"Cantonese","za":"Zhuang","zea":"Zeeuws","zh":"Chinese","zh-cn":"Chinese (China)","zh-hans":"Simplified Chinese","zh-hant":"Traditional Chinese","zh-hk":"Chinese (Hong Kong)","zh-mo":
"中文(澳門)","zh-my":"中文(马来西亚)","zh-sg":"Chinese (Singapore)","zh-tw":"Chinese (Taiwan)","zu":"Zulu"});},{},{});mw.loader.implement("ext.uls.preferences",function(){(function($,mw,undefined){'use strict';var ULSPreferences,cachedOptionsToken=null;function saveOptionsWithToken(params,ok,err){if(cachedOptionsToken===null){return getOptionsToken(function(token){params.token=token;new mw.Api().post(params,ok,err);},err);}else{params.token=cachedOptionsToken;return new mw.Api().post(params,{ok:ok,err:function(code,result){if(code==='badtoken'){cachedOptionsToken=null;saveOptionsWithToken(params,ok,err);}else{err(code,result);}}});}}function getOptionsToken(tokenCallback,err){return new mw.Api().get({action:'tokens',type:'options'},{ok:function(data){var token;if(data.tokens&&data.tokens.optionstoken){token=data.tokens.optionstoken;cachedOptionsToken=token;tokenCallback(token);}else{err('token-missing',data);}},err:err,jsonp:false});}ULSPreferences=function(){
this.preferenceName='uls-preferences';this.username=mw.user.getName();this.isAnon=mw.user.isAnon();this.preferences=null;this.init();};ULSPreferences.prototype={init:function(){if(this.isAnon){this.preferences=$.jStorage.get(this.preferenceName);}else{var options=mw.user.options.get(this.preferenceName);this.preferences=$.parseJSON(options);}this.preferences=this.preferences||{};},set:function(key,value){this.preferences[key]=value;},get:function(key){return this.preferences[key];},save:function(callback){var ulsPreferences=this;callback=callback||$.noop;if(this.isAnon){$.jStorage.set(this.preferenceName,this.preferences);callback.call(this,true);}else{saveOptionsWithToken({action:'options',optionname:ulsPreferences.preferenceName,optionvalue:$.toJSON(ulsPreferences.preferences)},function(){callback.call(this,true);},function(){callback.call(this,false);});}}};mw.uls=mw.uls||{};mw.uls.preferences=function(){var data=$('body').data('preferences');if(!data){$('body').data('preferences',(
data=new ULSPreferences()));}return data;};}(jQuery,mediaWiki));;},{},{});mw.loader.implement("ext.uls.webfonts",function(){(function($,mw,undefined){'use strict';var mediawikiFontRepository,ulsPreferences;mw.webfonts=mw.webfonts||{};ulsPreferences=mw.uls.preferences();mw.webfonts.preferences={registry:{fonts:{}},setFont:function(language,font){this.registry.fonts[language]=font;},getFont:function(language){return this.registry.fonts[language];},save:function(callback){ulsPreferences.set('webfonts',this.registry);ulsPreferences.save(callback);},load:function(){mw.webfonts.preferences.registry=$.extend(this.registry,ulsPreferences.get('webfonts'));}};mediawikiFontRepository=$.webfonts.repository;mediawikiFontRepository.base=mw.config.get('wgExtensionAssetsPath')+'/UniversalLanguageSelector/data/fontrepo/fonts/';mw.webfonts.setup=function(){$.fn.webfonts.defaults=$.extend($.fn.webfonts.defaults,{fontSelector:function(repository,language){var font;font=mw.webfonts.preferences.getFont(
language);if(!font){font=repository.defaultFont(language);}if(font==='system'){font=null;}return font;},exclude:(function(){var excludes=$.fn.webfonts.defaults.exclude;if(mw.user.options.get('editfont')!=='default'){excludes=(excludes)?excludes+',textarea':'textarea';}return excludes;}())});$('body').webfonts();};$(document).ready(function(){mw.uls.init(function(){$.extend($.fn.webfonts.defaults,{repository:mediawikiFontRepository,fontStack:$('body').css('font-family').split(/, /g),exclude:mw.config.get('wgULSNoWebfontsSelectors').join(', ')});mw.webfonts.preferences.load();mw.webfonts.setup();});});}(jQuery,mediaWiki));;},{},{});mw.loader.implement("ext.uls.webfonts.repository",function(){(function($){$.webfonts=$.webfonts||{};$.webfonts.repository={"base":"..\/data\/fontrepo\/fonts\/","languages":{"af":["system","OpenDyslexic"],"ahr":["Lohit Marathi"],"akk":["Akkadian"],"am":["AbyssinicaSIL"],"ang":["system","Junicode"],"ar":["Amiri"],"arb":["Amiri"],"arc":["Estrangelo Edessa",
"East Syriac Adiabene","SertoUrhoy"],"as":["system","Lohit Assamese"],"bh":["Lohit Devanagari"],"bho":["Lohit Devanagari"],"bk":["system","OpenDyslexic"],"bn":["Siyam Rupali","Lohit Bengali"],"bo":["Jomolhari"],"bpy":["Siyam Rupali","Lohit Bengali"],"bug":["Saweri"],"ca":["system","OpenDyslexic"],"cdo":["CharisSIL"],"cr":["OskiEast"],"cy":["system","OpenDyslexic"],"da":["system","OpenDyslexic"],"de":["system","OpenDyslexic"],"dv":["FreeFont-Thaana"],"dz":["Jomolhari"],"en":["system","OpenDyslexic"],"es":["system","OpenDyslexic"],"et":["system","OpenDyslexic"],"fa":["system","Iranian Sans","Nazli","Amiri"],"fi":["system","OpenDyslexic"],"fo":["system","OpenDyslexic"],"fr":["system","OpenDyslexic"],"fy":["system","OpenDyslexic"],"ga":["system","OpenDyslexic"],"gd":["system","OpenDyslexic"],"gl":["system","OpenDyslexic"],"gom":["Lohit Devanagari"],"grc":["system","GentiumPlus"],"gu":["Lohit Gujarati"],"hbo":["Taamey Frank CLM","Alef"],"he":["system","Alef","Miriam CLM","Taamey Frank CLM"]
,"hi":["Lohit Devanagari"],"hu":["system","OpenDyslexic"],"id":["system","OpenDyslexic"],"ii":["Nuosu SIL"],"is":["system","OpenDyslexic"],"it":["system","OpenDyslexic"],"iu":["system","OskiEast"],"jv":["system","Tuladha Jejeg"],"jv-java":["Tuladha Jejeg"],"km":["KhmerOSbattambang","KhmerOS","KhmerOSbokor","KhmerOSfasthand","KhmerOSfreehand","KhmerOSmuol","KhmerOSmuollight","KhmerOSmuolpali","KhmerOSsiemreap"],"kn":["Lohit Kannada","Gubbi"],"kok":["Lohit Devanagari"],"lb":["system","OpenDyslexic"],"li":["system","OpenDyslexic"],"lo":["Phetsarath"],"mai":["Lohit Devanagari"],"mak":["Saweri"],"mi":["system","OpenDyslexic"],"ml":["system","AnjaliOldLipi","Meera"],"mr":["Lohit Marathi"],"ms":["system","OpenDyslexic"],"my":["TharLon","Myanmar3","Padauk"],"nan":["Doulos SIL","CharisSIL"],"nb":["system","OpenDyslexic"],"ne":["Lohit Nepali","Madan"],"nl":["system","OpenDyslexic"],"oc":["system","OpenDyslexic"],"or":["Lohit Oriya","Utkal"],"pa":["Lohit Punjabi","Saab"],"pal":["Shapour"],"peo":[
"Xerxes"],"pt":["system","OpenDyslexic"],"sa":["Lohit Devanagari"],"saz":["Pagul"],"si":["system","lklug"],"sq":["system","OpenDyslexic"],"sux":["Akkadian"],"sv":["system","OpenDyslexic"],"sw":["system","OpenDyslexic"],"syc":["Estrangelo Edessa","East Syriac Adiabene","SertoUrhoy"],"ta":["system","Lohit Tamil","Lohit Tamil Classical","Thendral","Thenee"],"tcy":["Lohit Kannada","Gubbi"],"te":["Lohit Telugu"],"ti":["AbyssinicaSIL"],"tl":["system","OpenDyslexic"],"tr":["system","OpenDyslexic"],"ur":["system","NafeesWeb"],"wa":["system","OpenDyslexic"],"yi":["system","Alef"]},"fonts":{"AbyssinicaSIL":{"version":"1.200","license":"OFL 1.1","eot":"AbyssinicaSIL\/AbyssinicaSIL-R.eot","ttf":"AbyssinicaSIL\/AbyssinicaSIL-R.ttf","woff":"AbyssinicaSIL\/AbyssinicaSIL-R.woff"},"Akkadian":{"version":"2.56","license":"George-Douros","eot":"Akkadian\/Akkadian.eot","ttf":"Akkadian\/Akkadian.ttf","woff":"Akkadian\/Akkadian.woff"},"Alef":{"version":"1.0","license":"OFL 1.1","ttf":"Alef\/Alef-Regular.ttf"
,"eot":"Alef\/Alef-Regular.eot","woff":"Alef\/Alef-Regular.woff","variants":{"bold":"Alef Bold"}},"Alef Bold":{"version":"1.0","license":"OFL 1.1","fontweight":"bold","ttf":"Alef\/Alef-Bold.ttf","eot":"Alef\/Alef-Bold.eot","woff":"Alef\/Alef-Bold.woff"},"Amiri":{"version":"1.0.2","license":"OFL 1.1","ttf":"amiri\/amiri-regular.ttf","eot":"amiri\/amiri-regular.eot","woff":"amiri\/amiri-regular.woff","variants":{"bold":"Amiri Bold","bolditalic":"Amiri Bold Italic","italic":"Amiri Italic"}},"Amiri Bold":{"version":"1.0.2","license":"OFL 1.1","fontweight":"bold","ttf":"amiri\/amiri-bold.ttf","eot":"amiri\/amiri-bold.eot","woff":"amiri\/amiri-bold.woff"},"Amiri Bold Italic":{"version":"1.0.2","license":"OFL 1.1","fontweight":"bold","fontstyle":"italic","ttf":"amiri\/amiri-boldslanted.ttf","eot":"amiri\/amiri-boldslanted.eot","woff":"amiri\/amiri-boldslanted.woff"},"Amiri Italic":{"version":"1.0.2","license":"OFL 1.1","fontstyle":"italic","ttf":"amiri\/amiri-slanted.ttf","eot":
"amiri\/amiri-slanted.eot","woff":"amiri\/amiri-slanted.woff"},"AnjaliOldLipi":{"version":".0.730","license":"OFL 1.1","eot":"AnjaliOldLipi\/AnjaliOldLipi.eot","ttf":"AnjaliOldLipi\/AnjaliOldLipi.ttf","woff":"AnjaliOldLipi\/AnjaliOldLipi.woff"},"CharisSIL":{"version":"4.011","license":"OFL 1.1","eot":"CharisSIL\/CharisSIL-R.eot","ttf":"CharisSIL\/CharisSIL-R.ttf","woff":"CharisSIL\/CharisSIL-R.woff"},"Doulos SIL":{"version":"4.112","license":"OFL 1.1","eot":"DoulosSIL\/DoulosSIL-R.eot","ttf":"DoulosSIL\/DoulosSIL-R.ttf","woff":"DoulosSIL\/DoulosSIL-R.woff"},"East Syriac Adiabene":{"version":"1.21","license":"East Syriac Adiabene License","eot":"EastSyriacAdiabene\/SyrCOMAdiabene.eot","ttf":"EastSyriacAdiabene\/SyrCOMAdiabene.ttf","woff":"EastSyriacAdiabene\/SyrCOMAdiabene.woff"},"Estrangelo Edessa":{"version":"1.21","license":"Estrangelo Edessa License","eot":"EstrangeloEdessa\/SyrCOMEdessa.eot","ttf":"EstrangeloEdessa\/SyrCOMEdessa.ttf","woff":"EstrangeloEdessa\/SyrCOMEdessa.woff"},
"FreeFont-Thaana":{"version":"1.0","license":"GPL 3","ttf":"FreeFontThana\/FreeFont-Thaana.ttf","eot":"FreeFontThana\/FreeFont-Thaana.eot","woff":"FreeFontThana\/FreeFont-Thaana.woff","variants":{"bold":"FreeFont-Thaana Bold"}},"FreeFont-Thaana Bold":{"version":"1.0","license":"GPL 3","fontweight":"bold","ttf":"FreeFontThana\/FreeFont-Thaana-Bold.ttf","eot":"FreeFontThana\/FreeFont-Thaana-Bold.eot","woff":"FreeFontThana\/FreeFont-Thaana-Bold.woff"},"GentiumPlus":{"version":"1.510","license":"OFL","ttf":"GentiumPlus\/GentiumPlus-R.ttf","eot":"GentiumPlus\/GentiumPlus-R.eot","woff":"GentiumPlus\/GentiumPlus-R.woff","variants":{"italic":"GentiumPlus Italic"}},"GentiumPlus Italic":{"version":"1.510","license":"OFL","fontstyle":"italic","ttf":"GentiumPlus\/GentiumPlus-I.ttf","eot":"GentiumPlus\/GentiumPlus-I.eot","woff":"GentiumPlus\/GentiumPlus-I.woff"},"Gubbi":{"version":"1.3","license":"GPLv3+","eot":"Gubbi\/Gubbi.eot","ttf":"Gubbi\/Gubbi.ttf","woff":"Gubbi\/Gubbi.woff"},"Iranian Sans":{
"version":"1.0","license":"IranianSans","eot":"IranianSans\/IranianSans.eot","ttf":"IranianSans\/IranianSans.ttf","woff":"IranianSans\/IranianSans.woff"},"Jomolhari":{"version":"0.003","license":"OFL 1.1","eot":"Jomolhari\/Jomolhari.eot","ttf":"Jomolhari\/Jomolhari.ttf","woff":"Jomolhari\/Jomolhari.woff"},"Junicode":{"version":"2013-01-17","license":"OFL","ttf":"Junicode\/Junicode.ttf","eot":"Junicode\/Junicode.eot","woff":"Junicode\/Junicode.woff","variants":{"bold":"Junicode Bold","bolditalic":"Junicode Bold Italic","italic":"Junicode Italic"}},"Junicode Bold":{"version":"2013-01-17","license":"OFL","fontweight":"bold","ttf":"Junicode\/Junicode-Bold.ttf","eot":"Junicode\/Junicode-Bold.eot","woff":"Junicode\/Junicode-Bold.woff"},"Junicode Bold Italic":{"version":"2013-01-17","license":"OFL","fontweight":"bold","fontstyle":"italic","ttf":"Junicode\/Junicode-BoldItalic.ttf","eot":"Junicode\/Junicode-BoldItalic.eot","woff":"Junicode\/Junicode-BoldItalic.woff"},"Junicode Italic":{
"version":"2013-01-17","license":"OFL","fontstyle":"italic","ttf":"Junicode\/Junicode-Italic.ttf","eot":"Junicode\/Junicode-Italic.eot","woff":"Junicode\/Junicode-Italic.woff"},"KhmerOS":{"version":"1.10","license":"LGPL 2.1+","eot":"KhmerOS\/KhmerOS.eot","ttf":"KhmerOS\/KhmerOS.ttf","woff":"KhmerOS\/KhmerOS.woff"},"KhmerOSbattambang":{"version":"1.10","license":"LGPL 2.1+","eot":"KhmerOSbattambang\/KhmerOSbattambang.eot","ttf":"KhmerOSbattambang\/KhmerOSbattambang.ttf","woff":"KhmerOSbattambang\/KhmerOSbattambang.woff"},"KhmerOSbokor":{"version":"1.10","license":"LGPL 2.1+","eot":"KhmerOSbokor\/KhmerOSbokor.eot","ttf":"KhmerOSbokor\/KhmerOSbokor.ttf","woff":"KhmerOSbokor\/KhmerOSbokor.woff"},"KhmerOSfasthand":{"version":"1.10","license":"LGPL 2.1+","eot":"KhmerOSfasthand\/KhmerOSfasthand.eot","ttf":"KhmerOSfasthand\/KhmerOSfasthand.ttf","woff":"KhmerOSfasthand\/KhmerOSfasthand.woff"},"KhmerOSfreehand":{"version":"1.10","license":"LGPL 2.1+","eot":"KhmerOSfreehand\/KhmerOSfreehand.eot"
,"ttf":"KhmerOSfreehand\/KhmerOSfreehand.ttf","woff":"KhmerOSfreehand\/KhmerOSfreehand.woff"},"KhmerOSmuol":{"version":"1.10","license":"LGPL 2.1+","eot":"KhmerOSmuol\/KhmerOSmuol.eot","ttf":"KhmerOSmuol\/KhmerOSmuol.ttf","woff":"KhmerOSmuol\/KhmerOSmuol.woff"},"KhmerOSmuollight":{"version":"1.10","license":"LGPL 2.1+","eot":"KhmerOSmuollight\/KhmerOSmuollight.eot","ttf":"KhmerOSmuollight\/KhmerOSmuollight.ttf","woff":"KhmerOSmuollight\/KhmerOSmuollight.woff"},"KhmerOSmuolpali":{"version":"1.10","license":"LGPL 2.1+","eot":"KhmerOSmuolpali\/KhmerOSmuolpali.eot","ttf":"KhmerOSmuolpali\/KhmerOSmuolpali.ttf","woff":"KhmerOSmuolpali\/KhmerOSmuolpali.woff"},"KhmerOSsiemreap":{"version":"1.10","license":"LGPL 2.1+","eot":"KhmerOSsiemreap\/KhmerOSsiemreap.eot","ttf":"KhmerOSsiemreap\/KhmerOSsiemreap.ttf","woff":"KhmerOSsiemreap\/KhmerOSsiemreap.woff"},"Linux Libertine":{"version":"5.3.0","license":"OFL 1.1","ttf":"LinuxLibertine\/LinLibertine_Rah.ttf","eot":
"LinuxLibertine\/LinLibertine_Rah.eot","woff":"LinuxLibertine\/LinLibertine_Rah.woff","variants":{"bold":"Linux Libertine Bold","bolditalic":"Linux Libertine Bold Italic","italic":"Linux Libertine Italic"}},"Linux Libertine Bold":{"version":"5.3.0","license":"OFL 1.1","fontweight":"bold","ttf":"LinuxLibertine\/LinLibertine_RBah.ttf","eot":"LinuxLibertine\/LinLibertine_RBah.eot","woff":"LinuxLibertine\/LinLibertine_RBah.woff"},"Linux Libertine Bold Italic":{"version":"5.3.0","license":"OFL 1.1","fontweight":"bold","fontstyle":"italic","ttf":"LinuxLibertine\/LinLibertine_RBIah.ttf","eot":"LinuxLibertine\/LinLibertine_RBIah.eot","woff":"LinuxLibertine\/LinLibertine_RBIah.woff"},"Linux Libertine Italic":{"version":"5.3.0","license":"OFL 1.1","fontstyle":"italic","ttf":"LinuxLibertine\/LinLibertine_RIah.ttf","eot":"LinuxLibertine\/LinLibertine_RIah.eot","woff":"LinuxLibertine\/LinLibertine_RIah.woff"},"Lohit Assamese":{"version":"2.5.3","license":"OFL 1.1","eot":
"LohitAssamese\/Lohit-Assamese.eot","ttf":"LohitAssamese\/Lohit-Assamese.ttf","woff":"LohitAssamese\/Lohit-Assamese.woff"},"Lohit Bengali":{"version":"2.5.3","license":"OFL 1.1","eot":"LohitBengali\/Lohit-Bengali.eot","ttf":"LohitBengali\/Lohit-Bengali.ttf","woff":"LohitBengali\/Lohit-Bengali.woff"},"Lohit Devanagari":{"version":"2.5.3","license":"OFL 1.1","eot":"LohitDevanagari\/Lohit-Devanagari.eot","ttf":"LohitDevanagari\/Lohit-Devanagari.ttf","woff":"LohitDevanagari\/Lohit-Devanagari.woff"},"Lohit Gujarati":{"version":"2.5.3","license":"OFL 1.1","eot":"LohitGujarati\/Lohit-Gujarati.eot","ttf":"LohitGujarati\/Lohit-Gujarati.ttf","woff":"LohitGujarati\/Lohit-Gujarati.woff"},"Lohit Kannada":{"version":"2.5.3","license":"OFL 1.1","eot":"LohitKannada\/Lohit-Kannada.eot","ttf":"LohitKannada\/Lohit-Kannada.ttf","woff":"LohitKannada\/Lohit-Kannada.woff"},"Lohit Marathi":{"version":"2.5.3","license":"OFL 1.1","eot":"LohitMarathi\/Lohit-Marathi.eot","ttf":"LohitMarathi\/Lohit-Marathi.ttf",
"woff":"LohitMarathi\/Lohit-Marathi.woff"},"Lohit Nepali":{"version":"2.5.3","license":"OFL 1.1","eot":"LohitNepali\/Lohit-Nepali.eot","ttf":"LohitNepali\/Lohit-Nepali.ttf","woff":"LohitNepali\/Lohit-Nepali.woff"},"Lohit Oriya":{"version":"2.5.3","license":"OFL 1.1","eot":"LohitOriya\/Lohit-Oriya.eot","ttf":"LohitOriya\/Lohit-Oriya.ttf","woff":"LohitOriya\/Lohit-Oriya.woff"},"Lohit Punjabi":{"version":"2.5.3","license":"OFL 1.1","eot":"LohitPunjabi\/Lohit-Punjabi.eot","ttf":"LohitPunjabi\/Lohit-Punjabi.ttf","woff":"LohitPunjabi\/Lohit-Punjabi.woff"},"Lohit Tamil":{"version":"2.5.3","license":"OFL 1.1","eot":"LohitTamil\/Lohit-Tamil.eot","ttf":"LohitTamil\/Lohit-Tamil.ttf","woff":"LohitTamil\/Lohit-Tamil.woff"},"Lohit Tamil Classical":{"version":"2.5.3","license":"OFL 1.1","eot":"LohitTamilClassical\/Lohit-Tamil-Classical.eot","ttf":"LohitTamilClassical\/Lohit-Tamil-Classical.ttf","woff":"LohitTamilClassical\/Lohit-Tamil-Classical.woff"},"Lohit Telugu":{"version":"2.5.3","license":
"OFL 1.1","eot":"LohitTelugu\/Lohit-Telugu.eot","ttf":"LohitTelugu\/Lohit-Telugu.ttf","woff":"LohitTelugu\/Lohit-Telugu.woff"},"Madan":{"version":"2","license":"GPL","eot":"madan\/madan.eot","ttf":"madan\/madan.ttf","woff":"madan\/madan.woff"},"Meera":{"version":"5.0.1","license":"GPL 3+ with exceptions","eot":"Meera\/Meera.eot","ttf":"Meera\/Meera.ttf","woff":"Meera\/Meera.woff"},"Miriam CLM":{"version":"0.105","license":"GPL2+","eot":"MiriamCLM\/MiriamCLM-Book.eot","ttf":"MiriamCLM\/MiriamCLM-Book.ttf","woff":"MiriamCLM\/MiriamCLM-Book.woff"},"Myanmar3":{"version":"3.0","license":"LGPL 2.1+","eot":"Myanmar3\/Myanmar3.eot","ttf":"Myanmar3\/Myanmar3.ttf","woff":"Myanmar3\/Myanmar3.woff"},"NafeesWeb":{"version":"1.2","license":"GPL-2","eot":"NafeesWeb\/NafeesWeb.eot","ttf":"NafeesWeb\/NafeesWeb.ttf","woff":"NafeesWeb\/NafeesWeb.woff"},"Nazli":{"version":"0.4","license":"GPL-2","eot":"Nazli\/Nazli.eot","ttf":"Nazli\/Nazli.ttf","woff":"Nazli\/Nazli.woff"},"Nuosu SIL":{"version":"2.1.1",
"license":"OFL","ttf":"NuosuSIL\/NuosuSIL.ttf","eot":"NuosuSIL\/NuosuSIL.eot","woff":"NuosuSIL\/NuosuSIL.woff"},"OpenDyslexic":{"version":"0.6","license":"Creative Commons Attribution 3.0 Unported License","ttf":"OpenDyslexic\/opendyslexic.ttf","eot":"OpenDyslexic\/opendyslexic.eot","woff":"OpenDyslexic\/opendyslexic.woff","variants":{"bold":"OpenDyslexic Bold","italic":"OpenDyslexic Italic"}},"OpenDyslexic Bold":{"version":"0.6","license":"Creative Commons Attribution 3.0 Unported License","fontweight":"bold","ttf":"OpenDyslexic\/opendyslexic-bold.ttf","eot":"OpenDyslexic\/opendyslexic-bold.eot","woff":"OpenDyslexic\/opendyslexic-bold.woff"},"OpenDyslexic Italic":{"version":"0.6","license":"Creative Commons Attribution 3.0 Unported License","fontstyle":"italic","ttf":"OpenDyslexic\/opendyslexic-italic.ttf","eot":"OpenDyslexic\/opendyslexic-italic.eot","woff":"OpenDyslexic\/opendyslexic-italic.woff"},"OskiEast":{"version":"2.200","license":"GPL-3","ttf":"OskiEast\/oskie.ttf","eot":
"OskiEast\/oskie.eot","woff":"OskiEast\/oskie.woff","variants":{"bold":"OskiEast Bold","bolditalic":"OskiEast Bold Italic","italic":"OskiEast Italic"}},"OskiEast Bold":{"version":"2.200","license":"GPL-3","fontweight":"bold","ttf":"OskiEast\/oskiebold.ttf","eot":"OskiEast\/oskiebold.eot","woff":"OskiEast\/oskiebold.woff"},"OskiEast Bold Italic":{"version":"2.200","license":"GPL-3","fontweight":"bold","fontstyle":"italic","ttf":"OskiEast\/oskiebolditalic.ttf","eot":"OskiEast\/oskiebolditalic.eot","woff":"OskiEast\/oskiebolditalic.woff"},"OskiEast Italic":{"version":"2.200","license":"GPL-3","fontstyle":"italic","ttf":"OskiEast\/oskieitalic.ttf","eot":"OskiEast\/oskieitalic.eot","woff":"OskiEast\/oskieitalic.woff"},"Padauk":{"version":"2.8","license":"OFL 1.1","eot":"Padauk\/Padauk-Regular.eot","ttf":"Padauk\/Padauk-Regular.ttf","woff":"Padauk\/Padauk-Regular.woff"},"Pagul":{"version":"1.0","license":"GPL 3 with exceptions","eot":"Pagul\/Pagul.eot","ttf":"Pagul\/Pagul.ttf","woff":
"Pagul\/Pagul.woff"},"Phetsarath":{"version":"1.01","license":"OFL","ttf":"Phetsarath\/Phetsarath-Regular.ttf","eot":"Phetsarath\/Phetsarath-Regular.eot","woff":"Phetsarath\/Phetsarath-Regular.woff","variants":{"bold":"Phetsarath-Bold"}},"Phetsarath-Bold":{"version":"1.01","license":"OFL","fontweight":"bold","ttf":"Phetsarath\/Phetsarath-Bold.ttf","eot":"Phetsarath\/Phetsarath-Bold.eot","woff":"Phetsarath\/Phetsarath-Bold.woff"},"Saab":{"version":"0.91","license":"GPLv2+ with exceptions","eot":"Saab\/Saab.eot","ttf":"Saab\/Saab.ttf","woff":"Saab\/Saab.woff"},"Saweri":{"version":"2","license":"GPL3","eot":"saweri\/saweri.eot","ttf":"saweri\/saweri.ttf","woff":"saweri\/saweri.woff"},"SertoUrhoy":{"version":"1.20","license":"SertoUrhoy License","eot":"SertoUrhoy\/SyrCOMUrhoy.eot","ttf":"SertoUrhoy\/SyrCOMUrhoy.ttf","woff":"SertoUrhoy\/SyrCOMUrhoy.woff"},"Shapour":{"version":"001.000","license":"GNU GPL","eot":"Shapour\/Shapour.eot","ttf":"Shapour\/Shapour.ttf","woff":
"Shapour\/Shapour.woff"},"Siyam Rupali":{"version":"1.070","license":"GPL3","eot":"SiyamRupali\/SiyamRupali.eot","ttf":"SiyamRupali\/SiyamRupali.ttf","woff":"SiyamRupali\/SiyamRupali.woff"},"Taamey Frank CLM":{"version":"0.110","license":"GPL2+","eot":"TaameyFrankCLM\/TaameyFrankCLM.eot","ttf":"TaameyFrankCLM\/TaameyFrankCLM.ttf","woff":"TaameyFrankCLM\/TaameyFrankCLM.woff"},"TharLon":{"version":"1.0","license":"OFL 1.1","eot":"TharLon\/TharLon.eot","ttf":"TharLon\/TharLon.ttf","woff":"TharLon\/TharLon.woff"},"Thendral":{"version":"1.0","license":"GPL 2","eot":"Thendral\/ThendralUni.eot","ttf":"Thendral\/ThendralUni.ttf","woff":"Thendral\/ThendralUni.woff"},"Thenee":{"version":"1.0","license":"GPL 2","eot":"Thenee\/TheneeUni.eot","ttf":"Thenee\/TheneeUni.ttf","woff":"Thenee\/TheneeUni.woff"},"Tuladha Jejeg":{"version":"2.0.1","license":"OFL 1.1","eot":"TuladhaJejeg\/TuladhaJejeg_gr.eot","ttf":"TuladhaJejeg\/TuladhaJejeg_gr.ttf","woff":"TuladhaJejeg\/TuladhaJejeg_gr.woff"},
"UnifrakturMaguntia":{"version":"2012-10-19","license":"OFL 1.1","ttf":"UnifrakturMaguntia\/UnifrakturMaguntia.ttf","eot":"UnifrakturMaguntia\/UnifrakturMaguntia.eot","woff":"UnifrakturMaguntia\/UnifrakturMaguntia.woff"},"Utkal":{"version":"0.13","license":"GPL","eot":"utkal\/utkal.eot","ttf":"utkal\/utkal.ttf","woff":"utkal\/utkal.woff"},"Xerxes":{"version":"1.301","license":"Xerxes","eot":"Xerxes\/Xerxes.eot","ttf":"Xerxes\/Xerxes.ttf","woff":"Xerxes\/Xerxes.woff"},"lklug":{"version":"0.6","license":"GPL-2","ttf":"lklug\/lklug.ttf","eot":"lklug\/lklug.eot","woff":"lklug\/lklug.woff"}}};}(jQuery));;},{},{});mw.loader.implement("ext.visualEditor.viewPageTarget.init",function(){(function(){var conf,tabMessages,uri,pageExists,viewUri,veEditUri,isViewPage,init,support,getTargetDeferred,userPrefEnabled,plugins=[];function getTarget(){var loadTargetDeferred;if(!getTargetDeferred){getTargetDeferred=$.Deferred();loadTargetDeferred=$.Deferred().done(function(){var target=new ve.init.mw.
ViewPageTarget();ve.init.mw.targets.push(target);ve.init.mw.ViewPageTarget.prototype.setupSectionEditLinks=init.setupSectionLinks;target.addPlugins(plugins);getTargetDeferred.resolve(target);}).fail(getTargetDeferred.reject);mw.loader.using('ext.visualEditor.viewPageTarget',loadTargetDeferred.resolve,loadTargetDeferred.reject);}return getTargetDeferred.promise();}conf=mw.config.get('wgVisualEditorConfig');tabMessages=conf.tabMessages;uri=new mw.Uri();pageExists=!!mw.config.get('wgArticleId')||mw.config.get('wgNamespaceNumber')<0;viewUri=new mw.Uri(mw.util.wikiGetlink(mw.config.get('wgRelevantPageName')));veEditUri=viewUri.clone().extend({'veaction':'edit'});isViewPage=(mw.config.get('wgIsArticle')&&!('diff'in uri.query));support={es5:!!(Array.isArray&&Array.prototype.filter&&Array.prototype.indexOf&&Array.prototype.map&&Date.now&&Date.prototype.toJSON&&Function.prototype.bind&&Object.create&&Object.keys&&String.prototype.trim&&window.JSON&&JSON.parse&&JSON.stringify),contentEditable:
'contentEditable'in document.createElement('div')};init={support:support,blacklist:{'msie':[['<=',10]],'android':[['<',3]],'firefox':[['<=',14]],'opera':[['<',12]],'blackberry':null},addPlugin:function(plugin){plugins.push(plugin);},setupSkin:function(){init.setupTabs();init.setupSectionLinks();},setupTabs:function(){var caVeEdit,action=pageExists?'edit':'create',pTabsId=$('#p-views').length?'p-views':'p-cactions',$caSource=$('#ca-viewsource'),$caEdit=$('#ca-edit'),$caVeEdit=$('#ca-ve-edit'),$caEditLink=$caEdit.find('a'),$caVeEditLink=$caVeEdit.find('a'),reverseTabOrder=$('body').hasClass('rtl')&&pTabsId==='p-views',caVeEditNextnode=(reverseTabOrder^conf.tabPosition==='before')?$caEdit.get(0):$caEdit.next().get(0);if(!$caVeEdit.length){if($caEdit.length&&!$caSource.length){caVeEdit=mw.util.addPortletLink(pTabsId,veEditUri,tabMessages[action]!==null?mw.msg(tabMessages[action]):$caEditLink.text(),'ca-ve-edit',mw.msg('tooltip-ca-ve-edit'),mw.msg('accesskey-ca-ve-edit'),caVeEditNextnode);
$caVeEdit=$(caVeEdit);$caVeEditLink=$caVeEdit.find('a');}}else{if(reverseTabOrder^conf.tabPosition==='before'){if($caEdit[0].nextSibling===$caVeEdit[0]){$caVeEdit.after($caEdit);}}else{if($caVeEdit[0].nextSibling===$caEdit[0]){$caEdit.after($caVeEdit);}}if(tabMessages[action]!==null){$caVeEditLink.text(mw.msg(tabMessages[action]));}}if(tabMessages[action+'source']!==null){$caEditLink.text(mw.msg(tabMessages[action+'source']));}if(tabMessages[action+'appendix']!==null){$caVeEditLink.append($('').addClass('ve-tabmessage-appendix').text(mw.msg(tabMessages[action+'appendix'])));}if(tabMessages[action+'sourceappendix']!==null){$caEditLink.append($('').addClass('ve-tabmessage-appendix').text(mw.msg(tabMessages[action+'sourceappendix'])));}if(isViewPage){$caVeEdit.click(init.onEditTabClick);}},setupSectionLinks:function(){var $editsections=$('#mw-content-text .mw-editsection');$editsections.css('direction',$('body').css('direction'));if($editsections.find(
'.mw-editsection-visualeditor').length===0){$editsections.each(function(){var $editsection=$(this),$editSourceLink=$editsection.find('a').eq(0),$editLink=$editSourceLink.clone(),$divider=$(''),dividerText=mw.msg('pipe-separator');if(tabMessages.editsectionsource!==null){$editSourceLink.text(mw.msg(tabMessages.editsectionsource));}if(tabMessages.editsection!==null){$editLink.text(mw.msg(tabMessages.editsection));}$divider.addClass('mw-editsection-divider').text(dividerText);$editLink.attr('href',function(i,val){return new mw.Uri(veEditUri).extend({'vesection':new mw.Uri(val).query.section});}).addClass('mw-editsection-visualeditor');if(conf.tabPosition==='before'){$editSourceLink.before($editLink,$divider);}else{$editSourceLink.after($divider,$editLink);}});}if(tabMessages.editsectionappendix){$editsections.find('.mw-editsection-visualeditor').append($('').addClass('ve-tabmessage-appendix').text(mw.msg(tabMessages.editsectionappendix)));}if(tabMessages.
editsectionsourceappendix){$editsections.find('a:not(.mw-editsection-visualeditor)').append($('').addClass('ve-tabmessage-appendix').text(mw.msg(tabMessages.editsectionsourceappendix)));}if(isViewPage){$editsections.addClass('mw-editsection-expanded').find('.mw-editsection-visualeditor').click(init.onEditSectionLinkClick);}},onEditTabClick:function(e){if((e.which&&e.which!==1)||e.shiftKey||e.altKey||e.ctrlKey||e.metaKey){return;}e.preventDefault();getTarget().done(function(target){ve.track('Edit',{action:'edit-link-click'});target.activate();});},onEditSectionLinkClick:function(e){if((e.which&&e.which!==1)||e.shiftKey||e.altKey||e.ctrlKey||e.metaKey){return;}e.preventDefault();getTarget().done(function(target){ve.track('Edit',{action:'section-edit-link-click'});target.saveEditSection($(e.target).closest('h1, h2, h3, h4, h5, h6').get(0));target.activate();});}};support.visualEditor=support.es5&&support.contentEditable&&(('vewhitelist'in uri.query)||!$.client.test(init.blacklist,
null,true));userPrefEnabled=(!(conf.disableForAnons&&mw.config.get('wgUserName')===null)&&(mw.config.get('wgUserName')===null?(conf.defaultUserOptions.enable&&!conf.defaultUserOptions.betatempdisable):(mw.user.options.get('visualeditor-enable',conf.defaultUserOptions.enable)&&!mw.user.options.get('visualeditor-betatempdisable',conf.defaultUserOptions.betatempdisable))));init.isAvailable=(support.visualEditor&&userPrefEnabled&&!mw.config.get('wgIsRedirect',!!uri.query.redirect)&&$.inArray(mw.config.get('skin'),conf.skins)!==-1&&$.inArray(new mw.Title(mw.config.get('wgRelevantPageName')).getNamespaceId(),conf.namespaces)!==-1&&mw.config.get('wgPageContentModel')==='wikitext');mw.libs.ve=init;if(init.isAvailable){$('html').addClass('ve-available');}else{$('html').addClass('ve-not-available');}if(!userPrefEnabled){return;}$(function(){if(init.isAvailable&&isViewPage){if(uri.query.veaction==='edit'){getTarget().done(function(target){target.activate();});}}init.setupSkin();});}());;},{"css":
[".mw-editsection{white-space:nowrap;padding-right:0.25em; unicode-bidi:-moz-isolate;unicode-bidi:-webkit-isolate;unicode-bidi:isolate}.mw-editsection-divider{color:#555} .mw-content-ltr .mw-editsection-expanded .mw-editsection-bracket:first-of-type,.mw-content-rtl .mw-editsection-expanded .mw-editsection-bracket:not(:first-of-type){margin-left:-0.25em;margin-right:0.25em;color:#555} .mw-content-rtl .mw-editsection-expanded .mw-editsection-bracket:first-of-type,.mw-content-ltr .mw-editsection-expanded .mw-editsection-bracket:not(:first-of-type){margin-right:-0.25em;margin-left:0.25em;color:#555}.ve-tabmessage-appendix{font-size:0.7em;vertical-align:top;line-height:1.43em;padding-left:0.5em; background-image:none !important;display:inline !important}\n/* cache key: enwiki:resourceloader:filter:minify-css:7:542a80e9a1c6a06bda7dfcbb6858ab0f */"]},{"accesskey-ca-editsource":"e","accesskey-ca-ve-edit":"v","pipe-separator":"\u00a0| ","tooltip-ca-createsource":
"Create the source code of this page","tooltip-ca-editsource":"Edit the source code of this page","tooltip-ca-ve-edit":"Edit this page with VisualEditor","visualeditor-ca-editsource-section":"edit source","visualeditor-ca-editsource":"Edit source","visualeditor-ca-createsource":"Create source","visualeditor-beta-appendix":"beta"});mw.loader.implement("ext.wikimediaShopLink.core",function(){jQuery(document).ready(function($){'use strict';var userCountry=window.Geo&&window.Geo.country,shopCountries=mw.config.get('wmfshopLinkCountries',[]),hasNavPortal=$('#p-navigation').length;if(hasNavPortal&&$.inArray(userCountry,shopCountries)!==-1){mw.util.addPortletLink('p-navigation',mw.config.get('wmfshopLinkTarget'),mw.msg('wikimediashoplink-linktext'),'n-shoplink',mw.msg('wikimediashoplink-link-tooltip'));}});;},{},{"wikimediashoplink-linktext":"Wikimedia Shop","wikimediashoplink-link-tooltip":"Visit the Wikimedia Shop"});mw.loader.implement("jquery.client",function(){(function($){var
profileCache={};$.client={profile:function(nav){if(nav===undefined){nav=window.navigator;}if(profileCache[nav.userAgent]===undefined){var versionNumber,uk='unknown',x='x',wildUserAgents=['Opera','Navigator','Minefield','KHTML','Chrome','PLAYSTATION 3','Iceweasel'],userAgentTranslations=[[/(Firefox|MSIE|KHTML,?\slike\sGecko|Konqueror)/,''],['Chrome Safari','Chrome'],['KHTML','Konqueror'],['Minefield','Firefox'],['Navigator','Netscape'],['PLAYSTATION 3','PS3']],versionPrefixes=['camino','chrome','firefox','iceweasel','netscape','netscape6','opera','version','konqueror','lynx','msie','safari','ps3','android'],versionSuffix='(\\/|\\;?\\s|)([a-z0-9\\.\\+]*?)(\\;|dev|rel|\\)|\\s|$)',names=['camino','chrome','firefox','iceweasel','netscape','konqueror','lynx','msie','opera','safari','ipod','iphone','blackberry','ps3','rekonq','android'],nameTranslations=[],layouts=['gecko','konqueror','msie','trident','opera','webkit'],layoutTranslations=[['konqueror','khtml'],['msie','trident'],['opera',
'presto']],layoutVersions=['applewebkit','gecko','trident'],platforms=['win','wow64','mac','linux','sunos','solaris','iphone'],platformTranslations=[['sunos','solaris'],['wow64','win']],translate=function(source,translations){var i;for(i=0;i400){version='2.0';}if(name==='opera'&&version>=9.8){match=ua.match(/\bversion\/([0-9\.]*)/);if(match&&match[1]){version=match[1];}else{version='10';}}if(name==='chrome'&&(match=ua.match(/\bopr\/([0-9\.]*)/))){if(match[1]){name='opera';version=match[1];}}if(layout==='trident'&&layoutversion>=7&&(match=ua.match(/\brv[ :\/]([0-9\.]*)/))){if(match[1]){name='msie';version=match[1];}}versionNumber=parseFloat(version,10)||0.0;profileCache[nav.userAgent]={name:name,layout:layout,layoutVersion:layoutversion,platform:platform,version:version,versionBase:(version!==x?Math.floor(versionNumber).toString():x),versionNumber:versionNumber};}return profileCache[nav.userAgent];},test:function(map,profile,exactMatchOnly){var conditions,dir,i,op,val;profile=$.isPlainObject(profile)?profile:$.client.profile();if(map.ltr&&map.rtl){dir=$('body').is('.rtl')?'rtl':'ltr';map=map[dir];}if(
typeof map!=='object'||map[profile.name]===undefined){return!exactMatchOnly;}conditions=map[profile.name];if(conditions===false){return false;}if(conditions===null){return true;}for(i=0;i1&&(!/Object/.test(Object.prototype.toString.call(value))||value===null||value===undefined)){options=$.extend({},options);if(value===null||value===undefined){options.expires=-1;}if(typeof options.expires==='number'){var days=options.expires,t=options.expires=new Date();t.setDate(t.getDate()+days);}value=String(value);return(document.cookie=[encodeURIComponent(key),'=',options.raw?value:encodeURIComponent(value),
options.expires?'; expires='+options.expires.toUTCString():'',options.path?'; path='+options.path:'',options.domain?'; domain='+options.domain:'',options.secure?'; secure':''].join(''));}options=value||{};var decode=options.raw?function(s){return s;}:decodeURIComponent;var pairs=document.cookie.split('; ');for(var i=0,pair;pair=pairs[i]&&pairs[i].split('=');i++){if(decode(pair[0])===key)return decode(pair[1]||'');}return null;};})(jQuery);;},{},{});mw.loader.implement("jquery.delayedBind",function(){(function($){function encodeEvent(event){return event.replace(/-/g,'--').replace(/ /g,'-');}$.fn.extend({delayedBind:function(timeout,event,data,callback){if(arguments.length===3){callback=data;data=undefined;}var encEvent=encodeEvent(event);return this.each(function(){var that=this;if(!($(this).data('_delayedBindBound-'+encEvent+'-'+timeout))){$(this).data('_delayedBindBound-'+encEvent+'-'+timeout,true);$(this).bind(event,function(){var timerID=$(this).data('_delayedBindTimerID-'+encEvent+
'-'+timeout);if(timerID!==null){clearTimeout(timerID);}timerID=setTimeout(function(){$(that).trigger('_delayedBind-'+encEvent+'-'+timeout);},timeout);$(this).data('_delayedBindTimerID-'+encEvent+'-'+timeout,timerID);});}$(this).bind('_delayedBind-'+encEvent+'-'+timeout,data,callback);});},delayedBindCancel:function(timeout,event){var encEvent=encodeEvent(event);return this.each(function(){var timerID=$(this).data('_delayedBindTimerID-'+encEvent+'-'+timeout);if(timerID!==null){clearTimeout(timerID);}});},delayedBindUnbind:function(timeout,event,callback){var encEvent=encodeEvent(event);return this.each(function(){$(this).unbind('_delayedBind-'+encEvent+'-'+timeout,callback);});}});}(jQuery));;},{},{});mw.loader.implement("jquery.i18n",function(){(function($){'use strict';var nav,I18N,slice=Array.prototype.slice;I18N=function(options){this.options=$.extend({},I18N.defaults,options);this.parser=this.options.parser;this.locale=this.options.locale;this.messageStore=this.options.messageStore
;this.languages={};this.init();};I18N.prototype={init:function(){var i18n;i18n=this;String.locale=i18n.locale;String.prototype.toLocaleString=function(){var localeParts,localePartIndex,value,locale,fallbackIndex,_locale,message;value=this.valueOf();locale=i18n.locale;fallbackIndex=0;while(locale){localeParts=locale.toLowerCase().split('-');localePartIndex=localeParts.length;do{_locale=localeParts.slice(0,localePartIndex).join('-');message=i18n.messageStore.get(_locale,value);if(message){return message;}localePartIndex--;}while(localePartIndex);if(locale==='en'){break;}locale=($.i18n.fallbacks[i18n.locale]&&$.i18n.fallbacks[i18n.locale][fallbackIndex])||i18n.options.fallbackLocale;$.i18n.log('Trying fallback locale for '+i18n.locale+': '+locale);fallbackIndex++;}return'';};},destroy:function(){$.removeData(document,'i18n');},load:function(source,locale){return this.messageStore.load(source,locale);},parse:function(key,parameters){var message=key.toLocaleString();this.parser.language=$.
i18n.languages[$.i18n().locale]||$.i18n.languages['default'];if(message===''){message=key;}return this.parser.parse(message,parameters);}};$.i18n=function(key,param1){var parameters,i18n=$.data(document,'i18n'),options=typeof key==='object'&&key;if(options&&options.locale&&i18n&&i18n.locale!==options.locale){String.locale=i18n.locale=options.locale;}if(!i18n){i18n=new I18N(options);$.data(document,'i18n',i18n);}if(typeof key==='string'){if(param1!==undefined){parameters=slice.call(arguments,1);}else{parameters=[];}return i18n.parse(key,parameters);}else{return i18n;}};$.fn.i18n=function(){var i18n=$.data(document,'i18n');String.locale=i18n.locale;if(!i18n){i18n=new I18N();$.data(document,'i18n',i18n);}return this.each(function(){var $this=$(this),messageKey=$this.data('i18n');if(messageKey){$this.text(i18n.parse(messageKey));}else{$this.find('[data-i18n]').i18n();}});};String.locale=String.locale||$('html').attr('lang');if(!String.locale){if(typeof window.navigator!==undefined){nav=
window.navigator;String.locale=nav.language||nav.userLanguage||'';}else{String.locale='';}}$.i18n.languages={};$.i18n.messageStore=$.i18n.messageStore||{};$.i18n.parser={parse:function(message,parameters){return message.replace(/\$(\d+)/g,function(str,match){var index=parseInt(match,10)-1;return parameters[index]!==undefined?parameters[index]:'$'+match;});},emitter:{}};$.i18n.debug=false;$.i18n.log=function(){if(window.console&&$.i18n.debug){window.console.log.apply(window.console,arguments);}};I18N.defaults={locale:String.locale,fallbackLocale:'en',parser:$.i18n.parser,messageStore:$.i18n.messageStore};$.i18n.constructor=I18N;}(jQuery));(function($,window,undefined){'use strict';var MessageStore=function(){this.messages={};this.sources={};};MessageStore.prototype={load:function(source,locale){var key=null,deferred=null,deferreds=[],messageStore=this;if(typeof source==='string'){$.i18n.log('Loading messages from: '+source);deferred=jsonMessageLoader(source).done(function(localization){
messageStore.set(locale,localization);});return deferred.promise();}if(locale){messageStore.set(locale,source);return $.Deferred().resolve();}else{for(key in source){if(Object.prototype.hasOwnProperty.call(source,key)){locale=key;deferreds.push(messageStore.load(source[key],locale));}}return $.when.apply($,deferreds);}},set:function(locale,messages){this.messages[locale]=messages;},get:function(locale,messageKey){return this.messages[locale]&&this.messages[locale][messageKey];}};function jsonMessageLoader(url){return $.getJSON(url).fail(function(jqxhr,settings,exception){$.i18n.log('Error in loading messages from '+url+' Exception: '+exception);});}$.extend($.i18n.messageStore,new MessageStore());}(jQuery,window));(function($){'use strict';var MessageParser=function(options){this.options=$.extend({},$.i18n.parser.defaults,options);this.language=$.i18n.languages[String.locale]||$.i18n.languages['default'];this.emitter=$.i18n.parser.emitter;};MessageParser.prototype={constructor:
MessageParser,simpleParse:function(message,parameters){return message.replace(/\$(\d+)/g,function(str,match){var index=parseInt(match,10)-1;return parameters[index]!==undefined?parameters[index]:'$'+match;});},parse:function(message,replacements){if(message.indexOf('{{')<0){return this.simpleParse(message,replacements);}this.emitter.language=$.i18n.languages[$.i18n().locale]||$.i18n.languages['default'];return this.emitter.emit(this.ast(message),replacements);},ast:function(message){var pipe,colon,backslash,anyCharacter,dollar,digits,regularLiteral,regularLiteralWithoutBar,regularLiteralWithoutSpace,escapedOrLiteralWithoutBar,escapedOrRegularLiteral,templateContents,templateName,openTemplate,closeTemplate,expression,paramExpression,result,pos=0;function choice(parserSyntax){return function(){var i,result;for(i=0;i1?['CONCAT'].concat(expr):expr[0];}function templateWithReplacement(){var result=sequence([templateName,colon,replacement]);return result===null?null:[result[0],result[2]];}function templateWithOutReplacement(){var result=sequence([templateName,colon,paramExpression]);return result===null?null:[result[0],result[2]];}templateContents=choice([function(){var res=sequence([choice([templateWithReplacement,templateWithOutReplacement]),nOrMore(0,templateParam)]);return res===null?null:res[0].concat(res[1]);},function(){var res=sequence([templateName,nOrMore(0,templateParam)]);if(res===null){return null;}return[res[0]].concat(res[1]);}]);openTemplate=makeStringParser('{{');closeTemplate=makeStringParser('}}');function template(){var result=sequence([openTemplate,templateContents,closeTemplate]);return result===null?null:result[1];}expression=choice([template,replacement,literal]);paramExpression=choice([template,replacement,literalWithoutBar
]);function start(){var result=nOrMore(0,expression)();if(result===null){return null;}return['CONCAT'].concat(result);}result=start();if(result===null||pos!==message.length){throw new Error('Parse error at position '+pos.toString()+' in input: '+message);}return result;}};$.extend($.i18n.parser,new MessageParser());}(jQuery));(function($){'use strict';var MessageParserEmitter=function(){this.language=$.i18n.languages[String.locale]||$.i18n.languages['default'];};MessageParserEmitter.prototype={constructor:MessageParserEmitter,emit:function(node,replacements){var ret,subnodes,operation,messageParserEmitter=this;switch(typeof node){case'string':case'number':ret=node;break;case'object':subnodes=$.map(node.slice(1),function(n){return messageParserEmitter.emit(n,replacements);});operation=node[0].toLowerCase();if(typeof messageParserEmitter[operation]==='function'){ret=messageParserEmitter[operation](subnodes,replacements);}else{throw new Error('unknown operation "'+operation+'"');}break;
case'undefined':ret='';break;default:throw new Error('unexpected type in AST: '+typeof node);}return ret;},concat:function(nodes){var result='';$.each(nodes,function(i,node){result+=node;});return result;},replace:function(nodes,replacements){var index=parseInt(nodes[0],10);if(index=0;i--){pubelm=_storage.__jstorage_meta.PubSub[i];if(pubelm[0]>_pubsub_last){_pubsubCurrent=pubelm[0];_fireSubscribers(pubelm[1],pubelm[2]);}}_pubsub_last=_pubsubCurrent;}function _fireSubscribers(channel,payload){if(_pubsub_observers[channel]){for(var i=0,len=_pubsub_observers[channel].length;i>>8)^x;}return crc^(-1);}$.jStorage={version:JSTORAGE_VERSION,set:function(key,value,options){_checkKey(key);options=options||{};if(typeof value=="undefined"){this.deleteKey(key);return value;}if(_XMLService.isXML(value)){value={_is_xml:true,xml:_XMLService.encode(value)};}else if(typeof value==
"function"){return undefined;}else if(value&&typeof value=="object"){value=JSON.parse(JSON.stringify(value));}_storage[key]=value;_storage.__jstorage_meta.CRC32[key]=_crc32(JSON.stringify(value));this.setTTL(key,options.TTL||0);_localStoragePolyfillSetKey(key,value);_fireObservers(key,"updated");return value;},get:function(key,def){_checkKey(key);if(key in _storage){if(_storage[key]&&typeof _storage[key]=="object"&&_storage[key]._is_xml&&_storage[key]._is_xml){return _XMLService.decode(_storage[key].xml);}else{return _storage[key];}}return typeof(def)=='undefined'?null:def;},deleteKey:function(key){_checkKey(key);if(key in _storage){delete _storage[key];if(typeof _storage.__jstorage_meta.TTL=="object"&&key in _storage.__jstorage_meta.TTL){delete _storage.__jstorage_meta.TTL[key];}delete _storage.__jstorage_meta.CRC32[key];_localStoragePolyfillSetKey(key,undefined);_save();_publishChange();_fireObservers(key,"deleted");return true;}return false;},setTTL:function(key,ttl){var curtime=+
new Date();_checkKey(key);ttl=Number(ttl)||0;if(key in _storage){if(!_storage.__jstorage_meta.TTL){_storage.__jstorage_meta.TTL={};}if(ttl>0){_storage.__jstorage_meta.TTL[key]=curtime+ttl;}else{delete _storage.__jstorage_meta.TTL[key];}_save();_handleTTL();_publishChange();return true;}return false;},getTTL:function(key){var curtime=+new Date(),ttl;_checkKey(key);if(key in _storage&&_storage.__jstorage_meta.TTL&&_storage.__jstorage_meta.TTL[key]){ttl=_storage.__jstorage_meta.TTL[key]-curtime;return ttl||0;}return 0;},flush:function(){_storage={__jstorage_meta:{CRC32:{}}};_createPolyfillStorage("local",true);_save();_publishChange();_fireObservers(null,"flushed");return true;},storageObj:function(){function F(){}F.prototype=_storage;return new F();},index:function(){var index=[],i;for(i in _storage){if(_storage.hasOwnProperty(i)&&i!="__jstorage_meta"){index.push(i);}}return index;},storageSize:function(){return _storage_size;},currentBackend:function(){return _backend;},storageAvailable
:function(){return!!_backend;},listenKeyChange:function(key,callback){_checkKey(key);if(!_observers[key]){_observers[key]=[];}_observers[key].push(callback);},stopListening:function(key,callback){_checkKey(key);if(!_observers[key]){return;}if(!callback){delete _observers[key];return;}for(var i=_observers[key].length-1;i>=0;i--){if(_observers[key][i]==callback){_observers[key].splice(i,1);}}},subscribe:function(channel,callback){channel=(channel||"").toString();if(!channel){throw new TypeError('Channel not defined');}if(!_pubsub_observers[channel]){_pubsub_observers[channel]=[];}_pubsub_observers[channel].push(callback);},publish:function(channel,payload){channel=(channel||"").toString();if(!channel){throw new TypeError('Channel not defined');}_publish(channel,payload);},reInit:function(){_reloadData();}};_init();})();;},{},{});mw.loader.implement("jquery.json",function(){(function($){'use strict';var escape=/["\\\x00-\x1f\x7f-\x9f]/g,meta={'\b':'\\b','\t':'\\t','\n':'\\n','\f':'\\f',
'\r':'\\r','"':'\\"','\\':'\\\\'},hasOwn=Object.prototype.hasOwnProperty;$.toJSON=typeof JSON==='object'&&JSON.stringify?JSON.stringify:function(o){if(o===null){return'null';}var pairs,k,name,val,type=$.type(o);if(type==='undefined'){return undefined;}if(type==='number'||type==='boolean'){return String(o);}if(type==='string'){return $.quoteString(o);}if(typeof o.toJSON==='function'){return $.toJSON(o.toJSON());}if(type==='date'){var month=o.getUTCMonth()+1,day=o.getUTCDate(),year=o.getUTCFullYear(),hours=o.getUTCHours(),minutes=o.getUTCMinutes(),seconds=o.getUTCSeconds(),milli=o.getUTCMilliseconds();if(month<10){month='0'+month;}if(day<10){day='0'+day;}if(hours<10){hours='0'+hours;}if(minutes<10){minutes='0'+minutes;}if(seconds<10){seconds='0'+seconds;}if(milli<100){milli='0'+milli;}if(milli<10){milli='0'+milli;}return'"'+year+'-'+month+'-'+day+'T'+hours+':'+minutes+':'+seconds+'.'+milli+'Z"';}pairs=[];if($.isArray(o)){for(k=0;k ').html('