function fillPreloads(){if(!$('#lf-preload').length){return;}var preloadOptionsHtml='',$preloadOptionsList;$('#lf-preload').attr('style','display: block');$.get(wgScript,{title:'Template:Stdpreloads',action:'raw',ctype:'text/plain'},function(data){var lines=data.split('\n');for(var i=0;i<lines.length;i++){var value=(lines[i].indexOf('-- ')===0)?lines[i].substring(3):"";preloadOptionsHtml+='<option value="'+value+'">'+lines[i]+'</option>';}$preloadOptionsList=$('<select />').attr('id','stdSummaries').html(preloadOptionsHtml).change(function(){var value=$(this).val();if(value!==''){value='Template:'+value+'/preload';value=value.replace(' ','_');$.get(wgScript,{title:value,action:'raw',ctype:'text/plain'},function(data){insertAtCursor(document.getElementById('wpTextbox1'),data);});}});$('#lf-preload-cbox').html($preloadOptionsList);});$('#lf-preload-pagename').html('<input type="text" class="textbox" />');$('#lf-preload-button').html(
'<input type="button" class="button" value="Insert" onclick="doCustomPreload()" />');}function doCustomPreload(){var value=$('#lf-preload-pagename > input').val();value=value.replace(' ','_');$.get(wgScript,{title:value,action:'raw',ctype:'text/plain'},function(data){insertAtCursor(document.getElementById('wpTextbox1'),data);});}function rewriteTitle(){if(typeof(window.SKIP_TITLE_REWRITE)!='undefined'&&window.SKIP_TITLE_REWRITE){return;}if($('#title-meta').length==0){return;}var newTitle=$('#title-meta').html();if(skin=="oasis"){$('header.WikiaPageHeader > h1').html('<div id="title-meta" style="display: inline;">'+newTitle+'</div>');$('header.WikiaPageHeader > h1').attr('style','text-align:'+$('#title-align').html()+';');}else{$('.firstHeading').html('<div id="title-meta" style="display: inline;">'+newTitle+'</div>');$('.firstHeading').attr('style','text-align:'+$('#title-align').html()+';');}}var ArchiveToolConfig={archiveListTemplate:'ArchCat',archivePageTemplate:'ArchPage',
archiveSubpage:'Archive',userLang:true};importScriptPage('ArchiveTool/code.js','dev');importScript('MediaWiki:Common.js/mosbox.js');$("table").delegate('td','mouseover mouseleave',function(e){if(e.type=='mouseover'){$(this).parent().addClass("hover");$("colgroup").eq($(this).index()).addClass("hover2");}else{$(this).parent().removeClass("hover");$("colgroup").eq($(this).index()).removeClass("hover2");}});var animation=false,elm=document.createElement('detect'),animationstring='animation',keyframeprefix='',domPrefixes='Webkit Moz O ms Khtml'.split(' '),pfx='';if(elm.style.animationName){animation=true;}if(animation===false){for(var i=0;i<domPrefixes.length;i++){if(elm.style[domPrefixes[i]+'AnimationName']!==undefined){pfx=domPrefixes[i];animationstring=pfx+'Animation';keyframeprefix='-'+pfx.toLowerCase()+'-';animation=true;break;}}}(function($){$.slowEach=function(array,interval,callback){if(!array.length){return;}var i=0;function next(){if(callback.call(array[i],i,array[i])!==false){if
(++i<array.length){setTimeout(next,interval);}}}next();return array;};$.fn.dissolve=function(options){var op=$.extend(defaults,options),$that=$(this),interval=op.visibleItemDuration+op.transitionDuration;return $.slowEach(this,interval,function(){var $this=$(this);$this.animate({opacity:1},op.transitionDuration,function(){function initCarousel(){$that.dissolve(options);}if($this.is(':last-child')){setTimeout(initCarousel,op.visibleItemDuration);}}).delay(op.visibleItemDuration).animate({opacity:0},op.transitionDuration);});};var defaults={visibleItemDuration:4000,transitionDuration:1000};}(window.jQuery));$(function(){if(animation===false){$('.dissolve .item').dissolve({visibleItemDuration:4000,transitionDuration:1000});}});SpoilerAlert={question:'This page may contain spoilers about unreleased stories. Are you sure you want to read it?',yes:'Hit me with your best shot',no:'Get me the hell out of here',isSpoiler:function(){return-1!==wgCategories.indexOf('Contains spoilers');},back:
true};jQuery(function($){var videoSelectors=["iframe[src^='http://player.vimeo.com']","iframe[src^='http://www.youtube.com']","iframe[src^='http://www.kickstarter.com']","iframe[src^='http://www.screenr.com']","iframe[src^='http://www.blip.tv']","iframe[src^='http://www.dailymotion.com']","iframe[src^='http://www.viddler.com']","iframe[src^='http://www.qik.com']","iframe[src^='http://www.revision3.com']","iframe[src^='http://www.hulu.com']","iframe[src^='http://www.funnyordie.com']","embed[src^='http://v.wordpress.com']"];var allVideos=videoSelectors.join(',');$(allVideos).wrap('<div class="wikia-video-thumb" />');});importArticles({type:"script",articles:["w:dev:FixWantedFiles/code.js","w:dev:Countdown/code.js","w:dev:SpoilerAlert/code.js","MediaWiki:Functions.js","w:dev:ListFiles/code.js","w:dev:ShowHide/code.js","w:dev:EditIntroButton/code.js","w:dev:DupImageList/code.js","w:dev:RevealAnonIP/code.js","u:dev:AjaxRC/code.js","w:dev:Category_Sorter/code.js",
"w:dev:Standard_Edit_Summary/code.js","MediaWiki:Common.js/forumnote.js","w:dev:TopEditors/code.js"]});addOnloadHook(rewriteTitle);importArticles({type:'script',articles:['MediaWiki:Common.js/displayTimer.js','u:dev:ListAdmins/code.js','u:dev:UserTags/code.js','u:dev:MiniComplete/code.js']});function customPreloadTemplates(){if(wgAction!=='edit'||!$('div.module_content').length){return;}var preloadOptionsHtml='',$preloadOptionsList,preloadBaseHtml='<div id="lf-preload" style="display: block; padding: 10px;">Standard preloads:<br /></div>'+'<div style="padding: 10px;">Custom preload pagename:<br /><span id="lf-preload-pagename-w"></span><span id="lf-preload-button-w"></span></div>';$('div.module_content:first').append(preloadBaseHtml);$.get(wgScript,{title:'Template:Stdpreloads',action:'raw',ctype:'text/plain'},function(data){var lines=data.split('\n');for(var i=0;i<lines.length;i++){var value=(lines[i].indexOf('-- ')===0)?lines[i].substring(3):"";preloadOptionsHtml+='<option value="'+
value+'">'+lines[i]+'</option>';}$preloadOptionsList=$('<select />').attr('id','stdSummaries').html(preloadOptionsHtml).change(function(){var value=$(this).val();if(value!==''){value='Template:'+value+'/preload';value=value.replace(' ','_');$.get(wgScript,{title:value,action:'raw',ctype:'text/plain'},function(data){insertAtCursor(document.getElementById('wpTextbox1'),data);});}});$('div#lf-preload').append($preloadOptionsList);});$('#lf-preload-pagename-w').html('<input type="text" class="textbox" />');$('#lf-preload-button-w').html('<input type="button" class="button" value="Insert" onclick="doCustomPreloadOasis()" />');}$(customPreloadTemplates);function doCustomPreloadOasis(){var value=$('#lf-preload-pagename-w > input').val();value=value.replace(' ','_');$.get(wgScript,{title:value,action:'raw',ctype:'text/plain'},function(data){insertAtCursor(document.getElementById('wpTextbox1'),data);});}$('a[data-id="comment"]').removeClass('comments');$('#WikiaArticle').prepend(
'<div style="text-align:center;width:99%;padding:10px;color:white;font-weight:500;background:#766d43">This wiki is having a bit of a facelift. Please bear with us as we try to get it finished. <a href="http://pybot.wikia.com/wiki/User_talk:Corey_Chambers" style=color:#eef0c9;font-weight:900>Comments?</div></div>');;mw.loader.state({"site":"ready"});

/* cache key: pybot:resourceloader:filter:minify-js:7:4dfe435b5b64fd3b7702d7ba83c12294 */