mw.loader.implement("ext.gadget.BoutonPlus",function(){$(function(){if(['edit','submit'].indexOf(mw.config.get('wgAction'))==-1)return;$.each([['{|\n|-\n|\n|\n|}','','','0/04/Button_array','Tableau','array'],['','','','c/c9/Button_strike','Rayer','strike'],['\n# élément 1\n# élément 2\n# élément 3','','','8/88/Btn_toolbar_enum','Énumération','enum'],['\n* élément A\n* élément B\n* élément C','','','1/11/Btn_toolbar_liste','Liste','liste'],['\n\nExemple.jpg|[[Tournesol]]\nExemple1.jpg|[[La Joconde]]\nExemple2.jpg|Un [[hamster]]\n\n{{message galerie}}','','','9/9e/Btn_toolbar_gallery','Galerie d\'images','gallery'],['','3/37/Btn_toolbar_commentaire','Commentaire','comment'],['#REDIRECT[[','nom de la destination',']]','4/47/Button_redir','Redirection','redir'],['[[Catégorie:','nom de la catégorie',']]','b/b4/Button_category03','Catégorie','category'],['{{','modèle ou page à inclure','}}','3/3b/Button_template_alt','Modèle',
'template'],['[','référence, citation ou lien',']','c/c4/Button_ref','Référence','ref'],['== Notes et références ==\n{{Références}}','','','6/64/Buttonrefvs8','Index des références','references'],['== Notes et références ==\n{{Références}}\n\n== Annexes ==\n=== Articles connexes ===\n* [[À remplacer]]\n\n=== Liens externes ===\n*\n\n=== Bibliographie ===\n* [[À remplacer]]\n\n','','','b/bb/Seealso','Section Annexes','voiraussi']],function(_,button){mw.toolbar.addButton('//upload.wikimedia.org/wikipedia/commons/'+button[3]+'.png',button[4],button[0],button[2],button[1],'mw-editbutton-'+button[5]);});});;},{},{});mw.loader.implement("ext.gadget.WikiMiniAtlas",function(){window.wma_settings={buttonImage:'//upload.wikimedia.org/wikipedia/commons/thumb/e/e9/Geographylogo.svg/18px-Geographylogo.svg.png'}
mw.loader.load('//meta.wikimedia.org/w/index.php?title=MediaWiki:Wikiminiatlas.js&action=raw&ctype=text/javascript&smaxage=21600&maxage=86400');;},{},{});mw.loader.implement("ext.gadget.newCollapsible",function(){var newCollapsible=function($){return $('.fr-collapsible').each(function(){var _fn='jquery.newCollapsible> ';var $that=$(this).addClass('fr-collapsible'),that=this,collapsetext=$(this).attr('data-collapsetext'),expandtext=$(this).attr('data-expandtext'),toggleElement=function($collapsible,action,$defaultToggle,instantHide){if(!$collapsible.jquery){return;}if(action!='expand'&&action!='collapse'){return;}if(typeof $defaultToggle=='undefined'){$defaultToggle=null;}if($defaultToggle!==null&&!($defaultToggle instanceof $)){return;}var $containers=null;if(action=='collapse'){if($collapsible.is('table')&&$collapsible.find('caption').length){$containers=$collapsible.find('>tbody>tr','>thead>tr');if($defaultToggle){$containers.stop(true,true).fadeOut();}else{if(instantHide){
$containers.hide();}else{$containers.stop(true,true).fadeOut();}}}else if(!$collapsible.is('ul')&&!$collapsible.is('ol')&&!$that.is('table')){var $collapsibleContent=$collapsible.find('> .fr-collapsible-content');if($collapsibleContent.length){if(instantHide){$collapsibleContent.hide();}else{$collapsibleContent.slideUp();}}else{if($collapsible.is('tr')||$collapsible.is('td')||$collapsible.is('th')){$collapsible.fadeOut();}else{$collapsible.slideUp();}}}}else{if($collapsible.is('table')&&$collapsible.find('caption').length){$containers=$collapsible.find('>tbody>tr','>thead>tr');if($defaultToggle){$containers.stop(true,true).fadeIn();}else{$containers.stop(true,true).fadeIn();}}else if(!$collapsible.is('ul')&&!$collapsible.is('ol')&&!$that.is('table')){var $collapsibleContent=$collapsible.find('> .fr-collapsible-content');if($collapsibleContent.length){$collapsibleContent.slideDown();}else{if($collapsible.is('tr')||$collapsible.is('td')||$collapsible.is('th')){$collapsible.fadeIn();}else
{$collapsible.slideDown();}}}}},toggleLinkDefault=function(that,e){var $that=$(that),$collapsible=$that.closest('.fr-collapsible.fr-made-collapsible').toggleClass('fr-collapsed');e.preventDefault();e.stopPropagation();if(!$that.hasClass('fr-collapsible-toggle-collapsed')){$that.removeClass('fr-collapsible-toggle-expanded').addClass('fr-collapsible-toggle-collapsed');if($that.find('> a').length){$that.find('> a').text(expandtext);}else{$that.text(expandtext);}toggleElement($collapsible,'collapse',$that);}else{$that.removeClass('fr-collapsible-toggle-collapsed').addClass('fr-collapsible-toggle-expanded');if($that.find('> a').length){$that.find('> a').text(collapsetext);}else{$that.text(collapsetext);}toggleElement($collapsible,'expand',$that);}return;},toggleLinkPremade=function($that,e){var $collapsible=$that.eq(0).closest('.fr-collapsible.fr-made-collapsible').toggleClass('fr-collapsed');if($(e.target).is('a')){return true;}e.preventDefault();e.stopPropagation();if(!$that.hasClass(
'fr-collapsible-toggle-collapsed')){$that.removeClass('fr-collapsible-toggle-expanded').addClass('fr-collapsible-toggle-collapsed');toggleElement($collapsible,'collapse',$that);}else{$that.removeClass('fr-collapsible-toggle-collapsed').addClass('fr-collapsible-toggle-expanded');toggleElement($collapsible,'expand',$that);}return;},toggleLinkCustom=function($that,e,$collapsible){if(e){e.preventDefault();e.stopPropagation();}var action=$collapsible.hasClass('fr-collapsed')?'expand':'collapse';$collapsible.toggleClass('fr-collapsed');toggleElement($collapsible,action,$that);};if(!collapsetext){collapsetext='masquer';}if(!expandtext){expandtext='afficher';}var $toggleLink=$('').text(collapsetext).wrap('').parent().bind('click.fr-collapse',function(e){toggleLinkDefault(this,e);});if($that.hasClass('fr-made-collapsible')){return;}else{$that.addClass('fr-made-collapsible');}if(($that.attr('id')||'').indexOf('fr-customcollapsible-')===0
){var thatId=$that.attr('id'),$customTogglers=$('.'+thatId.replace('fr-customcollapsible','fr-customtoggle'));mw.log(_fn+'Found custom collapsible: #'+thatId);if($customTogglers.length){$customTogglers.bind('click.fr-collapse',function(e){toggleLinkCustom($(this),e,$that);});}else{mw.log(_fn+'#'+thatId+': Missing toggler!');}if($that.hasClass('fr-collapsed')){$that.removeClass('fr-collapsed');toggleLinkCustom($customTogglers,null,$that);}}else{if($that.is('table')&&$that.find('caption').length){var $caption=$('caption',that),$toggle=$caption.find('> .fr-collapsible-toggle');if(!$toggle.length){$caption.eq(-1).prepend($toggleLink);}else{$toggleLink=$toggle.unbind('click.fr-collapse').bind('click.fr-collapse',function(e){toggleLinkPremade($toggle,e);});}}else if(!$that.is('ul')&&!$that.is('ol')&&!$that.is('table')){var $toggle=$that.find('> .fr-collapsible-toggle');if(!$that.find('> .fr-collapsible-content').length){$that.wrapInner('
');}if(!
$toggle.length){$that.prepend($toggleLink);}else{$toggleLink=$toggle.unbind('click.fr-collapse').bind('click.fr-collapse',function(e){toggleLinkPremade($toggle,e);});}}}if($that.hasClass('fr-collapsed')&&($that.attr('id')||'').indexOf('fr-customcollapsible-')!==0){$that.removeClass('fr-collapsed');toggleElement($that,'collapse',$toggleLink.eq(0),true);$toggleLink.eq(0).click();}});};var newAutoCollapse=function($){var $navboxnew=$('#content .navboxnew');if($navboxnew.length==1){$navboxnew.filter('.fr-collapsed').not('.uncollapsed, .collapsed').each(function(){$(this).find('span.fr-collapsible-toggle a').first().click();});}};var newBeKindToIE=function($){var ieVersion=$.client.profile().versionBase;if(ieVersion<9){$('#content .navboxnew_inline').find('li:last-child').addClass('navboxnew_last');}if(ieVersion<8){$('#content .navboxnew').removeClass('navboxnew').addClass('navboxnew_oldie');}};var newCollapsibleKeyboard=function($){$(
'.fr-collapsible-toggle, .fr-collapsible-toggle-keyboard').attr('tabindex',0).keypress(function(event){if(event.which==13){$(this).click()}});};var newCollapsibleGroup=function($){$('.fr-collapsible-group').each(function(){var $that=$(this);var text='Tout ouvrir';var $tooglelink=$('Tout ouvrir');$that.find('.fr-collapsible-group-toogle:first').append($tooglelink).click(function(event){if(text=='Tout ouvrir'){text='Tout fermer';$that.find('.fr-collapsible-toggle-collapsed:not(".fr-collapsible-group-toogle-all")').click();}else{text='Tout ouvrir';$that.find('.fr-collapsible-toggle-expanded:not(".fr-collapsible-group-toogle-all")').click();}$tooglelink.text(text);return false;});});};if($.client.profile().name=='msie'){$(document).ready(newBeKindToIE);}$(document).ready(newCollapsible);$(document).ready(newAutoCollapse);$(document).ready(newCollapsibleKeyboard);$(document).ready(
newCollapsibleGroup);;},{"css":[
".fr-collapsible-toggle{background:url(\"//upload.wikimedia.org/wikipedia/commons/1/10/MediaWiki_Vector_skin_action_arrow.png\") no-repeat scroll left center transparent;padding:0 0 0 15px;cursor:pointer;float:right}.fr-collapsible-toggle-collapsed{background:url(\"//upload.wikimedia.org/wikipedia/commons/4/41/MediaWiki_Vector_skin_right_arrow.png\") no-repeat scroll left center transparent}.fr-collapsible-toggle,.fr-collapsible-toggle-keyboard{outline:0 none}.fr-collapsible-toggle:focus,.fr-collapsible-toggle-keyboard:focus,.fr-collapsible-toggle:hover,.fr-collapsible-toggle-keyboard:hover{text-decoration:underline}.fr-collapsible span.up,.fr-collapsible span.down{color:#0645AD}.fr-collapsible-toggle-expanded span.up{display:none }.fr-collapsible-toggle-collapsed span.down{display:none } .fr-collapsible-group-toogle-all{font-size:12px;font-weight:normal} .toogleboxnew{border:1px solid #AAA;padding:2px 2px 0 2px;border-radius:3px}.toogleboxnew_title{background:#EFEFEF;margin:0 0 2px 0;text-align:center;font-weight:bold;padding:0 5em}.toogleboxnew .fr-collapsible-content{font-size:90%} .toogleboxnew .fr-collapsible-toggle,.navboxnew .fr-collapsible-toggle,caption .fr-collapsible-toggle{font-size:0.9em;font-weight:normal;min-width:5em;text-align:left} table.fr-collapsible{min-width:80%}table.fr-collapsible.fr-enhanced-rc{min-width:0}table.fr-collapsible caption{background:#EFEFEF;border:1px solid #AAAAAA;border-radius:3px;margin-bottom:3px} .navboxnew{border:1px solid #AAA;padding:2px 2px 0 2px;background:#F9F9F9;padding:4px 4px 2px 4px;border-radius:3px}.navboxnew ul{margin:0 !important;list-style-type:none;list-style-image:none}.navboxnew ul.navboxnew_cell{width:100%}.navboxnew .navboxnew_row \x3e ul{margin:-2px 0 0 0}.navboxnew li{margin:0}.navboxnew .navboxnew_title{background:#CCCCFF;margin:0 0 2px 0;text-align:center;font-weight:bold;padding:0 5em}.navboxnew .navboxnew_titlesub{font-size:0.8em}.navboxnew .fr-collapsible-content{font-size:90%}.navboxnew ul.navbox_new_nav{display:table-cell;vertical-align:middle}.navboxnew li.navboxnew_table{display:table;width:100%;border-collapse:collapse;margin:0 0 2px 0}.navboxnew .navboxnew_row{display:table-row}.navboxnew .navboxnew_cell{display:table-cell;vertical-align:middle;text-align:center}.navboxnew .navboxnew_th{width:125px;max-width:125px;word-wrap:break-word;background:#DDDDFF;padding:2px 12px;border-right:2px solid #F9F9F9;font-weight:bold}.navboxnew ul.navboxnew_padding{padding:2px 0}.navboxnew .navboxnew_inline.left{text-align:left}.navboxnew .navboxnew_inline li{display:inline;padding:0 12px 0 2px;background:url(\"//upload.wikimedia.org/wikipedia/commons/thumb/8/8c/Bullet_%28typography%29.svg/4px-Bullet_%28typography%29.svg.png\") no-repeat right center;white-space:nowrap}.navboxnew .navboxnew_inline li:last-child{background:none !important;padding:0 2px !important}.navboxnew .navboxnew_last{background:none !important;padding:0 2px !important}.navboxnew .impair{background:#EEEEFF}.navboxnew .pair{background:#f9f9f9}.navboxnew .navboxnew_banner{background:#DDDDFF;text-align:center;margin:0 0 2px 0} .navboxnew .navboxnew_image{padding:5px 0 5px 5px} .navboxnew .navboxnew_ie li{border-top:2px solid #f9f9f9}.navboxnew .navboxnew_ie li.navboxnew_first,.navboxnew .navboxnew_inline li{border-top:0 !important} .navboxnew .navboxnew_ie .navboxnew_cell,.navboxnew .navboxnew_ie .navboxnew_ie{width:100%}.navboxnew .navboxnew_ie div.navboxnew_th{min-width:100px !important;width:100px !important;max-width:100px;word-wrap:break-word} .navboxnew_tnavbar{float :left;font-size:0.8em;margin-left:-5em;font-weight:normal} .foot .navboxnew_title,.foot .navboxnew_banner{background:#99CC99}.foot .navboxnew_th{background:#B3D9B3}.navboxnew.foot .impair{background:#E6F2E6}.hockey .navboxnew_title,.hockey .navboxnew_banner{background:#DFEDFF}.hockey .navboxnew_th{background:#E7F2FF}.navboxnew.hockey .impair{background:#EFF6FF} .navboxnew_oldie{border:1px solid #AAA;padding:2px 2px 0 2px;background:#F9F9F9;padding:4px 4px 2px 4px}.navboxnew_oldie .fr-collapsible-toggle{font-size:0.9em}.navboxnew_oldie .navboxnew_title{background:#CCCCFF;margin:0 0 2px 0;text-align:center;font-weight:bold;padding:0 5em}.navboxnew_oldie .navboxnew_titlesub{font-size:0.8em}.navboxnew_oldie .fr-collapsible-content{font-size:90%}.navboxnew_oldie .navboxnew_row{background:#DDDDFF}.navboxnew_oldie .navboxnew_th{font-weight:bold;padding:0 12px;float:left;width:125px !important;clear:both;text-align:center;border-top:2px solid #F9F9F9}.navboxnew_oldie .navboxnew_ie{border-left:2px solid #F9F9F9}.navboxnew_oldie .navboxnew_inline{background:#F9F9F9}.navboxnew_oldie .impair .navboxnew_inline{background:#EEEEFF}.navboxnew_oldie ul{margin:0;padding:0;list-style-type:none;list-style-image:none;zoom:1}.navboxnew_oldie .navboxnew_inline{padding:3px 15px}.navboxnew_oldie li{display:inline}.navboxnew_oldie .navboxnew_image{display:none }.navboxnew_oldie .navboxnew_banner{background:#CCCCFF;text-align:center;margin:2px 0 0 0}.navboxnew_oldie li{display:inline}.navboxnew_oldie .navboxnew_image{display:none }.navboxnew_oldie .navboxnew_banner{background:#CCCCFF;text-align:center;margin:2px 0 0 0} .toogleboxnew.demo .toogleboxnew_title{background:lightblue} div.navbox_group{border-radius:3px}.navbox_group .navboxnew{border:0}\n/* cache key: frwiki:resourceloader:filter:minify-css:7:33a185a9e3d9c705b6ce84354497e08f */"
]},{});mw.loader.implement("jquery.autoEllipsis",function(){(function($){var cache={},matchTextCache={};$.fn.autoEllipsis=function(options){options=$.extend({position:'center',tooltip:false,restoreText:false,hasSpan:false,matchText:null},options);return this.each(function(){var $trimmableText,text,trimmableText,w,pw,l,r,i,side,m,$container=$(this);if(options.restoreText){if(!$container.data('autoEllipsis.originalText')){$container.data('autoEllipsis.originalText',$container.text());}else{$container.text($container.data('autoEllipsis.originalText'));}}if(options.hasSpan){$trimmableText=$container.children(options.selector);}else{$trimmableText=$('').css('whiteSpace','nowrap').text($container.text());$container.empty().append($trimmableText);}text=$container.text();trimmableText=$trimmableText.text();w=$container.width();pw=0;if(options.matchText){if(!(text in matchTextCache)){matchTextCache[text]={};}if(!(options.matchText in matchTextCache[text])){matchTextCache[text][options.
matchText]={};}if(!(w in matchTextCache[text][options.matchText])){matchTextCache[text][options.matchText][w]={};}if(options.position in matchTextCache[text][options.matchText][w]){$container.html(matchTextCache[text][options.matchText][w][options.position]);if(options.tooltip){$container.attr('title',text);}return;}}else{if(!(text in cache)){cache[text]={};}if(!(w in cache[text])){cache[text][w]={};}if(options.position in cache[text][w]){$container.html(cache[text][w][options.position]);if(options.tooltip){$container.attr('title',text);}return;}}if($trimmableText.width()+pw>w){switch(options.position){case'right':l=0;r=trimmableText.length;do{m=Math.ceil((l+r)/2);$trimmableText.text(trimmableText.substr(0,m)+'...');if($trimmableText.width()+pw>w){r=m-1;}else{l=m;}}while(lw&&i[0]>0){
$trimmableText.text(trimmableText.substr(0,i[0])+'...'+trimmableText.substr(i[1]));if(side===0){i[0]--;side=1;}else{i[1]++;side=0;}}break;case'left':r=0;while($trimmableText.outerWidth()+pw>w&&rbyteLimit){inpParts[1]=inpParts[1].slice(0,-1);}}else{while($.byteLength(inpParts.join(''))>byteLimit){inpParts[1]=inpParts[1].slice(0,-1);}}newVal=inpParts.join('');return{newVal:newVal,trimmed:true};}var eventKeys=['keyup.byteLimit','keydown.byteLimit','change.byteLimit','mouseup.byteLimit','cut.byteLimit','paste.byteLimit','focus.byteLimit','blur.byteLimit'].join(' ');$.fn.byteLimit=function(limit,fn){if($.isFunction(limit)){fn=
limit;limit=undefined;}else if(!fn||!$.isFunction(fn)){fn=undefined;}return this.each(function(i,el){var $el,elLimit,prevSafeVal;$el=$(el);elLimit=Number(limit===undefined?$el.attr('maxlength'):limit);if(!elLimit||elLimit<0){return;}if(fn){$el.data('byteLimit.callback',fn);}$el.off('.byteLimit');if(fn){$el.removeAttr('maxlength');}else{$el.attr('maxlength',elLimit);}prevSafeVal='';$el.on(eventKeys,function(){var res=trimValForByteLength(prevSafeVal,this.value,elLimit,fn);if(res.trimmed===true){this.value=res.newVal;prevSafeVal=res.newVal;}});});};}(jQuery));;},{},{});mw.loader.implement("jquery.checkboxShiftClick",function(){(function($){$.fn.checkboxShiftClick=function(text){var prevCheckbox=null,$box=this;$box.click(function(e){if(prevCheckbox!==null&&e.shiftKey){$box.slice(Math.min($box.index(prevCheckbox),$box.index(e.target)),Math.max($box.index(prevCheckbox),$box.index(e.target))+1).prop('checked',!!e.target.checked);}prevCheckbox=e.target;});return $box;};}(jQuery));;},{},{});mw
.loader.implement("jquery.collapsibleTabs",function(){(function($){$.fn.collapsibleTabs=function(options){if(!this.length){return this;}var $settings=$.extend({},$.collapsibleTabs.defaults,options);this.each(function(){var $el=$(this);$.collapsibleTabs.instances=($.collapsibleTabs.instances.length===0?$el:$.collapsibleTabs.instances.add($el));$el.data('collapsibleTabsSettings',$settings);$el.children($settings.collapsible).each(function(){$.collapsibleTabs.addData($(this));});});if(!$.collapsibleTabs.boundEvent){$(window).delayedBind('500','resize',function(){$.collapsibleTabs.handleResize();});}$.collapsibleTabs.handleResize();return this;};$.collapsibleTabs={instances:[],boundEvent:null,defaults:{expandedContainer:'#p-views ul',collapsedContainer:'#p-cactions ul',collapsible:'li.collapsible',shifting:false,expandCondition:function(eleWidth){return($('#left-navigation').position().left+$('#left-navigation').width())<($('#right-navigation').position().left-eleWidth);},collapseCondition
:function(){return($('#left-navigation').position().left+$('#left-navigation').width())>$('#right-navigation').position().left;}},addData:function($collapsible){var $settings=$collapsible.parent().data('collapsibleTabsSettings');if($settings!==null){$collapsible.data('collapsibleTabsSettings',{expandedContainer:$settings.expandedContainer,collapsedContainer:$settings.collapsedContainer,expandedWidth:$collapsible.width(),prevElement:$collapsible.prev()});}},getSettings:function($collapsible){var $settings=$collapsible.data('collapsibleTabsSettings');if($settings===undefined){$.collapsibleTabs.addData($collapsible);$settings=$collapsible.data('collapsibleTabsSettings');}return $settings;},handleResize:function(e){$.collapsibleTabs.instances.each(function(){var $el=$(this),data=$.collapsibleTabs.getSettings($el);if(data.shifting){return;}if($el.children(data.collapsible).length>0&&data.collapseCondition()){$el.trigger('beforeTabCollapse');$.collapsibleTabs.moveToCollapsed($el.children(
data.collapsible+':last'));}if($(data.collapsedContainer+' '+data.collapsible).length>0&&data.expandCondition($.collapsibleTabs.getSettings($(data.collapsedContainer).children(data.collapsible+':first')).expandedWidth)){$el.trigger('beforeTabExpand');$.collapsibleTabs.moveToExpanded(data.collapsedContainer+' '+data.collapsible+':first');}});},moveToCollapsed:function(ele){var $moving=$(ele),data=$.collapsibleTabs.getSettings($moving),dataExp=$.collapsibleTabs.getSettings(data.expandedContainer);dataExp.shifting=true;$moving.detach().prependTo(data.collapsedContainer).data('collapsibleTabsSettings',data);dataExp.shifting=false;$.collapsibleTabs.handleResize();},moveToExpanded:function(ele){var $moving=$(ele),data=$.collapsibleTabs.getSettings($moving),dataExp=$.collapsibleTabs.getSettings(data.expandedContainer);dataExp.shifting=true;$moving.detach().insertAfter(data.prevElement).data('collapsibleTabsSettings',data);dataExp.shifting=false;$.collapsibleTabs.handleResize();}};}(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.hidpi",function(){(function($){$.devicePixelRatio=function(){if(window.devicePixelRatio!==undefined){return window.devicePixelRatio;}else if(window.msMatchMedia!==undefined){if(window.msMatchMedia('(min-resolution: 192dpi)').matches){return 2;}else if(window.msMatchMedia('(min-resolution: 144dpi)').matches){return 1.5;}else{return 1;}}else{return 1;}};$.fn.hidpi=function(){var $target=this,devicePixelRatio=$.devicePixelRatio(),testImage=new Image();if(devicePixelRatio>1&&testImage.srcset===undefined){$target.find('img').each(function(){var $img=$(this),srcset=$img.attr('srcset'),match;if(typeof srcset==='string'&&srcset!==''){match=$.matchSrcSet(devicePixelRatio,srcset);if(match!==null){$img.
attr('src',match);}}});}return $target;};$.matchSrcSet=function(devicePixelRatio,srcset){var candidates,candidate,bits,src,i,ratioStr,ratio,selectedRatio=1,selectedSrc=null;candidates=srcset.split(/ *, */);for(i=0;i1&&bits[1].charAt(bits[1].length-1)==='x'){ratioStr=bits[1].substr(0,bits[1].length-1);ratio=parseFloat(ratioStr);if(ratio>devicePixelRatio){}else if(ratio>selectedRatio){selectedRatio=ratio;selectedSrc=src;}}}return selectedSrc;};}(jQuery));;},{},{});mw.loader.implement("jquery.highlightText",function(){(function($){$.highlightText={splitAndHighlight:function(node,pat){var i,patArray=pat.split(' ');for(i=0;i tbody > tr');if($defaultToggle){$containers.not($defaultToggle.closest('tr')).stop(true,true).fadeOut();}else{if(options.instantHide){$containers.hide();}else{$containers.stop(true,true).fadeOut();}}}else if($collapsible.is('ul')||$collapsible.is('ol')){$containers=$collapsible.find('> li');if($defaultToggle){$containers.not($defaultToggle.parent()).stop(true,true).slideUp();}else{if(
options.instantHide){$containers.hide();}else{$containers.stop(true,true).slideUp();}}}else{$collapsibleContent=$collapsible.find('> .mw-collapsible-content');if($collapsibleContent.length){if(options.instantHide){$collapsibleContent.hide();}else{$collapsibleContent.slideUp();}}else{if($collapsible.is('tr')||$collapsible.is('td')||$collapsible.is('th')){$collapsible.fadeOut();}else{$collapsible.slideUp();}}}}else{if($collapsible.is('table')){$containers=$collapsible.find('>tbody>tr');if($defaultToggle){$containers.not($defaultToggle.parent().parent()).stop(true,true).fadeIn();}else{$containers.stop(true,true).fadeIn();}}else if($collapsible.is('ul')||$collapsible.is('ol')){$containers=$collapsible.find('> li');if($defaultToggle){$containers.not($defaultToggle.parent()).stop(true,true).slideDown();}else{$containers.stop(true,true).slideDown();}}else{$collapsibleContent=$collapsible.find('> .mw-collapsible-content');if($collapsibleContent.length){$collapsibleContent.slideDown();}else{if(
$collapsible.is('tr')||$collapsible.is('td')||$collapsible.is('th')){$collapsible.fadeIn();}else{$collapsible.slideDown();}}}}},toggleLinkDefault=function($that,e,options){var $collapsible=$that.closest('.mw-collapsible').toggleClass('mw-collapsed');e.preventDefault();e.stopPropagation();if(!$that.hasClass('mw-collapsible-toggle-collapsed')){$that.removeClass('mw-collapsible-toggle-expanded').addClass('mw-collapsible-toggle-collapsed');if($that.find('> a').length){$that.find('> a').text(expandtext);}else{$that.text(expandtext);}toggleElement($collapsible,'collapse',$that,options);}else{$that.removeClass('mw-collapsible-toggle-collapsed').addClass('mw-collapsible-toggle-expanded');if($that.find('> a').length){$that.find('> a').text(collapsetext);}else{$that.text(collapsetext);}toggleElement($collapsible,'expand',$that,options);}return;},toggleLinkPremade=function($that,e,options){var $collapsible=$that.eq(0).closest('.mw-collapsible').toggleClass('mw-collapsed');if($.nodeName(e.target,
'a')){return true;}e.preventDefault();e.stopPropagation();if(!$that.hasClass('mw-collapsible-toggle-collapsed')){$that.removeClass('mw-collapsible-toggle-expanded').addClass('mw-collapsible-toggle-collapsed');toggleElement($collapsible,'collapse',$that,options);}else{$that.removeClass('mw-collapsible-toggle-collapsed').addClass('mw-collapsible-toggle-expanded');toggleElement($collapsible,'expand',$that,options);}return;},toggleLinkCustom=function($that,e,options,$collapsible){if(e){e.preventDefault();e.stopPropagation();}var action=$collapsible.hasClass('mw-collapsed')?'expand':'collapse';$collapsible.toggleClass('mw-collapsed');toggleElement($collapsible,action,$that,options);};if($collapsible.data('mw-made-collapsible')){return;}else{$collapsible.data('mw-made-collapsible',true);}if(!collapsetext){collapsetext=mw.msg('collapsible-collapse');}if(!expandtext){expandtext=mw.msg('collapsible-expand');}$toggleLink=$('').text(collapsetext).wrap(
'').parent().prepend(' [').append('] ').on('click.mw-collapse',function(e,options){toggleLinkDefault($(this),e,options);});if(($collapsible.attr('id')||'').indexOf('mw-customcollapsible-')===0){collapsibleId=$collapsible.attr('id');$customTogglers=$('.'+collapsibleId.replace('mw-customcollapsible','mw-customtoggle'));mw.log(lpx+'Found custom collapsible: #'+collapsibleId);if($customTogglers.length){$customTogglers.on('click.mw-collapse',function(e,options){toggleLinkCustom($(this),e,options,$collapsible);});}else{mw.log(lpx+'#'+collapsibleId+': Missing toggler!');}if($collapsible.hasClass('mw-collapsed')){$collapsible.removeClass('mw-collapsed');toggleLinkCustom($customTogglers,null,{instantHide:true},$collapsible);}}else{if($collapsible.is('table')){$firstItem=$collapsible.find('tr:first th, tr:first td');$toggle=$firstItem.find('> .mw-collapsible-toggle');if(!$toggle.length){$firstItem.eq(-1).prepend($toggleLink);}else{$toggleLink=
$toggle.off('click.mw-collapse').on('click.mw-collapse',function(e,options){toggleLinkPremade($toggle,e,options);});}}else if($collapsible.is('ul')||$collapsible.is('ol')){$firstItem=$collapsible.find('li:first');$toggle=$firstItem.find('> .mw-collapsible-toggle');if(!$toggle.length){firstval=$firstItem.attr('value');if(firstval===undefined||!firstval||firstval==='-1'||firstval===-1){$firstItem.attr('value','1');}$collapsible.prepend($toggleLink.wrap('').parent());}else{$toggleLink=$toggle.off('click.mw-collapse').on('click.mw-collapse',function(e,options){toggleLinkPremade($toggle,e,options);});}}else{$toggle=$collapsible.find('> .mw-collapsible-toggle');if(!$collapsible.find('> .mw-collapsible-content').length){$collapsible.wrapInner('');}if(!$toggle.length){$collapsible.prepend($toggleLink);}else{$toggleLink=$toggle.off('click.mw-collapse').on('click.mw-collapse',function(e,options){toggleLinkPremade
($toggle,e,options);});}}}if($collapsible.hasClass('mw-collapsed')&&($collapsible.attr('id')||'').indexOf('mw-customcollapsible-')!==0){$collapsible.removeClass('mw-collapsed');$toggleLink.eq(0).trigger('click',[{instantHide:true}]);}});};}(jQuery,mediaWiki));;},{"css":[".mw-collapsible-toggle{float:right} li .mw-collapsible-toggle{float:none} .mw-collapsible-toggle-li{list-style:none}\n/* cache key: frwiki:resourceloader:filter:minify-css:7:4250852ed2349a0d4d0fc6509a3e7d4c */"]},{"collapsible-expand":"afficher","collapsible-collapse":"masquer"});mw.loader.implement("jquery.mw-jump",function(){jQuery(function($){$('.mw-jump').delegate('a','focus blur',function(e){if(e.type==="blur"||e.type==="focusout"){$(this).closest('.mw-jump').css({height:'0'});}else{$(this).closest('.mw-jump').css({height:'auto'});}});});;},{},{});mw.loader.implement("jquery.placeholder",function(){(function($){$.fn.placeholder=function(){return this.each(function(){var placeholder,$input;if(this.placeholder&&
'placeholder'in document.createElement(this.tagName)){return;}placeholder=this.getAttribute('placeholder');$input=$(this);if(this.value===''||this.value===placeholder){$input.addClass('placeholder').val(placeholder);}$input.blur(function(){if(this.value===''){this.value=placeholder;$input.addClass('placeholder');}}).on('focus drop keydown paste',function(e){if($input.hasClass('placeholder')){if(e.type==='drop'&&e.originalEvent.dataTransfer){try{this.value=e.originalEvent.dataTransfer.getData('text/plain');}catch(exception){this.value=e.originalEvent.dataTransfer.getData('text');}e.preventDefault();}else{this.value='';}$input.removeClass('placeholder');}});if(this.form){$(this.form).submit(function(){if($input.hasClass('placeholder')){$input.val('').removeClass('placeholder');}});}});};}(jQuery));;},{},{});mw.loader.implement("jquery.suggestions",function(){(function($){$.suggestions={cancel:function(context){if(context.data.timerID!==null){clearTimeout(context.data.timerID);}if($.
isFunction(context.config.cancel)){context.config.cancel.call(context.data.$textbox);}},restore:function(context){context.data.$textbox.val(context.data.prevText);},update:function(context,delayed){function maybeFetch(){if(context.data.$textbox.val().length===0){context.data.$container.hide();context.data.prevText='';}else if(context.data.$textbox.val()!==context.data.prevText){if(typeof context.config.fetch==='function'){context.data.prevText=context.data.$textbox.val();context.config.fetch.call(context.data.$textbox,context.data.$textbox.val());}}}if(context.data.timerID!==null){clearTimeout(context.data.timerID);}if(delayed){context.data.timerID=setTimeout(maybeFetch,context.config.delay);}else{maybeFetch();}$.suggestions.special(context);},special:function(context){if(typeof context.config.special.render==='function'){setTimeout(function(){var $special=context.data.$container.find('.suggestions-special');context.config.special.render.call($special,context.data.$textbox.val());},1);
}},configure:function(context,property,value){var newCSS;switch(property){case'fetch':case'cancel':case'special':case'result':case'$region':case'expandFrom':context.config[property]=value;break;case'suggestions':context.config[property]=value;if(context.data!==undefined){if(context.data.$textbox.val().length===0){context.data.$container.hide();}else{context.data.$container.show();newCSS={top:context.config.$region.offset().top+context.config.$region.outerHeight(),bottom:'auto',width:context.config.$region.outerWidth(),height:'auto'};context.config.expandFrom=(function(expandFrom){var regionWidth,docWidth,regionCenter,docCenter,docDir=$(document.documentElement).css('direction'),$region=context.config.$region;if(context.config.positionFromLeft){expandFrom='left';}else if($.inArray(expandFrom,['left','right','start','end','auto'])===-1){expandFrom='auto';}if(expandFrom==='auto'){if($region.data('searchsuggest-expand-dir')){expandFrom=$region.data('searchsuggest-expand-dir');}else{
regionWidth=$region.outerWidth();docWidth=$(document).width();if((regionWidth/docWidth)>0.85){expandFrom='start';}else{regionCenter=$region.offset().left+regionWidth/2;docCenter=docWidth/2;if(Math.abs(regionCenter-docCenter)/docCenter<0.10){expandFrom='start';}else{expandFrom=regionCenter>docCenter?'right':'left';}}}}if(expandFrom==='start'){expandFrom=docDir==='rtl'?'right':'left';}else if(expandFrom==='end'){expandFrom=docDir==='rtl'?'left':'right';}return expandFrom;}(context.config.expandFrom));if(context.config.expandFrom==='left'){newCSS.left=context.config.$region.offset().left;newCSS.right='auto';}else{newCSS.left='auto';newCSS.right=$('body').width()-(context.config.$region.offset().left+context.config.$region.outerWidth());}context.data.$container.css(newCSS);var $results=context.data.$container.children('.suggestions-results');$results.empty();var expWidth=-1;var $autoEllipseMe=$([]);var matchedText=null;for(var i=0;i').addClass('suggestions-result').attr('rel',i).data('text',context.config.suggestions[i]).mousemove(function(e){context.data.selectedWithMouse=true;$.suggestions.highlight(context,$(this).closest('.suggestions-results div'),false);}).appendTo($results);if(typeof context.config.result.render==='function'){context.config.result.render.call($result,context.config.suggestions[i]);}else{if(context.config.highlightInput){matchedText=context.data.prevText;}$result.append($('').css('whiteSpace','nowrap').text(text));var $span=$result.children('span');if($span.outerWidth()>$result.width()&&$span.outerWidth()>expWidth){expWidth=$span.outerWidth()+(context.data.$container.width()-$span.parent().width());}$autoEllipseMe=$autoEllipseMe.add($result);}}if(expWidth>context.data.$container.width()){var maxWidth=context.config.maxExpandFactor*context.data.$textbox.width();context.data.$container.width(Math.min(expWidth,maxWidth));}$autoEllipseMe.
autoEllipsis({hasSpan:true,tooltip:true,matchText:matchedText});}}break;case'maxRows':context.config[property]=Math.max(1,Math.min(100,value));break;case'delay':context.config[property]=Math.max(0,Math.min(1200,value));break;case'maxExpandFactor':context.config[property]=Math.max(1,value);break;case'submitOnClick':case'positionFromLeft':case'highlightInput':context.config[property]=value?true:false;break;}},highlight:function(context,result,updateTextbox){var selected=context.data.$container.find('.suggestions-result-current');if(!result.get||selected.get(0)!==result.get(0)){if(result==='prev'){if(selected.is('.suggestions-special')){result=context.data.$container.find('.suggestions-result:last');}else{result=selected.prev();if(selected.length===0){if(context.data.$container.find('.suggestions-special').html()!==''){result=context.data.$container.find('.suggestions-special');}else{result=context.data.$container.find('.suggestions-results div:last');}}}}else if(result==='next'){if(
selected.length===0){result=context.data.$container.find('.suggestions-results div:first');if(result.length===0&&context.data.$container.find('.suggestions-special').html()!==''){result=context.data.$container.find('.suggestions-special');}}else{result=selected.next();if(selected.is('.suggestions-special')){result=$([]);}else if(result.length===0&&context.data.$container.find('.suggestions-special').html()!==''){result=context.data.$container.find('.suggestions-special');}}}selected.removeClass('suggestions-result-current');result.addClass('suggestions-result-current');}if(updateTextbox){if(result.length===0||result.is('.suggestions-special')){$.suggestions.restore(context);}else{context.data.$textbox.val(result.data('text'));context.data.$textbox.change();}context.data.$textbox.trigger('change');}},keypress:function(e,context,key){var wasVisible=context.data.$container.is(':visible'),preventDefault=false;switch(key){case 40:if(wasVisible){$.suggestions.highlight(context,'next',true);
context.data.selectedWithMouse=false;}else{$.suggestions.update(context,false);}preventDefault=true;break;case 38:if(wasVisible){$.suggestions.highlight(context,'prev',true);context.data.selectedWithMouse=false;}preventDefault=wasVisible;break;case 27:context.data.$container.hide();$.suggestions.restore(context);$.suggestions.cancel(context);context.data.$textbox.trigger('change');preventDefault=wasVisible;break;case 13:context.data.$container.hide();preventDefault=wasVisible;var selected=context.data.$container.find('.suggestions-result-current');if(selected.length===0||context.data.selectedWithMouse){$.suggestions.cancel(context);context.config.$region.closest('form').submit();}else if(selected.is('.suggestions-special')){if(typeof context.config.special.select==='function'){context.config.special.select.call(selected,context.data.$textbox);}}else{if(typeof context.config.result.select==='function'){$.suggestions.highlight(context,selected,true);context.config.result.select.call(
selected,context.data.$textbox);}else{$.suggestions.highlight(context,selected,true);}}break;default:$.suggestions.update(context,true);break;}if(preventDefault){e.preventDefault();e.stopImmediatePropagation();}}};$.fn.suggestions=function(){var returnValue,args=arguments;$(this).each(function(){var context,key;context=$(this).data('suggestions-context');if(context===undefined||context===null){context={config:{'fetch':function(){},'cancel':function(){},'special':{},'result':{},'$region':$(this),'suggestions':[],'maxRows':7,'delay':120,'submitOnClick':false,'maxExpandFactor':3,'expandFrom':'auto','highlightInput':false}};}if(args.length>0){if(typeof args[0]==='object'){for(key in args[0]){$.suggestions.configure(context,key,args[0][key]);}}else if(typeof args[0]==='string'){if(args.length>1){$.suggestions.configure(context,args[0],args[1]);}else if(returnValue===null||returnValue===undefined){returnValue=(args[0]in context.config?undefined:context.config[args[0]]);}}}if(context.data===
undefined){context.data={timerID:null,prevText:null,visibleResults:0,mouseDownOn:$([]),$textbox:$(this),selectedWithMouse:false};context.data.$container=$('').css('display','none').addClass('suggestions').append($('
').addClass('suggestions-results').mousedown(function(e){context.data.mouseDownOn=$(e.target).closest('.suggestions-results div');}).mouseup(function(e){var $result=$(e.target).closest('.suggestions-results div');var $other=context.data.mouseDownOn;context.data.mouseDownOn=$([]);if($result.get(0)!==$other.get(0)){return;}$.suggestions.highlight(context,$result,true);context.data.$container.hide();if(typeof context.config.result.select==='function'){context.config.result.select.call($result,context.data.$textbox);}context.data.$textbox.focus();})).append($('
').addClass('suggestions-special').mousedown(function(e){context.data.mouseDownOn=$(e.target).closest('.suggestions-special');}).mouseup(function(e){var $special=$(e.target).closest('.suggestions-special');
var $other=context.data.mouseDownOn;context.data.mouseDownOn=$([]);if($special.get(0)!==$other.get(0)){return;}context.data.$container.hide();if(typeof context.config.special.select==='function'){context.config.special.select.call($special,context.data.$textbox);}context.data.$textbox.focus();}).mousemove(function(e){context.data.selectedWithMouse=true;$.suggestions.highlight(context,$(e.target).closest('.suggestions-special'),false);})).appendTo($('body'));$(this).attr('autocomplete','off').keydown(function(e){context.data.keypressed=e.which;context.data.keypressedCount=0;switch(context.data.keypressed){case 40:e.preventDefault();e.stopImmediatePropagation();break;case 38:case 27:case 13:if(context.data.$container.is(':visible')){e.preventDefault();e.stopImmediatePropagation();}}}).keypress(function(e){context.data.keypressedCount++;$.suggestions.keypress(e,context,context.data.keypressed);}).keyup(function(e){if(context.data.keypressedCount===0){$.suggestions.keypress(e,context,
context.data.keypressed);}}).blur(function(){if(context.data.mouseDownOn.length>0){return;}context.data.$container.hide();$.suggestions.cancel(context);});}$(this).data('suggestions-context',context);});return returnValue!==undefined?returnValue:$(this);};}(jQuery));;},{"css":[
".suggestions{overflow:hidden;position:absolute;top:0;left:0;width:0;border:none;z-index:1099;padding:0;margin:-1px -1px 0 0} html \x3e body .suggestions{margin:-1px 0 0 0}.suggestions-special{position:relative;background-color:white;cursor:pointer;border:solid 1px #aaaaaa;padding:0;margin:0;margin-top:-2px;display:none;padding:0.25em 0.25em;line-height:1.25em}.suggestions-results{background-color:white;cursor:pointer;border:solid 1px #aaaaaa;padding:0;margin:0}.suggestions-result{color:black;margin:0;line-height:1.5em;padding:0.01em 0.25em;text-align:left}.suggestions-result-current{background-color:#4C59A6;color:white}.suggestions-special .special-label{color:gray;text-align:left}.suggestions-special .special-query{color:black;font-style:italic;text-align:left}.suggestions-special .special-hover{background-color:silver}.suggestions-result-current .special-label,.suggestions-result-current .special-query{color:white}.autoellipsis-matched,.highlight{font-weight:bold}\n/* cache key: frwiki:resourceloader:filter:minify-css:7:9780324491b653a3780e2d029bdc140c */"
]},{});mw.loader.implement("jquery.tabIndex",function(){(function($){$.fn.firstTabIndex=function(){var minTabIndex=null;$(this).find('[tabindex]').each(function(){var tabIndex=parseInt($(this).prop('tabindex'),10);if(tabIndex>0&&!isNaN(tabIndex)){if(minTabIndex===null){minTabIndex=tabIndex;}else if(tabIndex
0&&!isNaN(tabIndex)){if(maxTabIndex===null){maxTabIndex=tabIndex;}else if(tabIndex>maxTabIndex){maxTabIndex=tabIndex;}}});return maxTabIndex;};}(jQuery));;},{},{});mw.loader.implement("jquery.textSelection",function(){(function($){if(document.selection&&document.selection.createRange){$.fn.extend({focus:(function(jqFocus){return function(){var $w,state,result;if(arguments.length===0){$w=$(window);state={top:$w.scrollTop(),left:$w.scrollLeft()};result=jqFocus.apply(this,
arguments);window.scrollTo(state.top,state.left);return result;}return jqFocus.apply(this,arguments);};}($.fn.focus))});}$.fn.textSelection=function(command,options){function rangeForElementIE(e){if(e.nodeName.toLowerCase()==='input'){return e.createTextRange();}else{var sel=document.body.createTextRange();sel.moveToElementText(e);return sel;}}function activateElementOnIE(element){if(element.setActive){element.setActive();}else{$(element).focus();}}var fn={getContents:function(){return this.val();},getSelection:function(){var retval,range,el=this.get(0);if($(el).is(':hidden')){retval='';}else if(document.selection&&document.selection.createRange){activateElementOnIE(el);range=document.selection.createRange();retval=range.text;}else if(el.selectionStart||el.selectionStart===0){retval=el.value.substring(el.selectionStart,el.selectionEnd);}return retval;},encapsulateSelection:function(options){return this.each(function(){var selText,scrollTop,insertText,isSample,range,range2,range3,
startPos,endPos,pre=options.pre,post=options.post;function checkSelectedText(){if(!selText){selText=options.peri;isSample=true;}else if(options.replace){selText=options.peri;}else{while(selText.charAt(selText.length-1)===' '){selText=selText.substring(0,selText.length-1);post+=' ';}while(selText.charAt(0)===' '){selText=selText.substring(1,selText.length);pre=' '+pre;}}}function doSplitLines(selText,pre,post){var i,insertText='',selTextArr=selText.split('\n');for(i=0;ithis.selectionEnd){this.selectionEnd=options.end;this.selectionStart=options.start;}else{this.selectionStart=options.start;this.selectionEnd=options.end;}}else if(document.body.createTextRange){selection=rangeForElementIE(this);length=this.value.length;newLines=this.value.match(/\n/g);if(newLines){length=length-newLines.length;}selection.moveStart('character',options.start);selection.moveEnd('character',-length+options.end);try{selection.select();}catch(e){}}});},scrollToCaretPosition:function(options){function getLineLength(e){return Math.floor(e.scrollWidth/($.client.profile().platform==='linux'?7:8));}function getCaretScrollPosition(e){var i,j;var text=e.value.replace(/\r/g,'');var caret=$(e).textSelection('getCaretPosition');var lineLength=getLineLength(e);var row=0;var charInLine=0;var lastSpaceInLine=0;for(i=0;ilineLength){if(lastSpaceInLine>0){charInLine=charInLine-lastSpaceInLine;lastSpaceInLine=0;row++;}}}var nextSpace=0;for(j=caret;jlineLength&&caret<=lineLength){charInLine=caret-lastSpaceInLine;row++;}return($.client.profile().platform==='mac'?13:($.client.profile().platform==='linux'?15:16))*row;}return this.each(function(){var scroll,range,savedRange,pos,oldScrollTop;if($(this).is(':hidden')){}else if(this.selectionStart||this.selectionStart===0){scroll=getCaretScrollPosition(this);if(options.force||scroll<$(this).scrollTop()||scroll>$(this).scrollTop()+$(this).height()){$(this).scrollTop(scroll);}}else if(document.selection&&document.selection.createRange){range=document.body.createTextRange();savedRange=document.selection.createRange();pos=$(this).textSelection('getCaretPosition');oldScrollTop=this.scrollTop;range.moveToElementText(this);range.
collapse();range.move('character',pos+1);range.select();if(this.scrollTop!==oldScrollTop){this.scrollTop+=range.offsetTop;}else if(options.force){range.move('character',-1);range.select();}savedRange.select();}$(this).trigger('scrollToPosition');});}};switch(command){case'encapsulateSelection':options=$.extend({pre:'',peri:'',post:'',ownline:false,replace:false,selectPeri:true,splitlines:false,selectionStart:undefined,selectionEnd:undefined},options);break;case'getCaretPosition':options=$.extend({startAndEnd:false},options);break;case'setSelection':options=$.extend({start:undefined,end:undefined,startContainer:undefined,endContainer:undefined},options);if(options.end===undefined){options.end=options.start;}if(options.endContainer===undefined){options.endContainer=options.startContainer;}break;case'scrollToCaretPosition':options=$.extend({force:false},options);break;}var context=$(this).data('wikiEditor-context');var hasIframe=typeof context!=='undefined'&&context&&typeof context.
$iframe!=='undefined';var needSave=false;if(hasIframe&&context.savedSelection!==null){context.fn.restoreSelection();needSave=true;}var retval=(hasIframe?context.fn:fn)[command].call(this,options);if(hasIframe&&needSave){context.fn.saveSelection();}return retval;};}(jQuery));;},{},{});mw.loader.implement("mediawiki.action.edit",function(){(function(mw,$){var isReady,toolbar,currentFocused,queue,$toolbar,slice;isReady=false;queue=[];$toolbar=false;slice=Array.prototype.slice;function insertButton(b,speedTip,tagOpen,tagClose,sampleText,imageId,selectText){if(typeof b!=='object'){b={imageFile:b,speedTip:speedTip,tagOpen:tagOpen,tagClose:tagClose,sampleText:sampleText,imageId:imageId,selectText:selectText};}var $image=$('',{width:23,height:22,src:b.imageFile,alt:b.speedTip,title:b.speedTip,id:b.imageId||undefined,'class':'mw-toolbar-editbutton'}).click(function(){toolbar.insertTags(b.tagOpen,b.tagClose,b.sampleText,b.selectText);return false;});$toolbar.append($image);return true;}
toolbar={addButton:function(){if(isReady){insertButton.apply(toolbar,arguments);}else{queue.push(slice.call(arguments));}},insertTags:function(tagOpen,tagClose,sampleText,selectText){if(currentFocused&¤tFocused.length){currentFocused.textSelection('encapsulateSelection',{'pre':tagOpen,'peri':sampleText,'post':tagClose});}},init:function(){}};window.addButton=toolbar.addButton;window.insertTags=toolbar.insertTags;mw.toolbar=toolbar;$(document).ready(function(){var buttons,i,b,$iframe;currentFocused=$('#wpTextbox1');$toolbar=$('#toolbar');buttons=[].concat(queue,window.mwCustomEditButtons);queue.length=0;for(i=0;i0){$($iframe.get(0).contentWindow.document).add($iframe.get(0).contentWindow.document.body).focus(function(){currentFocused=$iframe;});}});}(mediaWiki,jQuery));;},{},{});mw.loader.implement("mediawiki.api",function(){(function(mw,$){var defaultOptions={parameters:{action:'query',format:'json'},ajax:{url:mw.util.wikiScript('api'),timeout:30*1000,dataType:'json'}};mw.Api=function(options){if(options===undefined){options={};}if(options.ajax&&options.ajax.url!==undefined){options.ajax.url=String(options.ajax.url);}options.parameters=$.extend({},defaultOptions.parameters,options.parameters);options.ajax=$.extend({},defaultOptions.ajax,options.ajax);this.defaults=options;};mw.Api.prototype={normalizeAjaxOptions:function(arg){var opts=arg||{};if(
typeof arg==='function'){opts={ok:arg};}return opts;},get:function(parameters,ajaxOptions){ajaxOptions=this.normalizeAjaxOptions(ajaxOptions);ajaxOptions.type='GET';return this.ajax(parameters,ajaxOptions);},post:function(parameters,ajaxOptions){ajaxOptions=this.normalizeAjaxOptions(ajaxOptions);ajaxOptions.type='POST';return this.ajax(parameters,ajaxOptions);},ajax:function(parameters,ajaxOptions){var token,apiDeferred=$.Deferred();parameters=$.extend({},this.defaults.parameters,parameters);ajaxOptions=$.extend({},this.defaults.ajax,ajaxOptions);if(parameters.token){token=parameters.token;delete parameters.token;}ajaxOptions.data=$.param(parameters).replace(/\./g,'%2E');if(token){ajaxOptions.data+='&token='+encodeURIComponent(token);}if(ajaxOptions.ok){apiDeferred.done(ajaxOptions.ok);delete ajaxOptions.ok;}if(ajaxOptions.err){apiDeferred.fail(ajaxOptions.err);delete ajaxOptions.err;}$.ajax(ajaxOptions).fail(function(xhr,textStatus,exception){apiDeferred.reject('http',{xhr:xhr,
textStatus:textStatus,exception:exception});}).done(function(result){if(result===undefined||result===null||result===''){apiDeferred.reject('ok-but-empty','OK response but empty result (check HTTP headers?)');}else if(result.error){var code=result.error.code===undefined?'unknown':result.error.code;apiDeferred.reject(code,result);}else{apiDeferred.resolve(result);}});return apiDeferred.promise().fail(function(code,details){mw.log('mw.Api error: ',code,details);});}};mw.Api.errors=['ok-but-empty','timeout','duplicate','duplicate-archive','noimageinfo','uploaddisabled','nomodule','mustbeposted','badaccess-groups','stashfailed','missingresult','missingparam','invalid-file-key','copyuploaddisabled','mustbeloggedin','empty-file','file-too-large','filetype-missing','filetype-banned','filetype-banned-type','filename-tooshort','illegal-filename','verification-error','hookaborted','unknown-error','internal-error','overwrite','badtoken','fetchfileerror','fileexists-shared-forbidden','invalidtitle'
,'notloggedin'];mw.Api.warnings=['duplicate','exists'];}(mediaWiki,jQuery));;},{},{});mw.loader.implement("mediawiki.hidpi",function(){$(function(){$('body').hidpi();});;},{},{});mw.loader.implement("mediawiki.searchSuggest",function(){(function(mw,$){$(document).ready(function($){var map,$searchRegion=$('#simpleSearch, #searchInput').first(),$searchInput=$('#searchInput');if($searchRegion.length===0){return;}map={browsers:{ltr:{opera:[['>=',9.6]],docomo:false,blackberry:false,ipod:false,iphone:false},rtl:{opera:[['>=',9.6]],docomo:false,blackberry:false,ipod:false,iphone:false}}};if(!$.client.test(map)){return;}$searchInput.attr('placeholder',mw.msg('searchsuggest-search')).placeholder();$('#searchInput, #searchInput2, #powerSearchText, #searchText').suggestions({fetch:function(query){var $el,jqXhr;if(query.length!==0){$el=$(this);jqXhr=$.ajax({url:mw.util.wikiScript('api'),data:{format:'json',action:'opensearch',search:query,namespace:0,suggest:''},dataType:'json',success:function(
data){if($.isArray(data)&&data.length){$el.suggestions('suggestions',data[1]);}}});$el.data('request',jqXhr);}},cancel:function(){var jqXhr=$(this).data('request');if(jqXhr&&$.isFunction(jqXhr.abort)){jqXhr.abort();$(this).removeData('request');}},result:{select:function($input){$input.closest('form').submit();}},delay:120,highlightInput:true}).bind('paste cut drop',function(){$(this).trigger('keypress');});$searchInput.suggestions({result:{select:function($input){$input.closest('form').submit();}},special:{render:function(query){var $el=this;if($el.children().length===0){$el.append($('').addClass('special-label').text(mw.msg('searchsuggest-containing')),$('
').addClass('special-query').text(query).autoEllipsis()).show();}else{$el.find('.special-query').text(query).autoEllipsis();}},select:function($input){$input.closest('form').append($(''));$input.closest('form').submit();}},$region:$searchRegion});$searchInput.data(
'suggestions-context').data.$container.css('fontSize',$searchInput.css('fontSize'));});}(mediaWiki,jQuery));;},{},{"searchsuggest-search":"Rechercher","searchsuggest-containing":"contenant..."});mw.loader.implement("mediawiki.user",function(){(function(mw,$){function User(options,tokens){var user,callbacks;user=this;callbacks={};function getUserInfo(info,callback){var api;if(callbacks[info]){callbacks[info].add(callback);return;}callbacks.rights=$.Callbacks('once memory');callbacks.groups=$.Callbacks('once memory');callbacks[info].add(callback);api=new mw.Api();api.get({action:'query',meta:'userinfo',uiprop:'rights|groups'}).always(function(data){var rights,groups;if(data.query&&data.query.userinfo){rights=data.query.userinfo.rights;groups=data.query.userinfo.groups;}callbacks.rights.fire(rights||[]);callbacks.groups.fire(groups||[]);});}this.options=options||new mw.Map();this.tokens=tokens||new mw.Map();function generateId(){var i,r,id='',seed=
'0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz';for(i=0;i<32;i++){r=Math.floor(Math.random()*seed.length);id+=seed.substring(r,r+1);}return id;}this.getName=function(){return mw.config.get('wgUserName');};this.name=function(){return this.getName();};this.isAnon=function(){return user.getName()===null;};this.anonymous=function(){return user.isAnon();};this.sessionId=function(){var sessionId=$.cookie('mediaWiki.user.sessionId');if(typeof sessionId==='undefined'||sessionId===null){sessionId=generateId();$.cookie('mediaWiki.user.sessionId',sessionId,{'expires':null,'path':'/'});}return sessionId;};this.id=function(){var id,name=user.getName();if(name){return name;}id=$.cookie('mediaWiki.user.id');if(typeof id==='undefined'||id===null){id=generateId();}$.cookie('mediaWiki.user.id',id,{expires:365,path:'/'});return id;};this.bucket=function(key,options){var cookie,parts,version,bucket,range,k,rand,total;options=$.extend({buckets:{},version:0,tracked:false,expires:30},options
||{});cookie=$.cookie('mediaWiki.user.bucket:'+key);if(typeof cookie==='string'&&cookie.length>2&&cookie.indexOf(':')>0){parts=cookie.split(':');if(parts.length>1&&Number(parts[0])===options.version){version=Number(parts[0]);bucket=String(parts[1]);}}if(bucket===undefined){if(!$.isPlainObject(options.buckets)){throw'Invalid buckets error. Object expected for options.buckets.';}version=Number(options.version);range=0;for(k in options.buckets){range+=options.buckets[k];}rand=Math.random()*range;total=0;for(k in options.buckets){bucket=k;total+=options.buckets[k];if(total>=rand){break;}}if(options.tracked){mw.loader.using('jquery.clickTracking',function(){$.trackAction('mediaWiki.user.bucket:'+key+'@'+version+':'+bucket);});}$.cookie('mediaWiki.user.bucket:'+key,version+':'+bucket,{'path':'/','expires':Number(options.expires)});}return bucket;};this.getGroups=function(callback){getUserInfo('groups',callback);};this.getRights=function(callback){getUserInfo('rights',callback);};}mw.user=new
User(mw.user.options,mw.user.tokens);}(mediaWiki,jQuery));;},{},{});mw.loader.implement("mediawiki.page.ready",function(){jQuery(document).ready(function($){if(!('placeholder'in document.createElement('input'))){$('input[placeholder]').placeholder();}$('.mw-collapsible').makeCollapsible();if($('table.sortable').length){mw.loader.using('jquery.tablesorter',function(){$('table.sortable').tablesorter();});}$('input[type=checkbox]:not(.noshiftselect)').checkboxShiftClick();mw.util.updateTooltipAccessKeys();});;},{},{});mw.loader.implement("mobile.desktop",function(){(function($){$('.stopMobileRedirectToggle').click(function(){var hostname=mw.config.get('wgMFStopRedirectCookieHost'),path=mw.config.get('wgCookiePath');$.cookie('stopMobileRedirect',null,{path:path,domain:hostname});});})(jQuery);;},{},{});
/* cache key: frwiki:resourceloader:filter:minify-js:7:d8cf60886fbb7960ad717feac8abcd46 */